Go to the documentation of this file.
97 #ifndef canopySource_H
98 #define canopySource_H
129 autoPtr<volScalarField>
canopy_;
160 fvMatrix<vector>& eqn,
166 fvMatrix<vector>& eqn,
202 const word& modelType,
203 const dictionary&
dict,
void operator=(const canopySource &)
Disallow default bitwise assignment.
Switch readCanopyHeightFromRaster_
void calculatePatchDistance(label patch, volScalarField &d)
const word & name() const
Return const access to the source name.
bool read(const dictionary &dict)
Read dictionary.
virtual ~canopySource()
Destructor.
Switch readLanduseFromRaster_
List< word > wordList
A List of words.
void setPatchLanduse(label patch, volScalarField &landuse, volScalarField &LAD, volScalarField &z0, volScalarField &nut, volScalarField &d)
canopySource(const canopySource &)
Disallow default bitwise copy construct.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
HashTable< landuseClass, label > patchLanduseTable_
GeometricField< scalar, fvPatchField, volMesh > volScalarField
autoPtr< volScalarField > canopy_
A list of keyword definitions, which are a keyword followed by any number of values (e....
TypeName("canopySource")
Runtime type information.
Vector< scalar > vector
A scalar version of the templated Vector.
Raster readRaster(fileName rasterPath)
void addSup(const volScalarField &rho, fvMatrix< vector > &eqn, const label fieldi)
Source terms to momentum equation (for solvers with and without explicit density)
const fvMesh & mesh() const
Return const access to the mesh database.
HashTable< landuseClass, label > landuseTable_
Raster canopyHeightRaster_
void readLanduseClasses()