// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
// vi: set et ts=4 sw=4 sts=4:
/*****************************************************************************
* See the file COPYING for full copying permissions. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation, either version 3 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program. If not, see . *
*****************************************************************************/
/*!
* \file
* \ingroup BoundaryTests
* \brief The properties for the incompressible test
*/
#ifndef DUMUX_MULTIDOMAIN_ONEP_TWOP_PROPERTIES_HH
#define DUMUX_MULTIDOMAIN_ONEP_TWOP_PROPERTIES_HH
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include "problem.hh"
#include "spatialparams.hh"
namespace Dumux::Properties {
// Create new type tags
namespace TTag {
struct OnePSub { using InheritsFrom = std::tuple; };
// differentiate between the two subproblems
struct OnePSub0 { using InheritsFrom = std::tuple; };
struct OnePSub1 { using InheritsFrom = std::tuple; };
} // end namespace TTag
// the coupling manager
template
struct CouplingManager
{ using type = DarcyDarcyBoundaryCouplingManager>; };
// Set the grid type
template
struct Grid
{
using HostGrid = Dune::YaspGrid<2, Dune::EquidistantOffsetCoordinates>;
using type = Dune::SubGrid;
};
// set the spatial params
template
struct SpatialParams
{
using type = TestSpatialParams,
GetPropType>;
};
// differentiate between the two fluid systems
template
struct FluidSystem
{
using Scalar = GetPropType;
using type = FluidSystems::OnePLiquid >;
};
template
struct FluidSystem
{
using Scalar = GetPropType;
using type = FluidSystems::TwoPImmiscible>,
FluidSystems::OnePGas>>;
};
// differentiate between the two subproblems
template
struct Problem { using type = OnePTestProblem; };
template
struct Problem { using type = OnePTestProblem; };
} // end namespace Dumux::Properties
#endif