diff --git a/src/outputs/per_block.cpp b/src/outputs/per_block.cpp index 0468b979..2046f38c 100644 --- a/src/outputs/per_block.cpp +++ b/src/outputs/per_block.cpp @@ -228,12 +228,7 @@ void UserOutput::WriteOutputFile(Mesh *pm, ParameterInput *pin, SimTime *tm, info_group); // Boundary conditions - std::vector boundary_condition_str(BOUNDARY_NFACES); - for (size_t i = 0; i < boundary_condition_str.size(); i++) { - boundary_condition_str[i] = GetBoundaryString(pm->mesh_bcs[i]); - } - - HDF5WriteAttribute("BoundaryConditions", boundary_condition_str, info_group); + HDF5WriteAttribute("BoundaryConditions", pm->mesh_bc_names, info_group); Kokkos::Profiling::popRegion(); // write Info } // Info section