$extrastylesheet
00001 // rbOOmit: An implementation of the Certified Reduced Basis method. 00002 // Copyright (C) 2009, 2010 David J. Knezevic 00003 00004 // This file is part of rbOOmit. 00005 00006 // rbOOmit is free software; you can redistribute it and/or 00007 // modify it under the terms of the GNU Lesser General Public 00008 // License as published by the Free Software Foundation; either 00009 // version 2.1 of the License, or (at your option) any later version. 00010 00011 // rbOOmit is distributed in the hope that it will be useful, 00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 // Lesser General Public License for more details. 00015 00016 // You should have received a copy of the GNU Lesser General Public 00017 // License along with this library; if not, write to the Free Software 00018 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00019 00020 #ifndef LIBMESH_RB_EIM_THETA_H 00021 #define LIBMESH_RB_EIM_THETA_H 00022 00023 // rbOOmit includes 00024 #include "libmesh/rb_theta.h" 00025 #include "libmesh/rb_eim_evaluation.h" 00026 00027 // C++ includes 00028 00029 namespace libMesh 00030 { 00031 00032 class RBParameters; 00033 00042 class RBEIMTheta : public RBTheta 00043 { 00044 public: 00045 00049 RBEIMTheta(RBEIMEvaluation& rb_eim_eval_in, unsigned int index_in); 00050 00056 virtual Number evaluate(const RBParameters& mu); 00057 00061 RBEIMEvaluation& rb_eim_eval; 00062 00067 unsigned int index; 00068 00069 }; 00070 00071 } 00072 00073 #endif // LIBMESH_RB_EIM_THETA_H