38#ifndef genericPatchFieldBase_H
39#define genericPatchFieldBase_H
61 const label fieldSize,
62 const label patchSize,
63 const word& patchName,
91 const word& patchName,
98 const word& entryName,
99 const word& patchName,
105 const label patchSize,
106 const word& patchName,
108 const bool separateValue
114 const label patchSize,
115 const word& patchName,
127 template<
class MapperType>
131 const MapperType& mapper
135 template<
class MapperType>
A HashTable of pointers to objects of type <T>, with deallocation management of the pointers.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A keyword and a list of tokens is an 'entry'.
Generic infrastructure for reading/writing unknown patch types.
void writeGeneric(Ostream &os, const bool separateValue) const
genericPatchFieldBase()=default
Default construct, generally not useful.
void rmapGeneric(const genericPatchFieldBase &rhs, const labelList &addr)
HashPtrTable< vectorField > vectorFields_
void reportMissingEntry(const word &entryName, const word &patchName, const IOobject &io) const
FatalError for missing entry.
genericPatchFieldBase(genericPatchFieldBase &&)=default
Move construct.
void putEntry(const entry &e, Ostream &os) const
Write a single entry, with lookup of hashed values.
void autoMapGeneric(const MapperType &mapper)
Implementation for autoMap of self given a mapping object.
word actualTypeName_
The non-generic patch name.
HashPtrTable< symmTensorField > symmTensorFields_
genericPatchFieldBase(const genericPatchFieldBase &)=default
Copy construct.
HashPtrTable< sphericalTensorField > sphTensorFields_
void genericFatalSolveError(const word &patchName, const IOobject &io) const
HashPtrTable< tensorField > tensorFields_
const word & actualType() const noexcept
The actual patch type.
void processGeneric(const label patchSize, const word &patchName, const IOobject &io, const bool separateValue)
HashPtrTable< scalarField > scalarFields_
void mapGeneric(const genericPatchFieldBase &rhs, const MapperType &mapper)
Implementation for construct with mapper.
bool processEntry(const entry &dEntry, const label patchSize, const word &patchName, const IOobject &io)
A class for handling keywords in dictionaries.
A class for handling words, derived from Foam::string.
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
OBJstream os(runTime.globalPath()/outputName)
IOobject io("surfaceFilmProperties", mesh.time().constant(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, false)
Specialisations of Field<T> for scalar, vector and tensor.