34 char scalar_pde_C[] =
"$Header: /cvsroot/Lorene/C++/Source/Tensor/Scalar/scalar_pde.C,v 1.20 2014/10/13 08:53:46 j_novak Exp $" ;
125 #include "param_elliptic.h"
218 const Scalar& source)
const {
240 if ((map_affine == 0x0) && (map_log == 0x0)) {
241 cout <<
"sol_elliptic only defined for affine or log mapping" << endl ;
248 if (map_affine != 0x0)
257 double fact_dir,
double fact_neu)
const {
263 if ((map_affine == 0x0) && (map_log == 0x0)) {
264 cout <<
"sol_elliptic only defined for affine or log mapping" << endl ;
271 if (map_affine != 0x0)
273 fact_dir, fact_neu ) ;
276 fact_dir, fact_neu ) ;
283 double fact_dir,
double fact_neu)
const {
289 if ((map_affine == 0x0) && (map_log == 0x0)) {
290 cout <<
"sol_elliptic only defined for affine or log mapping" << endl ;
297 if (map_affine != 0x0)
299 fact_dir, fact_neu ) ;
302 fact_dir, fact_neu ) ;
320 if ((map_affine == 0x0) && (map_log == 0x0)) {
321 cout <<
"sol_elliptic_no_zec only defined for affine or log mapping" << endl ;
328 if (map_affine != 0x0)
346 if (map_affine == 0x0) {
347 cout <<
"sol_elliptic_no_zec only defined for affine or log mapping" << endl ;
369 if (map_affine == 0x0) {
370 cout <<
"sol_elliptic_sin_zec only defined for affine mapping" << endl ;
392 if (map_affine == 0x0) {
393 cout <<
"sol_elliptic_no_zec only defined for affine mapping" << endl ;
414 if (map_affine == 0x0) {
415 cout <<
"Poisson 2D only defined for affine mapping" << endl ;
435 if (map_affine == 0x0) {
436 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.
virtual void poisson_angu(const Scalar &source, Param &par, Scalar &uu, double lambda=0) const =0
Computes the solution of the generalized angular Poisson equation.
virtual void poisson_tau(const Cmp &source, Param &par, Cmp &uu) const =0
Computes the solution of a scalar Poisson equationwith a Tau method.
virtual void poisson(const Cmp &source, Param &par, Cmp &uu) const =0
Computes the solution of a scalar Poisson equation.
virtual void dalembert(Param &par, Scalar &fJp1, const Scalar &fJ, const Scalar &fJm1, const Scalar &source) const =0
Performs one time-step integration of the d'Alembert scalar equation.
Coefficients storage for the multi-domain spectral method.
This class contains the parameters needed to call the general elliptic solver.
Tensor field of valence 0 (or component of a tensorial field).
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 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.