A 2d inverse mapping from a sector to reference element. More...

#include <elementMaps.hh>

Inheritance diagram for concepts::InverseVertexQuadSector2d:
concepts::Map2d concepts::OutputOperator

Public Member Functions

virtual InverseVertexQuadSector2dclone () const
 
 InverseVertexQuadSector2d (const InverseVertexQuadSector2d &v)
 
 InverseVertexQuadSector2d (const Real2d vtx0, const Real2d vtx1, const Real2d vtx2, const Real2d vtx3)
 Constructor. More...
 
 InverseVertexQuadSector2d (const Sequence< Real2d > x)
 Constructor. More...
 
virtual bool is_inpatch (const Real2d x) const
 
virtual bool is_inregion (const Real2d x) const
 
virtual MapReal2d jacobian (const Real2d x) const
 
virtual Real2d operator() (const Real2d x) const
 
virtual bool straight () const
 
virtual ~InverseVertexQuadSector2d ()
 

Protected Member Functions

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

Private Member Functions

void construct_ (const Real2d vtx0, const Real2d vtx1, const Real2d vtx2, const Real2d vtx3)
 used in construtor, calculate values and assign to private variables More...
 

Private Attributes

Real2d sector_p_ [4]
 Sector points, namely vtx0~vtx3, using to decide the sector number. More...
 
Real2d vtx_ [4]
 helper vectors, vtx_0=vtx0, vtx_1,3=vtx1,3-vtx0, vtx2= -vtx1+vtx2-vtx3 More...
 

Detailed Description

A 2d inverse mapping from a sector to reference element.

The sector is given as a quadrilateral with four vertices. This class is used for PML in waveguide problem.

Author
, Mengyu Wang, 2011

Definition at line 987 of file elementMaps.hh.

Constructor & Destructor Documentation

◆ InverseVertexQuadSector2d() [1/3]

concepts::InverseVertexQuadSector2d::InverseVertexQuadSector2d ( const Real2d  vtx0,
const Real2d  vtx1,
const Real2d  vtx2,
const Real2d  vtx3 
)

Constructor.

vtx0~vtx3 are sector points, which are counter-clockwise

◆ InverseVertexQuadSector2d() [2/3]

concepts::InverseVertexQuadSector2d::InverseVertexQuadSector2d ( const Sequence< Real2d x)

Constructor.

x is the Sequence of sector points, which are counter-clockwise

◆ InverseVertexQuadSector2d() [3/3]

concepts::InverseVertexQuadSector2d::InverseVertexQuadSector2d ( const InverseVertexQuadSector2d v)

◆ ~InverseVertexQuadSector2d()

virtual concepts::InverseVertexQuadSector2d::~InverseVertexQuadSector2d ( )
virtual

Member Function Documentation

◆ clone()

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

◆ construct_()

void concepts::InverseVertexQuadSector2d::construct_ ( const Real2d  vtx0,
const Real2d  vtx1,
const Real2d  vtx2,
const Real2d  vtx3 
)
private

used in construtor, calculate values and assign to private variables

◆ info()

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

Returns information in an output stream.

Reimplemented from concepts::Map2d.

◆ is_inpatch()

virtual bool concepts::InverseVertexQuadSector2d::is_inpatch ( const Real2d  x) const
virtual

◆ is_inregion()

virtual bool concepts::InverseVertexQuadSector2d::is_inregion ( const Real2d  x) const
virtual

◆ jacobian()

virtual MapReal2d concepts::InverseVertexQuadSector2d::jacobian ( const Real2d  x) const
virtual

◆ operator()()

virtual Real2d concepts::InverseVertexQuadSector2d::operator() ( const Real2d  x) const
virtual

◆ straight()

virtual bool concepts::Map2d::straight ( ) const
inlinevirtualinherited

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

Definition at line 37 of file elementMaps.hh.

Member Data Documentation

◆ sector_p_

Real2d concepts::InverseVertexQuadSector2d::sector_p_[4]
private

Sector points, namely vtx0~vtx3, using to decide the sector number.

Definition at line 1014 of file elementMaps.hh.

◆ vtx_

Real2d concepts::InverseVertexQuadSector2d::vtx_[4]
private

helper vectors, vtx_0=vtx0, vtx_1,3=vtx1,3-vtx0, vtx2= -vtx1+vtx2-vtx3

Definition at line 1016 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