vtf-logo

shells/fragmentation/CCheckpointer.h

Go to the documentation of this file.
00001 // -*- C++ -*- 
00002 //
00003 // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
00004 //
00005 //                                   Fehmi Cirak
00006 //                        California Institute of Technology
00007 //                           (C) 2005 All Rights Reserved
00008 //
00009 // <LicenseText>
00010 //
00011 // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
00012 //
00013 #ifndef CCHECKPOINTER_H
00014 #define CCHECKPOINTER_H
00015 
00016 #include <iosfwd>
00017 #include <vector>
00018 
00019 
00020 namespace shells {
00021     class MShellFragmented;
00022 }
00023 
00024 namespace fragment {
00025     class CCheckpointData;
00026 }
00027 
00028 
00029 class fragment::CCheckpointData {
00030   public:
00031     CCheckpointData(shells::MShellFragmented *mshell):_mshell(mshell){}
00032     
00033     void dumpData(std::ostream& ofs);
00034     void readAndDistributeData(std::istream& ifs);
00035     
00036 private:
00037     shells::MShellFragmented     *_mshell;
00038 
00039     typedef std::vector<double>     _VecDCont; 
00040     _VecDCont     _buffer;
00041 };
00042 
00043 #endif

Generated on Fri Aug 24 13:00:24 2007 for SFC Thin-Shell Finite Element Solver by  doxygen 1.4.7