MueLu Version of the Day
Loading...
Searching...
No Matches
MueLu::Maxwell_Utils< Scalar, LocalOrdinal, GlobalOrdinal, Node > Class Template Reference

Utility functions for Maxwell. More...

#include <MueLu_Maxwell_Utils_decl.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, bool useKokkos_, Kokkos::View< bool *, typename Node::device_type > &BCrowsKokkos, Kokkos::View< bool *, typename Node::device_type > &BCcolsKokkos, Kokkos::View< bool *, typename Node::device_type > &BCdomainKokkos, int &BCedges, int &BCnodes, Teuchos::ArrayRCP< bool > &BCrows, Teuchos::ArrayRCP< bool > &BCcols, Teuchos::ArrayRCP< bool > &BCdomain, bool &allEdgesBoundary, bool &allNodesBoundary)
 Detect Dirichlet boundary conditions.
 
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.
 
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.
 
static RCP< Xpetra::Matrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > PtAPWrapper (RCP< Matrix > &A, RCP< Matrix > &P, Teuchos::ParameterList &params, std::string &label)
 
- Static Public Member Functions inherited from MueLu::VerboseObject
static void SetDefaultVerbLevel (const VerbLevel defaultVerbLevel)
 Set the default (global) verbosity level.
 
static VerbLevel GetDefaultVerbLevel ()
 Get the default (global) verbosity level.
 
static void SetMueLuOStream (const Teuchos::RCP< Teuchos::FancyOStream > &mueluOStream)
 
static void SetMueLuOFileStream (const std::string &filename)
 
static Teuchos::RCP< Teuchos::FancyOStream > GetMueLuOStream ()
 

Additional Inherited Members

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

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 77 of file MueLu_Maxwell_Utils_decl.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 83 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,
bool  useKokkos_,
Kokkos::View< bool *, typename Node::device_type > &  BCrowsKokkos,
Kokkos::View< bool *, typename Node::device_type > &  BCcolsKokkos,
Kokkos::View< bool *, typename Node::device_type > &  BCdomainKokkos,
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 71 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 141 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 110 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 224 of file MueLu_Maxwell_Utils_def.hpp.

◆ PtAPWrapper()

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< Xpetra::Matrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > MueLu::Maxwell_Utils< Scalar, LocalOrdinal, GlobalOrdinal, Node >::PtAPWrapper ( RCP< Matrix > &  A,
RCP< Matrix > &  P,
Teuchos::ParameterList &  params,
std::string &  label 
)
static

Definition at line 237 of file MueLu_Maxwell_Utils_def.hpp.


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