// @HEADER // ***************************************************************************** // MueLu: A package for multigrid based preconditioning // // Copyright 2012 NTESS and the MueLu contributors. // SPDX-License-Identifier: BSD-3-Clause // ***************************************************************************** // @HEADER // Helper to get ride of template parameters // This file can be use for two purpose: // 1) As an header of a user program. // In this case, this file must be included *after* other headers // and the types Scalar, LocalOrdinal, GlobalOrdinal, Node must be defined. // Note also that there is no #ifndef/#endif to protect again the multiple inclusion of this file. // User should create is own header file including this one: // // Example: // #ifndef MY_HEADER // #define MY_HEADER // #include // #include // #endif // // 2) Inside of MueLu to enhance the readability. // // template ::scalar_type, // class LocalOrdinal = typename Xpetra::MultiVector::local_ordinal_type, // class GlobalOrdinal = typename Xpetra::MultiVector::global_ordinal_type, // class Node = typename Xpetra::MultiVector::node_type> // class TpetraMultiVector : public virtual Xpetra::MultiVector { // // #include // // myMethod(RCP & map) { [...] } // instead of myMethod(RCP > &map) // // [...] // // } // #include "MueLu_UseShortNamesOrdinal.hpp" #include "MueLu_UseShortNamesScalar.hpp" //! @file MueLu_UseShortNamesOrdinal.hpp // TODO / NOTE: This file should not be included at the global scope (to avoid name collision)