CLASSpp Manual
Cosmology reference and developer manual
Loading...
Searching...
No Matches
PerturbSwitchContext Struct Reference

#include <perturb_source_context.h>

Detailed Description

Context passed to BaseSpecies::CopyPerturbationsAcrossSwitch(). Bundles the kinematics and background needed for non-trivial migration logic (e.g., NCDM fluid-approximation collapse from full hierarchy to delta/theta/shear). Trivial slot-by-slot copies don't need the body — most species ignore the context.


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