A 2D cell: infinite quadrilateral. More...

#include <cell2D.hh>

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

Public Member Functions

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

Protected Member Functions

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

Private Attributes

InfiniteQuadcntr_
 Reference to the quadrilateral connector (topology) More...
 
Real2d vtx_ [2]
 Vertices. More...
 

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 610 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::Quad3d, concepts::Triangle3d, concepts::InfiniteRect2d, concepts::Quad2d, and concepts::Triangle2d.

◆ 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::Quad3d, concepts::Triangle3d, concepts::InfiniteRect2d, concepts::Quad2d, and concepts::Triangle2d.

◆ connector()

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

Returns the quadrilateral connector (topology)

Implements concepts::Cell2.

Definition at line 629 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::Edge2d, concepts::Edge1d, concepts::Sphere3d, and concepts::SphericalSurface3d.

◆ 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::Quad3d, concepts::Triangle3d, concepts::InfiniteRect2d, concepts::Quad2d, and concepts::Triangle2d.

◆ 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.

◆ jacobian()

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

Implemented in concepts::InfiniteRect2d.

◆ vertex()

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

Returns the coordinates of the ith vertex.

Implements concepts::Cell2.

Member Data Documentation

◆ cntr_

InfiniteQuad& concepts::InfiniteQuad2d::cntr_
private

Reference to the quadrilateral connector (topology)

Definition at line 636 of file cell2D.hh.

◆ vtx_

Real2d concepts::InfiniteQuad2d::vtx_[2]
private

Vertices.

Definition at line 634 of file cell2D.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