version 3.11-dev
Loading...
Searching...
No Matches
concepts.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#ifndef DUMUX_DISCRETIZATION_CONCEPTS_HH
13#define DUMUX_DISCRETIZATION_CONCEPTS_HH
14
16
25template<class ED>
26concept FVElementDiscretization = requires(const ED& ed) {
27 scvs(ed);
28 scvfs(ed);
29};
30
38template<class ED>
40 && requires(const ED& ed) { nonCVLocalDofs(ed); };
41
49template<class ED>
51 && requires(const ED& ed) { nonCVLocalDofs(ed); };
52
53} // namespace Dumux::Experimental::Concepts
54
55#endif // DUMUX_DISCRETIZATION_CONCEPTS_HH
Concept for pure finite-element discretizations (no FV structure).
Definition concepts.hh:50
Concept for finite-volume discretizations.
Definition concepts.hh:26
Concept for hybrid finite-element/finite-volume discretizations.
Definition concepts.hh:39
Definition concepts.hh:15
std::ranges::range auto scvs(const FVElementGeometry &fvGeometry, const LocalDof &localDof)
Definition localdof.hh:82