ope_helmholtz_minus_pseudo_1d.C
/*
* Copyright (c) 2004 Philippe Grandclement
*
* This file is part of LORENE.
*
* LORENE is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2
* as published by the Free Software Foundation.
*
* LORENE is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with LORENE; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
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.2 2014/10/13 08:53:33 j_novak Exp $" ;
/*
* $Id: ope_helmholtz_minus_pseudo_1d.C,v 1.2 2014/10/13 08:53:33 j_novak Exp $
* $Log: ope_helmholtz_minus_pseudo_1d.C,v $
* Revision 1.2 2014/10/13 08:53:33 j_novak
* Lorene classes and functions now belong to the namespace Lorene.
*
* Revision 1.1 2004/08/24 09:14:46 p_grandclement
* Addition of some new operators, like Poisson in 2d... It now requieres the
* GSL library to work.
*
* Also, the way a variable change is stored by a Param_elliptic is changed and
* no longer uses Change_var but rather 2 Scalars. The codes using that feature
* will requiere some modification. (It should concern only the ones about monopoles)
*
*
* $Header: /cvsroot/Lorene/C++/Source/Ope_elementary/Ope_helmholtz_minus_pseudo_1d/ope_helmholtz_minus_pseudo_1d.C,v 1.2 2014/10/13 08:53:33 j_novak Exp $
*
*/
#include "proto.h"
#include "ope_elementary.h"
namespace Lorene {
// Standard constructor :
Ope_helmholtz_minus_pseudo_1d::Ope_helmholtz_minus_pseudo_1d
(int nbr, int baser, double alf, double bet,
int lq, double ma, int dz):
Ope_elementary(nbr, baser, alf, bet), l_quant (lq), masse(ma),
dzpuis (dz) {
assert (dzpuis==2) ;
}
// Constructor by copy :
Ope_helmholtz_minus_pseudo_1d::Ope_helmholtz_minus_pseudo_1d (const
Ope_helmholtz_minus_pseudo_1d& so) :
Ope_elementary(so),
l_quant (so.l_quant), masse (so.masse), dzpuis (so.dzpuis) {
assert (dzpuis==2) ;
}
// Destructor :
Ope_helmholtz_minus_pseudo_1d::~Ope_helmholtz_minus_pseudo_1d() {}
void Ope_helmholtz_minus_pseudo_1d::inc_l_quant() {
cout << "inc_l_quant not implemented for this operator." << endl ;
abort() ;
}
void Ope_helmholtz_minus_pseudo_1d::dec_l_quant() {
cout << "dec_l_quant not implemented for this operator." << endl ;
abort() ;
}
}
Lorene::Ope_elementary::Ope_elementary
Ope_elementary(int nbr, int baser, double alf, double eta)
Standard constructor, protected because the class is an abstract one.
Definition ope_elementary.C:42
Lorene::Ope_helmholtz_minus_pseudo_1d::inc_l_quant
virtual void inc_l_quant()
Increases the quatum number l by one unit.
Definition ope_helmholtz_minus_pseudo_1d.C:69
Lorene::Ope_helmholtz_minus_pseudo_1d::masse
double masse
The mass term.
Definition ope_elementary.h:926
Lorene::Ope_helmholtz_minus_pseudo_1d::Ope_helmholtz_minus_pseudo_1d
Ope_helmholtz_minus_pseudo_1d(int nbr, int baser, double alf, double bet, int lq, double masse, int dz)
Standard constructor.
Definition ope_helmholtz_minus_pseudo_1d.C:49
Lorene::Ope_helmholtz_minus_pseudo_1d::dzpuis
int dzpuis
the associated dzpuis, if in the compactified domain.
Definition ope_elementary.h:927
Lorene::Ope_helmholtz_minus_pseudo_1d::l_quant
int l_quant
quantum number
Definition ope_elementary.h:925
Lorene::Ope_helmholtz_minus_pseudo_1d::~Ope_helmholtz_minus_pseudo_1d
virtual ~Ope_helmholtz_minus_pseudo_1d()
Destructor.
Definition ope_helmholtz_minus_pseudo_1d.C:67
Lorene::Ope_helmholtz_minus_pseudo_1d::dec_l_quant
virtual void dec_l_quant()
Decreases the quatum number l by one unit.
Definition ope_helmholtz_minus_pseudo_1d.C:75
Lorene
Lorene prototypes.
Definition app_hor.h:64