Dune Core Modules (2.6.0)

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/uggrid.hh>
#include "../../../../doc/grids/gridfactory/hybridtestgrids.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  |  Hosted by TU Dresden  |  generated with Hugo v0.80.0 (Apr 19, 22:31, 2024)