3.3.0
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
velocitydefault.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 *****************************************************************************/
19#ifndef DUMUX_VELOCITYDEFAULT_HH
20#define DUMUX_VELOCITYDEFAULT_HH
21
27#include <dune/grid/common/gridenums.hh>
28
30
31namespace Dumux
32{
34
40template<class TypeTag>
42{
45
47 using Intersection = typename GridView::Intersection;
48
49
50public:
52
55 FVVelocityDefault(Problem& problem)
56 {}
57
60 {}
61
63 void calculateVelocity(const Intersection& intersection, CellData& cellData)
64 {}
65
67 void calculateVelocityOnBoundary(const Intersection& intersection, CellData& cellData)
68 {}
69
72 {
73 return false;
74 }
75
82 template<class MultiWriter>
83 void addOutputVtkFields(MultiWriter &writer)
84 {}
85
86
87};
88}
89#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
Default implementation of a velocity class.
Definition: velocitydefault.hh:42
FVVelocityDefault(Problem &problem)
Constructs a FVVelocityDefault object.
Definition: velocitydefault.hh:55
void initialize()
For initialization.
Definition: velocitydefault.hh:59
bool calculateVelocityInTransport()
Indicates if velocity is reconstructed the transport step.
Definition: velocitydefault.hh:71
void calculateVelocityOnBoundary(const Intersection &intersection, CellData &cellData)
Local velocity calculation.
Definition: velocitydefault.hh:67
void calculateVelocity(const Intersection &intersection, CellData &cellData)
Local velocity calculation.
Definition: velocitydefault.hh:63
void addOutputVtkFields(MultiWriter &writer)
Adds velocity output to the output file.
Definition: velocitydefault.hh:83
Base file for properties related to sequential models.