Epetra_OskiMultiVector.h

Go to the documentation of this file.
00001 
00002 //@HEADER
00003 /*
00004 ************************************************************************
00005 
00006               Epetra: Linear Algebra Services Package 
00007                 Copyright (2001) Sandia Corporation
00008 
00009 Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive
00010 license for use of this work by or on behalf of the U.S. Government.
00011 
00012 This library is free software; you can redistribute it and/or modify
00013 it under the terms of the GNU Lesser General Public License as
00014 published by the Free Software Foundation; either version 2.1 of the
00015 License, or (at your option) any later version.
00016  
00017 This library is distributed in the hope that it will be useful, but
00018 WITHOUT ANY WARRANTY; without even the implied warranty of
00019 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00020 Lesser General Public License for more details.
00021  
00022 You should have received a copy of the GNU Lesser General Public
00023 License along with this library; if not, write to the Free Software
00024 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
00025 USA
00026 Questions? Contact Michael A. Heroux (maherou@sandia.gov) 
00027 
00028 ************************************************************************
00029 */
00030 //@HEADER
00031 
00032 // Author: Ian Karlin ikarlin@sandia.gov 05-28-2008
00033 
00034 #ifndef EPETRA_OSKIMULTIVECTOR_H
00035 #define EPETRA_OSKIMULTIVECTOR_H
00036 
00037 #include "Epetra_MultiVector.h"
00038 extern "C" {
00039 #include "oski/oski.h"
00040 }
00041 
00042 //class Epetra_MultiVector;
00043 
00045 
00053 //==========================================================================
00054 class Epetra_OskiMultiVector: public Epetra_MultiVector{
00055 
00056  public:
00057 
00059 
00060 
00061    Epetra_OskiMultiVector(const Epetra_OskiMultiVector& Source);
00062 
00064 
00069    Epetra_OskiMultiVector(const Epetra_MultiVector& Source);
00070 
00072    virtual ~Epetra_OskiMultiVector();
00074    
00076 
00077 
00078    bool Copy_Created() const;
00079    
00081    oski_vecview_t Oski_View() const;
00082    
00084    const Epetra_MultiVector* Epetra_View() const;
00086   
00088 
00089 
00090    Epetra_OskiMultiVector& operator = (const Epetra_OskiMultiVector& Source);
00092 
00093  protected:
00094 
00095  private:
00096    const Epetra_MultiVector* Epetra_View_;
00097    oski_vecview_t Oski_View_;
00098    bool Copy_Created_;
00099 };
00100 #endif /* EPETRA_OSKIMULTIVECTOR_H */

Generated on Wed May 12 21:41:05 2010 for Epetra Package Browser (Single Doxygen Collection) by  doxygen 1.4.7