Go to the source code of this file.
Macros | |
#define | CUDA_CHECK_ERROR(ans) |
Functions | |
void | gpuAssert (cudaError_t code, const char *file, int line, bool abort=true) |
__device__ float | evaluateEnergyBalance (float T, float R, float Qother, float eps, float Ta, float ea, float pressure, float gH, float gS, uint Nsides, float stomatal_sidedness, float heatcapacity, float surfacehumidity, float dt, float Tprev) |
__global__ void | solveEnergyBalance (uint Nprimitives, float *To, float *R, float *Qother, float *eps, float *Ta, float *ea, float *pressure, float *gH, float *gS, uint *Nsides, float *stomatal_sidedness, float *TL, float *heatcapacity, float *surfacehumidity, float dt) |
Energy balance model plugin declarations (CUDA kernels).
Copyright (C) 2016-2025 Brian Bailey
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Definition in file EnergyBalanceModel.cu.
#define CUDA_CHECK_ERROR | ( | ans | ) |
Definition at line 21 of file EnergyBalanceModel.cu.
__device__ float evaluateEnergyBalance | ( | float | T, |
float | R, | ||
float | Qother, | ||
float | eps, | ||
float | Ta, | ||
float | ea, | ||
float | pressure, | ||
float | gH, | ||
float | gS, | ||
uint | Nsides, | ||
float | stomatal_sidedness, | ||
float | heatcapacity, | ||
float | surfacehumidity, | ||
float | dt, | ||
float | Tprev | ||
) |
Definition at line 33 of file EnergyBalanceModel.cu.
|
inline |
Definition at line 25 of file EnergyBalanceModel.cu.
__global__ void solveEnergyBalance | ( | uint | Nprimitives, |
float * | To, | ||
float * | R, | ||
float * | Qother, | ||
float * | eps, | ||
float * | Ta, | ||
float * | ea, | ||
float * | pressure, | ||
float * | gH, | ||
float * | gS, | ||
uint * | Nsides, | ||
float * | stomatal_sidedness, | ||
float * | TL, | ||
float * | heatcapacity, | ||
float * | surfacehumidity, | ||
float | dt | ||
) |
Definition at line 60 of file EnergyBalanceModel.cu.