LORENE
|
Class for the operator of the rr component of the divergence-free tensor Poisson equation.
More...
#include <ope_elementary.h>
Public Member Functions | |
Ope_pois_tens_rr (int nbr, int baser, double alf, double bet, int lq, int dz) | |
Standard constructor. More... | |
Ope_pois_tens_rr (const Ope_pois_tens_rr &) | |
Constructor by copy. More... | |
virtual | ~Ope_pois_tens_rr () |
Destructor. More... | |
virtual Tbl | get_solh () const |
Computes the homogeneous solutions(s). More... | |
int | get_dzpuis () |
Returns the associated dzpuis, if in the compactified domain. More... | |
int | get_lquant () |
Returns the quantum number l. More... | |
virtual Tbl | get_solp (const Tbl &so) const |
Computes the particular solution, given the source so . More... | |
virtual void | inc_l_quant () |
Increases the quatum number l by one unit. More... | |
virtual void | dec_l_quant () |
Decreases the quatum number l by one unit. More... | |
double | val_sh_one_minus () const |
Returns the value of the first homogeneous solution at the inner boundary. More... | |
double | val_sh_one_plus () const |
Returns the value of the first homogeneous solution at the outer boundary. More... | |
double | der_sh_one_minus () const |
Returns the value of the derivative of the first homogeneous solution at the inner boundary. More... | |
double | der_sh_one_plus () const |
Returns the value of the derivative of the first homogeneous solution at the outer boundary. More... | |
double | val_sh_two_minus () const |
Returns the value of the second homogeneous solution at the inner boundary. More... | |
double | val_sh_two_plus () const |
Returns the value of the second homogeneous solution at the outer boundary. More... | |
double | der_sh_two_minus () const |
Returns the value of the derivative of the second homogeneous solution at the inner boundary. More... | |
double | der_sh_two_plus () const |
Returns the value of the derivative of the second homogeneous solution at the outer boundary. More... | |
double | val_sp_minus () const |
Returns the value of the particular solution at the inner boundary. More... | |
double | val_sp_plus () const |
Returns the value of the particular solution at the outer boundary. More... | |
double | der_sp_minus () const |
Returns the value of the derivative particular solution at the inner boundary. More... | |
double | der_sp_plus () const |
Returns the value of the derivative particular solution at the outer boundary. More... | |
double | get_alpha () const |
Returns alpha . More... | |
double | get_beta () const |
Returns beta} . More... | |
int | get_base_r () const |
Returns base_r} . More... | |
Matrice | get_ope_mat () |
Returns the matrix representation. More... | |
Matrice | get_ope_cl () |
Returns the banded matrix representation. More... | |
Matrice | get_non_dege () |
Returns the non degenerate matrix representation. More... | |
Protected Attributes | |
int | l_quant |
quantum number More... | |
int | dzpuis |
the associated dzpuis, if in the compactified domain. More... | |
int | nr |
Number of radial points. More... | |
int | base_r |
Radial basis of decomposition. More... | |
double | alpha |
Parameter of the associated mapping. More... | |
double | beta |
Parameter of the associated mapping. More... | |
Matrice * | ope_mat |
Pointer on the matrix representation of the operator. More... | |
Matrice * | ope_cl |
Pointer on the banded-matrix of the operator. More... | |
Matrice * | non_dege |
Pointer on the non-degenerated matrix of the operator. More... | |
double | s_one_plus |
Value of the first homogeneous solution at the outer boundary. More... | |
double | s_one_minus |
Value of the first homogeneous solution at the inner boundary. More... | |
double | ds_one_plus |
Value of the derivative of the first homogeneous solution at the outer boundary. More... | |
double | ds_one_minus |
Value of the derivative of the first homogeneous solution at the inner boundary. More... | |
double | s_two_plus |
Value of the second homogeneous solution at the outer boundary. More... | |
double | s_two_minus |
Value of the second homogeneous solution at the inner boundary. More... | |
double | ds_two_plus |
Value of the derivative of the second homogeneous solution at the outer boundary. More... | |
double | ds_two_minus |
Value of the derivative of the second homogeneous solution at the inner boundary. More... | |
double | sp_minus |
Value of the particular solution at the inner boundary. More... | |
double | sp_plus |
Value of the particular solution at the outer boundary. More... | |
double | dsp_minus |
Value of the derivative of the particular solution at the inner boundary. More... | |
double | dsp_plus |
Value of the derivative of the particular solution at the outer boundary. More... | |
Private Member Functions | |
virtual void | do_ope_mat () const |
Computes the matrix of the operator. More... | |
virtual void | do_ope_cl () const |
Computes the banded-matrix of the operator. More... | |
virtual void | do_non_dege () const |
Computes the non-degenerated matrix of the operator. More... | |
Class for the operator of the rr component of the divergence-free tensor Poisson equation.
The operator reads in all domains, for .
It is implemented in every type of domain.
Definition at line 679 of file ope_elementary.h.
Lorene::Ope_pois_tens_rr::Ope_pois_tens_rr | ( | int | nbr, |
int | baser, | ||
double | alf, | ||
double | bet, | ||
int | lq, | ||
int | dz | ||
) |
Standard constructor.
nbr | [input] number of radial points. |
baser | [input] radial basis of decomposition. |
alf | [input] parameter of the mapping. |
bet | [input] parameter of the mapping. |
lq | [input] quantum number l . |
dz | [input] dzpuis of the source. |
Definition at line 60 of file ope_pois_tens_rr.C.
References Lorene::Ope_poisson::dzpuis, and Lorene::Ope_poisson::l_quant.
Lorene::Ope_pois_tens_rr::Ope_pois_tens_rr | ( | const Ope_pois_tens_rr & | so | ) |
Constructor by copy.
Definition at line 68 of file ope_pois_tens_rr.C.
References Lorene::Ope_poisson::dzpuis, and Lorene::Ope_poisson::l_quant.
|
virtual |
Destructor.
Definition at line 75 of file ope_pois_tens_rr.C.
|
virtualinherited |
Decreases the quatum number l by one unit.
Definition at line 158 of file ope_poisson.C.
References Lorene::Ope_poisson::l_quant, Lorene::Ope_elementary::non_dege, Lorene::Ope_elementary::ope_cl, and Lorene::Ope_elementary::ope_mat.
|
inlineinherited |
Returns the value of the derivative of the first homogeneous solution at the inner boundary.
Definition at line 211 of file ope_elementary.h.
References Lorene::Ope_elementary::ds_one_minus.
|
inlineinherited |
Returns the value of the derivative of the first homogeneous solution at the outer boundary.
Definition at line 217 of file ope_elementary.h.
References Lorene::Ope_elementary::ds_one_plus.
|
inlineinherited |
Returns the value of the derivative of the second homogeneous solution at the inner boundary.
Definition at line 234 of file ope_elementary.h.
References Lorene::Ope_elementary::ds_two_minus.
|
inlineinherited |
Returns the value of the derivative of the second homogeneous solution at the outer boundary.
Definition at line 240 of file ope_elementary.h.
References Lorene::Ope_elementary::ds_two_plus.
|
inlineinherited |
Returns the value of the derivative particular solution at the inner boundary.
Definition at line 254 of file ope_elementary.h.
References Lorene::Ope_elementary::dsp_minus.
|
inlineinherited |
Returns the value of the derivative particular solution at the outer boundary.
Definition at line 259 of file ope_elementary.h.
References Lorene::Ope_elementary::dsp_plus.
|
privatevirtual |
Computes the non-degenerated matrix of the operator.
Reimplemented from Lorene::Ope_poisson.
Definition at line 97 of file ope_pois_tens_rr.C.
References Lorene::Ope_elementary::alpha, Lorene::Ope_elementary::base_r, Lorene::Ope_elementary::beta, do_ope_cl(), Lorene::Ope_poisson::dzpuis, Lorene::Ope_poisson::l_quant, Lorene::Ope_elementary::non_dege, and Lorene::Ope_elementary::ope_cl.
|
privatevirtual |
Computes the banded-matrix of the operator.
Reimplemented from Lorene::Ope_poisson.
Definition at line 86 of file ope_pois_tens_rr.C.
References Lorene::Ope_elementary::alpha, Lorene::Ope_elementary::base_r, Lorene::Ope_elementary::beta, do_ope_mat(), Lorene::Ope_poisson::dzpuis, Lorene::Ope_poisson::l_quant, Lorene::Ope_elementary::ope_cl, and Lorene::Ope_elementary::ope_mat.
|
privatevirtual |
Computes the matrix of the operator.
Reimplemented from Lorene::Ope_poisson.
Definition at line 78 of file ope_pois_tens_rr.C.
References Lorene::Ope_elementary::alpha, Lorene::Ope_elementary::base_r, Lorene::Ope_elementary::beta, Lorene::Ope_poisson::dzpuis, Lorene::Ope_poisson::l_quant, Lorene::Ope_elementary::nr, and Lorene::Ope_elementary::ope_mat.
|
inlineinherited |
Returns alpha
.
Definition at line 262 of file ope_elementary.h.
References Lorene::Ope_elementary::alpha.
|
inlineinherited |
Returns base_r}
.
Definition at line 268 of file ope_elementary.h.
References Lorene::Ope_elementary::base_r.
|
inlineinherited |
Returns beta}
.
Definition at line 265 of file ope_elementary.h.
References Lorene::Ope_elementary::beta.
|
inlineinherited |
Returns the associated dzpuis, if in the compactified domain.
Definition at line 347 of file ope_elementary.h.
References Lorene::Ope_poisson::dzpuis.
|
inlineinherited |
Returns the quantum number l.
Definition at line 350 of file ope_elementary.h.
References Lorene::Ope_poisson::l_quant.
|
inlineinherited |
Returns the non degenerate matrix representation.
Definition at line 285 of file ope_elementary.h.
References Lorene::Ope_elementary::do_non_dege(), and Lorene::Ope_elementary::non_dege.
|
inlineinherited |
Returns the banded matrix representation.
Definition at line 278 of file ope_elementary.h.
References Lorene::Ope_elementary::do_ope_cl(), and Lorene::Ope_elementary::ope_cl.
|
inlineinherited |
Returns the matrix representation.
Definition at line 271 of file ope_elementary.h.
References Lorene::Ope_elementary::do_ope_mat(), and Lorene::Ope_elementary::ope_mat.
|
virtual |
Computes the homogeneous solutions(s).
Reimplemented from Lorene::Ope_poisson.
Definition at line 108 of file ope_pois_tens_rr.C.
References Lorene::Ope_elementary::alpha, Lorene::Ope_elementary::base_r, Lorene::Ope_elementary::beta, Lorene::Ope_elementary::ds_one_minus, Lorene::Ope_elementary::ds_one_plus, Lorene::Ope_elementary::ds_two_minus, Lorene::Ope_elementary::ds_two_plus, Lorene::Tbl::get_ndim(), Lorene::Ope_poisson::l_quant, Lorene::Ope_elementary::nr, R_CHEBU, Lorene::Ope_elementary::s_one_minus, Lorene::Ope_elementary::s_one_plus, Lorene::Ope_elementary::s_two_minus, and Lorene::Ope_elementary::s_two_plus.
Computes the particular solution, given the source so
.
Implements Lorene::Ope_elementary.
Definition at line 97 of file ope_poisson.C.
References Lorene::Ope_elementary::alpha, Lorene::Ope_elementary::base_r, Lorene::Ope_elementary::beta, Lorene::Ope_poisson::do_non_dege(), Lorene::Ope_elementary::dsp_minus, Lorene::Ope_elementary::dsp_plus, Lorene::Ope_poisson::dzpuis, Lorene::Ope_elementary::non_dege, Lorene::Ope_elementary::ope_mat, Lorene::Ope_elementary::sp_minus, and Lorene::Ope_elementary::sp_plus.
|
virtualinherited |
Increases the quatum number l by one unit.
Implements Lorene::Ope_elementary.
Definition at line 139 of file ope_poisson.C.
References Lorene::Ope_poisson::l_quant, Lorene::Ope_elementary::non_dege, Lorene::Ope_elementary::ope_cl, and Lorene::Ope_elementary::ope_mat.
|
inlineinherited |
Returns the value of the first homogeneous solution at the inner boundary.
Definition at line 200 of file ope_elementary.h.
References Lorene::Ope_elementary::s_one_minus.
|
inlineinherited |
Returns the value of the first homogeneous solution at the outer boundary.
Definition at line 205 of file ope_elementary.h.
References Lorene::Ope_elementary::s_one_plus.
|
inlineinherited |
Returns the value of the second homogeneous solution at the inner boundary.
Definition at line 223 of file ope_elementary.h.
References Lorene::Ope_elementary::s_two_minus.
|
inlineinherited |
Returns the value of the second homogeneous solution at the outer boundary.
Definition at line 228 of file ope_elementary.h.
References Lorene::Ope_elementary::s_two_plus.
|
inlineinherited |
Returns the value of the particular solution at the inner boundary.
Definition at line 245 of file ope_elementary.h.
References Lorene::Ope_elementary::sp_minus.
|
inlineinherited |
Returns the value of the particular solution at the outer boundary.
Definition at line 249 of file ope_elementary.h.
References Lorene::Ope_elementary::sp_plus.
|
protectedinherited |
Parameter of the associated mapping.
Definition at line 108 of file ope_elementary.h.
|
protectedinherited |
Radial basis of decomposition.
Definition at line 107 of file ope_elementary.h.
|
protectedinherited |
Parameter of the associated mapping.
Definition at line 109 of file ope_elementary.h.
|
mutableprotectedinherited |
Value of the derivative of the first homogeneous solution at the inner boundary.
Definition at line 141 of file ope_elementary.h.
|
mutableprotectedinherited |
Value of the derivative of the first homogeneous solution at the outer boundary.
Definition at line 136 of file ope_elementary.h.
|
mutableprotectedinherited |
Value of the derivative of the second homogeneous solution at the inner boundary.
Definition at line 160 of file ope_elementary.h.
|
mutableprotectedinherited |
Value of the derivative of the second homogeneous solution at the outer boundary.
Definition at line 155 of file ope_elementary.h.
|
mutableprotectedinherited |
Value of the derivative of the particular solution at the inner boundary.
Definition at line 173 of file ope_elementary.h.
|
mutableprotectedinherited |
Value of the derivative of the particular solution at the outer boundary.
Definition at line 177 of file ope_elementary.h.
|
protectedinherited |
the associated dzpuis, if in the compactified domain.
Definition at line 329 of file ope_elementary.h.
|
protectedinherited |
quantum number
Definition at line 328 of file ope_elementary.h.
|
mutableprotectedinherited |
Pointer on the non-degenerated matrix of the operator.
Definition at line 122 of file ope_elementary.h.
|
protectedinherited |
Number of radial points.
Definition at line 106 of file ope_elementary.h.
|
mutableprotectedinherited |
Pointer on the banded-matrix of the operator.
Definition at line 118 of file ope_elementary.h.
|
mutableprotectedinherited |
Pointer on the matrix representation of the operator.
Definition at line 114 of file ope_elementary.h.
|
mutableprotectedinherited |
Value of the first homogeneous solution at the inner boundary.
Definition at line 131 of file ope_elementary.h.
|
mutableprotectedinherited |
Value of the first homogeneous solution at the outer boundary.
Definition at line 127 of file ope_elementary.h.
|
mutableprotectedinherited |
Value of the second homogeneous solution at the inner boundary.
Definition at line 150 of file ope_elementary.h.
|
mutableprotectedinherited |
Value of the second homogeneous solution at the outer boundary.
Definition at line 146 of file ope_elementary.h.
|
mutableprotectedinherited |
Value of the particular solution at the inner boundary.
Definition at line 165 of file ope_elementary.h.
|
mutableprotectedinherited |
Value of the particular solution at the outer boundary.
Definition at line 169 of file ope_elementary.h.