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_helmholtz_minus_2d_C[] = "$Header: /cvsroot/Lorene/C++/Source/Ope_elementary/Ope_helmholtz_minus_2d/ope_helmholtz_minus_2d.C,v 1.1 2004/08/24 09:14:46 p_grandclement Exp $" ; 00022 00023 /* 00024 * $Id: ope_helmholtz_minus_2d.C,v 1.1 2004/08/24 09:14:46 p_grandclement Exp $ 00025 * $Log: ope_helmholtz_minus_2d.C,v $ 00026 * Revision 1.1 2004/08/24 09:14:46 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_helmholtz_minus_2d/ope_helmholtz_minus_2d.C,v 1.1 2004/08/24 09:14:46 p_grandclement Exp $ 00036 * 00037 */ 00038 00039 #include "proto.h" 00040 #include "ope_elementary.h" 00041 00042 // Standard constructor : 00043 Ope_helmholtz_minus_2d::Ope_helmholtz_minus_2d (int nbr, int baser, double alf, double bet, int lq, double ma, int dz): 00044 Ope_elementary(nbr, baser, alf, bet), l_quant (lq), masse(ma), 00045 dzpuis (dz) { 00046 00047 assert (dzpuis==2) ; 00048 } 00049 00050 // Constructor by copy : 00051 Ope_helmholtz_minus_2d::Ope_helmholtz_minus_2d (const 00052 Ope_helmholtz_minus_2d& so) : 00053 Ope_elementary(so), 00054 l_quant (so.l_quant), masse (so.masse), dzpuis (so.dzpuis) { 00055 00056 assert (dzpuis==2) ; 00057 } 00058 00059 // Destructor : 00060 Ope_helmholtz_minus_2d::~Ope_helmholtz_minus_2d() {} 00061 00062 void Ope_helmholtz_minus_2d::inc_l_quant() { 00063 00064 cout << "inc_l_quant not implemented for this operator." << endl ; 00065 abort() ; 00066 } 00067 00068 void Ope_helmholtz_minus_2d::dec_l_quant() { 00069 00070 cout << "dec_l_quant not implemented for this operator." << endl ; 00071 abort() ; 00072 }
1.4.6