MOAB: Mesh Oriented datABase
(version 5.5.0)
|
#include <cmath>
#include <iostream>
#include <iomanip>
#include <ctime>
#include <cassert>
#include <list>
#include "moab/Core.hpp"
#include "moab/Skinner.hpp"
#include "moab/ReadUtilIface.hpp"
Go to the source code of this file.
Typedefs | |
typedef void(* | test_func_t) (int, int, int) |
Functions | |
void | create_regular_mesh (int interval, int dimension) |
void | skin_common (int interval, int dim, int blocks, bool use_adj) |
void | skin (int intervals, int dim, int num) |
void | skin_adj (int intervals, int dim, int num) |
void | tag_time (TagType storage, bool direct, int intervals, int dim, int blocks) |
void | dense_tag (int intervals, int dim, int blocks) |
void | sparse_tag (int intervals, int dim, int blocks) |
void | direct_tag (int intervals, int dim, int blocks) |
void | usage (const char *argv0, bool error=true) |
void | list_tests () |
int | main (int argc, char *argv[]) |
void | create_regular_mesh (Interface *gMB, int interval, int dim) |
Variables | |
double | LENGTH = 1.0 |
const int | DEFAULT_INTERVALS = 50 |
struct { | |
std::string testName | |
test_func_t testFunc | |
std::string testDesc | |
} | TestList [] |
const int | TestListSize = sizeof( TestList ) / sizeof( TestList[0] ) |
typedef void( * test_func_t) (int, int, int) |
Definition at line 65 of file perftool.cpp.
void create_regular_mesh | ( | int | interval, |
int | dimension | ||
) |
Referenced by skin_common(), and tag_time().
void create_regular_mesh | ( | Interface * | gMB, |
int | interval, | ||
int | dim | ||
) |
Definition at line 220 of file perftool.cpp.
References dim, ErrorCode, moab::ReadUtilIface::get_element_connect(), moab::ReadUtilIface::get_node_coords(), gMB, MB_SUCCESS, MBEDGE, MBHEX, MBQUAD, moab::Interface::query_interface(), and moab::ReadUtilIface::update_adjacencies().
void dense_tag | ( | int | intervals, |
int | dim, | ||
int | blocks | ||
) |
void direct_tag | ( | int | intervals, |
int | dim, | ||
int | blocks | ||
) |
void list_tests | ( | ) |
Definition at line 96 of file perftool.cpp.
References testDesc, TestList, TestListSize, and testName.
Referenced by main(), and runner_run_tests().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 113 of file perftool.cpp.
References DEFAULT_INTERVALS, list_tests(), testFunc, TestList, TestListSize, testName, and usage().
void skin | ( | int | intervals, |
int | dim, | ||
int | num | ||
) |
Definition at line 36 of file perftool.cpp.
References dim, and skin_common().
Referenced by moab::TempestRemapper::ComputeOverlapMesh(), DeformMeshRemap::execute(), get_expected_ghosts(), moab::LloydSmoother::initialize(), mb_skin_adjacent_surf_patches(), mb_skin_curve_test_common(), mb_skin_full_common(), mb_skin_higher_order_faces_common(), mb_skin_higher_order_regions_common(), mb_skin_poly_test(), mb_skin_subset_common(), mb_skin_surface_test_common(), mb_skin_volume_test_common(), print_output(), and skin_common().
void skin_adj | ( | int | intervals, |
int | dim, | ||
int | num | ||
) |
void skin_common | ( | int | interval, |
int | dim, | ||
int | blocks, | ||
bool | use_adj | ||
) |
Definition at line 295 of file perftool.cpp.
References moab::Range::begin(), moab::Range::clear(), create_regular_mesh(), dim, moab::Range::empty(), ErrorCode, moab::Skinner::find_skin(), moab::Interface::get_adjacencies(), moab::Interface::get_entities_by_dimension(), gMB, MB_SUCCESS, moab::Range::merge(), moab::Range::size(), skin(), t, and moab::Interface::UNION.
Referenced by skin(), and skin_adj().
void sparse_tag | ( | int | intervals, |
int | dim, | ||
int | blocks | ||
) |
void tag_time | ( | TagType | storage, |
bool | direct, | ||
int | intervals, | ||
int | dim, | ||
int | blocks | ||
) |
Definition at line 398 of file perftool.cpp.
References moab::Range::begin(), moab::Range::clear(), create_regular_mesh(), dim, moab::Range::end(), moab::Core::get_entities_by_type(), mb, MB_TAG_CREAT, MB_TYPE_DOUBLE, MBVERTEX, moab::Range::merge(), moab::Range::size(), t, moab::Core::tag_get_data(), moab::Core::tag_get_handle(), moab::Core::tag_iterate(), and moab::Core::tag_set_data().
Referenced by dense_tag(), direct_tag(), main(), and sparse_tag().
void usage | ( | const char * | argv0, |
bool | error = true |
||
) |
Definition at line 80 of file perftool.cpp.
References argv0, DEFAULT_INTERVALS, and moab::error().
Referenced by main().
const int DEFAULT_INTERVALS = 50 |
Definition at line 32 of file perftool.cpp.
double LENGTH = 1.0 |
Definition at line 31 of file perftool.cpp.
std::string testDesc |
Definition at line 70 of file perftool.cpp.
Referenced by list_tests().
test_func_t testFunc |
Definition at line 69 of file perftool.cpp.
Referenced by main(), runner_find_test_func(), and runner_run_tests().
const { ... } TestList[] |
Referenced by list_tests(), and main().
Definition at line 78 of file perftool.cpp.
Referenced by list_tests(), and main().
std::string testName |
Definition at line 68 of file perftool.cpp.
Referenced by free_test_list(), list_tests(), main(), runner_find_test_name(), runner_list_tests(), and runner_run_tests().