Skip to content
Snippets Groups Projects
Commit c2e30727 authored by Konstantin Kutscher's avatar Konstantin Kutscher
Browse files

Merge branch 'apps/DLR-F16-Solid' into develop

parents 1d7c4a4f cc3804ce
No related branches found
No related tags found
No related merge requests found
......@@ -71,7 +71,7 @@ bool MicrophoneArrayCoProcessor::addMicrophone(Vector3D coords)
mic->nodeIndexes = grid->getNodeIndexes(block, coords[0], coords[1], coords[2]);
microphones.push_back(mic);
strVector.push_back(new std::stringstream);
strVector.push_back(SPtr<std::stringstream>(new std::stringstream));
std::string fname = path+"/mic/mic_"+UbSystem::toString(micID)+".csv";
std::ofstream ostr;
......@@ -121,5 +121,6 @@ void MicrophoneArrayCoProcessor::writeFile(double step)
}
ostr << strVector[i]->str();
ostr.close();
strVector[i] = SPtr<std::stringstream>(new std::stringstream);
}
}
\ No newline at end of file
......@@ -45,7 +45,7 @@ private:
};
std::vector< SPtr<Mic> > microphones;
std::vector<std::stringstream* > strVector;
std::vector< SPtr<std::stringstream> > strVector;
int count;
int micID;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment