diff --git a/Solver/dofManager.h b/Solver/dofManager.h index 02c16c65f52995d5e40437d8f0b59cd5f0a0a21e..99d1d6a41707b950332edee9071e2bb6c225adc6 100644 --- a/Solver/dofManager.h +++ b/Solver/dofManager.h @@ -178,7 +178,7 @@ class dofManager{ if (ghosted.find(key) != ghosted.end()) return; ghosted[key] = procId; } - virtual inline void numberDof(Dof key) // derived in staticDofManager in NonLinearSolver project + inline void numberDof(Dof key) { if (fixed.find(key) != fixed.end()) return; if (constraints.find(key) != constraints.end()) return; diff --git a/Solver/linearSystemGMM.h b/Solver/linearSystemGMM.h index 0b8da4a2e3f4c24fe502864120bcaf41fb45705f..a611822877d30748edbfe6cada8e5d9eac67663e 100644 --- a/Solver/linearSystemGMM.h +++ b/Solver/linearSystemGMM.h @@ -17,9 +17,11 @@ template <class scalar> class linearSystemGmm : public linearSystem<scalar> { + protected: + std::vector<scalar> *_x; // the nonLinearSystemGmm has to access to this vector private: gmm::row_matrix<gmm::wsvector<scalar> > *_a; - std::vector<scalar> *_b, *_x; + std::vector<scalar> *_b; double _prec; int _noisy, _gmres; public: