From 9e5f76aaf2f865dae79d80e5c342abf3c1727c8b Mon Sep 17 00:00:00 2001 From: Gauthier Becker <gauthierbecker@gmail.com> Date: Fri, 17 Jun 2011 09:47:46 +0000 Subject: [PATCH] Add an adaptative time step for non linear static solver Fix warning SWIG Fix contact mpi bug --- Solver/groupOfElements.h | 7 +++++++ Solver/quadratureRules.h | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Solver/groupOfElements.h b/Solver/groupOfElements.h index 4d2c9e6014..42289900ec 100644 --- a/Solver/groupOfElements.h +++ b/Solver/groupOfElements.h @@ -95,6 +95,13 @@ class groupOfElements { } } } + + inline void clearAll() + { + _vertices.clear(); + _elements.clear(); + _parents.clear(); + } }; // child elements in pElem restricted to elements who have parent in sElem diff --git a/Solver/quadratureRules.h b/Solver/quadratureRules.h index fbcc755317..525adc7a5a 100644 --- a/Solver/quadratureRules.h +++ b/Solver/quadratureRules.h @@ -25,7 +25,7 @@ class QuadratureBase }; // For rigid contact no need of Gauss'integration -// but to use classcal get function in term npts and IntPt are needed +// but to use clasical get function in term npts and IntPt are needed // so use a empty gaussQuadrature rule class QuadratureVoid : public QuadratureBase { -- GitLab