Skip to content
Snippets Groups Projects
Commit 304ea3ce authored by Laura Lindner's avatar Laura Lindner
Browse files

fixed small bug on solver

parent 9a7d2c2c
No related branches found
No related tags found
1 merge request!273fixed hopefully problem with computing displacement by depending mechassamble...
Pipeline #356402 failed
......@@ -270,7 +270,7 @@ bool adaptiveSegregatedSolver::Step(IElphyAssemble &elphyAssemble, IElasticity &
mechSolver->GetDynamicVectors(dyn);
elphyAssemble.UpdateDeformation(u_displacement(mechValues), dyn[0], v_potential(elphyValues));
elphyAssemble.ResetTime(mechAssemble.Time(), mechAssemble.LastTStep(), elphyDeltaTime);
elphyAssemble.ResetTime(mechAssemble.Time(), mechAssemble.NextTimeStep(false),elphyDeltaTime);//mechAssemble.LastTStep(), elphyDeltaTime);
double gammaInfNorm=elphyAssemble.InftyNormOnVertices(v_stretch(elphyValues));
int elphyStepCounter=0;
// if (gammaInfNorm<=0.00001) {
......
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