Skip to content

Commit

Permalink
update cipher task schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
aplowman committed Jan 9, 2024
1 parent 569fa7b commit f1ca8c9
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 6 deletions.
2 changes: 1 addition & 1 deletion software.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ cipher:
instance_defaults:
version_info:
cipher_parse:
version: '0.4.0'
version: '0.5.1a0'
executable: cipher.exe
env: |
module load apps/binapps/anaconda3/2020.07
Expand Down
69 changes: 64 additions & 5 deletions task_schemas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1654,6 +1654,7 @@
output: phase_field_input
commands:
- command: python generate_phase_field_input_from_random_voronoi.py inputs.hdf5

- name: from_random_voronoi_with_orientations
implementations:
- name: cipher
Expand All @@ -1671,8 +1672,10 @@
default: null
- name: is_periodic
default: false
- name: interface_energy_misorientation_expansion
- name: interface_binning
default: null
# A dict that, if not None, is passed as keyword arguments to
# `CIPHERInput.bin_interfaces_by_misorientation_angle`
input_map:
- inputs:
- materials
Expand All @@ -1686,7 +1689,53 @@
- orientations
- random_seed
- is_periodic
- interface_energy_misorientation_expansion
- interface_binning
file: inputs.hdf5
save: false
- inputs: []
file: generate_phase_field_input_from_random_voronoi_orientations.py
save: false
output_map:
- files:
- name: outputs.hdf5
save: false
output: phase_field_input
commands:
- command: python generate_phase_field_input_from_random_voronoi_orientations.py inputs.hdf5

- name: from_random_voronoi_with_orientation_gradient
implementations:
- name: cipher
inputs:
- materials
- interfaces
- num_phases
- grid_size
- size
- components
- outputs
- solution_parameters
- orientation_gradient
- name: random_seed
default: null
- name: is_periodic
default: false
- name: interface_binning
default: null
input_map:
- inputs:
- materials
- interfaces
- num_phases
- grid_size
- size
- components
- outputs
- solution_parameters
- orientation_gradient
- random_seed
- is_periodic
- interface_binning
file: inputs.hdf5
save: false
- inputs: []
Expand All @@ -1699,6 +1748,7 @@
output: phase_field_input
commands:
- command: python generate_phase_field_input_from_random_voronoi_orientations.py inputs.hdf5

- name: from_volume_element
implementations:
- name: cipher
Expand All @@ -1713,10 +1763,15 @@
default: null
- name: size
default: null
ignore_dependency_from: ["generate_volume_element"]
- name: random_seed
default: null
- name: interface_energy_misorientation_expansion
- name: interface_binning
default: null
# A dict that, if not None, is passed as keyword arguments to
# `CIPHERInput.bin_interfaces_by_misorientation_angle`
- name: keep_3D
default: false
input_map:
- inputs:
- volume_element
Expand All @@ -1728,7 +1783,8 @@
- outputs
- solution_parameters
- random_seed
- interface_energy_misorientation_expansion
- interface_binning
- keep_3D
file: inputs.hdf5
save: false
- inputs: []
Expand Down Expand Up @@ -1763,12 +1819,15 @@
default: true
- name: delete_VTUs # delete original VTU outputs from CIPHER?
default: false
- name: separate_mapping_files
default: false
input_map:
- inputs:
- phase_field_input
file: inputs.hdf5
save: false
- inputs: []
- inputs:
- separate_mapping_files
file: write_cipher_input.py
save: false
- inputs:
Expand Down

0 comments on commit f1ca8c9

Please sign in to comment.