|
Thyra Package Browser (Single Doxygen Collection) Version of the Day
|
00001 // *********************************************************************** 00002 // 00003 // Thyra: Trilinos Solver Framework Core 00004 // Copyright (2004) Sandia Corporation 00005 // 00006 // Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive 00007 // license for use of this work by or on behalf of the U.S. Government. 00008 // 00009 // This library is free software; you can redistribute it and/or modify 00010 // it under the terms of the GNU Lesser General Public License as 00011 // published by the Free Software Foundation; either version 2.1 of the 00012 // License, or (at your option) any later version. 00013 // 00014 // This library is distributed in the hope that it will be useful, but 00015 // WITHOUT ANY WARRANTY; without even the implied warranty of 00016 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00017 // Lesser General Public License for more details. 00018 // 00019 // You should have received a copy of the GNU Lesser General Public 00020 // License along with this library; if not, write to the Free Software 00021 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 00022 // USA 00023 // Questions? Contact Michael A. Heroux (maherou@sandia.gov) 00024 // 00025 // *********************************************************************** 00026 // @HEADER 00027 00028 #ifndef THYRA_EPETRA_LINEAR_OP_BASE_HPP 00029 #define THYRA_EPETRA_LINEAR_OP_BASE_HPP 00030 00031 #include "Thyra_EpetraTypes.hpp" 00032 #include "Teuchos_Describable.hpp" 00033 00034 00035 class Epetra_Operator; 00036 00037 00038 namespace Thyra { 00039 00040 00055 class EpetraLinearOpBase : virtual public Teuchos::Describable { 00056 public: 00057 00060 00108 virtual void getNonconstEpetraOpView( 00109 const Ptr<RCP<Epetra_Operator> > &epetraOp, 00110 const Ptr<EOpTransp> &epetraOpTransp, 00111 const Ptr<EApplyEpetraOpAs> &epetraOpApplyAs, 00112 const Ptr<EAdjointEpetraOp> &epetraOpAdjointSupport 00113 ) = 0; 00114 00161 virtual void getEpetraOpView( 00162 const Ptr<RCP<const Epetra_Operator> > &epetraOp, 00163 const Ptr<EOpTransp> &epetraOpTransp, 00164 const Ptr<EApplyEpetraOpAs> &epetraOpApplyAs, 00165 const Ptr<EAdjointEpetraOp> &epetraOpAdjointSupport 00166 ) const = 0; 00167 00169 00170 }; // end class EpetraLinearOpBase 00171 00172 00173 } // end namespace Thyra 00174 00175 00176 #endif // THYRA_EPETRA_LINEAR_OP_BASE_HPP
1.7.4