3.1-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Loading...
Searching...
No Matches
jacobianpattern.hh File Reference

Helper function to generate Jacobian pattern for different discretization methods. More...

#include <type_traits>
#include <dune/istl/matrixindexset.hh>
#include <dumux/discretization/method.hh>

Go to the source code of this file.

Description

Helper function to generate Jacobian pattern for different discretization methods.

Namespaces

namespace  Dumux
 make the local view function available whenever we use the grid geometry

Functions

template<bool isImplicit, class GridGeometry, typename std::enable_if_t<(GridGeometry::discMethod==DiscretizationMethod::box), int > = 0>
Dune::MatrixIndexSet Dumux::getJacobianPattern (const GridGeometry &gridGeometry)
 Helper function to generate Jacobian pattern for the box method.
template<bool isImplicit, class GridGeometry, typename std::enable_if_t<((GridGeometry::discMethod==DiscretizationMethod::staggered)), int > = 0>
auto Dumux::getJacobianPattern (const GridGeometry &gridGeometry)
 Helper function to generate Jacobian pattern for the staggered method.
template<class FEBasis>
Dune::MatrixIndexSet Dumux::getFEJacobianPattern (const FEBasis &feBasis)
 Helper function to generate Jacobian pattern for finite element scheme.