Nektar++
|
Metadata that describes the storage properties of field output. More...
#include <FieldIO.h>
Public Member Functions | |
FieldDefinitions () | |
Default constructor. More... | |
FieldDefinitions (ShapeType shapeType, const std::vector< unsigned int > &elementIDs, const std::vector< LibUtilities::BasisType > &basis, bool uniOrder, const std::vector< unsigned int > &numModes, const std::vector< std::string > &fields, int NumHomoDir=0, const std::vector< NekDouble > &HomoLengths=NullNekDoubleVector, bool homoStrips=false, const std::vector< unsigned int > &HomoSIDs=NullUnsignedIntVector, const std::vector< unsigned int > &HomoZIDs=NullUnsignedIntVector, const std::vector< unsigned int > &HomoYIDs=NullUnsignedIntVector, const std::vector< LibUtilities::PointsType > &points=NullPointsTypeVector, bool pointsDef=false, const std::vector< unsigned int > &numPoints=NullUnsignedIntVector, bool numPointsDef=false) | |
Simple constructor to allocate all internal properties. More... | |
Public Attributes | |
ShapeType | m_shapeType |
Shape type of this field data. More... | |
std::vector< unsigned int > | m_elementIDs |
Element IDs of the field data. More... | |
std::vector< LibUtilities::BasisType > | m_basis |
Vector of basis types for each of the coordinate directions. More... | |
int | m_numHomogeneousDir |
Number of homogeneous directions, in the range \( 0\leq d \leq 3 \). More... | |
std::vector< NekDouble > | m_homogeneousLengths |
Spatial lengths of each homogeneous direction. More... | |
bool | m_homoStrips |
Boolean determining whether homogeneous strips are used. More... | |
std::vector< unsigned int > | m_homogeneousSIDs |
IDs corresponding to homogeneous strip IDs. More... | |
std::vector< unsigned int > | m_homogeneousZIDs |
IDs corresponding to z-direction homogeneous IDs. More... | |
std::vector< unsigned int > | m_homogeneousYIDs |
IDs corresponding to y-direction homogeneous IDs. More... | |
std::vector< LibUtilities::PointsType > | m_points |
Define the type of points per direction. More... | |
bool | m_pointsDef |
Boolean determining whether points have been defined in output. More... | |
bool | m_uniOrder |
Define order of the element group. More... | |
std::vector< unsigned int > | m_numModes |
Define number of modes per direction. More... | |
std::vector< unsigned int > | m_numPoints |
Define number of points per direction. More... | |
bool | m_numPointsDef |
Boolean determining whether number of points has been defined. More... | |
std::vector< std::string > | m_fields |
Vector of field names that this data encapsulates. More... | |
Metadata that describes the storage properties of field output.
The purpose of this struct is to describe the format of binary field data. This can then be used in the library to determine appropriate actions. For example, when restarting a simulation, the information this struct encapsulates can be used to determine whether interpolation is required to a different polynomial order depending on the order of the simulation versus the order of the restart file.
We note that some of the parameters here include:
|
inline |
Default constructor.
Definition at line 114 of file FieldIO.h.
|
inline |
Simple constructor to allocate all internal properties.
Definition at line 122 of file FieldIO.h.
std::vector<LibUtilities::BasisType> Nektar::LibUtilities::FieldDefinitions::m_basis |
std::vector<unsigned int> Nektar::LibUtilities::FieldDefinitions::m_elementIDs |
std::vector<std::string> Nektar::LibUtilities::FieldDefinitions::m_fields |
std::vector<NekDouble> Nektar::LibUtilities::FieldDefinitions::m_homogeneousLengths |
std::vector<unsigned int> Nektar::LibUtilities::FieldDefinitions::m_homogeneousSIDs |
std::vector<unsigned int> Nektar::LibUtilities::FieldDefinitions::m_homogeneousYIDs |
std::vector<unsigned int> Nektar::LibUtilities::FieldDefinitions::m_homogeneousZIDs |
bool Nektar::LibUtilities::FieldDefinitions::m_homoStrips |
int Nektar::LibUtilities::FieldDefinitions::m_numHomogeneousDir |
std::vector<unsigned int> Nektar::LibUtilities::FieldDefinitions::m_numModes |
std::vector<unsigned int> Nektar::LibUtilities::FieldDefinitions::m_numPoints |
bool Nektar::LibUtilities::FieldDefinitions::m_numPointsDef |
std::vector<LibUtilities::PointsType> Nektar::LibUtilities::FieldDefinitions::m_points |
bool Nektar::LibUtilities::FieldDefinitions::m_pointsDef |
ShapeType Nektar::LibUtilities::FieldDefinitions::m_shapeType |