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

#include <totalPressure.hpp>

Inheritance diagram for NeoN::finiteVolume::cellCentred::volumeBoundary::TotalPressure< ValueType >:
NeoN::finiteVolume::cellCentred::template Register< TotalPressure< ValueType > > NeoN::RuntimeSelectionFactory< VolumeBoundaryFactory< ValueType >, Parameters< const UnstructuredMesh &, const Dictionary &, localIdx > > NeoN::finiteVolume::cellCentred::BoundaryPatchMixin

Public Member Functions

 TotalPressure (const UnstructuredMesh &mesh, const Dictionary &dict, localIdx patchID)
virtual void correctBoundaryCondition (Field< ValueType > &domainVector) final
virtual void correctBoundaryCondition (Field< ValueType > &domainVector, const BoundaryContext &ctx) final
std::string getName () const override
std::unique_ptr< VolumeBoundaryFactory< ValueType > > clone () const final
Public Member Functions inherited from NeoN::finiteVolume::cellCentred::template Register< TotalPressure< ValueType > >
 VolumeBoundaryFactory (const UnstructuredMesh &mesh, const Dictionary &dict, localIdx patchID, BoundaryAttributes attributes)
virtual ~VolumeBoundaryFactory ()=default
virtual void set (Field< ValueType > &domainVector)
 One-time patch initialisation, applied once per field before the first update().
virtual void update (Field< ValueType > &domainVector)
 Per-iteration boundary update, applied on every correctBoundaryConditions() call.
BoundaryAttributes attributes () const
Public Member Functions inherited from NeoN::finiteVolume::cellCentred::BoundaryPatchMixin
 BoundaryPatchMixin ()
virtual ~BoundaryPatchMixin ()=default
 BoundaryPatchMixin (const UnstructuredMesh &mesh, localIdx patchID)
 BoundaryPatchMixin (localIdx start, localIdx end, localIdx patchID)
localIdx patchStart () const
localIdx patchEnd () const
localIdx patchSize () const
localIdx patchID () const
std::pair< localIdx, localIdx > range () const

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< TotalPressure< ValueType > >
static std::string name ()

Additional Inherited Members

Protected Attributes inherited from NeoN::finiteVolume::cellCentred::template Register< TotalPressure< ValueType > >
BoundaryAttributes attributes_
 The attributes of the patch.
Protected Attributes inherited from NeoN::finiteVolume::cellCentred::BoundaryPatchMixin
localIdx patchID_
 The id of this patch.
localIdx start_
 The start index of the patch in the boundaryVector.
localIdx end_
 The end index of the patch in the boundaryVector.

Detailed Description

template<typename ValueType>
class NeoN::finiteVolume::cellCentred::volumeBoundary::TotalPressure< ValueType >

Definition at line 105 of file totalPressure.hpp.

Constructor & Destructor Documentation

◆ TotalPressure()

template<typename ValueType>
NeoN::finiteVolume::cellCentred::volumeBoundary::TotalPressure< ValueType >::TotalPressure ( const UnstructuredMesh & mesh,
const Dictionary & dict,
localIdx patchID )
inline

Definition at line 117 of file totalPressure.hpp.

Member Function Documentation

◆ clone()

template<typename ValueType>
std::unique_ptr< VolumeBoundaryFactory< ValueType > > NeoN::finiteVolume::cellCentred::volumeBoundary::TotalPressure< ValueType >::clone ( ) const
inlinefinalvirtual

◆ correctBoundaryCondition() [1/2]

template<typename ValueType>
virtual void NeoN::finiteVolume::cellCentred::volumeBoundary::TotalPressure< ValueType >::correctBoundaryCondition ( Field< ValueType > & domainVector)
inlinefinalvirtual

◆ correctBoundaryCondition() [2/2]

template<typename ValueType>
virtual void NeoN::finiteVolume::cellCentred::volumeBoundary::TotalPressure< ValueType >::correctBoundaryCondition ( Field< ValueType > & domainVector,
const BoundaryContext & ctx )
inlinefinalvirtual

◆ doc()

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

Definition at line 164 of file totalPressure.hpp.

◆ getName()

template<typename ValueType>
std::string NeoN::finiteVolume::cellCentred::volumeBoundary::TotalPressure< ValueType >::getName ( ) const
inlineoverridevirtual

◆ name()

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

Definition at line 160 of file totalPressure.hpp.

◆ schema()

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

Definition at line 172 of file totalPressure.hpp.


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