LeastSquaresGrad.H File Reference
Include dependency graph for LeastSquaresGrad.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

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...
 

Namespaces

 Foam
 Namespace for OpenFOAM.
 
 Foam::fv
 Namespace for finite-volume.
 

Macros

#define makeLeastSquaresGradTypeScheme(SS, STENCIL, TYPE)
 
#define makeLeastSquaresGradScheme(SS, STENCIL)
 

Detailed Description

Original source file LeastSquaresGrad.H

Definition in file LeastSquaresGrad.H.

Macro Definition Documentation

◆ makeLeastSquaresGradTypeScheme

#define makeLeastSquaresGradTypeScheme (   SS,
  STENCIL,
  TYPE 
)
Value:
LeastSquaresGrad##TYPE##STENCIL##_; \
\
defineTemplateTypeNameAndDebugWithName \
(LeastSquaresGrad##TYPE##STENCIL##_, #SS, 0); \
\
namespace Foam \
{ \
namespace fv \
{ \
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...
labelList fv(nPoints)
Namespace for OpenFOAM.

Definition at line 159 of file LeastSquaresGrad.H.

◆ makeLeastSquaresGradScheme

#define makeLeastSquaresGradScheme (   SS,
  STENCIL 
)
Value:
LeastSquaresVectors##STENCIL##_; \
\
defineTemplateTypeNameAndDebugWithName \
(LeastSquaresVectors##STENCIL##_, #SS, 0); \
makeLeastSquaresGradTypeScheme(SS,STENCIL,scalar) \
makeLeastSquaresGradTypeScheme(SS,STENCIL,vector)
Vector< scalar > vector
A scalar version of the templated Vector.
Definition: vector.H:49
#define makeLeastSquaresGradTypeScheme(SS, STENCIL, TYPE)
Least-squares gradient scheme vectors.

Definition at line 179 of file LeastSquaresGrad.H.