38 #ifndef Foam_GeometricBoundaryField_H 39 #define Foam_GeometricBoundaryField_H 55 template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
62 template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
63 class GeometricBoundaryField
65 public FieldField<PatchField, Type>
78 typedef PatchField<Type>
Patch;
122 const PtrList<PatchField<Type>>& ptfl
139 const word& patchFieldName
174 template<
class CoupledPatchType>
220 template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
PatchField< Type > Patch
The patch field type for the boundary fields.
const labelList patchIDs(pbm.patchSet(polyPatchNames, false, true).sortedToc())
GeometricBoundaryField(const BoundaryMesh &bmesh)
Construct from a BoundaryMesh, setting patches later.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
MESH::BoundaryMesh BoundaryMesh
lduInterfaceFieldPtrsList scalarInterfaces() const
Return a list of pointers for each patch field with only those pointing to interfaces being set...
wordList types() const
Return a list of the patch types.
const word calculatedType
A calculated patch field type.
void evaluate()
Evaluate boundary conditions.
GeoMesh::BoundaryMesh BoundaryMesh
The boundary mesh type for the boundary fields.
A class for handling words, derived from Foam::string.
void operator==(const GeometricBoundaryField &bf)
Forced assignment from GeometricBoundaryField.
void operator=(const GeometricBoundaryField &bf)
Copy assignment from GeometricBoundaryField.
void evaluateCoupled()
Evaluate boundary conditions on a subset of coupled patches.
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
void updateCoeffs()
Update the boundary condition coefficients.
DimensionedField< Type, GeoMesh > Internal
The internal field type associated with the boundary fields.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
Generic GeometricBoundaryField class.
List< word > wordList
List of word.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers...
void writeEntry(const word &keyword, Ostream &os) const
Write boundary field as dictionary entry.
void readField(const DimensionedField< Type, GeoMesh > &field, const dictionary &dict)
Read the boundary field.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
LduInterfaceFieldPtrsList< Type > interfaces() const
Return a list of pointers for each patch field with only those pointing to interfaces being set...
GeometricBoundaryField boundaryInternalField() const
Return boundary field of values neighbouring the boundary.
void writeEntries(Ostream &os) const
Write dictionary entries of the individual boundary fields.
Generic mesh wrapper used by volMesh, surfaceMesh, pointMesh etc.
List of coupled interface fields to be used in coupling.