3.3.0
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
diffusivepart.hh
Go to the documentation of this file.
1// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2// vi: set et ts=4 sw=4 sts=4:
3/*****************************************************************************
4 * See the file COPYING for full copying permissions. *
5 * *
6 * This program is free software: you can redistribute it and/or modify *
7 * it under the terms of the GNU General Public License as published by *
8 * the Free Software Foundation, either version 3 of the License, or *
9 * (at your option) any later version. *
10 * *
11 * This program is distributed in the hope that it will be useful, *
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14 * GNU General Public License for more details. *
15 * *
16 * You should have received a copy of the GNU General Public License *
17 * along with this program. If not, see <http://www.gnu.org/licenses/>. *
18 *****************************************************************************/
24#ifndef DUMUX_DIFFUSIVEPART_HH
25#define DUMUX_DIFFUSIVEPART_HH
26
28
29namespace Dumux {
36template<class TypeTag>
38{
39private:
43
44 enum{dim = GridView::dimension};
45 using Intersection = typename GridView::Intersection;
46 using DimVector = Dune::FieldVector<Scalar, dim>;
47
48public:
49
52 {}
53
63 void getFlux(DimVector& flux, const Intersection& intersection, Scalar satI, Scalar satJ, const DimVector& pcGradient) const
64 {}
65
75 void getFlux(DimVector& flux, const Intersection& intersection,
76 const Scalar satIntersection, const DimVector& satGradient, const Scalar time) const
77 {}
78
90 void getFlux(DimVector& flux, const Intersection& intersection,
91 const Scalar satIntersection, const DimVector& satGradient, const Scalar time,
92 Scalar satI, Scalar satJ) const
93 {}
94
100 DiffusivePart(Problem& problem)
101 {}
102
103};
104} // end namespace Dumux
105
106#endif
Definition: adapt.hh:29
typename Properties::Detail::GetPropImpl< TypeTag, Property >::type::type GetPropType
get the type alias defined in the property (equivalent to old macro GET_PROP_TYPE(....
Definition: propertysystem.hh:149
Base class for defining the diffusive part of the saturation transport equation.
Definition: diffusivepart.hh:38
void getFlux(DimVector &flux, const Intersection &intersection, const Scalar satIntersection, const DimVector &satGradient, const Scalar time, Scalar satI, Scalar satJ) const
Returns diffusive term for current element face.
Definition: diffusivepart.hh:90
DiffusivePart(Problem &problem)
Constructs a DiffusivePart object.
Definition: diffusivepart.hh:100
void getFlux(DimVector &flux, const Intersection &intersection, const Scalar satIntersection, const DimVector &satGradient, const Scalar time) const
Returns diffusive term for current element face.
Definition: diffusivepart.hh:75
void initialize()
For initialization.
Definition: diffusivepart.hh:51
void getFlux(DimVector &flux, const Intersection &intersection, Scalar satI, Scalar satJ, const DimVector &pcGradient) const
Returns diffusive term for current element face.
Definition: diffusivepart.hh:63
Specifies the properties for immiscible 2p transport.