#include "moab/Range.hpp"
#include "moab/Core.hpp"
#include "moab/Skinner.hpp"
#include <iostream>
#include <cstdlib>
Go to the source code of this file.
Enumerations | |
enum | { NO_ERROR = 0 , SYNTAX_ERROR = 1 , FILE_IO_ERROR = 2 , INTERNAL_ERROR = 3 } |
Functions | |
static void | usage (const char *argv0) |
static void | check (ErrorCode rval) |
static void | tag_depth (Interface &moab, Tag tag) |
int | main (int argc, char *argv[]) |
static ErrorCode | get_adjacent_elems (Interface &mb, const Range &verts, Range &elems) |
Variables | |
const char * | DEFAULT_TAG_NAME = "depth" |
|
static |
Definition at line 26 of file depth.cpp.
References INTERNAL_ERROR, and MB_SUCCESS.
Referenced by create_mesh_no_holes(), directaccessnoholesf90(), main(), tag_depth(), and moab::ParallelMergeMesh::TupleGreaterThan().
Definition at line 117 of file depth.cpp.
References moab::Range::clear(), dim, ErrorCode, moab::Core::get_adjacencies(), mb, MB_SUCCESS, and moab::Interface::UNION.
Referenced by tag_depth().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 37 of file depth.cpp.
References check(), moab::Core::create_meshset(), moab::DEFAULT_TAG_NAME, ErrorCode, FILE_IO_ERROR, moab::Core::load_file(), mb, MB_SUCCESS, MB_TAG_CREAT, MB_TAG_DENSE, MB_TYPE_INTEGER, MESHSET_SET, NO_ERROR, output, moab::Core::tag_delete(), tag_depth(), moab::Core::tag_get_handle(), usage(), and moab::Core::write_file().
Definition at line 129 of file depth.cpp.
References check(), moab::Range::clear(), dim, moab::Range::empty(), ErrorCode, moab::Skinner::find_skin(), moab::Core::get_adjacencies(), get_adjacent_elems(), moab::Core::get_entities_by_dimension(), moab::Range::insert(), mb, moab::Range::rbegin(), moab::Range::rend(), moab::Range::size(), moab::Core::tag_get_data(), moab::Core::tag_set_data(), and moab::Interface::UNION.
Referenced by main().
|
static |