Commit 91edc9fa authored by Naumann, Andreas's avatar Naumann, Andreas
Browse files

parallel solver with parameter

parent 6c6dfb5a
...@@ -65,6 +65,14 @@ namespace AMDiS { ...@@ -65,6 +65,14 @@ namespace AMDiS {
public: public:
PITL_Solver_para(std::string name): PITL_Solver_para(std::string name):
AMDiS::MTL4Solver< MTLMatrix, MTLVector, ITL_OEMSolver_para_runner< ITLSolver > >(name) {} AMDiS::MTL4Solver< MTLMatrix, MTLVector, ITL_OEMSolver_para_runner< ITLSolver > >(name) {}
int solveSystem(const SolverMatrix<Matrix<DOFMatrix*> >& A,
SystemVector& x,
SystemVector& b,
ParallelMapper& m)
{
return AMDiS::MTL4Solver< MTLMatrix, MTLVector, ITL_OEMSolver_para_runner< ITLSolver > >::solve(A,x,b,m);
}
/// Creator class used in the OEMSolverMap. /// Creator class used in the OEMSolverMap.
class Creator : public OEMSolverCreator class Creator : public OEMSolverCreator
......
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