NeoN
A framework for CFD software
Loading...
Searching...
No Matches
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< FaceNormalGradientFactory > create (const Executor &exec, const UnstructuredMesh &uMesh, const Input &inputs)
static std::string name ()

Protected Attributes

const Executor exec_
const UnstructuredMesh & mesh_

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()

◆ create()

template<typename ValueType>
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()

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

Implemented in NeoN::finiteVolume::cellCentred::Corrected< ValueType >, NeoN::finiteVolume::cellCentred::LimitedCorrected< ValueType >, and NeoN::finiteVolume::cellCentred::Uncorrected< ValueType >.

◆ hasImplicitCorrection()

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

◆ implicitCorrection()

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

◆ name()

template<typename ValueType>
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: