mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
RestrictProlong: take problem parameters into account that depend on grid elements.
This commit is contained in:
parent
b8b703cc2d
commit
8dc97d54ca
@ -40,6 +40,7 @@
|
||||
#include <opm/material/components/Air.hpp>
|
||||
|
||||
#include <ewoms/models/immiscible/immiscibleproperties.hh>
|
||||
#include <ewoms/disc/common/restrictprolong.hh>
|
||||
|
||||
#include <dune/common/version.hh>
|
||||
#include <dune/common/fvector.hh>
|
||||
@ -188,10 +189,14 @@ class FingerProblem : public GET_PROP_TYPE(TypeTag, BaseProblem)
|
||||
typedef Dune::FieldVector<CoordScalar, dimWorld> GlobalPosition;
|
||||
typedef Dune::FieldMatrix<Scalar, dimWorld, dimWorld> DimMatrix;
|
||||
|
||||
typedef Dune::PersistentContainer< typename GridView::Grid, MaterialLawParams > MaterialLawParamsContainer;
|
||||
typedef typename GridView :: Grid Grid;
|
||||
|
||||
typedef Dune::PersistentContainer< Grid, MaterialLawParams > MaterialLawParamsContainer;
|
||||
//!\endcond
|
||||
|
||||
public:
|
||||
typedef CopyRestrictProlong< Grid, MaterialLawParamsContainer > RestrictProlongOperator;
|
||||
|
||||
/*!
|
||||
* \copydoc Doxygen::defaultProblemConstructor
|
||||
*/
|
||||
@ -205,6 +210,14 @@ public:
|
||||
*/
|
||||
//! \{
|
||||
|
||||
/*!
|
||||
* \brief \copydoc FvBaseProblem::restrictProlongOperator
|
||||
*/
|
||||
RestrictProlongOperator restrictProlongOperator()
|
||||
{
|
||||
return RestrictProlongOperator( materialParams_ );
|
||||
}
|
||||
|
||||
/*!
|
||||
* \copydoc FvBaseProblem::name
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user