double -> PetscScalar