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_DataExchange_Interface.H,v $ 00033 // $Author: rhoope $ 00034 // $Date: 2007/08/28 06:30:35 $ 00035 // $Revision: 1.4 $ 00036 // ************************************************************************ 00037 //@HEADER 00038 00039 #ifndef NOX_MULTIPHYSICS_DATAEXCHANGE_INTERFACE_H 00040 #define NOX_MULTIPHYSICS_DATAEXCHANGE_INTERFACE_H 00041 00042 #include "NOX_Common.H" 00043 00044 namespace NOX { 00045 namespace Multiphysics { 00046 namespace DataExchange { 00047 00052 class Interface { 00053 00054 public: 00055 00057 Interface() {}; 00058 00060 virtual ~Interface() {}; 00061 00063 virtual bool exchangeAllData() = 0; 00064 00066 virtual bool exchangeDataTo(int solverId) = 0; 00067 00068 }; 00069 } // namespace DataExchange 00070 } // namespace Multiphysics 00071 } // namespace NOX 00072 00073 #endif