Skip to content

Commit

Permalink
Add test config
Browse files Browse the repository at this point in the history
  • Loading branch information
ckendrick committed Jul 11, 2024
1 parent c04bdc0 commit 80272f0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/stokes/array.8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ mesh:
type: component-wise
component-wise:
# you can try other config files you generated by specifying it here.
global_config: "configs/box-channel.8x8.000000.h5"
global_config: "configs/test.box-channel.8x8.h5"
components:
- name: "empty"
file: "meshes/square.o3.mesh"
Expand Down
5 changes: 5 additions & 0 deletions examples/stokes/generate_configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,8 @@
example.addComponent(comp)

example.GenerateAllConfigs(0)

test = BoxChannelConfig(8,8)
for name, comp in comp_list.items():
test.addComponent(comp)
test.CreateRandomConfig('test.box-channel.8x8.h5')
1 change: 1 addition & 0 deletions examples/stokes/setup_stokes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ python3 generate_configs.py

mkdir configs/
mv box-channel.comp.h5 configs/
mv test.box-channel.8x8.h5 configs/

mkdir configs/samples/
mv *.h5 configs/samples/

0 comments on commit 80272f0

Please sign in to comment.