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 ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::dK_TT_dp, ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::Jac, ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::K_pp, ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::K_pT, ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::K_Tp, ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::K_TT, ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::M_pT, ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::M_pu, ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::M_Tp, ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::M_TT, ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::res, ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::storage_p_a_p, ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::storage_p_a_S, and ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::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 ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::dK_TT_dp, ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::Jac, ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::K_pp, ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::K_pT, ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::K_Tp, ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::K_TT, ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::M_pT, ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::M_pu, ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::M_Tp, ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::M_TT, ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::res, ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::storage_p_a_p, ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::storage_p_a_S, and ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::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.

110 {
111 M_TT = NodalMatrix::Zero(temperature_size, temperature_size);
112 M_Tp = NodalMatrix::Zero(temperature_size, pressure_size);
113 K_TT = NodalMatrix::Zero(temperature_size, temperature_size);
114 K_Tp = NodalMatrix::Zero(temperature_size, pressure_size);
115 dK_TT_dp = NodalMatrix::Zero(temperature_size, pressure_size);
116
117 M_pu = Mat<pressure_size, displacement_size>::Zero(
119
120 M_pT = NodalMatrix::Zero(pressure_size, temperature_size);
121
122 K_pp = NodalMatrix::Zero(pressure_size, pressure_size);
123 K_pT = NodalMatrix::Zero(pressure_size, temperature_size);
124
125 storage_p_a_p = NodalMatrix::Zero(pressure_size, pressure_size);
126 storage_p_a_S_Jpp = NodalMatrix::Zero(pressure_size, pressure_size);
127 storage_p_a_S = NodalMatrix::Zero(pressure_size, pressure_size);
128
129 Jac = Mat<local_matrix_dim, local_matrix_dim>::Zero(
131 res = Vec::Zero(local_matrix_dim);
132 }

References ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::displacement_size, ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::dK_TT_dp, ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::Jac, ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::K_pp, ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::K_pT, ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::K_Tp, ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::K_TT, ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::local_matrix_dim, ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::M_pT, ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::M_pu, ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::M_Tp, ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::M_TT, ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::pressure_size, ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::res, ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::storage_p_a_p, ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::storage_p_a_S, ProcessLib::ThermoRichardsMechanics::ThermoRichardsMechanicsLocalAssembler< ShapeFunctionDisplacement, ShapeFunction, DisplacementDim, ConstitutiveTraits >::LocalMatrices::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().

Friends And Related Symbol Documentation

◆ 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 }

Member Data Documentation

◆ dK_TT_dp

◆ Jac

◆ K_pp

◆ K_pT

◆ K_Tp

◆ K_TT

◆ 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

◆ M_pu

◆ M_Tp

◆ M_TT

◆ res

◆ storage_p_a_p

◆ storage_p_a_S

◆ storage_p_a_S_Jpp


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