Commit e6439c37 authored by Dominic Kempf's avatar Dominic Kempf

Completely remove SGrid from the grid-howto

parent a3bc38e3
......@@ -126,7 +126,6 @@ install(FILES
transportproblem2.hh
unitcube.hh
unitcube_alugrid.hh
unitcube_sgrid.hh
unitcube_yaspgrid.hh
vertexdata.hh
vtkout.hh
......
......@@ -5,7 +5,7 @@ GRIDDIM=2
examplesdir=$(datadir)/doc/dune-grid-howto/examples
examples_HEADERS = elementdata.hh parfvdatahandle.hh unitcube_sgrid.hh \
examples_HEADERS = elementdata.hh parfvdatahandle.hh \
evolve.hh transportproblem2.hh \
finitevolumeadapt.hh transportproblem.hh unitcube_yaspgrid.hh \
functors.hh unitcube_albertagrid.hh vertexdata.hh \
......
......@@ -1065,7 +1065,7 @@ required header files for the grid manager are included.
Through the module \Dune{}-grid the following grid managers can be used
(for \lstinline!MYGROD! in the example above):
\\
\lstinline!ALBERTAGRID,ALUGRID_CUBE,ALUGRID_SIMPLEX,ALUGRID_CONFORM,ONEDGRID,SGRID,UGGRID!,
\lstinline!ALBERTAGRID,ALUGRID_CUBE,ALUGRID_SIMPLEX,ALUGRID_CONFORM,ONEDGRID,UGGRID!,
\\
and \lstinline!YASPGRID!.
\\
......@@ -1286,18 +1286,6 @@ type. We now look at each specialization in turn.
For historic reasons, there are also specializations for
\lstinline!ALUGrid! and \lstinline!AlbertaGrid!.
\minisec{SGrid}
The following listing creates an \lstinline!SGrid! object. This class
template also has a constructor without arguments that results in a
cube with a single element. \lstinline!SGrid! supports all dimensions.
\begin{lst}[File dune-grid-howto/unitcube\_sgrid.hh] \mbox{}
\nopagebreak
\lstinputlisting[basicstyle=\ttfamily\scriptsize,numbers=left,
numberstyle=\tiny, numbersep=5pt]{../unitcube_sgrid.hh}
\end{lst}
\minisec{YaspGrid}
The following listing instantiates a \lstinline!YaspGrid! object. The
......
......@@ -52,7 +52,6 @@ private:
// include specializations
#include "unitcube_sgrid.hh"
#include "unitcube_yaspgrid.hh"
#include "unitcube_albertagrid.hh"
#include "unitcube_alugrid.hh"
......
// -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
// vi: set et ts=4 sw=2 sts=2:
#ifndef UNITCUBE_SGRID_HH
#define UNITCUBE_SGRID_HH
#include "unitcube.hh"
#include <dune/grid/sgrid.hh>
// SGrid specialization
template<int dim>
class UnitCube<Dune::SGrid<dim,dim>,1>
{
public:
typedef Dune::SGrid<dim,dim> GridType;
Dune::SGrid<dim,dim>& grid ()
{
return grid_;
}
private:
Dune::SGrid<dim,dim> grid_;
};
#endif
Markdown is supported
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