ggciag / mandyoc

MANDYOC is a finite element code written on top of the PETSc library to simulate thermo-chemical convection of the Earth's mantle
https://ggciag.github.io/mandyoc/
BSD 3-Clause "New" or "Revised" License
27 stars 5 forks source link

Fix strain seed command #98

Closed rafaelmds closed 2 years ago

rafaelmds commented 2 years ago

Fixes #97

Additionally, a new command is available: -strain_seed_constant. This command expects a logical (true or false) value. It defaults to true to keep the code compatible to previous versions.

If false is specified, then the values passed via -strain_seed command are summed over to the random_initial_strain value. Otherwise, the values are used as constant values.