Skip to content

Commit

Permalink
Merge pull request #2 from mikesmic/master
Browse files Browse the repository at this point in the history
Add image_axis parameter for microstructure image
  • Loading branch information
aplowman authored Jul 28, 2020
2 parents 98acc9e + 704fc54 commit 4ccc112
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions matflow_damask/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,12 @@ def format_rve_size(size):


@func_mapper(task='generate_volume_element', method='extrusion')
def volume_element_from_microstructure_image(microstructure_image, depth):
def volume_element_from_microstructure_image(microstructure_image, depth, image_axes):
out = {
'volume_element': volume_element_from_2D_microstructure(
microstructure_image,
depth
depth,
image_axes
)
}
return out
Expand Down

0 comments on commit 4ccc112

Please sign in to comment.