Class documentation of Concepts

Loading...
Searching...
No Matches
concepts::InfiniteQuad2d Class Referenceabstract

#include <cell2D.hh>

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

Public Member Functions

 InfiniteQuad2d (InfiniteQuad &cntr, const Real2d &vtx0, const Real2d &vtx1)
 
virtual Real2d chi (Real xi, Real eta) const =0
 
Real3d vertex (uint i) const
 Returns the coordinates of the ith vertex.
 
virtual MapReal2d jacobian (const Real xi, const Real eta) const =0
 
InfiniteQuadconnector () const
 Returns the quadrilateral connector (topology)
 
virtual Cell2child (uint i)=0
 
virtual const Cell2child (uint i) const =0
 
virtual Real3d center () const =0
 Returns the center of the cell.
 
virtual Real3d elemMap (const Real2d &coord_local) const =0
 Element map from point local coordinates in 2D.
 
virtual Real3d elemMap (const Real3d &coord_local) const
 
virtual Real3d elemMap (const Real coord_local) const
 Element map from point local coordinates in 1D.
 
bool hasChildren () const
 Returns true if there is a least one child.
 

Protected Member Functions

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

Detailed Description

A 2D cell: infinite quadrilateral. Abstract class.

The reference cell is $[0,1]\times[0,\infty)$.

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

Definition at line 609 of file cell2D.hh.

Constructor & Destructor Documentation

◆ InfiniteQuad2d()

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

Constructor

vtx0 vertex of first infinite edge vtx1 vertex of second infinite edge

The infinite edge is in the direction the left normal of the edge from vtx0 to vtx1.

Member Function Documentation

◆ center()

virtual Real3d concepts::Cell2::center ( ) const
pure virtualinherited

◆ chi()

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

Implemented in concepts::InfiniteRect2d.

◆ child() [1/2]

virtual const Cell2 * concepts::Cell2::child ( uint  i) const
pure virtualinherited

Returns a pointer to the ith child. Children are not created if they do not already exist, instead 0 is returned.

Implements concepts::Cell.

Implemented in concepts::Triangle2d, concepts::Quad2d, concepts::InfiniteRect2d, concepts::Triangle3d, and concepts::Quad3d.

◆ child() [2/2]

virtual Cell2 * concepts::Cell2::child ( uint  i)
pure virtualinherited

Returns a pointer to the ith child. Children are created if they do not already exist.

Implements concepts::Cell.

Implemented in concepts::Triangle2d, concepts::Quad2d, concepts::InfiniteRect2d, concepts::Triangle3d, and concepts::Quad3d.

◆ connector()

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

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]

virtual Real3d concepts::Cell2::elemMap ( const Real2d coord_local) const
pure virtualinherited

Element map from point local coordinates in 2D.

Reimplemented from concepts::Cell.

Implemented in concepts::Triangle2d, concepts::Quad2d, concepts::InfiniteRect2d, concepts::Triangle3d, and concepts::Quad3d.

◆ 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::Cell::hasChildren ( ) const
inlineinherited

Returns true if there is a least one child.

Definition at line 50 of file cell.hh.

◆ info()

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

Returns information in an output stream.

Implements concepts::Cell.

Reimplemented in concepts::InfiniteRect2d.

◆ vertex()

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

Returns the coordinates of the ith vertex.

Implements concepts::Cell2.


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