Skip to content

Commit

Permalink
Remove group if
Browse files Browse the repository at this point in the history
  • Loading branch information
davschneller committed Feb 19, 2024
1 parent 7b2f4c7 commit 5dd700d
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/pumgen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -419,13 +419,10 @@ int main(int argc, char* argv[]) {
// Group information

std::size_t groupBytesPerData = 4;
logInfo(rank) << "Writing group information";
writeH5Data<int, NoSecondDim>(meshInput->group(), h5file, "group", mesh, 3, H5T_NATIVE_INT,
H5T_STD_I32LE, chunksize, localSize[0], globalSize[0], reduceInts,
filterEnable, filterChunksize);
} else {
logInfo() << "No group information found in mesh";
}
logInfo(rank) << "Writing group information";
writeH5Data<int, NoSecondDim>(meshInput->group(), h5file, "group", mesh, 3, H5T_NATIVE_INT,
H5T_STD_I32LE, chunksize, localSize[0], globalSize[0], reduceInts,
filterEnable, filterChunksize);

// Write boundary condition
logInfo(rank) << "Writing boundary condition";
Expand Down

0 comments on commit 5dd700d

Please sign in to comment.