Debian Codegraph @

C++/Include/et_rot_bifluid.h

raw symbols SCIP
1 /*
2 * Definition of Lorene class Et_rot_bifluid
3 *
4 */
5
6 /*
7 * Copyright (c) 2001 Jerome Novak
8 * (c) 2015 Aurelien Sourie
9 *
10 * This file is part of LORENE.
11 *
12 * LORENE is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 2 of the License, or
15 * (at your option) any later version.
16 *
17 * LORENE is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with LORENE; if not, write to the Free Software
24 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
25 *
26 */
27
28
29 #ifndef __ET_ROT_BIFLUID_H_
30 #define __ET_ROT_BIFLUID_H_
31
32 /*
33 * $Id: et_rot_bifluid.h,v 1.20 2015/06/26 14:10:08 j_novak Exp $
34 * $Log: et_rot_bifluid.h,v $
35 * Revision 1.20 2015/06/26 14:10:08 j_novak
36 * Modified comments.
37 *
38 * Revision 1.19 2015/06/11 13:50:18 j_novak
39 * Minor corrections
40 *
41 * Revision 1.18 2015/06/10 14:39:17 a_sourie
42 * New class Eos_bf_tabul for tabulated 2-fluid EoSs and associated functions for the computation of rotating stars with such EoSs.
43 *
44 * Revision 1.17 2014/10/13 08:52:34 j_novak
45 * Lorene classes and functions now belong to the namespace Lorene.
46 *
47 * Revision 1.16 2013/11/25 13:50:55 j_novak
48 * The inheritance from Etoile_rot is no longer virtual.
49 *
50 * Revision 1.15 2011/10/06 14:55:36 j_novak
51 * equation_of_state() is now virtual to be able to call to the magnetized
52 * Eos_mag.
53 *
54 * Revision 1.14 2004/09/01 10:56:05 r_prix
55 * added option of converging baryon-mass to equilibrium_bi()
56 *
57 * Revision 1.13 2004/03/22 13:12:41 j_novak
58 * Modification of comments to use doxygen instead of doc++
59 *
60 * Revision 1.12 2003/12/04 14:13:32 r_prix
61 * added method get_typeos {return typeos}; and fixed some comments.
62 *
63 * Revision 1.11 2003/11/20 14:01:45 r_prix
64 * changed member names to better conform to Lorene coding standards:
65 * J_euler -> j_euler, EpS_euler -> enerps_euler, Delta_car -> delta_car
66 *
67 * Revision 1.10 2003/11/18 18:32:36 r_prix
68 * added new class-member: EpS_euler := ener_euler + s_euler
69 * has the advantage of a nice Newtonian limit -> rho
70 * (ener_euler is no longer used in this class!)
71 *
72 * Revision 1.9 2003/11/13 12:02:03 r_prix
73 * - adapted/extended some of the documentation
74 * - changed xxx2 -> Delta_car
75 * - added members J_euler, sphph_euler, representing 3+1 components of Tmunu
76 * (NOTE: these are not 2-fluid specific, and should ideally be moved into Class Etoile!)
77 *
78 * Revision 1.8 2003/09/17 08:27:50 j_novak
79 * New methods: mass_b1() and mass_b2().
80 *
81 * Revision 1.7 2002/10/09 07:54:29 j_novak
82 * Et_rot_bifluid and Et_rot_mag inheritate virtually from Etoile_rot
83 *
84 * Revision 1.6 2002/09/13 09:17:33 j_novak
85 * Modif. commentaires
86 *
87 * Revision 1.5 2002/04/05 09:09:36 j_novak
88 * The inversion of the EOS for 2-fluids polytrope has been modified.
89 * Some errors in the determination of the surface were corrected.
90 *
91 * Revision 1.4 2002/01/16 15:03:28 j_novak
92 * *** empty log message ***
93 *
94 * Revision 1.3 2002/01/08 14:43:53 j_novak
95 * better determination of surfaces for 2-fluid stars
96 *
97 * Revision 1.2 2002/01/03 15:30:27 j_novak
98 * Some comments modified.
99 *
100 * Revision 1.1.1.1 2001/11/20 15:19:27 e_gourgoulhon
101 * LORENE
102 *
103 * Revision 1.3 2001/10/03 09:49:06 novak
104 * *** empty log message ***
105 *
106 * Revision 1.2 2001/08/28 14:14:10 novak
107 * overrided l_surf function
108 *
109 * Revision 1.1 2001/06/22 15:38:52 novak
110 * Initial revision
111 *
112 *
113 * $Header: /cvsroot/Lorene/C++/Include/et_rot_bifluid.h,v 1.20 2015/06/26 14:10:08 j_novak Exp $
114 *
115 */
116
117 // Headers Lorene
118 #include "eos_bifluid.h"
119 #include "etoile.h"
120
121 namespace Lorene {
122
123 // Local prototype (for determining the surface)
124 Cmp prolonge_c1(const Cmp& uu, const int nzet) ;
125
126 /**
127 * Class for two-fluid rotating relativistic stars. \ingroup (star)
128 *
129 * This is a child class of \c Etoile_rot , with the same metric
130 * and overloaded member functions.
131 *
132 * There are two number-density fields \c nbar and \c nbar2
133 * (and 2 log-enthalpies, see class \c Eos_bifluid ), as well as two
134 * velocity fields, with phi-components (with respect to the Eulerian observer)
135 * \c uuu and \c uuu2 .
136 *
137 * Fluid 1 can be considered to correspond to the (superfluid) neutrons, whereas
138 * fluid 2 would consist of the protons (and electrons)
139 *.
140 * The quantity \c u_euler of the \c class Etoile is
141 * \b not \b used in this class!
142 * Only the "3+1" components of \f${T^\mu}_\nu\f$ should be used outside
143 * of \c hydro_euler() , namely \c s_euler, \c sphph_euler, \c j_euler and
144 * \c ener_euler.
145 *
146 */
147 class Et_rot_bifluid : public Etoile_rot {
148
149 // Data :
150 // -----
151 protected:
152 const Eos_bifluid& eos ; ///< Equation of state for two-fluids model
153
154 double omega2 ; ///< Rotation angular velocity for fluid 2 (\c [f_unit] )
155
156 // Fluid quantities with respect to the fluid frame
157 // ------------------------------------------------
158
159 /// Log-enthalpy for the second fluid
160 Tenseur ent2 ;
161
162 Tenseur nbar2 ; ///< Baryon density in the fluid frame, for fluid 2
163
164 Tenseur K_nn ; ///< Coefficient Knn
165 Tenseur K_np ; ///< Coefficient Knp
166 Tenseur K_pp ; ///< Coefficient Kpp
167
168 // Fluid quantities with respect to the Eulerian frame
169 // ---------------------------------------------------
170
171 // FIXME: the following three variables are not specific to 2-fluid stars
172 // and should ideally be moved to class Etoile!
173
174 /// The component \f$S^\varphi_\varphi\f$ of the stress tensor \f${S^i}_j\f$.
175 Tenseur sphph_euler;
176
177 /** Total angular momentum (flat-space!) 3-vector \f$J_\mathrm{euler}\f$,
178 * which is related to \f$J^i\f$ of the "3+1" decomposition, but expressed
179 * in a flat-space triad. In axisymmetric circular cases, only
180 * \f$J_\mathrm{euler}(\varphi)=r \sin\theta\, J^\varphi\f$ is nonzero.
181 */
182 Tenseur j_euler;
183
184 Tenseur j_euler1; ///< To compute Jn
185 Tenseur j_euler2; ///< To compute Jp
186
187 Tenseur j_euler11_1; ///< To compute In (1st version)
188 Tenseur j_euler12_1; ///< To compute Ip (1st version)
189
190 Tenseur j_euler21_1;// To compute epsN (1st version)
191 Tenseur j_euler22_1;// To compute epsP (1st version)
192
193 Tenseur j_euler11_2;//To compute In (2nd version)
194 Tenseur j_euler12_2;//To compute Ip (2nd version)
195
196 Tenseur j_euler21_2;// To compute epsN (2nd version)
197 Tenseur j_euler22_2;// To compute epsP (2nd version)
198
199
200 /// the combination \f$E+S_i^i\f$: useful because in the Newtonian limit \f$\rightarrow \rho\f$.
201 Tenseur enerps_euler;
202
203 /// Norm of the (fluid no.2) 3-velocity with respect to the eulerian observer
204 Tenseur uuu2 ;
205
206 /// Lorentz factor between the fluid 2 and Eulerian observers
207 Tenseur gam_euler2 ;
208
209 /**
210 * The "relative velocity" (squared) \f$\Delta^2\f$ of the two fluids.
211 * See Prix et al.(2003) and see also \c Eos_bifluid .
212 */
213 Tenseur delta_car ;
214
215 // Derived data :
216 // ------------
217 protected:
218 /// Coordinate radius at \f$\phi=0\f$, \f$\theta=\pi/2\f$.
219 mutable double* p_ray_eq2 ;
220
221 /// Coordinate radius at \f$\phi=\pi/2\f$, \f$\theta=\pi/2\f$.
222 mutable double* p_ray_eq2_pis2 ;
223
224 /// Coordinate radius at \f$\phi=\pi\f$, \f$\theta=\pi/2\f$.
225 mutable double* p_ray_eq2_pi ;
226
227 /// Coordinate radius at \f$\theta=0\f$.
228 mutable double* p_ray_pole2 ;
229
230 /** Description of the surface of fluid 2: 2-D \c Itbl containing the
231 * values of the domain index \e l on the surface at the
232 * collocation points in \f$(\theta', \phi')\f$
233 */
234 mutable Itbl* p_l_surf2 ;
235
236 /** Description of the surface of fluid 2: 2-D \c Tbl containing the
237 * values of the radial coordinate \f$\xi\f$ on the surface at the
238 * collocation points in \f$(\theta', \phi')\f$
239 */
240 mutable Tbl* p_xi_surf2 ;
241
242 mutable double* p_r_circ2 ; ///< Circumferential radius of fluid no.2
243 mutable double* p_area2 ; ///< Surface area of fluid no.2
244 mutable double* p_aplat2 ; ///< Flatening r_pole/r_eq of fluid no.2
245
246 mutable double* p_mass_b1 ; ///< Baryon mass of fluid 1
247 mutable double* p_mass_b2 ; ///< Baryon mass of fluid 2
248
249 mutable double* p_angu_mom_1; ///< Angular momentum of fluid 1
250 mutable double* p_angu_mom_2; ///< Angular momentum of fluid 2
251
252 mutable double* p_angu_mom_1_part1_1; ///< To compute In (1st version)
253 mutable double* p_angu_mom_2_part1_1; ///< To compute Ip (1st version)
254
255 mutable double* p_angu_mom_1_part2_1; ///< To compute Xn (1st version)
256 mutable double* p_angu_mom_2_part2_1; ///< To compute Xp (1st version)
257
258 mutable double* p_angu_mom_1_part1_2; ///< To compute In (2nd version)
259 mutable double* p_angu_mom_2_part1_2; ///< To compute Ip (2nd version)
260
261 mutable double* p_angu_mom_1_part2_2; ///< To compute Xn (2nd version)
262 mutable double* p_angu_mom_2_part2_2; ///< To compute Xp (2nd version)
263
264 // Constructors - Destructor
265 // -------------------------
266 public:
267
268 Et_rot_bifluid(Map& mp_i, int nzet_i, bool relat,
269 const Eos_bifluid& eos_i) ; ///< Standard constructor
270
271 Et_rot_bifluid(const Et_rot_bifluid& ) ; ///< Copy constructor
272
273 /** Constructor from a file (see \c sauve(FILE*) ) Works only for
274 * relativistic stars.
275 * This has to be improved....
276 */
277 Et_rot_bifluid(Map& mp_i, const Eos_bifluid& eos_i, FILE* fich) ;
278
279 virtual ~Et_rot_bifluid() ; ///< Destructor
280
281 // Memory management
282 // -----------------
283 protected:
284
285 /// Deletes all the derived quantities
286 virtual void del_deriv() const ;
287
288 /// Sets to \c 0x0 all the pointers on derived quantities
289 virtual void set_der_0x0() const ;
290
291 /** Sets to \c ETATNONDEF (undefined state) the hydrodynamical
292 * quantities relative to the Eulerian observer.
293 */
294 virtual void del_hydro_euler() ;
295
296 // Mutators / assignment
297 // ---------------------
298 public:
299
300 /// Assignment to another Et_rot_bifluid
301 void operator=(const Et_rot_bifluid&) ;
302
303 /// Sets both enthalpy profiles
304 void set_enthalpies(const Cmp&, const Cmp&) ;
305
306 /** Computes a spherical static configuration.
307 *
308 * @param ent_c [input] central value of the enthalpy 1
309 * @param ent_c2 [input] central value of the enthalpy 2
310 * @param precis [input] threshold in the relative difference between
311 * the enthalpy fields of two consecutive steps
312 * to stop the iterative procedure (default value: 1.e-14)
313 */
314 void equilibrium_spher_bi(double ent_c, double ent_c2,
315 double precis = 1.e-14) ;
316
317 /** Computes a spherical static configuration.
318 * The sources for Poisson equations are regularized
319 * by extracting analytical diverging parts.
320 *
321 * @param ent_c [input] central value of the enthalpy 1
322 * @param ent_c2 [input] central value of the enthalpy 2
323 * @param precis [input] threshold in the relative difference between
324 * the enthalpy fields of two consecutive steps
325 * to stop the iterative procedure (default value: 1.e-14)
326 */
327 void equil_spher_regular(double ent_c, double ent_c2,
328 double precis = 1.e-14) ;
329
330 // Accessors
331 // ---------
332 public:
333
334 /// Returns the equation of state
335 const Eos_bifluid& get_eos() const {return eos; } ;
336
337 /// Returns the enthalpy field for fluid 2
338 const Tenseur& get_ent2() const {return ent2 ; } ;
339
340 /// Returns the proper baryon density for fluid 2
341 const Tenseur& get_nbar2() const {return nbar2 ; } ;
342
343 /// Returns the coefficient Knn
344 const Tenseur& get_K_nn() const {return K_nn ; } ;
345 /// Returns the coefficient Knp
346 const Tenseur& get_K_np() const {return K_np ; } ;
347 /// Returns the coefficient Kpp
348 const Tenseur& get_K_pp() const {return K_pp ; } ;
349
350 /// Returns the "relative velocity" (squared) \f$\Delta^2\f$ of the two fluids
351 const Tenseur& get_delta_car() const {return delta_car ; } ;
352
353 /// Returns the Lorentz factor between the fluid 2 and Eulerian observers
354 const Tenseur& get_gam_euler2() const {return gam_euler2 ; } ;
355
356 /// Returns the rotation angular velocity of fluid 2(\c [f_unit] )
357 double get_omega2() const {return omega2 ; } ;
358
359 /// Returns the norm of the fluid 2 3-velocity with respect to the eulerian frame
360 const Tenseur& get_uuu2() const {return uuu2 ; } ;
361
362 // Outputs
363 // -------
364 public:
365 virtual void sauve(FILE *) const ; ///< Save in a file
366
367 /// Operator >> (virtual function called by the operator <<).
368 virtual ostream& operator>>(ostream& ) const ;
369
370 /// Printing of some informations, excluding all global quantities
371 virtual void partial_display(ostream& ) const ;
372
373 // Global quantities
374 // -----------------
375 public:
376
377 /** Description of the surface of fluid 1: returns a 2-D \c Itbl
378 * containing the
379 * values of the domain index \e l on the surface at the
380 * collocation points in \f$(\theta', \phi')\f$.
381 * This surface is defined as the location where
382 * the density 1 (member \c nbar ) vanishes.
383 */
384 virtual const Itbl& l_surf() const ;
385
386 /** Description of the surface of fluid 2: returns a 2-D \c Itbl
387 * containing the
388 * values of the domain index \e l on the surface at the
389 * collocation points in \f$(\theta', \phi')\f$.
390 * This surface is defined as the location where
391 * the density 2 (member \c nbar2 ) vanishes.
392 */
393 const Itbl& l_surf2() const ;
394
395 /** Description of the surface of fluid 2: returns a 2-D \c Tbl
396 * containing the values of the radial coordinate \f$\xi\f$
397 * on the surface at the
398 * collocation points in \f$(\theta', \phi')\f$.
399 * This surface is defined as the location where
400 * the density 2 (member \c nbar2 ) vanishes.
401 */
402 const Tbl& xi_surf2() const ;
403
404 /// Coordinate radius for fluid 2 at \f$\phi=0\f$, \f$\theta=\pi/2\f$ [r_unit].
405 double ray_eq2() const ;
406
407 /// Coordinate radius for fluid 2 at \f$\phi=\pi/2\f$, \f$\theta=\pi/2\f$ [r_unit].
408 double ray_eq2_pis2() const ;
409
410 /// Coordinate radius for fluid 2 at \f$\phi=\pi\f$, \f$\theta=\pi/2\f$ [r_unit].
411 double ray_eq2_pi() const ;
412
413 /// Coordinate radius for fluid 2 at \f$\theta=0\f$ [r_unit].
414 double ray_pole2() const ;
415
416 /// Baryon mass of fluid 1
417 double mass_b1() const ;
418
419 /// Baryon mass of fluid 2
420 double mass_b2() const ;
421
422 virtual double mass_b() const ; ///< Total Baryon mass
423 virtual double mass_g() const ; ///< Gravitational mass
424 virtual double angu_mom() const ; ///< Angular momentum
425
426 /** Error on the virial identity GRV2.
427 * Given by the integral Eq. (4.6) in
428 * [Bonazzola, Gougoulhon, Salgado, Marck, A\&A \b 278 , 421 (1993)].
429 */
430 virtual double grv2() const ;
431
432 /** Error on the virial identity GRV3.
433 * The error is computed as the integral defined
434 * by Eq. (43) of [Gourgoulhon and Bonazzola,
435 * \a Class. \a Quantum \a Grav. \b 11 , 443 (1994)] divided by
436 * the integral of the matter terms.
437 *
438 * @param ost output stream to give details of the computation;
439 * if set to 0x0 [default value], no details will be
440 * given.
441 *
442 */
443 virtual double grv3(ostream* ost = 0x0) const ;
444
445 virtual double r_circ2() const ; ///< Circumferential radius for fluid 2
446 virtual double area2() const ; ///< Surface area for fluid 2
447 virtual double mean_radius2() const ; ///< Mean radius for fluid 2
448 virtual double aplat2() const ; ///< Flatening r_pole/r_eq for fluid 2
449
450 /** Quadrupole moment.
451 * The quadrupole moment \e Q is defined according to Eq. (11) of
452 * [Pappas and Apostolatos, \a Physical \a Review \a Letters
453 * \b 108, 231104 (2012)]. This is a corrected version of the quadrupole
454 * moment defined by [Salgado, Bonazzola, Gourgoulhon and Haensel,
455 * \a Astron. \a Astrophys. \b 291 , 155 (1994)].
456 * Following this definition, \f$Q = {\bar Q } - 4/3 (1/4 + b) M^3 \f$,
457 * where \f$ {\bar Q } \f$ is defined as the negative of the (wrong) quadrupole
458 * moment defined in Eq. (7) of [Salgado, Bonazzola, Gourgoulhon and Haensel,
459 * \a Astron. \a Astrophys. \b 291 , 155 (1994)], \e b is defined by
460 * Eq. (3.37) of [Friedman and Stergioulas, \a Rotating \a Relativistic
461 * \a Stars, Cambridge Monograph on mathematical physics] and \e M is
462 * the gravitational mass of the star.
463 */
464 virtual double mom_quad() const ;
465
466 /** Part of the quadrupole moment.
467 * This term \f$ {\bar Q } \f$ is defined by Laarakkers and Poisson,
468 * \a Astrophys. \a J. \b 512 , 282 (1999).
469 * Note that \f$ {\bar Q }\f$ is the negative of the (wrong) quadrupole moment
470 * defined in Eq. (7) of [Salgado, Bonazzola, Gourgoulhon and Haensel,
471 * \a Astron. \a Astrophys. \b 291 , 155 (1994)].
472 */
473 virtual double mom_quad_old() const ;
474
475 /** Part of the quadrupole moment.
476 * \e B_o is defined as \f$bM^2\f$, where \e b is given by Eq. (3.37) of
477 * [Friedman and Stergioulas, \a Rotating \a Relativistic \a Stars,
478 * Cambridge Monograph on mathematical physics] and \e M is the
479 * the gravitational mass of the star.
480 */
481 virtual double mom_quad_Bo() const ;
482
483 virtual double angu_mom_1() const ; ///< Angular momentum of fluid 1
484 virtual double angu_mom_2() const ; ///< Angular momentum of fluid 2
485 virtual double angu_mom_1_part1_1() const ; ///< To compute In (1st version)
486 virtual double angu_mom_2_part1_1() const ; ///< To compute Ip (1st version)
487 virtual double angu_mom_1_part2_1() const ; ///< To compute Xn (1st version)
488 virtual double angu_mom_2_part2_1() const ; ///< To compute Xp (1st version)
489 virtual double angu_mom_1_part1_2() const ; ///< To compute In (2nd version)
490 virtual double angu_mom_2_part1_2() const ; ///< To compute Ip (2nd version)
491 virtual double angu_mom_1_part2_2() const ; ///< To compute Xn (2nd version)
492 virtual double angu_mom_2_part2_2() const ; ///< To compute Xp (2nd version)
493
494 // Computational routines
495 // ----------------------
496 public:
497 /** Computes the hydrodynamical quantities relative to the Eulerian
498 * observer from those in the fluid frame.
499 *
500 * The calculation is performed starting from the quantities
501 * \c ent , \c ent2 , \c ener , \c press , \c K_nn , \c K_np , \c K_pp
502 * and \c a_car, which are supposed to be up to date. From these,
503 * the following fields are updated:
504 * \c delta_car , \c gam_euler , \c gam_euler2 , \c ener_euler ,
505 * \c s_euler , \c sphph_euler and \c j_euler .
506 */
507 virtual void hydro_euler() ;
508
509 /** Computes the proper baryon and energy densities, as well as
510 * pressure and the coefficients Knn, Knp and Kpp, from the enthalpies
511 * and both velocities.
512 */
513 virtual void equation_of_state() ;
514
515 /** Computes an equilibrium configuration.
516 *
517 * @param ent_c [input] Central enthalpy for fluid 1
518 * @param ent_c2 [input] Central enthalpy for fluid 2
519 * @param omega0 [input] Requested angular velocity for fluid 1
520 * @param omega20 [input] Requested angular velocity for fluid 2
521 * @param ent_limit [input] 1-D \c Tbl of dimension \c nzet which
522 * defines the enthalpy for fluid 1 at the
523 * outer boundary of each domain
524 * @param ent2_limit [input] 1-D \c Tbl of dimension \c nzet which
525 * defines the enthalpy for fluid 2 at the
526 * outer boundary of each domain
527 * @param icontrol [input] Set of integer parameters (stored as a
528 * 1-D \c Itbl of size 5) to control the
529 * iteration:
530 * \li \c icontrol(0) = mer_max : maximum number of steps
531 * \li \c icontrol(1) = mer_rot : step at which the rotation is
532 * switched on
533 * \li \c icontrol(2) = mer_change_omega : step at which the rotation
534 * velocity is changed to reach the final one
535 * \li \c icontrol(3) = mer_fix_omega : step at which the final
536 * rotation velocity must have been reached
537 * \li \c icontrol(4) = mermax_poisson : maximum number of steps in
538 * \c Map_et::poisson
539 * @param control [input] Set of parameters (stored as a
540 * 1-D \c Tbl of size 5) to control the
541 * iteration:
542 * \li \c control(0) = precis : threshold on the enthalpy relative
543 * change for ending the computation
544 * \li \c control(1) = omega_ini : initial angular velocity,
545 * switched on only if \c mer_rot < 0 ,
546 * otherwise 0 is used
547 * \li \c control(2) = omega2_ini : initial angular velocity,
548 * switched on only if \c mer_rot < 0 ,
549 * otherwise 0 is used
550 * \li \c control(3) = relax : relaxation factor in the main
551 * iteration
552 * \li \c control(4) = relax_poisson : relaxation factor in
553 * \c Map_et::poisson
554 * @param diff [output] 1-D \c Tbl of size 8 for the storage of
555 * some error indicators :
556 * \li \c diff(0) : Relative change in the enthalpy field 1
557 * between two successive steps
558 * \li \c diff(1) : Relative change in the enthalpy field 2
559 * between two successive steps
560 * \li \c diff(2) : Relative error in the resolution of the
561 * Poisson equation for \c nuf
562 * \li \c diff(3) : Relative error in the resolution of the
563 * Poisson equation for \c nuq
564 * \li \c diff(4) : Relative error in the resolution of the
565 * Poisson equation for \c dzeta
566 * \li \c diff(5) : Relative error in the resolution of the
567 * Poisson equation for \c tggg
568 * \li \c diff(6) : Relative error in the resolution of the
569 * equation for \c shift (x comp.)
570 * \li \c diff(7) : Relative error in the resolution of the
571 * equation for \c shift (y comp.)
572 */
573 void equilibrium_bi(double ent_c, double ent_c2, double omega0,
574 double omega20, const Tbl& ent_limit,
575 const Tbl& ent2_limit, const Itbl& icontrol,
576 const Tbl& control, Tbl& diff,
577 int mer_mass, double mbar1_wanted, double mbar2_wanted,
578 double aexp_mass);
579 };
580
581 }
582 #endif