2D element map for an edge as part of an quad. More...

#include <elementMaps.hh>

Inheritance diagram for concepts::MappingQuadEdge2d:
concepts::MappingEdge2d concepts::Cloneable concepts::Map1d concepts::OutputOperator

Public Member Functions

virtual MappingQuadEdge2dclone () const
 Virtual copy constructor. More...
 
virtual Real curvature (const Real t, uint n=0) const
 Returns the n-th derivative of the curvature. More...
 
virtual Real2d derivative (const Real t, const uint n=1) const
 Returns the n-th derivative. More...
 
virtual MappingQuadEdge2dinverse () const
 Returns the mapping of the edge in inverse direction. More...
 
 MappingQuadEdge2d (const MappingQuad2d &map, const Real2d xi0, const Real2d xi1)
 Constructor for an locally straight edge inside the quad. More...
 
 MappingQuadEdge2d (const MappingQuad2d &map, const uint edge)
 Constructor for a real edge. More...
 
 MappingQuadEdge2d (const MappingQuadEdge2d &edgemap)
 Copy Constructor. More...
 
Real2d n0 (const Real t) const
 Returns the normalised right normal vector. More...
 
virtual Real2d normal (const Real t) const
 Returns the right normal vector, length is that of the derivative. More...
 
virtual Real2d operator() (const Real t) const
 Application operator. More...
 
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. More...
 
const Real2dvtx (uint i) const
 Spit out one vertex of the edge. More...
 

Protected Member Functions

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

Protected Attributes

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

Private Member Functions

const Real2d lcoord_ (const Real t) const
 
const Real2d lderiv_ (const Real t) const
 

Private Attributes

std::unique_ptr< MappingQuad2dmap_
 Mapping of the Quad. More...
 
Real2d xi_
 First vertex and direction of the edge in local coordinates. More...
 
Real2d xidiff_
 

Detailed Description

2D element map for an edge as part of an quad.

Author
, Kersten Schmidt, 2006

Definition at line 465 of file elementMaps.hh.

Constructor & Destructor Documentation

◆ MappingQuadEdge2d() [1/3]

concepts::MappingQuadEdge2d::MappingQuadEdge2d ( const MappingQuad2d map,
const uint  edge 
)

Constructor for a real edge.

The edge mappings are directed counter-clockwise, i.e. for the lower edge from the left lower vertex to the right lower one.

Parameters
mapmapping of the Quad
edgenumber of edge, i.e. 0 - lower, 1 - right, 2 - upper, 3 - left

◆ MappingQuadEdge2d() [2/3]

concepts::MappingQuadEdge2d::MappingQuadEdge2d ( const MappingQuad2d map,
const Real2d  xi0,
const Real2d  xi1 
)

Constructor for an locally straight edge inside the quad.

Parameters
mapmapping of the Quad
xi0local coordinates of first vertex
xi1local coordinates of second vertex

◆ MappingQuadEdge2d() [3/3]

concepts::MappingQuadEdge2d::MappingQuadEdge2d ( const MappingQuadEdge2d edgemap)

Copy Constructor.

Member Function Documentation

◆ clone()

virtual MappingQuadEdge2d* concepts::MappingQuadEdge2d::clone ( ) const
virtual

Virtual copy constructor.

Implements concepts::MappingEdge2d.

◆ curvature()

virtual Real concepts::MappingEdge2d::curvature ( const Real  t,
uint  n = 0 
) const
virtualinherited

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::MappingStraightEdge2d, concepts::InverseMappingEdge2d, concepts::MappingParallelEdge2d, and concepts::CircleMappingEdge2d.

◆ derivative()

virtual Real2d concepts::MappingQuadEdge2d::derivative ( const Real  t,
const uint  n = 1 
) const
virtual

Returns the n-th derivative.

Implements concepts::MappingEdge2d.

◆ info()

virtual std::ostream& concepts::MappingQuadEdge2d::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::MappingEdge2d.

◆ inverse()

virtual MappingQuadEdge2d* concepts::MappingQuadEdge2d::inverse ( ) const
inlinevirtual

Returns the mapping of the edge in inverse direction.

Reimplemented from concepts::MappingEdge2d.

Definition at line 492 of file elementMaps.hh.

◆ lcoord_()

const Real2d concepts::MappingQuadEdge2d::lcoord_ ( const Real  t) const
inlineprivate

Definition at line 504 of file elementMaps.hh.

◆ lderiv_()

const Real2d concepts::MappingQuadEdge2d::lderiv_ ( const Real  t) const
inlineprivate

Definition at line 508 of file elementMaps.hh.

◆ n0()

Real2d concepts::MappingEdge2d::n0 ( const Real  t) const
inlineinherited

Returns the normalised right normal vector.

Definition at line 107 of file elementMaps.hh.

◆ normal()

virtual Real2d concepts::MappingEdge2d::normal ( const Real  t) const
virtualinherited

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

◆ operator()()

virtual Real2d concepts::MappingQuadEdge2d::operator() ( const Real  t) const
virtual

Application operator.

Maps the point from the parameter domain onto the physical space.

Implements concepts::MappingEdge2d.

◆ part()

virtual MappingEdge2d* concepts::MappingEdge2d::part ( const Real  t0,
const Real  t1 
) const
virtualinherited

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

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

◆ vtx()

const Real2d& concepts::MappingEdge2d::vtx ( uint  i) const
inlineinherited

Spit out one vertex of the edge.

Definition at line 124 of file elementMaps.hh.

Member Data Documentation

◆ map_

std::unique_ptr<MappingQuad2d> concepts::MappingQuadEdge2d::map_
private

Mapping of the Quad.

Definition at line 499 of file elementMaps.hh.

◆ vtx_

Real2d concepts::MappingEdge2d::vtx_[2]
protectedinherited

Coordinates of the vertices at either end of the edge.

Definition at line 128 of file elementMaps.hh.

◆ xi_

Real2d concepts::MappingQuadEdge2d::xi_
private

First vertex and direction of the edge in local coordinates.

Definition at line 501 of file elementMaps.hh.

◆ xidiff_

Real2d concepts::MappingQuadEdge2d::xidiff_
private

Definition at line 501 of file elementMaps.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