LORENE
ope_sec_order.C
1
/*
2
* Copyright (c) 2003 Philippe Grandclement
3
*
4
* This file is part of LORENE.
5
*
6
* LORENE is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License version 2
8
* as published by the Free Software Foundation.
9
*
10
* LORENE is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with LORENE; if not, write to the Free Software
17
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18
*
19
*/
20
21
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 $"
;
22
23
/*
24
* $Id: ope_sec_order.C,v 1.4 2014/10/13 08:53:35 j_novak Exp $
25
* $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 $
26
*
27
*/
28
#include <cmath>
29
#include <cstdlib>
30
31
#include "ope_elementary.h"
32
33
// Standard constructor :
34
namespace
Lorene
{
35
Ope_sec_order::Ope_sec_order
(
int
nbr,
int
base,
double
alf,
36
double
bet,
double
a,
double
b,
double
c) :
37
Ope_elementary
(nbr, base, alf, bet), a_param(a), b_param(b), c_param(c) {
38
39
assert (a!=0) ;
40
}
41
42
// Constructor by copy :
43
Ope_sec_order::Ope_sec_order
(
const
Ope_sec_order
& so) :
44
Ope_elementary
(so), a_param (so.a_param), b_param(so.b_param), c_param(so.c_param) {
45
}
46
47
// Destructor :
48
Ope_sec_order::~Ope_sec_order
() {}
49
50
void
Ope_sec_order::inc_l_quant
() {
51
52
cout <<
"inc_l_quant not implemented for this operator."
<< endl ;
53
abort() ;
54
}
55
}
Lorene::Ope_sec_order::~Ope_sec_order
virtual ~Ope_sec_order()
Destructor.
Definition:
ope_sec_order.C:48
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
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
Lorene prototypes.
Definition:
app_hor.h:64
Lorene::Ope_elementary
Basic class for elementary elliptic operators.
Definition:
ope_elementary.h:102
Lorene::Ope_sec_order
Class for operator of the type .
Definition:
ope_elementary.h:565
C++
Source
Ope_elementary
Ope_sec_order
ope_sec_order.C
Generated by
1.8.17