version 3.10.0
Loading...
Searching...
No Matches
nofriction.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-FileCopyrightText: Copyright © DuMux Project contributors, see AUTHORS.md in root folder
5// SPDX-License-Identifier: GPL-3.0-or-later
6//
12
13#ifndef DUMUX_MATERIAL_FLUIDMATRIX_FRICTIONLAW_NOFRICTION_HH
14#define DUMUX_MATERIAL_FLUIDMATRIX_FRICTIONLAW_NOFRICTION_HH
15
16#include "frictionlaw.hh"
17
18namespace Dumux {
23
36template <typename VolumeVariables>
37class FrictionLawNoFriction : public FrictionLaw<VolumeVariables>
38{
39 using Scalar = typename VolumeVariables::PrimaryVariables::value_type;
40public:
45
58 Dune::FieldVector<Scalar, 2> bottomShearStress(const VolumeVariables& volVars) const final
59 {
60 return {0.0, 0.0};
61 }
62};
63
64} // end namespace Dumux
65
66#endif
Implementation of the abstract base class for friction laws.
Definition frictionlaw.hh:37
Dune::FieldVector< Scalar, 2 > bottomShearStress(const VolumeVariables &volVars) const final
Compute the bottom shear stress.
Definition nofriction.hh:58
FrictionLawNoFriction()=default
Constructor.
Implementation of the abstract base class for friction laws.
Definition adapt.hh:17