concepts::CellMap< dimC, H > Struct Template Reference

Class representing a map to ElementWithCells. More...

#include <formulafrmEformula.hh>

Inheritance diagram for concepts::CellMap< dimC, H >:
concepts::OutputOperator

Public Member Functions

void add (const ElementWithCell< H > *elm, const uint(&idx)[dimC])
 
 CellMap ()
 
 CellMap (const CellMap< dimC, H > &map)
 
const ElementWithCell< H > * get (const uint(&idx)[dimC])
 
void resize (const uint(&maxlevel)[dimC])
 

Public Attributes

MultiVector< dimC, const ElementWithCell< H > * >::map map
 
uint sizes [dimC]
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream. More...
 

Detailed Description

template<uint dimC, class H>
struct concepts::CellMap< dimC, H >

Class representing a map to ElementWithCells.

In usage these elements will be on the finest level allowing for indexing meshes with hanging nodes.

This class allows for O(1) search of a finest child.

Definition at line 312 of file formulafrmEformula.hh.

Constructor & Destructor Documentation

◆ CellMap() [1/2]

template<uint dimC, class H >
concepts::CellMap< dimC, H >::CellMap ( )

◆ CellMap() [2/2]

template<uint dimC, class H >
concepts::CellMap< dimC, H >::CellMap ( const CellMap< dimC, H > &  map)

Member Function Documentation

◆ add()

template<uint dimC, class H >
void concepts::CellMap< dimC, H >::add ( const ElementWithCell< H > *  elm,
const uint(&)  idx[dimC] 
)

◆ get()

template<uint dimC, class H >
const ElementWithCell<H>* concepts::CellMap< dimC, H >::get ( const uint(&)  idx[dimC])

◆ info()

template<uint dimC, class H >
virtual std::ostream& concepts::CellMap< dimC, H >::info ( std::ostream &  os) const
inlineprotectedvirtual

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

Definition at line 332 of file formulafrmEformula.hh.

◆ resize()

template<uint dimC, class H >
void concepts::CellMap< dimC, H >::resize ( const uint(&)  maxlevel[dimC])

Member Data Documentation

◆ map

template<uint dimC, class H >
MultiVector<dimC, const ElementWithCell<H>* >::map concepts::CellMap< dimC, H >::map

Definition at line 329 of file formulafrmEformula.hh.

◆ sizes

template<uint dimC, class H >
uint concepts::CellMap< dimC, H >::sizes[dimC]

Definition at line 326 of file formulafrmEformula.hh.


The documentation for this struct was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich