prisms-center / plasticity

PRISMS Crystal Plasticity and Continuum Plasticity FEM code
Other
157 stars 77 forks source link

Case sensitivity of input parameters. #42

Open chu-k opened 2 years ago

chu-k commented 2 years ago

PRISMS crashes on incorrectly capitalized input lines. The capitalization patterns seem to be somewhat arbitrary, for example:

"Order of finite elements" "Write Mesh To EPS" "Output Equivalent strain" "periodic Tabular time" "Tabular Periodic Time Table"

It would be nice to not need to worry about these rules when writing input files. Possibly a simple fix to just sanitize (tolower) before comparison to valid commands set.

MRezaYaghoobi commented 2 years ago

We put this in our to-do list! I'll update you as we solve this issue.

chu-k commented 2 years ago

Thanks, Reza!