MueLu  Version of the Day
MueLu::Maxwell_Utils< Scalar, LocalOrdinal, GlobalOrdinal, Node > Class Template Reference

Utility functions for Maxwell. More...

#include <MueLu_Maxwell1_fwd.hpp>

Inheritance diagram for MueLu::Maxwell_Utils< Scalar, LocalOrdinal, GlobalOrdinal, Node >:
MueLu::VerboseObject

Public Types

typedef Teuchos::ScalarTraits< Scalar >::magnitudeType magnitudeType
 

Static Public Member Functions

static void detectBoundaryConditionsSM (RCP< Matrix > &SM_Matrix, RCP< Matrix > &D0_Matrix, magnitudeType rowSumTol, int &BCedges, int &BCnodes, Teuchos::ArrayRCP< bool > &BCrows, Teuchos::ArrayRCP< bool > &BCcols, Teuchos::ArrayRCP< bool > &BCdomain, bool &allEdgesBoundary, bool &allNodesBoundary)
 Detect Dirichlet boundary conditions. More...
 
static void removeExplicitZeros (Teuchos::ParameterList &parameterList, RCP< Matrix > &D0_Matrix, RCP< Matrix > &SM_Matrix, RCP< Matrix > &M1_Matrix, RCP< Matrix > &Ms_Matrix)
 Remove explicit zeros. More...
 
static void removeExplicitZeros (Teuchos::ParameterList &parameterList, RCP< Matrix > &D0_Matrix, RCP< Matrix > &SM_Matrix)
 
static void setMatvecParams (Matrix &A, RCP< ParameterList > matvecParams)
 Sets matvec params on a matrix. More...
 
- Static Public Member Functions inherited from MueLu::VerboseObject
static void SetMueLuOStream (const Teuchos::RCP< Teuchos::FancyOStream > &mueluOStream)
 
static void SetMueLuOFileStream (const std::string &filename)
 
static Teuchos::RCP< Teuchos::FancyOStream > GetMueLuOStream ()
 
static void SetDefaultVerbLevel (const VerbLevel defaultVerbLevel)
 Set the default (global) verbosity level. More...
 
static VerbLevel GetDefaultVerbLevel ()
 Get the default (global) verbosity level. More...
 

Additional Inherited Members

- Public Member Functions inherited from MueLu::VerboseObject
VerbLevel GetVerbLevel () const
 Get the verbosity level. More...
 
void SetVerbLevel (const VerbLevel verbLevel)
 Set the verbosity level of this object. More...
 
int GetProcRankVerbose () const
 Get proc rank used for printing. Do not use this information for any other purpose. More...
 
int SetProcRankVerbose (int procRank) const
 Set proc rank used for printing. More...
 
bool IsPrint (MsgType type, int thisProcRankOnly=-1) const
 Find out whether we need to print out information for a specific message type. More...
 
Teuchos::FancyOStream & GetOStream (MsgType type, int thisProcRankOnly=0) const
 Get an output stream for outputting the input message type. More...
 
Teuchos::FancyOStream & GetBlackHole () const
 
 VerboseObject ()
 
virtual ~VerboseObject ()
 Destructor. More...
 

Detailed Description

template<class Scalar, class LocalOrdinal, class GlobalOrdinal, class Node>
class MueLu::Maxwell_Utils< Scalar, LocalOrdinal, GlobalOrdinal, Node >

Utility functions for Maxwell.

Definition at line 52 of file MueLu_Maxwell1_fwd.hpp.

Member Typedef Documentation

◆ magnitudeType

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
typedef Teuchos::ScalarTraits<Scalar>::magnitudeType MueLu::Maxwell_Utils< Scalar, LocalOrdinal, GlobalOrdinal, Node >::magnitudeType

Definition at line 89 of file MueLu_Maxwell_Utils_decl.hpp.

Member Function Documentation

◆ detectBoundaryConditionsSM()

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
void MueLu::Maxwell_Utils< Scalar, LocalOrdinal, GlobalOrdinal, Node >::detectBoundaryConditionsSM ( RCP< Matrix > &  SM_Matrix,
RCP< Matrix > &  D0_Matrix,
magnitudeType  rowSumTol,
int &  BCedges,
int &  BCnodes,
Teuchos::ArrayRCP< bool > &  BCrows,
Teuchos::ArrayRCP< bool > &  BCcols,
Teuchos::ArrayRCP< bool > &  BCdomain,
bool &  allEdgesBoundary,
bool &  allNodesBoundary 
)
static

Detect Dirichlet boundary conditions.

Definition at line 86 of file MueLu_Maxwell_Utils_def.hpp.

◆ removeExplicitZeros() [1/2]

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
void MueLu::Maxwell_Utils< Scalar, LocalOrdinal, GlobalOrdinal, Node >::removeExplicitZeros ( Teuchos::ParameterList &  parameterList,
RCP< Matrix > &  D0_Matrix,
RCP< Matrix > &  SM_Matrix,
RCP< Matrix > &  M1_Matrix,
RCP< Matrix > &  Ms_Matrix 
)
static

Remove explicit zeros.

Definition at line 160 of file MueLu_Maxwell_Utils_def.hpp.

◆ removeExplicitZeros() [2/2]

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
static void MueLu::Maxwell_Utils< Scalar, LocalOrdinal, GlobalOrdinal, Node >::removeExplicitZeros ( Teuchos::ParameterList &  parameterList,
RCP< Matrix > &  D0_Matrix,
RCP< Matrix > &  SM_Matrix 
)
inlinestatic

Definition at line 118 of file MueLu_Maxwell_Utils_decl.hpp.

◆ setMatvecParams()

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
void MueLu::Maxwell_Utils< Scalar, LocalOrdinal, GlobalOrdinal, Node >::setMatvecParams ( Matrix &  A,
RCP< ParameterList >  matvecParams 
)
static

Sets matvec params on a matrix.

Definition at line 244 of file MueLu_Maxwell_Utils_def.hpp.


The documentation for this class was generated from the following files: