Go to the documentation of this file.
40 const word& fieldName = field.name() +
":Transformed";
42 if (!obr_.foundObject<Type>(fieldName))
51 obr_.time().timeName(),
53 IOobject::READ_IF_PRESENT,
62 const_cast<Type&
>(obr_.lookupObject<Type>(fieldName));
70 if (log_)
Info<<
" writing field " << transField.name() <<
nl <<
endl;
85 if (obr_.foundObject<vfType>(fieldName))
89 Info<<
type() <<
": Field " << fieldName <<
" already in database"
93 transformField<vfType>(obr_.lookupObject<vfType>(fieldName));
95 else if (obr_.foundObject<sfType>(fieldName))
99 Info<<
type() <<
": Field " << fieldName <<
" already in database"
103 transformField<sfType>(obr_.lookupObject<sfType>(fieldName));
110 obr_.time().timeName(),
124 Info<<
type() <<
": Field " << fieldName <<
" read from file"
128 transformField<vfType>(obr_.lookupObject<vfType>(fieldName));
138 Info<<
type() <<
": Field " << fieldName <<
" read from file"
142 transformField<sfType>(obr_.lookupObject<sfType>(fieldName));
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
A class for handling words, derived from string.
Ostream & endl(Ostream &os)
Add newline and flush stream.
dimensionSet transform(const dimensionSet &)
bool headerOk()
Read and check header info.
#define R(A, B, C, D, E, F, K, M)
const word & headerClassName() const
Return name of the class name read from header.
virtual Ostream & write(const token &)=0
Write next token to stream.
Generic dimensioned Type class.
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
Generic GeometricField class.