System Preprocessors
linpc.h
Go to the documentation of this file.
00001 #ifndef SYSPRO_PC_H
00002 #define SYSPRO_PC_H
00003 
00004 #include "petscpc.h"
00005 
00006 /* variations on Petsc PCs */
00007 #define PCRASM "rasm"
00008 #define PCSILU "silu"
00009 /* hypre */
00010 #define PCBOOMERAMG "boomeramg"
00011 #define PCEUCLID "euclid"
00012 #define PCPARASAILS "parasails"
00013 #define PCPILUT "pilut"
00014 /* direct solvers */
00015 #define PCMUMPS "mumps"
00016 #define PCSPOOLES "spooles"
00017 #define PCSUPERLU "superlu"
00018 #define PCUMFPACK "umfpack"
00019 /* stuff */
00020 #define PCBS95 "bs95"
00021 
00022 extern PetscErrorCode SetPetscOptionsForPC(PC pc,PCType pct0, int pcv,int pcvv);
00023 extern PetscErrorCode set_preconditioner_base_matrix(PCType,Mat,Mat*);
00024 extern PetscErrorCode set_pc_options(PCType pct, int pcv,int pcvv);
00025 extern PetscErrorCode pc_short_string(KSPType,int,int,char**);
00026 
00027 #endif