#include "TestUtil.hpp"
#include "ElemUtil.hpp"
#include "moab/Core.hpp"
#include "moab/Range.hpp"
#include <iostream>
Go to the source code of this file.
Functions | |
void | test_tet () |
void | test_hex () |
void | test_spectral_hex () |
void | test_spectral_quad () |
void | test_spherical_quad () |
void | test_linear_tri () |
void | test_spherical_tri () |
int | main () |
int main | ( | ) |
Definition at line 21 of file ElementTest.cpp.
References test_hex(), test_linear_tri(), test_spectral_hex(), test_spectral_quad(), test_spherical_quad(), test_spherical_tri(), and test_tet().
void test_hex | ( | ) |
Definition at line 39 of file ElementTest.cpp.
References moab::Element::Map::ievaluate(), and moab::Element::Map::inside_box().
Referenced by main().
void test_linear_tri | ( | ) |
Definition at line 346 of file ElementTest.cpp.
References moab::Element::LinearTri::ievaluate(), and moab::Element::Map::inside_box().
Referenced by main().
void test_spectral_hex | ( | ) |
Definition at line 92 of file ElementTest.cpp.
References moab::Range::begin(), moab::Matrix3::determinant(), moab::Range::empty(), moab::Range::end(), ErrorCode, moab::Element::SpectralHex::evaluate(), moab::Element::SpectralHex::evaluate_scalar_field(), moab::Core::get_entities_by_dimension(), moab::Core::get_entities_by_type_and_tag(), moab::Element::SpectralHex::ievaluate(), moab::Element::SpectralHex::integrate_scalar_field(), inverse(), moab::Element::SpectralHex::jacobian(), moab::Core::load_mesh(), mb, MB_SUCCESS, MB_TYPE_DOUBLE, MB_TYPE_INTEGER, MBENTITYSET, moab::Element::SpectralHex::set_gl_points(), moab::Range::size(), STRINGIFY, moab::Core::tag_get_by_ptr(), moab::Core::tag_get_data(), and moab::Core::tag_get_handle().
Referenced by main().
void test_spectral_quad | ( | ) |
Definition at line 248 of file ElementTest.cpp.
References moab::Range::begin(), moab::Element::SpectralQuad::compute_gl_positions(), moab::Range::end(), ErrorCode, moab::Core::get_connectivity(), moab::Core::get_coords(), moab::Core::get_entities_by_type(), moab::Element::SpectralQuad::get_gl_points(), moab::Core::load_mesh(), mb, MB_SUCCESS, MBQUAD, moab::Element::Map::set_vertices(), size, moab::Range::size(), and STRINGIFY.
Referenced by main().
void test_spherical_quad | ( | ) |
Definition at line 323 of file ElementTest.cpp.
References moab::Element::SphericalQuad::ievaluate(), and moab::Element::SphericalQuad::inside_box().
Referenced by main().
void test_spherical_tri | ( | ) |
Definition at line 403 of file ElementTest.cpp.
References moab::Element::SphericalTri::ievaluate(), and moab::Element::SphericalTri::inside_box().
Referenced by main().
void test_tet | ( | ) |
Definition at line 34 of file ElementTest.cpp.
Referenced by main().