00001 //*****************************************************************************// 00002 // // 00003 // Copyright (c) 2001 // 00004 // INRIA // 00005 // 54600 VILLERS LES NANCY // 00006 // France // 00007 // // 00008 //*****************************************************************************// 00009 // // 00010 // *** NOTICE OF PROPRIETARY INFORMATION *** // 00011 // // 00012 // The information contained in this file is considered proprietary and the // 00013 // exclusive property of INRIA. This information may not be disclosed, // 00014 // duplicated or used, in whole or in part, for any purpose whatsoever // 00015 // without express written authorization from INRIA // 00016 // // 00017 //*****************************************************************************// 00018 00019 00020 #include "QCSCFBaseAlgo.hpp" 00021 00025 QCSCFBaseAlgo::QCSCFBaseAlgo (void) : mainAlgo(QC_SCF), threshold(1.0e-6), nbMaxIter(0), 00026 convReached(false), nbIter(0), tempMemoryCost(0), diagoAlgorithm(QC_CLASSIC_DIAGO), 00027 levelShiftingParam(0.0) 00028 {} 00029 00033 QCSCFBaseAlgo::~QCSCFBaseAlgo (void) 00034 {} 00035 00039 void 00040 QCSCFBaseAlgo::init (const QCGeneralData& data) { 00041 00042 nbMaxIter = data.getEnergyNbMaxIter(); 00043 threshold = data.getEnergyThreshold(); 00044 mainAlgo = data.getMainAlgorithm(); 00045 diagoAlgorithm = data.getDiagoAlgorithm(); 00046 levelShiftingParam = data.getShiftingLevelParameter(); 00047 }