fei_LibraryWrapper.hpp

00001 #ifndef _LibraryWrapper_hpp_
00002 #define _LibraryWrapper_hpp_
00003 
00004 /*--------------------------------------------------------------------*/
00005 /*    Copyright 2005 Sandia Corporation.                              */
00006 /*    Under the terms of Contract DE-AC04-94AL85000, there is a       */
00007 /*    non-exclusive license for use of this work by or on behalf      */
00008 /*    of the U.S. Government.  Export of this program may require     */
00009 /*    a license from the United States Government.                    */
00010 /*--------------------------------------------------------------------*/
00011 
00012 #include <fei_macros.hpp>
00013 #include <fei_SharedPtr.hpp>
00014 
00015 #include <fei_LinearSystemCore.hpp>
00016 #include <fei_FiniteElementData.hpp>
00017 
00018 class LibraryWrapper {
00019  public:
00020   LibraryWrapper(fei::SharedPtr<LinearSystemCore> lsc);
00021   LibraryWrapper(fei::SharedPtr<FiniteElementData> feData);
00022   virtual ~LibraryWrapper();
00023 
00024   bool haveLinearSystemCore() { return( haveLinearSystemCore_ ); }
00025   bool haveFiniteElementData(){ return( haveFiniteElementData_); }
00026 
00027   fei::SharedPtr<LinearSystemCore> getLinearSystemCore() { return( lsc_ ); }
00028   fei::SharedPtr<FiniteElementData> getFiniteElementData() { return( feData_ ); }
00029 
00030  private:
00031   bool haveLinearSystemCore_;
00032   bool haveFiniteElementData_;
00033   fei::SharedPtr<LinearSystemCore> lsc_;
00034   fei::SharedPtr<FiniteElementData> feData_;
00035 };
00036 
00037 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends
Generated on Wed Apr 13 10:08:23 2011 for FEI by  doxygen 1.6.3