38#ifndef Foam_genericPatchFieldBase_H
39#define Foam_genericPatchFieldBase_H
81 const label fieldSize,
82 const label patchSize,
83 const word& patchName,
97 const word& patchName,
104 const word& entryName,
105 const word& patchName,
111 const label patchSize,
112 const word& patchName,
114 const bool separateValue
120 const label patchSize,
121 const word& patchName,
133 template<
class MapperType>
137 const MapperType& mapper
141 template<
class MapperType>
181 return actualTypeName_;
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'.
void writeGeneric(Ostream &os, const bool separateValue) const
Write all generic entries from dictionary, optionally treating the "value" entry separately.
genericPatchFieldBase()=default
Default construct, generally not useful.
void rmapGeneric(const genericPatchFieldBase &rhs, const labelList &addr)
Implementation for reverse map given patch field onto this patch field.
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.
genericPatchFieldBase(const Foam::zero, const genericPatchFieldBase &)
Partial copy construct. Only copy type and dictionary.
genericPatchFieldBase(const genericPatchFieldBase &)=default
Copy construct.
void genericFatalSolveError(const word &patchName, const IOobject &io) const
Add error message to FatalError about solving with generic condition.
const word & actualType() const noexcept
The actual patch type.
void processGeneric(const label patchSize, const word &patchName, const IOobject &io, const bool separateValue)
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)
List< label > labelList
A List of labels.
void rhs(fvMatrix< typename Expr::value_type > &m, const Expr &expression)
Specialisations of Field<T> for scalar, vector and tensor.