| 1 |
// @HEADER |
| 2 |
// ***************************************************************************** |
| 3 |
// MueLu: A package for multigrid based preconditioning |
| 4 |
// |
| 5 |
// Copyright 2012 NTESS and the MueLu contributors. |
| 6 |
// SPDX-License-Identifier: BSD-3-Clause |
| 7 |
// ***************************************************************************** |
| 8 |
// @HEADER |
| 9 |
|
| 10 |
// Type definitions for templated classes (generally graph-related) that do not require a scalar. |
| 11 |
|
| 12 |
#include <Xpetra_UseShortNamesOrdinal.hpp> |
| 13 |
|
| 14 |
#ifdef MUELU_AGGREGATES_SHORT |
| 15 |
using Aggregates [[maybe_unused]] = MueLu::Aggregates<LocalOrdinal, GlobalOrdinal, Node>; |
| 16 |
#endif |
| 17 |
#ifdef MUELU_AGGREGATIONPHASE1ALGORITHM_SHORT |
| 18 |
using AggregationPhase1Algorithm [[maybe_unused]] = MueLu::AggregationPhase1Algorithm<LocalOrdinal, GlobalOrdinal, Node>; |
| 19 |
#endif |
| 20 |
#ifdef MUELU_AGGREGATIONPHASE2AALGORITHM_SHORT |
| 21 |
using AggregationPhase2aAlgorithm [[maybe_unused]] = MueLu::AggregationPhase2aAlgorithm<LocalOrdinal, GlobalOrdinal, Node>; |
| 22 |
#endif |
| 23 |
#ifdef MUELU_AGGREGATIONPHASE2BALGORITHM_SHORT |
| 24 |
using AggregationPhase2bAlgorithm [[maybe_unused]] = MueLu::AggregationPhase2bAlgorithm<LocalOrdinal, GlobalOrdinal, Node>; |
| 25 |
#endif |
| 26 |
#ifdef MUELU_AGGREGATIONPHASE3ALGORITHM_SHORT |
| 27 |
using AggregationPhase3Algorithm [[maybe_unused]] = MueLu::AggregationPhase3Algorithm<LocalOrdinal, GlobalOrdinal, Node>; |
| 28 |
#endif |
| 29 |
#ifdef MUELU_AGGREGATIONSTRUCTUREDALGORITHM_SHORT |
| 30 |
using AggregationStructuredAlgorithm [[maybe_unused]] = MueLu::AggregationStructuredAlgorithm<LocalOrdinal, GlobalOrdinal, Node>; |
| 31 |
#endif |
| 32 |
#ifdef MUELU_AMALGAMATIONINFO_SHORT |
| 33 |
using AmalgamationInfo [[maybe_unused]] = MueLu::AmalgamationInfo<LocalOrdinal, GlobalOrdinal, Node>; |
| 34 |
#endif |
| 35 |
#ifdef MUELU_GLOBALLEXICOGRAPHICINDEXMANAGER_SHORT |
| 36 |
using GlobalLexicographicIndexManager [[maybe_unused]] = MueLu::GlobalLexicographicIndexManager<LocalOrdinal, GlobalOrdinal, Node>; |
| 37 |
#endif |
| 38 |
#ifdef MUELU_HYBRIDAGGREGATIONFACTORY_SHORT |
| 39 |
using HybridAggregationFactory [[maybe_unused]] = MueLu::HybridAggregationFactory<LocalOrdinal, GlobalOrdinal, Node>; |
| 40 |
#endif |
| 41 |
#ifdef MUELU_INDEXMANAGER_SHORT |
| 42 |
using IndexManager [[maybe_unused]] = MueLu::IndexManager<LocalOrdinal, GlobalOrdinal, Node>; |
| 43 |
#endif |
| 44 |
#ifdef MUELU_INDEXMANAGER_KOKKOS_SHORT |
| 45 |
using IndexManager_kokkos [[maybe_unused]] = MueLu::IndexManager_kokkos<LocalOrdinal, GlobalOrdinal, Node>; |
| 46 |
#endif |
| 47 |
#ifdef MUELU_INTERFACEAGGREGATIONALGORITHM_SHORT |
| 48 |
using InterfaceAggregationAlgorithm [[maybe_unused]] = MueLu::InterfaceAggregationAlgorithm<LocalOrdinal, GlobalOrdinal, Node>; |
| 49 |
#endif |
| 50 |
#ifdef MUELU_INTERFACEMAPPINGTRANSFERFACTORY_SHORT |
| 51 |
using InterfaceMappingTransferFactory [[maybe_unused]] = MueLu::InterfaceMappingTransferFactory<LocalOrdinal, GlobalOrdinal, Node>; |
| 52 |
#endif |
| 53 |
#ifdef MUELU_ISORROPIAINTERFACE_SHORT |
| 54 |
using IsorropiaInterface [[maybe_unused]] = MueLu::IsorropiaInterface<LocalOrdinal, GlobalOrdinal, Node>; |
| 55 |
#endif |
| 56 |
#ifdef MUELU_LWGRAPH_SHORT |
| 57 |
using LWGraph [[maybe_unused]] = MueLu::LWGraph<LocalOrdinal, GlobalOrdinal, Node>; |
| 58 |
#endif |
| 59 |
#ifdef MUELU_LWGRAPH_KOKKOS_SHORT |
| 60 |
using LWGraph_kokkos [[maybe_unused]] = MueLu::LWGraph_kokkos<LocalOrdinal, GlobalOrdinal, Node>; |
| 61 |
#endif |
| 62 |
#ifdef MUELU_LOCALLEXICOGRAPHICINDEXMANAGER_SHORT |
| 63 |
using LocalLexicographicIndexManager [[maybe_unused]] = MueLu::LocalLexicographicIndexManager<LocalOrdinal, GlobalOrdinal, Node>; |
| 64 |
#endif |
| 65 |
#ifdef MUELU_LOCALORDINALTRANSFERFACTORY_SHORT |
| 66 |
using LocalOrdinalTransferFactory [[maybe_unused]] = MueLu::LocalOrdinalTransferFactory<LocalOrdinal, GlobalOrdinal, Node>; |
| 67 |
#endif |
| 68 |
#ifdef MUELU_ONEPTAGGREGATIONALGORITHM_SHORT |
| 69 |
using OnePtAggregationAlgorithm [[maybe_unused]] = MueLu::OnePtAggregationAlgorithm<LocalOrdinal, GlobalOrdinal, Node>; |
| 70 |
#endif |
| 71 |
#ifdef MUELU_PRESERVEDIRICHLETAGGREGATIONALGORITHM_SHORT |
| 72 |
using PreserveDirichletAggregationAlgorithm [[maybe_unused]] = MueLu::PreserveDirichletAggregationAlgorithm<LocalOrdinal, GlobalOrdinal, Node>; |
| 73 |
#endif |
| 74 |
#ifdef MUELU_PRFACTORY_SHORT |
| 75 |
using PRFactory [[maybe_unused]] = MueLu::PRFactory<LocalOrdinal, GlobalOrdinal, Node>; |
| 76 |
#endif |
| 77 |
#ifdef MUELU_REBALANCEMAPFACTORY_SHORT |
| 78 |
using RebalanceMapFactory [[maybe_unused]] = MueLu::RebalanceMapFactory<LocalOrdinal, GlobalOrdinal, Node>; |
| 79 |
#endif |
| 80 |
#ifdef MUELU_REPARTITIONINTERFACE_SHORT |
| 81 |
using RepartitionInterface [[maybe_unused]] = MueLu::RepartitionInterface<LocalOrdinal, GlobalOrdinal, Node>; |
| 82 |
#endif |
| 83 |
#ifdef MUELU_STRUCTUREDAGGREGATIONFACTORY_KOKKOS_SHORT |
| 84 |
using StructuredAggregationFactory_kokkos [[maybe_unused]] = MueLu::StructuredAggregationFactory_kokkos<LocalOrdinal, GlobalOrdinal, Node>; |
| 85 |
#endif |
| 86 |
#ifdef MUELU_UNCOUPLEDAGGREGATIONFACTORY_SHORT |
| 87 |
using UncoupledAggregationFactory [[maybe_unused]] = MueLu::UncoupledAggregationFactory<LocalOrdinal, GlobalOrdinal, Node>; |
| 88 |
#endif |
| 89 |
#ifdef MUELU_UNCOUPLEDINDEXMANAGER_SHORT |
| 90 |
using UncoupledIndexManager [[maybe_unused]] = MueLu::UncoupledIndexManager<LocalOrdinal, GlobalOrdinal, Node>; |
| 91 |
#endif |
| 92 |
#ifdef MUELU_USERAGGREGATIONFACTORY_SHORT |
| 93 |
using UserAggregationFactory [[maybe_unused]] = MueLu::UserAggregationFactory<LocalOrdinal, GlobalOrdinal, Node>; |
| 94 |
#endif |
| 95 |
#ifdef MUELU_FACTORY_SHORT |
| 96 |
using Factory [[maybe_unused]] = MueLu::Factory; |
| 97 |
#endif |
| 98 |
#ifdef MUELU_FACTORYBASE_SHORT |
| 99 |
using FactoryBase [[maybe_unused]] = MueLu::FactoryBase; |
| 100 |
#endif |
| 101 |
#ifdef MUELU_FACTORYMANAGERBASE_SHORT |
| 102 |
using FactoryManagerBase [[maybe_unused]] = MueLu::FactoryManagerBase; |
| 103 |
#endif |
| 104 |
#ifdef MUELU_LEVEL_SHORT |
| 105 |
using Level [[maybe_unused]] = MueLu::Level; |
| 106 |
#endif |
| 107 |
#ifdef MUELU_PFACTORY_SHORT |
| 108 |
using PFactory [[maybe_unused]] = MueLu::PFactory; |
| 109 |
#endif |
| 110 |
#ifdef MUELU_RFACTORY_SHORT |
| 111 |
using RFactory [[maybe_unused]] = MueLu::RFactory; |
| 112 |
#endif |
| 113 |
#ifdef MUELU_SINGLELEVELFACTORYBASE_SHORT |
| 114 |
using SingleLevelFactoryBase [[maybe_unused]] = MueLu::SingleLevelFactoryBase; |
| 115 |
#endif |
| 116 |
#ifdef MUELU_TWOLEVELFACTORYBASE_SHORT |
| 117 |
using TwoLevelFactoryBase [[maybe_unused]] = MueLu::TwoLevelFactoryBase; |
| 118 |
#endif |
| 119 |
#ifdef MUELU_VARIABLECONTAINER_SHORT |
| 120 |
using VariableContainer [[maybe_unused]] = MueLu::VariableContainer; |
| 121 |
#endif |
| 122 |
#ifdef MUELU_SMOOTHERFACTORYBASE_SHORT |
| 123 |
using SmootherFactoryBase [[maybe_unused]] = MueLu::SmootherFactoryBase; |
| 124 |
#endif |
| 125 |
#ifdef MUELU_AMESOSSMOOTHER_SHORT |
| 126 |
typedef MueLu::AmesosSmoother<Node> AmesosSmoother; |
| 127 |
#endif |
| 128 |
#ifdef MUELU_IFPACKSMOOTHER_SHORT |
| 129 |
typedef MueLu::IfpackSmoother<Node> IfpackSmoother; |
| 130 |
#endif |