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

Go to the source code of this file.


class  snGradScheme< Type >
 Abstract base class for runtime selected snGrad surface normal gradient schemes. More...


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


#define makeSnGradTypeScheme(SS, Type)
#define makeSnGradScheme(SS)

Detailed Description

Original source file snGradScheme.H

Definition in file snGradScheme.H.

Macro Definition Documentation

◆ makeSnGradTypeScheme

#define makeSnGradTypeScheme (   SS,
defineNamedTemplateTypeNameAndDebug(Foam::fv::SS<Foam::Type>, 0); \
namespace Foam \
{ \
namespace fv \
{ \
snGradScheme<Type>::addMeshConstructorToTable<SS<Type>> \
add##SS##Type##MeshConstructorToTable_; \
} \
#define defineNamedTemplateTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information for templates.
Definition: className.H:136
Namespace for OpenFOAM.
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
labelList fv(nPoints)

Definition at line 212 of file snGradScheme.H.

◆ makeSnGradScheme

#define makeSnGradScheme (   SS)
makeSnGradTypeScheme(SS, scalar) \
makeSnGradTypeScheme(SS, vector) \
makeSnGradTypeScheme(SS, sphericalTensor) \
makeSnGradTypeScheme(SS, symmTensor) \
makeSnGradTypeScheme(SS, tensor)
Tensor of scalars, i.e. Tensor<scalar>.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...

Definition at line 224 of file snGradScheme.H.