LORENE
ope_vorton.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_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 $"
;
22
23
/*
24
* $Id: ope_vorton.C,v 1.3 2014/10/13 08:53:36 j_novak Exp $
25
* $Header: /cvsroot/Lorene/C++/Source/Ope_elementary/Ope_vorton/ope_vorton.C,v 1.3 2014/10/13 08:53:36 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_vorton::Ope_vorton
(
int
nbr,
int
base,
double
alf,
36
double
bet,
int
lq,
int
dz) :
37
Ope_elementary
(nbr, base, alf, bet), l_quant(lq), dzpuis(dz) {
38
}
39
40
// Constructor by copy :
41
Ope_vorton::Ope_vorton
(
const
Ope_vorton
& so) :
42
Ope_elementary
(so), l_quant(so.l_quant), dzpuis(so.dzpuis) {
43
}
44
45
// Destructor :
46
Ope_vorton::~Ope_vorton
() {}
47
48
void
Ope_vorton::inc_l_quant
() {
49
50
cout <<
"inc_l_quant not implemented for this operator."
<< endl ;
51
abort() ;
52
}
53
54
void
Ope_vorton::dec_l_quant
() {
55
56
cout <<
"dec_l_quant not implemented for this operator."
<< endl ;
57
abort() ;
58
}
59
}
Lorene
Lorene prototypes.
Definition:
app_hor.h:64
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::inc_l_quant
virtual void inc_l_quant()
Increases the quatum number l by one unit.
Definition:
ope_vorton.C:48
Lorene::Ope_elementary
Basic class for elementary elliptic operators.
Definition:
ope_elementary.h:102
Lorene::Ope_vorton::~Ope_vorton
virtual ~Ope_vorton()
Destructor.
Definition:
ope_vorton.C:46
Lorene::Ope_vorton
Class for the operator appearing for the vortons.
Definition:
ope_elementary.h:994
Lorene::Ope_vorton::dec_l_quant
virtual void dec_l_quant()
Decreases the quatum number l by one unit.
Definition:
ope_vorton.C:54
C++
Source
Ope_elementary
Ope_vorton
ope_vorton.C
Generated by
1.8.17