KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
Classes | Functions
Kratos::HDF5::Internals Namespace Reference

Classes

class  ConnectivitiesData
 Represents connectivities information of a single element or condition type in a mesh. More...
 
class  PointsData
 A class representing points in a mesh. More...
 

Functions

void ReadDataValueContainer (File &rFile, std::string const &rPrefix, DataValueContainer &rData)
 
void WriteDataValueContainer (File &rFile, std::string const &rPrefix, DataValueContainer const &rData)
 
bool IsPath (const std::string &rPath)
 Check if string is a valid path. More...
 
std::vector< hsize_t > GetDataDimensions (const File &rFile, const std::string &rPath)
 
std::vector< std::string > Split (const std::string &rPath, char Delimiter)
 Return vector of non-empty substrings separated by a delimiter. More...
 
std::vector< hsize_t > GetDataDimensions (const Vector< int > &rData)
 
std::vector< hsize_t > GetDataDimensions (const Vector< double > &rData)
 
std::vector< hsize_t > GetDataDimensions (const Vector< array_1d< double, 3 >> &rData)
 
void WriteVariablesList (File &rFile, std::string const &rPrefix, ModelPart const &rModelPart)
 
void ReadAndAssignVariablesList (File &rFile, std::string const &rPrefix, ModelPart &rModelPart)
 
void WriteBufferSize (File &rFile, std::string const &rPrefix, int BufferSize)
 
void ReadAndAssignBufferSize (File &rFile, std::string const &rPrefix, ModelPart &rModelPart)
 
void ReadProperties (File &rFile, std::string const &rPrefix, PropertiesContainerType &rProperties)
 
void WriteProperties (File &rFile, std::string const &rPrefix, PropertiesType const &rProperties)
 
void WriteProperties (File &rFile, std::string const &rPrefix, PropertiesContainerType const &rProperties)
 
void WriteProperties (File &rFile, std::string const &rPrefix, Properties const &rProperties)
 
template<class TDataType >
hid_t GetPrimitiveH5Type ()
 

Function Documentation

◆ GetDataDimensions() [1/4]

std::vector< hsize_t > Kratos::HDF5::Internals::GetDataDimensions ( const File rFile,
const std::string &  rPath 
)

◆ GetDataDimensions() [2/4]

std::vector<hsize_t> Kratos::HDF5::Internals::GetDataDimensions ( const Vector< array_1d< double, 3 >> &  rData)

◆ GetDataDimensions() [3/4]

std::vector< hsize_t > Kratos::HDF5::Internals::GetDataDimensions ( const Vector< double > &  rData)

◆ GetDataDimensions() [4/4]

std::vector< hsize_t > Kratos::HDF5::Internals::GetDataDimensions ( const Vector< int > &  rData)

◆ GetPrimitiveH5Type()

template<class TDataType >
hid_t Kratos::HDF5::Internals::GetPrimitiveH5Type ( )

◆ IsPath()

bool Kratos::HDF5::Internals::IsPath ( const std::string &  rPath)

Check if string is a valid path.

Valid paths are similar to linux file system with alphanumeric names and possible underscores separated by '/'. All paths are absolute.

◆ Split()

std::vector<std::string> Kratos::HDF5::Internals::Split ( const std::string &  rPath,
char  Delimiter 
)

Return vector of non-empty substrings separated by a delimiter.

◆ WriteProperties()

void Kratos::HDF5::Internals::WriteProperties ( File rFile,
std::string const &  rPrefix,
PropertiesType const &  rProperties 
)