71template<
typename T>
class CuboidGeometry3D;
73template<
typename T>
class Cuboid3D;
74template<
typename T>
class LoadBalancer;
75template<
typename T,
typename BaseType>
class SuperData3D;
81 BaseVTIreader(
const std::string& fName,
int dim, std::string dName,
82 const std::string class_name=
"BaseVTIreader");
102 std::vector<int>
getNbNodes(std::vector<int>& extents);
108template<
typename T,
typename BaseType>
112 const std::string class_name=
"BaseVTIreader3D");
119 const std::string dName);
124template<
typename T,
typename BaseType>
137template<
typename T,
typename BaseType>
151 void readCuboidGeometry();
153 void readSuperData(
const std::string dName);
~BaseVTIreader3D() override
BaseVTIreader3D(const std::string &fName, std::string dName, const std::string class_name="BaseVTIreader3D")
bool readBlockData(BlockData< 3, T, BaseType > &blockData, const XMLreader &pointDataTag, const std::string dName)
Reads from pointDataTag and fills blockData.
void readCuboid(Cuboid3D< T > &cuboid, XMLreader *piece)
Reads cuboid from piece node.
std::vector< int > getNbNodes(std::vector< int > &extents)
Converts 4D (or 6D) extents vector into 2D (3D) nb_nodes vector.
int _size
Size of Data Field.
std::vector< int > readExtent(const XMLreader *reader, std::string extAttrName)
Reads Extent from extAttrName from XML Tag and returns as vector.
std::vector< int > _extent
BaseVTIreader(const std::string &fName, int dim, std::string dName, const std::string class_name="BaseVTIreader")
int getSize(const XMLreader &tag)
Reads size from XML tag (attribute "NumberOfComponents")
Cuboid3D< T > & getCuboid()
BlockVTIreader3D(const std::string &fName, const std::string &dName)
BlockData< 3, T, BaseType > _blockData
~BlockVTIreader3D() override
BlockData< 3, T, BaseType > & getBlockData()
A regular single 3D cuboid is the basic component of a 3D cuboid structure which defines the grid.
A cuboid geometry represents a voxel mesh.
Base class for all LoadBalancer.
class for marking output with some text
~SuperVTIreader3D() override
LoadBalancer< T > & getLoadBalancer()
SuperData< 3, T, BaseType > & getSuperData()
SuperVTIreader3D(const std::string &fName, const std::string dName)
CuboidGeometry3D< T > & getCuboidGeometry()
The description of a single 3D cuboid – header file.
The description of a vector of 3D cuboid – header file.
Top level namespace for all of OpenLB.
Dynamics for a generic 2D super data – header file.
Input/Output in XML format – header file.