Commit 7cb51bdd authored by Sebastian Aland's avatar Sebastian Aland
Browse files

ProblemStat.h setSolverMatrix added

parent 89c30249
...@@ -459,6 +459,11 @@ namespace AMDiS { ...@@ -459,6 +459,11 @@ namespace AMDiS {
solver = sol; solver = sol;
} }
void setSolverMatrix(SolverMatrix<Matrix<DOFMatrix*> >& solverMatrix_)
{
solverMatrix.setMatrix(*solverMatrix_.getOriginalMat());
}
/// ///
inline void setAssembleMatrixOnlyOnce(int i = 0, int j = 0, bool value = true) inline void setAssembleMatrixOnlyOnce(int i = 0, int j = 0, bool value = true)
{ {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// #include "Views.h" // #include "Views.h"
#include "SignedDistFunctors.h" #include "SignedDistFunctors.h"
#include "PhaseFieldConvert.h" #include "PhaseFieldConvert.h"
using namespace AMDiS; using namespace AMDiS;
NavierStokesCahnHilliard::NavierStokesCahnHilliard(const std::string &name_, bool createProblem) : NavierStokesCahnHilliard::NavierStokesCahnHilliard(const std::string &name_, bool createProblem) :
......
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