Reference documentation for deal.II version 9.6.0
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
petsc_compatibility.cc File Reference
#include <deal.II/lac/petsc_compatibility.h>
#include <petsc/private/pcimpl.h>
#include <petsc/private/petscimpl.h>
#include <petsc/private/snesimpl.h>
#include <petsc/private/tsimpl.h>
#include <petscdm.h>

Go to the source code of this file.

Namespaces

namespace  PETScWrappers
 

Macros

#define AssertPETSc(code)
 

Functions

void PETScWrappers::petsc_increment_state_counter (Vec v)
 
void PETScWrappers::petsc_increment_state_counter (Mat A)
 
PetscErrorCode PETScWrappers::pc_set_failed_reason (PC pc, PCFailedReason reason)
 
void PETScWrappers::snes_reset_domain_flags (SNES snes)
 
void PETScWrappers::snes_set_jacobian_domain_error (SNES snes)
 
void PETScWrappers::set_use_matrix_free (SNES snes, const bool mf_operator, const bool mf)
 
void PETScWrappers::set_use_matrix_free (TS ts, const bool mf_operator, const bool mf)
 
void PETScWrappers::ts_set_max_steps (TS ts, const PetscInt maxsteps)
 
void PETScWrappers::ts_set_max_time (TS ts, const PetscReal maxtime)
 
void PETScWrappers::ts_reset_dm (TS ts)
 
unsigned int PETScWrappers::ts_get_step_number (TS ts)
 
bool PETScWrappers::ts_has_snes (TS ts)
 

Macro Definition Documentation

◆ AssertPETSc

#define AssertPETSc ( code)
Value:
do \
{ \
PetscErrorCode ierr = (code); \
AssertThrow(ierr == 0, ExcPETScError(ierr)); \
} \
while (false)

Definition at line 31 of file petsc_compatibility.cc.