#include <gs.hpp>
Classes | |
class | crystal_data |
Public Member Functions | |
gs_data (uint n, const long *label, const Ulong *ulabel, uint maxv, const unsigned int nlabels, const unsigned int nulabels, crystal_data *crystal, ErrorCode &Init_Result) | |
gs_data () | |
~gs_data () | |
ErrorCode | initialize (uint n, const long *label, const Ulong *ulabel, uint maxv, const unsigned int nlabels, const unsigned int nulabels, crystal_data *crystal) |
void | reset () |
void | gs_data_op (realType *u, int op) |
void | gs_data_op_vec (realType *u, uint n, int op) |
void | gs_data_op_many (realType **u, uint n, int op) |
Public Attributes | |
sint * | local_cm |
|
inline |
Constructor for moab_gs_data: takes all arguments and initializes moab_gs_data. If needs_reset is false after calling constructor, initialization has failed.
param n number of tuples in tuple list param label pointer to signed labels param ulabel pointer to unsigned labels param maxv max vector size param nlabels number of signed long labels (not including gid) param nulabels number of unsigned long labels param crystal moab_crystal_data contains MPI_Comm and is used for message passing
Definition at line 199 of file gs.hpp.
References initialize().
|
inline |
|
inline |
void moab::gs_data::gs_data_op | ( | realType * | u, |
int | op | ||
) |
Definition at line 751 of file gs.cpp.
References local_cm, moab::local_condense(), and moab::local_uncondense().
Definition at line 775 of file gs.cpp.
References moab::fail(), local_cm, moab::local_condense(), and moab::local_uncondense().
Definition at line 760 of file gs.cpp.
References moab::fail(), local_cm, moab::local_condense_vec(), and moab::local_uncondense_vec().
ErrorCode moab::gs_data::initialize | ( | uint | n, |
const long * | label, | ||
const Ulong * | ulabel, | ||
uint | maxv, | ||
const unsigned int | nlabels, | ||
const unsigned int | nulabels, | ||
crystal_data * | crystal | ||
) |
Sets up the moab_gs_data; see constructor for parameter documentation
Definition at line 802 of file gs.cpp.
References moab::TupleList::enableWriteAccess(), ErrorCode, moab::TupleList::get_max(), moab::TupleList::get_n(), moab::TupleList::inc_n(), moab::TupleList::initialize(), local_cm, MB_SUCCESS, moab::TupleList::buffer::reset(), moab::TupleList::reset(), moab::TupleList::resize(), moab::TupleList::sort(), VALGRIND_CHECK_MEM_IS_DEFINED, moab::TupleList::vi_wr, moab::TupleList::vl_wr, and moab::TupleList::vul_wr.
Referenced by gs_data(), moab::ParallelComm::resolve_shared_ents(), and moab::ParallelComm::resolve_shared_sets().
void moab::gs_data::reset | ( | ) |
Definition at line 1054 of file gs.cpp.
References local_cm.
Referenced by moab::ParallelComm::resolve_shared_ents(), moab::ParallelComm::resolve_shared_sets(), and ~gs_data().
sint* moab::gs_data::local_cm |
Definition at line 180 of file gs.hpp.
Referenced by gs_data_op(), gs_data_op_many(), gs_data_op_vec(), initialize(), and reset().