NeoN
A framework for CFD software
Loading...
Searching...
No Matches
NeoN::finiteVolume::cellCentred::Corrected< ValueType > Class Template Reference

#include <corrected.hpp>

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

Public Member Functions

 Corrected (const Executor &exec, const UnstructuredMesh &mesh, Input)
 Corrected (const Executor &exec, const UnstructuredMesh &mesh)
virtual void faceNormalGrad (const VolumeField< ValueType > &volField, SurfaceField< ValueType > &surfaceField) const override
 Computes the face-normal gradient of volVector into surfaceVector.
virtual const SurfaceField< scalar > & deltaCoeffs () const override
bool hasImplicitCorrection () const override
virtual void implicitCorrection (const VolumeField< ValueType > &phi, SurfaceField< ValueType > &corrField) const override
std::unique_ptr< FaceNormalGradientFactory< ValueType > > clone () const override
Public Member Functions inherited from NeoN::finiteVolume::cellCentred::template Register< Corrected< ValueType > >
 FaceNormalGradientFactory (const Executor &exec, const UnstructuredMesh &mesh)
virtual ~FaceNormalGradientFactory ()

Static Public Member Functions

static std::string name ()
static std::string doc ()
static std::string schema ()
Static Public Member Functions inherited from NeoN::finiteVolume::cellCentred::template Register< Corrected< ValueType > >
static std::unique_ptr< FaceNormalGradientFactory > create (const Executor &exec, const UnstructuredMesh &uMesh, const Input &inputs)
static std::string name ()

Additional Inherited Members

Protected Attributes inherited from NeoN::finiteVolume::cellCentred::template Register< Corrected< ValueType > >
const Executor exec_
const UnstructuredMesh & mesh_

Detailed Description

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

Definition at line 37 of file corrected.hpp.

Constructor & Destructor Documentation

◆ Corrected() [1/2]

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

Definition at line 44 of file corrected.hpp.

◆ Corrected() [2/2]

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

Definition at line 47 of file corrected.hpp.

Member Function Documentation

◆ clone()

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

◆ deltaCoeffs()

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

◆ doc()

template<typename ValueType>
std::string NeoN::finiteVolume::cellCentred::Corrected< ValueType >::doc ( )
inlinestatic

Definition at line 52 of file corrected.hpp.

◆ faceNormalGrad()

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

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.

Implements NeoN::finiteVolume::cellCentred::template Register< Corrected< ValueType > >.

Definition at line 59 of file corrected.hpp.

◆ hasImplicitCorrection()

template<typename ValueType>
bool NeoN::finiteVolume::cellCentred::Corrected< ValueType >::hasImplicitCorrection ( ) const
inlineoverridevirtual

◆ implicitCorrection()

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

◆ name()

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

Definition at line 50 of file corrected.hpp.

◆ schema()

template<typename ValueType>
std::string NeoN::finiteVolume::cellCentred::Corrected< ValueType >::schema ( )
inlinestatic

Definition at line 57 of file corrected.hpp.


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