3.1-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Classes | Macros | Functions
test_facetcouplingmapper.cc File Reference

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>

Description

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[])
 

Macro Definition Documentation

◆ BULKGRIDTYPE

#define BULKGRIDTYPE   Dune::UGGrid<3>

◆ USEBOXINBULK

#define USEBOXINBULK   0

◆ USEMPFAINBULK

#define USEMPFAINBULK   0

Function Documentation

◆ averageCornerDistance()

template<class Geometry >
Geometry::ctype averageCornerDistance ( const Geometry &  geometry)

Computes the average distance of corners to the center of a geometry.

◆ checkScvfEmbedment()

template<class Scvf , class LowDimGeom >
void checkScvfEmbedment ( const Scvf &  scvf,
const LowDimGeom &  lowDimGeom 
)

Checks if an scvf lies on a low dim element geometry.

◆ main()

int main ( int  argc,
char *  argv[] 
)

◆ updateBulkFvGeometry()

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.

Updates a box finite volume grid geometry.

Include dependency graph for test_facetcouplingmapper.cc: