13#include <boost/algorithm/string/predicate.hpp>
21 return std::holds_alternative<std::monostate>(arg) ||
22 std::holds_alternative<Eigen::Matrix<double, Rows, 1>>(arg);
38 "The variable name '{:s}' does not correspond to any known variable",
101 "No conversion to VariableType is provided for variable "
103 static_cast<int>(v));
112 {
return const_cast<T*
>(ptr); },
static bool maybeHasSize(const auto &arg)
Returns true if the argument is uninitialized or has Rows number of rows.
KelvinVector mechanical_strain
DeformationGradient deformation_gradient
std::variant< Scalar *, KelvinVector *, DeformationGradient * > VariablePointer
KelvinVector total_stress
double solid_grain_pressure
double transport_porosity
double grain_compressibility
double molar_mass_derivative
KelvinVector total_strain
std:: variant< Scalar const *, KelvinVector const *, DeformationGradient const * > VariablePointerConst
double gas_phase_pressure
double effective_pore_pressure
double equivalent_plastic_strain
double capillary_pressure
VariablePointerConst address_of(Variable const v) const
double enthalpy_of_evaporation
double liquid_phase_pressure
static VariableArray::VariablePointer dropConst(VariableArray::VariablePointerConst const const_pointer)
@ enthalpy_of_evaporation
@ equivalent_plastic_strain
@ effective_pore_pressure
static const std::array< std::string, static_cast< int >(Variable::number_of_variables)> variable_enum_to_string
Variable convertStringToVariable(std::string const &string)