18#ifndef __DEPRECATED_PETSC_HPP__
19#define __DEPRECATED_PETSC_HPP__
23#if PETSC_VERSION_GE(3, 7, 0)
30 PetscInt *ivalue, PetscBool *set) {
43 PetscReal *dval, PetscBool *set) {
56 PetscScalar *dval, PetscBool *set) {
69 char str[],
size_t size,
82 PetscBool *bval, PetscBool *set) {
96 PetscReal dval[], PetscInt *nmax,
110 const char *
const *list,
111 PetscInt next, PetscInt *value,
126 PetscInt dvalue[], PetscInt *nmax,
141 PetscScalar dvalue[],
154 const char name[], PetscInt *ivalue,
164 const char name[], PetscReal *dval,
175 PetscScalar *dval, PetscBool *set) {
184 const char name[],
char str[],
185 size_t size, PetscBool *set) {
194 const char name[], PetscBool *bval,
205 PetscReal dval[], PetscInt *nmax,
216 const char *
const *list,
217 PetscInt next, PetscInt *value,
229 PetscInt dvalue[], PetscInt *nmax,
240 const char name[], PetscScalar dvalue[],
241 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)