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:
parent
17bb95ace9
commit
18d3d976e2
@ -204,8 +204,7 @@ bool AdaptiveSIM::solveStep (const char* inputfile, int iStep)
|
|||||||
|
|
||||||
// Assemble the linear FE equation system
|
// Assemble the linear FE equation system
|
||||||
model.setMode(SIM::STATIC,true);
|
model.setMode(SIM::STATIC,true);
|
||||||
model.initSystem(iStep == 1 ? SystemMatrix::DENSE : opt.solver,
|
model.initSystem(opt.solver, 1, model.getNoRHS());
|
||||||
1, model.getNoRHS());
|
|
||||||
model.setQuadratureRule(opt.nGauss[0],true);
|
model.setQuadratureRule(opt.nGauss[0],true);
|
||||||
|
|
||||||
if (!model.assembleSystem())
|
if (!model.assembleSystem())
|
||||||
|
Loading…
Reference in New Issue
Block a user