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.
|
Go to the source code of this file.
Namespaces | |
Kratos | |
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES. | |
StringUtilities | |
This namespace includes several utilities necessaries for computing string operations. | |
Kratos::StringUtilities | |
Functions | |
std::string | Kratos::StringUtilities::ConvertCamelCaseToSnakeCase (const std::string &rString) |
This method converts CamelCase to snake_case. More... | |
std::string | Kratos::StringUtilities::ConvertSnakeCaseToCamelCase (const std::string &rString) |
Convert snake_case to CamelCase. More... | |
std::string | Kratos::StringUtilities::ErasePartialString (const std::string &rMainString, const std::string &rToErase) |
Erase first occurrence of given substring from main string. More... | |
bool | Kratos::StringUtilities::ContainsPartialString (const std::string &rMainString, const std::string &rToCheck) |
Checks the existence of a substring from main string. More... | |
std::string | Kratos::StringUtilities::RemoveWhiteSpaces (const std::string &rString) |
This method removes whitespaces. More... | |
std::vector< std::string > | Kratos::StringUtilities::SplitStringByDelimiter (const std::string &rString, const char Delimiter) |
This method splits a string by a delimiter. More... | |
std::string | Kratos::StringUtilities::ReplaceAllSubstrings (const std::string &rInputString, const std::string &rStringToBeReplaced, const std::string &rStringToReplace) |
This function replaces from a string all times a certain substring is repeated. More... | |
template<class TClass > | |
static void | Kratos::StringUtilities::PrintDataWithIdentation (std::ostream &rOStream, const TClass &rThisClass, const std::string Identation="\t") |
Prints the data of an object of type TClass to the given output stream with indentation. More... | |