Commit 5378fd5b authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

Cleanup of some documentation

parent 4747bc3d
...@@ -42,6 +42,12 @@ public: ...@@ -42,6 +42,12 @@ public:
asDerived().updateImpl(); asDerived().updateImpl();
} }
/// Return the number of overlapping elements
int ghostLevel () const
{
return asDerived().ghostLevelImpl();
}
/// \brief Return a flat vector of point coordinates /// \brief Return a flat vector of point coordinates
/** /**
* All coordinates are extended to 3 components and concatenated. * All coordinates are extended to 3 components and concatenated.
...@@ -104,7 +110,15 @@ protected: // default implementations ...@@ -104,7 +110,15 @@ protected: // default implementations
return gridView_.size(0); return gridView_.size(0);
} }
void updateImpl () { /* do nothing */ } void updateImpl ()
{
/* do nothing */
}
int ghostLevelImpl () const
{
return gridView_.overlapSize(0);
}
// Evaluate `fct` in center of cell // Evaluate `fct` in center of cell
template <class T, class GlobalFunction> template <class T, class GlobalFunction>
......
...@@ -14,7 +14,11 @@ ...@@ -14,7 +14,11 @@
namespace Dune { namespace experimental namespace Dune { namespace experimental
{ {
/// File-Writer for VTK .vtu files /// File-Writer for ImageData VTK .vti files
/**
* Requirement:
* - DataCollector must be a model of \ref StructuredDataCollector
**/
template <class GridView, class DataCollector = StructuredDataCollector<GridView>> template <class GridView, class DataCollector = StructuredDataCollector<GridView>>
class VtkImageDataWriter class VtkImageDataWriter
: public VtkWriterInterface<GridView, DataCollector> : public VtkWriterInterface<GridView, DataCollector>
......
...@@ -14,7 +14,11 @@ ...@@ -14,7 +14,11 @@
namespace Dune { namespace experimental namespace Dune { namespace experimental
{ {
/// File-Writer for VTK .vtu files /// File-Writer for RectilinearGrid VTK .vtr files
/**
* Requirement:
* - DataCollector must be a model of \ref StructuredDataCollector
**/
template <class GridView, class DataCollector = StructuredDataCollector<GridView>> template <class GridView, class DataCollector = StructuredDataCollector<GridView>>
class VtkRectilinearGridWriter class VtkRectilinearGridWriter
: public VtkWriterInterface<GridView, DataCollector> : public VtkWriterInterface<GridView, DataCollector>
......
...@@ -14,7 +14,11 @@ ...@@ -14,7 +14,11 @@
namespace Dune { namespace experimental namespace Dune { namespace experimental
{ {
/// File-Writer for VTK .vtu files /// File-Writer for StructuredGrid VTK .vts files
/**
* Requirement:
* - DataCollector must be a model of \ref StructuredDataCollector
**/
template <class GridView, class DataCollector = StructuredDataCollector<GridView>> template <class GridView, class DataCollector = StructuredDataCollector<GridView>>
class VtkStructuredGridWriter class VtkStructuredGridWriter
: public VtkWriterInterface<GridView, DataCollector> : public VtkWriterInterface<GridView, DataCollector>
......
...@@ -15,6 +15,10 @@ ...@@ -15,6 +15,10 @@
namespace Dune { namespace experimental namespace Dune { namespace experimental
{ {
/// File-Writer for VTK .vtu files /// File-Writer for VTK .vtu files
/**
* Requirement:
* - DataCollector must be a model of \ref DataCollector
**/
template <class GridView, class DataCollector = DefaultDataCollector<GridView>> template <class GridView, class DataCollector = DefaultDataCollector<GridView>>
class VtkUnstructuredGridWriter class VtkUnstructuredGridWriter
: public VtkWriterInterface<GridView, DataCollector> : public VtkWriterInterface<GridView, DataCollector>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment