#include "moab/Core.hpp"
#include "moab/ReadUtilIface.hpp"
#include "moab/CartVect.hpp"
#include <iostream>
#include <fstream>
Go to the source code of this file.
Functions | |
double | getLat (CartVect p) |
double | getLon (CartVect p) |
int | main (int argc, char **argv) |
Variables | |
string | bd_name = string( MESH_DIR ) + string( "/../examples/earth/boundary_points.dat" ) |
string | loops = string( MESH_DIR ) + string( "/../examples/earth/SaveLoopCounts" ) |
double getLat | ( | CartVect | p | ) |
Definition at line 21 of file BoundaryContinents.cpp.
References moab::CartVect::normalize().
Referenced by main().
double getLon | ( | CartVect | p | ) |
Definition at line 26 of file BoundaryContinents.cpp.
References moab::CartVect::normalize().
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
get loops for boundaries
Definition at line 42 of file BoundaryContinents.cpp.
References moab::Core::add_entities(), bd_name, moab::Range::begin(), moab::Core::create_meshset(), moab::Core::create_vertices(), moab::Core::delete_entities(), moab::Range::end(), ErrorCode, moab::Core::get_connectivity(), moab::Core::get_coords(), moab::ReadUtilIface::get_element_connect(), getLat(), getLon(), moab::Core::globalId_tag(), moab::Range::insert(), length_squared(), loops, mb, MB_CHK_ERR, MB_CHK_SET_ERR, MBEDGE, MESHSET_SET, moab::Interface::query_interface(), moab::Core::set_coords(), moab::Range::size(), moab::Core::tag_set_data(), and moab::Core::write_file().
string bd_name = string( MESH_DIR ) + string( "/../examples/earth/boundary_points.dat" ) |
Definition at line 18 of file BoundaryContinents.cpp.
Referenced by main().
string loops = string( MESH_DIR ) + string( "/../examples/earth/SaveLoopCounts" ) |
Definition at line 19 of file BoundaryContinents.cpp.
Referenced by main().