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

Wrong check of number of layers from -seed command and interfaces file #113

Closed rafaelmds closed 1 year ago

rafaelmds commented 1 year ago

The current code don't check if the -seed command was used, hence, it uses the auxiliary large, default number of layers used to allocate space to parse the -seed command to compare to the number of layers from interfaces.txt file.

To fix this we need to check if the -seed command was used.