OpenLB 1.7
|
#include <vtiReader.h>
Public Member Functions | |
BaseVTIreader3D (const std::string &fName, std::string dName, const std::string class_name="BaseVTIreader3D") | |
~BaseVTIreader3D () override | |
Public Member Functions inherited from olb::BaseVTIreader< T > | |
BaseVTIreader (const std::string &fName, int dim, std::string dName, const std::string class_name="BaseVTIreader") | |
virtual | ~BaseVTIreader () |
void | printInfo () |
Protected Member Functions | |
void | readCuboid (Cuboid3D< T > &cuboid, XMLreader *piece) |
Reads cuboid from piece node. | |
bool | readBlockData (BlockData< 3, T, BaseType > &blockData, const XMLreader &pointDataTag, const std::string dName) |
Reads from pointDataTag and fills blockData. | |
Protected Member Functions inherited from olb::BaseVTIreader< T > | |
std::vector< int > | readExtent (const XMLreader *reader, std::string extAttrName) |
Reads Extent from extAttrName from XML Tag and returns as vector. | |
std::vector< int > | getNbNodes (std::vector< int > &extents) |
Converts 4D (or 6D) extents vector into 2D (3D) nb_nodes vector. | |
int | getSize (const XMLreader &tag) |
Reads size from XML tag (attribute "NumberOfComponents") | |
Additional Inherited Members | |
Protected Attributes inherited from olb::BaseVTIreader< T > | |
OstreamManager | clout |
int | _dim |
int | _size |
Size of Data Field. | |
std::vector< T > | _origin |
std::vector< int > | _extent |
T | _delta |
XMLreader | _xmlReader |
int | _nCuboids |
Definition at line 109 of file vtiReader.h.
olb::BaseVTIreader3D< T, BaseType >::BaseVTIreader3D | ( | const std::string & | fName, |
std::string | dName, | ||
const std::string | class_name = "BaseVTIreader3D< T, BaseType >" ) |
Definition at line 145 of file vtiReader.hh.
|
inlineoverride |
Definition at line 113 of file vtiReader.h.
|
protected |
Reads from pointDataTag and fills blockData.
Definition at line 169 of file vtiReader.hh.
References olb::BlockData< D, T, U >::get(), olb::BlockStructureD< D >::getNx(), olb::BlockStructureD< D >::getNy(), olb::BlockStructureD< D >::getNz(), and olb::BlockData< D, T, U >::getSize().
|
protected |
Reads cuboid from piece node.
Definition at line 152 of file vtiReader.hh.
References olb::XMLreader::getName(), and olb::Cuboid3D< T >::init().