Dune Core Modules (2.6.0)
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()
Run checks for a given grid.
- Parameters
-
grid Grid to perform the checks.
References checkElementDataMapper(), checkMixedDataMapper(), checkVertexDataMapper(), DUNE_NO_DEPRECATED_BEGIN, DUNE_NO_DEPRECATED_END, Dune::FloatCmp::gt(), Dune::Grid< dim, dimworld, ct, GridFamily >::leafGridView(), Dune::Grid< dim, dimworld, ct, GridFamily >::levelGridView(), Dune::Grid< dim, dimworld, ct, GridFamily >::maxLevel(), Dune::mcmgElementLayout(), and Dune::mcmgVertexLayout().
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Dec 26, 23:30, 2024)