Commit df1daf5a authored by Bernd Flemisch's avatar Bernd Flemisch
Browse files

[test][porousmediumflow][tracer] use new base spatial params

parent def45c8c
Pipeline #11281 waiting for manual action with stages
......@@ -25,7 +25,7 @@
#define DUMUX_TWOP_TRACER_TEST_SPATIAL_PARAMS_HH
#include <dumux/porousmediumflow/properties.hh>
#include <dumux/material/spatialparams/fv.hh>
#include <dumux/porousmediumflow/fvspatialparamsmp.hh>
#include <iostream>
namespace Dumux {
......@@ -36,16 +36,16 @@ namespace Dumux {
*/
template<class GridGeometry, class Scalar>
class TwoPTracerTestSpatialParams
: public FVSpatialParams<GridGeometry, Scalar,
TwoPTracerTestSpatialParams<GridGeometry, Scalar>>
: public FVPorousMediumSpatialParamsMP<GridGeometry, Scalar,
TwoPTracerTestSpatialParams<GridGeometry, Scalar>>
{
using GridView = typename GridGeometry::GridView;
using FVElementGeometry = typename GridGeometry::LocalView;
using SubControlVolume = typename FVElementGeometry::SubControlVolume;
using SubControlVolumeFace = typename FVElementGeometry::SubControlVolumeFace;
using Element = typename GridView::template Codim<0>::Entity;
using ParentType = FVSpatialParams<GridGeometry, Scalar,
TwoPTracerTestSpatialParams<GridGeometry, Scalar>>;
using ParentType = FVPorousMediumSpatialParamsMP<GridGeometry, Scalar,
TwoPTracerTestSpatialParams<GridGeometry, Scalar>>;
static const int dimWorld = GridView::dimensionworld;
using GlobalPosition = typename Dune::FieldVector<Scalar, dimWorld>;
......
......@@ -26,7 +26,7 @@
#define DUMUX_TRACER_TEST_SPATIAL_PARAMS_HH
#include <dumux/porousmediumflow/properties.hh>
#include <dumux/material/spatialparams/fv1p.hh>
#include <dumux/porousmediumflow/fvspatialparams1p.hh>
namespace Dumux {
......@@ -36,16 +36,16 @@ namespace Dumux {
*/
template<class GridGeometry, class Scalar>
class TracerTestSpatialParams
: public FVSpatialParamsOneP<GridGeometry, Scalar,
TracerTestSpatialParams<GridGeometry, Scalar>>
: public FVPorousMediumSpatialParamsOneP<GridGeometry, Scalar,
TracerTestSpatialParams<GridGeometry, Scalar>>
{
using GridView = typename GridGeometry::GridView;
using FVElementGeometry = typename GridGeometry::LocalView;
using SubControlVolume = typename FVElementGeometry::SubControlVolume;
using SubControlVolumeFace = typename FVElementGeometry::SubControlVolumeFace;
using Element = typename GridView::template Codim<0>::Entity;
using ParentType = FVSpatialParamsOneP<GridGeometry, Scalar,
TracerTestSpatialParams<GridGeometry, Scalar>>;
using ParentType = FVPorousMediumSpatialParamsOneP<GridGeometry, Scalar,
TracerTestSpatialParams<GridGeometry, Scalar>>;
static const int dimWorld = GridView::dimensionworld;
using GlobalPosition = typename Dune::FieldVector<Scalar, dimWorld>;
......
......@@ -26,7 +26,7 @@
#define DUMUX_TRACER_TEST_SPATIAL_PARAMS_HH
#include <dumux/common/parameters.hh>
#include <dumux/material/spatialparams/fv1p.hh>
#include <dumux/porousmediumflow/fvspatialparams1p.hh>
namespace Dumux {
......@@ -36,16 +36,16 @@ namespace Dumux {
*/
template<class GridGeometry, class Scalar>
class TracerTestSpatialParams
: public FVSpatialParamsOneP<GridGeometry, Scalar,
TracerTestSpatialParams<GridGeometry, Scalar>>
: public FVPorousMediumSpatialParamsOneP<GridGeometry, Scalar,
TracerTestSpatialParams<GridGeometry, Scalar>>
{
using GridView = typename GridGeometry::GridView;
using FVElementGeometry = typename GridGeometry::LocalView;
using SubControlVolume = typename FVElementGeometry::SubControlVolume;
using SubControlVolumeFace = typename FVElementGeometry::SubControlVolumeFace;
using Element = typename GridView::template Codim<0>::Entity;
using ParentType = FVSpatialParamsOneP<GridGeometry, Scalar,
TracerTestSpatialParams<GridGeometry, Scalar>>;
using ParentType = FVPorousMediumSpatialParamsOneP<GridGeometry, Scalar,
TracerTestSpatialParams<GridGeometry, Scalar>>;
static const int dimWorld = GridView::dimensionworld;
using GlobalPosition = typename Dune::FieldVector<Scalar, dimWorld>;
......
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