00001 /* 00002 * Copyright (c) 2004 Philippe Grandclement 00003 * 00004 * This file is part of LORENE. 00005 * 00006 * LORENE is free software; you can redistribute it and/or modify 00007 * it under the terms of the GNU General Public License version 2 00008 * as published by the Free Software Foundation. 00009 * 00010 * LORENE is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 * GNU General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License 00016 * along with LORENE; if not, write to the Free Software 00017 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00018 * 00019 */ 00020 00021 char ope_poisson_2d_C[] = "$Header: /cvsroot/Lorene/C++/Source/Ope_elementary/Ope_poisson_2d/ope_poisson_2d.C,v 1.1 2004/08/24 09:14:47 p_grandclement Exp $" ; 00022 00023 /* 00024 * $Id: ope_poisson_2d.C,v 1.1 2004/08/24 09:14:47 p_grandclement Exp $ 00025 * $Log: ope_poisson_2d.C,v $ 00026 * Revision 1.1 2004/08/24 09:14:47 p_grandclement 00027 * Addition of some new operators, like Poisson in 2d... It now requieres the 00028 * GSL library to work. 00029 * 00030 * Also, the way a variable change is stored by a Param_elliptic is changed and 00031 * no longer uses Change_var but rather 2 Scalars. The codes using that feature 00032 * will requiere some modification. (It should concern only the ones about monopoles) 00033 * 00034 * 00035 * $Header: /cvsroot/Lorene/C++/Source/Ope_elementary/Ope_poisson_2d/ope_poisson_2d.C,v 1.1 2004/08/24 09:14:47 p_grandclement Exp $ 00036 * 00037 */ 00038 00039 #include "proto.h" 00040 #include "ope_elementary.h" 00041 00042 // Standard constructor : 00043 Ope_poisson_2d::Ope_poisson_2d (int nbr, int baser, double alf, double bet, int lq, int dz): 00044 Ope_elementary(nbr, baser, alf, bet), l_quant (lq), 00045 dzpuis (dz) { 00046 00047 assert ((dzpuis==2) || (dzpuis==3) || (dzpuis==4)) ; 00048 } 00049 00050 // Constructor by copy : 00051 Ope_poisson_2d::Ope_poisson_2d (const Ope_poisson_2d& so) : 00052 Ope_elementary(so), 00053 l_quant (so.l_quant), dzpuis (so.dzpuis) { 00054 00055 assert ((dzpuis==2) || (dzpuis==3) || (dzpuis==4)) ; 00056 } 00057 00058 // Destructor : 00059 Ope_poisson_2d::~Ope_poisson_2d() {} 00060 00061 void Ope_poisson_2d::inc_l_quant() { 00062 00063 cout << "inc_l_quant not implemented for this operator." << endl ; 00064 abort() ; 00065 } 00066 00067 void Ope_poisson_2d::dec_l_quant() { 00068 00069 cout << "dec_l_quant not implemented for this operator." << endl ; 00070 abort() ; 00071 }
1.4.6