13 #if !defined(KRATOS_CO_SIM_IO_CONVERSION_UTILITIES_H_INCLUDED )
14 #define KRATOS_CO_SIM_IO_CONVERSION_UTILITIES_H_INCLUDED
19 #include "custom_external_libraries/CoSimIO/co_sim_io/includes/model_part.hpp"
20 #include "custom_external_libraries/CoSimIO/co_sim_io/includes/info.hpp"
67 static void CoSimIOModelPartToKratosModelPart(
72 static void KratosModelPartToCoSimIOModelPart(
76 template<
typename TDataType>
79 std::vector<double>& rData,
83 template<
typename TDataType>
86 const std::vector<double>& rData,
std::string Info() const override
Turn back information as a string.
Definition: periodic_interface_process.hpp:93
Short class definition.
Definition: co_sim_io_conversion_utilities.h:40
CoSimIOConversionUtilities & operator=(CoSimIOConversionUtilities const &rOther)=delete
Assignment operator.
CoSimIOConversionUtilities()=delete
Default constructor.
KRATOS_CLASS_POINTER_DEFINITION(CoSimIOConversionUtilities)
Pointer definition of CoSimIOConversionUtilities.
static void SetData(Kratos::ModelPart &rModelPart, const std::vector< double > &rData, const Variable< TDataType > &rVariable, const DataLocation DataLoc)
static void GetData(Kratos::ModelPart &rModelPart, std::vector< double > &rData, const Variable< TDataType > &rVariable, const DataLocation DataLoc)
CoSimIOConversionUtilities(CoSimIOConversionUtilities const &rOther)=delete
Copy constructor.
Serial (do-nothing) version of a wrapper class for MPI communication.
Definition: data_communicator.h:318
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
This class provides to Kratos a data structure for I/O based on the standard of JSON.
Definition: kratos_parameters.h:59
Variable class contains all information needed to store and retrive data from a data container.
Definition: variable.h:63
Kratos::ModelPart ModelPart
Definition: kratos_wrapper.h:31
DataLocation
Enum for location of data.
Definition: global_variables.h:48
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21