Implements support for PETSC_USE_COMPLEX case
Commit enhances the interface between HyTeG and PETSc to support the case that PETSc was compiled with PetscScalar being a datatype for complex values. Closes issue #137 (closed).
Compiling and linking against a complex version of PETSc worked. Selectively ran the following tests which succeeded:
- PetscTest
- P2P1StokesPetscApplyTest
- P2P1Stokes2DPetscSolveTest
- P2P1Stokes3DPetscSolveTest
In order to avoid regressions we would need to make a complex version of PETSc part of the pipeline.
Cheers
Marcus