Skip to content
Snippets Groups Projects
Commit 9899551e authored by Elias Pipping's avatar Elias Pipping Committed by Elias Pipping
Browse files

Cleanup

parent 88af798e
No related branches found
No related tags found
No related merge requests found
......@@ -339,8 +339,6 @@ int main(int argc, char *argv[]) {
// Set up TNNMG solver
auto const solverTolerance = parset.get<double>("solver.tolerance");
typedef MyConvexProblem<MatrixType, VectorType> MyConvexProblemType;
typedef MyBlockProblem<MyConvexProblemType> MyBlockProblemType;
MySolver<dims, MatrixType, VectorType, GridType> solverHost(
parset.sub("solver.tnnmg"), refinements, solverTolerance, *grid,
ignoreNodes);
......@@ -418,9 +416,11 @@ int main(int argc, char *argv[]) {
parset.sub("boundary.friction"), *nodalIntegrals, _alpha,
surfaceNormalStress);
typedef MyConvexProblem<MatrixType, VectorType> MyConvexProblemType;
MyConvexProblemType const myConvexProblem(
problem_A, *myGlobalNonlinearity, problem_rhs);
MyBlockProblemType velocityProblem(parset, myConvexProblem);
MyBlockProblem<MyConvexProblemType> velocityProblem(parset,
myConvexProblem);
multigridStep->setProblem(_problem_iterate, velocityProblem);
velocityProblemSolver.preprocess();
......
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