Lines Matching refs:an
133 - One cannot pass a scalar variable to a function expecting an array, {any}`sec_passarray`.
135 - One must pass pointers to arrays for arguments that output an array, for example `PetscScalar, po…
151 In the Fortran version, each PETSc routine has as its final argument an
153 nonzero if an error has been detected; otherwise, it is zero. For
176 a single value one can use the Fortran [] notation to pass the scalar as an array, for example
207 Where the code expects an array, then use `PETSC_NULL_XXX_ARRAY`. For example:
225 Finally when a subroutine returns a `PetscObject` through an argument, to check if it is `NULL` you…
253 For PETSc routine arguments that return an array of `PetscInt`, `PetscScalar`, `PetscReal` or of PE…
254 one passes in a pointer to an array and the PETSc routine returns an array containing the values. F…
378 Certain PETSc functions return a context in an argument, for example, `SNESGetApplicationContext()`…
392 But sadly, this alone will not work. One must also specifically tell the Fortran compiler in an int…
406 When a function pointer (declared as external in Fortran) is passed as an argument to a PETSc funct…
487 all lowercase. With some compilers, the Fortran compiler appends an underscore