26 #ifndef KRATOS_MAJOR_VERSION
27 #define KRATOS_MAJOR_VERSION 9
30 #ifndef KRATOS_MINOR_VERSION
31 #define KRATOS_MINOR_VERSION 0
34 #define KRATOS_VERSION_EQ(MAJOR,MINOR) \
35 ((KRATOS_MAJOR_VERSION == (MAJOR)) && (KRATOS_MINOR_VERSION == (MINOR)))
37 #define KRATOS_VERSION_ KRATOS_VERSION_EQ
39 #define KRATOS_VERSION_LT(MAJOR,MINOR) \
40 (KRATOS_MAJOR_VERSION < (MAJOR) || (KRATOS_MAJOR_VERSION == (MAJOR) && \
41 (KRATOS_MINOR_VERSION < (MINOR) )))
43 #define KRATOS_VERSION_LE(MAJOR,MINOR) \
44 (KRATOS_VERSION_LT(MAJOR,MINOR) || KRATOS_VERSION_EQ(MAJOR,MINOR))
46 #define KRATOS_VERSION_GT(MAJOR,MINOR) (0 == KRATOS_VERSION_LE(MAJOR,MINOR))
48 #define KRATOS_VERSION_GE(MAJOR,MINOR) (0 == KRATOS_VERSION_LT(MAJOR,MINOR))
#define KRATOS_API_EXPORT
Definition: kratos_export_api.h:27
#define KRATOS_MAJOR_VERSION
Definition: kratos_version.h:27
#define KRATOS_MINOR_VERSION
Definition: kratos_version.h:31
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
KRATOS_API_EXPORT std::string GetBranchName()
Definition: kratos_version.cpp:114
KRATOS_API_EXPORT std::string GetCompiler()
Definition: kratos_version.cpp:130
KRATOS_API_EXPORT std::string GetPatchVersion()
Definition: kratos_version.cpp:106
constexpr int GetMajorVersion()
Definition: kratos_version.h:50
KRATOS_API_EXPORT std::string GetVersionString()
Definition: kratos_version.cpp:122
KRATOS_API_EXPORT std::string GetBuildType()
Definition: kratos_version.cpp:118
constexpr int GetMinorVersion()
Definition: kratos_version.h:54
KRATOS_API_EXPORT std::string GetCommit()
Definition: kratos_version.cpp:110
KRATOS_API_EXPORT std::string GetOSName()
Definition: kratos_version.cpp:126