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 | Macros | Functions
kratos_version.cpp File Reference
#include <string>
#include "includes/kratos_version.h"
Include dependency graph for kratos_version.cpp:

Namespaces

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

Macros

#define KRATOS_PATCH_VERSION   "0"
 
#define KRATOS_SHA1_NUMBER   "0"
 
#define KRATOS_BRANCH_NAME   ""
 
#define KRATOS_BUILD_TYPE   "Release"
 
#define KRATOS_ARCH_TYPE   "Unknown architecture"
 
#define KRATOS_TO_STRING_(X)   #X
 
#define KRATOS_TO_STRING(X)   KRATOS_TO_STRING_(X)
 
#define KRATOS_VERSION_STRING
 
#define KRATOS_OS_NAME   "Unknown OS"
 
#define KRATOS_COMPILER_LABEL   "Unknown compiler"
 

Functions

KRATOS_API_EXPORT std::string Kratos::GetPatchVersion ()
 
KRATOS_API_EXPORT std::string Kratos::GetCommit ()
 
KRATOS_API_EXPORT std::string Kratos::GetBranchName ()
 
KRATOS_API_EXPORT std::string Kratos::GetBuildType ()
 
KRATOS_API_EXPORT std::string Kratos::GetVersionString ()
 
KRATOS_API_EXPORT std::string Kratos::GetOSName ()
 
KRATOS_API_EXPORT std::string Kratos::GetCompiler ()
 

Macro Definition Documentation

◆ KRATOS_ARCH_TYPE

#define KRATOS_ARCH_TYPE   "Unknown architecture"

◆ KRATOS_BRANCH_NAME

#define KRATOS_BRANCH_NAME   ""

◆ KRATOS_BUILD_TYPE

#define KRATOS_BUILD_TYPE   "Release"

◆ KRATOS_COMPILER_LABEL

#define KRATOS_COMPILER_LABEL   "Unknown compiler"

◆ KRATOS_OS_NAME

#define KRATOS_OS_NAME   "Unknown OS"

◆ KRATOS_PATCH_VERSION

#define KRATOS_PATCH_VERSION   "0"

◆ KRATOS_SHA1_NUMBER

#define KRATOS_SHA1_NUMBER   "0"

◆ KRATOS_TO_STRING

#define KRATOS_TO_STRING (   X)    KRATOS_TO_STRING_(X)

◆ KRATOS_TO_STRING_

#define KRATOS_TO_STRING_ (   X)    #X

◆ KRATOS_VERSION_STRING

#define KRATOS_VERSION_STRING
Value:
KRATOS_TO_STRING(KRATOS_MINOR_VERSION) "." \
KRATOS_TO_STRING(KRATOS_PATCH_VERSION) "-" \
KRATOS_BRANCH_NAME "-" \
KRATOS_SHA1_NUMBER "-" \
KRATOS_BUILD_TYPE "-" \
KRATOS_ARCH_TYPE
#define KRATOS_TO_STRING(X)
Definition: kratos_version.cpp:61
#define KRATOS_PATCH_VERSION
Definition: kratos_version.cpp:25
#define KRATOS_MAJOR_VERSION
Definition: kratos_version.h:27
#define KRATOS_MINOR_VERSION
Definition: kratos_version.h:31