52 const dictionary& faceAreaWeightDict
55 faceAreaWeightModel(typeName, faceAreaWeightDict),
56 lAF_(coeffDict().
get<scalar>(
"lowerAreaFraction")),
57 uAF_(coeffDict().
get<scalar>(
"upperAreaFraction"))
66 if (faceAreaFraction < lAF_)
70 else if (faceAreaFraction < uAF_)
72 return faceAreaFraction/((uAF_ - lAF_)) - lAF_/(uAF_ - lAF_);
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
A linear ramp between 0 and 1 with definable start and end points.
virtual scalar faceAreaWeight(scalar faceAreaFraction) const
Return the faceAreaWeight.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)