#include <iostream>
#include <set>
#include <limits>
#include <ctime>
#include <vector>
#include <cstdlib>
#include <cstdio>
#include <cassert>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include "moab/Interface.hpp"
#include "MBTagConventions.hpp"
#include "moab/Core.hpp"
#include "moab/Range.hpp"
#include "moab/Skinner.hpp"
#include "moab/AdaptiveKDTree.hpp"
#include "moab/CN.hpp"
#include <sys/resource.h>
Go to the source code of this file.
Macros | |
#define | CHKERROR(A) |
Functions | |
static void | get_time_mem (double &tot_time, double &tot_mem) |
static ErrorCode | merge_duplicate_vertices (Interface &, double epsilon) |
static ErrorCode | min_edge_length (Interface &, double &result) |
static void | usage (const char *argv0, bool help=false) |
int | main (int argc, char *argv[]) |
Variables | |
const char | DEFAULT_FIXED_TAG [] = "fixed" |
const int | MIN_EDGE_LEN_DENOM = 4 |
#define CHKERROR | ( | A | ) |
|
static |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 82 of file skin.cpp.
References moab::Interface::add_entities(), moab::Range::begin(), CHKERROR, moab::Interface::create_meshset(), DEFAULT_FIXED_TAG, dim, moab::dum, moab::Range::empty(), entities, ErrorCode, moab::Skinner::find_skin(), moab::Interface::get_adjacencies(), moab::Interface::get_entities_by_dimension(), moab::Interface::get_entities_by_type_and_tag(), get_time_mem(), iface, input_file, moab::Interface::list_entities(), moab::Interface::load_mesh(), MATERIAL_SET_TAG_NAME, MB_SUCCESS, MB_TAG_CREAT, MB_TAG_DENSE, MB_TAG_SPARSE, MB_TYPE_INTEGER, MBENTITYSET, moab::Range::merge(), merge_duplicate_vertices(), MESHSET_SET, MIN_EDGE_LEN_DENOM, min_edge_length(), NEUMANN_SET_TAG_NAME, moab::Range::num_of_dimension(), moab::Range::size(), moab::Interface::tag_get_handle(), moab::Interface::tag_set_data(), moab::Interface::UNION, usage(), and moab::Interface::write_mesh().
Definition at line 558 of file skin.cpp.
References moab::Range::begin(), moab::AdaptiveKDTree::build_tree(), moab::AdaptiveKDTree::distance_search(), moab::Range::end(), moab::Range::erase(), ErrorCode, moab::Range::find(), MB_SUCCESS, MBVERTEX, and moab::Range::merge().
Referenced by main().
Definition at line 513 of file skin.cpp.
References entities, ErrorCode, MB_SUCCESS, MBENTITYSET, MBVERTEX, moab::CN::NumSubEntities(), and moab::CN::SubEntityVertexIndices().
Referenced by main().
|
static |
Definition at line 54 of file skin.cpp.
References DEFAULT_FIXED_TAG, help(), and MIN_EDGE_LEN_DENOM.
Referenced by main().
const char DEFAULT_FIXED_TAG[] = "fixed" |