Skip to content
Snippets Groups Projects
Commit 5ce02a08 authored by Timo Koch's avatar Timo Koch
Browse files

[1p] Replace deprecated vtk output method

parent 29deed53
No related branches found
No related tags found
2 merge requests!617[WIP] Next,!571Cleanup/next
...@@ -40,7 +40,7 @@ public: ...@@ -40,7 +40,7 @@ public:
template <class VtkOutputModule> template <class VtkOutputModule>
static void init(VtkOutputModule& vtk) static void init(VtkOutputModule& vtk)
{ {
vtk.addSecondaryVariable("pressure", [](const auto& volVars){ return volVars.pressure(); }); vtk.addVolumeVariable([](const auto& volVars){ return volVars.pressure(); }, "pressure");
} }
}; };
......
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