HyPar  1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
PetscComputePreconMatIMEX.cpp
Go to the documentation of this file.
1 
6 #ifdef with_petsc
7 
8 #include <stdio.h>
9 #include <arrayfunctions.h>
10 #include <petscinterface.h>
11 
12 #undef __FUNCT__
13 #define __FUNCT__ "PetscComputePreconMatIMEX"
14 
18  Vec Y,
19  void *ctxt )
20 {
21  /* Same implementation as PetscComputePreconMatImpl() */
22  return(PetscComputePreconMatImpl(Pmat,Y,ctxt));
23 }
24 
25 #endif
int PetscComputePreconMatIMEX(Mat Pmat, Vec Y, void *ctxt)
int PetscComputePreconMatImpl(Mat, Vec, void *)
Contains macros and function definitions for common array operations.