26 #ifndef MERCURYDPM_ANISOTROPICHOOKEAN_H
27 #define MERCURYDPM_ANISOTROPICHOOKEAN_H
28 #include "constitutive_laws.h"
49 : GeneralisedHookean( nu_pt, e_pt ) {}
58 const DenseMatrix<double>& g,
59 const DenseMatrix<double>& G,
60 DenseMatrix<double>& sigma)
62 GeneralisedHookean::calculate_second_piola_kirchhoff_stress(g, G, sigma);
65 const unsigned dim = sigma.nrow();
66 for (
unsigned i = 0;
i < dim;
i++)
68 for (
unsigned j = 0; j < dim; j++ )
75 for (
unsigned i = 0;
i < dim;
i++)
77 for (
unsigned j = 0; j <
i; j++)
79 sigma(
i, j) = sigma(j,
i);
Definition: AnisotropicHookean.h:37
std::array< double, 3 > anisotropy_
Definition: AnisotropicHookean.h:38
AnisotropicHookean(double *nu_pt, double *e_pt)
Definition: AnisotropicHookean.h:48
void calculate_second_piola_kirchhoff_stress(const DenseMatrix< double > &g, const DenseMatrix< double > &G, DenseMatrix< double > &sigma)
Definition: AnisotropicHookean.h:57
void setAnisotropy(std::array< double, 3 > anisotropy)
Definition: AnisotropicHookean.h:42
const std::complex< Mdouble > i
Definition: ExtendedMath.h:51
Definition: AnisotropicHookean.h:31