version 3.10-dev
stressvariablescache.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_GEOMECHANICS_STRESSVARIABLESCACHE_HH
13#define DUMUX_GEOMECHANICS_STRESSVARIABLESCACHE_HH
14
15#include <dune/common/exceptions.hh>
16
20
21namespace Dumux {
22
28template< class Scalar, class GridGeometry, class DiscretizationMethod = typename GridGeometry::DiscretizationMethod >
30
32template< class Scalar, class GridGeometry >
33class StressVariablesCache<Scalar, GridGeometry, DiscretizationMethods::Box>
34: public CVFEFluxVariablesCache< Scalar, GridGeometry >
35{};
36
37// specialization for the cell centered tpfa method
38template< class Scalar, class GridGeometry >
39class StressVariablesCache<Scalar, GridGeometry, DiscretizationMethods::CCTpfa>
40: public FluxVariablesCaching::_EmptyCache
41{
42public:
60 template<typename... Args>
61 void update(Args&&... args)
62 { DUNE_THROW(Dune::NotImplemented, "Geomechanics with cell-centered schemes"); }
63};
64
65// specialization for the cell centered mpfa method
66template< class Scalar, class GridGeometry >
67class StressVariablesCache<Scalar, GridGeometry, DiscretizationMethods::CCMpfa>
68: public StressVariablesCache<Scalar, GridGeometry, DiscretizationMethods::CCTpfa>
69{};
70
71} // end namespace Dumux
72
73#endif
Flux variables cache class for control-volume finite element schemes. For control-volume finite eleme...
Definition: discretization/cvfe/fluxvariablescache.hh:27
void update(Args &&... args)
Currently, we do not consider cell-centered schemes for geomechanics. In case this is to be integrate...
Definition: stressvariablescache.hh:61
The stress variables cache classes for models involving geomechanics. Store data required for stress ...
Definition: stressvariablescache.hh:29
Flux variables cache class for control-volume finite element schemes.
Classes related to flux variables caching.
The available discretization methods in Dumux.
CVFE< CVFEMethods::PQ1 > Box
Definition: method.hh:94
Definition: adapt.hh:17