Skip to content

Commit

Permalink
correct parallel I/O for fom solution
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry Yu authored and Henry Yu committed Oct 4, 2023
1 parent 85ab8c8 commit 18c6823
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/prom/linear_elasticity_global_rom.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@

# check if this is correct
pmesh.Print(mesh_name, precision)
np.savetxt(sol_name,-X.GetDataArray(),fmt='%.16f')
np.savetxt(sol_name,x.GetDataArray(),fmt='%.16f')


# 27. Calculate the relative error of the ROM prediction compared to FOM
Expand Down

0 comments on commit 18c6823

Please sign in to comment.