Commit a65632e4 authored by Bernd Flemisch's avatar Bernd Flemisch
Browse files

test_diffusion3d: get rid of unnecessary typename keywords

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@11538 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent f4498332
...@@ -72,7 +72,7 @@ int main(int argc, char** argv) ...@@ -72,7 +72,7 @@ int main(int argc, char** argv)
try { try {
typedef TTAG(DiffusionTestProblem) TypeTag; typedef TTAG(DiffusionTestProblem) TypeTag;
typedef GET_PROP_TYPE(TypeTag, Grid) Grid; typedef GET_PROP_TYPE(TypeTag, Grid) Grid;
typedef typename GET_PROP(TypeTag, ParameterTree) ParameterTree; typedef GET_PROP(TypeTag, ParameterTree) ParameterTree;
// initialize MPI, finalize is done automatically on exit // initialize MPI, finalize is done automatically on exit
Dune::MPIHelper::instance(argc, argv); Dune::MPIHelper::instance(argc, argv);
...@@ -131,7 +131,7 @@ int main(int argc, char** argv) ...@@ -131,7 +131,7 @@ int main(int argc, char** argv)
typedef TTAG (FVTestProblem) typedef TTAG (FVTestProblem)
FVTypeTag; FVTypeTag;
typedef GET_PROP_TYPE(FVTypeTag, Problem) FVProblem; typedef GET_PROP_TYPE(FVTypeTag, Problem) FVProblem;
typedef typename GET_PROP(FVTypeTag, ParameterTree) FVParameterTree; typedef GET_PROP(FVTypeTag, ParameterTree) FVParameterTree;
Dune::ParameterTreeParser::readINITree(parameterFileName, FVParameterTree::tree()); Dune::ParameterTreeParser::readINITree(parameterFileName, FVParameterTree::tree());
FVProblem *fvProblem = new FVProblem(grid->leafView()); FVProblem *fvProblem = new FVProblem(grid->leafView());
std::string fvOutput("test_diffusion3d_fv"); std::string fvOutput("test_diffusion3d_fv");
...@@ -156,7 +156,7 @@ int main(int argc, char** argv) ...@@ -156,7 +156,7 @@ int main(int argc, char** argv)
typedef TTAG (FVMPFAL3DTestProblem) typedef TTAG (FVMPFAL3DTestProblem)
MPFALTypeTag; MPFALTypeTag;
typedef GET_PROP_TYPE(MPFALTypeTag, Problem) MPFALProblem; typedef GET_PROP_TYPE(MPFALTypeTag, Problem) MPFALProblem;
typedef typename GET_PROP(MPFALTypeTag, ParameterTree) MPFALParameterTree; typedef GET_PROP(MPFALTypeTag, ParameterTree) MPFALParameterTree;
Dune::ParameterTreeParser::readINITree(parameterFileName, MPFALParameterTree::tree()); Dune::ParameterTreeParser::readINITree(parameterFileName, MPFALParameterTree::tree());
MPFALProblem *mpfaProblem = new MPFALProblem(grid->leafView()); MPFALProblem *mpfaProblem = new MPFALProblem(grid->leafView());
std::string fvmpfaOutput("test_diffusion3d_fvmpfal"); std::string fvmpfaOutput("test_diffusion3d_fvmpfal");
...@@ -180,7 +180,7 @@ int main(int argc, char** argv) ...@@ -180,7 +180,7 @@ int main(int argc, char** argv)
typedef TTAG (MimeticTestProblem) typedef TTAG (MimeticTestProblem)
MimeticTypeTag; MimeticTypeTag;
typedef GET_PROP_TYPE(MimeticTypeTag, Problem) MimeticProblem; typedef GET_PROP_TYPE(MimeticTypeTag, Problem) MimeticProblem;
typedef typename GET_PROP(MimeticTypeTag, ParameterTree) MimeticParameterTree; typedef GET_PROP(MimeticTypeTag, ParameterTree) MimeticParameterTree;
Dune::ParameterTreeParser::readINITree(parameterFileName, MimeticParameterTree::tree()); Dune::ParameterTreeParser::readINITree(parameterFileName, MimeticParameterTree::tree());
MimeticProblem *mimeticProblem = new MimeticProblem(grid->leafView()); MimeticProblem *mimeticProblem = new MimeticProblem(grid->leafView());
std::string mimeticOutput("test_diffusion3d_mimetic"); std::string mimeticOutput("test_diffusion3d_mimetic");
......
Supports Markdown
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