MOAB: Mesh Oriented datABase
(version 5.4.1)
|
#include <SplitVertices.hpp>
Public Member Functions | |
EntitySourceRecord () | |
EntitySourceRecord (int nc, EntityHandle ent, const ProcessSet &procs) | |
EntitySourceRecord (const EntitySourceRecord &src) | |
EntitySourceRecord & | operator= (const EntitySourceRecord &src) |
void | set_common_processes (const ProcessSet &procs) |
ProcessSet & | common_processes () |
const ProcessSet & | common_processes () const |
bool | operator< (const EntitySourceRecord &other) const |
Public Attributes | |
std::vector< int > | ids |
ProcessSet | process_set |
EntityHandle | handle |
Definition at line 104 of file SplitVertices.hpp.
moab::EntitySourceRecord::EntitySourceRecord | ( | ) | [inline] |
Definition at line 107 of file SplitVertices.hpp.
{}
moab::EntitySourceRecord::EntitySourceRecord | ( | int | nc, |
EntityHandle | ent, | ||
const ProcessSet & | procs | ||
) | [inline] |
Definition at line 108 of file SplitVertices.hpp.
References handle, ids, and process_set.
{ this->ids.resize( nc ); this->handle = ent; this->process_set = procs; }
moab::EntitySourceRecord::EntitySourceRecord | ( | const EntitySourceRecord & | src | ) | [inline] |
Definition at line 114 of file SplitVertices.hpp.
References handle, ids, and process_set.
{ this->handle = src.handle; this->process_set = src.process_set; this->ids = src.ids; }
ProcessSet& moab::EntitySourceRecord::common_processes | ( | ) | [inline] |
Definition at line 132 of file SplitVertices.hpp.
References process_set.
{ return this->process_set; }
const ProcessSet& moab::EntitySourceRecord::common_processes | ( | ) | const [inline] |
Definition at line 136 of file SplitVertices.hpp.
References process_set.
{ return this->process_set; }
bool moab::EntitySourceRecord::operator< | ( | const EntitySourceRecord & | other | ) | const [inline] |
Definition at line 141 of file SplitVertices.hpp.
References ids.
{ // assert( this->ids.size() == other.ids.size() ); std::vector< int >::size_type N = this->ids.size(); std::vector< int >::size_type i; // Ignore the process set. Only program errors lead to mismatched process sets with // identical ids. for( i = 0; i < N; ++i ) if( this->ids[i] < other.ids[i] ) return true; else if( this->ids[i] > other.ids[i] ) return false; return false; }
EntitySourceRecord& moab::EntitySourceRecord::operator= | ( | const EntitySourceRecord & | src | ) | [inline] |
Definition at line 120 of file SplitVertices.hpp.
References handle, ids, and process_set.
{ this->handle = src.handle; this->process_set = src.process_set; this->ids = src.ids; return *this; }
void moab::EntitySourceRecord::set_common_processes | ( | const ProcessSet & | procs | ) | [inline] |
Definition at line 128 of file SplitVertices.hpp.
References process_set.
{ this->process_set = procs; }
Definition at line 158 of file SplitVertices.hpp.
Referenced by EntitySourceRecord(), and operator=().
std::vector< int > moab::EntitySourceRecord::ids |
Definition at line 156 of file SplitVertices.hpp.
Referenced by EntitySourceRecord(), operator<(), and operator=().
Definition at line 157 of file SplitVertices.hpp.
Referenced by common_processes(), EntitySourceRecord(), operator=(), and set_common_processes().