Go to the documentation of this file.
97 #ifndef canopySource_H
98 #define canopySource_H
202 const word& modelType,
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
A class for handling words, derived from string.
A class for handling file names.
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_
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.
Finite volume options abtract base class. Provides a base set of controls, e.g.
Base class for momentum and turbulence source/sink-terms for tree canopy.
HashTable< landuseClass, label > patchLanduseTable_
autoPtr< volScalarField > canopy_
A list of keyword definitions, which are a keyword followed by any number of values (e....
TypeName("canopySource")
Runtime type information.
Mesh data needed to do the Finite Volume discretisation.
An STL-conforming hash table.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Raster readRaster(fileName rasterPath)
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
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.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
HashTable< landuseClass, label > landuseTable_
Raster canopyHeightRaster_
Generic GeometricField class.
void readLanduseClasses()