SlepcInitialize
Initializes the SLEPc library. SlepcInitialize() calls PetscInitialize() if that has not been called yet, so this routine should always be called near the beginning of your program.
Synopsis
#include "slepc.h"
PetscErrorCode SlepcInitialize(int *argc,char ***args,char file[],const char help[])
Collective on MPI_COMM_WORLD or PETSC_COMM_WORLD if it has been set
Input Parameters
| argc | - count of number of command line arguments
|
| args | - the command line arguments
|
| file | - [optional] PETSc database file, defaults to ~username/.petscrc
(use PETSC_NULL for default)
|
| help | - [optional] Help message to print, use PETSC_NULL for no message
|
Fortran Note
Fortran syntax is very similar to that of PetscInitialize()
See Also
SlepcInitializeFortran(), SlepcFinalize(), PetscInitialize()
Level:beginner
Location:src/sys/slepcinit.c
Index of all sys routines
Table of Contents for all manual pages
Index of all manual pages
Examples
src/examples/ex1.c.html
src/examples/ex2.c.html
src/examples/ex3.c.html
src/examples/ex4.c.html
src/examples/ex5.c.html
src/examples/ex7.c.html
src/examples/ex8.c.html
src/examples/ex9.c.html
src/examples/ex10.c.html
src/examples/ex11.c.html
src/examples/ex1f.F.html