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

#include <cube.hh>

Detailed Description

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

Definition at line 125 of file cube.hh.

Inheritance diagram for Kaskade::Cube< Real_ >:
Kaskade::BasicGridElement< double, 3 >

Public Types

typedef Real_ Real
 

Public Member Functions

 Cube (bool symmetric=false)
 
 Cube (Dune::FieldVector< Real, 3 > const &x0, Dune::FieldVector< Real, 3 > const &dx, bool symmetric)
 
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::Cube< Real_ >::Real

Definition at line 128 of file cube.hh.

Constructor & Destructor Documentation

◆ Cube() [1/2]

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

Definition at line 131 of file cube.hh.

◆ Cube() [2/2]

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

Definition at line 135 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: