dune-pdelab  2.5-dev
Public Types | Public Member Functions | Static Public Attributes | List of all members
Dune::PDELab::StructuredGrid< T > Class Template Reference

#include <dune/pdelab/boilerplate/pdelab.hh>

Public Types

typedef T Grid
 
typedef T::ctype ctype
 

Public Member Functions

 StructuredGrid (Dune::GeometryType::BasicType meshtype, unsigned int cells)
 
 StructuredGrid (Dune::GeometryType::BasicType meshtype, std::array< double, dimworld > lower_left, std::array< double, dimworld > upper_right, std::array< unsigned int, dim > cells)
 
std::shared_ptr< T > getSharedPtr ()
 
T & getGrid ()
 
const T & getGrid () const
 
T & operator* ()
 
T * operator-> ()
 
const T & operator* () const
 
const T * operator-> () const
 

Static Public Attributes

static const int dim = T::dimension
 
static const int dimworld = T::dimensionworld
 

Member Typedef Documentation

◆ ctype

template<typename T >
typedef T::ctype Dune::PDELab::StructuredGrid< T >::ctype

◆ Grid

template<typename T >
typedef T Dune::PDELab::StructuredGrid< T >::Grid

Constructor & Destructor Documentation

◆ StructuredGrid() [1/2]

template<typename T >
Dune::PDELab::StructuredGrid< T >::StructuredGrid ( Dune::GeometryType::BasicType  meshtype,
unsigned int  cells 
)
inline

◆ StructuredGrid() [2/2]

template<typename T >
Dune::PDELab::StructuredGrid< T >::StructuredGrid ( Dune::GeometryType::BasicType  meshtype,
std::array< double, dimworld lower_left,
std::array< double, dimworld upper_right,
std::array< unsigned int, dim cells 
)
inline

Member Function Documentation

◆ getGrid() [1/2]

template<typename T >
T& Dune::PDELab::StructuredGrid< T >::getGrid ( )
inline

◆ getGrid() [2/2]

template<typename T >
const T& Dune::PDELab::StructuredGrid< T >::getGrid ( ) const
inline

◆ getSharedPtr()

template<typename T >
std::shared_ptr<T> Dune::PDELab::StructuredGrid< T >::getSharedPtr ( )
inline

◆ operator*() [1/2]

template<typename T >
T& Dune::PDELab::StructuredGrid< T >::operator* ( )
inline

◆ operator*() [2/2]

template<typename T >
const T& Dune::PDELab::StructuredGrid< T >::operator* ( ) const
inline

◆ operator->() [1/2]

template<typename T >
T* Dune::PDELab::StructuredGrid< T >::operator-> ( )
inline

◆ operator->() [2/2]

template<typename T >
const T* Dune::PDELab::StructuredGrid< T >::operator-> ( ) const
inline

Member Data Documentation

◆ dim

template<typename T >
const int Dune::PDELab::StructuredGrid< T >::dim = T::dimension
static

◆ dimworld

template<typename T >
const int Dune::PDELab::StructuredGrid< T >::dimworld = T::dimensionworld
static

The documentation for this class was generated from the following file: