CLASSpp Manual
Cosmology reference and developer manual
Loading...
Searching...
No Matches
PerturbColumnWriter Class Reference

#include <perturb_source_context.h>

Detailed Description

Thin helper that handles both title-writing and data-writing in one pass. Construct in title mode or one of two data modes; call Add() once per column.

The two Add overloads let species use the same writer for:

  • WriteOutputColumns: Add(title, tp_index, active) — value = tk[tp_index]
  • PrintVariables : Add(title, value, active) — value passed directly

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