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,
227 inline PetscErrorCode
229 const char name[], PetscScalar dvalue[],
230 PetscInt *nmax, PetscBool *set) {
242 #endif //__DEPRECATED_PETSC_HPP__