#include <connector.hh>


Public Member Functions | |
| const Attribute & | attrib () const |
| Returns the attribute of the connector. | |
| virtual Connector3 * | child (uint i, bool mode=0)=0 |
| Returns the ith child of the connector. | |
| virtual const Connector3 * | child (uint i) const =0 |
| virtual Connector1 * | edge (uint i) const =0 |
| Returns a 1D component: edge. | |
| virtual Connector2 * | face (uint i) const =0 |
| Returns a 2D component: face. | |
| const Key & | key () const |
| Returns the key of the connector. | |
| int | operator== (const Connector &cntr) const |
| Comparison operator. | |
| int | related (const Connector &conn) const |
Checks if this connector is related to conn. | |
| virtual Connector0 * | vertex (uint i) const =0 |
| Returns a 0D component: vertex A 3D element consists of 2D, 1D and 0D elements, the vertices can be queried here. | |
Static Public Member Functions | |
| static uint | cnt () |
| static void | reset () |
Protected Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
Protected Attributes | |
| Attribute | attrib_ |
| Attribute. | |
| Key | key_ |
| Unique key of the connector. | |
Static Protected Attributes | |
| static uint | cnt_ |
| Counter for the connectors. | |
Definition at line 349 of file connector.hh.
| const Attribute& concepts::Connector::attrib | ( | ) | const [inline, inherited] |
Returns the attribute of the connector.
Definition at line 104 of file connector.hh.
| virtual Connector3* concepts::Connector3::child | ( | uint | i, |
| bool | mode = 0 |
||
| ) | [pure virtual, inherited] |
Returns the ith child of the connector.
| i | Index of the child |
| mode | If mode = false(0) the child is created if it does not yet exist, if mode = true(1) no new children are created (ie. 0 is returned if no children exist). |
Implements concepts::Connector.
Implemented in concepts::Tetrahedron, and concepts::Hexahedron.
| virtual const Connector3* concepts::Connector3::child | ( | uint | i | ) | const [pure virtual, inherited] |
Implements concepts::Connector.
Implemented in concepts::Tetrahedron, and concepts::Hexahedron.
| static uint test::ResetConnector3::cnt | ( | ) | [inline, static] |
Definition at line 352 of file connector.hh.
| virtual Connector1* concepts::Connector3::edge | ( | uint | i | ) | const [pure virtual, inherited] |
Returns a 1D component: edge.
A 3D element consists of 2D, 1D and 0D elements, the edges can be queried here.
| i | Index of the edge |
Implemented in concepts::Tetrahedron, and concepts::Hexahedron.
| virtual Connector2* concepts::Connector3::face | ( | uint | i | ) | const [pure virtual, inherited] |
Returns a 2D component: face.
A 3D element consists of 2D, 1D and 0D elements, the faces can be queried here.
| i | Index of the face |
Implemented in concepts::Tetrahedron, and concepts::Hexahedron.
| virtual std::ostream& concepts::Connector::info | ( | std::ostream & | os | ) | const [protected, virtual, inherited] |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Reimplemented in concepts::Vertex, concepts::Edge, concepts::InfiniteEdge, concepts::Triangle, concepts::Quad, concepts::InfiniteQuad, concepts::Tetrahedron, and concepts::Hexahedron.
| const Key& concepts::Connector::key | ( | ) | const [inline, inherited] |
Returns the key of the connector.
Definition at line 101 of file connector.hh.
| int concepts::Connector::operator== | ( | const Connector & | cntr | ) | const [inline, inherited] |
Comparison operator.
Definition at line 98 of file connector.hh.
| 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.
| conn | Other connector |
conn is an ancestor of this connectorconn is a descendant of this connector| static void test::ResetConnector3::reset | ( | ) | [inline, static] |
Definition at line 351 of file connector.hh.
| virtual Connector0* concepts::Connector3::vertex | ( | uint | i | ) | const [pure virtual, inherited] |
Returns a 0D component: vertex A 3D element consists of 2D, 1D and 0D elements, the vertices can be queried here.
| i | Index of the vertex |
Implemented in concepts::Tetrahedron, and concepts::Hexahedron.
Attribute concepts::Connector::attrib_ [protected, inherited] |
Definition at line 123 of file connector.hh.
uint concepts::Connector3::cnt_ [static, protected, inherited] |
Counter for the connectors.
This counter is used to create the unique key of the connector.
Definition at line 308 of file connector.hh.
Key concepts::Connector::key_ [protected, inherited] |
Unique key of the connector.
Definition at line 120 of file connector.hh.