version 3.10-dev
grid.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// SPDX-FileCopyrightInfo: Copyright © DuMux Project contributors, see AUTHORS.md in root folder
5// SPDX-License-Identifier: GPL-3.0-or-later
6//
12#ifndef DUMUX_GRID_PROPERTIES_HH
13#define DUMUX_GRID_PROPERTIES_HH
14
15#include <dune/common/fvector.hh>
16
20
21namespace Dumux {
22namespace Properties {
23
24namespace TTag {
27}
28
30template<class TypeTag>
31struct PointSource<TypeTag, TTag::GridProperties>
32{
33private:
36 using GlobalPosition = typename Dune::FieldVector<typename GridView::ctype, GridView::dimensionworld>;
37public:
39};
40
42template<class TypeTag>
43struct PointSourceHelper<TypeTag, TTag::GridProperties> { using type = BoundingBoxTreePointSourceHelper; };
44
45} // namespace Properties
46} // namespace Dumux
47
48#endif
A helper class calculating a sub control volume to point source map This class uses the bounding box ...
Definition: pointsource.hh:266
A point source base class.
Definition: pointsource.hh:39
Defines all properties used in Dumux.
typename NumEqVectorTraits< PrimaryVariables >::type NumEqVector
A vector with the same size as numbers of equations This is the default implementation and has to be ...
Definition: numeqvector.hh:34
typename GetProp< TypeTag, Property >::type GetPropType
get the type alias defined in the property
Definition: propertysystem.hh:296
Definition: adapt.hh:17
A helper to deduce a vector with the same size as numbers of equations.
A point source class, i.e. sources located at a single point in space.
Type tag for numeric models.
Definition: grid.hh:26