Save Time with CLASS Code: Neat Trick for Background Quantity Evolution

  • Context: Graduate 
  • Thread starter Thread starter tsaic2808
  • Start date Start date
  • Tags Tags
    Cosmology quantities
Click For Summary
SUMMARY

The discussion focuses on optimizing the CLASS code by bypassing the internal Boltzmann solver to directly compute background quantities. Users confirmed that this approach significantly reduces computation time when the primary interest is the time evolution of background quantities rather than perturbations. The CLASS version mentioned is tailored for cosmological simulations, emphasizing efficiency in processing background data.

PREREQUISITES
  • Familiarity with CLASS code for cosmological simulations
  • Understanding of background quantities in cosmology
  • Basic knowledge of Boltzmann solvers and their role in perturbation theory
  • Experience with computational efficiency techniques in scientific programming
NEXT STEPS
  • Explore the CLASS code documentation for background quantity calculations
  • Investigate alternative methods for optimizing Boltzmann solvers
  • Learn about the implications of neglecting perturbations in cosmological models
  • Research time-saving techniques in numerical simulations for cosmology
USEFUL FOR

Cosmologists, astrophysicists, and researchers focused on computational efficiency in cosmological simulations, particularly those using CLASS code for background quantity analysis.

tsaic2808
Messages
1
Reaction score
0
Is there a neat way to "not" run the internal Boltzmann solver (for perturbations) in CLASS code and rather just solve for the background quantities? This way I can save the time otherwise spent in evaluating the perturbations and transfer functions. I am only interested in the time evolution of background quantities.
 

Similar threads

Replies
1
Views
1K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 33 ·
2
Replies
33
Views
5K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
15
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 11 ·
Replies
11
Views
4K