stk::mesh::Relation Class Reference
[Sierra Toolkit Mesh]

#include <Relation.hpp>

List of all members.

Detailed Description

A relation between two mesh entities with a relation identifier and kind .

Each entity owns a collection of relations to other entities. Each of these relations has a referenced entity, direction, relation identifier, and kind.

Relations are ordered by their

Definition at line 47 of file Relation.hpp.

Public Types

typedef uintptr_t raw_attr_type

Public Member Functions

 ~Relation ()
 Relation ()
 Relation (const Relation &r)
 Copy Constructor.
Relationoperator= (const Relation &r)
 Assignment operator.
 Relation (raw_attr_type attr, Entity &entity)
 Construct a relation from an encoded relation attribute and a referenced entity.
 Relation (Entity &entity, unsigned identifier)
 Construct a relation from a referenced entity, local identifier, kind, and converse flag.
raw_attr_type attribute () const
 The encoded relation attribute.
unsigned entity_rank () const
 The rank of the referenced entity.
unsigned identifier () const
 The local relation identifier.
Entityentity () const
 The referenced entity.
bool operator== (const Relation &r) const
 Equality operator.
bool operator!= (const Relation &r) const
 Inequality operator.
bool operator< (const Relation &r) const
 Ordering operator.

Static Public Member Functions

static raw_attr_type attribute (unsigned rank, unsigned id)
 The encoded relation attribute.

The documentation for this class was generated from the following files:
Generated on Tue Jul 13 09:27:33 2010 for Sierra Toolkit by  doxygen 1.4.7