#define SlepcHeaderCreate(h,classid,class_name,descr,mansec,comm,destroy,view) \ ((PetscErrorCode)((!SlepcInitializeCalled && \ PetscError(comm,__LINE__,PETSC_FUNCTION_NAME,__FILE__,PETSC_ERR_ORDER,PETSC_ERROR_INITIAL, \ "Must call SlepcInitialize instead of PetscInitialize to use SLEPc classes")) || \ PetscHeaderCreate(h,classid,class_name,descr,mansec,comm,destroy,view))) /* context for monitors of type XXXMonitorConverged */ struct _n_SlepcConvMon
classid | - the classid associated with this object | |
class_name | - string name of class; should be static | |
descr | - string containing short description; should be static | |
mansec | - string indicating section in manual pages; should be static | |
comm | - the MPI Communicator | |
destroy | - the destroy routine for this object | |
view | - the view routine for this object |
h | - the newly created object |