Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/LibPETSc_startup.jl
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const petsc_library_file =
function DataTypeFromString(libhdl::Ptr{Cvoid}, name::AbstractString)
PetscDataTypeFromString_ptr = dlsym(libhdl, :PetscDataTypeFromString)
dtype_ref = Ref{PetscDataType}()
found_ref = Ref{PetscBool}()
found_ref = Ref{PetscBool}(PETSC_FALSE)
@chk ccall(
PetscDataTypeFromString_ptr,
PetscErrorCode,
Expand Down
4 changes: 2 additions & 2 deletions src/autowrapped/AO_wrappers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ $(_doc_external("Vec/AOMappingHasApplicationIndex"))
function AOMappingHasApplicationIndex(petsclib::PetscLibType, ao::AO, idex::PetscInt) end

@for_petsc function AOMappingHasApplicationIndex(petsclib::$UnionPetscLib, ao::AO, idex::$PetscInt )
hasIndex_ = Ref{PetscBool}()
hasIndex_ = Ref{PetscBool}(PETSC_FALSE)

@chk ccall(
(:AOMappingHasApplicationIndex, $petsc_library),
Expand Down Expand Up @@ -749,7 +749,7 @@ $(_doc_external("Vec/AOMappingHasPetscIndex"))
function AOMappingHasPetscIndex(petsclib::PetscLibType, ao::AO, idex::PetscInt) end

@for_petsc function AOMappingHasPetscIndex(petsclib::$UnionPetscLib, ao::AO, idex::$PetscInt )
hasIndex_ = Ref{PetscBool}()
hasIndex_ = Ref{PetscBool}(PETSC_FALSE)

@chk ccall(
(:AOMappingHasPetscIndex, $petsc_library),
Expand Down
134 changes: 67 additions & 67 deletions src/autowrapped/DM_wrappers.jl

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions src/autowrapped/DMaddons_wrappers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1233,7 +1233,7 @@ $(_doc_external("DM/DMSwarmDataBucketQueryDMSwarmDataFieldByName"))
function DMSwarmDataBucketQueryDMSwarmDataFieldByName(petsclib::PetscLibType, db::DMSwarmDataBucket, name::String) end

@for_petsc function DMSwarmDataBucketQueryDMSwarmDataFieldByName(petsclib::$UnionPetscLib, db::DMSwarmDataBucket, name::String )
found_ = Ref{PetscBool}()
found_ = Ref{PetscBool}(PETSC_FALSE)

@chk ccall(
(:DMSwarmDataBucketQueryDMSwarmDataFieldByName, $petsc_library),
Expand Down Expand Up @@ -1458,7 +1458,7 @@ $(_doc_external("DM/DMSwarmSortGetIsValid"))
function DMSwarmSortGetIsValid(petsclib::PetscLibType, sw::PetscDM) end

@for_petsc function DMSwarmSortGetIsValid(petsclib::$UnionPetscLib, sw::PetscDM )
isvalid_ = Ref{PetscBool}()
isvalid_ = Ref{PetscBool}(PETSC_FALSE)

@chk ccall(
(:DMSwarmSortGetIsValid, $petsc_library),
Expand Down Expand Up @@ -2030,7 +2030,7 @@ $(_doc_external("DM/DMPlexPointQueueEmptyCollective"))
function DMPlexPointQueueEmptyCollective(petsclib::PetscLibType, obj::PetscObject, queue::DMPlexPoCintQueue) end

@for_petsc function DMPlexPointQueueEmptyCollective(petsclib::$UnionPetscLib, obj::PetscObject, queue::DMPlexPoCintQueue )
empty_ = Ref{PetscBool}()
empty_ = Ref{PetscBool}(PETSC_FALSE)

@chk ccall(
(:DMPlexPointQueueEmptyCollective, $petsc_library),
Expand Down Expand Up @@ -3573,7 +3573,7 @@ $(_doc_external("DM/DMPlexTransformGetMatchStrata"))
function DMPlexTransformGetMatchStrata(petsclib::PetscLibType, tr::DMPlexTransform) end

@for_petsc function DMPlexTransformGetMatchStrata(petsclib::$UnionPetscLib, tr::DMPlexTransform )
match_ = Ref{PetscBool}()
match_ = Ref{PetscBool}(PETSC_FALSE)

@chk ccall(
(:DMPlexTransformGetMatchStrata, $petsc_library),
Expand Down Expand Up @@ -4174,7 +4174,7 @@ $(_doc_external("DM/DMPlexTransformCohesiveExtrudeGetTensor"))
function DMPlexTransformCohesiveExtrudeGetTensor(petsclib::PetscLibType, tr::DMPlexTransform) end

@for_petsc function DMPlexTransformCohesiveExtrudeGetTensor(petsclib::$UnionPetscLib, tr::DMPlexTransform )
useTensor_ = Ref{PetscBool}()
useTensor_ = Ref{PetscBool}(PETSC_FALSE)

@chk ccall(
(:DMPlexTransformCohesiveExtrudeGetTensor, $petsc_library),
Expand Down Expand Up @@ -4476,7 +4476,7 @@ $(_doc_external("DM/DMPlexTransformExtrudeGetTensor"))
function DMPlexTransformExtrudeGetTensor(petsclib::PetscLibType, tr::DMPlexTransform) end

@for_petsc function DMPlexTransformExtrudeGetTensor(petsclib::$UnionPetscLib, tr::DMPlexTransform )
useTensor_ = Ref{PetscBool}()
useTensor_ = Ref{PetscBool}(PETSC_FALSE)

@chk ccall(
(:DMPlexTransformExtrudeGetTensor, $petsc_library),
Expand Down Expand Up @@ -4542,7 +4542,7 @@ $(_doc_external("DM/DMPlexTransformExtrudeGetSymmetric"))
function DMPlexTransformExtrudeGetSymmetric(petsclib::PetscLibType, tr::DMPlexTransform) end

@for_petsc function DMPlexTransformExtrudeGetSymmetric(petsclib::$UnionPetscLib, tr::DMPlexTransform )
symmetric_ = Ref{PetscBool}()
symmetric_ = Ref{PetscBool}(PETSC_FALSE)

@chk ccall(
(:DMPlexTransformExtrudeGetSymmetric, $petsc_library),
Expand Down Expand Up @@ -4610,7 +4610,7 @@ $(_doc_external("DM/DMPlexTransformExtrudeGetPeriodic"))
function DMPlexTransformExtrudeGetPeriodic(petsclib::PetscLibType, tr::DMPlexTransform) end

@for_petsc function DMPlexTransformExtrudeGetPeriodic(petsclib::$UnionPetscLib, tr::DMPlexTransform )
periodic_ = Ref{PetscBool}()
periodic_ = Ref{PetscBool}(PETSC_FALSE)

@chk ccall(
(:DMPlexTransformExtrudeGetPeriodic, $petsc_library),
Expand Down Expand Up @@ -5277,7 +5277,7 @@ $(_doc_external("DM/DMLabelCompare"))
function DMLabelCompare(petsclib::PetscLibType, comm::MPI_Comm, l0::DMLabel, l1::DMLabel, message::Cchar) end

@for_petsc function DMLabelCompare(petsclib::$UnionPetscLib, comm::MPI_Comm, l0::DMLabel, l1::DMLabel, message::Cchar )
equal_ = Ref{PetscBool}()
equal_ = Ref{PetscBool}(PETSC_FALSE)

@chk ccall(
(:DMLabelCompare, $petsc_library),
Expand Down Expand Up @@ -5448,7 +5448,7 @@ $(_doc_external("DM/DMLabelHasValue"))
function DMLabelHasValue(petsclib::PetscLibType, label::DMLabel, value::PetscInt) end

@for_petsc function DMLabelHasValue(petsclib::$UnionPetscLib, label::DMLabel, value::$PetscInt )
contains_ = Ref{PetscBool}()
contains_ = Ref{PetscBool}(PETSC_FALSE)

@chk ccall(
(:DMLabelHasValue, $petsc_library),
Expand Down Expand Up @@ -5485,7 +5485,7 @@ $(_doc_external("DM/DMLabelHasPoint"))
function DMLabelHasPoint(petsclib::PetscLibType, label::DMLabel, point::PetscInt) end

@for_petsc function DMLabelHasPoint(petsclib::$UnionPetscLib, label::DMLabel, point::$PetscInt )
contains_ = Ref{PetscBool}()
contains_ = Ref{PetscBool}(PETSC_FALSE)

@chk ccall(
(:DMLabelHasPoint, $petsc_library),
Expand Down Expand Up @@ -5523,7 +5523,7 @@ $(_doc_external("DM/DMLabelStratumHasPoint"))
function DMLabelStratumHasPoint(petsclib::PetscLibType, label::DMLabel, value::PetscInt, point::PetscInt) end

@for_petsc function DMLabelStratumHasPoint(petsclib::$UnionPetscLib, label::DMLabel, value::$PetscInt, point::$PetscInt )
contains_ = Ref{PetscBool}()
contains_ = Ref{PetscBool}(PETSC_FALSE)

@chk ccall(
(:DMLabelStratumHasPoint, $petsc_library),
Expand Down Expand Up @@ -5956,7 +5956,7 @@ $(_doc_external("DM/DMLabelHasStratum"))
function DMLabelHasStratum(petsclib::PetscLibType, label::DMLabel, value::PetscInt) end

@for_petsc function DMLabelHasStratum(petsclib::$UnionPetscLib, label::DMLabel, value::$PetscInt )
exists_ = Ref{PetscBool}()
exists_ = Ref{PetscBool}(PETSC_FALSE)

@chk ccall(
(:DMLabelHasStratum, $petsc_library),
Expand Down
16 changes: 8 additions & 8 deletions src/autowrapped/IS_wrappers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ $(_doc_external("Vec/ISGetInfo"))
function ISGetInfo(petsclib::PetscLibType, is::IS, info::ISInfo, type::ISInfoType, compute::PetscBool) end

@for_petsc function ISGetInfo(petsclib::$UnionPetscLib, is::IS, info::ISInfo, type::ISInfoType, compute::PetscBool )
flg_ = Ref{PetscBool}()
flg_ = Ref{PetscBool}(PETSC_FALSE)

@chk ccall(
(:ISGetInfo, $petsc_library),
Expand Down Expand Up @@ -362,7 +362,7 @@ $(_doc_external("Vec/ISIdentity"))
function ISIdentity(petsclib::PetscLibType, is::IS) end

@for_petsc function ISIdentity(petsclib::$UnionPetscLib, is::IS )
ident_ = Ref{PetscBool}()
ident_ = Ref{PetscBool}(PETSC_FALSE)

@chk ccall(
(:ISIdentity, $petsc_library),
Expand Down Expand Up @@ -433,7 +433,7 @@ function ISContiguousLocal(petsclib::PetscLibType, is::IS, gstart::PetscInt, gen

@for_petsc function ISContiguousLocal(petsclib::$UnionPetscLib, is::IS, gstart::$PetscInt, gend::$PetscInt )
start_ = Ref{$PetscInt}()
contig_ = Ref{PetscBool}()
contig_ = Ref{PetscBool}(PETSC_FALSE)

@chk ccall(
(:ISContiguousLocal, $petsc_library),
Expand Down Expand Up @@ -471,7 +471,7 @@ $(_doc_external("Vec/ISPermutation"))
function ISPermutation(petsclib::PetscLibType, is::IS) end

@for_petsc function ISPermutation(petsclib::$UnionPetscLib, is::IS )
perm_ = Ref{PetscBool}()
perm_ = Ref{PetscBool}(PETSC_FALSE)

@chk ccall(
(:ISPermutation, $petsc_library),
Expand Down Expand Up @@ -1297,7 +1297,7 @@ $(_doc_external("Vec/ISSorted"))
function ISSorted(petsclib::PetscLibType, is::IS) end

@for_petsc function ISSorted(petsclib::$UnionPetscLib, is::IS )
flg_ = Ref{PetscBool}()
flg_ = Ref{PetscBool}(PETSC_FALSE)

@chk ccall(
(:ISSorted, $petsc_library),
Expand Down Expand Up @@ -1576,7 +1576,7 @@ $(_doc_external("Vec/ISGetCompressOutput"))
function ISGetCompressOutput(petsclib::PetscLibType, is::IS) end

@for_petsc function ISGetCompressOutput(petsclib::$UnionPetscLib, is::IS )
compress_ = Ref{PetscBool}()
compress_ = Ref{PetscBool}(PETSC_FALSE)

@chk ccall(
(:ISGetCompressOutput, $petsc_library),
Expand Down Expand Up @@ -2765,7 +2765,7 @@ $(_doc_external("Vec/ISEqual"))
function ISEqual(petsclib::PetscLibType, is1::IS, is2::IS) end

@for_petsc function ISEqual(petsclib::$UnionPetscLib, is1::IS, is2::IS )
flg_ = Ref{PetscBool}()
flg_ = Ref{PetscBool}(PETSC_FALSE)

@chk ccall(
(:ISEqual, $petsc_library),
Expand Down Expand Up @@ -2804,7 +2804,7 @@ $(_doc_external("Vec/ISEqualUnsorted"))
function ISEqualUnsorted(petsclib::PetscLibType, is1::IS, is2::IS) end

@for_petsc function ISEqualUnsorted(petsclib::$UnionPetscLib, is1::IS, is2::IS )
flg_ = Ref{PetscBool}()
flg_ = Ref{PetscBool}(PETSC_FALSE)

@chk ccall(
(:ISEqualUnsorted, $petsc_library),
Expand Down
28 changes: 14 additions & 14 deletions src/autowrapped/KSP_wrappers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ $(_doc_external("KSP/KSPGetReusePreconditioner"))
function KSPGetReusePreconditioner(petsclib::PetscLibType, ksp::PetscKSP) end

@for_petsc function KSPGetReusePreconditioner(petsclib::$UnionPetscLib, ksp::PetscKSP )
flag_ = Ref{PetscBool}()
flag_ = Ref{PetscBool}(PETSC_FALSE)

@chk ccall(
(:KSPGetReusePreconditioner, $petsc_library),
Expand Down Expand Up @@ -1197,7 +1197,7 @@ $(_doc_external("KSP/KSPGetInitialGuessNonzero"))
function KSPGetInitialGuessNonzero(petsclib::PetscLibType, ksp::PetscKSP) end

@for_petsc function KSPGetInitialGuessNonzero(petsclib::$UnionPetscLib, ksp::PetscKSP )
flag_ = Ref{PetscBool}()
flag_ = Ref{PetscBool}(PETSC_FALSE)

@chk ccall(
(:KSPGetInitialGuessNonzero, $petsc_library),
Expand Down Expand Up @@ -1268,7 +1268,7 @@ $(_doc_external("KSP/KSPGetErrorIfNotConverged"))
function KSPGetErrorIfNotConverged(petsclib::PetscLibType, ksp::PetscKSP) end

@for_petsc function KSPGetErrorIfNotConverged(petsclib::$UnionPetscLib, ksp::PetscKSP )
flag_ = Ref{PetscBool}()
flag_ = Ref{PetscBool}(PETSC_FALSE)

@chk ccall(
(:KSPGetErrorIfNotConverged, $petsc_library),
Expand Down Expand Up @@ -1337,7 +1337,7 @@ $(_doc_external("KSP/KSPGetInitialGuessKnoll"))
function KSPGetInitialGuessKnoll(petsclib::PetscLibType, ksp::PetscKSP) end

@for_petsc function KSPGetInitialGuessKnoll(petsclib::$UnionPetscLib, ksp::PetscKSP )
flag_ = Ref{PetscBool}()
flag_ = Ref{PetscBool}(PETSC_FALSE)

@chk ccall(
(:KSPGetInitialGuessKnoll, $petsc_library),
Expand Down Expand Up @@ -1378,7 +1378,7 @@ $(_doc_external("KSP/KSPGetComputeSingularValues"))
function KSPGetComputeSingularValues(petsclib::PetscLibType, ksp::PetscKSP) end

@for_petsc function KSPGetComputeSingularValues(petsclib::$UnionPetscLib, ksp::PetscKSP )
flg_ = Ref{PetscBool}()
flg_ = Ref{PetscBool}(PETSC_FALSE)

@chk ccall(
(:KSPGetComputeSingularValues, $petsc_library),
Expand Down Expand Up @@ -1453,7 +1453,7 @@ $(_doc_external("KSP/KSPGetComputeEigenvalues"))
function KSPGetComputeEigenvalues(petsclib::PetscLibType, ksp::PetscKSP) end

@for_petsc function KSPGetComputeEigenvalues(petsclib::$UnionPetscLib, ksp::PetscKSP )
flg_ = Ref{PetscBool}()
flg_ = Ref{PetscBool}(PETSC_FALSE)

@chk ccall(
(:KSPGetComputeEigenvalues, $petsc_library),
Expand Down Expand Up @@ -2290,7 +2290,7 @@ $(_doc_external("KSP/KSPGetDiagonalScale"))
function KSPGetDiagonalScale(petsclib::PetscLibType, ksp::PetscKSP) end

@for_petsc function KSPGetDiagonalScale(petsclib::$UnionPetscLib, ksp::PetscKSP )
scale_ = Ref{PetscBool}()
scale_ = Ref{PetscBool}(PETSC_FALSE)

@chk ccall(
(:KSPGetDiagonalScale, $petsc_library),
Expand Down Expand Up @@ -2360,7 +2360,7 @@ $(_doc_external("KSP/KSPGetDiagonalScaleFix"))
function KSPGetDiagonalScaleFix(petsclib::PetscLibType, ksp::PetscKSP) end

@for_petsc function KSPGetDiagonalScaleFix(petsclib::$UnionPetscLib, ksp::PetscKSP )
fix_ = Ref{PetscBool}()
fix_ = Ref{PetscBool}(PETSC_FALSE)

@chk ccall(
(:KSPGetDiagonalScaleFix, $petsc_library),
Expand Down Expand Up @@ -2497,7 +2497,7 @@ $(_doc_external("KSP/KSPSetUseExplicitTranspose"))
function KSPSetUseExplicitTranspose(petsclib::PetscLibType, ksp::PetscKSP) end

@for_petsc function KSPSetUseExplicitTranspose(petsclib::$UnionPetscLib, ksp::PetscKSP )
flg_ = Ref{PetscBool}()
flg_ = Ref{PetscBool}(PETSC_FALSE)

@chk ccall(
(:KSPSetUseExplicitTranspose, $petsc_library),
Expand Down Expand Up @@ -3631,7 +3631,7 @@ $(_doc_external("KSP/KSPGetConvergedNegativeCurvature"))
function KSPGetConvergedNegativeCurvature(petsclib::PetscLibType, ksp::PetscKSP) end

@for_petsc function KSPGetConvergedNegativeCurvature(petsclib::$UnionPetscLib, ksp::PetscKSP )
flg_ = Ref{PetscBool}()
flg_ = Ref{PetscBool}(PETSC_FALSE)

@chk ccall(
(:KSPGetConvergedNegativeCurvature, $petsc_library),
Expand Down Expand Up @@ -4769,8 +4769,8 @@ $(_doc_external("KSP/KSPGetOperatorsSet"))
function KSPGetOperatorsSet(petsclib::PetscLibType, ksp::PetscKSP) end

@for_petsc function KSPGetOperatorsSet(petsclib::$UnionPetscLib, ksp::PetscKSP )
mat_ = Ref{PetscBool}()
pmat_ = Ref{PetscBool}()
mat_ = Ref{PetscBool}(PETSC_FALSE)
pmat_ = Ref{PetscBool}(PETSC_FALSE)

@chk ccall(
(:KSPGetOperatorsSet, $petsc_library),
Expand Down Expand Up @@ -7915,7 +7915,7 @@ $(_doc_external("KSP/KSPPIPEGCRGetUnrollW"))
function KSPPIPEGCRGetUnrollW(petsclib::PetscLibType, ksp::PetscKSP) end

@for_petsc function KSPPIPEGCRGetUnrollW(petsclib::$UnionPetscLib, ksp::PetscKSP )
unroll_w_ = Ref{PetscBool}()
unroll_w_ = Ref{PetscBool}(PETSC_FALSE)

@chk ccall(
(:KSPPIPEGCRGetUnrollW, $petsc_library),
Expand Down Expand Up @@ -8256,7 +8256,7 @@ $(_doc_external("KSP/KSPMINRESGetUseQLP"))
function KSPMINRESGetUseQLP(petsclib::PetscLibType, ksp::PetscKSP) end

@for_petsc function KSPMINRESGetUseQLP(petsclib::$UnionPetscLib, ksp::PetscKSP )
qlp_ = Ref{PetscBool}()
qlp_ = Ref{PetscBool}(PETSC_FALSE)

@chk ccall(
(:KSPMINRESGetUseQLP, $petsc_library),
Expand Down
Loading
Loading