Skip to content
Snippets Groups Projects
Commit da055015 authored by Gauthier Becker's avatar Gauthier Becker
Browse files

Fix a bug with computation of VonMises Stress. Material law data is now

removed from DGelasticField which contains a pointer to a materialLaw.
Update benchmarks to include this change 
parent fd1474d8
No related branches found
No related tags found
No related merge requests found
...@@ -27,7 +27,7 @@ class SVector3 { ...@@ -27,7 +27,7 @@ class SVector3 {
inline double x(void) const { return P.x(); } inline double x(void) const { return P.x(); }
inline double y(void) const { return P.y(); } inline double y(void) const { return P.y(); }
inline double z(void) const { return P.z(); } inline double z(void) const { return P.z(); }
inline double norm() { return sqrt(P[0] * P[0] + P[1] * P[1] + P[2] * P[2]); } inline double norm() const { return sqrt(P[0] * P[0] + P[1] * P[1] + P[2] * P[2]); }
inline double normSq() { return (P[0] * P[0] + P[1] * P[1] + P[2] * P[2]); } inline double normSq() { return (P[0] * P[0] + P[1] * P[1] + P[2] * P[2]); }
double normalize() double normalize()
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment