Function writeToFile¶
Defined in File SourceHandler.h
Function Documentation¶
-
void writeToFile(const std::vector<Source> &interpolatedSources, double GrainRadius)¶
Writes the processed source data to an output file in the same format as the input file with an extra column for the average value of the source across the grain.
- Parameters:
sources – A constant reference to the sources data to be written.
GrainRadius – The grain radius is used to compute the volume averaged value of the source across the grain.