#include "petscsys.h" PetscErrorCode PetscOptionsInsertFile(MPI_Comm comm,PetscOptions options,const char file[],PetscBool require)Collective
comm | - the processes that will share the options (usually PETSC_COMM_WORLD) | |
options | - options database, use NULL for default global database | |
file | - name of file, ".yml" and ".yaml" filename extensions are inserted as YAML options, append ":yaml" to filename to force YAML options. | |
require | - if PETSC_TRUE will generate an error if the file does not exist |