Sierra Toolkit
Version of the Day
|
A fundamental unit within the discretization of a problem domain, including but not limited to nodes, edges, sides, and elements. More...
#include <Entity.hpp>
Public Member Functions | |
EntityModificationLog | log_query () const |
Query the current state of the entity log. | |
EntityRank | entity_rank () const |
The rank of this entity. | |
EntityId | identifier () const |
Identifier for this entity which is globally unique for a given entity type. | |
const EntityKey & | key () const |
The globally unique key ( entity type + identifier ) of this entity. | |
Bucket & | bucket () const |
The bucket which holds this mesh entity's field data. | |
Bucket * | bucket_ptr () const |
unsigned | bucket_ordinal () const |
The ordinal for this entity within its bucket. | |
size_t | synchronized_count () const |
The mesh bulk data synchronized_count when this entity's part membership was most recently modified. More... | |
PairIterRelation | relations () const |
All Entity relations for which this entity is a member. The relations are ordered from lowest entity-rank to highest entity-rank. | |
PairIterRelation | relations (EntityRank type) const |
Entity relations for which this entity is a member, the other entity is of a given type. | |
PairIterRelation | node_relations () const |
unsigned | owner_rank () const |
Parallel processor rank of the processor which owns this entity. | |
PairIterEntityComm | sharing () const |
Parallel processes which share this entity. | |
PairIterEntityComm | comm () const |
Complete communicaiton list for this entity. | |
PairIterEntityComm | comm (const Ghosting &sub) const |
Subset communicaiton list for this entity. | |
void | compress_relation_capacity () |
A fundamental unit within the discretization of a problem domain, including but not limited to nodes, edges, sides, and elements.
Entities are distributed among parallel processors. A given entity may reside on more than one processor; however, it is owned by exactly one of the processors on which it resides.
Note that an Entity's state comprises:
Definition at line 120 of file Entity.hpp.
|
inline |
The mesh bulk data synchronized_count when this entity's part membership was most recently modified.
If ( mesh.synchronized_state() == false && mesh.synchronized_count() == entity.synchronized_count() ) then entity was modified during this modification phase.
Definition at line 154 of file Entity.hpp.