37 namespace SmallStrainMechanics{
39 template <
typename TDomain>
50 mat(0, 0) = C11;
mat(0, 1) = C12;
mat(0, 2) = C13;
51 mat(1, 0) = C12;
mat(1, 1) = C22;
mat(1, 2) = C23;
52 mat(2, 0) = C13;
mat(2, 1) = C23;
mat(2, 2) = C33;
80 for (
size_t i = 0; i < (size_t)
dim; ++i)
81 for (
size_t j = 0; j < (size_t)
dim; ++j)
82 for (
size_t k = 0; k < (size_t)
dim; ++k)
83 for (
size_t l = 0; l < (size_t)
dim; ++l)
84 elastTensorFunct[i][j][k][l] = 0.0;
86 elastTensorFunct[0][0][0][0] =
mat(0, 0);
87 elastTensorFunct[0][0][1][1] =
mat(0, 1);
88 elastTensorFunct[0][0][2][2] =
mat(0, 2);
93 elastTensorFunct[1][1][0][0] =
mat(1, 0);
94 elastTensorFunct[1][1][1][1] =
mat(1, 1);
95 elastTensorFunct[1][1][2][2] =
mat(1, 2);
100 elastTensorFunct[2][2][0][0] =
mat(2, 0);
101 elastTensorFunct[2][2][1][1] =
mat(2, 1);
102 elastTensorFunct[2][2][2][2] =
mat(2, 2);
111 elastTensorFunct[1][2][1][2] =
c44;
120 elastTensorFunct[2][0][2][0] =
c55;
129 elastTensorFunct[0][1][0][1] =
c66;
132 for(
size_t i = 0; i <
dim; ++i){
133 for(
size_t j = 0; j <
dim; ++j){
134 for(
size_t k = 0; k <
dim; ++k){
135 for(
size_t l = 0; l <
dim; ++l){
136 if(elastTensorFunct[i][j][k][l] != 0){
137 elastTensorFunct[j][i][k][l] = elastTensorFunct[i][j][k][l];
138 elastTensorFunct[j][i][l][k] = elastTensorFunct[i][j][k][l];
139 elastTensorFunct[i][j][l][k] = elastTensorFunct[i][j][k][l];
Definition: mat_law_interface.h:44
Definition: voigtian_notation.h:40
number c55
Definition: voigtian_notation.h:150
number c44
Definition: voigtian_notation.h:149
number c66
Definition: voigtian_notation.h:151
void rotate_z_90_deg()
Definition: voigtian_notation.h:60
void set_orthotropic(const number C11, const number C12, const number C13, const number C22, const number C23, const number C33, const number C44, const number C55, const number C66)
Definition: voigtian_notation.h:46
DenseMatrix< FixedArray2< double, dim, dim > > mat
Definition: voigtian_notation.h:148
void copy_to_tensor(MathTensor4< dim, dim, dim, dim > &elastTensorFunct)
Definition: voigtian_notation.h:77
VoigtianMatrix()
Definition: voigtian_notation.h:44
static const int dim
Definition: voigtian_notation.h:42
static void rot(number A[3][3], const number s, const number tau, const int i, const int j, const int k, const int l)