MCPcopy Create free account
hub / github.com/SeisSol/SeisSol / parseSamples

Function parseSamples

preprocessing/science/rconv/src/SRF.cpp:44–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42#include <fstream>
43
44void parseSamples(std::ifstream& in, std::vector<double>& samples, unsigned numSamples)
45{
46 samples.resize(numSamples);
47 for (unsigned sampleNo = 0; sampleNo < numSamples; ++sampleNo) {
48 in >> samples[sampleNo];
49 }
50}
51
52void parsePOINTS_1_0(std::ifstream& in, SRFPointSource& ps)
53{

Callers 2

parsePOINTS_1_0Function · 0.85
parsePOINTS_2_0Function · 0.85

Calls 1

resizeMethod · 0.80

Tested by

no test coverage detected