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

Public Member Functions | Protected Member Functions | Protected Attributes
concepts::MappingEdge2d Class Reference

A 2D element map for an edge. More...

#include <elementMaps.hh>

Inheritance diagram for concepts::MappingEdge2d:
Inheritance graph
[legend]
Collaboration diagram for concepts::MappingEdge2d:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual MappingEdge2dclone () const =0
 Virtual copy constructor.
virtual Real curvature (const Real t, uint n=0) const
 Returns the n-th derivative of the curvature.
virtual Real2d derivative (const Real t, const uint n=1) const =0
 Returns the n-th derivative.
virtual MappingEdge2dinverse () const
 Returns the mapping of the edge in inverse direction.
 MappingEdge2d (const MappingEdge2d &edgemap)
 Copy Constructor.
 MappingEdge2d (const Real2d vtx0, const Real2d vtx1)
 Constructor.
Real2d n0 (const Real t) const
 Returns the normalised right normal vector.
virtual Real2d normal (const Real t) const
 Returns the right normal vector, length is that of the derivative.
virtual Real2d operator() (const Real t) const =0
 Application operator.
virtual MappingEdge2dpart (const Real t0, const Real t1) const
 Returns a new object of an element map for a rectangular part of the reference cell defined by the two points.
const Real2dvtx (uint i) const
 Spit out one vertex of the edge.

Protected Member Functions

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

Protected Attributes

Real2d vtx_ [2]
 Coordinates of the vertices at either end of the edge.

Detailed Description

A 2D element map for an edge.

The parameter domain is the unit intervall [0,1].

Abstract class. In derived classes for curved edges operator() and jacobian() has to be implemented.

Author:
, Kersten Schmidt, 2004

Definition at line 82 of file elementMaps.hh.


Constructor & Destructor Documentation

concepts::MappingEdge2d::MappingEdge2d ( const Real2d  vtx0,
const Real2d  vtx1 
)

Constructor.

Parameters:
vtx0,vtx1coordinates of the vertices
concepts::MappingEdge2d::MappingEdge2d ( const MappingEdge2d edgemap)

Copy Constructor.


Member Function Documentation

virtual MappingEdge2d* concepts::MappingEdge2d::clone ( ) const [pure virtual]
virtual Real concepts::MappingEdge2d::curvature ( const Real  t,
uint  n = 0 
) const [virtual]

Returns the n-th derivative of the curvature.

It's implemented in general for n = 0,1 and works with curved edges. Can be overwritten in derived classes for performance reasons.

Reimplemented in concepts::InverseMappingEdge2d, concepts::MappingStraightEdge2d, concepts::CircleMappingEdge2d, and concepts::MappingParallelEdge2d.

virtual Real2d concepts::MappingEdge2d::derivative ( const Real  t,
const uint  n = 1 
) const [pure virtual]
virtual std::ostream& concepts::MappingEdge2d::info ( std::ostream &  os) const [protected, virtual]
virtual MappingEdge2d* concepts::MappingEdge2d::inverse ( ) const [virtual]
Real2d concepts::MappingEdge2d::n0 ( const Real  t) const [inline]

Returns the normalised right normal vector.

Reimplemented in concepts::MappingParallelEdge2d.

Definition at line 105 of file elementMaps.hh.

Here is the call graph for this function:

virtual Real2d concepts::MappingEdge2d::normal ( const Real  t) const [virtual]

Returns the right normal vector, length is that of the derivative.

virtual Real2d concepts::MappingEdge2d::operator() ( const Real  t) const [pure virtual]
virtual MappingEdge2d* concepts::MappingEdge2d::part ( const Real  t0,
const Real  t1 
) const [virtual]

Returns a new object of an element map for a rectangular part of the reference cell defined by the two points.

Reimplemented in concepts::InverseMappingEdge2d, concepts::MappingStraightEdge2d, concepts::CircleMappingEdge2d, concepts::EllipseMappingEdge2d, concepts::ParabelMappingEdge2d, and concepts::MappingParallelEdge2d.

const Real2d& concepts::MappingEdge2d::vtx ( uint  i) const [inline]

Spit out one vertex of the edge.

Definition at line 122 of file elementMaps.hh.


Member Data Documentation

Coordinates of the vertices at either end of the edge.

Definition at line 126 of file elementMaps.hh.


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

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