LORENE
map_star.h
1 
2 #ifndef __MAP_STAR_H_
3 #define __MAP_STAR_H_
4 
5 namespace Lorene {
6 
7  //------------------------------------//
8  // class Map_star //
9  //------------------------------------//
10 
11 /*
12  * Affine and starlike radial mapping to describe 3D star. \ingroup(map)
13  *
14  * The affine radial mapping is the simplest one between the grid coordinates
15  * \f$(\xi, \theta', \phi')\f$ and the physical coordinates \f$(r, \theta, \phi)\f$.
16  * It comprises a single domain (nucleus, shells to be added in the future)
17  * It is defined by \f$\theta=\theta'\f$, \f$\phi=\phi'\f$ and
18  * \li \f$r=\alpha \xi + \beta\f$, in non-compactified domains,
19  * where \f$\alpha\f$ and \f$\beta\f$ depend upon the angular direction.
20  *
21  *
22  */
23 class Map_star : public Map_radial{
24 
25 
26  // Data :
27  // ----
28  private:
31  Valeur beta ;
32 
33 
34  // Constructors, destructor :
35  // ------------------------
36  public:
46  Map_star(const Mg3d& mgrille, const double* r_limits) ;
56  Map_star(const Mg3d& mgrille, const Tbl& r_limits) ;
57 
58  Map_star(const Map_star& ) ;
59  Map_star(const Mg3d&, const string&) ;
60  Map_star(const Mg3d&, FILE* ) ;
61 
62 
63  virtual ~Map_star() ;
64 
68  virtual const Map_af& mp_angu(int) const ;
69 
70  // Assignment
71  // ----------
72  public:
74  virtual void operator=(const Map_af& ) ;
76  virtual void operator=(const Map_star& ) ;
77 
78  // Memory management
79  // -----------------
80  private:
82  void set_coord() ;
83  //protected:
84  //virtual void reset_coord() ; ///< Resets all the member \c Coords
85 
86  // Extraction of information
87  // -------------------------
88  public:
90  const Valeur& get_alpha() const ;
91  const Valeur& get_beta() const ;
92 
93 
95  void set_alpha(const Tbl& alpha0, int l) ;
96  void set_beta(const Tbl& beta0, int l) ;
97 
98  void set_alpha(const Valeur& alpha0) ;
99  void set_beta(const Valeur& beta0) ;
100 
110  virtual double val_r(int l, double xi, double theta, double pphi) const ;
111 
121  virtual void val_lx(double rr, double theta, double pphi,
122  int& l, double& xi) const ;
123 
133  virtual void val_lx(double rr, double theta, double pphi,
134  const Param& par, int& l, double& xi) const ;
135 
145  virtual double val_r_jk(int l, double xi, int j, int k) const ;
146 
156  virtual void val_lx_jk(double rr, int j, int k, const Param& par,
157  int& l, double& xi) const ;
158 
160  virtual bool operator==(const Map& ) const ;
161 
168  virtual void dsdr (const Scalar& ci, Scalar& resu) const ;
169 
177  virtual void srstdsdp (const Scalar&, Scalar&) const ;
178 
186  virtual void srdsdt (const Scalar&, Scalar&) const ;
187 
192  virtual void dsdt (const Scalar&, Scalar&) const ;
193 
194 
199  virtual void stdsdp (const Scalar&, Scalar&) const ;
200 
206  Scalar interpolate_from_map_af(const Scalar& f_a) const ;
207 
208  // Outputs
209  // -------
210  public:
211  virtual void sauve(FILE* ) const ;
212 
213  private:
214  virtual ostream& operator>>(ostream &) const ;
215 
216  virtual void homothetie (double) ;
217  virtual void resize (int, double) ;
218  virtual void adapt (const Cmp&, const Param&, int) ;
219  virtual void dsdr (const Cmp&, Cmp&) const ;
220  virtual void dsdxi (const Cmp&, Cmp&) const ;
221  virtual void dsdxi (const Scalar&, Scalar&) const ;
222  virtual void dsdradial (const Scalar& uu, Scalar& resu) const ;
223  virtual void srdsdt (const Cmp&, Cmp&) const ;
224  virtual void srstdsdp (const Cmp&, Cmp&) const ;
225  virtual void laplacien (const Scalar&, int, Scalar&) const ;
226  virtual void laplacien (const Cmp&, int, Cmp&) const ;
227  virtual void lapang (const Scalar&, Scalar&) const ;
228  virtual void primr(const Scalar&, Scalar&, bool) const ;
229  virtual Tbl* integrale (const Cmp&) const ;
230  virtual void poisson (const Cmp&, Param&, Cmp&) const ;
231  virtual void poisson_tau (const Cmp&, Param&, Cmp&) const ;
232  virtual void poisson_falloff(const Cmp&, Param&, Cmp&, int) const ;
233  virtual void poisson_ylm(const Cmp&, Param&, Cmp&, int, double*) const ;
234  virtual void poisson_regular (const Cmp&, int, int, double, Param&, Cmp&, Cmp&, Cmp&,
235  Tenseur&, Cmp&, Cmp&) const ;
236  virtual void poisson_angu (const Scalar&, Param&, Scalar&, double=0) const ;
237  virtual void poisson_angu (const Cmp&, Param&, Cmp&, double=0) const ;
238  virtual Param* donne_para_poisson_vect (Param&, int) const ;
239  virtual void poisson_frontiere (const Cmp&, const Valeur&, int, int, Cmp&, double = 0., double = 0.) const ;
240  virtual void poisson_frontiere_double (const Cmp&, const Valeur&, const Valeur&, int, Cmp&) const ;
241  virtual void poisson_interne (const Cmp&, const Valeur&, Param&, Cmp&) const ;
242  virtual void poisson2d (const Cmp&, const Cmp&, Param&, Cmp&) const ;
243  virtual void dalembert (Param&, Scalar&, const Scalar&, const Scalar&, const Scalar&) const ;
244  // Building functions for the Coord's
245  // ----------------------------------
246  friend Mtbl* map_star_fait_r(const Map* ) ;
247  friend Mtbl* map_star_fait_tet(const Map* ) ;
248  friend Mtbl* map_star_fait_phi(const Map* ) ;
249  friend Mtbl* map_star_fait_sint(const Map* ) ;
250  friend Mtbl* map_star_fait_cost(const Map* ) ;
251  friend Mtbl* map_star_fait_sinp(const Map* ) ;
252  friend Mtbl* map_star_fait_cosp(const Map* ) ;
253 
254  friend Mtbl* map_star_fait_x(const Map* ) ;
255  friend Mtbl* map_star_fait_y(const Map* ) ;
256  friend Mtbl* map_star_fait_z(const Map* ) ;
257 
258  friend Mtbl* map_star_fait_xa(const Map* ) ;
259  friend Mtbl* map_star_fait_ya(const Map* ) ;
260  friend Mtbl* map_star_fait_za(const Map* ) ;
261 
262  friend Mtbl* map_star_fait_xsr(const Map* ) ;
263  friend Mtbl* map_star_fait_dxdr(const Map* ) ;
264  friend Mtbl* map_star_fait_drdt(const Map* ) ;
265  friend Mtbl* map_star_fait_stdrdp(const Map* ) ;
266  friend Mtbl* map_star_fait_srdrdt(const Map* ) ;
267  friend Mtbl* map_star_fait_srstdrdp(const Map* ) ;
268  friend Mtbl* map_star_fait_sr2drdt(const Map* ) ;
269  friend Mtbl* map_star_fait_sr2stdrdp(const Map* ) ;
270  friend Mtbl* map_star_fait_d2rdx2(const Map* ) ;
271  friend Mtbl* map_star_fait_lapr_tp(const Map* ) ;
272  friend Mtbl* map_star_fait_d2rdtdx(const Map* ) ;
273  friend Mtbl* map_star_fait_sstd2rdpdx(const Map* ) ;
274  friend Mtbl* map_star_fait_sr2d2rdt2(const Map* ) ;
275 };
276  Mtbl* map_star_fait_r(const Map* ) ;
277  Mtbl* map_star_fait_tet(const Map* ) ;
278  Mtbl* map_star_fait_phi(const Map* ) ;
279  Mtbl* map_star_fait_sint(const Map* ) ;
280  Mtbl* map_star_fait_cost(const Map* ) ;
281  Mtbl* map_star_fait_sinp(const Map* ) ;
282  Mtbl* map_star_fait_cosp(const Map* ) ;
283 
284  Mtbl* map_star_fait_x(const Map* ) ;
285  Mtbl* map_star_fait_y(const Map* ) ;
286  Mtbl* map_star_fait_z(const Map* ) ;
287 
288  Mtbl* map_star_fait_xa(const Map* ) ;
289  Mtbl* map_star_fait_ya(const Map* ) ;
290  Mtbl* map_star_fait_za(const Map* ) ;
291 
292  Mtbl* map_star_fait_xsr(const Map* ) ;
293  Mtbl* map_star_fait_dxdr(const Map* ) ;
294  Mtbl* map_star_fait_drdt(const Map* ) ;
295  Mtbl* map_star_fait_stdrdp(const Map* ) ;
296  Mtbl* map_star_fait_srdrdt(const Map* ) ;
297  Mtbl* map_star_fait_srstdrdp(const Map* ) ;
298  Mtbl* map_star_fait_sr2drdt(const Map* ) ;
299  Mtbl* map_star_fait_sr2stdrdp(const Map* ) ;
300  Mtbl* map_star_fait_d2rdx2(const Map* ) ;
301  Mtbl* map_star_fait_lapr_tp(const Map* ) ;
302  Mtbl* map_star_fait_d2rdtdx(const Map* ) ;
303  Mtbl* map_star_fait_sstd2rdpdx(const Map* ) ;
304  Mtbl* map_star_fait_sr2d2rdt2(const Map* ) ;
305 
306 
307  //------------------------------------//
308  // class Map_eps //
309  //------------------------------------//
310 
311 /*
312  * Affine and starlike radial mapping to describe 3D star. \ingroup(map)
313  *
314  * The affine radial mapping is the simplest one between the grid coordinates
315  * \f$(\xi, \theta', \phi')\f$ and the physical coordinates \f$(r, \theta, \phi)\f$. It comprises a single domain (nucleus, shells to be added in the future)
316  * It is defined by \f$\theta=\theta'\f$, \f$\phi=\phi'\f$ and
317  * \li \f$r=\alpha \xi + \beta\f$, in non-compactified domains,
318  * where \f$\alpha\f$ and \f$\beta\f$ depend upon the angular direction.
319  *
320  *
321  */
322 class Map_eps : public Map_radial{
323 
324 
325  // Data :
326  // ----
327  private:
329  double aa, bb, cc ;
330  Valeur alpha ;
331  Valeur beta ;
332 
333 
334  // Constructors, destructor :
335  // ------------------------
336  public:
346  Map_eps(const Mg3d& mgrille, const double* r_limits) ;
356  Map_eps(const Mg3d& mgrille, double a, double b, double c) ;
357 
358  Map_eps(const Map_eps& ) ;
359  Map_eps(const Mg3d&, const string&) ;
360  Map_eps(const Mg3d&, FILE* ) ;
361 
362 
363  virtual ~Map_eps() ;
364 
368  virtual const Map_af& mp_angu(int) const ;
369 
370  // Assignment
371  // ----------
372  public:
374  virtual void operator=(const Map_af& ) ;
376  virtual void operator=(const Map_eps& ) ;
377 
378  // Memory management
379  // -----------------
380  private:
382  void set_coord() ;
383  //protected:
384  //virtual void reset_coord() ; ///< Resets all the member \c Coords
385 
386  // Extraction of information
387  // -------------------------
388  public:
390  const Valeur& get_alpha() const ;
391  const Valeur& get_beta() const ;
392  double get_aa() const { return aa;} ;
393  double get_bb() const { return bb;} ;
394  double get_cc() const { return cc;} ;
395 
396 
398  void set_alpha(const Tbl& alpha0, int l) ;
399  void set_beta(const Tbl& beta0, int l) ;
400 
401  void set_alpha(const Valeur& alpha0) ;
402  void set_beta(const Valeur& beta0) ;
403 
413  virtual double val_r(int l, double xi, double theta, double pphi) const ;
414 
424  virtual void val_lx(double rr, double theta, double pphi,
425  int& l, double& xi) const ;
426 
436  virtual void val_lx(double rr, double theta, double pphi,
437  const Param& par, int& l, double& xi) const ;
438 
448  virtual double val_r_jk(int l, double xi, int j, int k) const ;
449 
459  virtual void val_lx_jk(double rr, int j, int k, const Param& par,
460  int& l, double& xi) const ;
461 
463  virtual bool operator==(const Map& ) const ;
464 
471  virtual void dsdr (const Scalar& ci, Scalar& resu) const ;
472 
480  virtual void srstdsdp (const Scalar&, Scalar&) const ;
481 
489  virtual void srdsdt (const Scalar&, Scalar&) const ;
490 
495  virtual void dsdt (const Scalar&, Scalar&) const ;
496 
497 
502  virtual void stdsdp (const Scalar&, Scalar&) const ;
503 
504  // Outputs
505  // -------
506  public:
507  virtual void sauve(FILE* ) const ;
508 
509  private:
510  virtual ostream& operator>>(ostream &) const ;
511 
512  virtual void homothetie (double) ;
513  virtual void resize (int, double) ;
514  virtual void adapt (const Cmp&, const Param&, int) ;
515  virtual void dsdr (const Cmp&, Cmp&) const ;
516  virtual void dsdxi (const Cmp&, Cmp&) const ;
517  virtual void dsdxi (const Scalar&, Scalar&) const ;
518  virtual void dsdradial (const Scalar& uu, Scalar& resu) const ;
519  virtual void srdsdt (const Cmp&, Cmp&) const ;
520  virtual void srstdsdp (const Cmp&, Cmp&) const ;
521  virtual void laplacien (const Scalar&, int, Scalar&) const ;
522  virtual void laplacien (const Cmp&, int, Cmp&) const ;
523  virtual void lapang (const Scalar&, Scalar&) const ;
524  virtual void primr(const Scalar&, Scalar&, bool) const ;
525  virtual Tbl* integrale (const Cmp&) const ;
526  virtual void poisson (const Cmp&, Param&, Cmp&) const ;
527  virtual void poisson_tau (const Cmp&, Param&, Cmp&) const ;
528  virtual void poisson_falloff(const Cmp&, Param&, Cmp&, int) const ;
529  virtual void poisson_ylm(const Cmp&, Param&, Cmp&, int, double*) const ;
530  virtual void poisson_regular (const Cmp&, int, int, double, Param&, Cmp&, Cmp&, Cmp&,
531  Tenseur&, Cmp&, Cmp&) const ;
532  virtual void poisson_angu (const Scalar&, Param&, Scalar&, double=0) const ;
533  virtual void poisson_angu (const Cmp&, Param&, Cmp&, double=0) const ;
534  virtual Param* donne_para_poisson_vect (Param&, int) const ;
535  virtual void poisson_frontiere (const Cmp&, const Valeur&, int, int, Cmp&, double = 0., double = 0.) const ;
536  virtual void poisson_frontiere_double (const Cmp&, const Valeur&, const Valeur&, int, Cmp&) const ;
537  virtual void poisson_interne (const Cmp&, const Valeur&, Param&, Cmp&) const ;
538  virtual void poisson2d (const Cmp&, const Cmp&, Param&, Cmp&) const ;
539  virtual void dalembert (Param&, Scalar&, const Scalar&, const Scalar&, const Scalar&) const ;
540  // Building functions for the Coord's
541  // ----------------------------------
542  friend Mtbl* map_eps_fait_r(const Map* ) ;
543  friend Mtbl* map_eps_fait_tet(const Map* ) ;
544  friend Mtbl* map_eps_fait_phi(const Map* ) ;
545  friend Mtbl* map_eps_fait_sint(const Map* ) ;
546  friend Mtbl* map_eps_fait_cost(const Map* ) ;
547  friend Mtbl* map_eps_fait_sinp(const Map* ) ;
548  friend Mtbl* map_eps_fait_cosp(const Map* ) ;
549 
550  friend Mtbl* map_eps_fait_x(const Map* ) ;
551  friend Mtbl* map_eps_fait_y(const Map* ) ;
552  friend Mtbl* map_eps_fait_z(const Map* ) ;
553 
554  friend Mtbl* map_eps_fait_xa(const Map* ) ;
555  friend Mtbl* map_eps_fait_ya(const Map* ) ;
556  friend Mtbl* map_eps_fait_za(const Map* ) ;
557 
558  friend Mtbl* map_eps_fait_xsr(const Map* ) ;
559  friend Mtbl* map_eps_fait_dxdr(const Map* ) ;
560  friend Mtbl* map_eps_fait_drdt(const Map* ) ;
561  friend Mtbl* map_eps_fait_stdrdp(const Map* ) ;
562  friend Mtbl* map_eps_fait_srdrdt(const Map* ) ;
563  friend Mtbl* map_eps_fait_srstdrdp(const Map* ) ;
564  friend Mtbl* map_eps_fait_sr2drdt(const Map* ) ;
565  friend Mtbl* map_eps_fait_sr2stdrdp(const Map* ) ;
566  friend Mtbl* map_eps_fait_d2rdx2(const Map* ) ;
567  friend Mtbl* map_eps_fait_lapr_tp(const Map* ) ;
568  friend Mtbl* map_eps_fait_d2rdtdx(const Map* ) ;
569  friend Mtbl* map_eps_fait_sstd2rdpdx(const Map* ) ;
570  friend Mtbl* map_eps_fait_sr2d2rdt2(const Map* ) ;
571 };
572  Mtbl* map_eps_fait_r(const Map* ) ;
573  Mtbl* map_eps_fait_tet(const Map* ) ;
574  Mtbl* map_eps_fait_phi(const Map* ) ;
575  Mtbl* map_eps_fait_sint(const Map* ) ;
576  Mtbl* map_eps_fait_cost(const Map* ) ;
577  Mtbl* map_eps_fait_sinp(const Map* ) ;
578  Mtbl* map_eps_fait_cosp(const Map* ) ;
579 
580  Mtbl* map_eps_fait_x(const Map* ) ;
581  Mtbl* map_eps_fait_y(const Map* ) ;
582  Mtbl* map_eps_fait_z(const Map* ) ;
583 
584  Mtbl* map_eps_fait_xa(const Map* ) ;
585  Mtbl* map_eps_fait_ya(const Map* ) ;
586  Mtbl* map_eps_fait_za(const Map* ) ;
587 
588  Mtbl* map_eps_fait_xsr(const Map* ) ;
589  Mtbl* map_eps_fait_dxdr(const Map* ) ;
590  Mtbl* map_eps_fait_drdt(const Map* ) ;
591  Mtbl* map_eps_fait_stdrdp(const Map* ) ;
592  Mtbl* map_eps_fait_srdrdt(const Map* ) ;
593  Mtbl* map_eps_fait_srstdrdp(const Map* ) ;
594  Mtbl* map_eps_fait_sr2drdt(const Map* ) ;
595  Mtbl* map_eps_fait_sr2stdrdp(const Map* ) ;
596  Mtbl* map_eps_fait_d2rdx2(const Map* ) ;
597  Mtbl* map_eps_fait_lapr_tp(const Map* ) ;
598  Mtbl* map_eps_fait_d2rdtdx(const Map* ) ;
599  Mtbl* map_eps_fait_sstd2rdpdx(const Map* ) ;
600  Mtbl* map_eps_fait_sr2d2rdt2(const Map* ) ;
601 
602 }
603 #endif
virtual ostream & operator>>(ostream &) const
Operator >>
Definition: map_eps.C:267
virtual void dsdradial(const Scalar &uu, Scalar &resu) const
< Not implemented
virtual Param * donne_para_poisson_vect(Param &, int) const
< Not implemented
virtual const Map_af & mp_angu(int) const
Returns the "angular" mapping for the outside of domain l_zone.
virtual void val_lx_jk(double rr, int j, int k, const Param &par, int &l, double &xi) const
Computes the domain index l and the value of corresponding to a point of arbitrary r but collocation...
friend Mtbl * map_eps_fait_r(const Map *)
< Not implemented
Definition: map_eps_fait.C:43
Component of a tensorial field *** DEPRECATED : use class Scalar instead ***.
Definition: cmp.h:446
virtual bool operator==(const Map &) const
Comparison operator (egality)
Definition: map_star.C:201
virtual void poisson_tau(const Cmp &, Param &, Cmp &) const
< Not implemented
virtual const Map_af & mp_angu(int) const
Returns the "angular" mapping for the outside of domain l_zone.
Multi-domain array.
Definition: mtbl.h:118
Lorene prototypes.
Definition: app_hor.h:67
virtual void resize(int, double)
< Not implemented
virtual void poisson(const Cmp &, Param &, Cmp &) const
< Not implemented
Tensor field of valence 0 (or component of a tensorial field).
Definition: scalar.h:393
Base class for coordinate mappings.
Definition: map.h:688
virtual void homothetie(double)
Sets a new radial scale.
virtual Tbl * integrale(const Cmp &) const
< Not implemented
friend Mtbl * map_star_fait_r(const Map *)
< Not implemented
Definition: map_star_fait.C:43
virtual void operator=(const Map_af &)
Assignment to an affine mapping.
Definition: map_eps.C:161
virtual void laplacien(const Scalar &, int, Scalar &) const
< Not implemented
virtual void poisson_falloff(const Cmp &, Param &, Cmp &, int) const
< Not implemented
virtual void adapt(const Cmp &, const Param &, int)
< Not implemented
virtual void poisson_regular(const Cmp &, int, int, double, Param &, Cmp &, Cmp &, Cmp &, Tenseur &, Cmp &, Cmp &) const
< Not implemented
Values and coefficients of a (real-value) function.
Definition: valeur.h:297
void set_alpha(const Tbl &alpha0, int l)
Modifies the value of in domain no. l.
Definition: map_eps.C:314
virtual void srdsdt(const Scalar &, Scalar &) const
Computes of a Scalar.
virtual double val_r_jk(int l, double xi, int j, int k) const
Returns the value of the radial coordinate r for a given and a given collocation point in in a give...
virtual void lapang(const Scalar &, Scalar &) const
< Not implemented
virtual void dalembert(Param &, Scalar &, const Scalar &, const Scalar &, const Scalar &) const
< Not implemented
Map_eps(const Mg3d &mgrille, const double *r_limits)
Standard Constructor.
Definition: map_eps.C:52
virtual bool operator==(const Map &) const
Comparison operator (egality)
Definition: map_eps.C:207
virtual void poisson(const Cmp &, Param &, Cmp &) const
< Not implemented
virtual void poisson_frontiere(const Cmp &, const Valeur &, int, int, Cmp &, double=0., double=0.) const
< Not implemented
virtual void operator=(const Map_af &)
Assignment to an affine mapping.
Definition: map_star.C:155
virtual void poisson_frontiere(const Cmp &, const Valeur &, int, int, Cmp &, double=0., double=0.) const
< Not implemented
virtual void poisson_tau(const Cmp &, Param &, Cmp &) const
< Not implemented
virtual void laplacien(const Scalar &, int, Scalar &) const
< Not implemented
virtual void val_lx(double rr, double theta, double pphi, int &l, double &xi) const
Computes the domain index l and the value of corresponding to a point given by its physical coordina...
virtual void poisson_interne(const Cmp &, const Valeur &, Param &, Cmp &) const
< Not implemented
void set_alpha(const Tbl &alpha0, int l)
Modifies the value of in domain no. l.
Definition: map_star.C:307
virtual void adapt(const Cmp &, const Param &, int)
< Not implemented
virtual void poisson_falloff(const Cmp &, Param &, Cmp &, int) const
< Not implemented
virtual void stdsdp(const Scalar &, Scalar &) const
Computes of a Scalar .
const Valeur & get_alpha() const
Returns the reference on the Tbl alpha.
Definition: map_eps.C:243
virtual Tbl * integrale(const Cmp &) const
< Not implemented
virtual void homothetie(double)
Sets a new radial scale.
Parameter storage.
Definition: param.h:125
Base class for pure radial mappings.
Definition: map.h:1557
Map_star(const Mg3d &mgrille, const double *r_limits)
Standard Constructor.
Definition: map_star.C:52
virtual void poisson2d(const Cmp &, const Cmp &, Param &, Cmp &) const
< Not implemented
void set_coord()
Assignment of the building functions to the member Coords.
Definition: map_eps.C:171
virtual void poisson_angu(const Scalar &, Param &, Scalar &, double=0) const
< Not implemented
virtual void poisson_ylm(const Cmp &, Param &, Cmp &, int, double *) const
< Not implemented
const Valeur & get_alpha() const
Returns the reference on the Tbl alpha.
Definition: map_star.C:237
virtual void sauve(FILE *) const
Save in a file.
Definition: map_eps.C:254
virtual void poisson_regular(const Cmp &, int, int, double, Param &, Cmp &, Cmp &, Cmp &, Tenseur &, Cmp &, Cmp &) const
< Not implemented
virtual void dsdxi(const Cmp &, Cmp &) const
< Not implemented
virtual ~Map_eps()
Destructor.
Definition: map_eps.C:134
void set_coord()
Assignment of the building functions to the member Coords.
Definition: map_star.C:165
virtual void primr(const Scalar &, Scalar &, bool) const
< Not implemented
virtual void poisson_angu(const Scalar &, Param &, Scalar &, double=0) const
< Not implemented
Multi-domain grid.
Definition: grilles.h:279
virtual double val_r(int l, double xi, double theta, double pphi) const
Returns the value of the radial coordinate r for a given in a given domain.
virtual void srdsdt(const Scalar &, Scalar &) const
Computes of a Scalar.
Affine radial mapping.
Definition: map.h:2048
virtual void poisson2d(const Cmp &, const Cmp &, Param &, Cmp &) const
< Not implemented
virtual void dsdradial(const Scalar &uu, Scalar &resu) const
< Not implemented
virtual void stdsdp(const Scalar &, Scalar &) const
Computes of a Scalar .
Definition: map_eps_deriv.C:95
virtual void val_lx_jk(double rr, int j, int k, const Param &par, int &l, double &xi) const
Computes the domain index l and the value of corresponding to a point of arbitrary r but collocation...
virtual void poisson_ylm(const Cmp &, Param &, Cmp &, int, double *) const
< Not implemented
virtual void poisson_frontiere_double(const Cmp &, const Valeur &, const Valeur &, int, Cmp &) const
< Not implemented
virtual double val_r_jk(int l, double xi, int j, int k) const
Returns the value of the radial coordinate r for a given and a given collocation point in in a give...
virtual void srstdsdp(const Scalar &, Scalar &) const
Computes of a Scalar.
virtual void resize(int, double)
< Not implemented
virtual void srstdsdp(const Scalar &, Scalar &) const
Computes of a Scalar.
virtual void primr(const Scalar &, Scalar &, bool) const
< Not implemented
virtual void poisson_interne(const Cmp &, const Valeur &, Param &, Cmp &) const
< Not implemented
virtual double val_r(int l, double xi, double theta, double pphi) const
Returns the value of the radial coordinate r for a given in a given domain.
virtual void dsdr(const Scalar &ci, Scalar &resu) const
Computes of a Scalar.
Definition: map_eps_deriv.C:39
Basic array class.
Definition: tbl.h:164
virtual ostream & operator>>(ostream &) const
Operator >>
Definition: map_star.C:261
Map(const Mg3d &)
Constructor from a multi-domain 3D grid.
Definition: map.C:142
virtual void dalembert(Param &, Scalar &, const Scalar &, const Scalar &, const Scalar &) const
< Not implemented
Scalar interpolate_from_map_af(const Scalar &f_a) const
Interpolates from a Scalar defined on a Map_af and returns the new Scalar defined on *this...
virtual void val_lx(double rr, double theta, double pphi, int &l, double &xi) const
Computes the domain index l and the value of corresponding to a point given by its physical coordina...
virtual ~Map_star()
Destructor.
Definition: map_star.C:128
double aa
Array (size: mg->nzone*Nt*Np ) of the values of in each domain.
Definition: map_star.h:329
virtual void poisson_frontiere_double(const Cmp &, const Valeur &, const Valeur &, int, Cmp &) const
< Not implemented
virtual void dsdr(const Scalar &ci, Scalar &resu) const
Computes of a Scalar.
virtual Param * donne_para_poisson_vect(Param &, int) const
< Not implemented
Tensor handling *** DEPRECATED : use class Tensor instead ***.
Definition: tenseur.h:304
virtual void dsdt(const Scalar &, Scalar &) const
Computes of a Scalar .
Valeur alpha
Array (size: mg->nzone*Nt*Np ) of the values of in each domain.
Definition: map_star.h:30
virtual void dsdxi(const Cmp &, Cmp &) const
< Not implemented
virtual void lapang(const Scalar &, Scalar &) const
< Not implemented
virtual void sauve(FILE *) const
Save in a file.
Definition: map_star.C:248
virtual void dsdt(const Scalar &, Scalar &) const
Computes of a Scalar .