This directory contains miscellaneous tools built on MOAB. Some, like mbconvert and mbsize, are useful examples of how to write MOAB applications. Others, like mbzoltan, are useful both as standalone tools and as building blocks to embed in other applications.
| Tool | Purpose |
|---|---|
mbconvert | Converts mesh between any two formats MOAB can read/write |
mbtempest | Climate mesh generation and conservative remap weight computation |
mbIntxCheck | Verify a precomputed mesh intersection |
compareMaps, compareFiles | Diff weight maps / per-tag mesh files |
measure | Library: length / area / volume of MOAB entities |
mbsize | Reads mesh and prints size by geometric owner or block/boundary |
mbskin | Computes and outputs the mesh skin (Mesquite test input) |
mbsurfplot | Plots the mesh of a geometric surface projected to a plane |
mbtagprop | Propagate tags from entity sets to their contained entities |
hexmodops | Dual-based hex meshing research support |
spheredecomp | Decompose a tet mesh into hexes that resolve vertex-located spheres |
mbpart | Static partitioner — Zoltan / Metis / CHACO |
mcnpmit | Interpolate .unv meshes on MCNP meshtal files |
qvdual | Mesh visualization (Qt / VTK); hex-mesh dual support |
vtkMOABReader | MOAB reader plugin for VTK |
There are two ways a tool can be wired into the MOAB build system.
Makefile.am in the tool's directory. Use tools/converter/Makefile.am as a model.MB_OPTIONAL_TOOL macro in the main MOAB configure.in, with three arguments:[])[yes] or [no] — whether the tool is built by defaultMakefile to the list passed to AC_CONFIG_FILES at the end of configure.in (e.g. tools/<dir>/Makefile).tools/Makefile.am: <name> matches MB_OPTIONAL_TOOL's first argument and <dir> matches AC_CONFIG_FILES.configure, etc.MB_OPTIONAL_TOOL in configure.in with:[tools/<dir>])[yes] or [no]tools/Makefile.am conditional shown above.Add the tool's source to tools/CMakeLists.txt under the appropriate add_executable / target definition. Optional features should be gated with MOAB_HAVE_* flags emitted by MOABConfig.h.in.