Dune Core Modules (2.8.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
geometryThe Geometry object to test.
expectedAffineWhether the geometry should be affine.
resultCollect pass/fail results.

References Dune::MultiLinearGeometry< ct, mydim, cdim, Traits >::affine().

Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 13, 23:29, 2024)