concepts::SphericalSurface Class Reference
Topological spherical surface connector. More...
#include <sphereTopology.hh>
Public Member Functions | |
const Attribute & | attrib () const |
Returns the attribute of the connector. More... | |
const Quad * | child (uint i) const override |
Get i-th quadrilateral child. More... | |
Quad * | child (uint i, bool mode) override |
Get i-th quadrilateral child. More... | |
Connector1 * | edge (uint i) const override |
Required method by Connector2. More... | |
bool | hasChild (const Quad &quad) const |
Check if quad is a child of this connector. More... | |
std::ostream & | info (std::ostream &os) const override |
Returns information in an output stream. More... | |
const Key & | key () const |
Returns the key of the connector. More... | |
int | operator== (const Connector &cntr) const |
Comparison operator. More... | |
int | related (const Connector &conn) const |
Checks if this connector is related to conn . More... | |
void | setAttrib (uint attrb) |
SphericalSurface (const std::vector< Quad * > &quads=std::vector< Quad * >(0), const Attribute attrib=Attribute()) | |
Constructor accepting the children of the spherical surface. More... | |
Connector0 * | vertex (uint i) const override |
Required method by Connector2. More... | |
~SphericalSurface () override | |
Protected Attributes | |
Attribute | attrib_ |
Attribute. More... | |
Key | key_ |
Unique key of the connector. More... | |
Static Protected Attributes | |
static uint | cnt_ |
Counter for the connectors. More... | |
Private Attributes | |
std::vector< Quad * > | chld_ |
Quadrilateral children. More... | |
Detailed Description
Topological spherical surface connector.
In contrast to usual finite element connectors orientation flags are absent here. Quadrilateral connectors geometrically refining the surface are specified in a sequence.
- Todo:
Change to iterator based constructor
Introduce key counting on the base level of Connector, not ConnectorN since SphericalSurface currently incorrectly needs to derive from Connector2 (unique keys are required by mortar library)
Definition at line 23 of file sphereTopology.hh.
Constructor & Destructor Documentation
◆ SphericalSurface()
concepts::SphericalSurface::SphericalSurface | ( | const std::vector< Quad * > & | quads = std::vector< Quad * >(0) , |
const Attribute | attrib = Attribute() |
||
) |
Constructor accepting the children of the spherical surface.
◆ ~SphericalSurface()
|
override |
Member Function Documentation
◆ attrib()
|
inlineinherited |
Returns the attribute of the connector.
Definition at line 108 of file connector.hh.
◆ child() [1/2]
|
inlineoverridevirtual |
Get i-th quadrilateral child.
Implements concepts::Connector2.
Definition at line 32 of file sphereTopology.hh.
◆ child() [2/2]
|
inlineoverridevirtual |
Get i-th quadrilateral child.
Implements concepts::Connector2.
Definition at line 34 of file sphereTopology.hh.
◆ edge()
|
overridevirtual |
Required method by Connector2.
Implements concepts::Connector2.
◆ hasChild()
bool concepts::SphericalSurface::hasChild | ( | const Quad & | quad | ) | const |
Check if quad is a child of this connector.
◆ info()
|
overridevirtual |
Returns information in an output stream.
Reimplemented from concepts::Connector.
◆ key()
|
inlineinherited |
Returns the key of the connector.
Definition at line 105 of file connector.hh.
◆ operator==()
|
inlineinherited |
Comparison operator.
Definition at line 102 of file connector.hh.
◆ related()
|
inherited |
Checks if this connector is related to conn
.
It is being checked if one of the two is an ancestor of the other.
- Parameters
-
conn Other connector
- Returns
- An integer i.
i=0 if there is no relationship or the connectors are identical
i>0 ifconn
is an ancestor of this connector
i<0 ifconn
is a descendant of this connector
|i| gives the number of generations between the connectors
◆ setAttrib()
|
inlineinherited |
Definition at line 111 of file connector.hh.
◆ vertex()
|
overridevirtual |
Required method by Connector2.
Implements concepts::Connector2.
Member Data Documentation
◆ attrib_
|
protectedinherited |
Definition at line 132 of file connector.hh.
◆ chld_
|
private |
Quadrilateral children.
Definition at line 48 of file sphereTopology.hh.
◆ cnt_
|
staticprotectedinherited |
Counter for the connectors.
This counter is used to create the unique key of the connector.
Definition at line 263 of file connector.hh.
◆ key_
|
protectedinherited |
Unique key of the connector.
Definition at line 129 of file connector.hh.
The documentation for this class was generated from the following file:
- geometry/sphereTopology.hh