version 3.8
porenetwork/solidenergy/spatialparams.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//
13#ifndef DUMUX_PNM_SOLID_ENERGY_SPATIAL_PARAMS_HH
14#define DUMUX_PNM_SOLID_ENERGY_SPATIAL_PARAMS_HH
15
17
18namespace Dumux::PoreNetwork {
19
25template<class FVGridGeometry, class Scalar>
27: public PoreNetwork::SpatialParams<FVGridGeometry, Scalar,
28 SolidEnergySpatialParams<FVGridGeometry, Scalar>>
29{
32 >;
33
34 using GridView = typename FVGridGeometry::GridView;
35 using Element = typename GridView::template Codim<0>::Entity;
36 using GlobalPosition = typename Element::Geometry::GlobalCoordinate;
37 using FVElementGeometry = typename FVGridGeometry::LocalView;
38 using SubControlVolumeFace = typename FVElementGeometry::SubControlVolumeFace;
39
40public:
41 using PermeabilityType = Scalar;
43
49 Scalar porosityAtPos(const GlobalPosition& globalPos) const
50 { return 0.0; }
51
52};
53
54} // end namespace Dumux::PoreNetwork
55
56#endif
The base class for spatial parameters for pore network solid models.
Definition: porenetwork/solidenergy/spatialparams.hh:29
Scalar PermeabilityType
Definition: porenetwork/solidenergy/spatialparams.hh:41
Scalar porosityAtPos(const GlobalPosition &globalPos) const
Define the porosity .
Definition: porenetwork/solidenergy/spatialparams.hh:49
The base class for spatial parameters for pore-network models.
Definition: porenetwork/common/spatialparams.hh:33
Definition: discretization/porenetwork/fvelementgeometry.hh:24
The base class for spatial parameters for pore-network models.