Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Timo Koch
dune-common
Commits
f243a2e2
Commit
f243a2e2
authored
20 years ago
by
Oliver Sander
Browse files
Options
Downloads
Patches
Plain Diff
sad but true: you need the grid to write a blockvector as an AmiraMesh file
[[Imported from SVN: r1220]]
parent
0f101546
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
io/file/amirameshwriter.hh
+3
-10
3 additions, 10 deletions
io/file/amirameshwriter.hh
with
3 additions
and
10 deletions
io/file/amirameshwriter.hh
+
3
−
10
View file @
f243a2e2
...
...
@@ -11,15 +11,6 @@ namespace Dune {
/** @ingroup IO
* \brief Provides file writing facilities in the AmiraMesh format.
*
* Use it by calling the static method write(). Its default implementation
* only yields a warning message. Actual functionality is provided by
* specializations of the methods. So far, the following ones are
* available:
* <ul>
* <li> SimpleGrid<3,3>, with <code>double</code> data </li>
* </ul>
* \todo As DiscFuncType is supposed to know its GridType we can
* delete the first template parameter.
*/
template
<
class
GridType
>
class
AmiraMeshWriter
{
...
...
@@ -43,7 +34,9 @@ namespace Dune {
static
void
writeFunction
(
const
DiscFuncType
&
f
,
const
std
::
string
&
filename
);
static
void
writeBlockVector
(
const
Dune
::
BlockVector
<
Dune
::
FieldVector
<
double
,
3
>
>&
f
,
/** \brief Writes an ISTL block vector in AmiraMesh format */
static
void
writeBlockVector
(
const
GridType
&
grid
,
const
Dune
::
BlockVector
<
Dune
::
FieldVector
<
double
,
3
>
>&
f
,
const
std
::
string
&
filename
);
AmiraMeshWriter
()
{}
...
...
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