<div dir="ltr"><div><div><div><div>Hi,<br><br></div>I am trying to find the complex conjugate of a petsc scalar (petsc configured for complex numbers). Currently I do it by finding real and imaginary parts (using PetscRealPart, PetscImaginaryPart) and then subtracting them by multiplying the imaginary part with PETSC_i. Please let me know if there is a better way to do it for a single PetscScalar variable.<br><br></div>Thank you,<br><br></div>Regards,<br><br></div>Pradeep<br></div>