00001 //@HEADER 00002 // ************************************************************************ 00003 // 00004 // NOX: An Object-Oriented Nonlinear Solver Package 00005 // Copyright (2002) Sandia Corporation 00006 // 00007 // LOCA: Library of Continuation Algorithms Package 00008 // Copyright (2005) Sandia Corporation 00009 // 00010 // Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive 00011 // license for use of this work by or on behalf of the U.S. Government. 00012 // 00013 // This library is free software; you can redistribute it and/or modify 00014 // it under the terms of the GNU Lesser General Public License as 00015 // published by the Free Software Foundation; either version 2.1 of the 00016 // License, or (at your option) any later version. 00017 // 00018 // This library is distributed in the hope that it will be useful, but 00019 // WITHOUT ANY WARRANTY; without even the implied warranty of 00020 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00021 // Lesser General Public License for more details. 00022 // 00023 // You should have received a copy of the GNU Lesser General Public 00024 // License along with this library; if not, write to the Free Software 00025 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 00026 // USA 00027 // 00028 // Questions? Contact Roger Pawlowski (rppawlo@sandia.gov) or 00029 // Eric Phipps (etphipp@sandia.gov), Sandia National Laboratories. 00030 // ************************************************************************ 00031 // CVS Information 00032 // $Source: /space/CVS/Trilinos/packages/nox/src/NOX_Multiphysics_Solver_Generic.H,v $ 00033 // $Author: rppawlo $ 00034 // $Date: 2007/08/01 20:50:40 $ 00035 // $Revision: 1.7 $ 00036 // ************************************************************************ 00037 //@HEADER 00038 00039 #ifndef NOX_MULTIPHYSICS_SOLVER_GENERIC_H 00040 #define NOX_MULTIPHYSICS_SOLVER_GENERIC_H 00041 00042 #include "NOX_StatusTest_Generic.H" // base class 00043 #include "NOX_Multiphysics_DataExchange_Interface.H" 00044 #include "NOX_Solver_Generic.H" 00045 00046 // Forward declarations 00047 namespace NOX { 00048 namespace Parameter { 00049 class List; 00050 } 00051 namespace Abstract { 00052 class Group; 00053 } 00054 } 00055 #include "Teuchos_RCP.hpp" 00056 00057 namespace NOX { 00058 namespace Multiphysics { 00059 00067 namespace Solver { 00068 00084 class Generic : virtual public NOX::Solver::Generic { 00085 00086 public: 00087 00089 Generic() {}; 00090 00092 virtual ~Generic() {}; 00093 00114 virtual bool 00115 reset(const Teuchos::RCP<vector<Teuchos::RCP<NOX::Solver::Generic> > >& solvers, 00116 const Teuchos::RCP<NOX::Multiphysics::DataExchange::Interface>& interface, 00117 const Teuchos::RCP<NOX::StatusTest::Generic>& tests, 00118 const Teuchos::RCP<Teuchos::ParameterList>& params) = 0; 00119 00121 00122 virtual void 00123 reset(const NOX::Abstract::Vector& initialGuess) = 0; 00124 00125 virtual void 00126 reset(const NOX::Abstract::Vector& initialGuess, 00127 const Teuchos::RCP<NOX::StatusTest::Generic>& tests) = 0; 00128 00129 }; 00130 } // namespace Solver 00131 } // namespace Multiphysics 00132 } // namespace NOX 00133 00134 00135 #endif