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

Public Types | Public Member Functions | Protected Member Functions | Private Attributes
hp2Dedge::Edge< F > Class Template Reference

An edge of a 2D FEM edge element quad. More...

#include <quad.hh>

Inheritance diagram for hp2Dedge::Edge< F >:
Inheritance graph
[legend]
Collaboration diagram for hp2Dedge::Edge< F >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef F type

Public Member Functions

concepts::Real2d chi (const Real t) const
 Computes the element map.
Real diffElement (const Real t) const
 Computes the differential element for integration over [-1,1].
const ushort direction () const
 Returns direction of edge on reference quad [0,1]^2, 0 - x, 1 - y.
const ushort edge () const
 Returns number of the edge.
 Edge (const Quad< F > &elm, const ushort k)
 Constructor.
const Quad< F > & elm () const
 Returns element.
virtual const ElementGraphics
< F > * 
graphics () const
const concepts::QuadratureRuleintegration () const
 Returns the integration rule.
concepts::MapReal2d jacobian (const Real t) const
 Computes the Jacobian matrix of element transformation on the edge.
Real jacobianDeterminant (const Real t) const
 Computes the determinant of the Jacobian.
concepts::MapReal2d jacobianInverse (const Real t) const
 Computes the inverse of the Jacobian.
concepts::Real2d localCoords (const Real t) const
 coordinate of point on the edge inside reference element [0,1]^2
const KarniadakisDeriv2shpfct () const
const Real sign () const
 Returns sign of outer normal vector, e.g. left edge -1, right edge +1.
virtual const concepts::Edgesupport () const
virtual const
concepts::TMatrixBase< F > & 
T () const
 T-Matrix of the appropiate Quad, not used.
uint & tag ()
 Returns the tag.
concepts::Real2d vertex (uint i) const
virtual ~Edge ()

Protected Member Functions

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

Private Attributes

const Quad< F > & elm_
 The element.
const concepts::QuadratureRuleint_
 The integration rule.
const ushort k_
 The number of the edge.
const ushort l_
 Direction of edge on reference element, 0 - x, 1 - y.
const KarniadakisDeriv2shpfct_
 The shape functions.
const concepts::TMatrixBase< F > * T_
 T matrix from edge dof to element dof.
concepts::Real x_
 Local coordinate on the element, perpendicular to edge, e.g.

Detailed Description

template<class F = Real>
class hp2Dedge::Edge< F >

An edge of a 2D FEM edge element quad.

Useful for integration over the edge, in a bilinearform or linearform. E.g. hp2Dedge::Dirichlet need it to calculate the local coefficients.

Definition at line 175 of file quad.hh.


Member Typedef Documentation

template<class F>
typedef F concepts::Element< F >::type [inherited]

Definition at line 53 of file element.hh.


Constructor & Destructor Documentation

template<class F = Real>
hp2Dedge::Edge< F >::Edge ( const Quad< F > &  elm,
const ushort  k 
)

Constructor.

Parameters:
elmelement, on which the edge lies
knumber of edge, 0 - left, 1 - upper, 2 - right, 3 - bottom
template<class F = Real>
virtual hp2Dedge::Edge< F >::~Edge ( ) [virtual]

Member Function Documentation

template<class F = Real>
concepts::Real2d hp2Dedge::Edge< F >::chi ( const Real  t) const [inline]

Computes the element map.

The reference element is [0,1]

Definition at line 224 of file quad.hh.

Here is the call graph for this function:

template<class F = Real>
Real hp2Dedge::Edge< F >::diffElement ( const Real  t) const [inline]

Computes the differential element for integration over [-1,1].

Definition at line 246 of file quad.hh.

template<class F = Real>
const ushort hp2Dedge::Edge< F >::direction ( ) const [inline]

Returns direction of edge on reference quad [0,1]^2, 0 - x, 1 - y.

Definition at line 200 of file quad.hh.

template<class F = Real>
const ushort hp2Dedge::Edge< F >::edge ( ) const [inline]

Returns number of the edge.

Definition at line 194 of file quad.hh.

template<class F = Real>
const Quad<F>& hp2Dedge::Edge< F >::elm ( ) const [inline]

Returns element.

Definition at line 197 of file quad.hh.

template<class F>
virtual const ElementGraphics<F>* concepts::Element< F >::graphics ( ) const [inline, virtual, inherited]
template<class F = Real>
virtual std::ostream& hp2Dedge::Edge< F >::info ( std::ostream &  os) const [protected, virtual]

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

template<class F = Real>
const concepts::QuadratureRule* hp2Dedge::Edge< F >::integration ( ) const [inline]

Returns the integration rule.

Definition at line 211 of file quad.hh.

template<class F = Real>
concepts::MapReal2d hp2Dedge::Edge< F >::jacobian ( const Real  t) const [inline]

Computes the Jacobian matrix of element transformation on the edge.

Definition at line 232 of file quad.hh.

Here is the call graph for this function:

template<class F = Real>
Real hp2Dedge::Edge< F >::jacobianDeterminant ( const Real  t) const [inline]

Computes the determinant of the Jacobian.

Definition at line 242 of file quad.hh.

Here is the call graph for this function:

template<class F = Real>
concepts::MapReal2d hp2Dedge::Edge< F >::jacobianInverse ( const Real  t) const [inline]

Computes the inverse of the Jacobian.

Definition at line 238 of file quad.hh.

Here is the call graph for this function:

template<class F = Real>
concepts::Real2d hp2Dedge::Edge< F >::localCoords ( const Real  t) const [inline]

coordinate of point on the edge inside reference element [0,1]^2

Definition at line 215 of file quad.hh.

template<class F = Real>
const KarniadakisDeriv2* hp2Dedge::Edge< F >::shpfct ( ) const [inline]

Definition at line 208 of file quad.hh.

template<class F = Real>
const Real hp2Dedge::Edge< F >::sign ( ) const [inline]

Returns sign of outer normal vector, e.g. left edge -1, right edge +1.

Definition at line 203 of file quad.hh.

template<class F = Real>
virtual const concepts::Edge& hp2Dedge::Edge< F >::support ( ) const [inline, virtual]

Definition at line 190 of file quad.hh.

template<class F = Real>
virtual const concepts::TMatrixBase<F>& hp2Dedge::Edge< F >::T ( ) const [inline, virtual]

T-Matrix of the appropiate Quad, not used.

Implements concepts::Element< F >.

Definition at line 253 of file quad.hh.

template<class F>
uint& concepts::Element< F >::tag ( ) [inline, inherited]

Returns the tag.

Definition at line 65 of file element.hh.

template<class F = Real>
concepts::Real2d hp2Dedge::Edge< F >::vertex ( uint  i) const [inline]

Definition at line 185 of file quad.hh.

Here is the call graph for this function:


Member Data Documentation

template<class F = Real>
const Quad<F>& hp2Dedge::Edge< F >::elm_ [private]

The element.

Definition at line 258 of file quad.hh.

template<class F = Real>
const concepts::QuadratureRule* hp2Dedge::Edge< F >::int_ [private]

The integration rule.

Definition at line 270 of file quad.hh.

template<class F = Real>
const ushort hp2Dedge::Edge< F >::k_ [private]

The number of the edge.

Definition at line 260 of file quad.hh.

template<class F = Real>
const ushort hp2Dedge::Edge< F >::l_ [private]

Direction of edge on reference element, 0 - x, 1 - y.

Definition at line 262 of file quad.hh.

template<class F = Real>
const KarniadakisDeriv2* hp2Dedge::Edge< F >::shpfct_ [private]

The shape functions.

Definition at line 268 of file quad.hh.

template<class F = Real>
const concepts::TMatrixBase<F>* hp2Dedge::Edge< F >::T_ [private]

T matrix from edge dof to element dof.

Definition at line 272 of file quad.hh.

template<class F = Real>
concepts::Real hp2Dedge::Edge< F >::x_ [private]

Local coordinate on the element, perpendicular to edge, e.g.

on left x_ = 0

Definition at line 266 of file quad.hh.


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

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