Dune Core Modules (2.6.0)

test-refinement.cc File Reference

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

#include "config.h"
#include <iostream>
#include <ostream>
#include <typeinfo>
#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, Dune::RefinementIntervals tag, std::string refType)
 Test virtual refinement for an element with a run-time type.
 
template<unsigned topologyId, class ct , unsigned coerceToId, int dim>
void testStaticRefinementGeometry (int &result, Dune::RefinementIntervals tag, std::string refType)
 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 27, 23:30, 2024)