Function loadSourcesFromFile

Function Documentation

void loadSourcesFromFile(const std::string &filePath, std::vector<Source> &sources)

Loads source data from a file into the sources vector.

This file contains functions for handling the non uniform source data in Sciantix. It includes loading source data from a file, interpolating values, printing the data, and writing results to a file.

Author

A. Zayat

Note

The file format should match expected input values.

Parameters:

sources – A reference to a vector of Source objects.