Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit 93541f92 authored by kraus's avatar kraus
Browse files

Merge branch '582-ebdump-for-3ddynamic-field-maps-not-working-if-in-subdirectory' into 'master'

Resolve "EBDUMP for 3DDynamic field maps not working if in subdirectory"

Closes #582

See merge request !411
parents c70a03a3 4dfe9950
No related branches found
No related tags found
1 merge request!411Resolve "EBDUMP for 3DDynamic field maps not working if in subdirectory"
...@@ -740,10 +740,10 @@ void Fieldmap::write3DField(unsigned int nx, ...@@ -740,10 +740,10 @@ void Fieldmap::write3DField(unsigned int nx,
if (Ippl::myNode() != 0 || if (Ippl::myNode() != 0 ||
(ef.size() != numpoints && bf.size() != numpoints)) return; (ef.size() != numpoints && bf.size() != numpoints)) return;
size_t extensionStart = Filename_m.find_last_of('.'); boost::filesystem::path p(Filename_m);
std::string fname = Util::combineFilePath({ std::string fname = Util::combineFilePath({
OpalData::getInstance()->getAuxiliaryOutputDirectory(), OpalData::getInstance()->getAuxiliaryOutputDirectory(),
Filename_m.substr(0,extensionStart) + ".vtk" p.stem().string() + ".vtk"
}); });
std::ofstream of; std::ofstream of;
of.open (fname); of.open (fname);
......
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