Commit 632ec4ca authored by sniklas142's avatar sniklas142 Committed by Cristian Lalescu
Browse files

changed variable name

parent eec00ff2
...@@ -102,14 +102,14 @@ int NSVE_field_stats<rnumber>::read_current_cvorticity(void) ...@@ -102,14 +102,14 @@ int NSVE_field_stats<rnumber>::read_current_cvorticity(void)
return EXIT_SUCCESS; return EXIT_SUCCESS;
} }
template <typename rnumber> template <typename rnumber>
int NSVE_field_stats<rnumber>::read_arbitrary_cvorticity(int iter) int NSVE_field_stats<rnumber>::read_arbitrary_cvorticity(int arbitrary_iteration)
{ {
TIMEZONE("NSVE_field_stats::read_arbitrary_cvorticity"); TIMEZONE("NSVE_field_stats::read_arbitrary_cvorticity");
this->vorticity->real_space_representation = false; this->vorticity->real_space_representation = false;
if (this->bin_IO != NULL) if (this->bin_IO != NULL)
{ {
char itername[16]; char itername[16];
sprintf(itername, "i%.5x", iter); sprintf(itername, "i%.5x", arbitrary_iteration);
std::string native_binary_fname = ( std::string native_binary_fname = (
this->simname + this->simname +
std::string("_cvorticity_") + std::string("_cvorticity_") +
...@@ -123,7 +123,7 @@ int NSVE_field_stats<rnumber>::read_arbitrary_cvorticity(int iter) ...@@ -123,7 +123,7 @@ int NSVE_field_stats<rnumber>::read_arbitrary_cvorticity(int iter)
this->vorticity->io( this->vorticity->io(
this->simname + std::string("_fields.h5"), this->simname + std::string("_fields.h5"),
"vorticity", "vorticity",
iter, arbitrary_iteration,
true); true);
} }
return EXIT_SUCCESS; return EXIT_SUCCESS;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment