ope_vorton.C
/*
* Copyright (c) 2003 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_vorton_C[] = "$Header: /cvsroot/Lorene/C++/Source/Ope_elementary/Ope_vorton/ope_vorton.C,v 1.3 2014/10/13 08:53:36 j_novak Exp $" ;
/*
* $Id: ope_vorton.C,v 1.3 2014/10/13 08:53:36 j_novak Exp $
* $Header: /cvsroot/Lorene/C++/Source/Ope_elementary/Ope_vorton/ope_vorton.C,v 1.3 2014/10/13 08:53:36 j_novak Exp $
*
*/
#include <cmath>
#include <cstdlib>
#include "ope_elementary.h"
// Standard constructor :
namespace Lorene {
Ope_vorton::Ope_vorton (int nbr, int base, double alf,
double bet, int lq, int dz) :
Ope_elementary(nbr, base, alf, bet), l_quant(lq), dzpuis(dz) {
}
// Constructor by copy :
Ope_vorton::Ope_vorton (const Ope_vorton& so) :
Ope_elementary(so), l_quant(so.l_quant), dzpuis(so.dzpuis) {
}
// Destructor :
Ope_vorton::~Ope_vorton() {}
void Ope_vorton::inc_l_quant() {
cout << "inc_l_quant not implemented for this operator." << endl ;
abort() ;
}
void Ope_vorton::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_vorton::~Ope_vorton
virtual ~Ope_vorton()
Destructor.
Definition ope_vorton.C:46
Lorene::Ope_vorton::dec_l_quant
virtual void dec_l_quant()
Decreases the quatum number l by one unit.
Definition ope_vorton.C:54
Lorene::Ope_vorton::Ope_vorton
Ope_vorton(int nbr, int baser, double alf, double bet, int lq, int dz)
Standard constructor.
Definition ope_vorton.C:35
Lorene::Ope_vorton::l_quant
int l_quant
quantum number
Definition ope_elementary.h:997
Lorene::Ope_vorton::dzpuis
int dzpuis
the associated dzpuis, if in the compactified domain.
Definition ope_elementary.h:998
Lorene::Ope_vorton::inc_l_quant
virtual void inc_l_quant()
Increases the quatum number l by one unit.
Definition ope_vorton.C:48
Lorene
Lorene prototypes.
Definition app_hor.h:64