System Preprocessors
|
#include <stdlib.h>
#include "petscpc.h"
#include "petscksp.h"
#include "anamod.h"
#include "linpc.h"
Go to the source code of this file.
Functions | |
static PetscErrorCode | set_blocked_sub_pc (int pcv) |
PetscErrorCode | pc_string (KSPType pct, int pcv, int pcvv, char **s) |
PetscErrorCode | pc_short_string (KSPType pct, int pcv, int pcvv, char **s) |
static PetscErrorCode | ilu_stats_function (PC pc, void *ctx) |
PetscErrorCode | get_pc_stats_function (PCType pct, int(**f)(PC, void *)) |
PetscErrorCode | set_preconditioner_base_matrix (PCType pct, Mat B, Mat *Buse) |
PetscErrorCode | SetPetscOptionsForPC (PC pc, PCType pct0, int pcv, int pcvv) |
PetscErrorCode get_pc_stats_function | ( | PCType | pct, |
int(**)(PC, void *) | f | ||
) |
Definition at line 243 of file pcstuff.c.
References CHKERRQ(), ierr, and ilu_stats_function().
static PetscErrorCode ilu_stats_function | ( | PC | pc, |
void * | ctx | ||
) | [static] |
Definition at line 226 of file pcstuff.c.
Referenced by get_pc_stats_function().
PetscErrorCode pc_short_string | ( | KSPType | pct, |
int | pcv, | ||
int | pcvv, | ||
char ** | s | ||
) |
PetscErrorCode pc_string | ( | KSPType | pct, |
int | pcv, | ||
int | pcvv, | ||
char ** | s | ||
) |
static PetscErrorCode set_blocked_sub_pc | ( | int | pcv | ) | [static] |
Set the parameter value for a pc; this routine is only called for parametrised pcs
Definition at line 13 of file pcstuff.c.
References CHKERRQ(), and ierr.
Referenced by SetPetscOptionsForPC().
PetscErrorCode set_preconditioner_base_matrix | ( | PCType | pct, |
Mat | B, | ||
Mat * | Buse | ||
) |
PetscErrorCode SetPetscOptionsForPC | ( | PC | pc, |
PCType | pct0, | ||
int | pcv, | ||
int | pcvv | ||
) |
Definition at line 304 of file pcstuff.c.
References CHKERRQ(), ierr, PCBOOMERAMG, PCBS95, PCEUCLID, PCMUMPS, PCPARASAILS, PCPILUT, PCRASM, PCSILU, PCSPOOLES, PCSUPERLU, PCUMFPACK, and set_blocked_sub_pc().
Referenced by setup_pc().