ope_sec_order.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_sec_order_C[] = "$Header: /cvsroot/Lorene/C++/Source/Ope_elementary/Ope_sec_order/ope_sec_order.C,v 1.4 2014/10/13 08:53:35 j_novak Exp $" ;
/*
* $Id: ope_sec_order.C,v 1.4 2014/10/13 08:53:35 j_novak Exp $
* $Header: /cvsroot/Lorene/C++/Source/Ope_elementary/Ope_sec_order/ope_sec_order.C,v 1.4 2014/10/13 08:53:35 j_novak Exp $
*
*/
#include <cmath>
#include <cstdlib>
#include "ope_elementary.h"
// Standard constructor :
namespace Lorene {
Ope_sec_order::Ope_sec_order (int nbr, int base, double alf,
double bet, double a, double b, double c) :
Ope_elementary(nbr, base, alf, bet), a_param(a), b_param(b), c_param(c) {
assert (a!=0) ;
}
// Constructor by copy :
Ope_sec_order::Ope_sec_order (const Ope_sec_order& so) :
Ope_elementary(so), a_param (so.a_param), b_param(so.b_param), c_param(so.c_param) {
}
// Destructor :
Ope_sec_order::~Ope_sec_order() {}
void Ope_sec_order::inc_l_quant() {
cout << "inc_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_sec_order::b_param
double b_param
The parameter .
Definition ope_elementary.h:570
Lorene::Ope_sec_order::Ope_sec_order
Ope_sec_order(int nbr, int baser, double alf, double bet, double a, double b, double c)
Standard constructor.
Definition ope_sec_order.C:35
Lorene::Ope_sec_order::a_param
double a_param
The parameter .
Definition ope_elementary.h:569
Lorene::Ope_sec_order::c_param
double c_param
The parameter .
Definition ope_elementary.h:571
Lorene::Ope_sec_order::inc_l_quant
virtual void inc_l_quant()
Increases the quatum number by one unit (CURRENTLY NOT IMPLEMENTED).
Definition ope_sec_order.C:50
Lorene::Ope_sec_order::~Ope_sec_order
virtual ~Ope_sec_order()
Destructor.
Definition ope_sec_order.C:48
Lorene
Lorene prototypes.
Definition app_hor.h:64