Skip to content

Commit

Permalink
Agrhhhhh
Browse files Browse the repository at this point in the history
  • Loading branch information
abkein committed Dec 3, 2024
1 parent cb350d7 commit 1fa1b91
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/dump_cluster_csv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#include "memory.h"
#include "modify.h"
#include "update.h"
#include "valgrind/callgrind.h"

#include <cstring>

Expand Down Expand Up @@ -152,13 +151,11 @@ void DumpClusterCSV::write_header(bigint /*ndump*/)
void DumpClusterCSV::write()
{
// Write the vector data to the CSV file for each compute
CALLGRIND_START_INSTRUMENTATION;
for (int i = 0; i < num_vectors; ++i) {
if (compute_vectors[i]->invoked_vector != update->ntimestep) {
compute_vectors[i]->compute_vector();
}
}
CALLGRIND_STOP_INSTRUMENTATION;

for (int i = 0; i < num_scalars; ++i) {
if (compute_scalars[i]->invoked_scalar != update->ntimestep) {
Expand Down

0 comments on commit 1fa1b91

Please sign in to comment.