NeoN
WIP Prototype of a modern OpenFOAM core
Loading...
Searching...
No Matches
Public Member Functions | List of all members
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)
 
- 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::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 44 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 48 of file surfaceBoundaryFactory.hpp.

◆ SurfaceBoundary() [2/2]

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

Definition at line 59 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 64 of file surfaceBoundaryFactory.hpp.


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