|
xmsgrid
1.0
|
Tests XmUGrids. More...
Public Member Functions | |
| void | testOperators () |
| Test constructors and assignment operator. | |
| void | testUGridStreams () |
| [snip_test_UGrid_Streams] More... | |
| void | testGetSetPoint () |
| [snip_test_UGrid_Streams] More... | |
| void | testGetCellCellstream () |
| Test Getting a cell stream. | |
| void | testGetCellType () |
| Test getting number of points, cells, and cell type. | |
| void | testGetCellDimension () |
| Test getting dimension of single cells and all cells. | |
| void | testGetExtents () |
| Test getting the extents of a UGrid. | |
| void | testGetCellEdgeCount () |
| Test getting edges of single cells. | |
| void | testGetCell3dFaceCount () |
| [snip_test_GetNumberOfCellFaces] More... | |
| void | testGetCell3dFacePointCount () |
| [snip_test_GetNumberOfCellFaces] More... | |
| void | testGetPointAdjacentCellsSimple () |
| Test getting the cells attached to points. | |
| void | testGetPointAdjacentCells () |
| Test getting cells adjacent to a point. | |
| void | testGetCellPoints () |
| Test getting a vector of point indices for a cell. | |
| void | testGetCellEdge () |
| Test iterating through the edges of cells. More... | |
| void | testGetPointsAdjacentCells () |
| Test retrieving common cells from points. | |
| void | testGetCellAdjacentCells () |
| [snip_test_GetCellAdjacentCells] More... | |
| void | testGetCellEdgeAdjacentCells () |
| [snip_test_GetCellAdjacentCells] More... | |
| void | testEdgeAdjacentCells () |
| Test retrieving Adjacent Cell. | |
| void | testGetCell3dFacePoints () |
| Test retrieving Cell Face. | |
| void | testGetCell3dFaceAdjacentCell () |
| [snip_test_GetCell3dFaceAdjacentCell] More... | |
| void | testGetPointAdjacentPoints () |
| [snip_test_GetCell3dFaceAdjacentCell] More... | |
| void | testGetCellPlanViewPolygon () |
| [snip_test_GetPointAdjacentPoints] More... | |
| void | testGetCellPlanViewPolygonMultiSideFace () |
| [snip_test_GetCellPlanViewPolygon] More... | |
| void | testIsCellValidWithPointChange () |
| Test validating a cell for a changed point. | |
| void | testPointFunctions () |
| [snip_test_PointFunctions] More... | |
| void | testCellFunctions () |
| [snip_test_PointFunctions] More... | |
| void | testCellstreamFunctions () |
| Test various cell functions. More... | |
| void | testCellEdgeAdjacentCellFunctions () |
| Test all get adjacent cell functions. More... | |
| void | testCellEdges () |
| Test various cell functions. More... | |
| void | testCell3dFaceFunctions () |
| Test various get face functions. More... | |
| void | testGetCell3dFaceOrientationHexahedrons () |
| [snip_test_Cell3dFaceFunctions] More... | |
| void | testGetCell3dFaceOrientationConcaveCell () |
| Test face orientation for concave cell where a triangle from the first two points in the top face to the centroid create a triangle with a normal pointing down rather than up. | |
| void | testCell3dFunctionCaching () |
| Test caching to speed up a few 3D cell getters. | |
| void | testLargeUGridLinkSpeed () |
| Tests creating a large UGrid and checks the time spent. | |
Tests XmUGrids.
Definition at line 30 of file XmUGrid.t.h.
| void XmUGridUnitTests::testCell3dFaceFunctions | ( | ) |
Test various get face functions.
[snip_test_CellEdges] [snip_test_Cell3dFaceFunctions]
Definition at line 5430 of file XmUGrid.cpp.
References xms::TEST_XmUGrid3dLinear(), and TS_REQUIRE_NOT_NULL.
| void XmUGridUnitTests::testCellEdgeAdjacentCellFunctions | ( | ) |
Test all get adjacent cell functions.
[snip_test_CellstreamFunctions] [snip_test_CellEdgeAdjacentCellFunctions]
Definition at line 5375 of file XmUGrid.cpp.
References xms::TEST_XmUGridSimpleQuad(), and TS_REQUIRE_NOT_NULL.
| void XmUGridUnitTests::testCellEdges | ( | ) |
Test various cell functions.
[snip_test_CellEdgeAdjacentCellFunctions] [snip_test_CellEdges]
Definition at line 5414 of file XmUGrid.cpp.
References xms::TEST_XmUGridSimpleQuad(), and TS_REQUIRE_NOT_NULL.
| void XmUGridUnitTests::testCellFunctions | ( | ) |
[snip_test_PointFunctions]
[snip_test_CellFunctions] Test various cell functions
Definition at line 5310 of file XmUGrid.cpp.
References xms::TEST_XmUGridSimpleQuad(), and TS_REQUIRE_NOT_NULL.
| void XmUGridUnitTests::testCellstreamFunctions | ( | ) |
Test various cell functions.
[snip_test_CellFunctions] [snip_test_CellstreamFunctions]
Definition at line 5353 of file XmUGrid.cpp.
References xms::TEST_XmUGridSimpleQuad(), and TS_REQUIRE_NOT_NULL.
| void XmUGridUnitTests::testGetCell3dFaceAdjacentCell | ( | ) |
[snip_test_GetCell3dFaceAdjacentCell]
Test retrieving Cell Face Neighbor
Definition at line 4976 of file XmUGrid.cpp.
References xms::TEST_XmUBuildHexahedronUgrid(), and TS_REQUIRE_NOT_NULL.
| void XmUGridUnitTests::testGetCell3dFaceCount | ( | ) |
[snip_test_GetNumberOfCellFaces]
Test getting edges of single cells.
Definition at line 4318 of file XmUGrid.cpp.
References xms::TEST_XmUGrid2dLinear(), xms::TEST_XmUGrid3dLinear(), and TS_REQUIRE_NOT_NULL.
| void XmUGridUnitTests::testGetCell3dFaceOrientationHexahedrons | ( | ) |
[snip_test_Cell3dFaceFunctions]
Test face orientation for 3D grid of hexahedrons.
Definition at line 5531 of file XmUGrid.cpp.
References xms::TEST_XmUBuildHexahedronUgrid(), and xms::TEST_XmUBuildPolyhedronUgrid().
| void XmUGridUnitTests::testGetCell3dFacePointCount | ( | ) |
[snip_test_GetNumberOfCellFaces]
Test getting the number of face points for a cell face.
Definition at line 4349 of file XmUGrid.cpp.
References xms::TEST_XmUGrid2dLinear(), xms::TEST_XmUGrid3dLinear(), and TS_REQUIRE_NOT_NULL.
| void XmUGridUnitTests::testGetCellAdjacentCells | ( | ) |
[snip_test_GetCellAdjacentCells]
Test retrieving Cell Neighbors
Definition at line 4718 of file XmUGrid.cpp.
References xms::TEST_XmUGrid2dLinear(), xms::TEST_XmUGrid3dLinear(), xms::TEST_XmUGridSimpleQuad(), and TS_REQUIRE_NOT_NULL.
| void XmUGridUnitTests::testGetCellEdge | ( | ) |
Test iterating through the edges of cells.
[snip_test_GetCellEdgeFromEdgeIndex2D]
[snip_test_GetCellEdgeFromEdgeIndex2D]
[snip_test_GetCellEdgeFromEdgeIndex3D]
[snip_test_GetCellEdgeFromEdgeIndex3D]
Definition at line 4541 of file XmUGrid.cpp.
References xms::TEST_XmUGrid2dLinear(), xms::TEST_XmUGrid3dLinear(), xms::TEST_XmUGridSimpleQuad(), and TS_REQUIRE_NOT_NULL.
| void XmUGridUnitTests::testGetCellEdgeAdjacentCells | ( | ) |
[snip_test_GetCellAdjacentCells]
Test retrieving Adjacent Cell
Definition at line 4798 of file XmUGrid.cpp.
References xms::TEST_XmUBuildHexahedronUgrid(), xms::TEST_XmUGridSimpleQuad(), and TS_REQUIRE_NOT_NULL.
| void XmUGridUnitTests::testGetCellPlanViewPolygon | ( | ) |
[snip_test_GetPointAdjacentPoints]
[snip_test_GetCellPlanViewPolygon] Test getting the plan view polygon of a cell.
Definition at line 5112 of file XmUGrid.cpp.
References xms::TEST_XmUBuild3DChevronUgrid(), xms::TEST_XmUGrid2dLinear(), xms::TEST_XmUGrid3dLinear(), and TS_REQUIRE_NOT_NULL.
| void XmUGridUnitTests::testGetCellPlanViewPolygonMultiSideFace | ( | ) |
[snip_test_GetCellPlanViewPolygon]
Test getting the plan view points of a cell.
Definition at line 5170 of file XmUGrid.cpp.
References xms::XmUGrid::New(), and TS_REQUIRE_NOT_NULL.
| void XmUGridUnitTests::testGetPointAdjacentPoints | ( | ) |
[snip_test_GetCell3dFaceAdjacentCell]
[snip_test_GetPointAdjacentPoints] Test GetPointAdjacentPoints and GetPointAdjacentLocations.
Definition at line 5074 of file XmUGrid.cpp.
References xms::TEST_XmUGridSimpleQuad(), and TS_REQUIRE_NOT_NULL.
| void XmUGridUnitTests::testGetSetPoint | ( | ) |
[snip_test_UGrid_Streams]
Test Getting a point
[snip_test_NewOperator]
[snip_test_NewOperator]
Definition at line 4099 of file XmUGrid.cpp.
References xms::XmUGrid::New().
| void XmUGridUnitTests::testPointFunctions | ( | ) |
[snip_test_PointFunctions]
Test various point functions
Definition at line 5254 of file XmUGrid.cpp.
References xms::TEST_XmUGridSimpleQuad(), and TS_REQUIRE_NOT_NULL.
| void XmUGridUnitTests::testUGridStreams | ( | ) |
[snip_test_UGrid_Streams]
Test XmUGrid point and cell streams.
Definition at line 4041 of file XmUGrid.cpp.
References xms::XmUGrid::IsValidCellstream(), and xms::XmUGrid::New().