[petsc-users] PetscCall( ) in fortran
Sanjay Govindjee
s_g at berkeley.edu
Thu Aug 17 18:44:30 CDT 2023
Two questions about the PetscCall( ) etc. functionality in fortran:
(1) To use this functionality, is it required to use a .F90 naming
convention? or should I be able to use .F?
(2) Is it permitted to use line continuation within these calls? For
example something like
PetscCallMPIA(MPI_Allreduce(localval,globalsum,1,&
MPIU_REAL,MPIU_SUM, PETSC_COMM_WORLD,ierr))
or is it required to just have an extra long line? or is there an
alternate syntax for continuation in this case?
-sanjay
More information about the petsc-users
mailing list