Class documentation of Concepts

Loading...
Searching...
No Matches

#include <cell2D.hh>

Inheritance diagram for concepts::InfiniteRect2d:
concepts::InfiniteQuad2d concepts::Cell2 concepts::Cell concepts::OutputOperator

Public Member Functions

 InfiniteRect2d (InfiniteQuad &cntr, const Real2d &vtx0, const Real2d &vtx1)
 
virtual InfiniteRect2dchild (uint i)
 
virtual const InfiniteRect2dchild (uint i) const
 
bool hasChildren () const
 
virtual Real2d chi (Real xi, Real eta) const
 
Real3d elemMap (const Real2d &coord_local) const
 Element map from point local coordinates in 2D.
 
virtual MapReal2d jacobian (const Real xi, const Real eta) const
 
Real3d center () const
 Makes no sense. Calling throws an exception.
 
InfiniteRect2dclone (InfiniteQuad &cntr, const Real2d &vtx0, const Real2d &vtx1) const
 Returns a copy of itself.
 
Real3d vertex (uint i) const
 Returns the coordinates of the ith vertex.
 
InfiniteQuadconnector () const
 Returns the quadrilateral connector (topology)
 
virtual Real3d elemMap (const Real3d &coord_local) const
 
virtual Real3d elemMap (const Real coord_local) const
 Element map from point local coordinates in 1D.
 

Protected Member Functions

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

Detailed Description

A 2D cell: infinite rectangle. If a infinite rectangle is subdivided, two new infinite infinite rectangles are created. This happens automatically, if a child is requested

See also
Cell for more information on cells in a mesh.

Definition at line 647 of file cell2D.hh.

Constructor & Destructor Documentation

◆ InfiniteRect2d()

concepts::InfiniteRect2d::InfiniteRect2d ( InfiniteQuad cntr,
const Real2d vtx0,
const Real2d vtx1 
)

Constructor. Takes the connector cntr and the element map map and creates a cell.

Parameters
cntrTopological information of the infinite quadrilateral
mapElement map of the quadrilateral

Member Function Documentation

◆ center()

Real3d concepts::InfiniteRect2d::center ( ) const
virtual

Makes no sense. Calling throws an exception.

Implements concepts::Cell2.

◆ chi()

virtual Real2d concepts::InfiniteRect2d::chi ( Real  xi,
Real  eta 
) const
virtual

Evaluates the element map. Maps a point from the the reference coordinates in [0,1][0,\infty) onto the physical coordinates.

Returns
Point in 2D in physical coordinates.
Parameters
xi$\in [0,1]$
eta$\in [0,\infty)$

Implements concepts::InfiniteQuad2d.

◆ child() [1/2]

virtual InfiniteRect2d * concepts::InfiniteRect2d::child ( uint  i)
virtual

Returns a child. If no children exist, four new children are created. The quadrilateral is cut into four new quadrilaterals by joining the midpoints of its edges.

Parameters
iIndex of the child to be returned.

Implements concepts::Cell2.

◆ child() [2/2]

virtual const InfiniteRect2d * concepts::InfiniteRect2d::child ( uint  i) const
virtual

Returns a child. If no children exist, none are created and 0 is returned.

Parameters
iIndex of the child to be returned.

Implements concepts::Cell2.

◆ clone()

InfiniteRect2d * concepts::InfiniteRect2d::clone ( InfiniteQuad cntr,
const Real2d vtx0,
const Real2d vtx1 
) const
inline

Returns a copy of itself.

Definition at line 690 of file cell2D.hh.

◆ connector()

InfiniteQuad & concepts::InfiniteQuad2d::connector ( ) const
inlinevirtualinherited

Returns the quadrilateral connector (topology)

Implements concepts::Cell2.

Definition at line 628 of file cell2D.hh.

◆ elemMap() [1/3]

virtual Real3d concepts::Cell::elemMap ( const Real  coord_local) const
virtualinherited

Element map from point local coordinates in 1D.

Reimplemented in concepts::SphericalSurface3d, concepts::Sphere3d, concepts::Edge1d, and concepts::Edge2d.

◆ elemMap() [2/3]

Real3d concepts::InfiniteRect2d::elemMap ( const Real2d coord_local) const
inlinevirtual

Element map from point local coordinates in 2D.

Implements concepts::Cell2.

Definition at line 679 of file cell2D.hh.

◆ elemMap() [3/3]

virtual Real3d concepts::Cell2::elemMap ( const Real3d coord_local) const
inlinevirtualinherited

Element map from point local coordinates in 3D

Reference element is 2D, third component is omitted.

Reimplemented from concepts::Cell.

Definition at line 104 of file cell.hh.

◆ hasChildren()

bool concepts::InfiniteRect2d::hasChildren ( ) const
inline

Definition at line 668 of file cell2D.hh.

◆ info()

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

Returns information in an output stream.

Reimplemented from concepts::InfiniteQuad2d.

◆ jacobian()

virtual MapReal2d concepts::InfiniteRect2d::jacobian ( const Real  xi,
const Real  eta 
) const
virtual

◆ vertex()

Real3d concepts::InfiniteQuad2d::vertex ( uint  i) const
virtualinherited

Returns the coordinates of the ith vertex.

Implements concepts::Cell2.


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