#include <iostream>#include <vector>#include "moab/Interface.hpp"#include "moab/Range.hpp"#include "moab/ProgOptions.hpp"#include "moab/CartVect.hpp"#include "moab/Core.hpp"#include "moab/ReadUtilIface.hpp"
Include dependency graph for ComputeTriDual.cpp:Go to the source code of this file.
Macros | |
| #define | CC(ind) moab::CartVect( ccenters[0][ind], ccenters[1][ind], ccenters[2][ind] ) |
| #define | CCXMY(ind, cv) moab::CartVect( ccenters[0][ind] - ( cv )[0], ccenters[1][ind] - ( cv )[1], ccenters[2][ind] - ( cv )[2] ) |
Functions | |
| moab::ErrorCode | compute_dual_mesh (moab::Interface *mb, moab::EntityHandle &dual_set, moab::Range &cells) |
| int | main (int argc, char **argv) |
| #define CC | ( | ind | ) | moab::CartVect( ccenters[0][ind], ccenters[1][ind], ccenters[2][ind] ) |
| #define CCXMY | ( | ind, | |
| cv | |||
| ) | moab::CartVect( ccenters[0][ind] - ( cv )[0], ccenters[1][ind] - ( cv )[1], ccenters[2][ind] - ( cv )[2] ) |
| moab::ErrorCode compute_dual_mesh | ( | moab::Interface * | mb, |
| moab::EntityHandle & | dual_set, | ||
| moab::Range & | cells | ||
| ) |
Definition at line 37 of file ComputeTriDual.cpp.
References moab::ParallelComm::assign_global_ids(), moab::Range::begin(), CC, CCXMY, moab::Range::end(), ErrorCode, iface, moab::CartVect::length(), mb, MB_CHK_SET_ERR, MB_SUCCESS, MBPOLYGON, moab::Range::merge(), and moab::Range::size().
Referenced by main().
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 200 of file ComputeTriDual.cpp.
References ProgOptions::addOpt(), moab::Range::clear(), compute_dual_mesh(), ErrorCode, mb, MB_CHK_SET_ERR, MESH_DIR, MESHSET_SET, ProgOptions::parseCommandLine(), and moab::Range::size().