version 3.10-dev
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
50#define DUMUX_REGISTER_SOLVER(name, tag, ...) \
51} namespace Dune { \
52DUNE_REGISTRY_PUT(tag, name, __VA_ARGS__); \
53} namespace Dumux { \
54static_assert(true, "Require semicolon after macro call")
55
56namespace Dumux {
57namespace {
58struct MultiTypeBlockMatrixPreconditionerTag {};
59struct MultiTypeBlockMatrixDirectSolverTag {};
60struct MultiTypeBlockMatrixSolverTag {};
61} // end namespace
62} // end namespace Dumux
63
64#endif
Definition: adapt.hh:17