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

Create non linear system to have a system that return the values of

unknowns and not their increments. Works with GMM Taucs and PETSc. clean
the staticDofManager (there is no umap anymore)
parent b5dec2db
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment