Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Member Functions | Protected Member Functions | Private Member Functions
hp2D::QuadEdgeMean Class Reference

#include <edge.hh>

Inheritance diagram for hp2D::QuadEdgeMean:
Inheritance graph
[legend]
Collaboration diagram for hp2D::QuadEdgeMean:
Collaboration graph
[legend]

List of all members.

Public Member Functions

template<class F >
std::pair< hp1D::Element< F >
*, concepts::Edge2d * > 
edge (const Quad< F > &elm, const ushort k, bool emptyElm=true, hp1D::Element< F > *edge=0)
 Returns the element and the geometrical cell as pair belonging to the k th edge in the quadrilateral element elm.

Protected Member Functions

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

Private Member Functions

virtual Real weight_ (bool first, bool rho) const
 Returns the weight of the contribution of this cell to the edge.

Detailed Description

Definition at line 113 of file edge.hh.


Member Function Documentation

template<class F >
std::pair<hp1D::Element<F>*,concepts::Edge2d*> hp2D::QuadEdgeBase::edge ( const Quad< F > &  elm,
const ushort  k,
bool  emptyElm = true,
hp1D::Element< F > *  edge = 0 
) [inherited]

Returns the element and the geometrical cell as pair belonging to the k th edge in the quadrilateral element elm.

The polynomial degree and the T matrix are set properly.

The geometrical cell is included in the element as reference, so it has to be deleted after deletion of the element.

If edge is given than degrees of freedom are added by adapting the T-matrix. This is the case when taking trace from both sides of an edge (e.g., mean or jump). In that case the cell is not returned in the pair, i.e., the returned pointer to the cell (Edge2d) is 0.

Parameters:
emptyElmIncorporate also empty elements (no dof).
edgeElement to which dof are added (adaptation of T-matrix)
virtual std::ostream& hp2D::QuadEdgeMean::info ( std::ostream &  os) const [protected, virtual]

Returns information in an output stream.

Reimplemented from hp2D::QuadEdgeBase.

virtual Real hp2D::QuadEdgeMean::weight_ ( bool  first,
bool  rho 
) const [private, virtual]

Returns the weight of the contribution of this cell to the edge.

Parameters:
firstflag if this is first contribution for this edge
rhoorientation of the edge inside the quad (rho=1: clockwise)

Note, that in neighbouring cells the orientation of the edge is opposite.

Implements hp2D::QuadEdgeBase.


The documentation for this class was generated from the following file:

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)