Removed SPIDER and PETSc submodules (closes #196). They can now be installed via scripts in the tools/ directory. These scripts will download PETSc and SPIDER as zip files from OSF, decompress, and compile them. I have added functions for calling these scripts in utils/data.py, which in the future should be made accessible from the CLI. Updated the docs correspondingly.
In the future, we could also consider having PROTEUS run the get_petsc.sh and get_spider.sh scripts automatically if the user has selected SPIDER as the interior module of choice. I leave this for a future PR.
Also added some useful constants to constants.py.
Some optimisations to the module imports in the interior wrapper. Only imports the required functions, while previously it would import the DummyInterior functions even when using SPIDER for the interior model.
Renamed other files in tools/ to use consistent capitalisation.
Removed SPIDER and PETSc submodules (closes #196). They can now be installed via scripts in the
tools/
directory. These scripts will download PETSc and SPIDER as zip files from OSF, decompress, and compile them. I have added functions for calling these scripts inutils/data.py
, which in the future should be made accessible from the CLI. Updated the docs correspondingly.In the future, we could also consider having PROTEUS run the
get_petsc.sh
andget_spider.sh
scripts automatically if the user has selected SPIDER as the interior module of choice. I leave this for a future PR.Also added some useful constants to
constants.py
.Some optimisations to the module imports in the interior wrapper. Only imports the required functions, while previously it would import the DummyInterior functions even when using SPIDER for the interior model.
Renamed other files in
tools/
to use consistent capitalisation.