00001 // This file is part of ff3d - http://www.freefem.org/ff3d 00002 // Copyright (C) 2001, 2002, 2003 Stéphane Del Pino 00003 00004 // This program is free software; you can redistribute it and/or modify 00005 // it under the terms of the GNU General Public License as published by 00006 // the Free Software Foundation; either version 2, or (at your option) 00007 // any later version. 00008 00009 // This program is distributed in the hope that it will be useful, 00010 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 // GNU General Public License for more details. 00013 00014 // You should have received a copy of the GNU General Public License 00015 // along with this program; if not, write to the Free Software Foundation, 00016 // Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00017 00018 // $Id: FunctionExpressionFEM.hpp,v 1.3 2007/08/02 23:11:56 delpinux Exp $ 00019 00020 #ifndef FUNCTION_EXPRESSION_FEM_HPP 00021 #define FUNCTION_EXPRESSION_FEM_HPP 00022 00023 #include <FunctionExpression.hpp> 00024 00025 #include <ScalarDiscretizationTypeBase.hpp> 00026 00027 class MeshExpression; 00028 00037 class FunctionExpressionFEM 00038 : public FunctionExpression 00039 { 00040 private: 00041 const ScalarDiscretizationTypeBase::Type 00042 __discretizationType; 00044 ReferenceCounting<MeshExpression> 00045 __mesh; 00047 ReferenceCounting<FunctionExpression> 00048 __functionExpression; 00050 public: 00057 ReferenceCounting<MeshExpression> mesh() const 00058 { 00059 #warning SHOULD NOT USE THIS FUNCTION 00060 return __mesh; 00061 } 00062 00067 void execute(); 00068 00077 FunctionExpressionFEM(ReferenceCounting<MeshExpression> mesh, 00078 ReferenceCounting<FunctionExpression> e, 00079 const ScalarDiscretizationTypeBase::Type& femType); 00080 00087 FunctionExpressionFEM(const FunctionExpressionFEM& f); 00088 00093 ~FunctionExpressionFEM(); 00094 }; 00095 00096 #endif // FUNCTION_EXPRESSION_FEM_HPP
1.5.6