36template<
class FieldType>
39 if (
io.isHeaderClass<FieldType>())
42 Log <<
" Reading " <<
io.name()
43 <<
" (" <<
io.headerClassName() <<
')' <<
endl;
57 typedef typename VolFieldType::Internal IntVolFieldType;
62 loadAndStore<VolFieldType>(
io)
63 || loadAndStore<IntVolFieldType>(
io)
64 || loadAndStore<SurfaceFieldType>(
io)
Generic GeometricField class.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
const fvMesh & mesh_
Reference to the fvMesh.
bool loadAndStore(const IOobject &io)
Attempt load from io, store on database if successful.
bool loadField(const IOobject &io)
Forward to loadAndStore for supported types.
bool store()
Register object with its registry and transfer ownership to the registry.
Ostream & endl(Ostream &os)
Add newline and flush stream.