Skip to content
Snippets Groups Projects
Commit f243a2e2 authored by Oliver Sander's avatar Oliver Sander
Browse files

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
No related tags found
No related merge requests found
......@@ -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() {}
......
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