Skip to content

Commit

Permalink
Uncomment the data header in NEML2 verification test files
Browse files Browse the repository at this point in the history
  • Loading branch information
hugary1995 authored and reverendbedford committed Aug 10, 2023
1 parent 336c522 commit 41b98e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion util/neml2_verification/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ viscoplastic.xml viscoplastic_linear_isotropic xx xx no_temperature 1e-5 1e-8
Compare Perzyna viscoplasticity with linear isotropic hardening
# Test input as a space-separated list of time strain stress and
# (optionally) temperature values
# time strain_xx strain_yy strain_zz strain_yz strain_xz strain_xy stress_xx stress_yy stress_zz stress_yz stress_xz stress_xy (temperature)
time strain_xx strain_yy strain_zz strain_yz strain_xz strain_xy stress_xx stress_yy stress_zz stress_yz stress_xz stress_xy (temperature)
0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
1.0 0.001 -0.0005 -0.0005 0.0 0.0 0.0 100 0 0 0 0 0 0
...
Expand Down
2 changes: 1 addition & 1 deletion util/neml2_verification/run_neml2_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def drive_all_strain(model, emax, erate, nsteps, T):
f.write("# Comment line\n")
f.write("\n")
f.write("# The following uses the Mandel convention to store the strain and stress\n")
data_header = "# time strain_xx strain_yy strain_zz strain_yz strain_xz strain_xy stress_xx stress_yy stress_zz stress_yz stress_xz stress_xy"
data_header = "time strain_xx strain_yy strain_zz strain_yz strain_xz strain_xy stress_xx stress_yy stress_zz stress_yz stress_xz stress_xy"
if use_T:
data_header += " temperature"
f.write(data_header + "\n")
Expand Down

0 comments on commit 41b98e5

Please sign in to comment.