7#ifndef __DEPRECATED_PETSC_HPP__
8#define __DEPRECATED_PETSC_HPP__
12#if PETSC_VERSION_GE(3, 7, 0)
19 PetscInt *ivalue, PetscBool *set) {
32 PetscReal *dval, PetscBool *set) {
45 PetscScalar *dval, PetscBool *set) {
58 char str[],
size_t size,
71 PetscBool *bval, PetscBool *set) {
85 PetscReal dval[], PetscInt *nmax,
99 const char *
const *list,
100 PetscInt next, PetscInt *value,
115 PetscInt dvalue[], PetscInt *nmax,
130 PetscScalar dvalue[],
143 const char name[], PetscInt *ivalue,
153 const char name[], PetscReal *dval,
164 PetscScalar *dval, PetscBool *set) {
173 const char name[],
char str[],
174 size_t size, PetscBool *set) {
183 const char name[], PetscBool *bval,
194 PetscReal dval[], PetscInt *nmax,
205 const char *
const *list,
206 PetscInt next, PetscInt *value,
218 PetscInt dvalue[], PetscInt *nmax,
229 const char name[], PetscScalar dvalue[],
230 PetscInt *nmax, PetscBool *set) {
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
#define MoFEMFunctionBeginHot
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
static MoFEMErrorCodeGeneric< PetscErrorCode > ierr
implementation of Data Operators for Forces and Sources
PetscErrorCode PetscOptionsGetIntArray(PetscOptions options, const char pre[], const char name[], PetscInt dvalue[], PetscInt *nmax, PetscBool *set)
PetscErrorCode PetscOptionsGetInt(PetscOptions *, const char pre[], const char name[], PetscInt *ivalue, PetscBool *set)
PetscErrorCode PetscOptionsGetReal(PetscOptions *, const char pre[], const char name[], PetscReal *dval, PetscBool *set)
PetscErrorCode PetscOptionsGetScalarArray(PetscOptions options, const char pre[], const char name[], PetscScalar dvalue[], PetscInt *nmax, PetscBool *set)
PetscErrorCode PetscOptionsGetBool(PetscOptions *, const char pre[], const char name[], PetscBool *bval, PetscBool *set)
PetscErrorCode PetscOptionsGetScalar(PetscOptions *, const char pre[], const char name[], PetscScalar *dval, PetscBool *set)
PetscErrorCode PetscOptionsGetRealArray(PetscOptions *, const char pre[], const char name[], PetscReal dval[], PetscInt *nmax, PetscBool *set)
PetscErrorCode PetscOptionsGetEList(PetscOptions *, const char pre[], const char name[], const char *const *list, PetscInt next, PetscInt *value, PetscBool *set)
PetscErrorCode PetscOptionsGetString(PetscOptions *, const char pre[], const char name[], char str[], size_t size, PetscBool *set)