#include <iostream>
#include <cstdlib>
#include "moab/Range.hpp"
#include "moab/Core.hpp"
#include "MBTagConventions.hpp"
#include "moab/GeomTopoTool.hpp"
Go to the source code of this file.
Enumerations | |
enum | Link { NONE = 0 , SOLID , DASHED } |
Functions | |
static void | usage (const char *name, bool brief=true) |
static void | write_dot (Link contained, Link children) |
static void | dot_nodes (std::ostream &s, Range &sets_out) |
static void | dot_children (std::ostream &s, const Range &sets, bool dashed) |
static void | dot_contained (std::ostream &s, const Range &sets, bool dashed) |
int | main (int argc, char *argv[]) |
static void | dot_get_sets (Range &curr_sets, Range &result_sets, Tag tag, void *tag_val=0) |
static void | dot_write_node (std::ostream &s, EntityHandle h, const char *label, int *id=0) |
static void | dot_write_id_nodes (std::ostream &s, const Range &entites, Tag id_tag, const char *type_name) |
static void | dot_down_link (std::ostream &s, EntityHandle parent, EntityHandle child, bool dashed, const char *label=0) |
Variables | |
Tag | geomTag = 0 |
Tag | blockTag = 0 |
Tag | sideTag = 0 |
Tag | nodeTag = 0 |
Tag | nameTag = 0 |
Tag | idTag = 0 |
bool | printAnonSets = false |
bool | printSVSense = false |
Core | mb |
enum Link |
|
static |
Definition at line 285 of file gsets.cpp.
References moab::Range::begin(), dot_down_link(), moab::Range::end(), moab::Core::get_parent_meshsets(), moab::intersect(), mb, MB_SUCCESS, and printSVSense.
Referenced by write_dot().
|
static |
Definition at line 308 of file gsets.cpp.
References moab::Range::begin(), dot_down_link(), moab::Range::end(), moab::Core::get_entities_by_type(), moab::intersect(), mb, and MBENTITYSET.
Referenced by write_dot().
|
static |
Definition at line 269 of file gsets.cpp.
References child, moab::Core::id_from_handle(), and mb.
Referenced by dot_children(), and dot_contained().
|
static |
Definition at line 191 of file gsets.cpp.
References moab::Range::clear(), moab::Core::get_entities_by_type_and_tag(), mb, MBENTITYSET, moab::Range::merge(), and moab::subtract().
Referenced by dot_nodes().
|
static |
Definition at line 215 of file gsets.cpp.
References moab::Range::begin(), blockTag, dim, dot_get_sets(), dot_write_id_nodes(), dot_write_node(), moab::Range::end(), geomTag, moab::Core::get_entities_by_type(), moab::Core::id_from_handle(), idTag, mb, MB_SUCCESS, MBENTITYSET, NAME_TAG_SIZE, nameTag, nodeTag, printAnonSets, sideTag, moab::subtract(), moab::Range::swap(), and moab::Core::tag_get_data().
Referenced by write_dot().
|
static |
Definition at line 208 of file gsets.cpp.
References moab::Range::begin(), dot_write_node(), moab::Range::end(), mb, MB_SUCCESS, and moab::Core::tag_get_data().
Referenced by dot_nodes().
|
static |
Definition at line 201 of file gsets.cpp.
References moab::Core::id_from_handle(), and mb.
Referenced by dot_nodes(), and dot_write_id_nodes().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 60 of file gsets.cpp.
References blockTag, children, DASHED, DIRICHLET_SET_TAG_NAME, GEOM_DIMENSION_TAG_NAME, geomTag, moab::Core::globalId_tag(), idTag, input_file, moab::Core::load_mesh(), MATERIAL_SET_TAG_NAME, mb, MB_SUCCESS, MB_TYPE_INTEGER, MB_TYPE_OPAQUE, NAME_TAG_NAME, NAME_TAG_SIZE, nameTag, NEUMANN_SET_TAG_NAME, nodeTag, NONE, printAnonSets, printSVSense, sideTag, SOLID, moab::Core::tag_get_handle(), usage(), and write_dot().
|
static |
Definition at line 180 of file gsets.cpp.
References children, DASHED, dot_children(), dot_contained(), and dot_nodes().
Referenced by main().
Tag blockTag = 0 |
Definition at line 11 of file gsets.cpp.
Referenced by dot_nodes(), and main().
Tag geomTag = 0 |
Definition at line 10 of file gsets.cpp.
Referenced by dot_nodes(), and main().
Tag idTag = 0 |
Definition at line 15 of file gsets.cpp.
Referenced by dot_nodes(), main(), and merge_input_surfs().
GeomTopoTool geomTool & mb |
Definition at line 19 of file gsets.cpp.
Referenced by moab::IntxAreaUtils::area_on_sphere(), moab::IntxAreaUtils::area_spherical_element(), moab::check_int_tag(), compute_dual_mesh(), moab::ParCommGraph::compute_partition(), moab::TempestRemapper::ComputeOverlapMesh(), moab::NCHelperDomain::create_mesh(), moab::NCHelperScrip::create_mesh(), moab::IntxUtils::deep_copy_set_with_quads(), do_test_mode(), dot_children(), dot_contained(), dot_down_link(), dot_get_sets(), dot_nodes(), dot_write_id_nodes(), dot_write_node(), moab::IntxUtils::enforce_convexity(), moab::IntxUtils::fix_degenerate_quads(), moab::ParCommGraph::form_mesh_from_tuples(), moab::ParCommGraph::form_tuples_to_migrate_mesh(), moab::get_adjacencies_intersection(), get_adjacent_elems(), get_degree_seq(), moab::EvalSet::get_eval_set(), get_max_volume(), get_mem_stats(), moab::IntxUtils::global_gnomonic_projection(), hcFilter(), hex_containing_point(), laplacianFilter(), main(), memstr(), moab::numAdjTriInSet(), perform_laplacian_smoothing(), perform_lloyd_relaxation(), moab::IntxAreaUtils::positive_orientation(), print_error(), print_hex(), print_memory_stats(), process_partition_file(), ReadTriangleOutput(), moab::ParCommGraph::receive_mesh(), moab::ParCommGraph::receive_tag_values(), moab::IntxUtils::remove_duplicate_vertices(), moab::IntxUtils::remove_padded_vertices(), moab::IntxUtils::ScaleToRadius(), moab::ParCommGraph::send_tag_values(), skin_tris(), tag_depth(), tag_storage_string(), tag_type_string(), test_spectral_hex(), test_spectral_quad(), TestErrorHandling_1(), TestErrorHandling_2(), TestErrorHandling_3(), TestErrorHandling_4(), TestErrorHandlingPar_1(), TestErrorHandlingPar_2(), and v_quad_aspect_ratio().
Tag nameTag = 0 |
Definition at line 14 of file gsets.cpp.
Referenced by dot_nodes(), and main().
Tag nodeTag = 0 |
Definition at line 13 of file gsets.cpp.
Referenced by dot_nodes(), and main().
bool printAnonSets = false |
Definition at line 16 of file gsets.cpp.
Referenced by dot_nodes(), and main().
bool printSVSense = false |
Definition at line 17 of file gsets.cpp.
Referenced by dot_children(), and main().
Tag sideTag = 0 |
Definition at line 12 of file gsets.cpp.
Referenced by dot_nodes(), and main().