Tests the coupling mapper class for models using facet coupling. More...
#include <config.h>
#include <iostream>
#include <type_traits>
#include <dune/common/exceptions.hh>
#include <dune/common/float_cmp.hh>
#include <dune/grid/uggrid.hh>
#include <dune/alugrid/grid.hh>
#include <dune/foamgrid/foamgrid.hh>
#include <dumux/common/parameters.hh>
#include <dumux/discretization/method.hh>
#include <dumux/discretization/cellcentered/tpfa/fvgridgeometry.hh>
#include <dumux/discretization/cellcentered/mpfa/fvgridgeometry.hh>
#include <dumux/discretization/cellcentered/mpfa/fvgridgeometrytraits.hh>
#include <dumux/discretization/cellcentered/mpfa/dualgridindexset.hh>
#include <dumux/discretization/cellcentered/mpfa/omethod/interactionvolume.hh>
#include <dumux/multidomain/facet/box/fvgridgeometry.hh>
#include <dumux/multidomain/facet/gridmanager.hh>
#include <dumux/multidomain/facet/couplingmapper.hh>
#include <dumux/multidomain/facet/codimonegridadapter.hh>
Tests the coupling mapper class for models using facet coupling.
Classes | |
struct | MpfaGridGeometryTraits< GridView > |
Helper class to define the MpfaFVGridGeometry. More... | |
Macros | |
#define | BULKGRIDTYPE Dune::UGGrid<3> |
#define | USEBOXINBULK 0 |
#define | USEMPFAINBULK 0 |
Functions | |
template<class Geometry > | |
Geometry::ctype | averageCornerDistance (const Geometry &geometry) |
Computes the average distance of corners to the center of a geometry. More... | |
template<class Scvf , class LowDimGeom > | |
void | checkScvfEmbedment (const Scvf &scvf, const LowDimGeom &lowDimGeom) |
Checks if an scvf lies on a low dim element geometry. More... | |
template<class BulkFVG , class FacetFVG , class GridManager , std::enable_if_t< BulkFVG::discMethod !=Dumux::DiscretizationMethod::box, int > = 0> | |
void | updateBulkFvGeometry (BulkFVG &bulkFVG, const FacetFVG &facetFVG, const GridManager &gm) |
Updates a tpfa finite volume grid geometry. More... | |
int | main (int argc, char *argv[]) |
#define BULKGRIDTYPE Dune::UGGrid<3> |
#define USEBOXINBULK 0 |
#define USEMPFAINBULK 0 |
Geometry::ctype averageCornerDistance | ( | const Geometry & | geometry | ) |
Computes the average distance of corners to the center of a geometry.
void checkScvfEmbedment | ( | const Scvf & | scvf, |
const LowDimGeom & | lowDimGeom | ||
) |
Checks if an scvf lies on a low dim element geometry.
int main | ( | int | argc, |
char * | argv[] | ||
) |
void updateBulkFvGeometry | ( | BulkFVG & | bulkFVG, |
const FacetFVG & | facetFVG, | ||
const GridManager & | gm | ||
) |
Updates a tpfa finite volume grid geometry.
Updates a box finite volume grid geometry.