128#include "param_elliptic.h"
146 mp->poisson(csource, bidon, cresu) ;
160 mp->poisson(csource, par, cuu) ;
179 mp->poisson_tau(csource, bidon, cresu) ;
192 mp->poisson_tau(csource, par, cuu) ;
210 mp->poisson_angu(*
this, bidon, resu, lambda) ;
221 const Scalar& source)
const {
225 mp->dalembert(par, fjp1, *
this, fjm1, source) ;
243 if ((map_affine == 0x0) && (map_log == 0x0)) {
244 cout <<
"sol_elliptic only defined for affine or log mapping" << endl ;
251 if (map_affine != 0x0)
260double fact_dir,
double fact_neu)
const {
266 if ((map_affine == 0x0) && (map_log == 0x0)) {
267 cout <<
"sol_elliptic only defined for affine or log mapping" << endl ;
274 if (map_affine != 0x0)
276fact_dir, fact_neu ) ;
279fact_dir, fact_neu ) ;
286double fact_dir,
double fact_neu)
const {
292 if ((map_affine == 0x0) && (map_log == 0x0)) {
293 cout <<
"sol_elliptic only defined for affine or log mapping" << endl ;
300 if (map_affine != 0x0)
302fact_dir, fact_neu ) ;
305fact_dir, fact_neu ) ;
323 if ((map_affine == 0x0) && (map_log == 0x0)) {
324 cout <<
"sol_elliptic_no_zec only defined for affine or log mapping" << endl ;
331 if (map_affine != 0x0)
349 if (map_affine == 0x0) {
350 cout <<
"sol_elliptic_no_zec only defined for affine or log mapping" << endl ;
372 if (map_affine == 0x0) {
373 cout <<
"sol_elliptic_sin_zec only defined for affine mapping" << endl ;
395 if (map_affine == 0x0) {
396 cout <<
"sol_elliptic_no_zec only defined for affine mapping" << endl ;
417 if (map_affine == 0x0) {
418 cout <<
"Poisson 2D only defined for affine mapping" << endl ;
438 if (map_affine == 0x0) {
439 cout <<
"Pseudo_1d only defined for affine mapping" << endl ;
Component of a tensorial field *** DEPRECATED : use class Scalar instead ***.
void sol_elliptic_boundary(Param_elliptic ¶ms, const Scalar &so, Scalar &uu, const Mtbl_cf &bound, double fact_dir, double fact_neu) const
General elliptic solver including inner boundary conditions.
void sol_elliptic(Param_elliptic ¶ms, const Scalar &so, Scalar &uu) const
General elliptic solver.
void sol_elliptic_sin_zec(Param_elliptic ¶ms, const Scalar &so, Scalar &uu, double *coefs, double *) const
General elliptic solver.
void sol_elliptic_fixe_der_zero(double val, Param_elliptic ¶ms, const Scalar &so, Scalar &uu) const
General elliptic solver fixing the derivative at the origin and relaxing the continuity of the first ...
void sol_elliptic_2d(Param_elliptic &, const Scalar &, Scalar &) const
General elliptic solver in a 2D case.
void sol_elliptic_pseudo_1d(Param_elliptic &, const Scalar &, Scalar &) const
General elliptic solver in a pseudo 1d case.
void sol_elliptic_only_zec(Param_elliptic ¶ms, const Scalar &so, Scalar &uu, double val) const
General elliptic solver.
void sol_elliptic_no_zec(Param_elliptic ¶ms, const Scalar &so, Scalar &uu, double val) const
General elliptic solver.
Logarithmic radial mapping.
void sol_elliptic_boundary(Param_elliptic ¶ms, const Scalar &so, Scalar &uu, const Mtbl_cf &bound, double fact_dir, double fact_neu) const
General elliptic solver including inner boundary conditions.
void sol_elliptic(Param_elliptic ¶ms, const Scalar &so, Scalar &uu) const
General elliptic solver.
void sol_elliptic_no_zec(Param_elliptic ¶ms, const Scalar &so, Scalar &uu, double) const
General elliptic solver.
Coefficients storage for the multi-domain spectral method.
This class contains the parameters needed to call the general elliptic solver.
Scalar sol_elliptic_pseudo_1d(Param_elliptic &) const
Solves a pseudo-1d elliptic equation with *this as a source.
Scalar poisson() const
Solves the scalar Poisson equation with *this as a source.
virtual void set_etat_qcq()
Sets the logical state to ETATQCQ (ordinary state).
Scalar poisson_angu(double lambda=0) const
Solves the (generalized) angular Poisson equation with *this as source.
Scalar avance_dalembert(Param &par, const Scalar &fJm1, const Scalar &source) const
Performs one time-step integration (from ) of the scalar d'Alembert equation with *this being the val...
Scalar(const Map &mpi)
Constructor from mapping.
Scalar sol_elliptic_boundary(Param_elliptic ¶ms, const Mtbl_cf &bound, double fact_dir, double fact_neu) const
Resolution of a general elliptic equation, putting zero at infinity and with inner boundary condition...
Scalar sol_elliptic(Param_elliptic ¶ms) const
Resolution of a general elliptic equation, putting zero at infinity.
Scalar sol_elliptic_only_zec(Param_elliptic ¶ms, double val) const
Resolution of a general elliptic equation solving in the compactified domain and putting a given valu...
Scalar sol_elliptic_no_zec(Param_elliptic ¶ms, double val=0) const
Resolution of a general elliptic equation, putting a given value at the outermost shell and not solvi...
Scalar sol_elliptic_2d(Param_elliptic &) const
Solves the scalar 2-dimensional elliptic equation with *this as a source.
Scalar sol_elliptic_fixe_der_zero(double val, Param_elliptic ¶ms) const
Resolution of a general elliptic equation fixing the dericative at the origin and relaxing one contin...
Scalar poisson_tau() const
Solves the scalar Poisson equation with *this as a source using a real Tau method The source of the ...
Scalar sol_elliptic_sin_zec(Param_elliptic ¶ms, double *coefs, double *phases) const
General elliptic solver.
const Map *const mp
Mapping on which the numerical values at the grid points are defined.