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 88 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 96 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 90 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 99 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 153 of file ThermoRichardsMechanicsFEM.h.

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

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

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

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

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

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 216 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 231 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 222 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 223 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 215 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 214 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 220 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 218 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 213 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 212 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 235 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 225 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 227 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 226 of file ThermoRichardsMechanicsFEM.h.

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


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