58#include "ope_elementary.h"
59#include "param_elliptic.h"
60#include "change_var.h"
70 cout <<
"set_poisson_2d only defined for an affine mapping..." << endl ;
75 int nz =
get_mp().get_mg()->get_nzone() ;
79 int m_quant, l_quant, base_r_1d ;
82 for (
int l=0 ; l<nz ; l++) {
84 nr =
get_mp().get_mg()->get_nr(l) ;
85 alpha = get_alpha (l) ;
88 for (
int k=0 ; k<
get_mp().get_mg()->get_np(l)+1 ; k++)
89 for (
int j=0 ; j<
get_mp().get_mg()->get_nt(l) ; j++) {
94 if ((indic) || ((!indic) && (l_quant !=0)))
112 cout <<
"set_helmholtz_minus_2d only defined for an affine mapping..." << endl ;
117 int nz =
get_mp().get_mg()->get_nzone() ;
122 int m_quant, l_quant, base_r_1d ;
125 for (
int l=0 ; l<nz ; l++) {
127 nr =
get_mp().get_mg()->get_nr(l) ;
128 alpha = get_alpha (l) ;
129 beta = get_beta (l) ;
131 for (
int k=0 ; k<
get_mp().get_mg()->get_np(l)+1 ; k++)
132 for (
int j=0 ; j<
get_mp().get_mg()->get_nt(l) ; j++) {
137 (l, k, j, m_quant, l_quant, base_r_1d) ;
void give_quant_numbers(int, int, int, int &, int &, int &) const
Computes the various quantum numbers and 1d radial base.
Ope_helmholtz_minus_2d(int nbr, int baser, double alf, double bet, int lq, double masse, int dz)
Standard constructor.
Ope_poisson_2d(int nbr, int baser, double alf, double bet, int lq, int dz)
Standard constructor.
const Map_radial & get_mp() const
Returns the mapping.
Ope_elementary ** operateurs
Array on the elementary operators.
void set_poisson_2d(const Scalar &, bool indic=false)
Set everything to do a 2d-Poisson, with or without l=0 (not put by default...).
int type_map
Type of mapping either MAP_AFF or MAP_LOG.
void set_helmholtz_minus_2d(int zone, double mas, const Scalar &)
Set the 2D Helmholtz operator (with minus sign).
Tensor field of valence 0 (or component of a tensorial field).
int get_dzpuis() const
Returns dzpuis.
bool check_dzpuis(int dzi) const
Returns false if the last domain is compactified and *this is not zero in this domain and dzpuis is n...
const Valeur & get_spectral_va() const
Returns va (read only version).
Base_val base
Bases on which the spectral expansion is performed.