Skip to content
Snippets Groups Projects
Commit 89c78315 authored by Simon Emmert's avatar Simon Emmert
Browse files

[2pnc][doc] fix typo in 2pnc

parent 92f25257
No related branches found
No related tags found
1 merge request!617[WIP] Next
...@@ -136,7 +136,7 @@ int main(int argc, char** argv) try ...@@ -136,7 +136,7 @@ int main(int argc, char** argv) try
if (Parameters::getTree().hasKey("Restart") || Parameters::getTree().hasKey("TimeLoop.Restart")) if (Parameters::getTree().hasKey("Restart") || Parameters::getTree().hasKey("TimeLoop.Restart"))
restartTime = getParam<Scalar>("TimeLoop.Restart"); restartTime = getParam<Scalar>("TimeLoop.Restart");
// intialize the vtk output module // initialize the vtk output module
using VtkOutputFields = typename GET_PROP_TYPE(TypeTag, VtkOutputFields); using VtkOutputFields = typename GET_PROP_TYPE(TypeTag, VtkOutputFields);
VtkOutputModule<TypeTag> vtkWriter(*problem, *fvGridGeometry, *gridVariables, x, problem->name()); VtkOutputModule<TypeTag> vtkWriter(*problem, *fvGridGeometry, *gridVariables, x, problem->name());
VtkOutputFields::init(vtkWriter); //! Add model specific output fields VtkOutputFields::init(vtkWriter); //! Add model specific output fields
......
...@@ -135,7 +135,7 @@ int main(int argc, char** argv) try ...@@ -135,7 +135,7 @@ int main(int argc, char** argv) try
if (Parameters::getTree().hasKey("Restart") || Parameters::getTree().hasKey("TimeLoop.Restart")) if (Parameters::getTree().hasKey("Restart") || Parameters::getTree().hasKey("TimeLoop.Restart"))
restartTime = getParam<Scalar>("TimeLoop.Restart"); restartTime = getParam<Scalar>("TimeLoop.Restart");
// intialize the vtk output module // initialize the vtk output module
using VtkOutputFields = typename GET_PROP_TYPE(TypeTag, VtkOutputFields); using VtkOutputFields = typename GET_PROP_TYPE(TypeTag, VtkOutputFields);
VtkOutputModule<TypeTag> vtkWriter(*problem, *fvGridGeometry, *gridVariables, x, problem->name()); VtkOutputModule<TypeTag> vtkWriter(*problem, *fvGridGeometry, *gridVariables, x, problem->name());
VtkOutputFields::init(vtkWriter); //! Add model specific output fields VtkOutputFields::init(vtkWriter); //! Add model specific output fields
......
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