changed: do not do first adaptive step with dense solver

not a good idea if the initial model is of a non-trivial size
This commit is contained in:
Arne Morten Kvarving 2016-11-17 10:28:38 +01:00
parent 17bb95ace9
commit 18d3d976e2

View File

@ -204,8 +204,7 @@ bool AdaptiveSIM::solveStep (const char* inputfile, int iStep)
// Assemble the linear FE equation system
model.setMode(SIM::STATIC,true);
model.initSystem(iStep == 1 ? SystemMatrix::DENSE : opt.solver,
1, model.getNoRHS());
model.initSystem(opt.solver, 1, model.getNoRHS());
model.setQuadratureRule(opt.nGauss[0],true);
if (!model.assembleSystem())