Version 2.0.0
Waves 2.0.0
Context
This MR removes the compatibility with python 2 and adds the capability to easily link another code to waves using CMake, as well as a feature to read results from the disk.
Changes
- Remove all import from the future libs of python, the code is now compatible with python 3 only
- Add a waves-config file allowing to easily find and link waves to another code using CMake
- Add a
loadmethod to GmshImport to read results from the disk (restart/checkpoint feature) - Add a UnitTest class to test the classes and methods in tbox which can not be accessed directly through python
- Rename katropton to katoptron, although this was done in !59 (merged), it was not referenced by a tag
- Various minor cleaning and bugfixing
Comments
- The
GmshImportandGmshExportclasses need to be upgraded to deal with gmsh format 4, as well as to read and write data in binary - The new method
GmshImport::loadcontains a lot of repeated code, similarly toGmshExport::save, there might be a way to improve this
Tests
Passed on ubuntu20.04 (python 3.8.2), and msys2 (python 3.8.1).
Edited by Adrien Crovato