NeoN
A framework for CFD software
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
NeoN::finiteVolume::cellCentred::FaceNormalGradientFactory< ValueType > Class Template Referenceabstract

#include <faceNormalGradient.hpp>

Inheritance diagram for NeoN::finiteVolume::cellCentred::FaceNormalGradientFactory< ValueType >:
NeoN::RuntimeSelectionFactory< FaceNormalGradientFactory< ValueType >, Parameters< const Executor &, const UnstructuredMesh &, const Input & > >

Public Member Functions

 FaceNormalGradientFactory (const Executor &exec, const UnstructuredMesh &mesh)
 
virtual ~FaceNormalGradientFactory ()
 
virtual void faceNormalGrad (const VolumeField< ValueType > &volVector, SurfaceField< ValueType > &surfaceVector) const =0
 Computes the face-normal gradient of volVector into surfaceVector.
 
virtual const SurfaceField< scalar > & deltaCoeffs () const =0
 
virtual bool hasImplicitCorrection () const
 
virtual void implicitCorrection (const VolumeField< ValueType > &, SurfaceField< ValueType > &corrField) const
 
virtual std::unique_ptr< FaceNormalGradientFactory< ValueType > > clone () const =0
 

Static Public Member Functions

static std::unique_ptr< FaceNormalGradientFactorycreate (const Executor &exec, const UnstructuredMesh &uMesh, const Input &inputs)
 
static std::string name ()
 

Protected Attributes

const Executor exec_
 
const UnstructuredMeshmesh_
 

Detailed Description

template<typename ValueType>
class NeoN::finiteVolume::cellCentred::FaceNormalGradientFactory< ValueType >

Definition at line 24 of file faceNormalGradient.hpp.

Constructor & Destructor Documentation

◆ FaceNormalGradientFactory()

template<typename ValueType >
NeoN::finiteVolume::cellCentred::FaceNormalGradientFactory< ValueType >::FaceNormalGradientFactory ( const Executor exec,
const UnstructuredMesh mesh 
)
inline

Definition at line 47 of file faceNormalGradient.hpp.

◆ ~FaceNormalGradientFactory()

template<typename ValueType >
virtual NeoN::finiteVolume::cellCentred::FaceNormalGradientFactory< ValueType >::~FaceNormalGradientFactory ( )
inlinevirtual

Definition at line 50 of file faceNormalGradient.hpp.

Member Function Documentation

◆ clone()

template<typename ValueType >
virtual std::unique_ptr< FaceNormalGradientFactory< ValueType > > NeoN::finiteVolume::cellCentred::FaceNormalGradientFactory< ValueType >::clone ( ) const
pure virtual

◆ create()

template<typename ValueType >
static std::unique_ptr< FaceNormalGradientFactory > NeoN::finiteVolume::cellCentred::FaceNormalGradientFactory< ValueType >::create ( const Executor exec,
const UnstructuredMesh uMesh,
const Input inputs 
)
inlinestatic

Definition at line 33 of file faceNormalGradient.hpp.

◆ deltaCoeffs()

template<typename ValueType >
virtual const SurfaceField< scalar > & NeoN::finiteVolume::cellCentred::FaceNormalGradientFactory< ValueType >::deltaCoeffs ( ) const
pure virtual

◆ faceNormalGrad()

template<typename ValueType >
virtual void NeoN::finiteVolume::cellCentred::FaceNormalGradientFactory< ValueType >::faceNormalGrad ( const VolumeField< ValueType > &  volVector,
SurfaceField< ValueType > &  surfaceVector 
) const
pure virtual

Computes the face-normal gradient of volVector into surfaceVector.

Processor-boundary contract: processor faces are treated like internal faces (the standard coupled-patch treatment), i.e. the gradient couples the owner cell with the true neighbour cell on the far side of the rank boundary. Schemes that apply a non-orthogonal correction (corrected, limitedCorrected) apply it on processor faces as well. Scalar and Vec3 fields receive identical treatment.

◆ hasImplicitCorrection()

template<typename ValueType >
virtual bool NeoN::finiteVolume::cellCentred::FaceNormalGradientFactory< ValueType >::hasImplicitCorrection ( ) const
inlinevirtual

Definition at line 69 of file faceNormalGradient.hpp.

◆ implicitCorrection()

template<typename ValueType >
virtual void NeoN::finiteVolume::cellCentred::FaceNormalGradientFactory< ValueType >::implicitCorrection ( const VolumeField< ValueType > &  ,
SurfaceField< ValueType > &  corrField 
) const
inlinevirtual

Definition at line 76 of file faceNormalGradient.hpp.

◆ name()

template<typename ValueType >
static std::string NeoN::finiteVolume::cellCentred::FaceNormalGradientFactory< ValueType >::name ( )
inlinestatic

Definition at line 45 of file faceNormalGradient.hpp.

Member Data Documentation

◆ exec_

template<typename ValueType >
const Executor NeoN::finiteVolume::cellCentred::FaceNormalGradientFactory< ValueType >::exec_
protected

Definition at line 86 of file faceNormalGradient.hpp.

◆ mesh_

template<typename ValueType >
const UnstructuredMesh& NeoN::finiteVolume::cellCentred::FaceNormalGradientFactory< ValueType >::mesh_
protected

Definition at line 87 of file faceNormalGradient.hpp.


The documentation for this class was generated from the following file: