|
NeoN
A framework for CFD software
|
#include <surfaceBoundaryFactory.hpp>
Public Member Functions | |
| SurfaceBoundaryFactory (const UnstructuredMesh &mesh, const Dictionary &, localIdx patchID) | |
| virtual void | correctBoundaryCondition (Field< ValueType > &field)=0 |
| virtual void | set (Field< ValueType > &domainVector) |
| One-time patch initialisation, applied once per field before the first update(). | |
| virtual void | update (Field< ValueType > &domainVector) |
| Per-iteration boundary update, applied on every correctBoundaryConditions() call. | |
| virtual std::unique_ptr< SurfaceBoundaryFactory > | clone () const =0 |
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 () |
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. | |
Definition at line 18 of file surfaceBoundaryFactory.hpp.
|
inline |
Definition at line 28 of file surfaceBoundaryFactory.hpp.
|
pure virtual |
|
pure virtual |
|
inlinestatic |
Definition at line 26 of file surfaceBoundaryFactory.hpp.
|
inlinevirtual |
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.
Definition at line 41 of file surfaceBoundaryFactory.hpp.
|
inlinevirtual |
Per-iteration boundary update, applied on every correctBoundaryConditions() call.
Default forwards to correctBoundaryCondition() so non-split BCs are unchanged.
Definition at line 48 of file surfaceBoundaryFactory.hpp.