AbstractLinAlgPack_MA28CommonBlockEncap.cpp

Go to the documentation of this file.
00001 // @HEADER
00002 // ***********************************************************************
00003 // 
00004 // Moocho: Multi-functional Object-Oriented arCHitecture for Optimization
00005 //                  Copyright (2003) Sandia Corporation
00006 // 
00007 // Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive
00008 // license for use of this work by or on behalf of the U.S. Government.
00009 // 
00010 // This library is free software; you can redistribute it and/or modify
00011 // it under the terms of the GNU Lesser General Public License as
00012 // published by the Free Software Foundation; either version 2.1 of the
00013 // License, or (at your option) any later version.
00014 //  
00015 // This library is distributed in the hope that it will be useful, but
00016 // WITHOUT ANY WARRANTY; without even the implied warranty of
00017 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00018 // Lesser General Public License for more details.
00019 //  
00020 // You should have received a copy of the GNU Lesser General Public
00021 // License along with this library; if not, write to the Free Software
00022 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
00023 // USA
00024 // Questions? Contact Roscoe A. Bartlett (rabartl@sandia.gov) 
00025 // 
00026 // ***********************************************************************
00027 // @HEADER
00028 
00029 #include "AbstractLinAlgPack_MA28CommonBlockEncap.hpp"
00030 
00031 using std::cout;
00032 using std::endl;
00033 
00034 // /////////////////////////////////////////////////////////////////////////////
00035 // MA28CommonBlockReferences
00036 
00037 MA28_Cpp::MA28CommonBlockReferences& MA28_Cpp::MA28CommonBlockReferences::operator=(
00038   const MA28CommonBlockStorage& ma28cb)
00039 {
00040   ma28ed_ = ma28cb.ma28ed_;
00041   ma28fd_ = ma28cb.ma28fd_;
00042   ma28gd_ = ma28cb.ma28gd_;
00043   ma28hd_ = ma28cb.ma28hd_;
00044   ma30ed_ = ma28cb.ma30ed_;
00045   ma30fd_ = ma28cb.ma30fd_;
00046   ma30gd_ = ma28cb.ma30gd_;
00047   ma30hd_ = ma28cb.ma30hd_;
00048   ma30id_ = ma28cb.ma30id_;
00049   mc23bd_ = ma28cb.mc23bd_;
00050   return *this;
00051 }
00052 
00053 
00054 void MA28_Cpp::MA28CommonBlockReferences::dump_values(std::ostream& o) {
00055   o   << "ma28ed.lp = "   << ma28ed_.lp   << endl
00056       << "ma28ed.mp = "   << ma28ed_.mp   << endl
00057       << "ma28ed.lblock = " << ma28ed_.lblock << endl
00058       << "ma28ed.grow = "   << ma28ed_.grow   << endl
00059       << "ma28fd.eps = "    << ma28fd_.eps    << endl
00060       << "ma28fd.rmin = "   << ma28fd_.rmin   << endl
00061       << "ma28fd.resid = "  << ma28fd_.resid  << endl
00062       << "ma28fd.irncp = "  << ma28fd_.irncp  << endl
00063       << "ma28fd.icncp = "  << ma28fd_.icncp  << endl
00064       << "ma28fd.minirn = " << ma28fd_.minirn << endl
00065       << "ma28fd.minicn = " << ma28fd_.minicn << endl
00066       << "ma28fd.abort1 = " << ma28fd_.abort1 << endl
00067       << "ma28fd.abort2 = " << ma28fd_.abort2 << endl
00068       << "ma28gd.idisp[0] = " << ma28gd_.idisp[0] << endl
00069       << "ma28gd.idisp[1] = " << ma28gd_.idisp[1] << endl
00070       << "ma28hd.tol = "    << ma28hd_.tol    << endl
00071       << "ma28hd.themax = " << ma28hd_.themax << endl
00072       << "ma28hd.big = "    << ma28hd_.big    << endl
00073       << "ma28hd.dxmax = "  << ma28hd_.dxmax  << endl
00074       << "ma28hd.errmax = " << ma28hd_.errmax << endl
00075       << "ma28hd.dres = "   << ma28hd_.dres   << endl
00076       << "ma28hd.cgce = "   << ma28hd_.cgce   << endl
00077       << "ma28hd.ndrop = "  << ma28hd_.ndrop  << endl
00078       << "ma28hd.maxit = "  << ma28hd_.maxit  << endl
00079       << "ma28hd.noiter = " << ma28hd_.noiter << endl
00080       << "ma28hd.nsrch = "  << ma28hd_.nsrch  << endl
00081       << "ma28hd.istart = " << ma28hd_.istart << endl
00082       << "ma28hd.lbig = "   << ma28hd_.lbig   << endl
00083       << "ma30ed.lp = "   << ma30ed_.lp   << endl
00084       << "ma30ed.abort1 = " << ma30ed_.abort1 << endl
00085       << "ma30ed.abort2 = " << ma30ed_.abort2 << endl
00086       << "ma30ed.abort3 = " << ma30ed_.abort3 << endl
00087       << "ma30fd.irncp = "  << ma30fd_.irncp  << endl
00088       << "ma30fd.icncp = "  << ma30fd_.icncp  << endl
00089       << "ma30fd.irank = "  << ma30fd_.irank  << endl
00090       << "ma30fd.minirn = " << ma30fd_.minirn << endl
00091       << "ma30fd.minicn = " << ma30fd_.minicn << endl
00092       << "ma30gd.eps = "    << ma30gd_.eps    << endl
00093       << "ma30gd.rmin = "   << ma30gd_.rmin   << endl
00094       << "ma30hd.resid = "  << ma30hd_.resid  << endl
00095       << "ma30id.tol = "    << ma30id_.tol    << endl
00096       << "ma30id.big = "    << ma30id_.big    << endl
00097       << "ma30id.ndrop = "  << ma30id_.ndrop  << endl
00098       << "ma30id.nsrch = "  << ma30id_.nsrch  << endl
00099       << "ma30id.lbig = "   << ma30id_.lbig   << endl;
00100 }
00101 
00102 // /////////////////////////////////////////////////////////////////////////////
00103 // MA28CommonBlockStorage
00104 
00105 MA28_Cpp::MA28CommonBlockStorage& MA28_Cpp::MA28CommonBlockStorage::operator=(
00106   const MA28CommonBlockReferences& ma28cb)
00107 {
00108   ma28ed_ = ma28cb.ma28ed_;
00109   ma28fd_ = ma28cb.ma28fd_;
00110   ma28gd_ = ma28cb.ma28gd_;
00111   ma28hd_ = ma28cb.ma28hd_;
00112   ma30ed_ = ma28cb.ma30ed_;
00113   ma30fd_ = ma28cb.ma30fd_;
00114   ma30gd_ = ma28cb.ma30gd_;
00115   ma30hd_ = ma28cb.ma30hd_;
00116   ma30id_ = ma28cb.ma30id_;
00117   mc23bd_ = ma28cb.mc23bd_;
00118   return *this;
00119 }
00120 
00121 void MA28_Cpp::MA28CommonBlockStorage::dump_values(std::ostream& o) {
00122   o   << "ma28ed.lp = "   << ma28ed_.lp   << endl
00123       << "ma28ed.mp = "   << ma28ed_.mp   << endl
00124       << "ma28ed.lblock = " << ma28ed_.lblock << endl
00125       << "ma28ed.grow = "   << ma28ed_.grow   << endl
00126       << "ma28fd.eps = "    << ma28fd_.eps    << endl
00127       << "ma28fd.rmin = "   << ma28fd_.rmin   << endl
00128       << "ma28fd.resid = "  << ma28fd_.resid  << endl
00129       << "ma28fd.irncp = "  << ma28fd_.irncp  << endl
00130       << "ma28fd.icncp = "  << ma28fd_.icncp  << endl
00131       << "ma28fd.minirn = " << ma28fd_.minirn << endl
00132       << "ma28fd.minicn = " << ma28fd_.minicn << endl
00133       << "ma28fd.abort1 = " << ma28fd_.abort1 << endl
00134       << "ma28fd.abort2 = " << ma28fd_.abort2 << endl
00135       << "ma28gd.idisp[0] = " << ma28gd_.idisp[0] << endl
00136       << "ma28gd.idisp[1] = " << ma28gd_.idisp[1] << endl
00137       << "ma28hd.tol = "    << ma28hd_.tol    << endl
00138       << "ma28hd.themax = " << ma28hd_.themax << endl
00139       << "ma28hd.big = "    << ma28hd_.big    << endl
00140       << "ma28hd.dxmax = "  << ma28hd_.dxmax  << endl
00141       << "ma28hd.errmax = " << ma28hd_.errmax << endl
00142       << "ma28hd.dres = "   << ma28hd_.dres   << endl
00143       << "ma28hd.cgce = "   << ma28hd_.cgce   << endl
00144       << "ma28hd.ndrop = "  << ma28hd_.ndrop  << endl
00145       << "ma28hd.maxit = "  << ma28hd_.maxit  << endl
00146       << "ma28hd.noiter = " << ma28hd_.noiter << endl
00147       << "ma28hd.nsrch = "  << ma28hd_.nsrch  << endl
00148       << "ma28hd.istart = " << ma28hd_.istart << endl
00149       << "ma28hd.lbig = "   << ma28hd_.lbig   << endl
00150       << "ma30ed.lp = "   << ma30ed_.lp   << endl
00151       << "ma30ed.abort1 = " << ma30ed_.abort1 << endl
00152       << "ma30ed.abort2 = " << ma30ed_.abort2 << endl
00153       << "ma30ed.abort3 = " << ma30ed_.abort3 << endl
00154       << "ma30fd.irncp = "  << ma30fd_.irncp  << endl
00155       << "ma30fd.icncp = "  << ma30fd_.icncp  << endl
00156       << "ma30fd.irank = "  << ma30fd_.irank  << endl
00157       << "ma30fd.minirn = " << ma30fd_.minirn << endl
00158       << "ma30fd.minicn = " << ma30fd_.minicn << endl
00159       << "ma30gd.eps = "    << ma30gd_.eps    << endl
00160       << "ma30gd.rmin = "   << ma30gd_.rmin   << endl
00161       << "ma30hd.resid = "  << ma30hd_.resid  << endl
00162       << "ma30id.tol = "    << ma30id_.tol    << endl
00163       << "ma30id.big = "    << ma30id_.big    << endl
00164       << "ma30id.ndrop = "  << ma30id_.ndrop  << endl
00165       << "ma30id.nsrch = "  << ma30id_.nsrch  << endl
00166       << "ma30id.lbig = "   << ma30id_.lbig   << endl;
00167 }

Generated on Thu Sep 18 12:35:11 2008 for MOOCHO (Single Doxygen Collection) by doxygen 1.3.9.1