Example demonstrating addition of connectivity to point cloud data for visualization. More...
Include dependency graph for addConnec.cpp:Go to the source code of this file.
Functions | |
| int | main (int argc, char *argv[]) |
Example demonstrating addition of connectivity to point cloud data for visualization.
This example shows how to:
This tool is useful for converting point cloud data into connected meshes for better visualization in tools like VisIt.
this tool will take an existing h5m fine point cloud data (phys grid or land pc) and add 2d cells from a fine atm mesh
example of usage: ./addConnec -i wholeFineATM.h5m -s wholeLND_proj01.h5m -o wholeLndM.h5m
Basically, will output a new h5m file (wholeLndM.h5m), which has also cell connectivity copied from fine atm matching is based on the global ids between what we think is the order on the original file (wholeFineATM.h5m)
file wholeFineATM.h5m is obtained from a coupled run in e3sm, with the ne 11, np 4,
| argc | Number of command line arguments |
| argv | Command line arguments array |
Definition in file addConnec.cpp.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 44 of file addConnec.cpp.
References ProgOptions::addOpt(), moab::Range::begin(), moab::Core::create_element(), moab::Range::end(), ErrorCode, moab::Core::get_adjacencies(), moab::Core::get_connectivity(), moab::Core::get_entities_by_dimension(), moab::index, moab::Range::index(), moab::Range::insert(), moab::Core::load_file(), mb, MB_CHK_SET_ERR, MBPOLYGON, MBQUAD, MBTRI, ProgOptions::parseCommandLine(), ProgOptions::printHelp(), moab::Range::size(), moab::Core::tag_get_data(), moab::Core::tag_get_handle(), moab::Interface::UNION, and moab::Core::write_file().