opm-simulators
p1fegradientcalculator.hh File Reference

This class calculates gradients of arbitrary quantities at flux integration points using first order finite elements ansatz functions. More...

#include <dune/common/fvector.hh>
#include <dune/geometry/type.hh>
#include <dune/common/version.hh>
#include <opm/models/discretization/common/fvbasegradientcalculator.hh>
#include <opm/models/discretization/vcfv/vcfvproperties.hh>
#include <stdexcept>
#include <type_traits>

Go to the source code of this file.

Classes

class  Opm::P1FeGradientCalculator< TypeTag >
 This class calculates gradients of arbitrary quantities at flux integration points using first order finite elements ansatz functions. More...
 

Namespaces

 Opm
 Structs needed for tpfalinearizer and its gpuparams struct extracted to be defined in one place that both can include.
 

Detailed Description

This class calculates gradients of arbitrary quantities at flux integration points using first order finite elements ansatz functions.

This approach can also be used for the vertex-centered finite volume (VCFV) discretization.