cellLimitedGrads.C File Reference
Include dependency graph for cellLimitedGrads.C:

Go to the source code of this file.

Namespaces

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

Macros

#define makeNamedFvLimitedGradTypeScheme(SS, Type, Limiter, Name)
 
#define makeFvLimitedGradTypeScheme(SS, Type, Limiter)    makeNamedFvLimitedGradTypeScheme(SS##Grad, Type, Limiter, #SS"<"#Limiter">")
 
#define makeFvLimitedGradScheme(SS, Limiter)
 

Typedefs

typedef Foam::fv::cellLimitedGrad< Foam::scalar, Foam::fv::gradientLimiters::minmodcellLimitedGradscalarminmod_
 
typedef Foam::fv::cellLimitedGrad< Foam::vector, Foam::fv::gradientLimiters::minmodcellLimitedGradvectorminmod_
 
typedef Foam::fv::cellLimitedGrad< Foam::scalar, Foam::fv::gradientLimiters::VenkatakrishnancellLimitedGradscalarVenkatakrishnan_
 

Functions

 defineTemplateTypeNameAndDebugWithName (cellLimitedGradscalarminmod_, "cellLimited", 0)
 
 defineTemplateTypeNameAndDebugWithName (cellLimitedGradscalarVenkatakrishnan_, "cellLimited""<""Venkatakrishnan"">", 0)
 
 makeFvLimitedGradTypeScheme (cellLimited, vector, Venkatakrishnan)
 

Variables

gradScheme< scalar >::addIstreamConstructorToTable< cellLimitedGrad< scalar, gradientLimiters::minmod > > addcellLimitedGradscalarminmodIstreamConstructorToTable_
 
gradScheme< vector >::addIstreamConstructorToTable< cellLimitedGrad< vector, gradientLimiters::minmod > > addcellLimitedGradvectorminmodIstreamConstructorToTable_
 
gradScheme< scalar >::addIstreamConstructorToTable< cellLimitedGrad< scalar, gradientLimiters::Venkatakrishnan > > addcellLimitedGradscalarVenkatakrishnanIstreamConstructorToTable_
 

Detailed Description

Original source file cellLimitedGrads.C

Definition in file cellLimitedGrads.C.

Macro Definition Documentation

◆ makeNamedFvLimitedGradTypeScheme

#define makeNamedFvLimitedGradTypeScheme (   SS,
  Type,
  Limiter,
  Name 
)
Value:
typedef Foam::fv::SS<Foam::Type, Foam::fv::gradientLimiters::Limiter> \
SS##Type##Limiter##_; \
\
defineTemplateTypeNameAndDebugWithName \
( \
SS##Type##Limiter##_, \
Name, \
0 \
); \
\
namespace Foam \
{ \
namespace fv \
{ \
gradScheme<Type>::addIstreamConstructorToTable \
< \
SS<Type, gradientLimiters::Limiter> \
> add##SS##Type##Limiter##IstreamConstructorToTable_; \
} \
}
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 33 of file cellLimitedGrads.C.

◆ makeFvLimitedGradTypeScheme

#define makeFvLimitedGradTypeScheme (   SS,
  Type,
  Limiter 
)     makeNamedFvLimitedGradTypeScheme(SS##Grad, Type, Limiter, #SS"<"#Limiter">")

Definition at line 55 of file cellLimitedGrads.C.

◆ makeFvLimitedGradScheme

#define makeFvLimitedGradScheme (   SS,
  Limiter 
)
Value:
\
makeFvLimitedGradTypeScheme(SS, scalar, Limiter) \
makeFvLimitedGradTypeScheme(SS, vector, Limiter)
Vector< scalar > vector
A scalar version of the templated Vector.
Definition: vector.H:49

Definition at line 58 of file cellLimitedGrads.C.

Typedef Documentation

◆ cellLimitedGradscalarminmod_

typedef Foam::fv:: cellLimitedGrad<Foam:: scalar , Foam::fv::gradientLimiters:: minmod > cellLimitedGradscalarminmod_

Definition at line 66 of file cellLimitedGrads.C.

◆ cellLimitedGradvectorminmod_

typedef Foam::fv:: cellLimitedGrad<Foam:: vector , Foam::fv::gradientLimiters:: minmod > cellLimitedGradvectorminmod_

Definition at line 67 of file cellLimitedGrads.C.

◆ cellLimitedGradscalarVenkatakrishnan_

typedef Foam::fv:: cellLimitedGrad<Foam:: scalar , Foam::fv::gradientLimiters:: Venkatakrishnan > cellLimitedGradscalarVenkatakrishnan_

Definition at line 69 of file cellLimitedGrads.C.

Function Documentation

◆ defineTemplateTypeNameAndDebugWithName() [1/2]

defineTemplateTypeNameAndDebugWithName ( cellLimitedGradscalarminmod_  ,
"cellLimited"  ,
 
)

◆ defineTemplateTypeNameAndDebugWithName() [2/2]

defineTemplateTypeNameAndDebugWithName ( cellLimitedGradscalarVenkatakrishnan_  ,
"cellLimited""<""Venkatakrishnan"">"  ,
 
)

◆ makeFvLimitedGradTypeScheme()

makeFvLimitedGradTypeScheme ( cellLimited  ,
vector  ,
Venkatakrishnan   
)

Definition at line 69 of file cellLimitedGrads.C.