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.
hdf5_properties_io.h
Go to the documentation of this file.
1 // | / |
2 // ' / __| _` | __| _ \ __|
3 // . \ | ( | | ( |\__ `
4 // _|\_\_| \__,_|\__|\___/ ____/
5 // Multi-Physics
6 //
7 // License: BSD License
8 // license: HDF5Application/license.txt
9 //
10 // Main author: Michael Andre, https://github.com/msandre
11 //
12 
17 #if !defined(KRATOS_HDF5_PROPERTIES_IO_H_INCLUDED)
18 #define KRATOS_HDF5_PROPERTIES_IO_H_INCLUDED
19 
20 // System includes
21 #include <string>
22 
23 // External includes
24 
25 // Project includes
26 #include "includes/define.h"
27 
28 // Application includes
30 
31 namespace Kratos
32 {
33 namespace HDF5
34 {
35 
36 class File;
37 
38 namespace Internals
39 {
42 
43 void ReadProperties(File& rFile, std::string const& rPrefix, PropertiesContainerType& rProperties);
44 
45 void WriteProperties(File& rFile, std::string const& rPrefix, Properties const& rProperties);
46 
47 void WriteProperties(File& rFile, std::string const& rPrefix, PropertiesContainerType const& rProperties);
48 
50 } // namespace Internals.
51 } // namespace HDF5.
52 } // namespace Kratos.
53 
54 #endif // KRATOS_HDF5_PROPERTIES_IO_H_INCLUDED defined
A base class for reading and writing an HDF5 file.
Definition: hdf5_file.h:57
A sorted associative container similar to an STL set, but uses a vector to store pointers to its data...
Definition: pointer_vector_set.h:72
Properties encapsulates data shared by different Elements or Conditions. It can store any type of dat...
Definition: properties.h:69
void ReadProperties(File &rFile, std::string const &rPrefix, PropertiesContainerType &rProperties)
Definition: hdf5_properties_io.cpp:15
IO::MeshType::PropertiesContainerType PropertiesContainerType
Definition: hdf5_application_define.h:53
void WriteProperties(File &rFile, std::string const &rPrefix, PropertiesType const &rProperties)
Definition: hdf5_properties_io.cpp:37
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21