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
kratos_parameters.cpp File Reference
#include <stack>
#include <algorithm>
#include "json/json.hpp"
#include "includes/kratos_parameters.h"
#include "includes/define.h"
#include "includes/kratos_filesystem.h"
#include "input_output/logger.h"
Include dependency graph for kratos_parameters.cpp:

Namespaces

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

Macros

#define KRATOS_DEFINE_PARAMETERS_VALUE_ACCESSORS(TYPE, TYPE_NAME)
 

Macro Definition Documentation

◆ KRATOS_DEFINE_PARAMETERS_VALUE_ACCESSORS

#define KRATOS_DEFINE_PARAMETERS_VALUE_ACCESSORS (   TYPE,
  TYPE_NAME 
)
Value:
template <> bool Parameters::Is<TYPE>() const {return this->Is ## TYPE_NAME();} \
template <> TYPE Parameters::Get<TYPE>() const {return this->Get ## TYPE_NAME();} \
template <> void Parameters::Set<TYPE>(const TYPE& rValue) {this->Set ## TYPE_NAME(rValue);}