75#undef MUELU_MAXWELL_UTILS_SHORT
79 typedef typename Teuchos::ScalarTraits<Scalar>::magnitudeType
magnitudeType;
85 RCP<Matrix> & D0_Matrix,
88 Kokkos::View<bool*, typename Node::device_type> & BCrowsKokkos,
89 Kokkos::View<bool*, typename Node::device_type> & BCcolsKokkos,
90 Kokkos::View<bool*, typename Node::device_type> & BCdomainKokkos,
93 Teuchos::ArrayRCP<bool> & BCrows,
94 Teuchos::ArrayRCP<bool> & BCcols,
95 Teuchos::ArrayRCP<bool> & BCdomain,
96 bool & allEdgesBoundary,
97 bool & allNodesBoundary);
100 RCP<Matrix> & D0_Matrix,
102 Kokkos::View<bool*, typename Node::device_type> & BCrowsKokkos,
103 Kokkos::View<bool*, typename Node::device_type> & BCcolsKokkos,
104 Kokkos::View<bool*, typename Node::device_type> & BCdomainKokkos,
107 bool & allEdgesBoundary,
108 bool & allNodesBoundary);
112 RCP<Matrix> & D0_Matrix,
113 RCP<Matrix> & SM_Matrix,
114 RCP<Matrix> & M1_Matrix,
115 RCP<Matrix> & Ms_Matrix);
118 RCP<Matrix> & D0_Matrix,
119 RCP<Matrix> & SM_Matrix) {
125 static void setMatvecParams(Matrix& A, RCP<ParameterList> matvecParams);
129 static RCP<Xpetra::Matrix<Scalar,LocalOrdinal,GlobalOrdinal,Node> >
130 PtAPWrapper(
const RCP<Matrix>& A,
const RCP<Matrix>& P, Teuchos::ParameterList ¶ms, std::string & label);
static RCP< Xpetra::Matrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > PtAPWrapper(const RCP< Matrix > &A, const RCP< Matrix > &P, Teuchos::ParameterList ¶ms, std::string &label)
Performs an P^T AP.
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.