Skip to content

Commit

Permalink
update help info
Browse files Browse the repository at this point in the history
  • Loading branch information
haidi-ustc committed Nov 10, 2023
1 parent 887386b commit f4e1dab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mech2d/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def main():
parser_post.add_argument('-i','--inputfile', type=str, default='', help="Parsing elastic constant tensor from input file")
parser_post.add_argument('-p','--properties', type=str, default='elc', choices=['elc', 'ssc'], help="What do you want to calcuation? elastic constant or stress strain curve? default value: 'elc'.")
parser_post.add_argument('--skip', action="store_true" , help="Whether skip the data parsing ? if true, it means the Def_*_Energy.dat should be exists in corresponding folder. default value: False.")
parser_post.add_argument('-o','--order', type=int, default=0, help="The order of polynomial for fitting. Default value: 4 for strain-stress approach and 3 for stress-strain method")
parser_post.add_argument('-o','--order', type=int, default=0, help="The order of polynomial for fitting. Default value: 4 for energy approach and 3 for stress method")
parser_post.add_argument('-f','--fmt', type=str, default='png', help="The format of output figure. Default value: .jpg")
parser_post.add_argument('-d','--dpi', type=int, default=100, help="The resolution of output figure. Default value: 100")
parser_post.add_argument('--plot', action="store_true", help="plot the figures")
Expand Down

0 comments on commit f4e1dab

Please sign in to comment.