LORENE
ope_helmholtz_minus_2d.C
1
/*
2
* Copyright (c) 2004 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_helmholtz_minus_2d_C[] =
"$Header: /cvsroot/Lorene/C++/Source/Ope_elementary/Ope_helmholtz_minus_2d/ope_helmholtz_minus_2d.C,v 1.2 2014/10/13 08:53:33 j_novak Exp $"
;
22
23
/*
24
* $Id: ope_helmholtz_minus_2d.C,v 1.2 2014/10/13 08:53:33 j_novak Exp $
25
* $Log: ope_helmholtz_minus_2d.C,v $
26
* Revision 1.2 2014/10/13 08:53:33 j_novak
27
* Lorene classes and functions now belong to the namespace Lorene.
28
*
29
* Revision 1.1 2004/08/24 09:14:46 p_grandclement
30
* Addition of some new operators, like Poisson in 2d... It now requieres the
31
* GSL library to work.
32
*
33
* Also, the way a variable change is stored by a Param_elliptic is changed and
34
* no longer uses Change_var but rather 2 Scalars. The codes using that feature
35
* will requiere some modification. (It should concern only the ones about monopoles)
36
*
37
*
38
* $Header: /cvsroot/Lorene/C++/Source/Ope_elementary/Ope_helmholtz_minus_2d/ope_helmholtz_minus_2d.C,v 1.2 2014/10/13 08:53:33 j_novak Exp $
39
*
40
*/
41
42
#include "proto.h"
43
#include "ope_elementary.h"
44
45
// Standard constructor :
46
namespace
Lorene
{
47
Ope_helmholtz_minus_2d::Ope_helmholtz_minus_2d
(
int
nbr,
int
baser,
double
alf,
double
bet,
int
lq,
double
ma,
int
dz):
48
Ope_elementary
(nbr, baser, alf, bet), l_quant (lq), masse(ma),
49
dzpuis (dz) {
50
51
assert (
dzpuis
==2) ;
52
}
53
54
// Constructor by copy :
55
Ope_helmholtz_minus_2d::Ope_helmholtz_minus_2d
(
const
56
Ope_helmholtz_minus_2d
& so) :
57
Ope_elementary
(so),
58
l_quant (so.l_quant), masse (so.masse), dzpuis (so.dzpuis) {
59
60
assert (
dzpuis
==2) ;
61
}
62
63
// Destructor :
64
Ope_helmholtz_minus_2d::~Ope_helmholtz_minus_2d
() {}
65
66
void
Ope_helmholtz_minus_2d::inc_l_quant
() {
67
68
cout <<
"inc_l_quant not implemented for this operator."
<< endl ;
69
abort() ;
70
}
71
72
void
Ope_helmholtz_minus_2d::dec_l_quant
() {
73
74
cout <<
"dec_l_quant not implemented for this operator."
<< endl ;
75
abort() ;
76
}
77
}
Lorene::Ope_helmholtz_minus_2d::dzpuis
int dzpuis
the associated dzpuis, if in the compactified domain.
Definition:
ope_elementary.h:794
Lorene
Lorene prototypes.
Definition:
app_hor.h:64
Lorene::Ope_helmholtz_minus_2d::dec_l_quant
virtual void dec_l_quant()
Decreases the quatum number l by one unit.
Definition:
ope_helmholtz_minus_2d.C:72
Lorene::Ope_helmholtz_minus_2d::inc_l_quant
virtual void inc_l_quant()
Increases the quatum number l by one unit.
Definition:
ope_helmholtz_minus_2d.C:66
Lorene::Ope_helmholtz_minus_2d
Class for the operator of the Helmholtz equation in 2D.
Definition:
ope_elementary.h:789
Lorene::Ope_helmholtz_minus_2d::~Ope_helmholtz_minus_2d
virtual ~Ope_helmholtz_minus_2d()
Destructor.
Definition:
ope_helmholtz_minus_2d.C:64
Lorene::Ope_elementary
Basic class for elementary elliptic operators.
Definition:
ope_elementary.h:102
Lorene::Ope_helmholtz_minus_2d::Ope_helmholtz_minus_2d
Ope_helmholtz_minus_2d(int nbr, int baser, double alf, double bet, int lq, double masse, int dz)
Standard constructor.
Definition:
ope_helmholtz_minus_2d.C:47
C++
Source
Ope_elementary
Ope_helmholtz_minus_2d
ope_helmholtz_minus_2d.C
Generated by
1.8.17