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: BoundaryConditionExpression.cpp,v 1.8 2007/02/08 23:19:38 delpinux Exp $ 00019 00020 #include <BoundaryConditionExpression.hpp> 00021 #include <FunctionExpression.hpp> 00022 #include <BoundaryCondition.hpp> 00023 00024 #include <Fourrier.hpp> 00025 #include <Neumann.hpp> 00026 00027 #include <Stringify.hpp> 00028 #include <ErrorHandler.hpp> 00029 00030 ConstReferenceCounting<BoundaryCondition> 00031 BoundaryConditionExpression::boundaryCondition() const 00032 { 00033 return __boundaryCondition; 00034 } 00035 00036 00037 BoundaryConditionExpression:: 00038 BoundaryConditionExpression(const BoundaryConditionExpression& e) 00039 : Expression(e), 00040 __boundaryCondition(e.__boundaryCondition), 00041 __boundary(e.__boundary), 00042 __unknownName(e.__unknownName), 00043 __boundaryConditionType(e.__boundaryConditionType) 00044 { 00045 ; 00046 } 00047 00048 BoundaryConditionExpression:: 00049 BoundaryConditionExpression(ReferenceCounting<BoundaryExpression> boundary, 00050 const std::string& unknownName, 00051 const BoundaryConditionExpression::BoundaryConditionType& t) 00052 : Expression(Expression::boundaryCondition), 00053 __boundary(boundary), 00054 __unknownName(unknownName), 00055 __boundaryConditionType(t) 00056 { 00057 ; 00058 } 00059 00060 BoundaryConditionExpression::~BoundaryConditionExpression() 00061 { 00062 ; 00063 } 00064
1.5.6