00001 // $Id: LOCA_BorderedSystem_AbstractGroup.H,v 1.4 2007/06/21 16:22:52 rhoope Exp $ 00002 // $Source: /space/CVS/Trilinos/packages/nox/src-loca/src/LOCA_BorderedSystem_AbstractGroup.H,v $ 00003 00004 //@HEADER 00005 // ************************************************************************ 00006 // 00007 // NOX: An Object-Oriented Nonlinear Solver Package 00008 // Copyright (2002) Sandia Corporation 00009 // 00010 // LOCA: Library of Continuation Algorithms Package 00011 // Copyright (2005) Sandia Corporation 00012 // 00013 // Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive 00014 // license for use of this work by or on behalf of the U.S. Government. 00015 // 00016 // This library is free software; you can redistribute it and/or modify 00017 // it under the terms of the GNU Lesser General Public License as 00018 // published by the Free Software Foundation; either version 2.1 of the 00019 // License, or (at your option) any later version. 00020 // 00021 // This library is distributed in the hope that it will be useful, but 00022 // WITHOUT ANY WARRANTY; without even the implied warranty of 00023 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00024 // Lesser General Public License for more details. 00025 // 00026 // You should have received a copy of the GNU Lesser General Public 00027 // License along with this library; if not, write to the Free Software 00028 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 00029 // USA 00030 // 00031 // Questions? Contact Roger Pawlowski (rppawlo@sandia.gov) or 00032 // Eric Phipps (etphipp@sandia.gov), Sandia National Laboratories. 00033 // ************************************************************************ 00034 // CVS Information 00035 // $Source: /space/CVS/Trilinos/packages/nox/src-loca/src/LOCA_BorderedSystem_AbstractGroup.H,v $ 00036 // $Author: rhoope $ 00037 // $Date: 2007/06/21 16:22:52 $ 00038 // $Revision: 1.4 $ 00039 // ************************************************************************ 00040 //@HEADER 00041 00042 #ifndef LOCA_BORDEREDSYSTEM_ABSTRACTGROUP_H 00043 #define LOCA_BORDEREDSYSTEM_ABSTRACTGROUP_H 00044 00045 #include "Teuchos_RCP.hpp" 00046 #include "NOX_Abstract_Group.H" // base class 00047 #include "NOX_Abstract_MultiVector.H" // for DenseMatrix 00048 00049 namespace LOCA { 00050 00051 namespace BorderedSystem { 00052 00073 class AbstractGroup : public virtual NOX::Abstract::Group { 00074 00075 public: 00076 00078 AbstractGroup() {} 00079 00081 virtual ~AbstractGroup() {} 00082 00088 00090 virtual int getBorderedWidth() const = 0; 00091 00093 virtual Teuchos::RCP<const NOX::Abstract::Group> 00094 getUnborderedGroup() const = 0; 00095 00097 virtual bool isCombinedAZero() const = 0; 00098 00100 virtual bool isCombinedBZero() const = 0; 00101 00103 virtual bool isCombinedCZero() const = 0; 00104 00109 virtual void 00110 extractSolutionComponent(const NOX::Abstract::MultiVector& v, 00111 NOX::Abstract::MultiVector& v_x) const = 0; 00112 00118 virtual void 00119 extractParameterComponent( 00120 bool use_transpose, 00121 const NOX::Abstract::MultiVector& v, 00122 NOX::Abstract::MultiVector::DenseMatrix& v_p) const = 0; 00123 00129 virtual void 00130 loadNestedComponents(const NOX::Abstract::MultiVector& v_x, 00131 const NOX::Abstract::MultiVector::DenseMatrix& v_p, 00132 NOX::Abstract::MultiVector& v) const = 0; 00133 00135 virtual void fillA(NOX::Abstract::MultiVector& A) const = 0; 00136 00138 virtual void fillB(NOX::Abstract::MultiVector& B) const = 0; 00139 00141 virtual void fillC(NOX::Abstract::MultiVector::DenseMatrix& C) const = 0; 00142 00144 00146 using NOX::Abstract::Group::operator=; 00147 00148 }; // Class AbstractGroup 00149 00150 } // Namespace BorderedSystem 00151 00152 } // Namespace LOCA 00153 00154 #endif // LOCA_BORDEREDSYSTEM_ABSTRACTGROUP_H