ope_helmholtz_minus_pseudo_1d.C

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_pseudo_1d_C[] = "$Header: /cvsroot/Lorene/C++/Source/Ope_elementary/Ope_helmholtz_minus_pseudo_1d/ope_helmholtz_minus_pseudo_1d.C,v 1.1 2004/08/24 09:14:46 p_grandclement Exp $" ;
00022 
00023 /*
00024  * $Id: ope_helmholtz_minus_pseudo_1d.C,v 1.1 2004/08/24 09:14:46 p_grandclement Exp $
00025  * $Log: ope_helmholtz_minus_pseudo_1d.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_pseudo_1d/ope_helmholtz_minus_pseudo_1d.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_pseudo_1d::Ope_helmholtz_minus_pseudo_1d 
00044 (int nbr, int baser, double alf, double bet, 
00045  int lq, double ma, int dz): 
00046   Ope_elementary(nbr, baser, alf, bet), l_quant (lq), masse(ma),
00047   dzpuis (dz) {
00048 
00049   assert (dzpuis==2) ;
00050 }
00051 
00052 // Constructor by copy :
00053 Ope_helmholtz_minus_pseudo_1d::Ope_helmholtz_minus_pseudo_1d (const 
00054                         Ope_helmholtz_minus_pseudo_1d& so) : 
00055   Ope_elementary(so),
00056   l_quant (so.l_quant), masse (so.masse), dzpuis (so.dzpuis) {
00057   
00058   assert (dzpuis==2) ;
00059 }
00060 
00061 // Destructor :
00062 Ope_helmholtz_minus_pseudo_1d::~Ope_helmholtz_minus_pseudo_1d() {} 
00063 
00064 void Ope_helmholtz_minus_pseudo_1d::inc_l_quant() {
00065 
00066   cout << "inc_l_quant not implemented for this operator." << endl ;
00067   abort() ;
00068 }
00069 
00070 void Ope_helmholtz_minus_pseudo_1d::dec_l_quant() {
00071 
00072   cout << "dec_l_quant not implemented for this operator." << endl ;
00073   abort() ;
00074 }

Generated on Tue Feb 7 01:35:18 2012 for LORENE by  doxygen 1.4.6