Skip to content

Commit

Permalink
Incorporate feedback regarding the test
Browse files Browse the repository at this point in the history
  • Loading branch information
IshaanDesai committed Nov 4, 2024
1 parent a55ab27 commit a04944e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
15 changes: 7 additions & 8 deletions test/test_pyfans/input.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,13 @@
},
"n_it": 100,
"macroscale_loading": [
[[1, 0, 0, 0, 0, 0]],
[[0, 1, 0, 0, 0, 0]],
[[0, 0, 1, 0, 0, 0]],
[[0, 0, 0, 1, 0, 0]],
[[0, 0, 0, 0, 1, 0]],
[[0, 0, 0, 0, 0, 1]]
[[]],
[[]],
[[]],
[[]],
[[]],
[[]]
],

"results": ["stress_average", "strain_average", "absolute_error", "phase_stress_average", "phase_strain_average",
"microstructure", "displacement", "stress", "strain"]
"results": []
}
4 changes: 2 additions & 2 deletions test/test_pyfans/run_fans_as_library.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

macro_data = dict()

macro_data["strains1to3"] = np.array([1, 0, 0])
macro_data["strains4to6"] = np.array([0, 1, 0])
macro_data["strains1to3"] = np.random.rand(3)
macro_data["strains4to6"] = np.random.rand(3)

dt = 0.0001

Expand Down

0 comments on commit a04944e

Please sign in to comment.