KASKADE 7 development version
Public Types | Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
Kaskade::Square< Real_ > Class Template Reference

#include <cube.hh>

Detailed Description

template<class Real_ = double>
class Kaskade::Square< Real_ >

Definition at line 60 of file cube.hh.

Inheritance diagram for Kaskade::Square< Real_ >:
Kaskade::BasicGridElement< double, 2 >

Public Types

typedef Real_ Real
 

Public Member Functions

 Square (bool symmetric=false)
 
 Square (Dune::FieldVector< Real, 2 > const &x0, Dune::FieldVector< Real, 2 > const &dx, bool symmetric=false)
 
std::vector< Dune::FieldVector< double, dim > > const & getVertices () const
 
std::vector< std::vector< unsigned int > > const & getSimplices () const
 

Static Public Attributes

static constexpr int dim
 

Protected Attributes

std::vector< Dune::FieldVector< double, dim > > vertices
 
std::vector< std::vector< unsigned int > > simplices
 
double pi
 

Member Typedef Documentation

◆ Real

template<class Real_ = double>
typedef Real_ Kaskade::Square< Real_ >::Real

Definition at line 63 of file cube.hh.

Constructor & Destructor Documentation

◆ Square() [1/2]

template<class Real_ = double>
Kaskade::Square< Real_ >::Square ( bool  symmetric = false)
inlineexplicit

Definition at line 65 of file cube.hh.

◆ Square() [2/2]

template<class Real_ = double>
Kaskade::Square< Real_ >::Square ( Dune::FieldVector< Real, 2 > const &  x0,
Dune::FieldVector< Real, 2 > const &  dx,
bool  symmetric = false 
)
inline

Definition at line 68 of file cube.hh.

Member Function Documentation

◆ getSimplices()

std::vector< std::vector< unsigned int > > const & Kaskade::BasicGridElement< double , dim_ >::getSimplices ( ) const
inlineinherited

Definition at line 50 of file cube.hh.

◆ getVertices()

std::vector< Dune::FieldVector< double , dim > > const & Kaskade::BasicGridElement< double , dim_ >::getVertices ( ) const
inlineinherited

Definition at line 49 of file cube.hh.

Member Data Documentation

◆ dim

constexpr int Kaskade::BasicGridElement< double , dim_ >::dim
staticconstexprinherited

Definition at line 28 of file cube.hh.

◆ pi

double Kaskade::BasicGridElement< double , dim_ >::pi
protectedinherited

Definition at line 55 of file cube.hh.

◆ simplices

std::vector<std::vector<unsigned int> > Kaskade::BasicGridElement< double , dim_ >::simplices
protectedinherited

Definition at line 54 of file cube.hh.

◆ vertices

std::vector<Dune::FieldVector<double ,dim> > Kaskade::BasicGridElement< double , dim_ >::vertices
protectedinherited

Definition at line 53 of file cube.hh.


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