diff --git a/Solver/groupOfElements.h b/Solver/groupOfElements.h index 4d2c9e6014b8c877af8262e31f1384a95bb822cf..42289900ec44237c7ff050dbc225fdb17a6d5199 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 fbcc755317c7b3444ae6c113cd80680ddef695e1..525adc7a5a4ede5b6f9770aa4b1ab217d9aeee9f 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 {