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

Represents a surface boundary field for a cell-centered finite volume method. More...

#include <surfaceBoundaryFactory.hpp>

Inheritance diagram for NeoN::finiteVolume::cellCentred::SurfaceBoundary< ValueType >:
NeoN::finiteVolume::cellCentred::BoundaryPatchMixin

Public Member Functions

 SurfaceBoundary (const UnstructuredMesh &mesh, const Dictionary &dict, localIdx patchID)
 SurfaceBoundary (const SurfaceBoundary &other)
virtual void correctBoundaryCondition (Field< ValueType > &domainVector)
virtual void set (Field< ValueType > &domainVector)
virtual void update (Field< ValueType > &domainVector)
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

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< ValueType >

Represents a surface boundary field for a cell-centered finite volume method.

Template Parameters
ValueTypeThe data type of the field.

Definition at line 60 of file surfaceBoundaryFactory.hpp.

Constructor & Destructor Documentation

◆ SurfaceBoundary() [1/2]

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

Definition at line 64 of file surfaceBoundaryFactory.hpp.

◆ SurfaceBoundary() [2/2]

template<typename ValueType>
NeoN::finiteVolume::cellCentred::SurfaceBoundary< ValueType >::SurfaceBoundary ( const SurfaceBoundary< ValueType > & other)
inline

Definition at line 71 of file surfaceBoundaryFactory.hpp.

Member Function Documentation

◆ correctBoundaryCondition()

template<typename ValueType>
virtual void NeoN::finiteVolume::cellCentred::SurfaceBoundary< ValueType >::correctBoundaryCondition ( Field< ValueType > & domainVector)
inlinevirtual

Definition at line 76 of file surfaceBoundaryFactory.hpp.

◆ set()

template<typename ValueType>
virtual void NeoN::finiteVolume::cellCentred::SurfaceBoundary< ValueType >::set ( Field< ValueType > & domainVector)
inlinevirtual

Definition at line 81 of file surfaceBoundaryFactory.hpp.

◆ update()

template<typename ValueType>
virtual void NeoN::finiteVolume::cellCentred::SurfaceBoundary< ValueType >::update ( Field< ValueType > & domainVector)
inlinevirtual

Definition at line 86 of file surfaceBoundaryFactory.hpp.


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