version 3.8
istlsolverregistry.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_LINEAR_ISTL_SOLVER_REGISTRY_HH
14#define DUMUX_LINEAR_ISTL_SOLVER_REGISTRY_HH
15
16#include <dune/istl/common/registry.hh>
17
31#define DUMUX_REGISTER_PRECONDITIONER(name, tag, ...) \
32} namespace Dune { \
33DUNE_REGISTRY_PUT(tag, name, __VA_ARGS__); \
34} namespace Dumux { \
35static_assert(true, "Require semicolon after macro call")
36
37namespace Dumux {
38namespace {
39struct MultiTypeBlockMatrixPreconditionerTag {};
40struct MultiTypeBlockMatrixDirectSolverTag {};
41} // end namespace
42} // end namespace Dumux
43
44#endif
Definition: adapt.hh:17