test_intersect_clipper.cc File Reference
#include "portage/intersect/intersect_clipper.h"
#include "gtest/gtest.h"
#include "Mesh.hh"
#include "MeshFactory.hh"
#include "wonton/mesh/jali/jali_mesh_wrapper.h"
Functions | |
TEST (intersectClipper, simple) | |
Intersect two cells on two single cell meshes to compute moments. This exercises Clipper as well as the intersectClipper class. 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 | ( | intersectClipper | , |
simple | |||
) |
Intersect two cells on two single cell meshes to compute moments. This exercises Clipper as well as the intersectClipper class. 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.