FML
Loading...
Searching...
No Matches
GravityModel< NDIM > Class Template Referenceabstract

Base class for gravity models. More...

#include <GravityModel.h>

Inherited by GravityModelGR< NDIM >, GravityModelGeff< NDIM >, GravityModelJBD< NDIM >, GravityModelMu< NDIM >, and GravityModelScreened< NDIM >.

Public Types

template<int N>
using FFTWGrid = FML::GRID::FFTWGrid<N>
 
using ODESolver = FML::SOLVERS::ODESOLVER::ODESolver
 
using Spline = FML::INTERPOLATION::SPLINE::Spline
 
using Spline2D = FML::INTERPOLATION::SPLINE::Spline2D
 
using ParameterMap = FML::UTILS::ParameterMap
 
using DVector = FML::INTERPOLATION::SPLINE::DVector
 
using DVector2D = FML::INTERPOLATION::SPLINE::DVector2D
 
using LinearTransferData = FML::FILEUTILS::LinearTransferData
 

Public Member Functions

 GravityModel (std::string name)
 
 GravityModel (std::shared_ptr< Cosmology > cosmo, std::string name)
 
std::string get_name () const
 
std::shared_ptr< Cosmology > get_cosmo ()
 
double get_D_1LPT (double a, double koverH0=0.0) const
 
double get_Dmnu_1LPT (double a, double koverH0=0.0) const
 
double get_D_2LPT (double a, double koverH0=0.0) const
 
double get_D_3LPTa (double a, double koverH0=0.0) const
 
double get_D_3LPTb (double a, double koverH0=0.0) const
 
bool is_growth_scaledependent () const
 
double get_f_1LPT (double a, double koverH0=0.0) const
 
double get_f_2LPT (double a, double koverH0=0.0) const
 
double get_f_3LPTa (double a, double koverH0=0.0) const
 
double get_f_3LPTb (double a, double koverH0=0.0) const
 
template<typename T >
void output_element (std::ofstream &fp, const T &element, int width=15) const
 
virtual void output_header (std::ofstream &fp)
 
virtual void output_row (std::ofstream &fp, double a, double koverH0) const
 
virtual void output (std::string filename, double koverH0)
 
virtual void init ()
 
virtual void info () const
 
void init_transferdata (std::string transferinfofilename, std::string fileformat="CAMB")
 
std::shared_ptr< LinearTransferData > get_transferdata ()
 
void set_transferdata (std::shared_ptr< LinearTransferData > _transferdata)
 
virtual void read_parameters (ParameterMap &param)
 
virtual double GeffOverG (double a, double koverH0=0) const =0
 
virtual double source_factor_1LPT (double a, double koverH0=0) const
 
virtual double source_factor_2LPT (double a, double koverH0=0) const
 
virtual double nonlinear_source_factor_2LPT (double a, double koverH0=0) const
 
virtual double source_factor_3LPTa (double a, double koverH0=0) const
 
virtual double source_factor_3LPTb (double a, double koverH0=0) const
 
virtual void compute_force (double a, double H0Box, FFTWGrid< NDIM > &density_fourier, std::string density_assignment_method_used, std::array< FFTWGrid< NDIM >, NDIM > &force_real, const FML::NBODY::ForceOptions &options={}) const =0
 
void compute_force_from_total_density (FFTWGrid< NDIM > &density_fourier, double norm_poisson_equation, const std::string &density_assignment_method_used, std::array< FFTWGrid< NDIM >, NDIM > &force_real, const FML::NBODY::ForceOptions &options={}) const
 
double a_over_aeq (double a) const
 
virtual void compute_growth_factors ()
 
virtual ~GravityModel ()=default
 

Static Public Member Functions

static std::array< double, 8 > radiation_matter_growing_mode (double y, int nterms=200)
 

Data Fields

const double H0_hmpc = 1.0 / 2997.92458
 

Protected Attributes

std::shared_ptr< LinearTransferData > transferdata
 
std::shared_ptr< Cosmology > cosmo
 
std::string name
 
double aini
 
double alow = 1e-4
 
const double ahigh = 1e1
 
const int npts_loga = 1000
 
const double koverH0low = 1e-4 / H0_hmpc
 
const double koverH0high = 100.0 / H0_hmpc
 
const int npts_logk = 200
 
Spline D_1LPT_of_loga {"[D1LPT(log(a)) not yet created]"}
 
Spline D_2LPT_of_loga {"[D2LPT(log(a)) not yet created]"}
 
Spline D_3LPTa_of_loga {"[D3LPTa(log(a)) not yet created]"}
 
Spline D_3LPTb_of_loga {"[D3LPTb(log(a)) not yet created]"}
 
Spline2D D_1LPT_of_logkoverH0_loga {"[D1LPT(log(k/H0),log(a)) not yet created]"}
 
Spline2D D_2LPT_of_logkoverH0_loga {"[D2LPT(log(k/H0),log(a)) not yet created]"}
 
Spline2D D_3LPTa_of_logkoverH0_loga {"[D3LPTa(log(k/H0),log(a)) not yet created"}
 
Spline2D D_3LPTb_of_logkoverH0_loga {"[D3LPTb(log(k/H0),log(a)) not yet created]"}
 
Spline Dmnu_1LPT_of_loga {"[Dmnu1LPT(log(a)) not yet created]"}
 
Spline2D Dmnu_1LPT_of_logkoverH0_loga {"[Dmnu1LPT(log(k/H0),log(a)) not yet created]"}
 
bool scaledependent_growth {false}
 
bool force_use_finite_difference_force {false}
 
int force_finite_difference_stencil_order {4}
 

Detailed Description

template<int NDIM>
class GravityModel< NDIM >

Base class for gravity models.

Definition at line 27 of file GravityModel.h.

Member Typedef Documentation

◆ DVector

Definition at line 35 of file GravityModel.h.

◆ DVector2D

Definition at line 36 of file GravityModel.h.

◆ FFTWGrid

template<int NDIM>
template<int N>
using GravityModel< NDIM >::FFTWGrid = FML::GRID::FFTWGrid<N>

Definition at line 30 of file GravityModel.h.

◆ LinearTransferData

template<int NDIM>
using GravityModel< NDIM >::LinearTransferData = FML::FILEUTILS::LinearTransferData

Definition at line 37 of file GravityModel.h.

◆ ODESolver

Definition at line 31 of file GravityModel.h.

◆ ParameterMap

Definition at line 34 of file GravityModel.h.

◆ Spline

Definition at line 32 of file GravityModel.h.

◆ Spline2D

Definition at line 33 of file GravityModel.h.

Constructor & Destructor Documentation

◆ GravityModel() [1/2]

template<int NDIM>
GravityModel< NDIM >::GravityModel ( std::string name)
inline

Definition at line 43 of file GravityModel.h.

43: name(name) {}
std::string name

◆ GravityModel() [2/2]

template<int NDIM>
GravityModel< NDIM >::GravityModel ( std::shared_ptr< Cosmology > cosmo,
std::string name )
inline

Definition at line 44 of file GravityModel.h.

44: cosmo(cosmo), name(name) {}
std::shared_ptr< Cosmology > cosmo

◆ ~GravityModel()

template<int NDIM>
virtual GravityModel< NDIM >::~GravityModel ( )
virtualdefault

Member Function Documentation

◆ a_over_aeq()

template<int NDIM>
double GravityModel< NDIM >::a_over_aeq ( double a) const
inline

Definition at line 352 of file GravityModel.h.

352 {
353 const double H = cosmo->HoverH0_of_a(a);
354 const double r = cosmo->get_OmegaM() / (H * H * a * a * a);
355 if (r >= 1.0 - 1e-12)
356 return 1e30;
357 return r / (1.0 - r);
358 }

◆ compute_force()

template<int NDIM>
virtual void GravityModel< NDIM >::compute_force ( double a,
double H0Box,
FFTWGrid< NDIM > & density_fourier,
std::string density_assignment_method_used,
std::array< FFTWGrid< NDIM >, NDIM > & force_real,
const FML::NBODY::ForceOptions & options = {} ) const
pure virtual

◆ compute_force_from_total_density()

template<int NDIM>
void GravityModel< NDIM >::compute_force_from_total_density ( FFTWGrid< NDIM > & density_fourier,
double norm_poisson_equation,
const std::string & density_assignment_method_used,
std::array< FFTWGrid< NDIM >, NDIM > & force_real,
const FML::NBODY::ForceOptions & options = {} ) const
inline

Definition at line 318 of file GravityModel.h.

322 {}) const {
324 // A stencil of order 2, 4 or 6 (phi(i+/-1), phi(i+/-2), ...) needs stencil_order/2 boundary slices
325 const int stencil_order = force_finite_difference_stencil_order;
326 const int nboundary_cells = stencil_order / 2;
327 FFTWGrid<NDIM> potential_real;
329 potential_real,
330 norm_poisson_equation,
331 nboundary_cells,
332 options);
334 force_real,
335 density_assignment_method_used,
336 stencil_order,
337 options);
338 } else {
340 force_real,
341 density_assignment_method_used,
342 norm_poisson_equation,
343 options);
344 }
345 }
Class for holding grids and performing real-to-complex and complex-to-real FFTs using FFTW with MPI.
Definition FFTWGrid.h:98
bool force_use_finite_difference_force
int force_finite_difference_stencil_order
void compute_force_from_density_fourier(const FFTWGrid< N > &density_grid_fourier, std::array< FFTWGrid< N >, N > &force_real, std::string density_assignment_method_used, double norm_poisson_equation, const ForceOptions &options={})
Take a density grid in fourier space and returns the force where Different choices for what kernel ...
Definition NBody.h:325
void compute_potential_real_from_density_fourier(const FFTWGrid< N > &density_grid_fourier, FFTWGrid< N > &potential_real, double norm_poisson_equation, int n_boundary_slices_to_be_allocated, const ForceOptions &options={})
Compute Phi(x) from the density field in fourier space Phi = F^-1( 1/D^2 * delta * norm ) The kernel ...
Definition NBody.h:1809
void compute_force_from_potential_real(FFTWGrid< N > &potential_real, std::array< FFTWGrid< N >, N > &force_grid_real, std::string force_interpolation_method, int stencil_order, const ForceOptions &options={})
Compute the force DPhi from the potential using finite differencing If options.deconvolve is set we d...
Definition NBody.h:1529
Options options()

◆ compute_growth_factors()

template<int NDIM>
virtual void GravityModel< NDIM >::compute_growth_factors ( )
inlinevirtual

Definition at line 421 of file GravityModel.h.

421 {
422
423 // When we have massive neutrinos we use the transferdata when
424 // solving the LPT equations so we cannot start earlier than what we
425 // have splines for and we cannot do
426 if (scaledependent_growth and cosmo->get_fMNu() > 0.0) {
427 const double zstart = transferdata->get_zmax_splines();
428 const double astart = 1.0 / (1.0 + zstart);
429 if (alow < astart) {
430 alow = astart;
431 }
432 if (aini < astart and scaledependent_growth) {
433 throw std::runtime_error(
434 "Transferdata provided are only up to z = " + std::to_string(zstart) +
435 ", but we want to start simulation at z = " + std::to_string(1.0 / aini - 1.0) +
436 " Provide the required data, put OmegaMNu = 0.0 or set it so that we don't use scaledependent "
437 "growth!");
438 aini = astart;
439 }
440 }
441
442 // Start the growth factors deep in the radiation era (a < a_eq / 10) when radiation matters, so that
443 // the growing-mode initial conditions below are accurate (not possible when we need transfer data
444 // for massive neutrinos)
445 if (not(scaledependent_growth and cosmo->get_fMNu() > 0.0)) {
446 const double y = a_over_aeq(alow);
447 if (y > 0.1 and y < 1e4)
448 alow *= 0.1 / y;
449 }
450 const double y_low = a_over_aeq(alow);
451
452 // The grids include the end points (they used to stop at a ~ 9.89 and k ~ 93 h/Mpc, so the splines were
453 // held constant beyond that)
454 DVector loga_arr(npts_loga);
455 for (int i = 0; i < npts_loga; i++) {
456 loga_arr[i] = std::log(alow) + std::log(ahigh / alow) * i / double(npts_loga - 1);
457 }
458
459 DVector logkoverH0_arr(npts_logk);
460 for (int i = 0; i < npts_logk; i++)
461 logkoverH0_arr[i] = std::log(koverH0low) + std::log(koverH0high / koverH0low) * i / double(npts_logk - 1);
462
463 // With the transfer functions the neutrino source in the 1LPT equation is exact: fnu T_nu(k,a) / T_cb(k,a)
464 // (source_factor_1LPT), and the initial growth rate is the CDM+baryon growth rate from the transfer functions.
465 // The alternative below (solve_for_neutrinos, a fluid approximation for the neutrinos with a free-streaming
466 // scale: the equations in 1605.05283) is kept for reference but not used: it overestimates the growth of
467 // delta_cb by up to 2% (z = 49 -> 0, 0.4 eV, k ~ 0.01-0.1 h/Mpc) compared with CAMB, while the exact source
468 // agrees with CAMB to 0.02% (k > 0.03 h/Mpc) and 0.1% (k = 0.01 h/Mpc)
469 const bool use_neutrino_transfer = transferdata and scaledependent_growth and cosmo->get_fMNu() > 0.0;
470 const bool solve_for_neutrinos = false;
471
472 // A quite general set of LPT equations up to 3rd order
473 auto solve_growth_equations = [&](double koverH0) -> std::tuple<DVector, DVector, DVector, DVector, DVector> {
474 const double OmegaM = cosmo->get_OmegaM();
475 const double fnu = cosmo->get_fMNu();
476 FML::SOLVERS::ODESOLVER::ODEFunction deriv = [&](double x, const double * y, double * dydx) {
477 const double a = std::exp(x);
478 const double H = cosmo->HoverH0_of_a(a);
479 const double dlogHdx = cosmo->dlogHdloga_of_a(a);
480
481 // source_factor_nLPT also contains the effect of neutrinos ((1-fnu) + fnu * Dnu/Dcb) for 1LPT
482 // and (1-fnu) otherwise (i.e. neutrinos don't contribute). If solve_for_neutrinos then we
483 // do 1LPT further down
484 const double rhs = 1.5 * OmegaM * GeffOverG(a, koverH0) / (H * H * a * a * a);
485 const double rhs_1LPT = rhs * source_factor_1LPT(a, koverH0);
486 const double rhs_2LPT = rhs * source_factor_2LPT(a, koverH0);
487 const double rhs_3LPTa = rhs * source_factor_3LPTa(a, koverH0);
488 const double rhs_3LPTb = rhs * source_factor_3LPTb(a, koverH0);
489 const double nonlinear_2LPT = nonlinear_source_factor_2LPT(a, koverH0);
490
491 const double D1 = y[0];
492 const double dD1dx = y[1];
493 const double D2 = y[2];
494 const double dD2dx = y[3];
495 const double D3a = y[4];
496 const double dD3adx = y[5];
497 const double D3b = y[6];
498 const double dD3bdx = y[7];
499
500 // CDM+baryon LPT equations
501 dydx[0] = dD1dx;
502 dydx[1] = rhs_1LPT * D1 - (2.0 + dlogHdx) * dD1dx;
503 dydx[2] = dD2dx;
504 dydx[3] = rhs_2LPT * (D2 - nonlinear_2LPT * D1 * D1) - (2.0 + dlogHdx) * dD2dx;
505 dydx[4] = dD3adx;
506 dydx[5] = rhs_3LPTa * (D3a - 2.0 * D1 * D1 * D1) - (2.0 + dlogHdx) * dD3adx;
507 dydx[6] = dD3bdx;
508 dydx[7] = rhs_3LPTb * (D3b + D1 * D1 * D1 - D2 * D1) - (2.0 + dlogHdx) * dD3bdx;
509
510 // Massive neutrinos LPT equations
511 if (solve_for_neutrinos) {
512 // k over the free-streaming scale kfs
513 const double k_over_kfs = koverH0 * H0_hmpc / cosmo->get_neutrino_free_streaming_scale_hmpc(a);
514 const double k_over_kfs2 = k_over_kfs * k_over_kfs;
515
516 const double D1mnu = y[8];
517 const double dD1mnudx = y[9];
518 dydx[8] = dD1mnudx;
519 dydx[9] = rhs * (D1 * (1.0 - fnu) + (fnu - k_over_kfs2) * D1mnu) - (2.0 + dlogHdx) * dD1mnudx;
520
521 // Updating 1LPT equation for baryon+CDM to reflect massive neutrinos
522 dydx[1] = rhs * (D1 * (1.0 - fnu) + fnu * D1mnu) - (2.0 + dlogHdx) * dD1dx;
523 } else {
524 dydx[8] = dydx[9] = 0.0;
525 }
526
527 return GSL_SUCCESS;
528 };
529
530 // Initial conditions: the growing mode in a matter + radiation universe (exact for y = a/a_eq -> 0
531 // and the Einstein-de Sitter solution for y -> infinity). The decaying mode is absent.
532 // For dD1dx_ini this really changes from 1.0 on large scales to 1-3fnu/5 on small scales in EdS
533 std::array<double, 8> ini;
534 if (y_low < 0.5) {
536 } else {
537 ini = {1.0, 1.0, -3.0 / 7.0, -6.0 / 7.0, -1.0 / 3.0, -1.0, 5.0 / 21.0, 5.0 / 7.0};
538 }
539 const double D1_ini = ini[0];
540 double dD1dx_ini = ini[1];
541 const double D2_ini = ini[2];
542 const double dD2dx_ini = ini[3];
543 const double D3a_ini = ini[4];
544 const double dD3adx_ini = ini[5];
545 const double D3b_ini = ini[6];
546 const double dD3bdx_ini = ini[7];
547
548 // Neutrinos as CDM
549 double D1mnu_ini = D1_ini;
550 double dD1mnu_ini = dD1dx_ini;
551
552 // To solve properly for massive neutrinos we need the transfer-functions
553 // and growth rates at the initial redshift
554 if (use_neutrino_transfer and koverH0 > 0.0)
555 dD1dx_ini = D1_ini * transferdata->get_cdm_baryon_growth_rate(koverH0 * H0_hmpc, alow);
556 if (solve_for_neutrinos and koverH0 > 0.0) {
557 D1mnu_ini = D1_ini * transferdata->get_massive_neutrino_transfer_function(koverH0 * H0_hmpc, alow) /
558 transferdata->get_cdm_baryon_transfer_function(koverH0 * H0_hmpc, alow);
559 dD1mnu_ini = D1mnu_ini * transferdata->get_massive_neutrino_growth_rate(koverH0 * H0_hmpc, alow);
560 }
561
562 std::vector<double> yini{D1_ini,
563 dD1dx_ini,
564 D2_ini,
565 dD2dx_ini,
566 D3a_ini,
567 dD3adx_ini,
568 D3b_ini,
569 dD3bdx_ini,
570 D1mnu_ini,
571 dD1mnu_ini};
572
573 // Solve the ODE
575 ode.solve(deriv, loga_arr, yini);
576 auto D1 = ode.get_data_by_component(0);
577 auto D2 = ode.get_data_by_component(2);
578 auto D3a = ode.get_data_by_component(4);
579 auto D3b = ode.get_data_by_component(6);
580 auto D1mnu = ode.get_data_by_component(8);
581
582 // Normalize such that D = 1 at initial redshift
584 tmp.create(loga_arr, D1, "Temporary D1(loga) Spline");
585 const double D = tmp(std::log(aini));
586 for (size_t i = 0; i < D1.size(); i++) {
587 D1[i] /= D;
588 D2[i] /= D * D;
589 D3a[i] /= D * D * D;
590 D3b[i] /= D * D * D;
591 D1mnu[i] /= D;
592 if (not solve_for_neutrinos) {
593 // Neutrinos treated as CDM
594 D1mnu[i] = D1[i];
595 // Neutrinos treated exactly by using transfer functions
596 if (transferdata and koverH0 > 0.0) {
597 D1mnu[i] = transferdata->get_massive_neutrino_transfer_function(koverH0 * H0_hmpc,
598 std::exp(loga_arr[i])) /
599 transferdata->get_cdm_baryon_transfer_function(koverH0 * H0_hmpc, aini);
600 }
601 }
602 }
603
604 return {D1, D2, D3a, D3b, D1mnu};
605 };
606
607 // Compute scaleindependent growth-factors (for scaledependent growth
608 // this corresponds to k = 0)
609 auto data = solve_growth_equations(0.0);
610 D_1LPT_of_loga.create(loga_arr, std::get<0>(data), "D1LPT(log(a))");
611 D_2LPT_of_loga.create(loga_arr, std::get<1>(data), "D2LPT(log(a))");
612 D_3LPTa_of_loga.create(loga_arr, std::get<2>(data), "D3LPTa(log(a))");
613 D_3LPTb_of_loga.create(loga_arr, std::get<3>(data), "D3LPTb(log(a))");
614 Dmnu_1LPT_of_loga.create(loga_arr, std::get<4>(data), "Dmnu1LPT(log(a))");
615
616 // Compute the full scaledependent D_iLPT(k,a)
618
624#ifdef USE_OMP
625#pragma omp parallel for
626#endif
627 for (int i = 0; i < npts_logk; i++) {
628 auto data = solve_growth_equations(std::exp(logkoverH0_arr[i]));
629 D1[i] = std::get<0>(data);
630 D2[i] = std::get<1>(data);
631 D3a[i] = std::get<2>(data);
632 D3b[i] = std::get<3>(data);
633 D1mnu[i] = std::get<4>(data);
634 }
635 D_1LPT_of_logkoverH0_loga.create(logkoverH0_arr, loga_arr, D1, "D1LPT(log(k/H0),log(a))");
636 D_2LPT_of_logkoverH0_loga.create(logkoverH0_arr, loga_arr, D2, "D2LPT(log(k/H0),log(a))");
637 D_3LPTa_of_logkoverH0_loga.create(logkoverH0_arr, loga_arr, D3a, "D3LPTa(log(k/H0),log(a))");
638 D_3LPTb_of_logkoverH0_loga.create(logkoverH0_arr, loga_arr, D3b, "D3LPTb(log(k/H0),log(a))");
639 Dmnu_1LPT_of_logkoverH0_loga.create(logkoverH0_arr, loga_arr, D1mnu, "D1mnuLPT(log(k/H0),log(a))");
640 }
641 }
FML::SOLVERS::FFTLog::DVector DVector
Definition Main.cpp:4
const double OmegaM
Definition Main.cpp:65
FML::INTERPOLATION::SPLINE::DVector2D DVector2D
Definition Main.cpp:8
void create(const double *x, const double *y, const double *z, int nx, int ny, std::string splinename="NoName", const gsl_interp2d_type *interpoltype=SPLINE_FIDUCIAL_INTERPOL_TYPE_2D)
Create a spline from pointers to x, y and z. z must have nx * ny elements.
Definition Spline.cpp:504
This is a wrapper class for easy use of GSL splines It is (OpenMP) thread safe as long as splines are...
Definition Spline.h:106
void create(const double *x, const double *y, int nx, std::string splinename="NoName", const gsl_interp_type *interpoltype=SPLINE_FIDUCIAL_INTERPOL_TYPE)
Create a spline from pointers to x and y. Both must have nx elements.
Definition Spline.cpp:159
This is a wrapper around the GSL library to easily solve ODEs and return the data in whatever format ...
Definition ODESolver.h:97
DVector get_data_by_component(int icomponent) const
Get the data for a particular component y_i(xarr)
void solve(ODEFunctionPointer ode_equation, void *parameters, const DVector &xarr, const DVector &yinitial, const gsl_odeiv2_step_type *stepper=ODESOLVER_FIDUCIAL_STEPPER, ODEFunctionPointerJacobian jacobian=nullptr)
const int npts_logk
const int npts_loga
static std::array< double, 8 > radiation_matter_growing_mode(double y, int nterms=200)
const double ahigh
Spline D_3LPTb_of_loga
Spline D_2LPT_of_loga
const double koverH0low
virtual double source_factor_2LPT(double a, double koverH0=0) const
Spline2D D_3LPTa_of_logkoverH0_loga
Spline D_3LPTa_of_loga
Spline2D D_1LPT_of_logkoverH0_loga
Spline2D Dmnu_1LPT_of_logkoverH0_loga
const double H0_hmpc
const double koverH0high
virtual double nonlinear_source_factor_2LPT(double a, double koverH0=0) const
FML::INTERPOLATION::SPLINE::DVector DVector
virtual double source_factor_3LPTb(double a, double koverH0=0) const
Spline Dmnu_1LPT_of_loga
Spline2D D_2LPT_of_logkoverH0_loga
double a_over_aeq(double a) const
virtual double GeffOverG(double a, double koverH0=0) const =0
virtual double source_factor_3LPTa(double a, double koverH0=0) const
virtual double source_factor_1LPT(double a, double koverH0=0) const
Spline D_1LPT_of_loga
std::shared_ptr< LinearTransferData > transferdata
Spline2D D_3LPTb_of_logkoverH0_loga
bool scaledependent_growth
std::function< int(double, const double *, double *)> ODEFunction
Definition ODESolver.h:33
rhs(lna, y)

◆ GeffOverG()

template<int NDIM>
virtual double GravityModel< NDIM >::GeffOverG ( double a,
double koverH0 = 0 ) const
pure virtual

◆ get_cosmo()

template<int NDIM>
std::shared_ptr< Cosmology > GravityModel< NDIM >::get_cosmo ( )
inline

Definition at line 51 of file GravityModel.h.

51{ return cosmo; }

◆ get_D_1LPT()

template<int NDIM>
double GravityModel< NDIM >::get_D_1LPT ( double a,
double koverH0 = 0.0 ) const
inline

Definition at line 56 of file GravityModel.h.

56 {
57 koverH0 = std::max(koverH0, koverH0low);
58 return not scaledependent_growth ? D_1LPT_of_loga(std::log(a)) :
59 D_1LPT_of_logkoverH0_loga(std::log(koverH0), std::log(a));
60 }

◆ get_D_2LPT()

template<int NDIM>
double GravityModel< NDIM >::get_D_2LPT ( double a,
double koverH0 = 0.0 ) const
inline

Definition at line 66 of file GravityModel.h.

66 {
67 koverH0 = std::max(koverH0, koverH0low);
68 return not scaledependent_growth ? D_2LPT_of_loga(std::log(a)) :
69 D_2LPT_of_logkoverH0_loga(std::log(koverH0), std::log(a));
70 }

◆ get_D_3LPTa()

template<int NDIM>
double GravityModel< NDIM >::get_D_3LPTa ( double a,
double koverH0 = 0.0 ) const
inline

Definition at line 71 of file GravityModel.h.

71 {
72 koverH0 = std::max(koverH0, koverH0low);
73 return not scaledependent_growth ? D_3LPTa_of_loga(std::log(a)) :
74 D_3LPTa_of_logkoverH0_loga(std::log(koverH0), std::log(a));
75 }

◆ get_D_3LPTb()

template<int NDIM>
double GravityModel< NDIM >::get_D_3LPTb ( double a,
double koverH0 = 0.0 ) const
inline

Definition at line 76 of file GravityModel.h.

76 {
77 koverH0 = std::max(koverH0, koverH0low);
78 return not scaledependent_growth ? D_3LPTb_of_loga(std::log(a)) :
79 D_3LPTb_of_logkoverH0_loga(std::log(koverH0), std::log(a));
80 }

◆ get_Dmnu_1LPT()

template<int NDIM>
double GravityModel< NDIM >::get_Dmnu_1LPT ( double a,
double koverH0 = 0.0 ) const
inline

Definition at line 61 of file GravityModel.h.

61 {
62 koverH0 = std::max(koverH0, koverH0low);
63 return not scaledependent_growth ? Dmnu_1LPT_of_loga(std::log(a)) :
64 Dmnu_1LPT_of_logkoverH0_loga(std::log(koverH0), std::log(a));
65 }

◆ get_f_1LPT()

template<int NDIM>
double GravityModel< NDIM >::get_f_1LPT ( double a,
double koverH0 = 0.0 ) const
inline

Definition at line 90 of file GravityModel.h.

90 {
91 koverH0 = std::max(koverH0, koverH0low);
92 return not scaledependent_growth ? D_1LPT_of_loga.deriv_x(std::log(a)) / D_1LPT_of_loga(std::log(a)) :
93 D_1LPT_of_logkoverH0_loga.deriv_y(std::log(koverH0), std::log(a)) /
94 D_1LPT_of_logkoverH0_loga(std::log(koverH0), std::log(a));
95 }
double deriv_x(double x) const
Get the value of the first derivative of the spline.
Definition Spline.cpp:355

◆ get_f_2LPT()

template<int NDIM>
double GravityModel< NDIM >::get_f_2LPT ( double a,
double koverH0 = 0.0 ) const
inline

Definition at line 96 of file GravityModel.h.

96 {
97 koverH0 = std::max(koverH0, koverH0low);
98 return not scaledependent_growth ? D_2LPT_of_loga.deriv_x(std::log(a)) / D_2LPT_of_loga(std::log(a)) :
99 D_2LPT_of_logkoverH0_loga.deriv_y(std::log(koverH0), std::log(a)) /
100 D_2LPT_of_logkoverH0_loga(std::log(koverH0), std::log(a));
101 }

◆ get_f_3LPTa()

template<int NDIM>
double GravityModel< NDIM >::get_f_3LPTa ( double a,
double koverH0 = 0.0 ) const
inline

Definition at line 102 of file GravityModel.h.

102 {
103 koverH0 = std::max(koverH0, koverH0low);
104 return not scaledependent_growth ? D_3LPTa_of_loga.deriv_x(std::log(a)) / D_3LPTa_of_loga(std::log(a)) :
105 D_3LPTa_of_logkoverH0_loga.deriv_y(std::log(koverH0), std::log(a)) /
106 D_3LPTa_of_logkoverH0_loga(std::log(koverH0), std::log(a));
107 }

◆ get_f_3LPTb()

template<int NDIM>
double GravityModel< NDIM >::get_f_3LPTb ( double a,
double koverH0 = 0.0 ) const
inline

Definition at line 108 of file GravityModel.h.

108 {
109 koverH0 = std::max(koverH0, koverH0low);
110 return not scaledependent_growth ? D_3LPTb_of_loga.deriv_x(std::log(a)) / D_3LPTb_of_loga(std::log(a)) :
111 D_3LPTb_of_logkoverH0_loga.deriv_y(std::log(koverH0), std::log(a)) /
112 D_3LPTb_of_logkoverH0_loga(std::log(koverH0), std::log(a));
113 }

◆ get_name()

template<int NDIM>
std::string GravityModel< NDIM >::get_name ( ) const
inline

Definition at line 49 of file GravityModel.h.

49{ return name; }

◆ get_transferdata()

template<int NDIM>
std::shared_ptr< LinearTransferData > GravityModel< NDIM >::get_transferdata ( )
inline

Definition at line 241 of file GravityModel.h.

241{ return transferdata; }

◆ info()

template<int NDIM>
virtual void GravityModel< NDIM >::info ( ) const
inlinevirtual

Reimplemented in GravityModelDGP< NDIM >, GravityModelFofR< NDIM >, GravityModelGeff< NDIM >, GravityModelGR< NDIM >, GravityModelJBD< NDIM >, GravityModelmbeta< NDIM >, GravityModelMu< NDIM >, and GravityModelSymmetron< NDIM >.

Definition at line 215 of file GravityModel.h.

215 {
216 if (FML::ThisTask == 0) {
217 std::cout << "#=====================================================\n";
218 std::cout << "# GravityModel is [" << name << "] and has the cosmology: [" << this->cosmo->get_name()
219 << "]\n";
220 std::cout << "# Growth factors unity at zini = " << 1.0 / aini - 1.0 << "\n";
221 std::cout << "# Starting integrating growth factors from z = " << 1.0 / alow - 1.0 << "\n";
222 std::cout << "# scaledependent_growth : " << scaledependent_growth << "\n";
223 }
224 }
int ThisTask
The MPI task number.
Definition Global.cpp:39

◆ init()

template<int NDIM>
virtual void GravityModel< NDIM >::init ( )
inlinevirtual

Reimplemented in GravityModelGeff< NDIM >, GravityModelmbeta< NDIM >, and GravityModelMu< NDIM >.

Definition at line 210 of file GravityModel.h.

virtual void compute_growth_factors()

◆ init_transferdata()

template<int NDIM>
void GravityModel< NDIM >::init_transferdata ( std::string transferinfofilename,
std::string fileformat = "CAMB" )
inline

Definition at line 229 of file GravityModel.h.

229 {
230 transferdata = std::make_shared<LinearTransferData>(cosmo->get_Omegab(),
231 cosmo->get_OmegaCDM(),
232 cosmo->get_OmegaMNu(),
233 cosmo->get_kpivot_mpc(),
234 cosmo->get_As(),
235 cosmo->get_ns(),
236 cosmo->get_h(),
237 fileformat);
238 const bool verbose = false; // For testing
239 transferdata->read_transfer(transferinfofilename, verbose);
240 }

◆ is_growth_scaledependent()

template<int NDIM>
bool GravityModel< NDIM >::is_growth_scaledependent ( ) const
inline

Definition at line 85 of file GravityModel.h.

85{ return scaledependent_growth; }

◆ nonlinear_source_factor_2LPT()

template<int NDIM>
virtual double GravityModel< NDIM >::nonlinear_source_factor_2LPT ( double a,
double koverH0 = 0 ) const
inlinevirtual

Reimplemented in GravityModelDGP< NDIM >.

Definition at line 295 of file GravityModel.h.

295 {
296 return 1.0;
297 };

◆ output()

template<int NDIM>
virtual void GravityModel< NDIM >::output ( std::string filename,
double koverH0 )
inlinevirtual

Definition at line 190 of file GravityModel.h.

190 {
191 std::ofstream fp(filename.c_str());
192 if (not fp.is_open())
193 return;
194
195 output_header(fp);
196 fp << "\n";
197 for (int i = 0; i < npts_loga; i++) {
198 double loga = std::log(alow) + std::log(ahigh / alow) * i / double(npts_loga - 1);
199 double a = std::exp(loga);
200 output_row(fp, a, koverH0);
201 fp << "\n";
202 }
203 }
const std::string filename
Definition Main.cpp:63
virtual void output_row(std::ofstream &fp, double a, double koverH0) const
virtual void output_header(std::ofstream &fp)

◆ output_element()

template<int NDIM>
template<typename T >
void GravityModel< NDIM >::output_element ( std::ofstream & fp,
const T & element,
int width = 15 ) const
inline

Definition at line 117 of file GravityModel.h.

117 {
118 fp << std::setw(width) << element;
119 }

◆ output_header()

template<int NDIM>
virtual void GravityModel< NDIM >::output_header ( std::ofstream & fp)
inlinevirtual

Definition at line 124 of file GravityModel.h.

124 {
125 fp << "#";
126 output_element(fp, "a");
127 fp << " ";
128 output_element(fp, "GeffG(a,k)");
129 fp << " ";
130 output_element(fp, "D1(a,k)");
131 fp << " ";
132 output_element(fp, "D1mnu(a,k)");
133 if (transferdata) {
134 fp << " ";
135 output_element(fp, "D1_Tk(a,k)");
136 fp << " ";
137 output_element(fp, "D1mnu_Tk(a,k)");
138 }
139 fp << " ";
140 output_element(fp, "D2(a,k)");
141 fp << " ";
142 output_element(fp, "D3a(a,k)");
143 fp << " ";
144 output_element(fp, "D3b(a,k)");
145 fp << " ";
146 output_element(fp, "source_1LPT");
147 fp << " ";
148 output_element(fp, "source_2LPT");
149 fp << " ";
150 output_element(fp, "source_3LPTa");
151 fp << " ";
152 output_element(fp, "source_3LPTb");
153 }
void output_element(std::ofstream &fp, const T &element, int width=15) const

◆ output_row()

template<int NDIM>
virtual void GravityModel< NDIM >::output_row ( std::ofstream & fp,
double a,
double koverH0 ) const
inlinevirtual

Definition at line 155 of file GravityModel.h.

155 {
156 fp << " ";
157 output_element(fp, a);
158 fp << " ";
159 output_element(fp, GeffOverG(a, koverH0));
160 fp << " ";
161 output_element(fp, get_D_1LPT(a, koverH0));
162 fp << " ";
163 output_element(fp, get_Dmnu_1LPT(a, koverH0));
164 if (transferdata) {
165 fp << " ";
167 transferdata->get_cdm_baryon_transfer_function(koverH0 * H0_hmpc, a) /
168 transferdata->get_cdm_baryon_transfer_function(koverH0 * H0_hmpc, aini));
169 fp << " ";
171 transferdata->get_massive_neutrino_transfer_function(koverH0 * H0_hmpc, a) /
172 transferdata->get_massive_neutrino_transfer_function(koverH0 * H0_hmpc, aini));
173 }
174 fp << " ";
175 output_element(fp, get_D_2LPT(a, koverH0));
176 fp << " ";
177 output_element(fp, get_D_3LPTa(a, koverH0));
178 fp << " ";
179 output_element(fp, get_D_3LPTb(a, koverH0));
180 fp << " ";
181 output_element(fp, source_factor_1LPT(a, koverH0));
182 fp << " ";
183 output_element(fp, source_factor_2LPT(a, koverH0));
184 fp << " ";
185 output_element(fp, source_factor_3LPTa(a, koverH0));
186 fp << " ";
187 output_element(fp, source_factor_3LPTb(a, koverH0));
188 }
double get_Dmnu_1LPT(double a, double koverH0=0.0) const
double get_D_2LPT(double a, double koverH0=0.0) const
double get_D_3LPTa(double a, double koverH0=0.0) const
double get_D_3LPTb(double a, double koverH0=0.0) const
double get_D_1LPT(double a, double koverH0=0.0) const

◆ radiation_matter_growing_mode()

template<int NDIM>
static std::array< double, 8 > GravityModel< NDIM >::radiation_matter_growing_mode ( double y,
int nterms = 200 )
inlinestatic

Definition at line 369 of file GravityModel.h.

369 {
370 const int N = nterms;
371 auto mult = [N](const std::vector<double> & u, const std::vector<double> & v) {
372 std::vector<double> w(N, 0.0);
373 for (int i = 0; i < N; i++)
374 for (int j = 0; i + j < N; j++)
375 w[i + j] += u[i] * v[j];
376 return w;
377 };
378 // (1+y) D'' + y/2 D' - 3/2 y D + 3/2 y S = 0 with ' = d/dlny, D = sum c_n y^n, c_0 = 0
379 auto solve = [N](const std::vector<double> & S) {
380 std::vector<double> c(N, 0.0);
381 for (int n = 1; n < N; n++) {
382 const double m = n - 1;
383 c[n] = -((m * m + 0.5 * m - 1.5) * c[n - 1] + 1.5 * S[n - 1]) / double(n * n);
384 }
385 return c;
386 };
387 std::vector<double> D1(N, 0.0);
388 D1[0] = 1.0;
389 D1[1] = 1.5;
390 auto D1sq = mult(D1, D1);
391 auto D1cube = mult(D1sq, D1);
392 auto D2 = solve(D1sq);
393 std::vector<double> S3a(N), S3b(N);
394 auto D2D1 = mult(D2, D1);
395 for (int n = 0; n < N; n++) {
396 S3a[n] = 2.0 * D1cube[n];
397 S3b[n] = D2D1[n] - D1cube[n];
398 }
399 auto D3a = solve(S3a);
400 auto D3b = solve(S3b);
401
402 std::array<double, 8> res{};
403 const std::vector<double> * series[4] = {&D1, &D2, &D3a, &D3b};
404 for (int k = 0; k < 4; k++) {
405 double val = 0.0, der = 0.0, yn = 1.0;
406 for (int n = 0; n < N; n++) {
407 val += (*series[k])[n] * yn;
408 der += n * (*series[k])[n] * yn;
409 yn *= y;
410 }
411 res[2 * k] = val;
412 res[2 * k + 1] = der;
413 }
414 return res;
415 }
Vec u
Definition Minimizer.cpp:27
Modes< N > solve(const Modes< N > &a)
Definition test_lpt.cpp:99

◆ read_parameters()

template<int NDIM>
virtual void GravityModel< NDIM >::read_parameters ( ParameterMap & param)
inlinevirtual

Reimplemented in GravityModelDGP< NDIM >, GravityModelFofR< NDIM >, GravityModelGeff< NDIM >, GravityModelGR< NDIM >, GravityModelJBD< NDIM >, GravityModelmbeta< NDIM >, GravityModelMu< NDIM >, and GravityModelSymmetron< NDIM >.

Definition at line 248 of file GravityModel.h.

248 {
249 aini = 1.0 / (1.0 + param.get<double>("ic_initial_redshift"));
250 // The growth factor splines must start before the simulation (e.g. when starting at very high redshift)
251 alow = std::min(alow, aini / 10.0);
252 if (param.get<std::string>("ic_type_of_input") == "transferinfofile") {
253 init_transferdata(param.get<std::string>("ic_input_filename"),
254 SIMCODE::get_parameter<std::string>(param, "ic_type_of_input_fileformat"));
255 }
256 this->scaledependent_growth = this->cosmo->get_fMNu() > 0.0;
257 // The growth factors with massive neutrinos are computed from the transfer functions (and start at their
258 // highest redshift). Without them we would dereference a null pointer in compute_growth_factors
259 FML::assert_mpi(not(this->cosmo->get_OmegaMNu() > 0.0 and not transferdata),
260 "cosmology_OmegaMNu > 0 needs ic_type_of_input = transferinfofile (the growth factors with "
261 "massive neutrinos are computed from the transfer functions)");
262
263 // Experimental option with finite-difference forces (instead of fourier)
264 force_use_finite_difference_force = SIMCODE::get_parameter<bool>(param, "force_use_finite_difference_force");
266 SIMCODE::get_parameter<int>(param, "force_finite_difference_stencil_order");
267 }
T get(std::string name) const
Fetch a value. If it doesn't exist or has another type we throw an error (std::runtime_error)
void init_transferdata(std::string transferinfofilename, std::string fileformat="CAMB")
T get_parameter(const FML::UTILS::ParameterMap &param, const std::string &name)
Read a parameter: the value in param if it is there, otherwise the default value from the parameter t...

◆ set_transferdata()

template<int NDIM>
void GravityModel< NDIM >::set_transferdata ( std::shared_ptr< LinearTransferData > _transferdata)
inline

Definition at line 242 of file GravityModel.h.

242{ transferdata = _transferdata; }

◆ source_factor_1LPT()

template<int NDIM>
virtual double GravityModel< NDIM >::source_factor_1LPT ( double a,
double koverH0 = 0 ) const
inlinevirtual

Definition at line 276 of file GravityModel.h.

276 {
277 double factor = 1.0;
278 const double fnu = this->cosmo->get_fMNu();
279 if (fnu > 0.0 and koverH0 > 0.0) {
280 if (transferdata) {
281 const double T_nu = transferdata->get_massive_neutrino_transfer_function(koverH0 * H0_hmpc, a);
282 const double T_cb = transferdata->get_cdm_baryon_transfer_function(koverH0 * H0_hmpc, a);
283 factor = (1.0 - fnu) + fnu * T_nu / T_cb;
284 }
285 }
286 return factor;
287 };

◆ source_factor_2LPT()

template<int NDIM>
virtual double GravityModel< NDIM >::source_factor_2LPT ( double a,
double koverH0 = 0 ) const
inlinevirtual

Definition at line 288 of file GravityModel.h.

288 {
289 return 1.0 - this->cosmo->get_fMNu();
290 };

◆ source_factor_3LPTa()

template<int NDIM>
virtual double GravityModel< NDIM >::source_factor_3LPTa ( double a,
double koverH0 = 0 ) const
inlinevirtual

Definition at line 298 of file GravityModel.h.

298 {
299 return 1.0 - this->cosmo->get_fMNu();
300 };

◆ source_factor_3LPTb()

template<int NDIM>
virtual double GravityModel< NDIM >::source_factor_3LPTb ( double a,
double koverH0 = 0 ) const
inlinevirtual

Definition at line 301 of file GravityModel.h.

301 {
302 return 1.0 - this->cosmo->get_fMNu();
303 };

Field Documentation

◆ ahigh

template<int NDIM>
const double GravityModel< NDIM >::ahigh = 1e1
protected

Definition at line 660 of file GravityModel.h.

◆ aini

template<int NDIM>
double GravityModel< NDIM >::aini
protected

Definition at line 656 of file GravityModel.h.

◆ alow

template<int NDIM>
double GravityModel< NDIM >::alow = 1e-4
protected

Definition at line 659 of file GravityModel.h.

◆ cosmo

template<int NDIM>
std::shared_ptr<Cosmology> GravityModel< NDIM >::cosmo
protected

Definition at line 650 of file GravityModel.h.

◆ D_1LPT_of_loga

template<int NDIM>
Spline GravityModel< NDIM >::D_1LPT_of_loga {"[D1LPT(log(a)) not yet created]"}
protected

Definition at line 669 of file GravityModel.h.

669{"[D1LPT(log(a)) not yet created]"};

◆ D_1LPT_of_logkoverH0_loga

template<int NDIM>
Spline2D GravityModel< NDIM >::D_1LPT_of_logkoverH0_loga {"[D1LPT(log(k/H0),log(a)) not yet created]"}
protected

Definition at line 675 of file GravityModel.h.

675{"[D1LPT(log(k/H0),log(a)) not yet created]"};

◆ D_2LPT_of_loga

template<int NDIM>
Spline GravityModel< NDIM >::D_2LPT_of_loga {"[D2LPT(log(a)) not yet created]"}
protected

Definition at line 670 of file GravityModel.h.

670{"[D2LPT(log(a)) not yet created]"};

◆ D_2LPT_of_logkoverH0_loga

template<int NDIM>
Spline2D GravityModel< NDIM >::D_2LPT_of_logkoverH0_loga {"[D2LPT(log(k/H0),log(a)) not yet created]"}
protected

Definition at line 676 of file GravityModel.h.

676{"[D2LPT(log(k/H0),log(a)) not yet created]"};

◆ D_3LPTa_of_loga

template<int NDIM>
Spline GravityModel< NDIM >::D_3LPTa_of_loga {"[D3LPTa(log(a)) not yet created]"}
protected

Definition at line 671 of file GravityModel.h.

671{"[D3LPTa(log(a)) not yet created]"};

◆ D_3LPTa_of_logkoverH0_loga

template<int NDIM>
Spline2D GravityModel< NDIM >::D_3LPTa_of_logkoverH0_loga {"[D3LPTa(log(k/H0),log(a)) not yet created"}
protected

Definition at line 677 of file GravityModel.h.

677{"[D3LPTa(log(k/H0),log(a)) not yet created"};

◆ D_3LPTb_of_loga

template<int NDIM>
Spline GravityModel< NDIM >::D_3LPTb_of_loga {"[D3LPTb(log(a)) not yet created]"}
protected

Definition at line 672 of file GravityModel.h.

672{"[D3LPTb(log(a)) not yet created]"};

◆ D_3LPTb_of_logkoverH0_loga

template<int NDIM>
Spline2D GravityModel< NDIM >::D_3LPTb_of_logkoverH0_loga {"[D3LPTb(log(k/H0),log(a)) not yet created]"}
protected

Definition at line 678 of file GravityModel.h.

678{"[D3LPTb(log(k/H0),log(a)) not yet created]"};

◆ Dmnu_1LPT_of_loga

template<int NDIM>
Spline GravityModel< NDIM >::Dmnu_1LPT_of_loga {"[Dmnu1LPT(log(a)) not yet created]"}
protected

Definition at line 680 of file GravityModel.h.

680{"[Dmnu1LPT(log(a)) not yet created]"};

◆ Dmnu_1LPT_of_logkoverH0_loga

template<int NDIM>
Spline2D GravityModel< NDIM >::Dmnu_1LPT_of_logkoverH0_loga {"[Dmnu1LPT(log(k/H0),log(a)) not yet created]"}
protected

Definition at line 681 of file GravityModel.h.

681{"[Dmnu1LPT(log(k/H0),log(a)) not yet created]"};

◆ force_finite_difference_stencil_order

template<int NDIM>
int GravityModel< NDIM >::force_finite_difference_stencil_order {4}
protected

Definition at line 688 of file GravityModel.h.

688{4};

◆ force_use_finite_difference_force

template<int NDIM>
bool GravityModel< NDIM >::force_use_finite_difference_force {false}
protected

Definition at line 687 of file GravityModel.h.

687{false};

◆ H0_hmpc

template<int NDIM>
const double GravityModel< NDIM >::H0_hmpc = 1.0 / 2997.92458

Definition at line 38 of file GravityModel.h.

◆ koverH0high

template<int NDIM>
const double GravityModel< NDIM >::koverH0high = 100.0 / H0_hmpc
protected

Definition at line 665 of file GravityModel.h.

◆ koverH0low

template<int NDIM>
const double GravityModel< NDIM >::koverH0low = 1e-4 / H0_hmpc
protected

Definition at line 662 of file GravityModel.h.

◆ name

template<int NDIM>
std::string GravityModel< NDIM >::name
protected

Definition at line 653 of file GravityModel.h.

◆ npts_loga

template<int NDIM>
const int GravityModel< NDIM >::npts_loga = 1000
protected

Definition at line 661 of file GravityModel.h.

◆ npts_logk

template<int NDIM>
const int GravityModel< NDIM >::npts_logk = 200
protected

Definition at line 666 of file GravityModel.h.

◆ scaledependent_growth

template<int NDIM>
bool GravityModel< NDIM >::scaledependent_growth {false}
protected

Definition at line 684 of file GravityModel.h.

684{false};

◆ transferdata

template<int NDIM>
std::shared_ptr<LinearTransferData> GravityModel< NDIM >::transferdata
protected

Definition at line 647 of file GravityModel.h.


The documentation for this class was generated from the following file: