#include "moab/Core.hpp"
#include "MBParallelConventions.h"
#include <iostream>
#include <string>
#include <sstream>
Go to the source code of this file.
Macros | |
#define | MPICHKERR(CODE, MSG) |
#define | dbgprint(MSG) |
#define | dbgprintall(MSG) |
Functions | |
ErrorCode | get_file_options (int argc, char **argv, string &filename, string &tagName, double &tagValues) |
int | main (int argc, char **argv) |
#define dbgprint | ( | MSG | ) |
Definition at line 54 of file ReduceExchangeTags.cpp.
#define dbgprintall | ( | MSG | ) |
Definition at line 60 of file ReduceExchangeTags.cpp.
#define MPICHKERR | ( | CODE, | |
MSG | |||
) |
Definition at line 44 of file ReduceExchangeTags.cpp.
ErrorCode get_file_options | ( | int | argc, |
char ** | argv, | ||
string & | filename, | ||
string & | tagName, | ||
double & | tagValues | ||
) |
Definition at line 67 of file ReduceExchangeTags.cpp.
References MB_SUCCESS, and MESH_DIR.
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 92 of file ReduceExchangeTags.cpp.
References moab::Interface::create_meshset(), dbgprint, dbgprintall, dim, ErrorCode, moab::ParallelComm::exchange_tags(), moab::Interface::get_entities_by_dimension(), get_file_options(), moab::ParallelComm::get_part_entities(), moab::ParallelComm::get_pcomm(), moab::Interface::load_file(), MB_CHK_ERR, MB_CHK_SET_ERR, MB_TAG_CREAT, MB_TAG_DENSE, MB_TYPE_DOUBLE, MB_TYPE_INTEGER, moab::Range::merge(), MESHSET_SET, MPICHKERR, moab::ParallelComm::reduce_tags(), moab::Range::size(), moab::Interface::tag_get_handle(), moab::Interface::tag_set_data(), and moab::Interface::write_file().