Dune Core Modules (2.6.0)
test-axisalignedcubegeometry.cc File Reference
A unit test for the AxisAlignedCubeGeometry class. More...
#include <iostream>
#include <dune/common/exceptions.hh>
#include <dune/common/ios_state.hh>
#include <dune/geometry/axisalignedcubegeometry.hh>
#include <dune/geometry/test/checkgeometry.hh>
Functions | |
template<class TestGeometry > | |
void | testBasicGeometryAffine (const TestGeometry &geometry, int &result) |
Test whether the given BasicGeometry object 'affine' attribute is set correctly. More... | |
Detailed Description
A unit test for the AxisAlignedCubeGeometry class.
Function Documentation
◆ testBasicGeometryAffine()
template<class TestGeometry >
void testBasicGeometryAffine | ( | const TestGeometry & | geometry, |
int & | result | ||
) |
Test whether the given BasicGeometry object 'affine' attribute is set correctly.
- Parameters
-
geometry The Geometry object to test. expectedAffine Whether the geometry should be affine. result Collect pass/fail results.
References Dune::MultiLinearGeometry< ct, mydim, cdim, Traits >::affine().
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 13, 23:29, 2024)