10 std::ifstream instream(incsv.
fullPath());
11 if (!instream.is_open()) {
15 for (
unsigned int ireplica = 0; ireplica < nreplicas; ++ireplica) {
17 getline(instream, linestr);
18 std::istringstream
line(linestr);
19 for (
unsigned int ieigen = 0; ieigen <
neigenvectors; ++ieigen) {
21 getline(
line, valstr,
',');
22 std::istringstream
val(valstr);
33 for (
unsigned int irep = 0; irep < nreplicas; ++irep) {
34 inweightv[irep] = inweights[irep] - nomweight;
40 outweights[ieig] = outweightv[ieig] + nomweight;