Dune Core Modules (2.5.2)

test-refinement.cc File Reference

Unit tests for the virtual refinement code. More...

#include "config.h"
#include <iostream>
#include <ostream>
#include <dune/geometry/test/checkgeometry.hh>
#include <dune/geometry/referenceelements.hh>
#include <dune/geometry/type.hh>
#include <dune/geometry/virtualrefinement.hh>

Functions

template<class ct , int dim>
void testVirtualRefinement (int &result, const Dune::GeometryType &elementType, const Dune::GeometryType &coerceTo, int refinement)
 Test virtual refinement for an element with a run-time type.
 
template<unsigned topologyId, class ct , unsigned coerceToId, int dim>
void testStaticRefinementGeometry (int &result, int refinement)
 Test virtual refinement for an element with a static type.
 

Detailed Description

Unit tests for the virtual refinement code.

Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.80.0 (May 15, 22:30, 2024)