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 94 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 102 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 96 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 105 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 159 of file ThermoRichardsMechanicsFEM.h.

160 {
161 M_TT *= a;
162 M_Tp *= a;
163 K_TT *= a;
164 K_Tp *= a;
165 dK_TT_dp *= a;
166
167 M_pu *= a;
168
169 M_pT *= a;
170
171 K_pp *= a;
172 K_pT *= a;
173
174 storage_p_a_p *= a;
176 storage_p_a_S *= a;
177
178 Jac *= a;
179 res *= a;
180
181 return *this;
182 }

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 134 of file ThermoRichardsMechanicsFEM.h.

135 {
136 M_TT += other.M_TT;
137 M_Tp += other.M_Tp;
138 K_TT += other.K_TT;
139 K_Tp += other.K_Tp;
140 dK_TT_dp += other.dK_TT_dp;
141
142 M_pu += other.M_pu;
143
144 M_pT += other.M_pT;
145
146 K_pp += other.K_pp;
147 K_pT += other.K_pT;
148
149 storage_p_a_p += other.storage_p_a_p;
150 storage_p_a_S_Jpp += other.storage_p_a_S_Jpp;
151 storage_p_a_S += other.storage_p_a_S;
152
153 Jac += other.Jac;
154 res += other.res;
155
156 return *this;
157 }

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 109 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 185 of file ThermoRichardsMechanicsFEM.h.

186 {
187 os << "- M_TT:\n"
188 << loc_mat.M_TT //
189 << "\n- M_Tp:\n"
190 << loc_mat.M_Tp //
191 << "\n- K_TT:\n"
192 << loc_mat.K_TT //
193 << "\n- K_Tp:\n"
194 << loc_mat.K_Tp //
195 << "\n- dK_TT_dp:\n"
196 << loc_mat.dK_TT_dp //
197 << "\n- M_pu:\n"
198 << loc_mat.M_pu //
199 << "\n- M_pT:\n"
200 << loc_mat.M_pT //
201 << "\n- K_pp:\n"
202 << loc_mat.K_pp //
203 << "\n- K_pT:\n"
204 << loc_mat.K_pT //
205 << "\n- storage_p_a_p:\n"
206 << loc_mat.storage_p_a_p //
207 << "\n- storage_p_a_S_Jpp:\n"
208 << loc_mat.storage_p_a_S_Jpp //
209 << "\n- storage_p_a_S:\n"
210 << loc_mat.storage_p_a_S //
211 << "\n- Jac:\n"
212 << loc_mat.Jac //
213 << "\n- res:\n"
214 << loc_mat.res;
215 return os;
216 }

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 222 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 237 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 228 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 229 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 221 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 220 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 226 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 224 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 219 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 218 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 241 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 231 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 233 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 232 of file ThermoRichardsMechanicsFEM.h.

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


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