Commit c4472c09 authored by Kilian Weishaupt's avatar Kilian Weishaupt
Browse files

[fcstaggered][fvgridgeometry] Use SingleCodimSingleGeomTypeMapper

*should be faster than MultipleCodimMultipleGeomTypeMapper
parent 12498bb0
Pipeline #12706 waiting for manual action with stages
......@@ -27,6 +27,7 @@
#include <memory>
#include <dune/common/rangeutilities.hh>
#include <dune/grid/common/scsgmapper.hh>
#include <dumux/common/defaultmappertraits.hh>
#include <dumux/common/indextraits.hh>
......@@ -57,6 +58,7 @@ namespace Dumux {
template<class GridView>
struct FaceCenteredStaggeredDefaultGridGeometryTraits : public DefaultMapperTraits<GridView>
{
using ElementMapper = Dune::SingleCodimSingleGeomTypeMapper<GridView, 0/*codim*/>;
using SubControlVolume = FaceCenteredStaggeredSubControlVolume<GridView>;
using SubControlVolumeFace = FaceCenteredStaggeredSubControlVolumeFace<GridView>;
using IntersectionMapper = ConformingGridIntersectionMapper<GridView>;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment