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. | |
Ope_pois_tens_rr (const Ope_pois_tens_rr &) | |
Constructor by copy. | |
virtual | ~Ope_pois_tens_rr () |
Destructor. | |
virtual Tbl | get_solh () const |
Computes the homogeneous solutions(s). | |
int | get_dzpuis () |
Returns the associated dzpuis, if in the compactified domain. | |
int | get_lquant () |
Returns the quantum number l. | |
virtual Tbl | get_solp (const Tbl &so) const |
Computes the particular solution, given the source so . | |
virtual void | inc_l_quant () |
Increases the quatum number l by one unit. | |
virtual void | dec_l_quant () |
Decreases the quatum number l by one unit. | |
double | val_sh_one_minus () const |
Returns the value of the first homogeneous solution at the inner boundary. | |
double | val_sh_one_plus () const |
Returns the value of the first homogeneous solution at the outer boundary. | |
double | der_sh_one_minus () const |
Returns the value of the derivative of the first homogeneous solution at the inner boundary. | |
double | der_sh_one_plus () const |
Returns the value of the derivative of the first homogeneous solution at the outer boundary. | |
double | val_sh_two_minus () const |
Returns the value of the second homogeneous solution at the inner boundary. | |
double | val_sh_two_plus () const |
Returns the value of the second homogeneous solution at the outer boundary. | |
double | der_sh_two_minus () const |
Returns the value of the derivative of the second homogeneous solution at the inner boundary. | |
double | der_sh_two_plus () const |
Returns the value of the derivative of the second homogeneous solution at the outer boundary. | |
double | val_sp_minus () const |
Returns the value of the particular solution at the inner boundary. | |
double | val_sp_plus () const |
Returns the value of the particular solution at the outer boundary. | |
double | der_sp_minus () const |
Returns the value of the derivative particular solution at the inner boundary. | |
double | der_sp_plus () const |
Returns the value of the derivative particular solution at the outer boundary. | |
double | get_alpha () const |
Returns alpha . | |
double | get_beta () const |
Returns beta} . | |
int | get_base_r () const |
Returns base_r} . | |
Matrice | get_ope_mat () |
Returns the matrix representation. | |
Matrice | get_ope_cl () |
Returns the banded matrix representation. | |
Matrice | get_non_dege () |
Returns the non degenerate matrix representation. | |
Protected Attributes | |
int | l_quant |
quantum number | |
int | dzpuis |
the associated dzpuis, if in the compactified domain. | |
int | nr |
Number of radial points. | |
int | base_r |
Radial basis of decomposition. | |
double | alpha |
Parameter ![]() | |
double | beta |
Parameter ![]() | |
Matrice * | ope_mat |
Pointer on the matrix representation of the operator. | |
Matrice * | ope_cl |
Pointer on the banded-matrix of the operator. | |
Matrice * | non_dege |
Pointer on the non-degenerated matrix of the operator. | |
double | s_one_plus |
Value of the first homogeneous solution at the outer boundary. | |
double | s_one_minus |
Value of the first homogeneous solution at the inner boundary. | |
double | ds_one_plus |
Value of the derivative of the first homogeneous solution at the outer boundary. | |
double | ds_one_minus |
Value of the derivative of the first homogeneous solution at the inner boundary. | |
double | s_two_plus |
Value of the second homogeneous solution at the outer boundary. | |
double | s_two_minus |
Value of the second homogeneous solution at the inner boundary. | |
double | ds_two_plus |
Value of the derivative of the second homogeneous solution at the outer boundary. | |
double | ds_two_minus |
Value of the derivative of the second homogeneous solution at the inner boundary. | |
double | sp_minus |
Value of the particular solution at the inner boundary. | |
double | sp_plus |
Value of the particular solution at the outer boundary. | |
double | dsp_minus |
Value of the derivative of the particular solution at the inner boundary. | |
double | dsp_plus |
Value of the derivative of the particular solution at the outer boundary. | |
Private Member Functions | |
virtual void | do_ope_mat () const |
Computes the matrix of the operator. | |
virtual void | do_ope_cl () const |
Computes the banded-matrix of the operator. | |
virtual void | do_non_dege () const |
Computes the non-degenerated matrix of the operator. |
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 675 of file ope_elementary.h.
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 ![]() | |
bet | [input] parameter ![]() | |
lq | [input] quantum number l . | |
dz | [input] dzpuis of the source. |
Definition at line 53 of file ope_pois_tens_rr.C.
References Ope_poisson::dzpuis, and Ope_poisson::l_quant.
Ope_pois_tens_rr::Ope_pois_tens_rr | ( | const Ope_pois_tens_rr & | so | ) |
Constructor by copy.
Definition at line 61 of file ope_pois_tens_rr.C.
References Ope_poisson::dzpuis, and Ope_poisson::l_quant.
Ope_pois_tens_rr::~Ope_pois_tens_rr | ( | ) | [virtual] |
Destructor.
Definition at line 68 of file ope_pois_tens_rr.C.
void Ope_poisson::dec_l_quant | ( | ) | [virtual, inherited] |
Decreases the quatum number l by one unit.
Definition at line 151 of file ope_poisson.C.
References Ope_poisson::l_quant, Ope_elementary::non_dege, Ope_elementary::ope_cl, and Ope_elementary::ope_mat.
double Ope_elementary::der_sh_one_minus | ( | ) | const [inline, inherited] |
Returns the value of the derivative of the first homogeneous solution at the inner boundary.
Definition at line 207 of file ope_elementary.h.
References Ope_elementary::ds_one_minus.
double Ope_elementary::der_sh_one_plus | ( | ) | const [inline, inherited] |
Returns the value of the derivative of the first homogeneous solution at the outer boundary.
Definition at line 213 of file ope_elementary.h.
References Ope_elementary::ds_one_plus.
double Ope_elementary::der_sh_two_minus | ( | ) | const [inline, inherited] |
Returns the value of the derivative of the second homogeneous solution at the inner boundary.
Definition at line 230 of file ope_elementary.h.
References Ope_elementary::ds_two_minus.
double Ope_elementary::der_sh_two_plus | ( | ) | const [inline, inherited] |
Returns the value of the derivative of the second homogeneous solution at the outer boundary.
Definition at line 236 of file ope_elementary.h.
References Ope_elementary::ds_two_plus.
double Ope_elementary::der_sp_minus | ( | ) | const [inline, inherited] |
Returns the value of the derivative particular solution at the inner boundary.
Definition at line 250 of file ope_elementary.h.
References Ope_elementary::dsp_minus.
double Ope_elementary::der_sp_plus | ( | ) | const [inline, inherited] |
Returns the value of the derivative particular solution at the outer boundary.
Definition at line 255 of file ope_elementary.h.
References Ope_elementary::dsp_plus.
void Ope_pois_tens_rr::do_non_dege | ( | ) | const [private, virtual] |
Computes the non-degenerated matrix of the operator.
Reimplemented from Ope_poisson.
Definition at line 90 of file ope_pois_tens_rr.C.
References Ope_elementary::alpha, Ope_elementary::base_r, Ope_elementary::beta, do_ope_cl(), Ope_poisson::dzpuis, Ope_poisson::l_quant, Ope_elementary::non_dege, and Ope_elementary::ope_cl.
void Ope_pois_tens_rr::do_ope_cl | ( | ) | const [private, virtual] |
Computes the banded-matrix of the operator.
Reimplemented from Ope_poisson.
Definition at line 79 of file ope_pois_tens_rr.C.
References Ope_elementary::alpha, Ope_elementary::base_r, Ope_elementary::beta, do_ope_mat(), Ope_poisson::dzpuis, Ope_poisson::l_quant, Ope_elementary::ope_cl, and Ope_elementary::ope_mat.
void Ope_pois_tens_rr::do_ope_mat | ( | ) | const [private, virtual] |
Computes the matrix of the operator.
Reimplemented from Ope_poisson.
Definition at line 71 of file ope_pois_tens_rr.C.
References Ope_elementary::alpha, Ope_elementary::base_r, Ope_elementary::beta, Ope_poisson::dzpuis, Ope_poisson::l_quant, Ope_elementary::nr, and Ope_elementary::ope_mat.
double Ope_elementary::get_alpha | ( | ) | const [inline, inherited] |
int Ope_elementary::get_base_r | ( | ) | const [inline, inherited] |
Returns base_r}
.
Definition at line 264 of file ope_elementary.h.
References Ope_elementary::base_r.
double Ope_elementary::get_beta | ( | ) | const [inline, inherited] |
int Ope_poisson::get_dzpuis | ( | ) | [inline, inherited] |
Returns the associated dzpuis, if in the compactified domain.
Definition at line 343 of file ope_elementary.h.
References Ope_poisson::dzpuis.
int Ope_poisson::get_lquant | ( | ) | [inline, inherited] |
Returns the quantum number l.
Definition at line 346 of file ope_elementary.h.
References Ope_poisson::l_quant.
Matrice Ope_elementary::get_non_dege | ( | ) | [inline, inherited] |
Returns the non degenerate matrix representation.
Definition at line 281 of file ope_elementary.h.
References Ope_elementary::do_non_dege(), and Ope_elementary::non_dege.
Matrice Ope_elementary::get_ope_cl | ( | ) | [inline, inherited] |
Returns the banded matrix representation.
Definition at line 274 of file ope_elementary.h.
References Ope_elementary::do_ope_cl(), and Ope_elementary::ope_cl.
Matrice Ope_elementary::get_ope_mat | ( | ) | [inline, inherited] |
Returns the matrix representation.
Definition at line 267 of file ope_elementary.h.
References Ope_elementary::do_ope_mat(), and Ope_elementary::ope_mat.
Tbl Ope_pois_tens_rr::get_solh | ( | ) | const [virtual] |
Computes the homogeneous solutions(s).
Reimplemented from Ope_poisson.
Definition at line 101 of file ope_pois_tens_rr.C.
References Ope_elementary::alpha, Ope_elementary::base_r, Ope_elementary::beta, Ope_elementary::ds_one_minus, Ope_elementary::ds_one_plus, Ope_elementary::ds_two_minus, Ope_elementary::ds_two_plus, Tbl::get_ndim(), Ope_poisson::l_quant, Ope_elementary::nr, R_CHEBU, Ope_elementary::s_one_minus, Ope_elementary::s_one_plus, Ope_elementary::s_two_minus, and Ope_elementary::s_two_plus.
Computes the particular solution, given the source so
.
Implements Ope_elementary.
Definition at line 90 of file ope_poisson.C.
References Ope_elementary::alpha, Ope_elementary::base_r, Ope_elementary::beta, Ope_poisson::do_non_dege(), Ope_elementary::dsp_minus, Ope_elementary::dsp_plus, Ope_poisson::dzpuis, Ope_elementary::non_dege, Ope_elementary::ope_mat, Ope_elementary::sp_minus, and Ope_elementary::sp_plus.
void Ope_poisson::inc_l_quant | ( | ) | [virtual, inherited] |
Increases the quatum number l by one unit.
Implements Ope_elementary.
Definition at line 132 of file ope_poisson.C.
References Ope_poisson::l_quant, Ope_elementary::non_dege, Ope_elementary::ope_cl, and Ope_elementary::ope_mat.
double Ope_elementary::val_sh_one_minus | ( | ) | const [inline, inherited] |
Returns the value of the first homogeneous solution at the inner boundary.
Definition at line 196 of file ope_elementary.h.
References Ope_elementary::s_one_minus.
double Ope_elementary::val_sh_one_plus | ( | ) | const [inline, inherited] |
Returns the value of the first homogeneous solution at the outer boundary.
Definition at line 201 of file ope_elementary.h.
References Ope_elementary::s_one_plus.
double Ope_elementary::val_sh_two_minus | ( | ) | const [inline, inherited] |
Returns the value of the second homogeneous solution at the inner boundary.
Definition at line 219 of file ope_elementary.h.
References Ope_elementary::s_two_minus.
double Ope_elementary::val_sh_two_plus | ( | ) | const [inline, inherited] |
Returns the value of the second homogeneous solution at the outer boundary.
Definition at line 224 of file ope_elementary.h.
References Ope_elementary::s_two_plus.
double Ope_elementary::val_sp_minus | ( | ) | const [inline, inherited] |
Returns the value of the particular solution at the inner boundary.
Definition at line 241 of file ope_elementary.h.
References Ope_elementary::sp_minus.
double Ope_elementary::val_sp_plus | ( | ) | const [inline, inherited] |
Returns the value of the particular solution at the outer boundary.
Definition at line 245 of file ope_elementary.h.
References Ope_elementary::sp_plus.
double Ope_elementary::alpha [protected, inherited] |
Parameter of the associated mapping.
Definition at line 104 of file ope_elementary.h.
int Ope_elementary::base_r [protected, inherited] |
Radial basis of decomposition.
Definition at line 103 of file ope_elementary.h.
double Ope_elementary::beta [protected, inherited] |
Parameter of the associated mapping.
Definition at line 105 of file ope_elementary.h.
double Ope_elementary::ds_one_minus [mutable, protected, inherited] |
Value of the derivative of the first homogeneous solution at the inner boundary.
Definition at line 137 of file ope_elementary.h.
double Ope_elementary::ds_one_plus [mutable, protected, inherited] |
Value of the derivative of the first homogeneous solution at the outer boundary.
Definition at line 132 of file ope_elementary.h.
double Ope_elementary::ds_two_minus [mutable, protected, inherited] |
Value of the derivative of the second homogeneous solution at the inner boundary.
Definition at line 156 of file ope_elementary.h.
double Ope_elementary::ds_two_plus [mutable, protected, inherited] |
Value of the derivative of the second homogeneous solution at the outer boundary.
Definition at line 151 of file ope_elementary.h.
double Ope_elementary::dsp_minus [mutable, protected, inherited] |
Value of the derivative of the particular solution at the inner boundary.
Definition at line 169 of file ope_elementary.h.
double Ope_elementary::dsp_plus [mutable, protected, inherited] |
Value of the derivative of the particular solution at the outer boundary.
Definition at line 173 of file ope_elementary.h.
int Ope_poisson::dzpuis [protected, inherited] |
the associated dzpuis, if in the compactified domain.
Definition at line 325 of file ope_elementary.h.
int Ope_poisson::l_quant [protected, inherited] |
quantum number
Definition at line 324 of file ope_elementary.h.
Matrice* Ope_elementary::non_dege [mutable, protected, inherited] |
Pointer on the non-degenerated matrix of the operator.
Definition at line 118 of file ope_elementary.h.
int Ope_elementary::nr [protected, inherited] |
Number of radial points.
Definition at line 102 of file ope_elementary.h.
Matrice* Ope_elementary::ope_cl [mutable, protected, inherited] |
Pointer on the banded-matrix of the operator.
Definition at line 114 of file ope_elementary.h.
Matrice* Ope_elementary::ope_mat [mutable, protected, inherited] |
Pointer on the matrix representation of the operator.
Definition at line 110 of file ope_elementary.h.
double Ope_elementary::s_one_minus [mutable, protected, inherited] |
Value of the first homogeneous solution at the inner boundary.
Definition at line 127 of file ope_elementary.h.
double Ope_elementary::s_one_plus [mutable, protected, inherited] |
Value of the first homogeneous solution at the outer boundary.
Definition at line 123 of file ope_elementary.h.
double Ope_elementary::s_two_minus [mutable, protected, inherited] |
Value of the second homogeneous solution at the inner boundary.
Definition at line 146 of file ope_elementary.h.
double Ope_elementary::s_two_plus [mutable, protected, inherited] |
Value of the second homogeneous solution at the outer boundary.
Definition at line 142 of file ope_elementary.h.
double Ope_elementary::sp_minus [mutable, protected, inherited] |
Value of the particular solution at the inner boundary.
Definition at line 161 of file ope_elementary.h.
double Ope_elementary::sp_plus [mutable, protected, inherited] |
Value of the particular solution at the outer boundary.
Definition at line 165 of file ope_elementary.h.