estimator::LocalMesh2 Class Reference

This is a local Neighboorhood Mesh (i.e regular) of a given node (key = K), which content is a space Element (e.g. More...

#include <buergDoerfler.hh>

Inheritance diagram for estimator::LocalMesh2:
concepts::Mesh2 concepts::Mesh concepts::OutputOperator

Classes

class  S
 

Public Member Functions

uint boundary () const
 
virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream. More...
 
 LocalMesh2 (const concepts::MeshGraph2 &meshGraph, uint K)
 
uint ncell () const
 Returns the number of cells in the mesh. More...
 
concepts::Scan2scan ()
 Returns a scanner over the cells of the mesh. More...
 
const concepts::HashMap< const hp2D::Quad< Real > * > & sources () const
 
 ~LocalMesh2 ()
 

Private Attributes

uint bndAttrib_
 
concepts::HashMap< concepts::Quad2d * > cMap_
 
concepts::HashMap< const hp2D::Quad< Real > * > elms_
 
concepts::HashMap< concepts::Edge * > eMap_
 
concepts::HashMap< concepts::Quad * > qMap_
 
concepts::HashMap< concepts::Vertex * > vMap_
 

Detailed Description

This is a local Neighboorhood Mesh (i.e regular) of a given node (key = K), which content is a space Element (e.g.

a hp2D::Quad<Real>), and its neighbours in topological sense, that share a common edge (that makes the make regular).

The Quads vertices, edges, cells get copied to have a 1:1 copy of the geometric and topologic mesh, but without the dof distribution, since on the "boundary edges" we force dirichlet data in application.

The original Quads get collected, and the relation between original Quads and its clones, is access via key.

When clones get children we will need the relation kid to father cell, in order to build the projection of the solution on the nested mesh.

Definition at line 44 of file buergDoerfler.hh.

Constructor & Destructor Documentation

◆ LocalMesh2()

estimator::LocalMesh2::LocalMesh2 ( const concepts::MeshGraph2 meshGraph,
uint  K 
)

◆ ~LocalMesh2()

estimator::LocalMesh2::~LocalMesh2 ( )

Member Function Documentation

◆ boundary()

uint estimator::LocalMesh2::boundary ( ) const
inline

Definition at line 52 of file buergDoerfler.hh.

◆ info()

virtual std::ostream& estimator::LocalMesh2::info ( std::ostream &  os) const
inlinevirtual

Returns information in an output stream.

Reimplemented from concepts::Mesh.

Definition at line 59 of file buergDoerfler.hh.

◆ ncell()

uint estimator::LocalMesh2::ncell ( ) const
inlinevirtual

Returns the number of cells in the mesh.

Implements concepts::Mesh.

Definition at line 56 of file buergDoerfler.hh.

◆ scan()

concepts::Scan2* estimator::LocalMesh2::scan ( )
inlinevirtual

Returns a scanner over the cells of the mesh.

Postcondition
The scanner must be deleted after usage. This has to be done by the user.

Implements concepts::Mesh2.

Definition at line 57 of file buergDoerfler.hh.

◆ sources()

const concepts::HashMap<const hp2D::Quad<Real>* >& estimator::LocalMesh2::sources ( ) const
inline

Definition at line 54 of file buergDoerfler.hh.

Member Data Documentation

◆ bndAttrib_

uint estimator::LocalMesh2::bndAttrib_
private

Definition at line 84 of file buergDoerfler.hh.

◆ cMap_

concepts::HashMap<concepts::Quad2d*> estimator::LocalMesh2::cMap_
private

Definition at line 81 of file buergDoerfler.hh.

◆ elms_

concepts::HashMap<const hp2D::Quad<Real>* > estimator::LocalMesh2::elms_
private

Definition at line 88 of file buergDoerfler.hh.

◆ eMap_

concepts::HashMap<concepts::Edge*> estimator::LocalMesh2::eMap_
private

Definition at line 79 of file buergDoerfler.hh.

◆ qMap_

concepts::HashMap<concepts::Quad*> estimator::LocalMesh2::qMap_
private

Definition at line 80 of file buergDoerfler.hh.

◆ vMap_

concepts::HashMap<concepts::Vertex*> estimator::LocalMesh2::vMap_
private

Definition at line 78 of file buergDoerfler.hh.


The documentation for this class 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