Go to the source code of this file.
|
| class | LeastSquaresGrad< Type, Stencil > |
| | Gradient calculated using weighted least-squares on an arbitrary stencil. The stencil type is provided via a template argument and any cell-based stencil is supported: More...
|
| |
|
| | Foam |
| | Namespace for OpenFOAM.
|
| |
| | Foam::fv |
| | Namespace for finite-volume.
|
| |
Original source file LeastSquaresGrad.H
Definition in file LeastSquaresGrad.H.
◆ makeLeastSquaresGradTypeScheme
| #define makeLeastSquaresGradTypeScheme |
( |
|
SS, |
|
|
|
STENCIL, |
|
|
|
TYPE |
|
) |
| |
Value: LeastSquaresGrad##TYPE##STENCIL##_; \
\
defineTemplateTypeNameAndDebugWithName \
(LeastSquaresGrad##TYPE##STENCIL##_, #SS, 0); \
\
{ \
{ \
typedef LeastSquaresGrad<Foam::TYPE, Foam::STENCIL> \
LeastSquaresGrad##TYPE##STENCIL##_; \
\
gradScheme<Foam::TYPE>::addIstreamConstructorToTable \
<LeastSquaresGrad<Foam::TYPE, Foam::STENCIL>> \
add##SS##STENCIL##TYPE##IstreamConstructorToTable_; \
} \
}
Gradient calculated using weighted least-squares on an arbitrary stencil. The stencil type is provide...
Definition at line 159 of file LeastSquaresGrad.H.
◆ makeLeastSquaresGradScheme
| #define makeLeastSquaresGradScheme |
( |
|
SS, |
|
|
|
STENCIL |
|
) |
| |
Value: LeastSquaresVectors##STENCIL##_; \
\
defineTemplateTypeNameAndDebugWithName \
(LeastSquaresVectors##STENCIL##_, #SS, 0);
\ makeLeastSquaresGradTypeScheme(SS,STENCIL,
vector)
Vector< scalar > vector
A scalar version of the templated Vector.
#define makeLeastSquaresGradTypeScheme(SS, STENCIL, TYPE)
Least-squares gradient scheme vectors.
Definition at line 179 of file LeastSquaresGrad.H.