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.
|
#include <iostream>
#include <sstream>
#include <iomanip>
#include <fstream>
#include <stdexcept>
#include <chrono>
#include <thread>
#include <unordered_map>
#include <vector>
Go to the source code of this file.
Namespaces | |
EMPIRE_API_helpers | |
Macros | |
#define | EMPIRE_API_LOG(level) if(EMPIRE_API_helpers::EchoLevel>=level) std::cout << "[EMPIRE_API] " |
Functions | |
static double | EMPIRE_API_helpers::ElapsedSeconds (const std::chrono::steady_clock::time_point &rStartTime) |
static bool | EMPIRE_API_helpers::FileExists (const std::string &rFileName) |
static std::string | EMPIRE_API_helpers::GetTempFileName (const std::string &rFileName) |
static std::string | EMPIRE_API_helpers::GetFullPath (const std::string &rFileName) |
static void | EMPIRE_API_helpers::WaitForFile (const std::string &rFileName) |
static void | EMPIRE_API_helpers::RemoveFile (const std::string &rFileName) |
static void | EMPIRE_API_helpers::MakeFileVisible (const std::string &rFinalFileName) |
template<typename T > | |
static void | EMPIRE_API_helpers::CheckStream (const T &rStream, const std::string &rFileName) |
static void | EMPIRE_API_helpers::SendArray (const std::string &rFileName, const int sizeOfArray, const double *data) |
static void | EMPIRE_API_helpers::ReceiveArray (const std::string &rFileName, const int sizeOfArray, double *data) |
static int | EMPIRE_API_helpers::GetVtkCellType (const int NumberOfNodes) |
static bool | EMPIRE_API_helpers::StringEndsWith (const std::string &rString, const std::string &rSuffix) |
static void | EMPIRE_API_helpers::ReadNumberAfterKeyword (const std::string &rKeyWord, const std::string &rCurrentLine, int &rNumber) |
template<typename TDataType > | |
static void | EMPIRE_API_helpers::AllocateMemory (TDataType **ppContainer, const std::size_t Size) |
template<typename TDataType > | |
static void | EMPIRE_API_helpers::AllocateMemory (std::vector< TDataType > *pContainer, const std::size_t Size) |
static void | EMPIRE_API_Connect (const char *inputFileName) |
static char * | EMPIRE_API_getUserDefinedText (char *elementName) |
static void | EMPIRE_API_sendMesh (const char *name, const int numNodes, const int numElems, const double *nodes, const int *nodeIDs, const int *numNodesPerElem, const int *elems) |
template<typename TDouble , typename TInt > | |
static void | EMPIRE_API_recvMesh (const char *name, int *numNodes, int *numElems, TDouble *nodes, TInt *nodeIDs, TInt *numNodesPerElem, TInt *elem) |
static void | EMPIRE_API_sendDataField (const char *name, const int sizeOfArray, const double *dataField) |
static void | EMPIRE_API_recvDataField (const char *name, const int sizeOfArray, double *dataField) |
static void | EMPIRE_API_sendSignal_double (const char *name, const int sizeOfArray, const double *signal) |
static void | EMPIRE_API_recvSignal_double (const char *name, const int sizeOfArray, double *signal) |
static int | EMPIRE_API_recvConvergenceSignal (const std::string &rFileNameExtension="default") |
static void | EMPIRE_API_sendConvergenceSignal (const int signal, const std::string &rFileNameExtension="default") |
static void | EMPIRE_API_Disconnect () |
Variables | |
static const std::string | EMPIRE_API_helpers::CommDir = ".EmpireIO" |
static int | EMPIRE_API_helpers::PrintTiming = 0 |
static int | EMPIRE_API_helpers::EchoLevel = 1 |
const auto | _alias_EMPIRE_API_Connect = EMPIRE_API_Connect |
const auto | _alias_EMPIRE_API_Disconnect = EMPIRE_API_Disconnect |
const auto | _alias_EMPIRE_API_getUserDefinedText = EMPIRE_API_getUserDefinedText |
const auto | _alias_EMPIRE_API_sendMesh = EMPIRE_API_sendMesh |
const auto | _alias_EMPIRE_API_sendDataField = EMPIRE_API_sendDataField |
const auto | _alias_EMPIRE_API_recvDataField = EMPIRE_API_recvDataField |
const auto | _alias_EMPIRE_API_sendSignal_double = EMPIRE_API_sendSignal_double |
const auto | _alias_EMPIRE_API_recvSignal_double = EMPIRE_API_recvSignal_double |
const auto | _alias_EMPIRE_API_EMPIRE_API_sendConvergenceSignal = EMPIRE_API_sendConvergenceSignal |
const auto | _alias_EMPIRE_API_EMPIRE_API_recvConvergenceSignal = EMPIRE_API_recvConvergenceSignal |
#define EMPIRE_API_LOG | ( | level | ) | if(EMPIRE_API_helpers::EchoLevel>=level) std::cout << "[EMPIRE_API] " |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
const auto _alias_EMPIRE_API_Connect = EMPIRE_API_Connect |
const auto _alias_EMPIRE_API_Disconnect = EMPIRE_API_Disconnect |
const auto _alias_EMPIRE_API_EMPIRE_API_recvConvergenceSignal = EMPIRE_API_recvConvergenceSignal |
const auto _alias_EMPIRE_API_EMPIRE_API_sendConvergenceSignal = EMPIRE_API_sendConvergenceSignal |
const auto _alias_EMPIRE_API_getUserDefinedText = EMPIRE_API_getUserDefinedText |
const auto _alias_EMPIRE_API_recvDataField = EMPIRE_API_recvDataField |
const auto _alias_EMPIRE_API_recvSignal_double = EMPIRE_API_recvSignal_double |
const auto _alias_EMPIRE_API_sendDataField = EMPIRE_API_sendDataField |
const auto _alias_EMPIRE_API_sendMesh = EMPIRE_API_sendMesh |
const auto _alias_EMPIRE_API_sendSignal_double = EMPIRE_API_sendSignal_double |