Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-vtk
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
iwr
dune-vtk
Commits
918688cc
Commit
918688cc
authored
6 years ago
by
Praetorius, Simon
Browse files
Options
Downloads
Patches
Plain Diff
Update README.md
parent
bb9a70e7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+17
-10
17 additions, 10 deletions
README.md
with
17 additions
and
10 deletions
README.md
+
17
−
10
View file @
918688cc
...
...
@@ -6,14 +6,6 @@ Provides structured and unstructured file writers for the VTK XML File Formats
that can be opened in the popular ParaView visualization application. Additionally
a file reader is provided to import VTK files into Dune grid and data objects.
## Requirements
For the management of the grids the
`dune-grid`
module is required. Additionally
for the data evaluation, the
`dune-functions`
module is used.
### Optional modules
For tests and examples
`dune-spgrid`
and
`dune-polygongrid`
are suggested, that
support structured grid data or special element types.
## Usage
The VTK writer works similar to the dune-grid
`VTKWriter`
. It needs to be bound
to a GridView and then data can be added to the points or cells in the grid.
...
...
@@ -92,8 +84,23 @@ vtkWriter.addPointData(fct, "fct");
vtkWriter
.
write
(
"filename.vtu"
,
[
FORMAT_TYPE
],
[
DATA_TYPE
]);
```
where
`FORMAT`
one of {UnstructuredGrid,StructuredGrid,RectilinearGrid,ImageData}
,
`FORMAT_TYPE`
one of {ASCII,BINARY,COMPRESSED}, and
`DATA_TYPE`
one of {FLOAT32,FLOAT64}.
where
`FORMAT`
one of
-
`UnstructuredGrid`
,
-
`StructuredGrid`
(structured connectivity, arbitrary coordinates),
-
`RectilinearGrid`
(structured connectivity, tensor-product coordinates), or
-
`ImageData`
(structured connectivity, axis-parallel coordinates with constant grid-spacing),
`FORMAT_TYPE`
one of
-
`ASCII`
(inline ascii format),
-
`BINARY`
(appended raw format), or
-
`COMPRESSED`
(appended compressed raw format),
and
`DATA_TYPE`
one of
-
`FLOAT32`
(single precision), or
-
`FLOAT64`
(double precision).
We measure the file size (per processor) and the memory requirement of ParaView
to visualize the data.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment