Go to the documentation of this file.
37 if (landuseClassDict.
found(
"LADProfile"))
49 for(
label fi=1;fi<LADProfile_.size();fi++)
51 if(LADProfile_[fi]==0 or LADProfile_[fi-1]==0)
52 LAItmp += 1/2.0*abs(LADProfile_[1]-LADProfile_[0])*LADmax_*0.1*height_;
54 LAItmp +=
min(LADProfile_[fi],LADProfile_[fi-1])*LADmax_*0.1*height_
55 +1/2.0*abs(LADProfile_[fi]-LADProfile_[fi-1])*0.1*height_;
95 label LADMaxIndex = 0;
111 profileIndex = profileIndex -1;
A class for handling words, derived from string.
scalar LAD(scalar z, scalar treeHeight)
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
A list of keyword definitions, which are a keyword followed by any number of values (e....
void size(const label)
Override size to be inconsistent with allocated storage.
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
word name(const complex &)
Return a string representation of a complex.