Function ReadNonUniformSource

Function Documentation

void ReadNonUniformSource(Source &non_uniform_source)

Reads the multiregion source values (normalized domain, slopes and intercepts) from the “general_source.txt” file. This reader is a dedicated reader for the SpectralDiffusion_General_Source solver. If the file is general_source.txt is missing, the solver doesn’t run.

Author

A. Zayat

Parameters:
  • non_uniform_source – Reference to a source where the data will be stored

  • time – the time at which we have this source functiom