|
dune-functions 2.8.0
|
Loading...
Searching...
No Matches
lagrangedgbasis.hh
Go to the documentation of this file.
93 pyramidOffset_ = hexahedronOffset_ + dofsPerHexahedron * gridView_.size(Dune::GeometryTypes::hexahedron);
141 return dofsPerTriangle*gridView_.size(Dune::GeometryTypes::triangle) + dofsPerQuad*gridView_.size(Dune::GeometryTypes::quadrilateral);
225 DUNE_THROW(Dune::NotImplemented, "3d elements have to be tetrahedrons, prisms, hexahedrons or pyramids");
296using LagrangeDGBasis = DefaultGlobalBasis<LagrangeDGPreBasis<GV, k, FlatMultiIndex<std::size_t>> >;
auto lagrangeDG()
Create a pre-basis factory that can create a LagrangeDG pre-basis.
Definition lagrangedgbasis.hh:275
iterator end()
size_type dim() const
#define DUNE_THROW(E, m)
constexpr Mantissa power(Mantissa m, Exponent p)
size_type size() const
Global basis for given pre-basis.
Definition defaultglobalbasis.hh:47
Definition lagrangebasis.hh:406
const Element & element() const
Return current element, throw if unbound.
Definition lagrangebasis.hh:458
Definition lagrangedgbasis.hh:38
size_t pyramidOffset_
Definition lagrangedgbasis.hh:238
static const int dofsPerPyramid
Definition lagrangedgbasis.hh:55
Node makeNode() const
Create tree node.
Definition lagrangedgbasis.hh:114
size_type maxNodeSize() const
Definition lagrangedgbasis.hh:167
GV GridView
The grid view that the FE space is defined on.
Definition lagrangedgbasis.hh:44
size_type dimension() const
Definition lagrangedgbasis.hh:162
static const int dofsPerHexahedron
Definition lagrangedgbasis.hh:54
static const int dofsPerEdge
Definition lagrangedgbasis.hh:49
static const int dofsPerQuad
Definition lagrangedgbasis.hh:51
size_t hexahedronOffset_
Definition lagrangedgbasis.hh:240
Impl::DefaultNodeIndexSet< LagrangeDGPreBasis > IndexSet
Type of created tree node index set.
Definition lagrangedgbasis.hh:61
static const int dofsPerPrism
Definition lagrangedgbasis.hh:53
void update(const GridView &gv)
Definition lagrangedgbasis.hh:106
static const int dofsPerTriangle
Definition lagrangedgbasis.hh:50
LagrangeDGPreBasis(const GridView &gv)
Constructor for a given grid view object.
Definition lagrangedgbasis.hh:69
IndexSet makeIndexSet() const
Create tree node index set.
Definition lagrangedgbasis.hh:128
size_type size(const SizePrefix prefix) const
Return number possible values for next position in multi index.
Definition lagrangedgbasis.hh:155
static const int dofsPerTetrahedron
Definition lagrangedgbasis.hh:52
MI MultiIndex
Type used for global numbering of the basis vectors.
Definition lagrangedgbasis.hh:64
size_t prismOffset_
Definition lagrangedgbasis.hh:239
size_t quadrilateralOffset_
Definition lagrangedgbasis.hh:237
It indices(const Node &node, It it) const
Definition lagrangedgbasis.hh:173
const GridView & gridView() const
Obtain the grid view that the basis is defined on.
Definition lagrangedgbasis.hh:101
void initializeIndices()
Definition lagrangedgbasis.hh:74
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8