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.
Classes | Namespaces | Macros
dof.h File Reference
#include <string>
#include <iostream>
#include <sstream>
#include <cstddef>
#include "includes/define.h"
#include "containers/data_value_container.h"
#include "containers/nodal_data.h"
Include dependency graph for dof.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Kratos::DofTrait< TDataType, TVariableType >
 
class  Kratos::Dof< TDataType >
 Dof represents a degree of freedom (DoF). More...
 

Namespaces

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

Macros

#define KRATOS_DOF_TRAITS    KRATOS_MAKE_DOF_TRAIT(0) Variable<TDataType> KRATOS_END_DOF_TRAIT(0);
 
Private Operators
#define KRATOS_MAKE_DOF_TRAIT(id)
 
#define KRATOS_END_DOF_TRAIT(id)
 
#define KRATOS_MAKE_DOF_TRAIT(id)
 
#define KRATOS_END_DOF_TRAIT(id)    const&>(ThisVariable), SolutionStepIndex);
 

Functions

Input and output
template<class TDataType >
std::istream & Kratos::operator>> (std::istream &rIStream, Dof< TDataType > &rThis)
 input stream function More...
 
template<class TDataType >
std::ostream & Kratos::operator<< (std::ostream &rOStream, const Dof< TDataType > &rThis)
 output stream function More...
 
Operations
template<class TDataType >
bool Kratos::operator> (Dof< TDataType > const &First, Dof< TDataType > const &Second)
 Greater than operator. More...
 
template<class TDataType >
bool Kratos::operator< (Dof< TDataType > const &First, Dof< TDataType > const &Second)
 Less than operator. More...
 
template<class TDataType >
bool Kratos::operator>= (Dof< TDataType > const &First, Dof< TDataType > const &Second)
 Greater equal operator. More...
 
template<class TDataType >
bool Kratos::operator<= (Dof< TDataType > const &First, Dof< TDataType > const &Second)
 Less equal operator. More...
 
template<class TDataType >
bool Kratos::operator== (Dof< TDataType > const &First, Dof< TDataType > const &Second)
 Equal operator. More...
 

Macro Definition Documentation

◆ KRATOS_DOF_TRAITS

#define KRATOS_DOF_TRAITS    KRATOS_MAKE_DOF_TRAIT(0) Variable<TDataType> KRATOS_END_DOF_TRAIT(0);

◆ KRATOS_END_DOF_TRAIT [1/2]

#define KRATOS_END_DOF_TRAIT (   id)
Value:
>{\
static const int Id = id;\
}

◆ KRATOS_END_DOF_TRAIT [2/2]

#define KRATOS_END_DOF_TRAIT (   id)     const&>(ThisVariable), SolutionStepIndex);

◆ KRATOS_MAKE_DOF_TRAIT [1/2]

#define KRATOS_MAKE_DOF_TRAIT (   id)
Value:
template<class TDataType> \
struct DofTrait<TDataType,

◆ KRATOS_MAKE_DOF_TRAIT [2/2]

#define KRATOS_MAKE_DOF_TRAIT (   id)
Value:
case id : \
return rData.GetValue(static_cast<