Class documentation of Concepts

Loading...
Searching...
No Matches
concepts::RelativeCells Class Reference

#include <meshRelations.hh>

Inheritance diagram for concepts::RelativeCells:
concepts::OutputOperator

Public Member Functions

 RelativeCells (std::vector< const Connector * > cells)
 
bool child (const PointInCell< 2 > P, PointInCell< 2 > &T) const
 
bool parent (const PointInCell< 2 > P, PointInCell< 2 > &T) const
 
PointInCell< 2 > finestCell (const PointInCell< 2 > P) const
 
PointInCell< 2 > coarsestCell (const PointInCell< 2 > P) const
 
void rebuildCells ()
 Rebuild the list of lowest level cells.
 

Protected Member Functions

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

Detailed Description

Class which holds information about the mesh hierarchy and how the point in the reference cell changes from level to level.

Only for edges, which are subdivided in the middle, and quadrilaterals, which are subdivided in four or two congruent quads.

Definition at line 60 of file meshRelations.hh.

Constructor & Destructor Documentation

◆ RelativeCells()

concepts::RelativeCells::RelativeCells ( std::vector< const Connector * >  cells)

Constructor

Parameters
cellsList of coarse cells

Member Function Documentation

◆ child()

bool concepts::RelativeCells::child ( const PointInCell< 2 >  P,
PointInCell< 2 > &  T 
) const

Child connector and associate point

Parameters
Pconnector and point in reference cell
Tchild connector and associate point in reference cell
Returns
true ok, false no child

◆ info()

virtual std::ostream & concepts::RelativeCells::info ( std::ostream &  os) const
inlineprotectedvirtual

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

Definition at line 90 of file meshRelations.hh.

◆ parent()

bool concepts::RelativeCells::parent ( const PointInCell< 2 >  P,
PointInCell< 2 > &  T 
) const

Parent connector and associate point

Parameters
Pconnector and point in reference cell
Tparent connector and associate point in reference cell
Returns
true ok, false no parent

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