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

#include <processor.hpp>

Inheritance diagram for NeoN::finiteVolume::cellCentred::surfaceBoundary::Processor< ValueType >:
NeoN::finiteVolume::cellCentred::template Register< Processor< ValueType > > NeoN::RuntimeSelectionFactory< SurfaceBoundaryFactory< ValueType >, Parameters< const UnstructuredMesh &, const Dictionary &, localIdx > > NeoN::finiteVolume::cellCentred::BoundaryPatchMixin

Public Member Functions

 Processor (const UnstructuredMesh &mesh, const Dictionary &dict, localIdx patchID)
virtual void set (Field< ValueType > &domainVector) final
 One-time patch initialisation, applied once per field before the first update().
virtual void update (Field< ValueType > &domainVector) final
 Per-iteration boundary update, applied on every correctBoundaryConditions() call.
virtual void correctBoundaryCondition (Field< ValueType > &domainVector) final
virtual std::unique_ptr< SurfaceBoundaryFactory< ValueType > > clone () const override
Public Member Functions inherited from NeoN::finiteVolume::cellCentred::template Register< Processor< ValueType > >
 SurfaceBoundaryFactory (const UnstructuredMesh &mesh, const Dictionary &, localIdx patchID)
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< Processor< ValueType > >
static std::string name ()

Additional Inherited Members

Static Protected Member Functions inherited from NeoN::finiteVolume::cellCentred::BoundaryPatchMixin
static localIdx checkedPatchID (const UnstructuredMesh &mesh, localIdx patchID)
template<typename Factory>
static std::string boundaryType (const Dictionary &dict, localIdx patchID)
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::surfaceBoundary::Processor< ValueType >

Definition at line 32 of file processor.hpp.

Constructor & Destructor Documentation

◆ Processor()

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

Definition at line 38 of file processor.hpp.

Member Function Documentation

◆ clone()

template<typename ValueType>
virtual std::unique_ptr< SurfaceBoundaryFactory< ValueType > > NeoN::finiteVolume::cellCentred::surfaceBoundary::Processor< ValueType >::clone ( ) const
inlineoverridevirtual

◆ correctBoundaryCondition()

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

◆ doc()

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

Definition at line 73 of file processor.hpp.

◆ name()

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

Definition at line 71 of file processor.hpp.

◆ schema()

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

Definition at line 78 of file processor.hpp.

◆ set()

template<typename ValueType>
virtual void NeoN::finiteVolume::cellCentred::surfaceBoundary::Processor< ValueType >::set ( Field< ValueType > & domainVector)
inlinefinalvirtual

One-time patch initialisation, applied once per field before the first update().

For patch data fixed for the lifetime of the field (e.g. constant mixed-BC coefficients). Default: no-op.

Reimplemented from NeoN::finiteVolume::cellCentred::template Register< Processor< ValueType > >.

Definition at line 43 of file processor.hpp.

◆ update()

template<typename ValueType>
virtual void NeoN::finiteVolume::cellCentred::surfaceBoundary::Processor< ValueType >::update ( Field< ValueType > & domainVector)
inlinefinalvirtual

Per-iteration boundary update, applied on every correctBoundaryConditions() call.

Default forwards to correctBoundaryCondition() so non-split BCs are unchanged.

Reimplemented from NeoN::finiteVolume::cellCentred::template Register< Processor< ValueType > >.

Definition at line 60 of file processor.hpp.


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