MOAB: Mesh Oriented datABase
(version 5.5.0)
|
#include <iostream>
#include <string>
#include <sstream>
#include <ctime>
#include <vector>
#include <algorithm>
#include "moab/Core.hpp"
#include "moab/Range.hpp"
#include "moab/CartVect.hpp"
#include "moab/MeshTopoUtil.hpp"
#include "moab/NestedRefine.hpp"
#include "moab/DiscreteGeometry/HiReconstruction.hpp"
#include "TestUtil.hpp"
#include <cmath>
Go to the source code of this file.
Functions | |
ErrorCode | load_meshset_hirec (const char *infile, Interface *mbimpl, EntityHandle &meshset, ParallelComm *&pc, const int degree=0, const int dim=2) |
ErrorCode | test_mesh (const char *infile, const int degree, const bool interp, const int dim) |
void | compute_linear_coords (const int nvpe, double *elemcoords, double *naturals, double *linearcoords) |
void | usage () |
int | main (int argc, char *argv[]) |
void compute_linear_coords | ( | const int | nvpe, |
double * | elemcoords, | ||
double * | naturals, | ||
double * | linearcoords | ||
) |
ErrorCode load_meshset_hirec | ( | const char * | infile, |
Interface * | mbimpl, | ||
EntityHandle & | meshset, | ||
ParallelComm *& | pc, | ||
const int | degree = 0 , |
||
const int | dim = 2 |
||
) |
Definition at line 177 of file hireconst_test_parallel.cpp.
References moab::Interface::create_meshset(), dim, moab::error(), ErrorCode, moab::HiReconstruction::estimate_num_ghost_layers(), moab::ParallelComm::get_pcomm(), moab::Interface::load_file(), MB_CHK_ERR, MB_SET_ERR, MESHSET_SET, MPI_COMM_WORLD, rank, and read_options.
Referenced by test_mesh().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 58 of file hireconst_test_parallel.cpp.
References dim, moab::error(), ErrorCode, MB_CHK_ERR, MPI_COMM_WORLD, rank, test_mesh(), and usage().
ErrorCode test_mesh | ( | const char * | infile, |
const int | degree, | ||
const bool | interp, | ||
const int | dim | ||
) |
Definition at line 244 of file hireconst_test_parallel.cpp.
References moab::CartVect::array(), moab::Range::begin(), compute_linear_coords(), dim, moab::Range::end(), moab::error(), ErrorCode, moab::ParallelComm::filter_pstatus(), moab::Interface::get_connectivity(), moab::Interface::get_coords(), moab::Interface::get_entities_by_dimension(), moab::HiReconstruction::hiproj_walf_in_element(), moab::CartVect::length(), load_meshset_hirec(), MB_CHK_ERR, MPI_COMM_WORLD, PSTATUS_GHOST, PSTATUS_NOT, rank, moab::HiReconstruction::reconstruct3D_curve_geom(), moab::HiReconstruction::reconstruct3D_surf_geom(), and moab::Range::size().
Referenced by main().
void usage | ( | ) |