Skip to content

Commit

Permalink
Fix Xdmf file
Browse files Browse the repository at this point in the history
  • Loading branch information
davschneller committed Oct 18, 2023
1 parent 2067a61 commit e3dac91
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pumgen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -579,9 +579,9 @@ int main(int argc, char* argv[]) {
<< globalSize[0] << "\">" << basename << ":/group</DataItem>" << std::endl
<< " </Attribute>" << std::endl
<< " <Attribute Name=\"boundary\" Center=\"Cell\">" << std::endl
<< " <DataItem NumberType=\"Int\" Precision=\"4\" Format=\"HDF\" "
"Dimensions=\""
<< globalSize[0] << "\">" << basename << ":/boundary</DataItem>" << std::endl
<< " <DataItem NumberType=\"Int\" Precision=\"" << (boundaryType == 0 ? "4" : "8")
<< "\" Format=\"HDF\" Dimensions=\"" << globalSize[0] << "\">" << basename
<< ":/boundary</DataItem>" << std::endl
<< " </Attribute>" << std::endl
<< " </Grid>" << std::endl
<< " </Domain>" << std::endl
Expand Down

0 comments on commit e3dac91

Please sign in to comment.