OGS 6.2.2-330-gf48c72f61.dirty.20200225212913
VariableType.h File Reference

Detailed Description

Author
Norbert Grunwald
Date
Sep 7, 2017

Definition in file VariableType.h.

#include <Eigen/Dense>
#include <array>
#include <variant>
Include dependency graph for VariableType.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 MaterialPropertyLib
 

Typedefs

using MaterialPropertyLib::Pair = std::array< double, 2 >
 
using MaterialPropertyLib::Vector = std::array< double, 3 >
 
using MaterialPropertyLib::SymmTensor = std::array< double, 6 >
 
using MaterialPropertyLib::Tensor2d = std::array< double, 4 >
 Very simple 2d tensor data type for holding tensor components. More...
 
using MaterialPropertyLib::Tensor = std::array< double, 9 >
 
using MaterialPropertyLib::VariableType = std::variant< double, Vector, Eigen::Matrix< double, 4, 1 >, Eigen::Matrix< double, 6, 1 > >
 
using MaterialPropertyLib::VariableArray = std::array< VariableType, static_cast< int >(Variable::number_of_variables)>
 

Enumerations

enum  MaterialPropertyLib::Variable : int {
  MaterialPropertyLib::Variable::concentration, MaterialPropertyLib::Variable::phase_pressure, MaterialPropertyLib::Variable::phase_pressure_rate, MaterialPropertyLib::Variable::capillary_pressure,
  MaterialPropertyLib::Variable::density, MaterialPropertyLib::Variable::temperature, MaterialPropertyLib::Variable::liquid_saturation, MaterialPropertyLib::Variable::porosity,
  MaterialPropertyLib::Variable::displacement, MaterialPropertyLib::Variable::strain, MaterialPropertyLib::Variable::volumetric_strain_rate, MaterialPropertyLib::Variable::number_of_variables
}
 

Functions

Variable MaterialPropertyLib::convertStringToVariable (std::string const &input)