NeoN
WIP Prototype of a modern OpenFOAM core
Loading...
Searching...
No Matches
Public Member Functions | List of all members
NeoN::finiteVolume::cellCentred::VolumeBoundary< ValueType > Class Template Reference

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

#include <volumeBoundaryFactory.hpp>

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

Public Member Functions

 VolumeBoundary (const UnstructuredMesh &mesh, const Dictionary &dict, localIdx patchID)
 
 VolumeBoundary (const VolumeBoundary &other)
 
virtual void correctBoundaryCondition (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, localIdxrange ()
 

Additional Inherited Members

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

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

Template Parameters
ValueTypeThe data type of the field.

Definition at line 46 of file volumeBoundaryFactory.hpp.

Constructor & Destructor Documentation

◆ VolumeBoundary() [1/2]

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

Definition at line 50 of file volumeBoundaryFactory.hpp.

◆ VolumeBoundary() [2/2]

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

Definition at line 61 of file volumeBoundaryFactory.hpp.

Member Function Documentation

◆ correctBoundaryCondition()

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

Definition at line 66 of file volumeBoundaryFactory.hpp.


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