MueLu Version of the Day
Loading...
Searching...
No Matches
MueLu_ParameterListInterpreter_def.hpp File Reference
#include <Teuchos_XMLParameterListHelpers.hpp>
#include <Xpetra_Matrix.hpp>
#include <Xpetra_MatrixUtils.hpp>
#include "MueLu_ConfigDefs.hpp"
#include "MueLu_ParameterListInterpreter_decl.hpp"
#include "MueLu_MasterList.hpp"
#include "MueLu_Level.hpp"
#include "MueLu_Hierarchy.hpp"
#include "MueLu_FactoryManager.hpp"
#include "MueLu_AggregationExportFactory.hpp"
#include "MueLu_AggregateQualityEstimateFactory.hpp"
#include "MueLu_AmalgamationFactory.hpp"
#include "MueLu_BrickAggregationFactory.hpp"
#include "MueLu_ClassicalMapFactory.hpp"
#include "MueLu_ClassicalPFactory.hpp"
#include "MueLu_CoalesceDropFactory.hpp"
#include "MueLu_CoarseMapFactory.hpp"
#include "MueLu_ConstraintFactory.hpp"
#include "MueLu_CoordinatesTransferFactory.hpp"
#include "MueLu_DirectSolver.hpp"
#include "MueLu_EminPFactory.hpp"
#include "MueLu_Exceptions.hpp"
#include "MueLu_FacadeClassFactory.hpp"
#include "MueLu_FactoryFactory.hpp"
#include "MueLu_FilteredAFactory.hpp"
#include "MueLu_GenericRFactory.hpp"
#include "MueLu_InitialBlockNumberFactory.hpp"
#include "MueLu_LineDetectionFactory.hpp"
#include "MueLu_LocalOrdinalTransferFactory.hpp"
#include "MueLu_MatrixAnalysisFactory.hpp"
#include "MueLu_MultiVectorTransferFactory.hpp"
#include "MueLu_NotayAggregationFactory.hpp"
#include "MueLu_NullspaceFactory.hpp"
#include "MueLu_PatternFactory.hpp"
#include "MueLu_ReplicatePFactory.hpp"
#include "MueLu_CombinePFactory.hpp"
#include "MueLu_PgPFactory.hpp"
#include "MueLu_RAPFactory.hpp"
#include "MueLu_RAPShiftFactory.hpp"
#include "MueLu_RebalanceAcFactory.hpp"
#include "MueLu_RebalanceTransferFactory.hpp"
#include "MueLu_RepartitionFactory.hpp"
#include "MueLu_RepartitionHeuristicFactory.hpp"
#include "MueLu_ReitzingerPFactory.hpp"
#include "MueLu_SaPFactory.hpp"
#include "MueLu_ScaledNullspaceFactory.hpp"
#include "MueLu_SemiCoarsenPFactory.hpp"
#include "MueLu_SmootherFactory.hpp"
#include "MueLu_SmooVecCoalesceDropFactory.hpp"
#include "MueLu_TentativePFactory.hpp"
#include "MueLu_TogglePFactory.hpp"
#include "MueLu_ToggleCoordinatesTransferFactory.hpp"
#include "MueLu_TransPFactory.hpp"
#include "MueLu_UncoupledAggregationFactory.hpp"
#include "MueLu_ZoltanInterface.hpp"
#include "MueLu_Zoltan2Interface.hpp"
#include "MueLu_NodePartitionInterface.hpp"
#include "MueLu_LowPrecisionFactory.hpp"
#include "MueLu_CoalesceDropFactory_kokkos.hpp"
#include "MueLu_SemiCoarsenPFactory_kokkos.hpp"
#include "MueLu_TentativePFactory_kokkos.hpp"
#include "../matlab/src/MueLu_MatlabSmoother_decl.hpp"
#include "../matlab/src/MueLu_MatlabSmoother_def.hpp"
#include "../matlab/src/MueLu_TwoLevelMatlabFactory_decl.hpp"
#include "../matlab/src/MueLu_TwoLevelMatlabFactory_def.hpp"
#include "../matlab/src/MueLu_SingleLevelMatlabFactory_decl.hpp"
#include "../matlab/src/MueLu_SingleLevelMatlabFactory_def.hpp"
#include <unordered_set>

Go to the source code of this file.

Namespaces

namespace  MueLu
 Namespace for MueLu classes and methods.
 

Macros

#define MUELU_KOKKOS_FACTORY(varName, oldFactory, newFactory)
 
#define MUELU_KOKKOS_FACTORY_NO_DECL(varName, oldFactory, newFactory)
 
#define TEST_MUTUALLY_EXCLUSIVE(arg1, arg2)
 
#define TEST_MUTUALLY_EXCLUSIVE_S(arg1, arg2)
 
#define MUELU_PARAMETERLISTINTERPRETER_SHORT
 

Functions

static bool MueLu::areSame (const ParameterList &list1, const ParameterList &list2)
 Helper functions to compare two paramter lists.
 
template<class paramType >
static paramType MueLu::set_var_2list (const Teuchos::ParameterList &paramList, const Teuchos::ParameterList &defaultList, const std::string &paramName)
 
template<class paramType >
static bool MueLu::test_and_set_var (const Teuchos::ParameterList &paramList, const std::string &paramName, paramType &varName)
 
template<class paramType >
static void MueLu::test_and_set_param_2list (const Teuchos::ParameterList &paramList, const Teuchos::ParameterList &defaultList, const std::string &paramName, Teuchos::ParameterList &listWrite)
 
template<class paramType >
static void MueLu::test_and_set_var_from_masterlist (Teuchos::ParameterList &paramList, const std::string &paramName)
 
template<class paramType >
static bool MueLu::test_param_2list (const Teuchos::ParameterList &paramList, const Teuchos::ParameterList &defaultList, const std::string &paramName, const paramType &cmpValue)
 
size_t MueLu::LevenshteinDistance (const char *s, size_t len_s, const char *t, size_t len_t)
 
static bool MueLu::compare (const ParameterList &list1, const ParameterList &list2)
 

Macro Definition Documentation

◆ MUELU_KOKKOS_FACTORY

#define MUELU_KOKKOS_FACTORY (   varName,
  oldFactory,
  newFactory 
)
Value:
RCP<Factory> varName; \
if (!useKokkos_) \
varName = rcp(new oldFactory()); \
else \
varName = rcp(new newFactory());

Definition at line 222 of file MueLu_ParameterListInterpreter_def.hpp.

◆ MUELU_KOKKOS_FACTORY_NO_DECL

#define MUELU_KOKKOS_FACTORY_NO_DECL (   varName,
  oldFactory,
  newFactory 
)
Value:
if (!useKokkos_) \
varName = rcp(new oldFactory()); \
else \
varName = rcp(new newFactory());

Definition at line 228 of file MueLu_ParameterListInterpreter_def.hpp.

◆ TEST_MUTUALLY_EXCLUSIVE

#define TEST_MUTUALLY_EXCLUSIVE (   arg1,
  arg2 
)
Value:
TEUCHOS_TEST_FOR_EXCEPTION(paramList.isParameter(#arg1) && paramList.isParameter(#arg2), \
Exceptions::InvalidArgument, "You cannot specify both \"" #arg1 "\" and \"" #arg2 "\"");

◆ TEST_MUTUALLY_EXCLUSIVE_S

#define TEST_MUTUALLY_EXCLUSIVE_S (   arg1,
  arg2 
)
Value:
TEUCHOS_TEST_FOR_EXCEPTION(paramList.isSublist(#arg1) && paramList.isSublist(#arg2), \
Exceptions::InvalidArgument, "You cannot specify both \"" #arg1 "\" and \"" #arg2 "\"");

◆ MUELU_PARAMETERLISTINTERPRETER_SHORT

#define MUELU_PARAMETERLISTINTERPRETER_SHORT

Definition at line 2827 of file MueLu_ParameterListInterpreter_def.hpp.