Class documentation of Concepts

Loading...
Searching...
No Matches

#include <sphereTopology.hh>

Inheritance diagram for concepts::SphericalSurface:
concepts::Connector2 concepts::Connector concepts::OutputOperator

Public Member Functions

 SphericalSurface (const std::vector< Quad * > &quads=std::vector< Quad * >(0), const Attribute attrib=Attribute())
 Constructor accepting the children of the spherical surface.
 
const Quadchild (uint i) const override
 Get i-th quadrilateral child.
 
Quadchild (uint i, bool mode) override
 Get i-th quadrilateral child.
 
bool hasChild (const Quad &quad) const
 Check if quad is a child of this connector.
 
Connector1edge (uint i) const override
 Required method by Connector2.
 
Connector0vertex (uint i) const override
 Required method by Connector2.
 
std::ostream & info (std::ostream &os) const override
 Returns information in an output stream.
 
int operator== (const Connector &cntr) const
 Comparison operator.
 
const Keykey () const
 Returns the key of the connector.
 
const Attributeattrib () const
 Returns the attribute of the connector.
 
void setAttrib (uint attrb)
 
int related (const Connector &conn) const
 

Protected Attributes

Key key_
 Unique key of the connector.
 
Attribute attrib_
 Attribute.
 

Static Protected Attributes

static uint cnt_
 

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.

Author
Lukas Drescher, 2014
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.

Member Function Documentation

◆ attrib()

const Attribute & concepts::Connector::attrib ( ) const
inlineinherited

Returns the attribute of the connector.

Definition at line 108 of file connector.hh.

◆ child() [1/2]

const Quad * concepts::SphericalSurface::child ( uint  i) const
inlineoverridevirtual

Get i-th quadrilateral child.

Implements concepts::Connector2.

Definition at line 32 of file sphereTopology.hh.

◆ child() [2/2]

Quad * concepts::SphericalSurface::child ( uint  i,
bool  mode 
)
inlineoverridevirtual

Get i-th quadrilateral child.

Implements concepts::Connector2.

Definition at line 34 of file sphereTopology.hh.

◆ edge()

Connector1 * concepts::SphericalSurface::edge ( uint  i) const
overridevirtual

Required method by Connector2.

Implements concepts::Connector2.

◆ info()

std::ostream & concepts::SphericalSurface::info ( std::ostream &  os) const
overridevirtual

Returns information in an output stream.

Reimplemented from concepts::Connector.

◆ key()

const Key & concepts::Connector::key ( ) const
inlineinherited

Returns the key of the connector.

Definition at line 105 of file connector.hh.

◆ operator==()

int concepts::Connector::operator== ( const Connector cntr) const
inlineinherited

Comparison operator.

Definition at line 102 of file connector.hh.

◆ related()

int concepts::Connector::related ( const Connector conn) const
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
connOther connector
Returns
An integer i.
i=0 if there is no relationship or the connectors are identical
i>0 if conn is an ancestor of this connector
i<0 if conn is a descendant of this connector
|i| gives the number of generations between the connectors

◆ setAttrib()

void concepts::Connector::setAttrib ( uint  attrb)
inlineinherited

Definition at line 111 of file connector.hh.

◆ vertex()

Connector0 * concepts::SphericalSurface::vertex ( uint  i) const
overridevirtual

Required method by Connector2.

Implements concepts::Connector2.

Member Data Documentation

◆ attrib_

Attribute concepts::Connector::attrib_
protectedinherited

Attribute.

Definition at line 132 of file connector.hh.

◆ cnt_

uint concepts::Connector2::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_

Key concepts::Connector::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: