Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
amdis
amdis-core
Commits
5332e02f
Commit
5332e02f
authored
Nov 13, 2020
by
Praetorius, Simon
Browse files
chenage logic to break if tolerance not reached
parent
b340f21a
Changes
2
Hide whitespace changes
Inline
Side-by-side
amdis/ProblemStat.inc.hpp
View file @
5332e02f
...
...
@@ -382,7 +382,7 @@ solve(AdaptInfo& /*adaptInfo*/, bool createMatrixData, bool storeMatrixData)
}
}
test_exit
(
!
solverInfo
.
doBreak
()
&&
!
solverInfo
.
error
(),
"Could not solver the linear system!"
);
test_exit
(
!
solverInfo
.
doBreak
()
||
!
solverInfo
.
error
(),
"Could not solver the linear system!"
);
}
...
...
examples/init/cahn_hilliard.dat.2d
View file @
5332e02f
...
...
@@ -15,8 +15,7 @@ ch->mesh: chMesh
ch->solver: direct
ch->solver->max iteration: 1000
ch->solver->relative tolerance: 1e-6
ch->solver->break if tolerance not reached: 1
ch->solver->info: 0
ch->solver->info: 1
ch->output[0]->format: vtk
ch->output[0]->filename: phi.2d
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment