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.
Namespaces | Functions
add_custom_io_to_python.cpp File Reference
#include <unordered_map>
#include "includes/model_part.h"
#include "custom_python/add_custom_io_to_python.h"
#include "custom_io/co_sim_EMPIRE_API.h"
Include dependency graph for add_custom_io_to_python.cpp:

Namespaces

 Kratos
 REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
 
 Kratos::Python
 
 Kratos::Python::EMPIRE_API_Wrappers
 

Functions

template<bool TIsDataField>
void Kratos::Python::EMPIRE_API_Wrappers::SendArray (const std::string &rName, const int sizeOfArray, const std::vector< double > &signal)
 
template<bool TIsDataField>
void Kratos::Python::EMPIRE_API_Wrappers::ReceiveArray (const std::string &rName, const int sizeOfArray, pybind11::list signal)
 
void Kratos::Python::EMPIRE_API_Wrappers::sendDataField_scalar (const ModelPart &rModelPart, const std::string &rName, const Variable< double > &rVariable)
 
void Kratos::Python::EMPIRE_API_Wrappers::sendDataField_scalar_DefaultName (ModelPart &rModelPart, const Variable< double > &rVariable)
 
void Kratos::Python::EMPIRE_API_Wrappers::recvDataField_scalar (ModelPart &rModelPart, const std::string rName, const Variable< double > &rVariable)
 
void Kratos::Python::EMPIRE_API_Wrappers::recvDataField_scalar_DefaultName (ModelPart &rModelPart, const Variable< double > &rVariable)
 
void Kratos::Python::EMPIRE_API_Wrappers::sendDataField_vector (const ModelPart &rModelPart, const std::string &rName, const Variable< array_1d< double, 3 > > &rVariable)
 
void Kratos::Python::EMPIRE_API_Wrappers::sendDataField_vector_DefaultName (ModelPart &rModelPart, const Variable< array_1d< double, 3 > > &rVariable)
 
void Kratos::Python::EMPIRE_API_Wrappers::recvDataField_vector (ModelPart &rModelPart, const std::string &rName, const Variable< array_1d< double, 3 > > &rVariable)
 
void Kratos::Python::EMPIRE_API_Wrappers::recvDataField_vector_DefaultName (ModelPart &rModelPart, const Variable< array_1d< double, 3 > > &rVariable)
 
void Kratos::Python::EMPIRE_API_Wrappers::sendDataField_doubleVector (const ModelPart &rModelPart, const std::string &rName, const Variable< array_1d< double, 3 > > &rVariable1, const Variable< array_1d< double, 3 > > &rVariable2)
 
void Kratos::Python::EMPIRE_API_Wrappers::sendDataField_doubleVector_DefaultName (ModelPart &rModelPart, const Variable< array_1d< double, 3 > > &rVariable1, const Variable< array_1d< double, 3 > > &rVariable2)
 
void Kratos::Python::EMPIRE_API_Wrappers::recvDataField_doubleVector (ModelPart &rModelPart, const std::string &rName, const Variable< array_1d< double, 3 > > &rVariable1, const Variable< array_1d< double, 3 > > &rVariable2)
 
void Kratos::Python::EMPIRE_API_Wrappers::recvDataField_doubleVector_DefaultName (ModelPart &rModelPart, const Variable< array_1d< double, 3 > > &rVariable1, const Variable< array_1d< double, 3 > > &rVariable2)
 
void Kratos::Python::EMPIRE_API_Wrappers::sendMesh (const ModelPart &rModelPart, const std::string &rName, const bool UseConditions)
 
void Kratos::Python::EMPIRE_API_Wrappers::sendMesh_DefaultName (ModelPart &rModelPart, const bool UseConditions)
 
template<typename TDouble , typename TInt >
static void Kratos::Python::EMPIRE_API_Wrappers::createModelPartFromReceivedMesh (const int numNodes, const int numElems, const TDouble *nodes, const TInt *nodeIDs, const TInt *numNodesPerElem, const TInt *elem, ModelPart &rModelPart, const bool UseConditions)
 
void Kratos::Python::EMPIRE_API_Wrappers::recvMesh (ModelPart &rModelPart, const std::string &rName, const bool UseConditions, const bool UseRawPointers)
 
void Kratos::Python::EMPIRE_API_Wrappers::recvMesh_DefaultName (ModelPart &rModelPart, const bool UseConditions, const bool UseRawPointers)
 
void Kratos::Python::EMPIRE_API_Wrappers::SetEchoLevel (const int EchoLevel)
 
void Kratos::Python::EMPIRE_API_Wrappers::SetPrintTiming (const bool PrintTiming)
 
void Kratos::Python::AddCustomIOToPython (pybind11::module &m)