Field3D
File I/O

These are the main parts of the library that a user would deal with. More...

Classes

class  Field3DFileBase
 
class  Field3DFileHDF5Base
 
class  Field3DInputFile
 Provides reading of .f3d (internally, hdf5 or Ogawa) files. More...
 
class  Field3DInputFileHDF5
 Provides reading of .f3d (internally, hdf5) files. More...
 
class  Field3DOutputFile
 Provides writing of .f3d (internally, hdf5 or Ogawa) files. More...
 
class  Field3DOutputFileHDF5
 Provides writing of .f3d (internally, hdf5) files. More...
 
class  SparseFileManager
 

Functions

FIELD3D_NAMESPACE_OPEN FIELD3D_API void initIO ()
 Initializes the built-in Field3D IO classes.
 

Detailed Description

These are the main parts of the library that a user would deal with.

Function Documentation

◆ initIO()

Initializes the built-in Field3D IO classes.

Definition at line 66 of file InitIO.cpp.

67{
68 static boost::mutex mutex;
69 boost::mutex::scoped_lock lock(mutex);
70
72
73 factory.registerFieldIO(DenseFieldIO::create);
74 factory.registerFieldIO(SparseFieldIO::create);
75 factory.registerFieldIO(MACFieldIO::create);
76 factory.registerFieldIO(MIPFieldIO::create);
77
81}
static ClassFactory & singleton()
}
void registerFieldIO(CreateFieldIOFnPtr createFunc)
Registers an IO class with the class pool.
void registerFieldMappingIO(CreateFieldMappingIOFnPtr createFunc)
Registers an IO class with the class pool.
static FieldMappingIO::Ptr create()
static FieldMappingIO::Ptr create()
static FieldMappingIO::Ptr create()

References FrustumFieldMappingIO::create(), MatrixFieldMappingIO::create(), NullFieldMappingIO::create(), ClassFactory::registerFieldIO(), ClassFactory::registerFieldMappingIO(), and ClassFactory::singleton().