gridInfo.hh
const concepts::Set< uint > & attribute() const
Returns the setted attributes.
GridInfo(const concepts::SpaceOnCells< F > &spc, const concepts::Set< uint > &edgeAttr)
Constructor.
concepts::HashMap< concepts::Sequence< UnderlyingElement > > EdgeToElms
Definition: gridInfo.hh:45
const EdgeToElms & get(Type type) const
Returns a map from requested edge keys to underlying elements.
bool activeEdge_(const concepts::Set< uint > &edgeAttr, const concepts::Connector1 &edge) const
Definition: gridInfo.hh:139
void build_(const concepts::SpaceOnCells< F > &spc, const concepts::Set< uint > edgeAttr)
Builds the maps with respect to input space and requested edges defined by attributes edgeAttr.
concepts::HashMap< concepts::Sequence< uint > > CoarseToSuccessor
Definition: gridInfo.hh:46
const CoarseToSuccessor & get() const
Returns a map from coarse irregular edges to sequence of keys, that represent successor (small irregu...
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
Type
Enumeration for type of grid edges regular = a regular edge, edge with two neighbouring cells,...
Definition: gridInfo.hh:59
Class that represents grid information of a given 2d Fem space.
Definition: gridInfo.hh:42
concepts::ElementAndFacette< hp2D::Element< F > > UnderlyingElement
Definition: gridInfo.hh:44
EdgeToElms map_cIrr
Map from irregular coarse edge to its underlying (active) space element.
Definition: gridInfo.hh:119
void get_sIrr_(const concepts::Connector1 *edge, uint cE, const std::set< uint > &edge_1, std::set< uint > &edge_s, concepts::HashMap< concepts::Sequence< uint > > &cChld) const
Recursive method that iterates over all successors until either no successor available or successor h...
EdgeToElms map_sIrr
Map from irregular successor edge to its underlying (active) space element.
Definition: gridInfo.hh:125
Definition: hashMap.hh:19
Container for an element and one facette (edge or face).
Definition: element.hh:113
CoarseToSuccessor map_CtS
Map from coarse irregular edge key to successor edge keys in order.
Definition: gridInfo.hh:136