Dune Core Modules (2.4.2)

test-refinement.cc File Reference

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

#include "config.h"
#include <iostream>
#include <ostream>
#include <dune/geometry/genericgeometry/topologytypes.hh>
#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.111.3 (Dec 21, 23:30, 2024)