patches.hh
Go to the documentation of this file.
22 //i is the local dof i = 0,1 , p[0]+1, p[0]+2 of nodal bases on the vtx n of the Patch corresponding to the quad
96 };
533 //Sets holding all appearing Patchsizes that exist in the given spaceMesh. Set is empty if the kind of Patch does not exist.
540 // Method collect necessary informations to sort patches later, i.e. it fills the EtoQuadmap and the rEdge-mappings.
541 // Furthermore ElmPatches get filled with its belonging Elm-Keys, but unsorted. Then the correct Patchsize is known.
542 void addElementInformation_(const hp2D::Quad<Real>* elmH, HashMap<Set<uint> >& EtoQuadmap, HashMap<HashMap<uint> >& rEdge);
544 // Method sorts the Element-Patches (with rEdge, and EtoElmMap) with overwriting and collect the Patch-sizes.
545 void completeElmPatches_(const HashMap<Set<uint> >& EtoQuadmap,const HashMap<HashMap<uint> >& rEdge);
HashMap< EdgePatch > map_
HashMap representing the map for being a node key.
Definition: patches.hh:477
Definition: patches.hh:44
bool appearingSizes(concepts::Set< uint > &set, const enum ElementPatch::PatchType type) const
Method returns the appearing sizes of a given PatchType given in the.
bool exist(uint elmKey)
Checks for existing of a key of an element in the Patch.
std::ostream & info(std::ostream &os) const
Returns information in an output stream.
void push_back(uint edgeKey, concepts::Z2 i)
Modified push_back routine that just adds a new edgeKey iff its not already in that EdgePatch.
Definition: patches.hh:14
EdgePatch & operator[](uint noVtx)
Access operator to a Edgepatch corresponding to input keynumber.
Definition: patches.hh:453
const VtxToElmSupportMap & vtxToElmSupportMap() const
Definition: patches.hh:501
concepts::Set< uint > ndPatchsizes_
Definition: patches.hh:536
void typeUpdateR(concepts::Boundary type)
Definition: patches.hh:208
void addElementInformation_(const hp2D::Quad< Real > *elmH, HashMap< Set< uint > > &EtoQuadmap, HashMap< HashMap< uint > > &rEdge)
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
Definition: patches.hh:38
ElementPatch & operator[](uint noVtx)
Access operator to a Elementpatch corresponding to input keynumber.
Definition: patches.hh:390
Definition: patches.hh:20
Class holding the Keys of the Edges around a vertex of a regular Patch.
Definition: patches.hh:265
concepts::Set< uint > dnPatchsizes_
Definition: patches.hh:537
HashMap< ElementPatch >::iterator iterator
Definition: patches.hh:342
Class representing the map from Node keys to ElementPatches.
Definition: patches.hh:339
void typeUpdateL(concepts::Boundary type)
Definition: patches.hh:204
virtual ~VtxToElmSupportMap()
Definition: patches.hh:360
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
Definition: patches.hh:65
Boundary getBoundaryEdgeType(uint i) const
Method that returns Boundary of the requested BoundaryEdges in the Patch ( i=0,1 ).
HashMap< EdgePatch >::iterator iterator
Definition: patches.hh:423
concepts::Set< uint > innerPatchsizes_
Definition: patches.hh:534
void completeEdgePatches_(const HashMap< HashMap< uint > > &rEdge)
std::ostream & info(std::ostream &os) const
Returns information in an output stream.
EdgePatch()
Default Constructor, does nothing since this class is builded with its routines.
Definition: patches.hh:276
void insert1st(uint edgeKey, concepts::Z2 i)
Method to add the (unique) key at the first position in the ElementPatch.
Sequence with operations, output operator, and method of the particular element types.
Definition: sequence.hh:39
HashMap< ElementPatch >::const_iterator const_iterator
Definition: patches.hh:343
void insert1st(uint elmKey, uint i)
Definition: hashMap.hh:19
const concepts::BoundaryConditions & boundaryInfo() const
Definition: patches.hh:506
Sequence< quad_loc >::const_iterator const_iterator
Definition: patches.hh:99
Class representing the map from vertex keys to EdgePatches.
Definition: patches.hh:420
Sequence< edge_dof >::const_iterator const_iterator
Definition: patches.hh:271
concepts::Set< uint > ddPatchsizes_
Definition: patches.hh:538
concepts::Set< uint > nnPatchsizes_
Definition: patches.hh:535
VtxToPatchMaps(const Space< F > &spc, BoundaryConditions &bc)
void push_back(uint elmKey, uint i)
Method to insert a (unique) key of an Element.
Class to build up maps form Vertexkeys to EdgePatches or ElementPatches.
Definition: patches.hh:486
HashMap< EdgePatch >::const_iterator const_iterator
Definition: patches.hh:424
virtual ~VtxToEdgeSupportMap()
Definition: patches.hh:428
HashMap< ElementPatch > map_
HashMap representing the map for being a node key.
Definition: patches.hh:414
std::ostream & info(std::ostream &os) const
Returns information in an output stream.
void completeElmPatches_(const HashMap< Set< uint > > &EtoQuadmap, const HashMap< HashMap< uint > > &rEdge)
const VtxToEdgeSupportMap & vtxToEdgeSupportMap() const
Definition: patches.hh:496