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.h File Reference
#include <string>
#include "includes/kratos_export_api.h"
Include dependency graph for kratos_version.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

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

Macros

#define KRATOS_MAJOR_VERSION   9
 
#define KRATOS_MINOR_VERSION   0
 
#define KRATOS_VERSION_EQ(MAJOR, MINOR)   ((KRATOS_MAJOR_VERSION == (MAJOR)) && (KRATOS_MINOR_VERSION == (MINOR)))
 
#define KRATOS_VERSION_   KRATOS_VERSION_EQ
 
#define KRATOS_VERSION_LT(MAJOR, MINOR)
 
#define KRATOS_VERSION_LE(MAJOR, MINOR)    (KRATOS_VERSION_LT(MAJOR,MINOR) || KRATOS_VERSION_EQ(MAJOR,MINOR))
 
#define KRATOS_VERSION_GT(MAJOR, MINOR)   (0 == KRATOS_VERSION_LE(MAJOR,MINOR))
 
#define KRATOS_VERSION_GE(MAJOR, MINOR)   (0 == KRATOS_VERSION_LT(MAJOR,MINOR))
 

Functions

constexpr int Kratos::GetMajorVersion ()
 
constexpr int Kratos::GetMinorVersion ()
 
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_MAJOR_VERSION

#define KRATOS_MAJOR_VERSION   9

◆ KRATOS_MINOR_VERSION

#define KRATOS_MINOR_VERSION   0

◆ KRATOS_VERSION_

#define KRATOS_VERSION_   KRATOS_VERSION_EQ

◆ KRATOS_VERSION_EQ

#define KRATOS_VERSION_EQ (   MAJOR,
  MINOR 
)    ((KRATOS_MAJOR_VERSION == (MAJOR)) && (KRATOS_MINOR_VERSION == (MINOR)))

◆ KRATOS_VERSION_GE

#define KRATOS_VERSION_GE (   MAJOR,
  MINOR 
)    (0 == KRATOS_VERSION_LT(MAJOR,MINOR))

◆ KRATOS_VERSION_GT

#define KRATOS_VERSION_GT (   MAJOR,
  MINOR 
)    (0 == KRATOS_VERSION_LE(MAJOR,MINOR))

◆ KRATOS_VERSION_LE

#define KRATOS_VERSION_LE (   MAJOR,
  MINOR 
)     (KRATOS_VERSION_LT(MAJOR,MINOR) || KRATOS_VERSION_EQ(MAJOR,MINOR))

◆ KRATOS_VERSION_LT

#define KRATOS_VERSION_LT (   MAJOR,
  MINOR 
)
Value:
(KRATOS_MAJOR_VERSION < (MAJOR) || (KRATOS_MAJOR_VERSION == (MAJOR) && \
(KRATOS_MINOR_VERSION < (MINOR) )))
#define KRATOS_MAJOR_VERSION
Definition: kratos_version.h:27
#define KRATOS_MINOR_VERSION
Definition: kratos_version.h:31