Teko  Version of the Day
 All Classes Files Functions Variables Pages
Teko_TpetraInverseOpWrapper.cpp
1 // @HEADER
2 // *****************************************************************************
3 // Teko: A package for block and physics based preconditioning
4 //
5 // Copyright 2010 NTESS and the Teko contributors.
6 // SPDX-License-Identifier: BSD-3-Clause
7 // *****************************************************************************
8 // @HEADER
9 
10 #include "Teko_TpetraInverseOpWrapper.hpp"
11 
12 using namespace Teuchos;
13 
14 namespace Teko {
15 namespace TpetraHelpers {
16 
17 void TpetraInverseOpWrapper::apply(const Tpetra::MultiVector<ST, LO, GO, NT>& X,
18  Tpetra::MultiVector<ST, LO, GO, NT>& Y, Teuchos::ETransp mode,
19  ST alpha, ST beta) const {
20  TpetraOperatorWrapper::apply(X, Y, mode, alpha, beta);
21 }
22 
23 void TpetraInverseOpWrapper::applyInverse(const Tpetra::MultiVector<ST, LO, GO, NT>& X,
24  Tpetra::MultiVector<ST, LO, GO, NT>& Y,
25  Teuchos::ETransp mode, ST alpha, ST beta) const {
26  TpetraOperatorWrapper::apply(X, Y, mode, alpha, beta);
27 }
28 
29 } // namespace TpetraHelpers
30 } // end namespace Teko