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 | Typedefs | Functions
HDF5Application

! ! More...

Classes

class  Kratos::HDF5::ConditionDataValueIO
 A class for IO of element data in HDF5. More...
 
class  Kratos::HDF5::ConditionFlagValueIO
 A class for IO of element data in HDF5. More...
 
class  Kratos::HDF5::ConditionGaussPointOutput
 A class for IO of element data in HDF5. More...
 
class  Kratos::HDF5::Internals::ConnectivitiesData
 Represents connectivities information of a single element or condition type in a mesh. More...
 
class  Kratos::HDF5::ContainerComponentIO< TContainerType, TContainerItemType, TComponents >
 A class for IO of element data in HDF5. More...
 
class  Kratos::HDF5::ContainerGaussPointOutput< TContainerType, TComponents >
 A class for IO of element data in HDF5. More...
 
class  Kratos::HDF5::ElementDataValueIO
 A class for IO of element data in HDF5. More...
 
class  Kratos::HDF5::ElementFlagValueIO
 A class for IO of element data in HDF5. More...
 
class  Kratos::HDF5::ElementGaussPointOutput
 A class for IO of element data in HDF5. More...
 
struct  Kratos::HDF5::WriteInfo
 Stores information about a dataset written to HDF5. More...
 
class  Kratos::HDF5::File
 A base class for reading and writing an HDF5 file. More...
 
class  Kratos::HDF5::ModelPartIO
 A class for serial IO of a model part in HDF5. More...
 
class  Kratos::HDF5::NodalDataValueIO
 A class for IO of non-historical nodal values in HDF5. More...
 
class  Kratos::HDF5::NodalFlagValueIO
 A class for IO of non-historical nodal values in HDF5. More...
 
class  Kratos::HDF5::NodalSolutionStepBossakIO
 A class for IO of nodal solution step data in HDF5 with weighted Bossak acceleration. More...
 
class  Kratos::HDF5::NodalSolutionStepDataIO
 A class for IO of nodal solution step data in HDF5. More...
 
class  Kratos::HDF5::PartitionedModelPartIO
 A class for partitioned IO of a model part in HDF5. More...
 
class  Kratos::HDF5::Internals::PointsData
 A class representing points in a mesh. More...
 
class  Kratos::HDF5::XdmfConnectivitiesWriterProcess
 Writes Xdmf connectivities. More...
 
class  core.controllers.Controller
 
class  core.controllers.DefaultController
 Simple pass through controller. More...
 
class  core.controllers.TemporalController
 Frequency-based controller. More...
 
class  core.processes.OrderedOperationProcess
 A process for grouping operations. More...
 
class  core.processes.OrderedOutputOperationProcess
 

Typedefs

template<class T >
using Kratos::HDF5::Vector = DenseVector< T >
 
template<class T >
using Kratos::HDF5::Matrix = DenseMatrix< T >
 
typedef IO::MeshType::NodeType Kratos::HDF5::NodeType
 
typedef IO::MeshType::ElementType Kratos::HDF5::ElementType
 
typedef IO::MeshType::ConditionType Kratos::HDF5::ConditionType
 
typedef IO::MeshType::PropertiesType Kratos::HDF5::PropertiesType
 
typedef IO::MeshType::NodesContainerType Kratos::HDF5::NodesContainerType
 
typedef IO::MeshType::ElementsContainerType Kratos::HDF5::ElementsContainerType
 
typedef IO::MeshType::PropertiesContainerType Kratos::HDF5::PropertiesContainerType
 
typedef IO::MeshType::ConditionsContainerType Kratos::HDF5::ConditionsContainerType
 

Functions

void Kratos::HDF5::Internals::ReadDataValueContainer (File &rFile, std::string const &rPrefix, DataValueContainer &rData)
 
void Kratos::HDF5::Internals::WriteDataValueContainer (File &rFile, std::string const &rPrefix, DataValueContainer const &rData)
 
void Kratos::HDF5::Internals::WriteVariablesList (File &rFile, std::string const &rPrefix, ModelPart const &rModelPart)
 
void Kratos::HDF5::Internals::ReadAndAssignVariablesList (File &rFile, std::string const &rPrefix, ModelPart &rModelPart)
 
void Kratos::HDF5::Internals::WriteBufferSize (File &rFile, std::string const &rPrefix, int BufferSize)
 
void Kratos::HDF5::Internals::ReadAndAssignBufferSize (File &rFile, std::string const &rPrefix, ModelPart &rModelPart)
 
void Kratos::HDF5::Internals::ReadProperties (File &rFile, std::string const &rPrefix, PropertiesContainerType &rProperties)
 
void Kratos::HDF5::Internals::WriteProperties (File &rFile, std::string const &rPrefix, Properties const &rProperties)
 
void Kratos::HDF5::Internals::WriteProperties (File &rFile, std::string const &rPrefix, PropertiesContainerType const &rProperties)
 
void Kratos::HDF5::WritePartitionTable (File &rFile, std::string const &rPath, WriteInfo const &rInfo)
 Write the start and end indices of data blocks (by process rank). More...
 
void Kratos::HDF5::WritePartitionTableIndependent (File &rFile, std::string const &rPath, Vector< int > const &rPartition)
 Write a user-defined partition table of start and end indices (by process rank). More...
 
bool Kratos::HDF5::HasPartitionTable (File &rFile, std::string const &rPath)
 
std::tuple< unsigned, unsigned > Kratos::HDF5::StartIndexAndBlockSize (File &rFile, std::string const &rPath)
 
controllers.Controller core.CreateController (KratosMultiphysics.Parameters parameters, KratosMultiphysics.Model model, operations.AggregateOperation operation)
 
def core.AssignControllerToProcess (settings, controller, process)
 
typing.Union[KratosMultiphysics.Process, KratosMultiphysics.OutputProcess] core.Factory (ParametersWrapper settings, KratosMultiphysics.Model model, type process_base)
 Return an HDF5 IO process specified by json settings. More...
 
Controller core.controllers.Factory (KratosMultiphysics.ModelPart model_part, operations.AggregateOperation operation, KratosMultiphysics.Parameters parameters)
 Return the controller specified by the setting 'controller_type'. More...
 
KratosMultiphysics.Process core.processes.Factory (type process_type)
 Return a regular or output ordered process depending on the input type. More...
 

Detailed Description

! !

! ! !

Typedef Documentation

◆ ConditionsContainerType

◆ ConditionType

◆ ElementsContainerType

◆ ElementType

◆ Matrix

template<class T >
using Kratos::HDF5::Matrix = typedef DenseMatrix<T>

◆ NodesContainerType

◆ NodeType

◆ PropertiesContainerType

◆ PropertiesType

◆ Vector

template<class T >
using Kratos::HDF5::Vector = typedef DenseVector<T>

Function Documentation

◆ AssignControllerToProcess()

def core.AssignControllerToProcess (   settings,
  controller,
  process 
)

◆ CreateController()

controllers.Controller core.CreateController ( KratosMultiphysics.Parameters  parameters,
KratosMultiphysics.Model  model,
operations.AggregateOperation  operation 
)

◆ Factory() [1/3]

Controller core.controllers.Factory ( KratosMultiphysics.ModelPart  model_part,
operations.AggregateOperation  operation,
KratosMultiphysics.Parameters  parameters 
)

Return the controller specified by the setting 'controller_type'.

@detail Empty settings will contain default values after returning from the function call.

◆ Factory() [2/3]

typing.Union[KratosMultiphysics.Process, KratosMultiphysics.OutputProcess] core.Factory ( ParametersWrapper  settings,
KratosMultiphysics.Model  model,
type  process_base 
)

Return an HDF5 IO process specified by json settings.

◆ Factory() [3/3]

KratosMultiphysics.Process core.processes.Factory ( type  process_type)

Return a regular or output ordered process depending on the input type.

Parameters
process_typeProcess or OutputProcess
Returns
an OrdereOperationProcess or an OrderedOutputOperationProcess depending on the input argument

◆ HasPartitionTable()

bool Kratos::HDF5::HasPartitionTable ( File rFile,
std::string const &  rPath 
)

◆ ReadAndAssignBufferSize()

void Kratos::HDF5::Internals::ReadAndAssignBufferSize ( File rFile,
std::string const &  rPrefix,
ModelPart rModelPart 
)

◆ ReadAndAssignVariablesList()

void Kratos::HDF5::Internals::ReadAndAssignVariablesList ( File rFile,
std::string const &  rPrefix,
ModelPart rModelPart 
)

◆ ReadDataValueContainer()

void Kratos::HDF5::Internals::ReadDataValueContainer ( File rFile,
std::string const &  rPrefix,
DataValueContainer rData 
)

◆ ReadProperties()

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

◆ StartIndexAndBlockSize()

std::tuple< unsigned, unsigned > Kratos::HDF5::StartIndexAndBlockSize ( File rFile,
std::string const &  rPath 
)

◆ WriteBufferSize()

void Kratos::HDF5::Internals::WriteBufferSize ( File rFile,
std::string const &  rPrefix,
int  BufferSize 
)

◆ WriteDataValueContainer()

void Kratos::HDF5::Internals::WriteDataValueContainer ( File rFile,
std::string const &  rPrefix,
DataValueContainer const &  rData 
)

◆ WritePartitionTable()

void Kratos::HDF5::WritePartitionTable ( File rFile,
std::string const &  rPath,
WriteInfo const &  rInfo 
)

Write the start and end indices of data blocks (by process rank).

Performs collective write.

Parameters
[in]rInfoInformation returned by file after writing a data set.

◆ WritePartitionTableIndependent()

void Kratos::HDF5::WritePartitionTableIndependent ( File rFile,
std::string const &  rPath,
Vector< int > const &  rPartition 
)

Write a user-defined partition table of start and end indices (by process rank).

Performs independent write.

◆ WriteProperties() [1/2]

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

◆ WriteProperties() [2/2]

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

◆ WriteVariablesList()

void Kratos::HDF5::Internals::WriteVariablesList ( File rFile,
std::string const &  rPrefix,
ModelPart const &  rModelPart 
)