Dune Core Modules (unstable)

mcmgmappertest.cc File Reference

A unit test for the MultipleCodimMultipleGeometryMapper. More...

#include <config.h>
#include <iostream>
#include <set>
#include <dune/common/parallel/mpihelper.hh>
#include <dune/grid/common/mcmgmapper.hh>
#include <dune/grid/yaspgrid.hh>
#include <dune/grid/utility/structuredgridfactory.hh>

Classes

struct  MCMGElementEdgeLayout< dimgrid >
 Layout template for edges and elements This layout template is for use in the MultipleCodimMultipleGeomTypeMapper. It selects edges and elements (entities with dim=1 or dim=dimgrid). More...
 

Functions

template<class Mapper , class GridView >
void checkElementDataMapper (const Mapper &mapper, const GridView &gridView)
 Check whether the index created for element data is unique, consecutive and starting from zero.
 
template<class Mapper , class GridView >
void checkVertexDataMapper (const Mapper &mapper, const GridView &gridView)
 Check whether the index created for vertex data is consecutive and starting from zero.
 
template<class Mapper , class GridView >
void checkMixedDataMapper (const Mapper &mapper, const GridView &gridView)
 Check whether the index created for element and edge data is unique, consecutive and starting from zero.
 
template<typename Grid >
void checkGrid (const Grid &grid)
 Run checks for a given grid. More...
 

Detailed Description

A unit test for the MultipleCodimMultipleGeometryMapper.

Function Documentation

◆ checkGrid()

Creative Commons License   |  Legal Statements / Impressum  |  generated with Hugo v0.69.0 (Mar 1, 23:27, 2021)