Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
iwr
dune-vtk
Commits
d3b5a957
Commit
d3b5a957
authored
Oct 19, 2021
by
dedner
Committed by
Praetorius, Simon
Oct 22, 2021
Browse files
change _typeName and _includes to cppTypeName and cppIncludes
parent
5bb98b79
Changes
1
Hide whitespace changes
Inline
Side-by-side
python/dune/vtk/__init__.py
View file @
d3b5a957
...
...
@@ -18,17 +18,17 @@ def load(includes, typeName):
allCollectors
=
{
"continuous"
:
lambda
grid
:
"ContinuousDataCollector<"
+
grid
.
_t
ypeName
+
">"
,
"ContinuousDataCollector<"
+
grid
.
cppT
ypeName
+
">"
,
"lagrange"
:
lambda
grid
,
**
kwargs
:
"Dune::Vtk::LagrangeDataCollector<"
+
grid
.
_t
ypeName
+
","
+
str
(
kwargs
[
"order"
])
+
">"
"Dune::Vtk::LagrangeDataCollector<"
+
grid
.
cppT
ypeName
+
","
+
str
(
kwargs
[
"order"
])
+
">"
}
allWriters
=
{
"default"
:
[
lambda
grid
:
"Dune::VtkUnstructuredGridWriter<"
+
grid
.
_t
ypeName
+
">"
,
"Dune::VtkUnstructuredGridWriter<"
+
grid
.
cppT
ypeName
+
">"
,
[
"dune/vtk/writers/vtkunstructuredgridwriter.hh"
]
],
"lagrange"
:
[
lambda
grid
,
**
kwargs
:
"Dune::VtkUnstructuredGridWriter<"
+
grid
.
_t
ypeName
+
","
+
\
"Dune::VtkUnstructuredGridWriter<"
+
grid
.
cppT
ypeName
+
","
+
\
allCollectors
[
"lagrange"
](
grid
,
**
kwargs
)
+
">"
,
[
"dune/vtk/writers/vtkunstructuredgridwriter.hh"
,
"dune/vtk/datacollectors/lagrangedatacollector.hh"
]
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment