3.3.0
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
gridadaptproperties.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 *****************************************************************************/
27#ifndef DUMUX_GRIDADAPT_PROPERTIES_HH
28#define DUMUX_GRIDADAPT_PROPERTIES_HH
29
32
33namespace Dumux
34{
35// forward declarations
36template<class TypeTag>
37class GridAdaptInitializationIndicatorDefault;
38
39template<class TypeTag, bool>
40class GridAdapt;
41
42
43namespace Properties
44{
46namespace TTag {
47struct GridAdapt {};
48}
49
51template<class TypeTag, class MyTypeTag>
53
55template<class TypeTag, class MyTypeTag>
57
59template<class TypeTag, class MyTypeTag>
61
63template<class TypeTag, class MyTypeTag>
65
67template<class TypeTag, class MyTypeTag>
69
71template<class TypeTag, class MyTypeTag>
73
74//no adaptive grid
75template<class TypeTag>
76struct AdaptiveGrid<TypeTag, TTag::GridAdapt> { static constexpr bool value = false; };
77
78//Set default class for adaptation initialization indicator
79template<class TypeTag>
81//Set default class for adaptation
82template<class TypeTag>
84
85//standard setting
86template<class TypeTag>
87struct GridAdaptRefineThreshold<TypeTag, TTag::GridAdapt> { static constexpr auto value = 0.0; };
88template<class TypeTag>
89struct GridAdaptCoarsenThreshold<TypeTag, TTag::GridAdapt> { static constexpr auto value = 0.0; };
90} // namespace Properties
91} // namespace Dumux
92
93
94#endif
The infrastructure to retrieve run-time parameters from Dune::ParameterTrees.
Definition: adapt.hh:29
a tag to mark properties as undefined
Definition: propertysystem.hh:36
Standard Module for h-adaptive simulations.
Definition: gridadapt.hh:47
Class defining a start indicator for grid adaption.
Definition: gridadaptinitializationindicatordefault.hh:42
Definition: gridadaptproperties.hh:47
Defines if the grid is h-adaptive.
Definition: gridadaptproperties.hh:52
The type of grid adaptation.
Definition: gridadaptproperties.hh:56
Class defining the refinement/coarsening indicator.
Definition: gridadaptproperties.hh:60
Class defining the refinement/coarsening indicator for grid initialization.
Definition: gridadaptproperties.hh:64
Tolerance for refinement.
Definition: gridadaptproperties.hh:68
Tolerance for coarsening.
Definition: gridadaptproperties.hh:72
Declares all properties used in Dumux.