NeoFOAM
WIP Prototype of a modern OpenFOAM core
Loading...
Searching...
No Matches
Public Member Functions | List of all members
NeoFOAM::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 NeoFOAM::finiteVolume::cellCentred::SurfaceBoundary< ValueType >:
NeoFOAM::finiteVolume::cellCentred::BoundaryPatchMixin

Public Member Functions

 SurfaceBoundary (const UnstructuredMesh &mesh, const Dictionary &dict, size_t patchID)
 
 SurfaceBoundary (const SurfaceBoundary &other)
 
virtual void correctBoundaryCondition (DomainField< ValueType > &domainField)
 
- Public Member Functions inherited from NeoFOAM::finiteVolume::cellCentred::BoundaryPatchMixin
 BoundaryPatchMixin ()
 
virtual ~BoundaryPatchMixin ()=default
 
 BoundaryPatchMixin (const UnstructuredMesh &mesh, size_t patchID)
 
 BoundaryPatchMixin (label start, label end, size_t patchID)
 
label patchStart () const
 
label patchEnd () const
 
size_t patchSize () const
 
size_t patchID () const
 
std::pair< size_t, size_trange ()
 

Additional Inherited Members

- Protected Attributes inherited from NeoFOAM::finiteVolume::cellCentred::BoundaryPatchMixin
size_t patchID_
 The id of this patch.
 
label start_
 The start index of the patch in the boundaryField.
 
label end_
 The end index of the patch in the boundaryField.
 

Detailed Description

template<typename ValueType>
class NeoFOAM::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 43 of file surfaceBoundaryFactory.hpp.

Constructor & Destructor Documentation

◆ SurfaceBoundary() [1/2]

template<typename ValueType >
NeoFOAM::finiteVolume::cellCentred::SurfaceBoundary< ValueType >::SurfaceBoundary ( const UnstructuredMesh mesh,
const Dictionary dict,
size_t  patchID 
)
inline

Definition at line 47 of file surfaceBoundaryFactory.hpp.

◆ SurfaceBoundary() [2/2]

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

Definition at line 58 of file surfaceBoundaryFactory.hpp.

Member Function Documentation

◆ correctBoundaryCondition()

template<typename ValueType >
virtual void NeoFOAM::finiteVolume::cellCentred::SurfaceBoundary< ValueType >::correctBoundaryCondition ( DomainField< ValueType > &  domainField)
inlinevirtual

Definition at line 63 of file surfaceBoundaryFactory.hpp.


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