OGS
ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices Class Reference

Detailed Description

template<typename ShapeFunctionDisplacement, typename ShapeFunction, int DisplacementDim, typename ConstitutiveTraits>
class ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices

Definition at line 87 of file ThermoRichardsMechanicsFEM.h.

#include <ThermoRichardsMechanicsFEM.h>

Public Member Functions

void setZero ()
LocalMatricesoperator+= (LocalMatrices const &other)
LocalMatricesoperator*= (double const a)

Public Attributes

NodalMatrix M_TT
NodalMatrix M_Tp
NodalMatrix K_TT
NodalMatrix K_Tp
NodalMatrix dK_TT_dp
Mat< pressure_size, displacement_sizeM_pu
NodalMatrix M_pT
NodalMatrix K_pp
NodalMatrix K_pT
NodalMatrix storage_p_a_p
NodalMatrix storage_p_a_S_Jpp
NodalMatrix storage_p_a_S
Mat< local_matrix_dim, local_matrix_dimJac
Vec res

Private Types

using NodalMatrix = typename ShapeMatricesType::NodalMatrixType
template<Eigen::Index rows, Eigen::Index cols>
using Mat
using Vec

Static Private Attributes

static auto constexpr local_matrix_dim

Friends

template<typename OStream>
OStream & operator<< (OStream &os, LocalMatrices const &loc_mat)

Member Typedef Documentation

◆ Mat

template<typename ShapeFunctionDisplacement, typename ShapeFunction, int DisplacementDim, typename ConstitutiveTraits>
template<Eigen::Index rows, Eigen::Index cols>
using ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::Mat
private
Initial value:
typename ShapeMatricesTypeDisplacement::template MatrixType<rows,
cols>

Definition at line 95 of file ThermoRichardsMechanicsFEM.h.

◆ NodalMatrix

template<typename ShapeFunctionDisplacement, typename ShapeFunction, int DisplacementDim, typename ConstitutiveTraits>
using ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::NodalMatrix = typename ShapeMatricesType::NodalMatrixType
private

Definition at line 89 of file ThermoRichardsMechanicsFEM.h.

◆ Vec

template<typename ShapeFunctionDisplacement, typename ShapeFunction, int DisplacementDim, typename ConstitutiveTraits>
using ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::Vec
private
Initial value:
typename ShapeMatricesTypeDisplacement::template VectorType<

Definition at line 98 of file ThermoRichardsMechanicsFEM.h.

Member Function Documentation

◆ operator*=()

template<typename ShapeFunctionDisplacement, typename ShapeFunction, int DisplacementDim, typename ConstitutiveTraits>
LocalMatrices & ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::operator*= ( double const a)
inline

Definition at line 152 of file ThermoRichardsMechanicsFEM.h.

153 {
154 M_TT *= a;
155 M_Tp *= a;
156 K_TT *= a;
157 K_Tp *= a;
158 dK_TT_dp *= a;
159
160 M_pu *= a;
161
162 M_pT *= a;
163
164 K_pp *= a;
165 K_pT *= a;
166
167 storage_p_a_p *= a;
169 storage_p_a_S *= a;
170
171 Jac *= a;
172 res *= a;
173
174 return *this;
175 }

References dK_TT_dp, Jac, K_pp, K_pT, K_Tp, K_TT, M_pT, M_pu, M_Tp, M_TT, res, storage_p_a_p, storage_p_a_S, and storage_p_a_S_Jpp.

◆ operator+=()

template<typename ShapeFunctionDisplacement, typename ShapeFunction, int DisplacementDim, typename ConstitutiveTraits>
LocalMatrices & ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::operator+= ( LocalMatrices const & other)
inline

Definition at line 127 of file ThermoRichardsMechanicsFEM.h.

128 {
129 M_TT += other.M_TT;
130 M_Tp += other.M_Tp;
131 K_TT += other.K_TT;
132 K_Tp += other.K_Tp;
133 dK_TT_dp += other.dK_TT_dp;
134
135 M_pu += other.M_pu;
136
137 M_pT += other.M_pT;
138
139 K_pp += other.K_pp;
140 K_pT += other.K_pT;
141
142 storage_p_a_p += other.storage_p_a_p;
143 storage_p_a_S_Jpp += other.storage_p_a_S_Jpp;
144 storage_p_a_S += other.storage_p_a_S;
145
146 Jac += other.Jac;
147 res += other.res;
148
149 return *this;
150 }

References dK_TT_dp, Jac, K_pp, K_pT, K_Tp, K_TT, M_pT, M_pu, M_Tp, M_TT, res, storage_p_a_p, storage_p_a_S, and storage_p_a_S_Jpp.

◆ setZero()

template<typename ShapeFunctionDisplacement, typename ShapeFunction, int DisplacementDim, typename ConstitutiveTraits>
void ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::setZero ( )
inline

Definition at line 102 of file ThermoRichardsMechanicsFEM.h.

References ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::displacement_size, dK_TT_dp, Jac, K_pp, K_pT, K_Tp, K_TT, local_matrix_dim, M_pT, M_pu, M_Tp, M_TT, ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::pressure_size, res, storage_p_a_p, storage_p_a_S, storage_p_a_S_Jpp, and ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::temperature_size.

Referenced by ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::assembleWithJacobian().

◆ operator<<

template<typename ShapeFunctionDisplacement, typename ShapeFunction, int DisplacementDim, typename ConstitutiveTraits>
template<typename OStream>
OStream & operator<< ( OStream & os,
LocalMatrices const & loc_mat )
friend

Definition at line 178 of file ThermoRichardsMechanicsFEM.h.

179 {
180 os << "- M_TT:\n"
181 << loc_mat.M_TT //
182 << "\n- M_Tp:\n"
183 << loc_mat.M_Tp //
184 << "\n- K_TT:\n"
185 << loc_mat.K_TT //
186 << "\n- K_Tp:\n"
187 << loc_mat.K_Tp //
188 << "\n- dK_TT_dp:\n"
189 << loc_mat.dK_TT_dp //
190 << "\n- M_pu:\n"
191 << loc_mat.M_pu //
192 << "\n- M_pT:\n"
193 << loc_mat.M_pT //
194 << "\n- K_pp:\n"
195 << loc_mat.K_pp //
196 << "\n- K_pT:\n"
197 << loc_mat.K_pT //
198 << "\n- storage_p_a_p:\n"
199 << loc_mat.storage_p_a_p //
200 << "\n- storage_p_a_S_Jpp:\n"
201 << loc_mat.storage_p_a_S_Jpp //
202 << "\n- storage_p_a_S:\n"
203 << loc_mat.storage_p_a_S //
204 << "\n- Jac:\n"
205 << loc_mat.Jac //
206 << "\n- res:\n"
207 << loc_mat.res;
208 return os;
209 }

References dK_TT_dp, Jac, K_pp, K_pT, K_Tp, K_TT, M_pT, M_pu, M_Tp, M_TT, res, storage_p_a_p, storage_p_a_S, and storage_p_a_S_Jpp.

Member Data Documentation

◆ dK_TT_dp

template<typename ShapeFunctionDisplacement, typename ShapeFunction, int DisplacementDim, typename ConstitutiveTraits>
NodalMatrix ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::dK_TT_dp

Definition at line 215 of file ThermoRichardsMechanicsFEM.h.

Referenced by operator*=(), operator+=(), operator<<, and setZero().

◆ Jac

template<typename ShapeFunctionDisplacement, typename ShapeFunction, int DisplacementDim, typename ConstitutiveTraits>
Mat<local_matrix_dim, local_matrix_dim> ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::Jac

"Direct" contributions to the Jacobian, without those from K and M matrices.

Definition at line 230 of file ThermoRichardsMechanicsFEM.h.

Referenced by operator*=(), operator+=(), operator<<, and setZero().

◆ K_pp

template<typename ShapeFunctionDisplacement, typename ShapeFunction, int DisplacementDim, typename ConstitutiveTraits>
NodalMatrix ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::K_pp

Definition at line 221 of file ThermoRichardsMechanicsFEM.h.

Referenced by operator*=(), operator+=(), operator<<, and setZero().

◆ K_pT

template<typename ShapeFunctionDisplacement, typename ShapeFunction, int DisplacementDim, typename ConstitutiveTraits>
NodalMatrix ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::K_pT

Definition at line 222 of file ThermoRichardsMechanicsFEM.h.

Referenced by operator*=(), operator+=(), operator<<, and setZero().

◆ K_Tp

template<typename ShapeFunctionDisplacement, typename ShapeFunction, int DisplacementDim, typename ConstitutiveTraits>
NodalMatrix ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::K_Tp

Definition at line 214 of file ThermoRichardsMechanicsFEM.h.

Referenced by operator*=(), operator+=(), operator<<, and setZero().

◆ K_TT

template<typename ShapeFunctionDisplacement, typename ShapeFunction, int DisplacementDim, typename ConstitutiveTraits>
NodalMatrix ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::K_TT

Definition at line 213 of file ThermoRichardsMechanicsFEM.h.

Referenced by operator*=(), operator+=(), operator<<, and setZero().

◆ local_matrix_dim

template<typename ShapeFunctionDisplacement, typename ShapeFunction, int DisplacementDim, typename ConstitutiveTraits>
auto constexpr ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::local_matrix_dim
staticconstexprprivate

◆ M_pT

template<typename ShapeFunctionDisplacement, typename ShapeFunction, int DisplacementDim, typename ConstitutiveTraits>
NodalMatrix ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::M_pT

Definition at line 219 of file ThermoRichardsMechanicsFEM.h.

Referenced by operator*=(), operator+=(), operator<<, and setZero().

◆ M_pu

template<typename ShapeFunctionDisplacement, typename ShapeFunction, int DisplacementDim, typename ConstitutiveTraits>
Mat<pressure_size, displacement_size> ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::M_pu

Definition at line 217 of file ThermoRichardsMechanicsFEM.h.

Referenced by operator*=(), operator+=(), operator<<, and setZero().

◆ M_Tp

template<typename ShapeFunctionDisplacement, typename ShapeFunction, int DisplacementDim, typename ConstitutiveTraits>
NodalMatrix ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::M_Tp

Definition at line 212 of file ThermoRichardsMechanicsFEM.h.

Referenced by operator*=(), operator+=(), operator<<, and setZero().

◆ M_TT

template<typename ShapeFunctionDisplacement, typename ShapeFunction, int DisplacementDim, typename ConstitutiveTraits>
NodalMatrix ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::M_TT

Definition at line 211 of file ThermoRichardsMechanicsFEM.h.

Referenced by operator*=(), operator+=(), operator<<, and setZero().

◆ res

template<typename ShapeFunctionDisplacement, typename ShapeFunction, int DisplacementDim, typename ConstitutiveTraits>
Vec ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::res

"Direct" contributions to the residual, without those from K and M matrices.

Definition at line 234 of file ThermoRichardsMechanicsFEM.h.

Referenced by operator*=(), operator+=(), operator<<, and setZero().

◆ storage_p_a_p

template<typename ShapeFunctionDisplacement, typename ShapeFunction, int DisplacementDim, typename ConstitutiveTraits>
NodalMatrix ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::storage_p_a_p

Definition at line 224 of file ThermoRichardsMechanicsFEM.h.

Referenced by operator*=(), operator+=(), operator<<, and setZero().

◆ storage_p_a_S

template<typename ShapeFunctionDisplacement, typename ShapeFunction, int DisplacementDim, typename ConstitutiveTraits>
NodalMatrix ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::storage_p_a_S

Definition at line 226 of file ThermoRichardsMechanicsFEM.h.

Referenced by operator*=(), operator+=(), operator<<, and setZero().

◆ storage_p_a_S_Jpp

template<typename ShapeFunctionDisplacement, typename ShapeFunction, int DisplacementDim, typename ConstitutiveTraits>
NodalMatrix ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::storage_p_a_S_Jpp

Definition at line 225 of file ThermoRichardsMechanicsFEM.h.

Referenced by operator*=(), operator+=(), operator<<, and setZero().


The documentation for this class was generated from the following file: