ColPack
Recovery/RecoveryCore.h
Go to the documentation of this file.
00001 /************************************************************************************
00002     Copyright (C) 2005-2008 Assefaw H. Gebremedhin, Arijit Tarafdar, Duc Nguyen,
00003     Alex Pothen
00004 
00005     This file is part of ColPack.
00006 
00007     ColPack is free software: you can redistribute it and/or modify
00008     it under the terms of the GNU Lesser General Public License as published
00009     by the Free Software Foundation, either version 3 of the License, or
00010     (at your option) any later version.
00011 
00012     ColPack is distributed in the hope that it will be useful,
00013     but WITHOUT ANY WARRANTY; without even the implied warranty of
00014     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015     GNU Lesser General Public License for more details.
00016 
00017     You should have received a copy of the GNU Lesser General Public License
00018     along with ColPack.  If not, see <http://www.gnu.org/licenses/>.
00019 ************************************************************************************/
00020 
00021 #ifndef RECOVERYCORE_H
00022 #define RECOVERYCORE_H
00023 
00024 using namespace std;
00025 
00026 namespace ColPack
00027 {
00054         class  RecoveryCore
00055         {
00056         public: // !!!NEED DOCUMENT
00057                 RecoveryCore();
00058                 ~RecoveryCore();
00059         protected:
00060                 //string formatType; //At this point, could be either: "RowCompressedFormat," "CoordinateFormat," or "SparseSolversFormat"
00061                 
00062                 //for ADOL-C Format (AF)
00063                 bool AF_available;
00064                 int i_AF_rowCount;
00065                 double** dp2_AF_Value;
00066                 
00067                 //for Sparse Solvers Format (SSF)
00068                 bool SSF_available;
00069                 int i_SSF_rowCount;
00070                 unsigned int* ip_SSF_RowIndex;
00071                 unsigned int* ip_SSF_ColumnIndex;
00072                 double* dp_SSF_Value;
00073                 
00074                 //for Coordinate Format (CF)
00075                 bool CF_available;
00076                 int i_CF_rowCount;
00077                 unsigned int* ip_CF_RowIndex;
00078                 unsigned int* ip_CF_ColumnIndex;
00079                 double* dp_CF_Value;
00080                 
00081                 void reset();
00082         };
00083 }
00084 
00085 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines