test_intersect_r2d.cc File Reference
#include "gtest/gtest.h"
#include "portage/support/portage.h"
#include "portage/intersect/intersect_rNd.h"
#include "wonton/mesh/simple/simple_mesh.h"
#include "wonton/mesh/simple/simple_mesh_wrapper.h"
#include "wonton/state/simple/simple_state.h"
#include "wonton/state/simple/simple_state_wrapper.h"
Functions | |
TEST (intersectR2D, simple1) | |
Intersect two cells on two single cell meshes to compute moments. Intersect two cells contained in the mesh: (0, 0) (2, 0) (2, 2) (0,2) with (1,1) (2,1) (2,2) (1,2) Results should be an area of 1 and a centroid of 1.5, 1.5. More... | |
Function Documentation
◆ TEST()
TEST | ( | intersectR2D | , |
simple1 | |||
) |
Intersect two cells on two single cell meshes to compute moments. Intersect two cells contained in the mesh: (0, 0) (2, 0) (2, 2) (0,2) with (1,1) (2,1) (2,2) (1,2) Results should be an area of 1 and a centroid of 1.5, 1.5.