Commit f55639e2 authored by frey_m's avatar frey_m

Merge branch '541-saamg-crashes-after-1000-steps' into 'master'

Resolve "SAAMG crashes after 1000 steps"

Closes #541

See merge request !370
parents 73edf13f 5f095dbe
......@@ -207,6 +207,7 @@ void MGPoissonSolver::deletePtr() {
LHS = Teuchos::null;
RHS = Teuchos::null;
prec_mp = Teuchos::null;
isMatrixfilled_m = false;
}
MGPoissonSolver::~MGPoissonSolver() {
......@@ -428,6 +429,7 @@ void MGPoissonSolver::computePotential(Field_t &rho, Vector_t hr) {
INFOMSG(level3 << "* Solving for Space Charge..." << endl);
IpplTimings::startTimer(FunctionTimer7_m);
solver_mp->solve();
IpplTimings::stopTimer(FunctionTimer7_m);
INFOMSG(level3 << "* Done." << endl);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment