Generic infrastructure for reading/writing unknown patch types.
More...
|
void | genericFatalSolveError (const word &patchName, const IOobject &io) const |
|
void | reportMissingEntry (const word &entryName, const word &patchName, const IOobject &io) const |
|
void | processGeneric (const label patchSize, const word &patchName, const IOobject &io, const bool separateValue) |
|
bool | processEntry (const entry &dEntry, const label patchSize, const word &patchName, const IOobject &io) |
|
void | putEntry (const entry &e, Ostream &os) const |
|
void | writeGeneric (Ostream &os, const bool separateValue) const |
|
template<class MapperType > |
void | mapGeneric (const genericPatchFieldBase &rhs, const MapperType &mapper) |
|
template<class MapperType > |
void | autoMapGeneric (const MapperType &mapper) |
|
void | rmapGeneric (const genericPatchFieldBase &rhs, const labelList &addr) |
|
| genericPatchFieldBase (const Foam::zero, const genericPatchFieldBase &) |
|
Generic infrastructure for reading/writing unknown patch types.
- Source files
-
Definition at line 50 of file genericPatchFieldBase.H.
◆ genericPatchFieldBase() [1/5]
◆ genericPatchFieldBase() [2/5]
◆ genericPatchFieldBase() [3/5]
◆ genericPatchFieldBase() [4/5]
◆ genericPatchFieldBase() [5/5]
◆ genericFatalSolveError()
void genericFatalSolveError |
( |
const word & |
patchName, |
|
|
const IOobject & |
io |
|
) |
| const |
|
protected |
◆ reportMissingEntry()
void reportMissingEntry |
( |
const word & |
entryName, |
|
|
const word & |
patchName, |
|
|
const IOobject & |
io |
|
) |
| const |
|
protected |
◆ processGeneric()
void processGeneric |
( |
const label |
patchSize, |
|
|
const word & |
patchName, |
|
|
const IOobject & |
io, |
|
|
const bool |
separateValue |
|
) |
| |
|
protected |
◆ processEntry()
bool processEntry |
( |
const entry & |
dEntry, |
|
|
const label |
patchSize, |
|
|
const word & |
patchName, |
|
|
const IOobject & |
io |
|
) |
| |
|
protected |
Definition at line 137 of file genericPatchFieldBase.C.
References Foam::dynamicCast(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, FIELDSIZE_CHECK, Foam::flatOutput(), entry::isStream(), token::isWord(), Foam::glTF::key(), entry::keyword(), IOobject::name(), VectorSpace< SphericalTensor< scalar >, scalar, 1 >::nComponents, VectorSpace< Vector< scalar >, scalar, 3 >::nComponents, VectorSpace< SymmTensor< scalar >, scalar, 6 >::nComponents, autoPtr::New(), Foam::nl, IOobject::objectPath(), Istream::putBack(), and entry::stream().
◆ putEntry()
◆ writeGeneric()
void writeGeneric |
( |
Ostream & |
os, |
|
|
const bool |
separateValue |
|
) |
| const |
|
protected |
◆ mapGeneric()
◆ autoMapGeneric()
void autoMapGeneric |
( |
const MapperType & |
mapper | ) |
|
|
protected |
◆ rmapGeneric()
◆ actualType()
const word& actualType |
( |
| ) |
const |
|
inlinenoexcept |
◆ actualTypeName_
◆ dict_
◆ scalarFields_
◆ vectorFields_
◆ sphTensorFields_
◆ symmTensorFields_
◆ tensorFields_
The documentation for this class was generated from the following files: