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

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

#include <Relation.hpp>

List of all members.

Public Types

typedef uintptr_t raw_attr_type

Public Member Functions

 ~Relation ()
 Destructor.
 Relation ()
 Constructor.
 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.

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.


The documentation for this class was generated from the following files:
Generated on Wed Apr 13 10:05:50 2011 for Sierra Toolkit by  doxygen 1.6.3