HyPar  1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
PetscComputePreconMatIMEX.cpp File Reference

Contains the function to assemble the preconditioning matrix. More...

#include <stdio.h>
#include <arrayfunctions.h>
#include <petscinterface.h>

Go to the source code of this file.

Macros

#define __FUNCT__   "PetscComputePreconMatIMEX"
 

Functions

int PetscComputePreconMatIMEX (Mat Pmat, Vec Y, void *ctxt)
 

Detailed Description

Contains the function to assemble the preconditioning matrix.

Author
Debojyoti Ghosh

Definition in file PetscComputePreconMatIMEX.cpp.

Macro Definition Documentation

◆ __FUNCT__

#define __FUNCT__   "PetscComputePreconMatIMEX"

Definition at line 13 of file PetscComputePreconMatIMEX.cpp.

Function Documentation

◆ PetscComputePreconMatIMEX()

int PetscComputePreconMatIMEX ( Mat  Pmat,
Vec  Y,
void *  ctxt 
)

Compute and assemble the preconditioning matrix for the implicit-explicit (IMEX) time integration of the governing equations: Right now, it just calls PetscComputePreconMatImpl()

Parameters
PmatPreconditioning matrix to construct
YSolution vector
ctxtApplication context

Definition at line 17 of file PetscComputePreconMatIMEX.cpp.

20 {
21  /* Same implementation as PetscComputePreconMatImpl() */
22  return(PetscComputePreconMatImpl(Pmat,Y,ctxt));
23 }
int PetscComputePreconMatImpl(Mat, Vec, void *)