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

Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
concepts::PartMappingQuad2d Class Reference

Part of a map of a quadrilateral. More...

#include <elementMaps.hh>

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

List of all members.

Public Member Functions

virtual PartMappingQuad2dclone () const
 Virtual copy constructor.
virtual MappingEdge2dedge (const uint edge) const
 Returns a copy of the edge mapping of one edge.
virtual MapReal2d hessian (uint i, const Real x, const Real y) const
 Returns the Hessian in a 2D linear map.
virtual MapReal2d jacobian (const Real x, const Real y) const
 Returns the Jacobian in a 2D linear map.
virtual Real jacobianDeterminant (const Real x, const Real y) const
 Returns determinant of the Jacobian.
virtual MapReal2d jacobianInverse (const Real x, const Real y) const
 Returns the inverse of the Jacobian in a 2D linear map.
virtual Real lineElement (const Real x, const uint edge) const
 Returns factor of differential element integrating over an edge.
virtual Real2d operator() (Real x, Real y) const
 Application operator.
virtual MappingQuad2dpart (const Real2d x0, const Real2d y0) const
 Returns a new object of an element map for a rectangular part of the reference cell defined by the two points.
 PartMappingQuad2d (const MappingQuad2d &map, const Real2d xi0, const Real2d xi1)
 Constructor.
 PartMappingQuad2d (const PartMappingQuad2d &map)
 Copy Constructor.
virtual bool straight () const

Protected Member Functions

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

Private Member Functions

const Real2d xi_ (const Real x, const Real y) const
 Returns the parameter in the original mapping.

Private Attributes

const Real2d d_
 Vector from the lower left to the upper right vertex in the reference cell of original map.
std::auto_ptr< const
MappingQuad2d
map_
 Original edge map.
const Real2d x0_
 Parameter of the lower left vertex in the reference cell of the original map.

Detailed Description

Part of a map of a quadrilateral.

Author:
, Kersten Schmidt, 2009

Definition at line 918 of file elementMaps.hh.


Constructor & Destructor Documentation

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

Constructor.

Parameters:
maporiginal element map
x0,x1lower left and upper right point in the rectangle in the reference cell
concepts::PartMappingQuad2d::PartMappingQuad2d ( const PartMappingQuad2d map)

Copy Constructor.


Member Function Documentation

virtual PartMappingQuad2d* concepts::PartMappingQuad2d::clone ( ) const [virtual]

Virtual copy constructor.

Implements concepts::MappingQuad2d.

virtual MappingEdge2d* concepts::PartMappingQuad2d::edge ( const uint  edge) const [virtual]

Returns a copy of the edge mapping of one 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:
edgenumber of edge, i.e. 0 - lower, 1 - right, 2 - upper, 3 - left

Reimplemented from concepts::MappingQuad2d.

virtual MapReal2d concepts::PartMappingQuad2d::hessian ( uint  i,
const Real  x,
const Real  y 
) const [virtual]

Returns the Hessian in a 2D linear map.

Parameters:
icoordinate (0 = x, 1 = y)

Implements concepts::MappingQuad2d.

virtual std::ostream& concepts::PartMappingQuad2d::info ( std::ostream &  os) const [protected, virtual]

Returns information in an output stream.

Reimplemented from concepts::MappingQuad2d.

virtual MapReal2d concepts::PartMappingQuad2d::jacobian ( const Real  x,
const Real  y 
) const [virtual]

Returns the Jacobian in a 2D linear map.

Implements concepts::MappingQuad2d.

virtual Real concepts::MappingQuad2d::jacobianDeterminant ( const Real  x,
const Real  y 
) const [virtual, inherited]

Returns determinant of the Jacobian.

virtual MapReal2d concepts::MappingQuad2d::jacobianInverse ( const Real  x,
const Real  y 
) const [virtual, inherited]

Returns the inverse of the Jacobian in a 2D linear map.

virtual Real concepts::MappingQuad2d::lineElement ( const Real  x,
const uint  edge 
) const [virtual, inherited]

Returns factor of differential element integrating over an edge.

The factor is either $\sqrt{J_{11}^2+J_{21}^2}$ or $\sqrt{J_{12}^2+J_{22}^2}$.

The routine exists explicitly because it is more efficient to implement it than to use jacobian itself, i.e. for affine elements the line element is constant.

Parameters:
xlocal variable on edge (in [0,1]), stands for $\xi_1$ or $\xi_2$
edgenumber of edge, i.e. 0: $\xi_2 = 0$, 1: $\xi_1 = 1$, 2: $\xi_2 = 1$, 3: $\xi_1 = 0$

Reimplemented in concepts::BlendingQuad2d.

virtual Real2d concepts::PartMappingQuad2d::operator() ( Real  x,
Real  y 
) const [virtual]

Application operator.

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

Implements concepts::MappingQuad2d.

virtual MappingQuad2d* concepts::MappingQuad2d::part ( const Real2d  x0,
const Real2d  y0 
) const [virtual, inherited]

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

Reimplemented in concepts::VertexQuad2d.

virtual bool concepts::Map2d::straight ( ) const [inline, virtual, inherited]

Reimplemented in concepts::VertexTriangle2d, and concepts::VertexQuad2d.

Definition at line 35 of file elementMaps.hh.

const Real2d concepts::PartMappingQuad2d::xi_ ( const Real  x,
const Real  y 
) const [inline, private]

Returns the parameter in the original mapping.

Definition at line 954 of file elementMaps.hh.


Member Data Documentation

Vector from the lower left to the upper right vertex in the reference cell of original map.

Definition at line 951 of file elementMaps.hh.

std::auto_ptr<const MappingQuad2d> concepts::PartMappingQuad2d::map_ [private]

Original edge map.

Definition at line 943 of file elementMaps.hh.

Parameter of the lower left vertex in the reference cell of the original map.

Definition at line 947 of file elementMaps.hh.


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

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