diff --git a/CHANGELOG.md b/CHANGELOG.md index 66194f9b7..c3ea9758b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,10 +2,21 @@ ## Unreleased +### Behaviour changes + +- A `LibPETSc` call whose arguments match no generated method, such as an `Int` where the library takes its scalar type, throws a `MethodError` naming the argument types, instead of an `ErrorException` with the text "no generated method for these argument types". +- `library_info()` prints as the `NamedTuple` it returns. The report it printed came from a `show` method that also changed how any other `NamedTuple` with the same five field names printed. `PETSc.petsclibs` lists the libraries loaded in the session. + +### Added + +- The handle types are public API, with docstrings: the abstract types to annotate with (`AbstractPetscVec`, `AbstractPetscMat`, `AbstractPetscDM`, `AbstractKSP`, `AbstractPC`, `AbstractSNES`, `AbstractTS`, `AbstractPetscOptions`, `AbstractIS`, `AbstractAO`, `AbstractPF`, `AbstractTao`) and the handles `PetscDM`, `PC`, `IS`, `AO`, `PF` and `Tao`, all reachable as `PETSc.X`. `PETSc.realtype(petsclib)` gives the library's real type. + ### Fixed - A dense matrix made with `PetscMat(petsclib, A::Matrix)` or `PetscMat(petsclib, m, n; type = :dense)` could lose its storage while a KSP still used it: once the Julia handle was collected, the array went with it, and the next solve read freed memory (a wrong answer or a PETSc zero-pivot error). The array now lives as long as the PETSc matrix, as it already did for CSR matrices and vectors on Julia arrays. `type = :dense` lets PETSc allocate the storage. - A `DMDA`, `DMStag` or `DMPlex` constructor, or `fe_create_default`, that threw inside PETSc (for example on `da_refine = "abc"`) left its options pushed on PETSc's options stack. Every object created afterwards read them, and the options could no longer be destroyed. The options are now popped whether or not the call throws. +- `PETSc.scalartype` and `PETSc.inttype` are now the same functions as `LibPETSc.scalartype` and `LibPETSc.inttype`. They were two separate copies, so a method added to one was missing from the other. +- `mul!`, `ksp \ b`, `ldiv!` and `solve!(x, ksp, b)` took only `PetscVec`, so a borrowed `VecPtr` gave a `MethodError` (`A * x` with a `VecPtr` failed inside). They take any vector handle. ## v0.5.3 diff --git a/docs/src/man/naming.md b/docs/src/man/naming.md index 23e4f2182..c3494d8ac 100644 --- a/docs/src/man/naming.md +++ b/docs/src/man/naming.md @@ -1010,21 +1010,17 @@ The exceptions keep their underscore, because there it separates an inner worker | v0.4 | v0.5 | |---|---| | `set_petsclib` | `PetscLibType` constructor | -| `library_info` | returns a `NamedTuple`, printed via `show` | +| `library_info` | returns a `NamedTuple` | | `audit_petsc_file` | `audit_file` | | `set_library!`, `unset_library!` | unchanged ([§7](#7.-Mutation) global-state clause) | | `audit_walk`, `audit_targets`, `audit_report`, `audit_creator`, `audit_destroyer`, `audit_callee`, `audit_argnames`, `audit_isbroadcast`, `audit_hasparseerror` | unchanged (internal) | `library_info` printed a report and returned `nothing`, so its name promised data it never handed back. -It now returns the values and gets a `show` method, which keeps the REPL output and makes the data reachable from tests: +It now returns the values, so code and tests can read them: ```julia info = library_info() info.scalar # Float64 - -julia> library_info() -Source : LocalPreferences.toml -Path : /usr/lib/libpetsc.so ``` ### Two consequences worth knowing diff --git a/docs/src/man/utilities.md b/docs/src/man/utilities.md index 21d43dc7c..5b9b5b78c 100644 --- a/docs/src/man/utilities.md +++ b/docs/src/man/utilities.md @@ -11,6 +11,15 @@ Modules = [PETSc] Pages = ["init.jl"] ``` +## Handle types + +Every PETSc object is held by a handle type with an abstract supertype, such as `PetscVec <: AbstractPetscVec`. Annotate with the abstract type to accept any handle of that kind. The handles below have no high-level layer of their own, apart from `destroy!`. + +```@autodocs +Modules = [PETSc] +Pages = ["handles.jl"] +``` + ## Destroying objects together On more than one process nothing frees a PETSc object but `destroy!`, called on every rank in the same order. `with_destroy` does that for every object registered with `track!` when its block ends. diff --git a/scripts/renames.jl b/scripts/renames.jl index 06d91e49a..29202bb79 100644 --- a/scripts/renames.jl +++ b/scripts/renames.jl @@ -449,6 +449,8 @@ const INTERNAL = Set{Symbol}([ # other internals :check_initialized, :isdestroyable, + :destroy_handle!, + :destroy_options!, :as_petsc_vec, :csr_from_csc, :mat_seqaij_with_arrays, @@ -539,6 +541,25 @@ const UNCHANGED_PUBLIC = Symbol[ :set_residual!, :set_jacobian!, :set_jacobian_preconditioner!, + # handle types, defined in LibPETSc (naming.md §5.2, §5.5); new in v0.5.4 + :AbstractPetscVec, + :AbstractPetscMat, + :AbstractPetscDM, + :AbstractKSP, + :AbstractPC, + :AbstractSNES, + :AbstractTS, + :AbstractPetscOptions, + :AbstractIS, + :AbstractAO, + :AbstractPF, + :AbstractTao, + :PetscDM, + :PC, + :IS, + :AO, + :PF, + :Tao, # vec.jl / mat.jl :VecPtr, :MatPtr, @@ -634,6 +655,7 @@ const UNCHANGED_PUBLIC = Symbol[ :finalize, :scalartype, :inttype, + :realtype, # new in v0.5.4 :library_info, :petsclibs, :set_library!, diff --git a/src/LibPETSc_lib.jl b/src/LibPETSc_lib.jl index 8239b8697..f2cea29aa 100644 --- a/src/LibPETSc_lib.jl +++ b/src/LibPETSc_lib.jl @@ -38,27 +38,31 @@ function Base.getproperty(petsclib::UnionPetscLibType, name::Symbol) end """ - scalartype(petsclib::PetscLibType) + scalartype(petsclib) + scalartype(typeof(petsclib)) -return the scalar type for the associated `petsclib` +The scalar type (`PetscScalar`) of the library `petsclib`, e.g. `Float64`. """ scalartype(::PetscLibType{ST}) where {ST} = ST scalartype(::Type{PetscLib}) where {PetscLib <: PetscLibType{ST}} where {ST} = ST """ - realtype(petsclib::PetscLibType) + realtype(petsclib) + realtype(typeof(petsclib)) -return the real type for the associated `petsclib` +The real type (`PetscReal`) of the library `petsclib`: `real` of its scalar type, +so `Float64` for both a `Float64` and a `ComplexF64` build. """ realtype(::PetscLibType{ST}) where {ST} = real(ST) realtype(::Type{PetscLib}) where {PetscLib <: PetscLibType{ST}} where {ST} = real(ST) """ - inttype(petsclib::PetscLibType) + inttype(petsclib) + inttype(typeof(petsclib)) -return the int type for the associated `petsclib` +The integer type (`PetscInt`) of the library `petsclib`, e.g. `Int64`. """ inttype(::PetscLibType{ST, IT}) where {ST, IT} = IT inttype( diff --git a/src/autowrapped/AO_wrappers.jl b/src/autowrapped/AO_wrappers.jl index 25f9307a6..6085a0770 100644 --- a/src/autowrapped/AO_wrappers.jl +++ b/src/autowrapped/AO_wrappers.jl @@ -22,7 +22,7 @@ See also: `AOCreateBasic()`, `AOView()`, `AOPetscToApplication()`, $(_doc_external("AO/AOApplicationToPetsc")) """ function AOApplicationToPetsc(petsclib::PetscLibType, ao::AbstractAO, n::Integer, ia::AbstractVector{<:Number}) - error("AOApplicationToPetsc: no generated method for these argument types") + throw(MethodError(AOApplicationToPetsc, (petsclib, ao, n, ia))) end @for_petsc function AOApplicationToPetsc(petsclib::$UnionPetscLib, ao::AbstractAO, n::$PetscInt, ia::Vector{$PetscInt} ) @@ -61,7 +61,7 @@ See also: `AO`, `AOCreateBasic()`, `AOView()`, `AOPetscToApplication()`, $(_doc_external("AO/AOApplicationToPetscIS")) """ function AOApplicationToPetscIS(petsclib::PetscLibType, ao::AbstractAO, is::AbstractIS) - error("AOApplicationToPetscIS: no generated method for these argument types") + throw(MethodError(AOApplicationToPetscIS, (petsclib, ao, is))) end @for_petsc function AOApplicationToPetscIS(petsclib::$UnionPetscLib, ao::AbstractAO, is::AbstractIS ) @@ -100,7 +100,7 @@ See also: `AO`, `AOCreateBasic()`, `AOView()`, `AOPetscToApplicationIS()`, `AOAp $(_doc_external("AO/AOApplicationToPetscPermuteInt")) """ function AOApplicationToPetscPermuteInt(petsclib::PetscLibType, ao::AbstractAO, block::Integer, array::AbstractVector{<:Number}) - error("AOApplicationToPetscPermuteInt: no generated method for these argument types") + throw(MethodError(AOApplicationToPetscPermuteInt, (petsclib, ao, block, array))) end @for_petsc function AOApplicationToPetscPermuteInt(petsclib::$UnionPetscLib, ao::AbstractAO, block::$PetscInt, array::Vector{$PetscInt} ) @@ -139,7 +139,7 @@ See also: `AO`, `AOCreateBasic()`, `AOView()`, `AOApplicationToPetsc()`, `AOPets $(_doc_external("AO/AOApplicationToPetscPermuteReal")) """ function AOApplicationToPetscPermuteReal(petsclib::PetscLibType, ao::AbstractAO, block::Integer, array::AbstractVector{<:Number}) - error("AOApplicationToPetscPermuteReal: no generated method for these argument types") + throw(MethodError(AOApplicationToPetscPermuteReal, (petsclib, ao, block, array))) end @for_petsc function AOApplicationToPetscPermuteReal(petsclib::$UnionPetscLib, ao::AbstractAO, block::$PetscInt, array::Vector{$PetscReal} ) @@ -179,7 +179,7 @@ See also: `AO`, `AOView()`, `AOSetIS()`, `AODestroy()`, `AOPetscToApplication()` $(_doc_external("AO/AOCreate")) """ function AOCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("AOCreate: no generated method for these argument types") + throw(MethodError(AOCreate, (petsclib, comm))) end @for_petsc function AOCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -221,7 +221,7 @@ See also: `AO`, `AOCreateBasicIS()`, `AODestroy()`, `AOPetscToApplication()`, `A $(_doc_external("AO/AOCreateBasic")) """ function AOCreateBasic(petsclib::PetscLibType, comm::MPI_Comm, napp::Integer, myapp::AbstractVector{<:Number}, mypetsc::AbstractVector{<:Number}) - error("AOCreateBasic: no generated method for these argument types") + throw(MethodError(AOCreateBasic, (petsclib, comm, napp, myapp, mypetsc))) end @for_petsc function AOCreateBasic(petsclib::$UnionPetscLib, comm::MPI_Comm, napp::$PetscInt, myapp::Vector{$PetscInt}, mypetsc::Vector{$PetscInt} ) @@ -260,7 +260,7 @@ See also: `IS`, `AO`, `AOCreateBasic()`, `AODestroy()` $(_doc_external("AO/AOCreateBasicIS")) """ function AOCreateBasicIS(petsclib::PetscLibType, isapp::AbstractIS, ispetsc::AbstractIS) - error("AOCreateBasicIS: no generated method for these argument types") + throw(MethodError(AOCreateBasicIS, (petsclib, isapp, ispetsc))) end @for_petsc function AOCreateBasicIS(petsclib::$UnionPetscLib, isapp::AbstractIS, ispetsc::AbstractIS ) @@ -302,7 +302,7 @@ See also: `AOCreateBasic()`, `AOCreateMappingIS()`, `AODestroy()` $(_doc_external("AO/AOCreateMapping")) """ function AOCreateMapping(petsclib::PetscLibType, comm::MPI_Comm, napp::Integer, myapp::AbstractVector{<:Number}, mypetsc::AbstractVector{<:Number}) - error("AOCreateMapping: no generated method for these argument types") + throw(MethodError(AOCreateMapping, (petsclib, comm, napp, myapp, mypetsc))) end @for_petsc function AOCreateMapping(petsclib::$UnionPetscLib, comm::MPI_Comm, napp::$PetscInt, myapp::Vector{$PetscInt}, mypetsc::Vector{$PetscInt} ) @@ -342,7 +342,7 @@ See also: `AOCreateBasic()`, `AOCreateMapping()`, `AODestroy()` $(_doc_external("AO/AOCreateMappingIS")) """ function AOCreateMappingIS(petsclib::PetscLibType, isapp::AbstractIS, ispetsc::AbstractIS) - error("AOCreateMappingIS: no generated method for these argument types") + throw(MethodError(AOCreateMappingIS, (petsclib, isapp, ispetsc))) end @for_petsc function AOCreateMappingIS(petsclib::$UnionPetscLib, isapp::AbstractIS, ispetsc::AbstractIS ) @@ -383,7 +383,7 @@ See also: `AO`, `AOCreateMemoryScalableIS()`, `AODestroy()`, `AOPetscToApplicati $(_doc_external("AO/AOCreateMemoryScalable")) """ function AOCreateMemoryScalable(petsclib::PetscLibType, comm::MPI_Comm, napp::Integer, myapp::AbstractVector{<:Number}, mypetsc::AbstractVector{<:Number}) - error("AOCreateMemoryScalable: no generated method for these argument types") + throw(MethodError(AOCreateMemoryScalable, (petsclib, comm, napp, myapp, mypetsc))) end @for_petsc function AOCreateMemoryScalable(petsclib::$UnionPetscLib, comm::MPI_Comm, napp::$PetscInt, myapp::Vector{$PetscInt}, mypetsc::Vector{$PetscInt} ) @@ -422,7 +422,7 @@ See also: `AO`, `AOCreateBasicIS()`, `AOCreateMemoryScalable()`, `AODestroy()` $(_doc_external("AO/AOCreateMemoryScalableIS")) """ function AOCreateMemoryScalableIS(petsclib::PetscLibType, isapp::AbstractIS, ispetsc::AbstractIS) - error("AOCreateMemoryScalableIS: no generated method for these argument types") + throw(MethodError(AOCreateMemoryScalableIS, (petsclib, isapp, ispetsc))) end @for_petsc function AOCreateMemoryScalableIS(petsclib::$UnionPetscLib, isapp::AbstractIS, ispetsc::AbstractIS ) @@ -457,7 +457,7 @@ See also: `AO`, `AOCreate()` $(_doc_external("AO/AODestroy")) """ function AODestroy(petsclib::PetscLibType, ao::AbstractAO) - error("AODestroy: no generated method for these argument types") + throw(MethodError(AODestroy, (petsclib, ao))) end @for_petsc function AODestroy(petsclib::$UnionPetscLib, ao::AbstractAO ) @@ -488,7 +488,7 @@ See also: `AOInitializePackage()`, `PetscInitialize()` $(_doc_external("AO/AOFinalizePackage")) """ function AOFinalizePackage(petsclib::PetscLibType) - error("AOFinalizePackage: no generated method for these argument types") + throw(MethodError(AOFinalizePackage, (petsclib, ))) end @for_petsc function AOFinalizePackage(petsclib::$UnionPetscLib) @@ -523,7 +523,7 @@ See also: `AO`, `AOType`, `AOSetType()`, `AOCreate()`, `PetscObjectTypeCompare() $(_doc_external("AO/AOGetType")) """ function AOGetType(petsclib::PetscLibType, ao::AbstractAO) - error("AOGetType: no generated method for these argument types") + throw(MethodError(AOGetType, (petsclib, ao))) end @for_petsc function AOGetType(petsclib::$UnionPetscLib, ao::AbstractAO ) @@ -555,7 +555,7 @@ See also: `AOFinalizePackage()`, `PetscInitialize()` $(_doc_external("Sys/AOInitializePackage")) """ function AOInitializePackage(petsclib::PetscLibType) - error("AOInitializePackage: no generated method for these argument types") + throw(MethodError(AOInitializePackage, (petsclib, ))) end @for_petsc function AOInitializePackage(petsclib::$UnionPetscLib) @@ -591,7 +591,7 @@ See also: `AOMappingHasPetscIndex()`, `AOCreateMapping()`, `AO` $(_doc_external("AO/AOMappingHasApplicationIndex")) """ function AOMappingHasApplicationIndex(petsclib::PetscLibType, ao::AbstractAO, idex::Integer) - error("AOMappingHasApplicationIndex: no generated method for these argument types") + throw(MethodError(AOMappingHasApplicationIndex, (petsclib, ao, idex))) end @for_petsc function AOMappingHasApplicationIndex(petsclib::$UnionPetscLib, ao::AbstractAO, idex::$PetscInt ) @@ -630,7 +630,7 @@ See also: `AOMappingHasApplicationIndex()`, `AOCreateMapping()` $(_doc_external("AO/AOMappingHasPetscIndex")) """ function AOMappingHasPetscIndex(petsclib::PetscLibType, ao::AbstractAO, idex::Integer) - error("AOMappingHasPetscIndex: no generated method for these argument types") + throw(MethodError(AOMappingHasPetscIndex, (petsclib, ao, idex))) end @for_petsc function AOMappingHasPetscIndex(petsclib::$UnionPetscLib, ao::AbstractAO, idex::$PetscInt ) @@ -672,7 +672,7 @@ See also: `AO`, `AOCreateBasic()`, `AOView()`, `AOApplicationToPetsc()`, $(_doc_external("AO/AOPetscToApplication")) """ function AOPetscToApplication(petsclib::PetscLibType, ao::AbstractAO, n::Integer, ia::AbstractVector{<:Number}) - error("AOPetscToApplication: no generated method for these argument types") + throw(MethodError(AOPetscToApplication, (petsclib, ao, n, ia))) end @for_petsc function AOPetscToApplication(petsclib::$UnionPetscLib, ao::AbstractAO, n::$PetscInt, ia::Vector{$PetscInt} ) @@ -711,7 +711,7 @@ See also: `AO`, `AOCreateBasic()`, `AOView()`, `AOApplicationToPetsc()`, $(_doc_external("AO/AOPetscToApplicationIS")) """ function AOPetscToApplicationIS(petsclib::PetscLibType, ao::AbstractAO, is::AbstractIS) - error("AOPetscToApplicationIS: no generated method for these argument types") + throw(MethodError(AOPetscToApplicationIS, (petsclib, ao, is))) end @for_petsc function AOPetscToApplicationIS(petsclib::$UnionPetscLib, ao::AbstractAO, is::AbstractIS ) @@ -750,7 +750,7 @@ See also: `AO`, `AOCreateBasic()`, `AOView()`, `AOApplicationToPetsc()`, `AOPets $(_doc_external("AO/AOPetscToApplicationPermuteInt")) """ function AOPetscToApplicationPermuteInt(petsclib::PetscLibType, ao::AbstractAO, block::Integer, array::AbstractVector{<:Number}) - error("AOPetscToApplicationPermuteInt: no generated method for these argument types") + throw(MethodError(AOPetscToApplicationPermuteInt, (petsclib, ao, block, array))) end @for_petsc function AOPetscToApplicationPermuteInt(petsclib::$UnionPetscLib, ao::AbstractAO, block::$PetscInt, array::Vector{$PetscInt} ) @@ -789,7 +789,7 @@ See also: `AO`, `AOCreateBasic()`, `AOView()`, `AOApplicationToPetsc()`, `AOPets $(_doc_external("AO/AOPetscToApplicationPermuteReal")) """ function AOPetscToApplicationPermuteReal(petsclib::PetscLibType, ao::AbstractAO, block::Integer, array::AbstractVector{<:Number}) - error("AOPetscToApplicationPermuteReal: no generated method for these argument types") + throw(MethodError(AOPetscToApplicationPermuteReal, (petsclib, ao, block, array))) end @for_petsc function AOPetscToApplicationPermuteReal(petsclib::$UnionPetscLib, ao::AbstractAO, block::$PetscInt, array::Vector{$PetscReal} ) @@ -823,7 +823,7 @@ See also: `AO`, `AOType`, `AOCreate()`, `AORegisterAll()`, `AOBASIC`, `AOADVANCE $(_doc_external("AO/AORegister")) """ function AORegister(petsclib::PetscLibType, sname::String, fnc::external) - error("AORegister: no generated method for these argument types") + throw(MethodError(AORegister, (petsclib, sname, fnc))) end @for_petsc function AORegister(petsclib::$UnionPetscLib, sname::String, fnc::external ) @@ -853,7 +853,7 @@ See also: `AO`, `AOType`, `AORegister()`, `AORegisterDestroy()` $(_doc_external("AO/AORegisterAll")) """ function AORegisterAll(petsclib::PetscLibType) - error("AORegisterAll: no generated method for these argument types") + throw(MethodError(AORegisterAll, (petsclib, ))) end @for_petsc function AORegisterAll(petsclib::$UnionPetscLib) @@ -888,7 +888,7 @@ See also: `AO`, `AOCreate()`, `AOSetType()`, `AODestroy()`, `AOPetscToApplicatio $(_doc_external("AO/AOSetFromOptions")) """ function AOSetFromOptions(petsclib::PetscLibType, ao::AbstractAO) - error("AOSetFromOptions: no generated method for these argument types") + throw(MethodError(AOSetFromOptions, (petsclib, ao))) end @for_petsc function AOSetFromOptions(petsclib::$UnionPetscLib, ao::AbstractAO ) @@ -923,7 +923,7 @@ See also: `AO`, `AOCreate()`, `AODestroy()`, `AOPetscToApplication()`, `AOApplic $(_doc_external("AO/AOSetIS")) """ function AOSetIS(petsclib::PetscLibType, ao::AbstractAO, isapp::AbstractIS, ispetsc::AbstractIS) - error("AOSetIS: no generated method for these argument types") + throw(MethodError(AOSetIS, (petsclib, ao, isapp, ispetsc))) end @for_petsc function AOSetIS(petsclib::$UnionPetscLib, ao::AbstractAO, isapp::AbstractIS, ispetsc::AbstractIS ) @@ -960,7 +960,7 @@ See also: `AO`, `AOType`, `AOCreateBasic()`, `AOCreateMemoryScalable()`, `AOGetT $(_doc_external("AO/AOSetType")) """ function AOSetType(petsclib::PetscLibType, ao::AbstractAO, method::String) - error("AOSetType: no generated method for these argument types") + throw(MethodError(AOSetType, (petsclib, ao, method))) end @for_petsc function AOSetType(petsclib::$UnionPetscLib, ao::AbstractAO, method::String ) @@ -997,7 +997,7 @@ See also: `AO`, `PetscViewer`, `PetscViewerASCIIOpen()`, `AOViewFromOptions()` $(_doc_external("AO/AOView")) """ function AOView(petsclib::PetscLibType, ao::AbstractAO, viewer::PetscViewer) - error("AOView: no generated method for these argument types") + throw(MethodError(AOView, (petsclib, ao, viewer))) end @for_petsc function AOView(petsclib::$UnionPetscLib, ao::AbstractAO, viewer::PetscViewer ) @@ -1035,7 +1035,7 @@ See also: `AO`, `AOView()`, `PetscObjectViewFromOptions()`, `AOCreate()` $(_doc_external("AO/AOViewFromOptions")) """ function AOViewFromOptions(petsclib::PetscLibType, ao::AbstractAO, obj, name::String) - error("AOViewFromOptions: no generated method for these argument types") + throw(MethodError(AOViewFromOptions, (petsclib, ao, obj, name))) end @for_petsc function AOViewFromOptions(petsclib::$UnionPetscLib, ao::AbstractAO, obj, name::String ) diff --git a/src/autowrapped/Characteristic_wrappers.jl b/src/autowrapped/Characteristic_wrappers.jl index 65461c9bc..d3c443d1c 100644 --- a/src/autowrapped/Characteristic_wrappers.jl +++ b/src/autowrapped/Characteristic_wrappers.jl @@ -18,7 +18,7 @@ See also: `Characteristic`, `CharacteristicDestroy()` $(_doc_external("Characteristic/CharacteristicCreate")) """ function CharacteristicCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("CharacteristicCreate: no generated method for these argument types") + throw(MethodError(CharacteristicCreate, (petsclib, comm))) end @for_petsc function CharacteristicCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -53,7 +53,7 @@ See also: `Characteristic`, `CharacteristicCreate()` $(_doc_external("Characteristic/CharacteristicDestroy")) """ function CharacteristicDestroy(petsclib::PetscLibType, c::Union{Characteristic, Ref{Characteristic}}) - error("CharacteristicDestroy: no generated method for these argument types") + throw(MethodError(CharacteristicDestroy, (petsclib, c))) end @for_petsc function CharacteristicDestroy(petsclib::$UnionPetscLib, c::Union{Characteristic, Ref{Characteristic}} ) @@ -83,7 +83,7 @@ See also: `PetscFinalize()`, `CharacteristicInitializePackage()` $(_doc_external("Characteristic/CharacteristicFinalizePackage")) """ function CharacteristicFinalizePackage(petsclib::PetscLibType) - error("CharacteristicFinalizePackage: no generated method for these argument types") + throw(MethodError(CharacteristicFinalizePackage, (petsclib, ))) end @for_petsc function CharacteristicFinalizePackage(petsclib::$UnionPetscLib) @@ -112,7 +112,7 @@ See also: `PetscInitialize()`, `CharacteristicFinalizePackage()` $(_doc_external("Sys/CharacteristicInitializePackage")) """ function CharacteristicInitializePackage(petsclib::PetscLibType) - error("CharacteristicInitializePackage: no generated method for these argument types") + throw(MethodError(CharacteristicInitializePackage, (petsclib, ))) end @for_petsc function CharacteristicInitializePackage(petsclib::$UnionPetscLib) @@ -145,7 +145,7 @@ See also: `CharacteristicRegisterAll()`, `CharacteristicRegisterDestroy()` $(_doc_external("Characteristic/CharacteristicRegister")) """ function CharacteristicRegister(petsclib::PetscLibType, sname::String, fnc::external) - error("CharacteristicRegister: no generated method for these argument types") + throw(MethodError(CharacteristicRegister, (petsclib, sname, fnc))) end @for_petsc function CharacteristicRegister(petsclib::$UnionPetscLib, sname::String, fnc::external ) @@ -192,7 +192,7 @@ See also: `Characteristic`, `CharacteristicSetFieldInterpolationLocal()`, `Chara $(_doc_external("Characteristic/CharacteristicSetFieldInterpolation")) """ function CharacteristicSetFieldInterpolation(petsclib::PetscLibType, c::Characteristic, da::AbstractPetscDM, v::AbstractPetscVec, numComponents::Integer, components::AbstractVector{<:Number}, interp::external, ctx::Ptr{Cvoid}) - error("CharacteristicSetFieldInterpolation: no generated method for these argument types") + throw(MethodError(CharacteristicSetFieldInterpolation, (petsclib, c, da, v, numComponents, components, interp, ctx))) end @for_petsc function CharacteristicSetFieldInterpolation(petsclib::$UnionPetscLib, c::Characteristic, da::AbstractPetscDM, v::AbstractPetscVec, numComponents::$PetscInt, components::Vector{$PetscInt}, interp::external, ctx::Ptr{Cvoid} ) @@ -239,7 +239,7 @@ See also: `Characteristic`, `CharacteristicSetFieldInterpolation()`, `Characteri $(_doc_external("Characteristic/CharacteristicSetFieldInterpolationLocal")) """ function CharacteristicSetFieldInterpolationLocal(petsclib::PetscLibType, c::Characteristic, da::AbstractPetscDM, v::AbstractPetscVec, numComponents::Integer, components::AbstractVector{<:Number}, interp::external, ctx::Ptr{Cvoid}) - error("CharacteristicSetFieldInterpolationLocal: no generated method for these argument types") + throw(MethodError(CharacteristicSetFieldInterpolationLocal, (petsclib, c, da, v, numComponents, components, interp, ctx))) end @for_petsc function CharacteristicSetFieldInterpolationLocal(petsclib::$UnionPetscLib, c::Characteristic, da::AbstractPetscDM, v::AbstractPetscVec, numComponents::$PetscInt, components::Vector{$PetscInt}, interp::external, ctx::Ptr{Cvoid} ) @@ -277,7 +277,7 @@ See also: `CharacteristicType` $(_doc_external("Characteristic/CharacteristicSetType")) """ function CharacteristicSetType(petsclib::PetscLibType, c::Characteristic, type::String) - error("CharacteristicSetType: no generated method for these argument types") + throw(MethodError(CharacteristicSetType, (petsclib, c, type))) end @for_petsc function CharacteristicSetType(petsclib::$UnionPetscLib, c::Characteristic, type::String ) @@ -311,7 +311,7 @@ See also: `Characteristic`, `CharacteristicCreate()`, `CharacteristicSolve()`, ` $(_doc_external("Characteristic/CharacteristicSetUp")) """ function CharacteristicSetUp(petsclib::PetscLibType, c::Characteristic) - error("CharacteristicSetUp: no generated method for these argument types") + throw(MethodError(CharacteristicSetUp, (petsclib, c))) end @for_petsc function CharacteristicSetUp(petsclib::$UnionPetscLib, c::Characteristic ) @@ -359,7 +359,7 @@ See also: `Characteristic`, `CharacteristicSetVelocityInterpolationLocal()`, `Ch $(_doc_external("Characteristic/CharacteristicSetVelocityInterpolation")) """ function CharacteristicSetVelocityInterpolation(petsclib::PetscLibType, c::Characteristic, da::AbstractPetscDM, v::AbstractPetscVec, vOld::AbstractPetscVec, numComponents::Integer, components::AbstractVector{<:Number}, interp::external, ctx::Ptr{Cvoid}) - error("CharacteristicSetVelocityInterpolation: no generated method for these argument types") + throw(MethodError(CharacteristicSetVelocityInterpolation, (petsclib, c, da, v, vOld, numComponents, components, interp, ctx))) end @for_petsc function CharacteristicSetVelocityInterpolation(petsclib::$UnionPetscLib, c::Characteristic, da::AbstractPetscDM, v::AbstractPetscVec, vOld::AbstractPetscVec, numComponents::$PetscInt, components::Vector{$PetscInt}, interp::external, ctx::Ptr{Cvoid} ) @@ -407,7 +407,7 @@ See also: `Characteristic`, `CharacteristicSetVelocityInterpolation()`, `Charact $(_doc_external("Characteristic/CharacteristicSetVelocityInterpolationLocal")) """ function CharacteristicSetVelocityInterpolationLocal(petsclib::PetscLibType, c::Characteristic, da::AbstractPetscDM, v::AbstractPetscVec, vOld::AbstractPetscVec, numComponents::Integer, components::AbstractVector{<:Number}, interp::external, ctx::Ptr{Cvoid}) - error("CharacteristicSetVelocityInterpolationLocal: no generated method for these argument types") + throw(MethodError(CharacteristicSetVelocityInterpolationLocal, (petsclib, c, da, v, vOld, numComponents, components, interp, ctx))) end @for_petsc function CharacteristicSetVelocityInterpolationLocal(petsclib::$UnionPetscLib, c::Characteristic, da::AbstractPetscDM, v::AbstractPetscVec, vOld::AbstractPetscVec, numComponents::$PetscInt, components::Vector{$PetscInt}, interp::external, ctx::Ptr{Cvoid} ) @@ -442,7 +442,7 @@ See also: `Characteristic`, `CharacteristicCreate()`, `CharacteristicDestroy()` $(_doc_external("Characteristic/CharacteristicSolve")) """ function CharacteristicSolve(petsclib::PetscLibType, c::Characteristic, dt::Real, solution::AbstractPetscVec) - error("CharacteristicSolve: no generated method for these argument types") + throw(MethodError(CharacteristicSolve, (petsclib, c, dt, solution))) end @for_petsc function CharacteristicSolve(petsclib::$UnionPetscLib, c::Characteristic, dt::$PetscReal, solution::AbstractPetscVec ) diff --git a/src/autowrapped/DM_wrappers.jl b/src/autowrapped/DM_wrappers.jl index 6f3021074..9475fe9ac 100644 --- a/src/autowrapped/DM_wrappers.jl +++ b/src/autowrapped/DM_wrappers.jl @@ -27,7 +27,7 @@ See also: `DM`, `Mat`, `KSP`, `DMCheckInterpolator()`, `DMCreateInterpolation()` $(_doc_external("DM/DMAdaptInterpolator")) """ function DMAdaptInterpolator(petsclib::PetscLibType, dmc::AbstractPetscDM, dmf::AbstractPetscDM, In::AbstractPetscMat, smoother::AbstractKSP, MF::AbstractPetscMat, MC::AbstractPetscMat, user::Ptr{Cvoid}) - error("DMAdaptInterpolator: no generated method for these argument types") + throw(MethodError(DMAdaptInterpolator, (petsclib, dmc, dmf, In, smoother, MF, MC, user))) end @for_petsc function DMAdaptInterpolator(petsclib::$UnionPetscLib, dmc::AbstractPetscDM, dmf::AbstractPetscDM, In::AbstractPetscMat, smoother::AbstractKSP, MF::AbstractPetscMat, MC::AbstractPetscMat, user::Ptr{Cvoid} ) @@ -68,7 +68,7 @@ See also: `DM`, `DMAdaptMetric()`, `DMCoarsen()`, `DMRefine()` $(_doc_external("DM/DMAdaptLabel")) """ function DMAdaptLabel(petsclib::PetscLibType, dm::AbstractPetscDM, label::DMLabel) - error("DMAdaptLabel: no generated method for these argument types") + throw(MethodError(DMAdaptLabel, (petsclib, dm, label))) end @for_petsc function DMAdaptLabel(petsclib::$UnionPetscLib, dm::AbstractPetscDM, label::DMLabel ) @@ -105,7 +105,7 @@ See also: `DMAdaptLabel()`, `DMCoarsen()`, `DMRefine()` $(_doc_external("DM/DMAdaptMetric")) """ function DMAdaptMetric(petsclib::PetscLibType, dm::AbstractPetscDM, metric::AbstractPetscVec, bdLabel::DMLabel, rgLabel::DMLabel) - error("DMAdaptMetric: no generated method for these argument types") + throw(MethodError(DMAdaptMetric, (petsclib, dm, metric, bdLabel, rgLabel))) end @for_petsc function DMAdaptMetric(petsclib::$UnionPetscLib, dm::AbstractPetscDM, metric::AbstractPetscVec, bdLabel::DMLabel, rgLabel::DMLabel ) @@ -158,7 +158,7 @@ See also: `DM`, `DSGetBoundary()`, `PetscDSAddBoundary()` $(_doc_external("DM/DMAddBoundary")) """ function DMAddBoundary(petsclib::PetscLibType, dm::AbstractPetscDM, type::DMBoundaryConditionType, name::String, label::DMLabel, Nv::Integer, values::AbstractVector{<:Number}, field::Integer, Nc::Integer, comps::AbstractVector{<:Number}, bcFunc::Ptr{Cvoid}, bcFunc_t::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("DMAddBoundary: no generated method for these argument types") + throw(MethodError(DMAddBoundary, (petsclib, dm, type, name, label, Nv, values, field, Nc, comps, bcFunc, bcFunc_t, ctx))) end @for_petsc function DMAddBoundary(petsclib::$UnionPetscLib, dm::AbstractPetscDM, type::DMBoundaryConditionType, name::String, label::DMLabel, Nv::$PetscInt, values::Vector{$PetscInt}, field::$PetscInt, Nc::$PetscInt, comps::Vector{$PetscInt}, bcFunc::Ptr{Cvoid}, bcFunc_t::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -196,7 +196,7 @@ See also: `DM`, `DMSetLabel()`, `DMSetField()`, `DMGetField()`, `PetscFE` $(_doc_external("DM/DMAddField")) """ function DMAddField(petsclib::PetscLibType, dm::AbstractPetscDM, label::DMLabel, disc) - error("DMAddField: no generated method for these argument types") + throw(MethodError(DMAddField, (petsclib, dm, label, disc))) end @for_petsc function DMAddField(petsclib::$UnionPetscLib, dm::AbstractPetscDM, label::DMLabel, disc ) @@ -230,7 +230,7 @@ See also: `DM`, `DMLabel`, `DMCreateLabel()`, `DMHasLabel()`, `DMGetLabelValue() $(_doc_external("DM/DMAddLabel")) """ function DMAddLabel(petsclib::PetscLibType, dm::AbstractPetscDM, label::DMLabel) - error("DMAddLabel: no generated method for these argument types") + throw(MethodError(DMAddLabel, (petsclib, dm, label))) end @for_petsc function DMAddLabel(petsclib::$UnionPetscLib, dm::AbstractPetscDM, label::DMLabel ) @@ -265,7 +265,7 @@ See also: `DM`, `DMSetOptionsPrefix()`, `DMGetOptionsPrefix()`, `PetscObjectAppe $(_doc_external("DM/DMAppendOptionsPrefix")) """ function DMAppendOptionsPrefix(petsclib::PetscLibType, dm::AbstractPetscDM, prefix::String) - error("DMAppendOptionsPrefix: no generated method for these argument types") + throw(MethodError(DMAppendOptionsPrefix, (petsclib, dm, prefix))) end @for_petsc function DMAppendOptionsPrefix(petsclib::$UnionPetscLib, dm::AbstractPetscDM, prefix::String ) @@ -305,7 +305,7 @@ See also: `DM`, `Mat`, `DMAdaptInterpolator()`, `DMCreateInterpolation()`, `PCMG $(_doc_external("DM/DMCheckInterpolator")) """ function DMCheckInterpolator(petsclib::PetscLibType, dmf::AbstractPetscDM, In::AbstractPetscMat, MC::AbstractPetscMat, MF::AbstractPetscMat, tol::Real) - error("DMCheckInterpolator: no generated method for these argument types") + throw(MethodError(DMCheckInterpolator, (petsclib, dmf, In, MC, MF, tol))) end @for_petsc function DMCheckInterpolator(petsclib::$UnionPetscLib, dmf::AbstractPetscDM, In::AbstractPetscMat, MC::AbstractPetscMat, MF::AbstractPetscMat, tol::$PetscReal ) @@ -338,7 +338,7 @@ See also: `DM`, `DMCopyAuxiliaryVec()`, `DMGetNumAuxiliaryVec()`, `DMGetAuxiliar $(_doc_external("DM/DMClearAuxiliaryVec")) """ function DMClearAuxiliaryVec(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMClearAuxiliaryVec: no generated method for these argument types") + throw(MethodError(DMClearAuxiliaryVec, (petsclib, dm))) end @for_petsc function DMClearAuxiliaryVec(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -371,7 +371,7 @@ See also: `DM`, `DMGetNumDS()`, `DMGetDS()`, `DMSetField()` $(_doc_external("DM/DMClearDS")) """ function DMClearDS(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMClearDS: no generated method for these argument types") + throw(MethodError(DMClearDS, (petsclib, dm))) end @for_petsc function DMClearDS(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -404,7 +404,7 @@ See also: `DM`, `DMGetNumFields()`, `DMSetNumFields()`, `DMSetField()` $(_doc_external("DM/DMClearFields")) """ function DMClearFields(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMClearFields: no generated method for these argument types") + throw(MethodError(DMClearFields, (petsclib, dm))) end @for_petsc function DMClearFields(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -440,7 +440,7 @@ See also: `DM`, `DMCreateGlobalVector()`, `VecDuplicate()`, `VecDuplicateVecs()` $(_doc_external("DM/DMClearGlobalVectors")) """ function DMClearGlobalVectors(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMClearGlobalVectors: no generated method for these argument types") + throw(MethodError(DMClearGlobalVectors, (petsclib, dm))) end @for_petsc function DMClearGlobalVectors(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -477,7 +477,7 @@ See also: `DM`, `DMLabel`, `DMLabelClearStratum()`, `DMSetLabelValue()`, `DMGetS $(_doc_external("DM/DMClearLabelStratum")) """ function DMClearLabelStratum(petsclib::PetscLibType, dm::AbstractPetscDM, name::String, value::Integer) - error("DMClearLabelStratum: no generated method for these argument types") + throw(MethodError(DMClearLabelStratum, (petsclib, dm, name, value))) end @for_petsc function DMClearLabelStratum(petsclib::$UnionPetscLib, dm::AbstractPetscDM, name::String, value::$PetscInt ) @@ -513,7 +513,7 @@ See also: `DM`, `DMLabelClearValue()`, `DMSetLabelValue()`, `DMGetStratumIS()` $(_doc_external("DM/DMClearLabelValue")) """ function DMClearLabelValue(petsclib::PetscLibType, dm::AbstractPetscDM, name::String, point::Integer, value::Integer) - error("DMClearLabelValue: no generated method for these argument types") + throw(MethodError(DMClearLabelValue, (petsclib, dm, name, point, value))) end @for_petsc function DMClearLabelValue(petsclib::$UnionPetscLib, dm::AbstractPetscDM, name::String, point::$PetscInt, value::$PetscInt ) @@ -549,7 +549,7 @@ See also: `DM`, `DMCreateLocalVector()`, `VecDuplicate()`, `VecDuplicateVecs()`, $(_doc_external("DM/DMClearLocalVectors")) """ function DMClearLocalVectors(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMClearLocalVectors: no generated method for these argument types") + throw(MethodError(DMClearLocalVectors, (petsclib, dm))) end @for_petsc function DMClearLocalVectors(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -582,7 +582,7 @@ See also: `DM`, `DMGetNamedGlobalVector()`, `DMGetNamedLocalVector()`, `DMClearN $(_doc_external("DM/DMClearNamedGlobalVectors")) """ function DMClearNamedGlobalVectors(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMClearNamedGlobalVectors: no generated method for these argument types") + throw(MethodError(DMClearNamedGlobalVectors, (petsclib, dm))) end @for_petsc function DMClearNamedGlobalVectors(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -615,7 +615,7 @@ See also: `DM`, `DMGetNamedGlobalVector()`, `DMGetNamedLocalVector()`, `DMClearN $(_doc_external("DM/DMClearNamedLocalVectors")) """ function DMClearNamedLocalVectors(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMClearNamedLocalVectors: no generated method for these argument types") + throw(MethodError(DMClearNamedLocalVectors, (petsclib, dm))) end @for_petsc function DMClearNamedLocalVectors(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -651,7 +651,7 @@ See also: `DM`, `DMDestroy()`, `DMCreate()`, `DMSetType()`, `DMSetLocalSection() $(_doc_external("DM/DMClone")) """ function DMClone(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMClone: no generated method for these argument types") + throw(MethodError(DMClone, (petsclib, dm))) end @for_petsc function DMClone(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -691,7 +691,7 @@ See also: `DM`, `DMRefine()`, `DMDestroy()`, `DMView()`, `DMCreateGlobalVector() $(_doc_external("DM/DMCoarsen")) """ function DMCoarsen(petsclib::PetscLibType, dm::AbstractPetscDM, comm::MPI_Comm) - error("DMCoarsen: no generated method for these argument types") + throw(MethodError(DMCoarsen, (petsclib, dm, comm))) end @for_petsc function DMCoarsen(petsclib::$UnionPetscLib, dm::AbstractPetscDM, comm::MPI_Comm ) @@ -730,7 +730,7 @@ See also: `DM`, `DMCoarsen()`, `DMRefineHierarchy()`, `DMDestroy()`, `DMView()`, $(_doc_external("DM/DMCoarsenHierarchy")) """ function DMCoarsenHierarchy(petsclib::PetscLibType, dm::AbstractPetscDM, nlevels::Integer, dmc::Vector{<:AbstractPetscDM}) - error("DMCoarsenHierarchy: no generated method for these argument types") + throw(MethodError(DMCoarsenHierarchy, (petsclib, dm, nlevels, dmc))) end @for_petsc function DMCoarsenHierarchy(petsclib::$UnionPetscLib, dm::AbstractPetscDM, nlevels::$PetscInt, dmc::Vector{<:AbstractPetscDM} ) @@ -779,7 +779,7 @@ See also: `DM`, `DMCoarsenHookRemove()`, `DMRefineHookAdd()`, `SNESFASGetInterpo $(_doc_external("DM/DMCoarsenHookAdd")) """ function DMCoarsenHookAdd(petsclib::PetscLibType, fine::AbstractPetscDM, coarsenhook::external, restricthook::external, ctx::Ptr{Cvoid}) - error("DMCoarsenHookAdd: no generated method for these argument types") + throw(MethodError(DMCoarsenHookAdd, (petsclib, fine, coarsenhook, restricthook, ctx))) end @for_petsc function DMCoarsenHookAdd(petsclib::$UnionPetscLib, fine::AbstractPetscDM, coarsenhook::external, restricthook::external, ctx::Ptr{Cvoid} ) @@ -828,7 +828,7 @@ See also: `DM`, `DMCoarsenHookAdd()`, `DMRefineHookAdd()`, `SNESFASGetInterpolat $(_doc_external("DM/DMCoarsenHookRemove")) """ function DMCoarsenHookRemove(petsclib::PetscLibType, fine::AbstractPetscDM, coarsenhook::external, restricthook::external, ctx::Ptr{Cvoid}) - error("DMCoarsenHookRemove: no generated method for these argument types") + throw(MethodError(DMCoarsenHookRemove, (petsclib, fine, coarsenhook, restricthook, ctx))) end @for_petsc function DMCoarsenHookRemove(petsclib::$UnionPetscLib, fine::AbstractPetscDM, coarsenhook::external, restricthook::external, ctx::Ptr{Cvoid} ) @@ -866,7 +866,7 @@ See also: `DM`, `DMLabel`, `DMAddLabel()`, `DMCopyLabelsMode`, `DMLabelCompare() $(_doc_external("DM/DMCompareLabels")) """ function DMCompareLabels(petsclib::PetscLibType, dm0::AbstractPetscDM, dm1::AbstractPetscDM) - error("DMCompareLabels: no generated method for these argument types") + throw(MethodError(DMCompareLabels, (petsclib, dm0, dm1))) end @for_petsc function DMCompareLabels(petsclib::$UnionPetscLib, dm0::AbstractPetscDM, dm1::AbstractPetscDM ) @@ -906,7 +906,7 @@ See also: `DMCOMPOSITE`, `DM`, `DMDestroy()`, `DMCompositeGather()`, `DMCreateGl $(_doc_external("DMComposite/DMCompositeAddDM")) """ function DMCompositeAddDM(petsclib::PetscLibType, dmc::AbstractPetscDM, dm::AbstractPetscDM) - error("DMCompositeAddDM: no generated method for these argument types") + throw(MethodError(DMCompositeAddDM, (petsclib, dmc, dm))) end @for_petsc function DMCompositeAddDM(petsclib::$UnionPetscLib, dmc::AbstractPetscDM, dm::AbstractPetscDM ) @@ -945,7 +945,7 @@ See also: `DMCOMPOSITE`, `DM`, `DMDestroy()`, `DMCompositeAddDM()`, `DMComposite $(_doc_external("DMComposite/DMCompositeCreate")) """ function DMCompositeCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("DMCompositeCreate: no generated method for these argument types") + throw(MethodError(DMCompositeCreate, (petsclib, comm))) end @for_petsc function DMCompositeCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -985,7 +985,7 @@ See also: `DMCOMPOSITE`, `DM`, `DMDestroy()`, `DMCompositeAddDM()`, `DMCreateGlo $(_doc_external("DMComposite/DMCompositeGatherArray")) """ function DMCompositeGatherArray(petsclib::PetscLibType, dm::AbstractPetscDM, imode::InsertMode, gvec::AbstractPetscVec, lvecs::AbstractPetscVec) - error("DMCompositeGatherArray: no generated method for these argument types") + throw(MethodError(DMCompositeGatherArray, (petsclib, dm, imode, gvec, lvecs))) end @for_petsc function DMCompositeGatherArray(petsclib::$UnionPetscLib, dm::AbstractPetscDM, imode::InsertMode, gvec::AbstractPetscVec, lvecs::AbstractPetscVec ) @@ -1027,7 +1027,7 @@ See also: `DMCOMPOSITE`, `DM`, `DMCompositeGetAccess()`, `DMCompositeGetEntries( $(_doc_external("DMComposite/DMCompositeGetAccessArray")) """ function DMCompositeGetAccessArray(petsclib::PetscLibType, dm::AbstractPetscDM, pvec::AbstractPetscVec, nwanted::Integer, wanted::AbstractVector{<:Number}, vecs::Vector{<:AbstractPetscVec}) - error("DMCompositeGetAccessArray: no generated method for these argument types") + throw(MethodError(DMCompositeGetAccessArray, (petsclib, dm, pvec, nwanted, wanted, vecs))) end @for_petsc function DMCompositeGetAccessArray(petsclib::$UnionPetscLib, dm::AbstractPetscDM, pvec::AbstractPetscVec, nwanted::$PetscInt, wanted::Vector{$PetscInt}, vecs::Vector{<:AbstractPetscVec} ) @@ -1065,7 +1065,7 @@ See also: `DMCOMPOSITE`, `DM`, `DMDestroy()`, `DMCompositeAddDM()`, `DMCreateGlo $(_doc_external("DMComposite/DMCompositeGetEntriesArray")) """ function DMCompositeGetEntriesArray(petsclib::PetscLibType, dm::AbstractPetscDM, dms::Vector{<:AbstractPetscDM}) - error("DMCompositeGetEntriesArray: no generated method for these argument types") + throw(MethodError(DMCompositeGetEntriesArray, (petsclib, dm, dms))) end @for_petsc function DMCompositeGetEntriesArray(petsclib::$UnionPetscLib, dm::AbstractPetscDM, dms::Vector{<:AbstractPetscDM} ) @@ -1103,7 +1103,7 @@ See also: `DMCOMPOSITE`, `DM`, `DMDestroy()`, `DMCompositeAddDM()`, `DMCreateGlo $(_doc_external("DMComposite/DMCompositeGetGlobalISs")) """ function DMCompositeGetGlobalISs(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMCompositeGetGlobalISs: no generated method for these argument types") + throw(MethodError(DMCompositeGetGlobalISs, (petsclib, dm))) end @for_petsc function DMCompositeGetGlobalISs(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -1144,7 +1144,7 @@ See also: `DMCOMPOSITE`, `DM`, `DMDestroy()`, `DMCompositeAddDM()`, `DMCreateGlo $(_doc_external("DMComposite/DMCompositeGetISLocalToGlobalMappings")) """ function DMCompositeGetISLocalToGlobalMappings(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMCompositeGetISLocalToGlobalMappings: no generated method for these argument types") + throw(MethodError(DMCompositeGetISLocalToGlobalMappings, (petsclib, dm))) end @for_petsc function DMCompositeGetISLocalToGlobalMappings(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -1187,7 +1187,7 @@ See also: `DMCOMPOSITE`, `DM`, `DMCompositeRestoreLocalAccessArray()`, `DMCompos $(_doc_external("DMComposite/DMCompositeGetLocalAccessArray")) """ function DMCompositeGetLocalAccessArray(petsclib::PetscLibType, dm::AbstractPetscDM, pvec::AbstractPetscVec, nwanted::Integer, wanted::AbstractVector{<:Number}, vecs::Vector{<:AbstractPetscVec}) - error("DMCompositeGetLocalAccessArray: no generated method for these argument types") + throw(MethodError(DMCompositeGetLocalAccessArray, (petsclib, dm, pvec, nwanted, wanted, vecs))) end @for_petsc function DMCompositeGetLocalAccessArray(petsclib::$UnionPetscLib, dm::AbstractPetscDM, pvec::AbstractPetscVec, nwanted::$PetscInt, wanted::Vector{$PetscInt}, vecs::Vector{<:AbstractPetscVec} ) @@ -1224,7 +1224,7 @@ See also: `DMCOMPOSITE`, `DM`, `DMCompositeGetGlobalISs()`, `DMCompositeGetISLoc $(_doc_external("DMComposite/DMCompositeGetLocalISs")) """ function DMCompositeGetLocalISs(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMCompositeGetLocalISs: no generated method for these argument types") + throw(MethodError(DMCompositeGetLocalISs, (petsclib, dm))) end @for_petsc function DMCompositeGetLocalISs(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -1263,7 +1263,7 @@ See also: `DMCOMPOSITE`, `DM` $(_doc_external("DMComposite/DMCompositeGetNumberDM")) """ function DMCompositeGetNumberDM(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMCompositeGetNumberDM: no generated method for these argument types") + throw(MethodError(DMCompositeGetNumberDM, (petsclib, dm))) end @for_petsc function DMCompositeGetNumberDM(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -1302,7 +1302,7 @@ See also: `DMCOMPOSITE`, `DM`, `DMCompositeRestoreAccess()`, `DMCompositeRestore $(_doc_external("DMComposite/DMCompositeRestoreAccessArray")) """ function DMCompositeRestoreAccessArray(petsclib::PetscLibType, dm::AbstractPetscDM, pvec::AbstractPetscVec, nwanted::Integer, wanted::AbstractVector{<:Number}, vecs::Vector{<:AbstractPetscVec}) - error("DMCompositeRestoreAccessArray: no generated method for these argument types") + throw(MethodError(DMCompositeRestoreAccessArray, (petsclib, dm, pvec, nwanted, wanted, vecs))) end @for_petsc function DMCompositeRestoreAccessArray(petsclib::$UnionPetscLib, dm::AbstractPetscDM, pvec::AbstractPetscVec, nwanted::$PetscInt, wanted::Vector{$PetscInt}, vecs::Vector{<:AbstractPetscVec} ) @@ -1341,7 +1341,7 @@ See also: `DMCOMPOSITE`, `DM`, `DMCompositeGetLocalAccessArray()`, `DMCompositeR $(_doc_external("DMComposite/DMCompositeRestoreLocalAccessArray")) """ function DMCompositeRestoreLocalAccessArray(petsclib::PetscLibType, dm::AbstractPetscDM, pvec::AbstractPetscVec, nwanted::Integer, wanted::AbstractVector{<:Number}, vecs::AbstractPetscVec) - error("DMCompositeRestoreLocalAccessArray: no generated method for these argument types") + throw(MethodError(DMCompositeRestoreLocalAccessArray, (petsclib, dm, pvec, nwanted, wanted, vecs))) end @for_petsc function DMCompositeRestoreLocalAccessArray(petsclib::$UnionPetscLib, dm::AbstractPetscDM, pvec::AbstractPetscVec, nwanted::$PetscInt, wanted::Vector{$PetscInt}, vecs::AbstractPetscVec ) @@ -1380,7 +1380,7 @@ See also: `DMCOMPOSITE`, `DM`, `DMDestroy()`, `DMCompositeAddDM()`, `DMCreateGlo $(_doc_external("DMComposite/DMCompositeScatterArray")) """ function DMCompositeScatterArray(petsclib::PetscLibType, dm::AbstractPetscDM, gvec::AbstractPetscVec, lvecs::AbstractPetscVec) - error("DMCompositeScatterArray: no generated method for these argument types") + throw(MethodError(DMCompositeScatterArray, (petsclib, dm, gvec, lvecs))) end @for_petsc function DMCompositeScatterArray(petsclib::$UnionPetscLib, dm::AbstractPetscDM, gvec::AbstractPetscVec, lvecs::AbstractPetscVec ) @@ -1417,7 +1417,7 @@ See also: `DMCOMPOSITE`, `DM` $(_doc_external("DMComposite/DMCompositeSetCoupling")) """ function DMCompositeSetCoupling(petsclib::PetscLibType, dm::AbstractPetscDM, FormCoupleLocations::external) - error("DMCompositeSetCoupling: no generated method for these argument types") + throw(MethodError(DMCompositeSetCoupling, (petsclib, dm, FormCoupleLocations))) end @for_petsc function DMCompositeSetCoupling(petsclib::$UnionPetscLib, dm::AbstractPetscDM, FormCoupleLocations::external ) @@ -1458,7 +1458,7 @@ See also: `DM`, `DMMonitorSet()`, `DMGetRegionNumDS()`, `PetscDSGetExactSolution $(_doc_external("DM/DMComputeError")) """ function DMComputeError(petsclib::PetscLibType, dm::AbstractPetscDM, sol::AbstractPetscVec, errors::AbstractVector{<:Number}) - error("DMComputeError: no generated method for these argument types") + throw(MethodError(DMComputeError, (petsclib, dm, sol, errors))) end @for_petsc function DMComputeError(petsclib::$UnionPetscLib, dm::AbstractPetscDM, sol::AbstractPetscVec, errors::Vector{$PetscReal} ) @@ -1498,7 +1498,7 @@ See also: `DM`, `PetscDSSetExactSolution()` $(_doc_external("DM/DMComputeExactSolution")) """ function DMComputeExactSolution(petsclib::PetscLibType, dm::AbstractPetscDM, time::Real, u::AbstractPetscVec, u_t::AbstractPetscVec) - error("DMComputeExactSolution: no generated method for these argument types") + throw(MethodError(DMComputeExactSolution, (petsclib, dm, time, u, u_t))) end @for_petsc function DMComputeExactSolution(petsclib::$UnionPetscLib, dm::AbstractPetscDM, time::$PetscReal, u::AbstractPetscVec, u_t::AbstractPetscVec ) @@ -1563,7 +1563,7 @@ See also: `DM`, `DMProjectFunction()`, `DMComputeL2GradientDiff()` $(_doc_external("DM/DMComputeL2FieldDiff")) """ function DMComputeL2FieldDiff(petsclib::PetscLibType, dm::AbstractPetscDM, time::Real, noname::Ptr{Cvoid}) - error("DMComputeL2FieldDiff: no generated method for these argument types") + throw(MethodError(DMComputeL2FieldDiff, (petsclib, dm, time, noname))) end @for_petsc function DMComputeL2FieldDiff(petsclib::$UnionPetscLib, dm::AbstractPetscDM, time::$PetscReal, noname::Ptr{Cvoid} ) @@ -1604,7 +1604,7 @@ See also: `DM`, `DMProjectFunction()`, `DMComputeL2Diff()`, `DMComputeL2FieldDif $(_doc_external("DM/DMComputeL2GradientDiff")) """ function DMComputeL2GradientDiff(petsclib::PetscLibType, dm::AbstractPetscDM, time::Real, noname::Ptr{Cvoid}) - error("DMComputeL2GradientDiff: no generated method for these argument types") + throw(MethodError(DMComputeL2GradientDiff, (petsclib, dm, time, noname))) end @for_petsc function DMComputeL2GradientDiff(petsclib::$UnionPetscLib, dm::AbstractPetscDM, time::$PetscReal, noname::Ptr{Cvoid} ) @@ -1641,7 +1641,7 @@ See also: `DM`, `DMHasVariableBounds()`, `DMView()`, `DMCreateGlobalVector()`, ` $(_doc_external("DM/DMComputeVariableBounds")) """ function DMComputeVariableBounds(petsclib::PetscLibType, dm::AbstractPetscDM, xl::AbstractPetscVec, xu::AbstractPetscVec) - error("DMComputeVariableBounds: no generated method for these argument types") + throw(MethodError(DMComputeVariableBounds, (petsclib, dm, xl, xu))) end @for_petsc function DMComputeVariableBounds(petsclib::$UnionPetscLib, dm::AbstractPetscDM, xl::AbstractPetscVec, xu::AbstractPetscVec ) @@ -1678,7 +1678,7 @@ See also: `DM`, `DMSetType()`, `DMCreate()`, `DMClone()` $(_doc_external("DM/DMConvert")) """ function DMConvert(petsclib::PetscLibType, dm::AbstractPetscDM, newtype::String) - error("DMConvert: no generated method for these argument types") + throw(MethodError(DMConvert, (petsclib, dm, newtype))) end @for_petsc function DMConvert(petsclib::$UnionPetscLib, dm::AbstractPetscDM, newtype::String ) @@ -1716,7 +1716,7 @@ See also: `DM`, `DMClearAuxiliaryVec()`, `DMGetNumAuxiliaryVec()`, `DMGetAuxilia $(_doc_external("DM/DMCopyAuxiliaryVec")) """ function DMCopyAuxiliaryVec(petsclib::PetscLibType, dm::AbstractPetscDM, dmNew::AbstractPetscDM) - error("DMCopyAuxiliaryVec: no generated method for these argument types") + throw(MethodError(DMCopyAuxiliaryVec, (petsclib, dm, dmNew))) end @for_petsc function DMCopyAuxiliaryVec(petsclib::$UnionPetscLib, dm::AbstractPetscDM, dmNew::AbstractPetscDM ) @@ -1750,7 +1750,7 @@ See also: `DMKSP`, `DM`, `KSP`, `DMGetDMKSP()`, `KSPSetDM()` $(_doc_external("KSP/DMCopyDMKSP")) """ function DMCopyDMKSP(petsclib::PetscLibType, dmsrc::AbstractPetscDM, dmdest::AbstractPetscDM) - error("DMCopyDMKSP: no generated method for these argument types") + throw(MethodError(DMCopyDMKSP, (petsclib, dmsrc, dmdest))) end @for_petsc function DMCopyDMKSP(petsclib::$UnionPetscLib, dmsrc::AbstractPetscDM, dmdest::AbstractPetscDM ) @@ -1784,7 +1784,7 @@ See also: `DMSNES`, `DMGetDMSNES()`, `SNESSetDM()` $(_doc_external("SNES/DMCopyDMSNES")) """ function DMCopyDMSNES(petsclib::PetscLibType, dmsrc::AbstractPetscDM, dmdest::AbstractPetscDM) - error("DMCopyDMSNES: no generated method for these argument types") + throw(MethodError(DMCopyDMSNES, (petsclib, dmsrc, dmdest))) end @for_petsc function DMCopyDMSNES(petsclib::$UnionPetscLib, dmsrc::AbstractPetscDM, dmdest::AbstractPetscDM ) @@ -1822,7 +1822,7 @@ See also: `DM`, `DMCopyFields()`, `DMAddField()`, `DMGetDS()`, `DMGetCellDS()`, $(_doc_external("DM/DMCopyDS")) """ function DMCopyDS(petsclib::PetscLibType, dm::AbstractPetscDM, minDegree::Integer, maxDegree::Integer, newdm::AbstractPetscDM) - error("DMCopyDS: no generated method for these argument types") + throw(MethodError(DMCopyDS, (petsclib, dm, minDegree, maxDegree, newdm))) end @for_petsc function DMCopyDS(petsclib::$UnionPetscLib, dm::AbstractPetscDM, minDegree::$PetscInt, maxDegree::$PetscInt, newdm::AbstractPetscDM ) @@ -1858,7 +1858,7 @@ See also: `DM`, `DMCopyFields()`, `DMCopyDS()` $(_doc_external("DM/DMCopyDisc")) """ function DMCopyDisc(petsclib::PetscLibType, dm::AbstractPetscDM, newdm::AbstractPetscDM) - error("DMCopyDisc: no generated method for these argument types") + throw(MethodError(DMCopyDisc, (petsclib, dm, newdm))) end @for_petsc function DMCopyDisc(petsclib::$UnionPetscLib, dm::AbstractPetscDM, newdm::AbstractPetscDM ) @@ -1896,7 +1896,7 @@ See also: `DM`, `DMGetField()`, `DMSetField()`, `DMAddField()`, `DMCopyDS()`, `D $(_doc_external("DM/DMCopyFields")) """ function DMCopyFields(petsclib::PetscLibType, dm::AbstractPetscDM, minDegree::Integer, maxDegree::Integer, newdm::AbstractPetscDM) - error("DMCopyFields: no generated method for these argument types") + throw(MethodError(DMCopyFields, (petsclib, dm, minDegree, maxDegree, newdm))) end @for_petsc function DMCopyFields(petsclib::$UnionPetscLib, dm::AbstractPetscDM, minDegree::$PetscInt, maxDegree::$PetscInt, newdm::AbstractPetscDM ) @@ -1933,7 +1933,7 @@ See also: `DM`, `DMLabel`, `DMAddLabel()`, `DMCopyLabelsMode` $(_doc_external("DM/DMCopyLabels")) """ function DMCopyLabels(petsclib::PetscLibType, dmA::AbstractPetscDM, dmB::AbstractPetscDM, mode::PetscCopyMode, all::PetscBool, emode::DMCopyLabelsMode) - error("DMCopyLabels: no generated method for these argument types") + throw(MethodError(DMCopyLabels, (petsclib, dmA, dmB, mode, all, emode))) end @for_petsc function DMCopyLabels(petsclib::$UnionPetscLib, dmA::AbstractPetscDM, dmB::AbstractPetscDM, mode::PetscCopyMode, all::PetscBool, emode::DMCopyLabelsMode ) @@ -1969,7 +1969,7 @@ See also: `DM`, `DMCopyDS()`, `DMCopyDisc()` $(_doc_external("DM/DMCopyTransform")) """ function DMCopyTransform(petsclib::PetscLibType, dm::AbstractPetscDM, newdm::AbstractPetscDM) - error("DMCopyTransform: no generated method for these argument types") + throw(MethodError(DMCopyTransform, (petsclib, dm, newdm))) end @for_petsc function DMCopyTransform(petsclib::$UnionPetscLib, dm::AbstractPetscDM, newdm::AbstractPetscDM ) @@ -2006,7 +2006,7 @@ See also: `DM`, `DMSetType()`, `DMType`, `DMDACreate()`, `DMDA`, `DMSLICED`, `DM $(_doc_external("DM/DMCreate")) """ function DMCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("DMCreate: no generated method for these argument types") + throw(MethodError(DMCreate, (petsclib, comm))) end @for_petsc function DMCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -2046,7 +2046,7 @@ See also: `DM`, `ISColoring`, `DMDestroy()`, `DMView()`, `DMCreateGlobalVector() $(_doc_external("DM/DMCreateColoring")) """ function DMCreateColoring(petsclib::PetscLibType, dm::AbstractPetscDM, ctype::ISColoringType) - error("DMCreateColoring: no generated method for these argument types") + throw(MethodError(DMCreateColoring, (petsclib, dm, ctype))) end @for_petsc function DMCreateColoring(petsclib::$UnionPetscLib, dm::AbstractPetscDM, ctype::ISColoringType ) @@ -2084,7 +2084,7 @@ See also: `DM`, `DMSetField`, `DMAddField()`, `DMGetDS()`, `DMGetCellDS()`, `DMG $(_doc_external("DM/DMCreateDS")) """ function DMCreateDS(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMCreateDS: no generated method for these argument types") + throw(MethodError(DMCreateDS, (petsclib, dm))) end @for_petsc function DMCreateDS(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -2191,7 +2191,7 @@ See also: `DM`, `DMCreateDomainDecomposition()`, `DMDestroy()`, `DMView()`, `DMC $(_doc_external("DM/DMCreateDomainDecompositionScatters")) """ function DMCreateDomainDecompositionScatters(petsclib::PetscLibType, dm::AbstractPetscDM, n::Integer, subdms::Vector{<:AbstractPetscDM}) - error("DMCreateDomainDecompositionScatters: no generated method for these argument types") + throw(MethodError(DMCreateDomainDecompositionScatters, (petsclib, dm, n, subdms))) end @for_petsc function DMCreateDomainDecompositionScatters(petsclib::$UnionPetscLib, dm::AbstractPetscDM, n::$PetscInt, subdms::Vector{<:AbstractPetscDM} ) @@ -2236,7 +2236,7 @@ See also: `DM`, `PetscFECreateByCell()`, `DMAddField()`, `DMCreateDS()`, `DMGetC $(_doc_external("DM/DMCreateFEDefault")) """ function DMCreateFEDefault(petsclib::PetscLibType, dm::AbstractPetscDM, Nc::Integer, prefix::String, qorder::Integer) - error("DMCreateFEDefault: no generated method for these argument types") + throw(MethodError(DMCreateFEDefault, (petsclib, dm, Nc, prefix, qorder))) end @for_petsc function DMCreateFEDefault(petsclib::$UnionPetscLib, dm::AbstractPetscDM, Nc::$PetscInt, prefix::String, qorder::$PetscInt ) @@ -2400,7 +2400,7 @@ See also: `DM`, `Vec`, `DMCreateLocalVector()`, `DMGetGlobalVector()`, `DMDestro $(_doc_external("DM/DMCreateGlobalVector")) """ function DMCreateGlobalVector(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMCreateGlobalVector: no generated method for these argument types") + throw(MethodError(DMCreateGlobalVector, (petsclib, dm))) end @for_petsc function DMCreateGlobalVector(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -2439,7 +2439,7 @@ See also: `DM`, `DMCreateMassMatrix()`, `DMCreateMassMatrixLumped()`, `DMCreateM $(_doc_external("DM/DMCreateGradientMatrix")) """ function DMCreateGradientMatrix(petsclib::PetscLibType, dmc::AbstractPetscDM, dmf::AbstractPetscDM) - error("DMCreateGradientMatrix: no generated method for these argument types") + throw(MethodError(DMCreateGradientMatrix, (petsclib, dmc, dmf))) end @for_petsc function DMCreateGradientMatrix(petsclib::$UnionPetscLib, dmc::AbstractPetscDM, dmf::AbstractPetscDM ) @@ -2479,7 +2479,7 @@ See also: `DM`, `DMDestroy()`, `DMView()`, `DMCreateGlobalVector()`, `DMCreateCo $(_doc_external("DM/DMCreateInjection")) """ function DMCreateInjection(petsclib::PetscLibType, dac::AbstractPetscDM, daf::AbstractPetscDM) - error("DMCreateInjection: no generated method for these argument types") + throw(MethodError(DMCreateInjection, (petsclib, dac, daf))) end @for_petsc function DMCreateInjection(petsclib::$UnionPetscLib, dac::AbstractPetscDM, daf::AbstractPetscDM ) @@ -2520,7 +2520,7 @@ See also: `DM`, `DMDestroy()`, `DMView()`, `DMCreateGlobalVector()`, `DMCreateCo $(_doc_external("DM/DMCreateInterpolation")) """ function DMCreateInterpolation(petsclib::PetscLibType, dmc::AbstractPetscDM, dmf::AbstractPetscDM) - error("DMCreateInterpolation: no generated method for these argument types") + throw(MethodError(DMCreateInterpolation, (petsclib, dmc, dmf))) end @for_petsc function DMCreateInterpolation(petsclib::$UnionPetscLib, dmc::AbstractPetscDM, dmf::AbstractPetscDM ) @@ -2561,7 +2561,7 @@ See also: `DM`, `MatRestrict()`, `MatInterpolate()`, `DMCreateInterpolation()`, $(_doc_external("DM/DMCreateInterpolationScale")) """ function DMCreateInterpolationScale(petsclib::PetscLibType, dac::AbstractPetscDM, daf::AbstractPetscDM, mat::AbstractPetscMat) - error("DMCreateInterpolationScale: no generated method for these argument types") + throw(MethodError(DMCreateInterpolationScale, (petsclib, dac, daf, mat))) end @for_petsc function DMCreateInterpolationScale(petsclib::$UnionPetscLib, dac::AbstractPetscDM, daf::AbstractPetscDM, mat::AbstractPetscMat ) @@ -2597,7 +2597,7 @@ See also: `DM`, `DMLabelCreate()`, `DMHasLabel()`, `DMGetLabelValue()`, `DMSetLa $(_doc_external("DM/DMCreateLabel")) """ function DMCreateLabel(petsclib::PetscLibType, dm::AbstractPetscDM, name::String) - error("DMCreateLabel: no generated method for these argument types") + throw(MethodError(DMCreateLabel, (petsclib, dm, name))) end @for_petsc function DMCreateLabel(petsclib::$UnionPetscLib, dm::AbstractPetscDM, name::String ) @@ -2632,7 +2632,7 @@ See also: `DM`, `DMCreateLabel()`, `DMLabelCreate()`, `DMHasLabel()`, `DMGetLabe $(_doc_external("DM/DMCreateLabelAtIndex")) """ function DMCreateLabelAtIndex(petsclib::PetscLibType, dm::AbstractPetscDM, l::Integer, name::String) - error("DMCreateLabelAtIndex: no generated method for these argument types") + throw(MethodError(DMCreateLabelAtIndex, (petsclib, dm, l, name))) end @for_petsc function DMCreateLabelAtIndex(petsclib::$UnionPetscLib, dm::AbstractPetscDM, l::$PetscInt, name::String ) @@ -2669,7 +2669,7 @@ See also: `DM`, `Vec`, `DMCreateGlobalVector()`, `DMGetLocalVector()`, `DMDestro $(_doc_external("DM/DMCreateLocalVector")) """ function DMCreateLocalVector(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMCreateLocalVector: no generated method for these argument types") + throw(MethodError(DMCreateLocalVector, (petsclib, dm))) end @for_petsc function DMCreateLocalVector(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -2709,7 +2709,7 @@ See also: `DM`, `DMCreateMassMatrixLumped()`, `DMCreateMatrix()`, `DMRefine()`, $(_doc_external("DM/DMCreateMassMatrix")) """ function DMCreateMassMatrix(petsclib::PetscLibType, dmc::AbstractPetscDM, dmf::AbstractPetscDM) - error("DMCreateMassMatrix: no generated method for these argument types") + throw(MethodError(DMCreateMassMatrix, (petsclib, dmc, dmf))) end @for_petsc function DMCreateMassMatrix(petsclib::$UnionPetscLib, dmc::AbstractPetscDM, dmf::AbstractPetscDM ) @@ -2748,7 +2748,7 @@ See also: `DM`, `DMCreateMassMatrix()`, `DMCreateMatrix()`, `DMRefine()`, `DMCoa $(_doc_external("DM/DMCreateMassMatrixLumped")) """ function DMCreateMassMatrixLumped(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMCreateMassMatrixLumped: no generated method for these argument types") + throw(MethodError(DMCreateMassMatrixLumped, (petsclib, dm))) end @for_petsc function DMCreateMassMatrixLumped(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -2792,7 +2792,7 @@ See also: `DM`, `DMDestroy()`, `DMView()`, `DMCreateGlobalVector()`, `DMCreateIn $(_doc_external("DM/DMCreateMatrix")) """ function DMCreateMatrix(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMCreateMatrix: no generated method for these argument types") + throw(MethodError(DMCreateMatrix, (petsclib, dm))) end @for_petsc function DMCreateMatrix(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -2832,7 +2832,7 @@ See also: `DM`, `DMRestrict()`, `DMInterpolate()`, `DMDestroy()`, `DMView()`, `D $(_doc_external("DM/DMCreateRestriction")) """ function DMCreateRestriction(petsclib::PetscLibType, dmc::AbstractPetscDM, dmf::AbstractPetscDM) - error("DMCreateRestriction: no generated method for these argument types") + throw(MethodError(DMCreateRestriction, (petsclib, dmc, dmf))) end @for_petsc function DMCreateRestriction(petsclib::$UnionPetscLib, dmc::AbstractPetscDM, dmf::AbstractPetscDM ) @@ -2869,7 +2869,7 @@ See also: `DM`, `PetscSection`, `DMGetLocalSection()`, `DMGetGlobalSection()` $(_doc_external("DM/DMCreateSectionPermutation")) """ function DMCreateSectionPermutation(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMCreateSectionPermutation: no generated method for these argument types") + throw(MethodError(DMCreateSectionPermutation, (petsclib, dm))) end @for_petsc function DMCreateSectionPermutation(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -2907,7 +2907,7 @@ See also: `DM`, `DMGetSectionSF()`, `DMSetSectionSF()`, `DMGetLocalSection()`, ` $(_doc_external("DM/DMCreateSectionSF")) """ function DMCreateSectionSF(petsclib::PetscLibType, dm::AbstractPetscDM, localSection::PetscSection, globalSection::PetscSection) - error("DMCreateSectionSF: no generated method for these argument types") + throw(MethodError(DMCreateSectionSF, (petsclib, dm, localSection, globalSection))) end @for_petsc function DMCreateSectionSF(petsclib::$UnionPetscLib, dm::AbstractPetscDM, localSection::PetscSection, globalSection::PetscSection ) @@ -2948,7 +2948,7 @@ See also: `DMCreateSubDM()`, `DMGetLocalSection()`, `DMPlexSetMigrationSF()`, `D $(_doc_external("DM/DMCreateSectionSubDM")) """ function DMCreateSectionSubDM(petsclib::PetscLibType, dm::AbstractPetscDM, numFields::Integer, fields::AbstractVector{<:Number}, numComps::AbstractVector{<:Number}, comps::AbstractVector{<:Number}) - error("DMCreateSectionSubDM: no generated method for these argument types") + throw(MethodError(DMCreateSectionSubDM, (petsclib, dm, numFields, fields, numComps, comps))) end @for_petsc function DMCreateSectionSubDM(petsclib::$UnionPetscLib, dm::AbstractPetscDM, numFields::$PetscInt, fields::Vector{$PetscInt}, numComps::Vector{$PetscInt}, comps::Vector{$PetscInt} ) @@ -2990,7 +2990,7 @@ See also: `DMCreateSuperDM()`, `DMGetLocalSection()`, `DMPlexSetMigrationSF()`, $(_doc_external("DM/DMCreateSectionSuperDM")) """ function DMCreateSectionSuperDM(petsclib::PetscLibType, dms::Vector{<:AbstractPetscDM}, len::Integer) - error("DMCreateSectionSuperDM: no generated method for these argument types") + throw(MethodError(DMCreateSectionSuperDM, (petsclib, dms, len))) end @for_petsc function DMCreateSectionSuperDM(petsclib::$UnionPetscLib, dms::Vector{<:AbstractPetscDM}, len::$PetscInt ) @@ -3035,7 +3035,7 @@ See also: `DM`, `DMCreateFieldIS()`, `DMCreateFieldDecomposition()`, `DMAddField $(_doc_external("DM/DMCreateSubDM")) """ function DMCreateSubDM(petsclib::PetscLibType, dm::AbstractPetscDM, numFields::Integer, fields::AbstractVector{<:Number}) - error("DMCreateSubDM: no generated method for these argument types") + throw(MethodError(DMCreateSubDM, (petsclib, dm, numFields, fields))) end @for_petsc function DMCreateSubDM(petsclib::$UnionPetscLib, dm::AbstractPetscDM, numFields::$PetscInt, fields::Vector{$PetscInt} ) @@ -3077,7 +3077,7 @@ See also: `DM`, `DMCreateSubDM()`, `DMPlexSetMigrationSF()`, `DMDestroy()`, `DMV $(_doc_external("DM/DMCreateSuperDM")) """ function DMCreateSuperDM(petsclib::PetscLibType, dms::Vector{<:AbstractPetscDM}, n::Integer) - error("DMCreateSuperDM: no generated method for these argument types") + throw(MethodError(DMCreateSuperDM, (petsclib, dms, n))) end @for_petsc function DMCreateSuperDM(petsclib::$UnionPetscLib, dms::Vector{<:AbstractPetscDM}, n::$PetscInt ) @@ -3119,7 +3119,7 @@ See also: `DM`, `DMDA`, `DMDAGetGhostCorners()` $(_doc_external("DMDA/DMDAConvertToCell")) """ function DMDAConvertToCell(petsclib::PetscLibType, dm::AbstractPetscDM, s::MatStencil) - error("DMDAConvertToCell: no generated method for these argument types") + throw(MethodError(DMDAConvertToCell, (petsclib, dm, s))) end @for_petsc function DMDAConvertToCell(petsclib::$UnionPetscLib, dm::AbstractPetscDM, s::MatStencil ) @@ -3157,7 +3157,7 @@ See also: `DM`, `DMDA`, `DMSetUp()`, `DMDASetSizes()`, `DMClone()`, `DMDACreate1 $(_doc_external("DMDA/DMDACreate")) """ function DMDACreate(petsclib::PetscLibType, comm::MPI_Comm) - error("DMDACreate: no generated method for these argument types") + throw(MethodError(DMDACreate, (petsclib, comm))) end @for_petsc function DMDACreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -3213,7 +3213,7 @@ See also: `DMDA`, `DM`, `DMDestroy()`, `DMView()`, `DMDACreate2d()`, `DMDACreate $(_doc_external("DMDA/DMDACreate1d")) """ function DMDACreate1d(petsclib::PetscLibType, comm::MPI_Comm, bx::DMBoundaryType, M::Integer, dof::Integer, s::Integer, lx::Union{Ptr, AbstractVector{<:Number}}) - error("DMDACreate1d: no generated method for these argument types") + throw(MethodError(DMDACreate1d, (petsclib, comm, bx, M, dof, s, lx))) end @for_petsc function DMDACreate1d(petsclib::$UnionPetscLib, comm::MPI_Comm, bx::DMBoundaryType, M::$PetscInt, dof::$PetscInt, s::$PetscInt, lx::Union{Ptr, Vector{$PetscInt}} ) @@ -3279,7 +3279,7 @@ See also: `DM`, `DMDA`, `DMDestroy()`, `DMView()`, `DMDACreate1d()`, `DMDACreate $(_doc_external("DMDA/DMDACreate2d")) """ function DMDACreate2d(petsclib::PetscLibType, comm::MPI_Comm, bx::DMBoundaryType, by::DMBoundaryType, stencil_type::DMDAStencilType, M::Integer, N::Integer, M_m::Integer, M_n::Integer, dof::Integer, s::Integer, lx::Union{Ptr, AbstractVector{<:Number}}, ly::Union{Ptr, AbstractVector{<:Number}}) - error("DMDACreate2d: no generated method for these argument types") + throw(MethodError(DMDACreate2d, (petsclib, comm, bx, by, stencil_type, M, N, M_m, M_n, dof, s, lx, ly))) end @for_petsc function DMDACreate2d(petsclib::$UnionPetscLib, comm::MPI_Comm, bx::DMBoundaryType, by::DMBoundaryType, stencil_type::DMDAStencilType, M::$PetscInt, N::$PetscInt, M_m::$PetscInt, M_n::$PetscInt, dof::$PetscInt, s::$PetscInt, lx::Union{Ptr, Vector{$PetscInt}}, ly::Union{Ptr, Vector{$PetscInt}} ) @@ -3356,7 +3356,7 @@ See also: `DM`, `DMDA`, `DMDestroy()`, `DMView()`, `DMDACreate1d()`, `DMDACreate $(_doc_external("DMDA/DMDACreate3d")) """ function DMDACreate3d(petsclib::PetscLibType, comm::MPI_Comm, bx::DMBoundaryType, by::DMBoundaryType, bz::DMBoundaryType, stencil_type::DMDAStencilType, M::Integer, N::Integer, P::Integer, M_m::Integer, M_n::Integer, M_p::Integer, dof::Integer, s::Integer, lx::Union{Ptr, AbstractVector{<:Number}}, ly::Union{Ptr, AbstractVector{<:Number}}, lz::Union{Ptr, AbstractVector{<:Number}}) - error("DMDACreate3d: no generated method for these argument types") + throw(MethodError(DMDACreate3d, (petsclib, comm, bx, by, bz, stencil_type, M, N, P, M_m, M_n, M_p, dof, s, lx, ly, lz))) end @for_petsc function DMDACreate3d(petsclib::$UnionPetscLib, comm::MPI_Comm, bx::DMBoundaryType, by::DMBoundaryType, bz::DMBoundaryType, stencil_type::DMDAStencilType, M::$PetscInt, N::$PetscInt, P::$PetscInt, M_m::$PetscInt, M_n::$PetscInt, M_p::$PetscInt, dof::$PetscInt, s::$PetscInt, lx::Union{Ptr, Vector{$PetscInt}}, ly::Union{Ptr, Vector{$PetscInt}}, lz::Union{Ptr, Vector{$PetscInt}} ) @@ -3396,7 +3396,7 @@ See also: `DMRefine()`, `DMCreateInjection()`, `DMCreateInterpolation()` $(_doc_external("DMDA/DMDACreateAggregates")) """ function DMDACreateAggregates(petsclib::PetscLibType, dac::AbstractPetscDM, daf::AbstractPetscDM) - error("DMDACreateAggregates: no generated method for these argument types") + throw(MethodError(DMDACreateAggregates, (petsclib, dac, daf))) end @for_petsc function DMDACreateAggregates(petsclib::$UnionPetscLib, dac::AbstractPetscDM, daf::AbstractPetscDM ) @@ -3436,7 +3436,7 @@ See also: `DM`, `DMDA`, `DMDAGetGhostCorners()`, `DMSetCoordinates()`, `DMDASetU $(_doc_external("DMDA/DMDACreateCompatibleDMDA")) """ function DMDACreateCompatibleDMDA(petsclib::PetscLibType, da::AbstractPetscDM, nfields::Integer) - error("DMDACreateCompatibleDMDA: no generated method for these argument types") + throw(MethodError(DMDACreateCompatibleDMDA, (petsclib, da, nfields))) end @for_petsc function DMDACreateCompatibleDMDA(petsclib::$UnionPetscLib, da::AbstractPetscDM, nfields::$PetscInt ) @@ -3478,7 +3478,7 @@ See also: `DM`, `DMDA`, `DMDAGlobalToNaturalBegin()`, `DMDAGlobalToNaturalEnd()` $(_doc_external("DMDA/DMDACreateNaturalVector")) """ function DMDACreateNaturalVector(petsclib::PetscLibType, da::AbstractPetscDM) - error("DMDACreateNaturalVector: no generated method for these argument types") + throw(MethodError(DMDACreateNaturalVector, (petsclib, da))) end @for_petsc function DMDACreateNaturalVector(petsclib::$UnionPetscLib, da::AbstractPetscDM ) @@ -3517,7 +3517,7 @@ See also: `DM`, `PF`, `DMDA`, `DMDACreate1d()`, `DMDACreate2d()`, `DMDACreate3d( $(_doc_external("DMDA/DMDACreatePF")) """ function DMDACreatePF(petsclib::PetscLibType, da::AbstractPetscDM) - error("DMDACreatePF: no generated method for these argument types") + throw(MethodError(DMDACreatePF, (petsclib, da))) end @for_petsc function DMDACreatePF(petsclib::$UnionPetscLib, da::AbstractPetscDM ) @@ -3558,7 +3558,7 @@ See also: `DM`, `DMDA`, `DMCreateDomainDecomposition()`, `DMCreateDomainDecompos $(_doc_external("DMDA/DMDACreatePatchIS")) """ function DMDACreatePatchIS(petsclib::PetscLibType, da::AbstractPetscDM, lower::Vector{MatStencil}, upper::Vector{MatStencil}, offproc::PetscBool) - error("DMDACreatePatchIS: no generated method for these argument types") + throw(MethodError(DMDACreatePatchIS, (petsclib, da, lower, upper, offproc))) end @for_petsc function DMDACreatePatchIS(petsclib::$UnionPetscLib, da::AbstractPetscDM, lower::Vector{MatStencil}, upper::Vector{MatStencil}, offproc::PetscBool ) @@ -3598,7 +3598,7 @@ See also: `DM`, `DMDA`, `DMDACreate2d()`, `DMDASetAOType()`, `DMDAGetGhostCorner $(_doc_external("DMDA/DMDAGetAO")) """ function DMDAGetAO(petsclib::PetscLibType, da::AbstractPetscDM) - error("DMDAGetAO: no generated method for these argument types") + throw(MethodError(DMDAGetAO, (petsclib, da))) end @for_petsc function DMDAGetAO(petsclib::$UnionPetscLib, da::AbstractPetscDM ) @@ -3635,7 +3635,7 @@ See also: `DM`, `DMDA`, `DMDARestoreArray()` $(_doc_external("DMDA/DMDAGetArray")) """ function DMDAGetArray(petsclib::PetscLibType, da::AbstractPetscDM, ghosted::PetscBool) - error("DMDAGetArray: no generated method for these argument types") + throw(MethodError(DMDAGetArray, (petsclib, da, ghosted))) end @for_petsc function DMDAGetArray(petsclib::$UnionPetscLib, da::AbstractPetscDM, ghosted::PetscBool ) @@ -3675,7 +3675,7 @@ See also: `DMDASetBoundaryType()`, `DM`, `DMDA`, `DMDACreate()`, `DMDestroy()`, $(_doc_external("DMDA/DMDAGetBoundaryType")) """ function DMDAGetBoundaryType(petsclib::PetscLibType, da::AbstractPetscDM) - error("DMDAGetBoundaryType: no generated method for these argument types") + throw(MethodError(DMDAGetBoundaryType, (petsclib, da))) end @for_petsc function DMDAGetBoundaryType(petsclib::$UnionPetscLib, da::AbstractPetscDM ) @@ -3718,7 +3718,7 @@ See also: `DM`, `DMDA`, `DMDAGetNumCells()` $(_doc_external("DMDA/DMDAGetCellPoint")) """ function DMDAGetCellPoint(petsclib::PetscLibType, dm::AbstractPetscDM, i::Integer, j::Integer, k::Integer) - error("DMDAGetCellPoint: no generated method for these argument types") + throw(MethodError(DMDAGetCellPoint, (petsclib, dm, i, j, k))) end @for_petsc function DMDAGetCellPoint(petsclib::$UnionPetscLib, dm::AbstractPetscDM, i::$PetscInt, j::$PetscInt, k::$PetscInt ) @@ -3756,7 +3756,7 @@ See also: `DM`, `DMDA`, `DMDASetCoordinateName()`, `DMDASetFieldName()`, `DMDAGe $(_doc_external("DMDA/DMDAGetCoordinateArray")) """ function DMDAGetCoordinateArray(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMDAGetCoordinateArray: no generated method for these argument types") + throw(MethodError(DMDAGetCoordinateArray, (petsclib, dm))) end @for_petsc function DMDAGetCoordinateArray(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -3795,7 +3795,7 @@ See also: `DM`, `DMDA`, `DMDASetCoordinateName()`, `DMDASetFieldName()`, `DMDAGe $(_doc_external("DMDA/DMDAGetCoordinateName")) """ function DMDAGetCoordinateName(petsclib::PetscLibType, dm::AbstractPetscDM, nf::Integer) - error("DMDAGetCoordinateName: no generated method for these argument types") + throw(MethodError(DMDAGetCoordinateName, (petsclib, dm, nf))) end @for_petsc function DMDAGetCoordinateName(petsclib::$UnionPetscLib, dm::AbstractPetscDM, nf::$PetscInt ) @@ -3839,7 +3839,7 @@ See also: `DM`, `DMDA`, `DMDAGetGhostCorners()`, `DMDAGetOwnershipRanges()`, `DM $(_doc_external("DMDA/DMDAGetCorners")) """ function DMDAGetCorners(petsclib::PetscLibType, da::AbstractPetscDM) - error("DMDAGetCorners: no generated method for these argument types") + throw(MethodError(DMDAGetCorners, (petsclib, da))) end @for_petsc function DMDAGetCorners(petsclib::$UnionPetscLib, da::AbstractPetscDM ) @@ -3890,7 +3890,7 @@ See also: `DM`, `DMDA`, `DMPlexGetDepthStratum()`, `DMPlexGetHeightStratum()`, ` $(_doc_external("DMDA/DMDAGetDepthStratum")) """ function DMDAGetDepthStratum(petsclib::PetscLibType, dm::AbstractPetscDM, depth::Integer) - error("DMDAGetDepthStratum: no generated method for these argument types") + throw(MethodError(DMDAGetDepthStratum, (petsclib, dm, depth))) end @for_petsc function DMDAGetDepthStratum(petsclib::$UnionPetscLib, dm::AbstractPetscDM, depth::$PetscInt ) @@ -3930,7 +3930,7 @@ See also: `DM`, `DMDA`, `DMDASetDof()`, `DMDACreate()`, `DMDestroy()` $(_doc_external("DMDA/DMDAGetDof")) """ function DMDAGetDof(petsclib::PetscLibType, da::AbstractPetscDM) - error("DMDAGetDof: no generated method for these argument types") + throw(MethodError(DMDAGetDof, (petsclib, da))) end @for_petsc function DMDAGetDof(petsclib::$UnionPetscLib, da::AbstractPetscDM ) @@ -3969,7 +3969,7 @@ See also: `DM`, `DMDA`, `DMDAElementType`, `DMDASetElementType()`, `DMDAGetEleme $(_doc_external("DMDA/DMDAGetElementType")) """ function DMDAGetElementType(petsclib::PetscLibType, da::AbstractPetscDM) - error("DMDAGetElementType: no generated method for these argument types") + throw(MethodError(DMDAGetElementType, (petsclib, da))) end @for_petsc function DMDAGetElementType(petsclib::$UnionPetscLib, da::AbstractPetscDM ) @@ -4013,7 +4013,7 @@ See also: `DM`, `DMDA`, `DMDAElementType`, `DMDASetElementType()`, `VecSetValues $(_doc_external("DMDA/DMDAGetElements")) """ function DMDAGetElements(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMDAGetElements: no generated method for these argument types") + throw(MethodError(DMDAGetElements, (petsclib, dm))) end @for_petsc function DMDAGetElements(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -4059,7 +4059,7 @@ See also: `DM`, `DMDA`, `DMDAElementType`, `DMDASetElementType()`, `DMDAGetEleme $(_doc_external("DMDA/DMDAGetElementsCorners")) """ function DMDAGetElementsCorners(petsclib::PetscLibType, da::AbstractPetscDM) - error("DMDAGetElementsCorners: no generated method for these argument types") + throw(MethodError(DMDAGetElementsCorners, (petsclib, da))) end @for_petsc function DMDAGetElementsCorners(petsclib::$UnionPetscLib, da::AbstractPetscDM ) @@ -4103,7 +4103,7 @@ See also: `DM`, `DMDA`, `DMDAElementType`, `DMDASetElementType()`, `DMDAGetEleme $(_doc_external("DMDA/DMDAGetElementsSizes")) """ function DMDAGetElementsSizes(petsclib::PetscLibType, da::AbstractPetscDM) - error("DMDAGetElementsSizes: no generated method for these argument types") + throw(MethodError(DMDAGetElementsSizes, (petsclib, da))) end @for_petsc function DMDAGetElementsSizes(petsclib::$UnionPetscLib, da::AbstractPetscDM ) @@ -4148,7 +4148,7 @@ See also: `DM`, `DMDA`, `DMDASetFieldName()`, `DMDASetCoordinateName()`, `DMDAGe $(_doc_external("DMDA/DMDAGetFieldName")) """ function DMDAGetFieldName(petsclib::PetscLibType, da::AbstractPetscDM, nf::Integer) - error("DMDAGetFieldName: no generated method for these argument types") + throw(MethodError(DMDAGetFieldName, (petsclib, da, nf))) end @for_petsc function DMDAGetFieldName(petsclib::$UnionPetscLib, da::AbstractPetscDM, nf::$PetscInt ) @@ -4186,7 +4186,7 @@ See also: `DM`, `DMDA`, `DMDAGetFieldName()`, `DMDASetCoordinateName()`, `DMDAGe $(_doc_external("DMDA/DMDAGetFieldNames")) """ function DMDAGetFieldNames(petsclib::PetscLibType, da::AbstractPetscDM) - error("DMDAGetFieldNames: no generated method for these argument types") + throw(MethodError(DMDAGetFieldNames, (petsclib, da))) end @for_petsc function DMDAGetFieldNames(petsclib::$UnionPetscLib, da::AbstractPetscDM ) @@ -4230,7 +4230,7 @@ See also: `DM`, `DMDA`, `DMDAGetCorners()`, `DMDACreate1d()`, `DMDACreate2d()`, $(_doc_external("DMDA/DMDAGetGhostCorners")) """ function DMDAGetGhostCorners(petsclib::PetscLibType, da::AbstractPetscDM) - error("DMDAGetGhostCorners: no generated method for these argument types") + throw(MethodError(DMDAGetGhostCorners, (petsclib, da))) end @for_petsc function DMDAGetGhostCorners(petsclib::$UnionPetscLib, da::AbstractPetscDM ) @@ -4281,7 +4281,7 @@ See also: `DM`, `DMDA`, `DMPlexGetDepthStratum()`, `DMPlexGetHeightStratum()`, ` $(_doc_external("DMDA/DMDAGetHeightStratum")) """ function DMDAGetHeightStratum(petsclib::PetscLibType, dm::AbstractPetscDM, height::Integer) - error("DMDAGetHeightStratum: no generated method for these argument types") + throw(MethodError(DMDAGetHeightStratum, (petsclib, dm, height))) end @for_petsc function DMDAGetHeightStratum(petsclib::$UnionPetscLib, dm::AbstractPetscDM, height::$PetscInt ) @@ -4333,7 +4333,7 @@ See also: `DM`, `DMDA`, `DMView()`, `DMDAGetCorners()`, `DMDAGetLocalInfo()` $(_doc_external("DMDA/DMDAGetInfo")) """ function DMDAGetInfo(petsclib::PetscLibType, da::AbstractPetscDM) - error("DMDAGetInfo: no generated method for these argument types") + throw(MethodError(DMDAGetInfo, (petsclib, da))) end @for_petsc function DMDAGetInfo(petsclib::$UnionPetscLib, da::AbstractPetscDM ) @@ -4397,7 +4397,7 @@ See also: `DM`, `DMDA`, `DMDAInterpolationType`, `DMDASetInterpolationType()`, ` $(_doc_external("DMDA/DMDAGetInterpolationType")) """ function DMDAGetInterpolationType(petsclib::PetscLibType, da::AbstractPetscDM) - error("DMDAGetInterpolationType: no generated method for these argument types") + throw(MethodError(DMDAGetInterpolationType, (petsclib, da))) end @for_petsc function DMDAGetInterpolationType(petsclib::$UnionPetscLib, da::AbstractPetscDM ) @@ -4435,7 +4435,7 @@ See also: `DM`, `DMDA`, `DMDAGetInfo()`, `DMDAGetCorners()`, `DMDALocalInfo` $(_doc_external("DMDA/DMDAGetLocalInfo")) """ function DMDAGetLocalInfo(petsclib::PetscLibType) - error("DMDAGetLocalInfo: no generated method for these argument types") + throw(MethodError(DMDAGetLocalInfo, (petsclib, ))) end @for_petsc function DMDAGetLocalInfo(petsclib::$UnionPetscLib) @@ -4483,7 +4483,7 @@ See also: `DM`, `DMDA` $(_doc_external("DMDA/DMDAGetLogicalCoordinate")) """ function DMDAGetLogicalCoordinate(petsclib::PetscLibType, da::AbstractPetscDM, x::Number, y::Number, z::Number) - error("DMDAGetLogicalCoordinate: no generated method for these argument types") + throw(MethodError(DMDAGetLogicalCoordinate, (petsclib, da, x, y, z))) end @for_petsc function DMDAGetLogicalCoordinate(petsclib::$UnionPetscLib, da::AbstractPetscDM, x::$PetscScalar, y::$PetscScalar, z::$PetscScalar ) @@ -4532,7 +4532,7 @@ See also: `DMDA`, `DM` $(_doc_external("DMDA/DMDAGetNeighbors")) """ function DMDAGetNeighbors(petsclib::PetscLibType, da::AbstractPetscDM) - error("DMDAGetNeighbors: no generated method for these argument types") + throw(MethodError(DMDAGetNeighbors, (petsclib, da))) end @for_petsc function DMDAGetNeighbors(petsclib::$UnionPetscLib, da::AbstractPetscDM ) @@ -4575,7 +4575,7 @@ See also: `DM`, `DMDA`, `DMDAGetOffset()`, `DMDAVecGetArray()` $(_doc_external("DMDA/DMDAGetNonOverlappingRegion")) """ function DMDAGetNonOverlappingRegion(petsclib::PetscLibType, da::AbstractPetscDM) - error("DMDAGetNonOverlappingRegion: no generated method for these argument types") + throw(MethodError(DMDAGetNonOverlappingRegion, (petsclib, da))) end @for_petsc function DMDAGetNonOverlappingRegion(petsclib::$UnionPetscLib, da::AbstractPetscDM ) @@ -4624,7 +4624,7 @@ See also: `DM`, `DMDA`, `DMDAGetCellPoint()` $(_doc_external("DMDA/DMDAGetNumCells")) """ function DMDAGetNumCells(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMDAGetNumCells: no generated method for these argument types") + throw(MethodError(DMDAGetNumCells, (petsclib, dm))) end @for_petsc function DMDAGetNumCells(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -4673,7 +4673,7 @@ See also: `DM`, `DMDA`, `DMDAGetNumVertices()`, `DMDAGetNumCells()` $(_doc_external("DMDA/DMDAGetNumFaces")) """ function DMDAGetNumFaces(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMDAGetNumFaces: no generated method for these argument types") + throw(MethodError(DMDAGetNumFaces, (petsclib, dm))) end @for_petsc function DMDAGetNumFaces(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -4721,7 +4721,7 @@ See also: `DM`, `DMDA`, `DMCreateDomainDecomposition()`, `DMDASetNumLocalSubDoma $(_doc_external("DMDA/DMDAGetNumLocalSubDomains")) """ function DMDAGetNumLocalSubDomains(petsclib::PetscLibType, da::AbstractPetscDM) - error("DMDAGetNumLocalSubDomains: no generated method for these argument types") + throw(MethodError(DMDAGetNumLocalSubDomains, (petsclib, da))) end @for_petsc function DMDAGetNumLocalSubDomains(petsclib::$UnionPetscLib, da::AbstractPetscDM ) @@ -4762,7 +4762,7 @@ See also: `DM`, `DMDA`, `DMDAGetNumCells()`, `DMDAGetNumFaces()` $(_doc_external("DMDA/DMDAGetNumVertices")) """ function DMDAGetNumVertices(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMDAGetNumVertices: no generated method for these argument types") + throw(MethodError(DMDAGetNumVertices, (petsclib, dm))) end @for_petsc function DMDAGetNumVertices(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -4811,7 +4811,7 @@ See also: `DM`, `DMDA`, `DMDASetOffset()`, `DMDAVecGetArray()` $(_doc_external("DMDA/DMDAGetOffset")) """ function DMDAGetOffset(petsclib::PetscLibType, da::AbstractPetscDM) - error("DMDAGetOffset: no generated method for these argument types") + throw(MethodError(DMDAGetOffset, (petsclib, da))) end @for_petsc function DMDAGetOffset(petsclib::$UnionPetscLib, da::AbstractPetscDM ) @@ -4861,7 +4861,7 @@ See also: `DM`, `DMDA`, `DMCreateDomainDecomposition()`, `DMDASetOverlap()` $(_doc_external("DMDA/DMDAGetOverlap")) """ function DMDAGetOverlap(petsclib::PetscLibType, da::AbstractPetscDM) - error("DMDAGetOverlap: no generated method for these argument types") + throw(MethodError(DMDAGetOverlap, (petsclib, da))) end @for_petsc function DMDAGetOverlap(petsclib::$UnionPetscLib, da::AbstractPetscDM ) @@ -4905,7 +4905,7 @@ See also: `DM`, `DMDA`, `DMDAGetCorners()`, `DMDAGetGhostCorners()`, `DMDACreate $(_doc_external("DMDA/DMDAGetOwnershipRanges")) """ function DMDAGetOwnershipRanges(petsclib::PetscLibType, da::AbstractPetscDM) - error("DMDAGetOwnershipRanges: no generated method for these argument types") + throw(MethodError(DMDAGetOwnershipRanges, (petsclib, da))) end @for_petsc function DMDAGetOwnershipRanges(petsclib::$UnionPetscLib, da::AbstractPetscDM ) @@ -4946,7 +4946,7 @@ See also: `DM`, `DMDA`, `DMCreateMatrix()`, `DMDAPreallocateOperator()`, `DMDASe $(_doc_external("DMDA/DMDAGetPreallocationCenterDimension")) """ function DMDAGetPreallocationCenterDimension(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMDAGetPreallocationCenterDimension: no generated method for these argument types") + throw(MethodError(DMDAGetPreallocationCenterDimension, (petsclib, dm))) end @for_petsc function DMDAGetPreallocationCenterDimension(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -4988,7 +4988,7 @@ See also: `DM`, `DMDA`, `DMDirection`, `DM_X`, `DM_Y`, `DM_Z`, `DMDAGetProcessor $(_doc_external("DMDA/DMDAGetProcessorSubset")) """ function DMDAGetProcessorSubset(petsclib::PetscLibType, da::AbstractPetscDM, dir::DMDirection, gp::Integer) - error("DMDAGetProcessorSubset: no generated method for these argument types") + throw(MethodError(DMDAGetProcessorSubset, (petsclib, da, dir, gp))) end @for_petsc function DMDAGetProcessorSubset(petsclib::$UnionPetscLib, da::AbstractPetscDM, dir::DMDirection, gp::$PetscInt ) @@ -5029,7 +5029,7 @@ See also: `DM`, `DMDA`, `DMDirection`, `DMDAGetProcessorSubset()`, `DM_X`, `DM_Y $(_doc_external("DMDA/DMDAGetProcessorSubsets")) """ function DMDAGetProcessorSubsets(petsclib::PetscLibType, da::AbstractPetscDM, dir::DMDirection) - error("DMDAGetProcessorSubsets: no generated method for these argument types") + throw(MethodError(DMDAGetProcessorSubsets, (petsclib, da, dir))) end @for_petsc function DMDAGetProcessorSubsets(petsclib::$UnionPetscLib, da::AbstractPetscDM, dir::DMDirection ) @@ -5070,7 +5070,7 @@ See also: `DM`, `DMDA`, `DMDirection`, `Vec`, `VecScatter` $(_doc_external("DMDA/DMDAGetRay")) """ function DMDAGetRay(petsclib::PetscLibType, da::AbstractPetscDM, dir::DMDirection, gp::Integer) - error("DMDAGetRay: no generated method for these argument types") + throw(MethodError(DMDAGetRay, (petsclib, da, dir, gp))) end @for_petsc function DMDAGetRay(petsclib::$UnionPetscLib, da::AbstractPetscDM, dir::DMDirection, gp::$PetscInt ) @@ -5112,7 +5112,7 @@ See also: `DM`, `DMDA`, `DMRefine()`, `DMDASetRefinementFactor()` $(_doc_external("DMDA/DMDAGetRefinementFactor")) """ function DMDAGetRefinementFactor(petsclib::PetscLibType, da::AbstractPetscDM) - error("DMDAGetRefinementFactor: no generated method for these argument types") + throw(MethodError(DMDAGetRefinementFactor, (petsclib, da))) end @for_petsc function DMDAGetRefinementFactor(petsclib::$UnionPetscLib, da::AbstractPetscDM ) @@ -5156,7 +5156,7 @@ See also: `DM`, `DMDA`, `DMGlobalToLocalBegin()`, `DMGlobalToLocalEnd()`, `DMLoc $(_doc_external("DMDA/DMDAGetScatter")) """ function DMDAGetScatter(petsclib::PetscLibType, da::AbstractPetscDM) - error("DMDAGetScatter: no generated method for these argument types") + throw(MethodError(DMDAGetScatter, (petsclib, da))) end @for_petsc function DMDAGetScatter(petsclib::$UnionPetscLib, da::AbstractPetscDM ) @@ -5196,7 +5196,7 @@ See also: `DM`, `DMDA`, `DMDACreate()`, `DMDestroy()`, `DMDAStencilType`, `DMDA_ $(_doc_external("DMDA/DMDAGetStencilType")) """ function DMDAGetStencilType(petsclib::PetscLibType, da::AbstractPetscDM) - error("DMDAGetStencilType: no generated method for these argument types") + throw(MethodError(DMDAGetStencilType, (petsclib, da))) end @for_petsc function DMDAGetStencilType(petsclib::$UnionPetscLib, da::AbstractPetscDM ) @@ -5234,7 +5234,7 @@ See also: `DM`, `DMDA`, `DMDACreate()`, `DMDestroy()`, `DMDAStencilType`, `DMDA_ $(_doc_external("DMDA/DMDAGetStencilWidth")) """ function DMDAGetStencilWidth(petsclib::PetscLibType, da::AbstractPetscDM) - error("DMDAGetStencilWidth: no generated method for these argument types") + throw(MethodError(DMDAGetStencilWidth, (petsclib, da))) end @for_petsc function DMDAGetStencilWidth(petsclib::$UnionPetscLib, da::AbstractPetscDM ) @@ -5274,7 +5274,7 @@ See also: `DM`, `DMDA`, `DMDAElementType`, `DMDASetElementType()`, `DMDAGetEleme $(_doc_external("DMDA/DMDAGetSubdomainCornersIS")) """ function DMDAGetSubdomainCornersIS(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMDAGetSubdomainCornersIS: no generated method for these argument types") + throw(MethodError(DMDAGetSubdomainCornersIS, (petsclib, dm))) end @for_petsc function DMDAGetSubdomainCornersIS(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -5314,7 +5314,7 @@ See also: `DM`, `DMDA`, `DMDANaturalAllToGlobalCreate()`, `DMDAGlobalToNaturalEn $(_doc_external("DMDA/DMDAGlobalToNaturalAllCreate")) """ function DMDAGlobalToNaturalAllCreate(petsclib::PetscLibType, da::AbstractPetscDM) - error("DMDAGlobalToNaturalAllCreate: no generated method for these argument types") + throw(MethodError(DMDAGlobalToNaturalAllCreate, (petsclib, da))) end @for_petsc function DMDAGlobalToNaturalAllCreate(petsclib::$UnionPetscLib, da::AbstractPetscDM ) @@ -5357,7 +5357,7 @@ See also: `DM`, `DMDA`, `DMDAGlobalToNaturalEnd()`, `DMLocalToGlobalBegin()`, `D $(_doc_external("DMDA/DMDAGlobalToNaturalBegin")) """ function DMDAGlobalToNaturalBegin(petsclib::PetscLibType, da::AbstractPetscDM, g::AbstractPetscVec, mode::InsertMode, n::AbstractPetscVec) - error("DMDAGlobalToNaturalBegin: no generated method for these argument types") + throw(MethodError(DMDAGlobalToNaturalBegin, (petsclib, da, g, mode, n))) end @for_petsc function DMDAGlobalToNaturalBegin(petsclib::$UnionPetscLib, da::AbstractPetscDM, g::AbstractPetscVec, mode::InsertMode, n::AbstractPetscVec ) @@ -5397,7 +5397,7 @@ See also: `DM`, `DMDA`, `DMDAGlobalToNaturalBegin()`, `DMLocalToGlobalBegin()`, $(_doc_external("DMDA/DMDAGlobalToNaturalEnd")) """ function DMDAGlobalToNaturalEnd(petsclib::PetscLibType, da::AbstractPetscDM, g::AbstractPetscVec, mode::InsertMode, n::AbstractPetscVec) - error("DMDAGlobalToNaturalEnd: no generated method for these argument types") + throw(MethodError(DMDAGlobalToNaturalEnd, (petsclib, da, g, mode, n))) end @for_petsc function DMDAGlobalToNaturalEnd(petsclib::$UnionPetscLib, da::AbstractPetscDM, g::AbstractPetscVec, mode::InsertMode, n::AbstractPetscVec ) @@ -5434,7 +5434,7 @@ See also: `Characteristic`, `DMDA`, `CharacteristicSolve()` $(_doc_external("Characteristic/DMDAMapCoordsToPeriodicDomain")) """ function DMDAMapCoordsToPeriodicDomain(petsclib::PetscLibType, da::AbstractPetscDM) - error("DMDAMapCoordsToPeriodicDomain: no generated method for these argument types") + throw(MethodError(DMDAMapCoordsToPeriodicDomain, (petsclib, da))) end @for_petsc function DMDAMapCoordsToPeriodicDomain(petsclib::$UnionPetscLib, da::AbstractPetscDM ) @@ -5476,7 +5476,7 @@ See also: `DM`, `DMDA`, `MatStencil` $(_doc_external("DMDA/DMDAMapMatStencilToGlobal")) """ function DMDAMapMatStencilToGlobal(petsclib::PetscLibType, da::AbstractPetscDM, m::Integer, idxm::Vector{MatStencil}, gidxm::AbstractVector{<:Number}) - error("DMDAMapMatStencilToGlobal: no generated method for these argument types") + throw(MethodError(DMDAMapMatStencilToGlobal, (petsclib, da, m, idxm, gidxm))) end @for_petsc function DMDAMapMatStencilToGlobal(petsclib::$UnionPetscLib, da::AbstractPetscDM, m::$PetscInt, idxm::Vector{MatStencil}, gidxm::Vector{$PetscInt} ) @@ -5514,7 +5514,7 @@ See also: `DM`, `DMDA`, `DMDAGlobalToNaturalAllCreate()`, `DMDAGlobalToNaturalEn $(_doc_external("DMDA/DMDANaturalAllToGlobalCreate")) """ function DMDANaturalAllToGlobalCreate(petsclib::PetscLibType, da::AbstractPetscDM) - error("DMDANaturalAllToGlobalCreate: no generated method for these argument types") + throw(MethodError(DMDANaturalAllToGlobalCreate, (petsclib, da))) end @for_petsc function DMDANaturalAllToGlobalCreate(petsclib::$UnionPetscLib, da::AbstractPetscDM ) @@ -5557,7 +5557,7 @@ See also: `DM`, `DMDA`, `DMDAGlobalToNaturalEnd()`, `DMDAGlobalToNaturalBegin()` $(_doc_external("DMDA/DMDANaturalToGlobalBegin")) """ function DMDANaturalToGlobalBegin(petsclib::PetscLibType, da::AbstractPetscDM, n::AbstractPetscVec, mode::InsertMode, g::AbstractPetscVec) - error("DMDANaturalToGlobalBegin: no generated method for these argument types") + throw(MethodError(DMDANaturalToGlobalBegin, (petsclib, da, n, mode, g))) end @for_petsc function DMDANaturalToGlobalBegin(petsclib::$UnionPetscLib, da::AbstractPetscDM, n::AbstractPetscVec, mode::InsertMode, g::AbstractPetscVec ) @@ -5597,7 +5597,7 @@ See also: `DM`, `DMDA`, `DMDAGlobalToNaturalBegin()`, `DMDAGlobalToNaturalEnd()` $(_doc_external("DMDA/DMDANaturalToGlobalEnd")) """ function DMDANaturalToGlobalEnd(petsclib::PetscLibType, da::AbstractPetscDM, n::AbstractPetscVec, mode::InsertMode, g::AbstractPetscVec) - error("DMDANaturalToGlobalEnd: no generated method for these argument types") + throw(MethodError(DMDANaturalToGlobalEnd, (petsclib, da, n, mode, g))) end @for_petsc function DMDANaturalToGlobalEnd(petsclib::$UnionPetscLib, da::AbstractPetscDM, n::AbstractPetscVec, mode::InsertMode, g::AbstractPetscVec ) @@ -5630,7 +5630,7 @@ See also: `DM`, `DMDA`, `DMDAGetArray()` $(_doc_external("DMDA/DMDARestoreArray")) """ function DMDARestoreArray(petsclib::PetscLibType, da::AbstractPetscDM, ghosted::PetscBool, vptr::Ptr{Cvoid}) - error("DMDARestoreArray: no generated method for these argument types") + throw(MethodError(DMDARestoreArray, (petsclib, da, ghosted, vptr))) end @for_petsc function DMDARestoreArray(petsclib::$UnionPetscLib, da::AbstractPetscDM, ghosted::PetscBool, vptr::Ptr{Cvoid} ) @@ -5664,7 +5664,7 @@ See also: `DM`, `DMDA`, `DMDASetCoordinateName()`, `DMDASetFieldName()`, `DMDAGe $(_doc_external("DMDA/DMDARestoreCoordinateArray")) """ function DMDARestoreCoordinateArray(petsclib::PetscLibType, dm::AbstractPetscDM, xc::Ptr{Cvoid}) - error("DMDARestoreCoordinateArray: no generated method for these argument types") + throw(MethodError(DMDARestoreCoordinateArray, (petsclib, dm, xc))) end @for_petsc function DMDARestoreCoordinateArray(petsclib::$UnionPetscLib, dm::AbstractPetscDM, xc::Ptr{Cvoid} ) @@ -5700,7 +5700,7 @@ See also: `DM`, `DMDA`, `DMDAElementType`, `DMDASetElementType()`, `DMDAGetEleme $(_doc_external("DMDA/DMDARestoreElements")) """ function DMDARestoreElements(petsclib::PetscLibType, dm::AbstractPetscDM, nel::Integer, nen::Integer, e::Union{Ptr, AbstractArray{<:Number}}) - error("DMDARestoreElements: no generated method for these argument types") + throw(MethodError(DMDARestoreElements, (petsclib, dm, nel, nen, e))) end @for_petsc function DMDARestoreElements(petsclib::$UnionPetscLib, dm::AbstractPetscDM, nel::$PetscInt, nen::$PetscInt, e::Union{Ptr, AbstractArray{$PetscInt}} ) @@ -5737,7 +5737,7 @@ See also: `DM`, `DMDA`, `DMDAElementType`, `DMDASetElementType()`, `DMDAGetSubdo $(_doc_external("DMDA/DMDARestoreSubdomainCornersIS")) """ function DMDARestoreSubdomainCornersIS(petsclib::PetscLibType, dm::AbstractPetscDM, is::AbstractIS) - error("DMDARestoreSubdomainCornersIS: no generated method for these argument types") + throw(MethodError(DMDARestoreSubdomainCornersIS, (petsclib, dm, is))) end @for_petsc function DMDARestoreSubdomainCornersIS(petsclib::$UnionPetscLib, dm::AbstractPetscDM, is::AbstractIS ) @@ -5775,7 +5775,7 @@ See also: `DMDA`, `DMDASNESFunctionFn`, `DMDASNESSetJacobianLocal()`, `DMSNESSet $(_doc_external("SNES/DMDASNESSetFunctionLocal")) """ function DMDASNESSetFunctionLocal(petsclib::PetscLibType, dm::AbstractPetscDM, imode::InsertMode, func::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("DMDASNESSetFunctionLocal: no generated method for these argument types") + throw(MethodError(DMDASNESSetFunctionLocal, (petsclib, dm, imode, func, ctx))) end @for_petsc function DMDASNESSetFunctionLocal(petsclib::$UnionPetscLib, dm::AbstractPetscDM, imode::InsertMode, func::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -5811,7 +5811,7 @@ See also: `DMDA`, `DMDASNESFunctionVecFn`, `DMDASNESSetFunctionLocal()`, `DMDASN $(_doc_external("SNES/DMDASNESSetFunctionLocalVec")) """ function DMDASNESSetFunctionLocalVec(petsclib::PetscLibType, dm::AbstractPetscDM, imode::InsertMode, func::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("DMDASNESSetFunctionLocalVec: no generated method for these argument types") + throw(MethodError(DMDASNESSetFunctionLocalVec, (petsclib, dm, imode, func, ctx))) end @for_petsc function DMDASNESSetFunctionLocalVec(petsclib::$UnionPetscLib, dm::AbstractPetscDM, imode::InsertMode, func::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -5846,7 +5846,7 @@ See also: `DMDA`, `DMDASNESJacobianFn`, `DMDASNESSetFunctionLocal()`, `DMSNESSet $(_doc_external("SNES/DMDASNESSetJacobianLocal")) """ function DMDASNESSetJacobianLocal(petsclib::PetscLibType, dm::AbstractPetscDM, func::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("DMDASNESSetJacobianLocal: no generated method for these argument types") + throw(MethodError(DMDASNESSetJacobianLocal, (petsclib, dm, func, ctx))) end @for_petsc function DMDASNESSetJacobianLocal(petsclib::$UnionPetscLib, dm::AbstractPetscDM, func::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -5881,7 +5881,7 @@ See also: `DMDA`, `DMDASNESJacobianVecFn`, `DMDASNESSetJacobianLocal()`, `DMDASN $(_doc_external("SNES/DMDASNESSetJacobianLocalVec")) """ function DMDASNESSetJacobianLocalVec(petsclib::PetscLibType, dm::AbstractPetscDM, func::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("DMDASNESSetJacobianLocalVec: no generated method for these argument types") + throw(MethodError(DMDASNESSetJacobianLocalVec, (petsclib, dm, func, ctx))) end @for_petsc function DMDASNESSetJacobianLocalVec(petsclib::$UnionPetscLib, dm::AbstractPetscDM, func::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -5916,7 +5916,7 @@ See also: `DMDA`, `DMDASNESObjectiveFn`, `DMSNESSetFunction()`, `DMDASNESSetJaco $(_doc_external("SNES/DMDASNESSetObjectiveLocal")) """ function DMDASNESSetObjectiveLocal(petsclib::PetscLibType, dm::AbstractPetscDM, func::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("DMDASNESSetObjectiveLocal: no generated method for these argument types") + throw(MethodError(DMDASNESSetObjectiveLocal, (petsclib, dm, func, ctx))) end @for_petsc function DMDASNESSetObjectiveLocal(petsclib::$UnionPetscLib, dm::AbstractPetscDM, func::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -5951,7 +5951,7 @@ See also: `DMDA`, `DMDASNESObjectiveVecFn`, `DMDASNESSetObjectiveLocal()`, `DMSN $(_doc_external("SNES/DMDASNESSetObjectiveLocalVec")) """ function DMDASNESSetObjectiveLocalVec(petsclib::PetscLibType, dm::AbstractPetscDM, func::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("DMDASNESSetObjectiveLocalVec: no generated method for these argument types") + throw(MethodError(DMDASNESSetObjectiveLocalVec, (petsclib, dm, func, ctx))) end @for_petsc function DMDASNESSetObjectiveLocalVec(petsclib::$UnionPetscLib, dm::AbstractPetscDM, func::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -5988,7 +5988,7 @@ See also: `SNES`, `DMDA`, `DMDASNESFunctionFn`, `DMDASNESJacobianFn`, `DMSNESSet $(_doc_external("SNES/DMDASNESSetPicardLocal")) """ function DMDASNESSetPicardLocal(petsclib::PetscLibType, dm::AbstractPetscDM, imode::InsertMode, func::Ptr{Cvoid}, jac::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("DMDASNESSetPicardLocal: no generated method for these argument types") + throw(MethodError(DMDASNESSetPicardLocal, (petsclib, dm, imode, func, jac, ctx))) end @for_petsc function DMDASNESSetPicardLocal(petsclib::$UnionPetscLib, dm::AbstractPetscDM, imode::InsertMode, func::Ptr{Cvoid}, jac::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -6024,7 +6024,7 @@ See also: `DM`, `DMDA`, `DMDACreate2d()`, `DMDAGetAO()`, `DMDAGetGhostCorners()` $(_doc_external("DMDA/DMDASetAOType")) """ function DMDASetAOType(petsclib::PetscLibType, da::AbstractPetscDM, aotype::String) - error("DMDASetAOType: no generated method for these argument types") + throw(MethodError(DMDASetAOType, (petsclib, da, aotype))) end @for_petsc function DMDASetAOType(petsclib::$UnionPetscLib, da::AbstractPetscDM, aotype::String ) @@ -6060,7 +6060,7 @@ See also: `DM`, `DMDA`, `DMCreateMatrix()`, `DMDASetGetMatrix()`, `DMSetMatrixPr $(_doc_external("DMDA/DMDASetBlockFills")) """ function DMDASetBlockFills(petsclib::PetscLibType, da::AbstractPetscDM, dfill::AbstractVector{<:Number}, ofill::AbstractVector{<:Number}) - error("DMDASetBlockFills: no generated method for these argument types") + throw(MethodError(DMDASetBlockFills, (petsclib, da, dfill, ofill))) end @for_petsc function DMDASetBlockFills(petsclib::$UnionPetscLib, da::AbstractPetscDM, dfill::Vector{$PetscInt}, ofill::Vector{$PetscInt} ) @@ -6097,7 +6097,7 @@ See also: `DM`, `DMDA`, `DMDASetBlockFills()`, `DMCreateMatrix()`, `DMDASetGetMa $(_doc_external("DMDA/DMDASetBlockFillsSparse")) """ function DMDASetBlockFillsSparse(petsclib::PetscLibType, da::AbstractPetscDM, dfillsparse::AbstractVector{<:Number}, ofillsparse::AbstractVector{<:Number}) - error("DMDASetBlockFillsSparse: no generated method for these argument types") + throw(MethodError(DMDASetBlockFillsSparse, (petsclib, da, dfillsparse, ofillsparse))) end @for_petsc function DMDASetBlockFillsSparse(petsclib::$UnionPetscLib, da::AbstractPetscDM, dfillsparse::Vector{$PetscInt}, ofillsparse::Vector{$PetscInt} ) @@ -6133,7 +6133,7 @@ See also: `DMDAGetBoundaryType()`, `DM`, `DMDA`, `DMDACreate()`, `DMDestroy()`, $(_doc_external("DMDA/DMDASetBoundaryType")) """ function DMDASetBoundaryType(petsclib::PetscLibType, da::AbstractPetscDM, bx::DMBoundaryType, by::DMBoundaryType, bz::DMBoundaryType) - error("DMDASetBoundaryType: no generated method for these argument types") + throw(MethodError(DMDASetBoundaryType, (petsclib, da, bx, by, bz))) end @for_petsc function DMDASetBoundaryType(petsclib::$UnionPetscLib, da::AbstractPetscDM, bx::DMBoundaryType, by::DMBoundaryType, bz::DMBoundaryType ) @@ -6168,7 +6168,7 @@ See also: `DM`, `DMDA`, `DMDAGetCoordinateName()`, `DMDASetFieldName()`, `DMDAGe $(_doc_external("DMDA/DMDASetCoordinateName")) """ function DMDASetCoordinateName(petsclib::PetscLibType, dm::AbstractPetscDM, nf::Integer, name::String) - error("DMDASetCoordinateName: no generated method for these argument types") + throw(MethodError(DMDASetCoordinateName, (petsclib, dm, nf, name))) end @for_petsc function DMDASetCoordinateName(petsclib::$UnionPetscLib, dm::AbstractPetscDM, nf::$PetscInt, name::String ) @@ -6202,7 +6202,7 @@ See also: `DM`, `DMDA`, `DMDAGetDof()`, `DMDACreate()`, `DMDestroy()` $(_doc_external("DMDA/DMDASetDof")) """ function DMDASetDof(petsclib::PetscLibType, da::AbstractPetscDM, dof::Integer) - error("DMDASetDof: no generated method for these argument types") + throw(MethodError(DMDASetDof, (petsclib, da, dof))) end @for_petsc function DMDASetDof(petsclib::$UnionPetscLib, da::AbstractPetscDM, dof::$PetscInt ) @@ -6239,7 +6239,7 @@ See also: `DM`, `DMDA`, `DMDAElementType`, `DMDAGetElementType()`, `DMDAGetEleme $(_doc_external("DMDA/DMDASetElementType")) """ function DMDASetElementType(petsclib::PetscLibType, da::AbstractPetscDM, etype::DMDAElementType) - error("DMDASetElementType: no generated method for these argument types") + throw(MethodError(DMDASetElementType, (petsclib, da, etype))) end @for_petsc function DMDASetElementType(petsclib::$UnionPetscLib, da::AbstractPetscDM, etype::DMDAElementType ) @@ -6276,7 +6276,7 @@ See also: `DM`, `DMDA`, `DMDAGetFieldName()`, `DMDASetCoordinateName()`, `DMDAGe $(_doc_external("DMDA/DMDASetFieldName")) """ function DMDASetFieldName(petsclib::PetscLibType, da::AbstractPetscDM, nf::Integer, name::String) - error("DMDASetFieldName: no generated method for these argument types") + throw(MethodError(DMDASetFieldName, (petsclib, da, nf, name))) end @for_petsc function DMDASetFieldName(petsclib::$UnionPetscLib, da::AbstractPetscDM, nf::$PetscInt, name::String ) @@ -6310,7 +6310,7 @@ See also: `DM`, `DMDA`, `DMDAGetFieldName()`, `DMDASetCoordinateName()`, `DMDAGe $(_doc_external("DMDA/DMDASetFieldNames")) """ function DMDASetFieldNames(petsclib::PetscLibType, da::AbstractPetscDM, names::String) - error("DMDASetFieldNames: no generated method for these argument types") + throw(MethodError(DMDASetFieldNames, (petsclib, da, names))) end @for_petsc function DMDASetFieldNames(petsclib::$UnionPetscLib, da::AbstractPetscDM, names::String ) @@ -6346,7 +6346,7 @@ See also: `DM`, `DMDA`, `DMDACreate()`, `PetscDTGaussLobattoLegendreQuadrature() $(_doc_external("DMDA/DMDASetGLLCoordinates")) """ function DMDASetGLLCoordinates(petsclib::PetscLibType, da::AbstractPetscDM, n::Integer) - error("DMDASetGLLCoordinates: no generated method for these argument types") + throw(MethodError(DMDASetGLLCoordinates, (petsclib, da, n))) end @for_petsc function DMDASetGLLCoordinates(petsclib::$UnionPetscLib, da::AbstractPetscDM, n::$PetscInt ) @@ -6386,7 +6386,7 @@ See also: `DM`, `DMDA`, `DMCreateMatrix()`, `DMDASetBlockFills()` $(_doc_external("DMDA/DMDASetGetMatrix")) """ function DMDASetGetMatrix(petsclib::PetscLibType, da::AbstractPetscDM, f::external) - error("DMDASetGetMatrix: no generated method for these argument types") + throw(MethodError(DMDASetGetMatrix, (petsclib, da, f))) end @for_petsc function DMDASetGetMatrix(petsclib::$UnionPetscLib, da::AbstractPetscDM, f::external ) @@ -6422,7 +6422,7 @@ See also: `DM`, `DMDA`, `DMDACreate1d()`, `DMDACreate2d()`, `DMDACreate3d()`, `D $(_doc_external("DMDA/DMDASetInterpolationType")) """ function DMDASetInterpolationType(petsclib::PetscLibType, da::AbstractPetscDM, ctype::DMDAInterpolationType) - error("DMDASetInterpolationType: no generated method for these argument types") + throw(MethodError(DMDASetInterpolationType, (petsclib, da, ctype))) end @for_petsc function DMDASetInterpolationType(petsclib::$UnionPetscLib, da::AbstractPetscDM, ctype::DMDAInterpolationType ) @@ -6461,7 +6461,7 @@ See also: `DM`, `DMDA`, `DMDAGetOffset()`, `DMDAVecGetArray()` $(_doc_external("DMDA/DMDASetNonOverlappingRegion")) """ function DMDASetNonOverlappingRegion(petsclib::PetscLibType, da::AbstractPetscDM, xs::Integer, ys::Integer, zs::Integer, xm::Integer, ym::Integer, zm::Integer) - error("DMDASetNonOverlappingRegion: no generated method for these argument types") + throw(MethodError(DMDASetNonOverlappingRegion, (petsclib, da, xs, ys, zs, xm, ym, zm))) end @for_petsc function DMDASetNonOverlappingRegion(petsclib::$UnionPetscLib, da::AbstractPetscDM, xs::$PetscInt, ys::$PetscInt, zs::$PetscInt, xm::$PetscInt, ym::$PetscInt, zm::$PetscInt ) @@ -6495,7 +6495,7 @@ See also: `DM`, `DMDA`, `DMCreateDomainDecomposition()`, `DMDAGetNumLocalSubDoma $(_doc_external("DMDA/DMDASetNumLocalSubDomains")) """ function DMDASetNumLocalSubDomains(petsclib::PetscLibType, da::AbstractPetscDM, Nsub::Integer) - error("DMDASetNumLocalSubDomains: no generated method for these argument types") + throw(MethodError(DMDASetNumLocalSubDomains, (petsclib, da, Nsub))) end @for_petsc function DMDASetNumLocalSubDomains(petsclib::$UnionPetscLib, da::AbstractPetscDM, Nsub::$PetscInt ) @@ -6531,7 +6531,7 @@ See also: `DM`, `DMDA`, `DMDASetSizes()`, `PetscSplitOwnership()` $(_doc_external("DMDA/DMDASetNumProcs")) """ function DMDASetNumProcs(petsclib::PetscLibType, da::AbstractPetscDM, m::Integer, n::Integer, p::Integer) - error("DMDASetNumProcs: no generated method for these argument types") + throw(MethodError(DMDASetNumProcs, (petsclib, da, m, n, p))) end @for_petsc function DMDASetNumProcs(petsclib::$UnionPetscLib, da::AbstractPetscDM, m::$PetscInt, n::$PetscInt, p::$PetscInt ) @@ -6570,7 +6570,7 @@ See also: `DM`, `DMDA`, `DMDAGetOffset()`, `DMDAVecGetArray()` $(_doc_external("DMDA/DMDASetOffset")) """ function DMDASetOffset(petsclib::PetscLibType, da::AbstractPetscDM, xo::Integer, yo::Integer, zo::Integer, Mo::Integer, No::Integer, Po::Integer) - error("DMDASetOffset: no generated method for these argument types") + throw(MethodError(DMDASetOffset, (petsclib, da, xo, yo, zo, Mo, No, Po))) end @for_petsc function DMDASetOffset(petsclib::$UnionPetscLib, da::AbstractPetscDM, xo::$PetscInt, yo::$PetscInt, zo::$PetscInt, Mo::$PetscInt, No::$PetscInt, Po::$PetscInt ) @@ -6606,7 +6606,7 @@ See also: `DM`, `DMDA`, `DMCreateDomainDecomposition()`, `DMDAGetOverlap()` $(_doc_external("DMDA/DMDASetOverlap")) """ function DMDASetOverlap(petsclib::PetscLibType, da::AbstractPetscDM, x::Integer, y::Integer, z::Integer) - error("DMDASetOverlap: no generated method for these argument types") + throw(MethodError(DMDASetOverlap, (petsclib, da, x, y, z))) end @for_petsc function DMDASetOverlap(petsclib::$UnionPetscLib, da::AbstractPetscDM, x::$PetscInt, y::$PetscInt, z::$PetscInt ) @@ -6642,7 +6642,7 @@ See also: `DM`, `DMDA`, `DMDACreate()`, `DMDestroy()` $(_doc_external("DMDA/DMDASetOwnershipRanges")) """ function DMDASetOwnershipRanges(petsclib::PetscLibType, da::AbstractPetscDM, lx::AbstractVector{<:Number}, ly::AbstractVector{<:Number}, lz::AbstractVector{<:Number}) - error("DMDASetOwnershipRanges: no generated method for these argument types") + throw(MethodError(DMDASetOwnershipRanges, (petsclib, da, lx, ly, lz))) end @for_petsc function DMDASetOwnershipRanges(petsclib::$UnionPetscLib, da::AbstractPetscDM, lx::Vector{$PetscInt}, ly::Vector{$PetscInt}, lz::Vector{$PetscInt} ) @@ -6674,7 +6674,7 @@ See also: `DM`, `DMDA`, `DMCreateMatrix()`, `DMDAPreallocateOperator()` $(_doc_external("DMDA/DMDASetPreallocationCenterDimension")) """ function DMDASetPreallocationCenterDimension(petsclib::PetscLibType, dm::AbstractPetscDM, preallocCenterDim::Integer) - error("DMDASetPreallocationCenterDimension: no generated method for these argument types") + throw(MethodError(DMDASetPreallocationCenterDimension, (petsclib, dm, preallocCenterDim))) end @for_petsc function DMDASetPreallocationCenterDimension(petsclib::$UnionPetscLib, dm::AbstractPetscDM, preallocCenterDim::$PetscInt ) @@ -6716,7 +6716,7 @@ See also: `DM`, `DMDA`, `DMRefine()`, `DMDAGetRefinementFactor()` $(_doc_external("DMDA/DMDASetRefinementFactor")) """ function DMDASetRefinementFactor(petsclib::PetscLibType, da::AbstractPetscDM, refine_x::Integer, refine_y::Integer, refine_z::Integer) - error("DMDASetRefinementFactor: no generated method for these argument types") + throw(MethodError(DMDASetRefinementFactor, (petsclib, da, refine_x, refine_y, refine_z))) end @for_petsc function DMDASetRefinementFactor(petsclib::$UnionPetscLib, da::AbstractPetscDM, refine_x::$PetscInt, refine_y::$PetscInt, refine_z::$PetscInt ) @@ -6752,7 +6752,7 @@ See also: `DM`, `DMDA`, `PetscSplitOwnership()` $(_doc_external("DMDA/DMDASetSizes")) """ function DMDASetSizes(petsclib::PetscLibType, da::AbstractPetscDM, M::Integer, N::Integer, P::Integer) - error("DMDASetSizes: no generated method for these argument types") + throw(MethodError(DMDASetSizes, (petsclib, da, M, N, P))) end @for_petsc function DMDASetSizes(petsclib::$UnionPetscLib, da::AbstractPetscDM, M::$PetscInt, N::$PetscInt, P::$PetscInt ) @@ -6786,7 +6786,7 @@ See also: `DM`, `DMDA`, `DMDACreate()`, `DMDestroy()`, `DMDAStencilType`, `DMDA_ $(_doc_external("DMDA/DMDASetStencilType")) """ function DMDASetStencilType(petsclib::PetscLibType, da::AbstractPetscDM, stype::DMDAStencilType) - error("DMDASetStencilType: no generated method for these argument types") + throw(MethodError(DMDASetStencilType, (petsclib, da, stype))) end @for_petsc function DMDASetStencilType(petsclib::$UnionPetscLib, da::AbstractPetscDM, stype::DMDAStencilType ) @@ -6820,7 +6820,7 @@ See also: `DM`, `DMDA`, `DMDACreate()`, `DMDestroy()`, `DMDAStencilType`, `DMDA_ $(_doc_external("DMDA/DMDASetStencilWidth")) """ function DMDASetStencilWidth(petsclib::PetscLibType, da::AbstractPetscDM, width::Integer) - error("DMDASetStencilWidth: no generated method for these argument types") + throw(MethodError(DMDASetStencilWidth, (petsclib, da, width))) end @for_petsc function DMDASetStencilWidth(petsclib::$UnionPetscLib, da::AbstractPetscDM, width::$PetscInt ) @@ -6859,7 +6859,7 @@ See also: `DM`, `DMDA`, `DMSetCoordinates()`, `DMGetCoordinates()`, `DMDACreate1 $(_doc_external("DMDA/DMDASetUniformCoordinates")) """ function DMDASetUniformCoordinates(petsclib::PetscLibType, da::AbstractPetscDM, xmin::Real, xmax::Real, ymin::Real, ymax::Real, zmin::Real, zmax::Real) - error("DMDASetUniformCoordinates: no generated method for these argument types") + throw(MethodError(DMDASetUniformCoordinates, (petsclib, da, xmin, xmax, ymin, ymax, zmin, zmax))) end @for_petsc function DMDASetUniformCoordinates(petsclib::$UnionPetscLib, da::AbstractPetscDM, xmin::$PetscReal, xmax::$PetscReal, ymin::$PetscReal, ymax::$PetscReal, zmin::$PetscReal, zmax::$PetscReal ) @@ -6898,7 +6898,7 @@ See also: `DM`, `DMDA` $(_doc_external("DMDA/DMDASetVertexCoordinates")) """ function DMDASetVertexCoordinates(petsclib::PetscLibType, dm::AbstractPetscDM, xl::Real, xu::Real, yl::Real, yu::Real, zl::Real, zu::Real) - error("DMDASetVertexCoordinates: no generated method for these argument types") + throw(MethodError(DMDASetVertexCoordinates, (petsclib, dm, xl, xu, yl, yu, zl, zu))) end @for_petsc function DMDASetVertexCoordinates(petsclib::$UnionPetscLib, dm::AbstractPetscDM, xl::$PetscReal, xu::$PetscReal, yl::$PetscReal, yu::$PetscReal, zl::$PetscReal, zu::$PetscReal ) @@ -6935,7 +6935,7 @@ See also: `DMDA`, `DMDATSIFunctionLocalFn`, `DMTSSetIFunction()`, $(_doc_external("TS/DMDATSSetIFunctionLocal")) """ function DMDATSSetIFunctionLocal(petsclib::PetscLibType, dm::AbstractPetscDM, imode::InsertMode, func::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("DMDATSSetIFunctionLocal: no generated method for these argument types") + throw(MethodError(DMDATSSetIFunctionLocal, (petsclib, dm, imode, func, ctx))) end @for_petsc function DMDATSSetIFunctionLocal(petsclib::$UnionPetscLib, dm::AbstractPetscDM, imode::InsertMode, func::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -6971,7 +6971,7 @@ See also: `DMDA`, `DMDATSIJacobianLocalFn`, `DMTSSetIJacobian()`, $(_doc_external("TS/DMDATSSetIJacobianLocal")) """ function DMDATSSetIJacobianLocal(petsclib::PetscLibType, dm::AbstractPetscDM, func::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("DMDATSSetIJacobianLocal: no generated method for these argument types") + throw(MethodError(DMDATSSetIJacobianLocal, (petsclib, dm, func, ctx))) end @for_petsc function DMDATSSetIJacobianLocal(petsclib::$UnionPetscLib, dm::AbstractPetscDM, func::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -7007,7 +7007,7 @@ See also: `DMDA`, `DMDATSRHSFunctionLocalFn`, `TS`, `TSSetRHSFunction()`, `DMTSS $(_doc_external("TS/DMDATSSetRHSFunctionLocal")) """ function DMDATSSetRHSFunctionLocal(petsclib::PetscLibType, dm::AbstractPetscDM, imode::InsertMode, func::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("DMDATSSetRHSFunctionLocal: no generated method for these argument types") + throw(MethodError(DMDATSSetRHSFunctionLocal, (petsclib, dm, imode, func, ctx))) end @for_petsc function DMDATSSetRHSFunctionLocal(petsclib::$UnionPetscLib, dm::AbstractPetscDM, imode::InsertMode, func::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -7043,7 +7043,7 @@ See also: `DMDA`, `DMDATSRHSJacobianLocalFn`, `DMTSSetRHSJacobian()`, $(_doc_external("TS/DMDATSSetRHSJacobianLocal")) """ function DMDATSSetRHSJacobianLocal(petsclib::PetscLibType, dm::AbstractPetscDM, func::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("DMDATSSetRHSJacobianLocal: no generated method for these argument types") + throw(MethodError(DMDATSSetRHSJacobianLocal, (petsclib, dm, func, ctx))) end @for_petsc function DMDATSSetRHSJacobianLocal(petsclib::$UnionPetscLib, dm::AbstractPetscDM, func::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -7077,7 +7077,7 @@ See also: `DMDA`, `DM`, `PETSCVIEWERVTK`, `DMDASetFieldName()` $(_doc_external("DMDA/DMDAVTKWriteAll")) """ function DMDAVTKWriteAll(petsclib::PetscLibType, odm, viewer::PetscViewer) - error("DMDAVTKWriteAll: no generated method for these argument types") + throw(MethodError(DMDAVTKWriteAll, (petsclib, odm, viewer))) end @for_petsc function DMDAVTKWriteAll(petsclib::$UnionPetscLib, odm, viewer::PetscViewer ) @@ -7117,7 +7117,7 @@ See also: `DM`, `DMDA`, `DMDAGetGhostCorners()`, `DMDAGetCorners()`, `VecGetArra $(_doc_external("DMDA/DMDAVecGetArray")) """ function DMDAVecGetArray(petsclib::PetscLibType, da::AbstractPetscDM, vec::AbstractPetscVec) - error("DMDAVecGetArray: no generated method for these argument types") + throw(MethodError(DMDAVecGetArray, (petsclib, da, vec))) end @for_petsc function DMDAVecGetArray(petsclib::$UnionPetscLib, da::AbstractPetscDM, vec::AbstractPetscVec ) @@ -7158,7 +7158,7 @@ See also: `DM`, `DMDA`, `DMDAGetGhostCorners()`, `DMDAGetCorners()`, `VecGetArra $(_doc_external("DMDA/DMDAVecGetArrayDOF")) """ function DMDAVecGetArrayDOF(petsclib::PetscLibType, da::AbstractPetscDM, vec::AbstractPetscVec) - error("DMDAVecGetArrayDOF: no generated method for these argument types") + throw(MethodError(DMDAVecGetArrayDOF, (petsclib, da, vec))) end @for_petsc function DMDAVecGetArrayDOF(petsclib::$UnionPetscLib, da::AbstractPetscDM, vec::AbstractPetscVec ) @@ -7199,7 +7199,7 @@ See also: `DM`, `DMDA`, `DMDAGetGhostCorners()`, `DMDAGetCorners()`, `VecGetArra $(_doc_external("DMDA/DMDAVecGetArrayDOFRead")) """ function DMDAVecGetArrayDOFRead(petsclib::PetscLibType, da::AbstractPetscDM, vec::AbstractPetscVec) - error("DMDAVecGetArrayDOFRead: no generated method for these argument types") + throw(MethodError(DMDAVecGetArrayDOFRead, (petsclib, da, vec))) end @for_petsc function DMDAVecGetArrayDOFRead(petsclib::$UnionPetscLib, da::AbstractPetscDM, vec::AbstractPetscVec ) @@ -7240,7 +7240,7 @@ See also: `DM`, `DMDA`, `DMDAGetGhostCorners()`, `DMDAGetCorners()`, `VecGetArra $(_doc_external("DMDA/DMDAVecGetArrayDOFWrite")) """ function DMDAVecGetArrayDOFWrite(petsclib::PetscLibType, da::AbstractPetscDM, vec::AbstractPetscVec) - error("DMDAVecGetArrayDOFWrite: no generated method for these argument types") + throw(MethodError(DMDAVecGetArrayDOFWrite, (petsclib, da, vec))) end @for_petsc function DMDAVecGetArrayDOFWrite(petsclib::$UnionPetscLib, da::AbstractPetscDM, vec::AbstractPetscVec ) @@ -7283,7 +7283,7 @@ See also: `DM`, `DMDA`, `DMDAGetGhostCorners()`, $(_doc_external("DMDA/DMDAVecGetArrayRead")) """ function DMDAVecGetArrayRead(petsclib::PetscLibType, da::AbstractPetscDM, vec::AbstractPetscVec) - error("DMDAVecGetArrayRead: no generated method for these argument types") + throw(MethodError(DMDAVecGetArrayRead, (petsclib, da, vec))) end @for_petsc function DMDAVecGetArrayRead(petsclib::$UnionPetscLib, da::AbstractPetscDM, vec::AbstractPetscVec ) @@ -7324,7 +7324,7 @@ See also: `DM`, `DMDA`, `DMDAGetGhostCorners()`, `DMDAGetCorners()`, `VecGetArra $(_doc_external("DMDA/DMDAVecGetArrayWrite")) """ function DMDAVecGetArrayWrite(petsclib::PetscLibType, da::AbstractPetscDM, vec::AbstractPetscVec) - error("DMDAVecGetArrayWrite: no generated method for these argument types") + throw(MethodError(DMDAVecGetArrayWrite, (petsclib, da, vec))) end @for_petsc function DMDAVecGetArrayWrite(petsclib::$UnionPetscLib, da::AbstractPetscDM, vec::AbstractPetscVec ) @@ -7363,7 +7363,7 @@ See also: `DM`, `DMDA`, `DMDAGetGhostCorners()`, `DMDAGetCorners()`, `VecGetArra $(_doc_external("DMDA/DMDAVecRestoreArray")) """ function DMDAVecRestoreArray(petsclib::PetscLibType, da::AbstractPetscDM, vec::AbstractPetscVec, array::Ptr{Cvoid}) - error("DMDAVecRestoreArray: no generated method for these argument types") + throw(MethodError(DMDAVecRestoreArray, (petsclib, da, vec, array))) end @for_petsc function DMDAVecRestoreArray(petsclib::$UnionPetscLib, da::AbstractPetscDM, vec::AbstractPetscVec, array::Ptr{Cvoid} ) @@ -7399,7 +7399,7 @@ See also: `DM`, `DMDA`, `DMDAGetGhostCorners()`, `DMDAGetCorners()`, `VecGetArra $(_doc_external("DMDA/DMDAVecRestoreArrayDOF")) """ function DMDAVecRestoreArrayDOF(petsclib::PetscLibType, da::AbstractPetscDM, vec::AbstractPetscVec, array::Ptr{Cvoid}) - error("DMDAVecRestoreArrayDOF: no generated method for these argument types") + throw(MethodError(DMDAVecRestoreArrayDOF, (petsclib, da, vec, array))) end @for_petsc function DMDAVecRestoreArrayDOF(petsclib::$UnionPetscLib, da::AbstractPetscDM, vec::AbstractPetscVec, array::Ptr{Cvoid} ) @@ -7435,7 +7435,7 @@ See also: `DM`, `DMDA`, `DMDAGetGhostCorners()`, `DMDAGetCorners()`, `VecGetArra $(_doc_external("DMDA/DMDAVecRestoreArrayDOFRead")) """ function DMDAVecRestoreArrayDOFRead(petsclib::PetscLibType, da::AbstractPetscDM, vec::AbstractPetscVec, array::Ptr{Cvoid}) - error("DMDAVecRestoreArrayDOFRead: no generated method for these argument types") + throw(MethodError(DMDAVecRestoreArrayDOFRead, (petsclib, da, vec, array))) end @for_petsc function DMDAVecRestoreArrayDOFRead(petsclib::$UnionPetscLib, da::AbstractPetscDM, vec::AbstractPetscVec, array::Ptr{Cvoid} ) @@ -7471,7 +7471,7 @@ See also: `DM`, `DMDA`, `DMDAGetGhostCorners()`, `DMDAGetCorners()`, `VecGetArra $(_doc_external("DMDA/DMDAVecRestoreArrayDOFWrite")) """ function DMDAVecRestoreArrayDOFWrite(petsclib::PetscLibType, da::AbstractPetscDM, vec::AbstractPetscVec, array::Ptr{Cvoid}) - error("DMDAVecRestoreArrayDOFWrite: no generated method for these argument types") + throw(MethodError(DMDAVecRestoreArrayDOFWrite, (petsclib, da, vec, array))) end @for_petsc function DMDAVecRestoreArrayDOFWrite(petsclib::$UnionPetscLib, da::AbstractPetscDM, vec::AbstractPetscVec, array::Ptr{Cvoid} ) @@ -7508,7 +7508,7 @@ See also: `DM`, `DMDA`, `DMDAGetGhostCorners()`, `DMDAGetCorners()`, `VecGetArra $(_doc_external("DMDA/DMDAVecRestoreArrayRead")) """ function DMDAVecRestoreArrayRead(petsclib::PetscLibType, da::AbstractPetscDM, vec::AbstractPetscVec, array::Ptr{Cvoid}) - error("DMDAVecRestoreArrayRead: no generated method for these argument types") + throw(MethodError(DMDAVecRestoreArrayRead, (petsclib, da, vec, array))) end @for_petsc function DMDAVecRestoreArrayRead(petsclib::$UnionPetscLib, da::AbstractPetscDM, vec::AbstractPetscVec, array::Ptr{Cvoid} ) @@ -7544,7 +7544,7 @@ See also: `DM`, `DMDA`, `DMDAGetGhostCorners()`, `DMDAGetCorners()`, `VecGetArra $(_doc_external("DMDA/DMDAVecRestoreArrayWrite")) """ function DMDAVecRestoreArrayWrite(petsclib::PetscLibType, da::AbstractPetscDM, vec::AbstractPetscVec, array::Ptr{Cvoid}) - error("DMDAVecRestoreArrayWrite: no generated method for these argument types") + throw(MethodError(DMDAVecRestoreArrayWrite, (petsclib, da, vec, array))) end @for_petsc function DMDAVecRestoreArrayWrite(petsclib::$UnionPetscLib, da::AbstractPetscDM, vec::AbstractPetscVec, array::Ptr{Cvoid} ) @@ -7577,7 +7577,7 @@ See also: `DM`, `DMCreate()`, `DMType`, `DMSetType()`, `DMView()`, `DMCreateGlob $(_doc_external("DM/DMDestroy")) """ function DMDestroy(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMDestroy: no generated method for these argument types") + throw(MethodError(DMDestroy, (petsclib, dm))) end @for_petsc function DMDestroy(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -7612,7 +7612,7 @@ See also: `DM`, `SNESVINEWTONRSLS`, `SNESVISetVariableBounds()`, `PetscObjectCom $(_doc_external("SNES/DMDestroyVI")) """ function DMDestroyVI(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMDestroyVI: no generated method for these argument types") + throw(MethodError(DMDestroyVI, (petsclib, dm))) end @for_petsc function DMDestroyVI(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -7649,7 +7649,7 @@ See also: `DM`, `DMRefine()`, `DMCoarsen()`, `DMDestroy()`, `DMView()`, `DMCreat $(_doc_external("DM/DMExtrude")) """ function DMExtrude(petsclib::PetscLibType, dm::AbstractPetscDM, layers::Integer) - error("DMExtrude: no generated method for these argument types") + throw(MethodError(DMExtrude, (petsclib, dm, layers))) end @for_petsc function DMExtrude(petsclib::$UnionPetscLib, dm::AbstractPetscDM, layers::$PetscInt ) @@ -7680,7 +7680,7 @@ See also: `PetscInitialize()` $(_doc_external("DM/DMFinalizePackage")) """ function DMFinalizePackage(petsclib::PetscLibType) - error("DMFinalizePackage: no generated method for these argument types") + throw(MethodError(DMFinalizePackage, (petsclib, ))) end @for_petsc function DMFinalizePackage(petsclib::$UnionPetscLib) @@ -7716,7 +7716,7 @@ See also: `DM`, `DMGetRegionNumDS()`, `DMGetRegionDS()`, `DMSetRegionDS()`, `DMG $(_doc_external("DM/DMFindRegionNum")) """ function DMFindRegionNum(petsclib::PetscLibType, dm::AbstractPetscDM, ds::PetscDS) - error("DMFindRegionNum: no generated method for these argument types") + throw(MethodError(DMFindRegionNum, (petsclib, dm, ds))) end @for_petsc function DMFindRegionNum(petsclib::$UnionPetscLib, dm::AbstractPetscDM, ds::PetscDS ) @@ -7754,7 +7754,7 @@ See also: `DM`, `DMFOREST`, `DMForestSetAdaptivityForest()`, `DMForestSetAdaptiv $(_doc_external("DMForest/DMForestGetAdaptivityForest")) """ function DMForestGetAdaptivityForest(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMForestGetAdaptivityForest: no generated method for these argument types") + throw(MethodError(DMForestGetAdaptivityForest, (petsclib, dm))) end @for_petsc function DMForestGetAdaptivityForest(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -7793,7 +7793,7 @@ See also: `DM`, `DMFOREST`, `DMForestSetAdaptivityLabel()` $(_doc_external("DMForest/DMForestGetAdaptivityLabel")) """ function DMForestGetAdaptivityLabel(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMForestGetAdaptivityLabel: no generated method for these argument types") + throw(MethodError(DMForestGetAdaptivityLabel, (petsclib, dm))) end @for_petsc function DMForestGetAdaptivityLabel(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -7833,7 +7833,7 @@ See also: `DM`, `DMFOREST`, `DMForestTemplate()`, `DMForestSetAdaptivityForest() $(_doc_external("DMForest/DMForestGetAdaptivityPurpose")) """ function DMForestGetAdaptivityPurpose(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMForestGetAdaptivityPurpose: no generated method for these argument types") + throw(MethodError(DMForestGetAdaptivityPurpose, (petsclib, dm))) end @for_petsc function DMForestGetAdaptivityPurpose(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -7873,7 +7873,7 @@ See also: `DM`, `DMFOREST`, `DMForestGetComputeAdaptivitySF()`, `DMForestSetComp $(_doc_external("DMForest/DMForestGetAdaptivitySF")) """ function DMForestGetAdaptivitySF(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMForestGetAdaptivitySF: no generated method for these argument types") + throw(MethodError(DMForestGetAdaptivitySF, (petsclib, dm))) end @for_petsc function DMForestGetAdaptivitySF(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -7913,7 +7913,7 @@ See also: `DM`, `DMFOREST`, `DMFORESTADAPTALL`, `DMFORESTADAPTANY`, `DMForestSet $(_doc_external("DMForest/DMForestGetAdaptivityStrategy")) """ function DMForestGetAdaptivityStrategy(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMForestGetAdaptivityStrategy: no generated method for these argument types") + throw(MethodError(DMForestGetAdaptivityStrategy, (petsclib, dm))) end @for_petsc function DMForestGetAdaptivityStrategy(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -7952,7 +7952,7 @@ See also: `DM`, `DMFOREST` $(_doc_external("DMForest/DMForestGetAdaptivitySuccess")) """ function DMForestGetAdaptivitySuccess(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMForestGetAdaptivitySuccess: no generated method for these argument types") + throw(MethodError(DMForestGetAdaptivitySuccess, (petsclib, dm))) end @for_petsc function DMForestGetAdaptivitySuccess(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -7991,7 +7991,7 @@ See also: `DM`, `DMFOREST`, `DMForestSetAdjacencyCodimension()`, `DMForestGetAdj $(_doc_external("DMForest/DMForestGetAdjacencyCodimension")) """ function DMForestGetAdjacencyCodimension(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMForestGetAdjacencyCodimension: no generated method for these argument types") + throw(MethodError(DMForestGetAdjacencyCodimension, (petsclib, dm))) end @for_petsc function DMForestGetAdjacencyCodimension(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -8030,7 +8030,7 @@ See also: `DM`, `DMFOREST`, `DMForestSetAdjacencyDimension()`, `DMForestGetAdjac $(_doc_external("DMForest/DMForestGetAdjacencyDimension")) """ function DMForestGetAdjacencyDimension(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMForestGetAdjacencyDimension: no generated method for these argument types") + throw(MethodError(DMForestGetAdjacencyDimension, (petsclib, dm))) end @for_petsc function DMForestGetAdjacencyDimension(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -8077,7 +8077,7 @@ See also: `DM`, `DMFOREST`, `DMForestSetBaseCoordinateMapping()` $(_doc_external("DMForest/DMForestGetBaseCoordinateMapping")) """ function DMForestGetBaseCoordinateMapping(petsclib::PetscLibType, dm::AbstractPetscDM, noname::Ptr{Cvoid}) - error("DMForestGetBaseCoordinateMapping: no generated method for these argument types") + throw(MethodError(DMForestGetBaseCoordinateMapping, (petsclib, dm, noname))) end @for_petsc function DMForestGetBaseCoordinateMapping(petsclib::$UnionPetscLib, dm::AbstractPetscDM, noname::Ptr{Cvoid} ) @@ -8113,7 +8113,7 @@ See also: `DM`, `DMFOREST`, `DMForestSetBaseDM()` $(_doc_external("DMForest/DMForestGetBaseDM")) """ function DMForestGetBaseDM(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMForestGetBaseDM: no generated method for these argument types") + throw(MethodError(DMForestGetBaseDM, (petsclib, dm))) end @for_petsc function DMForestGetBaseDM(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -8152,7 +8152,7 @@ See also: `DM`, `DMFOREST`, `DMForestGetCellSF()` $(_doc_external("DMForest/DMForestGetCellChart")) """ function DMForestGetCellChart(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMForestGetCellChart: no generated method for these argument types") + throw(MethodError(DMForestGetCellChart, (petsclib, dm))) end @for_petsc function DMForestGetCellChart(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -8192,7 +8192,7 @@ See also: `DM`, `DMFOREST`, `DMForestGetCellChart()` $(_doc_external("DMForest/DMForestGetCellSF")) """ function DMForestGetCellSF(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMForestGetCellSF: no generated method for these argument types") + throw(MethodError(DMForestGetCellSF, (petsclib, dm))) end @for_petsc function DMForestGetCellSF(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -8231,7 +8231,7 @@ See also: `DM`, `DMFOREST`, `DMForestSetCellWeightFactor()`, `DMForestSetCellWei $(_doc_external("DMForest/DMForestGetCellWeightFactor")) """ function DMForestGetCellWeightFactor(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMForestGetCellWeightFactor: no generated method for these argument types") + throw(MethodError(DMForestGetCellWeightFactor, (petsclib, dm))) end @for_petsc function DMForestGetCellWeightFactor(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -8270,7 +8270,7 @@ See also: `DM`, `DMFOREST`, `DMForestSetCellWeights()`, `DMForestSetWeightCapaci $(_doc_external("DMForest/DMForestGetCellWeights")) """ function DMForestGetCellWeights(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMForestGetCellWeights: no generated method for these argument types") + throw(MethodError(DMForestGetCellWeights, (petsclib, dm))) end @for_petsc function DMForestGetCellWeights(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -8310,7 +8310,7 @@ See also: `DM`, `DMFOREST`, `DMForestSetComputeAdaptivitySF()`, `DMForestGetAdap $(_doc_external("DMForest/DMForestGetComputeAdaptivitySF")) """ function DMForestGetComputeAdaptivitySF(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMForestGetComputeAdaptivitySF: no generated method for these argument types") + throw(MethodError(DMForestGetComputeAdaptivitySF, (petsclib, dm))) end @for_petsc function DMForestGetComputeAdaptivitySF(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -8350,7 +8350,7 @@ See also: `DM`, `DMFOREST`, `DMForestSetGradeFactor()` $(_doc_external("DMForest/DMForestGetGradeFactor")) """ function DMForestGetGradeFactor(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMForestGetGradeFactor: no generated method for these argument types") + throw(MethodError(DMForestGetGradeFactor, (petsclib, dm))) end @for_petsc function DMForestGetGradeFactor(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -8389,7 +8389,7 @@ See also: `DM`, `DMFOREST`, `DMForestSetMinimumRefinement()`, `DMForestSetMaximu $(_doc_external("DMForest/DMForestGetInitialRefinement")) """ function DMForestGetInitialRefinement(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMForestGetInitialRefinement: no generated method for these argument types") + throw(MethodError(DMForestGetInitialRefinement, (petsclib, dm))) end @for_petsc function DMForestGetInitialRefinement(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -8429,7 +8429,7 @@ See also: `DM`, `DMFOREST`, `DMForestSetMaximumRefinement()`, `DMForestGetMinimu $(_doc_external("DMForest/DMForestGetMaximumRefinement")) """ function DMForestGetMaximumRefinement(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMForestGetMaximumRefinement: no generated method for these argument types") + throw(MethodError(DMForestGetMaximumRefinement, (petsclib, dm))) end @for_petsc function DMForestGetMaximumRefinement(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -8469,7 +8469,7 @@ See also: `DM`, `DMFOREST`, `DMForestSetMinimumRefinement()`, `DMForestGetMaximu $(_doc_external("DMForest/DMForestGetMinimumRefinement")) """ function DMForestGetMinimumRefinement(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMForestGetMinimumRefinement: no generated method for these argument types") + throw(MethodError(DMForestGetMinimumRefinement, (petsclib, dm))) end @for_petsc function DMForestGetMinimumRefinement(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -8508,7 +8508,7 @@ See also: `DM`, `DMFOREST`, `DMForestSetAdjacencyDimension()`, `DMForestSetAdjac $(_doc_external("DMForest/DMForestGetPartitionOverlap")) """ function DMForestGetPartitionOverlap(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMForestGetPartitionOverlap: no generated method for these argument types") + throw(MethodError(DMForestGetPartitionOverlap, (petsclib, dm))) end @for_petsc function DMForestGetPartitionOverlap(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -8546,7 +8546,7 @@ See also: `DM`, `DMFOREST`, `DMForestSetTopology()` $(_doc_external("DMForest/DMForestGetTopology")) """ function DMForestGetTopology(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMForestGetTopology: no generated method for these argument types") + throw(MethodError(DMForestGetTopology, (petsclib, dm))) end @for_petsc function DMForestGetTopology(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -8585,7 +8585,7 @@ See also: `DM`, `DMFOREST`, `DMForestSetWeightCapacity()`, `DMForestSetCellWeigh $(_doc_external("DMForest/DMForestGetWeightCapacity")) """ function DMForestGetWeightCapacity(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMForestGetWeightCapacity: no generated method for these argument types") + throw(MethodError(DMForestGetWeightCapacity, (petsclib, dm))) end @for_petsc function DMForestGetWeightCapacity(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -8620,7 +8620,7 @@ See also: `DMFOREST`, `DMIsForest()` $(_doc_external("DMForest/DMForestRegisterType")) """ function DMForestRegisterType(petsclib::PetscLibType, name::String) - error("DMForestRegisterType: no generated method for these argument types") + throw(MethodError(DMForestRegisterType, (petsclib, name))) end @for_petsc function DMForestRegisterType(petsclib::$UnionPetscLib, name::String ) @@ -8656,7 +8656,7 @@ See also: `DM`, `DMFOREST`, `DMForestGetAdaptivityForest()`, `DMForestSetAdaptiv $(_doc_external("DMForest/DMForestSetAdaptivityForest")) """ function DMForestSetAdaptivityForest(petsclib::PetscLibType, dm::AbstractPetscDM, adapt::AbstractPetscDM) - error("DMForestSetAdaptivityForest: no generated method for these argument types") + throw(MethodError(DMForestSetAdaptivityForest, (petsclib, dm, adapt))) end @for_petsc function DMForestSetAdaptivityForest(petsclib::$UnionPetscLib, dm::AbstractPetscDM, adapt::AbstractPetscDM ) @@ -8691,7 +8691,7 @@ See also: `DM`, `DMFOREST`, `DMForestGetAdaptivityLabel()` $(_doc_external("DMForest/DMForestSetAdaptivityLabel")) """ function DMForestSetAdaptivityLabel(petsclib::PetscLibType, dm::AbstractPetscDM, adaptLabel::DMLabel) - error("DMForestSetAdaptivityLabel: no generated method for these argument types") + throw(MethodError(DMForestSetAdaptivityLabel, (petsclib, dm, adaptLabel))) end @for_petsc function DMForestSetAdaptivityLabel(petsclib::$UnionPetscLib, dm::AbstractPetscDM, adaptLabel::DMLabel ) @@ -8727,7 +8727,7 @@ See also: `DM`, `DMFOREST`, `DMForestTemplate()`, `DMForestSetAdaptivityForest() $(_doc_external("DMForest/DMForestSetAdaptivityPurpose")) """ function DMForestSetAdaptivityPurpose(petsclib::PetscLibType, dm::AbstractPetscDM, purpose::DMAdaptFlag) - error("DMForestSetAdaptivityPurpose: no generated method for these argument types") + throw(MethodError(DMForestSetAdaptivityPurpose, (petsclib, dm, purpose))) end @for_petsc function DMForestSetAdaptivityPurpose(petsclib::$UnionPetscLib, dm::AbstractPetscDM, purpose::DMAdaptFlag ) @@ -8761,7 +8761,7 @@ See also: `DM`, `DMFOREST`, `DMForestGetAdaptivityStrategy()`, `DMFORESTADAPTALL $(_doc_external("DMForest/DMForestSetAdaptivityStrategy")) """ function DMForestSetAdaptivityStrategy(petsclib::PetscLibType, dm::AbstractPetscDM, adaptStrategy::String) - error("DMForestSetAdaptivityStrategy: no generated method for these argument types") + throw(MethodError(DMForestSetAdaptivityStrategy, (petsclib, dm, adaptStrategy))) end @for_petsc function DMForestSetAdaptivityStrategy(petsclib::$UnionPetscLib, dm::AbstractPetscDM, adaptStrategy::String ) @@ -8796,7 +8796,7 @@ See also: `DM`, `DMFOREST`, `DMForestGetAdjacencyCodimension()`, `DMForestSetAdj $(_doc_external("DMForest/DMForestSetAdjacencyCodimension")) """ function DMForestSetAdjacencyCodimension(petsclib::PetscLibType, dm::AbstractPetscDM, adjCodim::Integer) - error("DMForestSetAdjacencyCodimension: no generated method for these argument types") + throw(MethodError(DMForestSetAdjacencyCodimension, (petsclib, dm, adjCodim))) end @for_petsc function DMForestSetAdjacencyCodimension(petsclib::$UnionPetscLib, dm::AbstractPetscDM, adjCodim::$PetscInt ) @@ -8831,7 +8831,7 @@ See also: `DM`, `DMFOREST`, `DMForestGetAdjacencyDimension()`, `DMForestSetAdjac $(_doc_external("DMForest/DMForestSetAdjacencyDimension")) """ function DMForestSetAdjacencyDimension(petsclib::PetscLibType, dm::AbstractPetscDM, adjDim::Integer) - error("DMForestSetAdjacencyDimension: no generated method for these argument types") + throw(MethodError(DMForestSetAdjacencyDimension, (petsclib, dm, adjDim))) end @for_petsc function DMForestSetAdjacencyDimension(petsclib::$UnionPetscLib, dm::AbstractPetscDM, adjDim::$PetscInt ) @@ -8874,7 +8874,7 @@ See also: `DM`, `DMFOREST`, `DMForestGetBaseCoordinateMapping()`, `DMForestSetBa $(_doc_external("DMForest/DMForestSetBaseCoordinateMapping")) """ function DMForestSetBaseCoordinateMapping(petsclib::PetscLibType, dm::AbstractPetscDM, func::external, ctx::Ptr{Cvoid}) - error("DMForestSetBaseCoordinateMapping: no generated method for these argument types") + throw(MethodError(DMForestSetBaseCoordinateMapping, (petsclib, dm, func, ctx))) end @for_petsc function DMForestSetBaseCoordinateMapping(petsclib::$UnionPetscLib, dm::AbstractPetscDM, func::external, ctx::Ptr{Cvoid} ) @@ -8909,7 +8909,7 @@ See also: `DM`, `DMFOREST`, `DMForestGetBaseDM()` $(_doc_external("DMForest/DMForestSetBaseDM")) """ function DMForestSetBaseDM(petsclib::PetscLibType, dm::AbstractPetscDM, base::AbstractPetscDM) - error("DMForestSetBaseDM: no generated method for these argument types") + throw(MethodError(DMForestSetBaseDM, (petsclib, dm, base))) end @for_petsc function DMForestSetBaseDM(petsclib::$UnionPetscLib, dm::AbstractPetscDM, base::AbstractPetscDM ) @@ -8944,7 +8944,7 @@ See also: `DM`, `DMFOREST`, `DMForestGetCellWeightFactor()`, `DMForestSetCellWei $(_doc_external("DMForest/DMForestSetCellWeightFactor")) """ function DMForestSetCellWeightFactor(petsclib::PetscLibType, dm::AbstractPetscDM, weightsFactor::Real) - error("DMForestSetCellWeightFactor: no generated method for these argument types") + throw(MethodError(DMForestSetCellWeightFactor, (petsclib, dm, weightsFactor))) end @for_petsc function DMForestSetCellWeightFactor(petsclib::$UnionPetscLib, dm::AbstractPetscDM, weightsFactor::$PetscReal ) @@ -8980,7 +8980,7 @@ See also: `DM`, `DMFOREST`, `DMForestGetCellWeights()`, `DMForestSetWeightCapaci $(_doc_external("DMForest/DMForestSetCellWeights")) """ function DMForestSetCellWeights(petsclib::PetscLibType, dm::AbstractPetscDM, weights::AbstractVector{<:Number}, copyMode::PetscCopyMode) - error("DMForestSetCellWeights: no generated method for these argument types") + throw(MethodError(DMForestSetCellWeights, (petsclib, dm, weights, copyMode))) end @for_petsc function DMForestSetCellWeights(petsclib::$UnionPetscLib, dm::AbstractPetscDM, weights::Vector{$PetscReal}, copyMode::PetscCopyMode ) @@ -9015,7 +9015,7 @@ See also: `DM`, `DMFOREST`, `DMForestGetComputeAdaptivitySF()`, `DMForestGetAdap $(_doc_external("DMForest/DMForestSetComputeAdaptivitySF")) """ function DMForestSetComputeAdaptivitySF(petsclib::PetscLibType, dm::AbstractPetscDM, computeSF::PetscBool) - error("DMForestSetComputeAdaptivitySF: no generated method for these argument types") + throw(MethodError(DMForestSetComputeAdaptivitySF, (petsclib, dm, computeSF))) end @for_petsc function DMForestSetComputeAdaptivitySF(petsclib::$UnionPetscLib, dm::AbstractPetscDM, computeSF::PetscBool ) @@ -9051,7 +9051,7 @@ See also: `DM`, `DMFOREST`, `DMForestGetGradeFactor()` $(_doc_external("DMForest/DMForestSetGradeFactor")) """ function DMForestSetGradeFactor(petsclib::PetscLibType, dm::AbstractPetscDM, grade::Integer) - error("DMForestSetGradeFactor: no generated method for these argument types") + throw(MethodError(DMForestSetGradeFactor, (petsclib, dm, grade))) end @for_petsc function DMForestSetGradeFactor(petsclib::$UnionPetscLib, dm::AbstractPetscDM, grade::$PetscInt ) @@ -9086,7 +9086,7 @@ See also: `DM`, `DMFOREST`, `DMForestSetMinimumRefinement()`, `DMForestSetMaximu $(_doc_external("DMForest/DMForestSetInitialRefinement")) """ function DMForestSetInitialRefinement(petsclib::PetscLibType, dm::AbstractPetscDM, initRefinement::Integer) - error("DMForestSetInitialRefinement: no generated method for these argument types") + throw(MethodError(DMForestSetInitialRefinement, (petsclib, dm, initRefinement))) end @for_petsc function DMForestSetInitialRefinement(petsclib::$UnionPetscLib, dm::AbstractPetscDM, initRefinement::$PetscInt ) @@ -9122,7 +9122,7 @@ See also: `DM`, `DMFOREST`, `DMForestGetMinimumRefinement()`, `DMForestSetInitia $(_doc_external("DMForest/DMForestSetMaximumRefinement")) """ function DMForestSetMaximumRefinement(petsclib::PetscLibType, dm::AbstractPetscDM, maxRefinement::Integer) - error("DMForestSetMaximumRefinement: no generated method for these argument types") + throw(MethodError(DMForestSetMaximumRefinement, (petsclib, dm, maxRefinement))) end @for_petsc function DMForestSetMaximumRefinement(petsclib::$UnionPetscLib, dm::AbstractPetscDM, maxRefinement::$PetscInt ) @@ -9158,7 +9158,7 @@ See also: `DM`, `DMFOREST`, `DMForestGetMinimumRefinement()`, `DMForestSetMaximu $(_doc_external("DMForest/DMForestSetMinimumRefinement")) """ function DMForestSetMinimumRefinement(petsclib::PetscLibType, dm::AbstractPetscDM, minRefinement::Integer) - error("DMForestSetMinimumRefinement: no generated method for these argument types") + throw(MethodError(DMForestSetMinimumRefinement, (petsclib, dm, minRefinement))) end @for_petsc function DMForestSetMinimumRefinement(petsclib::$UnionPetscLib, dm::AbstractPetscDM, minRefinement::$PetscInt ) @@ -9194,7 +9194,7 @@ See also: `DM`, `DMFOREST`, `DMForestGetPartitionOverlap()`, `DMForestSetAdjacen $(_doc_external("DMForest/DMForestSetPartitionOverlap")) """ function DMForestSetPartitionOverlap(petsclib::PetscLibType, dm::AbstractPetscDM, overlap::Integer) - error("DMForestSetPartitionOverlap: no generated method for these argument types") + throw(MethodError(DMForestSetPartitionOverlap, (petsclib, dm, overlap))) end @for_petsc function DMForestSetPartitionOverlap(petsclib::$UnionPetscLib, dm::AbstractPetscDM, overlap::$PetscInt ) @@ -9230,7 +9230,7 @@ See also: `DM`, `DMFOREST`, `DMForestGetTopology()`, `DMForestSetBaseDM()` $(_doc_external("DMForest/DMForestSetTopology")) """ function DMForestSetTopology(petsclib::PetscLibType, dm::AbstractPetscDM, topology::String) - error("DMForestSetTopology: no generated method for these argument types") + throw(MethodError(DMForestSetTopology, (petsclib, dm, topology))) end @for_petsc function DMForestSetTopology(petsclib::$UnionPetscLib, dm::AbstractPetscDM, topology::String ) @@ -9265,7 +9265,7 @@ See also: `DM`, `DMFOREST`, `DMForestGetWeightCapacity()`, `DMForestSetCellWeigh $(_doc_external("DMForest/DMForestSetWeightCapacity")) """ function DMForestSetWeightCapacity(petsclib::PetscLibType, dm::AbstractPetscDM, capacity::Real) - error("DMForestSetWeightCapacity: no generated method for these argument types") + throw(MethodError(DMForestSetWeightCapacity, (petsclib, dm, capacity))) end @for_petsc function DMForestSetWeightCapacity(petsclib::$UnionPetscLib, dm::AbstractPetscDM, capacity::$PetscReal ) @@ -9302,7 +9302,7 @@ See also: `DM`, `DMFOREST`, `DMForestSetAdaptivityForest()` $(_doc_external("DMForest/DMForestTemplate")) """ function DMForestTemplate(petsclib::PetscLibType, dm::AbstractPetscDM, comm::MPI_Comm) - error("DMForestTemplate: no generated method for these argument types") + throw(MethodError(DMForestTemplate, (petsclib, dm, comm))) end @for_petsc function DMForestTemplate(petsclib::$UnionPetscLib, dm::AbstractPetscDM, comm::MPI_Comm ) @@ -9344,7 +9344,7 @@ See also: `DM`, `DMFOREST`, `DMForestTransferVecFromBase()`, `DMForestSetAdaptiv $(_doc_external("DMForest/DMForestTransferVec")) """ function DMForestTransferVec(petsclib::PetscLibType, dmIn::AbstractPetscDM, vecIn::AbstractPetscVec, dmOut::AbstractPetscDM, vecOut::AbstractPetscVec, useBCs::PetscBool, time::Real) - error("DMForestTransferVec: no generated method for these argument types") + throw(MethodError(DMForestTransferVec, (petsclib, dmIn, vecIn, dmOut, vecOut, useBCs, time))) end @for_petsc function DMForestTransferVec(petsclib::$UnionPetscLib, dmIn::AbstractPetscDM, vecIn::AbstractPetscVec, dmOut::AbstractPetscDM, vecOut::AbstractPetscVec, useBCs::PetscBool, time::$PetscReal ) @@ -9381,7 +9381,7 @@ See also: `DM`, `DMFOREST`, `DMForestTransferVec()`, `DMForestGetBaseDM()` $(_doc_external("DMForest/DMForestTransferVecFromBase")) """ function DMForestTransferVecFromBase(petsclib::PetscLibType, dm::AbstractPetscDM, vecIn::AbstractPetscVec, vecOut::AbstractPetscVec) - error("DMForestTransferVecFromBase: no generated method for these argument types") + throw(MethodError(DMForestTransferVecFromBase, (petsclib, dm, vecIn, vecOut))) end @for_petsc function DMForestTransferVecFromBase(petsclib::$UnionPetscLib, dm::AbstractPetscDM, vecIn::AbstractPetscVec, vecOut::AbstractPetscVec ) @@ -9416,7 +9416,7 @@ See also: `DM`, `DMGenerateRegisterAll()`, `DMPlexGenerate()`, `DMGenerateRegist $(_doc_external("DM/DMGenerateRegister")) """ function DMGenerateRegister(petsclib::PetscLibType, sname::String, fnc::external, rfnc::external, alfnc::external, dim::Integer) - error("DMGenerateRegister: no generated method for these argument types") + throw(MethodError(DMGenerateRegister, (petsclib, sname, fnc, rfnc, alfnc, dim))) end @for_petsc function DMGenerateRegister(petsclib::$UnionPetscLib, sname::String, fnc::external, rfnc::external, alfnc::external, dim::$PetscInt ) @@ -9446,7 +9446,7 @@ See also: `DM`, `DMGenerateRegisterDestroy()` $(_doc_external("DM/DMGenerateRegisterAll")) """ function DMGenerateRegisterAll(petsclib::PetscLibType) - error("DMGenerateRegisterAll: no generated method for these argument types") + throw(MethodError(DMGenerateRegisterAll, (petsclib, ))) end @for_petsc function DMGenerateRegisterAll(petsclib::$UnionPetscLib) @@ -9475,7 +9475,7 @@ See also: `DM`, `DMGenerateRegister()`, `DMGenerateRegisterAll()` $(_doc_external("DM/DMGenerateRegisterDestroy")) """ function DMGenerateRegisterDestroy(petsclib::PetscLibType) - error("DMGenerateRegisterDestroy: no generated method for these argument types") + throw(MethodError(DMGenerateRegisterDestroy, (petsclib, ))) end @for_petsc function DMGenerateRegisterDestroy(petsclib::$UnionPetscLib) @@ -9506,7 +9506,7 @@ See also: `DM`, `DMGeomModelRegisterAll()`, `DMPlexGeomModel()`, `DMGeomModelReg $(_doc_external("DM/DMGeomModelRegister")) """ function DMGeomModelRegister(petsclib::PetscLibType, sname::String, fnc::external) - error("DMGeomModelRegister: no generated method for these argument types") + throw(MethodError(DMGeomModelRegister, (petsclib, sname, fnc))) end @for_petsc function DMGeomModelRegister(petsclib::$UnionPetscLib, sname::String, fnc::external ) @@ -9536,7 +9536,7 @@ See also: `DM`, `DMGeomModelRegisterDestroy()` $(_doc_external("DM/DMGeomModelRegisterAll")) """ function DMGeomModelRegisterAll(petsclib::PetscLibType) - error("DMGeomModelRegisterAll: no generated method for these argument types") + throw(MethodError(DMGeomModelRegisterAll, (petsclib, ))) end @for_petsc function DMGeomModelRegisterAll(petsclib::$UnionPetscLib) @@ -9565,7 +9565,7 @@ See also: `DM`, `DMGeomModelRegister()`, `DMGeomModelRegisterAll()` $(_doc_external("DM/DMGeomModelRegisterDestroy")) """ function DMGeomModelRegisterDestroy(petsclib::PetscLibType) - error("DMGeomModelRegisterDestroy: no generated method for these argument types") + throw(MethodError(DMGeomModelRegisterDestroy, (petsclib, ))) end @for_petsc function DMGeomModelRegisterDestroy(petsclib::$UnionPetscLib) @@ -9602,7 +9602,7 @@ See also: `DM`, `DMSetAdjacency()`, `DMGetField()`, `DMSetField()` $(_doc_external("DM/DMGetAdjacency")) """ function DMGetAdjacency(petsclib::PetscLibType, dm::AbstractPetscDM, f::Integer) - error("DMGetAdjacency: no generated method for these argument types") + throw(MethodError(DMGetAdjacency, (petsclib, dm, f))) end @for_petsc function DMGetAdjacency(petsclib::$UnionPetscLib, dm::AbstractPetscDM, f::$PetscInt ) @@ -9642,7 +9642,7 @@ See also: `DM`, `DMView()`, `DMCreateGlobalVector()`, `DMCreateInterpolation()`, $(_doc_external("DM/DMGetApplicationContext")) """ function DMGetApplicationContext(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetApplicationContext: no generated method for these argument types") + throw(MethodError(DMGetApplicationContext, (petsclib, dm))) end @for_petsc function DMGetApplicationContext(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -9682,7 +9682,7 @@ See also: `DM`, `DMClearAuxiliaryVec()`, `DMGetNumAuxiliaryVec()`, `DMGetAuxilia $(_doc_external("DM/DMGetAuxiliaryLabels")) """ function DMGetAuxiliaryLabels(petsclib::PetscLibType, dm::AbstractPetscDM, labels::Vector{DMLabel}, values::AbstractVector{<:Number}, parts::AbstractVector{<:Number}) - error("DMGetAuxiliaryLabels: no generated method for these argument types") + throw(MethodError(DMGetAuxiliaryLabels, (petsclib, dm, labels, values, parts))) end @for_petsc function DMGetAuxiliaryLabels(petsclib::$UnionPetscLib, dm::AbstractPetscDM, labels::Vector{DMLabel}, values::Vector{$PetscInt}, parts::Vector{$PetscInt} ) @@ -9721,7 +9721,7 @@ See also: `DM`, `DMClearAuxiliaryVec()`, `DMSetAuxiliaryVec()`, `DMGetNumAuxilia $(_doc_external("DM/DMGetAuxiliaryVec")) """ function DMGetAuxiliaryVec(petsclib::PetscLibType, dm::AbstractPetscDM, label::DMLabel, value::Integer, part::Integer) - error("DMGetAuxiliaryVec: no generated method for these argument types") + throw(MethodError(DMGetAuxiliaryVec, (petsclib, dm, label, value, part))) end @for_petsc function DMGetAuxiliaryVec(petsclib::$UnionPetscLib, dm::AbstractPetscDM, label::DMLabel, value::$PetscInt, part::$PetscInt ) @@ -9760,7 +9760,7 @@ See also: `DM`, `DMSetBasicAdjacency()`, `DMGetField()`, `DMSetField()` $(_doc_external("DM/DMGetBasicAdjacency")) """ function DMGetBasicAdjacency(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetBasicAdjacency: no generated method for these argument types") + throw(MethodError(DMGetBasicAdjacency, (petsclib, dm))) end @for_petsc function DMGetBasicAdjacency(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -9800,7 +9800,7 @@ See also: `DM`, `ISCreateBlock()`, `VecSetBlockSize()`, `MatSetBlockSize()`, `DM $(_doc_external("DM/DMGetBlockSize")) """ function DMGetBlockSize(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetBlockSize: no generated method for these argument types") + throw(MethodError(DMGetBlockSize, (petsclib, dm))) end @for_petsc function DMGetBlockSize(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -9838,7 +9838,7 @@ See also: `DM`, `DMCreateMatrix()`, `MatSetVariableBlockSizes()` $(_doc_external("DM/DMGetBlockingType")) """ function DMGetBlockingType(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetBlockingType: no generated method for these argument types") + throw(MethodError(DMGetBlockingType, (petsclib, dm))) end @for_petsc function DMGetBlockingType(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -9877,7 +9877,7 @@ See also: `DM`, `DMGetLocalBoundingBox()`, `DMGetCoordinates()`, `DMGetCoordinat $(_doc_external("DM/DMGetBoundingBox")) """ function DMGetBoundingBox(petsclib::PetscLibType, dm::AbstractPetscDM, gmin::AbstractVector{<:Number}, gmax::AbstractVector{<:Number}) - error("DMGetBoundingBox: no generated method for these argument types") + throw(MethodError(DMGetBoundingBox, (petsclib, dm, gmin, gmax))) end @for_petsc function DMGetBoundingBox(petsclib::$UnionPetscLib, dm::AbstractPetscDM, gmin::Vector{$PetscReal}, gmax::Vector{$PetscReal} ) @@ -9914,7 +9914,7 @@ See also: `DM`, `DMSetCellCoordinateDM()`, `DMSetCellCoordinates()`, `DMSetCellC $(_doc_external("DM/DMGetCellCoordinateDM")) """ function DMGetCellCoordinateDM(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetCellCoordinateDM: no generated method for these argument types") + throw(MethodError(DMGetCellCoordinateDM, (petsclib, dm))) end @for_petsc function DMGetCellCoordinateDM(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -9952,7 +9952,7 @@ See also: `DM`, `DMGetCoordinateSection()`, `DMSetCellCoordinateSection()`, `DMG $(_doc_external("DM/DMGetCellCoordinateSection")) """ function DMGetCellCoordinateSection(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetCellCoordinateSection: no generated method for these argument types") + throw(MethodError(DMGetCellCoordinateSection, (petsclib, dm))) end @for_petsc function DMGetCellCoordinateSection(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -9990,7 +9990,7 @@ See also: `DM`, `DMGetCoordinates()`, `DMSetCellCoordinates()`, `DMGetCellCoordi $(_doc_external("DM/DMGetCellCoordinates")) """ function DMGetCellCoordinates(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetCellCoordinates: no generated method for these argument types") + throw(MethodError(DMGetCellCoordinates, (petsclib, dm))) end @for_petsc function DMGetCellCoordinates(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -10028,7 +10028,7 @@ See also: `DM`, `DMSetCellCoordinatesLocal()`, `DMGetCellCoordinates()`, `DMSetC $(_doc_external("DM/DMGetCellCoordinatesLocal")) """ function DMGetCellCoordinatesLocal(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetCellCoordinatesLocal: no generated method for these argument types") + throw(MethodError(DMGetCellCoordinatesLocal, (petsclib, dm))) end @for_petsc function DMGetCellCoordinatesLocal(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -10066,7 +10066,7 @@ See also: `DM`, `DMGetCellCoordinatesLocalSetUp()`, `DMGetCellCoordinatesLocal() $(_doc_external("DM/DMGetCellCoordinatesLocalNoncollective")) """ function DMGetCellCoordinatesLocalNoncollective(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetCellCoordinatesLocalNoncollective: no generated method for these argument types") + throw(MethodError(DMGetCellCoordinatesLocalNoncollective, (petsclib, dm))) end @for_petsc function DMGetCellCoordinatesLocalNoncollective(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -10101,7 +10101,7 @@ See also: `DM`, `DMGetCellCoordinatesLocalNoncollective()` $(_doc_external("DM/DMGetCellCoordinatesLocalSetUp")) """ function DMGetCellCoordinatesLocalSetUp(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetCellCoordinatesLocalSetUp: no generated method for these argument types") + throw(MethodError(DMGetCellCoordinatesLocalSetUp, (petsclib, dm))) end @for_petsc function DMGetCellCoordinatesLocalSetUp(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -10139,7 +10139,7 @@ See also: `DM`, `DMGetDS()`, `DMSetRegionDS()` $(_doc_external("DM/DMGetCellDS")) """ function DMGetCellDS(petsclib::PetscLibType, dm::AbstractPetscDM, point::Integer) - error("DMGetCellDS: no generated method for these argument types") + throw(MethodError(DMGetCellDS, (petsclib, dm, point))) end @for_petsc function DMGetCellDS(petsclib::$UnionPetscLib, dm::AbstractPetscDM, point::$PetscInt ) @@ -10179,7 +10179,7 @@ See also: `DM`, `DMSetCoarseDM()`, `DMCoarsen()` $(_doc_external("DM/DMGetCoarseDM")) """ function DMGetCoarseDM(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetCoarseDM: no generated method for these argument types") + throw(MethodError(DMGetCoarseDM, (petsclib, dm))) end @for_petsc function DMGetCoarseDM(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -10217,7 +10217,7 @@ See also: `DM`, `DMCoarsen()`, `DMSetCoarsenLevel()`, `DMGetRefineLevel()`, `DMD $(_doc_external("DM/DMGetCoarsenLevel")) """ function DMGetCoarsenLevel(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetCoarsenLevel: no generated method for these argument types") + throw(MethodError(DMGetCoarsenLevel, (petsclib, dm))) end @for_petsc function DMGetCoarsenLevel(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -10257,7 +10257,7 @@ See also: `DM`, `DMDACreateCompatibleDMDA()`, `DMStagCreateCompatibleDMStag()` $(_doc_external("DM/DMGetCompatibility")) """ function DMGetCompatibility(petsclib::PetscLibType, dm1::AbstractPetscDM, dm2::AbstractPetscDM) - error("DMGetCompatibility: no generated method for these argument types") + throw(MethodError(DMGetCompatibility, (petsclib, dm1, dm2))) end @for_petsc function DMGetCompatibility(petsclib::$UnionPetscLib, dm1::AbstractPetscDM, dm2::AbstractPetscDM ) @@ -10297,7 +10297,7 @@ See also: `DM`, `DMSetCoordinateDM()`, `DMSetCoordinates()`, `DMSetCoordinatesLo $(_doc_external("DM/DMGetCoordinateDM")) """ function DMGetCoordinateDM(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetCoordinateDM: no generated method for these argument types") + throw(MethodError(DMGetCoordinateDM, (petsclib, dm))) end @for_petsc function DMGetCoordinateDM(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -10335,7 +10335,7 @@ See also: `DM`, `DMSetCoordinateDim()`, `DMGetCoordinateSection()`, `DMGetCoordi $(_doc_external("DM/DMGetCoordinateDim")) """ function DMGetCoordinateDim(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetCoordinateDim: no generated method for these argument types") + throw(MethodError(DMGetCoordinateDim, (petsclib, dm))) end @for_petsc function DMGetCoordinateDim(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -10373,7 +10373,7 @@ See also: `DM`, `DMField`, `DMSetCoordinateField()`, `DMGetCoordinateDM()`, `DMG $(_doc_external("DM/DMGetCoordinateField")) """ function DMGetCoordinateField(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetCoordinateField: no generated method for these argument types") + throw(MethodError(DMGetCoordinateField, (petsclib, dm))) end @for_petsc function DMGetCoordinateField(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -10411,7 +10411,7 @@ See also: `DM`, `DMGetCoordinateDM()`, `DMGetLocalSection()`, `DMSetLocalSection $(_doc_external("DM/DMGetCoordinateSection")) """ function DMGetCoordinateSection(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetCoordinateSection: no generated method for these argument types") + throw(MethodError(DMGetCoordinateSection, (petsclib, dm))) end @for_petsc function DMGetCoordinateSection(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -10449,7 +10449,7 @@ See also: `DM`, `DMDA`, `DMSetCoordinates()`, `DMGetCoordinatesLocal()`, `DMGetC $(_doc_external("DM/DMGetCoordinates")) """ function DMGetCoordinates(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetCoordinates: no generated method for these argument types") + throw(MethodError(DMGetCoordinates, (petsclib, dm))) end @for_petsc function DMGetCoordinates(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -10487,7 +10487,7 @@ See also: `DM`, `DMSetCoordinatesLocal()`, `DMGetCoordinates()`, `DMSetCoordinat $(_doc_external("DM/DMGetCoordinatesLocal")) """ function DMGetCoordinatesLocal(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetCoordinatesLocal: no generated method for these argument types") + throw(MethodError(DMGetCoordinatesLocal, (petsclib, dm))) end @for_petsc function DMGetCoordinatesLocal(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -10525,7 +10525,7 @@ See also: `DM`, `DMGetCoordinatesLocalSetUp()`, `DMGetCoordinatesLocal()`, `DMSe $(_doc_external("DM/DMGetCoordinatesLocalNoncollective")) """ function DMGetCoordinatesLocalNoncollective(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetCoordinatesLocalNoncollective: no generated method for these argument types") + throw(MethodError(DMGetCoordinatesLocalNoncollective, (petsclib, dm))) end @for_petsc function DMGetCoordinatesLocalNoncollective(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -10560,7 +10560,7 @@ See also: `DM`, `DMSetCoordinates()`, `DMGetCoordinatesLocalNoncollective()` $(_doc_external("DM/DMGetCoordinatesLocalSetUp")) """ function DMGetCoordinatesLocalSetUp(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetCoordinatesLocalSetUp: no generated method for these argument types") + throw(MethodError(DMGetCoordinatesLocalSetUp, (petsclib, dm))) end @for_petsc function DMGetCoordinatesLocalSetUp(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -10598,7 +10598,7 @@ See also: `DM`, `DMDA`, `DMSetCoordinatesLocal()`, `DMGetCoordinatesLocal()`, `D $(_doc_external("DM/DMGetCoordinatesLocalTuple")) """ function DMGetCoordinatesLocalTuple(petsclib::PetscLibType, dm::AbstractPetscDM, p::AbstractIS) - error("DMGetCoordinatesLocalTuple: no generated method for these argument types") + throw(MethodError(DMGetCoordinatesLocalTuple, (petsclib, dm, p))) end @for_petsc function DMGetCoordinatesLocalTuple(petsclib::$UnionPetscLib, dm::AbstractPetscDM, p::AbstractIS ) @@ -10638,7 +10638,7 @@ See also: `DM`, `DMLocalizeCoordinates()`, `DMSetPeriodicity()`, `DMGetCoordinat $(_doc_external("DM/DMGetCoordinatesLocalized")) """ function DMGetCoordinatesLocalized(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetCoordinatesLocalized: no generated method for these argument types") + throw(MethodError(DMGetCoordinatesLocalized, (petsclib, dm))) end @for_petsc function DMGetCoordinatesLocalized(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -10676,7 +10676,7 @@ See also: `DM`, `DMLocalizeCoordinates()`, `DMGetCoordinatesLocalized()`, `DMSet $(_doc_external("DM/DMGetCoordinatesLocalizedLocal")) """ function DMGetCoordinatesLocalizedLocal(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetCoordinatesLocalizedLocal: no generated method for these argument types") + throw(MethodError(DMGetCoordinatesLocalizedLocal, (petsclib, dm))) end @for_petsc function DMGetCoordinatesLocalizedLocal(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -10714,7 +10714,7 @@ See also: `DM`, `DMGetCellDS()`, `DMGetRegionDS()` $(_doc_external("DM/DMGetDS")) """ function DMGetDS(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetDS: no generated method for these argument types") + throw(MethodError(DMGetDS, (petsclib, dm))) end @for_petsc function DMGetDS(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -10754,7 +10754,7 @@ See also: `DM`, `DMSetDefaultConstraints()` $(_doc_external("DM/DMGetDefaultConstraints")) """ function DMGetDefaultConstraints(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetDefaultConstraints: no generated method for these argument types") + throw(MethodError(DMGetDefaultConstraints, (petsclib, dm))) end @for_petsc function DMGetDefaultConstraints(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -10798,7 +10798,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetDepthStratum()`, `DMPlexGetHeightStratum()` $(_doc_external("DM/DMGetDimPoints")) """ function DMGetDimPoints(petsclib::PetscLibType, dm::AbstractPetscDM, dim::Integer) - error("DMGetDimPoints: no generated method for these argument types") + throw(MethodError(DMGetDimPoints, (petsclib, dm, dim))) end @for_petsc function DMGetDimPoints(petsclib::$UnionPetscLib, dm::AbstractPetscDM, dim::$PetscInt ) @@ -10838,7 +10838,7 @@ See also: `DM`, `DMSetDimension()`, `DMCreate()` $(_doc_external("DM/DMGetDimension")) """ function DMGetDimension(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetDimension: no generated method for these argument types") + throw(MethodError(DMGetDimension, (petsclib, dm))) end @for_petsc function DMGetDimension(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -10877,7 +10877,7 @@ See also: `DM`, `DMPLEX`, `DMGetEnclosureRelation()` $(_doc_external("DMPlex/DMGetEnclosurePoint")) """ function DMGetEnclosurePoint(petsclib::PetscLibType, dmA::AbstractPetscDM, dmB::AbstractPetscDM, etype::DMEnclosureType, pB::Integer) - error("DMGetEnclosurePoint: no generated method for these argument types") + throw(MethodError(DMGetEnclosurePoint, (petsclib, dmA, dmB, etype, pB))) end @for_petsc function DMGetEnclosurePoint(petsclib::$UnionPetscLib, dmA::AbstractPetscDM, dmB::AbstractPetscDM, etype::DMEnclosureType, pB::$PetscInt ) @@ -10914,7 +10914,7 @@ See also: `DM`, `DMPLEX`, `DMGetEnclosurePoint()` $(_doc_external("DMPlex/DMGetEnclosureRelation")) """ function DMGetEnclosureRelation(petsclib::PetscLibType, dmA::AbstractPetscDM, dmB::AbstractPetscDM) - error("DMGetEnclosureRelation: no generated method for these argument types") + throw(MethodError(DMGetEnclosureRelation, (petsclib, dmA, dmB))) end @for_petsc function DMGetEnclosureRelation(petsclib::$UnionPetscLib, dmA::AbstractPetscDM, dmB::AbstractPetscDM ) @@ -10954,7 +10954,7 @@ See also: `DM`, `DMAddField()`, `DMSetField()` $(_doc_external("DM/DMGetField")) """ function DMGetField(petsclib::PetscLibType, dm::AbstractPetscDM, f::Integer) - error("DMGetField: no generated method for these argument types") + throw(MethodError(DMGetField, (petsclib, dm, f))) end @for_petsc function DMGetField(petsclib::$UnionPetscLib, dm::AbstractPetscDM, f::$PetscInt ) @@ -10995,7 +10995,7 @@ See also: `DM`, `DMAddField()`, `DMSetField()`, `DMGetField()`, `DMSetFieldAvoid $(_doc_external("DM/DMGetFieldAvoidTensor")) """ function DMGetFieldAvoidTensor(petsclib::PetscLibType, dm::AbstractPetscDM, f::Integer) - error("DMGetFieldAvoidTensor: no generated method for these argument types") + throw(MethodError(DMGetFieldAvoidTensor, (petsclib, dm, f))) end @for_petsc function DMGetFieldAvoidTensor(petsclib::$UnionPetscLib, dm::AbstractPetscDM, f::$PetscInt ) @@ -11031,7 +11031,7 @@ See also: `DM`, `DMSetFineDM()`, `DMCoarsen()`, `DMRefine()` $(_doc_external("DM/DMGetFineDM")) """ function DMGetFineDM(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetFineDM: no generated method for these argument types") + throw(MethodError(DMGetFineDM, (petsclib, dm))) end @for_petsc function DMGetFineDM(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -11073,7 +11073,7 @@ See also: `DM`, `DMPLEX`, `DMPlexSetActivePoint()`, `DMLabel`, `PetscDS` $(_doc_external("DMPlex/DMGetFirstLabeledPoint")) """ function DMGetFirstLabeledPoint(petsclib::PetscLibType, dm::AbstractPetscDM, odm::AbstractPetscDM, label::DMLabel, numIds::Integer, ids::AbstractVector{<:Number}, height::Integer) - error("DMGetFirstLabeledPoint: no generated method for these argument types") + throw(MethodError(DMGetFirstLabeledPoint, (petsclib, dm, odm, label, numIds, ids, height))) end @for_petsc function DMGetFirstLabeledPoint(petsclib::$UnionPetscLib, dm::AbstractPetscDM, odm::AbstractPetscDM, label::DMLabel, numIds::$PetscInt, ids::Vector{$PetscInt}, height::$PetscInt ) @@ -11113,7 +11113,7 @@ See also: `DM`, `DMSetLocalSection()`, `DMGetLocalSection()` $(_doc_external("DM/DMGetGlobalSection")) """ function DMGetGlobalSection(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetGlobalSection: no generated method for these argument types") + throw(MethodError(DMGetGlobalSection, (petsclib, dm))) end @for_petsc function DMGetGlobalSection(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -11154,7 +11154,7 @@ See also: `DM`, `DMCreateGlobalVector()`, `VecDuplicate()`, `VecDuplicateVecs()` $(_doc_external("DM/DMGetGlobalVector")) """ function DMGetGlobalVector(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetGlobalVector: no generated method for these argument types") + throw(MethodError(DMGetGlobalVector, (petsclib, dm))) end @for_petsc function DMGetGlobalVector(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -11193,7 +11193,7 @@ See also: `DM`, `DMDACreate1d()`, `DMDACreate2d()`, `DMDACreate3d()`, `DMCreateM $(_doc_external("DM/DMGetISColoringType")) """ function DMGetISColoringType(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetISColoringType: no generated method for these argument types") + throw(MethodError(DMGetISColoringType, (petsclib, dm))) end @for_petsc function DMGetISColoringType(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -11240,7 +11240,7 @@ See also: `DM`, `DMLabel`, `DMHasLabel()`, `DMGetLabelByNum()`, `DMAddLabel()`, $(_doc_external("DM/DMGetLabel")) """ function DMGetLabel(petsclib::PetscLibType, dm::AbstractPetscDM, name::String) - error("DMGetLabel: no generated method for these argument types") + throw(MethodError(DMGetLabel, (petsclib, dm, name))) end @for_petsc function DMGetLabel(petsclib::$UnionPetscLib, dm::AbstractPetscDM, name::String ) @@ -11279,7 +11279,7 @@ See also: `DM`, `DMLabel`, `DMAddLabel()`, `DMGetLabelValue()`, `DMSetLabelValue $(_doc_external("DM/DMGetLabelByNum")) """ function DMGetLabelByNum(petsclib::PetscLibType, dm::AbstractPetscDM, n::Integer) - error("DMGetLabelByNum: no generated method for these argument types") + throw(MethodError(DMGetLabelByNum, (petsclib, dm, n))) end @for_petsc function DMGetLabelByNum(petsclib::$UnionPetscLib, dm::AbstractPetscDM, n::$PetscInt ) @@ -11318,7 +11318,7 @@ See also: `DM`, `DMLabelGetValueIS()`, `DMGetLabelSize()` $(_doc_external("DM/DMGetLabelIdIS")) """ function DMGetLabelIdIS(petsclib::PetscLibType, dm::AbstractPetscDM, name::String) - error("DMGetLabelIdIS: no generated method for these argument types") + throw(MethodError(DMGetLabelIdIS, (petsclib, dm, name))) end @for_petsc function DMGetLabelIdIS(petsclib::$UnionPetscLib, dm::AbstractPetscDM, name::String ) @@ -11357,7 +11357,7 @@ See also: `DM`, `DMLabel`, `DMGetLabelByNum()`, `DMGetLabel()`, `DMGetLabelValue $(_doc_external("DM/DMGetLabelName")) """ function DMGetLabelName(petsclib::PetscLibType, dm::AbstractPetscDM, n::Integer) - error("DMGetLabelName: no generated method for these argument types") + throw(MethodError(DMGetLabelName, (petsclib, dm, n))) end @for_petsc function DMGetLabelName(petsclib::$UnionPetscLib, dm::AbstractPetscDM, n::$PetscInt ) @@ -11396,7 +11396,7 @@ See also: `DM`, `DMLabel`, `DMSetLabelOutput()`, `DMCreateLabel()`, `DMHasLabel( $(_doc_external("DM/DMGetLabelOutput")) """ function DMGetLabelOutput(petsclib::PetscLibType, dm::AbstractPetscDM, name::String) - error("DMGetLabelOutput: no generated method for these argument types") + throw(MethodError(DMGetLabelOutput, (petsclib, dm, name))) end @for_petsc function DMGetLabelOutput(petsclib::$UnionPetscLib, dm::AbstractPetscDM, name::String ) @@ -11435,7 +11435,7 @@ See also: `DM`, `DMLabelGetNumValues()`, `DMSetLabelValue()`, `DMGetLabel()` $(_doc_external("DM/DMGetLabelSize")) """ function DMGetLabelSize(petsclib::PetscLibType, dm::AbstractPetscDM, name::String) - error("DMGetLabelSize: no generated method for these argument types") + throw(MethodError(DMGetLabelSize, (petsclib, dm, name))) end @for_petsc function DMGetLabelSize(petsclib::$UnionPetscLib, dm::AbstractPetscDM, name::String ) @@ -11475,7 +11475,7 @@ See also: `DM`, `DMLabelGetValue()`, `DMSetLabelValue()`, `DMGetStratumIS()` $(_doc_external("DM/DMGetLabelValue")) """ function DMGetLabelValue(petsclib::PetscLibType, dm::AbstractPetscDM, name::String, point::Integer) - error("DMGetLabelValue: no generated method for these argument types") + throw(MethodError(DMGetLabelValue, (petsclib, dm, name, point))) end @for_petsc function DMGetLabelValue(petsclib::$UnionPetscLib, dm::AbstractPetscDM, name::String, point::$PetscInt ) @@ -11514,7 +11514,7 @@ See also: `DM`, `DMGetCoordinates()`, `DMGetCoordinatesLocal()`, `DMGetBoundingB $(_doc_external("DM/DMGetLocalBoundingBox")) """ function DMGetLocalBoundingBox(petsclib::PetscLibType, dm::AbstractPetscDM, lmin::AbstractVector{<:Number}, lmax::AbstractVector{<:Number}) - error("DMGetLocalBoundingBox: no generated method for these argument types") + throw(MethodError(DMGetLocalBoundingBox, (petsclib, dm, lmin, lmax))) end @for_petsc function DMGetLocalBoundingBox(petsclib::$UnionPetscLib, dm::AbstractPetscDM, lmin::Vector{$PetscReal}, lmax::Vector{$PetscReal} ) @@ -11551,7 +11551,7 @@ See also: `DM`, `DMSetLocalSection()`, `DMGetGlobalSection()` $(_doc_external("DM/DMGetLocalSection")) """ function DMGetLocalSection(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetLocalSection: no generated method for these argument types") + throw(MethodError(DMGetLocalSection, (petsclib, dm))) end @for_petsc function DMGetLocalSection(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -11590,7 +11590,7 @@ See also: `DM`, `DMCreateLocalVector()`, `DMCreateGlobalVector()`, `VecSetLocalT $(_doc_external("DM/DMGetLocalToGlobalMapping")) """ function DMGetLocalToGlobalMapping(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetLocalToGlobalMapping: no generated method for these argument types") + throw(MethodError(DMGetLocalToGlobalMapping, (petsclib, dm))) end @for_petsc function DMGetLocalToGlobalMapping(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -11631,7 +11631,7 @@ See also: `DM`, `DMCreateGlobalVector()`, `VecDuplicate()`, `VecDuplicateVecs()` $(_doc_external("DM/DMGetLocalVector")) """ function DMGetLocalVector(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetLocalVector: no generated method for these argument types") + throw(MethodError(DMGetLocalVector, (petsclib, dm))) end @for_petsc function DMGetLocalVector(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -11669,7 +11669,7 @@ See also: `DM`, `DMDACreate1d()`, `DMDACreate2d()`, `DMDACreate3d()`, `DMCreateM $(_doc_external("DM/DMGetMatType")) """ function DMGetMatType(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetMatType: no generated method for these argument types") + throw(MethodError(DMGetMatType, (petsclib, dm))) end @for_petsc function DMGetMatType(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -11708,7 +11708,7 @@ See also: `DM`, `DMRestoreNamedGlobalVector()`, `DMHasNamedGlobalVector()`, `DMC $(_doc_external("DM/DMGetNamedGlobalVector")) """ function DMGetNamedGlobalVector(petsclib::PetscLibType, dm::AbstractPetscDM, name::String) - error("DMGetNamedGlobalVector: no generated method for these argument types") + throw(MethodError(DMGetNamedGlobalVector, (petsclib, dm, name))) end @for_petsc function DMGetNamedGlobalVector(petsclib::$UnionPetscLib, dm::AbstractPetscDM, name::String ) @@ -11747,7 +11747,7 @@ See also: `DM`, `DMGetNamedGlobalVector()`, `DMRestoreNamedLocalVector()`, `DMHa $(_doc_external("DM/DMGetNamedLocalVector")) """ function DMGetNamedLocalVector(petsclib::PetscLibType, dm::AbstractPetscDM, name::String) - error("DMGetNamedLocalVector: no generated method for these argument types") + throw(MethodError(DMGetNamedLocalVector, (petsclib, dm, name))) end @for_petsc function DMGetNamedLocalVector(petsclib::$UnionPetscLib, dm::AbstractPetscDM, name::String ) @@ -11783,7 +11783,7 @@ See also: `DM`, `DMSetNaturalSF()`, `DMSetUseNatural()`, `DMGetUseNatural()`, `D $(_doc_external("DM/DMGetNaturalSF")) """ function DMGetNaturalSF(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetNaturalSF: no generated method for these argument types") + throw(MethodError(DMGetNaturalSF, (petsclib, dm))) end @for_petsc function DMGetNaturalSF(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -11829,7 +11829,7 @@ See also: `DM`, `DMAddField()`, `DMGetField()`, `DMSetNearNullSpaceConstructor() $(_doc_external("DM/DMGetNearNullSpaceConstructor")) """ function DMGetNearNullSpaceConstructor(petsclib::PetscLibType, dm::AbstractPetscDM, field::Integer, noname::Ptr{Cvoid}) - error("DMGetNearNullSpaceConstructor: no generated method for these argument types") + throw(MethodError(DMGetNearNullSpaceConstructor, (petsclib, dm, field, noname))) end @for_petsc function DMGetNearNullSpaceConstructor(petsclib::$UnionPetscLib, dm::AbstractPetscDM, field::$PetscInt, noname::Ptr{Cvoid} ) @@ -11866,7 +11866,7 @@ See also: `DM`, `DMDAGetNeighbors()`, `PetscSFGetRootRanks()` $(_doc_external("DM/DMGetNeighbors")) """ function DMGetNeighbors(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetNeighbors: no generated method for these argument types") + throw(MethodError(DMGetNeighbors, (petsclib, dm))) end @for_petsc function DMGetNeighbors(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -11913,7 +11913,7 @@ See also: `DM`, `DMAddField()`, `DMGetField()`, `DMSetNullSpaceConstructor()`, ` $(_doc_external("DM/DMGetNullSpaceConstructor")) """ function DMGetNullSpaceConstructor(petsclib::PetscLibType, dm::AbstractPetscDM, field::Integer, noname::Ptr{Cvoid}) - error("DMGetNullSpaceConstructor: no generated method for these argument types") + throw(MethodError(DMGetNullSpaceConstructor, (petsclib, dm, field, noname))) end @for_petsc function DMGetNullSpaceConstructor(petsclib::$UnionPetscLib, dm::AbstractPetscDM, field::$PetscInt, noname::Ptr{Cvoid} ) @@ -11949,7 +11949,7 @@ See also: `DM`, `DMClearAuxiliaryVec()`, `DMSetAuxiliaryVec()`, `DMGetAuxiliaryL $(_doc_external("DM/DMGetNumAuxiliaryVec")) """ function DMGetNumAuxiliaryVec(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetNumAuxiliaryVec: no generated method for these argument types") + throw(MethodError(DMGetNumAuxiliaryVec, (petsclib, dm))) end @for_petsc function DMGetNumAuxiliaryVec(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -11987,7 +11987,7 @@ See also: `DM`, `DMGetDS()`, `DMGetCellDS()` $(_doc_external("DM/DMGetNumDS")) """ function DMGetNumDS(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetNumDS: no generated method for these argument types") + throw(MethodError(DMGetNumDS, (petsclib, dm))) end @for_petsc function DMGetNumDS(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -12025,7 +12025,7 @@ See also: `DM`, `DMSetNumFields()`, `DMSetField()` $(_doc_external("DM/DMGetNumFields")) """ function DMGetNumFields(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetNumFields: no generated method for these argument types") + throw(MethodError(DMGetNumFields, (petsclib, dm))) end @for_petsc function DMGetNumFields(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -12063,7 +12063,7 @@ See also: `DM`, `DMLabel`, `DMGetLabelByNum()`, `DMGetLabelName()`, `DMGetLabelV $(_doc_external("DM/DMGetNumLabels")) """ function DMGetNumLabels(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetNumLabels: no generated method for these argument types") + throw(MethodError(DMGetNumLabels, (petsclib, dm))) end @for_petsc function DMGetNumLabels(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -12102,7 +12102,7 @@ See also: `DM`, `DMSetOptionsPrefix()`, `DMAppendOptionsPrefix()`, `DMSetFromOpt $(_doc_external("DM/DMGetOptionsPrefix")) """ function DMGetOptionsPrefix(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetOptionsPrefix: no generated method for these argument types") + throw(MethodError(DMGetOptionsPrefix, (petsclib, dm))) end @for_petsc function DMGetOptionsPrefix(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -12140,7 +12140,7 @@ See also: `DM`, `VecView()`, `DMGetGlobalSection()`, `DMCreateGlobalVector()`, ` $(_doc_external("DM/DMGetOutputDM")) """ function DMGetOutputDM(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetOutputDM: no generated method for these argument types") + throw(MethodError(DMGetOutputDM, (petsclib, dm))) end @for_petsc function DMGetOutputDM(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -12178,7 +12178,7 @@ See also: `DM`, `DMGetOutputSequenceNumber()`, `DMSetOutputSequenceNumber()`, `V $(_doc_external("DM/DMGetOutputSequenceLength")) """ function DMGetOutputSequenceLength(petsclib::PetscLibType, dm::AbstractPetscDM, viewer::PetscViewer, name::String) - error("DMGetOutputSequenceLength: no generated method for these argument types") + throw(MethodError(DMGetOutputSequenceLength, (petsclib, dm, viewer, name))) end @for_petsc function DMGetOutputSequenceLength(petsclib::$UnionPetscLib, dm::AbstractPetscDM, viewer::PetscViewer, name::String ) @@ -12215,7 +12215,7 @@ See also: `DM`, `VecView()` $(_doc_external("DM/DMGetOutputSequenceNumber")) """ function DMGetOutputSequenceNumber(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetOutputSequenceNumber: no generated method for these argument types") + throw(MethodError(DMGetOutputSequenceNumber, (petsclib, dm))) end @for_petsc function DMGetOutputSequenceNumber(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -12257,7 +12257,7 @@ See also: `DM` $(_doc_external("DM/DMGetPeriodicity")) """ function DMGetPeriodicity(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetPeriodicity: no generated method for these argument types") + throw(MethodError(DMGetPeriodicity, (petsclib, dm))) end @for_petsc function DMGetPeriodicity(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -12299,7 +12299,7 @@ See also: `DM`, `DMSetPointSF()`, `DMGetSectionSF()`, `DMSetSectionSF()`, `DMCre $(_doc_external("DM/DMGetPointSF")) """ function DMGetPointSF(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetPointSF: no generated method for these argument types") + throw(MethodError(DMGetPointSF, (petsclib, dm))) end @for_petsc function DMGetPointSF(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -12337,7 +12337,7 @@ See also: `DM`, `DMRefine()`, `DMCoarsen()`, `DMGetCoarsenLevel()`, `DMDestroy() $(_doc_external("DM/DMGetRefineLevel")) """ function DMGetRefineLevel(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetRefineLevel: no generated method for these argument types") + throw(MethodError(DMGetRefineLevel, (petsclib, dm))) end @for_petsc function DMGetRefineLevel(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -12378,7 +12378,7 @@ See also: `DM`, `DMGetRegionNumDS()`, `DMSetRegionDS()`, `DMGetDS()`, `DMGetCell $(_doc_external("DM/DMGetRegionDS")) """ function DMGetRegionDS(petsclib::PetscLibType, dm::AbstractPetscDM, label::DMLabel) - error("DMGetRegionDS: no generated method for these argument types") + throw(MethodError(DMGetRegionDS, (petsclib, dm, label))) end @for_petsc function DMGetRegionDS(petsclib::$UnionPetscLib, dm::AbstractPetscDM, label::DMLabel ) @@ -12424,7 +12424,7 @@ See also: `DM`, `DMGetRegionDS()`, `DMSetRegionDS()`, `DMGetDS()`, `DMGetCellDS( $(_doc_external("DM/DMGetRegionNumDS")) """ function DMGetRegionNumDS(petsclib::PetscLibType, dm::AbstractPetscDM, num::Integer) - error("DMGetRegionNumDS: no generated method for these argument types") + throw(MethodError(DMGetRegionNumDS, (petsclib, dm, num))) end @for_petsc function DMGetRegionNumDS(petsclib::$UnionPetscLib, dm::AbstractPetscDM, num::$PetscInt ) @@ -12467,7 +12467,7 @@ See also: `DM`, `DMSetSectionSF()`, `DMCreateSectionSF()` $(_doc_external("DM/DMGetSectionSF")) """ function DMGetSectionSF(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetSectionSF: no generated method for these argument types") + throw(MethodError(DMGetSectionSF, (petsclib, dm))) end @for_petsc function DMGetSectionSF(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -12505,7 +12505,7 @@ See also: `DMSetSparseLocalize()`, `DMLocalizeCoordinates()`, `DMSetPeriodicity( $(_doc_external("DM/DMGetSparseLocalize")) """ function DMGetSparseLocalize(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetSparseLocalize: no generated method for these argument types") + throw(MethodError(DMGetSparseLocalize, (petsclib, dm))) end @for_petsc function DMGetSparseLocalize(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -12545,7 +12545,7 @@ See also: `DM`, `DMLabelGetStratumIS()`, `DMGetStratumSize()` $(_doc_external("DM/DMGetStratumIS")) """ function DMGetStratumIS(petsclib::PetscLibType, dm::AbstractPetscDM, name::String, value::Integer) - error("DMGetStratumIS: no generated method for these argument types") + throw(MethodError(DMGetStratumIS, (petsclib, dm, name, value))) end @for_petsc function DMGetStratumIS(petsclib::$UnionPetscLib, dm::AbstractPetscDM, name::String, value::$PetscInt ) @@ -12585,7 +12585,7 @@ See also: `DM`, `DMLabelGetStratumSize()`, `DMGetLabelSize()`, `DMGetLabelIds()` $(_doc_external("DM/DMGetStratumSize")) """ function DMGetStratumSize(petsclib::PetscLibType, dm::AbstractPetscDM, name::String, value::Integer) - error("DMGetStratumSize: no generated method for these argument types") + throw(MethodError(DMGetStratumSize, (petsclib, dm, name, value))) end @for_petsc function DMGetStratumSize(petsclib::$UnionPetscLib, dm::AbstractPetscDM, name::String, value::$PetscInt ) @@ -12623,7 +12623,7 @@ See also: `DM`, `DMType`, `DMDA`, `DMPLEX`, `DMSetType()`, `DMCreate()`, `PetscO $(_doc_external("DM/DMGetType")) """ function DMGetType(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetType: no generated method for these argument types") + throw(MethodError(DMGetType, (petsclib, dm))) end @for_petsc function DMGetType(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -12661,7 +12661,7 @@ See also: `DM`, `DMSetUseNatural()`, `DMCreate()` $(_doc_external("DM/DMGetUseNatural")) """ function DMGetUseNatural(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMGetUseNatural: no generated method for these argument types") + throw(MethodError(DMGetUseNatural, (petsclib, dm))) end @for_petsc function DMGetUseNatural(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -12699,7 +12699,7 @@ See also: `DM`, `DMCreate()`, `DMDestroy()`, `DMDAInterpolationType`, `VecType`, $(_doc_external("DM/DMGetVecType")) """ function DMGetVecType(petsclib::PetscLibType, da::AbstractPetscDM) - error("DMGetVecType: no generated method for these argument types") + throw(MethodError(DMGetVecType, (petsclib, da))) end @for_petsc function DMGetVecType(petsclib::$UnionPetscLib, da::AbstractPetscDM ) @@ -12739,7 +12739,7 @@ See also: `DM`, `DMGlobalToLocalHookAdd()`, `DMCoarsen()`, `DMDestroy()`, `DMVie $(_doc_external("DM/DMGlobalToLocal")) """ function DMGlobalToLocal(petsclib::PetscLibType, dm::AbstractPetscDM, g::AbstractPetscVec, mode::InsertMode, l::AbstractPetscVec) - error("DMGlobalToLocal: no generated method for these argument types") + throw(MethodError(DMGlobalToLocal, (petsclib, dm, g, mode, l))) end @for_petsc function DMGlobalToLocal(petsclib::$UnionPetscLib, dm::AbstractPetscDM, g::AbstractPetscVec, mode::InsertMode, l::AbstractPetscVec ) @@ -12775,7 +12775,7 @@ See also: `DM`, `DMCoarsen()`, `DMDestroy()`, `DMView()`, `DMCreateGlobalVector( $(_doc_external("DM/DMGlobalToLocalBegin")) """ function DMGlobalToLocalBegin(petsclib::PetscLibType, dm::AbstractPetscDM, g::AbstractPetscVec, mode::InsertMode, l::AbstractPetscVec) - error("DMGlobalToLocalBegin: no generated method for these argument types") + throw(MethodError(DMGlobalToLocalBegin, (petsclib, dm, g, mode, l))) end @for_petsc function DMGlobalToLocalBegin(petsclib::$UnionPetscLib, dm::AbstractPetscDM, g::AbstractPetscVec, mode::InsertMode, l::AbstractPetscVec ) @@ -12811,7 +12811,7 @@ See also: `DM`, `DMSHELL`, `DMGlobalToLocalEndDefaultShell()` $(_doc_external("DM/DMGlobalToLocalBeginDefaultShell")) """ function DMGlobalToLocalBeginDefaultShell(petsclib::PetscLibType, dm::AbstractPetscDM, g::AbstractPetscVec, mode::InsertMode, l::AbstractPetscVec) - error("DMGlobalToLocalBeginDefaultShell: no generated method for these argument types") + throw(MethodError(DMGlobalToLocalBeginDefaultShell, (petsclib, dm, g, mode, l))) end @for_petsc function DMGlobalToLocalBeginDefaultShell(petsclib::$UnionPetscLib, dm::AbstractPetscDM, g::AbstractPetscVec, mode::InsertMode, l::AbstractPetscVec ) @@ -12847,7 +12847,7 @@ See also: `DM`, `DMCoarsen()`, `DMDestroy()`, `DMView()`, `DMCreateGlobalVector( $(_doc_external("DM/DMGlobalToLocalEnd")) """ function DMGlobalToLocalEnd(petsclib::PetscLibType, dm::AbstractPetscDM, g::AbstractPetscVec, mode::InsertMode, l::AbstractPetscVec) - error("DMGlobalToLocalEnd: no generated method for these argument types") + throw(MethodError(DMGlobalToLocalEnd, (petsclib, dm, g, mode, l))) end @for_petsc function DMGlobalToLocalEnd(petsclib::$UnionPetscLib, dm::AbstractPetscDM, g::AbstractPetscVec, mode::InsertMode, l::AbstractPetscVec ) @@ -12882,7 +12882,7 @@ See also: `DM`, `DMSHELL`, `DMGlobalToLocalBeginDefaultShell()` $(_doc_external("DM/DMGlobalToLocalEndDefaultShell")) """ function DMGlobalToLocalEndDefaultShell(petsclib::PetscLibType, dm::AbstractPetscDM, g::AbstractPetscVec, mode::InsertMode, l::AbstractPetscVec) - error("DMGlobalToLocalEndDefaultShell: no generated method for these argument types") + throw(MethodError(DMGlobalToLocalEndDefaultShell, (petsclib, dm, g, mode, l))) end @for_petsc function DMGlobalToLocalEndDefaultShell(petsclib::$UnionPetscLib, dm::AbstractPetscDM, g::AbstractPetscVec, mode::InsertMode, l::AbstractPetscVec ) @@ -12932,7 +12932,7 @@ See also: `DM`, `DMGlobalToLocal()`, `DMRefineHookAdd()`, `SNESFASGetInterpolati $(_doc_external("DM/DMGlobalToLocalHookAdd")) """ function DMGlobalToLocalHookAdd(petsclib::PetscLibType, dm::AbstractPetscDM, beginhook::external, endhook::external, ctx::Ptr{Cvoid}) - error("DMGlobalToLocalHookAdd: no generated method for these argument types") + throw(MethodError(DMGlobalToLocalHookAdd, (petsclib, dm, beginhook, endhook, ctx))) end @for_petsc function DMGlobalToLocalHookAdd(petsclib::$UnionPetscLib, dm::AbstractPetscDM, beginhook::external, endhook::external, ctx::Ptr{Cvoid} ) @@ -12971,7 +12971,7 @@ See also: `DM`, `DMGlobalToLocalBegin()`, `DMGlobalToLocalEnd()`, `DMLocalToGlob $(_doc_external("DM/DMGlobalToLocalSolve")) """ function DMGlobalToLocalSolve(petsclib::PetscLibType, dm::AbstractPetscDM, x::AbstractPetscVec, y::AbstractPetscVec) - error("DMGlobalToLocalSolve: no generated method for these argument types") + throw(MethodError(DMGlobalToLocalSolve, (petsclib, dm, x, y))) end @for_petsc function DMGlobalToLocalSolve(petsclib::$UnionPetscLib, dm::AbstractPetscDM, x::AbstractPetscVec, y::AbstractPetscVec ) @@ -13005,7 +13005,7 @@ See also: `DM`, `DMPlexGlobalToLocalBasis()`, `DMPlexLocalToGlobalBasis()`, `DMP $(_doc_external("DM/DMHasBasisTransform")) """ function DMHasBasisTransform(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMHasBasisTransform: no generated method for these argument types") + throw(MethodError(DMHasBasisTransform, (petsclib, dm))) end @for_petsc function DMHasBasisTransform(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -13043,7 +13043,7 @@ See also: `DM`, `DSAddBoundary()`, `PetscDSAddBoundary()` $(_doc_external("DM/DMHasBound")) """ function DMHasBound(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMHasBound: no generated method for these argument types") + throw(MethodError(DMHasBound, (petsclib, dm))) end @for_petsc function DMHasBound(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -13081,7 +13081,7 @@ See also: `DM`, `DMCreateColoring()` $(_doc_external("DM/DMHasColoring")) """ function DMHasColoring(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMHasColoring: no generated method for these argument types") + throw(MethodError(DMHasColoring, (petsclib, dm))) end @for_petsc function DMHasColoring(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -13119,7 +13119,7 @@ See also: `DM`, `DMCreateInjection()`, `DMHasCreateRestriction()`, `DMHasCreateI $(_doc_external("DM/DMHasCreateInjection")) """ function DMHasCreateInjection(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMHasCreateInjection: no generated method for these argument types") + throw(MethodError(DMHasCreateInjection, (petsclib, dm))) end @for_petsc function DMHasCreateInjection(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -13157,7 +13157,7 @@ See also: `DM`, `DMCreateRestriction()`, `DMHasCreateInterpolation()`, `DMHasCre $(_doc_external("DM/DMHasCreateRestriction")) """ function DMHasCreateRestriction(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMHasCreateRestriction: no generated method for these argument types") + throw(MethodError(DMHasCreateRestriction, (petsclib, dm))) end @for_petsc function DMHasCreateRestriction(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -13196,7 +13196,7 @@ See also: `DM`, `DMLabel`, `DMGetLabel()`, `DMGetLabelByNum()`, `DMCreateLabel() $(_doc_external("DM/DMHasLabel")) """ function DMHasLabel(petsclib::PetscLibType, dm::AbstractPetscDM, name::String) - error("DMHasLabel: no generated method for these argument types") + throw(MethodError(DMHasLabel, (petsclib, dm, name))) end @for_petsc function DMHasLabel(petsclib::$UnionPetscLib, dm::AbstractPetscDM, name::String ) @@ -13235,7 +13235,7 @@ See also: `DM`, `DMGetNamedGlobalVector()`, `DMRestoreNamedLocalVector()`, `DMCl $(_doc_external("DM/DMHasNamedGlobalVector")) """ function DMHasNamedGlobalVector(petsclib::PetscLibType, dm::AbstractPetscDM, name::String) - error("DMHasNamedGlobalVector: no generated method for these argument types") + throw(MethodError(DMHasNamedGlobalVector, (petsclib, dm, name))) end @for_petsc function DMHasNamedGlobalVector(petsclib::$UnionPetscLib, dm::AbstractPetscDM, name::String ) @@ -13274,7 +13274,7 @@ See also: `DM`, `DMGetNamedGlobalVector()`, `DMRestoreNamedLocalVector()`, `DMCl $(_doc_external("DM/DMHasNamedLocalVector")) """ function DMHasNamedLocalVector(petsclib::PetscLibType, dm::AbstractPetscDM, name::String) - error("DMHasNamedLocalVector: no generated method for these argument types") + throw(MethodError(DMHasNamedLocalVector, (petsclib, dm, name))) end @for_petsc function DMHasNamedLocalVector(petsclib::$UnionPetscLib, dm::AbstractPetscDM, name::String ) @@ -13312,7 +13312,7 @@ See also: `DM`, `DMComputeVariableBounds()`, `DMView()`, `DMCreateGlobalVector() $(_doc_external("DM/DMHasVariableBounds")) """ function DMHasVariableBounds(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMHasVariableBounds: no generated method for these argument types") + throw(MethodError(DMHasVariableBounds, (petsclib, dm))) end @for_petsc function DMHasVariableBounds(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -13344,7 +13344,7 @@ See also: `PetscInitialize()` $(_doc_external("DM/DMInitializePackage")) """ function DMInitializePackage(petsclib::PetscLibType) - error("DMInitializePackage: no generated method for these argument types") + throw(MethodError(DMInitializePackage, (petsclib, ))) end @for_petsc function DMInitializePackage(petsclib::$UnionPetscLib) @@ -13378,7 +13378,7 @@ See also: `DM`, `DMRefineHookAdd()`, `MatInterpolate()` $(_doc_external("DM/DMInterpolate")) """ function DMInterpolate(petsclib::PetscLibType, coarse::AbstractPetscDM, interp::AbstractPetscMat, fine::AbstractPetscDM) - error("DMInterpolate: no generated method for these argument types") + throw(MethodError(DMInterpolate, (petsclib, coarse, interp, fine))) end @for_petsc function DMInterpolate(petsclib::$UnionPetscLib, coarse::AbstractPetscDM, interp::AbstractPetscMat, fine::AbstractPetscDM ) @@ -13419,7 +13419,7 @@ See also: `DM`, `DMInterpolate()`, `DMCreateInterpolation()` $(_doc_external("DM/DMInterpolateSolution")) """ function DMInterpolateSolution(petsclib::PetscLibType, coarse::AbstractPetscDM, fine::AbstractPetscDM, interp::AbstractPetscMat, coarseSol::AbstractPetscVec, fineSol::AbstractPetscVec) - error("DMInterpolateSolution: no generated method for these argument types") + throw(MethodError(DMInterpolateSolution, (petsclib, coarse, fine, interp, coarseSol, fineSol))) end @for_petsc function DMInterpolateSolution(petsclib::$UnionPetscLib, coarse::AbstractPetscDM, fine::AbstractPetscDM, interp::AbstractPetscMat, coarseSol::AbstractPetscVec, fineSol::AbstractPetscVec ) @@ -13454,7 +13454,7 @@ See also: `DM`, `DMInterpolationInfo`, `DMInterpolationSetDim()`, `DMInterpolati $(_doc_external("DM/DMInterpolationAddPoints")) """ function DMInterpolationAddPoints(petsclib::PetscLibType, ctx::DMInterpolationInfo, n::Integer, points::AbstractVector{<:Number}) - error("DMInterpolationAddPoints: no generated method for these argument types") + throw(MethodError(DMInterpolationAddPoints, (petsclib, ctx, n, points))) end @for_petsc function DMInterpolationAddPoints(petsclib::$UnionPetscLib, ctx::DMInterpolationInfo, n::$PetscInt, points::Vector{$PetscReal} ) @@ -13490,7 +13490,7 @@ See also: `DM`, `DMInterpolationInfo`, `DMInterpolationEvaluate()`, `DMInterpola $(_doc_external("DM/DMInterpolationCreate")) """ function DMInterpolationCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("DMInterpolationCreate: no generated method for these argument types") + throw(MethodError(DMInterpolationCreate, (petsclib, comm))) end @for_petsc function DMInterpolationCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -13525,7 +13525,7 @@ See also: `DM`, `DMInterpolationInfo`, `DMInterpolationEvaluate()`, `DMInterpola $(_doc_external("DM/DMInterpolationDestroy")) """ function DMInterpolationDestroy(petsclib::PetscLibType, ctx::Union{DMInterpolationInfo, Ref{DMInterpolationInfo}}) - error("DMInterpolationDestroy: no generated method for these argument types") + throw(MethodError(DMInterpolationDestroy, (petsclib, ctx))) end @for_petsc function DMInterpolationDestroy(petsclib::$UnionPetscLib, ctx::Union{DMInterpolationInfo, Ref{DMInterpolationInfo}} ) @@ -13562,7 +13562,7 @@ See also: `DM`, `DMInterpolationInfo`, `DMInterpolationGetVector()`, `DMInterpol $(_doc_external("DM/DMInterpolationEvaluate")) """ function DMInterpolationEvaluate(petsclib::PetscLibType, ctx::DMInterpolationInfo, dm::AbstractPetscDM, x::AbstractPetscVec, v::AbstractPetscVec) - error("DMInterpolationEvaluate: no generated method for these argument types") + throw(MethodError(DMInterpolationEvaluate, (petsclib, ctx, dm, x, v))) end @for_petsc function DMInterpolationEvaluate(petsclib::$UnionPetscLib, ctx::DMInterpolationInfo, dm::AbstractPetscDM, x::AbstractPetscVec, v::AbstractPetscVec ) @@ -13598,7 +13598,7 @@ See also: `DM`, `DMInterpolationInfo`, `DMInterpolationEvaluate()`, `DMInterpola $(_doc_external("DM/DMInterpolationGetCoordinates")) """ function DMInterpolationGetCoordinates(petsclib::PetscLibType, ctx::DMInterpolationInfo) - error("DMInterpolationGetCoordinates: no generated method for these argument types") + throw(MethodError(DMInterpolationGetCoordinates, (petsclib, ctx))) end @for_petsc function DMInterpolationGetCoordinates(petsclib::$UnionPetscLib, ctx::DMInterpolationInfo ) @@ -13636,7 +13636,7 @@ See also: `DM`, `DMInterpolationInfo`, `DMInterpolationSetDim()`, `DMInterpolati $(_doc_external("DM/DMInterpolationGetDim")) """ function DMInterpolationGetDim(petsclib::PetscLibType, ctx::DMInterpolationInfo) - error("DMInterpolationGetDim: no generated method for these argument types") + throw(MethodError(DMInterpolationGetDim, (petsclib, ctx))) end @for_petsc function DMInterpolationGetDim(petsclib::$UnionPetscLib, ctx::DMInterpolationInfo ) @@ -13674,7 +13674,7 @@ See also: `DM`, `DMInterpolationInfo`, `DMInterpolationSetDof()`, `DMInterpolati $(_doc_external("DM/DMInterpolationGetDof")) """ function DMInterpolationGetDof(petsclib::PetscLibType, ctx::DMInterpolationInfo) - error("DMInterpolationGetDof: no generated method for these argument types") + throw(MethodError(DMInterpolationGetDof, (petsclib, ctx))) end @for_petsc function DMInterpolationGetDof(petsclib::$UnionPetscLib, ctx::DMInterpolationInfo ) @@ -13712,7 +13712,7 @@ See also: `DM`, `DMInterpolationInfo`, `DMInterpolationRestoreVector()`, `DMInte $(_doc_external("DM/DMInterpolationGetVector")) """ function DMInterpolationGetVector(petsclib::PetscLibType, ctx::DMInterpolationInfo) - error("DMInterpolationGetVector: no generated method for these argument types") + throw(MethodError(DMInterpolationGetVector, (petsclib, ctx))) end @for_petsc function DMInterpolationGetVector(petsclib::$UnionPetscLib, ctx::DMInterpolationInfo ) @@ -13748,7 +13748,7 @@ See also: `DM`, `DMInterpolationInfo`, `DMInterpolationGetVector()`, `DMInterpol $(_doc_external("DM/DMInterpolationRestoreVector")) """ function DMInterpolationRestoreVector(petsclib::PetscLibType, ctx::DMInterpolationInfo, v::AbstractPetscVec) - error("DMInterpolationRestoreVector: no generated method for these argument types") + throw(MethodError(DMInterpolationRestoreVector, (petsclib, ctx, v))) end @for_petsc function DMInterpolationRestoreVector(petsclib::$UnionPetscLib, ctx::DMInterpolationInfo, v::AbstractPetscVec ) @@ -13784,7 +13784,7 @@ See also: `DM`, `DMInterpolationInfo`, `DMInterpolationGetDim()`, `DMInterpolati $(_doc_external("DM/DMInterpolationSetDim")) """ function DMInterpolationSetDim(petsclib::PetscLibType, ctx::DMInterpolationInfo, dim::Integer) - error("DMInterpolationSetDim: no generated method for these argument types") + throw(MethodError(DMInterpolationSetDim, (petsclib, ctx, dim))) end @for_petsc function DMInterpolationSetDim(petsclib::$UnionPetscLib, ctx::DMInterpolationInfo, dim::$PetscInt ) @@ -13818,7 +13818,7 @@ See also: `DM`, `DMInterpolationInfo`, `DMInterpolationGetDof()`, `DMInterpolati $(_doc_external("DM/DMInterpolationSetDof")) """ function DMInterpolationSetDof(petsclib::PetscLibType, ctx::DMInterpolationInfo, dof::Integer) - error("DMInterpolationSetDof: no generated method for these argument types") + throw(MethodError(DMInterpolationSetDof, (petsclib, ctx, dof))) end @for_petsc function DMInterpolationSetDof(petsclib::$UnionPetscLib, ctx::DMInterpolationInfo, dof::$PetscInt ) @@ -13854,7 +13854,7 @@ See also: `DM`, `DMInterpolationInfo`, `DMInterpolationEvaluate()`, `DMInterpola $(_doc_external("DM/DMInterpolationSetUp")) """ function DMInterpolationSetUp(petsclib::PetscLibType, ctx::DMInterpolationInfo, dm::AbstractPetscDM, redundantPoints::PetscBool, ignoreOutsideDomain::PetscBool) - error("DMInterpolationSetUp: no generated method for these argument types") + throw(MethodError(DMInterpolationSetUp, (petsclib, ctx, dm, redundantPoints, ignoreOutsideDomain))) end @for_petsc function DMInterpolationSetUp(petsclib::$UnionPetscLib, ctx::DMInterpolationInfo, dm::AbstractPetscDM, redundantPoints::PetscBool, ignoreOutsideDomain::PetscBool ) @@ -13891,7 +13891,7 @@ See also: `DM`, `DMLabel`, `DMAddBoundary()`, `PetscDSGetBoundary()` $(_doc_external("DM/DMIsBoundaryPoint")) """ function DMIsBoundaryPoint(petsclib::PetscLibType, dm::AbstractPetscDM, point::Integer) - error("DMIsBoundaryPoint: no generated method for these argument types") + throw(MethodError(DMIsBoundaryPoint, (petsclib, dm, point))) end @for_petsc function DMIsBoundaryPoint(petsclib::$UnionPetscLib, dm::AbstractPetscDM, point::$PetscInt ) @@ -13929,7 +13929,7 @@ See also: `DMFOREST`, `DMForestRegisterType()` $(_doc_external("DMForest/DMIsForest")) """ function DMIsForest(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMIsForest: no generated method for these argument types") + throw(MethodError(DMIsForest, (petsclib, dm))) end @for_petsc function DMIsForest(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -13968,7 +13968,7 @@ See also: `DMKSP`, `DM`, `KSP`, `DMKSPSetContext()`, `KSPSetComputeRHS()`, `DMKS $(_doc_external("KSP/DMKSPGetComputeInitialGuess")) """ function DMKSPGetComputeInitialGuess(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMKSPGetComputeInitialGuess: no generated method for these argument types") + throw(MethodError(DMKSPGetComputeInitialGuess, (petsclib, dm))) end @for_petsc function DMKSPGetComputeInitialGuess(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -14009,7 +14009,7 @@ See also: `DMKSP`, `DM`, `KSP`, `DMKSPSetContext()`, `KSPSetComputeOperators()`, $(_doc_external("KSP/DMKSPGetComputeOperators")) """ function DMKSPGetComputeOperators(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMKSPGetComputeOperators: no generated method for these argument types") + throw(MethodError(DMKSPGetComputeOperators, (petsclib, dm))) end @for_petsc function DMKSPGetComputeOperators(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -14050,7 +14050,7 @@ See also: `DMKSP`, `DM`, `KSP`, `DMKSPSetContext()`, `KSPSetComputeRHS()`, `DMKS $(_doc_external("KSP/DMKSPGetComputeRHS")) """ function DMKSPGetComputeRHS(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMKSPGetComputeRHS: no generated method for these argument types") + throw(MethodError(DMKSPGetComputeRHS, (petsclib, dm))) end @for_petsc function DMKSPGetComputeRHS(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -14089,7 +14089,7 @@ See also: `DMKSP`, `DM`, `KSP`, `DMKSPSetContext()`, `DMKSPGetComputeRHS()`, `KS $(_doc_external("KSP/DMKSPSetComputeInitialGuess")) """ function DMKSPSetComputeInitialGuess(petsclib::PetscLibType, dm::AbstractPetscDM, func::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("DMKSPSetComputeInitialGuess: no generated method for these argument types") + throw(MethodError(DMKSPSetComputeInitialGuess, (petsclib, dm, func, ctx))) end @for_petsc function DMKSPSetComputeInitialGuess(petsclib::$UnionPetscLib, dm::AbstractPetscDM, func::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -14124,7 +14124,7 @@ See also: `DMKSP`, `DM`, `KSP`, `DMKSPSetContext()`, `DMKSPGetComputeOperators() $(_doc_external("KSP/DMKSPSetComputeOperators")) """ function DMKSPSetComputeOperators(petsclib::PetscLibType, dm::AbstractPetscDM, func::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("DMKSPSetComputeOperators: no generated method for these argument types") + throw(MethodError(DMKSPSetComputeOperators, (petsclib, dm, func, ctx))) end @for_petsc function DMKSPSetComputeOperators(petsclib::$UnionPetscLib, dm::AbstractPetscDM, func::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -14159,7 +14159,7 @@ See also: `DMKSP`, `DM`, `KSP`, `DMKSPSetContext()`, `DMKSPGetComputeRHS()` $(_doc_external("KSP/DMKSPSetComputeRHS")) """ function DMKSPSetComputeRHS(petsclib::PetscLibType, dm::AbstractPetscDM, func::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("DMKSPSetComputeRHS: no generated method for these argument types") + throw(MethodError(DMKSPSetComputeRHS, (petsclib, dm, func, ctx))) end @for_petsc function DMKSPSetComputeRHS(petsclib::$UnionPetscLib, dm::AbstractPetscDM, func::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -14195,7 +14195,7 @@ See also: `DM`, `PetscViewerBinaryOpen()`, `DMView()`, `MatLoad()`, `VecLoad()` $(_doc_external("DM/DMLoad")) """ function DMLoad(petsclib::PetscLibType, newdm::AbstractPetscDM, viewer::PetscViewer) - error("DMLoad: no generated method for these argument types") + throw(MethodError(DMLoad, (petsclib, newdm, viewer))) end @for_petsc function DMLoad(petsclib::$UnionPetscLib, newdm::AbstractPetscDM, viewer::PetscViewer ) @@ -14231,7 +14231,7 @@ See also: `DM`, `DMLocalToGlobalBegin()`, `DMLocalToGlobalEnd()`, `DMCoarsen()`, $(_doc_external("DM/DMLocalToGlobal")) """ function DMLocalToGlobal(petsclib::PetscLibType, dm::AbstractPetscDM, l::AbstractPetscVec, mode::InsertMode, g::AbstractPetscVec) - error("DMLocalToGlobal: no generated method for these argument types") + throw(MethodError(DMLocalToGlobal, (petsclib, dm, l, mode, g))) end @for_petsc function DMLocalToGlobal(petsclib::$UnionPetscLib, dm::AbstractPetscDM, l::AbstractPetscVec, mode::InsertMode, g::AbstractPetscVec ) @@ -14267,7 +14267,7 @@ See also: `DM`, `DMLocalToGlobal()`, `DMLocalToGlobalEnd()`, `DMCoarsen()`, `DMD $(_doc_external("DM/DMLocalToGlobalBegin")) """ function DMLocalToGlobalBegin(petsclib::PetscLibType, dm::AbstractPetscDM, l::AbstractPetscVec, mode::InsertMode, g::AbstractPetscVec) - error("DMLocalToGlobalBegin: no generated method for these argument types") + throw(MethodError(DMLocalToGlobalBegin, (petsclib, dm, l, mode, g))) end @for_petsc function DMLocalToGlobalBegin(petsclib::$UnionPetscLib, dm::AbstractPetscDM, l::AbstractPetscVec, mode::InsertMode, g::AbstractPetscVec ) @@ -14302,7 +14302,7 @@ See also: `DM`, `DMSHELL`, `DMLocalToGlobalEndDefaultShell()` $(_doc_external("DM/DMLocalToGlobalBeginDefaultShell")) """ function DMLocalToGlobalBeginDefaultShell(petsclib::PetscLibType, dm::AbstractPetscDM, l::AbstractPetscVec, mode::InsertMode, g::AbstractPetscVec) - error("DMLocalToGlobalBeginDefaultShell: no generated method for these argument types") + throw(MethodError(DMLocalToGlobalBeginDefaultShell, (petsclib, dm, l, mode, g))) end @for_petsc function DMLocalToGlobalBeginDefaultShell(petsclib::$UnionPetscLib, dm::AbstractPetscDM, l::AbstractPetscVec, mode::InsertMode, g::AbstractPetscVec ) @@ -14338,7 +14338,7 @@ See also: `DM`, `DMLocalToGlobalBegin()`, `DMCoarsen()`, `DMDestroy()`, `DMView( $(_doc_external("DM/DMLocalToGlobalEnd")) """ function DMLocalToGlobalEnd(petsclib::PetscLibType, dm::AbstractPetscDM, l::AbstractPetscVec, mode::InsertMode, g::AbstractPetscVec) - error("DMLocalToGlobalEnd: no generated method for these argument types") + throw(MethodError(DMLocalToGlobalEnd, (petsclib, dm, l, mode, g))) end @for_petsc function DMLocalToGlobalEnd(petsclib::$UnionPetscLib, dm::AbstractPetscDM, l::AbstractPetscVec, mode::InsertMode, g::AbstractPetscVec ) @@ -14373,7 +14373,7 @@ See also: `DM`, `DMSHELL`, `DMLocalToGlobalBeginDefaultShell()` $(_doc_external("DM/DMLocalToGlobalEndDefaultShell")) """ function DMLocalToGlobalEndDefaultShell(petsclib::PetscLibType, dm::AbstractPetscDM, l::AbstractPetscVec, mode::InsertMode, g::AbstractPetscVec) - error("DMLocalToGlobalEndDefaultShell: no generated method for these argument types") + throw(MethodError(DMLocalToGlobalEndDefaultShell, (petsclib, dm, l, mode, g))) end @for_petsc function DMLocalToGlobalEndDefaultShell(petsclib::$UnionPetscLib, dm::AbstractPetscDM, l::AbstractPetscVec, mode::InsertMode, g::AbstractPetscVec ) @@ -14423,7 +14423,7 @@ See also: `DM`, `DMLocalToGlobal()`, `DMRefineHookAdd()`, `DMGlobalToLocalHookAd $(_doc_external("DM/DMLocalToGlobalHookAdd")) """ function DMLocalToGlobalHookAdd(petsclib::PetscLibType, dm::AbstractPetscDM, beginhook::external, endhook::external, ctx::Ptr{Cvoid}) - error("DMLocalToGlobalHookAdd: no generated method for these argument types") + throw(MethodError(DMLocalToGlobalHookAdd, (petsclib, dm, beginhook, endhook, ctx))) end @for_petsc function DMLocalToGlobalHookAdd(petsclib::$UnionPetscLib, dm::AbstractPetscDM, beginhook::external, endhook::external, ctx::Ptr{Cvoid} ) @@ -14463,7 +14463,7 @@ See also: `DM`, `DMLocalToLocalEnd()`, `DMCoarsen()`, `DMDestroy()`, `DMView()`, $(_doc_external("DM/DMLocalToLocalBegin")) """ function DMLocalToLocalBegin(petsclib::PetscLibType, dm::AbstractPetscDM, g::AbstractPetscVec, mode::InsertMode, l::AbstractPetscVec) - error("DMLocalToLocalBegin: no generated method for these argument types") + throw(MethodError(DMLocalToLocalBegin, (petsclib, dm, g, mode, l))) end @for_petsc function DMLocalToLocalBegin(petsclib::$UnionPetscLib, dm::AbstractPetscDM, g::AbstractPetscVec, mode::InsertMode, l::AbstractPetscVec ) @@ -14500,7 +14500,7 @@ See also: `DM`, `DMSHELL`, `DMLocalToLocalEndDefaultShell()` $(_doc_external("DM/DMLocalToLocalBeginDefaultShell")) """ function DMLocalToLocalBeginDefaultShell(petsclib::PetscLibType, dm::AbstractPetscDM, g::AbstractPetscVec, mode::InsertMode, l::AbstractPetscVec) - error("DMLocalToLocalBeginDefaultShell: no generated method for these argument types") + throw(MethodError(DMLocalToLocalBeginDefaultShell, (petsclib, dm, g, mode, l))) end @for_petsc function DMLocalToLocalBeginDefaultShell(petsclib::$UnionPetscLib, dm::AbstractPetscDM, g::AbstractPetscVec, mode::InsertMode, l::AbstractPetscVec ) @@ -14539,7 +14539,7 @@ See also: `DM`, `DMLocalToLocalBegin()`, `DMCoarsen()`, `DMDestroy()`, `DMView() $(_doc_external("DM/DMLocalToLocalEnd")) """ function DMLocalToLocalEnd(petsclib::PetscLibType, dm::AbstractPetscDM, g::AbstractPetscVec, mode::InsertMode, l::AbstractPetscVec) - error("DMLocalToLocalEnd: no generated method for these argument types") + throw(MethodError(DMLocalToLocalEnd, (petsclib, dm, g, mode, l))) end @for_petsc function DMLocalToLocalEnd(petsclib::$UnionPetscLib, dm::AbstractPetscDM, g::AbstractPetscVec, mode::InsertMode, l::AbstractPetscVec ) @@ -14576,7 +14576,7 @@ See also: `DM`, `DMSHELL`, `DMLocalToLocalBeginDefaultShell()` $(_doc_external("DM/DMLocalToLocalEndDefaultShell")) """ function DMLocalToLocalEndDefaultShell(petsclib::PetscLibType, dm::AbstractPetscDM, g::AbstractPetscVec, mode::InsertMode, l::AbstractPetscVec) - error("DMLocalToLocalEndDefaultShell: no generated method for these argument types") + throw(MethodError(DMLocalToLocalEndDefaultShell, (petsclib, dm, g, mode, l))) end @for_petsc function DMLocalToLocalEndDefaultShell(petsclib::$UnionPetscLib, dm::AbstractPetscDM, g::AbstractPetscVec, mode::InsertMode, l::AbstractPetscVec ) @@ -14612,7 +14612,7 @@ See also: `DM`, `DMLocalizeCoordinates()`, `DMLocalizeAddCoordinate()` $(_doc_external("DM/DMLocalizeCoordinate")) """ function DMLocalizeCoordinate(petsclib::PetscLibType, dm::AbstractPetscDM, in::AbstractVector{<:Number}, endpoint::PetscBool, out::AbstractVector{<:Number}) - error("DMLocalizeCoordinate: no generated method for these argument types") + throw(MethodError(DMLocalizeCoordinate, (petsclib, dm, in, endpoint, out))) end @for_petsc function DMLocalizeCoordinate(petsclib::$UnionPetscLib, dm::AbstractPetscDM, in::Vector{$PetscScalar}, endpoint::PetscBool, out::Vector{$PetscScalar} ) @@ -14645,7 +14645,7 @@ See also: `DM`, `DMSetPeriodicity()`, `DMLocalizeCoordinate()`, `DMLocalizeAddCo $(_doc_external("DM/DMLocalizeCoordinates")) """ function DMLocalizeCoordinates(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMLocalizeCoordinates: no generated method for these argument types") + throw(MethodError(DMLocalizeCoordinates, (petsclib, dm))) end @for_petsc function DMLocalizeCoordinates(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -14684,7 +14684,7 @@ See also: `DM`, `DMSetCoordinates()`, `DMSetCoordinatesLocal()`, `DMGetCoordinat $(_doc_external("DM/DMLocatePoints")) """ function DMLocatePoints(petsclib::PetscLibType, dm::AbstractPetscDM, v::AbstractPetscVec, ltype::DMPoCintLocationType, cellSF::PetscSF) - error("DMLocatePoints: no generated method for these argument types") + throw(MethodError(DMLocatePoints, (petsclib, dm, v, ltype, cellSF))) end @for_petsc function DMLocatePoints(petsclib::$UnionPetscLib, dm::AbstractPetscDM, v::AbstractPetscVec, ltype::DMPoCintLocationType, cellSF::PetscSF ) @@ -14707,7 +14707,7 @@ end $(_doc_external("DM/DMMoabCheckBoundaryVertices")) """ function DMMoabCheckBoundaryVertices(petsclib::PetscLibType, dm::AbstractPetscDM, nconn::Integer, cnt::moab_EntityHandle) - error("DMMoabCheckBoundaryVertices: no generated method for these argument types") + throw(MethodError(DMMoabCheckBoundaryVertices, (petsclib, dm, nconn, cnt))) end @for_petsc function DMMoabCheckBoundaryVertices(petsclib::$UnionPetscLib, dm::AbstractPetscDM, nconn::$PetscInt, cnt::moab_EntityHandle ) @@ -14732,7 +14732,7 @@ end $(_doc_external("DM/DMMoabCreate")) """ function DMMoabCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("DMMoabCreate: no generated method for these argument types") + throw(MethodError(DMMoabCreate, (petsclib, comm))) end @for_petsc function DMMoabCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -14757,7 +14757,7 @@ end $(_doc_external("DM/DMMoabCreateBoxMesh")) """ function DMMoabCreateBoxMesh(petsclib::PetscLibType, comm::MPI_Comm, dim::Integer, useSimplex::PetscBool, nele::Integer, nghost::Integer) - error("DMMoabCreateBoxMesh: no generated method for these argument types") + throw(MethodError(DMMoabCreateBoxMesh, (petsclib, comm, dim, useSimplex, nele, nghost))) end @for_petsc function DMMoabCreateBoxMesh(petsclib::$UnionPetscLib, comm::MPI_Comm, dim::$PetscInt, useSimplex::PetscBool, nele::$PetscInt, nghost::$PetscInt ) @@ -14784,7 +14784,7 @@ end $(_doc_external("DM/DMMoabCreateElement")) """ function DMMoabCreateElement(petsclib::PetscLibType, dm::AbstractPetscDM, type::moab_EntityType, nverts::Integer) - error("DMMoabCreateElement: no generated method for these argument types") + throw(MethodError(DMMoabCreateElement, (petsclib, dm, type, nverts))) end @for_petsc function DMMoabCreateElement(petsclib::$UnionPetscLib, dm::AbstractPetscDM, type::moab_EntityType, nverts::$PetscInt ) @@ -14811,7 +14811,7 @@ end $(_doc_external("DM/DMMoabCreateMoab")) """ function DMMoabCreateMoab(petsclib::PetscLibType, comm::MPI_Comm) - error("DMMoabCreateMoab: no generated method for these argument types") + throw(MethodError(DMMoabCreateMoab, (petsclib, comm))) end @for_petsc function DMMoabCreateMoab(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -14842,7 +14842,7 @@ end $(_doc_external("DM/DMMoabCreateSubmesh")) """ function DMMoabCreateSubmesh(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMMoabCreateSubmesh: no generated method for these argument types") + throw(MethodError(DMMoabCreateSubmesh, (petsclib, dm))) end @for_petsc function DMMoabCreateSubmesh(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -14867,7 +14867,7 @@ end $(_doc_external("DM/DMMoabCreateVector")) """ function DMMoabCreateVector(petsclib::PetscLibType, dm::AbstractPetscDM, tag::moab_Tag, is_global_vec::PetscBool, destroy_tag::PetscBool) - error("DMMoabCreateVector: no generated method for these argument types") + throw(MethodError(DMMoabCreateVector, (petsclib, dm, tag, is_global_vec, destroy_tag))) end @for_petsc function DMMoabCreateVector(petsclib::$UnionPetscLib, dm::AbstractPetscDM, tag::moab_Tag, is_global_vec::PetscBool, destroy_tag::PetscBool ) @@ -14894,7 +14894,7 @@ end $(_doc_external("DM/DMMoabCreateVertices")) """ function DMMoabCreateVertices(petsclib::PetscLibType, dm::AbstractPetscDM, nverts::Integer) - error("DMMoabCreateVertices: no generated method for these argument types") + throw(MethodError(DMMoabCreateVertices, (petsclib, dm, nverts))) end @for_petsc function DMMoabCreateVertices(petsclib::$UnionPetscLib, dm::AbstractPetscDM, nverts::$PetscInt ) @@ -14921,7 +14921,7 @@ end $(_doc_external("DM/DMMoabFEMComputeBasis")) """ function DMMoabFEMComputeBasis(petsclib::PetscLibType, dim::Integer, nverts::Integer, quadrature::PetscQuadrature, fe_basis_derivatives::Real) - error("DMMoabFEMComputeBasis: no generated method for these argument types") + throw(MethodError(DMMoabFEMComputeBasis, (petsclib, dim, nverts, quadrature, fe_basis_derivatives))) end @for_petsc function DMMoabFEMComputeBasis(petsclib::$UnionPetscLib, dim::$PetscInt, nverts::$PetscInt, quadrature::PetscQuadrature, fe_basis_derivatives::$PetscReal ) @@ -14952,7 +14952,7 @@ end $(_doc_external("DM/DMMoabFEMCreateQuadratureDefault")) """ function DMMoabFEMCreateQuadratureDefault(petsclib::PetscLibType, dim::Integer, nverts::Integer) - error("DMMoabFEMCreateQuadratureDefault: no generated method for these argument types") + throw(MethodError(DMMoabFEMCreateQuadratureDefault, (petsclib, dim, nverts))) end @for_petsc function DMMoabFEMCreateQuadratureDefault(petsclib::$UnionPetscLib, dim::$PetscInt, nverts::$PetscInt ) @@ -14977,7 +14977,7 @@ end $(_doc_external("DM/DMMoabGenerateHierarchy")) """ function DMMoabGenerateHierarchy(petsclib::PetscLibType, dm::AbstractPetscDM, nlevels::Integer) - error("DMMoabGenerateHierarchy: no generated method for these argument types") + throw(MethodError(DMMoabGenerateHierarchy, (petsclib, dm, nlevels))) end @for_petsc function DMMoabGenerateHierarchy(petsclib::$UnionPetscLib, dm::AbstractPetscDM, nlevels::$PetscInt ) @@ -15002,7 +15002,7 @@ end $(_doc_external("DM/DMMoabGetAllVertices")) """ function DMMoabGetAllVertices(petsclib::PetscLibType, dm::AbstractPetscDM, loc::moab_Range) - error("DMMoabGetAllVertices: no generated method for these argument types") + throw(MethodError(DMMoabGetAllVertices, (petsclib, dm, loc))) end @for_petsc function DMMoabGetAllVertices(petsclib::$UnionPetscLib, dm::AbstractPetscDM, loc::moab_Range ) @@ -15025,7 +15025,7 @@ end $(_doc_external("DM/DMMoabGetBlockSize")) """ function DMMoabGetBlockSize(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMMoabGetBlockSize: no generated method for these argument types") + throw(MethodError(DMMoabGetBlockSize, (petsclib, dm))) end @for_petsc function DMMoabGetBlockSize(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -15050,7 +15050,7 @@ end $(_doc_external("DM/DMMoabGetBoundaryMarkers")) """ function DMMoabGetBoundaryMarkers(petsclib::PetscLibType, dm::AbstractPetscDM, bdvtx::moab_Range, bdelems::moab_Range, bdfaces::moab_Range) - error("DMMoabGetBoundaryMarkers: no generated method for these argument types") + throw(MethodError(DMMoabGetBoundaryMarkers, (petsclib, dm, bdvtx, bdelems, bdfaces))) end @for_petsc function DMMoabGetBoundaryMarkers(petsclib::$UnionPetscLib, dm::AbstractPetscDM, bdvtx::moab_Range, bdelems::moab_Range, bdfaces::moab_Range ) @@ -15073,7 +15073,7 @@ end $(_doc_external("DM/DMMoabGetDimension")) """ function DMMoabGetDimension(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMMoabGetDimension: no generated method for these argument types") + throw(MethodError(DMMoabGetDimension, (petsclib, dm))) end @for_petsc function DMMoabGetDimension(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -15098,7 +15098,7 @@ end $(_doc_external("DM/DMMoabGetDofs")) """ function DMMoabGetDofs(petsclib::PetscLibType, dm::AbstractPetscDM, npoints::Integer, points::moab_EntityHandle) - error("DMMoabGetDofs: no generated method for these argument types") + throw(MethodError(DMMoabGetDofs, (petsclib, dm, npoints, points))) end @for_petsc function DMMoabGetDofs(petsclib::$UnionPetscLib, dm::AbstractPetscDM, npoints::$PetscInt, points::moab_EntityHandle ) @@ -15123,7 +15123,7 @@ end $(_doc_external("DM/DMMoabGetDofsBlocked")) """ function DMMoabGetDofsBlocked(petsclib::PetscLibType, dm::AbstractPetscDM, npoints::Integer, points::moab_EntityHandle) - error("DMMoabGetDofsBlocked: no generated method for these argument types") + throw(MethodError(DMMoabGetDofsBlocked, (petsclib, dm, npoints, points))) end @for_petsc function DMMoabGetDofsBlocked(petsclib::$UnionPetscLib, dm::AbstractPetscDM, npoints::$PetscInt, points::moab_EntityHandle ) @@ -15148,7 +15148,7 @@ end $(_doc_external("DM/DMMoabGetDofsBlockedLocal")) """ function DMMoabGetDofsBlockedLocal(petsclib::PetscLibType, dm::AbstractPetscDM, npoints::Integer, points::moab_EntityHandle) - error("DMMoabGetDofsBlockedLocal: no generated method for these argument types") + throw(MethodError(DMMoabGetDofsBlockedLocal, (petsclib, dm, npoints, points))) end @for_petsc function DMMoabGetDofsBlockedLocal(petsclib::$UnionPetscLib, dm::AbstractPetscDM, npoints::$PetscInt, points::moab_EntityHandle ) @@ -15173,7 +15173,7 @@ end $(_doc_external("DM/DMMoabGetDofsLocal")) """ function DMMoabGetDofsLocal(petsclib::PetscLibType, dm::AbstractPetscDM, npoints::Integer, points::moab_EntityHandle) - error("DMMoabGetDofsLocal: no generated method for these argument types") + throw(MethodError(DMMoabGetDofsLocal, (petsclib, dm, npoints, points))) end @for_petsc function DMMoabGetDofsLocal(petsclib::$UnionPetscLib, dm::AbstractPetscDM, npoints::$PetscInt, points::moab_EntityHandle ) @@ -15198,7 +15198,7 @@ end $(_doc_external("DM/DMMoabGetElementConnectivity")) """ function DMMoabGetElementConnectivity(petsclib::PetscLibType, dm::AbstractPetscDM, ehandle::moab_EntityHandle, conn::moab_EntityHandle) - error("DMMoabGetElementConnectivity: no generated method for these argument types") + throw(MethodError(DMMoabGetElementConnectivity, (petsclib, dm, ehandle, conn))) end @for_petsc function DMMoabGetElementConnectivity(petsclib::$UnionPetscLib, dm::AbstractPetscDM, ehandle::moab_EntityHandle, conn::moab_EntityHandle ) @@ -15223,7 +15223,7 @@ end $(_doc_external("DM/DMMoabGetFieldDof")) """ function DMMoabGetFieldDof(petsclib::PetscLibType, dm::AbstractPetscDM, point::moab_EntityHandle, field::Integer) - error("DMMoabGetFieldDof: no generated method for these argument types") + throw(MethodError(DMMoabGetFieldDof, (petsclib, dm, point, field))) end @for_petsc function DMMoabGetFieldDof(petsclib::$UnionPetscLib, dm::AbstractPetscDM, point::moab_EntityHandle, field::$PetscInt ) @@ -15248,7 +15248,7 @@ end $(_doc_external("DM/DMMoabGetFieldDofs")) """ function DMMoabGetFieldDofs(petsclib::PetscLibType, dm::AbstractPetscDM, npoints::Integer, points::moab_EntityHandle, field::Integer) - error("DMMoabGetFieldDofs: no generated method for these argument types") + throw(MethodError(DMMoabGetFieldDofs, (petsclib, dm, npoints, points, field))) end @for_petsc function DMMoabGetFieldDofs(petsclib::$UnionPetscLib, dm::AbstractPetscDM, npoints::$PetscInt, points::moab_EntityHandle, field::$PetscInt ) @@ -15273,7 +15273,7 @@ end $(_doc_external("DM/DMMoabGetFieldDofsLocal")) """ function DMMoabGetFieldDofsLocal(petsclib::PetscLibType, dm::AbstractPetscDM, npoints::Integer, points::moab_EntityHandle, field::Integer) - error("DMMoabGetFieldDofsLocal: no generated method for these argument types") + throw(MethodError(DMMoabGetFieldDofsLocal, (petsclib, dm, npoints, points, field))) end @for_petsc function DMMoabGetFieldDofsLocal(petsclib::$UnionPetscLib, dm::AbstractPetscDM, npoints::$PetscInt, points::moab_EntityHandle, field::$PetscInt ) @@ -15298,7 +15298,7 @@ end $(_doc_external("DM/DMMoabGetFieldName")) """ function DMMoabGetFieldName(petsclib::PetscLibType, dm::AbstractPetscDM, field::Integer, fieldName::String) - error("DMMoabGetFieldName: no generated method for these argument types") + throw(MethodError(DMMoabGetFieldName, (petsclib, dm, field, fieldName))) end @for_petsc function DMMoabGetFieldName(petsclib::$UnionPetscLib, dm::AbstractPetscDM, field::$PetscInt, fieldName::String ) @@ -15322,7 +15322,7 @@ end $(_doc_external("DM/DMMoabGetHierarchyLevel")) """ function DMMoabGetHierarchyLevel(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMMoabGetHierarchyLevel: no generated method for these argument types") + throw(MethodError(DMMoabGetHierarchyLevel, (petsclib, dm))) end @for_petsc function DMMoabGetHierarchyLevel(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -15347,7 +15347,7 @@ end $(_doc_external("DM/DMMoabGetInterface")) """ function DMMoabGetInterface(petsclib::PetscLibType, dm::AbstractPetscDM, mbiface::moab_Interface) - error("DMMoabGetInterface: no generated method for these argument types") + throw(MethodError(DMMoabGetInterface, (petsclib, dm, mbiface))) end @for_petsc function DMMoabGetInterface(petsclib::$UnionPetscLib, dm::AbstractPetscDM, mbiface::moab_Interface ) @@ -15370,7 +15370,7 @@ end $(_doc_external("DM/DMMoabGetLocalElements")) """ function DMMoabGetLocalElements(petsclib::PetscLibType, dm::AbstractPetscDM, range::moab_Range) - error("DMMoabGetLocalElements: no generated method for these argument types") + throw(MethodError(DMMoabGetLocalElements, (petsclib, dm, range))) end @for_petsc function DMMoabGetLocalElements(petsclib::$UnionPetscLib, dm::AbstractPetscDM, range::moab_Range ) @@ -15393,7 +15393,7 @@ end $(_doc_external("DM/DMMoabGetLocalSize")) """ function DMMoabGetLocalSize(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMMoabGetLocalSize: no generated method for these argument types") + throw(MethodError(DMMoabGetLocalSize, (petsclib, dm))) end @for_petsc function DMMoabGetLocalSize(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -15424,7 +15424,7 @@ end $(_doc_external("DM/DMMoabGetLocalToGlobalTag")) """ function DMMoabGetLocalToGlobalTag(petsclib::PetscLibType, dm::AbstractPetscDM, ltog_tag::moab_Tag) - error("DMMoabGetLocalToGlobalTag: no generated method for these argument types") + throw(MethodError(DMMoabGetLocalToGlobalTag, (petsclib, dm, ltog_tag))) end @for_petsc function DMMoabGetLocalToGlobalTag(petsclib::$UnionPetscLib, dm::AbstractPetscDM, ltog_tag::moab_Tag ) @@ -15447,7 +15447,7 @@ end $(_doc_external("DM/DMMoabGetLocalVertices")) """ function DMMoabGetLocalVertices(petsclib::PetscLibType, dm::AbstractPetscDM, owned::moab_Range, ghost::moab_Range) - error("DMMoabGetLocalVertices: no generated method for these argument types") + throw(MethodError(DMMoabGetLocalVertices, (petsclib, dm, owned, ghost))) end @for_petsc function DMMoabGetLocalVertices(petsclib::$UnionPetscLib, dm::AbstractPetscDM, owned::moab_Range, ghost::moab_Range ) @@ -15470,7 +15470,7 @@ end $(_doc_external("DM/DMMoabGetMaterialBlock")) """ function DMMoabGetMaterialBlock(petsclib::PetscLibType, dm::AbstractPetscDM, ehandle::moab_EntityHandle) - error("DMMoabGetMaterialBlock: no generated method for these argument types") + throw(MethodError(DMMoabGetMaterialBlock, (petsclib, dm, ehandle))) end @for_petsc function DMMoabGetMaterialBlock(petsclib::$UnionPetscLib, dm::AbstractPetscDM, ehandle::moab_EntityHandle ) @@ -15495,7 +15495,7 @@ end $(_doc_external("DM/DMMoabGetOffset")) """ function DMMoabGetOffset(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMMoabGetOffset: no generated method for these argument types") + throw(MethodError(DMMoabGetOffset, (petsclib, dm))) end @for_petsc function DMMoabGetOffset(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -15520,7 +15520,7 @@ end $(_doc_external("DM/DMMoabGetParallelComm")) """ function DMMoabGetParallelComm(petsclib::PetscLibType, dm::AbstractPetscDM, pcomm::moab_ParallelComm) - error("DMMoabGetParallelComm: no generated method for these argument types") + throw(MethodError(DMMoabGetParallelComm, (petsclib, dm, pcomm))) end @for_petsc function DMMoabGetParallelComm(petsclib::$UnionPetscLib, dm::AbstractPetscDM, pcomm::moab_ParallelComm ) @@ -15543,7 +15543,7 @@ end $(_doc_external("DM/DMMoabGetSize")) """ function DMMoabGetSize(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMMoabGetSize: no generated method for these argument types") + throw(MethodError(DMMoabGetSize, (petsclib, dm))) end @for_petsc function DMMoabGetSize(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -15570,7 +15570,7 @@ end $(_doc_external("DM/DMMoabGetVecRange")) """ function DMMoabGetVecRange(petsclib::PetscLibType, vec::AbstractPetscVec, range::moab_Range) - error("DMMoabGetVecRange: no generated method for these argument types") + throw(MethodError(DMMoabGetVecRange, (petsclib, vec, range))) end @for_petsc function DMMoabGetVecRange(petsclib::$UnionPetscLib, vec::AbstractPetscVec, range::moab_Range ) @@ -15593,7 +15593,7 @@ end $(_doc_external("DM/DMMoabGetVecTag")) """ function DMMoabGetVecTag(petsclib::PetscLibType, vec::AbstractPetscVec, tag::moab_Tag) - error("DMMoabGetVecTag: no generated method for these argument types") + throw(MethodError(DMMoabGetVecTag, (petsclib, vec, tag))) end @for_petsc function DMMoabGetVecTag(petsclib::$UnionPetscLib, vec::AbstractPetscVec, tag::moab_Tag ) @@ -15616,7 +15616,7 @@ end $(_doc_external("DM/DMMoabGetVertexConnectivity")) """ function DMMoabGetVertexConnectivity(petsclib::PetscLibType, dm::AbstractPetscDM, vhandle::moab_EntityHandle, conn::moab_EntityHandle) - error("DMMoabGetVertexConnectivity: no generated method for these argument types") + throw(MethodError(DMMoabGetVertexConnectivity, (petsclib, dm, vhandle, conn))) end @for_petsc function DMMoabGetVertexConnectivity(petsclib::$UnionPetscLib, dm::AbstractPetscDM, vhandle::moab_EntityHandle, conn::moab_EntityHandle ) @@ -15641,7 +15641,7 @@ end $(_doc_external("DM/DMMoabGetVertexCoordinates")) """ function DMMoabGetVertexCoordinates(petsclib::PetscLibType, dm::AbstractPetscDM, nconn::Integer, conn::moab_EntityHandle) - error("DMMoabGetVertexCoordinates: no generated method for these argument types") + throw(MethodError(DMMoabGetVertexCoordinates, (petsclib, dm, nconn, conn))) end @for_petsc function DMMoabGetVertexCoordinates(petsclib::$UnionPetscLib, dm::AbstractPetscDM, nconn::$PetscInt, conn::moab_EntityHandle ) @@ -15666,7 +15666,7 @@ end $(_doc_external("DM/DMMoabGetVertexDofsBlocked")) """ function DMMoabGetVertexDofsBlocked(petsclib::PetscLibType, dm::AbstractPetscDM, dof::Integer) - error("DMMoabGetVertexDofsBlocked: no generated method for these argument types") + throw(MethodError(DMMoabGetVertexDofsBlocked, (petsclib, dm, dof))) end @for_petsc function DMMoabGetVertexDofsBlocked(petsclib::$UnionPetscLib, dm::AbstractPetscDM, dof::$PetscInt ) @@ -15689,7 +15689,7 @@ end $(_doc_external("DM/DMMoabGetVertexDofsBlockedLocal")) """ function DMMoabGetVertexDofsBlockedLocal(petsclib::PetscLibType, dm::AbstractPetscDM, dof::Integer) - error("DMMoabGetVertexDofsBlockedLocal: no generated method for these argument types") + throw(MethodError(DMMoabGetVertexDofsBlockedLocal, (petsclib, dm, dof))) end @for_petsc function DMMoabGetVertexDofsBlockedLocal(petsclib::$UnionPetscLib, dm::AbstractPetscDM, dof::$PetscInt ) @@ -15712,7 +15712,7 @@ end $(_doc_external("DM/DMMoabIsEntityOnBoundary")) """ function DMMoabIsEntityOnBoundary(petsclib::PetscLibType, dm::AbstractPetscDM, ent::moab_EntityHandle) - error("DMMoabIsEntityOnBoundary: no generated method for these argument types") + throw(MethodError(DMMoabIsEntityOnBoundary, (petsclib, dm, ent))) end @for_petsc function DMMoabIsEntityOnBoundary(petsclib::$UnionPetscLib, dm::AbstractPetscDM, ent::moab_EntityHandle ) @@ -15737,7 +15737,7 @@ end $(_doc_external("DM/DMMoabLoadFromFile")) """ function DMMoabLoadFromFile(petsclib::PetscLibType, comm::MPI_Comm, dim::Integer, nghost::Integer, filename::String, usrreadopts::String, dm::AbstractPetscDM) - error("DMMoabLoadFromFile: no generated method for these argument types") + throw(MethodError(DMMoabLoadFromFile, (petsclib, comm, dim, nghost, filename, usrreadopts, dm))) end @for_petsc function DMMoabLoadFromFile(petsclib::$UnionPetscLib, comm::MPI_Comm, dim::$PetscInt, nghost::$PetscInt, filename::String, usrreadopts::String, dm::AbstractPetscDM ) @@ -15762,7 +15762,7 @@ end $(_doc_external("DM/DMMoabOutput")) """ function DMMoabOutput(petsclib::PetscLibType, dm::AbstractPetscDM, filename::String, usrwriteopts::String) - error("DMMoabOutput: no generated method for these argument types") + throw(MethodError(DMMoabOutput, (petsclib, dm, filename, usrwriteopts))) end @for_petsc function DMMoabOutput(petsclib::$UnionPetscLib, dm::AbstractPetscDM, filename::String, usrwriteopts::String ) @@ -15785,7 +15785,7 @@ end $(_doc_external("DM/DMMoabPToRMapping")) """ function DMMoabPToRMapping(petsclib::PetscLibType, dim::Integer, nverts::Integer) - error("DMMoabPToRMapping: no generated method for these argument types") + throw(MethodError(DMMoabPToRMapping, (petsclib, dim, nverts))) end @for_petsc function DMMoabPToRMapping(petsclib::$UnionPetscLib, dim::$PetscInt, nverts::$PetscInt ) @@ -15816,7 +15816,7 @@ end $(_doc_external("DM/DMMoabRenumberMeshEntities")) """ function DMMoabRenumberMeshEntities(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMMoabRenumberMeshEntities: no generated method for these argument types") + throw(MethodError(DMMoabRenumberMeshEntities, (petsclib, dm))) end @for_petsc function DMMoabRenumberMeshEntities(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -15839,7 +15839,7 @@ end $(_doc_external("DM/DMMoabRestoreVertexConnectivity")) """ function DMMoabRestoreVertexConnectivity(petsclib::PetscLibType, dm::AbstractPetscDM, ehandle::moab_EntityHandle, nconn::Integer, conn::moab_EntityHandle) - error("DMMoabRestoreVertexConnectivity: no generated method for these argument types") + throw(MethodError(DMMoabRestoreVertexConnectivity, (petsclib, dm, ehandle, nconn, conn))) end @for_petsc function DMMoabRestoreVertexConnectivity(petsclib::$UnionPetscLib, dm::AbstractPetscDM, ehandle::moab_EntityHandle, nconn::$PetscInt, conn::moab_EntityHandle ) @@ -15863,7 +15863,7 @@ end $(_doc_external("DM/DMMoabSetBlockFills")) """ function DMMoabSetBlockFills(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMMoabSetBlockFills: no generated method for these argument types") + throw(MethodError(DMMoabSetBlockFills, (petsclib, dm))) end @for_petsc function DMMoabSetBlockFills(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -15890,7 +15890,7 @@ end $(_doc_external("DM/DMMoabSetBlockSize")) """ function DMMoabSetBlockSize(petsclib::PetscLibType, dm::AbstractPetscDM, bs::Integer) - error("DMMoabSetBlockSize: no generated method for these argument types") + throw(MethodError(DMMoabSetBlockSize, (petsclib, dm, bs))) end @for_petsc function DMMoabSetBlockSize(petsclib::$UnionPetscLib, dm::AbstractPetscDM, bs::$PetscInt ) @@ -15913,7 +15913,7 @@ end $(_doc_external("DM/DMMoabSetFieldName")) """ function DMMoabSetFieldName(petsclib::PetscLibType, dm::AbstractPetscDM, field::Integer, fieldName::String) - error("DMMoabSetFieldName: no generated method for these argument types") + throw(MethodError(DMMoabSetFieldName, (petsclib, dm, field, fieldName))) end @for_petsc function DMMoabSetFieldName(petsclib::$UnionPetscLib, dm::AbstractPetscDM, field::$PetscInt, fieldName::String ) @@ -15936,7 +15936,7 @@ end $(_doc_external("DM/DMMoabSetFieldNames")) """ function DMMoabSetFieldNames(petsclib::PetscLibType, dm::AbstractPetscDM, numFields::Integer, fields::String) - error("DMMoabSetFieldNames: no generated method for these argument types") + throw(MethodError(DMMoabSetFieldNames, (petsclib, dm, numFields, fields))) end @for_petsc function DMMoabSetFieldNames(petsclib::$UnionPetscLib, dm::AbstractPetscDM, numFields::$PetscInt, fields::String ) @@ -15960,7 +15960,7 @@ end $(_doc_external("DM/DMMoabSetFieldVector")) """ function DMMoabSetFieldVector(petsclib::PetscLibType, dm::AbstractPetscDM, ifield::Integer, fvec::AbstractPetscVec) - error("DMMoabSetFieldVector: no generated method for these argument types") + throw(MethodError(DMMoabSetFieldVector, (petsclib, dm, ifield, fvec))) end @for_petsc function DMMoabSetFieldVector(petsclib::$UnionPetscLib, dm::AbstractPetscDM, ifield::$PetscInt, fvec::AbstractPetscVec ) @@ -15983,7 +15983,7 @@ end $(_doc_external("DM/DMMoabSetGlobalFieldVector")) """ function DMMoabSetGlobalFieldVector(petsclib::PetscLibType, dm::AbstractPetscDM, fvec::AbstractPetscVec) - error("DMMoabSetGlobalFieldVector: no generated method for these argument types") + throw(MethodError(DMMoabSetGlobalFieldVector, (petsclib, dm, fvec))) end @for_petsc function DMMoabSetGlobalFieldVector(petsclib::$UnionPetscLib, dm::AbstractPetscDM, fvec::AbstractPetscVec ) @@ -16006,7 +16006,7 @@ end $(_doc_external("DM/DMMoabSetInterface")) """ function DMMoabSetInterface(petsclib::PetscLibType, dm::AbstractPetscDM, mbiface::moab_Interface) - error("DMMoabSetInterface: no generated method for these argument types") + throw(MethodError(DMMoabSetInterface, (petsclib, dm, mbiface))) end @for_petsc function DMMoabSetInterface(petsclib::$UnionPetscLib, dm::AbstractPetscDM, mbiface::moab_Interface ) @@ -16029,7 +16029,7 @@ end $(_doc_external("DM/DMMoabSetLocalElements")) """ function DMMoabSetLocalElements(petsclib::PetscLibType, dm::AbstractPetscDM, range::moab_Range) - error("DMMoabSetLocalElements: no generated method for these argument types") + throw(MethodError(DMMoabSetLocalElements, (petsclib, dm, range))) end @for_petsc function DMMoabSetLocalElements(petsclib::$UnionPetscLib, dm::AbstractPetscDM, range::moab_Range ) @@ -16052,7 +16052,7 @@ end $(_doc_external("DM/DMMoabSetLocalToGlobalTag")) """ function DMMoabSetLocalToGlobalTag(petsclib::PetscLibType, dm::AbstractPetscDM, ltogtag::moab_Tag) - error("DMMoabSetLocalToGlobalTag: no generated method for these argument types") + throw(MethodError(DMMoabSetLocalToGlobalTag, (petsclib, dm, ltogtag))) end @for_petsc function DMMoabSetLocalToGlobalTag(petsclib::$UnionPetscLib, dm::AbstractPetscDM, ltogtag::moab_Tag ) @@ -16075,7 +16075,7 @@ end $(_doc_external("DM/DMMoabSetLocalVertices")) """ function DMMoabSetLocalVertices(petsclib::PetscLibType, dm::AbstractPetscDM, range::moab_Range) - error("DMMoabSetLocalVertices: no generated method for these argument types") + throw(MethodError(DMMoabSetLocalVertices, (petsclib, dm, range))) end @for_petsc function DMMoabSetLocalVertices(petsclib::$UnionPetscLib, dm::AbstractPetscDM, range::moab_Range ) @@ -16098,7 +16098,7 @@ end $(_doc_external("DM/DMMoabVecGetArray")) """ function DMMoabVecGetArray(petsclib::PetscLibType, dm::AbstractPetscDM, vec::AbstractPetscVec, array::Ptr{Cvoid}) - error("DMMoabVecGetArray: no generated method for these argument types") + throw(MethodError(DMMoabVecGetArray, (petsclib, dm, vec, array))) end @for_petsc function DMMoabVecGetArray(petsclib::$UnionPetscLib, dm::AbstractPetscDM, vec::AbstractPetscVec, array::Ptr{Cvoid} ) @@ -16121,7 +16121,7 @@ end $(_doc_external("DM/DMMoabVecGetArrayRead")) """ function DMMoabVecGetArrayRead(petsclib::PetscLibType, dm::AbstractPetscDM, vec::AbstractPetscVec, array::Ptr{Cvoid}) - error("DMMoabVecGetArrayRead: no generated method for these argument types") + throw(MethodError(DMMoabVecGetArrayRead, (petsclib, dm, vec, array))) end @for_petsc function DMMoabVecGetArrayRead(petsclib::$UnionPetscLib, dm::AbstractPetscDM, vec::AbstractPetscVec, array::Ptr{Cvoid} ) @@ -16144,7 +16144,7 @@ end $(_doc_external("DM/DMMoabVecRestoreArray")) """ function DMMoabVecRestoreArray(petsclib::PetscLibType, dm::AbstractPetscDM, vec::AbstractPetscVec, array::Ptr{Cvoid}) - error("DMMoabVecRestoreArray: no generated method for these argument types") + throw(MethodError(DMMoabVecRestoreArray, (petsclib, dm, vec, array))) end @for_petsc function DMMoabVecRestoreArray(petsclib::$UnionPetscLib, dm::AbstractPetscDM, vec::AbstractPetscVec, array::Ptr{Cvoid} ) @@ -16167,7 +16167,7 @@ end $(_doc_external("DM/DMMoabVecRestoreArrayRead")) """ function DMMoabVecRestoreArrayRead(petsclib::PetscLibType, dm::AbstractPetscDM, vec::AbstractPetscVec, array::Ptr{Cvoid}) - error("DMMoabVecRestoreArrayRead: no generated method for these argument types") + throw(MethodError(DMMoabVecRestoreArrayRead, (petsclib, dm, vec, array))) end @for_petsc function DMMoabVecRestoreArrayRead(petsclib::$UnionPetscLib, dm::AbstractPetscDM, vec::AbstractPetscVec, array::Ptr{Cvoid} ) @@ -16200,7 +16200,7 @@ See also: `DM`, `DMMonitorSet()`, `DMMonitorSetFromOptions()` $(_doc_external("DM/DMMonitor")) """ function DMMonitor(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMMonitor: no generated method for these argument types") + throw(MethodError(DMMonitor, (petsclib, dm))) end @for_petsc function DMMonitor(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -16238,7 +16238,7 @@ See also: `DM`, `DMMonitorSet()`, `DMMonitorSetFromOptions()`, `DMMonitor()` $(_doc_external("DM/DMMonitorCancel")) """ function DMMonitorCancel(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMMonitorCancel: no generated method for these argument types") + throw(MethodError(DMMonitorCancel, (petsclib, dm))) end @for_petsc function DMMonitorCancel(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -16278,7 +16278,7 @@ See also: `DM`, `DMMonitorCancel()`, `DMMonitorSetFromOptions()`, `DMMonitor()`, $(_doc_external("DM/DMMonitorSet")) """ function DMMonitorSet(petsclib::PetscLibType, dm::AbstractPetscDM, f::external, mctx::Ptr{Cvoid}, monitordestroy::Ptr{Cvoid}) - error("DMMonitorSet: no generated method for these argument types") + throw(MethodError(DMMonitorSet, (petsclib, dm, f, mctx, monitordestroy))) end @for_petsc function DMMonitorSet(petsclib::$UnionPetscLib, dm::AbstractPetscDM, f::external, mctx::Ptr{Cvoid}, monitordestroy::Ptr{Cvoid} ) @@ -16333,7 +16333,7 @@ See also: `DM`, `PetscOptionsCreateViewer()`, `PetscOptionsGetReal()`, `PetscOpt $(_doc_external("DM/DMMonitorSetFromOptions")) """ function DMMonitorSetFromOptions(petsclib::PetscLibType, dm::AbstractPetscDM, name::String, help::String, manual::String, monitor::external, monitorsetup::external) - error("DMMonitorSetFromOptions: no generated method for these argument types") + throw(MethodError(DMMonitorSetFromOptions, (petsclib, dm, name, help, manual, monitor, monitorsetup))) end @for_petsc function DMMonitorSetFromOptions(petsclib::$UnionPetscLib, dm::AbstractPetscDM, name::String, help::String, manual::String, monitor::external, monitorsetup::external ) @@ -16373,7 +16373,7 @@ See also: `DM`, `DMNETWORK`, `DMNetworkGetComponent()`, `DMNetworkGetSubnetwork( $(_doc_external("DMNetwork/DMNetworkAddComponent")) """ function DMNetworkAddComponent(petsclib::PetscLibType, dm::AbstractPetscDM, p::Integer, componentkey::Integer, compvalue::Ptr{Cvoid}, nvar::Integer) - error("DMNetworkAddComponent: no generated method for these argument types") + throw(MethodError(DMNetworkAddComponent, (petsclib, dm, p, componentkey, compvalue, nvar))) end @for_petsc function DMNetworkAddComponent(petsclib::$UnionPetscLib, dm::AbstractPetscDM, p::$PetscInt, componentkey::$PetscInt, compvalue::Ptr{Cvoid}, nvar::$PetscInt ) @@ -16411,7 +16411,7 @@ See also: `DM`, `DMNETWORK`, `DMNetworkCreate()`, `DMNetworkAddSubnetwork()`, `D $(_doc_external("DMNetwork/DMNetworkAddSharedVertices")) """ function DMNetworkAddSharedVertices(petsclib::PetscLibType, dm::AbstractPetscDM, anetnum::Integer, bnetnum::Integer, nsvtx::Integer, asvtx::AbstractVector{<:Number}, bsvtx::AbstractVector{<:Number}) - error("DMNetworkAddSharedVertices: no generated method for these argument types") + throw(MethodError(DMNetworkAddSharedVertices, (petsclib, dm, anetnum, bnetnum, nsvtx, asvtx, bsvtx))) end @for_petsc function DMNetworkAddSharedVertices(petsclib::$UnionPetscLib, dm::AbstractPetscDM, anetnum::$PetscInt, bnetnum::$PetscInt, nsvtx::$PetscInt, asvtx::Vector{$PetscInt}, bsvtx::Vector{$PetscInt} ) @@ -16451,7 +16451,7 @@ See also: `DM`, `DMNETWORK`, `DMNetworkCreate()`, `DMNetworkSetNumSubnetworks()` $(_doc_external("DMNetwork/DMNetworkAddSubnetwork")) """ function DMNetworkAddSubnetwork(petsclib::PetscLibType, dm::AbstractPetscDM, name::String, ne::Integer, edgelist::AbstractVector{<:Number}) - error("DMNetworkAddSubnetwork: no generated method for these argument types") + throw(MethodError(DMNetworkAddSubnetwork, (petsclib, dm, name, ne, edgelist))) end @for_petsc function DMNetworkAddSubnetwork(petsclib::$UnionPetscLib, dm::AbstractPetscDM, name::String, ne::$PetscInt, edgelist::Vector{$PetscInt} ) @@ -16486,7 +16486,7 @@ See also: `DMNetworkDistribute()` $(_doc_external("DMNetwork/DMNetworkAssembleGraphStructures")) """ function DMNetworkAssembleGraphStructures(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMNetworkAssembleGraphStructures: no generated method for these argument types") + throw(MethodError(DMNetworkAssembleGraphStructures, (petsclib, dm))) end @for_petsc function DMNetworkAssembleGraphStructures(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -16522,7 +16522,7 @@ See also: `DMCreate()` $(_doc_external("DMNetwork/DMNetworkCreate")) """ function DMNetworkCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("DMNetworkCreate: no generated method for these argument types") + throw(MethodError(DMNetworkCreate, (petsclib, comm))) end @for_petsc function DMNetworkCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -16565,7 +16565,7 @@ See also: `DM`, `DMNETWORK`, `DMNetworkCreate()`, `ISCreateGeneral()`, `DMNetwor $(_doc_external("DMNetwork/DMNetworkCreateIS")) """ function DMNetworkCreateIS(petsclib::PetscLibType, dm::AbstractPetscDM, numkeys::Integer, keys::AbstractVector{<:Number}, blocksize::AbstractVector{<:Number}, nselectedvar::AbstractVector{<:Number}, selectedvar::Union{Ptr, AbstractArray{<:Number}}) - error("DMNetworkCreateIS: no generated method for these argument types") + throw(MethodError(DMNetworkCreateIS, (petsclib, dm, numkeys, keys, blocksize, nselectedvar, selectedvar))) end @for_petsc function DMNetworkCreateIS(petsclib::$UnionPetscLib, dm::AbstractPetscDM, numkeys::$PetscInt, keys::Vector{$PetscInt}, blocksize::Vector{$PetscInt}, nselectedvar::Vector{$PetscInt}, selectedvar::Union{Ptr, AbstractArray{$PetscInt}} ) @@ -16609,7 +16609,7 @@ See also: `DM`, `DMNETWORK`, `DMNetworkCreate()`, `DMNetworkCreateIS()`, `ISCrea $(_doc_external("DMNetwork/DMNetworkCreateLocalIS")) """ function DMNetworkCreateLocalIS(petsclib::PetscLibType, dm::AbstractPetscDM, numkeys::Integer, keys::AbstractVector{<:Number}, blocksize::AbstractVector{<:Number}, nselectedvar::AbstractVector{<:Number}, selectedvar::Union{Ptr, AbstractArray{<:Number}}) - error("DMNetworkCreateLocalIS: no generated method for these argument types") + throw(MethodError(DMNetworkCreateLocalIS, (petsclib, dm, numkeys, keys, blocksize, nselectedvar, selectedvar))) end @for_petsc function DMNetworkCreateLocalIS(petsclib::$UnionPetscLib, dm::AbstractPetscDM, numkeys::$PetscInt, keys::Vector{$PetscInt}, blocksize::Vector{$PetscInt}, nselectedvar::Vector{$PetscInt}, selectedvar::Union{Ptr, AbstractArray{$PetscInt}} ) @@ -16655,7 +16655,7 @@ See also: `DM`, `DMNETWORK`, `DMNetworkCreate()` $(_doc_external("DMNetwork/DMNetworkDistribute")) """ function DMNetworkDistribute(petsclib::PetscLibType, dm::AbstractPetscDM, overlap::Integer) - error("DMNetworkDistribute: no generated method for these argument types") + throw(MethodError(DMNetworkDistribute, (petsclib, dm, overlap))) end @for_petsc function DMNetworkDistribute(petsclib::$UnionPetscLib, dm::AbstractPetscDM, overlap::$PetscInt ) @@ -16694,7 +16694,7 @@ See also: `DM`, `DMNETWORK`, `DMNetworkVertexSetMatrix()` $(_doc_external("DMNetwork/DMNetworkEdgeSetMatrix")) """ function DMNetworkEdgeSetMatrix(petsclib::PetscLibType, dm::AbstractPetscDM, p::Integer, J::Vector{<:AbstractPetscMat}) - error("DMNetworkEdgeSetMatrix: no generated method for these argument types") + throw(MethodError(DMNetworkEdgeSetMatrix, (petsclib, dm, p, J))) end @for_petsc function DMNetworkEdgeSetMatrix(petsclib::$UnionPetscLib, dm::AbstractPetscDM, p::$PetscInt, J::Vector{<:AbstractPetscMat} ) @@ -16728,7 +16728,7 @@ See also: `DM`, `DMNETWORK`, `DMNetworkAddComponent()`, `DMNetworkRegisterCompon $(_doc_external("DMNetwork/DMNetworkFinalizeComponents")) """ function DMNetworkFinalizeComponents(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMNetworkFinalizeComponents: no generated method for these argument types") + throw(MethodError(DMNetworkFinalizeComponents, (petsclib, dm))) end @for_petsc function DMNetworkFinalizeComponents(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -16768,7 +16768,7 @@ See also: `DM`, `DMNETWORK`, `DMNetworkAddComponent()`, `DMNetworkGetNumComponen $(_doc_external("DMNetwork/DMNetworkGetComponent")) """ function DMNetworkGetComponent(petsclib::PetscLibType, dm::AbstractPetscDM, p::Integer, compnum::Integer) - error("DMNetworkGetComponent: no generated method for these argument types") + throw(MethodError(DMNetworkGetComponent, (petsclib, dm, p, compnum))) end @for_petsc function DMNetworkGetComponent(petsclib::$UnionPetscLib, dm::AbstractPetscDM, p::$PetscInt, compnum::$PetscInt ) @@ -16811,7 +16811,7 @@ See also: `DM`, `DMNETWORK`, `DMNetworkCreate()`, `DMNetworkGetSupportingEdges() $(_doc_external("DMNetwork/DMNetworkGetConnectedVertices")) """ function DMNetworkGetConnectedVertices(petsclib::PetscLibType, dm::AbstractPetscDM, edge::Integer) - error("DMNetworkGetConnectedVertices: no generated method for these argument types") + throw(MethodError(DMNetworkGetConnectedVertices, (petsclib, dm, edge))) end @for_petsc function DMNetworkGetConnectedVertices(petsclib::$UnionPetscLib, dm::AbstractPetscDM, edge::$PetscInt ) @@ -16850,7 +16850,7 @@ See also: `DM`, `DMNETWORK`, `DMNetworkGetLocalVecOffset()`, `DMGetLocalVector() $(_doc_external("DMNetwork/DMNetworkGetEdgeOffset")) """ function DMNetworkGetEdgeOffset(petsclib::PetscLibType, dm::AbstractPetscDM, p::Integer) - error("DMNetworkGetEdgeOffset: no generated method for these argument types") + throw(MethodError(DMNetworkGetEdgeOffset, (petsclib, dm, p))) end @for_petsc function DMNetworkGetEdgeOffset(petsclib::$UnionPetscLib, dm::AbstractPetscDM, p::$PetscInt ) @@ -16889,7 +16889,7 @@ See also: `DM`, `DMNETWORK`, `DMNetworkGetVertexRange()`, `DMNetworkGetSubnetwor $(_doc_external("DMNetwork/DMNetworkGetEdgeRange")) """ function DMNetworkGetEdgeRange(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMNetworkGetEdgeRange: no generated method for these argument types") + throw(MethodError(DMNetworkGetEdgeRange, (petsclib, dm))) end @for_petsc function DMNetworkGetEdgeRange(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -16930,7 +16930,7 @@ See also: `DM`, `DMNETWORK`, `DMNetworkGetGlobalVertexIndex()` $(_doc_external("DMNetwork/DMNetworkGetGlobalEdgeIndex")) """ function DMNetworkGetGlobalEdgeIndex(petsclib::PetscLibType, dm::AbstractPetscDM, p::Integer) - error("DMNetworkGetGlobalEdgeIndex: no generated method for these argument types") + throw(MethodError(DMNetworkGetGlobalEdgeIndex, (petsclib, dm, p))) end @for_petsc function DMNetworkGetGlobalEdgeIndex(petsclib::$UnionPetscLib, dm::AbstractPetscDM, p::$PetscInt ) @@ -16970,7 +16970,7 @@ See also: `DM`, `DMNETWORK`, `DMNetworkGetLocalVecOffset()`, `DMGetGlobalVector( $(_doc_external("DMNetwork/DMNetworkGetGlobalVecOffset")) """ function DMNetworkGetGlobalVecOffset(petsclib::PetscLibType, dm::AbstractPetscDM, p::Integer, compnum::Integer) - error("DMNetworkGetGlobalVecOffset: no generated method for these argument types") + throw(MethodError(DMNetworkGetGlobalVecOffset, (petsclib, dm, p, compnum))) end @for_petsc function DMNetworkGetGlobalVecOffset(petsclib::$UnionPetscLib, dm::AbstractPetscDM, p::$PetscInt, compnum::$PetscInt ) @@ -17009,7 +17009,7 @@ See also: `DM`, `DMNETWORK`, `DMNetworkGetGlobalEdgeIndex()`, `DMNetworkGetLocal $(_doc_external("DMNetwork/DMNetworkGetGlobalVertexIndex")) """ function DMNetworkGetGlobalVertexIndex(petsclib::PetscLibType, dm::AbstractPetscDM, p::Integer) - error("DMNetworkGetGlobalVertexIndex: no generated method for these argument types") + throw(MethodError(DMNetworkGetGlobalVertexIndex, (petsclib, dm, p))) end @for_petsc function DMNetworkGetGlobalVertexIndex(petsclib::$UnionPetscLib, dm::AbstractPetscDM, p::$PetscInt ) @@ -17049,7 +17049,7 @@ See also: `DM`, `DMNETWORK`, `DMGetLocalVector()`, `DMNetworkGetComponent()`, `D $(_doc_external("DMNetwork/DMNetworkGetLocalVecOffset")) """ function DMNetworkGetLocalVecOffset(petsclib::PetscLibType, dm::AbstractPetscDM, p::Integer, compnum::Integer) - error("DMNetworkGetLocalVecOffset: no generated method for these argument types") + throw(MethodError(DMNetworkGetLocalVecOffset, (petsclib, dm, p, compnum))) end @for_petsc function DMNetworkGetLocalVecOffset(petsclib::$UnionPetscLib, dm::AbstractPetscDM, p::$PetscInt, compnum::$PetscInt ) @@ -17088,7 +17088,7 @@ See also: `DM`, `DMNETWORK`, `DMNetworkRegisterComponent()`, `DMNetworkAddCompon $(_doc_external("DMNetwork/DMNetworkGetNumComponents")) """ function DMNetworkGetNumComponents(petsclib::PetscLibType, dm::AbstractPetscDM, p::Integer) - error("DMNetworkGetNumComponents: no generated method for these argument types") + throw(MethodError(DMNetworkGetNumComponents, (petsclib, dm, p))) end @for_petsc function DMNetworkGetNumComponents(petsclib::$UnionPetscLib, dm::AbstractPetscDM, p::$PetscInt ) @@ -17127,7 +17127,7 @@ See also: `DM`, `DMNETWORK`, `DMNetworkGetNumVertices()` $(_doc_external("DMNetwork/DMNetworkGetNumEdges")) """ function DMNetworkGetNumEdges(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMNetworkGetNumEdges: no generated method for these argument types") + throw(MethodError(DMNetworkGetNumEdges, (petsclib, dm))) end @for_petsc function DMNetworkGetNumEdges(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -17168,7 +17168,7 @@ See also: `DM`, `DMNETWORK`, `DMNetworkCreate()`, `DMNetworkSetNumSubNetworks()` $(_doc_external("DMNetwork/DMNetworkGetNumSubNetworks")) """ function DMNetworkGetNumSubNetworks(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMNetworkGetNumSubNetworks: no generated method for these argument types") + throw(MethodError(DMNetworkGetNumSubNetworks, (petsclib, dm))) end @for_petsc function DMNetworkGetNumSubNetworks(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -17209,7 +17209,7 @@ See also: `DM`, `DMNETWORK`, `DMNetworkGetNumEdges()` $(_doc_external("DMNetwork/DMNetworkGetNumVertices")) """ function DMNetworkGetNumVertices(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMNetworkGetNumVertices: no generated method for these argument types") + throw(MethodError(DMNetworkGetNumVertices, (petsclib, dm))) end @for_petsc function DMNetworkGetNumVertices(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -17249,7 +17249,7 @@ See also: `DM`, `DMNETWORK`, `DMPLEX`, `DMNetworkCreate()` $(_doc_external("DMNetwork/DMNetworkGetPlex")) """ function DMNetworkGetPlex(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMNetworkGetPlex: no generated method for these argument types") + throw(MethodError(DMNetworkGetPlex, (petsclib, dm))) end @for_petsc function DMNetworkGetPlex(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -17288,7 +17288,7 @@ See also: `DM`, `DMNETWORK`, `DMNetworkGetSubnetwork()`, `DMNetworkLayoutSetUp() $(_doc_external("DMNetwork/DMNetworkGetSharedVertices")) """ function DMNetworkGetSharedVertices(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMNetworkGetSharedVertices: no generated method for these argument types") + throw(MethodError(DMNetworkGetSharedVertices, (petsclib, dm))) end @for_petsc function DMNetworkGetSharedVertices(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -17332,7 +17332,7 @@ See also: `DM`, `DMNETWORK`, `DMNetworkCreate()`, `DMNetworkAddSubnetwork()`, `D $(_doc_external("DMNetwork/DMNetworkGetSubnetwork")) """ function DMNetworkGetSubnetwork(petsclib::PetscLibType, dm::AbstractPetscDM, netnum::Integer) - error("DMNetworkGetSubnetwork: no generated method for these argument types") + throw(MethodError(DMNetworkGetSubnetwork, (petsclib, dm, netnum))) end @for_petsc function DMNetworkGetSubnetwork(petsclib::$UnionPetscLib, dm::AbstractPetscDM, netnum::$PetscInt ) @@ -17378,7 +17378,7 @@ See also: `DM`, `DMNETWORK`, `DMNetworkCreate()`, `DMNetworkGetConnectedVertices $(_doc_external("DMNetwork/DMNetworkGetSupportingEdges")) """ function DMNetworkGetSupportingEdges(petsclib::PetscLibType, dm::AbstractPetscDM, vertex::Integer) - error("DMNetworkGetSupportingEdges: no generated method for these argument types") + throw(MethodError(DMNetworkGetSupportingEdges, (petsclib, dm, vertex))) end @for_petsc function DMNetworkGetSupportingEdges(petsclib::$UnionPetscLib, dm::AbstractPetscDM, vertex::$PetscInt ) @@ -17419,7 +17419,7 @@ See also: `DM`, `DMNETWORK`, `DMNetworkSetVertexLocalToGlobalOrdering()` $(_doc_external("DMNetwork/DMNetworkGetVertexLocalToGlobalOrdering")) """ function DMNetworkGetVertexLocalToGlobalOrdering(petsclib::PetscLibType, dm::AbstractPetscDM, vloc::Integer) - error("DMNetworkGetVertexLocalToGlobalOrdering: no generated method for these argument types") + throw(MethodError(DMNetworkGetVertexLocalToGlobalOrdering, (petsclib, dm, vloc))) end @for_petsc function DMNetworkGetVertexLocalToGlobalOrdering(petsclib::$UnionPetscLib, dm::AbstractPetscDM, vloc::$PetscInt ) @@ -17458,7 +17458,7 @@ See also: `DM`, `DMNETWORK`, `DMNetworkGetEdgeOffset()`, `DMGetLocalVector()` $(_doc_external("DMNetwork/DMNetworkGetVertexOffset")) """ function DMNetworkGetVertexOffset(petsclib::PetscLibType, dm::AbstractPetscDM, p::Integer) - error("DMNetworkGetVertexOffset: no generated method for these argument types") + throw(MethodError(DMNetworkGetVertexOffset, (petsclib, dm, p))) end @for_petsc function DMNetworkGetVertexOffset(petsclib::$UnionPetscLib, dm::AbstractPetscDM, p::$PetscInt ) @@ -17497,7 +17497,7 @@ See also: `DM`, `DMNETWORK`, `DMNetworkGetEdgeRange()`, `DMNetworkGetSubnetwork( $(_doc_external("DMNetwork/DMNetworkGetVertexRange")) """ function DMNetworkGetVertexRange(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMNetworkGetVertexRange: no generated method for these argument types") + throw(MethodError(DMNetworkGetVertexRange, (petsclib, dm))) end @for_petsc function DMNetworkGetVertexRange(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -17537,7 +17537,7 @@ See also: `DMNetworkSetOption()` $(_doc_external("DMNetwork/DMNetworkHasJacobian")) """ function DMNetworkHasJacobian(petsclib::PetscLibType, dm::AbstractPetscDM, eflg::PetscBool, vflg::PetscBool) - error("DMNetworkHasJacobian: no generated method for these argument types") + throw(MethodError(DMNetworkHasJacobian, (petsclib, dm, eflg, vflg))) end @for_petsc function DMNetworkHasJacobian(petsclib::$UnionPetscLib, dm::AbstractPetscDM, eflg::PetscBool, vflg::PetscBool ) @@ -17574,7 +17574,7 @@ See also: `DM`, `DMNETWORK`, `DMNetworkGetConnectedVertices()`, `DMNetworkGetVer $(_doc_external("DMNetwork/DMNetworkIsGhostVertex")) """ function DMNetworkIsGhostVertex(petsclib::PetscLibType, dm::AbstractPetscDM, p::Integer) - error("DMNetworkIsGhostVertex: no generated method for these argument types") + throw(MethodError(DMNetworkIsGhostVertex, (petsclib, dm, p))) end @for_petsc function DMNetworkIsGhostVertex(petsclib::$UnionPetscLib, dm::AbstractPetscDM, p::$PetscInt ) @@ -17613,7 +17613,7 @@ See also: `DM`, `DMNETWORK`, `DMNetworkAddSharedVertices()`, `DMNetworkIsGhostVe $(_doc_external("DMNetwork/DMNetworkIsSharedVertex")) """ function DMNetworkIsSharedVertex(petsclib::PetscLibType, dm::AbstractPetscDM, p::Integer) - error("DMNetworkIsSharedVertex: no generated method for these argument types") + throw(MethodError(DMNetworkIsSharedVertex, (petsclib, dm, p))) end @for_petsc function DMNetworkIsSharedVertex(petsclib::$UnionPetscLib, dm::AbstractPetscDM, p::$PetscInt ) @@ -17648,7 +17648,7 @@ See also: `DM`, `DMNETWORK`, `DMNetworkSetNumSubNetworks()`, `DMNetworkAddSubnet $(_doc_external("DMNetwork/DMNetworkLayoutSetUp")) """ function DMNetworkLayoutSetUp(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMNetworkLayoutSetUp: no generated method for these argument types") + throw(MethodError(DMNetworkLayoutSetUp, (petsclib, dm))) end @for_petsc function DMNetworkLayoutSetUp(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -17686,7 +17686,7 @@ See also: `DM`, `DMNETWORK`, `DMNetworkCreate()`, `DMNetworkLayoutSetUp()` $(_doc_external("DMNetwork/DMNetworkRegisterComponent")) """ function DMNetworkRegisterComponent(petsclib::PetscLibType, dm::AbstractPetscDM, name::String, size::Csize_t) - error("DMNetworkRegisterComponent: no generated method for these argument types") + throw(MethodError(DMNetworkRegisterComponent, (petsclib, dm, name, size))) end @for_petsc function DMNetworkRegisterComponent(petsclib::$UnionPetscLib, dm::AbstractPetscDM, name::String, size::Csize_t ) @@ -17723,7 +17723,7 @@ See also: `DM`, `DMNETWORK`, `DMNetworkCreate()`, `DMNetworkGetNumSubNetworks()` $(_doc_external("DMNetwork/DMNetworkSetNumSubNetworks")) """ function DMNetworkSetNumSubNetworks(petsclib::PetscLibType, dm::AbstractPetscDM, nsubnet::Integer, M_Nsubnet::Integer) - error("DMNetworkSetNumSubNetworks: no generated method for these argument types") + throw(MethodError(DMNetworkSetNumSubNetworks, (petsclib, dm, nsubnet, M_Nsubnet))) end @for_petsc function DMNetworkSetNumSubNetworks(petsclib::$UnionPetscLib, dm::AbstractPetscDM, nsubnet::$PetscInt, M_Nsubnet::$PetscInt ) @@ -17756,7 +17756,7 @@ See also: `DM`, `DMNETWORK`, `DMNetworkGetGlobalVertexIndex()` $(_doc_external("DMNetwork/DMNetworkSetVertexLocalToGlobalOrdering")) """ function DMNetworkSetVertexLocalToGlobalOrdering(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMNetworkSetVertexLocalToGlobalOrdering: no generated method for these argument types") + throw(MethodError(DMNetworkSetVertexLocalToGlobalOrdering, (petsclib, dm))) end @for_petsc function DMNetworkSetVertexLocalToGlobalOrdering(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -17795,7 +17795,7 @@ See also: `DM`, `DMNETWORK`, `DMNetworkGetSharedVertices()` $(_doc_external("DMNetwork/DMNetworkSharedVertexGetInfo")) """ function DMNetworkSharedVertexGetInfo(petsclib::PetscLibType, dm::AbstractPetscDM, v::Integer) - error("DMNetworkSharedVertexGetInfo: no generated method for these argument types") + throw(MethodError(DMNetworkSharedVertexGetInfo, (petsclib, dm, v))) end @for_petsc function DMNetworkSharedVertexGetInfo(petsclib::$UnionPetscLib, dm::AbstractPetscDM, v::$PetscInt ) @@ -17839,7 +17839,7 @@ See also: `DM`, `DMNETWORK`, `DMNetworkEdgeSetMatrix()` $(_doc_external("DMNetwork/DMNetworkVertexSetMatrix")) """ function DMNetworkVertexSetMatrix(petsclib::PetscLibType, dm::AbstractPetscDM, p::Integer, J::Vector{<:AbstractPetscMat}) - error("DMNetworkVertexSetMatrix: no generated method for these argument types") + throw(MethodError(DMNetworkVertexSetMatrix, (petsclib, dm, p, J))) end @for_petsc function DMNetworkVertexSetMatrix(petsclib::$UnionPetscLib, dm::AbstractPetscDM, p::$PetscInt, J::Vector{<:AbstractPetscMat} ) @@ -17875,7 +17875,7 @@ See also: `DM`, `DMNETWORK`, `DMNetworkViewSetShowRanks()`, `DMNetworkViewSetSho $(_doc_external("DMNetwork/DMNetworkViewSetShowGlobal")) """ function DMNetworkViewSetShowGlobal(petsclib::PetscLibType, dm::AbstractPetscDM, showglobal::PetscBool) - error("DMNetworkViewSetShowGlobal: no generated method for these argument types") + throw(MethodError(DMNetworkViewSetShowGlobal, (petsclib, dm, showglobal))) end @for_petsc function DMNetworkViewSetShowGlobal(petsclib::$UnionPetscLib, dm::AbstractPetscDM, showglobal::PetscBool ) @@ -17911,7 +17911,7 @@ See also: `DM`, `DMNETWORK`, `DMNetworkViewSetShowRanks()`, `DMNetworkViewSetSho $(_doc_external("DMNetwork/DMNetworkViewSetShowNumbering")) """ function DMNetworkViewSetShowNumbering(petsclib::PetscLibType, dm::AbstractPetscDM, shownumbering::PetscBool) - error("DMNetworkViewSetShowNumbering: no generated method for these argument types") + throw(MethodError(DMNetworkViewSetShowNumbering, (petsclib, dm, shownumbering))) end @for_petsc function DMNetworkViewSetShowNumbering(petsclib::$UnionPetscLib, dm::AbstractPetscDM, shownumbering::PetscBool ) @@ -17947,7 +17947,7 @@ See also: `DM`, `DMNETWORK`, `DMNetworkViewSetShowGlobal()`, `DMNetworkViewSetSh $(_doc_external("DMNetwork/DMNetworkViewSetShowRanks")) """ function DMNetworkViewSetShowRanks(petsclib::PetscLibType, dm::AbstractPetscDM, showranks::PetscBool) - error("DMNetworkViewSetShowRanks: no generated method for these argument types") + throw(MethodError(DMNetworkViewSetShowRanks, (petsclib, dm, showranks))) end @for_petsc function DMNetworkViewSetShowRanks(petsclib::$UnionPetscLib, dm::AbstractPetscDM, showranks::PetscBool ) @@ -17983,7 +17983,7 @@ See also: `DM`, `DMNETWORK`, `DMNetworkViewSetShowRanks()`, `DMNetworkViewSetSho $(_doc_external("DMNetwork/DMNetworkViewSetShowVertices")) """ function DMNetworkViewSetShowVertices(petsclib::PetscLibType, dm::AbstractPetscDM, showvertices::PetscBool) - error("DMNetworkViewSetShowVertices: no generated method for these argument types") + throw(MethodError(DMNetworkViewSetShowVertices, (petsclib, dm, showvertices))) end @for_petsc function DMNetworkViewSetShowVertices(petsclib::$UnionPetscLib, dm::AbstractPetscDM, showvertices::PetscBool ) @@ -18019,7 +18019,7 @@ See also: `DM`, `DMNETWORK`, `DMNetworkViewSetShowRanks()`, `DMNetworkViewSetSho $(_doc_external("DMNetwork/DMNetworkViewSetViewRanks")) """ function DMNetworkViewSetViewRanks(petsclib::PetscLibType, dm::AbstractPetscDM, viewranks::AbstractIS) - error("DMNetworkViewSetViewRanks: no generated method for these argument types") + throw(MethodError(DMNetworkViewSetViewRanks, (petsclib, dm, viewranks))) end @for_petsc function DMNetworkViewSetViewRanks(petsclib::$UnionPetscLib, dm::AbstractPetscDM, viewranks::AbstractIS ) @@ -18056,7 +18056,7 @@ See also: `DM`, `DMGetOutputSequenceNumber()`, `DMSetOutputSequenceNumber()`, `V $(_doc_external("DM/DMOutputSequenceLoad")) """ function DMOutputSequenceLoad(petsclib::PetscLibType, dm::AbstractPetscDM, viewer::PetscViewer, name::String, num::Integer) - error("DMOutputSequenceLoad: no generated method for these argument types") + throw(MethodError(DMOutputSequenceLoad, (petsclib, dm, viewer, name, num))) end @for_petsc function DMOutputSequenceLoad(petsclib::$UnionPetscLib, dm::AbstractPetscDM, viewer::PetscViewer, name::String, num::$PetscInt ) @@ -18092,7 +18092,7 @@ See also: `DMPatchZoom()` $(_doc_external("DMPatch/DMPatchCreate")) """ function DMPatchCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("DMPatchCreate: no generated method for these argument types") + throw(MethodError(DMPatchCreate, (petsclib, comm))) end @for_petsc function DMPatchCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -18134,7 +18134,7 @@ See also: `DMPATCH`, `DMPatchCreate()`, `DMPatchSetPatchSize()`, `DMPatchSetComm $(_doc_external("DMPatch/DMPatchCreateGrid")) """ function DMPatchCreateGrid(petsclib::PetscLibType, comm::MPI_Comm, dim::Integer, patchSize::MatStencil, commSize::MatStencil, gridSize::MatStencil) - error("DMPatchCreateGrid: no generated method for these argument types") + throw(MethodError(DMPatchCreateGrid, (petsclib, comm, dim, patchSize, commSize, gridSize))) end @for_petsc function DMPatchCreateGrid(petsclib::$UnionPetscLib, comm::MPI_Comm, dim::$PetscInt, patchSize::MatStencil, commSize::MatStencil, gridSize::MatStencil ) @@ -18172,7 +18172,7 @@ See also: `DMPATCH`, `DMPatchCreate()`, `DMPatchZoom()` $(_doc_external("DMPatch/DMPatchGetCoarse")) """ function DMPatchGetCoarse(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPatchGetCoarse: no generated method for these argument types") + throw(MethodError(DMPatchGetCoarse, (petsclib, dm))) end @for_petsc function DMPatchGetCoarse(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -18210,7 +18210,7 @@ See also: `DMPATCH`, `DMPatchSetCommSize()`, `DMPatchGetPatchSize()`, `MatStenci $(_doc_external("DMPatch/DMPatchGetCommSize")) """ function DMPatchGetCommSize(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPatchGetCommSize: no generated method for these argument types") + throw(MethodError(DMPatchGetCommSize, (petsclib, dm))) end @for_petsc function DMPatchGetCommSize(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -18248,7 +18248,7 @@ See also: `DMPATCH`, `DMPatchSetPatchSize()`, `DMPatchGetCommSize()`, `MatStenci $(_doc_external("DMPatch/DMPatchGetPatchSize")) """ function DMPatchGetPatchSize(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPatchGetPatchSize: no generated method for these argument types") + throw(MethodError(DMPatchGetPatchSize, (petsclib, dm))) end @for_petsc function DMPatchGetPatchSize(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -18284,7 +18284,7 @@ See also: `DMPATCH`, `DMPatchGetCommSize()`, `DMPatchSetPatchSize()`, `MatStenci $(_doc_external("DMPatch/DMPatchSetCommSize")) """ function DMPatchSetCommSize(petsclib::PetscLibType, dm::AbstractPetscDM, commSize::MatStencil) - error("DMPatchSetCommSize: no generated method for these argument types") + throw(MethodError(DMPatchSetCommSize, (petsclib, dm, commSize))) end @for_petsc function DMPatchSetCommSize(petsclib::$UnionPetscLib, dm::AbstractPetscDM, commSize::MatStencil ) @@ -18318,7 +18318,7 @@ See also: `DMPATCH`, `DMPatchGetPatchSize()`, `DMPatchSetCommSize()`, `MatStenci $(_doc_external("DMPatch/DMPatchSetPatchSize")) """ function DMPatchSetPatchSize(petsclib::PetscLibType, dm::AbstractPetscDM, patchSize::MatStencil) - error("DMPatchSetPatchSize: no generated method for these argument types") + throw(MethodError(DMPatchSetPatchSize, (petsclib, dm, patchSize))) end @for_petsc function DMPatchSetPatchSize(petsclib::$UnionPetscLib, dm::AbstractPetscDM, patchSize::MatStencil ) @@ -18351,7 +18351,7 @@ See also: `DMPATCH`, `DMPatchZoom()`, `DMPatchGetCoarse()`, `DMPatchGetPatchSize $(_doc_external("DMPatch/DMPatchSolve")) """ function DMPatchSolve(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPatchSolve: no generated method for these argument types") + throw(MethodError(DMPatchSolve, (petsclib, dm))) end @for_petsc function DMPatchSolve(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -18392,7 +18392,7 @@ See also: `DMPatchSolve()`, `DMDACreatePatchIS()` $(_doc_external("DMPatch/DMPatchZoom")) """ function DMPatchZoom(petsclib::PetscLibType, dm::AbstractPetscDM, lower::MatStencil, upper::MatStencil, commz::MPI_Comm) - error("DMPatchZoom: no generated method for these argument types") + throw(MethodError(DMPatchZoom, (petsclib, dm, lower, upper, commz))) end @for_petsc function DMPatchZoom(petsclib::$UnionPetscLib, dm::AbstractPetscDM, lower::MatStencil, upper::MatStencil, commz::MPI_Comm ) @@ -18433,7 +18433,7 @@ See also: `DM`, `DMPLEX`, `DMPlexBuildCoordinatesFromCellListParallel()`, `DMPle $(_doc_external("DMPlex/DMPlexBuildCoordinatesFromCellList")) """ function DMPlexBuildCoordinatesFromCellList(petsclib::PetscLibType, dm::AbstractPetscDM, spaceDim::Integer, vertexCoords::AbstractVector{<:Number}) - error("DMPlexBuildCoordinatesFromCellList: no generated method for these argument types") + throw(MethodError(DMPlexBuildCoordinatesFromCellList, (petsclib, dm, spaceDim, vertexCoords))) end @for_petsc function DMPlexBuildCoordinatesFromCellList(petsclib::$UnionPetscLib, dm::AbstractPetscDM, spaceDim::$PetscInt, vertexCoords::Vector{$PetscReal} ) @@ -18469,7 +18469,7 @@ See also: `DM`, `DMPLEX`, `DMPlexBuildCoordinatesFromCellList()`, `DMPlexCreateF $(_doc_external("DMPlex/DMPlexBuildCoordinatesFromCellListParallel")) """ function DMPlexBuildCoordinatesFromCellListParallel(petsclib::PetscLibType, dm::AbstractPetscDM, spaceDim::Integer, sfVert::PetscSF, vertexCoords::AbstractVector{<:Number}) - error("DMPlexBuildCoordinatesFromCellListParallel: no generated method for these argument types") + throw(MethodError(DMPlexBuildCoordinatesFromCellListParallel, (petsclib, dm, spaceDim, sfVert, vertexCoords))) end @for_petsc function DMPlexBuildCoordinatesFromCellListParallel(petsclib::$UnionPetscLib, dm::AbstractPetscDM, spaceDim::$PetscInt, sfVert::PetscSF, vertexCoords::Vector{$PetscReal} ) @@ -18506,7 +18506,7 @@ See also: `DM`, `DMPLEX`, `DMPlexBuildFromCellListParallel()`, `DMPlexBuildCoord $(_doc_external("DMPlex/DMPlexBuildFromCellList")) """ function DMPlexBuildFromCellList(petsclib::PetscLibType, dm::AbstractPetscDM, numCells::Integer, numVertices::Integer, numCorners::Integer, cells::AbstractVector{<:Number}) - error("DMPlexBuildFromCellList: no generated method for these argument types") + throw(MethodError(DMPlexBuildFromCellList, (petsclib, dm, numCells, numVertices, numCorners, cells))) end @for_petsc function DMPlexBuildFromCellList(petsclib::$UnionPetscLib, dm::AbstractPetscDM, numCells::$PetscInt, numVertices::$PetscInt, numCorners::$PetscInt, cells::Vector{$PetscInt} ) @@ -18549,7 +18549,7 @@ See also: `DM`, `DMPLEX`, `DMPlexBuildFromCellList()`, `DMPlexCreateFromCellList $(_doc_external("DMPlex/DMPlexBuildFromCellListParallel")) """ function DMPlexBuildFromCellListParallel(petsclib::PetscLibType, dm::AbstractPetscDM, numCells::Integer, numVertices::Integer, NVertices::Integer, numCorners::Integer, cells::AbstractVector{<:Number}) - error("DMPlexBuildFromCellListParallel: no generated method for these argument types") + throw(MethodError(DMPlexBuildFromCellListParallel, (petsclib, dm, numCells, numVertices, NVertices, numCorners, cells))) end @for_petsc function DMPlexBuildFromCellListParallel(petsclib::$UnionPetscLib, dm::AbstractPetscDM, numCells::$PetscInt, numVertices::$PetscInt, NVertices::$PetscInt, numCorners::$PetscInt, cells::Vector{$PetscInt} ) @@ -18596,7 +18596,7 @@ See also: `DM`, `DMPLEX`, `DMPlexBuildFromCellListParallel()`, `DMPlexCreateFrom $(_doc_external("DMPlex/DMPlexBuildFromCellSectionParallel")) """ function DMPlexBuildFromCellSectionParallel(petsclib::PetscLibType, dm::AbstractPetscDM, numCells::Integer, numVertices::Integer, NVertices::Integer, cellSection::PetscSection, cells::AbstractVector{<:Number}) - error("DMPlexBuildFromCellSectionParallel: no generated method for these argument types") + throw(MethodError(DMPlexBuildFromCellSectionParallel, (petsclib, dm, numCells, numVertices, NVertices, cellSection, cells))) end @for_petsc function DMPlexBuildFromCellSectionParallel(petsclib::$UnionPetscLib, dm::AbstractPetscDM, numCells::$PetscInt, numVertices::$PetscInt, NVertices::$PetscInt, cellSection::PetscSection, cells::Vector{$PetscInt} ) @@ -18631,7 +18631,7 @@ See also: `DM`, `DMPLEX`, `DMCreate()`, `DMSetFromOptions()` $(_doc_external("DMPlex/DMPlexCheck")) """ function DMPlexCheck(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexCheck: no generated method for these argument types") + throw(MethodError(DMPlexCheck, (petsclib, dm))) end @for_petsc function DMPlexCheck(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -18666,7 +18666,7 @@ See also: `DM`, `DMPLEX`, `DMSetFromOptions()`, `DMPlexComputeOrthogonalQuality( $(_doc_external("DMPlex/DMPlexCheckCellShape")) """ function DMPlexCheckCellShape(petsclib::PetscLibType, dm::AbstractPetscDM, output::PetscBool, condLimit::Real) - error("DMPlexCheckCellShape: no generated method for these argument types") + throw(MethodError(DMPlexCheckCellShape, (petsclib, dm, output, condLimit))) end @for_petsc function DMPlexCheckCellShape(petsclib::$UnionPetscLib, dm::AbstractPetscDM, output::PetscBool, condLimit::$PetscReal ) @@ -18700,7 +18700,7 @@ See also: `DM`, `DMPLEX`, `DMCreate()`, `DMPlexGetVTKCellHeight()`, `DMSetFromOp $(_doc_external("DMPlex/DMPlexCheckFaces")) """ function DMPlexCheckFaces(petsclib::PetscLibType, dm::AbstractPetscDM, cellHeight::Integer) - error("DMPlexCheckFaces: no generated method for these argument types") + throw(MethodError(DMPlexCheckFaces, (petsclib, dm, cellHeight))) end @for_petsc function DMPlexCheckFaces(petsclib::$UnionPetscLib, dm::AbstractPetscDM, cellHeight::$PetscInt ) @@ -18731,7 +18731,7 @@ See also: `DM`, `DMPLEX`, `DMCreate()`, `DMSetFromOptions()` $(_doc_external("DMPlex/DMPlexCheckGeometry")) """ function DMPlexCheckGeometry(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexCheckGeometry: no generated method for these argument types") + throw(MethodError(DMPlexCheckGeometry, (petsclib, dm))) end @for_petsc function DMPlexCheckGeometry(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -18762,7 +18762,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetCone()`, `DMPlexGetConeSize()`, `DMGetPointS $(_doc_external("DMPlex/DMPlexCheckInterfaceCones")) """ function DMPlexCheckInterfaceCones(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexCheckInterfaceCones: no generated method for these argument types") + throw(MethodError(DMPlexCheckInterfaceCones, (petsclib, dm))) end @for_petsc function DMPlexCheckInterfaceCones(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -18795,7 +18795,7 @@ See also: `DM`, `DMPLEX`, `DMPlexCheck()`, `DMSetFromOptions()` $(_doc_external("DMPlex/DMPlexCheckOrphanVertices")) """ function DMPlexCheckOrphanVertices(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexCheckOrphanVertices: no generated method for these argument types") + throw(MethodError(DMPlexCheckOrphanVertices, (petsclib, dm))) end @for_petsc function DMPlexCheckOrphanVertices(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -18830,7 +18830,7 @@ See also: `DM`, `DMPLEX`, `DMGetPointSF()`, `DMSetFromOptions()` $(_doc_external("DMPlex/DMPlexCheckPointSF")) """ function DMPlexCheckPointSF(petsclib::PetscLibType, dm::AbstractPetscDM, pointSF::PetscSF, allowExtraRoots::PetscBool) - error("DMPlexCheckPointSF: no generated method for these argument types") + throw(MethodError(DMPlexCheckPointSF, (petsclib, dm, pointSF, allowExtraRoots))) end @for_petsc function DMPlexCheckPointSF(petsclib::$UnionPetscLib, dm::AbstractPetscDM, pointSF::PetscSF, allowExtraRoots::PetscBool ) @@ -18862,7 +18862,7 @@ See also: `DM`, `DMPLEX`, `DMCreate()`, `DMSetFromOptions()` $(_doc_external("DMPlex/DMPlexCheckSkeleton")) """ function DMPlexCheckSkeleton(petsclib::PetscLibType, dm::AbstractPetscDM, cellHeight::Integer) - error("DMPlexCheckSkeleton: no generated method for these argument types") + throw(MethodError(DMPlexCheckSkeleton, (petsclib, dm, cellHeight))) end @for_petsc function DMPlexCheckSkeleton(petsclib::$UnionPetscLib, dm::AbstractPetscDM, cellHeight::$PetscInt ) @@ -18893,7 +18893,7 @@ See also: `DM`, `DMPLEX`, `DMCreate()`, `DMSetFromOptions()` $(_doc_external("DMPlex/DMPlexCheckSymmetry")) """ function DMPlexCheckSymmetry(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexCheckSymmetry: no generated method for these argument types") + throw(MethodError(DMPlexCheckSymmetry, (petsclib, dm))) end @for_petsc function DMPlexCheckSymmetry(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -18933,7 +18933,7 @@ See also: `DM`, `DMPLEX`, `DMPlexComputeIntegralFEM()`, `DMPlexComputeBdResidual $(_doc_external("DMPlex/DMPlexComputeBdIntegral")) """ function DMPlexComputeBdIntegral(petsclib::PetscLibType, dm::AbstractPetscDM, X::AbstractPetscVec, label::DMLabel, numVals::Integer, vals::AbstractVector{<:Number}, noname::Ptr{Cvoid}) - error("DMPlexComputeBdIntegral: no generated method for these argument types") + throw(MethodError(DMPlexComputeBdIntegral, (petsclib, dm, X, label, numVals, vals, noname))) end @for_petsc function DMPlexComputeBdIntegral(petsclib::$UnionPetscLib, dm::AbstractPetscDM, X::AbstractPetscVec, label::DMLabel, numVals::$PetscInt, vals::Vector{$PetscInt}, noname::Ptr{Cvoid} ) @@ -18979,7 +18979,7 @@ See also: `DMPlexComputeBdJacobianSingleByLabel()`, `DMPlexComputeJacobianByKey( $(_doc_external("DMPlex/DMPlexComputeBdJacobianSingle")) """ function DMPlexComputeBdJacobianSingle(petsclib::PetscLibType, dm::AbstractPetscDM, wf::PetscWeakForm, label::DMLabel, numValues::Integer, values::AbstractVector{<:Number}, fieldI::Integer, locX::AbstractPetscVec, locX_t::AbstractPetscVec, t::Real, X_tShift::Real, Jac::AbstractPetscMat, JacP::AbstractPetscMat) - error("DMPlexComputeBdJacobianSingle: no generated method for these argument types") + throw(MethodError(DMPlexComputeBdJacobianSingle, (petsclib, dm, wf, label, numValues, values, fieldI, locX, locX_t, t, X_tShift, Jac, JacP))) end @for_petsc function DMPlexComputeBdJacobianSingle(petsclib::$UnionPetscLib, dm::AbstractPetscDM, wf::PetscWeakForm, label::DMLabel, numValues::$PetscInt, values::Vector{$PetscInt}, fieldI::$PetscInt, locX::AbstractPetscVec, locX_t::AbstractPetscVec, t::$PetscReal, X_tShift::$PetscReal, Jac::AbstractPetscMat, JacP::AbstractPetscMat ) @@ -19027,7 +19027,7 @@ See also: `DMPlexComputeBdJacobianSingle()`, `DMPlexComputeJacobianByKey()`, `DM $(_doc_external("DMPlex/DMPlexComputeBdJacobianSingleByLabel")) """ function DMPlexComputeBdJacobianSingleByLabel(petsclib::PetscLibType, dm::AbstractPetscDM, wf::PetscWeakForm, label::DMLabel, numValues::Integer, values::AbstractVector{<:Number}, fieldI::Integer, facetIS::AbstractIS, locX::AbstractPetscVec, locX_t::AbstractPetscVec, t::Real, coordField::DMField, X_tShift::Real, Jac::AbstractPetscMat, JacP::AbstractPetscMat) - error("DMPlexComputeBdJacobianSingleByLabel: no generated method for these argument types") + throw(MethodError(DMPlexComputeBdJacobianSingleByLabel, (petsclib, dm, wf, label, numValues, values, fieldI, facetIS, locX, locX_t, t, coordField, X_tShift, Jac, JacP))) end @for_petsc function DMPlexComputeBdJacobianSingleByLabel(petsclib::$UnionPetscLib, dm::AbstractPetscDM, wf::PetscWeakForm, label::DMLabel, numValues::$PetscInt, values::Vector{$PetscInt}, fieldI::$PetscInt, facetIS::AbstractIS, locX::AbstractPetscVec, locX_t::AbstractPetscVec, t::$PetscReal, coordField::DMField, X_tShift::$PetscReal, Jac::AbstractPetscMat, JacP::AbstractPetscMat ) @@ -19068,7 +19068,7 @@ See also: `DMPlexComputeBdResidualSingleByKey()`, `DMPlexComputeJacobianByKey()` $(_doc_external("DMPlex/DMPlexComputeBdResidualSingle")) """ function DMPlexComputeBdResidualSingle(petsclib::PetscLibType, dm::AbstractPetscDM, wf::PetscWeakForm, key::PetscFormKey, locX::AbstractPetscVec, locX_t::AbstractPetscVec, t::Real, locF::AbstractPetscVec) - error("DMPlexComputeBdResidualSingle: no generated method for these argument types") + throw(MethodError(DMPlexComputeBdResidualSingle, (petsclib, dm, wf, key, locX, locX_t, t, locF))) end @for_petsc function DMPlexComputeBdResidualSingle(petsclib::$UnionPetscLib, dm::AbstractPetscDM, wf::PetscWeakForm, key::PetscFormKey, locX::AbstractPetscVec, locX_t::AbstractPetscVec, t::$PetscReal, locF::AbstractPetscVec ) @@ -19111,7 +19111,7 @@ See also: `DMPlexComputeBdResidualSingle()`, `DMPlexComputeJacobianByKey()`, `DM $(_doc_external("DMPlex/DMPlexComputeBdResidualSingleByKey")) """ function DMPlexComputeBdResidualSingleByKey(petsclib::PetscLibType, dm::AbstractPetscDM, wf::PetscWeakForm, key::PetscFormKey, facetIS::AbstractIS, locX::AbstractPetscVec, locX_t::AbstractPetscVec, t::Real, coordField::DMField, locF::AbstractPetscVec) - error("DMPlexComputeBdResidualSingleByKey: no generated method for these argument types") + throw(MethodError(DMPlexComputeBdResidualSingleByKey, (petsclib, dm, wf, key, facetIS, locX, locX_t, t, coordField, locF))) end @for_petsc function DMPlexComputeBdResidualSingleByKey(petsclib::$UnionPetscLib, dm::AbstractPetscDM, wf::PetscWeakForm, key::PetscFormKey, facetIS::AbstractIS, locX::AbstractPetscVec, locX_t::AbstractPetscVec, t::$PetscReal, coordField::DMField, locF::AbstractPetscVec ) @@ -19151,7 +19151,7 @@ See also: `DMPLEX`, `DMPlexComputeCellGeometryFEM()`, `DMGetCoordinateSection()` $(_doc_external("DMPlex/DMPlexComputeCellGeometryAffineFEM")) """ function DMPlexComputeCellGeometryAffineFEM(petsclib::PetscLibType, dm::AbstractPetscDM, cell::Integer, v0::AbstractVector{<:Number}, J::AbstractVector{<:Number}, invJ::AbstractVector{<:Number}) - error("DMPlexComputeCellGeometryAffineFEM: no generated method for these argument types") + throw(MethodError(DMPlexComputeCellGeometryAffineFEM, (petsclib, dm, cell, v0, J, invJ))) end @for_petsc function DMPlexComputeCellGeometryAffineFEM(petsclib::$UnionPetscLib, dm::AbstractPetscDM, cell::$PetscInt, v0::Vector{$PetscReal}, J::Vector{$PetscReal}, invJ::Vector{$PetscReal} ) @@ -19198,7 +19198,7 @@ See also: `DMPLEX`, `DMGetCoordinateSection()`, `DMGetCoordinates()` $(_doc_external("DMPlex/DMPlexComputeCellGeometryFEM")) """ function DMPlexComputeCellGeometryFEM(petsclib::PetscLibType, dm::AbstractPetscDM, cell::Integer, quad::PetscQuadrature, v::AbstractVector{<:Number}, J::AbstractVector{<:Number}, invJ::AbstractVector{<:Number}, detJ::AbstractVector{<:Number}) - error("DMPlexComputeCellGeometryFEM: no generated method for these argument types") + throw(MethodError(DMPlexComputeCellGeometryFEM, (petsclib, dm, cell, quad, v, J, invJ, detJ))) end @for_petsc function DMPlexComputeCellGeometryFEM(petsclib::$UnionPetscLib, dm::AbstractPetscDM, cell::$PetscInt, quad::PetscQuadrature, v::Vector{$PetscReal}, J::Vector{$PetscReal}, invJ::Vector{$PetscReal}, detJ::Vector{$PetscReal} ) @@ -19237,7 +19237,7 @@ See also: `DMPLEX`, `DMGetCoordinateSection()`, `DMGetCoordinates()` $(_doc_external("DMPlex/DMPlexComputeCellGeometryFVM")) """ function DMPlexComputeCellGeometryFVM(petsclib::PetscLibType, dm::AbstractPetscDM, cell::Integer, centroid::AbstractVector{<:Number}, normal::AbstractVector{<:Number}) - error("DMPlexComputeCellGeometryFVM: no generated method for these argument types") + throw(MethodError(DMPlexComputeCellGeometryFVM, (petsclib, dm, cell, centroid, normal))) end @for_petsc function DMPlexComputeCellGeometryFVM(petsclib::$UnionPetscLib, dm::AbstractPetscDM, cell::$PetscInt, centroid::Vector{$PetscReal}, normal::Vector{$PetscReal} ) @@ -19272,7 +19272,7 @@ See also: `DM`, `DMPLEX`, `DMPlexCreate()`, `DMPlexSymmetrize()`, `DMPlexStratif $(_doc_external("DMPlex/DMPlexComputeCellTypes")) """ function DMPlexComputeCellTypes(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexComputeCellTypes: no generated method for these argument types") + throw(MethodError(DMPlexComputeCellTypes, (petsclib, dm))) end @for_petsc function DMPlexComputeCellTypes(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -19308,7 +19308,7 @@ See also: `DM`, `DMPLEX`, `DMPlexSNESComputeResidualFEM()` $(_doc_external("DMPlex/DMPlexComputeCellwiseIntegralFEM")) """ function DMPlexComputeCellwiseIntegralFEM(petsclib::PetscLibType, dm::AbstractPetscDM, X::AbstractPetscVec, F::AbstractPetscVec, ctx::Ptr{Cvoid}) - error("DMPlexComputeCellwiseIntegralFEM: no generated method for these argument types") + throw(MethodError(DMPlexComputeCellwiseIntegralFEM, (petsclib, dm, X, F, ctx))) end @for_petsc function DMPlexComputeCellwiseIntegralFEM(petsclib::$UnionPetscLib, dm::AbstractPetscDM, X::AbstractPetscVec, F::AbstractPetscVec, ctx::Ptr{Cvoid} ) @@ -19345,7 +19345,7 @@ See also: `DM`, `DMPLEX`, `DMProjectFunction()`, `DMComputeL2Diff()`, `DMPlexCom $(_doc_external("DMPlex/DMPlexComputeClementInterpolant")) """ function DMPlexComputeClementInterpolant(petsclib::PetscLibType, dm::AbstractPetscDM, locX::AbstractPetscVec, locC::AbstractPetscVec) - error("DMPlexComputeClementInterpolant: no generated method for these argument types") + throw(MethodError(DMPlexComputeClementInterpolant, (petsclib, dm, locX, locC))) end @for_petsc function DMPlexComputeClementInterpolant(petsclib::$UnionPetscLib, dm::AbstractPetscDM, locX::AbstractPetscVec, locC::AbstractPetscVec ) @@ -19380,7 +19380,7 @@ See also: `DMPLEX`, `PetscFVFaceGeom`, `PetscFVCellGeom` $(_doc_external("DMPlex/DMPlexComputeGeometryFVM")) """ function DMPlexComputeGeometryFVM(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexComputeGeometryFVM: no generated method for these argument types") + throw(MethodError(DMPlexComputeGeometryFVM, (petsclib, dm))) end @for_petsc function DMPlexComputeGeometryFVM(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -19421,7 +19421,7 @@ See also: `DM`, `DMPLEX`, `DMProjectFunction()`, `DMComputeL2Diff()`, `DMPlexCom $(_doc_external("DMPlex/DMPlexComputeGradientClementInterpolant")) """ function DMPlexComputeGradientClementInterpolant(petsclib::PetscLibType, dm::AbstractPetscDM, locX::AbstractPetscVec, locC::AbstractPetscVec) - error("DMPlexComputeGradientClementInterpolant: no generated method for these argument types") + throw(MethodError(DMPlexComputeGradientClementInterpolant, (petsclib, dm, locX, locC))) end @for_petsc function DMPlexComputeGradientClementInterpolant(petsclib::$UnionPetscLib, dm::AbstractPetscDM, locX::AbstractPetscVec, locC::AbstractPetscVec ) @@ -19463,7 +19463,7 @@ See also: `DMPLEX`, `DMPlexGetFaceGeometryFVM()`, `DMPlexGetCellGeometryFVM()` $(_doc_external("DMPlex/DMPlexComputeGradientFVM")) """ function DMPlexComputeGradientFVM(petsclib::PetscLibType, dm::AbstractPetscDM, fvm::PetscFV, faceGeometry::AbstractPetscVec, cellGeometry::AbstractPetscVec) - error("DMPlexComputeGradientFVM: no generated method for these argument types") + throw(MethodError(DMPlexComputeGradientFVM, (petsclib, dm, fvm, faceGeometry, cellGeometry))) end @for_petsc function DMPlexComputeGradientFVM(petsclib::$UnionPetscLib, dm::AbstractPetscDM, fvm::PetscFV, faceGeometry::AbstractPetscVec, cellGeometry::AbstractPetscVec ) @@ -19501,7 +19501,7 @@ See also: `DM`, `DMPLEX`, `DMPlexComputeInterpolatorNested()` $(_doc_external("DMPlex/DMPlexComputeInjectorFEM")) """ function DMPlexComputeInjectorFEM(petsclib::PetscLibType, dmc::AbstractPetscDM, dmf::AbstractPetscDM, ctx::Ptr{Cvoid}) - error("DMPlexComputeInjectorFEM: no generated method for these argument types") + throw(MethodError(DMPlexComputeInjectorFEM, (petsclib, dmc, dmf, ctx))) end @for_petsc function DMPlexComputeInjectorFEM(petsclib::$UnionPetscLib, dmc::AbstractPetscDM, dmf::AbstractPetscDM, ctx::Ptr{Cvoid} ) @@ -19539,7 +19539,7 @@ See also: `DM`, `DMPLEX`, `DMPlexSetReferenceTree()`, `DMPlexCreateDefaultRefere $(_doc_external("DMPlex/DMPlexComputeInjectorReferenceTree")) """ function DMPlexComputeInjectorReferenceTree(petsclib::PetscLibType, refTree::AbstractPetscDM) - error("DMPlexComputeInjectorReferenceTree: no generated method for these argument types") + throw(MethodError(DMPlexComputeInjectorReferenceTree, (petsclib, refTree))) end @for_petsc function DMPlexComputeInjectorReferenceTree(petsclib::$UnionPetscLib, refTree::AbstractPetscDM ) @@ -19577,7 +19577,7 @@ See also: `DM`, `DMPLEX`, `DMPlexSNESComputeResidualFEM()` $(_doc_external("DMPlex/DMPlexComputeIntegralFEM")) """ function DMPlexComputeIntegralFEM(petsclib::PetscLibType, dm::AbstractPetscDM, X::AbstractPetscVec, ctx::Ptr{Cvoid}) - error("DMPlexComputeIntegralFEM: no generated method for these argument types") + throw(MethodError(DMPlexComputeIntegralFEM, (petsclib, dm, X, ctx))) end @for_petsc function DMPlexComputeIntegralFEM(petsclib::$UnionPetscLib, dm::AbstractPetscDM, X::AbstractPetscVec, ctx::Ptr{Cvoid} ) @@ -19615,7 +19615,7 @@ See also: `DM`, `DMPLEX`, `DMPlexComputeInterpolatorNested()` $(_doc_external("DMPlex/DMPlexComputeInterpolatorGeneral")) """ function DMPlexComputeInterpolatorGeneral(petsclib::PetscLibType, dmc::AbstractPetscDM, dmf::AbstractPetscDM, In::AbstractPetscMat, ctx::Ptr{Cvoid}) - error("DMPlexComputeInterpolatorGeneral: no generated method for these argument types") + throw(MethodError(DMPlexComputeInterpolatorGeneral, (petsclib, dmc, dmf, In, ctx))) end @for_petsc function DMPlexComputeInterpolatorGeneral(petsclib::$UnionPetscLib, dmc::AbstractPetscDM, dmf::AbstractPetscDM, In::AbstractPetscMat, ctx::Ptr{Cvoid} ) @@ -19652,7 +19652,7 @@ See also: `DM`, `DMPLEX`, `DMPlexComputeInterpolatorGeneral()` $(_doc_external("DMPlex/DMPlexComputeInterpolatorNested")) """ function DMPlexComputeInterpolatorNested(petsclib::PetscLibType, dmc::AbstractPetscDM, dmf::AbstractPetscDM, isRefined::PetscBool, In::AbstractPetscMat, ctx::Ptr{Cvoid}) - error("DMPlexComputeInterpolatorNested: no generated method for these argument types") + throw(MethodError(DMPlexComputeInterpolatorNested, (petsclib, dmc, dmf, isRefined, In, ctx))) end @for_petsc function DMPlexComputeInterpolatorNested(petsclib::$UnionPetscLib, dmc::AbstractPetscDM, dmf::AbstractPetscDM, isRefined::PetscBool, In::AbstractPetscMat, ctx::Ptr{Cvoid} ) @@ -19696,7 +19696,7 @@ See also: `DMPlexComputeResidualByKey()`, `DMPlexComputeJacobianByKey()`, `DMPle $(_doc_external("DMPlex/DMPlexComputeJacobianActionByKey")) """ function DMPlexComputeJacobianActionByKey(petsclib::PetscLibType, dm::AbstractPetscDM, key::PetscFormKey, cellIS::AbstractIS, t::Real, X_tShift::Real, locX::AbstractPetscVec, locX_t::AbstractPetscVec, locY::AbstractPetscVec, locF::AbstractPetscVec, ctx::Ptr{Cvoid}) - error("DMPlexComputeJacobianActionByKey: no generated method for these argument types") + throw(MethodError(DMPlexComputeJacobianActionByKey, (petsclib, dm, key, cellIS, t, X_tShift, locX, locX_t, locY, locF, ctx))) end @for_petsc function DMPlexComputeJacobianActionByKey(petsclib::$UnionPetscLib, dm::AbstractPetscDM, key::PetscFormKey, cellIS::AbstractIS, t::$PetscReal, X_tShift::$PetscReal, locX::AbstractPetscVec, locX_t::AbstractPetscVec, locY::AbstractPetscVec, locF::AbstractPetscVec, ctx::Ptr{Cvoid} ) @@ -19740,7 +19740,7 @@ See also: `DMPlexComputeResidualByKey()`, `DMPlexComputeResidualHybridByKey()`, $(_doc_external("DMPlex/DMPlexComputeJacobianByKey")) """ function DMPlexComputeJacobianByKey(petsclib::PetscLibType, dm::AbstractPetscDM, key::PetscFormKey, cellIS::AbstractIS, t::Real, X_tShift::Real, locX::AbstractPetscVec, locX_t::AbstractPetscVec, Jac::AbstractPetscMat, JacP::AbstractPetscMat, ctx::Ptr{Cvoid}) - error("DMPlexComputeJacobianByKey: no generated method for these argument types") + throw(MethodError(DMPlexComputeJacobianByKey, (petsclib, dm, key, cellIS, t, X_tShift, locX, locX_t, Jac, JacP, ctx))) end @for_petsc function DMPlexComputeJacobianByKey(petsclib::$UnionPetscLib, dm::AbstractPetscDM, key::PetscFormKey, cellIS::AbstractIS, t::$PetscReal, X_tShift::$PetscReal, locX::AbstractPetscVec, locX_t::AbstractPetscVec, Jac::AbstractPetscMat, JacP::AbstractPetscMat, ctx::Ptr{Cvoid} ) @@ -19786,7 +19786,7 @@ See also: `DM`, `DMPLEX`, `PetscFormKey`, `DMPlexComputeJacobianByKey()`, `DMPle $(_doc_external("DMPlex/DMPlexComputeJacobianByKeyGeneral")) """ function DMPlexComputeJacobianByKeyGeneral(petsclib::PetscLibType, dmr::AbstractPetscDM, dmc::AbstractPetscDM, key::PetscFormKey, cellIS::AbstractIS, t::Real, X_tShift::Real, locX::AbstractPetscVec, locX_t::AbstractPetscVec, Jac::AbstractPetscMat, JacP::AbstractPetscMat, ctx::Ptr{Cvoid}) - error("DMPlexComputeJacobianByKeyGeneral: no generated method for these argument types") + throw(MethodError(DMPlexComputeJacobianByKeyGeneral, (petsclib, dmr, dmc, key, cellIS, t, X_tShift, locX, locX_t, Jac, JacP, ctx))) end @for_petsc function DMPlexComputeJacobianByKeyGeneral(petsclib::$UnionPetscLib, dmr::AbstractPetscDM, dmc::AbstractPetscDM, key::PetscFormKey, cellIS::AbstractIS, t::$PetscReal, X_tShift::$PetscReal, locX::AbstractPetscVec, locX_t::AbstractPetscVec, Jac::AbstractPetscMat, JacP::AbstractPetscMat, ctx::Ptr{Cvoid} ) @@ -19830,7 +19830,7 @@ See also: `DMPlexComputeResidualByKey()`, `DMPlexComputeJacobianByKey()`, `DMPle $(_doc_external("DMPlex/DMPlexComputeJacobianHybridByKey")) """ function DMPlexComputeJacobianHybridByKey(petsclib::PetscLibType, dm::AbstractPetscDM, key::Vector{PetscFormKey}, cellIS::AbstractIS, t::Real, X_tShift::Real, locX::AbstractPetscVec, locX_t::AbstractPetscVec, Jac::AbstractPetscMat, JacP::AbstractPetscMat, ctx::Ptr{Cvoid}) - error("DMPlexComputeJacobianHybridByKey: no generated method for these argument types") + throw(MethodError(DMPlexComputeJacobianHybridByKey, (petsclib, dm, key, cellIS, t, X_tShift, locX, locX_t, Jac, JacP, ctx))) end @for_petsc function DMPlexComputeJacobianHybridByKey(petsclib::$UnionPetscLib, dm::AbstractPetscDM, key::Vector{PetscFormKey}, cellIS::AbstractIS, t::$PetscReal, X_tShift::$PetscReal, locX::AbstractPetscVec, locX_t::AbstractPetscVec, Jac::AbstractPetscMat, JacP::AbstractPetscMat, ctx::Ptr{Cvoid} ) @@ -19870,7 +19870,7 @@ See also: `DM`, `DMPLEX`, `DMProjectFunction()`, `DMComputeL2FieldDiff()`, `DMCo $(_doc_external("DMPlex/DMPlexComputeL2DiffLocal")) """ function DMPlexComputeL2DiffLocal(petsclib::PetscLibType, dm::AbstractPetscDM, time::Real, noname::Ptr{Cvoid}) - error("DMPlexComputeL2DiffLocal: no generated method for these argument types") + throw(MethodError(DMPlexComputeL2DiffLocal, (petsclib, dm, time, noname))) end @for_petsc function DMPlexComputeL2DiffLocal(petsclib::$UnionPetscLib, dm::AbstractPetscDM, time::$PetscReal, noname::Ptr{Cvoid} ) @@ -19910,7 +19910,7 @@ See also: `DM`, `DMPLEX`, `DMProjectFunction()`, `DMComputeL2Diff()`, `DMPlexCom $(_doc_external("DMPlex/DMPlexComputeL2DiffVec")) """ function DMPlexComputeL2DiffVec(petsclib::PetscLibType, dm::AbstractPetscDM, time::Real, noname::Ptr{Cvoid}) - error("DMPlexComputeL2DiffVec: no generated method for these argument types") + throw(MethodError(DMPlexComputeL2DiffVec, (petsclib, dm, time, noname))) end @for_petsc function DMPlexComputeL2DiffVec(petsclib::$UnionPetscLib, dm::AbstractPetscDM, time::$PetscReal, noname::Ptr{Cvoid} ) @@ -19949,7 +19949,7 @@ See also: `DM`, `DMPLEX`, `DMPlexComputeL2FluxDiffVecLocal()`, `DMProjectFunctio $(_doc_external("DMPlex/DMPlexComputeL2FluxDiffVec")) """ function DMPlexComputeL2FluxDiffVec(petsclib::PetscLibType, u::AbstractPetscVec, f::Integer, mu::AbstractPetscVec, mf::Integer, eFlux::AbstractPetscVec) - error("DMPlexComputeL2FluxDiffVec: no generated method for these argument types") + throw(MethodError(DMPlexComputeL2FluxDiffVec, (petsclib, u, f, mu, mf, eFlux))) end @for_petsc function DMPlexComputeL2FluxDiffVec(petsclib::$UnionPetscLib, u::AbstractPetscVec, f::$PetscInt, mu::AbstractPetscVec, mf::$PetscInt, eFlux::AbstractPetscVec ) @@ -19988,7 +19988,7 @@ See also: `DM`, `DMPLEX`, `DMPlexComputeL2FluxDiffVec()`, `DMProjectFunction()`, $(_doc_external("DMPlex/DMPlexComputeL2FluxDiffVecLocal")) """ function DMPlexComputeL2FluxDiffVecLocal(petsclib::PetscLibType, lu::AbstractPetscVec, f::Integer, lmu::AbstractPetscVec, mf::Integer, eFlux::AbstractPetscVec) - error("DMPlexComputeL2FluxDiffVecLocal: no generated method for these argument types") + throw(MethodError(DMPlexComputeL2FluxDiffVecLocal, (petsclib, lu, f, lmu, mf, eFlux))) end @for_petsc function DMPlexComputeL2FluxDiffVecLocal(petsclib::$UnionPetscLib, lu::AbstractPetscVec, f::$PetscInt, lmu::AbstractPetscVec, mf::$PetscInt, eFlux::AbstractPetscVec ) @@ -20024,7 +20024,7 @@ See also: `DM`, `DMPLEX`, `DMPlexComputeMassMatrixNested()`, `DMPlexComputeInter $(_doc_external("DMPlex/DMPlexComputeMassMatrixGeneral")) """ function DMPlexComputeMassMatrixGeneral(petsclib::PetscLibType, dmc::AbstractPetscDM, dmf::AbstractPetscDM, mass::AbstractPetscMat, ctx::Ptr{Cvoid}) - error("DMPlexComputeMassMatrixGeneral: no generated method for these argument types") + throw(MethodError(DMPlexComputeMassMatrixGeneral, (petsclib, dmc, dmf, mass, ctx))) end @for_petsc function DMPlexComputeMassMatrixGeneral(petsclib::$UnionPetscLib, dmc::AbstractPetscDM, dmf::AbstractPetscDM, mass::AbstractPetscMat, ctx::Ptr{Cvoid} ) @@ -20062,7 +20062,7 @@ See also: `DM`, `DMPLEX`, `DMPlexComputeMassMatrixGeneral()`, `DMPlexComputeInte $(_doc_external("DMPlex/DMPlexComputeMassMatrixNested")) """ function DMPlexComputeMassMatrixNested(petsclib::PetscLibType, dmc::AbstractPetscDM, dmf::AbstractPetscDM, mass::AbstractPetscMat, ctx::Ptr{Cvoid}) - error("DMPlexComputeMassMatrixNested: no generated method for these argument types") + throw(MethodError(DMPlexComputeMassMatrixNested, (petsclib, dmc, dmf, mass, ctx))) end @for_petsc function DMPlexComputeMassMatrixNested(petsclib::$UnionPetscLib, dmc::AbstractPetscDM, dmf::AbstractPetscDM, mass::AbstractPetscMat, ctx::Ptr{Cvoid} ) @@ -20099,7 +20099,7 @@ See also: `DM`, `DMPLEX`, `DMSwarmComputeMoments()` $(_doc_external("DMPlex/DMPlexComputeMoments")) """ function DMPlexComputeMoments(petsclib::PetscLibType, dm::AbstractPetscDM, u::AbstractPetscVec, moments::AbstractVector{<:Number}) - error("DMPlexComputeMoments: no generated method for these argument types") + throw(MethodError(DMPlexComputeMoments, (petsclib, dm, u, moments))) end @for_petsc function DMPlexComputeMoments(petsclib::$UnionPetscLib, dm::AbstractPetscDM, u::AbstractPetscVec, moments::Vector{$PetscReal} ) @@ -20143,7 +20143,7 @@ See also: `DM`, `DMPLEX`, `DMPlexCheckCellShape()`, `DMCreateLabel()`, `PetscFV` $(_doc_external("DMPlex/DMPlexComputeOrthogonalQuality")) """ function DMPlexComputeOrthogonalQuality(petsclib::PetscLibType, dm::AbstractPetscDM, fv::PetscFV, atol::Real) - error("DMPlexComputeOrthogonalQuality: no generated method for these argument types") + throw(MethodError(DMPlexComputeOrthogonalQuality, (petsclib, dm, fv, atol))) end @for_petsc function DMPlexComputeOrthogonalQuality(petsclib::$UnionPetscLib, dm::AbstractPetscDM, fv::PetscFV, atol::$PetscReal ) @@ -20183,7 +20183,7 @@ See also: `DMPLEX`, `DMPlexComputeProjection3Dto1D()`, `DMPlexComputeProjection3 $(_doc_external("DMPlex/DMPlexComputeProjection2Dto1D")) """ function DMPlexComputeProjection2Dto1D(petsclib::PetscLibType, coords::AbstractVector{<:Number}, R::AbstractVector{<:Number}) - error("DMPlexComputeProjection2Dto1D: no generated method for these argument types") + throw(MethodError(DMPlexComputeProjection2Dto1D, (petsclib, coords, R))) end @for_petsc function DMPlexComputeProjection2Dto1D(petsclib::$UnionPetscLib, coords::Vector{$PetscScalar}, R::Vector{$PetscReal} ) @@ -20219,7 +20219,7 @@ See also: `DMPLEX`, `DMPlexComputeProjection2Dto1D()`, `DMPlexComputeProjection3 $(_doc_external("DMPlex/DMPlexComputeProjection3Dto1D")) """ function DMPlexComputeProjection3Dto1D(petsclib::PetscLibType, coords::AbstractVector{<:Number}, R::AbstractVector{<:Number}) - error("DMPlexComputeProjection3Dto1D: no generated method for these argument types") + throw(MethodError(DMPlexComputeProjection3Dto1D, (petsclib, coords, R))) end @for_petsc function DMPlexComputeProjection3Dto1D(petsclib::$UnionPetscLib, coords::Vector{$PetscScalar}, R::Vector{$PetscReal} ) @@ -20260,7 +20260,7 @@ See also: `DMPLEX`, `DMPlexComputeProjection2Dto1D()`, `DMPlexComputeProjection3 $(_doc_external("DMPlex/DMPlexComputeProjection3Dto2D")) """ function DMPlexComputeProjection3Dto2D(petsclib::PetscLibType, coordSize::Integer, coords::AbstractVector{<:Number}, R::AbstractVector{<:Number}) - error("DMPlexComputeProjection3Dto2D: no generated method for these argument types") + throw(MethodError(DMPlexComputeProjection3Dto2D, (petsclib, coordSize, coords, R))) end @for_petsc function DMPlexComputeProjection3Dto2D(petsclib::$UnionPetscLib, coordSize::$PetscInt, coords::Vector{$PetscScalar}, R::Vector{$PetscReal} ) @@ -20303,7 +20303,7 @@ See also: `DMPlexComputeJacobianByKey()`, `DMPlexComputeResidualHybridByKey()`, $(_doc_external("DMPlex/DMPlexComputeResidualByKey")) """ function DMPlexComputeResidualByKey(petsclib::PetscLibType, dm::AbstractPetscDM, key::PetscFormKey, cellIS::AbstractIS, time::Real, locX::AbstractPetscVec, locX_t::AbstractPetscVec, t::Real, locF::AbstractPetscVec, ctx::Ptr{Cvoid}) - error("DMPlexComputeResidualByKey: no generated method for these argument types") + throw(MethodError(DMPlexComputeResidualByKey, (petsclib, dm, key, cellIS, time, locX, locX_t, t, locF, ctx))) end @for_petsc function DMPlexComputeResidualByKey(petsclib::$UnionPetscLib, dm::AbstractPetscDM, key::PetscFormKey, cellIS::AbstractIS, time::$PetscReal, locX::AbstractPetscVec, locX_t::AbstractPetscVec, t::$PetscReal, locF::AbstractPetscVec, ctx::Ptr{Cvoid} ) @@ -20346,7 +20346,7 @@ See also: `DMPlexComputeResidualByKey()`, `DMPlexComputeJacobianByKey()`, `DMPle $(_doc_external("DMPlex/DMPlexComputeResidualHybridByKey")) """ function DMPlexComputeResidualHybridByKey(petsclib::PetscLibType, dm::AbstractPetscDM, key::Vector{PetscFormKey}, cellIS::AbstractIS, time::Real, locX::AbstractPetscVec, locX_t::AbstractPetscVec, t::Real, locF::AbstractPetscVec, ctx::Ptr{Cvoid}) - error("DMPlexComputeResidualHybridByKey: no generated method for these argument types") + throw(MethodError(DMPlexComputeResidualHybridByKey, (petsclib, dm, key, cellIS, time, locX, locX_t, t, locF, ctx))) end @for_petsc function DMPlexComputeResidualHybridByKey(petsclib::$UnionPetscLib, dm::AbstractPetscDM, key::Vector{PetscFormKey}, cellIS::AbstractIS, time::$PetscReal, locX::AbstractPetscVec, locX_t::AbstractPetscVec, t::$PetscReal, locF::AbstractPetscVec, ctx::Ptr{Cvoid} ) @@ -20384,7 +20384,7 @@ See also: `DM`, `DMPLEX`, `DMCreate()`, `DMPlexLabelCohesiveComplete()` $(_doc_external("DMPlex/DMPlexConstructCohesiveCells")) """ function DMPlexConstructCohesiveCells(petsclib::PetscLibType, dm::AbstractPetscDM, label::DMLabel, splitLabel::DMLabel) - error("DMPlexConstructCohesiveCells: no generated method for these argument types") + throw(MethodError(DMPlexConstructCohesiveCells, (petsclib, dm, label, splitLabel))) end @for_petsc function DMPlexConstructCohesiveCells(petsclib::$UnionPetscLib, dm::AbstractPetscDM, label::DMLabel, splitLabel::DMLabel ) @@ -20424,7 +20424,7 @@ See also: `DM`, `DMPLEX`, `DMCreate()` $(_doc_external("DMPlex/DMPlexConstructGhostCells")) """ function DMPlexConstructGhostCells(petsclib::PetscLibType, dm::AbstractPetscDM, labelName::String) - error("DMPlexConstructGhostCells: no generated method for these argument types") + throw(MethodError(DMPlexConstructGhostCells, (petsclib, dm, labelName))) end @for_petsc function DMPlexConstructGhostCells(petsclib::$UnionPetscLib, dm::AbstractPetscDM, labelName::String ) @@ -20464,7 +20464,7 @@ See also: `DM`, `DMPLEX`, `DMLoad()`, `DMPlexTopologyLoad()`, `DMPlexLabelsLoad( $(_doc_external("DMPlex/DMPlexCoordinatesLoad")) """ function DMPlexCoordinatesLoad(petsclib::PetscLibType, dm::AbstractPetscDM, viewer::PetscViewer, globalToLocalPointSF::PetscSF) - error("DMPlexCoordinatesLoad: no generated method for these argument types") + throw(MethodError(DMPlexCoordinatesLoad, (petsclib, dm, viewer, globalToLocalPointSF))) end @for_petsc function DMPlexCoordinatesLoad(petsclib::$UnionPetscLib, dm::AbstractPetscDM, viewer::PetscViewer, globalToLocalPointSF::PetscSF ) @@ -20506,7 +20506,7 @@ See also: `DMPLEX`, `DMPlexReferenceToCoordinates()` $(_doc_external("DMPlex/DMPlexCoordinatesToReference")) """ function DMPlexCoordinatesToReference(petsclib::PetscLibType, dm::AbstractPetscDM, cell::Integer, numPoints::Integer, realCoords::AbstractVector{<:Number}, refCoords::AbstractVector{<:Number}) - error("DMPlexCoordinatesToReference: no generated method for these argument types") + throw(MethodError(DMPlexCoordinatesToReference, (petsclib, dm, cell, numPoints, realCoords, refCoords))) end @for_petsc function DMPlexCoordinatesToReference(petsclib::$UnionPetscLib, dm::AbstractPetscDM, cell::$PetscInt, numPoints::$PetscInt, realCoords::Vector{$PetscReal}, refCoords::Vector{$PetscReal} ) @@ -20540,7 +20540,7 @@ See also: `DM`, `DMPLEX`, `DMView()`, `DMPlexTopologyView()`, `DMPlexLabelsView( $(_doc_external("DMPlex/DMPlexCoordinatesView")) """ function DMPlexCoordinatesView(petsclib::PetscLibType, dm::AbstractPetscDM, viewer::PetscViewer) - error("DMPlexCoordinatesView: no generated method for these argument types") + throw(MethodError(DMPlexCoordinatesView, (petsclib, dm, viewer))) end @for_petsc function DMPlexCoordinatesView(petsclib::$UnionPetscLib, dm::AbstractPetscDM, viewer::PetscViewer ) @@ -20576,7 +20576,7 @@ See also: `DMPLEX`, `DMCopyLabels()`, `DMGetCoordinates()`, `DMGetCoordinatesLoc $(_doc_external("DMPlex/DMPlexCopyCoordinates")) """ function DMPlexCopyCoordinates(petsclib::PetscLibType, dmA::AbstractPetscDM, dmB::AbstractPetscDM) - error("DMPlexCopyCoordinates: no generated method for these argument types") + throw(MethodError(DMPlexCopyCoordinates, (petsclib, dmA, dmB))) end @for_petsc function DMPlexCopyCoordinates(petsclib::$UnionPetscLib, dmA::AbstractPetscDM, dmB::AbstractPetscDM ) @@ -20612,7 +20612,7 @@ See also: `DM`, `DMPLEX`, `DMType`, `DMCreate()`, `DMSetType()` $(_doc_external("DMPlex/DMPlexCreate")) """ function DMPlexCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("DMPlexCreate: no generated method for these argument types") + throw(MethodError(DMPlexCreate, (petsclib, comm))) end @for_petsc function DMPlexCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -20655,7 +20655,7 @@ See also: `DM`, `DMPLEX`, `DMPlexCreateSphereMesh()`, `DMPlexCreateBoxMesh()`, ` $(_doc_external("DMPlex/DMPlexCreateBallMesh")) """ function DMPlexCreateBallMesh(petsclib::PetscLibType, comm::MPI_Comm, dim::Integer, R::Real) - error("DMPlexCreateBallMesh: no generated method for these argument types") + throw(MethodError(DMPlexCreateBallMesh, (petsclib, comm, dim, R))) end @for_petsc function DMPlexCreateBallMesh(petsclib::$UnionPetscLib, comm::MPI_Comm, dim::$PetscInt, R::$PetscReal ) @@ -20692,7 +20692,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGlobalToLocalBasis()`, `DMPlexLocalToGlobalBasi $(_doc_external("DMPlex/DMPlexCreateBasisRotation")) """ function DMPlexCreateBasisRotation(petsclib::PetscLibType, dm::AbstractPetscDM, alpha::Real, beta::Real, gamma::Real) - error("DMPlexCreateBasisRotation: no generated method for these argument types") + throw(MethodError(DMPlexCreateBasisRotation, (petsclib, dm, alpha, beta, gamma))) end @for_petsc function DMPlexCreateBasisRotation(petsclib::$UnionPetscLib, dm::AbstractPetscDM, alpha::$PetscReal, beta::$PetscReal, gamma::$PetscReal ) @@ -20737,7 +20737,7 @@ See also: `DM`, `DMPLEX`, `DMSetFromOptions()`, `DMPlexCreateFromFile()`, `DMPle $(_doc_external("DMPlex/DMPlexCreateBoxMesh")) """ function DMPlexCreateBoxMesh(petsclib::PetscLibType, comm::MPI_Comm, dim::Integer, simplex::PetscBool, faces::AbstractVector{<:Number}, lower::AbstractVector{<:Number}, upper::AbstractVector{<:Number}, periodicity::Vector{DMBoundaryType}, interpolate::PetscBool, localizationHeight::Integer, sparseLocalize::PetscBool) - error("DMPlexCreateBoxMesh: no generated method for these argument types") + throw(MethodError(DMPlexCreateBoxMesh, (petsclib, comm, dim, simplex, faces, lower, upper, periodicity, interpolate, localizationHeight, sparseLocalize))) end @for_petsc function DMPlexCreateBoxMesh(petsclib::$UnionPetscLib, comm::MPI_Comm, dim::$PetscInt, simplex::PetscBool, faces::Vector{$PetscInt}, lower::Vector{$PetscReal}, upper::Vector{$PetscReal}, periodicity::Vector{DMBoundaryType}, interpolate::PetscBool, localizationHeight::$PetscInt, sparseLocalize::PetscBool ) @@ -20780,7 +20780,7 @@ See also: `DM`, `DMPLEX`, `DMSetFromOptions()`, `DMPlexCreateBoxMesh()`, `DMPlex $(_doc_external("DMPlex/DMPlexCreateBoxSurfaceMesh")) """ function DMPlexCreateBoxSurfaceMesh(petsclib::PetscLibType, comm::MPI_Comm, dim::Integer, faces::AbstractVector{<:Number}, lower::AbstractVector{<:Number}, upper::AbstractVector{<:Number}, interpolate::PetscBool) - error("DMPlexCreateBoxSurfaceMesh: no generated method for these argument types") + throw(MethodError(DMPlexCreateBoxSurfaceMesh, (petsclib, comm, dim, faces, lower, upper, interpolate))) end @for_petsc function DMPlexCreateBoxSurfaceMesh(petsclib::$UnionPetscLib, comm::MPI_Comm, dim::$PetscInt, faces::Vector{$PetscInt}, lower::Vector{$PetscReal}, upper::Vector{$PetscReal}, interpolate::PetscBool ) @@ -20820,7 +20820,7 @@ See also: `DM`, `DMPLEX`, `DMPlexCreate()`, `DMPlexCreateExodus()` $(_doc_external("DMPlex/DMPlexCreateCGNS")) """ function DMPlexCreateCGNS(petsclib::PetscLibType, comm::MPI_Comm, cgid::Integer, interpolate::PetscBool) - error("DMPlexCreateCGNS: no generated method for these argument types") + throw(MethodError(DMPlexCreateCGNS, (petsclib, comm, cgid, interpolate))) end @for_petsc function DMPlexCreateCGNS(petsclib::$UnionPetscLib, comm::MPI_Comm, cgid::$PetscInt, interpolate::PetscBool ) @@ -20860,7 +20860,7 @@ See also: `DM`, `DMPLEX`, `DMPlexCreate()`, `DMPlexCreateCGNS()`, `DMPlexCreateE $(_doc_external("DMPlex/DMPlexCreateCGNSFromFile")) """ function DMPlexCreateCGNSFromFile(petsclib::PetscLibType, comm::MPI_Comm, filename::String, interpolate::PetscBool) - error("DMPlexCreateCGNSFromFile: no generated method for these argument types") + throw(MethodError(DMPlexCreateCGNSFromFile, (petsclib, comm, filename, interpolate))) end @for_petsc function DMPlexCreateCGNSFromFile(petsclib::$UnionPetscLib, comm::MPI_Comm, filename::String, interpolate::PetscBool ) @@ -20897,7 +20897,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetCellNumbering()`, `DMPlexGetVertexNumbering( $(_doc_external("DMPlex/DMPlexCreateCellNumbering")) """ function DMPlexCreateCellNumbering(petsclib::PetscLibType, dm::AbstractPetscDM, includeAll::PetscBool) - error("DMPlexCreateCellNumbering: no generated method for these argument types") + throw(MethodError(DMPlexCreateCellNumbering, (petsclib, dm, includeAll))) end @for_petsc function DMPlexCreateCellNumbering(petsclib::$UnionPetscLib, dm::AbstractPetscDM, includeAll::PetscBool ) @@ -20933,7 +20933,7 @@ See also: `DM`, `DMPLEX`, `PetscSection`, `DMPlexVecGetClosure()`, `DMPlexVecRes $(_doc_external("DMPlex/DMPlexCreateClosureIndex")) """ function DMPlexCreateClosureIndex(petsclib::PetscLibType, dm::AbstractPetscDM, section::PetscSection) - error("DMPlexCreateClosureIndex: no generated method for these argument types") + throw(MethodError(DMPlexCreateClosureIndex, (petsclib, dm, section))) end @for_petsc function DMPlexCreateClosureIndex(petsclib::$UnionPetscLib, dm::AbstractPetscDM, section::PetscSection ) @@ -20969,7 +20969,7 @@ See also: `DM`, `DMPLEX`, `IS`, `DMRefine()`, `DMPlexSetRefinementUniform()`, `D $(_doc_external("DMPlex/DMPlexCreateCoarsePointIS")) """ function DMPlexCreateCoarsePointIS(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexCreateCoarsePointIS: no generated method for these argument types") + throw(MethodError(DMPlexCreateCoarsePointIS, (petsclib, dm))) end @for_petsc function DMPlexCreateCoarsePointIS(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -21008,7 +21008,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetSubpointMap()`, `DMPlexCreateSubmesh()` $(_doc_external("DMPlex/DMPlexCreateCohesiveSubmesh")) """ function DMPlexCreateCohesiveSubmesh(petsclib::PetscLibType, dm::AbstractPetscDM, hasLagrange::PetscBool, label::String, value::Integer) - error("DMPlexCreateCohesiveSubmesh: no generated method for these argument types") + throw(MethodError(DMPlexCreateCohesiveSubmesh, (petsclib, dm, hasLagrange, label, value))) end @for_petsc function DMPlexCreateCohesiveSubmesh(petsclib::$UnionPetscLib, dm::AbstractPetscDM, hasLagrange::PetscBool, label::String, value::$PetscInt ) @@ -21048,7 +21048,7 @@ See also: `DMPlex`, `ISColoring`, `MatColoring`, `DMCreateColoring()` $(_doc_external("DMPlex/DMPlexCreateColoring")) """ function DMPlexCreateColoring(petsclib::PetscLibType, dm::AbstractPetscDM, depth::Integer, distance::Integer) - error("DMPlexCreateColoring: no generated method for these argument types") + throw(MethodError(DMPlexCreateColoring, (petsclib, dm, depth, distance))) end @for_petsc function DMPlexCreateColoring(petsclib::$UnionPetscLib, dm::AbstractPetscDM, depth::$PetscInt, distance::$PetscInt ) @@ -21086,7 +21086,7 @@ See also: `DM`, `DMPLEX`, `PetscPointFn`, `PetscFECreateLagrange()`, `DMGetCoord $(_doc_external("DMPlex/DMPlexCreateCoordinateSpace")) """ function DMPlexCreateCoordinateSpace(petsclib::PetscLibType, dm::AbstractPetscDM, degree::Integer, localized::PetscBool, project::PetscBool) - error("DMPlexCreateCoordinateSpace: no generated method for these argument types") + throw(MethodError(DMPlexCreateCoordinateSpace, (petsclib, dm, degree, localized, project))) end @for_petsc function DMPlexCreateCoordinateSpace(petsclib::$UnionPetscLib, dm::AbstractPetscDM, degree::$PetscInt, localized::PetscBool, project::PetscBool ) @@ -21124,7 +21124,7 @@ See also: `DMPlexSetReferenceTree()`, `DMPlexGetReferenceTree()` $(_doc_external("DMPlex/DMPlexCreateDefaultReferenceTree")) """ function DMPlexCreateDefaultReferenceTree(petsclib::PetscLibType, comm::MPI_Comm, dim::Integer, simplex::PetscBool) - error("DMPlexCreateDefaultReferenceTree: no generated method for these argument types") + throw(MethodError(DMPlexCreateDefaultReferenceTree, (petsclib, comm, dim, simplex))) end @for_petsc function DMPlexCreateDefaultReferenceTree(petsclib::$UnionPetscLib, comm::MPI_Comm, dim::$PetscInt, simplex::PetscBool ) @@ -21166,7 +21166,7 @@ See also: `DM`, `DMPLEX`, `DMSetType()`, `DMCreate()` $(_doc_external("DMPlex/DMPlexCreateDoublet")) """ function DMPlexCreateDoublet(petsclib::PetscLibType, comm::MPI_Comm, dim::Integer, simplex::PetscBool, interpolate::PetscBool, refinementLimit::Real) - error("DMPlexCreateDoublet: no generated method for these argument types") + throw(MethodError(DMPlexCreateDoublet, (petsclib, comm, dim, simplex, interpolate, refinementLimit))) end @for_petsc function DMPlexCreateDoublet(petsclib::$UnionPetscLib, comm::MPI_Comm, dim::$PetscInt, simplex::PetscBool, interpolate::PetscBool, refinementLimit::$PetscReal ) @@ -21204,7 +21204,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetCellNumbering()`, `DMPlexGetVertexNumbering( $(_doc_external("DMPlex/DMPlexCreateEdgeNumbering")) """ function DMPlexCreateEdgeNumbering(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexCreateEdgeNumbering: no generated method for these argument types") + throw(MethodError(DMPlexCreateEdgeNumbering, (petsclib, dm))) end @for_petsc function DMPlexCreateEdgeNumbering(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -21241,7 +21241,7 @@ See also: `DMPlexCreateFromFile`, `DMPlexCreateFromDAG()`, `DMPlexCreateFromCell $(_doc_external("DMPlex/DMPlexCreateEphemeral")) """ function DMPlexCreateEphemeral(petsclib::PetscLibType, tr::DMPlexTransform, prefix::String) - error("DMPlexCreateEphemeral: no generated method for these argument types") + throw(MethodError(DMPlexCreateEphemeral, (petsclib, tr, prefix))) end @for_petsc function DMPlexCreateEphemeral(petsclib::$UnionPetscLib, tr::DMPlexTransform, prefix::String ) @@ -21281,7 +21281,7 @@ See also: `DM`, `PETSCVIEWEREXODUSII`, `DMPLEX`, `DMCreate()` $(_doc_external("DMPlex/DMPlexCreateExodus")) """ function DMPlexCreateExodus(petsclib::PetscLibType, comm::MPI_Comm, exoid::PetscExodusIIInt, interpolate::PetscBool) - error("DMPlexCreateExodus: no generated method for these argument types") + throw(MethodError(DMPlexCreateExodus, (petsclib, comm, exoid, interpolate))) end @for_petsc function DMPlexCreateExodus(petsclib::$UnionPetscLib, comm::MPI_Comm, exoid::PetscExodusIIInt, interpolate::PetscBool ) @@ -21321,7 +21321,7 @@ See also: `DM`, `PETSCVIEWEREXODUSII`, `DMPLEX`, `DMCreate()`, `DMPlexCreateExod $(_doc_external("DMPlex/DMPlexCreateExodusFromFile")) """ function DMPlexCreateExodusFromFile(petsclib::PetscLibType, comm::MPI_Comm, filename::String, interpolate::PetscBool) - error("DMPlexCreateExodusFromFile: no generated method for these argument types") + throw(MethodError(DMPlexCreateExodusFromFile, (petsclib, comm, filename, interpolate))) end @for_petsc function DMPlexCreateExodusFromFile(petsclib::$UnionPetscLib, comm::MPI_Comm, filename::String, interpolate::PetscBool ) @@ -21361,7 +21361,7 @@ See also: `DM`, `DMPLEX`, `DMCreate()` $(_doc_external("DMPlex/DMPlexCreateFluent")) """ function DMPlexCreateFluent(petsclib::PetscLibType, comm::MPI_Comm, viewer::PetscViewer, interpolate::PetscBool) - error("DMPlexCreateFluent: no generated method for these argument types") + throw(MethodError(DMPlexCreateFluent, (petsclib, comm, viewer, interpolate))) end @for_petsc function DMPlexCreateFluent(petsclib::$UnionPetscLib, comm::MPI_Comm, viewer::PetscViewer, interpolate::PetscBool ) @@ -21401,7 +21401,7 @@ See also: `DM`, `DMPLEX`, `DMPlexCreateFromFile()`, `DMPlexCreateFluent()`, `DMP $(_doc_external("DMPlex/DMPlexCreateFluentFromFile")) """ function DMPlexCreateFluentFromFile(petsclib::PetscLibType, comm::MPI_Comm, filename::String, interpolate::PetscBool) - error("DMPlexCreateFluentFromFile: no generated method for these argument types") + throw(MethodError(DMPlexCreateFluentFromFile, (petsclib, comm, filename, interpolate))) end @for_petsc function DMPlexCreateFluentFromFile(petsclib::$UnionPetscLib, comm::MPI_Comm, filename::String, interpolate::PetscBool ) @@ -21450,7 +21450,7 @@ See also: `DM`, `DMPLEX`, `DMPlexCreateFromCellListPetsc()`, `DMPlexBuildFromCel $(_doc_external("DMPlex/DMPlexCreateFromCellListParallelPetsc")) """ function DMPlexCreateFromCellListParallelPetsc(petsclib::PetscLibType, comm::MPI_Comm, dim::Integer, numCells::Integer, numVertices::Integer, NVertices::Integer, numCorners::Integer, interpolate::PetscBool, cells::AbstractVector{<:Number}, spaceDim::Integer, vertexCoords::AbstractVector{<:Number}) - error("DMPlexCreateFromCellListParallelPetsc: no generated method for these argument types") + throw(MethodError(DMPlexCreateFromCellListParallelPetsc, (petsclib, comm, dim, numCells, numVertices, NVertices, numCorners, interpolate, cells, spaceDim, vertexCoords))) end @for_petsc function DMPlexCreateFromCellListParallelPetsc(petsclib::$UnionPetscLib, comm::MPI_Comm, dim::$PetscInt, numCells::$PetscInt, numVertices::$PetscInt, NVertices::$PetscInt, numCorners::$PetscInt, interpolate::PetscBool, cells::Vector{$PetscInt}, spaceDim::$PetscInt, vertexCoords::Vector{$PetscReal} ) @@ -21500,7 +21500,7 @@ See also: `DM`, `DMPLEX`, `DMPlexCreateFromCellListParallelPetsc()`, `DMPlexBuil $(_doc_external("DMPlex/DMPlexCreateFromCellListPetsc")) """ function DMPlexCreateFromCellListPetsc(petsclib::PetscLibType, comm::MPI_Comm, dim::Integer, numCells::Integer, numVertices::Integer, numCorners::Integer, interpolate::PetscBool, cells::AbstractVector{<:Number}, spaceDim::Integer, vertexCoords::AbstractVector{<:Number}) - error("DMPlexCreateFromCellListPetsc: no generated method for these argument types") + throw(MethodError(DMPlexCreateFromCellListPetsc, (petsclib, comm, dim, numCells, numVertices, numCorners, interpolate, cells, spaceDim, vertexCoords))) end @for_petsc function DMPlexCreateFromCellListPetsc(petsclib::$UnionPetscLib, comm::MPI_Comm, dim::$PetscInt, numCells::$PetscInt, numVertices::$PetscInt, numCorners::$PetscInt, interpolate::PetscBool, cells::Vector{$PetscInt}, spaceDim::$PetscInt, vertexCoords::Vector{$PetscReal} ) @@ -21549,7 +21549,7 @@ See also: `DM`, `DMPLEX`, `DMPlexCreateFromCellListPetsc()`, `DMPlexBuildFromCel $(_doc_external("DMPlex/DMPlexCreateFromCellSectionParallel")) """ function DMPlexCreateFromCellSectionParallel(petsclib::PetscLibType, comm::MPI_Comm, dim::Integer, numCells::Integer, numVertices::Integer, NVertices::Integer, cellSection::PetscSection, interpolate::PetscBool, cells::AbstractVector{<:Number}, spaceDim::Integer, vertexCoords::AbstractVector{<:Number}) - error("DMPlexCreateFromCellSectionParallel: no generated method for these argument types") + throw(MethodError(DMPlexCreateFromCellSectionParallel, (petsclib, comm, dim, numCells, numVertices, NVertices, cellSection, interpolate, cells, spaceDim, vertexCoords))) end @for_petsc function DMPlexCreateFromCellSectionParallel(petsclib::$UnionPetscLib, comm::MPI_Comm, dim::$PetscInt, numCells::$PetscInt, numVertices::$PetscInt, NVertices::$PetscInt, cellSection::PetscSection, interpolate::PetscBool, cells::Vector{$PetscInt}, spaceDim::$PetscInt, vertexCoords::Vector{$PetscReal} ) @@ -21595,7 +21595,7 @@ See also: `DM`, `DMPLEX`, `DMPlexCreateFromCellListPetsc()`, `DMPlexCreate()` $(_doc_external("DMPlex/DMPlexCreateFromDAG")) """ function DMPlexCreateFromDAG(petsclib::PetscLibType, dm::AbstractPetscDM, depth::Integer, numPoints::AbstractVector{<:Number}, coneSize::AbstractVector{<:Number}, cones::AbstractVector{<:Number}, coneOrientations::AbstractVector{<:Number}, vertexCoords::AbstractVector{<:Number}) - error("DMPlexCreateFromDAG: no generated method for these argument types") + throw(MethodError(DMPlexCreateFromDAG, (petsclib, dm, depth, numPoints, coneSize, cones, coneOrientations, vertexCoords))) end @for_petsc function DMPlexCreateFromDAG(petsclib::$UnionPetscLib, dm::AbstractPetscDM, depth::$PetscInt, numPoints::Vector{$PetscInt}, coneSize::Vector{$PetscInt}, cones::Vector{$PetscInt}, coneOrientations::Vector{$PetscInt}, vertexCoords::Vector{$PetscScalar} ) @@ -21639,7 +21639,7 @@ See also: `DM`, `DMPLEX`, `DMPlexCreateFromDAG()`, `DMPlexCreateFromCellListPets $(_doc_external("DMPlex/DMPlexCreateFromFile")) """ function DMPlexCreateFromFile(petsclib::PetscLibType, comm::MPI_Comm, filename::String, plexname::String, interpolate::PetscBool) - error("DMPlexCreateFromFile: no generated method for these argument types") + throw(MethodError(DMPlexCreateFromFile, (petsclib, comm, filename, plexname, interpolate))) end @for_petsc function DMPlexCreateFromFile(petsclib::$UnionPetscLib, comm::MPI_Comm, filename::String, plexname::String, interpolate::PetscBool ) @@ -21679,7 +21679,7 @@ See also: `DM`, `DMPLEX`, `DMCreate()`, `DMPlexCreateEGADS()`, `DMPlexCreateEGAD $(_doc_external("DMPlex/DMPlexCreateGeomFromFile")) """ function DMPlexCreateGeomFromFile(petsclib::PetscLibType, comm::MPI_Comm, filename::String, islite::PetscBool) - error("DMPlexCreateGeomFromFile: no generated method for these argument types") + throw(MethodError(DMPlexCreateGeomFromFile, (petsclib, comm, filename, islite))) end @for_petsc function DMPlexCreateGeomFromFile(petsclib::$UnionPetscLib, comm::MPI_Comm, filename::String, islite::PetscBool ) @@ -21717,7 +21717,7 @@ See also: `DM`, `DMPLEX`, `PetscSF`, `PetscSection`, `DMPlexDistribute()`, `DMPl $(_doc_external("DMPlex/DMPlexCreateGlobalToNaturalSF")) """ function DMPlexCreateGlobalToNaturalSF(petsclib::PetscLibType, dm::AbstractPetscDM, section::PetscSection, sfMigration::PetscSF) - error("DMPlexCreateGlobalToNaturalSF: no generated method for these argument types") + throw(MethodError(DMPlexCreateGlobalToNaturalSF, (petsclib, dm, section, sfMigration))) end @for_petsc function DMPlexCreateGlobalToNaturalSF(petsclib::$UnionPetscLib, dm::AbstractPetscDM, section::PetscSection, sfMigration::PetscSF ) @@ -21769,7 +21769,7 @@ See also: `DM`, `DMPLEX`, `DMCreate()` $(_doc_external("DMPlex/DMPlexCreateGmsh")) """ function DMPlexCreateGmsh(petsclib::PetscLibType, comm::MPI_Comm, viewer::PetscViewer, interpolate::PetscBool) - error("DMPlexCreateGmsh: no generated method for these argument types") + throw(MethodError(DMPlexCreateGmsh, (petsclib, comm, viewer, interpolate))) end @for_petsc function DMPlexCreateGmsh(petsclib::$UnionPetscLib, comm::MPI_Comm, viewer::PetscViewer, interpolate::PetscBool ) @@ -21807,7 +21807,7 @@ See also: `DM`, `DMPLEX`, `DMPlexCreateFromFile()`, `DMPlexCreateGmsh()`, `DMPle $(_doc_external("DMPlex/DMPlexCreateGmshFromFile")) """ function DMPlexCreateGmshFromFile(petsclib::PetscLibType, comm::MPI_Comm, filename::String, interpolate::PetscBool) - error("DMPlexCreateGmshFromFile: no generated method for these argument types") + throw(MethodError(DMPlexCreateGmshFromFile, (petsclib, comm, filename, interpolate))) end @for_petsc function DMPlexCreateGmshFromFile(petsclib::$UnionPetscLib, comm::MPI_Comm, filename::String, interpolate::PetscBool ) @@ -21847,7 +21847,7 @@ See also: `DM`, `DMPLEX`, `DMPlexCreateBoxMesh()`, `DMSetType()`, `DMCreate()` $(_doc_external("DMPlex/DMPlexCreateHexCylinderMesh")) """ function DMPlexCreateHexCylinderMesh(petsclib::PetscLibType, comm::MPI_Comm, periodicZ::DMBoundaryType, Nr::Integer) - error("DMPlexCreateHexCylinderMesh: no generated method for these argument types") + throw(MethodError(DMPlexCreateHexCylinderMesh, (petsclib, comm, periodicZ, Nr))) end @for_petsc function DMPlexCreateHexCylinderMesh(petsclib::$UnionPetscLib, comm::MPI_Comm, periodicZ::DMBoundaryType, Nr::$PetscInt ) @@ -21891,7 +21891,7 @@ See also: `DM`, `DMPLEX`, `DMPlexConstructCohesiveCells()`, `DMPlexLabelCohesive $(_doc_external("DMPlex/DMPlexCreateHybridMesh")) """ function DMPlexCreateHybridMesh(petsclib::PetscLibType, dm::AbstractPetscDM, label::DMLabel, bdlabel::DMLabel, bdvalue::Integer) - error("DMPlexCreateHybridMesh: no generated method for these argument types") + throw(MethodError(DMPlexCreateHybridMesh, (petsclib, dm, label, bdlabel, bdvalue))) end @for_petsc function DMPlexCreateHybridMesh(petsclib::$UnionPetscLib, dm::AbstractPetscDM, label::DMLabel, bdlabel::DMLabel, bdvalue::$PetscInt ) @@ -21940,7 +21940,7 @@ See also: `DMSetFromOptions()`, `DMPlexCreateFromFile()`, `DMPlexCreateHexCylind $(_doc_external("DMPlex/DMPlexCreateHypercubicMesh")) """ function DMPlexCreateHypercubicMesh(petsclib::PetscLibType, comm::MPI_Comm, dim::Integer, edges::AbstractVector{<:Number}, lower::AbstractVector{<:Number}, upper::AbstractVector{<:Number}, overlap::Integer) - error("DMPlexCreateHypercubicMesh: no generated method for these argument types") + throw(MethodError(DMPlexCreateHypercubicMesh, (petsclib, comm, dim, edges, lower, upper, overlap))) end @for_petsc function DMPlexCreateHypercubicMesh(petsclib::$UnionPetscLib, comm::MPI_Comm, dim::$PetscInt, edges::Vector{$PetscInt}, lower::Vector{$PetscReal}, upper::Vector{$PetscReal}, overlap::$PetscInt ) @@ -21980,7 +21980,7 @@ See also: `DM`, `DMPLEX`, `DMView()` $(_doc_external("DMPlex/DMPlexCreateLabelField")) """ function DMPlexCreateLabelField(petsclib::PetscLibType, dm::AbstractPetscDM, label::DMLabel) - error("DMPlexCreateLabelField: no generated method for these argument types") + throw(MethodError(DMPlexCreateLabelField, (petsclib, dm, label))) end @for_petsc function DMPlexCreateLabelField(petsclib::$UnionPetscLib, dm::AbstractPetscDM, label::DMLabel ) @@ -22018,7 +22018,7 @@ See also: `DM`, `DMPLEX`, `Vec`, `DMPlexDistribute()`, `DMPlexNaturalToGlobalBeg $(_doc_external("DMPlex/DMPlexCreateNaturalVector")) """ function DMPlexCreateNaturalVector(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexCreateNaturalVector: no generated method for these argument types") + throw(MethodError(DMPlexCreateNaturalVector, (petsclib, dm))) end @for_petsc function DMPlexCreateNaturalVector(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -22059,7 +22059,7 @@ See also: `DM`, `DMPLEX`, `DMPlexCreate()` $(_doc_external("DMPlex/DMPlexCreateNeighborCSR")) """ function DMPlexCreateNeighborCSR(petsclib::PetscLibType, dm::AbstractPetscDM, cellHeight::Integer) - error("DMPlexCreateNeighborCSR: no generated method for these argument types") + throw(MethodError(DMPlexCreateNeighborCSR, (petsclib, dm, cellHeight))) end @for_petsc function DMPlexCreateNeighborCSR(petsclib::$UnionPetscLib, dm::AbstractPetscDM, cellHeight::$PetscInt ) @@ -22106,7 +22106,7 @@ See also: `DMPLEX`, `DMPlexCreateOverlapLabelFromLabels()`, `DMPlexGetAdjacency( $(_doc_external("DMPlex/DMPlexCreateOverlapLabel")) """ function DMPlexCreateOverlapLabel(petsclib::PetscLibType, dm::AbstractPetscDM, levels::Integer, rootSection::PetscSection, rootrank::AbstractIS, leafSection::PetscSection, leafrank::AbstractIS) - error("DMPlexCreateOverlapLabel: no generated method for these argument types") + throw(MethodError(DMPlexCreateOverlapLabel, (petsclib, dm, levels, rootSection, rootrank, leafSection, leafrank))) end @for_petsc function DMPlexCreateOverlapLabel(petsclib::$UnionPetscLib, dm::AbstractPetscDM, levels::$PetscInt, rootSection::PetscSection, rootrank::AbstractIS, leafSection::PetscSection, leafrank::AbstractIS ) @@ -22154,7 +22154,7 @@ See also: `DMPLEX`, `DMPlexCreateOverlapLabel()`, `DMPlexGetAdjacency()`, `DMPle $(_doc_external("DMPlex/DMPlexCreateOverlapLabelFromLabels")) """ function DMPlexCreateOverlapLabelFromLabels(petsclib::PetscLibType, dm::AbstractPetscDM, numLabels::Integer, label::Vector{DMLabel}, value::AbstractVector{<:Number}, numExLabels::Integer, exLabel::Vector{DMLabel}, exValue::AbstractVector{<:Number}, rootSection::PetscSection, rootrank::AbstractIS, leafSection::PetscSection, leafrank::AbstractIS) - error("DMPlexCreateOverlapLabelFromLabels: no generated method for these argument types") + throw(MethodError(DMPlexCreateOverlapLabelFromLabels, (petsclib, dm, numLabels, label, value, numExLabels, exLabel, exValue, rootSection, rootrank, leafSection, leafrank))) end @for_petsc function DMPlexCreateOverlapLabelFromLabels(petsclib::$UnionPetscLib, dm::AbstractPetscDM, numLabels::$PetscInt, label::Vector{DMLabel}, value::Vector{$PetscInt}, numExLabels::$PetscInt, exLabel::Vector{DMLabel}, exValue::Vector{$PetscInt}, rootSection::PetscSection, rootrank::AbstractIS, leafSection::PetscSection, leafrank::AbstractIS ) @@ -22193,7 +22193,7 @@ See also: `DMPLEX`, `DMPlexCreateOverlapLabel()`, `DMPlexDistributeOverlap()`, ` $(_doc_external("DMPlex/DMPlexCreateOverlapMigrationSF")) """ function DMPlexCreateOverlapMigrationSF(petsclib::PetscLibType, dm::AbstractPetscDM, overlapSF::PetscSF) - error("DMPlexCreateOverlapMigrationSF: no generated method for these argument types") + throw(MethodError(DMPlexCreateOverlapMigrationSF, (petsclib, dm, overlapSF))) end @for_petsc function DMPlexCreateOverlapMigrationSF(petsclib::$UnionPetscLib, dm::AbstractPetscDM, overlapSF::PetscSF ) @@ -22231,7 +22231,7 @@ See also: `DMPlexCreateFromFile()`, `DMPlexCreateGmsh()`, `DMPlexCreate()` $(_doc_external("DMPlex/DMPlexCreatePLYFromFile")) """ function DMPlexCreatePLYFromFile(petsclib::PetscLibType, comm::MPI_Comm, filename::String, interpolate::PetscBool) - error("DMPlexCreatePLYFromFile: no generated method for these argument types") + throw(MethodError(DMPlexCreatePLYFromFile, (petsclib, comm, filename, interpolate))) end @for_petsc function DMPlexCreatePLYFromFile(petsclib::$UnionPetscLib, comm::MPI_Comm, filename::String, interpolate::PetscBool ) @@ -22276,7 +22276,7 @@ See also: `DM`, `DMPLEX`, `DMPlexCSRAlgorithm`, `PetscPartitionerGetType()`, `Pe $(_doc_external("DMPlex/DMPlexCreatePartitionerGraph")) """ function DMPlexCreatePartitionerGraph(petsclib::PetscLibType, dm::AbstractPetscDM, height::Integer) - error("DMPlexCreatePartitionerGraph: no generated method for these argument types") + throw(MethodError(DMPlexCreatePartitionerGraph, (petsclib, dm, height))) end @for_petsc function DMPlexCreatePartitionerGraph(petsclib::$UnionPetscLib, dm::AbstractPetscDM, height::$PetscInt ) @@ -22320,7 +22320,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetCellNumbering()` $(_doc_external("DMPlex/DMPlexCreatePointNumbering")) """ function DMPlexCreatePointNumbering(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexCreatePointNumbering: no generated method for these argument types") + throw(MethodError(DMPlexCreatePointNumbering, (petsclib, dm))) end @for_petsc function DMPlexCreatePointNumbering(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -22358,7 +22358,7 @@ See also: `DMPLEX`, `PetscSF`, `DM`, `DMPlexDistribute()`, `DMPlexDistributeOver $(_doc_external("DMPlex/DMPlexCreatePointSF")) """ function DMPlexCreatePointSF(petsclib::PetscLibType, dm::AbstractPetscDM, migrationSF::PetscSF, ownership::PetscBool) - error("DMPlexCreatePointSF: no generated method for these argument types") + throw(MethodError(DMPlexCreatePointSF, (petsclib, dm, migrationSF, ownership))) end @for_petsc function DMPlexCreatePointSF(petsclib::$UnionPetscLib, dm::AbstractPetscDM, migrationSF::PetscSF, ownership::PetscBool ) @@ -22398,7 +22398,7 @@ See also: `DM`, `DMPLEX`, `PetscSF`, `PetscSFCreate()`, `DMPlexCreateTwoSidedPro $(_doc_external("DMPlex/DMPlexCreateProcessSF")) """ function DMPlexCreateProcessSF(petsclib::PetscLibType, dm::AbstractPetscDM, sfPoint::PetscSF) - error("DMPlexCreateProcessSF: no generated method for these argument types") + throw(MethodError(DMPlexCreateProcessSF, (petsclib, dm, sfPoint))) end @for_petsc function DMPlexCreateProcessSF(petsclib::$UnionPetscLib, dm::AbstractPetscDM, sfPoint::PetscSF ) @@ -22439,7 +22439,7 @@ See also: `DM`, `DMPLEX`, `DMView()` $(_doc_external("DMPlex/DMPlexCreateRankField")) """ function DMPlexCreateRankField(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexCreateRankField: no generated method for these argument types") + throw(MethodError(DMPlexCreateRankField, (petsclib, dm))) end @for_petsc function DMPlexCreateRankField(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -22478,7 +22478,7 @@ See also: `DM`, `DMPLEX`, `DMPlexCreateBoxMesh()` $(_doc_external("DMPlex/DMPlexCreateReferenceCell")) """ function DMPlexCreateReferenceCell(petsclib::PetscLibType, comm::MPI_Comm, ct::DMPolytopeType) - error("DMPlexCreateReferenceCell: no generated method for these argument types") + throw(MethodError(DMPlexCreateReferenceCell, (petsclib, comm, ct))) end @for_petsc function DMPlexCreateReferenceCell(petsclib::$UnionPetscLib, comm::MPI_Comm, ct::DMPolytopeType ) @@ -22520,7 +22520,7 @@ See also: `DM`, `DMPLEX`, `MatNullSpaceCreate()` $(_doc_external("DMPlex/DMPlexCreateRigidBodies")) """ function DMPlexCreateRigidBodies(petsclib::PetscLibType, dm::AbstractPetscDM, nb::Integer, label::DMLabel, nids::AbstractVector{<:Number}, ids::AbstractVector{<:Number}) - error("DMPlexCreateRigidBodies: no generated method for these argument types") + throw(MethodError(DMPlexCreateRigidBodies, (petsclib, dm, nb, label, nids, ids))) end @for_petsc function DMPlexCreateRigidBodies(petsclib::$UnionPetscLib, dm::AbstractPetscDM, nb::$PetscInt, label::DMLabel, nids::Vector{$PetscInt}, ids::Vector{$PetscInt} ) @@ -22559,7 +22559,7 @@ See also: `DM`, `DMPLEX`, `MatNullSpaceCreate()`, `PCGAMG` $(_doc_external("DMPlex/DMPlexCreateRigidBody")) """ function DMPlexCreateRigidBody(petsclib::PetscLibType, dm::AbstractPetscDM, field::Integer) - error("DMPlexCreateRigidBody: no generated method for these argument types") + throw(MethodError(DMPlexCreateRigidBody, (petsclib, dm, field))) end @for_petsc function DMPlexCreateRigidBody(petsclib::$UnionPetscLib, dm::AbstractPetscDM, field::$PetscInt ) @@ -22605,7 +22605,7 @@ See also: `DM`, `DMPLEX`, `DMPlexCreate()`, `PetscSectionCreate()`, `PetscSectio $(_doc_external("DMPlex/DMPlexCreateSection")) """ function DMPlexCreateSection(petsclib::PetscLibType, dm::AbstractPetscDM, label::Vector{DMLabel}, numComp::AbstractVector{<:Number}, numDof::AbstractVector{<:Number}, numBC::Integer, bcField::AbstractVector{<:Number}, bcComps::Vector{<:AbstractIS}, bcPoints::Vector{<:AbstractIS}, perm::AbstractIS) - error("DMPlexCreateSection: no generated method for these argument types") + throw(MethodError(DMPlexCreateSection, (petsclib, dm, label, numComp, numDof, numBC, bcField, bcComps, bcPoints, perm))) end @for_petsc function DMPlexCreateSection(petsclib::$UnionPetscLib, dm::AbstractPetscDM, label::Vector{DMLabel}, numComp::Vector{$PetscInt}, numDof::Vector{$PetscInt}, numBC::$PetscInt, bcField::Vector{$PetscInt}, bcComps::Vector{<:AbstractIS}, bcPoints::Vector{<:AbstractIS}, perm::AbstractIS ) @@ -22646,7 +22646,7 @@ See also: `DM`, `DMPLEX`, `DMPlexCreateBallMesh()`, `DMPlexCreateBoxMesh()`, `DM $(_doc_external("DMPlex/DMPlexCreateSphereMesh")) """ function DMPlexCreateSphereMesh(petsclib::PetscLibType, comm::MPI_Comm, dim::Integer, simplex::PetscBool, R::Real) - error("DMPlexCreateSphereMesh: no generated method for these argument types") + throw(MethodError(DMPlexCreateSphereMesh, (petsclib, comm, dim, simplex, R))) end @for_petsc function DMPlexCreateSphereMesh(petsclib::$UnionPetscLib, comm::MPI_Comm, dim::$PetscInt, simplex::PetscBool, R::$PetscReal ) @@ -22685,7 +22685,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetSubpointMap()`, `DMGetLabel()`, `DMLabelSetV $(_doc_external("DMPlex/DMPlexCreateSubmesh")) """ function DMPlexCreateSubmesh(petsclib::PetscLibType, dm::AbstractPetscDM, vertexLabel::DMLabel, value::Integer, markedFaces::PetscBool) - error("DMPlexCreateSubmesh: no generated method for these argument types") + throw(MethodError(DMPlexCreateSubmesh, (petsclib, dm, vertexLabel, value, markedFaces))) end @for_petsc function DMPlexCreateSubmesh(petsclib::$UnionPetscLib, dm::AbstractPetscDM, vertexLabel::DMLabel, value::$PetscInt, markedFaces::PetscBool ) @@ -22730,7 +22730,7 @@ See also: `DM`, `DMPLEX`, `DMPlexCreateSphereMesh()`, `DMSetType()`, `DMCreate() $(_doc_external("DMPlex/DMPlexCreateTPSMesh")) """ function DMPlexCreateTPSMesh(petsclib::PetscLibType, comm::MPI_Comm, tpstype::DMPlexTPSType, extent::AbstractVector{<:Number}, periodic::Vector{DMBoundaryType}, tps_distribute::PetscBool, refinements::Integer, layers::Integer, thickness::Real) - error("DMPlexCreateTPSMesh: no generated method for these argument types") + throw(MethodError(DMPlexCreateTPSMesh, (petsclib, comm, tpstype, extent, periodic, tps_distribute, refinements, layers, thickness))) end @for_petsc function DMPlexCreateTPSMesh(petsclib::$UnionPetscLib, comm::MPI_Comm, tpstype::DMPlexTPSType, extent::Vector{$PetscInt}, periodic::Vector{DMBoundaryType}, tps_distribute::PetscBool, refinements::$PetscInt, layers::$PetscInt, thickness::$PetscReal ) @@ -22774,7 +22774,7 @@ See also: `DMPLEX`, `PetscSFCreate()`, `DMPlexCreateProcessSF()` $(_doc_external("DMPlex/DMPlexCreateTwoSidedProcessSF")) """ function DMPlexCreateTwoSidedProcessSF(petsclib::PetscLibType, dm::AbstractPetscDM, sfPoint::PetscSF, rootRankSection::PetscSection, rootRanks::AbstractIS, leafRankSection::PetscSection, leafRanks::AbstractIS) - error("DMPlexCreateTwoSidedProcessSF: no generated method for these argument types") + throw(MethodError(DMPlexCreateTwoSidedProcessSF, (petsclib, dm, sfPoint, rootRankSection, rootRanks, leafRankSection, leafRanks))) end @for_petsc function DMPlexCreateTwoSidedProcessSF(petsclib::$UnionPetscLib, dm::AbstractPetscDM, sfPoint::PetscSF, rootRankSection::PetscSection, rootRanks::AbstractIS, leafRankSection::PetscSection, leafRanks::AbstractIS ) @@ -22820,7 +22820,7 @@ See also: `DM`, `DMPLEX`, `DMPlexCreateHexCylinderMesh()`, `DMPlexCreateWedgeCyl $(_doc_external("DMPlex/DMPlexCreateWedgeBoxMesh")) """ function DMPlexCreateWedgeBoxMesh(petsclib::PetscLibType, comm::MPI_Comm, faces::AbstractVector{<:Number}, lower::AbstractVector{<:Number}, upper::AbstractVector{<:Number}, periodicity::Vector{DMBoundaryType}, orderHeight::PetscBool, interpolate::PetscBool) - error("DMPlexCreateWedgeBoxMesh: no generated method for these argument types") + throw(MethodError(DMPlexCreateWedgeBoxMesh, (petsclib, comm, faces, lower, upper, periodicity, orderHeight, interpolate))) end @for_petsc function DMPlexCreateWedgeBoxMesh(petsclib::$UnionPetscLib, comm::MPI_Comm, faces::Vector{$PetscInt}, lower::Vector{$PetscReal}, upper::Vector{$PetscReal}, periodicity::Vector{DMBoundaryType}, orderHeight::PetscBool, interpolate::PetscBool ) @@ -22860,7 +22860,7 @@ See also: `DM`, `DMPLEX`, `DMPlexCreateHexCylinderMesh()`, `DMPlexCreateBoxMesh( $(_doc_external("DMPlex/DMPlexCreateWedgeCylinderMesh")) """ function DMPlexCreateWedgeCylinderMesh(petsclib::PetscLibType, comm::MPI_Comm, n::Integer, interpolate::PetscBool) - error("DMPlexCreateWedgeCylinderMesh: no generated method for these argument types") + throw(MethodError(DMPlexCreateWedgeCylinderMesh, (petsclib, comm, n, interpolate))) end @for_petsc function DMPlexCreateWedgeCylinderMesh(petsclib::$UnionPetscLib, comm::MPI_Comm, n::$PetscInt, interpolate::PetscBool ) @@ -22900,7 +22900,7 @@ See also: `DMPLEX`, `DM`, `DMPlexCreate()`, `DMSetAdjacency()`, `DMPlexGetOverla $(_doc_external("DMPlex/DMPlexDistribute")) """ function DMPlexDistribute(petsclib::PetscLibType, dm::AbstractPetscDM, overlap::Integer) - error("DMPlexDistribute: no generated method for these argument types") + throw(MethodError(DMPlexDistribute, (petsclib, dm, overlap))) end @for_petsc function DMPlexDistribute(petsclib::$UnionPetscLib, dm::AbstractPetscDM, overlap::$PetscInt ) @@ -22944,7 +22944,7 @@ See also: `DMPLEX`, `DMPlexDistribute()`, `DMPlexDistributeFieldIS()`, `DMPlexDi $(_doc_external("DMPlex/DMPlexDistributeField")) """ function DMPlexDistributeField(petsclib::PetscLibType, dm::AbstractPetscDM, pointSF::PetscSF, originalSection::PetscSection, originalVec::AbstractPetscVec, newSection::PetscSection, newVec::AbstractPetscVec) - error("DMPlexDistributeField: no generated method for these argument types") + throw(MethodError(DMPlexDistributeField, (petsclib, dm, pointSF, originalSection, originalVec, newSection, newVec))) end @for_petsc function DMPlexDistributeField(petsclib::$UnionPetscLib, dm::AbstractPetscDM, pointSF::PetscSF, originalSection::PetscSection, originalVec::AbstractPetscVec, newSection::PetscSection, newVec::AbstractPetscVec ) @@ -22984,7 +22984,7 @@ See also: `DMPLEX`, `DMPlexDistribute()`, `DMPlexDistributeField()`, `DMPlexDist $(_doc_external("DMPlex/DMPlexDistributeFieldIS")) """ function DMPlexDistributeFieldIS(petsclib::PetscLibType, dm::AbstractPetscDM, pointSF::PetscSF, originalSection::PetscSection, originalIS::AbstractIS, newSection::PetscSection) - error("DMPlexDistributeFieldIS: no generated method for these argument types") + throw(MethodError(DMPlexDistributeFieldIS, (petsclib, dm, pointSF, originalSection, originalIS, newSection))) end @for_petsc function DMPlexDistributeFieldIS(petsclib::$UnionPetscLib, dm::AbstractPetscDM, pointSF::PetscSF, originalSection::PetscSection, originalIS::AbstractIS, newSection::PetscSection ) @@ -23022,7 +23022,7 @@ See also: `DMPLEX`, `DM`, `DMPlexDistributeSetDefault()`, `DMPlexDistribute()` $(_doc_external("DMPlex/DMPlexDistributeGetDefault")) """ function DMPlexDistributeGetDefault(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexDistributeGetDefault: no generated method for these argument types") + throw(MethodError(DMPlexDistributeGetDefault, (petsclib, dm))) end @for_petsc function DMPlexDistributeGetDefault(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -23068,7 +23068,7 @@ See also: `DMPLEX`, `PetscSF`, `DM`, `DMPlexCreate()`, `DMSetAdjacency()`, `DMPl $(_doc_external("DMPlex/DMPlexDistributeOverlap")) """ function DMPlexDistributeOverlap(petsclib::PetscLibType, dm::AbstractPetscDM, overlap::Integer) - error("DMPlexDistributeOverlap: no generated method for these argument types") + throw(MethodError(DMPlexDistributeOverlap, (petsclib, dm, overlap))) end @for_petsc function DMPlexDistributeOverlap(petsclib::$UnionPetscLib, dm::AbstractPetscDM, overlap::$PetscInt ) @@ -23111,7 +23111,7 @@ See also: `DMPLEX`, `DMPlexCreateOverlapLabel()`, `DMPlexDistribute()`, `DMPlexD $(_doc_external("DMPlex/DMPlexDistributeOwnership")) """ function DMPlexDistributeOwnership(petsclib::PetscLibType, dm::AbstractPetscDM, rootSection::PetscSection, leafSection::PetscSection) - error("DMPlexDistributeOwnership: no generated method for these argument types") + throw(MethodError(DMPlexDistributeOwnership, (petsclib, dm, rootSection, leafSection))) end @for_petsc function DMPlexDistributeOwnership(petsclib::$UnionPetscLib, dm::AbstractPetscDM, rootSection::PetscSection, leafSection::PetscSection ) @@ -23149,7 +23149,7 @@ See also: `DMPLEX`, `DMPlexDistributeGetDefault()`, `DMPlexDistribute()` $(_doc_external("DMPlex/DMPlexDistributeSetDefault")) """ function DMPlexDistributeSetDefault(petsclib::PetscLibType, dm::AbstractPetscDM, dist::PetscBool) - error("DMPlexDistributeSetDefault: no generated method for these argument types") + throw(MethodError(DMPlexDistributeSetDefault, (petsclib, dm, dist))) end @for_petsc function DMPlexDistributeSetDefault(petsclib::$UnionPetscLib, dm::AbstractPetscDM, dist::PetscBool ) @@ -23183,7 +23183,7 @@ See also: `DMPLEX`, `DMPlexDistributionSetName()`, `DMPlexTopologyView()`, `DMPl $(_doc_external("DMPlex/DMPlexDistributionGetName")) """ function DMPlexDistributionGetName(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexDistributionGetName: no generated method for these argument types") + throw(MethodError(DMPlexDistributionGetName, (petsclib, dm))) end @for_petsc function DMPlexDistributionGetName(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -23217,7 +23217,7 @@ See also: `DMPLEX`, `DMPlexDistributionGetName()`, `DMPlexTopologyView()`, `DMPl $(_doc_external("DMPlex/DMPlexDistributionSetName")) """ function DMPlexDistributionSetName(petsclib::PetscLibType, dm::AbstractPetscDM, name::String) - error("DMPlexDistributionSetName: no generated method for these argument types") + throw(MethodError(DMPlexDistributionSetName, (petsclib, dm, name))) end @for_petsc function DMPlexDistributionSetName(petsclib::$UnionPetscLib, dm::AbstractPetscDM, name::String ) @@ -23254,7 +23254,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetCone()` $(_doc_external("DMPlex/DMPlexEqual")) """ function DMPlexEqual(petsclib::PetscLibType, dmA::AbstractPetscDM, dmB::AbstractPetscDM) - error("DMPlexEqual: no generated method for these argument types") + throw(MethodError(DMPlexEqual, (petsclib, dmA, dmB))) end @for_petsc function DMPlexEqual(petsclib::$UnionPetscLib, dmA::AbstractPetscDM, dmB::AbstractPetscDM ) @@ -23306,7 +23306,7 @@ See also: `DM`, `DMPLEX`, `DMExtrude()`, `DMPlexTransform`, `DMPlexTransformExtr $(_doc_external("DMPlex/DMPlexExtrude")) """ function DMPlexExtrude(petsclib::PetscLibType, dm::AbstractPetscDM, layers::Integer, thickness::Real, tensor::PetscBool, symmetric::PetscBool, periodic::PetscBool, normal::AbstractVector{<:Number}, thicknesses::AbstractVector{<:Number}, activeLabel::DMLabel) - error("DMPlexExtrude: no generated method for these argument types") + throw(MethodError(DMPlexExtrude, (petsclib, dm, layers, thickness, tensor, symmetric, periodic, normal, thicknesses, activeLabel))) end @for_petsc function DMPlexExtrude(petsclib::$UnionPetscLib, dm::AbstractPetscDM, layers::$PetscInt, thickness::$PetscReal, tensor::PetscBool, symmetric::PetscBool, periodic::PetscBool, normal::Vector{$PetscReal}, thicknesses::Vector{$PetscReal}, activeLabel::DMLabel ) @@ -23348,7 +23348,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetSubpointMap()`, `DMGetLabel()`, `DMLabelSetV $(_doc_external("DMPlex/DMPlexFilter")) """ function DMPlexFilter(petsclib::PetscLibType, dm::AbstractPetscDM, cellLabel::DMLabel, value::Integer, ignoreLabelHalo::PetscBool, sanitizeSubmesh::PetscBool, comm::MPI_Comm) - error("DMPlexFilter: no generated method for these argument types") + throw(MethodError(DMPlexFilter, (petsclib, dm, cellLabel, value, ignoreLabelHalo, sanitizeSubmesh, comm))) end @for_petsc function DMPlexFilter(petsclib::$UnionPetscLib, dm::AbstractPetscDM, cellLabel::DMLabel, value::$PetscInt, ignoreLabelHalo::PetscBool, sanitizeSubmesh::PetscBool, comm::MPI_Comm ) @@ -23390,7 +23390,7 @@ See also: `DMPLEX`, `DMPlexCreate()`, `DMGetCoordinatesLocal()` $(_doc_external("DMPlex/DMPlexFindVertices")) """ function DMPlexFindVertices(petsclib::PetscLibType, dm::AbstractPetscDM, coordinates::AbstractPetscVec, eps::Real) - error("DMPlexFindVertices: no generated method for these argument types") + throw(MethodError(DMPlexFindVertices, (petsclib, dm, coordinates, eps))) end @for_petsc function DMPlexFindVertices(petsclib::$UnionPetscLib, dm::AbstractPetscDM, coordinates::AbstractPetscVec, eps::$PetscReal ) @@ -23426,7 +23426,7 @@ See also: `DMPlexGetGeomModelBodies()`, `DMPlexGetGeomModelTUV()`, `DMPlexInflat $(_doc_external("DMPlex/DMPlexFreeGeomObject")) """ function DMPlexFreeGeomObject(petsclib::PetscLibType, dm::AbstractPetscDM, geomObj::PetscGeom) - error("DMPlexFreeGeomObject: no generated method for these argument types") + throw(MethodError(DMPlexFreeGeomObject, (petsclib, dm, geomObj))) end @for_petsc function DMPlexFreeGeomObject(petsclib::$UnionPetscLib, dm::AbstractPetscDM, geomObj::PetscGeom ) @@ -23468,7 +23468,7 @@ See also: `DM`, `DMPLEX`, `DMPlexCreate()`, `DMRefine()` $(_doc_external("DMPlex/DMPlexGenerate")) """ function DMPlexGenerate(petsclib::PetscLibType, boundary::AbstractPetscDM, name::String, interpolate::PetscBool) - error("DMPlexGenerate: no generated method for these argument types") + throw(MethodError(DMPlexGenerate, (petsclib, boundary, name, interpolate))) end @for_petsc function DMPlexGenerate(petsclib::$UnionPetscLib, boundary::AbstractPetscDM, name::String, interpolate::PetscBool ) @@ -23512,7 +23512,7 @@ See also: `DMPLEX`, `DMCreate()`, `DMPlexCreateGeom()`, `DMPlexModifyEGADSGeomMo $(_doc_external("DMPlex/DMPlexGeomDataAndGrads")) """ function DMPlexGeomDataAndGrads(petsclib::PetscLibType, dm::AbstractPetscDM, fullGeomGrad::PetscBool) - error("DMPlexGeomDataAndGrads: no generated method for these argument types") + throw(MethodError(DMPlexGeomDataAndGrads, (petsclib, dm, fullGeomGrad))) end @for_petsc function DMPlexGeomDataAndGrads(petsclib::$UnionPetscLib, dm::AbstractPetscDM, fullGeomGrad::PetscBool ) @@ -23548,7 +23548,7 @@ See also: `DM`, `DMPLEX`, `DMPlexSetActivePoint()` $(_doc_external("DMPlex/DMPlexGetActivePoint")) """ function DMPlexGetActivePoint(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexGetActivePoint: no generated method for these argument types") + throw(MethodError(DMPlexGetActivePoint, (petsclib, dm))) end @for_petsc function DMPlexGetActivePoint(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -23588,7 +23588,7 @@ See also: `DMPLEX`, `DMSetAdjacency()`, `DMPlexDistribute()`, `DMCreateMatrix()` $(_doc_external("DMPlex/DMPlexGetAdjacency")) """ function DMPlexGetAdjacency(petsclib::PetscLibType, dm::AbstractPetscDM, p::Integer) - error("DMPlexGetAdjacency: no generated method for these argument types") + throw(MethodError(DMPlexGetAdjacency, (petsclib, dm, p))) end @for_petsc function DMPlexGetAdjacency(petsclib::$UnionPetscLib, dm::AbstractPetscDM, p::$PetscInt ) @@ -23626,7 +23626,7 @@ See also: `DMPLEX`, `DMPlexSetAdjacencyUseAnchors()`, `DMSetAdjacency()`, `DMGet $(_doc_external("DMPlex/DMPlexGetAdjacencyUseAnchors")) """ function DMPlexGetAdjacencyUseAnchors(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexGetAdjacencyUseAnchors: no generated method for these argument types") + throw(MethodError(DMPlexGetAdjacencyUseAnchors, (petsclib, dm))) end @for_petsc function DMPlexGetAdjacencyUseAnchors(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -23663,7 +23663,7 @@ See also: `DMPLEX`, `DMSetAdjacency()`, `DMPlexDistribute()`, `DMPlexPreallocate $(_doc_external("DMPlex/DMPlexGetAdjacencyUser")) """ function DMPlexGetAdjacencyUser(petsclib::PetscLibType, dm::AbstractPetscDM, noname::Ptr{Cvoid}) - error("DMPlexGetAdjacencyUser: no generated method for these argument types") + throw(MethodError(DMPlexGetAdjacencyUser, (petsclib, dm, noname))) end @for_petsc function DMPlexGetAdjacencyUser(petsclib::$UnionPetscLib, dm::AbstractPetscDM, noname::Ptr{Cvoid} ) @@ -23701,7 +23701,7 @@ See also: `DM`, `DMPLEX`, `DMPlexSetAnchors()`, `DMGetDefaultConstraints()`, `DM $(_doc_external("DMPlex/DMPlexGetAnchors")) """ function DMPlexGetAnchors(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexGetAnchors: no generated method for these argument types") + throw(MethodError(DMPlexGetAnchors, (petsclib, dm))) end @for_petsc function DMPlexGetAnchors(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -23745,7 +23745,7 @@ See also: `DMPLEX`, `DMPlexRestoreCellCoordinates()`, `DMGetCoordinatesLocal()`, $(_doc_external("DMPlex/DMPlexGetCellCoordinates")) """ function DMPlexGetCellCoordinates(petsclib::PetscLibType, dm::AbstractPetscDM, cell::Integer) - error("DMPlexGetCellCoordinates: no generated method for these argument types") + throw(MethodError(DMPlexGetCellCoordinates, (petsclib, dm, cell))) end @for_petsc function DMPlexGetCellCoordinates(petsclib::$UnionPetscLib, dm::AbstractPetscDM, cell::$PetscInt ) @@ -23796,7 +23796,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetFaceFields()` $(_doc_external("DMPlex/DMPlexGetCellFields")) """ function DMPlexGetCellFields(petsclib::PetscLibType, dm::AbstractPetscDM, cellIS::AbstractIS, locX::AbstractPetscVec, locX_t::AbstractPetscVec, locA::AbstractPetscVec) - error("DMPlexGetCellFields: no generated method for these argument types") + throw(MethodError(DMPlexGetCellFields, (petsclib, dm, cellIS, locX, locX_t, locA))) end @for_petsc function DMPlexGetCellFields(petsclib::$UnionPetscLib, dm::AbstractPetscDM, cellIS::AbstractIS, locX::AbstractPetscVec, locX_t::AbstractPetscVec, locA::AbstractPetscVec ) @@ -23836,7 +23836,7 @@ See also: `DM`, `DMPLEX`, `DMPlexCreateCellNumbering()`, `DMPlexGetVertexNumberi $(_doc_external("DMPlex/DMPlexGetCellNumbering")) """ function DMPlexGetCellNumbering(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexGetCellNumbering: no generated method for these argument types") + throw(MethodError(DMPlexGetCellNumbering, (petsclib, dm))) end @for_petsc function DMPlexGetCellNumbering(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -23875,7 +23875,7 @@ See also: `DM`, `DMPLEX`, `DMPolytopeType`, `DMPlexGetCellTypeLabel()`, `DMPlexG $(_doc_external("DMPlex/DMPlexGetCellType")) """ function DMPlexGetCellType(petsclib::PetscLibType, dm::AbstractPetscDM, cell::Integer) - error("DMPlexGetCellType: no generated method for these argument types") + throw(MethodError(DMPlexGetCellType, (petsclib, dm, cell))) end @for_petsc function DMPlexGetCellType(petsclib::$UnionPetscLib, dm::AbstractPetscDM, cell::$PetscInt ) @@ -23913,7 +23913,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetCellType()`, `DMPlexGetDepthLabel()`, `DMCre $(_doc_external("DMPlex/DMPlexGetCellTypeLabel")) """ function DMPlexGetCellTypeLabel(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexGetCellTypeLabel: no generated method for these argument types") + throw(MethodError(DMPlexGetCellTypeLabel, (petsclib, dm))) end @for_petsc function DMPlexGetCellTypeLabel(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -23951,7 +23951,7 @@ See also: `DM`, `DMPLEX`, `DMPlexConstructGhostCells()`, `DMPlexGetDepthStratum( $(_doc_external("DMPlex/DMPlexGetCellTypeStratum")) """ function DMPlexGetCellTypeStratum(petsclib::PetscLibType, dm::AbstractPetscDM, ct::DMPolytopeType) - error("DMPlexGetCellTypeStratum: no generated method for these argument types") + throw(MethodError(DMPlexGetCellTypeStratum, (petsclib, dm, ct))) end @for_petsc function DMPlexGetCellTypeStratum(petsclib::$UnionPetscLib, dm::AbstractPetscDM, ct::DMPolytopeType ) @@ -23992,7 +23992,7 @@ See also: `DM`, `DMPLEX`, `DMPlexCreate()`, `DMPlexSetChart()` $(_doc_external("DMPlex/DMPlexGetChart")) """ function DMPlexGetChart(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexGetChart: no generated method for these argument types") + throw(MethodError(DMPlexGetChart, (petsclib, dm))) end @for_petsc function DMPlexGetChart(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -24040,7 +24040,7 @@ See also: `DM`, `DMPLEX`, `DMPlexRestoreClosureIndices()`, `DMPlexVecGetClosure( $(_doc_external("DMPlex/DMPlexGetClosureIndices")) """ function DMPlexGetClosureIndices(petsclib::PetscLibType, dm::AbstractPetscDM, section::PetscSection, idxSection::PetscSection, point::Integer, useClPerm::PetscBool, values::Union{Ptr, AbstractArray{<:Number}}) - error("DMPlexGetClosureIndices: no generated method for these argument types") + throw(MethodError(DMPlexGetClosureIndices, (petsclib, dm, section, idxSection, point, useClPerm, values))) end @for_petsc function DMPlexGetClosureIndices(petsclib::$UnionPetscLib, dm::AbstractPetscDM, section::PetscSection, idxSection::PetscSection, point::$PetscInt, useClPerm::PetscBool, values::Union{Ptr, AbstractArray{$PetscScalar}} ) @@ -24090,7 +24090,7 @@ See also: `DM`, `DMPLEX`, `PetscSection`, `DMPlexRestoreCompressedClosure()`, `D $(_doc_external("DMPlex/DMPlexGetCompressedClosure")) """ function DMPlexGetCompressedClosure(petsclib::PetscLibType, dm::AbstractPetscDM, section::PetscSection, point::Integer, ornt::Integer) - error("DMPlexGetCompressedClosure: no generated method for these argument types") + throw(MethodError(DMPlexGetCompressedClosure, (petsclib, dm, section, point, ornt))) end @for_petsc function DMPlexGetCompressedClosure(petsclib::$UnionPetscLib, dm::AbstractPetscDM, section::PetscSection, point::$PetscInt, ornt::$PetscInt ) @@ -24137,7 +24137,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetConeSize()`, `DMPlexSetCone()`, `DMPlexGetCo $(_doc_external("DMPlex/DMPlexGetCone")) """ function DMPlexGetCone(petsclib::PetscLibType, dm::AbstractPetscDM, p::Integer) - error("DMPlexGetCone: no generated method for these argument types") + throw(MethodError(DMPlexGetCone, (petsclib, dm, p))) end @for_petsc function DMPlexGetCone(petsclib::$UnionPetscLib, dm::AbstractPetscDM, p::$PetscInt ) @@ -24179,7 +24179,7 @@ See also: `DM`, `DMPLEX`, `DMPlexSetConeSize()`, `DMPolytopeTypeComposeOrientati $(_doc_external("DMPlex/DMPlexGetConeOrientation")) """ function DMPlexGetConeOrientation(petsclib::PetscLibType, dm::AbstractPetscDM, p::Integer) - error("DMPlexGetConeOrientation: no generated method for these argument types") + throw(MethodError(DMPlexGetConeOrientation, (petsclib, dm, p))) end @for_petsc function DMPlexGetConeOrientation(petsclib::$UnionPetscLib, dm::AbstractPetscDM, p::$PetscInt ) @@ -24218,7 +24218,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetConeSection()`, `DMPlexGetConeOrientation()` $(_doc_external("DMPlex/DMPlexGetConeOrientations")) """ function DMPlexGetConeOrientations(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexGetConeOrientations: no generated method for these argument types") + throw(MethodError(DMPlexGetConeOrientations, (petsclib, dm))) end @for_petsc function DMPlexGetConeOrientations(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -24261,7 +24261,7 @@ See also: `DM`, `DMPLEX`, `DMPlexCreate()`, `DMPlexGetCone()`, `DMPlexGetConeTup $(_doc_external("DMPlex/DMPlexGetConeRecursive")) """ function DMPlexGetConeRecursive(petsclib::PetscLibType, dm::AbstractPetscDM, points::AbstractIS) - error("DMPlexGetConeRecursive: no generated method for these argument types") + throw(MethodError(DMPlexGetConeRecursive, (petsclib, dm, points))) end @for_petsc function DMPlexGetConeRecursive(petsclib::$UnionPetscLib, dm::AbstractPetscDM, points::AbstractIS ) @@ -24305,7 +24305,7 @@ See also: `DM`, `DMPLEX`, `DMPlexCreate()`, `DMPlexGetCone()`, `DMPlexGetConeTup $(_doc_external("DMPlex/DMPlexGetConeRecursiveVertices")) """ function DMPlexGetConeRecursiveVertices(petsclib::PetscLibType, dm::AbstractPetscDM, points::AbstractIS) - error("DMPlexGetConeRecursiveVertices: no generated method for these argument types") + throw(MethodError(DMPlexGetConeRecursiveVertices, (petsclib, dm, points))) end @for_petsc function DMPlexGetConeRecursiveVertices(petsclib::$UnionPetscLib, dm::AbstractPetscDM, points::AbstractIS ) @@ -24343,7 +24343,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetSupportSection()`, `DMPlexGetCones()`, `DMPl $(_doc_external("DMPlex/DMPlexGetConeSection")) """ function DMPlexGetConeSection(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexGetConeSection: no generated method for these argument types") + throw(MethodError(DMPlexGetConeSection, (petsclib, dm))) end @for_petsc function DMPlexGetConeSection(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -24382,7 +24382,7 @@ See also: `DM`, `DMPLEX`, `DMPlexCreate()`, `DMPlexSetConeSize()`, `DMPlexSetCha $(_doc_external("DMPlex/DMPlexGetConeSize")) """ function DMPlexGetConeSize(petsclib::PetscLibType, dm::AbstractPetscDM, p::Integer) - error("DMPlexGetConeSize: no generated method for these argument types") + throw(MethodError(DMPlexGetConeSize, (petsclib, dm, p))) end @for_petsc function DMPlexGetConeSize(petsclib::$UnionPetscLib, dm::AbstractPetscDM, p::$PetscInt ) @@ -24422,7 +24422,7 @@ See also: `DM`, `DMPLEX`, `DMPlexCreate()`, `DMPlexGetCone()`, `DMPlexGetConeRec $(_doc_external("DMPlex/DMPlexGetConeTuple")) """ function DMPlexGetConeTuple(petsclib::PetscLibType, dm::AbstractPetscDM, p::AbstractIS) - error("DMPlexGetConeTuple: no generated method for these argument types") + throw(MethodError(DMPlexGetConeTuple, (petsclib, dm, p))) end @for_petsc function DMPlexGetConeTuple(petsclib::$UnionPetscLib, dm::AbstractPetscDM, p::AbstractIS ) @@ -24462,7 +24462,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetConeSection()` $(_doc_external("DMPlex/DMPlexGetCones")) """ function DMPlexGetCones(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexGetCones: no generated method for these argument types") + throw(MethodError(DMPlexGetCones, (petsclib, dm))) end @for_petsc function DMPlexGetCones(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -24500,7 +24500,7 @@ See also: `DMPLEX`, `DMGetCoordinates()`, `DMPlexSetCoordinateMap()`, `PetscPoin $(_doc_external("DMPlex/DMPlexGetCoordinateMap")) """ function DMPlexGetCoordinateMap(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexGetCoordinateMap: no generated method for these argument types") + throw(MethodError(DMPlexGetCoordinateMap, (petsclib, dm))) end @for_petsc function DMPlexGetCoordinateMap(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -24541,7 +24541,7 @@ See also: `DMPLEX`, `DMPlexComputeGeometryFVM()` $(_doc_external("DMPlex/DMPlexGetDataFVM")) """ function DMPlexGetDataFVM(petsclib::PetscLibType, dm::AbstractPetscDM, fv::PetscFV) - error("DMPlexGetDataFVM: no generated method for these argument types") + throw(MethodError(DMPlexGetDataFVM, (petsclib, dm, fv))) end @for_petsc function DMPlexGetDataFVM(petsclib::$UnionPetscLib, dm::AbstractPetscDM, fv::PetscFV ) @@ -24583,7 +24583,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetDepthLabel()`, `DMPlexGetDepthStratum()`, `D $(_doc_external("DMPlex/DMPlexGetDepth")) """ function DMPlexGetDepth(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexGetDepth: no generated method for these argument types") + throw(MethodError(DMPlexGetDepth, (petsclib, dm))) end @for_petsc function DMPlexGetDepth(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -24621,7 +24621,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetDepth()`, `DMPlexGetHeightStratum()`, `DMPle $(_doc_external("DMPlex/DMPlexGetDepthLabel")) """ function DMPlexGetDepthLabel(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexGetDepthLabel: no generated method for these argument types") + throw(MethodError(DMPlexGetDepthLabel, (petsclib, dm))) end @for_petsc function DMPlexGetDepthLabel(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -24661,7 +24661,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetHeightStratum()`, `DMPlexGetCellTypeStratum( $(_doc_external("DMPlex/DMPlexGetDepthStratum")) """ function DMPlexGetDepthStratum(petsclib::PetscLibType, dm::AbstractPetscDM, depth::Integer) - error("DMPlexGetDepthStratum: no generated method for these argument types") + throw(MethodError(DMPlexGetDepthStratum, (petsclib, dm, depth))) end @for_petsc function DMPlexGetDepthStratum(petsclib::$UnionPetscLib, dm::AbstractPetscDM, depth::$PetscInt ) @@ -24700,7 +24700,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetCellNumbering()`, `DMPlexGetVertexNumbering( $(_doc_external("DMPlex/DMPlexGetDepthStratumGlobalSize")) """ function DMPlexGetDepthStratumGlobalSize(petsclib::PetscLibType, dm::AbstractPetscDM, depth::Integer) - error("DMPlexGetDepthStratumGlobalSize: no generated method for these argument types") + throw(MethodError(DMPlexGetDepthStratumGlobalSize, (petsclib, dm, depth))) end @for_petsc function DMPlexGetDepthStratumGlobalSize(petsclib::$UnionPetscLib, dm::AbstractPetscDM, depth::$PetscInt ) @@ -24745,7 +24745,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetCellFields()` $(_doc_external("DMPlex/DMPlexGetFaceFields")) """ function DMPlexGetFaceFields(petsclib::PetscLibType, dm::AbstractPetscDM, fStart::Integer, fEnd::Integer, locX::AbstractPetscVec, locX_t::AbstractPetscVec, faceGeometry::AbstractPetscVec, cellGeometry::AbstractPetscVec, locGrad::AbstractPetscVec) - error("DMPlexGetFaceFields: no generated method for these argument types") + throw(MethodError(DMPlexGetFaceFields, (petsclib, dm, fStart, fEnd, locX, locX_t, faceGeometry, cellGeometry, locGrad))) end @for_petsc function DMPlexGetFaceFields(petsclib::$UnionPetscLib, dm::AbstractPetscDM, fStart::$PetscInt, fEnd::$PetscInt, locX::AbstractPetscVec, locX_t::AbstractPetscVec, faceGeometry::AbstractPetscVec, cellGeometry::AbstractPetscVec, locGrad::AbstractPetscVec ) @@ -24791,7 +24791,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetCellFields()` $(_doc_external("DMPlex/DMPlexGetFaceGeometry")) """ function DMPlexGetFaceGeometry(petsclib::PetscLibType, dm::AbstractPetscDM, fStart::Integer, fEnd::Integer, faceGeometry::AbstractPetscVec, cellGeometry::AbstractPetscVec) - error("DMPlexGetFaceGeometry: no generated method for these argument types") + throw(MethodError(DMPlexGetFaceGeometry, (petsclib, dm, fStart, fEnd, faceGeometry, cellGeometry))) end @for_petsc function DMPlexGetFaceGeometry(petsclib::$UnionPetscLib, dm::AbstractPetscDM, fStart::$PetscInt, fEnd::$PetscInt, faceGeometry::AbstractPetscVec, cellGeometry::AbstractPetscVec ) @@ -24836,7 +24836,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetJoin()`, `DMPlexRestoreJoin()`, `DMPlexGetMe $(_doc_external("DMPlex/DMPlexGetFullJoin")) """ function DMPlexGetFullJoin(petsclib::PetscLibType, dm::AbstractPetscDM, numPoints::Integer, points::AbstractVector{<:Number}) - error("DMPlexGetFullJoin: no generated method for these argument types") + throw(MethodError(DMPlexGetFullJoin, (petsclib, dm, numPoints, points))) end @for_petsc function DMPlexGetFullJoin(petsclib::$UnionPetscLib, dm::AbstractPetscDM, numPoints::$PetscInt, points::Vector{$PetscInt} ) @@ -24918,7 +24918,7 @@ See also: `DMPLEX`, `DM`, `PetscSF`, `DMPlexDistribute()`, `DMPlexGetRedundantDM $(_doc_external("DMPlex/DMPlexGetGatherDM")) """ function DMPlexGetGatherDM(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexGetGatherDM: no generated method for these argument types") + throw(MethodError(DMPlexGetGatherDM, (petsclib, dm))) end @for_petsc function DMPlexGetGatherDM(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -24964,7 +24964,7 @@ See also: `DMPlexGetGeomModelBodies()`, `DMPlexGetGeomModelTUV()`, `DMPlexInflat $(_doc_external("DMPlex/DMPlexGetGeomBodyMassProperties")) """ function DMPlexGetGeomBodyMassProperties(petsclib::PetscLibType, dm::AbstractPetscDM, body::PetscGeom) - error("DMPlexGetGeomBodyMassProperties: no generated method for these argument types") + throw(MethodError(DMPlexGetGeomBodyMassProperties, (petsclib, dm, body))) end @for_petsc function DMPlexGetGeomBodyMassProperties(petsclib::$UnionPetscLib, dm::AbstractPetscDM, body::PetscGeom ) @@ -25017,7 +25017,7 @@ See also: `DMPlexGetGeomModelBodies()`, `DMPlexGetGeomModelTUV()`, `DMPlexInflat $(_doc_external("DMPlex/DMPlexGetGeomCntrlPntAndWeightData")) """ function DMPlexGetGeomCntrlPntAndWeightData(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexGetGeomCntrlPntAndWeightData: no generated method for these argument types") + throw(MethodError(DMPlexGetGeomCntrlPntAndWeightData, (petsclib, dm))) end @for_petsc function DMPlexGetGeomCntrlPntAndWeightData(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -25075,7 +25075,7 @@ See also: `DMPlexGeomDataAndGrads()` $(_doc_external("DMPlex/DMPlexGetGeomCntrlPntMaps")) """ function DMPlexGetGeomCntrlPntMaps(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexGetGeomCntrlPntMaps: no generated method for these argument types") + throw(MethodError(DMPlexGetGeomCntrlPntMaps, (petsclib, dm))) end @for_petsc function DMPlexGetGeomCntrlPntMaps(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -25126,7 +25126,7 @@ See also: `DMPlexGetGeomModelBodies()`, `DMPlexGetGeomModelTUV()`, `DMPlexInflat $(_doc_external("DMPlex/DMPlexGetGeomFaceNumOfControlPoints")) """ function DMPlexGetGeomFaceNumOfControlPoints(petsclib::PetscLibType, dm::AbstractPetscDM, face::PetscGeom) - error("DMPlexGetGeomFaceNumOfControlPoints: no generated method for these argument types") + throw(MethodError(DMPlexGetGeomFaceNumOfControlPoints, (petsclib, dm, face))) end @for_petsc function DMPlexGetGeomFaceNumOfControlPoints(petsclib::$UnionPetscLib, dm::AbstractPetscDM, face::PetscGeom ) @@ -25169,7 +25169,7 @@ See also: `DMPlexGeomDataAndGrads()` $(_doc_external("DMPlex/DMPlexGetGeomGradData")) """ function DMPlexGetGeomGradData(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexGetGeomGradData: no generated method for these argument types") + throw(MethodError(DMPlexGetGeomGradData, (petsclib, dm))) end @for_petsc function DMPlexGetGeomGradData(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -25223,7 +25223,7 @@ See also: `DMPlexGetGeomModelBodies()`, `DMPlexGetGeomModelTUV()`, `DMPlexInflat $(_doc_external("DMPlex/DMPlexGetGeomID")) """ function DMPlexGetGeomID(petsclib::PetscLibType, dm::AbstractPetscDM, body::PetscGeom, topoObj::PetscGeom) - error("DMPlexGetGeomID: no generated method for these argument types") + throw(MethodError(DMPlexGetGeomID, (petsclib, dm, body, topoObj))) end @for_petsc function DMPlexGetGeomID(petsclib::$UnionPetscLib, dm::AbstractPetscDM, body::PetscGeom, topoObj::PetscGeom ) @@ -25262,7 +25262,7 @@ See also: `DMPlexGetGeomModelBodyShells()`, `DMPlexGetGeomModelTUV()`, `DMPlexIn $(_doc_external("DMPlex/DMPlexGetGeomModelBodies")) """ function DMPlexGetGeomModelBodies(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexGetGeomModelBodies: no generated method for these argument types") + throw(MethodError(DMPlexGetGeomModelBodies, (petsclib, dm))) end @for_petsc function DMPlexGetGeomModelBodies(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -25304,7 +25304,7 @@ See also: `DMPlexGetGeomModelBodies()`, `DMPlexGetGeomModelTUV()`, `DMPlexInflat $(_doc_external("DMPlex/DMPlexGetGeomModelBodyEdges")) """ function DMPlexGetGeomModelBodyEdges(petsclib::PetscLibType, dm::AbstractPetscDM, body::PetscGeom) - error("DMPlexGetGeomModelBodyEdges: no generated method for these argument types") + throw(MethodError(DMPlexGetGeomModelBodyEdges, (petsclib, dm, body))) end @for_petsc function DMPlexGetGeomModelBodyEdges(petsclib::$UnionPetscLib, dm::AbstractPetscDM, body::PetscGeom ) @@ -25346,7 +25346,7 @@ See also: `DMPlexGetGeomModelBodies()`, `DMPlexGetGeomModelTUV()`, `DMPlexInflat $(_doc_external("DMPlex/DMPlexGetGeomModelBodyFaces")) """ function DMPlexGetGeomModelBodyFaces(petsclib::PetscLibType, dm::AbstractPetscDM, body::PetscGeom) - error("DMPlexGetGeomModelBodyFaces: no generated method for these argument types") + throw(MethodError(DMPlexGetGeomModelBodyFaces, (petsclib, dm, body))) end @for_petsc function DMPlexGetGeomModelBodyFaces(petsclib::$UnionPetscLib, dm::AbstractPetscDM, body::PetscGeom ) @@ -25388,7 +25388,7 @@ See also: `DMPlexGetGeomModelBodies()`, `DMPlexGetGeomModelTUV()`, `DMPlexInflat $(_doc_external("DMPlex/DMPlexGetGeomModelBodyLoops")) """ function DMPlexGetGeomModelBodyLoops(petsclib::PetscLibType, dm::AbstractPetscDM, body::PetscGeom) - error("DMPlexGetGeomModelBodyLoops: no generated method for these argument types") + throw(MethodError(DMPlexGetGeomModelBodyLoops, (petsclib, dm, body))) end @for_petsc function DMPlexGetGeomModelBodyLoops(petsclib::$UnionPetscLib, dm::AbstractPetscDM, body::PetscGeom ) @@ -25430,7 +25430,7 @@ See also: `DMPlexGetGeomModelBodies()`, `DMPlexGetGeomModelTUV()`, `DMPlexInflat $(_doc_external("DMPlex/DMPlexGetGeomModelBodyNodes")) """ function DMPlexGetGeomModelBodyNodes(petsclib::PetscLibType, dm::AbstractPetscDM, body::PetscGeom) - error("DMPlexGetGeomModelBodyNodes: no generated method for these argument types") + throw(MethodError(DMPlexGetGeomModelBodyNodes, (petsclib, dm, body))) end @for_petsc function DMPlexGetGeomModelBodyNodes(petsclib::$UnionPetscLib, dm::AbstractPetscDM, body::PetscGeom ) @@ -25472,7 +25472,7 @@ See also: `DMPlexGetGeomModelBodies()`, `DMPlexGetGeomModelTUV()`, `DMPlexInflat $(_doc_external("DMPlex/DMPlexGetGeomModelBodyShells")) """ function DMPlexGetGeomModelBodyShells(petsclib::PetscLibType, dm::AbstractPetscDM, body::PetscGeom) - error("DMPlexGetGeomModelBodyShells: no generated method for these argument types") + throw(MethodError(DMPlexGetGeomModelBodyShells, (petsclib, dm, body))) end @for_petsc function DMPlexGetGeomModelBodyShells(petsclib::$UnionPetscLib, dm::AbstractPetscDM, body::PetscGeom ) @@ -25515,7 +25515,7 @@ See also: `DMPlexGetGeomModelBodies()`, `DMPlexGetGeomModelTUV()`, `DMPlexInflat $(_doc_external("DMPlex/DMPlexGetGeomModelEdgeNodes")) """ function DMPlexGetGeomModelEdgeNodes(petsclib::PetscLibType, dm::AbstractPetscDM, body::PetscGeom, edge::PetscGeom) - error("DMPlexGetGeomModelEdgeNodes: no generated method for these argument types") + throw(MethodError(DMPlexGetGeomModelEdgeNodes, (petsclib, dm, body, edge))) end @for_petsc function DMPlexGetGeomModelEdgeNodes(petsclib::$UnionPetscLib, dm::AbstractPetscDM, body::PetscGeom, edge::PetscGeom ) @@ -25558,7 +25558,7 @@ See also: `DMPlexGetGeomModelBodies()`, `DMPlexGetGeomModelTUV()`, `DMPlexInflat $(_doc_external("DMPlex/DMPlexGetGeomModelFaceEdges")) """ function DMPlexGetGeomModelFaceEdges(petsclib::PetscLibType, dm::AbstractPetscDM, body::PetscGeom, face::PetscGeom) - error("DMPlexGetGeomModelFaceEdges: no generated method for these argument types") + throw(MethodError(DMPlexGetGeomModelFaceEdges, (petsclib, dm, body, face))) end @for_petsc function DMPlexGetGeomModelFaceEdges(petsclib::$UnionPetscLib, dm::AbstractPetscDM, body::PetscGeom, face::PetscGeom ) @@ -25601,7 +25601,7 @@ See also: `DMPlexGetGeomModelBodies()`, `DMPlexGetGeomModelTUV()`, `DMPlexInflat $(_doc_external("DMPlex/DMPlexGetGeomModelFaceLoops")) """ function DMPlexGetGeomModelFaceLoops(petsclib::PetscLibType, dm::AbstractPetscDM, body::PetscGeom, face::PetscGeom) - error("DMPlexGetGeomModelFaceLoops: no generated method for these argument types") + throw(MethodError(DMPlexGetGeomModelFaceLoops, (petsclib, dm, body, face))) end @for_petsc function DMPlexGetGeomModelFaceLoops(petsclib::$UnionPetscLib, dm::AbstractPetscDM, body::PetscGeom, face::PetscGeom ) @@ -25644,7 +25644,7 @@ See also: `DMPlexGetGeomModelBodies()`, `DMPlexGetGeomModelTUV()`, `DMPlexInflat $(_doc_external("DMPlex/DMPlexGetGeomModelShellFaces")) """ function DMPlexGetGeomModelShellFaces(petsclib::PetscLibType, dm::AbstractPetscDM, body::PetscGeom, shell::PetscGeom) - error("DMPlexGetGeomModelShellFaces: no generated method for these argument types") + throw(MethodError(DMPlexGetGeomModelShellFaces, (petsclib, dm, body, shell))) end @for_petsc function DMPlexGetGeomModelShellFaces(petsclib::$UnionPetscLib, dm::AbstractPetscDM, body::PetscGeom, shell::PetscGeom ) @@ -25681,7 +25681,7 @@ See also: `DMPLEX`, `DMCreate()`, `DMPlexCreateGeom()`, `DMPlexGeomDataAndGrads( $(_doc_external("DMPlex/DMPlexGetGeomModelTUV")) """ function DMPlexGetGeomModelTUV(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexGetGeomModelTUV: no generated method for these argument types") + throw(MethodError(DMPlexGetGeomModelTUV, (petsclib, dm))) end @for_petsc function DMPlexGetGeomModelTUV(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -25720,7 +25720,7 @@ See also: `DMPlexGetGeomModelBodies()`, `DMPlexGetGeomModelTUV()`, `DMPlexInflat $(_doc_external("DMPlex/DMPlexGetGeomObject")) """ function DMPlexGetGeomObject(petsclib::PetscLibType, dm::AbstractPetscDM, body::PetscGeom, geomType::Integer, geomID::Integer) - error("DMPlexGetGeomObject: no generated method for these argument types") + throw(MethodError(DMPlexGetGeomObject, (petsclib, dm, body, geomType, geomID))) end @for_petsc function DMPlexGetGeomObject(petsclib::$UnionPetscLib, dm::AbstractPetscDM, body::PetscGeom, geomType::$PetscInt, geomID::$PetscInt ) @@ -25760,7 +25760,7 @@ See also: `DM`, `DMPLEX`, `DMTSSetRHSFunctionLocal()` $(_doc_external("DMPlex/DMPlexGetGeometryFVM")) """ function DMPlexGetGeometryFVM(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexGetGeometryFVM: no generated method for these argument types") + throw(MethodError(DMPlexGetGeometryFVM, (petsclib, dm))) end @for_petsc function DMPlexGetGeometryFVM(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -25803,7 +25803,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetGeometryFVM()` $(_doc_external("DMPlex/DMPlexGetGradientDM")) """ function DMPlexGetGradientDM(petsclib::PetscLibType, dm::AbstractPetscDM, fv::PetscFV) - error("DMPlexGetGradientDM: no generated method for these argument types") + throw(MethodError(DMPlexGetGradientDM, (petsclib, dm, fv))) end @for_petsc function DMPlexGetGradientDM(petsclib::$UnionPetscLib, dm::AbstractPetscDM, fv::PetscFV ) @@ -25843,7 +25843,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetDepthStratum()`, `DMPlexGetCellTypeStratum() $(_doc_external("DMPlex/DMPlexGetHeightStratum")) """ function DMPlexGetHeightStratum(petsclib::PetscLibType, dm::AbstractPetscDM, height::Integer) - error("DMPlexGetHeightStratum: no generated method for these argument types") + throw(MethodError(DMPlexGetHeightStratum, (petsclib, dm, height))) end @for_petsc function DMPlexGetHeightStratum(petsclib::$UnionPetscLib, dm::AbstractPetscDM, height::$PetscInt ) @@ -25883,7 +25883,7 @@ See also: `DMPlexSetInterpolatePreferTensor()`, `DMPLEX`, `DMPlexInterpolate()`, $(_doc_external("DMPlex/DMPlexGetInterpolatePreferTensor")) """ function DMPlexGetInterpolatePreferTensor(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexGetInterpolatePreferTensor: no generated method for these argument types") + throw(MethodError(DMPlexGetInterpolatePreferTensor, (petsclib, dm))) end @for_petsc function DMPlexGetInterpolatePreferTensor(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -25922,7 +25922,7 @@ See also: `DMPLEX`, `DMGetGlobalSection()`, `DMPlexSetIsoperiodicFaceSF()` $(_doc_external("DMPlex/DMPlexGetIsoperiodicFaceSF")) """ function DMPlexGetIsoperiodicFaceSF(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexGetIsoperiodicFaceSF: no generated method for these argument types") + throw(MethodError(DMPlexGetIsoperiodicFaceSF, (petsclib, dm))) end @for_petsc function DMPlexGetIsoperiodicFaceSF(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -25965,7 +25965,7 @@ See also: `DM`, `DMPLEX`, `DMPlexRestoreJoin()`, `DMPlexGetMeet()` $(_doc_external("DMPlex/DMPlexGetJoin")) """ function DMPlexGetJoin(petsclib::PetscLibType, dm::AbstractPetscDM, numPoints::Integer, points::AbstractVector{<:Number}) - error("DMPlexGetJoin: no generated method for these argument types") + throw(MethodError(DMPlexGetJoin, (petsclib, dm, numPoints, points))) end @for_petsc function DMPlexGetJoin(petsclib::$UnionPetscLib, dm::AbstractPetscDM, numPoints::$PetscInt, points::Vector{$PetscInt} ) @@ -26014,7 +26014,7 @@ See also: `DMPlexGetLocalOffsetsSupport()`, `DM`, `DMPLEX`, `DMLabel`, `DMPlexGe $(_doc_external("DMPlex/DMPlexGetLocalOffsets")) """ function DMPlexGetLocalOffsets(petsclib::PetscLibType, dm::AbstractPetscDM, domain_label::DMLabel, label_value::Integer, height::Integer, dm_field::Integer) - error("DMPlexGetLocalOffsets: no generated method for these argument types") + throw(MethodError(DMPlexGetLocalOffsets, (petsclib, dm, domain_label, label_value, height, dm_field))) end @for_petsc function DMPlexGetLocalOffsets(petsclib::$UnionPetscLib, dm::AbstractPetscDM, domain_label::DMLabel, label_value::$PetscInt, height::$PetscInt, dm_field::$PetscInt ) @@ -26066,7 +26066,7 @@ See also: `DMPlexGetLocalOffsets()`, `DM`, `DMPLEX`, `DMLabel`, `DMPlexGetClosur $(_doc_external("DMPlex/DMPlexGetLocalOffsetsSupport")) """ function DMPlexGetLocalOffsetsSupport(petsclib::PetscLibType, dm::AbstractPetscDM, domain_label::DMLabel, label_value::Integer) - error("DMPlexGetLocalOffsetsSupport: no generated method for these argument types") + throw(MethodError(DMPlexGetLocalOffsetsSupport, (petsclib, dm, domain_label, label_value))) end @for_petsc function DMPlexGetLocalOffsetsSupport(petsclib::$UnionPetscLib, dm::AbstractPetscDM, domain_label::DMLabel, label_value::$PetscInt ) @@ -26111,7 +26111,7 @@ See also: `DM`, `DMPLEX`, `DMPlexSetMaxProjectionHeight()`, `DMProjectFunctionLo $(_doc_external("DMPlex/DMPlexGetMaxProjectionHeight")) """ function DMPlexGetMaxProjectionHeight(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexGetMaxProjectionHeight: no generated method for these argument types") + throw(MethodError(DMPlexGetMaxProjectionHeight, (petsclib, dm))) end @for_petsc function DMPlexGetMaxProjectionHeight(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -26150,7 +26150,7 @@ See also: `DM`, `DMPLEX`, `DMPlexCreate()`, `DMPlexSetConeSize()`, `DMPlexSetCha $(_doc_external("DMPlex/DMPlexGetMaxSizes")) """ function DMPlexGetMaxSizes(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexGetMaxSizes: no generated method for these argument types") + throw(MethodError(DMPlexGetMaxSizes, (petsclib, dm))) end @for_petsc function DMPlexGetMaxSizes(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -26193,7 +26193,7 @@ See also: `DM`, `DMPLEX`, `DMPlexRestoreMeet()`, `DMPlexGetJoin()` $(_doc_external("DMPlex/DMPlexGetMeet")) """ function DMPlexGetMeet(petsclib::PetscLibType, dm::AbstractPetscDM, numPoints::Integer, points::AbstractVector{<:Number}) - error("DMPlexGetMeet: no generated method for these argument types") + throw(MethodError(DMPlexGetMeet, (petsclib, dm, numPoints, points))) end @for_petsc function DMPlexGetMeet(petsclib::$UnionPetscLib, dm::AbstractPetscDM, numPoints::$PetscInt, points::Vector{$PetscInt} ) @@ -26234,7 +26234,7 @@ See also: `DM`, `DMPLEX`, `PetscSF`, `DMPlexDistribute()`, `DMPlexDistributeFiel $(_doc_external("DMPlex/DMPlexGetMigrationSF")) """ function DMPlexGetMigrationSF(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexGetMigrationSF: no generated method for these argument types") + throw(MethodError(DMPlexGetMigrationSF, (petsclib, dm))) end @for_petsc function DMPlexGetMigrationSF(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -26272,7 +26272,7 @@ See also: `DMPLEX`, `DMGetCoordinates()` $(_doc_external("DMPlex/DMPlexGetMinRadius")) """ function DMPlexGetMinRadius(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexGetMinRadius: no generated method for these argument types") + throw(MethodError(DMPlexGetMinRadius, (petsclib, dm))) end @for_petsc function DMPlexGetMinRadius(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -26312,7 +26312,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetCone()` $(_doc_external("DMPlex/DMPlexGetNumFaceVertices")) """ function DMPlexGetNumFaceVertices(petsclib::PetscLibType, dm::AbstractPetscDM, cellDim::Integer, numCorners::Integer) - error("DMPlexGetNumFaceVertices: no generated method for these argument types") + throw(MethodError(DMPlexGetNumFaceVertices, (petsclib, dm, cellDim, numCorners))) end @for_petsc function DMPlexGetNumFaceVertices(petsclib::$UnionPetscLib, dm::AbstractPetscDM, cellDim::$PetscInt, numCorners::$PetscInt ) @@ -26352,7 +26352,7 @@ See also: `DMPLEX`, `DMPlexPermute()`, `MatOrderingType`, `MatGetOrdering()` $(_doc_external("DMPlex/DMPlexGetOrdering")) """ function DMPlexGetOrdering(petsclib::PetscLibType, dm::AbstractPetscDM, otype::String, label::DMLabel) - error("DMPlexGetOrdering: no generated method for these argument types") + throw(MethodError(DMPlexGetOrdering, (petsclib, dm, otype, label))) end @for_petsc function DMPlexGetOrdering(petsclib::$UnionPetscLib, dm::AbstractPetscDM, otype::String, label::DMLabel ) @@ -26390,7 +26390,7 @@ See also: `DMPLEX`, `DMPlexGetOrdering()`, `DMPlexPermute()`, `MatGetOrdering()` $(_doc_external("DMPlex/DMPlexGetOrdering1D")) """ function DMPlexGetOrdering1D(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexGetOrdering1D: no generated method for these argument types") + throw(MethodError(DMPlexGetOrdering1D, (petsclib, dm))) end @for_petsc function DMPlexGetOrdering1D(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -26431,7 +26431,7 @@ See also: `DM`, `DMPLEX`, `DMPlexRestoreOrientedCone()`, `DMPlexGetConeSize()`, $(_doc_external("DMPlex/DMPlexGetOrientedCone")) """ function DMPlexGetOrientedCone(petsclib::PetscLibType, dm::AbstractPetscDM, p::Integer) - error("DMPlexGetOrientedCone: no generated method for these argument types") + throw(MethodError(DMPlexGetOrientedCone, (petsclib, dm, p))) end @for_petsc function DMPlexGetOrientedCone(petsclib::$UnionPetscLib, dm::AbstractPetscDM, p::$PetscInt ) @@ -26481,7 +26481,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetCone()` $(_doc_external("DMPlex/DMPlexGetOrientedFace")) """ function DMPlexGetOrientedFace(petsclib::PetscLibType, dm::AbstractPetscDM, cell::Integer, faceSize::Integer, face::AbstractVector{<:Number}, numCorners::Integer, indices::AbstractVector{<:Number}, origVertices::AbstractVector{<:Number}, faceVertices::AbstractVector{<:Number}) - error("DMPlexGetOrientedFace: no generated method for these argument types") + throw(MethodError(DMPlexGetOrientedFace, (petsclib, dm, cell, faceSize, face, numCorners, indices, origVertices, faceVertices))) end @for_petsc function DMPlexGetOrientedFace(petsclib::$UnionPetscLib, dm::AbstractPetscDM, cell::$PetscInt, faceSize::$PetscInt, face::Vector{$PetscInt}, numCorners::$PetscInt, indices::Vector{$PetscInt}, origVertices::Vector{$PetscInt}, faceVertices::Vector{$PetscInt} ) @@ -26519,7 +26519,7 @@ See also: `DMPLEX`, `DMPlexSetOverlap()`, `DMPlexDistribute()` $(_doc_external("DMPlex/DMPlexGetOverlap")) """ function DMPlexGetOverlap(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexGetOverlap: no generated method for these argument types") + throw(MethodError(DMPlexGetOverlap, (petsclib, dm))) end @for_petsc function DMPlexGetOverlap(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -26555,7 +26555,7 @@ See also: `DMPLEX`, `DMPlexDistribute()`, `DMPlexSetPartitionBalance()` $(_doc_external("DMPlex/DMPlexGetPartitionBalance")) """ function DMPlexGetPartitionBalance(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexGetPartitionBalance: no generated method for these argument types") + throw(MethodError(DMPlexGetPartitionBalance, (petsclib, dm))) end @for_petsc function DMPlexGetPartitionBalance(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -26593,7 +26593,7 @@ See also: `DM`, `DMPLEX`, `PetscPartitioner`, `PetscSection`, `DMPlexDistribute( $(_doc_external("DMPlex/DMPlexGetPartitioner")) """ function DMPlexGetPartitioner(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexGetPartitioner: no generated method for these argument types") + throw(MethodError(DMPlexGetPartitioner, (petsclib, dm))) end @for_petsc function DMPlexGetPartitioner(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -26632,7 +26632,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetCellType()`, `DMPlexGetDepthLabel()`, `DMPle $(_doc_external("DMPlex/DMPlexGetPointDepth")) """ function DMPlexGetPointDepth(petsclib::PetscLibType, dm::AbstractPetscDM, point::Integer) - error("DMPlexGetPointDepth: no generated method for these argument types") + throw(MethodError(DMPlexGetPointDepth, (petsclib, dm, point))) end @for_petsc function DMPlexGetPointDepth(petsclib::$UnionPetscLib, dm::AbstractPetscDM, point::$PetscInt ) @@ -26672,7 +26672,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetPointGlobalField()`, `DMGetLocalSection()`, $(_doc_external("DMPlex/DMPlexGetPointGlobal")) """ function DMPlexGetPointGlobal(petsclib::PetscLibType, dm::AbstractPetscDM, point::Integer) - error("DMPlexGetPointGlobal: no generated method for these argument types") + throw(MethodError(DMPlexGetPointGlobal, (petsclib, dm, point))) end @for_petsc function DMPlexGetPointGlobal(petsclib::$UnionPetscLib, dm::AbstractPetscDM, point::$PetscInt ) @@ -26715,7 +26715,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetPointGlobal()`, `DMGetLocalSection()`, `Pets $(_doc_external("DMPlex/DMPlexGetPointGlobalField")) """ function DMPlexGetPointGlobalField(petsclib::PetscLibType, dm::AbstractPetscDM, point::Integer, field::Integer) - error("DMPlexGetPointGlobalField: no generated method for these argument types") + throw(MethodError(DMPlexGetPointGlobalField, (petsclib, dm, point, field))) end @for_petsc function DMPlexGetPointGlobalField(petsclib::$UnionPetscLib, dm::AbstractPetscDM, point::$PetscInt, field::$PetscInt ) @@ -26756,7 +26756,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetCellType()`, `DMPlexGetDepthLabel()`, `DMPle $(_doc_external("DMPlex/DMPlexGetPointHeight")) """ function DMPlexGetPointHeight(petsclib::PetscLibType, dm::AbstractPetscDM, point::Integer) - error("DMPlexGetPointHeight: no generated method for these argument types") + throw(MethodError(DMPlexGetPointHeight, (petsclib, dm, point))) end @for_petsc function DMPlexGetPointHeight(petsclib::$UnionPetscLib, dm::AbstractPetscDM, point::$PetscInt ) @@ -26796,7 +26796,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetPointLocalField()`, `DMGetLocalSection()`, ` $(_doc_external("DMPlex/DMPlexGetPointLocal")) """ function DMPlexGetPointLocal(petsclib::PetscLibType, dm::AbstractPetscDM, point::Integer) - error("DMPlexGetPointLocal: no generated method for these argument types") + throw(MethodError(DMPlexGetPointLocal, (petsclib, dm, point))) end @for_petsc function DMPlexGetPointLocal(petsclib::$UnionPetscLib, dm::AbstractPetscDM, point::$PetscInt ) @@ -26839,7 +26839,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetPointLocal()`, `DMGetLocalSection()`, `Petsc $(_doc_external("DMPlex/DMPlexGetPointLocalField")) """ function DMPlexGetPointLocalField(petsclib::PetscLibType, dm::AbstractPetscDM, point::Integer, field::Integer) - error("DMPlexGetPointLocalField: no generated method for these argument types") + throw(MethodError(DMPlexGetPointLocalField, (petsclib, dm, point, field))) end @for_petsc function DMPlexGetPointLocalField(petsclib::$UnionPetscLib, dm::AbstractPetscDM, point::$PetscInt, field::$PetscInt ) @@ -26880,7 +26880,7 @@ See also: `DMPLEX`, `DMPlexDistribute()`, `DMPlexGetGatherDM()` $(_doc_external("DMPlex/DMPlexGetRedundantDM")) """ function DMPlexGetRedundantDM(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexGetRedundantDM: no generated method for these argument types") + throw(MethodError(DMPlexGetRedundantDM, (petsclib, dm))) end @for_petsc function DMPlexGetRedundantDM(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -26920,7 +26920,7 @@ See also: `DM`, `DMPLEX`, `DMPlexSetReferenceTree()`, `DMPlexCreateDefaultRefere $(_doc_external("DMPlex/DMPlexGetReferenceTree")) """ function DMPlexGetReferenceTree(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexGetReferenceTree: no generated method for these argument types") + throw(MethodError(DMPlexGetReferenceTree, (petsclib, dm))) end @for_petsc function DMPlexGetReferenceTree(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -26960,7 +26960,7 @@ See also: `DM`, `DMPLEX`, `DMRefine()`, `DMPlexSetRefinementFunction()`, `DMPlex $(_doc_external("DMPlex/DMPlexGetRefinementFunction")) """ function DMPlexGetRefinementFunction(petsclib::PetscLibType, dm::AbstractPetscDM, noname::Ptr{Cvoid}) - error("DMPlexGetRefinementFunction: no generated method for these argument types") + throw(MethodError(DMPlexGetRefinementFunction, (petsclib, dm, noname))) end @for_petsc function DMPlexGetRefinementFunction(petsclib::$UnionPetscLib, dm::AbstractPetscDM, noname::Ptr{Cvoid} ) @@ -26994,7 +26994,7 @@ See also: `DM`, `DMPLEX`, `DMRefine()`, `DMPlexSetRefinementLimit()`, `DMPlexGet $(_doc_external("DMPlex/DMPlexGetRefinementLimit")) """ function DMPlexGetRefinementLimit(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexGetRefinementLimit: no generated method for these argument types") + throw(MethodError(DMPlexGetRefinementLimit, (petsclib, dm))) end @for_petsc function DMPlexGetRefinementLimit(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -27030,7 +27030,7 @@ See also: `DM`, `DMPLEX`, `DMRefine()`, `DMPlexSetRefinementUniform()`, `DMPlexG $(_doc_external("DMPlex/DMPlexGetRefinementUniform")) """ function DMPlexGetRefinementUniform(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexGetRefinementUniform: no generated method for these argument types") + throw(MethodError(DMPlexGetRefinementUniform, (petsclib, dm))) end @for_petsc function DMPlexGetRefinementUniform(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -27066,7 +27066,7 @@ See also: `DM`, `DMPLEX`, `DMPlexSetRegularRefinement()` $(_doc_external("DMPlex/DMPlexGetRegularRefinement")) """ function DMPlexGetRegularRefinement(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexGetRegularRefinement: no generated method for these argument types") + throw(MethodError(DMPlexGetRegularRefinement, (petsclib, dm))) end @for_petsc function DMPlexGetRegularRefinement(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -27104,7 +27104,7 @@ See also: `DM`, `DMPLEX`, `DMPlexTransform`, `DMPlexSetSaveTransform()`, `DMPlex $(_doc_external("DMPlex/DMPlexGetSaveTransform")) """ function DMPlexGetSaveTransform(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexGetSaveTransform: no generated method for these argument types") + throw(MethodError(DMPlexGetSaveTransform, (petsclib, dm))) end @for_petsc function DMPlexGetSaveTransform(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -27143,7 +27143,7 @@ See also: `DM`, `DMPLEX`, `DMPlexSetScale()`, `PetscUnit` $(_doc_external("DMPlex/DMPlexGetScale")) """ function DMPlexGetScale(petsclib::PetscLibType, dm::AbstractPetscDM, unit::PetscUnit) - error("DMPlexGetScale: no generated method for these argument types") + throw(MethodError(DMPlexGetScale, (petsclib, dm, unit))) end @for_petsc function DMPlexGetScale(petsclib::$UnionPetscLib, dm::AbstractPetscDM, unit::PetscUnit ) @@ -27181,7 +27181,7 @@ See also: `DM`, `DMPLEX`, `DMPlexConstructGhostCells()`, `DMPlexGetCellTypeStrat $(_doc_external("DMPlex/DMPlexGetSimplexOrBoxCells")) """ function DMPlexGetSimplexOrBoxCells(petsclib::PetscLibType, dm::AbstractPetscDM, height::Integer) - error("DMPlexGetSimplexOrBoxCells: no generated method for these argument types") + throw(MethodError(DMPlexGetSimplexOrBoxCells, (petsclib, dm, height))) end @for_petsc function DMPlexGetSimplexOrBoxCells(petsclib::$UnionPetscLib, dm::AbstractPetscDM, height::$PetscInt ) @@ -27221,7 +27221,7 @@ See also: `DM`, `DMPLEX`, `PetscSection` $(_doc_external("DMPlex/DMPlexGetSubdomainSection")) """ function DMPlexGetSubdomainSection(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexGetSubdomainSection: no generated method for these argument types") + throw(MethodError(DMPlexGetSubdomainSection, (petsclib, dm))) end @for_petsc function DMPlexGetSubdomainSection(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -27257,7 +27257,7 @@ See also: `DM`, `DMPLEX`, `DMPlexCreateSubmesh()`, `DMPlexGetSubpointMap()` $(_doc_external("DMPlex/DMPlexGetSubpointIS")) """ function DMPlexGetSubpointIS(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexGetSubpointIS: no generated method for these argument types") + throw(MethodError(DMPlexGetSubpointIS, (petsclib, dm))) end @for_petsc function DMPlexGetSubpointIS(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -27293,7 +27293,7 @@ See also: `DM`, `DMPLEX`, `DMPlexCreateSubmesh()`, `DMPlexGetSubpointIS()` $(_doc_external("DMPlex/DMPlexGetSubpointMap")) """ function DMPlexGetSubpointMap(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexGetSubpointMap: no generated method for these argument types") + throw(MethodError(DMPlexGetSubpointMap, (petsclib, dm))) end @for_petsc function DMPlexGetSubpointMap(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -27332,7 +27332,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetSupportSize()`, `DMPlexSetSupport()`, `DMPle $(_doc_external("DMPlex/DMPlexGetSupport")) """ function DMPlexGetSupport(petsclib::PetscLibType, dm::AbstractPetscDM, p::Integer) - error("DMPlexGetSupport: no generated method for these argument types") + throw(MethodError(DMPlexGetSupport, (petsclib, dm, p))) end @for_petsc function DMPlexGetSupport(petsclib::$UnionPetscLib, dm::AbstractPetscDM, p::$PetscInt ) @@ -27371,7 +27371,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetConeSection()`, `PetscSection` $(_doc_external("DMPlex/DMPlexGetSupportSection")) """ function DMPlexGetSupportSection(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexGetSupportSection: no generated method for these argument types") + throw(MethodError(DMPlexGetSupportSection, (petsclib, dm))) end @for_petsc function DMPlexGetSupportSection(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -27410,7 +27410,7 @@ See also: `DM`, `DMPLEX`, `DMPlexCreate()`, `DMPlexSetConeSize()`, `DMPlexSetCha $(_doc_external("DMPlex/DMPlexGetSupportSize")) """ function DMPlexGetSupportSize(petsclib::PetscLibType, dm::AbstractPetscDM, p::Integer) - error("DMPlexGetSupportSize: no generated method for these argument types") + throw(MethodError(DMPlexGetSupportSize, (petsclib, dm, p))) end @for_petsc function DMPlexGetSupportSize(petsclib::$UnionPetscLib, dm::AbstractPetscDM, p::$PetscInt ) @@ -27448,7 +27448,7 @@ See also: `DM`, `DMPLEX`, `DMPlexTransform`, `DMPlexSetTransform()`, `DMPlexSetS $(_doc_external("DMPlex/DMPlexGetTransform")) """ function DMPlexGetTransform(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexGetTransform: no generated method for these argument types") + throw(MethodError(DMPlexGetTransform, (petsclib, dm))) end @for_petsc function DMPlexGetTransform(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -27484,7 +27484,7 @@ See also: `DM`, `DMPLEX`, `DMPlexTransformType`, `DMRefine()`, `DMPlexSetTransfo $(_doc_external("DMPlex/DMPlexGetTransformType")) """ function DMPlexGetTransformType(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexGetTransformType: no generated method for these argument types") + throw(MethodError(DMPlexGetTransformType, (petsclib, dm))) end @for_petsc function DMPlexGetTransformType(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -27529,7 +27529,7 @@ See also: `DM`, `DMPLEX`, `DMPlexRestoreTransitiveClosure()`, `DMPlexCreate()`, $(_doc_external("DMPlex/DMPlexGetTransitiveClosure")) """ function DMPlexGetTransitiveClosure(petsclib::PetscLibType, dm::AbstractPetscDM, p::Integer, useCone::PetscBool) - error("DMPlexGetTransitiveClosure: no generated method for these argument types") + throw(MethodError(DMPlexGetTransitiveClosure, (petsclib, dm, p, useCone))) end @for_petsc function DMPlexGetTransitiveClosure(petsclib::$UnionPetscLib, dm::AbstractPetscDM, p::$PetscInt, useCone::PetscBool ) @@ -27575,7 +27575,7 @@ See also: `DM`, `DMPLEX`, `DMPlexSetTree()`, `DMPlexSetReferenceTree()`, `DMPlex $(_doc_external("DMPlex/DMPlexGetTree")) """ function DMPlexGetTree(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexGetTree: no generated method for these argument types") + throw(MethodError(DMPlexGetTree, (petsclib, dm))) end @for_petsc function DMPlexGetTree(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -27621,7 +27621,7 @@ See also: `DM`, `DMPLEX`, `DMPlexSetTree()`, `DMPlexGetTree()`, `DMPlexGetTreePa $(_doc_external("DMPlex/DMPlexGetTreeChildren")) """ function DMPlexGetTreeChildren(petsclib::PetscLibType, dm::AbstractPetscDM, point::Integer) - error("DMPlexGetTreeChildren: no generated method for these argument types") + throw(MethodError(DMPlexGetTreeChildren, (petsclib, dm, point))) end @for_petsc function DMPlexGetTreeChildren(petsclib::$UnionPetscLib, dm::AbstractPetscDM, point::$PetscInt ) @@ -27662,7 +27662,7 @@ See also: `DM`, `DMPLEX`, `DMPlexSetTree()`, `DMPlexGetTree()`, `DMPlexGetTreeCh $(_doc_external("DMPlex/DMPlexGetTreeParent")) """ function DMPlexGetTreeParent(petsclib::PetscLibType, dm::AbstractPetscDM, point::Integer) - error("DMPlexGetTreeParent: no generated method for these argument types") + throw(MethodError(DMPlexGetTreeParent, (petsclib, dm, point))) end @for_petsc function DMPlexGetTreeParent(petsclib::$UnionPetscLib, dm::AbstractPetscDM, point::$PetscInt ) @@ -27702,7 +27702,7 @@ See also: `DMPlexSetUseMatClosurePermutation()` $(_doc_external("DMPlex/DMPlexGetUseMatClosurePermutation")) """ function DMPlexGetUseMatClosurePermutation(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexGetUseMatClosurePermutation: no generated method for these argument types") + throw(MethodError(DMPlexGetUseMatClosurePermutation, (petsclib, dm))) end @for_petsc function DMPlexGetUseMatClosurePermutation(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -27738,7 +27738,7 @@ See also: `DM`, `DMPLEX`, `DMPlexSetVTKCellHeight()` $(_doc_external("DMPlex/DMPlexGetVTKCellHeight")) """ function DMPlexGetVTKCellHeight(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexGetVTKCellHeight: no generated method for these argument types") + throw(MethodError(DMPlexGetVTKCellHeight, (petsclib, dm))) end @for_petsc function DMPlexGetVTKCellHeight(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -27774,7 +27774,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetCellNumbering()` $(_doc_external("DMPlex/DMPlexGetVertexNumbering")) """ function DMPlexGetVertexNumbering(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexGetVertexNumbering: no generated method for these argument types") + throw(MethodError(DMPlexGetVertexNumbering, (petsclib, dm))) end @for_petsc function DMPlexGetVertexNumbering(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -27811,7 +27811,7 @@ See also: `DM`, `DMPLEX`, `DMPlexLocalToGlobalBasis()`, `DMGetLocalSection()`, ` $(_doc_external("DMPlex/DMPlexGlobalToLocalBasis")) """ function DMPlexGlobalToLocalBasis(petsclib::PetscLibType, dm::AbstractPetscDM, lv::AbstractPetscVec) - error("DMPlexGlobalToLocalBasis: no generated method for these argument types") + throw(MethodError(DMPlexGlobalToLocalBasis, (petsclib, dm, lv))) end @for_petsc function DMPlexGlobalToLocalBasis(petsclib::$UnionPetscLib, dm::AbstractPetscDM, lv::AbstractPetscVec ) @@ -27848,7 +27848,7 @@ See also: `DM`, `DMPLEX`, `Vec`, `DMPlexDistribute()`, `DMPlexDistributeField()` $(_doc_external("DMPlex/DMPlexGlobalToNaturalBegin")) """ function DMPlexGlobalToNaturalBegin(petsclib::PetscLibType, dm::AbstractPetscDM, gv::AbstractPetscVec, nv::AbstractPetscVec) - error("DMPlexGlobalToNaturalBegin: no generated method for these argument types") + throw(MethodError(DMPlexGlobalToNaturalBegin, (petsclib, dm, gv, nv))) end @for_petsc function DMPlexGlobalToNaturalBegin(petsclib::$UnionPetscLib, dm::AbstractPetscDM, gv::AbstractPetscVec, nv::AbstractPetscVec ) @@ -27885,7 +27885,7 @@ See also: `DM`, `DMPLEX`, `Vec`, `DMPlexDistribute()`, `DMPlexDistributeField()` $(_doc_external("DMPlex/DMPlexGlobalToNaturalEnd")) """ function DMPlexGlobalToNaturalEnd(petsclib::PetscLibType, dm::AbstractPetscDM, gv::AbstractPetscVec, nv::AbstractPetscVec) - error("DMPlexGlobalToNaturalEnd: no generated method for these argument types") + throw(MethodError(DMPlexGlobalToNaturalEnd, (petsclib, dm, gv, nv))) end @for_petsc function DMPlexGlobalToNaturalEnd(petsclib::$UnionPetscLib, dm::AbstractPetscDM, gv::AbstractPetscVec, nv::AbstractPetscVec ) @@ -27923,7 +27923,7 @@ See also: `DM`, `DMPLEX`, `DMPlexTopologyLoad()`, `DMPlexSectionLoad()`, `DMPlex $(_doc_external("DMPlex/DMPlexGlobalVectorLoad")) """ function DMPlexGlobalVectorLoad(petsclib::PetscLibType, dm::AbstractPetscDM, viewer::PetscViewer, sectiondm::AbstractPetscDM, sf::PetscSF, vec::AbstractPetscVec) - error("DMPlexGlobalVectorLoad: no generated method for these argument types") + throw(MethodError(DMPlexGlobalVectorLoad, (petsclib, dm, viewer, sectiondm, sf, vec))) end @for_petsc function DMPlexGlobalVectorLoad(petsclib::$UnionPetscLib, dm::AbstractPetscDM, viewer::PetscViewer, sectiondm::AbstractPetscDM, sf::PetscSF, vec::AbstractPetscVec ) @@ -27959,7 +27959,7 @@ See also: `DM`, `DMPLEX`, `DMPlexTopologyView()`, `DMPlexSectionView()`, `DMPlex $(_doc_external("DMPlex/DMPlexGlobalVectorView")) """ function DMPlexGlobalVectorView(petsclib::PetscLibType, dm::AbstractPetscDM, viewer::PetscViewer, sectiondm::AbstractPetscDM, vec::AbstractPetscVec) - error("DMPlexGlobalVectorView: no generated method for these argument types") + throw(MethodError(DMPlexGlobalVectorView, (petsclib, dm, viewer, sectiondm, vec))) end @for_petsc function DMPlexGlobalVectorView(petsclib::$UnionPetscLib, dm::AbstractPetscDM, viewer::PetscViewer, sectiondm::AbstractPetscDM, vec::AbstractPetscVec ) @@ -27995,7 +27995,7 @@ See also: `DMPlexGetGeomModelTUV()`, `DMPlexInflateToGeomModelUseTUV()`, `DMPlex $(_doc_external("DMPlex/DMPlexInflateToGeomModel")) """ function DMPlexInflateToGeomModel(petsclib::PetscLibType, dm::AbstractPetscDM, useTUV::PetscBool) - error("DMPlexInflateToGeomModel: no generated method for these argument types") + throw(MethodError(DMPlexInflateToGeomModel, (petsclib, dm, useTUV))) end @for_petsc function DMPlexInflateToGeomModel(petsclib::$UnionPetscLib, dm::AbstractPetscDM, useTUV::PetscBool ) @@ -28028,7 +28028,7 @@ See also: `DMPLEX`, `DMCreate()`, `DMPlexCreateGeom()`, `DMPlexGeomDataAndGrads( $(_doc_external("DMPlex/DMPlexInflateToGeomModelUseTUV")) """ function DMPlexInflateToGeomModelUseTUV(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexInflateToGeomModelUseTUV: no generated method for these argument types") + throw(MethodError(DMPlexInflateToGeomModelUseTUV, (petsclib, dm))) end @for_petsc function DMPlexInflateToGeomModelUseTUV(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -28061,7 +28061,7 @@ See also: `DM`, `DMPLEX`, `DMCreate()`, `DMPlexCreateEGADS()` $(_doc_external("DMPlex/DMPlexInflateToGeomModelUseXYZ")) """ function DMPlexInflateToGeomModelUseXYZ(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexInflateToGeomModelUseXYZ: no generated method for these argument types") + throw(MethodError(DMPlexInflateToGeomModelUseXYZ, (petsclib, dm))) end @for_petsc function DMPlexInflateToGeomModelUseXYZ(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -28102,7 +28102,7 @@ See also: `DM`, `DMPLEX`, `DMProjectFunctionLabelLocal()`, `DMAddBoundary()` $(_doc_external("DMPlex/DMPlexInsertBoundaryValues")) """ function DMPlexInsertBoundaryValues(petsclib::PetscLibType, dm::AbstractPetscDM, insertEssential::PetscBool, locX::AbstractPetscVec, time::Real, faceGeomFVM::AbstractPetscVec, cellGeomFVM::AbstractPetscVec, gradFVM::AbstractPetscVec) - error("DMPlexInsertBoundaryValues: no generated method for these argument types") + throw(MethodError(DMPlexInsertBoundaryValues, (petsclib, dm, insertEssential, locX, time, faceGeomFVM, cellGeomFVM, gradFVM))) end @for_petsc function DMPlexInsertBoundaryValues(petsclib::$UnionPetscLib, dm::AbstractPetscDM, insertEssential::PetscBool, locX::AbstractPetscVec, time::$PetscReal, faceGeomFVM::AbstractPetscVec, cellGeomFVM::AbstractPetscVec, gradFVM::AbstractPetscVec ) @@ -28145,7 +28145,7 @@ See also: `DM`, `DMPLEX`, `DMLabel`, `DMPlexInsertBoundaryValuesEssentialField() $(_doc_external("DMPlex/DMPlexInsertBoundaryValuesEssential")) """ function DMPlexInsertBoundaryValuesEssential(petsclib::PetscLibType, dm::AbstractPetscDM, time::Real, field::Integer, Nc::Integer, comps::AbstractVector{<:Number}, label::DMLabel, numids::Integer, ids::AbstractVector{<:Number}, func::external, ctx::Ptr{Cvoid}, locX::AbstractPetscVec) - error("DMPlexInsertBoundaryValuesEssential: no generated method for these argument types") + throw(MethodError(DMPlexInsertBoundaryValuesEssential, (petsclib, dm, time, field, Nc, comps, label, numids, ids, func, ctx, locX))) end @for_petsc function DMPlexInsertBoundaryValuesEssential(petsclib::$UnionPetscLib, dm::AbstractPetscDM, time::$PetscReal, field::$PetscInt, Nc::$PetscInt, comps::Vector{$PetscInt}, label::DMLabel, numids::$PetscInt, ids::Vector{$PetscInt}, func::external, ctx::Ptr{Cvoid}, locX::AbstractPetscVec ) @@ -28191,7 +28191,7 @@ See also: `DM`, `DMPLEX`, `DMProjectBdFieldLabelLocal()`, `DMPlexInsertBoundaryV $(_doc_external("DMPlex/DMPlexInsertBoundaryValuesEssentialBdField")) """ function DMPlexInsertBoundaryValuesEssentialBdField(petsclib::PetscLibType, dm::AbstractPetscDM, time::Real, locU::AbstractPetscVec, field::Integer, Nc::Integer, comps::AbstractVector{<:Number}, label::DMLabel, numids::Integer, ids::AbstractVector{<:Number}, func::external, ctx::Ptr{Cvoid}, locX::AbstractPetscVec) - error("DMPlexInsertBoundaryValuesEssentialBdField: no generated method for these argument types") + throw(MethodError(DMPlexInsertBoundaryValuesEssentialBdField, (petsclib, dm, time, locU, field, Nc, comps, label, numids, ids, func, ctx, locX))) end @for_petsc function DMPlexInsertBoundaryValuesEssentialBdField(petsclib::$UnionPetscLib, dm::AbstractPetscDM, time::$PetscReal, locU::AbstractPetscVec, field::$PetscInt, Nc::$PetscInt, comps::Vector{$PetscInt}, label::DMLabel, numids::$PetscInt, ids::Vector{$PetscInt}, func::external, ctx::Ptr{Cvoid}, locX::AbstractPetscVec ) @@ -28235,7 +28235,7 @@ See also: `DM`, `DMPLEX`, `DMPlexInsertBoundaryValuesEssential()`, `DMPlexInsert $(_doc_external("DMPlex/DMPlexInsertBoundaryValuesEssentialField")) """ function DMPlexInsertBoundaryValuesEssentialField(petsclib::PetscLibType, dm::AbstractPetscDM, time::Real, locU::AbstractPetscVec, field::Integer, Nc::Integer, comps::AbstractVector{<:Number}, label::DMLabel, numids::Integer, ids::AbstractVector{<:Number}, func::external, ctx::Ptr{Cvoid}, locX::AbstractPetscVec) - error("DMPlexInsertBoundaryValuesEssentialField: no generated method for these argument types") + throw(MethodError(DMPlexInsertBoundaryValuesEssentialField, (petsclib, dm, time, locU, field, Nc, comps, label, numids, ids, func, ctx, locX))) end @for_petsc function DMPlexInsertBoundaryValuesEssentialField(petsclib::$UnionPetscLib, dm::AbstractPetscDM, time::$PetscReal, locU::AbstractPetscVec, field::$PetscInt, Nc::$PetscInt, comps::Vector{$PetscInt}, label::DMLabel, numids::$PetscInt, ids::Vector{$PetscInt}, func::external, ctx::Ptr{Cvoid}, locX::AbstractPetscVec ) @@ -28275,7 +28275,7 @@ See also: `DM`, `DMPLEX`, `PetscFV`, `DMPlexInsertBoundaryValues()`, `DMPlexReco $(_doc_external("DMPlex/DMPlexInsertBoundaryValuesFVM")) """ function DMPlexInsertBoundaryValuesFVM(petsclib::PetscLibType, dm::AbstractPetscDM, fv::PetscFV, locX::AbstractPetscVec, time::Real) - error("DMPlexInsertBoundaryValuesFVM: no generated method for these argument types") + throw(MethodError(DMPlexInsertBoundaryValuesFVM, (petsclib, dm, fv, locX, time))) end @for_petsc function DMPlexInsertBoundaryValuesFVM(petsclib::$UnionPetscLib, dm::AbstractPetscDM, fv::PetscFV, locX::AbstractPetscVec, time::$PetscReal ) @@ -28323,7 +28323,7 @@ See also: `DM`, `DMPLEX`, `DMPlexInsertBoundaryValuesEssential()`, `DMPlexInsert $(_doc_external("DMPlex/DMPlexInsertBoundaryValuesRiemann")) """ function DMPlexInsertBoundaryValuesRiemann(petsclib::PetscLibType, dm::AbstractPetscDM, time::Real, faceGeometry::AbstractPetscVec, cellGeometry::AbstractPetscVec, Grad::AbstractPetscVec, field::Integer, Nc::Integer, comps::AbstractVector{<:Number}, label::DMLabel, numids::Integer, ids::AbstractVector{<:Number}, func::external, ctx::Ptr{Cvoid}, locX::AbstractPetscVec) - error("DMPlexInsertBoundaryValuesRiemann: no generated method for these argument types") + throw(MethodError(DMPlexInsertBoundaryValuesRiemann, (petsclib, dm, time, faceGeometry, cellGeometry, Grad, field, Nc, comps, label, numids, ids, func, ctx, locX))) end @for_petsc function DMPlexInsertBoundaryValuesRiemann(petsclib::$UnionPetscLib, dm::AbstractPetscDM, time::$PetscReal, faceGeometry::AbstractPetscVec, cellGeometry::AbstractPetscVec, Grad::AbstractPetscVec, field::$PetscInt, Nc::$PetscInt, comps::Vector{$PetscInt}, label::DMLabel, numids::$PetscInt, ids::Vector{$PetscInt}, func::external, ctx::Ptr{Cvoid}, locX::AbstractPetscVec ) @@ -28361,7 +28361,7 @@ See also: `DM`, `DMPLEX`, `DMProjectFunctionLabelLocal()`, `PetscDSAddBoundary() $(_doc_external("DMPlex/DMPlexInsertBounds")) """ function DMPlexInsertBounds(petsclib::PetscLibType, dm::AbstractPetscDM, lower::PetscBool, time::Real, locB::AbstractPetscVec) - error("DMPlexInsertBounds: no generated method for these argument types") + throw(MethodError(DMPlexInsertBounds, (petsclib, dm, lower, time, locB))) end @for_petsc function DMPlexInsertBounds(petsclib::$UnionPetscLib, dm::AbstractPetscDM, lower::PetscBool, time::$PetscReal, locB::AbstractPetscVec ) @@ -28397,7 +28397,7 @@ See also: `DM`, `DMPLEX`, `DMPlexCreate()`, `DMPlexGetCone()`, `DMPlexSetChart() $(_doc_external("DMPlex/DMPlexInsertCone")) """ function DMPlexInsertCone(petsclib::PetscLibType, dm::AbstractPetscDM, p::Integer, conePos::Integer, conePoint::Integer) - error("DMPlexInsertCone: no generated method for these argument types") + throw(MethodError(DMPlexInsertCone, (petsclib, dm, p, conePos, conePoint))) end @for_petsc function DMPlexInsertCone(petsclib::$UnionPetscLib, dm::AbstractPetscDM, p::$PetscInt, conePos::$PetscInt, conePoint::$PetscInt ) @@ -28433,7 +28433,7 @@ See also: `DM`, `DMPLEX`, `DMPlexCreate()`, `DMPlexGetCone()`, `DMPlexSetChart() $(_doc_external("DMPlex/DMPlexInsertConeOrientation")) """ function DMPlexInsertConeOrientation(petsclib::PetscLibType, dm::AbstractPetscDM, p::Integer, conePos::Integer, coneOrientation::Integer) - error("DMPlexInsertConeOrientation: no generated method for these argument types") + throw(MethodError(DMPlexInsertConeOrientation, (petsclib, dm, p, conePos, coneOrientation))) end @for_petsc function DMPlexInsertConeOrientation(petsclib::$UnionPetscLib, dm::AbstractPetscDM, p::$PetscInt, conePos::$PetscInt, coneOrientation::$PetscInt ) @@ -28469,7 +28469,7 @@ See also: `DM`, `DMPLEX`, `DMPlexCreate()`, `DMPlexGetCone()`, `DMPlexSetChart() $(_doc_external("DMPlex/DMPlexInsertSupport")) """ function DMPlexInsertSupport(petsclib::PetscLibType, dm::AbstractPetscDM, p::Integer, supportPos::Integer, supportPoint::Integer) - error("DMPlexInsertSupport: no generated method for these argument types") + throw(MethodError(DMPlexInsertSupport, (petsclib, dm, p, supportPos, supportPoint))) end @for_petsc function DMPlexInsertSupport(petsclib::$UnionPetscLib, dm::AbstractPetscDM, p::$PetscInt, supportPos::$PetscInt, supportPoint::$PetscInt ) @@ -28508,7 +28508,7 @@ See also: `DM`, `DMPLEX`, `DMProjectFunctionLabelLocal()` $(_doc_external("DMPlex/DMPlexInsertTimeDerivativeBoundaryValues")) """ function DMPlexInsertTimeDerivativeBoundaryValues(petsclib::PetscLibType, dm::AbstractPetscDM, insertEssential::PetscBool, locX_t::AbstractPetscVec, time::Real, faceGeomFVM::AbstractPetscVec, cellGeomFVM::AbstractPetscVec, gradFVM::AbstractPetscVec) - error("DMPlexInsertTimeDerivativeBoundaryValues: no generated method for these argument types") + throw(MethodError(DMPlexInsertTimeDerivativeBoundaryValues, (petsclib, dm, insertEssential, locX_t, time, faceGeomFVM, cellGeomFVM, gradFVM))) end @for_petsc function DMPlexInsertTimeDerivativeBoundaryValues(petsclib::$UnionPetscLib, dm::AbstractPetscDM, insertEssential::PetscBool, locX_t::AbstractPetscVec, time::$PetscReal, faceGeomFVM::AbstractPetscVec, cellGeomFVM::AbstractPetscVec, gradFVM::AbstractPetscVec ) @@ -28544,7 +28544,7 @@ See also: `DMPLEX`, `DMPlexUninterpolate()`, `DMPlexCreateFromCellListPetsc()`, $(_doc_external("DMPlex/DMPlexInterpolate")) """ function DMPlexInterpolate(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexInterpolate: no generated method for these argument types") + throw(MethodError(DMPlexInterpolate, (petsclib, dm))) end @for_petsc function DMPlexInterpolate(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -28580,7 +28580,7 @@ See also: `DMPLEX`, `DMPlexInterpolate()`, `DMPlexUninterpolate()` $(_doc_external("DMPlex/DMPlexInterpolatePointSF")) """ function DMPlexInterpolatePointSF(petsclib::PetscLibType, dm::AbstractPetscDM, pointSF::PetscSF) - error("DMPlexInterpolatePointSF: no generated method for these argument types") + throw(MethodError(DMPlexInterpolatePointSF, (petsclib, dm, pointSF))) end @for_petsc function DMPlexInterpolatePointSF(petsclib::$UnionPetscLib, dm::AbstractPetscDM, pointSF::PetscSF ) @@ -28615,7 +28615,7 @@ See also: `DM`, `DMPLEX`, `DMPolytopeType`, `DMPlexGenerate()` $(_doc_external("DMPlex/DMPlexInvertCell")) """ function DMPlexInvertCell(petsclib::PetscLibType, cellType::DMPolytopeType, cone::AbstractVector{<:Number}) - error("DMPlexInvertCell: no generated method for these argument types") + throw(MethodError(DMPlexInvertCell, (petsclib, cellType, cone))) end @for_petsc function DMPlexInvertCell(petsclib::$UnionPetscLib, cellType::DMPolytopeType, cone::Vector{$PetscInt} ) @@ -28651,7 +28651,7 @@ See also: `DMPLEX`, `DMPlexDistribute()`, `DMPlexGetOverlap()`, `DMPlexIsInterpo $(_doc_external("DMPlex/DMPlexIsDistributed")) """ function DMPlexIsDistributed(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexIsDistributed: no generated method for these argument types") + throw(MethodError(DMPlexIsDistributed, (petsclib, dm))) end @for_petsc function DMPlexIsDistributed(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -28689,7 +28689,7 @@ See also: `DMPLEX`, `DMPlexInterpolate()`, `DMPlexIsInterpolatedCollective()` $(_doc_external("DMPlex/DMPlexIsInterpolated")) """ function DMPlexIsInterpolated(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexIsInterpolated: no generated method for these argument types") + throw(MethodError(DMPlexIsInterpolated, (petsclib, dm))) end @for_petsc function DMPlexIsInterpolated(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -28727,7 +28727,7 @@ See also: `DMPLEX`, `DMPlexInterpolate()`, `DMPlexIsInterpolated()` $(_doc_external("DMPlex/DMPlexIsInterpolatedCollective")) """ function DMPlexIsInterpolatedCollective(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexIsInterpolatedCollective: no generated method for these argument types") + throw(MethodError(DMPlexIsInterpolatedCollective, (petsclib, dm))) end @for_petsc function DMPlexIsInterpolatedCollective(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -28763,7 +28763,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetSimplexOrBoxCells()`, `DMPlexGetCellType()`, $(_doc_external("DMPlex/DMPlexIsSimplex")) """ function DMPlexIsSimplex(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexIsSimplex: no generated method for these argument types") + throw(MethodError(DMPlexIsSimplex, (petsclib, dm))) end @for_petsc function DMPlexIsSimplex(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -28800,7 +28800,7 @@ See also: `DM`, `DMPLEX`, `DMPlexLabelAddFaceCells()`, `DMPlexLabelComplete()`, $(_doc_external("DMPlex/DMPlexLabelAddCells")) """ function DMPlexLabelAddCells(petsclib::PetscLibType, dm::AbstractPetscDM, label::DMLabel) - error("DMPlexLabelAddCells: no generated method for these argument types") + throw(MethodError(DMPlexLabelAddCells, (petsclib, dm, label))) end @for_petsc function DMPlexLabelAddCells(petsclib::$UnionPetscLib, dm::AbstractPetscDM, label::DMLabel ) @@ -28835,7 +28835,7 @@ See also: `DM`, `DMPLEX`, `DMPlexLabelAddCells()`, `DMPlexLabelComplete()`, `DMP $(_doc_external("DMPlex/DMPlexLabelAddFaceCells")) """ function DMPlexLabelAddFaceCells(petsclib::PetscLibType, dm::AbstractPetscDM, label::DMLabel) - error("DMPlexLabelAddFaceCells: no generated method for these argument types") + throw(MethodError(DMPlexLabelAddFaceCells, (petsclib, dm, label))) end @for_petsc function DMPlexLabelAddFaceCells(petsclib::$UnionPetscLib, dm::AbstractPetscDM, label::DMLabel ) @@ -28870,7 +28870,7 @@ See also: `DM`, `DMPLEX`, `DMPlexLabelComplete()`, `DMPlexLabelCohesiveComplete( $(_doc_external("DMPlex/DMPlexLabelClearCells")) """ function DMPlexLabelClearCells(petsclib::PetscLibType, dm::AbstractPetscDM, label::DMLabel) - error("DMPlexLabelClearCells: no generated method for these argument types") + throw(MethodError(DMPlexLabelClearCells, (petsclib, dm, label))) end @for_petsc function DMPlexLabelClearCells(petsclib::$UnionPetscLib, dm::AbstractPetscDM, label::DMLabel ) @@ -28911,7 +28911,7 @@ See also: `DM`, `DMPLEX`, `DMPlexConstructCohesiveCells()`, `DMPlexLabelComplete $(_doc_external("DMPlex/DMPlexLabelCohesiveComplete")) """ function DMPlexLabelCohesiveComplete(petsclib::PetscLibType, dm::AbstractPetscDM, label::DMLabel, blabel::DMLabel, bvalue::Integer, flip::PetscBool, split::PetscBool, subdm::AbstractPetscDM) - error("DMPlexLabelCohesiveComplete: no generated method for these argument types") + throw(MethodError(DMPlexLabelCohesiveComplete, (petsclib, dm, label, blabel, bvalue, flip, split, subdm))) end @for_petsc function DMPlexLabelCohesiveComplete(petsclib::$UnionPetscLib, dm::AbstractPetscDM, label::DMLabel, blabel::DMLabel, bvalue::$PetscInt, flip::PetscBool, split::PetscBool, subdm::AbstractPetscDM ) @@ -28946,7 +28946,7 @@ See also: `DM`, `DMPLEX`, `DMPlexLabelCohesiveComplete()` $(_doc_external("DMPlex/DMPlexLabelComplete")) """ function DMPlexLabelComplete(petsclib::PetscLibType, dm::AbstractPetscDM, label::DMLabel) - error("DMPlexLabelComplete: no generated method for these argument types") + throw(MethodError(DMPlexLabelComplete, (petsclib, dm, label))) end @for_petsc function DMPlexLabelComplete(petsclib::$UnionPetscLib, dm::AbstractPetscDM, label::DMLabel ) @@ -28982,7 +28982,7 @@ See also: `DM`, `DMPLEX`, `DMLoad()`, `DMPlexTopologyLoad()`, `DMPlexCoordinates $(_doc_external("DMPlex/DMPlexLabelsLoad")) """ function DMPlexLabelsLoad(petsclib::PetscLibType, dm::AbstractPetscDM, viewer::PetscViewer, globalToLocalPointSF::PetscSF) - error("DMPlexLabelsLoad: no generated method for these argument types") + throw(MethodError(DMPlexLabelsLoad, (petsclib, dm, viewer, globalToLocalPointSF))) end @for_petsc function DMPlexLabelsLoad(petsclib::$UnionPetscLib, dm::AbstractPetscDM, viewer::PetscViewer, globalToLocalPointSF::PetscSF ) @@ -29016,7 +29016,7 @@ See also: `DM`, `DMPLEX`, `DMView()`, `DMPlexTopologyView()`, `DMPlexCoordinates $(_doc_external("DMPlex/DMPlexLabelsView")) """ function DMPlexLabelsView(petsclib::PetscLibType, dm::AbstractPetscDM, viewer::PetscViewer) - error("DMPlexLabelsView: no generated method for these argument types") + throw(MethodError(DMPlexLabelsView, (petsclib, dm, viewer))) end @for_petsc function DMPlexLabelsView(petsclib::$UnionPetscLib, dm::AbstractPetscDM, viewer::PetscViewer ) @@ -29054,7 +29054,7 @@ See also: `DMPlexLandauCreateVelocitySpace()` $(_doc_external("LANDAU/DMPlexLandauAccess")) """ function DMPlexLandauAccess(petsclib::PetscLibType, pack::AbstractPetscDM, X::AbstractPetscVec, func::external, user_ctx::Ptr{Cvoid}) - error("DMPlexLandauAccess: no generated method for these argument types") + throw(MethodError(DMPlexLandauAccess, (petsclib, pack, X, func, user_ctx))) end @for_petsc function DMPlexLandauAccess(petsclib::$UnionPetscLib, pack::AbstractPetscDM, X::AbstractPetscVec, func::external, user_ctx::Ptr{Cvoid} ) @@ -29097,7 +29097,7 @@ See also: `DMPlexLandauCreateVelocitySpace()` $(_doc_external("LANDAU/DMPlexLandauAddMaxwellians")) """ function DMPlexLandauAddMaxwellians(petsclib::PetscLibType, dm::AbstractPetscDM, X::AbstractPetscVec, time::Real, temps::AbstractVector{<:Number}, ns::AbstractVector{<:Number}, grid::Integer, b_id::Integer, n_batch::Integer, actx::Ptr{Cvoid}) - error("DMPlexLandauAddMaxwellians: no generated method for these argument types") + throw(MethodError(DMPlexLandauAddMaxwellians, (petsclib, dm, X, time, temps, ns, grid, b_id, n_batch, actx))) end @for_petsc function DMPlexLandauAddMaxwellians(petsclib::$UnionPetscLib, dm::AbstractPetscDM, X::AbstractPetscVec, time::$PetscReal, temps::Vector{$PetscReal}, ns::Vector{$PetscReal}, grid::$PetscInt, b_id::$PetscInt, n_batch::$PetscInt, actx::Ptr{Cvoid} ) @@ -29134,7 +29134,7 @@ See also: `DMPlexLandauCreateVelocitySpace()` $(_doc_external("LANDAU/DMPlexLandauCreateMassMatrix")) """ function DMPlexLandauCreateMassMatrix(petsclib::PetscLibType, pack::AbstractPetscDM) - error("DMPlexLandauCreateMassMatrix: no generated method for these argument types") + throw(MethodError(DMPlexLandauCreateMassMatrix, (petsclib, pack))) end @for_petsc function DMPlexLandauCreateMassMatrix(petsclib::$UnionPetscLib, pack::AbstractPetscDM ) @@ -29176,7 +29176,7 @@ See also: `DMPlexCreate()`, `DMPlexLandauDestroyVelocitySpace()` $(_doc_external("LANDAU/DMPlexLandauCreateVelocitySpace")) """ function DMPlexLandauCreateVelocitySpace(petsclib::PetscLibType, comm::MPI_Comm, dim::Integer, prefix::String) - error("DMPlexLandauCreateVelocitySpace: no generated method for these argument types") + throw(MethodError(DMPlexLandauCreateVelocitySpace, (petsclib, comm, dim, prefix))) end @for_petsc function DMPlexLandauCreateVelocitySpace(petsclib::$UnionPetscLib, comm::MPI_Comm, dim::$PetscInt, prefix::String ) @@ -29215,7 +29215,7 @@ See also: `DMPlexLandauCreateVelocitySpace()` $(_doc_external("LANDAU/DMPlexLandauDestroyVelocitySpace")) """ function DMPlexLandauDestroyVelocitySpace(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexLandauDestroyVelocitySpace: no generated method for these argument types") + throw(MethodError(DMPlexLandauDestroyVelocitySpace, (petsclib, dm))) end @for_petsc function DMPlexLandauDestroyVelocitySpace(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -29257,7 +29257,7 @@ See also: `DMPlexLandauCreateVelocitySpace()`, `DMPlexLandauIJacobian()` $(_doc_external("LANDAU/DMPlexLandauIFunction")) """ function DMPlexLandauIFunction(petsclib::PetscLibType, ts::AbstractTS, time_dummy::Real, X::AbstractPetscVec, X_t::AbstractPetscVec, F::AbstractPetscVec, actx::Ptr{Cvoid}) - error("DMPlexLandauIFunction: no generated method for these argument types") + throw(MethodError(DMPlexLandauIFunction, (petsclib, ts, time_dummy, X, X_t, F, actx))) end @for_petsc function DMPlexLandauIFunction(petsclib::$UnionPetscLib, ts::AbstractTS, time_dummy::$PetscReal, X::AbstractPetscVec, X_t::AbstractPetscVec, F::AbstractPetscVec, actx::Ptr{Cvoid} ) @@ -29299,7 +29299,7 @@ See also: `DMPlexLandauCreateVelocitySpace()`, `DMPlexLandauIFunction()` $(_doc_external("LANDAU/DMPlexLandauIJacobian")) """ function DMPlexLandauIJacobian(petsclib::PetscLibType, ts::AbstractTS, time_dummy::Real, X::AbstractPetscVec, U_tdummy::AbstractPetscVec, shift::Real, Amat::AbstractPetscMat, Pmat::AbstractPetscMat, actx::Ptr{Cvoid}) - error("DMPlexLandauIJacobian: no generated method for these argument types") + throw(MethodError(DMPlexLandauIJacobian, (petsclib, ts, time_dummy, X, U_tdummy, shift, Amat, Pmat, actx))) end @for_petsc function DMPlexLandauIJacobian(petsclib::$UnionPetscLib, ts::AbstractTS, time_dummy::$PetscReal, X::AbstractPetscVec, U_tdummy::AbstractPetscVec, shift::$PetscReal, Amat::AbstractPetscMat, Pmat::AbstractPetscMat, actx::Ptr{Cvoid} ) @@ -29333,7 +29333,7 @@ See also: `DMPlexLandauCreateVelocitySpace()` $(_doc_external("LANDAU/DMPlexLandauPrintNorms")) """ function DMPlexLandauPrintNorms(petsclib::PetscLibType, X::AbstractPetscVec, stepi::Integer) - error("DMPlexLandauPrintNorms: no generated method for these argument types") + throw(MethodError(DMPlexLandauPrintNorms, (petsclib, X, stepi))) end @for_petsc function DMPlexLandauPrintNorms(petsclib::$UnionPetscLib, X::AbstractPetscVec, stepi::$PetscInt ) @@ -29368,7 +29368,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGlobalToLocalBasis()`, `DMGetLocalSection()`, ` $(_doc_external("DMPlex/DMPlexLocalToGlobalBasis")) """ function DMPlexLocalToGlobalBasis(petsclib::PetscLibType, dm::AbstractPetscDM, lv::AbstractPetscVec) - error("DMPlexLocalToGlobalBasis: no generated method for these argument types") + throw(MethodError(DMPlexLocalToGlobalBasis, (petsclib, dm, lv))) end @for_petsc function DMPlexLocalToGlobalBasis(petsclib::$UnionPetscLib, dm::AbstractPetscDM, lv::AbstractPetscVec ) @@ -29406,7 +29406,7 @@ See also: `DM`, `DMPLEX`, `DMPlexTopologyLoad()`, `DMPlexSectionLoad()`, `DMPlex $(_doc_external("DMPlex/DMPlexLocalVectorLoad")) """ function DMPlexLocalVectorLoad(petsclib::PetscLibType, dm::AbstractPetscDM, viewer::PetscViewer, sectiondm::AbstractPetscDM, sf::PetscSF, vec::AbstractPetscVec) - error("DMPlexLocalVectorLoad: no generated method for these argument types") + throw(MethodError(DMPlexLocalVectorLoad, (petsclib, dm, viewer, sectiondm, sf, vec))) end @for_petsc function DMPlexLocalVectorLoad(petsclib::$UnionPetscLib, dm::AbstractPetscDM, viewer::PetscViewer, sectiondm::AbstractPetscDM, sf::PetscSF, vec::AbstractPetscVec ) @@ -29442,7 +29442,7 @@ See also: `DM`, `DMPLEX`, `DMPlexTopologyView()`, `DMPlexSectionView()`, `DMPlex $(_doc_external("DMPlex/DMPlexLocalVectorView")) """ function DMPlexLocalVectorView(petsclib::PetscLibType, dm::AbstractPetscDM, viewer::PetscViewer, sectiondm::AbstractPetscDM, vec::AbstractPetscVec) - error("DMPlexLocalVectorView: no generated method for these argument types") + throw(MethodError(DMPlexLocalVectorView, (petsclib, dm, viewer, sectiondm, vec))) end @for_petsc function DMPlexLocalVectorView(petsclib::$UnionPetscLib, dm::AbstractPetscDM, viewer::PetscViewer, sectiondm::AbstractPetscDM, vec::AbstractPetscVec ) @@ -29479,7 +29479,7 @@ See also: `DM`, `DMPLEX`, `DMLabelCreate()`, `DMCreateLabel()` $(_doc_external("DMPlex/DMPlexMarkBoundaryFaces")) """ function DMPlexMarkBoundaryFaces(petsclib::PetscLibType, dm::AbstractPetscDM, val::Integer, label::DMLabel) - error("DMPlexMarkBoundaryFaces: no generated method for these argument types") + throw(MethodError(DMPlexMarkBoundaryFaces, (petsclib, dm, val, label))) end @for_petsc function DMPlexMarkBoundaryFaces(petsclib::$UnionPetscLib, dm::AbstractPetscDM, val::$PetscInt, label::DMLabel ) @@ -29522,7 +29522,7 @@ See also: `DM`, `DMPLEX`, `DMPlexMatSetClosureRefined()`, `DMPlexGetClosureIndic $(_doc_external("DMPlex/DMPlexMatGetClosureIndicesRefined")) """ function DMPlexMatGetClosureIndicesRefined(petsclib::PetscLibType, dmf::AbstractPetscDM, fsection::PetscSection, globalFSection::PetscSection, dmc::AbstractPetscDM, csection::PetscSection, globalCSection::PetscSection, point::Integer, cindices::AbstractVector{<:Number}, findices::AbstractVector{<:Number}) - error("DMPlexMatGetClosureIndicesRefined: no generated method for these argument types") + throw(MethodError(DMPlexMatGetClosureIndicesRefined, (petsclib, dmf, fsection, globalFSection, dmc, csection, globalCSection, point, cindices, findices))) end @for_petsc function DMPlexMatGetClosureIndicesRefined(petsclib::$UnionPetscLib, dmf::AbstractPetscDM, fsection::PetscSection, globalFSection::PetscSection, dmc::AbstractPetscDM, csection::PetscSection, globalCSection::PetscSection, point::$PetscInt, cindices::Vector{$PetscInt}, findices::Vector{$PetscInt} ) @@ -29561,7 +29561,7 @@ See also: `DM`, `DMPLEX`, `DMPlexMatSetClosureGeneral()`, `DMPlexVecGetClosure() $(_doc_external("DMPlex/DMPlexMatSetClosure")) """ function DMPlexMatSetClosure(petsclib::PetscLibType, dm::AbstractPetscDM, section::PetscSection, globalSection::PetscSection, A::AbstractPetscMat, point::Integer, values::AbstractVector{<:Number}, mode::InsertMode) - error("DMPlexMatSetClosure: no generated method for these argument types") + throw(MethodError(DMPlexMatSetClosure, (petsclib, dm, section, globalSection, A, point, values, mode))) end @for_petsc function DMPlexMatSetClosure(petsclib::$UnionPetscLib, dm::AbstractPetscDM, section::PetscSection, globalSection::PetscSection, A::AbstractPetscMat, point::$PetscInt, values::Vector{$PetscScalar}, mode::InsertMode ) @@ -29605,7 +29605,7 @@ See also: `DM`, `DMPLEX`, `DMPlexMatSetClosure()`, `DMPlexVecGetClosure()`, `DMP $(_doc_external("DMPlex/DMPlexMatSetClosureGeneral")) """ function DMPlexMatSetClosureGeneral(petsclib::PetscLibType, dmRow::AbstractPetscDM, sectionRow::PetscSection, globalSectionRow::PetscSection, useRowPerm::PetscBool, dmCol::AbstractPetscDM, sectionCol::PetscSection, globalSectionCol::PetscSection, useColPerm::PetscBool, A::AbstractPetscMat, point::Integer, values::AbstractVector{<:Number}, mode::InsertMode) - error("DMPlexMatSetClosureGeneral: no generated method for these argument types") + throw(MethodError(DMPlexMatSetClosureGeneral, (petsclib, dmRow, sectionRow, globalSectionRow, useRowPerm, dmCol, sectionCol, globalSectionCol, useColPerm, A, point, values, mode))) end @for_petsc function DMPlexMatSetClosureGeneral(petsclib::$UnionPetscLib, dmRow::AbstractPetscDM, sectionRow::PetscSection, globalSectionRow::PetscSection, useRowPerm::PetscBool, dmCol::AbstractPetscDM, sectionCol::PetscSection, globalSectionCol::PetscSection, useColPerm::PetscBool, A::AbstractPetscMat, point::$PetscInt, values::Vector{$PetscScalar}, mode::InsertMode ) @@ -29647,7 +29647,7 @@ See also: `DM`, `DMPLEX`, `DMPlexMatSetClosure()`, `DMPlexMatGetClosureIndicesRe $(_doc_external("DMPlex/DMPlexMatSetClosureRefined")) """ function DMPlexMatSetClosureRefined(petsclib::PetscLibType, dmf::AbstractPetscDM, fsection::PetscSection, globalFSection::PetscSection, dmc::AbstractPetscDM, csection::PetscSection, globalCSection::PetscSection, A::AbstractPetscMat, point::Integer, values::AbstractVector{<:Number}, mode::InsertMode) - error("DMPlexMatSetClosureRefined: no generated method for these argument types") + throw(MethodError(DMPlexMatSetClosureRefined, (petsclib, dmf, fsection, globalFSection, dmc, csection, globalCSection, A, point, values, mode))) end @for_petsc function DMPlexMatSetClosureRefined(petsclib::$UnionPetscLib, dmf::AbstractPetscDM, fsection::PetscSection, globalFSection::PetscSection, dmc::AbstractPetscDM, csection::PetscSection, globalCSection::PetscSection, A::AbstractPetscMat, point::$PetscInt, values::Vector{$PetscScalar}, mode::InsertMode ) @@ -29684,7 +29684,7 @@ See also: `DMPLEX`, `DMPlexMetricAverage2()`, `DMPlexMetricAverage3()`, `DMPlexM $(_doc_external("DMPlex/DMPlexMetricAverage")) """ function DMPlexMetricAverage(petsclib::PetscLibType, dm::AbstractPetscDM, numMetrics::Integer, weights::AbstractVector{<:Number}, metrics::Vector{<:AbstractPetscVec}, metricAvg::AbstractPetscVec) - error("DMPlexMetricAverage: no generated method for these argument types") + throw(MethodError(DMPlexMetricAverage, (petsclib, dm, numMetrics, weights, metrics, metricAvg))) end @for_petsc function DMPlexMetricAverage(petsclib::$UnionPetscLib, dm::AbstractPetscDM, numMetrics::$PetscInt, weights::Vector{$PetscReal}, metrics::Vector{<:AbstractPetscVec}, metricAvg::AbstractPetscVec ) @@ -29720,7 +29720,7 @@ See also: `DMPLEX`, `DMPlexMetricAverage()`, `DMPlexMetricAverage3()` $(_doc_external("DMPlex/DMPlexMetricAverage2")) """ function DMPlexMetricAverage2(petsclib::PetscLibType, dm::AbstractPetscDM, metric1::AbstractPetscVec, metric2::AbstractPetscVec, metricAvg::AbstractPetscVec) - error("DMPlexMetricAverage2: no generated method for these argument types") + throw(MethodError(DMPlexMetricAverage2, (petsclib, dm, metric1, metric2, metricAvg))) end @for_petsc function DMPlexMetricAverage2(petsclib::$UnionPetscLib, dm::AbstractPetscDM, metric1::AbstractPetscVec, metric2::AbstractPetscVec, metricAvg::AbstractPetscVec ) @@ -29757,7 +29757,7 @@ See also: `DMPLEX`, `DMPlexMetricAverage()`, `DMPlexMetricAverage2()` $(_doc_external("DMPlex/DMPlexMetricAverage3")) """ function DMPlexMetricAverage3(petsclib::PetscLibType, dm::AbstractPetscDM, metric1::AbstractPetscVec, metric2::AbstractPetscVec, metric3::AbstractPetscVec, metricAvg::AbstractPetscVec) - error("DMPlexMetricAverage3: no generated method for these argument types") + throw(MethodError(DMPlexMetricAverage3, (petsclib, dm, metric1, metric2, metric3, metricAvg))) end @for_petsc function DMPlexMetricAverage3(petsclib::$UnionPetscLib, dm::AbstractPetscDM, metric1::AbstractPetscVec, metric2::AbstractPetscVec, metric3::AbstractPetscVec, metricAvg::AbstractPetscVec ) @@ -29813,7 +29813,7 @@ See also: `DMPLEX`, `DMPlexMetricCreateUniform()`, `DMPlexMetricCreateIsotropic( $(_doc_external("DMPlex/DMPlexMetricCreate")) """ function DMPlexMetricCreate(petsclib::PetscLibType, dm::AbstractPetscDM, f::Integer) - error("DMPlexMetricCreate: no generated method for these argument types") + throw(MethodError(DMPlexMetricCreate, (petsclib, dm, f))) end @for_petsc function DMPlexMetricCreate(petsclib::$UnionPetscLib, dm::AbstractPetscDM, f::$PetscInt ) @@ -29851,7 +29851,7 @@ See also: `DMPLEX`, `DMPlexMetricCreate()`, `DMPlexMetricCreateUniform()` $(_doc_external("DMPlex/DMPlexMetricCreateIsotropic")) """ function DMPlexMetricCreateIsotropic(petsclib::PetscLibType, dm::AbstractPetscDM, f::Integer, indicator::AbstractPetscVec) - error("DMPlexMetricCreateIsotropic: no generated method for these argument types") + throw(MethodError(DMPlexMetricCreateIsotropic, (petsclib, dm, f, indicator))) end @for_petsc function DMPlexMetricCreateIsotropic(petsclib::$UnionPetscLib, dm::AbstractPetscDM, f::$PetscInt, indicator::AbstractPetscVec ) @@ -29889,7 +29889,7 @@ See also: `DMPLEX`, `DMPlexMetricCreate()`, `DMPlexMetricCreateIsotropic()` $(_doc_external("DMPlex/DMPlexMetricCreateUniform")) """ function DMPlexMetricCreateUniform(petsclib::PetscLibType, dm::AbstractPetscDM, f::Integer, alpha::Real) - error("DMPlexMetricCreateUniform: no generated method for these argument types") + throw(MethodError(DMPlexMetricCreateUniform, (petsclib, dm, f, alpha))) end @for_petsc function DMPlexMetricCreateUniform(petsclib::$UnionPetscLib, dm::AbstractPetscDM, f::$PetscInt, alpha::$PetscReal ) @@ -29927,7 +29927,7 @@ See also: `DMPLEX`, `DMPlexMetricCreateUniform()`, `DMPlexMetricCreateIsotropic( $(_doc_external("DMPlex/DMPlexMetricDeterminantCreate")) """ function DMPlexMetricDeterminantCreate(petsclib::PetscLibType, dm::AbstractPetscDM, f::Integer) - error("DMPlexMetricDeterminantCreate: no generated method for these argument types") + throw(MethodError(DMPlexMetricDeterminantCreate, (petsclib, dm, f))) end @for_petsc function DMPlexMetricDeterminantCreate(petsclib::$UnionPetscLib, dm::AbstractPetscDM, f::$PetscInt ) @@ -29976,7 +29976,7 @@ See also: `DMPLEX`, `DMPlexMetricNormalize()`, `DMPlexMetricIntersection()` $(_doc_external("DMPlex/DMPlexMetricEnforceSPD")) """ function DMPlexMetricEnforceSPD(petsclib::PetscLibType, dm::AbstractPetscDM, metricIn::AbstractPetscVec, restrictSizes::PetscBool, restrictAnisotropy::PetscBool, metricOut::AbstractPetscVec, determinant::AbstractPetscVec) - error("DMPlexMetricEnforceSPD: no generated method for these argument types") + throw(MethodError(DMPlexMetricEnforceSPD, (petsclib, dm, metricIn, restrictSizes, restrictAnisotropy, metricOut, determinant))) end @for_petsc function DMPlexMetricEnforceSPD(petsclib::$UnionPetscLib, dm::AbstractPetscDM, metricIn::AbstractPetscVec, restrictSizes::PetscBool, restrictAnisotropy::PetscBool, metricOut::AbstractPetscVec, determinant::AbstractPetscVec ) @@ -30010,7 +30010,7 @@ See also: `DMPLEX`, `DMPlexMetricSetGradationFactor()`, `DMPlexMetricGetHausdorf $(_doc_external("DMPlex/DMPlexMetricGetGradationFactor")) """ function DMPlexMetricGetGradationFactor(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexMetricGetGradationFactor: no generated method for these argument types") + throw(MethodError(DMPlexMetricGetGradationFactor, (petsclib, dm))) end @for_petsc function DMPlexMetricGetGradationFactor(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -30046,7 +30046,7 @@ See also: `DMPLEX`, `DMPlexMetricGetGradationFactor()`, `DMPlexMetricSetHausdorf $(_doc_external("DMPlex/DMPlexMetricGetHausdorffNumber")) """ function DMPlexMetricGetHausdorffNumber(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexMetricGetHausdorffNumber: no generated method for these argument types") + throw(MethodError(DMPlexMetricGetHausdorffNumber, (petsclib, dm))) end @for_petsc function DMPlexMetricGetHausdorffNumber(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -30082,7 +30082,7 @@ See also: `DMPLEX`, `DMPlexMetricSetMaximumAnisotropy()`, `DMPlexMetricGetMaximu $(_doc_external("DMPlex/DMPlexMetricGetMaximumAnisotropy")) """ function DMPlexMetricGetMaximumAnisotropy(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexMetricGetMaximumAnisotropy: no generated method for these argument types") + throw(MethodError(DMPlexMetricGetMaximumAnisotropy, (petsclib, dm))) end @for_petsc function DMPlexMetricGetMaximumAnisotropy(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -30118,7 +30118,7 @@ See also: `DMPLEX`, `DMPlexMetricSetMaximumMagnitude()`, `DMPlexMetricGetMinimum $(_doc_external("DMPlex/DMPlexMetricGetMaximumMagnitude")) """ function DMPlexMetricGetMaximumMagnitude(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexMetricGetMaximumMagnitude: no generated method for these argument types") + throw(MethodError(DMPlexMetricGetMaximumMagnitude, (petsclib, dm))) end @for_petsc function DMPlexMetricGetMaximumMagnitude(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -30154,7 +30154,7 @@ See also: `DMPLEX`, `DMPlexMetricSetMinimumMagnitude()`, `DMPlexMetricGetMaximum $(_doc_external("DMPlex/DMPlexMetricGetMinimumMagnitude")) """ function DMPlexMetricGetMinimumMagnitude(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexMetricGetMinimumMagnitude: no generated method for these argument types") + throw(MethodError(DMPlexMetricGetMinimumMagnitude, (petsclib, dm))) end @for_petsc function DMPlexMetricGetMinimumMagnitude(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -30190,7 +30190,7 @@ See also: `DMPLEX`, `DMPlexMetricSetNormalizationOrder()`, `DMPlexMetricGetTarge $(_doc_external("DMPlex/DMPlexMetricGetNormalizationOrder")) """ function DMPlexMetricGetNormalizationOrder(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexMetricGetNormalizationOrder: no generated method for these argument types") + throw(MethodError(DMPlexMetricGetNormalizationOrder, (petsclib, dm))) end @for_petsc function DMPlexMetricGetNormalizationOrder(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -30226,7 +30226,7 @@ See also: `DMPLEX`, `DMPlexMetricSetNumIterations()`, `DMPlexMetricGetVerbosity( $(_doc_external("DMPlex/DMPlexMetricGetNumIterations")) """ function DMPlexMetricGetNumIterations(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexMetricGetNumIterations: no generated method for these argument types") + throw(MethodError(DMPlexMetricGetNumIterations, (petsclib, dm))) end @for_petsc function DMPlexMetricGetNumIterations(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -30262,7 +30262,7 @@ See also: `DMPLEX`, `DMPlexMetricSetTargetComplexity()`, `DMPlexMetricGetNormali $(_doc_external("DMPlex/DMPlexMetricGetTargetComplexity")) """ function DMPlexMetricGetTargetComplexity(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexMetricGetTargetComplexity: no generated method for these argument types") + throw(MethodError(DMPlexMetricGetTargetComplexity, (petsclib, dm))) end @for_petsc function DMPlexMetricGetTargetComplexity(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -30298,7 +30298,7 @@ See also: `DMPLEX`, `DMPlexMetricSetVerbosity()`, `DMPlexMetricGetNumIterations( $(_doc_external("DMPlex/DMPlexMetricGetVerbosity")) """ function DMPlexMetricGetVerbosity(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexMetricGetVerbosity: no generated method for these argument types") + throw(MethodError(DMPlexMetricGetVerbosity, (petsclib, dm))) end @for_petsc function DMPlexMetricGetVerbosity(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -30336,7 +30336,7 @@ See also: `DMPLEX`, `DMPlexMetricIntersection2()`, `DMPlexMetricIntersection3()` $(_doc_external("DMPlex/DMPlexMetricIntersection")) """ function DMPlexMetricIntersection(petsclib::PetscLibType, dm::AbstractPetscDM, numMetrics::Integer, metrics::Vector{<:AbstractPetscVec}, metricInt::AbstractPetscVec) - error("DMPlexMetricIntersection: no generated method for these argument types") + throw(MethodError(DMPlexMetricIntersection, (petsclib, dm, numMetrics, metrics, metricInt))) end @for_petsc function DMPlexMetricIntersection(petsclib::$UnionPetscLib, dm::AbstractPetscDM, numMetrics::$PetscInt, metrics::Vector{<:AbstractPetscVec}, metricInt::AbstractPetscVec ) @@ -30372,7 +30372,7 @@ See also: `DMPLEX`, `DMPlexMetricIntersection()`, `DMPlexMetricIntersection3()` $(_doc_external("DMPlex/DMPlexMetricIntersection2")) """ function DMPlexMetricIntersection2(petsclib::PetscLibType, dm::AbstractPetscDM, metric1::AbstractPetscVec, metric2::AbstractPetscVec, metricInt::AbstractPetscVec) - error("DMPlexMetricIntersection2: no generated method for these argument types") + throw(MethodError(DMPlexMetricIntersection2, (petsclib, dm, metric1, metric2, metricInt))) end @for_petsc function DMPlexMetricIntersection2(petsclib::$UnionPetscLib, dm::AbstractPetscDM, metric1::AbstractPetscVec, metric2::AbstractPetscVec, metricInt::AbstractPetscVec ) @@ -30409,7 +30409,7 @@ See also: `DMPLEX`, `DMPlexMetricIntersection()`, `DMPlexMetricIntersection2()` $(_doc_external("DMPlex/DMPlexMetricIntersection3")) """ function DMPlexMetricIntersection3(petsclib::PetscLibType, dm::AbstractPetscDM, metric1::AbstractPetscVec, metric2::AbstractPetscVec, metric3::AbstractPetscVec, metricInt::AbstractPetscVec) - error("DMPlexMetricIntersection3: no generated method for these argument types") + throw(MethodError(DMPlexMetricIntersection3, (petsclib, dm, metric1, metric2, metric3, metricInt))) end @for_petsc function DMPlexMetricIntersection3(petsclib::$UnionPetscLib, dm::AbstractPetscDM, metric1::AbstractPetscVec, metric2::AbstractPetscVec, metric3::AbstractPetscVec, metricInt::AbstractPetscVec ) @@ -30443,7 +30443,7 @@ See also: `DMPLEX`, `DMPlexMetricSetIsotropic()`, `DMPlexMetricIsUniform()`, `DM $(_doc_external("DMPlex/DMPlexMetricIsIsotropic")) """ function DMPlexMetricIsIsotropic(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexMetricIsIsotropic: no generated method for these argument types") + throw(MethodError(DMPlexMetricIsIsotropic, (petsclib, dm))) end @for_petsc function DMPlexMetricIsIsotropic(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -30479,7 +30479,7 @@ See also: `DMPLEX`, `DMPlexMetricSetUniform()`, `DMPlexMetricIsIsotropic()`, `DM $(_doc_external("DMPlex/DMPlexMetricIsUniform")) """ function DMPlexMetricIsUniform(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexMetricIsUniform: no generated method for these argument types") + throw(MethodError(DMPlexMetricIsUniform, (petsclib, dm))) end @for_petsc function DMPlexMetricIsUniform(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -30515,7 +30515,7 @@ See also: `DMPLEX`, `DMPlexMetricSetNoInsertion()`, `DMPlexMetricNoSwapping()`, $(_doc_external("DMPlex/DMPlexMetricNoInsertion")) """ function DMPlexMetricNoInsertion(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexMetricNoInsertion: no generated method for these argument types") + throw(MethodError(DMPlexMetricNoInsertion, (petsclib, dm))) end @for_petsc function DMPlexMetricNoInsertion(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -30551,7 +30551,7 @@ See also: `DMPLEX`, `DMPlexMetricSetNoMovement()`, `DMPlexMetricNoInsertion()`, $(_doc_external("DMPlex/DMPlexMetricNoMovement")) """ function DMPlexMetricNoMovement(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexMetricNoMovement: no generated method for these argument types") + throw(MethodError(DMPlexMetricNoMovement, (petsclib, dm))) end @for_petsc function DMPlexMetricNoMovement(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -30587,7 +30587,7 @@ See also: `DMPLEX`, `DMPlexMetricSetNoSurf()`, `DMPlexMetricNoMovement()`, `DMPl $(_doc_external("DMPlex/DMPlexMetricNoSurf")) """ function DMPlexMetricNoSurf(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexMetricNoSurf: no generated method for these argument types") + throw(MethodError(DMPlexMetricNoSurf, (petsclib, dm))) end @for_petsc function DMPlexMetricNoSurf(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -30623,7 +30623,7 @@ See also: `DMPLEX`, `DMPlexMetricSetNoSwapping()`, `DMPlexMetricNoInsertion()`, $(_doc_external("DMPlex/DMPlexMetricNoSwapping")) """ function DMPlexMetricNoSwapping(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexMetricNoSwapping: no generated method for these argument types") + throw(MethodError(DMPlexMetricNoSwapping, (petsclib, dm))) end @for_petsc function DMPlexMetricNoSwapping(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -30673,7 +30673,7 @@ See also: `DMPLEX`, `DMPlexMetricEnforceSPD()`, `DMPlexMetricIntersection()` $(_doc_external("DMPlex/DMPlexMetricNormalize")) """ function DMPlexMetricNormalize(petsclib::PetscLibType, dm::AbstractPetscDM, metricIn::AbstractPetscVec, restrictSizes::PetscBool, restrictAnisotropy::PetscBool, metricOut::AbstractPetscVec, determinant::AbstractPetscVec) - error("DMPlexMetricNormalize: no generated method for these argument types") + throw(MethodError(DMPlexMetricNormalize, (petsclib, dm, metricIn, restrictSizes, restrictAnisotropy, metricOut, determinant))) end @for_petsc function DMPlexMetricNormalize(petsclib::$UnionPetscLib, dm::AbstractPetscDM, metricIn::AbstractPetscVec, restrictSizes::PetscBool, restrictAnisotropy::PetscBool, metricOut::AbstractPetscVec, determinant::AbstractPetscVec ) @@ -30707,7 +30707,7 @@ See also: `DMPLEX`, `DMPlexMetricIsIsotropic()`, `DMPlexMetricSetRestrictAnisotr $(_doc_external("DMPlex/DMPlexMetricRestrictAnisotropyFirst")) """ function DMPlexMetricRestrictAnisotropyFirst(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexMetricRestrictAnisotropyFirst: no generated method for these argument types") + throw(MethodError(DMPlexMetricRestrictAnisotropyFirst, (petsclib, dm))) end @for_petsc function DMPlexMetricRestrictAnisotropyFirst(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -30760,7 +30760,7 @@ See also: `DM`, `DMPLEX`, `DMPlexMetricSetIsotropic()`, `DMPlexMetricSetUniform( $(_doc_external("DMPlex/DMPlexMetricSetFromOptions")) """ function DMPlexMetricSetFromOptions(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexMetricSetFromOptions: no generated method for these argument types") + throw(MethodError(DMPlexMetricSetFromOptions, (petsclib, dm))) end @for_petsc function DMPlexMetricSetFromOptions(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -30792,7 +30792,7 @@ See also: `DMPLEX`, `DMPlexMetricGetGradationFactor()`, `DMPlexMetricSetHausdorf $(_doc_external("DMPlex/DMPlexMetricSetGradationFactor")) """ function DMPlexMetricSetGradationFactor(petsclib::PetscLibType, dm::AbstractPetscDM, beta::Real) - error("DMPlexMetricSetGradationFactor: no generated method for these argument types") + throw(MethodError(DMPlexMetricSetGradationFactor, (petsclib, dm, beta))) end @for_petsc function DMPlexMetricSetGradationFactor(petsclib::$UnionPetscLib, dm::AbstractPetscDM, beta::$PetscReal ) @@ -30824,7 +30824,7 @@ See also: `DMPLEX`, `DMPlexMetricSetGradationFactor()`, `DMPlexMetricGetHausdorf $(_doc_external("DMPlex/DMPlexMetricSetHausdorffNumber")) """ function DMPlexMetricSetHausdorffNumber(petsclib::PetscLibType, dm::AbstractPetscDM, hausd::Real) - error("DMPlexMetricSetHausdorffNumber: no generated method for these argument types") + throw(MethodError(DMPlexMetricSetHausdorffNumber, (petsclib, dm, hausd))) end @for_petsc function DMPlexMetricSetHausdorffNumber(petsclib::$UnionPetscLib, dm::AbstractPetscDM, hausd::$PetscReal ) @@ -30856,7 +30856,7 @@ See also: `DMPLEX`, `DMPlexMetricIsIsotropic()`, `DMPlexMetricSetUniform()`, `DM $(_doc_external("DMPlex/DMPlexMetricSetIsotropic")) """ function DMPlexMetricSetIsotropic(petsclib::PetscLibType, dm::AbstractPetscDM, isotropic::PetscBool) - error("DMPlexMetricSetIsotropic: no generated method for these argument types") + throw(MethodError(DMPlexMetricSetIsotropic, (petsclib, dm, isotropic))) end @for_petsc function DMPlexMetricSetIsotropic(petsclib::$UnionPetscLib, dm::AbstractPetscDM, isotropic::PetscBool ) @@ -30888,7 +30888,7 @@ See also: `DMPLEX`, `DMPlexMetricGetMaximumAnisotropy()`, `DMPlexMetricSetMaximu $(_doc_external("DMPlex/DMPlexMetricSetMaximumAnisotropy")) """ function DMPlexMetricSetMaximumAnisotropy(petsclib::PetscLibType, dm::AbstractPetscDM, a_max::Real) - error("DMPlexMetricSetMaximumAnisotropy: no generated method for these argument types") + throw(MethodError(DMPlexMetricSetMaximumAnisotropy, (petsclib, dm, a_max))) end @for_petsc function DMPlexMetricSetMaximumAnisotropy(petsclib::$UnionPetscLib, dm::AbstractPetscDM, a_max::$PetscReal ) @@ -30920,7 +30920,7 @@ See also: `DMPLEX`, `DMPlexMetricGetMaximumMagnitude()`, `DMPlexMetricSetMinimum $(_doc_external("DMPlex/DMPlexMetricSetMaximumMagnitude")) """ function DMPlexMetricSetMaximumMagnitude(petsclib::PetscLibType, dm::AbstractPetscDM, h_max::Real) - error("DMPlexMetricSetMaximumMagnitude: no generated method for these argument types") + throw(MethodError(DMPlexMetricSetMaximumMagnitude, (petsclib, dm, h_max))) end @for_petsc function DMPlexMetricSetMaximumMagnitude(petsclib::$UnionPetscLib, dm::AbstractPetscDM, h_max::$PetscReal ) @@ -30952,7 +30952,7 @@ See also: `DMPLEX`, `DMPlexMetricGetMinimumMagnitude()`, `DMPlexMetricSetMaximum $(_doc_external("DMPlex/DMPlexMetricSetMinimumMagnitude")) """ function DMPlexMetricSetMinimumMagnitude(petsclib::PetscLibType, dm::AbstractPetscDM, h_min::Real) - error("DMPlexMetricSetMinimumMagnitude: no generated method for these argument types") + throw(MethodError(DMPlexMetricSetMinimumMagnitude, (petsclib, dm, h_min))) end @for_petsc function DMPlexMetricSetMinimumMagnitude(petsclib::$UnionPetscLib, dm::AbstractPetscDM, h_min::$PetscReal ) @@ -30984,7 +30984,7 @@ See also: `DMPLEX`, `DMPlexMetricNoInsertion()`, `DMPlexMetricSetNoSwapping()`, $(_doc_external("DMPlex/DMPlexMetricSetNoInsertion")) """ function DMPlexMetricSetNoInsertion(petsclib::PetscLibType, dm::AbstractPetscDM, noInsert::PetscBool) - error("DMPlexMetricSetNoInsertion: no generated method for these argument types") + throw(MethodError(DMPlexMetricSetNoInsertion, (petsclib, dm, noInsert))) end @for_petsc function DMPlexMetricSetNoInsertion(petsclib::$UnionPetscLib, dm::AbstractPetscDM, noInsert::PetscBool ) @@ -31016,7 +31016,7 @@ See also: `DMPLEX`, `DMPlexMetricNoMovement()`, `DMPlexMetricSetNoInsertion()`, $(_doc_external("DMPlex/DMPlexMetricSetNoMovement")) """ function DMPlexMetricSetNoMovement(petsclib::PetscLibType, dm::AbstractPetscDM, noMove::PetscBool) - error("DMPlexMetricSetNoMovement: no generated method for these argument types") + throw(MethodError(DMPlexMetricSetNoMovement, (petsclib, dm, noMove))) end @for_petsc function DMPlexMetricSetNoMovement(petsclib::$UnionPetscLib, dm::AbstractPetscDM, noMove::PetscBool ) @@ -31048,7 +31048,7 @@ See also: `DMPLEX`, `DMPlexMetricNoSurf()`, `DMPlexMetricSetNoMovement()`, `DMPl $(_doc_external("DMPlex/DMPlexMetricSetNoSurf")) """ function DMPlexMetricSetNoSurf(petsclib::PetscLibType, dm::AbstractPetscDM, noSurf::PetscBool) - error("DMPlexMetricSetNoSurf: no generated method for these argument types") + throw(MethodError(DMPlexMetricSetNoSurf, (petsclib, dm, noSurf))) end @for_petsc function DMPlexMetricSetNoSurf(petsclib::$UnionPetscLib, dm::AbstractPetscDM, noSurf::PetscBool ) @@ -31080,7 +31080,7 @@ See also: `DMPLEX`, `DMPlexMetricNoSwapping()`, `DMPlexMetricSetNoInsertion()`, $(_doc_external("DMPlex/DMPlexMetricSetNoSwapping")) """ function DMPlexMetricSetNoSwapping(petsclib::PetscLibType, dm::AbstractPetscDM, noSwap::PetscBool) - error("DMPlexMetricSetNoSwapping: no generated method for these argument types") + throw(MethodError(DMPlexMetricSetNoSwapping, (petsclib, dm, noSwap))) end @for_petsc function DMPlexMetricSetNoSwapping(petsclib::$UnionPetscLib, dm::AbstractPetscDM, noSwap::PetscBool ) @@ -31112,7 +31112,7 @@ See also: `DMPLEX`, `DMPlexMetricGetNormalizationOrder()`, `DMPlexMetricSetTarge $(_doc_external("DMPlex/DMPlexMetricSetNormalizationOrder")) """ function DMPlexMetricSetNormalizationOrder(petsclib::PetscLibType, dm::AbstractPetscDM, p::Real) - error("DMPlexMetricSetNormalizationOrder: no generated method for these argument types") + throw(MethodError(DMPlexMetricSetNormalizationOrder, (petsclib, dm, p))) end @for_petsc function DMPlexMetricSetNormalizationOrder(petsclib::$UnionPetscLib, dm::AbstractPetscDM, p::$PetscReal ) @@ -31144,7 +31144,7 @@ See also: `DMPLEX`, `DMPlexMetricSetVerbosity()`, `DMPlexMetricGetNumIterations( $(_doc_external("DMPlex/DMPlexMetricSetNumIterations")) """ function DMPlexMetricSetNumIterations(petsclib::PetscLibType, dm::AbstractPetscDM, numIter::Integer) - error("DMPlexMetricSetNumIterations: no generated method for these argument types") + throw(MethodError(DMPlexMetricSetNumIterations, (petsclib, dm, numIter))) end @for_petsc function DMPlexMetricSetNumIterations(petsclib::$UnionPetscLib, dm::AbstractPetscDM, numIter::$PetscInt ) @@ -31176,7 +31176,7 @@ See also: `DMPLEX`, `DMPlexMetricSetIsotropic()`, `DMPlexMetricRestrictAnisotrop $(_doc_external("DMPlex/DMPlexMetricSetRestrictAnisotropyFirst")) """ function DMPlexMetricSetRestrictAnisotropyFirst(petsclib::PetscLibType, dm::AbstractPetscDM, restrictAnisotropyFirst::PetscBool) - error("DMPlexMetricSetRestrictAnisotropyFirst: no generated method for these argument types") + throw(MethodError(DMPlexMetricSetRestrictAnisotropyFirst, (petsclib, dm, restrictAnisotropyFirst))) end @for_petsc function DMPlexMetricSetRestrictAnisotropyFirst(petsclib::$UnionPetscLib, dm::AbstractPetscDM, restrictAnisotropyFirst::PetscBool ) @@ -31208,7 +31208,7 @@ See also: `DMPLEX`, `DMPlexMetricGetTargetComplexity()`, `DMPlexMetricSetNormali $(_doc_external("DMPlex/DMPlexMetricSetTargetComplexity")) """ function DMPlexMetricSetTargetComplexity(petsclib::PetscLibType, dm::AbstractPetscDM, targetComplexity::Real) - error("DMPlexMetricSetTargetComplexity: no generated method for these argument types") + throw(MethodError(DMPlexMetricSetTargetComplexity, (petsclib, dm, targetComplexity))) end @for_petsc function DMPlexMetricSetTargetComplexity(petsclib::$UnionPetscLib, dm::AbstractPetscDM, targetComplexity::$PetscReal ) @@ -31240,7 +31240,7 @@ See also: `DMPLEX`, `DMPlexMetricIsUniform()`, `DMPlexMetricSetIsotropic()`, `DM $(_doc_external("DMPlex/DMPlexMetricSetUniform")) """ function DMPlexMetricSetUniform(petsclib::PetscLibType, dm::AbstractPetscDM, uniform::PetscBool) - error("DMPlexMetricSetUniform: no generated method for these argument types") + throw(MethodError(DMPlexMetricSetUniform, (petsclib, dm, uniform))) end @for_petsc function DMPlexMetricSetUniform(petsclib::$UnionPetscLib, dm::AbstractPetscDM, uniform::PetscBool ) @@ -31272,7 +31272,7 @@ See also: `DMPLEX`, `DMPlexMetricGetVerbosity()`, `DMPlexMetricSetNumIterations( $(_doc_external("DMPlex/DMPlexMetricSetVerbosity")) """ function DMPlexMetricSetVerbosity(petsclib::PetscLibType, dm::AbstractPetscDM, verbosity::Integer) - error("DMPlexMetricSetVerbosity: no generated method for these argument types") + throw(MethodError(DMPlexMetricSetVerbosity, (petsclib, dm, verbosity))) end @for_petsc function DMPlexMetricSetVerbosity(petsclib::$UnionPetscLib, dm::AbstractPetscDM, verbosity::$PetscInt ) @@ -31309,7 +31309,7 @@ See also: `DMPLEX`, `PetscSF`, `DM`, `DMPlexDistribute()`, `DMPlexDistributeOver $(_doc_external("DMPlex/DMPlexMigrate")) """ function DMPlexMigrate(petsclib::PetscLibType, dm::AbstractPetscDM, sf::PetscSF, targetDM::AbstractPetscDM) - error("DMPlexMigrate: no generated method for these argument types") + throw(MethodError(DMPlexMigrate, (petsclib, dm, sf, targetDM))) end @for_petsc function DMPlexMigrate(petsclib::$UnionPetscLib, dm::AbstractPetscDM, sf::PetscSF, targetDM::AbstractPetscDM ) @@ -31346,7 +31346,7 @@ See also: `DM`, `DMPLEX`, `PetscSF`, `PetscSection`, `DMPlexDistribute()`, `DMPl $(_doc_external("DMPlex/DMPlexMigrateGlobalToNaturalSF")) """ function DMPlexMigrateGlobalToNaturalSF(petsclib::PetscLibType, dmOld::AbstractPetscDM, dmNew::AbstractPetscDM, sfNaturalOld::PetscSF, sfMigration::PetscSF) - error("DMPlexMigrateGlobalToNaturalSF: no generated method for these argument types") + throw(MethodError(DMPlexMigrateGlobalToNaturalSF, (petsclib, dmOld, dmNew, sfNaturalOld, sfMigration))) end @for_petsc function DMPlexMigrateGlobalToNaturalSF(petsclib::$UnionPetscLib, dmOld::AbstractPetscDM, dmNew::AbstractPetscDM, sfNaturalOld::PetscSF, sfMigration::PetscSF ) @@ -31394,7 +31394,7 @@ See also: `DMPLEX`, `DMCreate()`, `DMPlexCreateGeom()`, `DMPlexGeomDataAndGrads( $(_doc_external("DMPlex/DMPlexModifyGeomModel")) """ function DMPlexModifyGeomModel(petsclib::PetscLibType, dm::AbstractPetscDM, comm::MPI_Comm, newCP::AbstractVector{<:Number}, newW::AbstractVector{<:Number}, autoInflate::PetscBool, saveGeom::PetscBool, stpName::String) - error("DMPlexModifyGeomModel: no generated method for these argument types") + throw(MethodError(DMPlexModifyGeomModel, (petsclib, dm, comm, newCP, newW, autoInflate, saveGeom, stpName))) end @for_petsc function DMPlexModifyGeomModel(petsclib::$UnionPetscLib, dm::AbstractPetscDM, comm::MPI_Comm, newCP::Vector{$PetscScalar}, newW::Vector{$PetscScalar}, autoInflate::PetscBool, saveGeom::PetscBool, stpName::String ) @@ -31429,7 +31429,7 @@ See also: `DM`, `DMPLEX`, `DMSetFromOptions()`, `DMPlexCreate()` $(_doc_external("DMPlex/DMPlexMonitorThroughput")) """ function DMPlexMonitorThroughput(petsclib::PetscLibType, dm::AbstractPetscDM, unused::Ptr{Cvoid}) - error("DMPlexMonitorThroughput: no generated method for these argument types") + throw(MethodError(DMPlexMonitorThroughput, (petsclib, dm, unused))) end @for_petsc function DMPlexMonitorThroughput(petsclib::$UnionPetscLib, dm::AbstractPetscDM, unused::Ptr{Cvoid} ) @@ -31466,7 +31466,7 @@ See also: `DM`, `DMPLEX`, `Vec`, `DMPlexDistribute()`, `DMPlexDistributeField()` $(_doc_external("DMPlex/DMPlexNaturalToGlobalBegin")) """ function DMPlexNaturalToGlobalBegin(petsclib::PetscLibType, dm::AbstractPetscDM, nv::AbstractPetscVec, gv::AbstractPetscVec) - error("DMPlexNaturalToGlobalBegin: no generated method for these argument types") + throw(MethodError(DMPlexNaturalToGlobalBegin, (petsclib, dm, nv, gv))) end @for_petsc function DMPlexNaturalToGlobalBegin(petsclib::$UnionPetscLib, dm::AbstractPetscDM, nv::AbstractPetscVec, gv::AbstractPetscVec ) @@ -31503,7 +31503,7 @@ See also: `DM`, `DMPLEX`, `Vec`, `DMPlexDistribute()`, `DMPlexDistributeField()` $(_doc_external("DMPlex/DMPlexNaturalToGlobalEnd")) """ function DMPlexNaturalToGlobalEnd(petsclib::PetscLibType, dm::AbstractPetscDM, nv::AbstractPetscVec, gv::AbstractPetscVec) - error("DMPlexNaturalToGlobalEnd: no generated method for these argument types") + throw(MethodError(DMPlexNaturalToGlobalEnd, (petsclib, dm, nv, gv))) end @for_petsc function DMPlexNaturalToGlobalEnd(petsclib::$UnionPetscLib, dm::AbstractPetscDM, nv::AbstractPetscVec, gv::AbstractPetscVec ) @@ -31532,7 +31532,7 @@ See also: `DM`, `DMPLEX`, `DMCreate()`, `DMPlexOrientLabel()` $(_doc_external("DMPlex/DMPlexOrient")) """ function DMPlexOrient(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexOrient: no generated method for these argument types") + throw(MethodError(DMPlexOrient, (petsclib, dm))) end @for_petsc function DMPlexOrient(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -31564,7 +31564,7 @@ See also: `DM`, `DMPLEX`, `DMCreate()`, `DMPlexOrient()` $(_doc_external("DMPlex/DMPlexOrientLabel")) """ function DMPlexOrientLabel(petsclib::PetscLibType, dm::AbstractPetscDM, label::DMLabel) - error("DMPlexOrientLabel: no generated method for these argument types") + throw(MethodError(DMPlexOrientLabel, (petsclib, dm, label))) end @for_petsc function DMPlexOrientLabel(petsclib::$UnionPetscLib, dm::AbstractPetscDM, label::DMLabel ) @@ -31599,7 +31599,7 @@ See also: `DM`, `DMPLEX`, `DMPlexOrient()`, `DMPlexGetCone()`, `DMPlexGetConeOri $(_doc_external("DMPlex/DMPlexOrientPoint")) """ function DMPlexOrientPoint(petsclib::PetscLibType, dm::AbstractPetscDM, p::Integer, o::Integer) - error("DMPlexOrientPoint: no generated method for these argument types") + throw(MethodError(DMPlexOrientPoint, (petsclib, dm, p, o))) end @for_petsc function DMPlexOrientPoint(petsclib::$UnionPetscLib, dm::AbstractPetscDM, p::$PetscInt, o::$PetscInt ) @@ -31631,7 +31631,7 @@ See also: `DM`, `DMPLEX`, `DMLabel`, `DMPlexPartitionLabelCreateSF()`, `DMPlexDi $(_doc_external("DMPlex/DMPlexPartitionLabelAdjacency")) """ function DMPlexPartitionLabelAdjacency(petsclib::PetscLibType, dm::AbstractPetscDM, label::DMLabel) - error("DMPlexPartitionLabelAdjacency: no generated method for these argument types") + throw(MethodError(DMPlexPartitionLabelAdjacency, (petsclib, dm, label))) end @for_petsc function DMPlexPartitionLabelAdjacency(petsclib::$UnionPetscLib, dm::AbstractPetscDM, label::DMLabel ) @@ -31663,7 +31663,7 @@ See also: `DM`, `DMPLEX`, `DMLabel`, `DMPlexPartitionLabelCreateSF()`, `DMPlexDi $(_doc_external("DMPlex/DMPlexPartitionLabelClosure")) """ function DMPlexPartitionLabelClosure(petsclib::PetscLibType, dm::AbstractPetscDM, label::DMLabel) - error("DMPlexPartitionLabelClosure: no generated method for these argument types") + throw(MethodError(DMPlexPartitionLabelClosure, (petsclib, dm, label))) end @for_petsc function DMPlexPartitionLabelClosure(petsclib::$UnionPetscLib, dm::AbstractPetscDM, label::DMLabel ) @@ -31699,7 +31699,7 @@ See also: `DM`, `DMPLEX`, `DMLabel`, `PetscSF`, `DMPlexDistribute()` $(_doc_external("DMPlex/DMPlexPartitionLabelCreateSF")) """ function DMPlexPartitionLabelCreateSF(petsclib::PetscLibType, dm::AbstractPetscDM, label::DMLabel, sortRanks::PetscBool) - error("DMPlexPartitionLabelCreateSF: no generated method for these argument types") + throw(MethodError(DMPlexPartitionLabelCreateSF, (petsclib, dm, label, sortRanks))) end @for_petsc function DMPlexPartitionLabelCreateSF(petsclib::$UnionPetscLib, dm::AbstractPetscDM, label::DMLabel, sortRanks::PetscBool ) @@ -31737,7 +31737,7 @@ See also: `DM`, `DMPLEX`, `DMPlexPartitionLabelCreateSF()`, `DMPlexDistribute()` $(_doc_external("DMPlex/DMPlexPartitionLabelInvert")) """ function DMPlexPartitionLabelInvert(petsclib::PetscLibType, dm::AbstractPetscDM, rootLabel::DMLabel, processSF::PetscSF, leafLabel::DMLabel) - error("DMPlexPartitionLabelInvert: no generated method for these argument types") + throw(MethodError(DMPlexPartitionLabelInvert, (petsclib, dm, rootLabel, processSF, leafLabel))) end @for_petsc function DMPlexPartitionLabelInvert(petsclib::$UnionPetscLib, dm::AbstractPetscDM, rootLabel::DMLabel, processSF::PetscSF, leafLabel::DMLabel ) @@ -31769,7 +31769,7 @@ See also: `DM`, `DMPLEX`, `DMLabel`, `DMPlexPartitionLabelCreateSF()`, `DMPlexDi $(_doc_external("DMPlex/DMPlexPartitionLabelPropagate")) """ function DMPlexPartitionLabelPropagate(petsclib::PetscLibType, dm::AbstractPetscDM, label::DMLabel) - error("DMPlexPartitionLabelPropagate: no generated method for these argument types") + throw(MethodError(DMPlexPartitionLabelPropagate, (petsclib, dm, label))) end @for_petsc function DMPlexPartitionLabelPropagate(petsclib::$UnionPetscLib, dm::AbstractPetscDM, label::DMLabel ) @@ -31806,7 +31806,7 @@ See also: `DMPLEX`, `MatPermute()` $(_doc_external("DMPlex/DMPlexPermute")) """ function DMPlexPermute(petsclib::PetscLibType, dm::AbstractPetscDM, perm::AbstractIS) - error("DMPlexPermute: no generated method for these argument types") + throw(MethodError(DMPlexPermute, (petsclib, dm, perm))) end @for_petsc function DMPlexPermute(petsclib::$UnionPetscLib, dm::AbstractPetscDM, perm::AbstractIS ) @@ -31847,7 +31847,7 @@ See also: `DM`, `DMPLEX`, `DMGetLocalSection()`, `PetscSectionGetOffset()`, `Pet $(_doc_external("DMPlex/DMPlexPointGlobalFieldRead")) """ function DMPlexPointGlobalFieldRead(petsclib::PetscLibType, dm::AbstractPetscDM, point::Integer, field::Integer, array::AbstractVector{<:Number}) - error("DMPlexPointGlobalFieldRead: no generated method for these argument types") + throw(MethodError(DMPlexPointGlobalFieldRead, (petsclib, dm, point, field, array))) end @for_petsc function DMPlexPointGlobalFieldRead(petsclib::$UnionPetscLib, dm::AbstractPetscDM, point::$PetscInt, field::$PetscInt, array::Vector{$PetscScalar} ) @@ -31888,7 +31888,7 @@ See also: `DM`, `DMPLEX`, `DMGetLocalSection()`, `PetscSectionGetOffset()`, `Pet $(_doc_external("DMPlex/DMPlexPointGlobalFieldRef")) """ function DMPlexPointGlobalFieldRef(petsclib::PetscLibType, dm::AbstractPetscDM, point::Integer, field::Integer) - error("DMPlexPointGlobalFieldRef: no generated method for these argument types") + throw(MethodError(DMPlexPointGlobalFieldRef, (petsclib, dm, point, field))) end @for_petsc function DMPlexPointGlobalFieldRef(petsclib::$UnionPetscLib, dm::AbstractPetscDM, point::$PetscInt, field::$PetscInt ) @@ -31930,7 +31930,7 @@ See also: `DM`, `DMPLEX`, `DMGetLocalSection()`, `PetscSectionGetOffset()`, `Pet $(_doc_external("DMPlex/DMPlexPointGlobalRead")) """ function DMPlexPointGlobalRead(petsclib::PetscLibType, dm::AbstractPetscDM, point::Integer, array::AbstractVector{<:Number}) - error("DMPlexPointGlobalRead: no generated method for these argument types") + throw(MethodError(DMPlexPointGlobalRead, (petsclib, dm, point, array))) end @for_petsc function DMPlexPointGlobalRead(petsclib::$UnionPetscLib, dm::AbstractPetscDM, point::$PetscInt, array::Vector{$PetscScalar} ) @@ -31970,7 +31970,7 @@ See also: `DM`, `DMPLEX`, `DMGetLocalSection()`, `PetscSectionGetOffset()`, `Pet $(_doc_external("DMPlex/DMPlexPointGlobalRef")) """ function DMPlexPointGlobalRef(petsclib::PetscLibType, dm::AbstractPetscDM, point::Integer) - error("DMPlexPointGlobalRef: no generated method for these argument types") + throw(MethodError(DMPlexPointGlobalRef, (petsclib, dm, point))) end @for_petsc function DMPlexPointGlobalRef(petsclib::$UnionPetscLib, dm::AbstractPetscDM, point::$PetscInt ) @@ -32013,7 +32013,7 @@ See also: `DM`, `DMPLEX`, `DMGetLocalSection()`, `PetscSectionGetOffset()`, `Pet $(_doc_external("DMPlex/DMPlexPointLocalFieldRead")) """ function DMPlexPointLocalFieldRead(petsclib::PetscLibType, dm::AbstractPetscDM, point::Integer, field::Integer, array::AbstractVector{<:Number}) - error("DMPlexPointLocalFieldRead: no generated method for these argument types") + throw(MethodError(DMPlexPointLocalFieldRead, (petsclib, dm, point, field, array))) end @for_petsc function DMPlexPointLocalFieldRead(petsclib::$UnionPetscLib, dm::AbstractPetscDM, point::$PetscInt, field::$PetscInt, array::Vector{$PetscScalar} ) @@ -32054,7 +32054,7 @@ See also: `DM`, `DMPLEX`, `DMGetLocalSection()`, `PetscSectionGetOffset()`, `Pet $(_doc_external("DMPlex/DMPlexPointLocalFieldRef")) """ function DMPlexPointLocalFieldRef(petsclib::PetscLibType, dm::AbstractPetscDM, point::Integer, field::Integer) - error("DMPlexPointLocalFieldRef: no generated method for these argument types") + throw(MethodError(DMPlexPointLocalFieldRef, (petsclib, dm, point, field))) end @for_petsc function DMPlexPointLocalFieldRef(petsclib::$UnionPetscLib, dm::AbstractPetscDM, point::$PetscInt, field::$PetscInt ) @@ -32096,7 +32096,7 @@ See also: `DM`, `DMPLEX`, `DMGetLocalSection()`, `PetscSectionGetOffset()`, `Pet $(_doc_external("DMPlex/DMPlexPointLocalRead")) """ function DMPlexPointLocalRead(petsclib::PetscLibType, dm::AbstractPetscDM, point::Integer, array::AbstractVector{<:Number}) - error("DMPlexPointLocalRead: no generated method for these argument types") + throw(MethodError(DMPlexPointLocalRead, (petsclib, dm, point, array))) end @for_petsc function DMPlexPointLocalRead(petsclib::$UnionPetscLib, dm::AbstractPetscDM, point::$PetscInt, array::Vector{$PetscScalar} ) @@ -32136,7 +32136,7 @@ See also: `DM`, `DMPLEX`, `DMGetLocalSection()`, `PetscSectionGetOffset()`, `Pet $(_doc_external("DMPlex/DMPlexPointLocalRef")) """ function DMPlexPointLocalRef(petsclib::PetscLibType, dm::AbstractPetscDM, point::Integer) - error("DMPlexPointLocalRef: no generated method for these argument types") + throw(MethodError(DMPlexPointLocalRef, (petsclib, dm, point))) end @for_petsc function DMPlexPointLocalRef(petsclib::$UnionPetscLib, dm::AbstractPetscDM, point::$PetscInt ) @@ -32183,7 +32183,7 @@ See also: `DM`, `DMPLEX`, `DMCreateMatrix()` $(_doc_external("DMPlex/DMPlexPreallocateOperator")) """ function DMPlexPreallocateOperator(petsclib::PetscLibType, dm::AbstractPetscDM, bs::Integer, dnz::AbstractVector{<:Number}, onz::AbstractVector{<:Number}, dnzu::AbstractVector{<:Number}, onzu::AbstractVector{<:Number}, A::AbstractPetscMat, fillMatrix::PetscBool) - error("DMPlexPreallocateOperator: no generated method for these argument types") + throw(MethodError(DMPlexPreallocateOperator, (petsclib, dm, bs, dnz, onz, dnzu, onzu, A, fillMatrix))) end @for_petsc function DMPlexPreallocateOperator(petsclib::$UnionPetscLib, dm::AbstractPetscDM, bs::$PetscInt, dnz::Vector{$PetscInt}, onz::Vector{$PetscInt}, dnzu::Vector{$PetscInt}, onzu::Vector{$PetscInt}, A::AbstractPetscMat, fillMatrix::PetscBool ) @@ -32226,7 +32226,7 @@ See also: `DM`, `DMPLEX`, `DMPlexDistribute()` $(_doc_external("DMPlex/DMPlexRebalanceSharedPoints")) """ function DMPlexRebalanceSharedPoints(petsclib::PetscLibType, dm::AbstractPetscDM, entityDepth::Integer, useInitialGuess::PetscBool, parallel::PetscBool) - error("DMPlexRebalanceSharedPoints: no generated method for these argument types") + throw(MethodError(DMPlexRebalanceSharedPoints, (petsclib, dm, entityDepth, useInitialGuess, parallel))) end @for_petsc function DMPlexRebalanceSharedPoints(petsclib::$UnionPetscLib, dm::AbstractPetscDM, entityDepth::$PetscInt, useInitialGuess::PetscBool, parallel::PetscBool ) @@ -32263,7 +32263,7 @@ See also: `DM`, `Vec`, `DMPlexGetGradientDM()` $(_doc_external("DMPlex/DMPlexReconstructGradientsFVM")) """ function DMPlexReconstructGradientsFVM(petsclib::PetscLibType, dm::AbstractPetscDM, locX::AbstractPetscVec, grad::AbstractPetscVec) - error("DMPlexReconstructGradientsFVM: no generated method for these argument types") + throw(MethodError(DMPlexReconstructGradientsFVM, (petsclib, dm, locX, grad))) end @for_petsc function DMPlexReconstructGradientsFVM(petsclib::$UnionPetscLib, dm::AbstractPetscDM, locX::AbstractPetscVec, grad::AbstractPetscVec ) @@ -32304,7 +32304,7 @@ See also: `DMPLEX`, `DMPlexCoordinatesToReference()` $(_doc_external("DMPlex/DMPlexReferenceToCoordinates")) """ function DMPlexReferenceToCoordinates(petsclib::PetscLibType, dm::AbstractPetscDM, cell::Integer, numPoints::Integer, refCoords::AbstractVector{<:Number}, realCoords::AbstractVector{<:Number}) - error("DMPlexReferenceToCoordinates: no generated method for these argument types") + throw(MethodError(DMPlexReferenceToCoordinates, (petsclib, dm, cell, numPoints, refCoords, realCoords))) end @for_petsc function DMPlexReferenceToCoordinates(petsclib::$UnionPetscLib, dm::AbstractPetscDM, cell::$PetscInt, numPoints::$PetscInt, refCoords::Vector{$PetscReal}, realCoords::Vector{$PetscReal} ) @@ -32344,7 +32344,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetReferenceTree()`, `DMPlexSetReferenceTree()` $(_doc_external("DMPlex/DMPlexReferenceTreeGetChildSymmetry")) """ function DMPlexReferenceTreeGetChildSymmetry(petsclib::PetscLibType, dm::AbstractPetscDM, parent::Integer, parentOrientA::Integer, childOrientA::Integer, childA::Integer, parentOrientB::Integer) - error("DMPlexReferenceTreeGetChildSymmetry: no generated method for these argument types") + throw(MethodError(DMPlexReferenceTreeGetChildSymmetry, (petsclib, dm, parent, parentOrientA, childOrientA, childA, parentOrientB))) end @for_petsc function DMPlexReferenceTreeGetChildSymmetry(petsclib::$UnionPetscLib, dm::AbstractPetscDM, parent::$PetscInt, parentOrientA::$PetscInt, childOrientA::$PetscInt, childA::$PetscInt, parentOrientB::$PetscInt ) @@ -32387,7 +32387,7 @@ See also: `DMPLEX`, `DM`, `DMPlexTransform`, `DMPolytopeType`, `DMPlexCellRefine $(_doc_external("DMPlex/DMPlexRefineRegularGetAffineFaceTransforms")) """ function DMPlexRefineRegularGetAffineFaceTransforms(petsclib::PetscLibType, tr::DMPlexTransform, ct::DMPolytopeType) - error("DMPlexRefineRegularGetAffineFaceTransforms: no generated method for these argument types") + throw(MethodError(DMPlexRefineRegularGetAffineFaceTransforms, (petsclib, tr, ct))) end @for_petsc function DMPlexRefineRegularGetAffineFaceTransforms(petsclib::$UnionPetscLib, tr::DMPlexTransform, ct::DMPolytopeType ) @@ -32435,7 +32435,7 @@ See also: `DMPLEX`, `DM`, `DMPlexTransform`, `DMPolytopeType`, `DMPlexRefineRegu $(_doc_external("DMPlex/DMPlexRefineRegularGetAffineTransforms")) """ function DMPlexRefineRegularGetAffineTransforms(petsclib::PetscLibType, tr::DMPlexTransform, ct::DMPolytopeType) - error("DMPlexRefineRegularGetAffineTransforms: no generated method for these argument types") + throw(MethodError(DMPlexRefineRegularGetAffineTransforms, (petsclib, tr, ct))) end @for_petsc function DMPlexRefineRegularGetAffineTransforms(petsclib::$UnionPetscLib, tr::DMPlexTransform, ct::DMPolytopeType ) @@ -32479,7 +32479,7 @@ See also: `DMPlexTransform`, `DMPlexRefineToSimplexSetReflect()` $(_doc_external("DMPlex/DMPlexRefineToSimplexGetReflect")) """ function DMPlexRefineToSimplexGetReflect(petsclib::PetscLibType, tr::DMPlexTransform) - error("DMPlexRefineToSimplexGetReflect: no generated method for these argument types") + throw(MethodError(DMPlexRefineToSimplexGetReflect, (petsclib, tr))) end @for_petsc function DMPlexRefineToSimplexGetReflect(petsclib::$UnionPetscLib, tr::DMPlexTransform ) @@ -32515,7 +32515,7 @@ See also: `DMPlexTransform`, `DMPlexRefineToSimplexGetReflect()` $(_doc_external("DMPlex/DMPlexRefineToSimplexSetReflect")) """ function DMPlexRefineToSimplexSetReflect(petsclib::PetscLibType, tr::DMPlexTransform, reflect::PetscBool) - error("DMPlexRefineToSimplexSetReflect: no generated method for these argument types") + throw(MethodError(DMPlexRefineToSimplexSetReflect, (petsclib, tr, reflect))) end @for_petsc function DMPlexRefineToSimplexSetReflect(petsclib::$UnionPetscLib, tr::DMPlexTransform, reflect::PetscBool ) @@ -32570,7 +32570,7 @@ See also: `DMPLEX`, `DMGetCoordinates()`, `DMGetCoordinatesLocal()`, `DMGetCoord $(_doc_external("DMPlex/DMPlexRemapGeometry")) """ function DMPlexRemapGeometry(petsclib::PetscLibType, dm::AbstractPetscDM, time::Real, func::external) - error("DMPlexRemapGeometry: no generated method for these argument types") + throw(MethodError(DMPlexRemapGeometry, (petsclib, dm, time, func))) end @for_petsc function DMPlexRemapGeometry(petsclib::$UnionPetscLib, dm::AbstractPetscDM, time::$PetscReal, func::external ) @@ -32607,7 +32607,7 @@ See also: `DMPLEX`, `DM`, `DMPlexDistribute()`, `DMPlexDistributeOverlap()`, `DM $(_doc_external("DMPlex/DMPlexRemapMigrationSF")) """ function DMPlexRemapMigrationSF(petsclib::PetscLibType, sfOverlap::PetscSF, sfMigration::PetscSF) - error("DMPlexRemapMigrationSF: no generated method for these argument types") + throw(MethodError(DMPlexRemapMigrationSF, (petsclib, sfOverlap, sfMigration))) end @for_petsc function DMPlexRemapMigrationSF(petsclib::$UnionPetscLib, sfOverlap::PetscSF, sfMigration::PetscSF ) @@ -32645,7 +32645,7 @@ See also: `DM`, `DMPLEX`, `DMPolytopeType`, `DMPlexGenerate()` $(_doc_external("DMPlex/DMPlexReorderCell")) """ function DMPlexReorderCell(petsclib::PetscLibType, dm::AbstractPetscDM, cell::Integer, cone::AbstractVector{<:Number}) - error("DMPlexReorderCell: no generated method for these argument types") + throw(MethodError(DMPlexReorderCell, (petsclib, dm, cell, cone))) end @for_petsc function DMPlexReorderCell(petsclib::$UnionPetscLib, dm::AbstractPetscDM, cell::$PetscInt, cone::Vector{$PetscInt} ) @@ -32678,7 +32678,7 @@ See also: `DMPlexConstructCohesiveCells()`, `DMPlexCreateCohesiveSubmesh()` $(_doc_external("DMPlex/DMPlexReorderCohesiveSupports")) """ function DMPlexReorderCohesiveSupports(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexReorderCohesiveSupports: no generated method for these argument types") + throw(MethodError(DMPlexReorderCohesiveSupports, (petsclib, dm))) end @for_petsc function DMPlexReorderCohesiveSupports(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -32714,7 +32714,7 @@ See also: `DMPlexReorderSetDefault()` $(_doc_external("DMPlex/DMPlexReorderGetDefault")) """ function DMPlexReorderGetDefault(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexReorderGetDefault: no generated method for these argument types") + throw(MethodError(DMPlexReorderGetDefault, (petsclib, dm))) end @for_petsc function DMPlexReorderGetDefault(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -32750,7 +32750,7 @@ See also: `DMPlexReorderGetDefault()` $(_doc_external("DMPlex/DMPlexReorderSetDefault")) """ function DMPlexReorderSetDefault(petsclib::PetscLibType, dm::AbstractPetscDM, reorder::DMReorderDefaultFlag) - error("DMPlexReorderSetDefault: no generated method for these argument types") + throw(MethodError(DMPlexReorderSetDefault, (petsclib, dm, reorder))) end @for_petsc function DMPlexReorderSetDefault(petsclib::$UnionPetscLib, dm::AbstractPetscDM, reorder::DMReorderDefaultFlag ) @@ -32790,7 +32790,7 @@ See also: `DMPLEX`, `DMPlexGetCellCoordinates()`, `DMGetCoordinatesLocal()`, `DM $(_doc_external("DMPlex/DMPlexRestoreCellCoordinates")) """ function DMPlexRestoreCellCoordinates(petsclib::PetscLibType, dm::AbstractPetscDM, cell::Integer, isDG::Union{PetscBool, Bool}, Nc::Integer, array::Union{Ptr, AbstractArray{<:Number}}, coords::Union{Ptr, AbstractArray{<:Number}}) - error("DMPlexRestoreCellCoordinates: no generated method for these argument types") + throw(MethodError(DMPlexRestoreCellCoordinates, (petsclib, dm, cell, isDG, Nc, array, coords))) end @for_petsc function DMPlexRestoreCellCoordinates(petsclib::$UnionPetscLib, dm::AbstractPetscDM, cell::$PetscInt, isDG::Union{PetscBool, Bool}, Nc::$PetscInt, array::Union{Ptr, AbstractArray{$PetscScalar}}, coords::Union{Ptr, AbstractArray{$PetscScalar}} ) @@ -32834,7 +32834,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetFaceFields()` $(_doc_external("DMPlex/DMPlexRestoreCellFields")) """ function DMPlexRestoreCellFields(petsclib::PetscLibType, dm::AbstractPetscDM, cellIS::AbstractIS, locX::AbstractPetscVec, locX_t::AbstractPetscVec, locA::AbstractPetscVec, u::Union{Ptr, AbstractArray{<:Number}}, u_t::Union{Ptr, AbstractArray{<:Number}}, a::Union{Ptr, AbstractArray{<:Number}}) - error("DMPlexRestoreCellFields: no generated method for these argument types") + throw(MethodError(DMPlexRestoreCellFields, (petsclib, dm, cellIS, locX, locX_t, locA, u, u_t, a))) end @for_petsc function DMPlexRestoreCellFields(petsclib::$UnionPetscLib, dm::AbstractPetscDM, cellIS::AbstractIS, locX::AbstractPetscVec, locX_t::AbstractPetscVec, locA::AbstractPetscVec, u::Union{Ptr, AbstractArray{$PetscScalar}}, u_t::Union{Ptr, AbstractArray{$PetscScalar}}, a::Union{Ptr, AbstractArray{$PetscScalar}} ) @@ -32880,7 +32880,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetClosureIndices()`, `DMPlexVecGetClosure()`, $(_doc_external("DMPlex/DMPlexRestoreClosureIndices")) """ function DMPlexRestoreClosureIndices(petsclib::PetscLibType, dm::AbstractPetscDM, section::PetscSection, idxSection::PetscSection, point::Integer, useClPerm::PetscBool, numIndices::Integer, indices::Union{Ptr, AbstractArray{<:Number}}, outOffsets::Union{Ptr, AbstractVector{<:Number}}, values::Union{Ptr, AbstractArray{<:Number}}) - error("DMPlexRestoreClosureIndices: no generated method for these argument types") + throw(MethodError(DMPlexRestoreClosureIndices, (petsclib, dm, section, idxSection, point, useClPerm, numIndices, indices, outOffsets, values))) end @for_petsc function DMPlexRestoreClosureIndices(petsclib::$UnionPetscLib, dm::AbstractPetscDM, section::PetscSection, idxSection::PetscSection, point::$PetscInt, useClPerm::PetscBool, numIndices::$PetscInt, indices::Union{Ptr, AbstractArray{$PetscInt}}, outOffsets::Union{Ptr, Vector{$PetscInt}}, values::Union{Ptr, AbstractArray{$PetscScalar}} ) @@ -32923,7 +32923,7 @@ See also: `DM`, `DMPLEX`, `PetscSection`, `DMPlexGetCompressedClosure()`, `DMPle $(_doc_external("DMPlex/DMPlexRestoreCompressedClosure")) """ function DMPlexRestoreCompressedClosure(petsclib::PetscLibType, dm::AbstractPetscDM, section::PetscSection, point::Integer, numPoints::Integer, points::Integer, clSec::PetscSection, clPoints::AbstractIS, clp::Integer) - error("DMPlexRestoreCompressedClosure: no generated method for these argument types") + throw(MethodError(DMPlexRestoreCompressedClosure, (petsclib, dm, section, point, numPoints, points, clSec, clPoints, clp))) end @for_petsc function DMPlexRestoreCompressedClosure(petsclib::$UnionPetscLib, dm::AbstractPetscDM, section::PetscSection, point::$PetscInt, numPoints::$PetscInt, points::$PetscInt, clSec::PetscSection, clPoints::AbstractIS, clp::$PetscInt ) @@ -32966,7 +32966,7 @@ See also: `DM`, `DMPLEX`, `DMPlexCreate()`, `DMPlexGetCone()`, `DMPlexGetConeTup $(_doc_external("DMPlex/DMPlexRestoreConeRecursive")) """ function DMPlexRestoreConeRecursive(petsclib::PetscLibType, dm::AbstractPetscDM, points::AbstractIS, depth::Integer, expandedPoints::Ptr, sections::Union{Ptr, AbstractArray{PetscSection}}) - error("DMPlexRestoreConeRecursive: no generated method for these argument types") + throw(MethodError(DMPlexRestoreConeRecursive, (petsclib, dm, points, depth, expandedPoints, sections))) end @for_petsc function DMPlexRestoreConeRecursive(petsclib::$UnionPetscLib, dm::AbstractPetscDM, points::AbstractIS, depth::$PetscInt, expandedPoints::Ptr, sections::Union{Ptr, AbstractArray{PetscSection}} ) @@ -33012,7 +33012,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetFaceFields()` $(_doc_external("DMPlex/DMPlexRestoreFaceFields")) """ function DMPlexRestoreFaceFields(petsclib::PetscLibType, dm::AbstractPetscDM, fStart::Integer, fEnd::Integer, locX::AbstractPetscVec, locX_t::AbstractPetscVec, faceGeometry::AbstractPetscVec, cellGeometry::AbstractPetscVec, locGrad::AbstractPetscVec, Nface::Integer, uL::Union{Ptr, AbstractArray{<:Number}}, uR::Union{Ptr, AbstractArray{<:Number}}) - error("DMPlexRestoreFaceFields: no generated method for these argument types") + throw(MethodError(DMPlexRestoreFaceFields, (petsclib, dm, fStart, fEnd, locX, locX_t, faceGeometry, cellGeometry, locGrad, Nface, uL, uR))) end @for_petsc function DMPlexRestoreFaceFields(petsclib::$UnionPetscLib, dm::AbstractPetscDM, fStart::$PetscInt, fEnd::$PetscInt, locX::AbstractPetscVec, locX_t::AbstractPetscVec, faceGeometry::AbstractPetscVec, cellGeometry::AbstractPetscVec, locGrad::AbstractPetscVec, Nface::$PetscInt, uL::Union{Ptr, AbstractArray{$PetscScalar}}, uR::Union{Ptr, AbstractArray{$PetscScalar}} ) @@ -33055,7 +33055,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetFaceFields()` $(_doc_external("DMPlex/DMPlexRestoreFaceGeometry")) """ function DMPlexRestoreFaceGeometry(petsclib::PetscLibType, dm::AbstractPetscDM, fStart::Integer, fEnd::Integer, faceGeometry::AbstractPetscVec, cellGeometry::AbstractPetscVec, Nface::Integer, fgeom::Union{Ptr, AbstractArray{PetscFVFaceGeom}}, vol::Union{Ptr, AbstractArray{<:Number}}) - error("DMPlexRestoreFaceGeometry: no generated method for these argument types") + throw(MethodError(DMPlexRestoreFaceGeometry, (petsclib, dm, fStart, fEnd, faceGeometry, cellGeometry, Nface, fgeom, vol))) end @for_petsc function DMPlexRestoreFaceGeometry(petsclib::$UnionPetscLib, dm::AbstractPetscDM, fStart::$PetscInt, fEnd::$PetscInt, faceGeometry::AbstractPetscVec, cellGeometry::AbstractPetscVec, Nface::$PetscInt, fgeom::Union{Ptr, AbstractArray{PetscFVFaceGeom}}, vol::Union{Ptr, AbstractArray{$PetscReal}} ) @@ -33098,7 +33098,7 @@ See also: `DMPlexGetGeomBodyMassProperties()`, `DMPlexGetGeomModelBodies()` $(_doc_external("DMPlex/DMPlexRestoreGeomBodyMassProperties")) """ function DMPlexRestoreGeomBodyMassProperties(petsclib::PetscLibType, dm::AbstractPetscDM, body::PetscGeom, volume::Number, surfArea::Number, centerOfGravity::Number, COGsize::Integer, inertiaMatrixCOG::Number, IMCOGsize::Integer) - error("DMPlexRestoreGeomBodyMassProperties: no generated method for these argument types") + throw(MethodError(DMPlexRestoreGeomBodyMassProperties, (petsclib, dm, body, volume, surfArea, centerOfGravity, COGsize, inertiaMatrixCOG, IMCOGsize))) end @for_petsc function DMPlexRestoreGeomBodyMassProperties(petsclib::$UnionPetscLib, dm::AbstractPetscDM, body::PetscGeom, volume::$PetscScalar, surfArea::$PetscScalar, centerOfGravity::$PetscScalar, COGsize::$PetscInt, inertiaMatrixCOG::$PetscScalar, IMCOGsize::$PetscInt ) @@ -33143,7 +33143,7 @@ See also: `DMPlexGetGeomCntrlPntAndWeightData()`, `DMPlexGeomDataAndGrads()` $(_doc_external("DMPlex/DMPlexRestoreGeomCntrlPntAndWeightData")) """ function DMPlexRestoreGeomCntrlPntAndWeightData(petsclib::PetscLibType, dm::AbstractPetscDM, cpHashTable::PetscHMapI, cpCoordDataLength::Integer, cpCoordData::Number, maxNumEquiv::Integer, cpEquiv::AbstractPetscMat, wHashTable::PetscHMapI, wDataLength::Integer, wData::Number) - error("DMPlexRestoreGeomCntrlPntAndWeightData: no generated method for these argument types") + throw(MethodError(DMPlexRestoreGeomCntrlPntAndWeightData, (petsclib, dm, cpHashTable, cpCoordDataLength, cpCoordData, maxNumEquiv, cpEquiv, wHashTable, wDataLength, wData))) end @for_petsc function DMPlexRestoreGeomCntrlPntAndWeightData(petsclib::$UnionPetscLib, dm::AbstractPetscDM, cpHashTable::PetscHMapI, cpCoordDataLength::$PetscInt, cpCoordData::$PetscScalar, maxNumEquiv::$PetscInt, cpEquiv::AbstractPetscMat, wHashTable::PetscHMapI, wDataLength::$PetscInt, wData::$PetscScalar ) @@ -33189,7 +33189,7 @@ See also: `DMPlexGetGeomGradData()`, `DMPlexGeomDataAndGrads()` $(_doc_external("DMPlex/DMPlexRestoreGeomGradData")) """ function DMPlexRestoreGeomGradData(petsclib::PetscLibType, dm::AbstractPetscDM, cpSurfGradHashTable::PetscHMapI, cpSurfGrad::AbstractPetscMat, cpArraySize::Integer, gradSACP::Number, gradVolCP::Number, wArraySize::Integer, gradSAW::Number, gradVolW::Number) - error("DMPlexRestoreGeomGradData: no generated method for these argument types") + throw(MethodError(DMPlexRestoreGeomGradData, (petsclib, dm, cpSurfGradHashTable, cpSurfGrad, cpArraySize, gradSACP, gradVolCP, wArraySize, gradSAW, gradVolW))) end @for_petsc function DMPlexRestoreGeomGradData(petsclib::$UnionPetscLib, dm::AbstractPetscDM, cpSurfGradHashTable::PetscHMapI, cpSurfGrad::AbstractPetscMat, cpArraySize::$PetscInt, gradSACP::$PetscScalar, gradVolCP::$PetscScalar, wArraySize::$PetscInt, gradSAW::$PetscScalar, gradVolW::$PetscScalar ) @@ -33232,7 +33232,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetJoin()`, `DMPlexGetFullJoin()`, `DMPlexGetMe $(_doc_external("DMPlex/DMPlexRestoreJoin")) """ function DMPlexRestoreJoin(petsclib::PetscLibType, dm::AbstractPetscDM, numPoints::Integer, points::AbstractVector{<:Number}, numCoveredPoints::Integer, coveredPoints::Union{Ptr, AbstractArray{<:Number}}) - error("DMPlexRestoreJoin: no generated method for these argument types") + throw(MethodError(DMPlexRestoreJoin, (petsclib, dm, numPoints, points, numCoveredPoints, coveredPoints))) end @for_petsc function DMPlexRestoreJoin(petsclib::$UnionPetscLib, dm::AbstractPetscDM, numPoints::$PetscInt, points::Vector{$PetscInt}, numCoveredPoints::$PetscInt, coveredPoints::Union{Ptr, AbstractArray{$PetscInt}} ) @@ -33273,7 +33273,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetMeet()`, `DMPlexGetFullMeet()`, `DMPlexGetJo $(_doc_external("DMPlex/DMPlexRestoreMeet")) """ function DMPlexRestoreMeet(petsclib::PetscLibType, dm::AbstractPetscDM, numPoints::Integer, points::AbstractVector{<:Number}, numCoveredPoints::Integer, coveredPoints::Union{Ptr, AbstractArray{<:Number}}) - error("DMPlexRestoreMeet: no generated method for these argument types") + throw(MethodError(DMPlexRestoreMeet, (petsclib, dm, numPoints, points, numCoveredPoints, coveredPoints))) end @for_petsc function DMPlexRestoreMeet(petsclib::$UnionPetscLib, dm::AbstractPetscDM, numPoints::$PetscInt, points::Vector{$PetscInt}, numCoveredPoints::$PetscInt, coveredPoints::Union{Ptr, AbstractArray{$PetscInt}} ) @@ -33312,7 +33312,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetOrientedCone()`, `DMPlexGetConeSize()`, `DMP $(_doc_external("DMPlex/DMPlexRestoreOrientedCone")) """ function DMPlexRestoreOrientedCone(petsclib::PetscLibType, dm::AbstractPetscDM, p::Integer, cone::Union{Ptr, AbstractArray{<:Number}}, ornt::Union{Ptr, AbstractArray{<:Number}}) - error("DMPlexRestoreOrientedCone: no generated method for these argument types") + throw(MethodError(DMPlexRestoreOrientedCone, (petsclib, dm, p, cone, ornt))) end @for_petsc function DMPlexRestoreOrientedCone(petsclib::$UnionPetscLib, dm::AbstractPetscDM, p::$PetscInt, cone::Union{Ptr, AbstractArray{$PetscInt}}, ornt::Union{Ptr, AbstractArray{$PetscInt}} ) @@ -33351,7 +33351,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetTransitiveClosure()`, `DMPlexCreate()`, `DMP $(_doc_external("DMPlex/DMPlexRestoreTransitiveClosure")) """ function DMPlexRestoreTransitiveClosure(petsclib::PetscLibType, dm::AbstractPetscDM, p::Integer, useCone::PetscBool, numPoints::Integer, points::Union{Ptr, AbstractArray{<:Number}}) - error("DMPlexRestoreTransitiveClosure: no generated method for these argument types") + throw(MethodError(DMPlexRestoreTransitiveClosure, (petsclib, dm, p, useCone, numPoints, points))) end @for_petsc function DMPlexRestoreTransitiveClosure(petsclib::$UnionPetscLib, dm::AbstractPetscDM, p::$PetscInt, useCone::PetscBool, numPoints::$PetscInt, points::Union{Ptr, AbstractArray{$PetscInt}} ) @@ -33388,7 +33388,7 @@ See also: `DM`, `DMPLEX`, `DMPlexComputeJacobianAction()` $(_doc_external("SNES/DMPlexSNESComputeBoundaryFEM")) """ function DMPlexSNESComputeBoundaryFEM(petsclib::PetscLibType, dm::AbstractPetscDM, X::AbstractPetscVec, ctx::Ptr{Cvoid}) - error("DMPlexSNESComputeBoundaryFEM: no generated method for these argument types") + throw(MethodError(DMPlexSNESComputeBoundaryFEM, (petsclib, dm, X, ctx))) end @for_petsc function DMPlexSNESComputeBoundaryFEM(petsclib::$UnionPetscLib, dm::AbstractPetscDM, X::AbstractPetscVec, ctx::Ptr{Cvoid} ) @@ -33425,7 +33425,7 @@ See also: `DMPLEX`, `Mat` $(_doc_external("SNES/DMPlexSNESComputeJacobianFEM")) """ function DMPlexSNESComputeJacobianFEM(petsclib::PetscLibType, dm::AbstractPetscDM, X::AbstractPetscVec, Jac::AbstractPetscMat, JacP::AbstractPetscMat, ctx::Ptr{Cvoid}) - error("DMPlexSNESComputeJacobianFEM: no generated method for these argument types") + throw(MethodError(DMPlexSNESComputeJacobianFEM, (petsclib, dm, X, Jac, JacP, ctx))) end @for_petsc function DMPlexSNESComputeJacobianFEM(petsclib::$UnionPetscLib, dm::AbstractPetscDM, X::AbstractPetscVec, Jac::AbstractPetscMat, JacP::AbstractPetscMat, ctx::Ptr{Cvoid} ) @@ -33461,7 +33461,7 @@ See also: `DM`, `DMPlexSNESComputeResidualFEM()` $(_doc_external("SNES/DMPlexSNESComputeObjectiveFEM")) """ function DMPlexSNESComputeObjectiveFEM(petsclib::PetscLibType, dm::AbstractPetscDM, X::AbstractPetscVec, ctx::Ptr{Cvoid}) - error("DMPlexSNESComputeObjectiveFEM: no generated method for these argument types") + throw(MethodError(DMPlexSNESComputeObjectiveFEM, (petsclib, dm, X, ctx))) end @for_petsc function DMPlexSNESComputeObjectiveFEM(petsclib::$UnionPetscLib, dm::AbstractPetscDM, X::AbstractPetscVec, ctx::Ptr{Cvoid} ) @@ -33501,7 +33501,7 @@ See also: `SNES`, `DMPLEX`, `DMCeedCreate()`, `DMSNESSetFunctionLocal()`, `DMPle $(_doc_external("SNES/DMPlexSNESComputeResidualCEED")) """ function DMPlexSNESComputeResidualCEED(petsclib::PetscLibType, dm::AbstractPetscDM, locX::AbstractPetscVec, locF::AbstractPetscVec, ctx::Ptr{Cvoid}) - error("DMPlexSNESComputeResidualCEED: no generated method for these argument types") + throw(MethodError(DMPlexSNESComputeResidualCEED, (petsclib, dm, locX, locF, ctx))) end @for_petsc function DMPlexSNESComputeResidualCEED(petsclib::$UnionPetscLib, dm::AbstractPetscDM, locX::AbstractPetscVec, locF::AbstractPetscVec, ctx::Ptr{Cvoid} ) @@ -33537,7 +33537,7 @@ See also: `DM`, `DMPLEX`, `DMPlexComputeJacobianAction()` $(_doc_external("SNES/DMPlexSNESComputeResidualDS")) """ function DMPlexSNESComputeResidualDS(petsclib::PetscLibType, dm::AbstractPetscDM, X::AbstractPetscVec, F::AbstractPetscVec, ctx::Ptr{Cvoid}) - error("DMPlexSNESComputeResidualDS: no generated method for these argument types") + throw(MethodError(DMPlexSNESComputeResidualDS, (petsclib, dm, X, F, ctx))) end @for_petsc function DMPlexSNESComputeResidualDS(petsclib::$UnionPetscLib, dm::AbstractPetscDM, X::AbstractPetscVec, F::AbstractPetscVec, ctx::Ptr{Cvoid} ) @@ -33573,7 +33573,7 @@ See also: `DM`, `DMPLEX`, `DMSNESComputeJacobianAction()` $(_doc_external("SNES/DMPlexSNESComputeResidualFEM")) """ function DMPlexSNESComputeResidualFEM(petsclib::PetscLibType, dm::AbstractPetscDM, X::AbstractPetscVec, F::AbstractPetscVec, ctx::Ptr{Cvoid}) - error("DMPlexSNESComputeResidualFEM: no generated method for these argument types") + throw(MethodError(DMPlexSNESComputeResidualFEM, (petsclib, dm, X, F, ctx))) end @for_petsc function DMPlexSNESComputeResidualFEM(petsclib::$UnionPetscLib, dm::AbstractPetscDM, X::AbstractPetscVec, F::AbstractPetscVec, ctx::Ptr{Cvoid} ) @@ -33613,7 +33613,7 @@ See also: `DM`, `DMPLEX`, `DMLoad()`, `DMPlexTopologyLoad()`, `DMPlexCoordinates $(_doc_external("DMPlex/DMPlexSectionLoad")) """ function DMPlexSectionLoad(petsclib::PetscLibType, dm::AbstractPetscDM, viewer::PetscViewer, sectiondm::AbstractPetscDM, globalToLocalPointSF::PetscSF) - error("DMPlexSectionLoad: no generated method for these argument types") + throw(MethodError(DMPlexSectionLoad, (petsclib, dm, viewer, sectiondm, globalToLocalPointSF))) end @for_petsc function DMPlexSectionLoad(petsclib::$UnionPetscLib, dm::AbstractPetscDM, viewer::PetscViewer, sectiondm::AbstractPetscDM, globalToLocalPointSF::PetscSF ) @@ -33652,7 +33652,7 @@ See also: `DM`, `DMPLEX`, `DMView()`, `DMPlexTopologyView()`, `DMPlexCoordinates $(_doc_external("DMPlex/DMPlexSectionView")) """ function DMPlexSectionView(petsclib::PetscLibType, dm::AbstractPetscDM, viewer::PetscViewer, sectiondm::AbstractPetscDM) - error("DMPlexSectionView: no generated method for these argument types") + throw(MethodError(DMPlexSectionView, (petsclib, dm, viewer, sectiondm))) end @for_petsc function DMPlexSectionView(petsclib::$UnionPetscLib, dm::AbstractPetscDM, viewer::PetscViewer, sectiondm::AbstractPetscDM ) @@ -33686,7 +33686,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetActivePoint()` $(_doc_external("DMPlex/DMPlexSetActivePoint")) """ function DMPlexSetActivePoint(petsclib::PetscLibType, dm::AbstractPetscDM, point::Integer) - error("DMPlexSetActivePoint: no generated method for these argument types") + throw(MethodError(DMPlexSetActivePoint, (petsclib, dm, point))) end @for_petsc function DMPlexSetActivePoint(petsclib::$UnionPetscLib, dm::AbstractPetscDM, point::$PetscInt ) @@ -33718,7 +33718,7 @@ See also: `DMPLEX`, `DMGetAdjacency()`, `DMSetAdjacency()`, `DMPlexDistribute()` $(_doc_external("DMPlex/DMPlexSetAdjacencyUseAnchors")) """ function DMPlexSetAdjacencyUseAnchors(petsclib::PetscLibType, dm::AbstractPetscDM, useAnchors::PetscBool) - error("DMPlexSetAdjacencyUseAnchors: no generated method for these argument types") + throw(MethodError(DMPlexSetAdjacencyUseAnchors, (petsclib, dm, useAnchors))) end @for_petsc function DMPlexSetAdjacencyUseAnchors(petsclib::$UnionPetscLib, dm::AbstractPetscDM, useAnchors::PetscBool ) @@ -33751,7 +33751,7 @@ See also: `DMPLEX`, `DMSetAdjacency()`, `DMPlexDistribute()`, `DMPlexPreallocate $(_doc_external("DMPlex/DMPlexSetAdjacencyUser")) """ function DMPlexSetAdjacencyUser(petsclib::PetscLibType, dm::AbstractPetscDM, user::external, ctx::Ptr{Cvoid}) - error("DMPlexSetAdjacencyUser: no generated method for these argument types") + throw(MethodError(DMPlexSetAdjacencyUser, (petsclib, dm, user, ctx))) end @for_petsc function DMPlexSetAdjacencyUser(petsclib::$UnionPetscLib, dm::AbstractPetscDM, user::external, ctx::Ptr{Cvoid} ) @@ -33787,7 +33787,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetAnchors()`, `DMGetDefaultConstraints()`, `DM $(_doc_external("DMPlex/DMPlexSetAnchors")) """ function DMPlexSetAnchors(petsclib::PetscLibType, dm::AbstractPetscDM, anchorSection::PetscSection, anchorIS::AbstractIS) - error("DMPlexSetAnchors: no generated method for these argument types") + throw(MethodError(DMPlexSetAnchors, (petsclib, dm, anchorSection, anchorIS))) end @for_petsc function DMPlexSetAnchors(petsclib::$UnionPetscLib, dm::AbstractPetscDM, anchorSection::PetscSection, anchorIS::AbstractIS ) @@ -33822,7 +33822,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetCellTypeLabel()`, `DMPlexGetDepthLabel()`, ` $(_doc_external("DMPlex/DMPlexSetCellType")) """ function DMPlexSetCellType(petsclib::PetscLibType, dm::AbstractPetscDM, cell::Integer, celltype::DMPolytopeType) - error("DMPlexSetCellType: no generated method for these argument types") + throw(MethodError(DMPlexSetCellType, (petsclib, dm, cell, celltype))) end @for_petsc function DMPlexSetCellType(petsclib::$UnionPetscLib, dm::AbstractPetscDM, cell::$PetscInt, celltype::DMPolytopeType ) @@ -33857,7 +33857,7 @@ See also: `DM`, `DMPLEX`, `DMPlexCreate()`, `DMPlexGetChart()` $(_doc_external("DMPlex/DMPlexSetChart")) """ function DMPlexSetChart(petsclib::PetscLibType, dm::AbstractPetscDM, pStart::Integer, pEnd::Integer) - error("DMPlexSetChart: no generated method for these argument types") + throw(MethodError(DMPlexSetChart, (petsclib, dm, pStart, pEnd))) end @for_petsc function DMPlexSetChart(petsclib::$UnionPetscLib, dm::AbstractPetscDM, pStart::$PetscInt, pEnd::$PetscInt ) @@ -33931,7 +33931,7 @@ See also: `DM`, `DMPLEX`, `DMGetLocalSection()`, `PetscSectionSetClosurePermutat $(_doc_external("DMPlex/DMPlexSetClosurePermutationTensor")) """ function DMPlexSetClosurePermutationTensor(petsclib::PetscLibType, dm::AbstractPetscDM, point::Integer, section::PetscSection) - error("DMPlexSetClosurePermutationTensor: no generated method for these argument types") + throw(MethodError(DMPlexSetClosurePermutationTensor, (petsclib, dm, point, section))) end @for_petsc function DMPlexSetClosurePermutationTensor(petsclib::$UnionPetscLib, dm::AbstractPetscDM, point::$PetscInt, section::PetscSection ) @@ -33966,7 +33966,7 @@ See also: `DM`, `DMPLEX`, `DMPlexCreate()`, `DMPlexGetCone()`, `DMPlexSetChart() $(_doc_external("DMPlex/DMPlexSetCone")) """ function DMPlexSetCone(petsclib::PetscLibType, dm::AbstractPetscDM, p::Integer, cone::AbstractVector{<:Number}) - error("DMPlexSetCone: no generated method for these argument types") + throw(MethodError(DMPlexSetCone, (petsclib, dm, p, cone))) end @for_petsc function DMPlexSetCone(petsclib::$UnionPetscLib, dm::AbstractPetscDM, p::$PetscInt, cone::Vector{$PetscInt} ) @@ -34001,7 +34001,7 @@ See also: `DM`, `DMPLEX`, `DMPlexCreate()`, `DMPlexGetConeOrientation()`, `DMPle $(_doc_external("DMPlex/DMPlexSetConeOrientation")) """ function DMPlexSetConeOrientation(petsclib::PetscLibType, dm::AbstractPetscDM, p::Integer, coneOrientation::AbstractVector{<:Number}) - error("DMPlexSetConeOrientation: no generated method for these argument types") + throw(MethodError(DMPlexSetConeOrientation, (petsclib, dm, p, coneOrientation))) end @for_petsc function DMPlexSetConeOrientation(petsclib::$UnionPetscLib, dm::AbstractPetscDM, p::$PetscInt, coneOrientation::Vector{$PetscInt} ) @@ -34036,7 +34036,7 @@ See also: `DM`, `DMPLEX`, `DMPlexSetCone()`, `DMPlexCreate()`, `DMPlexGetConeSiz $(_doc_external("DMPlex/DMPlexSetConeSize")) """ function DMPlexSetConeSize(petsclib::PetscLibType, dm::AbstractPetscDM, p::Integer, size::Integer) - error("DMPlexSetConeSize: no generated method for these argument types") + throw(MethodError(DMPlexSetConeSize, (petsclib, dm, p, size))) end @for_petsc function DMPlexSetConeSize(petsclib::$UnionPetscLib, dm::AbstractPetscDM, p::$PetscInt, size::$PetscInt ) @@ -34070,7 +34070,7 @@ See also: `DMPLEX`, `DMSetCoordinates()`, `DMPlexGetCoordinateMap()`, `PetscPoin $(_doc_external("DMPlex/DMPlexSetCoordinateMap")) """ function DMPlexSetCoordinateMap(petsclib::PetscLibType, dm::AbstractPetscDM, coordFunc::Ptr{Cvoid}) - error("DMPlexSetCoordinateMap: no generated method for these argument types") + throw(MethodError(DMPlexSetCoordinateMap, (petsclib, dm, coordFunc))) end @for_petsc function DMPlexSetCoordinateMap(petsclib::$UnionPetscLib, dm::AbstractPetscDM, coordFunc::Ptr{Cvoid} ) @@ -34104,7 +34104,7 @@ See also: `DMPlexGetInterpolatePreferTensor()`, `DMPLEX`, `DMPlexInterpolate()`, $(_doc_external("DMPlex/DMPlexSetInterpolatePreferTensor")) """ function DMPlexSetInterpolatePreferTensor(petsclib::PetscLibType, dm::AbstractPetscDM, preferTensor::PetscBool) - error("DMPlexSetInterpolatePreferTensor: no generated method for these argument types") + throw(MethodError(DMPlexSetInterpolatePreferTensor, (petsclib, dm, preferTensor))) end @for_petsc function DMPlexSetInterpolatePreferTensor(petsclib::$UnionPetscLib, dm::AbstractPetscDM, preferTensor::PetscBool ) @@ -34139,7 +34139,7 @@ See also: `DMPLEX`, `DMGetGlobalSection()`, `DMPlexGetIsoperiodicFaceSF()` $(_doc_external("DMPlex/DMPlexSetIsoperiodicFaceSF")) """ function DMPlexSetIsoperiodicFaceSF(petsclib::PetscLibType, dm::AbstractPetscDM, num_face_sfs::Integer, face_sfs::PetscSF) - error("DMPlexSetIsoperiodicFaceSF: no generated method for these argument types") + throw(MethodError(DMPlexSetIsoperiodicFaceSF, (petsclib, dm, num_face_sfs, face_sfs))) end @for_petsc function DMPlexSetIsoperiodicFaceSF(petsclib::$UnionPetscLib, dm::AbstractPetscDM, num_face_sfs::$PetscInt, face_sfs::PetscSF ) @@ -34174,7 +34174,7 @@ See also: `DMPLEX`, `DMGetGlobalSection()`, `DMPlexSetIsoperiodicFaceSF()` $(_doc_external("DMPlex/DMPlexSetIsoperiodicFaceTransform")) """ function DMPlexSetIsoperiodicFaceTransform(petsclib::PetscLibType, dm::AbstractPetscDM, n::Integer, t::AbstractVector{<:Number}) - error("DMPlexSetIsoperiodicFaceTransform: no generated method for these argument types") + throw(MethodError(DMPlexSetIsoperiodicFaceTransform, (petsclib, dm, n, t))) end @for_petsc function DMPlexSetIsoperiodicFaceTransform(petsclib::$UnionPetscLib, dm::AbstractPetscDM, n::$PetscInt, t::Vector{$PetscScalar} ) @@ -34208,7 +34208,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetMaxProjectionHeight()`, `DMProjectFunctionLo $(_doc_external("DMPlex/DMPlexSetMaxProjectionHeight")) """ function DMPlexSetMaxProjectionHeight(petsclib::PetscLibType, dm::AbstractPetscDM, height::Integer) - error("DMPlexSetMaxProjectionHeight: no generated method for these argument types") + throw(MethodError(DMPlexSetMaxProjectionHeight, (petsclib, dm, height))) end @for_petsc function DMPlexSetMaxProjectionHeight(petsclib::$UnionPetscLib, dm::AbstractPetscDM, height::$PetscInt ) @@ -34242,7 +34242,7 @@ See also: `DM`, `DMPLEX`, `PetscSF`, `DMPlexDistribute()`, `DMPlexDistributeFiel $(_doc_external("DMPlex/DMPlexSetMigrationSF")) """ function DMPlexSetMigrationSF(petsclib::PetscLibType, dm::AbstractPetscDM, migrationSF::PetscSF) - error("DMPlexSetMigrationSF: no generated method for these argument types") + throw(MethodError(DMPlexSetMigrationSF, (petsclib, dm, migrationSF))) end @for_petsc function DMPlexSetMigrationSF(petsclib::$UnionPetscLib, dm::AbstractPetscDM, migrationSF::PetscSF ) @@ -34276,7 +34276,7 @@ See also: `DMPLEX`, `DMSetCoordinates()` $(_doc_external("DMPlex/DMPlexSetMinRadius")) """ function DMPlexSetMinRadius(petsclib::PetscLibType, dm::AbstractPetscDM, minradius::Real) - error("DMPlexSetMinRadius: no generated method for these argument types") + throw(MethodError(DMPlexSetMinRadius, (petsclib, dm, minradius))) end @for_petsc function DMPlexSetMinRadius(petsclib::$UnionPetscLib, dm::AbstractPetscDM, minradius::$PetscReal ) @@ -34310,7 +34310,7 @@ See also: `DM`, `DMPLEX`, `SNESSetFromOptions()` $(_doc_external("DMPlex/DMPlexSetOptionsPrefix")) """ function DMPlexSetOptionsPrefix(petsclib::PetscLibType, dm::AbstractPetscDM, prefix::String) - error("DMPlexSetOptionsPrefix: no generated method for these argument types") + throw(MethodError(DMPlexSetOptionsPrefix, (petsclib, dm, prefix))) end @for_petsc function DMPlexSetOptionsPrefix(petsclib::$UnionPetscLib, dm::AbstractPetscDM, prefix::String ) @@ -34345,7 +34345,7 @@ See also: `DMPLEX`, `DMPlexGetOverlap()`, `DMPlexDistribute()` $(_doc_external("DMPlex/DMPlexSetOverlap")) """ function DMPlexSetOverlap(petsclib::PetscLibType, dm::AbstractPetscDM, dmSrc::AbstractPetscDM, overlap::Integer) - error("DMPlexSetOverlap: no generated method for these argument types") + throw(MethodError(DMPlexSetOverlap, (petsclib, dm, dmSrc, overlap))) end @for_petsc function DMPlexSetOverlap(petsclib::$UnionPetscLib, dm::AbstractPetscDM, dmSrc::AbstractPetscDM, overlap::$PetscInt ) @@ -34377,7 +34377,7 @@ See also: `DMPLEX`, `DMPlexDistribute()`, `DMPlexGetPartitionBalance()` $(_doc_external("DMPlex/DMPlexSetPartitionBalance")) """ function DMPlexSetPartitionBalance(petsclib::PetscLibType, dm::AbstractPetscDM, flg::PetscBool) - error("DMPlexSetPartitionBalance: no generated method for these argument types") + throw(MethodError(DMPlexSetPartitionBalance, (petsclib, dm, flg))) end @for_petsc function DMPlexSetPartitionBalance(petsclib::$UnionPetscLib, dm::AbstractPetscDM, flg::PetscBool ) @@ -34411,7 +34411,7 @@ See also: `DM`, `DMPLEX`, `PetscPartitioner`, `DMPlexDistribute()`, `DMPlexGetPa $(_doc_external("DMPlex/DMPlexSetPartitioner")) """ function DMPlexSetPartitioner(petsclib::PetscLibType, dm::AbstractPetscDM, part::PetscPartitioner) - error("DMPlexSetPartitioner: no generated method for these argument types") + throw(MethodError(DMPlexSetPartitioner, (petsclib, dm, part))) end @for_petsc function DMPlexSetPartitioner(petsclib::$UnionPetscLib, dm::AbstractPetscDM, part::PetscPartitioner ) @@ -34445,7 +34445,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetReferenceTree()`, `DMPlexCreateDefaultRefere $(_doc_external("DMPlex/DMPlexSetReferenceTree")) """ function DMPlexSetReferenceTree(petsclib::PetscLibType, dm::AbstractPetscDM, ref::AbstractPetscDM) - error("DMPlexSetReferenceTree: no generated method for these argument types") + throw(MethodError(DMPlexSetReferenceTree, (petsclib, dm, ref))) end @for_petsc function DMPlexSetReferenceTree(petsclib::$UnionPetscLib, dm::AbstractPetscDM, ref::AbstractPetscDM ) @@ -34481,7 +34481,7 @@ See also: `DM`, `DMPLEX`, `DMRefine()`, `DMPlexGetRefinementFunction()`, `DMPlex $(_doc_external("DMPlex/DMPlexSetRefinementFunction")) """ function DMPlexSetRefinementFunction(petsclib::PetscLibType, dm::AbstractPetscDM, refinementFunc::external) - error("DMPlexSetRefinementFunction: no generated method for these argument types") + throw(MethodError(DMPlexSetRefinementFunction, (petsclib, dm, refinementFunc))) end @for_petsc function DMPlexSetRefinementFunction(petsclib::$UnionPetscLib, dm::AbstractPetscDM, refinementFunc::external ) @@ -34513,7 +34513,7 @@ See also: `DM`, `DMPLEX`, `DMRefine()`, `DMPlexGetRefinementLimit()`, `DMPlexGet $(_doc_external("DMPlex/DMPlexSetRefinementLimit")) """ function DMPlexSetRefinementLimit(petsclib::PetscLibType, dm::AbstractPetscDM, refinementLimit::Real) - error("DMPlexSetRefinementLimit: no generated method for these argument types") + throw(MethodError(DMPlexSetRefinementLimit, (petsclib, dm, refinementLimit))) end @for_petsc function DMPlexSetRefinementLimit(petsclib::$UnionPetscLib, dm::AbstractPetscDM, refinementLimit::$PetscReal ) @@ -34545,7 +34545,7 @@ See also: `DM`, `DMPLEX`, `DMRefine()`, `DMPlexGetRefinementUniform()`, `DMPlexG $(_doc_external("DMPlex/DMPlexSetRefinementUniform")) """ function DMPlexSetRefinementUniform(petsclib::PetscLibType, dm::AbstractPetscDM, refinementUniform::PetscBool) - error("DMPlexSetRefinementUniform: no generated method for these argument types") + throw(MethodError(DMPlexSetRefinementUniform, (petsclib, dm, refinementUniform))) end @for_petsc function DMPlexSetRefinementUniform(petsclib::$UnionPetscLib, dm::AbstractPetscDM, refinementUniform::PetscBool ) @@ -34577,7 +34577,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetRegularRefinement()` $(_doc_external("DMPlex/DMPlexSetRegularRefinement")) """ function DMPlexSetRegularRefinement(petsclib::PetscLibType, dm::AbstractPetscDM, regular::PetscBool) - error("DMPlexSetRegularRefinement: no generated method for these argument types") + throw(MethodError(DMPlexSetRegularRefinement, (petsclib, dm, regular))) end @for_petsc function DMPlexSetRegularRefinement(petsclib::$UnionPetscLib, dm::AbstractPetscDM, regular::PetscBool ) @@ -34610,7 +34610,7 @@ See also: `DMPLEX`, `SNES`, `PetscDSAddBoundary()`, `PetscDSSetObjective()`, `Pe $(_doc_external("SNES/DMPlexSetSNESLocalFEM")) """ function DMPlexSetSNESLocalFEM(petsclib::PetscLibType, dm::AbstractPetscDM, use_obj::PetscBool, ctx::Ptr{Cvoid}) - error("DMPlexSetSNESLocalFEM: no generated method for these argument types") + throw(MethodError(DMPlexSetSNESLocalFEM, (petsclib, dm, use_obj, ctx))) end @for_petsc function DMPlexSetSNESLocalFEM(petsclib::$UnionPetscLib, dm::AbstractPetscDM, use_obj::PetscBool, ctx::Ptr{Cvoid} ) @@ -34644,7 +34644,7 @@ See also: `SNESVISetVariableBounds()`, `SNESVI`, `DM` $(_doc_external("SNES/DMPlexSetSNESVariableBounds")) """ function DMPlexSetSNESVariableBounds(petsclib::PetscLibType, dm::AbstractPetscDM, snes::AbstractSNES) - error("DMPlexSetSNESVariableBounds: no generated method for these argument types") + throw(MethodError(DMPlexSetSNESVariableBounds, (petsclib, dm, snes))) end @for_petsc function DMPlexSetSNESVariableBounds(petsclib::$UnionPetscLib, dm::AbstractPetscDM, snes::AbstractSNES ) @@ -34678,7 +34678,7 @@ See also: `DM`, `DMPLEX`, `DMPlexTransform`, `DMPlexGetSaveTransform()`, `DMPlex $(_doc_external("DMPlex/DMPlexSetSaveTransform")) """ function DMPlexSetSaveTransform(petsclib::PetscLibType, dm::AbstractPetscDM, save::PetscBool) - error("DMPlexSetSaveTransform: no generated method for these argument types") + throw(MethodError(DMPlexSetSaveTransform, (petsclib, dm, save))) end @for_petsc function DMPlexSetSaveTransform(petsclib::$UnionPetscLib, dm::AbstractPetscDM, save::PetscBool ) @@ -34713,7 +34713,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetScale()`, `PetscUnit` $(_doc_external("DMPlex/DMPlexSetScale")) """ function DMPlexSetScale(petsclib::PetscLibType, dm::AbstractPetscDM, unit::PetscUnit, scale::Real) - error("DMPlexSetScale: no generated method for these argument types") + throw(MethodError(DMPlexSetScale, (petsclib, dm, unit, scale))) end @for_petsc function DMPlexSetScale(petsclib::$UnionPetscLib, dm::AbstractPetscDM, unit::PetscUnit, scale::$PetscReal ) @@ -34745,7 +34745,7 @@ See also: `DM`, `DMPLEX`, `DMPlexCreateSubmesh()`, `DMPlexGetSubpointIS()` $(_doc_external("DMPlex/DMPlexSetSubpointMap")) """ function DMPlexSetSubpointMap(petsclib::PetscLibType, dm::AbstractPetscDM, subpointMap::DMLabel) - error("DMPlexSetSubpointMap: no generated method for these argument types") + throw(MethodError(DMPlexSetSubpointMap, (petsclib, dm, subpointMap))) end @for_petsc function DMPlexSetSubpointMap(petsclib::$UnionPetscLib, dm::AbstractPetscDM, subpointMap::DMLabel ) @@ -34780,7 +34780,7 @@ See also: `DM`, `DMPLEX`, `DMPlexSetCone()`, `DMPlexSetConeSize()`, `DMPlexCreat $(_doc_external("DMPlex/DMPlexSetSupport")) """ function DMPlexSetSupport(petsclib::PetscLibType, dm::AbstractPetscDM, p::Integer, support::AbstractVector{<:Number}) - error("DMPlexSetSupport: no generated method for these argument types") + throw(MethodError(DMPlexSetSupport, (petsclib, dm, p, support))) end @for_petsc function DMPlexSetSupport(petsclib::$UnionPetscLib, dm::AbstractPetscDM, p::$PetscInt, support::Vector{$PetscInt} ) @@ -34815,7 +34815,7 @@ See also: `DM`, `DMPLEX`, `DMPlexCreate()`, `DMPlexGetSupportSize()`, `DMPlexSet $(_doc_external("DMPlex/DMPlexSetSupportSize")) """ function DMPlexSetSupportSize(petsclib::PetscLibType, dm::AbstractPetscDM, p::Integer, size::Integer) - error("DMPlexSetSupportSize: no generated method for these argument types") + throw(MethodError(DMPlexSetSupportSize, (petsclib, dm, p, size))) end @for_petsc function DMPlexSetSupportSize(petsclib::$UnionPetscLib, dm::AbstractPetscDM, p::$PetscInt, size::$PetscInt ) @@ -34849,7 +34849,7 @@ See also: `DM`, `DMPLEX`, `DMPlexTransform`, `DMPlexGetTransform()`, `DMPlexSetS $(_doc_external("DMPlex/DMPlexSetTransform")) """ function DMPlexSetTransform(petsclib::PetscLibType, dm::AbstractPetscDM, tr::DMPlexTransform) - error("DMPlexSetTransform: no generated method for these argument types") + throw(MethodError(DMPlexSetTransform, (petsclib, dm, tr))) end @for_petsc function DMPlexSetTransform(petsclib::$UnionPetscLib, dm::AbstractPetscDM, tr::DMPlexTransform ) @@ -34881,7 +34881,7 @@ See also: `DM`, `DMPLEX`, `DMPlexTransformType`, `DMRefine()`, `DMPlexGetTransfo $(_doc_external("DMPlex/DMPlexSetTransformType")) """ function DMPlexSetTransformType(petsclib::PetscLibType, dm::AbstractPetscDM, type::String) - error("DMPlexSetTransformType: no generated method for these argument types") + throw(MethodError(DMPlexSetTransformType, (petsclib, dm, type))) end @for_petsc function DMPlexSetTransformType(petsclib::$UnionPetscLib, dm::AbstractPetscDM, type::String ) @@ -34921,7 +34921,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetTree()`, `DMPlexSetReferenceTree()`, `DMPlex $(_doc_external("DMPlex/DMPlexSetTree")) """ function DMPlexSetTree(petsclib::PetscLibType, dm::AbstractPetscDM, parentSection::PetscSection, parents::AbstractVector{<:Number}, childIDs::AbstractVector{<:Number}) - error("DMPlexSetTree: no generated method for these argument types") + throw(MethodError(DMPlexSetTree, (petsclib, dm, parentSection, parents, childIDs))) end @for_petsc function DMPlexSetTree(petsclib::$UnionPetscLib, dm::AbstractPetscDM, parentSection::PetscSection, parents::Vector{$PetscInt}, childIDs::Vector{$PetscInt} ) @@ -34955,7 +34955,7 @@ See also: `DMPlexGetUseMatClosurePermutation()` $(_doc_external("DMPlex/DMPlexSetUseMatClosurePermutation")) """ function DMPlexSetUseMatClosurePermutation(petsclib::PetscLibType, dm::AbstractPetscDM, useClPerm::PetscBool) - error("DMPlexSetUseMatClosurePermutation: no generated method for these argument types") + throw(MethodError(DMPlexSetUseMatClosurePermutation, (petsclib, dm, useClPerm))) end @for_petsc function DMPlexSetUseMatClosurePermutation(petsclib::$UnionPetscLib, dm::AbstractPetscDM, useClPerm::PetscBool ) @@ -34987,7 +34987,7 @@ See also: `DM`, `DMPLEX`, `DMPlexGetVTKCellHeight()` $(_doc_external("DMPlex/DMPlexSetVTKCellHeight")) """ function DMPlexSetVTKCellHeight(petsclib::PetscLibType, dm::AbstractPetscDM, cellHeight::Integer) - error("DMPlexSetVTKCellHeight: no generated method for these argument types") + throw(MethodError(DMPlexSetVTKCellHeight, (petsclib, dm, cellHeight))) end @for_petsc function DMPlexSetVTKCellHeight(petsclib::$UnionPetscLib, dm::AbstractPetscDM, cellHeight::$PetscInt ) @@ -35022,7 +35022,7 @@ See also: `DMPLEX`, `DMPlexRemapGeometry()`, `DMDirection`, `DM_X`, `DM_Y`, `DM_ $(_doc_external("DMPlex/DMPlexShearGeometry")) """ function DMPlexShearGeometry(petsclib::PetscLibType, dm::AbstractPetscDM, direction::DMDirection, multipliers::AbstractVector{<:Number}) - error("DMPlexShearGeometry: no generated method for these argument types") + throw(MethodError(DMPlexShearGeometry, (petsclib, dm, direction, multipliers))) end @for_petsc function DMPlexShearGeometry(petsclib::$UnionPetscLib, dm::AbstractPetscDM, direction::DMDirection, multipliers::Vector{$PetscReal} ) @@ -35055,7 +35055,7 @@ See also: `DM`, `DMPLEX`, `DMPlexCreate()`, `DMPlexSymmetrize()`, `DMPlexCompute $(_doc_external("DMPlex/DMPlexStratify")) """ function DMPlexStratify(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexStratify: no generated method for these argument types") + throw(MethodError(DMPlexStratify, (petsclib, dm))) end @for_petsc function DMPlexStratify(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -35090,7 +35090,7 @@ See also: `DMPLEX`, `DMPlexPartitionLabelCreateSF()`, `DMPlexDistribute()`, `DMP $(_doc_external("DMPlex/DMPlexStratifyMigrationSF")) """ function DMPlexStratifyMigrationSF(petsclib::PetscLibType, dm::AbstractPetscDM, sf::PetscSF) - error("DMPlexStratifyMigrationSF: no generated method for these argument types") + throw(MethodError(DMPlexStratifyMigrationSF, (petsclib, dm, sf))) end @for_petsc function DMPlexStratifyMigrationSF(petsclib::$UnionPetscLib, dm::AbstractPetscDM, sf::PetscSF ) @@ -35125,7 +35125,7 @@ See also: `DM`, `DMPLEX`, `DMPlexCreate()`, `DMPlexSetChart()`, `DMPlexSetConeSi $(_doc_external("DMPlex/DMPlexSymmetrize")) """ function DMPlexSymmetrize(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexSymmetrize: no generated method for these argument types") + throw(MethodError(DMPlexSymmetrize, (petsclib, dm))) end @for_petsc function DMPlexSymmetrize(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -35160,7 +35160,7 @@ See also: `DMPLEX`, `TS`, `DMPlexComputeJacobianActionFEM()` $(_doc_external("TS/DMPlexTSComputeBoundary")) """ function DMPlexTSComputeBoundary(petsclib::PetscLibType, dm::AbstractPetscDM, time::Real, locX::AbstractPetscVec, locX_t::AbstractPetscVec, ctx::Ptr{Cvoid}) - error("DMPlexTSComputeBoundary: no generated method for these argument types") + throw(MethodError(DMPlexTSComputeBoundary, (petsclib, dm, time, locX, locX_t, ctx))) end @for_petsc function DMPlexTSComputeBoundary(petsclib::$UnionPetscLib, dm::AbstractPetscDM, time::$PetscReal, locX::AbstractPetscVec, locX_t::AbstractPetscVec, ctx::Ptr{Cvoid} ) @@ -35198,7 +35198,7 @@ See also: `DMPLEX`, `TS`, `DMPlexTSComputeRHSFunctionFEM()` $(_doc_external("TS/DMPlexTSComputeIFunctionFEM")) """ function DMPlexTSComputeIFunctionFEM(petsclib::PetscLibType, dm::AbstractPetscDM, time::Real, locX::AbstractPetscVec, locX_t::AbstractPetscVec, locF::AbstractPetscVec, ctx::Ptr{Cvoid}) - error("DMPlexTSComputeIFunctionFEM: no generated method for these argument types") + throw(MethodError(DMPlexTSComputeIFunctionFEM, (petsclib, dm, time, locX, locX_t, locF, ctx))) end @for_petsc function DMPlexTSComputeIFunctionFEM(petsclib::$UnionPetscLib, dm::AbstractPetscDM, time::$PetscReal, locX::AbstractPetscVec, locX_t::AbstractPetscVec, locF::AbstractPetscVec, ctx::Ptr{Cvoid} ) @@ -35238,7 +35238,7 @@ See also: `TS`, `DM`, `DMPlexTSComputeIFunctionFEM()`, `DMPlexTSComputeRHSFuncti $(_doc_external("TS/DMPlexTSComputeIJacobianFEM")) """ function DMPlexTSComputeIJacobianFEM(petsclib::PetscLibType, dm::AbstractPetscDM, time::Real, locX::AbstractPetscVec, locX_t::AbstractPetscVec, X_tShift::Real, Jac::AbstractPetscMat, JacP::AbstractPetscMat, ctx::Ptr{Cvoid}) - error("DMPlexTSComputeIJacobianFEM: no generated method for these argument types") + throw(MethodError(DMPlexTSComputeIJacobianFEM, (petsclib, dm, time, locX, locX_t, X_tShift, Jac, JacP, ctx))) end @for_petsc function DMPlexTSComputeIJacobianFEM(petsclib::$UnionPetscLib, dm::AbstractPetscDM, time::$PetscReal, locX::AbstractPetscVec, locX_t::AbstractPetscVec, X_tShift::$PetscReal, Jac::AbstractPetscMat, JacP::AbstractPetscMat, ctx::Ptr{Cvoid} ) @@ -35275,7 +35275,7 @@ See also: `TS`, `DM`, `DMPlexTSComputeIFunctionFEM()`, `DMPlexTSComputeIJacobian $(_doc_external("TS/DMPlexTSComputeRHSFunctionFEM")) """ function DMPlexTSComputeRHSFunctionFEM(petsclib::PetscLibType, dm::AbstractPetscDM, time::Real, locX::AbstractPetscVec, locG::AbstractPetscVec, ctx::Ptr{Cvoid}) - error("DMPlexTSComputeRHSFunctionFEM: no generated method for these argument types") + throw(MethodError(DMPlexTSComputeRHSFunctionFEM, (petsclib, dm, time, locX, locG, ctx))) end @for_petsc function DMPlexTSComputeRHSFunctionFEM(petsclib::$UnionPetscLib, dm::AbstractPetscDM, time::$PetscReal, locX::AbstractPetscVec, locG::AbstractPetscVec, ctx::Ptr{Cvoid} ) @@ -35312,7 +35312,7 @@ See also: `DMPLEX`, `TS`, `DMPlexComputeJacobianActionFEM()` $(_doc_external("TS/DMPlexTSComputeRHSFunctionFVM")) """ function DMPlexTSComputeRHSFunctionFVM(petsclib::PetscLibType, dm::AbstractPetscDM, time::Real, locX::AbstractPetscVec, F::AbstractPetscVec, ctx::Ptr{Cvoid}) - error("DMPlexTSComputeRHSFunctionFVM: no generated method for these argument types") + throw(MethodError(DMPlexTSComputeRHSFunctionFVM, (petsclib, dm, time, locX, F, ctx))) end @for_petsc function DMPlexTSComputeRHSFunctionFVM(petsclib::$UnionPetscLib, dm::AbstractPetscDM, time::$PetscReal, locX::AbstractPetscVec, F::AbstractPetscVec, ctx::Ptr{Cvoid} ) @@ -35349,7 +35349,7 @@ See also: `TS`, `DMPLEX`, `DMCeedCreate()`, `DMPlexSNESComputeResidualCEED()`, ` $(_doc_external("TS/DMPlexTSComputeRHSFunctionFVMCEED")) """ function DMPlexTSComputeRHSFunctionFVMCEED(petsclib::PetscLibType, dm::AbstractPetscDM, time::Real, locX::AbstractPetscVec, F::AbstractPetscVec, ctx::Ptr{Cvoid}) - error("DMPlexTSComputeRHSFunctionFVMCEED: no generated method for these argument types") + throw(MethodError(DMPlexTSComputeRHSFunctionFVMCEED, (petsclib, dm, time, locX, F, ctx))) end @for_petsc function DMPlexTSComputeRHSFunctionFVMCEED(petsclib::$UnionPetscLib, dm::AbstractPetscDM, time::$PetscReal, locX::AbstractPetscVec, F::AbstractPetscVec, ctx::Ptr{Cvoid} ) @@ -35383,7 +35383,7 @@ See also: `DM`, `DMPLEX`, `DMPlexTriangleSetOptions()`, `DMPlexGenerate()` $(_doc_external("DMPlex/DMPlexTetgenSetOptions")) """ function DMPlexTetgenSetOptions(petsclib::PetscLibType, dm::AbstractPetscDM, opts::String) - error("DMPlexTetgenSetOptions: no generated method for these argument types") + throw(MethodError(DMPlexTetgenSetOptions, (petsclib, dm, opts))) end @for_petsc function DMPlexTetgenSetOptions(petsclib::$UnionPetscLib, dm::AbstractPetscDM, opts::String ) @@ -35422,7 +35422,7 @@ See also: `DM`, `DMPLEX`, `DMLoad()`, `DMPlexCoordinatesLoad()`, `DMPlexLabelsLo $(_doc_external("DMPlex/DMPlexTopologyLoad")) """ function DMPlexTopologyLoad(petsclib::PetscLibType, dm::AbstractPetscDM, viewer::PetscViewer) - error("DMPlexTopologyLoad: no generated method for these argument types") + throw(MethodError(DMPlexTopologyLoad, (petsclib, dm, viewer))) end @for_petsc function DMPlexTopologyLoad(petsclib::$UnionPetscLib, dm::AbstractPetscDM, viewer::PetscViewer ) @@ -35458,7 +35458,7 @@ See also: `DM`, `DMPLEX`, `DMView()`, `DMPlexCoordinatesView()`, `DMPlexLabelsVi $(_doc_external("DMPlex/DMPlexTopologyView")) """ function DMPlexTopologyView(petsclib::PetscLibType, dm::AbstractPetscDM, viewer::PetscViewer) - error("DMPlexTopologyView: no generated method for these argument types") + throw(MethodError(DMPlexTopologyView, (petsclib, dm, viewer))) end @for_petsc function DMPlexTopologyView(petsclib::$UnionPetscLib, dm::AbstractPetscDM, viewer::PetscViewer ) @@ -35515,7 +35515,7 @@ See also: `DM`, `DMPLEX`, `PetscSF`, `Vec`, `PetscFV`, `DMPlexSetReferenceTree() $(_doc_external("DMPlex/DMPlexTransferVecTree")) """ function DMPlexTransferVecTree(petsclib::PetscLibType, dmIn::AbstractPetscDM, vecIn::AbstractPetscVec, dmOut::AbstractPetscDM, vecOut::AbstractPetscVec, sfRefine::PetscSF, sfCoarsen::PetscSF, useBCs::PetscBool, time::Real) - error("DMPlexTransferVecTree: no generated method for these argument types") + throw(MethodError(DMPlexTransferVecTree, (petsclib, dmIn, vecIn, dmOut, vecOut, sfRefine, sfCoarsen, useBCs, time))) end @for_petsc function DMPlexTransferVecTree(petsclib::$UnionPetscLib, dmIn::AbstractPetscDM, vecIn::AbstractPetscVec, dmOut::AbstractPetscDM, vecOut::AbstractPetscVec, sfRefine::PetscSF, sfCoarsen::PetscSF, useBCs::PetscBool, time::$PetscReal ) @@ -35556,7 +35556,7 @@ See also: `DM`, `DMPLEX`, `DMPlexSetReferenceTree()`, `DMPlexGetReferenceTree()` $(_doc_external("DMPlex/DMPlexTreeRefineCell")) """ function DMPlexTreeRefineCell(petsclib::PetscLibType, dm::AbstractPetscDM, cell::Integer) - error("DMPlexTreeRefineCell: no generated method for these argument types") + throw(MethodError(DMPlexTreeRefineCell, (petsclib, dm, cell))) end @for_petsc function DMPlexTreeRefineCell(petsclib::$UnionPetscLib, dm::AbstractPetscDM, cell::$PetscInt ) @@ -35592,7 +35592,7 @@ See also: `DM`, `DMPLEX`, `DMPlexTetgenSetOptions()`, `DMPlexGenerate()` $(_doc_external("DMPlex/DMPlexTriangleSetOptions")) """ function DMPlexTriangleSetOptions(petsclib::PetscLibType, dm::AbstractPetscDM, opts::String) - error("DMPlexTriangleSetOptions: no generated method for these argument types") + throw(MethodError(DMPlexTriangleSetOptions, (petsclib, dm, opts))) end @for_petsc function DMPlexTriangleSetOptions(petsclib::$UnionPetscLib, dm::AbstractPetscDM, opts::String ) @@ -35628,7 +35628,7 @@ See also: `DMPLEX`, `DMPlexInterpolate()`, `DMPlexCreateFromCellListPetsc()`, `D $(_doc_external("DMPlex/DMPlexUninterpolate")) """ function DMPlexUninterpolate(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMPlexUninterpolate: no generated method for these argument types") + throw(MethodError(DMPlexUninterpolate, (petsclib, dm))) end @for_petsc function DMPlexUninterpolate(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -35664,7 +35664,7 @@ See also: `DM`, `PETSCVIEWEREXODUSII`, `DMPLEX`, `PETSCVIEWERVTK` $(_doc_external("DMPlex/DMPlexVTKWriteAll")) """ function DMPlexVTKWriteAll(petsclib::PetscLibType, odm, viewer::PetscViewer) - error("DMPlexVTKWriteAll: no generated method for these argument types") + throw(MethodError(DMPlexVTKWriteAll, (petsclib, odm, viewer))) end @for_petsc function DMPlexVTKWriteAll(petsclib::$UnionPetscLib, odm, viewer::PetscViewer ) @@ -35705,7 +35705,7 @@ See also: `DM`, `DMPLEX`, `DMPlexVecGetClosureAtDepth()`, `DMPlexVecRestoreClosu $(_doc_external("DMPlex/DMPlexVecGetClosure")) """ function DMPlexVecGetClosure(petsclib::PetscLibType, dm::AbstractPetscDM, section::PetscSection, v::AbstractPetscVec, point::Integer) - error("DMPlexVecGetClosure: no generated method for these argument types") + throw(MethodError(DMPlexVecGetClosure, (petsclib, dm, section, v, point))) end @for_petsc function DMPlexVecGetClosure(petsclib::$UnionPetscLib, dm::AbstractPetscDM, section::PetscSection, v::AbstractPetscVec, point::$PetscInt ) @@ -35752,7 +35752,7 @@ See also: `DM`, `DMPLEX`, `DMPlexVecGetClosure()`, `DMPlexVecRestoreClosure()`, $(_doc_external("DMPlex/DMPlexVecGetClosureAtDepth")) """ function DMPlexVecGetClosureAtDepth(petsclib::PetscLibType, dm::AbstractPetscDM, section::PetscSection, v::AbstractPetscVec, point::Integer, depth::Integer) - error("DMPlexVecGetClosureAtDepth: no generated method for these argument types") + throw(MethodError(DMPlexVecGetClosureAtDepth, (petsclib, dm, section, v, point, depth))) end @for_petsc function DMPlexVecGetClosureAtDepth(petsclib::$UnionPetscLib, dm::AbstractPetscDM, section::PetscSection, v::AbstractPetscVec, point::$PetscInt, depth::$PetscInt ) @@ -35799,7 +35799,7 @@ See also: `DM`, `DMPLEX`, `DMPlexVecGetClosure()`, `DMPlexGetCellCoordinates()`, $(_doc_external("DMPlex/DMPlexVecGetOrientedClosure")) """ function DMPlexVecGetOrientedClosure(petsclib::PetscLibType, dm::AbstractPetscDM, section::PetscSection, useClPerm::PetscBool, v::AbstractPetscVec, point::Integer, ornt::Integer) - error("DMPlexVecGetOrientedClosure: no generated method for these argument types") + throw(MethodError(DMPlexVecGetOrientedClosure, (petsclib, dm, section, useClPerm, v, point, ornt))) end @for_petsc function DMPlexVecGetOrientedClosure(petsclib::$UnionPetscLib, dm::AbstractPetscDM, section::PetscSection, useClPerm::PetscBool, v::AbstractPetscVec, point::$PetscInt, ornt::$PetscInt ) @@ -35841,7 +35841,7 @@ See also: `DM`, `DMPLEX`, `DMPlexVecGetClosure()`, `DMPlexVecSetClosure()`, `DMP $(_doc_external("DMPlex/DMPlexVecRestoreClosure")) """ function DMPlexVecRestoreClosure(petsclib::PetscLibType, dm::AbstractPetscDM, section::PetscSection, v::AbstractPetscVec, point::Integer, csize::Integer, values::Union{Ptr, AbstractArray{<:Number}}) - error("DMPlexVecRestoreClosure: no generated method for these argument types") + throw(MethodError(DMPlexVecRestoreClosure, (petsclib, dm, section, v, point, csize, values))) end @for_petsc function DMPlexVecRestoreClosure(petsclib::$UnionPetscLib, dm::AbstractPetscDM, section::PetscSection, v::AbstractPetscVec, point::$PetscInt, csize::$PetscInt, values::Union{Ptr, AbstractArray{$PetscScalar}} ) @@ -35882,7 +35882,7 @@ See also: `DM`, `DMPLEX`, `DMPlexVecGetClosure()`, `DMPlexMatSetClosure()` $(_doc_external("DMPlex/DMPlexVecSetClosure")) """ function DMPlexVecSetClosure(petsclib::PetscLibType, dm::AbstractPetscDM, section::PetscSection, v::AbstractPetscVec, point::Integer, values::AbstractVector{<:Number}, mode::InsertMode) - error("DMPlexVecSetClosure: no generated method for these argument types") + throw(MethodError(DMPlexVecSetClosure, (petsclib, dm, section, v, point, values, mode))) end @for_petsc function DMPlexVecSetClosure(petsclib::$UnionPetscLib, dm::AbstractPetscDM, section::PetscSection, v::AbstractPetscVec, point::$PetscInt, values::Vector{$PetscScalar}, mode::InsertMode ) @@ -35918,7 +35918,7 @@ See also: `DM`, `DMPLEX`, `VecViewFromOptions()`, `VecView()` $(_doc_external("DMPlex/DMPlexVecView1D")) """ function DMPlexVecView1D(petsclib::PetscLibType, dm::AbstractPetscDM, n::Integer, u::Vector{<:AbstractPetscVec}, viewer::PetscViewer) - error("DMPlexVecView1D: no generated method for these argument types") + throw(MethodError(DMPlexVecView1D, (petsclib, dm, n, u, viewer))) end @for_petsc function DMPlexVecView1D(petsclib::$UnionPetscLib, dm::AbstractPetscDM, n::$PetscInt, u::Vector{<:AbstractPetscVec}, viewer::PetscViewer ) @@ -35956,7 +35956,7 @@ See also: `DM`, `DMPolytopeType`, `DMPolytopeMatchOrientation()`, `DMPolytopeGet $(_doc_external("DM/DMPolytopeGetOrientation")) """ function DMPolytopeGetOrientation(petsclib::PetscLibType, ct::DMPolytopeType, sourceCone::AbstractVector{<:Number}, targetCone::AbstractVector{<:Number}) - error("DMPolytopeGetOrientation: no generated method for these argument types") + throw(MethodError(DMPolytopeGetOrientation, (petsclib, ct, sourceCone, targetCone))) end @for_petsc function DMPolytopeGetOrientation(petsclib::$UnionPetscLib, ct::DMPolytopeType, sourceCone::Vector{$PetscInt}, targetCone::Vector{$PetscInt} ) @@ -35996,7 +35996,7 @@ See also: `DM`, `DMPolytopeType`, `DMPolytopeMatchVertexOrientation()`, `DMPolyt $(_doc_external("DM/DMPolytopeGetVertexOrientation")) """ function DMPolytopeGetVertexOrientation(petsclib::PetscLibType, ct::DMPolytopeType, sourceCone::AbstractVector{<:Number}, targetCone::AbstractVector{<:Number}) - error("DMPolytopeGetVertexOrientation: no generated method for these argument types") + throw(MethodError(DMPolytopeGetVertexOrientation, (petsclib, ct, sourceCone, targetCone))) end @for_petsc function DMPolytopeGetVertexOrientation(petsclib::$UnionPetscLib, ct::DMPolytopeType, sourceCone::Vector{$PetscInt}, targetCone::Vector{$PetscInt} ) @@ -36035,7 +36035,7 @@ See also: `DM`, `DMPolytopeType`, `DMLocatePoints()` $(_doc_external("DM/DMPolytopeInCellTest")) """ function DMPolytopeInCellTest(petsclib::PetscLibType, ct::DMPolytopeType, point::AbstractVector{<:Number}) - error("DMPolytopeInCellTest: no generated method for these argument types") + throw(MethodError(DMPolytopeInCellTest, (petsclib, ct, point))) end @for_petsc function DMPolytopeInCellTest(petsclib::$UnionPetscLib, ct::DMPolytopeType, point::Vector{$PetscReal} ) @@ -36076,7 +36076,7 @@ See also: `DM`, `DMPolytopeGetOrientation()`, `DMPolytopeMatchVertexOrientation( $(_doc_external("DM/DMPolytopeMatchOrientation")) """ function DMPolytopeMatchOrientation(petsclib::PetscLibType, ct::DMPolytopeType, sourceCone::AbstractVector{<:Number}, targetCone::AbstractVector{<:Number}) - error("DMPolytopeMatchOrientation: no generated method for these argument types") + throw(MethodError(DMPolytopeMatchOrientation, (petsclib, ct, sourceCone, targetCone))) end @for_petsc function DMPolytopeMatchOrientation(petsclib::$UnionPetscLib, ct::DMPolytopeType, sourceCone::Vector{$PetscInt}, targetCone::Vector{$PetscInt} ) @@ -36119,7 +36119,7 @@ See also: `DM`, `DMPolytopeType`, `DMPolytopeGetOrientation()`, `DMPolytopeMatch $(_doc_external("DM/DMPolytopeMatchVertexOrientation")) """ function DMPolytopeMatchVertexOrientation(petsclib::PetscLibType, ct::DMPolytopeType, sourceVert::AbstractVector{<:Number}, targetVert::AbstractVector{<:Number}) - error("DMPolytopeMatchVertexOrientation: no generated method for these argument types") + throw(MethodError(DMPolytopeMatchVertexOrientation, (petsclib, ct, sourceVert, targetVert))) end @for_petsc function DMPolytopeMatchVertexOrientation(petsclib::$UnionPetscLib, ct::DMPolytopeType, sourceVert::Vector{$PetscInt}, targetVert::Vector{$PetscInt} ) @@ -36159,7 +36159,7 @@ See also: `DM`, `DMPrintCellVector()`, `DMPrintCellVectorReal()`, `DMPrintCellMa $(_doc_external("DM/DMPrintCellIndices")) """ function DMPrintCellIndices(petsclib::PetscLibType, c::Integer, name::String, len::Integer, x::AbstractVector{<:Number}) - error("DMPrintCellIndices: no generated method for these argument types") + throw(MethodError(DMPrintCellIndices, (petsclib, c, name, len, x))) end @for_petsc function DMPrintCellIndices(petsclib::$UnionPetscLib, c::$PetscInt, name::String, len::$PetscInt, x::Vector{$PetscInt} ) @@ -36196,7 +36196,7 @@ See also: `DM`, `DMPrintCellIndices()`, `DMPrintCellVector()`, `DMPrintCellVecto $(_doc_external("DM/DMPrintCellMatrix")) """ function DMPrintCellMatrix(petsclib::PetscLibType, c::Integer, name::String, rows::Integer, cols::Integer, A::AbstractVector{<:Number}) - error("DMPrintCellMatrix: no generated method for these argument types") + throw(MethodError(DMPrintCellMatrix, (petsclib, c, name, rows, cols, A))) end @for_petsc function DMPrintCellMatrix(petsclib::$UnionPetscLib, c::$PetscInt, name::String, rows::$PetscInt, cols::$PetscInt, A::Vector{$PetscScalar} ) @@ -36232,7 +36232,7 @@ See also: `DM`, `DMPrintCellIndices()`, `DMPrintCellVectorReal()`, `DMPrintCellM $(_doc_external("DM/DMPrintCellVector")) """ function DMPrintCellVector(petsclib::PetscLibType, c::Integer, name::String, len::Integer, x::AbstractVector{<:Number}) - error("DMPrintCellVector: no generated method for these argument types") + throw(MethodError(DMPrintCellVector, (petsclib, c, name, len, x))) end @for_petsc function DMPrintCellVector(petsclib::$UnionPetscLib, c::$PetscInt, name::String, len::$PetscInt, x::Vector{$PetscScalar} ) @@ -36268,7 +36268,7 @@ See also: `DM`, `DMPrintCellIndices()`, `DMPrintCellVector()`, `DMPrintCellMatri $(_doc_external("DM/DMPrintCellVectorReal")) """ function DMPrintCellVectorReal(petsclib::PetscLibType, c::Integer, name::String, len::Integer, x::AbstractVector{<:Number}) - error("DMPrintCellVectorReal: no generated method for these argument types") + throw(MethodError(DMPrintCellVectorReal, (petsclib, c, name, len, x))) end @for_petsc function DMPrintCellVectorReal(petsclib::$UnionPetscLib, c::$PetscInt, name::String, len::$PetscInt, x::Vector{$PetscReal} ) @@ -36304,7 +36304,7 @@ See also: `DM`, `DMPrintCellIndices()`, `DMPrintCellVector()`, `DMPrintCellVecto $(_doc_external("DM/DMPrintLocalVec")) """ function DMPrintLocalVec(petsclib::PetscLibType, dm::AbstractPetscDM, name::String, tol::Real, X::AbstractPetscVec) - error("DMPrintLocalVec: no generated method for these argument types") + throw(MethodError(DMPrintLocalVec, (petsclib, dm, name, tol, X))) end @for_petsc function DMPrintLocalVec(petsclib::$UnionPetscLib, dm::AbstractPetscDM, name::String, tol::$PetscReal, X::AbstractPetscVec ) @@ -36341,7 +36341,7 @@ See also: `DMPRODUCT`, `DMProductSetDM()`, `DMProductGetDimensionIndex()`, `DMPr $(_doc_external("DMPRODUCT/DMProductGetDM")) """ function DMProductGetDM(petsclib::PetscLibType, dm::AbstractPetscDM, slot::Integer) - error("DMProductGetDM: no generated method for these argument types") + throw(MethodError(DMProductGetDM, (petsclib, dm, slot))) end @for_petsc function DMProductGetDM(petsclib::$UnionPetscLib, dm::AbstractPetscDM, slot::$PetscInt ) @@ -36380,7 +36380,7 @@ See also: `DMPRODUCT`, `DMProductGetDM()`, `DMProductSetDimensionIndex()` $(_doc_external("DMPRODUCT/DMProductGetDimensionIndex")) """ function DMProductGetDimensionIndex(petsclib::PetscLibType, dm::AbstractPetscDM, slot::Integer) - error("DMProductGetDimensionIndex: no generated method for these argument types") + throw(MethodError(DMProductGetDimensionIndex, (petsclib, dm, slot))) end @for_petsc function DMProductGetDimensionIndex(petsclib::$UnionPetscLib, dm::AbstractPetscDM, slot::$PetscInt ) @@ -36417,7 +36417,7 @@ See also: `DMPRODUCT`, `DMProductGetDM()`, `DMProductSetDimensionIndex()`, `DMPr $(_doc_external("DMPRODUCT/DMProductSetDM")) """ function DMProductSetDM(petsclib::PetscLibType, dm::AbstractPetscDM, slot::Integer, subdm::AbstractPetscDM) - error("DMProductSetDM: no generated method for these argument types") + throw(MethodError(DMProductSetDM, (petsclib, dm, slot, subdm))) end @for_petsc function DMProductSetDM(petsclib::$UnionPetscLib, dm::AbstractPetscDM, slot::$PetscInt, subdm::AbstractPetscDM ) @@ -36452,7 +36452,7 @@ See also: `DMPRODUCT`, `DMProductGetDM()`, `DMProductGetDimensionIndex()` $(_doc_external("DMPRODUCT/DMProductSetDimensionIndex")) """ function DMProductSetDimensionIndex(petsclib::PetscLibType, dm::AbstractPetscDM, slot::Integer, idx::Integer) - error("DMProductSetDimensionIndex: no generated method for these argument types") + throw(MethodError(DMProductSetDimensionIndex, (petsclib, dm, slot, idx))) end @for_petsc function DMProductSetDimensionIndex(petsclib::$UnionPetscLib, dm::AbstractPetscDM, slot::$PetscInt, idx::$PetscInt ) @@ -36518,7 +36518,7 @@ See also: `DM`, `DMProjectField()`, `DMProjectFieldLabelLocal()`, `DMProjectFunc $(_doc_external("DM/DMProjectBdFieldLabelLocal")) """ function DMProjectBdFieldLabelLocal(petsclib::PetscLibType, dm::AbstractPetscDM, time::Real, label::DMLabel, numIds::Integer, ids::AbstractVector{<:Number}, Nc::Integer, comps::AbstractVector{<:Number}, localU::AbstractPetscVec, noname::Ptr{Cvoid}) - error("DMProjectBdFieldLabelLocal: no generated method for these argument types") + throw(MethodError(DMProjectBdFieldLabelLocal, (petsclib, dm, time, label, numIds, ids, Nc, comps, localU, noname))) end @for_petsc function DMProjectBdFieldLabelLocal(petsclib::$UnionPetscLib, dm::AbstractPetscDM, time::$PetscReal, label::DMLabel, numIds::$PetscInt, ids::Vector{$PetscInt}, Nc::$PetscInt, comps::Vector{$PetscInt}, localU::AbstractPetscVec, noname::Ptr{Cvoid} ) @@ -36558,7 +36558,7 @@ See also: `DM`, `PetscPointFn`, `DMProjectFieldLocal()`, `DMProjectFieldLabelLoc $(_doc_external("DM/DMProjectField")) """ function DMProjectField(petsclib::PetscLibType, dm::AbstractPetscDM, time::Real, U::AbstractPetscVec, funcs::Ptr{Ptr{Cvoid}}, mode::InsertMode, X::AbstractPetscVec) - error("DMProjectField: no generated method for these argument types") + throw(MethodError(DMProjectField, (petsclib, dm, time, U, funcs, mode, X))) end @for_petsc function DMProjectField(petsclib::$UnionPetscLib, dm::AbstractPetscDM, time::$PetscReal, U::AbstractPetscVec, funcs::Ptr{Ptr{Cvoid}}, mode::InsertMode, X::AbstractPetscVec ) @@ -36623,7 +36623,7 @@ See also: `DM`, `DMProjectField()`, `DMProjectFieldLabelLocal()`, `DMProjectFunc $(_doc_external("DM/DMProjectFieldLabel")) """ function DMProjectFieldLabel(petsclib::PetscLibType, dm::AbstractPetscDM, time::Real, label::DMLabel, numIds::Integer, ids::AbstractVector{<:Number}, Nc::Integer, comps::AbstractVector{<:Number}, U::AbstractPetscVec, noname::Ptr{Cvoid}) - error("DMProjectFieldLabel: no generated method for these argument types") + throw(MethodError(DMProjectFieldLabel, (petsclib, dm, time, label, numIds, ids, Nc, comps, U, noname))) end @for_petsc function DMProjectFieldLabel(petsclib::$UnionPetscLib, dm::AbstractPetscDM, time::$PetscReal, label::DMLabel, numIds::$PetscInt, ids::Vector{$PetscInt}, Nc::$PetscInt, comps::Vector{$PetscInt}, U::AbstractPetscVec, noname::Ptr{Cvoid} ) @@ -36688,7 +36688,7 @@ See also: `DM`, `DMProjectField()`, `DMProjectFieldLabel()`, `DMProjectFunction( $(_doc_external("DM/DMProjectFieldLabelLocal")) """ function DMProjectFieldLabelLocal(petsclib::PetscLibType, dm::AbstractPetscDM, time::Real, label::DMLabel, numIds::Integer, ids::AbstractVector{<:Number}, Nc::Integer, comps::AbstractVector{<:Number}, localU::AbstractPetscVec, noname::Ptr{Cvoid}) - error("DMProjectFieldLabelLocal: no generated method for these argument types") + throw(MethodError(DMProjectFieldLabelLocal, (petsclib, dm, time, label, numIds, ids, Nc, comps, localU, noname))) end @for_petsc function DMProjectFieldLabelLocal(petsclib::$UnionPetscLib, dm::AbstractPetscDM, time::$PetscReal, label::DMLabel, numIds::$PetscInt, ids::Vector{$PetscInt}, Nc::$PetscInt, comps::Vector{$PetscInt}, localU::AbstractPetscVec, noname::Ptr{Cvoid} ) @@ -36749,7 +36749,7 @@ See also: `DM`, `DMProjectField()`, `DMProjectFieldLabelLocal()`, $(_doc_external("DM/DMProjectFieldLocal")) """ function DMProjectFieldLocal(petsclib::PetscLibType, dm::AbstractPetscDM, time::Real, localU::AbstractPetscVec, noname::Ptr{Cvoid}) - error("DMProjectFieldLocal: no generated method for these argument types") + throw(MethodError(DMProjectFieldLocal, (petsclib, dm, time, localU, noname))) end @for_petsc function DMProjectFieldLocal(petsclib::$UnionPetscLib, dm::AbstractPetscDM, time::$PetscReal, localU::AbstractPetscVec, noname::Ptr{Cvoid} ) @@ -36827,7 +36827,7 @@ See also: `DM`, `DMProjectFunction()`, `DMProjectFunctionLocal()`, `DMProjectFun $(_doc_external("DM/DMProjectFunctionLabel")) """ function DMProjectFunctionLabel(petsclib::PetscLibType, dm::AbstractPetscDM, time::Real, label::DMLabel, numIds::Integer, ids::AbstractVector{<:Number}, Nc::Integer, comps::AbstractVector{<:Number}, noname::Ptr{Cvoid}) - error("DMProjectFunctionLabel: no generated method for these argument types") + throw(MethodError(DMProjectFunctionLabel, (petsclib, dm, time, label, numIds, ids, Nc, comps, noname))) end @for_petsc function DMProjectFunctionLabel(petsclib::$UnionPetscLib, dm::AbstractPetscDM, time::$PetscReal, label::DMLabel, numIds::$PetscInt, ids::Vector{$PetscInt}, Nc::$PetscInt, comps::Vector{$PetscInt}, noname::Ptr{Cvoid} ) @@ -36880,7 +36880,7 @@ See also: `DM`, `DMProjectFunction()`, `DMProjectFunctionLocal()`, `DMProjectFun $(_doc_external("DM/DMProjectFunctionLabelLocal")) """ function DMProjectFunctionLabelLocal(petsclib::PetscLibType, dm::AbstractPetscDM, time::Real, label::DMLabel, numIds::Integer, ids::AbstractVector{<:Number}, Nc::Integer, comps::AbstractVector{<:Number}, noname::Ptr{Cvoid}) - error("DMProjectFunctionLabelLocal: no generated method for these argument types") + throw(MethodError(DMProjectFunctionLabelLocal, (petsclib, dm, time, label, numIds, ids, Nc, comps, noname))) end @for_petsc function DMProjectFunctionLabelLocal(petsclib::$UnionPetscLib, dm::AbstractPetscDM, time::$PetscReal, label::DMLabel, numIds::$PetscInt, ids::Vector{$PetscInt}, Nc::$PetscInt, comps::Vector{$PetscInt}, noname::Ptr{Cvoid} ) @@ -36928,7 +36928,7 @@ See also: `DM`, `DMProjectFunction()`, `DMProjectFunctionLabel()`, `DMComputeL2D $(_doc_external("DM/DMProjectFunctionLocal")) """ function DMProjectFunctionLocal(petsclib::PetscLibType, dm::AbstractPetscDM, time::Real, noname::Ptr{Cvoid}) - error("DMProjectFunctionLocal: no generated method for these argument types") + throw(MethodError(DMProjectFunctionLocal, (petsclib, dm, time, noname))) end @for_petsc function DMProjectFunctionLocal(petsclib::$UnionPetscLib, dm::AbstractPetscDM, time::$PetscReal, noname::Ptr{Cvoid} ) @@ -36966,7 +36966,7 @@ See also: `DM`, `DMREDUNDANT`, `DMDestroy()`, `DMCreateGlobalVector()`, `DMCreat $(_doc_external("DM/DMRedundantCreate")) """ function DMRedundantCreate(petsclib::PetscLibType, comm::MPI_Comm, rank::PetscMPIInt, N::Integer) - error("DMRedundantCreate: no generated method for these argument types") + throw(MethodError(DMRedundantCreate, (petsclib, comm, rank, N))) end @for_petsc function DMRedundantCreate(petsclib::$UnionPetscLib, comm::MPI_Comm, rank::PetscMPIInt, N::$PetscInt ) @@ -37005,7 +37005,7 @@ See also: `DM`, `DMREDUNDANT`, `DMDestroy()`, `DMCreateGlobalVector()`, `DMRedun $(_doc_external("DM/DMRedundantGetSize")) """ function DMRedundantGetSize(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMRedundantGetSize: no generated method for these argument types") + throw(MethodError(DMRedundantGetSize, (petsclib, dm))) end @for_petsc function DMRedundantGetSize(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -37044,7 +37044,7 @@ See also: `DM`, `DMREDUNDANT`, `DMDestroy()`, `DMCreateGlobalVector()`, `DMRedun $(_doc_external("DM/DMRedundantSetSize")) """ function DMRedundantSetSize(petsclib::PetscLibType, dm::AbstractPetscDM, rank::PetscMPIInt, N::Integer) - error("DMRedundantSetSize: no generated method for these argument types") + throw(MethodError(DMRedundantSetSize, (petsclib, dm, rank, N))) end @for_petsc function DMRedundantSetSize(petsclib::$UnionPetscLib, dm::AbstractPetscDM, rank::PetscMPIInt, N::$PetscInt ) @@ -37085,7 +37085,7 @@ See also: `DM`, `DMCoarsen()`, `DMDestroy()`, `DMView()`, `DMCreateGlobalVector( $(_doc_external("DM/DMRefine")) """ function DMRefine(petsclib::PetscLibType, dm::AbstractPetscDM, comm::MPI_Comm) - error("DMRefine: no generated method for these argument types") + throw(MethodError(DMRefine, (petsclib, dm, comm))) end @for_petsc function DMRefine(petsclib::$UnionPetscLib, dm::AbstractPetscDM, comm::MPI_Comm ) @@ -37124,7 +37124,7 @@ See also: `DM`, `DMCoarsen()`, `DMCoarsenHierarchy()`, `DMDestroy()`, `DMView()` $(_doc_external("DM/DMRefineHierarchy")) """ function DMRefineHierarchy(petsclib::PetscLibType, dm::AbstractPetscDM, nlevels::Integer, dmf::Vector{<:AbstractPetscDM}) - error("DMRefineHierarchy: no generated method for these argument types") + throw(MethodError(DMRefineHierarchy, (petsclib, dm, nlevels, dmf))) end @for_petsc function DMRefineHierarchy(petsclib::$UnionPetscLib, dm::AbstractPetscDM, nlevels::$PetscInt, dmf::Vector{<:AbstractPetscDM} ) @@ -37171,7 +37171,7 @@ See also: `DM`, `DMCoarsenHookAdd()`, `DMInterpolate()`, `SNESFASGetInterpolatio $(_doc_external("DM/DMRefineHookAdd")) """ function DMRefineHookAdd(petsclib::PetscLibType, coarse::AbstractPetscDM, refinehook::external, interphook::external, ctx::Ptr{Cvoid}) - error("DMRefineHookAdd: no generated method for these argument types") + throw(MethodError(DMRefineHookAdd, (petsclib, coarse, refinehook, interphook, ctx))) end @for_petsc function DMRefineHookAdd(petsclib::$UnionPetscLib, coarse::AbstractPetscDM, refinehook::external, interphook::external, ctx::Ptr{Cvoid} ) @@ -37219,7 +37219,7 @@ See also: `DM`, `DMRefineHookAdd()`, `DMCoarsenHookRemove()`, `DMInterpolate()`, $(_doc_external("DM/DMRefineHookRemove")) """ function DMRefineHookRemove(petsclib::PetscLibType, coarse::AbstractPetscDM, refinehook::external, interphook::external, ctx::Ptr{Cvoid}) - error("DMRefineHookRemove: no generated method for these argument types") + throw(MethodError(DMRefineHookRemove, (petsclib, coarse, refinehook, interphook, ctx))) end @for_petsc function DMRefineHookRemove(petsclib::$UnionPetscLib, coarse::AbstractPetscDM, refinehook::external, interphook::external, ctx::Ptr{Cvoid} ) @@ -37256,7 +37256,7 @@ See also: `DM`, `DMType`, `DMSetType()`, `DMRegisterAll()`, `DMRegisterDestroy() $(_doc_external("DM/DMRegister")) """ function DMRegister(petsclib::PetscLibType, sname::String, fnc::external) - error("DMRegister: no generated method for these argument types") + throw(MethodError(DMRegister, (petsclib, sname, fnc))) end @for_petsc function DMRegister(petsclib::$UnionPetscLib, sname::String, fnc::external ) @@ -37294,7 +37294,7 @@ See also: `DM`, `DMLabel`, `DMCreateLabel()`, `DMHasLabel()`, `DMGetLabel()`, `D $(_doc_external("DM/DMRemoveLabel")) """ function DMRemoveLabel(petsclib::PetscLibType, dm::AbstractPetscDM, name::String) - error("DMRemoveLabel: no generated method for these argument types") + throw(MethodError(DMRemoveLabel, (petsclib, dm, name))) end @for_petsc function DMRemoveLabel(petsclib::$UnionPetscLib, dm::AbstractPetscDM, name::String ) @@ -37331,7 +37331,7 @@ See also: `DM`, `DMLabel`, `DMCreateLabel()`, `DMHasLabel()`, `DMGetLabel()`, `D $(_doc_external("DM/DMRemoveLabelBySelf")) """ function DMRemoveLabelBySelf(petsclib::PetscLibType, dm::AbstractPetscDM, label::DMLabel, failNotFound::PetscBool) - error("DMRemoveLabelBySelf: no generated method for these argument types") + throw(MethodError(DMRemoveLabelBySelf, (petsclib, dm, label, failNotFound))) end @for_petsc function DMRemoveLabelBySelf(petsclib::$UnionPetscLib, dm::AbstractPetscDM, label::DMLabel, failNotFound::PetscBool ) @@ -37367,7 +37367,7 @@ See also: `DMReorderSetDefault()` $(_doc_external("DM/DMReorderSectionGetDefault")) """ function DMReorderSectionGetDefault(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMReorderSectionGetDefault: no generated method for these argument types") + throw(MethodError(DMReorderSectionGetDefault, (petsclib, dm))) end @for_petsc function DMReorderSectionGetDefault(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -37405,7 +37405,7 @@ See also: `DMReorderSetDefault()`, `DMReorderSectionGetDefault()` $(_doc_external("DM/DMReorderSectionGetType")) """ function DMReorderSectionGetType(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMReorderSectionGetType: no generated method for these argument types") + throw(MethodError(DMReorderSectionGetType, (petsclib, dm))) end @for_petsc function DMReorderSectionGetType(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -37441,7 +37441,7 @@ See also: `DMReorderSectionGetDefault()` $(_doc_external("DM/DMReorderSectionSetDefault")) """ function DMReorderSectionSetDefault(petsclib::PetscLibType, dm::AbstractPetscDM, reorder::DMReorderDefaultFlag) - error("DMReorderSectionSetDefault: no generated method for these argument types") + throw(MethodError(DMReorderSectionSetDefault, (petsclib, dm, reorder))) end @for_petsc function DMReorderSectionSetDefault(petsclib::$UnionPetscLib, dm::AbstractPetscDM, reorder::DMReorderDefaultFlag ) @@ -37475,7 +37475,7 @@ See also: `DMReorderSectionGetType()`, `DMReorderSectionSetDefault()` $(_doc_external("DM/DMReorderSectionSetType")) """ function DMReorderSectionSetType(petsclib::PetscLibType, dm::AbstractPetscDM, reorder::String) - error("DMReorderSectionSetType: no generated method for these argument types") + throw(MethodError(DMReorderSectionSetType, (petsclib, dm, reorder))) end @for_petsc function DMReorderSectionSetType(petsclib::$UnionPetscLib, dm::AbstractPetscDM, reorder::String ) @@ -37513,7 +37513,7 @@ See also: `DM`, `DMCreateGlobalVector()`, `VecDuplicate()`, `VecDuplicateVecs()` $(_doc_external("DM/DMRestoreGlobalVector")) """ function DMRestoreGlobalVector(petsclib::PetscLibType, dm::AbstractPetscDM, g::AbstractPetscVec) - error("DMRestoreGlobalVector: no generated method for these argument types") + throw(MethodError(DMRestoreGlobalVector, (petsclib, dm, g))) end @for_petsc function DMRestoreGlobalVector(petsclib::$UnionPetscLib, dm::AbstractPetscDM, g::AbstractPetscVec ) @@ -37553,7 +37553,7 @@ See also: `DM`, `DMCreateGlobalVector()`, `VecDuplicate()`, `VecDuplicateVecs()` $(_doc_external("DM/DMRestoreLocalVector")) """ function DMRestoreLocalVector(petsclib::PetscLibType, dm::AbstractPetscDM, g::AbstractPetscVec) - error("DMRestoreLocalVector: no generated method for these argument types") + throw(MethodError(DMRestoreLocalVector, (petsclib, dm, g))) end @for_petsc function DMRestoreLocalVector(petsclib::$UnionPetscLib, dm::AbstractPetscDM, g::AbstractPetscVec ) @@ -37590,7 +37590,7 @@ See also: `DM`, `DMGetNamedGlobalVector()`, `DMClearNamedGlobalVectors()` $(_doc_external("DM/DMRestoreNamedGlobalVector")) """ function DMRestoreNamedGlobalVector(petsclib::PetscLibType, dm::AbstractPetscDM, name::String, X::AbstractPetscVec) - error("DMRestoreNamedGlobalVector: no generated method for these argument types") + throw(MethodError(DMRestoreNamedGlobalVector, (petsclib, dm, name, X))) end @for_petsc function DMRestoreNamedGlobalVector(petsclib::$UnionPetscLib, dm::AbstractPetscDM, name::String, X::AbstractPetscVec ) @@ -37627,7 +37627,7 @@ See also: `DM`, `DMRestoreNamedGlobalVector()`, `DMGetNamedLocalVector()`, `DMCl $(_doc_external("DM/DMRestoreNamedLocalVector")) """ function DMRestoreNamedLocalVector(petsclib::PetscLibType, dm::AbstractPetscDM, name::String, X::AbstractPetscVec) - error("DMRestoreNamedLocalVector: no generated method for these argument types") + throw(MethodError(DMRestoreNamedLocalVector, (petsclib, dm, name, X))) end @for_petsc function DMRestoreNamedLocalVector(petsclib::$UnionPetscLib, dm::AbstractPetscDM, name::String, X::AbstractPetscVec ) @@ -37666,7 +37666,7 @@ See also: `DM`, `DMCoarsenHookAdd()`, `MatRestrict()`, `DMInterpolate()`, `DMRef $(_doc_external("DM/DMRestrict")) """ function DMRestrict(petsclib::PetscLibType, fine::AbstractPetscDM, restrct::AbstractPetscMat, rscale::AbstractPetscVec, inject::AbstractPetscMat, coarse::AbstractPetscDM) - error("DMRestrict: no generated method for these argument types") + throw(MethodError(DMRestrict, (petsclib, fine, restrct, rscale, inject, coarse))) end @for_petsc function DMRestrict(petsclib::$UnionPetscLib, fine::AbstractPetscDM, restrct::AbstractPetscMat, rscale::AbstractPetscVec, inject::AbstractPetscMat, coarse::AbstractPetscDM ) @@ -37704,7 +37704,7 @@ See also: `PetscDSSetExactSolution()`, `DNSNESCheckFromOptions()`, `DMSNESCheckR $(_doc_external("SNES/DMSNESCheckDiscretization")) """ function DMSNESCheckDiscretization(petsclib::PetscLibType, snes::AbstractSNES, dm::AbstractPetscDM, t::Real, u::AbstractPetscVec, tol::Real, error::AbstractVector{<:Number}) - error("DMSNESCheckDiscretization: no generated method for these argument types") + throw(MethodError(DMSNESCheckDiscretization, (petsclib, snes, dm, t, u, tol, error))) end @for_petsc function DMSNESCheckDiscretization(petsclib::$UnionPetscLib, snes::AbstractSNES, dm::AbstractPetscDM, t::$PetscReal, u::AbstractPetscVec, tol::$PetscReal, error::Vector{$PetscReal} ) @@ -37736,7 +37736,7 @@ See also: `SNES`, `DM` $(_doc_external("SNES/DMSNESCheckFromOptions")) """ function DMSNESCheckFromOptions(petsclib::PetscLibType, snes::AbstractSNES, u::AbstractPetscVec) - error("DMSNESCheckFromOptions: no generated method for these argument types") + throw(MethodError(DMSNESCheckFromOptions, (petsclib, snes, u))) end @for_petsc function DMSNESCheckFromOptions(petsclib::$UnionPetscLib, snes::AbstractSNES, u::AbstractPetscVec ) @@ -37774,7 +37774,7 @@ See also: `DNSNESCheckFromOptions()`, `DMSNESCheckDiscretization()`, `DMSNESChec $(_doc_external("SNES/DMSNESCheckJacobian")) """ function DMSNESCheckJacobian(petsclib::PetscLibType, snes::AbstractSNES, dm::AbstractPetscDM, u::AbstractPetscVec, tol::Real) - error("DMSNESCheckJacobian: no generated method for these argument types") + throw(MethodError(DMSNESCheckJacobian, (petsclib, snes, dm, u, tol))) end @for_petsc function DMSNESCheckJacobian(petsclib::$UnionPetscLib, snes::AbstractSNES, dm::AbstractPetscDM, u::AbstractPetscVec, tol::$PetscReal ) @@ -37815,7 +37815,7 @@ See also: `DNSNESCheckFromOptions()`, `DMSNESCheckDiscretization()`, `DMSNESChec $(_doc_external("SNES/DMSNESCheckResidual")) """ function DMSNESCheckResidual(petsclib::PetscLibType, snes::AbstractSNES, dm::AbstractPetscDM, u::AbstractPetscVec, tol::Real) - error("DMSNESCheckResidual: no generated method for these argument types") + throw(MethodError(DMSNESCheckResidual, (petsclib, snes, dm, u, tol))) end @for_petsc function DMSNESCheckResidual(petsclib::$UnionPetscLib, snes::AbstractSNES, dm::AbstractPetscDM, u::AbstractPetscVec, tol::$PetscReal ) @@ -37854,7 +37854,7 @@ See also: `DM`, `DMSNESCreateJacobianMF()`, `DMPlexSNESComputeResidualFEM()` $(_doc_external("SNES/DMSNESComputeJacobianAction")) """ function DMSNESComputeJacobianAction(petsclib::PetscLibType, dm::AbstractPetscDM, X::AbstractPetscVec, Y::AbstractPetscVec, F::AbstractPetscVec, ctx::Ptr{Cvoid}) - error("DMSNESComputeJacobianAction: no generated method for these argument types") + throw(MethodError(DMSNESComputeJacobianAction, (petsclib, dm, X, Y, F, ctx))) end @for_petsc function DMSNESComputeJacobianAction(petsclib::$UnionPetscLib, dm::AbstractPetscDM, X::AbstractPetscVec, Y::AbstractPetscVec, F::AbstractPetscVec, ctx::Ptr{Cvoid} ) @@ -37892,7 +37892,7 @@ See also: `DM`, `SNES`, `DMSNESComputeJacobianAction()` $(_doc_external("SNES/DMSNESCreateJacobianMF")) """ function DMSNESCreateJacobianMF(petsclib::PetscLibType, dm::AbstractPetscDM, X::AbstractPetscVec, ctx::Ptr{Cvoid}) - error("DMSNESCreateJacobianMF: no generated method for these argument types") + throw(MethodError(DMSNESCreateJacobianMF, (petsclib, dm, X, ctx))) end @for_petsc function DMSNESCreateJacobianMF(petsclib::$UnionPetscLib, dm::AbstractPetscDM, X::AbstractPetscVec, ctx::Ptr{Cvoid} ) @@ -37936,7 +37936,7 @@ See also: `DMSNESSetFunctionLocal()`, `DMSNESSetBoundaryLocal()`, `DMSNESSetJaco $(_doc_external("SNES/DMSNESGetBoundaryLocal")) """ function DMSNESGetBoundaryLocal(petsclib::PetscLibType, dm::AbstractPetscDM, noname::Ptr{Cvoid}) - error("DMSNESGetBoundaryLocal: no generated method for these argument types") + throw(MethodError(DMSNESGetBoundaryLocal, (petsclib, dm, noname))) end @for_petsc function DMSNESGetBoundaryLocal(petsclib::$UnionPetscLib, dm::AbstractPetscDM, noname::Ptr{Cvoid} ) @@ -37973,7 +37973,7 @@ See also: `DMSNES`, `DMSNESSetContext()`, `DMSNESSetFunction()`, `SNESSetFunctio $(_doc_external("SNES/DMSNESGetFunction")) """ function DMSNESGetFunction(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMSNESGetFunction: no generated method for these argument types") + throw(MethodError(DMSNESGetFunction, (petsclib, dm))) end @for_petsc function DMSNESGetFunction(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -38020,7 +38020,7 @@ See also: `DMSNESSetFunction()`, `DMSNESSetFunctionLocal()`, `DMSNESSetJacobianL $(_doc_external("SNES/DMSNESGetFunctionLocal")) """ function DMSNESGetFunctionLocal(petsclib::PetscLibType, dm::AbstractPetscDM, noname::Ptr{Cvoid}) - error("DMSNESGetFunctionLocal: no generated method for these argument types") + throw(MethodError(DMSNESGetFunctionLocal, (petsclib, dm, noname))) end @for_petsc function DMSNESGetFunctionLocal(petsclib::$UnionPetscLib, dm::AbstractPetscDM, noname::Ptr{Cvoid} ) @@ -38057,7 +38057,7 @@ See also: `DMSNES`, `DMSNESSetContext()`, `SNESSetFunction()`, `DMSNESSetJacobia $(_doc_external("SNES/DMSNESGetJacobian")) """ function DMSNESGetJacobian(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMSNESGetJacobian: no generated method for these argument types") + throw(MethodError(DMSNESGetJacobian, (petsclib, dm))) end @for_petsc function DMSNESGetJacobian(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -38105,7 +38105,7 @@ See also: `DMSNESSetJacobianLocal()`, `DMSNESSetJacobian()` $(_doc_external("SNES/DMSNESGetJacobianLocal")) """ function DMSNESGetJacobianLocal(petsclib::PetscLibType, dm::AbstractPetscDM, noname::Ptr{Cvoid}) - error("DMSNESGetJacobianLocal: no generated method for these argument types") + throw(MethodError(DMSNESGetJacobianLocal, (petsclib, dm, noname))) end @for_petsc function DMSNESGetJacobianLocal(petsclib::$UnionPetscLib, dm::AbstractPetscDM, noname::Ptr{Cvoid} ) @@ -38142,7 +38142,7 @@ See also: `DMSNES`, `DMSNESSetContext()`, `SNESGetNGS()`, `DMSNESGetJacobian()`, $(_doc_external("SNES/DMSNESGetNGS")) """ function DMSNESGetNGS(petsclib::PetscLibType, dm::AbstractPetscDM, noname::Ptr{Cvoid}) - error("DMSNESGetNGS: no generated method for these argument types") + throw(MethodError(DMSNESGetNGS, (petsclib, dm, noname))) end @for_petsc function DMSNESGetNGS(petsclib::$UnionPetscLib, dm::AbstractPetscDM, noname::Ptr{Cvoid} ) @@ -38179,7 +38179,7 @@ See also: `DMSNES`, `DMSNESSetContext()`, `DMSNESSetObjective()`, `SNESSetFuncti $(_doc_external("SNES/DMSNESGetObjective")) """ function DMSNESGetObjective(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMSNESGetObjective: no generated method for these argument types") + throw(MethodError(DMSNESGetObjective, (petsclib, dm))) end @for_petsc function DMSNESGetObjective(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -38226,7 +38226,7 @@ See also: `DMSNESSetObjective()`, `DMSNESSetObjectiveLocal()`, `DMSNESSetFunctio $(_doc_external("SNES/DMSNESGetObjectiveLocal")) """ function DMSNESGetObjectiveLocal(petsclib::PetscLibType, dm::AbstractPetscDM, noname::Ptr{Cvoid}) - error("DMSNESGetObjectiveLocal: no generated method for these argument types") + throw(MethodError(DMSNESGetObjectiveLocal, (petsclib, dm, noname))) end @for_petsc function DMSNESGetObjectiveLocal(petsclib::$UnionPetscLib, dm::AbstractPetscDM, noname::Ptr{Cvoid} ) @@ -38264,7 +38264,7 @@ See also: `DMSNES`, `DMSNESSetContext()`, `SNESSetFunction()`, `DMSNESSetJacobia $(_doc_external("SNES/DMSNESGetPicard")) """ function DMSNESGetPicard(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMSNESGetPicard: no generated method for these argument types") + throw(MethodError(DMSNESGetPicard, (petsclib, dm))) end @for_petsc function DMSNESGetPicard(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -38310,7 +38310,7 @@ See also: `DMSNESSetObjectiveLocal()`, `DMSNESSetFunctionLocal()`, `DMSNESSetJac $(_doc_external("SNES/DMSNESSetBoundaryLocal")) """ function DMSNESSetBoundaryLocal(petsclib::PetscLibType, dm::AbstractPetscDM, func::external, ctx::Ptr{Cvoid}) - error("DMSNESSetBoundaryLocal: no generated method for these argument types") + throw(MethodError(DMSNESSetBoundaryLocal, (petsclib, dm, func, ctx))) end @for_petsc function DMSNESSetBoundaryLocal(petsclib::$UnionPetscLib, dm::AbstractPetscDM, func::external, ctx::Ptr{Cvoid} ) @@ -38345,7 +38345,7 @@ See also: `DMSNES`, `DMSNESSetContext()`, `SNESSetFunction()`, `DMSNESSetJacobia $(_doc_external("SNES/DMSNESSetFunction")) """ function DMSNESSetFunction(petsclib::PetscLibType, dm::AbstractPetscDM, f::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("DMSNESSetFunction: no generated method for these argument types") + throw(MethodError(DMSNESSetFunction, (petsclib, dm, f, ctx))) end @for_petsc function DMSNESSetFunction(petsclib::$UnionPetscLib, dm::AbstractPetscDM, f::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -38379,7 +38379,7 @@ See also: `DMSNES`, `DMSNESSetFunction()`, `SNESSetFunction()`, `PetscCtxDestroy $(_doc_external("SNES/DMSNESSetFunctionContextDestroy")) """ function DMSNESSetFunctionContextDestroy(petsclib::PetscLibType, dm::AbstractPetscDM, f::Ptr{Cvoid}) - error("DMSNESSetFunctionContextDestroy: no generated method for these argument types") + throw(MethodError(DMSNESSetFunctionContextDestroy, (petsclib, dm, f))) end @for_petsc function DMSNESSetFunctionContextDestroy(petsclib::$UnionPetscLib, dm::AbstractPetscDM, f::Ptr{Cvoid} ) @@ -38422,7 +38422,7 @@ See also: `DMSNESSetFunction()`, `DMSNESSetJacobianLocal()` $(_doc_external("SNES/DMSNESSetFunctionLocal")) """ function DMSNESSetFunctionLocal(petsclib::PetscLibType, dm::AbstractPetscDM, func::external, ctx::Ptr{Cvoid}) - error("DMSNESSetFunctionLocal: no generated method for these argument types") + throw(MethodError(DMSNESSetFunctionLocal, (petsclib, dm, func, ctx))) end @for_petsc function DMSNESSetFunctionLocal(petsclib::$UnionPetscLib, dm::AbstractPetscDM, func::external, ctx::Ptr{Cvoid} ) @@ -38457,7 +38457,7 @@ See also: `DMSNES`, `DMSNESSetContext()`, `SNESSetFunction()`, `DMSNESGetJacobia $(_doc_external("SNES/DMSNESSetJacobian")) """ function DMSNESSetJacobian(petsclib::PetscLibType, dm::AbstractPetscDM, J::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("DMSNESSetJacobian: no generated method for these argument types") + throw(MethodError(DMSNESSetJacobian, (petsclib, dm, J, ctx))) end @for_petsc function DMSNESSetJacobian(petsclib::$UnionPetscLib, dm::AbstractPetscDM, J::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -38491,7 +38491,7 @@ See also: `DMSNES`, `DMSNESSetJacobian()` $(_doc_external("SNES/DMSNESSetJacobianContextDestroy")) """ function DMSNESSetJacobianContextDestroy(petsclib::PetscLibType, dm::AbstractPetscDM, f::Ptr{Cvoid}) - error("DMSNESSetJacobianContextDestroy: no generated method for these argument types") + throw(MethodError(DMSNESSetJacobianContextDestroy, (petsclib, dm, f))) end @for_petsc function DMSNESSetJacobianContextDestroy(petsclib::$UnionPetscLib, dm::AbstractPetscDM, f::Ptr{Cvoid} ) @@ -38533,7 +38533,7 @@ See also: `DMSNESSetObjectiveLocal()`, `DMSNESSetFunctionLocal()`, `DMSNESSetBou $(_doc_external("SNES/DMSNESSetJacobianLocal")) """ function DMSNESSetJacobianLocal(petsclib::PetscLibType, dm::AbstractPetscDM, func::external, ctx::Ptr{Cvoid}) - error("DMSNESSetJacobianLocal: no generated method for these argument types") + throw(MethodError(DMSNESSetJacobianLocal, (petsclib, dm, func, ctx))) end @for_petsc function DMSNESSetJacobianLocal(petsclib::$UnionPetscLib, dm::AbstractPetscDM, func::external, ctx::Ptr{Cvoid} ) @@ -38568,7 +38568,7 @@ See also: `DMSNES`, `DMSNESSetContext()`, `SNESSetFunction()`, `DMSNESSetJacobia $(_doc_external("SNES/DMSNESSetMFFunction")) """ function DMSNESSetMFFunction(petsclib::PetscLibType, dm::AbstractPetscDM, func::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("DMSNESSetMFFunction: no generated method for these argument types") + throw(MethodError(DMSNESSetMFFunction, (petsclib, dm, func, ctx))) end @for_petsc function DMSNESSetMFFunction(petsclib::$UnionPetscLib, dm::AbstractPetscDM, func::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -38603,7 +38603,7 @@ See also: `DMSNES`, `DMSNESSetContext()`, `SNESSetFunction()`, `DMSNESSetJacobia $(_doc_external("SNES/DMSNESSetNGS")) """ function DMSNESSetNGS(petsclib::PetscLibType, dm::AbstractPetscDM, f::external, ctx::Ptr{Cvoid}) - error("DMSNESSetNGS: no generated method for these argument types") + throw(MethodError(DMSNESSetNGS, (petsclib, dm, f, ctx))) end @for_petsc function DMSNESSetNGS(petsclib::$UnionPetscLib, dm::AbstractPetscDM, f::external, ctx::Ptr{Cvoid} ) @@ -38638,7 +38638,7 @@ See also: `DMSNES`, `DMSNESSetContext()`, `SNESGetObjective()`, `DMSNESSetFuncti $(_doc_external("SNES/DMSNESSetObjective")) """ function DMSNESSetObjective(petsclib::PetscLibType, dm::AbstractPetscDM, obj::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("DMSNESSetObjective: no generated method for these argument types") + throw(MethodError(DMSNESSetObjective, (petsclib, dm, obj, ctx))) end @for_petsc function DMSNESSetObjective(petsclib::$UnionPetscLib, dm::AbstractPetscDM, obj::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -38681,7 +38681,7 @@ See also: `DMSNESSetFunctionLocal()`, `DMSNESSetJacobianLocal()` $(_doc_external("SNES/DMSNESSetObjectiveLocal")) """ function DMSNESSetObjectiveLocal(petsclib::PetscLibType, dm::AbstractPetscDM, func::external, ctx::Ptr{Cvoid}) - error("DMSNESSetObjectiveLocal: no generated method for these argument types") + throw(MethodError(DMSNESSetObjectiveLocal, (petsclib, dm, func, ctx))) end @for_petsc function DMSNESSetObjectiveLocal(petsclib::$UnionPetscLib, dm::AbstractPetscDM, func::external, ctx::Ptr{Cvoid} ) @@ -38717,7 +38717,7 @@ See also: `DMSNES`, `SNESSetPicard()`, `DMSNESSetFunction()`, `DMSNESSetJacobian $(_doc_external("SNES/DMSNESSetPicard")) """ function DMSNESSetPicard(petsclib::PetscLibType, dm::AbstractPetscDM, b::Ptr{Cvoid}, J::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("DMSNESSetPicard: no generated method for these argument types") + throw(MethodError(DMSNESSetPicard, (petsclib, dm, b, J, ctx))) end @for_petsc function DMSNESSetPicard(petsclib::$UnionPetscLib, dm::AbstractPetscDM, b::Ptr{Cvoid}, J::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -38753,7 +38753,7 @@ See also: `DM`, `DMGetAdjacency()`, `DMGetField()`, `DMSetField()` $(_doc_external("DM/DMSetAdjacency")) """ function DMSetAdjacency(petsclib::PetscLibType, dm::AbstractPetscDM, f::Integer, useCone::PetscBool, useClosure::PetscBool) - error("DMSetAdjacency: no generated method for these argument types") + throw(MethodError(DMSetAdjacency, (petsclib, dm, f, useCone, useClosure))) end @for_petsc function DMSetAdjacency(petsclib::$UnionPetscLib, dm::AbstractPetscDM, f::$PetscInt, useCone::PetscBool, useClosure::PetscBool ) @@ -38787,7 +38787,7 @@ See also: `DM`, `DMGetApplicationContext()`, `DMView()`, `DMCreateGlobalVector() $(_doc_external("DM/DMSetApplicationContext")) """ function DMSetApplicationContext(petsclib::PetscLibType, dm::AbstractPetscDM, ctx::Ptr{Cvoid}) - error("DMSetApplicationContext: no generated method for these argument types") + throw(MethodError(DMSetApplicationContext, (petsclib, dm, ctx))) end @for_petsc function DMSetApplicationContext(petsclib::$UnionPetscLib, dm::AbstractPetscDM, ctx::Ptr{Cvoid} ) @@ -38822,7 +38822,7 @@ See also: `DM`, `DMSetApplicationContext()`, `DMView()`, `DMCreateGlobalVector() $(_doc_external("DM/DMSetApplicationContextDestroy")) """ function DMSetApplicationContextDestroy(petsclib::PetscLibType, dm::AbstractPetscDM, destroy::Ptr{Cvoid}) - error("DMSetApplicationContextDestroy: no generated method for these argument types") + throw(MethodError(DMSetApplicationContextDestroy, (petsclib, dm, destroy))) end @for_petsc function DMSetApplicationContextDestroy(petsclib::$UnionPetscLib, dm::AbstractPetscDM, destroy::Ptr{Cvoid} ) @@ -38859,7 +38859,7 @@ See also: `DM`, `DMClearAuxiliaryVec()`, `DMGetAuxiliaryVec()`, `DMGetAuxiliaryL $(_doc_external("DM/DMSetAuxiliaryVec")) """ function DMSetAuxiliaryVec(petsclib::PetscLibType, dm::AbstractPetscDM, label::DMLabel, value::Integer, part::Integer, aux::AbstractPetscVec) - error("DMSetAuxiliaryVec: no generated method for these argument types") + throw(MethodError(DMSetAuxiliaryVec, (petsclib, dm, label, value, part, aux))) end @for_petsc function DMSetAuxiliaryVec(petsclib::$UnionPetscLib, dm::AbstractPetscDM, label::DMLabel, value::$PetscInt, part::$PetscInt, aux::AbstractPetscVec ) @@ -38894,7 +38894,7 @@ See also: `DM`, `DMGetBasicAdjacency()`, `DMGetField()`, `DMSetField()` $(_doc_external("DM/DMSetBasicAdjacency")) """ function DMSetBasicAdjacency(petsclib::PetscLibType, dm::AbstractPetscDM, useCone::PetscBool, useClosure::PetscBool) - error("DMSetBasicAdjacency: no generated method for these argument types") + throw(MethodError(DMSetBasicAdjacency, (petsclib, dm, useCone, useClosure))) end @for_petsc function DMSetBasicAdjacency(petsclib::$UnionPetscLib, dm::AbstractPetscDM, useCone::PetscBool, useClosure::PetscBool ) @@ -38931,7 +38931,7 @@ See also: `DM`, `DMCreateMatrix()`, `MatSetVariableBlockSizes()` $(_doc_external("DM/DMSetBlockingType")) """ function DMSetBlockingType(petsclib::PetscLibType, dm::AbstractPetscDM, btype::DMBlockingType) - error("DMSetBlockingType: no generated method for these argument types") + throw(MethodError(DMSetBlockingType, (petsclib, dm, btype))) end @for_petsc function DMSetBlockingType(petsclib::$UnionPetscLib, dm::AbstractPetscDM, btype::DMBlockingType ) @@ -38966,7 +38966,7 @@ See also: `DMGetCellCoordinateDM()`, `DMSetCellCoordinates()`, `DMSetCellCoordin $(_doc_external("DM/DMSetCellCoordinateDM")) """ function DMSetCellCoordinateDM(petsclib::PetscLibType, dm::AbstractPetscDM, cdm::AbstractPetscDM) - error("DMSetCellCoordinateDM: no generated method for these argument types") + throw(MethodError(DMSetCellCoordinateDM, (petsclib, dm, cdm))) end @for_petsc function DMSetCellCoordinateDM(petsclib::$UnionPetscLib, dm::AbstractPetscDM, cdm::AbstractPetscDM ) @@ -39000,7 +39000,7 @@ See also: `DM`, `DMField`, `DMSetCoordinateField()`, `DMGetCellCoordinateDM()`, $(_doc_external("DM/DMSetCellCoordinateField")) """ function DMSetCellCoordinateField(petsclib::PetscLibType, dm::AbstractPetscDM, field::DMField) - error("DMSetCellCoordinateField: no generated method for these argument types") + throw(MethodError(DMSetCellCoordinateField, (petsclib, dm, field))) end @for_petsc function DMSetCellCoordinateField(petsclib::$UnionPetscLib, dm::AbstractPetscDM, field::DMField ) @@ -39035,7 +39035,7 @@ See also: `DM`, `DMGetCoordinateDim()`, `DMSetCoordinateSection()`, `DMGetCellCo $(_doc_external("DM/DMSetCellCoordinateSection")) """ function DMSetCellCoordinateSection(petsclib::PetscLibType, dm::AbstractPetscDM, dim::Integer, section::PetscSection) - error("DMSetCellCoordinateSection: no generated method for these argument types") + throw(MethodError(DMSetCellCoordinateSection, (petsclib, dm, dim, section))) end @for_petsc function DMSetCellCoordinateSection(petsclib::$UnionPetscLib, dm::AbstractPetscDM, dim::$PetscInt, section::PetscSection ) @@ -39069,7 +39069,7 @@ See also: `DM`, `DMGetCoordinates()`, `DMSetCellCoordinatesLocal()`, `DMGetCellC $(_doc_external("DM/DMSetCellCoordinates")) """ function DMSetCellCoordinates(petsclib::PetscLibType, dm::AbstractPetscDM, c::AbstractPetscVec) - error("DMSetCellCoordinates: no generated method for these argument types") + throw(MethodError(DMSetCellCoordinates, (petsclib, dm, c))) end @for_petsc function DMSetCellCoordinates(petsclib::$UnionPetscLib, dm::AbstractPetscDM, c::AbstractPetscVec ) @@ -39103,7 +39103,7 @@ See also: `DM`, `DMGetCellCoordinatesLocal()`, `DMSetCellCoordinates()`, `DMGetC $(_doc_external("DM/DMSetCellCoordinatesLocal")) """ function DMSetCellCoordinatesLocal(petsclib::PetscLibType, dm::AbstractPetscDM, c::AbstractPetscVec) - error("DMSetCellCoordinatesLocal: no generated method for these argument types") + throw(MethodError(DMSetCellCoordinatesLocal, (petsclib, dm, c))) end @for_petsc function DMSetCellCoordinatesLocal(petsclib::$UnionPetscLib, dm::AbstractPetscDM, c::AbstractPetscVec ) @@ -39135,7 +39135,7 @@ See also: `DM`, `DMGetCoarseDM()`, `DMCoarsen()`, `DMSetRefine()`, `DMSetFineDM( $(_doc_external("DM/DMSetCoarseDM")) """ function DMSetCoarseDM(petsclib::PetscLibType, dm::AbstractPetscDM, cdm::AbstractPetscDM) - error("DMSetCoarseDM: no generated method for these argument types") + throw(MethodError(DMSetCoarseDM, (petsclib, dm, cdm))) end @for_petsc function DMSetCoarseDM(petsclib::$UnionPetscLib, dm::AbstractPetscDM, cdm::AbstractPetscDM ) @@ -39169,7 +39169,7 @@ See also: `DM`, `DMCoarsen()`, `DMGetCoarsenLevel()`, `DMGetRefineLevel()`, `DMD $(_doc_external("DM/DMSetCoarsenLevel")) """ function DMSetCoarsenLevel(petsclib::PetscLibType, dm::AbstractPetscDM, level::Integer) - error("DMSetCoarsenLevel: no generated method for these argument types") + throw(MethodError(DMSetCoarsenLevel, (petsclib, dm, level))) end @for_petsc function DMSetCoarsenLevel(petsclib::$UnionPetscLib, dm::AbstractPetscDM, level::$PetscInt ) @@ -39204,7 +39204,7 @@ See also: `DM`, `DMGetCoordinateDM()`, `DMSetCoordinates()`, `DMGetCellCoordinat $(_doc_external("DM/DMSetCoordinateDM")) """ function DMSetCoordinateDM(petsclib::PetscLibType, dm::AbstractPetscDM, cdm::AbstractPetscDM) - error("DMSetCoordinateDM: no generated method for these argument types") + throw(MethodError(DMSetCoordinateDM, (petsclib, dm, cdm))) end @for_petsc function DMSetCoordinateDM(petsclib::$UnionPetscLib, dm::AbstractPetscDM, cdm::AbstractPetscDM ) @@ -39238,7 +39238,7 @@ See also: `DM`, `DMGetCoordinateDim()`, `DMSetCoordinateSection()`, `DMGetCoordi $(_doc_external("DM/DMSetCoordinateDim")) """ function DMSetCoordinateDim(petsclib::PetscLibType, dm::AbstractPetscDM, dim::Integer) - error("DMSetCoordinateDim: no generated method for these argument types") + throw(MethodError(DMSetCoordinateDim, (petsclib, dm, dim))) end @for_petsc function DMSetCoordinateDim(petsclib::$UnionPetscLib, dm::AbstractPetscDM, dim::$PetscInt ) @@ -39272,7 +39272,7 @@ See also: `DM`, `PetscFE`, `DMGetCoordinateField()` $(_doc_external("DM/DMSetCoordinateDisc")) """ function DMSetCoordinateDisc(petsclib::PetscLibType, dm::AbstractPetscDM, disc::PetscFE, localized::PetscBool, project::PetscBool) - error("DMSetCoordinateDisc: no generated method for these argument types") + throw(MethodError(DMSetCoordinateDisc, (petsclib, dm, disc, localized, project))) end @for_petsc function DMSetCoordinateDisc(petsclib::$UnionPetscLib, dm::AbstractPetscDM, disc::PetscFE, localized::PetscBool, project::PetscBool ) @@ -39306,7 +39306,7 @@ See also: `DM`, `DMField`, `DMGetCoordinateField()`, `DMSetCoordinateDM()`, `DMS $(_doc_external("DM/DMSetCoordinateField")) """ function DMSetCoordinateField(petsclib::PetscLibType, dm::AbstractPetscDM, field::DMField) - error("DMSetCoordinateField: no generated method for these argument types") + throw(MethodError(DMSetCoordinateField, (petsclib, dm, field))) end @for_petsc function DMSetCoordinateField(petsclib::$UnionPetscLib, dm::AbstractPetscDM, field::DMField ) @@ -39341,7 +39341,7 @@ See also: `DM`, `DMGetCoordinateDim()`, `DMGetCoordinateSection()`, `DMGetLocalS $(_doc_external("DM/DMSetCoordinateSection")) """ function DMSetCoordinateSection(petsclib::PetscLibType, dm::AbstractPetscDM, dim::Integer, section::PetscSection) - error("DMSetCoordinateSection: no generated method for these argument types") + throw(MethodError(DMSetCoordinateSection, (petsclib, dm, dim, section))) end @for_petsc function DMSetCoordinateSection(petsclib::$UnionPetscLib, dm::AbstractPetscDM, dim::$PetscInt, section::PetscSection ) @@ -39375,7 +39375,7 @@ See also: `DM`, `DMSetCoordinatesLocal()`, `DMGetCoordinates()`, `DMGetCoordinat $(_doc_external("DM/DMSetCoordinates")) """ function DMSetCoordinates(petsclib::PetscLibType, dm::AbstractPetscDM, c::AbstractPetscVec) - error("DMSetCoordinates: no generated method for these argument types") + throw(MethodError(DMSetCoordinates, (petsclib, dm, c))) end @for_petsc function DMSetCoordinates(petsclib::$UnionPetscLib, dm::AbstractPetscDM, c::AbstractPetscVec ) @@ -39409,7 +39409,7 @@ See also: `DM`, `DMGetCoordinatesLocal()`, `DMSetCoordinates()`, `DMGetCoordinat $(_doc_external("DM/DMSetCoordinatesLocal")) """ function DMSetCoordinatesLocal(petsclib::PetscLibType, dm::AbstractPetscDM, c::AbstractPetscVec) - error("DMSetCoordinatesLocal: no generated method for these argument types") + throw(MethodError(DMSetCoordinatesLocal, (petsclib, dm, c))) end @for_petsc function DMSetCoordinatesLocal(petsclib::$UnionPetscLib, dm::AbstractPetscDM, c::AbstractPetscVec ) @@ -39445,7 +39445,7 @@ See also: `DM`, `DMGetDefaultConstraints()` $(_doc_external("DM/DMSetDefaultConstraints")) """ function DMSetDefaultConstraints(petsclib::PetscLibType, dm::AbstractPetscDM, section::PetscSection, mat::AbstractPetscMat, bias::AbstractPetscVec) - error("DMSetDefaultConstraints: no generated method for these argument types") + throw(MethodError(DMSetDefaultConstraints, (petsclib, dm, section, mat, bias))) end @for_petsc function DMSetDefaultConstraints(petsclib::$UnionPetscLib, dm::AbstractPetscDM, section::PetscSection, mat::AbstractPetscMat, bias::AbstractPetscVec ) @@ -39479,7 +39479,7 @@ See also: `DM`, `DMGetDimension()`, `DMCreate()` $(_doc_external("DM/DMSetDimension")) """ function DMSetDimension(petsclib::PetscLibType, dm::AbstractPetscDM, dim::Integer) - error("DMSetDimension: no generated method for these argument types") + throw(MethodError(DMSetDimension, (petsclib, dm, dim))) end @for_petsc function DMSetDimension(petsclib::$UnionPetscLib, dm::AbstractPetscDM, dim::$PetscInt ) @@ -39516,7 +39516,7 @@ See also: `DM`, `DMAddField()`, `DMGetField()` $(_doc_external("DM/DMSetField")) """ function DMSetField(petsclib::PetscLibType, dm::AbstractPetscDM, f::Integer, label::DMLabel, disc) - error("DMSetField: no generated method for these argument types") + throw(MethodError(DMSetField, (petsclib, dm, f, label, disc))) end @for_petsc function DMSetField(petsclib::$UnionPetscLib, dm::AbstractPetscDM, f::$PetscInt, label::DMLabel, disc ) @@ -39551,7 +39551,7 @@ See also: `DM`, `DMGetFieldAvoidTensor()`, `DMSetField()`, `DMGetField()` $(_doc_external("DM/DMSetFieldAvoidTensor")) """ function DMSetFieldAvoidTensor(petsclib::PetscLibType, dm::AbstractPetscDM, f::Integer, avoidTensor::PetscBool) - error("DMSetFieldAvoidTensor: no generated method for these argument types") + throw(MethodError(DMSetFieldAvoidTensor, (petsclib, dm, f, avoidTensor))) end @for_petsc function DMSetFieldAvoidTensor(petsclib::$UnionPetscLib, dm::AbstractPetscDM, f::$PetscInt, avoidTensor::PetscBool ) @@ -39583,7 +39583,7 @@ See also: `DM`, `DMGetFineDM()`, `DMCoarsen()`, `DMRefine()` $(_doc_external("DM/DMSetFineDM")) """ function DMSetFineDM(petsclib::PetscLibType, dm::AbstractPetscDM, fdm::AbstractPetscDM) - error("DMSetFineDM: no generated method for these argument types") + throw(MethodError(DMSetFineDM, (petsclib, dm, fdm))) end @for_petsc function DMSetFineDM(petsclib::$UnionPetscLib, dm::AbstractPetscDM, fdm::AbstractPetscDM ) @@ -39675,7 +39675,7 @@ See also: `DM`, `DMView()`, `DMCreateGlobalVector()`, `DMCreateInterpolation()`, $(_doc_external("DM/DMSetFromOptions")) """ function DMSetFromOptions(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMSetFromOptions: no generated method for these argument types") + throw(MethodError(DMSetFromOptions, (petsclib, dm))) end @for_petsc function DMSetFromOptions(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -39707,7 +39707,7 @@ See also: `DM`, `DMGetGlobalSection()`, `DMSetLocalSection()` $(_doc_external("DM/DMSetGlobalSection")) """ function DMSetGlobalSection(petsclib::PetscLibType, dm::AbstractPetscDM, section::PetscSection) - error("DMSetGlobalSection: no generated method for these argument types") + throw(MethodError(DMSetGlobalSection, (petsclib, dm, section))) end @for_petsc function DMSetGlobalSection(petsclib::$UnionPetscLib, dm::AbstractPetscDM, section::PetscSection ) @@ -39745,7 +39745,7 @@ See also: `DM`, `DMDACreate1d()`, `DMDACreate2d()`, `DMDACreate3d()`, `DMCreateM $(_doc_external("DM/DMSetISColoringType")) """ function DMSetISColoringType(petsclib::PetscLibType, dm::AbstractPetscDM, ctype::ISColoringType) - error("DMSetISColoringType: no generated method for these argument types") + throw(MethodError(DMSetISColoringType, (petsclib, dm, ctype))) end @for_petsc function DMSetISColoringType(petsclib::$UnionPetscLib, dm::AbstractPetscDM, ctype::ISColoringType ) @@ -39787,7 +39787,7 @@ See also: `DM`, `DMLabel`, `DMCreateLabel()`, `DMHasLabel()`, `DMPlexGetDepthLab $(_doc_external("DM/DMSetLabel")) """ function DMSetLabel(petsclib::PetscLibType, dm::AbstractPetscDM, label::DMLabel) - error("DMSetLabel: no generated method for these argument types") + throw(MethodError(DMSetLabel, (petsclib, dm, label))) end @for_petsc function DMSetLabel(petsclib::$UnionPetscLib, dm::AbstractPetscDM, label::DMLabel ) @@ -39822,7 +39822,7 @@ See also: `DM`, `DMLabel`, `DMGetOutputFlag()`, `DMGetLabelOutput()`, `DMCreateL $(_doc_external("DM/DMSetLabelOutput")) """ function DMSetLabelOutput(petsclib::PetscLibType, dm::AbstractPetscDM, name::String, output::PetscBool) - error("DMSetLabelOutput: no generated method for these argument types") + throw(MethodError(DMSetLabelOutput, (petsclib, dm, name, output))) end @for_petsc function DMSetLabelOutput(petsclib::$UnionPetscLib, dm::AbstractPetscDM, name::String, output::PetscBool ) @@ -39860,7 +39860,7 @@ See also: `DM`, `DMLabelSetValue()`, `DMGetStratumIS()`, `DMClearLabelValue()` $(_doc_external("DM/DMSetLabelValue")) """ function DMSetLabelValue(petsclib::PetscLibType, dm::AbstractPetscDM, name::String, point::Integer, value::Integer) - error("DMSetLabelValue: no generated method for these argument types") + throw(MethodError(DMSetLabelValue, (petsclib, dm, name, point, value))) end @for_petsc function DMSetLabelValue(petsclib::$UnionPetscLib, dm::AbstractPetscDM, name::String, point::$PetscInt, value::$PetscInt ) @@ -39892,7 +39892,7 @@ See also: `DM`, `PetscSection`, `DMGetLocalSection()`, `DMSetGlobalSection()` $(_doc_external("DM/DMSetLocalSection")) """ function DMSetLocalSection(petsclib::PetscLibType, dm::AbstractPetscDM, section::PetscSection) - error("DMSetLocalSection: no generated method for these argument types") + throw(MethodError(DMSetLocalSection, (petsclib, dm, section))) end @for_petsc function DMSetLocalSection(petsclib::$UnionPetscLib, dm::AbstractPetscDM, section::PetscSection ) @@ -39929,7 +39929,7 @@ See also: `DM`, `MatType`, `DMDACreate1d()`, `DMDACreate2d()`, `DMDACreate3d()`, $(_doc_external("DM/DMSetMatType")) """ function DMSetMatType(petsclib::PetscLibType, dm::AbstractPetscDM, ctype::String) - error("DMSetMatType: no generated method for these argument types") + throw(MethodError(DMSetMatType, (petsclib, dm, ctype))) end @for_petsc function DMSetMatType(petsclib::$UnionPetscLib, dm::AbstractPetscDM, ctype::String ) @@ -39967,7 +39967,7 @@ See also: `DM`, `DMCreateMatrix()`, `DMCreateMassMatrix()`, `DMSetMatrixStructur $(_doc_external("DM/DMSetMatrixPreallocateOnly")) """ function DMSetMatrixPreallocateOnly(petsclib::PetscLibType, dm::AbstractPetscDM, only::PetscBool) - error("DMSetMatrixPreallocateOnly: no generated method for these argument types") + throw(MethodError(DMSetMatrixPreallocateOnly, (petsclib, dm, only))) end @for_petsc function DMSetMatrixPreallocateOnly(petsclib::$UnionPetscLib, dm::AbstractPetscDM, only::PetscBool ) @@ -40003,7 +40003,7 @@ See also: `DM`, `DMCreateMatrix()`, `DMSetMatrixStructureOnly()`, `DMSetMatrixPr $(_doc_external("DM/DMSetMatrixPreallocateSkip")) """ function DMSetMatrixPreallocateSkip(petsclib::PetscLibType, dm::AbstractPetscDM, skip::PetscBool) - error("DMSetMatrixPreallocateSkip: no generated method for these argument types") + throw(MethodError(DMSetMatrixPreallocateSkip, (petsclib, dm, skip))) end @for_petsc function DMSetMatrixPreallocateSkip(petsclib::$UnionPetscLib, dm::AbstractPetscDM, skip::PetscBool ) @@ -40038,7 +40038,7 @@ See also: `DM`, `DMCreateMatrix()`, `DMSetMatrixPreallocateOnly()`, `DMSetMatrix $(_doc_external("DM/DMSetMatrixStructureOnly")) """ function DMSetMatrixStructureOnly(petsclib::PetscLibType, dm::AbstractPetscDM, only::PetscBool) - error("DMSetMatrixStructureOnly: no generated method for these argument types") + throw(MethodError(DMSetMatrixStructureOnly, (petsclib, dm, only))) end @for_petsc function DMSetMatrixStructureOnly(petsclib::$UnionPetscLib, dm::AbstractPetscDM, only::PetscBool ) @@ -40070,7 +40070,7 @@ See also: `DM`, `DMGetNaturalSF()`, `DMSetUseNatural()`, `DMGetUseNatural()`, `D $(_doc_external("DM/DMSetNaturalSF")) """ function DMSetNaturalSF(petsclib::PetscLibType, dm::AbstractPetscDM, sf::PetscSF) - error("DMSetNaturalSF: no generated method for these argument types") + throw(MethodError(DMSetNaturalSF, (petsclib, dm, sf))) end @for_petsc function DMSetNaturalSF(petsclib::$UnionPetscLib, dm::AbstractPetscDM, sf::PetscSF ) @@ -40112,7 +40112,7 @@ See also: `DM`, `DMAddField()`, `DMGetNearNullSpaceConstructor()`, `DMSetNullSpa $(_doc_external("DM/DMSetNearNullSpaceConstructor")) """ function DMSetNearNullSpaceConstructor(petsclib::PetscLibType, dm::AbstractPetscDM, field::Integer, nullsp::external) - error("DMSetNearNullSpaceConstructor: no generated method for these argument types") + throw(MethodError(DMSetNearNullSpaceConstructor, (petsclib, dm, field, nullsp))) end @for_petsc function DMSetNearNullSpaceConstructor(petsclib::$UnionPetscLib, dm::AbstractPetscDM, field::$PetscInt, nullsp::external ) @@ -40154,7 +40154,7 @@ See also: `DM`, `DMAddField()`, `DMGetNullSpaceConstructor()`, `DMSetNearNullSpa $(_doc_external("DM/DMSetNullSpaceConstructor")) """ function DMSetNullSpaceConstructor(petsclib::PetscLibType, dm::AbstractPetscDM, field::Integer, nullsp::external) - error("DMSetNullSpaceConstructor: no generated method for these argument types") + throw(MethodError(DMSetNullSpaceConstructor, (petsclib, dm, field, nullsp))) end @for_petsc function DMSetNullSpaceConstructor(petsclib::$UnionPetscLib, dm::AbstractPetscDM, field::$PetscInt, nullsp::external ) @@ -40188,7 +40188,7 @@ See also: `DM`, `DMGetNumFields()`, `DMSetField()` $(_doc_external("DM/DMSetNumFields")) """ function DMSetNumFields(petsclib::PetscLibType, dm::AbstractPetscDM, numFields::Integer) - error("DMSetNumFields: no generated method for these argument types") + throw(MethodError(DMSetNumFields, (petsclib, dm, numFields))) end @for_petsc function DMSetNumFields(petsclib::$UnionPetscLib, dm::AbstractPetscDM, numFields::$PetscInt ) @@ -40222,7 +40222,7 @@ See also: `DM`, `PetscObjectSetOptionsPrefix()`, `DMSetFromOptions()` $(_doc_external("DM/DMSetOptionsPrefix")) """ function DMSetOptionsPrefix(petsclib::PetscLibType, dm::AbstractPetscDM, prefix::String) - error("DMSetOptionsPrefix: no generated method for these argument types") + throw(MethodError(DMSetOptionsPrefix, (petsclib, dm, prefix))) end @for_petsc function DMSetOptionsPrefix(petsclib::$UnionPetscLib, dm::AbstractPetscDM, prefix::String ) @@ -40255,7 +40255,7 @@ See also: `DM`, `VecView()` $(_doc_external("DM/DMSetOutputSequenceNumber")) """ function DMSetOutputSequenceNumber(petsclib::PetscLibType, dm::AbstractPetscDM, num::Integer, val::Real) - error("DMSetOutputSequenceNumber: no generated method for these argument types") + throw(MethodError(DMSetOutputSequenceNumber, (petsclib, dm, num, val))) end @for_petsc function DMSetOutputSequenceNumber(petsclib::$UnionPetscLib, dm::AbstractPetscDM, num::$PetscInt, val::$PetscReal ) @@ -40291,7 +40291,7 @@ See also: `DM`, `DMGetPeriodicity()` $(_doc_external("DM/DMSetPeriodicity")) """ function DMSetPeriodicity(petsclib::PetscLibType, dm::AbstractPetscDM, maxCell::AbstractVector{<:Number}, Lstart::AbstractVector{<:Number}, L::AbstractVector{<:Number}) - error("DMSetPeriodicity: no generated method for these argument types") + throw(MethodError(DMSetPeriodicity, (petsclib, dm, maxCell, Lstart, L))) end @for_petsc function DMSetPeriodicity(petsclib::$UnionPetscLib, dm::AbstractPetscDM, maxCell::Vector{$PetscReal}, Lstart::Vector{$PetscReal}, L::Vector{$PetscReal} ) @@ -40325,7 +40325,7 @@ See also: `DM`, `DMGetPointSF()`, `DMGetSectionSF()`, `DMSetSectionSF()`, `DMCre $(_doc_external("DM/DMSetPointSF")) """ function DMSetPointSF(petsclib::PetscLibType, dm::AbstractPetscDM, sf::PetscSF) - error("DMSetPointSF: no generated method for these argument types") + throw(MethodError(DMSetPointSF, (petsclib, dm, sf))) end @for_petsc function DMSetPointSF(petsclib::$UnionPetscLib, dm::AbstractPetscDM, sf::PetscSF ) @@ -40359,7 +40359,7 @@ See also: `DM`, `DMGetRefineLevel()`, `DMCoarsen()`, `DMGetCoarsenLevel()`, `DMD $(_doc_external("DM/DMSetRefineLevel")) """ function DMSetRefineLevel(petsclib::PetscLibType, dm::AbstractPetscDM, level::Integer) - error("DMSetRefineLevel: no generated method for these argument types") + throw(MethodError(DMSetRefineLevel, (petsclib, dm, level))) end @for_petsc function DMSetRefineLevel(petsclib::$UnionPetscLib, dm::AbstractPetscDM, level::$PetscInt ) @@ -40396,7 +40396,7 @@ See also: `DM`, `DMGetRegionDS()`, `DMSetRegionNumDS()`, `DMGetDS()`, `DMGetCell $(_doc_external("DM/DMSetRegionDS")) """ function DMSetRegionDS(petsclib::PetscLibType, dm::AbstractPetscDM, label::DMLabel, fields::AbstractIS, ds::PetscDS, dsIn::PetscDS) - error("DMSetRegionDS: no generated method for these argument types") + throw(MethodError(DMSetRegionDS, (petsclib, dm, label, fields, ds, dsIn))) end @for_petsc function DMSetRegionDS(petsclib::$UnionPetscLib, dm::AbstractPetscDM, label::DMLabel, fields::AbstractIS, ds::PetscDS, dsIn::PetscDS ) @@ -40434,7 +40434,7 @@ See also: `DM`, `DMGetRegionDS()`, `DMSetRegionDS()`, `DMGetDS()`, `DMGetCellDS( $(_doc_external("DM/DMSetRegionNumDS")) """ function DMSetRegionNumDS(petsclib::PetscLibType, dm::AbstractPetscDM, num::Integer, label::DMLabel, fields::AbstractIS, ds::PetscDS, dsIn::PetscDS) - error("DMSetRegionNumDS: no generated method for these argument types") + throw(MethodError(DMSetRegionNumDS, (petsclib, dm, num, label, fields, ds, dsIn))) end @for_petsc function DMSetRegionNumDS(petsclib::$UnionPetscLib, dm::AbstractPetscDM, num::$PetscInt, label::DMLabel, fields::AbstractIS, ds::PetscDS, dsIn::PetscDS ) @@ -40466,7 +40466,7 @@ See also: `DM`, `DMGetSectionSF()`, `DMCreateSectionSF()` $(_doc_external("DM/DMSetSectionSF")) """ function DMSetSectionSF(petsclib::PetscLibType, dm::AbstractPetscDM, sf::PetscSF) - error("DMSetSectionSF: no generated method for these argument types") + throw(MethodError(DMSetSectionSF, (petsclib, dm, sf))) end @for_petsc function DMSetSectionSF(petsclib::$UnionPetscLib, dm::AbstractPetscDM, sf::PetscSF ) @@ -40500,7 +40500,7 @@ See also: `DM`, `DMPLEX`, `DMRefine()`, `DMPlexCreate()`, `DMSnapToGeomModel()` $(_doc_external("DM/DMSetSnapToGeomModel")) """ function DMSetSnapToGeomModel(petsclib::PetscLibType, dm::AbstractPetscDM, name::String) - error("DMSetSnapToGeomModel: no generated method for these argument types") + throw(MethodError(DMSetSnapToGeomModel, (petsclib, dm, name))) end @for_petsc function DMSetSnapToGeomModel(petsclib::$UnionPetscLib, dm::AbstractPetscDM, name::String ) @@ -40534,7 +40534,7 @@ See also: `DMGetSparseLocalize()`, `DMLocalizeCoordinates()`, `DMSetPeriodicity( $(_doc_external("DM/DMSetSparseLocalize")) """ function DMSetSparseLocalize(petsclib::PetscLibType, dm::AbstractPetscDM, sparse::PetscBool) - error("DMSetSparseLocalize: no generated method for these argument types") + throw(MethodError(DMSetSparseLocalize, (petsclib, dm, sparse))) end @for_petsc function DMSetSparseLocalize(petsclib::$UnionPetscLib, dm::AbstractPetscDM, sparse::PetscBool ) @@ -40570,7 +40570,7 @@ See also: `DM`, `DMLabel`, `DMClearLabelStratum()`, `DMLabelClearStratum()`, `DM $(_doc_external("DM/DMSetStratumIS")) """ function DMSetStratumIS(petsclib::PetscLibType, dm::AbstractPetscDM, name::String, value::Integer, points::AbstractIS) - error("DMSetStratumIS: no generated method for these argument types") + throw(MethodError(DMSetStratumIS, (petsclib, dm, name, value, points))) end @for_petsc function DMSetStratumIS(petsclib::$UnionPetscLib, dm::AbstractPetscDM, name::String, value::$PetscInt, points::AbstractIS ) @@ -40607,7 +40607,7 @@ See also: `DM`, `DMType`, `DMDA`, `DMPLEX`, `DMGetType()`, `DMCreate()`, `DMDACr $(_doc_external("DM/DMSetType")) """ function DMSetType(petsclib::PetscLibType, dm::AbstractPetscDM, method::String) - error("DMSetType: no generated method for these argument types") + throw(MethodError(DMSetType, (petsclib, dm, method))) end @for_petsc function DMSetType(petsclib::$UnionPetscLib, dm::AbstractPetscDM, method::String ) @@ -40640,7 +40640,7 @@ See also: `DM`, `DMCreate()`, `DMSetType()`, `DMView()`, `DMCreateGlobalVector() $(_doc_external("DM/DMSetUp")) """ function DMSetUp(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMSetUp: no generated method for these argument types") + throw(MethodError(DMSetUp, (petsclib, dm))) end @for_petsc function DMSetUp(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -40674,7 +40674,7 @@ See also: `DM`, `DMGetUseNatural()`, `DMCreate()`, `DMPlexDistribute()`, `DMCrea $(_doc_external("DM/DMSetUseNatural")) """ function DMSetUseNatural(petsclib::PetscLibType, dm::AbstractPetscDM, useNatural::PetscBool) - error("DMSetUseNatural: no generated method for these argument types") + throw(MethodError(DMSetUseNatural, (petsclib, dm, useNatural))) end @for_petsc function DMSetUseNatural(petsclib::$UnionPetscLib, dm::AbstractPetscDM, useNatural::PetscBool ) @@ -40709,7 +40709,7 @@ See also: `SNES`, `SNESVINEWTONRSLS`, `SNESVIGetInactiveSet()` $(_doc_external("SNES/DMSetVI")) """ function DMSetVI(petsclib::PetscLibType, dm::AbstractPetscDM, inactive::AbstractIS) - error("DMSetVI: no generated method for these argument types") + throw(MethodError(DMSetVI, (petsclib, dm, inactive))) end @for_petsc function DMSetVI(petsclib::$UnionPetscLib, dm::AbstractPetscDM, inactive::AbstractIS ) @@ -40749,7 +40749,7 @@ See also: `DM`, `DMComputeVariableBounds()`, `DMHasVariableBounds()`, `DMView()` $(_doc_external("DM/DMSetVariableBounds")) """ function DMSetVariableBounds(petsclib::PetscLibType, dm::AbstractPetscDM, f::external) - error("DMSetVariableBounds: no generated method for these argument types") + throw(MethodError(DMSetVariableBounds, (petsclib, dm, f))) end @for_petsc function DMSetVariableBounds(petsclib::$UnionPetscLib, dm::AbstractPetscDM, f::external ) @@ -40787,7 +40787,7 @@ See also: `DM`, `DMCreate()`, `DMDestroy()`, `DMDAInterpolationType`, `VecType`, $(_doc_external("DM/DMSetVecType")) """ function DMSetVecType(petsclib::PetscLibType, dm::AbstractPetscDM, ctype::String) - error("DMSetVecType: no generated method for these argument types") + throw(MethodError(DMSetVecType, (petsclib, dm, ctype))) end @for_petsc function DMSetVecType(petsclib::$UnionPetscLib, dm::AbstractPetscDM, ctype::String ) @@ -40823,7 +40823,7 @@ See also: `DMDestroy()`, `DMCreateGlobalVector()`, `DMCreateLocalVector()`, `DMS $(_doc_external("DM/DMShellCreate")) """ function DMShellCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("DMShellCreate: no generated method for these argument types") + throw(MethodError(DMShellCreate, (petsclib, comm))) end @for_petsc function DMShellCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -40866,7 +40866,7 @@ See also: `DM`, `DMSHELL`, `DMShellSetCoarsen()`, `DMCoarsen()`, `DMShellSetRefi $(_doc_external("DM/DMShellGetCoarsen")) """ function DMShellGetCoarsen(petsclib::PetscLibType, dm::AbstractPetscDM, noname::Ptr{Cvoid}) - error("DMShellGetCoarsen: no generated method for these argument types") + throw(MethodError(DMShellGetCoarsen, (petsclib, dm, noname))) end @for_petsc function DMShellGetCoarsen(petsclib::$UnionPetscLib, dm::AbstractPetscDM, noname::Ptr{Cvoid} ) @@ -40902,7 +40902,7 @@ See also: `DM`, `DMSHELL`, `DMCreateMatrix()`, `DMShellSetContext()` $(_doc_external("DM/DMShellGetContext")) """ function DMShellGetContext(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMShellGetContext: no generated method for these argument types") + throw(MethodError(DMShellGetContext, (petsclib, dm))) end @for_petsc function DMShellGetContext(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -40945,7 +40945,7 @@ See also: `DM`, `DMSHELL`, `DMShellGetCreateInterpolation()`, `DMCreateInjection $(_doc_external("DM/DMShellGetCreateInjection")) """ function DMShellGetCreateInjection(petsclib::PetscLibType, dm::AbstractPetscDM, noname::Ptr{Cvoid}) - error("DMShellGetCreateInjection: no generated method for these argument types") + throw(MethodError(DMShellGetCreateInjection, (petsclib, dm, noname))) end @for_petsc function DMShellGetCreateInjection(petsclib::$UnionPetscLib, dm::AbstractPetscDM, noname::Ptr{Cvoid} ) @@ -40987,7 +40987,7 @@ See also: `DM`, `DMSHELL`, `DMShellGetCreateInjection()`, `DMCreateInterpolation $(_doc_external("DM/DMShellGetCreateInterpolation")) """ function DMShellGetCreateInterpolation(petsclib::PetscLibType, dm::AbstractPetscDM, noname::Ptr{Cvoid}) - error("DMShellGetCreateInterpolation: no generated method for these argument types") + throw(MethodError(DMShellGetCreateInterpolation, (petsclib, dm, noname))) end @for_petsc function DMShellGetCreateInterpolation(petsclib::$UnionPetscLib, dm::AbstractPetscDM, noname::Ptr{Cvoid} ) @@ -41028,7 +41028,7 @@ See also: `DM`, `DMSHELL`, `DMShellSetCreateInjection()`, `DMCreateInterpolation $(_doc_external("DM/DMShellGetCreateRestriction")) """ function DMShellGetCreateRestriction(petsclib::PetscLibType, dm::AbstractPetscDM, noname::Ptr{Cvoid}) - error("DMShellGetCreateRestriction: no generated method for these argument types") + throw(MethodError(DMShellGetCreateRestriction, (petsclib, dm, noname))) end @for_petsc function DMShellGetCreateRestriction(petsclib::$UnionPetscLib, dm::AbstractPetscDM, noname::Ptr{Cvoid} ) @@ -41071,7 +41071,7 @@ See also: `DM`, `DMSHELL`, `DMCreateSubDM()`, `DMShellSetCreateSubDM()`, `DMShel $(_doc_external("DM/DMShellGetCreateSubDM")) """ function DMShellGetCreateSubDM(petsclib::PetscLibType, dm::AbstractPetscDM, noname::Ptr{Cvoid}) - error("DMShellGetCreateSubDM: no generated method for these argument types") + throw(MethodError(DMShellGetCreateSubDM, (petsclib, dm, noname))) end @for_petsc function DMShellGetCreateSubDM(petsclib::$UnionPetscLib, dm::AbstractPetscDM, noname::Ptr{Cvoid} ) @@ -41105,7 +41105,7 @@ See also: `DM`, `DMSHELL`, `DMShellSetGlobalVector()`, `DMShellSetCreateGlobalVe $(_doc_external("DM/DMShellGetGlobalVector")) """ function DMShellGetGlobalVector(petsclib::PetscLibType, dm::AbstractPetscDM, X::AbstractPetscVec) - error("DMShellGetGlobalVector: no generated method for these argument types") + throw(MethodError(DMShellGetGlobalVector, (petsclib, dm, X))) end @for_petsc function DMShellGetGlobalVector(petsclib::$UnionPetscLib, dm::AbstractPetscDM, X::AbstractPetscVec ) @@ -41148,7 +41148,7 @@ See also: `DM`, `DMSHELL`, `DMShellSetCoarsen()`, `DMCoarsen()`, `DMShellSetRefi $(_doc_external("DM/DMShellGetRefine")) """ function DMShellGetRefine(petsclib::PetscLibType, dm::AbstractPetscDM, noname::Ptr{Cvoid}) - error("DMShellGetRefine: no generated method for these argument types") + throw(MethodError(DMShellGetRefine, (petsclib, dm, noname))) end @for_petsc function DMShellGetRefine(petsclib::$UnionPetscLib, dm::AbstractPetscDM, noname::Ptr{Cvoid} ) @@ -41187,7 +41187,7 @@ See also: `DM`, `DMSHELL`, `DMShellSetRefine()`, `DMCoarsen()`, `DMShellGetCoars $(_doc_external("DM/DMShellSetCoarsen")) """ function DMShellSetCoarsen(petsclib::PetscLibType, dm::AbstractPetscDM, coarsen::external) - error("DMShellSetCoarsen: no generated method for these argument types") + throw(MethodError(DMShellSetCoarsen, (petsclib, dm, coarsen))) end @for_petsc function DMShellSetCoarsen(petsclib::$UnionPetscLib, dm::AbstractPetscDM, coarsen::external ) @@ -41221,7 +41221,7 @@ See also: `DM`, `DMSHELL`, `DMCreateMatrix()`, `DMShellGetContext()` $(_doc_external("DM/DMShellSetContext")) """ function DMShellSetContext(petsclib::PetscLibType, dm::AbstractPetscDM, ctx::Ptr{Cvoid}) - error("DMShellSetContext: no generated method for these argument types") + throw(MethodError(DMShellSetContext, (petsclib, dm, ctx))) end @for_petsc function DMShellSetContext(petsclib::$UnionPetscLib, dm::AbstractPetscDM, ctx::Ptr{Cvoid} ) @@ -41263,7 +41263,7 @@ See also: `DM`, `DMSHELL`, `DMCreateDomainDecomposition()`, `DMShellSetContext() $(_doc_external("DM/DMShellSetCreateDomainDecomposition")) """ function DMShellSetCreateDomainDecomposition(petsclib::PetscLibType, dm::AbstractPetscDM, decomp::external) - error("DMShellSetCreateDomainDecomposition: no generated method for these argument types") + throw(MethodError(DMShellSetCreateDomainDecomposition, (petsclib, dm, decomp))) end @for_petsc function DMShellSetCreateDomainDecomposition(petsclib::$UnionPetscLib, dm::AbstractPetscDM, decomp::external ) @@ -41305,7 +41305,7 @@ See also: `DM`, `DMSHELL`, `DMCreateDomainDecompositionScatters()`, `DMShellSetC $(_doc_external("DM/DMShellSetCreateDomainDecompositionScatters")) """ function DMShellSetCreateDomainDecompositionScatters(petsclib::PetscLibType, dm::AbstractPetscDM, scatter::external) - error("DMShellSetCreateDomainDecompositionScatters: no generated method for these argument types") + throw(MethodError(DMShellSetCreateDomainDecompositionScatters, (petsclib, dm, scatter))) end @for_petsc function DMShellSetCreateDomainDecompositionScatters(petsclib::$UnionPetscLib, dm::AbstractPetscDM, scatter::external ) @@ -41346,7 +41346,7 @@ See also: `DM`, `DMSHELL`, `DMCreateFieldDecomposition()`, `DMShellSetContext()` $(_doc_external("DM/DMShellSetCreateFieldDecomposition")) """ function DMShellSetCreateFieldDecomposition(petsclib::PetscLibType, dm::AbstractPetscDM, decomp::external) - error("DMShellSetCreateFieldDecomposition: no generated method for these argument types") + throw(MethodError(DMShellSetCreateFieldDecomposition, (petsclib, dm, decomp))) end @for_petsc function DMShellSetCreateFieldDecomposition(petsclib::$UnionPetscLib, dm::AbstractPetscDM, decomp::external ) @@ -41384,7 +41384,7 @@ See also: `DM`, `DMSHELL`, `DMShellSetGlobalVector()`, `DMShellSetCreateMatrix() $(_doc_external("DM/DMShellSetCreateGlobalVector")) """ function DMShellSetCreateGlobalVector(petsclib::PetscLibType, dm::AbstractPetscDM, func::external) - error("DMShellSetCreateGlobalVector: no generated method for these argument types") + throw(MethodError(DMShellSetCreateGlobalVector, (petsclib, dm, func))) end @for_petsc function DMShellSetCreateGlobalVector(petsclib::$UnionPetscLib, dm::AbstractPetscDM, func::external ) @@ -41423,7 +41423,7 @@ See also: `DM`, `DMSHELL`, `DMShellSetCreateInterpolation()`, `DMCreateInjection $(_doc_external("DM/DMShellSetCreateInjection")) """ function DMShellSetCreateInjection(petsclib::PetscLibType, dm::AbstractPetscDM, inject::external) - error("DMShellSetCreateInjection: no generated method for these argument types") + throw(MethodError(DMShellSetCreateInjection, (petsclib, dm, inject))) end @for_petsc function DMShellSetCreateInjection(petsclib::$UnionPetscLib, dm::AbstractPetscDM, inject::external ) @@ -41463,7 +41463,7 @@ See also: `DM`, `DMSHELL`, `DMShellSetCreateInjection()`, `DMCreateInterpolation $(_doc_external("DM/DMShellSetCreateInterpolation")) """ function DMShellSetCreateInterpolation(petsclib::PetscLibType, dm::AbstractPetscDM, interp::external) - error("DMShellSetCreateInterpolation: no generated method for these argument types") + throw(MethodError(DMShellSetCreateInterpolation, (petsclib, dm, interp))) end @for_petsc function DMShellSetCreateInterpolation(petsclib::$UnionPetscLib, dm::AbstractPetscDM, interp::external ) @@ -41501,7 +41501,7 @@ See also: `DM`, `DMSHELL`, `DMShellSetLocalVector()`, `DMShellSetCreateMatrix()` $(_doc_external("DM/DMShellSetCreateLocalVector")) """ function DMShellSetCreateLocalVector(petsclib::PetscLibType, dm::AbstractPetscDM, func::external) - error("DMShellSetCreateLocalVector: no generated method for these argument types") + throw(MethodError(DMShellSetCreateLocalVector, (petsclib, dm, func))) end @for_petsc function DMShellSetCreateLocalVector(petsclib::$UnionPetscLib, dm::AbstractPetscDM, func::external ) @@ -41539,7 +41539,7 @@ See also: `DM`, `DMSHELL`, `DMCreateMatrix()`, `DMShellSetMatrix()`, `DMShellSet $(_doc_external("DM/DMShellSetCreateMatrix")) """ function DMShellSetCreateMatrix(petsclib::PetscLibType, dm::AbstractPetscDM, func::external) - error("DMShellSetCreateMatrix: no generated method for these argument types") + throw(MethodError(DMShellSetCreateMatrix, (petsclib, dm, func))) end @for_petsc function DMShellSetCreateMatrix(petsclib::$UnionPetscLib, dm::AbstractPetscDM, func::external ) @@ -41578,7 +41578,7 @@ See also: `DM`, `DMSHELL`, `DMShellSetCreateInjection()`, `DMCreateInterpolation $(_doc_external("DM/DMShellSetCreateRestriction")) """ function DMShellSetCreateRestriction(petsclib::PetscLibType, dm::AbstractPetscDM, restriction::external) - error("DMShellSetCreateRestriction: no generated method for these argument types") + throw(MethodError(DMShellSetCreateRestriction, (petsclib, dm, restriction))) end @for_petsc function DMShellSetCreateRestriction(petsclib::$UnionPetscLib, dm::AbstractPetscDM, restriction::external ) @@ -41619,7 +41619,7 @@ See also: `DM`, `DMSHELL`, `DMCreateSubDM()`, `DMShellGetCreateSubDM()`, `DMShel $(_doc_external("DM/DMShellSetCreateSubDM")) """ function DMShellSetCreateSubDM(petsclib::PetscLibType, dm::AbstractPetscDM, subdm::external) - error("DMShellSetCreateSubDM: no generated method for these argument types") + throw(MethodError(DMShellSetCreateSubDM, (petsclib, dm, subdm))) end @for_petsc function DMShellSetCreateSubDM(petsclib::$UnionPetscLib, dm::AbstractPetscDM, subdm::external ) @@ -41653,7 +41653,7 @@ See also: `DM`, `DMSHELL`, `DMShellSetContext()`, `DMShellGetContext()` $(_doc_external("DM/DMShellSetDestroyContext")) """ function DMShellSetDestroyContext(petsclib::PetscLibType, dm::AbstractPetscDM, destroyctx::Ptr{Cvoid}) - error("DMShellSetDestroyContext: no generated method for these argument types") + throw(MethodError(DMShellSetDestroyContext, (petsclib, dm, destroyctx))) end @for_petsc function DMShellSetDestroyContext(petsclib::$UnionPetscLib, dm::AbstractPetscDM, destroyctx::Ptr{Cvoid} ) @@ -41700,7 +41700,7 @@ See also: `DM`, `DMSHELL`, `DMShellSetLocalToGlobal()`, `DMGlobalToLocalBeginDef $(_doc_external("DM/DMShellSetGlobalToLocal")) """ function DMShellSetGlobalToLocal(petsclib::PetscLibType, dm::AbstractPetscDM, begin_::external, end_::external) - error("DMShellSetGlobalToLocal: no generated method for these argument types") + throw(MethodError(DMShellSetGlobalToLocal, (petsclib, dm, begin_, end_))) end @for_petsc function DMShellSetGlobalToLocal(petsclib::$UnionPetscLib, dm::AbstractPetscDM, begin_::external, end_::external ) @@ -41734,7 +41734,7 @@ See also: `DM`, `DMSHELL`, `DMShellSetGlobalToLocal()`, `DMGlobalToLocalBeginDef $(_doc_external("DM/DMShellSetGlobalToLocalVecScatter")) """ function DMShellSetGlobalToLocalVecScatter(petsclib::PetscLibType, dm::AbstractPetscDM, gtol::VecScatter) - error("DMShellSetGlobalToLocalVecScatter: no generated method for these argument types") + throw(MethodError(DMShellSetGlobalToLocalVecScatter, (petsclib, dm, gtol))) end @for_petsc function DMShellSetGlobalToLocalVecScatter(petsclib::$UnionPetscLib, dm::AbstractPetscDM, gtol::VecScatter ) @@ -41768,7 +41768,7 @@ See also: `DM`, `DMSHELL`, `DMCreateGlobalVector()`, `DMShellSetMatrix()`, `DMSh $(_doc_external("DM/DMShellSetGlobalVector")) """ function DMShellSetGlobalVector(petsclib::PetscLibType, dm::AbstractPetscDM, X::AbstractPetscVec) - error("DMShellSetGlobalVector: no generated method for these argument types") + throw(MethodError(DMShellSetGlobalVector, (petsclib, dm, X))) end @for_petsc function DMShellSetGlobalVector(petsclib::$UnionPetscLib, dm::AbstractPetscDM, X::AbstractPetscVec ) @@ -41815,7 +41815,7 @@ See also: `DM`, `DMSHELL`, `DMShellSetGlobalToLocal()`, `InsertMode`, `VecScatte $(_doc_external("DM/DMShellSetLocalToGlobal")) """ function DMShellSetLocalToGlobal(petsclib::PetscLibType, dm::AbstractPetscDM, begin_::external, end_::external) - error("DMShellSetLocalToGlobal: no generated method for these argument types") + throw(MethodError(DMShellSetLocalToGlobal, (petsclib, dm, begin_, end_))) end @for_petsc function DMShellSetLocalToGlobal(petsclib::$UnionPetscLib, dm::AbstractPetscDM, begin_::external, end_::external ) @@ -41849,7 +41849,7 @@ See also: `DM`, `DMSHELL`, `DMShellSetLocalToGlobal()`, `DMLocalToGlobalBeginDef $(_doc_external("DM/DMShellSetLocalToGlobalVecScatter")) """ function DMShellSetLocalToGlobalVecScatter(petsclib::PetscLibType, dm::AbstractPetscDM, ltog::VecScatter) - error("DMShellSetLocalToGlobalVecScatter: no generated method for these argument types") + throw(MethodError(DMShellSetLocalToGlobalVecScatter, (petsclib, dm, ltog))) end @for_petsc function DMShellSetLocalToGlobalVecScatter(petsclib::$UnionPetscLib, dm::AbstractPetscDM, ltog::VecScatter ) @@ -41896,7 +41896,7 @@ See also: `DM`, `DMSHELL`, `DMShellSetGlobalToLocal()`, `DMLocalToLocalBeginDefa $(_doc_external("DM/DMShellSetLocalToLocal")) """ function DMShellSetLocalToLocal(petsclib::PetscLibType, dm::AbstractPetscDM, begin_::external, end_::external) - error("DMShellSetLocalToLocal: no generated method for these argument types") + throw(MethodError(DMShellSetLocalToLocal, (petsclib, dm, begin_, end_))) end @for_petsc function DMShellSetLocalToLocal(petsclib::$UnionPetscLib, dm::AbstractPetscDM, begin_::external, end_::external ) @@ -41930,7 +41930,7 @@ See also: `DM`, `DMSHELL`, `DMShellSetLocalToLocal()`, `DMLocalToLocalBeginDefau $(_doc_external("DM/DMShellSetLocalToLocalVecScatter")) """ function DMShellSetLocalToLocalVecScatter(petsclib::PetscLibType, dm::AbstractPetscDM, ltol::VecScatter) - error("DMShellSetLocalToLocalVecScatter: no generated method for these argument types") + throw(MethodError(DMShellSetLocalToLocalVecScatter, (petsclib, dm, ltol))) end @for_petsc function DMShellSetLocalToLocalVecScatter(petsclib::$UnionPetscLib, dm::AbstractPetscDM, ltol::VecScatter ) @@ -41964,7 +41964,7 @@ See also: `DM`, `DMSHELL`, `DMCreateLocalVector()`, `DMShellSetMatrix()`, `DMShe $(_doc_external("DM/DMShellSetLocalVector")) """ function DMShellSetLocalVector(petsclib::PetscLibType, dm::AbstractPetscDM, X::AbstractPetscVec) - error("DMShellSetLocalVector: no generated method for these argument types") + throw(MethodError(DMShellSetLocalVector, (petsclib, dm, X))) end @for_petsc function DMShellSetLocalVector(petsclib::$UnionPetscLib, dm::AbstractPetscDM, X::AbstractPetscVec ) @@ -41998,7 +41998,7 @@ See also: `DM`, `DMSHELL`, `DMCreateMatrix()`, `DMShellSetCreateMatrix()`, `DMSh $(_doc_external("DM/DMShellSetMatrix")) """ function DMShellSetMatrix(petsclib::PetscLibType, dm::AbstractPetscDM, J::AbstractPetscMat) - error("DMShellSetMatrix: no generated method for these argument types") + throw(MethodError(DMShellSetMatrix, (petsclib, dm, J))) end @for_petsc function DMShellSetMatrix(petsclib::$UnionPetscLib, dm::AbstractPetscDM, J::AbstractPetscMat ) @@ -42037,7 +42037,7 @@ See also: `DM`, `DMSHELL`, `DMShellSetCoarsen()`, `DMRefine()`, `DMShellGetRefin $(_doc_external("DM/DMShellSetRefine")) """ function DMShellSetRefine(petsclib::PetscLibType, dm::AbstractPetscDM, refine::external) - error("DMShellSetRefine: no generated method for these argument types") + throw(MethodError(DMShellSetRefine, (petsclib, dm, refine))) end @for_petsc function DMShellSetRefine(petsclib::$UnionPetscLib, dm::AbstractPetscDM, refine::external ) @@ -42081,7 +42081,7 @@ See also: `DM`, `DMSLICED`, `DMDestroy()`, `DMCreateGlobalVector()`, `DMSetType( $(_doc_external("DM/DMSlicedCreate")) """ function DMSlicedCreate(petsclib::PetscLibType, comm::MPI_Comm, bs::Integer, nlocal::Integer, Nghosts::Integer, ghosts::AbstractVector{<:Number}, d_nnz::AbstractVector{<:Number}, o_nnz::AbstractVector{<:Number}) - error("DMSlicedCreate: no generated method for these argument types") + throw(MethodError(DMSlicedCreate, (petsclib, comm, bs, nlocal, Nghosts, ghosts, d_nnz, o_nnz))) end @for_petsc function DMSlicedCreate(petsclib::$UnionPetscLib, comm::MPI_Comm, bs::$PetscInt, nlocal::$PetscInt, Nghosts::$PetscInt, ghosts::Vector{$PetscInt}, d_nnz::Vector{$PetscInt}, o_nnz::Vector{$PetscInt} ) @@ -42119,7 +42119,7 @@ See also: `DM`, `DMSLICED`, `DMSlicedGetMatrix()`, `DMDASetBlockFills()` $(_doc_external("DM/DMSlicedSetBlockFills")) """ function DMSlicedSetBlockFills(petsclib::PetscLibType, dm::AbstractPetscDM, dfill::AbstractVector{<:Number}, ofill::AbstractVector{<:Number}) - error("DMSlicedSetBlockFills: no generated method for these argument types") + throw(MethodError(DMSlicedSetBlockFills, (petsclib, dm, dfill, ofill))) end @for_petsc function DMSlicedSetBlockFills(petsclib::$UnionPetscLib, dm::AbstractPetscDM, dfill::Vector{$PetscInt}, ofill::Vector{$PetscInt} ) @@ -42157,7 +42157,7 @@ See also: `DM`, `DMSLICED`, `DMDestroy()`, `DMCreateGlobalVector()` $(_doc_external("DM/DMSlicedSetGhosts")) """ function DMSlicedSetGhosts(petsclib::PetscLibType, dm::AbstractPetscDM, bs::Integer, nlocal::Integer, Nghosts::Integer, ghosts::AbstractVector{<:Number}) - error("DMSlicedSetGhosts: no generated method for these argument types") + throw(MethodError(DMSlicedSetGhosts, (petsclib, dm, bs, nlocal, Nghosts, ghosts))) end @for_petsc function DMSlicedSetGhosts(petsclib::$UnionPetscLib, dm::AbstractPetscDM, bs::$PetscInt, nlocal::$PetscInt, Nghosts::$PetscInt, ghosts::Vector{$PetscInt} ) @@ -42201,7 +42201,7 @@ See also: `DM`, `DMSLICED`, `DMDestroy()`, `DMCreateGlobalVector()`, `MatMPIAIJS $(_doc_external("DM/DMSlicedSetPreallocation")) """ function DMSlicedSetPreallocation(petsclib::PetscLibType, dm::AbstractPetscDM, d_nz::Integer, d_nnz::AbstractVector{<:Number}, o_nz::Integer, o_nnz::AbstractVector{<:Number}) - error("DMSlicedSetPreallocation: no generated method for these argument types") + throw(MethodError(DMSlicedSetPreallocation, (petsclib, dm, d_nz, d_nnz, o_nz, o_nnz))) end @for_petsc function DMSlicedSetPreallocation(petsclib::$UnionPetscLib, dm::AbstractPetscDM, d_nz::$PetscInt, d_nnz::Vector{$PetscInt}, o_nz::$PetscInt, o_nnz::Vector{$PetscInt} ) @@ -42240,7 +42240,7 @@ See also: `DM`, `DMPLEX`, `DMRefine()`, `DMPlexCreate()`, `DMPlexSetRefinementUn $(_doc_external("DM/DMSnapToGeomModel")) """ function DMSnapToGeomModel(petsclib::PetscLibType, dm::AbstractPetscDM, p::Integer, dE::Integer, mcoords::AbstractVector{<:Number}, gcoords::AbstractVector{<:Number}) - error("DMSnapToGeomModel: no generated method for these argument types") + throw(MethodError(DMSnapToGeomModel, (petsclib, dm, p, dE, mcoords, gcoords))) end @for_petsc function DMSnapToGeomModel(petsclib::$UnionPetscLib, dm::AbstractPetscDM, p::$PetscInt, dE::$PetscInt, mcoords::Vector{$PetscScalar}, gcoords::Vector{$PetscScalar} ) @@ -42289,7 +42289,7 @@ See also: `DMSTAG`, `DMStagCreate2d()`, `DMStagCreate3d()`, `DMDestroy()`, `DMVi $(_doc_external("DMStag/DMStagCreate1d")) """ function DMStagCreate1d(petsclib::PetscLibType, comm::MPI_Comm, bndx::DMBoundaryType, M::Integer, dof0::Integer, dof1::Integer, stencilType::DMStagStencilType, stencilWidth::Integer, lx::Union{Ptr, AbstractVector{<:Number}}) - error("DMStagCreate1d: no generated method for these argument types") + throw(MethodError(DMStagCreate1d, (petsclib, comm, bndx, M, dof0, dof1, stencilType, stencilWidth, lx))) end @for_petsc function DMStagCreate1d(petsclib::$UnionPetscLib, comm::MPI_Comm, bndx::DMBoundaryType, M::$PetscInt, dof0::$PetscInt, dof1::$PetscInt, stencilType::DMStagStencilType, stencilWidth::$PetscInt, lx::Union{Ptr, Vector{$PetscInt}} ) @@ -42351,7 +42351,7 @@ See also: `DMSTAG`, `DMStagCreate1d()`, `DMStagCreate3d()`, `DMDestroy()`, `DMVi $(_doc_external("DMStag/DMStagCreate2d")) """ function DMStagCreate2d(petsclib::PetscLibType, comm::MPI_Comm, bndx::DMBoundaryType, bndy::DMBoundaryType, M::Integer, N::Integer, M_m::Integer, M_n::Integer, dof0::Integer, dof1::Integer, dof2::Integer, stencilType::DMStagStencilType, stencilWidth::Integer, lx::Union{Ptr, AbstractVector{<:Number}}, ly::Union{Ptr, AbstractVector{<:Number}}) - error("DMStagCreate2d: no generated method for these argument types") + throw(MethodError(DMStagCreate2d, (petsclib, comm, bndx, bndy, M, N, M_m, M_n, dof0, dof1, dof2, stencilType, stencilWidth, lx, ly))) end @for_petsc function DMStagCreate2d(petsclib::$UnionPetscLib, comm::MPI_Comm, bndx::DMBoundaryType, bndy::DMBoundaryType, M::$PetscInt, N::$PetscInt, M_m::$PetscInt, M_n::$PetscInt, dof0::$PetscInt, dof1::$PetscInt, dof2::$PetscInt, stencilType::DMStagStencilType, stencilWidth::$PetscInt, lx::Union{Ptr, Vector{$PetscInt}}, ly::Union{Ptr, Vector{$PetscInt}} ) @@ -42420,7 +42420,7 @@ See also: `DMSTAG`, `DMStagCreate1d()`, `DMStagCreate2d()`, `DMDestroy()`, `DMVi $(_doc_external("DMStag/DMStagCreate3d")) """ function DMStagCreate3d(petsclib::PetscLibType, comm::MPI_Comm, bndx::DMBoundaryType, bndy::DMBoundaryType, bndz::DMBoundaryType, M::Integer, N::Integer, P::Integer, M_m::Integer, M_n::Integer, M_p::Integer, dof0::Integer, dof1::Integer, dof2::Integer, dof3::Integer, stencilType::DMStagStencilType, stencilWidth::Integer, lx::Union{Ptr, AbstractVector{<:Number}}, ly::Union{Ptr, AbstractVector{<:Number}}, lz::Union{Ptr, AbstractVector{<:Number}}) - error("DMStagCreate3d: no generated method for these argument types") + throw(MethodError(DMStagCreate3d, (petsclib, comm, bndx, bndy, bndz, M, N, P, M_m, M_n, M_p, dof0, dof1, dof2, dof3, stencilType, stencilWidth, lx, ly, lz))) end @for_petsc function DMStagCreate3d(petsclib::$UnionPetscLib, comm::MPI_Comm, bndx::DMBoundaryType, bndy::DMBoundaryType, bndz::DMBoundaryType, M::$PetscInt, N::$PetscInt, P::$PetscInt, M_m::$PetscInt, M_n::$PetscInt, M_p::$PetscInt, dof0::$PetscInt, dof1::$PetscInt, dof2::$PetscInt, dof3::$PetscInt, stencilType::DMStagStencilType, stencilWidth::$PetscInt, lx::Union{Ptr, Vector{$PetscInt}}, ly::Union{Ptr, Vector{$PetscInt}}, lz::Union{Ptr, Vector{$PetscInt}} ) @@ -42462,7 +42462,7 @@ See also: `DMSTAG`, `DMDACreateCompatibleDMDA()`, `DMGetCompatibility()`, `DMSta $(_doc_external("DMStag/DMStagCreateCompatibleDMStag")) """ function DMStagCreateCompatibleDMStag(petsclib::PetscLibType, dm::AbstractPetscDM, dof0::Integer, dof1::Integer, dof2::Integer, dof3::Integer) - error("DMStagCreateCompatibleDMStag: no generated method for these argument types") + throw(MethodError(DMStagCreateCompatibleDMStag, (petsclib, dm, dof0, dof1, dof2, dof3))) end @for_petsc function DMStagCreateCompatibleDMStag(petsclib::$UnionPetscLib, dm::AbstractPetscDM, dof0::$PetscInt, dof1::$PetscInt, dof2::$PetscInt, dof3::$PetscInt ) @@ -42500,7 +42500,7 @@ See also: `DMSTAG`, `IS`, `DMStagStencil`, `DMCreateGlobalVector` $(_doc_external("DMStag/DMStagCreateISFromStencils")) """ function DMStagCreateISFromStencils(petsclib::PetscLibType, dm::AbstractPetscDM, n_stencil::Integer, stencils::Vector{DMStagStencil}) - error("DMStagCreateISFromStencils: no generated method for these argument types") + throw(MethodError(DMStagCreateISFromStencils, (petsclib, dm, n_stencil, stencils))) end @for_petsc function DMStagCreateISFromStencils(petsclib::$UnionPetscLib, dm::AbstractPetscDM, n_stencil::$PetscInt, stencils::Vector{DMStagStencil} ) @@ -42540,7 +42540,7 @@ See also: `DMSTAG`, `DMBoundaryType` $(_doc_external("DMStag/DMStagGetBoundaryTypes")) """ function DMStagGetBoundaryTypes(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMStagGetBoundaryTypes: no generated method for these argument types") + throw(MethodError(DMStagGetBoundaryTypes, (petsclib, dm))) end @for_petsc function DMStagGetBoundaryTypes(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -42590,7 +42590,7 @@ See also: `DMSTAG`, `DMStagGetGhostCorners()`, `DMDAGetCorners()` $(_doc_external("DMStag/DMStagGetCorners")) """ function DMStagGetCorners(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMStagGetCorners: no generated method for these argument types") + throw(MethodError(DMStagGetCorners, (petsclib, dm))) end @for_petsc function DMStagGetCorners(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -42647,7 +42647,7 @@ See also: `DMSTAG`, `DMStagGetCorners()`, `DMStagGetGhostCorners()`, `DMStagGetG $(_doc_external("DMStag/DMStagGetDOF")) """ function DMStagGetDOF(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMStagGetDOF: no generated method for these argument types") + throw(MethodError(DMStagGetDOF, (petsclib, dm))) end @for_petsc function DMStagGetDOF(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -42691,7 +42691,7 @@ See also: `DMSTAG`, `DMStagGetDOF()`, `DMStagGetEntriesLocal()`, `DMStagGetEntri $(_doc_external("DMStag/DMStagGetEntries")) """ function DMStagGetEntries(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMStagGetEntries: no generated method for these argument types") + throw(MethodError(DMStagGetEntries, (petsclib, dm))) end @for_petsc function DMStagGetEntries(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -42729,7 +42729,7 @@ See also: `DMSTAG`, `DMStagGetDOF()`, `DMStagGetEntries()`, `DMStagGetEntriesPer $(_doc_external("DMStag/DMStagGetEntriesLocal")) """ function DMStagGetEntriesLocal(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMStagGetEntriesLocal: no generated method for these argument types") + throw(MethodError(DMStagGetEntriesLocal, (petsclib, dm))) end @for_petsc function DMStagGetEntriesLocal(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -42767,7 +42767,7 @@ See also: `DMSTAG`, `DMStagGetDOF()` $(_doc_external("DMStag/DMStagGetEntriesPerElement")) """ function DMStagGetEntriesPerElement(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMStagGetEntriesPerElement: no generated method for these argument types") + throw(MethodError(DMStagGetEntriesPerElement, (petsclib, dm))) end @for_petsc function DMStagGetEntriesPerElement(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -42810,7 +42810,7 @@ See also: `DMSTAG`, `DMStagGetCorners()`, `DMDAGetGhostCorners()` $(_doc_external("DMStag/DMStagGetGhostCorners")) """ function DMStagGetGhostCorners(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMStagGetGhostCorners: no generated method for these argument types") + throw(MethodError(DMStagGetGhostCorners, (petsclib, dm))) end @for_petsc function DMStagGetGhostCorners(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -42860,7 +42860,7 @@ See also: `DMSTAG`, `DMStagGetLocalSizes()`, `DMDAGetInfo()` $(_doc_external("DMStag/DMStagGetGlobalSizes")) """ function DMStagGetGlobalSizes(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMStagGetGlobalSizes: no generated method for these argument types") + throw(MethodError(DMStagGetGlobalSizes, (petsclib, dm))) end @for_petsc function DMStagGetGlobalSizes(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -42904,7 +42904,7 @@ See also: `DMSTAG`, `DMStagGetIsLastRank()` $(_doc_external("DMStag/DMStagGetIsFirstRank")) """ function DMStagGetIsFirstRank(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMStagGetIsFirstRank: no generated method for these argument types") + throw(MethodError(DMStagGetIsFirstRank, (petsclib, dm))) end @for_petsc function DMStagGetIsFirstRank(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -42948,7 +42948,7 @@ See also: `DMSTAG`, `DMStagGetIsFirstRank()` $(_doc_external("DMStag/DMStagGetIsLastRank")) """ function DMStagGetIsLastRank(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMStagGetIsLastRank: no generated method for these argument types") + throw(MethodError(DMStagGetIsLastRank, (petsclib, dm))) end @for_petsc function DMStagGetIsLastRank(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -42992,7 +42992,7 @@ See also: `DMSTAG`, `DMStagGetGlobalSizes()`, `DMStagGetDOF()`, `DMStagGetNumRan $(_doc_external("DMStag/DMStagGetLocalSizes")) """ function DMStagGetLocalSizes(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMStagGetLocalSizes: no generated method for these argument types") + throw(MethodError(DMStagGetLocalSizes, (petsclib, dm))) end @for_petsc function DMStagGetLocalSizes(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -43035,7 +43035,7 @@ See also: `DMSTAG`, `DMStagStencilLocation`, `DMStagStencil`, `DMDAGetDof()` $(_doc_external("DMStag/DMStagGetLocationDOF")) """ function DMStagGetLocationDOF(petsclib::PetscLibType, dm::AbstractPetscDM, loc::DMStagStencilLocation) - error("DMStagGetLocationDOF: no generated method for these argument types") + throw(MethodError(DMStagGetLocationDOF, (petsclib, dm, loc))) end @for_petsc function DMStagGetLocationDOF(petsclib::$UnionPetscLib, dm::AbstractPetscDM, loc::DMStagStencilLocation ) @@ -43075,7 +43075,7 @@ See also: `DMSTAG`, `DMStagVecGetArray()`, `DMStagVecGetArrayRead()`, `DMStagGet $(_doc_external("DMStag/DMStagGetLocationSlot")) """ function DMStagGetLocationSlot(petsclib::PetscLibType, dm::AbstractPetscDM, loc::DMStagStencilLocation, c::Integer) - error("DMStagGetLocationSlot: no generated method for these argument types") + throw(MethodError(DMStagGetLocationSlot, (petsclib, dm, loc, c))) end @for_petsc function DMStagGetLocationSlot(petsclib::$UnionPetscLib, dm::AbstractPetscDM, loc::DMStagStencilLocation, c::$PetscInt ) @@ -43115,7 +43115,7 @@ See also: `DMSTAG`, `DMStagGetGlobalSizes()`, `DMStagGetLocalSize()`, `DMStagSet $(_doc_external("DMStag/DMStagGetNumRanks")) """ function DMStagGetNumRanks(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMStagGetNumRanks: no generated method for these argument types") + throw(MethodError(DMStagGetNumRanks, (petsclib, dm))) end @for_petsc function DMStagGetNumRanks(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -43354,7 +43354,7 @@ See also: `DMSTAG`, `DMRefine()`, `DMCoarsen()`, `DMStagSetRefinementFactor()`, $(_doc_external("DMStag/DMStagGetRefinementFactor")) """ function DMStagGetRefinementFactor(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMStagGetRefinementFactor: no generated method for these argument types") + throw(MethodError(DMStagGetRefinementFactor, (petsclib, dm))) end @for_petsc function DMStagGetRefinementFactor(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -43396,7 +43396,7 @@ See also: `DMSTAG`, `DMStagSetStencilType()`, `DMStagGetStencilWidth`, `DMStagSt $(_doc_external("DMStag/DMStagGetStencilType")) """ function DMStagGetStencilType(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMStagGetStencilType: no generated method for these argument types") + throw(MethodError(DMStagGetStencilType, (petsclib, dm))) end @for_petsc function DMStagGetStencilType(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -43434,7 +43434,7 @@ See also: `DMSTAG`, `DMStagSetStencilWidth()`, `DMStagGetStencilType()`, `DMDAGe $(_doc_external("DMStag/DMStagGetStencilWidth")) """ function DMStagGetStencilWidth(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMStagGetStencilWidth: no generated method for these argument types") + throw(MethodError(DMStagGetStencilWidth, (petsclib, dm))) end @for_petsc function DMStagGetStencilWidth(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -43477,7 +43477,7 @@ See also: `DMSTAG`, `DMStagStencil`, `DMStagStencilLocation`, `DMStagVecGetValue $(_doc_external("DMStag/DMStagMatGetValuesStencil")) """ function DMStagMatGetValuesStencil(petsclib::PetscLibType, dm::AbstractPetscDM, mat::AbstractPetscMat, nRow::Integer, posRow::Vector{DMStagStencil}, nCol::Integer, posCol::Vector{DMStagStencil}) - error("DMStagMatGetValuesStencil: no generated method for these argument types") + throw(MethodError(DMStagMatGetValuesStencil, (petsclib, dm, mat, nRow, posRow, nCol, posCol))) end @for_petsc function DMStagMatGetValuesStencil(petsclib::$UnionPetscLib, dm::AbstractPetscDM, mat::AbstractPetscMat, nRow::$PetscInt, posRow::Vector{DMStagStencil}, nCol::$PetscInt, posCol::Vector{DMStagStencil} ) @@ -43516,7 +43516,7 @@ See also: `DMSTAG`, `DMStagStencil`, `DMStagStencilLocation`, `DMStagVecGetValue $(_doc_external("DMStag/DMStagMatSetValuesStencil")) """ function DMStagMatSetValuesStencil(petsclib::PetscLibType, dm::AbstractPetscDM, mat::AbstractPetscMat, nRow::Integer, posRow::Vector{DMStagStencil}, nCol::Integer, posCol::Vector{DMStagStencil}, val::AbstractVector{<:Number}, insertMode::InsertMode) - error("DMStagMatSetValuesStencil: no generated method for these argument types") + throw(MethodError(DMStagMatSetValuesStencil, (petsclib, dm, mat, nRow, posRow, nCol, posCol, val, insertMode))) end @for_petsc function DMStagMatSetValuesStencil(petsclib::$UnionPetscLib, dm::AbstractPetscDM, mat::AbstractPetscMat, nRow::$PetscInt, posRow::Vector{DMStagStencil}, nCol::$PetscInt, posCol::Vector{DMStagStencil}, val::Vector{$PetscScalar}, insertMode::InsertMode ) @@ -43552,7 +43552,7 @@ See also: `DMSTAG`, `DMStagCreateCompatibleDMStag()`, `DMGetCompatibility()`, `D $(_doc_external("DMStag/DMStagMigrateVec")) """ function DMStagMigrateVec(petsclib::PetscLibType, dm::AbstractPetscDM, vec::AbstractPetscVec, dmTo::AbstractPetscDM, vecTo::AbstractPetscVec) - error("DMStagMigrateVec: no generated method for these argument types") + throw(MethodError(DMStagMigrateVec, (petsclib, dm, vec, dmTo, vecTo))) end @for_petsc function DMStagMigrateVec(petsclib::$UnionPetscLib, dm::AbstractPetscDM, vec::AbstractPetscVec, dmTo::AbstractPetscDM, vecTo::AbstractPetscVec ) @@ -43594,7 +43594,7 @@ See also: `DMSTAG`, `DMLocalToGlobal()`, `VecScatter` $(_doc_external("DMStag/DMStagPopulateLocalToGlobalInjective")) """ function DMStagPopulateLocalToGlobalInjective(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMStagPopulateLocalToGlobalInjective: no generated method for these argument types") + throw(MethodError(DMStagPopulateLocalToGlobalInjective, (petsclib, dm))) end @for_petsc function DMStagPopulateLocalToGlobalInjective(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -43734,7 +43734,7 @@ See also: `DMSTAG`, `DM`, `DMRestrict()`, `DMCoarsen()`, `DMCreateInjection()` $(_doc_external("DMStag/DMStagRestrictSimple")) """ function DMStagRestrictSimple(petsclib::PetscLibType, dmf::AbstractPetscDM, xf::AbstractPetscVec, dmc::AbstractPetscDM, xc::AbstractPetscVec) - error("DMStagRestrictSimple: no generated method for these argument types") + throw(MethodError(DMStagRestrictSimple, (petsclib, dmf, xf, dmc, xc))) end @for_petsc function DMStagRestrictSimple(petsclib::$UnionPetscLib, dmf::AbstractPetscDM, xf::AbstractPetscVec, dmc::AbstractPetscDM, xc::AbstractPetscVec ) @@ -43770,7 +43770,7 @@ See also: `DMSTAG`, `DMBoundaryType`, `DMStagCreate1d()`, `DMStagCreate2d()`, `D $(_doc_external("DMStag/DMStagSetBoundaryTypes")) """ function DMStagSetBoundaryTypes(petsclib::PetscLibType, dm::AbstractPetscDM, boundaryType0::DMBoundaryType, boundaryType1::DMBoundaryType, boundaryType2::DMBoundaryType) - error("DMStagSetBoundaryTypes: no generated method for these argument types") + throw(MethodError(DMStagSetBoundaryTypes, (petsclib, dm, boundaryType0, boundaryType1, boundaryType2))) end @for_petsc function DMStagSetBoundaryTypes(petsclib::$UnionPetscLib, dm::AbstractPetscDM, boundaryType0::DMBoundaryType, boundaryType1::DMBoundaryType, boundaryType2::DMBoundaryType ) @@ -43804,7 +43804,7 @@ See also: `DMSTAG`, `DMPRODUCT`, `DMGetCoordinateDM()`, `DMStagSetUniformCoordin $(_doc_external("DMStag/DMStagSetCoordinateDMType")) """ function DMStagSetCoordinateDMType(petsclib::PetscLibType, dm::AbstractPetscDM, dmtype::String) - error("DMStagSetCoordinateDMType: no generated method for these argument types") + throw(MethodError(DMStagSetCoordinateDMType, (petsclib, dm, dmtype))) end @for_petsc function DMStagSetCoordinateDMType(petsclib::$UnionPetscLib, dm::AbstractPetscDM, dmtype::String ) @@ -43841,7 +43841,7 @@ See also: `DMSTAG`, `DMDASetDof()` $(_doc_external("DMStag/DMStagSetDOF")) """ function DMStagSetDOF(petsclib::PetscLibType, dm::AbstractPetscDM, dof0::Integer, dof1::Integer, dof2::Integer, dof3::Integer) - error("DMStagSetDOF: no generated method for these argument types") + throw(MethodError(DMStagSetDOF, (petsclib, dm, dof0, dof1, dof2, dof3))) end @for_petsc function DMStagSetDOF(petsclib::$UnionPetscLib, dm::AbstractPetscDM, dof0::$PetscInt, dof1::$PetscInt, dof2::$PetscInt, dof3::$PetscInt ) @@ -43877,7 +43877,7 @@ See also: `DMSTAG`, `DMStagGetGlobalSizes()`, `DMDASetSizes()` $(_doc_external("DMStag/DMStagSetGlobalSizes")) """ function DMStagSetGlobalSizes(petsclib::PetscLibType, dm::AbstractPetscDM, N0::Integer, N1::Integer, N2::Integer) - error("DMStagSetGlobalSizes: no generated method for these argument types") + throw(MethodError(DMStagSetGlobalSizes, (petsclib, dm, N0, N1, N2))) end @for_petsc function DMStagSetGlobalSizes(petsclib::$UnionPetscLib, dm::AbstractPetscDM, N0::$PetscInt, N1::$PetscInt, N2::$PetscInt ) @@ -43913,7 +43913,7 @@ See also: `DMSTAG`, `DMDASetNumProcs()` $(_doc_external("DMStag/DMStagSetNumRanks")) """ function DMStagSetNumRanks(petsclib::PetscLibType, dm::AbstractPetscDM, nRanks0::Integer, nRanks1::Integer, nRanks2::Integer) - error("DMStagSetNumRanks: no generated method for these argument types") + throw(MethodError(DMStagSetNumRanks, (petsclib, dm, nRanks0, nRanks1, nRanks2))) end @for_petsc function DMStagSetNumRanks(petsclib::$UnionPetscLib, dm::AbstractPetscDM, nRanks0::$PetscInt, nRanks1::$PetscInt, nRanks2::$PetscInt ) @@ -43949,7 +43949,7 @@ See also: `DMSTAG`, `DMStagSetGlobalSizes()`, `DMStagGetOwnershipRanges()`, `DMD $(_doc_external("DMStag/DMStagSetOwnershipRanges")) """ function DMStagSetOwnershipRanges(petsclib::PetscLibType, dm::AbstractPetscDM, lx::AbstractVector{<:Number}, ly::AbstractVector{<:Number}, lz::AbstractVector{<:Number}) - error("DMStagSetOwnershipRanges: no generated method for these argument types") + throw(MethodError(DMStagSetOwnershipRanges, (petsclib, dm, lx, ly, lz))) end @for_petsc function DMStagSetOwnershipRanges(petsclib::$UnionPetscLib, dm::AbstractPetscDM, lx::Vector{$PetscInt}, ly::Vector{$PetscInt}, lz::Vector{$PetscInt} ) @@ -43985,7 +43985,7 @@ See also: `DMSTAG`, `DMRefine()`, `DMCoarsen()`, `DMStagGetRefinementFactor()`, $(_doc_external("DMStag/DMStagSetRefinementFactor")) """ function DMStagSetRefinementFactor(petsclib::PetscLibType, dm::AbstractPetscDM, refine_x::Integer, refine_y::Integer, refine_z::Integer) - error("DMStagSetRefinementFactor: no generated method for these argument types") + throw(MethodError(DMStagSetRefinementFactor, (petsclib, dm, refine_x, refine_y, refine_z))) end @for_petsc function DMStagSetRefinementFactor(petsclib::$UnionPetscLib, dm::AbstractPetscDM, refine_x::$PetscInt, refine_y::$PetscInt, refine_z::$PetscInt ) @@ -44019,7 +44019,7 @@ See also: `DMSTAG`, `DMStagGetStencilType()`, `DMStagSetStencilWidth()`, `DMStag $(_doc_external("DMStag/DMStagSetStencilType")) """ function DMStagSetStencilType(petsclib::PetscLibType, dm::AbstractPetscDM, stencilType::DMStagStencilType) - error("DMStagSetStencilType: no generated method for these argument types") + throw(MethodError(DMStagSetStencilType, (petsclib, dm, stencilType))) end @for_petsc function DMStagSetStencilType(petsclib::$UnionPetscLib, dm::AbstractPetscDM, stencilType::DMStagStencilType ) @@ -44053,7 +44053,7 @@ See also: `DMSTAG`, `DMStagGetStencilWidth()`, `DMStagGetStencilType()`, `DMStag $(_doc_external("DMStag/DMStagSetStencilWidth")) """ function DMStagSetStencilWidth(petsclib::PetscLibType, dm::AbstractPetscDM, stencilWidth::Integer) - error("DMStagSetStencilWidth: no generated method for these argument types") + throw(MethodError(DMStagSetStencilWidth, (petsclib, dm, stencilWidth))) end @for_petsc function DMStagSetStencilWidth(petsclib::$UnionPetscLib, dm::AbstractPetscDM, stencilWidth::$PetscInt ) @@ -44092,7 +44092,7 @@ See also: `DMSTAG`, `DMPRODUCT`, `DMStagSetUniformCoordinatesExplicit()`, `DMSta $(_doc_external("DMStag/DMStagSetUniformCoordinates")) """ function DMStagSetUniformCoordinates(petsclib::PetscLibType, dm::AbstractPetscDM, xmin::Real, xmax::Real, ymin::Real, ymax::Real, zmin::Real, zmax::Real) - error("DMStagSetUniformCoordinates: no generated method for these argument types") + throw(MethodError(DMStagSetUniformCoordinates, (petsclib, dm, xmin, xmax, ymin, ymax, zmin, zmax))) end @for_petsc function DMStagSetUniformCoordinates(petsclib::$UnionPetscLib, dm::AbstractPetscDM, xmin::$PetscReal, xmax::$PetscReal, ymin::$PetscReal, ymax::$PetscReal, zmin::$PetscReal, zmax::$PetscReal ) @@ -44131,7 +44131,7 @@ See also: `DMSTAG`, `DMStagSetUniformCoordinates()`, `DMStagSetUniformCoordinate $(_doc_external("DMStag/DMStagSetUniformCoordinatesExplicit")) """ function DMStagSetUniformCoordinatesExplicit(petsclib::PetscLibType, dm::AbstractPetscDM, xmin::Real, xmax::Real, ymin::Real, ymax::Real, zmin::Real, zmax::Real) - error("DMStagSetUniformCoordinatesExplicit: no generated method for these argument types") + throw(MethodError(DMStagSetUniformCoordinatesExplicit, (petsclib, dm, xmin, xmax, ymin, ymax, zmin, zmax))) end @for_petsc function DMStagSetUniformCoordinatesExplicit(petsclib::$UnionPetscLib, dm::AbstractPetscDM, xmin::$PetscReal, xmax::$PetscReal, ymin::$PetscReal, ymax::$PetscReal, zmin::$PetscReal, zmax::$PetscReal ) @@ -44172,7 +44172,7 @@ See also: `DMSTAG`, `DMPRODUCT`, `DMStagSetUniformCoordinates()`, `DMStagSetUnif $(_doc_external("DMStag/DMStagSetUniformCoordinatesProduct")) """ function DMStagSetUniformCoordinatesProduct(petsclib::PetscLibType, dm::AbstractPetscDM, xmin::Real, xmax::Real, ymin::Real, ymax::Real, zmin::Real, zmax::Real) - error("DMStagSetUniformCoordinatesProduct: no generated method for these argument types") + throw(MethodError(DMStagSetUniformCoordinatesProduct, (petsclib, dm, xmin, xmax, ymin, ymax, zmin, zmax))) end @for_petsc function DMStagSetUniformCoordinatesProduct(petsclib::$UnionPetscLib, dm::AbstractPetscDM, xmin::$PetscReal, xmax::$PetscReal, ymin::$PetscReal, ymax::$PetscReal, zmin::$PetscReal, zmax::$PetscReal ) @@ -44209,7 +44209,7 @@ See also: `DMSTAG`, `DMStagStencilLocation`, `DMStagStencil`, `DMGetLocalVector` $(_doc_external("DMStag/DMStagStencilToIndexLocal")) """ function DMStagStencilToIndexLocal(petsclib::PetscLibType, dm::AbstractPetscDM, dim::Integer, n::Integer, pos::Vector{DMStagStencil}) - error("DMStagStencilToIndexLocal: no generated method for these argument types") + throw(MethodError(DMStagStencilToIndexLocal, (petsclib, dm, dim, n, pos))) end @for_petsc function DMStagStencilToIndexLocal(petsclib::$UnionPetscLib, dm::AbstractPetscDM, dim::$PetscInt, n::$PetscInt, pos::Vector{DMStagStencil} ) @@ -44519,7 +44519,7 @@ See also: `DMSTAG`, `Vec`, `DMStagStencil`, `DMStagStencilLocation`, `DMStagVecG $(_doc_external("DMStag/DMStagVecSetValuesStencil")) """ function DMStagVecSetValuesStencil(petsclib::PetscLibType, dm::AbstractPetscDM, vec::AbstractPetscVec, n::Integer, pos::Vector{DMStagStencil}, val::AbstractVector{<:Number}, insertMode::InsertMode) - error("DMStagVecSetValuesStencil: no generated method for these argument types") + throw(MethodError(DMStagVecSetValuesStencil, (petsclib, dm, vec, n, pos, val, insertMode))) end @for_petsc function DMStagVecSetValuesStencil(petsclib::$UnionPetscLib, dm::AbstractPetscDM, vec::AbstractPetscVec, n::$PetscInt, pos::Vector{DMStagStencil}, val::Vector{$PetscScalar}, insertMode::InsertMode ) @@ -44559,7 +44559,7 @@ See also: `DMSTAG`, `DMDA`, `DMStagStencilLocation`, `DM`, `Vec`, `DMStagMigrate $(_doc_external("DMStag/DMStagVecSplitToDMDA")) """ function DMStagVecSplitToDMDA(petsclib::PetscLibType, dm::AbstractPetscDM, vec::AbstractPetscVec, loc::DMStagStencilLocation, c::Integer) - error("DMStagVecSplitToDMDA: no generated method for these argument types") + throw(MethodError(DMStagVecSplitToDMDA, (petsclib, dm, vec, loc, c))) end @for_petsc function DMStagVecSplitToDMDA(petsclib::$UnionPetscLib, dm::AbstractPetscDM, vec::AbstractPetscVec, loc::DMStagStencilLocation, c::$PetscInt ) @@ -44611,7 +44611,7 @@ See also: `DM`, `DMSubDomainHookRemove()`, `DMRefineHookAdd()`, `SNESFASGetInter $(_doc_external("DM/DMSubDomainHookAdd")) """ function DMSubDomainHookAdd(petsclib::PetscLibType, glob::AbstractPetscDM, ddhook::external, restricthook::external, ctx::Ptr{Cvoid}) - error("DMSubDomainHookAdd: no generated method for these argument types") + throw(MethodError(DMSubDomainHookAdd, (petsclib, glob, ddhook, restricthook, ctx))) end @for_petsc function DMSubDomainHookAdd(petsclib::$UnionPetscLib, glob::AbstractPetscDM, ddhook::external, restricthook::external, ctx::Ptr{Cvoid} ) @@ -44660,7 +44660,7 @@ See also: `DM`, `DMSubDomainHookAdd()`, `SNESFASGetInterpolation()`, `SNESFASGet $(_doc_external("DM/DMSubDomainHookRemove")) """ function DMSubDomainHookRemove(petsclib::PetscLibType, glob::AbstractPetscDM, ddhook::external, restricthook::external, ctx::Ptr{Cvoid}) - error("DMSubDomainHookRemove: no generated method for these argument types") + throw(MethodError(DMSubDomainHookRemove, (petsclib, glob, ddhook, restricthook, ctx))) end @for_petsc function DMSubDomainHookRemove(petsclib::$UnionPetscLib, glob::AbstractPetscDM, ddhook::external, restricthook::external, ctx::Ptr{Cvoid} ) @@ -44696,7 +44696,7 @@ See also: `DM`, `DMCoarsenHookAdd()`, `MatRestrict()`, `DMCreateDomainDecomposit $(_doc_external("DM/DMSubDomainRestrict")) """ function DMSubDomainRestrict(petsclib::PetscLibType, glob::AbstractPetscDM, oscatter::VecScatter, gscatter::VecScatter, subdm::AbstractPetscDM) - error("DMSubDomainRestrict: no generated method for these argument types") + throw(MethodError(DMSubDomainRestrict, (petsclib, glob, oscatter, gscatter, subdm))) end @for_petsc function DMSubDomainRestrict(petsclib::$UnionPetscLib, glob::AbstractPetscDM, oscatter::VecScatter, gscatter::VecScatter, subdm::AbstractPetscDM ) @@ -44730,7 +44730,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmSetType()`, `DMSwarmPushCellDM()`, `DMSwarmSe $(_doc_external("DMSwarm/DMSwarmAddCellDM")) """ function DMSwarmAddCellDM(petsclib::PetscLibType, sw::AbstractPetscDM, celldm::DMSwarmCellDM) - error("DMSwarmAddCellDM: no generated method for these argument types") + throw(MethodError(DMSwarmAddCellDM, (petsclib, sw, celldm))) end @for_petsc function DMSwarmAddCellDM(petsclib::$UnionPetscLib, sw::AbstractPetscDM, celldm::DMSwarmCellDM ) @@ -44764,7 +44764,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmAddPoint()` $(_doc_external("DMSwarm/DMSwarmAddNPoints")) """ function DMSwarmAddNPoints(petsclib::PetscLibType, dm::AbstractPetscDM, npoints::Integer) - error("DMSwarmAddNPoints: no generated method for these argument types") + throw(MethodError(DMSwarmAddNPoints, (petsclib, dm, npoints))) end @for_petsc function DMSwarmAddNPoints(petsclib::$UnionPetscLib, dm::AbstractPetscDM, npoints::$PetscInt ) @@ -44797,7 +44797,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmAddNPoints()` $(_doc_external("DMSwarm/DMSwarmAddPoint")) """ function DMSwarmAddPoint(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMSwarmAddPoint: no generated method for these argument types") + throw(MethodError(DMSwarmAddPoint, (petsclib, dm))) end @for_petsc function DMSwarmAddPoint(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -44831,7 +44831,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmCollectViewDestroy()`, `DMSwarmSetCollectType $(_doc_external("DMSwarm/DMSwarmCollectViewCreate")) """ function DMSwarmCollectViewCreate(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMSwarmCollectViewCreate: no generated method for these argument types") + throw(MethodError(DMSwarmCollectViewCreate, (petsclib, dm))) end @for_petsc function DMSwarmCollectViewCreate(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -44862,7 +44862,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmCollectViewCreate()`, `DMSwarmSetCollectType( $(_doc_external("DMSwarm/DMSwarmCollectViewDestroy")) """ function DMSwarmCollectViewDestroy(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMSwarmCollectViewDestroy: no generated method for these argument types") + throw(MethodError(DMSwarmCollectViewDestroy, (petsclib, dm))) end @for_petsc function DMSwarmCollectViewDestroy(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -44897,7 +44897,7 @@ See also: `DMSWARM`, `DMSwarmComputeLocalSizeFromOptions()` $(_doc_external("DMSwarm/DMSwarmComputeLocalSize")) """ function DMSwarmComputeLocalSize(petsclib::PetscLibType, sw::AbstractPetscDM, N::Integer, density::Ptr{Cvoid}) - error("DMSwarmComputeLocalSize: no generated method for these argument types") + throw(MethodError(DMSwarmComputeLocalSize, (petsclib, sw, N, density))) end @for_petsc function DMSwarmComputeLocalSize(petsclib::$UnionPetscLib, sw::AbstractPetscDM, N::$PetscInt, density::Ptr{Cvoid} ) @@ -44930,7 +44930,7 @@ See also: `DMSWARM`, `DMSwarmComputeLocalSize()` $(_doc_external("DMSwarm/DMSwarmComputeLocalSizeFromOptions")) """ function DMSwarmComputeLocalSizeFromOptions(petsclib::PetscLibType, sw::AbstractPetscDM) - error("DMSwarmComputeLocalSizeFromOptions: no generated method for these argument types") + throw(MethodError(DMSwarmComputeLocalSizeFromOptions, (petsclib, sw))) end @for_petsc function DMSwarmComputeLocalSizeFromOptions(petsclib::$UnionPetscLib, sw::AbstractPetscDM ) @@ -44968,7 +44968,7 @@ See also: `DM`, `DMSWARM`, `DMPlexComputeMoments()` $(_doc_external("DMSwarm/DMSwarmComputeMoments")) """ function DMSwarmComputeMoments(petsclib::PetscLibType, sw::AbstractPetscDM, coordinate::String, weight::String, moments::AbstractVector{<:Number}) - error("DMSwarmComputeMoments: no generated method for these argument types") + throw(MethodError(DMSwarmComputeMoments, (petsclib, sw, coordinate, weight, moments))) end @for_petsc function DMSwarmComputeMoments(petsclib::$UnionPetscLib, sw::AbstractPetscDM, coordinate::String, weight::String, moments::Vector{$PetscReal} ) @@ -45003,7 +45003,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmRemovePoint()` $(_doc_external("DMSwarm/DMSwarmCopyPoint")) """ function DMSwarmCopyPoint(petsclib::PetscLibType, dm::AbstractPetscDM, pi::Integer, pj::Integer) - error("DMSwarmCopyPoint: no generated method for these argument types") + throw(MethodError(DMSwarmCopyPoint, (petsclib, dm, pi, pj))) end @for_petsc function DMSwarmCopyPoint(petsclib::$UnionPetscLib, dm::AbstractPetscDM, pi::$PetscInt, pj::$PetscInt ) @@ -45040,7 +45040,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmRegisterPetscDatatypeField()`, `DMSwarmDestro $(_doc_external("DMSwarm/DMSwarmCreateGlobalVectorFromField")) """ function DMSwarmCreateGlobalVectorFromField(petsclib::PetscLibType, dm::AbstractPetscDM, fieldname::String) - error("DMSwarmCreateGlobalVectorFromField: no generated method for these argument types") + throw(MethodError(DMSwarmCreateGlobalVectorFromField, (petsclib, dm, fieldname))) end @for_petsc function DMSwarmCreateGlobalVectorFromField(petsclib::$UnionPetscLib, dm::AbstractPetscDM, fieldname::String ) @@ -45080,7 +45080,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmRegisterPetscDatatypeField()`, `DMSwarmDestro $(_doc_external("DMSwarm/DMSwarmCreateGlobalVectorFromFields")) """ function DMSwarmCreateGlobalVectorFromFields(petsclib::PetscLibType, dm::AbstractPetscDM, Nf::Integer, fieldnames::String) - error("DMSwarmCreateGlobalVectorFromFields: no generated method for these argument types") + throw(MethodError(DMSwarmCreateGlobalVectorFromFields, (petsclib, dm, Nf, fieldnames))) end @for_petsc function DMSwarmCreateGlobalVectorFromFields(petsclib::$UnionPetscLib, dm::AbstractPetscDM, Nf::$PetscInt, fieldnames::String ) @@ -45120,7 +45120,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmRegisterPetscDatatypeField()`, `DMSwarmDestro $(_doc_external("DMSwarm/DMSwarmCreateLocalVectorFromField")) """ function DMSwarmCreateLocalVectorFromField(petsclib::PetscLibType, dm::AbstractPetscDM, fieldname::String) - error("DMSwarmCreateLocalVectorFromField: no generated method for these argument types") + throw(MethodError(DMSwarmCreateLocalVectorFromField, (petsclib, dm, fieldname))) end @for_petsc function DMSwarmCreateLocalVectorFromField(petsclib::$UnionPetscLib, dm::AbstractPetscDM, fieldname::String ) @@ -45160,7 +45160,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmRegisterPetscDatatypeField()`, `DMSwarmDestro $(_doc_external("DMSwarm/DMSwarmCreateLocalVectorFromFields")) """ function DMSwarmCreateLocalVectorFromFields(petsclib::PetscLibType, dm::AbstractPetscDM, Nf::Integer, fieldnames::String) - error("DMSwarmCreateLocalVectorFromFields: no generated method for these argument types") + throw(MethodError(DMSwarmCreateLocalVectorFromFields, (petsclib, dm, Nf, fieldnames))) end @for_petsc function DMSwarmCreateLocalVectorFromFields(petsclib::$UnionPetscLib, dm::AbstractPetscDM, Nf::$PetscInt, fieldnames::String ) @@ -45200,7 +45200,7 @@ See also: `DM`, `DMSWARM`, `DMCreateMassMatrix()` $(_doc_external("DMSwarm/DMSwarmCreateMassMatrixSquare")) """ function DMSwarmCreateMassMatrixSquare(petsclib::PetscLibType, dmCoarse::AbstractPetscDM, dmFine::AbstractPetscDM) - error("DMSwarmCreateMassMatrixSquare: no generated method for these argument types") + throw(MethodError(DMSwarmCreateMassMatrixSquare, (petsclib, dmCoarse, dmFine))) end @for_petsc function DMSwarmCreateMassMatrixSquare(petsclib::$UnionPetscLib, dmCoarse::AbstractPetscDM, dmFine::AbstractPetscDM ) @@ -45239,7 +45239,7 @@ See also: `DMSWARM`, `DMSwarmSetType()`, `DMSwarmSetCellDM()`, `DMSwarmType` $(_doc_external("DMSwarm/DMSwarmCreatePointPerCellCount")) """ function DMSwarmCreatePointPerCellCount(petsclib::PetscLibType, sw::AbstractPetscDM) - error("DMSwarmCreatePointPerCellCount: no generated method for these argument types") + throw(MethodError(DMSwarmCreatePointPerCellCount, (petsclib, sw))) end @for_petsc function DMSwarmCreatePointPerCellCount(petsclib::$UnionPetscLib, sw::AbstractPetscDM ) @@ -45280,7 +45280,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmRegisterPetscDatatypeField()`, `DMSwarmCreate $(_doc_external("DMSwarm/DMSwarmDestroyGlobalVectorFromField")) """ function DMSwarmDestroyGlobalVectorFromField(petsclib::PetscLibType, dm::AbstractPetscDM, fieldname::String) - error("DMSwarmDestroyGlobalVectorFromField: no generated method for these argument types") + throw(MethodError(DMSwarmDestroyGlobalVectorFromField, (petsclib, dm, fieldname))) end @for_petsc function DMSwarmDestroyGlobalVectorFromField(petsclib::$UnionPetscLib, dm::AbstractPetscDM, fieldname::String ) @@ -45320,7 +45320,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmRegisterPetscDatatypeField()`, `DMSwarmCreate $(_doc_external("DMSwarm/DMSwarmDestroyGlobalVectorFromFields")) """ function DMSwarmDestroyGlobalVectorFromFields(petsclib::PetscLibType, dm::AbstractPetscDM, Nf::Integer, fieldnames::String) - error("DMSwarmDestroyGlobalVectorFromFields: no generated method for these argument types") + throw(MethodError(DMSwarmDestroyGlobalVectorFromFields, (petsclib, dm, Nf, fieldnames))) end @for_petsc function DMSwarmDestroyGlobalVectorFromFields(petsclib::$UnionPetscLib, dm::AbstractPetscDM, Nf::$PetscInt, fieldnames::String ) @@ -45360,7 +45360,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmRegisterPetscDatatypeField()`, `DMSwarmCreate $(_doc_external("DMSwarm/DMSwarmDestroyLocalVectorFromField")) """ function DMSwarmDestroyLocalVectorFromField(petsclib::PetscLibType, dm::AbstractPetscDM, fieldname::String) - error("DMSwarmDestroyLocalVectorFromField: no generated method for these argument types") + throw(MethodError(DMSwarmDestroyLocalVectorFromField, (petsclib, dm, fieldname))) end @for_petsc function DMSwarmDestroyLocalVectorFromField(petsclib::$UnionPetscLib, dm::AbstractPetscDM, fieldname::String ) @@ -45400,7 +45400,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmRegisterPetscDatatypeField()`, `DMSwarmCreate $(_doc_external("DMSwarm/DMSwarmDestroyLocalVectorFromFields")) """ function DMSwarmDestroyLocalVectorFromFields(petsclib::PetscLibType, dm::AbstractPetscDM, Nf::Integer, fieldnames::String) - error("DMSwarmDestroyLocalVectorFromFields: no generated method for these argument types") + throw(MethodError(DMSwarmDestroyLocalVectorFromFields, (petsclib, dm, Nf, fieldnames))) end @for_petsc function DMSwarmDestroyLocalVectorFromFields(petsclib::$UnionPetscLib, dm::AbstractPetscDM, Nf::$PetscInt, fieldnames::String ) @@ -45439,7 +45439,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmCreate()`, `DMClone()` $(_doc_external("DMSwarm/DMSwarmDuplicate")) """ function DMSwarmDuplicate(petsclib::PetscLibType, sw::AbstractPetscDM) - error("DMSwarmDuplicate: no generated method for these argument types") + throw(MethodError(DMSwarmDuplicate, (petsclib, sw))) end @for_petsc function DMSwarmDuplicate(petsclib::$UnionPetscLib, sw::AbstractPetscDM ) @@ -45475,7 +45475,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmInitializeFieldRegister()`, `DMSwarmRegisterP $(_doc_external("DMSwarm/DMSwarmFinalizeFieldRegister")) """ function DMSwarmFinalizeFieldRegister(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMSwarmFinalizeFieldRegister: no generated method for these argument types") + throw(MethodError(DMSwarmFinalizeFieldRegister, (petsclib, dm))) end @for_petsc function DMSwarmFinalizeFieldRegister(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -45511,7 +45511,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmSetCellDM()` $(_doc_external("DMSwarm/DMSwarmGetCellDM")) """ function DMSwarmGetCellDM(petsclib::PetscLibType, sw::AbstractPetscDM) - error("DMSwarmGetCellDM: no generated method for these argument types") + throw(MethodError(DMSwarmGetCellDM, (petsclib, sw))) end @for_petsc function DMSwarmGetCellDM(petsclib::$UnionPetscLib, sw::AbstractPetscDM ) @@ -45549,7 +45549,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmCellDM`, `DMSwarmSetType()`, `DMSwarmAddCellD $(_doc_external("DMSwarm/DMSwarmGetCellDMActive")) """ function DMSwarmGetCellDMActive(petsclib::PetscLibType, sw::AbstractPetscDM) - error("DMSwarmGetCellDMActive: no generated method for these argument types") + throw(MethodError(DMSwarmGetCellDMActive, (petsclib, sw))) end @for_petsc function DMSwarmGetCellDMActive(petsclib::$UnionPetscLib, sw::AbstractPetscDM ) @@ -45588,7 +45588,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmSetCellDM()`, `DMSwarmGetCellDMNames()` $(_doc_external("DMSwarm/DMSwarmGetCellDMByName")) """ function DMSwarmGetCellDMByName(petsclib::PetscLibType, sw::AbstractPetscDM, name::String) - error("DMSwarmGetCellDMByName: no generated method for these argument types") + throw(MethodError(DMSwarmGetCellDMByName, (petsclib, sw, name))) end @for_petsc function DMSwarmGetCellDMByName(petsclib::$UnionPetscLib, sw::AbstractPetscDM, name::String ) @@ -45627,7 +45627,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmSetCellDM()`, `DMSwarmGetCellDMByName()` $(_doc_external("DMSwarm/DMSwarmGetCellDMNames")) """ function DMSwarmGetCellDMNames(petsclib::PetscLibType, sw::AbstractPetscDM) - error("DMSwarmGetCellDMNames: no generated method for these argument types") + throw(MethodError(DMSwarmGetCellDMNames, (petsclib, sw))) end @for_petsc function DMSwarmGetCellDMNames(petsclib::$UnionPetscLib, sw::AbstractPetscDM ) @@ -45667,7 +45667,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmRestoreCellSwarm()` $(_doc_external("DMSwarm/DMSwarmGetCellSwarm")) """ function DMSwarmGetCellSwarm(petsclib::PetscLibType, sw::AbstractPetscDM, cellID::Integer, cellswarm::AbstractPetscDM) - error("DMSwarmGetCellSwarm: no generated method for these argument types") + throw(MethodError(DMSwarmGetCellSwarm, (petsclib, sw, cellID, cellswarm))) end @for_petsc function DMSwarmGetCellSwarm(petsclib::$UnionPetscLib, sw::AbstractPetscDM, cellID::$PetscInt, cellswarm::AbstractPetscDM ) @@ -45703,7 +45703,7 @@ See also: `DMSWARM`, `DMSwarmSetCoordinateFunction()`, `DMSwarmGetVelocityFuncti $(_doc_external("DMSwarm/DMSwarmGetCoordinateFunction")) """ function DMSwarmGetCoordinateFunction(petsclib::PetscLibType, sw::AbstractPetscDM) - error("DMSwarmGetCoordinateFunction: no generated method for these argument types") + throw(MethodError(DMSwarmGetCoordinateFunction, (petsclib, sw))) end @for_petsc function DMSwarmGetCoordinateFunction(petsclib::$UnionPetscLib, sw::AbstractPetscDM ) @@ -45744,7 +45744,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmRestoreField()` $(_doc_external("DMSwarm/DMSwarmGetField")) """ function DMSwarmGetField(petsclib::PetscLibType, dm::AbstractPetscDM, fieldname::String) - error("DMSwarmGetField: no generated method for these argument types") + throw(MethodError(DMSwarmGetField, (petsclib, dm, fieldname))) end @for_petsc function DMSwarmGetField(petsclib::$UnionPetscLib, dm::AbstractPetscDM, fieldname::String ) @@ -45788,7 +45788,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmGetField()`, `DMSwarmRestoreField()`, `DMSwar $(_doc_external("DMSwarm/DMSwarmGetFieldInfo")) """ function DMSwarmGetFieldInfo(petsclib::PetscLibType, dm::AbstractPetscDM, fieldname::String) - error("DMSwarmGetFieldInfo: no generated method for these argument types") + throw(MethodError(DMSwarmGetFieldInfo, (petsclib, dm, fieldname))) end @for_petsc function DMSwarmGetFieldInfo(petsclib::$UnionPetscLib, dm::AbstractPetscDM, fieldname::String ) @@ -45828,7 +45828,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmGetSize()`, `DMSwarmSetLocalSizes()` $(_doc_external("DMSwarm/DMSwarmGetLocalSize")) """ function DMSwarmGetLocalSize(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMSwarmGetLocalSize: no generated method for these argument types") + throw(MethodError(DMSwarmGetLocalSize, (petsclib, dm))) end @for_petsc function DMSwarmGetLocalSize(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -45866,7 +45866,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmMigrateType`, `DMSwarmMigrate()` $(_doc_external("DMSwarm/DMSwarmGetMigrateType")) """ function DMSwarmGetMigrateType(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMSwarmGetMigrateType: no generated method for these argument types") + throw(MethodError(DMSwarmGetMigrateType, (petsclib, dm))) end @for_petsc function DMSwarmGetMigrateType(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -45904,7 +45904,7 @@ See also: `DMSWARM`, `DMSwarmSetNumSpecies()`, `DMSwarmSetType()`, `DMSwarmType` $(_doc_external("DMSwarm/DMSwarmGetNumSpecies")) """ function DMSwarmGetNumSpecies(petsclib::PetscLibType, sw::AbstractPetscDM) - error("DMSwarmGetNumSpecies: no generated method for these argument types") + throw(MethodError(DMSwarmGetNumSpecies, (petsclib, sw))) end @for_petsc function DMSwarmGetNumSpecies(petsclib::$UnionPetscLib, sw::AbstractPetscDM ) @@ -45942,7 +45942,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmGetLocalSize()`, `DMSwarmSetLocalSizes()` $(_doc_external("DMSwarm/DMSwarmGetSize")) """ function DMSwarmGetSize(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMSwarmGetSize: no generated method for these argument types") + throw(MethodError(DMSwarmGetSize, (petsclib, dm))) end @for_petsc function DMSwarmGetSize(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -45980,7 +45980,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmSetMigrateType()`, `DMSwarmSetCollectType()`, $(_doc_external("DMSwarm/DMSwarmGetType")) """ function DMSwarmGetType(petsclib::PetscLibType, sw::AbstractPetscDM) - error("DMSwarmGetType: no generated method for these argument types") + throw(MethodError(DMSwarmGetType, (petsclib, sw))) end @for_petsc function DMSwarmGetType(petsclib::$UnionPetscLib, sw::AbstractPetscDM ) @@ -46018,7 +46018,7 @@ See also: `DMSWARM`, `DMSwarmSetVelocityFunction()`, `DMSwarmGetCoordinateFuncti $(_doc_external("DMSwarm/DMSwarmGetVelocityFunction")) """ function DMSwarmGetVelocityFunction(petsclib::PetscLibType, sw::AbstractPetscDM) - error("DMSwarmGetVelocityFunction: no generated method for these argument types") + throw(MethodError(DMSwarmGetVelocityFunction, (petsclib, sw))) end @for_petsc function DMSwarmGetVelocityFunction(petsclib::$UnionPetscLib, sw::AbstractPetscDM ) @@ -46053,7 +46053,7 @@ See also: `DMSWARM`, `DMSwarmComputeLocalSize()`, `DMSwarmInitializeVelocities() $(_doc_external("DMSwarm/DMSwarmInitializeCoordinates")) """ function DMSwarmInitializeCoordinates(petsclib::PetscLibType, sw::AbstractPetscDM) - error("DMSwarmInitializeCoordinates: no generated method for these argument types") + throw(MethodError(DMSwarmInitializeCoordinates, (petsclib, sw))) end @for_petsc function DMSwarmInitializeCoordinates(petsclib::$UnionPetscLib, sw::AbstractPetscDM ) @@ -46087,7 +46087,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmFinalizeFieldRegister()`, `DMSwarmRegisterPet $(_doc_external("DMSwarm/DMSwarmInitializeFieldRegister")) """ function DMSwarmInitializeFieldRegister(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMSwarmInitializeFieldRegister: no generated method for these argument types") + throw(MethodError(DMSwarmInitializeFieldRegister, (petsclib, dm))) end @for_petsc function DMSwarmInitializeFieldRegister(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -46122,7 +46122,7 @@ See also: `DMSWARM`, `DMSwarmComputeLocalSize()`, `DMSwarmInitializeCoordinates( $(_doc_external("DMSwarm/DMSwarmInitializeVelocities")) """ function DMSwarmInitializeVelocities(petsclib::PetscLibType, sw::AbstractPetscDM, sampler::Ptr{Cvoid}, v0::AbstractVector{<:Number}) - error("DMSwarmInitializeVelocities: no generated method for these argument types") + throw(MethodError(DMSwarmInitializeVelocities, (petsclib, sw, sampler, v0))) end @for_petsc function DMSwarmInitializeVelocities(petsclib::$UnionPetscLib, sw::AbstractPetscDM, sampler::Ptr{Cvoid}, v0::Vector{$PetscReal} ) @@ -46156,7 +46156,7 @@ See also: `DMSWARM`, `DMSwarmComputeLocalSize()`, `DMSwarmInitializeCoordinates( $(_doc_external("DMSwarm/DMSwarmInitializeVelocitiesFromOptions")) """ function DMSwarmInitializeVelocitiesFromOptions(petsclib::PetscLibType, sw::AbstractPetscDM, v0::AbstractVector{<:Number}) - error("DMSwarmInitializeVelocitiesFromOptions: no generated method for these argument types") + throw(MethodError(DMSwarmInitializeVelocitiesFromOptions, (petsclib, sw, v0))) end @for_petsc function DMSwarmInitializeVelocitiesFromOptions(petsclib::$UnionPetscLib, sw::AbstractPetscDM, v0::Vector{$PetscReal} ) @@ -46191,7 +46191,7 @@ See also: `DMSWARM`, `DMSwarmPICLayoutType`, `DMSwarmSetType()`, `DMSwarmSetCell $(_doc_external("DMSwarm/DMSwarmInsertPointsUsingCellDM")) """ function DMSwarmInsertPointsUsingCellDM(petsclib::PetscLibType, dm::AbstractPetscDM, layout_type::DMSwarmPICLayoutType, fill_param::Integer) - error("DMSwarmInsertPointsUsingCellDM: no generated method for these argument types") + throw(MethodError(DMSwarmInsertPointsUsingCellDM, (petsclib, dm, layout_type, fill_param))) end @for_petsc function DMSwarmInsertPointsUsingCellDM(petsclib::$UnionPetscLib, dm::AbstractPetscDM, layout_type::DMSwarmPICLayoutType, fill_param::$PetscInt ) @@ -46225,7 +46225,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmSetMigrateType()` $(_doc_external("DMSwarm/DMSwarmMigrate")) """ function DMSwarmMigrate(petsclib::PetscLibType, dm::AbstractPetscDM, remove_sent_points::PetscBool) - error("DMSwarmMigrate: no generated method for these argument types") + throw(MethodError(DMSwarmMigrate, (petsclib, dm, remove_sent_points))) end @for_petsc function DMSwarmMigrate(petsclib::$UnionPetscLib, dm::AbstractPetscDM, remove_sent_points::PetscBool ) @@ -46263,7 +46263,7 @@ See also: `DMSWARM`, `DMSwarmSetType()`, `DMSwarmSetCellDM()`, `DMSwarmType` $(_doc_external("DM/DMSwarmProjectFields")) """ function DMSwarmProjectFields(petsclib::PetscLibType, sw::AbstractPetscDM, dm::AbstractPetscDM, nfields::Integer, fieldnames::String, fields::Vector{<:AbstractPetscVec}, mode::ScatterMode) - error("DMSwarmProjectFields: no generated method for these argument types") + throw(MethodError(DMSwarmProjectFields, (petsclib, sw, dm, nfields, fieldnames, fields, mode))) end @for_petsc function DMSwarmProjectFields(petsclib::$UnionPetscLib, sw::AbstractPetscDM, dm::AbstractPetscDM, nfields::$PetscInt, fieldnames::String, fields::Vector{<:AbstractPetscVec}, mode::ScatterMode ) @@ -46302,7 +46302,7 @@ See also: `DMSWARM`, `DMPLEX`, `DMSwarmProjectFields()`, `DMSwarmVectorDefineFie $(_doc_external("DM/DMSwarmProjectGradientFields")) """ function DMSwarmProjectGradientFields(petsclib::PetscLibType, sw::AbstractPetscDM, dm::AbstractPetscDM, nfields::Integer, fieldnames::String, fields::Vector{<:AbstractPetscVec}, mode::ScatterMode) - error("DMSwarmProjectGradientFields: no generated method for these argument types") + throw(MethodError(DMSwarmProjectGradientFields, (petsclib, sw, dm, nfields, fieldnames, fields, mode))) end @for_petsc function DMSwarmProjectGradientFields(petsclib::$UnionPetscLib, sw::AbstractPetscDM, dm::AbstractPetscDM, nfields::$PetscInt, fieldnames::String, fields::Vector{<:AbstractPetscVec}, mode::ScatterMode ) @@ -46339,7 +46339,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmRegisterUserStructField()`, `DMSwarmRegisterU $(_doc_external("DMSwarm/DMSwarmRegisterPetscDatatypeField")) """ function DMSwarmRegisterPetscDatatypeField(petsclib::PetscLibType, dm::AbstractPetscDM, fieldname::String, blocksize::Integer, type::PetscDataType) - error("DMSwarmRegisterPetscDatatypeField: no generated method for these argument types") + throw(MethodError(DMSwarmRegisterPetscDatatypeField, (petsclib, dm, fieldname, blocksize, type))) end @for_petsc function DMSwarmRegisterPetscDatatypeField(petsclib::$UnionPetscLib, dm::AbstractPetscDM, fieldname::String, blocksize::$PetscInt, type::PetscDataType ) @@ -46375,7 +46375,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmRegisterPetscDatatypeField()`, `DMSwarmRegist $(_doc_external("DMSwarm/DMSwarmRegisterUserDatatypeField")) """ function DMSwarmRegisterUserDatatypeField(petsclib::PetscLibType, dm::AbstractPetscDM, fieldname::String, size::Csize_t, blocksize::Integer) - error("DMSwarmRegisterUserDatatypeField: no generated method for these argument types") + throw(MethodError(DMSwarmRegisterUserDatatypeField, (petsclib, dm, fieldname, size, blocksize))) end @for_petsc function DMSwarmRegisterUserDatatypeField(petsclib::$UnionPetscLib, dm::AbstractPetscDM, fieldname::String, size::Csize_t, blocksize::$PetscInt ) @@ -46410,7 +46410,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmRegisterPetscDatatypeField()`, `DMSwarmRegist $(_doc_external("DMSwarm/DMSwarmRegisterUserStructField")) """ function DMSwarmRegisterUserStructField(petsclib::PetscLibType, dm::AbstractPetscDM, fieldname::String, size::Csize_t) - error("DMSwarmRegisterUserStructField: no generated method for these argument types") + throw(MethodError(DMSwarmRegisterUserStructField, (petsclib, dm, fieldname, size))) end @for_petsc function DMSwarmRegisterUserStructField(petsclib::$UnionPetscLib, dm::AbstractPetscDM, fieldname::String, size::Csize_t ) @@ -46443,7 +46443,7 @@ See also: `DMSWARM`, `DMSwarmMigrate()`, `DMSwarmCrate()` $(_doc_external("DM/DMSwarmRemap")) """ function DMSwarmRemap(petsclib::PetscLibType, sw::AbstractPetscDM) - error("DMSwarmRemap: no generated method for these argument types") + throw(MethodError(DMSwarmRemap, (petsclib, sw))) end @for_petsc function DMSwarmRemap(petsclib::$UnionPetscLib, sw::AbstractPetscDM ) @@ -46476,7 +46476,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmRemovePointAtIndex()` $(_doc_external("DMSwarm/DMSwarmRemovePoint")) """ function DMSwarmRemovePoint(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMSwarmRemovePoint: no generated method for these argument types") + throw(MethodError(DMSwarmRemovePoint, (petsclib, dm))) end @for_petsc function DMSwarmRemovePoint(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -46510,7 +46510,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmRemovePoint()` $(_doc_external("DMSwarm/DMSwarmRemovePointAtIndex")) """ function DMSwarmRemovePointAtIndex(petsclib::PetscLibType, dm::AbstractPetscDM, idx::Integer) - error("DMSwarmRemovePointAtIndex: no generated method for these argument types") + throw(MethodError(DMSwarmRemovePointAtIndex, (petsclib, dm, idx))) end @for_petsc function DMSwarmRemovePointAtIndex(petsclib::$UnionPetscLib, dm::AbstractPetscDM, idx::$PetscInt ) @@ -46544,7 +46544,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmDuplicate()`, `DMDestroy()` $(_doc_external("DMSwarm/DMSwarmReplace")) """ function DMSwarmReplace(petsclib::PetscLibType, dm::AbstractPetscDM, ndm::AbstractPetscDM) - error("DMSwarmReplace: no generated method for these argument types") + throw(MethodError(DMSwarmReplace, (petsclib, dm, ndm))) end @for_petsc function DMSwarmReplace(petsclib::$UnionPetscLib, dm::AbstractPetscDM, ndm::AbstractPetscDM ) @@ -46581,7 +46581,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmGetCellSwarm()` $(_doc_external("DMSwarm/DMSwarmRestoreCellSwarm")) """ function DMSwarmRestoreCellSwarm(petsclib::PetscLibType, sw::AbstractPetscDM, cellID::Integer, cellswarm::AbstractPetscDM) - error("DMSwarmRestoreCellSwarm: no generated method for these argument types") + throw(MethodError(DMSwarmRestoreCellSwarm, (petsclib, sw, cellID, cellswarm))) end @for_petsc function DMSwarmRestoreCellSwarm(petsclib::$UnionPetscLib, sw::AbstractPetscDM, cellID::$PetscInt, cellswarm::AbstractPetscDM ) @@ -46620,7 +46620,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmGetField()` $(_doc_external("DMSwarm/DMSwarmRestoreField")) """ function DMSwarmRestoreField(petsclib::PetscLibType, dm::AbstractPetscDM, fieldname::String, blocksize::Integer, type::PetscDataType) - error("DMSwarmRestoreField: no generated method for these argument types") + throw(MethodError(DMSwarmRestoreField, (petsclib, dm, fieldname, blocksize, type))) end @for_petsc function DMSwarmRestoreField(petsclib::$UnionPetscLib, dm::AbstractPetscDM, fieldname::String, blocksize::$PetscInt, type::PetscDataType ) @@ -46658,7 +46658,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmSetType()`, `DMSwarmGetCellDM()`, `DMSwarmMig $(_doc_external("DMSwarm/DMSwarmSetCellDM")) """ function DMSwarmSetCellDM(petsclib::PetscLibType, sw::AbstractPetscDM, dm::AbstractPetscDM) - error("DMSwarmSetCellDM: no generated method for these argument types") + throw(MethodError(DMSwarmSetCellDM, (petsclib, sw, dm))) end @for_petsc function DMSwarmSetCellDM(petsclib::$UnionPetscLib, sw::AbstractPetscDM, dm::AbstractPetscDM ) @@ -46692,7 +46692,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmCellDM`, `DMSwarmSetType()`, `DMSwarmAddCellD $(_doc_external("DMSwarm/DMSwarmSetCellDMActive")) """ function DMSwarmSetCellDMActive(petsclib::PetscLibType, sw::AbstractPetscDM, name::String) - error("DMSwarmSetCellDMActive: no generated method for these argument types") + throw(MethodError(DMSwarmSetCellDMActive, (petsclib, sw, name))) end @for_petsc function DMSwarmSetCellDMActive(petsclib::$UnionPetscLib, sw::AbstractPetscDM, name::String ) @@ -46726,7 +46726,7 @@ See also: `DMSWARM`, `DMSwarmGetCoordinateFunction()`, `DMSwarmSetVelocityFuncti $(_doc_external("DMSwarm/DMSwarmSetCoordinateFunction")) """ function DMSwarmSetCoordinateFunction(petsclib::PetscLibType, sw::AbstractPetscDM, coordFunc::Ptr{Cvoid}) - error("DMSwarmSetCoordinateFunction: no generated method for these argument types") + throw(MethodError(DMSwarmSetCoordinateFunction, (petsclib, sw, coordFunc))) end @for_petsc function DMSwarmSetCoordinateFunction(petsclib::$UnionPetscLib, sw::AbstractPetscDM, coordFunc::Ptr{Cvoid} ) @@ -46761,7 +46761,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmGetLocalSize()` $(_doc_external("DMSwarm/DMSwarmSetLocalSizes")) """ function DMSwarmSetLocalSizes(petsclib::PetscLibType, sw::AbstractPetscDM, nlocal::Integer, buffer::Integer) - error("DMSwarmSetLocalSizes: no generated method for these argument types") + throw(MethodError(DMSwarmSetLocalSizes, (petsclib, sw, nlocal, buffer))) end @for_petsc function DMSwarmSetLocalSizes(petsclib::$UnionPetscLib, sw::AbstractPetscDM, nlocal::$PetscInt, buffer::$PetscInt ) @@ -46795,7 +46795,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmMigrateType`, `DMSwarmGetMigrateType()`, `DMS $(_doc_external("DMSwarm/DMSwarmSetMigrateType")) """ function DMSwarmSetMigrateType(petsclib::PetscLibType, dm::AbstractPetscDM, mtype::DMSwarmMigrateType) - error("DMSwarmSetMigrateType: no generated method for these argument types") + throw(MethodError(DMSwarmSetMigrateType, (petsclib, dm, mtype))) end @for_petsc function DMSwarmSetMigrateType(petsclib::$UnionPetscLib, dm::AbstractPetscDM, mtype::DMSwarmMigrateType ) @@ -46829,7 +46829,7 @@ See also: `DMSWARM`, `DMSwarmGetNumSpecies()`, `DMSwarmSetType()`, `DMSwarmType` $(_doc_external("DMSwarm/DMSwarmSetNumSpecies")) """ function DMSwarmSetNumSpecies(petsclib::PetscLibType, sw::AbstractPetscDM, Ns::Integer) - error("DMSwarmSetNumSpecies: no generated method for these argument types") + throw(MethodError(DMSwarmSetNumSpecies, (petsclib, sw, Ns))) end @for_petsc function DMSwarmSetNumSpecies(petsclib::$UnionPetscLib, sw::AbstractPetscDM, Ns::$PetscInt ) @@ -46866,7 +46866,7 @@ See also: `DMSWARM`, `DMSwarmSetType()`, `DMSwarmSetCellDM()`, `DMSwarmType`, `D $(_doc_external("DMSwarm/DMSwarmSetPointCoordinates")) """ function DMSwarmSetPointCoordinates(petsclib::PetscLibType, sw::AbstractPetscDM, npoints::Integer, coor::AbstractVector{<:Number}, redundant::PetscBool, mode::InsertMode) - error("DMSwarmSetPointCoordinates: no generated method for these argument types") + throw(MethodError(DMSwarmSetPointCoordinates, (petsclib, sw, npoints, coor, redundant, mode))) end @for_petsc function DMSwarmSetPointCoordinates(petsclib::$UnionPetscLib, sw::AbstractPetscDM, npoints::$PetscInt, coor::Vector{$PetscReal}, redundant::PetscBool, mode::InsertMode ) @@ -46901,7 +46901,7 @@ See also: `DMSWARM`, `DMSwarmSetCellDM()`, `DMSwarmInsertPointsUsingCellDM()` $(_doc_external("DMSwarm/DMSwarmSetPointCoordinatesCellwise")) """ function DMSwarmSetPointCoordinatesCellwise(petsclib::PetscLibType, dm::AbstractPetscDM, npoints::Integer, xi::AbstractVector{<:Number}) - error("DMSwarmSetPointCoordinatesCellwise: no generated method for these argument types") + throw(MethodError(DMSwarmSetPointCoordinatesCellwise, (petsclib, dm, npoints, xi))) end @for_petsc function DMSwarmSetPointCoordinatesCellwise(petsclib::$UnionPetscLib, dm::AbstractPetscDM, npoints::$PetscInt, xi::Vector{$PetscReal} ) @@ -46935,7 +46935,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmSetCellDM()` $(_doc_external("DMSwarm/DMSwarmSetPointCoordinatesRandom")) """ function DMSwarmSetPointCoordinatesRandom(petsclib::PetscLibType, dm::AbstractPetscDM, Npc::Integer) - error("DMSwarmSetPointCoordinatesRandom: no generated method for these argument types") + throw(MethodError(DMSwarmSetPointCoordinatesRandom, (petsclib, dm, Npc))) end @for_petsc function DMSwarmSetPointCoordinatesRandom(petsclib::$UnionPetscLib, dm::AbstractPetscDM, Npc::$PetscInt ) @@ -46972,7 +46972,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmSetType()`, `DMSwarmSetCellDM()`, `DMSwarmTyp $(_doc_external("DMSwarm/DMSwarmSetPointsUniformCoordinates")) """ function DMSwarmSetPointsUniformCoordinates(petsclib::PetscLibType, sw::AbstractPetscDM, min::AbstractVector{<:Number}, max::AbstractVector{<:Number}, npoints::AbstractVector{<:Number}, mode::InsertMode) - error("DMSwarmSetPointsUniformCoordinates: no generated method for these argument types") + throw(MethodError(DMSwarmSetPointsUniformCoordinates, (petsclib, sw, min, max, npoints, mode))) end @for_petsc function DMSwarmSetPointsUniformCoordinates(petsclib::$UnionPetscLib, sw::AbstractPetscDM, min::Vector{$PetscReal}, max::Vector{$PetscReal}, npoints::Vector{$PetscInt}, mode::InsertMode ) @@ -47006,7 +47006,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmSetMigrateType()`, `DMSwarmSetCollectType()`, $(_doc_external("DMSwarm/DMSwarmSetType")) """ function DMSwarmSetType(petsclib::PetscLibType, sw::AbstractPetscDM, stype::DMSwarmType) - error("DMSwarmSetType: no generated method for these argument types") + throw(MethodError(DMSwarmSetType, (petsclib, sw, stype))) end @for_petsc function DMSwarmSetType(petsclib::$UnionPetscLib, sw::AbstractPetscDM, stype::DMSwarmType ) @@ -47040,7 +47040,7 @@ See also: `DMSWARM`, `DMSwarmGetVelocityFunction()`, `DMSwarmSetCoordinateFuncti $(_doc_external("DMSwarm/DMSwarmSetVelocityFunction")) """ function DMSwarmSetVelocityFunction(petsclib::PetscLibType, sw::AbstractPetscDM, velFunc::Ptr{Cvoid}) - error("DMSwarmSetVelocityFunction: no generated method for these argument types") + throw(MethodError(DMSwarmSetVelocityFunction, (petsclib, sw, velFunc))) end @for_petsc function DMSwarmSetVelocityFunction(petsclib::$UnionPetscLib, sw::AbstractPetscDM, velFunc::Ptr{Cvoid} ) @@ -47075,7 +47075,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmVectorDefineFields()`, `DMSwarmVectorGetField $(_doc_external("DMSwarm/DMSwarmVectorDefineField")) """ function DMSwarmVectorDefineField(petsclib::PetscLibType, dm::AbstractPetscDM, fieldname::String) - error("DMSwarmVectorDefineField: no generated method for these argument types") + throw(MethodError(DMSwarmVectorDefineField, (petsclib, dm, fieldname))) end @for_petsc function DMSwarmVectorDefineField(petsclib::$UnionPetscLib, dm::AbstractPetscDM, fieldname::String ) @@ -47111,7 +47111,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmVectorDefineField()`, `DMSwarmVectorGetField( $(_doc_external("DMSwarm/DMSwarmVectorDefineFields")) """ function DMSwarmVectorDefineFields(petsclib::PetscLibType, sw::AbstractPetscDM, Nf::Integer, fieldnames::String) - error("DMSwarmVectorDefineFields: no generated method for these argument types") + throw(MethodError(DMSwarmVectorDefineFields, (petsclib, sw, Nf, fieldnames))) end @for_petsc function DMSwarmVectorDefineFields(petsclib::$UnionPetscLib, sw::AbstractPetscDM, Nf::$PetscInt, fieldnames::String ) @@ -47150,7 +47150,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmVectorDefineField()`, `DMSwarmRegisterPetscDa $(_doc_external("DMSwarm/DMSwarmVectorGetField")) """ function DMSwarmVectorGetField(petsclib::PetscLibType, sw::AbstractPetscDM) - error("DMSwarmVectorGetField: no generated method for these argument types") + throw(MethodError(DMSwarmVectorGetField, (petsclib, sw))) end @for_petsc function DMSwarmVectorGetField(petsclib::$UnionPetscLib, sw::AbstractPetscDM ) @@ -47190,7 +47190,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmViewXDMF()` $(_doc_external("DMSwarm/DMSwarmViewFieldsXDMF")) """ function DMSwarmViewFieldsXDMF(petsclib::PetscLibType, dm::AbstractPetscDM, filename::String, nfields::Integer, field_name_list::String) - error("DMSwarmViewFieldsXDMF: no generated method for these argument types") + throw(MethodError(DMSwarmViewFieldsXDMF, (petsclib, dm, filename, nfields, field_name_list))) end @for_petsc function DMSwarmViewFieldsXDMF(petsclib::$UnionPetscLib, dm::AbstractPetscDM, filename::String, nfields::$PetscInt, field_name_list::String ) @@ -47225,7 +47225,7 @@ See also: `DM`, `DMSWARM`, `DMSwarmViewFieldsXDMF()` $(_doc_external("DMSwarm/DMSwarmViewXDMF")) """ function DMSwarmViewXDMF(petsclib::PetscLibType, dm::AbstractPetscDM, filename::String) - error("DMSwarmViewXDMF: no generated method for these argument types") + throw(MethodError(DMSwarmViewXDMF, (petsclib, dm, filename))) end @for_petsc function DMSwarmViewXDMF(petsclib::$UnionPetscLib, dm::AbstractPetscDM, filename::String ) @@ -47258,7 +47258,7 @@ See also: `DMTS` $(_doc_external("TS/DMTSCheckFromOptions")) """ function DMTSCheckFromOptions(petsclib::PetscLibType, ts::AbstractTS, u::AbstractPetscVec) - error("DMTSCheckFromOptions: no generated method for these argument types") + throw(MethodError(DMTSCheckFromOptions, (petsclib, ts, u))) end @for_petsc function DMTSCheckFromOptions(petsclib::$UnionPetscLib, ts::AbstractTS, u::AbstractPetscVec ) @@ -47298,7 +47298,7 @@ See also: `DNTSCheckFromOptions()`, `DMTSCheckResidual()`, `DNSNESCheckFromOptio $(_doc_external("TS/DMTSCheckJacobian")) """ function DMTSCheckJacobian(petsclib::PetscLibType, ts::AbstractTS, dm::AbstractPetscDM, t::Real, u::AbstractPetscVec, u_t::AbstractPetscVec, tol::Real) - error("DMTSCheckJacobian: no generated method for these argument types") + throw(MethodError(DMTSCheckJacobian, (petsclib, ts, dm, t, u, u_t, tol))) end @for_petsc function DMTSCheckJacobian(petsclib::$UnionPetscLib, ts::AbstractTS, dm::AbstractPetscDM, t::$PetscReal, u::AbstractPetscVec, u_t::AbstractPetscVec, tol::$PetscReal ) @@ -47341,7 +47341,7 @@ See also: `DM`, `DMTSCheckFromOptions()`, `DMTSCheckJacobian()`, `DNSNESCheckFro $(_doc_external("TS/DMTSCheckResidual")) """ function DMTSCheckResidual(petsclib::PetscLibType, ts::AbstractTS, dm::AbstractPetscDM, t::Real, u::AbstractPetscVec, u_t::AbstractPetscVec, tol::Real) - error("DMTSCheckResidual: no generated method for these argument types") + throw(MethodError(DMTSCheckResidual, (petsclib, ts, dm, t, u, u_t, tol))) end @for_petsc function DMTSCheckResidual(petsclib::$UnionPetscLib, ts::AbstractTS, dm::AbstractPetscDM, t::$PetscReal, u::AbstractPetscVec, u_t::AbstractPetscVec, tol::$PetscReal ) @@ -47376,7 +47376,7 @@ See also: `DM`, `DMTSCreateRHSMassMatrixLumped()`, `DMTSDestroyRHSMassMatrix()`, $(_doc_external("TS/DMTSCreateRHSMassMatrix")) """ function DMTSCreateRHSMassMatrix(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMTSCreateRHSMassMatrix: no generated method for these argument types") + throw(MethodError(DMTSCreateRHSMassMatrix, (petsclib, dm))) end @for_petsc function DMTSCreateRHSMassMatrix(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -47409,7 +47409,7 @@ See also: `DM`, `DMTSCreateRHSMassMatrix()`, `DMTSDestroyRHSMassMatrix()`, `DMCr $(_doc_external("TS/DMTSCreateRHSMassMatrixLumped")) """ function DMTSCreateRHSMassMatrixLumped(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMTSCreateRHSMassMatrixLumped: no generated method for these argument types") + throw(MethodError(DMTSCreateRHSMassMatrixLumped, (petsclib, dm))) end @for_petsc function DMTSCreateRHSMassMatrixLumped(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -47442,7 +47442,7 @@ See also: `DM`, `DMTSCreateRHSMassMatrixLumped()`, `DMCreateMassMatrix()`, `DMTS $(_doc_external("TS/DMTSDestroyRHSMassMatrix")) """ function DMTSDestroyRHSMassMatrix(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMTSDestroyRHSMassMatrix: no generated method for these argument types") + throw(MethodError(DMTSDestroyRHSMassMatrix, (petsclib, dm))) end @for_petsc function DMTSDestroyRHSMassMatrix(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -47479,7 +47479,7 @@ See also: `DMTS`, `TS`, `DM`, `TSSetForcingFunction()`, `TSForcingFn` $(_doc_external("TS/DMTSGetForcingFunction")) """ function DMTSGetForcingFunction(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMTSGetForcingFunction: no generated method for these argument types") + throw(MethodError(DMTSGetForcingFunction, (petsclib, dm))) end @for_petsc function DMTSGetForcingFunction(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -47520,7 +47520,7 @@ See also: `DMTS`, `DM`, `TS`, `DMTSSetI2Function()`, `TSGetI2Function()` $(_doc_external("TS/DMTSGetI2Function")) """ function DMTSGetI2Function(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMTSGetI2Function: no generated method for these argument types") + throw(MethodError(DMTSGetI2Function, (petsclib, dm))) end @for_petsc function DMTSGetI2Function(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -47561,7 +47561,7 @@ See also: `DMTS`, `DM`, `TS`, `DMTSSetI2Jacobian()`, `TSGetI2Jacobian()`, `TSI2J $(_doc_external("TS/DMTSGetI2Jacobian")) """ function DMTSGetI2Jacobian(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMTSGetI2Jacobian: no generated method for these argument types") + throw(MethodError(DMTSGetI2Jacobian, (petsclib, dm))) end @for_petsc function DMTSGetI2Jacobian(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -47602,7 +47602,7 @@ See also: `DMTS`, `TS`, `DM`, `DMTSSetIFunction()`, `TSIFunctionFn` $(_doc_external("TS/DMTSGetIFunction")) """ function DMTSGetIFunction(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMTSGetIFunction: no generated method for these argument types") + throw(MethodError(DMTSGetIFunction, (petsclib, dm))) end @for_petsc function DMTSGetIFunction(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -47653,7 +47653,7 @@ See also: `DM`, `DMTSSetIFunctionLocal()`, `DMTSSetIFunction()`, `DMTSSetIJacobi $(_doc_external("TS/DMTSGetIFunctionLocal")) """ function DMTSGetIFunctionLocal(petsclib::PetscLibType, dm::AbstractPetscDM, noname::Ptr{Cvoid}) - error("DMTSGetIFunctionLocal: no generated method for these argument types") + throw(MethodError(DMTSGetIFunctionLocal, (petsclib, dm, noname))) end @for_petsc function DMTSGetIFunctionLocal(petsclib::$UnionPetscLib, dm::AbstractPetscDM, noname::Ptr{Cvoid} ) @@ -47690,7 +47690,7 @@ See also: `DMTS`, `DM`, `TS`, `DMTSSetIJacobian()`, `TSIJacobianFn` $(_doc_external("TS/DMTSGetIJacobian")) """ function DMTSGetIJacobian(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMTSGetIJacobian: no generated method for these argument types") + throw(MethodError(DMTSGetIJacobian, (petsclib, dm))) end @for_petsc function DMTSGetIJacobian(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -47741,7 +47741,7 @@ See also: `DM`, `DMTSSetIJacobianLocal()`, `DMTSSetIFunctionLocal()`, `DMTSSetIJ $(_doc_external("TS/DMTSGetIJacobianLocal")) """ function DMTSGetIJacobianLocal(petsclib::PetscLibType, dm::AbstractPetscDM, noname::Ptr{Cvoid}) - error("DMTSGetIJacobianLocal: no generated method for these argument types") + throw(MethodError(DMTSGetIJacobianLocal, (petsclib, dm, noname))) end @for_petsc function DMTSGetIJacobianLocal(petsclib::$UnionPetscLib, dm::AbstractPetscDM, noname::Ptr{Cvoid} ) @@ -47778,7 +47778,7 @@ See also: `DMTS`, `DM`, `TS`, `TSRHSFunctionFn`, `TSGetRHSFunction()` $(_doc_external("TS/DMTSGetRHSFunction")) """ function DMTSGetRHSFunction(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMTSGetRHSFunction: no generated method for these argument types") + throw(MethodError(DMTSGetRHSFunction, (petsclib, dm))) end @for_petsc function DMTSGetRHSFunction(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -47828,7 +47828,7 @@ See also: `DM`, `DMTSSetRHSFunctionLocal()`, `DMTSSetRHSFunction()`, `DMTSSetIFu $(_doc_external("TS/DMTSGetRHSFunctionLocal")) """ function DMTSGetRHSFunctionLocal(petsclib::PetscLibType, dm::AbstractPetscDM, noname::Ptr{Cvoid}) - error("DMTSGetRHSFunctionLocal: no generated method for these argument types") + throw(MethodError(DMTSGetRHSFunctionLocal, (petsclib, dm, noname))) end @for_petsc function DMTSGetRHSFunctionLocal(petsclib::$UnionPetscLib, dm::AbstractPetscDM, noname::Ptr{Cvoid} ) @@ -47865,7 +47865,7 @@ See also: `DMTS`, `DM`, `TS`, `DMTSSetRHSJacobian()`, `TSRHSJacobianFn` $(_doc_external("TS/DMTSGetRHSJacobian")) """ function DMTSGetRHSJacobian(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMTSGetRHSJacobian: no generated method for these argument types") + throw(MethodError(DMTSGetRHSJacobian, (petsclib, dm))) end @for_petsc function DMTSGetRHSJacobian(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -47906,7 +47906,7 @@ See also: `DMTS`, `TS`, `DM`, `DMTSSetSolutionFunction()`, `TSSolutionFn` $(_doc_external("TS/DMTSGetSolutionFunction")) """ function DMTSGetSolutionFunction(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMTSGetSolutionFunction: no generated method for these argument types") + throw(MethodError(DMTSGetSolutionFunction, (petsclib, dm))) end @for_petsc function DMTSGetSolutionFunction(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -47947,7 +47947,7 @@ See also: `DMTS`, `DM`, `DMTSSetTransientVariable()`, `DMTSGetIFunction()`, `DMT $(_doc_external("TS/DMTSGetTransientVariable")) """ function DMTSGetTransientVariable(petsclib::PetscLibType, dm::AbstractPetscDM) - error("DMTSGetTransientVariable: no generated method for these argument types") + throw(MethodError(DMTSGetTransientVariable, (petsclib, dm))) end @for_petsc function DMTSGetTransientVariable(petsclib::$UnionPetscLib, dm::AbstractPetscDM ) @@ -47993,7 +47993,7 @@ See also: `DM`, `TS`, `DMTSSetIFunction()`, `DMTSSetIJacobianLocal()` $(_doc_external("TS/DMTSSetBoundaryLocal")) """ function DMTSSetBoundaryLocal(petsclib::PetscLibType, dm::AbstractPetscDM, func::external, ctx::Ptr{Cvoid}) - error("DMTSSetBoundaryLocal: no generated method for these argument types") + throw(MethodError(DMTSSetBoundaryLocal, (petsclib, dm, func, ctx))) end @for_petsc function DMTSSetBoundaryLocal(petsclib::$UnionPetscLib, dm::AbstractPetscDM, func::external, ctx::Ptr{Cvoid} ) @@ -48028,7 +48028,7 @@ See also: `DMTS`, `DM`, `TS`, `TSForcingFn`, `TSSetForcingFunction()`, `DMTSGetF $(_doc_external("TS/DMTSSetForcingFunction")) """ function DMTSSetForcingFunction(petsclib::PetscLibType, dm::AbstractPetscDM, func::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("DMTSSetForcingFunction: no generated method for these argument types") + throw(MethodError(DMTSSetForcingFunction, (petsclib, dm, func, ctx))) end @for_petsc function DMTSSetForcingFunction(petsclib::$UnionPetscLib, dm::AbstractPetscDM, func::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -48063,7 +48063,7 @@ See also: `DMTS`, `DM`, `TS`, `TSSetI2Function()` $(_doc_external("TS/DMTSSetI2Function")) """ function DMTSSetI2Function(petsclib::PetscLibType, dm::AbstractPetscDM, fun::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("DMTSSetI2Function: no generated method for these argument types") + throw(MethodError(DMTSSetI2Function, (petsclib, dm, fun, ctx))) end @for_petsc function DMTSSetI2Function(petsclib::$UnionPetscLib, dm::AbstractPetscDM, fun::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -48097,7 +48097,7 @@ See also: `DMTS`, `TSSetI2FunctionContextDestroy()`, `DMTSSetI2Function()`, `TSS $(_doc_external("TS/DMTSSetI2FunctionContextDestroy")) """ function DMTSSetI2FunctionContextDestroy(petsclib::PetscLibType, dm::AbstractPetscDM, f::Ptr{Cvoid}) - error("DMTSSetI2FunctionContextDestroy: no generated method for these argument types") + throw(MethodError(DMTSSetI2FunctionContextDestroy, (petsclib, dm, f))) end @for_petsc function DMTSSetI2FunctionContextDestroy(petsclib::$UnionPetscLib, dm::AbstractPetscDM, f::Ptr{Cvoid} ) @@ -48132,7 +48132,7 @@ See also: `DMTS`, `DM`, `TS`, `TSI2JacobianFn`, `TSSetI2Jacobian()` $(_doc_external("TS/DMTSSetI2Jacobian")) """ function DMTSSetI2Jacobian(petsclib::PetscLibType, dm::AbstractPetscDM, jac::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("DMTSSetI2Jacobian: no generated method for these argument types") + throw(MethodError(DMTSSetI2Jacobian, (petsclib, dm, jac, ctx))) end @for_petsc function DMTSSetI2Jacobian(petsclib::$UnionPetscLib, dm::AbstractPetscDM, jac::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -48166,7 +48166,7 @@ See also: `DMTS`, `DM`, `TS`, `TSSetI2JacobianContextDestroy()`, `DMTSSetI2Jacob $(_doc_external("TS/DMTSSetI2JacobianContextDestroy")) """ function DMTSSetI2JacobianContextDestroy(petsclib::PetscLibType, dm::AbstractPetscDM, f::Ptr{Cvoid}) - error("DMTSSetI2JacobianContextDestroy: no generated method for these argument types") + throw(MethodError(DMTSSetI2JacobianContextDestroy, (petsclib, dm, f))) end @for_petsc function DMTSSetI2JacobianContextDestroy(petsclib::$UnionPetscLib, dm::AbstractPetscDM, f::Ptr{Cvoid} ) @@ -48201,7 +48201,7 @@ See also: `DMTS`, `TS`, `DM`, `TSIFunctionFn` $(_doc_external("TS/DMTSSetIFunction")) """ function DMTSSetIFunction(petsclib::PetscLibType, dm::AbstractPetscDM, func::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("DMTSSetIFunction: no generated method for these argument types") + throw(MethodError(DMTSSetIFunction, (petsclib, dm, func, ctx))) end @for_petsc function DMTSSetIFunction(petsclib::$UnionPetscLib, dm::AbstractPetscDM, func::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -48235,7 +48235,7 @@ See also: `DMTS`, `DM`, `TS`, `DMTSSetIFunction()`, `TSSetIFunction()`, `PetscCt $(_doc_external("TS/DMTSSetIFunctionContextDestroy")) """ function DMTSSetIFunctionContextDestroy(petsclib::PetscLibType, dm::AbstractPetscDM, f::Ptr{Cvoid}) - error("DMTSSetIFunctionContextDestroy: no generated method for these argument types") + throw(MethodError(DMTSSetIFunctionContextDestroy, (petsclib, dm, f))) end @for_petsc function DMTSSetIFunctionContextDestroy(petsclib::$UnionPetscLib, dm::AbstractPetscDM, f::Ptr{Cvoid} ) @@ -48280,7 +48280,7 @@ See also: `DM`, `DMTSGetIFunctionLocal()`, `DMTSSetIFunction()`, `DMTSSetIJacobi $(_doc_external("TS/DMTSSetIFunctionLocal")) """ function DMTSSetIFunctionLocal(petsclib::PetscLibType, dm::AbstractPetscDM, func::external, ctx::Ptr{Cvoid}) - error("DMTSSetIFunctionLocal: no generated method for these argument types") + throw(MethodError(DMTSSetIFunctionLocal, (petsclib, dm, func, ctx))) end @for_petsc function DMTSSetIFunctionLocal(petsclib::$UnionPetscLib, dm::AbstractPetscDM, func::external, ctx::Ptr{Cvoid} ) @@ -48315,7 +48315,7 @@ See also: `DMTS`, `DM`, `TS` $(_doc_external("TS/DMTSSetIFunctionSerialize")) """ function DMTSSetIFunctionSerialize(petsclib::PetscLibType, dm::AbstractPetscDM, view::external, load::external) - error("DMTSSetIFunctionSerialize: no generated method for these argument types") + throw(MethodError(DMTSSetIFunctionSerialize, (petsclib, dm, view, load))) end @for_petsc function DMTSSetIFunctionSerialize(petsclib::$UnionPetscLib, dm::AbstractPetscDM, view::external, load::external ) @@ -48350,7 +48350,7 @@ See also: `DMTS`, `TS`, `DM`, `TSIJacobianFn`, `DMTSGetIJacobian()`, `TSSetIJaco $(_doc_external("TS/DMTSSetIJacobian")) """ function DMTSSetIJacobian(petsclib::PetscLibType, dm::AbstractPetscDM, func::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("DMTSSetIJacobian: no generated method for these argument types") + throw(MethodError(DMTSSetIJacobian, (petsclib, dm, func, ctx))) end @for_petsc function DMTSSetIJacobian(petsclib::$UnionPetscLib, dm::AbstractPetscDM, func::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -48384,7 +48384,7 @@ See also: `DMTS`, `TSSetIJacobianContextDestroy()`, `TSSetI2JacobianContextDestr $(_doc_external("TS/DMTSSetIJacobianContextDestroy")) """ function DMTSSetIJacobianContextDestroy(petsclib::PetscLibType, dm::AbstractPetscDM, f::Ptr{Cvoid}) - error("DMTSSetIJacobianContextDestroy: no generated method for these argument types") + throw(MethodError(DMTSSetIJacobianContextDestroy, (petsclib, dm, f))) end @for_petsc function DMTSSetIJacobianContextDestroy(petsclib::$UnionPetscLib, dm::AbstractPetscDM, f::Ptr{Cvoid} ) @@ -48429,7 +48429,7 @@ See also: `DM`, `DMTSGetIJacobianLocal()`, `DMTSSetIFunctionLocal()`, `DMTSSetIJ $(_doc_external("TS/DMTSSetIJacobianLocal")) """ function DMTSSetIJacobianLocal(petsclib::PetscLibType, dm::AbstractPetscDM, func::external, ctx::Ptr{Cvoid}) - error("DMTSSetIJacobianLocal: no generated method for these argument types") + throw(MethodError(DMTSSetIJacobianLocal, (petsclib, dm, func, ctx))) end @for_petsc function DMTSSetIJacobianLocal(petsclib::$UnionPetscLib, dm::AbstractPetscDM, func::external, ctx::Ptr{Cvoid} ) @@ -48464,7 +48464,7 @@ See also: `DMTS`, `DM`, `TS` $(_doc_external("TS/DMTSSetIJacobianSerialize")) """ function DMTSSetIJacobianSerialize(petsclib::PetscLibType, dm::AbstractPetscDM, view::external, load::external) - error("DMTSSetIJacobianSerialize: no generated method for these argument types") + throw(MethodError(DMTSSetIJacobianSerialize, (petsclib, dm, view, load))) end @for_petsc function DMTSSetIJacobianSerialize(petsclib::$UnionPetscLib, dm::AbstractPetscDM, view::external, load::external ) @@ -48499,7 +48499,7 @@ See also: `DMTS`, `DM`, `TS`, `TSRHSFunctionFn` $(_doc_external("TS/DMTSSetRHSFunction")) """ function DMTSSetRHSFunction(petsclib::PetscLibType, dm::AbstractPetscDM, func::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("DMTSSetRHSFunction: no generated method for these argument types") + throw(MethodError(DMTSSetRHSFunction, (petsclib, dm, func, ctx))) end @for_petsc function DMTSSetRHSFunction(petsclib::$UnionPetscLib, dm::AbstractPetscDM, func::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -48533,7 +48533,7 @@ See also: `DMTS`, `TSSetRHSFunctionContextDestroy()`, `DMTSSetRHSFunction()`, `T $(_doc_external("TS/DMTSSetRHSFunctionContextDestroy")) """ function DMTSSetRHSFunctionContextDestroy(petsclib::PetscLibType, dm::AbstractPetscDM, f::Ptr{Cvoid}) - error("DMTSSetRHSFunctionContextDestroy: no generated method for these argument types") + throw(MethodError(DMTSSetRHSFunctionContextDestroy, (petsclib, dm, f))) end @for_petsc function DMTSSetRHSFunctionContextDestroy(petsclib::$UnionPetscLib, dm::AbstractPetscDM, f::Ptr{Cvoid} ) @@ -48577,7 +48577,7 @@ See also: `DM`, `DMTSGetRHSFunctionLocal()`, `DMTSSetRHSFunction()`, `DMTSSetIFu $(_doc_external("TS/DMTSSetRHSFunctionLocal")) """ function DMTSSetRHSFunctionLocal(petsclib::PetscLibType, dm::AbstractPetscDM, func::external, ctx::Ptr{Cvoid}) - error("DMTSSetRHSFunctionLocal: no generated method for these argument types") + throw(MethodError(DMTSSetRHSFunctionLocal, (petsclib, dm, func, ctx))) end @for_petsc function DMTSSetRHSFunctionLocal(petsclib::$UnionPetscLib, dm::AbstractPetscDM, func::external, ctx::Ptr{Cvoid} ) @@ -48612,7 +48612,7 @@ See also: `DMTS`, `TSRHSJacobianFn`, `DMTSGetRHSJacobian()`, `TSSetRHSJacobian() $(_doc_external("TS/DMTSSetRHSJacobian")) """ function DMTSSetRHSJacobian(petsclib::PetscLibType, dm::AbstractPetscDM, func::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("DMTSSetRHSJacobian: no generated method for these argument types") + throw(MethodError(DMTSSetRHSJacobian, (petsclib, dm, func, ctx))) end @for_petsc function DMTSSetRHSJacobian(petsclib::$UnionPetscLib, dm::AbstractPetscDM, func::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -48646,7 +48646,7 @@ See also: `DMTS`, `TS`, `TSSetRHSJacobianContextDestroy()`, `DMTSSetRHSJacobian( $(_doc_external("TS/DMTSSetRHSJacobianContextDestroy")) """ function DMTSSetRHSJacobianContextDestroy(petsclib::PetscLibType, dm::AbstractPetscDM, f::Ptr{Cvoid}) - error("DMTSSetRHSJacobianContextDestroy: no generated method for these argument types") + throw(MethodError(DMTSSetRHSJacobianContextDestroy, (petsclib, dm, f))) end @for_petsc function DMTSSetRHSJacobianContextDestroy(petsclib::$UnionPetscLib, dm::AbstractPetscDM, f::Ptr{Cvoid} ) @@ -48681,7 +48681,7 @@ See also: `DMTS`, `DM`, `TS`, `DMTSGetSolutionFunction()`, `TSSolutionFn` $(_doc_external("TS/DMTSSetSolutionFunction")) """ function DMTSSetSolutionFunction(petsclib::PetscLibType, dm::AbstractPetscDM, func::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("DMTSSetSolutionFunction: no generated method for these argument types") + throw(MethodError(DMTSSetSolutionFunction, (petsclib, dm, func, ctx))) end @for_petsc function DMTSSetSolutionFunction(petsclib::$UnionPetscLib, dm::AbstractPetscDM, func::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -48716,7 +48716,7 @@ See also: `DMTS`, `TS`, `TSBDF`, `TSSetTransientVariable()`, `DMTSGetTransientVa $(_doc_external("TS/DMTSSetTransientVariable")) """ function DMTSSetTransientVariable(petsclib::PetscLibType, dm::AbstractPetscDM, tvar::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("DMTSSetTransientVariable: no generated method for these argument types") + throw(MethodError(DMTSSetTransientVariable, (petsclib, dm, tvar, ctx))) end @for_petsc function DMTSSetTransientVariable(petsclib::$UnionPetscLib, dm::AbstractPetscDM, tvar::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -48748,7 +48748,7 @@ See also: `DMPlexSetClosurePermutationTensor()`, `PetscSectionResetClosurePermut $(_doc_external("DM/DMUseTensorOrder")) """ function DMUseTensorOrder(petsclib::PetscLibType, dm::AbstractPetscDM, tensor::PetscBool) - error("DMUseTensorOrder: no generated method for these argument types") + throw(MethodError(DMUseTensorOrder, (petsclib, dm, tensor))) end @for_petsc function DMUseTensorOrder(petsclib::$UnionPetscLib, dm::AbstractPetscDM, tensor::PetscBool ) @@ -48790,7 +48790,7 @@ See also: `DM`, `PetscViewer`, `PetscViewerFormat`, `PetscViewerSetFormat()`, `D $(_doc_external("DM/DMView")) """ function DMView(petsclib::PetscLibType, dm::AbstractPetscDM, v::PetscViewer) - error("DMView: no generated method for these argument types") + throw(MethodError(DMView, (petsclib, dm, v))) end @for_petsc function DMView(petsclib::$UnionPetscLib, dm::AbstractPetscDM, v::PetscViewer ) @@ -48828,7 +48828,7 @@ See also: `DM`, `DMView()`, `PetscObjectViewFromOptions()`, `DMCreate()` $(_doc_external("DM/DMViewFromOptions")) """ function DMViewFromOptions(petsclib::PetscLibType, dm::AbstractPetscDM, obj, name::String) - error("DMViewFromOptions: no generated method for these argument types") + throw(MethodError(DMViewFromOptions, (petsclib, dm, obj, name))) end @for_petsc function DMViewFromOptions(petsclib::$UnionPetscLib, dm::AbstractPetscDM, obj, name::String ) diff --git a/src/autowrapped/DMaddons_wrappers.jl b/src/autowrapped/DMaddons_wrappers.jl index 69d2631ca..8c42c8e42 100644 --- a/src/autowrapped/DMaddons_wrappers.jl +++ b/src/autowrapped/DMaddons_wrappers.jl @@ -27,7 +27,7 @@ See also: `DMAdaptor`, `DMAdaptationStrategy`, `DMAdaptorSetSolver()`, `DMAdapto $(_doc_external("DM/DMAdaptorAdapt")) """ function DMAdaptorAdapt(petsclib::PetscLibType, adaptor::DMAdaptor, x::AbstractPetscVec, strategy::DMAdaptationStrategy) - error("DMAdaptorAdapt: no generated method for these argument types") + throw(MethodError(DMAdaptorAdapt, (petsclib, adaptor, x, strategy))) end @for_petsc function DMAdaptorAdapt(petsclib::$UnionPetscLib, adaptor::DMAdaptor, x::AbstractPetscVec, strategy::DMAdaptationStrategy ) @@ -67,7 +67,7 @@ See also: `DM`, `DMAdaptor`, `DMAdaptorDestroy()`, `DMAdaptorAdapt()`, `PetscCon $(_doc_external("DM/DMAdaptorCreate")) """ function DMAdaptorCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("DMAdaptorCreate: no generated method for these argument types") + throw(MethodError(DMAdaptorCreate, (petsclib, comm))) end @for_petsc function DMAdaptorCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -102,7 +102,7 @@ See also: `DM`, `DMAdaptor`, `DMAdaptorCreate()`, `DMAdaptorAdapt()` $(_doc_external("DM/DMAdaptorDestroy")) """ function DMAdaptorDestroy(petsclib::PetscLibType, adaptor::Union{DMAdaptor, Ref{DMAdaptor}}) - error("DMAdaptorDestroy: no generated method for these argument types") + throw(MethodError(DMAdaptorDestroy, (petsclib, adaptor))) end @for_petsc function DMAdaptorDestroy(petsclib::$UnionPetscLib, adaptor::Union{DMAdaptor, Ref{DMAdaptor}} ) @@ -139,7 +139,7 @@ See also: `DMAdaptor`, `DMAdaptorSetCriterion()`, `DMAdaptationCriterion` $(_doc_external("DM/DMAdaptorGetCriterion")) """ function DMAdaptorGetCriterion(petsclib::PetscLibType, adaptor::DMAdaptor) - error("DMAdaptorGetCriterion: no generated method for these argument types") + throw(MethodError(DMAdaptorGetCriterion, (petsclib, adaptor))) end @for_petsc function DMAdaptorGetCriterion(petsclib::$UnionPetscLib, adaptor::DMAdaptor ) @@ -177,7 +177,7 @@ See also: `DMAdaptor`, `DMAdaptorSetMixedSetupFunction()`, `DMAdaptorAdapt()` $(_doc_external("DM/DMAdaptorGetMixedSetupFunction")) """ function DMAdaptorGetMixedSetupFunction(petsclib::PetscLibType, adaptor::DMAdaptor, noname::Ptr{Cvoid}) - error("DMAdaptorGetMixedSetupFunction: no generated method for these argument types") + throw(MethodError(DMAdaptorGetMixedSetupFunction, (petsclib, adaptor, noname))) end @for_petsc function DMAdaptorGetMixedSetupFunction(petsclib::$UnionPetscLib, adaptor::DMAdaptor, noname::Ptr{Cvoid} ) @@ -213,7 +213,7 @@ See also: `DMAdaptor`, `DMAdaptorSetSequenceLength()`, `DMAdaptorCreate()`, `DMA $(_doc_external("DM/DMAdaptorGetSequenceLength")) """ function DMAdaptorGetSequenceLength(petsclib::PetscLibType, adaptor::DMAdaptor) - error("DMAdaptorGetSequenceLength: no generated method for these argument types") + throw(MethodError(DMAdaptorGetSequenceLength, (petsclib, adaptor))) end @for_petsc function DMAdaptorGetSequenceLength(petsclib::$UnionPetscLib, adaptor::DMAdaptor ) @@ -251,7 +251,7 @@ See also: `DM`, `DMAdaptor`, `DMAdaptorSetSolver()`, `DMAdaptorCreate()`, `DMAda $(_doc_external("DM/DMAdaptorGetSolver")) """ function DMAdaptorGetSolver(petsclib::PetscLibType, adaptor::DMAdaptor) - error("DMAdaptorGetSolver: no generated method for these argument types") + throw(MethodError(DMAdaptorGetSolver, (petsclib, adaptor))) end @for_petsc function DMAdaptorGetSolver(petsclib::$UnionPetscLib, adaptor::DMAdaptor ) @@ -297,7 +297,7 @@ See also: `DMAdaptor`, `DMAdaptorSetTransferFunction()`, `DMAdaptorAdapt()` $(_doc_external("DM/DMAdaptorGetTransferFunction")) """ function DMAdaptorGetTransferFunction(petsclib::PetscLibType, adaptor::DMAdaptor, noname::Ptr{Cvoid}) - error("DMAdaptorGetTransferFunction: no generated method for these argument types") + throw(MethodError(DMAdaptorGetTransferFunction, (petsclib, adaptor, noname))) end @for_petsc function DMAdaptorGetTransferFunction(petsclib::$UnionPetscLib, adaptor::DMAdaptor, noname::Ptr{Cvoid} ) @@ -333,7 +333,7 @@ See also: `DM`, `DMPLEX`, `DMAdaptor`, `DMAdaptorType`, `DMAdaptorSetType()`, `D $(_doc_external("DM/DMAdaptorGetType")) """ function DMAdaptorGetType(petsclib::PetscLibType, adaptor::DMAdaptor) - error("DMAdaptorGetType: no generated method for these argument types") + throw(MethodError(DMAdaptorGetType, (petsclib, adaptor))) end @for_petsc function DMAdaptorGetType(petsclib::$UnionPetscLib, adaptor::DMAdaptor ) @@ -374,7 +374,7 @@ See also: `DMAdaptorMonitorSet()` $(_doc_external("DM/DMAdaptorMonitor")) """ function DMAdaptorMonitor(petsclib::PetscLibType, adaptor::DMAdaptor, it::Integer, odm::AbstractPetscDM, adm::AbstractPetscDM, Nf::Integer, enorms::AbstractVector{<:Number}, error::AbstractPetscVec) - error("DMAdaptorMonitor: no generated method for these argument types") + throw(MethodError(DMAdaptorMonitor, (petsclib, adaptor, it, odm, adm, Nf, enorms, error))) end @for_petsc function DMAdaptorMonitor(petsclib::$UnionPetscLib, adaptor::DMAdaptor, it::$PetscInt, odm::AbstractPetscDM, adm::AbstractPetscDM, Nf::$PetscInt, enorms::Vector{$PetscReal}, error::AbstractPetscVec ) @@ -410,7 +410,7 @@ See also: `DMAdaptorMonitorError()`, `DMAdaptorMonitorSet()`, `DMAdaptor` $(_doc_external("DM/DMAdaptorMonitorCancel")) """ function DMAdaptorMonitorCancel(petsclib::PetscLibType, adaptor::DMAdaptor) - error("DMAdaptorMonitorCancel: no generated method for these argument types") + throw(MethodError(DMAdaptorMonitorCancel, (petsclib, adaptor))) end @for_petsc function DMAdaptorMonitorCancel(petsclib::$UnionPetscLib, adaptor::DMAdaptor ) @@ -453,7 +453,7 @@ See also: `DMAdaptor`, `DMAdaptorMonitorSet()`, `DMAdaptorMonitorErrorDraw()`, ` $(_doc_external("DM/DMAdaptorMonitorError")) """ function DMAdaptorMonitorError(petsclib::PetscLibType, adaptor::DMAdaptor, n::Integer, odm::AbstractPetscDM, adm::AbstractPetscDM, Nf::Integer, enorms::AbstractVector{<:Number}, error::AbstractPetscVec, vf::Vector{PetscViewerAndFormat}) - error("DMAdaptorMonitorError: no generated method for these argument types") + throw(MethodError(DMAdaptorMonitorError, (petsclib, adaptor, n, odm, adm, Nf, enorms, error, vf))) end @for_petsc function DMAdaptorMonitorError(petsclib::$UnionPetscLib, adaptor::DMAdaptor, n::$PetscInt, odm::AbstractPetscDM, adm::AbstractPetscDM, Nf::$PetscInt, enorms::Vector{$PetscReal}, error::AbstractPetscVec, vf::Vector{PetscViewerAndFormat} ) @@ -496,7 +496,7 @@ See also: `PETSCVIEWERDRAW`, `DMAdaptor`, `DMAdaptorMonitorSet()`, `DMAdaptorMon $(_doc_external("DM/DMAdaptorMonitorErrorDraw")) """ function DMAdaptorMonitorErrorDraw(petsclib::PetscLibType, adaptor::DMAdaptor, n::Integer, odm::AbstractPetscDM, adm::AbstractPetscDM, Nf::Integer, enorms::AbstractVector{<:Number}, error::AbstractPetscVec, vf::Vector{PetscViewerAndFormat}) - error("DMAdaptorMonitorErrorDraw: no generated method for these argument types") + throw(MethodError(DMAdaptorMonitorErrorDraw, (petsclib, adaptor, n, odm, adm, Nf, enorms, error, vf))) end @for_petsc function DMAdaptorMonitorErrorDraw(petsclib::$UnionPetscLib, adaptor::DMAdaptor, n::$PetscInt, odm::AbstractPetscDM, adm::AbstractPetscDM, Nf::$PetscInt, enorms::Vector{$PetscReal}, error::AbstractPetscVec, vf::Vector{PetscViewerAndFormat} ) @@ -540,7 +540,7 @@ See also: `PETSCVIEWERDRAW`, `DMAdaptor`, `DMAdaptorMonitorSet()`, `DMAdaptorMon $(_doc_external("DM/DMAdaptorMonitorErrorDrawLG")) """ function DMAdaptorMonitorErrorDrawLG(petsclib::PetscLibType, adaptor::DMAdaptor, n::Integer, odm::AbstractPetscDM, adm::AbstractPetscDM, Nf::Integer, enorms::AbstractVector{<:Number}, error::AbstractPetscVec, vf::Vector{PetscViewerAndFormat}) - error("DMAdaptorMonitorErrorDrawLG: no generated method for these argument types") + throw(MethodError(DMAdaptorMonitorErrorDrawLG, (petsclib, adaptor, n, odm, adm, Nf, enorms, error, vf))) end @for_petsc function DMAdaptorMonitorErrorDrawLG(petsclib::$UnionPetscLib, adaptor::DMAdaptor, n::$PetscInt, odm::AbstractPetscDM, adm::AbstractPetscDM, Nf::$PetscInt, enorms::Vector{$PetscReal}, error::AbstractPetscVec, vf::Vector{PetscViewerAndFormat} ) @@ -578,7 +578,7 @@ See also: `PETSCVIEWERDRAW`, `PetscViewerMonitorGLSetUp()`, `DMAdaptor`, `DMAdap $(_doc_external("DM/DMAdaptorMonitorErrorDrawLGCreate")) """ function DMAdaptorMonitorErrorDrawLGCreate(petsclib::PetscLibType, viewer::PetscViewer, format::PetscViewerFormat, ctx::Ptr{Cvoid}) - error("DMAdaptorMonitorErrorDrawLGCreate: no generated method for these argument types") + throw(MethodError(DMAdaptorMonitorErrorDrawLGCreate, (petsclib, viewer, format, ctx))) end @for_petsc function DMAdaptorMonitorErrorDrawLGCreate(petsclib::$UnionPetscLib, viewer::PetscViewer, format::PetscViewerFormat, ctx::Ptr{Cvoid} ) @@ -618,7 +618,7 @@ See also: `DMAdaptor`, `DMAdaptorMonitorSet()`, `DMAdaptorMonitorRegisterAll()`, $(_doc_external("DM/DMAdaptorMonitorRegister")) """ function DMAdaptorMonitorRegister(petsclib::PetscLibType, name::String, vtype::String, format::PetscViewerFormat, monitor::external, create::external, destroy::external) - error("DMAdaptorMonitorRegister: no generated method for these argument types") + throw(MethodError(DMAdaptorMonitorRegister, (petsclib, name, vtype, format, monitor, create, destroy))) end @for_petsc function DMAdaptorMonitorRegister(petsclib::$UnionPetscLib, name::String, vtype::String, format::PetscViewerFormat, monitor::external, create::external, destroy::external ) @@ -648,7 +648,7 @@ See also: `SNES`, `DM`, `DMAdaptorMonitorRegister()`, `DMAdaptorRegister()` $(_doc_external("DM/DMAdaptorMonitorRegisterAll")) """ function DMAdaptorMonitorRegisterAll(petsclib::PetscLibType) - error("DMAdaptorMonitorRegisterAll: no generated method for these argument types") + throw(MethodError(DMAdaptorMonitorRegisterAll, (petsclib, ))) end @for_petsc function DMAdaptorMonitorRegisterAll(petsclib::$UnionPetscLib) @@ -677,7 +677,7 @@ See also: `DM`, `DMPLEX`, `DMAdaptorMonitorRegisterAll()`, `DMAdaptor`, `PetscFi $(_doc_external("DM/DMAdaptorMonitorRegisterDestroy")) """ function DMAdaptorMonitorRegisterDestroy(petsclib::PetscLibType) - error("DMAdaptorMonitorRegisterDestroy: no generated method for these argument types") + throw(MethodError(DMAdaptorMonitorRegisterDestroy, (petsclib, ))) end @for_petsc function DMAdaptorMonitorRegisterDestroy(petsclib::$UnionPetscLib) @@ -730,7 +730,7 @@ See also: `DMAdaptorMonitorError()`, `DMAdaptor`, `PetscCtxDestroyFn` $(_doc_external("DM/DMAdaptorMonitorSet")) """ function DMAdaptorMonitorSet(petsclib::PetscLibType, adaptor::DMAdaptor, monitor::external, ctx::Ptr{Cvoid}, monitordestroy::Ptr{Cvoid}) - error("DMAdaptorMonitorSet: no generated method for these argument types") + throw(MethodError(DMAdaptorMonitorSet, (petsclib, adaptor, monitor, ctx, monitordestroy))) end @for_petsc function DMAdaptorMonitorSet(petsclib::$UnionPetscLib, adaptor::DMAdaptor, monitor::external, ctx::Ptr{Cvoid}, monitordestroy::Ptr{Cvoid} ) @@ -766,7 +766,7 @@ See also: `DMAdaptorMonitorRegister()`, `DMAdaptorMonitorSet()`, `PetscOptionsGe $(_doc_external("DM/DMAdaptorMonitorSetFromOptions")) """ function DMAdaptorMonitorSetFromOptions(petsclib::PetscLibType, adaptor::DMAdaptor, opt::String, name::String, ctx::Ptr{Cvoid}) - error("DMAdaptorMonitorSetFromOptions: no generated method for these argument types") + throw(MethodError(DMAdaptorMonitorSetFromOptions, (petsclib, adaptor, opt, name, ctx))) end @for_petsc function DMAdaptorMonitorSetFromOptions(petsclib::$UnionPetscLib, adaptor::DMAdaptor, opt::String, name::String, ctx::Ptr{Cvoid} ) @@ -809,7 +809,7 @@ See also: `DMAdaptor`, `DMAdaptorMonitorSet()`, `DMAdaptorMonitorError()`, `DMAd $(_doc_external("DM/DMAdaptorMonitorSize")) """ function DMAdaptorMonitorSize(petsclib::PetscLibType, adaptor::DMAdaptor, n::Integer, odm::AbstractPetscDM, adm::AbstractPetscDM, Nf::Integer, enorms::AbstractVector{<:Number}, error::AbstractPetscVec, vf::Vector{PetscViewerAndFormat}) - error("DMAdaptorMonitorSize: no generated method for these argument types") + throw(MethodError(DMAdaptorMonitorSize, (petsclib, adaptor, n, odm, adm, Nf, enorms, error, vf))) end @for_petsc function DMAdaptorMonitorSize(petsclib::$UnionPetscLib, adaptor::DMAdaptor, n::$PetscInt, odm::AbstractPetscDM, adm::AbstractPetscDM, Nf::$PetscInt, enorms::Vector{$PetscReal}, error::AbstractPetscVec, vf::Vector{PetscViewerAndFormat} ) @@ -841,7 +841,7 @@ See also: `DM`, `DMPLEX`, `DMAdaptor`, `DMAdaptorRegisterAll()`, `DMAdaptorRegis $(_doc_external("DM/DMAdaptorRegister")) """ function DMAdaptorRegister(petsclib::PetscLibType, name::String, noname::Ptr{Cvoid}) - error("DMAdaptorRegister: no generated method for these argument types") + throw(MethodError(DMAdaptorRegister, (petsclib, name, noname))) end @for_petsc function DMAdaptorRegister(petsclib::$UnionPetscLib, name::String, noname::Ptr{Cvoid} ) @@ -871,7 +871,7 @@ See also: `DM`, `DMPLEX`, `DMAdaptorType`, `DMRegisterAll()`, `DMAdaptorRegister $(_doc_external("DM/DMAdaptorRegisterAll")) """ function DMAdaptorRegisterAll(petsclib::PetscLibType) - error("DMAdaptorRegisterAll: no generated method for these argument types") + throw(MethodError(DMAdaptorRegisterAll, (petsclib, ))) end @for_petsc function DMAdaptorRegisterAll(petsclib::$UnionPetscLib) @@ -900,7 +900,7 @@ See also: `DM`, `DMPLEX`, `DMAdaptorRegisterAll()`, `DMAdaptorType`, `PetscFinal $(_doc_external("DM/DMAdaptorRegisterDestroy")) """ function DMAdaptorRegisterDestroy(petsclib::PetscLibType) - error("DMAdaptorRegisterDestroy: no generated method for these argument types") + throw(MethodError(DMAdaptorRegisterDestroy, (petsclib, ))) end @for_petsc function DMAdaptorRegisterDestroy(petsclib::$UnionPetscLib) @@ -933,7 +933,7 @@ See also: `DMAdaptor`, `DMAdaptorGetCriterion()`, `DMAdaptationCriterion` $(_doc_external("DM/DMAdaptorSetCriterion")) """ function DMAdaptorSetCriterion(petsclib::PetscLibType, adaptor::DMAdaptor, criterion::DMAdaptationCriterion) - error("DMAdaptorSetCriterion: no generated method for these argument types") + throw(MethodError(DMAdaptorSetCriterion, (petsclib, adaptor, criterion))) end @for_petsc function DMAdaptorSetCriterion(petsclib::$UnionPetscLib, adaptor::DMAdaptor, criterion::DMAdaptationCriterion ) @@ -974,7 +974,7 @@ See also: `DM`, `DMAdaptor`, `DMAdaptorCreate()`, `DMAdaptorAdapt()` $(_doc_external("DM/DMAdaptorSetFromOptions")) """ function DMAdaptorSetFromOptions(petsclib::PetscLibType, adaptor::DMAdaptor) - error("DMAdaptorSetFromOptions: no generated method for these argument types") + throw(MethodError(DMAdaptorSetFromOptions, (petsclib, adaptor))) end @for_petsc function DMAdaptorSetFromOptions(petsclib::$UnionPetscLib, adaptor::DMAdaptor ) @@ -1012,7 +1012,7 @@ See also: `DMAdaptor`, `DMAdaptorGetMixedSetupFunction()`, `DMAdaptorAdapt()` $(_doc_external("DM/DMAdaptorSetMixedSetupFunction")) """ function DMAdaptorSetMixedSetupFunction(petsclib::PetscLibType, adaptor::DMAdaptor, setupFunc::external) - error("DMAdaptorSetMixedSetupFunction: no generated method for these argument types") + throw(MethodError(DMAdaptorSetMixedSetupFunction, (petsclib, adaptor, setupFunc))) end @for_petsc function DMAdaptorSetMixedSetupFunction(petsclib::$UnionPetscLib, adaptor::DMAdaptor, setupFunc::external ) @@ -1046,7 +1046,7 @@ See also: `DMAdaptor`, `SNESSetOptionsPrefix()`, `DMAdaptorSetFromOptions()` $(_doc_external("DM/DMAdaptorSetOptionsPrefix")) """ function DMAdaptorSetOptionsPrefix(petsclib::PetscLibType, adaptor::DMAdaptor, prefix::String) - error("DMAdaptorSetOptionsPrefix: no generated method for these argument types") + throw(MethodError(DMAdaptorSetOptionsPrefix, (petsclib, adaptor, prefix))) end @for_petsc function DMAdaptorSetOptionsPrefix(petsclib::$UnionPetscLib, adaptor::DMAdaptor, prefix::String ) @@ -1080,7 +1080,7 @@ See also: `DMAdaptorGetSequenceLength()`, `DMAdaptorCreate()`, `DMAdaptorAdapt() $(_doc_external("DM/DMAdaptorSetSequenceLength")) """ function DMAdaptorSetSequenceLength(petsclib::PetscLibType, adaptor::DMAdaptor, num::Integer) - error("DMAdaptorSetSequenceLength: no generated method for these argument types") + throw(MethodError(DMAdaptorSetSequenceLength, (petsclib, adaptor, num))) end @for_petsc function DMAdaptorSetSequenceLength(petsclib::$UnionPetscLib, adaptor::DMAdaptor, num::$PetscInt ) @@ -1114,7 +1114,7 @@ See also: `DMAdaptor`, `DMAdaptorGetSolver()`, `DMAdaptorCreate()`, `DMAdaptorAd $(_doc_external("DM/DMAdaptorSetSolver")) """ function DMAdaptorSetSolver(petsclib::PetscLibType, adaptor::DMAdaptor, snes::AbstractSNES) - error("DMAdaptorSetSolver: no generated method for these argument types") + throw(MethodError(DMAdaptorSetSolver, (petsclib, adaptor, snes))) end @for_petsc function DMAdaptorSetSolver(petsclib::$UnionPetscLib, adaptor::DMAdaptor, snes::AbstractSNES ) @@ -1156,7 +1156,7 @@ See also: `DMAdaptor`, `DMAdaptorGetTransferFunction()`, `DMAdaptorAdapt()` $(_doc_external("DM/DMAdaptorSetTransferFunction")) """ function DMAdaptorSetTransferFunction(petsclib::PetscLibType, adaptor::DMAdaptor, tfunc::external) - error("DMAdaptorSetTransferFunction: no generated method for these argument types") + throw(MethodError(DMAdaptorSetTransferFunction, (petsclib, adaptor, tfunc))) end @for_petsc function DMAdaptorSetTransferFunction(petsclib::$UnionPetscLib, adaptor::DMAdaptor, tfunc::external ) @@ -1193,7 +1193,7 @@ See also: `DM`, `DMPLEX`, `DMAdaptor`, `DMAdaptorType`, `DMAdaptorGetType()`, `D $(_doc_external("DM/DMAdaptorSetType")) """ function DMAdaptorSetType(petsclib::PetscLibType, adaptor::DMAdaptor, method::String) - error("DMAdaptorSetType: no generated method for these argument types") + throw(MethodError(DMAdaptorSetType, (petsclib, adaptor, method))) end @for_petsc function DMAdaptorSetType(petsclib::$UnionPetscLib, adaptor::DMAdaptor, method::String ) @@ -1226,7 +1226,7 @@ See also: `DMAdaptor`, `DMAdaptorCreate()`, `DMAdaptorAdapt()` $(_doc_external("DM/DMAdaptorSetUp")) """ function DMAdaptorSetUp(petsclib::PetscLibType, adaptor::DMAdaptor) - error("DMAdaptorSetUp: no generated method for these argument types") + throw(MethodError(DMAdaptorSetUp, (petsclib, adaptor))) end @for_petsc function DMAdaptorSetUp(petsclib::$UnionPetscLib, adaptor::DMAdaptor ) @@ -1260,7 +1260,7 @@ See also: `DM`, `DMAdaptor`, `DMAdaptorCreate()`, `DMAdaptorAdapt()` $(_doc_external("DM/DMAdaptorView")) """ function DMAdaptorView(petsclib::PetscLibType, adaptor::DMAdaptor, viewer::PetscViewer) - error("DMAdaptorView: no generated method for these argument types") + throw(MethodError(DMAdaptorView, (petsclib, adaptor, viewer))) end @for_petsc function DMAdaptorView(petsclib::$UnionPetscLib, adaptor::DMAdaptor, viewer::PetscViewer ) @@ -1298,7 +1298,7 @@ See also: `DMField`, `DMFIELDDA`, `DMDA`, `DMFieldCreate()`, `DMFieldCreateDS()` $(_doc_external("DM/DMFieldCreateDA")) """ function DMFieldCreateDA(petsclib::PetscLibType, dm::AbstractPetscDM, nc::Integer, cornerValues::AbstractVector{<:Number}) - error("DMFieldCreateDA: no generated method for these argument types") + throw(MethodError(DMFieldCreateDA, (petsclib, dm, nc, cornerValues))) end @for_petsc function DMFieldCreateDA(petsclib::$UnionPetscLib, dm::AbstractPetscDM, nc::$PetscInt, cornerValues::Vector{$PetscScalar} ) @@ -1338,7 +1338,7 @@ See also: `DMField`, `DMFIELDDS`, `DMFieldCreateDSWithDG()`, `DMFieldCreate()`, $(_doc_external("DM/DMFieldCreateDS")) """ function DMFieldCreateDS(petsclib::PetscLibType, dm::AbstractPetscDM, fieldNum::Integer, vec::AbstractPetscVec) - error("DMFieldCreateDS: no generated method for these argument types") + throw(MethodError(DMFieldCreateDS, (petsclib, dm, fieldNum, vec))) end @for_petsc function DMFieldCreateDS(petsclib::$UnionPetscLib, dm::AbstractPetscDM, fieldNum::$PetscInt, vec::AbstractPetscVec ) @@ -1380,7 +1380,7 @@ See also: `DMField`, `DMFIELDDS`, `DMFieldCreateDS()`, `DMFieldCreate()`, `Petsc $(_doc_external("DM/DMFieldCreateDSWithDG")) """ function DMFieldCreateDSWithDG(petsclib::PetscLibType, dm::AbstractPetscDM, dmDG::AbstractPetscDM, fieldNum::Integer, vec::AbstractPetscVec, vecDG::AbstractPetscVec) - error("DMFieldCreateDSWithDG: no generated method for these argument types") + throw(MethodError(DMFieldCreateDSWithDG, (petsclib, dm, dmDG, fieldNum, vec, vecDG))) end @for_petsc function DMFieldCreateDSWithDG(petsclib::$UnionPetscLib, dm::AbstractPetscDM, dmDG::AbstractPetscDM, fieldNum::$PetscInt, vec::AbstractPetscVec, vecDG::AbstractPetscVec ) @@ -1419,7 +1419,7 @@ See also: `DMFieldCreateDefaultQuadrature()`, `DMField`, `PetscQuadrature`, `IS` $(_doc_external("DM/DMFieldCreateDefaultFaceQuadrature")) """ function DMFieldCreateDefaultFaceQuadrature(petsclib::PetscLibType, field::DMField, pointIS::AbstractIS) - error("DMFieldCreateDefaultFaceQuadrature: no generated method for these argument types") + throw(MethodError(DMFieldCreateDefaultFaceQuadrature, (petsclib, field, pointIS))) end @for_petsc function DMFieldCreateDefaultFaceQuadrature(petsclib::$UnionPetscLib, field::DMField, pointIS::AbstractIS ) @@ -1459,7 +1459,7 @@ See also: `DMFieldCreateDefaultFaceQuadrature()`, `DMField`, `PetscQuadrature`, $(_doc_external("DM/DMFieldCreateDefaultQuadrature")) """ function DMFieldCreateDefaultQuadrature(petsclib::PetscLibType, field::DMField, pointIS::AbstractIS) - error("DMFieldCreateDefaultQuadrature: no generated method for these argument types") + throw(MethodError(DMFieldCreateDefaultQuadrature, (petsclib, field, pointIS))) end @for_petsc function DMFieldCreateDefaultQuadrature(petsclib::$UnionPetscLib, field::DMField, pointIS::AbstractIS ) @@ -1500,7 +1500,7 @@ See also: `DMField`, `PetscQuadrature`, `IS`, `PetscFEGeom`, `DMFieldEvaluateFE( $(_doc_external("DM/DMFieldCreateFEGeom")) """ function DMFieldCreateFEGeom(petsclib::PetscLibType, field::DMField, pointIS::AbstractIS, quad::PetscQuadrature, mode::PetscFEGeomMode) - error("DMFieldCreateFEGeom: no generated method for these argument types") + throw(MethodError(DMFieldCreateFEGeom, (petsclib, field, pointIS, quad, mode))) end @for_petsc function DMFieldCreateFEGeom(petsclib::$UnionPetscLib, field::DMField, pointIS::AbstractIS, quad::PetscQuadrature, mode::PetscFEGeomMode ) @@ -1541,7 +1541,7 @@ See also: `DMField`, `DMFIELDSHELL`, `DMFieldShellGetContext()`, `DMFieldShellSe $(_doc_external("DM/DMFieldCreateShell")) """ function DMFieldCreateShell(petsclib::PetscLibType, dm::AbstractPetscDM, numComponents::Integer, continuity::DMFieldContinuity, ctx::Ptr{Cvoid}) - error("DMFieldCreateShell: no generated method for these argument types") + throw(MethodError(DMFieldCreateShell, (petsclib, dm, numComponents, continuity, ctx))) end @for_petsc function DMFieldCreateShell(petsclib::$UnionPetscLib, dm::AbstractPetscDM, numComponents::$PetscInt, continuity::DMFieldContinuity, ctx::Ptr{Cvoid} ) @@ -1576,7 +1576,7 @@ See also: `DMField`, `DMFieldCreate()` $(_doc_external("DM/DMFieldDestroy")) """ function DMFieldDestroy(petsclib::PetscLibType, field::Union{DMField, Ref{DMField}}) - error("DMFieldDestroy: no generated method for these argument types") + throw(MethodError(DMFieldDestroy, (petsclib, field))) end @for_petsc function DMFieldDestroy(petsclib::$UnionPetscLib, field::Union{DMField, Ref{DMField}} ) @@ -1627,7 +1627,7 @@ See also: `DMField`, `DMFieldGetDM()`, `DMFieldGetNumComponents()`, `DMFieldEval $(_doc_external("DM/DMFieldEvaluate")) """ function DMFieldEvaluate(petsclib::PetscLibType, field::DMField, points::AbstractPetscVec, datatype::PetscDataType) - error("DMFieldEvaluate: no generated method for these argument types") + throw(MethodError(DMFieldEvaluate, (petsclib, field, points, datatype))) end @for_petsc function DMFieldEvaluate(petsclib::$UnionPetscLib, field::DMField, points::AbstractPetscVec, datatype::PetscDataType ) @@ -1684,7 +1684,7 @@ See also: `DMField`, `DM`, `DMFieldGetNumComponents()`, `DMFieldEvaluate()`, `DM $(_doc_external("DM/DMFieldEvaluateFE")) """ function DMFieldEvaluateFE(petsclib::PetscLibType, field::DMField, cellIS::AbstractIS, points::PetscQuadrature, datatype::PetscDataType) - error("DMFieldEvaluateFE: no generated method for these argument types") + throw(MethodError(DMFieldEvaluateFE, (petsclib, field, cellIS, points, datatype))) end @for_petsc function DMFieldEvaluateFE(petsclib::$UnionPetscLib, field::DMField, cellIS::AbstractIS, points::PetscQuadrature, datatype::PetscDataType ) @@ -1738,7 +1738,7 @@ See also: `DMField`, `IS`, `DMFieldGetNumComponents()`, `DMFieldEvaluate()`, `DM $(_doc_external("DM/DMFieldEvaluateFV")) """ function DMFieldEvaluateFV(petsclib::PetscLibType, field::DMField, cellIS::AbstractIS, datatype::PetscDataType) - error("DMFieldEvaluateFV: no generated method for these argument types") + throw(MethodError(DMFieldEvaluateFV, (petsclib, field, cellIS, datatype))) end @for_petsc function DMFieldEvaluateFV(petsclib::$UnionPetscLib, field::DMField, cellIS::AbstractIS, datatype::PetscDataType ) @@ -1774,7 +1774,7 @@ See also: `DMFieldInitializePackage()` $(_doc_external("DM/DMFieldFinalizePackage")) """ function DMFieldFinalizePackage(petsclib::PetscLibType) - error("DMFieldFinalizePackage: no generated method for these argument types") + throw(MethodError(DMFieldFinalizePackage, (petsclib, ))) end @for_petsc function DMFieldFinalizePackage(petsclib::$UnionPetscLib) @@ -1809,7 +1809,7 @@ See also: `DMField`, `DM`, `DMFieldEvaluate()` $(_doc_external("DM/DMFieldGetDM")) """ function DMFieldGetDM(petsclib::PetscLibType, field::DMField) - error("DMFieldGetDM: no generated method for these argument types") + throw(MethodError(DMFieldGetDM, (petsclib, field))) end @for_petsc function DMFieldGetDM(petsclib::$UnionPetscLib, field::DMField ) @@ -1850,7 +1850,7 @@ See also: `DMField`, `IS`, `DMFieldEvaluateFE()` $(_doc_external("DM/DMFieldGetDegree")) """ function DMFieldGetDegree(petsclib::PetscLibType, field::DMField, cellIS::AbstractIS) - error("DMFieldGetDegree: no generated method for these argument types") + throw(MethodError(DMFieldGetDegree, (petsclib, field, cellIS))) end @for_petsc function DMFieldGetDegree(petsclib::$UnionPetscLib, field::DMField, cellIS::AbstractIS ) @@ -1890,7 +1890,7 @@ See also: `DMField`, `DMFieldEvaluate()` $(_doc_external("DM/DMFieldGetNumComponents")) """ function DMFieldGetNumComponents(petsclib::PetscLibType, field::DMField) - error("DMFieldGetNumComponents: no generated method for these argument types") + throw(MethodError(DMFieldGetNumComponents, (petsclib, field))) end @for_petsc function DMFieldGetNumComponents(petsclib::$UnionPetscLib, field::DMField ) @@ -1928,7 +1928,7 @@ See also: `DMField`, `DMFieldSetType()`, `DMFieldType`, `PetscObjectTypeCompare( $(_doc_external("DM/DMFieldGetType")) """ function DMFieldGetType(petsclib::PetscLibType, field::DMField) - error("DMFieldGetType: no generated method for these argument types") + throw(MethodError(DMFieldGetType, (petsclib, field))) end @for_petsc function DMFieldGetType(petsclib::$UnionPetscLib, field::DMField ) @@ -1960,7 +1960,7 @@ See also: `DMFieldFinalizePackage()` $(_doc_external("DM/DMFieldInitializePackage")) """ function DMFieldInitializePackage(petsclib::PetscLibType) - error("DMFieldInitializePackage: no generated method for these argument types") + throw(MethodError(DMFieldInitializePackage, (petsclib, ))) end @for_petsc function DMFieldInitializePackage(petsclib::$UnionPetscLib) @@ -1991,7 +1991,7 @@ See also: `DMField`, `DMFieldRegisterAll()`, `DMFieldRegisterDestroy()` $(_doc_external("DM/DMFieldRegister")) """ function DMFieldRegister(petsclib::PetscLibType, sname::String, fnc::external) - error("DMFieldRegister: no generated method for these argument types") + throw(MethodError(DMFieldRegister, (petsclib, sname, fnc))) end @for_petsc function DMFieldRegister(petsclib::$UnionPetscLib, sname::String, fnc::external ) @@ -2025,7 +2025,7 @@ See also: `DMField`, `DMFieldGetType()`, `DMFieldType` $(_doc_external("DM/DMFieldSetType")) """ function DMFieldSetType(petsclib::PetscLibType, field::DMField, type::String) - error("DMFieldSetType: no generated method for these argument types") + throw(MethodError(DMFieldSetType, (petsclib, field, type))) end @for_petsc function DMFieldSetType(petsclib::$UnionPetscLib, field::DMField, type::String ) @@ -2066,7 +2066,7 @@ See also: `DMField`, `DMFIELDSHELL`, `DMFieldShellSetEvaluateFE()`, `DMFieldShel $(_doc_external("DM/DMFieldShellEvaluateFEDefault")) """ function DMFieldShellEvaluateFEDefault(petsclib::PetscLibType, field::DMField, pointIS::AbstractIS, quad::PetscQuadrature, type::PetscDataType) - error("DMFieldShellEvaluateFEDefault: no generated method for these argument types") + throw(MethodError(DMFieldShellEvaluateFEDefault, (petsclib, field, pointIS, quad, type))) end @for_petsc function DMFieldShellEvaluateFEDefault(petsclib::$UnionPetscLib, field::DMField, pointIS::AbstractIS, quad::PetscQuadrature, type::PetscDataType ) @@ -2112,7 +2112,7 @@ See also: `DMField`, `DMFIELDSHELL`, `DMFieldShellSetEvaluateFV()`, `DMFieldShel $(_doc_external("DM/DMFieldShellEvaluateFVDefault")) """ function DMFieldShellEvaluateFVDefault(petsclib::PetscLibType, field::DMField, pointIS::AbstractIS, type::PetscDataType) - error("DMFieldShellEvaluateFVDefault: no generated method for these argument types") + throw(MethodError(DMFieldShellEvaluateFVDefault, (petsclib, field, pointIS, type))) end @for_petsc function DMFieldShellEvaluateFVDefault(petsclib::$UnionPetscLib, field::DMField, pointIS::AbstractIS, type::PetscDataType ) @@ -2154,7 +2154,7 @@ See also: `DMField`, `DMFIELDSHELL`, `DMFieldCreateShell()` $(_doc_external("DM/DMFieldShellGetContext")) """ function DMFieldShellGetContext(petsclib::PetscLibType, field::DMField) - error("DMFieldShellGetContext: no generated method for these argument types") + throw(MethodError(DMFieldShellGetContext, (petsclib, field))) end @for_petsc function DMFieldShellGetContext(petsclib::$UnionPetscLib, field::DMField ) @@ -2195,7 +2195,7 @@ See also: `DMField`, `DMFIELDSHELL`, `DMFieldCreateShell()`, `DMFieldCreateDefau $(_doc_external("DM/DMFieldShellSetCreateDefaultQuadrature")) """ function DMFieldShellSetCreateDefaultQuadrature(petsclib::PetscLibType, field::DMField, create::external) - error("DMFieldShellSetCreateDefaultQuadrature: no generated method for these argument types") + throw(MethodError(DMFieldShellSetCreateDefaultQuadrature, (petsclib, field, create))) end @for_petsc function DMFieldShellSetCreateDefaultQuadrature(petsclib::$UnionPetscLib, field::DMField, create::external ) @@ -2232,7 +2232,7 @@ See also: `DMField`, `DMFIELDSHELL`, `DMFieldCreateShell()`, `DMFieldDestroy()` $(_doc_external("DM/DMFieldShellSetDestroy")) """ function DMFieldShellSetDestroy(petsclib::PetscLibType, field::DMField, destroy::external) - error("DMFieldShellSetDestroy: no generated method for these argument types") + throw(MethodError(DMFieldShellSetDestroy, (petsclib, field, destroy))) end @for_petsc function DMFieldShellSetDestroy(petsclib::$UnionPetscLib, field::DMField, destroy::external ) @@ -2274,7 +2274,7 @@ See also: `DMField`, `DMFIELDSHELL`, `DMFieldCreateShell()`, `DMFieldEvaluate()` $(_doc_external("DM/DMFieldShellSetEvaluate")) """ function DMFieldShellSetEvaluate(petsclib::PetscLibType, field::DMField, evaluate::external) - error("DMFieldShellSetEvaluate: no generated method for these argument types") + throw(MethodError(DMFieldShellSetEvaluate, (petsclib, field, evaluate))) end @for_petsc function DMFieldShellSetEvaluate(petsclib::$UnionPetscLib, field::DMField, evaluate::external ) @@ -2317,7 +2317,7 @@ See also: `DMField`, `DMFIELDSHELL`, `DMFieldCreateShell()`, `DMFieldEvaluateFE( $(_doc_external("DM/DMFieldShellSetEvaluateFE")) """ function DMFieldShellSetEvaluateFE(petsclib::PetscLibType, field::DMField, evaluateFE::external) - error("DMFieldShellSetEvaluateFE: no generated method for these argument types") + throw(MethodError(DMFieldShellSetEvaluateFE, (petsclib, field, evaluateFE))) end @for_petsc function DMFieldShellSetEvaluateFE(petsclib::$UnionPetscLib, field::DMField, evaluateFE::external ) @@ -2359,7 +2359,7 @@ See also: `DMField`, `DMFIELDSHELL`, `DMFieldCreateShell()`, `DMFieldEvaluateFV( $(_doc_external("DM/DMFieldShellSetEvaluateFV")) """ function DMFieldShellSetEvaluateFV(petsclib::PetscLibType, field::DMField, evaluateFV::external) - error("DMFieldShellSetEvaluateFV: no generated method for these argument types") + throw(MethodError(DMFieldShellSetEvaluateFV, (petsclib, field, evaluateFV))) end @for_petsc function DMFieldShellSetEvaluateFV(petsclib::$UnionPetscLib, field::DMField, evaluateFV::external ) @@ -2399,7 +2399,7 @@ See also: `DMField`, `DMFIELDSHELL`, `DMFieldCreateShell()`, `DMFieldGetDegree() $(_doc_external("DM/DMFieldShellSetGetDegree")) """ function DMFieldShellSetGetDegree(petsclib::PetscLibType, field::DMField, getDegree::external) - error("DMFieldShellSetGetDegree: no generated method for these argument types") + throw(MethodError(DMFieldShellSetGetDegree, (petsclib, field, getDegree))) end @for_petsc function DMFieldShellSetGetDegree(petsclib::$UnionPetscLib, field::DMField, getDegree::external ) @@ -2433,7 +2433,7 @@ See also: `DMField`, `DMFieldCreate()` $(_doc_external("DM/DMFieldView")) """ function DMFieldView(petsclib::PetscLibType, field::DMField, viewer::PetscViewer) - error("DMFieldView: no generated method for these argument types") + throw(MethodError(DMFieldView, (petsclib, field, viewer))) end @for_petsc function DMFieldView(petsclib::$UnionPetscLib, field::DMField, viewer::PetscViewer ) @@ -2468,7 +2468,7 @@ See also: `DMLabel`, `DM`, `DMLabelCreate()`, `DMLabelDestroy()` $(_doc_external("DMLabel/DMLabelAddStrata")) """ function DMLabelAddStrata(petsclib::PetscLibType, label::DMLabel, numStrata::Integer, stratumValues::AbstractVector{<:Number}) - error("DMLabelAddStrata: no generated method for these argument types") + throw(MethodError(DMLabelAddStrata, (petsclib, label, numStrata, stratumValues))) end @for_petsc function DMLabelAddStrata(petsclib::$UnionPetscLib, label::DMLabel, numStrata::$PetscInt, stratumValues::Vector{$PetscInt} ) @@ -2502,7 +2502,7 @@ See also: `DMLabel`, `DM`, `DMLabelCreate()`, `DMLabelDestroy()` $(_doc_external("DMLabel/DMLabelAddStrataIS")) """ function DMLabelAddStrataIS(petsclib::PetscLibType, label::DMLabel, valueIS::AbstractIS) - error("DMLabelAddStrataIS: no generated method for these argument types") + throw(MethodError(DMLabelAddStrataIS, (petsclib, label, valueIS))) end @for_petsc function DMLabelAddStrataIS(petsclib::$UnionPetscLib, label::DMLabel, valueIS::AbstractIS ) @@ -2534,7 +2534,7 @@ See also: `DMLabel`, `DM`, `DMLabelCreate()`, `DMLabelDestroy()` $(_doc_external("DMLabel/DMLabelAddStratum")) """ function DMLabelAddStratum(petsclib::PetscLibType, label::DMLabel, value::Integer) - error("DMLabelAddStratum: no generated method for these argument types") + throw(MethodError(DMLabelAddStratum, (petsclib, label, value))) end @for_petsc function DMLabelAddStratum(petsclib::$UnionPetscLib, label::DMLabel, value::$PetscInt ) @@ -2568,7 +2568,7 @@ See also: `DMLabel`, `DM`, `DMLabelCreate()`, `DMLabelGetValue()`, `DMLabelSetVa $(_doc_external("DMLabel/DMLabelClearStratum")) """ function DMLabelClearStratum(petsclib::PetscLibType, label::DMLabel, value::Integer) - error("DMLabelClearStratum: no generated method for these argument types") + throw(MethodError(DMLabelClearStratum, (petsclib, label, value))) end @for_petsc function DMLabelClearStratum(petsclib::$UnionPetscLib, label::DMLabel, value::$PetscInt ) @@ -2603,7 +2603,7 @@ See also: `DMLabel`, `DM`, `DMLabelCreate()`, `DMLabelGetValue()`, `DMLabelSetVa $(_doc_external("DMLabel/DMLabelClearValue")) """ function DMLabelClearValue(petsclib::PetscLibType, label::DMLabel, point::Integer, value::Integer) - error("DMLabelClearValue: no generated method for these argument types") + throw(MethodError(DMLabelClearValue, (petsclib, label, point, value))) end @for_petsc function DMLabelClearValue(petsclib::$UnionPetscLib, label::DMLabel, point::$PetscInt, value::$PetscInt ) @@ -2642,7 +2642,7 @@ See also: `DMLabel`, `DM`, `DMCompareLabels()`, `DMLabelGetNumValues()`, `DMLabe $(_doc_external("DMLabel/DMLabelCompare")) """ function DMLabelCompare(petsclib::PetscLibType, comm::MPI_Comm, l0::DMLabel, l1::DMLabel) - error("DMLabelCompare: no generated method for these argument types") + throw(MethodError(DMLabelCompare, (petsclib, comm, l0, l1))) end @for_petsc function DMLabelCompare(petsclib::$UnionPetscLib, comm::MPI_Comm, l0::DMLabel, l1::DMLabel ) @@ -2679,7 +2679,7 @@ See also: `DMLabel`, `DM`, `DMLabelHasPoint()`, `DMLabelCreateIndex()`, `DMLabel $(_doc_external("DMLabel/DMLabelComputeIndex")) """ function DMLabelComputeIndex(petsclib::PetscLibType, label::DMLabel) - error("DMLabelComputeIndex: no generated method for these argument types") + throw(MethodError(DMLabelComputeIndex, (petsclib, label))) end @for_petsc function DMLabelComputeIndex(petsclib::$UnionPetscLib, label::DMLabel ) @@ -2716,7 +2716,7 @@ See also: `DMLabel`, `DM`, `DMLabelDistribute()` $(_doc_external("DMLabel/DMLabelConvertToSection")) """ function DMLabelConvertToSection(petsclib::PetscLibType, label::DMLabel) - error("DMLabelConvertToSection: no generated method for these argument types") + throw(MethodError(DMLabelConvertToSection, (petsclib, label))) end @for_petsc function DMLabelConvertToSection(petsclib::$UnionPetscLib, label::DMLabel ) @@ -2757,7 +2757,7 @@ See also: `DMLabel`, `DM`, `DMLabelDestroy()` $(_doc_external("DMLabel/DMLabelCreate")) """ function DMLabelCreate(petsclib::PetscLibType, comm::MPI_Comm, name::String) - error("DMLabelCreate: no generated method for these argument types") + throw(MethodError(DMLabelCreate, (petsclib, comm, name))) end @for_petsc function DMLabelCreate(petsclib::$UnionPetscLib, comm::MPI_Comm, name::String ) @@ -2794,7 +2794,7 @@ See also: `DMLabel`, `DM`, `DMLabelHasPoint()`, `DMLabelComputeIndex()`, `DMLabe $(_doc_external("DMLabel/DMLabelCreateIndex")) """ function DMLabelCreateIndex(petsclib::PetscLibType, label::DMLabel, pStart::Integer, pEnd::Integer) - error("DMLabelCreateIndex: no generated method for these argument types") + throw(MethodError(DMLabelCreateIndex, (petsclib, label, pStart, pEnd))) end @for_petsc function DMLabelCreateIndex(petsclib::$UnionPetscLib, label::DMLabel, pStart::$PetscInt, pEnd::$PetscInt ) @@ -2827,7 +2827,7 @@ See also: `DMLabel`, `DM`, `DMLabelReset()`, `DMLabelCreate()` $(_doc_external("DMLabel/DMLabelDestroy")) """ function DMLabelDestroy(petsclib::PetscLibType, label::Union{DMLabel, Ref{DMLabel}}) - error("DMLabelDestroy: no generated method for these argument types") + throw(MethodError(DMLabelDestroy, (petsclib, label))) end @for_petsc function DMLabelDestroy(petsclib::$UnionPetscLib, label::Union{DMLabel, Ref{DMLabel}} ) @@ -2861,7 +2861,7 @@ See also: `DMLabel`, `DM`, `DMLabelHasPoint()`, `DMLabelCreateIndex()`, `DMLabel $(_doc_external("DMLabel/DMLabelDestroyIndex")) """ function DMLabelDestroyIndex(petsclib::PetscLibType, label::DMLabel) - error("DMLabelDestroyIndex: no generated method for these argument types") + throw(MethodError(DMLabelDestroyIndex, (petsclib, label))) end @for_petsc function DMLabelDestroyIndex(petsclib::$UnionPetscLib, label::DMLabel ) @@ -2898,7 +2898,7 @@ See also: `DMLabel`, `DM`, `DMLabelCreate()`, `DMLabelGetValue()`, `DMLabelSetVa $(_doc_external("DMLabel/DMLabelDistribute")) """ function DMLabelDistribute(petsclib::PetscLibType, label::DMLabel, sf::PetscSF) - error("DMLabelDistribute: no generated method for these argument types") + throw(MethodError(DMLabelDistribute, (petsclib, label, sf))) end @for_petsc function DMLabelDistribute(petsclib::$UnionPetscLib, label::DMLabel, sf::PetscSF ) @@ -2936,7 +2936,7 @@ See also: `DMLabel`, `DM`, `DMLabelCreate()`, `DMLabelDestroy()` $(_doc_external("DMLabel/DMLabelDuplicate")) """ function DMLabelDuplicate(petsclib::PetscLibType, label::DMLabel) - error("DMLabelDuplicate: no generated method for these argument types") + throw(MethodError(DMLabelDuplicate, (petsclib, label))) end @for_petsc function DMLabelDuplicate(petsclib::$UnionPetscLib, label::DMLabel ) @@ -2974,7 +2974,7 @@ See also: `DMLabelEphemeralSetLabel()`, `DMLabelEphemeralGetTransform()`, `DMLab $(_doc_external("DMLabel/DMLabelEphemeralGetLabel")) """ function DMLabelEphemeralGetLabel(petsclib::PetscLibType, label::DMLabel) - error("DMLabelEphemeralGetLabel: no generated method for these argument types") + throw(MethodError(DMLabelEphemeralGetLabel, (petsclib, label))) end @for_petsc function DMLabelEphemeralGetLabel(petsclib::$UnionPetscLib, label::DMLabel ) @@ -3012,7 +3012,7 @@ See also: `DMLabelEphemeralSetTransform()`, `DMLabelEphemeralGetLabel()`, `DMLab $(_doc_external("DMLabel/DMLabelEphemeralGetTransform")) """ function DMLabelEphemeralGetTransform(petsclib::PetscLibType, label::DMLabel) - error("DMLabelEphemeralGetTransform: no generated method for these argument types") + throw(MethodError(DMLabelEphemeralGetTransform, (petsclib, label))) end @for_petsc function DMLabelEphemeralGetTransform(petsclib::$UnionPetscLib, label::DMLabel ) @@ -3048,7 +3048,7 @@ See also: `DMLabelEphemeralGetLabel()`, `DMLabelEphemeralSetTransform()`, `DMLab $(_doc_external("DMLabel/DMLabelEphemeralSetLabel")) """ function DMLabelEphemeralSetLabel(petsclib::PetscLibType, label::DMLabel, olabel::DMLabel) - error("DMLabelEphemeralSetLabel: no generated method for these argument types") + throw(MethodError(DMLabelEphemeralSetLabel, (petsclib, label, olabel))) end @for_petsc function DMLabelEphemeralSetLabel(petsclib::$UnionPetscLib, label::DMLabel, olabel::DMLabel ) @@ -3082,7 +3082,7 @@ See also: `DMLabelEphemeralGetTransform()`, `DMLabelEphemeralSetLabel()`, `DMLab $(_doc_external("DMLabel/DMLabelEphemeralSetTransform")) """ function DMLabelEphemeralSetTransform(petsclib::PetscLibType, label::DMLabel, tr::DMPlexTransform) - error("DMLabelEphemeralSetTransform: no generated method for these argument types") + throw(MethodError(DMLabelEphemeralSetTransform, (petsclib, label, tr))) end @for_petsc function DMLabelEphemeralSetTransform(petsclib::$UnionPetscLib, label::DMLabel, tr::DMPlexTransform ) @@ -3117,7 +3117,7 @@ See also: `DMLabel`, `DM`, `DMLabelCreate()`, `DMLabelGetValue()`, `DMLabelSetVa $(_doc_external("DMLabel/DMLabelFilter")) """ function DMLabelFilter(petsclib::PetscLibType, label::DMLabel, start::Integer, end_::Integer) - error("DMLabelFilter: no generated method for these argument types") + throw(MethodError(DMLabelFilter, (petsclib, label, start, end_))) end @for_petsc function DMLabelFilter(petsclib::$UnionPetscLib, label::DMLabel, start::$PetscInt, end_::$PetscInt ) @@ -3154,7 +3154,7 @@ See also: `DMLabel`, `DM`, `DMLabelDistribute()` $(_doc_external("DMLabel/DMLabelGather")) """ function DMLabelGather(petsclib::PetscLibType, label::DMLabel, sf::PetscSF) - error("DMLabelGather: no generated method for these argument types") + throw(MethodError(DMLabelGather, (petsclib, label, sf))) end @for_petsc function DMLabelGather(petsclib::$UnionPetscLib, label::DMLabel, sf::PetscSF ) @@ -3193,7 +3193,7 @@ See also: `DMLabel`, `DM`, `DMLabelHasPoint()`, `DMLabelCreateIndex()`, `DMLabel $(_doc_external("DMLabel/DMLabelGetBounds")) """ function DMLabelGetBounds(petsclib::PetscLibType, label::DMLabel) - error("DMLabelGetBounds: no generated method for these argument types") + throw(MethodError(DMLabelGetBounds, (petsclib, label))) end @for_petsc function DMLabelGetBounds(petsclib::$UnionPetscLib, label::DMLabel ) @@ -3234,7 +3234,7 @@ See also: `DMLabel`, `DM`, `DMLabelSetDefaultValue()`, `DMLabelGetValue()`, `DML $(_doc_external("DMLabel/DMLabelGetDefaultValue")) """ function DMLabelGetDefaultValue(petsclib::PetscLibType, label::DMLabel) - error("DMLabelGetDefaultValue: no generated method for these argument types") + throw(MethodError(DMLabelGetDefaultValue, (petsclib, label))) end @for_petsc function DMLabelGetDefaultValue(petsclib::$UnionPetscLib, label::DMLabel ) @@ -3272,7 +3272,7 @@ See also: `DMLabel`, `DM`, `DMLabelGetValueIS()`, `DMLabelGetValueISGlobal()`, ` $(_doc_external("DMLabel/DMLabelGetNonEmptyStratumValuesIS")) """ function DMLabelGetNonEmptyStratumValuesIS(petsclib::PetscLibType, label::DMLabel) - error("DMLabelGetNonEmptyStratumValuesIS: no generated method for these argument types") + throw(MethodError(DMLabelGetNonEmptyStratumValuesIS, (petsclib, label))) end @for_petsc function DMLabelGetNonEmptyStratumValuesIS(petsclib::$UnionPetscLib, label::DMLabel ) @@ -3310,7 +3310,7 @@ See also: `DMLabel`, `DM`, `DMLabelCreate()`, `DMLabelGetValue()`, `DMLabelSetVa $(_doc_external("DMLabel/DMLabelGetNumValues")) """ function DMLabelGetNumValues(petsclib::PetscLibType, label::DMLabel) - error("DMLabelGetNumValues: no generated method for these argument types") + throw(MethodError(DMLabelGetNumValues, (petsclib, label))) end @for_petsc function DMLabelGetNumValues(petsclib::$UnionPetscLib, label::DMLabel ) @@ -3350,7 +3350,7 @@ See also: `DMLabel`, `DM`, `DMLabelCreate()`, `DMLabelGetValue()`, `DMLabelSetVa $(_doc_external("DMLabel/DMLabelGetStratumBounds")) """ function DMLabelGetStratumBounds(petsclib::PetscLibType, label::DMLabel, value::Integer) - error("DMLabelGetStratumBounds: no generated method for these argument types") + throw(MethodError(DMLabelGetStratumBounds, (petsclib, label, value))) end @for_petsc function DMLabelGetStratumBounds(petsclib::$UnionPetscLib, label::DMLabel, value::$PetscInt ) @@ -3391,7 +3391,7 @@ See also: `DMLabel`, `DM`, `DMLabelCreate()`, `DMLabelGetValue()`, `DMLabelSetVa $(_doc_external("DMLabel/DMLabelGetStratumIS")) """ function DMLabelGetStratumIS(petsclib::PetscLibType, label::DMLabel, value::Integer) - error("DMLabelGetStratumIS: no generated method for these argument types") + throw(MethodError(DMLabelGetStratumIS, (petsclib, label, value))) end @for_petsc function DMLabelGetStratumIS(petsclib::$UnionPetscLib, label::DMLabel, value::$PetscInt ) @@ -3431,7 +3431,7 @@ See also: `DMLabel`, `DM`, `DMLabelGetValueIndex()`, `DMLabelGetStratumIS()`, `D $(_doc_external("DMLabel/DMLabelGetStratumPointIndex")) """ function DMLabelGetStratumPointIndex(petsclib::PetscLibType, label::DMLabel, value::Integer, p::Integer) - error("DMLabelGetStratumPointIndex: no generated method for these argument types") + throw(MethodError(DMLabelGetStratumPointIndex, (petsclib, label, value, p))) end @for_petsc function DMLabelGetStratumPointIndex(petsclib::$UnionPetscLib, label::DMLabel, value::$PetscInt, p::$PetscInt ) @@ -3470,7 +3470,7 @@ See also: `DMLabel`, `DM`, `DMLabelCreate()`, `DMLabelGetValue()`, `DMLabelSetVa $(_doc_external("DMLabel/DMLabelGetStratumSize")) """ function DMLabelGetStratumSize(petsclib::PetscLibType, label::DMLabel, value::Integer) - error("DMLabelGetStratumSize: no generated method for these argument types") + throw(MethodError(DMLabelGetStratumSize, (petsclib, label, value))) end @for_petsc function DMLabelGetStratumSize(petsclib::$UnionPetscLib, label::DMLabel, value::$PetscInt ) @@ -3508,7 +3508,7 @@ See also: `DMLabel`, `DM`, `DMLabelSetType()`, `DMLabelCreate()` $(_doc_external("DMLabel/DMLabelGetType")) """ function DMLabelGetType(petsclib::PetscLibType, label::DMLabel) - error("DMLabelGetType: no generated method for these argument types") + throw(MethodError(DMLabelGetType, (petsclib, label))) end @for_petsc function DMLabelGetType(petsclib::$UnionPetscLib, label::DMLabel ) @@ -3548,7 +3548,7 @@ See also: `DMLabel`, `DM`, `DMLabelCreate()`, `DMLabelSetValue()`, `DMLabelClear $(_doc_external("DMLabel/DMLabelGetValue")) """ function DMLabelGetValue(petsclib::PetscLibType, label::DMLabel, point::Integer) - error("DMLabelGetValue: no generated method for these argument types") + throw(MethodError(DMLabelGetValue, (petsclib, label, point))) end @for_petsc function DMLabelGetValue(petsclib::$UnionPetscLib, label::DMLabel, point::$PetscInt ) @@ -3587,7 +3587,7 @@ See also: `DMLabel`, `DM`, `DMLabelGetBounds()`, `DMLabelGetValue()`, `DMLabelSe $(_doc_external("DMLabel/DMLabelGetValueBounds")) """ function DMLabelGetValueBounds(petsclib::PetscLibType, label::DMLabel) - error("DMLabelGetValueBounds: no generated method for these argument types") + throw(MethodError(DMLabelGetValueBounds, (petsclib, label))) end @for_petsc function DMLabelGetValueBounds(petsclib::$UnionPetscLib, label::DMLabel ) @@ -3627,7 +3627,7 @@ See also: `DMLabel`, `DM`, `DMLabelGetNonEmptyStratumValuesIS()`, `DMLabelGetVal $(_doc_external("DMLabel/DMLabelGetValueIS")) """ function DMLabelGetValueIS(petsclib::PetscLibType, label::DMLabel) - error("DMLabelGetValueIS: no generated method for these argument types") + throw(MethodError(DMLabelGetValueIS, (petsclib, label))) end @for_petsc function DMLabelGetValueIS(petsclib::$UnionPetscLib, label::DMLabel ) @@ -3667,7 +3667,7 @@ See also: `DMLabel`, `DM`, `DMLabelGetValueIS()`, `DMLabelGetNonEmptyStratumValu $(_doc_external("DMLabel/DMLabelGetValueISGlobal")) """ function DMLabelGetValueISGlobal(petsclib::PetscLibType, comm::MPI_Comm, label::DMLabel, get_nonempty::PetscBool) - error("DMLabelGetValueISGlobal: no generated method for these argument types") + throw(MethodError(DMLabelGetValueISGlobal, (petsclib, comm, label, get_nonempty))) end @for_petsc function DMLabelGetValueISGlobal(petsclib::$UnionPetscLib, comm::MPI_Comm, label::DMLabel, get_nonempty::PetscBool ) @@ -3706,7 +3706,7 @@ See also: `DMLabel`, `DM`, `DMLabelGetValueIS()`, `DMLabelCreate()`, `DMLabelGet $(_doc_external("DMLabel/DMLabelGetValueIndex")) """ function DMLabelGetValueIndex(petsclib::PetscLibType, label::DMLabel, value::Integer) - error("DMLabelGetValueIndex: no generated method for these argument types") + throw(MethodError(DMLabelGetValueIndex, (petsclib, label, value))) end @for_petsc function DMLabelGetValueIndex(petsclib::$UnionPetscLib, label::DMLabel, value::$PetscInt ) @@ -3745,7 +3745,7 @@ See also: `DMLabel`, `DM`, `DMLabelCreateIndex()`, `DMLabelGetValue()`, `DMLabel $(_doc_external("DMLabel/DMLabelHasPoint")) """ function DMLabelHasPoint(petsclib::PetscLibType, label::DMLabel, point::Integer) - error("DMLabelHasPoint: no generated method for these argument types") + throw(MethodError(DMLabelHasPoint, (petsclib, label, point))) end @for_petsc function DMLabelHasPoint(petsclib::$UnionPetscLib, label::DMLabel, point::$PetscInt ) @@ -3784,7 +3784,7 @@ See also: `DMLabel`, `DM`, `DMLabelCreate()`, `DMLabelGetValue()`, `DMLabelSetVa $(_doc_external("DMLabel/DMLabelHasStratum")) """ function DMLabelHasStratum(petsclib::PetscLibType, label::DMLabel, value::Integer) - error("DMLabelHasStratum: no generated method for these argument types") + throw(MethodError(DMLabelHasStratum, (petsclib, label, value))) end @for_petsc function DMLabelHasStratum(petsclib::$UnionPetscLib, label::DMLabel, value::$PetscInt ) @@ -3823,7 +3823,7 @@ See also: `DMLabel`, `DM`, `DMLabelHasPoint()`, `DMLabelGetValue()`, `DMLabelSet $(_doc_external("DMLabel/DMLabelHasValue")) """ function DMLabelHasValue(petsclib::PetscLibType, label::DMLabel, value::Integer) - error("DMLabelHasValue: no generated method for these argument types") + throw(MethodError(DMLabelHasValue, (petsclib, label, value))) end @for_petsc function DMLabelHasValue(petsclib::$UnionPetscLib, label::DMLabel, value::$PetscInt ) @@ -3860,7 +3860,7 @@ See also: `DMLabel`, `DM`, `DMLabelCreate()`, `DMLabelGetValue()`, `DMLabelSetVa $(_doc_external("DMLabel/DMLabelInsertIS")) """ function DMLabelInsertIS(petsclib::PetscLibType, label::DMLabel, is::AbstractIS, value::Integer) - error("DMLabelInsertIS: no generated method for these argument types") + throw(MethodError(DMLabelInsertIS, (petsclib, label, is, value))) end @for_petsc function DMLabelInsertIS(petsclib::$UnionPetscLib, label::DMLabel, is::AbstractIS, value::$PetscInt ) @@ -3897,7 +3897,7 @@ See also: `DMLabel`, `DM`, `DMLabelCreate()`, `DMLabelGetValue()`, `DMLabelSetVa $(_doc_external("DMLabel/DMLabelPermute")) """ function DMLabelPermute(petsclib::PetscLibType, label::DMLabel, permutation::AbstractIS) - error("DMLabelPermute: no generated method for these argument types") + throw(MethodError(DMLabelPermute, (petsclib, label, permutation))) end @for_petsc function DMLabelPermute(petsclib::$UnionPetscLib, label::DMLabel, permutation::AbstractIS ) @@ -3934,7 +3934,7 @@ See also: `DMLabelRewriteValues()`, `DMLabel`, `DM`, `DMLabelPermute()`, `DMLabe $(_doc_external("DMLabel/DMLabelPermuteValues")) """ function DMLabelPermuteValues(petsclib::PetscLibType, label::DMLabel, permutation::AbstractIS) - error("DMLabelPermuteValues: no generated method for these argument types") + throw(MethodError(DMLabelPermuteValues, (petsclib, label, permutation))) end @for_petsc function DMLabelPermuteValues(petsclib::$UnionPetscLib, label::DMLabel, permutation::AbstractIS ) @@ -3968,7 +3968,7 @@ See also: `DMLabel`, `DM`, `DMLabelPropagateEnd()`, `DMLabelPropagatePush()` $(_doc_external("DMLabel/DMLabelPropagateBegin")) """ function DMLabelPropagateBegin(petsclib::PetscLibType, label::DMLabel, sf::PetscSF) - error("DMLabelPropagateBegin: no generated method for these argument types") + throw(MethodError(DMLabelPropagateBegin, (petsclib, label, sf))) end @for_petsc function DMLabelPropagateBegin(petsclib::$UnionPetscLib, label::DMLabel, sf::PetscSF ) @@ -4002,7 +4002,7 @@ See also: `DMLabel`, `DM`, `DMLabelPropagateBegin()`, `DMLabelPropagatePush()` $(_doc_external("DMLabel/DMLabelPropagateEnd")) """ function DMLabelPropagateEnd(petsclib::PetscLibType, label::DMLabel, pointSF::PetscSF) - error("DMLabelPropagateEnd: no generated method for these argument types") + throw(MethodError(DMLabelPropagateEnd, (petsclib, label, pointSF))) end @for_petsc function DMLabelPropagateEnd(petsclib::$UnionPetscLib, label::DMLabel, pointSF::PetscSF ) @@ -4044,7 +4044,7 @@ See also: `DMLabel`, `DM`, `DMLabelPropagateBegin()`, `DMLabelPropagateEnd()` $(_doc_external("DMLabel/DMLabelPropagatePush")) """ function DMLabelPropagatePush(petsclib::PetscLibType, label::DMLabel, pointSF::PetscSF, markPoint::external, ctx::Ptr{Cvoid}) - error("DMLabelPropagatePush: no generated method for these argument types") + throw(MethodError(DMLabelPropagatePush, (petsclib, label, pointSF, markPoint, ctx))) end @for_petsc function DMLabelPropagatePush(petsclib::$UnionPetscLib, label::DMLabel, pointSF::PetscSF, markPoint::external, ctx::Ptr{Cvoid} ) @@ -4076,7 +4076,7 @@ See also: `DMLabel`, `DM`, `DMLabelType`, `DMLabelRegisterAll()`, `DMLabelRegist $(_doc_external("DMLabel/DMLabelRegister")) """ function DMLabelRegister(petsclib::PetscLibType, name::String, noname::Ptr{Cvoid}) - error("DMLabelRegister: no generated method for these argument types") + throw(MethodError(DMLabelRegister, (petsclib, name, noname))) end @for_petsc function DMLabelRegister(petsclib::$UnionPetscLib, name::String, noname::Ptr{Cvoid} ) @@ -4106,7 +4106,7 @@ See also: `DMLabel`, `DM`, `DMRegisterAll()`, `DMLabelRegisterDestroy()` $(_doc_external("DMLabel/DMLabelRegisterAll")) """ function DMLabelRegisterAll(petsclib::PetscLibType) - error("DMLabelRegisterAll: no generated method for these argument types") + throw(MethodError(DMLabelRegisterAll, (petsclib, ))) end @for_petsc function DMLabelRegisterAll(petsclib::$UnionPetscLib) @@ -4133,7 +4133,7 @@ See also: `DMLabel`, `DM`, `PetscInitialize()` $(_doc_external("DMLabel/DMLabelRegisterDestroy")) """ function DMLabelRegisterDestroy(petsclib::PetscLibType) - error("DMLabelRegisterDestroy: no generated method for these argument types") + throw(MethodError(DMLabelRegisterDestroy, (petsclib, ))) end @for_petsc function DMLabelRegisterDestroy(petsclib::$UnionPetscLib) @@ -4165,7 +4165,7 @@ See also: `DMLabel`, `DM`, `DMLabelDestroy()`, `DMLabelCreate()` $(_doc_external("DMLabel/DMLabelReset")) """ function DMLabelReset(petsclib::PetscLibType, label::DMLabel) - error("DMLabelReset: no generated method for these argument types") + throw(MethodError(DMLabelReset, (petsclib, label))) end @for_petsc function DMLabelReset(petsclib::$UnionPetscLib, label::DMLabel ) @@ -4200,7 +4200,7 @@ See also: `DMLabelPermuteValues()`, `DMLabel`, `DM`, `DMLabelPermute()`, `DMLabe $(_doc_external("DMLabel/DMLabelRewriteValues")) """ function DMLabelRewriteValues(petsclib::PetscLibType, label::DMLabel, permutation::AbstractIS) - error("DMLabelRewriteValues: no generated method for these argument types") + throw(MethodError(DMLabelRewriteValues, (petsclib, label, permutation))) end @for_petsc function DMLabelRewriteValues(petsclib::$UnionPetscLib, label::DMLabel, permutation::AbstractIS ) @@ -4237,7 +4237,7 @@ See also: `DMLabel`, `DM`, `DMLabelGetDefaultValue()`, `DMLabelGetValue()`, `DML $(_doc_external("DMLabel/DMLabelSetDefaultValue")) """ function DMLabelSetDefaultValue(petsclib::PetscLibType, label::DMLabel, defaultValue::Integer) - error("DMLabelSetDefaultValue: no generated method for these argument types") + throw(MethodError(DMLabelSetDefaultValue, (petsclib, label, defaultValue))) end @for_petsc function DMLabelSetDefaultValue(petsclib::$UnionPetscLib, label::DMLabel, defaultValue::$PetscInt ) @@ -4273,7 +4273,7 @@ See also: `DMLabel`, `DM`, `DMLabelCreate()`, `DMLabelSetStratumIS()`, `DMLabelG $(_doc_external("DMLabel/DMLabelSetStratumBounds")) """ function DMLabelSetStratumBounds(petsclib::PetscLibType, label::DMLabel, value::Integer, pStart::Integer, pEnd::Integer) - error("DMLabelSetStratumBounds: no generated method for these argument types") + throw(MethodError(DMLabelSetStratumBounds, (petsclib, label, value, pStart, pEnd))) end @for_petsc function DMLabelSetStratumBounds(petsclib::$UnionPetscLib, label::DMLabel, value::$PetscInt, pStart::$PetscInt, pEnd::$PetscInt ) @@ -4308,7 +4308,7 @@ See also: `DMLabel`, `DM`, `DMLabelCreate()`, `DMLabelGetValue()`, `DMLabelSetVa $(_doc_external("DMLabel/DMLabelSetStratumIS")) """ function DMLabelSetStratumIS(petsclib::PetscLibType, label::DMLabel, value::Integer, is::AbstractIS) - error("DMLabelSetStratumIS: no generated method for these argument types") + throw(MethodError(DMLabelSetStratumIS, (petsclib, label, value, is))) end @for_petsc function DMLabelSetStratumIS(petsclib::$UnionPetscLib, label::DMLabel, value::$PetscInt, is::AbstractIS ) @@ -4345,7 +4345,7 @@ See also: `DMLabel`, `DM`, `DMLabelGetType()`, `DMLabelCreate()`, `DMLabelType` $(_doc_external("DMLabel/DMLabelSetType")) """ function DMLabelSetType(petsclib::PetscLibType, label::DMLabel, method::String) - error("DMLabelSetType: no generated method for these argument types") + throw(MethodError(DMLabelSetType, (petsclib, label, method))) end @for_petsc function DMLabelSetType(petsclib::$UnionPetscLib, label::DMLabel, method::String ) @@ -4378,7 +4378,7 @@ See also: `DMLabel`, `DM`, `DMLabelCreate()`, `DMLabelDestroy()` $(_doc_external("DMLabel/DMLabelSetUp")) """ function DMLabelSetUp(petsclib::PetscLibType, label::DMLabel) - error("DMLabelSetUp: no generated method for these argument types") + throw(MethodError(DMLabelSetUp, (petsclib, label))) end @for_petsc function DMLabelSetUp(petsclib::$UnionPetscLib, label::DMLabel ) @@ -4414,7 +4414,7 @@ See also: `DMLabel`, `DM`, `DMLabelCreate()`, `DMLabelGetValue()`, `DMLabelClear $(_doc_external("DMLabel/DMLabelSetValue")) """ function DMLabelSetValue(petsclib::PetscLibType, label::DMLabel, point::Integer, value::Integer) - error("DMLabelSetValue: no generated method for these argument types") + throw(MethodError(DMLabelSetValue, (petsclib, label, point, value))) end @for_petsc function DMLabelSetValue(petsclib::$UnionPetscLib, label::DMLabel, point::$PetscInt, value::$PetscInt ) @@ -4452,7 +4452,7 @@ See also: `DMLabel`, `DM`, `DMLabelCreate()`, `DMLabelSetValue()`, `DMLabelClear $(_doc_external("DMLabel/DMLabelStratumHasPoint")) """ function DMLabelStratumHasPoint(petsclib::PetscLibType, label::DMLabel, value::Integer, point::Integer) - error("DMLabelStratumHasPoint: no generated method for these argument types") + throw(MethodError(DMLabelStratumHasPoint, (petsclib, label, value, point))) end @for_petsc function DMLabelStratumHasPoint(petsclib::$UnionPetscLib, label::DMLabel, value::$PetscInt, point::$PetscInt ) @@ -4488,7 +4488,7 @@ See also: `DMLabel`, `PetscViewer`, `DM`, `DMLabelCreate()`, `DMLabelDestroy()` $(_doc_external("DMLabel/DMLabelView")) """ function DMLabelView(petsclib::PetscLibType, label::DMLabel, viewer::PetscViewer) - error("DMLabelView: no generated method for these argument types") + throw(MethodError(DMLabelView, (petsclib, label, viewer))) end @for_petsc function DMLabelView(petsclib::$UnionPetscLib, label::DMLabel, viewer::PetscViewer ) @@ -4526,7 +4526,7 @@ See also: `DMLabel`, `DMLabelView()`, `PetscObjectViewFromOptions()`, `DMLabelCr $(_doc_external("DMLabel/DMLabelViewFromOptions")) """ function DMLabelViewFromOptions(petsclib::PetscLibType, label::DMLabel, obj, name::String) - error("DMLabelViewFromOptions: no generated method for these argument types") + throw(MethodError(DMLabelViewFromOptions, (petsclib, label, obj, name))) end @for_petsc function DMLabelViewFromOptions(petsclib::$UnionPetscLib, label::DMLabel, obj, name::String ) @@ -4569,7 +4569,7 @@ See also: `DM`, `DMNETWORK`, `DMNetworkMonitor`, `DMNetworkMonitorCreate()`, `DM $(_doc_external("DMNetwork/DMNetworkMonitorAdd")) """ function DMNetworkMonitorAdd(petsclib::PetscLibType, monitor::DMNetworkMonitor, name::String, element::Integer, nodes::Integer, start::Integer, blocksize::Integer, xmin::Real, xmax::Real, ymin::Real, ymax::Real, hold::PetscBool) - error("DMNetworkMonitorAdd: no generated method for these argument types") + throw(MethodError(DMNetworkMonitorAdd, (petsclib, monitor, name, element, nodes, start, blocksize, xmin, xmax, ymin, ymax, hold))) end @for_petsc function DMNetworkMonitorAdd(petsclib::$UnionPetscLib, monitor::DMNetworkMonitor, name::String, element::$PetscInt, nodes::$PetscInt, start::$PetscInt, blocksize::$PetscInt, xmin::$PetscReal, xmax::$PetscReal, ymin::$PetscReal, ymax::$PetscReal, hold::PetscBool ) @@ -4605,7 +4605,7 @@ See also: `DM`, `DMNETWORK`, `DMNetworkMonitor`, `DMNetworkMonitorDestroy()`, `D $(_doc_external("DMNetwork/DMNetworkMonitorCreate")) """ function DMNetworkMonitorCreate(petsclib::PetscLibType, network::AbstractPetscDM) - error("DMNetworkMonitorCreate: no generated method for these argument types") + throw(MethodError(DMNetworkMonitorCreate, (petsclib, network))) end @for_petsc function DMNetworkMonitorCreate(petsclib::$UnionPetscLib, network::AbstractPetscDM ) @@ -4640,7 +4640,7 @@ See also: `DM`, `DMNETWORK`, `DMNetworkMonitor`, `DMNetworkMonitorCreate()`, `DM $(_doc_external("DMNetwork/DMNetworkMonitorDestroy")) """ function DMNetworkMonitorDestroy(petsclib::PetscLibType, monitor::Union{DMNetworkMonitor, Ref{DMNetworkMonitor}}) - error("DMNetworkMonitorDestroy: no generated method for these argument types") + throw(MethodError(DMNetworkMonitorDestroy, (petsclib, monitor))) end @for_petsc function DMNetworkMonitorDestroy(petsclib::$UnionPetscLib, monitor::Union{DMNetworkMonitor, Ref{DMNetworkMonitor}} ) @@ -4674,7 +4674,7 @@ See also: `DM`, `DMNETWORK`, `DMNetworkMonitor`, `DMNetworkMonitorCreate()`, `DM $(_doc_external("DMNetwork/DMNetworkMonitorPop")) """ function DMNetworkMonitorPop(petsclib::PetscLibType, monitor::DMNetworkMonitor) - error("DMNetworkMonitorPop: no generated method for these argument types") + throw(MethodError(DMNetworkMonitorPop, (petsclib, monitor))) end @for_petsc function DMNetworkMonitorPop(petsclib::$UnionPetscLib, monitor::DMNetworkMonitor ) @@ -4708,7 +4708,7 @@ See also: `DM`, `DMNETWORK`, `DMNetworkMonitor`, `DMNetworkMonitorCreate()`, `DM $(_doc_external("DMNetwork/DMNetworkMonitorView")) """ function DMNetworkMonitorView(petsclib::PetscLibType, monitor::DMNetworkMonitor, x::AbstractPetscVec) - error("DMNetworkMonitorView: no generated method for these argument types") + throw(MethodError(DMNetworkMonitorView, (petsclib, monitor, x))) end @for_petsc function DMNetworkMonitorView(petsclib::$UnionPetscLib, monitor::DMNetworkMonitor, x::AbstractPetscVec ) @@ -4744,7 +4744,7 @@ See also: `DMPLEX`, `DMPlexPointQueue`, `DMPlexPointQueueFront()`, `DMPlexPointQ $(_doc_external("DMPlex/DMPlexPointQueueBack")) """ function DMPlexPointQueueBack(petsclib::PetscLibType, queue::DMPlexPoCintQueue) - error("DMPlexPointQueueBack: no generated method for these argument types") + throw(MethodError(DMPlexPointQueueBack, (petsclib, queue))) end @for_petsc function DMPlexPointQueueBack(petsclib::$UnionPetscLib, queue::DMPlexPoCintQueue ) @@ -4782,7 +4782,7 @@ See also: `DMPLEX`, `DMPlexPointQueue`, `DMPlexPointQueueDestroy()`, `DMPlexPoin $(_doc_external("DMPlex/DMPlexPointQueueCreate")) """ function DMPlexPointQueueCreate(petsclib::PetscLibType, size::Integer) - error("DMPlexPointQueueCreate: no generated method for these argument types") + throw(MethodError(DMPlexPointQueueCreate, (petsclib, size))) end @for_petsc function DMPlexPointQueueCreate(petsclib::$UnionPetscLib, size::$PetscInt ) @@ -4820,7 +4820,7 @@ See also: `DMPLEX`, `DMPlexPointQueue`, `DMPlexPointQueueEnqueue()`, `DMPlexPoin $(_doc_external("DMPlex/DMPlexPointQueueDequeue")) """ function DMPlexPointQueueDequeue(petsclib::PetscLibType, queue::DMPlexPoCintQueue) - error("DMPlexPointQueueDequeue: no generated method for these argument types") + throw(MethodError(DMPlexPointQueueDequeue, (petsclib, queue))) end @for_petsc function DMPlexPointQueueDequeue(petsclib::$UnionPetscLib, queue::DMPlexPoCintQueue ) @@ -4855,7 +4855,7 @@ See also: `DMPLEX`, `DMPlexPointQueue`, `DMPlexPointQueueCreate()` $(_doc_external("DMPlex/DMPlexPointQueueDestroy")) """ function DMPlexPointQueueDestroy(petsclib::PetscLibType, queue::Union{DMPlexPoCintQueue, Ref{DMPlexPoCintQueue}}) - error("DMPlexPointQueueDestroy: no generated method for these argument types") + throw(MethodError(DMPlexPointQueueDestroy, (petsclib, queue))) end @for_petsc function DMPlexPointQueueDestroy(petsclib::$UnionPetscLib, queue::Union{DMPlexPoCintQueue, Ref{DMPlexPoCintQueue}} ) @@ -4893,7 +4893,7 @@ See also: `DMPLEX`, `DMPlexPointQueue`, `DMPlexPointQueueEmpty()` $(_doc_external("DMPlex/DMPlexPointQueueEmptyCollective")) """ function DMPlexPointQueueEmptyCollective(petsclib::PetscLibType, obj, queue::DMPlexPoCintQueue) - error("DMPlexPointQueueEmptyCollective: no generated method for these argument types") + throw(MethodError(DMPlexPointQueueEmptyCollective, (petsclib, obj, queue))) end @for_petsc function DMPlexPointQueueEmptyCollective(petsclib::$UnionPetscLib, obj, queue::DMPlexPoCintQueue ) @@ -4929,7 +4929,7 @@ See also: `DMPLEX`, `DMPlexPointQueue`, `DMPlexPointQueueDequeue()`, `DMPlexPoin $(_doc_external("DMPlex/DMPlexPointQueueEnqueue")) """ function DMPlexPointQueueEnqueue(petsclib::PetscLibType, queue::DMPlexPoCintQueue, p::Integer) - error("DMPlexPointQueueEnqueue: no generated method for these argument types") + throw(MethodError(DMPlexPointQueueEnqueue, (petsclib, queue, p))) end @for_petsc function DMPlexPointQueueEnqueue(petsclib::$UnionPetscLib, queue::DMPlexPoCintQueue, p::$PetscInt ) @@ -4962,7 +4962,7 @@ See also: `DMPLEX`, `DMPlexPointQueue`, `DMPlexPointQueueCreate()`, `DMPlexPoint $(_doc_external("DMPlex/DMPlexPointQueueEnsureSize")) """ function DMPlexPointQueueEnsureSize(petsclib::PetscLibType, queue::DMPlexPoCintQueue) - error("DMPlexPointQueueEnsureSize: no generated method for these argument types") + throw(MethodError(DMPlexPointQueueEnsureSize, (petsclib, queue))) end @for_petsc function DMPlexPointQueueEnsureSize(petsclib::$UnionPetscLib, queue::DMPlexPoCintQueue ) @@ -4998,7 +4998,7 @@ See also: `DMPLEX`, `DMPlexPointQueue`, `DMPlexPointQueueBack()`, `DMPlexPointQu $(_doc_external("DMPlex/DMPlexPointQueueFront")) """ function DMPlexPointQueueFront(petsclib::PetscLibType, queue::DMPlexPoCintQueue) - error("DMPlexPointQueueFront: no generated method for these argument types") + throw(MethodError(DMPlexPointQueueFront, (petsclib, queue))) end @for_petsc function DMPlexPointQueueFront(petsclib::$UnionPetscLib, queue::DMPlexPoCintQueue ) @@ -5039,7 +5039,7 @@ See also: `DMPLEX`, `DMPlexTransform`, `DMAdaptLabel()`, `DMPlexTransformApply() $(_doc_external("DMPlex/DMPlexTransformAdaptLabel")) """ function DMPlexTransformAdaptLabel(petsclib::PetscLibType, dm::AbstractPetscDM, metric::AbstractPetscVec, adaptLabel::DMLabel, rgLabel::DMLabel) - error("DMPlexTransformAdaptLabel: no generated method for these argument types") + throw(MethodError(DMPlexTransformAdaptLabel, (petsclib, dm, metric, adaptLabel, rgLabel))) end @for_petsc function DMPlexTransformAdaptLabel(petsclib::$UnionPetscLib, dm::AbstractPetscDM, metric::AbstractPetscVec, adaptLabel::DMLabel, rgLabel::DMLabel ) @@ -5083,7 +5083,7 @@ See also: [](plex_transform_table), `DM`, `DMPLEX`, `DMPlexTransform`, `DMPlexTr $(_doc_external("DMPlex/DMPlexTransformApply")) """ function DMPlexTransformApply(petsclib::PetscLibType, tr::DMPlexTransform, dm::AbstractPetscDM) - error("DMPlexTransformApply: no generated method for these argument types") + throw(MethodError(DMPlexTransformApply, (petsclib, tr, dm))) end @for_petsc function DMPlexTransformApply(petsclib::$UnionPetscLib, tr::DMPlexTransform, dm::AbstractPetscDM ) @@ -5126,7 +5126,7 @@ See also: `DM`, `DMPLEX`, `DMPlexTransform`, `DMPolytopeType`, `DMPlexTransformA $(_doc_external("DMPlex/DMPlexTransformCellTransform")) """ function DMPlexTransformCellTransform(petsclib::PetscLibType, tr::DMPlexTransform, source::DMPolytopeType, p::Integer) - error("DMPlexTransformCellTransform: no generated method for these argument types") + throw(MethodError(DMPlexTransformCellTransform, (petsclib, tr, source, p))) end @for_petsc function DMPlexTransformCellTransform(petsclib::$UnionPetscLib, tr::DMPlexTransform, source::DMPolytopeType, p::$PetscInt ) @@ -5181,7 +5181,7 @@ See also: `DM`, `DMPLEX`, `DMPlexTransform`, `DMPolytopeType`, `DMPlexTransformC $(_doc_external("DMPlex/DMPlexTransformCellTransformIdentity")) """ function DMPlexTransformCellTransformIdentity(petsclib::PetscLibType, tr::DMPlexTransform, source::DMPolytopeType, p::Integer) - error("DMPlexTransformCellTransformIdentity: no generated method for these argument types") + throw(MethodError(DMPlexTransformCellTransformIdentity, (petsclib, tr, source, p))) end @for_petsc function DMPlexTransformCellTransformIdentity(petsclib::$UnionPetscLib, tr::DMPlexTransform, source::DMPolytopeType, p::$PetscInt ) @@ -5227,7 +5227,7 @@ See also: `DMPlexTransform`, `DMPlexTransformCohesiveExtrudeSetTensor()`, `DMPle $(_doc_external("DMPlex/DMPlexTransformCohesiveExtrudeGetTensor")) """ function DMPlexTransformCohesiveExtrudeGetTensor(petsclib::PetscLibType, tr::DMPlexTransform) - error("DMPlexTransformCohesiveExtrudeGetTensor: no generated method for these argument types") + throw(MethodError(DMPlexTransformCohesiveExtrudeGetTensor, (petsclib, tr))) end @for_petsc function DMPlexTransformCohesiveExtrudeGetTensor(petsclib::$UnionPetscLib, tr::DMPlexTransform ) @@ -5265,7 +5265,7 @@ See also: `DMPlexTransform`, `DMPlexTransformGetTransformTypes()` $(_doc_external("DMPlex/DMPlexTransformCohesiveExtrudeGetUnsplit")) """ function DMPlexTransformCohesiveExtrudeGetUnsplit(petsclib::PetscLibType, tr::DMPlexTransform) - error("DMPlexTransformCohesiveExtrudeGetUnsplit: no generated method for these argument types") + throw(MethodError(DMPlexTransformCohesiveExtrudeGetUnsplit, (petsclib, tr))) end @for_petsc function DMPlexTransformCohesiveExtrudeGetUnsplit(petsclib::$UnionPetscLib, tr::DMPlexTransform ) @@ -5303,7 +5303,7 @@ See also: `DMPlexTransform`, `DMPlexTransformCohesiveExtrudeSetWidth()` $(_doc_external("DMPlex/DMPlexTransformCohesiveExtrudeGetWidth")) """ function DMPlexTransformCohesiveExtrudeGetWidth(petsclib::PetscLibType, tr::DMPlexTransform) - error("DMPlexTransformCohesiveExtrudeGetWidth: no generated method for these argument types") + throw(MethodError(DMPlexTransformCohesiveExtrudeGetWidth, (petsclib, tr))) end @for_petsc function DMPlexTransformCohesiveExtrudeGetWidth(petsclib::$UnionPetscLib, tr::DMPlexTransform ) @@ -5337,7 +5337,7 @@ See also: `DMPlexTransform`, `DMPlexTransformCohesiveExtrudeGetTensor()`, `DMPle $(_doc_external("DMPlex/DMPlexTransformCohesiveExtrudeSetTensor")) """ function DMPlexTransformCohesiveExtrudeSetTensor(petsclib::PetscLibType, tr::DMPlexTransform, useTensor::PetscBool) - error("DMPlexTransformCohesiveExtrudeSetTensor: no generated method for these argument types") + throw(MethodError(DMPlexTransformCohesiveExtrudeSetTensor, (petsclib, tr, useTensor))) end @for_petsc function DMPlexTransformCohesiveExtrudeSetTensor(petsclib::$UnionPetscLib, tr::DMPlexTransform, useTensor::PetscBool ) @@ -5371,7 +5371,7 @@ See also: `DMPlexTransform`, `DMPlexTransformCohesiveExtrudeGetWidth()` $(_doc_external("DMPlex/DMPlexTransformCohesiveExtrudeSetWidth")) """ function DMPlexTransformCohesiveExtrudeSetWidth(petsclib::PetscLibType, tr::DMPlexTransform, width::Real) - error("DMPlexTransformCohesiveExtrudeSetWidth: no generated method for these argument types") + throw(MethodError(DMPlexTransformCohesiveExtrudeSetWidth, (petsclib, tr, width))) end @for_petsc function DMPlexTransformCohesiveExtrudeSetWidth(petsclib::$UnionPetscLib, tr::DMPlexTransform, width::$PetscReal ) @@ -5407,7 +5407,7 @@ See also: `DM`, `DMPLEX`, `DMPlexTransform`, `DMPlexTransformType`, `DMPlexTrans $(_doc_external("DMPlex/DMPlexTransformCreate")) """ function DMPlexTransformCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("DMPlexTransformCreate: no generated method for these argument types") + throw(MethodError(DMPlexTransformCreate, (petsclib, comm))) end @for_petsc function DMPlexTransformCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -5443,7 +5443,7 @@ See also: `DM`, `DMPLEX`, `DMPlexTransform`, `DMPlexTransformApply()`, `DMSetFie $(_doc_external("DMPlex/DMPlexTransformCreateDiscLabels")) """ function DMPlexTransformCreateDiscLabels(petsclib::PetscLibType, tr::DMPlexTransform, rdm::AbstractPetscDM) - error("DMPlexTransformCreateDiscLabels: no generated method for these argument types") + throw(MethodError(DMPlexTransformCreateDiscLabels, (petsclib, tr, rdm))) end @for_petsc function DMPlexTransformCreateDiscLabels(petsclib::$UnionPetscLib, tr::DMPlexTransform, rdm::AbstractPetscDM ) @@ -5476,7 +5476,7 @@ See also: `DM`, `DMPLEX`, `DMPlexTransform`, `DMPlexTransformView()`, `DMPlexTra $(_doc_external("DMPlex/DMPlexTransformDestroy")) """ function DMPlexTransformDestroy(petsclib::PetscLibType, tr::Union{DMPlexTransform, Ref{DMPlexTransform}}) - error("DMPlexTransformDestroy: no generated method for these argument types") + throw(MethodError(DMPlexTransformDestroy, (petsclib, tr))) end @for_petsc function DMPlexTransformDestroy(petsclib::$UnionPetscLib, tr::Union{DMPlexTransform, Ref{DMPlexTransform}} ) @@ -5513,7 +5513,7 @@ See also: `DMPlexTransform`, `DMPlexTransformExtrudeSetLayers()` $(_doc_external("DMPlex/DMPlexTransformExtrudeGetLayers")) """ function DMPlexTransformExtrudeGetLayers(petsclib::PetscLibType, tr::DMPlexTransform) - error("DMPlexTransformExtrudeGetLayers: no generated method for these argument types") + throw(MethodError(DMPlexTransformExtrudeGetLayers, (petsclib, tr))) end @for_petsc function DMPlexTransformExtrudeGetLayers(petsclib::$UnionPetscLib, tr::DMPlexTransform ) @@ -5549,7 +5549,7 @@ See also: `DMPlexTransform`, `DMPlexTransformExtrudeSetNormal()` $(_doc_external("DMPlex/DMPlexTransformExtrudeGetNormal")) """ function DMPlexTransformExtrudeGetNormal(petsclib::PetscLibType, tr::DMPlexTransform, normal::AbstractVector{<:Number}) - error("DMPlexTransformExtrudeGetNormal: no generated method for these argument types") + throw(MethodError(DMPlexTransformExtrudeGetNormal, (petsclib, tr, normal))) end @for_petsc function DMPlexTransformExtrudeGetNormal(petsclib::$UnionPetscLib, tr::DMPlexTransform, normal::Vector{$PetscReal} ) @@ -5585,7 +5585,7 @@ See also: `DMPlexTransform`, `DMPlexTransformExtrudeSetPeriodic()`, `DMPlexTrans $(_doc_external("DMPlex/DMPlexTransformExtrudeGetPeriodic")) """ function DMPlexTransformExtrudeGetPeriodic(petsclib::PetscLibType, tr::DMPlexTransform) - error("DMPlexTransformExtrudeGetPeriodic: no generated method for these argument types") + throw(MethodError(DMPlexTransformExtrudeGetPeriodic, (petsclib, tr))) end @for_petsc function DMPlexTransformExtrudeGetPeriodic(petsclib::$UnionPetscLib, tr::DMPlexTransform ) @@ -5623,7 +5623,7 @@ See also: `DMPlexTransform`, `DMPlexTransformExtrudeSetSymmetric()`, `DMPlexTran $(_doc_external("DMPlex/DMPlexTransformExtrudeGetSymmetric")) """ function DMPlexTransformExtrudeGetSymmetric(petsclib::PetscLibType, tr::DMPlexTransform) - error("DMPlexTransformExtrudeGetSymmetric: no generated method for these argument types") + throw(MethodError(DMPlexTransformExtrudeGetSymmetric, (petsclib, tr))) end @for_petsc function DMPlexTransformExtrudeGetSymmetric(petsclib::$UnionPetscLib, tr::DMPlexTransform ) @@ -5659,7 +5659,7 @@ See also: `DMPlexTransform`, `DMPlexTransformExtrudeSetTensor()` $(_doc_external("DMPlex/DMPlexTransformExtrudeGetTensor")) """ function DMPlexTransformExtrudeGetTensor(petsclib::PetscLibType, tr::DMPlexTransform) - error("DMPlexTransformExtrudeGetTensor: no generated method for these argument types") + throw(MethodError(DMPlexTransformExtrudeGetTensor, (petsclib, tr))) end @for_petsc function DMPlexTransformExtrudeGetTensor(petsclib::$UnionPetscLib, tr::DMPlexTransform ) @@ -5697,7 +5697,7 @@ See also: `DMPlexTransform`, `DMPlexTransformExtrudeSetThickness()` $(_doc_external("DMPlex/DMPlexTransformExtrudeGetThickness")) """ function DMPlexTransformExtrudeGetThickness(petsclib::PetscLibType, tr::DMPlexTransform) - error("DMPlexTransformExtrudeGetThickness: no generated method for these argument types") + throw(MethodError(DMPlexTransformExtrudeGetThickness, (petsclib, tr))) end @for_petsc function DMPlexTransformExtrudeGetThickness(petsclib::$UnionPetscLib, tr::DMPlexTransform ) @@ -5733,7 +5733,7 @@ See also: `DMPlexTransform`, `DMPlexTransformExtrudeGetLayers()` $(_doc_external("DMPlex/DMPlexTransformExtrudeSetLayers")) """ function DMPlexTransformExtrudeSetLayers(petsclib::PetscLibType, tr::DMPlexTransform, layers::Integer) - error("DMPlexTransformExtrudeSetLayers: no generated method for these argument types") + throw(MethodError(DMPlexTransformExtrudeSetLayers, (petsclib, tr, layers))) end @for_petsc function DMPlexTransformExtrudeSetLayers(petsclib::$UnionPetscLib, tr::DMPlexTransform, layers::$PetscInt ) @@ -5767,7 +5767,7 @@ See also: `DMPlexTransform`, `DMPlexTransformExtrudeGetNormal()` $(_doc_external("DMPlex/DMPlexTransformExtrudeSetNormal")) """ function DMPlexTransformExtrudeSetNormal(petsclib::PetscLibType, tr::DMPlexTransform, normal::AbstractVector{<:Number}) - error("DMPlexTransformExtrudeSetNormal: no generated method for these argument types") + throw(MethodError(DMPlexTransformExtrudeSetNormal, (petsclib, tr, normal))) end @for_petsc function DMPlexTransformExtrudeSetNormal(petsclib::$UnionPetscLib, tr::DMPlexTransform, normal::Vector{$PetscReal} ) @@ -5801,7 +5801,7 @@ See also: `DMPlexTransform`, `DMPlexTransformExtrudeGetNormal()`, `PetscSimplePo $(_doc_external("DMPlex/DMPlexTransformExtrudeSetNormalFunction")) """ function DMPlexTransformExtrudeSetNormalFunction(petsclib::PetscLibType, tr::DMPlexTransform, normalFunc::Ptr{Cvoid}) - error("DMPlexTransformExtrudeSetNormalFunction: no generated method for these argument types") + throw(MethodError(DMPlexTransformExtrudeSetNormalFunction, (petsclib, tr, normalFunc))) end @for_petsc function DMPlexTransformExtrudeSetNormalFunction(petsclib::$UnionPetscLib, tr::DMPlexTransform, normalFunc::Ptr{Cvoid} ) @@ -5835,7 +5835,7 @@ See also: `DMPlexTransform`, `DMPlexTransformExtrudeGetPeriodic()`, `DMPlexTrans $(_doc_external("DMPlex/DMPlexTransformExtrudeSetPeriodic")) """ function DMPlexTransformExtrudeSetPeriodic(petsclib::PetscLibType, tr::DMPlexTransform, periodic::PetscBool) - error("DMPlexTransformExtrudeSetPeriodic: no generated method for these argument types") + throw(MethodError(DMPlexTransformExtrudeSetPeriodic, (petsclib, tr, periodic))) end @for_petsc function DMPlexTransformExtrudeSetPeriodic(petsclib::$UnionPetscLib, tr::DMPlexTransform, periodic::PetscBool ) @@ -5869,7 +5869,7 @@ See also: `DMPlexTransform`, `DMPlexTransformExtrudeGetSymmetric()`, `DMPlexTran $(_doc_external("DMPlex/DMPlexTransformExtrudeSetSymmetric")) """ function DMPlexTransformExtrudeSetSymmetric(petsclib::PetscLibType, tr::DMPlexTransform, symmetric::PetscBool) - error("DMPlexTransformExtrudeSetSymmetric: no generated method for these argument types") + throw(MethodError(DMPlexTransformExtrudeSetSymmetric, (petsclib, tr, symmetric))) end @for_petsc function DMPlexTransformExtrudeSetSymmetric(petsclib::$UnionPetscLib, tr::DMPlexTransform, symmetric::PetscBool ) @@ -5901,7 +5901,7 @@ See also: `DMPlexTransform`, `DMPlexTransformExtrudeGetTensor()` $(_doc_external("DMPlex/DMPlexTransformExtrudeSetTensor")) """ function DMPlexTransformExtrudeSetTensor(petsclib::PetscLibType, tr::DMPlexTransform, useTensor::PetscBool) - error("DMPlexTransformExtrudeSetTensor: no generated method for these argument types") + throw(MethodError(DMPlexTransformExtrudeSetTensor, (petsclib, tr, useTensor))) end @for_petsc function DMPlexTransformExtrudeSetTensor(petsclib::$UnionPetscLib, tr::DMPlexTransform, useTensor::PetscBool ) @@ -5935,7 +5935,7 @@ See also: `DMPlexTransform`, `DMPlexTransformExtrudeGetThickness()` $(_doc_external("DMPlex/DMPlexTransformExtrudeSetThickness")) """ function DMPlexTransformExtrudeSetThickness(petsclib::PetscLibType, tr::DMPlexTransform, thickness::Real) - error("DMPlexTransformExtrudeSetThickness: no generated method for these argument types") + throw(MethodError(DMPlexTransformExtrudeSetThickness, (petsclib, tr, thickness))) end @for_petsc function DMPlexTransformExtrudeSetThickness(petsclib::$UnionPetscLib, tr::DMPlexTransform, thickness::$PetscReal ) @@ -5970,7 +5970,7 @@ See also: `DMPlexTransform`, `DMPlexTransformExtrudeSetThickness()`, `DMPlexTran $(_doc_external("DMPlex/DMPlexTransformExtrudeSetThicknesses")) """ function DMPlexTransformExtrudeSetThicknesses(petsclib::PetscLibType, tr::DMPlexTransform, Nth::Integer, thicknesses::AbstractVector{<:Number}) - error("DMPlexTransformExtrudeSetThicknesses: no generated method for these argument types") + throw(MethodError(DMPlexTransformExtrudeSetThicknesses, (petsclib, tr, Nth, thicknesses))) end @for_petsc function DMPlexTransformExtrudeSetThicknesses(petsclib::$UnionPetscLib, tr::DMPlexTransform, Nth::$PetscInt, thicknesses::Vector{$PetscReal} ) @@ -6004,7 +6004,7 @@ See also: `DM`, `DMPLEX`, `DMPlexTransform`, `DMPlexTransformSetActive()`, `DMPl $(_doc_external("DMPlex/DMPlexTransformGetActive")) """ function DMPlexTransformGetActive(petsclib::PetscLibType, tr::DMPlexTransform) - error("DMPlexTransformGetActive: no generated method for these argument types") + throw(MethodError(DMPlexTransformGetActive, (petsclib, tr))) end @for_petsc function DMPlexTransformGetActive(petsclib::$UnionPetscLib, tr::DMPlexTransform ) @@ -6043,7 +6043,7 @@ See also: `DM`, `DMPLEX`, `DMPlexTransform`, `DMPolytopeType`, `DMPlexTransformG $(_doc_external("DMPlex/DMPlexTransformGetCellType")) """ function DMPlexTransformGetCellType(petsclib::PetscLibType, tr::DMPlexTransform, cell::Integer) - error("DMPlexTransformGetCellType: no generated method for these argument types") + throw(MethodError(DMPlexTransformGetCellType, (petsclib, tr, cell))) end @for_petsc function DMPlexTransformGetCellType(petsclib::$UnionPetscLib, tr::DMPlexTransform, cell::$PetscInt ) @@ -6083,7 +6083,7 @@ See also: `DM`, `DMPLEX`, `DMPlexTransform`, `DMPolytopeType`, `DMPlexTransformG $(_doc_external("DMPlex/DMPlexTransformGetCellTypeStratum")) """ function DMPlexTransformGetCellTypeStratum(petsclib::PetscLibType, tr::DMPlexTransform, celltype::DMPolytopeType) - error("DMPlexTransformGetCellTypeStratum: no generated method for these argument types") + throw(MethodError(DMPlexTransformGetCellTypeStratum, (petsclib, tr, celltype))) end @for_petsc function DMPlexTransformGetCellTypeStratum(petsclib::$UnionPetscLib, tr::DMPlexTransform, celltype::DMPolytopeType ) @@ -6123,7 +6123,7 @@ See also: `DMPLEX`, `DMPlexTransform`, `DMPolytopeType`, `DMPlexTransformGetSubc $(_doc_external("DMPlex/DMPlexTransformGetCellVertices")) """ function DMPlexTransformGetCellVertices(petsclib::PetscLibType, tr::DMPlexTransform, ct::DMPolytopeType) - error("DMPlexTransformGetCellVertices: no generated method for these argument types") + throw(MethodError(DMPlexTransformGetCellVertices, (petsclib, tr, ct))) end @for_petsc function DMPlexTransformGetCellVertices(petsclib::$UnionPetscLib, tr::DMPlexTransform, ct::DMPolytopeType ) @@ -6164,7 +6164,7 @@ See also: `DM`, `DMPLEX`, `DMPlexTransform`, `DMPlexTransformApply()`, `DMPlexTr $(_doc_external("DMPlex/DMPlexTransformGetChart")) """ function DMPlexTransformGetChart(petsclib::PetscLibType, tr::DMPlexTransform) - error("DMPlexTransformGetChart: no generated method for these argument types") + throw(MethodError(DMPlexTransformGetChart, (petsclib, tr))) end @for_petsc function DMPlexTransformGetChart(petsclib::$UnionPetscLib, tr::DMPlexTransform ) @@ -6206,7 +6206,7 @@ See also: `DM`, `DMPLEX`, `DMPlexTransform`, `DMPlexTransformRestoreCone()`, `DM $(_doc_external("DMPlex/DMPlexTransformGetCone")) """ function DMPlexTransformGetCone(petsclib::PetscLibType, tr::DMPlexTransform, q::Integer) - error("DMPlexTransformGetCone: no generated method for these argument types") + throw(MethodError(DMPlexTransformGetCone, (petsclib, tr, q))) end @for_petsc function DMPlexTransformGetCone(petsclib::$UnionPetscLib, tr::DMPlexTransform, q::$PetscInt ) @@ -6249,7 +6249,7 @@ See also: `DM`, `DMPLEX`, `DMPlexTransform`, `DMPlexTransformGetCone()`, `DMPlex $(_doc_external("DMPlex/DMPlexTransformGetConeOriented")) """ function DMPlexTransformGetConeOriented(petsclib::PetscLibType, tr::DMPlexTransform, q::Integer, po::Integer) - error("DMPlexTransformGetConeOriented: no generated method for these argument types") + throw(MethodError(DMPlexTransformGetConeOriented, (petsclib, tr, q, po))) end @for_petsc function DMPlexTransformGetConeOriented(petsclib::$UnionPetscLib, tr::DMPlexTransform, q::$PetscInt, po::$PetscInt ) @@ -6290,7 +6290,7 @@ See also: `DM`, `DMPLEX`, `DMPlexTransform`, `DMPlexTransformGetCone()`, `DMPlex $(_doc_external("DMPlex/DMPlexTransformGetConeSize")) """ function DMPlexTransformGetConeSize(petsclib::PetscLibType, tr::DMPlexTransform, q::Integer) - error("DMPlexTransformGetConeSize: no generated method for these argument types") + throw(MethodError(DMPlexTransformGetConeSize, (petsclib, tr, q))) end @for_petsc function DMPlexTransformGetConeSize(petsclib::$UnionPetscLib, tr::DMPlexTransform, q::$PetscInt ) @@ -6326,7 +6326,7 @@ See also: `DM`, `DMPLEX`, `DMPlexTransform`, `DMPlexTransformSetDM()`, `DMPlexTr $(_doc_external("DMPlex/DMPlexTransformGetDM")) """ function DMPlexTransformGetDM(petsclib::PetscLibType, tr::DMPlexTransform) - error("DMPlexTransformGetDM: no generated method for these argument types") + throw(MethodError(DMPlexTransformGetDM, (petsclib, tr))) end @for_petsc function DMPlexTransformGetDM(petsclib::$UnionPetscLib, tr::DMPlexTransform ) @@ -6364,7 +6364,7 @@ See also: `DM`, `DMPLEX`, `DMPlexTransform`, `DMPlexTransformGetDepthStratum()`, $(_doc_external("DMPlex/DMPlexTransformGetDepth")) """ function DMPlexTransformGetDepth(petsclib::PetscLibType, tr::DMPlexTransform) - error("DMPlexTransformGetDepth: no generated method for these argument types") + throw(MethodError(DMPlexTransformGetDepth, (petsclib, tr))) end @for_petsc function DMPlexTransformGetDepth(petsclib::$UnionPetscLib, tr::DMPlexTransform ) @@ -6404,7 +6404,7 @@ See also: `DM`, `DMPLEX`, `DMPlexTransform`, `DMPlexTransformGetDepth()`, `DMPle $(_doc_external("DMPlex/DMPlexTransformGetDepthStratum")) """ function DMPlexTransformGetDepthStratum(petsclib::PetscLibType, tr::DMPlexTransform, depth::Integer) - error("DMPlexTransformGetDepthStratum: no generated method for these argument types") + throw(MethodError(DMPlexTransformGetDepthStratum, (petsclib, tr, depth))) end @for_petsc function DMPlexTransformGetDepthStratum(petsclib::$UnionPetscLib, tr::DMPlexTransform, depth::$PetscInt ) @@ -6444,7 +6444,7 @@ See also: `DM`, `DMPLEX`, `DMPlexTransform`, `DMPlexTransformSetMatchStrata()`, $(_doc_external("DMPlex/DMPlexTransformGetMatchStrata")) """ function DMPlexTransformGetMatchStrata(petsclib::PetscLibType, tr::DMPlexTransform) - error("DMPlexTransformGetMatchStrata: no generated method for these argument types") + throw(MethodError(DMPlexTransformGetMatchStrata, (petsclib, tr))) end @for_petsc function DMPlexTransformGetMatchStrata(petsclib::$UnionPetscLib, tr::DMPlexTransform ) @@ -6486,7 +6486,7 @@ See also: `DM`, `DMPLEX`, `DMPlexTransform`, `DMPolytopeType`, `DMPlexTransformG $(_doc_external("DMPlex/DMPlexTransformGetSourcePoint")) """ function DMPlexTransformGetSourcePoint(petsclib::PetscLibType, tr::DMPlexTransform, pNew::Integer) - error("DMPlexTransformGetSourcePoint: no generated method for these argument types") + throw(MethodError(DMPlexTransformGetSourcePoint, (petsclib, tr, pNew))) end @for_petsc function DMPlexTransformGetSourcePoint(petsclib::$UnionPetscLib, tr::DMPlexTransform, pNew::$PetscInt ) @@ -6537,7 +6537,7 @@ See also: `DM`, `DMPLEX`, `DMPlexTransform`, `DMPolytopeType`, `DMPlexTransformC $(_doc_external("DMPlex/DMPlexTransformGetSubcellOrientation")) """ function DMPlexTransformGetSubcellOrientation(petsclib::PetscLibType, tr::DMPlexTransform, sct::DMPolytopeType, sp::Integer, so::Integer, tct::DMPolytopeType, r::Integer, o::Integer) - error("DMPlexTransformGetSubcellOrientation: no generated method for these argument types") + throw(MethodError(DMPlexTransformGetSubcellOrientation, (petsclib, tr, sct, sp, so, tct, r, o))) end @for_petsc function DMPlexTransformGetSubcellOrientation(petsclib::$UnionPetscLib, tr::DMPlexTransform, sct::DMPolytopeType, sp::$PetscInt, so::$PetscInt, tct::DMPolytopeType, r::$PetscInt, o::$PetscInt ) @@ -6584,7 +6584,7 @@ See also: `DM`, `DMPLEX`, `DMPlexTransform`, `DMPlexTransformGetSubcellOrientati $(_doc_external("DMPlex/DMPlexTransformGetSubcellOrientationIdentity")) """ function DMPlexTransformGetSubcellOrientationIdentity(petsclib::PetscLibType, tr::DMPlexTransform, sct::DMPolytopeType, sp::Integer, so::Integer, tct::DMPolytopeType, r::Integer, o::Integer) - error("DMPlexTransformGetSubcellOrientationIdentity: no generated method for these argument types") + throw(MethodError(DMPlexTransformGetSubcellOrientationIdentity, (petsclib, tr, sct, sp, so, tct, r, o))) end @for_petsc function DMPlexTransformGetSubcellOrientationIdentity(petsclib::$UnionPetscLib, tr::DMPlexTransform, sct::DMPolytopeType, sp::$PetscInt, so::$PetscInt, tct::DMPolytopeType, r::$PetscInt, o::$PetscInt ) @@ -6625,7 +6625,7 @@ See also: `DMPLEX`, `DMPlexTransform`, `DMPolytopeType`, `DMPlexTransformGetCell $(_doc_external("DMPlex/DMPlexTransformGetSubcellVertices")) """ function DMPlexTransformGetSubcellVertices(petsclib::PetscLibType, tr::DMPlexTransform, ct::DMPolytopeType, rct::DMPolytopeType, r::Integer) - error("DMPlexTransformGetSubcellVertices: no generated method for these argument types") + throw(MethodError(DMPlexTransformGetSubcellVertices, (petsclib, tr, ct, rct, r))) end @for_petsc function DMPlexTransformGetSubcellVertices(petsclib::$UnionPetscLib, tr::DMPlexTransform, ct::DMPolytopeType, rct::DMPolytopeType, r::$PetscInt ) @@ -6667,7 +6667,7 @@ See also: `DM`, `DMPLEX`, `DMPlexTransform`, `DMPolytopeType`, `DMPlexTransformG $(_doc_external("DMPlex/DMPlexTransformGetTargetPoint")) """ function DMPlexTransformGetTargetPoint(petsclib::PetscLibType, tr::DMPlexTransform, ct::DMPolytopeType, ctNew::DMPolytopeType, p::Integer, r::Integer) - error("DMPlexTransformGetTargetPoint: no generated method for these argument types") + throw(MethodError(DMPlexTransformGetTargetPoint, (petsclib, tr, ct, ctNew, p, r))) end @for_petsc function DMPlexTransformGetTargetPoint(petsclib::$UnionPetscLib, tr::DMPlexTransform, ct::DMPolytopeType, ctNew::DMPolytopeType, p::$PetscInt, r::$PetscInt ) @@ -6703,7 +6703,7 @@ See also: `DM`, `DMPLEX`, `DMPlexTransform`, `DMPlexSetTransformType()`, `DMPlex $(_doc_external("DMPlex/DMPlexTransformGetTransformTypes")) """ function DMPlexTransformGetTransformTypes(petsclib::PetscLibType, tr::DMPlexTransform) - error("DMPlexTransformGetTransformTypes: no generated method for these argument types") + throw(MethodError(DMPlexTransformGetTransformTypes, (petsclib, tr))) end @for_petsc function DMPlexTransformGetTransformTypes(petsclib::$UnionPetscLib, tr::DMPlexTransform ) @@ -6741,7 +6741,7 @@ See also: `DM`, `DMPLEX`, `DMPlexTransform`, `DMPlexTransformType`, `DMPlexTrans $(_doc_external("DMPlex/DMPlexTransformGetType")) """ function DMPlexTransformGetType(petsclib::PetscLibType, tr::DMPlexTransform) - error("DMPlexTransformGetType: no generated method for these argument types") + throw(MethodError(DMPlexTransformGetType, (petsclib, tr))) end @for_petsc function DMPlexTransformGetType(petsclib::$UnionPetscLib, tr::DMPlexTransform ) @@ -6786,7 +6786,7 @@ See also: `DM`, `DMPLEX`, `DMPlexTransform`, `DMPolytopeType`, `DMPlexTransformA $(_doc_external("DMPlex/DMPlexTransformMapCoordinates")) """ function DMPlexTransformMapCoordinates(petsclib::PetscLibType, tr::DMPlexTransform, pct::DMPolytopeType, ct::DMPolytopeType, p::Integer, r::Integer, Nv::Integer, dE::Integer, in::AbstractVector{<:Number}, out::AbstractVector{<:Number}) - error("DMPlexTransformMapCoordinates: no generated method for these argument types") + throw(MethodError(DMPlexTransformMapCoordinates, (petsclib, tr, pct, ct, p, r, Nv, dE, in, out))) end @for_petsc function DMPlexTransformMapCoordinates(petsclib::$UnionPetscLib, tr::DMPlexTransform, pct::DMPolytopeType, ct::DMPolytopeType, p::$PetscInt, r::$PetscInt, Nv::$PetscInt, dE::$PetscInt, in::Vector{$PetscScalar}, out::Vector{$PetscScalar} ) @@ -6818,7 +6818,7 @@ See also: `DM`, `DMPLEX`, `DMPlexTransform`, `DMPlexTransformRegisterAll()`, `DM $(_doc_external("DMPlex/DMPlexTransformRegister")) """ function DMPlexTransformRegister(petsclib::PetscLibType, name::String, noname::Ptr{Cvoid}) - error("DMPlexTransformRegister: no generated method for these argument types") + throw(MethodError(DMPlexTransformRegister, (petsclib, name, noname))) end @for_petsc function DMPlexTransformRegister(petsclib::$UnionPetscLib, name::String, noname::Ptr{Cvoid} ) @@ -6848,7 +6848,7 @@ See also: `DM`, `DMPLEX`, `DMPlexTransformType`, `DMRegisterAll()`, `DMPlexTrans $(_doc_external("DMPlex/DMPlexTransformRegisterAll")) """ function DMPlexTransformRegisterAll(petsclib::PetscLibType) - error("DMPlexTransformRegisterAll: no generated method for these argument types") + throw(MethodError(DMPlexTransformRegisterAll, (petsclib, ))) end @for_petsc function DMPlexTransformRegisterAll(petsclib::$UnionPetscLib) @@ -6877,7 +6877,7 @@ See also: `DM`, `DMPLEX`, `DMRegisterAll()`, `DMPlexTransformType`, `PetscInitia $(_doc_external("DMPlex/DMPlexTransformRegisterDestroy")) """ function DMPlexTransformRegisterDestroy(petsclib::PetscLibType) - error("DMPlexTransformRegisterDestroy: no generated method for these argument types") + throw(MethodError(DMPlexTransformRegisterDestroy, (petsclib, ))) end @for_petsc function DMPlexTransformRegisterDestroy(petsclib::$UnionPetscLib) @@ -6912,7 +6912,7 @@ See also: `DM`, `DMPLEX`, `DMPlexTransform`, `DMPlexTransformGetCone()`, `DMPlex $(_doc_external("DMPlex/DMPlexTransformRestoreCone")) """ function DMPlexTransformRestoreCone(petsclib::PetscLibType, tr::DMPlexTransform, q::Integer, cone::Union{Ptr, AbstractArray{<:Number}}, ornt::Union{Ptr, AbstractArray{<:Number}}) - error("DMPlexTransformRestoreCone: no generated method for these argument types") + throw(MethodError(DMPlexTransformRestoreCone, (petsclib, tr, q, cone, ornt))) end @for_petsc function DMPlexTransformRestoreCone(petsclib::$UnionPetscLib, tr::DMPlexTransform, q::$PetscInt, cone::Union{Ptr, AbstractArray{$PetscInt}}, ornt::Union{Ptr, AbstractArray{$PetscInt}} ) @@ -6946,7 +6946,7 @@ See also: `DM`, `DMPLEX`, `DMPlexTransform`, `DMPlexTransformGetActive()`, `DMPl $(_doc_external("DMPlex/DMPlexTransformSetActive")) """ function DMPlexTransformSetActive(petsclib::PetscLibType, tr::DMPlexTransform, active::DMLabel) - error("DMPlexTransformSetActive: no generated method for these argument types") + throw(MethodError(DMPlexTransformSetActive, (petsclib, tr, active))) end @for_petsc function DMPlexTransformSetActive(petsclib::$UnionPetscLib, tr::DMPlexTransform, active::DMLabel ) @@ -6978,7 +6978,7 @@ See also: `DM`, `DMPLEX`, `DMPlexTransform`, `DMPlexTransformGetDM()`, `DMPlexTr $(_doc_external("DMPlex/DMPlexTransformSetDM")) """ function DMPlexTransformSetDM(petsclib::PetscLibType, tr::DMPlexTransform, dm::AbstractPetscDM) - error("DMPlexTransformSetDM: no generated method for these argument types") + throw(MethodError(DMPlexTransformSetDM, (petsclib, tr, dm))) end @for_petsc function DMPlexTransformSetDM(petsclib::$UnionPetscLib, tr::DMPlexTransform, dm::AbstractPetscDM ) @@ -7013,7 +7013,7 @@ See also: `DM`, `DMPLEX`, `DMPlexTransform`, `DMPlexTransformApply()`, `DMPlexTr $(_doc_external("DMPlex/DMPlexTransformSetDimensions")) """ function DMPlexTransformSetDimensions(petsclib::PetscLibType, tr::DMPlexTransform, dm::AbstractPetscDM, trdm::AbstractPetscDM) - error("DMPlexTransformSetDimensions: no generated method for these argument types") + throw(MethodError(DMPlexTransformSetDimensions, (petsclib, tr, dm, trdm))) end @for_petsc function DMPlexTransformSetDimensions(petsclib::$UnionPetscLib, tr::DMPlexTransform, dm::AbstractPetscDM, trdm::AbstractPetscDM ) @@ -7053,7 +7053,7 @@ See also: `DM`, `DMPLEX`, `DMPlexTransform`, `DMPlexTransformView()`, `DMPlexTra $(_doc_external("DMPlex/DMPlexTransformSetFromOptions")) """ function DMPlexTransformSetFromOptions(petsclib::PetscLibType, tr::DMPlexTransform) - error("DMPlexTransformSetFromOptions: no generated method for these argument types") + throw(MethodError(DMPlexTransformSetFromOptions, (petsclib, tr))) end @for_petsc function DMPlexTransformSetFromOptions(petsclib::$UnionPetscLib, tr::DMPlexTransform ) @@ -7087,7 +7087,7 @@ See also: `DM`, `DMPLEX`, `DMPlexTransform`, `DMPlexTransformGetMatchStrata()`, $(_doc_external("DMPlex/DMPlexTransformSetMatchStrata")) """ function DMPlexTransformSetMatchStrata(petsclib::PetscLibType, tr::DMPlexTransform, match::PetscBool) - error("DMPlexTransformSetMatchStrata: no generated method for these argument types") + throw(MethodError(DMPlexTransformSetMatchStrata, (petsclib, tr, match))) end @for_petsc function DMPlexTransformSetMatchStrata(petsclib::$UnionPetscLib, tr::DMPlexTransform, match::PetscBool ) @@ -7119,7 +7119,7 @@ See also: `DM`, `DMPLEX`, `DMPlexTransform`, `DMPlexTransformGetTransformTypes() $(_doc_external("DMPlex/DMPlexTransformSetTransformTypes")) """ function DMPlexTransformSetTransformTypes(petsclib::PetscLibType, tr::DMPlexTransform, trType::DMLabel) - error("DMPlexTransformSetTransformTypes: no generated method for these argument types") + throw(MethodError(DMPlexTransformSetTransformTypes, (petsclib, tr, trType))) end @for_petsc function DMPlexTransformSetTransformTypes(petsclib::$UnionPetscLib, tr::DMPlexTransform, trType::DMLabel ) @@ -7156,7 +7156,7 @@ See also: `DM`, `DMPLEX`, `DMPlexTransform`, `DMPlexTransformType`, `DMPlexTrans $(_doc_external("DMPlex/DMPlexTransformSetType")) """ function DMPlexTransformSetType(petsclib::PetscLibType, tr::DMPlexTransform, method::String) - error("DMPlexTransformSetType: no generated method for these argument types") + throw(MethodError(DMPlexTransformSetType, (petsclib, tr, method))) end @for_petsc function DMPlexTransformSetType(petsclib::$UnionPetscLib, tr::DMPlexTransform, method::String ) @@ -7187,7 +7187,7 @@ See also: [](plex_transform_table), `DM`, `DMPLEX`, `DMPlexTransform`, `DMPlexTr $(_doc_external("DMPlex/DMPlexTransformSetUp")) """ function DMPlexTransformSetUp(petsclib::PetscLibType, tr::DMPlexTransform) - error("DMPlexTransformSetUp: no generated method for these argument types") + throw(MethodError(DMPlexTransformSetUp, (petsclib, tr))) end @for_petsc function DMPlexTransformSetUp(petsclib::$UnionPetscLib, tr::DMPlexTransform ) @@ -7221,7 +7221,7 @@ See also: `DM`, `DMPLEX`, `DMPlexTransform`, `DMPlexTransformType`, `PetscViewer $(_doc_external("DMPlex/DMPlexTransformView")) """ function DMPlexTransformView(petsclib::PetscLibType, tr::DMPlexTransform, v::PetscViewer) - error("DMPlexTransformView: no generated method for these argument types") + throw(MethodError(DMPlexTransformView, (petsclib, tr, v))) end @for_petsc function DMPlexTransformView(petsclib::$UnionPetscLib, tr::DMPlexTransform, v::PetscViewer ) @@ -7261,7 +7261,7 @@ See also: `DMSwarmCellDM`, `DMSWARM`, `DMSetType()` $(_doc_external("DMSwarm/DMSwarmCellDMCreate")) """ function DMSwarmCellDMCreate(petsclib::PetscLibType, dm::AbstractPetscDM, Nf::Integer, dmFields::String, Nfc::Integer, coordFields::String) - error("DMSwarmCellDMCreate: no generated method for these argument types") + throw(MethodError(DMSwarmCellDMCreate, (petsclib, dm, Nf, dmFields, Nfc, coordFields))) end @for_petsc function DMSwarmCellDMCreate(petsclib::$UnionPetscLib, dm::AbstractPetscDM, Nf::$PetscInt, dmFields::String, Nfc::$PetscInt, coordFields::String ) @@ -7298,7 +7298,7 @@ See also: `DMSwarmCellDM`, `DMSwarmCellDMCreate()` $(_doc_external("DMSwarm/DMSwarmCellDMDestroy")) """ function DMSwarmCellDMDestroy(petsclib::PetscLibType, celldm::Union{DMSwarmCellDM, Ref{DMSwarmCellDM}}) - error("DMSwarmCellDMDestroy: no generated method for these argument types") + throw(MethodError(DMSwarmCellDMDestroy, (petsclib, celldm))) end @for_petsc function DMSwarmCellDMDestroy(petsclib::$UnionPetscLib, celldm::Union{DMSwarmCellDM, Ref{DMSwarmCellDM}} ) @@ -7336,7 +7336,7 @@ See also: `DMSwarmCellDM`, `DM`, `DMSwarmSetCellDM()` $(_doc_external("DMSwarm/DMSwarmCellDMGetBlockSize")) """ function DMSwarmCellDMGetBlockSize(petsclib::PetscLibType, celldm::DMSwarmCellDM, sw::AbstractPetscDM) - error("DMSwarmCellDMGetBlockSize: no generated method for these argument types") + throw(MethodError(DMSwarmCellDMGetBlockSize, (petsclib, celldm, sw))) end @for_petsc function DMSwarmCellDMGetBlockSize(petsclib::$UnionPetscLib, celldm::DMSwarmCellDM, sw::AbstractPetscDM ) @@ -7374,7 +7374,7 @@ See also: `DMSwarmCellDM`, `DM`, `DMSwarmSetCellDM()` $(_doc_external("DMSwarm/DMSwarmCellDMGetCellID")) """ function DMSwarmCellDMGetCellID(petsclib::PetscLibType, celldm::DMSwarmCellDM) - error("DMSwarmCellDMGetCellID: no generated method for these argument types") + throw(MethodError(DMSwarmCellDMGetCellID, (petsclib, celldm))) end @for_petsc function DMSwarmCellDMGetCellID(petsclib::$UnionPetscLib, celldm::DMSwarmCellDM ) @@ -7413,7 +7413,7 @@ See also: `DMSwarmCellDM`, `DM`, `DMSwarmSetCellDM()` $(_doc_external("DMSwarm/DMSwarmCellDMGetCoordinateFields")) """ function DMSwarmCellDMGetCoordinateFields(petsclib::PetscLibType, celldm::DMSwarmCellDM) - error("DMSwarmCellDMGetCoordinateFields: no generated method for these argument types") + throw(MethodError(DMSwarmCellDMGetCoordinateFields, (petsclib, celldm))) end @for_petsc function DMSwarmCellDMGetCoordinateFields(petsclib::$UnionPetscLib, celldm::DMSwarmCellDM ) @@ -7453,7 +7453,7 @@ See also: `DMSwarmCellDM`, `DM`, `DMSwarmSetCellDM()` $(_doc_external("DMSwarm/DMSwarmCellDMGetDM")) """ function DMSwarmCellDMGetDM(petsclib::PetscLibType, celldm::DMSwarmCellDM) - error("DMSwarmCellDMGetDM: no generated method for these argument types") + throw(MethodError(DMSwarmCellDMGetDM, (petsclib, celldm))) end @for_petsc function DMSwarmCellDMGetDM(petsclib::$UnionPetscLib, celldm::DMSwarmCellDM ) @@ -7492,7 +7492,7 @@ See also: `DMSwarmCellDM`, `DM`, `DMSwarmSetCellDM()` $(_doc_external("DMSwarm/DMSwarmCellDMGetFields")) """ function DMSwarmCellDMGetFields(petsclib::PetscLibType, celldm::DMSwarmCellDM) - error("DMSwarmCellDMGetFields: no generated method for these argument types") + throw(MethodError(DMSwarmCellDMGetFields, (petsclib, celldm))) end @for_petsc function DMSwarmCellDMGetFields(petsclib::$UnionPetscLib, celldm::DMSwarmCellDM ) @@ -7532,7 +7532,7 @@ See also: `DMSwarmCellDM`, `DM`, `DMSwarmSetCellDM()` $(_doc_external("DMSwarm/DMSwarmCellDMGetSort")) """ function DMSwarmCellDMGetSort(petsclib::PetscLibType, celldm::DMSwarmCellDM) - error("DMSwarmCellDMGetSort: no generated method for these argument types") + throw(MethodError(DMSwarmCellDMGetSort, (petsclib, celldm))) end @for_petsc function DMSwarmCellDMGetSort(petsclib::$UnionPetscLib, celldm::DMSwarmCellDM ) @@ -7568,7 +7568,7 @@ See also: `DMSwarmCellDM`, `DM`, `DMSwarmSetCellDM()` $(_doc_external("DMSwarm/DMSwarmCellDMSetSort")) """ function DMSwarmCellDMSetSort(petsclib::PetscLibType, celldm::DMSwarmCellDM, sort::DMSwarmSort) - error("DMSwarmCellDMSetSort: no generated method for these argument types") + throw(MethodError(DMSwarmCellDMSetSort, (petsclib, celldm, sort))) end @for_petsc function DMSwarmCellDMSetSort(petsclib::$UnionPetscLib, celldm::DMSwarmCellDM, sort::DMSwarmSort ) @@ -7602,7 +7602,7 @@ See also: `DMSwarmCellDM`, `DMSwarmCellDMCreate()` $(_doc_external("DMSwarm/DMSwarmCellDMView")) """ function DMSwarmCellDMView(petsclib::PetscLibType, celldm::DMSwarmCellDM, viewer::PetscViewer) - error("DMSwarmCellDMView: no generated method for these argument types") + throw(MethodError(DMSwarmCellDMView, (petsclib, celldm, viewer))) end @for_petsc function DMSwarmCellDMView(petsclib::$UnionPetscLib, celldm::DMSwarmCellDM, viewer::PetscViewer ) @@ -7639,7 +7639,7 @@ See also: `DMSwarmDataBucket`, `DMSwarmDataField`, `DMSwarmDataBucketGetDMSwarmD $(_doc_external("DMSwarm/DMSwarmDataBucketGetDMSwarmDataFieldByName")) """ function DMSwarmDataBucketGetDMSwarmDataFieldByName(petsclib::PetscLibType, db::DMSwarmDataBucket, name::String) - error("DMSwarmDataBucketGetDMSwarmDataFieldByName: no generated method for these argument types") + throw(MethodError(DMSwarmDataBucketGetDMSwarmDataFieldByName, (petsclib, db, name))) end @for_petsc function DMSwarmDataBucketGetDMSwarmDataFieldByName(petsclib::$UnionPetscLib, db::DMSwarmDataBucket, name::String ) @@ -7678,7 +7678,7 @@ See also: `DMSwarmDataBucket`, `DMSwarmDataField`, `DMSwarmDataBucketGetDMSwarmD $(_doc_external("DMSwarm/DMSwarmDataBucketGetDMSwarmDataFieldIdByName")) """ function DMSwarmDataBucketGetDMSwarmDataFieldIdByName(petsclib::PetscLibType, db::DMSwarmDataBucket, name::String) - error("DMSwarmDataBucketGetDMSwarmDataFieldIdByName: no generated method for these argument types") + throw(MethodError(DMSwarmDataBucketGetDMSwarmDataFieldIdByName, (petsclib, db, name))) end @for_petsc function DMSwarmDataBucketGetDMSwarmDataFieldIdByName(petsclib::$UnionPetscLib, db::DMSwarmDataBucket, name::String ) @@ -7717,7 +7717,7 @@ See also: `DMSwarmDataBucket`, `DMSwarmDataField`, `DMSwarmDataBucketGetDMSwarmD $(_doc_external("DMSwarm/DMSwarmDataBucketQueryDMSwarmDataFieldByName")) """ function DMSwarmDataBucketQueryDMSwarmDataFieldByName(petsclib::PetscLibType, db::DMSwarmDataBucket, name::String) - error("DMSwarmDataBucketQueryDMSwarmDataFieldByName: no generated method for these argument types") + throw(MethodError(DMSwarmDataBucketQueryDMSwarmDataFieldByName, (petsclib, db, name))) end @for_petsc function DMSwarmDataBucketQueryDMSwarmDataFieldByName(petsclib::$UnionPetscLib, db::DMSwarmDataBucket, name::String ) @@ -7755,7 +7755,7 @@ See also: `DMSwarmDataField`, `DMSwarmDataFieldRestoreEntries()`, `DMSwarmDataFi $(_doc_external("DMSwarm/DMSwarmDataFieldGetEntries")) """ function DMSwarmDataFieldGetEntries(petsclib::PetscLibType, gfield::DMSwarmDataField) - error("DMSwarmDataFieldGetEntries: no generated method for these argument types") + throw(MethodError(DMSwarmDataFieldGetEntries, (petsclib, gfield))) end @for_petsc function DMSwarmDataFieldGetEntries(petsclib::$UnionPetscLib, gfield::DMSwarmDataField ) @@ -7793,7 +7793,7 @@ See also: `DMSwarmDataField`, `DMSwarmDataFieldGetEntries()` $(_doc_external("DMSwarm/DMSwarmDataFieldRestoreEntries")) """ function DMSwarmDataFieldRestoreEntries(petsclib::PetscLibType, gfield::DMSwarmDataField) - error("DMSwarmDataFieldRestoreEntries: no generated method for these argument types") + throw(MethodError(DMSwarmDataFieldRestoreEntries, (petsclib, gfield))) end @for_petsc function DMSwarmDataFieldRestoreEntries(petsclib::$UnionPetscLib, gfield::DMSwarmDataField ) @@ -7818,7 +7818,7 @@ end $(_doc_external("DMSwarm/DMSwarmSortDestroy")) """ function DMSwarmSortDestroy(petsclib::PetscLibType, ctx::Union{DMSwarmSort, Ref{DMSwarmSort}}) - error("DMSwarmSortDestroy: no generated method for these argument types") + throw(MethodError(DMSwarmSortDestroy, (petsclib, ctx))) end @for_petsc function DMSwarmSortDestroy(petsclib::$UnionPetscLib, ctx::Union{DMSwarmSort, Ref{DMSwarmSort}} ) @@ -7852,7 +7852,7 @@ See also: `DMSWARM`, `DMSwarmSetType()`, `DMSwarmSortRestoreAccess()` $(_doc_external("DMSwarm/DMSwarmSortGetAccess")) """ function DMSwarmSortGetAccess(petsclib::PetscLibType, sw::AbstractPetscDM) - error("DMSwarmSortGetAccess: no generated method for these argument types") + throw(MethodError(DMSwarmSortGetAccess, (petsclib, sw))) end @for_petsc function DMSwarmSortGetAccess(petsclib::$UnionPetscLib, sw::AbstractPetscDM ) @@ -7888,7 +7888,7 @@ See also: `DMSWARM`, `DMSwarmSetType()`, `DMSwarmSortGetAccess()` $(_doc_external("DMSwarm/DMSwarmSortGetIsValid")) """ function DMSwarmSortGetIsValid(petsclib::PetscLibType, sw::AbstractPetscDM) - error("DMSwarmSortGetIsValid: no generated method for these argument types") + throw(MethodError(DMSwarmSortGetIsValid, (petsclib, sw))) end @for_petsc function DMSwarmSortGetIsValid(petsclib::$UnionPetscLib, sw::AbstractPetscDM ) @@ -7927,7 +7927,7 @@ See also: `DMSWARM`, `DMSwarmSetType()`, `DMSwarmSortGetAccess()`, `DMSwarmSortG $(_doc_external("DMSwarm/DMSwarmSortGetNumberOfPointsPerCell")) """ function DMSwarmSortGetNumberOfPointsPerCell(petsclib::PetscLibType, sw::AbstractPetscDM, cell::Integer) - error("DMSwarmSortGetNumberOfPointsPerCell: no generated method for these argument types") + throw(MethodError(DMSwarmSortGetNumberOfPointsPerCell, (petsclib, sw, cell))) end @for_petsc function DMSwarmSortGetNumberOfPointsPerCell(petsclib::$UnionPetscLib, sw::AbstractPetscDM, cell::$PetscInt ) @@ -7965,7 +7965,7 @@ See also: `DMSWARM`, `DMSwarmSetType()`, `DMSwarmRestorePointsPerCell()`, `DMSwa $(_doc_external("DMSwarm/DMSwarmSortGetPointsPerCell")) """ function DMSwarmSortGetPointsPerCell(petsclib::PetscLibType, sw::AbstractPetscDM, cell::Integer, pidlist::Integer) - error("DMSwarmSortGetPointsPerCell: no generated method for these argument types") + throw(MethodError(DMSwarmSortGetPointsPerCell, (petsclib, sw, cell, pidlist))) end @for_petsc function DMSwarmSortGetPointsPerCell(petsclib::$UnionPetscLib, sw::AbstractPetscDM, cell::$PetscInt, pidlist::$PetscInt ) @@ -8004,7 +8004,7 @@ See also: `DMSWARM`, `DMSwarmSetType()`, `DMSwarmSortGetAccess()` $(_doc_external("DMSwarm/DMSwarmSortGetSizes")) """ function DMSwarmSortGetSizes(petsclib::PetscLibType, sw::AbstractPetscDM) - error("DMSwarmSortGetSizes: no generated method for these argument types") + throw(MethodError(DMSwarmSortGetSizes, (petsclib, sw))) end @for_petsc function DMSwarmSortGetSizes(petsclib::$UnionPetscLib, sw::AbstractPetscDM ) @@ -8041,7 +8041,7 @@ See also: `DMSWARM`, `DMSwarmSetType()`, `DMSwarmSortGetAccess()` $(_doc_external("DMSwarm/DMSwarmSortRestoreAccess")) """ function DMSwarmSortRestoreAccess(petsclib::PetscLibType, sw::AbstractPetscDM) - error("DMSwarmSortRestoreAccess: no generated method for these argument types") + throw(MethodError(DMSwarmSortRestoreAccess, (petsclib, sw))) end @for_petsc function DMSwarmSortRestoreAccess(petsclib::$UnionPetscLib, sw::AbstractPetscDM ) @@ -8077,7 +8077,7 @@ See also: `DMSWARM`, `DMSwarmSetType()`, `DMSwarmSortGetPointsPerCell()`, `DMSwa $(_doc_external("DMSwarm/DMSwarmSortRestorePointsPerCell")) """ function DMSwarmSortRestorePointsPerCell(petsclib::PetscLibType, dm::AbstractPetscDM, e::Integer, npoints::Integer, pidlist::Integer) - error("DMSwarmSortRestorePointsPerCell: no generated method for these argument types") + throw(MethodError(DMSwarmSortRestorePointsPerCell, (petsclib, dm, e, npoints, pidlist))) end @for_petsc function DMSwarmSortRestorePointsPerCell(petsclib::$UnionPetscLib, dm::AbstractPetscDM, e::$PetscInt, npoints::$PetscInt, pidlist::$PetscInt ) diff --git a/src/autowrapped/IS_wrappers.jl b/src/autowrapped/IS_wrappers.jl index ab97ad9d1..b5725ce1d 100644 --- a/src/autowrapped/IS_wrappers.jl +++ b/src/autowrapped/IS_wrappers.jl @@ -20,7 +20,7 @@ See also: `IS`, `ISCreateGeneral()`, `ISCreateStride()`, `ISCreateBlock()` $(_doc_external("IS/ISAllGather")) """ function ISAllGather(petsclib::PetscLibType, is::AbstractIS) - error("ISAllGather: no generated method for these argument types") + throw(MethodError(ISAllGather, (petsclib, is))) end @for_petsc function ISAllGather(petsclib::$UnionPetscLib, is::AbstractIS ) @@ -62,7 +62,7 @@ See also: `ISColoringValue`, `ISColoring()`, `ISCreateGeneral()`, `ISCreateStrid $(_doc_external("IS/ISAllGatherColors")) """ function ISAllGatherColors(petsclib::PetscLibType, comm::MPI_Comm, n::Integer, lindices::Vector{ISColoringValue}) - error("ISAllGatherColors: no generated method for these argument types") + throw(MethodError(ISAllGatherColors, (petsclib, comm, n, lindices))) end @for_petsc function ISAllGatherColors(petsclib::$UnionPetscLib, comm::MPI_Comm, n::$PetscInt, lindices::Vector{ISColoringValue} ) @@ -102,7 +102,7 @@ See also: `IS`, `ISBLOCK`, `ISGetIndices()`, `ISBlockRestoreIndices()`, `ISBlock $(_doc_external("IS/ISBlockGetIndices")) """ function ISBlockGetIndices(petsclib::PetscLibType, is::AbstractIS) - error("ISBlockGetIndices: no generated method for these argument types") + throw(MethodError(ISBlockGetIndices, (petsclib, is))) end @for_petsc function ISBlockGetIndices(petsclib::$UnionPetscLib, is::AbstractIS ) @@ -141,7 +141,7 @@ See also: `IS`, `ISGetBlockSize()`, `ISBlockGetSize()`, `ISGetSize()`, `ISCreate $(_doc_external("IS/ISBlockGetLocalSize")) """ function ISBlockGetLocalSize(petsclib::PetscLibType, is::AbstractIS) - error("ISBlockGetLocalSize: no generated method for these argument types") + throw(MethodError(ISBlockGetLocalSize, (petsclib, is))) end @for_petsc function ISBlockGetLocalSize(petsclib::$UnionPetscLib, is::AbstractIS ) @@ -179,7 +179,7 @@ See also: `IS`, `ISGetBlockSize()`, `ISBlockGetLocalSize()`, `ISGetSize()`, `ISC $(_doc_external("IS/ISBlockGetSize")) """ function ISBlockGetSize(petsclib::PetscLibType, is::AbstractIS) - error("ISBlockGetSize: no generated method for these argument types") + throw(MethodError(ISBlockGetSize, (petsclib, is))) end @for_petsc function ISBlockGetSize(petsclib::$UnionPetscLib, is::AbstractIS ) @@ -217,7 +217,7 @@ See also: `IS`, `ISBLOCK`, `ISRestoreIndices()`, `ISBlockGetIndices()` $(_doc_external("IS/ISBlockRestoreIndices")) """ function ISBlockRestoreIndices(petsclib::PetscLibType, is::AbstractIS, idx::Union{Ptr, AbstractArray{<:Number}}) - error("ISBlockRestoreIndices: no generated method for these argument types") + throw(MethodError(ISBlockRestoreIndices, (petsclib, is, idx))) end @for_petsc function ISBlockRestoreIndices(petsclib::$UnionPetscLib, is::AbstractIS, idx::Union{Ptr, AbstractArray{$PetscInt}} ) @@ -255,7 +255,7 @@ See also: `IS`, `ISCreateStride()`, `ISCreateGeneral()`, `ISAllGather()`, `ISCre $(_doc_external("IS/ISBlockSetIndices")) """ function ISBlockSetIndices(petsclib::PetscLibType, is::AbstractIS, bs::Integer, n::Integer, idx::AbstractVector{<:Number}, mode::PetscCopyMode) - error("ISBlockSetIndices: no generated method for these argument types") + throw(MethodError(ISBlockSetIndices, (petsclib, is, bs, n, idx, mode))) end @for_petsc function ISBlockSetIndices(petsclib::$UnionPetscLib, is::AbstractIS, bs::$PetscInt, n::$PetscInt, idx::Vector{$PetscInt}, mode::PetscCopyMode ) @@ -293,7 +293,7 @@ See also: `IS`, `MatPartitioningCreate()`, `ISPartitioningToNumbering()`, `ISPar $(_doc_external("IS/ISBuildTwoSided")) """ function ISBuildTwoSided(petsclib::PetscLibType, ito::AbstractIS, toindx::AbstractIS) - error("ISBuildTwoSided: no generated method for these argument types") + throw(MethodError(ISBuildTwoSided, (petsclib, ito, toindx))) end @for_petsc function ISBuildTwoSided(petsclib::$UnionPetscLib, ito::AbstractIS, toindx::AbstractIS ) @@ -329,7 +329,7 @@ See also: `IS`, `ISInfo`, `ISInfoType`, `ISSetInfo()` $(_doc_external("IS/ISClearInfoCache")) """ function ISClearInfoCache(petsclib::PetscLibType, is::AbstractIS, clear_permanent_local::PetscBool) - error("ISClearInfoCache: no generated method for these argument types") + throw(MethodError(ISClearInfoCache, (petsclib, is, clear_permanent_local))) end @for_petsc function ISClearInfoCache(petsclib::$UnionPetscLib, is::AbstractIS, clear_permanent_local::PetscBool ) @@ -368,7 +368,7 @@ See also: `IS`, `ISCreateGeneral()`, `ISCreateStride()`, `ISCreateBlock()`, `ISA $(_doc_external("IS/ISComplement")) """ function ISComplement(petsclib::PetscLibType, is::AbstractIS, nmin::Integer, nmax::Integer) - error("ISComplement: no generated method for these argument types") + throw(MethodError(ISComplement, (petsclib, is, nmin, nmax))) end @for_petsc function ISComplement(petsclib::$UnionPetscLib, is::AbstractIS, nmin::$PetscInt, nmax::$PetscInt ) @@ -407,7 +407,7 @@ See also: `IS`, `Vec`, `ISCreateGeneral()` $(_doc_external("Vec/ISComplementVec")) """ function ISComplementVec(petsclib::PetscLibType, S::AbstractIS, V::AbstractPetscVec) - error("ISComplementVec: no generated method for these argument types") + throw(MethodError(ISComplementVec, (petsclib, S, V))) end @for_petsc function ISComplementVec(petsclib::$UnionPetscLib, S::AbstractIS, V::AbstractPetscVec ) @@ -447,7 +447,7 @@ See also: `IS`, `ISGENERAL`, `ISExpandIndicesGeneral()` $(_doc_external("IS/ISCompressIndicesGeneral")) """ function ISCompressIndicesGeneral(petsclib::PetscLibType, n::Integer, nkeys::Integer, bs::Integer, imax::Integer, is_in::Vector{<:AbstractIS}, is_out::Vector{<:AbstractIS}) - error("ISCompressIndicesGeneral: no generated method for these argument types") + throw(MethodError(ISCompressIndicesGeneral, (petsclib, n, nkeys, bs, imax, is_in, is_out))) end @for_petsc function ISCompressIndicesGeneral(petsclib::$UnionPetscLib, n::$PetscInt, nkeys::$PetscInt, bs::$PetscInt, imax::$PetscInt, is_in::Vector{<:AbstractIS}, is_out::Vector{<:AbstractIS} ) @@ -485,7 +485,7 @@ See also: `IS`, `ISDifference()`, `ISSum()`, `ISExpand()`, `ISIntersect()` $(_doc_external("IS/ISConcatenate")) """ function ISConcatenate(petsclib::PetscLibType, comm::MPI_Comm, len::Integer, islist::Vector{<:AbstractIS}) - error("ISConcatenate: no generated method for these argument types") + throw(MethodError(ISConcatenate, (petsclib, comm, len, islist))) end @for_petsc function ISConcatenate(petsclib::$UnionPetscLib, comm::MPI_Comm, len::$PetscInt, islist::Vector{<:AbstractIS} ) @@ -526,7 +526,7 @@ See also: `IS`, `ISGetLocalSize()`, `VecGetOwnershipRange()` $(_doc_external("IS/ISContiguousLocal")) """ function ISContiguousLocal(petsclib::PetscLibType, is::AbstractIS, gstart::Integer, gend::Integer) - error("ISContiguousLocal: no generated method for these argument types") + throw(MethodError(ISContiguousLocal, (petsclib, is, gstart, gend))) end @for_petsc function ISContiguousLocal(petsclib::$UnionPetscLib, is::AbstractIS, gstart::$PetscInt, gend::$PetscInt ) @@ -566,7 +566,7 @@ See also: `IS`, `ISDuplicate()`, `ISShift()` $(_doc_external("IS/ISCopy")) """ function ISCopy(petsclib::PetscLibType, is::AbstractIS, isy::AbstractIS) - error("ISCopy: no generated method for these argument types") + throw(MethodError(ISCopy, (petsclib, is, isy))) end @for_petsc function ISCopy(petsclib::$UnionPetscLib, is::AbstractIS, isy::AbstractIS ) @@ -602,7 +602,7 @@ See also: `IS`, `ISType()`, `ISSetType()`, `ISCreateGeneral()`, `ISCreateStride( $(_doc_external("IS/ISCreate")) """ function ISCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("ISCreate: no generated method for these argument types") + throw(MethodError(ISCreate, (petsclib, comm))) end @for_petsc function ISCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -645,7 +645,7 @@ See also: `IS`, `ISCreateStride()`, `ISCreateGeneral()`, `ISAllGather()`, `ISBlo $(_doc_external("IS/ISCreateBlock")) """ function ISCreateBlock(petsclib::PetscLibType, comm::MPI_Comm, bs::Integer, n::Integer, idx::AbstractVector{<:Number}, mode::PetscCopyMode) - error("ISCreateBlock: no generated method for these argument types") + throw(MethodError(ISCreateBlock, (petsclib, comm, bs, n, idx, mode))) end @for_petsc function ISCreateBlock(petsclib::$UnionPetscLib, comm::MPI_Comm, bs::$PetscInt, n::$PetscInt, idx::Vector{$PetscInt}, mode::PetscCopyMode ) @@ -687,7 +687,7 @@ See also: `IS`, `ISGENERAL`, `ISCreateStride()`, `ISCreateBlock()`, `ISAllGather $(_doc_external("IS/ISCreateGeneral")) """ function ISCreateGeneral(petsclib::PetscLibType, comm::MPI_Comm, n::Integer, idx::AbstractVector{<:Number}, mode::PetscCopyMode) - error("ISCreateGeneral: no generated method for these argument types") + throw(MethodError(ISCreateGeneral, (petsclib, comm, n, idx, mode))) end @for_petsc function ISCreateGeneral(petsclib::$UnionPetscLib, comm::MPI_Comm, n::$PetscInt, idx::Vector{$PetscInt}, mode::PetscCopyMode ) @@ -728,7 +728,7 @@ See also: `IS`, `ISStrideSetStride()`, `ISCreateGeneral()`, `ISCreateBlock()`, ` $(_doc_external("IS/ISCreateStride")) """ function ISCreateStride(petsclib::PetscLibType, comm::MPI_Comm, n::Integer, first::Integer, step::Integer) - error("ISCreateStride: no generated method for these argument types") + throw(MethodError(ISCreateStride, (petsclib, comm, n, first, step))) end @for_petsc function ISCreateStride(petsclib::$UnionPetscLib, comm::MPI_Comm, n::$PetscInt, first::$PetscInt, step::$PetscInt ) @@ -775,7 +775,7 @@ See also: `IS`, `VecGetSubVector()`, `MatCreateSubMatrix()` $(_doc_external("IS/ISCreateSubIS")) """ function ISCreateSubIS(petsclib::PetscLibType, is::AbstractIS, comps::AbstractIS) - error("ISCreateSubIS: no generated method for these argument types") + throw(MethodError(ISCreateSubIS, (petsclib, is, comps))) end @for_petsc function ISCreateSubIS(petsclib::$UnionPetscLib, is::AbstractIS, comps::AbstractIS ) @@ -810,7 +810,7 @@ See also: `IS`, `ISCreateGeneral()`, `ISCreateStride()`, `ISCreateBlock()` $(_doc_external("IS/ISDestroy")) """ function ISDestroy(petsclib::PetscLibType, is::AbstractIS) - error("ISDestroy: no generated method for these argument types") + throw(MethodError(ISDestroy, (petsclib, is))) end @for_petsc function ISDestroy(petsclib::$UnionPetscLib, is::AbstractIS ) @@ -849,7 +849,7 @@ See also: `IS`, `ISDestroy()`, `ISView()`, `ISSum()`, `ISExpand()` $(_doc_external("IS/ISDifference")) """ function ISDifference(petsclib::PetscLibType, is1::AbstractIS, is2::AbstractIS) - error("ISDifference: no generated method for these argument types") + throw(MethodError(ISDifference, (petsclib, is1, is2))) end @for_petsc function ISDifference(petsclib::$UnionPetscLib, is1::AbstractIS, is2::AbstractIS ) @@ -887,7 +887,7 @@ See also: `IS`, `ISCreateGeneral()`, `ISCopy()` $(_doc_external("IS/ISDuplicate")) """ function ISDuplicate(petsclib::PetscLibType, is::AbstractIS) - error("ISDuplicate: no generated method for these argument types") + throw(MethodError(ISDuplicate, (petsclib, is))) end @for_petsc function ISDuplicate(petsclib::$UnionPetscLib, is::AbstractIS ) @@ -929,7 +929,7 @@ See also: `IS`, `ISLocalToGlobalMapping` $(_doc_external("IS/ISEmbed")) """ function ISEmbed(petsclib::PetscLibType, a::AbstractIS, b::AbstractIS, drop::PetscBool) - error("ISEmbed: no generated method for these argument types") + throw(MethodError(ISEmbed, (petsclib, a, b, drop))) end @for_petsc function ISEmbed(petsclib::$UnionPetscLib, a::AbstractIS, b::AbstractIS, drop::PetscBool ) @@ -970,7 +970,7 @@ See also: `IS`, `ISEqualUnsorted()` $(_doc_external("IS/ISEqual")) """ function ISEqual(petsclib::PetscLibType, is1::AbstractIS, is2::AbstractIS) - error("ISEqual: no generated method for these argument types") + throw(MethodError(ISEqual, (petsclib, is1, is2))) end @for_petsc function ISEqual(petsclib::$UnionPetscLib, is1::AbstractIS, is2::AbstractIS ) @@ -1011,7 +1011,7 @@ See also: `IS`, `ISEqual()` $(_doc_external("IS/ISEqualUnsorted")) """ function ISEqualUnsorted(petsclib::PetscLibType, is1::AbstractIS, is2::AbstractIS) - error("ISEqualUnsorted: no generated method for these argument types") + throw(MethodError(ISEqualUnsorted, (petsclib, is1, is2))) end @for_petsc function ISEqualUnsorted(petsclib::$UnionPetscLib, is1::AbstractIS, is2::AbstractIS ) @@ -1051,7 +1051,7 @@ See also: `IS`, `ISDestroy()`, `ISView()`, `ISDifference()`, `ISSum()`, `ISInter $(_doc_external("IS/ISExpand")) """ function ISExpand(petsclib::PetscLibType, is1::AbstractIS, is2::AbstractIS) - error("ISExpand: no generated method for these argument types") + throw(MethodError(ISExpand, (petsclib, is1, is2))) end @for_petsc function ISExpand(petsclib::$UnionPetscLib, is1::AbstractIS, is2::AbstractIS ) @@ -1091,7 +1091,7 @@ See also: `IS`, `ISGENERAL`, `ISCompressIndicesGeneral()` $(_doc_external("IS/ISExpandIndicesGeneral")) """ function ISExpandIndicesGeneral(petsclib::PetscLibType, n::Integer, nkeys::Integer, bs::Integer, imax::Integer, is_in::Vector{<:AbstractIS}, is_out::Vector{<:AbstractIS}) - error("ISExpandIndicesGeneral: no generated method for these argument types") + throw(MethodError(ISExpandIndicesGeneral, (petsclib, n, nkeys, bs, imax, is_in, is_out))) end @for_petsc function ISExpandIndicesGeneral(petsclib::$UnionPetscLib, n::$PetscInt, nkeys::$PetscInt, bs::$PetscInt, imax::$PetscInt, is_in::Vector{<:AbstractIS}, is_out::Vector{<:AbstractIS} ) @@ -1120,7 +1120,7 @@ See also: `PetscFinalize()` $(_doc_external("Vec/ISFinalizePackage")) """ function ISFinalizePackage(petsclib::PetscLibType) - error("ISFinalizePackage: no generated method for these argument types") + throw(MethodError(ISFinalizePackage, (petsclib, ))) end @for_petsc function ISFinalizePackage(petsclib::$UnionPetscLib) @@ -1154,7 +1154,7 @@ See also: `IS`, `ISGENERAL`, `ISCreateGeneral()`, `ISGeneralSetIndices()` $(_doc_external("IS/ISGeneralFilter")) """ function ISGeneralFilter(petsclib::PetscLibType, is::AbstractIS, start::Integer, end_::Integer) - error("ISGeneralFilter: no generated method for these argument types") + throw(MethodError(ISGeneralFilter, (petsclib, is, start, end_))) end @for_petsc function ISGeneralFilter(petsclib::$UnionPetscLib, is::AbstractIS, start::$PetscInt, end_::$PetscInt ) @@ -1190,7 +1190,7 @@ See also: `IS`, `ISBLOCK`, `ISCreateGeneral()`, `ISGeneralSetIndicesFromMask()`, $(_doc_external("IS/ISGeneralSetIndices")) """ function ISGeneralSetIndices(petsclib::PetscLibType, is::AbstractIS, n::Integer, idx::AbstractVector{<:Number}, mode::PetscCopyMode) - error("ISGeneralSetIndices: no generated method for these argument types") + throw(MethodError(ISGeneralSetIndices, (petsclib, is, n, idx, mode))) end @for_petsc function ISGeneralSetIndices(petsclib::$UnionPetscLib, is::AbstractIS, n::$PetscInt, idx::Vector{$PetscInt}, mode::PetscCopyMode ) @@ -1226,7 +1226,7 @@ See also: `IS`, `ISCreateGeneral()`, `ISGeneralSetIndices()`, `ISGENERAL` $(_doc_external("IS/ISGeneralSetIndicesFromMask")) """ function ISGeneralSetIndicesFromMask(petsclib::PetscLibType, is::AbstractIS, rstart::Integer, rend::Integer, mask::Vector{PetscBool}) - error("ISGeneralSetIndicesFromMask: no generated method for these argument types") + throw(MethodError(ISGeneralSetIndicesFromMask, (petsclib, is, rstart, rend, mask))) end @for_petsc function ISGeneralSetIndicesFromMask(petsclib::$UnionPetscLib, is::AbstractIS, rstart::$PetscInt, rend::$PetscInt, mask::Vector{PetscBool} ) @@ -1262,7 +1262,7 @@ See also: `IS`, `ISBlockGetSize()`, `ISGetSize()`, `ISCreateBlock()`, `ISSetBloc $(_doc_external("IS/ISGetBlockSize")) """ function ISGetBlockSize(petsclib::PetscLibType, is::AbstractIS) - error("ISGetBlockSize: no generated method for these argument types") + throw(MethodError(ISGetBlockSize, (petsclib, is))) end @for_petsc function ISGetBlockSize(petsclib::$UnionPetscLib, is::AbstractIS ) @@ -1300,7 +1300,7 @@ See also: `IS`, `ISSetCompressOutput()`, `ISView()` $(_doc_external("IS/ISGetCompressOutput")) """ function ISGetCompressOutput(petsclib::PetscLibType, is::AbstractIS) - error("ISGetCompressOutput: no generated method for these argument types") + throw(MethodError(ISGetCompressOutput, (petsclib, is))) end @for_petsc function ISGetCompressOutput(petsclib::$UnionPetscLib, is::AbstractIS ) @@ -1340,7 +1340,7 @@ See also: `IS`, `ISRestoreIndices()` $(_doc_external("IS/ISGetIndices")) """ function ISGetIndices(petsclib::PetscLibType, is::AbstractIS) - error("ISGetIndices: no generated method for these argument types") + throw(MethodError(ISGetIndices, (petsclib, is))) end @for_petsc function ISGetIndices(petsclib::$UnionPetscLib, is::AbstractIS ) @@ -1381,7 +1381,7 @@ See also: `IS`, `ISInfo`, `ISInfoType`, `ISSetInfo()`, `ISClearInfoCache()` $(_doc_external("IS/ISGetInfo")) """ function ISGetInfo(petsclib::PetscLibType, is::AbstractIS, info::ISInfo, type::ISInfoType, compute::PetscBool) - error("ISGetInfo: no generated method for these argument types") + throw(MethodError(ISGetInfo, (petsclib, is, info, type, compute))) end @for_petsc function ISGetInfo(petsclib::$UnionPetscLib, is::AbstractIS, info::ISInfo, type::ISInfoType, compute::PetscBool ) @@ -1419,7 +1419,7 @@ See also: `IS`, `PetscLayout`, `ISSetLayout()`, `ISGetSize()`, `ISGetLocalSize() $(_doc_external("IS/ISGetLayout")) """ function ISGetLayout(petsclib::PetscLibType, is::AbstractIS) - error("ISGetLayout: no generated method for these argument types") + throw(MethodError(ISGetLayout, (petsclib, is))) end @for_petsc function ISGetLayout(petsclib::$UnionPetscLib, is::AbstractIS ) @@ -1457,7 +1457,7 @@ See also: `IS`, `ISGetSize()` $(_doc_external("IS/ISGetLocalSize")) """ function ISGetLocalSize(petsclib::PetscLibType, is::AbstractIS) - error("ISGetLocalSize: no generated method for these argument types") + throw(MethodError(ISGetLocalSize, (petsclib, is))) end @for_petsc function ISGetLocalSize(petsclib::$UnionPetscLib, is::AbstractIS ) @@ -1496,7 +1496,7 @@ See also: `IS`, `ISGetIndices()`, `ISRestoreIndices()` $(_doc_external("IS/ISGetMinMax")) """ function ISGetMinMax(petsclib::PetscLibType, is::AbstractIS) - error("ISGetMinMax: no generated method for these argument types") + throw(MethodError(ISGetMinMax, (petsclib, is))) end @for_petsc function ISGetMinMax(petsclib::$UnionPetscLib, is::AbstractIS ) @@ -1538,7 +1538,7 @@ See also: `IS`, `ISGetNonlocalIndices()`, `ISRestoreNonlocalIndices()`, `ISAllGa $(_doc_external("IS/ISGetNonlocalIS")) """ function ISGetNonlocalIS(petsclib::PetscLibType, is::AbstractIS) - error("ISGetNonlocalIS: no generated method for these argument types") + throw(MethodError(ISGetNonlocalIS, (petsclib, is))) end @for_petsc function ISGetNonlocalIS(petsclib::$UnionPetscLib, is::AbstractIS ) @@ -1580,7 +1580,7 @@ See also: `IS`, `ISGetTotalIndices()`, `ISRestoreNonlocalIndices()`, `ISGetSize( $(_doc_external("IS/ISGetNonlocalIndices")) """ function ISGetNonlocalIndices(petsclib::PetscLibType, is::AbstractIS) - error("ISGetNonlocalIndices: no generated method for these argument types") + throw(MethodError(ISGetNonlocalIndices, (petsclib, is))) end @for_petsc function ISGetNonlocalIndices(petsclib::$UnionPetscLib, is::AbstractIS ) @@ -1621,7 +1621,7 @@ See also: `IS`, `ISRestorePointRange()`, `ISGetPointSubrange()`, `ISGetIndices() $(_doc_external("IS/ISGetPointRange")) """ function ISGetPointRange(petsclib::PetscLibType, pointIS::AbstractIS) - error("ISGetPointRange: no generated method for these argument types") + throw(MethodError(ISGetPointRange, (petsclib, pointIS))) end @for_petsc function ISGetPointRange(petsclib::$UnionPetscLib, pointIS::AbstractIS ) @@ -1666,7 +1666,7 @@ See also: `IS`, `ISGetPointRange()`, `ISRestorePointRange()`, `ISGetIndices()`, $(_doc_external("IS/ISGetPointSubrange")) """ function ISGetPointSubrange(petsclib::PetscLibType, subpointIS::AbstractIS, pStart::Integer, pEnd::Integer, points::AbstractVector{<:Number}) - error("ISGetPointSubrange: no generated method for these argument types") + throw(MethodError(ISGetPointSubrange, (petsclib, subpointIS, pStart, pEnd, points))) end @for_petsc function ISGetPointSubrange(petsclib::$UnionPetscLib, subpointIS::AbstractIS, pStart::$PetscInt, pEnd::$PetscInt, points::Vector{$PetscInt} ) @@ -1702,7 +1702,7 @@ See also: `IS` $(_doc_external("IS/ISGetSize")) """ function ISGetSize(petsclib::PetscLibType, is::AbstractIS) - error("ISGetSize: no generated method for these argument types") + throw(MethodError(ISGetSize, (petsclib, is))) end @for_petsc function ISGetSize(petsclib::$UnionPetscLib, is::AbstractIS ) @@ -1741,7 +1741,7 @@ See also: `IS`, `ISRestoreTotalIndices()`, `ISGetNonlocalIndices()`, `ISGetSize( $(_doc_external("IS/ISGetTotalIndices")) """ function ISGetTotalIndices(petsclib::PetscLibType, is::AbstractIS) - error("ISGetTotalIndices: no generated method for these argument types") + throw(MethodError(ISGetTotalIndices, (petsclib, is))) end @for_petsc function ISGetTotalIndices(petsclib::$UnionPetscLib, is::AbstractIS ) @@ -1780,7 +1780,7 @@ See also: `IS`, `ISType`, `ISSetType()`, `ISCreate()`, `PetscObjectTypeCompare() $(_doc_external("IS/ISGetType")) """ function ISGetType(petsclib::PetscLibType, is::AbstractIS) - error("ISGetType: no generated method for these argument types") + throw(MethodError(ISGetType, (petsclib, is))) end @for_petsc function ISGetType(petsclib::$UnionPetscLib, is::AbstractIS ) @@ -1829,7 +1829,7 @@ See also: `ISLocalToGlobalMapping`, `ISLocalToGlobalMappingApply()`, `ISGlobalTo $(_doc_external("IS/ISGlobalToLocalMappingApply")) """ function ISGlobalToLocalMappingApply(petsclib::PetscLibType, mapping::ISLocalToGlobalMapping, type::ISGlobalToLocalMappingMode, n::Integer, idx::AbstractVector{<:Number}, idxout::AbstractVector{<:Number}) - error("ISGlobalToLocalMappingApply: no generated method for these argument types") + throw(MethodError(ISGlobalToLocalMappingApply, (petsclib, mapping, type, n, idx, idxout))) end @for_petsc function ISGlobalToLocalMappingApply(petsclib::$UnionPetscLib, mapping::ISLocalToGlobalMapping, type::ISGlobalToLocalMappingMode, n::$PetscInt, idx::Vector{$PetscInt}, idxout::Vector{$PetscInt} ) @@ -1878,7 +1878,7 @@ See also: `ISLocalToGlobalMapping`, `ISLocalToGlobalMappingApply()`, `ISGlobalTo $(_doc_external("IS/ISGlobalToLocalMappingApplyBlock")) """ function ISGlobalToLocalMappingApplyBlock(petsclib::PetscLibType, mapping::ISLocalToGlobalMapping, type::ISGlobalToLocalMappingMode, n::Integer, idx::AbstractVector{<:Number}, idxout::AbstractVector{<:Number}) - error("ISGlobalToLocalMappingApplyBlock: no generated method for these argument types") + throw(MethodError(ISGlobalToLocalMappingApplyBlock, (petsclib, mapping, type, n, idx, idxout))) end @for_petsc function ISGlobalToLocalMappingApplyBlock(petsclib::$UnionPetscLib, mapping::ISLocalToGlobalMapping, type::ISGlobalToLocalMappingMode, n::$PetscInt, idx::Vector{$PetscInt}, idxout::Vector{$PetscInt} ) @@ -1922,7 +1922,7 @@ See also: `ISGlobalToLocalMapping`, `ISGlobalToLocalMappingApply()`, `ISLocalToG $(_doc_external("IS/ISGlobalToLocalMappingApplyIS")) """ function ISGlobalToLocalMappingApplyIS(petsclib::PetscLibType, mapping::ISLocalToGlobalMapping, type::ISGlobalToLocalMappingMode, is::AbstractIS) - error("ISGlobalToLocalMappingApplyIS: no generated method for these argument types") + throw(MethodError(ISGlobalToLocalMappingApplyIS, (petsclib, mapping, type, is))) end @for_petsc function ISGlobalToLocalMappingApplyIS(petsclib::$UnionPetscLib, mapping::ISLocalToGlobalMapping, type::ISGlobalToLocalMappingMode, is::AbstractIS ) @@ -1960,7 +1960,7 @@ See also: `IS`, `ISSetIdentity()`, `ISGetInfo()` $(_doc_external("IS/ISIdentity")) """ function ISIdentity(petsclib::PetscLibType, is::AbstractIS) - error("ISIdentity: no generated method for these argument types") + throw(MethodError(ISIdentity, (petsclib, is))) end @for_petsc function ISIdentity(petsclib::$UnionPetscLib, is::AbstractIS ) @@ -1992,7 +1992,7 @@ See also: `PetscInitialize()` $(_doc_external("Sys/ISInitializePackage")) """ function ISInitializePackage(petsclib::PetscLibType) - error("ISInitializePackage: no generated method for these argument types") + throw(MethodError(ISInitializePackage, (petsclib, ))) end @for_petsc function ISInitializePackage(petsclib::$UnionPetscLib) @@ -2028,7 +2028,7 @@ See also: `IS`, `ISDestroy()`, `ISView()`, `ISDifference()`, `ISSum()`, `ISExpan $(_doc_external("IS/ISIntersect")) """ function ISIntersect(petsclib::PetscLibType, is1::AbstractIS, is2::AbstractIS) - error("ISIntersect: no generated method for these argument types") + throw(MethodError(ISIntersect, (petsclib, is1, is2))) end @for_petsc function ISIntersect(petsclib::$UnionPetscLib, is1::AbstractIS, is2::AbstractIS ) @@ -2069,7 +2069,7 @@ See also: `IS`, `ISGetInfo()`, `ISSetPermutation()`, `ISGetPermutation()` $(_doc_external("IS/ISInvertPermutation")) """ function ISInvertPermutation(petsclib::PetscLibType, is::AbstractIS, nlocal::Integer) - error("ISInvertPermutation: no generated method for these argument types") + throw(MethodError(ISInvertPermutation, (petsclib, is, nlocal))) end @for_petsc function ISInvertPermutation(petsclib::$UnionPetscLib, is::AbstractIS, nlocal::$PetscInt ) @@ -2112,7 +2112,7 @@ See also: `IS`, `ISPairToList()` $(_doc_external("IS/ISListToPair")) """ function ISListToPair(petsclib::PetscLibType, comm::MPI_Comm, listlen::Integer, islist::Vector{<:AbstractIS}) - error("ISListToPair: no generated method for these argument types") + throw(MethodError(ISListToPair, (petsclib, comm, listlen, islist))) end @for_petsc function ISListToPair(petsclib::$UnionPetscLib, comm::MPI_Comm, listlen::$PetscInt, islist::Vector{<:AbstractIS} ) @@ -2150,7 +2150,7 @@ See also: `IS`, `PetscViewerBinaryOpen()`, `ISView()`, `MatLoad()`, `VecLoad()` $(_doc_external("IS/ISLoad")) """ function ISLoad(petsclib::PetscLibType, is::AbstractIS, viewer::PetscViewer) - error("ISLoad: no generated method for these argument types") + throw(MethodError(ISLoad, (petsclib, is, viewer))) end @for_petsc function ISLoad(petsclib::$UnionPetscLib, is::AbstractIS, viewer::PetscViewer ) @@ -2187,7 +2187,7 @@ See also: `IS` $(_doc_external("IS/ISLocate")) """ function ISLocate(petsclib::PetscLibType, is::AbstractIS, key::Integer) - error("ISLocate: no generated method for these argument types") + throw(MethodError(ISLocate, (petsclib, is, key))) end @for_petsc function ISLocate(petsclib::$UnionPetscLib, is::AbstractIS, key::$PetscInt ) @@ -2227,7 +2227,7 @@ See also: `IS` $(_doc_external("IS/ISOnComm")) """ function ISOnComm(petsclib::PetscLibType, is::AbstractIS, comm::MPI_Comm, mode::PetscCopyMode) - error("ISOnComm: no generated method for these argument types") + throw(MethodError(ISOnComm, (petsclib, is, comm, mode))) end @for_petsc function ISOnComm(petsclib::$UnionPetscLib, is::AbstractIS, comm::MPI_Comm, mode::PetscCopyMode ) @@ -2267,7 +2267,7 @@ See also: `IS`, `ISListToPair()` $(_doc_external("IS/ISPairToList")) """ function ISPairToList(petsclib::PetscLibType, xis::AbstractIS, yis::AbstractIS) - error("ISPairToList: no generated method for these argument types") + throw(MethodError(ISPairToList, (petsclib, xis, yis))) end @for_petsc function ISPairToList(petsclib::$UnionPetscLib, xis::AbstractIS, yis::AbstractIS ) @@ -2312,7 +2312,7 @@ See also: `IS`, `MatPartitioningCreate()`, `AOCreateBasic()`, `ISPartitioningToN $(_doc_external("IS/ISPartitioningCount")) """ function ISPartitioningCount(petsclib::PetscLibType, part::AbstractIS, len::Integer, count::AbstractVector{<:Number}) - error("ISPartitioningCount: no generated method for these argument types") + throw(MethodError(ISPartitioningCount, (petsclib, part, len, count))) end @for_petsc function ISPartitioningCount(petsclib::$UnionPetscLib, part::AbstractIS, len::$PetscInt, count::Vector{$PetscInt} ) @@ -2351,7 +2351,7 @@ See also: `IS`, `MatPartitioningCreate()`, `AOCreateBasic()`, `ISPartitioningCou $(_doc_external("IS/ISPartitioningToNumbering")) """ function ISPartitioningToNumbering(petsclib::PetscLibType, part::AbstractIS) - error("ISPartitioningToNumbering: no generated method for these argument types") + throw(MethodError(ISPartitioningToNumbering, (petsclib, part))) end @for_petsc function ISPartitioningToNumbering(petsclib::$UnionPetscLib, part::AbstractIS ) @@ -2390,7 +2390,7 @@ See also: `IS`, `ISSetPermutation()`, `ISGetInfo()` $(_doc_external("IS/ISPermutation")) """ function ISPermutation(petsclib::PetscLibType, is::AbstractIS) - error("ISPermutation: no generated method for these argument types") + throw(MethodError(ISPermutation, (petsclib, is))) end @for_petsc function ISPermutation(petsclib::$UnionPetscLib, is::AbstractIS ) @@ -2424,7 +2424,7 @@ See also: `IS`, `ISType`, `ISSetType()`, `ISRegisterAll()`, `ISRegisterDestroy() $(_doc_external("IS/ISRegister")) """ function ISRegister(petsclib::PetscLibType, sname::String, fnc::external) - error("ISRegister: no generated method for these argument types") + throw(MethodError(ISRegister, (petsclib, sname, fnc))) end @for_petsc function ISRegister(petsclib::$UnionPetscLib, sname::String, fnc::external ) @@ -2454,7 +2454,7 @@ See also: `IS`, `ISType`, `ISRegister()` $(_doc_external("IS/ISRegisterAll")) """ function ISRegisterAll(petsclib::PetscLibType) - error("ISRegisterAll: no generated method for these argument types") + throw(MethodError(ISRegisterAll, (petsclib, ))) end @for_petsc function ISRegisterAll(petsclib::$UnionPetscLib) @@ -2491,7 +2491,7 @@ See also: `IS` $(_doc_external("IS/ISRenumber")) """ function ISRenumber(petsclib::PetscLibType, subset::AbstractIS, subset_mult::AbstractIS) - error("ISRenumber: no generated method for these argument types") + throw(MethodError(ISRenumber, (petsclib, subset, subset_mult))) end @for_petsc function ISRenumber(petsclib::$UnionPetscLib, subset::AbstractIS, subset_mult::AbstractIS ) @@ -2529,7 +2529,7 @@ See also: `IS`, `ISGetIndices()` $(_doc_external("IS/ISRestoreIndices")) """ function ISRestoreIndices(petsclib::PetscLibType, is::AbstractIS, ptr::Union{Ptr, AbstractArray{<:Number}}) - error("ISRestoreIndices: no generated method for these argument types") + throw(MethodError(ISRestoreIndices, (petsclib, is, ptr))) end @for_petsc function ISRestoreIndices(petsclib::$UnionPetscLib, is::AbstractIS, ptr::Union{Ptr, AbstractArray{$PetscInt}} ) @@ -2564,7 +2564,7 @@ See also: `IS`, `ISGetNonlocalIS()`, `ISGetNonlocalIndices()`, `ISRestoreNonloca $(_doc_external("IS/ISRestoreNonlocalIS")) """ function ISRestoreNonlocalIS(petsclib::PetscLibType, is::AbstractIS, complement::AbstractIS) - error("ISRestoreNonlocalIS: no generated method for these argument types") + throw(MethodError(ISRestoreNonlocalIS, (petsclib, is, complement))) end @for_petsc function ISRestoreNonlocalIS(petsclib::$UnionPetscLib, is::AbstractIS, complement::AbstractIS ) @@ -2600,7 +2600,7 @@ See also: `IS`, `ISGetTotalIndices()`, `ISGetNonlocalIndices()`, `ISRestoreTotal $(_doc_external("IS/ISRestoreNonlocalIndices")) """ function ISRestoreNonlocalIndices(petsclib::PetscLibType, is::AbstractIS, indices::Union{Ptr, AbstractArray{<:Number}}) - error("ISRestoreNonlocalIndices: no generated method for these argument types") + throw(MethodError(ISRestoreNonlocalIndices, (petsclib, is, indices))) end @for_petsc function ISRestoreNonlocalIndices(petsclib::$UnionPetscLib, is::AbstractIS, indices::Union{Ptr, AbstractArray{$PetscInt}} ) @@ -2637,7 +2637,7 @@ See also: `IS`, `ISGetPointRange()`, `ISGetPointSubrange()`, `ISGetIndices()`, ` $(_doc_external("IS/ISRestorePointRange")) """ function ISRestorePointRange(petsclib::PetscLibType, pointIS::AbstractIS, pStart::Integer, pEnd::Integer, points::Union{Ptr, AbstractArray{<:Number}}) - error("ISRestorePointRange: no generated method for these argument types") + throw(MethodError(ISRestorePointRange, (petsclib, pointIS, pStart, pEnd, points))) end @for_petsc function ISRestorePointRange(petsclib::$UnionPetscLib, pointIS::AbstractIS, pStart::$PetscInt, pEnd::$PetscInt, points::Union{Ptr, AbstractArray{$PetscInt}} ) @@ -2674,7 +2674,7 @@ See also: `IS`, `ISGetNonlocalIndices()` $(_doc_external("IS/ISRestoreTotalIndices")) """ function ISRestoreTotalIndices(petsclib::PetscLibType, is::AbstractIS, indices::Union{Ptr, AbstractArray{<:Number}}) - error("ISRestoreTotalIndices: no generated method for these argument types") + throw(MethodError(ISRestoreTotalIndices, (petsclib, is, indices))) end @for_petsc function ISRestoreTotalIndices(petsclib::$UnionPetscLib, is::AbstractIS, indices::Union{Ptr, AbstractArray{$PetscInt}} ) @@ -2709,7 +2709,7 @@ See also: `IS`, `ISGetBlockSize()`, `ISCreateBlock()`, `ISBlockGetIndices()` $(_doc_external("IS/ISSetBlockSize")) """ function ISSetBlockSize(petsclib::PetscLibType, is::AbstractIS, bs::Integer) - error("ISSetBlockSize: no generated method for these argument types") + throw(MethodError(ISSetBlockSize, (petsclib, is, bs))) end @for_petsc function ISSetBlockSize(petsclib::$UnionPetscLib, is::AbstractIS, bs::$PetscInt ) @@ -2743,7 +2743,7 @@ See also: `IS`, `ISGetCompressOutput()`, `ISView()` $(_doc_external("IS/ISSetCompressOutput")) """ function ISSetCompressOutput(petsclib::PetscLibType, is::AbstractIS, compress::PetscBool) - error("ISSetCompressOutput: no generated method for these argument types") + throw(MethodError(ISSetCompressOutput, (petsclib, is, compress))) end @for_petsc function ISSetCompressOutput(petsclib::$UnionPetscLib, is::AbstractIS, compress::PetscBool ) @@ -2776,7 +2776,7 @@ See also: `IS`, `ISIdentity()`, `ISSetInfo()`, `ISClearInfoCache()` $(_doc_external("IS/ISSetIdentity")) """ function ISSetIdentity(petsclib::PetscLibType, is::AbstractIS) - error("ISSetIdentity: no generated method for these argument types") + throw(MethodError(ISSetIdentity, (petsclib, is))) end @for_petsc function ISSetIdentity(petsclib::$UnionPetscLib, is::AbstractIS ) @@ -2822,7 +2822,7 @@ See also: `ISInfo`, `ISInfoType`, `IS` $(_doc_external("IS/ISSetInfo")) """ function ISSetInfo(petsclib::PetscLibType, is::AbstractIS, info::ISInfo, type::ISInfoType, permanent::PetscBool, flg::PetscBool) - error("ISSetInfo: no generated method for these argument types") + throw(MethodError(ISSetInfo, (petsclib, is, info, type, permanent, flg))) end @for_petsc function ISSetInfo(petsclib::$UnionPetscLib, is::AbstractIS, info::ISInfo, type::ISInfoType, permanent::PetscBool, flg::PetscBool ) @@ -2856,7 +2856,7 @@ See also: `IS`, `PetscLayout`, `ISCreate()`, `ISGetLayout()`, `ISGetSize()`, `IS $(_doc_external("IS/ISSetLayout")) """ function ISSetLayout(petsclib::PetscLibType, is::AbstractIS, map::PetscLayout) - error("ISSetLayout: no generated method for these argument types") + throw(MethodError(ISSetLayout, (petsclib, is, map))) end @for_petsc function ISSetLayout(petsclib::$UnionPetscLib, is::AbstractIS, map::PetscLayout ) @@ -2889,7 +2889,7 @@ See also: `IS`, `ISPermutation()`, `ISSetInfo()`, `ISClearInfoCache().` $(_doc_external("IS/ISSetPermutation")) """ function ISSetPermutation(petsclib::PetscLibType, is::AbstractIS) - error("ISSetPermutation: no generated method for these argument types") + throw(MethodError(ISSetPermutation, (petsclib, is))) end @for_petsc function ISSetPermutation(petsclib::$UnionPetscLib, is::AbstractIS ) @@ -2926,7 +2926,7 @@ See also: `IS`, `ISGENERAL`, `ISBLOCK`, `ISGetType()`, `ISCreate()`, `ISCreateGe $(_doc_external("IS/ISSetType")) """ function ISSetType(petsclib::PetscLibType, is::AbstractIS, method::String) - error("ISSetType: no generated method for these argument types") + throw(MethodError(ISSetType, (petsclib, is, method))) end @for_petsc function ISSetType(petsclib::$UnionPetscLib, is::AbstractIS, method::String ) @@ -2963,7 +2963,7 @@ See also: `ISDuplicate()`, `ISCopy()` $(_doc_external("IS/ISShift")) """ function ISShift(petsclib::PetscLibType, is::AbstractIS, offset::Integer, isy::AbstractIS) - error("ISShift: no generated method for these argument types") + throw(MethodError(ISShift, (petsclib, is, offset, isy))) end @for_petsc function ISShift(petsclib::$UnionPetscLib, is::AbstractIS, offset::$PetscInt, isy::AbstractIS ) @@ -2996,7 +2996,7 @@ See also: `IS`, `ISSortRemoveDups()`, `ISSorted()` $(_doc_external("IS/ISSort")) """ function ISSort(petsclib::PetscLibType, is::AbstractIS) - error("ISSort: no generated method for these argument types") + throw(MethodError(ISSort, (petsclib, is))) end @for_petsc function ISSort(petsclib::$UnionPetscLib, is::AbstractIS ) @@ -3033,7 +3033,7 @@ See also: `IS`, `ISLocalToGlobalMapping`, `ISSort()` $(_doc_external("IS/ISSortPermutation")) """ function ISSortPermutation(petsclib::PetscLibType, f::AbstractIS, always::PetscBool) - error("ISSortPermutation: no generated method for these argument types") + throw(MethodError(ISSortPermutation, (petsclib, f, always))) end @for_petsc function ISSortPermutation(petsclib::$UnionPetscLib, f::AbstractIS, always::PetscBool ) @@ -3068,7 +3068,7 @@ See also: `IS`, `ISSort()`, `ISSorted()` $(_doc_external("IS/ISSortRemoveDups")) """ function ISSortRemoveDups(petsclib::PetscLibType, is::AbstractIS) - error("ISSortRemoveDups: no generated method for these argument types") + throw(MethodError(ISSortRemoveDups, (petsclib, is))) end @for_petsc function ISSortRemoveDups(petsclib::$UnionPetscLib, is::AbstractIS ) @@ -3105,7 +3105,7 @@ See also: `ISSort()`, `ISSortRemoveDups()` $(_doc_external("IS/ISSorted")) """ function ISSorted(petsclib::PetscLibType, is::AbstractIS) - error("ISSorted: no generated method for these argument types") + throw(MethodError(ISSorted, (petsclib, is))) end @for_petsc function ISSorted(petsclib::$UnionPetscLib, is::AbstractIS ) @@ -3144,7 +3144,7 @@ See also: `IS`, `ISCreateStride()`, `ISGetSize()`, `ISSTRIDE` $(_doc_external("IS/ISStrideGetInfo")) """ function ISStrideGetInfo(petsclib::PetscLibType, is::AbstractIS) - error("ISStrideGetInfo: no generated method for these argument types") + throw(MethodError(ISStrideGetInfo, (petsclib, is))) end @for_petsc function ISStrideGetInfo(petsclib::$UnionPetscLib, is::AbstractIS ) @@ -3184,7 +3184,7 @@ See also: `IS`, `ISCreateGeneral()`, `ISCreateBlock()`, `ISAllGather()`, `ISSTRI $(_doc_external("IS/ISStrideSetStride")) """ function ISStrideSetStride(petsclib::PetscLibType, is::AbstractIS, n::Integer, first::Integer, step::Integer) - error("ISStrideSetStride: no generated method for these argument types") + throw(MethodError(ISStrideSetStride, (petsclib, is, n, first, step))) end @for_petsc function ISStrideSetStride(petsclib::$UnionPetscLib, is::AbstractIS, n::$PetscInt, first::$PetscInt, step::$PetscInt ) @@ -3221,7 +3221,7 @@ See also: `IS`, `ISDestroy()`, `ISView()`, `ISDifference()`, `ISExpand()` $(_doc_external("IS/ISSum")) """ function ISSum(petsclib::PetscLibType, is1::AbstractIS, is2::AbstractIS) - error("ISSum: no generated method for these argument types") + throw(MethodError(ISSum, (petsclib, is1, is2))) end @for_petsc function ISSum(petsclib::$UnionPetscLib, is1::AbstractIS, is2::AbstractIS ) @@ -3256,7 +3256,7 @@ See also: `IS`, `ISSorted()` $(_doc_external("IS/ISToGeneral")) """ function ISToGeneral(petsclib::PetscLibType, is::AbstractIS) - error("ISToGeneral: no generated method for these argument types") + throw(MethodError(ISToGeneral, (petsclib, is))) end @for_petsc function ISToGeneral(petsclib::$UnionPetscLib, is::AbstractIS ) @@ -3290,7 +3290,7 @@ See also: `IS`, `PetscViewer`, `PetscViewerASCIIOpen()`, `ISViewFromOptions()` $(_doc_external("IS/ISView")) """ function ISView(petsclib::PetscLibType, is::AbstractIS, viewer::PetscViewer) - error("ISView: no generated method for these argument types") + throw(MethodError(ISView, (petsclib, is, viewer))) end @for_petsc function ISView(petsclib::$UnionPetscLib, is::AbstractIS, viewer::PetscViewer ) @@ -3328,7 +3328,7 @@ See also: `IS`, `ISView()`, `PetscObjectViewFromOptions()`, `ISCreate()` $(_doc_external("IS/ISViewFromOptions")) """ function ISViewFromOptions(petsclib::PetscLibType, A::AbstractIS, obj, name::String) - error("ISViewFromOptions: no generated method for these argument types") + throw(MethodError(ISViewFromOptions, (petsclib, A, obj, name))) end @for_petsc function ISViewFromOptions(petsclib::$UnionPetscLib, A::AbstractIS, obj, name::String ) diff --git a/src/autowrapped/ISaddons_wrappers.jl b/src/autowrapped/ISaddons_wrappers.jl index 8658a564c..e75f8ee86 100644 --- a/src/autowrapped/ISaddons_wrappers.jl +++ b/src/autowrapped/ISaddons_wrappers.jl @@ -25,7 +25,7 @@ See also: `ISColoring`, `ISColoringValue`, `MatColoringCreate()`, `ISColoringVie $(_doc_external("IS/ISColoringCreate")) """ function ISColoringCreate(petsclib::PetscLibType, comm::MPI_Comm, ncolors::Integer, n::Integer, colors::Vector{ISColoringValue}, mode::PetscCopyMode) - error("ISColoringCreate: no generated method for these argument types") + throw(MethodError(ISColoringCreate, (petsclib, comm, ncolors, n, colors, mode))) end @for_petsc function ISColoringCreate(petsclib::$UnionPetscLib, comm::MPI_Comm, ncolors::$PetscInt, n::$PetscInt, colors::Vector{ISColoringValue}, mode::PetscCopyMode ) @@ -60,7 +60,7 @@ See also: `ISColoring`, `ISColoringView()`, `MatColoring` $(_doc_external("IS/ISColoringDestroy")) """ function ISColoringDestroy(petsclib::PetscLibType, iscoloring::Union{ISColoring, Ref{ISColoring}}) - error("ISColoringDestroy: no generated method for these argument types") + throw(MethodError(ISColoringDestroy, (petsclib, iscoloring))) end @for_petsc function ISColoringDestroy(petsclib::$UnionPetscLib, iscoloring::Union{ISColoring, Ref{ISColoring}} ) @@ -196,7 +196,7 @@ See also: `MatFDColoringCreate()`, `ISColoring`, `ISColoringType`, `ISColoringCr $(_doc_external("IS/ISColoringGetType")) """ function ISColoringGetType(petsclib::PetscLibType, coloring::ISColoring) - error("ISColoringGetType: no generated method for these argument types") + throw(MethodError(ISColoringGetType, (petsclib, coloring))) end @for_petsc function ISColoringGetType(petsclib::$UnionPetscLib, coloring::ISColoring ) @@ -231,7 +231,7 @@ See also: `ISColoring`, `ISColoringCreate()`, `ISColoringDestroy()` $(_doc_external("IS/ISColoringReference")) """ function ISColoringReference(petsclib::PetscLibType, coloring::ISColoring) - error("ISColoringReference: no generated method for these argument types") + throw(MethodError(ISColoringReference, (petsclib, coloring))) end @for_petsc function ISColoringReference(petsclib::$UnionPetscLib, coloring::ISColoring ) @@ -300,7 +300,7 @@ See also: `MatFDColoringCreate()`, `ISColoring`, `ISColoringType`, `ISColoringCr $(_doc_external("IS/ISColoringSetType")) """ function ISColoringSetType(petsclib::PetscLibType, coloring::ISColoring, type::ISColoringType) - error("ISColoringSetType: no generated method for these argument types") + throw(MethodError(ISColoringSetType, (petsclib, coloring, type))) end @for_petsc function ISColoringSetType(petsclib::$UnionPetscLib, coloring::ISColoring, type::ISColoringType ) @@ -334,7 +334,7 @@ See also: `ISColoring()`, `ISColoringViewFromOptions()`, `ISColoringDestroy()`, $(_doc_external("IS/ISColoringView")) """ function ISColoringView(petsclib::PetscLibType, iscoloring::ISColoring, viewer::PetscViewer) - error("ISColoringView: no generated method for these argument types") + throw(MethodError(ISColoringView, (petsclib, iscoloring, viewer))) end @for_petsc function ISColoringView(petsclib::$UnionPetscLib, iscoloring::ISColoring, viewer::PetscViewer ) @@ -372,7 +372,7 @@ See also: `ISColoring`, `ISColoringView()`, `PetscObjectViewFromOptions()` $(_doc_external("IS/ISColoringViewFromOptions")) """ function ISColoringViewFromOptions(petsclib::PetscLibType, obj::ISColoring, bobj, name::String) - error("ISColoringViewFromOptions: no generated method for these argument types") + throw(MethodError(ISColoringViewFromOptions, (petsclib, obj, bobj, name))) end @for_petsc function ISColoringViewFromOptions(petsclib::$UnionPetscLib, obj::ISColoring, bobj, name::String ) @@ -413,7 +413,7 @@ See also: `ISLocalToGlobalMapping`, `ISLocalToGlobalMappingApplyBlock()`, `ISLoc $(_doc_external("IS/ISLocalToGlobalMappingApply")) """ function ISLocalToGlobalMappingApply(petsclib::PetscLibType, mapping::ISLocalToGlobalMapping, N::Integer, in::AbstractVector{<:Number}) - error("ISLocalToGlobalMappingApply: no generated method for these argument types") + throw(MethodError(ISLocalToGlobalMappingApply, (petsclib, mapping, N, in))) end @for_petsc function ISLocalToGlobalMappingApply(petsclib::$UnionPetscLib, mapping::ISLocalToGlobalMapping, N::$PetscInt, in::Vector{$PetscInt} ) @@ -458,7 +458,7 @@ See also: `ISLocalToGlobalMappingApply()`, `ISLocalToGlobalMappingCreate()`, `IS $(_doc_external("IS/ISLocalToGlobalMappingApplyBlock")) """ function ISLocalToGlobalMappingApplyBlock(petsclib::PetscLibType, mapping::ISLocalToGlobalMapping, N::Integer, in::AbstractVector{<:Number}) - error("ISLocalToGlobalMappingApplyBlock: no generated method for these argument types") + throw(MethodError(ISLocalToGlobalMappingApplyBlock, (petsclib, mapping, N, in))) end @for_petsc function ISLocalToGlobalMappingApplyBlock(petsclib::$UnionPetscLib, mapping::ISLocalToGlobalMapping, N::$PetscInt, in::Vector{$PetscInt} ) @@ -499,7 +499,7 @@ See also: `ISLocalToGlobalMappingApply()`, `ISLocalToGlobalMappingCreate()`, $(_doc_external("IS/ISLocalToGlobalMappingApplyIS")) """ function ISLocalToGlobalMappingApplyIS(petsclib::PetscLibType, mapping::ISLocalToGlobalMapping, is::AbstractIS) - error("ISLocalToGlobalMappingApplyIS: no generated method for these argument types") + throw(MethodError(ISLocalToGlobalMappingApplyIS, (petsclib, mapping, is))) end @for_petsc function ISLocalToGlobalMappingApplyIS(petsclib::$UnionPetscLib, mapping::ISLocalToGlobalMapping, is::AbstractIS ) @@ -539,7 +539,7 @@ See also: `ISLocalToGlobalMapping`, `ISLocalToGlobalMappingCreate()` $(_doc_external("IS/ISLocalToGlobalMappingConcatenate")) """ function ISLocalToGlobalMappingConcatenate(petsclib::PetscLibType, comm::MPI_Comm, n::Integer, ltogs::Vector{ISLocalToGlobalMapping}) - error("ISLocalToGlobalMappingConcatenate: no generated method for these argument types") + throw(MethodError(ISLocalToGlobalMappingConcatenate, (petsclib, comm, n, ltogs))) end @for_petsc function ISLocalToGlobalMappingConcatenate(petsclib::$UnionPetscLib, comm::MPI_Comm, n::$PetscInt, ltogs::Vector{ISLocalToGlobalMapping} ) @@ -584,7 +584,7 @@ See also: `ISLocalToGlobalMapping`, `ISLocalToGlobalMappingDestroy()`, `ISLocalT $(_doc_external("IS/ISLocalToGlobalMappingCreate")) """ function ISLocalToGlobalMappingCreate(petsclib::PetscLibType, comm::MPI_Comm, bs::Integer, n::Integer, indices::AbstractVector{<:Number}, mode::PetscCopyMode) - error("ISLocalToGlobalMappingCreate: no generated method for these argument types") + throw(MethodError(ISLocalToGlobalMappingCreate, (petsclib, comm, bs, n, indices, mode))) end @for_petsc function ISLocalToGlobalMappingCreate(petsclib::$UnionPetscLib, comm::MPI_Comm, bs::$PetscInt, n::$PetscInt, indices::Vector{$PetscInt}, mode::PetscCopyMode ) @@ -623,7 +623,7 @@ See also: `ISLocalToGlobalMapping`, `ISLocalToGlobalMappingDestroy()`, `ISLocalT $(_doc_external("IS/ISLocalToGlobalMappingCreateIS")) """ function ISLocalToGlobalMappingCreateIS(petsclib::PetscLibType, is::AbstractIS) - error("ISLocalToGlobalMappingCreateIS: no generated method for these argument types") + throw(MethodError(ISLocalToGlobalMappingCreateIS, (petsclib, is))) end @for_petsc function ISLocalToGlobalMappingCreateIS(petsclib::$UnionPetscLib, is::AbstractIS ) @@ -662,7 +662,7 @@ See also: `PetscSF`, `ISLocalToGlobalMappingDestroy()`, `ISLocalToGlobalMappingC $(_doc_external("IS/ISLocalToGlobalMappingCreateSF")) """ function ISLocalToGlobalMappingCreateSF(petsclib::PetscLibType, sf::PetscSF, start::Integer) - error("ISLocalToGlobalMappingCreateSF: no generated method for these argument types") + throw(MethodError(ISLocalToGlobalMappingCreateSF, (petsclib, sf, start))) end @for_petsc function ISLocalToGlobalMappingCreateSF(petsclib::$UnionPetscLib, sf::PetscSF, start::$PetscInt ) @@ -698,7 +698,7 @@ See also: `ISLocalToGlobalMapping`, `ISLocalToGlobalMappingCreate()` $(_doc_external("IS/ISLocalToGlobalMappingDestroy")) """ function ISLocalToGlobalMappingDestroy(petsclib::PetscLibType, mapping::Union{ISLocalToGlobalMapping, Ref{ISLocalToGlobalMapping}}) - error("ISLocalToGlobalMappingDestroy: no generated method for these argument types") + throw(MethodError(ISLocalToGlobalMappingDestroy, (petsclib, mapping))) end @for_petsc function ISLocalToGlobalMappingDestroy(petsclib::$UnionPetscLib, mapping::Union{ISLocalToGlobalMapping, Ref{ISLocalToGlobalMapping}} ) @@ -735,7 +735,7 @@ See also: `ISLocalToGlobalMapping`, `ISLocalToGlobalMappingDestroy()`, `ISLocalT $(_doc_external("IS/ISLocalToGlobalMappingDuplicate")) """ function ISLocalToGlobalMappingDuplicate(petsclib::PetscLibType, ltog::ISLocalToGlobalMapping) - error("ISLocalToGlobalMappingDuplicate: no generated method for these argument types") + throw(MethodError(ISLocalToGlobalMappingDuplicate, (petsclib, ltog))) end @for_petsc function ISLocalToGlobalMappingDuplicate(petsclib::$UnionPetscLib, ltog::ISLocalToGlobalMapping ) @@ -774,7 +774,7 @@ See also: `ISLocalToGlobalMapping`, `ISLocalToGlobalMappingCreate()`, `ISLocalTo $(_doc_external("IS/ISLocalToGlobalMappingGetBlockIndices")) """ function ISLocalToGlobalMappingGetBlockIndices(petsclib::PetscLibType, ltog::ISLocalToGlobalMapping) - error("ISLocalToGlobalMappingGetBlockIndices: no generated method for these argument types") + throw(MethodError(ISLocalToGlobalMappingGetBlockIndices, (petsclib, ltog))) end @for_petsc function ISLocalToGlobalMappingGetBlockIndices(petsclib::$UnionPetscLib, ltog::ISLocalToGlobalMapping ) @@ -817,7 +817,7 @@ See also: `ISLocalToGlobalMappingDestroy()`, `ISLocalToGlobalMappingCreateIS()`, $(_doc_external("IS/ISLocalToGlobalMappingGetBlockInfo")) """ function ISLocalToGlobalMappingGetBlockInfo(petsclib::PetscLibType, mapping::ISLocalToGlobalMapping) - error("ISLocalToGlobalMappingGetBlockInfo: no generated method for these argument types") + throw(MethodError(ISLocalToGlobalMappingGetBlockInfo, (petsclib, mapping))) end @for_petsc function ISLocalToGlobalMappingGetBlockInfo(petsclib::$UnionPetscLib, mapping::ISLocalToGlobalMapping ) @@ -861,7 +861,7 @@ See also: `ISLocalToGlobalMappingGetBlockNodeInfo()`, `PetscSF` $(_doc_external("IS/ISLocalToGlobalMappingGetBlockMultiLeavesSF")) """ function ISLocalToGlobalMappingGetBlockMultiLeavesSF(petsclib::PetscLibType, mapping::ISLocalToGlobalMapping) - error("ISLocalToGlobalMappingGetBlockMultiLeavesSF: no generated method for these argument types") + throw(MethodError(ISLocalToGlobalMappingGetBlockMultiLeavesSF, (petsclib, mapping))) end @for_petsc function ISLocalToGlobalMappingGetBlockMultiLeavesSF(petsclib::$UnionPetscLib, mapping::ISLocalToGlobalMapping ) @@ -902,7 +902,7 @@ See also: `ISLocalToGlobalMappingDestroy()`, `ISLocalToGlobalMappingCreateIS()`, $(_doc_external("IS/ISLocalToGlobalMappingGetBlockNodeInfo")) """ function ISLocalToGlobalMappingGetBlockNodeInfo(petsclib::PetscLibType, mapping::ISLocalToGlobalMapping) - error("ISLocalToGlobalMappingGetBlockNodeInfo: no generated method for these argument types") + throw(MethodError(ISLocalToGlobalMappingGetBlockNodeInfo, (petsclib, mapping))) end @for_petsc function ISLocalToGlobalMappingGetBlockNodeInfo(petsclib::$UnionPetscLib, mapping::ISLocalToGlobalMapping ) @@ -945,7 +945,7 @@ See also: `ISLocalToGlobalMapping`, `ISLocalToGlobalMappingDestroy()`, `ISLocalT $(_doc_external("IS/ISLocalToGlobalMappingGetBlockSize")) """ function ISLocalToGlobalMappingGetBlockSize(petsclib::PetscLibType, mapping::ISLocalToGlobalMapping) - error("ISLocalToGlobalMappingGetBlockSize: no generated method for these argument types") + throw(MethodError(ISLocalToGlobalMappingGetBlockSize, (petsclib, mapping))) end @for_petsc function ISLocalToGlobalMappingGetBlockSize(petsclib::$UnionPetscLib, mapping::ISLocalToGlobalMapping ) @@ -984,7 +984,7 @@ See also: `ISLocalToGlobalMappingCreate()`, `ISLocalToGlobalMappingApply()`, `IS $(_doc_external("IS/ISLocalToGlobalMappingGetIndices")) """ function ISLocalToGlobalMappingGetIndices(petsclib::PetscLibType, ltog::ISLocalToGlobalMapping) - error("ISLocalToGlobalMappingGetIndices: no generated method for these argument types") + throw(MethodError(ISLocalToGlobalMappingGetIndices, (petsclib, ltog))) end @for_petsc function ISLocalToGlobalMappingGetIndices(petsclib::$UnionPetscLib, ltog::ISLocalToGlobalMapping ) @@ -1027,7 +1027,7 @@ See also: `ISLocalToGlobalMappingDestroy()`, `ISLocalToGlobalMappingCreateIS()`, $(_doc_external("IS/ISLocalToGlobalMappingGetInfo")) """ function ISLocalToGlobalMappingGetInfo(petsclib::PetscLibType, mapping::ISLocalToGlobalMapping) - error("ISLocalToGlobalMappingGetInfo: no generated method for these argument types") + throw(MethodError(ISLocalToGlobalMappingGetInfo, (petsclib, mapping))) end @for_petsc function ISLocalToGlobalMappingGetInfo(petsclib::$UnionPetscLib, mapping::ISLocalToGlobalMapping ) @@ -1074,7 +1074,7 @@ See also: `ISLocalToGlobalMappingDestroy()`, `ISLocalToGlobalMappingCreateIS()`, $(_doc_external("IS/ISLocalToGlobalMappingGetNodeInfo")) """ function ISLocalToGlobalMappingGetNodeInfo(petsclib::PetscLibType, mapping::ISLocalToGlobalMapping) - error("ISLocalToGlobalMappingGetNodeInfo: no generated method for these argument types") + throw(MethodError(ISLocalToGlobalMappingGetNodeInfo, (petsclib, mapping))) end @for_petsc function ISLocalToGlobalMappingGetNodeInfo(petsclib::$UnionPetscLib, mapping::ISLocalToGlobalMapping ) @@ -1116,7 +1116,7 @@ See also: `ISLocalToGlobalMapping`, `ISLocalToGlobalMappingDestroy()`, `ISLocalT $(_doc_external("IS/ISLocalToGlobalMappingGetSize")) """ function ISLocalToGlobalMappingGetSize(petsclib::PetscLibType, mapping::ISLocalToGlobalMapping) - error("ISLocalToGlobalMappingGetSize: no generated method for these argument types") + throw(MethodError(ISLocalToGlobalMappingGetSize, (petsclib, mapping))) end @for_petsc function ISLocalToGlobalMappingGetSize(petsclib::$UnionPetscLib, mapping::ISLocalToGlobalMapping ) @@ -1155,7 +1155,7 @@ See also: `ISLocalToGlobalMappingType`, `ISLocalToGlobalMappingRegister()`, `ISL $(_doc_external("IS/ISLocalToGlobalMappingGetType")) """ function ISLocalToGlobalMappingGetType(petsclib::PetscLibType, ltog::ISLocalToGlobalMapping) - error("ISLocalToGlobalMappingGetType: no generated method for these argument types") + throw(MethodError(ISLocalToGlobalMappingGetType, (petsclib, ltog))) end @for_petsc function ISLocalToGlobalMappingGetType(petsclib::$UnionPetscLib, ltog::ISLocalToGlobalMapping ) @@ -1191,7 +1191,7 @@ See also: `PetscViewer`, `ISLocalToGlobalMapping`, `ISLocalToGlobalMappingView() $(_doc_external("IS/ISLocalToGlobalMappingLoad")) """ function ISLocalToGlobalMappingLoad(petsclib::PetscLibType, mapping::ISLocalToGlobalMapping, viewer::PetscViewer) - error("ISLocalToGlobalMappingLoad: no generated method for these argument types") + throw(MethodError(ISLocalToGlobalMappingLoad, (petsclib, mapping, viewer))) end @for_petsc function ISLocalToGlobalMappingLoad(petsclib::$UnionPetscLib, mapping::ISLocalToGlobalMapping, viewer::PetscViewer ) @@ -1224,7 +1224,7 @@ See also: `ISLocalToGlobalMappingRegisterAll()`, `ISLocalToGlobalMappingRegister $(_doc_external("IS/ISLocalToGlobalMappingRegister")) """ function ISLocalToGlobalMappingRegister(petsclib::PetscLibType, sname::String, fnc::external) - error("ISLocalToGlobalMappingRegister: no generated method for these argument types") + throw(MethodError(ISLocalToGlobalMappingRegister, (petsclib, sname, fnc))) end @for_petsc function ISLocalToGlobalMappingRegister(petsclib::$UnionPetscLib, sname::String, fnc::external ) @@ -1254,7 +1254,7 @@ See also: `ISRegister()`, `ISLocalToGlobalRegister()` $(_doc_external("IS/ISLocalToGlobalMappingRegisterAll")) """ function ISLocalToGlobalMappingRegisterAll(petsclib::PetscLibType) - error("ISLocalToGlobalMappingRegisterAll: no generated method for these argument types") + throw(MethodError(ISLocalToGlobalMappingRegisterAll, (petsclib, ))) end @for_petsc function ISLocalToGlobalMappingRegisterAll(petsclib::$UnionPetscLib) @@ -1287,7 +1287,7 @@ See also: `ISLocalToGlobalMappingCreate()`, `ISLocalToGlobalMappingApply()`, `IS $(_doc_external("IS/ISLocalToGlobalMappingRestoreBlockIndices")) """ function ISLocalToGlobalMappingRestoreBlockIndices(petsclib::PetscLibType, ltog::ISLocalToGlobalMapping, array::Union{Ptr, AbstractArray{<:Number}}) - error("ISLocalToGlobalMappingRestoreBlockIndices: no generated method for these argument types") + throw(MethodError(ISLocalToGlobalMappingRestoreBlockIndices, (petsclib, ltog, array))) end @for_petsc function ISLocalToGlobalMappingRestoreBlockIndices(petsclib::$UnionPetscLib, ltog::ISLocalToGlobalMapping, array::Union{Ptr, AbstractArray{$PetscInt}} ) @@ -1326,7 +1326,7 @@ See also: `ISLocalToGlobalMappingDestroy()`, `ISLocalToGlobalMappingCreateIS()`, $(_doc_external("IS/ISLocalToGlobalMappingRestoreBlockInfo")) """ function ISLocalToGlobalMappingRestoreBlockInfo(petsclib::PetscLibType, mapping::ISLocalToGlobalMapping, nproc::Integer, procs::Union{Ptr, AbstractArray{<:Number}}, numprocs::Union{Ptr, AbstractArray{<:Number}}, indices::AbstractVector{<:Number}) - error("ISLocalToGlobalMappingRestoreBlockInfo: no generated method for these argument types") + throw(MethodError(ISLocalToGlobalMappingRestoreBlockInfo, (petsclib, mapping, nproc, procs, numprocs, indices))) end @for_petsc function ISLocalToGlobalMappingRestoreBlockInfo(petsclib::$UnionPetscLib, mapping::ISLocalToGlobalMapping, nproc::$PetscInt, procs::Union{Ptr, AbstractArray{$PetscInt}}, numprocs::Union{Ptr, AbstractArray{$PetscInt}}, indices::Vector{$PetscInt} ) @@ -1366,7 +1366,7 @@ See also: `ISLocalToGlobalMappingDestroy()`, `ISLocalToGlobalMappingCreateIS()`, $(_doc_external("IS/ISLocalToGlobalMappingRestoreBlockNodeInfo")) """ function ISLocalToGlobalMappingRestoreBlockNodeInfo(petsclib::PetscLibType, mapping::ISLocalToGlobalMapping, n::Integer, n_procs::Union{Ptr, AbstractArray{<:Number}}, procs::AbstractVector{<:Number}) - error("ISLocalToGlobalMappingRestoreBlockNodeInfo: no generated method for these argument types") + throw(MethodError(ISLocalToGlobalMappingRestoreBlockNodeInfo, (petsclib, mapping, n, n_procs, procs))) end @for_petsc function ISLocalToGlobalMappingRestoreBlockNodeInfo(petsclib::$UnionPetscLib, mapping::ISLocalToGlobalMapping, n::$PetscInt, n_procs::Union{Ptr, AbstractArray{$PetscInt}}, procs::Vector{$PetscInt} ) @@ -1402,7 +1402,7 @@ See also: `ISLocalToGlobalMappingCreate()`, `ISLocalToGlobalMappingApply()`, `IS $(_doc_external("IS/ISLocalToGlobalMappingRestoreIndices")) """ function ISLocalToGlobalMappingRestoreIndices(petsclib::PetscLibType, ltog::ISLocalToGlobalMapping, array::Union{Ptr, AbstractArray{<:Number}}) - error("ISLocalToGlobalMappingRestoreIndices: no generated method for these argument types") + throw(MethodError(ISLocalToGlobalMappingRestoreIndices, (petsclib, ltog, array))) end @for_petsc function ISLocalToGlobalMappingRestoreIndices(petsclib::$UnionPetscLib, ltog::ISLocalToGlobalMapping, array::Union{Ptr, AbstractArray{$PetscInt}} ) @@ -1441,7 +1441,7 @@ See also: `ISLocalToGlobalMappingDestroy()`, `ISLocalToGlobalMappingCreateIS()`, $(_doc_external("IS/ISLocalToGlobalMappingRestoreInfo")) """ function ISLocalToGlobalMappingRestoreInfo(petsclib::PetscLibType, mapping::ISLocalToGlobalMapping, nproc::Integer, procs::Union{Ptr, AbstractArray{<:Number}}, numprocs::Union{Ptr, AbstractArray{<:Number}}, indices::AbstractVector{<:Number}) - error("ISLocalToGlobalMappingRestoreInfo: no generated method for these argument types") + throw(MethodError(ISLocalToGlobalMappingRestoreInfo, (petsclib, mapping, nproc, procs, numprocs, indices))) end @for_petsc function ISLocalToGlobalMappingRestoreInfo(petsclib::$UnionPetscLib, mapping::ISLocalToGlobalMapping, nproc::$PetscInt, procs::Union{Ptr, AbstractArray{$PetscInt}}, numprocs::Union{Ptr, AbstractArray{$PetscInt}}, indices::Vector{$PetscInt} ) @@ -1481,7 +1481,7 @@ See also: `ISLocalToGlobalMappingDestroy()`, `ISLocalToGlobalMappingCreateIS()`, $(_doc_external("IS/ISLocalToGlobalMappingRestoreNodeInfo")) """ function ISLocalToGlobalMappingRestoreNodeInfo(petsclib::PetscLibType, mapping::ISLocalToGlobalMapping, n::Integer, n_procs::Union{Ptr, AbstractArray{<:Number}}, procs::AbstractVector{<:Number}) - error("ISLocalToGlobalMappingRestoreNodeInfo: no generated method for these argument types") + throw(MethodError(ISLocalToGlobalMappingRestoreNodeInfo, (petsclib, mapping, n, n_procs, procs))) end @for_petsc function ISLocalToGlobalMappingRestoreNodeInfo(petsclib::$UnionPetscLib, mapping::ISLocalToGlobalMapping, n::$PetscInt, n_procs::Union{Ptr, AbstractArray{$PetscInt}}, procs::Vector{$PetscInt} ) @@ -1517,7 +1517,7 @@ See also: `ISLocalToGlobalMapping`, `ISLocalToGlobalMappingDestroy()`, `ISLocalT $(_doc_external("IS/ISLocalToGlobalMappingSetBlockSize")) """ function ISLocalToGlobalMappingSetBlockSize(petsclib::PetscLibType, mapping::ISLocalToGlobalMapping, bs::Integer) - error("ISLocalToGlobalMappingSetBlockSize: no generated method for these argument types") + throw(MethodError(ISLocalToGlobalMappingSetBlockSize, (petsclib, mapping, bs))) end @for_petsc function ISLocalToGlobalMappingSetBlockSize(petsclib::$UnionPetscLib, mapping::ISLocalToGlobalMapping, bs::$PetscInt ) @@ -1555,7 +1555,7 @@ See also: `ISLocalToGlobalMapping`, `ISLocalToGlobalMappingDestroy()`, $(_doc_external("IS/ISLocalToGlobalMappingSetFromOptions")) """ function ISLocalToGlobalMappingSetFromOptions(petsclib::PetscLibType, mapping::ISLocalToGlobalMapping) - error("ISLocalToGlobalMappingSetFromOptions: no generated method for these argument types") + throw(MethodError(ISLocalToGlobalMappingSetFromOptions, (petsclib, mapping))) end @for_petsc function ISLocalToGlobalMappingSetFromOptions(petsclib::$UnionPetscLib, mapping::ISLocalToGlobalMapping ) @@ -1592,7 +1592,7 @@ See also: `ISLocalToGlobalMappingType`, `ISLocalToGlobalMappingRegister()`, `ISL $(_doc_external("IS/ISLocalToGlobalMappingSetType")) """ function ISLocalToGlobalMappingSetType(petsclib::PetscLibType, ltog::ISLocalToGlobalMapping, type::String) - error("ISLocalToGlobalMappingSetType: no generated method for these argument types") + throw(MethodError(ISLocalToGlobalMappingSetType, (petsclib, ltog, type))) end @for_petsc function ISLocalToGlobalMappingSetType(petsclib::$UnionPetscLib, ltog::ISLocalToGlobalMapping, type::String ) @@ -1626,7 +1626,7 @@ See also: `PetscViewer`, `ISLocalToGlobalMapping`, `ISLocalToGlobalMappingDestro $(_doc_external("IS/ISLocalToGlobalMappingView")) """ function ISLocalToGlobalMappingView(petsclib::PetscLibType, mapping::ISLocalToGlobalMapping, viewer::PetscViewer) - error("ISLocalToGlobalMappingView: no generated method for these argument types") + throw(MethodError(ISLocalToGlobalMappingView, (petsclib, mapping, viewer))) end @for_petsc function ISLocalToGlobalMappingView(petsclib::$UnionPetscLib, mapping::ISLocalToGlobalMapping, viewer::PetscViewer ) @@ -1664,7 +1664,7 @@ See also: `PetscViewer`, `ISLocalToGlobalMapping`, `ISLocalToGlobalMappingView`, $(_doc_external("IS/ISLocalToGlobalMappingViewFromOptions")) """ function ISLocalToGlobalMappingViewFromOptions(petsclib::PetscLibType, A::ISLocalToGlobalMapping, obj, name::String) - error("ISLocalToGlobalMappingViewFromOptions: no generated method for these argument types") + throw(MethodError(ISLocalToGlobalMappingViewFromOptions, (petsclib, A, obj, name))) end @for_petsc function ISLocalToGlobalMappingViewFromOptions(petsclib::$UnionPetscLib, A::ISLocalToGlobalMapping, obj, name::String ) diff --git a/src/autowrapped/KSPGuess_wrappers.jl b/src/autowrapped/KSPGuess_wrappers.jl index 552a9fe6a..da1aaa989 100644 --- a/src/autowrapped/KSPGuess_wrappers.jl +++ b/src/autowrapped/KSPGuess_wrappers.jl @@ -29,7 +29,7 @@ See also: `KSPSolve()`, `KSPGuessDestroy()`, `KSPGuess`, `KSPGuessType`, `KSP` $(_doc_external("KSP/KSPGuessCreate")) """ function KSPGuessCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("KSPGuessCreate: no generated method for these argument types") + throw(MethodError(KSPGuessCreate, (petsclib, comm))) end @for_petsc function KSPGuessCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -64,7 +64,7 @@ See also: `KSPGuessCreate()`, `KSPGuess`, `KSPGuessType` $(_doc_external("KSP/KSPGuessDestroy")) """ function KSPGuessDestroy(petsclib::PetscLibType, guess::Union{KSPGuess, Ref{KSPGuess}}) - error("KSPGuessDestroy: no generated method for these argument types") + throw(MethodError(KSPGuessDestroy, (petsclib, guess))) end @for_petsc function KSPGuessDestroy(petsclib::$UnionPetscLib, guess::Union{KSPGuess, Ref{KSPGuess}} ) @@ -103,7 +103,7 @@ See also: `KSPGuess`, `KSPGuessCreate()`, `KSPSetUseFischerGuess()`, `KSPSetGues $(_doc_external("KSP/KSPGuessFischerSetModel")) """ function KSPGuessFischerSetModel(petsclib::PetscLibType, guess::KSPGuess, model::Integer, size::Integer) - error("KSPGuessFischerSetModel: no generated method for these argument types") + throw(MethodError(KSPGuessFischerSetModel, (petsclib, guess, model, size))) end @for_petsc function KSPGuessFischerSetModel(petsclib::$UnionPetscLib, guess::KSPGuess, model::$PetscInt, size::$PetscInt ) @@ -138,7 +138,7 @@ See also: `KSPGuessCreate()`, `KSPGuess` $(_doc_external("KSP/KSPGuessFormGuess")) """ function KSPGuessFormGuess(petsclib::PetscLibType, guess::KSPGuess, rhs::AbstractPetscVec, sol::AbstractPetscVec) - error("KSPGuessFormGuess: no generated method for these argument types") + throw(MethodError(KSPGuessFormGuess, (petsclib, guess, rhs, sol))) end @for_petsc function KSPGuessFormGuess(petsclib::$UnionPetscLib, guess::KSPGuess, rhs::AbstractPetscVec, sol::AbstractPetscVec ) @@ -174,7 +174,7 @@ See also: `KSPGuess`, `KSPGuessSetType()` $(_doc_external("KSP/KSPGuessGetType")) """ function KSPGuessGetType(petsclib::PetscLibType, guess::KSPGuess) - error("KSPGuessGetType: no generated method for these argument types") + throw(MethodError(KSPGuessGetType, (petsclib, guess))) end @for_petsc function KSPGuessGetType(petsclib::$UnionPetscLib, guess::KSPGuess ) @@ -208,7 +208,7 @@ See also: `KSPGuess`, `KSPGuessRegisterAll()` $(_doc_external("KSP/KSPGuessRegister")) """ function KSPGuessRegister(petsclib::PetscLibType, sname::String, fnc::external) - error("KSPGuessRegister: no generated method for these argument types") + throw(MethodError(KSPGuessRegister, (petsclib, sname, fnc))) end @for_petsc function KSPGuessRegister(petsclib::$UnionPetscLib, sname::String, fnc::external ) @@ -252,7 +252,7 @@ See also: `KSPGuess`, `KSPGetGuess()`, `KSPGuessSetType()`, `KSPGuessType` $(_doc_external("KSP/KSPGuessSetFromOptions")) """ function KSPGuessSetFromOptions(petsclib::PetscLibType, guess::KSPGuess) - error("KSPGuessSetFromOptions: no generated method for these argument types") + throw(MethodError(KSPGuessSetFromOptions, (petsclib, guess))) end @for_petsc function KSPGuessSetFromOptions(petsclib::$UnionPetscLib, guess::KSPGuess ) @@ -290,7 +290,7 @@ See also: `KSPGuess`, `KSPGuessType`, `KSPGuessSetFromOptions()` $(_doc_external("KSP/KSPGuessSetTolerance")) """ function KSPGuessSetTolerance(petsclib::PetscLibType, guess::KSPGuess, tol::Real) - error("KSPGuessSetTolerance: no generated method for these argument types") + throw(MethodError(KSPGuessSetTolerance, (petsclib, guess, tol))) end @for_petsc function KSPGuessSetTolerance(petsclib::$UnionPetscLib, guess::KSPGuess, tol::$PetscReal ) @@ -327,7 +327,7 @@ See also: `KSP`, `KSPGuess`, `KSPGuessType`, `KSPGuessRegister()`, `KSPGuessCrea $(_doc_external("KSP/KSPGuessSetType")) """ function KSPGuessSetType(petsclib::PetscLibType, guess::KSPGuess, type::String) - error("KSPGuessSetType: no generated method for these argument types") + throw(MethodError(KSPGuessSetType, (petsclib, guess, type))) end @for_petsc function KSPGuessSetType(petsclib::$UnionPetscLib, guess::KSPGuess, type::String ) @@ -360,7 +360,7 @@ See also: `KSPGuessCreate()`, `KSPGuess` $(_doc_external("KSP/KSPGuessSetUp")) """ function KSPGuessSetUp(petsclib::PetscLibType, guess::KSPGuess) - error("KSPGuessSetUp: no generated method for these argument types") + throw(MethodError(KSPGuessSetUp, (petsclib, guess))) end @for_petsc function KSPGuessSetUp(petsclib::$UnionPetscLib, guess::KSPGuess ) @@ -395,7 +395,7 @@ See also: `KSPGuessCreate()`, `KSPGuess` $(_doc_external("KSP/KSPGuessUpdate")) """ function KSPGuessUpdate(petsclib::PetscLibType, guess::KSPGuess, rhs::AbstractPetscVec, sol::AbstractPetscVec) - error("KSPGuessUpdate: no generated method for these argument types") + throw(MethodError(KSPGuessUpdate, (petsclib, guess, rhs, sol))) end @for_petsc function KSPGuessUpdate(petsclib::$UnionPetscLib, guess::KSPGuess, rhs::AbstractPetscVec, sol::AbstractPetscVec ) @@ -432,7 +432,7 @@ See also: `KSP`, `KSPGuess`, `KSPGuessType`, `KSPGuessRegister()`, `KSPGuessCrea $(_doc_external("KSP/KSPGuessView")) """ function KSPGuessView(petsclib::PetscLibType, guess::KSPGuess, view::PetscViewer) - error("KSPGuessView: no generated method for these argument types") + throw(MethodError(KSPGuessView, (petsclib, guess, view))) end @for_petsc function KSPGuessView(petsclib::$UnionPetscLib, guess::KSPGuess, view::PetscViewer ) diff --git a/src/autowrapped/KSP_wrappers.jl b/src/autowrapped/KSP_wrappers.jl index 842851c39..d2259427c 100644 --- a/src/autowrapped/KSP_wrappers.jl +++ b/src/autowrapped/KSP_wrappers.jl @@ -17,7 +17,7 @@ See also: `KSP`, `KSPSetOptionsPrefix()`, `KSPGetOptionsPrefix()`, `KSPSetFromOp $(_doc_external("KSP/KSPAppendOptionsPrefix")) """ function KSPAppendOptionsPrefix(petsclib::PetscLibType, ksp::AbstractKSP, prefix::String) - error("KSPAppendOptionsPrefix: no generated method for these argument types") + throw(MethodError(KSPAppendOptionsPrefix, (petsclib, ksp, prefix))) end @for_petsc function KSPAppendOptionsPrefix(petsclib::$UnionPetscLib, ksp::AbstractKSP, prefix::String ) @@ -54,7 +54,7 @@ See also: `KSPBCGSLSetUsePseudoinverse()`, `KSP`, `KSPBCGSL`, `KSPBCGSLSetPol()` $(_doc_external("KSP/KSPBCGSLSetEll")) """ function KSPBCGSLSetEll(petsclib::PetscLibType, ksp::AbstractKSP, ell::Integer) - error("KSPBCGSLSetEll: no generated method for these argument types") + throw(MethodError(KSPBCGSLSetEll, (petsclib, ksp, ell))) end @for_petsc function KSPBCGSLSetEll(petsclib::$UnionPetscLib, ksp::AbstractKSP, ell::$PetscInt ) @@ -93,7 +93,7 @@ See also: `KSP`, `KSPBCGSL`, `KSPCreate()`, `KSPSetType()`, `KSPCBGSL`, `KSPBCGS $(_doc_external("KSP/KSPBCGSLSetPol")) """ function KSPBCGSLSetPol(petsclib::PetscLibType, ksp::AbstractKSP, uMROR::PetscBool) - error("KSPBCGSLSetPol: no generated method for these argument types") + throw(MethodError(KSPBCGSLSetPol, (petsclib, ksp, uMROR))) end @for_petsc function KSPBCGSLSetPol(petsclib::$UnionPetscLib, ksp::AbstractKSP, uMROR::PetscBool ) @@ -130,7 +130,7 @@ See also: `KSPBCGSLSetEll()`, `KSP`, `KSPCBGSL`, `KSPBCGSLSetPol()`, `KSPBCGSLSe $(_doc_external("KSP/KSPBCGSLSetUsePseudoinverse")) """ function KSPBCGSLSetUsePseudoinverse(petsclib::PetscLibType, ksp::AbstractKSP, use_pinv::PetscBool) - error("KSPBCGSLSetUsePseudoinverse: no generated method for these argument types") + throw(MethodError(KSPBCGSLSetUsePseudoinverse, (petsclib, ksp, use_pinv))) end @for_petsc function KSPBCGSLSetUsePseudoinverse(petsclib::$UnionPetscLib, ksp::AbstractKSP, use_pinv::PetscBool ) @@ -168,7 +168,7 @@ See also: `KSPBCGSLSetEll()`, `KSPBCGSLSetPol()`, `KSP`, `KSPCBGSL`, `KSPBCGSLSe $(_doc_external("KSP/KSPBCGSLSetXRes")) """ function KSPBCGSLSetXRes(petsclib::PetscLibType, ksp::AbstractKSP, delta::Real) - error("KSPBCGSLSetXRes: no generated method for these argument types") + throw(MethodError(KSPBCGSLSetXRes, (petsclib, ksp, delta))) end @for_petsc function KSPBCGSLSetXRes(petsclib::$UnionPetscLib, ksp::AbstractKSP, delta::$PetscReal ) @@ -206,7 +206,7 @@ See also: `KSP`, `KSPBuildSolution()` $(_doc_external("KSP/KSPBuildResidual")) """ function KSPBuildResidual(petsclib::PetscLibType, ksp::AbstractKSP, t::AbstractPetscVec, v::AbstractPetscVec, M_V::AbstractPetscVec) - error("KSPBuildResidual: no generated method for these argument types") + throw(MethodError(KSPBuildResidual, (petsclib, ksp, t, v, M_V))) end @for_petsc function KSPBuildResidual(petsclib::$UnionPetscLib, ksp::AbstractKSP, t::AbstractPetscVec, v::AbstractPetscVec, M_V::AbstractPetscVec ) @@ -246,7 +246,7 @@ See also: `KSP`, `KSPBuildSolutionDefault()` $(_doc_external("KSP/KSPBuildResidualDefault")) """ function KSPBuildResidualDefault(petsclib::PetscLibType, ksp::AbstractKSP, t::AbstractPetscVec, v::AbstractPetscVec, M_V::AbstractPetscVec) - error("KSPBuildResidualDefault: no generated method for these argument types") + throw(MethodError(KSPBuildResidualDefault, (petsclib, ksp, t, v, M_V))) end @for_petsc function KSPBuildResidualDefault(petsclib::$UnionPetscLib, ksp::AbstractKSP, t::AbstractPetscVec, v::AbstractPetscVec, M_V::AbstractPetscVec ) @@ -286,7 +286,7 @@ See also: `KSPGetSolution()`, `KSPBuildResidual()`, `KSP` $(_doc_external("KSP/KSPBuildSolution")) """ function KSPBuildSolution(petsclib::PetscLibType, ksp::AbstractKSP, v::AbstractPetscVec, M_V::AbstractPetscVec) - error("KSPBuildSolution: no generated method for these argument types") + throw(MethodError(KSPBuildSolution, (petsclib, ksp, v, M_V))) end @for_petsc function KSPBuildSolution(petsclib::$UnionPetscLib, ksp::AbstractKSP, v::AbstractPetscVec, M_V::AbstractPetscVec ) @@ -325,7 +325,7 @@ See also: `KSP`, `KSPGetSolution()`, `KSPBuildResidualDefault()` $(_doc_external("KSP/KSPBuildSolutionDefault")) """ function KSPBuildSolutionDefault(petsclib::PetscLibType, ksp::AbstractKSP, v::AbstractPetscVec, M_V::AbstractPetscVec) - error("KSPBuildSolutionDefault: no generated method for these argument types") + throw(MethodError(KSPBuildSolutionDefault, (petsclib, ksp, v, M_V))) end @for_petsc function KSPBuildSolutionDefault(petsclib::$UnionPetscLib, ksp::AbstractKSP, v::AbstractPetscVec, M_V::AbstractPetscVec ) @@ -361,7 +361,7 @@ See also: `KSP`, `KSPCG`, `KSPNASH`, `KSPSTCG`, `KSPGLTR`, `SNESNEWTONTR` $(_doc_external("KSP/KSPCGGetNormD")) """ function KSPCGGetNormD(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPCGGetNormD: no generated method for these argument types") + throw(MethodError(KSPCGGetNormD, (petsclib, ksp))) end @for_petsc function KSPCGGetNormD(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -397,7 +397,7 @@ See also: `KSP`, `KSPCG`, `KSPNASH`, `KSPSTCG`, `KSPGLTR`, `KSPMonitorSet` $(_doc_external("KSP/KSPCGGetObjFcn")) """ function KSPCGGetObjFcn(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPCGGetObjFcn: no generated method for these argument types") + throw(MethodError(KSPCGGetObjFcn, (petsclib, ksp))) end @for_petsc function KSPCGGetObjFcn(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -433,7 +433,7 @@ See also: `KSP`, `KSPCG`, `KSPNASH`, `KSPSTCG`, `KSPGLTR`, `SNESNEWTONTR` $(_doc_external("KSP/KSPCGSetObjectiveTarget")) """ function KSPCGSetObjectiveTarget(petsclib::PetscLibType, ksp::AbstractKSP, obj::Real) - error("KSPCGSetObjectiveTarget: no generated method for these argument types") + throw(MethodError(KSPCGSetObjectiveTarget, (petsclib, ksp, obj))) end @for_petsc function KSPCGSetObjectiveTarget(petsclib::$UnionPetscLib, ksp::AbstractKSP, obj::$PetscReal ) @@ -467,7 +467,7 @@ See also: `KSP`, `KSPCG`, `KSPNASH`, `KSPSTCG`, `KSPGLTR`, `SNESNEWTONTR` $(_doc_external("KSP/KSPCGSetRadius")) """ function KSPCGSetRadius(petsclib::PetscLibType, ksp::AbstractKSP, radius::Real) - error("KSPCGSetRadius: no generated method for these argument types") + throw(MethodError(KSPCGSetRadius, (petsclib, ksp, radius))) end @for_petsc function KSPCGSetRadius(petsclib::$UnionPetscLib, ksp::AbstractKSP, radius::$PetscReal ) @@ -511,7 +511,7 @@ See also: `KSP`, `KSPCG` $(_doc_external("KSP/KSPCGSetType")) """ function KSPCGSetType(petsclib::PetscLibType, ksp::AbstractKSP, type::KSPCGType) - error("KSPCGSetType: no generated method for these argument types") + throw(MethodError(KSPCGSetType, (petsclib, ksp, type))) end @for_petsc function KSPCGSetType(petsclib::$UnionPetscLib, ksp::AbstractKSP, type::KSPCGType ) @@ -548,7 +548,7 @@ See also: `KSP`, `KSPCG`, `KSPGMRES`, `KSPPIPECG`, `KSPPIPECR`, `KSPGROPPCG` $(_doc_external("KSP/KSPCGUseSingleReduction")) """ function KSPCGUseSingleReduction(petsclib::PetscLibType, ksp::AbstractKSP, flg::PetscBool) - error("KSPCGUseSingleReduction: no generated method for these argument types") + throw(MethodError(KSPCGUseSingleReduction, (petsclib, ksp, flg))) end @for_petsc function KSPCGUseSingleReduction(petsclib::$UnionPetscLib, ksp::AbstractKSP, flg::PetscBool ) @@ -582,7 +582,7 @@ See also: `KSPCHEBYSHEV`, `KSPChebyshevEstEigSet()` $(_doc_external("KSP/KSPChebyshevEstEigGetKSP")) """ function KSPChebyshevEstEigGetKSP(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPChebyshevEstEigGetKSP: no generated method for these argument types") + throw(MethodError(KSPChebyshevEstEigGetKSP, (petsclib, ksp))) end @for_petsc function KSPChebyshevEstEigGetKSP(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -622,7 +622,7 @@ See also: `KSPCHEBYSHEV`, `KSPChebyshevEstEigSetUseNoisy()`, `KSPChebyshevEstEig $(_doc_external("KSP/KSPChebyshevEstEigSet")) """ function KSPChebyshevEstEigSet(petsclib::PetscLibType, ksp::AbstractKSP, a::Real, b::Real, c::Real, d::Real) - error("KSPChebyshevEstEigSet: no generated method for these argument types") + throw(MethodError(KSPChebyshevEstEigSet, (petsclib, ksp, a, b, c, d))) end @for_petsc function KSPChebyshevEstEigSet(petsclib::$UnionPetscLib, ksp::AbstractKSP, a::$PetscReal, b::$PetscReal, c::$PetscReal, d::$PetscReal ) @@ -659,7 +659,7 @@ See also: `KSPCHEBYSHEV`, `KSPChebyshevEstEigSet()`, `KSPChebyshevEstEigGetKSP() $(_doc_external("KSP/KSPChebyshevEstEigSetUseNoisy")) """ function KSPChebyshevEstEigSetUseNoisy(petsclib::PetscLibType, ksp::AbstractKSP, use::PetscBool) - error("KSPChebyshevEstEigSetUseNoisy: no generated method for these argument types") + throw(MethodError(KSPChebyshevEstEigSetUseNoisy, (petsclib, ksp, use))) end @for_petsc function KSPChebyshevEstEigSetUseNoisy(petsclib::$UnionPetscLib, ksp::AbstractKSP, use::PetscBool ) @@ -693,7 +693,7 @@ See also: `KSPCHEBYSHEV`, `KSPChebyshevKind`, `KSPChebyshevSetKind()`, `KSP_CHEB $(_doc_external("KSP/KSPChebyshevGetKind")) """ function KSPChebyshevGetKind(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPChebyshevGetKind: no generated method for these argument types") + throw(MethodError(KSPChebyshevGetKind, (petsclib, ksp))) end @for_petsc function KSPChebyshevGetKind(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -733,7 +733,7 @@ See also: `KSPCHEBYSHEV`, `KSPChebyshevEstEigSet()` $(_doc_external("KSP/KSPChebyshevSetEigenvalues")) """ function KSPChebyshevSetEigenvalues(petsclib::PetscLibType, ksp::AbstractKSP, emax::Real, emin::Real) - error("KSPChebyshevSetEigenvalues: no generated method for these argument types") + throw(MethodError(KSPChebyshevSetEigenvalues, (petsclib, ksp, emax, emin))) end @for_petsc function KSPChebyshevSetEigenvalues(petsclib::$UnionPetscLib, ksp::AbstractKSP, emax::$PetscReal, emin::$PetscReal ) @@ -770,7 +770,7 @@ See also: `KSPCHEBYSHEV`, `KSPChebyshevKind`, `KSPChebyshevGetKind()`, `KSP_CHEB $(_doc_external("KSP/KSPChebyshevSetKind")) """ function KSPChebyshevSetKind(petsclib::PetscLibType, ksp::AbstractKSP, kind::KSPChebyshevKind) - error("KSPChebyshevSetKind: no generated method for these argument types") + throw(MethodError(KSPChebyshevSetKind, (petsclib, ksp, kind))) end @for_petsc function KSPChebyshevSetKind(petsclib::$UnionPetscLib, ksp::AbstractKSP, kind::KSPChebyshevKind ) @@ -806,7 +806,7 @@ See also: `KSP`, `KSPCreate()`, `KSPSetType()`, `KSPCheckNorm()`, `KSPCheckDot() $(_doc_external("KSP/KSPCheckSolve")) """ function KSPCheckSolve(petsclib::PetscLibType, ksp::AbstractKSP, pc::AbstractPC, vec::AbstractPetscVec) - error("KSPCheckSolve: no generated method for these argument types") + throw(MethodError(KSPCheckSolve, (petsclib, ksp, pc, vec))) end @for_petsc function KSPCheckSolve(petsclib::$UnionPetscLib, ksp::AbstractKSP, pc::AbstractPC, vec::AbstractPetscVec ) @@ -845,7 +845,7 @@ See also: `KSP`, `KSPConvergedRateView()` $(_doc_external("KSP/KSPComputeConvergenceRate")) """ function KSPComputeConvergenceRate(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPComputeConvergenceRate: no generated method for these argument types") + throw(MethodError(KSPComputeConvergenceRate, (petsclib, ksp))) end @for_petsc function KSPComputeConvergenceRate(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -896,7 +896,7 @@ See also: `KSPSetComputeEigenvalues()`, `KSPSetComputeSingularValues()`, `KSPMon $(_doc_external("KSP/KSPComputeEigenvalues")) """ function KSPComputeEigenvalues(petsclib::PetscLibType, ksp::AbstractKSP, n::Integer, r::AbstractVector{<:Number}, c::AbstractVector{<:Number}) - error("KSPComputeEigenvalues: no generated method for these argument types") + throw(MethodError(KSPComputeEigenvalues, (petsclib, ksp, n, r, c))) end @for_petsc function KSPComputeEigenvalues(petsclib::$UnionPetscLib, ksp::AbstractKSP, n::$PetscInt, r::Vector{$PetscReal}, c::Vector{$PetscReal} ) @@ -937,7 +937,7 @@ See also: `KSP`, `KSPComputeEigenvalues()`, `KSPMonitorSingularValue()`, `KSPCom $(_doc_external("KSP/KSPComputeEigenvaluesExplicitly")) """ function KSPComputeEigenvaluesExplicitly(petsclib::PetscLibType, ksp::AbstractKSP, nmax::Integer, r::AbstractVector{<:Number}, c::AbstractVector{<:Number}) - error("KSPComputeEigenvaluesExplicitly: no generated method for these argument types") + throw(MethodError(KSPComputeEigenvaluesExplicitly, (petsclib, ksp, nmax, r, c))) end @for_petsc function KSPComputeEigenvaluesExplicitly(petsclib::$UnionPetscLib, ksp::AbstractKSP, nmax::$PetscInt, r::Vector{$PetscReal}, c::Vector{$PetscReal} ) @@ -978,7 +978,7 @@ See also: `KSPSetComputeSingularValues()`, `KSPMonitorSingularValue()`, `KSPComp $(_doc_external("KSP/KSPComputeExtremeSingularValues")) """ function KSPComputeExtremeSingularValues(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPComputeExtremeSingularValues: no generated method for these argument types") + throw(MethodError(KSPComputeExtremeSingularValues, (petsclib, ksp))) end @for_petsc function KSPComputeExtremeSingularValues(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -1020,7 +1020,7 @@ See also: `KSP`, `KSPSetOperators()`, `KSPComputeEigenvaluesExplicitly()`, `PCCo $(_doc_external("KSP/KSPComputeOperator")) """ function KSPComputeOperator(petsclib::PetscLibType, ksp::AbstractKSP, mattype::String) - error("KSPComputeOperator: no generated method for these argument types") + throw(MethodError(KSPComputeOperator, (petsclib, ksp, mattype))) end @for_petsc function KSPComputeOperator(petsclib::$UnionPetscLib, ksp::AbstractKSP, mattype::String ) @@ -1064,7 +1064,7 @@ See also: `KSPSetComputeRitz()`, `KSP`, `KSPGMRES`, `KSPComputeEigenvalues()`, ` $(_doc_external("KSP/KSPComputeRitz")) """ function KSPComputeRitz(petsclib::PetscLibType, ksp::AbstractKSP, ritz::PetscBool, small::PetscBool, S::Vector{<:AbstractPetscVec}, tetar::AbstractVector{<:Number}, tetai::AbstractVector{<:Number}) - error("KSPComputeRitz: no generated method for these argument types") + throw(MethodError(KSPComputeRitz, (petsclib, ksp, ritz, small, S, tetar, tetai))) end @for_petsc function KSPComputeRitz(petsclib::$UnionPetscLib, ksp::AbstractKSP, ritz::PetscBool, small::PetscBool, S::Vector{<:AbstractPetscVec}, tetar::Vector{$PetscReal}, tetai::Vector{$PetscReal} ) @@ -1118,7 +1118,7 @@ See also: `KSP`, `KSPSetConvergenceTest()`, `KSPSetTolerances()`, `KSPConvergedS $(_doc_external("KSP/KSPConvergedDefault")) """ function KSPConvergedDefault(petsclib::PetscLibType, ksp::AbstractKSP, n::Integer, rnorm::Real, ctx::Ptr{Cvoid}) - error("KSPConvergedDefault: no generated method for these argument types") + throw(MethodError(KSPConvergedDefault, (petsclib, ksp, n, rnorm, ctx))) end @for_petsc function KSPConvergedDefault(petsclib::$UnionPetscLib, ksp::AbstractKSP, n::$PetscInt, rnorm::$PetscReal, ctx::Ptr{Cvoid} ) @@ -1155,7 +1155,7 @@ See also: `KSP`, `KSPConvergedDefault()`, `KSPConvergedDefaultDestroy()`, `KSPSe $(_doc_external("KSP/KSPConvergedDefaultCreate")) """ function KSPConvergedDefaultCreate(petsclib::PetscLibType) - error("KSPConvergedDefaultCreate: no generated method for these argument types") + throw(MethodError(KSPConvergedDefaultCreate, (petsclib, ))) end @for_petsc function KSPConvergedDefaultCreate(petsclib::$UnionPetscLib) @@ -1191,7 +1191,7 @@ See also: `KSP`, `KSPConvergedDefault()`, `KSPConvergedDefaultCreate()`, `KSPSet $(_doc_external("KSP/KSPConvergedDefaultDestroy")) """ function KSPConvergedDefaultDestroy(petsclib::PetscLibType, ctx::Ptr{Cvoid}) - error("KSPConvergedDefaultDestroy: no generated method for these argument types") + throw(MethodError(KSPConvergedDefaultDestroy, (petsclib, ctx))) end @for_petsc function KSPConvergedDefaultDestroy(petsclib::$UnionPetscLib, ctx::Ptr{Cvoid} ) @@ -1228,7 +1228,7 @@ See also: `KSP`, `KSPSetConvergenceTest()`, `KSPSetTolerances()`, `KSPConvergedS $(_doc_external("KSP/KSPConvergedDefaultSetConvergedMaxits")) """ function KSPConvergedDefaultSetConvergedMaxits(petsclib::PetscLibType, ksp::AbstractKSP, flg::PetscBool) - error("KSPConvergedDefaultSetConvergedMaxits: no generated method for these argument types") + throw(MethodError(KSPConvergedDefaultSetConvergedMaxits, (petsclib, ksp, flg))) end @for_petsc function KSPConvergedDefaultSetConvergedMaxits(petsclib::$UnionPetscLib, ksp::AbstractKSP, flg::PetscBool ) @@ -1266,7 +1266,7 @@ See also: `KSP`, `KSPSetConvergenceTest()`, `KSPSetTolerances()`, `KSPConvergedS $(_doc_external("KSP/KSPConvergedDefaultSetUIRNorm")) """ function KSPConvergedDefaultSetUIRNorm(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPConvergedDefaultSetUIRNorm: no generated method for these argument types") + throw(MethodError(KSPConvergedDefaultSetUIRNorm, (petsclib, ksp))) end @for_petsc function KSPConvergedDefaultSetUIRNorm(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -1304,7 +1304,7 @@ See also: `KSP`, `KSPSetConvergenceTest()`, `KSPSetTolerances()`, `KSPConvergedS $(_doc_external("KSP/KSPConvergedDefaultSetUMIRNorm")) """ function KSPConvergedDefaultSetUMIRNorm(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPConvergedDefaultSetUMIRNorm: no generated method for these argument types") + throw(MethodError(KSPConvergedDefaultSetUMIRNorm, (petsclib, ksp))) end @for_petsc function KSPConvergedDefaultSetUMIRNorm(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -1341,7 +1341,7 @@ See also: `KSPConvergedReasonView()`, `KSPGetConvergedRate()`, `KSPSetTolerances $(_doc_external("KSP/KSPConvergedRateView")) """ function KSPConvergedRateView(petsclib::PetscLibType, ksp::AbstractKSP, viewer::PetscViewer) - error("KSPConvergedRateView: no generated method for these argument types") + throw(MethodError(KSPConvergedRateView, (petsclib, ksp, viewer))) end @for_petsc function KSPConvergedRateView(petsclib::$UnionPetscLib, ksp::AbstractKSP, viewer::PetscViewer ) @@ -1380,7 +1380,7 @@ See also: `KSPConvergedReasonViewFromOptions()`, `KSPCreate()`, `KSPSetUp()`, `K $(_doc_external("KSP/KSPConvergedReasonView")) """ function KSPConvergedReasonView(petsclib::PetscLibType, ksp::AbstractKSP, viewer::PetscViewer) - error("KSPConvergedReasonView: no generated method for these argument types") + throw(MethodError(KSPConvergedReasonView, (petsclib, ksp, viewer))) end @for_petsc function KSPConvergedReasonView(petsclib::$UnionPetscLib, ksp::AbstractKSP, viewer::PetscViewer ) @@ -1414,7 +1414,7 @@ See also: `KSPCreate()`, `KSPDestroy()`, `KSPReset()`, `KSPConvergedReasonViewSe $(_doc_external("KSP/KSPConvergedReasonViewCancel")) """ function KSPConvergedReasonViewCancel(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPConvergedReasonViewCancel: no generated method for these argument types") + throw(MethodError(KSPConvergedReasonViewCancel, (petsclib, ksp))) end @for_petsc function KSPConvergedReasonViewCancel(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -1447,7 +1447,7 @@ See also: `KSPConvergedReasonView()`, `KSPConvergedReasonViewSet()` $(_doc_external("KSP/KSPConvergedReasonViewFromOptions")) """ function KSPConvergedReasonViewFromOptions(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPConvergedReasonViewFromOptions: no generated method for these argument types") + throw(MethodError(KSPConvergedReasonViewFromOptions, (petsclib, ksp))) end @for_petsc function KSPConvergedReasonViewFromOptions(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -1489,7 +1489,7 @@ See also: `KSPConvergedReasonView()`, `KSPConvergedReasonViewFn`, `KSPConvergedR $(_doc_external("KSP/KSPConvergedReasonViewSet")) """ function KSPConvergedReasonViewSet(petsclib::PetscLibType, ksp::AbstractKSP, f::Ptr{Cvoid}, ctx::Ptr{Cvoid}, reasonviewdestroy::Ptr{Cvoid}) - error("KSPConvergedReasonViewSet: no generated method for these argument types") + throw(MethodError(KSPConvergedReasonViewSet, (petsclib, ksp, f, ctx, reasonviewdestroy))) end @for_petsc function KSPConvergedReasonViewSet(petsclib::$UnionPetscLib, ksp::AbstractKSP, f::Ptr{Cvoid}, ctx::Ptr{Cvoid}, reasonviewdestroy::Ptr{Cvoid} ) @@ -1533,7 +1533,7 @@ See also: `KSP`, `KSPCG`, `KSPBCGS`, `KSPConvergenceTestFn`, `KSPSetConvergenceT $(_doc_external("KSP/KSPConvergedSkip")) """ function KSPConvergedSkip(petsclib::PetscLibType, ksp::AbstractKSP, n::Integer, rnorm::Real, dtx::Ptr{Cvoid}) - error("KSPConvergedSkip: no generated method for these argument types") + throw(MethodError(KSPConvergedSkip, (petsclib, ksp, n, rnorm, dtx))) end @for_petsc function KSPConvergedSkip(petsclib::$UnionPetscLib, ksp::AbstractKSP, n::$PetscInt, rnorm::$PetscReal, dtx::Ptr{Cvoid} ) @@ -1571,7 +1571,7 @@ See also: `KSPSetUp()`, `KSPSolve()`, `KSPDestroy()`, `KSP`, `KSPGMRES`, `KSPTyp $(_doc_external("KSP/KSPCreate")) """ function KSPCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("KSPCreate: no generated method for these argument types") + throw(MethodError(KSPCreate, (petsclib, comm))) end @for_petsc function KSPCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -1662,7 +1662,7 @@ See also: `KSPCreate()`, `KSPSetUp()`, `KSPSolve()`, `KSP` $(_doc_external("KSP/KSPDestroy")) """ function KSPDestroy(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPDestroy: no generated method for these argument types") + throw(MethodError(KSPDestroy, (petsclib, ksp))) end @for_petsc function KSPDestroy(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -1697,7 +1697,7 @@ See also: `KSP`, `KSPDestroy()` $(_doc_external("KSP/KSPDestroyDefault")) """ function KSPDestroyDefault(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPDestroyDefault: no generated method for these argument types") + throw(MethodError(KSPDestroyDefault, (petsclib, ksp))) end @for_petsc function KSPDestroyDefault(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -1733,7 +1733,7 @@ See also: `KSPFCG`, `KSPFCGGetTruncationType()`, `KSPFCGGetNprealloc()`, `KSPFCG $(_doc_external("KSP/KSPFCGGetMmax")) """ function KSPFCGGetMmax(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPFCGGetMmax: no generated method for these argument types") + throw(MethodError(KSPFCGGetMmax, (petsclib, ksp))) end @for_petsc function KSPFCGGetMmax(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -1771,7 +1771,7 @@ See also: `KSPFCG`, `KSPFCGGetTruncationType()`, `KSPFCGSetNprealloc()`, `KSPFCG $(_doc_external("KSP/KSPFCGGetNprealloc")) """ function KSPFCGGetNprealloc(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPFCGGetNprealloc: no generated method for these argument types") + throw(MethodError(KSPFCGGetNprealloc, (petsclib, ksp))) end @for_petsc function KSPFCGGetNprealloc(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -1809,7 +1809,7 @@ See also: `KSPFCG`, `KSPFCGSetTruncationType()`, `KSPFCDTruncationType`, `KSP_FC $(_doc_external("KSP/KSPFCGGetTruncationType")) """ function KSPFCGGetTruncationType(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPFCGGetTruncationType: no generated method for these argument types") + throw(MethodError(KSPFCGGetTruncationType, (petsclib, ksp))) end @for_petsc function KSPFCGGetTruncationType(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -1848,7 +1848,7 @@ See also: `KSPFCG`, `KSPFCGGetTruncationType()`, `KSPFCDTruncationType`, `KSPFCG $(_doc_external("KSP/KSPFCGSetMmax")) """ function KSPFCGSetMmax(petsclib::PetscLibType, ksp::AbstractKSP, mmax::Integer) - error("KSPFCGSetMmax: no generated method for these argument types") + throw(MethodError(KSPFCGSetMmax, (petsclib, ksp, mmax))) end @for_petsc function KSPFCGSetMmax(petsclib::$UnionPetscLib, ksp::AbstractKSP, mmax::$PetscInt ) @@ -1885,7 +1885,7 @@ See also: `KSPFCG`, `KSPFCGGetTruncationType()`, `KSPFCGGetNprealloc()`, `KSPFCG $(_doc_external("KSP/KSPFCGSetNprealloc")) """ function KSPFCGSetNprealloc(petsclib::PetscLibType, ksp::AbstractKSP, nprealloc::Integer) - error("KSPFCGSetNprealloc: no generated method for these argument types") + throw(MethodError(KSPFCGSetNprealloc, (petsclib, ksp, nprealloc))) end @for_petsc function KSPFCGSetNprealloc(petsclib::$UnionPetscLib, ksp::AbstractKSP, nprealloc::$PetscInt ) @@ -1927,7 +1927,7 @@ See also: `KSPFCG`, `KSPFCDTruncationType`, `KSPFCGGetTruncationType()`, `KSPFCG $(_doc_external("KSP/KSPFCGSetTruncationType")) """ function KSPFCGSetTruncationType(petsclib::PetscLibType, ksp::AbstractKSP, truncstrat::KSPFCDTruncationType) - error("KSPFCGSetTruncationType: no generated method for these argument types") + throw(MethodError(KSPFCGSetTruncationType, (petsclib, ksp, truncstrat))) end @for_petsc function KSPFCGSetTruncationType(petsclib::$UnionPetscLib, ksp::AbstractKSP, truncstrat::KSPFCDTruncationType ) @@ -1961,7 +1961,7 @@ See also: `MATIS`, `PCBDDC`, `KSPFETIDP`, `KSPFETIDPSetInnerBDDC()`, `KSPFETIDPG $(_doc_external("KSP/KSPFETIDPGetInnerBDDC")) """ function KSPFETIDPGetInnerBDDC(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPFETIDPGetInnerBDDC: no generated method for these argument types") + throw(MethodError(KSPFETIDPGetInnerBDDC, (petsclib, ksp))) end @for_petsc function KSPFETIDPGetInnerBDDC(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -1997,7 +1997,7 @@ See also: `KSPFETIDP`, `MATIS`, `PCBDDC`, `KSPFETIDPSetInnerBDDC()`, `KSPFETIDPG $(_doc_external("KSP/KSPFETIDPGetInnerKSP")) """ function KSPFETIDPGetInnerKSP(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPFETIDPGetInnerKSP: no generated method for these argument types") + throw(MethodError(KSPFETIDPGetInnerKSP, (petsclib, ksp))) end @for_petsc function KSPFETIDPGetInnerKSP(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -2033,7 +2033,7 @@ See also: `MATIS`, `PCBDDC`, `KSPFETIDPGetInnerBDDC()`, `KSPFETIDPGetInnerKSP()` $(_doc_external("KSP/KSPFETIDPSetInnerBDDC")) """ function KSPFETIDPSetInnerBDDC(petsclib::PetscLibType, ksp::AbstractKSP, pc::AbstractPC) - error("KSPFETIDPSetInnerBDDC: no generated method for these argument types") + throw(MethodError(KSPFETIDPSetInnerBDDC, (petsclib, ksp, pc))) end @for_petsc function KSPFETIDPSetInnerBDDC(petsclib::$UnionPetscLib, ksp::AbstractKSP, pc::AbstractPC ) @@ -2067,7 +2067,7 @@ See also: `KSPFETIDP`, `MATIS`, `PCBDDC`, `KSPFETIDPGetInnerBDDC()`, `KSPFETIDPG $(_doc_external("KSP/KSPFETIDPSetPressureOperator")) """ function KSPFETIDPSetPressureOperator(petsclib::PetscLibType, ksp::AbstractKSP, P::AbstractPetscMat) - error("KSPFETIDPSetPressureOperator: no generated method for these argument types") + throw(MethodError(KSPFETIDPSetPressureOperator, (petsclib, ksp, P))) end @for_petsc function KSPFETIDPSetPressureOperator(petsclib::$UnionPetscLib, ksp::AbstractKSP, P::AbstractPetscMat ) @@ -2096,7 +2096,7 @@ See also: `PetscFinalize()`, `KSPInitializePackage()` $(_doc_external("KSP/KSPFinalizePackage")) """ function KSPFinalizePackage(petsclib::PetscLibType) - error("KSPFinalizePackage: no generated method for these argument types") + throw(MethodError(KSPFinalizePackage, (petsclib, ))) end @for_petsc function KSPFinalizePackage(petsclib::$UnionPetscLib) @@ -2130,7 +2130,7 @@ See also: `KSPFGMRES`, `KSPFCG`, `KSPPIPEFCG`, `KSPGCR`, `KSPPIPEGCR`, `KSPFlexi $(_doc_external("KSP/KSPFlexibleModifyPCKSP")) """ function KSPFlexibleModifyPCKSP(petsclib::PetscLibType, ksp::AbstractKSP, total_its::Integer, loc_its::Integer, res_norm::Real, ctx::Ptr{Cvoid}) - error("KSPFlexibleModifyPCKSP: no generated method for these argument types") + throw(MethodError(KSPFlexibleModifyPCKSP, (petsclib, ksp, total_its, loc_its, res_norm, ctx))) end @for_petsc function KSPFlexibleModifyPCKSP(petsclib::$UnionPetscLib, ksp::AbstractKSP, total_its::$PetscInt, loc_its::$PetscInt, res_norm::$PetscReal, ctx::Ptr{Cvoid} ) @@ -2165,7 +2165,7 @@ See also: `KSPFGMRES`, `KSPFCG`, `KSPPIPEFCG`, `KSPGCR`, `KSPPIPEGCR`, `KSPFlexi $(_doc_external("KSP/KSPFlexibleModifyPCNoChange")) """ function KSPFlexibleModifyPCNoChange(petsclib::PetscLibType, ksp::AbstractKSP, total_its::Integer, loc_its::Integer, res_norm::Real, ctx::Ptr{Cvoid}) - error("KSPFlexibleModifyPCNoChange: no generated method for these argument types") + throw(MethodError(KSPFlexibleModifyPCNoChange, (petsclib, ksp, total_its, loc_its, res_norm, ctx))) end @for_petsc function KSPFlexibleModifyPCNoChange(petsclib::$UnionPetscLib, ksp::AbstractKSP, total_its::$PetscInt, loc_its::$PetscInt, res_norm::$PetscReal, ctx::Ptr{Cvoid} ) @@ -2201,7 +2201,7 @@ See also: `KSPFGMRES`, `KSPFCG`, `KSPPIPEFCG`, `KSPGCR`, `KSPPIPEGCR`, `KSPFlexi $(_doc_external("KSP/KSPFlexibleSetModifyPC")) """ function KSPFlexibleSetModifyPC(petsclib::PetscLibType, ksp::AbstractKSP, fcn::Ptr{Cvoid}, ctx::Ptr{Cvoid}, destroy::Ptr{Cvoid}) - error("KSPFlexibleSetModifyPC: no generated method for these argument types") + throw(MethodError(KSPFlexibleSetModifyPC, (petsclib, ksp, fcn, ctx, destroy))) end @for_petsc function KSPFlexibleSetModifyPC(petsclib::$UnionPetscLib, ksp::AbstractKSP, fcn::Ptr{Cvoid}, ctx::Ptr{Cvoid}, destroy::Ptr{Cvoid} ) @@ -2237,7 +2237,7 @@ See also: `KSPGCR`, `KSPSetTolerances()`, `KSPGCRSetRestart()`, `KSPGMRESGetRest $(_doc_external("KSP/KSPGCRGetRestart")) """ function KSPGCRGetRestart(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPGCRGetRestart: no generated method for these argument types") + throw(MethodError(KSPGCRGetRestart, (petsclib, ksp))) end @for_petsc function KSPGCRGetRestart(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -2276,7 +2276,7 @@ See also: `KSPGCR`, `KSPSetTolerances()`, `KSPGCRGetRestart()`, `KSPGMRESSetRest $(_doc_external("KSP/KSPGCRSetRestart")) """ function KSPGCRSetRestart(petsclib::PetscLibType, ksp::AbstractKSP, restart::Integer) - error("KSPGCRSetRestart: no generated method for these argument types") + throw(MethodError(KSPGCRSetRestart, (petsclib, ksp, restart))) end @for_petsc function KSPGCRSetRestart(petsclib::$UnionPetscLib, ksp::AbstractKSP, restart::$PetscInt ) @@ -2312,7 +2312,7 @@ See also: `KSP`, `KSPGLTR`, `KSPGLTRGetMinEig()` $(_doc_external("KSP/KSPGLTRGetLambda")) """ function KSPGLTRGetLambda(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPGLTRGetLambda: no generated method for these argument types") + throw(MethodError(KSPGLTRGetLambda, (petsclib, ksp))) end @for_petsc function KSPGLTRGetLambda(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -2350,7 +2350,7 @@ See also: `KSP`, `KSPGLTR`, `KSPGLTRGetLambda()` $(_doc_external("KSP/KSPGLTRGetMinEig")) """ function KSPGLTRGetMinEig(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPGLTRGetMinEig: no generated method for these argument types") + throw(MethodError(KSPGLTRGetMinEig, (petsclib, ksp))) end @for_petsc function KSPGLTRGetMinEig(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -2393,7 +2393,7 @@ See also: `KSPGMRESCGSRefinementType`, `KSPGMRESSetOrthogonalization()`, `KSPGMR $(_doc_external("KSP/KSPGMRESClassicalGramSchmidtOrthogonalization")) """ function KSPGMRESClassicalGramSchmidtOrthogonalization(petsclib::PetscLibType, ksp::AbstractKSP, it::Integer) - error("KSPGMRESClassicalGramSchmidtOrthogonalization: no generated method for these argument types") + throw(MethodError(KSPGMRESClassicalGramSchmidtOrthogonalization, (petsclib, ksp, it))) end @for_petsc function KSPGMRESClassicalGramSchmidtOrthogonalization(petsclib::$UnionPetscLib, ksp::AbstractKSP, it::$PetscInt ) @@ -2431,7 +2431,7 @@ See also: `KSPGMRES`, `KSPGMRESSetOrthogonalization()`, `KSPGMRESCGSRefinementTy $(_doc_external("KSP/KSPGMRESGetCGSRefinementType")) """ function KSPGMRESGetCGSRefinementType(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPGMRESGetCGSRefinementType: no generated method for these argument types") + throw(MethodError(KSPGMRESGetCGSRefinementType, (petsclib, ksp))) end @for_petsc function KSPGMRESGetCGSRefinementType(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -2474,7 +2474,7 @@ See also: `KSPGMRESSetRestart()`, `KSPGMRESSetPreAllocateVectors()`, `KSPGMRESSe $(_doc_external("KSP/KSPGMRESGetOrthogonalization")) """ function KSPGMRESGetOrthogonalization(petsclib::PetscLibType, ksp::AbstractKSP, noname::Ptr{Cvoid}) - error("KSPGMRESGetOrthogonalization: no generated method for these argument types") + throw(MethodError(KSPGMRESGetOrthogonalization, (petsclib, ksp, noname))) end @for_petsc function KSPGMRESGetOrthogonalization(petsclib::$UnionPetscLib, ksp::AbstractKSP, noname::Ptr{Cvoid} ) @@ -2512,7 +2512,7 @@ See also: `KSPGMRES`, `KSPSetTolerances()`, `KSPGMRESSetOrthogonalization()`, `K $(_doc_external("KSP/KSPGMRESGetRestart")) """ function KSPGMRESGetRestart(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPGMRESGetRestart: no generated method for these argument types") + throw(MethodError(KSPGMRESGetRestart, (petsclib, ksp))) end @for_petsc function KSPGMRESGetRestart(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -2552,7 +2552,7 @@ See also: `KSPGMRESSetOrthogonalization()`, `KSPGMRESClassicalGramSchmidtOrthogo $(_doc_external("KSP/KSPGMRESModifiedGramSchmidtOrthogonalization")) """ function KSPGMRESModifiedGramSchmidtOrthogonalization(petsclib::PetscLibType, ksp::AbstractKSP, it::Integer) - error("KSPGMRESModifiedGramSchmidtOrthogonalization: no generated method for these argument types") + throw(MethodError(KSPGMRESModifiedGramSchmidtOrthogonalization, (petsclib, ksp, it))) end @for_petsc function KSPGMRESModifiedGramSchmidtOrthogonalization(petsclib::$UnionPetscLib, ksp::AbstractKSP, it::$PetscInt ) @@ -2591,7 +2591,7 @@ See also: `KSPGMRES`, `KSPMonitorSet()`, `KSPMonitorResidual()`, `VecView()`, `P $(_doc_external("KSP/KSPGMRESMonitorKrylov")) """ function KSPGMRESMonitorKrylov(petsclib::PetscLibType, ksp::AbstractKSP, its::Integer, fgnorm::Real, Viewers::Ptr{Cvoid}) - error("KSPGMRESMonitorKrylov: no generated method for these argument types") + throw(MethodError(KSPGMRESMonitorKrylov, (petsclib, ksp, its, fgnorm, Viewers))) end @for_petsc function KSPGMRESMonitorKrylov(petsclib::$UnionPetscLib, ksp::AbstractKSP, its::$PetscInt, fgnorm::$PetscReal, Viewers::Ptr{Cvoid} ) @@ -2628,7 +2628,7 @@ See also: `KSPGMRES`, `KSPSetTolerances()`, `KSPGMRESSetHapTol()`, `KSPConverged $(_doc_external("KSP/KSPGMRESSetBreakdownTolerance")) """ function KSPGMRESSetBreakdownTolerance(petsclib::PetscLibType, ksp::AbstractKSP, tol::Real) - error("KSPGMRESSetBreakdownTolerance: no generated method for these argument types") + throw(MethodError(KSPGMRESSetBreakdownTolerance, (petsclib, ksp, tol))) end @for_petsc function KSPGMRESSetBreakdownTolerance(petsclib::$UnionPetscLib, ksp::AbstractKSP, tol::$PetscReal ) @@ -2672,7 +2672,7 @@ See also: `KSPGMRES`, `KSPGMRESSetOrthogonalization()`, `KSPGMRESCGSRefinementTy $(_doc_external("KSP/KSPGMRESSetCGSRefinementType")) """ function KSPGMRESSetCGSRefinementType(petsclib::PetscLibType, ksp::AbstractKSP, type::KSPGMRESCGSRefinementType) - error("KSPGMRESSetCGSRefinementType: no generated method for these argument types") + throw(MethodError(KSPGMRESSetCGSRefinementType, (petsclib, ksp, type))) end @for_petsc function KSPGMRESSetCGSRefinementType(petsclib::$UnionPetscLib, ksp::AbstractKSP, type::KSPGMRESCGSRefinementType ) @@ -2709,7 +2709,7 @@ See also: `KSPGMRES`, `KSPSetTolerances()` $(_doc_external("KSP/KSPGMRESSetHapTol")) """ function KSPGMRESSetHapTol(petsclib::PetscLibType, ksp::AbstractKSP, tol::Real) - error("KSPGMRESSetHapTol: no generated method for these argument types") + throw(MethodError(KSPGMRESSetHapTol, (petsclib, ksp, tol))) end @for_petsc function KSPGMRESSetHapTol(petsclib::$UnionPetscLib, ksp::AbstractKSP, tol::$PetscReal ) @@ -2753,7 +2753,7 @@ See also: `KSPGMRESSetRestart()`, `KSPGMRESSetPreAllocateVectors()`, $(_doc_external("KSP/KSPGMRESSetOrthogonalization")) """ function KSPGMRESSetOrthogonalization(petsclib::PetscLibType, ksp::AbstractKSP, fcn::external) - error("KSPGMRESSetOrthogonalization: no generated method for these argument types") + throw(MethodError(KSPGMRESSetOrthogonalization, (petsclib, ksp, fcn))) end @for_petsc function KSPGMRESSetOrthogonalization(petsclib::$UnionPetscLib, ksp::AbstractKSP, fcn::external ) @@ -2792,7 +2792,7 @@ See also: `KSPGMRESSetRestart()`, `KSPGMRESSetOrthogonalization()`, `KSPGMRESGet $(_doc_external("KSP/KSPGMRESSetPreAllocateVectors")) """ function KSPGMRESSetPreAllocateVectors(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPGMRESSetPreAllocateVectors: no generated method for these argument types") + throw(MethodError(KSPGMRESSetPreAllocateVectors, (petsclib, ksp))) end @for_petsc function KSPGMRESSetPreAllocateVectors(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -2831,7 +2831,7 @@ See also: `KSPGMRES`, `KSPSetTolerances()`, `KSPGMRESSetOrthogonalization()`, `K $(_doc_external("KSP/KSPGMRESSetRestart")) """ function KSPGMRESSetRestart(petsclib::PetscLibType, ksp::AbstractKSP, restart::Integer) - error("KSPGMRESSetRestart: no generated method for these argument types") + throw(MethodError(KSPGMRESSetRestart, (petsclib, ksp, restart))) end @for_petsc function KSPGMRESSetRestart(petsclib::$UnionPetscLib, ksp::AbstractKSP, restart::$PetscInt ) @@ -2869,7 +2869,7 @@ See also: `KSP`, `KSPConvergedDefault()`, `KSPGetConvergenceContext()`, `KSPSetT $(_doc_external("KSP/KSPGetAndClearConvergenceTest")) """ function KSPGetAndClearConvergenceTest(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPGetAndClearConvergenceTest: no generated method for these argument types") + throw(MethodError(KSPGetAndClearConvergenceTest, (petsclib, ksp))) end @for_petsc function KSPGetAndClearConvergenceTest(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -2911,7 +2911,7 @@ See also: `KSP`, `KSPSetApplicationContext()` $(_doc_external("KSP/KSPGetApplicationContext")) """ function KSPGetApplicationContext(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPGetApplicationContext: no generated method for these argument types") + throw(MethodError(KSPGetApplicationContext, (petsclib, ksp))) end @for_petsc function KSPGetApplicationContext(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -2951,7 +2951,7 @@ See also: `KSPComputeEigenvalues()`, `KSPComputeEigenvaluesExplicitly()`, `KSP`, $(_doc_external("KSP/KSPGetComputeEigenvalues")) """ function KSPGetComputeEigenvalues(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPGetComputeEigenvalues: no generated method for these argument types") + throw(MethodError(KSPGetComputeEigenvalues, (petsclib, ksp))) end @for_petsc function KSPGetComputeEigenvalues(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -2994,7 +2994,7 @@ See also: `KSPComputeExtremeSingularValues()`, `KSPMonitorSingularValue()`, `KSP $(_doc_external("KSP/KSPGetComputeSingularValues")) """ function KSPGetComputeSingularValues(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPGetComputeSingularValues: no generated method for these argument types") + throw(MethodError(KSPGetComputeSingularValues, (petsclib, ksp))) end @for_petsc function KSPGetComputeSingularValues(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -3032,7 +3032,7 @@ See also: `KSP`, `KSPConvergedReason`, `KSPSetConvergedNegativeCurvature()` $(_doc_external("KSP/KSPGetConvergedNegativeCurvature")) """ function KSPGetConvergedNegativeCurvature(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPGetConvergedNegativeCurvature: no generated method for these argument types") + throw(MethodError(KSPGetConvergedNegativeCurvature, (petsclib, ksp))) end @for_petsc function KSPGetConvergedNegativeCurvature(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -3074,7 +3074,7 @@ See also: `KSPConvergedReason`, `KSP`, `KSPSetConvergenceTest()`, `KSPConvergedD $(_doc_external("KSP/KSPGetConvergedReason")) """ function KSPGetConvergedReason(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPGetConvergedReason: no generated method for these argument types") + throw(MethodError(KSPGetConvergedReason, (petsclib, ksp))) end @for_petsc function KSPGetConvergedReason(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -3112,7 +3112,7 @@ See also: `KSP`, `KSPGetConvergedReason()` $(_doc_external("KSP/KSPGetConvergedReasonString")) """ function KSPGetConvergedReasonString(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPGetConvergedReasonString: no generated method for these argument types") + throw(MethodError(KSPGetConvergedReasonString, (petsclib, ksp))) end @for_petsc function KSPGetConvergedReasonString(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -3150,7 +3150,7 @@ See also: `KSP`, `KSPConvergedDefault()`, `KSPSetConvergenceTest()`, `KSPGetConv $(_doc_external("KSP/KSPGetConvergenceContext")) """ function KSPGetConvergenceContext(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPGetConvergenceContext: no generated method for these argument types") + throw(MethodError(KSPGetConvergenceContext, (petsclib, ksp))) end @for_petsc function KSPGetConvergenceContext(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -3190,7 +3190,7 @@ See also: `KSP`, `KSPConvergedDefault()`, `KSPGetConvergenceContext()`, `KSPSetT $(_doc_external("KSP/KSPGetConvergenceTest")) """ function KSPGetConvergenceTest(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPGetConvergenceTest: no generated method for these argument types") + throw(MethodError(KSPGetConvergenceTest, (petsclib, ksp))) end @for_petsc function KSPGetConvergenceTest(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -3232,7 +3232,7 @@ See also: `KSP`, `DM`, `KSPSetDM()`, `KSPSetDMActive()` $(_doc_external("KSP/KSPGetDM")) """ function KSPGetDM(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPGetDM: no generated method for these argument types") + throw(MethodError(KSPGetDM, (petsclib, ksp))) end @for_petsc function KSPGetDM(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -3270,7 +3270,7 @@ See also: `KSP`, `KSPSetDiagonalScale()`, `KSPSetDiagonalScaleFix()` $(_doc_external("KSP/KSPGetDiagonalScale")) """ function KSPGetDiagonalScale(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPGetDiagonalScale: no generated method for these argument types") + throw(MethodError(KSPGetDiagonalScale, (petsclib, ksp))) end @for_petsc function KSPGetDiagonalScale(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -3309,7 +3309,7 @@ See also: `KSPGetDiagonalScale()`, `KSPSetDiagonalScale()`, `KSPSetDiagonalScale $(_doc_external("KSP/KSPGetDiagonalScaleFix")) """ function KSPGetDiagonalScaleFix(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPGetDiagonalScaleFix: no generated method for these argument types") + throw(MethodError(KSPGetDiagonalScaleFix, (petsclib, ksp))) end @for_petsc function KSPGetDiagonalScaleFix(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -3348,7 +3348,7 @@ See also: `KSPSetErrorHistory()`, `KSPGetResidualHistory()`, `KSP` $(_doc_external("KSP/KSPGetErrorHistory")) """ function KSPGetErrorHistory(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPGetErrorHistory: no generated method for these argument types") + throw(MethodError(KSPGetErrorHistory, (petsclib, ksp))) end @for_petsc function KSPGetErrorHistory(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -3388,7 +3388,7 @@ See also: `KSPSetErrorIfNotConverged()`, `KSP` $(_doc_external("KSP/KSPGetErrorIfNotConverged")) """ function KSPGetErrorIfNotConverged(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPGetErrorIfNotConverged: no generated method for these argument types") + throw(MethodError(KSPGetErrorIfNotConverged, (petsclib, ksp))) end @for_petsc function KSPGetErrorIfNotConverged(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -3426,7 +3426,7 @@ See also: `KSPGuess`, `KSP`, `KSPSetOptionsPrefix()`, `KSPAppendOptionsPrefix()` $(_doc_external("KSP/KSPGetGuess")) """ function KSPGetGuess(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPGetGuess: no generated method for these argument types") + throw(MethodError(KSPGetGuess, (petsclib, ksp))) end @for_petsc function KSPGetGuess(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -3465,7 +3465,7 @@ See also: `KSPSetInitialGuessKnoll()`, `KSPSetInitialGuessNonzero()`, `KSPGetIni $(_doc_external("KSP/KSPGetInitialGuessKnoll")) """ function KSPGetInitialGuessKnoll(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPGetInitialGuessKnoll: no generated method for these argument types") + throw(MethodError(KSPGetInitialGuessKnoll, (petsclib, ksp))) end @for_petsc function KSPGetInitialGuessKnoll(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -3504,7 +3504,7 @@ See also: `KSPSetInitialGuessNonzero()`, `KSP` $(_doc_external("KSP/KSPGetInitialGuessNonzero")) """ function KSPGetInitialGuessNonzero(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPGetInitialGuessNonzero: no generated method for these argument types") + throw(MethodError(KSPGetInitialGuessNonzero, (petsclib, ksp))) end @for_petsc function KSPGetInitialGuessNonzero(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -3542,7 +3542,7 @@ See also: `KSP`, `KSPGetResidualNorm()`, `KSPBuildResidual()`, `KSPGetTotalItera $(_doc_external("KSP/KSPGetIterationNumber")) """ function KSPGetIterationNumber(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPGetIterationNumber: no generated method for these argument types") + throw(MethodError(KSPGetIterationNumber, (petsclib, ksp))) end @for_petsc function KSPGetIterationNumber(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -3578,7 +3578,7 @@ See also: `KSPMatSolve()`, `KSPSetMatSolveBatchSize()`, `-mat_mumps_icntl_27`, ` $(_doc_external("KSP/KSPGetMatSolveBatchSize")) """ function KSPGetMatSolveBatchSize(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPGetMatSolveBatchSize: no generated method for these argument types") + throw(MethodError(KSPGetMatSolveBatchSize, (petsclib, ksp))) end @for_petsc function KSPGetMatSolveBatchSize(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -3616,7 +3616,7 @@ See also: `KSPGetTolerances()`, `KSPConvergedDefault()`, `KSPSetConvergenceTest( $(_doc_external("KSP/KSPGetMinimumIterations")) """ function KSPGetMinimumIterations(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPGetMinimumIterations: no generated method for these argument types") + throw(MethodError(KSPGetMinimumIterations, (petsclib, ksp))) end @for_petsc function KSPGetMinimumIterations(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -3654,7 +3654,7 @@ See also: `KSPMonitorResidual()`, `KSP` $(_doc_external("KSP/KSPGetMonitorContext")) """ function KSPGetMonitorContext(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPGetMonitorContext: no generated method for these argument types") + throw(MethodError(KSPGetMonitorContext, (petsclib, ksp))) end @for_petsc function KSPGetMonitorContext(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -3692,7 +3692,7 @@ See also: `KSPSetUp()`, `KSPSolve()`, `KSPDestroy()`, `KSP`, `KSPGMRES`, `KSPTyp $(_doc_external("KSP/KSPGetNestLevel")) """ function KSPGetNestLevel(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPGetNestLevel: no generated method for these argument types") + throw(MethodError(KSPGetNestLevel, (petsclib, ksp))) end @for_petsc function KSPGetNestLevel(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -3730,7 +3730,7 @@ See also: `KSPNormType`, `KSPSetNormType()`, `KSPConvergedSkip()` $(_doc_external("KSP/KSPGetNormType")) """ function KSPGetNormType(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPGetNormType: no generated method for these argument types") + throw(MethodError(KSPGetNormType, (petsclib, ksp))) end @for_petsc function KSPGetNormType(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -3770,7 +3770,7 @@ See also: `KSP`, `KSPSolve()`, `KSPGetPC()`, `PCSetOperators()`, `KSPSetOperator $(_doc_external("KSP/KSPGetOperators")) """ function KSPGetOperators(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPGetOperators: no generated method for these argument types") + throw(MethodError(KSPGetOperators, (petsclib, ksp))) end @for_petsc function KSPGetOperators(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -3812,7 +3812,7 @@ See also: `KSP`, `PCSetOperators()`, `KSPGetOperators()`, `KSPSetOperators()`, ` $(_doc_external("KSP/KSPGetOperatorsSet")) """ function KSPGetOperatorsSet(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPGetOperatorsSet: no generated method for these argument types") + throw(MethodError(KSPGetOperatorsSet, (petsclib, ksp))) end @for_petsc function KSPGetOperatorsSet(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -3853,7 +3853,7 @@ See also: `KSP`, `KSPSetFromOptions()`, `KSPSetOptionsPrefix()`, `KSPAppendOptio $(_doc_external("KSP/KSPGetOptionsPrefix")) """ function KSPGetOptionsPrefix(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPGetOptionsPrefix: no generated method for these argument types") + throw(MethodError(KSPGetOptionsPrefix, (petsclib, ksp))) end @for_petsc function KSPGetOptionsPrefix(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -3891,7 +3891,7 @@ See also: `KSPSetPC()`, `KSP`, `PC` $(_doc_external("KSP/KSPGetPC")) """ function KSPGetPC(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPGetPC: no generated method for these argument types") + throw(MethodError(KSPGetPC, (petsclib, ksp))) end @for_petsc function KSPGetPC(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -3934,7 +3934,7 @@ See also: `KSPSetPCSide()`, `KSP` $(_doc_external("KSP/KSPGetPCSide")) """ function KSPGetPCSide(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPGetPCSide: no generated method for these argument types") + throw(MethodError(KSPGetPCSide, (petsclib, ksp))) end @for_petsc function KSPGetPCSide(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -3973,7 +3973,7 @@ See also: `KSPSetResidualHistory()`, `KSP`, `KSPGetIterationNumber()`, `KSPSTCG` $(_doc_external("KSP/KSPGetResidualHistory")) """ function KSPGetResidualHistory(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPGetResidualHistory: no generated method for these argument types") + throw(MethodError(KSPGetResidualHistory, (petsclib, ksp))) end @for_petsc function KSPGetResidualHistory(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -4013,7 +4013,7 @@ See also: `KSP`, `KSPSetNormType()`, `KSPBuildResidual()`, `KSPNormType` $(_doc_external("KSP/KSPGetResidualNorm")) """ function KSPGetResidualNorm(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPGetResidualNorm: no generated method for these argument types") + throw(MethodError(KSPGetResidualNorm, (petsclib, ksp))) end @for_petsc function KSPGetResidualNorm(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -4051,7 +4051,7 @@ See also: `KSPCreate()`, `KSPSolve()`, `KSPDestroy()`, `KSPSetReusePreconditione $(_doc_external("KSP/KSPGetReusePreconditioner")) """ function KSPGetReusePreconditioner(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPGetReusePreconditioner: no generated method for these argument types") + throw(MethodError(KSPGetReusePreconditioner, (petsclib, ksp))) end @for_petsc function KSPGetReusePreconditioner(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -4090,7 +4090,7 @@ See also: `KSPGetSolution()`, `KSPSolve()`, `KSP` $(_doc_external("KSP/KSPGetRhs")) """ function KSPGetRhs(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPGetRhs: no generated method for these argument types") + throw(MethodError(KSPGetRhs, (petsclib, ksp))) end @for_petsc function KSPGetRhs(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -4129,7 +4129,7 @@ See also: `KSPGetRhs()`, `KSPBuildSolution()`, `KSPSolve()`, `KSP` $(_doc_external("KSP/KSPGetSolution")) """ function KSPGetSolution(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPGetSolution: no generated method for these argument types") + throw(MethodError(KSPGetSolution, (petsclib, ksp))) end @for_petsc function KSPGetSolution(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -4171,7 +4171,7 @@ See also: `KSPSetTolerances()`, `KSP`, `KSPSetMinimumIterations()`, `KSPGetMinim $(_doc_external("KSP/KSPGetTolerances")) """ function KSPGetTolerances(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPGetTolerances: no generated method for these argument types") + throw(MethodError(KSPGetTolerances, (petsclib, ksp))) end @for_petsc function KSPGetTolerances(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -4215,7 +4215,7 @@ See also: `KSP`, `KSPBuildResidual()`, `KSPGetResidualNorm()`, `KSPGetIterationN $(_doc_external("KSP/KSPGetTotalIterations")) """ function KSPGetTotalIterations(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPGetTotalIterations: no generated method for these argument types") + throw(MethodError(KSPGetTotalIterations, (petsclib, ksp))) end @for_petsc function KSPGetTotalIterations(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -4253,7 +4253,7 @@ See also: `KSPType`, `KSP`, `KSPSetType()`, `PetscObjectTypeCompare()`, `PetscOb $(_doc_external("KSP/KSPGetType")) """ function KSPGetType(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPGetType: no generated method for these argument types") + throw(MethodError(KSPGetType, (petsclib, ksp))) end @for_petsc function KSPGetType(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -4278,7 +4278,7 @@ end $(_doc_external("KSP/KSPHPDDMGetDeflationMat")) """ function KSPHPDDMGetDeflationMat(petsclib::PetscLibType, ksp::AbstractKSP, U::AbstractPetscMat) - error("KSPHPDDMGetDeflationMat: no generated method for these argument types") + throw(MethodError(KSPHPDDMGetDeflationMat, (petsclib, ksp, U))) end @for_petsc function KSPHPDDMGetDeflationMat(petsclib::$UnionPetscLib, ksp::AbstractKSP, U::AbstractPetscMat ) @@ -4303,7 +4303,7 @@ end $(_doc_external("KSP/KSPHPDDMGetType")) """ function KSPHPDDMGetType(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPHPDDMGetType: no generated method for these argument types") + throw(MethodError(KSPHPDDMGetType, (petsclib, ksp))) end @for_petsc function KSPHPDDMGetType(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -4328,7 +4328,7 @@ end $(_doc_external("KSP/KSPHPDDMSetDeflationMat")) """ function KSPHPDDMSetDeflationMat(petsclib::PetscLibType, ksp::AbstractKSP, U::AbstractPetscMat) - error("KSPHPDDMSetDeflationMat: no generated method for these argument types") + throw(MethodError(KSPHPDDMSetDeflationMat, (petsclib, ksp, U))) end @for_petsc function KSPHPDDMSetDeflationMat(petsclib::$UnionPetscLib, ksp::AbstractKSP, U::AbstractPetscMat ) @@ -4351,7 +4351,7 @@ end $(_doc_external("KSP/KSPHPDDMSetType")) """ function KSPHPDDMSetType(petsclib::PetscLibType, ksp::AbstractKSP, type::KSPHPDDMType) - error("KSPHPDDMSetType: no generated method for these argument types") + throw(MethodError(KSPHPDDMSetType, (petsclib, ksp, type))) end @for_petsc function KSPHPDDMSetType(petsclib::$UnionPetscLib, ksp::AbstractKSP, type::KSPHPDDMType ) @@ -4393,7 +4393,7 @@ See also: `KSP`, `KSPSolve()`, `KSPMonitor()` $(_doc_external("KSP/KSPInitialResidual")) """ function KSPInitialResidual(petsclib::PetscLibType, ksp::AbstractKSP, vsoln::AbstractPetscVec, vt1::AbstractPetscVec, vt2::AbstractPetscVec, vres::AbstractPetscVec, vb::AbstractPetscVec) - error("KSPInitialResidual: no generated method for these argument types") + throw(MethodError(KSPInitialResidual, (petsclib, ksp, vsoln, vt1, vt2, vres, vb))) end @for_petsc function KSPInitialResidual(petsclib::$UnionPetscLib, ksp::AbstractKSP, vsoln::AbstractPetscVec, vt1::AbstractPetscVec, vt2::AbstractPetscVec, vres::AbstractPetscVec, vb::AbstractPetscVec ) @@ -4423,7 +4423,7 @@ See also: `PetscInitialize()`, `KSPFinalizePackage()` $(_doc_external("KSP/KSPInitializePackage")) """ function KSPInitializePackage(petsclib::PetscLibType) - error("KSPInitializePackage: no generated method for these argument types") + throw(MethodError(KSPInitializePackage, (petsclib, ))) end @for_petsc function KSPInitializePackage(petsclib::$UnionPetscLib) @@ -4459,7 +4459,7 @@ See also: `KSPLGMRES`, `KSPLGMRESSetConstant()` $(_doc_external("KSP/KSPLGMRESSetAugDim")) """ function KSPLGMRESSetAugDim(petsclib::PetscLibType, ksp::AbstractKSP, dim::Integer) - error("KSPLGMRESSetAugDim: no generated method for these argument types") + throw(MethodError(KSPLGMRESSetAugDim, (petsclib, ksp, dim))) end @for_petsc function KSPLGMRESSetAugDim(petsclib::$UnionPetscLib, ksp::AbstractKSP, dim::$PetscInt ) @@ -4495,7 +4495,7 @@ See also: `KSPLGMRES`, `KSPLGMRESSetAugDim()` $(_doc_external("KSP/KSPLGMRESSetConstant")) """ function KSPLGMRESSetConstant(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPLGMRESSetConstant: no generated method for these argument types") + throw(MethodError(KSPLGMRESSetConstant, (petsclib, ksp))) end @for_petsc function KSPLGMRESSetConstant(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -4536,7 +4536,7 @@ See also: `KSPLSQR`, `KSPSetConvergenceTest()`, `KSPSetTolerances()`, `KSPConver $(_doc_external("KSP/KSPLSQRConvergedDefault")) """ function KSPLSQRConvergedDefault(petsclib::PetscLibType, ksp::AbstractKSP, n::Integer, rnorm::Real, ctx::Ptr{Cvoid}) - error("KSPLSQRConvergedDefault: no generated method for these argument types") + throw(MethodError(KSPLSQRConvergedDefault, (petsclib, ksp, n, rnorm, ctx))) end @for_petsc function KSPLSQRConvergedDefault(petsclib::$UnionPetscLib, ksp::AbstractKSP, n::$PetscInt, rnorm::$PetscReal, ctx::Ptr{Cvoid} ) @@ -4575,7 +4575,7 @@ See also: `KSPSolve()`, `KSPLSQR`, `KSPLSQRSetExactMatNorm()` $(_doc_external("KSP/KSPLSQRGetNorms")) """ function KSPLSQRGetNorms(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPLSQRGetNorms: no generated method for these argument types") + throw(MethodError(KSPLSQRGetNorms, (petsclib, ksp))) end @for_petsc function KSPLSQRGetNorms(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -4618,7 +4618,7 @@ See also: `KSPSolve()`, `KSPLSQR`, `KSPLSQRSetComputeStandardErrorVec()` $(_doc_external("KSP/KSPLSQRGetStandardErrorVec")) """ function KSPLSQRGetStandardErrorVec(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPLSQRGetStandardErrorVec: no generated method for these argument types") + throw(MethodError(KSPLSQRGetStandardErrorVec, (petsclib, ksp))) end @for_petsc function KSPLSQRGetStandardErrorVec(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -4659,7 +4659,7 @@ See also: `KSPLSQR`, `KSPMonitorSet()`, `KSPMonitorResidual()`, `KSPMonitorTrueR $(_doc_external("KSP/KSPLSQRMonitorResidual")) """ function KSPLSQRMonitorResidual(petsclib::PetscLibType, ksp::AbstractKSP, n::Integer, rnorm::Real, vf::Vector{PetscViewerAndFormat}) - error("KSPLSQRMonitorResidual: no generated method for these argument types") + throw(MethodError(KSPLSQRMonitorResidual, (petsclib, ksp, n, rnorm, vf))) end @for_petsc function KSPLSQRMonitorResidual(petsclib::$UnionPetscLib, ksp::AbstractKSP, n::$PetscInt, rnorm::$PetscReal, vf::Vector{PetscViewerAndFormat} ) @@ -4698,7 +4698,7 @@ See also: `KSPLSQR`, `KSPMonitorSet()`, `KSPMonitorTrueResidual()`, `KSPLSQRMoni $(_doc_external("KSP/KSPLSQRMonitorResidualDrawLG")) """ function KSPLSQRMonitorResidualDrawLG(petsclib::PetscLibType, ksp::AbstractKSP, n::Integer, rnorm::Real, vf::Vector{PetscViewerAndFormat}) - error("KSPLSQRMonitorResidualDrawLG: no generated method for these argument types") + throw(MethodError(KSPLSQRMonitorResidualDrawLG, (petsclib, ksp, n, rnorm, vf))) end @for_petsc function KSPLSQRMonitorResidualDrawLG(petsclib::$UnionPetscLib, ksp::AbstractKSP, n::$PetscInt, rnorm::$PetscReal, vf::Vector{PetscViewerAndFormat} ) @@ -4736,7 +4736,7 @@ See also: `KSPLSQR`, `KSPMonitorSet()`, `KSPLSQRMonitorResidual()`, `KSPLSQRMoni $(_doc_external("KSP/KSPLSQRMonitorResidualDrawLGCreate")) """ function KSPLSQRMonitorResidualDrawLGCreate(petsclib::PetscLibType, viewer::PetscViewer, format::PetscViewerFormat, ctx::Ptr{Cvoid}) - error("KSPLSQRMonitorResidualDrawLGCreate: no generated method for these argument types") + throw(MethodError(KSPLSQRMonitorResidualDrawLGCreate, (petsclib, viewer, format, ctx))) end @for_petsc function KSPLSQRMonitorResidualDrawLGCreate(petsclib::$UnionPetscLib, viewer::PetscViewer, format::PetscViewerFormat, ctx::Ptr{Cvoid} ) @@ -4772,7 +4772,7 @@ See also: `KSPSolve()`, `KSPLSQR`, `KSPLSQRGetStandardErrorVec()` $(_doc_external("KSP/KSPLSQRSetComputeStandardErrorVec")) """ function KSPLSQRSetComputeStandardErrorVec(petsclib::PetscLibType, ksp::AbstractKSP, flg::PetscBool) - error("KSPLSQRSetComputeStandardErrorVec: no generated method for these argument types") + throw(MethodError(KSPLSQRSetComputeStandardErrorVec, (petsclib, ksp, flg))) end @for_petsc function KSPLSQRSetComputeStandardErrorVec(petsclib::$UnionPetscLib, ksp::AbstractKSP, flg::PetscBool ) @@ -4806,7 +4806,7 @@ See also: `KSPSolve()`, `KSPLSQR`, `KSPLSQRGetNorms()`, `KSPLSQRConvergedDefault $(_doc_external("KSP/KSPLSQRSetExactMatNorm")) """ function KSPLSQRSetExactMatNorm(petsclib::PetscLibType, ksp::AbstractKSP, flg::PetscBool) - error("KSPLSQRSetExactMatNorm: no generated method for these argument types") + throw(MethodError(KSPLSQRSetExactMatNorm, (petsclib, ksp, flg))) end @for_petsc function KSPLSQRSetExactMatNorm(petsclib::$UnionPetscLib, ksp::AbstractKSP, flg::PetscBool ) @@ -4841,7 +4841,7 @@ See also: `KSP`, `PetscViewerBinaryOpen()`, `KSPView()`, `MatLoad()`, `VecLoad() $(_doc_external("KSP/KSPLoad")) """ function KSPLoad(petsclib::PetscLibType, newdm::AbstractKSP, viewer::PetscViewer) - error("KSPLoad: no generated method for these argument types") + throw(MethodError(KSPLoad, (petsclib, newdm, viewer))) end @for_petsc function KSPLoad(petsclib::$UnionPetscLib, newdm::AbstractKSP, viewer::PetscViewer ) @@ -4877,7 +4877,7 @@ See also: `KSP`, `KSPMINRES`, `KSPMINRESSetUseQLP()` $(_doc_external("KSP/KSPMINRESGetUseQLP")) """ function KSPMINRESGetUseQLP(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPMINRESGetUseQLP: no generated method for these argument types") + throw(MethodError(KSPMINRESGetUseQLP, (petsclib, ksp))) end @for_petsc function KSPMINRESGetUseQLP(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -4916,7 +4916,7 @@ See also: `KSP`, `KSPMINRES`, `KSPMINRESSetUseQLP()` $(_doc_external("KSP/KSPMINRESSetRadius")) """ function KSPMINRESSetRadius(petsclib::PetscLibType, ksp::AbstractKSP, radius::Real) - error("KSPMINRESSetRadius: no generated method for these argument types") + throw(MethodError(KSPMINRESSetRadius, (petsclib, ksp, radius))) end @for_petsc function KSPMINRESSetRadius(petsclib::$UnionPetscLib, ksp::AbstractKSP, radius::$PetscReal ) @@ -4950,7 +4950,7 @@ See also: `KSP`, `KSPMINRES`, `KSPMINRESGetUseQLP()` $(_doc_external("KSP/KSPMINRESSetUseQLP")) """ function KSPMINRESSetUseQLP(petsclib::PetscLibType, ksp::AbstractKSP, qlp::PetscBool) - error("KSPMINRESSetUseQLP: no generated method for these argument types") + throw(MethodError(KSPMINRESSetUseQLP, (petsclib, ksp, qlp))) end @for_petsc function KSPMINRESSetUseQLP(petsclib::$UnionPetscLib, ksp::AbstractKSP, qlp::PetscBool ) @@ -4985,7 +4985,7 @@ See also: `KSPSolve()`, `MatMatSolve()`, `KSPMatSolveTranspose()`, `MATDENSE`, ` $(_doc_external("KSP/KSPMatSolve")) """ function KSPMatSolve(petsclib::PetscLibType, ksp::AbstractKSP, B::AbstractPetscMat, X::AbstractPetscMat) - error("KSPMatSolve: no generated method for these argument types") + throw(MethodError(KSPMatSolve, (petsclib, ksp, B, X))) end @for_petsc function KSPMatSolve(petsclib::$UnionPetscLib, ksp::AbstractKSP, B::AbstractPetscMat, X::AbstractPetscMat ) @@ -5020,7 +5020,7 @@ See also: `KSPSolveTranspose()`, `MatMatTransposeSolve()`, `KSPMatSolve()`, `MAT $(_doc_external("KSP/KSPMatSolveTranspose")) """ function KSPMatSolveTranspose(petsclib::PetscLibType, ksp::AbstractKSP, B::AbstractPetscMat, X::AbstractPetscMat) - error("KSPMatSolveTranspose: no generated method for these argument types") + throw(MethodError(KSPMatSolveTranspose, (petsclib, ksp, B, X))) end @for_petsc function KSPMatSolveTranspose(petsclib::$UnionPetscLib, ksp::AbstractKSP, B::AbstractPetscMat, X::AbstractPetscMat ) @@ -5055,7 +5055,7 @@ See also: `KSPMonitorSet()` $(_doc_external("KSP/KSPMonitor")) """ function KSPMonitor(petsclib::PetscLibType, ksp::AbstractKSP, it::Integer, rnorm::Real) - error("KSPMonitor: no generated method for these argument types") + throw(MethodError(KSPMonitor, (petsclib, ksp, it, rnorm))) end @for_petsc function KSPMonitor(petsclib::$UnionPetscLib, ksp::AbstractKSP, it::$PetscInt, rnorm::$PetscReal ) @@ -5091,7 +5091,7 @@ See also: `KSPMonitorResidual()`, `KSPMonitorSet()`, `KSP` $(_doc_external("KSP/KSPMonitorCancel")) """ function KSPMonitorCancel(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPMonitorCancel: no generated method for these argument types") + throw(MethodError(KSPMonitorCancel, (petsclib, ksp))) end @for_petsc function KSPMonitorCancel(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -5130,7 +5130,7 @@ See also: `KSP`, `KSPMonitorDynamicToleranceCreate()`, `KSPMonitorDynamicToleran $(_doc_external("KSP/KSPMonitorDynamicTolerance")) """ function KSPMonitorDynamicTolerance(petsclib::PetscLibType, ksp::AbstractKSP, its::Integer, fnorm::Real, ctx::Ptr{Cvoid}) - error("KSPMonitorDynamicTolerance: no generated method for these argument types") + throw(MethodError(KSPMonitorDynamicTolerance, (petsclib, ksp, its, fnorm, ctx))) end @for_petsc function KSPMonitorDynamicTolerance(petsclib::$UnionPetscLib, ksp::AbstractKSP, its::$PetscInt, fnorm::$PetscReal, ctx::Ptr{Cvoid} ) @@ -5166,7 +5166,7 @@ See also: `KSP`, `KSPMonitorDynamicTolerance()`, `KSPMonitorDynamicToleranceDest $(_doc_external("KSP/KSPMonitorDynamicToleranceCreate")) """ function KSPMonitorDynamicToleranceCreate(petsclib::PetscLibType) - error("KSPMonitorDynamicToleranceCreate: no generated method for these argument types") + throw(MethodError(KSPMonitorDynamicToleranceCreate, (petsclib, ))) end @for_petsc function KSPMonitorDynamicToleranceCreate(petsclib::$UnionPetscLib) @@ -5199,7 +5199,7 @@ See also: `KSP`, `KSPMonitorDynamicTolerance()`, `KSPMonitorSet()`, `KSPMonitorD $(_doc_external("KSP/KSPMonitorDynamicToleranceDestroy")) """ function KSPMonitorDynamicToleranceDestroy(petsclib::PetscLibType, ctx::Ptr{Cvoid}) - error("KSPMonitorDynamicToleranceDestroy: no generated method for these argument types") + throw(MethodError(KSPMonitorDynamicToleranceDestroy, (petsclib, ctx))) end @for_petsc function KSPMonitorDynamicToleranceDestroy(petsclib::$UnionPetscLib, ctx::Ptr{Cvoid} ) @@ -5236,7 +5236,7 @@ See also: `KSP`, `KSPMonitorDynamicTolerance()`, `KSPMonitorDynamicToleranceDest $(_doc_external("KSP/KSPMonitorDynamicToleranceSetCoefficient")) """ function KSPMonitorDynamicToleranceSetCoefficient(petsclib::PetscLibType, coeff::Real) - error("KSPMonitorDynamicToleranceSetCoefficient: no generated method for these argument types") + throw(MethodError(KSPMonitorDynamicToleranceSetCoefficient, (petsclib, coeff))) end @for_petsc function KSPMonitorDynamicToleranceSetCoefficient(petsclib::$UnionPetscLib, coeff::$PetscReal ) @@ -5277,7 +5277,7 @@ See also: `KSP`, `KSPMonitorSet()`, `KSPMonitorResidual()`, `KSPMonitorTrueResid $(_doc_external("KSP/KSPMonitorError")) """ function KSPMonitorError(petsclib::PetscLibType, ksp::AbstractKSP, n::Integer, rnorm::Real, vf::Vector{PetscViewerAndFormat}) - error("KSPMonitorError: no generated method for these argument types") + throw(MethodError(KSPMonitorError, (petsclib, ksp, n, rnorm, vf))) end @for_petsc function KSPMonitorError(petsclib::$UnionPetscLib, ksp::AbstractKSP, n::$PetscInt, rnorm::$PetscReal, vf::Vector{PetscViewerAndFormat} ) @@ -5316,7 +5316,7 @@ See also: `PETSCVIEWERDRAW`, `KSP`, `KSPMonitorSet()`, `KSPMonitorTrueResidual() $(_doc_external("KSP/KSPMonitorErrorDraw")) """ function KSPMonitorErrorDraw(petsclib::PetscLibType, ksp::AbstractKSP, n::Integer, rnorm::Real, vf::Vector{PetscViewerAndFormat}) - error("KSPMonitorErrorDraw: no generated method for these argument types") + throw(MethodError(KSPMonitorErrorDraw, (petsclib, ksp, n, rnorm, vf))) end @for_petsc function KSPMonitorErrorDraw(petsclib::$UnionPetscLib, ksp::AbstractKSP, n::$PetscInt, rnorm::$PetscReal, vf::Vector{PetscViewerAndFormat} ) @@ -5355,7 +5355,7 @@ See also: `PETSCVIEWERDRAW`, `KSP`, `KSPMonitorSet()`, `KSPMonitorTrueResidual() $(_doc_external("KSP/KSPMonitorErrorDrawLG")) """ function KSPMonitorErrorDrawLG(petsclib::PetscLibType, ksp::AbstractKSP, n::Integer, rnorm::Real, vf::Vector{PetscViewerAndFormat}) - error("KSPMonitorErrorDrawLG: no generated method for these argument types") + throw(MethodError(KSPMonitorErrorDrawLG, (petsclib, ksp, n, rnorm, vf))) end @for_petsc function KSPMonitorErrorDrawLG(petsclib::$UnionPetscLib, ksp::AbstractKSP, n::$PetscInt, rnorm::$PetscReal, vf::Vector{PetscViewerAndFormat} ) @@ -5393,7 +5393,7 @@ See also: `PETSCVIEWERDRAW`, `KSP`, `KSPMonitorSet()`, `KSPMonitorTrueResidual() $(_doc_external("KSP/KSPMonitorErrorDrawLGCreate")) """ function KSPMonitorErrorDrawLGCreate(petsclib::PetscLibType, viewer::PetscViewer, format::PetscViewerFormat, ctx::Ptr{Cvoid}) - error("KSPMonitorErrorDrawLGCreate: no generated method for these argument types") + throw(MethodError(KSPMonitorErrorDrawLGCreate, (petsclib, viewer, format, ctx))) end @for_petsc function KSPMonitorErrorDrawLGCreate(petsclib::$UnionPetscLib, viewer::PetscViewer, format::PetscViewerFormat, ctx::Ptr{Cvoid} ) @@ -5431,7 +5431,7 @@ See also: `KSP`, `KSPMonitorSet()`, `KSPMonitorResidual()`, `PETSCVIEWERDRAW`, ` $(_doc_external("KSP/KSPMonitorLGRange")) """ function KSPMonitorLGRange(petsclib::PetscLibType, ksp::AbstractKSP, n::Integer, rnorm::Real, monctx::Ptr{Cvoid}) - error("KSPMonitorLGRange: no generated method for these argument types") + throw(MethodError(KSPMonitorLGRange, (petsclib, ksp, n, rnorm, monctx))) end @for_petsc function KSPMonitorLGRange(petsclib::$UnionPetscLib, ksp::AbstractKSP, n::$PetscInt, rnorm::$PetscReal, monctx::Ptr{Cvoid} ) @@ -5469,7 +5469,7 @@ See also: `KSP`, `KSPMonitorSet()`, `KSPMonitorRegisterAll()`, `KSPMonitorSetFro $(_doc_external("KSP/KSPMonitorRegister")) """ function KSPMonitorRegister(petsclib::PetscLibType, name::String, vtype::String, format::PetscViewerFormat, monitor::Ptr{Cvoid}, create::Ptr{Cvoid}, destroy::Ptr{Cvoid}) - error("KSPMonitorRegister: no generated method for these argument types") + throw(MethodError(KSPMonitorRegister, (petsclib, name, vtype, format, monitor, create, destroy))) end @for_petsc function KSPMonitorRegister(petsclib::$UnionPetscLib, name::String, vtype::String, format::PetscViewerFormat, monitor::Ptr{Cvoid}, create::Ptr{Cvoid}, destroy::Ptr{Cvoid} ) @@ -5511,7 +5511,7 @@ See also: `KSP`, `KSPMonitorSet()`, `KSPMonitorTrueResidual()`, `KSPMonitorResid $(_doc_external("KSP/KSPMonitorResidual")) """ function KSPMonitorResidual(petsclib::PetscLibType, ksp::AbstractKSP, n::Integer, rnorm::Real, vf::Vector{PetscViewerAndFormat}) - error("KSPMonitorResidual: no generated method for these argument types") + throw(MethodError(KSPMonitorResidual, (petsclib, ksp, n, rnorm, vf))) end @for_petsc function KSPMonitorResidual(petsclib::$UnionPetscLib, ksp::AbstractKSP, n::$PetscInt, rnorm::$PetscReal, vf::Vector{PetscViewerAndFormat} ) @@ -5550,7 +5550,7 @@ See also: `KSP`, `PETSCVIEWERDRAW`, `KSPMonitorSet()`, `KSPMonitorTrueResidual() $(_doc_external("KSP/KSPMonitorResidualDrawLG")) """ function KSPMonitorResidualDrawLG(petsclib::PetscLibType, ksp::AbstractKSP, n::Integer, rnorm::Real, vf::Vector{PetscViewerAndFormat}) - error("KSPMonitorResidualDrawLG: no generated method for these argument types") + throw(MethodError(KSPMonitorResidualDrawLG, (petsclib, ksp, n, rnorm, vf))) end @for_petsc function KSPMonitorResidualDrawLG(petsclib::$UnionPetscLib, ksp::AbstractKSP, n::$PetscInt, rnorm::$PetscReal, vf::Vector{PetscViewerAndFormat} ) @@ -5589,7 +5589,7 @@ See also: `KSP`, `PETSCVIEWERDRAW`, `KSPMonitorSet()`, `KSPMonitorTrueResidual() $(_doc_external("KSP/KSPMonitorResidualDrawLGCreate")) """ function KSPMonitorResidualDrawLGCreate(petsclib::PetscLibType, viewer::PetscViewer, format::PetscViewerFormat, ctx::Ptr{Cvoid}) - error("KSPMonitorResidualDrawLGCreate: no generated method for these argument types") + throw(MethodError(KSPMonitorResidualDrawLGCreate, (petsclib, viewer, format, ctx))) end @for_petsc function KSPMonitorResidualDrawLGCreate(petsclib::$UnionPetscLib, viewer::PetscViewer, format::PetscViewerFormat, ctx::Ptr{Cvoid} ) @@ -5630,7 +5630,7 @@ See also: `KSP`, `KSPMonitorSet()`, `KSPMonitorResidual()` $(_doc_external("KSP/KSPMonitorResidualRange")) """ function KSPMonitorResidualRange(petsclib::PetscLibType, ksp::AbstractKSP, it::Integer, rnorm::Real, vf::Vector{PetscViewerAndFormat}) - error("KSPMonitorResidualRange: no generated method for these argument types") + throw(MethodError(KSPMonitorResidualRange, (petsclib, ksp, it, rnorm, vf))) end @for_petsc function KSPMonitorResidualRange(petsclib::$UnionPetscLib, ksp::AbstractKSP, it::$PetscInt, rnorm::$PetscReal, vf::Vector{PetscViewerAndFormat} ) @@ -5653,7 +5653,7 @@ end $(_doc_external("KSP/KSPMonitorResidualShort")) """ function KSPMonitorResidualShort(petsclib::PetscLibType, ksp::AbstractKSP, its::Integer, fnorm::Real, vf::Vector{PetscViewerAndFormat}) - error("KSPMonitorResidualShort: no generated method for these argument types") + throw(MethodError(KSPMonitorResidualShort, (petsclib, ksp, its, fnorm, vf))) end @for_petsc function KSPMonitorResidualShort(petsclib::$UnionPetscLib, ksp::AbstractKSP, its::$PetscInt, fnorm::$PetscReal, vf::Vector{PetscViewerAndFormat} ) @@ -5692,7 +5692,7 @@ See also: `KSP`, `KSPMonitorSet()`, `KSPMonitorTrueResidual()`, `KSPMonitorResid $(_doc_external("KSP/KSPMonitorResidualView")) """ function KSPMonitorResidualView(petsclib::PetscLibType, ksp::AbstractKSP, n::Integer, rnorm::Real, vf::Vector{PetscViewerAndFormat}) - error("KSPMonitorResidualView: no generated method for these argument types") + throw(MethodError(KSPMonitorResidualView, (petsclib, ksp, n, rnorm, vf))) end @for_petsc function KSPMonitorResidualView(petsclib::$UnionPetscLib, ksp::AbstractKSP, n::$PetscInt, rnorm::$PetscReal, vf::Vector{PetscViewerAndFormat} ) @@ -5728,7 +5728,7 @@ See also: `KSP`, `KSPMonitorSet()`, `KSPMonitorSAWsCreate()`, `KSPMonitorSAWsDes $(_doc_external("KSP/KSPMonitorSAWs")) """ function KSPMonitorSAWs(petsclib::PetscLibType, ksp::AbstractKSP, n::Integer, rnorm::Real, ctx::Ptr{Cvoid}) - error("KSPMonitorSAWs: no generated method for these argument types") + throw(MethodError(KSPMonitorSAWs, (petsclib, ksp, n, rnorm, ctx))) end @for_petsc function KSPMonitorSAWs(petsclib::$UnionPetscLib, ksp::AbstractKSP, n::$PetscInt, rnorm::$PetscReal, ctx::Ptr{Cvoid} ) @@ -5764,7 +5764,7 @@ See also: `KSP`, `KSPMonitorSet()`, `KSPMonitorSAWs()`, `KSPMonitorSAWsDestroy() $(_doc_external("KSP/KSPMonitorSAWsCreate")) """ function KSPMonitorSAWsCreate(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPMonitorSAWsCreate: no generated method for these argument types") + throw(MethodError(KSPMonitorSAWsCreate, (petsclib, ksp))) end @for_petsc function KSPMonitorSAWsCreate(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -5799,7 +5799,7 @@ See also: `KSP`, `KSPMonitorSet()`, `KSPMonitorSAWsCreate()` $(_doc_external("KSP/KSPMonitorSAWsDestroy")) """ function KSPMonitorSAWsDestroy(petsclib::PetscLibType, ctx::Ptr{Cvoid}) - error("KSPMonitorSAWsDestroy: no generated method for these argument types") + throw(MethodError(KSPMonitorSAWsDestroy, (petsclib, ctx))) end @for_petsc function KSPMonitorSAWsDestroy(petsclib::$UnionPetscLib, ctx::Ptr{Cvoid} ) @@ -5838,7 +5838,7 @@ See also: `SNES`, `KSPMonitorSet()`, `KSPMonitorResidual()`, `KSPMonitorTrueResi $(_doc_external("SNES/KSPMonitorSNESResidual")) """ function KSPMonitorSNESResidual(petsclib::PetscLibType, ksp::AbstractKSP, n::Integer, rnorm::Real, vf::Vector{PetscViewerAndFormat}) - error("KSPMonitorSNESResidual: no generated method for these argument types") + throw(MethodError(KSPMonitorSNESResidual, (petsclib, ksp, n, rnorm, vf))) end @for_petsc function KSPMonitorSNESResidual(petsclib::$UnionPetscLib, ksp::AbstractKSP, n::$PetscInt, rnorm::$PetscReal, vf::Vector{PetscViewerAndFormat} ) @@ -5877,7 +5877,7 @@ See also: `KSPMonitorSet()`, `KSPMonitorTrueResidual()`, `SNESMonitor()`, `KSPMo $(_doc_external("SNES/KSPMonitorSNESResidualDrawLG")) """ function KSPMonitorSNESResidualDrawLG(petsclib::PetscLibType, ksp::AbstractKSP, n::Integer, rnorm::Real, vf::Vector{PetscViewerAndFormat}) - error("KSPMonitorSNESResidualDrawLG: no generated method for these argument types") + throw(MethodError(KSPMonitorSNESResidualDrawLG, (petsclib, ksp, n, rnorm, vf))) end @for_petsc function KSPMonitorSNESResidualDrawLG(petsclib::$UnionPetscLib, ksp::AbstractKSP, n::$PetscInt, rnorm::$PetscReal, vf::Vector{PetscViewerAndFormat} ) @@ -5915,7 +5915,7 @@ See also: `KSP`, `SNES`, `PetscViewerFormat`, `PetscViewerAndFormat`, `KSPMonito $(_doc_external("SNES/KSPMonitorSNESResidualDrawLGCreate")) """ function KSPMonitorSNESResidualDrawLGCreate(petsclib::PetscLibType, viewer::PetscViewer, format::PetscViewerFormat, ctx::Ptr{Cvoid}) - error("KSPMonitorSNESResidualDrawLGCreate: no generated method for these argument types") + throw(MethodError(KSPMonitorSNESResidualDrawLGCreate, (petsclib, viewer, format, ctx))) end @for_petsc function KSPMonitorSNESResidualDrawLGCreate(petsclib::$UnionPetscLib, viewer::PetscViewer, format::PetscViewerFormat, ctx::Ptr{Cvoid} ) @@ -5967,7 +5967,7 @@ See also: `KSPMonitorResidual()`, `KSPMonitorRegister()`, `KSPMonitorCancel()`, $(_doc_external("KSP/KSPMonitorSet")) """ function KSPMonitorSet(petsclib::PetscLibType, ksp::AbstractKSP, monitor::Ptr{Cvoid}, ctx::Ptr{Cvoid}, monitordestroy::Ptr{Cvoid}) - error("KSPMonitorSet: no generated method for these argument types") + throw(MethodError(KSPMonitorSet, (petsclib, ksp, monitor, ctx, monitordestroy))) end @for_petsc function KSPMonitorSet(petsclib::$UnionPetscLib, ksp::AbstractKSP, monitor::Ptr{Cvoid}, ctx::Ptr{Cvoid}, monitordestroy::Ptr{Cvoid} ) @@ -6009,7 +6009,7 @@ See also: `KSPMonitorRegister()`, `KSPMonitorSet()`, `PetscOptionsCreateViewer() $(_doc_external("KSP/KSPMonitorSetFromOptions")) """ function KSPMonitorSetFromOptions(petsclib::PetscLibType, ksp::AbstractKSP, opt::String, name::String, ctx::Ptr{Cvoid}) - error("KSPMonitorSetFromOptions: no generated method for these argument types") + throw(MethodError(KSPMonitorSetFromOptions, (petsclib, ksp, opt, name, ctx))) end @for_petsc function KSPMonitorSetFromOptions(petsclib::$UnionPetscLib, ksp::AbstractKSP, opt::String, name::String, ctx::Ptr{Cvoid} ) @@ -6048,7 +6048,7 @@ See also: `KSP`, `KSPMonitorSet()`, `KSPComputeExtremeSingularValues()`, `KSPMon $(_doc_external("KSP/KSPMonitorSingularValue")) """ function KSPMonitorSingularValue(petsclib::PetscLibType, ksp::AbstractKSP, n::Integer, rnorm::Real, vf::Vector{PetscViewerAndFormat}) - error("KSPMonitorSingularValue: no generated method for these argument types") + throw(MethodError(KSPMonitorSingularValue, (petsclib, ksp, n, rnorm, vf))) end @for_petsc function KSPMonitorSingularValue(petsclib::$UnionPetscLib, ksp::AbstractKSP, n::$PetscInt, rnorm::$PetscReal, vf::Vector{PetscViewerAndFormat} ) @@ -6086,7 +6086,7 @@ See also: `KSP`, `KSPMonitorSet()`, `KSPMonitorSingularValue()`, `PetscViewer` $(_doc_external("KSP/KSPMonitorSingularValueCreate")) """ function KSPMonitorSingularValueCreate(petsclib::PetscLibType, viewer::PetscViewer, format::PetscViewerFormat, ctx::Ptr{Cvoid}) - error("KSPMonitorSingularValueCreate: no generated method for these argument types") + throw(MethodError(KSPMonitorSingularValueCreate, (petsclib, viewer, format, ctx))) end @for_petsc function KSPMonitorSingularValueCreate(petsclib::$UnionPetscLib, viewer::PetscViewer, format::PetscViewerFormat, ctx::Ptr{Cvoid} ) @@ -6127,7 +6127,7 @@ See also: `KSPMonitorSet()`, `KSPMonitorTrueResidual()` $(_doc_external("KSP/KSPMonitorSolution")) """ function KSPMonitorSolution(petsclib::PetscLibType, ksp::AbstractKSP, n::Integer, rnorm::Real, vf::Vector{PetscViewerAndFormat}) - error("KSPMonitorSolution: no generated method for these argument types") + throw(MethodError(KSPMonitorSolution, (petsclib, ksp, n, rnorm, vf))) end @for_petsc function KSPMonitorSolution(petsclib::$UnionPetscLib, ksp::AbstractKSP, n::$PetscInt, rnorm::$PetscReal, vf::Vector{PetscViewerAndFormat} ) @@ -6166,7 +6166,7 @@ See also: `KSPMonitorSet()`, `KSPMonitorTrueResidual()` $(_doc_external("KSP/KSPMonitorSolutionDraw")) """ function KSPMonitorSolutionDraw(petsclib::PetscLibType, ksp::AbstractKSP, n::Integer, rnorm::Real, vf::Vector{PetscViewerAndFormat}) - error("KSPMonitorSolutionDraw: no generated method for these argument types") + throw(MethodError(KSPMonitorSolutionDraw, (petsclib, ksp, n, rnorm, vf))) end @for_petsc function KSPMonitorSolutionDraw(petsclib::$UnionPetscLib, ksp::AbstractKSP, n::$PetscInt, rnorm::$PetscReal, vf::Vector{PetscViewerAndFormat} ) @@ -6205,7 +6205,7 @@ See also: `KSP`, `KSPMonitorSet()`, `KSPMonitorTrueResidual()`, `KSPMonitorSolut $(_doc_external("KSP/KSPMonitorSolutionDrawLG")) """ function KSPMonitorSolutionDrawLG(petsclib::PetscLibType, ksp::AbstractKSP, n::Integer, rnorm::Real, vf::Vector{PetscViewerAndFormat}) - error("KSPMonitorSolutionDrawLG: no generated method for these argument types") + throw(MethodError(KSPMonitorSolutionDrawLG, (petsclib, ksp, n, rnorm, vf))) end @for_petsc function KSPMonitorSolutionDrawLG(petsclib::$UnionPetscLib, ksp::AbstractKSP, n::$PetscInt, rnorm::$PetscReal, vf::Vector{PetscViewerAndFormat} ) @@ -6243,7 +6243,7 @@ See also: `KSPMonitorSet()`, `KSPMonitorTrueResidual()` $(_doc_external("KSP/KSPMonitorSolutionDrawLGCreate")) """ function KSPMonitorSolutionDrawLGCreate(petsclib::PetscLibType, viewer::PetscViewer, format::PetscViewerFormat, ctx::Ptr{Cvoid}) - error("KSPMonitorSolutionDrawLGCreate: no generated method for these argument types") + throw(MethodError(KSPMonitorSolutionDrawLGCreate, (petsclib, viewer, format, ctx))) end @for_petsc function KSPMonitorSolutionDrawLGCreate(petsclib::$UnionPetscLib, viewer::PetscViewer, format::PetscViewerFormat, ctx::Ptr{Cvoid} ) @@ -6285,7 +6285,7 @@ See also: `KSP`, `KSPMonitorSet()`, `KSPMonitorResidual()`, `KSPMonitorTrueResid $(_doc_external("KSP/KSPMonitorTrueResidual")) """ function KSPMonitorTrueResidual(petsclib::PetscLibType, ksp::AbstractKSP, n::Integer, rnorm::Real, vf::Vector{PetscViewerAndFormat}) - error("KSPMonitorTrueResidual: no generated method for these argument types") + throw(MethodError(KSPMonitorTrueResidual, (petsclib, ksp, n, rnorm, vf))) end @for_petsc function KSPMonitorTrueResidual(petsclib::$UnionPetscLib, ksp::AbstractKSP, n::$PetscInt, rnorm::$PetscReal, vf::Vector{PetscViewerAndFormat} ) @@ -6325,7 +6325,7 @@ See also: `PETSCVIEWERDRAW`, `KSP`, `KSPMonitorSet()`, `KSPMonitorTrueResidual() $(_doc_external("KSP/KSPMonitorTrueResidualDrawLG")) """ function KSPMonitorTrueResidualDrawLG(petsclib::PetscLibType, ksp::AbstractKSP, n::Integer, rnorm::Real, vf::Vector{PetscViewerAndFormat}) - error("KSPMonitorTrueResidualDrawLG: no generated method for these argument types") + throw(MethodError(KSPMonitorTrueResidualDrawLG, (petsclib, ksp, n, rnorm, vf))) end @for_petsc function KSPMonitorTrueResidualDrawLG(petsclib::$UnionPetscLib, ksp::AbstractKSP, n::$PetscInt, rnorm::$PetscReal, vf::Vector{PetscViewerAndFormat} ) @@ -6363,7 +6363,7 @@ See also: `PETSCVIEWERDRAW`, `KSP`, `KSPMonitorSet()`, `KSPMonitorTrueResidual() $(_doc_external("KSP/KSPMonitorTrueResidualDrawLGCreate")) """ function KSPMonitorTrueResidualDrawLGCreate(petsclib::PetscLibType, viewer::PetscViewer, format::PetscViewerFormat, ctx::Ptr{Cvoid}) - error("KSPMonitorTrueResidualDrawLGCreate: no generated method for these argument types") + throw(MethodError(KSPMonitorTrueResidualDrawLGCreate, (petsclib, viewer, format, ctx))) end @for_petsc function KSPMonitorTrueResidualDrawLGCreate(petsclib::$UnionPetscLib, viewer::PetscViewer, format::PetscViewerFormat, ctx::Ptr{Cvoid} ) @@ -6404,7 +6404,7 @@ See also: `KSP`, `KSPMonitorSet()`, `KSPMonitorResidual()`, `KSPMonitorTrueResid $(_doc_external("KSP/KSPMonitorTrueResidualMax")) """ function KSPMonitorTrueResidualMax(petsclib::PetscLibType, ksp::AbstractKSP, n::Integer, rnorm::Real, vf::Vector{PetscViewerAndFormat}) - error("KSPMonitorTrueResidualMax: no generated method for these argument types") + throw(MethodError(KSPMonitorTrueResidualMax, (petsclib, ksp, n, rnorm, vf))) end @for_petsc function KSPMonitorTrueResidualMax(petsclib::$UnionPetscLib, ksp::AbstractKSP, n::$PetscInt, rnorm::$PetscReal, vf::Vector{PetscViewerAndFormat} ) @@ -6444,7 +6444,7 @@ See also: `PETSCVIEWERDRAW`, `KSP`, `KSPMonitorSet()`, `KSPMonitorTrueResidual() $(_doc_external("KSP/KSPMonitorTrueResidualView")) """ function KSPMonitorTrueResidualView(petsclib::PetscLibType, ksp::AbstractKSP, n::Integer, rnorm::Real, vf::Vector{PetscViewerAndFormat}) - error("KSPMonitorTrueResidualView: no generated method for these argument types") + throw(MethodError(KSPMonitorTrueResidualView, (petsclib, ksp, n, rnorm, vf))) end @for_petsc function KSPMonitorTrueResidualView(petsclib::$UnionPetscLib, ksp::AbstractKSP, n::$PetscInt, rnorm::$PetscReal, vf::Vector{PetscViewerAndFormat} ) @@ -6480,7 +6480,7 @@ See also: `KSPPIPEFCG`, `KSPPIPEFCGGetTruncationType()`, `KSPPIPEFCGGetNprealloc $(_doc_external("KSP/KSPPIPEFCGGetMmax")) """ function KSPPIPEFCGGetMmax(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPPIPEFCGGetMmax: no generated method for these argument types") + throw(MethodError(KSPPIPEFCGGetMmax, (petsclib, ksp))) end @for_petsc function KSPPIPEFCGGetMmax(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -6518,7 +6518,7 @@ See also: `KSPPIPEFCG`, `KSPPIPEFCGGetTruncationType()`, `KSPPIPEFCGSetNprealloc $(_doc_external("KSP/KSPPIPEFCGGetNprealloc")) """ function KSPPIPEFCGGetNprealloc(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPPIPEFCGGetNprealloc: no generated method for these argument types") + throw(MethodError(KSPPIPEFCGGetNprealloc, (petsclib, ksp))) end @for_petsc function KSPPIPEFCGGetNprealloc(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -6556,7 +6556,7 @@ See also: `KSPPIPEFCG`, `KSPPIPEFCGSetTruncationType()`, `KSPFCDTruncationType`, $(_doc_external("KSP/KSPPIPEFCGGetTruncationType")) """ function KSPPIPEFCGGetTruncationType(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPPIPEFCGGetTruncationType: no generated method for these argument types") + throw(MethodError(KSPPIPEFCGGetTruncationType, (petsclib, ksp))) end @for_petsc function KSPPIPEFCGGetTruncationType(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -6595,7 +6595,7 @@ See also: `KSPPIPEFCG`, `KSPPIPEFCGSetTruncationType()`, `KSPPIPEFCGSetNprealloc $(_doc_external("KSP/KSPPIPEFCGSetMmax")) """ function KSPPIPEFCGSetMmax(petsclib::PetscLibType, ksp::AbstractKSP, mmax::Integer) - error("KSPPIPEFCGSetMmax: no generated method for these argument types") + throw(MethodError(KSPPIPEFCGSetMmax, (petsclib, ksp, mmax))) end @for_petsc function KSPPIPEFCGSetMmax(petsclib::$UnionPetscLib, ksp::AbstractKSP, mmax::$PetscInt ) @@ -6632,7 +6632,7 @@ See also: `KSPPIPEFCG`, `KSPPIPEFCGSetTruncationType()`, `KSPPIPEFCGGetNprealloc $(_doc_external("KSP/KSPPIPEFCGSetNprealloc")) """ function KSPPIPEFCGSetNprealloc(petsclib::PetscLibType, ksp::AbstractKSP, nprealloc::Integer) - error("KSPPIPEFCGSetNprealloc: no generated method for these argument types") + throw(MethodError(KSPPIPEFCGSetNprealloc, (petsclib, ksp, nprealloc))) end @for_petsc function KSPPIPEFCGSetNprealloc(petsclib::$UnionPetscLib, ksp::AbstractKSP, nprealloc::$PetscInt ) @@ -6673,7 +6673,7 @@ See also: `KSPPIPEFCG`, `KSPPIPEFCGGetTruncationType`, `KSPFCDTruncationType`, ` $(_doc_external("KSP/KSPPIPEFCGSetTruncationType")) """ function KSPPIPEFCGSetTruncationType(petsclib::PetscLibType, ksp::AbstractKSP, truncstrat::KSPFCDTruncationType) - error("KSPPIPEFCGSetTruncationType: no generated method for these argument types") + throw(MethodError(KSPPIPEFCGSetTruncationType, (petsclib, ksp, truncstrat))) end @for_petsc function KSPPIPEFCGSetTruncationType(petsclib::$UnionPetscLib, ksp::AbstractKSP, truncstrat::KSPFCDTruncationType ) @@ -6710,7 +6710,7 @@ See also: `KSPPIPEFGMRES`, `KSPComputeEigenvalues()` $(_doc_external("KSP/KSPPIPEFGMRESSetShift")) """ function KSPPIPEFGMRESSetShift(petsclib::PetscLibType, ksp::AbstractKSP, shift::Number) - error("KSPPIPEFGMRESSetShift: no generated method for these argument types") + throw(MethodError(KSPPIPEFGMRESSetShift, (petsclib, ksp, shift))) end @for_petsc function KSPPIPEFGMRESSetShift(petsclib::$UnionPetscLib, ksp::AbstractKSP, shift::$PetscScalar ) @@ -6746,7 +6746,7 @@ See also: `KSPPIPEGCR`, `KSPPIPEGCRGetTruncationType()`, `KSPPIPEGCRGetNprealloc $(_doc_external("KSP/KSPPIPEGCRGetMmax")) """ function KSPPIPEGCRGetMmax(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPPIPEGCRGetMmax: no generated method for these argument types") + throw(MethodError(KSPPIPEGCRGetMmax, (petsclib, ksp))) end @for_petsc function KSPPIPEGCRGetMmax(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -6784,7 +6784,7 @@ See also: `KSPPIPEGCR`, `KSPPIPEGCRGetTruncationType()`, `KSPPIPEGCRSetNprealloc $(_doc_external("KSP/KSPPIPEGCRGetNprealloc")) """ function KSPPIPEGCRGetNprealloc(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPPIPEGCRGetNprealloc: no generated method for these argument types") + throw(MethodError(KSPPIPEGCRGetNprealloc, (petsclib, ksp))) end @for_petsc function KSPPIPEGCRGetNprealloc(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -6826,7 +6826,7 @@ See also: `KSPPIPEGCR`, `KSPPIPEGCRSetTruncationType()`, `KSPFCDTruncationType`, $(_doc_external("KSP/KSPPIPEGCRGetTruncationType")) """ function KSPPIPEGCRGetTruncationType(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPPIPEGCRGetTruncationType: no generated method for these argument types") + throw(MethodError(KSPPIPEGCRGetTruncationType, (petsclib, ksp))) end @for_petsc function KSPPIPEGCRGetTruncationType(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -6864,7 +6864,7 @@ See also: `KSPPIPEGCR`, `KSPPIPEGCRGetTruncationType()`, `KSPPIPEGCRGetNprealloc $(_doc_external("KSP/KSPPIPEGCRGetUnrollW")) """ function KSPPIPEGCRGetUnrollW(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPPIPEGCRGetUnrollW: no generated method for these argument types") + throw(MethodError(KSPPIPEGCRGetUnrollW, (petsclib, ksp))) end @for_petsc function KSPPIPEGCRGetUnrollW(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -6903,7 +6903,7 @@ See also: `KSPPIPEGCR`, `KSPPIPEGCRSetTruncationType()`, `KSPPIPEGCRSetNprealloc $(_doc_external("KSP/KSPPIPEGCRSetMmax")) """ function KSPPIPEGCRSetMmax(petsclib::PetscLibType, ksp::AbstractKSP, mmax::Integer) - error("KSPPIPEGCRSetMmax: no generated method for these argument types") + throw(MethodError(KSPPIPEGCRSetMmax, (petsclib, ksp, mmax))) end @for_petsc function KSPPIPEGCRSetMmax(petsclib::$UnionPetscLib, ksp::AbstractKSP, mmax::$PetscInt ) @@ -6940,7 +6940,7 @@ See also: `KSPPIPEGCR`, `KSPPIPEGCRGetTruncationType()`, `KSPPIPEGCRGetNprealloc $(_doc_external("KSP/KSPPIPEGCRSetNprealloc")) """ function KSPPIPEGCRSetNprealloc(petsclib::PetscLibType, ksp::AbstractKSP, nprealloc::Integer) - error("KSPPIPEGCRSetNprealloc: no generated method for these argument types") + throw(MethodError(KSPPIPEGCRSetNprealloc, (petsclib, ksp, nprealloc))) end @for_petsc function KSPPIPEGCRSetNprealloc(petsclib::$UnionPetscLib, ksp::AbstractKSP, nprealloc::$PetscInt ) @@ -6981,7 +6981,7 @@ See also: `KSPPIPEGCR`, `KSPFCDTruncationType`, `KSPPIPEGCRGetTruncationType()`, $(_doc_external("KSP/KSPPIPEGCRSetTruncationType")) """ function KSPPIPEGCRSetTruncationType(petsclib::PetscLibType, ksp::AbstractKSP, truncstrat::KSPFCDTruncationType) - error("KSPPIPEGCRSetTruncationType: no generated method for these argument types") + throw(MethodError(KSPPIPEGCRSetTruncationType, (petsclib, ksp, truncstrat))) end @for_petsc function KSPPIPEGCRSetTruncationType(petsclib::$UnionPetscLib, ksp::AbstractKSP, truncstrat::KSPFCDTruncationType ) @@ -7018,7 +7018,7 @@ See also: `KSPPIPEGCR`, `KSPPIPEGCRSetTruncationType()`, `KSPPIPEGCRSetNprealloc $(_doc_external("KSP/KSPPIPEGCRSetUnrollW")) """ function KSPPIPEGCRSetUnrollW(petsclib::PetscLibType, ksp::AbstractKSP, unroll_w::PetscBool) - error("KSPPIPEGCRSetUnrollW: no generated method for these argument types") + throw(MethodError(KSPPIPEGCRSetUnrollW, (petsclib, ksp, unroll_w))) end @for_petsc function KSPPIPEGCRSetUnrollW(petsclib::$UnionPetscLib, ksp::AbstractKSP, unroll_w::PetscBool ) @@ -7054,7 +7054,7 @@ See also: `KSPCreate()`, `KSPSetType()`, `KSPPYTHON`, `PetscPythonInitialize()`, $(_doc_external("KSP/KSPPythonGetType")) """ function KSPPythonGetType(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPPythonGetType: no generated method for these argument types") + throw(MethodError(KSPPythonGetType, (petsclib, ksp))) end @for_petsc function KSPPythonGetType(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -7093,7 +7093,7 @@ See also: `KSPCreate()`, `KSPSetType()`, `KSPPYTHON`, `PetscPythonInitialize()` $(_doc_external("KSP/KSPPythonSetType")) """ function KSPPythonSetType(petsclib::PetscLibType, ksp::AbstractKSP, pyname::String) - error("KSPPythonSetType: no generated method for these argument types") + throw(MethodError(KSPPythonSetType, (petsclib, ksp, pyname))) end @for_petsc function KSPPythonSetType(petsclib::$UnionPetscLib, ksp::AbstractKSP, pyname::String ) @@ -7129,7 +7129,7 @@ See also: `KSPQCG` $(_doc_external("KSP/KSPQCGGetQuadratic")) """ function KSPQCGGetQuadratic(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPQCGGetQuadratic: no generated method for these argument types") + throw(MethodError(KSPQCGGetQuadratic, (petsclib, ksp))) end @for_petsc function KSPQCGGetQuadratic(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -7168,7 +7168,7 @@ See also: `KSPQCG`, `KSPQCGSetTrustRegionRadius()` $(_doc_external("KSP/KSPQCGGetTrialStepNorm")) """ function KSPQCGGetTrialStepNorm(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPQCGGetTrialStepNorm: no generated method for these argument types") + throw(MethodError(KSPQCGGetTrialStepNorm, (petsclib, ksp))) end @for_petsc function KSPQCGGetTrialStepNorm(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -7207,7 +7207,7 @@ See also: `KSPQCG`, `KSPQCGGetTrialStepNorm()` $(_doc_external("KSP/KSPQCGSetTrustRegionRadius")) """ function KSPQCGSetTrustRegionRadius(petsclib::PetscLibType, ksp::AbstractKSP, delta::Real) - error("KSPQCGSetTrustRegionRadius: no generated method for these argument types") + throw(MethodError(KSPQCGSetTrustRegionRadius, (petsclib, ksp, delta))) end @for_petsc function KSPQCGSetTrustRegionRadius(petsclib::$UnionPetscLib, ksp::AbstractKSP, delta::$PetscReal ) @@ -7241,7 +7241,7 @@ See also: `KSP`, `KSPType`, `KSPSetType`, `KSPRegisterAll()` $(_doc_external("KSP/KSPRegister")) """ function KSPRegister(petsclib::PetscLibType, sname::String, fnc::external) - error("KSPRegister: no generated method for these argument types") + throw(MethodError(KSPRegister, (petsclib, sname, fnc))) end @for_petsc function KSPRegister(petsclib::$UnionPetscLib, sname::String, fnc::external ) @@ -7274,7 +7274,7 @@ See also: `KSPCreate()`, `KSPSetUp()`, `KSPSolve()`, `KSP` $(_doc_external("KSP/KSPReset")) """ function KSPReset(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPReset: no generated method for these argument types") + throw(MethodError(KSPReset, (petsclib, ksp))) end @for_petsc function KSPReset(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -7307,7 +7307,7 @@ See also: `KSPSetFromOptions()`, `KSPSetOptionsPrefix()` $(_doc_external("KSP/KSPResetFromOptions")) """ function KSPResetFromOptions(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPResetFromOptions: no generated method for these argument types") + throw(MethodError(KSPResetFromOptions, (petsclib, ksp))) end @for_petsc function KSPResetFromOptions(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -7340,7 +7340,7 @@ See also: `KSPCreate()`, `KSPSetUp()`, `KSPSolve()`, `KSPSetFromOptions()`, `KSP $(_doc_external("KSP/KSPResetViewers")) """ function KSPResetViewers(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPResetViewers: no generated method for these argument types") + throw(MethodError(KSPResetViewers, (petsclib, ksp))) end @for_petsc function KSPResetViewers(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -7377,7 +7377,7 @@ See also: `KSPRICHARDSON`, `KSPRichardsonSetSelfScale()` $(_doc_external("KSP/KSPRichardsonSetScale")) """ function KSPRichardsonSetScale(petsclib::PetscLibType, ksp::AbstractKSP, scale::Real) - error("KSPRichardsonSetScale: no generated method for these argument types") + throw(MethodError(KSPRichardsonSetScale, (petsclib, ksp, scale))) end @for_petsc function KSPRichardsonSetScale(petsclib::$UnionPetscLib, ksp::AbstractKSP, scale::$PetscReal ) @@ -7415,7 +7415,7 @@ See also: `KSPRICHARDSON`, `KSPRichardsonSetScale()` $(_doc_external("KSP/KSPRichardsonSetSelfScale")) """ function KSPRichardsonSetSelfScale(petsclib::PetscLibType, ksp::AbstractKSP, scale::PetscBool) - error("KSPRichardsonSetSelfScale: no generated method for these argument types") + throw(MethodError(KSPRichardsonSetSelfScale, (petsclib, ksp, scale))) end @for_petsc function KSPRichardsonSetSelfScale(petsclib::$UnionPetscLib, ksp::AbstractKSP, scale::PetscBool ) @@ -7449,7 +7449,7 @@ See also: `KSP`, `KSPGetApplicationContext()` $(_doc_external("KSP/KSPSetApplicationContext")) """ function KSPSetApplicationContext(petsclib::PetscLibType, ksp::AbstractKSP, ctx::Ptr{Cvoid}) - error("KSPSetApplicationContext: no generated method for these argument types") + throw(MethodError(KSPSetApplicationContext, (petsclib, ksp, ctx))) end @for_petsc function KSPSetApplicationContext(petsclib::$UnionPetscLib, ksp::AbstractKSP, ctx::Ptr{Cvoid} ) @@ -7484,7 +7484,7 @@ See also: `KSP`, `KSPSetUp()`, `KSPSolve()`, `KSPDestroy()`, `KSPConvergedSkip() $(_doc_external("KSP/KSPSetCheckNormIteration")) """ function KSPSetCheckNormIteration(petsclib::PetscLibType, ksp::AbstractKSP, it::Integer) - error("KSPSetCheckNormIteration: no generated method for these argument types") + throw(MethodError(KSPSetCheckNormIteration, (petsclib, ksp, it))) end @for_petsc function KSPSetCheckNormIteration(petsclib::$UnionPetscLib, ksp::AbstractKSP, it::$PetscInt ) @@ -7520,7 +7520,7 @@ See also: `KSPComputeEigenvalues()`, `KSPComputeEigenvaluesExplicitly()`, `KSP`, $(_doc_external("KSP/KSPSetComputeEigenvalues")) """ function KSPSetComputeEigenvalues(petsclib::PetscLibType, ksp::AbstractKSP, flg::PetscBool) - error("KSPSetComputeEigenvalues: no generated method for these argument types") + throw(MethodError(KSPSetComputeEigenvalues, (petsclib, ksp, flg))) end @for_petsc function KSPSetComputeEigenvalues(petsclib::$UnionPetscLib, ksp::AbstractKSP, flg::PetscBool ) @@ -7556,7 +7556,7 @@ See also: `KSP`, `KSPSolve()`, `KSPSetComputeRHS()`, `KSPSetComputeOperators()`, $(_doc_external("KSP/KSPSetComputeInitialGuess")) """ function KSPSetComputeInitialGuess(petsclib::PetscLibType, ksp::AbstractKSP, func::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("KSPSetComputeInitialGuess: no generated method for these argument types") + throw(MethodError(KSPSetComputeInitialGuess, (petsclib, ksp, func, ctx))) end @for_petsc function KSPSetComputeInitialGuess(petsclib::$UnionPetscLib, ksp::AbstractKSP, func::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -7591,7 +7591,7 @@ See also: `KSP`, `KSPSetOperators()`, `KSPSetComputeRHS()`, `DMKSPSetComputeOper $(_doc_external("KSP/KSPSetComputeOperators")) """ function KSPSetComputeOperators(petsclib::PetscLibType, ksp::AbstractKSP, func::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("KSPSetComputeOperators: no generated method for these argument types") + throw(MethodError(KSPSetComputeOperators, (petsclib, ksp, func, ctx))) end @for_petsc function KSPSetComputeOperators(petsclib::$UnionPetscLib, ksp::AbstractKSP, func::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -7626,7 +7626,7 @@ See also: `KSP`, `KSPSolve()`, `DMKSPSetComputeRHS()`, `KSPSetComputeOperators() $(_doc_external("KSP/KSPSetComputeRHS")) """ function KSPSetComputeRHS(petsclib::PetscLibType, ksp::AbstractKSP, func::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("KSPSetComputeRHS: no generated method for these argument types") + throw(MethodError(KSPSetComputeRHS, (petsclib, ksp, func, ctx))) end @for_petsc function KSPSetComputeRHS(petsclib::$UnionPetscLib, ksp::AbstractKSP, func::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -7662,7 +7662,7 @@ See also: `KSPComputeRitz()`, `KSP`, `KSPComputeEigenvalues()`, `KSPComputeExtre $(_doc_external("KSP/KSPSetComputeRitz")) """ function KSPSetComputeRitz(petsclib::PetscLibType, ksp::AbstractKSP, flg::PetscBool) - error("KSPSetComputeRitz: no generated method for these argument types") + throw(MethodError(KSPSetComputeRitz, (petsclib, ksp, flg))) end @for_petsc function KSPSetComputeRitz(petsclib::$UnionPetscLib, ksp::AbstractKSP, flg::PetscBool ) @@ -7701,7 +7701,7 @@ See also: `KSPComputeExtremeSingularValues()`, `KSPMonitorSingularValue()`, `KSP $(_doc_external("KSP/KSPSetComputeSingularValues")) """ function KSPSetComputeSingularValues(petsclib::PetscLibType, ksp::AbstractKSP, flg::PetscBool) - error("KSPSetComputeSingularValues: no generated method for these argument types") + throw(MethodError(KSPSetComputeSingularValues, (petsclib, ksp, flg))) end @for_petsc function KSPSetComputeSingularValues(petsclib::$UnionPetscLib, ksp::AbstractKSP, flg::PetscBool ) @@ -7738,7 +7738,7 @@ See also: `KSP`, `KSPConvergedReason`, `KSPGetConvergedNegativeCurvature()` $(_doc_external("KSP/KSPSetConvergedNegativeCurvature")) """ function KSPSetConvergedNegativeCurvature(petsclib::PetscLibType, ksp::AbstractKSP, flg::PetscBool) - error("KSPSetConvergedNegativeCurvature: no generated method for these argument types") + throw(MethodError(KSPSetConvergedNegativeCurvature, (petsclib, ksp, flg))) end @for_petsc function KSPSetConvergedNegativeCurvature(petsclib::$UnionPetscLib, ksp::AbstractKSP, flg::PetscBool ) @@ -7774,7 +7774,7 @@ See also: `KSP`, `KSPConvergenceTestFn`, `KSPConvergedDefault()`, `KSPGetConverg $(_doc_external("KSP/KSPSetConvergenceTest")) """ function KSPSetConvergenceTest(petsclib::PetscLibType, ksp::AbstractKSP, converge::Ptr{Cvoid}, ctx::Ptr{Cvoid}, destroy::Ptr{Cvoid}) - error("KSPSetConvergenceTest: no generated method for these argument types") + throw(MethodError(KSPSetConvergenceTest, (petsclib, ksp, converge, ctx, destroy))) end @for_petsc function KSPSetConvergenceTest(petsclib::$UnionPetscLib, ksp::AbstractKSP, converge::Ptr{Cvoid}, ctx::Ptr{Cvoid}, destroy::Ptr{Cvoid} ) @@ -7808,7 +7808,7 @@ See also: `KSP`, `DM`, `KSPGetDM()`, `KSPSetDMActive()`, `KSPSetComputeOperators $(_doc_external("KSP/KSPSetDM")) """ function KSPSetDM(petsclib::PetscLibType, ksp::AbstractKSP, dm::AbstractPetscDM) - error("KSPSetDM: no generated method for these argument types") + throw(MethodError(KSPSetDM, (petsclib, ksp, dm))) end @for_petsc function KSPSetDM(petsclib::$UnionPetscLib, ksp::AbstractKSP, dm::AbstractPetscDM ) @@ -7843,7 +7843,7 @@ See also: `KSP`, `DM`, `KSPGetDM()`, `KSPSetDM()`, `SNESSetDM()`, `KSPSetCompute $(_doc_external("KSP/KSPSetDMActive")) """ function KSPSetDMActive(petsclib::PetscLibType, ksp::AbstractKSP, active::KSPDMActive, flg::PetscBool) - error("KSPSetDMActive: no generated method for these argument types") + throw(MethodError(KSPSetDMActive, (petsclib, ksp, active, flg))) end @for_petsc function KSPSetDMActive(petsclib::$UnionPetscLib, ksp::AbstractKSP, active::KSPDMActive, flg::PetscBool ) @@ -7882,7 +7882,7 @@ See also: `KSPGetDiagonalScale()`, `KSPSetDiagonalScaleFix()`, `KSP` $(_doc_external("KSP/KSPSetDiagonalScale")) """ function KSPSetDiagonalScale(petsclib::PetscLibType, ksp::AbstractKSP, scale::PetscBool) - error("KSPSetDiagonalScale: no generated method for these argument types") + throw(MethodError(KSPSetDiagonalScale, (petsclib, ksp, scale))) end @for_petsc function KSPSetDiagonalScale(petsclib::$UnionPetscLib, ksp::AbstractKSP, scale::PetscBool ) @@ -7917,7 +7917,7 @@ See also: `KSPGetDiagonalScale()`, `KSPSetDiagonalScale()`, `KSPGetDiagonalScale $(_doc_external("KSP/KSPSetDiagonalScaleFix")) """ function KSPSetDiagonalScaleFix(petsclib::PetscLibType, ksp::AbstractKSP, fix::PetscBool) - error("KSPSetDiagonalScaleFix: no generated method for these argument types") + throw(MethodError(KSPSetDiagonalScaleFix, (petsclib, ksp, fix))) end @for_petsc function KSPSetDiagonalScaleFix(petsclib::$UnionPetscLib, ksp::AbstractKSP, fix::PetscBool ) @@ -7953,7 +7953,7 @@ See also: `KSPGetErrorHistory()`, `KSPSetResidualHistory()`, `KSP` $(_doc_external("KSP/KSPSetErrorHistory")) """ function KSPSetErrorHistory(petsclib::PetscLibType, ksp::AbstractKSP, a::AbstractVector{<:Number}, na::PetscCount, reset::PetscBool) - error("KSPSetErrorHistory: no generated method for these argument types") + throw(MethodError(KSPSetErrorHistory, (petsclib, ksp, a, na, reset))) end @for_petsc function KSPSetErrorHistory(petsclib::$UnionPetscLib, ksp::AbstractKSP, a::Vector{$PetscReal}, na::PetscCount, reset::PetscBool ) @@ -7990,7 +7990,7 @@ See also: `KSPGetErrorIfNotConverged()`, `KSP` $(_doc_external("KSP/KSPSetErrorIfNotConverged")) """ function KSPSetErrorIfNotConverged(petsclib::PetscLibType, ksp::AbstractKSP, flg::PetscBool) - error("KSPSetErrorIfNotConverged: no generated method for these argument types") + throw(MethodError(KSPSetErrorIfNotConverged, (petsclib, ksp, flg))) end @for_petsc function KSPSetErrorIfNotConverged(petsclib::$UnionPetscLib, ksp::AbstractKSP, flg::PetscBool ) @@ -8064,7 +8064,7 @@ See also: `KSP`, `KSPSetOptionsPrefix()`, `KSPResetFromOptions()`, `KSPSetUseFis $(_doc_external("KSP/KSPSetFromOptions")) """ function KSPSetFromOptions(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPSetFromOptions: no generated method for these argument types") + throw(MethodError(KSPSetFromOptions, (petsclib, ksp))) end @for_petsc function KSPSetFromOptions(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -8098,7 +8098,7 @@ See also: `KSP`, `KSPGuess`, `KSPSetOptionsPrefix()`, `KSPAppendOptionsPrefix()` $(_doc_external("KSP/KSPSetGuess")) """ function KSPSetGuess(petsclib::PetscLibType, ksp::AbstractKSP, guess::KSPGuess) - error("KSPSetGuess: no generated method for these argument types") + throw(MethodError(KSPSetGuess, (petsclib, ksp, guess))) end @for_petsc function KSPSetGuess(petsclib::$UnionPetscLib, ksp::AbstractKSP, guess::KSPGuess ) @@ -8132,7 +8132,7 @@ See also: `KSPGetInitialGuessKnoll()`, `KSPGuess`, `KSPSetInitialGuessNonzero()` $(_doc_external("KSP/KSPSetInitialGuessKnoll")) """ function KSPSetInitialGuessKnoll(petsclib::PetscLibType, ksp::AbstractKSP, flg::PetscBool) - error("KSPSetInitialGuessKnoll: no generated method for these argument types") + throw(MethodError(KSPSetInitialGuessKnoll, (petsclib, ksp, flg))) end @for_petsc function KSPSetInitialGuessKnoll(petsclib::$UnionPetscLib, ksp::AbstractKSP, flg::PetscBool ) @@ -8171,7 +8171,7 @@ See also: `KSPGetInitialGuessNonzero()`, `KSPGuessSetType()`, `KSPGuessType`, `K $(_doc_external("KSP/KSPSetInitialGuessNonzero")) """ function KSPSetInitialGuessNonzero(petsclib::PetscLibType, ksp::AbstractKSP, flg::PetscBool) - error("KSPSetInitialGuessNonzero: no generated method for these argument types") + throw(MethodError(KSPSetInitialGuessNonzero, (petsclib, ksp, flg))) end @for_petsc function KSPSetInitialGuessNonzero(petsclib::$UnionPetscLib, ksp::AbstractKSP, flg::PetscBool ) @@ -8209,7 +8209,7 @@ See also: `KSPSetUp()`, `KSPSolve()`, `KSPDestroy()`, `KSPConvergedSkip()`, `KSP $(_doc_external("KSP/KSPSetLagNorm")) """ function KSPSetLagNorm(petsclib::PetscLibType, ksp::AbstractKSP, flg::PetscBool) - error("KSPSetLagNorm: no generated method for these argument types") + throw(MethodError(KSPSetLagNorm, (petsclib, ksp, flg))) end @for_petsc function KSPSetLagNorm(petsclib::$UnionPetscLib, ksp::AbstractKSP, flg::PetscBool ) @@ -8243,7 +8243,7 @@ See also: `KSPMatSolve()`, `KSPGetMatSolveBatchSize()`, `-mat_mumps_icntl_27`, ` $(_doc_external("KSP/KSPSetMatSolveBatchSize")) """ function KSPSetMatSolveBatchSize(petsclib::PetscLibType, ksp::AbstractKSP, bs::Integer) - error("KSPSetMatSolveBatchSize: no generated method for these argument types") + throw(MethodError(KSPSetMatSolveBatchSize, (petsclib, ksp, bs))) end @for_petsc function KSPSetMatSolveBatchSize(petsclib::$UnionPetscLib, ksp::AbstractKSP, bs::$PetscInt ) @@ -8280,7 +8280,7 @@ See also: `KSPGetTolerances()`, `KSPConvergedDefault()`, `KSPSetConvergenceTest( $(_doc_external("KSP/KSPSetMinimumIterations")) """ function KSPSetMinimumIterations(petsclib::PetscLibType, ksp::AbstractKSP, minit::Integer) - error("KSPSetMinimumIterations: no generated method for these argument types") + throw(MethodError(KSPSetMinimumIterations, (petsclib, ksp, minit))) end @for_petsc function KSPSetMinimumIterations(petsclib::$UnionPetscLib, ksp::AbstractKSP, minit::$PetscInt ) @@ -8314,7 +8314,7 @@ See also: `KSPSetUp()`, `KSPSolve()`, `KSPDestroy()`, `KSP`, `KSPGMRES`, `KSPTyp $(_doc_external("KSP/KSPSetNestLevel")) """ function KSPSetNestLevel(petsclib::PetscLibType, ksp::AbstractKSP, level::Integer) - error("KSPSetNestLevel: no generated method for these argument types") + throw(MethodError(KSPSetNestLevel, (petsclib, ksp, level))) end @for_petsc function KSPSetNestLevel(petsclib::$UnionPetscLib, ksp::AbstractKSP, level::$PetscInt ) @@ -8363,7 +8363,7 @@ See also: `KSPSetUp()`, `KSPSolve()`, `KSPDestroy()`, `KSPConvergedSkip()`, `KSP $(_doc_external("KSP/KSPSetNormType")) """ function KSPSetNormType(petsclib::PetscLibType, ksp::AbstractKSP, normtype::KSPNormType) - error("KSPSetNormType: no generated method for these argument types") + throw(MethodError(KSPSetNormType, (petsclib, ksp, normtype))) end @for_petsc function KSPSetNormType(petsclib::$UnionPetscLib, ksp::AbstractKSP, normtype::KSPNormType ) @@ -8399,7 +8399,7 @@ See also: `KSP`, `Mat`, `KSPSolve()`, `KSPGetPC()`, `PCGetOperators()`, `PCSetOp $(_doc_external("KSP/KSPSetOperators")) """ function KSPSetOperators(petsclib::PetscLibType, ksp::AbstractKSP, Amat::AbstractPetscMat, Pmat::AbstractPetscMat) - error("KSPSetOperators: no generated method for these argument types") + throw(MethodError(KSPSetOperators, (petsclib, ksp, Amat, Pmat))) end @for_petsc function KSPSetOperators(petsclib::$UnionPetscLib, ksp::AbstractKSP, Amat::AbstractPetscMat, Pmat::AbstractPetscMat ) @@ -8434,7 +8434,7 @@ See also: `KSP`, `KSPAppendOptionsPrefix()`, `KSPGetOptionsPrefix()`, `KSPSetFro $(_doc_external("KSP/KSPSetOptionsPrefix")) """ function KSPSetOptionsPrefix(petsclib::PetscLibType, ksp::AbstractKSP, prefix::String) - error("KSPSetOptionsPrefix: no generated method for these argument types") + throw(MethodError(KSPSetOptionsPrefix, (petsclib, ksp, prefix))) end @for_petsc function KSPSetOptionsPrefix(petsclib::$UnionPetscLib, ksp::AbstractKSP, prefix::String ) @@ -8469,7 +8469,7 @@ See also: `KSPGetPC()`, `KSP` $(_doc_external("KSP/KSPSetPC")) """ function KSPSetPC(petsclib::PetscLibType, ksp::AbstractKSP, pc::AbstractPC) - error("KSPSetPC: no generated method for these argument types") + throw(MethodError(KSPSetPC, (petsclib, ksp, pc))) end @for_petsc function KSPSetPC(petsclib::$UnionPetscLib, ksp::AbstractKSP, pc::AbstractPC ) @@ -8513,7 +8513,7 @@ See also: `KSPGetPCSide()`, `KSPSetNormType()`, `KSPGetNormType()`, `KSP`, `KSPS $(_doc_external("KSP/KSPSetPCSide")) """ function KSPSetPCSide(petsclib::PetscLibType, ksp::AbstractKSP, side::PCSide) - error("KSPSetPCSide: no generated method for these argument types") + throw(MethodError(KSPSetPCSide, (petsclib, ksp, side))) end @for_petsc function KSPSetPCSide(petsclib::$UnionPetscLib, ksp::AbstractKSP, side::PCSide ) @@ -8548,7 +8548,7 @@ See also: `KSPPSolveFn`, `KSPSetUp()`, `KSPSolve()`, `KSPDestroy()`, `KSP`, `KSP $(_doc_external("KSP/KSPSetPostSolve")) """ function KSPSetPostSolve(petsclib::PetscLibType, ksp::AbstractKSP, postsolve::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("KSPSetPostSolve: no generated method for these argument types") + throw(MethodError(KSPSetPostSolve, (petsclib, ksp, postsolve, ctx))) end @for_petsc function KSPSetPostSolve(petsclib::$UnionPetscLib, ksp::AbstractKSP, postsolve::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -8583,7 +8583,7 @@ See also: `KSPPSolveFn`, `KSPSetUp()`, `KSPSolve()`, `KSPDestroy()`, `KSP`, `KSP $(_doc_external("KSP/KSPSetPreSolve")) """ function KSPSetPreSolve(petsclib::PetscLibType, ksp::AbstractKSP, presolve::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("KSPSetPreSolve: no generated method for these argument types") + throw(MethodError(KSPSetPreSolve, (petsclib, ksp, presolve, ctx))) end @for_petsc function KSPSetPreSolve(petsclib::$UnionPetscLib, ksp::AbstractKSP, presolve::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -8622,7 +8622,7 @@ See also: `KSPGetResidualHistory()`, `KSP` $(_doc_external("KSP/KSPSetResidualHistory")) """ function KSPSetResidualHistory(petsclib::PetscLibType, ksp::AbstractKSP, a::AbstractVector{<:Number}, na::PetscCount, reset::PetscBool) - error("KSPSetResidualHistory: no generated method for these argument types") + throw(MethodError(KSPSetResidualHistory, (petsclib, ksp, a, na, reset))) end @for_petsc function KSPSetResidualHistory(petsclib::$UnionPetscLib, ksp::AbstractKSP, a::Vector{$PetscReal}, na::PetscCount, reset::PetscBool ) @@ -8661,7 +8661,7 @@ See also: `KSPCreate()`, `KSPSolve()`, `KSPDestroy()`, `KSP`, `KSPGetReusePrecon $(_doc_external("KSP/KSPSetReusePreconditioner")) """ function KSPSetReusePreconditioner(petsclib::PetscLibType, ksp::AbstractKSP, flag::PetscBool) - error("KSPSetReusePreconditioner: no generated method for these argument types") + throw(MethodError(KSPSetReusePreconditioner, (petsclib, ksp, flag))) end @for_petsc function KSPSetReusePreconditioner(petsclib::$UnionPetscLib, ksp::AbstractKSP, flag::PetscBool ) @@ -8696,7 +8696,7 @@ See also: `KSPCreate()`, `KSPSolve()`, `KSPDestroy()`, `PCSetReusePreconditioner $(_doc_external("KSP/KSPSetSkipPCSetFromOptions")) """ function KSPSetSkipPCSetFromOptions(petsclib::PetscLibType, ksp::AbstractKSP, flag::PetscBool) - error("KSPSetSkipPCSetFromOptions: no generated method for these argument types") + throw(MethodError(KSPSetSkipPCSetFromOptions, (petsclib, ksp, flag))) end @for_petsc function KSPSetSkipPCSetFromOptions(petsclib::$UnionPetscLib, ksp::AbstractKSP, flag::PetscBool ) @@ -8732,7 +8732,7 @@ See also: `KSP`, `KSPNormType`, `PCSide`, `KSPSetNormType()`, `KSPSetPCSide()` $(_doc_external("KSP/KSPSetSupportedNorm")) """ function KSPSetSupportedNorm(petsclib::PetscLibType, ksp::AbstractKSP, normtype::KSPNormType, pcside::PCSide, priority::Integer) - error("KSPSetSupportedNorm: no generated method for these argument types") + throw(MethodError(KSPSetSupportedNorm, (petsclib, ksp, normtype, pcside, priority))) end @for_petsc function KSPSetSupportedNorm(petsclib::$UnionPetscLib, ksp::AbstractKSP, normtype::KSPNormType, pcside::PCSide, priority::$PetscInt ) @@ -8776,7 +8776,7 @@ See also: `KSPGetTolerances()`, `KSPConvergedDefault()`, `KSPSetConvergenceTest( $(_doc_external("KSP/KSPSetTolerances")) """ function KSPSetTolerances(petsclib::PetscLibType, ksp::AbstractKSP, rtol::Real, abstol::Real, dtol::Real, maxits::Integer) - error("KSPSetTolerances: no generated method for these argument types") + throw(MethodError(KSPSetTolerances, (petsclib, ksp, rtol, abstol, dtol, maxits))) end @for_petsc function KSPSetTolerances(petsclib::$UnionPetscLib, ksp::AbstractKSP, rtol::$PetscReal, abstol::$PetscReal, dtol::$PetscReal, maxits::$PetscInt ) @@ -8813,7 +8813,7 @@ See also: `PCSetType()`, `KSPType`, `KSPRegister()`, `KSPCreate()`, `KSP` $(_doc_external("KSP/KSPSetType")) """ function KSPSetType(petsclib::PetscLibType, ksp::AbstractKSP, type::String) - error("KSPSetType: no generated method for these argument types") + throw(MethodError(KSPSetType, (petsclib, ksp, type))) end @for_petsc function KSPSetType(petsclib::$UnionPetscLib, ksp::AbstractKSP, type::String ) @@ -8847,7 +8847,7 @@ See also: `KSPCreate()`, `KSPSolve()`, `KSPDestroy()`, `KSP`, `KSPSetUpOnBlocks( $(_doc_external("KSP/KSPSetUp")) """ function KSPSetUp(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPSetUp: no generated method for these argument types") + throw(MethodError(KSPSetUp, (petsclib, ksp))) end @for_petsc function KSPSetUp(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -8881,7 +8881,7 @@ See also: `PCSetUpOnBlocks()`, `KSPSetUp()`, `PCSetUp()`, `KSP` $(_doc_external("KSP/KSPSetUpOnBlocks")) """ function KSPSetUpOnBlocks(petsclib::PetscLibType, ksp::AbstractKSP) - error("KSPSetUpOnBlocks: no generated method for these argument types") + throw(MethodError(KSPSetUpOnBlocks, (petsclib, ksp))) end @for_petsc function KSPSetUpOnBlocks(petsclib::$UnionPetscLib, ksp::AbstractKSP ) @@ -8918,7 +8918,7 @@ See also: `KSPSolveTranspose()`, `KSP` $(_doc_external("KSP/KSPSetUseExplicitTranspose")) """ function KSPSetUseExplicitTranspose(petsclib::PetscLibType, ksp::AbstractKSP, flg::PetscBool) - error("KSPSetUseExplicitTranspose: no generated method for these argument types") + throw(MethodError(KSPSetUseExplicitTranspose, (petsclib, ksp, flg))) end @for_petsc function KSPSetUseExplicitTranspose(petsclib::$UnionPetscLib, ksp::AbstractKSP, flg::PetscBool ) @@ -8956,7 +8956,7 @@ See also: `KSP`, `KSPSetOptionsPrefix()`, `KSPAppendOptionsPrefix()`, `KSPSetGue $(_doc_external("KSP/KSPSetUseFischerGuess")) """ function KSPSetUseFischerGuess(petsclib::PetscLibType, ksp::AbstractKSP, model::Integer, size::Integer) - error("KSPSetUseFischerGuess: no generated method for these argument types") + throw(MethodError(KSPSetUseFischerGuess, (petsclib, ksp, model, size))) end @for_petsc function KSPSetUseFischerGuess(petsclib::$UnionPetscLib, ksp::AbstractKSP, model::$PetscInt, size::$PetscInt ) @@ -8990,7 +8990,7 @@ See also: `KSP`, `KSPCreateVecs()` $(_doc_external("KSP/KSPSetWorkVecs")) """ function KSPSetWorkVecs(petsclib::PetscLibType, ksp::AbstractKSP, nw::Integer) - error("KSPSetWorkVecs: no generated method for these argument types") + throw(MethodError(KSPSetWorkVecs, (petsclib, ksp, nw))) end @for_petsc function KSPSetWorkVecs(petsclib::$UnionPetscLib, ksp::AbstractKSP, nw::$PetscInt ) @@ -9045,7 +9045,7 @@ See also: `KSPCreate()`, `KSPSetUp()`, `KSPDestroy()`, `KSPSetTolerances()`, `KS $(_doc_external("KSP/KSPSolve")) """ function KSPSolve(petsclib::PetscLibType, ksp::AbstractKSP, b::Union{Ptr, AbstractPetscVec}, x::Union{Ptr, AbstractPetscVec}) - error("KSPSolve: no generated method for these argument types") + throw(MethodError(KSPSolve, (petsclib, ksp, b, x))) end @for_petsc function KSPSolve(petsclib::$UnionPetscLib, ksp::AbstractKSP, b::Union{Ptr, AbstractPetscVec}, x::Union{Ptr, AbstractPetscVec} ) @@ -9081,7 +9081,7 @@ See also: `KSPCreate()`, `KSPSetUp()`, `KSPDestroy()`, `KSPSetTolerances()`, `KS $(_doc_external("KSP/KSPSolveTranspose")) """ function KSPSolveTranspose(petsclib::PetscLibType, ksp::AbstractKSP, b::AbstractPetscVec, x::AbstractPetscVec) - error("KSPSolveTranspose: no generated method for these argument types") + throw(MethodError(KSPSolveTranspose, (petsclib, ksp, b, x))) end @for_petsc function KSPSolveTranspose(petsclib::$UnionPetscLib, ksp::AbstractKSP, b::AbstractPetscVec, x::AbstractPetscVec ) @@ -9121,7 +9121,7 @@ See also: `KSP`, `KSPSetPCSide()` $(_doc_external("KSP/KSPUnwindPreconditioner")) """ function KSPUnwindPreconditioner(petsclib::PetscLibType, ksp::AbstractKSP, vsoln::AbstractPetscVec, vt1::AbstractPetscVec) - error("KSPUnwindPreconditioner: no generated method for these argument types") + throw(MethodError(KSPUnwindPreconditioner, (petsclib, ksp, vsoln, vt1))) end @for_petsc function KSPUnwindPreconditioner(petsclib::$UnionPetscLib, ksp::AbstractKSP, vsoln::AbstractPetscVec, vt1::AbstractPetscVec ) @@ -9159,7 +9159,7 @@ See also: `KSP`, `PetscViewer`, `PCView()`, `PetscViewerASCIIOpen()`, `KSPViewFr $(_doc_external("KSP/KSPView")) """ function KSPView(petsclib::PetscLibType, ksp::AbstractKSP, viewer::PetscViewer) - error("KSPView: no generated method for these argument types") + throw(MethodError(KSPView, (petsclib, ksp, viewer))) end @for_petsc function KSPView(petsclib::$UnionPetscLib, ksp::AbstractKSP, viewer::PetscViewer ) @@ -9198,7 +9198,7 @@ See also: `KSP`, `KSPView()`, `PetscObjectViewFromOptions()`, `KSPCreate()` $(_doc_external("KSP/KSPViewFromOptions")) """ function KSPViewFromOptions(petsclib::PetscLibType, A::AbstractKSP, obj, name::String) - error("KSPViewFromOptions: no generated method for these argument types") + throw(MethodError(KSPViewFromOptions, (petsclib, A, obj, name))) end @for_petsc function KSPViewFromOptions(petsclib::$UnionPetscLib, A::AbstractKSP, obj, name::String ) diff --git a/src/autowrapped/Mat_wrappers.jl b/src/autowrapped/Mat_wrappers.jl index de45348f7..e28ab47ea 100644 --- a/src/autowrapped/Mat_wrappers.jl +++ b/src/autowrapped/Mat_wrappers.jl @@ -21,7 +21,7 @@ See also: `Mat`, `MatANorm()`, `VecDot()`, `VecNorm()`, `MatMult()`, `MatMultAdd $(_doc_external("Mat/MatADot")) """ function MatADot(petsclib::PetscLibType, mat::AbstractPetscMat, x::AbstractPetscVec, y::AbstractPetscVec) - error("MatADot: no generated method for these argument types") + throw(MethodError(MatADot, (petsclib, mat, x, y))) end @for_petsc function MatADot(petsclib::$UnionPetscLib, mat::AbstractPetscMat, x::AbstractPetscVec, y::AbstractPetscVec ) @@ -59,7 +59,7 @@ See also: `Mat`, `MatMPIAIJGetLocalMat()` $(_doc_external("Mat/MatAIJGetLocalMat")) """ function MatAIJGetLocalMat(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatAIJGetLocalMat: no generated method for these argument types") + throw(MethodError(MatAIJGetLocalMat, (petsclib, A))) end @for_petsc function MatAIJGetLocalMat(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -99,7 +99,7 @@ See also: `Mat`, `MatADot()`, `VecDot()`, `VecNorm()`, `MatMult()`, `MatMultAdd( $(_doc_external("Mat/MatANorm")) """ function MatANorm(petsclib::PetscLibType, mat::AbstractPetscMat, x::AbstractPetscVec) - error("MatANorm: no generated method for these argument types") + throw(MethodError(MatANorm, (petsclib, mat, x))) end @for_petsc function MatANorm(petsclib::$UnionPetscLib, mat::AbstractPetscMat, x::AbstractPetscVec ) @@ -137,7 +137,7 @@ See also: `Mat`, `MatAYPX()` $(_doc_external("Mat/MatAXPY")) """ function MatAXPY(petsclib::PetscLibType, Y::AbstractPetscMat, a::Number, X::AbstractPetscMat, str::MatStructure) - error("MatAXPY: no generated method for these argument types") + throw(MethodError(MatAXPY, (petsclib, Y, a, X, str))) end @for_petsc function MatAXPY(petsclib::$UnionPetscLib, Y::AbstractPetscMat, a::$PetscScalar, X::AbstractPetscMat, str::MatStructure ) @@ -173,7 +173,7 @@ See also: `Mat`, `MatAXPY()` $(_doc_external("Mat/MatAYPX")) """ function MatAYPX(petsclib::PetscLibType, Y::AbstractPetscMat, a::Number, X::AbstractPetscMat, str::MatStructure) - error("MatAYPX: no generated method for these argument types") + throw(MethodError(MatAYPX, (petsclib, Y, a, X, str))) end @for_petsc function MatAYPX(petsclib::$UnionPetscLib, Y::AbstractPetscMat, a::$PetscScalar, X::AbstractPetscMat, str::MatStructure ) @@ -208,7 +208,7 @@ See also: `Mat`, `MatGetOptionsPrefix()`, `MatAppendOptionsPrefixFactor()`, `Mat $(_doc_external("Mat/MatAppendOptionsPrefix")) """ function MatAppendOptionsPrefix(petsclib::PetscLibType, A::AbstractPetscMat, prefix::String) - error("MatAppendOptionsPrefix: no generated method for these argument types") + throw(MethodError(MatAppendOptionsPrefix, (petsclib, A, prefix))) end @for_petsc function MatAppendOptionsPrefix(petsclib::$UnionPetscLib, A::AbstractPetscMat, prefix::String ) @@ -245,7 +245,7 @@ See also: `Mat`, Matrix Factorization, `MatGetFactor()`, `PetscOptionsCreate()`, $(_doc_external("Mat/MatAppendOptionsPrefixFactor")) """ function MatAppendOptionsPrefixFactor(petsclib::PetscLibType, A::AbstractPetscMat, prefix::String) - error("MatAppendOptionsPrefixFactor: no generated method for these argument types") + throw(MethodError(MatAppendOptionsPrefixFactor, (petsclib, A, prefix))) end @for_petsc function MatAppendOptionsPrefixFactor(petsclib::$UnionPetscLib, A::AbstractPetscMat, prefix::String ) @@ -282,7 +282,7 @@ See also: `Mat`, `MatAssemblyEnd()`, `MatSetValues()`, `MatAssemblyBegin()` $(_doc_external("Mat/MatAssembled")) """ function MatAssembled(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatAssembled: no generated method for these argument types") + throw(MethodError(MatAssembled, (petsclib, mat))) end @for_petsc function MatAssembled(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -319,7 +319,7 @@ See also: `Mat`, `MatAssemblyEnd()`, `MatSetValues()`, `MatAssembled()` $(_doc_external("Mat/MatAssemblyBegin")) """ function MatAssemblyBegin(petsclib::PetscLibType, mat::AbstractPetscMat, type::MatAssemblyType) - error("MatAssemblyBegin: no generated method for these argument types") + throw(MethodError(MatAssemblyBegin, (petsclib, mat, type))) end @for_petsc function MatAssemblyBegin(petsclib::$UnionPetscLib, mat::AbstractPetscMat, type::MatAssemblyType ) @@ -358,7 +358,7 @@ See also: `Mat`, `MatAssemblyBegin()`, `MatSetValues()`, `PetscDrawOpenX()`, `Pe $(_doc_external("Mat/MatAssemblyEnd")) """ function MatAssemblyEnd(petsclib::PetscLibType, mat::AbstractPetscMat, type::MatAssemblyType) - error("MatAssemblyEnd: no generated method for these argument types") + throw(MethodError(MatAssemblyEnd, (petsclib, mat, type))) end @for_petsc function MatAssemblyEnd(petsclib::$UnionPetscLib, mat::AbstractPetscMat, type::MatAssemblyType ) @@ -396,7 +396,7 @@ See also: `Mat`, `MatForwardSolve()`, `MatGetFactor()`, `MatSolve()` $(_doc_external("Mat/MatBackwardSolve")) """ function MatBackwardSolve(petsclib::PetscLibType, mat::AbstractPetscMat, b::AbstractPetscVec, x::AbstractPetscVec) - error("MatBackwardSolve: no generated method for these argument types") + throw(MethodError(MatBackwardSolve, (petsclib, mat, b, x))) end @for_petsc function MatBackwardSolve(petsclib::$UnionPetscLib, mat::AbstractPetscMat, b::AbstractPetscVec, x::AbstractPetscVec ) @@ -430,7 +430,7 @@ See also: `Mat`, `MatBoundToCPU()` $(_doc_external("Mat/MatBindToCPU")) """ function MatBindToCPU(petsclib::PetscLibType, A::AbstractPetscMat, flg::PetscBool) - error("MatBindToCPU: no generated method for these argument types") + throw(MethodError(MatBindToCPU, (petsclib, A, flg))) end @for_petsc function MatBindToCPU(petsclib::$UnionPetscLib, A::AbstractPetscMat, flg::PetscBool ) @@ -470,7 +470,7 @@ See also: `Mat`, `MatCreate()`, `MatCreateBlockMat()`, `MatSetValues()` $(_doc_external("Mat/MatBlockMatSetPreallocation")) """ function MatBlockMatSetPreallocation(petsclib::PetscLibType, B::AbstractPetscMat, bs::Integer, nz::Integer, nnz::AbstractVector{<:Number}) - error("MatBlockMatSetPreallocation: no generated method for these argument types") + throw(MethodError(MatBlockMatSetPreallocation, (petsclib, B, bs, nz, nnz))) end @for_petsc function MatBlockMatSetPreallocation(petsclib::$UnionPetscLib, B::AbstractPetscMat, bs::$PetscInt, nz::$PetscInt, nnz::Vector{$PetscInt} ) @@ -504,7 +504,7 @@ See also: `Mat`, `MatBindToCPU()` $(_doc_external("Mat/MatBoundToCPU")) """ function MatBoundToCPU(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatBoundToCPU: no generated method for these argument types") + throw(MethodError(MatBoundToCPU, (petsclib, A))) end @for_petsc function MatBoundToCPU(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -529,7 +529,7 @@ end $(_doc_external("Mat/MatCUSPARSESetFormat")) """ function MatCUSPARSESetFormat(petsclib::PetscLibType, A::AbstractPetscMat, op::MatCUSPARSEFormatOperation, format::MatCUSPARSEStorageFormat) - error("MatCUSPARSESetFormat: no generated method for these argument types") + throw(MethodError(MatCUSPARSESetFormat, (petsclib, A, op, format))) end @for_petsc function MatCUSPARSESetFormat(petsclib::$UnionPetscLib, A::AbstractPetscMat, op::MatCUSPARSEFormatOperation, format::MatCUSPARSEStorageFormat ) @@ -552,7 +552,7 @@ end $(_doc_external("Mat/MatCUSPARSESetUseCPUSolve")) """ function MatCUSPARSESetUseCPUSolve(petsclib::PetscLibType, A::AbstractPetscMat, use_cpu::PetscBool) - error("MatCUSPARSESetUseCPUSolve: no generated method for these argument types") + throw(MethodError(MatCUSPARSESetUseCPUSolve, (petsclib, A, use_cpu))) end @for_petsc function MatCUSPARSESetUseCPUSolve(petsclib::$UnionPetscLib, A::AbstractPetscMat, use_cpu::PetscBool ) @@ -589,7 +589,7 @@ See also: `Mat`, Matrix Factorization, `MatGetFactor()`, `MatFactorInfo`, `MatLU $(_doc_external("Mat/MatCholeskyFactor")) """ function MatCholeskyFactor(petsclib::PetscLibType, mat::AbstractPetscMat, perm::AbstractIS, info::Vector{MatFactorInfo}) - error("MatCholeskyFactor: no generated method for these argument types") + throw(MethodError(MatCholeskyFactor, (petsclib, mat, perm, info))) end @for_petsc function MatCholeskyFactor(petsclib::$UnionPetscLib, mat::AbstractPetscMat, perm::AbstractIS, info::Vector{MatFactorInfo} ) @@ -626,7 +626,7 @@ See also: `Mat`, Matrix Factorization, `MatFactorInfo`, `MatGetFactor()`, `MatCh $(_doc_external("Mat/MatCholeskyFactorNumeric")) """ function MatCholeskyFactorNumeric(petsclib::PetscLibType, fact::AbstractPetscMat, mat::AbstractPetscMat, info::Vector{MatFactorInfo}) - error("MatCholeskyFactorNumeric: no generated method for these argument types") + throw(MethodError(MatCholeskyFactorNumeric, (petsclib, fact, mat, info))) end @for_petsc function MatCholeskyFactorNumeric(petsclib::$UnionPetscLib, fact::AbstractPetscMat, mat::AbstractPetscMat, info::Vector{MatFactorInfo} ) @@ -669,7 +669,7 @@ See also: `Mat`, Matrix Factorization, `MatFactorInfo`, `MatGetFactor()`, `MatLU $(_doc_external("Mat/MatCholeskyFactorSymbolic")) """ function MatCholeskyFactorSymbolic(petsclib::PetscLibType, fact::AbstractPetscMat, mat::AbstractPetscMat, perm::AbstractIS, info::Vector{MatFactorInfo}) - error("MatCholeskyFactorSymbolic: no generated method for these argument types") + throw(MethodError(MatCholeskyFactorSymbolic, (petsclib, fact, mat, perm, info))) end @for_petsc function MatCholeskyFactorSymbolic(petsclib::$UnionPetscLib, fact::AbstractPetscMat, mat::AbstractPetscMat, perm::AbstractIS, info::Vector{MatFactorInfo} ) @@ -703,7 +703,7 @@ See also: `Mat`, `MatCreateComposite()`, `MatCompositeGetMat()`, `MATCOMPOSITE` $(_doc_external("Mat/MatCompositeAddMat")) """ function MatCompositeAddMat(petsclib::PetscLibType, mat::AbstractPetscMat, smat::AbstractPetscMat) - error("MatCompositeAddMat: no generated method for these argument types") + throw(MethodError(MatCompositeAddMat, (petsclib, mat, smat))) end @for_petsc function MatCompositeAddMat(petsclib::$UnionPetscLib, mat::AbstractPetscMat, smat::AbstractPetscMat ) @@ -740,7 +740,7 @@ See also: `Mat`, `MatCreateComposite()`, `MatCompositeGetNumberMat()`, `MatCompo $(_doc_external("Mat/MatCompositeGetMat")) """ function MatCompositeGetMat(petsclib::PetscLibType, mat::AbstractPetscMat, i::Integer) - error("MatCompositeGetMat: no generated method for these argument types") + throw(MethodError(MatCompositeGetMat, (petsclib, mat, i))) end @for_petsc function MatCompositeGetMat(petsclib::$UnionPetscLib, mat::AbstractPetscMat, i::$PetscInt ) @@ -778,7 +778,7 @@ See also: `Mat`, `MatCreateComposite()`, `MatCompositeSetMatStructure()`, `MATCO $(_doc_external("Mat/MatCompositeGetMatStructure")) """ function MatCompositeGetMatStructure(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatCompositeGetMatStructure: no generated method for these argument types") + throw(MethodError(MatCompositeGetMatStructure, (petsclib, mat))) end @for_petsc function MatCompositeGetMatStructure(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -816,7 +816,7 @@ See also: `Mat`, `MatCreateComposite()`, `MatCompositeGetMat()`, `MATCOMPOSITE` $(_doc_external("Mat/MatCompositeGetNumberMat")) """ function MatCompositeGetNumberMat(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatCompositeGetNumberMat: no generated method for these argument types") + throw(MethodError(MatCompositeGetNumberMat, (petsclib, mat))) end @for_petsc function MatCompositeGetNumberMat(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -854,7 +854,7 @@ See also: `Mat`, `MatCreateComposite()`, `MatCompositeSetType()`, `MATCOMPOSITE` $(_doc_external("Mat/MatCompositeGetType")) """ function MatCompositeGetType(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatCompositeGetType: no generated method for these argument types") + throw(MethodError(MatCompositeGetType, (petsclib, mat))) end @for_petsc function MatCompositeGetType(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -894,7 +894,7 @@ See also: `Mat`, `MatDestroy()`, `MatMult()`, `MatCompositeAddMat()`, `MatCreate $(_doc_external("Mat/MatCompositeMerge")) """ function MatCompositeMerge(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatCompositeMerge: no generated method for these argument types") + throw(MethodError(MatCompositeMerge, (petsclib, mat))) end @for_petsc function MatCompositeMerge(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -928,7 +928,7 @@ See also: `Mat`, `MatAXPY()`, `MatCreateComposite()`, `MatCompositeMerge()`, `Ma $(_doc_external("Mat/MatCompositeSetMatStructure")) """ function MatCompositeSetMatStructure(petsclib::PetscLibType, mat::AbstractPetscMat, str::MatStructure) - error("MatCompositeSetMatStructure: no generated method for these argument types") + throw(MethodError(MatCompositeSetMatStructure, (petsclib, mat, str))) end @for_petsc function MatCompositeSetMatStructure(petsclib::$UnionPetscLib, mat::AbstractPetscMat, str::MatStructure ) @@ -963,7 +963,7 @@ See also: `Mat`, `MatCreateComposite()`, `MatCompositeMerge()`, `MATCOMPOSITE` $(_doc_external("Mat/MatCompositeSetMergeType")) """ function MatCompositeSetMergeType(petsclib::PetscLibType, mat::AbstractPetscMat, type::MatCompositeMergeType) - error("MatCompositeSetMergeType: no generated method for these argument types") + throw(MethodError(MatCompositeSetMergeType, (petsclib, mat, type))) end @for_petsc function MatCompositeSetMergeType(petsclib::$UnionPetscLib, mat::AbstractPetscMat, type::MatCompositeMergeType ) @@ -997,7 +997,7 @@ See also: `Mat`, `MatScale()`, `MatDiagonalScale()`, `MATCOMPOSITE` $(_doc_external("Mat/MatCompositeSetScalings")) """ function MatCompositeSetScalings(petsclib::PetscLibType, mat::AbstractPetscMat, scalings::AbstractVector{<:Number}) - error("MatCompositeSetScalings: no generated method for these argument types") + throw(MethodError(MatCompositeSetScalings, (petsclib, mat, scalings))) end @for_petsc function MatCompositeSetScalings(petsclib::$UnionPetscLib, mat::AbstractPetscMat, scalings::Vector{$PetscScalar} ) @@ -1032,7 +1032,7 @@ See also: `Mat`, `MatDestroy()`, `MatMult()`, `MatCompositeAddMat()`, `MatCreate $(_doc_external("Mat/MatCompositeSetType")) """ function MatCompositeSetType(petsclib::PetscLibType, mat::AbstractPetscMat, type::MatCompositeType) - error("MatCompositeSetType: no generated method for these argument types") + throw(MethodError(MatCompositeSetType, (petsclib, mat, type))) end @for_petsc function MatCompositeSetType(petsclib::$UnionPetscLib, mat::AbstractPetscMat, type::MatCompositeType ) @@ -1069,7 +1069,7 @@ See also: `DMPlexCreate()`, `DMPlexSetConeSize()`, `DMPlexSetChart()` $(_doc_external("Mat/MatComputeBandwidth")) """ function MatComputeBandwidth(petsclib::PetscLibType, A::AbstractPetscMat, fraction::Real) - error("MatComputeBandwidth: no generated method for these argument types") + throw(MethodError(MatComputeBandwidth, (petsclib, A, fraction))) end @for_petsc function MatComputeBandwidth(petsclib::$UnionPetscLib, A::AbstractPetscMat, fraction::$PetscReal ) @@ -1108,7 +1108,7 @@ See also: `Mat`, `MatConvert()`, `MatMult()`, `MatComputeOperatorTranspose()` $(_doc_external("Mat/MatComputeOperator")) """ function MatComputeOperator(petsclib::PetscLibType, inmat::AbstractPetscMat, mattype::String) - error("MatComputeOperator: no generated method for these argument types") + throw(MethodError(MatComputeOperator, (petsclib, inmat, mattype))) end @for_petsc function MatComputeOperator(petsclib::$UnionPetscLib, inmat::AbstractPetscMat, mattype::String ) @@ -1148,7 +1148,7 @@ See also: `Mat`, `MatConvert()`, `MatMult()`, `MatComputeOperator()` $(_doc_external("Mat/MatComputeOperatorTranspose")) """ function MatComputeOperatorTranspose(petsclib::PetscLibType, inmat::AbstractPetscMat, mattype::String) - error("MatComputeOperatorTranspose: no generated method for these argument types") + throw(MethodError(MatComputeOperatorTranspose, (petsclib, inmat, mattype))) end @for_petsc function MatComputeOperatorTranspose(petsclib::$UnionPetscLib, inmat::AbstractPetscMat, mattype::String ) @@ -1184,7 +1184,7 @@ See also: `Mat`, `MatInvertVariableBlockEnvelope()`, `MatSetVariableBlockSizes() $(_doc_external("Mat/MatComputeVariableBlockEnvelope")) """ function MatComputeVariableBlockEnvelope(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatComputeVariableBlockEnvelope: no generated method for these argument types") + throw(MethodError(MatComputeVariableBlockEnvelope, (petsclib, mat))) end @for_petsc function MatComputeVariableBlockEnvelope(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -1217,7 +1217,7 @@ See also: `Mat`, `MatRealPart()`, `MatImaginaryPart()`, `VecConjugate()`, `MatTr $(_doc_external("Mat/MatConjugate")) """ function MatConjugate(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatConjugate: no generated method for these argument types") + throw(MethodError(MatConjugate, (petsclib, mat))) end @for_petsc function MatConjugate(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -1253,7 +1253,7 @@ See also: `Mat`, `MatDestroy()`, `MATCONSTANTDIAGONAL` $(_doc_external("Mat/MatConstantDiagonalGetConstant")) """ function MatConstantDiagonalGetConstant(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatConstantDiagonalGetConstant: no generated method for these argument types") + throw(MethodError(MatConstantDiagonalGetConstant, (petsclib, mat))) end @for_petsc function MatConstantDiagonalGetConstant(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -1297,7 +1297,7 @@ See also: `Mat`, `MatCopy()`, `MatDuplicate()`, `MAT_INITIAL_MATRIX`, `MAT_REUSE $(_doc_external("Mat/MatConvert")) """ function MatConvert(petsclib::PetscLibType, mat::AbstractPetscMat, newtype::String, reuse::MatReuse) - error("MatConvert: no generated method for these argument types") + throw(MethodError(MatConvert, (petsclib, mat, newtype, reuse))) end @for_petsc function MatConvert(petsclib::$UnionPetscLib, mat::AbstractPetscMat, newtype::String, reuse::MatReuse ) @@ -1336,7 +1336,7 @@ See also: `Mat`, `MatConvert()`, `MatDuplicate()` $(_doc_external("Mat/MatCopy")) """ function MatCopy(petsclib::PetscLibType, A::AbstractPetscMat, B::AbstractPetscMat, str::MatStructure) - error("MatCopy: no generated method for these argument types") + throw(MethodError(MatCopy, (petsclib, A, B, str))) end @for_petsc function MatCopy(petsclib::$UnionPetscLib, A::AbstractPetscMat, B::AbstractPetscMat, str::MatStructure ) @@ -1378,7 +1378,7 @@ See also: `Mat`, `MAT_USE_HASH_TABLE` $(_doc_external("Mat/MatCopyHashToXAIJ")) """ function MatCopyHashToXAIJ(petsclib::PetscLibType, A::AbstractPetscMat, B::AbstractPetscMat) - error("MatCopyHashToXAIJ: no generated method for these argument types") + throw(MethodError(MatCopyHashToXAIJ, (petsclib, A, B))) end @for_petsc function MatCopyHashToXAIJ(petsclib::$UnionPetscLib, A::AbstractPetscMat, B::AbstractPetscMat ) @@ -1431,7 +1431,7 @@ See also: `Mat`, `MatCreateSeqAIJ()`, `MatCreateAIJ()`, $(_doc_external("Mat/MatCreate")) """ function MatCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("MatCreate: no generated method for these argument types") + throw(MethodError(MatCreate, (petsclib, comm))) end @for_petsc function MatCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -1502,7 +1502,7 @@ See also: `Mat`, Sparse Matrix Creation, `MatCreate()`, `MatCreateSeqAIJ()`, `Ma $(_doc_external("Mat/MatCreateAIJ")) """ function MatCreateAIJ(petsclib::PetscLibType, comm::MPI_Comm, m::Integer, n::Integer, M_M::Integer, M_N::Integer, d_nz::Integer, d_nnz::Union{Ptr, AbstractVector{<:Number}}, o_nz::Integer, o_nnz::Union{Ptr, AbstractVector{<:Number}}) - error("MatCreateAIJ: no generated method for these argument types") + throw(MethodError(MatCreateAIJ, (petsclib, comm, m, n, M_M, M_N, d_nz, d_nnz, o_nz, o_nnz))) end @for_petsc function MatCreateAIJ(petsclib::$UnionPetscLib, comm::MPI_Comm, m::$PetscInt, n::$PetscInt, M_M::$PetscInt, M_N::$PetscInt, d_nz::$PetscInt, d_nnz::Union{Ptr, Vector{$PetscInt}}, o_nz::$PetscInt, o_nnz::Union{Ptr, Vector{$PetscInt}} ) @@ -1527,7 +1527,7 @@ end $(_doc_external("Mat/MatCreateAIJCUSPARSE")) """ function MatCreateAIJCUSPARSE(petsclib::PetscLibType, comm::MPI_Comm, m::Integer, n::Integer, M_M::Integer, M_N::Integer, d_nz::Integer, d_nnz::AbstractVector{<:Number}, o_nz::Integer, o_nnz::AbstractVector{<:Number}) - error("MatCreateAIJCUSPARSE: no generated method for these argument types") + throw(MethodError(MatCreateAIJCUSPARSE, (petsclib, comm, m, n, M_M, M_N, d_nz, d_nnz, o_nz, o_nnz))) end @for_petsc function MatCreateAIJCUSPARSE(petsclib::$UnionPetscLib, comm::MPI_Comm, m::$PetscInt, n::$PetscInt, M_M::$PetscInt, M_N::$PetscInt, d_nz::$PetscInt, d_nnz::Vector{$PetscInt}, o_nz::$PetscInt, o_nnz::Vector{$PetscInt} ) @@ -1552,7 +1552,7 @@ end $(_doc_external("Mat/MatCreateAIJHIPSPARSE")) """ function MatCreateAIJHIPSPARSE(petsclib::PetscLibType, comm::MPI_Comm, m::Integer, n::Integer, M_M::Integer, M_N::Integer, d_nz::Integer, d_nnz::AbstractVector{<:Number}, o_nz::Integer, o_nnz::AbstractVector{<:Number}) - error("MatCreateAIJHIPSPARSE: no generated method for these argument types") + throw(MethodError(MatCreateAIJHIPSPARSE, (petsclib, comm, m, n, M_M, M_N, d_nz, d_nnz, o_nz, o_nnz))) end @for_petsc function MatCreateAIJHIPSPARSE(petsclib::$UnionPetscLib, comm::MPI_Comm, m::$PetscInt, n::$PetscInt, M_M::$PetscInt, M_N::$PetscInt, d_nz::$PetscInt, d_nnz::Vector{$PetscInt}, o_nz::$PetscInt, o_nnz::Vector{$PetscInt} ) @@ -1577,7 +1577,7 @@ end $(_doc_external("Mat/MatCreateAIJKokkos")) """ function MatCreateAIJKokkos(petsclib::PetscLibType, comm::MPI_Comm, m::Integer, n::Integer, M_M::Integer, M_N::Integer, d_nz::Integer, d_nnz::AbstractVector{<:Number}, o_nz::Integer, o_nnz::AbstractVector{<:Number}) - error("MatCreateAIJKokkos: no generated method for these argument types") + throw(MethodError(MatCreateAIJKokkos, (petsclib, comm, m, n, M_M, M_N, d_nz, d_nnz, o_nz, o_nnz))) end @for_petsc function MatCreateAIJKokkos(petsclib::$UnionPetscLib, comm::MPI_Comm, m::$PetscInt, n::$PetscInt, M_M::$PetscInt, M_N::$PetscInt, d_nz::$PetscInt, d_nnz::Vector{$PetscInt}, o_nz::$PetscInt, o_nnz::Vector{$PetscInt} ) @@ -1602,7 +1602,7 @@ end $(_doc_external("Mat/MatCreateAIJViennaCL")) """ function MatCreateAIJViennaCL(petsclib::PetscLibType, comm::MPI_Comm, m::Integer, n::Integer, M_M::Integer, M_N::Integer, d_nz::Integer, d_nnz::AbstractVector{<:Number}, o_nz::Integer, o_nnz::AbstractVector{<:Number}) - error("MatCreateAIJViennaCL: no generated method for these argument types") + throw(MethodError(MatCreateAIJViennaCL, (petsclib, comm, m, n, M_M, M_N, d_nz, d_nnz, o_nz, o_nnz))) end @for_petsc function MatCreateAIJViennaCL(petsclib::$UnionPetscLib, comm::MPI_Comm, m::$PetscInt, n::$PetscInt, M_M::$PetscInt, M_N::$PetscInt, d_nz::$PetscInt, d_nnz::Vector{$PetscInt}, o_nz::$PetscInt, o_nnz::Vector{$PetscInt} ) @@ -1667,7 +1667,7 @@ See also: `Mat`, `MatCreate()`, `MatCreateSeqBAIJ()`, `MatSetValues()`, `MatMPIB $(_doc_external("Mat/MatCreateBAIJ")) """ function MatCreateBAIJ(petsclib::PetscLibType, comm::MPI_Comm, bs::Integer, m::Integer, n::Integer, M_M::Integer, M_N::Integer, d_nz::Integer, d_nnz::Union{Ptr, AbstractVector{<:Number}}, o_nz::Integer, o_nnz::Union{Ptr, AbstractVector{<:Number}}) - error("MatCreateBAIJ: no generated method for these argument types") + throw(MethodError(MatCreateBAIJ, (petsclib, comm, bs, m, n, M_M, M_N, d_nz, d_nnz, o_nz, o_nnz))) end @for_petsc function MatCreateBAIJ(petsclib::$UnionPetscLib, comm::MPI_Comm, bs::$PetscInt, m::$PetscInt, n::$PetscInt, M_M::$PetscInt, M_N::$PetscInt, d_nz::$PetscInt, d_nnz::Union{Ptr, Vector{$PetscInt}}, o_nz::$PetscInt, o_nnz::Union{Ptr, Vector{$PetscInt}} ) @@ -1730,7 +1730,7 @@ See also: `Mat`, `MATBAIJMKL`, `MATBAIJ`, `MatCreate()`, `MatCreateSeqBAIJMKL()` $(_doc_external("Mat/MatCreateBAIJMKL")) """ function MatCreateBAIJMKL(petsclib::PetscLibType, comm::MPI_Comm, bs::Integer, m::Integer, n::Integer, M_M::Integer, M_N::Integer, d_nz::Integer, d_nnz::Union{Ptr, AbstractVector{<:Number}}, o_nz::Integer, o_nnz::Union{Ptr, AbstractVector{<:Number}}) - error("MatCreateBAIJMKL: no generated method for these argument types") + throw(MethodError(MatCreateBAIJMKL, (petsclib, comm, bs, m, n, M_M, M_N, d_nz, d_nnz, o_nz, o_nnz))) end @for_petsc function MatCreateBAIJMKL(petsclib::$UnionPetscLib, comm::MPI_Comm, bs::$PetscInt, m::$PetscInt, n::$PetscInt, M_M::$PetscInt, M_N::$PetscInt, d_nz::$PetscInt, d_nnz::Union{Ptr, Vector{$PetscInt}}, o_nz::$PetscInt, o_nnz::Union{Ptr, Vector{$PetscInt}} ) @@ -1773,7 +1773,7 @@ See also: `Mat`, `MATBLOCKMAT`, `MatCreateNest()` $(_doc_external("Mat/MatCreateBlockMat")) """ function MatCreateBlockMat(petsclib::PetscLibType, comm::MPI_Comm, m::Integer, n::Integer, bs::Integer, nz::Integer) - error("MatCreateBlockMat: no generated method for these argument types") + throw(MethodError(MatCreateBlockMat, (petsclib, comm, m, n, bs, nz))) end @for_petsc function MatCreateBlockMat(petsclib::$UnionPetscLib, comm::MPI_Comm, m::$PetscInt, n::$PetscInt, bs::$PetscInt, nz::$PetscInt ) @@ -1815,7 +1815,7 @@ See also: `Mat`, `MatCreateLRC()`, `MatCreateComposite()` $(_doc_external("Mat/MatCreateCentering")) """ function MatCreateCentering(petsclib::PetscLibType, comm::MPI_Comm, n::Integer, M_N::Integer) - error("MatCreateCentering: no generated method for these argument types") + throw(MethodError(MatCreateCentering, (petsclib, comm, n, M_N))) end @for_petsc function MatCreateCentering(petsclib::$UnionPetscLib, comm::MPI_Comm, n::$PetscInt, M_N::$PetscInt ) @@ -1861,7 +1861,7 @@ See also: `Mat`, `MatDestroy()`, `MatMult()`, `MatCompositeAddMat()`, `MatCompos $(_doc_external("Mat/MatCreateComposite")) """ function MatCreateComposite(petsclib::PetscLibType, comm::MPI_Comm, nmat::Integer, mats::AbstractPetscMat) - error("MatCreateComposite: no generated method for these argument types") + throw(MethodError(MatCreateComposite, (petsclib, comm, nmat, mats))) end @for_petsc function MatCreateComposite(petsclib::$UnionPetscLib, comm::MPI_Comm, nmat::$PetscInt, mats::AbstractPetscMat ) @@ -1910,7 +1910,7 @@ See also: `Mat`, `MatDestroy()`, `MATCONSTANTDIAGONAL`, `MatScale()`, `MatShift( $(_doc_external("Mat/MatCreateConstantDiagonal")) """ function MatCreateConstantDiagonal(petsclib::PetscLibType, comm::MPI_Comm, m::Integer, n::Integer, M_M::Integer, M_N::Integer, diag::Number) - error("MatCreateConstantDiagonal: no generated method for these argument types") + throw(MethodError(MatCreateConstantDiagonal, (petsclib, comm, m, n, M_M, M_N, diag))) end @for_petsc function MatCreateConstantDiagonal(petsclib::$UnionPetscLib, comm::MPI_Comm, m::$PetscInt, n::$PetscInt, M_M::$PetscInt, M_N::$PetscInt, diag::$PetscScalar ) @@ -1954,7 +1954,7 @@ See also: `Mat`, `MATDENSE`, `MatCreate()`, `MatCreateSeqDense()`, `MatSetValues $(_doc_external("Mat/MatCreateDense")) """ function MatCreateDense(petsclib::PetscLibType, comm::MPI_Comm, m::Integer, n::Integer, M_M::Integer, M_N::Integer, data::Union{Ptr, AbstractVector{<:Number}}) - error("MatCreateDense: no generated method for these argument types") + throw(MethodError(MatCreateDense, (petsclib, comm, m, n, M_M, M_N, data))) end @for_petsc function MatCreateDense(petsclib::$UnionPetscLib, comm::MPI_Comm, m::$PetscInt, n::$PetscInt, M_M::$PetscInt, M_N::$PetscInt, data::Union{Ptr, Vector{$PetscScalar}} ) @@ -1979,7 +1979,7 @@ end $(_doc_external("Mat/MatCreateDenseCUDA")) """ function MatCreateDenseCUDA(petsclib::PetscLibType, comm::MPI_Comm, m::Integer, n::Integer, M_M::Integer, M_N::Integer) - error("MatCreateDenseCUDA: no generated method for these argument types") + throw(MethodError(MatCreateDenseCUDA, (petsclib, comm, m, n, M_M, M_N))) end @for_petsc function MatCreateDenseCUDA(petsclib::$UnionPetscLib, comm::MPI_Comm, m::$PetscInt, n::$PetscInt, M_M::$PetscInt, M_N::$PetscInt ) @@ -2026,7 +2026,7 @@ See also: `Mat`, `MatCreateDense()`, `MatCreateDenseCUDA()`, `MatCreateDenseHIP( $(_doc_external("Mat/MatCreateDenseFromVecType")) """ function MatCreateDenseFromVecType(petsclib::PetscLibType, comm::MPI_Comm, vtype::String, m::Integer, n::Integer, M_M::Integer, M_N::Integer, lda::Integer) - error("MatCreateDenseFromVecType: no generated method for these argument types") + throw(MethodError(MatCreateDenseFromVecType, (petsclib, comm, vtype, m, n, M_M, M_N, lda))) end @for_petsc function MatCreateDenseFromVecType(petsclib::$UnionPetscLib, comm::MPI_Comm, vtype::String, m::$PetscInt, n::$PetscInt, M_M::$PetscInt, M_N::$PetscInt, lda::$PetscInt ) @@ -2053,7 +2053,7 @@ end $(_doc_external("Mat/MatCreateDenseHIP")) """ function MatCreateDenseHIP(petsclib::PetscLibType, comm::MPI_Comm, m::Integer, n::Integer, M_M::Integer, M_N::Integer) - error("MatCreateDenseHIP: no generated method for these argument types") + throw(MethodError(MatCreateDenseHIP, (petsclib, comm, m, n, M_M, M_N))) end @for_petsc function MatCreateDenseHIP(petsclib::$UnionPetscLib, comm::MPI_Comm, m::$PetscInt, n::$PetscInt, M_M::$PetscInt, M_N::$PetscInt ) @@ -2100,7 +2100,7 @@ See also: `Mat`, `MatCreateDense()`, `MatCreateDenseCUDA()`, `MatCreateDenseHIP( $(_doc_external("Mat/MatCreateDenseWithMemType")) """ function MatCreateDenseWithMemType(petsclib::PetscLibType, comm::MPI_Comm, mtype::PetscMemType, m::Integer, n::Integer, M_M::Integer, M_N::Integer, lda::Integer) - error("MatCreateDenseWithMemType: no generated method for these argument types") + throw(MethodError(MatCreateDenseWithMemType, (petsclib, comm, mtype, m, n, M_M, M_N, lda))) end @for_petsc function MatCreateDenseWithMemType(petsclib::$UnionPetscLib, comm::MPI_Comm, mtype::PetscMemType, m::$PetscInt, n::$PetscInt, M_M::$PetscInt, M_N::$PetscInt, lda::$PetscInt ) @@ -2142,7 +2142,7 @@ See also: `Mat`, `MatDestroy()`, `MATDIAGONAL`, `MatScale()`, `MatShift()`, `Mat $(_doc_external("Mat/MatCreateDiagonal")) """ function MatCreateDiagonal(petsclib::PetscLibType, diag::AbstractPetscVec) - error("MatCreateDiagonal: no generated method for these argument types") + throw(MethodError(MatCreateDiagonal, (petsclib, diag))) end @for_petsc function MatCreateDiagonal(petsclib::$UnionPetscLib, diag::AbstractPetscVec ) @@ -2186,7 +2186,7 @@ See also: `Mat`, `MATFFTW`, `MATSEQCUFFT`, `MatCreateVecsFFTW()` $(_doc_external("Mat/MatCreateFFT")) """ function MatCreateFFT(petsclib::PetscLibType, comm::MPI_Comm, ndim::Integer, dim::AbstractVector{<:Number}, mattype::String) - error("MatCreateFFT: no generated method for these argument types") + throw(MethodError(MatCreateFFT, (petsclib, comm, ndim, dim, mattype))) end @for_petsc function MatCreateFFT(petsclib::$UnionPetscLib, comm::MPI_Comm, ndim::$PetscInt, dim::Vector{$PetscInt}, mattype::String ) @@ -2237,7 +2237,7 @@ See also: `Mat`, `MatCreateSeqAIJ()`, `MatCreateAIJ()`, $(_doc_external("Mat/MatCreateFromOptions")) """ function MatCreateFromOptions(petsclib::PetscLibType, comm::MPI_Comm, prefix::String, bs::Integer, m::Integer, n::Integer, M_M::Integer, M_N::Integer) - error("MatCreateFromOptions: no generated method for these argument types") + throw(MethodError(MatCreateFromOptions, (petsclib, comm, prefix, bs, m, n, M_M, M_N))) end @for_petsc function MatCreateFromOptions(petsclib::$UnionPetscLib, comm::MPI_Comm, prefix::String, bs::$PetscInt, m::$PetscInt, n::$PetscInt, M_M::$PetscInt, M_N::$PetscInt ) @@ -2281,7 +2281,7 @@ See also: `Mat`, `MatCreate()`, `PCGAMG` $(_doc_external("Mat/MatCreateGraph")) """ function MatCreateGraph(petsclib::PetscLibType, A::AbstractPetscMat, sym::PetscBool, scale::PetscBool, filter::Real, num_idx::Integer, index::AbstractVector{<:Number}) - error("MatCreateGraph: no generated method for these argument types") + throw(MethodError(MatCreateGraph, (petsclib, A, sym, scale, filter, num_idx, index))) end @for_petsc function MatCreateGraph(petsclib::$UnionPetscLib, A::AbstractPetscMat, sym::PetscBool, scale::PetscBool, filter::$PetscReal, num_idx::$PetscInt, index::Vector{$PetscInt} ) @@ -2306,7 +2306,7 @@ end $(_doc_external("Mat/MatCreateH2OpusFromKernel")) """ function MatCreateH2OpusFromKernel(petsclib::PetscLibType, comm::MPI_Comm, m::Integer, n::Integer, M_M::Integer, M_N::Integer, spacedim::Integer, coords::AbstractVector{<:Number}, cdist::PetscBool, kernel::Ptr{Cvoid}, kernelctx::Ptr{Cvoid}, eta::Real, leafsize::Integer, basisord::Integer) - error("MatCreateH2OpusFromKernel: no generated method for these argument types") + throw(MethodError(MatCreateH2OpusFromKernel, (petsclib, comm, m, n, M_M, M_N, spacedim, coords, cdist, kernel, kernelctx, eta, leafsize, basisord))) end @for_petsc function MatCreateH2OpusFromKernel(petsclib::$UnionPetscLib, comm::MPI_Comm, m::$PetscInt, n::$PetscInt, M_M::$PetscInt, M_N::$PetscInt, spacedim::$PetscInt, coords::Vector{$PetscReal}, cdist::PetscBool, kernel::Ptr{Cvoid}, kernelctx::Ptr{Cvoid}, eta::$PetscReal, leafsize::$PetscInt, basisord::$PetscInt ) @@ -2331,7 +2331,7 @@ end $(_doc_external("Mat/MatCreateH2OpusFromMat")) """ function MatCreateH2OpusFromMat(petsclib::PetscLibType, B::AbstractPetscMat, spacedim::Integer, coords::AbstractVector{<:Number}, cdist::PetscBool, eta::Real, leafsize::Integer, maxrank::Integer, bs::Integer, rtol::Real) - error("MatCreateH2OpusFromMat: no generated method for these argument types") + throw(MethodError(MatCreateH2OpusFromMat, (petsclib, B, spacedim, coords, cdist, eta, leafsize, maxrank, bs, rtol))) end @for_petsc function MatCreateH2OpusFromMat(petsclib::$UnionPetscLib, B::AbstractPetscMat, spacedim::$PetscInt, coords::Vector{$PetscReal}, cdist::PetscBool, eta::$PetscReal, leafsize::$PetscInt, maxrank::$PetscInt, bs::$PetscInt, rtol::$PetscReal ) @@ -2370,7 +2370,7 @@ See also: `Mat`, `MatCreateNormal()`, `MatMult()`, `MatMultHermitianTranspose()` $(_doc_external("Mat/MatCreateHermitianTranspose")) """ function MatCreateHermitianTranspose(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatCreateHermitianTranspose: no generated method for these argument types") + throw(MethodError(MatCreateHermitianTranspose, (petsclib, A))) end @for_petsc function MatCreateHermitianTranspose(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -2395,7 +2395,7 @@ end $(_doc_external("Mat/MatCreateHtoolFromKernel")) """ function MatCreateHtoolFromKernel(petsclib::PetscLibType, comm::MPI_Comm, m::Integer, n::Integer, M_M::Integer, M_N::Integer, spacedim::Integer, coords_target::AbstractVector{<:Number}, coords_source::AbstractVector{<:Number}, kernel::Ptr{Cvoid}, kernelctx::Ptr{Cvoid}) - error("MatCreateHtoolFromKernel: no generated method for these argument types") + throw(MethodError(MatCreateHtoolFromKernel, (petsclib, comm, m, n, M_M, M_N, spacedim, coords_target, coords_source, kernel, kernelctx))) end @for_petsc function MatCreateHtoolFromKernel(petsclib::$UnionPetscLib, comm::MPI_Comm, m::$PetscInt, n::$PetscInt, M_M::$PetscInt, M_N::$PetscInt, spacedim::$PetscInt, coords_target::Vector{$PetscReal}, coords_source::Vector{$PetscReal}, kernel::Ptr{Cvoid}, kernelctx::Ptr{Cvoid} ) @@ -2440,7 +2440,7 @@ See also: `Mat`, `MATIS`, `MatSetLocalToGlobalMapping()` $(_doc_external("Mat/MatCreateIS")) """ function MatCreateIS(petsclib::PetscLibType, comm::MPI_Comm, bs::Integer, m::Integer, n::Integer, M_M::Integer, M_N::Integer, rmap::ISLocalToGlobalMapping, cmap::ISLocalToGlobalMapping) - error("MatCreateIS: no generated method for these argument types") + throw(MethodError(MatCreateIS, (petsclib, comm, bs, m, n, M_M, M_N, rmap, cmap))) end @for_petsc function MatCreateIS(petsclib::$UnionPetscLib, comm::MPI_Comm, bs::$PetscInt, m::$PetscInt, n::$PetscInt, M_M::$PetscInt, M_N::$PetscInt, rmap::ISLocalToGlobalMapping, cmap::ISLocalToGlobalMapping ) @@ -2482,7 +2482,7 @@ See also: `Mat`, `MatKAIJSetAIJ()`, `MatKAIJSetS()`, `MatKAIJSetT()`, `MatKAIJGe $(_doc_external("Mat/MatCreateKAIJ")) """ function MatCreateKAIJ(petsclib::PetscLibType, A::AbstractPetscMat, p::Integer, q::Integer, S::Union{Ptr, AbstractVector{<:Number}}, T::Union{Ptr, AbstractVector{<:Number}}) - error("MatCreateKAIJ: no generated method for these argument types") + throw(MethodError(MatCreateKAIJ, (petsclib, A, p, q, S, T))) end @for_petsc function MatCreateKAIJ(petsclib::$UnionPetscLib, A::AbstractPetscMat, p::$PetscInt, q::$PetscInt, S::Union{Ptr, Vector{$PetscScalar}}, T::Union{Ptr, Vector{$PetscScalar}} ) @@ -2539,7 +2539,7 @@ See also: `MatCreate()`, `MATLMVM`, `MATLMVMBFGS`, `MatCreateLMVMDFP()`, `MatCre $(_doc_external("KSP/MatCreateLMVMBFGS")) """ function MatCreateLMVMBFGS(petsclib::PetscLibType, comm::MPI_Comm, n::Integer, M_N::Integer) - error("MatCreateLMVMBFGS: no generated method for these argument types") + throw(MethodError(MatCreateLMVMBFGS, (petsclib, comm, n, M_N))) end @for_petsc function MatCreateLMVMBFGS(petsclib::$UnionPetscLib, comm::MPI_Comm, n::$PetscInt, M_N::$PetscInt ) @@ -2593,7 +2593,7 @@ See also: `MatCreate()`, `MATLMVM`, `MATLMVMBADBRDN`, `MatCreateLMVMDFP()`, `Mat $(_doc_external("KSP/MatCreateLMVMBadBroyden")) """ function MatCreateLMVMBadBroyden(petsclib::PetscLibType, comm::MPI_Comm, n::Integer, M_N::Integer) - error("MatCreateLMVMBadBroyden: no generated method for these argument types") + throw(MethodError(MatCreateLMVMBadBroyden, (petsclib, comm, n, M_N))) end @for_petsc function MatCreateLMVMBadBroyden(petsclib::$UnionPetscLib, comm::MPI_Comm, n::$PetscInt, M_N::$PetscInt ) @@ -2647,7 +2647,7 @@ See also: `MatCreate()`, `MATLMVM`, `MATLMVMBRDN`, `MatCreateLMVMDFP()`, `MatCre $(_doc_external("KSP/MatCreateLMVMBroyden")) """ function MatCreateLMVMBroyden(petsclib::PetscLibType, comm::MPI_Comm, n::Integer, M_N::Integer) - error("MatCreateLMVMBroyden: no generated method for these argument types") + throw(MethodError(MatCreateLMVMBroyden, (petsclib, comm, n, M_N))) end @for_petsc function MatCreateLMVMBroyden(petsclib::$UnionPetscLib, comm::MPI_Comm, n::$PetscInt, M_N::$PetscInt ) @@ -2688,7 +2688,7 @@ See also: `MatCreate()`, `MATLMVM`, `MATLMVMDBFGS`, `MatCreateLMVMBFGS()` $(_doc_external("KSP/MatCreateLMVMDBFGS")) """ function MatCreateLMVMDBFGS(petsclib::PetscLibType, comm::MPI_Comm, n::Integer, M_N::Integer) - error("MatCreateLMVMDBFGS: no generated method for these argument types") + throw(MethodError(MatCreateLMVMDBFGS, (petsclib, comm, n, M_N))) end @for_petsc function MatCreateLMVMDBFGS(petsclib::$UnionPetscLib, comm::MPI_Comm, n::$PetscInt, M_N::$PetscInt ) @@ -2729,7 +2729,7 @@ See also: `MatCreate()`, `MATLMVM`, `MATLMVMDDFP`, `MatCreateLMVMDFP()` $(_doc_external("KSP/MatCreateLMVMDDFP")) """ function MatCreateLMVMDDFP(petsclib::PetscLibType, comm::MPI_Comm, n::Integer, M_N::Integer) - error("MatCreateLMVMDDFP: no generated method for these argument types") + throw(MethodError(MatCreateLMVMDDFP, (petsclib, comm, n, M_N))) end @for_petsc function MatCreateLMVMDDFP(petsclib::$UnionPetscLib, comm::MPI_Comm, n::$PetscInt, M_N::$PetscInt ) @@ -2785,7 +2785,7 @@ See also: `MatCreate()`, `MATLMVM`, `MATLMVMDFP`, `MatCreateLMVMBFGS()`, `MatCre $(_doc_external("KSP/MatCreateLMVMDFP")) """ function MatCreateLMVMDFP(petsclib::PetscLibType, comm::MPI_Comm, n::Integer, M_N::Integer) - error("MatCreateLMVMDFP: no generated method for these argument types") + throw(MethodError(MatCreateLMVMDFP, (petsclib, comm, n, M_N))) end @for_petsc function MatCreateLMVMDFP(petsclib::$UnionPetscLib, comm::MPI_Comm, n::$PetscInt, M_N::$PetscInt ) @@ -2826,7 +2826,7 @@ See also: `MatCreate()`, `MATLMVM`, `MATLMVMDBFGS`, `MATLMVMDDFP`, `MatCreateLMV $(_doc_external("KSP/MatCreateLMVMDQN")) """ function MatCreateLMVMDQN(petsclib::PetscLibType, comm::MPI_Comm, n::Integer, M_N::Integer) - error("MatCreateLMVMDQN: no generated method for these argument types") + throw(MethodError(MatCreateLMVMDQN, (petsclib, comm, n, M_N))) end @for_petsc function MatCreateLMVMDQN(petsclib::$UnionPetscLib, comm::MPI_Comm, n::$PetscInt, M_N::$PetscInt ) @@ -2877,7 +2877,7 @@ See also: `MatCreate()`, `MATLMVM`, `MATLMVMDIAGBRDN`, `MatCreateLMVMDFP()`, `Ma $(_doc_external("KSP/MatCreateLMVMDiagBroyden")) """ function MatCreateLMVMDiagBroyden(petsclib::PetscLibType, comm::MPI_Comm, n::Integer, M_N::Integer) - error("MatCreateLMVMDiagBroyden: no generated method for these argument types") + throw(MethodError(MatCreateLMVMDiagBroyden, (petsclib, comm, n, M_N))) end @for_petsc function MatCreateLMVMDiagBroyden(petsclib::$UnionPetscLib, comm::MPI_Comm, n::$PetscInt, M_N::$PetscInt ) @@ -2932,7 +2932,7 @@ See also: `MatCreate()`, `MATLMVM`, `MATLMVMSR1`, `MatCreateLMVMBFGS()`, `MatCre $(_doc_external("KSP/MatCreateLMVMSR1")) """ function MatCreateLMVMSR1(petsclib::PetscLibType, comm::MPI_Comm, n::Integer, M_N::Integer) - error("MatCreateLMVMSR1: no generated method for these argument types") + throw(MethodError(MatCreateLMVMSR1, (petsclib, comm, n, M_N))) end @for_petsc function MatCreateLMVMSR1(petsclib::$UnionPetscLib, comm::MPI_Comm, n::$PetscInt, M_N::$PetscInt ) @@ -2988,7 +2988,7 @@ See also: LMVM Matrices, `MatCreate()`, `MATLMVM`, `MATLMVMSYMBROYDEN`, `MatCrea $(_doc_external("KSP/MatCreateLMVMSymBadBroyden")) """ function MatCreateLMVMSymBadBroyden(petsclib::PetscLibType, comm::MPI_Comm, n::Integer, M_N::Integer) - error("MatCreateLMVMSymBadBroyden: no generated method for these argument types") + throw(MethodError(MatCreateLMVMSymBadBroyden, (petsclib, comm, n, M_N))) end @for_petsc function MatCreateLMVMSymBadBroyden(petsclib::$UnionPetscLib, comm::MPI_Comm, n::$PetscInt, M_N::$PetscInt ) @@ -3044,7 +3044,7 @@ See also: `MatCreate()`, `MATLMVM`, `MATLMVMSYMBROYDEN`, `MatCreateLMVMDFP()`, ` $(_doc_external("KSP/MatCreateLMVMSymBroyden")) """ function MatCreateLMVMSymBroyden(petsclib::PetscLibType, comm::MPI_Comm, n::Integer, M_N::Integer) - error("MatCreateLMVMSymBroyden: no generated method for these argument types") + throw(MethodError(MatCreateLMVMSymBroyden, (petsclib, comm, n, M_N))) end @for_petsc function MatCreateLMVMSymBroyden(petsclib::$UnionPetscLib, comm::MPI_Comm, n::$PetscInt, M_N::$PetscInt ) @@ -3085,7 +3085,7 @@ See also: `Mat`, `MATLRC`, `MatLRCGetMats()` $(_doc_external("Mat/MatCreateLRC")) """ function MatCreateLRC(petsclib::PetscLibType, A::AbstractPetscMat, U::AbstractPetscMat, c::Union{Ptr, AbstractPetscVec}, V::AbstractPetscMat) - error("MatCreateLRC: no generated method for these argument types") + throw(MethodError(MatCreateLRC, (petsclib, A, U, c, V))) end @for_petsc function MatCreateLRC(petsclib::$UnionPetscLib, A::AbstractPetscMat, U::AbstractPetscMat, c::Union{Ptr, AbstractPetscVec}, V::AbstractPetscMat ) @@ -3123,7 +3123,7 @@ See also: `MatFilter()`, `MatGetGraph()` $(_doc_external("MatGraphOperations/MatCreateLaplacian")) """ function MatCreateLaplacian(petsclib::PetscLibType, A::AbstractPetscMat, tol::Real, weighted::PetscBool) - error("MatCreateLaplacian: no generated method for these argument types") + throw(MethodError(MatCreateLaplacian, (petsclib, A, tol, weighted))) end @for_petsc function MatCreateLaplacian(petsclib::$UnionPetscLib, A::AbstractPetscMat, tol::$PetscReal, weighted::PetscBool ) @@ -3163,7 +3163,7 @@ See also: `Mat`, `MATSUBMATRIX`, `MatCreateSubMatrixVirtual()`, `MatSetValuesLoc $(_doc_external("Mat/MatCreateLocalRef")) """ function MatCreateLocalRef(petsclib::PetscLibType, A::AbstractPetscMat, isrow::AbstractIS, iscol::AbstractIS) - error("MatCreateLocalRef: no generated method for these argument types") + throw(MethodError(MatCreateLocalRef, (petsclib, A, isrow, iscol))) end @for_petsc function MatCreateLocalRef(petsclib::$UnionPetscLib, A::AbstractPetscMat, isrow::AbstractIS, iscol::AbstractIS ) @@ -3205,7 +3205,7 @@ See also: `Mat`, `MATAIJ`, `MATMAIJ`, `MatMAIJGetAIJ()`, `MatMAIJRedimension()` $(_doc_external("Mat/MatCreateMAIJ")) """ function MatCreateMAIJ(petsclib::PetscLibType, A::AbstractPetscMat, dof::Integer) - error("MatCreateMAIJ: no generated method for these argument types") + throw(MethodError(MatCreateMAIJ, (petsclib, A, dof))) end @for_petsc function MatCreateMAIJ(petsclib::$UnionPetscLib, A::AbstractPetscMat, dof::$PetscInt ) @@ -3266,7 +3266,7 @@ See also: `Mat`, `MATMFFD`, `MatDestroy()`, `MatMFFDSetFunctionError()`, `MatMFF $(_doc_external("Mat/MatCreateMFFD")) """ function MatCreateMFFD(petsclib::PetscLibType, comm::MPI_Comm, m::Integer, n::Integer, M_M::Integer, M_N::Integer) - error("MatCreateMFFD: no generated method for these argument types") + throw(MethodError(MatCreateMFFD, (petsclib, comm, m, n, M_M, M_N))) end @for_petsc function MatCreateMFFD(petsclib::$UnionPetscLib, comm::MPI_Comm, m::$PetscInt, n::$PetscInt, M_M::$PetscInt, M_N::$PetscInt ) @@ -3310,7 +3310,7 @@ See also: `Mat`, Sparse Matrix Creation, `MATAIJ`, `MATAIJSELL`, `MATAIJPERM`, ` $(_doc_external("Mat/MatCreateMPIAIJCRL")) """ function MatCreateMPIAIJCRL(petsclib::PetscLibType, comm::MPI_Comm, m::Integer, n::Integer, nz::Integer, nnz::AbstractVector{<:Number}, onz::Integer, onnz::AbstractVector{<:Number}) - error("MatCreateMPIAIJCRL: no generated method for these argument types") + throw(MethodError(MatCreateMPIAIJCRL, (petsclib, comm, m, n, nz, nnz, onz, onnz))) end @for_petsc function MatCreateMPIAIJCRL(petsclib::$UnionPetscLib, comm::MPI_Comm, m::$PetscInt, n::$PetscInt, nz::$PetscInt, nnz::Vector{$PetscInt}, onz::$PetscInt, onnz::Vector{$PetscInt} ) @@ -3378,7 +3378,7 @@ See also: `Mat`, Sparse Matrix Creation, `MATMPIAIJMKL`, `MatCreate()`, `MatCrea $(_doc_external("Mat/MatCreateMPIAIJMKL")) """ function MatCreateMPIAIJMKL(petsclib::PetscLibType, comm::MPI_Comm, m::Integer, n::Integer, M_M::Integer, M_N::Integer, d_nz::Integer, d_nnz::AbstractVector{<:Number}, o_nz::Integer, o_nnz::AbstractVector{<:Number}) - error("MatCreateMPIAIJMKL: no generated method for these argument types") + throw(MethodError(MatCreateMPIAIJMKL, (petsclib, comm, m, n, M_M, M_N, d_nz, d_nnz, o_nz, o_nnz))) end @for_petsc function MatCreateMPIAIJMKL(petsclib::$UnionPetscLib, comm::MPI_Comm, m::$PetscInt, n::$PetscInt, M_M::$PetscInt, M_N::$PetscInt, d_nz::$PetscInt, d_nnz::Vector{$PetscInt}, o_nz::$PetscInt, o_nnz::Vector{$PetscInt} ) @@ -3446,7 +3446,7 @@ See also: `Mat`, Sparse Matrix Creation, `MATMPIAIJPERM`, `MatCreate()`, `MatCre $(_doc_external("Mat/MatCreateMPIAIJPERM")) """ function MatCreateMPIAIJPERM(petsclib::PetscLibType, comm::MPI_Comm, m::Integer, n::Integer, M_M::Integer, M_N::Integer, d_nz::Integer, d_nnz::Union{Ptr, AbstractVector{<:Number}}, o_nz::Integer, o_nnz::Union{Ptr, AbstractVector{<:Number}}) - error("MatCreateMPIAIJPERM: no generated method for these argument types") + throw(MethodError(MatCreateMPIAIJPERM, (petsclib, comm, m, n, M_M, M_N, d_nz, d_nnz, o_nz, o_nnz))) end @for_petsc function MatCreateMPIAIJPERM(petsclib::$UnionPetscLib, comm::MPI_Comm, m::$PetscInt, n::$PetscInt, M_M::$PetscInt, M_N::$PetscInt, d_nz::$PetscInt, d_nnz::Union{Ptr, Vector{$PetscInt}}, o_nz::$PetscInt, o_nnz::Union{Ptr, Vector{$PetscInt}} ) @@ -3513,7 +3513,7 @@ See also: `Mat`, Sparse Matrix Creation, `MATSEQAIJSELL`, `MATMPIAIJSELL`, `MATA $(_doc_external("Mat/MatCreateMPIAIJSELL")) """ function MatCreateMPIAIJSELL(petsclib::PetscLibType, comm::MPI_Comm, m::Integer, n::Integer, M_M::Integer, M_N::Integer, d_nz::Integer, d_nnz::AbstractVector{<:Number}, o_nz::Integer, o_nnz::AbstractVector{<:Number}) - error("MatCreateMPIAIJSELL: no generated method for these argument types") + throw(MethodError(MatCreateMPIAIJSELL, (petsclib, comm, m, n, M_M, M_N, d_nz, d_nnz, o_nz, o_nnz))) end @for_petsc function MatCreateMPIAIJSELL(petsclib::$UnionPetscLib, comm::MPI_Comm, m::$PetscInt, n::$PetscInt, M_M::$PetscInt, M_N::$PetscInt, d_nz::$PetscInt, d_nnz::Vector{$PetscInt}, o_nz::$PetscInt, o_nnz::Vector{$PetscInt} ) @@ -3556,7 +3556,7 @@ See also: `Mat`, `MatCreateAIJ()` $(_doc_external("Mat/MatCreateMPIAIJSumSeqAIJ")) """ function MatCreateMPIAIJSumSeqAIJ(petsclib::PetscLibType, comm::MPI_Comm, seqmat::AbstractPetscMat, m::Integer, n::Integer, scall::MatReuse) - error("MatCreateMPIAIJSumSeqAIJ: no generated method for these argument types") + throw(MethodError(MatCreateMPIAIJSumSeqAIJ, (petsclib, comm, seqmat, m, n, scall))) end @for_petsc function MatCreateMPIAIJSumSeqAIJ(petsclib::$UnionPetscLib, comm::MPI_Comm, seqmat::AbstractPetscMat, m::$PetscInt, n::$PetscInt, scall::MatReuse ) @@ -3593,7 +3593,7 @@ See also: `Mat`, `MATMPIAIJ`, `MATSEQAIJ`, `MatCreateMPIAIJSumSeqAIJSymbolic()`, $(_doc_external("Mat/MatCreateMPIAIJSumSeqAIJNumeric")) """ function MatCreateMPIAIJSumSeqAIJNumeric(petsclib::PetscLibType, seqmat::AbstractPetscMat, mpimat::AbstractPetscMat) - error("MatCreateMPIAIJSumSeqAIJNumeric: no generated method for these argument types") + throw(MethodError(MatCreateMPIAIJSumSeqAIJNumeric, (petsclib, seqmat, mpimat))) end @for_petsc function MatCreateMPIAIJSumSeqAIJNumeric(petsclib::$UnionPetscLib, seqmat::AbstractPetscMat, mpimat::AbstractPetscMat ) @@ -3633,7 +3633,7 @@ See also: `Mat`, `MATMPIAIJ`, `MATSEQAIJ`, `MatCreateMPIAIJSumSeqAIJNumeric()`, $(_doc_external("Mat/MatCreateMPIAIJSumSeqAIJSymbolic")) """ function MatCreateMPIAIJSumSeqAIJSymbolic(petsclib::PetscLibType, comm::MPI_Comm, seqmat::AbstractPetscMat, m::Integer, n::Integer) - error("MatCreateMPIAIJSumSeqAIJSymbolic: no generated method for these argument types") + throw(MethodError(MatCreateMPIAIJSumSeqAIJSymbolic, (petsclib, comm, seqmat, m, n))) end @for_petsc function MatCreateMPIAIJSumSeqAIJSymbolic(petsclib::$UnionPetscLib, comm::MPI_Comm, seqmat::AbstractPetscMat, m::$PetscInt, n::$PetscInt ) @@ -3682,7 +3682,7 @@ See also: `Mat`, `MatCreate()`, `MatCreateSeqAIJ()`, `MatSetValues()`, `MatMPIAI $(_doc_external("Mat/MatCreateMPIAIJWithArrays")) """ function MatCreateMPIAIJWithArrays(petsclib::PetscLibType, comm::MPI_Comm, m::Integer, n::Integer, M_M::Integer, M_N::Integer, i::AbstractVector{<:Number}, j::AbstractVector{<:Number}, a::AbstractVector{<:Number}) - error("MatCreateMPIAIJWithArrays: no generated method for these argument types") + throw(MethodError(MatCreateMPIAIJWithArrays, (petsclib, comm, m, n, M_M, M_N, i, j, a))) end @for_petsc function MatCreateMPIAIJWithArrays(petsclib::$UnionPetscLib, comm::MPI_Comm, m::$PetscInt, n::$PetscInt, M_M::$PetscInt, M_N::$PetscInt, i::Vector{$PetscInt}, j::Vector{$PetscInt}, a::Vector{$PetscScalar} ) @@ -3726,7 +3726,7 @@ See also: `Mat`, `MATMPIAIJ`, `MATSEQAIJ`, `MatCreateMPIAIJWithSplitArrays()` $(_doc_external("Mat/MatCreateMPIAIJWithSeqAIJ")) """ function MatCreateMPIAIJWithSeqAIJ(petsclib::PetscLibType, comm::MPI_Comm, M::Integer, N::Integer, A::AbstractPetscMat, B::AbstractPetscMat) - error("MatCreateMPIAIJWithSeqAIJ: no generated method for these argument types") + throw(MethodError(MatCreateMPIAIJWithSeqAIJ, (petsclib, comm, M, N, A, B))) end @for_petsc function MatCreateMPIAIJWithSeqAIJ(petsclib::$UnionPetscLib, comm::MPI_Comm, M::$PetscInt, N::$PetscInt, A::AbstractPetscMat, B::AbstractPetscMat ) @@ -3780,7 +3780,7 @@ See also: `Mat`, `MatCreate()`, `MatCreateSeqAIJ()`, `MatSetValues()`, `MatMPIAI $(_doc_external("Mat/MatCreateMPIAIJWithSplitArrays")) """ function MatCreateMPIAIJWithSplitArrays(petsclib::PetscLibType, comm::MPI_Comm, m::Integer, n::Integer, M_M::Integer, M_N::Integer, i::AbstractVector{<:Number}, j::AbstractVector{<:Number}, a::AbstractVector{<:Number}, oi::AbstractVector{<:Number}, oj::AbstractVector{<:Number}, oa::AbstractVector{<:Number}) - error("MatCreateMPIAIJWithSplitArrays: no generated method for these argument types") + throw(MethodError(MatCreateMPIAIJWithSplitArrays, (petsclib, comm, m, n, M_M, M_N, i, j, a, oi, oj, oa))) end @for_petsc function MatCreateMPIAIJWithSplitArrays(petsclib::$UnionPetscLib, comm::MPI_Comm, m::$PetscInt, n::$PetscInt, M_M::$PetscInt, M_N::$PetscInt, i::Vector{$PetscInt}, j::Vector{$PetscInt}, a::Vector{$PetscScalar}, oi::Vector{$PetscInt}, oj::Vector{$PetscInt}, oa::Vector{$PetscScalar} ) @@ -3825,7 +3825,7 @@ See also: `Mat`, `MatCreate()`, `MatConvert()`, `MatGetOrdering()`, `MATMPIADJ`, $(_doc_external("Mat/MatCreateMPIAdj")) """ function MatCreateMPIAdj(petsclib::PetscLibType, comm::MPI_Comm, m::Integer, N::Integer, i::AbstractVector{<:Number}, j::AbstractVector{<:Number}, values::Union{Ptr, AbstractVector{<:Number}}) - error("MatCreateMPIAdj: no generated method for these argument types") + throw(MethodError(MatCreateMPIAdj, (petsclib, comm, m, N, i, j, values))) end @for_petsc function MatCreateMPIAdj(petsclib::$UnionPetscLib, comm::MPI_Comm, m::$PetscInt, N::$PetscInt, i::Vector{$PetscInt}, j::Vector{$PetscInt}, values::Union{Ptr, Vector{$PetscInt}} ) @@ -3874,7 +3874,7 @@ See also: `Mat`, `MatCreate()`, `MatCreateSeqAIJ()`, `MatSetValues()`, `MatMPIAI $(_doc_external("Mat/MatCreateMPIBAIJWithArrays")) """ function MatCreateMPIBAIJWithArrays(petsclib::PetscLibType, comm::MPI_Comm, bs::Integer, m::Integer, n::Integer, M_M::Integer, M_N::Integer, i::AbstractVector{<:Number}, j::AbstractVector{<:Number}, a::AbstractVector{<:Number}) - error("MatCreateMPIBAIJWithArrays: no generated method for these argument types") + throw(MethodError(MatCreateMPIBAIJWithArrays, (petsclib, comm, bs, m, n, M_M, M_N, i, j, a))) end @for_petsc function MatCreateMPIBAIJWithArrays(petsclib::$UnionPetscLib, comm::MPI_Comm, bs::$PetscInt, m::$PetscInt, n::$PetscInt, M_M::$PetscInt, M_N::$PetscInt, i::Vector{$PetscInt}, j::Vector{$PetscInt}, a::Vector{$PetscScalar} ) @@ -3916,7 +3916,7 @@ See also: `Mat` $(_doc_external("Mat/MatCreateMPIMatConcatenateSeqMat")) """ function MatCreateMPIMatConcatenateSeqMat(petsclib::PetscLibType, comm::MPI_Comm, seqmat::AbstractPetscMat, n::Integer, reuse::MatReuse) - error("MatCreateMPIMatConcatenateSeqMat: no generated method for these argument types") + throw(MethodError(MatCreateMPIMatConcatenateSeqMat, (petsclib, comm, seqmat, n, reuse))) end @for_petsc function MatCreateMPIMatConcatenateSeqMat(petsclib::$UnionPetscLib, comm::MPI_Comm, seqmat::AbstractPetscMat, n::$PetscInt, reuse::MatReuse ) @@ -3965,7 +3965,7 @@ See also: `Mat`, `MATMPISBAIJ`, `MatCreate()`, `MatCreateSeqAIJ()`, `MatSetValue $(_doc_external("Mat/MatCreateMPISBAIJWithArrays")) """ function MatCreateMPISBAIJWithArrays(petsclib::PetscLibType, comm::MPI_Comm, bs::Integer, m::Integer, n::Integer, M_M::Integer, M_N::Integer, i::AbstractVector{<:Number}, j::AbstractVector{<:Number}, a::AbstractVector{<:Number}) - error("MatCreateMPISBAIJWithArrays: no generated method for these argument types") + throw(MethodError(MatCreateMPISBAIJWithArrays, (petsclib, comm, bs, m, n, M_M, M_N, i, j, a))) end @for_petsc function MatCreateMPISBAIJWithArrays(petsclib::$UnionPetscLib, comm::MPI_Comm, bs::$PetscInt, m::$PetscInt, n::$PetscInt, M_M::$PetscInt, M_N::$PetscInt, i::Vector{$PetscInt}, j::Vector{$PetscInt}, a::Vector{$PetscScalar} ) @@ -4010,7 +4010,7 @@ See also: `Mat`, `MATNEST`, `MatCreate()`, `VecCreateNest()`, `DMCreateMatrix()` $(_doc_external("Mat/MatCreateNest")) """ function MatCreateNest(petsclib::PetscLibType, comm::MPI_Comm, nr::Integer, is_row::Vector{<:AbstractIS}, nc::Integer, is_col::Vector{<:AbstractIS}, a::Vector{<:AbstractPetscMat}) - error("MatCreateNest: no generated method for these argument types") + throw(MethodError(MatCreateNest, (petsclib, comm, nr, is_row, nc, is_col, a))) end @for_petsc function MatCreateNest(petsclib::$UnionPetscLib, comm::MPI_Comm, nr::$PetscInt, is_row::Vector{<:AbstractIS}, nc::$PetscInt, is_col::Vector{<:AbstractIS}, a::Vector{<:AbstractPetscMat} ) @@ -4048,7 +4048,7 @@ See also: `Mat`, `MATNORMAL`, `MatMult()`, `MatNormalGetMat()`, `MATNORMALHERMIT $(_doc_external("Mat/MatCreateNormal")) """ function MatCreateNormal(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatCreateNormal: no generated method for these argument types") + throw(MethodError(MatCreateNormal, (petsclib, A))) end @for_petsc function MatCreateNormal(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -4086,7 +4086,7 @@ See also: `Mat`, `MATNORMAL`, `MATNORMALHERMITIAN`, `MatNormalHermitianGetMat()` $(_doc_external("Mat/MatCreateNormalHermitian")) """ function MatCreateNormalHermitian(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatCreateNormalHermitian: no generated method for these argument types") + throw(MethodError(MatCreateNormalHermitian, (petsclib, A))) end @for_petsc function MatCreateNormalHermitian(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -4127,7 +4127,7 @@ See also: `Mat`, `MatDestroy()`, `PetscSubcommCreate()`, `PetscSubcomm` $(_doc_external("Mat/MatCreateRedundantMatrix")) """ function MatCreateRedundantMatrix(petsclib::PetscLibType, mat::AbstractPetscMat, nsubcomm::Integer, subcomm::MPI_Comm, reuse::MatReuse) - error("MatCreateRedundantMatrix: no generated method for these argument types") + throw(MethodError(MatCreateRedundantMatrix, (petsclib, mat, nsubcomm, subcomm, reuse))) end @for_petsc function MatCreateRedundantMatrix(petsclib::$UnionPetscLib, mat::AbstractPetscMat, nsubcomm::$PetscInt, subcomm::MPI_Comm, reuse::MatReuse ) @@ -4198,7 +4198,7 @@ See also: `Mat`, `MATSBAIJ`, `MatCreate()`, `MatCreateSeqSBAIJ()`, `MatSetValues $(_doc_external("Mat/MatCreateSBAIJ")) """ function MatCreateSBAIJ(petsclib::PetscLibType, comm::MPI_Comm, bs::Integer, m::Integer, n::Integer, M_M::Integer, M_N::Integer, d_nz::Integer, d_nnz::Union{Ptr, AbstractVector{<:Number}}, o_nz::Integer, o_nnz::Union{Ptr, AbstractVector{<:Number}}) - error("MatCreateSBAIJ: no generated method for these argument types") + throw(MethodError(MatCreateSBAIJ, (petsclib, comm, bs, m, n, M_M, M_N, d_nz, d_nnz, o_nz, o_nnz))) end @for_petsc function MatCreateSBAIJ(petsclib::$UnionPetscLib, comm::MPI_Comm, bs::$PetscInt, m::$PetscInt, n::$PetscInt, M_M::$PetscInt, M_N::$PetscInt, d_nz::$PetscInt, d_nnz::Union{Ptr, Vector{$PetscInt}}, o_nz::$PetscInt, o_nnz::Union{Ptr, Vector{$PetscInt}} ) @@ -4329,7 +4329,7 @@ See also: `Mat`, `MATSELL`, `MatCreate()`, `MatCreateSeqSELL()`, `MatSetValues() $(_doc_external("Mat/MatCreateSELL")) """ function MatCreateSELL(petsclib::PetscLibType, comm::MPI_Comm, m::Integer, n::Integer, M_M::Integer, M_N::Integer, d_rlenmax::Integer, d_rlen::Union{Ptr, AbstractVector{<:Number}}, o_rlenmax::Integer, o_rlen::Union{Ptr, AbstractVector{<:Number}}) - error("MatCreateSELL: no generated method for these argument types") + throw(MethodError(MatCreateSELL, (petsclib, comm, m, n, M_M, M_N, d_rlenmax, d_rlen, o_rlenmax, o_rlen))) end @for_petsc function MatCreateSELL(petsclib::$UnionPetscLib, comm::MPI_Comm, m::$PetscInt, n::$PetscInt, M_M::$PetscInt, M_N::$PetscInt, d_rlenmax::$PetscInt, d_rlen::Union{Ptr, Vector{$PetscInt}}, o_rlenmax::$PetscInt, o_rlen::Union{Ptr, Vector{$PetscInt}} ) @@ -4354,7 +4354,7 @@ end $(_doc_external("Mat/MatCreateSELLCUDA")) """ function MatCreateSELLCUDA(petsclib::PetscLibType, comm::MPI_Comm, m::Integer, n::Integer, M_M::Integer, M_N::Integer, d_nz::Integer, d_nnz::AbstractVector{<:Number}, o_nz::Integer, o_nnz::AbstractVector{<:Number}) - error("MatCreateSELLCUDA: no generated method for these argument types") + throw(MethodError(MatCreateSELLCUDA, (petsclib, comm, m, n, M_M, M_N, d_nz, d_nnz, o_nz, o_nnz))) end @for_petsc function MatCreateSELLCUDA(petsclib::$UnionPetscLib, comm::MPI_Comm, m::$PetscInt, n::$PetscInt, M_M::$PetscInt, M_N::$PetscInt, d_nz::$PetscInt, d_nnz::Vector{$PetscInt}, o_nz::$PetscInt, o_nnz::Vector{$PetscInt} ) @@ -4379,7 +4379,7 @@ end $(_doc_external("Mat/MatCreateSELLHIP")) """ function MatCreateSELLHIP(petsclib::PetscLibType, comm::MPI_Comm, m::Integer, n::Integer, M_M::Integer, M_N::Integer, d_nz::Integer, d_nnz::AbstractVector{<:Number}, o_nz::Integer, o_nnz::AbstractVector{<:Number}) - error("MatCreateSELLHIP: no generated method for these argument types") + throw(MethodError(MatCreateSELLHIP, (petsclib, comm, m, n, M_M, M_N, d_nz, d_nnz, o_nz, o_nnz))) end @for_petsc function MatCreateSELLHIP(petsclib::$UnionPetscLib, comm::MPI_Comm, m::$PetscInt, n::$PetscInt, M_M::$PetscInt, M_N::$PetscInt, d_nz::$PetscInt, d_nnz::Vector{$PetscInt}, o_nz::$PetscInt, o_nnz::Vector{$PetscInt} ) @@ -4422,7 +4422,7 @@ See also: `SNES`, `MATMFFD`, `MatDestroy()`, `MatMFFDSetFunction()`, `MatMFFDSet $(_doc_external("SNES/MatCreateSNESMF")) """ function MatCreateSNESMF(petsclib::PetscLibType, snes::AbstractSNES) - error("MatCreateSNESMF: no generated method for these argument types") + throw(MethodError(MatCreateSNESMF, (petsclib, snes))) end @for_petsc function MatCreateSNESMF(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -4468,7 +4468,7 @@ See also: `SNESCreateMF()`, `MatCreateMFFD()`, `MatDestroy()`, `MatMFFDSetFuncti $(_doc_external("SNES/MatCreateSNESMFMore")) """ function MatCreateSNESMFMore(petsclib::PetscLibType, snes::AbstractSNES, x::AbstractPetscVec) - error("MatCreateSNESMFMore: no generated method for these argument types") + throw(MethodError(MatCreateSNESMFMore, (petsclib, snes, x))) end @for_petsc function MatCreateSNESMFMore(petsclib::$UnionPetscLib, snes::AbstractSNES, x::AbstractPetscVec ) @@ -4516,7 +4516,7 @@ See also: `Mat`, `MATSCALAPACK`, `MATDENSE`, `MATELEMENTAL`, `MatCreate()`, `Mat $(_doc_external("Mat/MatCreateScaLAPACK")) """ function MatCreateScaLAPACK(petsclib::PetscLibType, comm::MPI_Comm, mb::Integer, nb::Integer, M::Integer, N::Integer, rsrc::Integer, csrc::Integer) - error("MatCreateScaLAPACK: no generated method for these argument types") + throw(MethodError(MatCreateScaLAPACK, (petsclib, comm, mb, nb, M, N, rsrc, csrc))) end @for_petsc function MatCreateScaLAPACK(petsclib::$UnionPetscLib, comm::MPI_Comm, mb::$PetscInt, nb::$PetscInt, M::$PetscInt, N::$PetscInt, rsrc::$PetscInt, csrc::$PetscInt ) @@ -4555,7 +4555,7 @@ See also: `Mat`, `MatScatterSetVecScatter()`, `MatScatterGetVecScatter()`, `MATS $(_doc_external("Mat/MatCreateScatter")) """ function MatCreateScatter(petsclib::PetscLibType, comm::MPI_Comm, scatter::VecScatter) - error("MatCreateScatter: no generated method for these argument types") + throw(MethodError(MatCreateScatter, (petsclib, comm, scatter))) end @for_petsc function MatCreateScatter(petsclib::$UnionPetscLib, comm::MPI_Comm, scatter::VecScatter ) @@ -4598,7 +4598,7 @@ See also: `MatCreateNormal()`, `MatMult()`, `MatCreate()`, `MatSchurComplementGe $(_doc_external("KSP/MatCreateSchurComplement")) """ function MatCreateSchurComplement(petsclib::PetscLibType, A00::AbstractPetscMat, Ap00::AbstractPetscMat, A01::AbstractPetscMat, A10::AbstractPetscMat, A11::AbstractPetscMat) - error("MatCreateSchurComplement: no generated method for these argument types") + throw(MethodError(MatCreateSchurComplement, (petsclib, A00, Ap00, A01, A10, A11))) end @for_petsc function MatCreateSchurComplement(petsclib::$UnionPetscLib, A00::AbstractPetscMat, Ap00::AbstractPetscMat, A01::AbstractPetscMat, A10::AbstractPetscMat, A11::AbstractPetscMat ) @@ -4642,7 +4642,7 @@ See also: `MatCreateSchurComplement()`, `MatGetSchurComplement()`, `MatSchurComp $(_doc_external("KSP/MatCreateSchurComplementPmat")) """ function MatCreateSchurComplementPmat(petsclib::PetscLibType, A00::AbstractPetscMat, A01::AbstractPetscMat, A10::AbstractPetscMat, A11::AbstractPetscMat, ainvtype::MatSchurComplementAinvType, preuse::MatReuse) - error("MatCreateSchurComplementPmat: no generated method for these argument types") + throw(MethodError(MatCreateSchurComplementPmat, (petsclib, A00, A01, A10, A11, ainvtype, preuse))) end @for_petsc function MatCreateSchurComplementPmat(petsclib::$UnionPetscLib, A00::AbstractPetscMat, A01::AbstractPetscMat, A10::AbstractPetscMat, A11::AbstractPetscMat, ainvtype::MatSchurComplementAinvType, preuse::MatReuse ) @@ -4692,7 +4692,7 @@ See also: `Mat`, Sparse Matrix Creation, `MatCreate()`, `MatCreateAIJ()`, `MatSe $(_doc_external("Mat/MatCreateSeqAIJ")) """ function MatCreateSeqAIJ(petsclib::PetscLibType, comm::MPI_Comm, m::Integer, n::Integer, nz::Integer, nnz::Union{Ptr, AbstractVector{<:Number}}) - error("MatCreateSeqAIJ: no generated method for these argument types") + throw(MethodError(MatCreateSeqAIJ, (petsclib, comm, m, n, nz, nnz))) end @for_petsc function MatCreateSeqAIJ(petsclib::$UnionPetscLib, comm::MPI_Comm, m::$PetscInt, n::$PetscInt, nz::$PetscInt, nnz::Union{Ptr, Vector{$PetscInt}} ) @@ -4735,7 +4735,7 @@ See also: `Mat`, `MatCreate()`, `MatCreateMPIAIJPERM()`, `MatSetValues()` $(_doc_external("Mat/MatCreateSeqAIJCRL")) """ function MatCreateSeqAIJCRL(petsclib::PetscLibType, comm::MPI_Comm, m::Integer, n::Integer, nz::Integer, nnz::Union{Ptr, AbstractVector{<:Number}}) - error("MatCreateSeqAIJCRL: no generated method for these argument types") + throw(MethodError(MatCreateSeqAIJCRL, (petsclib, comm, m, n, nz, nnz))) end @for_petsc function MatCreateSeqAIJCRL(petsclib::$UnionPetscLib, comm::MPI_Comm, m::$PetscInt, n::$PetscInt, nz::$PetscInt, nnz::Union{Ptr, Vector{$PetscInt}} ) @@ -4760,7 +4760,7 @@ end $(_doc_external("Mat/MatCreateSeqAIJCUSPARSE")) """ function MatCreateSeqAIJCUSPARSE(petsclib::PetscLibType, comm::MPI_Comm, m::Integer, n::Integer, nz::Integer, nnz::AbstractVector{<:Number}) - error("MatCreateSeqAIJCUSPARSE: no generated method for these argument types") + throw(MethodError(MatCreateSeqAIJCUSPARSE, (petsclib, comm, m, n, nz, nnz))) end @for_petsc function MatCreateSeqAIJCUSPARSE(petsclib::$UnionPetscLib, comm::MPI_Comm, m::$PetscInt, n::$PetscInt, nz::$PetscInt, nnz::Vector{$PetscInt} ) @@ -4818,7 +4818,7 @@ See also: `Mat`, `MatCreate()`, `MatCreateAIJ()`, `MatCreateSeqAIJ()`, `MatCreat $(_doc_external("Mat/MatCreateSeqAIJFromTriple")) """ function MatCreateSeqAIJFromTriple(petsclib::PetscLibType, comm::MPI_Comm, m::Integer, n::Integer, i::AbstractVector{<:Number}, j::AbstractVector{<:Number}, a::AbstractVector{<:Number}, nz::PetscCount, idx::PetscBool) - error("MatCreateSeqAIJFromTriple: no generated method for these argument types") + throw(MethodError(MatCreateSeqAIJFromTriple, (petsclib, comm, m, n, i, j, a, nz, idx))) end @for_petsc function MatCreateSeqAIJFromTriple(petsclib::$UnionPetscLib, comm::MPI_Comm, m::$PetscInt, n::$PetscInt, i::Vector{$PetscInt}, j::Vector{$PetscInt}, a::Vector{$PetscScalar}, nz::PetscCount, idx::PetscBool ) @@ -4843,7 +4843,7 @@ end $(_doc_external("Mat/MatCreateSeqAIJHIPSPARSE")) """ function MatCreateSeqAIJHIPSPARSE(petsclib::PetscLibType, comm::MPI_Comm, m::Integer, n::Integer, nz::Integer, nnz::AbstractVector{<:Number}) - error("MatCreateSeqAIJHIPSPARSE: no generated method for these argument types") + throw(MethodError(MatCreateSeqAIJHIPSPARSE, (petsclib, comm, m, n, nz, nnz))) end @for_petsc function MatCreateSeqAIJHIPSPARSE(petsclib::$UnionPetscLib, comm::MPI_Comm, m::$PetscInt, n::$PetscInt, nz::$PetscInt, nnz::Vector{$PetscInt} ) @@ -4868,7 +4868,7 @@ end $(_doc_external("Mat/MatCreateSeqAIJKokkos")) """ function MatCreateSeqAIJKokkos(petsclib::PetscLibType, comm::MPI_Comm, m::Integer, n::Integer, nz::Integer, nnz::Union{Ptr, AbstractVector{<:Number}}) - error("MatCreateSeqAIJKokkos: no generated method for these argument types") + throw(MethodError(MatCreateSeqAIJKokkos, (petsclib, comm, m, n, nz, nnz))) end @for_petsc function MatCreateSeqAIJKokkos(petsclib::$UnionPetscLib, comm::MPI_Comm, m::$PetscInt, n::$PetscInt, nz::$PetscInt, nnz::Union{Ptr, Vector{$PetscInt}} ) @@ -4916,7 +4916,7 @@ See also: `Mat`, `MatCreate()`, `MatCreateMPIAIJMKL()`, `MatSetValues()` $(_doc_external("Mat/MatCreateSeqAIJMKL")) """ function MatCreateSeqAIJMKL(petsclib::PetscLibType, comm::MPI_Comm, m::Integer, n::Integer, nz::Integer, nnz::AbstractVector{<:Number}) - error("MatCreateSeqAIJMKL: no generated method for these argument types") + throw(MethodError(MatCreateSeqAIJMKL, (petsclib, comm, m, n, nz, nnz))) end @for_petsc function MatCreateSeqAIJMKL(petsclib::$UnionPetscLib, comm::MPI_Comm, m::$PetscInt, n::$PetscInt, nz::$PetscInt, nnz::Vector{$PetscInt} ) @@ -4958,7 +4958,7 @@ See also: `Mat`, `MatCreate()`, `MatCreateMPIAIJPERM()`, `MatSetValues()` $(_doc_external("Mat/MatCreateSeqAIJPERM")) """ function MatCreateSeqAIJPERM(petsclib::PetscLibType, comm::MPI_Comm, m::Integer, n::Integer, nz::Integer, nnz::AbstractVector{<:Number}) - error("MatCreateSeqAIJPERM: no generated method for these argument types") + throw(MethodError(MatCreateSeqAIJPERM, (petsclib, comm, m, n, nz, nnz))) end @for_petsc function MatCreateSeqAIJPERM(petsclib::$UnionPetscLib, comm::MPI_Comm, m::$PetscInt, n::$PetscInt, nz::$PetscInt, nnz::Vector{$PetscInt} ) @@ -5005,7 +5005,7 @@ See also: `Mat`, `MatCreate()`, `MatCreateMPIAIJSELL()`, `MatSetValues()` $(_doc_external("Mat/MatCreateSeqAIJSELL")) """ function MatCreateSeqAIJSELL(petsclib::PetscLibType, comm::MPI_Comm, m::Integer, n::Integer, nz::Integer, nnz::Union{Ptr, AbstractVector{<:Number}}) - error("MatCreateSeqAIJSELL: no generated method for these argument types") + throw(MethodError(MatCreateSeqAIJSELL, (petsclib, comm, m, n, nz, nnz))) end @for_petsc function MatCreateSeqAIJSELL(petsclib::$UnionPetscLib, comm::MPI_Comm, m::$PetscInt, n::$PetscInt, nz::$PetscInt, nnz::Union{Ptr, Vector{$PetscInt}} ) @@ -5030,7 +5030,7 @@ end $(_doc_external("Mat/MatCreateSeqAIJViennaCL")) """ function MatCreateSeqAIJViennaCL(petsclib::PetscLibType, comm::MPI_Comm, m::Integer, n::Integer, nz::Integer, nnz::Union{Ptr, AbstractVector{<:Number}}) - error("MatCreateSeqAIJViennaCL: no generated method for these argument types") + throw(MethodError(MatCreateSeqAIJViennaCL, (petsclib, comm, m, n, nz, nnz))) end @for_petsc function MatCreateSeqAIJViennaCL(petsclib::$UnionPetscLib, comm::MPI_Comm, m::$PetscInt, n::$PetscInt, nz::$PetscInt, nnz::Union{Ptr, Vector{$PetscInt}} ) @@ -5074,7 +5074,7 @@ See also: `Mat`, `MatCreate()`, `MatCreateAIJ()`, `MatCreateSeqAIJ()`, `MatCreat $(_doc_external("Mat/MatCreateSeqAIJWithArrays")) """ function MatCreateSeqAIJWithArrays(petsclib::PetscLibType, comm::MPI_Comm, m::Integer, n::Integer, i::AbstractVector{<:Number}, j::AbstractVector{<:Number}, a::AbstractVector{<:Number}) - error("MatCreateSeqAIJWithArrays: no generated method for these argument types") + throw(MethodError(MatCreateSeqAIJWithArrays, (petsclib, comm, m, n, i, j, a))) end @for_petsc function MatCreateSeqAIJWithArrays(petsclib::$UnionPetscLib, comm::MPI_Comm, m::$PetscInt, n::$PetscInt, i::Vector{$PetscInt}, j::Vector{$PetscInt}, a::Vector{$PetscScalar} ) @@ -5126,7 +5126,7 @@ See also: `Mat`, Sparse Matrices, `MatCreate()`, `MatCreateSeqAIJ()`, `MatSetVal $(_doc_external("Mat/MatCreateSeqBAIJ")) """ function MatCreateSeqBAIJ(petsclib::PetscLibType, comm::MPI_Comm, bs::Integer, m::Integer, n::Integer, nz::Integer, nnz::Union{Ptr, AbstractVector{<:Number}}) - error("MatCreateSeqBAIJ: no generated method for these argument types") + throw(MethodError(MatCreateSeqBAIJ, (petsclib, comm, bs, m, n, nz, nnz))) end @for_petsc function MatCreateSeqBAIJ(petsclib::$UnionPetscLib, comm::MPI_Comm, bs::$PetscInt, m::$PetscInt, n::$PetscInt, nz::$PetscInt, nnz::Union{Ptr, Vector{$PetscInt}} ) @@ -5179,7 +5179,7 @@ See also: Sparse Matrices, `MatCreate()`, `MatCreateSeqAIJ()`, `MatSetValues()`, $(_doc_external("Mat/MatCreateSeqBAIJMKL")) """ function MatCreateSeqBAIJMKL(petsclib::PetscLibType, comm::MPI_Comm, bs::Integer, m::Integer, n::Integer, nz::Integer, nnz::Union{Ptr, AbstractVector{<:Number}}) - error("MatCreateSeqBAIJMKL: no generated method for these argument types") + throw(MethodError(MatCreateSeqBAIJMKL, (petsclib, comm, bs, m, n, nz, nnz))) end @for_petsc function MatCreateSeqBAIJMKL(petsclib::$UnionPetscLib, comm::MPI_Comm, bs::$PetscInt, m::$PetscInt, n::$PetscInt, nz::$PetscInt, nnz::Union{Ptr, Vector{$PetscInt}} ) @@ -5223,7 +5223,7 @@ See also: `Mat`, `MatCreate()`, `MatCreateBAIJ()`, `MatCreateSeqBAIJ()` $(_doc_external("Mat/MatCreateSeqBAIJWithArrays")) """ function MatCreateSeqBAIJWithArrays(petsclib::PetscLibType, comm::MPI_Comm, bs::Integer, m::Integer, n::Integer, i::AbstractVector{<:Number}, j::AbstractVector{<:Number}, a::AbstractVector{<:Number}) - error("MatCreateSeqBAIJWithArrays: no generated method for these argument types") + throw(MethodError(MatCreateSeqBAIJWithArrays, (petsclib, comm, bs, m, n, i, j, a))) end @for_petsc function MatCreateSeqBAIJWithArrays(petsclib::$UnionPetscLib, comm::MPI_Comm, bs::$PetscInt, m::$PetscInt, n::$PetscInt, i::Vector{$PetscInt}, j::Vector{$PetscInt}, a::Vector{$PetscScalar} ) @@ -5248,7 +5248,7 @@ end $(_doc_external("Mat/MatCreateSeqCUFFT")) """ function MatCreateSeqCUFFT(petsclib::PetscLibType, comm::MPI_Comm, ndim::Integer, dim::AbstractVector{<:Number}) - error("MatCreateSeqCUFFT: no generated method for these argument types") + throw(MethodError(MatCreateSeqCUFFT, (petsclib, comm, ndim, dim))) end @for_petsc function MatCreateSeqCUFFT(petsclib::$UnionPetscLib, comm::MPI_Comm, ndim::$PetscInt, dim::Vector{$PetscInt} ) @@ -5291,7 +5291,7 @@ See also: `Mat`, `MATSEQDENSE`, `MatCreate()`, `MatCreateDense()`, `MatSetValues $(_doc_external("Mat/MatCreateSeqDense")) """ function MatCreateSeqDense(petsclib::PetscLibType, comm::MPI_Comm, m::Integer, n::Integer, data::Union{Ptr, AbstractVector{<:Number}}) - error("MatCreateSeqDense: no generated method for these argument types") + throw(MethodError(MatCreateSeqDense, (petsclib, comm, m, n, data))) end @for_petsc function MatCreateSeqDense(petsclib::$UnionPetscLib, comm::MPI_Comm, m::$PetscInt, n::$PetscInt, data::Union{Ptr, Vector{$PetscScalar}} ) @@ -5316,7 +5316,7 @@ end $(_doc_external("Mat/MatCreateSeqDenseCUDA")) """ function MatCreateSeqDenseCUDA(petsclib::PetscLibType, comm::MPI_Comm, m::Integer, n::Integer) - error("MatCreateSeqDenseCUDA: no generated method for these argument types") + throw(MethodError(MatCreateSeqDenseCUDA, (petsclib, comm, m, n))) end @for_petsc function MatCreateSeqDenseCUDA(petsclib::$UnionPetscLib, comm::MPI_Comm, m::$PetscInt, n::$PetscInt ) @@ -5343,7 +5343,7 @@ end $(_doc_external("Mat/MatCreateSeqDenseHIP")) """ function MatCreateSeqDenseHIP(petsclib::PetscLibType, comm::MPI_Comm, m::Integer, n::Integer) - error("MatCreateSeqDenseHIP: no generated method for these argument types") + throw(MethodError(MatCreateSeqDenseHIP, (petsclib, comm, m, n))) end @for_petsc function MatCreateSeqDenseHIP(petsclib::$UnionPetscLib, comm::MPI_Comm, m::$PetscInt, n::$PetscInt ) @@ -5397,7 +5397,7 @@ See also: `Mat`, Sparse Matrices, `MATSEQSBAIJ`, `MatCreate()`, `MatCreateSeqAIJ $(_doc_external("Mat/MatCreateSeqSBAIJ")) """ function MatCreateSeqSBAIJ(petsclib::PetscLibType, comm::MPI_Comm, bs::Integer, m::Integer, n::Integer, nz::Integer, nnz::Union{Ptr, AbstractVector{<:Number}}) - error("MatCreateSeqSBAIJ: no generated method for these argument types") + throw(MethodError(MatCreateSeqSBAIJ, (petsclib, comm, bs, m, n, nz, nnz))) end @for_petsc function MatCreateSeqSBAIJ(petsclib::$UnionPetscLib, comm::MPI_Comm, bs::$PetscInt, m::$PetscInt, n::$PetscInt, nz::$PetscInt, nnz::Union{Ptr, Vector{$PetscInt}} ) @@ -5442,7 +5442,7 @@ See also: `Mat`, `MATSEQSBAIJ`, `MatCreate()`, `MatCreateSBAIJ()`, `MatCreateSeq $(_doc_external("Mat/MatCreateSeqSBAIJWithArrays")) """ function MatCreateSeqSBAIJWithArrays(petsclib::PetscLibType, comm::MPI_Comm, bs::Integer, m::Integer, n::Integer, i::AbstractVector{<:Number}, j::AbstractVector{<:Number}, a::AbstractVector{<:Number}) - error("MatCreateSeqSBAIJWithArrays: no generated method for these argument types") + throw(MethodError(MatCreateSeqSBAIJWithArrays, (petsclib, comm, bs, m, n, i, j, a))) end @for_petsc function MatCreateSeqSBAIJWithArrays(petsclib::$UnionPetscLib, comm::MPI_Comm, bs::$PetscInt, m::$PetscInt, n::$PetscInt, i::Vector{$PetscInt}, j::Vector{$PetscInt}, a::Vector{$PetscScalar} ) @@ -5484,7 +5484,7 @@ See also: `Mat`, `MATSEQSELL`, `MatCreate()`, `MatCreateSELL()`, `MatSetValues() $(_doc_external("Mat/MatCreateSeqSELL")) """ function MatCreateSeqSELL(petsclib::PetscLibType, comm::MPI_Comm, m::Integer, n::Integer, rlenmax::Integer, rlen::Union{Ptr, AbstractVector{<:Number}}) - error("MatCreateSeqSELL: no generated method for these argument types") + throw(MethodError(MatCreateSeqSELL, (petsclib, comm, m, n, rlenmax, rlen))) end @for_petsc function MatCreateSeqSELL(petsclib::$UnionPetscLib, comm::MPI_Comm, m::$PetscInt, n::$PetscInt, rlenmax::$PetscInt, rlen::Union{Ptr, Vector{$PetscInt}} ) @@ -5528,7 +5528,7 @@ See also: `Mat`, `MATSHELL`, `MatShellSetOperation()`, `MatHasOperation()`, `Mat $(_doc_external("Mat/MatCreateShell")) """ function MatCreateShell(petsclib::PetscLibType, comm::MPI_Comm, m::Integer, n::Integer, M_M::Integer, M_N::Integer, ctx::Ptr{Cvoid}) - error("MatCreateShell: no generated method for these argument types") + throw(MethodError(MatCreateShell, (petsclib, comm, m, n, M_M, M_N, ctx))) end @for_petsc function MatCreateShell(petsclib::$UnionPetscLib, comm::MPI_Comm, m::$PetscInt, n::$PetscInt, M_M::$PetscInt, M_N::$PetscInt, ctx::Ptr{Cvoid} ) @@ -5664,7 +5664,7 @@ See also: `Mat`, `MatCreateSubMatrices()`, `MatCreateSubMatricesMPI()`, `MatCrea $(_doc_external("Mat/MatCreateSubMatrix")) """ function MatCreateSubMatrix(petsclib::PetscLibType, mat::AbstractPetscMat, isrow::AbstractIS, iscol::AbstractIS, cll::MatReuse) - error("MatCreateSubMatrix: no generated method for these argument types") + throw(MethodError(MatCreateSubMatrix, (petsclib, mat, isrow, iscol, cll))) end @for_petsc function MatCreateSubMatrix(petsclib::$UnionPetscLib, mat::AbstractPetscMat, isrow::AbstractIS, iscol::AbstractIS, cll::MatReuse ) @@ -5705,7 +5705,7 @@ See also: `MatCreate()` $(_doc_external("Tao/MatCreateSubMatrixFree")) """ function MatCreateSubMatrixFree(petsclib::PetscLibType, mat::AbstractPetscMat, Rows::AbstractIS, Cols::AbstractIS) - error("MatCreateSubMatrixFree: no generated method for these argument types") + throw(MethodError(MatCreateSubMatrixFree, (petsclib, mat, Rows, Cols))) end @for_petsc function MatCreateSubMatrixFree(petsclib::$UnionPetscLib, mat::AbstractPetscMat, Rows::AbstractIS, Cols::AbstractIS ) @@ -5745,7 +5745,7 @@ See also: `Mat`, `MATSUBMATRIX`, `MATLOCALREF`, `MatCreateLocalRef()`, `MatCreat $(_doc_external("Mat/MatCreateSubMatrixVirtual")) """ function MatCreateSubMatrixVirtual(petsclib::PetscLibType, A::AbstractPetscMat, isrow::AbstractIS, iscol::AbstractIS) - error("MatCreateSubMatrixVirtual: no generated method for these argument types") + throw(MethodError(MatCreateSubMatrixVirtual, (petsclib, A, isrow, iscol))) end @for_petsc function MatCreateSubMatrixVirtual(petsclib::$UnionPetscLib, A::AbstractPetscMat, isrow::AbstractIS, iscol::AbstractIS ) @@ -5784,7 +5784,7 @@ See also: `Mat`, `MATTRANSPOSEVIRTUAL`, `MatCreateNormal()`, `MatMult()`, `MatMu $(_doc_external("Mat/MatCreateTranspose")) """ function MatCreateTranspose(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatCreateTranspose: no generated method for these argument types") + throw(MethodError(MatCreateTranspose, (petsclib, A))) end @for_petsc function MatCreateTranspose(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -5827,7 +5827,7 @@ See also: `Mat`, `Vec`, `VecCreate()`, `VecDestroy()`, `DMCreateGlobalVector()`, $(_doc_external("Mat/MatCreateVecs")) """ function MatCreateVecs(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatCreateVecs: no generated method for these argument types") + throw(MethodError(MatCreateVecs, (petsclib, mat))) end @for_petsc function MatCreateVecs(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -5873,7 +5873,7 @@ See also: `Mat`, `MATFFTW`, `MatCreateFFT()`, `MatCreateVecs()` $(_doc_external("Mat/MatCreateVecsFFTW")) """ function MatCreateVecsFFTW(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatCreateVecsFFTW: no generated method for these argument types") + throw(MethodError(MatCreateVecsFFTW, (petsclib, A))) end @for_petsc function MatCreateVecsFFTW(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -5923,7 +5923,7 @@ See also: `Mat`, `VecFischer()`, `VecSFischer()`, `MatDSFischer()` $(_doc_external("Tao/MatDFischer")) """ function MatDFischer(petsclib::PetscLibType, jac::AbstractPetscMat, X::AbstractPetscVec, Con::AbstractPetscVec, XL::AbstractPetscVec, XU::AbstractPetscVec, T1::AbstractPetscVec, T2::AbstractPetscVec, Da::AbstractPetscVec, Db::AbstractPetscVec) - error("MatDFischer: no generated method for these argument types") + throw(MethodError(MatDFischer, (petsclib, jac, X, Con, XL, XU, T1, T2, Da, Db))) end @for_petsc function MatDFischer(petsclib::$UnionPetscLib, jac::AbstractPetscMat, X::AbstractPetscVec, Con::AbstractPetscVec, XL::AbstractPetscVec, XU::AbstractPetscVec, T1::AbstractPetscVec, T2::AbstractPetscVec, Da::AbstractPetscVec, Db::AbstractPetscVec ) @@ -5969,7 +5969,7 @@ See also: `Mat`, `VecFischer()`, `VecSFischer()`, `MatDFischer()` $(_doc_external("Tao/MatDSFischer")) """ function MatDSFischer(petsclib::PetscLibType, jac::AbstractPetscMat, X::AbstractPetscVec, Con::AbstractPetscVec, XL::AbstractPetscVec, XU::AbstractPetscVec, mu::Real, T1::AbstractPetscVec, T2::AbstractPetscVec, Da::AbstractPetscVec, Db::AbstractPetscVec, Dm::AbstractPetscVec) - error("MatDSFischer: no generated method for these argument types") + throw(MethodError(MatDSFischer, (petsclib, jac, X, Con, XL, XU, mu, T1, T2, Da, Db, Dm))) end @for_petsc function MatDSFischer(petsclib::$UnionPetscLib, jac::AbstractPetscMat, X::AbstractPetscVec, Con::AbstractPetscVec, XL::AbstractPetscVec, XU::AbstractPetscVec, mu::$PetscReal, T1::AbstractPetscVec, T2::AbstractPetscVec, Da::AbstractPetscVec, Db::AbstractPetscVec, Dm::AbstractPetscVec ) @@ -5992,7 +5992,7 @@ end $(_doc_external("Mat/MatDenseCUDAGetArray")) """ function MatDenseCUDAGetArray(petsclib::PetscLibType, A::AbstractPetscMat, M_a::Number) - error("MatDenseCUDAGetArray: no generated method for these argument types") + throw(MethodError(MatDenseCUDAGetArray, (petsclib, A, M_a))) end @for_petsc function MatDenseCUDAGetArray(petsclib::$UnionPetscLib, A::AbstractPetscMat, M_a::$PetscScalar ) @@ -6015,7 +6015,7 @@ end $(_doc_external("Mat/MatDenseCUDAGetArrayRead")) """ function MatDenseCUDAGetArrayRead(petsclib::PetscLibType, A::AbstractPetscMat, M_a::Number) - error("MatDenseCUDAGetArrayRead: no generated method for these argument types") + throw(MethodError(MatDenseCUDAGetArrayRead, (petsclib, A, M_a))) end @for_petsc function MatDenseCUDAGetArrayRead(petsclib::$UnionPetscLib, A::AbstractPetscMat, M_a::$PetscScalar ) @@ -6038,7 +6038,7 @@ end $(_doc_external("Mat/MatDenseCUDAGetArrayWrite")) """ function MatDenseCUDAGetArrayWrite(petsclib::PetscLibType, A::AbstractPetscMat, M_a::Number) - error("MatDenseCUDAGetArrayWrite: no generated method for these argument types") + throw(MethodError(MatDenseCUDAGetArrayWrite, (petsclib, A, M_a))) end @for_petsc function MatDenseCUDAGetArrayWrite(petsclib::$UnionPetscLib, A::AbstractPetscMat, M_a::$PetscScalar ) @@ -6061,7 +6061,7 @@ end $(_doc_external("Mat/MatDenseCUDAPlaceArray")) """ function MatDenseCUDAPlaceArray(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatDenseCUDAPlaceArray: no generated method for these argument types") + throw(MethodError(MatDenseCUDAPlaceArray, (petsclib, mat))) end @for_petsc function MatDenseCUDAPlaceArray(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -6086,7 +6086,7 @@ end $(_doc_external("Mat/MatDenseCUDAReplaceArray")) """ function MatDenseCUDAReplaceArray(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatDenseCUDAReplaceArray: no generated method for these argument types") + throw(MethodError(MatDenseCUDAReplaceArray, (petsclib, mat))) end @for_petsc function MatDenseCUDAReplaceArray(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -6111,7 +6111,7 @@ end $(_doc_external("Mat/MatDenseCUDAResetArray")) """ function MatDenseCUDAResetArray(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatDenseCUDAResetArray: no generated method for these argument types") + throw(MethodError(MatDenseCUDAResetArray, (petsclib, mat))) end @for_petsc function MatDenseCUDAResetArray(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -6134,7 +6134,7 @@ end $(_doc_external("Mat/MatDenseCUDARestoreArray")) """ function MatDenseCUDARestoreArray(petsclib::PetscLibType, A::AbstractPetscMat, M_a::Number) - error("MatDenseCUDARestoreArray: no generated method for these argument types") + throw(MethodError(MatDenseCUDARestoreArray, (petsclib, A, M_a))) end @for_petsc function MatDenseCUDARestoreArray(petsclib::$UnionPetscLib, A::AbstractPetscMat, M_a::$PetscScalar ) @@ -6157,7 +6157,7 @@ end $(_doc_external("Mat/MatDenseCUDARestoreArrayRead")) """ function MatDenseCUDARestoreArrayRead(petsclib::PetscLibType, A::AbstractPetscMat, M_a::Number) - error("MatDenseCUDARestoreArrayRead: no generated method for these argument types") + throw(MethodError(MatDenseCUDARestoreArrayRead, (petsclib, A, M_a))) end @for_petsc function MatDenseCUDARestoreArrayRead(petsclib::$UnionPetscLib, A::AbstractPetscMat, M_a::$PetscScalar ) @@ -6180,7 +6180,7 @@ end $(_doc_external("Mat/MatDenseCUDARestoreArrayWrite")) """ function MatDenseCUDARestoreArrayWrite(petsclib::PetscLibType, A::AbstractPetscMat, M_a::Number) - error("MatDenseCUDARestoreArrayWrite: no generated method for these argument types") + throw(MethodError(MatDenseCUDARestoreArrayWrite, (petsclib, A, M_a))) end @for_petsc function MatDenseCUDARestoreArrayWrite(petsclib::$UnionPetscLib, A::AbstractPetscMat, M_a::$PetscScalar ) @@ -6203,7 +6203,7 @@ end $(_doc_external("Mat/MatDenseCUDASetPreallocation")) """ function MatDenseCUDASetPreallocation(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatDenseCUDASetPreallocation: no generated method for these argument types") + throw(MethodError(MatDenseCUDASetPreallocation, (petsclib, A))) end @for_petsc function MatDenseCUDASetPreallocation(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -6241,7 +6241,7 @@ See also: `Mat`, `MATDENSE`, `MatDenseRestoreArray()`, `MatDenseGetArrayRead()`, $(_doc_external("Mat/MatDenseGetArray")) """ function MatDenseGetArray(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatDenseGetArray: no generated method for these argument types") + throw(MethodError(MatDenseGetArray, (petsclib, A))) end @for_petsc function MatDenseGetArray(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -6282,7 +6282,7 @@ See also: `Mat`, `MATDENSE`, `MatDenseRestoreArrayAndMemType()`, `MatDenseGetArr $(_doc_external("Mat/MatDenseGetArrayAndMemType")) """ function MatDenseGetArrayAndMemType(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatDenseGetArrayAndMemType: no generated method for these argument types") + throw(MethodError(MatDenseGetArrayAndMemType, (petsclib, A))) end @for_petsc function MatDenseGetArrayAndMemType(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -6323,7 +6323,7 @@ See also: `Mat`, `MATDENSE`, `MatDenseRestoreArrayRead()`, `MatDenseGetArray()`, $(_doc_external("Mat/MatDenseGetArrayRead")) """ function MatDenseGetArrayRead(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatDenseGetArrayRead: no generated method for these argument types") + throw(MethodError(MatDenseGetArrayRead, (petsclib, A))) end @for_petsc function MatDenseGetArrayRead(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -6364,7 +6364,7 @@ See also: `Mat`, `MATDENSE`, `MatDenseRestoreArrayReadAndMemType()`, `MatDenseGe $(_doc_external("Mat/MatDenseGetArrayReadAndMemType")) """ function MatDenseGetArrayReadAndMemType(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatDenseGetArrayReadAndMemType: no generated method for these argument types") + throw(MethodError(MatDenseGetArrayReadAndMemType, (petsclib, A))) end @for_petsc function MatDenseGetArrayReadAndMemType(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -6405,7 +6405,7 @@ See also: `Mat`, `MATDENSE`, `MatDenseRestoreArrayWrite()`, `MatDenseGetArray()` $(_doc_external("Mat/MatDenseGetArrayWrite")) """ function MatDenseGetArrayWrite(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatDenseGetArrayWrite: no generated method for these argument types") + throw(MethodError(MatDenseGetArrayWrite, (petsclib, A))) end @for_petsc function MatDenseGetArrayWrite(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -6446,7 +6446,7 @@ See also: `Mat`, `MATDENSE`, `MatDenseRestoreArrayWriteAndMemType()`, `MatDenseG $(_doc_external("Mat/MatDenseGetArrayWriteAndMemType")) """ function MatDenseGetArrayWriteAndMemType(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatDenseGetArrayWriteAndMemType: no generated method for these argument types") + throw(MethodError(MatDenseGetArrayWriteAndMemType, (petsclib, A))) end @for_petsc function MatDenseGetArrayWriteAndMemType(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -6488,7 +6488,7 @@ See also: `Mat`, `MATDENSE`, `MatDenseRestoreColumn()`, `MatDenseGetColumnVec()` $(_doc_external("Mat/MatDenseGetColumn")) """ function MatDenseGetColumn(petsclib::PetscLibType, A::AbstractPetscMat, col::Integer) - error("MatDenseGetColumn: no generated method for these argument types") + throw(MethodError(MatDenseGetColumn, (petsclib, A, col))) end @for_petsc function MatDenseGetColumn(petsclib::$UnionPetscLib, A::AbstractPetscMat, col::$PetscInt ) @@ -6527,7 +6527,7 @@ See also: `Mat`, `MATDENSE`, `MATDENSECUDA`, `MATDENSEHIP`, `MatDenseGetColumnVe $(_doc_external("Mat/MatDenseGetColumnVec")) """ function MatDenseGetColumnVec(petsclib::PetscLibType, A::AbstractPetscMat, col::Integer) - error("MatDenseGetColumnVec: no generated method for these argument types") + throw(MethodError(MatDenseGetColumnVec, (petsclib, A, col))) end @for_petsc function MatDenseGetColumnVec(petsclib::$UnionPetscLib, A::AbstractPetscMat, col::$PetscInt ) @@ -6566,7 +6566,7 @@ See also: `Mat`, `MATDENSE`, `MATDENSECUDA`, `MATDENSEHIP`, `MatDenseGetColumnVe $(_doc_external("Mat/MatDenseGetColumnVecRead")) """ function MatDenseGetColumnVecRead(petsclib::PetscLibType, A::AbstractPetscMat, col::Integer) - error("MatDenseGetColumnVecRead: no generated method for these argument types") + throw(MethodError(MatDenseGetColumnVecRead, (petsclib, A, col))) end @for_petsc function MatDenseGetColumnVecRead(petsclib::$UnionPetscLib, A::AbstractPetscMat, col::$PetscInt ) @@ -6605,7 +6605,7 @@ See also: `Mat`, `MATDENSE`, `MATDENSECUDA`, `MATDENSEHIP`, `MatDenseGetColumnVe $(_doc_external("Mat/MatDenseGetColumnVecWrite")) """ function MatDenseGetColumnVecWrite(petsclib::PetscLibType, A::AbstractPetscMat, col::Integer) - error("MatDenseGetColumnVecWrite: no generated method for these argument types") + throw(MethodError(MatDenseGetColumnVecWrite, (petsclib, A, col))) end @for_petsc function MatDenseGetColumnVecWrite(petsclib::$UnionPetscLib, A::AbstractPetscMat, col::$PetscInt ) @@ -6643,7 +6643,7 @@ See also: `Mat`, `MATDENSE`, `MATDENSECUDA`, `MatDenseGetArray()`, `MatDenseRest $(_doc_external("Mat/MatDenseGetLDA")) """ function MatDenseGetLDA(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatDenseGetLDA: no generated method for these argument types") + throw(MethodError(MatDenseGetLDA, (petsclib, A))) end @for_petsc function MatDenseGetLDA(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -6680,7 +6680,7 @@ See also: `Mat`, `MATDENSE`, `MATMPIDENSE`, `MATSEQDENSE` $(_doc_external("Mat/MatDenseGetLocalMatrix")) """ function MatDenseGetLocalMatrix(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatDenseGetLocalMatrix: no generated method for these argument types") + throw(MethodError(MatDenseGetLocalMatrix, (petsclib, A))) end @for_petsc function MatDenseGetLocalMatrix(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -6722,7 +6722,7 @@ See also: `Mat`, `MATDENSE`, `MATDENSECUDA`, `MATDENSEHIP`, `MatDenseGetColumnVe $(_doc_external("Mat/MatDenseGetSubMatrix")) """ function MatDenseGetSubMatrix(petsclib::PetscLibType, A::AbstractPetscMat, rbegin::Integer, rend::Integer, cbegin::Integer, cend::Integer) - error("MatDenseGetSubMatrix: no generated method for these argument types") + throw(MethodError(MatDenseGetSubMatrix, (petsclib, A, rbegin, rend, cbegin, cend))) end @for_petsc function MatDenseGetSubMatrix(petsclib::$UnionPetscLib, A::AbstractPetscMat, rbegin::$PetscInt, rend::$PetscInt, cbegin::$PetscInt, cend::$PetscInt ) @@ -6747,7 +6747,7 @@ end $(_doc_external("Mat/MatDenseHIPGetArray")) """ function MatDenseHIPGetArray(petsclib::PetscLibType, A::AbstractPetscMat, M_a::Number) - error("MatDenseHIPGetArray: no generated method for these argument types") + throw(MethodError(MatDenseHIPGetArray, (petsclib, A, M_a))) end @for_petsc function MatDenseHIPGetArray(petsclib::$UnionPetscLib, A::AbstractPetscMat, M_a::$PetscScalar ) @@ -6770,7 +6770,7 @@ end $(_doc_external("Mat/MatDenseHIPGetArrayRead")) """ function MatDenseHIPGetArrayRead(petsclib::PetscLibType, A::AbstractPetscMat, M_a::Number) - error("MatDenseHIPGetArrayRead: no generated method for these argument types") + throw(MethodError(MatDenseHIPGetArrayRead, (petsclib, A, M_a))) end @for_petsc function MatDenseHIPGetArrayRead(petsclib::$UnionPetscLib, A::AbstractPetscMat, M_a::$PetscScalar ) @@ -6793,7 +6793,7 @@ end $(_doc_external("Mat/MatDenseHIPGetArrayWrite")) """ function MatDenseHIPGetArrayWrite(petsclib::PetscLibType, A::AbstractPetscMat, M_a::Number) - error("MatDenseHIPGetArrayWrite: no generated method for these argument types") + throw(MethodError(MatDenseHIPGetArrayWrite, (petsclib, A, M_a))) end @for_petsc function MatDenseHIPGetArrayWrite(petsclib::$UnionPetscLib, A::AbstractPetscMat, M_a::$PetscScalar ) @@ -6816,7 +6816,7 @@ end $(_doc_external("Mat/MatDenseHIPPlaceArray")) """ function MatDenseHIPPlaceArray(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatDenseHIPPlaceArray: no generated method for these argument types") + throw(MethodError(MatDenseHIPPlaceArray, (petsclib, mat))) end @for_petsc function MatDenseHIPPlaceArray(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -6841,7 +6841,7 @@ end $(_doc_external("Mat/MatDenseHIPReplaceArray")) """ function MatDenseHIPReplaceArray(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatDenseHIPReplaceArray: no generated method for these argument types") + throw(MethodError(MatDenseHIPReplaceArray, (petsclib, mat))) end @for_petsc function MatDenseHIPReplaceArray(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -6866,7 +6866,7 @@ end $(_doc_external("Mat/MatDenseHIPResetArray")) """ function MatDenseHIPResetArray(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatDenseHIPResetArray: no generated method for these argument types") + throw(MethodError(MatDenseHIPResetArray, (petsclib, mat))) end @for_petsc function MatDenseHIPResetArray(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -6889,7 +6889,7 @@ end $(_doc_external("Mat/MatDenseHIPRestoreArray")) """ function MatDenseHIPRestoreArray(petsclib::PetscLibType, A::AbstractPetscMat, M_a::Number) - error("MatDenseHIPRestoreArray: no generated method for these argument types") + throw(MethodError(MatDenseHIPRestoreArray, (petsclib, A, M_a))) end @for_petsc function MatDenseHIPRestoreArray(petsclib::$UnionPetscLib, A::AbstractPetscMat, M_a::$PetscScalar ) @@ -6912,7 +6912,7 @@ end $(_doc_external("Mat/MatDenseHIPRestoreArrayRead")) """ function MatDenseHIPRestoreArrayRead(petsclib::PetscLibType, A::AbstractPetscMat, M_a::Number) - error("MatDenseHIPRestoreArrayRead: no generated method for these argument types") + throw(MethodError(MatDenseHIPRestoreArrayRead, (petsclib, A, M_a))) end @for_petsc function MatDenseHIPRestoreArrayRead(petsclib::$UnionPetscLib, A::AbstractPetscMat, M_a::$PetscScalar ) @@ -6935,7 +6935,7 @@ end $(_doc_external("Mat/MatDenseHIPRestoreArrayWrite")) """ function MatDenseHIPRestoreArrayWrite(petsclib::PetscLibType, A::AbstractPetscMat, M_a::Number) - error("MatDenseHIPRestoreArrayWrite: no generated method for these argument types") + throw(MethodError(MatDenseHIPRestoreArrayWrite, (petsclib, A, M_a))) end @for_petsc function MatDenseHIPRestoreArrayWrite(petsclib::$UnionPetscLib, A::AbstractPetscMat, M_a::$PetscScalar ) @@ -6958,7 +6958,7 @@ end $(_doc_external("Mat/MatDenseHIPSetPreallocation")) """ function MatDenseHIPSetPreallocation(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatDenseHIPSetPreallocation: no generated method for these argument types") + throw(MethodError(MatDenseHIPSetPreallocation, (petsclib, A))) end @for_petsc function MatDenseHIPSetPreallocation(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -6997,7 +6997,7 @@ See also: `Mat`, `MATDENSE`, `MatDenseGetArray()`, `MatDenseResetArray()`, `VecP $(_doc_external("Mat/MatDensePlaceArray")) """ function MatDensePlaceArray(petsclib::PetscLibType, mat::AbstractPetscMat, array::AbstractVector{<:Number}) - error("MatDensePlaceArray: no generated method for these argument types") + throw(MethodError(MatDensePlaceArray, (petsclib, mat, array))) end @for_petsc function MatDensePlaceArray(petsclib::$UnionPetscLib, mat::AbstractPetscMat, array::Vector{$PetscScalar} ) @@ -7033,7 +7033,7 @@ See also: `Mat`, `MatDensePlaceArray()`, `MatDenseGetArray()`, `VecReplaceArray( $(_doc_external("Mat/MatDenseReplaceArray")) """ function MatDenseReplaceArray(petsclib::PetscLibType, mat::AbstractPetscMat, array::AbstractVector{<:Number}) - error("MatDenseReplaceArray: no generated method for these argument types") + throw(MethodError(MatDenseReplaceArray, (petsclib, mat, array))) end @for_petsc function MatDenseReplaceArray(petsclib::$UnionPetscLib, mat::AbstractPetscMat, array::Vector{$PetscScalar} ) @@ -7069,7 +7069,7 @@ See also: `MatDenseReplaceArray()`, `MatDenseCUDAReplaceArray()`, `MatDenseHIPRe $(_doc_external("Mat/MatDenseReplaceArrayWithMemType")) """ function MatDenseReplaceArrayWithMemType(petsclib::PetscLibType, mat::AbstractPetscMat, mtype::PetscMemType, array::AbstractVector{<:Number}) - error("MatDenseReplaceArrayWithMemType: no generated method for these argument types") + throw(MethodError(MatDenseReplaceArrayWithMemType, (petsclib, mat, mtype, array))) end @for_petsc function MatDenseReplaceArrayWithMemType(petsclib::$UnionPetscLib, mat::AbstractPetscMat, mtype::PetscMemType, array::Vector{$PetscScalar} ) @@ -7102,7 +7102,7 @@ See also: `Mat`, `MATDENSE`, `MatDenseGetArray()`, `MatDensePlaceArray()`, `VecP $(_doc_external("Mat/MatDenseResetArray")) """ function MatDenseResetArray(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatDenseResetArray: no generated method for these argument types") + throw(MethodError(MatDenseResetArray, (petsclib, mat))) end @for_petsc function MatDenseResetArray(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -7136,7 +7136,7 @@ See also: `Mat`, `MATDENSE`, `MatDenseGetArray()`, `MatDenseGetArrayRead()`, `Ma $(_doc_external("Mat/MatDenseRestoreArray")) """ function MatDenseRestoreArray(petsclib::PetscLibType, A::AbstractPetscMat, array::Union{Ptr, AbstractArray{<:Number}}) - error("MatDenseRestoreArray: no generated method for these argument types") + throw(MethodError(MatDenseRestoreArray, (petsclib, A, array))) end @for_petsc function MatDenseRestoreArray(petsclib::$UnionPetscLib, A::AbstractPetscMat, array::Union{Ptr, AbstractArray{$PetscScalar}} ) @@ -7171,7 +7171,7 @@ See also: `Mat`, `MATDENSE`, `MatDenseGetArrayAndMemType()`, `MatDenseGetArray() $(_doc_external("Mat/MatDenseRestoreArrayAndMemType")) """ function MatDenseRestoreArrayAndMemType(petsclib::PetscLibType, A::AbstractPetscMat, array::Union{Ptr, AbstractArray{<:Number}}) - error("MatDenseRestoreArrayAndMemType: no generated method for these argument types") + throw(MethodError(MatDenseRestoreArrayAndMemType, (petsclib, A, array))) end @for_petsc function MatDenseRestoreArrayAndMemType(petsclib::$UnionPetscLib, A::AbstractPetscMat, array::Union{Ptr, AbstractArray{$PetscScalar}} ) @@ -7206,7 +7206,7 @@ See also: `Mat`, `MATDENSE`, `MatDenseGetArrayRead()`, `MatDenseGetArray()`, `Ma $(_doc_external("Mat/MatDenseRestoreArrayRead")) """ function MatDenseRestoreArrayRead(petsclib::PetscLibType, A::AbstractPetscMat, array::Union{Ptr, AbstractArray{<:Number}}) - error("MatDenseRestoreArrayRead: no generated method for these argument types") + throw(MethodError(MatDenseRestoreArrayRead, (petsclib, A, array))) end @for_petsc function MatDenseRestoreArrayRead(petsclib::$UnionPetscLib, A::AbstractPetscMat, array::Union{Ptr, AbstractArray{$PetscScalar}} ) @@ -7241,7 +7241,7 @@ See also: `Mat`, `MATDENSE`, `MatDenseGetArrayReadAndMemType()`, `MatDenseGetArr $(_doc_external("Mat/MatDenseRestoreArrayReadAndMemType")) """ function MatDenseRestoreArrayReadAndMemType(petsclib::PetscLibType, A::AbstractPetscMat, array::Union{Ptr, AbstractArray{<:Number}}) - error("MatDenseRestoreArrayReadAndMemType: no generated method for these argument types") + throw(MethodError(MatDenseRestoreArrayReadAndMemType, (petsclib, A, array))) end @for_petsc function MatDenseRestoreArrayReadAndMemType(petsclib::$UnionPetscLib, A::AbstractPetscMat, array::Union{Ptr, AbstractArray{$PetscScalar}} ) @@ -7276,7 +7276,7 @@ See also: `Mat`, `MATDENSE`, `MatDenseGetArrayWrite()`, `MatDenseGetArray()`, `M $(_doc_external("Mat/MatDenseRestoreArrayWrite")) """ function MatDenseRestoreArrayWrite(petsclib::PetscLibType, A::AbstractPetscMat, array::Union{Ptr, AbstractArray{<:Number}}) - error("MatDenseRestoreArrayWrite: no generated method for these argument types") + throw(MethodError(MatDenseRestoreArrayWrite, (petsclib, A, array))) end @for_petsc function MatDenseRestoreArrayWrite(petsclib::$UnionPetscLib, A::AbstractPetscMat, array::Union{Ptr, AbstractArray{$PetscScalar}} ) @@ -7311,7 +7311,7 @@ See also: `Mat`, `MATDENSE`, `MatDenseGetArrayWriteAndMemType()`, `MatDenseGetAr $(_doc_external("Mat/MatDenseRestoreArrayWriteAndMemType")) """ function MatDenseRestoreArrayWriteAndMemType(petsclib::PetscLibType, A::AbstractPetscMat, array::Union{Ptr, AbstractArray{<:Number}}) - error("MatDenseRestoreArrayWriteAndMemType: no generated method for these argument types") + throw(MethodError(MatDenseRestoreArrayWriteAndMemType, (petsclib, A, array))) end @for_petsc function MatDenseRestoreArrayWriteAndMemType(petsclib::$UnionPetscLib, A::AbstractPetscMat, array::Union{Ptr, AbstractArray{$PetscScalar}} ) @@ -7346,7 +7346,7 @@ See also: `Mat`, `MATDENSE`, `MatDenseGetColumn()` $(_doc_external("Mat/MatDenseRestoreColumn")) """ function MatDenseRestoreColumn(petsclib::PetscLibType, A::AbstractPetscMat, vals::Union{Ptr, AbstractArray{<:Number}}) - error("MatDenseRestoreColumn: no generated method for these argument types") + throw(MethodError(MatDenseRestoreColumn, (petsclib, A, vals))) end @for_petsc function MatDenseRestoreColumn(petsclib::$UnionPetscLib, A::AbstractPetscMat, vals::Union{Ptr, AbstractArray{$PetscScalar}} ) @@ -7382,7 +7382,7 @@ See also: `Mat`, `MATDENSE`, `MATDENSECUDA`, `MATDENSEHIP`, `MatDenseGetColumnVe $(_doc_external("Mat/MatDenseRestoreColumnVec")) """ function MatDenseRestoreColumnVec(petsclib::PetscLibType, A::AbstractPetscMat, col::Integer, v::AbstractPetscVec) - error("MatDenseRestoreColumnVec: no generated method for these argument types") + throw(MethodError(MatDenseRestoreColumnVec, (petsclib, A, col, v))) end @for_petsc function MatDenseRestoreColumnVec(petsclib::$UnionPetscLib, A::AbstractPetscMat, col::$PetscInt, v::AbstractPetscVec ) @@ -7419,7 +7419,7 @@ See also: `Mat`, `MATDENSE`, `MATDENSECUDA`, `MATDENSEHIP`, `MatDenseGetColumnVe $(_doc_external("Mat/MatDenseRestoreColumnVecRead")) """ function MatDenseRestoreColumnVecRead(petsclib::PetscLibType, A::AbstractPetscMat, col::Integer, v::AbstractPetscVec) - error("MatDenseRestoreColumnVecRead: no generated method for these argument types") + throw(MethodError(MatDenseRestoreColumnVecRead, (petsclib, A, col, v))) end @for_petsc function MatDenseRestoreColumnVecRead(petsclib::$UnionPetscLib, A::AbstractPetscMat, col::$PetscInt, v::AbstractPetscVec ) @@ -7456,7 +7456,7 @@ See also: `Mat`, `MATDENSE`, `MATDENSECUDA`, `MATDENSEHIP`, `MatDenseGetColumnVe $(_doc_external("Mat/MatDenseRestoreColumnVecWrite")) """ function MatDenseRestoreColumnVecWrite(petsclib::PetscLibType, A::AbstractPetscMat, col::Integer, v::AbstractPetscVec) - error("MatDenseRestoreColumnVecWrite: no generated method for these argument types") + throw(MethodError(MatDenseRestoreColumnVecWrite, (petsclib, A, col, v))) end @for_petsc function MatDenseRestoreColumnVecWrite(petsclib::$UnionPetscLib, A::AbstractPetscMat, col::$PetscInt, v::AbstractPetscVec ) @@ -7492,7 +7492,7 @@ See also: `Mat`, `MATDENSE`, `MATDENSECUDA`, `MATDENSEHIP`, `MatDenseGetColumnVe $(_doc_external("Mat/MatDenseRestoreSubMatrix")) """ function MatDenseRestoreSubMatrix(petsclib::PetscLibType, A::AbstractPetscMat, v::AbstractPetscMat) - error("MatDenseRestoreSubMatrix: no generated method for these argument types") + throw(MethodError(MatDenseRestoreSubMatrix, (petsclib, A, v))) end @for_petsc function MatDenseRestoreSubMatrix(petsclib::$UnionPetscLib, A::AbstractPetscMat, v::AbstractPetscMat ) @@ -7528,7 +7528,7 @@ See also: `Mat`, `MATDENSE`, `MATDENSECUDA`, `MatDenseGetArray()`, `MatDenseRest $(_doc_external("Mat/MatDenseSetLDA")) """ function MatDenseSetLDA(petsclib::PetscLibType, A::AbstractPetscMat, lda::Integer) - error("MatDenseSetLDA: no generated method for these argument types") + throw(MethodError(MatDenseSetLDA, (petsclib, A, lda))) end @for_petsc function MatDenseSetLDA(petsclib::$UnionPetscLib, A::AbstractPetscMat, lda::$PetscInt ) @@ -7561,7 +7561,7 @@ See also: `Mat`, `MatCreate()` $(_doc_external("Mat/MatDestroy")) """ function MatDestroy(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatDestroy: no generated method for these argument types") + throw(MethodError(MatDestroy, (petsclib, A))) end @for_petsc function MatDestroy(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -7638,7 +7638,7 @@ See also: `Mat`, `MatGetSeqNonzeroStructure()` $(_doc_external("Mat/MatDestroySeqNonzeroStructure")) """ function MatDestroySeqNonzeroStructure(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatDestroySeqNonzeroStructure: no generated method for these argument types") + throw(MethodError(MatDestroySeqNonzeroStructure, (petsclib, mat))) end @for_petsc function MatDestroySeqNonzeroStructure(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -7716,7 +7716,7 @@ See also: `MATDIAGONAL`, `MatCreateDiagonal()`, `MatDiagonalRestoreDiagonal()`, $(_doc_external("Mat/MatDiagonalGetDiagonal")) """ function MatDiagonalGetDiagonal(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatDiagonalGetDiagonal: no generated method for these argument types") + throw(MethodError(MatDiagonalGetDiagonal, (petsclib, A))) end @for_petsc function MatDiagonalGetDiagonal(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -7752,7 +7752,7 @@ See also: `MATDIAGONAL`, `MatCreateDiagonal()`, `MatDiagonalRestoreInverseDiagon $(_doc_external("Mat/MatDiagonalGetInverseDiagonal")) """ function MatDiagonalGetInverseDiagonal(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatDiagonalGetInverseDiagonal: no generated method for these argument types") + throw(MethodError(MatDiagonalGetInverseDiagonal, (petsclib, A))) end @for_petsc function MatDiagonalGetInverseDiagonal(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -7786,7 +7786,7 @@ See also: `MATDIAGONAL`, `MatCreateDiagonal()`, `MatDiagonalGetDiagonal()` $(_doc_external("Mat/MatDiagonalRestoreDiagonal")) """ function MatDiagonalRestoreDiagonal(petsclib::PetscLibType, A::AbstractPetscMat, diag::AbstractPetscVec) - error("MatDiagonalRestoreDiagonal: no generated method for these argument types") + throw(MethodError(MatDiagonalRestoreDiagonal, (petsclib, A, diag))) end @for_petsc function MatDiagonalRestoreDiagonal(petsclib::$UnionPetscLib, A::AbstractPetscMat, diag::AbstractPetscVec ) @@ -7820,7 +7820,7 @@ See also: `MATDIAGONAL`, `MatCreateDiagonal()`, `MatDiagonalGetInverseDiagonal() $(_doc_external("Mat/MatDiagonalRestoreInverseDiagonal")) """ function MatDiagonalRestoreInverseDiagonal(petsclib::PetscLibType, A::AbstractPetscMat, inv_diag::AbstractPetscVec) - error("MatDiagonalRestoreInverseDiagonal: no generated method for these argument types") + throw(MethodError(MatDiagonalRestoreInverseDiagonal, (petsclib, A, inv_diag))) end @for_petsc function MatDiagonalRestoreInverseDiagonal(petsclib::$UnionPetscLib, A::AbstractPetscMat, inv_diag::AbstractPetscVec ) @@ -7859,7 +7859,7 @@ See also: `Mat`, `MatScale()`, `MatShift()`, `MatDiagonalSet()` $(_doc_external("Mat/MatDiagonalScale")) """ function MatDiagonalScale(petsclib::PetscLibType, mat::AbstractPetscMat, l::Union{Ptr, AbstractPetscVec}, r::Union{Ptr, AbstractPetscVec}) - error("MatDiagonalScale: no generated method for these argument types") + throw(MethodError(MatDiagonalScale, (petsclib, mat, l, r))) end @for_petsc function MatDiagonalScale(petsclib::$UnionPetscLib, mat::AbstractPetscMat, l::Union{Ptr, AbstractPetscVec}, r::Union{Ptr, AbstractPetscVec} ) @@ -7894,7 +7894,7 @@ See also: `Mat`, `MatDiagonalScale()` $(_doc_external("Mat/MatDiagonalScaleLocal")) """ function MatDiagonalScaleLocal(petsclib::PetscLibType, mat::AbstractPetscMat, diag::AbstractPetscVec) - error("MatDiagonalScaleLocal: no generated method for these argument types") + throw(MethodError(MatDiagonalScaleLocal, (petsclib, mat, diag))) end @for_petsc function MatDiagonalScaleLocal(petsclib::$UnionPetscLib, mat::AbstractPetscMat, diag::AbstractPetscVec ) @@ -7931,7 +7931,7 @@ See also: `Mat`, `MatShift()`, `MatScale()`, `MatDiagonalScale()` $(_doc_external("Mat/MatDiagonalSet")) """ function MatDiagonalSet(petsclib::PetscLibType, Y::AbstractPetscMat, D::AbstractPetscVec, is::InsertMode) - error("MatDiagonalSet: no generated method for these argument types") + throw(MethodError(MatDiagonalSet, (petsclib, Y, D, is))) end @for_petsc function MatDiagonalSet(petsclib::$UnionPetscLib, Y::AbstractPetscMat, D::AbstractPetscVec, is::InsertMode ) @@ -7967,7 +7967,7 @@ See also: `Mat`, `MatDestroy()`, `MatCreateDiagonal()`, `MATDIAGONAL`, `MatScale $(_doc_external("Mat/MatDiagonalSetDiagonal")) """ function MatDiagonalSetDiagonal(petsclib::PetscLibType, J::AbstractPetscMat, diag::AbstractPetscVec) - error("MatDiagonalSetDiagonal: no generated method for these argument types") + throw(MethodError(MatDiagonalSetDiagonal, (petsclib, J, diag))) end @for_petsc function MatDiagonalSetDiagonal(petsclib::$UnionPetscLib, J::AbstractPetscMat, diag::AbstractPetscVec ) @@ -8005,7 +8005,7 @@ See also: `Mat`, `MatCopy()`, `MatConvert()`, `MatDuplicateOption` $(_doc_external("Mat/MatDuplicate")) """ function MatDuplicate(petsclib::PetscLibType, mat::AbstractPetscMat, op::MatDuplicateOption) - error("MatDuplicate: no generated method for these argument types") + throw(MethodError(MatDuplicate, (petsclib, mat, op))) end @for_petsc function MatDuplicate(petsclib::$UnionPetscLib, mat::AbstractPetscMat, op::MatDuplicateOption ) @@ -8042,7 +8042,7 @@ See also: `Mat`, `MatCreate()`, `MatCreateGraph()`, `MatFilter()` $(_doc_external("Mat/MatEliminateZeros")) """ function MatEliminateZeros(petsclib::PetscLibType, A::AbstractPetscMat, keep::PetscBool) - error("MatEliminateZeros: no generated method for these argument types") + throw(MethodError(MatEliminateZeros, (petsclib, A, keep))) end @for_petsc function MatEliminateZeros(petsclib::$UnionPetscLib, A::AbstractPetscMat, keep::PetscBool ) @@ -8079,7 +8079,7 @@ See also: `Mat`, `MatMultEqual()` $(_doc_external("Mat/MatEqual")) """ function MatEqual(petsclib::PetscLibType, A::AbstractPetscMat, B::AbstractPetscMat) - error("MatEqual: no generated method for these argument types") + throw(MethodError(MatEqual, (petsclib, A, B))) end @for_petsc function MatEqual(petsclib::$UnionPetscLib, A::AbstractPetscMat, B::AbstractPetscMat ) @@ -8115,7 +8115,7 @@ See also: `Mat`, `MatZeroEntries()`, `MatFactor()`, `MatGetFactor()`, `MatLUFact $(_doc_external("Mat/MatFactorClearError")) """ function MatFactorClearError(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatFactorClearError: no generated method for these argument types") + throw(MethodError(MatFactorClearError, (petsclib, mat))) end @for_petsc function MatFactorClearError(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -8150,7 +8150,7 @@ See also: `Mat`, `MatGetFactor()`, `MatFactorSetSchurIS()`, `MatFactorGetSchurCo $(_doc_external("Mat/MatFactorCreateSchurComplement")) """ function MatFactorCreateSchurComplement(petsclib::PetscLibType, F::AbstractPetscMat) - error("MatFactorCreateSchurComplement: no generated method for these argument types") + throw(MethodError(MatFactorCreateSchurComplement, (petsclib, F))) end @for_petsc function MatFactorCreateSchurComplement(petsclib::$UnionPetscLib, F::AbstractPetscMat ) @@ -8187,7 +8187,7 @@ See also: `Mat`, `MatGetFactor()`, `MatFactorSetSchurIS()`, `MatFactorInvertSchu $(_doc_external("Mat/MatFactorFactorizeSchurComplement")) """ function MatFactorFactorizeSchurComplement(petsclib::PetscLibType, F::AbstractPetscMat) - error("MatFactorFactorizeSchurComplement: no generated method for these argument types") + throw(MethodError(MatFactorFactorizeSchurComplement, (petsclib, F))) end @for_petsc function MatFactorFactorizeSchurComplement(petsclib::$UnionPetscLib, F::AbstractPetscMat ) @@ -8223,7 +8223,7 @@ See also: `Mat`, Matrix Factorization, `MatCopy()`, `MatDuplicate()`, `MatGetFac $(_doc_external("Mat/MatFactorGetCanUseOrdering")) """ function MatFactorGetCanUseOrdering(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatFactorGetCanUseOrdering: no generated method for these argument types") + throw(MethodError(MatFactorGetCanUseOrdering, (petsclib, mat))) end @for_petsc function MatFactorGetCanUseOrdering(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -8262,7 +8262,7 @@ See also: `Mat`, `MatZeroEntries()`, `MatFactor()`, `MatGetFactor()`, `MatLUFact $(_doc_external("Mat/MatFactorGetError")) """ function MatFactorGetError(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatFactorGetError: no generated method for these argument types") + throw(MethodError(MatFactorGetError, (petsclib, mat))) end @for_petsc function MatFactorGetError(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -8304,7 +8304,7 @@ See also: `Mat`, `MatZeroEntries()`, `MatFactor()`, `MatGetFactor()`, $(_doc_external("Mat/MatFactorGetErrorZeroPivot")) """ function MatFactorGetErrorZeroPivot(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatFactorGetErrorZeroPivot: no generated method for these argument types") + throw(MethodError(MatFactorGetErrorZeroPivot, (petsclib, mat))) end @for_petsc function MatFactorGetErrorZeroPivot(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -8345,7 +8345,7 @@ See also: `Mat`, Matrix Factorization, `MatFactorType`, `MatOrderingType`, `MatC $(_doc_external("Mat/MatFactorGetPreferredOrdering")) """ function MatFactorGetPreferredOrdering(petsclib::PetscLibType, mat::AbstractPetscMat, ftype::MatFactorType) - error("MatFactorGetPreferredOrdering: no generated method for these argument types") + throw(MethodError(MatFactorGetPreferredOrdering, (petsclib, mat, ftype))) end @for_petsc function MatFactorGetPreferredOrdering(petsclib::$UnionPetscLib, mat::AbstractPetscMat, ftype::MatFactorType ) @@ -8382,7 +8382,7 @@ See also: `Mat`, `MatGetFactor()`, `MatFactorSetSchurIS()`, `MatFactorRestoreSch $(_doc_external("Mat/MatFactorGetSchurComplement")) """ function MatFactorGetSchurComplement(petsclib::PetscLibType, F::AbstractPetscMat, S::Union{Ptr, AbstractPetscMat}) - error("MatFactorGetSchurComplement: no generated method for these argument types") + throw(MethodError(MatFactorGetSchurComplement, (petsclib, F, S))) end @for_petsc function MatFactorGetSchurComplement(petsclib::$UnionPetscLib, F::AbstractPetscMat, S::Union{Ptr, AbstractPetscMat} ) @@ -8422,7 +8422,7 @@ See also: `Mat`, Matrix Factorization, `MatGetFactor()`, `MatSolverType`, `MatCo $(_doc_external("Mat/MatFactorGetSolverType")) """ function MatFactorGetSolverType(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatFactorGetSolverType: no generated method for these argument types") + throw(MethodError(MatFactorGetSolverType, (petsclib, mat))) end @for_petsc function MatFactorGetSolverType(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -8458,7 +8458,7 @@ See also: `Mat`, `MatGetFactor()`, `MatFactorInfo` $(_doc_external("Mat/MatFactorInfoInitialize")) """ function MatFactorInfoInitialize(petsclib::PetscLibType, info::Vector{MatFactorInfo}) - error("MatFactorInfoInitialize: no generated method for these argument types") + throw(MethodError(MatFactorInfoInitialize, (petsclib, info))) end @for_petsc function MatFactorInfoInitialize(petsclib::$UnionPetscLib, info::Vector{MatFactorInfo} ) @@ -8491,7 +8491,7 @@ See also: `Mat`, `MatGetFactor()`, `MatFactorSetSchurIS()`, `MatFactorGetSchurCo $(_doc_external("Mat/MatFactorInvertSchurComplement")) """ function MatFactorInvertSchurComplement(petsclib::PetscLibType, F::AbstractPetscMat) - error("MatFactorInvertSchurComplement: no generated method for these argument types") + throw(MethodError(MatFactorInvertSchurComplement, (petsclib, F))) end @for_petsc function MatFactorInvertSchurComplement(petsclib::$UnionPetscLib, F::AbstractPetscMat ) @@ -8526,7 +8526,7 @@ See also: `Mat`, `MatGetFactor()`, `MatFactorSetSchurIS()`, `MatFactorCreateSchu $(_doc_external("Mat/MatFactorRestoreSchurComplement")) """ function MatFactorRestoreSchurComplement(petsclib::PetscLibType, F::AbstractPetscMat, S::AbstractPetscMat, status::MatFactorSchurStatus) - error("MatFactorRestoreSchurComplement: no generated method for these argument types") + throw(MethodError(MatFactorRestoreSchurComplement, (petsclib, F, S, status))) end @for_petsc function MatFactorRestoreSchurComplement(petsclib::$UnionPetscLib, F::AbstractPetscMat, S::AbstractPetscMat, status::MatFactorSchurStatus ) @@ -8563,7 +8563,7 @@ See also: `Mat`, `MatGetFactor()`, `MatFactorGetSchurComplement()`, `MatFactorRe $(_doc_external("Mat/MatFactorSetSchurIS")) """ function MatFactorSetSchurIS(petsclib::PetscLibType, mat::AbstractPetscMat, is::AbstractIS) - error("MatFactorSetSchurIS: no generated method for these argument types") + throw(MethodError(MatFactorSetSchurIS, (petsclib, mat, is))) end @for_petsc function MatFactorSetSchurIS(petsclib::$UnionPetscLib, mat::AbstractPetscMat, is::AbstractIS ) @@ -8598,7 +8598,7 @@ See also: `Mat`, `MatGetFactor()`, `MatFactorSetSchurIS()`, `MatFactorSolveSchur $(_doc_external("Mat/MatFactorSolveSchurComplement")) """ function MatFactorSolveSchurComplement(petsclib::PetscLibType, F::AbstractPetscMat, rhs::AbstractPetscVec, sol::AbstractPetscVec) - error("MatFactorSolveSchurComplement: no generated method for these argument types") + throw(MethodError(MatFactorSolveSchurComplement, (petsclib, F, rhs, sol))) end @for_petsc function MatFactorSolveSchurComplement(petsclib::$UnionPetscLib, F::AbstractPetscMat, rhs::AbstractPetscVec, sol::AbstractPetscVec ) @@ -8633,7 +8633,7 @@ See also: `Mat`, `MatGetFactor()`, `MatFactorSetSchurIS()`, `MatFactorSolveSchur $(_doc_external("Mat/MatFactorSolveSchurComplementTranspose")) """ function MatFactorSolveSchurComplementTranspose(petsclib::PetscLibType, F::AbstractPetscMat, rhs::AbstractPetscVec, sol::AbstractPetscVec) - error("MatFactorSolveSchurComplementTranspose: no generated method for these argument types") + throw(MethodError(MatFactorSolveSchurComplementTranspose, (petsclib, F, rhs, sol))) end @for_petsc function MatFactorSolveSchurComplementTranspose(petsclib::$UnionPetscLib, F::AbstractPetscMat, rhs::AbstractPetscVec, sol::AbstractPetscVec ) @@ -8667,7 +8667,7 @@ See also: `Mat`, `MatCreate()`, `MatZeroEntries()`, `MatEliminateZeros()`, `VecF $(_doc_external("Mat/MatFilter")) """ function MatFilter(petsclib::PetscLibType, A::AbstractPetscMat, tol::Real, compress::PetscBool, keep::PetscBool) - error("MatFilter: no generated method for these argument types") + throw(MethodError(MatFilter, (petsclib, A, tol, compress, keep))) end @for_petsc function MatFilter(petsclib::$UnionPetscLib, A::AbstractPetscMat, tol::$PetscReal, compress::PetscBool, keep::PetscBool ) @@ -8696,7 +8696,7 @@ See also: `Mat`, `PetscFinalize()`, `MatInitializePackage()` $(_doc_external("Mat/MatFinalizePackage")) """ function MatFinalizePackage(petsclib::PetscLibType) - error("MatFinalizePackage: no generated method for these argument types") + throw(MethodError(MatFinalizePackage, (petsclib, ))) end @for_petsc function MatFinalizePackage(petsclib::$UnionPetscLib) @@ -8729,7 +8729,7 @@ See also: `Mat`, `MatFindZeroRows()` $(_doc_external("Mat/MatFindNonzeroRows")) """ function MatFindNonzeroRows(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatFindNonzeroRows: no generated method for these argument types") + throw(MethodError(MatFindNonzeroRows, (petsclib, mat))) end @for_petsc function MatFindNonzeroRows(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -8767,7 +8767,7 @@ See also: `Mat`, `MatMultTranspose()`, `MatMultAdd()`, `MatMultTransposeAdd()` $(_doc_external("Mat/MatFindOffBlockDiagonalEntries")) """ function MatFindOffBlockDiagonalEntries(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatFindOffBlockDiagonalEntries: no generated method for these argument types") + throw(MethodError(MatFindOffBlockDiagonalEntries, (petsclib, mat))) end @for_petsc function MatFindOffBlockDiagonalEntries(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -8805,7 +8805,7 @@ See also: `Mat`, `MatMultTranspose()`, `MatMultAdd()`, `MatMultTransposeAdd()` $(_doc_external("Mat/MatFindZeroDiagonals")) """ function MatFindZeroDiagonals(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatFindZeroDiagonals: no generated method for these argument types") + throw(MethodError(MatFindZeroDiagonals, (petsclib, mat))) end @for_petsc function MatFindZeroDiagonals(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -8841,7 +8841,7 @@ See also: `Mat`, `MatFindNonzeroRows()` $(_doc_external("Mat/MatFindZeroRows")) """ function MatFindZeroRows(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatFindZeroRows: no generated method for these argument types") + throw(MethodError(MatFindZeroRows, (petsclib, mat))) end @for_petsc function MatFindZeroRows(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -8881,7 +8881,7 @@ See also: `Mat`, `MatBackwardSolve()`, `MatGetFactor()`, `MatSolve()` $(_doc_external("Mat/MatForwardSolve")) """ function MatForwardSolve(petsclib::PetscLibType, mat::AbstractPetscMat, b::AbstractPetscVec, x::AbstractPetscVec) - error("MatForwardSolve: no generated method for these argument types") + throw(MethodError(MatForwardSolve, (petsclib, mat, b, x))) end @for_petsc function MatForwardSolve(petsclib::$UnionPetscLib, mat::AbstractPetscMat, b::AbstractPetscVec, x::AbstractPetscVec ) @@ -8929,7 +8929,7 @@ See also: `Mat`, `MatPtAP()`, `MatMatMatMult()` $(_doc_external("Mat/MatGalerkin")) """ function MatGalerkin(petsclib::PetscLibType, restrct::AbstractPetscMat, dA::AbstractPetscMat, interpolate::AbstractPetscMat, reuse::MatReuse, fill::Real) - error("MatGalerkin: no generated method for these argument types") + throw(MethodError(MatGalerkin, (petsclib, restrct, dA, interpolate, reuse, fill))) end @for_petsc function MatGalerkin(petsclib::$UnionPetscLib, restrct::AbstractPetscMat, dA::AbstractPetscMat, interpolate::AbstractPetscMat, reuse::MatReuse, fill::$PetscReal ) @@ -8965,7 +8965,7 @@ See also: `Mat`, `MatSetBindingPropagates()` $(_doc_external("Mat/MatGetBindingPropagates")) """ function MatGetBindingPropagates(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatGetBindingPropagates: no generated method for these argument types") + throw(MethodError(MatGetBindingPropagates, (petsclib, A))) end @for_petsc function MatGetBindingPropagates(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -9003,7 +9003,7 @@ See also: `Mat`, `MATBAIJ`, `MATSBAIJ`, `MatCreateSeqBAIJ()`, `MatCreateBAIJ()`, $(_doc_external("Mat/MatGetBlockSize")) """ function MatGetBlockSize(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatGetBlockSize: no generated method for these argument types") + throw(MethodError(MatGetBlockSize, (petsclib, mat))) end @for_petsc function MatGetBlockSize(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -9042,7 +9042,7 @@ See also: `Mat`, `MATBAIJ`, `MATSBAIJ`, `MatCreateSeqBAIJ()`, `MatCreateBAIJ()`, $(_doc_external("Mat/MatGetBlockSizes")) """ function MatGetBlockSizes(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatGetBlockSizes: no generated method for these argument types") + throw(MethodError(MatGetBlockSizes, (petsclib, mat))) end @for_petsc function MatGetBlockSizes(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -9086,7 +9086,7 @@ See also: `Mat`, `MATMPIAIJ`, `IS`, `MatReuse` $(_doc_external("Mat/MatGetBrowsOfAcols")) """ function MatGetBrowsOfAcols(petsclib::PetscLibType, A::AbstractPetscMat, B::AbstractPetscMat, scall::MatReuse) - error("MatGetBrowsOfAcols: no generated method for these argument types") + throw(MethodError(MatGetBrowsOfAcols, (petsclib, A, B, scall))) end @for_petsc function MatGetBrowsOfAcols(petsclib::$UnionPetscLib, A::AbstractPetscMat, B::AbstractPetscMat, scall::MatReuse ) @@ -9187,7 +9187,7 @@ See also: `Mat`, `VecSum()`, `MatGetColumnSums()`, `MatGetColumnNorms()`, `MatGe $(_doc_external("Mat/MatGetColumnMeans")) """ function MatGetColumnMeans(petsclib::PetscLibType, A::AbstractPetscMat, means::AbstractVector{<:Number}) - error("MatGetColumnMeans: no generated method for these argument types") + throw(MethodError(MatGetColumnMeans, (petsclib, A, means))) end @for_petsc function MatGetColumnMeans(petsclib::$UnionPetscLib, A::AbstractPetscMat, means::Vector{$PetscScalar} ) @@ -9221,7 +9221,7 @@ See also: `Mat`, `MatGetColumnMeansRealPart()`, `VecSum()`, `MatGetColumnSums()` $(_doc_external("Mat/MatGetColumnMeansImaginaryPart")) """ function MatGetColumnMeansImaginaryPart(petsclib::PetscLibType, A::AbstractPetscMat, means::AbstractVector{<:Number}) - error("MatGetColumnMeansImaginaryPart: no generated method for these argument types") + throw(MethodError(MatGetColumnMeansImaginaryPart, (petsclib, A, means))) end @for_petsc function MatGetColumnMeansImaginaryPart(petsclib::$UnionPetscLib, A::AbstractPetscMat, means::Vector{$PetscReal} ) @@ -9255,7 +9255,7 @@ See also: `Mat`, `MatGetColumnMeansImaginaryPart()`, `VecSum()`, `MatGetColumnSu $(_doc_external("Mat/MatGetColumnMeansRealPart")) """ function MatGetColumnMeansRealPart(petsclib::PetscLibType, A::AbstractPetscMat, means::AbstractVector{<:Number}) - error("MatGetColumnMeansRealPart: no generated method for these argument types") + throw(MethodError(MatGetColumnMeansRealPart, (petsclib, A, means))) end @for_petsc function MatGetColumnMeansRealPart(petsclib::$UnionPetscLib, A::AbstractPetscMat, means::Vector{$PetscReal} ) @@ -9290,7 +9290,7 @@ See also: `Mat`, `NormType`, `MatNorm()` $(_doc_external("Mat/MatGetColumnNorms")) """ function MatGetColumnNorms(petsclib::PetscLibType, A::AbstractPetscMat, type::NormType, norms::AbstractVector{<:Number}) - error("MatGetColumnNorms: no generated method for these argument types") + throw(MethodError(MatGetColumnNorms, (petsclib, A, type, norms))) end @for_petsc function MatGetColumnNorms(petsclib::$UnionPetscLib, A::AbstractPetscMat, type::NormType, norms::Vector{$PetscReal} ) @@ -9326,7 +9326,7 @@ See also: `Mat`, `ReductionType`, `NormType`, `MatGetColumnNorms()`, `MatGetColu $(_doc_external("Mat/MatGetColumnReductions")) """ function MatGetColumnReductions(petsclib::PetscLibType, A::AbstractPetscMat, type::Integer, reductions::AbstractVector{<:Number}) - error("MatGetColumnReductions: no generated method for these argument types") + throw(MethodError(MatGetColumnReductions, (petsclib, A, type, reductions))) end @for_petsc function MatGetColumnReductions(petsclib::$UnionPetscLib, A::AbstractPetscMat, type::$PetscInt, reductions::Vector{$PetscReal} ) @@ -9360,7 +9360,7 @@ See also: `Mat`, `VecSum()`, `MatGetColumnMeans()`, `MatGetColumnNorms()`, `MatG $(_doc_external("Mat/MatGetColumnSums")) """ function MatGetColumnSums(petsclib::PetscLibType, A::AbstractPetscMat, sums::AbstractVector{<:Number}) - error("MatGetColumnSums: no generated method for these argument types") + throw(MethodError(MatGetColumnSums, (petsclib, A, sums))) end @for_petsc function MatGetColumnSums(petsclib::$UnionPetscLib, A::AbstractPetscMat, sums::Vector{$PetscScalar} ) @@ -9394,7 +9394,7 @@ See also: `Mat`, `MatGetColumnSumsRealPart()`, `VecSum()`, `MatGetColumnMeans()` $(_doc_external("Mat/MatGetColumnSumsImaginaryPart")) """ function MatGetColumnSumsImaginaryPart(petsclib::PetscLibType, A::AbstractPetscMat, sums::AbstractVector{<:Number}) - error("MatGetColumnSumsImaginaryPart: no generated method for these argument types") + throw(MethodError(MatGetColumnSumsImaginaryPart, (petsclib, A, sums))) end @for_petsc function MatGetColumnSumsImaginaryPart(petsclib::$UnionPetscLib, A::AbstractPetscMat, sums::Vector{$PetscReal} ) @@ -9428,7 +9428,7 @@ See also: `Mat`, `MatGetColumnSumsImaginaryPart()`, `VecSum()`, `MatGetColumnMea $(_doc_external("Mat/MatGetColumnSumsRealPart")) """ function MatGetColumnSumsRealPart(petsclib::PetscLibType, A::AbstractPetscMat, sums::AbstractVector{<:Number}) - error("MatGetColumnSumsRealPart: no generated method for these argument types") + throw(MethodError(MatGetColumnSumsRealPart, (petsclib, A, sums))) end @for_petsc function MatGetColumnSumsRealPart(petsclib::$UnionPetscLib, A::AbstractPetscMat, sums::Vector{$PetscReal} ) @@ -9463,7 +9463,7 @@ See also: `Mat`, `MatGetRow()`, `MatGetDiagonal()`, `MatMult()` $(_doc_external("Mat/MatGetColumnVector")) """ function MatGetColumnVector(petsclib::PetscLibType, A::AbstractPetscMat, yy::AbstractPetscVec, col::Integer) - error("MatGetColumnVector: no generated method for these argument types") + throw(MethodError(MatGetColumnVector, (petsclib, A, yy, col))) end @for_petsc function MatGetColumnVector(petsclib::$UnionPetscLib, A::AbstractPetscMat, yy::AbstractPetscVec, col::$PetscInt ) @@ -9499,7 +9499,7 @@ See also: `Mat`, `MatBoundToCPU()`, `PetscMemType` $(_doc_external("Mat/MatGetCurrentMemType")) """ function MatGetCurrentMemType(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatGetCurrentMemType: no generated method for these argument types") + throw(MethodError(MatGetCurrentMemType, (petsclib, A))) end @for_petsc function MatGetCurrentMemType(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -9537,7 +9537,7 @@ See also: `DM`, `MatSetDM()`, `DMCreateMatrix()`, `DMSetMatType()` $(_doc_external("DM/MatGetDM")) """ function MatGetDM(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatGetDM: no generated method for these argument types") + throw(MethodError(MatGetDM, (petsclib, A))) end @for_petsc function MatGetDM(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -9575,7 +9575,7 @@ See also: `Mat`, `Vec`, `MatGetRow()`, `MatCreateSubMatrices()`, `MatCreateSubMa $(_doc_external("Mat/MatGetDiagonal")) """ function MatGetDiagonal(petsclib::PetscLibType, mat::AbstractPetscMat, v::AbstractPetscVec) - error("MatGetDiagonal: no generated method for these argument types") + throw(MethodError(MatGetDiagonal, (petsclib, mat, v))) end @for_petsc function MatGetDiagonal(petsclib::$UnionPetscLib, mat::AbstractPetscMat, v::AbstractPetscVec ) @@ -9611,7 +9611,7 @@ See also: `Mat`, `MatCreateAIJ()`, `MATAIJ`, `MATBAIJ`, `MATSBAIJ` $(_doc_external("Mat/MatGetDiagonalBlock")) """ function MatGetDiagonalBlock(petsclib::PetscLibType, A::AbstractPetscMat, M_a::AbstractPetscMat) - error("MatGetDiagonalBlock: no generated method for these argument types") + throw(MethodError(MatGetDiagonalBlock, (petsclib, A, M_a))) end @for_petsc function MatGetDiagonalBlock(petsclib::$UnionPetscLib, A::AbstractPetscMat, M_a::AbstractPetscMat ) @@ -9662,7 +9662,7 @@ See also: `Mat`, Matrix Factorization, `KSP`, `MatSolverType`, `MatFactorType`, $(_doc_external("Mat/MatGetFactor")) """ function MatGetFactor(petsclib::PetscLibType, mat::AbstractPetscMat, type::String, ftype::MatFactorType) - error("MatGetFactor: no generated method for these argument types") + throw(MethodError(MatGetFactor, (petsclib, mat, type, ftype))) end @for_petsc function MatGetFactor(petsclib::$UnionPetscLib, mat::AbstractPetscMat, type::String, ftype::MatFactorType ) @@ -9703,7 +9703,7 @@ See also: `Mat`, Matrix Factorization, `MatSolverType`, `MatFactorType`, `MatGet $(_doc_external("Mat/MatGetFactorAvailable")) """ function MatGetFactorAvailable(petsclib::PetscLibType, mat::AbstractPetscMat, type::String, ftype::MatFactorType) - error("MatGetFactorAvailable: no generated method for these argument types") + throw(MethodError(MatGetFactorAvailable, (petsclib, mat, type, ftype))) end @for_petsc function MatGetFactorAvailable(petsclib::$UnionPetscLib, mat::AbstractPetscMat, type::String, ftype::MatFactorType ) @@ -9742,7 +9742,7 @@ See also: `Mat`, Matrix Factorization, `MatFactorType`, `MatGetFactor()`, `MatSe $(_doc_external("Mat/MatGetFactorType")) """ function MatGetFactorType(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatGetFactorType: no generated method for these argument types") + throw(MethodError(MatGetFactorType, (petsclib, mat))) end @for_petsc function MatGetFactorType(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -9781,7 +9781,7 @@ See also: `Mat`, `VecCreateGhost()`, `VecCreateGhostBlock()` $(_doc_external("Mat/MatGetGhosts")) """ function MatGetGhosts(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatGetGhosts: no generated method for these argument types") + throw(MethodError(MatGetGhosts, (petsclib, mat))) end @for_petsc function MatGetGhosts(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -9824,7 +9824,7 @@ See also: `Mat`, `MatGetFactor()`, `MatCholeskyFactor()` $(_doc_external("Mat/MatGetInertia")) """ function MatGetInertia(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatGetInertia: no generated method for these argument types") + throw(MethodError(MatGetInertia, (petsclib, mat))) end @for_petsc function MatGetInertia(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -9871,7 +9871,7 @@ See also: `Mat`, `MatInfo`, `MatStashGetInfo()` $(_doc_external("Mat/MatGetInfo")) """ function MatGetInfo(petsclib::PetscLibType, mat::AbstractPetscMat, flag::MatInfoType) - error("MatGetInfo: no generated method for these argument types") + throw(MethodError(MatGetInfo, (petsclib, mat, flag))) end @for_petsc function MatGetInfo(petsclib::$UnionPetscLib, mat::AbstractPetscMat, flag::MatInfoType ) @@ -9910,7 +9910,7 @@ See also: `Mat`, Matrix Layouts, `PetscLayout`, `MatCreateVecs()`, `MatGetLocalT $(_doc_external("Mat/MatGetLayouts")) """ function MatGetLayouts(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatGetLayouts: no generated method for these argument types") + throw(MethodError(MatGetLayouts, (petsclib, A))) end @for_petsc function MatGetLayouts(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -9952,7 +9952,7 @@ See also: `Mat`, `MatSetSizes()`, `MatGetSize()` $(_doc_external("Mat/MatGetLocalSize")) """ function MatGetLocalSize(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatGetLocalSize: no generated method for these argument types") + throw(MethodError(MatGetLocalSize, (petsclib, mat))) end @for_petsc function MatGetLocalSize(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -9994,7 +9994,7 @@ See also: `Mat`, `MatRestoreLocalSubMatrix()`, `MatCreateLocalRef()`, `MatSetLoc $(_doc_external("Mat/MatGetLocalSubMatrix")) """ function MatGetLocalSubMatrix(petsclib::PetscLibType, mat::AbstractPetscMat, isrow::AbstractIS, iscol::AbstractIS) - error("MatGetLocalSubMatrix: no generated method for these argument types") + throw(MethodError(MatGetLocalSubMatrix, (petsclib, mat, isrow, iscol))) end @for_petsc function MatGetLocalSubMatrix(petsclib::$UnionPetscLib, mat::AbstractPetscMat, isrow::AbstractIS, iscol::AbstractIS ) @@ -10033,7 +10033,7 @@ See also: `Mat`, `MatSetLocalToGlobalMapping()`, `MatSetValuesLocal()` $(_doc_external("Mat/MatGetLocalToGlobalMapping")) """ function MatGetLocalToGlobalMapping(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatGetLocalToGlobalMapping: no generated method for these argument types") + throw(MethodError(MatGetLocalToGlobalMapping, (petsclib, A))) end @for_petsc function MatGetLocalToGlobalMapping(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -10076,7 +10076,7 @@ See also: `Mat`, `MatCreateRedundantMatrix()`, `MatCreateSubMatrices()`, `PCBJAC $(_doc_external("Mat/MatGetMultiProcBlock")) """ function MatGetMultiProcBlock(petsclib::PetscLibType, mat::AbstractPetscMat, subComm::MPI_Comm, scall::MatReuse) - error("MatGetMultiProcBlock: no generated method for these argument types") + throw(MethodError(MatGetMultiProcBlock, (petsclib, mat, subComm, scall))) end @for_petsc function MatGetMultiProcBlock(petsclib::$UnionPetscLib, mat::AbstractPetscMat, subComm::MPI_Comm, scall::MatReuse ) @@ -10114,7 +10114,7 @@ See also: `Mat`, `MatNullSpace`, `MatSetNearNullSpace()`, `MatGetNullSpace()`, ` $(_doc_external("Mat/MatGetNearNullSpace")) """ function MatGetNearNullSpace(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatGetNearNullSpace: no generated method for these argument types") + throw(MethodError(MatGetNearNullSpace, (petsclib, mat))) end @for_petsc function MatGetNearNullSpace(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -10153,7 +10153,7 @@ See also: `Mat`, `PetscObjectStateGet()`, `PetscObjectGetId()` $(_doc_external("Mat/MatGetNonzeroState")) """ function MatGetNonzeroState(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatGetNonzeroState: no generated method for these argument types") + throw(MethodError(MatGetNonzeroState, (petsclib, mat))) end @for_petsc function MatGetNonzeroState(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -10189,7 +10189,7 @@ See also: `Mat`, `MatCreate()`, `MatNullSpaceCreate()`, `MatSetNearNullSpace()`, $(_doc_external("Mat/MatGetNullSpace")) """ function MatGetNullSpace(petsclib::PetscLibType, mat::AbstractPetscMat, nullsp::MatNullSpace) - error("MatGetNullSpace: no generated method for these argument types") + throw(MethodError(MatGetNullSpace, (petsclib, mat, nullsp))) end @for_petsc function MatGetNullSpace(petsclib::$UnionPetscLib, mat::AbstractPetscMat, nullsp::MatNullSpace ) @@ -10227,7 +10227,7 @@ See also: `Mat`, `MatCreate()`, `MatNullSpaceCreate()`, `MatSetNearNullSpace()`, $(_doc_external("Mat/MatGetNullSpaces")) """ function MatGetNullSpaces(petsclib::PetscLibType, n::Integer, mat::Vector{<:AbstractPetscMat}) - error("MatGetNullSpaces: no generated method for these argument types") + throw(MethodError(MatGetNullSpaces, (petsclib, n, mat))) end @for_petsc function MatGetNullSpaces(petsclib::$UnionPetscLib, n::$PetscInt, mat::Vector{<:AbstractPetscMat} ) @@ -10266,7 +10266,7 @@ See also: `Mat`, `MatSetOperation()`, `MatCreateShell()`, `MatShellGetContext()` $(_doc_external("Mat/MatGetOperation")) """ function MatGetOperation(petsclib::PetscLibType, mat::AbstractPetscMat, op::MatOperation) - error("MatGetOperation: no generated method for these argument types") + throw(MethodError(MatGetOperation, (petsclib, mat, op))) end @for_petsc function MatGetOperation(petsclib::$UnionPetscLib, mat::AbstractPetscMat, op::MatOperation ) @@ -10306,7 +10306,7 @@ See also: `Mat`, `MatOption`, `MatSetOption()`, `MatIsSymmetric()`, `MatIsHermit $(_doc_external("Mat/MatGetOption")) """ function MatGetOption(petsclib::PetscLibType, mat::AbstractPetscMat, op::MatOption) - error("MatGetOption: no generated method for these argument types") + throw(MethodError(MatGetOption, (petsclib, mat, op))) end @for_petsc function MatGetOption(petsclib::$UnionPetscLib, mat::AbstractPetscMat, op::MatOption ) @@ -10345,7 +10345,7 @@ See also: `Mat`, `MatAppendOptionsPrefix()`, `MatSetOptionsPrefix()`, `MatAppend $(_doc_external("Mat/MatGetOptionsPrefix")) """ function MatGetOptionsPrefix(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatGetOptionsPrefix: no generated method for these argument types") + throw(MethodError(MatGetOptionsPrefix, (petsclib, A))) end @for_petsc function MatGetOptionsPrefix(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -10399,7 +10399,7 @@ See also: `MatOrderingRegister()`, `PCFactorSetMatOrderingType()`, `MatColoring` $(_doc_external("MatGraphOperations/MatGetOrdering")) """ function MatGetOrdering(petsclib::PetscLibType, mat::AbstractPetscMat, type::String) - error("MatGetOrdering: no generated method for these argument types") + throw(MethodError(MatGetOrdering, (petsclib, mat, type))) end @for_petsc function MatGetOrdering(petsclib::$UnionPetscLib, mat::AbstractPetscMat, type::String ) @@ -10436,7 +10436,7 @@ See also: `Mat`, `MatOrderingType`, `MatOrderingRegister()`, `MatGetOrdering()` $(_doc_external("MatGraphOperations/MatGetOrderingList")) """ function MatGetOrderingList(petsclib::PetscLibType) - error("MatGetOrderingList: no generated method for these argument types") + throw(MethodError(MatGetOrderingList, (petsclib, ))) end @for_petsc function MatGetOrderingList(petsclib::$UnionPetscLib) @@ -10475,7 +10475,7 @@ See also: `IS`, `Mat`, `MatGetOwnershipRanges()`, `MatSetValues()`, `MATELEMENTA $(_doc_external("Mat/MatGetOwnershipIS")) """ function MatGetOwnershipIS(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatGetOwnershipIS: no generated method for these argument types") + throw(MethodError(MatGetOwnershipIS, (petsclib, A))) end @for_petsc function MatGetOwnershipIS(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -10518,7 +10518,7 @@ See also: `Mat`, `MatGetOwnershipRanges()`, `MatGetOwnershipRangeColumn()`, `Mat $(_doc_external("Mat/MatGetOwnershipRange")) """ function MatGetOwnershipRange(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatGetOwnershipRange: no generated method for these argument types") + throw(MethodError(MatGetOwnershipRange, (petsclib, mat))) end @for_petsc function MatGetOwnershipRange(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -10561,7 +10561,7 @@ See also: `Mat`, `MatGetOwnershipRange()`, `MatGetOwnershipRanges()`, `MatGetOwn $(_doc_external("Mat/MatGetOwnershipRangeColumn")) """ function MatGetOwnershipRangeColumn(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatGetOwnershipRangeColumn: no generated method for these argument types") + throw(MethodError(MatGetOwnershipRangeColumn, (petsclib, mat))) end @for_petsc function MatGetOwnershipRangeColumn(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -10605,7 +10605,7 @@ See also: `Mat`, `MatGetOwnershipRange()`, `MatGetOwnershipRangeColumn()`, `MatG $(_doc_external("Mat/MatGetOwnershipRanges")) """ function MatGetOwnershipRanges(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatGetOwnershipRanges: no generated method for these argument types") + throw(MethodError(MatGetOwnershipRanges, (petsclib, mat))) end @for_petsc function MatGetOwnershipRanges(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -10647,7 +10647,7 @@ See also: `Mat`, `MatGetOwnershipRange()`, `MatGetOwnershipRangeColumn()`, `MatG $(_doc_external("Mat/MatGetOwnershipRangesColumn")) """ function MatGetOwnershipRangesColumn(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatGetOwnershipRangesColumn: no generated method for these argument types") + throw(MethodError(MatGetOwnershipRangesColumn, (petsclib, mat))) end @for_petsc function MatGetOwnershipRangesColumn(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -10691,7 +10691,7 @@ See also: `Mat`, `MatRestoreRow()`, `MatSetValues()`, `MatGetValues()`, `MatCrea $(_doc_external("Mat/MatGetRow")) """ function MatGetRow(petsclib::PetscLibType, mat::AbstractPetscMat, row::Integer) - error("MatGetRow: no generated method for these argument types") + throw(MethodError(MatGetRow, (petsclib, mat, row))) end @for_petsc function MatGetRow(petsclib::$UnionPetscLib, mat::AbstractPetscMat, row::$PetscInt ) @@ -10798,7 +10798,7 @@ See also: `Mat`, `MatGetDiagonal()`, `MatCreateSubMatrices()`, `MatCreateSubMatr $(_doc_external("Mat/MatGetRowMax")) """ function MatGetRowMax(petsclib::PetscLibType, mat::AbstractPetscMat, v::AbstractPetscVec, idx::AbstractVector{<:Number}) - error("MatGetRowMax: no generated method for these argument types") + throw(MethodError(MatGetRowMax, (petsclib, mat, v, idx))) end @for_petsc function MatGetRowMax(petsclib::$UnionPetscLib, mat::AbstractPetscMat, v::AbstractPetscVec, idx::Vector{$PetscInt} ) @@ -10836,7 +10836,7 @@ See also: `Mat`, `MatGetDiagonal()`, `MatCreateSubMatrices()`, `MatCreateSubMatr $(_doc_external("Mat/MatGetRowMaxAbs")) """ function MatGetRowMaxAbs(petsclib::PetscLibType, mat::AbstractPetscMat, v::AbstractPetscVec, idx::AbstractVector{<:Number}) - error("MatGetRowMaxAbs: no generated method for these argument types") + throw(MethodError(MatGetRowMaxAbs, (petsclib, mat, v, idx))) end @for_petsc function MatGetRowMaxAbs(petsclib::$UnionPetscLib, mat::AbstractPetscMat, v::AbstractPetscVec, idx::Vector{$PetscInt} ) @@ -10875,7 +10875,7 @@ See also: `Mat`, `MatGetDiagonal()`, `MatCreateSubMatrices()`, `MatCreateSubMatr $(_doc_external("Mat/MatGetRowMin")) """ function MatGetRowMin(petsclib::PetscLibType, mat::AbstractPetscMat, v::AbstractPetscVec, idx::AbstractVector{<:Number}) - error("MatGetRowMin: no generated method for these argument types") + throw(MethodError(MatGetRowMin, (petsclib, mat, v, idx))) end @for_petsc function MatGetRowMin(petsclib::$UnionPetscLib, mat::AbstractPetscMat, v::AbstractPetscVec, idx::Vector{$PetscInt} ) @@ -10913,7 +10913,7 @@ See also: `Mat`, `MatGetDiagonal()`, `MatCreateSubMatrices()`, `MatCreateSubMatr $(_doc_external("Mat/MatGetRowMinAbs")) """ function MatGetRowMinAbs(petsclib::PetscLibType, mat::AbstractPetscMat, v::AbstractPetscVec, idx::AbstractVector{<:Number}) - error("MatGetRowMinAbs: no generated method for these argument types") + throw(MethodError(MatGetRowMinAbs, (petsclib, mat, v, idx))) end @for_petsc function MatGetRowMinAbs(petsclib::$UnionPetscLib, mat::AbstractPetscMat, v::AbstractPetscVec, idx::Vector{$PetscInt} ) @@ -10949,7 +10949,7 @@ See also: `Mat`, `MatGetDiagonal()`, `MatCreateSubMatrices()`, `MatCreateSubMatr $(_doc_external("Mat/MatGetRowSum")) """ function MatGetRowSum(petsclib::PetscLibType, mat::AbstractPetscMat, v::AbstractPetscVec) - error("MatGetRowSum: no generated method for these argument types") + throw(MethodError(MatGetRowSum, (petsclib, mat, v))) end @for_petsc function MatGetRowSum(petsclib::$UnionPetscLib, mat::AbstractPetscMat, v::AbstractPetscVec ) @@ -10987,7 +10987,7 @@ See also: `Mat`, `MatGetDiagonal()`, `MatCreateSubMatrices()`, `MatCreateSubMatr $(_doc_external("Mat/MatGetRowSumAbs")) """ function MatGetRowSumAbs(petsclib::PetscLibType, mat::AbstractPetscMat, v::AbstractPetscVec) - error("MatGetRowSumAbs: no generated method for these argument types") + throw(MethodError(MatGetRowSumAbs, (petsclib, mat, v))) end @for_petsc function MatGetRowSumAbs(petsclib::$UnionPetscLib, mat::AbstractPetscMat, v::AbstractPetscVec ) @@ -11021,7 +11021,7 @@ See also: `Mat`, `MATSBAIJ`, `MatRestoreRowUpperTriangular()` $(_doc_external("Mat/MatGetRowUpperTriangular")) """ function MatGetRowUpperTriangular(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatGetRowUpperTriangular: no generated method for these argument types") + throw(MethodError(MatGetRowUpperTriangular, (petsclib, mat))) end @for_petsc function MatGetRowUpperTriangular(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -11066,7 +11066,7 @@ See also: `MatCreateSubMatrix()`, `PCFIELDSPLIT`, `MatCreateSchurComplement()`, $(_doc_external("KSP/MatGetSchurComplement")) """ function MatGetSchurComplement(petsclib::PetscLibType, A::AbstractPetscMat, isrow0::AbstractIS, iscol0::AbstractIS, isrow1::AbstractIS, iscol1::AbstractIS, mreuse::MatReuse, ainvtype::MatSchurComplementAinvType, preuse::MatReuse) - error("MatGetSchurComplement: no generated method for these argument types") + throw(MethodError(MatGetSchurComplement, (petsclib, A, isrow0, iscol0, isrow1, iscol1, mreuse, ainvtype, preuse))) end @for_petsc function MatGetSchurComplement(petsclib::$UnionPetscLib, A::AbstractPetscMat, isrow0::AbstractIS, iscol0::AbstractIS, isrow1::AbstractIS, iscol1::AbstractIS, mreuse::MatReuse, ainvtype::MatSchurComplementAinvType, preuse::MatReuse ) @@ -11106,7 +11106,7 @@ See also: `Mat`, `MatDestroySeqNonzeroStructure()`, `MatCreateSubMatrices()`, `M $(_doc_external("Mat/MatGetSeqNonzeroStructure")) """ function MatGetSeqNonzeroStructure(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatGetSeqNonzeroStructure: no generated method for these argument types") + throw(MethodError(MatGetSeqNonzeroStructure, (petsclib, mat))) end @for_petsc function MatGetSeqNonzeroStructure(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -11145,7 +11145,7 @@ See also: `Mat`, `MatSetSizes()`, `MatGetLocalSize()` $(_doc_external("Mat/MatGetSize")) """ function MatGetSize(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatGetSize: no generated method for these argument types") + throw(MethodError(MatGetSize, (petsclib, mat))) end @for_petsc function MatGetSize(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -11185,7 +11185,7 @@ See also: `Mat`, `MatCreate()`, `PetscObjectStateGet()`, `MatGetNonzeroState()` $(_doc_external("Mat/MatGetState")) """ function MatGetState(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatGetState: no generated method for these argument types") + throw(MethodError(MatGetState, (petsclib, A))) end @for_petsc function MatGetState(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -11223,7 +11223,7 @@ See also: `Mat` $(_doc_external("Mat/MatGetTrace")) """ function MatGetTrace(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatGetTrace: no generated method for these argument types") + throw(MethodError(MatGetTrace, (petsclib, mat))) end @for_petsc function MatGetTrace(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -11259,7 +11259,7 @@ See also: `Mat`, `MatNullSpace`, `MatCreate()`, `MatNullSpaceCreate()`, `MatSetN $(_doc_external("Mat/MatGetTransposeNullSpace")) """ function MatGetTransposeNullSpace(petsclib::PetscLibType, mat::AbstractPetscMat, nullsp::MatNullSpace) - error("MatGetTransposeNullSpace: no generated method for these argument types") + throw(MethodError(MatGetTransposeNullSpace, (petsclib, mat, nullsp))) end @for_petsc function MatGetTransposeNullSpace(petsclib::$UnionPetscLib, mat::AbstractPetscMat, nullsp::MatNullSpace ) @@ -11338,7 +11338,7 @@ See also: `Mat`, `MatGetRow()`, `MatCreateSubMatrices()`, `MatSetValues()`, `Mat $(_doc_external("Mat/MatGetValues")) """ function MatGetValues(petsclib::PetscLibType, mat::AbstractPetscMat, m::Integer, idxm::AbstractVector{<:Number}, n::Integer, idxn::AbstractVector{<:Number}, v::AbstractVector{<:Number}) - error("MatGetValues: no generated method for these argument types") + throw(MethodError(MatGetValues, (petsclib, mat, m, idxm, n, idxn, v))) end @for_petsc function MatGetValues(petsclib::$UnionPetscLib, mat::AbstractPetscMat, m::$PetscInt, idxm::Vector{$PetscInt}, n::$PetscInt, idxn::Vector{$PetscInt}, v::Vector{$PetscScalar} ) @@ -11381,7 +11381,7 @@ See also: `Mat`, `MatAssemblyBegin()`, `MatAssemblyEnd()`, `MatSetValues()`, `Ma $(_doc_external("Mat/MatGetValuesLocal")) """ function MatGetValuesLocal(petsclib::PetscLibType, mat::AbstractPetscMat, nrow::Integer, irow::AbstractVector{<:Number}, ncol::Integer, icol::AbstractVector{<:Number}, y::AbstractVector{<:Number}) - error("MatGetValuesLocal: no generated method for these argument types") + throw(MethodError(MatGetValuesLocal, (petsclib, mat, nrow, irow, ncol, icol, y))) end @for_petsc function MatGetValuesLocal(petsclib::$UnionPetscLib, mat::AbstractPetscMat, nrow::$PetscInt, irow::Vector{$PetscInt}, ncol::$PetscInt, icol::Vector{$PetscInt}, y::Vector{$PetscScalar} ) @@ -11418,7 +11418,7 @@ See also: `Mat`, `MatCreateSeqBAIJ()`, `MatCreateBAIJ()`, `MatGetBlockSize()`, ` $(_doc_external("Mat/MatGetVariableBlockSizes")) """ function MatGetVariableBlockSizes(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatGetVariableBlockSizes: no generated method for these argument types") + throw(MethodError(MatGetVariableBlockSizes, (petsclib, mat))) end @for_petsc function MatGetVariableBlockSizes(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -11458,7 +11458,7 @@ See also: `Mat`, `MatType`, `MatSetVecType()`, `VecType` $(_doc_external("Mat/MatGetVecType")) """ function MatGetVecType(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatGetVecType: no generated method for these argument types") + throw(MethodError(MatGetVecType, (petsclib, mat))) end @for_petsc function MatGetVecType(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -11483,7 +11483,7 @@ end $(_doc_external("Mat/MatH2OpusCompress")) """ function MatH2OpusCompress(petsclib::PetscLibType, A::AbstractPetscMat, tol::Real) - error("MatH2OpusCompress: no generated method for these argument types") + throw(MethodError(MatH2OpusCompress, (petsclib, A, tol))) end @for_petsc function MatH2OpusCompress(petsclib::$UnionPetscLib, A::AbstractPetscMat, tol::$PetscReal ) @@ -11506,7 +11506,7 @@ end $(_doc_external("Mat/MatH2OpusGetIndexMap")) """ function MatH2OpusGetIndexMap(petsclib::PetscLibType, A::AbstractPetscMat, indexmap::AbstractIS) - error("MatH2OpusGetIndexMap: no generated method for these argument types") + throw(MethodError(MatH2OpusGetIndexMap, (petsclib, A, indexmap))) end @for_petsc function MatH2OpusGetIndexMap(petsclib::$UnionPetscLib, A::AbstractPetscMat, indexmap::AbstractIS ) @@ -11531,7 +11531,7 @@ end $(_doc_external("Mat/MatH2OpusGetNativeMult")) """ function MatH2OpusGetNativeMult(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatH2OpusGetNativeMult: no generated method for these argument types") + throw(MethodError(MatH2OpusGetNativeMult, (petsclib, A))) end @for_petsc function MatH2OpusGetNativeMult(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -11556,7 +11556,7 @@ end $(_doc_external("Mat/MatH2OpusLowRankUpdate")) """ function MatH2OpusLowRankUpdate(petsclib::PetscLibType, A::AbstractPetscMat, U::AbstractPetscMat, V::AbstractPetscMat, s::Number) - error("MatH2OpusLowRankUpdate: no generated method for these argument types") + throw(MethodError(MatH2OpusLowRankUpdate, (petsclib, A, U, V, s))) end @for_petsc function MatH2OpusLowRankUpdate(petsclib::$UnionPetscLib, A::AbstractPetscMat, U::AbstractPetscMat, V::AbstractPetscMat, s::$PetscScalar ) @@ -11579,7 +11579,7 @@ end $(_doc_external("Mat/MatH2OpusMapVec")) """ function MatH2OpusMapVec(petsclib::PetscLibType, A::AbstractPetscMat, nativetopetsc::PetscBool, in::AbstractPetscVec, out::AbstractPetscVec) - error("MatH2OpusMapVec: no generated method for these argument types") + throw(MethodError(MatH2OpusMapVec, (petsclib, A, nativetopetsc, in, out))) end @for_petsc function MatH2OpusMapVec(petsclib::$UnionPetscLib, A::AbstractPetscMat, nativetopetsc::PetscBool, in::AbstractPetscVec, out::AbstractPetscVec ) @@ -11604,7 +11604,7 @@ end $(_doc_external("Mat/MatH2OpusOrthogonalize")) """ function MatH2OpusOrthogonalize(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatH2OpusOrthogonalize: no generated method for these argument types") + throw(MethodError(MatH2OpusOrthogonalize, (petsclib, A))) end @for_petsc function MatH2OpusOrthogonalize(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -11627,7 +11627,7 @@ end $(_doc_external("Mat/MatH2OpusSetNativeMult")) """ function MatH2OpusSetNativeMult(petsclib::PetscLibType, A::AbstractPetscMat, nm::PetscBool) - error("MatH2OpusSetNativeMult: no generated method for these argument types") + throw(MethodError(MatH2OpusSetNativeMult, (petsclib, A, nm))) end @for_petsc function MatH2OpusSetNativeMult(petsclib::$UnionPetscLib, A::AbstractPetscMat, nm::PetscBool ) @@ -11650,7 +11650,7 @@ end $(_doc_external("Mat/MatH2OpusSetSamplingMat")) """ function MatH2OpusSetSamplingMat(petsclib::PetscLibType, A::AbstractPetscMat, B::AbstractPetscMat, bs::Integer, tol::Real) - error("MatH2OpusSetSamplingMat: no generated method for these argument types") + throw(MethodError(MatH2OpusSetSamplingMat, (petsclib, A, B, bs, tol))) end @for_petsc function MatH2OpusSetSamplingMat(petsclib::$UnionPetscLib, A::AbstractPetscMat, B::AbstractPetscMat, bs::$PetscInt, tol::$PetscReal ) @@ -11673,7 +11673,7 @@ end $(_doc_external("Mat/MatHIPSPARSESetFormat")) """ function MatHIPSPARSESetFormat(petsclib::PetscLibType, A::AbstractPetscMat, op::MatHIPSPARSEFormatOperation, format::MatHIPSPARSEStorageFormat) - error("MatHIPSPARSESetFormat: no generated method for these argument types") + throw(MethodError(MatHIPSPARSESetFormat, (petsclib, A, op, format))) end @for_petsc function MatHIPSPARSESetFormat(petsclib::$UnionPetscLib, A::AbstractPetscMat, op::MatHIPSPARSEFormatOperation, format::MatHIPSPARSEStorageFormat ) @@ -11696,7 +11696,7 @@ end $(_doc_external("Mat/MatHIPSPARSESetUseCPUSolve")) """ function MatHIPSPARSESetUseCPUSolve(petsclib::PetscLibType, A::AbstractPetscMat, use_cpu::PetscBool) - error("MatHIPSPARSESetUseCPUSolve: no generated method for these argument types") + throw(MethodError(MatHIPSPARSESetUseCPUSolve, (petsclib, A, use_cpu))) end @for_petsc function MatHIPSPARSESetUseCPUSolve(petsclib::$UnionPetscLib, A::AbstractPetscMat, use_cpu::PetscBool ) @@ -11732,7 +11732,7 @@ See also: `Mat`, `MATHYPRE`, `PetscCopyMode` $(_doc_external("Mat/MatHYPREGetParCSR")) """ function MatHYPREGetParCSR(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatHYPREGetParCSR: no generated method for these argument types") + throw(MethodError(MatHYPREGetParCSR, (petsclib, A))) end @for_petsc function MatHYPREGetParCSR(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -11782,7 +11782,7 @@ See also: `Mat`, `MatCreate()`, `MatMPIAIJSetPreallocation()`, `MATHYPRE`, `MATA $(_doc_external("Mat/MatHYPRESetPreallocation")) """ function MatHYPRESetPreallocation(petsclib::PetscLibType, A::AbstractPetscMat, dnz::Integer, dnnz::AbstractVector{<:Number}, onz::Integer, onnz::AbstractVector{<:Number}) - error("MatHYPRESetPreallocation: no generated method for these argument types") + throw(MethodError(MatHYPRESetPreallocation, (petsclib, A, dnz, dnnz, onz, onnz))) end @for_petsc function MatHYPRESetPreallocation(petsclib::$UnionPetscLib, A::AbstractPetscMat, dnz::$PetscInt, dnnz::Vector{$PetscInt}, onz::$PetscInt, onnz::Vector{$PetscInt} ) @@ -11818,7 +11818,7 @@ See also: `Mat`, `MatCreate()`, `MatSetSizes()`, `PetscLayout` $(_doc_external("Mat/MatHasCongruentLayouts")) """ function MatHasCongruentLayouts(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatHasCongruentLayouts: no generated method for these argument types") + throw(MethodError(MatHasCongruentLayouts, (petsclib, mat))) end @for_petsc function MatHasCongruentLayouts(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -11857,7 +11857,7 @@ See also: `Mat`, `MatCreateShell()`, `MatGetOperation()`, `MatSetOperation()` $(_doc_external("Mat/MatHasOperation")) """ function MatHasOperation(petsclib::PetscLibType, mat::AbstractPetscMat, op::MatOperation) - error("MatHasOperation: no generated method for these argument types") + throw(MethodError(MatHasOperation, (petsclib, mat, op))) end @for_petsc function MatHasOperation(petsclib::$UnionPetscLib, mat::AbstractPetscMat, op::MatOperation ) @@ -11893,7 +11893,7 @@ See also: `Mat`, `MatHeaderReplace()` $(_doc_external("Mat/MatHeaderMerge")) """ function MatHeaderMerge(petsclib::PetscLibType, A::AbstractPetscMat, C::AbstractPetscMat) - error("MatHeaderMerge: no generated method for these argument types") + throw(MethodError(MatHeaderMerge, (petsclib, A, C))) end @for_petsc function MatHeaderMerge(petsclib::$UnionPetscLib, A::AbstractPetscMat, C::AbstractPetscMat ) @@ -11927,7 +11927,7 @@ See also: `Mat`, `MatHeaderMerge()` $(_doc_external("Mat/MatHeaderReplace")) """ function MatHeaderReplace(petsclib::PetscLibType, A::AbstractPetscMat, C::AbstractPetscMat) - error("MatHeaderReplace: no generated method for these argument types") + throw(MethodError(MatHeaderReplace, (petsclib, A, C))) end @for_petsc function MatHeaderReplace(petsclib::$UnionPetscLib, A::AbstractPetscMat, C::AbstractPetscMat ) @@ -11966,7 +11966,7 @@ See also: `Mat`, `MatTranspose()`, `MatMultTranspose()`, `MatMultTransposeAdd()` $(_doc_external("Mat/MatHermitianTranspose")) """ function MatHermitianTranspose(petsclib::PetscLibType, mat::AbstractPetscMat, reuse::MatReuse) - error("MatHermitianTranspose: no generated method for these argument types") + throw(MethodError(MatHermitianTranspose, (petsclib, mat, reuse))) end @for_petsc function MatHermitianTranspose(petsclib::$UnionPetscLib, mat::AbstractPetscMat, reuse::MatReuse ) @@ -12004,7 +12004,7 @@ See also: `Mat`, `MATHERMITIANTRANSPOSEVIRTUAL`, `MatCreateHermitianTranspose()` $(_doc_external("Mat/MatHermitianTransposeGetMat")) """ function MatHermitianTransposeGetMat(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatHermitianTransposeGetMat: no generated method for these argument types") + throw(MethodError(MatHermitianTransposeGetMat, (petsclib, A))) end @for_petsc function MatHermitianTransposeGetMat(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -12029,7 +12029,7 @@ end $(_doc_external("Mat/MatHtoolGetPermutationSource")) """ function MatHtoolGetPermutationSource(petsclib::PetscLibType, A::AbstractPetscMat, is::AbstractIS) - error("MatHtoolGetPermutationSource: no generated method for these argument types") + throw(MethodError(MatHtoolGetPermutationSource, (petsclib, A, is))) end @for_petsc function MatHtoolGetPermutationSource(petsclib::$UnionPetscLib, A::AbstractPetscMat, is::AbstractIS ) @@ -12054,7 +12054,7 @@ end $(_doc_external("Mat/MatHtoolGetPermutationTarget")) """ function MatHtoolGetPermutationTarget(petsclib::PetscLibType, A::AbstractPetscMat, is::AbstractIS) - error("MatHtoolGetPermutationTarget: no generated method for these argument types") + throw(MethodError(MatHtoolGetPermutationTarget, (petsclib, A, is))) end @for_petsc function MatHtoolGetPermutationTarget(petsclib::$UnionPetscLib, A::AbstractPetscMat, is::AbstractIS ) @@ -12079,7 +12079,7 @@ end $(_doc_external("Mat/MatHtoolSetKernel")) """ function MatHtoolSetKernel(petsclib::PetscLibType, A::AbstractPetscMat, kernel::Ptr{Cvoid}, kernelctx::Ptr{Cvoid}) - error("MatHtoolSetKernel: no generated method for these argument types") + throw(MethodError(MatHtoolSetKernel, (petsclib, A, kernel, kernelctx))) end @for_petsc function MatHtoolSetKernel(petsclib::$UnionPetscLib, A::AbstractPetscMat, kernel::Ptr{Cvoid}, kernelctx::Ptr{Cvoid} ) @@ -12102,7 +12102,7 @@ end $(_doc_external("Mat/MatHtoolUsePermutation")) """ function MatHtoolUsePermutation(petsclib::PetscLibType, A::AbstractPetscMat, use::PetscBool) - error("MatHtoolUsePermutation: no generated method for these argument types") + throw(MethodError(MatHtoolUsePermutation, (petsclib, A, use))) end @for_petsc function MatHtoolUsePermutation(petsclib::$UnionPetscLib, A::AbstractPetscMat, use::PetscBool ) @@ -12125,7 +12125,7 @@ end $(_doc_external("Mat/MatHtoolUseRecompression")) """ function MatHtoolUseRecompression(petsclib::PetscLibType, A::AbstractPetscMat, use::PetscBool) - error("MatHtoolUseRecompression: no generated method for these argument types") + throw(MethodError(MatHtoolUseRecompression, (petsclib, A, use))) end @for_petsc function MatHtoolUseRecompression(petsclib::$UnionPetscLib, A::AbstractPetscMat, use::PetscBool ) @@ -12160,7 +12160,7 @@ See also: `Mat`, `MatFactorInfo`, `MatGetFactor()`, `MatICCFactorSymbolic()`, `M $(_doc_external("Mat/MatICCFactor")) """ function MatICCFactor(petsclib::PetscLibType, mat::AbstractPetscMat, row::AbstractIS, info::Vector{MatFactorInfo}) - error("MatICCFactor: no generated method for these argument types") + throw(MethodError(MatICCFactor, (petsclib, mat, row, info))) end @for_petsc function MatICCFactor(petsclib::$UnionPetscLib, mat::AbstractPetscMat, row::AbstractIS, info::Vector{MatFactorInfo} ) @@ -12202,7 +12202,7 @@ See also: `Mat`, `MatGetFactor()`, `MatCholeskyFactorNumeric()`, `MatCholeskyFac $(_doc_external("Mat/MatICCFactorSymbolic")) """ function MatICCFactorSymbolic(petsclib::PetscLibType, fact::AbstractPetscMat, mat::AbstractPetscMat, perm::AbstractIS, info::Vector{MatFactorInfo}) - error("MatICCFactorSymbolic: no generated method for these argument types") + throw(MethodError(MatICCFactorSymbolic, (petsclib, fact, mat, perm, info))) end @for_petsc function MatICCFactorSymbolic(petsclib::$UnionPetscLib, fact::AbstractPetscMat, mat::AbstractPetscMat, perm::AbstractIS, info::Vector{MatFactorInfo} ) @@ -12244,7 +12244,7 @@ See also: `Mat`, Matrix Factorization, `MatILUFactorSymbolic()`, `MatLUFactorNum $(_doc_external("Mat/MatILUFactor")) """ function MatILUFactor(petsclib::PetscLibType, mat::AbstractPetscMat, row::AbstractIS, col::AbstractIS, info::Vector{MatFactorInfo}) - error("MatILUFactor: no generated method for these argument types") + throw(MethodError(MatILUFactor, (petsclib, mat, row, col, info))) end @for_petsc function MatILUFactor(petsclib::$UnionPetscLib, mat::AbstractPetscMat, row::AbstractIS, col::AbstractIS, info::Vector{MatFactorInfo} ) @@ -12290,7 +12290,7 @@ See also: `Mat`, Matrix Factorization, `MatGetFactor()`, `MatLUFactorSymbolic()` $(_doc_external("Mat/MatILUFactorSymbolic")) """ function MatILUFactorSymbolic(petsclib::PetscLibType, fact::AbstractPetscMat, mat::AbstractPetscMat, row::AbstractIS, col::AbstractIS, info::Vector{MatFactorInfo}) - error("MatILUFactorSymbolic: no generated method for these argument types") + throw(MethodError(MatILUFactorSymbolic, (petsclib, fact, mat, row, col, info))) end @for_petsc function MatILUFactorSymbolic(petsclib::$UnionPetscLib, fact::AbstractPetscMat, mat::AbstractPetscMat, row::AbstractIS, col::AbstractIS, info::Vector{MatFactorInfo} ) @@ -12324,7 +12324,7 @@ See also: `Mat`, `MATIS`, `MatCreate()`, `MatCreateIS()`, `MatISSetPreallocation $(_doc_external("Mat/MatISFixLocalEmpty")) """ function MatISFixLocalEmpty(petsclib::PetscLibType, A::AbstractPetscMat, fix::PetscBool) - error("MatISFixLocalEmpty: no generated method for these argument types") + throw(MethodError(MatISFixLocalEmpty, (petsclib, A, fix))) end @for_petsc function MatISFixLocalEmpty(petsclib::$UnionPetscLib, A::AbstractPetscMat, fix::PetscBool ) @@ -12360,7 +12360,7 @@ See also: `Mat`, `MatCreate()`, `MatCreateIS()`, `MatSetLocalToGlobalMapping()`, $(_doc_external("Mat/MatISGetAllowRepeated")) """ function MatISGetAllowRepeated(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatISGetAllowRepeated: no generated method for these argument types") + throw(MethodError(MatISGetAllowRepeated, (petsclib, A))) end @for_petsc function MatISGetAllowRepeated(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -12398,7 +12398,7 @@ See also: `Mat`, `MATIS`, `MatISRestoreLocalMat()` $(_doc_external("Mat/MatISGetLocalMat")) """ function MatISGetLocalMat(petsclib::PetscLibType, mat::AbstractPetscMat, loc::AbstractPetscMat) - error("MatISGetLocalMat: no generated method for these argument types") + throw(MethodError(MatISGetLocalMat, (petsclib, mat, loc))) end @for_petsc function MatISGetLocalMat(petsclib::$UnionPetscLib, mat::AbstractPetscMat, loc::AbstractPetscMat ) @@ -12437,7 +12437,7 @@ See also: `Mat`, `MATIS`, `MatSetLocalToGlobalMapping()` $(_doc_external("Mat/MatISGetLocalToGlobalMapping")) """ function MatISGetLocalToGlobalMapping(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatISGetLocalToGlobalMapping: no generated method for these argument types") + throw(MethodError(MatISGetLocalToGlobalMapping, (petsclib, A))) end @for_petsc function MatISGetLocalToGlobalMapping(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -12475,7 +12475,7 @@ See also: `Mat`, `MATIS`, `MatISGetLocalMat()` $(_doc_external("Mat/MatISRestoreLocalMat")) """ function MatISRestoreLocalMat(petsclib::PetscLibType, mat::AbstractPetscMat, loc::AbstractPetscMat) - error("MatISRestoreLocalMat: no generated method for these argument types") + throw(MethodError(MatISRestoreLocalMat, (petsclib, mat, loc))) end @for_petsc function MatISRestoreLocalMat(petsclib::$UnionPetscLib, mat::AbstractPetscMat, loc::AbstractPetscMat ) @@ -12511,7 +12511,7 @@ See also: `Mat`, `MatCreate()`, `MatCreateIS()`, `MatSetLocalToGlobalMapping()`, $(_doc_external("Mat/MatISSetAllowRepeated")) """ function MatISSetAllowRepeated(petsclib::PetscLibType, A::AbstractPetscMat, flg::PetscBool) - error("MatISSetAllowRepeated: no generated method for these argument types") + throw(MethodError(MatISSetAllowRepeated, (petsclib, A, flg))) end @for_petsc function MatISSetAllowRepeated(petsclib::$UnionPetscLib, A::AbstractPetscMat, flg::PetscBool ) @@ -12545,7 +12545,7 @@ See also: `Mat`, `MATIS`, `MatISSetLocalMatType`, `MatISGetLocalMat()` $(_doc_external("Mat/MatISSetLocalMat")) """ function MatISSetLocalMat(petsclib::PetscLibType, mat::AbstractPetscMat, loc::AbstractPetscMat) - error("MatISSetLocalMat: no generated method for these argument types") + throw(MethodError(MatISSetLocalMat, (petsclib, mat, loc))) end @for_petsc function MatISSetLocalMat(petsclib::$UnionPetscLib, mat::AbstractPetscMat, loc::AbstractPetscMat ) @@ -12579,7 +12579,7 @@ See also: `Mat`, `MATIS`, `MatSetType()`, `MatType` $(_doc_external("Mat/MatISSetLocalMatType")) """ function MatISSetLocalMatType(petsclib::PetscLibType, mat::AbstractPetscMat, mtype::String) - error("MatISSetLocalMatType: no generated method for these argument types") + throw(MethodError(MatISSetLocalMatType, (petsclib, mat, mtype))) end @for_petsc function MatISSetLocalMatType(petsclib::$UnionPetscLib, mat::AbstractPetscMat, mtype::String ) @@ -12629,7 +12629,7 @@ See also: `Mat`, `MatCreate()`, `MatCreateIS()`, `MatMPIAIJSetPreallocation()`, $(_doc_external("Mat/MatISSetPreallocation")) """ function MatISSetPreallocation(petsclib::PetscLibType, B::AbstractPetscMat, d_nz::Integer, d_nnz::Union{Ptr, AbstractVector{<:Number}}, o_nz::Integer, o_nnz::Union{Ptr, AbstractVector{<:Number}}) - error("MatISSetPreallocation: no generated method for these argument types") + throw(MethodError(MatISSetPreallocation, (petsclib, B, d_nz, d_nnz, o_nz, o_nnz))) end @for_petsc function MatISSetPreallocation(petsclib::$UnionPetscLib, B::AbstractPetscMat, d_nz::$PetscInt, d_nnz::Union{Ptr, Vector{$PetscInt}}, o_nz::$PetscInt, o_nnz::Union{Ptr, Vector{$PetscInt}} ) @@ -12663,7 +12663,7 @@ See also: `Mat`, `MatCreate()`, `MatCreateIS()`, `MatISSetPreallocation()`, `Mat $(_doc_external("Mat/MatISStoreL2L")) """ function MatISStoreL2L(petsclib::PetscLibType, A::AbstractPetscMat, store::PetscBool) - error("MatISStoreL2L: no generated method for these argument types") + throw(MethodError(MatISStoreL2L, (petsclib, A, store))) end @for_petsc function MatISStoreL2L(petsclib::$UnionPetscLib, A::AbstractPetscMat, store::PetscBool ) @@ -12696,7 +12696,7 @@ See also: `Mat`, `MatRealPart()` $(_doc_external("Mat/MatImaginaryPart")) """ function MatImaginaryPart(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatImaginaryPart: no generated method for these argument types") + throw(MethodError(MatImaginaryPart, (petsclib, mat))) end @for_petsc function MatImaginaryPart(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -12737,7 +12737,7 @@ See also: `Mat`, `PCASM`, `MatSetBlockSize()`, `MatIncreaseOverlapSplit()`, `Mat $(_doc_external("Mat/MatIncreaseOverlap")) """ function MatIncreaseOverlap(petsclib::PetscLibType, mat::AbstractPetscMat, n::Integer, is::Vector{<:AbstractIS}, ov::Integer) - error("MatIncreaseOverlap: no generated method for these argument types") + throw(MethodError(MatIncreaseOverlap, (petsclib, mat, n, is, ov))) end @for_petsc function MatIncreaseOverlap(petsclib::$UnionPetscLib, mat::AbstractPetscMat, n::$PetscInt, is::Vector{<:AbstractIS}, ov::$PetscInt ) @@ -12778,7 +12778,7 @@ See also: `Mat`, `MatCreateSubMatrices()`, `MatIncreaseOverlap()` $(_doc_external("Mat/MatIncreaseOverlapSplit")) """ function MatIncreaseOverlapSplit(petsclib::PetscLibType, mat::AbstractPetscMat, n::Integer, is::Vector{<:AbstractIS}, ov::Integer) - error("MatIncreaseOverlapSplit: no generated method for these argument types") + throw(MethodError(MatIncreaseOverlapSplit, (petsclib, mat, n, is, ov))) end @for_petsc function MatIncreaseOverlapSplit(petsclib::$UnionPetscLib, mat::AbstractPetscMat, n::$PetscInt, is::Vector{<:AbstractIS}, ov::$PetscInt ) @@ -12808,7 +12808,7 @@ See also: `Mat`, `PetscInitialize()`, `MatFinalizePackage()` $(_doc_external("Mat/MatInitializePackage")) """ function MatInitializePackage(petsclib::PetscLibType) - error("MatInitializePackage: no generated method for these argument types") + throw(MethodError(MatInitializePackage, (petsclib, ))) end @for_petsc function MatInitializePackage(petsclib::$UnionPetscLib) @@ -12845,7 +12845,7 @@ See also: `Mat`, `MATSEQAIJ`, `MatInodeGetInodeSizes()`, `MatGetOrdering()` $(_doc_external("Mat/MatInodeAdjustForInodes")) """ function MatInodeAdjustForInodes(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatInodeAdjustForInodes: no generated method for these argument types") + throw(MethodError(MatInodeAdjustForInodes, (petsclib, A))) end @for_petsc function MatInodeAdjustForInodes(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -12887,7 +12887,7 @@ See also: `Mat`, `MatGetInfo()` $(_doc_external("Mat/MatInodeGetInodeSizes")) """ function MatInodeGetInodeSizes(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatInodeGetInodeSizes: no generated method for these argument types") + throw(MethodError(MatInodeGetInodeSizes, (petsclib, A))) end @for_petsc function MatInodeGetInodeSizes(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -12931,7 +12931,7 @@ See also: `Mat`, `MatMultAdd()`, `MatMultTransposeAdd()`, `MatRestrict()`, `PCMG $(_doc_external("Mat/MatInterpolate")) """ function MatInterpolate(petsclib::PetscLibType, A::AbstractPetscMat, x::AbstractPetscVec, y::AbstractPetscVec) - error("MatInterpolate: no generated method for these argument types") + throw(MethodError(MatInterpolate, (petsclib, A, x, y))) end @for_petsc function MatInterpolate(petsclib::$UnionPetscLib, A::AbstractPetscMat, x::AbstractPetscVec, y::AbstractPetscVec ) @@ -12970,7 +12970,7 @@ See also: `Mat`, `MatMultAdd()`, `MatMultTransposeAdd()`, `MatRestrict()`, `PCMG $(_doc_external("Mat/MatInterpolateAdd")) """ function MatInterpolateAdd(petsclib::PetscLibType, A::AbstractPetscMat, x::AbstractPetscVec, y::AbstractPetscVec, w::AbstractPetscVec) - error("MatInterpolateAdd: no generated method for these argument types") + throw(MethodError(MatInterpolateAdd, (petsclib, A, x, y, w))) end @for_petsc function MatInterpolateAdd(petsclib::$UnionPetscLib, A::AbstractPetscMat, x::AbstractPetscVec, y::AbstractPetscVec, w::AbstractPetscVec ) @@ -13006,7 +13006,7 @@ See also: `Mat`, `MatInvertVariableBlockEnvelope()`, `MatInvertBlockDiagonalMat( $(_doc_external("Mat/MatInvertBlockDiagonal")) """ function MatInvertBlockDiagonal(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatInvertBlockDiagonal: no generated method for these argument types") + throw(MethodError(MatInvertBlockDiagonal, (petsclib, mat))) end @for_petsc function MatInvertBlockDiagonal(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -13042,7 +13042,7 @@ See also: `Mat`, `MatInvertBlockDiagonal()` $(_doc_external("Mat/MatInvertBlockDiagonalMat")) """ function MatInvertBlockDiagonalMat(petsclib::PetscLibType, A::AbstractPetscMat, C::AbstractPetscMat) - error("MatInvertBlockDiagonalMat: no generated method for these argument types") + throw(MethodError(MatInvertBlockDiagonalMat, (petsclib, A, C))) end @for_petsc function MatInvertBlockDiagonalMat(petsclib::$UnionPetscLib, A::AbstractPetscMat, C::AbstractPetscMat ) @@ -13080,7 +13080,7 @@ See also: `Mat`, `MatInvertBlockDiagonal()`, `MatSetVariableBlockSizes()`, `MatI $(_doc_external("Mat/MatInvertVariableBlockDiagonal")) """ function MatInvertVariableBlockDiagonal(petsclib::PetscLibType, mat::AbstractPetscMat, nblocks::Integer, bsizes::AbstractVector{<:Number}, values::AbstractVector{<:Number}) - error("MatInvertVariableBlockDiagonal: no generated method for these argument types") + throw(MethodError(MatInvertVariableBlockDiagonal, (petsclib, mat, nblocks, bsizes, values))) end @for_petsc function MatInvertVariableBlockDiagonal(petsclib::$UnionPetscLib, mat::AbstractPetscMat, nblocks::$PetscInt, bsizes::Vector{$PetscInt}, values::Vector{$PetscScalar} ) @@ -13117,7 +13117,7 @@ See also: `Mat`, `MatInvertBlockDiagonal()`, `MatComputeBlockDiagonal()` $(_doc_external("Mat/MatInvertVariableBlockEnvelope")) """ function MatInvertVariableBlockEnvelope(petsclib::PetscLibType, A::AbstractPetscMat, reuse::MatReuse) - error("MatInvertVariableBlockEnvelope: no generated method for these argument types") + throw(MethodError(MatInvertVariableBlockEnvelope, (petsclib, A, reuse))) end @for_petsc function MatInvertVariableBlockEnvelope(petsclib::$UnionPetscLib, A::AbstractPetscMat, reuse::MatReuse ) @@ -13157,7 +13157,7 @@ See also: `Mat`, `MatTranspose()`, `MatIsTranspose()`, `MatIsHermitianKnown()`, $(_doc_external("Mat/MatIsHermitian")) """ function MatIsHermitian(petsclib::PetscLibType, A::AbstractPetscMat, tol::Real) - error("MatIsHermitian: no generated method for these argument types") + throw(MethodError(MatIsHermitian, (petsclib, A, tol))) end @for_petsc function MatIsHermitian(petsclib::$UnionPetscLib, A::AbstractPetscMat, tol::$PetscReal ) @@ -13196,7 +13196,7 @@ See also: `Mat`, `MAT_SYMMETRY_ETERNAL`, `MAT_HERMITIAN`, `MatTranspose()`, `Mat $(_doc_external("Mat/MatIsHermitianKnown")) """ function MatIsHermitianKnown(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatIsHermitianKnown: no generated method for these argument types") + throw(MethodError(MatIsHermitianKnown, (petsclib, A))) end @for_petsc function MatIsHermitianKnown(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -13238,7 +13238,7 @@ See also: `Mat`, `MatTranspose()`, `MatIsSymmetric()`, `MatIsHermitian()`, `MatI $(_doc_external("Mat/MatIsHermitianTranspose")) """ function MatIsHermitianTranspose(petsclib::PetscLibType, A::AbstractPetscMat, B::AbstractPetscMat, tol::Real) - error("MatIsHermitianTranspose: no generated method for these argument types") + throw(MethodError(MatIsHermitianTranspose, (petsclib, A, B, tol))) end @for_petsc function MatIsHermitianTranspose(petsclib::$UnionPetscLib, A::AbstractPetscMat, B::AbstractPetscMat, tol::$PetscReal ) @@ -13277,7 +13277,7 @@ See also: `Mat`, `MatMatMultEqual()`, `MatMultEqual()`, `MatMultAddEqual()`, `Ma $(_doc_external("Mat/MatIsLinear")) """ function MatIsLinear(petsclib::PetscLibType, A::AbstractPetscMat, n::Integer) - error("MatIsLinear: no generated method for these argument types") + throw(MethodError(MatIsLinear, (petsclib, A, n))) end @for_petsc function MatIsLinear(petsclib::$UnionPetscLib, A::AbstractPetscMat, n::$PetscInt ) @@ -13316,7 +13316,7 @@ See also: `Mat`, `MAT_SPD_ETERNAL`, `MAT_SPD`, `MatTranspose()`, `MatIsTranspose $(_doc_external("Mat/MatIsSPDKnown")) """ function MatIsSPDKnown(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatIsSPDKnown: no generated method for these argument types") + throw(MethodError(MatIsSPDKnown, (petsclib, A))) end @for_petsc function MatIsSPDKnown(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -13354,7 +13354,7 @@ See also: `Mat`, `MATSHELL`, `MATMFFD`, `MatCreateShell()`, `MATTRANSPOSEVIRTUAL $(_doc_external("Mat/MatIsShell")) """ function MatIsShell(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatIsShell: no generated method for these argument types") + throw(MethodError(MatIsShell, (petsclib, mat))) end @for_petsc function MatIsShell(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -13392,7 +13392,7 @@ See also: `Mat`, `MAT_STRUCTURALLY_SYMMETRIC`, `MAT_STRUCTURAL_SYMMETRY_ETERNAL` $(_doc_external("Mat/MatIsStructurallySymmetric")) """ function MatIsStructurallySymmetric(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatIsStructurallySymmetric: no generated method for these argument types") + throw(MethodError(MatIsStructurallySymmetric, (petsclib, A))) end @for_petsc function MatIsStructurallySymmetric(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -13431,7 +13431,7 @@ See also: `Mat`, `MAT_STRUCTURALLY_SYMMETRIC`, `MatTranspose()`, `MatIsTranspose $(_doc_external("Mat/MatIsStructurallySymmetricKnown")) """ function MatIsStructurallySymmetricKnown(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatIsStructurallySymmetricKnown: no generated method for these argument types") + throw(MethodError(MatIsStructurallySymmetricKnown, (petsclib, A))) end @for_petsc function MatIsStructurallySymmetricKnown(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -13473,7 +13473,7 @@ See also: `Mat`, `MatTranspose()`, `MatIsTranspose()`, `MatIsHermitian()`, `MatI $(_doc_external("Mat/MatIsSymmetric")) """ function MatIsSymmetric(petsclib::PetscLibType, A::AbstractPetscMat, tol::Real) - error("MatIsSymmetric: no generated method for these argument types") + throw(MethodError(MatIsSymmetric, (petsclib, A, tol))) end @for_petsc function MatIsSymmetric(petsclib::$UnionPetscLib, A::AbstractPetscMat, tol::$PetscReal ) @@ -13512,7 +13512,7 @@ See also: `Mat`, `MAT_SYMMETRY_ETERNAL`, `MatTranspose()`, `MatIsTranspose()`, ` $(_doc_external("Mat/MatIsSymmetricKnown")) """ function MatIsSymmetricKnown(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatIsSymmetricKnown: no generated method for these argument types") + throw(MethodError(MatIsSymmetricKnown, (petsclib, A))) end @for_petsc function MatIsSymmetricKnown(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -13555,7 +13555,7 @@ See also: `Mat`, `MatTranspose()`, `MatIsSymmetric()`, `MatIsHermitian()` $(_doc_external("Mat/MatIsTranspose")) """ function MatIsTranspose(petsclib::PetscLibType, A::AbstractPetscMat, B::AbstractPetscMat, tol::Real) - error("MatIsTranspose: no generated method for these argument types") + throw(MethodError(MatIsTranspose, (petsclib, A, B, tol))) end @for_petsc function MatIsTranspose(petsclib::$UnionPetscLib, A::AbstractPetscMat, B::AbstractPetscMat, tol::$PetscReal ) @@ -13593,7 +13593,7 @@ See also: `Mat`, `MatCreateKAIJ()`, `MATKAIJ`, `MATAIJ` $(_doc_external("Mat/MatKAIJGetAIJ")) """ function MatKAIJGetAIJ(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatKAIJGetAIJ: no generated method for these argument types") + throw(MethodError(MatKAIJGetAIJ, (petsclib, A))) end @for_petsc function MatKAIJGetAIJ(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -13633,7 +13633,7 @@ See also: `Mat`, `MATKAIJ`, `MatCreateKAIJ()`, `MatGetBlockSizes()` $(_doc_external("Mat/MatKAIJGetS")) """ function MatKAIJGetS(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatKAIJGetS: no generated method for these argument types") + throw(MethodError(MatKAIJGetS, (petsclib, A))) end @for_petsc function MatKAIJGetS(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -13677,7 +13677,7 @@ See also: `Mat`, `MATKAIJ`, `MatCreateKAIJ()`, `MatGetBlockSizes()` $(_doc_external("Mat/MatKAIJGetSRead")) """ function MatKAIJGetSRead(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatKAIJGetSRead: no generated method for these argument types") + throw(MethodError(MatKAIJGetSRead, (petsclib, A))) end @for_petsc function MatKAIJGetSRead(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -13719,7 +13719,7 @@ See also: `Mat`, `MATKAIJ`, `MatKAIJGetS()`, `MatKAIJGetT()` $(_doc_external("Mat/MatKAIJGetScaledIdentity")) """ function MatKAIJGetScaledIdentity(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatKAIJGetScaledIdentity: no generated method for these argument types") + throw(MethodError(MatKAIJGetScaledIdentity, (petsclib, A))) end @for_petsc function MatKAIJGetScaledIdentity(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -13759,7 +13759,7 @@ See also: `Mat`, `MATKAIJ`, `MatCreateKAIJ()`, `MatGetBlockSizes()` $(_doc_external("Mat/MatKAIJGetT")) """ function MatKAIJGetT(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatKAIJGetT: no generated method for these argument types") + throw(MethodError(MatKAIJGetT, (petsclib, A))) end @for_petsc function MatKAIJGetT(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -13803,7 +13803,7 @@ See also: `Mat`, `MATKAIJ`, `MatCreateKAIJ()`, `MatGetBlockSizes()` $(_doc_external("Mat/MatKAIJGetTRead")) """ function MatKAIJGetTRead(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatKAIJGetTRead: no generated method for these argument types") + throw(MethodError(MatKAIJGetTRead, (petsclib, A))) end @for_petsc function MatKAIJGetTRead(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -13843,7 +13843,7 @@ See also: `Mat`, `MATKAIJ`, `MatKAIJGetS()`, `MatKAIJGetSRead()`, `MatKAIJRestor $(_doc_external("Mat/MatKAIJRestoreS")) """ function MatKAIJRestoreS(petsclib::PetscLibType, A::AbstractPetscMat, S::Union{Ptr, AbstractArray{<:Number}}) - error("MatKAIJRestoreS: no generated method for these argument types") + throw(MethodError(MatKAIJRestoreS, (petsclib, A, S))) end @for_petsc function MatKAIJRestoreS(petsclib::$UnionPetscLib, A::AbstractPetscMat, S::Union{Ptr, AbstractArray{$PetscScalar}} ) @@ -13878,7 +13878,7 @@ See also: `Mat`, `MATKAIJ`, `MatKAIJGetS()`, `MatKAIJGetSRead()` $(_doc_external("Mat/MatKAIJRestoreSRead")) """ function MatKAIJRestoreSRead(petsclib::PetscLibType, A::AbstractPetscMat, S::Union{Ptr, AbstractArray{<:Number}}) - error("MatKAIJRestoreSRead: no generated method for these argument types") + throw(MethodError(MatKAIJRestoreSRead, (petsclib, A, S))) end @for_petsc function MatKAIJRestoreSRead(petsclib::$UnionPetscLib, A::AbstractPetscMat, S::Union{Ptr, AbstractArray{$PetscScalar}} ) @@ -13913,7 +13913,7 @@ See also: `Mat`, `MATKAIJ`, `MatKAIJGetT()`, `MatKAIJGetTRead()`, `MatKAIJRestor $(_doc_external("Mat/MatKAIJRestoreT")) """ function MatKAIJRestoreT(petsclib::PetscLibType, A::AbstractPetscMat, T::Union{Ptr, AbstractArray{<:Number}}) - error("MatKAIJRestoreT: no generated method for these argument types") + throw(MethodError(MatKAIJRestoreT, (petsclib, A, T))) end @for_petsc function MatKAIJRestoreT(petsclib::$UnionPetscLib, A::AbstractPetscMat, T::Union{Ptr, AbstractArray{$PetscScalar}} ) @@ -13948,7 +13948,7 @@ See also: `Mat`, `MATKAIJ`, `MatKAIJGetT()`, `MatKAIJGetTRead()` $(_doc_external("Mat/MatKAIJRestoreTRead")) """ function MatKAIJRestoreTRead(petsclib::PetscLibType, A::AbstractPetscMat, T::Union{Ptr, AbstractArray{<:Number}}) - error("MatKAIJRestoreTRead: no generated method for these argument types") + throw(MethodError(MatKAIJRestoreTRead, (petsclib, A, T))) end @for_petsc function MatKAIJRestoreTRead(petsclib::$UnionPetscLib, A::AbstractPetscMat, T::Union{Ptr, AbstractArray{$PetscScalar}} ) @@ -13983,7 +13983,7 @@ See also: `Mat`, `MATKAIJ`, `MatKAIJGetAIJ()`, `MatKAIJSetS()`, `MatKAIJSetT()` $(_doc_external("Mat/MatKAIJSetAIJ")) """ function MatKAIJSetAIJ(petsclib::PetscLibType, A::AbstractPetscMat, B::AbstractPetscMat) - error("MatKAIJSetAIJ: no generated method for these argument types") + throw(MethodError(MatKAIJSetAIJ, (petsclib, A, B))) end @for_petsc function MatKAIJSetAIJ(petsclib::$UnionPetscLib, A::AbstractPetscMat, B::AbstractPetscMat ) @@ -14019,7 +14019,7 @@ See also: `Mat`, `MATKAIJ`, `MatKAIJGetS()`, `MatKAIJSetT()`, `MatKAIJSetAIJ()` $(_doc_external("Mat/MatKAIJSetS")) """ function MatKAIJSetS(petsclib::PetscLibType, A::AbstractPetscMat, p::Integer, q::Integer, S::AbstractVector{<:Number}) - error("MatKAIJSetS: no generated method for these argument types") + throw(MethodError(MatKAIJSetS, (petsclib, A, p, q, S))) end @for_petsc function MatKAIJSetS(petsclib::$UnionPetscLib, A::AbstractPetscMat, p::$PetscInt, q::$PetscInt, S::Vector{$PetscScalar} ) @@ -14055,7 +14055,7 @@ See also: `Mat`, `MATKAIJ`, `MatKAIJGetT()`, `MatKAIJSetS()`, `MatKAIJSetAIJ()` $(_doc_external("Mat/MatKAIJSetT")) """ function MatKAIJSetT(petsclib::PetscLibType, A::AbstractPetscMat, p::Integer, q::Integer, T::AbstractVector{<:Number}) - error("MatKAIJSetT: no generated method for these argument types") + throw(MethodError(MatKAIJSetT, (petsclib, A, p, q, T))) end @for_petsc function MatKAIJSetT(petsclib::$UnionPetscLib, A::AbstractPetscMat, p::$PetscInt, q::$PetscInt, T::Vector{$PetscScalar} ) @@ -14090,7 +14090,7 @@ See also: LMVM Matrices, `MATLMVM`, `MatLMVMReset()`, `MatLMVMUpdate()` $(_doc_external("KSP/MatLMVMAllocate")) """ function MatLMVMAllocate(petsclib::PetscLibType, B::AbstractPetscMat, X::AbstractPetscVec, F::AbstractPetscVec) - error("MatLMVMAllocate: no generated method for these argument types") + throw(MethodError(MatLMVMAllocate, (petsclib, B, X, F))) end @for_petsc function MatLMVMAllocate(petsclib::$UnionPetscLib, B::AbstractPetscMat, X::AbstractPetscVec, F::AbstractPetscVec ) @@ -14127,7 +14127,7 @@ See also: LMVM Matrices, `MATLMVM`, `MatLMVMSetJ0()`, `MatLMVMSetJ0Scale()`, `Ma $(_doc_external("KSP/MatLMVMApplyJ0Fwd")) """ function MatLMVMApplyJ0Fwd(petsclib::PetscLibType, B::AbstractPetscMat, X::AbstractPetscVec, Y::AbstractPetscVec) - error("MatLMVMApplyJ0Fwd: no generated method for these argument types") + throw(MethodError(MatLMVMApplyJ0Fwd, (petsclib, B, X, Y))) end @for_petsc function MatLMVMApplyJ0Fwd(petsclib::$UnionPetscLib, B::AbstractPetscMat, X::AbstractPetscVec, Y::AbstractPetscVec ) @@ -14164,7 +14164,7 @@ See also: LMVM Matrices, `MATLMVM`, `MatLMVMSetJ0()`, `MatLMVMSetJ0Scale()`, `Ma $(_doc_external("KSP/MatLMVMApplyJ0Inv")) """ function MatLMVMApplyJ0Inv(petsclib::PetscLibType, B::AbstractPetscMat, X::AbstractPetscVec, Y::AbstractPetscVec) - error("MatLMVMApplyJ0Inv: no generated method for these argument types") + throw(MethodError(MatLMVMApplyJ0Inv, (petsclib, B, X, Y))) end @for_petsc function MatLMVMApplyJ0Inv(petsclib::$UnionPetscLib, B::AbstractPetscMat, X::AbstractPetscVec, Y::AbstractPetscVec ) @@ -14196,7 +14196,7 @@ See also: LMVM Matrices, `MATLMVM`, `MatLMVMSetJ0()` $(_doc_external("KSP/MatLMVMClearJ0")) """ function MatLMVMClearJ0(petsclib::PetscLibType, B::AbstractPetscMat) - error("MatLMVMClearJ0: no generated method for these argument types") + throw(MethodError(MatLMVMClearJ0, (petsclib, B))) end @for_petsc function MatLMVMClearJ0(petsclib::$UnionPetscLib, B::AbstractPetscMat ) @@ -14237,7 +14237,7 @@ See also: `MATLMVMDQN`, `MATLMVMDBFGS`, `MATLMVMDDFP`, `MatLMVMDenseType` $(_doc_external("KSP/MatLMVMDenseSetType")) """ function MatLMVMDenseSetType(petsclib::PetscLibType, B::AbstractPetscMat, type::MatLMVMDenseType) - error("MatLMVMDenseSetType: no generated method for these argument types") + throw(MethodError(MatLMVMDenseSetType, (petsclib, B, type))) end @for_petsc function MatLMVMDenseSetType(petsclib::$UnionPetscLib, B::AbstractPetscMat, type::MatLMVMDenseType ) @@ -14273,7 +14273,7 @@ See also: LMVM Matrices, `MATLMVM`, `MatLMVMSetHistorySize()`, `MatLMVMGetUpdate $(_doc_external("KSP/MatLMVMGetHistorySize")) """ function MatLMVMGetHistorySize(petsclib::PetscLibType, B::AbstractPetscMat) - error("MatLMVMGetHistorySize: no generated method for these argument types") + throw(MethodError(MatLMVMGetHistorySize, (petsclib, B))) end @for_petsc function MatLMVMGetHistorySize(petsclib::$UnionPetscLib, B::AbstractPetscMat ) @@ -14309,7 +14309,7 @@ See also: LMVM Matrices, `MATLMVM`, `MatLMVMSetJ0()` $(_doc_external("KSP/MatLMVMGetJ0")) """ function MatLMVMGetJ0(petsclib::PetscLibType, B::AbstractPetscMat) - error("MatLMVMGetJ0: no generated method for these argument types") + throw(MethodError(MatLMVMGetJ0, (petsclib, B))) end @for_petsc function MatLMVMGetJ0(petsclib::$UnionPetscLib, B::AbstractPetscMat ) @@ -14346,7 +14346,7 @@ See also: LMVM Matrices, `MATLMVM`, `MatLMVMSetJ0KSP()` $(_doc_external("KSP/MatLMVMGetJ0KSP")) """ function MatLMVMGetJ0KSP(petsclib::PetscLibType, B::AbstractPetscMat) - error("MatLMVMGetJ0KSP: no generated method for these argument types") + throw(MethodError(MatLMVMGetJ0KSP, (petsclib, B))) end @for_petsc function MatLMVMGetJ0KSP(petsclib::$UnionPetscLib, B::AbstractPetscMat ) @@ -14383,7 +14383,7 @@ See also: LMVM Matrices, `MATLMVM`, `MatLMVMSetJ0PC()` $(_doc_external("KSP/MatLMVMGetJ0PC")) """ function MatLMVMGetJ0PC(petsclib::PetscLibType, B::AbstractPetscMat) - error("MatLMVMGetJ0PC: no generated method for these argument types") + throw(MethodError(MatLMVMGetJ0PC, (petsclib, B))) end @for_petsc function MatLMVMGetJ0PC(petsclib::$UnionPetscLib, B::AbstractPetscMat ) @@ -14422,7 +14422,7 @@ See also: `MatLMVM`, `MatLMVMUpdate()` $(_doc_external("KSP/MatLMVMGetLastUpdate")) """ function MatLMVMGetLastUpdate(petsclib::PetscLibType, B::AbstractPetscMat) - error("MatLMVMGetLastUpdate: no generated method for these argument types") + throw(MethodError(MatLMVMGetLastUpdate, (petsclib, B))) end @for_petsc function MatLMVMGetLastUpdate(petsclib::$UnionPetscLib, B::AbstractPetscMat ) @@ -14462,7 +14462,7 @@ See also: `MatLMVM`, `MatLMVMMultAlgorithm`, `MatLMVMSetMultAlgorithm()` $(_doc_external("KSP/MatLMVMGetMultAlgorithm")) """ function MatLMVMGetMultAlgorithm(petsclib::PetscLibType, B::AbstractPetscMat) - error("MatLMVMGetMultAlgorithm: no generated method for these argument types") + throw(MethodError(MatLMVMGetMultAlgorithm, (petsclib, B))) end @for_petsc function MatLMVMGetMultAlgorithm(petsclib::$UnionPetscLib, B::AbstractPetscMat ) @@ -14499,7 +14499,7 @@ See also: LMVM Matrices, `MATLMVM`, `MatLMVMReset()` $(_doc_external("KSP/MatLMVMGetRejectCount")) """ function MatLMVMGetRejectCount(petsclib::PetscLibType, B::AbstractPetscMat) - error("MatLMVMGetRejectCount: no generated method for these argument types") + throw(MethodError(MatLMVMGetRejectCount, (petsclib, B))) end @for_petsc function MatLMVMGetRejectCount(petsclib::$UnionPetscLib, B::AbstractPetscMat ) @@ -14535,7 +14535,7 @@ See also: LMVM Matrices, `MATLMVM`, `MatLMVMGetRejectCount()`, `MatLMVMReset()` $(_doc_external("KSP/MatLMVMGetUpdateCount")) """ function MatLMVMGetUpdateCount(petsclib::PetscLibType, B::AbstractPetscMat) - error("MatLMVMGetUpdateCount: no generated method for these argument types") + throw(MethodError(MatLMVMGetUpdateCount, (petsclib, B))) end @for_petsc function MatLMVMGetUpdateCount(petsclib::$UnionPetscLib, B::AbstractPetscMat ) @@ -14572,7 +14572,7 @@ See also: LMVM Matrices, `MATLMVM`, `MatLMVMAllocate()`, `MatLMVMReset()` $(_doc_external("KSP/MatLMVMIsAllocated")) """ function MatLMVMIsAllocated(petsclib::PetscLibType, B::AbstractPetscMat) - error("MatLMVMIsAllocated: no generated method for these argument types") + throw(MethodError(MatLMVMIsAllocated, (petsclib, B))) end @for_petsc function MatLMVMIsAllocated(petsclib::$UnionPetscLib, B::AbstractPetscMat ) @@ -14607,7 +14607,7 @@ See also: LMVM Matrices, `MATLMVM`, `MatLMVMAllocate()`, `MatLMVMUpdate()` $(_doc_external("KSP/MatLMVMReset")) """ function MatLMVMReset(petsclib::PetscLibType, B::AbstractPetscMat, destructive::PetscBool) - error("MatLMVMReset: no generated method for these argument types") + throw(MethodError(MatLMVMReset, (petsclib, B, destructive))) end @for_petsc function MatLMVMReset(petsclib::$UnionPetscLib, B::AbstractPetscMat, destructive::PetscBool ) @@ -14638,7 +14638,7 @@ See also: LMVM Matrices, `MATLMVM`, `MatLMVMAllocate()`, `MatLMVMUpdate()` $(_doc_external("KSP/MatLMVMResetShift")) """ function MatLMVMResetShift(petsclib::PetscLibType, B::AbstractPetscMat) - error("MatLMVMResetShift: no generated method for these argument types") + throw(MethodError(MatLMVMResetShift, (petsclib, B))) end @for_petsc function MatLMVMResetShift(petsclib::$UnionPetscLib, B::AbstractPetscMat ) @@ -14674,7 +14674,7 @@ See also: LMVM Matrices, `MATLMVM`, `MatLMVMGetUpdateCount()` $(_doc_external("KSP/MatLMVMSetHistorySize")) """ function MatLMVMSetHistorySize(petsclib::PetscLibType, B::AbstractPetscMat, hist_size::Integer) - error("MatLMVMSetHistorySize: no generated method for these argument types") + throw(MethodError(MatLMVMSetHistorySize, (petsclib, B, hist_size))) end @for_petsc function MatLMVMSetHistorySize(petsclib::$UnionPetscLib, B::AbstractPetscMat, hist_size::$PetscInt ) @@ -14707,7 +14707,7 @@ See also: LMVM Matrices, `MATLMVM`, `MatLMVMSetJ0PC()`, `MatLMVMSetJ0KSP()` $(_doc_external("KSP/MatLMVMSetJ0")) """ function MatLMVMSetJ0(petsclib::PetscLibType, B::AbstractPetscMat, J0::AbstractPetscMat) - error("MatLMVMSetJ0: no generated method for these argument types") + throw(MethodError(MatLMVMSetJ0, (petsclib, B, J0))) end @for_petsc function MatLMVMSetJ0(petsclib::$UnionPetscLib, B::AbstractPetscMat, J0::AbstractPetscMat ) @@ -14740,7 +14740,7 @@ See also: LMVM Matrices, `MATLMVM`, `MatLMVMSetScale()`, `MatLMVMSetJ0()` $(_doc_external("KSP/MatLMVMSetJ0Diag")) """ function MatLMVMSetJ0Diag(petsclib::PetscLibType, B::AbstractPetscMat, V::AbstractPetscVec) - error("MatLMVMSetJ0Diag: no generated method for these argument types") + throw(MethodError(MatLMVMSetJ0Diag, (petsclib, B, V))) end @for_petsc function MatLMVMSetJ0Diag(petsclib::$UnionPetscLib, B::AbstractPetscMat, V::AbstractPetscVec ) @@ -14773,7 +14773,7 @@ See also: LMVM Matrices, `MATLMVM`, `MatLMVMGetJ0KSP()` $(_doc_external("KSP/MatLMVMSetJ0KSP")) """ function MatLMVMSetJ0KSP(petsclib::PetscLibType, B::AbstractPetscMat, J0ksp::AbstractKSP) - error("MatLMVMSetJ0KSP: no generated method for these argument types") + throw(MethodError(MatLMVMSetJ0KSP, (petsclib, B, J0ksp))) end @for_petsc function MatLMVMSetJ0KSP(petsclib::$UnionPetscLib, B::AbstractPetscMat, J0ksp::AbstractKSP ) @@ -14805,7 +14805,7 @@ See also: LMVM Matrices, `MATLMVM`, `MatLMVMGetJ0PC()` $(_doc_external("KSP/MatLMVMSetJ0PC")) """ function MatLMVMSetJ0PC(petsclib::PetscLibType, B::AbstractPetscMat, J0pc::AbstractPC) - error("MatLMVMSetJ0PC: no generated method for these argument types") + throw(MethodError(MatLMVMSetJ0PC, (petsclib, B, J0pc))) end @for_petsc function MatLMVMSetJ0PC(petsclib::$UnionPetscLib, B::AbstractPetscMat, J0pc::AbstractPC ) @@ -14838,7 +14838,7 @@ See also: LMVM Matrices, `MATLMVM`, `MatLMVMSetDiagScale()`, `MatLMVMSetJ0()` $(_doc_external("KSP/MatLMVMSetJ0Scale")) """ function MatLMVMSetJ0Scale(petsclib::PetscLibType, B::AbstractPetscMat, scale::Real) - error("MatLMVMSetJ0Scale: no generated method for these argument types") + throw(MethodError(MatLMVMSetJ0Scale, (petsclib, B, scale))) end @for_petsc function MatLMVMSetJ0Scale(petsclib::$UnionPetscLib, B::AbstractPetscMat, scale::$PetscReal ) @@ -14872,7 +14872,7 @@ See also: `MatLMVM`, `MatLMVMMultAlgorithm`, `MatLMVMGetMultAlgorithm()` $(_doc_external("KSP/MatLMVMSetMultAlgorithm")) """ function MatLMVMSetMultAlgorithm(petsclib::PetscLibType, B::AbstractPetscMat, alg::MatLMVMMultAlgorithm) - error("MatLMVMSetMultAlgorithm: no generated method for these argument types") + throw(MethodError(MatLMVMSetMultAlgorithm, (petsclib, B, alg))) end @for_petsc function MatLMVMSetMultAlgorithm(petsclib::$UnionPetscLib, B::AbstractPetscMat, alg::MatLMVMMultAlgorithm ) @@ -14916,7 +14916,7 @@ This is the case if `B` is a `MATLMVMSYMBROYDEN`, where `psi`'s dual value $(_doc_external("KSP/MatLMVMSymBadBroydenGetPsi")) """ function MatLMVMSymBadBroydenGetPsi(petsclib::PetscLibType, B::AbstractPetscMat) - error("MatLMVMSymBadBroydenGetPsi: no generated method for these argument types") + throw(MethodError(MatLMVMSymBadBroydenGetPsi, (petsclib, B))) end @for_petsc function MatLMVMSymBadBroydenGetPsi(petsclib::$UnionPetscLib, B::AbstractPetscMat ) @@ -14959,7 +14959,7 @@ This is the case if `B` is a `MATLMVMSYMBROYDEN`, where `psi`'s dual value $(_doc_external("KSP/MatLMVMSymBadBroydenSetPsi")) """ function MatLMVMSymBadBroydenSetPsi(petsclib::PetscLibType, B::AbstractPetscMat, psi::Real) - error("MatLMVMSymBadBroydenSetPsi: no generated method for these argument types") + throw(MethodError(MatLMVMSymBadBroydenSetPsi, (petsclib, B, psi))) end @for_petsc function MatLMVMSymBadBroydenSetPsi(petsclib::$UnionPetscLib, B::AbstractPetscMat, psi::$PetscReal ) @@ -15003,7 +15003,7 @@ This is the case if `B` is a `MATLMVMSYMBADBROYDEN`, where `phi`'s dual value $(_doc_external("KSP/MatLMVMSymBroydenGetPhi")) """ function MatLMVMSymBroydenGetPhi(petsclib::PetscLibType, B::AbstractPetscMat) - error("MatLMVMSymBroydenGetPhi: no generated method for these argument types") + throw(MethodError(MatLMVMSymBroydenGetPhi, (petsclib, B))) end @for_petsc function MatLMVMSymBroydenGetPhi(petsclib::$UnionPetscLib, B::AbstractPetscMat ) @@ -15038,7 +15038,7 @@ See also: `MATLMVMSYMBROYDEN` $(_doc_external("KSP/MatLMVMSymBroydenSetDelta")) """ function MatLMVMSymBroydenSetDelta(petsclib::PetscLibType, B::AbstractPetscMat, delta::Number) - error("MatLMVMSymBroydenSetDelta: no generated method for these argument types") + throw(MethodError(MatLMVMSymBroydenSetDelta, (petsclib, B, delta))) end @for_petsc function MatLMVMSymBroydenSetDelta(petsclib::$UnionPetscLib, B::AbstractPetscMat, delta::$PetscScalar ) @@ -15078,7 +15078,7 @@ This is the case if `B` is a `MATLMVMSYMBADBROYDEN`, where `phi`'s dual value $(_doc_external("KSP/MatLMVMSymBroydenSetPhi")) """ function MatLMVMSymBroydenSetPhi(petsclib::PetscLibType, B::AbstractPetscMat, phi::Real) - error("MatLMVMSymBroydenSetPhi: no generated method for these argument types") + throw(MethodError(MatLMVMSymBroydenSetPhi, (petsclib, B, phi))) end @for_petsc function MatLMVMSymBroydenSetPhi(petsclib::$UnionPetscLib, B::AbstractPetscMat, phi::$PetscReal ) @@ -15120,7 +15120,7 @@ See also: `MATLMVMSYMBROYDEN`, `MatCreateLMVMSymBroyden()`, `MatLMVMSymBroydenSc $(_doc_external("KSP/MatLMVMSymBroydenSetScaleType")) """ function MatLMVMSymBroydenSetScaleType(petsclib::PetscLibType, B::AbstractPetscMat, stype::MatLMVMSymBroydenScaleType) - error("MatLMVMSymBroydenSetScaleType: no generated method for these argument types") + throw(MethodError(MatLMVMSymBroydenSetScaleType, (petsclib, B, stype))) end @for_petsc function MatLMVMSymBroydenSetScaleType(petsclib::$UnionPetscLib, B::AbstractPetscMat, stype::MatLMVMSymBroydenScaleType ) @@ -15153,7 +15153,7 @@ See also: LMVM Matrices, `MATLMVM`, `MatLMVMReset()`, `MatLMVMAllocate()` $(_doc_external("KSP/MatLMVMUpdate")) """ function MatLMVMUpdate(petsclib::PetscLibType, B::AbstractPetscMat, X::AbstractPetscVec, F::AbstractPetscVec) - error("MatLMVMUpdate: no generated method for these argument types") + throw(MethodError(MatLMVMUpdate, (petsclib, B, X, F))) end @for_petsc function MatLMVMUpdate(petsclib::$UnionPetscLib, B::AbstractPetscMat, X::AbstractPetscVec, F::AbstractPetscVec ) @@ -15192,7 +15192,7 @@ See also: `MatLRCSetMats()`, `Mat`, `MATLRC`, `MatCreateLRC()` $(_doc_external("Mat/MatLRCGetMats")) """ function MatLRCGetMats(petsclib::PetscLibType, N::AbstractPetscMat) - error("MatLRCGetMats: no generated method for these argument types") + throw(MethodError(MatLRCGetMats, (petsclib, N))) end @for_petsc function MatLRCGetMats(petsclib::$UnionPetscLib, N::AbstractPetscMat ) @@ -15237,7 +15237,7 @@ See also: `MatLRCGetMats()`, `Mat`, `MATLRC`, `MatCreateLRC()` $(_doc_external("Mat/MatLRCSetMats")) """ function MatLRCSetMats(petsclib::PetscLibType, N::AbstractPetscMat, A::AbstractPetscMat, U::AbstractPetscMat, c::AbstractPetscVec, V::AbstractPetscMat) - error("MatLRCSetMats: no generated method for these argument types") + throw(MethodError(MatLRCSetMats, (petsclib, N, A, U, c, V))) end @for_petsc function MatLRCSetMats(petsclib::$UnionPetscLib, N::AbstractPetscMat, A::AbstractPetscMat, U::AbstractPetscMat, c::AbstractPetscVec, V::AbstractPetscMat ) @@ -15279,7 +15279,7 @@ See also: Matrix Factorization, `Mat`, `MatFactorType`, `MatLUFactorSymbolic()`, $(_doc_external("Mat/MatLUFactor")) """ function MatLUFactor(petsclib::PetscLibType, mat::AbstractPetscMat, row::AbstractIS, col::AbstractIS, info::Vector{MatFactorInfo}) - error("MatLUFactor: no generated method for these argument types") + throw(MethodError(MatLUFactor, (petsclib, mat, row, col, info))) end @for_petsc function MatLUFactor(petsclib::$UnionPetscLib, mat::AbstractPetscMat, row::AbstractIS, col::AbstractIS, info::Vector{MatFactorInfo} ) @@ -15315,7 +15315,7 @@ See also: `Mat`, Matrix Factorization, `MatGetFactor()`, `MatFactorInfo`, `MatLU $(_doc_external("Mat/MatLUFactorNumeric")) """ function MatLUFactorNumeric(petsclib::PetscLibType, fact::AbstractPetscMat, mat::AbstractPetscMat, info::Vector{MatFactorInfo}) - error("MatLUFactorNumeric: no generated method for these argument types") + throw(MethodError(MatLUFactorNumeric, (petsclib, fact, mat, info))) end @for_petsc function MatLUFactorNumeric(petsclib::$UnionPetscLib, fact::AbstractPetscMat, mat::AbstractPetscMat, info::Vector{MatFactorInfo} ) @@ -15357,7 +15357,7 @@ See also: `Mat`, Matrix Factorization, `MatGetFactor()`, `MatLUFactor()`, `MatLU $(_doc_external("Mat/MatLUFactorSymbolic")) """ function MatLUFactorSymbolic(petsclib::PetscLibType, fact::AbstractPetscMat, mat::AbstractPetscMat, row::AbstractIS, col::AbstractIS, info::Vector{MatFactorInfo}) - error("MatLUFactorSymbolic: no generated method for these argument types") + throw(MethodError(MatLUFactorSymbolic, (petsclib, fact, mat, row, col, info))) end @for_petsc function MatLUFactorSymbolic(petsclib::$UnionPetscLib, fact::AbstractPetscMat, mat::AbstractPetscMat, row::AbstractIS, col::AbstractIS, info::Vector{MatFactorInfo} ) @@ -15398,7 +15398,7 @@ See also: `Mat`, `PetscViewerBinaryOpen()`, `PetscViewerSetType()`, `MatView()`, $(_doc_external("Mat/MatLoad")) """ function MatLoad(petsclib::PetscLibType, mat::AbstractPetscMat, viewer::PetscViewer) - error("MatLoad: no generated method for these argument types") + throw(MethodError(MatLoad, (petsclib, mat, viewer))) end @for_petsc function MatLoad(petsclib::$UnionPetscLib, mat::AbstractPetscMat, viewer::PetscViewer ) @@ -15434,7 +15434,7 @@ See also: `Mat`, `MATMAIJ`, `MATAIJ`, `MatCreateMAIJ()` $(_doc_external("Mat/MatMAIJGetAIJ")) """ function MatMAIJGetAIJ(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatMAIJGetAIJ: no generated method for these argument types") + throw(MethodError(MatMAIJGetAIJ, (petsclib, A))) end @for_petsc function MatMAIJGetAIJ(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -15473,7 +15473,7 @@ See also: `Mat`, `MATMAIJ`, `MatCreateMAIJ()` $(_doc_external("Mat/MatMAIJRedimension")) """ function MatMAIJRedimension(petsclib::PetscLibType, A::AbstractPetscMat, dof::Integer) - error("MatMAIJRedimension: no generated method for these argument types") + throw(MethodError(MatMAIJRedimension, (petsclib, A, dof))) end @for_petsc function MatMAIJRedimension(petsclib::$UnionPetscLib, A::AbstractPetscMat, dof::$PetscInt ) @@ -15512,7 +15512,7 @@ See also: `Mat`, `MATMPIAIJ`, `MatGetOwnershipRange()`, `MatMPIAIJGetLocalMatCon $(_doc_external("Mat/MatMPIAIJGetLocalMat")) """ function MatMPIAIJGetLocalMat(petsclib::PetscLibType, A::AbstractPetscMat, scall::MatReuse) - error("MatMPIAIJGetLocalMat: no generated method for these argument types") + throw(MethodError(MatMPIAIJGetLocalMat, (petsclib, A, scall))) end @for_petsc function MatMPIAIJGetLocalMat(petsclib::$UnionPetscLib, A::AbstractPetscMat, scall::MatReuse ) @@ -15553,7 +15553,7 @@ See also: `Mat`, `MATMPIAIJ`, `MatGetOwnershipRange()`, `MatMPIAIJGetLocalMat()` $(_doc_external("Mat/MatMPIAIJGetLocalMatCondensed")) """ function MatMPIAIJGetLocalMatCondensed(petsclib::PetscLibType, A::AbstractPetscMat, scall::MatReuse, row::AbstractIS, col::AbstractIS) - error("MatMPIAIJGetLocalMatCondensed: no generated method for these argument types") + throw(MethodError(MatMPIAIJGetLocalMatCondensed, (petsclib, A, scall, row, col))) end @for_petsc function MatMPIAIJGetLocalMatCondensed(petsclib::$UnionPetscLib, A::AbstractPetscMat, scall::MatReuse, row::AbstractIS, col::AbstractIS ) @@ -15598,7 +15598,7 @@ See also: `Mat`, `MATMPIAIJ`, `MatGetOwnershipRange()`, `MatMPIAIJGetLocalMat()` $(_doc_external("Mat/MatMPIAIJGetLocalMatMerge")) """ function MatMPIAIJGetLocalMatMerge(petsclib::PetscLibType, A::AbstractPetscMat, scall::MatReuse) - error("MatMPIAIJGetLocalMatMerge: no generated method for these argument types") + throw(MethodError(MatMPIAIJGetLocalMatMerge, (petsclib, A, scall))) end @for_petsc function MatMPIAIJGetLocalMatMerge(petsclib::$UnionPetscLib, A::AbstractPetscMat, scall::MatReuse ) @@ -15638,7 +15638,7 @@ See also: `Mat`, `MATMPIAIJ` $(_doc_external("Mat/MatMPIAIJGetNumberNonzeros")) """ function MatMPIAIJGetNumberNonzeros(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatMPIAIJGetNumberNonzeros: no generated method for these argument types") + throw(MethodError(MatMPIAIJGetNumberNonzeros, (petsclib, A))) end @for_petsc function MatMPIAIJGetNumberNonzeros(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -15736,7 +15736,7 @@ See also: `Mat`, Sparse Matrices, `MATMPIAIJ`, `MATAIJ`, `MatCreate()`, `MatCrea $(_doc_external("Mat/MatMPIAIJSetPreallocation")) """ function MatMPIAIJSetPreallocation(petsclib::PetscLibType, B::AbstractPetscMat, d_nz::Integer, d_nnz::Union{Ptr, AbstractVector{<:Number}}, o_nz::Integer, o_nnz::Union{Ptr, AbstractVector{<:Number}}) - error("MatMPIAIJSetPreallocation: no generated method for these argument types") + throw(MethodError(MatMPIAIJSetPreallocation, (petsclib, B, d_nz, d_nnz, o_nz, o_nnz))) end @for_petsc function MatMPIAIJSetPreallocation(petsclib::$UnionPetscLib, B::AbstractPetscMat, d_nz::$PetscInt, d_nnz::Union{Ptr, Vector{$PetscInt}}, o_nz::$PetscInt, o_nnz::Union{Ptr, Vector{$PetscInt}} ) @@ -15774,7 +15774,7 @@ See also: `Mat`, `MATMPIAIJ`, `MatCreate()`, `MatCreateSeqAIJ()`, `MatSetValues( $(_doc_external("Mat/MatMPIAIJSetPreallocationCSR")) """ function MatMPIAIJSetPreallocationCSR(petsclib::PetscLibType, B::AbstractPetscMat, i::AbstractVector{<:Number}, j::AbstractVector{<:Number}, v::AbstractVector{<:Number}) - error("MatMPIAIJSetPreallocationCSR: no generated method for these argument types") + throw(MethodError(MatMPIAIJSetPreallocationCSR, (petsclib, B, i, j, v))) end @for_petsc function MatMPIAIJSetPreallocationCSR(petsclib::$UnionPetscLib, B::AbstractPetscMat, i::Vector{$PetscInt}, j::Vector{$PetscInt}, v::Vector{$PetscScalar} ) @@ -15808,7 +15808,7 @@ See also: `Mat`, `MATMPIAIJ` $(_doc_external("Mat/MatMPIAIJSetUseScalableIncreaseOverlap")) """ function MatMPIAIJSetUseScalableIncreaseOverlap(petsclib::PetscLibType, A::AbstractPetscMat, sc::PetscBool) - error("MatMPIAIJSetUseScalableIncreaseOverlap: no generated method for these argument types") + throw(MethodError(MatMPIAIJSetUseScalableIncreaseOverlap, (petsclib, A, sc))) end @for_petsc function MatMPIAIJSetUseScalableIncreaseOverlap(petsclib::$UnionPetscLib, A::AbstractPetscMat, sc::PetscBool ) @@ -15844,7 +15844,7 @@ See also: `Mat`, `MATMPIADJ`, `MatCreateMPIAdj()` $(_doc_external("Mat/MatMPIAdjCreateNonemptySubcommMat")) """ function MatMPIAdjCreateNonemptySubcommMat(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatMPIAdjCreateNonemptySubcommMat: no generated method for these argument types") + throw(MethodError(MatMPIAdjCreateNonemptySubcommMat, (petsclib, A))) end @for_petsc function MatMPIAdjCreateNonemptySubcommMat(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -15883,7 +15883,7 @@ See also: `Mat`, `MatCreate()`, `MatCreateMPIAdj()`, `MatSetValues()`, `MATMPIAD $(_doc_external("Mat/MatMPIAdjSetPreallocation")) """ function MatMPIAdjSetPreallocation(petsclib::PetscLibType, B::AbstractPetscMat) - error("MatMPIAdjSetPreallocation: no generated method for these argument types") + throw(MethodError(MatMPIAdjSetPreallocation, (petsclib, B))) end @for_petsc function MatMPIAdjSetPreallocation(petsclib::$UnionPetscLib, B::AbstractPetscMat ) @@ -15925,7 +15925,7 @@ See also: `Mat`, `MATMPIADJ`, `MatCreate()`, `MatCreateMPIAdj()`, `MatSetValues( $(_doc_external("Mat/MatMPIAdjToSeq")) """ function MatMPIAdjToSeq(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatMPIAdjToSeq: no generated method for these argument types") + throw(MethodError(MatMPIAdjToSeq, (petsclib, A))) end @for_petsc function MatMPIAdjToSeq(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -15963,7 +15963,7 @@ See also: `Mat`, `MATMPIADJ`, `MatCreate()`, `MatCreateMPIAdj()`, `MatSetValues( $(_doc_external("Mat/MatMPIAdjToSeqRankZero")) """ function MatMPIAdjToSeqRankZero(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatMPIAdjToSeqRankZero: no generated method for these argument types") + throw(MethodError(MatMPIAdjToSeqRankZero, (petsclib, A))) end @for_petsc function MatMPIAdjToSeqRankZero(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -16004,7 +16004,7 @@ See also: `Mat`, `MATMPIBAIJ`, `MATSEQBAIJ`, `MatMPIAIJGetSeqAIJ()` $(_doc_external("Mat/MatMPIBAIJGetSeqBAIJ")) """ function MatMPIBAIJGetSeqBAIJ(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatMPIBAIJGetSeqBAIJ: no generated method for these argument types") + throw(MethodError(MatMPIBAIJGetSeqBAIJ, (petsclib, A))) end @for_petsc function MatMPIBAIJGetSeqBAIJ(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -16045,7 +16045,7 @@ See also: `Mat`, `MATMPIBAIJ`, `MatSetOption()` $(_doc_external("Mat/MatMPIBAIJSetHashTableFactor")) """ function MatMPIBAIJSetHashTableFactor(petsclib::PetscLibType, mat::AbstractPetscMat, fact::Real) - error("MatMPIBAIJSetHashTableFactor: no generated method for these argument types") + throw(MethodError(MatMPIBAIJSetHashTableFactor, (petsclib, mat, fact))) end @for_petsc function MatMPIBAIJSetHashTableFactor(petsclib::$UnionPetscLib, mat::AbstractPetscMat, fact::$PetscReal ) @@ -16098,7 +16098,7 @@ See also: `Mat`, `MATMPIBAIJ`, `MatCreate()`, `MatCreateSeqBAIJ()`, `MatSetValue $(_doc_external("Mat/MatMPIBAIJSetPreallocation")) """ function MatMPIBAIJSetPreallocation(petsclib::PetscLibType, B::AbstractPetscMat, bs::Integer, d_nz::Integer, d_nnz::Union{Ptr, AbstractVector{<:Number}}, o_nz::Integer, o_nnz::Union{Ptr, AbstractVector{<:Number}}) - error("MatMPIBAIJSetPreallocation: no generated method for these argument types") + throw(MethodError(MatMPIBAIJSetPreallocation, (petsclib, B, bs, d_nz, d_nnz, o_nz, o_nnz))) end @for_petsc function MatMPIBAIJSetPreallocation(petsclib::$UnionPetscLib, B::AbstractPetscMat, bs::$PetscInt, d_nz::$PetscInt, d_nnz::Union{Ptr, Vector{$PetscInt}}, o_nz::$PetscInt, o_nnz::Union{Ptr, Vector{$PetscInt}} ) @@ -16135,7 +16135,7 @@ See also: `Mat`, `MatCreate()`, `MatCreateSeqAIJ()`, `MatSetValues()`, `MatMPIBA $(_doc_external("Mat/MatMPIBAIJSetPreallocationCSR")) """ function MatMPIBAIJSetPreallocationCSR(petsclib::PetscLibType, B::AbstractPetscMat, bs::Integer, i::AbstractVector{<:Number}, j::AbstractVector{<:Number}, v::Union{Ptr, AbstractVector{<:Number}}) - error("MatMPIBAIJSetPreallocationCSR: no generated method for these argument types") + throw(MethodError(MatMPIBAIJSetPreallocationCSR, (petsclib, B, bs, i, j, v))) end @for_petsc function MatMPIBAIJSetPreallocationCSR(petsclib::$UnionPetscLib, B::AbstractPetscMat, bs::$PetscInt, i::Vector{$PetscInt}, j::Vector{$PetscInt}, v::Union{Ptr, Vector{$PetscScalar}} ) @@ -16170,7 +16170,7 @@ See also: `Mat`, `MATMPIDENSE`, `MatCreate()`, `MatCreateSeqDense()`, `MatSetVal $(_doc_external("Mat/MatMPIDenseSetPreallocation")) """ function MatMPIDenseSetPreallocation(petsclib::PetscLibType, B::AbstractPetscMat) - error("MatMPIDenseSetPreallocation: no generated method for these argument types") + throw(MethodError(MatMPIDenseSetPreallocation, (petsclib, B))) end @for_petsc function MatMPIDenseSetPreallocation(petsclib::$UnionPetscLib, B::AbstractPetscMat ) @@ -16226,7 +16226,7 @@ See also: `Mat`, `MATMPISBAIJ`, `MATSBAIJ`, `MatCreate()`, `MatCreateSeqSBAIJ()` $(_doc_external("Mat/MatMPISBAIJSetPreallocation")) """ function MatMPISBAIJSetPreallocation(petsclib::PetscLibType, B::AbstractPetscMat, bs::Integer, d_nz::Integer, d_nnz::AbstractVector{<:Number}, o_nz::Integer, o_nnz::AbstractVector{<:Number}) - error("MatMPISBAIJSetPreallocation: no generated method for these argument types") + throw(MethodError(MatMPISBAIJSetPreallocation, (petsclib, B, bs, d_nz, d_nnz, o_nz, o_nnz))) end @for_petsc function MatMPISBAIJSetPreallocation(petsclib::$UnionPetscLib, B::AbstractPetscMat, bs::$PetscInt, d_nz::$PetscInt, d_nnz::Vector{$PetscInt}, o_nz::$PetscInt, o_nnz::Vector{$PetscInt} ) @@ -16264,7 +16264,7 @@ See also: `Mat`, `MATMPISBAIJ`, `MatCreate()`, `MatCreateSeqAIJ()`, `MatSetValue $(_doc_external("Mat/MatMPISBAIJSetPreallocationCSR")) """ function MatMPISBAIJSetPreallocationCSR(petsclib::PetscLibType, B::AbstractPetscMat, bs::Integer, i::AbstractVector{<:Number}, j::AbstractVector{<:Number}, v::AbstractVector{<:Number}) - error("MatMPISBAIJSetPreallocationCSR: no generated method for these argument types") + throw(MethodError(MatMPISBAIJSetPreallocationCSR, (petsclib, B, bs, i, j, v))) end @for_petsc function MatMPISBAIJSetPreallocationCSR(petsclib::$UnionPetscLib, B::AbstractPetscMat, bs::$PetscInt, i::Vector{$PetscInt}, j::Vector{$PetscInt}, v::Vector{$PetscScalar} ) @@ -16304,7 +16304,7 @@ See also: `Mat`, `MATSEQSELL`, `MATMPISELL`, `MatGetOwnershipRange()`, `MatMPISE $(_doc_external("Mat/MatMPISELLGetLocalMatCondensed")) """ function MatMPISELLGetLocalMatCondensed(petsclib::PetscLibType, A::AbstractPetscMat, scall::MatReuse, row::Union{Ptr, AbstractIS}, col::Union{Ptr, AbstractIS}) - error("MatMPISELLGetLocalMatCondensed: no generated method for these argument types") + throw(MethodError(MatMPISELLGetLocalMatCondensed, (petsclib, A, scall, row, col))) end @for_petsc function MatMPISELLGetLocalMatCondensed(petsclib::$UnionPetscLib, A::AbstractPetscMat, scall::MatReuse, row::Union{Ptr, AbstractIS}, col::Union{Ptr, AbstractIS} ) @@ -16348,7 +16348,7 @@ See also: `Mat`, `MATSEQSELL`, `MATMPISELL` $(_doc_external("Mat/MatMPISELLGetSeqSELL")) """ function MatMPISELLGetSeqSELL(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatMPISELLGetSeqSELL: no generated method for these argument types") + throw(MethodError(MatMPISELLGetSeqSELL, (petsclib, A))) end @for_petsc function MatMPISELLGetSeqSELL(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -16473,7 +16473,7 @@ See also: `Mat`, `MatCreate()`, `MatCreateSeqSELL()`, `MatSetValues()`, `MatCrea $(_doc_external("Mat/MatMPISELLSetPreallocation")) """ function MatMPISELLSetPreallocation(petsclib::PetscLibType, B::AbstractPetscMat, d_nz::Integer, d_nnz::AbstractVector{<:Number}, o_nz::Integer, o_nnz::AbstractVector{<:Number}) - error("MatMPISELLSetPreallocation: no generated method for these argument types") + throw(MethodError(MatMPISELLSetPreallocation, (petsclib, B, d_nz, d_nnz, o_nz, o_nnz))) end @for_petsc function MatMPISELLSetPreallocation(petsclib::$UnionPetscLib, B::AbstractPetscMat, d_nz::$PetscInt, d_nnz::Vector{$PetscInt}, o_nz::$PetscInt, o_nnz::Vector{$PetscInt} ) @@ -16510,7 +16510,7 @@ See also: `Mat`, `MatInterpolate()`, `MatRestrict()`, `MatMatRestrict()`, `PCMG` $(_doc_external("Mat/MatMatInterpolate")) """ function MatMatInterpolate(petsclib::PetscLibType, A::AbstractPetscMat, x::AbstractPetscMat) - error("MatMatInterpolate: no generated method for these argument types") + throw(MethodError(MatMatInterpolate, (petsclib, A, x))) end @for_petsc function MatMatInterpolate(petsclib::$UnionPetscLib, A::AbstractPetscMat, x::AbstractPetscMat ) @@ -16550,7 +16550,7 @@ See also: `Mat`, `MatInterpolateAdd()`, `MatMatInterpolate()`, `MatMatRestrict() $(_doc_external("Mat/MatMatInterpolateAdd")) """ function MatMatInterpolateAdd(petsclib::PetscLibType, A::AbstractPetscMat, x::AbstractPetscMat, w::AbstractPetscMat) - error("MatMatInterpolateAdd: no generated method for these argument types") + throw(MethodError(MatMatInterpolateAdd, (petsclib, A, x, w))) end @for_petsc function MatMatInterpolateAdd(petsclib::$UnionPetscLib, A::AbstractPetscMat, x::AbstractPetscMat, w::AbstractPetscMat ) @@ -16593,7 +16593,7 @@ See also: `Mat`, `MatProductCreate()`, `MATPRODUCT_ABC`, `MatMatMult`, `MatPtAP( $(_doc_external("Mat/MatMatMatMult")) """ function MatMatMatMult(petsclib::PetscLibType, A::AbstractPetscMat, B::AbstractPetscMat, C::AbstractPetscMat, scall::MatReuse, fill::Real) - error("MatMatMatMult: no generated method for these argument types") + throw(MethodError(MatMatMatMult, (petsclib, A, B, C, scall, fill))) end @for_petsc function MatMatMatMult(petsclib::$UnionPetscLib, A::AbstractPetscMat, B::AbstractPetscMat, C::AbstractPetscMat, scall::MatReuse, fill::$PetscReal ) @@ -16633,7 +16633,7 @@ See also: `Mat`, `MatProductType`, `MATPRODUCT_AB`, `MatTransposeMatMult()`, `Ma $(_doc_external("Mat/MatMatMult")) """ function MatMatMult(petsclib::PetscLibType, A::AbstractPetscMat, B::AbstractPetscMat, scall::MatReuse, fill::Real) - error("MatMatMult: no generated method for these argument types") + throw(MethodError(MatMatMult, (petsclib, A, B, scall, fill))) end @for_petsc function MatMatMult(petsclib::$UnionPetscLib, A::AbstractPetscMat, B::AbstractPetscMat, scall::MatReuse, fill::$PetscReal ) @@ -16674,7 +16674,7 @@ See also: `Mat`, `MatMultEqual()`, `MatMultAddEqual()`, `MatMultTransposeEqual() $(_doc_external("Mat/MatMatMultEqual")) """ function MatMatMultEqual(petsclib::PetscLibType, A::AbstractPetscMat, B::AbstractPetscMat, C::AbstractPetscMat, n::Integer) - error("MatMatMultEqual: no generated method for these argument types") + throw(MethodError(MatMatMultEqual, (petsclib, A, B, C, n))) end @for_petsc function MatMatMultEqual(petsclib::$UnionPetscLib, A::AbstractPetscMat, B::AbstractPetscMat, C::AbstractPetscMat, n::$PetscInt ) @@ -16713,7 +16713,7 @@ See also: `Mat`, `MatRestrict()`, `MatInterpolate()`, `MatMatInterpolate()`, `PC $(_doc_external("Mat/MatMatRestrict")) """ function MatMatRestrict(petsclib::PetscLibType, A::AbstractPetscMat, x::AbstractPetscMat) - error("MatMatRestrict: no generated method for these argument types") + throw(MethodError(MatMatRestrict, (petsclib, A, x))) end @for_petsc function MatMatRestrict(petsclib::$UnionPetscLib, A::AbstractPetscMat, x::AbstractPetscMat ) @@ -16752,7 +16752,7 @@ See also: `Mat`, Matrix Factorization, `MatGetFactor()`, `MatSolve()`, `MatMatSo $(_doc_external("Mat/MatMatSolve")) """ function MatMatSolve(petsclib::PetscLibType, A::AbstractPetscMat, B::AbstractPetscMat, X::AbstractPetscMat) - error("MatMatSolve: no generated method for these argument types") + throw(MethodError(MatMatSolve, (petsclib, A, B, X))) end @for_petsc function MatMatSolve(petsclib::$UnionPetscLib, A::AbstractPetscMat, B::AbstractPetscMat, X::AbstractPetscMat ) @@ -16789,7 +16789,7 @@ See also: `Mat`, Matrix Factorization, `MatGetFactor()`, `MatSolveTranspose()`, $(_doc_external("Mat/MatMatSolveTranspose")) """ function MatMatSolveTranspose(petsclib::PetscLibType, A::AbstractPetscMat, B::AbstractPetscMat, X::AbstractPetscMat) - error("MatMatSolveTranspose: no generated method for these argument types") + throw(MethodError(MatMatSolveTranspose, (petsclib, A, B, X))) end @for_petsc function MatMatSolveTranspose(petsclib::$UnionPetscLib, A::AbstractPetscMat, B::AbstractPetscMat, X::AbstractPetscMat ) @@ -16833,7 +16833,7 @@ See also: `Mat`, `MatProductCreate()`, `MATPRODUCT_ABt`, `MatMatMult()`, `MatTra $(_doc_external("Mat/MatMatTransposeMult")) """ function MatMatTransposeMult(petsclib::PetscLibType, A::AbstractPetscMat, B::AbstractPetscMat, scall::MatReuse, fill::Real) - error("MatMatTransposeMult: no generated method for these argument types") + throw(MethodError(MatMatTransposeMult, (petsclib, A, B, scall, fill))) end @for_petsc function MatMatTransposeMult(petsclib::$UnionPetscLib, A::AbstractPetscMat, B::AbstractPetscMat, scall::MatReuse, fill::$PetscReal ) @@ -16874,7 +16874,7 @@ See also: `Mat`, `MatMatMultEqual()`, `MatMultEqual()`, `MatMultAddEqual()`, `Ma $(_doc_external("Mat/MatMatTransposeMultEqual")) """ function MatMatTransposeMultEqual(petsclib::PetscLibType, A::AbstractPetscMat, B::AbstractPetscMat, C::AbstractPetscMat, n::Integer) - error("MatMatTransposeMultEqual: no generated method for these argument types") + throw(MethodError(MatMatTransposeMultEqual, (petsclib, A, B, C, n))) end @for_petsc function MatMatTransposeMultEqual(petsclib::$UnionPetscLib, A::AbstractPetscMat, B::AbstractPetscMat, C::AbstractPetscMat, n::$PetscInt ) @@ -16913,7 +16913,7 @@ See also: `Mat`, Matrix Factorization, `MatMatSolve()`, `MatMatSolveTranspose()` $(_doc_external("Mat/MatMatTransposeSolve")) """ function MatMatTransposeSolve(petsclib::PetscLibType, A::AbstractPetscMat, Bt::AbstractPetscMat, X::AbstractPetscMat) - error("MatMatTransposeSolve: no generated method for these argument types") + throw(MethodError(MatMatTransposeSolve, (petsclib, A, Bt, X))) end @for_petsc function MatMatTransposeSolve(petsclib::$UnionPetscLib, A::AbstractPetscMat, Bt::AbstractPetscMat, X::AbstractPetscMat ) @@ -16951,7 +16951,7 @@ See also: `MatCreateMPIAdj()`, `MatPartitioningCreate()` $(_doc_external("MatGraphOperations/MatMeshToCellGraph")) """ function MatMeshToCellGraph(petsclib::PetscLibType, mesh::AbstractPetscMat, ncommonnodes::Integer) - error("MatMeshToCellGraph: no generated method for these argument types") + throw(MethodError(MatMeshToCellGraph, (petsclib, mesh, ncommonnodes))) end @for_petsc function MatMeshToCellGraph(petsclib::$UnionPetscLib, mesh::AbstractPetscMat, ncommonnodes::$PetscInt ) @@ -16990,7 +16990,7 @@ See also: `Mat`, `MatMultTranspose()`, `MatMultAdd()`, `MatMultTransposeAdd()` $(_doc_external("Mat/MatMult")) """ function MatMult(petsclib::PetscLibType, mat::AbstractPetscMat, x::AbstractPetscVec, y::AbstractPetscVec) - error("MatMult: no generated method for these argument types") + throw(MethodError(MatMult, (petsclib, mat, x, y))) end @for_petsc function MatMult(petsclib::$UnionPetscLib, mat::AbstractPetscMat, x::AbstractPetscVec, y::AbstractPetscVec ) @@ -17028,7 +17028,7 @@ See also: `Mat`, `MatMultTranspose()`, `MatMult()`, `MatMultTransposeAdd()` $(_doc_external("Mat/MatMultAdd")) """ function MatMultAdd(petsclib::PetscLibType, mat::AbstractPetscMat, v1::AbstractPetscVec, v2::AbstractPetscVec, v3::AbstractPetscVec) - error("MatMultAdd: no generated method for these argument types") + throw(MethodError(MatMultAdd, (petsclib, mat, v1, v2, v3))) end @for_petsc function MatMultAdd(petsclib::$UnionPetscLib, mat::AbstractPetscMat, v1::AbstractPetscVec, v2::AbstractPetscVec, v3::AbstractPetscVec ) @@ -17066,7 +17066,7 @@ See also: `Mat`, `MatMultEqual()`, `MatMultTransposeEqual()`, `MatMultTransposeA $(_doc_external("Mat/MatMultAddEqual")) """ function MatMultAddEqual(petsclib::PetscLibType, A::AbstractPetscMat, B::AbstractPetscMat, n::Integer) - error("MatMultAddEqual: no generated method for these argument types") + throw(MethodError(MatMultAddEqual, (petsclib, A, B, n))) end @for_petsc function MatMultAddEqual(petsclib::$UnionPetscLib, A::AbstractPetscMat, B::AbstractPetscMat, n::$PetscInt ) @@ -17105,7 +17105,7 @@ See also: `Mat`, `MatMult()`, `MatMultTranspose()`, `MatMultAdd()`, `MatMultTran $(_doc_external("Mat/MatMultDiagonalBlock")) """ function MatMultDiagonalBlock(petsclib::PetscLibType, mat::AbstractPetscMat, x::AbstractPetscVec, y::AbstractPetscVec) - error("MatMultDiagonalBlock: no generated method for these argument types") + throw(MethodError(MatMultDiagonalBlock, (petsclib, mat, x, y))) end @for_petsc function MatMultDiagonalBlock(petsclib::$UnionPetscLib, mat::AbstractPetscMat, x::AbstractPetscVec, y::AbstractPetscVec ) @@ -17143,7 +17143,7 @@ See also: `Mat`, `MatMultAddEqual()`, `MatMultTransposeEqual()`, `MatMultTranspo $(_doc_external("Mat/MatMultEqual")) """ function MatMultEqual(petsclib::PetscLibType, A::AbstractPetscMat, B::AbstractPetscMat, n::Integer) - error("MatMultEqual: no generated method for these argument types") + throw(MethodError(MatMultEqual, (petsclib, A, B, n))) end @for_petsc function MatMultEqual(petsclib::$UnionPetscLib, A::AbstractPetscMat, B::AbstractPetscMat, n::$PetscInt ) @@ -17182,7 +17182,7 @@ See also: `Mat`, `MatMult()`, `MatMultAdd()`, `MatMultHermitianTransposeAdd()`, $(_doc_external("Mat/MatMultHermitianTranspose")) """ function MatMultHermitianTranspose(petsclib::PetscLibType, mat::AbstractPetscMat, x::AbstractPetscVec, y::AbstractPetscVec) - error("MatMultHermitianTranspose: no generated method for these argument types") + throw(MethodError(MatMultHermitianTranspose, (petsclib, mat, x, y))) end @for_petsc function MatMultHermitianTranspose(petsclib::$UnionPetscLib, mat::AbstractPetscMat, x::AbstractPetscVec, y::AbstractPetscVec ) @@ -17220,7 +17220,7 @@ See also: `Mat`, `MatMultHermitianTranspose()`, `MatMultTranspose()`, `MatMultAd $(_doc_external("Mat/MatMultHermitianTransposeAdd")) """ function MatMultHermitianTransposeAdd(petsclib::PetscLibType, mat::AbstractPetscMat, v1::AbstractPetscVec, v2::AbstractPetscVec, v3::AbstractPetscVec) - error("MatMultHermitianTransposeAdd: no generated method for these argument types") + throw(MethodError(MatMultHermitianTransposeAdd, (petsclib, mat, v1, v2, v3))) end @for_petsc function MatMultHermitianTransposeAdd(petsclib::$UnionPetscLib, mat::AbstractPetscMat, v1::AbstractPetscVec, v2::AbstractPetscVec, v3::AbstractPetscVec ) @@ -17258,7 +17258,7 @@ See also: `Mat`, `MatMatMultEqual()`, `MatMultEqual()`, `MatMultAddEqual()`, `Ma $(_doc_external("Mat/MatMultHermitianTransposeAddEqual")) """ function MatMultHermitianTransposeAddEqual(petsclib::PetscLibType, A::AbstractPetscMat, B::AbstractPetscMat, n::Integer) - error("MatMultHermitianTransposeAddEqual: no generated method for these argument types") + throw(MethodError(MatMultHermitianTransposeAddEqual, (petsclib, A, B, n))) end @for_petsc function MatMultHermitianTransposeAddEqual(petsclib::$UnionPetscLib, A::AbstractPetscMat, B::AbstractPetscMat, n::$PetscInt ) @@ -17298,7 +17298,7 @@ See also: `Mat`, `MatMatMultEqual()`, `MatMultEqual()`, `MatMultAddEqual()`, `Ma $(_doc_external("Mat/MatMultHermitianTransposeEqual")) """ function MatMultHermitianTransposeEqual(petsclib::PetscLibType, A::AbstractPetscMat, B::AbstractPetscMat, n::Integer) - error("MatMultHermitianTransposeEqual: no generated method for these argument types") + throw(MethodError(MatMultHermitianTransposeEqual, (petsclib, A, B, n))) end @for_petsc function MatMultHermitianTransposeEqual(petsclib::$UnionPetscLib, A::AbstractPetscMat, B::AbstractPetscMat, n::$PetscInt ) @@ -17337,7 +17337,7 @@ See also: `Mat`, `MatMult()`, `MatMultAdd()`, `MatMultTransposeAdd()`, `MatMultH $(_doc_external("Mat/MatMultTranspose")) """ function MatMultTranspose(petsclib::PetscLibType, mat::AbstractPetscMat, x::AbstractPetscVec, y::AbstractPetscVec) - error("MatMultTranspose: no generated method for these argument types") + throw(MethodError(MatMultTranspose, (petsclib, mat, x, y))) end @for_petsc function MatMultTranspose(petsclib::$UnionPetscLib, mat::AbstractPetscMat, x::AbstractPetscVec, y::AbstractPetscVec ) @@ -17375,7 +17375,7 @@ See also: `Mat`, `MatMultTranspose()`, `MatMultAdd()`, `MatMult()` $(_doc_external("Mat/MatMultTransposeAdd")) """ function MatMultTransposeAdd(petsclib::PetscLibType, mat::AbstractPetscMat, v1::AbstractPetscVec, v2::AbstractPetscVec, v3::AbstractPetscVec) - error("MatMultTransposeAdd: no generated method for these argument types") + throw(MethodError(MatMultTransposeAdd, (petsclib, mat, v1, v2, v3))) end @for_petsc function MatMultTransposeAdd(petsclib::$UnionPetscLib, mat::AbstractPetscMat, v1::AbstractPetscVec, v2::AbstractPetscVec, v3::AbstractPetscVec ) @@ -17413,7 +17413,7 @@ See also: `Mat`, `MatMultEqual()`, `MatMultAddEqual()`, `MatMultTransposeEqual() $(_doc_external("Mat/MatMultTransposeAddEqual")) """ function MatMultTransposeAddEqual(petsclib::PetscLibType, A::AbstractPetscMat, B::AbstractPetscMat, n::Integer) - error("MatMultTransposeAddEqual: no generated method for these argument types") + throw(MethodError(MatMultTransposeAddEqual, (petsclib, A, B, n))) end @for_petsc function MatMultTransposeAddEqual(petsclib::$UnionPetscLib, A::AbstractPetscMat, B::AbstractPetscMat, n::$PetscInt ) @@ -17453,7 +17453,7 @@ See also: `Mat`, `MatMultEqual()`, `MatMultAddEqual()`, `MatMultTransposeAddEqua $(_doc_external("Mat/MatMultTransposeEqual")) """ function MatMultTransposeEqual(petsclib::PetscLibType, A::AbstractPetscMat, B::AbstractPetscMat, n::Integer) - error("MatMultTransposeEqual: no generated method for these argument types") + throw(MethodError(MatMultTransposeEqual, (petsclib, A, B, n))) end @for_petsc function MatMultTransposeEqual(petsclib::$UnionPetscLib, A::AbstractPetscMat, B::AbstractPetscMat, n::$PetscInt ) @@ -17492,7 +17492,7 @@ See also: `Mat`, `MatGetFactor()`, `MatMumpsSetIcntl()`, `MatMumpsGetIcntl()`, ` $(_doc_external("Mat/MatMumpsGetCntl")) """ function MatMumpsGetCntl(petsclib::PetscLibType, F::AbstractPetscMat, icntl::Integer) - error("MatMumpsGetCntl: no generated method for these argument types") + throw(MethodError(MatMumpsGetCntl, (petsclib, F, icntl))) end @for_petsc function MatMumpsGetCntl(petsclib::$UnionPetscLib, F::AbstractPetscMat, icntl::$PetscInt ) @@ -17531,7 +17531,7 @@ See also: `Mat`, `MatGetFactor()`, `MatMumpsSetIcntl()`, `MatMumpsSetCntl()`, `M $(_doc_external("Mat/MatMumpsGetIcntl")) """ function MatMumpsGetIcntl(petsclib::PetscLibType, F::AbstractPetscMat, icntl::Integer) - error("MatMumpsGetIcntl: no generated method for these argument types") + throw(MethodError(MatMumpsGetIcntl, (petsclib, F, icntl))) end @for_petsc function MatMumpsGetIcntl(petsclib::$UnionPetscLib, F::AbstractPetscMat, icntl::$PetscInt ) @@ -17570,7 +17570,7 @@ See also: `Mat`, `MatGetFactor()`, `MatMumpsSetIcntl()`, `MatMumpsGetIcntl()`, ` $(_doc_external("Mat/MatMumpsGetInfo")) """ function MatMumpsGetInfo(petsclib::PetscLibType, F::AbstractPetscMat, icntl::Integer) - error("MatMumpsGetInfo: no generated method for these argument types") + throw(MethodError(MatMumpsGetInfo, (petsclib, F, icntl))) end @for_petsc function MatMumpsGetInfo(petsclib::$UnionPetscLib, F::AbstractPetscMat, icntl::$PetscInt ) @@ -17609,7 +17609,7 @@ See also: `Mat`, `MatGetFactor()`, `MatMumpsSetIcntl()`, `MatMumpsGetIcntl()`, ` $(_doc_external("Mat/MatMumpsGetInfog")) """ function MatMumpsGetInfog(petsclib::PetscLibType, F::AbstractPetscMat, icntl::Integer) - error("MatMumpsGetInfog: no generated method for these argument types") + throw(MethodError(MatMumpsGetInfog, (petsclib, F, icntl))) end @for_petsc function MatMumpsGetInfog(petsclib::$UnionPetscLib, F::AbstractPetscMat, icntl::$PetscInt ) @@ -17647,7 +17647,7 @@ See also: `Mat`, `MatGetFactor()`, `MatCreateTranspose()` $(_doc_external("Mat/MatMumpsGetInverse")) """ function MatMumpsGetInverse(petsclib::PetscLibType, F::AbstractPetscMat, spRHS::AbstractPetscMat) - error("MatMumpsGetInverse: no generated method for these argument types") + throw(MethodError(MatMumpsGetInverse, (petsclib, F, spRHS))) end @for_petsc function MatMumpsGetInverse(petsclib::$UnionPetscLib, F::AbstractPetscMat, spRHS::AbstractPetscMat ) @@ -17683,7 +17683,7 @@ See also: `Mat`, `MatGetFactor()`, `MatCreateTranspose()`, `MatMumpsGetInverse() $(_doc_external("Mat/MatMumpsGetInverseTranspose")) """ function MatMumpsGetInverseTranspose(petsclib::PetscLibType, F::AbstractPetscMat, spRHST::AbstractPetscMat) - error("MatMumpsGetInverseTranspose: no generated method for these argument types") + throw(MethodError(MatMumpsGetInverseTranspose, (petsclib, F, spRHST))) end @for_petsc function MatMumpsGetInverseTranspose(petsclib::$UnionPetscLib, F::AbstractPetscMat, spRHST::AbstractPetscMat ) @@ -17721,7 +17721,7 @@ See also: `Mat`, `MatGetFactor()`, `MatMumpsSetIcntl()`, `MatMumpsGetIcntl()`, ` $(_doc_external("Mat/MatMumpsGetNullPivots")) """ function MatMumpsGetNullPivots(petsclib::PetscLibType, F::AbstractPetscMat) - error("MatMumpsGetNullPivots: no generated method for these argument types") + throw(MethodError(MatMumpsGetNullPivots, (petsclib, F))) end @for_petsc function MatMumpsGetNullPivots(petsclib::$UnionPetscLib, F::AbstractPetscMat ) @@ -17761,7 +17761,7 @@ See also: `Mat`, `MatGetFactor()`, `MatMumpsSetOocTmpDir`, `MatMumpsSetIcntl()`, $(_doc_external("Mat/MatMumpsGetOocTmpDir")) """ function MatMumpsGetOocTmpDir(petsclib::PetscLibType, F::AbstractPetscMat) - error("MatMumpsGetOocTmpDir: no generated method for these argument types") + throw(MethodError(MatMumpsGetOocTmpDir, (petsclib, F))) end @for_petsc function MatMumpsGetOocTmpDir(petsclib::$UnionPetscLib, F::AbstractPetscMat ) @@ -17800,7 +17800,7 @@ See also: `Mat`, `MatGetFactor()`, `MatMumpsSetIcntl()`, `MatMumpsGetIcntl()`, ` $(_doc_external("Mat/MatMumpsGetRinfo")) """ function MatMumpsGetRinfo(petsclib::PetscLibType, F::AbstractPetscMat, icntl::Integer) - error("MatMumpsGetRinfo: no generated method for these argument types") + throw(MethodError(MatMumpsGetRinfo, (petsclib, F, icntl))) end @for_petsc function MatMumpsGetRinfo(petsclib::$UnionPetscLib, F::AbstractPetscMat, icntl::$PetscInt ) @@ -17839,7 +17839,7 @@ See also: `Mat`, `MatGetFactor()`, `MatMumpsSetIcntl()`, `MatMumpsGetIcntl()`, ` $(_doc_external("Mat/MatMumpsGetRinfog")) """ function MatMumpsGetRinfog(petsclib::PetscLibType, F::AbstractPetscMat, icntl::Integer) - error("MatMumpsGetRinfog: no generated method for these argument types") + throw(MethodError(MatMumpsGetRinfog, (petsclib, F, icntl))) end @for_petsc function MatMumpsGetRinfog(petsclib::$UnionPetscLib, F::AbstractPetscMat, icntl::$PetscInt ) @@ -17877,7 +17877,7 @@ See also: `MATSOLVERMUMPS`, `Mat`, `MatGetFactor()`, `MatMumpsSetIcntl()`, `MatS $(_doc_external("Mat/MatMumpsSetBlk")) """ function MatMumpsSetBlk(petsclib::PetscLibType, F::AbstractPetscMat, nblk::Integer, blkvar::AbstractVector{<:Number}, blkptr::AbstractVector{<:Number}) - error("MatMumpsSetBlk: no generated method for these argument types") + throw(MethodError(MatMumpsSetBlk, (petsclib, F, nblk, blkvar, blkptr))) end @for_petsc function MatMumpsSetBlk(petsclib::$UnionPetscLib, F::AbstractPetscMat, nblk::$PetscInt, blkvar::Vector{$PetscInt}, blkptr::Vector{$PetscInt} ) @@ -17915,7 +17915,7 @@ See also: `Mat`, `MatGetFactor()`, `MatMumpsSetIcntl()`, `MatMumpsGetIcntl()`, ` $(_doc_external("Mat/MatMumpsSetCntl")) """ function MatMumpsSetCntl(petsclib::PetscLibType, F::AbstractPetscMat, icntl::Integer, val::Real) - error("MatMumpsSetCntl: no generated method for these argument types") + throw(MethodError(MatMumpsSetCntl, (petsclib, F, icntl, val))) end @for_petsc function MatMumpsSetCntl(petsclib::$UnionPetscLib, F::AbstractPetscMat, icntl::$PetscInt, val::$PetscReal ) @@ -17953,7 +17953,7 @@ See also: `Mat`, `MatGetFactor()`, `MatMumpsGetIcntl()`, `MatMumpsSetCntl()`, `M $(_doc_external("Mat/MatMumpsSetIcntl")) """ function MatMumpsSetIcntl(petsclib::PetscLibType, F::AbstractPetscMat, icntl::Integer, ival::Integer) - error("MatMumpsSetIcntl: no generated method for these argument types") + throw(MethodError(MatMumpsSetIcntl, (petsclib, F, icntl, ival))) end @for_petsc function MatMumpsSetIcntl(petsclib::$UnionPetscLib, F::AbstractPetscMat, icntl::$PetscInt, ival::$PetscInt ) @@ -17987,7 +17987,7 @@ See also: `Mat`, `MatGetFactor()`, `MatMumpsGetOocTmpDir`, `MatMumpsSetIcntl()`, $(_doc_external("Mat/MatMumpsSetOocTmpDir")) """ function MatMumpsSetOocTmpDir(petsclib::PetscLibType, F::AbstractPetscMat, tmpdir::String) - error("MatMumpsSetOocTmpDir: no generated method for these argument types") + throw(MethodError(MatMumpsSetOocTmpDir, (petsclib, F, tmpdir))) end @for_petsc function MatMumpsSetOocTmpDir(petsclib::$UnionPetscLib, F::AbstractPetscMat, tmpdir::String ) @@ -18025,7 +18025,7 @@ See also: `Mat`, `MATNEST`, `MatNestGetSubMat()`, `MatNestGetSubMats()`, `MatNes $(_doc_external("Mat/MatNestGetISs")) """ function MatNestGetISs(petsclib::PetscLibType, A::AbstractPetscMat, rows::Vector{<:AbstractIS}, cols::Vector{<:AbstractIS}) - error("MatNestGetISs: no generated method for these argument types") + throw(MethodError(MatNestGetISs, (petsclib, A, rows, cols))) end @for_petsc function MatNestGetISs(petsclib::$UnionPetscLib, A::AbstractPetscMat, rows::Vector{<:AbstractIS}, cols::Vector{<:AbstractIS} ) @@ -18063,7 +18063,7 @@ See also: `Mat`, `MATNEST`, `MatNestGetSubMat()`, `MatNestGetSubMats()`, `MatNes $(_doc_external("Mat/MatNestGetLocalISs")) """ function MatNestGetLocalISs(petsclib::PetscLibType, A::AbstractPetscMat, rows::Vector{<:AbstractIS}, cols::Vector{<:AbstractIS}) - error("MatNestGetLocalISs: no generated method for these argument types") + throw(MethodError(MatNestGetLocalISs, (petsclib, A, rows, cols))) end @for_petsc function MatNestGetLocalISs(petsclib::$UnionPetscLib, A::AbstractPetscMat, rows::Vector{<:AbstractIS}, cols::Vector{<:AbstractIS} ) @@ -18101,7 +18101,7 @@ See also: `Mat`, `MATNEST`, `MatNestGetSubMat()`, `MatNestGetSubMats()`, `MatCre $(_doc_external("Mat/MatNestGetSize")) """ function MatNestGetSize(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatNestGetSize: no generated method for these argument types") + throw(MethodError(MatNestGetSize, (petsclib, A))) end @for_petsc function MatNestGetSize(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -18144,7 +18144,7 @@ See also: `Mat`, `MATNEST`, `MatNestGetSize()`, `MatNestGetSubMats()`, `MatCreat $(_doc_external("Mat/MatNestGetSubMat")) """ function MatNestGetSubMat(petsclib::PetscLibType, A::AbstractPetscMat, idxm::Integer, jdxm::Integer) - error("MatNestGetSubMat: no generated method for these argument types") + throw(MethodError(MatNestGetSubMat, (petsclib, A, idxm, jdxm))) end @for_petsc function MatNestGetSubMat(petsclib::$UnionPetscLib, A::AbstractPetscMat, idxm::$PetscInt, jdxm::$PetscInt ) @@ -18185,7 +18185,7 @@ See also: `Mat`, `MATNEST`, `MatNestGetSize()`, `MatNestGetSubMat()`, `MatNestGe $(_doc_external("Mat/MatNestGetSubMats")) """ function MatNestGetSubMats(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatNestGetSubMats: no generated method for these argument types") + throw(MethodError(MatNestGetSubMats, (petsclib, A))) end @for_petsc function MatNestGetSubMats(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -18228,7 +18228,7 @@ See also: `Mat`, `MATNEST`, `MatNestSetSubMats()`, `MatNestGetSubMats()`, `MatNe $(_doc_external("Mat/MatNestSetSubMat")) """ function MatNestSetSubMat(petsclib::PetscLibType, A::AbstractPetscMat, idxm::Integer, jdxm::Integer, sub::AbstractPetscMat) - error("MatNestSetSubMat: no generated method for these argument types") + throw(MethodError(MatNestSetSubMat, (petsclib, A, idxm, jdxm, sub))) end @for_petsc function MatNestSetSubMat(petsclib::$UnionPetscLib, A::AbstractPetscMat, idxm::$PetscInt, jdxm::$PetscInt, sub::AbstractPetscMat ) @@ -18266,7 +18266,7 @@ See also: `Mat`, `MATNEST`, `MatCreateNest()`, `MatNestSetSubMat()`, `MatNestGet $(_doc_external("Mat/MatNestSetSubMats")) """ function MatNestSetSubMats(petsclib::PetscLibType, A::AbstractPetscMat, nr::Integer, is_row::Vector{<:AbstractIS}, nc::Integer, is_col::Vector{<:AbstractIS}, M_a::Vector{<:AbstractPetscMat}) - error("MatNestSetSubMats: no generated method for these argument types") + throw(MethodError(MatNestSetSubMats, (petsclib, A, nr, is_row, nc, is_col, M_a))) end @for_petsc function MatNestSetSubMats(petsclib::$UnionPetscLib, A::AbstractPetscMat, nr::$PetscInt, is_row::Vector{<:AbstractIS}, nc::$PetscInt, is_col::Vector{<:AbstractIS}, M_a::Vector{<:AbstractPetscMat} ) @@ -18300,7 +18300,7 @@ See also: `Mat`, `MATNEST`, `MatCreateVecs()`, `MatCreateNest()`, `VecType` $(_doc_external("Mat/MatNestSetVecType")) """ function MatNestSetVecType(petsclib::PetscLibType, A::AbstractPetscMat, vtype::String) - error("MatNestSetVecType: no generated method for these argument types") + throw(MethodError(MatNestSetVecType, (petsclib, A, vtype))) end @for_petsc function MatNestSetVecType(petsclib::$UnionPetscLib, A::AbstractPetscMat, vtype::String ) @@ -18337,7 +18337,7 @@ See also: `Mat` $(_doc_external("Mat/MatNorm")) """ function MatNorm(petsclib::PetscLibType, mat::AbstractPetscMat, type::NormType) - error("MatNorm: no generated method for these argument types") + throw(MethodError(MatNorm, (petsclib, mat, type))) end @for_petsc function MatNorm(petsclib::$UnionPetscLib, mat::AbstractPetscMat, type::NormType ) @@ -18375,7 +18375,7 @@ See also: `Mat`, `MATNORMAL`, `MATNORMALHERMITIAN`, `MatCreateNormal()` $(_doc_external("Mat/MatNormalGetMat")) """ function MatNormalGetMat(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatNormalGetMat: no generated method for these argument types") + throw(MethodError(MatNormalGetMat, (petsclib, A))) end @for_petsc function MatNormalGetMat(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -18413,7 +18413,7 @@ See also: `Mat`, `MATNORMALHERMITIAN`, `MatCreateNormalHermitian()` $(_doc_external("Mat/MatNormalHermitianGetMat")) """ function MatNormalHermitianGetMat(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatNormalHermitianGetMat: no generated method for these argument types") + throw(MethodError(MatNormalHermitianGetMat, (petsclib, A))) end @for_petsc function MatNormalHermitianGetMat(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -18449,7 +18449,7 @@ See also: `Mat`, `MatOrderingType`, `MatOrderingRegisterAll()`, `MatGetOrdering( $(_doc_external("MatGraphOperations/MatOrderingRegister")) """ function MatOrderingRegister(petsclib::PetscLibType, sname::String, fnc::external) - error("MatOrderingRegister: no generated method for these argument types") + throw(MethodError(MatOrderingRegister, (petsclib, sname, fnc))) end @for_petsc function MatOrderingRegister(petsclib::$UnionPetscLib, sname::String, fnc::external ) @@ -18488,7 +18488,7 @@ See also: `Mat`, `MatGetOrdering()`, `ISAllGather()`, `MatCreateSubMatrix()` $(_doc_external("Mat/MatPermute")) """ function MatPermute(petsclib::PetscLibType, mat::AbstractPetscMat, row::AbstractIS, col::AbstractIS) - error("MatPermute: no generated method for these argument types") + throw(MethodError(MatPermute, (petsclib, mat, row, col))) end @for_petsc function MatPermute(petsclib::$UnionPetscLib, mat::AbstractPetscMat, row::AbstractIS, col::AbstractIS ) @@ -18521,7 +18521,7 @@ See also: `MATPREALLOCATOR`, `MatXAIJSetPreallocation()` $(_doc_external("Mat/MatPreallocatorPreallocate")) """ function MatPreallocatorPreallocate(petsclib::PetscLibType, mat::AbstractPetscMat, fill::PetscBool, A::AbstractPetscMat) - error("MatPreallocatorPreallocate: no generated method for these argument types") + throw(MethodError(MatPreallocatorPreallocate, (petsclib, mat, fill, A))) end @for_petsc function MatPreallocatorPreallocate(petsclib::$UnionPetscLib, mat::AbstractPetscMat, fill::PetscBool, A::AbstractPetscMat ) @@ -18557,7 +18557,7 @@ See also: `MatProduct`, `Mat`, `MatProductCreate()` $(_doc_external("Mat/MatProductClear")) """ function MatProductClear(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatProductClear: no generated method for these argument types") + throw(MethodError(MatProductClear, (petsclib, mat))) end @for_petsc function MatProductClear(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -18609,7 +18609,7 @@ See also: `MatProduct`, `Mat`, `MatProductCreateWithMat()`, `MatProductSetType() $(_doc_external("Mat/MatProductCreate")) """ function MatProductCreate(petsclib::PetscLibType, A::AbstractPetscMat, B::AbstractPetscMat, C::Union{Ptr, AbstractPetscMat}) - error("MatProductCreate: no generated method for these argument types") + throw(MethodError(MatProductCreate, (petsclib, A, B, C))) end @for_petsc function MatProductCreate(petsclib::$UnionPetscLib, A::AbstractPetscMat, B::AbstractPetscMat, C::Union{Ptr, AbstractPetscMat} ) @@ -18648,7 +18648,7 @@ See also: `MatProduct`, `Mat`, `MatProductType`, `MatProductSetType()`, `MatProd $(_doc_external("Mat/MatProductCreateWithMat")) """ function MatProductCreateWithMat(petsclib::PetscLibType, A::AbstractPetscMat, B::AbstractPetscMat, C::Union{Ptr, AbstractPetscMat}, D::AbstractPetscMat) - error("MatProductCreateWithMat: no generated method for these argument types") + throw(MethodError(MatProductCreateWithMat, (petsclib, A, B, C, D))) end @for_petsc function MatProductCreateWithMat(petsclib::$UnionPetscLib, A::AbstractPetscMat, B::AbstractPetscMat, C::Union{Ptr, AbstractPetscMat}, D::AbstractPetscMat ) @@ -18684,7 +18684,7 @@ See also: `MatProduct`, `Mat`, `MatProductSetAlgorithm()` $(_doc_external("Mat/MatProductGetAlgorithm")) """ function MatProductGetAlgorithm(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatProductGetAlgorithm: no generated method for these argument types") + throw(MethodError(MatProductGetAlgorithm, (petsclib, mat))) end @for_petsc function MatProductGetAlgorithm(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -18724,7 +18724,7 @@ See also: `MatProduct`, `Mat`, `MatProductCreateWithMat()`, `MatProductSetType() $(_doc_external("Mat/MatProductGetMats")) """ function MatProductGetMats(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatProductGetMats: no generated method for these argument types") + throw(MethodError(MatProductGetMats, (petsclib, mat))) end @for_petsc function MatProductGetMats(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -18766,7 +18766,7 @@ See also: `MatProduct`, `Mat`, `MatProductCreateWithMat()`, `MatProductSetType() $(_doc_external("Mat/MatProductGetType")) """ function MatProductGetType(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatProductGetType: no generated method for these argument types") + throw(MethodError(MatProductGetType, (petsclib, mat))) end @for_petsc function MatProductGetType(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -18801,7 +18801,7 @@ See also: `MatProduct`, `Mat`, `MatProductSetAlgorithm()`, `MatProductSetType()` $(_doc_external("Mat/MatProductNumeric")) """ function MatProductNumeric(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatProductNumeric: no generated method for these argument types") + throw(MethodError(MatProductNumeric, (petsclib, mat))) end @for_petsc function MatProductNumeric(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -18837,7 +18837,7 @@ See also: `MatProduct`, `Mat`, `MatProductCreate()`, `MatProductSetFromOptions() $(_doc_external("Mat/MatProductReplaceMats")) """ function MatProductReplaceMats(petsclib::PetscLibType, A::Union{Ptr, AbstractPetscMat}, B::Union{Ptr, AbstractPetscMat}, C::Union{Ptr, AbstractPetscMat}, D::Union{Ptr, AbstractPetscMat}) - error("MatProductReplaceMats: no generated method for these argument types") + throw(MethodError(MatProductReplaceMats, (petsclib, A, B, C, D))) end @for_petsc function MatProductReplaceMats(petsclib::$UnionPetscLib, A::Union{Ptr, AbstractPetscMat}, B::Union{Ptr, AbstractPetscMat}, C::Union{Ptr, AbstractPetscMat}, D::Union{Ptr, AbstractPetscMat} ) @@ -18874,7 +18874,7 @@ See also: `MatProduct`, `Mat`, `MatProductClear()`, `MatProductSetType()`, `MatP $(_doc_external("Mat/MatProductSetAlgorithm")) """ function MatProductSetAlgorithm(petsclib::PetscLibType, mat::AbstractPetscMat, alg::String) - error("MatProductSetAlgorithm: no generated method for these argument types") + throw(MethodError(MatProductSetAlgorithm, (petsclib, mat, alg))) end @for_petsc function MatProductSetAlgorithm(petsclib::$UnionPetscLib, mat::AbstractPetscMat, alg::String ) @@ -18909,7 +18909,7 @@ See also: `MatProduct`, `PETSC_DETERMINE`, `Mat`, `MatProductSetFromOptions()`, $(_doc_external("Mat/MatProductSetFill")) """ function MatProductSetFill(petsclib::PetscLibType, mat::AbstractPetscMat, fill::Real) - error("MatProductSetFill: no generated method for these argument types") + throw(MethodError(MatProductSetFill, (petsclib, mat, fill))) end @for_petsc function MatProductSetFill(petsclib::$UnionPetscLib, mat::AbstractPetscMat, fill::$PetscReal ) @@ -18949,7 +18949,7 @@ See also: `MatProduct`, `Mat`, `MatSetFromOptions()`, `MatProductCreate()`, `Mat $(_doc_external("Mat/MatProductSetFromOptions")) """ function MatProductSetFromOptions(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatProductSetFromOptions: no generated method for these argument types") + throw(MethodError(MatProductSetFromOptions, (petsclib, mat))) end @for_petsc function MatProductSetFromOptions(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -18985,7 +18985,7 @@ See also: `MatProduct`, `Mat`, `MatProductCreate()`, `MatProductType`, $(_doc_external("Mat/MatProductSetType")) """ function MatProductSetType(petsclib::PetscLibType, mat::AbstractPetscMat, productype::MatProductType) - error("MatProductSetType: no generated method for these argument types") + throw(MethodError(MatProductSetType, (petsclib, mat, productype))) end @for_petsc function MatProductSetType(petsclib::$UnionPetscLib, mat::AbstractPetscMat, productype::MatProductType ) @@ -19019,7 +19019,7 @@ See also: `MatProduct`, `Mat`, `MatProductCreate()`, `MatProductCreateWithMat()` $(_doc_external("Mat/MatProductSymbolic")) """ function MatProductSymbolic(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatProductSymbolic: no generated method for these argument types") + throw(MethodError(MatProductSymbolic, (petsclib, mat))) end @for_petsc function MatProductSymbolic(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -19053,7 +19053,7 @@ See also: `MatProductType`, `Mat`, `MatProductSetFromOptions()`, `MatView()`, `M $(_doc_external("Mat/MatProductView")) """ function MatProductView(petsclib::PetscLibType, mat::AbstractPetscMat, viewer::PetscViewer) - error("MatProductView: no generated method for these argument types") + throw(MethodError(MatProductView, (petsclib, mat, viewer))) end @for_petsc function MatProductView(petsclib::$UnionPetscLib, mat::AbstractPetscMat, viewer::PetscViewer ) @@ -19087,7 +19087,7 @@ See also: `Mat`, `MatSetOption()`, `MatIsSymmetricKnown()`, `MatIsSPDKnown()`, ` $(_doc_external("Mat/MatPropagateSymmetryOptions")) """ function MatPropagateSymmetryOptions(petsclib::PetscLibType, A::AbstractPetscMat, B::AbstractPetscMat) - error("MatPropagateSymmetryOptions: no generated method for these argument types") + throw(MethodError(MatPropagateSymmetryOptions, (petsclib, A, B))) end @for_petsc function MatPropagateSymmetryOptions(petsclib::$UnionPetscLib, A::AbstractPetscMat, B::AbstractPetscMat ) @@ -19127,7 +19127,7 @@ See also: `Mat`, `MatProductCreate()`, `MatMatMult()`, `MatRARt()` $(_doc_external("Mat/MatPtAP")) """ function MatPtAP(petsclib::PetscLibType, A::AbstractPetscMat, P::AbstractPetscMat, scall::MatReuse, fill::Real) - error("MatPtAP: no generated method for these argument types") + throw(MethodError(MatPtAP, (petsclib, A, P, scall, fill))) end @for_petsc function MatPtAP(petsclib::$UnionPetscLib, A::AbstractPetscMat, P::AbstractPetscMat, scall::MatReuse, fill::$PetscReal ) @@ -19168,7 +19168,7 @@ See also: `Mat`, `MatMatMultEqual()`, `MatMultEqual()`, `MatMultAddEqual()`, `Ma $(_doc_external("Mat/MatPtAPMultEqual")) """ function MatPtAPMultEqual(petsclib::PetscLibType, A::AbstractPetscMat, B::AbstractPetscMat, C::AbstractPetscMat, n::Integer) - error("MatPtAPMultEqual: no generated method for these argument types") + throw(MethodError(MatPtAPMultEqual, (petsclib, A, B, C, n))) end @for_petsc function MatPtAPMultEqual(petsclib::$UnionPetscLib, A::AbstractPetscMat, B::AbstractPetscMat, C::AbstractPetscMat, n::$PetscInt ) @@ -19211,7 +19211,7 @@ See also: `Mat`, `MatType`, `MATPYTHON`, `MatPythonSetType()`, `PetscPythonIniti $(_doc_external("Mat/MatPythonCreate")) """ function MatPythonCreate(petsclib::PetscLibType, comm::MPI_Comm, m::Integer, n::Integer, M_M::Integer, M_N::Integer, pyname::String) - error("MatPythonCreate: no generated method for these argument types") + throw(MethodError(MatPythonCreate, (petsclib, comm, m, n, M_M, M_N, pyname))) end @for_petsc function MatPythonCreate(petsclib::$UnionPetscLib, comm::MPI_Comm, m::$PetscInt, n::$PetscInt, M_M::$PetscInt, M_N::$PetscInt, pyname::String ) @@ -19249,7 +19249,7 @@ See also: `Mat`, `MatType`, `MatCreate()`, `MatSetType()`, `MATPYTHON`, `PetscPy $(_doc_external("Mat/MatPythonGetType")) """ function MatPythonGetType(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatPythonGetType: no generated method for these argument types") + throw(MethodError(MatPythonGetType, (petsclib, mat))) end @for_petsc function MatPythonGetType(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -19288,7 +19288,7 @@ See also: `Mat`, `MatType`, `MatCreate()`, `MatSetType()`, `MATPYTHON`, `PetscPy $(_doc_external("Mat/MatPythonSetType")) """ function MatPythonSetType(petsclib::PetscLibType, mat::AbstractPetscMat, pyname::String) - error("MatPythonSetType: no generated method for these argument types") + throw(MethodError(MatPythonSetType, (petsclib, mat, pyname))) end @for_petsc function MatPythonSetType(petsclib::$UnionPetscLib, mat::AbstractPetscMat, pyname::String ) @@ -19329,7 +19329,7 @@ See also: `Mat`, Matrix Factorization, `MatFactorInfo`, `MatGetFactor()`, `MatQR $(_doc_external("Mat/MatQRFactor")) """ function MatQRFactor(petsclib::PetscLibType, mat::AbstractPetscMat, col::AbstractIS, info::Vector{MatFactorInfo}) - error("MatQRFactor: no generated method for these argument types") + throw(MethodError(MatQRFactor, (petsclib, mat, col, info))) end @for_petsc function MatQRFactor(petsclib::$UnionPetscLib, mat::AbstractPetscMat, col::AbstractIS, info::Vector{MatFactorInfo} ) @@ -19365,7 +19365,7 @@ See also: `Mat`, Matrix Factorization, `MatFactorInfo`, `MatGetFactor()`, `MatQR $(_doc_external("Mat/MatQRFactorNumeric")) """ function MatQRFactorNumeric(petsclib::PetscLibType, fact::AbstractPetscMat, mat::AbstractPetscMat, info::Vector{MatFactorInfo}) - error("MatQRFactorNumeric: no generated method for these argument types") + throw(MethodError(MatQRFactorNumeric, (petsclib, fact, mat, info))) end @for_petsc function MatQRFactorNumeric(petsclib::$UnionPetscLib, fact::AbstractPetscMat, mat::AbstractPetscMat, info::Vector{MatFactorInfo} ) @@ -19407,7 +19407,7 @@ See also: `Mat`, Matrix Factorization, `MatGetFactor()`, `MatFactorInfo`, `MatQR $(_doc_external("Mat/MatQRFactorSymbolic")) """ function MatQRFactorSymbolic(petsclib::PetscLibType, fact::AbstractPetscMat, mat::AbstractPetscMat, col::AbstractIS, info::Vector{MatFactorInfo}) - error("MatQRFactorSymbolic: no generated method for these argument types") + throw(MethodError(MatQRFactorSymbolic, (petsclib, fact, mat, col, info))) end @for_petsc function MatQRFactorSymbolic(petsclib::$UnionPetscLib, fact::AbstractPetscMat, mat::AbstractPetscMat, col::AbstractIS, info::Vector{MatFactorInfo} ) @@ -19447,7 +19447,7 @@ See also: `Mat`, `MatProductCreate()`, `MatMatMult()`, `MatPtAP()` $(_doc_external("Mat/MatRARt")) """ function MatRARt(petsclib::PetscLibType, A::AbstractPetscMat, R::AbstractPetscMat, scall::MatReuse, fill::Real) - error("MatRARt: no generated method for these argument types") + throw(MethodError(MatRARt, (petsclib, A, R, scall, fill))) end @for_petsc function MatRARt(petsclib::$UnionPetscLib, A::AbstractPetscMat, R::AbstractPetscMat, scall::MatReuse, fill::$PetscReal ) @@ -19488,7 +19488,7 @@ See also: `Mat`, `MatMatMultEqual()`, `MatMultEqual()`, `MatMultAddEqual()`, `Ma $(_doc_external("Mat/MatRARtMultEqual")) """ function MatRARtMultEqual(petsclib::PetscLibType, A::AbstractPetscMat, B::AbstractPetscMat, C::AbstractPetscMat, n::Integer) - error("MatRARtMultEqual: no generated method for these argument types") + throw(MethodError(MatRARtMultEqual, (petsclib, A, B, C, n))) end @for_petsc function MatRARtMultEqual(petsclib::$UnionPetscLib, A::AbstractPetscMat, B::AbstractPetscMat, C::AbstractPetscMat, n::$PetscInt ) @@ -19523,7 +19523,7 @@ See also: `Mat`, `MatImaginaryPart()` $(_doc_external("Mat/MatRealPart")) """ function MatRealPart(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatRealPart: no generated method for these argument types") + throw(MethodError(MatRealPart, (petsclib, mat))) end @for_petsc function MatRealPart(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -19557,7 +19557,7 @@ See also: `Mat`, `MatType`, `MatSetType()`, `MatRegisterAll()` $(_doc_external("Mat/MatRegister")) """ function MatRegister(petsclib::PetscLibType, sname::String, fnc::external) - error("MatRegister: no generated method for these argument types") + throw(MethodError(MatRegister, (petsclib, sname, fnc))) end @for_petsc function MatRegister(petsclib::$UnionPetscLib, sname::String, fnc::external ) @@ -19590,7 +19590,7 @@ See also: `Mat`, `MatType`, `PetscObjectBaseTypeCompare()` $(_doc_external("Mat/MatRegisterRootName")) """ function MatRegisterRootName(petsclib::PetscLibType, rname::String, sname::String, mname::String) - error("MatRegisterRootName: no generated method for these argument types") + throw(MethodError(MatRegisterRootName, (petsclib, rname, sname, mname))) end @for_petsc function MatRegisterRootName(petsclib::$UnionPetscLib, rname::String, sname::String, mname::String ) @@ -19631,7 +19631,7 @@ See also: `Mat`, `MatGetFactor()`, `MatGetOrdering()` $(_doc_external("Mat/MatReorderForNonzeroDiagonal")) """ function MatReorderForNonzeroDiagonal(petsclib::PetscLibType, mat::AbstractPetscMat, abstol::Real, ris::AbstractIS, cis::AbstractIS) - error("MatReorderForNonzeroDiagonal: no generated method for these argument types") + throw(MethodError(MatReorderForNonzeroDiagonal, (petsclib, mat, abstol, ris, cis))) end @for_petsc function MatReorderForNonzeroDiagonal(petsclib::$UnionPetscLib, mat::AbstractPetscMat, abstol::$PetscReal, ris::AbstractIS, cis::AbstractIS ) @@ -19665,7 +19665,7 @@ See also: `Mat`, `MATSEQSBAIJ`, `MatGetOrdering()`, `MatPermute()` $(_doc_external("Mat/MatReorderingSeqSBAIJ")) """ function MatReorderingSeqSBAIJ(petsclib::PetscLibType, A::AbstractPetscMat, perm::AbstractIS) - error("MatReorderingSeqSBAIJ: no generated method for these argument types") + throw(MethodError(MatReorderingSeqSBAIJ, (petsclib, A, perm))) end @for_petsc function MatReorderingSeqSBAIJ(petsclib::$UnionPetscLib, A::AbstractPetscMat, perm::AbstractIS ) @@ -19698,7 +19698,7 @@ See also: `Mat`, `MatResetPreallocation()` $(_doc_external("Mat/MatResetHash")) """ function MatResetHash(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatResetHash: no generated method for these argument types") + throw(MethodError(MatResetHash, (petsclib, A))) end @for_petsc function MatResetHash(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -19731,7 +19731,7 @@ See also: `Mat`, `MatSeqAIJSetPreallocation()`, `MatMPIAIJSetPreallocation()`, ` $(_doc_external("Mat/MatResetPreallocation")) """ function MatResetPreallocation(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatResetPreallocation: no generated method for these argument types") + throw(MethodError(MatResetPreallocation, (petsclib, A))) end @for_petsc function MatResetPreallocation(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -19769,7 +19769,7 @@ See also: `Mat`, `MatMult()`, `MatMultAdd()`, `PCMGSetResidual()` $(_doc_external("Mat/MatResidual")) """ function MatResidual(petsclib::PetscLibType, mat::AbstractPetscMat, b::AbstractPetscVec, x::AbstractPetscVec, r::AbstractPetscVec) - error("MatResidual: no generated method for these argument types") + throw(MethodError(MatResidual, (petsclib, mat, b, x, r))) end @for_petsc function MatResidual(petsclib::$UnionPetscLib, mat::AbstractPetscMat, b::AbstractPetscVec, x::AbstractPetscVec, r::AbstractPetscVec ) @@ -19852,7 +19852,7 @@ See also: `Mat`, `MatGetLocalSubMatrix()` $(_doc_external("Mat/MatRestoreLocalSubMatrix")) """ function MatRestoreLocalSubMatrix(petsclib::PetscLibType, mat::AbstractPetscMat, isrow::AbstractIS, iscol::AbstractIS, submat::AbstractPetscMat) - error("MatRestoreLocalSubMatrix: no generated method for these argument types") + throw(MethodError(MatRestoreLocalSubMatrix, (petsclib, mat, isrow, iscol, submat))) end @for_petsc function MatRestoreLocalSubMatrix(petsclib::$UnionPetscLib, mat::AbstractPetscMat, isrow::AbstractIS, iscol::AbstractIS, submat::AbstractPetscMat ) @@ -19890,7 +19890,7 @@ See also: `Mat`, `MatCreate()`, `MatNullSpaceCreate()`, `MatSetNearNullSpace()`, $(_doc_external("Mat/MatRestoreNullSpaces")) """ function MatRestoreNullSpaces(petsclib::PetscLibType, n::Integer, mat::Vector{<:AbstractPetscMat}, nullsp::Union{Ptr, AbstractArray{MatNullSpace}}) - error("MatRestoreNullSpaces: no generated method for these argument types") + throw(MethodError(MatRestoreNullSpaces, (petsclib, n, mat, nullsp))) end @for_petsc function MatRestoreNullSpaces(petsclib::$UnionPetscLib, n::$PetscInt, mat::Vector{<:AbstractPetscMat}, nullsp::Union{Ptr, AbstractArray{MatNullSpace}} ) @@ -19928,7 +19928,7 @@ See also: `Mat`, `MatGetRow()` $(_doc_external("Mat/MatRestoreRow")) """ function MatRestoreRow(petsclib::PetscLibType, mat::AbstractPetscMat, row::Integer, ncols::Integer, cols::Union{Ptr, AbstractArray{<:Number}}, vals::Union{Ptr, AbstractArray{<:Number}}) - error("MatRestoreRow: no generated method for these argument types") + throw(MethodError(MatRestoreRow, (petsclib, mat, row, ncols, cols, vals))) end @for_petsc function MatRestoreRow(petsclib::$UnionPetscLib, mat::AbstractPetscMat, row::$PetscInt, ncols::$PetscInt, cols::Union{Ptr, AbstractArray{$PetscInt}}, vals::Union{Ptr, AbstractArray{$PetscScalar}} ) @@ -20011,7 +20011,7 @@ See also: `Mat`, `MATSBAIJ`, `MatGetRowUpperTriangular()` $(_doc_external("Mat/MatRestoreRowUpperTriangular")) """ function MatRestoreRowUpperTriangular(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatRestoreRowUpperTriangular: no generated method for these argument types") + throw(MethodError(MatRestoreRowUpperTriangular, (petsclib, mat))) end @for_petsc function MatRestoreRowUpperTriangular(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -20048,7 +20048,7 @@ See also: `Mat`, `MatMultAdd()`, `MatMultTransposeAdd()`, `MatInterpolate()`, `P $(_doc_external("Mat/MatRestrict")) """ function MatRestrict(petsclib::PetscLibType, A::AbstractPetscMat, x::AbstractPetscVec, y::AbstractPetscVec) - error("MatRestrict: no generated method for these argument types") + throw(MethodError(MatRestrict, (petsclib, A, x, y))) end @for_petsc function MatRestrict(petsclib::$UnionPetscLib, A::AbstractPetscMat, x::AbstractPetscVec, y::AbstractPetscVec ) @@ -20081,7 +20081,7 @@ See also: `Mat`, `MatStoreValues()` $(_doc_external("Mat/MatRetrieveValues")) """ function MatRetrieveValues(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatRetrieveValues: no generated method for these argument types") + throw(MethodError(MatRetrieveValues, (petsclib, mat))) end @for_petsc function MatRetrieveValues(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -20119,7 +20119,7 @@ See also: `Mat`, `SNES`, `MatSNESMFSetReuseBase()`, `MatCreateSNESMF()` $(_doc_external("SNES/MatSNESMFGetReuseBase")) """ function MatSNESMFGetReuseBase(petsclib::PetscLibType, J::AbstractPetscMat) - error("MatSNESMFGetReuseBase: no generated method for these argument types") + throw(MethodError(MatSNESMFGetReuseBase, (petsclib, J))) end @for_petsc function MatSNESMFGetReuseBase(petsclib::$UnionPetscLib, J::AbstractPetscMat ) @@ -20157,7 +20157,7 @@ See also: `Mat`, `SNES`, `MatCreateSNESMF()` $(_doc_external("SNES/MatSNESMFGetSNES")) """ function MatSNESMFGetSNES(petsclib::PetscLibType, J::AbstractPetscMat) - error("MatSNESMFGetSNES: no generated method for these argument types") + throw(MethodError(MatSNESMFGetSNES, (petsclib, J))) end @for_petsc function MatSNESMFGetSNES(petsclib::$UnionPetscLib, J::AbstractPetscMat ) @@ -20201,7 +20201,7 @@ See also: `SNES`, `MatCreateSNESMF()`, `MatCreateSNESMFMore()` $(_doc_external("SNES/MatSNESMFMoreSetParameters")) """ function MatSNESMFMoreSetParameters(petsclib::PetscLibType, mat::AbstractPetscMat, error::Real, umin::Real, h::Real) - error("MatSNESMFMoreSetParameters: no generated method for these argument types") + throw(MethodError(MatSNESMFMoreSetParameters, (petsclib, mat, error, umin, h))) end @for_petsc function MatSNESMFMoreSetParameters(petsclib::$UnionPetscLib, mat::AbstractPetscMat, error::$PetscReal, umin::$PetscReal, h::$PetscReal ) @@ -20237,7 +20237,7 @@ See also: `SNES`, `MATMFFD`, `MatMFFDSetFunction()`, `SNESSetFunction()`, `MatCr $(_doc_external("SNES/MatSNESMFSetReuseBase")) """ function MatSNESMFSetReuseBase(petsclib::PetscLibType, J::AbstractPetscMat, use::PetscBool) - error("MatSNESMFSetReuseBase: no generated method for these argument types") + throw(MethodError(MatSNESMFSetReuseBase, (petsclib, J, use))) end @for_petsc function MatSNESMFSetReuseBase(petsclib::$UnionPetscLib, J::AbstractPetscMat, use::PetscBool ) @@ -20290,7 +20290,7 @@ See also: `Mat`, `MatMult()`, `KSP`, `PC`, `MatGetFactor()` $(_doc_external("Mat/MatSOR")) """ function MatSOR(petsclib::PetscLibType, mat::AbstractPetscMat, b::AbstractPetscVec, omega::Real, flag::MatSORType, shift::Real, its::Integer, lits::Integer, x::AbstractPetscVec) - error("MatSOR: no generated method for these argument types") + throw(MethodError(MatSOR, (petsclib, mat, b, omega, flag, shift, its, lits, x))) end @for_petsc function MatSOR(petsclib::$UnionPetscLib, mat::AbstractPetscMat, b::AbstractPetscVec, omega::$PetscReal, flag::MatSORType, shift::$PetscReal, its::$PetscInt, lits::$PetscInt, x::AbstractPetscVec ) @@ -20327,7 +20327,7 @@ See also: `MATSOLVERSTRUMPACK`, `MatSTRUMPACKSetReordering()`, `Mat`, `MatGetFac $(_doc_external("Mat/MatSTRUMPACKGetColPerm")) """ function MatSTRUMPACKGetColPerm(petsclib::PetscLibType, F::AbstractPetscMat) - error("MatSTRUMPACKGetColPerm: no generated method for these argument types") + throw(MethodError(MatSTRUMPACKGetColPerm, (petsclib, F))) end @for_petsc function MatSTRUMPACKGetColPerm(petsclib::$UnionPetscLib, F::AbstractPetscMat ) @@ -20365,7 +20365,7 @@ See also: `MATSOLVERSTRUMPACK`, `Mat`, `MatGetFactor()`, `MatSTRUMPACKSetCompAbs $(_doc_external("Mat/MatSTRUMPACKGetCompAbsTol")) """ function MatSTRUMPACKGetCompAbsTol(petsclib::PetscLibType, F::AbstractPetscMat) - error("MatSTRUMPACKGetCompAbsTol: no generated method for these argument types") + throw(MethodError(MatSTRUMPACKGetCompAbsTol, (petsclib, F))) end @for_petsc function MatSTRUMPACKGetCompAbsTol(petsclib::$UnionPetscLib, F::AbstractPetscMat ) @@ -20404,7 +20404,7 @@ See also: `MATSOLVERSTRUMPACK`, `MatGetFactor()`, `MatSTRUMPACKSetCompButterflyL $(_doc_external("Mat/MatSTRUMPACKGetCompButterflyLevels")) """ function MatSTRUMPACKGetCompButterflyLevels(petsclib::PetscLibType, F::AbstractPetscMat) - error("MatSTRUMPACKGetCompButterflyLevels: no generated method for these argument types") + throw(MethodError(MatSTRUMPACKGetCompButterflyLevels, (petsclib, F))) end @for_petsc function MatSTRUMPACKGetCompButterflyLevels(petsclib::$UnionPetscLib, F::AbstractPetscMat ) @@ -20442,7 +20442,7 @@ See also: `MATSOLVERSTRUMPACK`, `Mat`, `MatGetFactor()`, `MatSTRUMPACKSetCompLea $(_doc_external("Mat/MatSTRUMPACKGetCompLeafSize")) """ function MatSTRUMPACKGetCompLeafSize(petsclib::PetscLibType, F::AbstractPetscMat) - error("MatSTRUMPACKGetCompLeafSize: no generated method for these argument types") + throw(MethodError(MatSTRUMPACKGetCompLeafSize, (petsclib, F))) end @for_petsc function MatSTRUMPACKGetCompLeafSize(petsclib::$UnionPetscLib, F::AbstractPetscMat ) @@ -20480,7 +20480,7 @@ See also: `MATSOLVERSTRUMPACK`, `MatGetFactor()`, `MatSTRUMPACKSetCompLossyPreci $(_doc_external("Mat/MatSTRUMPACKGetCompLossyPrecision")) """ function MatSTRUMPACKGetCompLossyPrecision(petsclib::PetscLibType, F::AbstractPetscMat) - error("MatSTRUMPACKGetCompLossyPrecision: no generated method for these argument types") + throw(MethodError(MatSTRUMPACKGetCompLossyPrecision, (petsclib, F))) end @for_petsc function MatSTRUMPACKGetCompLossyPrecision(petsclib::$UnionPetscLib, F::AbstractPetscMat ) @@ -20518,7 +20518,7 @@ See also: `MATSOLVERSTRUMPACK`, `MatGetFactor()`, `MatSTRUMPACKSetCompMinSepSize $(_doc_external("Mat/MatSTRUMPACKGetCompMinSepSize")) """ function MatSTRUMPACKGetCompMinSepSize(petsclib::PetscLibType, F::AbstractPetscMat) - error("MatSTRUMPACKGetCompMinSepSize: no generated method for these argument types") + throw(MethodError(MatSTRUMPACKGetCompMinSepSize, (petsclib, F))) end @for_petsc function MatSTRUMPACKGetCompMinSepSize(petsclib::$UnionPetscLib, F::AbstractPetscMat ) @@ -20556,7 +20556,7 @@ See also: `MATSOLVERSTRUMPACK`, `Mat`, `MatGetFactor()`, `MatSTRUMPACKSetCompRel $(_doc_external("Mat/MatSTRUMPACKGetCompRelTol")) """ function MatSTRUMPACKGetCompRelTol(petsclib::PetscLibType, F::AbstractPetscMat) - error("MatSTRUMPACKGetCompRelTol: no generated method for these argument types") + throw(MethodError(MatSTRUMPACKGetCompRelTol, (petsclib, F))) end @for_petsc function MatSTRUMPACKGetCompRelTol(petsclib::$UnionPetscLib, F::AbstractPetscMat ) @@ -20592,7 +20592,7 @@ See also: `MATSOLVERSTRUMPACK`, `MatGetFactor()`, `MatSTRUMPACKCompressionType`, $(_doc_external("Mat/MatSTRUMPACKGetCompression")) """ function MatSTRUMPACKGetCompression(petsclib::PetscLibType, F::AbstractPetscMat) - error("MatSTRUMPACKGetCompression: no generated method for these argument types") + throw(MethodError(MatSTRUMPACKGetCompression, (petsclib, F))) end @for_petsc function MatSTRUMPACKGetCompression(petsclib::$UnionPetscLib, F::AbstractPetscMat ) @@ -20631,7 +20631,7 @@ See also: `MATSOLVERSTRUMPACK`, `MatGetFactor()`, `MatSTRUMPACKSetGPU()` $(_doc_external("Mat/MatSTRUMPACKGetGPU")) """ function MatSTRUMPACKGetGPU(petsclib::PetscLibType, F::AbstractPetscMat) - error("MatSTRUMPACKGetGPU: no generated method for these argument types") + throw(MethodError(MatSTRUMPACKGetGPU, (petsclib, F))) end @for_petsc function MatSTRUMPACKGetGPU(petsclib::$UnionPetscLib, F::AbstractPetscMat ) @@ -20669,7 +20669,7 @@ See also: `MATSOLVERSTRUMPACK`, `Mat`, `MatSTRUMPACKReordering`, `MatGetFactor() $(_doc_external("Mat/MatSTRUMPACKGetReordering")) """ function MatSTRUMPACKGetReordering(petsclib::PetscLibType, F::AbstractPetscMat) - error("MatSTRUMPACKGetReordering: no generated method for these argument types") + throw(MethodError(MatSTRUMPACKGetReordering, (petsclib, F))) end @for_petsc function MatSTRUMPACKGetReordering(petsclib::$UnionPetscLib, F::AbstractPetscMat ) @@ -20709,7 +20709,7 @@ See also: `MATSOLVERSTRUMPACK`, `MatSTRUMPACKSetReordering()`, `Mat`, `MatGetFac $(_doc_external("Mat/MatSTRUMPACKSetColPerm")) """ function MatSTRUMPACKSetColPerm(petsclib::PetscLibType, F::AbstractPetscMat, cperm::PetscBool) - error("MatSTRUMPACKSetColPerm: no generated method for these argument types") + throw(MethodError(MatSTRUMPACKSetColPerm, (petsclib, F, cperm))) end @for_petsc function MatSTRUMPACKSetColPerm(petsclib::$UnionPetscLib, F::AbstractPetscMat, cperm::PetscBool ) @@ -20746,7 +20746,7 @@ See also: `MATSOLVERSTRUMPACK`, `Mat`, `MatGetFactor()`, `MatSTRUMPACKGetCompAbs $(_doc_external("Mat/MatSTRUMPACKSetCompAbsTol")) """ function MatSTRUMPACKSetCompAbsTol(petsclib::PetscLibType, F::AbstractPetscMat, atol::Real) - error("MatSTRUMPACKSetCompAbsTol: no generated method for these argument types") + throw(MethodError(MatSTRUMPACKSetCompAbsTol, (petsclib, F, atol))) end @for_petsc function MatSTRUMPACKSetCompAbsTol(petsclib::$UnionPetscLib, F::AbstractPetscMat, atol::$PetscReal ) @@ -20785,7 +20785,7 @@ See also: `MATSOLVERSTRUMPACK`, `MatGetFactor()`, `MatSTRUMPACKGetCompButterflyL $(_doc_external("Mat/MatSTRUMPACKSetCompButterflyLevels")) """ function MatSTRUMPACKSetCompButterflyLevels(petsclib::PetscLibType, F::AbstractPetscMat, bfly_lvls::Integer) - error("MatSTRUMPACKSetCompButterflyLevels: no generated method for these argument types") + throw(MethodError(MatSTRUMPACKSetCompButterflyLevels, (petsclib, F, bfly_lvls))) end @for_petsc function MatSTRUMPACKSetCompButterflyLevels(petsclib::$UnionPetscLib, F::AbstractPetscMat, bfly_lvls::$PetscInt ) @@ -20822,7 +20822,7 @@ See also: `MATSOLVERSTRUMPACK`, `Mat`, `MatGetFactor()`, `MatSTRUMPACKGetCompLea $(_doc_external("Mat/MatSTRUMPACKSetCompLeafSize")) """ function MatSTRUMPACKSetCompLeafSize(petsclib::PetscLibType, F::AbstractPetscMat, leaf_size::Integer) - error("MatSTRUMPACKSetCompLeafSize: no generated method for these argument types") + throw(MethodError(MatSTRUMPACKSetCompLeafSize, (petsclib, F, leaf_size))) end @for_petsc function MatSTRUMPACKSetCompLeafSize(petsclib::$UnionPetscLib, F::AbstractPetscMat, leaf_size::$PetscInt ) @@ -20859,7 +20859,7 @@ See also: `MATSOLVERSTRUMPACK`, `MatGetFactor()`, `MatSTRUMPACKGetCompLossyPreci $(_doc_external("Mat/MatSTRUMPACKSetCompLossyPrecision")) """ function MatSTRUMPACKSetCompLossyPrecision(petsclib::PetscLibType, F::AbstractPetscMat, lossy_prec::Integer) - error("MatSTRUMPACKSetCompLossyPrecision: no generated method for these argument types") + throw(MethodError(MatSTRUMPACKSetCompLossyPrecision, (petsclib, F, lossy_prec))) end @for_petsc function MatSTRUMPACKSetCompLossyPrecision(petsclib::$UnionPetscLib, F::AbstractPetscMat, lossy_prec::$PetscInt ) @@ -20896,7 +20896,7 @@ See also: `MATSOLVERSTRUMPACK`, `MatGetFactor()`, `MatSTRUMPACKGetCompMinSepSize $(_doc_external("Mat/MatSTRUMPACKSetCompMinSepSize")) """ function MatSTRUMPACKSetCompMinSepSize(petsclib::PetscLibType, F::AbstractPetscMat, min_sep_size::Integer) - error("MatSTRUMPACKSetCompMinSepSize: no generated method for these argument types") + throw(MethodError(MatSTRUMPACKSetCompMinSepSize, (petsclib, F, min_sep_size))) end @for_petsc function MatSTRUMPACKSetCompMinSepSize(petsclib::$UnionPetscLib, F::AbstractPetscMat, min_sep_size::$PetscInt ) @@ -20933,7 +20933,7 @@ See also: `MATSOLVERSTRUMPACK`, `Mat`, `MatGetFactor()`, `MatSTRUMPACKGetCompRel $(_doc_external("Mat/MatSTRUMPACKSetCompRelTol")) """ function MatSTRUMPACKSetCompRelTol(petsclib::PetscLibType, F::AbstractPetscMat, rtol::Real) - error("MatSTRUMPACKSetCompRelTol: no generated method for these argument types") + throw(MethodError(MatSTRUMPACKSetCompRelTol, (petsclib, F, rtol))) end @for_petsc function MatSTRUMPACKSetCompRelTol(petsclib::$UnionPetscLib, F::AbstractPetscMat, rtol::$PetscReal ) @@ -20968,7 +20968,7 @@ See also: `MATSOLVERSTRUMPACK`, `MatGetFactor()`, `MatSTRUMPACKCompressionType`, $(_doc_external("Mat/MatSTRUMPACKSetCompression")) """ function MatSTRUMPACKSetCompression(petsclib::PetscLibType, F::AbstractPetscMat, comp::MatSTRUMPACKCompressionType) - error("MatSTRUMPACKSetCompression: no generated method for these argument types") + throw(MethodError(MatSTRUMPACKSetCompression, (petsclib, F, comp))) end @for_petsc function MatSTRUMPACKSetCompression(petsclib::$UnionPetscLib, F::AbstractPetscMat, comp::MatSTRUMPACKCompressionType ) @@ -21006,7 +21006,7 @@ See also: `MATSOLVERSTRUMPACK`, `MatGetFactor()`, `MatSTRUMPACKGetGPU()` $(_doc_external("Mat/MatSTRUMPACKSetGPU")) """ function MatSTRUMPACKSetGPU(petsclib::PetscLibType, F::AbstractPetscMat, gpu::PetscBool) - error("MatSTRUMPACKSetGPU: no generated method for these argument types") + throw(MethodError(MatSTRUMPACKSetGPU, (petsclib, F, gpu))) end @for_petsc function MatSTRUMPACKSetGPU(petsclib::$UnionPetscLib, F::AbstractPetscMat, gpu::PetscBool ) @@ -21044,7 +21044,7 @@ See also: `MATSOLVERSTRUMPACK`, `MatGetFactor()` $(_doc_external("Mat/MatSTRUMPACKSetGeometricComponents")) """ function MatSTRUMPACKSetGeometricComponents(petsclib::PetscLibType, F::AbstractPetscMat, nc::Integer) - error("MatSTRUMPACKSetGeometricComponents: no generated method for these argument types") + throw(MethodError(MatSTRUMPACKSetGeometricComponents, (petsclib, F, nc))) end @for_petsc function MatSTRUMPACKSetGeometricComponents(petsclib::$UnionPetscLib, F::AbstractPetscMat, nc::$PetscInt ) @@ -21080,7 +21080,7 @@ See also: `MATSOLVERSTRUMPACK`, `MatGetFactor()` $(_doc_external("Mat/MatSTRUMPACKSetGeometricNxyz")) """ function MatSTRUMPACKSetGeometricNxyz(petsclib::PetscLibType, F::AbstractPetscMat, nx::Integer, ny::Integer, nz::Integer) - error("MatSTRUMPACKSetGeometricNxyz: no generated method for these argument types") + throw(MethodError(MatSTRUMPACKSetGeometricNxyz, (petsclib, F, nx, ny, nz))) end @for_petsc function MatSTRUMPACKSetGeometricNxyz(petsclib::$UnionPetscLib, F::AbstractPetscMat, nx::$PetscInt, ny::$PetscInt, nz::$PetscInt ) @@ -21117,7 +21117,7 @@ See also: `MATSOLVERSTRUMPACK`, `MatGetFactor()` $(_doc_external("Mat/MatSTRUMPACKSetGeometricWidth")) """ function MatSTRUMPACKSetGeometricWidth(petsclib::PetscLibType, F::AbstractPetscMat, w::Integer) - error("MatSTRUMPACKSetGeometricWidth: no generated method for these argument types") + throw(MethodError(MatSTRUMPACKSetGeometricWidth, (petsclib, F, w))) end @for_petsc function MatSTRUMPACKSetGeometricWidth(petsclib::$UnionPetscLib, F::AbstractPetscMat, w::$PetscInt ) @@ -21154,7 +21154,7 @@ See also: `MATSOLVERSTRUMPACK`, `Mat`, `MatSTRUMPACKReordering`, `MatGetFactor() $(_doc_external("Mat/MatSTRUMPACKSetReordering")) """ function MatSTRUMPACKSetReordering(petsclib::PetscLibType, F::AbstractPetscMat, reordering::MatSTRUMPACKReordering) - error("MatSTRUMPACKSetReordering: no generated method for these argument types") + throw(MethodError(MatSTRUMPACKSetReordering, (petsclib, F, reordering))) end @for_petsc function MatSTRUMPACKSetReordering(petsclib::$UnionPetscLib, F::AbstractPetscMat, reordering::MatSTRUMPACKReordering ) @@ -21192,7 +21192,7 @@ See also: `Mat`, `MATSCALAPACK`, `MatCreateScaLAPACK()`, `MatScaLAPACKSetBlockSi $(_doc_external("Mat/MatScaLAPACKGetBlockSizes")) """ function MatScaLAPACKGetBlockSizes(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatScaLAPACKGetBlockSizes: no generated method for these argument types") + throw(MethodError(MatScaLAPACKGetBlockSizes, (petsclib, A))) end @for_petsc function MatScaLAPACKGetBlockSizes(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -21232,7 +21232,7 @@ See also: `Mat`, `MATSCALAPACK`, `MatCreateScaLAPACK()`, `MatScaLAPACKGetBlockSi $(_doc_external("Mat/MatScaLAPACKSetBlockSizes")) """ function MatScaLAPACKSetBlockSizes(petsclib::PetscLibType, A::AbstractPetscMat, mb::Integer, nb::Integer) - error("MatScaLAPACKSetBlockSizes: no generated method for these argument types") + throw(MethodError(MatScaLAPACKSetBlockSizes, (petsclib, A, mb, nb))) end @for_petsc function MatScaLAPACKSetBlockSizes(petsclib::$UnionPetscLib, A::AbstractPetscMat, mb::$PetscInt, nb::$PetscInt ) @@ -21266,7 +21266,7 @@ See also: `Mat`, `MatDiagonalScale()` $(_doc_external("Mat/MatScale")) """ function MatScale(petsclib::PetscLibType, mat::AbstractPetscMat, a::Number) - error("MatScale: no generated method for these argument types") + throw(MethodError(MatScale, (petsclib, mat, a))) end @for_petsc function MatScale(petsclib::$UnionPetscLib, mat::AbstractPetscMat, a::$PetscScalar ) @@ -21302,7 +21302,7 @@ See also: `Mat`, `MATSCATTER`, `MatCreateScatter()`, `MatScatterSetVecScatter()` $(_doc_external("Mat/MatScatterGetVecScatter")) """ function MatScatterGetVecScatter(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatScatterGetVecScatter: no generated method for these argument types") + throw(MethodError(MatScatterGetVecScatter, (petsclib, mat))) end @for_petsc function MatScatterGetVecScatter(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -21338,7 +21338,7 @@ See also: `Mat`, `MATSCATTER`, `MatCreateScatter()` $(_doc_external("Mat/MatScatterSetVecScatter")) """ function MatScatterSetVecScatter(petsclib::PetscLibType, mat::AbstractPetscMat, scatter::VecScatter) - error("MatScatterSetVecScatter: no generated method for these argument types") + throw(MethodError(MatScatterSetVecScatter, (petsclib, mat, scatter))) end @for_petsc function MatScatterSetVecScatter(petsclib::$UnionPetscLib, mat::AbstractPetscMat, scatter::VecScatter ) @@ -21374,7 +21374,7 @@ See also: `MatCreateSchurComplement()`, `MatSchurComplementUpdateSubMatrices()`, $(_doc_external("KSP/MatSchurComplementComputeExplicitOperator")) """ function MatSchurComplementComputeExplicitOperator(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatSchurComplementComputeExplicitOperator: no generated method for these argument types") + throw(MethodError(MatSchurComplementComputeExplicitOperator, (petsclib, A))) end @for_petsc function MatSchurComplementComputeExplicitOperator(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -21413,7 +21413,7 @@ See also: `MatSchurComplementAinvType`, `MatCreateSchurComplement()`, `MatGetSch $(_doc_external("KSP/MatSchurComplementGetAinvType")) """ function MatSchurComplementGetAinvType(petsclib::PetscLibType, S::AbstractPetscMat) - error("MatSchurComplementGetAinvType: no generated method for these argument types") + throw(MethodError(MatSchurComplementGetAinvType, (petsclib, S))) end @for_petsc function MatSchurComplementGetAinvType(petsclib::$UnionPetscLib, S::AbstractPetscMat ) @@ -21451,7 +21451,7 @@ See also: `Mat`, `MatSchurComplementSetKSP()`, `MatCreateSchurComplement()`, `Ma $(_doc_external("KSP/MatSchurComplementGetKSP")) """ function MatSchurComplementGetKSP(petsclib::PetscLibType, S::AbstractPetscMat) - error("MatSchurComplementGetKSP: no generated method for these argument types") + throw(MethodError(MatSchurComplementGetKSP, (petsclib, S))) end @for_petsc function MatSchurComplementGetKSP(petsclib::$UnionPetscLib, S::AbstractPetscMat ) @@ -21490,7 +21490,7 @@ See also: `MatCreateSubMatrix()`, `PCFIELDSPLIT`, `MatGetSchurComplement()`, `Ma $(_doc_external("KSP/MatSchurComplementGetPmat")) """ function MatSchurComplementGetPmat(petsclib::PetscLibType, S::AbstractPetscMat, preuse::MatReuse) - error("MatSchurComplementGetPmat: no generated method for these argument types") + throw(MethodError(MatSchurComplementGetPmat, (petsclib, S, preuse))) end @for_petsc function MatSchurComplementGetPmat(petsclib::$UnionPetscLib, S::AbstractPetscMat, preuse::MatReuse ) @@ -21532,7 +21532,7 @@ See also: `MatCreateNormal()`, `MatMult()`, `MatCreate()`, `MatSchurComplementGe $(_doc_external("KSP/MatSchurComplementGetSubMatrices")) """ function MatSchurComplementGetSubMatrices(petsclib::PetscLibType, S::AbstractPetscMat) - error("MatSchurComplementGetSubMatrices: no generated method for these argument types") + throw(MethodError(MatSchurComplementGetSubMatrices, (petsclib, S))) end @for_petsc function MatSchurComplementGetSubMatrices(petsclib::$UnionPetscLib, S::AbstractPetscMat ) @@ -21580,7 +21580,7 @@ See also: `MatSchurComplementAinvType`, `MatCreateSchurComplement()`, `MatGetSch $(_doc_external("KSP/MatSchurComplementSetAinvType")) """ function MatSchurComplementSetAinvType(petsclib::PetscLibType, S::AbstractPetscMat, ainvtype::MatSchurComplementAinvType) - error("MatSchurComplementSetAinvType: no generated method for these argument types") + throw(MethodError(MatSchurComplementSetAinvType, (petsclib, S, ainvtype))) end @for_petsc function MatSchurComplementSetAinvType(petsclib::$UnionPetscLib, S::AbstractPetscMat, ainvtype::MatSchurComplementAinvType ) @@ -21614,7 +21614,7 @@ See also: `Mat`, `MatSchurComplementGetKSP()`, `MatCreateSchurComplement()`, `Ma $(_doc_external("KSP/MatSchurComplementSetKSP")) """ function MatSchurComplementSetKSP(petsclib::PetscLibType, S::AbstractPetscMat, ksp::AbstractKSP) - error("MatSchurComplementSetKSP: no generated method for these argument types") + throw(MethodError(MatSchurComplementSetKSP, (petsclib, S, ksp))) end @for_petsc function MatSchurComplementSetKSP(petsclib::$UnionPetscLib, S::AbstractPetscMat, ksp::AbstractKSP ) @@ -21652,7 +21652,7 @@ See also: `Mat`, `MatCreateNormal()`, `MatMult()`, `MatCreate()`, `MatSchurCompl $(_doc_external("KSP/MatSchurComplementSetSubMatrices")) """ function MatSchurComplementSetSubMatrices(petsclib::PetscLibType, S::AbstractPetscMat, A00::AbstractPetscMat, Ap00::AbstractPetscMat, A01::AbstractPetscMat, A10::AbstractPetscMat, A11::AbstractPetscMat) - error("MatSchurComplementSetSubMatrices: no generated method for these argument types") + throw(MethodError(MatSchurComplementSetSubMatrices, (petsclib, S, A00, Ap00, A01, A10, A11))) end @for_petsc function MatSchurComplementSetSubMatrices(petsclib::$UnionPetscLib, S::AbstractPetscMat, A00::AbstractPetscMat, Ap00::AbstractPetscMat, A01::AbstractPetscMat, A10::AbstractPetscMat, A11::AbstractPetscMat ) @@ -21690,7 +21690,7 @@ See also: `Mat`, `MatCreateNormal()`, `MatMult()`, `MatCreate()`, `MatSchurCompl $(_doc_external("KSP/MatSchurComplementUpdateSubMatrices")) """ function MatSchurComplementUpdateSubMatrices(petsclib::PetscLibType, S::AbstractPetscMat, A00::AbstractPetscMat, Ap00::AbstractPetscMat, A01::AbstractPetscMat, A10::AbstractPetscMat, A11::AbstractPetscMat) - error("MatSchurComplementUpdateSubMatrices: no generated method for these argument types") + throw(MethodError(MatSchurComplementUpdateSubMatrices, (petsclib, S, A00, Ap00, A01, A10, A11))) end @for_petsc function MatSchurComplementUpdateSubMatrices(petsclib::$UnionPetscLib, S::AbstractPetscMat, A00::AbstractPetscMat, Ap00::AbstractPetscMat, A01::AbstractPetscMat, A10::AbstractPetscMat, A11::AbstractPetscMat ) @@ -21725,7 +21725,7 @@ See also: `Mat`, `MatSetVariableBlockSizes()`, `MatComputeVariableBlockEnvelope( $(_doc_external("Mat/MatSelectVariableBlockSizes")) """ function MatSelectVariableBlockSizes(petsclib::PetscLibType, subA::AbstractPetscMat, A::AbstractPetscMat, isrow::AbstractIS) - error("MatSelectVariableBlockSizes: no generated method for these argument types") + throw(MethodError(MatSelectVariableBlockSizes, (petsclib, subA, A, isrow))) end @for_petsc function MatSelectVariableBlockSizes(petsclib::$UnionPetscLib, subA::AbstractPetscMat, A::AbstractPetscMat, isrow::AbstractIS ) @@ -21748,7 +21748,7 @@ end $(_doc_external("Mat/MatSeqAIJCUSPARSEGetArray")) """ function MatSeqAIJCUSPARSEGetArray(petsclib::PetscLibType, A::AbstractPetscMat, M_a::Number) - error("MatSeqAIJCUSPARSEGetArray: no generated method for these argument types") + throw(MethodError(MatSeqAIJCUSPARSEGetArray, (petsclib, A, M_a))) end @for_petsc function MatSeqAIJCUSPARSEGetArray(petsclib::$UnionPetscLib, A::AbstractPetscMat, M_a::$PetscScalar ) @@ -21771,7 +21771,7 @@ end $(_doc_external("Mat/MatSeqAIJCUSPARSEGetArrayRead")) """ function MatSeqAIJCUSPARSEGetArrayRead(petsclib::PetscLibType, A::AbstractPetscMat, M_a::Number) - error("MatSeqAIJCUSPARSEGetArrayRead: no generated method for these argument types") + throw(MethodError(MatSeqAIJCUSPARSEGetArrayRead, (petsclib, A, M_a))) end @for_petsc function MatSeqAIJCUSPARSEGetArrayRead(petsclib::$UnionPetscLib, A::AbstractPetscMat, M_a::$PetscScalar ) @@ -21794,7 +21794,7 @@ end $(_doc_external("Mat/MatSeqAIJCUSPARSEGetArrayWrite")) """ function MatSeqAIJCUSPARSEGetArrayWrite(petsclib::PetscLibType, A::AbstractPetscMat, M_a::Number) - error("MatSeqAIJCUSPARSEGetArrayWrite: no generated method for these argument types") + throw(MethodError(MatSeqAIJCUSPARSEGetArrayWrite, (petsclib, A, M_a))) end @for_petsc function MatSeqAIJCUSPARSEGetArrayWrite(petsclib::$UnionPetscLib, A::AbstractPetscMat, M_a::$PetscScalar ) @@ -21817,7 +21817,7 @@ end $(_doc_external("Mat/MatSeqAIJCUSPARSEGetIJ")) """ function MatSeqAIJCUSPARSEGetIJ(petsclib::PetscLibType, A::AbstractPetscMat, compressed::PetscBool, i::Cint, j::Cint) - error("MatSeqAIJCUSPARSEGetIJ: no generated method for these argument types") + throw(MethodError(MatSeqAIJCUSPARSEGetIJ, (petsclib, A, compressed, i, j))) end @for_petsc function MatSeqAIJCUSPARSEGetIJ(petsclib::$UnionPetscLib, A::AbstractPetscMat, compressed::PetscBool, i::Cint, j::Cint ) @@ -21840,7 +21840,7 @@ end $(_doc_external("Mat/MatSeqAIJCUSPARSERestoreArray")) """ function MatSeqAIJCUSPARSERestoreArray(petsclib::PetscLibType, A::AbstractPetscMat, M_a::Number) - error("MatSeqAIJCUSPARSERestoreArray: no generated method for these argument types") + throw(MethodError(MatSeqAIJCUSPARSERestoreArray, (petsclib, A, M_a))) end @for_petsc function MatSeqAIJCUSPARSERestoreArray(petsclib::$UnionPetscLib, A::AbstractPetscMat, M_a::$PetscScalar ) @@ -21863,7 +21863,7 @@ end $(_doc_external("Mat/MatSeqAIJCUSPARSERestoreArrayRead")) """ function MatSeqAIJCUSPARSERestoreArrayRead(petsclib::PetscLibType, A::AbstractPetscMat, M_a::Number) - error("MatSeqAIJCUSPARSERestoreArrayRead: no generated method for these argument types") + throw(MethodError(MatSeqAIJCUSPARSERestoreArrayRead, (petsclib, A, M_a))) end @for_petsc function MatSeqAIJCUSPARSERestoreArrayRead(petsclib::$UnionPetscLib, A::AbstractPetscMat, M_a::$PetscScalar ) @@ -21886,7 +21886,7 @@ end $(_doc_external("Mat/MatSeqAIJCUSPARSERestoreArrayWrite")) """ function MatSeqAIJCUSPARSERestoreArrayWrite(petsclib::PetscLibType, A::AbstractPetscMat, M_a::Number) - error("MatSeqAIJCUSPARSERestoreArrayWrite: no generated method for these argument types") + throw(MethodError(MatSeqAIJCUSPARSERestoreArrayWrite, (petsclib, A, M_a))) end @for_petsc function MatSeqAIJCUSPARSERestoreArrayWrite(petsclib::$UnionPetscLib, A::AbstractPetscMat, M_a::$PetscScalar ) @@ -21909,7 +21909,7 @@ end $(_doc_external("Mat/MatSeqAIJCUSPARSERestoreIJ")) """ function MatSeqAIJCUSPARSERestoreIJ(petsclib::PetscLibType, A::AbstractPetscMat, compressed::PetscBool, i::Cint, j::Cint) - error("MatSeqAIJCUSPARSERestoreIJ: no generated method for these argument types") + throw(MethodError(MatSeqAIJCUSPARSERestoreIJ, (petsclib, A, compressed, i, j))) end @for_petsc function MatSeqAIJCUSPARSERestoreIJ(petsclib::$UnionPetscLib, A::AbstractPetscMat, compressed::PetscBool, i::Cint, j::Cint ) @@ -21992,7 +21992,7 @@ See also: `Mat`, `MatSeqAIJGetArray()`, `MatSeqAIJRestoreArrayRead()` $(_doc_external("Mat/MatSeqAIJGetArrayRead")) """ function MatSeqAIJGetArrayRead(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatSeqAIJGetArrayRead: no generated method for these argument types") + throw(MethodError(MatSeqAIJGetArrayRead, (petsclib, A))) end @for_petsc function MatSeqAIJGetArrayRead(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -22030,7 +22030,7 @@ See also: `Mat`, `MatSeqAIJGetArray()`, `MatSeqAIJRestoreArrayWrite()` $(_doc_external("Mat/MatSeqAIJGetArrayWrite")) """ function MatSeqAIJGetArrayWrite(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatSeqAIJGetArrayWrite: no generated method for these argument types") + throw(MethodError(MatSeqAIJGetArrayWrite, (petsclib, A))) end @for_petsc function MatSeqAIJGetArrayWrite(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -22071,7 +22071,7 @@ See also: `Mat`, `MatSeqAIJGetArray()`, `MatSeqAIJGetArrayRead()` $(_doc_external("Mat/MatSeqAIJGetCSRAndMemType")) """ function MatSeqAIJGetCSRAndMemType(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatSeqAIJGetCSRAndMemType: no generated method for these argument types") + throw(MethodError(MatSeqAIJGetCSRAndMemType, (petsclib, mat))) end @for_petsc function MatSeqAIJGetCSRAndMemType(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -22120,7 +22120,7 @@ See also: `Mat`, `MatSeqAIJRestoreArray()` $(_doc_external("Mat/MatSeqAIJGetMaxRowNonzeros")) """ function MatSeqAIJGetMaxRowNonzeros(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatSeqAIJGetMaxRowNonzeros: no generated method for these argument types") + throw(MethodError(MatSeqAIJGetMaxRowNonzeros, (petsclib, A))) end @for_petsc function MatSeqAIJGetMaxRowNonzeros(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -22145,7 +22145,7 @@ end $(_doc_external("Mat/MatSeqAIJHIPSPARSEGetArray")) """ function MatSeqAIJHIPSPARSEGetArray(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatSeqAIJHIPSPARSEGetArray: no generated method for these argument types") + throw(MethodError(MatSeqAIJHIPSPARSEGetArray, (petsclib, A))) end @for_petsc function MatSeqAIJHIPSPARSEGetArray(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -22170,7 +22170,7 @@ end $(_doc_external("Mat/MatSeqAIJHIPSPARSEGetArrayRead")) """ function MatSeqAIJHIPSPARSEGetArrayRead(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatSeqAIJHIPSPARSEGetArrayRead: no generated method for these argument types") + throw(MethodError(MatSeqAIJHIPSPARSEGetArrayRead, (petsclib, A))) end @for_petsc function MatSeqAIJHIPSPARSEGetArrayRead(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -22195,7 +22195,7 @@ end $(_doc_external("Mat/MatSeqAIJHIPSPARSEGetArrayWrite")) """ function MatSeqAIJHIPSPARSEGetArrayWrite(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatSeqAIJHIPSPARSEGetArrayWrite: no generated method for these argument types") + throw(MethodError(MatSeqAIJHIPSPARSEGetArrayWrite, (petsclib, A))) end @for_petsc function MatSeqAIJHIPSPARSEGetArrayWrite(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -22220,7 +22220,7 @@ end $(_doc_external("Mat/MatSeqAIJHIPSPARSEGetIJ")) """ function MatSeqAIJHIPSPARSEGetIJ(petsclib::PetscLibType, A::AbstractPetscMat, compressed::PetscBool, i::Union{Ptr, AbstractArray{Cint}}, j::Union{Ptr, AbstractArray{Cint}}) - error("MatSeqAIJHIPSPARSEGetIJ: no generated method for these argument types") + throw(MethodError(MatSeqAIJHIPSPARSEGetIJ, (petsclib, A, compressed, i, j))) end @for_petsc function MatSeqAIJHIPSPARSEGetIJ(petsclib::$UnionPetscLib, A::AbstractPetscMat, compressed::PetscBool, i::Union{Ptr, AbstractArray{Cint}}, j::Union{Ptr, AbstractArray{Cint}} ) @@ -22245,7 +22245,7 @@ end $(_doc_external("Mat/MatSeqAIJHIPSPARSERestoreArray")) """ function MatSeqAIJHIPSPARSERestoreArray(petsclib::PetscLibType, A::AbstractPetscMat, M_a::Union{Ptr, AbstractArray{<:Number}}) - error("MatSeqAIJHIPSPARSERestoreArray: no generated method for these argument types") + throw(MethodError(MatSeqAIJHIPSPARSERestoreArray, (petsclib, A, M_a))) end @for_petsc function MatSeqAIJHIPSPARSERestoreArray(petsclib::$UnionPetscLib, A::AbstractPetscMat, M_a::Union{Ptr, AbstractArray{$PetscScalar}} ) @@ -22269,7 +22269,7 @@ end $(_doc_external("Mat/MatSeqAIJHIPSPARSERestoreArrayRead")) """ function MatSeqAIJHIPSPARSERestoreArrayRead(petsclib::PetscLibType, A::AbstractPetscMat, M_a::Union{Ptr, AbstractArray{<:Number}}) - error("MatSeqAIJHIPSPARSERestoreArrayRead: no generated method for these argument types") + throw(MethodError(MatSeqAIJHIPSPARSERestoreArrayRead, (petsclib, A, M_a))) end @for_petsc function MatSeqAIJHIPSPARSERestoreArrayRead(petsclib::$UnionPetscLib, A::AbstractPetscMat, M_a::Union{Ptr, AbstractArray{$PetscScalar}} ) @@ -22293,7 +22293,7 @@ end $(_doc_external("Mat/MatSeqAIJHIPSPARSERestoreArrayWrite")) """ function MatSeqAIJHIPSPARSERestoreArrayWrite(petsclib::PetscLibType, A::AbstractPetscMat, M_a::Union{Ptr, AbstractArray{<:Number}}) - error("MatSeqAIJHIPSPARSERestoreArrayWrite: no generated method for these argument types") + throw(MethodError(MatSeqAIJHIPSPARSERestoreArrayWrite, (petsclib, A, M_a))) end @for_petsc function MatSeqAIJHIPSPARSERestoreArrayWrite(petsclib::$UnionPetscLib, A::AbstractPetscMat, M_a::Union{Ptr, AbstractArray{$PetscScalar}} ) @@ -22317,7 +22317,7 @@ end $(_doc_external("Mat/MatSeqAIJHIPSPARSERestoreIJ")) """ function MatSeqAIJHIPSPARSERestoreIJ(petsclib::PetscLibType, A::AbstractPetscMat, compressed::PetscBool, i::Union{Ptr, AbstractArray{Cint}}, j::Union{Ptr, AbstractArray{Cint}}) - error("MatSeqAIJHIPSPARSERestoreIJ: no generated method for these argument types") + throw(MethodError(MatSeqAIJHIPSPARSERestoreIJ, (petsclib, A, compressed, i, j))) end @for_petsc function MatSeqAIJHIPSPARSERestoreIJ(petsclib::$UnionPetscLib, A::AbstractPetscMat, compressed::PetscBool, i::Union{Ptr, AbstractArray{Cint}}, j::Union{Ptr, AbstractArray{Cint}} ) @@ -22355,7 +22355,7 @@ See also: `Mat`, `MatCreateSeqAIJ()`, `MATSEQAIJ`, `MATKAIJ`, `MatReuse` $(_doc_external("Mat/MatSeqAIJKron")) """ function MatSeqAIJKron(petsclib::PetscLibType, A::AbstractPetscMat, B::AbstractPetscMat, reuse::MatReuse) - error("MatSeqAIJKron: no generated method for these argument types") + throw(MethodError(MatSeqAIJKron, (petsclib, A, B, reuse))) end @for_petsc function MatSeqAIJKron(petsclib::$UnionPetscLib, A::AbstractPetscMat, B::AbstractPetscMat, reuse::MatReuse ) @@ -22391,7 +22391,7 @@ See also: `Mat`, `MatSeqAIJRegisterAll()` $(_doc_external("Mat/MatSeqAIJRegister")) """ function MatSeqAIJRegister(petsclib::PetscLibType, sname::String, fnc::external) - error("MatSeqAIJRegister: no generated method for these argument types") + throw(MethodError(MatSeqAIJRegister, (petsclib, sname, fnc))) end @for_petsc function MatSeqAIJRegister(petsclib::$UnionPetscLib, sname::String, fnc::external ) @@ -22425,7 +22425,7 @@ See also: `Mat`, `MatSeqAIJGetArray()` $(_doc_external("Mat/MatSeqAIJRestoreArray")) """ function MatSeqAIJRestoreArray(petsclib::PetscLibType, A::AbstractPetscMat, array::Union{Ptr, AbstractArray{<:Number}}) - error("MatSeqAIJRestoreArray: no generated method for these argument types") + throw(MethodError(MatSeqAIJRestoreArray, (petsclib, A, array))) end @for_petsc function MatSeqAIJRestoreArray(petsclib::$UnionPetscLib, A::AbstractPetscMat, array::Union{Ptr, AbstractArray{$PetscScalar}} ) @@ -22462,7 +22462,7 @@ See also: `Mat`, `MatSeqAIJGetArray()`, `MatSeqAIJGetArrayRead()` $(_doc_external("Mat/MatSeqAIJRestoreArrayRead")) """ function MatSeqAIJRestoreArrayRead(petsclib::PetscLibType, A::AbstractPetscMat, array::Union{Ptr, AbstractArray{<:Number}}) - error("MatSeqAIJRestoreArrayRead: no generated method for these argument types") + throw(MethodError(MatSeqAIJRestoreArrayRead, (petsclib, A, array))) end @for_petsc function MatSeqAIJRestoreArrayRead(petsclib::$UnionPetscLib, A::AbstractPetscMat, array::Union{Ptr, AbstractArray{$PetscScalar}} ) @@ -22499,7 +22499,7 @@ See also: `Mat`, `MatSeqAIJGetArray()`, `MatSeqAIJGetArrayWrite()` $(_doc_external("Mat/MatSeqAIJRestoreArrayWrite")) """ function MatSeqAIJRestoreArrayWrite(petsclib::PetscLibType, A::AbstractPetscMat, array::Union{Ptr, AbstractArray{<:Number}}) - error("MatSeqAIJRestoreArrayWrite: no generated method for these argument types") + throw(MethodError(MatSeqAIJRestoreArrayWrite, (petsclib, A, array))) end @for_petsc function MatSeqAIJRestoreArrayWrite(petsclib::$UnionPetscLib, A::AbstractPetscMat, array::Union{Ptr, AbstractArray{$PetscScalar}} ) @@ -22533,7 +22533,7 @@ See also: `Mat`, `MATSEQAIJ` $(_doc_external("Mat/MatSeqAIJSetColumnIndices")) """ function MatSeqAIJSetColumnIndices(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatSeqAIJSetColumnIndices: no generated method for these argument types") + throw(MethodError(MatSeqAIJSetColumnIndices, (petsclib, mat))) end @for_petsc function MatSeqAIJSetColumnIndices(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -22579,7 +22579,7 @@ See also: `Mat`, `MatCreate()`, `MatCreateAIJ()`, `MatSetValues()`, `MatSeqAIJSe $(_doc_external("Mat/MatSeqAIJSetPreallocation")) """ function MatSeqAIJSetPreallocation(petsclib::PetscLibType, B::AbstractPetscMat, nz::Integer, nnz::Union{Ptr, AbstractVector{<:Number}}) - error("MatSeqAIJSetPreallocation: no generated method for these argument types") + throw(MethodError(MatSeqAIJSetPreallocation, (petsclib, B, nz, nnz))) end @for_petsc function MatSeqAIJSetPreallocation(petsclib::$UnionPetscLib, B::AbstractPetscMat, nz::$PetscInt, nnz::Union{Ptr, Vector{$PetscInt}} ) @@ -22613,7 +22613,7 @@ See also: `Mat`, `MatCreate()`, `MatCreateSeqAIJ()`, `MatSetValues()`, `MatSeqAI $(_doc_external("Mat/MatSeqAIJSetPreallocationCSR")) """ function MatSeqAIJSetPreallocationCSR(petsclib::PetscLibType, B::AbstractPetscMat, i::AbstractVector{<:Number}, j::AbstractVector{<:Number}, v::AbstractVector{<:Number}) - error("MatSeqAIJSetPreallocationCSR: no generated method for these argument types") + throw(MethodError(MatSeqAIJSetPreallocationCSR, (petsclib, B, i, j, v))) end @for_petsc function MatSeqAIJSetPreallocationCSR(petsclib::$UnionPetscLib, B::AbstractPetscMat, i::Vector{$PetscInt}, j::Vector{$PetscInt}, v::Vector{$PetscScalar} ) @@ -22645,7 +22645,7 @@ See also: `Mat`, `MatSetOption()`, `MAT_SORTED_FULL`, `MatSetValues()`, `MatSeqA $(_doc_external("Mat/MatSeqAIJSetTotalPreallocation")) """ function MatSeqAIJSetTotalPreallocation(petsclib::PetscLibType, A::AbstractPetscMat, nztotal::Integer) - error("MatSeqAIJSetTotalPreallocation: no generated method for these argument types") + throw(MethodError(MatSeqAIJSetTotalPreallocation, (petsclib, A, nztotal))) end @for_petsc function MatSeqAIJSetTotalPreallocation(petsclib::$UnionPetscLib, A::AbstractPetscMat, nztotal::$PetscInt ) @@ -22682,7 +22682,7 @@ See also: `Mat`, `PCSetType()`, `VecSetType()`, `MatCreate()`, `MatType` $(_doc_external("Mat/MatSeqAIJSetType")) """ function MatSeqAIJSetType(petsclib::PetscLibType, mat::AbstractPetscMat, matype::String) - error("MatSeqAIJSetType: no generated method for these argument types") + throw(MethodError(MatSeqAIJSetType, (petsclib, mat, matype))) end @for_petsc function MatSeqAIJSetType(petsclib::$UnionPetscLib, mat::AbstractPetscMat, matype::String ) @@ -22722,7 +22722,7 @@ See also: `Mat`, `MATSEQAIJ`, `MatSetValuesLocal()`, `MatSetValues()` $(_doc_external("Mat/MatSeqAIJSetValuesLocalFast")) """ function MatSeqAIJSetValuesLocalFast(petsclib::PetscLibType, A::AbstractPetscMat, m::Integer, im::AbstractVector{<:Number}, n::Integer, in::AbstractVector{<:Number}, v::AbstractVector{<:Number}, is::InsertMode) - error("MatSeqAIJSetValuesLocalFast: no generated method for these argument types") + throw(MethodError(MatSeqAIJSetValuesLocalFast, (petsclib, A, m, im, n, in, v, is))) end @for_petsc function MatSeqAIJSetValuesLocalFast(petsclib::$UnionPetscLib, A::AbstractPetscMat, m::$PetscInt, im::Vector{$PetscInt}, n::$PetscInt, in::Vector{$PetscInt}, v::Vector{$PetscScalar}, is::InsertMode ) @@ -22758,7 +22758,7 @@ See also: `Mat`, `MATSEQBAIJ`, `MatSeqBAIJRestoreArray()`, `MatSeqAIJGetArray()` $(_doc_external("Mat/MatSeqBAIJGetArray")) """ function MatSeqBAIJGetArray(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatSeqBAIJGetArray: no generated method for these argument types") + throw(MethodError(MatSeqBAIJGetArray, (petsclib, A))) end @for_petsc function MatSeqBAIJGetArray(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -22794,7 +22794,7 @@ See also: `Mat`, `MatSeqBAIJGetArray()`, `MatSeqAIJGetArray()`, `MatSeqAIJRestor $(_doc_external("Mat/MatSeqBAIJRestoreArray")) """ function MatSeqBAIJRestoreArray(petsclib::PetscLibType, A::AbstractPetscMat, array::Union{Ptr, AbstractArray{<:Number}}) - error("MatSeqBAIJRestoreArray: no generated method for these argument types") + throw(MethodError(MatSeqBAIJRestoreArray, (petsclib, A, array))) end @for_petsc function MatSeqBAIJRestoreArray(petsclib::$UnionPetscLib, A::AbstractPetscMat, array::Union{Ptr, AbstractArray{$PetscScalar}} ) @@ -22827,7 +22827,7 @@ See also: `Mat`, `MATSEQBAIJ`, `MatSetValues()` $(_doc_external("Mat/MatSeqBAIJSetColumnIndices")) """ function MatSeqBAIJSetColumnIndices(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatSeqBAIJSetColumnIndices: no generated method for these argument types") + throw(MethodError(MatSeqBAIJSetColumnIndices, (petsclib, mat))) end @for_petsc function MatSeqBAIJSetColumnIndices(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -22874,7 +22874,7 @@ See also: `Mat`, Sparse Matrices, `MatCreate()`, `MatCreateSeqAIJ()`, `MatSetVal $(_doc_external("Mat/MatSeqBAIJSetPreallocation")) """ function MatSeqBAIJSetPreallocation(petsclib::PetscLibType, B::AbstractPetscMat, bs::Integer, nz::Integer, nnz::Union{Ptr, AbstractVector{<:Number}}) - error("MatSeqBAIJSetPreallocation: no generated method for these argument types") + throw(MethodError(MatSeqBAIJSetPreallocation, (petsclib, B, bs, nz, nnz))) end @for_petsc function MatSeqBAIJSetPreallocation(petsclib::$UnionPetscLib, B::AbstractPetscMat, bs::$PetscInt, nz::$PetscInt, nnz::Union{Ptr, Vector{$PetscInt}} ) @@ -22911,7 +22911,7 @@ See also: `Mat`, `MatCreate()`, `MatCreateSeqBAIJ()`, `MatSetValues()`, `MatSeqB $(_doc_external("Mat/MatSeqBAIJSetPreallocationCSR")) """ function MatSeqBAIJSetPreallocationCSR(petsclib::PetscLibType, B::AbstractPetscMat, bs::Integer, i::AbstractVector{<:Number}, j::AbstractVector{<:Number}, v::Union{Ptr, AbstractVector{<:Number}}) - error("MatSeqBAIJSetPreallocationCSR: no generated method for these argument types") + throw(MethodError(MatSeqBAIJSetPreallocationCSR, (petsclib, B, bs, i, j, v))) end @for_petsc function MatSeqBAIJSetPreallocationCSR(petsclib::$UnionPetscLib, B::AbstractPetscMat, bs::$PetscInt, i::Vector{$PetscInt}, j::Vector{$PetscInt}, v::Union{Ptr, Vector{$PetscScalar}} ) @@ -22944,7 +22944,7 @@ See also: `Mat`, `MATSEQDENSE`, `MatInvertBlockDiagonal()`, `MatLUFactor()`, `Ma $(_doc_external("Mat/MatSeqDenseInvert")) """ function MatSeqDenseInvert(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatSeqDenseInvert: no generated method for these argument types") + throw(MethodError(MatSeqDenseInvert, (petsclib, A))) end @for_petsc function MatSeqDenseInvert(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -22978,7 +22978,7 @@ See also: `Mat`, `MATSEQDENSE`, `MatCreate()`, `MatCreateDense()`, `MatSetValues $(_doc_external("Mat/MatSeqDenseSetPreallocation")) """ function MatSeqDenseSetPreallocation(petsclib::PetscLibType, B::AbstractPetscMat, data::AbstractVector{<:Number}) - error("MatSeqDenseSetPreallocation: no generated method for these argument types") + throw(MethodError(MatSeqDenseSetPreallocation, (petsclib, B, data))) end @for_petsc function MatSeqDenseSetPreallocation(petsclib::$UnionPetscLib, B::AbstractPetscMat, data::Vector{$PetscScalar} ) @@ -23014,7 +23014,7 @@ See also: `Mat`, `MATSEQSBAIJ`, `MatSeqSBAIJRestoreArray()`, `MatSeqAIJGetArray( $(_doc_external("Mat/MatSeqSBAIJGetArray")) """ function MatSeqSBAIJGetArray(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatSeqSBAIJGetArray: no generated method for these argument types") + throw(MethodError(MatSeqSBAIJGetArray, (petsclib, A))) end @for_petsc function MatSeqSBAIJGetArray(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -23050,7 +23050,7 @@ See also: `Mat`, `MATSEQSBAIJ`, `MatSeqSBAIJGetArray()`, `MatSeqAIJGetArray()`, $(_doc_external("Mat/MatSeqSBAIJRestoreArray")) """ function MatSeqSBAIJRestoreArray(petsclib::PetscLibType, A::AbstractPetscMat, array::Union{Ptr, AbstractArray{<:Number}}) - error("MatSeqSBAIJRestoreArray: no generated method for these argument types") + throw(MethodError(MatSeqSBAIJRestoreArray, (petsclib, A, array))) end @for_petsc function MatSeqSBAIJRestoreArray(petsclib::$UnionPetscLib, A::AbstractPetscMat, array::Union{Ptr, AbstractArray{$PetscScalar}} ) @@ -23084,7 +23084,7 @@ See also: `Mat`, `MATSEQSBAIJ`, `MatCreateSeqSBAIJ` $(_doc_external("Mat/MatSeqSBAIJSetColumnIndices")) """ function MatSeqSBAIJSetColumnIndices(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatSeqSBAIJSetColumnIndices: no generated method for these argument types") + throw(MethodError(MatSeqSBAIJSetColumnIndices, (petsclib, mat))) end @for_petsc function MatSeqSBAIJSetColumnIndices(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -23131,7 +23131,7 @@ See also: `Mat`, Sparse Matrices, `MATSEQSBAIJ`, `MatCreate()`, `MatCreateSeqAIJ $(_doc_external("Mat/MatSeqSBAIJSetPreallocation")) """ function MatSeqSBAIJSetPreallocation(petsclib::PetscLibType, B::AbstractPetscMat, bs::Integer, nz::Integer, nnz::AbstractVector{<:Number}) - error("MatSeqSBAIJSetPreallocation: no generated method for these argument types") + throw(MethodError(MatSeqSBAIJSetPreallocation, (petsclib, B, bs, nz, nnz))) end @for_petsc function MatSeqSBAIJSetPreallocation(petsclib::$UnionPetscLib, B::AbstractPetscMat, bs::$PetscInt, nz::$PetscInt, nnz::Vector{$PetscInt} ) @@ -23166,7 +23166,7 @@ See also: `Mat`, `MATSEQSBAIJ`, `MatCreate()`, `MatCreateSeqSBAIJ()`, `MatSetVal $(_doc_external("Mat/MatSeqSBAIJSetPreallocationCSR")) """ function MatSeqSBAIJSetPreallocationCSR(petsclib::PetscLibType, B::AbstractPetscMat, bs::Integer, i::AbstractVector{<:Number}, j::AbstractVector{<:Number}, v::AbstractVector{<:Number}) - error("MatSeqSBAIJSetPreallocationCSR: no generated method for these argument types") + throw(MethodError(MatSeqSBAIJSetPreallocationCSR, (petsclib, B, bs, i, j, v))) end @for_petsc function MatSeqSBAIJSetPreallocationCSR(petsclib::$UnionPetscLib, B::AbstractPetscMat, bs::$PetscInt, i::Vector{$PetscInt}, j::Vector{$PetscInt}, v::Vector{$PetscScalar} ) @@ -23202,7 +23202,7 @@ See also: `MATSEQSELL`, `MatSeqSELLGetMaxSliceWidth()` $(_doc_external("Mat/MatSeqSELLGetAvgSliceWidth")) """ function MatSeqSELLGetAvgSliceWidth(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatSeqSELLGetAvgSliceWidth: no generated method for these argument types") + throw(MethodError(MatSeqSELLGetAvgSliceWidth, (petsclib, A))) end @for_petsc function MatSeqSELLGetAvgSliceWidth(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -23240,7 +23240,7 @@ See also: `MATSEQSELL`, `MatSeqSELLGetAvgSliceWidth()` $(_doc_external("Mat/MatSeqSELLGetFillRatio")) """ function MatSeqSELLGetFillRatio(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatSeqSELLGetFillRatio: no generated method for these argument types") + throw(MethodError(MatSeqSELLGetFillRatio, (petsclib, A))) end @for_petsc function MatSeqSELLGetFillRatio(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -23278,7 +23278,7 @@ See also: `MATSEQSELL`, `MatSeqSELLGetAvgSliceWidth()` $(_doc_external("Mat/MatSeqSELLGetMaxSliceWidth")) """ function MatSeqSELLGetMaxSliceWidth(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatSeqSELLGetMaxSliceWidth: no generated method for these argument types") + throw(MethodError(MatSeqSELLGetMaxSliceWidth, (petsclib, A))) end @for_petsc function MatSeqSELLGetMaxSliceWidth(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -23316,7 +23316,7 @@ See also: `MATSEQSELL`, `MatSeqSELLSetSliceHeight()` $(_doc_external("Mat/MatSeqSELLGetVarSliceSize")) """ function MatSeqSELLGetVarSliceSize(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatSeqSELLGetVarSliceSize: no generated method for these argument types") + throw(MethodError(MatSeqSELLGetVarSliceSize, (petsclib, A))) end @for_petsc function MatSeqSELLGetVarSliceSize(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -23355,7 +23355,7 @@ See also: `Mat`, `MATSEQSELL`, `MATSELL`, `MatCreate()`, `MatCreateSELL()`, `Mat $(_doc_external("Mat/MatSeqSELLSetPreallocation")) """ function MatSeqSELLSetPreallocation(petsclib::PetscLibType, B::AbstractPetscMat, rlenmax::Integer, rlen::AbstractVector{<:Number}) - error("MatSeqSELLSetPreallocation: no generated method for these argument types") + throw(MethodError(MatSeqSELLSetPreallocation, (petsclib, B, rlenmax, rlen))) end @for_petsc function MatSeqSELLSetPreallocation(petsclib::$UnionPetscLib, B::AbstractPetscMat, rlenmax::$PetscInt, rlen::Vector{$PetscInt} ) @@ -23387,7 +23387,7 @@ See also: `MATSEQSELL`, `MatSeqSELLGetVarSliceSize()` $(_doc_external("Mat/MatSeqSELLSetSliceHeight")) """ function MatSeqSELLSetSliceHeight(petsclib::PetscLibType, A::AbstractPetscMat, sliceheight::Integer) - error("MatSeqSELLSetSliceHeight: no generated method for these argument types") + throw(MethodError(MatSeqSELLSetSliceHeight, (petsclib, A, sliceheight))) end @for_petsc function MatSeqSELLSetSliceHeight(petsclib::$UnionPetscLib, A::AbstractPetscMat, sliceheight::$PetscInt ) @@ -23419,7 +23419,7 @@ See also: `Mat`, `VecSetBindingPropagates()`, `MatGetBindingPropagates()` $(_doc_external("Mat/MatSetBindingPropagates")) """ function MatSetBindingPropagates(petsclib::PetscLibType, A::AbstractPetscMat, flg::PetscBool) - error("MatSetBindingPropagates: no generated method for these argument types") + throw(MethodError(MatSetBindingPropagates, (petsclib, A, flg))) end @for_petsc function MatSetBindingPropagates(petsclib::$UnionPetscLib, A::AbstractPetscMat, flg::PetscBool ) @@ -23453,7 +23453,7 @@ See also: `Mat`, `MATBAIJ`, `MATSBAIJ`, `MATAIJ`, `MatCreateSeqBAIJ()`, `MatCrea $(_doc_external("Mat/MatSetBlockSize")) """ function MatSetBlockSize(petsclib::PetscLibType, mat::AbstractPetscMat, bs::Integer) - error("MatSetBlockSize: no generated method for these argument types") + throw(MethodError(MatSetBlockSize, (petsclib, mat, bs))) end @for_petsc function MatSetBlockSize(petsclib::$UnionPetscLib, mat::AbstractPetscMat, bs::$PetscInt ) @@ -23488,7 +23488,7 @@ See also: `Mat`, `MatCreateSeqBAIJ()`, `MatCreateBAIJ()`, `MatGetBlockSize()`, ` $(_doc_external("Mat/MatSetBlockSizes")) """ function MatSetBlockSizes(petsclib::PetscLibType, mat::AbstractPetscMat, rbs::Integer, cbs::Integer) - error("MatSetBlockSizes: no generated method for these argument types") + throw(MethodError(MatSetBlockSizes, (petsclib, mat, rbs, cbs))) end @for_petsc function MatSetBlockSizes(petsclib::$UnionPetscLib, mat::AbstractPetscMat, rbs::$PetscInt, cbs::$PetscInt ) @@ -23523,7 +23523,7 @@ See also: `Mat`, `MatCreateSeqBAIJ()`, `MatCreateBAIJ()`, `MatGetBlockSize()`, ` $(_doc_external("Mat/MatSetBlockSizesFromMats")) """ function MatSetBlockSizesFromMats(petsclib::PetscLibType, mat::AbstractPetscMat, fromRow::AbstractPetscMat, fromCol::AbstractPetscMat) - error("MatSetBlockSizesFromMats: no generated method for these argument types") + throw(MethodError(MatSetBlockSizesFromMats, (petsclib, mat, fromRow, fromCol))) end @for_petsc function MatSetBlockSizesFromMats(petsclib::$UnionPetscLib, mat::AbstractPetscMat, fromRow::AbstractPetscMat, fromCol::AbstractPetscMat ) @@ -23557,7 +23557,7 @@ See also: `DM`, `MatGetDM()`, `DMCreateMatrix()`, `DMSetMatType()` $(_doc_external("DM/MatSetDM")) """ function MatSetDM(petsclib::PetscLibType, A::AbstractPetscMat, dm::AbstractPetscDM) - error("MatSetDM: no generated method for these argument types") + throw(MethodError(MatSetDM, (petsclib, A, dm))) end @for_petsc function MatSetDM(petsclib::$UnionPetscLib, A::AbstractPetscMat, dm::AbstractPetscDM ) @@ -23591,7 +23591,7 @@ See also: `Mat`, `PCSetErrorIfFailure()`, `KSPConvergedReason`, `SNESConvergedRe $(_doc_external("Mat/MatSetErrorIfFailure")) """ function MatSetErrorIfFailure(petsclib::PetscLibType, mat::AbstractPetscMat, flg::PetscBool) - error("MatSetErrorIfFailure: no generated method for these argument types") + throw(MethodError(MatSetErrorIfFailure, (petsclib, mat, flg))) end @for_petsc function MatSetErrorIfFailure(petsclib::$UnionPetscLib, mat::AbstractPetscMat, flg::PetscBool ) @@ -23626,7 +23626,7 @@ See also: `Mat`, Matrix Factorization, `MatFactorType`, `MatGetFactor()`, `MatGe $(_doc_external("Mat/MatSetFactorType")) """ function MatSetFactorType(petsclib::PetscLibType, mat::AbstractPetscMat, t::MatFactorType) - error("MatSetFactorType: no generated method for these argument types") + throw(MethodError(MatSetFactorType, (petsclib, mat, t))) end @for_petsc function MatSetFactorType(petsclib::$UnionPetscLib, mat::AbstractPetscMat, t::MatFactorType ) @@ -23676,7 +23676,7 @@ See also: `Mat`, `MatCreateSeqAIJ()`, `MatCreateAIJ()`, $(_doc_external("Mat/MatSetFromOptions")) """ function MatSetFromOptions(petsclib::PetscLibType, B::AbstractPetscMat) - error("MatSetFromOptions: no generated method for these argument types") + throw(MethodError(MatSetFromOptions, (petsclib, B))) end @for_petsc function MatSetFromOptions(petsclib::$UnionPetscLib, B::AbstractPetscMat ) @@ -23710,7 +23710,7 @@ See also: `Mat`, `MatCreate()` $(_doc_external("Mat/MatSetHPL")) """ function MatSetHPL(petsclib::PetscLibType, A::AbstractPetscMat, iseed::Cint) - error("MatSetHPL: no generated method for these argument types") + throw(MethodError(MatSetHPL, (petsclib, A, iseed))) end @for_petsc function MatSetHPL(petsclib::$UnionPetscLib, A::AbstractPetscMat, iseed::Cint ) @@ -23743,7 +23743,7 @@ See also: `Mat`, `MatZeroEntries()`, `MatSetValues()` $(_doc_external("Mat/MatSetInf")) """ function MatSetInf(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatSetInf: no generated method for these argument types") + throw(MethodError(MatSetInf, (petsclib, A))) end @for_petsc function MatSetInf(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -23778,7 +23778,7 @@ See also: `Mat`, `PetscLayout`, `MatCreateVecs()`, `MatGetLocalToGlobalMapping() $(_doc_external("Mat/MatSetLayouts")) """ function MatSetLayouts(petsclib::PetscLibType, A::AbstractPetscMat, rmap::PetscLayout, cmap::PetscLayout) - error("MatSetLayouts: no generated method for these argument types") + throw(MethodError(MatSetLayouts, (petsclib, A, rmap, cmap))) end @for_petsc function MatSetLayouts(petsclib::$UnionPetscLib, A::AbstractPetscMat, rmap::PetscLayout, cmap::PetscLayout ) @@ -23815,7 +23815,7 @@ See also: `Mat`, `DM`, `DMCreateMatrix()`, `MatGetLocalToGlobalMapping()`, `MatA $(_doc_external("Mat/MatSetLocalToGlobalMapping")) """ function MatSetLocalToGlobalMapping(petsclib::PetscLibType, x::AbstractPetscMat, rmapping::ISLocalToGlobalMapping, cmapping::ISLocalToGlobalMapping) - error("MatSetLocalToGlobalMapping: no generated method for these argument types") + throw(MethodError(MatSetLocalToGlobalMapping, (petsclib, x, rmapping, cmapping))) end @for_petsc function MatSetLocalToGlobalMapping(petsclib::$UnionPetscLib, x::AbstractPetscMat, rmapping::ISLocalToGlobalMapping, cmapping::ISLocalToGlobalMapping ) @@ -23850,7 +23850,7 @@ See also: `Mat`, `MatNullSpace`, `MatCreate()`, `MatNullSpaceCreate()`, `MatSetN $(_doc_external("Mat/MatSetNearNullSpace")) """ function MatSetNearNullSpace(petsclib::PetscLibType, mat::AbstractPetscMat, nullsp::MatNullSpace) - error("MatSetNearNullSpace: no generated method for these argument types") + throw(MethodError(MatSetNearNullSpace, (petsclib, mat, nullsp))) end @for_petsc function MatSetNearNullSpace(petsclib::$UnionPetscLib, mat::AbstractPetscMat, nullsp::MatNullSpace ) @@ -23885,7 +23885,7 @@ See also: `Mat`, `MatCreate()`, `MatNullSpaceCreate()`, `MatSetNearNullSpace()`, $(_doc_external("Mat/MatSetNullSpace")) """ function MatSetNullSpace(petsclib::PetscLibType, mat::AbstractPetscMat, nullsp::MatNullSpace) - error("MatSetNullSpace: no generated method for these argument types") + throw(MethodError(MatSetNullSpace, (petsclib, mat, nullsp))) end @for_petsc function MatSetNullSpace(petsclib::$UnionPetscLib, mat::AbstractPetscMat, nullsp::MatNullSpace ) @@ -23920,7 +23920,7 @@ See also: `Mat`, `MatGetOperation()`, `MatCreateShell()`, `MatShellSetContext()` $(_doc_external("Mat/MatSetOperation")) """ function MatSetOperation(petsclib::PetscLibType, mat::AbstractPetscMat, op::MatOperation, f::Ptr{Cvoid}) - error("MatSetOperation: no generated method for these argument types") + throw(MethodError(MatSetOperation, (petsclib, mat, op, f))) end @for_petsc function MatSetOperation(petsclib::$UnionPetscLib, mat::AbstractPetscMat, op::MatOperation, f::Ptr{Cvoid} ) @@ -23993,7 +23993,7 @@ See also: `MatOption`, `Mat`, `MatGetOption()` $(_doc_external("Mat/MatSetOption")) """ function MatSetOption(petsclib::PetscLibType, mat::AbstractPetscMat, op::MatOption, flg::PetscBool) - error("MatSetOption: no generated method for these argument types") + throw(MethodError(MatSetOption, (petsclib, mat, op, flg))) end @for_petsc function MatSetOption(petsclib::$UnionPetscLib, mat::AbstractPetscMat, op::MatOption, flg::PetscBool ) @@ -24028,7 +24028,7 @@ See also: `Mat`, `MatSetFromOptions()`, `MatSetOptionsPrefixFactor()` $(_doc_external("Mat/MatSetOptionsPrefix")) """ function MatSetOptionsPrefix(petsclib::PetscLibType, A::AbstractPetscMat, prefix::String) - error("MatSetOptionsPrefix: no generated method for these argument types") + throw(MethodError(MatSetOptionsPrefix, (petsclib, A, prefix))) end @for_petsc function MatSetOptionsPrefix(petsclib::$UnionPetscLib, A::AbstractPetscMat, prefix::String ) @@ -24063,7 +24063,7 @@ See also: `Mat`, Matrix Factorization, `MatGetFactor()`, `MatSetFromOptions()`, $(_doc_external("Mat/MatSetOptionsPrefixFactor")) """ function MatSetOptionsPrefixFactor(petsclib::PetscLibType, A::AbstractPetscMat, prefix::String) - error("MatSetOptionsPrefixFactor: no generated method for these argument types") + throw(MethodError(MatSetOptionsPrefixFactor, (petsclib, A, prefix))) end @for_petsc function MatSetOptionsPrefixFactor(petsclib::$UnionPetscLib, A::AbstractPetscMat, prefix::String ) @@ -24101,7 +24101,7 @@ See also: `Mat`, `MatSetValuesCOO()`, `MatSeqAIJSetPreallocation()`, `MatMPIAIJS $(_doc_external("Mat/MatSetPreallocationCOO")) """ function MatSetPreallocationCOO(petsclib::PetscLibType, A::AbstractPetscMat, ncoo::PetscCount, coo_i::AbstractVector{<:Number}, coo_j::AbstractVector{<:Number}) - error("MatSetPreallocationCOO: no generated method for these argument types") + throw(MethodError(MatSetPreallocationCOO, (petsclib, A, ncoo, coo_i, coo_j))) end @for_petsc function MatSetPreallocationCOO(petsclib::$UnionPetscLib, A::AbstractPetscMat, ncoo::PetscCount, coo_i::Vector{$PetscInt}, coo_j::Vector{$PetscInt} ) @@ -24139,7 +24139,7 @@ See also: `Mat`, `MatSetValuesCOO()`, `MatSeqAIJSetPreallocation()`, `MatMPIAIJS $(_doc_external("Mat/MatSetPreallocationCOOLocal")) """ function MatSetPreallocationCOOLocal(petsclib::PetscLibType, A::AbstractPetscMat, ncoo::PetscCount, coo_i::AbstractVector{<:Number}, coo_j::AbstractVector{<:Number}) - error("MatSetPreallocationCOOLocal: no generated method for these argument types") + throw(MethodError(MatSetPreallocationCOOLocal, (petsclib, A, ncoo, coo_i, coo_j))) end @for_petsc function MatSetPreallocationCOOLocal(petsclib::$UnionPetscLib, A::AbstractPetscMat, ncoo::PetscCount, coo_i::Vector{$PetscInt}, coo_j::Vector{$PetscInt} ) @@ -24181,7 +24181,7 @@ See also: `Mat`, `PetscRandom`, `PetscRandomCreate()`, `MatZeroEntries()`, `MatS $(_doc_external("Mat/MatSetRandom")) """ function MatSetRandom(petsclib::PetscLibType, x::AbstractPetscMat, rctx::Union{Ptr, PetscRandom}) - error("MatSetRandom: no generated method for these argument types") + throw(MethodError(MatSetRandom, (petsclib, x, rctx))) end @for_petsc function MatSetRandom(petsclib::$UnionPetscLib, x::AbstractPetscMat, rctx::Union{Ptr, PetscRandom} ) @@ -24219,7 +24219,7 @@ See also: `Mat`, `MatGetSize()`, `PetscSplitOwnership()`, `MatGetOwnershipRange( $(_doc_external("Mat/MatSetSizes")) """ function MatSetSizes(petsclib::PetscLibType, A::AbstractPetscMat, m::Integer, n::Integer, M_M::Integer, M_N::Integer) - error("MatSetSizes: no generated method for these argument types") + throw(MethodError(MatSetSizes, (petsclib, A, m, n, M_M, M_N))) end @for_petsc function MatSetSizes(petsclib::$UnionPetscLib, A::AbstractPetscMat, m::$PetscInt, n::$PetscInt, M_M::$PetscInt, M_N::$PetscInt ) @@ -24258,7 +24258,7 @@ See also: `Mat`, `MatStencil`, `MatSetOption()`, `MatAssemblyBegin()`, `MatAssem $(_doc_external("Mat/MatSetStencil")) """ function MatSetStencil(petsclib::PetscLibType, mat::AbstractPetscMat, dim::Integer, dims::AbstractVector{<:Number}, starts::AbstractVector{<:Number}, dof::Integer) - error("MatSetStencil: no generated method for these argument types") + throw(MethodError(MatSetStencil, (petsclib, mat, dim, dims, starts, dof))) end @for_petsc function MatSetStencil(petsclib::$UnionPetscLib, mat::AbstractPetscMat, dim::$PetscInt, dims::Vector{$PetscInt}, starts::Vector{$PetscInt}, dof::$PetscInt ) @@ -24292,7 +24292,7 @@ See also: `Mat`, `MatNullSpace`, `MatCreate()`, `MatNullSpaceCreate()`, `MatSetN $(_doc_external("Mat/MatSetTransposeNullSpace")) """ function MatSetTransposeNullSpace(petsclib::PetscLibType, mat::AbstractPetscMat, nullsp::MatNullSpace) - error("MatSetTransposeNullSpace: no generated method for these argument types") + throw(MethodError(MatSetTransposeNullSpace, (petsclib, mat, nullsp))) end @for_petsc function MatSetTransposeNullSpace(petsclib::$UnionPetscLib, mat::AbstractPetscMat, nullsp::MatNullSpace ) @@ -24329,7 +24329,7 @@ See also: `Mat`, `PCSetType()`, `VecSetType()`, `MatCreate()`, `MatType` $(_doc_external("Mat/MatSetType")) """ function MatSetType(petsclib::PetscLibType, mat::AbstractPetscMat, matype::String) - error("MatSetType: no generated method for these argument types") + throw(MethodError(MatSetType, (petsclib, mat, matype))) end @for_petsc function MatSetType(petsclib::$UnionPetscLib, mat::AbstractPetscMat, matype::String ) @@ -24362,7 +24362,7 @@ See also: `Mat`, `PCFactorSetUseInPlace()`, `PCFactorGetUseInPlace()` $(_doc_external("Mat/MatSetUnfactored")) """ function MatSetUnfactored(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatSetUnfactored: no generated method for these argument types") + throw(MethodError(MatSetUnfactored, (petsclib, mat))) end @for_petsc function MatSetUnfactored(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -24395,7 +24395,7 @@ See also: `Mat`, `MatMult()`, `MatCreate()`, `MatDestroy()`, `MatXAIJSetPrealloc $(_doc_external("Mat/MatSetUp")) """ function MatSetUp(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatSetUp: no generated method for these argument types") + throw(MethodError(MatSetUp, (petsclib, A))) end @for_petsc function MatSetUp(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -24438,7 +24438,7 @@ See also: `Mat`, `MatSetOption()`, `MatAssemblyBegin()`, `MatAssemblyEnd()`, `Ma $(_doc_external("Mat/MatSetValues")) """ function MatSetValues(petsclib::PetscLibType, mat::AbstractPetscMat, m::Integer, idxm::AbstractVector{<:Number}, n::Integer, idxn::AbstractVector{<:Number}, v::AbstractVector{<:Number}, addv::InsertMode) - error("MatSetValues: no generated method for these argument types") + throw(MethodError(MatSetValues, (petsclib, mat, m, idxm, n, idxn, v, addv))) end @for_petsc function MatSetValues(petsclib::$UnionPetscLib, mat::AbstractPetscMat, m::$PetscInt, idxm::Vector{$PetscInt}, n::$PetscInt, idxn::Vector{$PetscInt}, v::Vector{$PetscScalar}, addv::InsertMode ) @@ -24477,7 +24477,7 @@ See also: `Mat`, `MatSetOption()`, `MatAssemblyBegin()`, `MatAssemblyEnd()`, `Ma $(_doc_external("Mat/MatSetValuesBatch")) """ function MatSetValuesBatch(petsclib::PetscLibType, mat::AbstractPetscMat, nb::Integer, bs::Integer, rows::AbstractVector{<:Number}, v::AbstractVector{<:Number}) - error("MatSetValuesBatch: no generated method for these argument types") + throw(MethodError(MatSetValuesBatch, (petsclib, mat, nb, bs, rows, v))) end @for_petsc function MatSetValuesBatch(petsclib::$UnionPetscLib, mat::AbstractPetscMat, nb::$PetscInt, bs::$PetscInt, rows::Vector{$PetscInt}, v::Vector{$PetscScalar} ) @@ -24517,7 +24517,7 @@ See also: `Mat`, `MatSetBlockSize()`, `MatSetOption()`, `MatAssemblyBegin()`, `M $(_doc_external("Mat/MatSetValuesBlocked")) """ function MatSetValuesBlocked(petsclib::PetscLibType, mat::AbstractPetscMat, m::Integer, idxm::AbstractVector{<:Number}, n::Integer, idxn::AbstractVector{<:Number}, v::AbstractVector{<:Number}, addv::InsertMode) - error("MatSetValuesBlocked: no generated method for these argument types") + throw(MethodError(MatSetValuesBlocked, (petsclib, mat, m, idxm, n, idxn, v, addv))) end @for_petsc function MatSetValuesBlocked(petsclib::$UnionPetscLib, mat::AbstractPetscMat, m::$PetscInt, idxm::Vector{$PetscInt}, n::$PetscInt, idxn::Vector{$PetscInt}, v::Vector{$PetscScalar}, addv::InsertMode ) @@ -24559,7 +24559,7 @@ See also: `Mat`, `MatSetBlockSize()`, `MatSetLocalToGlobalMapping()`, `MatAssemb $(_doc_external("Mat/MatSetValuesBlockedLocal")) """ function MatSetValuesBlockedLocal(petsclib::PetscLibType, mat::AbstractPetscMat, nrow::Integer, irow::AbstractVector{<:Number}, ncol::Integer, icol::AbstractVector{<:Number}, v::AbstractVector{<:Number}, addv::InsertMode) - error("MatSetValuesBlockedLocal: no generated method for these argument types") + throw(MethodError(MatSetValuesBlockedLocal, (petsclib, mat, nrow, irow, ncol, icol, v, addv))) end @for_petsc function MatSetValuesBlockedLocal(petsclib::$UnionPetscLib, mat::AbstractPetscMat, nrow::$PetscInt, irow::Vector{$PetscInt}, ncol::$PetscInt, icol::Vector{$PetscInt}, v::Vector{$PetscScalar}, addv::InsertMode ) @@ -24602,7 +24602,7 @@ See also: `Mat`, `DMDA`, `MatSetOption()`, `MatAssemblyBegin()`, `MatAssemblyEnd $(_doc_external("Mat/MatSetValuesBlockedStencil")) """ function MatSetValuesBlockedStencil(petsclib::PetscLibType, mat::AbstractPetscMat, m::Integer, idxm::Vector{MatStencil}, n::Integer, idxn::Vector{MatStencil}, v::AbstractVector{<:Number}, addv::InsertMode) - error("MatSetValuesBlockedStencil: no generated method for these argument types") + throw(MethodError(MatSetValuesBlockedStencil, (petsclib, mat, m, idxm, n, idxn, v, addv))) end @for_petsc function MatSetValuesBlockedStencil(petsclib::$UnionPetscLib, mat::AbstractPetscMat, m::$PetscInt, idxm::Vector{MatStencil}, n::$PetscInt, idxn::Vector{MatStencil}, v::Vector{$PetscScalar}, addv::InsertMode ) @@ -24637,7 +24637,7 @@ See also: `Mat`, `MatSetPreallocationCOO()`, `MatSetPreallocationCOOLocal()`, `I $(_doc_external("Mat/MatSetValuesCOO")) """ function MatSetValuesCOO(petsclib::PetscLibType, A::AbstractPetscMat, coo_v::AbstractVector{<:Number}, imode::InsertMode) - error("MatSetValuesCOO: no generated method for these argument types") + throw(MethodError(MatSetValuesCOO, (petsclib, A, coo_v, imode))) end @for_petsc function MatSetValuesCOO(petsclib::$UnionPetscLib, A::AbstractPetscMat, coo_v::Vector{$PetscScalar}, imode::InsertMode ) @@ -24678,7 +24678,7 @@ See also: `Mat`, `MatSetOption()`, `MatSetValues()`, `MatAssemblyBegin()`, `MatA $(_doc_external("Mat/MatSetValuesIS")) """ function MatSetValuesIS(petsclib::PetscLibType, mat::AbstractPetscMat, ism::AbstractIS, isn::AbstractIS, v::AbstractVector{<:Number}, addv::InsertMode) - error("MatSetValuesIS: no generated method for these argument types") + throw(MethodError(MatSetValuesIS, (petsclib, mat, ism, isn, v, addv))) end @for_petsc function MatSetValuesIS(petsclib::$UnionPetscLib, mat::AbstractPetscMat, ism::AbstractIS, isn::AbstractIS, v::Vector{$PetscScalar}, addv::InsertMode ) @@ -24720,7 +24720,7 @@ See also: `Mat`, `MatAssemblyBegin()`, `MatAssemblyEnd()`, `MatSetValues()`, `Ma $(_doc_external("Mat/MatSetValuesLocal")) """ function MatSetValuesLocal(petsclib::PetscLibType, mat::AbstractPetscMat, nrow::Integer, irow::AbstractVector{<:Number}, ncol::Integer, icol::AbstractVector{<:Number}, v::AbstractVector{<:Number}, addv::InsertMode) - error("MatSetValuesLocal: no generated method for these argument types") + throw(MethodError(MatSetValuesLocal, (petsclib, mat, nrow, irow, ncol, icol, v, addv))) end @for_petsc function MatSetValuesLocal(petsclib::$UnionPetscLib, mat::AbstractPetscMat, nrow::$PetscInt, irow::Vector{$PetscInt}, ncol::$PetscInt, icol::Vector{$PetscInt}, v::Vector{$PetscScalar}, addv::InsertMode ) @@ -24756,7 +24756,7 @@ See also: `Mat`, `MatSetValues()`, `MatSetOption()`, `MatAssemblyBegin()`, `MatA $(_doc_external("Mat/MatSetValuesRow")) """ function MatSetValuesRow(petsclib::PetscLibType, mat::AbstractPetscMat, row::Integer, v::AbstractVector{<:Number}) - error("MatSetValuesRow: no generated method for these argument types") + throw(MethodError(MatSetValuesRow, (petsclib, mat, row, v))) end @for_petsc function MatSetValuesRow(petsclib::$UnionPetscLib, mat::AbstractPetscMat, row::$PetscInt, v::Vector{$PetscScalar} ) @@ -24792,7 +24792,7 @@ See also: `Mat`, `MatSetOption()`, `MatAssemblyBegin()`, `MatAssemblyEnd()`, `Ma $(_doc_external("Mat/MatSetValuesRowLocal")) """ function MatSetValuesRowLocal(petsclib::PetscLibType, mat::AbstractPetscMat, row::Integer, v::AbstractVector{<:Number}) - error("MatSetValuesRowLocal: no generated method for these argument types") + throw(MethodError(MatSetValuesRowLocal, (petsclib, mat, row, v))) end @for_petsc function MatSetValuesRowLocal(petsclib::$UnionPetscLib, mat::AbstractPetscMat, row::$PetscInt, v::Vector{$PetscScalar} ) @@ -24834,7 +24834,7 @@ See also: `Mat`, `DMDA`, `MatSetOption()`, `MatAssemblyBegin()`, `MatAssemblyEnd $(_doc_external("Mat/MatSetValuesStencil")) """ function MatSetValuesStencil(petsclib::PetscLibType, mat::AbstractPetscMat, m::Integer, idxm::Vector{MatStencil}, n::Integer, idxn::Vector{MatStencil}, v::AbstractVector{<:Number}, addv::InsertMode) - error("MatSetValuesStencil: no generated method for these argument types") + throw(MethodError(MatSetValuesStencil, (petsclib, mat, m, idxm, n, idxn, v, addv))) end @for_petsc function MatSetValuesStencil(petsclib::$UnionPetscLib, mat::AbstractPetscMat, m::$PetscInt, idxm::Vector{MatStencil}, n::$PetscInt, idxn::Vector{MatStencil}, v::Vector{$PetscScalar}, addv::InsertMode ) @@ -24870,7 +24870,7 @@ See also: `Mat`, `MatCreateSeqBAIJ()`, `MatCreateBAIJ()`, `MatGetBlockSize()`, ` $(_doc_external("Mat/MatSetVariableBlockSizes")) """ function MatSetVariableBlockSizes(petsclib::PetscLibType, mat::AbstractPetscMat, nblocks::Integer, bsizes::AbstractVector{<:Number}) - error("MatSetVariableBlockSizes: no generated method for these argument types") + throw(MethodError(MatSetVariableBlockSizes, (petsclib, mat, nblocks, bsizes))) end @for_petsc function MatSetVariableBlockSizes(petsclib::$UnionPetscLib, mat::AbstractPetscMat, nblocks::$PetscInt, bsizes::Vector{$PetscInt} ) @@ -24907,7 +24907,7 @@ See also: `Mat`, `VecType`, `VecSetType()`, `MatGetVecType()`, `MatCreateVecs()` $(_doc_external("Mat/MatSetVecType")) """ function MatSetVecType(petsclib::PetscLibType, mat::AbstractPetscMat, vtype::String) - error("MatSetVecType: no generated method for these argument types") + throw(MethodError(MatSetVecType, (petsclib, mat, vtype))) end @for_petsc function MatSetVecType(petsclib::$UnionPetscLib, mat::AbstractPetscMat, vtype::String ) @@ -24943,7 +24943,7 @@ See also: `Mat`, `MATSHELL`, `MatCreateShell()`, `MatShellSetOperation()`, `MatS $(_doc_external("Mat/MatShellGetContext")) """ function MatShellGetContext(petsclib::PetscLibType, mat::Union{Ptr, AbstractPetscMat}) - error("MatShellGetContext: no generated method for these argument types") + throw(MethodError(MatShellGetContext, (petsclib, mat))) end @for_petsc function MatShellGetContext(petsclib::$UnionPetscLib, mat::Union{Ptr, AbstractPetscMat} ) @@ -24982,7 +24982,7 @@ See also: `Mat`, `MATSHELL`, `MatCreateShell()`, `MatShellGetContext()`, `MatShe $(_doc_external("Mat/MatShellGetOperation")) """ function MatShellGetOperation(petsclib::PetscLibType, mat::AbstractPetscMat, op::MatOperation) - error("MatShellGetOperation: no generated method for these argument types") + throw(MethodError(MatShellGetOperation, (petsclib, mat, op))) end @for_petsc function MatShellGetOperation(petsclib::$UnionPetscLib, mat::AbstractPetscMat, op::MatOperation ) @@ -25018,7 +25018,7 @@ See also: `Mat`, `MATSHELL`, `MatCreateShell()`, `MatShellGetContext()`, `MatShe $(_doc_external("Mat/MatShellSetContext")) """ function MatShellSetContext(petsclib::PetscLibType, mat::AbstractPetscMat, ctx::Ptr{Cvoid}) - error("MatShellSetContext: no generated method for these argument types") + throw(MethodError(MatShellSetContext, (petsclib, mat, ctx))) end @for_petsc function MatShellSetContext(petsclib::$UnionPetscLib, mat::AbstractPetscMat, ctx::Ptr{Cvoid} ) @@ -25053,7 +25053,7 @@ See also: `Mat`, `MATSHELL`, `MatCreateShell()`, `MatShellSetContext()`, $(_doc_external("Mat/MatShellSetContextDestroy")) """ function MatShellSetContextDestroy(petsclib::PetscLibType, mat::AbstractPetscMat, f::Ptr{Cvoid}) - error("MatShellSetContextDestroy: no generated method for these argument types") + throw(MethodError(MatShellSetContextDestroy, (petsclib, mat, f))) end @for_petsc function MatShellSetContextDestroy(petsclib::$UnionPetscLib, mat::AbstractPetscMat, f::Ptr{Cvoid} ) @@ -25087,7 +25087,7 @@ See also: `Mat`, `MATSHELL`, `MatCreateShell()`, `MatShellGetContext()`, `MatShe $(_doc_external("Mat/MatShellSetManageScalingShifts")) """ function MatShellSetManageScalingShifts(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatShellSetManageScalingShifts: no generated method for these argument types") + throw(MethodError(MatShellSetManageScalingShifts, (petsclib, A))) end @for_petsc function MatShellSetManageScalingShifts(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -25126,7 +25126,7 @@ See also: `Mat`, `MATSHELL`, `MatCreateShell()`, `MatShellGetContext()`, `MatShe $(_doc_external("Mat/MatShellSetMatProductOperation")) """ function MatShellSetMatProductOperation(petsclib::PetscLibType, A::AbstractPetscMat, ptype::MatProductType, symbolic::Union{Ptr, external}, numeric::Union{Ptr, external}, destroy::Ptr{Cvoid}, Btype::String, Ctype::Union{Ptr, String}) - error("MatShellSetMatProductOperation: no generated method for these argument types") + throw(MethodError(MatShellSetMatProductOperation, (petsclib, A, ptype, symbolic, numeric, destroy, Btype, Ctype))) end @for_petsc function MatShellSetMatProductOperation(petsclib::$UnionPetscLib, A::AbstractPetscMat, ptype::MatProductType, symbolic::Union{Ptr, external}, numeric::Union{Ptr, external}, destroy::Ptr{Cvoid}, Btype::String, Ctype::Union{Ptr, String} ) @@ -25194,7 +25194,7 @@ See also: `Mat`, `MATSHELL`, `MatCreateVecs()` $(_doc_external("Mat/MatShellSetVecType")) """ function MatShellSetVecType(petsclib::PetscLibType, mat::AbstractPetscMat, vtype::String) - error("MatShellSetVecType: no generated method for these argument types") + throw(MethodError(MatShellSetVecType, (petsclib, mat, vtype))) end @for_petsc function MatShellSetVecType(petsclib::$UnionPetscLib, mat::AbstractPetscMat, vtype::String ) @@ -25236,7 +25236,7 @@ See also: `Mat`, `MATSHELL`, `MatCreateShell()`, `MatShellGetContext()`, `MatShe $(_doc_external("Mat/MatShellTestMult")) """ function MatShellTestMult(petsclib::PetscLibType, mat::AbstractPetscMat, f::external, base::AbstractPetscVec, ctx::Ptr{Cvoid}) - error("MatShellTestMult: no generated method for these argument types") + throw(MethodError(MatShellTestMult, (petsclib, mat, f, base, ctx))) end @for_petsc function MatShellTestMult(petsclib::$UnionPetscLib, mat::AbstractPetscMat, f::external, base::AbstractPetscVec, ctx::Ptr{Cvoid} ) @@ -25280,7 +25280,7 @@ See also: `Mat`, `MATSHELL`, `MatCreateShell()`, `MatShellGetContext()`, `MatShe $(_doc_external("Mat/MatShellTestMultTranspose")) """ function MatShellTestMultTranspose(petsclib::PetscLibType, mat::AbstractPetscMat, f::external, base::AbstractPetscVec, ctx::Ptr{Cvoid}) - error("MatShellTestMultTranspose: no generated method for these argument types") + throw(MethodError(MatShellTestMultTranspose, (petsclib, mat, f, base, ctx))) end @for_petsc function MatShellTestMultTranspose(petsclib::$UnionPetscLib, mat::AbstractPetscMat, f::external, base::AbstractPetscVec, ctx::Ptr{Cvoid} ) @@ -25316,7 +25316,7 @@ See also: `Mat`, `MatDiagonalSet()`, `MatScale()`, `MatDiagonalScale()` $(_doc_external("Mat/MatShift")) """ function MatShift(petsclib::PetscLibType, Y::AbstractPetscMat, a::Number) - error("MatShift: no generated method for these argument types") + throw(MethodError(MatShift, (petsclib, Y, a))) end @for_petsc function MatShift(petsclib::$UnionPetscLib, Y::AbstractPetscMat, a::$PetscScalar ) @@ -25353,7 +25353,7 @@ See also: `Mat`, Matrix Factorization, `MatGetFactor()`, `MatLUFactor()`, `MatSo $(_doc_external("Mat/MatSolve")) """ function MatSolve(petsclib::PetscLibType, mat::AbstractPetscMat, b::AbstractPetscVec, x::AbstractPetscVec) - error("MatSolve: no generated method for these argument types") + throw(MethodError(MatSolve, (petsclib, mat, b, x))) end @for_petsc function MatSolve(petsclib::$UnionPetscLib, mat::AbstractPetscMat, b::AbstractPetscVec, x::AbstractPetscVec ) @@ -25391,7 +25391,7 @@ See also: `Mat`, Matrix Factorization, `MatSolve()`, `MatGetFactor()`, `MatSolve $(_doc_external("Mat/MatSolveAdd")) """ function MatSolveAdd(petsclib::PetscLibType, mat::AbstractPetscMat, b::AbstractPetscVec, y::AbstractPetscVec, x::AbstractPetscVec) - error("MatSolveAdd: no generated method for these argument types") + throw(MethodError(MatSolveAdd, (petsclib, mat, b, y, x))) end @for_petsc function MatSolveAdd(petsclib::$UnionPetscLib, mat::AbstractPetscMat, b::AbstractPetscVec, y::AbstractPetscVec, x::AbstractPetscVec ) @@ -25428,7 +25428,7 @@ See also: `Mat`, `MatGetFactor()`, `KSP`, `MatSolve()`, `MatSolveAdd()`, `MatSol $(_doc_external("Mat/MatSolveTranspose")) """ function MatSolveTranspose(petsclib::PetscLibType, mat::AbstractPetscMat, b::AbstractPetscVec, x::AbstractPetscVec) - error("MatSolveTranspose: no generated method for these argument types") + throw(MethodError(MatSolveTranspose, (petsclib, mat, b, x))) end @for_petsc function MatSolveTranspose(petsclib::$UnionPetscLib, mat::AbstractPetscMat, b::AbstractPetscVec, x::AbstractPetscVec ) @@ -25467,7 +25467,7 @@ See also: `Mat`, `MatGetFactor()`, `MatSolve()`, `MatSolveAdd()`, `MatSolveTrans $(_doc_external("Mat/MatSolveTransposeAdd")) """ function MatSolveTransposeAdd(petsclib::PetscLibType, mat::AbstractPetscMat, b::AbstractPetscVec, y::AbstractPetscVec, x::AbstractPetscVec) - error("MatSolveTransposeAdd: no generated method for these argument types") + throw(MethodError(MatSolveTransposeAdd, (petsclib, mat, b, y, x))) end @for_petsc function MatSolveTransposeAdd(petsclib::$UnionPetscLib, mat::AbstractPetscMat, b::AbstractPetscVec, y::AbstractPetscVec, x::AbstractPetscVec ) @@ -25511,7 +25511,7 @@ See also: `Mat`, `MatFactorType`, `MatType`, `MatCopy()`, `MatDuplicate()`, `Mat $(_doc_external("Mat/MatSolverTypeGet")) """ function MatSolverTypeGet(petsclib::PetscLibType, type::String, mtype::String, ftype::MatFactorType, noname::Ptr{Cvoid}) - error("MatSolverTypeGet: no generated method for these argument types") + throw(MethodError(MatSolverTypeGet, (petsclib, type, mtype, ftype, noname))) end @for_petsc function MatSolverTypeGet(petsclib::$UnionPetscLib, type::String, mtype::String, ftype::MatFactorType, noname::Ptr{Cvoid} ) @@ -25552,7 +25552,7 @@ See also: `Mat`, Matrix Factorization, `MatFactorGetSolverType()`, `MatCopy()`, $(_doc_external("Mat/MatSolverTypeRegister")) """ function MatSolverTypeRegister(petsclib::PetscLibType, package::String, mtype::String, ftype::MatFactorType, createfactor::external) - error("MatSolverTypeRegister: no generated method for these argument types") + throw(MethodError(MatSolverTypeRegister, (petsclib, package, mtype, ftype, createfactor))) end @for_petsc function MatSolverTypeRegister(petsclib::$UnionPetscLib, package::String, mtype::String, ftype::MatFactorType, createfactor::external ) @@ -25589,7 +25589,7 @@ See also: `Mat`, `Vecs`, `MatSolveAdd()`, `MatSolveTranspose()`, `MatSolveTransp $(_doc_external("Mat/MatSolves")) """ function MatSolves(petsclib::PetscLibType, mat::AbstractPetscMat, b::Vecs, x::Vecs) - error("MatSolves: no generated method for these argument types") + throw(MethodError(MatSolves, (petsclib, mat, b, x))) end @for_petsc function MatSolves(petsclib::$UnionPetscLib, mat::AbstractPetscMat, b::Vecs, x::Vecs ) @@ -25629,7 +25629,7 @@ See also: `MatAssemblyBegin()`, `MatAssemblyEnd()`, `Mat`, `MatStashSetInitialSi $(_doc_external("Mat/MatStashGetInfo")) """ function MatStashGetInfo(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatStashGetInfo: no generated method for these argument types") + throw(MethodError(MatStashGetInfo, (petsclib, mat))) end @for_petsc function MatStashGetInfo(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -25678,7 +25678,7 @@ See also: `MatAssemblyBegin()`, `MatAssemblyEnd()`, `Mat`, `MatStashGetInfo()` $(_doc_external("Mat/MatStashSetInitialSize")) """ function MatStashSetInitialSize(petsclib::PetscLibType, mat::AbstractPetscMat, size::Integer, bsize::Integer) - error("MatStashSetInitialSize: no generated method for these argument types") + throw(MethodError(MatStashSetInitialSize, (petsclib, mat, size, bsize))) end @for_petsc function MatStashSetInitialSize(petsclib::$UnionPetscLib, mat::AbstractPetscMat, size::$PetscInt, bsize::$PetscInt ) @@ -25712,7 +25712,7 @@ See also: `Mat`, `MatRetrieveValues()` $(_doc_external("Mat/MatStoreValues")) """ function MatStoreValues(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatStoreValues: no generated method for these argument types") + throw(MethodError(MatStoreValues, (petsclib, mat))) end @for_petsc function MatStoreValues(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -25748,7 +25748,7 @@ See also: `Mat`, `MATSUBMATRIX`, `MatCreateSubMatrixVirtual()` $(_doc_external("Mat/MatSubMatrixVirtualUpdate")) """ function MatSubMatrixVirtualUpdate(petsclib::PetscLibType, N::AbstractPetscMat, A::AbstractPetscMat, isrow::AbstractIS, iscol::AbstractIS) - error("MatSubMatrixVirtualUpdate: no generated method for these argument types") + throw(MethodError(MatSubMatrixVirtualUpdate, (petsclib, N, A, isrow, iscol))) end @for_petsc function MatSubMatrixVirtualUpdate(petsclib::$UnionPetscLib, N::AbstractPetscMat, A::AbstractPetscMat, isrow::AbstractIS, iscol::AbstractIS ) @@ -25786,7 +25786,7 @@ See also: `Mat`, `IS` $(_doc_external("Mat/MatSubdomainsCreateCoalesce")) """ function MatSubdomainsCreateCoalesce(petsclib::PetscLibType, A::AbstractPetscMat, N::Integer) - error("MatSubdomainsCreateCoalesce: no generated method for these argument types") + throw(MethodError(MatSubdomainsCreateCoalesce, (petsclib, A, N))) end @for_petsc function MatSubdomainsCreateCoalesce(petsclib::$UnionPetscLib, A::AbstractPetscMat, N::$PetscInt ) @@ -25827,7 +25827,7 @@ See also: `Mat`, `MATSOLVERSUPERLU_DIST`, `MatGetFactor()`, `MatLUFactorSymbolic $(_doc_external("Mat/MatSuperluDistGetDiagU")) """ function MatSuperluDistGetDiagU(petsclib::PetscLibType, F::AbstractPetscMat) - error("MatSuperluDistGetDiagU: no generated method for these argument types") + throw(MethodError(MatSuperluDistGetDiagU, (petsclib, F))) end @for_petsc function MatSuperluDistGetDiagU(petsclib::$UnionPetscLib, F::AbstractPetscMat ) @@ -25866,7 +25866,7 @@ See also: `Mat`, `MatGetFactor()`, `MATSOLVERSUPERLU` $(_doc_external("Mat/MatSuperluSetILUDropTol")) """ function MatSuperluSetILUDropTol(petsclib::PetscLibType, F::AbstractPetscMat, dtol::Real) - error("MatSuperluSetILUDropTol: no generated method for these argument types") + throw(MethodError(MatSuperluSetILUDropTol, (petsclib, F, dtol))) end @for_petsc function MatSuperluSetILUDropTol(petsclib::$UnionPetscLib, F::AbstractPetscMat, dtol::$PetscReal ) @@ -25906,7 +25906,7 @@ See also: `Mat`, `MatTransposeColoringCreate()`, `MatTransposeColoringDestroy()` $(_doc_external("Mat/MatTransColoringApplyDenToSp")) """ function MatTransColoringApplyDenToSp(petsclib::PetscLibType, matcoloring::MatTransposeColoring, Cden::AbstractPetscMat, Csp::AbstractPetscMat) - error("MatTransColoringApplyDenToSp: no generated method for these argument types") + throw(MethodError(MatTransColoringApplyDenToSp, (petsclib, matcoloring, Cden, Csp))) end @for_petsc function MatTransColoringApplyDenToSp(petsclib::$UnionPetscLib, matcoloring::MatTransposeColoring, Cden::AbstractPetscMat, Csp::AbstractPetscMat ) @@ -25945,7 +25945,7 @@ See also: `Mat`, `MatTransposeColoringCreate()`, `MatTransposeColoringDestroy()` $(_doc_external("Mat/MatTransColoringApplySpToDen")) """ function MatTransColoringApplySpToDen(petsclib::PetscLibType, coloring::MatTransposeColoring, B::AbstractPetscMat, Btdense::AbstractPetscMat) - error("MatTransColoringApplySpToDen: no generated method for these argument types") + throw(MethodError(MatTransColoringApplySpToDen, (petsclib, coloring, B, Btdense))) end @for_petsc function MatTransColoringApplySpToDen(petsclib::$UnionPetscLib, coloring::MatTransposeColoring, B::AbstractPetscMat, Btdense::AbstractPetscMat ) @@ -25983,7 +25983,7 @@ See also: `Mat`, `MatTransposeSetPrecursor()`, `MatMultTranspose()`, `MatMultTra $(_doc_external("Mat/MatTranspose")) """ function MatTranspose(petsclib::PetscLibType, mat::AbstractPetscMat, reuse::MatReuse) - error("MatTranspose: no generated method for these argument types") + throw(MethodError(MatTranspose, (petsclib, mat, reuse))) end @for_petsc function MatTranspose(petsclib::$UnionPetscLib, mat::AbstractPetscMat, reuse::MatReuse ) @@ -26021,7 +26021,7 @@ See also: `Mat`, `MATTRANSPOSEVIRTUAL`, `MatCreateTranspose()` $(_doc_external("Mat/MatTransposeGetMat")) """ function MatTransposeGetMat(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatTransposeGetMat: no generated method for these argument types") + throw(MethodError(MatTransposeGetMat, (petsclib, A))) end @for_petsc function MatTransposeGetMat(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -26062,7 +26062,7 @@ See also: `Mat`, `MatProductCreate()`, `MATPRODUCT_AtB`, `MatMatMult()`, `MatMat $(_doc_external("Mat/MatTransposeMatMult")) """ function MatTransposeMatMult(petsclib::PetscLibType, A::AbstractPetscMat, B::AbstractPetscMat, scall::MatReuse, fill::Real) - error("MatTransposeMatMult: no generated method for these argument types") + throw(MethodError(MatTransposeMatMult, (petsclib, A, B, scall, fill))) end @for_petsc function MatTransposeMatMult(petsclib::$UnionPetscLib, A::AbstractPetscMat, B::AbstractPetscMat, scall::MatReuse, fill::$PetscReal ) @@ -26103,7 +26103,7 @@ See also: `Mat`, `MatMatMultEqual()`, `MatMultEqual()`, `MatMultAddEqual()`, `Ma $(_doc_external("Mat/MatTransposeMatMultEqual")) """ function MatTransposeMatMultEqual(petsclib::PetscLibType, A::AbstractPetscMat, B::AbstractPetscMat, C::AbstractPetscMat, n::Integer) - error("MatTransposeMatMultEqual: no generated method for these argument types") + throw(MethodError(MatTransposeMatMultEqual, (petsclib, A, B, C, n))) end @for_petsc function MatTransposeMatMultEqual(petsclib::$UnionPetscLib, A::AbstractPetscMat, B::AbstractPetscMat, C::AbstractPetscMat, n::$PetscInt ) @@ -26142,7 +26142,7 @@ See also: `Mat`, `MatTransposeSymbolic()`, `MatTranspose()`, `MatMultTranspose() $(_doc_external("Mat/MatTransposeSetPrecursor")) """ function MatTransposeSetPrecursor(petsclib::PetscLibType, mat::AbstractPetscMat, B::AbstractPetscMat) - error("MatTransposeSetPrecursor: no generated method for these argument types") + throw(MethodError(MatTransposeSetPrecursor, (petsclib, mat, B))) end @for_petsc function MatTransposeSetPrecursor(petsclib::$UnionPetscLib, mat::AbstractPetscMat, B::AbstractPetscMat ) @@ -26179,7 +26179,7 @@ See also: `Mat`, `MatTransposeSetPrecursor()`, `MatTranspose()`, `MatMultTranspo $(_doc_external("Mat/MatTransposeSymbolic")) """ function MatTransposeSymbolic(petsclib::PetscLibType, A::AbstractPetscMat) - error("MatTransposeSymbolic: no generated method for these argument types") + throw(MethodError(MatTransposeSymbolic, (petsclib, A))) end @for_petsc function MatTransposeSymbolic(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -26216,7 +26216,7 @@ See also: `Mat`, `MatCreate()`, `MatCreateSeqAIJ()`, `MatSetValues()`, `MatMPIAI $(_doc_external("Mat/MatUpdateMPIAIJWithArray")) """ function MatUpdateMPIAIJWithArray(petsclib::PetscLibType, mat::AbstractPetscMat, v::AbstractVector{<:Number}) - error("MatUpdateMPIAIJWithArray: no generated method for these argument types") + throw(MethodError(MatUpdateMPIAIJWithArray, (petsclib, mat, v))) end @for_petsc function MatUpdateMPIAIJWithArray(petsclib::$UnionPetscLib, mat::AbstractPetscMat, v::Vector{$PetscScalar} ) @@ -26263,7 +26263,7 @@ See also: `Mat`, `MATMPIAIJ`, `MatCreate()`, `MatCreateSeqAIJ()`, `MatSetValues( $(_doc_external("Mat/MatUpdateMPIAIJWithArrays")) """ function MatUpdateMPIAIJWithArrays(petsclib::PetscLibType, mat::AbstractPetscMat, m::Integer, n::Integer, M_M::Integer, M_N::Integer, Ii::AbstractVector{<:Number}, J::AbstractVector{<:Number}, v::AbstractVector{<:Number}) - error("MatUpdateMPIAIJWithArrays: no generated method for these argument types") + throw(MethodError(MatUpdateMPIAIJWithArrays, (petsclib, mat, m, n, M_M, M_N, Ii, J, v))) end @for_petsc function MatUpdateMPIAIJWithArrays(petsclib::$UnionPetscLib, mat::AbstractPetscMat, m::$PetscInt, n::$PetscInt, M_M::$PetscInt, M_N::$PetscInt, Ii::Vector{$PetscInt}, J::Vector{$PetscInt}, v::Vector{$PetscScalar} ) @@ -26312,7 +26312,7 @@ See also: `Mat`, `PetscViewerPushFormat()`, `PetscViewerASCIIOpen()`, `PetscView $(_doc_external("Mat/MatView")) """ function MatView(petsclib::PetscLibType, mat::AbstractPetscMat, viewer::PetscViewer) - error("MatView: no generated method for these argument types") + throw(MethodError(MatView, (petsclib, mat, viewer))) end @for_petsc function MatView(petsclib::$UnionPetscLib, mat::AbstractPetscMat, viewer::PetscViewer ) @@ -26350,7 +26350,7 @@ See also: `Mat`, `MatView()`, `PetscObjectViewFromOptions()`, `MatCreate()` $(_doc_external("Mat/MatViewFromOptions")) """ function MatViewFromOptions(petsclib::PetscLibType, A::AbstractPetscMat, obj, name::String) - error("MatViewFromOptions: no generated method for these argument types") + throw(MethodError(MatViewFromOptions, (petsclib, A, obj, name))) end @for_petsc function MatViewFromOptions(petsclib::$UnionPetscLib, A::AbstractPetscMat, obj, name::String ) @@ -26390,7 +26390,7 @@ See also: `Mat`, `MatSeqAIJSetPreallocation()`, `MatMPIAIJSetPreallocation()`, ` $(_doc_external("Mat/MatXAIJSetPreallocation")) """ function MatXAIJSetPreallocation(petsclib::PetscLibType, A::AbstractPetscMat, bs::Integer, dnnz::Union{Ptr, AbstractVector{<:Number}}, onnz::Union{Ptr, AbstractVector{<:Number}}, dnnzu::Union{Ptr, AbstractVector{<:Number}}, onnzu::Union{Ptr, AbstractVector{<:Number}}) - error("MatXAIJSetPreallocation: no generated method for these argument types") + throw(MethodError(MatXAIJSetPreallocation, (petsclib, A, bs, dnnz, onnz, dnnzu, onnzu))) end @for_petsc function MatXAIJSetPreallocation(petsclib::$UnionPetscLib, A::AbstractPetscMat, bs::$PetscInt, dnnz::Union{Ptr, Vector{$PetscInt}}, onnz::Union{Ptr, Vector{$PetscInt}}, dnnzu::Union{Ptr, Vector{$PetscInt}}, onnzu::Union{Ptr, Vector{$PetscInt}} ) @@ -26424,7 +26424,7 @@ See also: `Mat`, `MatZeroRows()`, `MatZeroRowsColumns()` $(_doc_external("Mat/MatZeroEntries")) """ function MatZeroEntries(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatZeroEntries: no generated method for these argument types") + throw(MethodError(MatZeroEntries, (petsclib, mat))) end @for_petsc function MatZeroEntries(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -26464,7 +26464,7 @@ See also: `Mat`, `MatZeroRowsIS()`, `MatZeroRowsColumns()`, `MatZeroRowsLocalIS( $(_doc_external("Mat/MatZeroRows")) """ function MatZeroRows(petsclib::PetscLibType, mat::AbstractPetscMat, numRows::Integer, rows::AbstractVector{<:Number}, diag::Number, x::AbstractPetscVec, b::AbstractPetscVec) - error("MatZeroRows: no generated method for these argument types") + throw(MethodError(MatZeroRows, (petsclib, mat, numRows, rows, diag, x, b))) end @for_petsc function MatZeroRows(petsclib::$UnionPetscLib, mat::AbstractPetscMat, numRows::$PetscInt, rows::Vector{$PetscInt}, diag::$PetscScalar, x::AbstractPetscVec, b::AbstractPetscVec ) @@ -26504,7 +26504,7 @@ See also: `Mat`, `MatZeroRowsIS()`, `MatZeroRows()`, `MatZeroRowsLocalIS()`, `Ma $(_doc_external("Mat/MatZeroRowsColumns")) """ function MatZeroRowsColumns(petsclib::PetscLibType, mat::AbstractPetscMat, numRows::Integer, rows::AbstractVector{<:Number}, diag::Number, x::AbstractPetscVec, b::AbstractPetscVec) - error("MatZeroRowsColumns: no generated method for these argument types") + throw(MethodError(MatZeroRowsColumns, (petsclib, mat, numRows, rows, diag, x, b))) end @for_petsc function MatZeroRowsColumns(petsclib::$UnionPetscLib, mat::AbstractPetscMat, numRows::$PetscInt, rows::Vector{$PetscInt}, diag::$PetscScalar, x::AbstractPetscVec, b::AbstractPetscVec ) @@ -26543,7 +26543,7 @@ See also: `Mat`, `MatZeroRowsIS()`, `MatZeroRowsColumns()`, `MatZeroRowsLocalIS( $(_doc_external("Mat/MatZeroRowsColumnsIS")) """ function MatZeroRowsColumnsIS(petsclib::PetscLibType, mat::AbstractPetscMat, is::AbstractIS, diag::Number, x::AbstractPetscVec, b::AbstractPetscVec) - error("MatZeroRowsColumnsIS: no generated method for these argument types") + throw(MethodError(MatZeroRowsColumnsIS, (petsclib, mat, is, diag, x, b))) end @for_petsc function MatZeroRowsColumnsIS(petsclib::$UnionPetscLib, mat::AbstractPetscMat, is::AbstractIS, diag::$PetscScalar, x::AbstractPetscVec, b::AbstractPetscVec ) @@ -26583,7 +26583,7 @@ See also: `Mat`, `MatZeroRowsIS()`, `MatZeroRowsColumns()`, `MatZeroRowsLocalIS( $(_doc_external("Mat/MatZeroRowsColumnsLocal")) """ function MatZeroRowsColumnsLocal(petsclib::PetscLibType, mat::AbstractPetscMat, numRows::Integer, rows::AbstractVector{<:Number}, diag::Number, x::AbstractPetscVec, b::AbstractPetscVec) - error("MatZeroRowsColumnsLocal: no generated method for these argument types") + throw(MethodError(MatZeroRowsColumnsLocal, (petsclib, mat, numRows, rows, diag, x, b))) end @for_petsc function MatZeroRowsColumnsLocal(petsclib::$UnionPetscLib, mat::AbstractPetscMat, numRows::$PetscInt, rows::Vector{$PetscInt}, diag::$PetscScalar, x::AbstractPetscVec, b::AbstractPetscVec ) @@ -26622,7 +26622,7 @@ See also: `Mat`, `MatZeroRowsIS()`, `MatZeroRowsColumns()`, `MatZeroRowsLocalIS( $(_doc_external("Mat/MatZeroRowsColumnsLocalIS")) """ function MatZeroRowsColumnsLocalIS(petsclib::PetscLibType, mat::AbstractPetscMat, is::AbstractIS, diag::Number, x::AbstractPetscVec, b::AbstractPetscVec) - error("MatZeroRowsColumnsLocalIS: no generated method for these argument types") + throw(MethodError(MatZeroRowsColumnsLocalIS, (petsclib, mat, is, diag, x, b))) end @for_petsc function MatZeroRowsColumnsLocalIS(petsclib::$UnionPetscLib, mat::AbstractPetscMat, is::AbstractIS, diag::$PetscScalar, x::AbstractPetscVec, b::AbstractPetscVec ) @@ -26662,7 +26662,7 @@ See also: `Mat`, `MatZeroRowsIS()`, `MatZeroRowsColumns()`, `MatZeroRowsLocalIS( $(_doc_external("Mat/MatZeroRowsColumnsStencil")) """ function MatZeroRowsColumnsStencil(petsclib::PetscLibType, mat::AbstractPetscMat, numRows::Integer, rows::Vector{MatStencil}, diag::Number, x::AbstractPetscVec, b::AbstractPetscVec) - error("MatZeroRowsColumnsStencil: no generated method for these argument types") + throw(MethodError(MatZeroRowsColumnsStencil, (petsclib, mat, numRows, rows, diag, x, b))) end @for_petsc function MatZeroRowsColumnsStencil(petsclib::$UnionPetscLib, mat::AbstractPetscMat, numRows::$PetscInt, rows::Vector{MatStencil}, diag::$PetscScalar, x::AbstractPetscVec, b::AbstractPetscVec ) @@ -26701,7 +26701,7 @@ See also: `Mat`, `MatZeroRows()`, `MatZeroRowsColumns()`, `MatZeroRowsLocalIS()` $(_doc_external("Mat/MatZeroRowsIS")) """ function MatZeroRowsIS(petsclib::PetscLibType, mat::AbstractPetscMat, is::Union{Ptr, AbstractIS}, diag::Number, x::AbstractPetscVec, b::AbstractPetscVec) - error("MatZeroRowsIS: no generated method for these argument types") + throw(MethodError(MatZeroRowsIS, (petsclib, mat, is, diag, x, b))) end @for_petsc function MatZeroRowsIS(petsclib::$UnionPetscLib, mat::AbstractPetscMat, is::Union{Ptr, AbstractIS}, diag::$PetscScalar, x::AbstractPetscVec, b::AbstractPetscVec ) @@ -26741,7 +26741,7 @@ See also: `Mat`, `MatZeroRowsIS()`, `MatZeroRowsColumns()`, `MatZeroRowsLocalIS( $(_doc_external("Mat/MatZeroRowsLocal")) """ function MatZeroRowsLocal(petsclib::PetscLibType, mat::AbstractPetscMat, numRows::Integer, rows::AbstractVector{<:Number}, diag::Number, x::AbstractPetscVec, b::AbstractPetscVec) - error("MatZeroRowsLocal: no generated method for these argument types") + throw(MethodError(MatZeroRowsLocal, (petsclib, mat, numRows, rows, diag, x, b))) end @for_petsc function MatZeroRowsLocal(petsclib::$UnionPetscLib, mat::AbstractPetscMat, numRows::$PetscInt, rows::Vector{$PetscInt}, diag::$PetscScalar, x::AbstractPetscVec, b::AbstractPetscVec ) @@ -26780,7 +26780,7 @@ See also: `Mat`, `MatZeroRowsIS()`, `MatZeroRowsColumns()`, `MatZeroRows()`, `Ma $(_doc_external("Mat/MatZeroRowsLocalIS")) """ function MatZeroRowsLocalIS(petsclib::PetscLibType, mat::AbstractPetscMat, is::AbstractIS, diag::Number, x::AbstractPetscVec, b::AbstractPetscVec) - error("MatZeroRowsLocalIS: no generated method for these argument types") + throw(MethodError(MatZeroRowsLocalIS, (petsclib, mat, is, diag, x, b))) end @for_petsc function MatZeroRowsLocalIS(petsclib::$UnionPetscLib, mat::AbstractPetscMat, is::AbstractIS, diag::$PetscScalar, x::AbstractPetscVec, b::AbstractPetscVec ) @@ -26820,7 +26820,7 @@ See also: `Mat`, `MatStencil`, `MatZeroRowsIS()`, `MatZeroRowsColumns()`, `MatZe $(_doc_external("Mat/MatZeroRowsStencil")) """ function MatZeroRowsStencil(petsclib::PetscLibType, mat::AbstractPetscMat, numRows::Integer, rows::Vector{MatStencil}, diag::Number, x::AbstractPetscVec, b::AbstractPetscVec) - error("MatZeroRowsStencil: no generated method for these argument types") + throw(MethodError(MatZeroRowsStencil, (petsclib, mat, numRows, rows, diag, x, b))) end @for_petsc function MatZeroRowsStencil(petsclib::$UnionPetscLib, mat::AbstractPetscMat, numRows::$PetscInt, rows::Vector{MatStencil}, diag::$PetscScalar, x::AbstractPetscVec, b::AbstractPetscVec ) diff --git a/src/autowrapped/Mataddons_wrappers.jl b/src/autowrapped/Mataddons_wrappers.jl index 4ecef0be6..f4dbcf026 100644 --- a/src/autowrapped/Mataddons_wrappers.jl +++ b/src/autowrapped/Mataddons_wrappers.jl @@ -21,7 +21,7 @@ See also: `MatCoarsen`, `MatCoarsenSetFromOptions()`, `MatCoarsenSetType()`, `Ma $(_doc_external("MatGraphOperations/MatCoarsenApply")) """ function MatCoarsenApply(petsclib::PetscLibType, coarser::MatCoarsen) - error("MatCoarsenApply: no generated method for these argument types") + throw(MethodError(MatCoarsenApply, (petsclib, coarser))) end @for_petsc function MatCoarsenApply(petsclib::$UnionPetscLib, coarser::MatCoarsen ) @@ -58,7 +58,7 @@ See also: `MatCoarsen`, `MatCoarsenSetType()`, `MatCoarsenApply()`, `MatCoarsenD $(_doc_external("MatGraphOperations/MatCoarsenCreate")) """ function MatCoarsenCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("MatCoarsenCreate: no generated method for these argument types") + throw(MethodError(MatCoarsenCreate, (petsclib, comm))) end @for_petsc function MatCoarsenCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -93,7 +93,7 @@ See also: `MatCoarsen`, `MatCoarsenCreate()` $(_doc_external("MatGraphOperations/MatCoarsenDestroy")) """ function MatCoarsenDestroy(petsclib::PetscLibType, agg::Union{MatCoarsen, Ref{MatCoarsen}}) - error("MatCoarsenDestroy: no generated method for these argument types") + throw(MethodError(MatCoarsenDestroy, (petsclib, agg))) end @for_petsc function MatCoarsenDestroy(petsclib::$UnionPetscLib, agg::Union{MatCoarsen, Ref{MatCoarsen}} ) @@ -130,7 +130,7 @@ See also: `MatCoarsen`, `MatCoarsenApply()`, `MatCoarsenCreate()`, `MatCoarsenSe $(_doc_external("MatGraphOperations/MatCoarsenGetData")) """ function MatCoarsenGetData(petsclib::PetscLibType, coarser::MatCoarsen) - error("MatCoarsenGetData: no generated method for these argument types") + throw(MethodError(MatCoarsenGetData, (petsclib, coarser))) end @for_petsc function MatCoarsenGetData(petsclib::$UnionPetscLib, coarser::MatCoarsen ) @@ -169,7 +169,7 @@ See also: `MatCoarsen`, `MatCoarsenCreate()`, `MatCoarsenType`, `MatCoarsenSetTy $(_doc_external("MatGraphOperations/MatCoarsenGetType")) """ function MatCoarsenGetType(petsclib::PetscLibType, coarsen::MatCoarsen) - error("MatCoarsenGetType: no generated method for these argument types") + throw(MethodError(MatCoarsenGetType, (petsclib, coarsen))) end @for_petsc function MatCoarsenGetType(petsclib::$UnionPetscLib, coarsen::MatCoarsen ) @@ -209,7 +209,7 @@ See also: `MATCOARSENMISK`, `MatCoarsen`, `MatCoarsenSetFromOptions()`, `MatCoar $(_doc_external("MatGraphOperations/MatCoarsenMISKGetDistance")) """ function MatCoarsenMISKGetDistance(petsclib::PetscLibType, crs::MatCoarsen) - error("MatCoarsenMISKGetDistance: no generated method for these argument types") + throw(MethodError(MatCoarsenMISKGetDistance, (petsclib, crs))) end @for_petsc function MatCoarsenMISKGetDistance(petsclib::$UnionPetscLib, crs::MatCoarsen ) @@ -250,7 +250,7 @@ See also: `MATCOARSENMISK`, `MatCoarsen`, `MatCoarsenSetFromOptions()`, `MatCoar $(_doc_external("MatGraphOperations/MatCoarsenMISKSetDistance")) """ function MatCoarsenMISKSetDistance(petsclib::PetscLibType, crs::MatCoarsen, k::Integer) - error("MatCoarsenMISKSetDistance: no generated method for these argument types") + throw(MethodError(MatCoarsenMISKSetDistance, (petsclib, crs, k))) end @for_petsc function MatCoarsenMISKSetDistance(petsclib::$UnionPetscLib, crs::MatCoarsen, k::$PetscInt ) @@ -284,7 +284,7 @@ See also: `MatCoarsen`, `MatCoarsenType`, `MatCoarsenSetType()`, `MatCoarsenCrea $(_doc_external("MatGraphOperations/MatCoarsenRegister")) """ function MatCoarsenRegister(petsclib::PetscLibType, sname::String, fnc::external) - error("MatCoarsenRegister: no generated method for these argument types") + throw(MethodError(MatCoarsenRegister, (petsclib, sname, fnc))) end @for_petsc function MatCoarsenRegister(petsclib::$UnionPetscLib, sname::String, fnc::external ) @@ -318,7 +318,7 @@ See also: `MatCoarsen`, `MatCoarsenSetFromOptions()`, `Mat`, `MatCoarsenCreate() $(_doc_external("MatGraphOperations/MatCoarsenSetAdjacency")) """ function MatCoarsenSetAdjacency(petsclib::PetscLibType, agg::MatCoarsen, adj::AbstractPetscMat) - error("MatCoarsenSetAdjacency: no generated method for these argument types") + throw(MethodError(MatCoarsenSetAdjacency, (petsclib, agg, adj))) end @for_petsc function MatCoarsenSetAdjacency(petsclib::$UnionPetscLib, agg::MatCoarsen, adj::AbstractPetscMat ) @@ -357,7 +357,7 @@ See also: `MatCoarsen`, `MatCoarsenType`, `MatCoarsenApply()`, `MatCoarsenCreate $(_doc_external("MatGraphOperations/MatCoarsenSetFromOptions")) """ function MatCoarsenSetFromOptions(petsclib::PetscLibType, coarser::MatCoarsen) - error("MatCoarsenSetFromOptions: no generated method for these argument types") + throw(MethodError(MatCoarsenSetFromOptions, (petsclib, coarser))) end @for_petsc function MatCoarsenSetFromOptions(petsclib::$UnionPetscLib, coarser::MatCoarsen ) @@ -391,7 +391,7 @@ See also: `MatCoarsen`, `MatCoarsenType`, `MatCoarsenCreate()`, `MatCoarsenSetTy $(_doc_external("MatGraphOperations/MatCoarsenSetGreedyOrdering")) """ function MatCoarsenSetGreedyOrdering(petsclib::PetscLibType, coarser::MatCoarsen, perm::AbstractIS) - error("MatCoarsenSetGreedyOrdering: no generated method for these argument types") + throw(MethodError(MatCoarsenSetGreedyOrdering, (petsclib, coarser, perm))) end @for_petsc function MatCoarsenSetGreedyOrdering(petsclib::$UnionPetscLib, coarser::MatCoarsen, perm::AbstractIS ) @@ -428,7 +428,7 @@ See also: `MatCoarsen`, `MatCoarsenType`, `MatCoarsenApply()`, `MatCoarsenCreate $(_doc_external("MatGraphOperations/MatCoarsenSetMaximumIterations")) """ function MatCoarsenSetMaximumIterations(petsclib::PetscLibType, coarse::MatCoarsen, n::Integer) - error("MatCoarsenSetMaximumIterations: no generated method for these argument types") + throw(MethodError(MatCoarsenSetMaximumIterations, (petsclib, coarse, n))) end @for_petsc function MatCoarsenSetMaximumIterations(petsclib::$UnionPetscLib, coarse::MatCoarsen, n::$PetscInt ) @@ -466,7 +466,7 @@ See also: `MatCoarsen`, `MatCoarsenType`, `MatCoarsenApply()`, `MatCoarsenCreate $(_doc_external("MatGraphOperations/MatCoarsenSetStrengthIndex")) """ function MatCoarsenSetStrengthIndex(petsclib::PetscLibType, coarse::MatCoarsen, n::Integer, idx::AbstractVector{<:Number}) - error("MatCoarsenSetStrengthIndex: no generated method for these argument types") + throw(MethodError(MatCoarsenSetStrengthIndex, (petsclib, coarse, n, idx))) end @for_petsc function MatCoarsenSetStrengthIndex(petsclib::$UnionPetscLib, coarse::MatCoarsen, n::$PetscInt, idx::Vector{$PetscInt} ) @@ -500,7 +500,7 @@ See also: `MatCoarsen`, `MatCoarsenCreate()`, `MatCoarsenSetFromOptions()` $(_doc_external("MatGraphOperations/MatCoarsenSetStrictAggs")) """ function MatCoarsenSetStrictAggs(petsclib::PetscLibType, agg::MatCoarsen, str::PetscBool) - error("MatCoarsenSetStrictAggs: no generated method for these argument types") + throw(MethodError(MatCoarsenSetStrictAggs, (petsclib, agg, str))) end @for_petsc function MatCoarsenSetStrictAggs(petsclib::$UnionPetscLib, agg::MatCoarsen, str::PetscBool ) @@ -537,7 +537,7 @@ See also: `MatCoarsen`, `MatCoarsenType`, `MatCoarsenApply()`, `MatCoarsenCreate $(_doc_external("MatGraphOperations/MatCoarsenSetThreshold")) """ function MatCoarsenSetThreshold(petsclib::PetscLibType, coarse::MatCoarsen, b::Real) - error("MatCoarsenSetThreshold: no generated method for these argument types") + throw(MethodError(MatCoarsenSetThreshold, (petsclib, coarse, b))) end @for_petsc function MatCoarsenSetThreshold(petsclib::$UnionPetscLib, coarse::MatCoarsen, b::$PetscReal ) @@ -574,7 +574,7 @@ See also: `MatCoarsen`, `MatCoarsenCreate()`, `MatCoarsenApply()`, `MatCoarsenTy $(_doc_external("MatGraphOperations/MatCoarsenSetType")) """ function MatCoarsenSetType(petsclib::PetscLibType, coarser::MatCoarsen, type::String) - error("MatCoarsenSetType: no generated method for these argument types") + throw(MethodError(MatCoarsenSetType, (petsclib, coarser, type))) end @for_petsc function MatCoarsenSetType(petsclib::$UnionPetscLib, coarser::MatCoarsen, type::String ) @@ -610,7 +610,7 @@ See also: `MatCoarsen`, `PetscViewer`, `PetscViewerASCIIOpen()`, `MatCoarsenView $(_doc_external("MatGraphOperations/MatCoarsenView")) """ function MatCoarsenView(petsclib::PetscLibType, agg::MatCoarsen, viewer::PetscViewer) - error("MatCoarsenView: no generated method for these argument types") + throw(MethodError(MatCoarsenView, (petsclib, agg, viewer))) end @for_petsc function MatCoarsenView(petsclib::$UnionPetscLib, agg::MatCoarsen, viewer::PetscViewer ) @@ -648,7 +648,7 @@ See also: `MatCoarsen`, `MatCoarsenView()`, `PetscObjectViewFromOptions()`, `Mat $(_doc_external("MatGraphOperations/MatCoarsenViewFromOptions")) """ function MatCoarsenViewFromOptions(petsclib::PetscLibType, A::MatCoarsen, obj, name::String) - error("MatCoarsenViewFromOptions: no generated method for these argument types") + throw(MethodError(MatCoarsenViewFromOptions, (petsclib, A, obj, name))) end @for_petsc function MatCoarsenViewFromOptions(petsclib::$UnionPetscLib, A::MatCoarsen, obj, name::String ) @@ -686,7 +686,7 @@ See also: `ISColoring`, `MatColoring`, `MatColoringCreate()` $(_doc_external("MatGraphOperations/MatColoringApply")) """ function MatColoringApply(petsclib::PetscLibType, mc::MatColoring) - error("MatColoringApply: no generated method for these argument types") + throw(MethodError(MatColoringApply, (petsclib, mc))) end @for_petsc function MatColoringApply(petsclib::$UnionPetscLib, mc::MatColoring ) @@ -732,7 +732,7 @@ See also: `MatColoringSetFromOptions()`, `MatColoring`, `MatColoringApply()`, `M $(_doc_external("MatGraphOperations/MatColoringCreate")) """ function MatColoringCreate(petsclib::PetscLibType, m::AbstractPetscMat) - error("MatColoringCreate: no generated method for these argument types") + throw(MethodError(MatColoringCreate, (petsclib, m))) end @for_petsc function MatColoringCreate(petsclib::$UnionPetscLib, m::AbstractPetscMat ) @@ -772,7 +772,7 @@ See also: `MatColoring`, `MatColoringWeightType`, `MatColoringSetWeights()`, `Ma $(_doc_external("MatGraphOperations/MatColoringCreateWeights")) """ function MatColoringCreateWeights(petsclib::PetscLibType, mc::MatColoring) - error("MatColoringCreateWeights: no generated method for these argument types") + throw(MethodError(MatColoringCreateWeights, (petsclib, mc))) end @for_petsc function MatColoringCreateWeights(petsclib::$UnionPetscLib, mc::MatColoring ) @@ -809,7 +809,7 @@ See also: `MatColoring`, `MatColoringCreate()`, `MatColoringApply()` $(_doc_external("MatGraphOperations/MatColoringDestroy")) """ function MatColoringDestroy(petsclib::PetscLibType, mc::Union{MatColoring, Ref{MatColoring}}) - error("MatColoringDestroy: no generated method for these argument types") + throw(MethodError(MatColoringDestroy, (petsclib, mc))) end @for_petsc function MatColoringDestroy(petsclib::$UnionPetscLib, mc::Union{MatColoring, Ref{MatColoring}} ) @@ -847,7 +847,7 @@ See also: `MatColoring`, `MatColoringCreateWeights()`, `MatColoringSetWeights()` $(_doc_external("MatGraphOperations/MatColoringGetDegrees")) """ function MatColoringGetDegrees(petsclib::PetscLibType, G::AbstractPetscMat, distance::Integer) - error("MatColoringGetDegrees: no generated method for these argument types") + throw(MethodError(MatColoringGetDegrees, (petsclib, G, distance))) end @for_petsc function MatColoringGetDegrees(petsclib::$UnionPetscLib, G::AbstractPetscMat, distance::$PetscInt ) @@ -885,7 +885,7 @@ See also: `MatColoring`, `MatColoringSetDistance()`, `MatColoringApply()` $(_doc_external("MatGraphOperations/MatColoringGetDistance")) """ function MatColoringGetDistance(petsclib::PetscLibType, mc::MatColoring) - error("MatColoringGetDistance: no generated method for these argument types") + throw(MethodError(MatColoringGetDistance, (petsclib, mc))) end @for_petsc function MatColoringGetDistance(petsclib::$UnionPetscLib, mc::MatColoring ) @@ -923,7 +923,7 @@ See also: `MatColoring`, `MatColoringSetMaxColors()`, `MatColoringApply()` $(_doc_external("MatGraphOperations/MatColoringGetMaxColors")) """ function MatColoringGetMaxColors(petsclib::PetscLibType, mc::MatColoring) - error("MatColoringGetMaxColors: no generated method for these argument types") + throw(MethodError(MatColoringGetMaxColors, (petsclib, mc))) end @for_petsc function MatColoringGetMaxColors(petsclib::$UnionPetscLib, mc::MatColoring ) @@ -965,7 +965,7 @@ See also: `Mat`, `MatGetRowIJ()`, `MatGetColumnIJ()` $(_doc_external("Mat/MatColoringPatch")) """ function MatColoringPatch(petsclib::PetscLibType, mat::AbstractPetscMat, ncolors::Integer, n::Integer, colorarray::Vector{ISColoringValue}) - error("MatColoringPatch: no generated method for these argument types") + throw(MethodError(MatColoringPatch, (petsclib, mat, ncolors, n, colorarray))) end @for_petsc function MatColoringPatch(petsclib::$UnionPetscLib, mat::AbstractPetscMat, ncolors::$PetscInt, n::$PetscInt, colorarray::Vector{ISColoringValue} ) @@ -1001,7 +1001,7 @@ See also: `MatColoringType`, `MatColoringRegisterDestroy()`, `MatColoringRegiste $(_doc_external("MatGraphOperations/MatColoringRegister")) """ function MatColoringRegister(petsclib::PetscLibType, sname::String, fnc::external) - error("MatColoringRegister: no generated method for these argument types") + throw(MethodError(MatColoringRegister, (petsclib, sname, fnc))) end @for_petsc function MatColoringRegister(petsclib::$UnionPetscLib, sname::String, fnc::external ) @@ -1038,7 +1038,7 @@ See also: `MatColoring`, `MatColoringSetFromOptions()`, `MatColoringGetDistance( $(_doc_external("MatGraphOperations/MatColoringSetDistance")) """ function MatColoringSetDistance(petsclib::PetscLibType, mc::MatColoring, dist::Integer) - error("MatColoringSetDistance: no generated method for these argument types") + throw(MethodError(MatColoringSetDistance, (petsclib, mc, dist))) end @for_petsc function MatColoringSetDistance(petsclib::$UnionPetscLib, mc::MatColoring, dist::$PetscInt ) @@ -1079,7 +1079,7 @@ See also: `MatColoring`, `MatColoringApply()`, `MatColoringSetDistance()`, `MatC $(_doc_external("MatGraphOperations/MatColoringSetFromOptions")) """ function MatColoringSetFromOptions(petsclib::PetscLibType, mc::MatColoring) - error("MatColoringSetFromOptions: no generated method for these argument types") + throw(MethodError(MatColoringSetFromOptions, (petsclib, mc))) end @for_petsc function MatColoringSetFromOptions(petsclib::$UnionPetscLib, mc::MatColoring ) @@ -1113,7 +1113,7 @@ See also: `MatColoring`, `MatColoringGetMaxColors()`, `MatColoringApply()` $(_doc_external("MatGraphOperations/MatColoringSetMaxColors")) """ function MatColoringSetMaxColors(petsclib::PetscLibType, mc::MatColoring, maxcolors::Integer) - error("MatColoringSetMaxColors: no generated method for these argument types") + throw(MethodError(MatColoringSetMaxColors, (petsclib, mc, maxcolors))) end @for_petsc function MatColoringSetMaxColors(petsclib::$UnionPetscLib, mc::MatColoring, maxcolors::$PetscInt ) @@ -1150,7 +1150,7 @@ See also: `MatColoring`, `MatColoringSetFromOptions()`, `MatColoringType`, `MatC $(_doc_external("MatGraphOperations/MatColoringSetType")) """ function MatColoringSetType(petsclib::PetscLibType, mc::MatColoring, type::String) - error("MatColoringSetType: no generated method for these argument types") + throw(MethodError(MatColoringSetType, (petsclib, mc, type))) end @for_petsc function MatColoringSetType(petsclib::$UnionPetscLib, mc::MatColoring, type::String ) @@ -1184,7 +1184,7 @@ See also: `MatColoring`, `MatColoringWeightType`, `MatColoringApply()` $(_doc_external("MatGraphOperations/MatColoringSetWeightType")) """ function MatColoringSetWeightType(petsclib::PetscLibType, mc::MatColoring, wt::MatColoringWeightType) - error("MatColoringSetWeightType: no generated method for these argument types") + throw(MethodError(MatColoringSetWeightType, (petsclib, mc, wt))) end @for_petsc function MatColoringSetWeightType(petsclib::$UnionPetscLib, mc::MatColoring, wt::MatColoringWeightType ) @@ -1219,7 +1219,7 @@ See also: `MatColoring`, `MatColoringCreateWeights()`, `MatColoringGetDegrees()` $(_doc_external("MatGraphOperations/MatColoringSetWeights")) """ function MatColoringSetWeights(petsclib::PetscLibType, mc::MatColoring) - error("MatColoringSetWeights: no generated method for these argument types") + throw(MethodError(MatColoringSetWeights, (petsclib, mc))) end @for_petsc function MatColoringSetWeights(petsclib::$UnionPetscLib, mc::MatColoring ) @@ -1257,7 +1257,7 @@ See also: `PetscViewer`, `MatColoring`, `MatColoringApply()` $(_doc_external("MatGraphOperations/MatColoringView")) """ function MatColoringView(petsclib::PetscLibType, mc::MatColoring, viewer::PetscViewer) - error("MatColoringView: no generated method for these argument types") + throw(MethodError(MatColoringView, (petsclib, mc, viewer))) end @for_petsc function MatColoringView(petsclib::$UnionPetscLib, mc::MatColoring, viewer::PetscViewer ) @@ -1300,7 +1300,7 @@ See also: `Mat`, `MatFDColoring`, `MatFDColoringCreate()`, `MatFDColoringDestroy $(_doc_external("MatFD/MatFDColoringApply")) """ function MatFDColoringApply(petsclib::PetscLibType, J::AbstractPetscMat, coloring::MatFDColoring, x1::AbstractPetscVec, sctx::Ptr{Cvoid}) - error("MatFDColoringApply: no generated method for these argument types") + throw(MethodError(MatFDColoringApply, (petsclib, J, coloring, x1, sctx))) end @for_petsc function MatFDColoringApply(petsclib::$UnionPetscLib, J::AbstractPetscMat, coloring::MatFDColoring, x1::AbstractPetscVec, sctx::Ptr{Cvoid} ) @@ -1340,7 +1340,7 @@ See also: `Mat`, `MatFDColoring`, `MatFDColoringDestroy()`, `SNESComputeJacobian $(_doc_external("MatFD/MatFDColoringCreate")) """ function MatFDColoringCreate(petsclib::PetscLibType, mat::AbstractPetscMat, iscoloring::ISColoring) - error("MatFDColoringCreate: no generated method for these argument types") + throw(MethodError(MatFDColoringCreate, (petsclib, mat, iscoloring))) end @for_petsc function MatFDColoringCreate(petsclib::$UnionPetscLib, mat::AbstractPetscMat, iscoloring::ISColoring ) @@ -1376,7 +1376,7 @@ See also: `Mat`, `MatFDColoring`, `MatFDColoringCreate()` $(_doc_external("MatFD/MatFDColoringDestroy")) """ function MatFDColoringDestroy(petsclib::PetscLibType, c::Union{MatFDColoring, Ref{MatFDColoring}}) - error("MatFDColoringDestroy: no generated method for these argument types") + throw(MethodError(MatFDColoringDestroy, (petsclib, c))) end @for_petsc function MatFDColoringDestroy(petsclib::$UnionPetscLib, c::Union{MatFDColoring, Ref{MatFDColoring}} ) @@ -1414,7 +1414,7 @@ See also: `Mat`, `MatFDColoring`, `MatFDColoringCreate()`, `MatFDColoringSetFunc $(_doc_external("MatFD/MatFDColoringGetFunction")) """ function MatFDColoringGetFunction(petsclib::PetscLibType, matfd::MatFDColoring) - error("MatFDColoringGetFunction: no generated method for these argument types") + throw(MethodError(MatFDColoringGetFunction, (petsclib, matfd))) end @for_petsc function MatFDColoringGetFunction(petsclib::$UnionPetscLib, matfd::MatFDColoring ) @@ -1456,7 +1456,7 @@ See also: `Mat`, `MatFDColoring`, `MatFDColoringCreate()`, `MatFDColoringDestroy $(_doc_external("MatFD/MatFDColoringGetPerturbedColumns")) """ function MatFDColoringGetPerturbedColumns(petsclib::PetscLibType, coloring::MatFDColoring) - error("MatFDColoringGetPerturbedColumns: no generated method for these argument types") + throw(MethodError(MatFDColoringGetPerturbedColumns, (petsclib, coloring))) end @for_petsc function MatFDColoringGetPerturbedColumns(petsclib::$UnionPetscLib, coloring::MatFDColoring ) @@ -1495,7 +1495,7 @@ See also: `Mat`, `MatFDColoring`, `MatFDColoringCreate()`, `MatFDColoringSetFrom $(_doc_external("MatFD/MatFDColoringSetBlockSize")) """ function MatFDColoringSetBlockSize(petsclib::PetscLibType, matfd::MatFDColoring, brows::Integer, bcols::Integer) - error("MatFDColoringSetBlockSize: no generated method for these argument types") + throw(MethodError(MatFDColoringSetBlockSize, (petsclib, matfd, brows, bcols))) end @for_petsc function MatFDColoringSetBlockSize(petsclib::$UnionPetscLib, matfd::MatFDColoring, brows::$PetscInt, bcols::$PetscInt ) @@ -1530,7 +1530,7 @@ See also: `Mat`, `MatFDColoring`, `MatFDColoringCreate()`, `MatFDColoringApply() $(_doc_external("MatFD/MatFDColoringSetF")) """ function MatFDColoringSetF(petsclib::PetscLibType, fd::MatFDColoring, F::AbstractPetscVec) - error("MatFDColoringSetF: no generated method for these argument types") + throw(MethodError(MatFDColoringSetF, (petsclib, fd, F))) end @for_petsc function MatFDColoringSetF(petsclib::$UnionPetscLib, fd::MatFDColoring, F::AbstractPetscVec ) @@ -1580,7 +1580,7 @@ See also: `Mat`, `MatFDColoring`, `MatFDColoringCreate()`, `MatFDColoringView()` $(_doc_external("MatFD/MatFDColoringSetFromOptions")) """ function MatFDColoringSetFromOptions(petsclib::PetscLibType, matfd::MatFDColoring) - error("MatFDColoringSetFromOptions: no generated method for these argument types") + throw(MethodError(MatFDColoringSetFromOptions, (petsclib, matfd))) end @for_petsc function MatFDColoringSetFromOptions(petsclib::$UnionPetscLib, matfd::MatFDColoring ) @@ -1615,7 +1615,7 @@ See also: `Mat`, `MatFDColoring`, `MatFDColoringCreate()`, `MatFDColoringGetFunc $(_doc_external("MatFD/MatFDColoringSetFunction")) """ function MatFDColoringSetFunction(petsclib::PetscLibType, matfd::MatFDColoring, f::Ptr{Cvoid}, fctx::Ptr{Cvoid}) - error("MatFDColoringSetFunction: no generated method for these argument types") + throw(MethodError(MatFDColoringSetFunction, (petsclib, matfd, f, fctx))) end @for_petsc function MatFDColoringSetFunction(petsclib::$UnionPetscLib, matfd::MatFDColoring, f::Ptr{Cvoid}, fctx::Ptr{Cvoid} ) @@ -1651,7 +1651,7 @@ See also: `Mat`, `MatFDColoring`, `MatFDColoringCreate()`, `MatFDColoringSetFrom $(_doc_external("MatFD/MatFDColoringSetParameters")) """ function MatFDColoringSetParameters(petsclib::PetscLibType, matfd::MatFDColoring, error::Real, umin::Real) - error("MatFDColoringSetParameters: no generated method for these argument types") + throw(MethodError(MatFDColoringSetParameters, (petsclib, matfd, error, umin))) end @for_petsc function MatFDColoringSetParameters(petsclib::$UnionPetscLib, matfd::MatFDColoring, error::$PetscReal, umin::$PetscReal ) @@ -1688,7 +1688,7 @@ See also: `Mat`, `MatFDColoring`, `MatFDColoringCreate()`, `MatFDColoringView()` $(_doc_external("MatFD/MatFDColoringSetType")) """ function MatFDColoringSetType(petsclib::PetscLibType, matfd::MatFDColoring, type::String) - error("MatFDColoringSetType: no generated method for these argument types") + throw(MethodError(MatFDColoringSetType, (petsclib, matfd, type))) end @for_petsc function MatFDColoringSetType(petsclib::$UnionPetscLib, matfd::MatFDColoring, type::String ) @@ -1723,7 +1723,7 @@ See also: `Mat`, `MatFDColoring`, `MatFDColoringCreate()`, `MatFDColoringDestroy $(_doc_external("MatFD/MatFDColoringSetUp")) """ function MatFDColoringSetUp(petsclib::PetscLibType, mat::AbstractPetscMat, iscoloring::ISColoring, color::MatFDColoring) - error("MatFDColoringSetUp: no generated method for these argument types") + throw(MethodError(MatFDColoringSetUp, (petsclib, mat, iscoloring, color))) end @for_petsc function MatFDColoringSetUp(petsclib::$UnionPetscLib, mat::AbstractPetscMat, iscoloring::ISColoring, color::MatFDColoring ) @@ -1759,7 +1759,7 @@ See also: `Mat`, `MatFDColoringCreate()`, `ISColoring`, `ISColoringCreate()`, `I $(_doc_external("Mat/MatFDColoringSetValues")) """ function MatFDColoringSetValues(petsclib::PetscLibType, J::AbstractPetscMat, coloring::MatFDColoring, y::AbstractVector{<:Number}) - error("MatFDColoringSetValues: no generated method for these argument types") + throw(MethodError(MatFDColoringSetValues, (petsclib, J, coloring, y))) end @for_petsc function MatFDColoringSetValues(petsclib::$UnionPetscLib, J::AbstractPetscMat, coloring::MatFDColoring, y::Vector{$PetscScalar} ) @@ -1791,7 +1791,7 @@ See also: `DM`, `MatFDColoring`, `MatFDColoringCreate()`, `ISColoringType` $(_doc_external("DM/MatFDColoringUseDM")) """ function MatFDColoringUseDM(petsclib::PetscLibType, coloring::AbstractPetscMat, fdcoloring::MatFDColoring) - error("MatFDColoringUseDM: no generated method for these argument types") + throw(MethodError(MatFDColoringUseDM, (petsclib, coloring, fdcoloring))) end @for_petsc function MatFDColoringUseDM(petsclib::$UnionPetscLib, coloring::AbstractPetscMat, fdcoloring::MatFDColoring ) @@ -1825,7 +1825,7 @@ See also: `Mat`, `MatFDColoring`, `MatFDColoringCreate()` $(_doc_external("MatFD/MatFDColoringView")) """ function MatFDColoringView(petsclib::PetscLibType, c::MatFDColoring, viewer::PetscViewer) - error("MatFDColoringView: no generated method for these argument types") + throw(MethodError(MatFDColoringView, (petsclib, c, viewer))) end @for_petsc function MatFDColoringView(petsclib::$UnionPetscLib, c::MatFDColoring, viewer::PetscViewer ) @@ -1865,7 +1865,7 @@ See also: `Mat`, `MATMFFD`, `MatMFFDSetCheckh()` $(_doc_external("Mat/MatMFFDCheckPositivity")) """ function MatMFFDCheckPositivity(petsclib::PetscLibType, dummy::Ptr{Cvoid}, U::AbstractPetscVec, a::AbstractPetscVec) - error("MatMFFDCheckPositivity: no generated method for these argument types") + throw(MethodError(MatMFFDCheckPositivity, (petsclib, dummy, U, a))) end @for_petsc function MatMFFDCheckPositivity(petsclib::$UnionPetscLib, dummy::Ptr{Cvoid}, U::AbstractPetscVec, a::AbstractPetscVec ) @@ -1910,7 +1910,7 @@ See also: `MatMFFDGetH()`, `MatCreateSNESMF()`, `MatMFFDSetBase()`, `MatCreateMF $(_doc_external("SNES/MatMFFDComputeJacobian")) """ function MatMFFDComputeJacobian(petsclib::PetscLibType, snes::AbstractSNES, x::AbstractPetscVec, jac::AbstractPetscMat, B::AbstractPetscMat, dummy::Ptr{Cvoid}) - error("MatMFFDComputeJacobian: no generated method for these argument types") + throw(MethodError(MatMFFDComputeJacobian, (petsclib, snes, x, jac, B, dummy))) end @for_petsc function MatMFFDComputeJacobian(petsclib::$UnionPetscLib, snes::AbstractSNES, x::AbstractPetscVec, jac::AbstractPetscMat, B::AbstractPetscMat, dummy::Ptr{Cvoid} ) @@ -1944,7 +1944,7 @@ See also: `MATMFFD`, `MatMFFDSetFunctionError()`, `MatCreateSNESMF()` $(_doc_external("Mat/MatMFFDDSSetUmin")) """ function MatMFFDDSSetUmin(petsclib::PetscLibType, A::AbstractPetscMat, umin::Real) - error("MatMFFDDSSetUmin: no generated method for these argument types") + throw(MethodError(MatMFFDDSSetUmin, (petsclib, A, umin))) end @for_petsc function MatMFFDDSSetUmin(petsclib::$UnionPetscLib, A::AbstractPetscMat, umin::$PetscReal ) @@ -1973,7 +1973,7 @@ See also: `Mat`, `MATMFFD`, `PetscFinalize()`, `MatCreateMFFD()`, `MatCreateSNES $(_doc_external("Mat/MatMFFDFinalizePackage")) """ function MatMFFDFinalizePackage(petsclib::PetscLibType) - error("MatMFFDFinalizePackage: no generated method for these argument types") + throw(MethodError(MatMFFDFinalizePackage, (petsclib, ))) end @for_petsc function MatMFFDFinalizePackage(petsclib::$UnionPetscLib) @@ -2009,7 +2009,7 @@ See also: `Mat`, `MATMFFD`, `MatCreateSNESMF()`, `MatMFFDSetHHistory()`, `MatCre $(_doc_external("Mat/MatMFFDGetH")) """ function MatMFFDGetH(petsclib::PetscLibType, mat::AbstractPetscMat) - error("MatMFFDGetH: no generated method for these argument types") + throw(MethodError(MatMFFDGetH, (petsclib, mat))) end @for_petsc function MatMFFDGetH(petsclib::$UnionPetscLib, mat::AbstractPetscMat ) @@ -2040,7 +2040,7 @@ See also: `Mat`, `MATMFFD`, `PetscInitialize()` $(_doc_external("Mat/MatMFFDInitializePackage")) """ function MatMFFDInitializePackage(petsclib::PetscLibType) - error("MatMFFDInitializePackage: no generated method for these argument types") + throw(MethodError(MatMFFDInitializePackage, (petsclib, ))) end @for_petsc function MatMFFDInitializePackage(petsclib::$UnionPetscLib) @@ -2073,7 +2073,7 @@ See also: `Mat`, `MATMFFD`, `MatMFFDRegisterAll()`, `MatMFFDRegisterDestroy()` $(_doc_external("Mat/MatMFFDRegister")) """ function MatMFFDRegister(petsclib::PetscLibType, sname::String, fnc::external) - error("MatMFFDRegister: no generated method for these argument types") + throw(MethodError(MatMFFDRegister, (petsclib, sname, fnc))) end @for_petsc function MatMFFDRegister(petsclib::$UnionPetscLib, sname::String, fnc::external ) @@ -2108,7 +2108,7 @@ See also: `Mat`, `MATMFFD`, `MatMFFDGetH()`, `MatCreateSNESMF()`, $(_doc_external("Mat/MatMFFDResetHHistory")) """ function MatMFFDResetHHistory(petsclib::PetscLibType, J::AbstractPetscMat) - error("MatMFFDResetHHistory: no generated method for these argument types") + throw(MethodError(MatMFFDResetHHistory, (petsclib, J))) end @for_petsc function MatMFFDResetHHistory(petsclib::$UnionPetscLib, J::AbstractPetscMat ) @@ -2144,7 +2144,7 @@ See also: `Mat`, `MATMFFD`, `MatMult()` $(_doc_external("Mat/MatMFFDSetBase")) """ function MatMFFDSetBase(petsclib::PetscLibType, J::AbstractPetscMat, U::AbstractPetscVec, F::AbstractPetscVec) - error("MatMFFDSetBase: no generated method for these argument types") + throw(MethodError(MatMFFDSetBase, (petsclib, J, U, F))) end @for_petsc function MatMFFDSetBase(petsclib::$UnionPetscLib, J::AbstractPetscMat, U::AbstractPetscVec, F::AbstractPetscVec ) @@ -2183,7 +2183,7 @@ See also: `Mat`, `MATMFFD`, `MatMFFDCheckhFn`, `MatMFFDCheckPositivity()` $(_doc_external("Mat/MatMFFDSetCheckh")) """ function MatMFFDSetCheckh(petsclib::PetscLibType, J::AbstractPetscMat, fun::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("MatMFFDSetCheckh: no generated method for these argument types") + throw(MethodError(MatMFFDSetCheckh, (petsclib, J, fun, ctx))) end @for_petsc function MatMFFDSetCheckh(petsclib::$UnionPetscLib, J::AbstractPetscMat, fun::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -2219,7 +2219,7 @@ See also: `Mat`, `MATMFFD`, `MatMFFDFn`, `MatCreateSNESMF()`, `MatMFFDGetH()`, ` $(_doc_external("Mat/MatMFFDSetFunction")) """ function MatMFFDSetFunction(petsclib::PetscLibType, mat::AbstractPetscMat, func::Ptr{Cvoid}, funcctx::Ptr{Cvoid}) - error("MatMFFDSetFunction: no generated method for these argument types") + throw(MethodError(MatMFFDSetFunction, (petsclib, mat, func, funcctx))) end @for_petsc function MatMFFDSetFunction(petsclib::$UnionPetscLib, mat::AbstractPetscMat, func::Ptr{Cvoid}, funcctx::Ptr{Cvoid} ) @@ -2257,7 +2257,7 @@ See also: `Mat`, `MATMFFD`, `MatCreateSNESMF()`, `MatMFFDGetH()`, `MatCreateMFFD $(_doc_external("Mat/MatMFFDSetFunctionError")) """ function MatMFFDSetFunctionError(petsclib::PetscLibType, mat::AbstractPetscMat, error::Real) - error("MatMFFDSetFunctionError: no generated method for these argument types") + throw(MethodError(MatMFFDSetFunctionError, (petsclib, mat, error))) end @for_petsc function MatMFFDSetFunctionError(petsclib::$UnionPetscLib, mat::AbstractPetscMat, error::$PetscReal ) @@ -2292,7 +2292,7 @@ See also: `Mat`, `MATMFFD`, `MatMFFDiFn`, `MatCreateSNESMF()`, `MatMFFDGetH()`, $(_doc_external("Mat/MatMFFDSetFunctioni")) """ function MatMFFDSetFunctioni(petsclib::PetscLibType, mat::AbstractPetscMat, funci::Ptr{Cvoid}) - error("MatMFFDSetFunctioni: no generated method for these argument types") + throw(MethodError(MatMFFDSetFunctioni, (petsclib, mat, funci))) end @for_petsc function MatMFFDSetFunctioni(petsclib::$UnionPetscLib, mat::AbstractPetscMat, funci::Ptr{Cvoid} ) @@ -2327,7 +2327,7 @@ See also: `Mat`, `MATMFFD`, `MatCreateSNESMF()`, `MatMFFDGetH()`, `MatCreateMFFD $(_doc_external("Mat/MatMFFDSetFunctioniBase")) """ function MatMFFDSetFunctioniBase(petsclib::PetscLibType, mat::AbstractPetscMat, func::Ptr{Cvoid}) - error("MatMFFDSetFunctioniBase: no generated method for these argument types") + throw(MethodError(MatMFFDSetFunctioniBase, (petsclib, mat, func))) end @for_petsc function MatMFFDSetFunctioniBase(petsclib::$UnionPetscLib, mat::AbstractPetscMat, func::Ptr{Cvoid} ) @@ -2365,7 +2365,7 @@ See also: `Mat`, `MATMFFD`, `MatMFFDGetH()`, `MatCreateSNESMF()`, $(_doc_external("Mat/MatMFFDSetHHistory")) """ function MatMFFDSetHHistory(petsclib::PetscLibType, J::AbstractPetscMat, history::AbstractVector{<:Number}, nhistory::Integer) - error("MatMFFDSetHHistory: no generated method for these argument types") + throw(MethodError(MatMFFDSetHHistory, (petsclib, J, history, nhistory))) end @for_petsc function MatMFFDSetHHistory(petsclib::$UnionPetscLib, J::AbstractPetscMat, history::Vector{$PetscScalar}, nhistory::$PetscInt ) @@ -2398,7 +2398,7 @@ See also: `Mat`, `MATMFFD`, `MatSetFromOptions()`, `MatCreateSNESMF()`, `MatCrea $(_doc_external("Mat/MatMFFDSetOptionsPrefix")) """ function MatMFFDSetOptionsPrefix(petsclib::PetscLibType, mat::AbstractPetscMat, prefix::String) - error("MatMFFDSetOptionsPrefix: no generated method for these argument types") + throw(MethodError(MatMFFDSetOptionsPrefix, (petsclib, mat, prefix))) end @for_petsc function MatMFFDSetOptionsPrefix(petsclib::$UnionPetscLib, mat::AbstractPetscMat, prefix::String ) @@ -2436,7 +2436,7 @@ See also: `Mat`, `MATMFFD`, `MatCreateSNESMF()`, `MatMFFDGetH()`, $(_doc_external("Mat/MatMFFDSetPeriod")) """ function MatMFFDSetPeriod(petsclib::PetscLibType, mat::AbstractPetscMat, period::Integer) - error("MatMFFDSetPeriod: no generated method for these argument types") + throw(MethodError(MatMFFDSetPeriod, (petsclib, mat, period))) end @for_petsc function MatMFFDSetPeriod(petsclib::$UnionPetscLib, mat::AbstractPetscMat, period::$PetscInt ) @@ -2470,7 +2470,7 @@ See also: `Mat`, `MATMFFD`, `MATMFFD_WP`, `MATMFFD_DS`, `MatCreateSNESMF()`, `Ma $(_doc_external("Mat/MatMFFDSetType")) """ function MatMFFDSetType(petsclib::PetscLibType, mat::AbstractPetscMat, ftype::String) - error("MatMFFDSetType: no generated method for these argument types") + throw(MethodError(MatMFFDSetType, (petsclib, mat, ftype))) end @for_petsc function MatMFFDSetType(petsclib::$UnionPetscLib, mat::AbstractPetscMat, ftype::String ) @@ -2508,7 +2508,7 @@ See also: `MATMFFD_WP`, `MATMFFD`, `MatMFFDSetFunctionError()`, `MatCreateSNESMF $(_doc_external("Mat/MatMFFDWPSetComputeNormU")) """ function MatMFFDWPSetComputeNormU(petsclib::PetscLibType, A::AbstractPetscMat, flag::PetscBool) - error("MatMFFDWPSetComputeNormU: no generated method for these argument types") + throw(MethodError(MatMFFDWPSetComputeNormU, (petsclib, A, flag))) end @for_petsc function MatMFFDWPSetComputeNormU(petsclib::$UnionPetscLib, A::AbstractPetscMat, flag::PetscBool ) @@ -2550,7 +2550,7 @@ See also: `Mat`, `MatNullSpace`, `MatNullSpaceDestroy()`, `MatNullSpaceRemove()` $(_doc_external("Mat/MatNullSpaceCreate")) """ function MatNullSpaceCreate(petsclib::PetscLibType, comm::MPI_Comm, has_cnst::PetscBool, n::Integer, vecs::Vector{<:AbstractPetscVec}) - error("MatNullSpaceCreate: no generated method for these argument types") + throw(MethodError(MatNullSpaceCreate, (petsclib, comm, has_cnst, n, vecs))) end @for_petsc function MatNullSpaceCreate(petsclib::$UnionPetscLib, comm::MPI_Comm, has_cnst::PetscBool, n::$PetscInt, vecs::Vector{<:AbstractPetscVec} ) @@ -2588,7 +2588,7 @@ See also: `Mat`, `MatNullSpace`, `MatNullSpaceCreate()`, `MatSetNearNullSpace()` $(_doc_external("Mat/MatNullSpaceCreateRigidBody")) """ function MatNullSpaceCreateRigidBody(petsclib::PetscLibType, coords::AbstractPetscVec) - error("MatNullSpaceCreateRigidBody: no generated method for these argument types") + throw(MethodError(MatNullSpaceCreateRigidBody, (petsclib, coords))) end @for_petsc function MatNullSpaceCreateRigidBody(petsclib::$UnionPetscLib, coords::AbstractPetscVec ) @@ -2623,7 +2623,7 @@ See also: `Mat`, `MatNullSpace`, `MatNullSpaceCreate()`, `MatNullSpaceRemove()`, $(_doc_external("Mat/MatNullSpaceDestroy")) """ function MatNullSpaceDestroy(petsclib::PetscLibType, sp::Union{MatNullSpace, Ref{MatNullSpace}}) - error("MatNullSpaceDestroy: no generated method for these argument types") + throw(MethodError(MatNullSpaceDestroy, (petsclib, sp))) end @for_petsc function MatNullSpaceDestroy(petsclib::$UnionPetscLib, sp::Union{MatNullSpace, Ref{MatNullSpace}} ) @@ -2662,7 +2662,7 @@ See also: `Mat`, `MatNullSpace`, `MatNullSpaceCreate()`, `MatGetNullSpace()`, `M $(_doc_external("Mat/MatNullSpaceGetVecs")) """ function MatNullSpaceGetVecs(petsclib::PetscLibType, sp::MatNullSpace) - error("MatNullSpaceGetVecs: no generated method for these argument types") + throw(MethodError(MatNullSpaceGetVecs, (petsclib, sp))) end @for_petsc function MatNullSpaceGetVecs(petsclib::$UnionPetscLib, sp::MatNullSpace ) @@ -2702,7 +2702,7 @@ See also: `Mat`, `MatNullSpace`, `MatNullSpaceCreate()`, `MatNullSpaceDestroy()` $(_doc_external("Mat/MatNullSpaceRemove")) """ function MatNullSpaceRemove(petsclib::PetscLibType, sp::MatNullSpace, vec::AbstractPetscVec) - error("MatNullSpaceRemove: no generated method for these argument types") + throw(MethodError(MatNullSpaceRemove, (petsclib, sp, vec))) end @for_petsc function MatNullSpaceRemove(petsclib::$UnionPetscLib, sp::MatNullSpace, vec::AbstractPetscVec ) @@ -2738,7 +2738,7 @@ See also: `Mat`, `MatNullSpace`, `MatNullSpaceDestroy()`, `MatNullSpaceRemove()` $(_doc_external("Mat/MatNullSpaceSetFunction")) """ function MatNullSpaceSetFunction(petsclib::PetscLibType, sp::MatNullSpace, rem::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("MatNullSpaceSetFunction: no generated method for these argument types") + throw(MethodError(MatNullSpaceSetFunction, (petsclib, sp, rem, ctx))) end @for_petsc function MatNullSpaceSetFunction(petsclib::$UnionPetscLib, sp::MatNullSpace, rem::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -2775,7 +2775,7 @@ See also: `Mat`, `MatNullSpace`, `MatNullSpaceCreate()`, `MatNullSpaceDestroy()` $(_doc_external("Mat/MatNullSpaceTest")) """ function MatNullSpaceTest(petsclib::PetscLibType, sp::MatNullSpace, mat::AbstractPetscMat) - error("MatNullSpaceTest: no generated method for these argument types") + throw(MethodError(MatNullSpaceTest, (petsclib, sp, mat))) end @for_petsc function MatNullSpaceTest(petsclib::$UnionPetscLib, sp::MatNullSpace, mat::AbstractPetscMat ) @@ -2811,7 +2811,7 @@ See also: `Mat`, `MatNullSpace`, `PetscViewer`, `MatNullSpaceCreate()`, `PetscVi $(_doc_external("Mat/MatNullSpaceView")) """ function MatNullSpaceView(petsclib::PetscLibType, sp::MatNullSpace, viewer::PetscViewer) - error("MatNullSpaceView: no generated method for these argument types") + throw(MethodError(MatNullSpaceView, (petsclib, sp, viewer))) end @for_petsc function MatNullSpaceView(petsclib::$UnionPetscLib, sp::MatNullSpace, viewer::PetscViewer ) @@ -2855,7 +2855,7 @@ See also: `Mat`, `MatPartitioning`, `MatPartitioningType`, `MatPartitioningRegis $(_doc_external("MatGraphOperations/MatPartitioningApply")) """ function MatPartitioningApply(petsclib::PetscLibType, matp::MatPartitioning) - error("MatPartitioningApply: no generated method for these argument types") + throw(MethodError(MatPartitioningApply, (petsclib, matp))) end @for_petsc function MatPartitioningApply(petsclib::$UnionPetscLib, matp::MatPartitioning ) @@ -2896,7 +2896,7 @@ See also: `Mat`, `MatPartitioningRegister()`, `MatPartitioningCreate()`, $(_doc_external("MatGraphOperations/MatPartitioningApplyND")) """ function MatPartitioningApplyND(petsclib::PetscLibType, matp::MatPartitioning) - error("MatPartitioningApplyND: no generated method for these argument types") + throw(MethodError(MatPartitioningApplyND, (petsclib, matp))) end @for_petsc function MatPartitioningApplyND(petsclib::$UnionPetscLib, matp::MatPartitioning ) @@ -2934,7 +2934,7 @@ See also: `MatPartitioningType`, `MatPartitioning`, `MATPARTITIONINGCHACO`, `Mat $(_doc_external("MatGraphOperations/MatPartitioningChacoGetEigenNumber")) """ function MatPartitioningChacoGetEigenNumber(petsclib::PetscLibType, part::MatPartitioning) - error("MatPartitioningChacoGetEigenNumber: no generated method for these argument types") + throw(MethodError(MatPartitioningChacoGetEigenNumber, (petsclib, part))) end @for_petsc function MatPartitioningChacoGetEigenNumber(petsclib::$UnionPetscLib, part::MatPartitioning ) @@ -2972,7 +2972,7 @@ See also: `MatPartitioningType`, `MatPartitioning`, `MATPARTITIONINGCHACO`, `Mat $(_doc_external("MatGraphOperations/MatPartitioningChacoGetEigenSolver")) """ function MatPartitioningChacoGetEigenSolver(petsclib::PetscLibType, part::MatPartitioning) - error("MatPartitioningChacoGetEigenSolver: no generated method for these argument types") + throw(MethodError(MatPartitioningChacoGetEigenSolver, (petsclib, part))) end @for_petsc function MatPartitioningChacoGetEigenSolver(petsclib::$UnionPetscLib, part::MatPartitioning ) @@ -3010,7 +3010,7 @@ See also: `MatPartitioningType`, `MatPartitioning`, `MATPARTITIONINGCHACO`, `Mat $(_doc_external("MatGraphOperations/MatPartitioningChacoGetEigenTol")) """ function MatPartitioningChacoGetEigenTol(petsclib::PetscLibType, part::MatPartitioning) - error("MatPartitioningChacoGetEigenTol: no generated method for these argument types") + throw(MethodError(MatPartitioningChacoGetEigenTol, (petsclib, part))) end @for_petsc function MatPartitioningChacoGetEigenTol(petsclib::$UnionPetscLib, part::MatPartitioning ) @@ -3048,7 +3048,7 @@ See also: `MatPartitioningType`, `MATPARTITIONINGCHACO`, `MatPartitioningChacoSe $(_doc_external("MatGraphOperations/MatPartitioningChacoGetGlobal")) """ function MatPartitioningChacoGetGlobal(petsclib::PetscLibType, part::MatPartitioning) - error("MatPartitioningChacoGetGlobal: no generated method for these argument types") + throw(MethodError(MatPartitioningChacoGetGlobal, (petsclib, part))) end @for_petsc function MatPartitioningChacoGetGlobal(petsclib::$UnionPetscLib, part::MatPartitioning ) @@ -3086,7 +3086,7 @@ See also: `MatPartitioningType`, `MATPARTITIONINGCHACO`, `MatPartitioningChacoSe $(_doc_external("MatGraphOperations/MatPartitioningChacoGetLocal")) """ function MatPartitioningChacoGetLocal(petsclib::PetscLibType, part::MatPartitioning) - error("MatPartitioningChacoGetLocal: no generated method for these argument types") + throw(MethodError(MatPartitioningChacoGetLocal, (petsclib, part))) end @for_petsc function MatPartitioningChacoGetLocal(petsclib::$UnionPetscLib, part::MatPartitioning ) @@ -3126,7 +3126,7 @@ See also: `MatPartitioningType`, `MatPartitioning`, `MATPARTITIONINGCHACO` $(_doc_external("MatGraphOperations/MatPartitioningChacoSetCoarseLevel")) """ function MatPartitioningChacoSetCoarseLevel(petsclib::PetscLibType, part::MatPartitioning, level::Real) - error("MatPartitioningChacoSetCoarseLevel: no generated method for these argument types") + throw(MethodError(MatPartitioningChacoSetCoarseLevel, (petsclib, part, level))) end @for_petsc function MatPartitioningChacoSetCoarseLevel(petsclib::$UnionPetscLib, part::MatPartitioning, level::$PetscReal ) @@ -3162,7 +3162,7 @@ See also: `MatPartitioningType`, `MatPartitioning`, `MATPARTITIONINGCHACO`, `Mat $(_doc_external("MatGraphOperations/MatPartitioningChacoSetEigenNumber")) """ function MatPartitioningChacoSetEigenNumber(petsclib::PetscLibType, part::MatPartitioning, num::Integer) - error("MatPartitioningChacoSetEigenNumber: no generated method for these argument types") + throw(MethodError(MatPartitioningChacoSetEigenNumber, (petsclib, part, num))) end @for_petsc function MatPartitioningChacoSetEigenNumber(petsclib::$UnionPetscLib, part::MatPartitioning, num::$PetscInt ) @@ -3200,7 +3200,7 @@ See also: `MatPartitioningType`, `MatPartitioning`, `MATPARTITIONINGCHACO`, `Mat $(_doc_external("MatGraphOperations/MatPartitioningChacoSetEigenSolver")) """ function MatPartitioningChacoSetEigenSolver(petsclib::PetscLibType, part::MatPartitioning, method::MPChacoEigenType) - error("MatPartitioningChacoSetEigenSolver: no generated method for these argument types") + throw(MethodError(MatPartitioningChacoSetEigenSolver, (petsclib, part, method))) end @for_petsc function MatPartitioningChacoSetEigenSolver(petsclib::$UnionPetscLib, part::MatPartitioning, method::MPChacoEigenType ) @@ -3235,7 +3235,7 @@ See also: `MatPartitioningType`, `MatPartitioning`, `MATPARTITIONINGCHACO`, `Mat $(_doc_external("MatGraphOperations/MatPartitioningChacoSetEigenTol")) """ function MatPartitioningChacoSetEigenTol(petsclib::PetscLibType, part::MatPartitioning, tol::Real) - error("MatPartitioningChacoSetEigenTol: no generated method for these argument types") + throw(MethodError(MatPartitioningChacoSetEigenTol, (petsclib, part, tol))) end @for_petsc function MatPartitioningChacoSetEigenTol(petsclib::$UnionPetscLib, part::MatPartitioning, tol::$PetscReal ) @@ -3273,7 +3273,7 @@ See also: `MatPartitioning`, `MatPartioningSetType()`, `MatPartitioningType`, `M $(_doc_external("MatGraphOperations/MatPartitioningChacoSetGlobal")) """ function MatPartitioningChacoSetGlobal(petsclib::PetscLibType, part::MatPartitioning, method::MPChacoGlobalType) - error("MatPartitioningChacoSetGlobal: no generated method for these argument types") + throw(MethodError(MatPartitioningChacoSetGlobal, (petsclib, part, method))) end @for_petsc function MatPartitioningChacoSetGlobal(petsclib::$UnionPetscLib, part::MatPartitioning, method::MPChacoGlobalType ) @@ -3310,7 +3310,7 @@ See also: `MatPartitioningType`, `MATPARTITIONINGCHACO`, `MatPartitioningChacoSe $(_doc_external("MatGraphOperations/MatPartitioningChacoSetLocal")) """ function MatPartitioningChacoSetLocal(petsclib::PetscLibType, part::MatPartitioning, method::MPChacoLocalType) - error("MatPartitioningChacoSetLocal: no generated method for these argument types") + throw(MethodError(MatPartitioningChacoSetLocal, (petsclib, part, method))) end @for_petsc function MatPartitioningChacoSetLocal(petsclib::$UnionPetscLib, part::MatPartitioning, method::MPChacoLocalType ) @@ -3347,7 +3347,7 @@ See also: `Mat`, `MatPartitioning`, `MatPartitioningSetType()`, `MatPartitioning $(_doc_external("MatGraphOperations/MatPartitioningCreate")) """ function MatPartitioningCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("MatPartitioningCreate: no generated method for these argument types") + throw(MethodError(MatPartitioningCreate, (petsclib, comm))) end @for_petsc function MatPartitioningCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -3382,7 +3382,7 @@ See also: `Mat`, `MatPartitioning`, `MatPartitioningType`, `MatPartitioningCreat $(_doc_external("MatGraphOperations/MatPartitioningDestroy")) """ function MatPartitioningDestroy(petsclib::PetscLibType, part::Union{MatPartitioning, Ref{MatPartitioning}}) - error("MatPartitioningDestroy: no generated method for these argument types") + throw(MethodError(MatPartitioningDestroy, (petsclib, part))) end @for_petsc function MatPartitioningDestroy(petsclib::$UnionPetscLib, part::Union{MatPartitioning, Ref{MatPartitioning}} ) @@ -3420,7 +3420,7 @@ See also: `Mat`, `MatPartitioning`, `MatPartitioningType`, `MatPartitioningCreat $(_doc_external("MatGraphOperations/MatPartitioningGetType")) """ function MatPartitioningGetType(petsclib::PetscLibType, partitioning::MatPartitioning) - error("MatPartitioningGetType: no generated method for these argument types") + throw(MethodError(MatPartitioningGetType, (petsclib, partitioning))) end @for_petsc function MatPartitioningGetType(petsclib::$UnionPetscLib, partitioning::MatPartitioning ) @@ -3459,7 +3459,7 @@ See also: `Mat`, `MatPartitioning`, `MatPartitioningCreate()`, `MatPartitioningS $(_doc_external("MatGraphOperations/MatPartitioningGetUseEdgeWeights")) """ function MatPartitioningGetUseEdgeWeights(petsclib::PetscLibType, part::MatPartitioning) - error("MatPartitioningGetUseEdgeWeights: no generated method for these argument types") + throw(MethodError(MatPartitioningGetUseEdgeWeights, (petsclib, part))) end @for_petsc function MatPartitioningGetUseEdgeWeights(petsclib::$UnionPetscLib, part::MatPartitioning ) @@ -3497,7 +3497,7 @@ See also: `MatPartitioning`, `MATPARTITIONINGHIERARCH`, `MatPartitioningHierarch $(_doc_external("MatGraphOperations/MatPartitioningHierarchicalGetCoarseparts")) """ function MatPartitioningHierarchicalGetCoarseparts(petsclib::PetscLibType, part::MatPartitioning) - error("MatPartitioningHierarchicalGetCoarseparts: no generated method for these argument types") + throw(MethodError(MatPartitioningHierarchicalGetCoarseparts, (petsclib, part))) end @for_petsc function MatPartitioningHierarchicalGetCoarseparts(petsclib::$UnionPetscLib, part::MatPartitioning ) @@ -3535,7 +3535,7 @@ See also: `MatPartitioning`, `MATPARTITIONINGHIERARCH`, `MatPartitioningHierarch $(_doc_external("MatGraphOperations/MatPartitioningHierarchicalGetFineparts")) """ function MatPartitioningHierarchicalGetFineparts(petsclib::PetscLibType, part::MatPartitioning) - error("MatPartitioningHierarchicalGetFineparts: no generated method for these argument types") + throw(MethodError(MatPartitioningHierarchicalGetFineparts, (petsclib, part))) end @for_petsc function MatPartitioningHierarchicalGetFineparts(petsclib::$UnionPetscLib, part::MatPartitioning ) @@ -3571,7 +3571,7 @@ See also: `MatPartitioning`, `MATPARTITIONINGHIERARCH`, `MatPartitioningHierarch $(_doc_external("MatGraphOperations/MatPartitioningHierarchicalSetNcoarseparts")) """ function MatPartitioningHierarchicalSetNcoarseparts(petsclib::PetscLibType, part::MatPartitioning, ncoarseparts::Integer) - error("MatPartitioningHierarchicalSetNcoarseparts: no generated method for these argument types") + throw(MethodError(MatPartitioningHierarchicalSetNcoarseparts, (petsclib, part, ncoarseparts))) end @for_petsc function MatPartitioningHierarchicalSetNcoarseparts(petsclib::$UnionPetscLib, part::MatPartitioning, ncoarseparts::$PetscInt ) @@ -3605,7 +3605,7 @@ See also: `MatPartitioning`, `MATPARTITIONINGHIERARCH`, `MatPartitioningHierarch $(_doc_external("MatGraphOperations/MatPartitioningHierarchicalSetNfineparts")) """ function MatPartitioningHierarchicalSetNfineparts(petsclib::PetscLibType, part::MatPartitioning, nfineparts::Integer) - error("MatPartitioningHierarchicalSetNfineparts: no generated method for these argument types") + throw(MethodError(MatPartitioningHierarchicalSetNfineparts, (petsclib, part, nfineparts))) end @for_petsc function MatPartitioningHierarchicalSetNfineparts(petsclib::$UnionPetscLib, part::MatPartitioning, nfineparts::$PetscInt ) @@ -3645,7 +3645,7 @@ See also: `Mat`, `MatPartitioning`, `MatPartitioningType`, `MatPartitioningApply $(_doc_external("MatGraphOperations/MatPartitioningImprove")) """ function MatPartitioningImprove(petsclib::PetscLibType, matp::MatPartitioning, partitioning::AbstractIS) - error("MatPartitioningImprove: no generated method for these argument types") + throw(MethodError(MatPartitioningImprove, (petsclib, matp, partitioning))) end @for_petsc function MatPartitioningImprove(petsclib::$UnionPetscLib, matp::MatPartitioning, partitioning::AbstractIS ) @@ -3684,7 +3684,7 @@ See also: `MATPARTITIONINGSCOTCH`, `MatPartitioningPTScotchSetImbalance()` $(_doc_external("MatGraphOperations/MatPartitioningPTScotchGetImbalance")) """ function MatPartitioningPTScotchGetImbalance(petsclib::PetscLibType, part::MatPartitioning) - error("MatPartitioningPTScotchGetImbalance: no generated method for these argument types") + throw(MethodError(MatPartitioningPTScotchGetImbalance, (petsclib, part))) end @for_petsc function MatPartitioningPTScotchGetImbalance(petsclib::$UnionPetscLib, part::MatPartitioning ) @@ -3722,7 +3722,7 @@ See also: `MATPARTITIONINGSCOTCH`, `MatPartitioningPTScotchSetStrategy()` $(_doc_external("MatGraphOperations/MatPartitioningPTScotchGetStrategy")) """ function MatPartitioningPTScotchGetStrategy(petsclib::PetscLibType, part::MatPartitioning) - error("MatPartitioningPTScotchGetStrategy: no generated method for these argument types") + throw(MethodError(MatPartitioningPTScotchGetStrategy, (petsclib, part))) end @for_petsc function MatPartitioningPTScotchGetStrategy(petsclib::$UnionPetscLib, part::MatPartitioning ) @@ -3760,7 +3760,7 @@ See also: `MATPARTITIONINGSCOTCH`, `MatPartitioningPTScotchSetStrategy()`, `MatP $(_doc_external("MatGraphOperations/MatPartitioningPTScotchSetImbalance")) """ function MatPartitioningPTScotchSetImbalance(petsclib::PetscLibType, part::MatPartitioning, imb::Real) - error("MatPartitioningPTScotchSetImbalance: no generated method for these argument types") + throw(MethodError(MatPartitioningPTScotchSetImbalance, (petsclib, part, imb))) end @for_petsc function MatPartitioningPTScotchSetImbalance(petsclib::$UnionPetscLib, part::MatPartitioning, imb::$PetscReal ) @@ -3805,7 +3805,7 @@ See also: `MATPARTITIONINGSCOTCH`, `MatPartitioningPTScotchSetImbalance()`, `Mat $(_doc_external("MatGraphOperations/MatPartitioningPTScotchSetStrategy")) """ function MatPartitioningPTScotchSetStrategy(petsclib::PetscLibType, part::MatPartitioning, strategy::MPPTScotchStrategyType) - error("MatPartitioningPTScotchSetStrategy: no generated method for these argument types") + throw(MethodError(MatPartitioningPTScotchSetStrategy, (petsclib, part, strategy))) end @for_petsc function MatPartitioningPTScotchSetStrategy(petsclib::$UnionPetscLib, part::MatPartitioning, strategy::MPPTScotchStrategyType ) @@ -3839,7 +3839,7 @@ See also: `MATPARTITIONINGPARMETIS` $(_doc_external("MatGraphOperations/MatPartitioningParmetisGetEdgeCut")) """ function MatPartitioningParmetisGetEdgeCut(petsclib::PetscLibType, part::MatPartitioning) - error("MatPartitioningParmetisGetEdgeCut: no generated method for these argument types") + throw(MethodError(MatPartitioningParmetisGetEdgeCut, (petsclib, part))) end @for_petsc function MatPartitioningParmetisGetEdgeCut(petsclib::$UnionPetscLib, part::MatPartitioning ) @@ -3875,7 +3875,7 @@ See also: `MATPARTITIONINGPARMETIS` $(_doc_external("MatGraphOperations/MatPartitioningParmetisSetCoarseSequential")) """ function MatPartitioningParmetisSetCoarseSequential(petsclib::PetscLibType, part::MatPartitioning) - error("MatPartitioningParmetisSetCoarseSequential: no generated method for these argument types") + throw(MethodError(MatPartitioningParmetisSetCoarseSequential, (petsclib, part))) end @for_petsc function MatPartitioningParmetisSetCoarseSequential(petsclib::$UnionPetscLib, part::MatPartitioning ) @@ -3909,7 +3909,7 @@ See also: `MATPARTITIONINGPARMETIS` $(_doc_external("MatGraphOperations/MatPartitioningParmetisSetRepartition")) """ function MatPartitioningParmetisSetRepartition(petsclib::PetscLibType, part::MatPartitioning) - error("MatPartitioningParmetisSetRepartition: no generated method for these argument types") + throw(MethodError(MatPartitioningParmetisSetRepartition, (petsclib, part))) end @for_petsc function MatPartitioningParmetisSetRepartition(petsclib::$UnionPetscLib, part::MatPartitioning ) @@ -3946,7 +3946,7 @@ See also: `MATPARTITIONINGPARTY` $(_doc_external("MatGraphOperations/MatPartitioningPartySetBipart")) """ function MatPartitioningPartySetBipart(petsclib::PetscLibType, part::MatPartitioning, bp::PetscBool) - error("MatPartitioningPartySetBipart: no generated method for these argument types") + throw(MethodError(MatPartitioningPartySetBipart, (petsclib, part, bp))) end @for_petsc function MatPartitioningPartySetBipart(petsclib::$UnionPetscLib, part::MatPartitioning, bp::PetscBool ) @@ -3984,7 +3984,7 @@ See also: `MATPARTITIONINGPARTY` $(_doc_external("MatGraphOperations/MatPartitioningPartySetCoarseLevel")) """ function MatPartitioningPartySetCoarseLevel(petsclib::PetscLibType, part::MatPartitioning, level::Real) - error("MatPartitioningPartySetCoarseLevel: no generated method for these argument types") + throw(MethodError(MatPartitioningPartySetCoarseLevel, (petsclib, part, level))) end @for_petsc function MatPartitioningPartySetCoarseLevel(petsclib::$UnionPetscLib, part::MatPartitioning, level::$PetscReal ) @@ -4021,7 +4021,7 @@ See also: `MATPARTITIONINGPARTY`, `MatPartitioningPartySetLocal()` $(_doc_external("MatGraphOperations/MatPartitioningPartySetGlobal")) """ function MatPartitioningPartySetGlobal(petsclib::PetscLibType, part::MatPartitioning, glob::String) - error("MatPartitioningPartySetGlobal: no generated method for these argument types") + throw(MethodError(MatPartitioningPartySetGlobal, (petsclib, part, glob))) end @for_petsc function MatPartitioningPartySetGlobal(petsclib::$UnionPetscLib, part::MatPartitioning, glob::String ) @@ -4058,7 +4058,7 @@ See also: `MATPARTITIONINGPARTY`, `MatPartitioningPartySetGlobal()` $(_doc_external("MatGraphOperations/MatPartitioningPartySetLocal")) """ function MatPartitioningPartySetLocal(petsclib::PetscLibType, part::MatPartitioning, loc::String) - error("MatPartitioningPartySetLocal: no generated method for these argument types") + throw(MethodError(MatPartitioningPartySetLocal, (petsclib, part, loc))) end @for_petsc function MatPartitioningPartySetLocal(petsclib::$UnionPetscLib, part::MatPartitioning, loc::String ) @@ -4096,7 +4096,7 @@ See also: `MATPARTITIONINGPARTY` $(_doc_external("MatGraphOperations/MatPartitioningPartySetMatchOptimization")) """ function MatPartitioningPartySetMatchOptimization(petsclib::PetscLibType, part::MatPartitioning, opt::PetscBool) - error("MatPartitioningPartySetMatchOptimization: no generated method for these argument types") + throw(MethodError(MatPartitioningPartySetMatchOptimization, (petsclib, part, opt))) end @for_petsc function MatPartitioningPartySetMatchOptimization(petsclib::$UnionPetscLib, part::MatPartitioning, opt::PetscBool ) @@ -4130,7 +4130,7 @@ See also: `Mat`, `MatPartitioning`, `MatPartitioningType`, `MatPartitioningCreat $(_doc_external("MatGraphOperations/MatPartitioningRegister")) """ function MatPartitioningRegister(petsclib::PetscLibType, sname::String, fnc::external) - error("MatPartitioningRegister: no generated method for these argument types") + throw(MethodError(MatPartitioningRegister, (petsclib, sname, fnc))) end @for_petsc function MatPartitioningRegister(petsclib::$UnionPetscLib, sname::String, fnc::external ) @@ -4165,7 +4165,7 @@ See also: `Mat`, `MatPartitioning`, `MatPartitioningType`, `MatPartitioningCreat $(_doc_external("MatGraphOperations/MatPartitioningSetAdjacency")) """ function MatPartitioningSetAdjacency(petsclib::PetscLibType, part::MatPartitioning, adj::AbstractPetscMat) - error("MatPartitioningSetAdjacency: no generated method for these argument types") + throw(MethodError(MatPartitioningSetAdjacency, (petsclib, part, adj))) end @for_petsc function MatPartitioningSetAdjacency(petsclib::$UnionPetscLib, part::MatPartitioning, adj::AbstractPetscMat ) @@ -4203,7 +4203,7 @@ See also: `Mat`, `MatPartitioning` $(_doc_external("MatGraphOperations/MatPartitioningSetFromOptions")) """ function MatPartitioningSetFromOptions(petsclib::PetscLibType, part::MatPartitioning) - error("MatPartitioningSetFromOptions: no generated method for these argument types") + throw(MethodError(MatPartitioningSetFromOptions, (petsclib, part))) end @for_petsc function MatPartitioningSetFromOptions(petsclib::$UnionPetscLib, part::MatPartitioning ) @@ -4239,7 +4239,7 @@ See also: `Mat`, `MatPartitioning`, `MatPartitioningCreate()`, `MatPartitioningA $(_doc_external("MatGraphOperations/MatPartitioningSetNParts")) """ function MatPartitioningSetNParts(petsclib::PetscLibType, part::MatPartitioning, n::Integer) - error("MatPartitioningSetNParts: no generated method for these argument types") + throw(MethodError(MatPartitioningSetNParts, (petsclib, part, n))) end @for_petsc function MatPartitioningSetNParts(petsclib::$UnionPetscLib, part::MatPartitioning, n::$PetscInt ) @@ -4273,7 +4273,7 @@ See also: `Mat`, `MatPartitioning`, `MatPartitioningSetVertexWeights()` $(_doc_external("MatGraphOperations/MatPartitioningSetNumberVertexWeights")) """ function MatPartitioningSetNumberVertexWeights(petsclib::PetscLibType, partitioning::MatPartitioning, ncon::Integer) - error("MatPartitioningSetNumberVertexWeights: no generated method for these argument types") + throw(MethodError(MatPartitioningSetNumberVertexWeights, (petsclib, partitioning, ncon))) end @for_petsc function MatPartitioningSetNumberVertexWeights(petsclib::$UnionPetscLib, partitioning::MatPartitioning, ncon::$PetscInt ) @@ -4312,7 +4312,7 @@ See also: `Mat`, `MatPartitioning`, `MatPartitioningSetVertexWeights()`, `MatPar $(_doc_external("MatGraphOperations/MatPartitioningSetPartitionWeights")) """ function MatPartitioningSetPartitionWeights(petsclib::PetscLibType, part::MatPartitioning, weights::AbstractVector{<:Number}) - error("MatPartitioningSetPartitionWeights: no generated method for these argument types") + throw(MethodError(MatPartitioningSetPartitionWeights, (petsclib, part, weights))) end @for_petsc function MatPartitioningSetPartitionWeights(petsclib::$UnionPetscLib, part::MatPartitioning, weights::Vector{$PetscReal} ) @@ -4349,7 +4349,7 @@ See also: `Mat`, `MatPartitioning`, `MatPartitioningCreate()`, `MatPartitioningA $(_doc_external("MatGraphOperations/MatPartitioningSetType")) """ function MatPartitioningSetType(petsclib::PetscLibType, part::MatPartitioning, type::String) - error("MatPartitioningSetType: no generated method for these argument types") + throw(MethodError(MatPartitioningSetType, (petsclib, part, type))) end @for_petsc function MatPartitioningSetType(petsclib::$UnionPetscLib, part::MatPartitioning, type::String ) @@ -4388,7 +4388,7 @@ See also: `Mat`, `MatPartitioning`, `MatPartitioningCreate()`, `MatPartitioningS $(_doc_external("MatGraphOperations/MatPartitioningSetUseEdgeWeights")) """ function MatPartitioningSetUseEdgeWeights(petsclib::PetscLibType, part::MatPartitioning, use_edge_weights::PetscBool) - error("MatPartitioningSetUseEdgeWeights: no generated method for these argument types") + throw(MethodError(MatPartitioningSetUseEdgeWeights, (petsclib, part, use_edge_weights))) end @for_petsc function MatPartitioningSetUseEdgeWeights(petsclib::$UnionPetscLib, part::MatPartitioning, use_edge_weights::PetscBool ) @@ -4423,7 +4423,7 @@ See also: `Mat`, `MatPartitioning`, `MatPartitioningCreate()`, `MatPartitioningS $(_doc_external("MatGraphOperations/MatPartitioningSetVertexWeights")) """ function MatPartitioningSetVertexWeights(petsclib::PetscLibType, part::MatPartitioning, weights::AbstractVector{<:Number}) - error("MatPartitioningSetVertexWeights: no generated method for these argument types") + throw(MethodError(MatPartitioningSetVertexWeights, (petsclib, part, weights))) end @for_petsc function MatPartitioningSetVertexWeights(petsclib::$UnionPetscLib, part::MatPartitioning, weights::Vector{$PetscInt} ) @@ -4457,7 +4457,7 @@ See also: `Mat`, `MatPartitioning`, `PetscViewer`, `PetscViewerASCIIOpen()` $(_doc_external("MatGraphOperations/MatPartitioningView")) """ function MatPartitioningView(petsclib::PetscLibType, part::MatPartitioning, viewer::PetscViewer) - error("MatPartitioningView: no generated method for these argument types") + throw(MethodError(MatPartitioningView, (petsclib, part, viewer))) end @for_petsc function MatPartitioningView(petsclib::$UnionPetscLib, part::MatPartitioning, viewer::PetscViewer ) @@ -4495,7 +4495,7 @@ See also: `Mat`, `MatPartitioning`, `MatPartitioningView()`, `PetscObjectViewFro $(_doc_external("MatGraphOperations/MatPartitioningViewFromOptions")) """ function MatPartitioningViewFromOptions(petsclib::PetscLibType, A::MatPartitioning, obj, name::String) - error("MatPartitioningViewFromOptions: no generated method for these argument types") + throw(MethodError(MatPartitioningViewFromOptions, (petsclib, A, obj, name))) end @for_petsc function MatPartitioningViewFromOptions(petsclib::$UnionPetscLib, A::MatPartitioning, obj, name::String ) @@ -4532,7 +4532,7 @@ See also: `Mat`, `MatPartitioning`, `MatPartitioningType`, `MatPartitioningApply $(_doc_external("MatGraphOperations/MatPartitioningViewImbalance")) """ function MatPartitioningViewImbalance(petsclib::PetscLibType, matp::MatPartitioning, partitioning::AbstractIS) - error("MatPartitioningViewImbalance: no generated method for these argument types") + throw(MethodError(MatPartitioningViewImbalance, (petsclib, matp, partitioning))) end @for_petsc function MatPartitioningViewImbalance(petsclib::$UnionPetscLib, matp::MatPartitioning, partitioning::AbstractIS ) @@ -4570,7 +4570,7 @@ See also: `Mat`, `MatTransposeColoringDestroy()`, `MatTransColoringApplySpToDen( $(_doc_external("Mat/MatTransposeColoringCreate")) """ function MatTransposeColoringCreate(petsclib::PetscLibType, mat::AbstractPetscMat, iscoloring::ISColoring) - error("MatTransposeColoringCreate: no generated method for these argument types") + throw(MethodError(MatTransposeColoringCreate, (petsclib, mat, iscoloring))) end @for_petsc function MatTransposeColoringCreate(petsclib::$UnionPetscLib, mat::AbstractPetscMat, iscoloring::ISColoring ) @@ -4606,7 +4606,7 @@ See also: `Mat`, `MatTransposeColoringCreate()` $(_doc_external("Mat/MatTransposeColoringDestroy")) """ function MatTransposeColoringDestroy(petsclib::PetscLibType, c::Union{MatTransposeColoring, Ref{MatTransposeColoring}}) - error("MatTransposeColoringDestroy: no generated method for these argument types") + throw(MethodError(MatTransposeColoringDestroy, (petsclib, c))) end @for_petsc function MatTransposeColoringDestroy(petsclib::$UnionPetscLib, c::Union{MatTransposeColoring, Ref{MatTransposeColoring}} ) diff --git a/src/autowrapped/PC_wrappers.jl b/src/autowrapped/PC_wrappers.jl index 180c15bcf..33abed9bc 100644 --- a/src/autowrapped/PC_wrappers.jl +++ b/src/autowrapped/PC_wrappers.jl @@ -20,7 +20,7 @@ See also: `PCASM`, `PCASMSetLocalSubdomains()`, `PCASMDestroySubdomains()` $(_doc_external("PC/PCASMCreateSubdomains")) """ function PCASMCreateSubdomains(petsclib::PetscLibType, A::AbstractPetscMat, n::Integer) - error("PCASMCreateSubdomains: no generated method for these argument types") + throw(MethodError(PCASMCreateSubdomains, (petsclib, A, n))) end @for_petsc function PCASMCreateSubdomains(petsclib::$UnionPetscLib, A::AbstractPetscMat, n::$PetscInt ) @@ -68,7 +68,7 @@ See also: `PCASM`, `PCASMSetTotalSubdomains()`, `PCASMSetLocalSubdomains()`, `PC $(_doc_external("PC/PCASMCreateSubdomains2D")) """ function PCASMCreateSubdomains2D(petsclib::PetscLibType, m::Integer, n::Integer, M_M::Integer, M_N::Integer, dof::Integer, overlap::Integer) - error("PCASMCreateSubdomains2D: no generated method for these argument types") + throw(MethodError(PCASMCreateSubdomains2D, (petsclib, m, n, M_M, M_N, dof, overlap))) end @for_petsc function PCASMCreateSubdomains2D(petsclib::$UnionPetscLib, m::$PetscInt, n::$PetscInt, M_M::$PetscInt, M_N::$PetscInt, dof::$PetscInt, overlap::$PetscInt ) @@ -159,7 +159,7 @@ See also: `PCASM`, `PCASMSetDMSubdomains()`, `PCASMSetTotalSubdomains()`, `PCASM $(_doc_external("PC/PCASMGetDMSubdomains")) """ function PCASMGetDMSubdomains(petsclib::PetscLibType, pc::AbstractPC) - error("PCASMGetDMSubdomains: no generated method for these argument types") + throw(MethodError(PCASMGetDMSubdomains, (petsclib, pc))) end @for_petsc function PCASMGetDMSubdomains(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -201,7 +201,7 @@ See also: `PCASM`, `PCASMSetTotalSubdomains()`, `PCASMSetOverlap()`, `PCASMGetSu $(_doc_external("PC/PCASMGetLocalSubdomains")) """ function PCASMGetLocalSubdomains(petsclib::PetscLibType, pc::AbstractPC) - error("PCASMGetLocalSubdomains: no generated method for these argument types") + throw(MethodError(PCASMGetLocalSubdomains, (petsclib, pc))) end @for_petsc function PCASMGetLocalSubdomains(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -246,7 +246,7 @@ See also: `PCASM`, `PCASMSetTotalSubdomains()`, `PCASMSetOverlap()`, `PCASMGetSu $(_doc_external("PC/PCASMGetLocalSubmatrices")) """ function PCASMGetLocalSubmatrices(petsclib::PetscLibType, pc::AbstractPC) - error("PCASMGetLocalSubmatrices: no generated method for these argument types") + throw(MethodError(PCASMGetLocalSubmatrices, (petsclib, pc))) end @for_petsc function PCASMGetLocalSubmatrices(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -293,7 +293,7 @@ See also: `PCASM`, `PCASMSetType()`, `PCASMGetType()`, `PCASMSetLocalType()`, `P $(_doc_external("PC/PCASMGetLocalType")) """ function PCASMGetLocalType(petsclib::PetscLibType, pc::AbstractPC) - error("PCASMGetLocalType: no generated method for these argument types") + throw(MethodError(PCASMGetLocalType, (petsclib, pc))) end @for_petsc function PCASMGetLocalType(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -335,7 +335,7 @@ See also: `PCASM`, `PCASMSetTotalSubdomains()`, `PCASMSetOverlap()`, $(_doc_external("PC/PCASMGetSubKSP")) """ function PCASMGetSubKSP(petsclib::PetscLibType, pc::AbstractPC) - error("PCASMGetSubKSP: no generated method for these argument types") + throw(MethodError(PCASMGetSubKSP, (petsclib, pc))) end @for_petsc function PCASMGetSubKSP(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -377,7 +377,7 @@ See also: `PCASM`, `PCASMSetSubMatType()`, `PCSetType()`, `VecSetType()`, `MatTy $(_doc_external("PC/PCASMGetSubMatType")) """ function PCASMGetSubMatType(petsclib::PetscLibType, pc::AbstractPC) - error("PCASMGetSubMatType: no generated method for these argument types") + throw(MethodError(PCASMGetSubMatType, (petsclib, pc))) end @for_petsc function PCASMGetSubMatType(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -426,7 +426,7 @@ See also: `PCASM`, `PCASMSetTotalSubdomains()`, `PCASMGetSubKSP()`, `PCGASM`, $(_doc_external("PC/PCASMGetType")) """ function PCASMGetType(petsclib::PetscLibType, pc::AbstractPC) - error("PCASMGetType: no generated method for these argument types") + throw(MethodError(PCASMGetType, (petsclib, pc))) end @for_petsc function PCASMGetType(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -466,7 +466,7 @@ See also: `PCASM`, `PCASMGetDMSubdomains()`, `PCASMSetTotalSubdomains()`, `PCASM $(_doc_external("PC/PCASMSetDMSubdomains")) """ function PCASMSetDMSubdomains(petsclib::PetscLibType, pc::AbstractPC, flg::PetscBool) - error("PCASMSetDMSubdomains: no generated method for these argument types") + throw(MethodError(PCASMSetDMSubdomains, (petsclib, pc, flg))) end @for_petsc function PCASMSetDMSubdomains(petsclib::$UnionPetscLib, pc::AbstractPC, flg::PetscBool ) @@ -509,7 +509,7 @@ See also: `PCASM`, `PCASMSetTotalSubdomains()`, `PCASMSetOverlap()`, `PCASMGetSu $(_doc_external("PC/PCASMSetLocalSubdomains")) """ function PCASMSetLocalSubdomains(petsclib::PetscLibType, pc::AbstractPC, n::Integer, is::Vector{<:AbstractIS}, is_local::Vector{<:AbstractIS}) - error("PCASMSetLocalSubdomains: no generated method for these argument types") + throw(MethodError(PCASMSetLocalSubdomains, (petsclib, pc, n, is, is_local))) end @for_petsc function PCASMSetLocalSubdomains(petsclib::$UnionPetscLib, pc::AbstractPC, n::$PetscInt, is::Vector{<:AbstractIS}, is_local::Vector{<:AbstractIS} ) @@ -550,7 +550,7 @@ See also: `PCASM`, `PCASMSetType()`, `PCASMGetType()`, `PCASMGetLocalType()`, `P $(_doc_external("PC/PCASMSetLocalType")) """ function PCASMSetLocalType(petsclib::PetscLibType, pc::AbstractPC, type::PCCompositeType) - error("PCASMSetLocalType: no generated method for these argument types") + throw(MethodError(PCASMSetLocalType, (petsclib, pc, type))) end @for_petsc function PCASMSetLocalType(petsclib::$UnionPetscLib, pc::AbstractPC, type::PCCompositeType ) @@ -589,7 +589,7 @@ See also: `PCASM`, `PCASMSetTotalSubdomains()`, `PCASMSetLocalSubdomains()`, `PC $(_doc_external("PC/PCASMSetOverlap")) """ function PCASMSetOverlap(petsclib::PetscLibType, pc::AbstractPC, ovl::Integer) - error("PCASMSetOverlap: no generated method for these argument types") + throw(MethodError(PCASMSetOverlap, (petsclib, pc, ovl))) end @for_petsc function PCASMSetOverlap(petsclib::$UnionPetscLib, pc::AbstractPC, ovl::$PetscInt ) @@ -624,7 +624,7 @@ See also: `PCASM`, `PCASMSetLocalSubdomains()`, `PCASMSetTotalSubdomains()`, `PC $(_doc_external("PC/PCASMSetSortIndices")) """ function PCASMSetSortIndices(petsclib::PetscLibType, pc::AbstractPC, doSort::PetscBool) - error("PCASMSetSortIndices: no generated method for these argument types") + throw(MethodError(PCASMSetSortIndices, (petsclib, pc, doSort))) end @for_petsc function PCASMSetSortIndices(petsclib::$UnionPetscLib, pc::AbstractPC, doSort::PetscBool ) @@ -660,7 +660,7 @@ See also: `PCASM`, `PCASMGetSubMatType()`, `PCSetType()`, `VecSetType()`, `MatTy $(_doc_external("PC/PCASMSetSubMatType")) """ function PCASMSetSubMatType(petsclib::PetscLibType, pc::AbstractPC, sub_mat_type::String) - error("PCASMSetSubMatType: no generated method for these argument types") + throw(MethodError(PCASMSetSubMatType, (petsclib, pc, sub_mat_type))) end @for_petsc function PCASMSetSubMatType(petsclib::$UnionPetscLib, pc::AbstractPC, sub_mat_type::String ) @@ -703,7 +703,7 @@ See also: `PCASM`, `PCASMSetLocalSubdomains()`, `PCASMSetOverlap()`, `PCASMGetSu $(_doc_external("PC/PCASMSetTotalSubdomains")) """ function PCASMSetTotalSubdomains(petsclib::PetscLibType, pc::AbstractPC, N::Integer, is::Vector{<:AbstractIS}, is_local::Vector{<:AbstractIS}) - error("PCASMSetTotalSubdomains: no generated method for these argument types") + throw(MethodError(PCASMSetTotalSubdomains, (petsclib, pc, N, is, is_local))) end @for_petsc function PCASMSetTotalSubdomains(petsclib::$UnionPetscLib, pc::AbstractPC, N::$PetscInt, is::Vector{<:AbstractIS}, is_local::Vector{<:AbstractIS} ) @@ -748,7 +748,7 @@ See also: `PCASM`, `PCASMSetTotalSubdomains()`, `PCASMGetSubKSP()`, $(_doc_external("PC/PCASMSetType")) """ function PCASMSetType(petsclib::PetscLibType, pc::AbstractPC, type::PCASMType) - error("PCASMSetType: no generated method for these argument types") + throw(MethodError(PCASMSetType, (petsclib, pc, type))) end @for_petsc function PCASMSetType(petsclib::$UnionPetscLib, pc::AbstractPC, type::PCASMType ) @@ -783,7 +783,7 @@ See also: `PC`, `PCSetFromOptions()`, `PCSetOptionsPrefix()`, `PCGetOptionsPrefi $(_doc_external("PC/PCAppendOptionsPrefix")) """ function PCAppendOptionsPrefix(petsclib::PetscLibType, pc::AbstractPC, prefix::String) - error("PCAppendOptionsPrefix: no generated method for these argument types") + throw(MethodError(PCAppendOptionsPrefix, (petsclib, pc, prefix))) end @for_petsc function PCAppendOptionsPrefix(petsclib::$UnionPetscLib, pc::AbstractPC, prefix::String ) @@ -820,7 +820,7 @@ See also: `PC`, `PCApplyTranspose()`, `PCApplyBAorAB()` $(_doc_external("PC/PCApply")) """ function PCApply(petsclib::PetscLibType, pc::AbstractPC, x::AbstractPetscVec, y::AbstractPetscVec) - error("PCApply: no generated method for these argument types") + throw(MethodError(PCApply, (petsclib, pc, x, y))) end @for_petsc function PCApply(petsclib::$UnionPetscLib, pc::AbstractPC, x::AbstractPetscVec, y::AbstractPetscVec ) @@ -859,7 +859,7 @@ See also: `PC`, `PCApply()`, `PCApplyTranspose()`, `PCApplyBAorABTranspose()` $(_doc_external("PC/PCApplyBAorAB")) """ function PCApplyBAorAB(petsclib::PetscLibType, pc::AbstractPC, side::PCSide, x::AbstractPetscVec, y::AbstractPetscVec, work::AbstractPetscVec) - error("PCApplyBAorAB: no generated method for these argument types") + throw(MethodError(PCApplyBAorAB, (petsclib, pc, side, x, y, work))) end @for_petsc function PCApplyBAorAB(petsclib::$UnionPetscLib, pc::AbstractPC, side::PCSide, x::AbstractPetscVec, y::AbstractPetscVec, work::AbstractPetscVec ) @@ -900,7 +900,7 @@ See also: `PC`, `PCApply()`, `PCApplyTranspose()`, `PCApplyBAorAB()` $(_doc_external("PC/PCApplyBAorABTranspose")) """ function PCApplyBAorABTranspose(petsclib::PetscLibType, pc::AbstractPC, side::PCSide, x::AbstractPetscVec, y::AbstractPetscVec, work::AbstractPetscVec) - error("PCApplyBAorABTranspose: no generated method for these argument types") + throw(MethodError(PCApplyBAorABTranspose, (petsclib, pc, side, x, y, work))) end @for_petsc function PCApplyBAorABTranspose(petsclib::$UnionPetscLib, pc::AbstractPC, side::PCSide, x::AbstractPetscVec, y::AbstractPetscVec, work::AbstractPetscVec ) @@ -947,7 +947,7 @@ See also: `PC`, `PCApplyRichardsonExists()` $(_doc_external("PC/PCApplyRichardson")) """ function PCApplyRichardson(petsclib::PetscLibType, pc::AbstractPC, b::AbstractPetscVec, y::AbstractPetscVec, w::AbstractPetscVec, rtol::Real, abstol::Real, dtol::Real, its::Integer, guesszero::PetscBool) - error("PCApplyRichardson: no generated method for these argument types") + throw(MethodError(PCApplyRichardson, (petsclib, pc, b, y, w, rtol, abstol, dtol, its, guesszero))) end @for_petsc function PCApplyRichardson(petsclib::$UnionPetscLib, pc::AbstractPC, b::AbstractPetscVec, y::AbstractPetscVec, w::AbstractPetscVec, rtol::$PetscReal, abstol::$PetscReal, dtol::$PetscReal, its::$PetscInt, guesszero::PetscBool ) @@ -988,7 +988,7 @@ See also: `PC`, `KSPRICHARDSON`, `PCApplyRichardson()` $(_doc_external("PC/PCApplyRichardsonExists")) """ function PCApplyRichardsonExists(petsclib::PetscLibType, pc::AbstractPC) - error("PCApplyRichardsonExists: no generated method for these argument types") + throw(MethodError(PCApplyRichardsonExists, (petsclib, pc))) end @for_petsc function PCApplyRichardsonExists(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -1027,7 +1027,7 @@ See also: `PC`, `PCApply()`, `PCApplySymmetricRight()` $(_doc_external("PC/PCApplySymmetricLeft")) """ function PCApplySymmetricLeft(petsclib::PetscLibType, pc::AbstractPC, x::AbstractPetscVec, y::AbstractPetscVec) - error("PCApplySymmetricLeft: no generated method for these argument types") + throw(MethodError(PCApplySymmetricLeft, (petsclib, pc, x, y))) end @for_petsc function PCApplySymmetricLeft(petsclib::$UnionPetscLib, pc::AbstractPC, x::AbstractPetscVec, y::AbstractPetscVec ) @@ -1064,7 +1064,7 @@ See also: `PC`, `PCApply()`, `PCApplySymmetricLeft()` $(_doc_external("PC/PCApplySymmetricRight")) """ function PCApplySymmetricRight(petsclib::PetscLibType, pc::AbstractPC, x::AbstractPetscVec, y::AbstractPetscVec) - error("PCApplySymmetricRight: no generated method for these argument types") + throw(MethodError(PCApplySymmetricRight, (petsclib, pc, x, y))) end @for_petsc function PCApplySymmetricRight(petsclib::$UnionPetscLib, pc::AbstractPC, x::AbstractPetscVec, y::AbstractPetscVec ) @@ -1101,7 +1101,7 @@ See also: `PC`, `PCApply()`, `PCApplyBAorAB()`, `PCApplyBAorABTranspose()`, `PCA $(_doc_external("PC/PCApplyTranspose")) """ function PCApplyTranspose(petsclib::PetscLibType, pc::AbstractPC, x::AbstractPetscVec, y::AbstractPetscVec) - error("PCApplyTranspose: no generated method for these argument types") + throw(MethodError(PCApplyTranspose, (petsclib, pc, x, y))) end @for_petsc function PCApplyTranspose(petsclib::$UnionPetscLib, pc::AbstractPC, x::AbstractPetscVec, y::AbstractPetscVec ) @@ -1137,7 +1137,7 @@ See also: `PC`, `PCApplyTranspose()` $(_doc_external("PC/PCApplyTransposeExists")) """ function PCApplyTransposeExists(petsclib::PetscLibType, pc::AbstractPC) - error("PCApplyTransposeExists: no generated method for these argument types") + throw(MethodError(PCApplyTransposeExists, (petsclib, pc))) end @for_petsc function PCApplyTransposeExists(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -1178,7 +1178,7 @@ See also: `KSPFETIDP`, `PCBDDC`, `PCBDDCMatFETIDPGetRHS()`, `PCBDDCMatFETIDPGetS $(_doc_external("PC/PCBDDCCreateFETIDPOperators")) """ function PCBDDCCreateFETIDPOperators(petsclib::PetscLibType, pc::AbstractPC, fully_redundant::PetscBool, prefix::String) - error("PCBDDCCreateFETIDPOperators: no generated method for these argument types") + throw(MethodError(PCBDDCCreateFETIDPOperators, (petsclib, pc, fully_redundant, prefix))) end @for_petsc function PCBDDCCreateFETIDPOperators(petsclib::$UnionPetscLib, pc::AbstractPC, fully_redundant::PetscBool, prefix::String ) @@ -1211,7 +1211,7 @@ See also: `PetscFinalize()`, `PCBDDCInitializePackage()` $(_doc_external("PC/PCBDDCFinalizePackage")) """ function PCBDDCFinalizePackage(petsclib::PetscLibType) - error("PCBDDCFinalizePackage: no generated method for these argument types") + throw(MethodError(PCBDDCFinalizePackage, (petsclib, ))) end @for_petsc function PCBDDCFinalizePackage(petsclib::$UnionPetscLib) @@ -1246,7 +1246,7 @@ See also: `PCBDDC`, `PCBDDCSetDirichletBoundaries()` $(_doc_external("PC/PCBDDCGetDirichletBoundaries")) """ function PCBDDCGetDirichletBoundaries(petsclib::PetscLibType, pc::AbstractPC) - error("PCBDDCGetDirichletBoundaries: no generated method for these argument types") + throw(MethodError(PCBDDCGetDirichletBoundaries, (petsclib, pc))) end @for_petsc function PCBDDCGetDirichletBoundaries(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -1284,7 +1284,7 @@ See also: `PCBDDC`, `PCBDDCGetDirichletBoundaries()`, `PCBDDCSetDirichletBoundar $(_doc_external("PC/PCBDDCGetDirichletBoundariesLocal")) """ function PCBDDCGetDirichletBoundariesLocal(petsclib::PetscLibType, pc::AbstractPC) - error("PCBDDCGetDirichletBoundariesLocal: no generated method for these argument types") + throw(MethodError(PCBDDCGetDirichletBoundariesLocal, (petsclib, pc))) end @for_petsc function PCBDDCGetDirichletBoundariesLocal(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -1322,7 +1322,7 @@ See also: `PCBDDC`, `PCBDDCSetNeumannBoundaries()`, `PCBDDCGetDirichletBoundarie $(_doc_external("PC/PCBDDCGetNeumannBoundaries")) """ function PCBDDCGetNeumannBoundaries(petsclib::PetscLibType, pc::AbstractPC) - error("PCBDDCGetNeumannBoundaries: no generated method for these argument types") + throw(MethodError(PCBDDCGetNeumannBoundaries, (petsclib, pc))) end @for_petsc function PCBDDCGetNeumannBoundaries(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -1360,7 +1360,7 @@ See also: `PCBDDC`, `PCBDDCSetNeumannBoundaries()`, `PCBDDCSetNeumannBoundariesL $(_doc_external("PC/PCBDDCGetNeumannBoundariesLocal")) """ function PCBDDCGetNeumannBoundariesLocal(petsclib::PetscLibType, pc::AbstractPC) - error("PCBDDCGetNeumannBoundariesLocal: no generated method for these argument types") + throw(MethodError(PCBDDCGetNeumannBoundariesLocal, (petsclib, pc))) end @for_petsc function PCBDDCGetNeumannBoundariesLocal(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -1398,7 +1398,7 @@ See also: `PCBDDC`, `PCBDDCSetPrimalVerticesIS()`, `PCBDDCSetPrimalVerticesLocal $(_doc_external("PC/PCBDDCGetPrimalVerticesIS")) """ function PCBDDCGetPrimalVerticesIS(petsclib::PetscLibType, pc::AbstractPC) - error("PCBDDCGetPrimalVerticesIS: no generated method for these argument types") + throw(MethodError(PCBDDCGetPrimalVerticesIS, (petsclib, pc))) end @for_petsc function PCBDDCGetPrimalVerticesIS(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -1436,7 +1436,7 @@ See also: `PCBDDC`, `PCBDDCSetPrimalVerticesIS()`, `PCBDDCGetPrimalVerticesIS()` $(_doc_external("PC/PCBDDCGetPrimalVerticesLocalIS")) """ function PCBDDCGetPrimalVerticesLocalIS(petsclib::PetscLibType, pc::AbstractPC) - error("PCBDDCGetPrimalVerticesLocalIS: no generated method for these argument types") + throw(MethodError(PCBDDCGetPrimalVerticesLocalIS, (petsclib, pc))) end @for_petsc function PCBDDCGetPrimalVerticesLocalIS(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -1467,7 +1467,7 @@ See also: `PetscInitialize()`, `PCBDDCFinalizePackage()` $(_doc_external("PC/PCBDDCInitializePackage")) """ function PCBDDCInitializePackage(petsclib::PetscLibType) - error("PCBDDCInitializePackage: no generated method for these argument types") + throw(MethodError(PCBDDCInitializePackage, (petsclib, ))) end @for_petsc function PCBDDCInitializePackage(petsclib::$UnionPetscLib) @@ -1503,7 +1503,7 @@ See also: `PCBDDC`, `PCBDDCCreateFETIDPOperators()`, `PCBDDCMatFETIDPGetSolution $(_doc_external("PC/PCBDDCMatFETIDPGetRHS")) """ function PCBDDCMatFETIDPGetRHS(petsclib::PetscLibType, fetidp_mat::AbstractPetscMat, standard_rhs::AbstractPetscVec, fetidp_flux_rhs::AbstractPetscVec) - error("PCBDDCMatFETIDPGetRHS: no generated method for these argument types") + throw(MethodError(PCBDDCMatFETIDPGetRHS, (petsclib, fetidp_mat, standard_rhs, fetidp_flux_rhs))) end @for_petsc function PCBDDCMatFETIDPGetRHS(petsclib::$UnionPetscLib, fetidp_mat::AbstractPetscMat, standard_rhs::AbstractPetscVec, fetidp_flux_rhs::AbstractPetscVec ) @@ -1540,7 +1540,7 @@ See also: `PCBDDC`, `PCBDDCCreateFETIDPOperators()`, `PCBDDCMatFETIDPGetRHS()` $(_doc_external("PC/PCBDDCMatFETIDPGetSolution")) """ function PCBDDCMatFETIDPGetSolution(petsclib::PetscLibType, fetidp_mat::AbstractPetscMat, fetidp_flux_sol::AbstractPetscVec, standard_sol::AbstractPetscVec) - error("PCBDDCMatFETIDPGetSolution: no generated method for these argument types") + throw(MethodError(PCBDDCMatFETIDPGetSolution, (petsclib, fetidp_mat, fetidp_flux_sol, standard_sol))) end @for_petsc function PCBDDCMatFETIDPGetSolution(petsclib::$UnionPetscLib, fetidp_mat::AbstractPetscMat, fetidp_flux_sol::AbstractPetscVec, standard_sol::AbstractPetscVec ) @@ -1575,7 +1575,7 @@ See also: `PCBDDC` $(_doc_external("PC/PCBDDCSetChangeOfBasisMat")) """ function PCBDDCSetChangeOfBasisMat(petsclib::PetscLibType, pc::AbstractPC, change::AbstractPetscMat, interior::PetscBool) - error("PCBDDCSetChangeOfBasisMat: no generated method for these argument types") + throw(MethodError(PCBDDCSetChangeOfBasisMat, (petsclib, pc, change, interior))) end @for_petsc function PCBDDCSetChangeOfBasisMat(petsclib::$UnionPetscLib, pc::AbstractPC, change::AbstractPetscMat, interior::PetscBool ) @@ -1612,7 +1612,7 @@ See also: `PCBDDC`, `PCBDDCSetLevels()` $(_doc_external("PC/PCBDDCSetCoarseningRatio")) """ function PCBDDCSetCoarseningRatio(petsclib::PetscLibType, pc::AbstractPC, k::Integer) - error("PCBDDCSetCoarseningRatio: no generated method for these argument types") + throw(MethodError(PCBDDCSetCoarseningRatio, (petsclib, pc, k))) end @for_petsc function PCBDDCSetCoarseningRatio(petsclib::$UnionPetscLib, pc::AbstractPC, k::$PetscInt ) @@ -1646,7 +1646,7 @@ See also: `PCBDDC`, `PCBDDCSetDirichletBoundariesLocal()`, `MatZeroRows()`, `Mat $(_doc_external("PC/PCBDDCSetDirichletBoundaries")) """ function PCBDDCSetDirichletBoundaries(petsclib::PetscLibType, pc::AbstractPC, DirichletBoundaries::AbstractIS) - error("PCBDDCSetDirichletBoundaries: no generated method for these argument types") + throw(MethodError(PCBDDCSetDirichletBoundaries, (petsclib, pc, DirichletBoundaries))) end @for_petsc function PCBDDCSetDirichletBoundaries(petsclib::$UnionPetscLib, pc::AbstractPC, DirichletBoundaries::AbstractIS ) @@ -1680,7 +1680,7 @@ See also: `PCBDDC`, `PCBDDCSetDirichletBoundaries()`, `MatZeroRows()`, `MatZeroR $(_doc_external("PC/PCBDDCSetDirichletBoundariesLocal")) """ function PCBDDCSetDirichletBoundariesLocal(petsclib::PetscLibType, pc::AbstractPC, DirichletBoundaries::AbstractIS) - error("PCBDDCSetDirichletBoundariesLocal: no generated method for these argument types") + throw(MethodError(PCBDDCSetDirichletBoundariesLocal, (petsclib, pc, DirichletBoundaries))) end @for_petsc function PCBDDCSetDirichletBoundariesLocal(petsclib::$UnionPetscLib, pc::AbstractPC, DirichletBoundaries::AbstractIS ) @@ -1718,7 +1718,7 @@ See also: `PCBDDC`, `PCBDDCSetDofsSplitting()`, `PCBDDCSetDofsSplittingLocal()`, $(_doc_external("PC/PCBDDCSetDiscreteGradient")) """ function PCBDDCSetDiscreteGradient(petsclib::PetscLibType, pc::AbstractPC, G::AbstractPetscMat, order::Integer, field::Integer, glob::PetscBool, conforming::PetscBool) - error("PCBDDCSetDiscreteGradient: no generated method for these argument types") + throw(MethodError(PCBDDCSetDiscreteGradient, (petsclib, pc, G, order, field, glob, conforming))) end @for_petsc function PCBDDCSetDiscreteGradient(petsclib::$UnionPetscLib, pc::AbstractPC, G::AbstractPetscMat, order::$PetscInt, field::$PetscInt, glob::PetscBool, conforming::PetscBool ) @@ -1755,7 +1755,7 @@ See also: `PCBDDC`, `PCBDDCSetDiscreteGradient()` $(_doc_external("PC/PCBDDCSetDivergenceMat")) """ function PCBDDCSetDivergenceMat(petsclib::PetscLibType, pc::AbstractPC, divudotp::AbstractPetscMat, trans::PetscBool, vl2l::AbstractIS) - error("PCBDDCSetDivergenceMat: no generated method for these argument types") + throw(MethodError(PCBDDCSetDivergenceMat, (petsclib, pc, divudotp, trans, vl2l))) end @for_petsc function PCBDDCSetDivergenceMat(petsclib::$UnionPetscLib, pc::AbstractPC, divudotp::AbstractPetscMat, trans::PetscBool, vl2l::AbstractIS ) @@ -1790,7 +1790,7 @@ See also: `PCBDDC`, `PCBDDCSetDofsSplittingLocal()` $(_doc_external("PC/PCBDDCSetDofsSplitting")) """ function PCBDDCSetDofsSplitting(petsclib::PetscLibType, pc::AbstractPC, n_is::Integer, ISForDofs::Vector{<:AbstractIS}) - error("PCBDDCSetDofsSplitting: no generated method for these argument types") + throw(MethodError(PCBDDCSetDofsSplitting, (petsclib, pc, n_is, ISForDofs))) end @for_petsc function PCBDDCSetDofsSplitting(petsclib::$UnionPetscLib, pc::AbstractPC, n_is::$PetscInt, ISForDofs::Vector{<:AbstractIS} ) @@ -1825,7 +1825,7 @@ See also: `PCBDDC`, `PCBDDCSetDofsSplitting()` $(_doc_external("PC/PCBDDCSetDofsSplittingLocal")) """ function PCBDDCSetDofsSplittingLocal(petsclib::PetscLibType, pc::AbstractPC, n_is::Integer, ISForDofs::Vector{<:AbstractIS}) - error("PCBDDCSetDofsSplittingLocal: no generated method for these argument types") + throw(MethodError(PCBDDCSetDofsSplittingLocal, (petsclib, pc, n_is, ISForDofs))) end @for_petsc function PCBDDCSetDofsSplittingLocal(petsclib::$UnionPetscLib, pc::AbstractPC, n_is::$PetscInt, ISForDofs::Vector{<:AbstractIS} ) @@ -1862,7 +1862,7 @@ See also: `PCBDDC`, `PCBDDCSetCoarseningRatio()` $(_doc_external("PC/PCBDDCSetLevels")) """ function PCBDDCSetLevels(petsclib::PetscLibType, pc::AbstractPC, levels::Integer) - error("PCBDDCSetLevels: no generated method for these argument types") + throw(MethodError(PCBDDCSetLevels, (petsclib, pc, levels))) end @for_petsc function PCBDDCSetLevels(petsclib::$UnionPetscLib, pc::AbstractPC, levels::$PetscInt ) @@ -1899,7 +1899,7 @@ See also: `PCBDDC`, `PetscCopyMode` $(_doc_external("PC/PCBDDCSetLocalAdjacencyGraph")) """ function PCBDDCSetLocalAdjacencyGraph(petsclib::PetscLibType, pc::AbstractPC, nvtxs::Integer, xadj::AbstractVector{<:Number}, adjncy::AbstractVector{<:Number}, copymode::PetscCopyMode) - error("PCBDDCSetLocalAdjacencyGraph: no generated method for these argument types") + throw(MethodError(PCBDDCSetLocalAdjacencyGraph, (petsclib, pc, nvtxs, xadj, adjncy, copymode))) end @for_petsc function PCBDDCSetLocalAdjacencyGraph(petsclib::$UnionPetscLib, pc::AbstractPC, nvtxs::$PetscInt, xadj::Vector{$PetscInt}, adjncy::Vector{$PetscInt}, copymode::PetscCopyMode ) @@ -1933,7 +1933,7 @@ See also: `PCBDDC`, `PCBDDCSetNeumannBoundariesLocal()` $(_doc_external("PC/PCBDDCSetNeumannBoundaries")) """ function PCBDDCSetNeumannBoundaries(petsclib::PetscLibType, pc::AbstractPC, NeumannBoundaries::AbstractIS) - error("PCBDDCSetNeumannBoundaries: no generated method for these argument types") + throw(MethodError(PCBDDCSetNeumannBoundaries, (petsclib, pc, NeumannBoundaries))) end @for_petsc function PCBDDCSetNeumannBoundaries(petsclib::$UnionPetscLib, pc::AbstractPC, NeumannBoundaries::AbstractIS ) @@ -1967,7 +1967,7 @@ See also: `PCBDDC`, `PCBDDCSetNeumannBoundaries()`, `PCBDDCGetDirichletBoundarie $(_doc_external("PC/PCBDDCSetNeumannBoundariesLocal")) """ function PCBDDCSetNeumannBoundariesLocal(petsclib::PetscLibType, pc::AbstractPC, NeumannBoundaries::AbstractIS) - error("PCBDDCSetNeumannBoundariesLocal: no generated method for these argument types") + throw(MethodError(PCBDDCSetNeumannBoundariesLocal, (petsclib, pc, NeumannBoundaries))) end @for_petsc function PCBDDCSetNeumannBoundariesLocal(petsclib::$UnionPetscLib, pc::AbstractPC, NeumannBoundaries::AbstractIS ) @@ -2001,7 +2001,7 @@ See also: `PCBDDC`, `PCBDDCGetPrimalVerticesIS()`, `PCBDDCSetPrimalVerticesLocal $(_doc_external("PC/PCBDDCSetPrimalVerticesIS")) """ function PCBDDCSetPrimalVerticesIS(petsclib::PetscLibType, pc::AbstractPC, PrimalVertices::AbstractIS) - error("PCBDDCSetPrimalVerticesIS: no generated method for these argument types") + throw(MethodError(PCBDDCSetPrimalVerticesIS, (petsclib, pc, PrimalVertices))) end @for_petsc function PCBDDCSetPrimalVerticesIS(petsclib::$UnionPetscLib, pc::AbstractPC, PrimalVertices::AbstractIS ) @@ -2035,7 +2035,7 @@ See also: `PCBDDC`, `PCBDDCSetPrimalVerticesIS()`, `PCBDDCGetPrimalVerticesIS()` $(_doc_external("PC/PCBDDCSetPrimalVerticesLocalIS")) """ function PCBDDCSetPrimalVerticesLocalIS(petsclib::PetscLibType, pc::AbstractPC, PrimalVertices::AbstractIS) - error("PCBDDCSetPrimalVerticesLocalIS: no generated method for these argument types") + throw(MethodError(PCBDDCSetPrimalVerticesLocalIS, (petsclib, pc, PrimalVertices))) end @for_petsc function PCBDDCSetPrimalVerticesLocalIS(petsclib::$UnionPetscLib, pc::AbstractPC, PrimalVertices::AbstractIS ) @@ -2058,7 +2058,7 @@ end $(_doc_external("KSP/PCBJKOKKOSGetKSP")) """ function PCBJKOKKOSGetKSP(petsclib::PetscLibType, pc::AbstractPC, ksp::AbstractKSP) - error("PCBJKOKKOSGetKSP: no generated method for these argument types") + throw(MethodError(PCBJKOKKOSGetKSP, (petsclib, pc, ksp))) end @for_petsc function PCBJKOKKOSGetKSP(petsclib::$UnionPetscLib, pc::AbstractPC, ksp::AbstractKSP ) @@ -2083,7 +2083,7 @@ end $(_doc_external("KSP/PCBJKOKKOSSetKSP")) """ function PCBJKOKKOSSetKSP(petsclib::PetscLibType, pc::AbstractPC, ksp::AbstractKSP) - error("PCBJKOKKOSSetKSP: no generated method for these argument types") + throw(MethodError(PCBJKOKKOSSetKSP, (petsclib, pc, ksp))) end @for_petsc function PCBJKOKKOSSetKSP(petsclib::$UnionPetscLib, pc::AbstractPC, ksp::AbstractKSP ) @@ -2119,7 +2119,7 @@ See also: `PCBJACOBI`, `PCSetUseAmat()`, `PCBJacobiGetTotalBlocks()` $(_doc_external("PC/PCBJacobiGetLocalBlocks")) """ function PCBJacobiGetLocalBlocks(petsclib::PetscLibType, pc::AbstractPC, lens::Union{Ptr, AbstractArray{<:Number}}) - error("PCBJacobiGetLocalBlocks: no generated method for these argument types") + throw(MethodError(PCBJacobiGetLocalBlocks, (petsclib, pc, lens))) end @for_petsc function PCBJacobiGetLocalBlocks(petsclib::$UnionPetscLib, pc::AbstractPC, lens::Union{Ptr, AbstractArray{$PetscInt}} ) @@ -2161,7 +2161,7 @@ See also: `PCBJACOBI`, `PCASM`, `PCASMGetSubKSP()` $(_doc_external("PC/PCBJacobiGetSubKSP")) """ function PCBJacobiGetSubKSP(petsclib::PetscLibType, pc::AbstractPC) - error("PCBJacobiGetSubKSP: no generated method for these argument types") + throw(MethodError(PCBJacobiGetSubKSP, (petsclib, pc))) end @for_petsc function PCBJacobiGetSubKSP(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -2205,7 +2205,7 @@ See also: `PCBJACOBI`, `PCSetUseAmat()`, `PCBJacobiGetLocalBlocks()` $(_doc_external("PC/PCBJacobiGetTotalBlocks")) """ function PCBJacobiGetTotalBlocks(petsclib::PetscLibType, pc::AbstractPC) - error("PCBJacobiGetTotalBlocks: no generated method for these argument types") + throw(MethodError(PCBJacobiGetTotalBlocks, (petsclib, pc))) end @for_petsc function PCBJacobiGetTotalBlocks(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -2248,7 +2248,7 @@ See also: `PCBJACOBI`, `PCSetUseAmat()`, `PCBJacobiSetTotalBlocks()` $(_doc_external("PC/PCBJacobiSetLocalBlocks")) """ function PCBJacobiSetLocalBlocks(petsclib::PetscLibType, pc::AbstractPC, blocks::Integer, lens::AbstractVector{<:Number}) - error("PCBJacobiSetLocalBlocks: no generated method for these argument types") + throw(MethodError(PCBJacobiSetLocalBlocks, (petsclib, pc, blocks, lens))) end @for_petsc function PCBJacobiSetLocalBlocks(petsclib::$UnionPetscLib, pc::AbstractPC, blocks::$PetscInt, lens::Vector{$PetscInt} ) @@ -2287,7 +2287,7 @@ See also: `PCBJACOBI`, `PCSetUseAmat()`, `PCBJacobiSetLocalBlocks()` $(_doc_external("PC/PCBJacobiSetTotalBlocks")) """ function PCBJacobiSetTotalBlocks(petsclib::PetscLibType, pc::AbstractPC, blocks::Integer, lens::AbstractVector{<:Number}) - error("PCBJacobiSetTotalBlocks: no generated method for these argument types") + throw(MethodError(PCBJacobiSetTotalBlocks, (petsclib, pc, blocks, lens))) end @for_petsc function PCBJacobiSetTotalBlocks(petsclib::$UnionPetscLib, pc::AbstractPC, blocks::$PetscInt, lens::Vector{$PetscInt} ) @@ -2321,7 +2321,7 @@ See also: `PCCOMPOSITE`, `PCCompositeAddPCType()`, `PCCompositeGetNumberPC()` $(_doc_external("PC/PCCompositeAddPC")) """ function PCCompositeAddPC(petsclib::PetscLibType, pc::AbstractPC, subpc::AbstractPC) - error("PCCompositeAddPC: no generated method for these argument types") + throw(MethodError(PCCompositeAddPC, (petsclib, pc, subpc))) end @for_petsc function PCCompositeAddPC(petsclib::$UnionPetscLib, pc::AbstractPC, subpc::AbstractPC ) @@ -2355,7 +2355,7 @@ See also: `PCCOMPOSITE`, `PCCompositeAddPC()`, `PCCompositeGetNumberPC()` $(_doc_external("PC/PCCompositeAddPCType")) """ function PCCompositeAddPCType(petsclib::PetscLibType, pc::AbstractPC, type::String) - error("PCCompositeAddPCType: no generated method for these argument types") + throw(MethodError(PCCompositeAddPCType, (petsclib, pc, type))) end @for_petsc function PCCompositeAddPCType(petsclib::$UnionPetscLib, pc::AbstractPC, type::String ) @@ -2391,7 +2391,7 @@ See also: `PCCOMPOSITE`, `PCCompositeGetPC()`, `PCCompositeAddPC()`, `PCComposit $(_doc_external("PC/PCCompositeGetNumberPC")) """ function PCCompositeGetNumberPC(petsclib::PetscLibType, pc::AbstractPC) - error("PCCompositeGetNumberPC: no generated method for these argument types") + throw(MethodError(PCCompositeGetNumberPC, (petsclib, pc))) end @for_petsc function PCCompositeGetNumberPC(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -2430,7 +2430,7 @@ See also: `PCCOMPOSITE`, `PCCompositeAddPCType()`, `PCCompositeGetNumberPC()`, ` $(_doc_external("PC/PCCompositeGetPC")) """ function PCCompositeGetPC(petsclib::PetscLibType, pc::AbstractPC, n::Integer) - error("PCCompositeGetPC: no generated method for these argument types") + throw(MethodError(PCCompositeGetPC, (petsclib, pc, n))) end @for_petsc function PCCompositeGetPC(petsclib::$UnionPetscLib, pc::AbstractPC, n::$PetscInt ) @@ -2469,7 +2469,7 @@ See also: `PCCOMPOSITE`, `PC_COMPOSITE_ADDITIVE`, `PC_COMPOSITE_MULTIPLICATIVE`, $(_doc_external("PC/PCCompositeGetType")) """ function PCCompositeGetType(petsclib::PetscLibType, pc::AbstractPC) - error("PCCompositeGetType: no generated method for these argument types") + throw(MethodError(PCCompositeGetType, (petsclib, pc))) end @for_petsc function PCCompositeGetType(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -2509,7 +2509,7 @@ See also: `PCCOMPOSITE`, `PC_COMPOSITE_ADDITIVE`, `PC_COMPOSITE_MULTIPLICATIVE`, $(_doc_external("PC/PCCompositeSetType")) """ function PCCompositeSetType(petsclib::PetscLibType, pc::AbstractPC, type::PCCompositeType) - error("PCCompositeSetType: no generated method for these argument types") + throw(MethodError(PCCompositeSetType, (petsclib, pc, type))) end @for_petsc function PCCompositeSetType(petsclib::$UnionPetscLib, pc::AbstractPC, type::PCCompositeType ) @@ -2545,7 +2545,7 @@ See also: `PCCOMPOSITE`, `PC_COMPOSITE_ADDITIVE`, `PC_COMPOSITE_MULTIPLICATIVE`, $(_doc_external("PC/PCCompositeSpecialSetAlpha")) """ function PCCompositeSpecialSetAlpha(petsclib::PetscLibType, pc::AbstractPC, alpha::Number) - error("PCCompositeSpecialSetAlpha: no generated method for these argument types") + throw(MethodError(PCCompositeSpecialSetAlpha, (petsclib, pc, alpha))) end @for_petsc function PCCompositeSpecialSetAlpha(petsclib::$UnionPetscLib, pc::AbstractPC, alpha::$PetscScalar ) @@ -2580,7 +2580,7 @@ See also: `PCCOMPOSITE`, `PC_COMPOSITE_ADDITIVE`, `PC_COMPOSITE_MULTIPLICATIVE`, $(_doc_external("PC/PCCompositeSpecialSetAlphaMat")) """ function PCCompositeSpecialSetAlphaMat(petsclib::PetscLibType, pc::AbstractPC, alpha_mat::AbstractPetscMat) - error("PCCompositeSpecialSetAlphaMat: no generated method for these argument types") + throw(MethodError(PCCompositeSpecialSetAlphaMat, (petsclib, pc, alpha_mat))) end @for_petsc function PCCompositeSpecialSetAlphaMat(petsclib::$UnionPetscLib, pc::AbstractPC, alpha_mat::AbstractPetscMat ) @@ -2617,7 +2617,7 @@ See also: `PC`, `KSPComputeOperator()`, `MatType` $(_doc_external("PC/PCComputeOperator")) """ function PCComputeOperator(petsclib::PetscLibType, pc::AbstractPC, mattype::String) - error("PCComputeOperator: no generated method for these argument types") + throw(MethodError(PCComputeOperator, (petsclib, pc, mattype))) end @for_petsc function PCComputeOperator(petsclib::$UnionPetscLib, pc::AbstractPC, mattype::String ) @@ -2655,7 +2655,7 @@ See also: `PC`, `PCType`, `PCSetType`, `PCSetUp()`, `PCApply()`, `PCDestroy()`, $(_doc_external("PC/PCCreate")) """ function PCCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("PCCreate: no generated method for these argument types") + throw(MethodError(PCCreate, (petsclib, comm))) end @for_petsc function PCCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -2693,7 +2693,7 @@ See also: `PCDEFLATION`, `PCDeflationSetCoarseMat()` $(_doc_external("PC/PCDeflationGetCoarseKSP")) """ function PCDeflationGetCoarseKSP(petsclib::PetscLibType, pc::AbstractPC) - error("PCDeflationGetCoarseKSP: no generated method for these argument types") + throw(MethodError(PCDeflationGetCoarseKSP, (petsclib, pc))) end @for_petsc function PCDeflationGetCoarseKSP(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -2731,7 +2731,7 @@ See also: `PCDEFLATION`, `PCDeflationGetCoarseKSP()` $(_doc_external("PC/PCDeflationGetPC")) """ function PCDeflationGetPC(petsclib::PetscLibType, pc::AbstractPC) - error("PCDeflationGetPC: no generated method for these argument types") + throw(MethodError(PCDeflationGetPC, (petsclib, pc))) end @for_petsc function PCDeflationGetPC(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -2767,7 +2767,7 @@ See also: `PCDEFLATION`, `PCDeflationGetCoarseKSP()` $(_doc_external("PC/PCDeflationSetCoarseMat")) """ function PCDeflationSetCoarseMat(petsclib::PetscLibType, pc::AbstractPC, mat::AbstractPetscMat) - error("PCDeflationSetCoarseMat: no generated method for these argument types") + throw(MethodError(PCDeflationSetCoarseMat, (petsclib, pc, mat))) end @for_petsc function PCDeflationSetCoarseMat(petsclib::$UnionPetscLib, pc::AbstractPC, mat::AbstractPetscMat ) @@ -2804,7 +2804,7 @@ See also: `PCDEFLATION`, `PCDeflationSetLevels()`, `PCDeflationSetReductionFacto $(_doc_external("PC/PCDeflationSetCorrectionFactor")) """ function PCDeflationSetCorrectionFactor(petsclib::PetscLibType, pc::AbstractPC, fact::Number) - error("PCDeflationSetCorrectionFactor: no generated method for these argument types") + throw(MethodError(PCDeflationSetCorrectionFactor, (petsclib, pc, fact))) end @for_petsc function PCDeflationSetCorrectionFactor(petsclib::$UnionPetscLib, pc::AbstractPC, fact::$PetscScalar ) @@ -2843,7 +2843,7 @@ See also: `PCDEFLATION` $(_doc_external("PC/PCDeflationSetInitOnly")) """ function PCDeflationSetInitOnly(petsclib::PetscLibType, pc::AbstractPC, flg::PetscBool) - error("PCDeflationSetInitOnly: no generated method for these argument types") + throw(MethodError(PCDeflationSetInitOnly, (petsclib, pc, flg))) end @for_petsc function PCDeflationSetInitOnly(petsclib::$UnionPetscLib, pc::AbstractPC, flg::PetscBool ) @@ -2880,7 +2880,7 @@ See also: `PCDeflationSetSpaceToCompute()`, `PCDeflationSetSpace()`, `PCDEFLATIO $(_doc_external("PC/PCDeflationSetLevels")) """ function PCDeflationSetLevels(petsclib::PetscLibType, pc::AbstractPC, max::Integer) - error("PCDeflationSetLevels: no generated method for these argument types") + throw(MethodError(PCDeflationSetLevels, (petsclib, pc, max))) end @for_petsc function PCDeflationSetLevels(petsclib::$UnionPetscLib, pc::AbstractPC, max::$PetscInt ) @@ -2914,7 +2914,7 @@ See also: `PCDEFLATION`, `PCDeflationSetSpace()` $(_doc_external("PC/PCDeflationSetProjectionNullSpaceMat")) """ function PCDeflationSetProjectionNullSpaceMat(petsclib::PetscLibType, pc::AbstractPC, mat::AbstractPetscMat) - error("PCDeflationSetProjectionNullSpaceMat: no generated method for these argument types") + throw(MethodError(PCDeflationSetProjectionNullSpaceMat, (petsclib, pc, mat))) end @for_petsc function PCDeflationSetProjectionNullSpaceMat(petsclib::$UnionPetscLib, pc::AbstractPC, mat::AbstractPetscMat ) @@ -2949,7 +2949,7 @@ See also: `PCTELESCOPE`, `PCDEFLATION`, `PCDeflationSetLevels()` $(_doc_external("PC/PCDeflationSetReductionFactor")) """ function PCDeflationSetReductionFactor(petsclib::PetscLibType, pc::AbstractPC, red::Integer) - error("PCDeflationSetReductionFactor: no generated method for these argument types") + throw(MethodError(PCDeflationSetReductionFactor, (petsclib, pc, red))) end @for_petsc function PCDeflationSetReductionFactor(petsclib::$UnionPetscLib, pc::AbstractPC, red::$PetscInt ) @@ -2984,7 +2984,7 @@ See also: `PCDeflationSetLevels()`, `PCDEFLATION`, `PCDeflationSetProjectionNull $(_doc_external("PC/PCDeflationSetSpace")) """ function PCDeflationSetSpace(petsclib::PetscLibType, pc::AbstractPC, W::AbstractPetscMat, transpose::PetscBool) - error("PCDeflationSetSpace: no generated method for these argument types") + throw(MethodError(PCDeflationSetSpace, (petsclib, pc, W, transpose))) end @for_petsc function PCDeflationSetSpace(petsclib::$UnionPetscLib, pc::AbstractPC, W::AbstractPetscMat, transpose::PetscBool ) @@ -3021,7 +3021,7 @@ See also: `PCDeflationSetLevels()`, `PCDEFLATION` $(_doc_external("PC/PCDeflationSetSpaceToCompute")) """ function PCDeflationSetSpaceToCompute(petsclib::PetscLibType, pc::AbstractPC, type::PCDeflationSpaceType, size::Integer) - error("PCDeflationSetSpaceToCompute: no generated method for these argument types") + throw(MethodError(PCDeflationSetSpaceToCompute, (petsclib, pc, type, size))) end @for_petsc function PCDeflationSetSpaceToCompute(petsclib::$UnionPetscLib, pc::AbstractPC, type::PCDeflationSpaceType, size::$PetscInt ) @@ -3054,7 +3054,7 @@ See also: `PC`, `PCCreate()`, `PCSetUp()` $(_doc_external("PC/PCDestroy")) """ function PCDestroy(petsclib::PetscLibType, pc::AbstractPC) - error("PCDestroy: no generated method for these argument types") + throw(MethodError(PCDestroy, (petsclib, pc))) end @for_petsc function PCDestroy(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -3091,7 +3091,7 @@ See also: `PCCreate()`, `PCSetUp()`, `PCSetDiagonalScale()`, `PCDiagonalScaleRig $(_doc_external("PC/PCDiagonalScaleLeft")) """ function PCDiagonalScaleLeft(petsclib::PetscLibType, pc::AbstractPC, in::AbstractPetscVec, out::AbstractPetscVec) - error("PCDiagonalScaleLeft: no generated method for these argument types") + throw(MethodError(PCDiagonalScaleLeft, (petsclib, pc, in, out))) end @for_petsc function PCDiagonalScaleLeft(petsclib::$UnionPetscLib, pc::AbstractPC, in::AbstractPetscVec, out::AbstractPetscVec ) @@ -3126,7 +3126,7 @@ See also: `PCCreate()`, `PCSetUp()`, `PCDiagonalScaleLeft()`, `PCSetDiagonalScal $(_doc_external("PC/PCDiagonalScaleRight")) """ function PCDiagonalScaleRight(petsclib::PetscLibType, pc::AbstractPC, in::AbstractPetscVec, out::AbstractPetscVec) - error("PCDiagonalScaleRight: no generated method for these argument types") + throw(MethodError(PCDiagonalScaleRight, (petsclib, pc, in, out))) end @for_petsc function PCDiagonalScaleRight(petsclib::$UnionPetscLib, pc::AbstractPC, in::AbstractPetscVec, out::AbstractPetscVec ) @@ -3167,7 +3167,7 @@ See also: `PCEISENSTAT`, `PCEisenstatGetOmega()` $(_doc_external("PC/PCEisenstatGetNoDiagonalScaling")) """ function PCEisenstatGetNoDiagonalScaling(petsclib::PetscLibType, pc::AbstractPC) - error("PCEisenstatGetNoDiagonalScaling: no generated method for these argument types") + throw(MethodError(PCEisenstatGetNoDiagonalScaling, (petsclib, pc))) end @for_petsc function PCEisenstatGetNoDiagonalScaling(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -3207,7 +3207,7 @@ See also: `PCEISENSTAT`, `PCSORGetOmega()`, `PCEisenstatSetOmega()` $(_doc_external("PC/PCEisenstatGetOmega")) """ function PCEisenstatGetOmega(petsclib::PetscLibType, pc::AbstractPC) - error("PCEisenstatGetOmega: no generated method for these argument types") + throw(MethodError(PCEisenstatGetOmega, (petsclib, pc))) end @for_petsc function PCEisenstatGetOmega(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -3248,7 +3248,7 @@ See also: `PCEisenstatSetOmega()`, `PCEISENSTAT` $(_doc_external("PC/PCEisenstatSetNoDiagonalScaling")) """ function PCEisenstatSetNoDiagonalScaling(petsclib::PetscLibType, pc::AbstractPC, flg::PetscBool) - error("PCEisenstatSetNoDiagonalScaling: no generated method for these argument types") + throw(MethodError(PCEisenstatSetNoDiagonalScaling, (petsclib, pc, flg))) end @for_petsc function PCEisenstatSetNoDiagonalScaling(petsclib::$UnionPetscLib, pc::AbstractPC, flg::PetscBool ) @@ -3286,7 +3286,7 @@ See also: `PCSORSetOmega()`, `PCEISENSTAT` $(_doc_external("PC/PCEisenstatSetOmega")) """ function PCEisenstatSetOmega(petsclib::PetscLibType, pc::AbstractPC, omega::Real) - error("PCEisenstatSetOmega: no generated method for these argument types") + throw(MethodError(PCEisenstatSetOmega, (petsclib, pc, omega))) end @for_petsc function PCEisenstatSetOmega(petsclib::$UnionPetscLib, pc::AbstractPC, omega::$PetscReal ) @@ -3321,7 +3321,7 @@ See also: `PCEXOTIC`, `PCExoticType()` $(_doc_external("PC/PCExoticSetType")) """ function PCExoticSetType(petsclib::PetscLibType, pc::AbstractPC, type::PCExoticType) - error("PCExoticSetType: no generated method for these argument types") + throw(MethodError(PCExoticSetType, (petsclib, pc, type))) end @for_petsc function PCExoticSetType(petsclib::$UnionPetscLib, pc::AbstractPC, type::PCExoticType ) @@ -3356,7 +3356,7 @@ See also: `PCILU`, `PCICC`, `PCFactorSetAllowDiagonalFill()` $(_doc_external("PC/PCFactorGetAllowDiagonalFill")) """ function PCFactorGetAllowDiagonalFill(petsclib::PetscLibType, pc::AbstractPC) - error("PCFactorGetAllowDiagonalFill: no generated method for these argument types") + throw(MethodError(PCFactorGetAllowDiagonalFill, (petsclib, pc))) end @for_petsc function PCFactorGetAllowDiagonalFill(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -3394,7 +3394,7 @@ See also: `PCILU`, `PCICC`, `PCFactorSetLevels()` $(_doc_external("PC/PCFactorGetLevels")) """ function PCFactorGetLevels(petsclib::PetscLibType, pc::AbstractPC) - error("PCFactorGetLevels: no generated method for these argument types") + throw(MethodError(PCFactorGetLevels, (petsclib, pc))) end @for_petsc function PCFactorGetLevels(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -3433,7 +3433,7 @@ See also: `PCLU`, `PCCHOLESKY`, `MatGetFactor()`, `MatSolverType`, `MATSOLVERSUP $(_doc_external("PC/PCFactorGetMatSolverType")) """ function PCFactorGetMatSolverType(petsclib::PetscLibType, pc::AbstractPC) - error("PCFactorGetMatSolverType: no generated method for these argument types") + throw(MethodError(PCFactorGetMatSolverType, (petsclib, pc))) end @for_petsc function PCFactorGetMatSolverType(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -3473,7 +3473,7 @@ See also: `PC`, `PCLU`, `PCILU`, `PCCHOLESKY`, `PCICC` $(_doc_external("PC/PCFactorGetMatrix")) """ function PCFactorGetMatrix(petsclib::PetscLibType, pc::AbstractPC) - error("PCFactorGetMatrix: no generated method for these argument types") + throw(MethodError(PCFactorGetMatrix, (petsclib, pc))) end @for_petsc function PCFactorGetMatrix(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -3511,7 +3511,7 @@ See also: `PCLU`, `PCCHOLESKY`, `PCFactorSetShiftAmount()`, `PCFactorSetShiftTyp $(_doc_external("PC/PCFactorGetShiftAmount")) """ function PCFactorGetShiftAmount(petsclib::PetscLibType, pc::AbstractPC) - error("PCFactorGetShiftAmount: no generated method for these argument types") + throw(MethodError(PCFactorGetShiftAmount, (petsclib, pc))) end @for_petsc function PCFactorGetShiftAmount(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -3549,7 +3549,7 @@ See also: `PCLU`, `PCCHOLESKY`, `PCFactorSetShiftType()`, `MatFactorShiftType`, $(_doc_external("PC/PCFactorGetShiftType")) """ function PCFactorGetShiftType(petsclib::PetscLibType, pc::AbstractPC) - error("PCFactorGetShiftType: no generated method for these argument types") + throw(MethodError(PCFactorGetShiftType, (petsclib, pc))) end @for_petsc function PCFactorGetShiftType(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -3587,7 +3587,7 @@ See also: `PCLU`, `PCCHOLESKY`, `PCILU`, `PCICC`, `PCFactorSetUseInPlace()` $(_doc_external("PC/PCFactorGetUseInPlace")) """ function PCFactorGetUseInPlace(petsclib::PetscLibType, pc::AbstractPC) - error("PCFactorGetUseInPlace: no generated method for these argument types") + throw(MethodError(PCFactorGetUseInPlace, (petsclib, pc))) end @for_petsc function PCFactorGetUseInPlace(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -3625,7 +3625,7 @@ See also: `PCLU`, `PCCHOLESKY`, `PCFactorSetZeroPivot()` $(_doc_external("PC/PCFactorGetZeroPivot")) """ function PCFactorGetZeroPivot(petsclib::PetscLibType, pc::AbstractPC) - error("PCFactorGetZeroPivot: no generated method for these argument types") + throw(MethodError(PCFactorGetZeroPivot, (petsclib, pc))) end @for_petsc function PCFactorGetZeroPivot(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -3664,7 +3664,7 @@ See also: `PCILU`, `PCICC`, `PCFactorSetFill()`, `PCFactorSetShiftAmount()`, `PC $(_doc_external("PC/PCFactorReorderForNonzeroDiagonal")) """ function PCFactorReorderForNonzeroDiagonal(petsclib::PetscLibType, pc::AbstractPC, rtol::Real) - error("PCFactorReorderForNonzeroDiagonal: no generated method for these argument types") + throw(MethodError(PCFactorReorderForNonzeroDiagonal, (petsclib, pc, rtol))) end @for_petsc function PCFactorReorderForNonzeroDiagonal(petsclib::$UnionPetscLib, pc::AbstractPC, rtol::$PetscReal ) @@ -3700,7 +3700,7 @@ See also: `PCILU`, `PCICC`, `PCFactorGetAllowDiagonalFill()` $(_doc_external("PC/PCFactorSetAllowDiagonalFill")) """ function PCFactorSetAllowDiagonalFill(petsclib::PetscLibType, pc::AbstractPC, flg::PetscBool) - error("PCFactorSetAllowDiagonalFill: no generated method for these argument types") + throw(MethodError(PCFactorSetAllowDiagonalFill, (petsclib, pc, flg))) end @for_petsc function PCFactorSetAllowDiagonalFill(petsclib::$UnionPetscLib, pc::AbstractPC, flg::PetscBool ) @@ -3739,7 +3739,7 @@ See also: `PCLU`, `PCCHOLESKY`, `PCILU`, `PCICC`, `PCILUSetMatOrdering()`, `PCFa $(_doc_external("PC/PCFactorSetColumnPivot")) """ function PCFactorSetColumnPivot(petsclib::PetscLibType, pc::AbstractPC, dtcol::Real) - error("PCFactorSetColumnPivot: no generated method for these argument types") + throw(MethodError(PCFactorSetColumnPivot, (petsclib, pc, dtcol))) end @for_petsc function PCFactorSetColumnPivot(petsclib::$UnionPetscLib, pc::AbstractPC, dtcol::$PetscReal ) @@ -3780,7 +3780,7 @@ See also: `PCILU` $(_doc_external("PC/PCFactorSetDropTolerance")) """ function PCFactorSetDropTolerance(petsclib::PetscLibType, pc::AbstractPC, dt::Real, dtcol::Real, maxrowcount::Integer) - error("PCFactorSetDropTolerance: no generated method for these argument types") + throw(MethodError(PCFactorSetDropTolerance, (petsclib, pc, dt, dtcol, maxrowcount))) end @for_petsc function PCFactorSetDropTolerance(petsclib::$UnionPetscLib, pc::AbstractPC, dt::$PetscReal, dtcol::$PetscReal, maxrowcount::$PetscInt ) @@ -3818,7 +3818,7 @@ See also: `PCLU`, `PCCHOLESKY`, `PCILU`, `PCICC`, `PCFactorSetReuseFill()` $(_doc_external("PC/PCFactorSetFill")) """ function PCFactorSetFill(petsclib::PetscLibType, pc::AbstractPC, fill::Real) - error("PCFactorSetFill: no generated method for these argument types") + throw(MethodError(PCFactorSetFill, (petsclib, pc, fill))) end @for_petsc function PCFactorSetFill(petsclib::$UnionPetscLib, pc::AbstractPC, fill::$PetscReal ) @@ -3855,7 +3855,7 @@ See also: `PCILU`, `PCICC`, `PCFactorGetLevels()` $(_doc_external("PC/PCFactorSetLevels")) """ function PCFactorSetLevels(petsclib::PetscLibType, pc::AbstractPC, levels::Integer) - error("PCFactorSetLevels: no generated method for these argument types") + throw(MethodError(PCFactorSetLevels, (petsclib, pc, levels))) end @for_petsc function PCFactorSetLevels(petsclib::$UnionPetscLib, pc::AbstractPC, levels::$PetscInt ) @@ -3893,7 +3893,7 @@ See also: `PCLU`, `PCCHOLESKY`, `PCILU`, `PCICC`, `MatOrderingType`, `MATORDERIN $(_doc_external("PC/PCFactorSetMatOrderingType")) """ function PCFactorSetMatOrderingType(petsclib::PetscLibType, pc::AbstractPC, ordering::String) - error("PCFactorSetMatOrderingType: no generated method for these argument types") + throw(MethodError(PCFactorSetMatOrderingType, (petsclib, pc, ordering))) end @for_petsc function PCFactorSetMatOrderingType(petsclib::$UnionPetscLib, pc::AbstractPC, ordering::String ) @@ -3931,7 +3931,7 @@ See also: `PCLU`, `PCCHOLESKY`, `MatGetFactor()`, `MatSolverType`, `PCFactorGetM $(_doc_external("PC/PCFactorSetMatSolverType")) """ function PCFactorSetMatSolverType(petsclib::PetscLibType, pc::AbstractPC, stype::String) - error("PCFactorSetMatSolverType: no generated method for these argument types") + throw(MethodError(PCFactorSetMatSolverType, (petsclib, pc, stype))) end @for_petsc function PCFactorSetMatSolverType(petsclib::$UnionPetscLib, pc::AbstractPC, stype::String ) @@ -3969,7 +3969,7 @@ See also: `PCLU`, `PCCHOLESKY`, `PCILU`, `PCICC`, `PCILUSetMatOrdering()`, `PCFa $(_doc_external("PC/PCFactorSetPivotInBlocks")) """ function PCFactorSetPivotInBlocks(petsclib::PetscLibType, pc::AbstractPC, pivot::PetscBool) - error("PCFactorSetPivotInBlocks: no generated method for these argument types") + throw(MethodError(PCFactorSetPivotInBlocks, (petsclib, pc, pivot))) end @for_petsc function PCFactorSetPivotInBlocks(petsclib::$UnionPetscLib, pc::AbstractPC, pivot::PetscBool ) @@ -4007,7 +4007,7 @@ See also: `PCLU`, `PCCHOLESKY`, `PCILU`, `PCICC`, `PCFactorSetReuseOrdering()`, $(_doc_external("PC/PCFactorSetReuseFill")) """ function PCFactorSetReuseFill(petsclib::PetscLibType, pc::AbstractPC, flag::PetscBool) - error("PCFactorSetReuseFill: no generated method for these argument types") + throw(MethodError(PCFactorSetReuseFill, (petsclib, pc, flag))) end @for_petsc function PCFactorSetReuseFill(petsclib::$UnionPetscLib, pc::AbstractPC, flag::PetscBool ) @@ -4046,7 +4046,7 @@ See also: `PCLU`, `PCCHOLESKY`, `PCFactorSetReuseFill()` $(_doc_external("PC/PCFactorSetReuseOrdering")) """ function PCFactorSetReuseOrdering(petsclib::PetscLibType, pc::AbstractPC, flag::PetscBool) - error("PCFactorSetReuseOrdering: no generated method for these argument types") + throw(MethodError(PCFactorSetReuseOrdering, (petsclib, pc, flag))) end @for_petsc function PCFactorSetReuseOrdering(petsclib::$UnionPetscLib, pc::AbstractPC, flag::PetscBool ) @@ -4084,7 +4084,7 @@ See also: `PCCHOLESKY`, `PCLU`, `PCFactorSetZeroPivot()`, `PCFactorSetShiftType( $(_doc_external("PC/PCFactorSetShiftAmount")) """ function PCFactorSetShiftAmount(petsclib::PetscLibType, pc::AbstractPC, shiftamount::Real) - error("PCFactorSetShiftAmount: no generated method for these argument types") + throw(MethodError(PCFactorSetShiftAmount, (petsclib, pc, shiftamount))) end @for_petsc function PCFactorSetShiftAmount(petsclib::$UnionPetscLib, pc::AbstractPC, shiftamount::$PetscReal ) @@ -4122,7 +4122,7 @@ See also: `PCCHOLESKY`, `PCLU`, `PCFactorSetZeroPivot()`, `PCFactorSetShiftAmoun $(_doc_external("PC/PCFactorSetShiftType")) """ function PCFactorSetShiftType(petsclib::PetscLibType, pc::AbstractPC, shifttype::MatFactorShiftType) - error("PCFactorSetShiftType: no generated method for these argument types") + throw(MethodError(PCFactorSetShiftType, (petsclib, pc, shifttype))) end @for_petsc function PCFactorSetShiftType(petsclib::$UnionPetscLib, pc::AbstractPC, shifttype::MatFactorShiftType ) @@ -4154,7 +4154,7 @@ See also: `PCCHOLESKY`, `PCLU`, `PCFactorSetMatSolverType()`, `PCFactorGetMatrix $(_doc_external("PC/PCFactorSetUpMatSolverType")) """ function PCFactorSetUpMatSolverType(petsclib::PetscLibType, pc::AbstractPC) - error("PCFactorSetUpMatSolverType: no generated method for these argument types") + throw(MethodError(PCFactorSetUpMatSolverType, (petsclib, pc))) end @for_petsc function PCFactorSetUpMatSolverType(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -4189,7 +4189,7 @@ See also: `PC`, `Mat`, `PCLU`, `PCCHOLESKY`, `PCILU`, `PCICC`, `PCFactorGetUseIn $(_doc_external("PC/PCFactorSetUseInPlace")) """ function PCFactorSetUseInPlace(petsclib::PetscLibType, pc::AbstractPC, flg::PetscBool) - error("PCFactorSetUseInPlace: no generated method for these argument types") + throw(MethodError(PCFactorSetUseInPlace, (petsclib, pc, flg))) end @for_petsc function PCFactorSetUseInPlace(petsclib::$UnionPetscLib, pc::AbstractPC, flg::PetscBool ) @@ -4226,7 +4226,7 @@ See also: `PCCHOLESKY`, `PCLU`, `PCFactorSetShiftType()`, `PCFactorSetShiftAmoun $(_doc_external("PC/PCFactorSetZeroPivot")) """ function PCFactorSetZeroPivot(petsclib::PetscLibType, pc::AbstractPC, zero::Real) - error("PCFactorSetZeroPivot: no generated method for these argument types") + throw(MethodError(PCFactorSetZeroPivot, (petsclib, pc, zero))) end @for_petsc function PCFactorSetZeroPivot(petsclib::$UnionPetscLib, pc::AbstractPC, zero::$PetscReal ) @@ -4262,7 +4262,7 @@ See also: `PC`, `PCFIELDSPLIT`, `PCFieldSplitSetDMSplits()`, `DMCreateFieldDecom $(_doc_external("PC/PCFieldSplitGetDMSplits")) """ function PCFieldSplitGetDMSplits(petsclib::PetscLibType, pc::AbstractPC) - error("PCFieldSplitGetDMSplits: no generated method for these argument types") + throw(MethodError(PCFieldSplitGetDMSplits, (petsclib, pc))) end @for_petsc function PCFieldSplitGetDMSplits(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -4300,7 +4300,7 @@ See also: `PC`, `PCFIELDSPLIT`, `PCFieldSplitSetDetectSaddlePoint()` $(_doc_external("PC/PCFieldSplitGetDetectSaddlePoint")) """ function PCFieldSplitGetDetectSaddlePoint(petsclib::PetscLibType, pc::AbstractPC) - error("PCFieldSplitGetDetectSaddlePoint: no generated method for these argument types") + throw(MethodError(PCFieldSplitGetDetectSaddlePoint, (petsclib, pc))) end @for_petsc function PCFieldSplitGetDetectSaddlePoint(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -4339,7 +4339,7 @@ See also: `PC`, `PCSetOperators()`, `KSPSetOperators()`, `PCFieldSplitSetDiagUse $(_doc_external("PC/PCFieldSplitGetDiagUseAmat")) """ function PCFieldSplitGetDiagUseAmat(petsclib::PetscLibType, pc::AbstractPC) - error("PCFieldSplitGetDiagUseAmat: no generated method for these argument types") + throw(MethodError(PCFieldSplitGetDiagUseAmat, (petsclib, pc))) end @for_petsc function PCFieldSplitGetDiagUseAmat(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -4378,7 +4378,7 @@ See also: `PC`, `PCFieldSplitGetSubKSP()`, `PCFIELDSPLIT`, `PCFieldSplitSetIS()` $(_doc_external("PC/PCFieldSplitGetIS")) """ function PCFieldSplitGetIS(petsclib::PetscLibType, pc::AbstractPC, splitname::String) - error("PCFieldSplitGetIS: no generated method for these argument types") + throw(MethodError(PCFieldSplitGetIS, (petsclib, pc, splitname))) end @for_petsc function PCFieldSplitGetIS(petsclib::$UnionPetscLib, pc::AbstractPC, splitname::String ) @@ -4417,7 +4417,7 @@ See also: `PC`, `PCFieldSplitGetSubKSP()`, `PCFIELDSPLIT`, `PCFieldSplitGetIS()` $(_doc_external("PC/PCFieldSplitGetISByIndex")) """ function PCFieldSplitGetISByIndex(petsclib::PetscLibType, pc::AbstractPC, index::Integer) - error("PCFieldSplitGetISByIndex: no generated method for these argument types") + throw(MethodError(PCFieldSplitGetISByIndex, (petsclib, pc, index))) end @for_petsc function PCFieldSplitGetISByIndex(petsclib::$UnionPetscLib, pc::AbstractPC, index::$PetscInt ) @@ -4456,7 +4456,7 @@ See also: `PC`, `PCSetOperators()`, `KSPSetOperators()`, `PCFieldSplitSetOffDiag $(_doc_external("PC/PCFieldSplitGetOffDiagUseAmat")) """ function PCFieldSplitGetOffDiagUseAmat(petsclib::PetscLibType, pc::AbstractPC) - error("PCFieldSplitGetOffDiagUseAmat: no generated method for these argument types") + throw(MethodError(PCFieldSplitGetOffDiagUseAmat, (petsclib, pc))) end @for_petsc function PCFieldSplitGetOffDiagUseAmat(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -4497,7 +4497,7 @@ See also: `PC`, `PCFIELDSPLIT`, `MatSchurComplementGetSubMatrices()`, `MatSchurC $(_doc_external("PC/PCFieldSplitGetSchurBlocks")) """ function PCFieldSplitGetSchurBlocks(petsclib::PetscLibType, pc::AbstractPC) - error("PCFieldSplitGetSchurBlocks: no generated method for these argument types") + throw(MethodError(PCFieldSplitGetSchurBlocks, (petsclib, pc))) end @for_petsc function PCFieldSplitGetSchurBlocks(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -4543,7 +4543,7 @@ See also: `PC`, `PCFieldSplitSetSchurPre()`, `PCFieldSplitGetSubKSP()`, `PCFIELD $(_doc_external("PC/PCFieldSplitGetSchurPre")) """ function PCFieldSplitGetSchurPre(petsclib::PetscLibType, pc::AbstractPC) - error("PCFieldSplitGetSchurPre: no generated method for these argument types") + throw(MethodError(PCFieldSplitGetSchurPre, (petsclib, pc))) end @for_petsc function PCFieldSplitGetSchurPre(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -4584,7 +4584,7 @@ See also: `PC`, `PCFIELDSPLIT`, `PCFieldSplitSetFields()`, `PCFieldSplitSetIS()` $(_doc_external("PC/PCFieldSplitGetSubKSP")) """ function PCFieldSplitGetSubKSP(petsclib::PetscLibType, pc::AbstractPC) - error("PCFieldSplitGetSubKSP: no generated method for these argument types") + throw(MethodError(PCFieldSplitGetSubKSP, (petsclib, pc))) end @for_petsc function PCFieldSplitGetSubKSP(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -4625,7 +4625,7 @@ See also: `PC`, `PCCompositeSetType()`, `PCFIELDSPLIT`, `PCCompositeType`, `PC_C $(_doc_external("PC/PCFieldSplitGetType")) """ function PCFieldSplitGetType(petsclib::PetscLibType, pc::AbstractPC) - error("PCFieldSplitGetType: no generated method for these argument types") + throw(MethodError(PCFieldSplitGetType, (petsclib, pc))) end @for_petsc function PCFieldSplitGetType(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -4659,7 +4659,7 @@ See also: `PCFIELDSPLIT`, `PCFieldSplitSetFields()`, `PCFieldSplitSetIS()` $(_doc_external("PC/PCFieldSplitRestrictIS")) """ function PCFieldSplitRestrictIS(petsclib::PetscLibType, pc::AbstractPC, isy::AbstractIS) - error("PCFieldSplitRestrictIS: no generated method for these argument types") + throw(MethodError(PCFieldSplitRestrictIS, (petsclib, pc, isy))) end @for_petsc function PCFieldSplitRestrictIS(petsclib::$UnionPetscLib, pc::AbstractPC, isy::AbstractIS ) @@ -4696,7 +4696,7 @@ See also: `PC`, `PCFieldSplitGetSubKSP()`, `PCFIELDSPLIT`, `PCFieldSplitSchurPre $(_doc_external("PC/PCFieldSplitSchurGetS")) """ function PCFieldSplitSchurGetS(petsclib::PetscLibType, pc::AbstractPC) - error("PCFieldSplitSchurGetS: no generated method for these argument types") + throw(MethodError(PCFieldSplitSchurGetS, (petsclib, pc))) end @for_petsc function PCFieldSplitSchurGetS(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -4735,7 +4735,7 @@ See also: `PC`, `PCFIELDSPLIT`, `PCFieldSplitSetFields()`, `PCFieldSplitSetIS()` $(_doc_external("PC/PCFieldSplitSchurGetSubKSP")) """ function PCFieldSplitSchurGetSubKSP(petsclib::PetscLibType, pc::AbstractPC) - error("PCFieldSplitSchurGetSubKSP: no generated method for these argument types") + throw(MethodError(PCFieldSplitSchurGetSubKSP, (petsclib, pc))) end @for_petsc function PCFieldSplitSchurGetSubKSP(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -4773,7 +4773,7 @@ See also: `PC`, `PCFieldSplitGetSubKSP()`, `PCFIELDSPLIT`, `PCFieldSplitSchurPre $(_doc_external("PC/PCFieldSplitSchurRestoreS")) """ function PCFieldSplitSchurRestoreS(petsclib::PetscLibType, pc::AbstractPC, S::AbstractPetscMat) - error("PCFieldSplitSchurRestoreS: no generated method for these argument types") + throw(MethodError(PCFieldSplitSchurRestoreS, (petsclib, pc, S))) end @for_petsc function PCFieldSplitSchurRestoreS(petsclib::$UnionPetscLib, pc::AbstractPC, S::AbstractPetscMat ) @@ -4810,7 +4810,7 @@ See also: `PC`, `PCFieldSplitGetSubKSP()`, `PCFIELDSPLIT`, `PCFieldSplitSetField $(_doc_external("PC/PCFieldSplitSetBlockSize")) """ function PCFieldSplitSetBlockSize(petsclib::PetscLibType, pc::AbstractPC, bs::Integer) - error("PCFieldSplitSetBlockSize: no generated method for these argument types") + throw(MethodError(PCFieldSplitSetBlockSize, (petsclib, pc, bs))) end @for_petsc function PCFieldSplitSetBlockSize(petsclib::$UnionPetscLib, pc::AbstractPC, bs::$PetscInt ) @@ -4847,7 +4847,7 @@ See also: `PC`, `PCFIELDSPLIT`, `PCFieldSplitGetDMSplits()`, `DMCreateFieldDecom $(_doc_external("PC/PCFieldSplitSetDMSplits")) """ function PCFieldSplitSetDMSplits(petsclib::PetscLibType, pc::AbstractPC, flg::PetscBool) - error("PCFieldSplitSetDMSplits: no generated method for these argument types") + throw(MethodError(PCFieldSplitSetDMSplits, (petsclib, pc, flg))) end @for_petsc function PCFieldSplitSetDMSplits(petsclib::$UnionPetscLib, pc::AbstractPC, flg::PetscBool ) @@ -4886,7 +4886,7 @@ See also: `PC`, `PCFIELDSPLIT`, `PCFieldSplitGetDetectSaddlePoint()`, `PCFieldSp $(_doc_external("PC/PCFieldSplitSetDetectSaddlePoint")) """ function PCFieldSplitSetDetectSaddlePoint(petsclib::PetscLibType, pc::AbstractPC, flg::PetscBool) - error("PCFieldSplitSetDetectSaddlePoint: no generated method for these argument types") + throw(MethodError(PCFieldSplitSetDetectSaddlePoint, (petsclib, pc, flg))) end @for_petsc function PCFieldSplitSetDetectSaddlePoint(petsclib::$UnionPetscLib, pc::AbstractPC, flg::PetscBool ) @@ -4924,7 +4924,7 @@ See also: `PC`, `PCSetOperators()`, `KSPSetOperators()`, `PCFieldSplitGetDiagUse $(_doc_external("PC/PCFieldSplitSetDiagUseAmat")) """ function PCFieldSplitSetDiagUseAmat(petsclib::PetscLibType, pc::AbstractPC, flg::PetscBool) - error("PCFieldSplitSetDiagUseAmat: no generated method for these argument types") + throw(MethodError(PCFieldSplitSetDiagUseAmat, (petsclib, pc, flg))) end @for_petsc function PCFieldSplitSetDiagUseAmat(petsclib::$UnionPetscLib, pc::AbstractPC, flg::PetscBool ) @@ -4966,7 +4966,7 @@ See also: `PC`, `PCFieldSplitGetSubKSP()`, `PCFIELDSPLIT`, `PCFieldSplitSetBlock $(_doc_external("PC/PCFieldSplitSetFields")) """ function PCFieldSplitSetFields(petsclib::PetscLibType, pc::AbstractPC, splitname::String, n::Integer, fields::AbstractVector{<:Number}, fields_col::AbstractVector{<:Number}) - error("PCFieldSplitSetFields: no generated method for these argument types") + throw(MethodError(PCFieldSplitSetFields, (petsclib, pc, splitname, n, fields, fields_col))) end @for_petsc function PCFieldSplitSetFields(petsclib::$UnionPetscLib, pc::AbstractPC, splitname::String, n::$PetscInt, fields::Vector{$PetscInt}, fields_col::Vector{$PetscInt} ) @@ -5004,7 +5004,7 @@ See also: `PC`, `PCFIELDSPLIT`, `PCFieldSplitSetGKBNu()`, `PCFieldSplitSetGKBTol $(_doc_external("PC/PCFieldSplitSetGKBDelay")) """ function PCFieldSplitSetGKBDelay(petsclib::PetscLibType, pc::AbstractPC, delay::Integer) - error("PCFieldSplitSetGKBDelay: no generated method for these argument types") + throw(MethodError(PCFieldSplitSetGKBDelay, (petsclib, pc, delay))) end @for_petsc function PCFieldSplitSetGKBDelay(petsclib::$UnionPetscLib, pc::AbstractPC, delay::$PetscInt ) @@ -5041,7 +5041,7 @@ See also: `PC`, `PCFIELDSPLIT`, `PCFieldSplitSetGKBDelay()`, `PCFieldSplitSetGKB $(_doc_external("PC/PCFieldSplitSetGKBMaxit")) """ function PCFieldSplitSetGKBMaxit(petsclib::PetscLibType, pc::AbstractPC, maxit::Integer) - error("PCFieldSplitSetGKBMaxit: no generated method for these argument types") + throw(MethodError(PCFieldSplitSetGKBMaxit, (petsclib, pc, maxit))) end @for_petsc function PCFieldSplitSetGKBMaxit(petsclib::$UnionPetscLib, pc::AbstractPC, maxit::$PetscInt ) @@ -5079,7 +5079,7 @@ See also: `PC`, `PCFIELDSPLIT`, `PCFieldSplitSetGKBDelay()`, `PCFieldSplitSetGKB $(_doc_external("PC/PCFieldSplitSetGKBNu")) """ function PCFieldSplitSetGKBNu(petsclib::PetscLibType, pc::AbstractPC, nu::Real) - error("PCFieldSplitSetGKBNu: no generated method for these argument types") + throw(MethodError(PCFieldSplitSetGKBNu, (petsclib, pc, nu))) end @for_petsc function PCFieldSplitSetGKBNu(petsclib::$UnionPetscLib, pc::AbstractPC, nu::$PetscReal ) @@ -5116,7 +5116,7 @@ See also: `PC`, `PCFIELDSPLIT`, `PCFieldSplitSetGKBDelay()`, `PCFieldSplitSetGKB $(_doc_external("PC/PCFieldSplitSetGKBTol")) """ function PCFieldSplitSetGKBTol(petsclib::PetscLibType, pc::AbstractPC, tolerance::Real) - error("PCFieldSplitSetGKBTol: no generated method for these argument types") + throw(MethodError(PCFieldSplitSetGKBTol, (petsclib, pc, tolerance))) end @for_petsc function PCFieldSplitSetGKBTol(petsclib::$UnionPetscLib, pc::AbstractPC, tolerance::$PetscReal ) @@ -5151,7 +5151,7 @@ See also: `PC`, `PCFieldSplitGetSubKSP()`, `PCFIELDSPLIT`, `PCFieldSplitSetBlock $(_doc_external("PC/PCFieldSplitSetIS")) """ function PCFieldSplitSetIS(petsclib::PetscLibType, pc::AbstractPC, splitname::String, is::AbstractIS) - error("PCFieldSplitSetIS: no generated method for these argument types") + throw(MethodError(PCFieldSplitSetIS, (petsclib, pc, splitname, is))) end @for_petsc function PCFieldSplitSetIS(petsclib::$UnionPetscLib, pc::AbstractPC, splitname::String, is::AbstractIS ) @@ -5189,7 +5189,7 @@ See also: `PC`, `PCSetOperators()`, `KSPSetOperators()`, `PCFieldSplitGetOffDiag $(_doc_external("PC/PCFieldSplitSetOffDiagUseAmat")) """ function PCFieldSplitSetOffDiagUseAmat(petsclib::PetscLibType, pc::AbstractPC, flg::PetscBool) - error("PCFieldSplitSetOffDiagUseAmat: no generated method for these argument types") + throw(MethodError(PCFieldSplitSetOffDiagUseAmat, (petsclib, pc, flg))) end @for_petsc function PCFieldSplitSetOffDiagUseAmat(petsclib::$UnionPetscLib, pc::AbstractPC, flg::PetscBool ) @@ -5227,7 +5227,7 @@ See also: `PC`, `PCFieldSplitGetSubKSP()`, `PCFIELDSPLIT`, `PCFieldSplitSetField $(_doc_external("PC/PCFieldSplitSetSchurFactType")) """ function PCFieldSplitSetSchurFactType(petsclib::PetscLibType, pc::AbstractPC, ftype::PCFieldSplitSchurFactType) - error("PCFieldSplitSetSchurFactType: no generated method for these argument types") + throw(MethodError(PCFieldSplitSetSchurFactType, (petsclib, pc, ftype))) end @for_petsc function PCFieldSplitSetSchurFactType(petsclib::$UnionPetscLib, pc::AbstractPC, ftype::PCFieldSplitSchurFactType ) @@ -5270,7 +5270,7 @@ See also: `PC`, `PCFieldSplitGetSchurPre()`, `PCFieldSplitGetSubKSP()`, `PCFIELD $(_doc_external("PC/PCFieldSplitSetSchurPre")) """ function PCFieldSplitSetSchurPre(petsclib::PetscLibType, pc::AbstractPC, ptype::PCFieldSplitSchurPreType, pre::AbstractPetscMat) - error("PCFieldSplitSetSchurPre: no generated method for these argument types") + throw(MethodError(PCFieldSplitSetSchurPre, (petsclib, pc, ptype, pre))) end @for_petsc function PCFieldSplitSetSchurPre(petsclib::$UnionPetscLib, pc::AbstractPC, ptype::PCFieldSplitSchurPreType, pre::AbstractPetscMat ) @@ -5307,7 +5307,7 @@ See also: `PC`, `PCFIELDSPLIT`, `PCFieldSplitSetFields()`, `PCFieldSplitSchurFac $(_doc_external("PC/PCFieldSplitSetSchurScale")) """ function PCFieldSplitSetSchurScale(petsclib::PetscLibType, pc::AbstractPC, scale::Number) - error("PCFieldSplitSetSchurScale: no generated method for these argument types") + throw(MethodError(PCFieldSplitSetSchurScale, (petsclib, pc, scale))) end @for_petsc function PCFieldSplitSetSchurScale(petsclib::$UnionPetscLib, pc::AbstractPC, scale::$PetscScalar ) @@ -5346,7 +5346,7 @@ See also: `PC`, `PCFIELDSPLIT`, `PCCompositeType`, `PCCompositeGetType()`, `PC_C $(_doc_external("PC/PCFieldSplitSetType")) """ function PCFieldSplitSetType(petsclib::PetscLibType, pc::AbstractPC, type::PCCompositeType) - error("PCFieldSplitSetType: no generated method for these argument types") + throw(MethodError(PCFieldSplitSetType, (petsclib, pc, type))) end @for_petsc function PCFieldSplitSetType(petsclib::$UnionPetscLib, pc::AbstractPC, type::PCCompositeType ) @@ -5375,7 +5375,7 @@ See also: `PetscFinalize()`, `PCInitializePackage()` $(_doc_external("KSP/PCFinalizePackage")) """ function PCFinalizePackage(petsclib::PetscLibType) - error("PCFinalizePackage: no generated method for these argument types") + throw(MethodError(PCFinalizePackage, (petsclib, ))) end @for_petsc function PCFinalizePackage(petsclib::$UnionPetscLib) @@ -5411,7 +5411,7 @@ See also: the Users Manual section on PCGAMG, the Users Manual section on PCMG, $(_doc_external("PC/PCGAMGASMSetHEM")) """ function PCGAMGASMSetHEM(petsclib::PetscLibType, pc::AbstractPC, n::Integer) - error("PCGAMGASMSetHEM: no generated method for these argument types") + throw(MethodError(PCGAMGASMSetHEM, (petsclib, pc, n))) end @for_petsc function PCGAMGASMSetHEM(petsclib::$UnionPetscLib, pc::AbstractPC, n::$PetscInt ) @@ -5449,7 +5449,7 @@ See also: the Users Manual section on PCGAMG, the Users Manual section on PCMG, $(_doc_external("PC/PCGAMGASMSetUseAggs")) """ function PCGAMGASMSetUseAggs(petsclib::PetscLibType, pc::AbstractPC, flg::PetscBool) - error("PCGAMGASMSetUseAggs: no generated method for these argument types") + throw(MethodError(PCGAMGASMSetUseAggs, (petsclib, pc, flg))) end @for_petsc function PCGAMGASMSetUseAggs(petsclib::$UnionPetscLib, pc::AbstractPC, flg::PetscBool ) @@ -5485,7 +5485,7 @@ See also: `PCGAMG`, `PCGAMGClassicalType`, `PCGAMGClassicalSetType()` $(_doc_external("PC/PCGAMGClassicalGetType")) """ function PCGAMGClassicalGetType(petsclib::PetscLibType, pc::AbstractPC) - error("PCGAMGClassicalGetType: no generated method for these argument types") + throw(MethodError(PCGAMGClassicalGetType, (petsclib, pc))) end @for_petsc function PCGAMGClassicalGetType(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -5524,7 +5524,7 @@ See also: `PCGAMG`, `PCGAMGClassicalType`, `PCGAMGClassicalGetType()` $(_doc_external("PC/PCGAMGClassicalSetType")) """ function PCGAMGClassicalSetType(petsclib::PetscLibType, pc::AbstractPC, type::String) - error("PCGAMGClassicalSetType: no generated method for these argument types") + throw(MethodError(PCGAMGClassicalSetType, (petsclib, pc, type))) end @for_petsc function PCGAMGClassicalSetType(petsclib::$UnionPetscLib, pc::AbstractPC, type::String ) @@ -5559,7 +5559,7 @@ See also: `PCGAMGType`, `PCGAMG`, `PCGAMGSetType()` $(_doc_external("PC/PCGAMGCreateGraph")) """ function PCGAMGCreateGraph(petsclib::PetscLibType, pc::AbstractPC, A::AbstractPetscMat) - error("PCGAMGCreateGraph: no generated method for these argument types") + throw(MethodError(PCGAMGCreateGraph, (petsclib, pc, A))) end @for_petsc function PCGAMGCreateGraph(petsclib::$UnionPetscLib, pc::AbstractPC, A::AbstractPetscMat ) @@ -5590,7 +5590,7 @@ See also: `PetscFinalize()` $(_doc_external("PC/PCGAMGFinalizePackage")) """ function PCGAMGFinalizePackage(petsclib::PetscLibType) - error("PCGAMGFinalizePackage: no generated method for these argument types") + throw(MethodError(PCGAMGFinalizePackage, (petsclib, ))) end @for_petsc function PCGAMGFinalizePackage(petsclib::$UnionPetscLib) @@ -5625,7 +5625,7 @@ See also: the Users Manual section on PCGAMG, the Users Manual section on PCMG, $(_doc_external("PC/PCGAMGGetType")) """ function PCGAMGGetType(petsclib::PetscLibType, pc::AbstractPC) - error("PCGAMGGetType: no generated method for these argument types") + throw(MethodError(PCGAMGGetType, (petsclib, pc))) end @for_petsc function PCGAMGGetType(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -5656,7 +5656,7 @@ See also: `PetscInitialize()` $(_doc_external("PC/PCGAMGInitializePackage")) """ function PCGAMGInitializePackage(petsclib::PetscLibType) - error("PCGAMGInitializePackage: no generated method for these argument types") + throw(MethodError(PCGAMGInitializePackage, (petsclib, ))) end @for_petsc function PCGAMGInitializePackage(petsclib::$UnionPetscLib) @@ -5693,7 +5693,7 @@ See also: the Users Manual section on PCGAMG, the Users Manual section on PCMG, $(_doc_external("PC/PCGAMGMISkSetAggressive")) """ function PCGAMGMISkSetAggressive(petsclib::PetscLibType, pc::AbstractPC, n::Integer) - error("PCGAMGMISkSetAggressive: no generated method for these argument types") + throw(MethodError(PCGAMGMISkSetAggressive, (petsclib, pc, n))) end @for_petsc function PCGAMGMISkSetAggressive(petsclib::$UnionPetscLib, pc::AbstractPC, n::$PetscInt ) @@ -5731,7 +5731,7 @@ See also: the Users Manual section on PCGAMG, the Users Manual section on PCMG, $(_doc_external("PC/PCGAMGMISkSetMinDegreeOrdering")) """ function PCGAMGMISkSetMinDegreeOrdering(petsclib::PetscLibType, pc::AbstractPC, b::PetscBool) - error("PCGAMGMISkSetMinDegreeOrdering: no generated method for these argument types") + throw(MethodError(PCGAMGMISkSetMinDegreeOrdering, (petsclib, pc, b))) end @for_petsc function PCGAMGMISkSetMinDegreeOrdering(petsclib::$UnionPetscLib, pc::AbstractPC, b::PetscBool ) @@ -5763,7 +5763,7 @@ See also: `PCGAMGType`, `PCGAMG`, `PCGAMGSetType()` $(_doc_external("PC/PCGAMGRegister")) """ function PCGAMGRegister(petsclib::PetscLibType, type::String, create::external) - error("PCGAMGRegister: no generated method for these argument types") + throw(MethodError(PCGAMGRegister, (petsclib, type, create))) end @for_petsc function PCGAMGRegister(petsclib::$UnionPetscLib, type::String, create::external ) @@ -5801,7 +5801,7 @@ See also: the Users Manual section on PCGAMG, the Users Manual section on PCMG, $(_doc_external("PC/PCGAMGSetAggressiveLevels")) """ function PCGAMGSetAggressiveLevels(petsclib::PetscLibType, pc::AbstractPC, n::Integer) - error("PCGAMGSetAggressiveLevels: no generated method for these argument types") + throw(MethodError(PCGAMGSetAggressiveLevels, (petsclib, pc, n))) end @for_petsc function PCGAMGSetAggressiveLevels(petsclib::$UnionPetscLib, pc::AbstractPC, n::$PetscInt ) @@ -5838,7 +5838,7 @@ See also: the Users Manual section on PCGAMG, the Users Manual section on PCMG, $(_doc_external("PC/PCGAMGSetAggressiveSquareGraph")) """ function PCGAMGSetAggressiveSquareGraph(petsclib::PetscLibType, pc::AbstractPC, b::PetscBool) - error("PCGAMGSetAggressiveSquareGraph: no generated method for these argument types") + throw(MethodError(PCGAMGSetAggressiveSquareGraph, (petsclib, pc, b))) end @for_petsc function PCGAMGSetAggressiveSquareGraph(petsclib::$UnionPetscLib, pc::AbstractPC, b::PetscBool ) @@ -5876,7 +5876,7 @@ See also: the Users Manual section on PCGAMG, the Users Manual section on PCMG, $(_doc_external("PC/PCGAMGSetCoarseEqLim")) """ function PCGAMGSetCoarseEqLim(petsclib::PetscLibType, pc::AbstractPC, n::Integer) - error("PCGAMGSetCoarseEqLim: no generated method for these argument types") + throw(MethodError(PCGAMGSetCoarseEqLim, (petsclib, pc, n))) end @for_petsc function PCGAMGSetCoarseEqLim(petsclib::$UnionPetscLib, pc::AbstractPC, n::$PetscInt ) @@ -5913,7 +5913,7 @@ See also: the Users Manual section on PCGAMG, the Users Manual section on PCMG, $(_doc_external("PC/PCGAMGSetCoarseGridLayoutType")) """ function PCGAMGSetCoarseGridLayoutType(petsclib::PetscLibType, pc::AbstractPC, flg::PCGAMGLayoutType) - error("PCGAMGSetCoarseGridLayoutType: no generated method for these argument types") + throw(MethodError(PCGAMGSetCoarseGridLayoutType, (petsclib, pc, flg))) end @for_petsc function PCGAMGSetCoarseGridLayoutType(petsclib::$UnionPetscLib, pc::AbstractPC, flg::PCGAMGLayoutType ) @@ -5950,7 +5950,7 @@ See also: the Users Manual section on PCGAMG, the Users Manual section on PCMG, $(_doc_external("PC/PCGAMGSetCpuPinCoarseGrids")) """ function PCGAMGSetCpuPinCoarseGrids(petsclib::PetscLibType, pc::AbstractPC, flg::PetscBool) - error("PCGAMGSetCpuPinCoarseGrids: no generated method for these argument types") + throw(MethodError(PCGAMGSetCpuPinCoarseGrids, (petsclib, pc, flg))) end @for_petsc function PCGAMGSetCpuPinCoarseGrids(petsclib::$UnionPetscLib, pc::AbstractPC, flg::PetscBool ) @@ -5988,7 +5988,7 @@ See also: the Users Manual section on PCGAMG, the Users Manual section on PCMG, $(_doc_external("PC/PCGAMGSetEigenvalues")) """ function PCGAMGSetEigenvalues(petsclib::PetscLibType, pc::AbstractPC, emax::Real, emin::Real) - error("PCGAMGSetEigenvalues: no generated method for these argument types") + throw(MethodError(PCGAMGSetEigenvalues, (petsclib, pc, emax, emin))) end @for_petsc function PCGAMGSetEigenvalues(petsclib::$UnionPetscLib, pc::AbstractPC, emax::$PetscReal, emin::$PetscReal ) @@ -6026,7 +6026,7 @@ See also: the Users Manual section on PCGAMG, the Users Manual section on PCMG, $(_doc_external("PC/PCGAMGSetGraphSymmetrize")) """ function PCGAMGSetGraphSymmetrize(petsclib::PetscLibType, pc::AbstractPC, b::PetscBool) - error("PCGAMGSetGraphSymmetrize: no generated method for these argument types") + throw(MethodError(PCGAMGSetGraphSymmetrize, (petsclib, pc, b))) end @for_petsc function PCGAMGSetGraphSymmetrize(petsclib::$UnionPetscLib, pc::AbstractPC, b::PetscBool ) @@ -6064,7 +6064,7 @@ See also: the Users Manual section on PCGAMG, the Users Manual section on PCMG, $(_doc_external("PC/PCGAMGSetInjectionIndex")) """ function PCGAMGSetInjectionIndex(petsclib::PetscLibType, pc::AbstractPC, n::Integer, idx::AbstractVector{<:Number}) - error("PCGAMGSetInjectionIndex: no generated method for these argument types") + throw(MethodError(PCGAMGSetInjectionIndex, (petsclib, pc, n, idx))) end @for_petsc function PCGAMGSetInjectionIndex(petsclib::$UnionPetscLib, pc::AbstractPC, n::$PetscInt, idx::Vector{$PetscInt} ) @@ -6102,7 +6102,7 @@ See also: the Users Manual section on PCGAMG, the Users Manual section on PCMG, $(_doc_external("PC/PCGAMGSetLowMemoryFilter")) """ function PCGAMGSetLowMemoryFilter(petsclib::PetscLibType, pc::AbstractPC, b::PetscBool) - error("PCGAMGSetLowMemoryFilter: no generated method for these argument types") + throw(MethodError(PCGAMGSetLowMemoryFilter, (petsclib, pc, b))) end @for_petsc function PCGAMGSetLowMemoryFilter(petsclib::$UnionPetscLib, pc::AbstractPC, b::PetscBool ) @@ -6139,7 +6139,7 @@ See also: the Users Manual section on PCGAMG, the Users Manual section on PCMG, $(_doc_external("PC/PCGAMGSetNSmooths")) """ function PCGAMGSetNSmooths(petsclib::PetscLibType, pc::AbstractPC, n::Integer) - error("PCGAMGSetNSmooths: no generated method for these argument types") + throw(MethodError(PCGAMGSetNSmooths, (petsclib, pc, n))) end @for_petsc function PCGAMGSetNSmooths(petsclib::$UnionPetscLib, pc::AbstractPC, n::$PetscInt ) @@ -6176,7 +6176,7 @@ See also: the Users Manual section on PCGAMG, the Users Manual section on PCMG, $(_doc_external("PC/PCGAMGSetNlevels")) """ function PCGAMGSetNlevels(petsclib::PetscLibType, pc::AbstractPC, n::Integer) - error("PCGAMGSetNlevels: no generated method for these argument types") + throw(MethodError(PCGAMGSetNlevels, (petsclib, pc, n))) end @for_petsc function PCGAMGSetNlevels(petsclib::$UnionPetscLib, pc::AbstractPC, n::$PetscInt ) @@ -6213,7 +6213,7 @@ See also: the Users Manual section on PCGAMG, the Users Manual section on PCMG, $(_doc_external("PC/PCGAMGSetParallelCoarseGridSolve")) """ function PCGAMGSetParallelCoarseGridSolve(petsclib::PetscLibType, pc::AbstractPC, flg::PetscBool) - error("PCGAMGSetParallelCoarseGridSolve: no generated method for these argument types") + throw(MethodError(PCGAMGSetParallelCoarseGridSolve, (petsclib, pc, flg))) end @for_petsc function PCGAMGSetParallelCoarseGridSolve(petsclib::$UnionPetscLib, pc::AbstractPC, flg::PetscBool ) @@ -6250,7 +6250,7 @@ See also: the Users Manual section on PCGAMG, the Users Manual section on PCMG, $(_doc_external("PC/PCGAMGSetProcEqLim")) """ function PCGAMGSetProcEqLim(petsclib::PetscLibType, pc::AbstractPC, n::Integer) - error("PCGAMGSetProcEqLim: no generated method for these argument types") + throw(MethodError(PCGAMGSetProcEqLim, (petsclib, pc, n))) end @for_petsc function PCGAMGSetProcEqLim(petsclib::$UnionPetscLib, pc::AbstractPC, n::$PetscInt ) @@ -6288,7 +6288,7 @@ See also: the Users Manual section on PCGAMG, the Users Manual section on PCMG, $(_doc_external("PC/PCGAMGSetRankReductionFactors")) """ function PCGAMGSetRankReductionFactors(petsclib::PetscLibType, pc::AbstractPC, v::AbstractVector{<:Number}, n::Integer) - error("PCGAMGSetRankReductionFactors: no generated method for these argument types") + throw(MethodError(PCGAMGSetRankReductionFactors, (petsclib, pc, v, n))) end @for_petsc function PCGAMGSetRankReductionFactors(petsclib::$UnionPetscLib, pc::AbstractPC, v::Vector{$PetscInt}, n::$PetscInt ) @@ -6325,7 +6325,7 @@ See also: the Users Manual section on PCGAMG, the Users Manual section on PCMG, $(_doc_external("PC/PCGAMGSetRecomputeEstEig")) """ function PCGAMGSetRecomputeEstEig(petsclib::PetscLibType, pc::AbstractPC, b::PetscBool) - error("PCGAMGSetRecomputeEstEig: no generated method for these argument types") + throw(MethodError(PCGAMGSetRecomputeEstEig, (petsclib, pc, b))) end @for_petsc function PCGAMGSetRecomputeEstEig(petsclib::$UnionPetscLib, pc::AbstractPC, b::PetscBool ) @@ -6362,7 +6362,7 @@ See also: the Users Manual section on PCGAMG, the Users Manual section on PCMG, $(_doc_external("PC/PCGAMGSetRepartition")) """ function PCGAMGSetRepartition(petsclib::PetscLibType, pc::AbstractPC, n::PetscBool) - error("PCGAMGSetRepartition: no generated method for these argument types") + throw(MethodError(PCGAMGSetRepartition, (petsclib, pc, n))) end @for_petsc function PCGAMGSetRepartition(petsclib::$UnionPetscLib, pc::AbstractPC, n::PetscBool ) @@ -6399,7 +6399,7 @@ See also: the Users Manual section on PCGAMG, the Users Manual section on PCMG, $(_doc_external("PC/PCGAMGSetReuseInterpolation")) """ function PCGAMGSetReuseInterpolation(petsclib::PetscLibType, pc::AbstractPC, n::PetscBool) - error("PCGAMGSetReuseInterpolation: no generated method for these argument types") + throw(MethodError(PCGAMGSetReuseInterpolation, (petsclib, pc, n))) end @for_petsc function PCGAMGSetReuseInterpolation(petsclib::$UnionPetscLib, pc::AbstractPC, n::PetscBool ) @@ -6438,7 +6438,7 @@ See also: the Users Manual section on PCGAMG, the Users Manual section on PCMG, $(_doc_external("PC/PCGAMGSetThreshold")) """ function PCGAMGSetThreshold(petsclib::PetscLibType, pc::AbstractPC, v::AbstractVector{<:Number}, n::Integer) - error("PCGAMGSetThreshold: no generated method for these argument types") + throw(MethodError(PCGAMGSetThreshold, (petsclib, pc, v, n))) end @for_petsc function PCGAMGSetThreshold(petsclib::$UnionPetscLib, pc::AbstractPC, v::Vector{$PetscReal}, n::$PetscInt ) @@ -6475,7 +6475,7 @@ See also: the Users Manual section on PCGAMG, the Users Manual section on PCMG, $(_doc_external("PC/PCGAMGSetThresholdScale")) """ function PCGAMGSetThresholdScale(petsclib::PetscLibType, pc::AbstractPC, v::Real) - error("PCGAMGSetThresholdScale: no generated method for these argument types") + throw(MethodError(PCGAMGSetThresholdScale, (petsclib, pc, v))) end @for_petsc function PCGAMGSetThresholdScale(petsclib::$UnionPetscLib, pc::AbstractPC, v::$PetscReal ) @@ -6512,7 +6512,7 @@ See also: the Users Manual section on PCGAMG, the Users Manual section on PCMG, $(_doc_external("PC/PCGAMGSetType")) """ function PCGAMGSetType(petsclib::PetscLibType, pc::AbstractPC, type::String) - error("PCGAMGSetType: no generated method for these argument types") + throw(MethodError(PCGAMGSetType, (petsclib, pc, type))) end @for_petsc function PCGAMGSetType(petsclib::$UnionPetscLib, pc::AbstractPC, type::String ) @@ -6549,7 +6549,7 @@ See also: the Users Manual section on PCGAMG, the Users Manual section on PCMG, $(_doc_external("PC/PCGAMGSetUseSAEstEig")) """ function PCGAMGSetUseSAEstEig(petsclib::PetscLibType, pc::AbstractPC, b::PetscBool) - error("PCGAMGSetUseSAEstEig: no generated method for these argument types") + throw(MethodError(PCGAMGSetUseSAEstEig, (petsclib, pc, b))) end @for_petsc function PCGAMGSetUseSAEstEig(petsclib::$UnionPetscLib, pc::AbstractPC, b::PetscBool ) @@ -6588,7 +6588,7 @@ See also: `PCGASM`, `PCGASMSetSubdomains()`, `PCGASMDestroySubdomains()` $(_doc_external("PC/PCGASMCreateSubdomains")) """ function PCGASMCreateSubdomains(petsclib::PetscLibType, A::AbstractPetscMat, N::Integer) - error("PCGASMCreateSubdomains: no generated method for these argument types") + throw(MethodError(PCGASMCreateSubdomains, (petsclib, A, N))) end @for_petsc function PCGASMCreateSubdomains(petsclib::$UnionPetscLib, A::AbstractPetscMat, N::$PetscInt ) @@ -6639,7 +6639,7 @@ See also: `PCGASM`, `PCGASMSetSubdomains()`, `PCGASMGetSubKSP()`, `PCGASMSetOver $(_doc_external("PC/PCGASMCreateSubdomains2D")) """ function PCGASMCreateSubdomains2D(petsclib::PetscLibType, pc::AbstractPC, M::Integer, N::Integer, Mdomains::Integer, Ndomains::Integer, dof::Integer, overlap::Integer) - error("PCGASMCreateSubdomains2D: no generated method for these argument types") + throw(MethodError(PCGASMCreateSubdomains2D, (petsclib, pc, M, N, Mdomains, Ndomains, dof, overlap))) end @for_petsc function PCGASMCreateSubdomains2D(petsclib::$UnionPetscLib, pc::AbstractPC, M::$PetscInt, N::$PetscInt, Mdomains::$PetscInt, Ndomains::$PetscInt, dof::$PetscInt, overlap::$PetscInt ) @@ -6733,7 +6733,7 @@ See also: `PCGASM`, `PCGASMSetSubdomains()`, `PCGASMSetOverlap()`, $(_doc_external("PC/PCGASMGetSubKSP")) """ function PCGASMGetSubKSP(petsclib::PetscLibType, pc::AbstractPC) - error("PCGASMGetSubKSP: no generated method for these argument types") + throw(MethodError(PCGASMGetSubKSP, (petsclib, pc))) end @for_petsc function PCGASMGetSubKSP(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -6779,7 +6779,7 @@ See also: `PCGASM`, `PCGASMSetOverlap()`, `PCGASMGetSubKSP()`, `PCGASMCreateSubd $(_doc_external("PC/PCGASMGetSubdomains")) """ function PCGASMGetSubdomains(petsclib::PetscLibType, pc::AbstractPC) - error("PCGASMGetSubdomains: no generated method for these argument types") + throw(MethodError(PCGASMGetSubdomains, (petsclib, pc))) end @for_petsc function PCGASMGetSubdomains(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -6826,7 +6826,7 @@ See also: `PCGASM`, `PCGASMSetOverlap()`, `PCGASMGetSubKSP()`, $(_doc_external("PC/PCGASMGetSubmatrices")) """ function PCGASMGetSubmatrices(petsclib::PetscLibType, pc::AbstractPC) - error("PCGASMGetSubmatrices: no generated method for these argument types") + throw(MethodError(PCGASMGetSubmatrices, (petsclib, pc))) end @for_petsc function PCGASMGetSubmatrices(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -6867,7 +6867,7 @@ See also: `PCGASM`, `PCGASMSetUseDMSubdomains()`, `PCGASMSetOverlap()`, $(_doc_external("PC/PCGASMGetUseDMSubdomains")) """ function PCGASMGetUseDMSubdomains(petsclib::PetscLibType, pc::AbstractPC) - error("PCGASMGetUseDMSubdomains: no generated method for these argument types") + throw(MethodError(PCGASMGetUseDMSubdomains, (petsclib, pc))) end @for_petsc function PCGASMGetUseDMSubdomains(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -6909,7 +6909,7 @@ See also: `PCGASM`, `PCGASMSetSubdomains()`, `PCGASMGetSubKSP()`, $(_doc_external("PC/PCGASMSetOverlap")) """ function PCGASMSetOverlap(petsclib::PetscLibType, pc::AbstractPC, ovl::Integer) - error("PCGASMSetOverlap: no generated method for these argument types") + throw(MethodError(PCGASMSetOverlap, (petsclib, pc, ovl))) end @for_petsc function PCGASMSetOverlap(petsclib::$UnionPetscLib, pc::AbstractPC, ovl::$PetscInt ) @@ -6944,7 +6944,7 @@ See also: `PCGASM`, `PCGASMSetSubdomains()`, `PCGASMGetSubKSP()`, $(_doc_external("PC/PCGASMSetSortIndices")) """ function PCGASMSetSortIndices(petsclib::PetscLibType, pc::AbstractPC, doSort::PetscBool) - error("PCGASMSetSortIndices: no generated method for these argument types") + throw(MethodError(PCGASMSetSortIndices, (petsclib, pc, doSort))) end @for_petsc function PCGASMSetSortIndices(petsclib::$UnionPetscLib, pc::AbstractPC, doSort::PetscBool ) @@ -6984,7 +6984,7 @@ See also: `PCGASM`, `PCGASMSetOverlap()`, `PCGASMGetSubKSP()`, `PCGASMDestroySub $(_doc_external("PC/PCGASMSetSubdomains")) """ function PCGASMSetSubdomains(petsclib::PetscLibType, pc::AbstractPC, n::Integer, iis::Vector{<:AbstractIS}, ois::Vector{<:AbstractIS}) - error("PCGASMSetSubdomains: no generated method for these argument types") + throw(MethodError(PCGASMSetSubdomains, (petsclib, pc, n, iis, ois))) end @for_petsc function PCGASMSetSubdomains(petsclib::$UnionPetscLib, pc::AbstractPC, n::$PetscInt, iis::Vector{<:AbstractIS}, ois::Vector{<:AbstractIS} ) @@ -7019,7 +7019,7 @@ See also: `PCGASM`, `PCGASMSetSubdomains()`, `PCGASMSetOverlap()`, $(_doc_external("PC/PCGASMSetTotalSubdomains")) """ function PCGASMSetTotalSubdomains(petsclib::PetscLibType, pc::AbstractPC, N::Integer) - error("PCGASMSetTotalSubdomains: no generated method for these argument types") + throw(MethodError(PCGASMSetTotalSubdomains, (petsclib, pc, N))) end @for_petsc function PCGASMSetTotalSubdomains(petsclib::$UnionPetscLib, pc::AbstractPC, N::$PetscInt ) @@ -7064,7 +7064,7 @@ See also: `PCGASM`, `PCGASMSetSubdomains()`, `PCGASMGetSubKSP()`, $(_doc_external("PC/PCGASMSetType")) """ function PCGASMSetType(petsclib::PetscLibType, pc::AbstractPC, type::PCGASMType) - error("PCGASMSetType: no generated method for these argument types") + throw(MethodError(PCGASMSetType, (petsclib, pc, type))) end @for_petsc function PCGASMSetType(petsclib::$UnionPetscLib, pc::AbstractPC, type::PCGASMType ) @@ -7104,7 +7104,7 @@ See also: `PCGASM`, `PCGASMGetUseDMSubdomains()`, `PCGASMSetSubdomains()`, `PCGA $(_doc_external("PC/PCGASMSetUseDMSubdomains")) """ function PCGASMSetUseDMSubdomains(petsclib::PetscLibType, pc::AbstractPC, flg::PetscBool) - error("PCGASMSetUseDMSubdomains: no generated method for these argument types") + throw(MethodError(PCGASMSetUseDMSubdomains, (petsclib, pc, flg))) end @for_petsc function PCGASMSetUseDMSubdomains(petsclib::$UnionPetscLib, pc::AbstractPC, flg::PetscBool ) @@ -7141,7 +7141,7 @@ See also: `PC`, `PCCreate()`, `PCSetType()`, `PCType`, `PCGALERKIN`, $(_doc_external("PC/PCGalerkinGetKSP")) """ function PCGalerkinGetKSP(petsclib::PetscLibType, pc::AbstractPC) - error("PCGalerkinGetKSP: no generated method for these argument types") + throw(MethodError(PCGalerkinGetKSP, (petsclib, pc))) end @for_petsc function PCGalerkinGetKSP(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -7186,7 +7186,7 @@ See also: `PC`, `PCCreate()`, `PCSetType()`, `PCType`, `PCGALERKIN`, $(_doc_external("PC/PCGalerkinSetComputeSubmatrix")) """ function PCGalerkinSetComputeSubmatrix(petsclib::PetscLibType, pc::AbstractPC, computeAsub::external, ctx::Ptr{Cvoid}) - error("PCGalerkinSetComputeSubmatrix: no generated method for these argument types") + throw(MethodError(PCGalerkinSetComputeSubmatrix, (petsclib, pc, computeAsub, ctx))) end @for_petsc function PCGalerkinSetComputeSubmatrix(petsclib::$UnionPetscLib, pc::AbstractPC, computeAsub::external, ctx::Ptr{Cvoid} ) @@ -7221,7 +7221,7 @@ See also: `PC`, `PCCreate()`, `PCSetType()`, `PCType`, `PCGALERKIN`, $(_doc_external("PC/PCGalerkinSetInterpolation")) """ function PCGalerkinSetInterpolation(petsclib::PetscLibType, pc::AbstractPC, P::AbstractPetscMat) - error("PCGalerkinSetInterpolation: no generated method for these argument types") + throw(MethodError(PCGalerkinSetInterpolation, (petsclib, pc, P))) end @for_petsc function PCGalerkinSetInterpolation(petsclib::$UnionPetscLib, pc::AbstractPC, P::AbstractPetscMat ) @@ -7256,7 +7256,7 @@ See also: `PC`, `PCCreate()`, `PCSetType()`, `PCType`, `PCGALERKIN`, $(_doc_external("PC/PCGalerkinSetRestriction")) """ function PCGalerkinSetRestriction(petsclib::PetscLibType, pc::AbstractPC, R::AbstractPetscMat) - error("PCGalerkinSetRestriction: no generated method for these argument types") + throw(MethodError(PCGalerkinSetRestriction, (petsclib, pc, R))) end @for_petsc function PCGalerkinSetRestriction(petsclib::$UnionPetscLib, pc::AbstractPC, R::AbstractPetscMat ) @@ -7292,7 +7292,7 @@ See also: `PC`, `PCSetApplicationContext()`, `KSPSetApplicationContext()`, `KSPG $(_doc_external("PC/PCGetApplicationContext")) """ function PCGetApplicationContext(petsclib::PetscLibType, pc::AbstractPC) - error("PCGetApplicationContext: no generated method for these argument types") + throw(MethodError(PCGetApplicationContext, (petsclib, pc))) end @for_petsc function PCGetApplicationContext(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -7331,7 +7331,7 @@ See also: `PC`, `PCMG`, `PCMGGetRestriction()`, `PCMGSetInterpolation()`, `PCMGG $(_doc_external("PC/PCGetCoarseOperators")) """ function PCGetCoarseOperators(petsclib::PetscLibType, pc::AbstractPC) - error("PCGetCoarseOperators: no generated method for these argument types") + throw(MethodError(PCGetCoarseOperators, (petsclib, pc))) end @for_petsc function PCGetCoarseOperators(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -7372,7 +7372,7 @@ See also: `PC`, `DM`, `PCSetDM()`, `KSPSetDM()`, `KSPGetDM()` $(_doc_external("PC/PCGetDM")) """ function PCGetDM(petsclib::PetscLibType, pc::AbstractPC) - error("PCGetDM: no generated method for these argument types") + throw(MethodError(PCGetDM, (petsclib, pc))) end @for_petsc function PCGetDM(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -7411,7 +7411,7 @@ See also: `PC`, `PCCreate()`, `PCSetUp()`, `PCDiagonalScaleLeft()`, `PCDiagonalS $(_doc_external("PC/PCGetDiagonalScale")) """ function PCGetDiagonalScale(petsclib::PetscLibType, pc::AbstractPC) - error("PCGetDiagonalScale: no generated method for these argument types") + throw(MethodError(PCGetDiagonalScale, (petsclib, pc))) end @for_petsc function PCGetDiagonalScale(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -7449,7 +7449,7 @@ See also: `PC`, `PCCreate()`, `PCApply()`, `PCDestroy()`, `PCSetFailedReason()`, $(_doc_external("PC/PCGetFailedReason")) """ function PCGetFailedReason(petsclib::PetscLibType, pc::AbstractPC) - error("PCGetFailedReason: no generated method for these argument types") + throw(MethodError(PCGetFailedReason, (petsclib, pc))) end @for_petsc function PCGetFailedReason(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -7488,7 +7488,7 @@ See also: `PC`, `PCMG`, `PCMGGetRestriction()`, `PCMGSetInterpolation()`, `PCMGG $(_doc_external("PC/PCGetInterpolations")) """ function PCGetInterpolations(petsclib::PetscLibType, pc::AbstractPC) - error("PCGetInterpolations: no generated method for these argument types") + throw(MethodError(PCGetInterpolations, (petsclib, pc))) end @for_petsc function PCGetInterpolations(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -7529,7 +7529,7 @@ See also: `KSPSetUp()`, `KSPSolve()`, `KSPDestroy()`, `KSP`, `KSPGMRES`, `KSPTyp $(_doc_external("PC/PCGetKSPNestLevel")) """ function PCGetKSPNestLevel(petsclib::PetscLibType, pc::AbstractPC) - error("PCGetKSPNestLevel: no generated method for these argument types") + throw(MethodError(PCGetKSPNestLevel, (petsclib, pc))) end @for_petsc function PCGetKSPNestLevel(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -7569,7 +7569,7 @@ See also: `PC`, `PCSetOperators()`, `KSPGetOperators()`, `KSPSetOperators()`, `P $(_doc_external("PC/PCGetOperators")) """ function PCGetOperators(petsclib::PetscLibType, pc::AbstractPC) - error("PCGetOperators: no generated method for these argument types") + throw(MethodError(PCGetOperators, (petsclib, pc))) end @for_petsc function PCGetOperators(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -7611,7 +7611,7 @@ See also: `PC`, `PCSetOperators()`, `KSPGetOperators()`, `KSPSetOperators()`, `P $(_doc_external("PC/PCGetOperatorsSet")) """ function PCGetOperatorsSet(petsclib::PetscLibType, pc::AbstractPC) - error("PCGetOperatorsSet: no generated method for these argument types") + throw(MethodError(PCGetOperatorsSet, (petsclib, pc))) end @for_petsc function PCGetOperatorsSet(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -7652,7 +7652,7 @@ See also: `PC`, `PCSetFromOptions()`, `PCSetOptionsPrefix()`, `PCAppendOptionsPr $(_doc_external("PC/PCGetOptionsPrefix")) """ function PCGetOptionsPrefix(petsclib::PetscLibType, pc::AbstractPC) - error("PCGetOptionsPrefix: no generated method for these argument types") + throw(MethodError(PCGetOptionsPrefix, (petsclib, pc))) end @for_petsc function PCGetOptionsPrefix(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -7690,7 +7690,7 @@ See also: `PC`, `PCGetOperators()`, `MatZeroEntries()`, `PCSetReusePreconditione $(_doc_external("PC/PCGetReusePreconditioner")) """ function PCGetReusePreconditioner(petsclib::PetscLibType, pc::AbstractPC) - error("PCGetReusePreconditioner: no generated method for these argument types") + throw(MethodError(PCGetReusePreconditioner, (petsclib, pc))) end @for_petsc function PCGetReusePreconditioner(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -7729,7 +7729,7 @@ See also: `PC`, `PCType`, `PCSetType()`, `PetscObjectTypeCompare()`, `PetscObjec $(_doc_external("PC/PCGetType")) """ function PCGetType(petsclib::PetscLibType, pc::AbstractPC) - error("PCGetType: no generated method for these argument types") + throw(MethodError(PCGetType, (petsclib, pc))) end @for_petsc function PCGetType(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -7769,7 +7769,7 @@ See also: `PC`, `PCSetUseAmat()`, `PCBJACOBI`, `PCMG`, `PCFIELDSPLIT`, `PCCOMPOS $(_doc_external("PC/PCGetUseAmat")) """ function PCGetUseAmat(petsclib::PetscLibType, pc::AbstractPC) - error("PCGetUseAmat: no generated method for these argument types") + throw(MethodError(PCGetUseAmat, (petsclib, pc))) end @for_petsc function PCGetUseAmat(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -7808,7 +7808,7 @@ See also: `PCHMG`, `PCType`, `PCGAMG`, `PCHMGSetReuseInterpolation()`, `PCHMGSet $(_doc_external("PC/PCHMGSetCoarseningComponent")) """ function PCHMGSetCoarseningComponent(petsclib::PetscLibType, pc::AbstractPC, component::Integer) - error("PCHMGSetCoarseningComponent: no generated method for these argument types") + throw(MethodError(PCHMGSetCoarseningComponent, (petsclib, pc, component))) end @for_petsc function PCHMGSetCoarseningComponent(petsclib::$UnionPetscLib, pc::AbstractPC, component::$PetscInt ) @@ -7846,7 +7846,7 @@ See also: `PCHMG`, `PCType`, `PCHMGSetReuseInterpolation()`, `PCHMGSetUseSubspac $(_doc_external("PC/PCHMGSetInnerPCType")) """ function PCHMGSetInnerPCType(petsclib::PetscLibType, pc::AbstractPC, type::String) - error("PCHMGSetInnerPCType: no generated method for these argument types") + throw(MethodError(PCHMGSetInnerPCType, (petsclib, pc, type))) end @for_petsc function PCHMGSetInnerPCType(petsclib::$UnionPetscLib, pc::AbstractPC, type::String ) @@ -7883,7 +7883,7 @@ See also: `PCHMG`, `PCGAMG`, `PCHMGSetUseSubspaceCoarsening()`, `PCHMGSetCoarsen $(_doc_external("PC/PCHMGSetReuseInterpolation")) """ function PCHMGSetReuseInterpolation(petsclib::PetscLibType, pc::AbstractPC, reuse::PetscBool) - error("PCHMGSetReuseInterpolation: no generated method for these argument types") + throw(MethodError(PCHMGSetReuseInterpolation, (petsclib, pc, reuse))) end @for_petsc function PCHMGSetReuseInterpolation(petsclib::$UnionPetscLib, pc::AbstractPC, reuse::PetscBool ) @@ -7920,7 +7920,7 @@ See also: `PCHMG`, `PCHMGSetReuseInterpolation()`, `PCHMGSetCoarseningComponent( $(_doc_external("PC/PCHMGSetUseSubspaceCoarsening")) """ function PCHMGSetUseSubspaceCoarsening(petsclib::PetscLibType, pc::AbstractPC, subspace::PetscBool) - error("PCHMGSetUseSubspaceCoarsening: no generated method for these argument types") + throw(MethodError(PCHMGSetUseSubspaceCoarsening, (petsclib, pc, subspace))) end @for_petsc function PCHMGSetUseSubspaceCoarsening(petsclib::$UnionPetscLib, pc::AbstractPC, subspace::PetscBool ) @@ -7957,7 +7957,7 @@ See also: `PCHMG`, `PCType`, `PCGAMG` $(_doc_external("PC/PCHMGUseMatMAIJ")) """ function PCHMGUseMatMAIJ(petsclib::PetscLibType, pc::AbstractPC, usematmaij::PetscBool) - error("PCHMGUseMatMAIJ: no generated method for these argument types") + throw(MethodError(PCHMGUseMatMAIJ, (petsclib, pc, usematmaij))) end @for_petsc function PCHMGUseMatMAIJ(petsclib::$UnionPetscLib, pc::AbstractPC, usematmaij::PetscBool ) @@ -7980,7 +7980,7 @@ end $(_doc_external("KSP/PCHPDDMFinalizePackage")) """ function PCHPDDMFinalizePackage(petsclib::PetscLibType) - error("PCHPDDMFinalizePackage: no generated method for these argument types") + throw(MethodError(PCHPDDMFinalizePackage, (petsclib, ))) end @for_petsc function PCHPDDMFinalizePackage(petsclib::$UnionPetscLib) @@ -8002,7 +8002,7 @@ end $(_doc_external("KSP/PCHPDDMGetCoarseCorrectionType")) """ function PCHPDDMGetCoarseCorrectionType(petsclib::PetscLibType, pc::AbstractPC) - error("PCHPDDMGetCoarseCorrectionType: no generated method for these argument types") + throw(MethodError(PCHPDDMGetCoarseCorrectionType, (petsclib, pc))) end @for_petsc function PCHPDDMGetCoarseCorrectionType(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -8027,7 +8027,7 @@ end $(_doc_external("KSP/PCHPDDMGetComplexities")) """ function PCHPDDMGetComplexities(petsclib::PetscLibType, pc::AbstractPC) - error("PCHPDDMGetComplexities: no generated method for these argument types") + throw(MethodError(PCHPDDMGetComplexities, (petsclib, pc))) end @for_petsc function PCHPDDMGetComplexities(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -8054,7 +8054,7 @@ end $(_doc_external("KSP/PCHPDDMGetSTShareSubKSP")) """ function PCHPDDMGetSTShareSubKSP(petsclib::PetscLibType, pc::AbstractPC) - error("PCHPDDMGetSTShareSubKSP: no generated method for these argument types") + throw(MethodError(PCHPDDMGetSTShareSubKSP, (petsclib, pc))) end @for_petsc function PCHPDDMGetSTShareSubKSP(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -8079,7 +8079,7 @@ end $(_doc_external("KSP/PCHPDDMHasNeumannMat")) """ function PCHPDDMHasNeumannMat(petsclib::PetscLibType, pc::AbstractPC, has::PetscBool) - error("PCHPDDMHasNeumannMat: no generated method for these argument types") + throw(MethodError(PCHPDDMHasNeumannMat, (petsclib, pc, has))) end @for_petsc function PCHPDDMHasNeumannMat(petsclib::$UnionPetscLib, pc::AbstractPC, has::PetscBool ) @@ -8102,7 +8102,7 @@ end $(_doc_external("KSP/PCHPDDMInitializePackage")) """ function PCHPDDMInitializePackage(petsclib::PetscLibType) - error("PCHPDDMInitializePackage: no generated method for these argument types") + throw(MethodError(PCHPDDMInitializePackage, (petsclib, ))) end @for_petsc function PCHPDDMInitializePackage(petsclib::$UnionPetscLib) @@ -8124,7 +8124,7 @@ end $(_doc_external("KSP/PCHPDDMSetAuxiliaryMat")) """ function PCHPDDMSetAuxiliaryMat(petsclib::PetscLibType, pc::AbstractPC, is::AbstractIS, A::AbstractPetscMat, setup::external, ctx::Ptr{Cvoid}) - error("PCHPDDMSetAuxiliaryMat: no generated method for these argument types") + throw(MethodError(PCHPDDMSetAuxiliaryMat, (petsclib, pc, is, A, setup, ctx))) end @for_petsc function PCHPDDMSetAuxiliaryMat(petsclib::$UnionPetscLib, pc::AbstractPC, is::AbstractIS, A::AbstractPetscMat, setup::external, ctx::Ptr{Cvoid} ) @@ -8147,7 +8147,7 @@ end $(_doc_external("KSP/PCHPDDMSetCoarseCorrectionType")) """ function PCHPDDMSetCoarseCorrectionType(petsclib::PetscLibType, pc::AbstractPC, type::PCHPDDMCoarseCorrectionType) - error("PCHPDDMSetCoarseCorrectionType: no generated method for these argument types") + throw(MethodError(PCHPDDMSetCoarseCorrectionType, (petsclib, pc, type))) end @for_petsc function PCHPDDMSetCoarseCorrectionType(petsclib::$UnionPetscLib, pc::AbstractPC, type::PCHPDDMCoarseCorrectionType ) @@ -8170,7 +8170,7 @@ end $(_doc_external("KSP/PCHPDDMSetDeflationMat")) """ function PCHPDDMSetDeflationMat(petsclib::PetscLibType, pc::AbstractPC, is::AbstractIS, U::AbstractPetscMat) - error("PCHPDDMSetDeflationMat: no generated method for these argument types") + throw(MethodError(PCHPDDMSetDeflationMat, (petsclib, pc, is, U))) end @for_petsc function PCHPDDMSetDeflationMat(petsclib::$UnionPetscLib, pc::AbstractPC, is::AbstractIS, U::AbstractPetscMat ) @@ -8193,7 +8193,7 @@ end $(_doc_external("KSP/PCHPDDMSetRHSMat")) """ function PCHPDDMSetRHSMat(petsclib::PetscLibType, pc::AbstractPC, B::AbstractPetscMat) - error("PCHPDDMSetRHSMat: no generated method for these argument types") + throw(MethodError(PCHPDDMSetRHSMat, (petsclib, pc, B))) end @for_petsc function PCHPDDMSetRHSMat(petsclib::$UnionPetscLib, pc::AbstractPC, B::AbstractPetscMat ) @@ -8216,7 +8216,7 @@ end $(_doc_external("KSP/PCHPDDMSetSTShareSubKSP")) """ function PCHPDDMSetSTShareSubKSP(petsclib::PetscLibType, pc::AbstractPC, share::PetscBool) - error("PCHPDDMSetSTShareSubKSP: no generated method for these argument types") + throw(MethodError(PCHPDDMSetSTShareSubKSP, (petsclib, pc, share))) end @for_petsc function PCHPDDMSetSTShareSubKSP(petsclib::$UnionPetscLib, pc::AbstractPC, share::PetscBool ) @@ -8250,7 +8250,7 @@ See also: `PCHYPRE`, `PCHYPRESetDiscreteGradient()`, `PCHYPRESetDiscreteCurl()`, $(_doc_external("PC/PCHYPREAMSSetInteriorNodes")) """ function PCHYPREAMSSetInteriorNodes(petsclib::PetscLibType, pc::AbstractPC, interior::AbstractPetscVec) - error("PCHYPREAMSSetInteriorNodes: no generated method for these argument types") + throw(MethodError(PCHYPREAMSSetInteriorNodes, (petsclib, pc, interior))) end @for_petsc function PCHYPREAMSSetInteriorNodes(petsclib::$UnionPetscLib, pc::AbstractPC, interior::AbstractPetscVec ) @@ -8287,7 +8287,7 @@ See also: `PC`, `PCMG`, `PCMGGetRestriction()`, `PCMGSetInterpolation()`, `PCMGG $(_doc_external("PC/PCHYPREGetCFMarkers")) """ function PCHYPREGetCFMarkers(petsclib::PetscLibType, pc::AbstractPC) - error("PCHYPREGetCFMarkers: no generated method for these argument types") + throw(MethodError(PCHYPREGetCFMarkers, (petsclib, pc))) end @for_petsc function PCHYPREGetCFMarkers(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -8325,7 +8325,7 @@ See also: `PCCreate()`, `PCHYPRESetType()`, `PCType`, `PC`, `PCHYPRE` $(_doc_external("PC/PCHYPREGetType")) """ function PCHYPREGetType(petsclib::PetscLibType, pc::AbstractPC) - error("PCHYPREGetType: no generated method for these argument types") + throw(MethodError(PCHYPREGetType, (petsclib, pc))) end @for_petsc function PCHYPREGetType(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -8361,7 +8361,7 @@ See also: `PCHYPRE`, `PCHYPRESetDiscreteGradient()`, `PCHYPRESetDiscreteCurl()`, $(_doc_external("PC/PCHYPRESetAlphaPoissonMatrix")) """ function PCHYPRESetAlphaPoissonMatrix(petsclib::PetscLibType, pc::AbstractPC, A::AbstractPetscMat) - error("PCHYPRESetAlphaPoissonMatrix: no generated method for these argument types") + throw(MethodError(PCHYPRESetAlphaPoissonMatrix, (petsclib, pc, A))) end @for_petsc function PCHYPRESetAlphaPoissonMatrix(petsclib::$UnionPetscLib, pc::AbstractPC, A::AbstractPetscMat ) @@ -8395,7 +8395,7 @@ See also: `PCHYPRE`, `PCHYPRESetDiscreteGradient()`, `PCHYPRESetDiscreteCurl()`, $(_doc_external("PC/PCHYPRESetBetaPoissonMatrix")) """ function PCHYPRESetBetaPoissonMatrix(petsclib::PetscLibType, pc::AbstractPC, A::AbstractPetscMat) - error("PCHYPRESetBetaPoissonMatrix: no generated method for these argument types") + throw(MethodError(PCHYPRESetBetaPoissonMatrix, (petsclib, pc, A))) end @for_petsc function PCHYPRESetBetaPoissonMatrix(petsclib::$UnionPetscLib, pc::AbstractPC, A::AbstractPetscMat ) @@ -8429,7 +8429,7 @@ See also: `PCHYPRE`, `PCHYPRESetDiscreteGradient()` $(_doc_external("PC/PCHYPRESetDiscreteCurl")) """ function PCHYPRESetDiscreteCurl(petsclib::PetscLibType, pc::AbstractPC, C::AbstractPetscMat) - error("PCHYPRESetDiscreteCurl: no generated method for these argument types") + throw(MethodError(PCHYPRESetDiscreteCurl, (petsclib, pc, C))) end @for_petsc function PCHYPRESetDiscreteCurl(petsclib::$UnionPetscLib, pc::AbstractPC, C::AbstractPetscMat ) @@ -8463,7 +8463,7 @@ See also: `PCHYPRE`, `PCHYPRESetDiscreteCurl()` $(_doc_external("PC/PCHYPRESetDiscreteGradient")) """ function PCHYPRESetDiscreteGradient(petsclib::PetscLibType, pc::AbstractPC, G::AbstractPetscMat) - error("PCHYPRESetDiscreteGradient: no generated method for these argument types") + throw(MethodError(PCHYPRESetDiscreteGradient, (petsclib, pc, G))) end @for_petsc function PCHYPRESetDiscreteGradient(petsclib::$UnionPetscLib, pc::AbstractPC, G::AbstractPetscMat ) @@ -8499,7 +8499,7 @@ See also: `PCHYPRE`, `PCHYPRESetDiscreteGradient()`, `PCHYPRESetDiscreteCurl()`, $(_doc_external("PC/PCHYPRESetEdgeConstantVectors")) """ function PCHYPRESetEdgeConstantVectors(petsclib::PetscLibType, pc::AbstractPC, ozz::AbstractPetscVec, zoz::AbstractPetscVec, zzo::AbstractPetscVec) - error("PCHYPRESetEdgeConstantVectors: no generated method for these argument types") + throw(MethodError(PCHYPRESetEdgeConstantVectors, (petsclib, pc, ozz, zoz, zzo))) end @for_petsc function PCHYPRESetEdgeConstantVectors(petsclib::$UnionPetscLib, pc::AbstractPC, ozz::AbstractPetscVec, zoz::AbstractPetscVec, zzo::AbstractPetscVec ) @@ -8537,7 +8537,7 @@ See also: `PCHYPRE` $(_doc_external("PC/PCHYPRESetInterpolations")) """ function PCHYPRESetInterpolations(petsclib::PetscLibType, pc::AbstractPC, dim::Integer, RT_PiFull::AbstractPetscMat, RT_Pi::Vector{<:AbstractPetscMat}, ND_PiFull::AbstractPetscMat, ND_Pi::Vector{<:AbstractPetscMat}) - error("PCHYPRESetInterpolations: no generated method for these argument types") + throw(MethodError(PCHYPRESetInterpolations, (petsclib, pc, dim, RT_PiFull, RT_Pi, ND_PiFull, ND_Pi))) end @for_petsc function PCHYPRESetInterpolations(petsclib::$UnionPetscLib, pc::AbstractPC, dim::$PetscInt, RT_PiFull::AbstractPetscMat, RT_Pi::Vector{<:AbstractPetscMat}, ND_PiFull::AbstractPetscMat, ND_Pi::Vector{<:AbstractPetscMat} ) @@ -8572,7 +8572,7 @@ See also: `PCCreate()`, `PCSetType()`, `PCType`, `PC`, `PCHYPRE` $(_doc_external("PC/PCHYPRESetType")) """ function PCHYPRESetType(petsclib::PetscLibType, pc::AbstractPC, name::String) - error("PCHYPRESetType: no generated method for these argument types") + throw(MethodError(PCHYPRESetType, (petsclib, pc, name))) end @for_petsc function PCHYPRESetType(petsclib::$UnionPetscLib, pc::AbstractPC, name::String ) @@ -8609,7 +8609,7 @@ See also: `PCBDDC`, `PCNN`, `PCISSetUseStiffnessScaling()`, `PCISSetSubdomainDia $(_doc_external("PC/PCISApplyInvSchur")) """ function PCISApplyInvSchur(petsclib::PetscLibType, pc::AbstractPC, b::AbstractPetscVec, x::AbstractPetscVec, vec1_N::AbstractPetscVec, vec2_N::AbstractPetscVec) - error("PCISApplyInvSchur: no generated method for these argument types") + throw(MethodError(PCISApplyInvSchur, (petsclib, pc, b, x, vec1_N, vec2_N))) end @for_petsc function PCISApplyInvSchur(petsclib::$UnionPetscLib, pc::AbstractPC, b::AbstractPetscVec, x::AbstractPetscVec, vec1_N::AbstractPetscVec, vec2_N::AbstractPetscVec ) @@ -8647,7 +8647,7 @@ See also: `PCBDDC`, `PCNN`, `PCISSetUseStiffnessScaling()`, `PCISSetSubdomainDia $(_doc_external("PC/PCISApplySchur")) """ function PCISApplySchur(petsclib::PetscLibType, pc::AbstractPC, v::AbstractPetscVec, vec1_B::AbstractPetscVec, vec2_B::AbstractPetscVec, vec1_D::AbstractPetscVec, vec2_D::AbstractPetscVec) - error("PCISApplySchur: no generated method for these argument types") + throw(MethodError(PCISApplySchur, (petsclib, pc, v, vec1_B, vec2_B, vec1_D, vec2_D))) end @for_petsc function PCISApplySchur(petsclib::$UnionPetscLib, pc::AbstractPC, v::AbstractPetscVec, vec1_B::AbstractPetscVec, vec2_B::AbstractPetscVec, vec1_D::AbstractPetscVec, vec2_D::AbstractPetscVec ) @@ -8680,7 +8680,7 @@ See also: `PCBDDC`, `PCNN`, `PCISSetUseStiffnessScaling()`, `PCISSetSubdomainDia $(_doc_external("PC/PCISInitialize")) """ function PCISInitialize(petsclib::PetscLibType, pc::AbstractPC) - error("PCISInitialize: no generated method for these argument types") + throw(MethodError(PCISInitialize, (petsclib, pc))) end @for_petsc function PCISInitialize(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -8712,7 +8712,7 @@ See also: `PCISSetUseStiffnessScaling()`, `PCISSetSubdomainDiagonalScaling()`, ` $(_doc_external("PC/PCISReset")) """ function PCISReset(petsclib::PetscLibType, pc::AbstractPC) - error("PCISReset: no generated method for these argument types") + throw(MethodError(PCISReset, (petsclib, pc))) end @for_petsc function PCISReset(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -8751,7 +8751,7 @@ See also: `PCBDDC`, `PCNN`, `PCISSetUseStiffnessScaling()`, `PCISSetSubdomainDia $(_doc_external("PC/PCISScatterArrayNToVecB")) """ function PCISScatterArrayNToVecB(petsclib::PetscLibType, pc::AbstractPC, v_B::AbstractPetscVec, imode::InsertMode, smode::ScatterMode) - error("PCISScatterArrayNToVecB: no generated method for these argument types") + throw(MethodError(PCISScatterArrayNToVecB, (petsclib, pc, v_B, imode, smode))) end @for_petsc function PCISScatterArrayNToVecB(petsclib::$UnionPetscLib, pc::AbstractPC, v_B::AbstractPetscVec, imode::InsertMode, smode::ScatterMode ) @@ -8789,7 +8789,7 @@ See also: `PCBDDC`, `PCNN`, `PCISScatterArrayNToVecB()`, $(_doc_external("PC/PCISSetSubdomainDiagonalScaling")) """ function PCISSetSubdomainDiagonalScaling(petsclib::PetscLibType, pc::AbstractPC, scaling_factors::AbstractPetscVec) - error("PCISSetSubdomainDiagonalScaling: no generated method for these argument types") + throw(MethodError(PCISSetSubdomainDiagonalScaling, (petsclib, pc, scaling_factors))) end @for_petsc function PCISSetSubdomainDiagonalScaling(petsclib::$UnionPetscLib, pc::AbstractPC, scaling_factors::AbstractPetscVec ) @@ -8825,7 +8825,7 @@ See also: `PCBDDC`, `PCNN`, `PCISScatterArrayNToVecB()`, $(_doc_external("PC/PCISSetSubdomainScalingFactor")) """ function PCISSetSubdomainScalingFactor(petsclib::PetscLibType, pc::AbstractPC, scal::Number) - error("PCISSetSubdomainScalingFactor: no generated method for these argument types") + throw(MethodError(PCISSetSubdomainScalingFactor, (petsclib, pc, scal))) end @for_petsc function PCISSetSubdomainScalingFactor(petsclib::$UnionPetscLib, pc::AbstractPC, scal::$PetscScalar ) @@ -8860,7 +8860,7 @@ See also: `PCBDDC`, `PCNN`, `PCISSetUseStiffnessScaling()`, `PCISSetSubdomainDia $(_doc_external("PC/PCISSetUp")) """ function PCISSetUp(petsclib::PetscLibType, pc::AbstractPC, computematrices::PetscBool, computesolvers::PetscBool) - error("PCISSetUp: no generated method for these argument types") + throw(MethodError(PCISSetUp, (petsclib, pc, computematrices, computesolvers))) end @for_petsc function PCISSetUp(petsclib::$UnionPetscLib, pc::AbstractPC, computematrices::PetscBool, computesolvers::PetscBool ) @@ -8897,7 +8897,7 @@ See also: `PCBDDC`, `PCNN`, `PCISSetSubdomainDiagonalScaling()`, `PCISScatterArr $(_doc_external("PC/PCISSetUseStiffnessScaling")) """ function PCISSetUseStiffnessScaling(petsclib::PetscLibType, pc::AbstractPC, use::PetscBool) - error("PCISSetUseStiffnessScaling: no generated method for these argument types") + throw(MethodError(PCISSetUseStiffnessScaling, (petsclib, pc, use))) end @for_petsc function PCISSetUseStiffnessScaling(petsclib::$UnionPetscLib, pc::AbstractPC, use::PetscBool ) @@ -8927,7 +8927,7 @@ See also: `PetscInitialize()`, `PCFinalizePackage()` $(_doc_external("KSP/PCInitializePackage")) """ function PCInitializePackage(petsclib::PetscLibType) - error("PCInitializePackage: no generated method for these argument types") + throw(MethodError(PCInitializePackage, (petsclib, ))) end @for_petsc function PCInitializePackage(petsclib::$UnionPetscLib) @@ -8963,7 +8963,7 @@ See also: `PCJACOBI`, `PCJacobiSetType()` $(_doc_external("PC/PCJacobiGetDiagonal")) """ function PCJacobiGetDiagonal(petsclib::PetscLibType, pc::AbstractPC, diagonal::AbstractPetscVec, diagonal_sqrt::AbstractPetscVec) - error("PCJacobiGetDiagonal: no generated method for these argument types") + throw(MethodError(PCJacobiGetDiagonal, (petsclib, pc, diagonal, diagonal_sqrt))) end @for_petsc function PCJacobiGetDiagonal(petsclib::$UnionPetscLib, pc::AbstractPC, diagonal::AbstractPetscVec, diagonal_sqrt::AbstractPetscVec ) @@ -9002,7 +9002,7 @@ See also: `PCJACOBI`, `PCJacobiSetType()`, `PCJacobiSetFixDiagonal()` $(_doc_external("PC/PCJacobiGetFixDiagonal")) """ function PCJacobiGetFixDiagonal(petsclib::PetscLibType, pc::AbstractPC) - error("PCJacobiGetFixDiagonal: no generated method for these argument types") + throw(MethodError(PCJacobiGetFixDiagonal, (petsclib, pc))) end @for_petsc function PCJacobiGetFixDiagonal(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -9040,7 +9040,7 @@ See also: `PCJACOBI`, `PCJacobiSetType()`, `PCJacobiSetRowl1Scale()`, `PCJacobiG $(_doc_external("PC/PCJacobiGetRowl1Scale")) """ function PCJacobiGetRowl1Scale(petsclib::PetscLibType, pc::AbstractPC) - error("PCJacobiGetRowl1Scale: no generated method for these argument types") + throw(MethodError(PCJacobiGetRowl1Scale, (petsclib, pc))) end @for_petsc function PCJacobiGetRowl1Scale(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -9078,7 +9078,7 @@ See also: `PCJACOBI`, `PCJacobiSetUseAbs()`, `PCJacobiSetType()` $(_doc_external("PC/PCJacobiGetType")) """ function PCJacobiGetType(petsclib::PetscLibType, pc::AbstractPC) - error("PCJacobiGetType: no generated method for these argument types") + throw(MethodError(PCJacobiGetType, (petsclib, pc))) end @for_petsc function PCJacobiGetType(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -9117,7 +9117,7 @@ See also: `PCJACOBI`, `PCJacobiSetType()`, `PCJacobiSetUseAbs()`, `PCJacobiGetTy $(_doc_external("PC/PCJacobiGetUseAbs")) """ function PCJacobiGetUseAbs(petsclib::PetscLibType, pc::AbstractPC) - error("PCJacobiGetUseAbs: no generated method for these argument types") + throw(MethodError(PCJacobiGetUseAbs, (petsclib, pc))) end @for_petsc function PCJacobiGetUseAbs(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -9154,7 +9154,7 @@ See also: `PCJACOBI`, `PCJacobiSetType()`, `PCJacobiGetFixDiagonal()`, `PCJacobi $(_doc_external("PC/PCJacobiSetFixDiagonal")) """ function PCJacobiSetFixDiagonal(petsclib::PetscLibType, pc::AbstractPC, flg::PetscBool) - error("PCJacobiSetFixDiagonal: no generated method for these argument types") + throw(MethodError(PCJacobiSetFixDiagonal, (petsclib, pc, flg))) end @for_petsc function PCJacobiSetFixDiagonal(petsclib::$UnionPetscLib, pc::AbstractPC, flg::PetscBool ) @@ -9192,7 +9192,7 @@ See also: `PCJACOBI`, `PCJacobiSetType()`, `PCJacobiGetRowl1Scale()` $(_doc_external("PC/PCJacobiSetRowl1Scale")) """ function PCJacobiSetRowl1Scale(petsclib::PetscLibType, pc::AbstractPC, scale::Real) - error("PCJacobiSetRowl1Scale: no generated method for these argument types") + throw(MethodError(PCJacobiSetRowl1Scale, (petsclib, pc, scale))) end @for_petsc function PCJacobiSetRowl1Scale(petsclib::$UnionPetscLib, pc::AbstractPC, scale::$PetscReal ) @@ -9230,7 +9230,7 @@ See also: `PCJACOBI`, `PCJacobiSetUseAbs()`, `PCJacobiGetType()` $(_doc_external("PC/PCJacobiSetType")) """ function PCJacobiSetType(petsclib::PetscLibType, pc::AbstractPC, type::PCJacobiType) - error("PCJacobiSetType: no generated method for these argument types") + throw(MethodError(PCJacobiSetType, (petsclib, pc, type))) end @for_petsc function PCJacobiSetType(petsclib::$UnionPetscLib, pc::AbstractPC, type::PCJacobiType ) @@ -9266,7 +9266,7 @@ See also: `PCJACOBI`, `PCJacobiSetType()`, `PCJacobiGetUseAbs()` $(_doc_external("PC/PCJacobiSetUseAbs")) """ function PCJacobiSetUseAbs(petsclib::PetscLibType, pc::AbstractPC, flg::PetscBool) - error("PCJacobiSetUseAbs: no generated method for these argument types") + throw(MethodError(PCJacobiSetUseAbs, (petsclib, pc, flg))) end @for_petsc function PCJacobiSetUseAbs(petsclib::$UnionPetscLib, pc::AbstractPC, flg::PetscBool ) @@ -9300,7 +9300,7 @@ See also: `PCKSP`, `PCKSPSetKSP()` $(_doc_external("PC/PCKSPGetKSP")) """ function PCKSPGetKSP(petsclib::PetscLibType, pc::AbstractPC) - error("PCKSPGetKSP: no generated method for these argument types") + throw(MethodError(PCKSPGetKSP, (petsclib, pc))) end @for_petsc function PCKSPGetKSP(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -9336,7 +9336,7 @@ See also: `PCKSP`, `PCKSPGetKSP()` $(_doc_external("PC/PCKSPSetKSP")) """ function PCKSPSetKSP(petsclib::PetscLibType, pc::AbstractPC, ksp::AbstractKSP) - error("PCKSPSetKSP: no generated method for these argument types") + throw(MethodError(PCKSPSetKSP, (petsclib, pc, ksp))) end @for_petsc function PCKSPSetKSP(petsclib::$UnionPetscLib, pc::AbstractPC, ksp::AbstractKSP ) @@ -9367,7 +9367,7 @@ See also: `PCLMVMSetIS()` $(_doc_external("PC/PCLMVMClearIS")) """ function PCLMVMClearIS(petsclib::PetscLibType, pc::AbstractPC) - error("PCLMVMClearIS: no generated method for these argument types") + throw(MethodError(PCLMVMClearIS, (petsclib, pc))) end @for_petsc function PCLMVMClearIS(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -9401,7 +9401,7 @@ See also: `PCLMVMSetMatLMVM()` $(_doc_external("PC/PCLMVMGetMatLMVM")) """ function PCLMVMGetMatLMVM(petsclib::PetscLibType, pc::AbstractPC) - error("PCLMVMGetMatLMVM: no generated method for these argument types") + throw(MethodError(PCLMVMGetMatLMVM, (petsclib, pc))) end @for_petsc function PCLMVMGetMatLMVM(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -9435,7 +9435,7 @@ See also: `PCLMVMClearIS()` $(_doc_external("PC/PCLMVMSetIS")) """ function PCLMVMSetIS(petsclib::PetscLibType, pc::AbstractPC, inactive::AbstractIS) - error("PCLMVMSetIS: no generated method for these argument types") + throw(MethodError(PCLMVMSetIS, (petsclib, pc, inactive))) end @for_petsc function PCLMVMSetIS(petsclib::$UnionPetscLib, pc::AbstractPC, inactive::AbstractIS ) @@ -9467,7 +9467,7 @@ See also: `PCLMVMGetMatLMVM()` $(_doc_external("PC/PCLMVMSetMatLMVM")) """ function PCLMVMSetMatLMVM(petsclib::PetscLibType, pc::AbstractPC, B::AbstractPetscMat) - error("PCLMVMSetMatLMVM: no generated method for these argument types") + throw(MethodError(PCLMVMSetMatLMVM, (petsclib, pc, B))) end @for_petsc function PCLMVMSetMatLMVM(petsclib::$UnionPetscLib, pc::AbstractPC, B::AbstractPetscMat ) @@ -9499,7 +9499,7 @@ See also: `MatLMVMUpdate()`, `PCLMVMSetMatLMVM()` $(_doc_external("PC/PCLMVMSetUpdateVec")) """ function PCLMVMSetUpdateVec(petsclib::PetscLibType, pc::AbstractPC, X::AbstractPetscVec) - error("PCLMVMSetUpdateVec: no generated method for these argument types") + throw(MethodError(PCLMVMSetUpdateVec, (petsclib, pc, X))) end @for_petsc function PCLMVMSetUpdateVec(petsclib::$UnionPetscLib, pc::AbstractPC, X::AbstractPetscVec ) @@ -9534,7 +9534,7 @@ See also: `PC`, `PetscViewerBinaryOpen()`, `PCView()`, `MatLoad()`, `VecLoad()`, $(_doc_external("PC/PCLoad")) """ function PCLoad(petsclib::PetscLibType, newdm::AbstractPC, viewer::PetscViewer) - error("PCLoad: no generated method for these argument types") + throw(MethodError(PCLoad, (petsclib, newdm, viewer))) end @for_petsc function PCLoad(petsclib::$UnionPetscLib, newdm::AbstractPC, viewer::PetscViewer ) @@ -9570,7 +9570,7 @@ See also: `PCHYPRE`, `PCMGGalerkinSetMatProductAlgorithm()` $(_doc_external("PC/PCMGGalerkinGetMatProductAlgorithm")) """ function PCMGGalerkinGetMatProductAlgorithm(petsclib::PetscLibType, pc::AbstractPC) - error("PCMGGalerkinGetMatProductAlgorithm: no generated method for these argument types") + throw(MethodError(PCMGGalerkinGetMatProductAlgorithm, (petsclib, pc))) end @for_petsc function PCMGGalerkinGetMatProductAlgorithm(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -9609,7 +9609,7 @@ See also: `PCHYPRE`, `PCMGGalerkinGetMatProductAlgorithm()` $(_doc_external("PC/PCMGGalerkinSetMatProductAlgorithm")) """ function PCMGGalerkinSetMatProductAlgorithm(petsclib::PetscLibType, pc::AbstractPC, name::String) - error("PCMGGalerkinSetMatProductAlgorithm: no generated method for these argument types") + throw(MethodError(PCMGGalerkinSetMatProductAlgorithm, (petsclib, pc, name))) end @for_petsc function PCMGGalerkinSetMatProductAlgorithm(petsclib::$UnionPetscLib, pc::AbstractPC, name::String ) @@ -9645,7 +9645,7 @@ See also: `PCMGSetAdaptCR()`, `PCMGGetAdaptInterpolation()`, `PCMGSetGalerkin()` $(_doc_external("PC/PCMGGetAdaptCR")) """ function PCMGGetAdaptCR(petsclib::PetscLibType, pc::AbstractPC) - error("PCMGGetAdaptCR: no generated method for these argument types") + throw(MethodError(PCMGGetAdaptCR, (petsclib, pc))) end @for_petsc function PCMGGetAdaptCR(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -9683,7 +9683,7 @@ See also: `PCMG`, `PCMGCoarseSpaceType`, `PCMGSetAdaptCoarseSpaceType()`, `PCMGS $(_doc_external("PC/PCMGGetAdaptCoarseSpaceType")) """ function PCMGGetAdaptCoarseSpaceType(petsclib::PetscLibType, pc::AbstractPC) - error("PCMGGetAdaptCoarseSpaceType: no generated method for these argument types") + throw(MethodError(PCMGGetAdaptCoarseSpaceType, (petsclib, pc))) end @for_petsc function PCMGGetAdaptCoarseSpaceType(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -9722,7 +9722,7 @@ See also: `PCMG`, `PCMGSetAdaptInterpolation()`, `PCMGSetGalerkin()`, `PCMGGetAd $(_doc_external("PC/PCMGGetAdaptInterpolation")) """ function PCMGGetAdaptInterpolation(petsclib::PetscLibType, pc::AbstractPC) - error("PCMGGetAdaptInterpolation: no generated method for these argument types") + throw(MethodError(PCMGGetAdaptInterpolation, (petsclib, pc))) end @for_petsc function PCMGGetAdaptInterpolation(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -9760,7 +9760,7 @@ See also: `PCMG`, `PCMGGetSmootherUp()`, `PCMGGetSmootherDown()`, `PCMGGetSmooth $(_doc_external("PC/PCMGGetCoarseSolve")) """ function PCMGGetCoarseSolve(petsclib::PetscLibType, pc::AbstractPC) - error("PCMGGetCoarseSolve: no generated method for these argument types") + throw(MethodError(PCMGGetCoarseSolve, (petsclib, pc))) end @for_petsc function PCMGGetCoarseSolve(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -9798,7 +9798,7 @@ See also: `PCMGCoarseSpaceConstructorFn`, `PCMG`, `PCMGRegisterCoarseSpaceConstr $(_doc_external("PC/PCMGGetCoarseSpaceConstructor")) """ function PCMGGetCoarseSpaceConstructor(petsclib::PetscLibType, name::String) - error("PCMGGetCoarseSpaceConstructor: no generated method for these argument types") + throw(MethodError(PCMGGetCoarseSpaceConstructor, (petsclib, name))) end @for_petsc function PCMGGetCoarseSpaceConstructor(petsclib::$UnionPetscLib, name::String ) @@ -9836,7 +9836,7 @@ See also: `PCMG`, `PCMGSetGalerkin()`, `PCMGGalerkinType`, `PC_MG_GALERKIN_BOTH` $(_doc_external("PC/PCMGGetGalerkin")) """ function PCMGGetGalerkin(petsclib::PetscLibType, pc::AbstractPC) - error("PCMGGetGalerkin: no generated method for these argument types") + throw(MethodError(PCMGGetGalerkin, (petsclib, pc))) end @for_petsc function PCMGGetGalerkin(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -9873,7 +9873,7 @@ See also: `PCMG`, `PCMGGetLevels()`, `PCMGSetLevels()` $(_doc_external("PC/PCMGGetGridComplexity")) """ function PCMGGetGridComplexity(petsclib::PetscLibType, pc::AbstractPC) - error("PCMGGetGridComplexity: no generated method for these argument types") + throw(MethodError(PCMGGetGridComplexity, (petsclib, pc))) end @for_petsc function PCMGGetGridComplexity(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -9915,7 +9915,7 @@ See also: `PCMG`, `PCMGSetInjection()`, `PCMGetGetRestriction()` $(_doc_external("PC/PCMGGetInjection")) """ function PCMGGetInjection(petsclib::PetscLibType, pc::AbstractPC, l::Integer) - error("PCMGGetInjection: no generated method for these argument types") + throw(MethodError(PCMGGetInjection, (petsclib, pc, l))) end @for_petsc function PCMGGetInjection(petsclib::$UnionPetscLib, pc::AbstractPC, l::$PetscInt ) @@ -9955,7 +9955,7 @@ See also: `PCMG`, `PCMGGetRestriction()`, `PCMGSetInterpolation()`, `PCMGGetRSca $(_doc_external("PC/PCMGGetInterpolation")) """ function PCMGGetInterpolation(petsclib::PetscLibType, pc::AbstractPC, l::Integer) - error("PCMGGetInterpolation: no generated method for these argument types") + throw(MethodError(PCMGGetInterpolation, (petsclib, pc, l))) end @for_petsc function PCMGGetInterpolation(petsclib::$UnionPetscLib, pc::AbstractPC, l::$PetscInt ) @@ -9993,7 +9993,7 @@ See also: `PCMG`, `PCMGSetLevels()` $(_doc_external("PC/PCMGGetLevels")) """ function PCMGGetLevels(petsclib::PetscLibType, pc::AbstractPC) - error("PCMGGetLevels: no generated method for these argument types") + throw(MethodError(PCMGGetLevels, (petsclib, pc))) end @for_petsc function PCMGGetLevels(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -10030,7 +10030,7 @@ See also: `PCMG`, `PCMGSetInterpolation()`, `PCMGGetRestriction()`, `PCMGGetInje $(_doc_external("PC/PCMGGetRScale")) """ function PCMGGetRScale(petsclib::PetscLibType, pc::AbstractPC, l::Integer, rscale::AbstractPetscVec) - error("PCMGGetRScale: no generated method for these argument types") + throw(MethodError(PCMGGetRScale, (petsclib, pc, l, rscale))) end @for_petsc function PCMGGetRScale(petsclib::$UnionPetscLib, pc::AbstractPC, l::$PetscInt, rscale::AbstractPetscVec ) @@ -10070,7 +10070,7 @@ See also: `PCMG`, `PCMGGetInterpolation()`, `PCMGSetRestriction()`, `PCMGGetRSca $(_doc_external("PC/PCMGGetRestriction")) """ function PCMGGetRestriction(petsclib::PetscLibType, pc::AbstractPC, l::Integer) - error("PCMGGetRestriction: no generated method for these argument types") + throw(MethodError(PCMGGetRestriction, (petsclib, pc, l))) end @for_petsc function PCMGGetRestriction(petsclib::$UnionPetscLib, pc::AbstractPC, l::$PetscInt ) @@ -10110,7 +10110,7 @@ See also: `PCMG`, `PCMGGetSmootherUp()`, `PCMGGetSmootherDown()`, `PCMGGetCoarse $(_doc_external("PC/PCMGGetSmoother")) """ function PCMGGetSmoother(petsclib::PetscLibType, pc::AbstractPC, l::Integer) - error("PCMGGetSmoother: no generated method for these argument types") + throw(MethodError(PCMGGetSmoother, (petsclib, pc, l))) end @for_petsc function PCMGGetSmoother(petsclib::$UnionPetscLib, pc::AbstractPC, l::$PetscInt ) @@ -10150,7 +10150,7 @@ See also: `PCMG`, `PCMGGetSmootherUp()`, `PCMGGetSmoother()` $(_doc_external("PC/PCMGGetSmootherDown")) """ function PCMGGetSmootherDown(petsclib::PetscLibType, pc::AbstractPC, l::Integer) - error("PCMGGetSmootherDown: no generated method for these argument types") + throw(MethodError(PCMGGetSmootherDown, (petsclib, pc, l))) end @for_petsc function PCMGGetSmootherDown(petsclib::$UnionPetscLib, pc::AbstractPC, l::$PetscInt ) @@ -10190,7 +10190,7 @@ See also: `PCMG`, `PCMGGetSmootherDown()` $(_doc_external("PC/PCMGGetSmootherUp")) """ function PCMGGetSmootherUp(petsclib::PetscLibType, pc::AbstractPC, l::Integer) - error("PCMGGetSmootherUp: no generated method for these argument types") + throw(MethodError(PCMGGetSmootherUp, (petsclib, pc, l))) end @for_petsc function PCMGGetSmootherUp(petsclib::$UnionPetscLib, pc::AbstractPC, l::$PetscInt ) @@ -10229,7 +10229,7 @@ See also: `PCMGType`, `PCMG`, `PCMGGetLevels()`, `PCMGSetLevels()`, `PCMGSetType $(_doc_external("PC/PCMGGetType")) """ function PCMGGetType(petsclib::PetscLibType, pc::AbstractPC) - error("PCMGGetType: no generated method for these argument types") + throw(MethodError(PCMGGetType, (petsclib, pc))) end @for_petsc function PCMGGetType(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -10269,7 +10269,7 @@ See also: `PCMG`, `PCMGSetMatResidual()`, `PCMGResidualDefault()` $(_doc_external("PC/PCMGMatResidualDefault")) """ function PCMGMatResidualDefault(petsclib::PetscLibType, mat::AbstractPetscMat, b::AbstractPetscMat, x::AbstractPetscMat, r::AbstractPetscMat) - error("PCMGMatResidualDefault: no generated method for these argument types") + throw(MethodError(PCMGMatResidualDefault, (petsclib, mat, b, x, r))) end @for_petsc function PCMGMatResidualDefault(petsclib::$UnionPetscLib, mat::AbstractPetscMat, b::AbstractPetscMat, x::AbstractPetscMat, r::AbstractPetscMat ) @@ -10307,7 +10307,7 @@ See also: `PCMG`, `PCMGSetMatResidualTranspose()` $(_doc_external("PC/PCMGMatResidualTransposeDefault")) """ function PCMGMatResidualTransposeDefault(petsclib::PetscLibType, mat::AbstractPetscMat, b::AbstractPetscMat, x::AbstractPetscMat, r::AbstractPetscMat) - error("PCMGMatResidualTransposeDefault: no generated method for these argument types") + throw(MethodError(PCMGMatResidualTransposeDefault, (petsclib, mat, b, x, r))) end @for_petsc function PCMGMatResidualTransposeDefault(petsclib::$UnionPetscLib, mat::AbstractPetscMat, b::AbstractPetscMat, x::AbstractPetscMat, r::AbstractPetscMat ) @@ -10345,7 +10345,7 @@ See also: `PCMGSetCycleTypeOnLevel()`, `PCMGSetCycleType()`, `PCMGCycleType`, `P $(_doc_external("PC/PCMGMultiplicativeSetCycles")) """ function PCMGMultiplicativeSetCycles(petsclib::PetscLibType, pc::AbstractPC, n::Integer) - error("PCMGMultiplicativeSetCycles: no generated method for these argument types") + throw(MethodError(PCMGMultiplicativeSetCycles, (petsclib, pc, n))) end @for_petsc function PCMGMultiplicativeSetCycles(petsclib::$UnionPetscLib, pc::AbstractPC, n::$PetscInt ) @@ -10380,7 +10380,7 @@ See also: `PCMGCoarseSpaceConstructorFn`, `PCMG`, `PCMGGetCoarseSpaceConstructor $(_doc_external("PC/PCMGRegisterCoarseSpaceConstructor")) """ function PCMGRegisterCoarseSpaceConstructor(petsclib::PetscLibType, name::String, fnc::Ptr{Cvoid}) - error("PCMGRegisterCoarseSpaceConstructor: no generated method for these argument types") + throw(MethodError(PCMGRegisterCoarseSpaceConstructor, (petsclib, name, fnc))) end @for_petsc function PCMGRegisterCoarseSpaceConstructor(petsclib::$UnionPetscLib, name::String, fnc::Ptr{Cvoid} ) @@ -10418,7 +10418,7 @@ See also: `PCMG`, `PCMGSetResidual()`, `PCMGSetMatResidual()` $(_doc_external("PC/PCMGResidualDefault")) """ function PCMGResidualDefault(petsclib::PetscLibType, mat::AbstractPetscMat, b::AbstractPetscVec, x::AbstractPetscVec, r::AbstractPetscVec) - error("PCMGResidualDefault: no generated method for these argument types") + throw(MethodError(PCMGResidualDefault, (petsclib, mat, b, x, r))) end @for_petsc function PCMGResidualDefault(petsclib::$UnionPetscLib, mat::AbstractPetscMat, b::AbstractPetscVec, x::AbstractPetscVec, r::AbstractPetscVec ) @@ -10456,7 +10456,7 @@ See also: `PCMG`, `PCMGSetResidualTranspose()`, `PCMGMatResidualTransposeDefault $(_doc_external("PC/PCMGResidualTransposeDefault")) """ function PCMGResidualTransposeDefault(petsclib::PetscLibType, mat::AbstractPetscMat, b::AbstractPetscVec, x::AbstractPetscVec, r::AbstractPetscVec) - error("PCMGResidualTransposeDefault: no generated method for these argument types") + throw(MethodError(PCMGResidualTransposeDefault, (petsclib, mat, b, x, r))) end @for_petsc function PCMGResidualTransposeDefault(petsclib::$UnionPetscLib, mat::AbstractPetscMat, b::AbstractPetscVec, x::AbstractPetscVec, r::AbstractPetscVec ) @@ -10493,7 +10493,7 @@ See also: `PCMG`, `PCMGGetAdaptCR()`, `PCMGSetAdaptInterpolation()`, `PCMGSetGal $(_doc_external("PC/PCMGSetAdaptCR")) """ function PCMGSetAdaptCR(petsclib::PetscLibType, pc::AbstractPC, cr::PetscBool) - error("PCMGSetAdaptCR: no generated method for these argument types") + throw(MethodError(PCMGSetAdaptCR, (petsclib, pc, cr))) end @for_petsc function PCMGSetAdaptCR(petsclib::$UnionPetscLib, pc::AbstractPC, cr::PetscBool ) @@ -10534,7 +10534,7 @@ See also: `PCMG`, `PCMGCoarseSpaceType`, `PCMGGetAdaptCoarseSpaceType()`, `PCMGS $(_doc_external("PC/PCMGSetAdaptCoarseSpaceType")) """ function PCMGSetAdaptCoarseSpaceType(petsclib::PetscLibType, pc::AbstractPC, ctype::PCMGCoarseSpaceType) - error("PCMGSetAdaptCoarseSpaceType: no generated method for these argument types") + throw(MethodError(PCMGSetAdaptCoarseSpaceType, (petsclib, pc, ctype))) end @for_petsc function PCMGSetAdaptCoarseSpaceType(petsclib::$UnionPetscLib, pc::AbstractPC, ctype::PCMGCoarseSpaceType ) @@ -10568,7 +10568,7 @@ See also: `PCMG`, `PCMGGetAdaptInterpolation()`, `PCMGSetGalerkin()`, `PCMGGetAd $(_doc_external("PC/PCMGSetAdaptInterpolation")) """ function PCMGSetAdaptInterpolation(petsclib::PetscLibType, pc::AbstractPC, adapt::PetscBool) - error("PCMGSetAdaptInterpolation: no generated method for these argument types") + throw(MethodError(PCMGSetAdaptInterpolation, (petsclib, pc, adapt))) end @for_petsc function PCMGSetAdaptInterpolation(petsclib::$UnionPetscLib, pc::AbstractPC, adapt::PetscBool ) @@ -10606,7 +10606,7 @@ See also: `PCMG`, `PCMGSetCycleTypeOnLevel()`, `PCMGType`, `PCMGCycleType`, `PC_ $(_doc_external("PC/PCMGSetCycleType")) """ function PCMGSetCycleType(petsclib::PetscLibType, pc::AbstractPC, n::PCMGCycleType) - error("PCMGSetCycleType: no generated method for these argument types") + throw(MethodError(PCMGSetCycleType, (petsclib, pc, n))) end @for_petsc function PCMGSetCycleType(petsclib::$UnionPetscLib, pc::AbstractPC, n::PCMGCycleType ) @@ -10641,7 +10641,7 @@ See also: `PCMG`, `PCMGCycleType`, `PCMGSetCycleType()` $(_doc_external("PC/PCMGSetCycleTypeOnLevel")) """ function PCMGSetCycleTypeOnLevel(petsclib::PetscLibType, pc::AbstractPC, l::Integer, c::PCMGCycleType) - error("PCMGSetCycleTypeOnLevel: no generated method for these argument types") + throw(MethodError(PCMGSetCycleTypeOnLevel, (petsclib, pc, l, c))) end @for_petsc function PCMGSetCycleTypeOnLevel(petsclib::$UnionPetscLib, pc::AbstractPC, l::$PetscInt, c::PCMGCycleType ) @@ -10678,7 +10678,7 @@ See also: `PCMG`, `PCMGSetNumberSmooth()` $(_doc_external("PC/PCMGSetDistinctSmoothUp")) """ function PCMGSetDistinctSmoothUp(petsclib::PetscLibType, pc::AbstractPC) - error("PCMGSetDistinctSmoothUp: no generated method for these argument types") + throw(MethodError(PCMGSetDistinctSmoothUp, (petsclib, pc))) end @for_petsc function PCMGSetDistinctSmoothUp(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -10716,7 +10716,7 @@ See also: `PCMG`, `PCMGGetGalerkin()`, `PCMGGalerkinType`, `PC_MG_GALERKIN_BOTH` $(_doc_external("PC/PCMGSetGalerkin")) """ function PCMGSetGalerkin(petsclib::PetscLibType, pc::AbstractPC, use::PCMGGalerkinType) - error("PCMGSetGalerkin: no generated method for these argument types") + throw(MethodError(PCMGSetGalerkin, (petsclib, pc, use))) end @for_petsc function PCMGSetGalerkin(petsclib::$UnionPetscLib, pc::AbstractPC, use::PCMGGalerkinType ) @@ -10752,7 +10752,7 @@ See also: `PCMG`, `PCMGSetRestriction()` $(_doc_external("PC/PCMGSetInjection")) """ function PCMGSetInjection(petsclib::PetscLibType, pc::AbstractPC, l::Integer, mat::AbstractPetscMat) - error("PCMGSetInjection: no generated method for these argument types") + throw(MethodError(PCMGSetInjection, (petsclib, pc, l, mat))) end @for_petsc function PCMGSetInjection(petsclib::$UnionPetscLib, pc::AbstractPC, l::$PetscInt, mat::AbstractPetscMat ) @@ -10788,7 +10788,7 @@ See also: `PCMG`, `PCMGSetRestriction()` $(_doc_external("PC/PCMGSetInterpolation")) """ function PCMGSetInterpolation(petsclib::PetscLibType, pc::AbstractPC, l::Integer, mat::AbstractPetscMat) - error("PCMGSetInterpolation: no generated method for these argument types") + throw(MethodError(PCMGSetInterpolation, (petsclib, pc, l, mat))) end @for_petsc function PCMGSetInterpolation(petsclib::$UnionPetscLib, pc::AbstractPC, l::$PetscInt, mat::AbstractPetscMat ) @@ -10830,7 +10830,7 @@ See also: `PCMGSetType()`, `PCMGGetLevels()` $(_doc_external("PC/PCMGSetLevels")) """ function PCMGSetLevels(petsclib::PetscLibType, pc::AbstractPC, levels::Integer, comms::Union{Ptr, Vector{MPI_Comm}}) - error("PCMGSetLevels: no generated method for these argument types") + throw(MethodError(PCMGSetLevels, (petsclib, pc, levels, comms))) end @for_petsc function PCMGSetLevels(petsclib::$UnionPetscLib, pc::AbstractPC, levels::$PetscInt, comms::Union{Ptr, Vector{MPI_Comm}} ) @@ -10869,7 +10869,7 @@ See also: `PCMG`, `PCMGSetDistinctSmoothUp()` $(_doc_external("PC/PCMGSetNumberSmooth")) """ function PCMGSetNumberSmooth(petsclib::PetscLibType, pc::AbstractPC, n::Integer) - error("PCMGSetNumberSmooth: no generated method for these argument types") + throw(MethodError(PCMGSetNumberSmooth, (petsclib, pc, n))) end @for_petsc function PCMGSetNumberSmooth(petsclib::$UnionPetscLib, pc::AbstractPC, n::$PetscInt ) @@ -10905,7 +10905,7 @@ See also: `PCMG`, `PCMGSetGalerkin()`, `PCMGSetRestriction()`, `PCMGSetInterpola $(_doc_external("PC/PCMGSetOperators")) """ function PCMGSetOperators(petsclib::PetscLibType, pc::AbstractPC, l::Integer, Amat::AbstractPetscMat, Pmat::AbstractPetscMat) - error("PCMGSetOperators: no generated method for these argument types") + throw(MethodError(PCMGSetOperators, (petsclib, pc, l, Amat, Pmat))) end @for_petsc function PCMGSetOperators(petsclib::$UnionPetscLib, pc::AbstractPC, l::$PetscInt, Amat::AbstractPetscMat, Pmat::AbstractPetscMat ) @@ -10940,7 +10940,7 @@ See also: `PCMG`, `PCMGSetRhs()`, `PCMGSetX()` $(_doc_external("PC/PCMGSetR")) """ function PCMGSetR(petsclib::PetscLibType, pc::AbstractPC, l::Integer, c::AbstractPetscVec) - error("PCMGSetR: no generated method for these argument types") + throw(MethodError(PCMGSetR, (petsclib, pc, l, c))) end @for_petsc function PCMGSetR(petsclib::$UnionPetscLib, pc::AbstractPC, l::$PetscInt, c::AbstractPetscVec ) @@ -10975,7 +10975,7 @@ See also: `PCMG`, `PCMGSetInterpolation()`, `PCMGSetRestriction()`, `PCMGGetRSca $(_doc_external("PC/PCMGSetRScale")) """ function PCMGSetRScale(petsclib::PetscLibType, pc::AbstractPC, l::Integer, rscale::AbstractPetscVec) - error("PCMGSetRScale: no generated method for these argument types") + throw(MethodError(PCMGSetRScale, (petsclib, pc, l, rscale))) end @for_petsc function PCMGSetRScale(petsclib::$UnionPetscLib, pc::AbstractPC, l::$PetscInt, rscale::AbstractPetscVec ) @@ -11012,7 +11012,7 @@ See also: `PCMG`, `PCMGResidualDefault()` $(_doc_external("PC/PCMGSetResidual")) """ function PCMGSetResidual(petsclib::PetscLibType, pc::AbstractPC, l::Integer, residual::external, mat::AbstractPetscMat) - error("PCMGSetResidual: no generated method for these argument types") + throw(MethodError(PCMGSetResidual, (petsclib, pc, l, residual, mat))) end @for_petsc function PCMGSetResidual(petsclib::$UnionPetscLib, pc::AbstractPC, l::$PetscInt, residual::external, mat::AbstractPetscMat ) @@ -11050,7 +11050,7 @@ See also: `PCMG`, `PCMGResidualTransposeDefault()` $(_doc_external("PC/PCMGSetResidualTranspose")) """ function PCMGSetResidualTranspose(petsclib::PetscLibType, pc::AbstractPC, l::Integer, residualt::external, mat::AbstractPetscMat) - error("PCMGSetResidualTranspose: no generated method for these argument types") + throw(MethodError(PCMGSetResidualTranspose, (petsclib, pc, l, residualt, mat))) end @for_petsc function PCMGSetResidualTranspose(petsclib::$UnionPetscLib, pc::AbstractPC, l::$PetscInt, residualt::external, mat::AbstractPetscMat ) @@ -11086,7 +11086,7 @@ See also: `PCMG`, `PCMGSetInterpolation()` $(_doc_external("PC/PCMGSetRestriction")) """ function PCMGSetRestriction(petsclib::PetscLibType, pc::AbstractPC, l::Integer, mat::AbstractPetscMat) - error("PCMGSetRestriction: no generated method for these argument types") + throw(MethodError(PCMGSetRestriction, (petsclib, pc, l, mat))) end @for_petsc function PCMGSetRestriction(petsclib::$UnionPetscLib, pc::AbstractPC, l::$PetscInt, mat::AbstractPetscMat ) @@ -11121,7 +11121,7 @@ See also: `PCMG`, `PCMGSetX()`, `PCMGSetR()` $(_doc_external("PC/PCMGSetRhs")) """ function PCMGSetRhs(petsclib::PetscLibType, pc::AbstractPC, l::Integer, c::AbstractPetscVec) - error("PCMGSetRhs: no generated method for these argument types") + throw(MethodError(PCMGSetRhs, (petsclib, pc, l, c))) end @for_petsc function PCMGSetRhs(petsclib::$UnionPetscLib, pc::AbstractPC, l::$PetscInt, c::AbstractPetscVec ) @@ -11160,7 +11160,7 @@ See also: `PCMGType`, `PCMG`, `PCMGGetLevels()`, `PCMGSetLevels()`, `PCMGGetType $(_doc_external("PC/PCMGSetType")) """ function PCMGSetType(petsclib::PetscLibType, pc::AbstractPC, form::PCMGType) - error("PCMGSetType: no generated method for these argument types") + throw(MethodError(PCMGSetType, (petsclib, pc, form))) end @for_petsc function PCMGSetType(petsclib::$UnionPetscLib, pc::AbstractPC, form::PCMGType ) @@ -11195,7 +11195,7 @@ See also: `PCMG`, `PCMGSetRhs()`, `PCMGSetR()` $(_doc_external("PC/PCMGSetX")) """ function PCMGSetX(petsclib::PetscLibType, pc::AbstractPC, l::Integer, c::AbstractPetscVec) - error("PCMGSetX: no generated method for these argument types") + throw(MethodError(PCMGSetX, (petsclib, pc, l, c))) end @for_petsc function PCMGSetX(petsclib::$UnionPetscLib, pc::AbstractPC, l::$PetscInt, c::AbstractPetscVec ) @@ -11231,7 +11231,7 @@ See also: `KSP`, `PCMPI`, `PCREDISTRIBUTE` $(_doc_external("PC/PCMPIGetKSP")) """ function PCMPIGetKSP(petsclib::PetscLibType, pc::AbstractPC) - error("PCMPIGetKSP: no generated method for these argument types") + throw(MethodError(PCMPIGetKSP, (petsclib, pc))) end @for_petsc function PCMPIGetKSP(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -11266,7 +11266,7 @@ See also: `PCMPI`, `PetscShmgetMapAddresses()`, `PetscShmgetUnmapAddresses()`, ` $(_doc_external("Sys/PCMPIServerAddressesDestroy")) """ function PCMPIServerAddressesDestroy(petsclib::PetscLibType, ctx::Ptr{Cvoid}) - error("PCMPIServerAddressesDestroy: no generated method for these argument types") + throw(MethodError(PCMPIServerAddressesDestroy, (petsclib, ctx))) end @for_petsc function PCMPIServerAddressesDestroy(petsclib::$UnionPetscLib, ctx::Ptr{Cvoid} ) @@ -11302,7 +11302,7 @@ See also: `PCMPIServerEnd()`, `PCMPI`, `KSPCheckPCMPI()` $(_doc_external("PC/PCMPIServerBegin")) """ function PCMPIServerBegin(petsclib::PetscLibType) - error("PCMPIServerBegin: no generated method for these argument types") + throw(MethodError(PCMPIServerBegin, (petsclib, ))) end @for_petsc function PCMPIServerBegin(petsclib::$UnionPetscLib) @@ -11332,7 +11332,7 @@ See also: `PCMPIServerBegin()`, `PCMPI`, `KSPCheckPCMPI()` $(_doc_external("PC/PCMPIServerEnd")) """ function PCMPIServerEnd(petsclib::PetscLibType) - error("PCMPIServerEnd: no generated method for these argument types") + throw(MethodError(PCMPIServerEnd, (petsclib, ))) end @for_petsc function PCMPIServerEnd(petsclib::$UnionPetscLib) @@ -11368,7 +11368,7 @@ See also: `PC`, `PCApply()`, `KSPMatSolve()` $(_doc_external("PC/PCMatApply")) """ function PCMatApply(petsclib::PetscLibType, pc::AbstractPC, X::AbstractPetscMat, Y::AbstractPetscMat) - error("PCMatApply: no generated method for these argument types") + throw(MethodError(PCMatApply, (petsclib, pc, X, Y))) end @for_petsc function PCMatApply(petsclib::$UnionPetscLib, pc::AbstractPC, X::AbstractPetscMat, Y::AbstractPetscMat ) @@ -11405,7 +11405,7 @@ See also: `PC`, `PCApplyTranspose()`, `KSPMatSolveTranspose()` $(_doc_external("PC/PCMatApplyTranspose")) """ function PCMatApplyTranspose(petsclib::PetscLibType, pc::AbstractPC, X::AbstractPetscMat, Y::AbstractPetscMat) - error("PCMatApplyTranspose: no generated method for these argument types") + throw(MethodError(PCMatApplyTranspose, (petsclib, pc, X, Y))) end @for_petsc function PCMatApplyTranspose(petsclib::$UnionPetscLib, pc::AbstractPC, X::AbstractPetscMat, Y::AbstractPetscMat ) @@ -11441,7 +11441,7 @@ See also: `PCMAT`, `PCMatSetApplyOperation()`, `PCApply()`, `MatOperation` $(_doc_external("PC/PCMatGetApplyOperation")) """ function PCMatGetApplyOperation(petsclib::PetscLibType, pc::AbstractPC) - error("PCMatGetApplyOperation: no generated method for these argument types") + throw(MethodError(PCMatGetApplyOperation, (petsclib, pc))) end @for_petsc function PCMatGetApplyOperation(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -11477,7 +11477,7 @@ See also: `PCMAT`, `PCMatGetApplyOperation()`, `PCApply()`, `MatOperation` $(_doc_external("PC/PCMatSetApplyOperation")) """ function PCMatSetApplyOperation(petsclib::PetscLibType, pc::AbstractPC, matop::MatOperation) - error("PCMatSetApplyOperation: no generated method for these argument types") + throw(MethodError(PCMatSetApplyOperation, (petsclib, pc, matop))) end @for_petsc function PCMatSetApplyOperation(petsclib::$UnionPetscLib, pc::AbstractPC, matop::MatOperation ) @@ -11523,7 +11523,7 @@ See also: `PC`, `PCModifySubMatricesFn`, `PCSetModifySubMatrices()` $(_doc_external("PC/PCModifySubMatrices")) """ function PCModifySubMatrices(petsclib::PetscLibType, pc::AbstractPC, nsub::Integer, row::Vector{<:AbstractIS}, col::Vector{<:AbstractIS}, submat::Vector{<:AbstractPetscMat}, ctx::Ptr{Cvoid}) - error("PCModifySubMatrices: no generated method for these argument types") + throw(MethodError(PCModifySubMatrices, (petsclib, pc, nsub, row, col, submat, ctx))) end @for_petsc function PCModifySubMatrices(petsclib::$UnionPetscLib, pc::AbstractPC, nsub::$PetscInt, row::Vector{<:AbstractIS}, col::Vector{<:AbstractIS}, submat::Vector{<:AbstractPetscMat}, ctx::Ptr{Cvoid} ) @@ -11566,7 +11566,7 @@ See also: `PCPARMS` $(_doc_external("PC/PCPARMSSetFill")) """ function PCPARMSSetFill(petsclib::PetscLibType, pc::AbstractPC, lfil0::Integer, lfil1::Integer, lfil2::Integer) - error("PCPARMSSetFill: no generated method for these argument types") + throw(MethodError(PCPARMSSetFill, (petsclib, pc, lfil0, lfil1, lfil2))) end @for_petsc function PCPARMSSetFill(petsclib::$UnionPetscLib, pc::AbstractPC, lfil0::$PetscInt, lfil1::$PetscInt, lfil2::$PetscInt ) @@ -11608,7 +11608,7 @@ See also: `PCPARMS`, `PCPARMSSetLocal()` $(_doc_external("PC/PCPARMSSetGlobal")) """ function PCPARMSSetGlobal(petsclib::PetscLibType, pc::AbstractPC, type::PCPARMSGlobalType) - error("PCPARMSSetGlobal: no generated method for these argument types") + throw(MethodError(PCPARMSSetGlobal, (petsclib, pc, type))) end @for_petsc function PCPARMSSetGlobal(petsclib::$UnionPetscLib, pc::AbstractPC, type::PCPARMSGlobalType ) @@ -11651,7 +11651,7 @@ See also: `PCPARMS`, `PCPARMSSetGlobal()`, `PCPARMSSetNonsymPerm()` $(_doc_external("PC/PCPARMSSetLocal")) """ function PCPARMSSetLocal(petsclib::PetscLibType, pc::AbstractPC, type::PCPARMSLocalType) - error("PCPARMSSetLocal: no generated method for these argument types") + throw(MethodError(PCPARMSSetLocal, (petsclib, pc, type))) end @for_petsc function PCPARMSSetLocal(petsclib::$UnionPetscLib, pc::AbstractPC, type::PCPARMSLocalType ) @@ -11690,7 +11690,7 @@ See also: `PCPARMS` $(_doc_external("PC/PCPARMSSetNonsymPerm")) """ function PCPARMSSetNonsymPerm(petsclib::PetscLibType, pc::AbstractPC, nonsym::PetscBool) - error("PCPARMSSetNonsymPerm: no generated method for these argument types") + throw(MethodError(PCPARMSSetNonsymPerm, (petsclib, pc, nonsym))) end @for_petsc function PCPARMSSetNonsymPerm(petsclib::$UnionPetscLib, pc::AbstractPC, nonsym::PetscBool ) @@ -11728,7 +11728,7 @@ See also: `PCPARMS`, `PCPARMSSetSolveTolerances()` $(_doc_external("PC/PCPARMSSetSolveRestart")) """ function PCPARMSSetSolveRestart(petsclib::PetscLibType, pc::AbstractPC, restart::Integer) - error("PCPARMSSetSolveRestart: no generated method for these argument types") + throw(MethodError(PCPARMSSetSolveRestart, (petsclib, pc, restart))) end @for_petsc function PCPARMSSetSolveRestart(petsclib::$UnionPetscLib, pc::AbstractPC, restart::$PetscInt ) @@ -11768,7 +11768,7 @@ See also: `PCPARMS`, `PCPARMSSetSolveRestart()` $(_doc_external("PC/PCPARMSSetSolveTolerances")) """ function PCPARMSSetSolveTolerances(petsclib::PetscLibType, pc::AbstractPC, tol::Real, maxits::Integer) - error("PCPARMSSetSolveTolerances: no generated method for these argument types") + throw(MethodError(PCPARMSSetSolveTolerances, (petsclib, pc, tol, maxits))) end @for_petsc function PCPARMSSetSolveTolerances(petsclib::$UnionPetscLib, pc::AbstractPC, tol::$PetscReal, maxits::$PetscInt ) @@ -11804,7 +11804,7 @@ See also: `PCPATCH`, `PCPatchSetCellNumbering()`, `PetscSection` $(_doc_external("PC/PCPatchGetCellNumbering")) """ function PCPatchGetCellNumbering(petsclib::PetscLibType, pc::AbstractPC) - error("PCPatchGetCellNumbering: no generated method for these argument types") + throw(MethodError(PCPatchGetCellNumbering, (petsclib, pc))) end @for_petsc function PCPatchGetCellNumbering(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -11851,7 +11851,7 @@ See also: `PCPATCH`, `PCPatchSetConstructType()`, `PCPatchConstructType` $(_doc_external("PC/PCPatchGetConstructType")) """ function PCPatchGetConstructType(petsclib::PetscLibType, pc::AbstractPC, noname::Ptr{Cvoid}) - error("PCPatchGetConstructType: no generated method for these argument types") + throw(MethodError(PCPatchGetConstructType, (petsclib, pc, noname))) end @for_petsc function PCPatchGetConstructType(petsclib::$UnionPetscLib, pc::AbstractPC, noname::Ptr{Cvoid} ) @@ -11889,7 +11889,7 @@ See also: `PCPATCH`, `PCPatchSetPartitionOfUnity()` $(_doc_external("PC/PCPatchGetPartitionOfUnity")) """ function PCPatchGetPartitionOfUnity(petsclib::PetscLibType, pc::AbstractPC) - error("PCPatchGetPartitionOfUnity: no generated method for these argument types") + throw(MethodError(PCPatchGetPartitionOfUnity, (petsclib, pc))) end @for_petsc function PCPatchGetPartitionOfUnity(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -11927,7 +11927,7 @@ See also: `PCPATCH`, `PCPatchSetPrecomputeElementTensors()`, `PCPatchSetSaveOper $(_doc_external("PC/PCPatchGetPrecomputeElementTensors")) """ function PCPatchGetPrecomputeElementTensors(petsclib::PetscLibType, pc::AbstractPC) - error("PCPatchGetPrecomputeElementTensors: no generated method for these argument types") + throw(MethodError(PCPatchGetPrecomputeElementTensors, (petsclib, pc))) end @for_petsc function PCPatchGetPrecomputeElementTensors(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -11965,7 +11965,7 @@ See also: `PCPATCH`, `PCPatchSetSaveOperators()`, `PCPatchSetPrecomputeElementTe $(_doc_external("PC/PCPatchGetSaveOperators")) """ function PCPatchGetSaveOperators(petsclib::PetscLibType, pc::AbstractPC) - error("PCPatchGetSaveOperators: no generated method for these argument types") + throw(MethodError(PCPatchGetSaveOperators, (petsclib, pc))) end @for_petsc function PCPatchGetSaveOperators(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -12004,7 +12004,7 @@ See also: `PCPATCH`, `KSP`, `PCASMGetSubKSP()` $(_doc_external("PC/PCPatchGetSubKSP")) """ function PCPatchGetSubKSP(petsclib::PetscLibType, pc::AbstractPC) - error("PCPatchGetSubKSP: no generated method for these argument types") + throw(MethodError(PCPatchGetSubKSP, (petsclib, pc))) end @for_petsc function PCPatchGetSubKSP(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -12044,7 +12044,7 @@ See also: `PCPATCH`, `PCPatchSetSubMatType()`, `MatType` $(_doc_external("PC/PCPatchGetSubMatType")) """ function PCPatchGetSubMatType(petsclib::PetscLibType, pc::AbstractPC) - error("PCPatchGetSubMatType: no generated method for these argument types") + throw(MethodError(PCPatchGetSubMatType, (petsclib, pc))) end @for_petsc function PCPatchGetSubMatType(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -12080,7 +12080,7 @@ See also: `PCPATCH`, `PCPatchGetCellNumbering()`, `PetscSection` $(_doc_external("PC/PCPatchSetCellNumbering")) """ function PCPatchSetCellNumbering(petsclib::PetscLibType, pc::AbstractPC, cellNumbering::PetscSection) - error("PCPatchSetCellNumbering: no generated method for these argument types") + throw(MethodError(PCPatchSetCellNumbering, (petsclib, pc, cellNumbering))) end @for_petsc function PCPatchSetCellNumbering(petsclib::$UnionPetscLib, pc::AbstractPC, cellNumbering::PetscSection ) @@ -12126,7 +12126,7 @@ See also: `PCPatchSetComputeOperator()`, `PCPatchGetComputeOperator()`, `PCPatch $(_doc_external("PC/PCPatchSetComputeFunction")) """ function PCPatchSetComputeFunction(petsclib::PetscLibType, pc::AbstractPC, func::external, ctx::Ptr{Cvoid}) - error("PCPatchSetComputeFunction: no generated method for these argument types") + throw(MethodError(PCPatchSetComputeFunction, (petsclib, pc, func, ctx))) end @for_petsc function PCPatchSetComputeFunction(petsclib::$UnionPetscLib, pc::AbstractPC, func::external, ctx::Ptr{Cvoid} ) @@ -12172,7 +12172,7 @@ See also: `PCPatchSetComputeFunction()`, `PCPatchSetComputeFunctionInteriorFacet $(_doc_external("PC/PCPatchSetComputeFunctionExteriorFacets")) """ function PCPatchSetComputeFunctionExteriorFacets(petsclib::PetscLibType, pc::AbstractPC, func::external, ctx::Ptr{Cvoid}) - error("PCPatchSetComputeFunctionExteriorFacets: no generated method for these argument types") + throw(MethodError(PCPatchSetComputeFunctionExteriorFacets, (petsclib, pc, func, ctx))) end @for_petsc function PCPatchSetComputeFunctionExteriorFacets(petsclib::$UnionPetscLib, pc::AbstractPC, func::external, ctx::Ptr{Cvoid} ) @@ -12218,7 +12218,7 @@ See also: `PCPatchSetComputeOperator()`, `PCPatchGetComputeOperator()`, `PCPatch $(_doc_external("PC/PCPatchSetComputeFunctionInteriorFacets")) """ function PCPatchSetComputeFunctionInteriorFacets(petsclib::PetscLibType, pc::AbstractPC, func::external, ctx::Ptr{Cvoid}) - error("PCPatchSetComputeFunctionInteriorFacets: no generated method for these argument types") + throw(MethodError(PCPatchSetComputeFunctionInteriorFacets, (petsclib, pc, func, ctx))) end @for_petsc function PCPatchSetComputeFunctionInteriorFacets(petsclib::$UnionPetscLib, pc::AbstractPC, func::external, ctx::Ptr{Cvoid} ) @@ -12264,7 +12264,7 @@ See also: `PCPatchGetComputeOperator()`, `PCPatchSetComputeFunction()`, `PCPatch $(_doc_external("PC/PCPatchSetComputeOperator")) """ function PCPatchSetComputeOperator(petsclib::PetscLibType, pc::AbstractPC, func::external, ctx::Ptr{Cvoid}) - error("PCPatchSetComputeOperator: no generated method for these argument types") + throw(MethodError(PCPatchSetComputeOperator, (petsclib, pc, func, ctx))) end @for_petsc function PCPatchSetComputeOperator(petsclib::$UnionPetscLib, pc::AbstractPC, func::external, ctx::Ptr{Cvoid} ) @@ -12310,7 +12310,7 @@ See also: `PCPatchSetComputeOperator()`, `PCPatchSetComputeOperatorInteriorFacet $(_doc_external("PC/PCPatchSetComputeOperatorExteriorFacets")) """ function PCPatchSetComputeOperatorExteriorFacets(petsclib::PetscLibType, pc::AbstractPC, func::external, ctx::Ptr{Cvoid}) - error("PCPatchSetComputeOperatorExteriorFacets: no generated method for these argument types") + throw(MethodError(PCPatchSetComputeOperatorExteriorFacets, (petsclib, pc, func, ctx))) end @for_petsc function PCPatchSetComputeOperatorExteriorFacets(petsclib::$UnionPetscLib, pc::AbstractPC, func::external, ctx::Ptr{Cvoid} ) @@ -12356,7 +12356,7 @@ See also: `PCPatchGetComputeOperator()`, `PCPatchSetComputeFunction()`, `PCPatch $(_doc_external("PC/PCPatchSetComputeOperatorInteriorFacets")) """ function PCPatchSetComputeOperatorInteriorFacets(petsclib::PetscLibType, pc::AbstractPC, func::external, ctx::Ptr{Cvoid}) - error("PCPatchSetComputeOperatorInteriorFacets: no generated method for these argument types") + throw(MethodError(PCPatchSetComputeOperatorInteriorFacets, (petsclib, pc, func, ctx))) end @for_petsc function PCPatchSetComputeOperatorInteriorFacets(petsclib::$UnionPetscLib, pc::AbstractPC, func::external, ctx::Ptr{Cvoid} ) @@ -12399,7 +12399,7 @@ See also: `PCPATCH`, `PCPatchGetConstructType()`, `PCPatchConstructType` $(_doc_external("PC/PCPatchSetConstructType")) """ function PCPatchSetConstructType(petsclib::PetscLibType, pc::AbstractPC, ctype::PCPatchConstructType, func::external, ctx::Ptr{Cvoid}) - error("PCPatchSetConstructType: no generated method for these argument types") + throw(MethodError(PCPatchSetConstructType, (petsclib, pc, ctype, func, ctx))) end @for_petsc function PCPatchSetConstructType(petsclib::$UnionPetscLib, pc::AbstractPC, ctype::PCPatchConstructType, func::external, ctx::Ptr{Cvoid} ) @@ -12442,7 +12442,7 @@ See also: `PCPATCH`, `PCPatchSetComputeOperator()`, `PCPatchSetComputeFunction() $(_doc_external("PC/PCPatchSetDiscretisationInfo")) """ function PCPatchSetDiscretisationInfo(petsclib::PetscLibType, pc::AbstractPC, nsubspaces::Integer, dms::Vector{<:AbstractPetscDM}, bs::AbstractVector{<:Number}, nodesPerCell::AbstractVector{<:Number}, cellNodeMap::Integer, subspaceOffsets::AbstractVector{<:Number}, numGhostBcs::Integer, ghostBcNodes::AbstractVector{<:Number}, numGlobalBcs::Integer, globalBcNodes::AbstractVector{<:Number}) - error("PCPatchSetDiscretisationInfo: no generated method for these argument types") + throw(MethodError(PCPatchSetDiscretisationInfo, (petsclib, pc, nsubspaces, dms, bs, nodesPerCell, cellNodeMap, subspaceOffsets, numGhostBcs, ghostBcNodes, numGlobalBcs, globalBcNodes))) end @for_petsc function PCPatchSetDiscretisationInfo(petsclib::$UnionPetscLib, pc::AbstractPC, nsubspaces::$PetscInt, dms::Vector{<:AbstractPetscDM}, bs::Vector{$PetscInt}, nodesPerCell::Vector{$PetscInt}, cellNodeMap::$PetscInt, subspaceOffsets::Vector{$PetscInt}, numGhostBcs::$PetscInt, ghostBcNodes::Vector{$PetscInt}, numGlobalBcs::$PetscInt, globalBcNodes::Vector{$PetscInt} ) @@ -12476,7 +12476,7 @@ See also: `PCPATCH`, `PCPatchGetPartitionOfUnity()` $(_doc_external("PC/PCPatchSetPartitionOfUnity")) """ function PCPatchSetPartitionOfUnity(petsclib::PetscLibType, pc::AbstractPC, flg::PetscBool) - error("PCPatchSetPartitionOfUnity: no generated method for these argument types") + throw(MethodError(PCPatchSetPartitionOfUnity, (petsclib, pc, flg))) end @for_petsc function PCPatchSetPartitionOfUnity(petsclib::$UnionPetscLib, pc::AbstractPC, flg::PetscBool ) @@ -12510,7 +12510,7 @@ See also: `PCPATCH`, `PCPatchGetPrecomputeElementTensors()`, `PCPatchSetSaveOper $(_doc_external("PC/PCPatchSetPrecomputeElementTensors")) """ function PCPatchSetPrecomputeElementTensors(petsclib::PetscLibType, pc::AbstractPC, flg::PetscBool) - error("PCPatchSetPrecomputeElementTensors: no generated method for these argument types") + throw(MethodError(PCPatchSetPrecomputeElementTensors, (petsclib, pc, flg))) end @for_petsc function PCPatchSetPrecomputeElementTensors(petsclib::$UnionPetscLib, pc::AbstractPC, flg::PetscBool ) @@ -12544,7 +12544,7 @@ See also: `PCPATCH`, `PCPatchGetSaveOperators()`, `PCPatchSetPrecomputeElementTe $(_doc_external("PC/PCPatchSetSaveOperators")) """ function PCPatchSetSaveOperators(petsclib::PetscLibType, pc::AbstractPC, flg::PetscBool) - error("PCPatchSetSaveOperators: no generated method for these argument types") + throw(MethodError(PCPatchSetSaveOperators, (petsclib, pc, flg))) end @for_petsc function PCPatchSetSaveOperators(petsclib::$UnionPetscLib, pc::AbstractPC, flg::PetscBool ) @@ -12578,7 +12578,7 @@ See also: `PCPATCH`, `PCPatchGetSubMatType()`, `MatType` $(_doc_external("PC/PCPatchSetSubMatType")) """ function PCPatchSetSubMatType(petsclib::PetscLibType, pc::AbstractPC, sub_mat_type::String) - error("PCPatchSetSubMatType: no generated method for these argument types") + throw(MethodError(PCPatchSetSubMatType, (petsclib, pc, sub_mat_type))) end @for_petsc function PCPatchSetSubMatType(petsclib::$UnionPetscLib, pc::AbstractPC, sub_mat_type::String ) @@ -12612,7 +12612,7 @@ See also: `PC`, `KSPSetPostSolve()`, `KSPSetPreSolve()`, `PCPreSolve()`, `KSPSol $(_doc_external("PC/PCPostSolve")) """ function PCPostSolve(petsclib::PetscLibType, pc::AbstractPC, ksp::AbstractKSP) - error("PCPostSolve: no generated method for these argument types") + throw(MethodError(PCPostSolve, (petsclib, pc, ksp))) end @for_petsc function PCPostSolve(petsclib::$UnionPetscLib, pc::AbstractPC, ksp::AbstractKSP ) @@ -12647,7 +12647,7 @@ See also: `PC`, `PCPostSolve()`, `KSP`, `PCSetPostSetUp()`, `KSPSetPreSolve()`, $(_doc_external("PC/PCPreSolve")) """ function PCPreSolve(petsclib::PetscLibType, pc::AbstractPC, ksp::AbstractKSP) - error("PCPreSolve: no generated method for these argument types") + throw(MethodError(PCPreSolve, (petsclib, pc, ksp))) end @for_petsc function PCPreSolve(petsclib::$UnionPetscLib, pc::AbstractPC, ksp::AbstractKSP ) @@ -12683,7 +12683,7 @@ See also: `PC`, `PCSHELL`, `PCCreate()`, `PCSetType()`, `PCPYTHON`, `PetscPython $(_doc_external("PC/PCPythonGetType")) """ function PCPythonGetType(petsclib::PetscLibType, pc::AbstractPC) - error("PCPythonGetType: no generated method for these argument types") + throw(MethodError(PCPythonGetType, (petsclib, pc))) end @for_petsc function PCPythonGetType(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -12722,7 +12722,7 @@ See also: `PC`, `PCSHELL`, `PCCreate()`, `PCSetType()`, `PCPYTHON`, `PetscPython $(_doc_external("PC/PCPythonSetType")) """ function PCPythonSetType(petsclib::PetscLibType, pc::AbstractPC, pyname::String) - error("PCPythonSetType: no generated method for these argument types") + throw(MethodError(PCPythonSetType, (petsclib, pc, pyname))) end @for_petsc function PCPythonSetType(petsclib::$UnionPetscLib, pc::AbstractPC, pyname::String ) @@ -12758,7 +12758,7 @@ See also: `KSP`, `PCREDISTRIBUTE` $(_doc_external("PC/PCRedistributeGetKSP")) """ function PCRedistributeGetKSP(petsclib::PetscLibType, pc::AbstractPC) - error("PCRedistributeGetKSP: no generated method for these argument types") + throw(MethodError(PCRedistributeGetKSP, (petsclib, pc))) end @for_petsc function PCRedistributeGetKSP(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -12793,7 +12793,7 @@ See also: `PC`, `PCCreate()`, `PCApply()`, `PCDestroy()`, `PCGetFailedReason()`, $(_doc_external("PC/PCReduceFailedReason")) """ function PCReduceFailedReason(petsclib::PetscLibType, pc::AbstractPC) - error("PCReduceFailedReason: no generated method for these argument types") + throw(MethodError(PCReduceFailedReason, (petsclib, pc))) end @for_petsc function PCReduceFailedReason(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -12829,7 +12829,7 @@ See also: `PCREDUNDANT` $(_doc_external("PC/PCRedundantGetKSP")) """ function PCRedundantGetKSP(petsclib::PetscLibType, pc::AbstractPC) - error("PCRedundantGetKSP: no generated method for these argument types") + throw(MethodError(PCRedundantGetKSP, (petsclib, pc))) end @for_petsc function PCRedundantGetKSP(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -12868,7 +12868,7 @@ See also: `PCREDUNDANT` $(_doc_external("PC/PCRedundantGetOperators")) """ function PCRedundantGetOperators(petsclib::PetscLibType, pc::AbstractPC) - error("PCRedundantGetOperators: no generated method for these argument types") + throw(MethodError(PCRedundantGetOperators, (petsclib, pc))) end @for_petsc function PCRedundantGetOperators(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -12907,7 +12907,7 @@ See also: `PCREDUNDANT` $(_doc_external("PC/PCRedundantSetNumber")) """ function PCRedundantSetNumber(petsclib::PetscLibType, pc::AbstractPC, nredundant::Integer) - error("PCRedundantSetNumber: no generated method for these argument types") + throw(MethodError(PCRedundantSetNumber, (petsclib, pc, nredundant))) end @for_petsc function PCRedundantSetNumber(petsclib::$UnionPetscLib, pc::AbstractPC, nredundant::$PetscInt ) @@ -12944,7 +12944,7 @@ See also: `PCREDUNDANT` $(_doc_external("PC/PCRedundantSetScatter")) """ function PCRedundantSetScatter(petsclib::PetscLibType, pc::AbstractPC, in::VecScatter, out::VecScatter) - error("PCRedundantSetScatter: no generated method for these argument types") + throw(MethodError(PCRedundantSetScatter, (petsclib, pc, in, out))) end @for_petsc function PCRedundantSetScatter(petsclib::$UnionPetscLib, pc::AbstractPC, in::VecScatter, out::VecScatter ) @@ -12976,7 +12976,7 @@ See also: `PC`, `PCType`, `PCRegisterAll()`, `PCSetType()`, `PCShellSetContext() $(_doc_external("PC/PCRegister")) """ function PCRegister(petsclib::PetscLibType, sname::String, fnc::external) - error("PCRegister: no generated method for these argument types") + throw(MethodError(PCRegister, (petsclib, sname, fnc))) end @for_petsc function PCRegister(petsclib::$UnionPetscLib, sname::String, fnc::external ) @@ -13009,7 +13009,7 @@ See also: `PC`, `PCCreate()`, `PCSetUp()` $(_doc_external("PC/PCReset")) """ function PCReset(petsclib::PetscLibType, pc::AbstractPC) - error("PCReset: no generated method for these argument types") + throw(MethodError(PCReset, (petsclib, pc))) end @for_petsc function PCReset(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -13051,7 +13051,7 @@ See also: `PCSOR`, `PCSORSetOmega()`, `PCSORSetSymmetric()`, `PCSORSetIterations $(_doc_external("PC/PCSORGetIterations")) """ function PCSORGetIterations(petsclib::PetscLibType, pc::AbstractPC) - error("PCSORGetIterations: no generated method for these argument types") + throw(MethodError(PCSORGetIterations, (petsclib, pc))) end @for_petsc function PCSORGetIterations(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -13095,7 +13095,7 @@ See also: `PCSOR`, `PCSORSetSymmetric()`, `PCSORSetIterations()`, `PCEisenstatSe $(_doc_external("PC/PCSORGetOmega")) """ function PCSORGetOmega(petsclib::PetscLibType, pc::AbstractPC) - error("PCSORGetOmega: no generated method for these argument types") + throw(MethodError(PCSORGetOmega, (petsclib, pc))) end @for_petsc function PCSORGetOmega(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -13147,7 +13147,7 @@ See also: `PCSOR`, `PCEisenstatSetOmega()`, `PCSORSetIterations()`, `PCSORSetOme $(_doc_external("PC/PCSORGetSymmetric")) """ function PCSORGetSymmetric(petsclib::PetscLibType, pc::AbstractPC) - error("PCSORGetSymmetric: no generated method for these argument types") + throw(MethodError(PCSORGetSymmetric, (petsclib, pc))) end @for_petsc function PCSORGetSymmetric(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -13189,7 +13189,7 @@ See also: `PCSOR`, `PCSORSetOmega()`, `PCSORSetSymmetric()` $(_doc_external("PC/PCSORSetIterations")) """ function PCSORSetIterations(petsclib::PetscLibType, pc::AbstractPC, its::Integer, lits::Integer) - error("PCSORSetIterations: no generated method for these argument types") + throw(MethodError(PCSORSetIterations, (petsclib, pc, its, lits))) end @for_petsc function PCSORSetIterations(petsclib::$UnionPetscLib, pc::AbstractPC, its::$PetscInt, lits::$PetscInt ) @@ -13227,7 +13227,7 @@ See also: `PCSOR`, `PCSORSetSymmetric()`, `PCSORSetIterations()`, `PCEisenstatSe $(_doc_external("PC/PCSORSetOmega")) """ function PCSORSetOmega(petsclib::PetscLibType, pc::AbstractPC, omega::Real) - error("PCSORSetOmega: no generated method for these argument types") + throw(MethodError(PCSORSetOmega, (petsclib, pc, omega))) end @for_petsc function PCSORSetOmega(petsclib::$UnionPetscLib, pc::AbstractPC, omega::$PetscReal ) @@ -13276,7 +13276,7 @@ See also: `PCSOR`, `PCEisenstatSetOmega()`, `PCSORSetIterations()`, `PCSORSetOme $(_doc_external("PC/PCSORSetSymmetric")) """ function PCSORSetSymmetric(petsclib::PetscLibType, pc::AbstractPC, flag::MatSORType) - error("PCSORSetSymmetric: no generated method for these argument types") + throw(MethodError(PCSORSetSymmetric, (petsclib, pc, flag))) end @for_petsc function PCSORSetSymmetric(petsclib::$UnionPetscLib, pc::AbstractPC, flag::MatSORType ) @@ -13308,7 +13308,7 @@ See also: `PCSPAI`, `PCSetType()` $(_doc_external("PC/PCSPAISetBlockSize")) """ function PCSPAISetBlockSize(petsclib::PetscLibType, pc::AbstractPC, block_size1::Integer) - error("PCSPAISetBlockSize: no generated method for these argument types") + throw(MethodError(PCSPAISetBlockSize, (petsclib, pc, block_size1))) end @for_petsc function PCSPAISetBlockSize(petsclib::$UnionPetscLib, pc::AbstractPC, block_size1::$PetscInt ) @@ -13340,7 +13340,7 @@ See also: `PCSPAI`, `PCSetType()` $(_doc_external("PC/PCSPAISetCacheSize")) """ function PCSPAISetCacheSize(petsclib::PetscLibType, pc::AbstractPC, cache_size::Integer) - error("PCSPAISetCacheSize: no generated method for these argument types") + throw(MethodError(PCSPAISetCacheSize, (petsclib, pc, cache_size))) end @for_petsc function PCSPAISetCacheSize(petsclib::$UnionPetscLib, pc::AbstractPC, cache_size::$PetscInt ) @@ -13372,7 +13372,7 @@ See also: `PCSPAI`, `PCSetType()` $(_doc_external("PC/PCSPAISetEpsilon")) """ function PCSPAISetEpsilon(petsclib::PetscLibType, pc::AbstractPC, epsilon1::Real) - error("PCSPAISetEpsilon: no generated method for these argument types") + throw(MethodError(PCSPAISetEpsilon, (petsclib, pc, epsilon1))) end @for_petsc function PCSPAISetEpsilon(petsclib::$UnionPetscLib, pc::AbstractPC, epsilon1::$PetscReal ) @@ -13404,7 +13404,7 @@ See also: `PCSPAI`, `PCSetType()` $(_doc_external("PC/PCSPAISetMax")) """ function PCSPAISetMax(petsclib::PetscLibType, pc::AbstractPC, max1::Integer) - error("PCSPAISetMax: no generated method for these argument types") + throw(MethodError(PCSPAISetMax, (petsclib, pc, max1))) end @for_petsc function PCSPAISetMax(petsclib::$UnionPetscLib, pc::AbstractPC, max1::$PetscInt ) @@ -13436,7 +13436,7 @@ See also: `PCSPAI`, `PCSetType()`, `PCSPAISetNBSteps()` $(_doc_external("PC/PCSPAISetMaxNew")) """ function PCSPAISetMaxNew(petsclib::PetscLibType, pc::AbstractPC, maxnew1::Integer) - error("PCSPAISetMaxNew: no generated method for these argument types") + throw(MethodError(PCSPAISetMaxNew, (petsclib, pc, maxnew1))) end @for_petsc function PCSPAISetMaxNew(petsclib::$UnionPetscLib, pc::AbstractPC, maxnew1::$PetscInt ) @@ -13467,7 +13467,7 @@ See also: `PCSPAI`, `PCSetType()`, `PCSPAISetMaxNew()` $(_doc_external("PC/PCSPAISetNBSteps")) """ function PCSPAISetNBSteps(petsclib::PetscLibType, pc::AbstractPC, nbsteps1::Integer) - error("PCSPAISetNBSteps: no generated method for these argument types") + throw(MethodError(PCSPAISetNBSteps, (petsclib, pc, nbsteps1))) end @for_petsc function PCSPAISetNBSteps(petsclib::$UnionPetscLib, pc::AbstractPC, nbsteps1::$PetscInt ) @@ -13499,7 +13499,7 @@ See also: `PCSPAI`, `PCSetType()` $(_doc_external("PC/PCSPAISetSp")) """ function PCSPAISetSp(petsclib::PetscLibType, pc::AbstractPC, sp::Integer) - error("PCSPAISetSp: no generated method for these argument types") + throw(MethodError(PCSPAISetSp, (petsclib, pc, sp))) end @for_petsc function PCSPAISetSp(petsclib::$UnionPetscLib, pc::AbstractPC, sp::$PetscInt ) @@ -13531,7 +13531,7 @@ See also: `PCSPAI`, `PCSetType()` $(_doc_external("PC/PCSPAISetVerbose")) """ function PCSPAISetVerbose(petsclib::PetscLibType, pc::AbstractPC, verbose::Integer) - error("PCSPAISetVerbose: no generated method for these argument types") + throw(MethodError(PCSPAISetVerbose, (petsclib, pc, verbose))) end @for_petsc function PCSPAISetVerbose(petsclib::$UnionPetscLib, pc::AbstractPC, verbose::$PetscInt ) @@ -13565,7 +13565,7 @@ See also: `PC`, `PCGetApplicationContext()`, `KSPSetApplicationContext()`, `KSPG $(_doc_external("PC/PCSetApplicationContext")) """ function PCSetApplicationContext(petsclib::PetscLibType, pc::AbstractPC, ctx::Ptr{Cvoid}) - error("PCSetApplicationContext: no generated method for these argument types") + throw(MethodError(PCSetApplicationContext, (petsclib, pc, ctx))) end @for_petsc function PCSetApplicationContext(petsclib::$UnionPetscLib, pc::AbstractPC, ctx::Ptr{Cvoid} ) @@ -13601,7 +13601,7 @@ See also: `PC`, `MatSetNearNullSpace()` $(_doc_external("PC/PCSetCoordinates")) """ function PCSetCoordinates(petsclib::PetscLibType, pc::AbstractPC, dim::Integer, nloc::Integer, coords::AbstractVector{<:Number}) - error("PCSetCoordinates: no generated method for these argument types") + throw(MethodError(PCSetCoordinates, (petsclib, pc, dim, nloc, coords))) end @for_petsc function PCSetCoordinates(petsclib::$UnionPetscLib, pc::AbstractPC, dim::$PetscInt, nloc::$PetscInt, coords::Vector{$PetscReal} ) @@ -13635,7 +13635,7 @@ See also: `PC`, `DM`, `PCGetDM()`, `KSPSetDM()`, `KSPGetDM()`, `SNESSetDM()`, `T $(_doc_external("PC/PCSetDM")) """ function PCSetDM(petsclib::PetscLibType, pc::AbstractPC, dm::AbstractPetscDM) - error("PCSetDM: no generated method for these argument types") + throw(MethodError(PCSetDM, (petsclib, pc, dm))) end @for_petsc function PCSetDM(petsclib::$UnionPetscLib, pc::AbstractPC, dm::AbstractPetscDM ) @@ -13670,7 +13670,7 @@ See also: `PCCreate()`, `PCSetUp()`, `PCDiagonalScaleLeft()`, `PCDiagonalScaleRi $(_doc_external("PC/PCSetDiagonalScale")) """ function PCSetDiagonalScale(petsclib::PetscLibType, pc::AbstractPC, s::AbstractPetscVec) - error("PCSetDiagonalScale: no generated method for these argument types") + throw(MethodError(PCSetDiagonalScale, (petsclib, pc, s))) end @for_petsc function PCSetDiagonalScale(petsclib::$UnionPetscLib, pc::AbstractPC, s::AbstractPetscVec ) @@ -13704,7 +13704,7 @@ See also: `PC`, `KSPSetErrorIfNotConverged()`, `PCGetInitialGuessNonzero()`, `PC $(_doc_external("PC/PCSetErrorIfFailure")) """ function PCSetErrorIfFailure(petsclib::PetscLibType, pc::AbstractPC, flg::PetscBool) - error("PCSetErrorIfFailure: no generated method for these argument types") + throw(MethodError(PCSetErrorIfFailure, (petsclib, pc, flg))) end @for_petsc function PCSetErrorIfFailure(petsclib::$UnionPetscLib, pc::AbstractPC, flg::PetscBool ) @@ -13738,7 +13738,7 @@ See also: `PC`, `PCCreate()`, `PCApply()`, `PCDestroy()`, `PCFailedReason` $(_doc_external("PC/PCSetFailedReason")) """ function PCSetFailedReason(petsclib::PetscLibType, pc::AbstractPC, reason::PCFailedReason) - error("PCSetFailedReason: no generated method for these argument types") + throw(MethodError(PCSetFailedReason, (petsclib, pc, reason))) end @for_petsc function PCSetFailedReason(petsclib::$UnionPetscLib, pc::AbstractPC, reason::PCFailedReason ) @@ -13774,7 +13774,7 @@ See also: `PC`, `PCSetType()`, `PCType`, `KSPSetFromOptions()` $(_doc_external("PC/PCSetFromOptions")) """ function PCSetFromOptions(petsclib::PetscLibType, pc::AbstractPC) - error("PCSetFromOptions: no generated method for these argument types") + throw(MethodError(PCSetFromOptions, (petsclib, pc))) end @for_petsc function PCSetFromOptions(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -13808,7 +13808,7 @@ See also: `KSPSetUp()`, `KSPSolve()`, `KSPDestroy()`, `KSP`, `KSPGMRES`, `KSPTyp $(_doc_external("PC/PCSetKSPNestLevel")) """ function PCSetKSPNestLevel(petsclib::PetscLibType, pc::AbstractPC, level::Integer) - error("PCSetKSPNestLevel: no generated method for these argument types") + throw(MethodError(PCSetKSPNestLevel, (petsclib, pc, level))) end @for_petsc function PCSetKSPNestLevel(petsclib::$UnionPetscLib, pc::AbstractPC, level::$PetscInt ) @@ -13844,7 +13844,7 @@ See also: `PC`, `PCModifySubMatricesFn`, `PCBJACOBI`, `PCASM`, `PCModifySubMatri $(_doc_external("PC/PCSetModifySubMatrices")) """ function PCSetModifySubMatrices(petsclib::PetscLibType, pc::AbstractPC, func::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("PCSetModifySubMatrices: no generated method for these argument types") + throw(MethodError(PCSetModifySubMatrices, (petsclib, pc, func, ctx))) end @for_petsc function PCSetModifySubMatrices(petsclib::$UnionPetscLib, pc::AbstractPC, func::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -13880,7 +13880,7 @@ See also: `PC`, `PCGetOperators()`, `MatZeroEntries()` $(_doc_external("PC/PCSetOperators")) """ function PCSetOperators(petsclib::PetscLibType, pc::AbstractPC, Amat::AbstractPetscMat, Pmat::AbstractPetscMat) - error("PCSetOperators: no generated method for these argument types") + throw(MethodError(PCSetOperators, (petsclib, pc, Amat, Pmat))) end @for_petsc function PCSetOperators(petsclib::$UnionPetscLib, pc::AbstractPC, Amat::AbstractPetscMat, Pmat::AbstractPetscMat ) @@ -13915,7 +13915,7 @@ See also: `PC`, `PCSetFromOptions()`, `PCAppendOptionsPrefix()`, `PCGetOptionsPr $(_doc_external("PC/PCSetOptionsPrefix")) """ function PCSetOptionsPrefix(petsclib::PetscLibType, pc::AbstractPC, prefix::String) - error("PCSetOptionsPrefix: no generated method for these argument types") + throw(MethodError(PCSetOptionsPrefix, (petsclib, pc, prefix))) end @for_petsc function PCSetOptionsPrefix(petsclib::$UnionPetscLib, pc::AbstractPC, prefix::String ) @@ -13952,7 +13952,7 @@ See also: `PC`, `PCSetUp()` $(_doc_external("PC/PCSetPostSetUp")) """ function PCSetPostSetUp(petsclib::PetscLibType, pc::AbstractPC, postsetup::external) - error("PCSetPostSetUp: no generated method for these argument types") + throw(MethodError(PCSetPostSetUp, (petsclib, pc, postsetup))) end @for_petsc function PCSetPostSetUp(petsclib::$UnionPetscLib, pc::AbstractPC, postsetup::external ) @@ -13986,7 +13986,7 @@ See also: `PC`, `PCGetOperators()`, `MatZeroEntries()`, `PCGetReusePreconditione $(_doc_external("PC/PCSetReusePreconditioner")) """ function PCSetReusePreconditioner(petsclib::PetscLibType, pc::AbstractPC, flag::PetscBool) - error("PCSetReusePreconditioner: no generated method for these argument types") + throw(MethodError(PCSetReusePreconditioner, (petsclib, pc, flag))) end @for_petsc function PCSetReusePreconditioner(petsclib::$UnionPetscLib, pc::AbstractPC, flag::PetscBool ) @@ -14021,7 +14021,7 @@ See also: `KSPSetType()`, `PCType`, `PCRegister()`, `PCCreate()`, `KSPGetPC()` $(_doc_external("PC/PCSetType")) """ function PCSetType(petsclib::PetscLibType, pc::AbstractPC, type::String) - error("PCSetType: no generated method for these argument types") + throw(MethodError(PCSetType, (petsclib, pc, type))) end @for_petsc function PCSetType(petsclib::$UnionPetscLib, pc::AbstractPC, type::String ) @@ -14055,7 +14055,7 @@ See also: `PC`, `PCCreate()`, `PCApply()`, `PCDestroy()`, `KSPSetUp()`, `PCSetUp $(_doc_external("PC/PCSetUp")) """ function PCSetUp(petsclib::PetscLibType, pc::AbstractPC) - error("PCSetUp: no generated method for these argument types") + throw(MethodError(PCSetUp, (petsclib, pc))) end @for_petsc function PCSetUp(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -14089,7 +14089,7 @@ See also: `PC`, `PCSetUp()`, `PCCreate()`, `PCApply()`, `PCDestroy()` $(_doc_external("PC/PCSetUpOnBlocks")) """ function PCSetUpOnBlocks(petsclib::PetscLibType, pc::AbstractPC) - error("PCSetUpOnBlocks: no generated method for these argument types") + throw(MethodError(PCSetUpOnBlocks, (petsclib, pc))) end @for_petsc function PCSetUpOnBlocks(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -14129,7 +14129,7 @@ See also: `PC`, `PCGetUseAmat()`, `PCBJACOBI`, `PCMG`, `PCFIELDSPLIT`, `PCCOMPOS $(_doc_external("PC/PCSetUseAmat")) """ function PCSetUseAmat(petsclib::PetscLibType, pc::AbstractPC, flg::PetscBool) - error("PCSetUseAmat: no generated method for these argument types") + throw(MethodError(PCSetUseAmat, (petsclib, pc, flg))) end @for_petsc function PCSetUseAmat(petsclib::$UnionPetscLib, pc::AbstractPC, flg::PetscBool ) @@ -14165,7 +14165,7 @@ See also: `PC`, `PCSHELL`, `PCShellSetContext()`, `PCShellSetApply()`, `PCShellS $(_doc_external("PC/PCShellGetContext")) """ function PCShellGetContext(petsclib::PetscLibType, pc::AbstractPC) - error("PCShellGetContext: no generated method for these argument types") + throw(MethodError(PCShellGetContext, (petsclib, pc))) end @for_petsc function PCShellGetContext(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -14204,7 +14204,7 @@ See also: `PCSHELL`, `PCShellSetName()`, `PetscObjectSetName()`, `PetscObjectGet $(_doc_external("PC/PCShellGetName")) """ function PCShellGetName(petsclib::PetscLibType, pc::AbstractPC) - error("PCShellGetName: no generated method for these argument types") + throw(MethodError(PCShellGetName, (petsclib, pc))) end @for_petsc function PCShellGetName(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -14245,7 +14245,7 @@ See also: `PCSHELL`, `PCShellSetApplyRichardson()`, `PCShellSetSetUp()`, `PCShel $(_doc_external("PC/PCShellSetApply")) """ function PCShellSetApply(petsclib::PetscLibType, pc::AbstractPC, apply::external) - error("PCShellSetApply: no generated method for these argument types") + throw(MethodError(PCShellSetApply, (petsclib, pc, apply))) end @for_petsc function PCShellSetApply(petsclib::$UnionPetscLib, pc::AbstractPC, apply::external ) @@ -14286,7 +14286,7 @@ See also: `PCSHELL`, `PCShellSetApplyRichardson()`, `PCShellSetSetUp()`, `PCShel $(_doc_external("PC/PCShellSetApplyBA")) """ function PCShellSetApplyBA(petsclib::PetscLibType, pc::AbstractPC, applyBA::external) - error("PCShellSetApplyBA: no generated method for these argument types") + throw(MethodError(PCShellSetApplyBA, (petsclib, pc, applyBA))) end @for_petsc function PCShellSetApplyBA(petsclib::$UnionPetscLib, pc::AbstractPC, applyBA::external ) @@ -14334,7 +14334,7 @@ See also: `PCSHELL`, `PCShellSetApply()`, `PCShellSetContext()`, `PCRichardsonCo $(_doc_external("PC/PCShellSetApplyRichardson")) """ function PCShellSetApplyRichardson(petsclib::PetscLibType, pc::AbstractPC, apply::external) - error("PCShellSetApplyRichardson: no generated method for these argument types") + throw(MethodError(PCShellSetApplyRichardson, (petsclib, pc, apply))) end @for_petsc function PCShellSetApplyRichardson(petsclib::$UnionPetscLib, pc::AbstractPC, apply::external ) @@ -14373,7 +14373,7 @@ See also: `PCSHELL`, `PCShellSetApply()`, `PCShellSetSetUp()`, `PCShellSetApplyT $(_doc_external("PC/PCShellSetApplySymmetricLeft")) """ function PCShellSetApplySymmetricLeft(petsclib::PetscLibType, pc::AbstractPC, apply::external) - error("PCShellSetApplySymmetricLeft: no generated method for these argument types") + throw(MethodError(PCShellSetApplySymmetricLeft, (petsclib, pc, apply))) end @for_petsc function PCShellSetApplySymmetricLeft(petsclib::$UnionPetscLib, pc::AbstractPC, apply::external ) @@ -14412,7 +14412,7 @@ See also: `PCSHELL`, `PCShellSetApply()`, `PCShellSetApplySymmetricLeft()`, `PCS $(_doc_external("PC/PCShellSetApplySymmetricRight")) """ function PCShellSetApplySymmetricRight(petsclib::PetscLibType, pc::AbstractPC, apply::external) - error("PCShellSetApplySymmetricRight: no generated method for these argument types") + throw(MethodError(PCShellSetApplySymmetricRight, (petsclib, pc, apply))) end @for_petsc function PCShellSetApplySymmetricRight(petsclib::$UnionPetscLib, pc::AbstractPC, apply::external ) @@ -14451,7 +14451,7 @@ See also: `PCSHELL`, `PCShellSetApplyRichardson()`, `PCShellSetSetUp()`, `PCShel $(_doc_external("PC/PCShellSetApplyTranspose")) """ function PCShellSetApplyTranspose(petsclib::PetscLibType, pc::AbstractPC, applytranspose::external) - error("PCShellSetApplyTranspose: no generated method for these argument types") + throw(MethodError(PCShellSetApplyTranspose, (petsclib, pc, applytranspose))) end @for_petsc function PCShellSetApplyTranspose(petsclib::$UnionPetscLib, pc::AbstractPC, applytranspose::external ) @@ -14485,7 +14485,7 @@ See also: `PC`, `PCShellGetContext()`, `PCSHELL`, `PCShellSetApply()`, `PCShellS $(_doc_external("PC/PCShellSetContext")) """ function PCShellSetContext(petsclib::PetscLibType, pc::AbstractPC, ctx::Ptr{Cvoid}) - error("PCShellSetContext: no generated method for these argument types") + throw(MethodError(PCShellSetContext, (petsclib, pc, ctx))) end @for_petsc function PCShellSetContext(petsclib::$UnionPetscLib, pc::AbstractPC, ctx::Ptr{Cvoid} ) @@ -14522,7 +14522,7 @@ See also: `PCSHELL`, `PCShellSetApply()`, `PCShellSetContext()`, `PCShellGetCont $(_doc_external("PC/PCShellSetDestroy")) """ function PCShellSetDestroy(petsclib::PetscLibType, pc::AbstractPC, destroy::external) - error("PCShellSetDestroy: no generated method for these argument types") + throw(MethodError(PCShellSetDestroy, (petsclib, pc, destroy))) end @for_petsc function PCShellSetDestroy(petsclib::$UnionPetscLib, pc::AbstractPC, destroy::external ) @@ -14561,7 +14561,7 @@ See also: `PCSHELL`, `PCShellSetApply()`, `PCShellSetContext()`, `PCShellGetCont $(_doc_external("PC/PCShellSetMatApply")) """ function PCShellSetMatApply(petsclib::PetscLibType, pc::AbstractPC, matapply::external) - error("PCShellSetMatApply: no generated method for these argument types") + throw(MethodError(PCShellSetMatApply, (petsclib, pc, matapply))) end @for_petsc function PCShellSetMatApply(petsclib::$UnionPetscLib, pc::AbstractPC, matapply::external ) @@ -14600,7 +14600,7 @@ See also: `PCSHELL`, `PCShellSetApplyRichardson()`, `PCShellSetSetUp()`, `PCShel $(_doc_external("PC/PCShellSetMatApplyTranspose")) """ function PCShellSetMatApplyTranspose(petsclib::PetscLibType, pc::AbstractPC, matapplytranspose::external) - error("PCShellSetMatApplyTranspose: no generated method for these argument types") + throw(MethodError(PCShellSetMatApplyTranspose, (petsclib, pc, matapplytranspose))) end @for_petsc function PCShellSetMatApplyTranspose(petsclib::$UnionPetscLib, pc::AbstractPC, matapplytranspose::external ) @@ -14635,7 +14635,7 @@ See also: `PCSHELL`, `PCShellGetName()`, `PetscObjectSetName()`, `PetscObjectGet $(_doc_external("PC/PCShellSetName")) """ function PCShellSetName(petsclib::PetscLibType, pc::AbstractPC, name::String) - error("PCShellSetName: no generated method for these argument types") + throw(MethodError(PCShellSetName, (petsclib, pc, name))) end @for_petsc function PCShellSetName(petsclib::$UnionPetscLib, pc::AbstractPC, name::String ) @@ -14671,7 +14671,7 @@ See also: `PCSHELL`, `PCShellPSolveFn`, `PCShellSetApplyRichardson()`, `PCShellS $(_doc_external("PC/PCShellSetPostSolve")) """ function PCShellSetPostSolve(petsclib::PetscLibType, pc::AbstractPC, postsolve::Ptr{Cvoid}) - error("PCShellSetPostSolve: no generated method for these argument types") + throw(MethodError(PCShellSetPostSolve, (petsclib, pc, postsolve))) end @for_petsc function PCShellSetPostSolve(petsclib::$UnionPetscLib, pc::AbstractPC, postsolve::Ptr{Cvoid} ) @@ -14707,7 +14707,7 @@ See also: `PCSHELL`, `PCShellPSolveFn`, `PCShellSetApplyRichardson()`, `PCShellS $(_doc_external("PC/PCShellSetPreSolve")) """ function PCShellSetPreSolve(petsclib::PetscLibType, pc::AbstractPC, presolve::Ptr{Cvoid}) - error("PCShellSetPreSolve: no generated method for these argument types") + throw(MethodError(PCShellSetPreSolve, (petsclib, pc, presolve))) end @for_petsc function PCShellSetPreSolve(petsclib::$UnionPetscLib, pc::AbstractPC, presolve::Ptr{Cvoid} ) @@ -14745,7 +14745,7 @@ See also: `PCSHELL`, `PCShellSetApplyRichardson()`, `PCShellSetApply()`, `PCShel $(_doc_external("PC/PCShellSetSetUp")) """ function PCShellSetSetUp(petsclib::PetscLibType, pc::AbstractPC, setup::external) - error("PCShellSetSetUp: no generated method for these argument types") + throw(MethodError(PCShellSetSetUp, (petsclib, pc, setup))) end @for_petsc function PCShellSetSetUp(petsclib::$UnionPetscLib, pc::AbstractPC, setup::external ) @@ -14783,7 +14783,7 @@ See also: `PC`, `PCSHELL`, `PCShellSetApplyRichardson()`, `PCShellSetSetUp()`, ` $(_doc_external("PC/PCShellSetView")) """ function PCShellSetView(petsclib::PetscLibType, pc::AbstractPC, view::external) - error("PCShellSetView: no generated method for these argument types") + throw(MethodError(PCShellSetView, (petsclib, pc, view))) end @for_petsc function PCShellSetView(petsclib::$UnionPetscLib, pc::AbstractPC, view::external ) @@ -14819,7 +14819,7 @@ See also: `DM`, `PCTELESCOPE`, `PCTelescopeSetIgnoreDM()`, `PCTelescopeSetUseCoa $(_doc_external("PC/PCTelescopeGetDM")) """ function PCTelescopeGetDM(petsclib::PetscLibType, pc::AbstractPC) - error("PCTelescopeGetDM: no generated method for these argument types") + throw(MethodError(PCTelescopeGetDM, (petsclib, pc))) end @for_petsc function PCTelescopeGetDM(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -14858,7 +14858,7 @@ See also: `DM`, `PCTELESCOPE`, `PCTelescopeSetIgnoreDM()` $(_doc_external("PC/PCTelescopeGetIgnoreDM")) """ function PCTelescopeGetIgnoreDM(petsclib::PetscLibType, pc::AbstractPC) - error("PCTelescopeGetIgnoreDM: no generated method for these argument types") + throw(MethodError(PCTelescopeGetIgnoreDM, (petsclib, pc))) end @for_petsc function PCTelescopeGetIgnoreDM(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -14897,7 +14897,7 @@ See also: `PCTELESCOPE`, `PCTelescopeSetIgnoreDM()`, `PCTelescopeSetUseCoarseDM( $(_doc_external("PC/PCTelescopeGetIgnoreKSPComputeOperators")) """ function PCTelescopeGetIgnoreKSPComputeOperators(petsclib::PetscLibType, pc::AbstractPC) - error("PCTelescopeGetIgnoreKSPComputeOperators: no generated method for these argument types") + throw(MethodError(PCTelescopeGetIgnoreKSPComputeOperators, (petsclib, pc))) end @for_petsc function PCTelescopeGetIgnoreKSPComputeOperators(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -14935,7 +14935,7 @@ See also: `PC`, `KSP`, `PCTELESCOPE` $(_doc_external("PC/PCTelescopeGetKSP")) """ function PCTelescopeGetKSP(petsclib::PetscLibType, pc::AbstractPC) - error("PCTelescopeGetKSP: no generated method for these argument types") + throw(MethodError(PCTelescopeGetKSP, (petsclib, pc))) end @for_petsc function PCTelescopeGetKSP(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -14974,7 +14974,7 @@ See also: `PC`, `PCTELESCOPE`, `PCTelescopeSetReductionFactor()` $(_doc_external("PC/PCTelescopeGetReductionFactor")) """ function PCTelescopeGetReductionFactor(petsclib::PetscLibType, pc::AbstractPC) - error("PCTelescopeGetReductionFactor: no generated method for these argument types") + throw(MethodError(PCTelescopeGetReductionFactor, (petsclib, pc))) end @for_petsc function PCTelescopeGetReductionFactor(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -15012,7 +15012,7 @@ See also: `PetscSubcomm`, `PetscSubcommType`, `PCTELESCOPE`, `PCTelescopeSetSubc $(_doc_external("PC/PCTelescopeGetSubcommType")) """ function PCTelescopeGetSubcommType(petsclib::PetscLibType, pc::AbstractPC) - error("PCTelescopeGetSubcommType: no generated method for these argument types") + throw(MethodError(PCTelescopeGetSubcommType, (petsclib, pc))) end @for_petsc function PCTelescopeGetSubcommType(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -15051,7 +15051,7 @@ See also: `DM`, `PCTELESCOPE`, `PCTelescopeSetIgnoreDM()`, `PCTelescopeSetUseCoa $(_doc_external("PC/PCTelescopeGetUseCoarseDM")) """ function PCTelescopeGetUseCoarseDM(petsclib::PetscLibType, pc::AbstractPC) - error("PCTelescopeGetUseCoarseDM: no generated method for these argument types") + throw(MethodError(PCTelescopeGetUseCoarseDM, (petsclib, pc))) end @for_petsc function PCTelescopeGetUseCoarseDM(petsclib::$UnionPetscLib, pc::AbstractPC ) @@ -15090,7 +15090,7 @@ See also: `DM`, `PCTELESCOPE`, `PCTelescopeGetIgnoreDM()` $(_doc_external("PC/PCTelescopeSetIgnoreDM")) """ function PCTelescopeSetIgnoreDM(petsclib::PetscLibType, pc::AbstractPC, v::PetscBool) - error("PCTelescopeSetIgnoreDM: no generated method for these argument types") + throw(MethodError(PCTelescopeSetIgnoreDM, (petsclib, pc, v))) end @for_petsc function PCTelescopeSetIgnoreDM(petsclib::$UnionPetscLib, pc::AbstractPC, v::PetscBool ) @@ -15127,7 +15127,7 @@ See also: `PCTELESCOPE`, `PCTelescopeSetIgnoreDM()`, `PCTelescopeSetUseCoarseDM( $(_doc_external("PC/PCTelescopeSetIgnoreKSPComputeOperators")) """ function PCTelescopeSetIgnoreKSPComputeOperators(petsclib::PetscLibType, pc::AbstractPC, v::PetscBool) - error("PCTelescopeSetIgnoreKSPComputeOperators: no generated method for these argument types") + throw(MethodError(PCTelescopeSetIgnoreKSPComputeOperators, (petsclib, pc, v))) end @for_petsc function PCTelescopeSetIgnoreKSPComputeOperators(petsclib::$UnionPetscLib, pc::AbstractPC, v::PetscBool ) @@ -15164,7 +15164,7 @@ See also: `PCTELESCOPE`, `PCTelescopeGetReductionFactor()` $(_doc_external("PC/PCTelescopeSetReductionFactor")) """ function PCTelescopeSetReductionFactor(petsclib::PetscLibType, pc::AbstractPC, fact::Integer) - error("PCTelescopeSetReductionFactor: no generated method for these argument types") + throw(MethodError(PCTelescopeSetReductionFactor, (petsclib, pc, fact))) end @for_petsc function PCTelescopeSetReductionFactor(petsclib::$UnionPetscLib, pc::AbstractPC, fact::$PetscInt ) @@ -15199,7 +15199,7 @@ See also: `PetscSubcommType`, `PetscSubcomm`, `PCTELESCOPE`, `PCTelescopeGetSubc $(_doc_external("PC/PCTelescopeSetSubcommType")) """ function PCTelescopeSetSubcommType(petsclib::PetscLibType, pc::AbstractPC, subcommtype::PetscSubcommType) - error("PCTelescopeSetSubcommType: no generated method for these argument types") + throw(MethodError(PCTelescopeSetSubcommType, (petsclib, pc, subcommtype))) end @for_petsc function PCTelescopeSetSubcommType(petsclib::$UnionPetscLib, pc::AbstractPC, subcommtype::PetscSubcommType ) @@ -15236,7 +15236,7 @@ See also: `DM`, `PCTELESCOPE`, `PCTelescopeSetIgnoreDM()` $(_doc_external("PC/PCTelescopeSetUseCoarseDM")) """ function PCTelescopeSetUseCoarseDM(petsclib::PetscLibType, pc::AbstractPC, v::PetscBool) - error("PCTelescopeSetUseCoarseDM: no generated method for these argument types") + throw(MethodError(PCTelescopeSetUseCoarseDM, (petsclib, pc, v))) end @for_petsc function PCTelescopeSetUseCoarseDM(petsclib::$UnionPetscLib, pc::AbstractPC, v::PetscBool ) @@ -15270,7 +15270,7 @@ See also: `PC`, `PetscViewer`, `PetscViewerType`, `KSPView()`, `PetscViewerASCII $(_doc_external("PC/PCView")) """ function PCView(petsclib::PetscLibType, pc::AbstractPC, viewer::PetscViewer) - error("PCView: no generated method for these argument types") + throw(MethodError(PCView, (petsclib, pc, viewer))) end @for_petsc function PCView(petsclib::$UnionPetscLib, pc::AbstractPC, viewer::PetscViewer ) @@ -15308,7 +15308,7 @@ See also: `PC`, `PCView`, `PetscObjectViewFromOptions()`, `PCCreate()` $(_doc_external("PC/PCViewFromOptions")) """ function PCViewFromOptions(petsclib::PetscLibType, A::AbstractPC, obj, name::String) - error("PCViewFromOptions: no generated method for these argument types") + throw(MethodError(PCViewFromOptions, (petsclib, A, obj, name))) end @for_petsc function PCViewFromOptions(petsclib::$UnionPetscLib, A::AbstractPC, obj, name::String ) diff --git a/src/autowrapped/PF_wrappers.jl b/src/autowrapped/PF_wrappers.jl index 1142560e1..431f8789b 100644 --- a/src/autowrapped/PF_wrappers.jl +++ b/src/autowrapped/PF_wrappers.jl @@ -17,7 +17,7 @@ See also: `PF`, `PFSetFromOptions()`, `PFSetOptionsPrefix()`, `PFGetOptionsPrefi $(_doc_external("PF/PFAppendOptionsPrefix")) """ function PFAppendOptionsPrefix(petsclib::PetscLibType, pf::AbstractPF, prefix::String) - error("PFAppendOptionsPrefix: no generated method for these argument types") + throw(MethodError(PFAppendOptionsPrefix, (petsclib, pf, prefix))) end @for_petsc function PFAppendOptionsPrefix(petsclib::$UnionPetscLib, pf::AbstractPF, prefix::String ) @@ -57,7 +57,7 @@ See also: `PF`, `PFApplyVec()`, `PFCreate()`, `PFDestroy()`, `PFSetType()`, `PFS $(_doc_external("PF/PFApply")) """ function PFApply(petsclib::PetscLibType, pf::AbstractPF, n::Integer, x::AbstractVector{<:Number}) - error("PFApply: no generated method for these argument types") + throw(MethodError(PFApply, (petsclib, pf, n, x))) end @for_petsc function PFApply(petsclib::$UnionPetscLib, pf::AbstractPF, n::$PetscInt, x::Vector{$PetscScalar} ) @@ -96,7 +96,7 @@ See also: `PF`, `PFApply()`, `PFCreate()`, `PFDestroy()`, `PFSetType()`, `PFSet( $(_doc_external("PF/PFApplyVec")) """ function PFApplyVec(petsclib::PetscLibType, pf::AbstractPF, x::AbstractPetscVec, y::AbstractPetscVec) - error("PFApplyVec: no generated method for these argument types") + throw(MethodError(PFApplyVec, (petsclib, pf, x, y))) end @for_petsc function PFApplyVec(petsclib::$UnionPetscLib, pf::AbstractPF, x::AbstractPetscVec, y::AbstractPetscVec ) @@ -134,7 +134,7 @@ See also: `PF`, `PFSet()`, `PFApply()`, `PFDestroy()`, `PFApplyVec()` $(_doc_external("PF/PFCreate")) """ function PFCreate(petsclib::PetscLibType, comm::MPI_Comm, dimin::Integer, dimout::Integer) - error("PFCreate: no generated method for these argument types") + throw(MethodError(PFCreate, (petsclib, comm, dimin, dimout))) end @for_petsc function PFCreate(petsclib::$UnionPetscLib, comm::MPI_Comm, dimin::$PetscInt, dimout::$PetscInt ) @@ -169,7 +169,7 @@ See also: `PF`, `PFCreate()`, `PFSet()`, `PFSetType()` $(_doc_external("PF/PFDestroy")) """ function PFDestroy(petsclib::PetscLibType, pf::AbstractPF) - error("PFDestroy: no generated method for these argument types") + throw(MethodError(PFDestroy, (petsclib, pf))) end @for_petsc function PFDestroy(petsclib::$UnionPetscLib, pf::AbstractPF ) @@ -200,7 +200,7 @@ See also: `PF`, `PetscFinalize()` $(_doc_external("PF/PFFinalizePackage")) """ function PFFinalizePackage(petsclib::PetscLibType) - error("PFFinalizePackage: no generated method for these argument types") + throw(MethodError(PFFinalizePackage, (petsclib, ))) end @for_petsc function PFFinalizePackage(petsclib::$UnionPetscLib) @@ -236,7 +236,7 @@ See also: `PF`, `PFSetFromOptions()`, `PFSetOptionsPrefix()`, `PFAppendOptionsPr $(_doc_external("PF/PFGetOptionsPrefix")) """ function PFGetOptionsPrefix(petsclib::PetscLibType, pf::AbstractPF) - error("PFGetOptionsPrefix: no generated method for these argument types") + throw(MethodError(PFGetOptionsPrefix, (petsclib, pf))) end @for_petsc function PFGetOptionsPrefix(petsclib::$UnionPetscLib, pf::AbstractPF ) @@ -275,7 +275,7 @@ See also: `PF`, `PFSetType()`, `PFType`, `PetscObjectTypeCompare()`, `PetscObjec $(_doc_external("PF/PFGetType")) """ function PFGetType(petsclib::PetscLibType, pf::AbstractPF) - error("PFGetType: no generated method for these argument types") + throw(MethodError(PFGetType, (petsclib, pf))) end @for_petsc function PFGetType(petsclib::$UnionPetscLib, pf::AbstractPF ) @@ -307,7 +307,7 @@ See also: `PF`, `PetscInitialize()` $(_doc_external("PF/PFInitializePackage")) """ function PFInitializePackage(petsclib::PetscLibType) - error("PFInitializePackage: no generated method for these argument types") + throw(MethodError(PFInitializePackage, (petsclib, ))) end @for_petsc function PFInitializePackage(petsclib::$UnionPetscLib) @@ -338,7 +338,7 @@ See also: `PF`, `PFRegisterAll()`, `PFRegisterDestroy()` $(_doc_external("PF/PFRegister")) """ function PFRegister(petsclib::PetscLibType, sname::String, fnc::external) - error("PFRegister: no generated method for these argument types") + throw(MethodError(PFRegister, (petsclib, sname, fnc))) end @for_petsc function PFRegister(petsclib::$UnionPetscLib, sname::String, fnc::external ) @@ -376,7 +376,7 @@ See also: `PF`, `PFCreate()`, `PFDestroy()`, `PFSetType()`, `PFApply()`, `PFAppl $(_doc_external("PF/PFSet")) """ function PFSet(petsclib::PetscLibType, pf::AbstractPF, apply::external, applyvec::external, view::external, destroy::external, ctx::Ptr{Cvoid}) - error("PFSet: no generated method for these argument types") + throw(MethodError(PFSet, (petsclib, pf, apply, applyvec, view, destroy, ctx))) end @for_petsc function PFSet(petsclib::$UnionPetscLib, pf::AbstractPF, apply::external, applyvec::external, view::external, destroy::external, ctx::Ptr{Cvoid} ) @@ -409,7 +409,7 @@ See also: `PF` $(_doc_external("PF/PFSetFromOptions")) """ function PFSetFromOptions(petsclib::PetscLibType, pf::AbstractPF) - error("PFSetFromOptions: no generated method for these argument types") + throw(MethodError(PFSetFromOptions, (petsclib, pf))) end @for_petsc function PFSetFromOptions(petsclib::$UnionPetscLib, pf::AbstractPF ) @@ -444,7 +444,7 @@ See also: `PF`, `PFSetFromOptions()`, `PFAppendOptionsPrefix()`, `PFGetOptionsPr $(_doc_external("PF/PFSetOptionsPrefix")) """ function PFSetOptionsPrefix(petsclib::PetscLibType, pf::AbstractPF, prefix::String) - error("PFSetOptionsPrefix: no generated method for these argument types") + throw(MethodError(PFSetOptionsPrefix, (petsclib, pf, prefix))) end @for_petsc function PFSetOptionsPrefix(petsclib::$UnionPetscLib, pf::AbstractPF, prefix::String ) @@ -482,7 +482,7 @@ See also: `PF`, `PFSet()`, `PFRegister()`, `PFCreate()`, `DMDACreatePF()`, `PFTy $(_doc_external("PF/PFSetType")) """ function PFSetType(petsclib::PetscLibType, pf::AbstractPF, type::String, ctx::Ptr{Cvoid}) - error("PFSetType: no generated method for these argument types") + throw(MethodError(PFSetType, (petsclib, pf, type, ctx))) end @for_petsc function PFSetType(petsclib::$UnionPetscLib, pf::AbstractPF, type::String, ctx::Ptr{Cvoid} ) @@ -516,7 +516,7 @@ See also: `PFSetFromOptions()` $(_doc_external("PF/PFStringSetFunction")) """ function PFStringSetFunction(petsclib::PetscLibType, pf::AbstractPF, string::String) - error("PFStringSetFunction: no generated method for these argument types") + throw(MethodError(PFStringSetFunction, (petsclib, pf, string))) end @for_petsc function PFStringSetFunction(petsclib::$UnionPetscLib, pf::AbstractPF, string::String ) @@ -550,7 +550,7 @@ See also: `PF`, `PetscViewerCreate()`, `PetscViewerASCIIOpen()` $(_doc_external("PF/PFView")) """ function PFView(petsclib::PetscLibType, pf::AbstractPF, viewer::PetscViewer) - error("PFView: no generated method for these argument types") + throw(MethodError(PFView, (petsclib, pf, viewer))) end @for_petsc function PFView(petsclib::$UnionPetscLib, pf::AbstractPF, viewer::PetscViewer ) @@ -588,7 +588,7 @@ See also: `PF`, `PFView`, `PetscObjectViewFromOptions()`, `PFCreate()` $(_doc_external("PF/PFViewFromOptions")) """ function PFViewFromOptions(petsclib::PetscLibType, A::AbstractPF, obj, name::String) - error("PFViewFromOptions: no generated method for these argument types") + throw(MethodError(PFViewFromOptions, (petsclib, A, obj, name))) end @for_petsc function PFViewFromOptions(petsclib::$UnionPetscLib, A::AbstractPF, obj, name::String ) diff --git a/src/autowrapped/PetscBag_wrappers.jl b/src/autowrapped/PetscBag_wrappers.jl index a97e8ab19..1690b025f 100644 --- a/src/autowrapped/PetscBag_wrappers.jl +++ b/src/autowrapped/PetscBag_wrappers.jl @@ -22,7 +22,7 @@ See also: `PetscBag`, `PetscBagGetName()`, `PetscBagView()`, `PetscBagLoad()`, ` $(_doc_external("Bag/PetscBagCreate")) """ function PetscBagCreate(petsclib::PetscLibType, comm::MPI_Comm, bagsize::Csize_t) - error("PetscBagCreate: no generated method for these argument types") + throw(MethodError(PetscBagCreate, (petsclib, comm, bagsize))) end @for_petsc function PetscBagCreate(petsclib::$UnionPetscLib, comm::MPI_Comm, bagsize::Csize_t ) @@ -59,7 +59,7 @@ See also: `PetscBag`, `PetscBagSetName()`, `PetscBagView()`, `PetscBagLoad()`, ` $(_doc_external("Bag/PetscBagDestroy")) """ function PetscBagDestroy(petsclib::PetscLibType, bag::Union{PetscBag, Ref{PetscBag}}) - error("PetscBagDestroy: no generated method for these argument types") + throw(MethodError(PetscBagDestroy, (petsclib, bag))) end @for_petsc function PetscBagDestroy(petsclib::$UnionPetscLib, bag::Union{PetscBag, Ref{PetscBag}} ) @@ -100,7 +100,7 @@ See also: `PetscBag`, `PetscBagSetName()`, `PetscBagView()`, `PetscBagLoad()`, $(_doc_external("Bag/PetscBagGetData")) """ function PetscBagGetData(petsclib::PetscLibType, bag::PetscBag) - error("PetscBagGetData: no generated method for these argument types") + throw(MethodError(PetscBagGetData, (petsclib, bag))) end @for_petsc function PetscBagGetData(petsclib::$UnionPetscLib, bag::PetscBag ) @@ -140,7 +140,7 @@ See also: `PetscBag`, `PetscBagSetName()`, `PetscBagView()`, `PetscBagLoad()`, ` $(_doc_external("Bag/PetscBagGetName")) """ function PetscBagGetName(petsclib::PetscLibType, bag::PetscBag) - error("PetscBagGetName: no generated method for these argument types") + throw(MethodError(PetscBagGetName, (petsclib, bag))) end @for_petsc function PetscBagGetName(petsclib::$UnionPetscLib, bag::PetscBag ) @@ -178,7 +178,7 @@ See also: `PetscBag`, `PetscBagSetName()`, `PetscBagDestroy()`, `PetscBagView()` $(_doc_external("Bag/PetscBagLoad")) """ function PetscBagLoad(petsclib::PetscLibType, view::PetscViewer, bag::PetscBag) - error("PetscBagLoad: no generated method for these argument types") + throw(MethodError(PetscBagLoad, (petsclib, view, bag))) end @for_petsc function PetscBagLoad(petsclib::$UnionPetscLib, view::PetscViewer, bag::PetscBag ) @@ -217,7 +217,7 @@ See also: `PetscBag`, `PetscBagSetName()`, `PetscBagView()`, `PetscBagLoad()`, ` $(_doc_external("Bag/PetscBagRegisterBool")) """ function PetscBagRegisterBool(petsclib::PetscLibType, bag::PetscBag, addr::Ptr{Cvoid}, mdefault::PetscBool, name::String, help::String) - error("PetscBagRegisterBool: no generated method for these argument types") + throw(MethodError(PetscBagRegisterBool, (petsclib, bag, addr, mdefault, name, help))) end @for_petsc function PetscBagRegisterBool(petsclib::$UnionPetscLib, bag::PetscBag, addr::Ptr{Cvoid}, mdefault::PetscBool, name::String, help::String ) @@ -256,7 +256,7 @@ See also: `PetscBag`, `PetscBagSetName()`, `PetscBagView()`, `PetscBagLoad()`, ` $(_doc_external("Bag/PetscBagRegisterBoolArray")) """ function PetscBagRegisterBoolArray(petsclib::PetscLibType, bag::PetscBag, addr::Ptr{Cvoid}, msize::Integer, name::String, help::String) - error("PetscBagRegisterBoolArray: no generated method for these argument types") + throw(MethodError(PetscBagRegisterBoolArray, (petsclib, bag, addr, msize, name, help))) end @for_petsc function PetscBagRegisterBoolArray(petsclib::$UnionPetscLib, bag::PetscBag, addr::Ptr{Cvoid}, msize::$PetscInt, name::String, help::String ) @@ -296,7 +296,7 @@ See also: `PetscBag`, `PetscBagSetName()`, `PetscBagView()`, `PetscBagLoad()`, ` $(_doc_external("Bag/PetscBagRegisterEnum")) """ function PetscBagRegisterEnum(petsclib::PetscLibType, bag::PetscBag, addr::Ptr{Cvoid}, list::Cchar, mdefault::PetscEnum, name::String, help::String) - error("PetscBagRegisterEnum: no generated method for these argument types") + throw(MethodError(PetscBagRegisterEnum, (petsclib, bag, addr, list, mdefault, name, help))) end @for_petsc function PetscBagRegisterEnum(petsclib::$UnionPetscLib, bag::PetscBag, addr::Ptr{Cvoid}, list::Cchar, mdefault::PetscEnum, name::String, help::String ) @@ -335,7 +335,7 @@ See also: `PetscBag`, `PetscBagSetName()`, `PetscBagView()`, `PetscBagLoad()`, ` $(_doc_external("Bag/PetscBagRegisterInt")) """ function PetscBagRegisterInt(petsclib::PetscLibType, bag::PetscBag, addr::Ptr{Cvoid}, mdefault::Integer, name::String, help::String) - error("PetscBagRegisterInt: no generated method for these argument types") + throw(MethodError(PetscBagRegisterInt, (petsclib, bag, addr, mdefault, name, help))) end @for_petsc function PetscBagRegisterInt(petsclib::$UnionPetscLib, bag::PetscBag, addr::Ptr{Cvoid}, mdefault::$PetscInt, name::String, help::String ) @@ -374,7 +374,7 @@ See also: `PetscBag`, `PetscBagSetName()`, `PetscBagView()`, `PetscBagLoad()`, ` $(_doc_external("Bag/PetscBagRegisterInt64")) """ function PetscBagRegisterInt64(petsclib::PetscLibType, bag::PetscBag, addr::Ptr{Cvoid}, mdefault::PetscInt64, name::String, help::String) - error("PetscBagRegisterInt64: no generated method for these argument types") + throw(MethodError(PetscBagRegisterInt64, (petsclib, bag, addr, mdefault, name, help))) end @for_petsc function PetscBagRegisterInt64(petsclib::$UnionPetscLib, bag::PetscBag, addr::Ptr{Cvoid}, mdefault::$PetscInt64, name::String, help::String ) @@ -413,7 +413,7 @@ See also: `PetscBag`, `PetscBagSetName()`, `PetscBagView()`, `PetscBagLoad()`, ` $(_doc_external("Bag/PetscBagRegisterIntArray")) """ function PetscBagRegisterIntArray(petsclib::PetscLibType, bag::PetscBag, addr::Ptr{Cvoid}, msize::Integer, name::String, help::String) - error("PetscBagRegisterIntArray: no generated method for these argument types") + throw(MethodError(PetscBagRegisterIntArray, (petsclib, bag, addr, msize, name, help))) end @for_petsc function PetscBagRegisterIntArray(petsclib::$UnionPetscLib, bag::PetscBag, addr::Ptr{Cvoid}, msize::$PetscInt, name::String, help::String ) @@ -452,7 +452,7 @@ See also: `PetscBag`, `PetscBagSetName()`, `PetscBagView()`, `PetscBagLoad()`, ` $(_doc_external("Bag/PetscBagRegisterReal")) """ function PetscBagRegisterReal(petsclib::PetscLibType, bag::PetscBag, addr::Ptr{Cvoid}, mdefault::Real, name::String, help::String) - error("PetscBagRegisterReal: no generated method for these argument types") + throw(MethodError(PetscBagRegisterReal, (petsclib, bag, addr, mdefault, name, help))) end @for_petsc function PetscBagRegisterReal(petsclib::$UnionPetscLib, bag::PetscBag, addr::Ptr{Cvoid}, mdefault::$PetscReal, name::String, help::String ) @@ -491,7 +491,7 @@ See also: `PetscBag`, `PetscBagSetName()`, `PetscBagView()`, `PetscBagLoad()`, ` $(_doc_external("Bag/PetscBagRegisterRealArray")) """ function PetscBagRegisterRealArray(petsclib::PetscLibType, bag::PetscBag, addr::Ptr{Cvoid}, msize::Integer, name::String, help::String) - error("PetscBagRegisterRealArray: no generated method for these argument types") + throw(MethodError(PetscBagRegisterRealArray, (petsclib, bag, addr, msize, name, help))) end @for_petsc function PetscBagRegisterRealArray(petsclib::$UnionPetscLib, bag::PetscBag, addr::Ptr{Cvoid}, msize::$PetscInt, name::String, help::String ) @@ -530,7 +530,7 @@ See also: `PetscBag`, `PetscBagSetName()`, `PetscBagView()`, `PetscBagLoad()`, ` $(_doc_external("Bag/PetscBagRegisterScalar")) """ function PetscBagRegisterScalar(petsclib::PetscLibType, bag::PetscBag, addr::Ptr{Cvoid}, mdefault::Number, name::String, help::String) - error("PetscBagRegisterScalar: no generated method for these argument types") + throw(MethodError(PetscBagRegisterScalar, (petsclib, bag, addr, mdefault, name, help))) end @for_petsc function PetscBagRegisterScalar(petsclib::$UnionPetscLib, bag::PetscBag, addr::Ptr{Cvoid}, mdefault::$PetscScalar, name::String, help::String ) @@ -570,7 +570,7 @@ See also: `PetscBag`, `PetscBagSetName()`, `PetscBagView()`, `PetscBagLoad()`, ` $(_doc_external("Bag/PetscBagRegisterString")) """ function PetscBagRegisterString(petsclib::PetscLibType, bag::PetscBag, addr::Ptr{Cvoid}, msize::Integer, mdefault::String, name::String, help::String) - error("PetscBagRegisterString: no generated method for these argument types") + throw(MethodError(PetscBagRegisterString, (petsclib, bag, addr, msize, mdefault, name, help))) end @for_petsc function PetscBagRegisterString(petsclib::$UnionPetscLib, bag::PetscBag, addr::Ptr{Cvoid}, msize::$PetscInt, mdefault::String, name::String, help::String ) @@ -605,7 +605,7 @@ See also: `PetscBag`, `PetscBagSetName()`, `PetscBagDestroy()`, `PetscBagLoad()` $(_doc_external("Bag/PetscBagSetFromOptions")) """ function PetscBagSetFromOptions(petsclib::PetscLibType, bag::PetscBag) - error("PetscBagSetFromOptions: no generated method for these argument types") + throw(MethodError(PetscBagSetFromOptions, (petsclib, bag))) end @for_petsc function PetscBagSetFromOptions(petsclib::$UnionPetscLib, bag::PetscBag ) @@ -642,7 +642,7 @@ See also: `PetscBag`, `PetscBagGetName()`, `PetscBagView()`, `PetscBagLoad()`, ` $(_doc_external("Bag/PetscBagSetName")) """ function PetscBagSetName(petsclib::PetscLibType, bag::PetscBag, name::String, help::String) - error("PetscBagSetName: no generated method for these argument types") + throw(MethodError(PetscBagSetName, (petsclib, bag, name, help))) end @for_petsc function PetscBagSetName(petsclib::$UnionPetscLib, bag::PetscBag, name::String, help::String ) @@ -678,7 +678,7 @@ See also: `PetscBag`, `PetscBagRegisterReal()`, `PetscBagRegisterInt()`, `PetscB $(_doc_external("Bag/PetscBagSetOptionsPrefix")) """ function PetscBagSetOptionsPrefix(petsclib::PetscLibType, bag::PetscBag, pre::String) - error("PetscBagSetOptionsPrefix: no generated method for these argument types") + throw(MethodError(PetscBagSetOptionsPrefix, (petsclib, bag, pre))) end @for_petsc function PetscBagSetOptionsPrefix(petsclib::$UnionPetscLib, bag::PetscBag, pre::String ) @@ -714,7 +714,7 @@ See also: `PetscBag`, `PetscBagSetName()`, `PetscBagDestroy()`, `PetscBagLoad()` $(_doc_external("Bag/PetscBagView")) """ function PetscBagView(petsclib::PetscLibType, bag::PetscBag, view::PetscViewer) - error("PetscBagView: no generated method for these argument types") + throw(MethodError(PetscBagView, (petsclib, bag, view))) end @for_petsc function PetscBagView(petsclib::$UnionPetscLib, bag::PetscBag, view::PetscViewer ) @@ -752,7 +752,7 @@ See also: `PetscBagCreate()`, `PetscBag`, `PetscViewer`, `PetscBagView()`, `Pets $(_doc_external("Bag/PetscBagViewFromOptions")) """ function PetscBagViewFromOptions(petsclib::PetscLibType, bag::PetscBag, bobj, name::String) - error("PetscBagViewFromOptions: no generated method for these argument types") + throw(MethodError(PetscBagViewFromOptions, (petsclib, bag, bobj, name))) end @for_petsc function PetscBagViewFromOptions(petsclib::$UnionPetscLib, bag::PetscBag, bobj, name::String ) diff --git a/src/autowrapped/PetscBench_wrappers.jl b/src/autowrapped/PetscBench_wrappers.jl index d3b497bb4..a301082be 100644 --- a/src/autowrapped/PetscBench_wrappers.jl +++ b/src/autowrapped/PetscBench_wrappers.jl @@ -19,7 +19,7 @@ See also: `PetscBench`, `PetscBenchSetFromOptions()`, `PetscBenchRun()`, `PetscB $(_doc_external("BM/PetscBenchCreate")) """ function PetscBenchCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("PetscBenchCreate: no generated method for these argument types") + throw(MethodError(PetscBenchCreate, (petsclib, comm))) end @for_petsc function PetscBenchCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -54,7 +54,7 @@ See also: `PetscBench`, `PetscBenchView()`, `PetscBenchSetFromOptions()`, `Petsc $(_doc_external("BM/PetscBenchDestroy")) """ function PetscBenchDestroy(petsclib::PetscLibType, bm::Union{PetscBench, Ref{PetscBench}}) - error("PetscBenchDestroy: no generated method for these argument types") + throw(MethodError(PetscBenchDestroy, (petsclib, bm))) end @for_petsc function PetscBenchDestroy(petsclib::$UnionPetscLib, bm::Union{PetscBench, Ref{PetscBench}} ) @@ -92,7 +92,7 @@ See also: `PetscBench`, `PetscBenchSetFromOptions()`, `PetscBenchRun()`, `PetscB $(_doc_external("BM/PetscBenchGetSize")) """ function PetscBenchGetSize(petsclib::PetscLibType, bm::PetscBench) - error("PetscBenchGetSize: no generated method for these argument types") + throw(MethodError(PetscBenchGetSize, (petsclib, bm))) end @for_petsc function PetscBenchGetSize(petsclib::$UnionPetscLib, bm::PetscBench ) @@ -131,7 +131,7 @@ See also: `PetscBench`, `PetscBenchType`, `PetscBenchSetType()`, `PetscBenchCrea $(_doc_external("BM/PetscBenchGetType")) """ function PetscBenchGetType(petsclib::PetscLibType, bm::PetscBench) - error("PetscBenchGetType: no generated method for these argument types") + throw(MethodError(PetscBenchGetType, (petsclib, bm))) end @for_petsc function PetscBenchGetType(petsclib::$UnionPetscLib, bm::PetscBench ) @@ -161,7 +161,7 @@ See also: `PetscInitialize()`, `PetscBenchCreate()`, `PetscBench`, `PetscBenchTy $(_doc_external("BM/PetscBenchInitializePackage")) """ function PetscBenchInitializePackage(petsclib::PetscLibType) - error("PetscBenchInitializePackage: no generated method for these argument types") + throw(MethodError(PetscBenchInitializePackage, (petsclib, ))) end @for_petsc function PetscBenchInitializePackage(petsclib::$UnionPetscLib) @@ -197,7 +197,7 @@ See also: `PetscBenchInitializePackage()`, `PetscBenchCreate()`, `PetscBench`, ` $(_doc_external("BM/PetscBenchRegister")) """ function PetscBenchRegister(petsclib::PetscLibType, sname::String, fnc::external) - error("PetscBenchRegister: no generated method for these argument types") + throw(MethodError(PetscBenchRegister, (petsclib, sname, fnc))) end @for_petsc function PetscBenchRegister(petsclib::$UnionPetscLib, sname::String, fnc::external ) @@ -230,7 +230,7 @@ See also: `PetscBench`, `PetscBenchView()`, `PetscBenchSetFromOptions()`, `Petsc $(_doc_external("BM/PetscBenchReset")) """ function PetscBenchReset(petsclib::PetscLibType, bm::PetscBench) - error("PetscBenchReset: no generated method for these argument types") + throw(MethodError(PetscBenchReset, (petsclib, bm))) end @for_petsc function PetscBenchReset(petsclib::$UnionPetscLib, bm::PetscBench ) @@ -264,7 +264,7 @@ See also: `PetscBench`, `PetscBenchView()`, `PetscBenchSetFromOptions()`, `Petsc $(_doc_external("BM/PetscBenchRun")) """ function PetscBenchRun(petsclib::PetscLibType, bm::PetscBench) - error("PetscBenchRun: no generated method for these argument types") + throw(MethodError(PetscBenchRun, (petsclib, bm))) end @for_petsc function PetscBenchRun(petsclib::$UnionPetscLib, bm::PetscBench ) @@ -298,7 +298,7 @@ See also: `PetscBench`, `PetscBenchView()`, `PetscBenchRun()`, `PetscBenchCreate $(_doc_external("BM/PetscBenchSetFromOptions")) """ function PetscBenchSetFromOptions(petsclib::PetscLibType, bm::PetscBench) - error("PetscBenchSetFromOptions: no generated method for these argument types") + throw(MethodError(PetscBenchSetFromOptions, (petsclib, bm))) end @for_petsc function PetscBenchSetFromOptions(petsclib::$UnionPetscLib, bm::PetscBench ) @@ -333,7 +333,7 @@ See also: `PetscBench`, `PetscBenchSetFromOptions()`, `PetscBenchRun()`, `PetscB $(_doc_external("BM/PetscBenchSetOptionsPrefix")) """ function PetscBenchSetOptionsPrefix(petsclib::PetscLibType, bm::PetscBench, pre::String) - error("PetscBenchSetOptionsPrefix: no generated method for these argument types") + throw(MethodError(PetscBenchSetOptionsPrefix, (petsclib, bm, pre))) end @for_petsc function PetscBenchSetOptionsPrefix(petsclib::$UnionPetscLib, bm::PetscBench, pre::String ) @@ -368,7 +368,7 @@ See also: `PetscBench`, `PetscBenchSetFromOptions()`, `PetscBenchRun()`, `PetscB $(_doc_external("BM/PetscBenchSetSize")) """ function PetscBenchSetSize(petsclib::PetscLibType, bm::PetscBench, n::Integer) - error("PetscBenchSetSize: no generated method for these argument types") + throw(MethodError(PetscBenchSetSize, (petsclib, bm, n))) end @for_petsc function PetscBenchSetSize(petsclib::$UnionPetscLib, bm::PetscBench, n::$PetscInt ) @@ -406,7 +406,7 @@ See also: `PetscBench`, `PetscBenchSetFromOptions()`, `PetscBenchRun()`, `PetscB $(_doc_external("BM/PetscBenchSetType")) """ function PetscBenchSetType(petsclib::PetscLibType, bm::PetscBench, type::String) - error("PetscBenchSetType: no generated method for these argument types") + throw(MethodError(PetscBenchSetType, (petsclib, bm, type))) end @for_petsc function PetscBenchSetType(petsclib::$UnionPetscLib, bm::PetscBench, type::String ) @@ -440,7 +440,7 @@ See also: `PetscBench`, `PetscBenchView()`, `PetscBenchSetFromOptions()`, `Petsc $(_doc_external("BM/PetscBenchSetUp")) """ function PetscBenchSetUp(petsclib::PetscLibType, bm::PetscBench) - error("PetscBenchSetUp: no generated method for these argument types") + throw(MethodError(PetscBenchSetUp, (petsclib, bm))) end @for_petsc function PetscBenchSetUp(petsclib::$UnionPetscLib, bm::PetscBench ) @@ -475,7 +475,7 @@ See also: `PetscBench`, `PetscBenchSetFromOptions()`, `PetscBenchRun()`, `PetscB $(_doc_external("BM/PetscBenchView")) """ function PetscBenchView(petsclib::PetscLibType, bm::PetscBench, viewer::PetscViewer) - error("PetscBenchView: no generated method for these argument types") + throw(MethodError(PetscBenchView, (petsclib, bm, viewer))) end @for_petsc function PetscBenchView(petsclib::$UnionPetscLib, bm::PetscBench, viewer::PetscViewer ) @@ -514,7 +514,7 @@ See also: `PetscBench`, `PetscBenchSetFromOptions()`, `PetscBenchRun()`, `PetscB $(_doc_external("BM/PetscBenchViewFromOptions")) """ function PetscBenchViewFromOptions(petsclib::PetscLibType, bm::PetscBench, bobj, name::String) - error("PetscBenchViewFromOptions: no generated method for these argument types") + throw(MethodError(PetscBenchViewFromOptions, (petsclib, bm, bobj, name))) end @for_petsc function PetscBenchViewFromOptions(petsclib::$UnionPetscLib, bm::PetscBench, bobj, name::String ) diff --git a/src/autowrapped/PetscContainer_wrappers.jl b/src/autowrapped/PetscContainer_wrappers.jl index be0e86bea..8df17ceeb 100644 --- a/src/autowrapped/PetscContainer_wrappers.jl +++ b/src/autowrapped/PetscContainer_wrappers.jl @@ -19,7 +19,7 @@ See also: `PetscContainerDestroy()`, `PetscContainerSetPointer()`, `PetscContain $(_doc_external("Sys/PetscContainerCreate")) """ function PetscContainerCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("PetscContainerCreate: no generated method for these argument types") + throw(MethodError(PetscContainerCreate, (petsclib, comm))) end @for_petsc function PetscContainerCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -54,7 +54,7 @@ See also: `PetscContainerCreate()`, `PetscContainerSetCtxDestroy()`, `PetscObjec $(_doc_external("Sys/PetscContainerDestroy")) """ function PetscContainerDestroy(petsclib::PetscLibType, obj::Union{PetscContainer, Ref{PetscContainer}}) - error("PetscContainerDestroy: no generated method for these argument types") + throw(MethodError(PetscContainerDestroy, (petsclib, obj))) end @for_petsc function PetscContainerDestroy(petsclib::$UnionPetscLib, obj::Union{PetscContainer, Ref{PetscContainer}} ) @@ -92,7 +92,7 @@ See also: `PetscContainerCreate()`, `PetscContainerDestroy()`, `PetscObject`, $(_doc_external("Sys/PetscContainerGetPointer")) """ function PetscContainerGetPointer(petsclib::PetscLibType, obj::PetscContainer) - error("PetscContainerGetPointer: no generated method for these argument types") + throw(MethodError(PetscContainerGetPointer, (petsclib, obj))) end @for_petsc function PetscContainerGetPointer(petsclib::$UnionPetscLib, obj::PetscContainer ) @@ -129,7 +129,7 @@ See also: `PetscContainerDestroy()`, `PetscContainerUserDestroyDefault()`, `Pets $(_doc_external("Sys/PetscContainerSetCtxDestroy")) """ function PetscContainerSetCtxDestroy(petsclib::PetscLibType, obj::PetscContainer, des::Ptr{Cvoid}) - error("PetscContainerSetCtxDestroy: no generated method for these argument types") + throw(MethodError(PetscContainerSetCtxDestroy, (petsclib, obj, des))) end @for_petsc function PetscContainerSetCtxDestroy(petsclib::$UnionPetscLib, obj::PetscContainer, des::Ptr{Cvoid} ) @@ -164,7 +164,7 @@ See also: `PetscContainerCreate()`, `PetscContainerDestroy()`, `PetscObjectCompo $(_doc_external("Sys/PetscContainerSetPointer")) """ function PetscContainerSetPointer(petsclib::PetscLibType, obj::PetscContainer, ptr::Ptr{Cvoid}) - error("PetscContainerSetPointer: no generated method for these argument types") + throw(MethodError(PetscContainerSetPointer, (petsclib, obj, ptr))) end @for_petsc function PetscContainerSetPointer(petsclib::$UnionPetscLib, obj::PetscContainer, ptr::Ptr{Cvoid} ) diff --git a/src/autowrapped/PetscConvEst_wrappers.jl b/src/autowrapped/PetscConvEst_wrappers.jl index 729f53fb5..da9a44bff 100644 --- a/src/autowrapped/PetscConvEst_wrappers.jl +++ b/src/autowrapped/PetscConvEst_wrappers.jl @@ -21,7 +21,7 @@ See also: `PetscConvEst`, `PetscConvEstComputeInitialGuess()`, `PetscConvEstGetC $(_doc_external("SNES/PetscConvEstComputeError")) """ function PetscConvEstComputeError(petsclib::PetscLibType, ce::PetscConvEst, r::Integer, dm::AbstractPetscDM, u::AbstractPetscVec, errors::AbstractVector{<:Number}) - error("PetscConvEstComputeError: no generated method for these argument types") + throw(MethodError(PetscConvEstComputeError, (petsclib, ce, r, dm, u, errors))) end @for_petsc function PetscConvEstComputeError(petsclib::$UnionPetscLib, ce::PetscConvEst, r::$PetscInt, dm::AbstractPetscDM, u::AbstractPetscVec, errors::Vector{$PetscReal} ) @@ -59,7 +59,7 @@ See also: `PetscConvEst`, `PetscConvEstComputeError()`, `PetscConvEstGetConvRate $(_doc_external("SNES/PetscConvEstComputeInitialGuess")) """ function PetscConvEstComputeInitialGuess(petsclib::PetscLibType, ce::PetscConvEst, r::Integer, dm::AbstractPetscDM, u::AbstractPetscVec) - error("PetscConvEstComputeInitialGuess: no generated method for these argument types") + throw(MethodError(PetscConvEstComputeInitialGuess, (petsclib, ce, r, dm, u))) end @for_petsc function PetscConvEstComputeInitialGuess(petsclib::$UnionPetscLib, ce::PetscConvEst, r::$PetscInt, dm::AbstractPetscDM, u::AbstractPetscVec ) @@ -95,7 +95,7 @@ See also: `PetscConvEst`, `PetscConvEstDestroy()`, `PetscConvEstGetConvRate()`, $(_doc_external("SNES/PetscConvEstCreate")) """ function PetscConvEstCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("PetscConvEstCreate: no generated method for these argument types") + throw(MethodError(PetscConvEstCreate, (petsclib, comm))) end @for_petsc function PetscConvEstCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -130,7 +130,7 @@ See also: `PetscConvEst`, `PetscConvEstCreate()`, `PetscConvEstGetConvRate()` $(_doc_external("SNES/PetscConvEstDestroy")) """ function PetscConvEstDestroy(petsclib::PetscLibType, ce::Union{PetscConvEst, Ref{PetscConvEst}}) - error("PetscConvEstDestroy: no generated method for these argument types") + throw(MethodError(PetscConvEstDestroy, (petsclib, ce))) end @for_petsc function PetscConvEstDestroy(petsclib::$UnionPetscLib, ce::Union{PetscConvEst, Ref{PetscConvEst}} ) @@ -171,7 +171,7 @@ See also: `PetscConvEstSetSolver()`, `PetscConvEstCreate()`, `SNESSolve()`, `TSS $(_doc_external("SNES/PetscConvEstGetConvRate")) """ function PetscConvEstGetConvRate(petsclib::PetscLibType, ce::PetscConvEst, alpha::AbstractVector{<:Number}) - error("PetscConvEstGetConvRate: no generated method for these argument types") + throw(MethodError(PetscConvEstGetConvRate, (petsclib, ce, alpha))) end @for_petsc function PetscConvEstGetConvRate(petsclib::$UnionPetscLib, ce::PetscConvEst, alpha::Vector{$PetscReal} ) @@ -207,7 +207,7 @@ See also: `PetscConvEst`, `PetscConvEstSetSolver()`, `PetscConvEstCreate()`, `Pe $(_doc_external("SNES/PetscConvEstGetSolver")) """ function PetscConvEstGetSolver(petsclib::PetscLibType, ce::PetscConvEst) - error("PetscConvEstGetSolver: no generated method for these argument types") + throw(MethodError(PetscConvEstGetSolver, (petsclib, ce))) end @for_petsc function PetscConvEstGetSolver(petsclib::$UnionPetscLib, ce::PetscConvEst ) @@ -246,7 +246,7 @@ See also: `PetscConvEst`, `PetscConvEstCreate()`, `PetscConvEstGetConvRate()`, ` $(_doc_external("SNES/PetscConvEstMonitorDefault")) """ function PetscConvEstMonitorDefault(petsclib::PetscLibType, ce::PetscConvEst, r::Integer) - error("PetscConvEstMonitorDefault: no generated method for these argument types") + throw(MethodError(PetscConvEstMonitorDefault, (petsclib, ce, r))) end @for_petsc function PetscConvEstMonitorDefault(petsclib::$UnionPetscLib, ce::PetscConvEst, r::$PetscInt ) @@ -284,7 +284,7 @@ See also: `PetscConvEst`, `PetscConvEstGetConvRate()` $(_doc_external("SNES/PetscConvEstRateView")) """ function PetscConvEstRateView(petsclib::PetscLibType, ce::PetscConvEst, alpha::AbstractVector{<:Number}, viewer::PetscViewer) - error("PetscConvEstRateView: no generated method for these argument types") + throw(MethodError(PetscConvEstRateView, (petsclib, ce, alpha, viewer))) end @for_petsc function PetscConvEstRateView(petsclib::$UnionPetscLib, ce::PetscConvEst, alpha::Vector{$PetscReal}, viewer::PetscViewer ) @@ -317,7 +317,7 @@ See also: `PetscConvEst`, `PetscConvEstCreate()`, `PetscConvEstGetConvRate()` $(_doc_external("SNES/PetscConvEstSetFromOptions")) """ function PetscConvEstSetFromOptions(petsclib::PetscLibType, ce::PetscConvEst) - error("PetscConvEstSetFromOptions: no generated method for these argument types") + throw(MethodError(PetscConvEstSetFromOptions, (petsclib, ce))) end @for_petsc function PetscConvEstSetFromOptions(petsclib::$UnionPetscLib, ce::PetscConvEst ) @@ -351,7 +351,7 @@ See also: `PetscConvEst`, `PetscConvEstGetSNES()`, `PetscConvEstCreate()`, `Pets $(_doc_external("SNES/PetscConvEstSetSolver")) """ function PetscConvEstSetSolver(petsclib::PetscLibType, ce::PetscConvEst, solver) - error("PetscConvEstSetSolver: no generated method for these argument types") + throw(MethodError(PetscConvEstSetSolver, (petsclib, ce, solver))) end @for_petsc function PetscConvEstSetSolver(petsclib::$UnionPetscLib, ce::PetscConvEst, solver ) @@ -384,7 +384,7 @@ See also: `PetscConvEst`, `PetscConvEstCreate()`, `PetscConvEstGetConvRate()` $(_doc_external("SNES/PetscConvEstSetUp")) """ function PetscConvEstSetUp(petsclib::PetscLibType, ce::PetscConvEst) - error("PetscConvEstSetUp: no generated method for these argument types") + throw(MethodError(PetscConvEstSetUp, (petsclib, ce))) end @for_petsc function PetscConvEstSetUp(petsclib::$UnionPetscLib, ce::PetscConvEst ) @@ -418,7 +418,7 @@ See also: `PetscConvEst`, `TS`, `PetscConvEstGetConvRate()` $(_doc_external("TS/PetscConvEstUseTS")) """ function PetscConvEstUseTS(petsclib::PetscLibType, ce::PetscConvEst, checkTemporal::PetscBool) - error("PetscConvEstUseTS: no generated method for these argument types") + throw(MethodError(PetscConvEstUseTS, (petsclib, ce, checkTemporal))) end @for_petsc function PetscConvEstUseTS(petsclib::$UnionPetscLib, ce::PetscConvEst, checkTemporal::PetscBool ) @@ -452,7 +452,7 @@ See also: `PetscConvEst`, `PetscViewer`, `PetscConvEstCreate()`, `PetscConvEstGe $(_doc_external("SNES/PetscConvEstView")) """ function PetscConvEstView(petsclib::PetscLibType, ce::PetscConvEst, viewer::PetscViewer) - error("PetscConvEstView: no generated method for these argument types") + throw(MethodError(PetscConvEstView, (petsclib, ce, viewer))) end @for_petsc function PetscConvEstView(petsclib::$UnionPetscLib, ce::PetscConvEst, viewer::PetscViewer ) diff --git a/src/autowrapped/PetscDA_wrappers.jl b/src/autowrapped/PetscDA_wrappers.jl index 60e607e11..d765e4ced 100644 --- a/src/autowrapped/PetscDA_wrappers.jl +++ b/src/autowrapped/PetscDA_wrappers.jl @@ -16,7 +16,7 @@ See also: `PetscDA`, `PetscDASetFromOptions()`, `PetscDASetOptionsPrefix()`, `Pe $(_doc_external("PetscDA/PetscDAAppendOptionsPrefix")) """ function PetscDAAppendOptionsPrefix(petsclib::PetscLibType, das::PetscDA, p::String) - error("PetscDAAppendOptionsPrefix: no generated method for these argument types") + throw(MethodError(PetscDAAppendOptionsPrefix, (petsclib, das, p))) end @for_petsc function PetscDAAppendOptionsPrefix(petsclib::$UnionPetscLib, das::PetscDA, p::String ) @@ -52,7 +52,7 @@ See also: `PetscDADestroy()`, `PetscDASetType()`, `PetscDASetUp()` $(_doc_external("PetscDA/PetscDACreate")) """ function PetscDACreate(petsclib::PetscLibType, comm::MPI_Comm) - error("PetscDACreate: no generated method for these argument types") + throw(MethodError(PetscDACreate, (petsclib, comm))) end @for_petsc function PetscDACreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -87,7 +87,7 @@ See also: `PetscDACreate()` $(_doc_external("PetscDA/PetscDADestroy")) """ function PetscDADestroy(petsclib::PetscLibType, da::Union{PetscDA, Ref{PetscDA}}) - error("PetscDADestroy: no generated method for these argument types") + throw(MethodError(PetscDADestroy, (petsclib, da))) end @for_petsc function PetscDADestroy(petsclib::$UnionPetscLib, da::Union{PetscDA, Ref{PetscDA}} ) @@ -121,7 +121,7 @@ See also: `PetscDA`, `PETSCDAETKF`, `PETSCDALETKF`, `PetscDAEnsembleForecast()`, $(_doc_external("PetscDA/PetscDAEnsembleAnalysis")) """ function PetscDAEnsembleAnalysis(petsclib::PetscLibType, da::PetscDA, observation::AbstractPetscVec, H::AbstractPetscMat) - error("PetscDAEnsembleAnalysis: no generated method for these argument types") + throw(MethodError(PetscDAEnsembleAnalysis, (petsclib, da, observation, H))) end @for_petsc function PetscDAEnsembleAnalysis(petsclib::$UnionPetscLib, da::PetscDA, observation::AbstractPetscVec, H::AbstractPetscMat ) @@ -156,7 +156,7 @@ See also: `PetscDA`, `PETSCDAETKF`, `PETSCDALETKF`, `PetscDAEnsembleTFactor()`, $(_doc_external("PetscDA/PetscDAEnsembleApplySqrtTInverse")) """ function PetscDAEnsembleApplySqrtTInverse(petsclib::PetscLibType, da::PetscDA, U::AbstractPetscMat, Y::AbstractPetscMat) - error("PetscDAEnsembleApplySqrtTInverse: no generated method for these argument types") + throw(MethodError(PetscDAEnsembleApplySqrtTInverse, (petsclib, da, U, Y))) end @for_petsc function PetscDAEnsembleApplySqrtTInverse(petsclib::$UnionPetscLib, da::PetscDA, U::AbstractPetscMat, Y::AbstractPetscMat ) @@ -191,7 +191,7 @@ See also: `PetscDA`, `PETSCDAETKF`, `PETSCDALETKF`, `PetscDAEnsembleTFactor()`, $(_doc_external("PetscDA/PetscDAEnsembleApplyTInverse")) """ function PetscDAEnsembleApplyTInverse(petsclib::PetscLibType, da::PetscDA, sdel::AbstractPetscVec, w::AbstractPetscVec) - error("PetscDAEnsembleApplyTInverse: no generated method for these argument types") + throw(MethodError(PetscDAEnsembleApplyTInverse, (petsclib, da, sdel, w))) end @for_petsc function PetscDAEnsembleApplyTInverse(petsclib::$UnionPetscLib, da::PetscDA, sdel::AbstractPetscVec, w::AbstractPetscVec ) @@ -226,7 +226,7 @@ See also: `PetscDA`, `PETSCDAETKF`, `PETSCDALETKF`, `PetscDAEnsembleComputeMean( $(_doc_external("PetscDA/PetscDAEnsembleComputeAnomalies")) """ function PetscDAEnsembleComputeAnomalies(petsclib::PetscLibType, da::PetscDA, mean_in::AbstractPetscVec) - error("PetscDAEnsembleComputeAnomalies: no generated method for these argument types") + throw(MethodError(PetscDAEnsembleComputeAnomalies, (petsclib, da, mean_in))) end @for_petsc function PetscDAEnsembleComputeAnomalies(petsclib::$UnionPetscLib, da::PetscDA, mean_in::AbstractPetscVec ) @@ -264,7 +264,7 @@ See also: `PetscDA`, `PETSCDAETKF`, `PETSCDALETKF`, `PetscDAEnsembleComputeAnoma $(_doc_external("PetscDA/PetscDAEnsembleComputeMean")) """ function PetscDAEnsembleComputeMean(petsclib::PetscLibType, da::PetscDA, mean::AbstractPetscVec) - error("PetscDAEnsembleComputeMean: no generated method for these argument types") + throw(MethodError(PetscDAEnsembleComputeMean, (petsclib, da, mean))) end @for_petsc function PetscDAEnsembleComputeMean(petsclib::$UnionPetscLib, da::PetscDA, mean::AbstractPetscVec ) @@ -304,7 +304,7 @@ See also: `PetscDA`, `PETSCDAETKF`, `PETSCDALETKF`, `PetscDASetSizes()`, `PetscD $(_doc_external("PetscDA/PetscDAEnsembleComputeNormalizedInnovationMatrix")) """ function PetscDAEnsembleComputeNormalizedInnovationMatrix(petsclib::PetscLibType, Z::AbstractPetscMat, y_mean::AbstractPetscVec, r_inv_sqrt::AbstractPetscVec, m::Integer, scale::Number, S::AbstractPetscMat) - error("PetscDAEnsembleComputeNormalizedInnovationMatrix: no generated method for these argument types") + throw(MethodError(PetscDAEnsembleComputeNormalizedInnovationMatrix, (petsclib, Z, y_mean, r_inv_sqrt, m, scale, S))) end @for_petsc function PetscDAEnsembleComputeNormalizedInnovationMatrix(petsclib::$UnionPetscLib, Z::AbstractPetscMat, y_mean::AbstractPetscVec, r_inv_sqrt::AbstractPetscVec, m::$PetscInt, scale::$PetscScalar, S::AbstractPetscMat ) @@ -339,7 +339,7 @@ See also: `PetscDA`, `PETSCDAETKF`, `PETSCDALETKF`, `PetscDAEnsembleAnalysis()` $(_doc_external("PetscDA/PetscDAEnsembleForecast")) """ function PetscDAEnsembleForecast(petsclib::PetscLibType, da::PetscDA, model::external, ctx::Ptr{Cvoid}) - error("PetscDAEnsembleForecast: no generated method for these argument types") + throw(MethodError(PetscDAEnsembleForecast, (petsclib, da, model, ctx))) end @for_petsc function PetscDAEnsembleForecast(petsclib::$UnionPetscLib, da::PetscDA, model::external, ctx::Ptr{Cvoid} ) @@ -375,7 +375,7 @@ See also: `PetscDA`, `PETSCDAETKF`, `PETSCDALETKF`, `PetscDAEnsembleSetInflation $(_doc_external("PetscDA/PetscDAEnsembleGetInflation")) """ function PetscDAEnsembleGetInflation(petsclib::PetscLibType, da::PetscDA) - error("PetscDAEnsembleGetInflation: no generated method for these argument types") + throw(MethodError(PetscDAEnsembleGetInflation, (petsclib, da))) end @for_petsc function PetscDAEnsembleGetInflation(petsclib::$UnionPetscLib, da::PetscDA ) @@ -414,7 +414,7 @@ See also: `PetscDA`, `PETSCDAETKF`, `PETSCDALETKF`, `PetscDAEnsembleRestoreMembe $(_doc_external("PetscDA/PetscDAEnsembleGetMember")) """ function PetscDAEnsembleGetMember(petsclib::PetscLibType, da::PetscDA, member_idx::Integer) - error("PetscDAEnsembleGetMember: no generated method for these argument types") + throw(MethodError(PetscDAEnsembleGetMember, (petsclib, da, member_idx))) end @for_petsc function PetscDAEnsembleGetMember(petsclib::$UnionPetscLib, da::PetscDA, member_idx::$PetscInt ) @@ -452,7 +452,7 @@ See also: `PetscDA`, `PETSCDAETKF`, `PETSCDALETKF`, `PetscDASetSizes()`, `PetscD $(_doc_external("PetscDA/PetscDAEnsembleGetSize")) """ function PetscDAEnsembleGetSize(petsclib::PetscLibType, da::PetscDA) - error("PetscDAEnsembleGetSize: no generated method for these argument types") + throw(MethodError(PetscDAEnsembleGetSize, (petsclib, da))) end @for_petsc function PetscDAEnsembleGetSize(petsclib::$UnionPetscLib, da::PetscDA ) @@ -490,7 +490,7 @@ See also: `PetscDA`, `PETSCDAETKF`, `PETSCDALETKF`, `PetscDAEnsembleSetSqrtType( $(_doc_external("PetscDA/PetscDAEnsembleGetSqrtType")) """ function PetscDAEnsembleGetSqrtType(petsclib::PetscLibType, da::PetscDA) - error("PetscDAEnsembleGetSqrtType: no generated method for these argument types") + throw(MethodError(PetscDAEnsembleGetSqrtType, (petsclib, da))) end @for_petsc function PetscDAEnsembleGetSqrtType(petsclib::$UnionPetscLib, da::PetscDA ) @@ -526,7 +526,7 @@ See also: `PETSCDAETKF`, `PETSCDALETKF`, `PetscDA` $(_doc_external("PetscDA/PetscDAEnsembleInitialize")) """ function PetscDAEnsembleInitialize(petsclib::PetscLibType, da::PetscDA, x0::AbstractPetscVec, obs_error_std::Real, rng::PetscRandom) - error("PetscDAEnsembleInitialize: no generated method for these argument types") + throw(MethodError(PetscDAEnsembleInitialize, (petsclib, da, x0, obs_error_std, rng))) end @for_petsc function PetscDAEnsembleInitialize(petsclib::$UnionPetscLib, da::PetscDA, x0::AbstractPetscVec, obs_error_std::$PetscReal, rng::PetscRandom ) @@ -561,7 +561,7 @@ See also: `PetscDA`, `PETSCDAETKF`, `PETSCDALETKF`, `PetscDAEnsembleGetMember()` $(_doc_external("PetscDA/PetscDAEnsembleRestoreMember")) """ function PetscDAEnsembleRestoreMember(petsclib::PetscLibType, da::PetscDA, member_idx::Integer, member::AbstractPetscVec) - error("PetscDAEnsembleRestoreMember: no generated method for these argument types") + throw(MethodError(PetscDAEnsembleRestoreMember, (petsclib, da, member_idx, member))) end @for_petsc function PetscDAEnsembleRestoreMember(petsclib::$UnionPetscLib, da::PetscDA, member_idx::$PetscInt, member::AbstractPetscVec ) @@ -597,7 +597,7 @@ See also: `PetscDA`, `PETSCDAETKF`, `PETSCDALETKF`, `PetscDAEnsembleGetInflation $(_doc_external("PetscDA/PetscDAEnsembleSetInflation")) """ function PetscDAEnsembleSetInflation(petsclib::PetscLibType, da::PetscDA, inflation::Real) - error("PetscDAEnsembleSetInflation: no generated method for these argument types") + throw(MethodError(PetscDAEnsembleSetInflation, (petsclib, da, inflation))) end @for_petsc function PetscDAEnsembleSetInflation(petsclib::$UnionPetscLib, da::PetscDA, inflation::$PetscReal ) @@ -632,7 +632,7 @@ See also: `PetscDA`, `PETSCDAETKF`, `PETSCDALETKF`, `PetscDAEnsembleGetMember()` $(_doc_external("PetscDA/PetscDAEnsembleSetMember")) """ function PetscDAEnsembleSetMember(petsclib::PetscLibType, da::PetscDA, member_idx::Integer, member::AbstractPetscVec) - error("PetscDAEnsembleSetMember: no generated method for these argument types") + throw(MethodError(PetscDAEnsembleSetMember, (petsclib, da, member_idx, member))) end @for_petsc function PetscDAEnsembleSetMember(petsclib::$UnionPetscLib, da::PetscDA, member_idx::$PetscInt, member::AbstractPetscVec ) @@ -669,7 +669,7 @@ See also: `PetscDA`, `PETSCDAETKF`, `PETSCDALETKF`, `PetscDAGetSizes()`, `PetscD $(_doc_external("PetscDA/PetscDAEnsembleSetSize")) """ function PetscDAEnsembleSetSize(petsclib::PetscLibType, da::PetscDA, ensemble_size::Integer) - error("PetscDAEnsembleSetSize: no generated method for these argument types") + throw(MethodError(PetscDAEnsembleSetSize, (petsclib, da, ensemble_size))) end @for_petsc function PetscDAEnsembleSetSize(petsclib::$UnionPetscLib, da::PetscDA, ensemble_size::$PetscInt ) @@ -706,7 +706,7 @@ See also: `PetscDA`, `PETSCDAETKF`, `PETSCDALETKF`, `PetscDASqrtType`, `PetscDAE $(_doc_external("PetscDA/PetscDAEnsembleSetSqrtType")) """ function PetscDAEnsembleSetSqrtType(petsclib::PetscLibType, da::PetscDA, type::PetscDASqrtType) - error("PetscDAEnsembleSetSqrtType: no generated method for these argument types") + throw(MethodError(PetscDAEnsembleSetSqrtType, (petsclib, da, type))) end @for_petsc function PetscDAEnsembleSetSqrtType(petsclib::$UnionPetscLib, da::PetscDA, type::PetscDASqrtType ) @@ -738,7 +738,7 @@ See also: `PetscDA`, `PETSCDAETKF`, `PETSCDALETKF`, `PetscDAEnsembleApplyTInvers $(_doc_external("PetscDA/PetscDAEnsembleTFactor")) """ function PetscDAEnsembleTFactor(petsclib::PetscLibType, da::PetscDA, S::AbstractPetscMat) - error("PetscDAEnsembleTFactor: no generated method for these argument types") + throw(MethodError(PetscDAEnsembleTFactor, (petsclib, da, S))) end @for_petsc function PetscDAEnsembleTFactor(petsclib::$UnionPetscLib, da::PetscDA, S::AbstractPetscMat ) @@ -769,7 +769,7 @@ See also: `PetscDAInitializePackage()`, `PetscInitialize()` $(_doc_external("PetscDA/PetscDAFinalizePackage")) """ function PetscDAFinalizePackage(petsclib::PetscLibType) - error("PetscDAFinalizePackage: no generated method for these argument types") + throw(MethodError(PetscDAFinalizePackage, (petsclib, ))) end @for_petsc function PetscDAFinalizePackage(petsclib::$UnionPetscLib) @@ -804,7 +804,7 @@ See also: `PetscDA`, `PetscDASetNDOF()` $(_doc_external("PetscDA/PetscDAGetNDOF")) """ function PetscDAGetNDOF(petsclib::PetscLibType, da::PetscDA) - error("PetscDAGetNDOF: no generated method for these argument types") + throw(MethodError(PetscDAGetNDOF, (petsclib, da))) end @for_petsc function PetscDAGetNDOF(petsclib::$UnionPetscLib, da::PetscDA ) @@ -842,7 +842,7 @@ See also: `PetscDASetObsErrorVariance()` $(_doc_external("PetscDA/PetscDAGetObsErrorVariance")) """ function PetscDAGetObsErrorVariance(petsclib::PetscLibType, da::PetscDA) - error("PetscDAGetObsErrorVariance: no generated method for these argument types") + throw(MethodError(PetscDAGetObsErrorVariance, (petsclib, da))) end @for_petsc function PetscDAGetObsErrorVariance(petsclib::$UnionPetscLib, da::PetscDA ) @@ -881,7 +881,7 @@ See also: `PetscDA`, `PetscDASetFromOptions()`, `PetscDASetOptionsPrefix()`, `Pe $(_doc_external("PetscDA/PetscDAGetOptionsPrefix")) """ function PetscDAGetOptionsPrefix(petsclib::PetscLibType, das::PetscDA) - error("PetscDAGetOptionsPrefix: no generated method for these argument types") + throw(MethodError(PetscDAGetOptionsPrefix, (petsclib, das))) end @for_petsc function PetscDAGetOptionsPrefix(petsclib::$UnionPetscLib, das::PetscDA ) @@ -920,7 +920,7 @@ See also: `PetscDASetSizes()` $(_doc_external("PetscDA/PetscDAGetSizes")) """ function PetscDAGetSizes(petsclib::PetscLibType, da::PetscDA) - error("PetscDAGetSizes: no generated method for these argument types") + throw(MethodError(PetscDAGetSizes, (petsclib, da))) end @for_petsc function PetscDAGetSizes(petsclib::$UnionPetscLib, da::PetscDA ) @@ -960,7 +960,7 @@ See also: `PetscDASetType()` $(_doc_external("PetscDA/PetscDAGetType")) """ function PetscDAGetType(petsclib::PetscLibType, da::PetscDA) - error("PetscDAGetType: no generated method for these argument types") + throw(MethodError(PetscDAGetType, (petsclib, da))) end @for_petsc function PetscDAGetType(petsclib::$UnionPetscLib, da::PetscDA ) @@ -994,7 +994,7 @@ See also: `PetscDAFinalizePackage()`, `PetscInitialize()` $(_doc_external("PetscDA/PetscDAInitializePackage")) """ function PetscDAInitializePackage(petsclib::PetscLibType) - error("PetscDAInitializePackage: no generated method for these argument types") + throw(MethodError(PetscDAInitializePackage, (petsclib, ))) end @for_petsc function PetscDAInitializePackage(petsclib::$UnionPetscLib) @@ -1016,7 +1016,7 @@ end $(_doc_external("PC/PetscDALETKFGetLocalizationMatrix")) """ function PetscDALETKFGetLocalizationMatrix(petsclib::PetscLibType, n_obs_vertex::Integer, n_dof::Integer, Vecxyz::Vector{<:AbstractPetscVec}, bd::AbstractVector{<:Number}, H::AbstractPetscMat, Q::AbstractPetscMat) - error("PetscDALETKFGetLocalizationMatrix: no generated method for these argument types") + throw(MethodError(PetscDALETKFGetLocalizationMatrix, (petsclib, n_obs_vertex, n_dof, Vecxyz, bd, H, Q))) end @for_petsc function PetscDALETKFGetLocalizationMatrix(petsclib::$UnionPetscLib, n_obs_vertex::$PetscInt, n_dof::$PetscInt, Vecxyz::Vector{<:AbstractPetscVec}, bd::Vector{$PetscReal}, H::AbstractPetscMat, Q::AbstractPetscMat ) @@ -1054,7 +1054,7 @@ See also: `PETSCDALETKF`, `PetscDA`, `PetscDALETKFSetObsPerVertex()` $(_doc_external("PetscDA/PetscDALETKFGetObsPerVertex")) """ function PetscDALETKFGetObsPerVertex(petsclib::PetscLibType, da::PetscDA) - error("PetscDALETKFGetObsPerVertex: no generated method for these argument types") + throw(MethodError(PetscDALETKFGetObsPerVertex, (petsclib, da))) end @for_petsc function PetscDALETKFGetObsPerVertex(petsclib::$UnionPetscLib, da::PetscDA ) @@ -1091,7 +1091,7 @@ See also: `PETSCDALETKF`, `PetscDA` $(_doc_external("PetscDA/PetscDALETKFSetLocalization")) """ function PetscDALETKFSetLocalization(petsclib::PetscLibType, da::PetscDA, Q::AbstractPetscMat, H::AbstractPetscMat) - error("PetscDALETKFSetLocalization: no generated method for these argument types") + throw(MethodError(PetscDALETKFSetLocalization, (petsclib, da, Q, H))) end @for_petsc function PetscDALETKFSetLocalization(petsclib::$UnionPetscLib, da::PetscDA, Q::AbstractPetscMat, H::AbstractPetscMat ) @@ -1125,7 +1125,7 @@ See also: `PETSCDALETKF`, `PetscDA`, `PetscDALETKFSetLocalization()` $(_doc_external("PetscDA/PetscDALETKFSetObsPerVertex")) """ function PetscDALETKFSetObsPerVertex(petsclib::PetscLibType, da::PetscDA, n_obs_vertex::Integer) - error("PetscDALETKFSetObsPerVertex: no generated method for these argument types") + throw(MethodError(PetscDALETKFSetObsPerVertex, (petsclib, da, n_obs_vertex))) end @for_petsc function PetscDALETKFSetObsPerVertex(petsclib::$UnionPetscLib, da::PetscDA, n_obs_vertex::$PetscInt ) @@ -1160,7 +1160,7 @@ See also: `PetscDARegisterAll()`, `PetscDASetType()` $(_doc_external("PetscDA/PetscDARegister")) """ function PetscDARegister(petsclib::PetscLibType, sname::String, fnc::external) - error("PetscDARegister: no generated method for these argument types") + throw(MethodError(PetscDARegister, (petsclib, sname, fnc))) end @for_petsc function PetscDARegister(petsclib::$UnionPetscLib, sname::String, fnc::external ) @@ -1190,7 +1190,7 @@ See also: `PetscDARegister()` $(_doc_external("PetscDA/PetscDARegisterAll")) """ function PetscDARegisterAll(petsclib::PetscLibType) - error("PetscDARegisterAll: no generated method for these argument types") + throw(MethodError(PetscDARegisterAll, (petsclib, ))) end @for_petsc function PetscDARegisterAll(petsclib::$UnionPetscLib) @@ -1222,7 +1222,7 @@ See also: `PetscDASetType()`, `PetscObjectOptionsBegin()` $(_doc_external("PetscDA/PetscDASetFromOptions")) """ function PetscDASetFromOptions(petsclib::PetscLibType, da::PetscDA) - error("PetscDASetFromOptions: no generated method for these argument types") + throw(MethodError(PetscDASetFromOptions, (petsclib, da))) end @for_petsc function PetscDASetFromOptions(petsclib::$UnionPetscLib, da::PetscDA ) @@ -1257,7 +1257,7 @@ See also: `PetscDASetSizes()`, `PetscDASetUp()` $(_doc_external("PetscDA/PetscDASetLocalSizes")) """ function PetscDASetLocalSizes(petsclib::PetscLibType, da::PetscDA, local_state_size::Integer, local_obs_size::Integer) - error("PetscDASetLocalSizes: no generated method for these argument types") + throw(MethodError(PetscDASetLocalSizes, (petsclib, da, local_state_size, local_obs_size))) end @for_petsc function PetscDASetLocalSizes(petsclib::$UnionPetscLib, da::PetscDA, local_state_size::$PetscInt, local_obs_size::$PetscInt ) @@ -1291,7 +1291,7 @@ See also: `PetscDA`, `PetscDAGetNDOF()`, `PetscDASetUp()`, `PetscDASetSizes()` $(_doc_external("PetscDA/PetscDASetNDOF")) """ function PetscDASetNDOF(petsclib::PetscLibType, da::PetscDA, ndof::Integer) - error("PetscDASetNDOF: no generated method for these argument types") + throw(MethodError(PetscDASetNDOF, (petsclib, da, ndof))) end @for_petsc function PetscDASetNDOF(petsclib::$UnionPetscLib, da::PetscDA, ndof::$PetscInt ) @@ -1323,7 +1323,7 @@ See also: `PetscDAGetObsErrorVariance()` $(_doc_external("PetscDA/PetscDASetObsErrorVariance")) """ function PetscDASetObsErrorVariance(petsclib::PetscLibType, da::PetscDA, obs_error_var::AbstractPetscVec) - error("PetscDASetObsErrorVariance: no generated method for these argument types") + throw(MethodError(PetscDASetObsErrorVariance, (petsclib, da, obs_error_var))) end @for_petsc function PetscDASetObsErrorVariance(petsclib::$UnionPetscLib, da::PetscDA, obs_error_var::AbstractPetscVec ) @@ -1358,7 +1358,7 @@ See also: `PetscDA`, `PetscDASetFromOptions()`, `PetscDAAppendOptionsPrefix()`, $(_doc_external("PetscDA/PetscDASetOptionsPrefix")) """ function PetscDASetOptionsPrefix(petsclib::PetscLibType, das::PetscDA, p::String) - error("PetscDASetOptionsPrefix: no generated method for these argument types") + throw(MethodError(PetscDASetOptionsPrefix, (petsclib, das, p))) end @for_petsc function PetscDASetOptionsPrefix(petsclib::$UnionPetscLib, das::PetscDA, p::String ) @@ -1393,7 +1393,7 @@ See also: `PetscDAGetSizes()`, `PetscDASetUp()`, `PetscDAEnsembleSetSize()` $(_doc_external("PetscDA/PetscDASetSizes")) """ function PetscDASetSizes(petsclib::PetscLibType, da::PetscDA, state_size::Integer, obs_size::Integer) - error("PetscDASetSizes: no generated method for these argument types") + throw(MethodError(PetscDASetSizes, (petsclib, da, state_size, obs_size))) end @for_petsc function PetscDASetSizes(petsclib::$UnionPetscLib, da::PetscDA, state_size::$PetscInt, obs_size::$PetscInt ) @@ -1427,7 +1427,7 @@ See also: `PetscDAGetType()`, `PetscDARegister()` $(_doc_external("PetscDA/PetscDASetType")) """ function PetscDASetType(petsclib::PetscLibType, da::PetscDA, type::String) - error("PetscDASetType: no generated method for these argument types") + throw(MethodError(PetscDASetType, (petsclib, da, type))) end @for_petsc function PetscDASetType(petsclib::$UnionPetscLib, da::PetscDA, type::String ) @@ -1460,7 +1460,7 @@ See also: `PetscDASetSizes()`, `PetscDASetType()` $(_doc_external("PetscDA/PetscDASetUp")) """ function PetscDASetUp(petsclib::PetscLibType, da::PetscDA) - error("PetscDASetUp: no generated method for these argument types") + throw(MethodError(PetscDASetUp, (petsclib, da))) end @for_petsc function PetscDASetUp(petsclib::$UnionPetscLib, da::PetscDA ) @@ -1494,7 +1494,7 @@ See also: `PetscDAViewFromOptions()` $(_doc_external("PetscDA/PetscDAView")) """ function PetscDAView(petsclib::PetscLibType, da::PetscDA, viewer::PetscViewer) - error("PetscDAView: no generated method for these argument types") + throw(MethodError(PetscDAView, (petsclib, da, viewer))) end @for_petsc function PetscDAView(petsclib::$UnionPetscLib, da::PetscDA, viewer::PetscViewer ) @@ -1532,7 +1532,7 @@ See also: `PetscDAView()`, `PetscObjectViewFromOptions()` $(_doc_external("PetscDA/PetscDAViewFromOptions")) """ function PetscDAViewFromOptions(petsclib::PetscLibType, da::PetscDA, obj, name::String) - error("PetscDAViewFromOptions: no generated method for these argument types") + throw(MethodError(PetscDAViewFromOptions, (petsclib, da, obj, name))) end @for_petsc function PetscDAViewFromOptions(petsclib::$UnionPetscLib, da::PetscDA, obj, name::String ) @@ -1569,7 +1569,7 @@ See also: `PetscDataType`, `PetscDataTypeToMPIDataType()`, `PetscDataTypeGetSize $(_doc_external("Sys/PetscDataTypeFromString")) """ function PetscDataTypeFromString(petsclib::PetscLibType, name::String) - error("PetscDataTypeFromString: no generated method for these argument types") + throw(MethodError(PetscDataTypeFromString, (petsclib, name))) end @for_petsc function PetscDataTypeFromString(petsclib::$UnionPetscLib, name::String ) @@ -1609,7 +1609,7 @@ See also: `PetscDataType`, `PetscDataTypeToMPIDataType()` $(_doc_external("Sys/PetscDataTypeGetSize")) """ function PetscDataTypeGetSize(petsclib::PetscLibType, ptype::PetscDataType) - error("PetscDataTypeGetSize: no generated method for these argument types") + throw(MethodError(PetscDataTypeGetSize, (petsclib, ptype))) end @for_petsc function PetscDataTypeGetSize(petsclib::$UnionPetscLib, ptype::PetscDataType ) @@ -1647,7 +1647,7 @@ See also: `PetscDataType`, `PetscHDF5DataTypeToPetscDataType()` $(_doc_external("Viewer/PetscDataTypeToHDF5DataType")) """ function PetscDataTypeToHDF5DataType(petsclib::PetscLibType, ptype::PetscDataType) - error("PetscDataTypeToHDF5DataType: no generated method for these argument types") + throw(MethodError(PetscDataTypeToHDF5DataType, (petsclib, ptype))) end @for_petsc function PetscDataTypeToHDF5DataType(petsclib::$UnionPetscLib, ptype::PetscDataType ) diff --git a/src/autowrapped/PetscDLLibrary_wrappers.jl b/src/autowrapped/PetscDLLibrary_wrappers.jl index 6b1b061b8..3e14a3297 100644 --- a/src/autowrapped/PetscDLLibrary_wrappers.jl +++ b/src/autowrapped/PetscDLLibrary_wrappers.jl @@ -19,7 +19,7 @@ See also: `PetscDLLibrary`, `PetscDLLibraryOpen()`, `PetscLoadDynamicLibrary()`, $(_doc_external("Sys/PetscDLLibraryAppend")) """ function PetscDLLibraryAppend(petsclib::PetscLibType, comm::MPI_Comm, path::String) - error("PetscDLLibraryAppend: no generated method for these argument types") + throw(MethodError(PetscDLLibraryAppend, (petsclib, comm, path))) end @for_petsc function PetscDLLibraryAppend(petsclib::$UnionPetscLib, comm::MPI_Comm, path::String ) @@ -55,7 +55,7 @@ See also: `PetscDLLibrary`, `PetscDLLibraryOpen()`, `PetscLoadDynamicLibrary()`, $(_doc_external("Sys/PetscDLLibraryClose")) """ function PetscDLLibraryClose(petsclib::PetscLibType, list::PetscDLLibrary) - error("PetscDLLibraryClose: no generated method for these argument types") + throw(MethodError(PetscDLLibraryClose, (petsclib, list))) end @for_petsc function PetscDLLibraryClose(petsclib::$UnionPetscLib, list::PetscDLLibrary ) @@ -92,7 +92,7 @@ See also: `PetscDLLibrary`, `PetscLoadDynamicLibrary()`, `PetscDLLibraryAppend() $(_doc_external("Sys/PetscDLLibraryOpen")) """ function PetscDLLibraryOpen(petsclib::PetscLibType, comm::MPI_Comm, path::String) - error("PetscDLLibraryOpen: no generated method for these argument types") + throw(MethodError(PetscDLLibraryOpen, (petsclib, comm, path))) end @for_petsc function PetscDLLibraryOpen(petsclib::$UnionPetscLib, comm::MPI_Comm, path::String ) @@ -131,7 +131,7 @@ See also: `PetscDLLibrary`, `PetscDLLibraryOpen()`, `PetscLoadDynamicLibrary()`, $(_doc_external("Sys/PetscDLLibraryPrepend")) """ function PetscDLLibraryPrepend(petsclib::PetscLibType, comm::MPI_Comm, path::String) - error("PetscDLLibraryPrepend: no generated method for these argument types") + throw(MethodError(PetscDLLibraryPrepend, (petsclib, comm, path))) end @for_petsc function PetscDLLibraryPrepend(petsclib::$UnionPetscLib, comm::MPI_Comm, path::String ) @@ -166,7 +166,7 @@ See also: `PetscDLLibrary`, `PetscDLLibraryOpen()`, `PetscDLLibrarySym()`, `Pets $(_doc_external("Sys/PetscDLLibraryPrintPath")) """ function PetscDLLibraryPrintPath(petsclib::PetscLibType, libs::PetscDLLibrary) - error("PetscDLLibraryPrintPath: no generated method for these argument types") + throw(MethodError(PetscDLLibraryPrintPath, (petsclib, libs))) end @for_petsc function PetscDLLibraryPrintPath(petsclib::$UnionPetscLib, libs::PetscDLLibrary ) @@ -206,7 +206,7 @@ See also: `PetscFileRetrieve()` $(_doc_external("Sys/PetscDLLibraryRetrieve")) """ function PetscDLLibraryRetrieve(petsclib::PetscLibType, comm::MPI_Comm, libname::String, lname::String, llen::Csize_t) - error("PetscDLLibraryRetrieve: no generated method for these argument types") + throw(MethodError(PetscDLLibraryRetrieve, (petsclib, comm, libname, lname, llen))) end @for_petsc function PetscDLLibraryRetrieve(petsclib::$UnionPetscLib, comm::MPI_Comm, libname::String, lname::String, llen::Csize_t ) @@ -247,7 +247,7 @@ See also: `PetscDLLibrary`, `PetscLoadDynamicLibrary()`, `PetscDLLibraryAppend() $(_doc_external("Sys/PetscDLLibrarySym")) """ function PetscDLLibrarySym(petsclib::PetscLibType, comm::MPI_Comm, outlist::PetscDLLibrary, path::String, insymbol::String) - error("PetscDLLibrarySym: no generated method for these argument types") + throw(MethodError(PetscDLLibrarySym, (petsclib, comm, outlist, path, insymbol))) end @for_petsc function PetscDLLibrarySym(petsclib::$UnionPetscLib, comm::MPI_Comm, outlist::PetscDLLibrary, path::String, insymbol::String ) diff --git a/src/autowrapped/PetscDS_wrappers.jl b/src/autowrapped/PetscDS_wrappers.jl index f66dba59a..8207c6079 100644 --- a/src/autowrapped/PetscDS_wrappers.jl +++ b/src/autowrapped/PetscDS_wrappers.jl @@ -33,7 +33,7 @@ See also: `PetscDS`, `PetscWeakForm`, `DMLabel`, `DMBoundaryConditionType`, `Pet $(_doc_external("DT/PetscDSAddBoundary")) """ function PetscDSAddBoundary(petsclib::PetscLibType, ds::PetscDS, type::DMBoundaryConditionType, name::String, label::DMLabel, Nv::Integer, values::AbstractVector{<:Number}, field::Integer, Nc::Integer, comps::AbstractVector{<:Number}, bcFunc::Ptr{Cvoid}, bcFunc_t::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("PetscDSAddBoundary: no generated method for these argument types") + throw(MethodError(PetscDSAddBoundary, (petsclib, ds, type, name, label, Nv, values, field, Nc, comps, bcFunc, bcFunc_t, ctx))) end @for_petsc function PetscDSAddBoundary(petsclib::$UnionPetscLib, ds::PetscDS, type::DMBoundaryConditionType, name::String, label::DMLabel, Nv::$PetscInt, values::Vector{$PetscInt}, field::$PetscInt, Nc::$PetscInt, comps::Vector{$PetscInt}, bcFunc::Ptr{Cvoid}, bcFunc_t::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -116,7 +116,7 @@ See also: `PetscDS`, `PetscWeakForm`, `DMLabel`, `DMBoundaryConditionType`, `Pet $(_doc_external("DT/PetscDSAddBoundaryByName")) """ function PetscDSAddBoundaryByName(petsclib::PetscLibType, ds::PetscDS, type::DMBoundaryConditionType, name::String, lname::String, Nv::Integer, values::AbstractVector{<:Number}, field::Integer, Nc::Integer, comps::AbstractVector{<:Number}, bcFunc::Ptr{Cvoid}, bcFunc_t::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("PetscDSAddBoundaryByName: no generated method for these argument types") + throw(MethodError(PetscDSAddBoundaryByName, (petsclib, ds, type, name, lname, Nv, values, field, Nc, comps, bcFunc, bcFunc_t, ctx))) end @for_petsc function PetscDSAddBoundaryByName(petsclib::$UnionPetscLib, ds::PetscDS, type::DMBoundaryConditionType, name::String, lname::String, Nv::$PetscInt, values::Vector{$PetscInt}, field::$PetscInt, Nc::$PetscInt, comps::Vector{$PetscInt}, bcFunc::Ptr{Cvoid}, bcFunc_t::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -152,7 +152,7 @@ See also: `PetscWeakForm`, `PetscFE`, `PetscFV`, `PetscDSGetDiscretization()`, ` $(_doc_external("DT/PetscDSAddDiscretization")) """ function PetscDSAddDiscretization(petsclib::PetscLibType, prob::PetscDS, disc) - error("PetscDSAddDiscretization: no generated method for these argument types") + throw(MethodError(PetscDSAddDiscretization, (petsclib, prob, disc))) end @for_petsc function PetscDSAddDiscretization(petsclib::$UnionPetscLib, prob::PetscDS, disc ) @@ -191,7 +191,7 @@ See also: `PetscDS`, `PetscDSCopyEquations()`, `PetscDSCopyConstants()`, `PetscD $(_doc_external("DT/PetscDSCopy")) """ function PetscDSCopy(petsclib::PetscLibType, ds::PetscDS, minDegree::Integer, maxDegree::Integer, dmNew::AbstractPetscDM, dsNew::PetscDS) - error("PetscDSCopy: no generated method for these argument types") + throw(MethodError(PetscDSCopy, (petsclib, ds, minDegree, maxDegree, dmNew, dsNew))) end @for_petsc function PetscDSCopy(petsclib::$UnionPetscLib, ds::PetscDS, minDegree::$PetscInt, maxDegree::$PetscInt, dmNew::AbstractPetscDM, dsNew::PetscDS ) @@ -229,7 +229,7 @@ See also: `PetscDS`, `DMBoundary`, `PetscDSCopyEquations()`, `PetscDSSetResidual $(_doc_external("DT/PetscDSCopyBoundary")) """ function PetscDSCopyBoundary(petsclib::PetscLibType, ds::PetscDS, numFields::Integer, fields::AbstractVector{<:Number}, newds::PetscDS) - error("PetscDSCopyBoundary: no generated method for these argument types") + throw(MethodError(PetscDSCopyBoundary, (petsclib, ds, numFields, fields, newds))) end @for_petsc function PetscDSCopyBoundary(petsclib::$UnionPetscLib, ds::PetscDS, numFields::$PetscInt, fields::Vector{$PetscInt}, newds::PetscDS ) @@ -265,7 +265,7 @@ See also: `PetscDS`, `PetscDSCopyBoundary()`, `PetscDSCopyEquations()`, `PetscDS $(_doc_external("DT/PetscDSCopyBounds")) """ function PetscDSCopyBounds(petsclib::PetscLibType, ds::PetscDS, newds::PetscDS) - error("PetscDSCopyBounds: no generated method for these argument types") + throw(MethodError(PetscDSCopyBounds, (petsclib, ds, newds))) end @for_petsc function PetscDSCopyBounds(petsclib::$UnionPetscLib, ds::PetscDS, newds::PetscDS ) @@ -301,7 +301,7 @@ See also: `PetscDS`, `PetscDSCopyBoundary()`, `PetscDSCopyEquations()`, `PetscDS $(_doc_external("DT/PetscDSCopyConstants")) """ function PetscDSCopyConstants(petsclib::PetscLibType, prob::PetscDS, newprob::PetscDS) - error("PetscDSCopyConstants: no generated method for these argument types") + throw(MethodError(PetscDSCopyConstants, (petsclib, prob, newprob))) end @for_petsc function PetscDSCopyConstants(petsclib::$UnionPetscLib, prob::PetscDS, newprob::PetscDS ) @@ -337,7 +337,7 @@ See also: `PetscDS`, `PetscDSCopyBoundary()`, `PetscDSSetResidual()`, `PetscDSSe $(_doc_external("DT/PetscDSCopyEquations")) """ function PetscDSCopyEquations(petsclib::PetscLibType, prob::PetscDS, newprob::PetscDS) - error("PetscDSCopyEquations: no generated method for these argument types") + throw(MethodError(PetscDSCopyEquations, (petsclib, prob, newprob))) end @for_petsc function PetscDSCopyEquations(petsclib::$UnionPetscLib, prob::PetscDS, newprob::PetscDS ) @@ -373,7 +373,7 @@ See also: `PetscDS`, `PetscDSCopyBoundary()`, `PetscDSCopyEquations()`, `PetscDS $(_doc_external("DT/PetscDSCopyExactSolutions")) """ function PetscDSCopyExactSolutions(petsclib::PetscLibType, ds::PetscDS, newds::PetscDS) - error("PetscDSCopyExactSolutions: no generated method for these argument types") + throw(MethodError(PetscDSCopyExactSolutions, (petsclib, ds, newds))) end @for_petsc function PetscDSCopyExactSolutions(petsclib::$UnionPetscLib, ds::PetscDS, newds::PetscDS ) @@ -409,7 +409,7 @@ See also: `PetscDS`, `PetscDSSetType()`, `PETSCDSBASIC`, `PetscDSType`, `PetscDS $(_doc_external("DT/PetscDSCreate")) """ function PetscDSCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("PetscDSCreate: no generated method for these argument types") + throw(MethodError(PetscDSCreate, (petsclib, comm))) end @for_petsc function PetscDSCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -444,7 +444,7 @@ See also: `PetscDSView()` $(_doc_external("DT/PetscDSDestroy")) """ function PetscDSDestroy(petsclib::PetscLibType, ds::Union{PetscDS, Ref{PetscDS}}) - error("PetscDSDestroy: no generated method for these argument types") + throw(MethodError(PetscDSDestroy, (petsclib, ds))) end @for_petsc function PetscDSDestroy(petsclib::$UnionPetscLib, ds::Union{PetscDS, Ref{PetscDS}} ) @@ -478,7 +478,7 @@ See also: `PetscDS`, `DMBoundary`, `PetscDSCopyBoundary()`, `PetscDSCopyEquation $(_doc_external("DT/PetscDSDestroyBoundary")) """ function PetscDSDestroyBoundary(petsclib::PetscLibType, ds::PetscDS) - error("PetscDSDestroyBoundary: no generated method for these argument types") + throw(MethodError(PetscDSDestroyBoundary, (petsclib, ds))) end @for_petsc function PetscDSDestroyBoundary(petsclib::$UnionPetscLib, ds::PetscDS ) @@ -507,7 +507,7 @@ See also: `PetscInitialize()` $(_doc_external("DM/PetscDSFinalizePackage")) """ function PetscDSFinalizePackage(petsclib::PetscLibType) - error("PetscDSFinalizePackage: no generated method for these argument types") + throw(MethodError(PetscDSFinalizePackage, (petsclib, ))) end @for_petsc function PetscDSFinalizePackage(petsclib::$UnionPetscLib) @@ -547,7 +547,7 @@ See also: `PetscDS`, `PetscBdPointJacFn`, `PetscDSSetBdJacobian()` $(_doc_external("DT/PetscDSGetBdJacobian")) """ function PetscDSGetBdJacobian(petsclib::PetscLibType, ds::PetscDS, f::Integer, g::Integer) - error("PetscDSGetBdJacobian: no generated method for these argument types") + throw(MethodError(PetscDSGetBdJacobian, (petsclib, ds, f, g))) end @for_petsc function PetscDSGetBdJacobian(petsclib::$UnionPetscLib, ds::PetscDS, f::$PetscInt, g::$PetscInt ) @@ -597,7 +597,7 @@ See also: `PetscDS`, `PetscBdPointJacFn`, `PetscDSSetBdJacobianPreconditioner()` $(_doc_external("DT/PetscDSGetBdJacobianPreconditioner")) """ function PetscDSGetBdJacobianPreconditioner(petsclib::PetscLibType, ds::PetscDS, f::Integer, g::Integer) - error("PetscDSGetBdJacobianPreconditioner: no generated method for these argument types") + throw(MethodError(PetscDSGetBdJacobianPreconditioner, (petsclib, ds, f, g))) end @for_petsc function PetscDSGetBdJacobianPreconditioner(petsclib::$UnionPetscLib, ds::PetscDS, f::$PetscInt, g::$PetscInt ) @@ -643,7 +643,7 @@ See also: `PetscDS`, `PetscBdPointFn`, `PetscDSSetBdResidual()` $(_doc_external("DT/PetscDSGetBdResidual")) """ function PetscDSGetBdResidual(petsclib::PetscLibType, ds::PetscDS, f::Integer) - error("PetscDSGetBdResidual: no generated method for these argument types") + throw(MethodError(PetscDSGetBdResidual, (petsclib, ds, f))) end @for_petsc function PetscDSGetBdResidual(petsclib::$UnionPetscLib, ds::PetscDS, f::$PetscInt ) @@ -757,7 +757,7 @@ See also: `PetscDS`, `PetscDSSetCohesive()`, `PetscDSIsCohesive()`, `PetscDSCrea $(_doc_external("DT/PetscDSGetCohesive")) """ function PetscDSGetCohesive(petsclib::PetscLibType, ds::PetscDS, f::Integer) - error("PetscDSGetCohesive: no generated method for these argument types") + throw(MethodError(PetscDSGetCohesive, (petsclib, ds, f))) end @for_petsc function PetscDSGetCohesive(petsclib::$UnionPetscLib, ds::PetscDS, f::$PetscInt ) @@ -795,7 +795,7 @@ See also: `PetscDS`, `PetscDSGetNumFields()`, `PetscDSCreate()` $(_doc_external("DT/PetscDSGetComponentDerivativeOffsets")) """ function PetscDSGetComponentDerivativeOffsets(petsclib::PetscLibType, prob::PetscDS) - error("PetscDSGetComponentDerivativeOffsets: no generated method for these argument types") + throw(MethodError(PetscDSGetComponentDerivativeOffsets, (petsclib, prob))) end @for_petsc function PetscDSGetComponentDerivativeOffsets(petsclib::$UnionPetscLib, prob::PetscDS ) @@ -835,7 +835,7 @@ See also: `PetscDS`, `PetscDSGetNumFields()`, `PetscDSCreate()` $(_doc_external("DT/PetscDSGetComponentDerivativeOffsetsCohesive")) """ function PetscDSGetComponentDerivativeOffsetsCohesive(petsclib::PetscLibType, ds::PetscDS, s::Integer) - error("PetscDSGetComponentDerivativeOffsetsCohesive: no generated method for these argument types") + throw(MethodError(PetscDSGetComponentDerivativeOffsetsCohesive, (petsclib, ds, s))) end @for_petsc function PetscDSGetComponentDerivativeOffsetsCohesive(petsclib::$UnionPetscLib, ds::PetscDS, s::$PetscInt ) @@ -875,7 +875,7 @@ See also: `PetscDS`, `PetscDSGetNumFields()`, `PetscDSCreate()` $(_doc_external("DT/PetscDSGetComponentOffset")) """ function PetscDSGetComponentOffset(petsclib::PetscLibType, prob::PetscDS, f::Integer) - error("PetscDSGetComponentOffset: no generated method for these argument types") + throw(MethodError(PetscDSGetComponentOffset, (petsclib, prob, f))) end @for_petsc function PetscDSGetComponentOffset(petsclib::$UnionPetscLib, prob::PetscDS, f::$PetscInt ) @@ -913,7 +913,7 @@ See also: `PetscDS`, `PetscDSGetNumFields()`, `PetscDSCreate()` $(_doc_external("DT/PetscDSGetComponentOffsets")) """ function PetscDSGetComponentOffsets(petsclib::PetscLibType, prob::PetscDS) - error("PetscDSGetComponentOffsets: no generated method for these argument types") + throw(MethodError(PetscDSGetComponentOffsets, (petsclib, prob))) end @for_petsc function PetscDSGetComponentOffsets(petsclib::$UnionPetscLib, prob::PetscDS ) @@ -953,7 +953,7 @@ See also: `PetscDS`, `PetscDSGetNumFields()`, `PetscDSCreate()` $(_doc_external("DT/PetscDSGetComponentOffsetsCohesive")) """ function PetscDSGetComponentOffsetsCohesive(petsclib::PetscLibType, ds::PetscDS, s::Integer) - error("PetscDSGetComponentOffsetsCohesive: no generated method for these argument types") + throw(MethodError(PetscDSGetComponentOffsetsCohesive, (petsclib, ds, s))) end @for_petsc function PetscDSGetComponentOffsetsCohesive(petsclib::$UnionPetscLib, ds::PetscDS, s::$PetscInt ) @@ -992,7 +992,7 @@ See also: `PetscDS`, `PetscDSGetComponentOffsets()`, `PetscDSGetNumFields()`, `P $(_doc_external("DT/PetscDSGetComponents")) """ function PetscDSGetComponents(petsclib::PetscLibType, prob::PetscDS) - error("PetscDSGetComponents: no generated method for these argument types") + throw(MethodError(PetscDSGetComponents, (petsclib, prob))) end @for_petsc function PetscDSGetComponents(petsclib::$UnionPetscLib, prob::PetscDS ) @@ -1032,7 +1032,7 @@ See also: `PetscDS`, `PetscDSSetConstants()`, `PetscDSCreate()` $(_doc_external("DT/PetscDSGetConstants")) """ function PetscDSGetConstants(petsclib::PetscLibType, ds::PetscDS) - error("PetscDSGetConstants: no generated method for these argument types") + throw(MethodError(PetscDSGetConstants, (petsclib, ds))) end @for_petsc function PetscDSGetConstants(petsclib::$UnionPetscLib, ds::PetscDS ) @@ -1071,7 +1071,7 @@ See also: `PetscDS`, `PetscPointFn`, `PetscDSSetContext()` $(_doc_external("DT/PetscDSGetContext")) """ function PetscDSGetContext(petsclib::PetscLibType, ds::PetscDS, f::Integer, ctx::Ptr{Cvoid}) - error("PetscDSGetContext: no generated method for these argument types") + throw(MethodError(PetscDSGetContext, (petsclib, ds, f, ctx))) end @for_petsc function PetscDSGetContext(petsclib::$UnionPetscLib, ds::PetscDS, f::$PetscInt, ctx::Ptr{Cvoid} ) @@ -1107,7 +1107,7 @@ See also: `PetscDS`, `PetscDSSetCoordinateDimension()`, `PetscDSGetSpatialDimens $(_doc_external("DT/PetscDSGetCoordinateDimension")) """ function PetscDSGetCoordinateDimension(petsclib::PetscLibType, prob::PetscDS) - error("PetscDSGetCoordinateDimension: no generated method for these argument types") + throw(MethodError(PetscDSGetCoordinateDimension, (petsclib, prob))) end @for_petsc function PetscDSGetCoordinateDimension(petsclib::$UnionPetscLib, prob::PetscDS ) @@ -1145,7 +1145,7 @@ See also: `PetscDS`, `PetscDSGetComponentOffsets()`, `PetscDSGetNumFields()`, `P $(_doc_external("DT/PetscDSGetDimensions")) """ function PetscDSGetDimensions(petsclib::PetscLibType, prob::PetscDS) - error("PetscDSGetDimensions: no generated method for these argument types") + throw(MethodError(PetscDSGetDimensions, (petsclib, prob))) end @for_petsc function PetscDSGetDimensions(petsclib::$UnionPetscLib, prob::PetscDS ) @@ -1185,7 +1185,7 @@ See also: `PetscDS`, `PetscFE`, `PetscFV`, `PetscDSSetDiscretization()`, `PetscD $(_doc_external("DT/PetscDSGetDiscretization")) """ function PetscDSGetDiscretization(petsclib::PetscLibType, prob::PetscDS, f::Integer) - error("PetscDSGetDiscretization: no generated method for these argument types") + throw(MethodError(PetscDSGetDiscretization, (petsclib, prob, f))) end @for_petsc function PetscDSGetDiscretization(petsclib::$UnionPetscLib, prob::PetscDS, f::$PetscInt ) @@ -1228,7 +1228,7 @@ See also: `PetscDS`, `PetscDSSetJacobian()`, `PetscDSSetDynamicJacobian()`, `Pet $(_doc_external("DT/PetscDSGetDynamicJacobian")) """ function PetscDSGetDynamicJacobian(petsclib::PetscLibType, ds::PetscDS, f::Integer, g::Integer) - error("PetscDSGetDynamicJacobian: no generated method for these argument types") + throw(MethodError(PetscDSGetDynamicJacobian, (petsclib, ds, f, g))) end @for_petsc function PetscDSGetDynamicJacobian(petsclib::$UnionPetscLib, ds::PetscDS, f::$PetscInt, g::$PetscInt ) @@ -1274,7 +1274,7 @@ See also: `PetscDS`, `PetscDSGetWeakFormArrays()`, `PetscDSGetWorkspace()` $(_doc_external("DT/PetscDSGetEvaluationArrays")) """ function PetscDSGetEvaluationArrays(petsclib::PetscLibType, prob::PetscDS) - error("PetscDSGetEvaluationArrays: no generated method for these argument types") + throw(MethodError(PetscDSGetEvaluationArrays, (petsclib, prob))) end @for_petsc function PetscDSGetEvaluationArrays(petsclib::$UnionPetscLib, prob::PetscDS ) @@ -1318,7 +1318,7 @@ See also: `PetscDS`, `PetscPointExactSolutionFn`, `PetscDSSetExactSolution()`, ` $(_doc_external("DT/PetscDSGetExactSolution")) """ function PetscDSGetExactSolution(petsclib::PetscLibType, prob::PetscDS, f::Integer) - error("PetscDSGetExactSolution: no generated method for these argument types") + throw(MethodError(PetscDSGetExactSolution, (petsclib, prob, f))) end @for_petsc function PetscDSGetExactSolution(petsclib::$UnionPetscLib, prob::PetscDS, f::$PetscInt ) @@ -1360,7 +1360,7 @@ See also: `PetscDS`, `PetscPointExactSolutionFn`, `PetscDSSetExactSolutionTimeDe $(_doc_external("DT/PetscDSGetExactSolutionTimeDerivative")) """ function PetscDSGetExactSolutionTimeDerivative(petsclib::PetscLibType, prob::PetscDS, f::Integer) - error("PetscDSGetExactSolutionTimeDerivative: no generated method for these argument types") + throw(MethodError(PetscDSGetExactSolutionTimeDerivative, (petsclib, prob, f))) end @for_petsc function PetscDSGetExactSolutionTimeDerivative(petsclib::$UnionPetscLib, prob::PetscDS, f::$PetscInt ) @@ -1400,7 +1400,7 @@ See also: `PetscTabulation`, `PetscDS`, `PetscDSGetTabulation()`, `PetscDSCreate $(_doc_external("DT/PetscDSGetFaceTabulation")) """ function PetscDSGetFaceTabulation(petsclib::PetscLibType, prob::PetscDS) - error("PetscDSGetFaceTabulation: no generated method for these argument types") + throw(MethodError(PetscDSGetFaceTabulation, (petsclib, prob))) end @for_petsc function PetscDSGetFaceTabulation(petsclib::$UnionPetscLib, prob::PetscDS ) @@ -1439,7 +1439,7 @@ See also: `PetscDS`, `PetscGetDiscretization()`, `PetscDSGetNumFields()`, `Petsc $(_doc_external("DT/PetscDSGetFieldIndex")) """ function PetscDSGetFieldIndex(petsclib::PetscLibType, prob::PetscDS, disc) - error("PetscDSGetFieldIndex: no generated method for these argument types") + throw(MethodError(PetscDSGetFieldIndex, (petsclib, prob, disc))) end @for_petsc function PetscDSGetFieldIndex(petsclib::$UnionPetscLib, prob::PetscDS, disc ) @@ -1478,7 +1478,7 @@ See also: `PetscDS`, `PetscDSGetFieldSize()`, `PetscDSGetNumFields()`, `PetscDSC $(_doc_external("DT/PetscDSGetFieldOffset")) """ function PetscDSGetFieldOffset(petsclib::PetscLibType, prob::PetscDS, f::Integer) - error("PetscDSGetFieldOffset: no generated method for these argument types") + throw(MethodError(PetscDSGetFieldOffset, (petsclib, prob, f))) end @for_petsc function PetscDSGetFieldOffset(petsclib::$UnionPetscLib, prob::PetscDS, f::$PetscInt ) @@ -1517,7 +1517,7 @@ See also: `PetscDS`, `PetscDSGetFieldSize()`, `PetscDSGetNumFields()`, `PetscDSC $(_doc_external("DT/PetscDSGetFieldOffsetCohesive")) """ function PetscDSGetFieldOffsetCohesive(petsclib::PetscLibType, ds::PetscDS, f::Integer) - error("PetscDSGetFieldOffsetCohesive: no generated method for these argument types") + throw(MethodError(PetscDSGetFieldOffsetCohesive, (petsclib, ds, f))) end @for_petsc function PetscDSGetFieldOffsetCohesive(petsclib::$UnionPetscLib, ds::PetscDS, f::$PetscInt ) @@ -1556,7 +1556,7 @@ See also: `PetscDS`, `PetscDSGetFieldOffset()`, `PetscDSGetNumFields()`, `PetscD $(_doc_external("DT/PetscDSGetFieldSize")) """ function PetscDSGetFieldSize(petsclib::PetscLibType, prob::PetscDS, f::Integer) - error("PetscDSGetFieldSize: no generated method for these argument types") + throw(MethodError(PetscDSGetFieldSize, (petsclib, prob, f))) end @for_petsc function PetscDSGetFieldSize(petsclib::$UnionPetscLib, prob::PetscDS, f::$PetscInt ) @@ -1594,7 +1594,7 @@ See also: `PetscDS`, `PetscDSSetForceQuad()`, `PetscDSGetDiscretization()`, `Pet $(_doc_external("DT/PetscDSGetForceQuad")) """ function PetscDSGetForceQuad(petsclib::PetscLibType, ds::PetscDS) - error("PetscDSGetForceQuad: no generated method for these argument types") + throw(MethodError(PetscDSGetForceQuad, (petsclib, ds))) end @for_petsc function PetscDSGetForceQuad(petsclib::$UnionPetscLib, ds::PetscDS ) @@ -1633,7 +1633,7 @@ See also: `PetscDS`, `PetscFE`, `PetscFEGetHeightSubspace()`, `PetscDSGetSpatial $(_doc_external("DT/PetscDSGetHeightSubspace")) """ function PetscDSGetHeightSubspace(petsclib::PetscLibType, prob::PetscDS, height::Integer) - error("PetscDSGetHeightSubspace: no generated method for these argument types") + throw(MethodError(PetscDSGetHeightSubspace, (petsclib, prob, height))) end @for_petsc function PetscDSGetHeightSubspace(petsclib::$UnionPetscLib, prob::PetscDS, height::$PetscInt ) @@ -1672,7 +1672,7 @@ See also: `TSARKIMEX`, `PetscDS`, `PetscDSSetImplicit()`, `PetscDSSetDiscretizat $(_doc_external("DT/PetscDSGetImplicit")) """ function PetscDSGetImplicit(petsclib::PetscLibType, prob::PetscDS, f::Integer) - error("PetscDSGetImplicit: no generated method for these argument types") + throw(MethodError(PetscDSGetImplicit, (petsclib, prob, f))) end @for_petsc function PetscDSGetImplicit(petsclib::$UnionPetscLib, prob::PetscDS, f::$PetscInt ) @@ -1715,7 +1715,7 @@ See also: `PetscDS`, `PetscDSSetJacobian()`, `PetscPointJacFn` $(_doc_external("DT/PetscDSGetJacobian")) """ function PetscDSGetJacobian(petsclib::PetscLibType, ds::PetscDS, f::Integer, g::Integer) - error("PetscDSGetJacobian: no generated method for these argument types") + throw(MethodError(PetscDSGetJacobian, (petsclib, ds, f, g))) end @for_petsc function PetscDSGetJacobian(petsclib::$UnionPetscLib, ds::PetscDS, f::$PetscInt, g::$PetscInt ) @@ -1765,7 +1765,7 @@ See also: `PetscDS`, `PetscDSSetJacobianPreconditioner()`, `PetscDSGetJacobian() $(_doc_external("DT/PetscDSGetJacobianPreconditioner")) """ function PetscDSGetJacobianPreconditioner(petsclib::PetscLibType, ds::PetscDS, f::Integer, g::Integer) - error("PetscDSGetJacobianPreconditioner: no generated method for these argument types") + throw(MethodError(PetscDSGetJacobianPreconditioner, (petsclib, ds, f, g))) end @for_petsc function PetscDSGetJacobianPreconditioner(petsclib::$UnionPetscLib, ds::PetscDS, f::$PetscInt, g::$PetscInt ) @@ -1810,7 +1810,7 @@ See also: `PetscDS`, `PetscDSSetJetDegree()`, `PetscDSSetDiscretization()`, `Pet $(_doc_external("DT/PetscDSGetJetDegree")) """ function PetscDSGetJetDegree(petsclib::PetscLibType, ds::PetscDS, f::Integer) - error("PetscDSGetJetDegree: no generated method for these argument types") + throw(MethodError(PetscDSGetJetDegree, (petsclib, ds, f))) end @for_petsc function PetscDSGetJetDegree(petsclib::$UnionPetscLib, ds::PetscDS, f::$PetscInt ) @@ -1850,7 +1850,7 @@ See also: `PetscDS`, `PetscPointBoundFn`, `PetscDSSetLowerBound()`, `PetscDSGetU $(_doc_external("DT/PetscDSGetLowerBound")) """ function PetscDSGetLowerBound(petsclib::PetscLibType, ds::PetscDS, f::Integer) - error("PetscDSGetLowerBound: no generated method for these argument types") + throw(MethodError(PetscDSGetLowerBound, (petsclib, ds, f))) end @for_petsc function PetscDSGetLowerBound(petsclib::$UnionPetscLib, ds::PetscDS, f::$PetscInt ) @@ -1888,7 +1888,7 @@ See also: `PetscDS`, `PetscDSAddBoundary()`, `PetscDSGetBoundary()` $(_doc_external("DT/PetscDSGetNumBoundary")) """ function PetscDSGetNumBoundary(petsclib::PetscLibType, ds::PetscDS) - error("PetscDSGetNumBoundary: no generated method for these argument types") + throw(MethodError(PetscDSGetNumBoundary, (petsclib, ds))) end @for_petsc function PetscDSGetNumBoundary(petsclib::$UnionPetscLib, ds::PetscDS ) @@ -1926,7 +1926,7 @@ See also: `PetscDS`, `PetscDSSetCohesive()`, `PetscDSCreate()` $(_doc_external("DT/PetscDSGetNumCohesive")) """ function PetscDSGetNumCohesive(petsclib::PetscLibType, ds::PetscDS) - error("PetscDSGetNumCohesive: no generated method for these argument types") + throw(MethodError(PetscDSGetNumCohesive, (petsclib, ds))) end @for_petsc function PetscDSGetNumCohesive(petsclib::$UnionPetscLib, ds::PetscDS ) @@ -1964,7 +1964,7 @@ See also: `PetscDS`, `PetscDSGetSpatialDimension()`, `PetscDSCreate()` $(_doc_external("DT/PetscDSGetNumFields")) """ function PetscDSGetNumFields(petsclib::PetscLibType, prob::PetscDS) - error("PetscDSGetNumFields: no generated method for these argument types") + throw(MethodError(PetscDSGetNumFields, (petsclib, prob))) end @for_petsc function PetscDSGetNumFields(petsclib::$UnionPetscLib, prob::PetscDS ) @@ -2003,7 +2003,7 @@ See also: `PetscPointFn`, `PetscDS`, `PetscDSSetObjective()`, `PetscDSGetResidua $(_doc_external("DT/PetscDSGetObjective")) """ function PetscDSGetObjective(petsclib::PetscLibType, ds::PetscDS, f::Integer) - error("PetscDSGetObjective: no generated method for these argument types") + throw(MethodError(PetscDSGetObjective, (petsclib, ds, f))) end @for_petsc function PetscDSGetObjective(petsclib::$UnionPetscLib, ds::PetscDS, f::$PetscInt ) @@ -2041,7 +2041,7 @@ See also: `PetscDS`, `PetscQuadrature`, `PetscDSSetImplicit()`, `PetscDSSetDiscr $(_doc_external("DT/PetscDSGetQuadrature")) """ function PetscDSGetQuadrature(petsclib::PetscLibType, prob::PetscDS) - error("PetscDSGetQuadrature: no generated method for these argument types") + throw(MethodError(PetscDSGetQuadrature, (petsclib, prob))) end @for_petsc function PetscDSGetQuadrature(petsclib::$UnionPetscLib, prob::PetscDS ) @@ -2081,7 +2081,7 @@ See also: `PetscPointFn`, `PetscDS`, `PetscDSSetRHSResidual()` $(_doc_external("DT/PetscDSGetRHSResidual")) """ function PetscDSGetRHSResidual(petsclib::PetscLibType, ds::PetscDS, f::Integer) - error("PetscDSGetRHSResidual: no generated method for these argument types") + throw(MethodError(PetscDSGetRHSResidual, (petsclib, ds, f))) end @for_petsc function PetscDSGetRHSResidual(petsclib::$UnionPetscLib, ds::PetscDS, f::$PetscInt ) @@ -2123,7 +2123,7 @@ See also: `PetscPointFn`, `PetscDS`, `PetscDSSetResidual()` $(_doc_external("DT/PetscDSGetResidual")) """ function PetscDSGetResidual(petsclib::PetscLibType, ds::PetscDS, f::Integer) - error("PetscDSGetResidual: no generated method for these argument types") + throw(MethodError(PetscDSGetResidual, (petsclib, ds, f))) end @for_petsc function PetscDSGetResidual(petsclib::$UnionPetscLib, ds::PetscDS, f::$PetscInt ) @@ -2164,7 +2164,7 @@ See also: `PetscDS`, `PetscRiemannFn`, `PetscDSSetRiemannSolver()` $(_doc_external("DT/PetscDSGetRiemannSolver")) """ function PetscDSGetRiemannSolver(petsclib::PetscLibType, ds::PetscDS, f::Integer) - error("PetscDSGetRiemannSolver: no generated method for these argument types") + throw(MethodError(PetscDSGetRiemannSolver, (petsclib, ds, f))) end @for_petsc function PetscDSGetRiemannSolver(petsclib::$UnionPetscLib, ds::PetscDS, f::$PetscInt ) @@ -2202,7 +2202,7 @@ See also: `PetscDS`, `PetscDSGetCoordinateDimension()`, `PetscDSGetNumFields()`, $(_doc_external("DT/PetscDSGetSpatialDimension")) """ function PetscDSGetSpatialDimension(petsclib::PetscLibType, prob::PetscDS) - error("PetscDSGetSpatialDimension: no generated method for these argument types") + throw(MethodError(PetscDSGetSpatialDimension, (petsclib, prob))) end @for_petsc function PetscDSGetSpatialDimension(petsclib::$UnionPetscLib, prob::PetscDS ) @@ -2240,7 +2240,7 @@ See also: `PetscDS`, `PetscTabulation`, `PetscDSCreate()` $(_doc_external("DT/PetscDSGetTabulation")) """ function PetscDSGetTabulation(petsclib::PetscLibType, prob::PetscDS) - error("PetscDSGetTabulation: no generated method for these argument types") + throw(MethodError(PetscDSGetTabulation, (petsclib, prob))) end @for_petsc function PetscDSGetTabulation(petsclib::$UnionPetscLib, prob::PetscDS ) @@ -2278,7 +2278,7 @@ See also: `PetscDS`, `PetscDSGetNumFields()`, `PetscDSCreate()` $(_doc_external("DT/PetscDSGetTotalComponents")) """ function PetscDSGetTotalComponents(petsclib::PetscLibType, prob::PetscDS) - error("PetscDSGetTotalComponents: no generated method for these argument types") + throw(MethodError(PetscDSGetTotalComponents, (petsclib, prob))) end @for_petsc function PetscDSGetTotalComponents(petsclib::$UnionPetscLib, prob::PetscDS ) @@ -2316,7 +2316,7 @@ See also: `PetscDS`, `PetscDSGetNumFields()`, `PetscDSCreate()` $(_doc_external("DT/PetscDSGetTotalDimension")) """ function PetscDSGetTotalDimension(petsclib::PetscLibType, prob::PetscDS) - error("PetscDSGetTotalDimension: no generated method for these argument types") + throw(MethodError(PetscDSGetTotalDimension, (petsclib, prob))) end @for_petsc function PetscDSGetTotalDimension(petsclib::$UnionPetscLib, prob::PetscDS ) @@ -2354,7 +2354,7 @@ See also: `PetscDSType`, `PetscDS`, `PetscDSSetType()`, `PetscDSCreate()` $(_doc_external("DT/PetscDSGetType")) """ function PetscDSGetType(petsclib::PetscLibType, prob::PetscDS) - error("PetscDSGetType: no generated method for these argument types") + throw(MethodError(PetscDSGetType, (petsclib, prob))) end @for_petsc function PetscDSGetType(petsclib::$UnionPetscLib, prob::PetscDS ) @@ -2393,7 +2393,7 @@ See also: `PetscDS`, `PetscPointFn`, `PetscDSSetUpdate()`, `PetscDSSetResidual() $(_doc_external("DT/PetscDSGetUpdate")) """ function PetscDSGetUpdate(petsclib::PetscLibType, ds::PetscDS, f::Integer) - error("PetscDSGetUpdate: no generated method for these argument types") + throw(MethodError(PetscDSGetUpdate, (petsclib, ds, f))) end @for_petsc function PetscDSGetUpdate(petsclib::$UnionPetscLib, ds::PetscDS, f::$PetscInt ) @@ -2433,7 +2433,7 @@ See also: `PetscDS`, `PetscPointBoundFn`, `PetscDSSetUpperBound()`, `PetscDSGetL $(_doc_external("DT/PetscDSGetUpperBound")) """ function PetscDSGetUpperBound(petsclib::PetscLibType, ds::PetscDS, f::Integer) - error("PetscDSGetUpperBound: no generated method for these argument types") + throw(MethodError(PetscDSGetUpperBound, (petsclib, ds, f))) end @for_petsc function PetscDSGetUpperBound(petsclib::$UnionPetscLib, ds::PetscDS, f::$PetscInt ) @@ -2473,7 +2473,7 @@ See also: `PetscWeakForm`, `PetscDSSetWeakForm()`, `PetscDSGetNumFields()`, `Pet $(_doc_external("DT/PetscDSGetWeakForm")) """ function PetscDSGetWeakForm(petsclib::PetscLibType, ds::PetscDS) - error("PetscDSGetWeakForm: no generated method for these argument types") + throw(MethodError(PetscDSGetWeakForm, (petsclib, ds))) end @for_petsc function PetscDSGetWeakForm(petsclib::$UnionPetscLib, ds::PetscDS ) @@ -2498,7 +2498,7 @@ end $(_doc_external("DT/PetscDSGetWeakFormArrays")) """ function PetscDSGetWeakFormArrays(petsclib::PetscLibType, prob::PetscDS) - error("PetscDSGetWeakFormArrays: no generated method for these argument types") + throw(MethodError(PetscDSGetWeakFormArrays, (petsclib, prob))) end @for_petsc function PetscDSGetWeakFormArrays(petsclib::$UnionPetscLib, prob::PetscDS ) @@ -2550,7 +2550,7 @@ See also: `PetscDS`, `PetscDSGetEvaluationArrays()`, `PetscDSGetWeakFormArrays() $(_doc_external("DT/PetscDSGetWorkspace")) """ function PetscDSGetWorkspace(petsclib::PetscLibType, prob::PetscDS) - error("PetscDSGetWorkspace: no generated method for these argument types") + throw(MethodError(PetscDSGetWorkspace, (petsclib, prob))) end @for_petsc function PetscDSGetWorkspace(petsclib::$UnionPetscLib, prob::PetscDS ) @@ -2596,7 +2596,7 @@ See also: `PetscDS`, `PetscDSHasJacobian()`, `PetscDSSetBdJacobian()`, `PetscDSG $(_doc_external("DT/PetscDSHasBdJacobian")) """ function PetscDSHasBdJacobian(petsclib::PetscLibType, ds::PetscDS) - error("PetscDSHasBdJacobian: no generated method for these argument types") + throw(MethodError(PetscDSHasBdJacobian, (petsclib, ds))) end @for_petsc function PetscDSHasBdJacobian(petsclib::$UnionPetscLib, ds::PetscDS ) @@ -2634,7 +2634,7 @@ See also: `PetscDS`, `PetscDSHasJacobian()`, `PetscDSSetBdJacobian()`, `PetscDSG $(_doc_external("DT/PetscDSHasBdJacobianPreconditioner")) """ function PetscDSHasBdJacobianPreconditioner(petsclib::PetscLibType, ds::PetscDS) - error("PetscDSHasBdJacobianPreconditioner: no generated method for these argument types") + throw(MethodError(PetscDSHasBdJacobianPreconditioner, (petsclib, ds))) end @for_petsc function PetscDSHasBdJacobianPreconditioner(petsclib::$UnionPetscLib, ds::PetscDS ) @@ -2672,7 +2672,7 @@ See also: `PetscDS`, `PetscDSGetDynamicJacobian()`, `PetscDSSetDynamicJacobian() $(_doc_external("DT/PetscDSHasDynamicJacobian")) """ function PetscDSHasDynamicJacobian(petsclib::PetscLibType, ds::PetscDS) - error("PetscDSHasDynamicJacobian: no generated method for these argument types") + throw(MethodError(PetscDSHasDynamicJacobian, (petsclib, ds))) end @for_petsc function PetscDSHasDynamicJacobian(petsclib::$UnionPetscLib, ds::PetscDS ) @@ -2710,7 +2710,7 @@ See also: `PetscDS`, `PetscDSGetJacobianPreconditioner()`, `PetscDSSetJacobianPr $(_doc_external("DT/PetscDSHasJacobian")) """ function PetscDSHasJacobian(petsclib::PetscLibType, ds::PetscDS) - error("PetscDSHasJacobian: no generated method for these argument types") + throw(MethodError(PetscDSHasJacobian, (petsclib, ds))) end @for_petsc function PetscDSHasJacobian(petsclib::$UnionPetscLib, ds::PetscDS ) @@ -2748,7 +2748,7 @@ See also: `PetscDS`, `PetscDSGetJacobianPreconditioner()`, `PetscDSSetJacobianPr $(_doc_external("DT/PetscDSHasJacobianPreconditioner")) """ function PetscDSHasJacobianPreconditioner(petsclib::PetscLibType, ds::PetscDS) - error("PetscDSHasJacobianPreconditioner: no generated method for these argument types") + throw(MethodError(PetscDSHasJacobianPreconditioner, (petsclib, ds))) end @for_petsc function PetscDSHasJacobianPreconditioner(petsclib::$UnionPetscLib, ds::PetscDS ) @@ -2780,7 +2780,7 @@ See also: `PetscInitialize()` $(_doc_external("DM/PetscDSInitializePackage")) """ function PetscDSInitializePackage(petsclib::PetscLibType) - error("PetscDSInitializePackage: no generated method for these argument types") + throw(MethodError(PetscDSInitializePackage, (petsclib, ))) end @for_petsc function PetscDSInitializePackage(petsclib::$UnionPetscLib) @@ -2815,7 +2815,7 @@ See also: `PetscDS`, `PetscDSGetNumCohesive()`, `PetscDSGetCohesive()`, `PetscDS $(_doc_external("DT/PetscDSIsCohesive")) """ function PetscDSIsCohesive(petsclib::PetscLibType, ds::PetscDS) - error("PetscDSIsCohesive: no generated method for these argument types") + throw(MethodError(PetscDSIsCohesive, (petsclib, ds))) end @for_petsc function PetscDSIsCohesive(petsclib::$UnionPetscLib, ds::PetscDS ) @@ -2856,7 +2856,7 @@ See also: `PetscDS`, `PetscQuadrature`, `PetscQuadratureComputePermutations()`, $(_doc_external("DT/PetscDSPermuteQuadPoint")) """ function PetscDSPermuteQuadPoint(petsclib::PetscLibType, ds::PetscDS, ornt::Integer, field::Integer, q::Integer) - error("PetscDSPermuteQuadPoint: no generated method for these argument types") + throw(MethodError(PetscDSPermuteQuadPoint, (petsclib, ds, ornt, field, q))) end @for_petsc function PetscDSPermuteQuadPoint(petsclib::$UnionPetscLib, ds::PetscDS, ornt::$PetscInt, field::$PetscInt, q::$PetscInt ) @@ -2890,7 +2890,7 @@ See also: `PetscDSType`, `PetscDS`, `PetscDSRegisterAll()`, `PetscDSRegisterDest $(_doc_external("DT/PetscDSRegister")) """ function PetscDSRegister(petsclib::PetscLibType, sname::String, fnc::external) - error("PetscDSRegister: no generated method for these argument types") + throw(MethodError(PetscDSRegister, (petsclib, sname, fnc))) end @for_petsc function PetscDSRegister(petsclib::$UnionPetscLib, sname::String, fnc::external ) @@ -2930,7 +2930,7 @@ See also: `PetscDS`, `PetscDSSelectEquations()`, `PetscDSCopyBoundary()`, `Petsc $(_doc_external("DT/PetscDSSelectDiscretizations")) """ function PetscDSSelectDiscretizations(petsclib::PetscLibType, prob::PetscDS, numFields::Integer, fields::AbstractVector{<:Number}, minDegree::Integer, maxDegree::Integer, newprob::PetscDS) - error("PetscDSSelectDiscretizations: no generated method for these argument types") + throw(MethodError(PetscDSSelectDiscretizations, (petsclib, prob, numFields, fields, minDegree, maxDegree, newprob))) end @for_petsc function PetscDSSelectDiscretizations(petsclib::$UnionPetscLib, prob::PetscDS, numFields::$PetscInt, fields::Vector{$PetscInt}, minDegree::$PetscInt, maxDegree::$PetscInt, newprob::PetscDS ) @@ -2968,7 +2968,7 @@ See also: `PetscDS`, `PetscDSSelectDiscretizations()`, `PetscDSCopyBoundary()`, $(_doc_external("DT/PetscDSSelectEquations")) """ function PetscDSSelectEquations(petsclib::PetscLibType, prob::PetscDS, numFields::Integer, fields::AbstractVector{<:Number}, newprob::PetscDS) - error("PetscDSSelectEquations: no generated method for these argument types") + throw(MethodError(PetscDSSelectEquations, (petsclib, prob, numFields, fields, newprob))) end @for_petsc function PetscDSSelectEquations(petsclib::$UnionPetscLib, prob::PetscDS, numFields::$PetscInt, fields::Vector{$PetscInt}, newprob::PetscDS ) @@ -3007,7 +3007,7 @@ See also: `PetscDS`, `PetscBdPointJacFn`, `PetscDSGetBdJacobian()` $(_doc_external("DT/PetscDSSetBdJacobian")) """ function PetscDSSetBdJacobian(petsclib::PetscLibType, ds::PetscDS, f::Integer, g::Integer, g0::Ptr{Cvoid}, g1::Ptr{Cvoid}, g2::Ptr{Cvoid}, g3::Ptr{Cvoid}) - error("PetscDSSetBdJacobian: no generated method for these argument types") + throw(MethodError(PetscDSSetBdJacobian, (petsclib, ds, f, g, g0, g1, g2, g3))) end @for_petsc function PetscDSSetBdJacobian(petsclib::$UnionPetscLib, ds::PetscDS, f::$PetscInt, g::$PetscInt, g0::Ptr{Cvoid}, g1::Ptr{Cvoid}, g2::Ptr{Cvoid}, g3::Ptr{Cvoid} ) @@ -3047,7 +3047,7 @@ See also: `PetscDS`, `PetscBdPointJacFn`, `PetscDSGetBdJacobianPreconditioner()` $(_doc_external("DT/PetscDSSetBdJacobianPreconditioner")) """ function PetscDSSetBdJacobianPreconditioner(petsclib::PetscLibType, ds::PetscDS, f::Integer, g::Integer, g0::Ptr{Cvoid}, g1::Ptr{Cvoid}, g2::Ptr{Cvoid}, g3::Ptr{Cvoid}) - error("PetscDSSetBdJacobianPreconditioner: no generated method for these argument types") + throw(MethodError(PetscDSSetBdJacobianPreconditioner, (petsclib, ds, f, g, g0, g1, g2, g3))) end @for_petsc function PetscDSSetBdJacobianPreconditioner(petsclib::$UnionPetscLib, ds::PetscDS, f::$PetscInt, g::$PetscInt, g0::Ptr{Cvoid}, g1::Ptr{Cvoid}, g2::Ptr{Cvoid}, g3::Ptr{Cvoid} ) @@ -3083,7 +3083,7 @@ See also: `PetscDS`, `PetscBdPointFn`, `PetscDSGetBdResidual()` $(_doc_external("DT/PetscDSSetBdResidual")) """ function PetscDSSetBdResidual(petsclib::PetscLibType, ds::PetscDS, f::Integer, f0::Ptr{Cvoid}, f1::Ptr{Cvoid}) - error("PetscDSSetBdResidual: no generated method for these argument types") + throw(MethodError(PetscDSSetBdResidual, (petsclib, ds, f, f0, f1))) end @for_petsc function PetscDSSetBdResidual(petsclib::$UnionPetscLib, ds::PetscDS, f::$PetscInt, f0::Ptr{Cvoid}, f1::Ptr{Cvoid} ) @@ -3117,7 +3117,7 @@ See also: `PetscDS`, `PetscDSSetConstants()`, `PetscDSGetConstants()`, `PetscDSC $(_doc_external("DT/PetscDSSetCellParameters")) """ function PetscDSSetCellParameters(petsclib::PetscLibType, ds::PetscDS, volume::Real) - error("PetscDSSetCellParameters: no generated method for these argument types") + throw(MethodError(PetscDSSetCellParameters, (petsclib, ds, volume))) end @for_petsc function PetscDSSetCellParameters(petsclib::$UnionPetscLib, ds::PetscDS, volume::$PetscReal ) @@ -3152,7 +3152,7 @@ See also: `PetscDS`, `PetscDSGetCohesive()`, `PetscDSIsCohesive()`, `PetscDSCrea $(_doc_external("DT/PetscDSSetCohesive")) """ function PetscDSSetCohesive(petsclib::PetscLibType, ds::PetscDS, f::Integer, isCohesive::PetscBool) - error("PetscDSSetCohesive: no generated method for these argument types") + throw(MethodError(PetscDSSetCohesive, (petsclib, ds, f, isCohesive))) end @for_petsc function PetscDSSetCohesive(petsclib::$UnionPetscLib, ds::PetscDS, f::$PetscInt, isCohesive::PetscBool ) @@ -3187,7 +3187,7 @@ See also: `PetscDS`, `PetscDSGetConstants()`, `PetscDSCreate()` $(_doc_external("DT/PetscDSSetConstants")) """ function PetscDSSetConstants(petsclib::PetscLibType, ds::PetscDS, numConstants::Integer, constants::AbstractVector{<:Number}) - error("PetscDSSetConstants: no generated method for these argument types") + throw(MethodError(PetscDSSetConstants, (petsclib, ds, numConstants, constants))) end @for_petsc function PetscDSSetConstants(petsclib::$UnionPetscLib, ds::PetscDS, numConstants::$PetscInt, constants::Vector{$PetscScalar} ) @@ -3222,7 +3222,7 @@ See also: `PetscDS`, `PetscPointFn`, `PetscDSGetContext()` $(_doc_external("DT/PetscDSSetContext")) """ function PetscDSSetContext(petsclib::PetscLibType, ds::PetscDS, f::Integer, ctx::Ptr{Cvoid}) - error("PetscDSSetContext: no generated method for these argument types") + throw(MethodError(PetscDSSetContext, (petsclib, ds, f, ctx))) end @for_petsc function PetscDSSetContext(petsclib::$UnionPetscLib, ds::PetscDS, f::$PetscInt, ctx::Ptr{Cvoid} ) @@ -3256,7 +3256,7 @@ See also: `PetscDS`, `PetscDSGetCoordinateDimension()`, `PetscDSGetSpatialDimens $(_doc_external("DT/PetscDSSetCoordinateDimension")) """ function PetscDSSetCoordinateDimension(petsclib::PetscLibType, prob::PetscDS, dimEmbed::Integer) - error("PetscDSSetCoordinateDimension: no generated method for these argument types") + throw(MethodError(PetscDSSetCoordinateDimension, (petsclib, prob, dimEmbed))) end @for_petsc function PetscDSSetCoordinateDimension(petsclib::$UnionPetscLib, prob::PetscDS, dimEmbed::$PetscInt ) @@ -3291,7 +3291,7 @@ See also: `PetscDS`, `PetscFE`, `PetscFV`, `PetscDSGetDiscretization()`, `PetscD $(_doc_external("DT/PetscDSSetDiscretization")) """ function PetscDSSetDiscretization(petsclib::PetscLibType, prob::PetscDS, f::Integer, disc) - error("PetscDSSetDiscretization: no generated method for these argument types") + throw(MethodError(PetscDSSetDiscretization, (petsclib, prob, f, disc))) end @for_petsc function PetscDSSetDiscretization(petsclib::$UnionPetscLib, prob::PetscDS, f::$PetscInt, disc ) @@ -3330,7 +3330,7 @@ See also: `PetscDS`, `PetscDSGetDynamicJacobian()`, `PetscDSGetJacobian()`, `Pet $(_doc_external("DT/PetscDSSetDynamicJacobian")) """ function PetscDSSetDynamicJacobian(petsclib::PetscLibType, ds::PetscDS, f::Integer, g::Integer, g0::Ptr{Cvoid}, g1::Ptr{Cvoid}, g2::Ptr{Cvoid}, g3::Ptr{Cvoid}) - error("PetscDSSetDynamicJacobian: no generated method for these argument types") + throw(MethodError(PetscDSSetDynamicJacobian, (petsclib, ds, f, g, g0, g1, g2, g3))) end @for_petsc function PetscDSSetDynamicJacobian(petsclib::$UnionPetscLib, ds::PetscDS, f::$PetscInt, g::$PetscInt, g0::Ptr{Cvoid}, g1::Ptr{Cvoid}, g2::Ptr{Cvoid}, g3::Ptr{Cvoid} ) @@ -3366,7 +3366,7 @@ See also: `PetscDS`, `PetscPointExactSolutionFn`, `PetscDSGetExactSolution()` $(_doc_external("DT/PetscDSSetExactSolution")) """ function PetscDSSetExactSolution(petsclib::PetscLibType, prob::PetscDS, f::Integer, sol::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("PetscDSSetExactSolution: no generated method for these argument types") + throw(MethodError(PetscDSSetExactSolution, (petsclib, prob, f, sol, ctx))) end @for_petsc function PetscDSSetExactSolution(petsclib::$UnionPetscLib, prob::PetscDS, f::$PetscInt, sol::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -3402,7 +3402,7 @@ See also: `PetscDS`, `PetscPointExactSolutionFn`, `PetscDSGetExactSolutionTimeDe $(_doc_external("DT/PetscDSSetExactSolutionTimeDerivative")) """ function PetscDSSetExactSolutionTimeDerivative(petsclib::PetscLibType, prob::PetscDS, f::Integer, sol::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("PetscDSSetExactSolutionTimeDerivative: no generated method for these argument types") + throw(MethodError(PetscDSSetExactSolutionTimeDerivative, (petsclib, prob, f, sol, ctx))) end @for_petsc function PetscDSSetExactSolutionTimeDerivative(petsclib::$UnionPetscLib, prob::PetscDS, f::$PetscInt, sol::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -3436,7 +3436,7 @@ See also: `PetscDS`, `PetscDSGetForceQuad()`, `PetscDSGetDiscretization()`, `Pet $(_doc_external("DT/PetscDSSetForceQuad")) """ function PetscDSSetForceQuad(petsclib::PetscLibType, ds::PetscDS, forceQuad::PetscBool) - error("PetscDSSetForceQuad: no generated method for these argument types") + throw(MethodError(PetscDSSetForceQuad, (petsclib, ds, forceQuad))) end @for_petsc function PetscDSSetForceQuad(petsclib::$UnionPetscLib, ds::PetscDS, forceQuad::PetscBool ) @@ -3476,7 +3476,7 @@ See also: `PetscDS`, `PetscDSView()` $(_doc_external("DT/PetscDSSetFromOptions")) """ function PetscDSSetFromOptions(petsclib::PetscLibType, prob::PetscDS) - error("PetscDSSetFromOptions: no generated method for these argument types") + throw(MethodError(PetscDSSetFromOptions, (petsclib, prob))) end @for_petsc function PetscDSSetFromOptions(petsclib::$UnionPetscLib, prob::PetscDS ) @@ -3511,7 +3511,7 @@ See also: `TSARKIMEX`, `PetscDSGetImplicit()`, `PetscDSSetDiscretization()`, `Pe $(_doc_external("DT/PetscDSSetImplicit")) """ function PetscDSSetImplicit(petsclib::PetscLibType, prob::PetscDS, f::Integer, implicit::PetscBool) - error("PetscDSSetImplicit: no generated method for these argument types") + throw(MethodError(PetscDSSetImplicit, (petsclib, prob, f, implicit))) end @for_petsc function PetscDSSetImplicit(petsclib::$UnionPetscLib, prob::PetscDS, f::$PetscInt, implicit::PetscBool ) @@ -3546,7 +3546,7 @@ See also: `PetscDS`, `PetscDSSetConstants()`, `PetscDSGetConstants()`, `PetscDSC $(_doc_external("DT/PetscDSSetIntegrationParameters")) """ function PetscDSSetIntegrationParameters(petsclib::PetscLibType, ds::PetscDS, fieldI::Integer, fieldJ::Integer) - error("PetscDSSetIntegrationParameters: no generated method for these argument types") + throw(MethodError(PetscDSSetIntegrationParameters, (petsclib, ds, fieldI, fieldJ))) end @for_petsc function PetscDSSetIntegrationParameters(petsclib::$UnionPetscLib, ds::PetscDS, fieldI::$PetscInt, fieldJ::$PetscInt ) @@ -3585,7 +3585,7 @@ See also: `PetscDS`, `PetscDSGetJacobian()`, `PetscPointJacFn` $(_doc_external("DT/PetscDSSetJacobian")) """ function PetscDSSetJacobian(petsclib::PetscLibType, ds::PetscDS, f::Integer, g::Integer, g0::Ptr{Cvoid}, g1::Ptr{Cvoid}, g2::Ptr{Cvoid}, g3::Ptr{Cvoid}) - error("PetscDSSetJacobian: no generated method for these argument types") + throw(MethodError(PetscDSSetJacobian, (petsclib, ds, f, g, g0, g1, g2, g3))) end @for_petsc function PetscDSSetJacobian(petsclib::$UnionPetscLib, ds::PetscDS, f::$PetscInt, g::$PetscInt, g0::Ptr{Cvoid}, g1::Ptr{Cvoid}, g2::Ptr{Cvoid}, g3::Ptr{Cvoid} ) @@ -3625,7 +3625,7 @@ See also: `PetscDS`, `PetscDSGetJacobianPreconditioner()`, `PetscDSSetJacobian() $(_doc_external("DT/PetscDSSetJacobianPreconditioner")) """ function PetscDSSetJacobianPreconditioner(petsclib::PetscLibType, ds::PetscDS, f::Integer, g::Integer, g0::Ptr{Cvoid}, g1::Ptr{Cvoid}, g2::Ptr{Cvoid}, g3::Ptr{Cvoid}) - error("PetscDSSetJacobianPreconditioner: no generated method for these argument types") + throw(MethodError(PetscDSSetJacobianPreconditioner, (petsclib, ds, f, g, g0, g1, g2, g3))) end @for_petsc function PetscDSSetJacobianPreconditioner(petsclib::$UnionPetscLib, ds::PetscDS, f::$PetscInt, g::$PetscInt, g0::Ptr{Cvoid}, g1::Ptr{Cvoid}, g2::Ptr{Cvoid}, g3::Ptr{Cvoid} ) @@ -3660,7 +3660,7 @@ See also: `PetscDS`, `PetscDSGetJetDegree()`, `PetscDSSetDiscretization()`, `Pet $(_doc_external("DT/PetscDSSetJetDegree")) """ function PetscDSSetJetDegree(petsclib::PetscLibType, ds::PetscDS, f::Integer, k::Integer) - error("PetscDSSetJetDegree: no generated method for these argument types") + throw(MethodError(PetscDSSetJetDegree, (petsclib, ds, f, k))) end @for_petsc function PetscDSSetJetDegree(petsclib::$UnionPetscLib, ds::PetscDS, f::$PetscInt, k::$PetscInt ) @@ -3696,7 +3696,7 @@ See also: `PetscDS`, `PetscPointBoundFn`, `PetscDSGetLowerBound()`, `PetscDSGetU $(_doc_external("DT/PetscDSSetLowerBound")) """ function PetscDSSetLowerBound(petsclib::PetscLibType, ds::PetscDS, f::Integer, lb::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("PetscDSSetLowerBound: no generated method for these argument types") + throw(MethodError(PetscDSSetLowerBound, (petsclib, ds, f, lb, ctx))) end @for_petsc function PetscDSSetLowerBound(petsclib::$UnionPetscLib, ds::PetscDS, f::$PetscInt, lb::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -3731,7 +3731,7 @@ See also: `PetscPointFn`, `PetscDS`, `PetscDSGetObjective()`, `PetscDSSetResidua $(_doc_external("DT/PetscDSSetObjective")) """ function PetscDSSetObjective(petsclib::PetscLibType, ds::PetscDS, f::Integer, obj::Ptr{Cvoid}) - error("PetscDSSetObjective: no generated method for these argument types") + throw(MethodError(PetscDSSetObjective, (petsclib, ds, f, obj))) end @for_petsc function PetscDSSetObjective(petsclib::$UnionPetscLib, ds::PetscDS, f::$PetscInt, obj::Ptr{Cvoid} ) @@ -3767,7 +3767,7 @@ See also: `PetscDS`, `PetscDSGetResidual()` $(_doc_external("DT/PetscDSSetRHSResidual")) """ function PetscDSSetRHSResidual(petsclib::PetscLibType, ds::PetscDS, f::Integer, f0::Ptr{Cvoid}, f1::Ptr{Cvoid}) - error("PetscDSSetRHSResidual: no generated method for these argument types") + throw(MethodError(PetscDSSetRHSResidual, (petsclib, ds, f, f0, f1))) end @for_petsc function PetscDSSetRHSResidual(petsclib::$UnionPetscLib, ds::PetscDS, f::$PetscInt, f0::Ptr{Cvoid}, f1::Ptr{Cvoid} ) @@ -3803,7 +3803,7 @@ See also: `PetscPointFn`, `PetscDS`, `PetscDSGetResidual()` $(_doc_external("DT/PetscDSSetResidual")) """ function PetscDSSetResidual(petsclib::PetscLibType, ds::PetscDS, f::Integer, f0::Ptr{Cvoid}, f1::Ptr{Cvoid}) - error("PetscDSSetResidual: no generated method for these argument types") + throw(MethodError(PetscDSSetResidual, (petsclib, ds, f, f0, f1))) end @for_petsc function PetscDSSetResidual(petsclib::$UnionPetscLib, ds::PetscDS, f::$PetscInt, f0::Ptr{Cvoid}, f1::Ptr{Cvoid} ) @@ -3838,7 +3838,7 @@ See also: `PetscDS`, `PetscRiemannFn`, `PetscDSGetRiemannSolver()` $(_doc_external("DT/PetscDSSetRiemannSolver")) """ function PetscDSSetRiemannSolver(petsclib::PetscLibType, ds::PetscDS, f::Integer, r::Ptr{Cvoid}) - error("PetscDSSetRiemannSolver: no generated method for these argument types") + throw(MethodError(PetscDSSetRiemannSolver, (petsclib, ds, f, r))) end @for_petsc function PetscDSSetRiemannSolver(petsclib::$UnionPetscLib, ds::PetscDS, f::$PetscInt, r::Ptr{Cvoid} ) @@ -3875,7 +3875,7 @@ See also: `PetscDSType`, `PetscDS`, `PetscDSGetType()`, `PetscDSCreate()` $(_doc_external("DT/PetscDSSetType")) """ function PetscDSSetType(petsclib::PetscLibType, prob::PetscDS, name::String) - error("PetscDSSetType: no generated method for these argument types") + throw(MethodError(PetscDSSetType, (petsclib, prob, name))) end @for_petsc function PetscDSSetType(petsclib::$UnionPetscLib, prob::PetscDS, name::String ) @@ -3908,7 +3908,7 @@ See also: `PetscDS`, `PetscDSView()`, `PetscDSDestroy()` $(_doc_external("DT/PetscDSSetUp")) """ function PetscDSSetUp(petsclib::PetscLibType, prob::PetscDS) - error("PetscDSSetUp: no generated method for these argument types") + throw(MethodError(PetscDSSetUp, (petsclib, prob))) end @for_petsc function PetscDSSetUp(petsclib::$UnionPetscLib, prob::PetscDS ) @@ -3943,7 +3943,7 @@ See also: `PetscDS`, `PetscPointFn`, `PetscDSGetResidual()` $(_doc_external("DT/PetscDSSetUpdate")) """ function PetscDSSetUpdate(petsclib::PetscLibType, ds::PetscDS, f::Integer, update::Ptr{Cvoid}) - error("PetscDSSetUpdate: no generated method for these argument types") + throw(MethodError(PetscDSSetUpdate, (petsclib, ds, f, update))) end @for_petsc function PetscDSSetUpdate(petsclib::$UnionPetscLib, ds::PetscDS, f::$PetscInt, update::Ptr{Cvoid} ) @@ -3979,7 +3979,7 @@ See also: `PetscDS`, `PetscPointBoundFn`, `PetscDSGetUpperBound()`, `PetscDSGetL $(_doc_external("DT/PetscDSSetUpperBound")) """ function PetscDSSetUpperBound(petsclib::PetscLibType, ds::PetscDS, f::Integer, ub::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("PetscDSSetUpperBound: no generated method for these argument types") + throw(MethodError(PetscDSSetUpperBound, (petsclib, ds, f, ub, ctx))) end @for_petsc function PetscDSSetUpperBound(petsclib::$UnionPetscLib, ds::PetscDS, f::$PetscInt, ub::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -4013,7 +4013,7 @@ See also: `PetscWeakForm`, `PetscDSGetWeakForm()`, `PetscDSGetNumFields()`, `Pet $(_doc_external("DT/PetscDSSetWeakForm")) """ function PetscDSSetWeakForm(petsclib::PetscLibType, ds::PetscDS, wf::PetscWeakForm) - error("PetscDSSetWeakForm: no generated method for these argument types") + throw(MethodError(PetscDSSetWeakForm, (petsclib, ds, wf))) end @for_petsc function PetscDSSetWeakForm(petsclib::$UnionPetscLib, ds::PetscDS, wf::PetscWeakForm ) @@ -4056,7 +4056,7 @@ See also: `PetscDS`, `PetscWeakForm`, `DMBoundaryConditionType`, `PetscDSAddBoun $(_doc_external("DT/PetscDSUpdateBoundary")) """ function PetscDSUpdateBoundary(petsclib::PetscLibType, ds::PetscDS, bd::Integer, type::DMBoundaryConditionType, name::String, label::DMLabel, Nv::Integer, values::AbstractVector{<:Number}, field::Integer, Nc::Integer, comps::AbstractVector{<:Number}, bcFunc::Ptr{Cvoid}, bcFunc_t::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("PetscDSUpdateBoundary: no generated method for these argument types") + throw(MethodError(PetscDSUpdateBoundary, (petsclib, ds, bd, type, name, label, Nv, values, field, Nc, comps, bcFunc, bcFunc_t, ctx))) end @for_petsc function PetscDSUpdateBoundary(petsclib::$UnionPetscLib, ds::PetscDS, bd::$PetscInt, type::DMBoundaryConditionType, name::String, label::DMLabel, Nv::$PetscInt, values::Vector{$PetscInt}, field::$PetscInt, Nc::$PetscInt, comps::Vector{$PetscInt}, bcFunc::Ptr{Cvoid}, bcFunc_t::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -4090,7 +4090,7 @@ See also: `PetscDS`, `DMBoundary`, `DM`, `PetscDSCopyBoundary()`, `PetscDSCreate $(_doc_external("DT/PetscDSUpdateBoundaryLabels")) """ function PetscDSUpdateBoundaryLabels(petsclib::PetscLibType, ds::PetscDS, dm::AbstractPetscDM) - error("PetscDSUpdateBoundaryLabels: no generated method for these argument types") + throw(MethodError(PetscDSUpdateBoundaryLabels, (petsclib, ds, dm))) end @for_petsc function PetscDSUpdateBoundaryLabels(petsclib::$UnionPetscLib, ds::PetscDS, dm::AbstractPetscDM ) @@ -4124,7 +4124,7 @@ See also: `PetscDS`, `PetscDSGetJacobianPreconditioner()`, `PetscDSSetJacobianPr $(_doc_external("DT/PetscDSUseJacobianPreconditioner")) """ function PetscDSUseJacobianPreconditioner(petsclib::PetscLibType, prob::PetscDS, useJacPre::PetscBool) - error("PetscDSUseJacobianPreconditioner: no generated method for these argument types") + throw(MethodError(PetscDSUseJacobianPreconditioner, (petsclib, prob, useJacPre))) end @for_petsc function PetscDSUseJacobianPreconditioner(petsclib::$UnionPetscLib, prob::PetscDS, useJacPre::PetscBool ) @@ -4158,7 +4158,7 @@ See also: `PetscDSType`, `PetscDS`, `PetscViewer`, `PetscDSDestroy()`, `PetscDSV $(_doc_external("DT/PetscDSView")) """ function PetscDSView(petsclib::PetscLibType, prob::PetscDS, v::PetscViewer) - error("PetscDSView: no generated method for these argument types") + throw(MethodError(PetscDSView, (petsclib, prob, v))) end @for_petsc function PetscDSView(petsclib::$UnionPetscLib, prob::PetscDS, v::PetscViewer ) @@ -4196,7 +4196,7 @@ See also: `PetscDSType`, `PetscDS`, `PetscDSView()`, `PetscObjectViewFromOptions $(_doc_external("DT/PetscDSViewFromOptions")) """ function PetscDSViewFromOptions(petsclib::PetscLibType, A::PetscDS, obj, name::String) - error("PetscDSViewFromOptions: no generated method for these argument types") + throw(MethodError(PetscDSViewFromOptions, (petsclib, A, obj, name))) end @for_petsc function PetscDSViewFromOptions(petsclib::$UnionPetscLib, A::PetscDS, obj, name::String ) diff --git a/src/autowrapped/PetscDevice_wrappers.jl b/src/autowrapped/PetscDevice_wrappers.jl index 458e6e6ba..646cb0e31 100644 --- a/src/autowrapped/PetscDevice_wrappers.jl +++ b/src/autowrapped/PetscDevice_wrappers.jl @@ -5,7 +5,7 @@ $(_doc_external("Sys/PetscDeviceConfigure")) """ function PetscDeviceConfigure(petsclib::PetscLibType, device::PetscDevice) - error("PetscDeviceConfigure: no generated method for these argument types") + throw(MethodError(PetscDeviceConfigure, (petsclib, device))) end @for_petsc function PetscDeviceConfigure(petsclib::$UnionPetscLib, device::PetscDevice ) @@ -28,7 +28,7 @@ end $(_doc_external("Sys/PetscDeviceContextCreate")) """ function PetscDeviceContextCreate(petsclib::PetscLibType) - error("PetscDeviceContextCreate: no generated method for these argument types") + throw(MethodError(PetscDeviceContextCreate, (petsclib, ))) end @for_petsc function PetscDeviceContextCreate(petsclib::$UnionPetscLib) @@ -53,7 +53,7 @@ end $(_doc_external("Sys/PetscDeviceContextDestroy")) """ function PetscDeviceContextDestroy(petsclib::PetscLibType, dctx::Union{PetscDeviceContext, Ref{PetscDeviceContext}}) - error("PetscDeviceContextDestroy: no generated method for these argument types") + throw(MethodError(PetscDeviceContextDestroy, (petsclib, dctx))) end @for_petsc function PetscDeviceContextDestroy(petsclib::$UnionPetscLib, dctx::Union{PetscDeviceContext, Ref{PetscDeviceContext}} ) @@ -77,7 +77,7 @@ end $(_doc_external("Sys/PetscDeviceContextDuplicate")) """ function PetscDeviceContextDuplicate(petsclib::PetscLibType, dctx::PetscDeviceContext) - error("PetscDeviceContextDuplicate: no generated method for these argument types") + throw(MethodError(PetscDeviceContextDuplicate, (petsclib, dctx))) end @for_petsc function PetscDeviceContextDuplicate(petsclib::$UnionPetscLib, dctx::PetscDeviceContext ) @@ -102,7 +102,7 @@ end $(_doc_external("Sys/PetscDeviceContextFork")) """ function PetscDeviceContextFork(petsclib::PetscLibType, dctx::PetscDeviceContext, n::Integer, dsub::PetscDeviceContext) - error("PetscDeviceContextFork: no generated method for these argument types") + throw(MethodError(PetscDeviceContextFork, (petsclib, dctx, n, dsub))) end @for_petsc function PetscDeviceContextFork(petsclib::$UnionPetscLib, dctx::PetscDeviceContext, n::$PetscInt, dsub::PetscDeviceContext ) @@ -125,7 +125,7 @@ end $(_doc_external("Sys/PetscDeviceContextForkWithStreamType")) """ function PetscDeviceContextForkWithStreamType(petsclib::PetscLibType, dctx::PetscDeviceContext, stype::PetscStreamType, n::Integer, dsub::PetscDeviceContext) - error("PetscDeviceContextForkWithStreamType: no generated method for these argument types") + throw(MethodError(PetscDeviceContextForkWithStreamType, (petsclib, dctx, stype, n, dsub))) end @for_petsc function PetscDeviceContextForkWithStreamType(petsclib::$UnionPetscLib, dctx::PetscDeviceContext, stype::PetscStreamType, n::$PetscInt, dsub::PetscDeviceContext ) @@ -148,7 +148,7 @@ end $(_doc_external("Sys/PetscDeviceContextGetCurrentContext")) """ function PetscDeviceContextGetCurrentContext(petsclib::PetscLibType, dctx::PetscDeviceContext) - error("PetscDeviceContextGetCurrentContext: no generated method for these argument types") + throw(MethodError(PetscDeviceContextGetCurrentContext, (petsclib, dctx))) end @for_petsc function PetscDeviceContextGetCurrentContext(petsclib::$UnionPetscLib, dctx::PetscDeviceContext ) @@ -171,7 +171,7 @@ end $(_doc_external("Sys/PetscDeviceContextGetDevice")) """ function PetscDeviceContextGetDevice(petsclib::PetscLibType, dctx::PetscDeviceContext, device::PetscDevice) - error("PetscDeviceContextGetDevice: no generated method for these argument types") + throw(MethodError(PetscDeviceContextGetDevice, (petsclib, dctx, device))) end @for_petsc function PetscDeviceContextGetDevice(petsclib::$UnionPetscLib, dctx::PetscDeviceContext, device::PetscDevice ) @@ -194,7 +194,7 @@ end $(_doc_external("Sys/PetscDeviceContextGetDeviceType")) """ function PetscDeviceContextGetDeviceType(petsclib::PetscLibType, dctx::PetscDeviceContext) - error("PetscDeviceContextGetDeviceType: no generated method for these argument types") + throw(MethodError(PetscDeviceContextGetDeviceType, (petsclib, dctx))) end @for_petsc function PetscDeviceContextGetDeviceType(petsclib::$UnionPetscLib, dctx::PetscDeviceContext ) @@ -219,7 +219,7 @@ end $(_doc_external("Sys/PetscDeviceContextGetStreamHandle")) """ function PetscDeviceContextGetStreamHandle(petsclib::PetscLibType, dctx::PetscDeviceContext) - error("PetscDeviceContextGetStreamHandle: no generated method for these argument types") + throw(MethodError(PetscDeviceContextGetStreamHandle, (petsclib, dctx))) end @for_petsc function PetscDeviceContextGetStreamHandle(petsclib::$UnionPetscLib, dctx::PetscDeviceContext ) @@ -244,7 +244,7 @@ end $(_doc_external("Sys/PetscDeviceContextGetStreamType")) """ function PetscDeviceContextGetStreamType(petsclib::PetscLibType, dctx::PetscDeviceContext) - error("PetscDeviceContextGetStreamType: no generated method for these argument types") + throw(MethodError(PetscDeviceContextGetStreamType, (petsclib, dctx))) end @for_petsc function PetscDeviceContextGetStreamType(petsclib::$UnionPetscLib, dctx::PetscDeviceContext ) @@ -269,7 +269,7 @@ end $(_doc_external("Sys/PetscDeviceContextJoin")) """ function PetscDeviceContextJoin(petsclib::PetscLibType, dctx::PetscDeviceContext, n::Integer, joinMode::PetscDeviceContextJoinMode, dsub::PetscDeviceContext) - error("PetscDeviceContextJoin: no generated method for these argument types") + throw(MethodError(PetscDeviceContextJoin, (petsclib, dctx, n, joinMode, dsub))) end @for_petsc function PetscDeviceContextJoin(petsclib::$UnionPetscLib, dctx::PetscDeviceContext, n::$PetscInt, joinMode::PetscDeviceContextJoinMode, dsub::PetscDeviceContext ) @@ -292,7 +292,7 @@ end $(_doc_external("Sys/PetscDeviceContextQueryIdle")) """ function PetscDeviceContextQueryIdle(petsclib::PetscLibType, dctx::PetscDeviceContext) - error("PetscDeviceContextQueryIdle: no generated method for these argument types") + throw(MethodError(PetscDeviceContextQueryIdle, (petsclib, dctx))) end @for_petsc function PetscDeviceContextQueryIdle(petsclib::$UnionPetscLib, dctx::PetscDeviceContext ) @@ -317,7 +317,7 @@ end $(_doc_external("Sys/PetscDeviceContextSetCurrentContext")) """ function PetscDeviceContextSetCurrentContext(petsclib::PetscLibType, dctx::PetscDeviceContext) - error("PetscDeviceContextSetCurrentContext: no generated method for these argument types") + throw(MethodError(PetscDeviceContextSetCurrentContext, (petsclib, dctx))) end @for_petsc function PetscDeviceContextSetCurrentContext(petsclib::$UnionPetscLib, dctx::PetscDeviceContext ) @@ -340,7 +340,7 @@ end $(_doc_external("Sys/PetscDeviceContextSetDevice")) """ function PetscDeviceContextSetDevice(petsclib::PetscLibType, dctx::PetscDeviceContext, device::PetscDevice) - error("PetscDeviceContextSetDevice: no generated method for these argument types") + throw(MethodError(PetscDeviceContextSetDevice, (petsclib, dctx, device))) end @for_petsc function PetscDeviceContextSetDevice(petsclib::$UnionPetscLib, dctx::PetscDeviceContext, device::PetscDevice ) @@ -363,7 +363,7 @@ end $(_doc_external("Sys/PetscDeviceContextSetFromOptions")) """ function PetscDeviceContextSetFromOptions(petsclib::PetscLibType, comm::MPI_Comm, dctx::PetscDeviceContext) - error("PetscDeviceContextSetFromOptions: no generated method for these argument types") + throw(MethodError(PetscDeviceContextSetFromOptions, (petsclib, comm, dctx))) end @for_petsc function PetscDeviceContextSetFromOptions(petsclib::$UnionPetscLib, comm::MPI_Comm, dctx::PetscDeviceContext ) @@ -386,7 +386,7 @@ end $(_doc_external("Sys/PetscDeviceContextSetStreamType")) """ function PetscDeviceContextSetStreamType(petsclib::PetscLibType, dctx::PetscDeviceContext, type::PetscStreamType) - error("PetscDeviceContextSetStreamType: no generated method for these argument types") + throw(MethodError(PetscDeviceContextSetStreamType, (petsclib, dctx, type))) end @for_petsc function PetscDeviceContextSetStreamType(petsclib::$UnionPetscLib, dctx::PetscDeviceContext, type::PetscStreamType ) @@ -409,7 +409,7 @@ end $(_doc_external("Sys/PetscDeviceContextSetUp")) """ function PetscDeviceContextSetUp(petsclib::PetscLibType, dctx::PetscDeviceContext) - error("PetscDeviceContextSetUp: no generated method for these argument types") + throw(MethodError(PetscDeviceContextSetUp, (petsclib, dctx))) end @for_petsc function PetscDeviceContextSetUp(petsclib::$UnionPetscLib, dctx::PetscDeviceContext ) @@ -432,7 +432,7 @@ end $(_doc_external("Sys/PetscDeviceContextSynchronize")) """ function PetscDeviceContextSynchronize(petsclib::PetscLibType, dctx::PetscDeviceContext) - error("PetscDeviceContextSynchronize: no generated method for these argument types") + throw(MethodError(PetscDeviceContextSynchronize, (petsclib, dctx))) end @for_petsc function PetscDeviceContextSynchronize(petsclib::$UnionPetscLib, dctx::PetscDeviceContext ) @@ -455,7 +455,7 @@ end $(_doc_external("Sys/PetscDeviceContextView")) """ function PetscDeviceContextView(petsclib::PetscLibType, dctx::PetscDeviceContext, viewer::PetscViewer) - error("PetscDeviceContextView: no generated method for these argument types") + throw(MethodError(PetscDeviceContextView, (petsclib, dctx, viewer))) end @for_petsc function PetscDeviceContextView(petsclib::$UnionPetscLib, dctx::PetscDeviceContext, viewer::PetscViewer ) @@ -478,7 +478,7 @@ end $(_doc_external("Sys/PetscDeviceContextViewFromOptions")) """ function PetscDeviceContextViewFromOptions(petsclib::PetscLibType, dctx::PetscDeviceContext, obj, name::String) - error("PetscDeviceContextViewFromOptions: no generated method for these argument types") + throw(MethodError(PetscDeviceContextViewFromOptions, (petsclib, dctx, obj, name))) end @for_petsc function PetscDeviceContextViewFromOptions(petsclib::$UnionPetscLib, dctx::PetscDeviceContext, obj, name::String ) @@ -501,7 +501,7 @@ end $(_doc_external("Sys/PetscDeviceContextWaitForContext")) """ function PetscDeviceContextWaitForContext(petsclib::PetscLibType, dctxa::PetscDeviceContext, dctxb::PetscDeviceContext) - error("PetscDeviceContextWaitForContext: no generated method for these argument types") + throw(MethodError(PetscDeviceContextWaitForContext, (petsclib, dctxa, dctxb))) end @for_petsc function PetscDeviceContextWaitForContext(petsclib::$UnionPetscLib, dctxa::PetscDeviceContext, dctxb::PetscDeviceContext ) @@ -524,7 +524,7 @@ end $(_doc_external("Sys/PetscDeviceCreate")) """ function PetscDeviceCreate(petsclib::PetscLibType, type::PetscDeviceType, devid::Integer) - error("PetscDeviceCreate: no generated method for these argument types") + throw(MethodError(PetscDeviceCreate, (petsclib, type, devid))) end @for_petsc function PetscDeviceCreate(petsclib::$UnionPetscLib, type::PetscDeviceType, devid::$PetscInt ) @@ -549,7 +549,7 @@ end $(_doc_external("Sys/PetscDeviceDestroy")) """ function PetscDeviceDestroy(petsclib::PetscLibType, device::Union{PetscDevice, Ref{PetscDevice}}) - error("PetscDeviceDestroy: no generated method for these argument types") + throw(MethodError(PetscDeviceDestroy, (petsclib, device))) end @for_petsc function PetscDeviceDestroy(petsclib::$UnionPetscLib, device::Union{PetscDevice, Ref{PetscDevice}} ) @@ -577,7 +577,7 @@ See also: `PetscFinalize()`, `PetscDeviceInitializePackage()` $(_doc_external("Sys/PetscDeviceFinalizePackage")) """ function PetscDeviceFinalizePackage(petsclib::PetscLibType) - error("PetscDeviceFinalizePackage: no generated method for these argument types") + throw(MethodError(PetscDeviceFinalizePackage, (petsclib, ))) end @for_petsc function PetscDeviceFinalizePackage(petsclib::$UnionPetscLib) @@ -599,7 +599,7 @@ end $(_doc_external("Sys/PetscDeviceGetDeviceId")) """ function PetscDeviceGetDeviceId(petsclib::PetscLibType, device::PetscDevice) - error("PetscDeviceGetDeviceId: no generated method for these argument types") + throw(MethodError(PetscDeviceGetDeviceId, (petsclib, device))) end @for_petsc function PetscDeviceGetDeviceId(petsclib::$UnionPetscLib, device::PetscDevice ) @@ -624,7 +624,7 @@ end $(_doc_external("Sys/PetscDeviceGetType")) """ function PetscDeviceGetType(petsclib::PetscLibType, device::PetscDevice) - error("PetscDeviceGetType: no generated method for these argument types") + throw(MethodError(PetscDeviceGetType, (petsclib, device))) end @for_petsc function PetscDeviceGetType(petsclib::$UnionPetscLib, device::PetscDevice ) @@ -649,7 +649,7 @@ end $(_doc_external("Sys/PetscDeviceInitialize")) """ function PetscDeviceInitialize(petsclib::PetscLibType, type::PetscDeviceType) - error("PetscDeviceInitialize: no generated method for these argument types") + throw(MethodError(PetscDeviceInitialize, (petsclib, type))) end @for_petsc function PetscDeviceInitialize(petsclib::$UnionPetscLib, type::PetscDeviceType ) @@ -680,7 +680,7 @@ See also: `PetscInitialize()`, `PetscDeviceFinalizePackage()`, `PetscDeviceConte $(_doc_external("Sys/PetscDeviceInitializePackage")) """ function PetscDeviceInitializePackage(petsclib::PetscLibType) - error("PetscDeviceInitializePackage: no generated method for these argument types") + throw(MethodError(PetscDeviceInitializePackage, (petsclib, ))) end @for_petsc function PetscDeviceInitializePackage(petsclib::$UnionPetscLib) @@ -702,7 +702,7 @@ end $(_doc_external("Sys/PetscDeviceMemcpy")) """ function PetscDeviceMemcpy(petsclib::PetscLibType, dctx::PetscDeviceContext, dest::Ptr{Cvoid}, src::Ptr{Cvoid}, n::Csize_t) - error("PetscDeviceMemcpy: no generated method for these argument types") + throw(MethodError(PetscDeviceMemcpy, (petsclib, dctx, dest, src, n))) end @for_petsc function PetscDeviceMemcpy(petsclib::$UnionPetscLib, dctx::PetscDeviceContext, dest::Ptr{Cvoid}, src::Ptr{Cvoid}, n::Csize_t ) @@ -725,7 +725,7 @@ end $(_doc_external("Sys/PetscDeviceMemset")) """ function PetscDeviceMemset(petsclib::PetscLibType, dctx::PetscDeviceContext, ptr::Ptr{Cvoid}, v::Integer, n::Csize_t) - error("PetscDeviceMemset: no generated method for these argument types") + throw(MethodError(PetscDeviceMemset, (petsclib, dctx, ptr, v, n))) end @for_petsc function PetscDeviceMemset(petsclib::$UnionPetscLib, dctx::PetscDeviceContext, ptr::Ptr{Cvoid}, v::$PetscInt, n::Csize_t ) @@ -748,7 +748,7 @@ end $(_doc_external("Sys/PetscDeviceSetDefaultDeviceType")) """ function PetscDeviceSetDefaultDeviceType(petsclib::PetscLibType, type::PetscDeviceType) - error("PetscDeviceSetDefaultDeviceType: no generated method for these argument types") + throw(MethodError(PetscDeviceSetDefaultDeviceType, (petsclib, type))) end @for_petsc function PetscDeviceSetDefaultDeviceType(petsclib::$UnionPetscLib, type::PetscDeviceType ) @@ -771,7 +771,7 @@ end $(_doc_external("Sys/PetscDeviceView")) """ function PetscDeviceView(petsclib::PetscLibType, device::PetscDevice, viewer::PetscViewer) - error("PetscDeviceView: no generated method for these argument types") + throw(MethodError(PetscDeviceView, (petsclib, device, viewer))) end @for_petsc function PetscDeviceView(petsclib::$UnionPetscLib, device::PetscDevice, viewer::PetscViewer ) diff --git a/src/autowrapped/PetscDraw_wrappers.jl b/src/autowrapped/PetscDraw_wrappers.jl index 9eacf4c9d..e32c63819 100644 --- a/src/autowrapped/PetscDraw_wrappers.jl +++ b/src/autowrapped/PetscDraw_wrappers.jl @@ -16,7 +16,7 @@ See also: `PetscDraw`, `PetscDrawSetTitle()`, `PetscDrawGetTitle()` $(_doc_external("Draw/PetscDrawAppendTitle")) """ function PetscDrawAppendTitle(petsclib::PetscLibType, draw::PetscDraw, title::String) - error("PetscDrawAppendTitle: no generated method for these argument types") + throw(MethodError(PetscDrawAppendTitle, (petsclib, draw, title))) end @for_petsc function PetscDrawAppendTitle(petsclib::$UnionPetscLib, draw::PetscDraw, title::String ) @@ -55,7 +55,7 @@ See also: `PetscDraw`, `PetscDrawLine()`, `PetscDrawLineSetWidth()`, `PetscDrawL $(_doc_external("Draw/PetscDrawArrow")) """ function PetscDrawArrow(petsclib::PetscLibType, draw::PetscDraw, xl::Real, yl::Real, xr::Real, yr::Real, cl::Cint) - error("PetscDrawArrow: no generated method for these argument types") + throw(MethodError(PetscDrawArrow, (petsclib, draw, xl, yl, xr, yr, cl))) end @for_petsc function PetscDrawArrow(petsclib::$UnionPetscLib, draw::PetscDraw, xl::$PetscReal, yl::$PetscReal, xr::$PetscReal, yr::$PetscReal, cl::Cint ) @@ -91,7 +91,7 @@ See also: `PetscDrawLGCreate()`, `PetscDrawLG`, `PetscDrawSPCreate()`, `PetscDra $(_doc_external("Draw/PetscDrawAxisCreate")) """ function PetscDrawAxisCreate(petsclib::PetscLibType, draw::PetscDraw) - error("PetscDrawAxisCreate: no generated method for these argument types") + throw(MethodError(PetscDrawAxisCreate, (petsclib, draw))) end @for_petsc function PetscDrawAxisCreate(petsclib::$UnionPetscLib, draw::PetscDraw ) @@ -126,7 +126,7 @@ See also: `PetscDraw`, `PetscDrawAxisCreate()`, `PetscDrawAxis` $(_doc_external("Draw/PetscDrawAxisDestroy")) """ function PetscDrawAxisDestroy(petsclib::PetscLibType, axis::Union{PetscDrawAxis, Ref{PetscDrawAxis}}) - error("PetscDrawAxisDestroy: no generated method for these argument types") + throw(MethodError(PetscDrawAxisDestroy, (petsclib, axis))) end @for_petsc function PetscDrawAxisDestroy(petsclib::$UnionPetscLib, axis::Union{PetscDrawAxis, Ref{PetscDrawAxis}} ) @@ -160,7 +160,7 @@ See also: `PetscDrawAxisCreate()`, `PetscDrawAxis`, `PetscDrawAxisGetLimits()`, $(_doc_external("Draw/PetscDrawAxisDraw")) """ function PetscDrawAxisDraw(petsclib::PetscLibType, axis::PetscDrawAxis) - error("PetscDrawAxisDraw: no generated method for these argument types") + throw(MethodError(PetscDrawAxisDraw, (petsclib, axis))) end @for_petsc function PetscDrawAxisDraw(petsclib::$UnionPetscLib, axis::PetscDrawAxis ) @@ -197,7 +197,7 @@ See also: `PetscDrawAxisCreate()`, `PetscDrawAxis`, `PetscDrawAxisSetHoldLimits( $(_doc_external("Draw/PetscDrawAxisGetLimits")) """ function PetscDrawAxisGetLimits(petsclib::PetscLibType, axis::PetscDrawAxis) - error("PetscDrawAxisGetLimits: no generated method for these argument types") + throw(MethodError(PetscDrawAxisGetLimits, (petsclib, axis))) end @for_petsc function PetscDrawAxisGetLimits(petsclib::$UnionPetscLib, axis::PetscDrawAxis ) @@ -242,7 +242,7 @@ See also: `PetscDraw`, `PetscDrawAxisCreate()`, `PetscDrawAxis`, `PetscDrawAxisS $(_doc_external("Draw/PetscDrawAxisSetColors")) """ function PetscDrawAxisSetColors(petsclib::PetscLibType, axis::PetscDrawAxis, ac::Cint, tc::Cint, cc::Cint) - error("PetscDrawAxisSetColors: no generated method for these argument types") + throw(MethodError(PetscDrawAxisSetColors, (petsclib, axis, ac, tc, cc))) end @for_petsc function PetscDrawAxisSetColors(petsclib::$UnionPetscLib, axis::PetscDrawAxis, ac::Cint, tc::Cint, cc::Cint ) @@ -277,7 +277,7 @@ See also: `PetscDrawAxisCreate()`, `PetscDrawAxis`, `PetscDrawAxisGetLimits()`, $(_doc_external("Draw/PetscDrawAxisSetHoldLimits")) """ function PetscDrawAxisSetHoldLimits(petsclib::PetscLibType, axis::PetscDrawAxis, hold::PetscBool) - error("PetscDrawAxisSetHoldLimits: no generated method for these argument types") + throw(MethodError(PetscDrawAxisSetHoldLimits, (petsclib, axis, hold))) end @for_petsc function PetscDrawAxisSetHoldLimits(petsclib::$UnionPetscLib, axis::PetscDrawAxis, hold::PetscBool ) @@ -313,7 +313,7 @@ See also: `PetscDraw`, `PetscDrawAxisCreate()`, `PetscDrawAxis`, `PetscDrawAxisS $(_doc_external("Draw/PetscDrawAxisSetLabels")) """ function PetscDrawAxisSetLabels(petsclib::PetscLibType, axis::PetscDrawAxis, top::String, xlabel::String, ylabel::String) - error("PetscDrawAxisSetLabels: no generated method for these argument types") + throw(MethodError(PetscDrawAxisSetLabels, (petsclib, axis, top, xlabel, ylabel))) end @for_petsc function PetscDrawAxisSetLabels(petsclib::$UnionPetscLib, axis::PetscDrawAxis, top::String, xlabel::String, ylabel::String ) @@ -353,7 +353,7 @@ See also: `PetscDrawAxisSetHoldLimits()`, `PetscDrawAxisGetLimits()`, `PetscDraw $(_doc_external("Draw/PetscDrawAxisSetLimits")) """ function PetscDrawAxisSetLimits(petsclib::PetscLibType, axis::PetscDrawAxis, xmin::Real, xmax::Real, ymin::Real, ymax::Real) - error("PetscDrawAxisSetLimits: no generated method for these argument types") + throw(MethodError(PetscDrawAxisSetLimits, (petsclib, axis, xmin, xmax, ymin, ymax))) end @for_petsc function PetscDrawAxisSetLimits(petsclib::$UnionPetscLib, axis::PetscDrawAxis, xmin::$PetscReal, xmax::$PetscReal, ymin::$PetscReal, ymax::$PetscReal ) @@ -386,7 +386,7 @@ See also: `PetscDrawEOP()`, `PetscDrawClear()` $(_doc_external("Draw/PetscDrawBOP")) """ function PetscDrawBOP(petsclib::PetscLibType, draw::PetscDraw) - error("PetscDrawBOP: no generated method for these argument types") + throw(MethodError(PetscDrawBOP, (petsclib, draw))) end @for_petsc function PetscDrawBOP(petsclib::$UnionPetscLib, draw::PetscDraw ) @@ -422,7 +422,7 @@ See also: `PetscDrawBar`, `PetscDrawLGCreate()`, `PetscDrawLG`, `PetscDrawSPCrea $(_doc_external("Draw/PetscDrawBarCreate")) """ function PetscDrawBarCreate(petsclib::PetscLibType, draw::PetscDraw) - error("PetscDrawBarCreate: no generated method for these argument types") + throw(MethodError(PetscDrawBarCreate, (petsclib, draw))) end @for_petsc function PetscDrawBarCreate(petsclib::$UnionPetscLib, draw::PetscDraw ) @@ -457,7 +457,7 @@ See also: `PetscDrawBar`, `PetscDrawBarCreate()` $(_doc_external("Draw/PetscDrawBarDestroy")) """ function PetscDrawBarDestroy(petsclib::PetscLibType, bar::Union{PetscDrawBar, Ref{PetscDrawBar}}) - error("PetscDrawBarDestroy: no generated method for these argument types") + throw(MethodError(PetscDrawBarDestroy, (petsclib, bar))) end @for_petsc function PetscDrawBarDestroy(petsclib::$UnionPetscLib, bar::Union{PetscDrawBar, Ref{PetscDrawBar}} ) @@ -491,7 +491,7 @@ See also: `PetscDrawBar`, `PetscDrawBarCreate()`, `PetscDrawBarSetData()` $(_doc_external("Draw/PetscDrawBarDraw")) """ function PetscDrawBarDraw(petsclib::PetscLibType, bar::PetscDrawBar) - error("PetscDrawBarDraw: no generated method for these argument types") + throw(MethodError(PetscDrawBarDraw, (petsclib, bar))) end @for_petsc function PetscDrawBarDraw(petsclib::$UnionPetscLib, bar::PetscDrawBar ) @@ -530,7 +530,7 @@ See also: `PetscDrawBar`, `PetscDrawBarCreate()`, `PetscDrawAxis`, `PetscDrawAxi $(_doc_external("Draw/PetscDrawBarGetAxis")) """ function PetscDrawBarGetAxis(petsclib::PetscLibType, bar::PetscDrawBar) - error("PetscDrawBarGetAxis: no generated method for these argument types") + throw(MethodError(PetscDrawBarGetAxis, (petsclib, bar))) end @for_petsc function PetscDrawBarGetAxis(petsclib::$UnionPetscLib, bar::PetscDrawBar ) @@ -568,7 +568,7 @@ See also: `PetscDrawBar`, `PetscDraw`, `PetscDrawBarCreate()`, `PetscDrawBarDraw $(_doc_external("Draw/PetscDrawBarGetDraw")) """ function PetscDrawBarGetDraw(petsclib::PetscLibType, bar::PetscDrawBar) - error("PetscDrawBarGetDraw: no generated method for these argument types") + throw(MethodError(PetscDrawBarGetDraw, (petsclib, bar))) end @for_petsc function PetscDrawBarGetDraw(petsclib::$UnionPetscLib, bar::PetscDrawBar ) @@ -603,7 +603,7 @@ See also: `PetscDrawSave()`, `PetscDrawBar`, `PetscDrawBarCreate()`, `PetscDrawB $(_doc_external("Draw/PetscDrawBarSave")) """ function PetscDrawBarSave(petsclib::PetscLibType, bar::PetscDrawBar) - error("PetscDrawBarSave: no generated method for these argument types") + throw(MethodError(PetscDrawBarSave, (petsclib, bar))) end @for_petsc function PetscDrawBarSave(petsclib::$UnionPetscLib, bar::PetscDrawBar ) @@ -638,7 +638,7 @@ See also: `PetscDrawBarCreate()`, `PetscDrawBar`, `PetscDrawBarSetData()`, `Pets $(_doc_external("Draw/PetscDrawBarSetColor")) """ function PetscDrawBarSetColor(petsclib::PetscLibType, bar::PetscDrawBar, color::Cint) - error("PetscDrawBarSetColor: no generated method for these argument types") + throw(MethodError(PetscDrawBarSetColor, (petsclib, bar, color))) end @for_petsc function PetscDrawBarSetColor(petsclib::$UnionPetscLib, bar::PetscDrawBar, color::Cint ) @@ -674,7 +674,7 @@ See also: `PetscDrawBar`, `PetscDrawBarCreate()`, `PetscDrawBarDraw()` $(_doc_external("Draw/PetscDrawBarSetData")) """ function PetscDrawBarSetData(petsclib::PetscLibType, bar::PetscDrawBar, bins::Integer, data::AbstractVector{<:Number}, labels::String) - error("PetscDrawBarSetData: no generated method for these argument types") + throw(MethodError(PetscDrawBarSetData, (petsclib, bar, bins, data, labels))) end @for_petsc function PetscDrawBarSetData(petsclib::$UnionPetscLib, bar::PetscDrawBar, bins::$PetscInt, data::Vector{$PetscReal}, labels::String ) @@ -711,7 +711,7 @@ See also: `PetscDrawBar`, `PetscDrawBarDestroy()`, `PetscDrawBarCreate()`, `Pets $(_doc_external("Draw/PetscDrawBarSetFromOptions")) """ function PetscDrawBarSetFromOptions(petsclib::PetscLibType, bar::PetscDrawBar) - error("PetscDrawBarSetFromOptions: no generated method for these argument types") + throw(MethodError(PetscDrawBarSetFromOptions, (petsclib, bar))) end @for_petsc function PetscDrawBarSetFromOptions(petsclib::$UnionPetscLib, bar::PetscDrawBar ) @@ -748,7 +748,7 @@ See also: `PetscDrawBar`, `PetscDrawBarCreate()`, `PetscDrawBarGetAxis()`, `Pets $(_doc_external("Draw/PetscDrawBarSetLimits")) """ function PetscDrawBarSetLimits(petsclib::PetscLibType, bar::PetscDrawBar, y_min::Real, y_max::Real) - error("PetscDrawBarSetLimits: no generated method for these argument types") + throw(MethodError(PetscDrawBarSetLimits, (petsclib, bar, y_min, y_max))) end @for_petsc function PetscDrawBarSetLimits(petsclib::$UnionPetscLib, bar::PetscDrawBar, y_min::$PetscReal, y_max::$PetscReal ) @@ -783,7 +783,7 @@ See also: `PetscDrawBar`, `PetscDrawBarCreate()`, `PetscDrawBarSetData()`, `Pets $(_doc_external("Draw/PetscDrawBarSort")) """ function PetscDrawBarSort(petsclib::PetscLibType, bar::PetscDrawBar, sort::PetscBool, tolerance::Real) - error("PetscDrawBarSort: no generated method for these argument types") + throw(MethodError(PetscDrawBarSort, (petsclib, bar, sort, tolerance))) end @for_petsc function PetscDrawBarSort(petsclib::$UnionPetscLib, bar::PetscDrawBar, sort::PetscBool, tolerance::$PetscReal ) @@ -816,7 +816,7 @@ See also: `PetscDraw`, `PetscDrawResizeWindow()` $(_doc_external("Draw/PetscDrawCheckResizedWindow")) """ function PetscDrawCheckResizedWindow(petsclib::PetscLibType, draw::PetscDraw) - error("PetscDrawCheckResizedWindow: no generated method for these argument types") + throw(MethodError(PetscDrawCheckResizedWindow, (petsclib, draw))) end @for_petsc function PetscDrawCheckResizedWindow(petsclib::$UnionPetscLib, draw::PetscDraw ) @@ -850,7 +850,7 @@ See also: `PetscDrawBOP()`, `PetscDrawEOP()` $(_doc_external("Draw/PetscDrawClear")) """ function PetscDrawClear(petsclib::PetscLibType, draw::PetscDraw) - error("PetscDrawClear: no generated method for these argument types") + throw(MethodError(PetscDrawClear, (petsclib, draw))) end @for_petsc function PetscDrawClear(petsclib::$UnionPetscLib, draw::PetscDraw ) @@ -889,7 +889,7 @@ See also: `PetscDraw` $(_doc_external("Draw/PetscDrawCoordinateToPixel")) """ function PetscDrawCoordinateToPixel(petsclib::PetscLibType, draw::PetscDraw, x::Real, y::Real) - error("PetscDrawCoordinateToPixel: no generated method for these argument types") + throw(MethodError(PetscDrawCoordinateToPixel, (petsclib, draw, x, y))) end @for_petsc function PetscDrawCoordinateToPixel(petsclib::$UnionPetscLib, draw::PetscDraw, x::$PetscReal, y::$PetscReal ) @@ -944,7 +944,7 @@ See also: `PetscDrawSetType()`, `PetscDrawSetFromOptions()`, `PetscDrawDestroy() $(_doc_external("Draw/PetscDrawCreate")) """ function PetscDrawCreate(petsclib::PetscLibType, comm::MPI_Comm, display::String, title::String, x::Cint, y::Cint, w::Cint, h::Cint) - error("PetscDrawCreate: no generated method for these argument types") + throw(MethodError(PetscDrawCreate, (petsclib, comm, display, title, x, y, w, h))) end @for_petsc function PetscDrawCreate(petsclib::$UnionPetscLib, comm::MPI_Comm, display::String, title::String, x::Cint, y::Cint, w::Cint, h::Cint ) @@ -979,7 +979,7 @@ See also: `PetscDraw`, `PetscDrawCreate()` $(_doc_external("Draw/PetscDrawDestroy")) """ function PetscDrawDestroy(petsclib::PetscLibType, draw::Union{PetscDraw, Ref{PetscDraw}}) - error("PetscDrawDestroy: no generated method for these argument types") + throw(MethodError(PetscDrawDestroy, (petsclib, draw))) end @for_petsc function PetscDrawDestroy(petsclib::$UnionPetscLib, draw::Union{PetscDraw, Ref{PetscDraw}} ) @@ -1013,7 +1013,7 @@ See also: `PetscDrawBOP()`, `PetscDrawClear()` $(_doc_external("Draw/PetscDrawEOP")) """ function PetscDrawEOP(petsclib::PetscLibType, draw::PetscDraw) - error("PetscDrawEOP: no generated method for these argument types") + throw(MethodError(PetscDrawEOP, (petsclib, draw))) end @for_petsc function PetscDrawEOP(petsclib::$UnionPetscLib, draw::PetscDraw ) @@ -1051,7 +1051,7 @@ See also: `PetscDraw`, `PetscDrawRectangle()`, `PetscDrawTriangle()`, `PetscDraw $(_doc_external("Draw/PetscDrawEllipse")) """ function PetscDrawEllipse(petsclib::PetscLibType, draw::PetscDraw, x::Real, y::Real, a::Real, b::Real, c::Cint) - error("PetscDrawEllipse: no generated method for these argument types") + throw(MethodError(PetscDrawEllipse, (petsclib, draw, x, y, a, b, c))) end @for_petsc function PetscDrawEllipse(petsclib::$UnionPetscLib, draw::PetscDraw, x::$PetscReal, y::$PetscReal, a::$PetscReal, b::$PetscReal, c::Cint ) @@ -1080,7 +1080,7 @@ See also: `PetscDraw`, `PetscFinalize()` $(_doc_external("Draw/PetscDrawFinalizePackage")) """ function PetscDrawFinalizePackage(petsclib::PetscLibType) - error("PetscDrawFinalizePackage: no generated method for these argument types") + throw(MethodError(PetscDrawFinalizePackage, (petsclib, ))) end @for_petsc function PetscDrawFinalizePackage(petsclib::$UnionPetscLib) @@ -1112,7 +1112,7 @@ See also: `PetscDraw`, `PetscDrawClear()` $(_doc_external("Draw/PetscDrawFlush")) """ function PetscDrawFlush(petsclib::PetscLibType, draw::PetscDraw) - error("PetscDrawFlush: no generated method for these argument types") + throw(MethodError(PetscDrawFlush, (petsclib, draw))) end @for_petsc function PetscDrawFlush(petsclib::$UnionPetscLib, draw::PetscDraw ) @@ -1151,7 +1151,7 @@ See also: `PetscDraw`, `PetscDrawPushCurrentPoint()`, `PetscDrawPopCurrentPoint( $(_doc_external("Draw/PetscDrawGetBoundingBox")) """ function PetscDrawGetBoundingBox(petsclib::PetscLibType, draw::PetscDraw) - error("PetscDrawGetBoundingBox: no generated method for these argument types") + throw(MethodError(PetscDrawGetBoundingBox, (petsclib, draw))) end @for_petsc function PetscDrawGetBoundingBox(petsclib::$UnionPetscLib, draw::PetscDraw ) @@ -1199,7 +1199,7 @@ See also: `PetscDraw`, `PetscDrawSetCoordinates()` $(_doc_external("Draw/PetscDrawGetCoordinates")) """ function PetscDrawGetCoordinates(petsclib::PetscLibType, draw::PetscDraw) - error("PetscDrawGetCoordinates: no generated method for these argument types") + throw(MethodError(PetscDrawGetCoordinates, (petsclib, draw))) end @for_petsc function PetscDrawGetCoordinates(petsclib::$UnionPetscLib, draw::PetscDraw ) @@ -1244,7 +1244,7 @@ See also: `PetscDraw`, `PetscDrawPushCurrentPoint()`, `PetscDrawPopCurrentPoint( $(_doc_external("Draw/PetscDrawGetCurrentPoint")) """ function PetscDrawGetCurrentPoint(petsclib::PetscLibType, draw::PetscDraw) - error("PetscDrawGetCurrentPoint: no generated method for these argument types") + throw(MethodError(PetscDrawGetCurrentPoint, (petsclib, draw))) end @for_petsc function PetscDrawGetCurrentPoint(petsclib::$UnionPetscLib, draw::PetscDraw ) @@ -1282,7 +1282,7 @@ See also: `PetscDraw`, `PetscDrawPoint()`, `PetscDrawMarker()`, `PetscDrawSetMar $(_doc_external("Draw/PetscDrawGetMarkerType")) """ function PetscDrawGetMarkerType(petsclib::PetscLibType, draw::PetscDraw) - error("PetscDrawGetMarkerType: no generated method for these argument types") + throw(MethodError(PetscDrawGetMarkerType, (petsclib, draw))) end @for_petsc function PetscDrawGetMarkerType(petsclib::$UnionPetscLib, draw::PetscDraw ) @@ -1323,7 +1323,7 @@ See also: `PetscDraw`, `PetscDrawButton` $(_doc_external("Draw/PetscDrawGetMouseButton")) """ function PetscDrawGetMouseButton(petsclib::PetscLibType, draw::PetscDraw) - error("PetscDrawGetMouseButton: no generated method for these argument types") + throw(MethodError(PetscDrawGetMouseButton, (petsclib, draw))) end @for_petsc function PetscDrawGetMouseButton(petsclib::$UnionPetscLib, draw::PetscDraw ) @@ -1368,7 +1368,7 @@ See also: `PetscDraw`, `PetscDrawSetPause()`, `PetscDrawPause()` $(_doc_external("Draw/PetscDrawGetPause")) """ function PetscDrawGetPause(petsclib::PetscLibType, draw::PetscDraw) - error("PetscDrawGetPause: no generated method for these argument types") + throw(MethodError(PetscDrawGetPause, (petsclib, draw))) end @for_petsc function PetscDrawGetPause(petsclib::$UnionPetscLib, draw::PetscDraw ) @@ -1406,7 +1406,7 @@ See also: `PetscDraw`, `PetscDrawScalePopup()`, `PetscDrawCreate()` $(_doc_external("Draw/PetscDrawGetPopup")) """ function PetscDrawGetPopup(petsclib::PetscLibType, draw::PetscDraw) - error("PetscDrawGetPopup: no generated method for these argument types") + throw(MethodError(PetscDrawGetPopup, (petsclib, draw))) end @for_petsc function PetscDrawGetPopup(petsclib::$UnionPetscLib, draw::PetscDraw ) @@ -1445,7 +1445,7 @@ See also: `PetscDraw`, `PetscDrawRestoreSingleton()`, `PetscViewerGetSingleton() $(_doc_external("Draw/PetscDrawGetSingleton")) """ function PetscDrawGetSingleton(petsclib::PetscLibType, draw::PetscDraw) - error("PetscDrawGetSingleton: no generated method for these argument types") + throw(MethodError(PetscDrawGetSingleton, (petsclib, draw))) end @for_petsc function PetscDrawGetSingleton(petsclib::$UnionPetscLib, draw::PetscDraw ) @@ -1483,7 +1483,7 @@ See also: `PetscDraw`, `PetscDrawSetTitle()` $(_doc_external("Draw/PetscDrawGetTitle")) """ function PetscDrawGetTitle(petsclib::PetscLibType, draw::PetscDraw) - error("PetscDrawGetTitle: no generated method for these argument types") + throw(MethodError(PetscDrawGetTitle, (petsclib, draw))) end @for_petsc function PetscDrawGetTitle(petsclib::$UnionPetscLib, draw::PetscDraw ) @@ -1521,7 +1521,7 @@ See also: `PetscDraw`, `PetscDrawType`, `PetscDrawSetType()`, `PetscDrawCreate() $(_doc_external("Draw/PetscDrawGetType")) """ function PetscDrawGetType(petsclib::PetscLibType, draw::PetscDraw) - error("PetscDrawGetType: no generated method for these argument types") + throw(MethodError(PetscDrawGetType, (petsclib, draw))) end @for_petsc function PetscDrawGetType(petsclib::$UnionPetscLib, draw::PetscDraw ) @@ -1563,7 +1563,7 @@ See also: `PetscDraw`, `PetscDrawSplitViewPort()`, `PetscDrawSetViewPort()` $(_doc_external("Draw/PetscDrawGetViewPort")) """ function PetscDrawGetViewPort(petsclib::PetscLibType, draw::PetscDraw) - error("PetscDrawGetViewPort: no generated method for these argument types") + throw(MethodError(PetscDrawGetViewPort, (petsclib, draw))) end @for_petsc function PetscDrawGetViewPort(petsclib::$UnionPetscLib, draw::PetscDraw ) @@ -1608,7 +1608,7 @@ See also: `PetscDraw`, `PetscDrawResizeWindow()`, `PetscDrawCheckResizedWindow() $(_doc_external("Draw/PetscDrawGetWindowSize")) """ function PetscDrawGetWindowSize(petsclib::PetscLibType, draw::PetscDraw) - error("PetscDrawGetWindowSize: no generated method for these argument types") + throw(MethodError(PetscDrawGetWindowSize, (petsclib, draw))) end @for_petsc function PetscDrawGetWindowSize(petsclib::$UnionPetscLib, draw::PetscDraw ) @@ -1646,7 +1646,7 @@ See also: `PetscDrawHGCreate()`, `PetscDrawHG`, `PetscDrawHGDraw()`, `PetscDrawH $(_doc_external("Draw/PetscDrawHGAddValue")) """ function PetscDrawHGAddValue(petsclib::PetscLibType, hist::PetscDrawHG, value::Real) - error("PetscDrawHGAddValue: no generated method for these argument types") + throw(MethodError(PetscDrawHGAddValue, (petsclib, hist, value))) end @for_petsc function PetscDrawHGAddValue(petsclib::$UnionPetscLib, hist::PetscDrawHG, value::$PetscReal ) @@ -1681,7 +1681,7 @@ See also: `PetscDrawHGCreate()`, `PetscDrawHG`, `PetscDrawHGDraw()`, `PetscDrawH $(_doc_external("Draw/PetscDrawHGAddWeightedValue")) """ function PetscDrawHGAddWeightedValue(petsclib::PetscLibType, hist::PetscDrawHG, value::Real, weight::Real) - error("PetscDrawHGAddWeightedValue: no generated method for these argument types") + throw(MethodError(PetscDrawHGAddWeightedValue, (petsclib, hist, value, weight))) end @for_petsc function PetscDrawHGAddWeightedValue(petsclib::$UnionPetscLib, hist::PetscDrawHG, value::$PetscReal, weight::$PetscReal ) @@ -1715,7 +1715,7 @@ See also: `PetscDrawHG`, `PetscDrawHGCreate()`, `PetscDrawHGAddValue()`, `PetscD $(_doc_external("Draw/PetscDrawHGCalcStats")) """ function PetscDrawHGCalcStats(petsclib::PetscLibType, hist::PetscDrawHG, calc::PetscBool) - error("PetscDrawHGCalcStats: no generated method for these argument types") + throw(MethodError(PetscDrawHGCalcStats, (petsclib, hist, calc))) end @for_petsc function PetscDrawHGCalcStats(petsclib::$UnionPetscLib, hist::PetscDrawHG, calc::PetscBool ) @@ -1754,7 +1754,7 @@ See also: `PetscDrawHGDestroy()`, `PetscDrawHG`, `PetscDrawBarCreate()`, `PetscD $(_doc_external("Draw/PetscDrawHGCreate")) """ function PetscDrawHGCreate(petsclib::PetscLibType, draw::PetscDraw, bins::Cint) - error("PetscDrawHGCreate: no generated method for these argument types") + throw(MethodError(PetscDrawHGCreate, (petsclib, draw, bins))) end @for_petsc function PetscDrawHGCreate(petsclib::$UnionPetscLib, draw::PetscDraw, bins::Cint ) @@ -1789,7 +1789,7 @@ See also: `PetscDrawHGCreate()`, `PetscDrawHG` $(_doc_external("Draw/PetscDrawHGDestroy")) """ function PetscDrawHGDestroy(petsclib::PetscLibType, hist::Union{PetscDrawHG, Ref{PetscDrawHG}}) - error("PetscDrawHGDestroy: no generated method for these argument types") + throw(MethodError(PetscDrawHGDestroy, (petsclib, hist))) end @for_petsc function PetscDrawHGDestroy(petsclib::$UnionPetscLib, hist::Union{PetscDrawHG, Ref{PetscDrawHG}} ) @@ -1823,7 +1823,7 @@ See also: `PetscDrawHGCreate()`, `PetscDrawHG`, `PetscDrawHGAddValue()`, `PetscD $(_doc_external("Draw/PetscDrawHGDraw")) """ function PetscDrawHGDraw(petsclib::PetscLibType, hist::PetscDrawHG) - error("PetscDrawHGDraw: no generated method for these argument types") + throw(MethodError(PetscDrawHGDraw, (petsclib, hist))) end @for_petsc function PetscDrawHGDraw(petsclib::$UnionPetscLib, hist::PetscDrawHG ) @@ -1862,7 +1862,7 @@ See also: `PetscDrawHG`, `PetscDrawAxis`, `PetscDrawHGCreate()`, `PetscDrawHGAdd $(_doc_external("Draw/PetscDrawHGGetAxis")) """ function PetscDrawHGGetAxis(petsclib::PetscLibType, hist::PetscDrawHG) - error("PetscDrawHGGetAxis: no generated method for these argument types") + throw(MethodError(PetscDrawHGGetAxis, (petsclib, hist))) end @for_petsc function PetscDrawHGGetAxis(petsclib::$UnionPetscLib, hist::PetscDrawHG ) @@ -1900,7 +1900,7 @@ See also: `PetscDraw`, `PetscDrawHG`, `PetscDrawHGCreate()`, `PetscDrawHGAddValu $(_doc_external("Draw/PetscDrawHGGetDraw")) """ function PetscDrawHGGetDraw(petsclib::PetscLibType, hist::PetscDrawHG) - error("PetscDrawHGGetDraw: no generated method for these argument types") + throw(MethodError(PetscDrawHGGetDraw, (petsclib, hist))) end @for_petsc function PetscDrawHGGetDraw(petsclib::$UnionPetscLib, hist::PetscDrawHG ) @@ -1936,7 +1936,7 @@ See also: `PetscDrawHG`, `PetscDrawHGCreate()`, `PetscDrawHGAddValue()`, `PetscD $(_doc_external("Draw/PetscDrawHGIntegerBins")) """ function PetscDrawHGIntegerBins(petsclib::PetscLibType, hist::PetscDrawHG, ints::PetscBool) - error("PetscDrawHGIntegerBins: no generated method for these argument types") + throw(MethodError(PetscDrawHGIntegerBins, (petsclib, hist, ints))) end @for_petsc function PetscDrawHGIntegerBins(petsclib::$UnionPetscLib, hist::PetscDrawHG, ints::PetscBool ) @@ -1969,7 +1969,7 @@ See also: `PetscDrawHGCreate()`, `PetscDrawHG`, `PetscDrawHGDraw()`, `PetscDrawH $(_doc_external("Draw/PetscDrawHGReset")) """ function PetscDrawHGReset(petsclib::PetscLibType, hist::PetscDrawHG) - error("PetscDrawHGReset: no generated method for these argument types") + throw(MethodError(PetscDrawHGReset, (petsclib, hist))) end @for_petsc function PetscDrawHGReset(petsclib::$UnionPetscLib, hist::PetscDrawHG ) @@ -2002,7 +2002,7 @@ See also: `PetscDrawSave()`, `PetscDrawHGCreate()`, `PetscDrawHGGetDraw()`, `Pet $(_doc_external("Draw/PetscDrawHGSave")) """ function PetscDrawHGSave(petsclib::PetscLibType, hg::PetscDrawHG) - error("PetscDrawHGSave: no generated method for these argument types") + throw(MethodError(PetscDrawHGSave, (petsclib, hg))) end @for_petsc function PetscDrawHGSave(petsclib::$UnionPetscLib, hg::PetscDrawHG ) @@ -2036,7 +2036,7 @@ See also: `PetscDrawHG`, `PetscDrawHGCreate()`, `PetscDrawHGGetDraw()`, `PetscDr $(_doc_external("Draw/PetscDrawHGSetColor")) """ function PetscDrawHGSetColor(petsclib::PetscLibType, hist::PetscDrawHG, color::Cint) - error("PetscDrawHGSetColor: no generated method for these argument types") + throw(MethodError(PetscDrawHGSetColor, (petsclib, hist, color))) end @for_petsc function PetscDrawHGSetColor(petsclib::$UnionPetscLib, hist::PetscDrawHG, color::Cint ) @@ -2075,7 +2075,7 @@ See also: `PetscDrawHG`, `PetscDrawHGCreate()`, `PetscDrawHGGetDraw()`, `PetscDr $(_doc_external("Draw/PetscDrawHGSetLimits")) """ function PetscDrawHGSetLimits(petsclib::PetscLibType, hist::PetscDrawHG, x_min::Real, x_max::Real, y_min::Cint, y_max::Cint) - error("PetscDrawHGSetLimits: no generated method for these argument types") + throw(MethodError(PetscDrawHGSetLimits, (petsclib, hist, x_min, x_max, y_min, y_max))) end @for_petsc function PetscDrawHGSetLimits(petsclib::$UnionPetscLib, hist::PetscDrawHG, x_min::$PetscReal, x_max::$PetscReal, y_min::Cint, y_max::Cint ) @@ -2109,7 +2109,7 @@ See also: `PetscDrawHGCreate()`, `PetscDrawHG`, `PetscDrawHGDraw()`, `PetscDrawH $(_doc_external("Draw/PetscDrawHGSetNumberBins")) """ function PetscDrawHGSetNumberBins(petsclib::PetscLibType, hist::PetscDrawHG, bins::Cint) - error("PetscDrawHGSetNumberBins: no generated method for these argument types") + throw(MethodError(PetscDrawHGSetNumberBins, (petsclib, hist, bins))) end @for_petsc function PetscDrawHGSetNumberBins(petsclib::$UnionPetscLib, hist::PetscDrawHG, bins::Cint ) @@ -2143,7 +2143,7 @@ See also: `PetscDrawHG`, `PetscViewer`, `PetscDrawHGCreate()`, `PetscDrawHGGetDr $(_doc_external("Draw/PetscDrawHGView")) """ function PetscDrawHGView(petsclib::PetscLibType, hist::PetscDrawHG, viewer::PetscViewer) - error("PetscDrawHGView: no generated method for these argument types") + throw(MethodError(PetscDrawHGView, (petsclib, hist, viewer))) end @for_petsc function PetscDrawHGView(petsclib::$UnionPetscLib, hist::PetscDrawHG, viewer::PetscViewer ) @@ -2183,7 +2183,7 @@ See also: `PetscDraw` $(_doc_external("Draw/PetscDrawIndicatorFunction")) """ function PetscDrawIndicatorFunction(petsclib::PetscLibType, draw::PetscDraw, xmin::Real, xmax::Real, ymin::Real, ymax::Real, c::Cint, indicator::external, ctx::Ptr{Cvoid}) - error("PetscDrawIndicatorFunction: no generated method for these argument types") + throw(MethodError(PetscDrawIndicatorFunction, (petsclib, draw, xmin, xmax, ymin, ymax, c, indicator, ctx))) end @for_petsc function PetscDrawIndicatorFunction(petsclib::$UnionPetscLib, draw::PetscDraw, xmin::$PetscReal, xmax::$PetscReal, ymin::$PetscReal, ymax::$PetscReal, c::Cint, indicator::external, ctx::Ptr{Cvoid} ) @@ -2213,7 +2213,7 @@ See also: `PetscDraw`, `PetscInitialize()` $(_doc_external("Draw/PetscDrawInitializePackage")) """ function PetscDrawInitializePackage(petsclib::PetscLibType) - error("PetscDrawInitializePackage: no generated method for these argument types") + throw(MethodError(PetscDrawInitializePackage, (petsclib, ))) end @for_petsc function PetscDrawInitializePackage(petsclib::$UnionPetscLib) @@ -2248,7 +2248,7 @@ See also: `PetscDraw`, `PETSC_DRAW_NULL`, `PetscDrawOpenX()` $(_doc_external("Draw/PetscDrawIsNull")) """ function PetscDrawIsNull(petsclib::PetscLibType, draw::PetscDraw) - error("PetscDrawIsNull: no generated method for these argument types") + throw(MethodError(PetscDrawIsNull, (petsclib, draw))) end @for_petsc function PetscDrawIsNull(petsclib::$UnionPetscLib, draw::PetscDraw ) @@ -2286,7 +2286,7 @@ See also: `PetscDrawLG`, `PetscDrawLGCreate()`, `PetscDrawLGAddPoints()`, `Petsc $(_doc_external("Draw/PetscDrawLGAddCommonPoint")) """ function PetscDrawLGAddCommonPoint(petsclib::PetscLibType, lg::PetscDrawLG, x::Real, y::AbstractVector{<:Number}) - error("PetscDrawLGAddCommonPoint: no generated method for these argument types") + throw(MethodError(PetscDrawLGAddCommonPoint, (petsclib, lg, x, y))) end @for_petsc function PetscDrawLGAddCommonPoint(petsclib::$UnionPetscLib, lg::PetscDrawLG, x::$PetscReal, y::Vector{$PetscReal} ) @@ -2322,7 +2322,7 @@ See also: `PetscDrawLG`, `PetscDrawLGCreate()`, `PetscDrawLGAddPoints()`, `Petsc $(_doc_external("Draw/PetscDrawLGAddPoint")) """ function PetscDrawLGAddPoint(petsclib::PetscLibType, lg::PetscDrawLG, x::AbstractVector{<:Number}, y::AbstractVector{<:Number}) - error("PetscDrawLGAddPoint: no generated method for these argument types") + throw(MethodError(PetscDrawLGAddPoint, (petsclib, lg, x, y))) end @for_petsc function PetscDrawLGAddPoint(petsclib::$UnionPetscLib, lg::PetscDrawLG, x::Vector{$PetscReal}, y::Vector{$PetscReal} ) @@ -2359,7 +2359,7 @@ See also: `PetscDrawLG`, `PetscDrawLGCreate()`, `PetscDrawLGAddPoint()`, `PetscD $(_doc_external("Draw/PetscDrawLGAddPoints")) """ function PetscDrawLGAddPoints(petsclib::PetscLibType, lg::PetscDrawLG, n::Integer, xx::Union{Ptr, AbstractArray{<:Number}}, yy::Union{Ptr, AbstractArray{<:Number}}) - error("PetscDrawLGAddPoints: no generated method for these argument types") + throw(MethodError(PetscDrawLGAddPoints, (petsclib, lg, n, xx, yy))) end @for_petsc function PetscDrawLGAddPoints(petsclib::$UnionPetscLib, lg::PetscDrawLG, n::$PetscInt, xx::Union{Ptr, AbstractArray{$PetscReal}}, yy::Union{Ptr, AbstractArray{$PetscReal}} ) @@ -2400,7 +2400,7 @@ See also: `PetscDrawLGDestroy()`, `PetscDrawLGAddPoint()`, `PetscDrawLGAddCommon $(_doc_external("Draw/PetscDrawLGCreate")) """ function PetscDrawLGCreate(petsclib::PetscLibType, draw::PetscDraw, dim::Integer) - error("PetscDrawLGCreate: no generated method for these argument types") + throw(MethodError(PetscDrawLGCreate, (petsclib, draw, dim))) end @for_petsc function PetscDrawLGCreate(petsclib::$UnionPetscLib, draw::PetscDraw, dim::$PetscInt ) @@ -2435,7 +2435,7 @@ See also: `PetscDrawLG`, `PetscDrawLGCreate()` $(_doc_external("Draw/PetscDrawLGDestroy")) """ function PetscDrawLGDestroy(petsclib::PetscLibType, lg::Union{PetscDrawLG, Ref{PetscDrawLG}}) - error("PetscDrawLGDestroy: no generated method for these argument types") + throw(MethodError(PetscDrawLGDestroy, (petsclib, lg))) end @for_petsc function PetscDrawLGDestroy(petsclib::$UnionPetscLib, lg::Union{PetscDrawLG, Ref{PetscDrawLG}} ) @@ -2469,7 +2469,7 @@ See also: `PetscDrawLG`, `PetscDrawSPDraw()`, `PetscDrawLGSPDraw()`, `PetscDrawL $(_doc_external("Draw/PetscDrawLGDraw")) """ function PetscDrawLGDraw(petsclib::PetscLibType, lg::PetscDrawLG) - error("PetscDrawLGDraw: no generated method for these argument types") + throw(MethodError(PetscDrawLGDraw, (petsclib, lg))) end @for_petsc function PetscDrawLGDraw(petsclib::$UnionPetscLib, lg::PetscDrawLG ) @@ -2508,7 +2508,7 @@ See also: `PetscDrawLGCreate()`, `PetscDrawAxis`, `PetscDrawLG` $(_doc_external("Draw/PetscDrawLGGetAxis")) """ function PetscDrawLGGetAxis(petsclib::PetscLibType, lg::PetscDrawLG) - error("PetscDrawLGGetAxis: no generated method for these argument types") + throw(MethodError(PetscDrawLGGetAxis, (petsclib, lg))) end @for_petsc function PetscDrawLGGetAxis(petsclib::$UnionPetscLib, lg::PetscDrawLG ) @@ -2549,7 +2549,7 @@ See also: `PetscDrawLGC`, `PetscDrawLGCreate()`, `PetscDrawLGGetDimension()` $(_doc_external("Draw/PetscDrawLGGetData")) """ function PetscDrawLGGetData(petsclib::PetscLibType, lg::PetscDrawLG) - error("PetscDrawLGGetData: no generated method for these argument types") + throw(MethodError(PetscDrawLGGetData, (petsclib, lg))) end @for_petsc function PetscDrawLGGetData(petsclib::$UnionPetscLib, lg::PetscDrawLG ) @@ -2593,7 +2593,7 @@ See also: `PetscDrawLGC`, `PetscDrawLGCreate()`, `PetscDrawLGSetDimension()` $(_doc_external("Draw/PetscDrawLGGetDimension")) """ function PetscDrawLGGetDimension(petsclib::PetscLibType, lg::PetscDrawLG) - error("PetscDrawLGGetDimension: no generated method for these argument types") + throw(MethodError(PetscDrawLGGetDimension, (petsclib, lg))) end @for_petsc function PetscDrawLGGetDimension(petsclib::$UnionPetscLib, lg::PetscDrawLG ) @@ -2631,7 +2631,7 @@ See also: `PetscDrawLGCreate()`, `PetscDraw`, `PetscDrawLG` $(_doc_external("Draw/PetscDrawLGGetDraw")) """ function PetscDrawLGGetDraw(petsclib::PetscLibType, lg::PetscDrawLG) - error("PetscDrawLGGetDraw: no generated method for these argument types") + throw(MethodError(PetscDrawLGGetDraw, (petsclib, lg))) end @for_petsc function PetscDrawLGGetDraw(petsclib::$UnionPetscLib, lg::PetscDrawLG ) @@ -2666,7 +2666,7 @@ See also: `PetscDrawLG`, `PetscDrawLGCreate()` $(_doc_external("Draw/PetscDrawLGReset")) """ function PetscDrawLGReset(petsclib::PetscLibType, lg::PetscDrawLG) - error("PetscDrawLGReset: no generated method for these argument types") + throw(MethodError(PetscDrawLGReset, (petsclib, lg))) end @for_petsc function PetscDrawLGReset(petsclib::$UnionPetscLib, lg::PetscDrawLG ) @@ -2700,7 +2700,7 @@ See also: `PetscDrawLGDraw()`, `PetscDrawSPDraw()` $(_doc_external("Draw/PetscDrawLGSPDraw")) """ function PetscDrawLGSPDraw(petsclib::PetscLibType, lg::PetscDrawLG, spin::PetscDrawSP) - error("PetscDrawLGSPDraw: no generated method for these argument types") + throw(MethodError(PetscDrawLGSPDraw, (petsclib, lg, spin))) end @for_petsc function PetscDrawLGSPDraw(petsclib::$UnionPetscLib, lg::PetscDrawLG, spin::PetscDrawSP ) @@ -2733,7 +2733,7 @@ See also: `PetscDrawLG`, `PetscDrawSave()`, `PetscDrawLGCreate()`, `PetscDrawLGG $(_doc_external("Draw/PetscDrawLGSave")) """ function PetscDrawLGSave(petsclib::PetscLibType, lg::PetscDrawLG) - error("PetscDrawLGSave: no generated method for these argument types") + throw(MethodError(PetscDrawLGSave, (petsclib, lg))) end @for_petsc function PetscDrawLGSave(petsclib::$UnionPetscLib, lg::PetscDrawLG ) @@ -2767,7 +2767,7 @@ See also: `PetscDrawLG`, `PetscDrawLGCreate()`, `PetscDrawLGSetDimension()`, `Pe $(_doc_external("Draw/PetscDrawLGSetColors")) """ function PetscDrawLGSetColors(petsclib::PetscLibType, lg::PetscDrawLG, colors::Vector{Cint}) - error("PetscDrawLGSetColors: no generated method for these argument types") + throw(MethodError(PetscDrawLGSetColors, (petsclib, lg, colors))) end @for_petsc function PetscDrawLGSetColors(petsclib::$UnionPetscLib, lg::PetscDrawLG, colors::Vector{Cint} ) @@ -2801,7 +2801,7 @@ See also: `PetscDrawLGCreate()`, `PetscDrawLGGetDimension()` $(_doc_external("Draw/PetscDrawLGSetDimension")) """ function PetscDrawLGSetDimension(petsclib::PetscLibType, lg::PetscDrawLG, dim::Integer) - error("PetscDrawLGSetDimension: no generated method for these argument types") + throw(MethodError(PetscDrawLGSetDimension, (petsclib, lg, dim))) end @for_petsc function PetscDrawLGSetDimension(petsclib::$UnionPetscLib, lg::PetscDrawLG, dim::$PetscInt ) @@ -2837,7 +2837,7 @@ See also: `PetscDrawLG`, `PetscDrawLGDestroy()`, `PetscDrawLGCreate()` $(_doc_external("Draw/PetscDrawLGSetFromOptions")) """ function PetscDrawLGSetFromOptions(petsclib::PetscLibType, lg::PetscDrawLG) - error("PetscDrawLGSetFromOptions: no generated method for these argument types") + throw(MethodError(PetscDrawLGSetFromOptions, (petsclib, lg))) end @for_petsc function PetscDrawLGSetFromOptions(petsclib::$UnionPetscLib, lg::PetscDrawLG ) @@ -2871,7 +2871,7 @@ See also: `PetscDrawLGGetAxis()`, `PetscDrawAxis`, `PetscDrawAxisSetColors()`, ` $(_doc_external("Draw/PetscDrawLGSetLegend")) """ function PetscDrawLGSetLegend(petsclib::PetscLibType, lg::PetscDrawLG, names::String) - error("PetscDrawLGSetLegend: no generated method for these argument types") + throw(MethodError(PetscDrawLGSetLegend, (petsclib, lg, names))) end @for_petsc function PetscDrawLGSetLegend(petsclib::$UnionPetscLib, lg::PetscDrawLG, names::String ) @@ -2911,7 +2911,7 @@ See also: `PetscDrawLGCreate()`, `PetscDrawLG`, `PetscDrawAxis` $(_doc_external("Draw/PetscDrawLGSetLimits")) """ function PetscDrawLGSetLimits(petsclib::PetscLibType, lg::PetscDrawLG, x_min::Real, x_max::Real, y_min::Real, y_max::Real) - error("PetscDrawLGSetLimits: no generated method for these argument types") + throw(MethodError(PetscDrawLGSetLimits, (petsclib, lg, x_min, x_max, y_min, y_max))) end @for_petsc function PetscDrawLGSetLimits(petsclib::$UnionPetscLib, lg::PetscDrawLG, x_min::$PetscReal, x_max::$PetscReal, y_min::$PetscReal, y_max::$PetscReal ) @@ -2946,7 +2946,7 @@ See also: `PetscDrawLG`, `PetscDrawLGSetFromOptions()`, `PetscDrawLGCreate()` $(_doc_external("Draw/PetscDrawLGSetOptionsPrefix")) """ function PetscDrawLGSetOptionsPrefix(petsclib::PetscLibType, lg::PetscDrawLG, prefix::String) - error("PetscDrawLGSetOptionsPrefix: no generated method for these argument types") + throw(MethodError(PetscDrawLGSetOptionsPrefix, (petsclib, lg, prefix))) end @for_petsc function PetscDrawLGSetOptionsPrefix(petsclib::$UnionPetscLib, lg::PetscDrawLG, prefix::String ) @@ -2983,7 +2983,7 @@ See also: `PetscDrawLG`, `PetscDrawLGCreate()` $(_doc_external("Draw/PetscDrawLGSetUseMarkers")) """ function PetscDrawLGSetUseMarkers(petsclib::PetscLibType, lg::PetscDrawLG, flg::PetscBool) - error("PetscDrawLGSetUseMarkers: no generated method for these argument types") + throw(MethodError(PetscDrawLGSetUseMarkers, (petsclib, lg, flg))) end @for_petsc function PetscDrawLGSetUseMarkers(petsclib::$UnionPetscLib, lg::PetscDrawLG, flg::PetscBool ) @@ -3017,7 +3017,7 @@ See also: `PetscDrawLG`, `PetscDrawLGCreate()` $(_doc_external("Draw/PetscDrawLGView")) """ function PetscDrawLGView(petsclib::PetscLibType, lg::PetscDrawLG, viewer::PetscViewer) - error("PetscDrawLGView: no generated method for these argument types") + throw(MethodError(PetscDrawLGView, (petsclib, lg, viewer))) end @for_petsc function PetscDrawLGView(petsclib::$UnionPetscLib, lg::PetscDrawLG, viewer::PetscViewer ) @@ -3056,7 +3056,7 @@ See also: `PetscDraw`, `PetscDrawArrow()`, `PetscDrawLineSetWidth()`, `PetscDraw $(_doc_external("Draw/PetscDrawLine")) """ function PetscDrawLine(petsclib::PetscLibType, draw::PetscDraw, xl::Real, yl::Real, xr::Real, yr::Real, cl::Cint) - error("PetscDrawLine: no generated method for these argument types") + throw(MethodError(PetscDrawLine, (petsclib, draw, xl, yl, xr, yr, cl))) end @for_petsc function PetscDrawLine(petsclib::$UnionPetscLib, draw::PetscDraw, xl::$PetscReal, yl::$PetscReal, xr::$PetscReal, yr::$PetscReal, cl::Cint ) @@ -3094,7 +3094,7 @@ See also: `PetscDraw`, `PetscDrawLineSetWidth()`, `PetscDrawLine()`, `PetscDrawA $(_doc_external("Draw/PetscDrawLineGetWidth")) """ function PetscDrawLineGetWidth(petsclib::PetscLibType, draw::PetscDraw) - error("PetscDrawLineGetWidth: no generated method for these argument types") + throw(MethodError(PetscDrawLineGetWidth, (petsclib, draw))) end @for_petsc function PetscDrawLineGetWidth(petsclib::$UnionPetscLib, draw::PetscDraw ) @@ -3132,7 +3132,7 @@ See also: `PetscDraw`, `PetscDrawLineGetWidth()`, `PetscDrawLine()`, `PetscDrawA $(_doc_external("Draw/PetscDrawLineSetWidth")) """ function PetscDrawLineSetWidth(petsclib::PetscLibType, draw::PetscDraw, width::Real) - error("PetscDrawLineSetWidth: no generated method for these argument types") + throw(MethodError(PetscDrawLineSetWidth, (petsclib, draw, width))) end @for_petsc function PetscDrawLineSetWidth(petsclib::$UnionPetscLib, draw::PetscDraw, width::$PetscReal ) @@ -3168,7 +3168,7 @@ See also: `PetscDraw`, `PetscDrawPoint()`, `PetscDrawString()`, `PetscDrawSetMar $(_doc_external("Draw/PetscDrawMarker")) """ function PetscDrawMarker(petsclib::PetscLibType, draw::PetscDraw, xl::Real, yl::Real, cl::Cint) - error("PetscDrawMarker: no generated method for these argument types") + throw(MethodError(PetscDrawMarker, (petsclib, draw, xl, yl, cl))) end @for_petsc function PetscDrawMarker(petsclib::$UnionPetscLib, draw::PetscDraw, xl::$PetscReal, yl::$PetscReal, cl::Cint ) @@ -3207,7 +3207,7 @@ See also: `PetscDraw`, `PETSC_DRAW_IMAGE`, `PETSC_DRAW_X`, `PetscDrawSetSave()`, $(_doc_external("Draw/PetscDrawOpenImage")) """ function PetscDrawOpenImage(petsclib::PetscLibType, comm::MPI_Comm, filename::String, w::Cint, h::Cint) - error("PetscDrawOpenImage: no generated method for these argument types") + throw(MethodError(PetscDrawOpenImage, (petsclib, comm, filename, w, h))) end @for_petsc function PetscDrawOpenImage(petsclib::$UnionPetscLib, comm::MPI_Comm, filename::String, w::Cint, h::Cint ) @@ -3244,7 +3244,7 @@ See also: `PetscDraw`, `PetscDrawIsNull()`, `PETSC_DRAW_NULL`, `PetscDrawOpenX() $(_doc_external("Draw/PetscDrawOpenNull")) """ function PetscDrawOpenNull(petsclib::PetscLibType, comm::MPI_Comm) - error("PetscDrawOpenNull: no generated method for these argument types") + throw(MethodError(PetscDrawOpenNull, (petsclib, comm))) end @for_petsc function PetscDrawOpenNull(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -3305,7 +3305,7 @@ See also: `PetscDrawFlush()`, `PetscDrawDestroy()`, `PetscDrawCreate()` $(_doc_external("Draw/PetscDrawOpenX")) """ function PetscDrawOpenX(petsclib::PetscLibType, comm::MPI_Comm, display::String, title::String, x::Cint, y::Cint, w::Cint, h::Cint) - error("PetscDrawOpenX: no generated method for these argument types") + throw(MethodError(PetscDrawOpenX, (petsclib, comm, display, title, x, y, w, h))) end @for_petsc function PetscDrawOpenX(petsclib::$UnionPetscLib, comm::MPI_Comm, display::String, title::String, x::Cint, y::Cint, w::Cint, h::Cint ) @@ -3341,7 +3341,7 @@ See also: `PetscDraw`, `PetscDrawSetPause()`, `PetscDrawGetPause()` $(_doc_external("Draw/PetscDrawPause")) """ function PetscDrawPause(petsclib::PetscLibType, draw::PetscDraw) - error("PetscDrawPause: no generated method for these argument types") + throw(MethodError(PetscDrawPause, (petsclib, draw))) end @for_petsc function PetscDrawPause(petsclib::$UnionPetscLib, draw::PetscDraw ) @@ -3380,7 +3380,7 @@ See also: `PetscDraw` $(_doc_external("Draw/PetscDrawPixelToCoordinate")) """ function PetscDrawPixelToCoordinate(petsclib::PetscLibType, draw::PetscDraw, i::Cint, j::Cint) - error("PetscDrawPixelToCoordinate: no generated method for these argument types") + throw(MethodError(PetscDrawPixelToCoordinate, (petsclib, draw, i, j))) end @for_petsc function PetscDrawPixelToCoordinate(petsclib::$UnionPetscLib, draw::PetscDraw, i::Cint, j::Cint ) @@ -3421,7 +3421,7 @@ See also: `PetscDraw`, `PetscDrawPointPixel()`, `PetscDrawPointSetSize()`, `Pets $(_doc_external("Draw/PetscDrawPoint")) """ function PetscDrawPoint(petsclib::PetscLibType, draw::PetscDraw, xl::Real, yl::Real, cl::Cint) - error("PetscDrawPoint: no generated method for these argument types") + throw(MethodError(PetscDrawPoint, (petsclib, draw, xl, yl, cl))) end @for_petsc function PetscDrawPoint(petsclib::$UnionPetscLib, draw::PetscDraw, xl::$PetscReal, yl::$PetscReal, cl::Cint ) @@ -3457,7 +3457,7 @@ See also: `PetscDraw`, `PetscDrawPoint()`, `PetscDrawPointSetSize()` $(_doc_external("Draw/PetscDrawPointPixel")) """ function PetscDrawPointPixel(petsclib::PetscLibType, draw::PetscDraw, x::Cint, y::Cint, c::Cint) - error("PetscDrawPointPixel: no generated method for these argument types") + throw(MethodError(PetscDrawPointPixel, (petsclib, draw, x, y, c))) end @for_petsc function PetscDrawPointPixel(petsclib::$UnionPetscLib, draw::PetscDraw, x::Cint, y::Cint, c::Cint ) @@ -3493,7 +3493,7 @@ See also: `PetscDraw`, `PetscDrawPoint()`, `PetscDrawMarker()` $(_doc_external("Draw/PetscDrawPointSetSize")) """ function PetscDrawPointSetSize(petsclib::PetscLibType, draw::PetscDraw, width::Real) - error("PetscDrawPointSetSize: no generated method for these argument types") + throw(MethodError(PetscDrawPointSetSize, (petsclib, draw, width))) end @for_petsc function PetscDrawPointSetSize(petsclib::$UnionPetscLib, draw::PetscDraw, width::$PetscReal ) @@ -3526,7 +3526,7 @@ See also: `PetscDraw`, `PetscDrawPushCurrentPoint()`, `PetscDrawSetCurrentPoint( $(_doc_external("Draw/PetscDrawPopCurrentPoint")) """ function PetscDrawPopCurrentPoint(petsclib::PetscLibType, draw::PetscDraw) - error("PetscDrawPopCurrentPoint: no generated method for these argument types") + throw(MethodError(PetscDrawPopCurrentPoint, (petsclib, draw))) end @for_petsc function PetscDrawPopCurrentPoint(petsclib::$UnionPetscLib, draw::PetscDraw ) @@ -3561,7 +3561,7 @@ See also: `PetscDraw`, `PetscDrawPopCurrentPoint()`, `PetscDrawGetCurrentPoint() $(_doc_external("Draw/PetscDrawPushCurrentPoint")) """ function PetscDrawPushCurrentPoint(petsclib::PetscLibType, draw::PetscDraw, x::Real, y::Real) - error("PetscDrawPushCurrentPoint: no generated method for these argument types") + throw(MethodError(PetscDrawPushCurrentPoint, (petsclib, draw, x, y))) end @for_petsc function PetscDrawPushCurrentPoint(petsclib::$UnionPetscLib, draw::PetscDraw, x::$PetscReal, y::$PetscReal ) @@ -3603,7 +3603,7 @@ See also: `PetscDraw`, `PetscDrawLine()`, `PetscDrawTriangle()`, `PetscDrawEllip $(_doc_external("Draw/PetscDrawRectangle")) """ function PetscDrawRectangle(petsclib::PetscLibType, draw::PetscDraw, xl::Real, yl::Real, xr::Real, yr::Real, c1::Cint, c2::Cint, c3::Cint, c4::Cint) - error("PetscDrawRectangle: no generated method for these argument types") + throw(MethodError(PetscDrawRectangle, (petsclib, draw, xl, yl, xr, yr, c1, c2, c3, c4))) end @for_petsc function PetscDrawRectangle(petsclib::$UnionPetscLib, draw::PetscDraw, xl::$PetscReal, yl::$PetscReal, xr::$PetscReal, yr::$PetscReal, c1::Cint, c2::Cint, c3::Cint, c4::Cint ) @@ -3637,7 +3637,7 @@ See also: `PetscDraw`, `PetscDrawRegisterAll()`, `PetscDrawRegisterDestroy()`, ` $(_doc_external("Draw/PetscDrawRegister")) """ function PetscDrawRegister(petsclib::PetscLibType, sname::String, fnc::external) - error("PetscDrawRegister: no generated method for these argument types") + throw(MethodError(PetscDrawRegister, (petsclib, sname, fnc))) end @for_petsc function PetscDrawRegister(petsclib::$UnionPetscLib, sname::String, fnc::external ) @@ -3672,7 +3672,7 @@ See also: `PetscDraw`, `PetscDrawCheckResizedWindow()` $(_doc_external("Draw/PetscDrawResizeWindow")) """ function PetscDrawResizeWindow(petsclib::PetscLibType, draw::PetscDraw, w::Cint, h::Cint) - error("PetscDrawResizeWindow: no generated method for these argument types") + throw(MethodError(PetscDrawResizeWindow, (petsclib, draw, w, h))) end @for_petsc function PetscDrawResizeWindow(petsclib::$UnionPetscLib, draw::PetscDraw, w::Cint, h::Cint ) @@ -3707,7 +3707,7 @@ See also: `PetscDraw`, `PetscDrawGetSingleton()`, `PetscViewerGetSingleton()`, ` $(_doc_external("Draw/PetscDrawRestoreSingleton")) """ function PetscDrawRestoreSingleton(petsclib::PetscLibType, draw::PetscDraw, sdraw::PetscDraw) - error("PetscDrawRestoreSingleton: no generated method for these argument types") + throw(MethodError(PetscDrawRestoreSingleton, (petsclib, draw, sdraw))) end @for_petsc function PetscDrawRestoreSingleton(petsclib::$UnionPetscLib, draw::PetscDraw, sdraw::PetscDraw ) @@ -3742,7 +3742,7 @@ See also: `PetscDrawSPAddPoints()`, `PetscDrawSP`, `PetscDrawSPCreate()`, `Petsc $(_doc_external("Draw/PetscDrawSPAddPoint")) """ function PetscDrawSPAddPoint(petsclib::PetscLibType, sp::PetscDrawSP) - error("PetscDrawSPAddPoint: no generated method for these argument types") + throw(MethodError(PetscDrawSPAddPoint, (petsclib, sp))) end @for_petsc function PetscDrawSPAddPoint(petsclib::$UnionPetscLib, sp::PetscDrawSP ) @@ -3782,7 +3782,7 @@ See also: `PetscDrawSPAddPoints()`, `PetscDrawSP`, `PetscDrawSPCreate()`, `Petsc $(_doc_external("Draw/PetscDrawSPAddPointColorized")) """ function PetscDrawSPAddPointColorized(petsclib::PetscLibType, sp::PetscDrawSP) - error("PetscDrawSPAddPointColorized: no generated method for these argument types") + throw(MethodError(PetscDrawSPAddPointColorized, (petsclib, sp))) end @for_petsc function PetscDrawSPAddPointColorized(petsclib::$UnionPetscLib, sp::PetscDrawSP ) @@ -3824,7 +3824,7 @@ See also: `PetscDrawSPAddPoint()`, `PetscDrawSP`, `PetscDrawSPCreate()`, `PetscD $(_doc_external("Draw/PetscDrawSPAddPoints")) """ function PetscDrawSPAddPoints(petsclib::PetscLibType, sp::PetscDrawSP, n::Cint, xx::Union{Ptr, AbstractArray{<:Number}}, yy::Union{Ptr, AbstractArray{<:Number}}) - error("PetscDrawSPAddPoints: no generated method for these argument types") + throw(MethodError(PetscDrawSPAddPoints, (petsclib, sp, n, xx, yy))) end @for_petsc function PetscDrawSPAddPoints(petsclib::$UnionPetscLib, sp::PetscDrawSP, n::Cint, xx::Union{Ptr, AbstractArray{$PetscReal}}, yy::Union{Ptr, AbstractArray{$PetscReal}} ) @@ -3864,7 +3864,7 @@ See also: `PetscDrawLGCreate()`, `PetscDrawLG`, `PetscDrawBarCreate()`, `PetscDr $(_doc_external("Draw/PetscDrawSPCreate")) """ function PetscDrawSPCreate(petsclib::PetscLibType, draw::PetscDraw, dim::Cint) - error("PetscDrawSPCreate: no generated method for these argument types") + throw(MethodError(PetscDrawSPCreate, (petsclib, draw, dim))) end @for_petsc function PetscDrawSPCreate(petsclib::$UnionPetscLib, draw::PetscDraw, dim::Cint ) @@ -3899,7 +3899,7 @@ See also: `PetscDrawSPCreate()`, `PetscDrawSP`, `PetscDrawSPReset()` $(_doc_external("Draw/PetscDrawSPDestroy")) """ function PetscDrawSPDestroy(petsclib::PetscLibType, sp::Union{PetscDrawSP, Ref{PetscDrawSP}}) - error("PetscDrawSPDestroy: no generated method for these argument types") + throw(MethodError(PetscDrawSPDestroy, (petsclib, sp))) end @for_petsc function PetscDrawSPDestroy(petsclib::$UnionPetscLib, sp::Union{PetscDrawSP, Ref{PetscDrawSP}} ) @@ -3934,7 +3934,7 @@ See also: `PetscDrawLGDraw()`, `PetscDrawLGSPDraw()`, `PetscDrawSP`, `PetscDrawS $(_doc_external("Draw/PetscDrawSPDraw")) """ function PetscDrawSPDraw(petsclib::PetscLibType, sp::PetscDrawSP, clear::PetscBool) - error("PetscDrawSPDraw: no generated method for these argument types") + throw(MethodError(PetscDrawSPDraw, (petsclib, sp, clear))) end @for_petsc function PetscDrawSPDraw(petsclib::$UnionPetscLib, sp::PetscDrawSP, clear::PetscBool ) @@ -3970,7 +3970,7 @@ See also: `PetscDrawSP`, `PetscDrawSPCreate()`, `PetscDrawSPDraw()`, `PetscDrawS $(_doc_external("Draw/PetscDrawSPGetAxis")) """ function PetscDrawSPGetAxis(petsclib::PetscLibType, sp::PetscDrawSP) - error("PetscDrawSPGetAxis: no generated method for these argument types") + throw(MethodError(PetscDrawSPGetAxis, (petsclib, sp))) end @for_petsc function PetscDrawSPGetAxis(petsclib::$UnionPetscLib, sp::PetscDrawSP ) @@ -4008,7 +4008,7 @@ See also: `PetscDrawSP`, `PetscDrawSPCreate()`, `PetscDrawSPAddPoint()`, `PetscD $(_doc_external("Draw/PetscDrawSPGetDimension")) """ function PetscDrawSPGetDimension(petsclib::PetscLibType, sp::PetscDrawSP) - error("PetscDrawSPGetDimension: no generated method for these argument types") + throw(MethodError(PetscDrawSPGetDimension, (petsclib, sp))) end @for_petsc function PetscDrawSPGetDimension(petsclib::$UnionPetscLib, sp::PetscDrawSP ) @@ -4046,7 +4046,7 @@ See also: `PetscDrawSP`, `PetscDrawSPCreate()`, `PetscDrawSPDraw()`, `PetscDraw` $(_doc_external("Draw/PetscDrawSPGetDraw")) """ function PetscDrawSPGetDraw(petsclib::PetscLibType, sp::PetscDrawSP) - error("PetscDrawSPGetDraw: no generated method for these argument types") + throw(MethodError(PetscDrawSPGetDraw, (petsclib, sp))) end @for_petsc function PetscDrawSPGetDraw(petsclib::$UnionPetscLib, sp::PetscDrawSP ) @@ -4081,7 +4081,7 @@ See also: `PetscDrawSP`, `PetscDrawSPCreate()`, `PetscDrawSPAddPoint()`, `PetscD $(_doc_external("Draw/PetscDrawSPReset")) """ function PetscDrawSPReset(petsclib::PetscLibType, sp::PetscDrawSP) - error("PetscDrawSPReset: no generated method for these argument types") + throw(MethodError(PetscDrawSPReset, (petsclib, sp))) end @for_petsc function PetscDrawSPReset(petsclib::$UnionPetscLib, sp::PetscDrawSP ) @@ -4114,7 +4114,7 @@ See also: `PetscDrawSPCreate()`, `PetscDrawSPGetDraw()`, `PetscDrawSetSave()`, ` $(_doc_external("Draw/PetscDrawSPSave")) """ function PetscDrawSPSave(petsclib::PetscLibType, sp::PetscDrawSP) - error("PetscDrawSPSave: no generated method for these argument types") + throw(MethodError(PetscDrawSPSave, (petsclib, sp))) end @for_petsc function PetscDrawSPSave(petsclib::$UnionPetscLib, sp::PetscDrawSP ) @@ -4148,7 +4148,7 @@ See also: `PetscDrawSP`, `PetscDrawSPCreate()`, `PetscDrawSPAddPoint()`, `PetscD $(_doc_external("Draw/PetscDrawSPSetDimension")) """ function PetscDrawSPSetDimension(petsclib::PetscLibType, sp::PetscDrawSP, dim::Cint) - error("PetscDrawSPSetDimension: no generated method for these argument types") + throw(MethodError(PetscDrawSPSetDimension, (petsclib, sp, dim))) end @for_petsc function PetscDrawSPSetDimension(petsclib::$UnionPetscLib, sp::PetscDrawSP, dim::Cint ) @@ -4185,7 +4185,7 @@ See also: `PetscDrawSP`, `PetscDrawAxis`, `PetscDrawSPCreate()`, `PetscDrawSPDra $(_doc_external("Draw/PetscDrawSPSetLimits")) """ function PetscDrawSPSetLimits(petsclib::PetscLibType, sp::PetscDrawSP, x_min::Real, x_max::Real, y_min::Real, y_max::Real) - error("PetscDrawSPSetLimits: no generated method for these argument types") + throw(MethodError(PetscDrawSPSetLimits, (petsclib, sp, x_min, x_max, y_min, y_max))) end @for_petsc function PetscDrawSPSetLimits(petsclib::$UnionPetscLib, sp::PetscDrawSP, x_min::$PetscReal, x_max::$PetscReal, y_min::$PetscReal, y_max::$PetscReal ) @@ -4218,7 +4218,7 @@ See also: `PetscDraw`, `PetscDrawSetSave()` $(_doc_external("Draw/PetscDrawSave")) """ function PetscDrawSave(petsclib::PetscLibType, draw::PetscDraw) - error("PetscDrawSave: no generated method for these argument types") + throw(MethodError(PetscDrawSave, (petsclib, draw))) end @for_petsc function PetscDrawSave(petsclib::$UnionPetscLib, draw::PetscDraw ) @@ -4251,7 +4251,7 @@ See also: `PetscDraw`, `PetscDrawSetSave()`, `PetscDrawSetSaveMovie()` $(_doc_external("Draw/PetscDrawSaveMovie")) """ function PetscDrawSaveMovie(petsclib::PetscLibType, draw::PetscDraw) - error("PetscDrawSaveMovie: no generated method for these argument types") + throw(MethodError(PetscDrawSaveMovie, (petsclib, draw))) end @for_petsc function PetscDrawSaveMovie(petsclib::$UnionPetscLib, draw::PetscDraw ) @@ -4286,7 +4286,7 @@ See also: `PetscDraw`, `PetscDrawGetPopup()`, `PetscDrawTensorContour()` $(_doc_external("Draw/PetscDrawScalePopup")) """ function PetscDrawScalePopup(petsclib::PetscLibType, popup::PetscDraw, min::Real, max::Real) - error("PetscDrawScalePopup: no generated method for these argument types") + throw(MethodError(PetscDrawScalePopup, (petsclib, popup, min, max))) end @for_petsc function PetscDrawScalePopup(petsclib::$UnionPetscLib, popup::PetscDraw, min::$PetscReal, max::$PetscReal ) @@ -4324,7 +4324,7 @@ See also: `PetscDraw`, `PetscDrawGetCoordinates()` $(_doc_external("Draw/PetscDrawSetCoordinates")) """ function PetscDrawSetCoordinates(petsclib::PetscLibType, draw::PetscDraw, xl::Real, yl::Real, xr::Real, yr::Real) - error("PetscDrawSetCoordinates: no generated method for these argument types") + throw(MethodError(PetscDrawSetCoordinates, (petsclib, draw, xl, yl, xr, yr))) end @for_petsc function PetscDrawSetCoordinates(petsclib::$UnionPetscLib, draw::PetscDraw, xl::$PetscReal, yl::$PetscReal, xr::$PetscReal, yr::$PetscReal ) @@ -4359,7 +4359,7 @@ See also: `PetscDraw`, `PetscDrawPushCurrentPoint()`, `PetscDrawPopCurrentPoint( $(_doc_external("Draw/PetscDrawSetCurrentPoint")) """ function PetscDrawSetCurrentPoint(petsclib::PetscLibType, draw::PetscDraw, x::Real, y::Real) - error("PetscDrawSetCurrentPoint: no generated method for these argument types") + throw(MethodError(PetscDrawSetCurrentPoint, (petsclib, draw, x, y))) end @for_petsc function PetscDrawSetCurrentPoint(petsclib::$UnionPetscLib, draw::PetscDraw, x::$PetscReal, y::$PetscReal ) @@ -4391,7 +4391,7 @@ See also: `PetscDraw`, `PetscDrawOpenX()`, `PetscDrawCreate()` $(_doc_external("Draw/PetscDrawSetDisplay")) """ function PetscDrawSetDisplay(petsclib::PetscLibType, draw::PetscDraw, display::String) - error("PetscDrawSetDisplay: no generated method for these argument types") + throw(MethodError(PetscDrawSetDisplay, (petsclib, draw, display))) end @for_petsc function PetscDrawSetDisplay(petsclib::$UnionPetscLib, draw::PetscDraw, display::String ) @@ -4424,7 +4424,7 @@ See also: `PetscDraw`, `PetscDrawOpenX()`, `PetscDrawCreate()` $(_doc_external("Draw/PetscDrawSetDoubleBuffer")) """ function PetscDrawSetDoubleBuffer(petsclib::PetscLibType, draw::PetscDraw) - error("PetscDrawSetDoubleBuffer: no generated method for these argument types") + throw(MethodError(PetscDrawSetDoubleBuffer, (petsclib, draw))) end @for_petsc function PetscDrawSetDoubleBuffer(petsclib::$UnionPetscLib, draw::PetscDraw ) @@ -4470,7 +4470,7 @@ See also: `PetscDraw`, `PetscDrawCreate()`, `PetscDrawSetType()`, `PetscDrawSetS $(_doc_external("Draw/PetscDrawSetFromOptions")) """ function PetscDrawSetFromOptions(petsclib::PetscLibType, draw::PetscDraw) - error("PetscDrawSetFromOptions: no generated method for these argument types") + throw(MethodError(PetscDrawSetFromOptions, (petsclib, draw))) end @for_petsc function PetscDrawSetFromOptions(petsclib::$UnionPetscLib, draw::PetscDraw ) @@ -4507,7 +4507,7 @@ See also: `PetscDraw`, `PetscDrawPoint()`, `PetscDrawMarker()`, `PetscDrawGetMar $(_doc_external("Draw/PetscDrawSetMarkerType")) """ function PetscDrawSetMarkerType(petsclib::PetscLibType, draw::PetscDraw, mtype::PetscDrawMarkerType) - error("PetscDrawSetMarkerType: no generated method for these argument types") + throw(MethodError(PetscDrawSetMarkerType, (petsclib, draw, mtype))) end @for_petsc function PetscDrawSetMarkerType(petsclib::$UnionPetscLib, draw::PetscDraw, mtype::PetscDrawMarkerType ) @@ -4542,7 +4542,7 @@ See also: `PetscDraw`, `PetscDrawSetFromOptions()`, `PetscDrawCreate()` $(_doc_external("Draw/PetscDrawSetOptionsPrefix")) """ function PetscDrawSetOptionsPrefix(petsclib::PetscLibType, draw::PetscDraw, prefix::String) - error("PetscDrawSetOptionsPrefix: no generated method for these argument types") + throw(MethodError(PetscDrawSetOptionsPrefix, (petsclib, draw, prefix))) end @for_petsc function PetscDrawSetOptionsPrefix(petsclib::$UnionPetscLib, draw::PetscDraw, prefix::String ) @@ -4580,7 +4580,7 @@ See also: `PetscDraw`, `PetscDrawGetPause()`, `PetscDrawPause()` $(_doc_external("Draw/PetscDrawSetPause")) """ function PetscDrawSetPause(petsclib::PetscLibType, draw::PetscDraw, lpause::Real) - error("PetscDrawSetPause: no generated method for these argument types") + throw(MethodError(PetscDrawSetPause, (petsclib, draw, lpause))) end @for_petsc function PetscDrawSetPause(petsclib::$UnionPetscLib, draw::PetscDraw, lpause::$PetscReal ) @@ -4619,7 +4619,7 @@ See also: `PetscDraw`, `PetscDrawOpenX()`, `PetscDrawOpenImage()`, `PetscDrawSet $(_doc_external("Draw/PetscDrawSetSave")) """ function PetscDrawSetSave(petsclib::PetscLibType, draw::PetscDraw, filename::String) - error("PetscDrawSetSave: no generated method for these argument types") + throw(MethodError(PetscDrawSetSave, (petsclib, draw, filename))) end @for_petsc function PetscDrawSetSave(petsclib::$UnionPetscLib, draw::PetscDraw, filename::String ) @@ -4656,7 +4656,7 @@ See also: `PetscDraw`, `PetscDrawSetSave()`, `PetscDrawSetFromOptions()`, `Petsc $(_doc_external("Draw/PetscDrawSetSaveFinalImage")) """ function PetscDrawSetSaveFinalImage(petsclib::PetscLibType, draw::PetscDraw, filename::String) - error("PetscDrawSetSaveFinalImage: no generated method for these argument types") + throw(MethodError(PetscDrawSetSaveFinalImage, (petsclib, draw, filename))) end @for_petsc function PetscDrawSetSaveFinalImage(petsclib::$UnionPetscLib, draw::PetscDraw, filename::String ) @@ -4693,7 +4693,7 @@ See also: `PetscDraw`, `PetscDrawSetSave()`, `PetscDrawSetFromOptions()`, `Petsc $(_doc_external("Draw/PetscDrawSetSaveMovie")) """ function PetscDrawSetSaveMovie(petsclib::PetscLibType, draw::PetscDraw, movieext::String) - error("PetscDrawSetSaveMovie: no generated method for these argument types") + throw(MethodError(PetscDrawSetSaveMovie, (petsclib, draw, movieext))) end @for_petsc function PetscDrawSetSaveMovie(petsclib::$UnionPetscLib, draw::PetscDraw, movieext::String ) @@ -4727,7 +4727,7 @@ See also: `PetscDraw`, `PetscDrawGetTitle()`, `PetscDrawAppendTitle()` $(_doc_external("Draw/PetscDrawSetTitle")) """ function PetscDrawSetTitle(petsclib::PetscLibType, draw::PetscDraw, title::String) - error("PetscDrawSetTitle: no generated method for these argument types") + throw(MethodError(PetscDrawSetTitle, (petsclib, draw, title))) end @for_petsc function PetscDrawSetTitle(petsclib::$UnionPetscLib, draw::PetscDraw, title::String ) @@ -4764,7 +4764,7 @@ See also: `PetscDraw`, `PETSC_DRAW_X`, `PETSC_DRAW_TIKZ`, `PETSC_DRAW_IMAGE`, `P $(_doc_external("Draw/PetscDrawSetType")) """ function PetscDrawSetType(petsclib::PetscLibType, draw::PetscDraw, type::String) - error("PetscDrawSetType: no generated method for these argument types") + throw(MethodError(PetscDrawSetType, (petsclib, draw, type))) end @for_petsc function PetscDrawSetType(petsclib::$UnionPetscLib, draw::PetscDraw, type::String ) @@ -4802,7 +4802,7 @@ See also: `PetscDrawGetViewPort()`, `PetscDraw`, `PetscDrawSplitViewPort()`, `Pe $(_doc_external("Draw/PetscDrawSetViewPort")) """ function PetscDrawSetViewPort(petsclib::PetscLibType, draw::PetscDraw, xl::Real, yl::Real, xr::Real, yr::Real) - error("PetscDrawSetViewPort: no generated method for these argument types") + throw(MethodError(PetscDrawSetViewPort, (petsclib, draw, xl, yl, xr, yr))) end @for_petsc function PetscDrawSetViewPort(petsclib::$UnionPetscLib, draw::PetscDraw, xl::$PetscReal, yl::$PetscReal, xr::$PetscReal, yr::$PetscReal ) @@ -4834,7 +4834,7 @@ See also: `PetscDraw` $(_doc_external("Draw/PetscDrawSetVisible")) """ function PetscDrawSetVisible(petsclib::PetscLibType, draw::PetscDraw, visible::PetscBool) - error("PetscDrawSetVisible: no generated method for these argument types") + throw(MethodError(PetscDrawSetVisible, (petsclib, draw, visible))) end @for_petsc function PetscDrawSetVisible(petsclib::$UnionPetscLib, draw::PetscDraw, visible::PetscBool ) @@ -4868,7 +4868,7 @@ See also: `PetscDrawDivideViewPort()`, `PetscDrawSetViewPort()` $(_doc_external("Draw/PetscDrawSplitViewPort")) """ function PetscDrawSplitViewPort(petsclib::PetscLibType, draw::PetscDraw) - error("PetscDrawSplitViewPort: no generated method for these argument types") + throw(MethodError(PetscDrawSplitViewPort, (petsclib, draw))) end @for_petsc function PetscDrawSplitViewPort(petsclib::$UnionPetscLib, draw::PetscDraw ) @@ -4907,7 +4907,7 @@ See also: `PetscDraw`, `PetscDrawStringVertical()`, `PetscDrawStringCentered()`, $(_doc_external("Draw/PetscDrawString")) """ function PetscDrawString(petsclib::PetscLibType, draw::PetscDraw, xl::Real, yl::Real, cl::Cint, text::String) - error("PetscDrawString: no generated method for these argument types") + throw(MethodError(PetscDrawString, (petsclib, draw, xl, yl, cl, text))) end @for_petsc function PetscDrawString(petsclib::$UnionPetscLib, draw::PetscDraw, xl::$PetscReal, yl::$PetscReal, cl::Cint, text::String ) @@ -4950,7 +4950,7 @@ See also: `PetscDraw`, `PetscDrawStringVertical()`, `PetscDrawString()`, `PetscD $(_doc_external("Draw/PetscDrawStringBoxed")) """ function PetscDrawStringBoxed(petsclib::PetscLibType, draw::PetscDraw, sxl::Real, syl::Real, sc::Cint, bc::Cint, text::String) - error("PetscDrawStringBoxed: no generated method for these argument types") + throw(MethodError(PetscDrawStringBoxed, (petsclib, draw, sxl, syl, sc, bc, text))) end @for_petsc function PetscDrawStringBoxed(petsclib::$UnionPetscLib, draw::PetscDraw, sxl::$PetscReal, syl::$PetscReal, sc::Cint, bc::Cint, text::String ) @@ -4992,7 +4992,7 @@ See also: `PetscDraw`, `PetscDrawStringVertical()`, `PetscDrawString()`, `PetscD $(_doc_external("Draw/PetscDrawStringCentered")) """ function PetscDrawStringCentered(petsclib::PetscLibType, draw::PetscDraw, xc::Real, yl::Real, cl::Cint, text::String) - error("PetscDrawStringCentered: no generated method for these argument types") + throw(MethodError(PetscDrawStringCentered, (petsclib, draw, xc, yl, cl, text))) end @for_petsc function PetscDrawStringCentered(petsclib::$UnionPetscLib, draw::PetscDraw, xc::$PetscReal, yl::$PetscReal, cl::Cint, text::String ) @@ -5029,7 +5029,7 @@ See also: `PetscDraw`, `PetscDrawStringVertical()`, `PetscDrawString()`, `PetscD $(_doc_external("Draw/PetscDrawStringGetSize")) """ function PetscDrawStringGetSize(petsclib::PetscLibType, draw::PetscDraw) - error("PetscDrawStringGetSize: no generated method for these argument types") + throw(MethodError(PetscDrawStringGetSize, (petsclib, draw))) end @for_petsc function PetscDrawStringGetSize(petsclib::$UnionPetscLib, draw::PetscDraw ) @@ -5069,7 +5069,7 @@ See also: `PetscDraw`, `PetscDrawStringVertical()`, `PetscDrawString()`, `PetscD $(_doc_external("Draw/PetscDrawStringSetSize")) """ function PetscDrawStringSetSize(petsclib::PetscLibType, draw::PetscDraw, width::Real, height::Real) - error("PetscDrawStringSetSize: no generated method for these argument types") + throw(MethodError(PetscDrawStringSetSize, (petsclib, draw, width, height))) end @for_petsc function PetscDrawStringSetSize(petsclib::$UnionPetscLib, draw::PetscDraw, width::$PetscReal, height::$PetscReal ) @@ -5107,7 +5107,7 @@ See also: `PetscDraw`, `PetscDrawString()`, `PetscDrawStringCentered()`, `PetscD $(_doc_external("Draw/PetscDrawStringVertical")) """ function PetscDrawStringVertical(petsclib::PetscLibType, draw::PetscDraw, xl::Real, yl::Real, cl::Cint, text::String) - error("PetscDrawStringVertical: no generated method for these argument types") + throw(MethodError(PetscDrawStringVertical, (petsclib, draw, xl, yl, cl, text))) end @for_petsc function PetscDrawStringVertical(petsclib::$UnionPetscLib, draw::PetscDraw, xl::$PetscReal, yl::$PetscReal, cl::Cint, text::String ) @@ -5149,7 +5149,7 @@ See also: `PetscDraw`, `PetscDrawTensorContourPatch()`, `PetscDrawScalePopup()` $(_doc_external("Draw/PetscDrawTensorContour")) """ function PetscDrawTensorContour(petsclib::PetscLibType, draw::PetscDraw, m::Cint, n::Cint, xi::AbstractVector{<:Number}, yi::AbstractVector{<:Number}, v::AbstractVector{<:Number}) - error("PetscDrawTensorContour: no generated method for these argument types") + throw(MethodError(PetscDrawTensorContour, (petsclib, draw, m, n, xi, yi, v))) end @for_petsc function PetscDrawTensorContour(petsclib::$UnionPetscLib, draw::PetscDraw, m::Cint, n::Cint, xi::Vector{$PetscReal}, yi::Vector{$PetscReal}, v::Vector{$PetscReal} ) @@ -5193,7 +5193,7 @@ See also: `PetscDraw`, `PetscDrawTensorContour()` $(_doc_external("Draw/PetscDrawTensorContourPatch")) """ function PetscDrawTensorContourPatch(petsclib::PetscLibType, draw::PetscDraw, m::Cint, n::Cint, min::Real, max::Real) - error("PetscDrawTensorContourPatch: no generated method for these argument types") + throw(MethodError(PetscDrawTensorContourPatch, (petsclib, draw, m, n, min, max))) end @for_petsc function PetscDrawTensorContourPatch(petsclib::$UnionPetscLib, draw::PetscDraw, m::Cint, n::Cint, min::$PetscReal, max::$PetscReal ) @@ -5241,7 +5241,7 @@ See also: `PetscDraw`, `PetscDrawLine()`, `PetscDrawRectangle()`, `PetscDrawElli $(_doc_external("Draw/PetscDrawTriangle")) """ function PetscDrawTriangle(petsclib::PetscLibType, draw::PetscDraw, x1::Real, y_1::Real, x2::Real, y2::Real, x3::Real, y3::Real, c1::Cint, c2::Cint, c3::Cint) - error("PetscDrawTriangle: no generated method for these argument types") + throw(MethodError(PetscDrawTriangle, (petsclib, draw, x1, y_1, x2, y2, x3, y3, c1, c2, c3))) end @for_petsc function PetscDrawTriangle(petsclib::$UnionPetscLib, draw::PetscDraw, x1::$PetscReal, y_1::$PetscReal, x2::$PetscReal, y2::$PetscReal, x3::$PetscReal, y3::$PetscReal, c1::Cint, c2::Cint, c3::Cint ) @@ -5286,7 +5286,7 @@ See also: `PetscDraw`, `PetscDrawUtilitySetGamma()` $(_doc_external("Draw/PetscDrawUtilitySetCmap")) """ function PetscDrawUtilitySetCmap(petsclib::PetscLibType, colormap::String, mapsize::Cint, char::Vector{Cuchar}, M_char::Vector{Cuchar}, M_char_2::Vector{Cuchar}) - error("PetscDrawUtilitySetCmap: no generated method for these argument types") + throw(MethodError(PetscDrawUtilitySetCmap, (petsclib, colormap, mapsize, char, M_char, M_char_2))) end @for_petsc function PetscDrawUtilitySetCmap(petsclib::$UnionPetscLib, colormap::String, mapsize::Cint, char::Vector{Cuchar}, M_char::Vector{Cuchar}, M_char_2::Vector{Cuchar} ) @@ -5319,7 +5319,7 @@ See also: `PetscDraw`, `PetscDrawUtilitySetCmap()` $(_doc_external("Draw/PetscDrawUtilitySetGamma")) """ function PetscDrawUtilitySetGamma(petsclib::PetscLibType, g::Real) - error("PetscDrawUtilitySetGamma: no generated method for these argument types") + throw(MethodError(PetscDrawUtilitySetGamma, (petsclib, g))) end @for_petsc function PetscDrawUtilitySetGamma(petsclib::$UnionPetscLib, g::$PetscReal ) @@ -5353,7 +5353,7 @@ See also: `PetscDraw`, `PetscViewerASCIIOpen()`, `PetscViewer` $(_doc_external("Draw/PetscDrawView")) """ function PetscDrawView(petsclib::PetscLibType, indraw::PetscDraw, viewer::PetscViewer) - error("PetscDrawView: no generated method for these argument types") + throw(MethodError(PetscDrawView, (petsclib, indraw, viewer))) end @for_petsc function PetscDrawView(petsclib::$UnionPetscLib, indraw::PetscDraw, viewer::PetscViewer ) @@ -5391,7 +5391,7 @@ See also: `PetscDraw`, `PetscDrawView`, `PetscObjectViewFromOptions()`, `PetscDr $(_doc_external("Draw/PetscDrawViewFromOptions")) """ function PetscDrawViewFromOptions(petsclib::PetscLibType, A::PetscDraw, obj, name::String) - error("PetscDrawViewFromOptions: no generated method for these argument types") + throw(MethodError(PetscDrawViewFromOptions, (petsclib, A, obj, name))) end @for_petsc function PetscDrawViewFromOptions(petsclib::$UnionPetscLib, A::PetscDraw, obj, name::String ) @@ -5431,7 +5431,7 @@ See also: `PetscDrawSplitViewPort()`, `PetscDrawSetViewPort()`, `PetscDrawViewPo $(_doc_external("Draw/PetscDrawViewPortsCreate")) """ function PetscDrawViewPortsCreate(petsclib::PetscLibType, draw::PetscDraw, nports::Integer) - error("PetscDrawViewPortsCreate: no generated method for these argument types") + throw(MethodError(PetscDrawViewPortsCreate, (petsclib, draw, nports))) end @for_petsc function PetscDrawViewPortsCreate(petsclib::$UnionPetscLib, draw::PetscDraw, nports::$PetscInt ) @@ -5473,7 +5473,7 @@ See also: `PetscDrawSplitViewPort()`, `PetscDrawSetViewPort()`, `PetscDrawViewPo $(_doc_external("Draw/PetscDrawViewPortsCreateRect")) """ function PetscDrawViewPortsCreateRect(petsclib::PetscLibType, draw::PetscDraw, nx::Integer, ny::Integer) - error("PetscDrawViewPortsCreateRect: no generated method for these argument types") + throw(MethodError(PetscDrawViewPortsCreateRect, (petsclib, draw, nx, ny))) end @for_petsc function PetscDrawViewPortsCreateRect(petsclib::$UnionPetscLib, draw::PetscDraw, nx::$PetscInt, ny::$PetscInt ) @@ -5508,7 +5508,7 @@ See also: `PetscDrawViewPorts`, `PetscDrawSplitViewPort()`, `PetscDrawSetViewPor $(_doc_external("Draw/PetscDrawViewPortsDestroy")) """ function PetscDrawViewPortsDestroy(petsclib::PetscLibType, ports::Vector{PetscDrawViewPorts}) - error("PetscDrawViewPortsDestroy: no generated method for these argument types") + throw(MethodError(PetscDrawViewPortsDestroy, (petsclib, ports))) end @for_petsc function PetscDrawViewPortsDestroy(petsclib::$UnionPetscLib, ports::Vector{PetscDrawViewPorts} ) @@ -5542,7 +5542,7 @@ See also: `PetscDrawViewPorts`, `PetscDrawSplitViewPort()`, `PetscDrawSetViewPor $(_doc_external("Draw/PetscDrawViewPortsSet")) """ function PetscDrawViewPortsSet(petsclib::PetscLibType, ports::Vector{PetscDrawViewPorts}, port::Integer) - error("PetscDrawViewPortsSet: no generated method for these argument types") + throw(MethodError(PetscDrawViewPortsSet, (petsclib, ports, port))) end @for_petsc function PetscDrawViewPortsSet(petsclib::$UnionPetscLib, ports::Vector{PetscDrawViewPorts}, port::$PetscInt ) @@ -5581,7 +5581,7 @@ See also: `PetscDraw`, `PetscDrawCreate()` $(_doc_external("Draw/PetscDrawZoom")) """ function PetscDrawZoom(petsclib::PetscLibType, draw::PetscDraw, func::external, ctx::Ptr{Cvoid}) - error("PetscDrawZoom: no generated method for these argument types") + throw(MethodError(PetscDrawZoom, (petsclib, draw, func, ctx))) end @for_petsc function PetscDrawZoom(petsclib::$UnionPetscLib, draw::PetscDraw, func::external, ctx::Ptr{Cvoid} ) diff --git a/src/autowrapped/PetscDualSpace_wrappers.jl b/src/autowrapped/PetscDualSpace_wrappers.jl index 554849511..040c520bb 100644 --- a/src/autowrapped/PetscDualSpace_wrappers.jl +++ b/src/autowrapped/PetscDualSpace_wrappers.jl @@ -27,7 +27,7 @@ See also: `PetscDualSpace`, `PetscDualSpaceCreate()` $(_doc_external("DUALSPACE/PetscDualSpaceApply")) """ function PetscDualSpaceApply(petsclib::PetscLibType, sp::PetscDualSpace, f::Integer, time::Real, cgeom::Vector{PetscFEGeom}, numComp::Integer, func::external, ctx::Ptr{Cvoid}) - error("PetscDualSpaceApply: no generated method for these argument types") + throw(MethodError(PetscDualSpaceApply, (petsclib, sp, f, time, cgeom, numComp, func, ctx))) end @for_petsc function PetscDualSpaceApply(petsclib::$UnionPetscLib, sp::PetscDualSpace, f::$PetscInt, time::$PetscReal, cgeom::Vector{PetscFEGeom}, numComp::$PetscInt, func::external, ctx::Ptr{Cvoid} ) @@ -64,7 +64,7 @@ See also: `PetscDualSpace`, `PetscDualSpaceCreate()` $(_doc_external("DUALSPACE/PetscDualSpaceApplyAll")) """ function PetscDualSpaceApplyAll(petsclib::PetscLibType, sp::PetscDualSpace, pointEval::AbstractVector{<:Number}) - error("PetscDualSpaceApplyAll: no generated method for these argument types") + throw(MethodError(PetscDualSpaceApplyAll, (petsclib, sp, pointEval))) end @for_petsc function PetscDualSpaceApplyAll(petsclib::$UnionPetscLib, sp::PetscDualSpace, pointEval::Vector{$PetscScalar} ) @@ -101,7 +101,7 @@ See also: `PetscDualSpace`, `PetscDualSpaceCreate()` $(_doc_external("DUALSPACE/PetscDualSpaceApplyAllDefault")) """ function PetscDualSpaceApplyAllDefault(petsclib::PetscLibType, sp::PetscDualSpace, pointEval::AbstractVector{<:Number}) - error("PetscDualSpaceApplyAllDefault: no generated method for these argument types") + throw(MethodError(PetscDualSpaceApplyAllDefault, (petsclib, sp, pointEval))) end @for_petsc function PetscDualSpaceApplyAllDefault(petsclib::$UnionPetscLib, sp::PetscDualSpace, pointEval::Vector{$PetscScalar} ) @@ -148,7 +148,7 @@ See also: `PetscDualSpace`, `PetscDualSpaceCreate()` $(_doc_external("DUALSPACE/PetscDualSpaceApplyDefault")) """ function PetscDualSpaceApplyDefault(petsclib::PetscLibType, sp::PetscDualSpace, f::Integer, time::Real, cgeom::Vector{PetscFEGeom}, Nc::Integer, func::external, ctx::Ptr{Cvoid}) - error("PetscDualSpaceApplyDefault: no generated method for these argument types") + throw(MethodError(PetscDualSpaceApplyDefault, (petsclib, sp, f, time, cgeom, Nc, func, ctx))) end @for_petsc function PetscDualSpaceApplyDefault(petsclib::$UnionPetscLib, sp::PetscDualSpace, f::$PetscInt, time::$PetscReal, cgeom::Vector{PetscFEGeom}, Nc::$PetscInt, func::external, ctx::Ptr{Cvoid} ) @@ -195,7 +195,7 @@ See also: `PetscDualSpace`, `PetscDualSpaceCreate()` $(_doc_external("DUALSPACE/PetscDualSpaceApplyFVM")) """ function PetscDualSpaceApplyFVM(petsclib::PetscLibType, sp::PetscDualSpace, f::Integer, time::Real, cgeom::Vector{PetscFVCellGeom}, Nc::Integer, func::external, ctx::Ptr{Cvoid}) - error("PetscDualSpaceApplyFVM: no generated method for these argument types") + throw(MethodError(PetscDualSpaceApplyFVM, (petsclib, sp, f, time, cgeom, Nc, func, ctx))) end @for_petsc function PetscDualSpaceApplyFVM(petsclib::$UnionPetscLib, sp::PetscDualSpace, f::$PetscInt, time::$PetscReal, cgeom::Vector{PetscFVCellGeom}, Nc::$PetscInt, func::external, ctx::Ptr{Cvoid} ) @@ -232,7 +232,7 @@ See also: `PetscDualSpace`, `PetscDualSpaceCreate()` $(_doc_external("DUALSPACE/PetscDualSpaceApplyInterior")) """ function PetscDualSpaceApplyInterior(petsclib::PetscLibType, sp::PetscDualSpace, pointEval::AbstractVector{<:Number}) - error("PetscDualSpaceApplyInterior: no generated method for these argument types") + throw(MethodError(PetscDualSpaceApplyInterior, (petsclib, sp, pointEval))) end @for_petsc function PetscDualSpaceApplyInterior(petsclib::$UnionPetscLib, sp::PetscDualSpace, pointEval::Vector{$PetscScalar} ) @@ -269,7 +269,7 @@ See also: `PetscDualSpace`, `PetscDualSpaceCreate()` $(_doc_external("DUALSPACE/PetscDualSpaceApplyInteriorDefault")) """ function PetscDualSpaceApplyInteriorDefault(petsclib::PetscLibType, sp::PetscDualSpace, pointEval::AbstractVector{<:Number}) - error("PetscDualSpaceApplyInteriorDefault: no generated method for these argument types") + throw(MethodError(PetscDualSpaceApplyInteriorDefault, (petsclib, sp, pointEval))) end @for_petsc function PetscDualSpaceApplyInteriorDefault(petsclib::$UnionPetscLib, sp::PetscDualSpace, pointEval::Vector{$PetscScalar} ) @@ -307,7 +307,7 @@ See also: `PetscDualSpace`, `PetscDualSpaceSetType()`, `PETSCDUALSPACELAGRANGE` $(_doc_external("DUALSPACE/PetscDualSpaceCreate")) """ function PetscDualSpaceCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("PetscDualSpaceCreate: no generated method for these argument types") + throw(MethodError(PetscDualSpaceCreate, (petsclib, comm))) end @for_petsc function PetscDualSpaceCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -344,7 +344,7 @@ See also: `PetscDualSpace`, `PetscDualSpaceCreate()`, `Mat`, `PetscQuadrature` $(_doc_external("DUALSPACE/PetscDualSpaceCreateAllDataDefault")) """ function PetscDualSpaceCreateAllDataDefault(petsclib::PetscLibType, sp::PetscDualSpace) - error("PetscDualSpaceCreateAllDataDefault: no generated method for these argument types") + throw(MethodError(PetscDualSpaceCreateAllDataDefault, (petsclib, sp))) end @for_petsc function PetscDualSpaceCreateAllDataDefault(petsclib::$UnionPetscLib, sp::PetscDualSpace ) @@ -385,7 +385,7 @@ See also: `PetscDualSpace`, `PetscQuadrature`, `Mat`, `PetscDualSpaceCreate()`, $(_doc_external("DUALSPACE/PetscDualSpaceCreateInteriorDataDefault")) """ function PetscDualSpaceCreateInteriorDataDefault(petsclib::PetscLibType, sp::PetscDualSpace) - error("PetscDualSpaceCreateInteriorDataDefault: no generated method for these argument types") + throw(MethodError(PetscDualSpaceCreateInteriorDataDefault, (petsclib, sp))) end @for_petsc function PetscDualSpaceCreateInteriorDataDefault(petsclib::$UnionPetscLib, sp::PetscDualSpace ) @@ -427,7 +427,7 @@ See also: `PetscDualSpace`, `PETSCDUALSPACESUM`, `PETSCSPACESUM` $(_doc_external("DUALSPACE/PetscDualSpaceCreateSum")) """ function PetscDualSpaceCreateSum(petsclib::PetscLibType, numSubspaces::Integer, subspaces::Vector{PetscDualSpace}, concatenate::PetscBool) - error("PetscDualSpaceCreateSum: no generated method for these argument types") + throw(MethodError(PetscDualSpaceCreateSum, (petsclib, numSubspaces, subspaces, concatenate))) end @for_petsc function PetscDualSpaceCreateSum(petsclib::$UnionPetscLib, numSubspaces::$PetscInt, subspaces::Vector{PetscDualSpace}, concatenate::PetscBool ) @@ -462,7 +462,7 @@ See also: `PetscDualSpace`, `PetscDualSpaceView()`, `PetscDualSpace()`, `PetscDu $(_doc_external("DUALSPACE/PetscDualSpaceDestroy")) """ function PetscDualSpaceDestroy(petsclib::PetscLibType, sp::Union{PetscDualSpace, Ref{PetscDualSpace}}) - error("PetscDualSpaceDestroy: no generated method for these argument types") + throw(MethodError(PetscDualSpaceDestroy, (petsclib, sp))) end @for_petsc function PetscDualSpaceDestroy(petsclib::$UnionPetscLib, sp::Union{PetscDualSpace, Ref{PetscDualSpace}} ) @@ -499,7 +499,7 @@ See also: `PetscDualSpace`, `PetscDualSpaceCreate()`, `PetscDualSpaceSetType()` $(_doc_external("DUALSPACE/PetscDualSpaceDuplicate")) """ function PetscDualSpaceDuplicate(petsclib::PetscLibType, sp::PetscDualSpace) - error("PetscDualSpaceDuplicate: no generated method for these argument types") + throw(MethodError(PetscDualSpaceDuplicate, (petsclib, sp))) end @for_petsc function PetscDualSpaceDuplicate(petsclib::$UnionPetscLib, sp::PetscDualSpace ) @@ -536,7 +536,7 @@ See also: `PetscDualSpace`, `PetscDualSpaceCreate()` $(_doc_external("DUALSPACE/PetscDualSpaceEqual")) """ function PetscDualSpaceEqual(petsclib::PetscLibType, A::PetscDualSpace, B::PetscDualSpace) - error("PetscDualSpaceEqual: no generated method for these argument types") + throw(MethodError(PetscDualSpaceEqual, (petsclib, A, B))) end @for_petsc function PetscDualSpaceEqual(petsclib::$UnionPetscLib, A::PetscDualSpace, B::PetscDualSpace ) @@ -573,7 +573,7 @@ See also: `PetscQuadrature`, `PetscDualSpace`, `PetscDualSpaceCreate()`, `Mat` $(_doc_external("DUALSPACE/PetscDualSpaceGetAllData")) """ function PetscDualSpaceGetAllData(petsclib::PetscLibType, sp::PetscDualSpace) - error("PetscDualSpaceGetAllData: no generated method for these argument types") + throw(MethodError(PetscDualSpaceGetAllData, (petsclib, sp))) end @for_petsc function PetscDualSpaceGetAllData(petsclib::$UnionPetscLib, sp::PetscDualSpace ) @@ -613,7 +613,7 @@ See also: `PetscDualSpace`, `PetscDualSpaceSetDM()`, `PetscDualSpaceCreate()` $(_doc_external("DUALSPACE/PetscDualSpaceGetDM")) """ function PetscDualSpaceGetDM(petsclib::PetscLibType, sp::PetscDualSpace) - error("PetscDualSpaceGetDM: no generated method for these argument types") + throw(MethodError(PetscDualSpaceGetDM, (petsclib, sp))) end @for_petsc function PetscDualSpaceGetDM(petsclib::$UnionPetscLib, sp::PetscDualSpace ) @@ -649,7 +649,7 @@ See also: `PetscDualSpace`, `PetscDualSpacePullback()`, `PetscDualSpacePushforwa $(_doc_external("DUALSPACE/PetscDualSpaceGetDeRahm")) """ function PetscDualSpaceGetDeRahm(petsclib::PetscLibType, dsp::PetscDualSpace) - error("PetscDualSpaceGetDeRahm: no generated method for these argument types") + throw(MethodError(PetscDualSpaceGetDeRahm, (petsclib, dsp))) end @for_petsc function PetscDualSpaceGetDeRahm(petsclib::$UnionPetscLib, dsp::PetscDualSpace ) @@ -687,7 +687,7 @@ See also: `PetscDualSpace`, `PetscDualSpaceGetFunctional()`, `PetscDualSpaceCrea $(_doc_external("DUALSPACE/PetscDualSpaceGetDimension")) """ function PetscDualSpaceGetDimension(petsclib::PetscLibType, sp::PetscDualSpace) - error("PetscDualSpaceGetDimension: no generated method for these argument types") + throw(MethodError(PetscDualSpaceGetDimension, (petsclib, sp))) end @for_petsc function PetscDualSpaceGetDimension(petsclib::$UnionPetscLib, sp::PetscDualSpace ) @@ -729,7 +729,7 @@ See also: `PetscDualSpace`, `PetscDTAltV`, `PetscDualSpacePullback()`, `PetscDua $(_doc_external("DUALSPACE/PetscDualSpaceGetFormDegree")) """ function PetscDualSpaceGetFormDegree(petsclib::PetscLibType, dsp::PetscDualSpace) - error("PetscDualSpaceGetFormDegree: no generated method for these argument types") + throw(MethodError(PetscDualSpaceGetFormDegree, (petsclib, dsp))) end @for_petsc function PetscDualSpaceGetFormDegree(petsclib::$UnionPetscLib, dsp::PetscDualSpace ) @@ -768,7 +768,7 @@ See also: `PetscDualSpace`, `PetscQuadrature`, `PetscDualSpaceGetDimension()`, ` $(_doc_external("DUALSPACE/PetscDualSpaceGetFunctional")) """ function PetscDualSpaceGetFunctional(petsclib::PetscLibType, sp::PetscDualSpace, i::Integer) - error("PetscDualSpaceGetFunctional: no generated method for these argument types") + throw(MethodError(PetscDualSpaceGetFunctional, (petsclib, sp, i))) end @for_petsc function PetscDualSpaceGetFunctional(petsclib::$UnionPetscLib, sp::PetscDualSpace, i::$PetscInt ) @@ -809,7 +809,7 @@ See also: `PetscDualSpace`, `PetscSpaceGetHeightSubspace()`, `PetscDualSpaceGetP $(_doc_external("DUALSPACE/PetscDualSpaceGetHeightSubspace")) """ function PetscDualSpaceGetHeightSubspace(petsclib::PetscLibType, sp::PetscDualSpace, height::Integer) - error("PetscDualSpaceGetHeightSubspace: no generated method for these argument types") + throw(MethodError(PetscDualSpaceGetHeightSubspace, (petsclib, sp, height))) end @for_petsc function PetscDualSpaceGetHeightSubspace(petsclib::$UnionPetscLib, sp::PetscDualSpace, height::$PetscInt ) @@ -852,7 +852,7 @@ See also: `PetscDualSpace`, `PetscQuadrature`, `Mat`, `PetscDualSpaceCreate()`, $(_doc_external("DUALSPACE/PetscDualSpaceGetInteriorData")) """ function PetscDualSpaceGetInteriorData(petsclib::PetscLibType, sp::PetscDualSpace) - error("PetscDualSpaceGetInteriorData: no generated method for these argument types") + throw(MethodError(PetscDualSpaceGetInteriorData, (petsclib, sp))) end @for_petsc function PetscDualSpaceGetInteriorData(petsclib::$UnionPetscLib, sp::PetscDualSpace ) @@ -892,7 +892,7 @@ See also: `PetscDualSpace`, `PetscDualSpaceGetFunctional()`, `PetscDualSpaceCrea $(_doc_external("DUALSPACE/PetscDualSpaceGetInteriorDimension")) """ function PetscDualSpaceGetInteriorDimension(petsclib::PetscLibType, sp::PetscDualSpace) - error("PetscDualSpaceGetInteriorDimension: no generated method for these argument types") + throw(MethodError(PetscDualSpaceGetInteriorDimension, (petsclib, sp))) end @for_petsc function PetscDualSpaceGetInteriorDimension(petsclib::$UnionPetscLib, sp::PetscDualSpace ) @@ -931,7 +931,7 @@ See also: `PetscDualSpace`, `PetscSection`, `PetscDualSpaceCreate()`, `DMPLEX` $(_doc_external("DUALSPACE/PetscDualSpaceGetInteriorSection")) """ function PetscDualSpaceGetInteriorSection(petsclib::PetscLibType, sp::PetscDualSpace) - error("PetscDualSpaceGetInteriorSection: no generated method for these argument types") + throw(MethodError(PetscDualSpaceGetInteriorSection, (petsclib, sp))) end @for_petsc function PetscDualSpaceGetInteriorSection(petsclib::$UnionPetscLib, sp::PetscDualSpace ) @@ -967,7 +967,7 @@ See also: `PetscDualSpaceSetNumComponents()`, `PetscDualSpaceGetDimension()`, `P $(_doc_external("DUALSPACE/PetscDualSpaceGetNumComponents")) """ function PetscDualSpaceGetNumComponents(petsclib::PetscLibType, sp::PetscDualSpace) - error("PetscDualSpaceGetNumComponents: no generated method for these argument types") + throw(MethodError(PetscDualSpaceGetNumComponents, (petsclib, sp))) end @for_petsc function PetscDualSpaceGetNumComponents(petsclib::$UnionPetscLib, sp::PetscDualSpace ) @@ -1005,7 +1005,7 @@ See also: `PetscDualSpace`, `PetscDualSpaceGetFunctional()`, `PetscDualSpaceCrea $(_doc_external("DUALSPACE/PetscDualSpaceGetNumDof")) """ function PetscDualSpaceGetNumDof(petsclib::PetscLibType, sp::PetscDualSpace) - error("PetscDualSpaceGetNumDof: no generated method for these argument types") + throw(MethodError(PetscDualSpaceGetNumDof, (petsclib, sp))) end @for_petsc function PetscDualSpaceGetNumDof(petsclib::$UnionPetscLib, sp::PetscDualSpace ) @@ -1043,7 +1043,7 @@ See also: `PetscDualSpace`, `PetscDualSpaceSetOrder()`, `PetscDualSpaceCreate()` $(_doc_external("DUALSPACE/PetscDualSpaceGetOrder")) """ function PetscDualSpaceGetOrder(petsclib::PetscLibType, sp::PetscDualSpace) - error("PetscDualSpaceGetOrder: no generated method for these argument types") + throw(MethodError(PetscDualSpaceGetOrder, (petsclib, sp))) end @for_petsc function PetscDualSpaceGetOrder(petsclib::$UnionPetscLib, sp::PetscDualSpace ) @@ -1082,7 +1082,7 @@ See also: `PetscDualSpace`, `PetscDualSpaceGetHeightSubspace()` $(_doc_external("DUALSPACE/PetscDualSpaceGetPointSubspace")) """ function PetscDualSpaceGetPointSubspace(petsclib::PetscLibType, sp::PetscDualSpace, point::Integer) - error("PetscDualSpaceGetPointSubspace: no generated method for these argument types") + throw(MethodError(PetscDualSpaceGetPointSubspace, (petsclib, sp, point))) end @for_petsc function PetscDualSpaceGetPointSubspace(petsclib::$UnionPetscLib, sp::PetscDualSpace, point::$PetscInt ) @@ -1120,7 +1120,7 @@ See also: `PetscDualSpace`, `PetscSection`, `PetscDualSpaceCreate()`, `DMPLEX` $(_doc_external("DUALSPACE/PetscDualSpaceGetSection")) """ function PetscDualSpaceGetSection(petsclib::PetscLibType, sp::PetscDualSpace) - error("PetscDualSpaceGetSection: no generated method for these argument types") + throw(MethodError(PetscDualSpaceGetSection, (petsclib, sp))) end @for_petsc function PetscDualSpaceGetSection(petsclib::$UnionPetscLib, sp::PetscDualSpace ) @@ -1159,7 +1159,7 @@ See also: `PetscDualSpace` $(_doc_external("DUALSPACE/PetscDualSpaceGetSymmetries")) """ function PetscDualSpaceGetSymmetries(petsclib::PetscLibType, sp::PetscDualSpace) - error("PetscDualSpaceGetSymmetries: no generated method for these argument types") + throw(MethodError(PetscDualSpaceGetSymmetries, (petsclib, sp))) end @for_petsc function PetscDualSpaceGetSymmetries(petsclib::$UnionPetscLib, sp::PetscDualSpace ) @@ -1199,7 +1199,7 @@ See also: `PetscDualSpace`, `PetscDualSpaceType`, `PetscDualSpaceSetType()`, `Pe $(_doc_external("DUALSPACE/PetscDualSpaceGetType")) """ function PetscDualSpaceGetType(petsclib::PetscLibType, sp::PetscDualSpace) - error("PetscDualSpaceGetType: no generated method for these argument types") + throw(MethodError(PetscDualSpaceGetType, (petsclib, sp))) end @for_petsc function PetscDualSpaceGetType(petsclib::$UnionPetscLib, sp::PetscDualSpace ) @@ -1238,7 +1238,7 @@ See also: `PetscDualSpace`, `PetscDualSpaceGetPointSubspace()`, `PetscDualSpaceG $(_doc_external("DUALSPACE/PetscDualSpaceGetUniform")) """ function PetscDualSpaceGetUniform(petsclib::PetscLibType, sp::PetscDualSpace) - error("PetscDualSpaceGetUniform: no generated method for these argument types") + throw(MethodError(PetscDualSpaceGetUniform, (petsclib, sp))) end @for_petsc function PetscDualSpaceGetUniform(petsclib::$UnionPetscLib, sp::PetscDualSpace ) @@ -1276,7 +1276,7 @@ See also: `PETSCDUALSPACELAGRANGE`, `PetscDualSpace`, `PetscDualSpaceLagrangeSet $(_doc_external("DUALSPACE/PetscDualSpaceLagrangeGetContinuity")) """ function PetscDualSpaceLagrangeGetContinuity(petsclib::PetscLibType, sp::PetscDualSpace) - error("PetscDualSpaceLagrangeGetContinuity: no generated method for these argument types") + throw(MethodError(PetscDualSpaceLagrangeGetContinuity, (petsclib, sp))) end @for_petsc function PetscDualSpaceLagrangeGetContinuity(petsclib::$UnionPetscLib, sp::PetscDualSpace ) @@ -1314,7 +1314,7 @@ See also: `PETSCDUALSPACELAGRANGE`, `PetscDualSpace`, `PetscDualSpaceLagrangeSet $(_doc_external("DUALSPACE/PetscDualSpaceLagrangeGetMomentOrder")) """ function PetscDualSpaceLagrangeGetMomentOrder(petsclib::PetscLibType, sp::PetscDualSpace) - error("PetscDualSpaceLagrangeGetMomentOrder: no generated method for these argument types") + throw(MethodError(PetscDualSpaceLagrangeGetMomentOrder, (petsclib, sp))) end @for_petsc function PetscDualSpaceLagrangeGetMomentOrder(petsclib::$UnionPetscLib, sp::PetscDualSpace ) @@ -1357,7 +1357,7 @@ See also: `PETSCDUALSPACELAGRANGE`, `PetscDualSpace`, `PetscDTNodeType`, `PetscD $(_doc_external("DUALSPACE/PetscDualSpaceLagrangeGetNodeType")) """ function PetscDualSpaceLagrangeGetNodeType(petsclib::PetscLibType, sp::PetscDualSpace) - error("PetscDualSpaceLagrangeGetNodeType: no generated method for these argument types") + throw(MethodError(PetscDualSpaceLagrangeGetNodeType, (petsclib, sp))) end @for_petsc function PetscDualSpaceLagrangeGetNodeType(petsclib::$UnionPetscLib, sp::PetscDualSpace ) @@ -1399,7 +1399,7 @@ See also: `PETSCDUALSPACELAGRANGE`, `PetscDualSpace`, `PetscDualSpaceLagrangeSet $(_doc_external("DUALSPACE/PetscDualSpaceLagrangeGetTensor")) """ function PetscDualSpaceLagrangeGetTensor(petsclib::PetscLibType, sp::PetscDualSpace) - error("PetscDualSpaceLagrangeGetTensor: no generated method for these argument types") + throw(MethodError(PetscDualSpaceLagrangeGetTensor, (petsclib, sp))) end @for_petsc function PetscDualSpaceLagrangeGetTensor(petsclib::$UnionPetscLib, sp::PetscDualSpace ) @@ -1437,7 +1437,7 @@ See also: `PETSCDUALSPACELAGRANGE`, `PetscDualSpace`, `PetscDualSpaceLagrangeSet $(_doc_external("DUALSPACE/PetscDualSpaceLagrangeGetTrimmed")) """ function PetscDualSpaceLagrangeGetTrimmed(petsclib::PetscLibType, sp::PetscDualSpace) - error("PetscDualSpaceLagrangeGetTrimmed: no generated method for these argument types") + throw(MethodError(PetscDualSpaceLagrangeGetTrimmed, (petsclib, sp))) end @for_petsc function PetscDualSpaceLagrangeGetTrimmed(petsclib::$UnionPetscLib, sp::PetscDualSpace ) @@ -1475,7 +1475,7 @@ See also: `PETSCDUALSPACELAGRANGE`, `PetscDualSpace`, `PetscDualSpaceLagrangeSet $(_doc_external("DUALSPACE/PetscDualSpaceLagrangeGetUseMoments")) """ function PetscDualSpaceLagrangeGetUseMoments(petsclib::PetscLibType, sp::PetscDualSpace) - error("PetscDualSpaceLagrangeGetUseMoments: no generated method for these argument types") + throw(MethodError(PetscDualSpaceLagrangeGetUseMoments, (petsclib, sp))) end @for_petsc function PetscDualSpaceLagrangeGetUseMoments(petsclib::$UnionPetscLib, sp::PetscDualSpace ) @@ -1514,7 +1514,7 @@ See also: `PETSCDUALSPACELAGRANGE`, `PetscDualSpace`, `PetscDualSpaceLagrangeGet $(_doc_external("DUALSPACE/PetscDualSpaceLagrangeSetContinuity")) """ function PetscDualSpaceLagrangeSetContinuity(petsclib::PetscLibType, sp::PetscDualSpace, continuous::PetscBool) - error("PetscDualSpaceLagrangeSetContinuity: no generated method for these argument types") + throw(MethodError(PetscDualSpaceLagrangeSetContinuity, (petsclib, sp, continuous))) end @for_petsc function PetscDualSpaceLagrangeSetContinuity(petsclib::$UnionPetscLib, sp::PetscDualSpace, continuous::PetscBool ) @@ -1548,7 +1548,7 @@ See also: `PETSCDUALSPACELAGRANGE`, `PetscDualSpace`, `PetscDualSpaceLagrangeGet $(_doc_external("DUALSPACE/PetscDualSpaceLagrangeSetMomentOrder")) """ function PetscDualSpaceLagrangeSetMomentOrder(petsclib::PetscLibType, sp::PetscDualSpace, order::Integer) - error("PetscDualSpaceLagrangeSetMomentOrder: no generated method for these argument types") + throw(MethodError(PetscDualSpaceLagrangeSetMomentOrder, (petsclib, sp, order))) end @for_petsc function PetscDualSpaceLagrangeSetMomentOrder(petsclib::$UnionPetscLib, sp::PetscDualSpace, order::$PetscInt ) @@ -1587,7 +1587,7 @@ See also: `PETSCDUALSPACELAGRANGE`, `PetscDualSpace`, `PetscDTNodeType`, `PetscD $(_doc_external("DUALSPACE/PetscDualSpaceLagrangeSetNodeType")) """ function PetscDualSpaceLagrangeSetNodeType(petsclib::PetscLibType, sp::PetscDualSpace, nodeType::PetscDTNodeType, boundary::PetscBool, exponent::Real) - error("PetscDualSpaceLagrangeSetNodeType: no generated method for these argument types") + throw(MethodError(PetscDualSpaceLagrangeSetNodeType, (petsclib, sp, nodeType, boundary, exponent))) end @for_petsc function PetscDualSpaceLagrangeSetNodeType(petsclib::$UnionPetscLib, sp::PetscDualSpace, nodeType::PetscDTNodeType, boundary::PetscBool, exponent::$PetscReal ) @@ -1621,7 +1621,7 @@ See also: `PETSCDUALSPACELAGRANGE`, `PetscDualSpace`, `PetscDualSpaceLagrangeGet $(_doc_external("DUALSPACE/PetscDualSpaceLagrangeSetTensor")) """ function PetscDualSpaceLagrangeSetTensor(petsclib::PetscLibType, sp::PetscDualSpace, tensor::PetscBool) - error("PetscDualSpaceLagrangeSetTensor: no generated method for these argument types") + throw(MethodError(PetscDualSpaceLagrangeSetTensor, (petsclib, sp, tensor))) end @for_petsc function PetscDualSpaceLagrangeSetTensor(petsclib::$UnionPetscLib, sp::PetscDualSpace, tensor::PetscBool ) @@ -1655,7 +1655,7 @@ See also: `PETSCDUALSPACELAGRANGE`, `PetscDualSpace`, `PetscDualSpaceLagrangeGet $(_doc_external("DUALSPACE/PetscDualSpaceLagrangeSetTrimmed")) """ function PetscDualSpaceLagrangeSetTrimmed(petsclib::PetscLibType, sp::PetscDualSpace, trimmed::PetscBool) - error("PetscDualSpaceLagrangeSetTrimmed: no generated method for these argument types") + throw(MethodError(PetscDualSpaceLagrangeSetTrimmed, (petsclib, sp, trimmed))) end @for_petsc function PetscDualSpaceLagrangeSetTrimmed(petsclib::$UnionPetscLib, sp::PetscDualSpace, trimmed::PetscBool ) @@ -1689,7 +1689,7 @@ See also: `PETSCDUALSPACELAGRANGE`, `PetscDualSpace`, `PetscDualSpaceLagrangeGet $(_doc_external("DUALSPACE/PetscDualSpaceLagrangeSetUseMoments")) """ function PetscDualSpaceLagrangeSetUseMoments(petsclib::PetscLibType, sp::PetscDualSpace, useMoments::PetscBool) - error("PetscDualSpaceLagrangeSetUseMoments: no generated method for these argument types") + throw(MethodError(PetscDualSpaceLagrangeSetUseMoments, (petsclib, sp, useMoments))) end @for_petsc function PetscDualSpaceLagrangeSetUseMoments(petsclib::$UnionPetscLib, sp::PetscDualSpace, useMoments::PetscBool ) @@ -1727,7 +1727,7 @@ See also: `PetscDualSpace`, `PetscDualSpacePushforward()`, `PetscDualSpaceTransf $(_doc_external("DUALSPACE/PetscDualSpacePullback")) """ function PetscDualSpacePullback(petsclib::PetscLibType, dsp::PetscDualSpace, fegeom::Vector{PetscFEGeom}, Nq::Integer, Nc::Integer, pointEval::AbstractVector{<:Number}) - error("PetscDualSpacePullback: no generated method for these argument types") + throw(MethodError(PetscDualSpacePullback, (petsclib, dsp, fegeom, Nq, Nc, pointEval))) end @for_petsc function PetscDualSpacePullback(petsclib::$UnionPetscLib, dsp::PetscDualSpace, fegeom::Vector{PetscFEGeom}, Nq::$PetscInt, Nc::$PetscInt, pointEval::Vector{$PetscScalar} ) @@ -1765,7 +1765,7 @@ See also: `PetscDualSpace`, `PetscDualSpacePullback()`, `PetscDualSpaceTransform $(_doc_external("DUALSPACE/PetscDualSpacePushforward")) """ function PetscDualSpacePushforward(petsclib::PetscLibType, dsp::PetscDualSpace, fegeom::Vector{PetscFEGeom}, Nq::Integer, Nc::Integer, pointEval::AbstractVector{<:Number}) - error("PetscDualSpacePushforward: no generated method for these argument types") + throw(MethodError(PetscDualSpacePushforward, (petsclib, dsp, fegeom, Nq, Nc, pointEval))) end @for_petsc function PetscDualSpacePushforward(petsclib::$UnionPetscLib, dsp::PetscDualSpace, fegeom::Vector{PetscFEGeom}, Nq::$PetscInt, Nc::$PetscInt, pointEval::Vector{$PetscScalar} ) @@ -1803,7 +1803,7 @@ See also: `PetscDualSpace`, `PetscDualSpacePushforward()`, `PetscDualSpacePullba $(_doc_external("DUALSPACE/PetscDualSpacePushforwardGradient")) """ function PetscDualSpacePushforwardGradient(petsclib::PetscLibType, dsp::PetscDualSpace, fegeom::Vector{PetscFEGeom}, Nq::Integer, Nc::Integer, pointEval::AbstractVector{<:Number}) - error("PetscDualSpacePushforwardGradient: no generated method for these argument types") + throw(MethodError(PetscDualSpacePushforwardGradient, (petsclib, dsp, fegeom, Nq, Nc, pointEval))) end @for_petsc function PetscDualSpacePushforwardGradient(petsclib::$UnionPetscLib, dsp::PetscDualSpace, fegeom::Vector{PetscFEGeom}, Nq::$PetscInt, Nc::$PetscInt, pointEval::Vector{$PetscScalar} ) @@ -1841,7 +1841,7 @@ See also: `PetscDualSpace`, `PetscDualSpacePushforward()`, `PetscDualSpacePullba $(_doc_external("DUALSPACE/PetscDualSpacePushforwardHessian")) """ function PetscDualSpacePushforwardHessian(petsclib::PetscLibType, dsp::PetscDualSpace, fegeom::Vector{PetscFEGeom}, Nq::Integer, Nc::Integer, pointEval::AbstractVector{<:Number}) - error("PetscDualSpacePushforwardHessian: no generated method for these argument types") + throw(MethodError(PetscDualSpacePushforwardHessian, (petsclib, dsp, fegeom, Nq, Nc, pointEval))) end @for_petsc function PetscDualSpacePushforwardHessian(petsclib::$UnionPetscLib, dsp::PetscDualSpace, fegeom::Vector{PetscFEGeom}, Nq::$PetscInt, Nc::$PetscInt, pointEval::Vector{$PetscScalar} ) @@ -1877,7 +1877,7 @@ See also: `PETSCDUALSPACEREFINED`, `PetscDualSpace`, `PetscFERefine()` $(_doc_external("DUALSPACE/PetscDualSpaceRefinedSetCellSpaces")) """ function PetscDualSpaceRefinedSetCellSpaces(petsclib::PetscLibType, sp::PetscDualSpace, cellSpaces::Vector{PetscDualSpace}) - error("PetscDualSpaceRefinedSetCellSpaces: no generated method for these argument types") + throw(MethodError(PetscDualSpaceRefinedSetCellSpaces, (petsclib, sp, cellSpaces))) end @for_petsc function PetscDualSpaceRefinedSetCellSpaces(petsclib::$UnionPetscLib, sp::PetscDualSpace, cellSpaces::Vector{PetscDualSpace} ) @@ -1909,7 +1909,7 @@ See also: `PetscDualSpace`, `PetscDualSpaceType`, `PetscDualSpaceRegisterAll()`, $(_doc_external("DUALSPACE/PetscDualSpaceRegister")) """ function PetscDualSpaceRegister(petsclib::PetscLibType, sname::String, fnc::external) - error("PetscDualSpaceRegister: no generated method for these argument types") + throw(MethodError(PetscDualSpaceRegister, (petsclib, sname, fnc))) end @for_petsc function PetscDualSpaceRegister(petsclib::$UnionPetscLib, sname::String, fnc::external ) @@ -1943,7 +1943,7 @@ See also: `PetscDualSpace`, `DM`, `PetscDualSpaceGetDM()`, `PetscDualSpaceCreate $(_doc_external("DUALSPACE/PetscDualSpaceSetDM")) """ function PetscDualSpaceSetDM(petsclib::PetscLibType, sp::PetscDualSpace, dm::AbstractPetscDM) - error("PetscDualSpaceSetDM: no generated method for these argument types") + throw(MethodError(PetscDualSpaceSetDM, (petsclib, sp, dm))) end @for_petsc function PetscDualSpaceSetDM(petsclib::$UnionPetscLib, sp::PetscDualSpace, dm::AbstractPetscDM ) @@ -1981,7 +1981,7 @@ See also: `PetscDualSpace`, `PetscDTAltV`, `PetscDualSpacePullback()`, `PetscDua $(_doc_external("DUALSPACE/PetscDualSpaceSetFormDegree")) """ function PetscDualSpaceSetFormDegree(petsclib::PetscLibType, dsp::PetscDualSpace, k::Integer) - error("PetscDualSpaceSetFormDegree: no generated method for these argument types") + throw(MethodError(PetscDualSpaceSetFormDegree, (petsclib, dsp, k))) end @for_petsc function PetscDualSpaceSetFormDegree(petsclib::$UnionPetscLib, dsp::PetscDualSpace, k::$PetscInt ) @@ -2028,7 +2028,7 @@ See also: `PetscDualSpaceView()`, `PetscDualSpace`, `PetscObjectSetFromOptions() $(_doc_external("DUALSPACE/PetscDualSpaceSetFromOptions")) """ function PetscDualSpaceSetFromOptions(petsclib::PetscLibType, sp::PetscDualSpace) - error("PetscDualSpaceSetFromOptions: no generated method for these argument types") + throw(MethodError(PetscDualSpaceSetFromOptions, (petsclib, sp))) end @for_petsc function PetscDualSpaceSetFromOptions(petsclib::$UnionPetscLib, sp::PetscDualSpace ) @@ -2060,7 +2060,7 @@ See also: `PetscDualSpaceGetNumComponents()`, `PetscDualSpaceCreate()`, `PetscDu $(_doc_external("DUALSPACE/PetscDualSpaceSetNumComponents")) """ function PetscDualSpaceSetNumComponents(petsclib::PetscLibType, sp::PetscDualSpace, Nc::Integer) - error("PetscDualSpaceSetNumComponents: no generated method for these argument types") + throw(MethodError(PetscDualSpaceSetNumComponents, (petsclib, sp, Nc))) end @for_petsc function PetscDualSpaceSetNumComponents(petsclib::$UnionPetscLib, sp::PetscDualSpace, Nc::$PetscInt ) @@ -2094,7 +2094,7 @@ See also: `PetscDualSpace`, `PetscDualSpaceGetOrder()`, `PetscDualSpaceCreate()` $(_doc_external("DUALSPACE/PetscDualSpaceSetOrder")) """ function PetscDualSpaceSetOrder(petsclib::PetscLibType, sp::PetscDualSpace, order::Integer) - error("PetscDualSpaceSetOrder: no generated method for these argument types") + throw(MethodError(PetscDualSpaceSetOrder, (petsclib, sp, order))) end @for_petsc function PetscDualSpaceSetOrder(petsclib::$UnionPetscLib, sp::PetscDualSpace, order::$PetscInt ) @@ -2131,7 +2131,7 @@ See also: `PetscDualSpace`, `PetscDualSpaceType`, `PetscDualSpaceGetType()`, `Pe $(_doc_external("DUALSPACE/PetscDualSpaceSetType")) """ function PetscDualSpaceSetType(petsclib::PetscLibType, sp::PetscDualSpace, name::String) - error("PetscDualSpaceSetType: no generated method for these argument types") + throw(MethodError(PetscDualSpaceSetType, (petsclib, sp, name))) end @for_petsc function PetscDualSpaceSetType(petsclib::$UnionPetscLib, sp::PetscDualSpace, name::String ) @@ -2164,7 +2164,7 @@ See also: `PetscDualSpaceView()`, `PetscDualSpaceDestroy()`, `PetscDualSpace` $(_doc_external("DUALSPACE/PetscDualSpaceSetUp")) """ function PetscDualSpaceSetUp(petsclib::PetscLibType, sp::PetscDualSpace) - error("PetscDualSpaceSetUp: no generated method for these argument types") + throw(MethodError(PetscDualSpaceSetUp, (petsclib, sp))) end @for_petsc function PetscDualSpaceSetUp(petsclib::$UnionPetscLib, sp::PetscDualSpace ) @@ -2198,7 +2198,7 @@ See also: `PETSCDUALSPACESIMPLE`, `PetscDualSpace`, `PetscDualSpaceSimpleSetFunc $(_doc_external("DUALSPACE/PetscDualSpaceSimpleSetDimension")) """ function PetscDualSpaceSimpleSetDimension(petsclib::PetscLibType, sp::PetscDualSpace, dim::Integer) - error("PetscDualSpaceSimpleSetDimension: no generated method for these argument types") + throw(MethodError(PetscDualSpaceSimpleSetDimension, (petsclib, sp, dim))) end @for_petsc function PetscDualSpaceSimpleSetDimension(petsclib::$UnionPetscLib, sp::PetscDualSpace, dim::$PetscInt ) @@ -2233,7 +2233,7 @@ See also: `PETSCDUALSPACESIMPLE`, `PetscDualSpace`, `PetscDualSpaceSimpleSetDime $(_doc_external("DUALSPACE/PetscDualSpaceSimpleSetFunctional")) """ function PetscDualSpaceSimpleSetFunctional(petsclib::PetscLibType, sp::PetscDualSpace, func::Integer, q::PetscQuadrature) - error("PetscDualSpaceSimpleSetFunctional: no generated method for these argument types") + throw(MethodError(PetscDualSpaceSimpleSetFunctional, (petsclib, sp, func, q))) end @for_petsc function PetscDualSpaceSimpleSetFunctional(petsclib::$UnionPetscLib, sp::PetscDualSpace, func::$PetscInt, q::PetscQuadrature ) @@ -2267,7 +2267,7 @@ See also: `PETSCDUALSPACESUM`, `PetscDualSpace`, `PetscDualSpaceSumSetConcatenat $(_doc_external("DUALSPACE/PetscDualSpaceSumGetConcatenate")) """ function PetscDualSpaceSumGetConcatenate(petsclib::PetscLibType, sp::PetscDualSpace) - error("PetscDualSpaceSumGetConcatenate: no generated method for these argument types") + throw(MethodError(PetscDualSpaceSumGetConcatenate, (petsclib, sp))) end @for_petsc function PetscDualSpaceSumGetConcatenate(petsclib::$UnionPetscLib, sp::PetscDualSpace ) @@ -2307,7 +2307,7 @@ See also: `PetscDualSpace`, `PETSCDUALSPACESUM`, `PETSCFEVECTOR`, `PetscDualSpac $(_doc_external("DUALSPACE/PetscDualSpaceSumGetInterleave")) """ function PetscDualSpaceSumGetInterleave(petsclib::PetscLibType, sp::PetscDualSpace) - error("PetscDualSpaceSumGetInterleave: no generated method for these argument types") + throw(MethodError(PetscDualSpaceSumGetInterleave, (petsclib, sp))) end @for_petsc function PetscDualSpaceSumGetInterleave(petsclib::$UnionPetscLib, sp::PetscDualSpace ) @@ -2345,7 +2345,7 @@ See also: `PETSCDUALSPACESUM`, `PetscDualSpace`, `PetscDualSpaceSumSetNumSubspac $(_doc_external("DUALSPACE/PetscDualSpaceSumGetNumSubspaces")) """ function PetscDualSpaceSumGetNumSubspaces(petsclib::PetscLibType, sp::PetscDualSpace) - error("PetscDualSpaceSumGetNumSubspaces: no generated method for these argument types") + throw(MethodError(PetscDualSpaceSumGetNumSubspaces, (petsclib, sp))) end @for_petsc function PetscDualSpaceSumGetNumSubspaces(petsclib::$UnionPetscLib, sp::PetscDualSpace ) @@ -2382,7 +2382,7 @@ See also: `PETSCDUALSPACESUM`, `PetscDualSpace`, `PetscDualSpaceSumSetSubspace() $(_doc_external("DUALSPACE/PetscDualSpaceSumGetSubspace")) """ function PetscDualSpaceSumGetSubspace(petsclib::PetscLibType, sp::PetscDualSpace, s::Integer) - error("PetscDualSpaceSumGetSubspace: no generated method for these argument types") + throw(MethodError(PetscDualSpaceSumGetSubspace, (petsclib, sp, s))) end @for_petsc function PetscDualSpaceSumGetSubspace(petsclib::$UnionPetscLib, sp::PetscDualSpace, s::$PetscInt ) @@ -2416,7 +2416,7 @@ See also: `PETSCDUALSPACESUM`, `PetscDualSpace`, `PetscDualSpaceSumGetConcatenat $(_doc_external("DUALSPACE/PetscDualSpaceSumSetConcatenate")) """ function PetscDualSpaceSumSetConcatenate(petsclib::PetscLibType, sp::PetscDualSpace, concatenate::PetscBool) - error("PetscDualSpaceSumSetConcatenate: no generated method for these argument types") + throw(MethodError(PetscDualSpaceSumSetConcatenate, (petsclib, sp, concatenate))) end @for_petsc function PetscDualSpaceSumSetConcatenate(petsclib::$UnionPetscLib, sp::PetscDualSpace, concatenate::PetscBool ) @@ -2452,7 +2452,7 @@ See also: `PetscDualSpace`, `PETSCDUALSPACESUM`, `PETSCFEVECTOR`, `PetscDualSpac $(_doc_external("DUALSPACE/PetscDualSpaceSumSetInterleave")) """ function PetscDualSpaceSumSetInterleave(petsclib::PetscLibType, sp::PetscDualSpace, interleave_basis::PetscBool, interleave_components::PetscBool) - error("PetscDualSpaceSumSetInterleave: no generated method for these argument types") + throw(MethodError(PetscDualSpaceSumSetInterleave, (petsclib, sp, interleave_basis, interleave_components))) end @for_petsc function PetscDualSpaceSumSetInterleave(petsclib::$UnionPetscLib, sp::PetscDualSpace, interleave_basis::PetscBool, interleave_components::PetscBool ) @@ -2484,7 +2484,7 @@ See also: `PETSCDUALSPACESUM`, `PetscDualSpace`, `PetscDualSpaceSumGetNumSubspac $(_doc_external("DUALSPACE/PetscDualSpaceSumSetNumSubspaces")) """ function PetscDualSpaceSumSetNumSubspaces(petsclib::PetscLibType, sp::PetscDualSpace, numSumSpaces::Integer) - error("PetscDualSpaceSumSetNumSubspaces: no generated method for these argument types") + throw(MethodError(PetscDualSpaceSumSetNumSubspaces, (petsclib, sp, numSumSpaces))) end @for_petsc function PetscDualSpaceSumSetNumSubspaces(petsclib::$UnionPetscLib, sp::PetscDualSpace, numSumSpaces::$PetscInt ) @@ -2517,7 +2517,7 @@ See also: `PETSCDUALSPACESUM`, `PetscDualSpace`, `PetscDualSpaceSumGetSubspace() $(_doc_external("DUALSPACE/PetscDualSpaceSumSetSubspace")) """ function PetscDualSpaceSumSetSubspace(petsclib::PetscLibType, sp::PetscDualSpace, s::Integer, subsp::PetscDualSpace) - error("PetscDualSpaceSumSetSubspace: no generated method for these argument types") + throw(MethodError(PetscDualSpaceSumSetSubspace, (petsclib, sp, s, subsp))) end @for_petsc function PetscDualSpaceSumSetSubspace(petsclib::$UnionPetscLib, sp::PetscDualSpace, s::$PetscInt, subsp::PetscDualSpace ) @@ -2557,7 +2557,7 @@ See also: `PetscDualSpace`, `PetscDualSpaceTransformGradient()`, `PetscDualSpace $(_doc_external("DUALSPACE/PetscDualSpaceTransform")) """ function PetscDualSpaceTransform(petsclib::PetscLibType, dsp::PetscDualSpace, trans::PetscDualSpaceTransformType, isInverse::PetscBool, fegeom::Vector{PetscFEGeom}, Nv::Integer, Nc::Integer, vals::AbstractVector{<:Number}) - error("PetscDualSpaceTransform: no generated method for these argument types") + throw(MethodError(PetscDualSpaceTransform, (petsclib, dsp, trans, isInverse, fegeom, Nv, Nc, vals))) end @for_petsc function PetscDualSpaceTransform(petsclib::$UnionPetscLib, dsp::PetscDualSpace, trans::PetscDualSpaceTransformType, isInverse::PetscBool, fegeom::Vector{PetscFEGeom}, Nv::$PetscInt, Nc::$PetscInt, vals::Vector{$PetscScalar} ) @@ -2597,7 +2597,7 @@ See also: `PetscDualSpace`, `PetscDualSpaceTransform()`, `PetscDualSpacePullback $(_doc_external("DUALSPACE/PetscDualSpaceTransformGradient")) """ function PetscDualSpaceTransformGradient(petsclib::PetscLibType, dsp::PetscDualSpace, trans::PetscDualSpaceTransformType, isInverse::PetscBool, fegeom::Vector{PetscFEGeom}, Nv::Integer, Nc::Integer, vals::AbstractVector{<:Number}) - error("PetscDualSpaceTransformGradient: no generated method for these argument types") + throw(MethodError(PetscDualSpaceTransformGradient, (petsclib, dsp, trans, isInverse, fegeom, Nv, Nc, vals))) end @for_petsc function PetscDualSpaceTransformGradient(petsclib::$UnionPetscLib, dsp::PetscDualSpace, trans::PetscDualSpaceTransformType, isInverse::PetscBool, fegeom::Vector{PetscFEGeom}, Nv::$PetscInt, Nc::$PetscInt, vals::Vector{$PetscScalar} ) @@ -2637,7 +2637,7 @@ See also: `PetscDualSpace`, `PetscDualSpaceTransform()`, `PetscDualSpacePullback $(_doc_external("DUALSPACE/PetscDualSpaceTransformHessian")) """ function PetscDualSpaceTransformHessian(petsclib::PetscLibType, dsp::PetscDualSpace, trans::PetscDualSpaceTransformType, isInverse::PetscBool, fegeom::Vector{PetscFEGeom}, Nv::Integer, Nc::Integer, vals::AbstractVector{<:Number}) - error("PetscDualSpaceTransformHessian: no generated method for these argument types") + throw(MethodError(PetscDualSpaceTransformHessian, (petsclib, dsp, trans, isInverse, fegeom, Nv, Nc, vals))) end @for_petsc function PetscDualSpaceTransformHessian(petsclib::$UnionPetscLib, dsp::PetscDualSpace, trans::PetscDualSpaceTransformType, isInverse::PetscBool, fegeom::Vector{PetscFEGeom}, Nv::$PetscInt, Nc::$PetscInt, vals::Vector{$PetscScalar} ) @@ -2671,7 +2671,7 @@ See also: `PetscViewer`, `PetscDualSpaceDestroy()`, `PetscDualSpace` $(_doc_external("DUALSPACE/PetscDualSpaceView")) """ function PetscDualSpaceView(petsclib::PetscLibType, sp::PetscDualSpace, v::PetscViewer) - error("PetscDualSpaceView: no generated method for these argument types") + throw(MethodError(PetscDualSpaceView, (petsclib, sp, v))) end @for_petsc function PetscDualSpaceView(petsclib::$UnionPetscLib, sp::PetscDualSpace, v::PetscViewer ) @@ -2709,7 +2709,7 @@ See also: `PetscDualSpace`, `PetscDualSpaceView()`, `PetscObjectViewFromOptions( $(_doc_external("DUALSPACE/PetscDualSpaceViewFromOptions")) """ function PetscDualSpaceViewFromOptions(petsclib::PetscLibType, A::PetscDualSpace, obj, name::String) - error("PetscDualSpaceViewFromOptions: no generated method for these argument types") + throw(MethodError(PetscDualSpaceViewFromOptions, (petsclib, A, obj, name))) end @for_petsc function PetscDualSpaceViewFromOptions(petsclib::$UnionPetscLib, A::PetscDualSpace, obj, name::String ) diff --git a/src/autowrapped/PetscFE_wrappers.jl b/src/autowrapped/PetscFE_wrappers.jl index abdea9c6c..94c7f226e 100644 --- a/src/autowrapped/PetscFE_wrappers.jl +++ b/src/autowrapped/PetscFE_wrappers.jl @@ -21,7 +21,7 @@ See also: `PetscFE`, `PetscFECreate()` $(_doc_external("FE/PetscFECompositeGetMapping")) """ function PetscFECompositeGetMapping(petsclib::PetscLibType, fem::PetscFE) - error("PetscFECompositeGetMapping: no generated method for these argument types") + throw(MethodError(PetscFECompositeGetMapping, (petsclib, fem))) end @for_petsc function PetscFECompositeGetMapping(petsclib::$UnionPetscLib, fem::PetscFE ) @@ -69,7 +69,7 @@ See also: `PetscTabulation`, `PetscFEGetCellTabulation()`, `PetscTabulationDestr $(_doc_external("FE/PetscFEComputeTabulation")) """ function PetscFEComputeTabulation(petsclib::PetscLibType, fem::PetscFE, npoints::Integer, points::AbstractVector{<:Number}, K::Integer, T::PetscTabulation) - error("PetscFEComputeTabulation: no generated method for these argument types") + throw(MethodError(PetscFEComputeTabulation, (petsclib, fem, npoints, points, K, T))) end @for_petsc function PetscFEComputeTabulation(petsclib::$UnionPetscLib, fem::PetscFE, npoints::$PetscInt, points::Vector{$PetscReal}, K::$PetscInt, T::PetscTabulation ) @@ -103,7 +103,7 @@ See also: `PetscFE`, `PetscSpace`, `PetscDualSpace`, `PetscQuadrature`, `PetscFE $(_doc_external("FE/PetscFECopyQuadrature")) """ function PetscFECopyQuadrature(petsclib::PetscLibType, sfe::PetscFE, tfe::PetscFE) - error("PetscFECopyQuadrature: no generated method for these argument types") + throw(MethodError(PetscFECopyQuadrature, (petsclib, sfe, tfe))) end @for_petsc function PetscFECopyQuadrature(petsclib::$UnionPetscLib, sfe::PetscFE, tfe::PetscFE ) @@ -139,7 +139,7 @@ See also: `PetscFE`, `PetscFEType`, `PetscFESetType()`, `PetscFECreateDefault()` $(_doc_external("FE/PetscFECreate")) """ function PetscFECreate(petsclib::PetscLibType, comm::MPI_Comm) - error("PetscFECreate: no generated method for these argument types") + throw(MethodError(PetscFECreate, (petsclib, comm))) end @for_petsc function PetscFECreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -177,7 +177,7 @@ See also: `PetscFECreate()`, `PetscSpaceCreate()`, `PetscDualSpaceCreate()`, `Pe $(_doc_external("FE/PetscFECreateBrokenElement")) """ function PetscFECreateBrokenElement(petsclib::PetscLibType, cgfe::PetscFE) - error("PetscFECreateBrokenElement: no generated method for these argument types") + throw(MethodError(PetscFECreateBrokenElement, (petsclib, cgfe))) end @for_petsc function PetscFECreateBrokenElement(petsclib::$UnionPetscLib, cgfe::PetscFE ) @@ -221,7 +221,7 @@ See also: `PetscFE`, `PetscFECreateDefault()`, `PetscFECreateLagrange()`, `Petsc $(_doc_external("FE/PetscFECreateByCell")) """ function PetscFECreateByCell(petsclib::PetscLibType, comm::MPI_Comm, dim::Integer, Nc::Integer, ct::DMPolytopeType, prefix::String, qorder::Integer) - error("PetscFECreateByCell: no generated method for these argument types") + throw(MethodError(PetscFECreateByCell, (petsclib, comm, dim, Nc, ct, prefix, qorder))) end @for_petsc function PetscFECreateByCell(petsclib::$UnionPetscLib, comm::MPI_Comm, dim::$PetscInt, Nc::$PetscInt, ct::DMPolytopeType, prefix::String, qorder::$PetscInt ) @@ -260,7 +260,7 @@ See also: `PetscFE`, `PetscFEGeom`, `PetscFEDestroyCellGeometry()`, `PetscFEGetQ $(_doc_external("FE/PetscFECreateCellGeometry")) """ function PetscFECreateCellGeometry(petsclib::PetscLibType, fe::PetscFE, quad::PetscQuadrature) - error("PetscFECreateCellGeometry: no generated method for these argument types") + throw(MethodError(PetscFECreateCellGeometry, (petsclib, fe, quad))) end @for_petsc function PetscFECreateCellGeometry(petsclib::$UnionPetscLib, fe::PetscFE, quad::PetscQuadrature ) @@ -304,7 +304,7 @@ See also: `PetscFE`, `PetscFECreateLagrange()`, `PetscFECreateByCell()`, `PetscS $(_doc_external("FE/PetscFECreateDefault")) """ function PetscFECreateDefault(petsclib::PetscLibType, comm::MPI_Comm, dim::Integer, Nc::Integer, isSimplex::PetscBool, prefix::String, qorder::Integer) - error("PetscFECreateDefault: no generated method for these argument types") + throw(MethodError(PetscFECreateDefault, (petsclib, comm, dim, Nc, isSimplex, prefix, qorder))) end @for_petsc function PetscFECreateDefault(petsclib::$UnionPetscLib, comm::MPI_Comm, dim::$PetscInt, Nc::$PetscInt, isSimplex::PetscBool, prefix::String, qorder::$PetscInt ) @@ -346,7 +346,7 @@ See also: `PetscFE`, `PetscSpace`, `PetscDualSpace`, `PetscQuadrature`, $(_doc_external("FE/PetscFECreateFromSpaces")) """ function PetscFECreateFromSpaces(petsclib::PetscLibType, P::PetscSpace, Q::PetscDualSpace, M_q::PetscQuadrature, fq::PetscQuadrature) - error("PetscFECreateFromSpaces: no generated method for these argument types") + throw(MethodError(PetscFECreateFromSpaces, (petsclib, P, Q, M_q, fq))) end @for_petsc function PetscFECreateFromSpaces(petsclib::$UnionPetscLib, P::PetscSpace, Q::PetscDualSpace, M_q::PetscQuadrature, fq::PetscQuadrature ) @@ -385,7 +385,7 @@ See also: `PetscFE`, `PetscFECreatePointTrace()`, `PetscFEGetHeightSubspace()`, $(_doc_external("FE/PetscFECreateHeightTrace")) """ function PetscFECreateHeightTrace(petsclib::PetscLibType, fe::PetscFE, height::Integer) - error("PetscFECreateHeightTrace: no generated method for these argument types") + throw(MethodError(PetscFECreateHeightTrace, (petsclib, fe, height))) end @for_petsc function PetscFECreateHeightTrace(petsclib::$UnionPetscLib, fe::PetscFE, height::$PetscInt ) @@ -428,7 +428,7 @@ See also: `PetscFE`, `PetscFECreateLagrangeByCell()`, `PetscFECreateDefault()`, $(_doc_external("FE/PetscFECreateLagrange")) """ function PetscFECreateLagrange(petsclib::PetscLibType, comm::MPI_Comm, dim::Integer, Nc::Integer, isSimplex::PetscBool, k::Integer, qorder::Integer) - error("PetscFECreateLagrange: no generated method for these argument types") + throw(MethodError(PetscFECreateLagrange, (petsclib, comm, dim, Nc, isSimplex, k, qorder))) end @for_petsc function PetscFECreateLagrange(petsclib::$UnionPetscLib, comm::MPI_Comm, dim::$PetscInt, Nc::$PetscInt, isSimplex::PetscBool, k::$PetscInt, qorder::$PetscInt ) @@ -472,7 +472,7 @@ See also: `PetscFE`, `PetscFECreateLagrange()`, `PetscFECreateDefault()`, `Petsc $(_doc_external("FE/PetscFECreateLagrangeByCell")) """ function PetscFECreateLagrangeByCell(petsclib::PetscLibType, comm::MPI_Comm, dim::Integer, Nc::Integer, ct::DMPolytopeType, k::Integer, qorder::Integer) - error("PetscFECreateLagrangeByCell: no generated method for these argument types") + throw(MethodError(PetscFECreateLagrangeByCell, (petsclib, comm, dim, Nc, ct, k, qorder))) end @for_petsc function PetscFECreateLagrangeByCell(petsclib::$UnionPetscLib, comm::MPI_Comm, dim::$PetscInt, Nc::$PetscInt, ct::DMPolytopeType, k::$PetscInt, qorder::$PetscInt ) @@ -514,7 +514,7 @@ See also: `PetscTabulation`, `PetscFEGetCellTabulation()`, `PetscTabulationDestr $(_doc_external("FE/PetscFECreateTabulation")) """ function PetscFECreateTabulation(petsclib::PetscLibType, fem::PetscFE, nrepl::Integer, npoints::Integer, points::AbstractVector{<:Number}, K::Integer) - error("PetscFECreateTabulation: no generated method for these argument types") + throw(MethodError(PetscFECreateTabulation, (petsclib, fem, nrepl, npoints, points, K))) end @for_petsc function PetscFECreateTabulation(petsclib::$UnionPetscLib, fem::PetscFE, nrepl::$PetscInt, npoints::$PetscInt, points::Vector{$PetscReal}, K::$PetscInt ) @@ -566,7 +566,7 @@ See also: `PetscFE`, `PetscFEType`, `PetscFECreate()`, `PetscFESetType()`, `PETS $(_doc_external("FE/PetscFECreateVector")) """ function PetscFECreateVector(petsclib::PetscLibType, scalar_fe::PetscFE, num_copies::Integer, interleave_basis::PetscBool, interleave_components::PetscBool) - error("PetscFECreateVector: no generated method for these argument types") + throw(MethodError(PetscFECreateVector, (petsclib, scalar_fe, num_copies, interleave_basis, interleave_components))) end @for_petsc function PetscFECreateVector(petsclib::$UnionPetscLib, scalar_fe::PetscFE, num_copies::$PetscInt, interleave_basis::PetscBool, interleave_components::PetscBool ) @@ -601,7 +601,7 @@ See also: `PetscFE`, `PetscFEView()` $(_doc_external("FE/PetscFEDestroy")) """ function PetscFEDestroy(petsclib::PetscLibType, fem::Union{PetscFE, Ref{PetscFE}}) - error("PetscFEDestroy: no generated method for these argument types") + throw(MethodError(PetscFEDestroy, (petsclib, fem))) end @for_petsc function PetscFEDestroy(petsclib::$UnionPetscLib, fem::Union{PetscFE, Ref{PetscFE}} ) @@ -636,7 +636,7 @@ See also: `PetscFE`, `PetscFEGeom`, `PetscFECreateCellGeometry()` $(_doc_external("FE/PetscFEDestroyCellGeometry")) """ function PetscFEDestroyCellGeometry(petsclib::PetscLibType, fe::PetscFE, cgeom::Vector{PetscFEGeom}) - error("PetscFEDestroyCellGeometry: no generated method for these argument types") + throw(MethodError(PetscFEDestroyCellGeometry, (petsclib, fe, cgeom))) end @for_petsc function PetscFEDestroyCellGeometry(petsclib::$UnionPetscLib, fe::PetscFE, cgeom::Vector{PetscFEGeom} ) @@ -674,7 +674,7 @@ See also: `PetscFE`, `PetscQuadrature`, `PetscFECreateFaceQuadrature()`, `PetscF $(_doc_external("FE/PetscFEExpandFaceQuadrature")) """ function PetscFEExpandFaceQuadrature(petsclib::PetscLibType, fe::PetscFE, fq::PetscQuadrature) - error("PetscFEExpandFaceQuadrature: no generated method for these argument types") + throw(MethodError(PetscFEExpandFaceQuadrature, (petsclib, fe, fq))) end @for_petsc function PetscFEExpandFaceQuadrature(petsclib::$UnionPetscLib, fe::PetscFE, fq::PetscQuadrature ) @@ -705,7 +705,7 @@ See also: `PetscInitialize()` $(_doc_external("DM/PetscFEFinalizePackage")) """ function PetscFEFinalizePackage(petsclib::PetscLibType) - error("PetscFEFinalizePackage: no generated method for these argument types") + throw(MethodError(PetscFEFinalizePackage, (petsclib, ))) end @for_petsc function PetscFEFinalizePackage(petsclib::$UnionPetscLib) @@ -735,7 +735,7 @@ See also: `PetscFEGeom`, `PetscFEGeomCreate()` $(_doc_external("FE/PetscFEGeomComplete")) """ function PetscFEGeomComplete(petsclib::PetscLibType, geom::Vector{PetscFEGeom}) - error("PetscFEGeomComplete: no generated method for these argument types") + throw(MethodError(PetscFEGeomComplete, (petsclib, geom))) end @for_petsc function PetscFEGeomComplete(petsclib::$UnionPetscLib, geom::Vector{PetscFEGeom} ) @@ -772,7 +772,7 @@ See also: `PetscFEGeom`, `PetscQuadrature`, `PetscFEGeomDestroy()`, `PetscFEGeom $(_doc_external("FE/PetscFEGeomCreate")) """ function PetscFEGeomCreate(petsclib::PetscLibType, quad::PetscQuadrature, numCells::Integer, dimEmbed::Integer, mode::PetscFEGeomMode) - error("PetscFEGeomCreate: no generated method for these argument types") + throw(MethodError(PetscFEGeomCreate, (petsclib, quad, numCells, dimEmbed, mode))) end @for_petsc function PetscFEGeomCreate(petsclib::$UnionPetscLib, quad::PetscQuadrature, numCells::$PetscInt, dimEmbed::$PetscInt, mode::PetscFEGeomMode ) @@ -805,7 +805,7 @@ See also: `PetscFEGeom`, `PetscFEGeomCreate()` $(_doc_external("FE/PetscFEGeomDestroy")) """ function PetscFEGeomDestroy(petsclib::PetscLibType, geom::PetscFEGeom) - error("PetscFEGeomDestroy: no generated method for these argument types") + throw(MethodError(PetscFEGeomDestroy, (petsclib, geom))) end @for_petsc function PetscFEGeomDestroy(petsclib::$UnionPetscLib, geom::PetscFEGeom ) @@ -841,7 +841,7 @@ See also: `PetscFEGeom`, `PetscFEGeomMode`, `PetscFEGeomRestoreChunk()`, `PetscF $(_doc_external("FE/PetscFEGeomGetCellPoint")) """ function PetscFEGeomGetCellPoint(petsclib::PetscLibType, geom::Vector{PetscFEGeom}, c::Integer, p::Integer) - error("PetscFEGeomGetCellPoint: no generated method for these argument types") + throw(MethodError(PetscFEGeomGetCellPoint, (petsclib, geom, c, p))) end @for_petsc function PetscFEGeomGetCellPoint(petsclib::$UnionPetscLib, geom::Vector{PetscFEGeom}, c::$PetscInt, p::$PetscInt ) @@ -879,7 +879,7 @@ See also: `PetscFEGeom`, `PetscFEGeomRestoreChunk()`, `PetscFEGeomCreate()` $(_doc_external("FE/PetscFEGeomGetChunk")) """ function PetscFEGeomGetChunk(petsclib::PetscLibType, geom::Vector{PetscFEGeom}, cStart::Integer, cEnd::Integer) - error("PetscFEGeomGetChunk: no generated method for these argument types") + throw(MethodError(PetscFEGeomGetChunk, (petsclib, geom, cStart, cEnd))) end @for_petsc function PetscFEGeomGetChunk(petsclib::$UnionPetscLib, geom::Vector{PetscFEGeom}, cStart::$PetscInt, cEnd::$PetscInt ) @@ -918,7 +918,7 @@ See also: `PetscFEGeom`, `PetscFEGeomRestoreChunk()`, `PetscFEGeomCreate()` $(_doc_external("FE/PetscFEGeomGetPoint")) """ function PetscFEGeomGetPoint(petsclib::PetscLibType, geom::Vector{PetscFEGeom}, c::Integer, p::Integer, pcoords::AbstractVector{<:Number}) - error("PetscFEGeomGetPoint: no generated method for these argument types") + throw(MethodError(PetscFEGeomGetPoint, (petsclib, geom, c, p, pcoords))) end @for_petsc function PetscFEGeomGetPoint(petsclib::$UnionPetscLib, geom::Vector{PetscFEGeom}, c::$PetscInt, p::$PetscInt, pcoords::Vector{$PetscReal} ) @@ -954,7 +954,7 @@ See also: `PetscFEGeom`, `PetscFEGeomGetChunk()`, `PetscFEGeomCreate()` $(_doc_external("FE/PetscFEGeomRestoreChunk")) """ function PetscFEGeomRestoreChunk(petsclib::PetscLibType, geom::Vector{PetscFEGeom}, cStart::Integer, cEnd::Integer, chunkGeom::PetscFEGeom) - error("PetscFEGeomRestoreChunk: no generated method for these argument types") + throw(MethodError(PetscFEGeomRestoreChunk, (petsclib, geom, cStart, cEnd, chunkGeom))) end @for_petsc function PetscFEGeomRestoreChunk(petsclib::$UnionPetscLib, geom::Vector{PetscFEGeom}, cStart::$PetscInt, cEnd::$PetscInt, chunkGeom::PetscFEGeom ) @@ -990,7 +990,7 @@ See also: `PetscFE`, `PetscSpace`, `PetscFECreate()` $(_doc_external("FE/PetscFEGetBasisSpace")) """ function PetscFEGetBasisSpace(petsclib::PetscLibType, fem::PetscFE) - error("PetscFEGetBasisSpace: no generated method for these argument types") + throw(MethodError(PetscFEGetBasisSpace, (petsclib, fem))) end @for_petsc function PetscFEGetBasisSpace(petsclib::$UnionPetscLib, fem::PetscFE ) @@ -1029,7 +1029,7 @@ See also: `PetscFE`, `PetscSpace`, `PetscDualSpace`, `PetscTabulation`, `PetscFE $(_doc_external("FE/PetscFEGetCellTabulation")) """ function PetscFEGetCellTabulation(petsclib::PetscLibType, fem::PetscFE, k::Integer) - error("PetscFEGetCellTabulation: no generated method for these argument types") + throw(MethodError(PetscFEGetCellTabulation, (petsclib, fem, k))) end @for_petsc function PetscFEGetCellTabulation(petsclib::$UnionPetscLib, fem::PetscFE, k::$PetscInt ) @@ -1067,7 +1067,7 @@ See also: `PetscFE`, `PetscFECreate()`, `PetscSpaceGetDimension()`, `PetscDualSp $(_doc_external("FE/PetscFEGetDimension")) """ function PetscFEGetDimension(petsclib::PetscLibType, fem::PetscFE) - error("PetscFEGetDimension: no generated method for these argument types") + throw(MethodError(PetscFEGetDimension, (petsclib, fem))) end @for_petsc function PetscFEGetDimension(petsclib::$UnionPetscLib, fem::PetscFE ) @@ -1105,7 +1105,7 @@ See also: `PetscFE`, `PetscSpace`, `PetscDualSpace`, `PetscFECreate()` $(_doc_external("FE/PetscFEGetDualSpace")) """ function PetscFEGetDualSpace(petsclib::PetscLibType, fem::PetscFE) - error("PetscFEGetDualSpace: no generated method for these argument types") + throw(MethodError(PetscFEGetDualSpace, (petsclib, fem))) end @for_petsc function PetscFEGetDualSpace(petsclib::$UnionPetscLib, fem::PetscFE ) @@ -1143,7 +1143,7 @@ See also: `PetscFE`, `PetscSpace`, `PetscDualSpace`, `PetscTabulation`, `PetscFE $(_doc_external("FE/PetscFEGetFaceCentroidTabulation")) """ function PetscFEGetFaceCentroidTabulation(petsclib::PetscLibType, fem::PetscFE) - error("PetscFEGetFaceCentroidTabulation: no generated method for these argument types") + throw(MethodError(PetscFEGetFaceCentroidTabulation, (petsclib, fem))) end @for_petsc function PetscFEGetFaceCentroidTabulation(petsclib::$UnionPetscLib, fem::PetscFE ) @@ -1181,7 +1181,7 @@ See also: `PetscFE`, `PetscSpace`, `PetscDualSpace`, `PetscQuadrature`, `PetscFE $(_doc_external("FE/PetscFEGetFaceQuadrature")) """ function PetscFEGetFaceQuadrature(petsclib::PetscLibType, fem::PetscFE) - error("PetscFEGetFaceQuadrature: no generated method for these argument types") + throw(MethodError(PetscFEGetFaceQuadrature, (petsclib, fem))) end @for_petsc function PetscFEGetFaceQuadrature(petsclib::$UnionPetscLib, fem::PetscFE ) @@ -1220,7 +1220,7 @@ See also: `PetscFE`, `PetscSpace`, `PetscDualSpace`, `PetscTabulation`, `PetscFE $(_doc_external("FE/PetscFEGetFaceTabulation")) """ function PetscFEGetFaceTabulation(petsclib::PetscLibType, fem::PetscFE, k::Integer) - error("PetscFEGetFaceTabulation: no generated method for these argument types") + throw(MethodError(PetscFEGetFaceTabulation, (petsclib, fem, k))) end @for_petsc function PetscFEGetFaceTabulation(petsclib::$UnionPetscLib, fem::PetscFE, k::$PetscInt ) @@ -1257,7 +1257,7 @@ See also: `PetscFECreateDefault()` $(_doc_external("FE/PetscFEGetHeightSubspace")) """ function PetscFEGetHeightSubspace(petsclib::PetscLibType, fe::PetscFE, height::Integer) - error("PetscFEGetHeightSubspace: no generated method for these argument types") + throw(MethodError(PetscFEGetHeightSubspace, (petsclib, fe, height))) end @for_petsc function PetscFEGetHeightSubspace(petsclib::$UnionPetscLib, fe::PetscFE, height::$PetscInt ) @@ -1295,7 +1295,7 @@ See also: `PetscFE`, `PetscFECreate()`, `PetscFEGetSpatialDimension()` $(_doc_external("FE/PetscFEGetNumComponents")) """ function PetscFEGetNumComponents(petsclib::PetscLibType, fem::PetscFE) - error("PetscFEGetNumComponents: no generated method for these argument types") + throw(MethodError(PetscFEGetNumComponents, (petsclib, fem))) end @for_petsc function PetscFEGetNumComponents(petsclib::$UnionPetscLib, fem::PetscFE ) @@ -1333,7 +1333,7 @@ See also: `PetscFE`, `PetscSpace`, `PetscDualSpace`, `PetscFECreate()` $(_doc_external("FE/PetscFEGetNumDof")) """ function PetscFEGetNumDof(petsclib::PetscLibType, fem::PetscFE) - error("PetscFEGetNumDof: no generated method for these argument types") + throw(MethodError(PetscFEGetNumDof, (petsclib, fem))) end @for_petsc function PetscFEGetNumDof(petsclib::$UnionPetscLib, fem::PetscFE ) @@ -1372,7 +1372,7 @@ See also: `PetscFE`, `PetscSpace`, `PetscDualSpace`, `PetscQuadrature`, `PetscFE $(_doc_external("FE/PetscFEGetQuadrature")) """ function PetscFEGetQuadrature(petsclib::PetscLibType, fem::PetscFE) - error("PetscFEGetQuadrature: no generated method for these argument types") + throw(MethodError(PetscFEGetQuadrature, (petsclib, fem))) end @for_petsc function PetscFEGetQuadrature(petsclib::$UnionPetscLib, fem::PetscFE ) @@ -1410,7 +1410,7 @@ See also: `PetscFE`, `PetscFECreate()` $(_doc_external("FE/PetscFEGetSpatialDimension")) """ function PetscFEGetSpatialDimension(petsclib::PetscLibType, fem::PetscFE) - error("PetscFEGetSpatialDimension: no generated method for these argument types") + throw(MethodError(PetscFEGetSpatialDimension, (petsclib, fem))) end @for_petsc function PetscFEGetSpatialDimension(petsclib::$UnionPetscLib, fem::PetscFE ) @@ -1451,7 +1451,7 @@ See also: `PetscFE`, `PetscFECreate()`, `PetscFESetTileSizes()` $(_doc_external("FE/PetscFEGetTileSizes")) """ function PetscFEGetTileSizes(petsclib::PetscLibType, fem::PetscFE) - error("PetscFEGetTileSizes: no generated method for these argument types") + throw(MethodError(PetscFEGetTileSizes, (petsclib, fem))) end @for_petsc function PetscFEGetTileSizes(petsclib::$UnionPetscLib, fem::PetscFE ) @@ -1495,7 +1495,7 @@ See also: `PetscFEType`, `PetscFE`, `PetscFESetType()`, `PetscFECreate()` $(_doc_external("FE/PetscFEGetType")) """ function PetscFEGetType(petsclib::PetscLibType, fem::PetscFE) - error("PetscFEGetType: no generated method for these argument types") + throw(MethodError(PetscFEGetType, (petsclib, fem))) end @for_petsc function PetscFEGetType(petsclib::$UnionPetscLib, fem::PetscFE ) @@ -1527,7 +1527,7 @@ See also: `PetscInitialize()` $(_doc_external("DM/PetscFEInitializePackage")) """ function PetscFEInitializePackage(petsclib::PetscLibType) - error("PetscFEInitializePackage: no generated method for these argument types") + throw(MethodError(PetscFEInitializePackage, (petsclib, ))) end @for_petsc function PetscFEInitializePackage(petsclib::$UnionPetscLib) @@ -1568,7 +1568,7 @@ See also: `PetscFE`, `PetscDS`, `PetscFEIntegrateResidual()`, `PetscFEIntegrateB $(_doc_external("FE/PetscFEIntegrate")) """ function PetscFEIntegrate(petsclib::PetscLibType, prob::PetscDS, field::Integer, Ne::Integer, cgeom::Vector{PetscFEGeom}, coefficients::AbstractVector{<:Number}, probAux::PetscDS, coefficientsAux::AbstractVector{<:Number}, integral::AbstractVector{<:Number}) - error("PetscFEIntegrate: no generated method for these argument types") + throw(MethodError(PetscFEIntegrate, (petsclib, prob, field, Ne, cgeom, coefficients, probAux, coefficientsAux, integral))) end @for_petsc function PetscFEIntegrate(petsclib::$UnionPetscLib, prob::PetscDS, field::$PetscInt, Ne::$PetscInt, cgeom::Vector{PetscFEGeom}, coefficients::Vector{$PetscScalar}, probAux::PetscDS, coefficientsAux::Vector{$PetscScalar}, integral::Vector{$PetscScalar} ) @@ -1611,7 +1611,7 @@ See also: `PetscFE`, `PetscDS`, `PetscFEIntegrateResidual()`, `PetscFEIntegrate( $(_doc_external("FE/PetscFEIntegrateBd")) """ function PetscFEIntegrateBd(petsclib::PetscLibType, prob::PetscDS, field::Integer, noname::Ptr{Cvoid}) - error("PetscFEIntegrateBd: no generated method for these argument types") + throw(MethodError(PetscFEIntegrateBd, (petsclib, prob, field, noname))) end @for_petsc function PetscFEIntegrateBd(petsclib::$UnionPetscLib, prob::PetscDS, field::$PetscInt, noname::Ptr{Cvoid} ) @@ -1658,7 +1658,7 @@ See also: `PetscFEIntegrateJacobian()`, `PetscFEIntegrateResidual()` $(_doc_external("FE/PetscFEIntegrateBdJacobian")) """ function PetscFEIntegrateBdJacobian(petsclib::PetscLibType, ds::PetscDS, wf::PetscWeakForm, jtype::PetscFEJacobianType, key::PetscFormKey, Ne::Integer, fgeom::Vector{PetscFEGeom}, coefficients::AbstractVector{<:Number}, coefficients_t::AbstractVector{<:Number}, probAux::PetscDS, coefficientsAux::AbstractVector{<:Number}, t::Real, u_tshift::Real, elemMat::AbstractVector{<:Number}) - error("PetscFEIntegrateBdJacobian: no generated method for these argument types") + throw(MethodError(PetscFEIntegrateBdJacobian, (petsclib, ds, wf, jtype, key, Ne, fgeom, coefficients, coefficients_t, probAux, coefficientsAux, t, u_tshift, elemMat))) end @for_petsc function PetscFEIntegrateBdJacobian(petsclib::$UnionPetscLib, ds::PetscDS, wf::PetscWeakForm, jtype::PetscFEJacobianType, key::PetscFormKey, Ne::$PetscInt, fgeom::Vector{PetscFEGeom}, coefficients::Vector{$PetscScalar}, coefficients_t::Vector{$PetscScalar}, probAux::PetscDS, coefficientsAux::Vector{$PetscScalar}, t::$PetscReal, u_tshift::$PetscReal, elemMat::Vector{$PetscScalar} ) @@ -1703,7 +1703,7 @@ See also: `PetscFEIntegrateResidual()` $(_doc_external("FE/PetscFEIntegrateBdResidual")) """ function PetscFEIntegrateBdResidual(petsclib::PetscLibType, ds::PetscDS, wf::PetscWeakForm, key::PetscFormKey, Ne::Integer, fgeom::Vector{PetscFEGeom}, coefficients::AbstractVector{<:Number}, coefficients_t::AbstractVector{<:Number}, probAux::PetscDS, coefficientsAux::AbstractVector{<:Number}, t::Real, elemVec::AbstractVector{<:Number}) - error("PetscFEIntegrateBdResidual: no generated method for these argument types") + throw(MethodError(PetscFEIntegrateBdResidual, (petsclib, ds, wf, key, Ne, fgeom, coefficients, coefficients_t, probAux, coefficientsAux, t, elemVec))) end @for_petsc function PetscFEIntegrateBdResidual(petsclib::$UnionPetscLib, ds::PetscDS, wf::PetscWeakForm, key::PetscFormKey, Ne::$PetscInt, fgeom::Vector{PetscFEGeom}, coefficients::Vector{$PetscScalar}, coefficients_t::Vector{$PetscScalar}, probAux::PetscDS, coefficientsAux::Vector{$PetscScalar}, t::$PetscReal, elemVec::Vector{$PetscScalar} ) @@ -1752,7 +1752,7 @@ See also: `PetscFEIntegrateJacobian()`, `PetscFEIntegrateResidual()` $(_doc_external("FE/PetscFEIntegrateHybridJacobian")) """ function PetscFEIntegrateHybridJacobian(petsclib::PetscLibType, ds::PetscDS, dsIn::PetscDS, jtype::PetscFEJacobianType, key::PetscFormKey, s::Integer, Ne::Integer, fgeom::Vector{PetscFEGeom}, cgeom::Vector{PetscFEGeom}, coefficients::AbstractVector{<:Number}, coefficients_t::AbstractVector{<:Number}, probAux::PetscDS, coefficientsAux::AbstractVector{<:Number}, t::Real, u_tshift::Real, elemMat::AbstractVector{<:Number}) - error("PetscFEIntegrateHybridJacobian: no generated method for these argument types") + throw(MethodError(PetscFEIntegrateHybridJacobian, (petsclib, ds, dsIn, jtype, key, s, Ne, fgeom, cgeom, coefficients, coefficients_t, probAux, coefficientsAux, t, u_tshift, elemMat))) end @for_petsc function PetscFEIntegrateHybridJacobian(petsclib::$UnionPetscLib, ds::PetscDS, dsIn::PetscDS, jtype::PetscFEJacobianType, key::PetscFormKey, s::$PetscInt, Ne::$PetscInt, fgeom::Vector{PetscFEGeom}, cgeom::Vector{PetscFEGeom}, coefficients::Vector{$PetscScalar}, coefficients_t::Vector{$PetscScalar}, probAux::PetscDS, coefficientsAux::Vector{$PetscScalar}, t::$PetscReal, u_tshift::$PetscReal, elemMat::Vector{$PetscScalar} ) @@ -1799,7 +1799,7 @@ See also: `PetscFEIntegrateResidual()` $(_doc_external("FE/PetscFEIntegrateHybridResidual")) """ function PetscFEIntegrateHybridResidual(petsclib::PetscLibType, ds::PetscDS, dsIn::PetscDS, key::PetscFormKey, s::Integer, Ne::Integer, fgeom::Vector{PetscFEGeom}, cgeom::Vector{PetscFEGeom}, coefficients::AbstractVector{<:Number}, coefficients_t::AbstractVector{<:Number}, probAux::PetscDS, coefficientsAux::AbstractVector{<:Number}, t::Real, elemVec::AbstractVector{<:Number}) - error("PetscFEIntegrateHybridResidual: no generated method for these argument types") + throw(MethodError(PetscFEIntegrateHybridResidual, (petsclib, ds, dsIn, key, s, Ne, fgeom, cgeom, coefficients, coefficients_t, probAux, coefficientsAux, t, elemVec))) end @for_petsc function PetscFEIntegrateHybridResidual(petsclib::$UnionPetscLib, ds::PetscDS, dsIn::PetscDS, key::PetscFormKey, s::$PetscInt, Ne::$PetscInt, fgeom::Vector{PetscFEGeom}, cgeom::Vector{PetscFEGeom}, coefficients::Vector{$PetscScalar}, coefficients_t::Vector{$PetscScalar}, probAux::PetscDS, coefficientsAux::Vector{$PetscScalar}, t::$PetscReal, elemVec::Vector{$PetscScalar} ) @@ -1846,7 +1846,7 @@ See also: `PetscFEIntegrateResidual()` $(_doc_external("FE/PetscFEIntegrateJacobian")) """ function PetscFEIntegrateJacobian(petsclib::PetscLibType, rds::PetscDS, cds::PetscDS, jtype::PetscFEJacobianType, key::PetscFormKey, Ne::Integer, cgeom::Vector{PetscFEGeom}, coefficients::AbstractVector{<:Number}, coefficients_t::AbstractVector{<:Number}, dsAux::PetscDS, coefficientsAux::AbstractVector{<:Number}, t::Real, u_tshift::Real, elemMat::AbstractVector{<:Number}) - error("PetscFEIntegrateJacobian: no generated method for these argument types") + throw(MethodError(PetscFEIntegrateJacobian, (petsclib, rds, cds, jtype, key, Ne, cgeom, coefficients, coefficients_t, dsAux, coefficientsAux, t, u_tshift, elemMat))) end @for_petsc function PetscFEIntegrateJacobian(petsclib::$UnionPetscLib, rds::PetscDS, cds::PetscDS, jtype::PetscFEJacobianType, key::PetscFormKey, Ne::$PetscInt, cgeom::Vector{PetscFEGeom}, coefficients::Vector{$PetscScalar}, coefficients_t::Vector{$PetscScalar}, dsAux::PetscDS, coefficientsAux::Vector{$PetscScalar}, t::$PetscReal, u_tshift::$PetscReal, elemMat::Vector{$PetscScalar} ) @@ -1890,7 +1890,7 @@ See also: `PetscFEIntegrateBdResidual()` $(_doc_external("FE/PetscFEIntegrateResidual")) """ function PetscFEIntegrateResidual(petsclib::PetscLibType, ds::PetscDS, key::PetscFormKey, Ne::Integer, cgeom::Vector{PetscFEGeom}, coefficients::AbstractVector{<:Number}, coefficients_t::AbstractVector{<:Number}, probAux::PetscDS, coefficientsAux::AbstractVector{<:Number}, t::Real, elemVec::AbstractVector{<:Number}) - error("PetscFEIntegrateResidual: no generated method for these argument types") + throw(MethodError(PetscFEIntegrateResidual, (petsclib, ds, key, Ne, cgeom, coefficients, coefficients_t, probAux, coefficientsAux, t, elemVec))) end @for_petsc function PetscFEIntegrateResidual(petsclib::$UnionPetscLib, ds::PetscDS, key::PetscFormKey, Ne::$PetscInt, cgeom::Vector{PetscFEGeom}, coefficients::Vector{$PetscScalar}, coefficients_t::Vector{$PetscScalar}, probAux::PetscDS, coefficientsAux::Vector{$PetscScalar}, t::$PetscReal, elemVec::Vector{$PetscScalar} ) @@ -1928,7 +1928,7 @@ See also: `PetscFECreateLagrange()`, `PetscFECreateDefault()`, `PetscFECreateByC $(_doc_external("FE/PetscFELimitDegree")) """ function PetscFELimitDegree(petsclib::PetscLibType, fe::PetscFE, minDegree::Integer, maxDegree::Integer) - error("PetscFELimitDegree: no generated method for these argument types") + throw(MethodError(PetscFELimitDegree, (petsclib, fe, minDegree, maxDegree))) end @for_petsc function PetscFELimitDegree(petsclib::$UnionPetscLib, fe::PetscFE, minDegree::$PetscInt, maxDegree::$PetscInt ) @@ -1964,7 +1964,7 @@ See also: `PetscFE`, `PetscFEOpenCLSetRealType()` $(_doc_external("FE/PetscFEOpenCLGetRealType")) """ function PetscFEOpenCLGetRealType(petsclib::PetscLibType, fem::PetscFE) - error("PetscFEOpenCLGetRealType: no generated method for these argument types") + throw(MethodError(PetscFEOpenCLGetRealType, (petsclib, fem))) end @for_petsc function PetscFEOpenCLGetRealType(petsclib::$UnionPetscLib, fem::PetscFE ) @@ -1998,7 +1998,7 @@ See also: `PetscFE`, `PetscFEOpenCLGetRealType()` $(_doc_external("FE/PetscFEOpenCLSetRealType")) """ function PetscFEOpenCLSetRealType(petsclib::PetscLibType, fem::PetscFE, realType::PetscDataType) - error("PetscFEOpenCLSetRealType: no generated method for these argument types") + throw(MethodError(PetscFEOpenCLSetRealType, (petsclib, fem, realType))) end @for_petsc function PetscFEOpenCLSetRealType(petsclib::$UnionPetscLib, fem::PetscFE, realType::PetscDataType ) @@ -2035,7 +2035,7 @@ See also: `PetscFE`, `PetscFEGeom`, `PetscDualSpace`, `PetscDualSpacePushforward $(_doc_external("FE/PetscFEPushforward")) """ function PetscFEPushforward(petsclib::PetscLibType, fe::PetscFE, fegeom::Vector{PetscFEGeom}, Nv::Integer, vals::AbstractVector{<:Number}) - error("PetscFEPushforward: no generated method for these argument types") + throw(MethodError(PetscFEPushforward, (petsclib, fe, fegeom, Nv, vals))) end @for_petsc function PetscFEPushforward(petsclib::$UnionPetscLib, fe::PetscFE, fegeom::Vector{PetscFEGeom}, Nv::$PetscInt, vals::Vector{$PetscScalar} ) @@ -2072,7 +2072,7 @@ See also: `PetscFE`, `PetscFEGeom`, `PetscDualSpace`, `PetscFEPushforward()`, `P $(_doc_external("FE/PetscFEPushforwardGradient")) """ function PetscFEPushforwardGradient(petsclib::PetscLibType, fe::PetscFE, fegeom::Vector{PetscFEGeom}, Nv::Integer, vals::AbstractVector{<:Number}) - error("PetscFEPushforwardGradient: no generated method for these argument types") + throw(MethodError(PetscFEPushforwardGradient, (petsclib, fe, fegeom, Nv, vals))) end @for_petsc function PetscFEPushforwardGradient(petsclib::$UnionPetscLib, fe::PetscFE, fegeom::Vector{PetscFEGeom}, Nv::$PetscInt, vals::Vector{$PetscScalar} ) @@ -2109,7 +2109,7 @@ See also: `PetscFE`, `PetscFEGeom`, `PetscDualSpace`, `PetscFEPushforward()`, `P $(_doc_external("FE/PetscFEPushforwardHessian")) """ function PetscFEPushforwardHessian(petsclib::PetscLibType, fe::PetscFE, fegeom::Vector{PetscFEGeom}, Nv::Integer, vals::AbstractVector{<:Number}) - error("PetscFEPushforwardHessian: no generated method for these argument types") + throw(MethodError(PetscFEPushforwardHessian, (petsclib, fe, fegeom, Nv, vals))) end @for_petsc function PetscFEPushforwardHessian(petsclib::$UnionPetscLib, fe::PetscFE, fegeom::Vector{PetscFEGeom}, Nv::$PetscInt, vals::Vector{$PetscScalar} ) @@ -2146,7 +2146,7 @@ See also: `PetscFEType`, `PetscFECreate()`, `PetscFESetType()` $(_doc_external("FE/PetscFERefine")) """ function PetscFERefine(petsclib::PetscLibType, fe::PetscFE) - error("PetscFERefine: no generated method for these argument types") + throw(MethodError(PetscFERefine, (petsclib, fe))) end @for_petsc function PetscFERefine(petsclib::$UnionPetscLib, fe::PetscFE ) @@ -2180,7 +2180,7 @@ See also: `PetscFE`, `PetscFEType`, `PetscFERegisterAll()`, `PetscFERegisterDest $(_doc_external("FE/PetscFERegister")) """ function PetscFERegister(petsclib::PetscLibType, sname::String, fnc::external) - error("PetscFERegister: no generated method for these argument types") + throw(MethodError(PetscFERegister, (petsclib, sname, fnc))) end @for_petsc function PetscFERegister(petsclib::$UnionPetscLib, sname::String, fnc::external ) @@ -2214,7 +2214,7 @@ See also: `PetscFE`, `PetscSpace`, `PetscDualSpace`, `PetscFECreate()`, `PetscFE $(_doc_external("FE/PetscFESetBasisSpace")) """ function PetscFESetBasisSpace(petsclib::PetscLibType, fem::PetscFE, sp::PetscSpace) - error("PetscFESetBasisSpace: no generated method for these argument types") + throw(MethodError(PetscFESetBasisSpace, (petsclib, fem, sp))) end @for_petsc function PetscFESetBasisSpace(petsclib::$UnionPetscLib, fem::PetscFE, sp::PetscSpace ) @@ -2248,7 +2248,7 @@ See also: `PetscFE`, `PetscSpace`, `PetscDualSpace`, `PetscFECreate()`, `PetscFE $(_doc_external("FE/PetscFESetDualSpace")) """ function PetscFESetDualSpace(petsclib::PetscLibType, fem::PetscFE, sp::PetscDualSpace) - error("PetscFESetDualSpace: no generated method for these argument types") + throw(MethodError(PetscFESetDualSpace, (petsclib, fem, sp))) end @for_petsc function PetscFESetDualSpace(petsclib::$UnionPetscLib, fem::PetscFE, sp::PetscDualSpace ) @@ -2282,7 +2282,7 @@ See also: `PetscFE`, `PetscSpace`, `PetscDualSpace`, `PetscQuadrature`, `PetscFE $(_doc_external("FE/PetscFESetFaceQuadrature")) """ function PetscFESetFaceQuadrature(petsclib::PetscLibType, fem::PetscFE, q::PetscQuadrature) - error("PetscFESetFaceQuadrature: no generated method for these argument types") + throw(MethodError(PetscFESetFaceQuadrature, (petsclib, fem, q))) end @for_petsc function PetscFESetFaceQuadrature(petsclib::$UnionPetscLib, fem::PetscFE, q::PetscQuadrature ) @@ -2319,7 +2319,7 @@ See also: `PetscFE`, `PetscFEView()` $(_doc_external("FE/PetscFESetFromOptions")) """ function PetscFESetFromOptions(petsclib::PetscLibType, fem::PetscFE) - error("PetscFESetFromOptions: no generated method for these argument types") + throw(MethodError(PetscFESetFromOptions, (petsclib, fem))) end @for_petsc function PetscFESetFromOptions(petsclib::$UnionPetscLib, fem::PetscFE ) @@ -2353,7 +2353,7 @@ See also: `PetscFECreate()`, `PetscSpaceCreate()`, `PetscDualSpaceCreate()` $(_doc_external("FE/PetscFESetName")) """ function PetscFESetName(petsclib::PetscLibType, fe::PetscFE, name::String) - error("PetscFESetName: no generated method for these argument types") + throw(MethodError(PetscFESetName, (petsclib, fe, name))) end @for_petsc function PetscFESetName(petsclib::$UnionPetscLib, fe::PetscFE, name::String ) @@ -2387,7 +2387,7 @@ See also: `PetscFE`, `PetscFECreate()`, `PetscFEGetSpatialDimension()`, `PetscFE $(_doc_external("FE/PetscFESetNumComponents")) """ function PetscFESetNumComponents(petsclib::PetscLibType, fem::PetscFE, comp::Integer) - error("PetscFESetNumComponents: no generated method for these argument types") + throw(MethodError(PetscFESetNumComponents, (petsclib, fem, comp))) end @for_petsc function PetscFESetNumComponents(petsclib::$UnionPetscLib, fem::PetscFE, comp::$PetscInt ) @@ -2421,7 +2421,7 @@ See also: `PetscFE`, `PetscSpace`, `PetscDualSpace`, `PetscQuadrature`, `PetscFE $(_doc_external("FE/PetscFESetQuadrature")) """ function PetscFESetQuadrature(petsclib::PetscLibType, fem::PetscFE, q::PetscQuadrature) - error("PetscFESetQuadrature: no generated method for these argument types") + throw(MethodError(PetscFESetQuadrature, (petsclib, fem, q))) end @for_petsc function PetscFESetQuadrature(petsclib::$UnionPetscLib, fem::PetscFE, q::PetscQuadrature ) @@ -2458,7 +2458,7 @@ See also: `PetscFE`, `PetscFECreate()`, `PetscFEGetTileSizes()` $(_doc_external("FE/PetscFESetTileSizes")) """ function PetscFESetTileSizes(petsclib::PetscLibType, fem::PetscFE, blockSize::Integer, numBlocks::Integer, batchSize::Integer, numBatches::Integer) - error("PetscFESetTileSizes: no generated method for these argument types") + throw(MethodError(PetscFESetTileSizes, (petsclib, fem, blockSize, numBlocks, batchSize, numBatches))) end @for_petsc function PetscFESetTileSizes(petsclib::$UnionPetscLib, fem::PetscFE, blockSize::$PetscInt, numBlocks::$PetscInt, batchSize::$PetscInt, numBatches::$PetscInt ) @@ -2495,7 +2495,7 @@ See also: `PetscFEType`, `PetscFE`, `PetscFEGetType()`, `PetscFECreate()` $(_doc_external("FE/PetscFESetType")) """ function PetscFESetType(petsclib::PetscLibType, fem::PetscFE, name::String) - error("PetscFESetType: no generated method for these argument types") + throw(MethodError(PetscFESetType, (petsclib, fem, name))) end @for_petsc function PetscFESetType(petsclib::$UnionPetscLib, fem::PetscFE, name::String ) @@ -2528,7 +2528,7 @@ See also: `PetscFE`, `PetscFEView()`, `PetscFEDestroy()` $(_doc_external("FE/PetscFESetUp")) """ function PetscFESetUp(petsclib::PetscLibType, fem::PetscFE) - error("PetscFESetUp: no generated method for these argument types") + throw(MethodError(PetscFESetUp, (petsclib, fem))) end @for_petsc function PetscFESetUp(petsclib::$UnionPetscLib, fem::PetscFE ) @@ -2562,7 +2562,7 @@ See also: `PetscFE`, `PetscViewer`, `PetscFEDestroy()`, `PetscFEViewFromOptions( $(_doc_external("FE/PetscFEView")) """ function PetscFEView(petsclib::PetscLibType, fem::PetscFE, viewer::PetscViewer) - error("PetscFEView: no generated method for these argument types") + throw(MethodError(PetscFEView, (petsclib, fem, viewer))) end @for_petsc function PetscFEView(petsclib::$UnionPetscLib, fem::PetscFE, viewer::PetscViewer ) @@ -2600,7 +2600,7 @@ See also: `PetscFE`, `PetscFEView()`, `PetscObjectViewFromOptions()`, `PetscFECr $(_doc_external("FE/PetscFEViewFromOptions")) """ function PetscFEViewFromOptions(petsclib::PetscLibType, A::PetscFE, obj, name::String) - error("PetscFEViewFromOptions: no generated method for these argument types") + throw(MethodError(PetscFEViewFromOptions, (petsclib, A, obj, name))) end @for_petsc function PetscFEViewFromOptions(petsclib::$UnionPetscLib, A::PetscFE, obj, name::String ) @@ -2635,7 +2635,7 @@ See also: `PetscQuadratureSetCellType()`, `PetscQuadrature` $(_doc_external("DT/PetscQuadratureComputePermutations")) """ function PetscQuadratureComputePermutations(petsclib::PetscLibType, quad::PetscQuadrature) - error("PetscQuadratureComputePermutations: no generated method for these argument types") + throw(MethodError(PetscQuadratureComputePermutations, (petsclib, quad))) end @for_petsc function PetscQuadratureComputePermutations(petsclib::$UnionPetscLib, quad::PetscQuadrature ) @@ -2676,7 +2676,7 @@ See also: `PetscQuadrature`, `Petscquadraturedestroy()`, `PetscQuadratureGetData $(_doc_external("DT/PetscQuadratureCreate")) """ function PetscQuadratureCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("PetscQuadratureCreate: no generated method for these argument types") + throw(MethodError(PetscQuadratureCreate, (petsclib, comm))) end @for_petsc function PetscQuadratureCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -2711,7 +2711,7 @@ See also: `PetscQuadrature`, `PetscQuadratureCreate()`, `PetscQuadratureGetData( $(_doc_external("DT/PetscQuadratureDestroy")) """ function PetscQuadratureDestroy(petsclib::PetscLibType, q::Union{PetscQuadrature, Ref{PetscQuadrature}}) - error("PetscQuadratureDestroy: no generated method for these argument types") + throw(MethodError(PetscQuadratureDestroy, (petsclib, q))) end @for_petsc function PetscQuadratureDestroy(petsclib::$UnionPetscLib, q::Union{PetscQuadrature, Ref{PetscQuadrature}} ) @@ -2748,7 +2748,7 @@ See also: `PetscQuadrature`, `PetscQuadratureCreate()`, `PetscQuadratureDestroy( $(_doc_external("DT/PetscQuadratureDuplicate")) """ function PetscQuadratureDuplicate(petsclib::PetscLibType, q::PetscQuadrature) - error("PetscQuadratureDuplicate: no generated method for these argument types") + throw(MethodError(PetscQuadratureDuplicate, (petsclib, q))) end @for_petsc function PetscQuadratureDuplicate(petsclib::$UnionPetscLib, q::PetscQuadrature ) @@ -2785,7 +2785,7 @@ See also: `PetscQuadrature`, `PetscQuadratureCreate()` $(_doc_external("DT/PetscQuadratureEqual")) """ function PetscQuadratureEqual(petsclib::PetscLibType, A::PetscQuadrature, B::PetscQuadrature) - error("PetscQuadratureEqual: no generated method for these argument types") + throw(MethodError(PetscQuadratureEqual, (petsclib, A, B))) end @for_petsc function PetscQuadratureEqual(petsclib::$UnionPetscLib, A::PetscQuadrature, B::PetscQuadrature ) @@ -2826,7 +2826,7 @@ See also: `PetscQuadrature`, `PetscFECreate()`, `PetscSpaceGetDimension()`, `Pet $(_doc_external("DT/PetscQuadratureExpandComposite")) """ function PetscQuadratureExpandComposite(petsclib::PetscLibType, q::PetscQuadrature, numSubelements::Integer, v0::AbstractVector{<:Number}, jac::AbstractVector{<:Number}) - error("PetscQuadratureExpandComposite: no generated method for these argument types") + throw(MethodError(PetscQuadratureExpandComposite, (petsclib, q, numSubelements, v0, jac))) end @for_petsc function PetscQuadratureExpandComposite(petsclib::$UnionPetscLib, q::PetscQuadrature, numSubelements::$PetscInt, v0::Vector{$PetscReal}, jac::Vector{$PetscReal} ) @@ -2864,7 +2864,7 @@ See also: `PetscQuadrature`, `PetscQuadratureSetCellType()`, `PetscQuadratureGet $(_doc_external("DT/PetscQuadratureGetCellType")) """ function PetscQuadratureGetCellType(petsclib::PetscLibType, q::PetscQuadrature) - error("PetscQuadratureGetCellType: no generated method for these argument types") + throw(MethodError(PetscQuadratureGetCellType, (petsclib, q))) end @for_petsc function PetscQuadratureGetCellType(petsclib::$UnionPetscLib, q::PetscQuadrature ) @@ -2906,7 +2906,7 @@ See also: `PetscQuadrature`, `PetscQuadratureCreate()`, `PetscQuadratureSetData( $(_doc_external("DT/PetscQuadratureGetData")) """ function PetscQuadratureGetData(petsclib::PetscLibType, q::PetscQuadrature) - error("PetscQuadratureGetData: no generated method for these argument types") + throw(MethodError(PetscQuadratureGetData, (petsclib, q))) end @for_petsc function PetscQuadratureGetData(petsclib::$UnionPetscLib, q::PetscQuadrature ) @@ -2952,7 +2952,7 @@ See also: `PetscQuadrature`, `PetscQuadratureSetNumComponents()`, `PetscQuadratu $(_doc_external("DT/PetscQuadratureGetNumComponents")) """ function PetscQuadratureGetNumComponents(petsclib::PetscLibType, q::PetscQuadrature) - error("PetscQuadratureGetNumComponents: no generated method for these argument types") + throw(MethodError(PetscQuadratureGetNumComponents, (petsclib, q))) end @for_petsc function PetscQuadratureGetNumComponents(petsclib::$UnionPetscLib, q::PetscQuadrature ) @@ -2990,7 +2990,7 @@ See also: `PetscQuadrature`, `PetscQuadratureSetOrder()`, `PetscQuadratureGetDat $(_doc_external("DT/PetscQuadratureGetOrder")) """ function PetscQuadratureGetOrder(petsclib::PetscLibType, q::PetscQuadrature) - error("PetscQuadratureGetOrder: no generated method for these argument types") + throw(MethodError(PetscQuadratureGetOrder, (petsclib, q))) end @for_petsc function PetscQuadratureGetOrder(petsclib::$UnionPetscLib, q::PetscQuadrature ) @@ -3035,7 +3035,7 @@ See also: `PetscQuadrature`, `PetscDTAltVPullback()`, `PetscDTAltVPullbackMatrix $(_doc_external("DT/PetscQuadraturePushForward")) """ function PetscQuadraturePushForward(petsclib::PetscLibType, q::PetscQuadrature, imageDim::Integer, origin::AbstractVector{<:Number}, originImage::AbstractVector{<:Number}, J::AbstractVector{<:Number}, formDegree::Integer) - error("PetscQuadraturePushForward: no generated method for these argument types") + throw(MethodError(PetscQuadraturePushForward, (petsclib, q, imageDim, origin, originImage, J, formDegree))) end @for_petsc function PetscQuadraturePushForward(petsclib::$UnionPetscLib, q::PetscQuadrature, imageDim::$PetscInt, origin::Vector{$PetscReal}, originImage::Vector{$PetscReal}, J::Vector{$PetscReal}, formDegree::$PetscInt ) @@ -3071,7 +3071,7 @@ See also: `PetscQuadrature`, `PetscQuadratureGetCellType()`, `PetscQuadratureGet $(_doc_external("DT/PetscQuadratureSetCellType")) """ function PetscQuadratureSetCellType(petsclib::PetscLibType, q::PetscQuadrature, ct::DMPolytopeType) - error("PetscQuadratureSetCellType: no generated method for these argument types") + throw(MethodError(PetscQuadratureSetCellType, (petsclib, q, ct))) end @for_petsc function PetscQuadratureSetCellType(petsclib::$UnionPetscLib, q::PetscQuadrature, ct::DMPolytopeType ) @@ -3109,7 +3109,7 @@ See also: `PetscQuadrature`, `PetscQuadratureCreate()`, `PetscQuadratureGetData( $(_doc_external("DT/PetscQuadratureSetData")) """ function PetscQuadratureSetData(petsclib::PetscLibType, q::PetscQuadrature, dim::Integer, Nc::Integer, npoints::Integer, points::AbstractVector{<:Number}, weights::AbstractVector{<:Number}) - error("PetscQuadratureSetData: no generated method for these argument types") + throw(MethodError(PetscQuadratureSetData, (petsclib, q, dim, Nc, npoints, points, weights))) end @for_petsc function PetscQuadratureSetData(petsclib::$UnionPetscLib, q::PetscQuadrature, dim::$PetscInt, Nc::$PetscInt, npoints::$PetscInt, points::Vector{$PetscReal}, weights::Vector{$PetscReal} ) @@ -3143,7 +3143,7 @@ See also: `PetscQuadrature`, `PetscQuadratureGetNumComponents()`, `PetscQuadratu $(_doc_external("DT/PetscQuadratureSetNumComponents")) """ function PetscQuadratureSetNumComponents(petsclib::PetscLibType, q::PetscQuadrature, Nc::Integer) - error("PetscQuadratureSetNumComponents: no generated method for these argument types") + throw(MethodError(PetscQuadratureSetNumComponents, (petsclib, q, Nc))) end @for_petsc function PetscQuadratureSetNumComponents(petsclib::$UnionPetscLib, q::PetscQuadrature, Nc::$PetscInt ) @@ -3177,7 +3177,7 @@ See also: `PetscQuadrature`, `PetscQuadratureGetOrder()`, `PetscQuadratureGetDat $(_doc_external("DT/PetscQuadratureSetOrder")) """ function PetscQuadratureSetOrder(petsclib::PetscLibType, q::PetscQuadrature, order::Integer) - error("PetscQuadratureSetOrder: no generated method for these argument types") + throw(MethodError(PetscQuadratureSetOrder, (petsclib, q, order))) end @for_petsc function PetscQuadratureSetOrder(petsclib::$UnionPetscLib, q::PetscQuadrature, order::$PetscInt ) @@ -3211,7 +3211,7 @@ See also: `PetscQuadrature`, `PetscViewer`, `PetscQuadratureCreate()`, `PetscQua $(_doc_external("DT/PetscQuadratureView")) """ function PetscQuadratureView(petsclib::PetscLibType, quad::PetscQuadrature, viewer::PetscViewer) - error("PetscQuadratureView: no generated method for these argument types") + throw(MethodError(PetscQuadratureView, (petsclib, quad, viewer))) end @for_petsc function PetscQuadratureView(petsclib::$UnionPetscLib, quad::PetscQuadrature, viewer::PetscViewer ) @@ -3244,7 +3244,7 @@ See also: `PetscTabulation`, `PetscFECreateTabulation()`, `PetscFEGetCellTabulat $(_doc_external("FE/PetscTabulationDestroy")) """ function PetscTabulationDestroy(petsclib::PetscLibType, T::Union{PetscTabulation, Ref{PetscTabulation}}) - error("PetscTabulationDestroy: no generated method for these argument types") + throw(MethodError(PetscTabulationDestroy, (petsclib, T))) end @for_petsc function PetscTabulationDestroy(petsclib::$UnionPetscLib, T::Union{PetscTabulation, Ref{PetscTabulation}} ) @@ -3287,7 +3287,7 @@ See also: `PetscWeakForm`, `PetscWeakFormSetBdJacobian()`, `PetscWeakFormGetBdJa $(_doc_external("DT/PetscWeakFormAddBdJacobian")) """ function PetscWeakFormAddBdJacobian(petsclib::PetscLibType, wf::PetscWeakForm, label::DMLabel, val::Integer, f::Integer, g::Integer, part::Integer, g0::external, g1::external, g2::external, g3::external) - error("PetscWeakFormAddBdJacobian: no generated method for these argument types") + throw(MethodError(PetscWeakFormAddBdJacobian, (petsclib, wf, label, val, f, g, part, g0, g1, g2, g3))) end @for_petsc function PetscWeakFormAddBdJacobian(petsclib::$UnionPetscLib, wf::PetscWeakForm, label::DMLabel, val::$PetscInt, f::$PetscInt, g::$PetscInt, part::$PetscInt, g0::external, g1::external, g2::external, g3::external ) @@ -3329,7 +3329,7 @@ See also: `PetscWeakForm`, `PetscWeakFormSetBdJacobianPreconditioner()`, `PetscW $(_doc_external("DT/PetscWeakFormAddBdJacobianPreconditioner")) """ function PetscWeakFormAddBdJacobianPreconditioner(petsclib::PetscLibType, wf::PetscWeakForm, label::DMLabel, val::Integer, f::Integer, g::Integer, part::Integer, g0::external, g1::external, g2::external, g3::external) - error("PetscWeakFormAddBdJacobianPreconditioner: no generated method for these argument types") + throw(MethodError(PetscWeakFormAddBdJacobianPreconditioner, (petsclib, wf, label, val, f, g, part, g0, g1, g2, g3))) end @for_petsc function PetscWeakFormAddBdJacobianPreconditioner(petsclib::$UnionPetscLib, wf::PetscWeakForm, label::DMLabel, val::$PetscInt, f::$PetscInt, g::$PetscInt, part::$PetscInt, g0::external, g1::external, g2::external, g3::external ) @@ -3368,7 +3368,7 @@ See also: `PetscWeakForm`, `PetscWeakFormSetBdResidual()`, `PetscWeakFormGetBdRe $(_doc_external("DT/PetscWeakFormAddBdResidual")) """ function PetscWeakFormAddBdResidual(petsclib::PetscLibType, wf::PetscWeakForm, label::DMLabel, val::Integer, f::Integer, part::Integer, f0::external, f1::external) - error("PetscWeakFormAddBdResidual: no generated method for these argument types") + throw(MethodError(PetscWeakFormAddBdResidual, (petsclib, wf, label, val, f, part, f0, f1))) end @for_petsc function PetscWeakFormAddBdResidual(petsclib::$UnionPetscLib, wf::PetscWeakForm, label::DMLabel, val::$PetscInt, f::$PetscInt, part::$PetscInt, f0::external, f1::external ) @@ -3410,7 +3410,7 @@ See also: `PetscWeakForm`, `PetscWeakFormSetDynamicJacobian()`, `PetscWeakFormGe $(_doc_external("DT/PetscWeakFormAddDynamicJacobian")) """ function PetscWeakFormAddDynamicJacobian(petsclib::PetscLibType, wf::PetscWeakForm, label::DMLabel, val::Integer, f::Integer, g::Integer, part::Integer, g0::external, g1::external, g2::external, g3::external) - error("PetscWeakFormAddDynamicJacobian: no generated method for these argument types") + throw(MethodError(PetscWeakFormAddDynamicJacobian, (petsclib, wf, label, val, f, g, part, g0, g1, g2, g3))) end @for_petsc function PetscWeakFormAddDynamicJacobian(petsclib::$UnionPetscLib, wf::PetscWeakForm, label::DMLabel, val::$PetscInt, f::$PetscInt, g::$PetscInt, part::$PetscInt, g0::external, g1::external, g2::external, g3::external ) @@ -3452,7 +3452,7 @@ See also: `PetscWeakForm`, `PetscWeakFormSetJacobian()`, `PetscWeakFormGetJacobi $(_doc_external("DT/PetscWeakFormAddJacobian")) """ function PetscWeakFormAddJacobian(petsclib::PetscLibType, wf::PetscWeakForm, label::DMLabel, val::Integer, f::Integer, g::Integer, part::Integer, g0::external, g1::external, g2::external, g3::external) - error("PetscWeakFormAddJacobian: no generated method for these argument types") + throw(MethodError(PetscWeakFormAddJacobian, (petsclib, wf, label, val, f, g, part, g0, g1, g2, g3))) end @for_petsc function PetscWeakFormAddJacobian(petsclib::$UnionPetscLib, wf::PetscWeakForm, label::DMLabel, val::$PetscInt, f::$PetscInt, g::$PetscInt, part::$PetscInt, g0::external, g1::external, g2::external, g3::external ) @@ -3494,7 +3494,7 @@ See also: `PetscWeakForm`, `PetscWeakFormSetJacobianPreconditioner()`, `PetscWea $(_doc_external("DT/PetscWeakFormAddJacobianPreconditioner")) """ function PetscWeakFormAddJacobianPreconditioner(petsclib::PetscLibType, wf::PetscWeakForm, label::DMLabel, val::Integer, f::Integer, g::Integer, part::Integer, g0::external, g1::external, g2::external, g3::external) - error("PetscWeakFormAddJacobianPreconditioner: no generated method for these argument types") + throw(MethodError(PetscWeakFormAddJacobianPreconditioner, (petsclib, wf, label, val, f, g, part, g0, g1, g2, g3))) end @for_petsc function PetscWeakFormAddJacobianPreconditioner(petsclib::$UnionPetscLib, wf::PetscWeakForm, label::DMLabel, val::$PetscInt, f::$PetscInt, g::$PetscInt, part::$PetscInt, g0::external, g1::external, g2::external, g3::external ) @@ -3532,7 +3532,7 @@ See also: `PetscWeakForm`, `PetscWeakFormSetObjective()`, `PetscWeakFormGetObjec $(_doc_external("DT/PetscWeakFormAddObjective")) """ function PetscWeakFormAddObjective(petsclib::PetscLibType, wf::PetscWeakForm, label::DMLabel, val::Integer, f::Integer, part::Integer, obj::external) - error("PetscWeakFormAddObjective: no generated method for these argument types") + throw(MethodError(PetscWeakFormAddObjective, (petsclib, wf, label, val, f, part, obj))) end @for_petsc function PetscWeakFormAddObjective(petsclib::$UnionPetscLib, wf::PetscWeakForm, label::DMLabel, val::$PetscInt, f::$PetscInt, part::$PetscInt, obj::external ) @@ -3571,7 +3571,7 @@ See also: `PetscWeakForm`, `PetscWeakFormSetResidual()`, `PetscWeakFormGetResidu $(_doc_external("DT/PetscWeakFormAddResidual")) """ function PetscWeakFormAddResidual(petsclib::PetscLibType, wf::PetscWeakForm, label::DMLabel, val::Integer, f::Integer, part::Integer, f0::external, f1::external) - error("PetscWeakFormAddResidual: no generated method for these argument types") + throw(MethodError(PetscWeakFormAddResidual, (petsclib, wf, label, val, f, part, f0, f1))) end @for_petsc function PetscWeakFormAddResidual(petsclib::$UnionPetscLib, wf::PetscWeakForm, label::DMLabel, val::$PetscInt, f::$PetscInt, part::$PetscInt, f0::external, f1::external ) @@ -3604,7 +3604,7 @@ See also: `PetscWeakForm`, `PetscWeakFormCopy()`, `PetscWeakFormCreate()`, `Pets $(_doc_external("DT/PetscWeakFormClear")) """ function PetscWeakFormClear(petsclib::PetscLibType, wf::PetscWeakForm) - error("PetscWeakFormClear: no generated method for these argument types") + throw(MethodError(PetscWeakFormClear, (petsclib, wf))) end @for_petsc function PetscWeakFormClear(petsclib::$UnionPetscLib, wf::PetscWeakForm ) @@ -3643,7 +3643,7 @@ See also: `PetscWeakForm`, `PetscWeakFormKind`, `PetscWeakFormCreate()` $(_doc_external("DT/PetscWeakFormClearIndex")) """ function PetscWeakFormClearIndex(petsclib::PetscLibType, wf::PetscWeakForm, label::DMLabel, val::Integer, f::Integer, part::Integer, kind::PetscWeakFormKind, ind::Integer) - error("PetscWeakFormClearIndex: no generated method for these argument types") + throw(MethodError(PetscWeakFormClearIndex, (petsclib, wf, label, val, f, part, kind, ind))) end @for_petsc function PetscWeakFormClearIndex(petsclib::$UnionPetscLib, wf::PetscWeakForm, label::DMLabel, val::$PetscInt, f::$PetscInt, part::$PetscInt, kind::PetscWeakFormKind, ind::$PetscInt ) @@ -3679,7 +3679,7 @@ See also: `PetscWeakForm`, `PetscWeakFormCreate()`, `PetscWeakFormDestroy()` $(_doc_external("DT/PetscWeakFormCopy")) """ function PetscWeakFormCopy(petsclib::PetscLibType, wf::PetscWeakForm, wfNew::PetscWeakForm) - error("PetscWeakFormCopy: no generated method for these argument types") + throw(MethodError(PetscWeakFormCopy, (petsclib, wf, wfNew))) end @for_petsc function PetscWeakFormCopy(petsclib::$UnionPetscLib, wf::PetscWeakForm, wfNew::PetscWeakForm ) @@ -3715,7 +3715,7 @@ See also: `PetscWeakForm`, `PetscDS`, `PetscWeakFormDestroy()` $(_doc_external("DT/PetscWeakFormCreate")) """ function PetscWeakFormCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("PetscWeakFormCreate: no generated method for these argument types") + throw(MethodError(PetscWeakFormCreate, (petsclib, comm))) end @for_petsc function PetscWeakFormCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -3750,7 +3750,7 @@ See also: `PetscWeakForm`, `PetscWeakFormCreate()`, `PetscWeakFormView()` $(_doc_external("DT/PetscWeakFormDestroy")) """ function PetscWeakFormDestroy(petsclib::PetscLibType, wf::Union{PetscWeakForm, Ref{PetscWeakForm}}) - error("PetscWeakFormDestroy: no generated method for these argument types") + throw(MethodError(PetscWeakFormDestroy, (petsclib, wf))) end @for_petsc function PetscWeakFormDestroy(petsclib::$UnionPetscLib, wf::Union{PetscWeakForm, Ref{PetscWeakForm}} ) @@ -3799,7 +3799,7 @@ See also: `PetscWeakForm`, `PetscWeakFormSetBdJacobian()`, `PetscWeakFormAddBdJa $(_doc_external("DT/PetscWeakFormGetBdJacobian")) """ function PetscWeakFormGetBdJacobian(petsclib::PetscLibType, wf::PetscWeakForm, label::DMLabel, val::Integer, f::Integer, g::Integer, part::Integer, noname::Ptr{Cvoid}) - error("PetscWeakFormGetBdJacobian: no generated method for these argument types") + throw(MethodError(PetscWeakFormGetBdJacobian, (petsclib, wf, label, val, f, g, part, noname))) end @for_petsc function PetscWeakFormGetBdJacobian(petsclib::$UnionPetscLib, wf::PetscWeakForm, label::DMLabel, val::$PetscInt, f::$PetscInt, g::$PetscInt, part::$PetscInt, noname::Ptr{Cvoid} ) @@ -3849,7 +3849,7 @@ See also: `PetscWeakForm`, `PetscWeakFormSetBdJacobianPreconditioner()`, `PetscW $(_doc_external("DT/PetscWeakFormGetBdJacobianPreconditioner")) """ function PetscWeakFormGetBdJacobianPreconditioner(petsclib::PetscLibType, wf::PetscWeakForm, label::DMLabel, val::Integer, f::Integer, g::Integer, part::Integer, noname::Ptr{Cvoid}) - error("PetscWeakFormGetBdJacobianPreconditioner: no generated method for these argument types") + throw(MethodError(PetscWeakFormGetBdJacobianPreconditioner, (petsclib, wf, label, val, f, g, part, noname))) end @for_petsc function PetscWeakFormGetBdJacobianPreconditioner(petsclib::$UnionPetscLib, wf::PetscWeakForm, label::DMLabel, val::$PetscInt, f::$PetscInt, g::$PetscInt, part::$PetscInt, noname::Ptr{Cvoid} ) @@ -3894,7 +3894,7 @@ See also: `PetscWeakForm`, `PetscWeakFormSetBdResidual()`, `PetscWeakFormAddBdRe $(_doc_external("DT/PetscWeakFormGetBdResidual")) """ function PetscWeakFormGetBdResidual(petsclib::PetscLibType, wf::PetscWeakForm, label::DMLabel, val::Integer, f::Integer, part::Integer, noname::Ptr{Cvoid}) - error("PetscWeakFormGetBdResidual: no generated method for these argument types") + throw(MethodError(PetscWeakFormGetBdResidual, (petsclib, wf, label, val, f, part, noname))) end @for_petsc function PetscWeakFormGetBdResidual(petsclib::$UnionPetscLib, wf::PetscWeakForm, label::DMLabel, val::$PetscInt, f::$PetscInt, part::$PetscInt, noname::Ptr{Cvoid} ) @@ -3944,7 +3944,7 @@ See also: `PetscWeakForm`, `PetscWeakFormSetDynamicJacobian()`, `PetscWeakFormAd $(_doc_external("DT/PetscWeakFormGetDynamicJacobian")) """ function PetscWeakFormGetDynamicJacobian(petsclib::PetscLibType, wf::PetscWeakForm, label::DMLabel, val::Integer, f::Integer, g::Integer, part::Integer, noname::Ptr{Cvoid}) - error("PetscWeakFormGetDynamicJacobian: no generated method for these argument types") + throw(MethodError(PetscWeakFormGetDynamicJacobian, (petsclib, wf, label, val, f, g, part, noname))) end @for_petsc function PetscWeakFormGetDynamicJacobian(petsclib::$UnionPetscLib, wf::PetscWeakForm, label::DMLabel, val::$PetscInt, f::$PetscInt, g::$PetscInt, part::$PetscInt, noname::Ptr{Cvoid} ) @@ -3987,7 +3987,7 @@ See also: `PetscWeakForm`, `PetscWeakFormSetIndexObjective()`, `PetscWeakFormGet $(_doc_external("DT/PetscWeakFormGetIndexObjective")) """ function PetscWeakFormGetIndexObjective(petsclib::PetscLibType, wf::PetscWeakForm, label::DMLabel, val::Integer, f::Integer, part::Integer, ind::Integer, noname::Ptr{Cvoid}) - error("PetscWeakFormGetIndexObjective: no generated method for these argument types") + throw(MethodError(PetscWeakFormGetIndexObjective, (petsclib, wf, label, val, f, part, ind, noname))) end @for_petsc function PetscWeakFormGetIndexObjective(petsclib::$UnionPetscLib, wf::PetscWeakForm, label::DMLabel, val::$PetscInt, f::$PetscInt, part::$PetscInt, ind::$PetscInt, noname::Ptr{Cvoid} ) @@ -4035,7 +4035,7 @@ See also: `PetscWeakForm`, `PetscWeakFormSetJacobian()`, `PetscWeakFormAddJacobi $(_doc_external("DT/PetscWeakFormGetJacobian")) """ function PetscWeakFormGetJacobian(petsclib::PetscLibType, wf::PetscWeakForm, label::DMLabel, val::Integer, f::Integer, g::Integer, part::Integer, noname::Ptr{Cvoid}) - error("PetscWeakFormGetJacobian: no generated method for these argument types") + throw(MethodError(PetscWeakFormGetJacobian, (petsclib, wf, label, val, f, g, part, noname))) end @for_petsc function PetscWeakFormGetJacobian(petsclib::$UnionPetscLib, wf::PetscWeakForm, label::DMLabel, val::$PetscInt, f::$PetscInt, g::$PetscInt, part::$PetscInt, noname::Ptr{Cvoid} ) @@ -4085,7 +4085,7 @@ See also: `PetscWeakForm`, `PetscWeakFormSetJacobianPreconditioner()`, `PetscWea $(_doc_external("DT/PetscWeakFormGetJacobianPreconditioner")) """ function PetscWeakFormGetJacobianPreconditioner(petsclib::PetscLibType, wf::PetscWeakForm, label::DMLabel, val::Integer, f::Integer, g::Integer, part::Integer, noname::Ptr{Cvoid}) - error("PetscWeakFormGetJacobianPreconditioner: no generated method for these argument types") + throw(MethodError(PetscWeakFormGetJacobianPreconditioner, (petsclib, wf, label, val, f, g, part, noname))) end @for_petsc function PetscWeakFormGetJacobianPreconditioner(petsclib::$UnionPetscLib, wf::PetscWeakForm, label::DMLabel, val::$PetscInt, f::$PetscInt, g::$PetscInt, part::$PetscInt, noname::Ptr{Cvoid} ) @@ -4123,7 +4123,7 @@ See also: `PetscWeakForm`, `PetscWeakFormSetNumFields()`, `PetscWeakFormCreate() $(_doc_external("DT/PetscWeakFormGetNumFields")) """ function PetscWeakFormGetNumFields(petsclib::PetscLibType, wf::PetscWeakForm) - error("PetscWeakFormGetNumFields: no generated method for these argument types") + throw(MethodError(PetscWeakFormGetNumFields, (petsclib, wf))) end @for_petsc function PetscWeakFormGetNumFields(petsclib::$UnionPetscLib, wf::PetscWeakForm ) @@ -4166,7 +4166,7 @@ See also: `PetscWeakForm`, `PetscWeakFormSetObjective()`, `PetscWeakFormAddObjec $(_doc_external("DT/PetscWeakFormGetObjective")) """ function PetscWeakFormGetObjective(petsclib::PetscLibType, wf::PetscWeakForm, label::DMLabel, val::Integer, f::Integer, part::Integer, noname::Ptr{Cvoid}) - error("PetscWeakFormGetObjective: no generated method for these argument types") + throw(MethodError(PetscWeakFormGetObjective, (petsclib, wf, label, val, f, part, noname))) end @for_petsc function PetscWeakFormGetObjective(petsclib::$UnionPetscLib, wf::PetscWeakForm, label::DMLabel, val::$PetscInt, f::$PetscInt, part::$PetscInt, noname::Ptr{Cvoid} ) @@ -4211,7 +4211,7 @@ See also: `PetscWeakForm`, `PetscWeakFormSetResidual()`, `PetscWeakFormAddResidu $(_doc_external("DT/PetscWeakFormGetResidual")) """ function PetscWeakFormGetResidual(petsclib::PetscLibType, wf::PetscWeakForm, label::DMLabel, val::Integer, f::Integer, part::Integer, noname::Ptr{Cvoid}) - error("PetscWeakFormGetResidual: no generated method for these argument types") + throw(MethodError(PetscWeakFormGetResidual, (petsclib, wf, label, val, f, part, noname))) end @for_petsc function PetscWeakFormGetResidual(petsclib::$UnionPetscLib, wf::PetscWeakForm, label::DMLabel, val::$PetscInt, f::$PetscInt, part::$PetscInt, noname::Ptr{Cvoid} ) @@ -4254,7 +4254,7 @@ See also: `PetscWeakForm`, `PetscWeakFormSetRiemannSolver()`, `PetscWeakFormSetI $(_doc_external("DT/PetscWeakFormGetRiemannSolver")) """ function PetscWeakFormGetRiemannSolver(petsclib::PetscLibType, wf::PetscWeakForm, label::DMLabel, val::Integer, f::Integer, part::Integer, noname::Ptr{Cvoid}) - error("PetscWeakFormGetRiemannSolver: no generated method for these argument types") + throw(MethodError(PetscWeakFormGetRiemannSolver, (petsclib, wf, label, val, f, part, noname))) end @for_petsc function PetscWeakFormGetRiemannSolver(petsclib::$UnionPetscLib, wf::PetscWeakForm, label::DMLabel, val::$PetscInt, f::$PetscInt, part::$PetscInt, noname::Ptr{Cvoid} ) @@ -4292,7 +4292,7 @@ See also: `PetscWeakForm`, `PetscWeakFormSetBdJacobian()`, `PetscWeakFormGetBdJa $(_doc_external("DT/PetscWeakFormHasBdJacobian")) """ function PetscWeakFormHasBdJacobian(petsclib::PetscLibType, wf::PetscWeakForm) - error("PetscWeakFormHasBdJacobian: no generated method for these argument types") + throw(MethodError(PetscWeakFormHasBdJacobian, (petsclib, wf))) end @for_petsc function PetscWeakFormHasBdJacobian(petsclib::$UnionPetscLib, wf::PetscWeakForm ) @@ -4330,7 +4330,7 @@ See also: `PetscWeakForm`, `PetscWeakFormSetBdJacobianPreconditioner()`, `PetscW $(_doc_external("DT/PetscWeakFormHasBdJacobianPreconditioner")) """ function PetscWeakFormHasBdJacobianPreconditioner(petsclib::PetscLibType, wf::PetscWeakForm) - error("PetscWeakFormHasBdJacobianPreconditioner: no generated method for these argument types") + throw(MethodError(PetscWeakFormHasBdJacobianPreconditioner, (petsclib, wf))) end @for_petsc function PetscWeakFormHasBdJacobianPreconditioner(petsclib::$UnionPetscLib, wf::PetscWeakForm ) @@ -4368,7 +4368,7 @@ See also: `PetscWeakForm`, `PetscWeakFormSetDynamicJacobian()`, `PetscWeakFormGe $(_doc_external("DT/PetscWeakFormHasDynamicJacobian")) """ function PetscWeakFormHasDynamicJacobian(petsclib::PetscLibType, wf::PetscWeakForm) - error("PetscWeakFormHasDynamicJacobian: no generated method for these argument types") + throw(MethodError(PetscWeakFormHasDynamicJacobian, (petsclib, wf))) end @for_petsc function PetscWeakFormHasDynamicJacobian(petsclib::$UnionPetscLib, wf::PetscWeakForm ) @@ -4406,7 +4406,7 @@ See also: `PetscWeakForm`, `PetscWeakFormSetJacobian()`, `PetscWeakFormGetJacobi $(_doc_external("DT/PetscWeakFormHasJacobian")) """ function PetscWeakFormHasJacobian(petsclib::PetscLibType, wf::PetscWeakForm) - error("PetscWeakFormHasJacobian: no generated method for these argument types") + throw(MethodError(PetscWeakFormHasJacobian, (petsclib, wf))) end @for_petsc function PetscWeakFormHasJacobian(petsclib::$UnionPetscLib, wf::PetscWeakForm ) @@ -4444,7 +4444,7 @@ See also: `PetscWeakForm`, `PetscWeakFormSetJacobianPreconditioner()`, `PetscWea $(_doc_external("DT/PetscWeakFormHasJacobianPreconditioner")) """ function PetscWeakFormHasJacobianPreconditioner(petsclib::PetscLibType, wf::PetscWeakForm) - error("PetscWeakFormHasJacobianPreconditioner: no generated method for these argument types") + throw(MethodError(PetscWeakFormHasJacobianPreconditioner, (petsclib, wf))) end @for_petsc function PetscWeakFormHasJacobianPreconditioner(petsclib::$UnionPetscLib, wf::PetscWeakForm ) @@ -4480,7 +4480,7 @@ See also: `PetscWeakForm`, `DMLabel`, `PetscWeakFormRewriteKeys()`, `PetscWeakFo $(_doc_external("DT/PetscWeakFormReplaceLabel")) """ function PetscWeakFormReplaceLabel(petsclib::PetscLibType, wf::PetscWeakForm, label::DMLabel) - error("PetscWeakFormReplaceLabel: no generated method for these argument types") + throw(MethodError(PetscWeakFormReplaceLabel, (petsclib, wf, label))) end @for_petsc function PetscWeakFormReplaceLabel(petsclib::$UnionPetscLib, wf::PetscWeakForm, label::DMLabel ) @@ -4516,7 +4516,7 @@ See also: `PetscWeakForm`, `DMLabel`, `PetscWeakFormReplaceLabel()`, `PetscWeakF $(_doc_external("DT/PetscWeakFormRewriteKeys")) """ function PetscWeakFormRewriteKeys(petsclib::PetscLibType, wf::PetscWeakForm, label::DMLabel, Nv::Integer, values::AbstractVector{<:Number}) - error("PetscWeakFormRewriteKeys: no generated method for these argument types") + throw(MethodError(PetscWeakFormRewriteKeys, (petsclib, wf, label, Nv, values))) end @for_petsc function PetscWeakFormRewriteKeys(petsclib::$UnionPetscLib, wf::PetscWeakForm, label::DMLabel, Nv::$PetscInt, values::Vector{$PetscInt} ) @@ -4562,7 +4562,7 @@ See also: `PetscWeakForm`, `PetscWeakFormGetBdJacobian()`, `PetscWeakFormAddBdJa $(_doc_external("DT/PetscWeakFormSetBdJacobian")) """ function PetscWeakFormSetBdJacobian(petsclib::PetscLibType, wf::PetscWeakForm, label::DMLabel, val::Integer, f::Integer, g::Integer, part::Integer, n0::Integer, noname::Ptr{Cvoid}) - error("PetscWeakFormSetBdJacobian: no generated method for these argument types") + throw(MethodError(PetscWeakFormSetBdJacobian, (petsclib, wf, label, val, f, g, part, n0, noname))) end @for_petsc function PetscWeakFormSetBdJacobian(petsclib::$UnionPetscLib, wf::PetscWeakForm, label::DMLabel, val::$PetscInt, f::$PetscInt, g::$PetscInt, part::$PetscInt, n0::$PetscInt, noname::Ptr{Cvoid} ) @@ -4608,7 +4608,7 @@ See also: `PetscWeakForm`, `PetscWeakFormGetBdJacobianPreconditioner()`, `PetscW $(_doc_external("DT/PetscWeakFormSetBdJacobianPreconditioner")) """ function PetscWeakFormSetBdJacobianPreconditioner(petsclib::PetscLibType, wf::PetscWeakForm, label::DMLabel, val::Integer, f::Integer, g::Integer, part::Integer, n0::Integer, noname::Ptr{Cvoid}) - error("PetscWeakFormSetBdJacobianPreconditioner: no generated method for these argument types") + throw(MethodError(PetscWeakFormSetBdJacobianPreconditioner, (petsclib, wf, label, val, f, g, part, n0, noname))) end @for_petsc function PetscWeakFormSetBdJacobianPreconditioner(petsclib::$UnionPetscLib, wf::PetscWeakForm, label::DMLabel, val::$PetscInt, f::$PetscInt, g::$PetscInt, part::$PetscInt, n0::$PetscInt, noname::Ptr{Cvoid} ) @@ -4649,7 +4649,7 @@ See also: `PetscWeakForm`, `PetscWeakFormGetBdResidual()`, `PetscWeakFormAddBdRe $(_doc_external("DT/PetscWeakFormSetBdResidual")) """ function PetscWeakFormSetBdResidual(petsclib::PetscLibType, wf::PetscWeakForm, label::DMLabel, val::Integer, f::Integer, part::Integer, n0::Integer, noname::Ptr{Cvoid}) - error("PetscWeakFormSetBdResidual: no generated method for these argument types") + throw(MethodError(PetscWeakFormSetBdResidual, (petsclib, wf, label, val, f, part, n0, noname))) end @for_petsc function PetscWeakFormSetBdResidual(petsclib::$UnionPetscLib, wf::PetscWeakForm, label::DMLabel, val::$PetscInt, f::$PetscInt, part::$PetscInt, n0::$PetscInt, noname::Ptr{Cvoid} ) @@ -4695,7 +4695,7 @@ See also: `PetscWeakForm`, `PetscWeakFormGetDynamicJacobian()`, `PetscWeakFormAd $(_doc_external("DT/PetscWeakFormSetDynamicJacobian")) """ function PetscWeakFormSetDynamicJacobian(petsclib::PetscLibType, wf::PetscWeakForm, label::DMLabel, val::Integer, f::Integer, g::Integer, part::Integer, n0::Integer, noname::Ptr{Cvoid}) - error("PetscWeakFormSetDynamicJacobian: no generated method for these argument types") + throw(MethodError(PetscWeakFormSetDynamicJacobian, (petsclib, wf, label, val, f, g, part, n0, noname))) end @for_petsc function PetscWeakFormSetDynamicJacobian(petsclib::$UnionPetscLib, wf::PetscWeakForm, label::DMLabel, val::$PetscInt, f::$PetscInt, g::$PetscInt, part::$PetscInt, n0::$PetscInt, noname::Ptr{Cvoid} ) @@ -4741,7 +4741,7 @@ See also: `PetscWeakForm`, `PetscWeakFormSetBdJacobian()`, `PetscWeakFormAddBdJa $(_doc_external("DT/PetscWeakFormSetIndexBdJacobian")) """ function PetscWeakFormSetIndexBdJacobian(petsclib::PetscLibType, wf::PetscWeakForm, label::DMLabel, val::Integer, f::Integer, g::Integer, part::Integer, i0::Integer, g0::external, i1::Integer, g1::external, i2::Integer, g2::external, i3::Integer, g3::external) - error("PetscWeakFormSetIndexBdJacobian: no generated method for these argument types") + throw(MethodError(PetscWeakFormSetIndexBdJacobian, (petsclib, wf, label, val, f, g, part, i0, g0, i1, g1, i2, g2, i3, g3))) end @for_petsc function PetscWeakFormSetIndexBdJacobian(petsclib::$UnionPetscLib, wf::PetscWeakForm, label::DMLabel, val::$PetscInt, f::$PetscInt, g::$PetscInt, part::$PetscInt, i0::$PetscInt, g0::external, i1::$PetscInt, g1::external, i2::$PetscInt, g2::external, i3::$PetscInt, g3::external ) @@ -4787,7 +4787,7 @@ See also: `PetscWeakForm`, `PetscWeakFormSetBdJacobianPreconditioner()`, `PetscW $(_doc_external("DT/PetscWeakFormSetIndexBdJacobianPreconditioner")) """ function PetscWeakFormSetIndexBdJacobianPreconditioner(petsclib::PetscLibType, wf::PetscWeakForm, label::DMLabel, val::Integer, f::Integer, g::Integer, part::Integer, i0::Integer, g0::external, i1::Integer, g1::external, i2::Integer, g2::external, i3::Integer, g3::external) - error("PetscWeakFormSetIndexBdJacobianPreconditioner: no generated method for these argument types") + throw(MethodError(PetscWeakFormSetIndexBdJacobianPreconditioner, (petsclib, wf, label, val, f, g, part, i0, g0, i1, g1, i2, g2, i3, g3))) end @for_petsc function PetscWeakFormSetIndexBdJacobianPreconditioner(petsclib::$UnionPetscLib, wf::PetscWeakForm, label::DMLabel, val::$PetscInt, f::$PetscInt, g::$PetscInt, part::$PetscInt, i0::$PetscInt, g0::external, i1::$PetscInt, g1::external, i2::$PetscInt, g2::external, i3::$PetscInt, g3::external ) @@ -4828,7 +4828,7 @@ See also: `PetscWeakForm`, `PetscWeakFormSetBdResidual()`, `PetscWeakFormAddBdRe $(_doc_external("DT/PetscWeakFormSetIndexBdResidual")) """ function PetscWeakFormSetIndexBdResidual(petsclib::PetscLibType, wf::PetscWeakForm, label::DMLabel, val::Integer, f::Integer, part::Integer, i0::Integer, f0::external, i1::Integer, f1::external) - error("PetscWeakFormSetIndexBdResidual: no generated method for these argument types") + throw(MethodError(PetscWeakFormSetIndexBdResidual, (petsclib, wf, label, val, f, part, i0, f0, i1, f1))) end @for_petsc function PetscWeakFormSetIndexBdResidual(petsclib::$UnionPetscLib, wf::PetscWeakForm, label::DMLabel, val::$PetscInt, f::$PetscInt, part::$PetscInt, i0::$PetscInt, f0::external, i1::$PetscInt, f1::external ) @@ -4874,7 +4874,7 @@ See also: `PetscWeakForm`, `PetscWeakFormSetDynamicJacobian()`, `PetscWeakFormAd $(_doc_external("DT/PetscWeakFormSetIndexDynamicJacobian")) """ function PetscWeakFormSetIndexDynamicJacobian(petsclib::PetscLibType, wf::PetscWeakForm, label::DMLabel, val::Integer, f::Integer, g::Integer, part::Integer, i0::Integer, g0::external, i1::Integer, g1::external, i2::Integer, g2::external, i3::Integer, g3::external) - error("PetscWeakFormSetIndexDynamicJacobian: no generated method for these argument types") + throw(MethodError(PetscWeakFormSetIndexDynamicJacobian, (petsclib, wf, label, val, f, g, part, i0, g0, i1, g1, i2, g2, i3, g3))) end @for_petsc function PetscWeakFormSetIndexDynamicJacobian(petsclib::$UnionPetscLib, wf::PetscWeakForm, label::DMLabel, val::$PetscInt, f::$PetscInt, g::$PetscInt, part::$PetscInt, i0::$PetscInt, g0::external, i1::$PetscInt, g1::external, i2::$PetscInt, g2::external, i3::$PetscInt, g3::external ) @@ -4920,7 +4920,7 @@ See also: `PetscWeakForm`, `PetscWeakFormSetJacobian()`, `PetscWeakFormAddJacobi $(_doc_external("DT/PetscWeakFormSetIndexJacobian")) """ function PetscWeakFormSetIndexJacobian(petsclib::PetscLibType, wf::PetscWeakForm, label::DMLabel, val::Integer, f::Integer, g::Integer, part::Integer, i0::Integer, g0::external, i1::Integer, g1::external, i2::Integer, g2::external, i3::Integer, g3::external) - error("PetscWeakFormSetIndexJacobian: no generated method for these argument types") + throw(MethodError(PetscWeakFormSetIndexJacobian, (petsclib, wf, label, val, f, g, part, i0, g0, i1, g1, i2, g2, i3, g3))) end @for_petsc function PetscWeakFormSetIndexJacobian(petsclib::$UnionPetscLib, wf::PetscWeakForm, label::DMLabel, val::$PetscInt, f::$PetscInt, g::$PetscInt, part::$PetscInt, i0::$PetscInt, g0::external, i1::$PetscInt, g1::external, i2::$PetscInt, g2::external, i3::$PetscInt, g3::external ) @@ -4966,7 +4966,7 @@ See also: `PetscWeakForm`, `PetscWeakFormSetJacobianPreconditioner()`, `PetscWea $(_doc_external("DT/PetscWeakFormSetIndexJacobianPreconditioner")) """ function PetscWeakFormSetIndexJacobianPreconditioner(petsclib::PetscLibType, wf::PetscWeakForm, label::DMLabel, val::Integer, f::Integer, g::Integer, part::Integer, i0::Integer, g0::external, i1::Integer, g1::external, i2::Integer, g2::external, i3::Integer, g3::external) - error("PetscWeakFormSetIndexJacobianPreconditioner: no generated method for these argument types") + throw(MethodError(PetscWeakFormSetIndexJacobianPreconditioner, (petsclib, wf, label, val, f, g, part, i0, g0, i1, g1, i2, g2, i3, g3))) end @for_petsc function PetscWeakFormSetIndexJacobianPreconditioner(petsclib::$UnionPetscLib, wf::PetscWeakForm, label::DMLabel, val::$PetscInt, f::$PetscInt, g::$PetscInt, part::$PetscInt, i0::$PetscInt, g0::external, i1::$PetscInt, g1::external, i2::$PetscInt, g2::external, i3::$PetscInt, g3::external ) @@ -5005,7 +5005,7 @@ See also: `PetscWeakForm`, `PetscWeakFormGetIndexObjective()`, `PetscWeakFormSet $(_doc_external("DT/PetscWeakFormSetIndexObjective")) """ function PetscWeakFormSetIndexObjective(petsclib::PetscLibType, wf::PetscWeakForm, label::DMLabel, val::Integer, f::Integer, part::Integer, ind::Integer, obj::external) - error("PetscWeakFormSetIndexObjective: no generated method for these argument types") + throw(MethodError(PetscWeakFormSetIndexObjective, (petsclib, wf, label, val, f, part, ind, obj))) end @for_petsc function PetscWeakFormSetIndexObjective(petsclib::$UnionPetscLib, wf::PetscWeakForm, label::DMLabel, val::$PetscInt, f::$PetscInt, part::$PetscInt, ind::$PetscInt, obj::external ) @@ -5046,7 +5046,7 @@ See also: `PetscWeakForm`, `PetscWeakFormSetResidual()`, `PetscWeakFormAddResidu $(_doc_external("DT/PetscWeakFormSetIndexResidual")) """ function PetscWeakFormSetIndexResidual(petsclib::PetscLibType, wf::PetscWeakForm, label::DMLabel, val::Integer, f::Integer, part::Integer, i0::Integer, f0::external, i1::Integer, f1::external) - error("PetscWeakFormSetIndexResidual: no generated method for these argument types") + throw(MethodError(PetscWeakFormSetIndexResidual, (petsclib, wf, label, val, f, part, i0, f0, i1, f1))) end @for_petsc function PetscWeakFormSetIndexResidual(petsclib::$UnionPetscLib, wf::PetscWeakForm, label::DMLabel, val::$PetscInt, f::$PetscInt, part::$PetscInt, i0::$PetscInt, f0::external, i1::$PetscInt, f1::external ) @@ -5085,7 +5085,7 @@ See also: `PetscWeakForm`, `PetscWeakFormSetRiemannSolver()`, `PetscWeakFormGetR $(_doc_external("DT/PetscWeakFormSetIndexRiemannSolver")) """ function PetscWeakFormSetIndexRiemannSolver(petsclib::PetscLibType, wf::PetscWeakForm, label::DMLabel, val::Integer, f::Integer, part::Integer, i::Integer, r::external) - error("PetscWeakFormSetIndexRiemannSolver: no generated method for these argument types") + throw(MethodError(PetscWeakFormSetIndexRiemannSolver, (petsclib, wf, label, val, f, part, i, r))) end @for_petsc function PetscWeakFormSetIndexRiemannSolver(petsclib::$UnionPetscLib, wf::PetscWeakForm, label::DMLabel, val::$PetscInt, f::$PetscInt, part::$PetscInt, i::$PetscInt, r::external ) @@ -5131,7 +5131,7 @@ See also: `PetscWeakForm`, `PetscWeakFormGetJacobian()`, `PetscWeakFormAddJacobi $(_doc_external("DT/PetscWeakFormSetJacobian")) """ function PetscWeakFormSetJacobian(petsclib::PetscLibType, wf::PetscWeakForm, label::DMLabel, val::Integer, f::Integer, g::Integer, part::Integer, n0::Integer, noname::Ptr{Cvoid}) - error("PetscWeakFormSetJacobian: no generated method for these argument types") + throw(MethodError(PetscWeakFormSetJacobian, (petsclib, wf, label, val, f, g, part, n0, noname))) end @for_petsc function PetscWeakFormSetJacobian(petsclib::$UnionPetscLib, wf::PetscWeakForm, label::DMLabel, val::$PetscInt, f::$PetscInt, g::$PetscInt, part::$PetscInt, n0::$PetscInt, noname::Ptr{Cvoid} ) @@ -5177,7 +5177,7 @@ See also: `PetscWeakForm`, `PetscWeakFormGetJacobianPreconditioner()`, `PetscWea $(_doc_external("DT/PetscWeakFormSetJacobianPreconditioner")) """ function PetscWeakFormSetJacobianPreconditioner(petsclib::PetscLibType, wf::PetscWeakForm, label::DMLabel, val::Integer, f::Integer, g::Integer, part::Integer, n0::Integer, noname::Ptr{Cvoid}) - error("PetscWeakFormSetJacobianPreconditioner: no generated method for these argument types") + throw(MethodError(PetscWeakFormSetJacobianPreconditioner, (petsclib, wf, label, val, f, g, part, n0, noname))) end @for_petsc function PetscWeakFormSetJacobianPreconditioner(petsclib::$UnionPetscLib, wf::PetscWeakForm, label::DMLabel, val::$PetscInt, f::$PetscInt, g::$PetscInt, part::$PetscInt, n0::$PetscInt, noname::Ptr{Cvoid} ) @@ -5211,7 +5211,7 @@ See also: `PetscWeakForm`, `PetscWeakFormGetNumFields()`, `PetscWeakFormCreate() $(_doc_external("DT/PetscWeakFormSetNumFields")) """ function PetscWeakFormSetNumFields(petsclib::PetscLibType, wf::PetscWeakForm, Nf::Integer) - error("PetscWeakFormSetNumFields: no generated method for these argument types") + throw(MethodError(PetscWeakFormSetNumFields, (petsclib, wf, Nf))) end @for_petsc function PetscWeakFormSetNumFields(petsclib::$UnionPetscLib, wf::PetscWeakForm, Nf::$PetscInt ) @@ -5250,7 +5250,7 @@ See also: `PetscWeakForm`, `PetscWeakFormGetObjective()`, `PetscWeakFormAddObjec $(_doc_external("DT/PetscWeakFormSetObjective")) """ function PetscWeakFormSetObjective(petsclib::PetscLibType, wf::PetscWeakForm, label::DMLabel, val::Integer, f::Integer, part::Integer, n::Integer, noname::Ptr{Cvoid}) - error("PetscWeakFormSetObjective: no generated method for these argument types") + throw(MethodError(PetscWeakFormSetObjective, (petsclib, wf, label, val, f, part, n, noname))) end @for_petsc function PetscWeakFormSetObjective(petsclib::$UnionPetscLib, wf::PetscWeakForm, label::DMLabel, val::$PetscInt, f::$PetscInt, part::$PetscInt, n::$PetscInt, noname::Ptr{Cvoid} ) @@ -5291,7 +5291,7 @@ See also: `PetscWeakForm`, `PetscWeakFormGetResidual()`, `PetscWeakFormAddResidu $(_doc_external("DT/PetscWeakFormSetResidual")) """ function PetscWeakFormSetResidual(petsclib::PetscLibType, wf::PetscWeakForm, label::DMLabel, val::Integer, f::Integer, part::Integer, n0::Integer, noname::Ptr{Cvoid}) - error("PetscWeakFormSetResidual: no generated method for these argument types") + throw(MethodError(PetscWeakFormSetResidual, (petsclib, wf, label, val, f, part, n0, noname))) end @for_petsc function PetscWeakFormSetResidual(petsclib::$UnionPetscLib, wf::PetscWeakForm, label::DMLabel, val::$PetscInt, f::$PetscInt, part::$PetscInt, n0::$PetscInt, noname::Ptr{Cvoid} ) @@ -5330,7 +5330,7 @@ See also: `PetscWeakForm`, `PetscWeakFormGetRiemannSolver()`, `PetscWeakFormSetI $(_doc_external("DT/PetscWeakFormSetRiemannSolver")) """ function PetscWeakFormSetRiemannSolver(petsclib::PetscLibType, wf::PetscWeakForm, label::DMLabel, val::Integer, f::Integer, part::Integer, n::Integer, noname::Ptr{Cvoid}) - error("PetscWeakFormSetRiemannSolver: no generated method for these argument types") + throw(MethodError(PetscWeakFormSetRiemannSolver, (petsclib, wf, label, val, f, part, n, noname))) end @for_petsc function PetscWeakFormSetRiemannSolver(petsclib::$UnionPetscLib, wf::PetscWeakForm, label::DMLabel, val::$PetscInt, f::$PetscInt, part::$PetscInt, n::$PetscInt, noname::Ptr{Cvoid} ) @@ -5364,7 +5364,7 @@ See also: `PetscViewer`, `PetscWeakForm`, `PetscWeakFormDestroy()`, `PetscWeakFo $(_doc_external("DT/PetscWeakFormView")) """ function PetscWeakFormView(petsclib::PetscLibType, wf::PetscWeakForm, v::PetscViewer) - error("PetscWeakFormView: no generated method for these argument types") + throw(MethodError(PetscWeakFormView, (petsclib, wf, v))) end @for_petsc function PetscWeakFormView(petsclib::$UnionPetscLib, wf::PetscWeakForm, v::PetscViewer ) diff --git a/src/autowrapped/PetscFV_wrappers.jl b/src/autowrapped/PetscFV_wrappers.jl index 748148d69..33cf03259 100644 --- a/src/autowrapped/PetscFV_wrappers.jl +++ b/src/autowrapped/PetscFV_wrappers.jl @@ -16,7 +16,7 @@ See also: `PetscFV`, `PetscFVType`, `PetscFVCreate()`, `PetscFVSetType()` $(_doc_external("FV/PetscFVClone")) """ function PetscFVClone(petsclib::PetscLibType, fv::PetscFV) - error("PetscFVClone: no generated method for these argument types") + throw(MethodError(PetscFVClone, (petsclib, fv))) end @for_petsc function PetscFVClone(petsclib::$UnionPetscLib, fv::PetscFV ) @@ -54,7 +54,7 @@ See also: `PetscFV`, `PetscFVCreate()` $(_doc_external("FV/PetscFVComputeGradient")) """ function PetscFVComputeGradient(petsclib::PetscLibType, fvm::PetscFV, numFaces::Integer, dx::AbstractVector{<:Number}, grad::AbstractVector{<:Number}) - error("PetscFVComputeGradient: no generated method for these argument types") + throw(MethodError(PetscFVComputeGradient, (petsclib, fvm, numFaces, dx, grad))) end @for_petsc function PetscFVComputeGradient(petsclib::$UnionPetscLib, fvm::PetscFV, numFaces::$PetscInt, dx::Vector{$PetscScalar}, grad::Vector{$PetscScalar} ) @@ -90,7 +90,7 @@ See also: `PetscFVSetUp()`, `PetscFVSetType()`, `PETSCFVUPWIND`, `PetscFVDestroy $(_doc_external("FV/PetscFVCreate")) """ function PetscFVCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("PetscFVCreate: no generated method for these argument types") + throw(MethodError(PetscFVCreate, (petsclib, comm))) end @for_petsc function PetscFVCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -126,7 +126,7 @@ See also: `PetscFVGetDualSpace()`, `PetscFVSetDualSpace()`, `PetscDualSpace`, `P $(_doc_external("FV/PetscFVCreateDualSpace")) """ function PetscFVCreateDualSpace(petsclib::PetscLibType, fvm::PetscFV, ct::DMPolytopeType) - error("PetscFVCreateDualSpace: no generated method for these argument types") + throw(MethodError(PetscFVCreateDualSpace, (petsclib, fvm, ct))) end @for_petsc function PetscFVCreateDualSpace(petsclib::$UnionPetscLib, fvm::PetscFV, ct::DMPolytopeType ) @@ -166,7 +166,7 @@ See also: `PetscFV`, `PetscTabulation`, `PetscFECreateTabulation()`, `PetscTabul $(_doc_external("FV/PetscFVCreateTabulation")) """ function PetscFVCreateTabulation(petsclib::PetscLibType, fvm::PetscFV, nrepl::Integer, npoints::Integer, points::AbstractVector{<:Number}, K::Integer) - error("PetscFVCreateTabulation: no generated method for these argument types") + throw(MethodError(PetscFVCreateTabulation, (petsclib, fvm, nrepl, npoints, points, K))) end @for_petsc function PetscFVCreateTabulation(petsclib::$UnionPetscLib, fvm::PetscFV, nrepl::$PetscInt, npoints::$PetscInt, points::Vector{$PetscReal}, K::$PetscInt ) @@ -201,7 +201,7 @@ See also: `PetscFV`, `PetscFVCreate()`, `PetscFVView()` $(_doc_external("FV/PetscFVDestroy")) """ function PetscFVDestroy(petsclib::PetscLibType, fvm::Union{PetscFV, Ref{PetscFV}}) - error("PetscFVDestroy: no generated method for these argument types") + throw(MethodError(PetscFVDestroy, (petsclib, fvm))) end @for_petsc function PetscFVDestroy(petsclib::$UnionPetscLib, fvm::Union{PetscFV, Ref{PetscFV}} ) @@ -231,7 +231,7 @@ See also: `PetscInitialize()` $(_doc_external("DM/PetscFVFinalizePackage")) """ function PetscFVFinalizePackage(petsclib::PetscLibType) - error("PetscFVFinalizePackage: no generated method for these argument types") + throw(MethodError(PetscFVFinalizePackage, (petsclib, ))) end @for_petsc function PetscFVFinalizePackage(petsclib::$UnionPetscLib) @@ -266,7 +266,7 @@ See also: `PetscFV`, `PetscTabulation`, `PetscFEGetCellTabulation()`, `PetscFVCr $(_doc_external("FV/PetscFVGetCellTabulation")) """ function PetscFVGetCellTabulation(petsclib::PetscLibType, fvm::PetscFV) - error("PetscFVGetCellTabulation: no generated method for these argument types") + throw(MethodError(PetscFVGetCellTabulation, (petsclib, fvm))) end @for_petsc function PetscFVGetCellTabulation(petsclib::$UnionPetscLib, fvm::PetscFV ) @@ -305,7 +305,7 @@ See also: `PetscFV`, `PetscFVSetComponentName()` $(_doc_external("FV/PetscFVGetComponentName")) """ function PetscFVGetComponentName(petsclib::PetscLibType, fvm::PetscFV, comp::Integer) - error("PetscFVGetComponentName: no generated method for these argument types") + throw(MethodError(PetscFVGetComponentName, (petsclib, fvm, comp))) end @for_petsc function PetscFVGetComponentName(petsclib::$UnionPetscLib, fvm::PetscFV, comp::$PetscInt ) @@ -343,7 +343,7 @@ See also: `PetscFV`, `PetscFVSetComputeGradients()` $(_doc_external("FV/PetscFVGetComputeGradients")) """ function PetscFVGetComputeGradients(petsclib::PetscLibType, fvm::PetscFV) - error("PetscFVGetComputeGradients: no generated method for these argument types") + throw(MethodError(PetscFVGetComputeGradients, (petsclib, fvm))) end @for_petsc function PetscFVGetComputeGradients(petsclib::$UnionPetscLib, fvm::PetscFV ) @@ -381,7 +381,7 @@ See also: `PetscFVSetDualSpace()`, `PetscFVCreateDualSpace()`, `PetscDualSpace`, $(_doc_external("FV/PetscFVGetDualSpace")) """ function PetscFVGetDualSpace(petsclib::PetscLibType, fvm::PetscFV) - error("PetscFVGetDualSpace: no generated method for these argument types") + throw(MethodError(PetscFVGetDualSpace, (petsclib, fvm))) end @for_petsc function PetscFVGetDualSpace(petsclib::$UnionPetscLib, fvm::PetscFV ) @@ -419,7 +419,7 @@ See also: `PetscFV`, `PetscLimiter`, `PetscFVSetLimiter()` $(_doc_external("FV/PetscFVGetLimiter")) """ function PetscFVGetLimiter(petsclib::PetscLibType, fvm::PetscFV) - error("PetscFVGetLimiter: no generated method for these argument types") + throw(MethodError(PetscFVGetLimiter, (petsclib, fvm))) end @for_petsc function PetscFVGetLimiter(petsclib::$UnionPetscLib, fvm::PetscFV ) @@ -457,7 +457,7 @@ See also: `PetscFV`, `PetscFVSetNumComponents()`, `PetscFVSetComponentName()` $(_doc_external("FV/PetscFVGetNumComponents")) """ function PetscFVGetNumComponents(petsclib::PetscLibType, fvm::PetscFV) - error("PetscFVGetNumComponents: no generated method for these argument types") + throw(MethodError(PetscFVGetNumComponents, (petsclib, fvm))) end @for_petsc function PetscFVGetNumComponents(petsclib::$UnionPetscLib, fvm::PetscFV ) @@ -495,7 +495,7 @@ See also: `PetscQuadrature`, `PetscFV`, `PetscFVSetQuadrature()` $(_doc_external("FV/PetscFVGetQuadrature")) """ function PetscFVGetQuadrature(petsclib::PetscLibType, fvm::PetscFV) - error("PetscFVGetQuadrature: no generated method for these argument types") + throw(MethodError(PetscFVGetQuadrature, (petsclib, fvm))) end @for_petsc function PetscFVGetQuadrature(petsclib::$UnionPetscLib, fvm::PetscFV ) @@ -533,7 +533,7 @@ See also: `PetscFV`, `PetscFVSetSpatialDimension()` $(_doc_external("FV/PetscFVGetSpatialDimension")) """ function PetscFVGetSpatialDimension(petsclib::PetscLibType, fvm::PetscFV) - error("PetscFVGetSpatialDimension: no generated method for these argument types") + throw(MethodError(PetscFVGetSpatialDimension, (petsclib, fvm))) end @for_petsc function PetscFVGetSpatialDimension(petsclib::$UnionPetscLib, fvm::PetscFV ) @@ -571,7 +571,7 @@ See also: `PetscFV`, `PetscFVType`, `PetscFVSetType()`, `PetscFVCreate()` $(_doc_external("FV/PetscFVGetType")) """ function PetscFVGetType(petsclib::PetscLibType, fvm::PetscFV) - error("PetscFVGetType: no generated method for these argument types") + throw(MethodError(PetscFVGetType, (petsclib, fvm))) end @for_petsc function PetscFVGetType(petsclib::$UnionPetscLib, fvm::PetscFV ) @@ -603,7 +603,7 @@ See also: `PetscInitialize()` $(_doc_external("DM/PetscFVInitializePackage")) """ function PetscFVInitializePackage(petsclib::PetscLibType) - error("PetscFVInitializePackage: no generated method for these argument types") + throw(MethodError(PetscFVInitializePackage, (petsclib, ))) end @for_petsc function PetscFVInitializePackage(petsclib::$UnionPetscLib) @@ -646,7 +646,7 @@ See also: `PetscFV`, `PetscDS`, `PetscFVFaceGeom`, `PetscFVCreate()` $(_doc_external("FV/PetscFVIntegrateRHSFunction")) """ function PetscFVIntegrateRHSFunction(petsclib::PetscLibType, fvm::PetscFV, prob::PetscDS, field::Integer, Nf::Integer, fgeom::Vector{PetscFVFaceGeom}, uL::AbstractVector{<:Number}, uR::AbstractVector{<:Number}, fluxL::AbstractVector{<:Number}, fluxR::AbstractVector{<:Number}) - error("PetscFVIntegrateRHSFunction: no generated method for these argument types") + throw(MethodError(PetscFVIntegrateRHSFunction, (petsclib, fvm, prob, field, Nf, fgeom, uL, uR, fluxL, fluxR))) end @for_petsc function PetscFVIntegrateRHSFunction(petsclib::$UnionPetscLib, fvm::PetscFV, prob::PetscDS, field::$PetscInt, Nf::$PetscInt, fgeom::Vector{PetscFVFaceGeom}, uL::Vector{$PetscScalar}, uR::Vector{$PetscScalar}, fluxL::Vector{$PetscScalar}, fluxR::Vector{$PetscScalar} ) @@ -682,7 +682,7 @@ See also: `PetscFV`, `PetscFVCreate()`, `PETSCFVLEASTSQUARES`, `PetscFVComputeGr $(_doc_external("FV/PetscFVLeastSquaresSetMaxFaces")) """ function PetscFVLeastSquaresSetMaxFaces(petsclib::PetscLibType, fvm::PetscFV, maxFaces::Integer) - error("PetscFVLeastSquaresSetMaxFaces: no generated method for these argument types") + throw(MethodError(PetscFVLeastSquaresSetMaxFaces, (petsclib, fvm, maxFaces))) end @for_petsc function PetscFVLeastSquaresSetMaxFaces(petsclib::$UnionPetscLib, fvm::PetscFV, maxFaces::$PetscInt ) @@ -717,7 +717,7 @@ See also: `PetscFV`, `PetscFVType`, `PetscFVCreate()`, `PetscFVSetType()` $(_doc_external("FV/PetscFVRefine")) """ function PetscFVRefine(petsclib::PetscLibType, fv::PetscFV) - error("PetscFVRefine: no generated method for these argument types") + throw(MethodError(PetscFVRefine, (petsclib, fv))) end @for_petsc function PetscFVRefine(petsclib::$UnionPetscLib, fv::PetscFV ) @@ -751,7 +751,7 @@ See also: `PetscFV`, `PetscFVType`, `PetscFVRegisterAll()`, `PetscFVRegisterDest $(_doc_external("FV/PetscFVRegister")) """ function PetscFVRegister(petsclib::PetscLibType, sname::String, fnc::external) - error("PetscFVRegister: no generated method for these argument types") + throw(MethodError(PetscFVRegister, (petsclib, sname, fnc))) end @for_petsc function PetscFVRegister(petsclib::$UnionPetscLib, sname::String, fnc::external ) @@ -786,7 +786,7 @@ See also: `PetscFV`, `PetscFVGetComponentName()` $(_doc_external("FV/PetscFVSetComponentName")) """ function PetscFVSetComponentName(petsclib::PetscLibType, fvm::PetscFV, comp::Integer, name::String) - error("PetscFVSetComponentName: no generated method for these argument types") + throw(MethodError(PetscFVSetComponentName, (petsclib, fvm, comp, name))) end @for_petsc function PetscFVSetComponentName(petsclib::$UnionPetscLib, fvm::PetscFV, comp::$PetscInt, name::String ) @@ -820,7 +820,7 @@ See also: `PetscFV`, `PetscFVGetComputeGradients()` $(_doc_external("FV/PetscFVSetComputeGradients")) """ function PetscFVSetComputeGradients(petsclib::PetscLibType, fvm::PetscFV, computeGradients::PetscBool) - error("PetscFVSetComputeGradients: no generated method for these argument types") + throw(MethodError(PetscFVSetComputeGradients, (petsclib, fvm, computeGradients))) end @for_petsc function PetscFVSetComputeGradients(petsclib::$UnionPetscLib, fvm::PetscFV, computeGradients::PetscBool ) @@ -854,7 +854,7 @@ See also: `PetscFVGetDualSpace()`, `PetscFVCreateDualSpace()`, `PetscDualSpace`, $(_doc_external("FV/PetscFVSetDualSpace")) """ function PetscFVSetDualSpace(petsclib::PetscLibType, fvm::PetscFV, sp::PetscDualSpace) - error("PetscFVSetDualSpace: no generated method for these argument types") + throw(MethodError(PetscFVSetDualSpace, (petsclib, fvm, sp))) end @for_petsc function PetscFVSetDualSpace(petsclib::$UnionPetscLib, fvm::PetscFV, sp::PetscDualSpace ) @@ -890,7 +890,7 @@ See also: `PetscFV`, `PetscFVView()` $(_doc_external("FV/PetscFVSetFromOptions")) """ function PetscFVSetFromOptions(petsclib::PetscLibType, fvm::PetscFV) - error("PetscFVSetFromOptions: no generated method for these argument types") + throw(MethodError(PetscFVSetFromOptions, (petsclib, fvm))) end @for_petsc function PetscFVSetFromOptions(petsclib::$UnionPetscLib, fvm::PetscFV ) @@ -924,7 +924,7 @@ See also: `PetscFV`, `PetscLimiter`, `PetscFVGetLimiter()` $(_doc_external("FV/PetscFVSetLimiter")) """ function PetscFVSetLimiter(petsclib::PetscLibType, fvm::PetscFV, lim::PetscLimiter) - error("PetscFVSetLimiter: no generated method for these argument types") + throw(MethodError(PetscFVSetLimiter, (petsclib, fvm, lim))) end @for_petsc function PetscFVSetLimiter(petsclib::$UnionPetscLib, fvm::PetscFV, lim::PetscLimiter ) @@ -958,7 +958,7 @@ See also: `PetscFV`, `PetscFVGetNumComponents()` $(_doc_external("FV/PetscFVSetNumComponents")) """ function PetscFVSetNumComponents(petsclib::PetscLibType, fvm::PetscFV, comp::Integer) - error("PetscFVSetNumComponents: no generated method for these argument types") + throw(MethodError(PetscFVSetNumComponents, (petsclib, fvm, comp))) end @for_petsc function PetscFVSetNumComponents(petsclib::$UnionPetscLib, fvm::PetscFV, comp::$PetscInt ) @@ -992,7 +992,7 @@ See also: `PetscQuadrature`, `PetscFV`, `PetscFVGetQuadrature()` $(_doc_external("FV/PetscFVSetQuadrature")) """ function PetscFVSetQuadrature(petsclib::PetscLibType, fvm::PetscFV, q::PetscQuadrature) - error("PetscFVSetQuadrature: no generated method for these argument types") + throw(MethodError(PetscFVSetQuadrature, (petsclib, fvm, q))) end @for_petsc function PetscFVSetQuadrature(petsclib::$UnionPetscLib, fvm::PetscFV, q::PetscQuadrature ) @@ -1026,7 +1026,7 @@ See also: `PetscFV`, `PetscFVGetSpatialDimension()` $(_doc_external("FV/PetscFVSetSpatialDimension")) """ function PetscFVSetSpatialDimension(petsclib::PetscLibType, fvm::PetscFV, dim::Integer) - error("PetscFVSetSpatialDimension: no generated method for these argument types") + throw(MethodError(PetscFVSetSpatialDimension, (petsclib, fvm, dim))) end @for_petsc function PetscFVSetSpatialDimension(petsclib::$UnionPetscLib, fvm::PetscFV, dim::$PetscInt ) @@ -1063,7 +1063,7 @@ See also: `PetscFV`, `PetscFVType`, `PetscFVGetType()`, `PetscFVCreate()` $(_doc_external("FV/PetscFVSetType")) """ function PetscFVSetType(petsclib::PetscLibType, fvm::PetscFV, name::String) - error("PetscFVSetType: no generated method for these argument types") + throw(MethodError(PetscFVSetType, (petsclib, fvm, name))) end @for_petsc function PetscFVSetType(petsclib::$UnionPetscLib, fvm::PetscFV, name::String ) @@ -1096,7 +1096,7 @@ See also: `PetscFV`, `PetscFVView()`, `PetscFVDestroy()` $(_doc_external("FV/PetscFVSetUp")) """ function PetscFVSetUp(petsclib::PetscLibType, fvm::PetscFV) - error("PetscFVSetUp: no generated method for these argument types") + throw(MethodError(PetscFVSetUp, (petsclib, fvm))) end @for_petsc function PetscFVSetUp(petsclib::$UnionPetscLib, fvm::PetscFV ) @@ -1130,7 +1130,7 @@ See also: `PetscFV`, `PetscViewer`, `PetscFVDestroy()` $(_doc_external("FV/PetscFVView")) """ function PetscFVView(petsclib::PetscLibType, fvm::PetscFV, v::PetscViewer) - error("PetscFVView: no generated method for these argument types") + throw(MethodError(PetscFVView, (petsclib, fvm, v))) end @for_petsc function PetscFVView(petsclib::$UnionPetscLib, fvm::PetscFV, v::PetscViewer ) @@ -1168,7 +1168,7 @@ See also: `PetscFV`, `PetscFVView()`, `PetscObjectViewFromOptions()`, `PetscFVCr $(_doc_external("FV/PetscFVViewFromOptions")) """ function PetscFVViewFromOptions(petsclib::PetscLibType, A::PetscFV, obj, name::String) - error("PetscFVViewFromOptions: no generated method for these argument types") + throw(MethodError(PetscFVViewFromOptions, (petsclib, A, obj, name))) end @for_petsc function PetscFVViewFromOptions(petsclib::$UnionPetscLib, A::PetscFV, obj, name::String ) diff --git a/src/autowrapped/PetscFunctionList_wrappers.jl b/src/autowrapped/PetscFunctionList_wrappers.jl index b42ca6700..62642dfa7 100644 --- a/src/autowrapped/PetscFunctionList_wrappers.jl +++ b/src/autowrapped/PetscFunctionList_wrappers.jl @@ -15,7 +15,7 @@ See also: `PetscFunctionList`, `PetscFunctionListDestroy()`, `PetscFunctionListA $(_doc_external("Sys/PetscFunctionListClear")) """ function PetscFunctionListClear(petsclib::PetscLibType, fl::PetscFunctionList) - error("PetscFunctionListClear: no generated method for these argument types") + throw(MethodError(PetscFunctionListClear, (petsclib, fl))) end @for_petsc function PetscFunctionListClear(petsclib::$UnionPetscLib, fl::PetscFunctionList ) @@ -46,7 +46,7 @@ See also: `PetscFunctionListAdd()`, `PetscFunctionList`, `PetscFunctionListClear $(_doc_external("Sys/PetscFunctionListDestroy")) """ function PetscFunctionListDestroy(petsclib::PetscLibType, fl::Union{PetscFunctionList, Ref{PetscFunctionList}}) - error("PetscFunctionListDestroy: no generated method for these argument types") + throw(MethodError(PetscFunctionListDestroy, (petsclib, fl))) end @for_petsc function PetscFunctionListDestroy(petsclib::$UnionPetscLib, fl::Union{PetscFunctionList, Ref{PetscFunctionList}} ) @@ -81,7 +81,7 @@ See also: `PetscFunctionList`, `PetscFunctionListAdd()`, `PetscFlistDestroy()` $(_doc_external("Sys/PetscFunctionListDuplicate")) """ function PetscFunctionListDuplicate(petsclib::PetscLibType, fl::PetscFunctionList) - error("PetscFunctionListDuplicate: no generated method for these argument types") + throw(MethodError(PetscFunctionListDuplicate, (petsclib, fl))) end @for_petsc function PetscFunctionListDuplicate(petsclib::$UnionPetscLib, fl::PetscFunctionList ) @@ -121,7 +121,7 @@ See also: `PetscFunctionListAdd()`, `PetscFunctionList` $(_doc_external("Sys/PetscFunctionListGet")) """ function PetscFunctionListGet(petsclib::PetscLibType, list::PetscFunctionList) - error("PetscFunctionListGet: no generated method for these argument types") + throw(MethodError(PetscFunctionListGet, (petsclib, list))) end @for_petsc function PetscFunctionListGet(petsclib::$UnionPetscLib, list::PetscFunctionList ) @@ -155,7 +155,7 @@ See also: `PetscFunctionList`, `PetscFunctionListPrintNonEmpty()`, `PetscFunctio $(_doc_external("Sys/PetscFunctionListPrintAll")) """ function PetscFunctionListPrintAll(petsclib::PetscLibType) - error("PetscFunctionListPrintAll: no generated method for these argument types") + throw(MethodError(PetscFunctionListPrintAll, (petsclib, ))) end @for_petsc function PetscFunctionListPrintAll(petsclib::$UnionPetscLib) @@ -187,7 +187,7 @@ See also: `PetscFunctionListAdd()`, `PetscFunctionList`, `PetscObjectQueryFuncti $(_doc_external("Sys/PetscFunctionListPrintNonEmpty")) """ function PetscFunctionListPrintNonEmpty(petsclib::PetscLibType, fl::PetscFunctionList) - error("PetscFunctionListPrintNonEmpty: no generated method for these argument types") + throw(MethodError(PetscFunctionListPrintNonEmpty, (petsclib, fl))) end @for_petsc function PetscFunctionListPrintNonEmpty(petsclib::$UnionPetscLib, fl::PetscFunctionList ) @@ -228,7 +228,7 @@ See also: `PetscFunctionListAdd()`, `PetscFunctionList` $(_doc_external("Sys/PetscFunctionListPrintTypes")) """ function PetscFunctionListPrintTypes(petsclib::PetscLibType, comm::MPI_Comm, fd::Libc.FILE, prefix::String, name::String, text::String, man::String, list::PetscFunctionList, def::String, newv::String) - error("PetscFunctionListPrintTypes: no generated method for these argument types") + throw(MethodError(PetscFunctionListPrintTypes, (petsclib, comm, fd, prefix, name, text, man, list, def, newv))) end @for_petsc function PetscFunctionListPrintTypes(petsclib::$UnionPetscLib, comm::MPI_Comm, fd::Libc.FILE, prefix::String, name::String, text::String, man::String, list::PetscFunctionList, def::String, newv::String ) @@ -262,7 +262,7 @@ See also: `PetscFunctionListAdd()`, `PetscFunctionListPrintTypes()`, `PetscFunct $(_doc_external("Sys/PetscFunctionListView")) """ function PetscFunctionListView(petsclib::PetscLibType, list::PetscFunctionList, viewer::PetscViewer) - error("PetscFunctionListView: no generated method for these argument types") + throw(MethodError(PetscFunctionListView, (petsclib, list, viewer))) end @for_petsc function PetscFunctionListView(petsclib::$UnionPetscLib, list::PetscFunctionList, viewer::PetscViewer ) diff --git a/src/autowrapped/PetscGridHash_wrappers.jl b/src/autowrapped/PetscGridHash_wrappers.jl index bc0621e9a..f5f178c2d 100644 --- a/src/autowrapped/PetscGridHash_wrappers.jl +++ b/src/autowrapped/PetscGridHash_wrappers.jl @@ -20,7 +20,7 @@ See also: `DMPLEX`, `PetscGridHash`, `PetscGridHashEnlarge()`, `PetscGridHashDes $(_doc_external("DMPlex/PetscGridHashCreate")) """ function PetscGridHashCreate(petsclib::PetscLibType, comm::MPI_Comm, dim::Integer, point::AbstractVector{<:Number}) - error("PetscGridHashCreate: no generated method for these argument types") + throw(MethodError(PetscGridHashCreate, (petsclib, comm, dim, point))) end @for_petsc function PetscGridHashCreate(petsclib::$UnionPetscLib, comm::MPI_Comm, dim::$PetscInt, point::Vector{$PetscScalar} ) @@ -55,7 +55,7 @@ See also: `DMPLEX`, `PetscGridHash`, `PetscGridHashCreate()`, `PetscGridHashEnla $(_doc_external("DMPlex/PetscGridHashDestroy")) """ function PetscGridHashDestroy(petsclib::PetscLibType, box::Union{PetscGridHash, Ref{PetscGridHash}}) - error("PetscGridHashDestroy: no generated method for these argument types") + throw(MethodError(PetscGridHashDestroy, (petsclib, box))) end @for_petsc function PetscGridHashDestroy(petsclib::$UnionPetscLib, box::Union{PetscGridHash, Ref{PetscGridHash}} ) @@ -90,7 +90,7 @@ See also: `DMPLEX`, `PetscGridHash`, `PetscGridHashCreate()`, `PetscGridHashDest $(_doc_external("DMPlex/PetscGridHashEnlarge")) """ function PetscGridHashEnlarge(petsclib::PetscLibType, box::PetscGridHash, point::AbstractVector{<:Number}) - error("PetscGridHashEnlarge: no generated method for these argument types") + throw(MethodError(PetscGridHashEnlarge, (petsclib, box, point))) end @for_petsc function PetscGridHashEnlarge(petsclib::$UnionPetscLib, box::PetscGridHash, point::Vector{$PetscScalar} ) @@ -129,7 +129,7 @@ See also: `DMPLEX`, `PetscGridHashCreate()` $(_doc_external("DMPlex/PetscGridHashGetEnclosingBox")) """ function PetscGridHashGetEnclosingBox(petsclib::PetscLibType, box::PetscGridHash, numPoints::Integer, points::AbstractVector{<:Number}, dboxes::AbstractVector{<:Number}, boxes::AbstractVector{<:Number}) - error("PetscGridHashGetEnclosingBox: no generated method for these argument types") + throw(MethodError(PetscGridHashGetEnclosingBox, (petsclib, box, numPoints, points, dboxes, boxes))) end @for_petsc function PetscGridHashGetEnclosingBox(petsclib::$UnionPetscLib, box::PetscGridHash, numPoints::$PetscInt, points::Vector{$PetscScalar}, dboxes::Vector{$PetscInt}, boxes::Vector{$PetscInt} ) @@ -164,7 +164,7 @@ See also: `DMPLEX`, `PetscGridHashCreate()` $(_doc_external("DMPlex/PetscGridHashSetGrid")) """ function PetscGridHashSetGrid(petsclib::PetscLibType, box::PetscGridHash, n::AbstractVector{<:Number}, h::AbstractVector{<:Number}) - error("PetscGridHashSetGrid: no generated method for these argument types") + throw(MethodError(PetscGridHashSetGrid, (petsclib, box, n, h))) end @for_petsc function PetscGridHashSetGrid(petsclib::$UnionPetscLib, box::PetscGridHash, n::Vector{$PetscInt}, h::Vector{$PetscReal} ) diff --git a/src/autowrapped/PetscHeap_wrappers.jl b/src/autowrapped/PetscHeap_wrappers.jl index 4cbfb2cc5..7f004f996 100644 --- a/src/autowrapped/PetscHeap_wrappers.jl +++ b/src/autowrapped/PetscHeap_wrappers.jl @@ -17,7 +17,7 @@ See also: `PetscHeap`, `PetscHeapCreate()`, `PetscHeapPop()`, `PetscHeapPeek()`, $(_doc_external("Mat/PetscHeapAdd")) """ function PetscHeapAdd(petsclib::PetscLibType, h::PetscHeap, id::Integer, val::Integer) - error("PetscHeapAdd: no generated method for these argument types") + throw(MethodError(PetscHeapAdd, (petsclib, h, id, val))) end @for_petsc function PetscHeapAdd(petsclib::$UnionPetscLib, h::PetscHeap, id::$PetscInt, val::$PetscInt ) @@ -53,7 +53,7 @@ See also: `PetscHeap`, `PetscHeapAdd()`, `PetscHeapPop()`, `PetscHeapPeek()`, `P $(_doc_external("Mat/PetscHeapCreate")) """ function PetscHeapCreate(petsclib::PetscLibType, maxsize::Integer) - error("PetscHeapCreate: no generated method for these argument types") + throw(MethodError(PetscHeapCreate, (petsclib, maxsize))) end @for_petsc function PetscHeapCreate(petsclib::$UnionPetscLib, maxsize::$PetscInt ) @@ -88,7 +88,7 @@ See also: `PetscHeap`, `PetscHeapCreate()` $(_doc_external("Mat/PetscHeapDestroy")) """ function PetscHeapDestroy(petsclib::PetscLibType, heap::Union{PetscHeap, Ref{PetscHeap}}) - error("PetscHeapDestroy: no generated method for these argument types") + throw(MethodError(PetscHeapDestroy, (petsclib, heap))) end @for_petsc function PetscHeapDestroy(petsclib::$UnionPetscLib, heap::Union{PetscHeap, Ref{PetscHeap}} ) @@ -126,7 +126,7 @@ See also: `PetscHeap`, `PetscHeapCreate()`, `PetscHeapAdd()`, `PetscHeapPop()`, $(_doc_external("Mat/PetscHeapPeek")) """ function PetscHeapPeek(petsclib::PetscLibType, h::PetscHeap) - error("PetscHeapPeek: no generated method for these argument types") + throw(MethodError(PetscHeapPeek, (petsclib, h))) end @for_petsc function PetscHeapPeek(petsclib::$UnionPetscLib, h::PetscHeap ) @@ -167,7 +167,7 @@ See also: `PetscHeap`, `PetscHeapCreate()`, `PetscHeapAdd()`, `PetscHeapPeek()`, $(_doc_external("Mat/PetscHeapPop")) """ function PetscHeapPop(petsclib::PetscLibType, h::PetscHeap) - error("PetscHeapPop: no generated method for these argument types") + throw(MethodError(PetscHeapPop, (petsclib, h))) end @for_petsc function PetscHeapPop(petsclib::$UnionPetscLib, h::PetscHeap ) @@ -206,7 +206,7 @@ See also: `PetscHeap`, `PetscHeapCreate()`, `PetscHeapAdd()`, `PetscHeapUnstash( $(_doc_external("Mat/PetscHeapStash")) """ function PetscHeapStash(petsclib::PetscLibType, h::PetscHeap, id::Integer, val::Integer) - error("PetscHeapStash: no generated method for these argument types") + throw(MethodError(PetscHeapStash, (petsclib, h, id, val))) end @for_petsc function PetscHeapStash(petsclib::$UnionPetscLib, h::PetscHeap, id::$PetscInt, val::$PetscInt ) @@ -239,7 +239,7 @@ See also: `PetscHeap`, `PetscHeapCreate()`, `PetscHeapAdd()`, `PetscHeapStash()` $(_doc_external("Mat/PetscHeapUnstash")) """ function PetscHeapUnstash(petsclib::PetscLibType, h::PetscHeap) - error("PetscHeapUnstash: no generated method for these argument types") + throw(MethodError(PetscHeapUnstash, (petsclib, h))) end @for_petsc function PetscHeapUnstash(petsclib::$UnionPetscLib, h::PetscHeap ) @@ -273,7 +273,7 @@ See also: `PetscHeap`, `PetscHeapCreate()`, `PetscHeapAdd()`, `PetscHeapPop()` $(_doc_external("Mat/PetscHeapView")) """ function PetscHeapView(petsclib::PetscLibType, h::PetscHeap, viewer::PetscViewer) - error("PetscHeapView: no generated method for these argument types") + throw(MethodError(PetscHeapView, (petsclib, h, viewer))) end @for_petsc function PetscHeapView(petsclib::$UnionPetscLib, h::PetscHeap, viewer::PetscViewer ) diff --git a/src/autowrapped/PetscIntStack_wrappers.jl b/src/autowrapped/PetscIntStack_wrappers.jl index de940dd0b..dbc87626a 100644 --- a/src/autowrapped/PetscIntStack_wrappers.jl +++ b/src/autowrapped/PetscIntStack_wrappers.jl @@ -15,7 +15,7 @@ See also: `PetscIntStackDestroy()`, `PetscIntStackEmpty()`, `PetscIntStackPush() $(_doc_external("Log/PetscIntStackCreate")) """ function PetscIntStackCreate(petsclib::PetscLibType) - error("PetscIntStackCreate: no generated method for these argument types") + throw(MethodError(PetscIntStackCreate, (petsclib, ))) end @for_petsc function PetscIntStackCreate(petsclib::$UnionPetscLib) @@ -50,7 +50,7 @@ See also: `PetscIntStackCreate()`, `PetscIntStackEmpty()`, `PetscIntStackPush()` $(_doc_external("Log/PetscIntStackDestroy")) """ function PetscIntStackDestroy(petsclib::PetscLibType, stack::PetscIntStack) - error("PetscIntStackDestroy: no generated method for these argument types") + throw(MethodError(PetscIntStackDestroy, (petsclib, stack))) end @for_petsc function PetscIntStackDestroy(petsclib::$UnionPetscLib, stack::$PetscIntStack ) @@ -86,7 +86,7 @@ See also: `PetscIntStackCreate()`, `PetscIntStackDestroy()`, `PetscIntStackPush( $(_doc_external("Log/PetscIntStackEmpty")) """ function PetscIntStackEmpty(petsclib::PetscLibType, stack::PetscIntStack) - error("PetscIntStackEmpty: no generated method for these argument types") + throw(MethodError(PetscIntStackEmpty, (petsclib, stack))) end @for_petsc function PetscIntStackEmpty(petsclib::$UnionPetscLib, stack::$PetscIntStack ) @@ -124,7 +124,7 @@ See also: `PetscIntStackCreate()`, `PetscIntStackDestroy()`, `PetscIntStackEmpty $(_doc_external("Log/PetscIntStackPop")) """ function PetscIntStackPop(petsclib::PetscLibType, stack::PetscIntStack) - error("PetscIntStackPop: no generated method for these argument types") + throw(MethodError(PetscIntStackPop, (petsclib, stack))) end @for_petsc function PetscIntStackPop(petsclib::$UnionPetscLib, stack::$PetscIntStack ) @@ -160,7 +160,7 @@ See also: `PetscIntStackCreate()`, `PetscIntStackDestroy()`, `PetscIntStackEmpty $(_doc_external("Log/PetscIntStackPush")) """ function PetscIntStackPush(petsclib::PetscLibType, stack::PetscIntStack, item::Cint) - error("PetscIntStackPush: no generated method for these argument types") + throw(MethodError(PetscIntStackPush, (petsclib, stack, item))) end @for_petsc function PetscIntStackPush(petsclib::$UnionPetscLib, stack::$PetscIntStack, item::Cint ) @@ -196,7 +196,7 @@ See also: `PetscIntStackCreate()`, `PetscIntStackDestroy()`, `PetscIntStackEmpty $(_doc_external("Log/PetscIntStackTop")) """ function PetscIntStackTop(petsclib::PetscLibType, stack::PetscIntStack) - error("PetscIntStackTop: no generated method for these argument types") + throw(MethodError(PetscIntStackTop, (petsclib, stack))) end @for_petsc function PetscIntStackTop(petsclib::$UnionPetscLib, stack::$PetscIntStack ) diff --git a/src/autowrapped/PetscKDTree_wrappers.jl b/src/autowrapped/PetscKDTree_wrappers.jl index aad6a7a4f..90a688669 100644 --- a/src/autowrapped/PetscKDTree_wrappers.jl +++ b/src/autowrapped/PetscKDTree_wrappers.jl @@ -22,7 +22,7 @@ See also: `PetscKDTree`, `PetscKDTreeDestroy()`, `PetscKDTreeQueryPointsNearestN $(_doc_external("IS/PetscKDTreeCreate")) """ function PetscKDTreeCreate(petsclib::PetscLibType, num_coords::PetscCount, dim::Integer, coords::AbstractVector{<:Number}, copy_mode::PetscCopyMode, max_bucket_size::Integer) - error("PetscKDTreeCreate: no generated method for these argument types") + throw(MethodError(PetscKDTreeCreate, (petsclib, num_coords, dim, coords, copy_mode, max_bucket_size))) end @for_petsc function PetscKDTreeCreate(petsclib::$UnionPetscLib, num_coords::PetscCount, dim::$PetscInt, coords::Vector{$PetscReal}, copy_mode::PetscCopyMode, max_bucket_size::$PetscInt ) @@ -57,7 +57,7 @@ See also: `PetscKDTree`, `PetscKDTreeCreate()` $(_doc_external("IS/PetscKDTreeDestroy")) """ function PetscKDTreeDestroy(petsclib::PetscLibType, tree::Union{PetscKDTree, Ref{PetscKDTree}}) - error("PetscKDTreeDestroy: no generated method for these argument types") + throw(MethodError(PetscKDTreeDestroy, (petsclib, tree))) end @for_petsc function PetscKDTreeDestroy(petsclib::$UnionPetscLib, tree::Union{PetscKDTree, Ref{PetscKDTree}} ) @@ -98,7 +98,7 @@ See also: `PetscKDTree`, `PetscKDTreeCreate()` $(_doc_external("IS/PetscKDTreeQueryPointsNearestNeighbor")) """ function PetscKDTreeQueryPointsNearestNeighbor(petsclib::PetscLibType, tree::PetscKDTree, num_points::PetscCount, points::AbstractVector{<:Number}, tolerance::Real, indices::Vector{PetscCount}, distances::AbstractVector{<:Number}) - error("PetscKDTreeQueryPointsNearestNeighbor: no generated method for these argument types") + throw(MethodError(PetscKDTreeQueryPointsNearestNeighbor, (petsclib, tree, num_points, points, tolerance, indices, distances))) end @for_petsc function PetscKDTreeQueryPointsNearestNeighbor(petsclib::$UnionPetscLib, tree::PetscKDTree, num_points::PetscCount, points::Vector{$PetscReal}, tolerance::$PetscReal, indices::Vector{PetscCount}, distances::Vector{$PetscReal} ) @@ -132,7 +132,7 @@ See also: `PetscKDTree`, `PetscKDTreeCreate()`, `PetscViewer` $(_doc_external("IS/PetscKDTreeView")) """ function PetscKDTreeView(petsclib::PetscLibType, tree::PetscKDTree, viewer::PetscViewer) - error("PetscKDTreeView: no generated method for these argument types") + throw(MethodError(PetscKDTreeView, (petsclib, tree, viewer))) end @for_petsc function PetscKDTreeView(petsclib::$UnionPetscLib, tree::PetscKDTree, viewer::PetscViewer ) diff --git a/src/autowrapped/PetscLayout_wrappers.jl b/src/autowrapped/PetscLayout_wrappers.jl index 82b8fd2fd..0b65efd72 100644 --- a/src/autowrapped/PetscLayout_wrappers.jl +++ b/src/autowrapped/PetscLayout_wrappers.jl @@ -20,7 +20,7 @@ See also: PetscLayout, `PetscLayoutCreate()`, `PetscLayoutSetLocalSize()`, `Pets $(_doc_external("IS/PetscLayoutCompare")) """ function PetscLayoutCompare(petsclib::PetscLibType, mapa::PetscLayout, mapb::PetscLayout) - error("PetscLayoutCompare: no generated method for these argument types") + throw(MethodError(PetscLayoutCompare, (petsclib, mapa, mapb))) end @for_petsc function PetscLayoutCompare(petsclib::$UnionPetscLib, mapa::PetscLayout, mapb::PetscLayout ) @@ -61,7 +61,7 @@ See also: PetscLayout, `PetscLayoutSetLocalSize()`, `PetscLayoutSetSize()`, `Pet $(_doc_external("IS/PetscLayoutCreate")) """ function PetscLayoutCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("PetscLayoutCreate: no generated method for these argument types") + throw(MethodError(PetscLayoutCreate, (petsclib, comm))) end @for_petsc function PetscLayoutCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -104,7 +104,7 @@ See also: PetscLayout, `PetscLayoutCreate()`, `PetscLayoutSetLocalSize()`, `Pets $(_doc_external("IS/PetscLayoutCreateFromRanges")) """ function PetscLayoutCreateFromRanges(petsclib::PetscLibType, comm::MPI_Comm, range::AbstractVector{<:Number}, mode::PetscCopyMode, bs::Integer) - error("PetscLayoutCreateFromRanges: no generated method for these argument types") + throw(MethodError(PetscLayoutCreateFromRanges, (petsclib, comm, range, mode, bs))) end @for_petsc function PetscLayoutCreateFromRanges(petsclib::$UnionPetscLib, comm::MPI_Comm, range::Vector{$PetscInt}, mode::PetscCopyMode, bs::$PetscInt ) @@ -146,7 +146,7 @@ See also: PetscLayout, `PetscLayoutCreate()`, `PetscLayoutSetLocalSize()`, `Pets $(_doc_external("IS/PetscLayoutCreateFromSizes")) """ function PetscLayoutCreateFromSizes(petsclib::PetscLibType, comm::MPI_Comm, n::Integer, M_N::Integer, bs::Integer) - error("PetscLayoutCreateFromSizes: no generated method for these argument types") + throw(MethodError(PetscLayoutCreateFromSizes, (petsclib, comm, n, M_N, bs))) end @for_petsc function PetscLayoutCreateFromSizes(petsclib::$UnionPetscLib, comm::MPI_Comm, n::$PetscInt, M_N::$PetscInt, bs::$PetscInt ) @@ -183,7 +183,7 @@ See also: PetscLayout, `PetscLayoutSetLocalSize()`, `PetscLayoutSetSize()`, `Pet $(_doc_external("IS/PetscLayoutDestroy")) """ function PetscLayoutDestroy(petsclib::PetscLibType, map::Union{PetscLayout, Ref{PetscLayout}}) - error("PetscLayoutDestroy: no generated method for these argument types") + throw(MethodError(PetscLayoutDestroy, (petsclib, map))) end @for_petsc function PetscLayoutDestroy(petsclib::$UnionPetscLib, map::Union{PetscLayout, Ref{PetscLayout}} ) @@ -220,7 +220,7 @@ See also: PetscLayout, `PetscLayoutCreate()`, `PetscLayoutDestroy()`, `PetscLayo $(_doc_external("IS/PetscLayoutDuplicate")) """ function PetscLayoutDuplicate(petsclib::PetscLibType, in::PetscLayout) - error("PetscLayoutDuplicate: no generated method for these argument types") + throw(MethodError(PetscLayoutDuplicate, (petsclib, in))) end @for_petsc function PetscLayoutDuplicate(petsclib::$UnionPetscLib, in::PetscLayout ) @@ -259,7 +259,7 @@ See also: `PetscLayout`, `PetscLayoutFindOwnerIndex()` $(_doc_external("IS/PetscLayoutFindOwner")) """ function PetscLayoutFindOwner(petsclib::PetscLibType, map::PetscLayout, idx::Integer) - error("PetscLayoutFindOwner: no generated method for these argument types") + throw(MethodError(PetscLayoutFindOwner, (petsclib, map, idx))) end @for_petsc function PetscLayoutFindOwner(petsclib::$UnionPetscLib, map::PetscLayout, idx::$PetscInt ) @@ -299,7 +299,7 @@ See also: `PetscLayout`, `PetscLayoutFindOwner()` $(_doc_external("IS/PetscLayoutFindOwnerIndex")) """ function PetscLayoutFindOwnerIndex(petsclib::PetscLibType, map::PetscLayout, idx::Integer) - error("PetscLayoutFindOwnerIndex: no generated method for these argument types") + throw(MethodError(PetscLayoutFindOwnerIndex, (petsclib, map, idx))) end @for_petsc function PetscLayoutFindOwnerIndex(petsclib::$UnionPetscLib, map::PetscLayout, idx::$PetscInt ) @@ -340,7 +340,7 @@ See also: PetscLayout, `PetscLayoutCreate()`, `PetscLayoutSetLocalSize()`, `Pets $(_doc_external("IS/PetscLayoutGetBlockSize")) """ function PetscLayoutGetBlockSize(petsclib::PetscLibType, map::PetscLayout) - error("PetscLayoutGetBlockSize: no generated method for these argument types") + throw(MethodError(PetscLayoutGetBlockSize, (petsclib, map))) end @for_petsc function PetscLayoutGetBlockSize(petsclib::$UnionPetscLib, map::PetscLayout ) @@ -379,7 +379,7 @@ See also: PetscLayout, `PetscLayoutCreate()`, `PetscLayoutSetSize()`, `PetscLayo $(_doc_external("IS/PetscLayoutGetLocalSize")) """ function PetscLayoutGetLocalSize(petsclib::PetscLibType, map::PetscLayout) - error("PetscLayoutGetLocalSize: no generated method for these argument types") + throw(MethodError(PetscLayoutGetLocalSize, (petsclib, map))) end @for_petsc function PetscLayoutGetLocalSize(petsclib::$UnionPetscLib, map::PetscLayout ) @@ -419,7 +419,7 @@ See also: PetscLayout, `PetscLayoutCreate()`, `PetscLayoutSetLocalSize()`, `Pets $(_doc_external("IS/PetscLayoutGetRange")) """ function PetscLayoutGetRange(petsclib::PetscLibType, map::PetscLayout) - error("PetscLayoutGetRange: no generated method for these argument types") + throw(MethodError(PetscLayoutGetRange, (petsclib, map))) end @for_petsc function PetscLayoutGetRange(petsclib::$UnionPetscLib, map::PetscLayout ) @@ -462,7 +462,7 @@ See also: PetscLayout, `PetscLayoutCreate()`, `PetscLayoutSetLocalSize()`, `Pets $(_doc_external("IS/PetscLayoutGetRanges")) """ function PetscLayoutGetRanges(petsclib::PetscLibType, map::PetscLayout) - error("PetscLayoutGetRanges: no generated method for these argument types") + throw(MethodError(PetscLayoutGetRanges, (petsclib, map))) end @for_petsc function PetscLayoutGetRanges(petsclib::$UnionPetscLib, map::PetscLayout ) @@ -501,7 +501,7 @@ See also: PetscLayout, `PetscLayoutCreate()`, `PetscLayoutSetLocalSize()`, `Pets $(_doc_external("IS/PetscLayoutGetSize")) """ function PetscLayoutGetSize(petsclib::PetscLibType, map::PetscLayout) - error("PetscLayoutGetSize: no generated method for these argument types") + throw(MethodError(PetscLayoutGetSize, (petsclib, map))) end @for_petsc function PetscLayoutGetSize(petsclib::$UnionPetscLib, map::PetscLayout ) @@ -543,7 +543,7 @@ See also: `PetscLayout`, `PetscSF`, `PetscLayoutFindOwner()`, `PetscSFCreateFrom $(_doc_external("PetscSF/PetscLayoutMapLocal")) """ function PetscLayoutMapLocal(petsclib::PetscLibType, map::PetscLayout, N::Integer, idxs::AbstractVector{<:Number}) - error("PetscLayoutMapLocal: no generated method for these argument types") + throw(MethodError(PetscLayoutMapLocal, (petsclib, map, N, idxs))) end @for_petsc function PetscLayoutMapLocal(petsclib::$UnionPetscLib, map::PetscLayout, N::$PetscInt, idxs::Vector{$PetscInt} ) @@ -585,7 +585,7 @@ See also: PetscLayout, `PetscLayoutCreate()`, `PetscLayoutDestroy()`, `PetscLayo $(_doc_external("IS/PetscLayoutReference")) """ function PetscLayoutReference(petsclib::PetscLibType, in::PetscLayout) - error("PetscLayoutReference: no generated method for these argument types") + throw(MethodError(PetscLayoutReference, (petsclib, in))) end @for_petsc function PetscLayoutReference(petsclib::$UnionPetscLib, in::PetscLayout ) @@ -622,7 +622,7 @@ See also: PetscLayout, `PetscLayoutCreate()`, `PetscLayoutSetLocalSize()`, `Pets $(_doc_external("IS/PetscLayoutSetBlockSize")) """ function PetscLayoutSetBlockSize(petsclib::PetscLibType, map::PetscLayout, bs::Integer) - error("PetscLayoutSetBlockSize: no generated method for these argument types") + throw(MethodError(PetscLayoutSetBlockSize, (petsclib, map, bs))) end @for_petsc function PetscLayoutSetBlockSize(petsclib::$UnionPetscLib, map::PetscLayout, bs::$PetscInt ) @@ -656,7 +656,7 @@ See also: PetscLayout, `PetscLayoutCreate()`, `PetscLayoutDestroy()`, `PetscLayo $(_doc_external("IS/PetscLayoutSetISLocalToGlobalMapping")) """ function PetscLayoutSetISLocalToGlobalMapping(petsclib::PetscLibType, in::PetscLayout, ltog::ISLocalToGlobalMapping) - error("PetscLayoutSetISLocalToGlobalMapping: no generated method for these argument types") + throw(MethodError(PetscLayoutSetISLocalToGlobalMapping, (petsclib, in, ltog))) end @for_petsc function PetscLayoutSetISLocalToGlobalMapping(petsclib::$UnionPetscLib, in::PetscLayout, ltog::ISLocalToGlobalMapping ) @@ -691,7 +691,7 @@ See also: PetscLayout, `PetscLayoutCreate()`, `PetscLayoutSetSize()`, `PetscLayo $(_doc_external("IS/PetscLayoutSetLocalSize")) """ function PetscLayoutSetLocalSize(petsclib::PetscLibType, map::PetscLayout, n::Integer) - error("PetscLayoutSetLocalSize: no generated method for these argument types") + throw(MethodError(PetscLayoutSetLocalSize, (petsclib, map, n))) end @for_petsc function PetscLayoutSetLocalSize(petsclib::$UnionPetscLib, map::PetscLayout, n::$PetscInt ) @@ -726,7 +726,7 @@ See also: PetscLayout, `PetscLayoutCreate()`, `PetscLayoutSetLocalSize()`, `Pets $(_doc_external("IS/PetscLayoutSetSize")) """ function PetscLayoutSetSize(petsclib::PetscLibType, map::PetscLayout, n::Integer) - error("PetscLayoutSetSize: no generated method for these argument types") + throw(MethodError(PetscLayoutSetSize, (petsclib, map, n))) end @for_petsc function PetscLayoutSetSize(petsclib::$UnionPetscLib, map::PetscLayout, n::$PetscInt ) @@ -762,7 +762,7 @@ See also: PetscLayout, `PetscLayoutSetLocalSize()`, `PetscLayoutSetSize()`, `Pet $(_doc_external("IS/PetscLayoutSetUp")) """ function PetscLayoutSetUp(petsclib::PetscLibType, map::PetscLayout) - error("PetscLayoutSetUp: no generated method for these argument types") + throw(MethodError(PetscLayoutSetUp, (petsclib, map))) end @for_petsc function PetscLayoutSetUp(petsclib::$UnionPetscLib, map::PetscLayout ) diff --git a/src/autowrapped/PetscLimiter_wrappers.jl b/src/autowrapped/PetscLimiter_wrappers.jl index 87d885d9a..e926a2d8c 100644 --- a/src/autowrapped/PetscLimiter_wrappers.jl +++ b/src/autowrapped/PetscLimiter_wrappers.jl @@ -18,7 +18,7 @@ See also: `PetscLimiter`, `PetscLimiterType`, `PetscLimiterSetType()`, `PETSCLIM $(_doc_external("FV/PetscLimiterCreate")) """ function PetscLimiterCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("PetscLimiterCreate: no generated method for these argument types") + throw(MethodError(PetscLimiterCreate, (petsclib, comm))) end @for_petsc function PetscLimiterCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -53,7 +53,7 @@ See also: `PetscLimiter`, `PetscLimiterView()` $(_doc_external("FV/PetscLimiterDestroy")) """ function PetscLimiterDestroy(petsclib::PetscLibType, lim::Union{PetscLimiter, Ref{PetscLimiter}}) - error("PetscLimiterDestroy: no generated method for these argument types") + throw(MethodError(PetscLimiterDestroy, (petsclib, lim))) end @for_petsc function PetscLimiterDestroy(petsclib::$UnionPetscLib, lim::Union{PetscLimiter, Ref{PetscLimiter}} ) @@ -90,7 +90,7 @@ See also: `PetscLimiter`, `PetscLimiterType`, `PetscLimiterSetType()`, `PetscLim $(_doc_external("FV/PetscLimiterGetType")) """ function PetscLimiterGetType(petsclib::PetscLibType, lim::PetscLimiter) - error("PetscLimiterGetType: no generated method for these argument types") + throw(MethodError(PetscLimiterGetType, (petsclib, lim))) end @for_petsc function PetscLimiterGetType(petsclib::$UnionPetscLib, lim::PetscLimiter ) @@ -127,7 +127,7 @@ See also: `PetscLimiter`, `PetscLimiterType`, `PetscLimiterSetType()`, `PetscLim $(_doc_external("FV/PetscLimiterLimit")) """ function PetscLimiterLimit(petsclib::PetscLibType, lim::PetscLimiter, flim::Real) - error("PetscLimiterLimit: no generated method for these argument types") + throw(MethodError(PetscLimiterLimit, (petsclib, lim, flim))) end @for_petsc function PetscLimiterLimit(petsclib::$UnionPetscLib, lim::PetscLimiter, flim::$PetscReal ) @@ -161,7 +161,7 @@ See also: `PetscLimiter`, `PetscLimiterType`, `PetscLimiterRegisterAll()`, `Pets $(_doc_external("FV/PetscLimiterRegister")) """ function PetscLimiterRegister(petsclib::PetscLibType, sname::String, fnc::external) - error("PetscLimiterRegister: no generated method for these argument types") + throw(MethodError(PetscLimiterRegister, (petsclib, sname, fnc))) end @for_petsc function PetscLimiterRegister(petsclib::$UnionPetscLib, sname::String, fnc::external ) @@ -194,7 +194,7 @@ See also: `PetscLimiter`, `PetscLimiterView()` $(_doc_external("FV/PetscLimiterSetFromOptions")) """ function PetscLimiterSetFromOptions(petsclib::PetscLibType, lim::PetscLimiter) - error("PetscLimiterSetFromOptions: no generated method for these argument types") + throw(MethodError(PetscLimiterSetFromOptions, (petsclib, lim))) end @for_petsc function PetscLimiterSetFromOptions(petsclib::$UnionPetscLib, lim::PetscLimiter ) @@ -231,7 +231,7 @@ See also: `PetscLimiter`, `PetscLimiterType`, `PetscLimiterGetType()`, `PetscLim $(_doc_external("FV/PetscLimiterSetType")) """ function PetscLimiterSetType(petsclib::PetscLibType, lim::PetscLimiter, name::String) - error("PetscLimiterSetType: no generated method for these argument types") + throw(MethodError(PetscLimiterSetType, (petsclib, lim, name))) end @for_petsc function PetscLimiterSetType(petsclib::$UnionPetscLib, lim::PetscLimiter, name::String ) @@ -264,7 +264,7 @@ See also: `PetscLimiter`, `PetscLimiterView()`, `PetscLimiterDestroy()` $(_doc_external("FV/PetscLimiterSetUp")) """ function PetscLimiterSetUp(petsclib::PetscLibType, lim::PetscLimiter) - error("PetscLimiterSetUp: no generated method for these argument types") + throw(MethodError(PetscLimiterSetUp, (petsclib, lim))) end @for_petsc function PetscLimiterSetUp(petsclib::$UnionPetscLib, lim::PetscLimiter ) @@ -298,7 +298,7 @@ See also: `PetscLimiter`, `PetscViewer`, `PetscLimiterDestroy()`, `PetscLimiterV $(_doc_external("FV/PetscLimiterView")) """ function PetscLimiterView(petsclib::PetscLibType, lim::PetscLimiter, v::PetscViewer) - error("PetscLimiterView: no generated method for these argument types") + throw(MethodError(PetscLimiterView, (petsclib, lim, v))) end @for_petsc function PetscLimiterView(petsclib::$UnionPetscLib, lim::PetscLimiter, v::PetscViewer ) @@ -336,7 +336,7 @@ See also: `PetscLimiter`, `PetscLimiterView()`, `PetscObjectViewFromOptions()`, $(_doc_external("FV/PetscLimiterViewFromOptions")) """ function PetscLimiterViewFromOptions(petsclib::PetscLibType, A::PetscLimiter, obj, name::String) - error("PetscLimiterViewFromOptions: no generated method for these argument types") + throw(MethodError(PetscLimiterViewFromOptions, (petsclib, A, obj, name))) end @for_petsc function PetscLimiterViewFromOptions(petsclib::$UnionPetscLib, A::PetscLimiter, obj, name::String ) diff --git a/src/autowrapped/PetscLog_wrappers.jl b/src/autowrapped/PetscLog_wrappers.jl index af6c1943c..1c113f9c2 100644 --- a/src/autowrapped/PetscLog_wrappers.jl +++ b/src/autowrapped/PetscLog_wrappers.jl @@ -20,7 +20,7 @@ See also: `PetscLogHandler`, `PetscLogHandlerSetType()`, `PetscLogHandlerStart() $(_doc_external("Log/PetscLogHandlerCreate")) """ function PetscLogHandlerCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("PetscLogHandlerCreate: no generated method for these argument types") + throw(MethodError(PetscLogHandlerCreate, (petsclib, comm))) end @for_petsc function PetscLogHandlerCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -89,7 +89,7 @@ should be used in almost all cases. $(_doc_external("Log/PetscLogHandlerCreateLegacy")) """ function PetscLogHandlerCreateLegacy(petsclib::PetscLibType, comm::MPI_Comm, PetscLogPLB::external, PetscLogPLE::external, PetscLogPHC::external, PetscLogPHD::external) - error("PetscLogHandlerCreateLegacy: no generated method for these argument types") + throw(MethodError(PetscLogHandlerCreateLegacy, (petsclib, comm, PetscLogPLB, PetscLogPLE, PetscLogPHC, PetscLogPHD))) end @for_petsc function PetscLogHandlerCreateLegacy(petsclib::$UnionPetscLib, comm::MPI_Comm, PetscLogPLB::external, PetscLogPLE::external, PetscLogPHC::external, PetscLogPHD::external ) @@ -128,7 +128,7 @@ See also: `PetscLogHandler`, `PetscLogHandlerTraceBegin()` $(_doc_external("Log/PetscLogHandlerCreateTrace")) """ function PetscLogHandlerCreateTrace(petsclib::PetscLibType, comm::MPI_Comm) - error("PetscLogHandlerCreateTrace: no generated method for these argument types") + throw(MethodError(PetscLogHandlerCreateTrace, (petsclib, comm))) end @for_petsc function PetscLogHandlerCreateTrace(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -165,7 +165,7 @@ See also: `PetscLogHandler`, `PetscLogHandlerCreate()` $(_doc_external("Log/PetscLogHandlerDestroy")) """ function PetscLogHandlerDestroy(petsclib::PetscLibType, handler::Union{PetscLogHandler, Ref{PetscLogHandler}}) - error("PetscLogHandlerDestroy: no generated method for these argument types") + throw(MethodError(PetscLogHandlerDestroy, (petsclib, handler))) end @for_petsc function PetscLogHandlerDestroy(petsclib::$UnionPetscLib, handler::Union{PetscLogHandler, Ref{PetscLogHandler}} ) @@ -204,7 +204,7 @@ logging state (`PetscLogGetState()`). $(_doc_external("Log/PetscLogHandlerDump")) """ function PetscLogHandlerDump(petsclib::PetscLibType, handler::PetscLogHandler, sname::String) - error("PetscLogHandlerDump: no generated method for these argument types") + throw(MethodError(PetscLogHandlerDump, (petsclib, handler, sname))) end @for_petsc function PetscLogHandlerDump(petsclib::$UnionPetscLib, handler::PetscLogHandler, sname::String ) @@ -242,7 +242,7 @@ See also: `PetscLogHandler`, `PetscLogEventBegin()`, `PetscLogEventEnd()`, `Pets $(_doc_external("Log/PetscLogHandlerEventBegin")) """ function PetscLogHandlerEventBegin(petsclib::PetscLibType, h::PetscLogHandler, e::PetscLogEvent, o1, o2, o3, o4) - error("PetscLogHandlerEventBegin: no generated method for these argument types") + throw(MethodError(PetscLogHandlerEventBegin, (petsclib, h, e, o1, o2, o3, o4))) end @for_petsc function PetscLogHandlerEventBegin(petsclib::$UnionPetscLib, h::PetscLogHandler, e::PetscLogEvent, o1, o2, o3, o4 ) @@ -277,7 +277,7 @@ See also: `PetscLogHandlerEventDeactivatePush()` $(_doc_external("Log/PetscLogHandlerEventDeactivatePop")) """ function PetscLogHandlerEventDeactivatePop(petsclib::PetscLibType, handler::PetscLogHandler, stage::PetscLogStage, event::PetscLogEvent) - error("PetscLogHandlerEventDeactivatePop: no generated method for these argument types") + throw(MethodError(PetscLogHandlerEventDeactivatePop, (petsclib, handler, stage, event))) end @for_petsc function PetscLogHandlerEventDeactivatePop(petsclib::$UnionPetscLib, handler::PetscLogHandler, stage::PetscLogStage, event::PetscLogEvent ) @@ -312,7 +312,7 @@ See also: `PetscLogHandlerEventDeactivatePop()` $(_doc_external("Log/PetscLogHandlerEventDeactivatePush")) """ function PetscLogHandlerEventDeactivatePush(petsclib::PetscLibType, handler::PetscLogHandler, stage::PetscLogStage, event::PetscLogEvent) - error("PetscLogHandlerEventDeactivatePush: no generated method for these argument types") + throw(MethodError(PetscLogHandlerEventDeactivatePush, (petsclib, handler, stage, event))) end @for_petsc function PetscLogHandlerEventDeactivatePush(petsclib::$UnionPetscLib, handler::PetscLogHandler, stage::PetscLogStage, event::PetscLogEvent ) @@ -350,7 +350,7 @@ See also: `PetscLogHandler`, `PetscLogEventBegin()`, `PetscLogEventEnd()`, `Pets $(_doc_external("Log/PetscLogHandlerEventEnd")) """ function PetscLogHandlerEventEnd(petsclib::PetscLibType, h::PetscLogHandler, e::PetscLogEvent, o1, o2, o3, o4) - error("PetscLogHandlerEventEnd: no generated method for these argument types") + throw(MethodError(PetscLogHandlerEventEnd, (petsclib, h, e, o1, o2, o3, o4))) end @for_petsc function PetscLogHandlerEventEnd(petsclib::$UnionPetscLib, h::PetscLogHandler, e::PetscLogEvent, o1, o2, o3, o4 ) @@ -385,7 +385,7 @@ See also: `PetscLogHandler`, `PetscLogEventBegin()`, `PetscLogEventEnd()`, `Pets $(_doc_external("Log/PetscLogHandlerEventSync")) """ function PetscLogHandlerEventSync(petsclib::PetscLibType, h::PetscLogHandler, e::PetscLogEvent, comm::MPI_Comm) - error("PetscLogHandlerEventSync: no generated method for these argument types") + throw(MethodError(PetscLogHandlerEventSync, (petsclib, h, e, comm))) end @for_petsc function PetscLogHandlerEventSync(petsclib::$UnionPetscLib, h::PetscLogHandler, e::PetscLogEvent, comm::MPI_Comm ) @@ -418,7 +418,7 @@ See also: `PetscLogHandlerEventsResume()` $(_doc_external("Log/PetscLogHandlerEventsPause")) """ function PetscLogHandlerEventsPause(petsclib::PetscLibType, handler::PetscLogHandler) - error("PetscLogHandlerEventsPause: no generated method for these argument types") + throw(MethodError(PetscLogHandlerEventsPause, (petsclib, handler))) end @for_petsc function PetscLogHandlerEventsPause(petsclib::$UnionPetscLib, handler::PetscLogHandler ) @@ -451,7 +451,7 @@ See also: `PetscLogHandlerEventsPause()` $(_doc_external("Log/PetscLogHandlerEventsResume")) """ function PetscLogHandlerEventsResume(petsclib::PetscLibType, handler::PetscLogHandler) - error("PetscLogHandlerEventsResume: no generated method for these argument types") + throw(MethodError(PetscLogHandlerEventsResume, (petsclib, handler))) end @for_petsc function PetscLogHandlerEventsResume(petsclib::$UnionPetscLib, handler::PetscLogHandler ) @@ -491,7 +491,7 @@ See also: `PetscLogEventGetPerfInfo()`, `PETSCLOGHANDLERDEFAULT` $(_doc_external("Log/PetscLogHandlerGetEventPerfInfo")) """ function PetscLogHandlerGetEventPerfInfo(petsclib::PetscLibType, handler::PetscLogHandler, stage::PetscLogStage, event::PetscLogEvent) - error("PetscLogHandlerGetEventPerfInfo: no generated method for these argument types") + throw(MethodError(PetscLogHandlerGetEventPerfInfo, (petsclib, handler, stage, event))) end @for_petsc function PetscLogHandlerGetEventPerfInfo(petsclib::$UnionPetscLib, handler::PetscLogHandler, stage::PetscLogStage, event::PetscLogEvent ) @@ -533,7 +533,7 @@ The default log handler `PETSCLOGHANDLERDEFAULT` implements this function, but o $(_doc_external("Log/PetscLogHandlerGetNumObjects")) """ function PetscLogHandlerGetNumObjects(petsclib::PetscLibType, handler::PetscLogHandler) - error("PetscLogHandlerGetNumObjects: no generated method for these argument types") + throw(MethodError(PetscLogHandlerGetNumObjects, (petsclib, handler))) end @for_petsc function PetscLogHandlerGetNumObjects(petsclib::$UnionPetscLib, handler::PetscLogHandler ) @@ -573,7 +573,7 @@ See also: `PetscLogEventGetPerfInfo()`, `PETSCLOGHANDLERDEFAULT` $(_doc_external("Log/PetscLogHandlerGetStagePerfInfo")) """ function PetscLogHandlerGetStagePerfInfo(petsclib::PetscLibType, handler::PetscLogHandler, stage::PetscLogStage) - error("PetscLogHandlerGetStagePerfInfo: no generated method for these argument types") + throw(MethodError(PetscLogHandlerGetStagePerfInfo, (petsclib, handler, stage))) end @for_petsc function PetscLogHandlerGetStagePerfInfo(petsclib::$UnionPetscLib, handler::PetscLogHandler, stage::PetscLogStage ) @@ -611,7 +611,7 @@ See also: `PetscLogHandler`, `PetscLogState`, `PetscLogEventBegin()`, `PetscLogH $(_doc_external("Log/PetscLogHandlerGetState")) """ function PetscLogHandlerGetState(petsclib::PetscLibType, h::PetscLogHandler) - error("PetscLogHandlerGetState: no generated method for these argument types") + throw(MethodError(PetscLogHandlerGetState, (petsclib, h))) end @for_petsc function PetscLogHandlerGetState(petsclib::$UnionPetscLib, h::PetscLogHandler ) @@ -649,7 +649,7 @@ See also: `PetscLogHandler`, `PetscLogHandlerCreate()`, `PetscLogHandlerRegister $(_doc_external("Log/PetscLogHandlerGetType")) """ function PetscLogHandlerGetType(petsclib::PetscLibType, handler::PetscLogHandler) - error("PetscLogHandlerGetType: no generated method for these argument types") + throw(MethodError(PetscLogHandlerGetType, (petsclib, handler))) end @for_petsc function PetscLogHandlerGetType(petsclib::$UnionPetscLib, handler::PetscLogHandler ) @@ -685,7 +685,7 @@ See also: `PetscLogHandler`, `PetscLogObjectCreate()`, `PetscLogObjectDestroy()` $(_doc_external("Log/PetscLogHandlerObjectCreate")) """ function PetscLogHandlerObjectCreate(petsclib::PetscLibType, h::PetscLogHandler, obj) - error("PetscLogHandlerObjectCreate: no generated method for these argument types") + throw(MethodError(PetscLogHandlerObjectCreate, (petsclib, h, obj))) end @for_petsc function PetscLogHandlerObjectCreate(petsclib::$UnionPetscLib, h::PetscLogHandler, obj ) @@ -719,7 +719,7 @@ See also: `PetscLogHandler`, `PetscLogObjectCreate()`, `PetscLogObjectDestroy()` $(_doc_external("Log/PetscLogHandlerObjectDestroy")) """ function PetscLogHandlerObjectDestroy(petsclib::PetscLibType, h::PetscLogHandler, obj) - error("PetscLogHandlerObjectDestroy: no generated method for these argument types") + throw(MethodError(PetscLogHandlerObjectDestroy, (petsclib, h, obj))) end @for_petsc function PetscLogHandlerObjectDestroy(petsclib::$UnionPetscLib, h::PetscLogHandler, obj ) @@ -751,7 +751,7 @@ See also: `PetscLogHandler`, `PetscLogHandlerCreate()`, `PetscLogHandlerSetType( $(_doc_external("Log/PetscLogHandlerRegister")) """ function PetscLogHandlerRegister(petsclib::PetscLibType, sname::String, fnc::external) - error("PetscLogHandlerRegister: no generated method for these argument types") + throw(MethodError(PetscLogHandlerRegister, (petsclib, sname, fnc))) end @for_petsc function PetscLogHandlerRegister(petsclib::$UnionPetscLib, sname::String, fnc::external ) @@ -785,7 +785,7 @@ See also: `PetscLogSetLogActions()`, `PetscLogStagePush()`, `PetscLogStagePop()` $(_doc_external("Log/PetscLogHandlerSetLogActions")) """ function PetscLogHandlerSetLogActions(petsclib::PetscLibType, handler::PetscLogHandler, flag::PetscBool) - error("PetscLogHandlerSetLogActions: no generated method for these argument types") + throw(MethodError(PetscLogHandlerSetLogActions, (petsclib, handler, flag))) end @for_petsc function PetscLogHandlerSetLogActions(petsclib::$UnionPetscLib, handler::PetscLogHandler, flag::PetscBool ) @@ -819,7 +819,7 @@ See also: `PetscLogSetLogObjects()`, `PetscLogStagePush()`, `PetscLogStagePop()` $(_doc_external("Log/PetscLogHandlerSetLogObjects")) """ function PetscLogHandlerSetLogObjects(petsclib::PetscLibType, handler::PetscLogHandler, flag::PetscBool) - error("PetscLogHandlerSetLogObjects: no generated method for these argument types") + throw(MethodError(PetscLogHandlerSetLogObjects, (petsclib, handler, flag))) end @for_petsc function PetscLogHandlerSetLogObjects(petsclib::$UnionPetscLib, handler::PetscLogHandler, flag::PetscBool ) @@ -853,7 +853,7 @@ See also: `PetscLogHandler`, `PetscLogState`, `PetscLogEventBegin()`, `PetscLogH $(_doc_external("Log/PetscLogHandlerSetState")) """ function PetscLogHandlerSetState(petsclib::PetscLibType, h::PetscLogHandler, state::PetscLogState) - error("PetscLogHandlerSetState: no generated method for these argument types") + throw(MethodError(PetscLogHandlerSetState, (petsclib, h, state))) end @for_petsc function PetscLogHandlerSetState(petsclib::$UnionPetscLib, h::PetscLogHandler, state::PetscLogState ) @@ -885,7 +885,7 @@ See also: `PetscLogHandler`, `PetscLogHandlerCreate()`, `PetscLogHandlerRegister $(_doc_external("Log/PetscLogHandlerSetType")) """ function PetscLogHandlerSetType(petsclib::PetscLibType, handler::PetscLogHandler, name::String) - error("PetscLogHandlerSetType: no generated method for these argument types") + throw(MethodError(PetscLogHandlerSetType, (petsclib, handler, name))) end @for_petsc function PetscLogHandlerSetType(petsclib::$UnionPetscLib, handler::PetscLogHandler, name::String ) @@ -922,7 +922,7 @@ See also: `PetscLogHandlerStageSetVisible()` $(_doc_external("Log/PetscLogHandlerStageGetVisible")) """ function PetscLogHandlerStageGetVisible(petsclib::PetscLibType, handler::PetscLogHandler, stage::PetscLogStage) - error("PetscLogHandlerStageGetVisible: no generated method for these argument types") + throw(MethodError(PetscLogHandlerStageGetVisible, (petsclib, handler, stage))) end @for_petsc function PetscLogHandlerStageGetVisible(petsclib::$UnionPetscLib, handler::PetscLogHandler, stage::PetscLogStage ) @@ -958,7 +958,7 @@ See also: `PetscLogHandler`, `PetscLogStagePush()`, `PetscLogStagePop()`, `Petsc $(_doc_external("Log/PetscLogHandlerStagePop")) """ function PetscLogHandlerStagePop(petsclib::PetscLibType, h::PetscLogHandler, stage::PetscLogStage) - error("PetscLogHandlerStagePop: no generated method for these argument types") + throw(MethodError(PetscLogHandlerStagePop, (petsclib, h, stage))) end @for_petsc function PetscLogHandlerStagePop(petsclib::$UnionPetscLib, h::PetscLogHandler, stage::PetscLogStage ) @@ -992,7 +992,7 @@ See also: `PetscLogHandler`, `PetscLogStagePush()`, `PetscLogStagePop()`, `Petsc $(_doc_external("Log/PetscLogHandlerStagePush")) """ function PetscLogHandlerStagePush(petsclib::PetscLibType, h::PetscLogHandler, stage::PetscLogStage) - error("PetscLogHandlerStagePush: no generated method for these argument types") + throw(MethodError(PetscLogHandlerStagePush, (petsclib, h, stage))) end @for_petsc function PetscLogHandlerStagePush(petsclib::$UnionPetscLib, h::PetscLogHandler, stage::PetscLogStage ) @@ -1027,7 +1027,7 @@ See also: `PetscLogHandlerStageGetVisible()` $(_doc_external("Log/PetscLogHandlerStageSetVisible")) """ function PetscLogHandlerStageSetVisible(petsclib::PetscLibType, handler::PetscLogHandler, stage::PetscLogStage, isVisible::PetscBool) - error("PetscLogHandlerStageSetVisible: no generated method for these argument types") + throw(MethodError(PetscLogHandlerStageSetVisible, (petsclib, handler, stage, isVisible))) end @for_petsc function PetscLogHandlerStageSetVisible(petsclib::$UnionPetscLib, handler::PetscLogHandler, stage::PetscLogStage, isVisible::PetscBool ) @@ -1060,7 +1060,7 @@ See also: `PetscLogHandler`, `PetscLogState`, `PetscLogHandlerStop()`, `PetscIni $(_doc_external("Log/PetscLogHandlerStart")) """ function PetscLogHandlerStart(petsclib::PetscLibType, h::PetscLogHandler) - error("PetscLogHandlerStart: no generated method for these argument types") + throw(MethodError(PetscLogHandlerStart, (petsclib, h))) end @for_petsc function PetscLogHandlerStart(petsclib::$UnionPetscLib, h::PetscLogHandler ) @@ -1093,7 +1093,7 @@ See also: `PetscLogHandler`, `PetscLogState`, `PetscLogHandlerStart()` $(_doc_external("Log/PetscLogHandlerStop")) """ function PetscLogHandlerStop(petsclib::PetscLibType, h::PetscLogHandler) - error("PetscLogHandlerStop: no generated method for these argument types") + throw(MethodError(PetscLogHandlerStop, (petsclib, h))) end @for_petsc function PetscLogHandlerStop(petsclib::$UnionPetscLib, h::PetscLogHandler ) @@ -1127,7 +1127,7 @@ See also: `PetscLogHandler`, `PetscLogView()` $(_doc_external("Log/PetscLogHandlerView")) """ function PetscLogHandlerView(petsclib::PetscLibType, h::PetscLogHandler, viewer::PetscViewer) - error("PetscLogHandlerView: no generated method for these argument types") + throw(MethodError(PetscLogHandlerView, (petsclib, h, viewer))) end @for_petsc function PetscLogHandlerView(petsclib::$UnionPetscLib, h::PetscLogHandler, viewer::PetscViewer ) @@ -1164,7 +1164,7 @@ See also: `PetscLogState`, `PetscLogStateClassRegister()`, `PetscLogStateGetClas $(_doc_external("Log/PetscLogStateClassGetInfo")) """ function PetscLogStateClassGetInfo(petsclib::PetscLibType, state::PetscLogState, clss::PetscLogClass) - error("PetscLogStateClassGetInfo: no generated method for these argument types") + throw(MethodError(PetscLogStateClassGetInfo, (petsclib, state, clss))) end @for_petsc function PetscLogStateClassGetInfo(petsclib::$UnionPetscLib, state::PetscLogState, clss::PetscLogClass ) @@ -1204,7 +1204,7 @@ See also: `PetscLogStateClassGetInfo()`, `PetscLogStateGetClassFromName()`, `Pet $(_doc_external("Log/PetscLogStateClassRegister")) """ function PetscLogStateClassRegister(petsclib::PetscLibType, state::PetscLogState, name::String, id::PetscClassId) - error("PetscLogStateClassRegister: no generated method for these argument types") + throw(MethodError(PetscLogStateClassRegister, (petsclib, state, name, id))) end @for_petsc function PetscLogStateClassRegister(petsclib::$UnionPetscLib, state::PetscLogState, name::String, id::PetscClassId ) @@ -1245,7 +1245,7 @@ See also: `PetscLogState`, `PetscLogEventGetActive()`, `PetscLogStateEventSetAct $(_doc_external("Log/PetscLogStateClassSetActive")) """ function PetscLogStateClassSetActive(petsclib::PetscLibType, state::PetscLogState, stage::PetscLogStage, classid::PetscClassId, isActive::PetscBool) - error("PetscLogStateClassSetActive: no generated method for these argument types") + throw(MethodError(PetscLogStateClassSetActive, (petsclib, state, stage, classid, isActive))) end @for_petsc function PetscLogStateClassSetActive(petsclib::$UnionPetscLib, state::PetscLogState, stage::PetscLogStage, classid::PetscClassId, isActive::PetscBool ) @@ -1282,7 +1282,7 @@ See also: `PetscLogState`, `PetscLogEventGetActive()`, `PetscLogStateClassSetAct $(_doc_external("Log/PetscLogStateClassSetActiveAll")) """ function PetscLogStateClassSetActiveAll(petsclib::PetscLibType, state::PetscLogState, classid::PetscClassId, isActive::PetscBool) - error("PetscLogStateClassSetActiveAll: no generated method for these argument types") + throw(MethodError(PetscLogStateClassSetActiveAll, (petsclib, state, classid, isActive))) end @for_petsc function PetscLogStateClassSetActiveAll(petsclib::$UnionPetscLib, state::PetscLogState, classid::PetscClassId, isActive::PetscBool ) @@ -1315,7 +1315,7 @@ See also: `PetscLogState`, `PetscLogStateDestroy()` $(_doc_external("Log/PetscLogStateCreate")) """ function PetscLogStateCreate(petsclib::PetscLibType) - error("PetscLogStateCreate: no generated method for these argument types") + throw(MethodError(PetscLogStateCreate, (petsclib, ))) end @for_petsc function PetscLogStateCreate(petsclib::$UnionPetscLib) @@ -1350,7 +1350,7 @@ See also: `PetscLogState`, `PetscLogStateCreate()` $(_doc_external("Log/PetscLogStateDestroy")) """ function PetscLogStateDestroy(petsclib::PetscLibType, state::Union{PetscLogState, Ref{PetscLogState}}) - error("PetscLogStateDestroy: no generated method for these argument types") + throw(MethodError(PetscLogStateDestroy, (petsclib, state))) end @for_petsc function PetscLogStateDestroy(petsclib::$UnionPetscLib, state::Union{PetscLogState, Ref{PetscLogState}} ) @@ -1389,7 +1389,7 @@ See also: `PetscLogState`, `PetscLogEventGetActive()`, `PetscLogStateGetCurrentS $(_doc_external("Log/PetscLogStateEventGetActive")) """ function PetscLogStateEventGetActive(petsclib::PetscLibType, state::PetscLogState, stage::PetscLogStage, event::PetscLogEvent) - error("PetscLogStateEventGetActive: no generated method for these argument types") + throw(MethodError(PetscLogStateEventGetActive, (petsclib, state, stage, event))) end @for_petsc function PetscLogStateEventGetActive(petsclib::$UnionPetscLib, state::PetscLogState, stage::PetscLogStage, event::PetscLogEvent ) @@ -1428,7 +1428,7 @@ See also: `PetscLogState`, `PetscLogStateEventRegister()`, `PetscLogStateGetEven $(_doc_external("Log/PetscLogStateEventGetInfo")) """ function PetscLogStateEventGetInfo(petsclib::PetscLibType, state::PetscLogState, event::PetscLogEvent) - error("PetscLogStateEventGetInfo: no generated method for these argument types") + throw(MethodError(PetscLogStateEventGetInfo, (petsclib, state, event))) end @for_petsc function PetscLogStateEventGetInfo(petsclib::$UnionPetscLib, state::PetscLogState, event::PetscLogEvent ) @@ -1468,7 +1468,7 @@ See also: `PetscLogState`, `PetscLogStageRegister()` $(_doc_external("Log/PetscLogStateEventRegister")) """ function PetscLogStateEventRegister(petsclib::PetscLibType, state::PetscLogState, sname::String, id::PetscClassId) - error("PetscLogStateEventRegister: no generated method for these argument types") + throw(MethodError(PetscLogStateEventRegister, (petsclib, state, sname, id))) end @for_petsc function PetscLogStateEventRegister(petsclib::$UnionPetscLib, state::PetscLogState, sname::String, id::PetscClassId ) @@ -1506,7 +1506,7 @@ See also: `PetscLogState`, `PetscLogEventGetActive()`, `PetscLogStateGetCurrentS $(_doc_external("Log/PetscLogStateEventSetActive")) """ function PetscLogStateEventSetActive(petsclib::PetscLibType, state::PetscLogState, stage::PetscLogStage, event::PetscLogEvent, isActive::PetscBool) - error("PetscLogStateEventSetActive: no generated method for these argument types") + throw(MethodError(PetscLogStateEventSetActive, (petsclib, state, stage, event, isActive))) end @for_petsc function PetscLogStateEventSetActive(petsclib::$UnionPetscLib, state::PetscLogState, stage::PetscLogStage, event::PetscLogEvent, isActive::PetscBool ) @@ -1541,7 +1541,7 @@ See also: `PetscLogState`, `PetscLogEventGetActive()` $(_doc_external("Log/PetscLogStateEventSetActiveAll")) """ function PetscLogStateEventSetActiveAll(petsclib::PetscLibType, state::PetscLogState, event::PetscLogEvent, isActive::PetscBool) - error("PetscLogStateEventSetActiveAll: no generated method for these argument types") + throw(MethodError(PetscLogStateEventSetActiveAll, (petsclib, state, event, isActive))) end @for_petsc function PetscLogStateEventSetActiveAll(petsclib::$UnionPetscLib, state::PetscLogState, event::PetscLogEvent, isActive::PetscBool ) @@ -1576,7 +1576,7 @@ See also: `PetscLogState`, `PetscLogEventRegister()` $(_doc_external("Log/PetscLogStateEventSetCollective")) """ function PetscLogStateEventSetCollective(petsclib::PetscLibType, state::PetscLogState, event::PetscLogEvent, collective::PetscBool) - error("PetscLogStateEventSetCollective: no generated method for these argument types") + throw(MethodError(PetscLogStateEventSetCollective, (petsclib, state, event, collective))) end @for_petsc function PetscLogStateEventSetCollective(petsclib::$UnionPetscLib, state::PetscLogState, event::PetscLogEvent, collective::PetscBool ) @@ -1613,7 +1613,7 @@ See also: `PetscLogState`, `PetscLogStateClassRegister()`, `PetscLogStateClassGe $(_doc_external("Log/PetscLogStateGetClassFromClassId")) """ function PetscLogStateGetClassFromClassId(petsclib::PetscLibType, state::PetscLogState, classid::PetscClassId) - error("PetscLogStateGetClassFromClassId: no generated method for these argument types") + throw(MethodError(PetscLogStateGetClassFromClassId, (petsclib, state, classid))) end @for_petsc function PetscLogStateGetClassFromClassId(petsclib::$UnionPetscLib, state::PetscLogState, classid::PetscClassId ) @@ -1652,7 +1652,7 @@ See also: `PetscLogState`, `PetscLogStateClassRegister()`, `PetscLogStateClassGe $(_doc_external("Log/PetscLogStateGetClassFromName")) """ function PetscLogStateGetClassFromName(petsclib::PetscLibType, state::PetscLogState, name::String) - error("PetscLogStateGetClassFromName: no generated method for these argument types") + throw(MethodError(PetscLogStateGetClassFromName, (petsclib, state, name))) end @for_petsc function PetscLogStateGetClassFromName(petsclib::$UnionPetscLib, state::PetscLogState, name::String ) @@ -1690,7 +1690,7 @@ See also: `PetscLogState`, `PetscLogStateStageRegister()`, `PetscLogStateStagePu $(_doc_external("Log/PetscLogStateGetCurrentStage")) """ function PetscLogStateGetCurrentStage(petsclib::PetscLibType, state::PetscLogState) - error("PetscLogStateGetCurrentStage: no generated method for these argument types") + throw(MethodError(PetscLogStateGetCurrentStage, (petsclib, state))) end @for_petsc function PetscLogStateGetCurrentStage(petsclib::$UnionPetscLib, state::PetscLogState ) @@ -1729,7 +1729,7 @@ See also: `PetscLogState`, `PetscLogStateEventRegister()`, `PetscLogStateEventGe $(_doc_external("Log/PetscLogStateGetEventFromName")) """ function PetscLogStateGetEventFromName(petsclib::PetscLibType, state::PetscLogState, name::String) - error("PetscLogStateGetEventFromName: no generated method for these argument types") + throw(MethodError(PetscLogStateGetEventFromName, (petsclib, state, name))) end @for_petsc function PetscLogStateGetEventFromName(petsclib::$UnionPetscLib, state::PetscLogState, name::String ) @@ -1767,7 +1767,7 @@ See also: `PetscLogState`, `PetscLogStateClassRegister()` $(_doc_external("Log/PetscLogStateGetNumClasses")) """ function PetscLogStateGetNumClasses(petsclib::PetscLibType, state::PetscLogState) - error("PetscLogStateGetNumClasses: no generated method for these argument types") + throw(MethodError(PetscLogStateGetNumClasses, (petsclib, state))) end @for_petsc function PetscLogStateGetNumClasses(petsclib::$UnionPetscLib, state::PetscLogState ) @@ -1805,7 +1805,7 @@ See also: `PetscLogState`, `PetscLogStateEventRegister()` $(_doc_external("Log/PetscLogStateGetNumEvents")) """ function PetscLogStateGetNumEvents(petsclib::PetscLibType, state::PetscLogState) - error("PetscLogStateGetNumEvents: no generated method for these argument types") + throw(MethodError(PetscLogStateGetNumEvents, (petsclib, state))) end @for_petsc function PetscLogStateGetNumEvents(petsclib::$UnionPetscLib, state::PetscLogState ) @@ -1843,7 +1843,7 @@ See also: `PetscLogState`, `PetscLogStateStageRegister()` $(_doc_external("Log/PetscLogStateGetNumStages")) """ function PetscLogStateGetNumStages(petsclib::PetscLibType, state::PetscLogState) - error("PetscLogStateGetNumStages: no generated method for these argument types") + throw(MethodError(PetscLogStateGetNumStages, (petsclib, state))) end @for_petsc function PetscLogStateGetNumStages(petsclib::$UnionPetscLib, state::PetscLogState ) @@ -1882,7 +1882,7 @@ See also: `PetscLogState`, `PetscLogStateStageRegister()`, `PetscLogStateStageGe $(_doc_external("Log/PetscLogStateGetStageFromName")) """ function PetscLogStateGetStageFromName(petsclib::PetscLibType, state::PetscLogState, name::String) - error("PetscLogStateGetStageFromName: no generated method for these argument types") + throw(MethodError(PetscLogStateGetStageFromName, (petsclib, state, name))) end @for_petsc function PetscLogStateGetStageFromName(petsclib::$UnionPetscLib, state::PetscLogState, name::String ) @@ -1921,7 +1921,7 @@ See also: `PetscLogState`, `PetscLogStageSetActive()`, `PetscLogHandler`, `Petsc $(_doc_external("Log/PetscLogStateStageGetActive")) """ function PetscLogStateStageGetActive(petsclib::PetscLibType, state::PetscLogState, stage::PetscLogStage) - error("PetscLogStateStageGetActive: no generated method for these argument types") + throw(MethodError(PetscLogStateStageGetActive, (petsclib, state, stage))) end @for_petsc function PetscLogStateStageGetActive(petsclib::$UnionPetscLib, state::PetscLogState, stage::PetscLogStage ) @@ -1960,7 +1960,7 @@ See also: `PetscLogState`, `PetscLogStateStageRegister()`, `PetscLogStateGetStag $(_doc_external("Log/PetscLogStateStageGetInfo")) """ function PetscLogStateStageGetInfo(petsclib::PetscLibType, state::PetscLogState, stage::PetscLogStage) - error("PetscLogStateStageGetInfo: no generated method for these argument types") + throw(MethodError(PetscLogStateStageGetInfo, (petsclib, state, stage))) end @for_petsc function PetscLogStateStageGetInfo(petsclib::$UnionPetscLib, state::PetscLogState, stage::PetscLogStage ) @@ -1995,7 +1995,7 @@ See also: `PetscLogState`, `PetscLogStateStageRegister()`, `PetscLogStateStagePu $(_doc_external("Log/PetscLogStateStagePop")) """ function PetscLogStateStagePop(petsclib::PetscLibType, state::PetscLogState) - error("PetscLogStateStagePop: no generated method for these argument types") + throw(MethodError(PetscLogStateStagePop, (petsclib, state))) end @for_petsc function PetscLogStateStagePop(petsclib::$UnionPetscLib, state::PetscLogState ) @@ -2029,7 +2029,7 @@ See also: `PetscLogState`, `PetscLogStateStageRegister()`, `PetscLogStateStagePo $(_doc_external("Log/PetscLogStateStagePush")) """ function PetscLogStateStagePush(petsclib::PetscLibType, state::PetscLogState, stage::PetscLogStage) - error("PetscLogStateStagePush: no generated method for these argument types") + throw(MethodError(PetscLogStateStagePush, (petsclib, state, stage))) end @for_petsc function PetscLogStateStagePush(petsclib::$UnionPetscLib, state::PetscLogState, stage::PetscLogStage ) @@ -2066,7 +2066,7 @@ See also: `PetscLogState`, `PetscLogStateStagePush()`, `PetscLogStateStagePop()` $(_doc_external("Log/PetscLogStateStageRegister")) """ function PetscLogStateStageRegister(petsclib::PetscLibType, state::PetscLogState, sname::String) - error("PetscLogStateStageRegister: no generated method for these argument types") + throw(MethodError(PetscLogStateStageRegister, (petsclib, state, sname))) end @for_petsc function PetscLogStateStageRegister(petsclib::$UnionPetscLib, state::PetscLogState, sname::String ) @@ -2103,7 +2103,7 @@ See also: `PetscLogState`, `PetscLogStateEventSetActive()` $(_doc_external("Log/PetscLogStateStageSetActive")) """ function PetscLogStateStageSetActive(petsclib::PetscLibType, state::PetscLogState, stage::PetscLogStage, isActive::PetscBool) - error("PetscLogStateStageSetActive: no generated method for these argument types") + throw(MethodError(PetscLogStateStageSetActive, (petsclib, state, stage, isActive))) end @for_petsc function PetscLogStateStageSetActive(petsclib::$UnionPetscLib, state::PetscLogState, stage::PetscLogStage, isActive::PetscBool ) diff --git a/src/autowrapped/PetscMatlabEngine_wrappers.jl b/src/autowrapped/PetscMatlabEngine_wrappers.jl index 60d1bca88..38ed8919b 100644 --- a/src/autowrapped/PetscMatlabEngine_wrappers.jl +++ b/src/autowrapped/PetscMatlabEngine_wrappers.jl @@ -26,7 +26,7 @@ See also: `PetscMatlabEngineDestroy()`, `PetscMatlabEnginePut()`, `PetscMatlabEn $(_doc_external("Matlab/PetscMatlabEngineCreate")) """ function PetscMatlabEngineCreate(petsclib::PetscLibType, comm::MPI_Comm, host::String) - error("PetscMatlabEngineCreate: no generated method for these argument types") + throw(MethodError(PetscMatlabEngineCreate, (petsclib, comm, host))) end @for_petsc function PetscMatlabEngineCreate(petsclib::$UnionPetscLib, comm::MPI_Comm, host::String ) @@ -63,7 +63,7 @@ See also: `PetscMatlabEngineCreate()`, `PetscMatlabEnginePut()`, `PetscMatlabEng $(_doc_external("Matlab/PetscMatlabEngineDestroy")) """ function PetscMatlabEngineDestroy(petsclib::PetscLibType, v::Union{PetscMatlabEngine, Ref{PetscMatlabEngine}}) - error("PetscMatlabEngineDestroy: no generated method for these argument types") + throw(MethodError(PetscMatlabEngineDestroy, (petsclib, v))) end @for_petsc function PetscMatlabEngineDestroy(petsclib::$UnionPetscLib, v::Union{PetscMatlabEngine, Ref{PetscMatlabEngine}} ) @@ -100,7 +100,7 @@ See also: `PetscMatlabEngineDestroy()`, `PetscMatlabEnginePut()`, `PetscMatlabEn $(_doc_external("Matlab/PetscMatlabEngineGet")) """ function PetscMatlabEngineGet(petsclib::PetscLibType, mengine::PetscMatlabEngine, obj) - error("PetscMatlabEngineGet: no generated method for these argument types") + throw(MethodError(PetscMatlabEngineGet, (petsclib, mengine, obj))) end @for_petsc function PetscMatlabEngineGet(petsclib::$UnionPetscLib, mengine::PetscMatlabEngine, obj ) @@ -139,7 +139,7 @@ See also: `PetscMatlabEngineDestroy()`, `PetscMatlabEnginePut()`, `PetscMatlabEn $(_doc_external("Matlab/PetscMatlabEngineGetArray")) """ function PetscMatlabEngineGetArray(petsclib::PetscLibType, mengine::PetscMatlabEngine, m::Cint, n::Cint, array::AbstractVector{<:Number}, name::String) - error("PetscMatlabEngineGetArray: no generated method for these argument types") + throw(MethodError(PetscMatlabEngineGetArray, (petsclib, mengine, m, n, array, name))) end @for_petsc function PetscMatlabEngineGetArray(petsclib::$UnionPetscLib, mengine::PetscMatlabEngine, m::Cint, n::Cint, array::Vector{$PetscScalar}, name::String ) @@ -178,7 +178,7 @@ See also: `PetscMatlabEngineDestroy()`, `PetscMatlabEnginePut()`, `PetscMatlabEn $(_doc_external("Matlab/PetscMatlabEngineGetOutput")) """ function PetscMatlabEngineGetOutput(petsclib::PetscLibType, mengine::PetscMatlabEngine) - error("PetscMatlabEngineGetOutput: no generated method for these argument types") + throw(MethodError(PetscMatlabEngineGetOutput, (petsclib, mengine))) end @for_petsc function PetscMatlabEngineGetOutput(petsclib::$UnionPetscLib, mengine::PetscMatlabEngine ) @@ -216,7 +216,7 @@ See also: `PetscMatlabEngineDestroy()`, `PetscMatlabEnginePut()`, `PetscMatlabEn $(_doc_external("Matlab/PetscMatlabEnginePrintOutput")) """ function PetscMatlabEnginePrintOutput(petsclib::PetscLibType, mengine::PetscMatlabEngine, fd::Libc.FILE) - error("PetscMatlabEnginePrintOutput: no generated method for these argument types") + throw(MethodError(PetscMatlabEnginePrintOutput, (petsclib, mengine, fd))) end @for_petsc function PetscMatlabEnginePrintOutput(petsclib::$UnionPetscLib, mengine::PetscMatlabEngine, fd::Libc.FILE ) @@ -253,7 +253,7 @@ See also: `PetscMatlabEngineDestroy()`, `PetscMatlabEngineCreate()`, `PetscMatla $(_doc_external("Matlab/PetscMatlabEnginePut")) """ function PetscMatlabEnginePut(petsclib::PetscLibType, mengine::PetscMatlabEngine, obj) - error("PetscMatlabEnginePut: no generated method for these argument types") + throw(MethodError(PetscMatlabEnginePut, (petsclib, mengine, obj))) end @for_petsc function PetscMatlabEnginePut(petsclib::$UnionPetscLib, mengine::PetscMatlabEngine, obj ) @@ -293,7 +293,7 @@ See also: `PetscMatlabEngineDestroy()`, `PetscMatlabEngineCreate()`, `PetscMatla $(_doc_external("Matlab/PetscMatlabEnginePutArray")) """ function PetscMatlabEnginePutArray(petsclib::PetscLibType, mengine::PetscMatlabEngine, m::Cint, n::Cint, array::AbstractVector{<:Number}, name::String) - error("PetscMatlabEnginePutArray: no generated method for these argument types") + throw(MethodError(PetscMatlabEnginePutArray, (petsclib, mengine, m, n, array, name))) end @for_petsc function PetscMatlabEnginePutArray(petsclib::$UnionPetscLib, mengine::PetscMatlabEngine, m::Cint, n::Cint, array::Vector{$PetscScalar}, name::String ) diff --git a/src/autowrapped/PetscObject_wrappers.jl b/src/autowrapped/PetscObject_wrappers.jl index cb18a7733..19dc22ff6 100644 --- a/src/autowrapped/PetscObject_wrappers.jl +++ b/src/autowrapped/PetscObject_wrappers.jl @@ -28,7 +28,7 @@ See also: `KSPSetFromOptions()`, `PCSetFromOptions()`, `SNESSetFromOptions()`, ` $(_doc_external("Sys/PetscObjectAddOptionsHandler")) """ function PetscObjectAddOptionsHandler(petsclib::PetscLibType, obj, handle::external, destroy::external, ctx::Ptr{Cvoid}) - error("PetscObjectAddOptionsHandler: no generated method for these argument types") + throw(MethodError(PetscObjectAddOptionsHandler, (petsclib, obj, handle, destroy, ctx))) end @for_petsc function PetscObjectAddOptionsHandler(petsclib::$UnionPetscLib, obj, handle::external, destroy::external, ctx::Ptr{Cvoid} ) @@ -61,7 +61,7 @@ See also: `PetscOptionsCreate()`, `PetscOptionsDestroy()`, `PetscObjectSetOption $(_doc_external("Sys/PetscObjectAppendOptionsPrefix")) """ function PetscObjectAppendOptionsPrefix(petsclib::PetscLibType, obj, prefix::String) - error("PetscObjectAppendOptionsPrefix: no generated method for these argument types") + throw(MethodError(PetscObjectAppendOptionsPrefix, (petsclib, obj, prefix))) end @for_petsc function PetscObjectAppendOptionsPrefix(petsclib::$UnionPetscLib, obj, prefix::String ) @@ -98,7 +98,7 @@ See also: `PetscObject`, `PetscObjectTypeCompare()`, `PetscObjectTypeCompareAny( $(_doc_external("Sys/PetscObjectBaseTypeCompare")) """ function PetscObjectBaseTypeCompare(petsclib::PetscLibType, obj, type_name::String) - error("PetscObjectBaseTypeCompare: no generated method for these argument types") + throw(MethodError(PetscObjectBaseTypeCompare, (petsclib, obj, type_name))) end @for_petsc function PetscObjectBaseTypeCompare(petsclib::$UnionPetscLib, obj, type_name::String ) @@ -134,7 +134,7 @@ See also: `PetscObject`, `PetscObjectGetType()`, `PetscObjectSetName()` $(_doc_external("Sys/PetscObjectChangeTypeName")) """ function PetscObjectChangeTypeName(petsclib::PetscLibType, obj, type_name::String) - error("PetscObjectChangeTypeName: no generated method for these argument types") + throw(MethodError(PetscObjectChangeTypeName, (petsclib, obj, type_name))) end @for_petsc function PetscObjectChangeTypeName(petsclib::$UnionPetscLib, obj, type_name::String ) @@ -171,7 +171,7 @@ See also: `PetscObjectStateGet()`, `PetscObjectGetId()` $(_doc_external("Sys/PetscObjectCompareId")) """ function PetscObjectCompareId(petsclib::PetscLibType, obj, id::PetscObjectId) - error("PetscObjectCompareId: no generated method for these argument types") + throw(MethodError(PetscObjectCompareId, (petsclib, obj, id))) end @for_petsc function PetscObjectCompareId(petsclib::$UnionPetscLib, obj, id::PetscObjectId ) @@ -211,7 +211,7 @@ See also: `PetscObjectQuery()`, `PetscContainerCreate()`, `PetscObjectComposeFun $(_doc_external("Sys/PetscObjectCompose")) """ function PetscObjectCompose(petsclib::PetscLibType, obj, name::String, ptr) - error("PetscObjectCompose: no generated method for these argument types") + throw(MethodError(PetscObjectCompose, (petsclib, obj, name, ptr))) end @for_petsc function PetscObjectCompose(petsclib::$UnionPetscLib, obj, name::String, ptr ) @@ -248,7 +248,7 @@ See also: `PetscContainerCreate()`, `PetscContainerDestroy()`, `PetscContainerSe $(_doc_external("Sys/PetscObjectContainerCompose")) """ function PetscObjectContainerCompose(petsclib::PetscLibType, obj, name::String, pointer::Ptr{Cvoid}, destroy::Ptr{Cvoid}) - error("PetscObjectContainerCompose: no generated method for these argument types") + throw(MethodError(PetscObjectContainerCompose, (petsclib, obj, name, pointer, destroy))) end @for_petsc function PetscObjectContainerCompose(petsclib::$UnionPetscLib, obj, name::String, pointer::Ptr{Cvoid}, destroy::Ptr{Cvoid} ) @@ -286,7 +286,7 @@ See also: `PetscContainerCreate()`, `PetscContainerDestroy()`, `PetscContainerSe $(_doc_external("Sys/PetscObjectContainerQuery")) """ function PetscObjectContainerQuery(petsclib::PetscLibType, obj, name::String) - error("PetscObjectContainerQuery: no generated method for these argument types") + throw(MethodError(PetscObjectContainerQuery, (petsclib, obj, name))) end @for_petsc function PetscObjectContainerQuery(petsclib::$UnionPetscLib, obj, name::String ) @@ -324,7 +324,7 @@ See also: `PetscObjectCompose()`, `PetscObjectReference()`, `PetscObjectDestroy( $(_doc_external("Sys/PetscObjectDereference")) """ function PetscObjectDereference(petsclib::PetscLibType, obj) - error("PetscObjectDereference: no generated method for these argument types") + throw(MethodError(PetscObjectDereference, (petsclib, obj))) end @for_petsc function PetscObjectDereference(petsclib::$UnionPetscLib, obj ) @@ -358,7 +358,7 @@ See also: `PetscObject` $(_doc_external("Sys/PetscObjectDestroy")) """ function PetscObjectDestroy(petsclib::PetscLibType, obj::Union{PetscObject, Ref{PetscObject}}) - error("PetscObjectDestroy: no generated method for these argument types") + throw(MethodError(PetscObjectDestroy, (petsclib, obj))) end @for_petsc function PetscObjectDestroy(petsclib::$UnionPetscLib, obj::Union{PetscObject, Ref{PetscObject}} ) @@ -393,7 +393,7 @@ See also: `KSPSetFromOptions()`, `PCSetFromOptions()`, `SNESSetFromOptions()`, ` $(_doc_external("Sys/PetscObjectDestroyOptionsHandlers")) """ function PetscObjectDestroyOptionsHandlers(petsclib::PetscLibType, obj) - error("PetscObjectDestroyOptionsHandlers: no generated method for these argument types") + throw(MethodError(PetscObjectDestroyOptionsHandlers, (petsclib, obj))) end @for_petsc function PetscObjectDestroyOptionsHandlers(petsclib::$UnionPetscLib, obj ) @@ -430,7 +430,7 @@ See also: `PetscObject`, `PetscClassId`, `PetscObjectGetClassName()`, `PetscObje $(_doc_external("Sys/PetscObjectGetClassId")) """ function PetscObjectGetClassId(petsclib::PetscLibType, obj) - error("PetscObjectGetClassId: no generated method for these argument types") + throw(MethodError(PetscObjectGetClassId, (petsclib, obj))) end @for_petsc function PetscObjectGetClassId(petsclib::$UnionPetscLib, obj ) @@ -469,7 +469,7 @@ See also: `PetscObject`, `PetscClassId`, `PetscObjectGetType()`, `PetscObjectGet $(_doc_external("Sys/PetscObjectGetClassName")) """ function PetscObjectGetClassName(petsclib::PetscLibType, obj) - error("PetscObjectGetClassName: no generated method for these argument types") + throw(MethodError(PetscObjectGetClassName, (petsclib, obj))) end @for_petsc function PetscObjectGetClassName(petsclib::$UnionPetscLib, obj ) @@ -508,7 +508,7 @@ See also: `PetscObject`, `PetscObjectComm()` $(_doc_external("Sys/PetscObjectGetComm")) """ function PetscObjectGetComm(petsclib::PetscLibType, obj) - error("PetscObjectGetComm: no generated method for these argument types") + throw(MethodError(PetscObjectGetComm, (petsclib, obj))) end @for_petsc function PetscObjectGetComm(petsclib::$UnionPetscLib, obj ) @@ -546,7 +546,7 @@ See also: `PetscObjectStateGet()`, `PetscObjectCompareId()` $(_doc_external("Sys/PetscObjectGetId")) """ function PetscObjectGetId(petsclib::PetscLibType, obj) - error("PetscObjectGetId: no generated method for these argument types") + throw(MethodError(PetscObjectGetId, (petsclib, obj))) end @for_petsc function PetscObjectGetId(petsclib::$UnionPetscLib, obj ) @@ -583,7 +583,7 @@ See also: `PetscObjectSetName()`, `PetscObjectName()`, `PetscObject`, `PetscObje $(_doc_external("Sys/PetscObjectGetName")) """ function PetscObjectGetName(petsclib::PetscLibType, obj) - error("PetscObjectGetName: no generated method for these argument types") + throw(MethodError(PetscObjectGetName, (petsclib, obj))) end @for_petsc function PetscObjectGetName(petsclib::$UnionPetscLib, obj ) @@ -625,7 +625,7 @@ See also: `PetscCommGetNewTag()` $(_doc_external("Sys/PetscObjectGetNewTag")) """ function PetscObjectGetNewTag(petsclib::PetscLibType, obj) - error("PetscObjectGetNewTag: no generated method for these argument types") + throw(MethodError(PetscObjectGetNewTag, (petsclib, obj))) end @for_petsc function PetscObjectGetNewTag(petsclib::$UnionPetscLib, obj ) @@ -664,7 +664,7 @@ See also: `PetscOptionsCreate()`, `PetscOptionsDestroy()`, `PetscObjectSetOption $(_doc_external("Sys/PetscObjectGetOptions")) """ function PetscObjectGetOptions(petsclib::PetscLibType, obj) - error("PetscObjectGetOptions: no generated method for these argument types") + throw(MethodError(PetscObjectGetOptions, (petsclib, obj))) end @for_petsc function PetscObjectGetOptions(petsclib::$UnionPetscLib, obj ) @@ -701,7 +701,7 @@ See also: `PetscOptionsCreate()`, `PetscOptionsDestroy()`, `PetscObjectSetOption $(_doc_external("Sys/PetscObjectGetOptionsPrefix")) """ function PetscObjectGetOptionsPrefix(petsclib::PetscLibType, obj) - error("PetscObjectGetOptionsPrefix: no generated method for these argument types") + throw(MethodError(PetscObjectGetOptionsPrefix, (petsclib, obj))) end @for_petsc function PetscObjectGetOptionsPrefix(petsclib::$UnionPetscLib, obj ) @@ -740,7 +740,7 @@ See also: `PetscObjectCompose()`, `PetscObjectDereference()`, `PetscObjectRefere $(_doc_external("Sys/PetscObjectGetReference")) """ function PetscObjectGetReference(petsclib::PetscLibType, obj) - error("PetscObjectGetReference: no generated method for these argument types") + throw(MethodError(PetscObjectGetReference, (petsclib, obj))) end @for_petsc function PetscObjectGetReference(petsclib::$UnionPetscLib, obj ) @@ -779,7 +779,7 @@ See also: `PetscObjectIncrementTabLevel()`, `PetscObjectSetTabLevel()`, `PETSCVI $(_doc_external("Sys/PetscObjectGetTabLevel")) """ function PetscObjectGetTabLevel(petsclib::PetscLibType, obj) - error("PetscObjectGetTabLevel: no generated method for these argument types") + throw(MethodError(PetscObjectGetTabLevel, (petsclib, obj))) end @for_petsc function PetscObjectGetTabLevel(petsclib::$UnionPetscLib, obj ) @@ -818,7 +818,7 @@ See also: `PetscObject`, `PetscClassId`, `PetscObjectGetClassName()`, `PetscObje $(_doc_external("Sys/PetscObjectGetType")) """ function PetscObjectGetType(petsclib::PetscLibType, obj) - error("PetscObjectGetType: no generated method for these argument types") + throw(MethodError(PetscObjectGetType, (petsclib, obj))) end @for_petsc function PetscObjectGetType(petsclib::$UnionPetscLib, obj ) @@ -857,7 +857,7 @@ See also: `PetscObject`, `PetscObjectComposeFunction()`, `PetscObjectQueryFuncti $(_doc_external("Sys/PetscObjectHasFunction")) """ function PetscObjectHasFunction(petsclib::PetscLibType, obj, name::String) - error("PetscObjectHasFunction: no generated method for these argument types") + throw(MethodError(PetscObjectHasFunction, (petsclib, obj, name))) end @for_petsc function PetscObjectHasFunction(petsclib::$UnionPetscLib, obj, name::String ) @@ -895,7 +895,7 @@ See also: `PETSCVIEWERASCII`, `PetscObjectSetTabLevel()`, `PetscObjectGetTabLeve $(_doc_external("Sys/PetscObjectIncrementTabLevel")) """ function PetscObjectIncrementTabLevel(petsclib::PetscLibType, obj, oldobj, tab::Integer) - error("PetscObjectIncrementTabLevel: no generated method for these argument types") + throw(MethodError(PetscObjectIncrementTabLevel, (petsclib, obj, oldobj, tab))) end @for_petsc function PetscObjectIncrementTabLevel(petsclib::$UnionPetscLib, obj, oldobj, tab::$PetscInt ) @@ -927,7 +927,7 @@ See also: `PetscOptionsInsert()`, `PetscObjectSetPrintedOptions()`, `PetscObject $(_doc_external("Sys/PetscObjectInheritPrintedOptions")) """ function PetscObjectInheritPrintedOptions(petsclib::PetscLibType, pobj, obj) - error("PetscObjectInheritPrintedOptions: no generated method for these argument types") + throw(MethodError(PetscObjectInheritPrintedOptions, (petsclib, pobj, obj))) end @for_petsc function PetscObjectInheritPrintedOptions(petsclib::$UnionPetscLib, pobj, obj ) @@ -960,7 +960,7 @@ See also: `PetscObjectGetName()`, `PetscObjectSetName()` $(_doc_external("Sys/PetscObjectName")) """ function PetscObjectName(petsclib::PetscLibType, obj) - error("PetscObjectName: no generated method for these argument types") + throw(MethodError(PetscObjectName, (petsclib, obj))) end @for_petsc function PetscObjectName(petsclib::$UnionPetscLib, obj ) @@ -997,7 +997,7 @@ See also: `PetscObjectTypeCompare()`, `VecGetType()`, `KSPGetType()`, `PCGetType $(_doc_external("Sys/PetscObjectObjectTypeCompare")) """ function PetscObjectObjectTypeCompare(petsclib::PetscLibType, obj1, obj2) - error("PetscObjectObjectTypeCompare: no generated method for these argument types") + throw(MethodError(PetscObjectObjectTypeCompare, (petsclib, obj1, obj2))) end @for_petsc function PetscObjectObjectTypeCompare(petsclib::$UnionPetscLib, obj1, obj2 ) @@ -1032,7 +1032,7 @@ See also: `PetscOptionsCreate()`, `PetscOptionsDestroy()`, `PetscObjectSetOption $(_doc_external("Sys/PetscObjectPrependOptionsPrefix")) """ function PetscObjectPrependOptionsPrefix(petsclib::PetscLibType, obj, prefix::String) - error("PetscObjectPrependOptionsPrefix: no generated method for these argument types") + throw(MethodError(PetscObjectPrependOptionsPrefix, (petsclib, obj, prefix))) end @for_petsc function PetscObjectPrependOptionsPrefix(petsclib::$UnionPetscLib, obj, prefix::String ) @@ -1064,7 +1064,7 @@ See also: `PetscObjectSetName()`, `PetscObjectName()` $(_doc_external("Sys/PetscObjectPrintClassNamePrefixType")) """ function PetscObjectPrintClassNamePrefixType(petsclib::PetscLibType, obj, viewer::PetscViewer) - error("PetscObjectPrintClassNamePrefixType: no generated method for these argument types") + throw(MethodError(PetscObjectPrintClassNamePrefixType, (petsclib, obj, viewer))) end @for_petsc function PetscObjectPrintClassNamePrefixType(petsclib::$UnionPetscLib, obj, viewer::PetscViewer ) @@ -1099,7 +1099,7 @@ See also: `KSPSetFromOptions()`, `PCSetFromOptions()`, `SNESSetFromOptions()`, ` $(_doc_external("Sys/PetscObjectProcessOptionsHandlers")) """ function PetscObjectProcessOptionsHandlers(petsclib::PetscLibType, obj, PetscOptionsObject::PetscOptionItems) - error("PetscObjectProcessOptionsHandlers: no generated method for these argument types") + throw(MethodError(PetscObjectProcessOptionsHandlers, (petsclib, obj, PetscOptionsObject))) end @for_petsc function PetscObjectProcessOptionsHandlers(petsclib::$UnionPetscLib, obj, PetscOptionsObject::PetscOptionItems ) @@ -1137,7 +1137,7 @@ See also: `PetscObjectCompose()`, `PetscObjectComposeFunction()`, `PetscObjectQu $(_doc_external("Sys/PetscObjectQuery")) """ function PetscObjectQuery(petsclib::PetscLibType, obj, name::String, ptr::PetscObject) - error("PetscObjectQuery: no generated method for these argument types") + throw(MethodError(PetscObjectQuery, (petsclib, obj, name, ptr))) end @for_petsc function PetscObjectQuery(petsclib::$UnionPetscLib, obj, name::String, ptr::PetscObject ) @@ -1172,7 +1172,7 @@ See also: `PetscObjectCompose()`, `PetscObjectDereference()`, `PetscObject` $(_doc_external("Sys/PetscObjectReference")) """ function PetscObjectReference(petsclib::PetscLibType, obj) - error("PetscObjectReference: no generated method for these argument types") + throw(MethodError(PetscObjectReference, (petsclib, obj))) end @for_petsc function PetscObjectReference(petsclib::$UnionPetscLib, obj ) @@ -1207,7 +1207,7 @@ See also: `PetscObjectRegisterDestroyAll()` $(_doc_external("Sys/PetscObjectRegisterDestroy")) """ function PetscObjectRegisterDestroy(petsclib::PetscLibType, obj) - error("PetscObjectRegisterDestroy: no generated method for these argument types") + throw(MethodError(PetscObjectRegisterDestroy, (petsclib, obj))) end @for_petsc function PetscObjectRegisterDestroy(petsclib::$UnionPetscLib, obj ) @@ -1238,7 +1238,7 @@ See also: `PetscObjectRegisterDestroy()` $(_doc_external("Sys/PetscObjectRegisterDestroyAll")) """ function PetscObjectRegisterDestroyAll(petsclib::PetscLibType) - error("PetscObjectRegisterDestroyAll: no generated method for these argument types") + throw(MethodError(PetscObjectRegisterDestroyAll, (petsclib, ))) end @for_petsc function PetscObjectRegisterDestroyAll(petsclib::$UnionPetscLib) @@ -1271,7 +1271,7 @@ See also: `PetscObject`, `PetscObjectCompose()`, `PetscObjectQuery()`, `PetscObj $(_doc_external("Sys/PetscObjectRemoveReference")) """ function PetscObjectRemoveReference(petsclib::PetscLibType, obj, name::String) - error("PetscObjectRemoveReference: no generated method for these argument types") + throw(MethodError(PetscObjectRemoveReference, (petsclib, obj, name))) end @for_petsc function PetscObjectRemoveReference(petsclib::$UnionPetscLib, obj, name::String ) @@ -1304,7 +1304,7 @@ See also: `PetscObjectSetOptionsPrefix()`, `PetscObjectGetOptionsPrefix()`, `Pet $(_doc_external("Sys/PetscObjectSetFromOptions")) """ function PetscObjectSetFromOptions(petsclib::PetscLibType, obj) - error("PetscObjectSetFromOptions: no generated method for these argument types") + throw(MethodError(PetscObjectSetFromOptions, (petsclib, obj))) end @for_petsc function PetscObjectSetFromOptions(petsclib::$UnionPetscLib, obj ) @@ -1339,7 +1339,7 @@ See also: `PetscObjectGetName()`, `PetscObjectName()` $(_doc_external("Sys/PetscObjectSetName")) """ function PetscObjectSetName(petsclib::PetscLibType, obj, name::String) - error("PetscObjectSetName: no generated method for these argument types") + throw(MethodError(PetscObjectSetName, (petsclib, obj, name))) end @for_petsc function PetscObjectSetName(petsclib::$UnionPetscLib, obj, name::String ) @@ -1374,7 +1374,7 @@ See also: `PetscOptionsCreate()`, `PetscOptionsDestroy()`, `PetscObjectSetOption $(_doc_external("Sys/PetscObjectSetOptions")) """ function PetscObjectSetOptions(petsclib::PetscLibType, obj, options::AbstractPetscOptions) - error("PetscObjectSetOptions: no generated method for these argument types") + throw(MethodError(PetscObjectSetOptions, (petsclib, obj, options))) end @for_petsc function PetscObjectSetOptions(petsclib::$UnionPetscLib, obj, options::AbstractPetscOptions ) @@ -1410,7 +1410,7 @@ See also: `PetscOptionsCreate()`, `PetscOptionsDestroy()`, `PetscObjectAppendOpt $(_doc_external("Sys/PetscObjectSetOptionsPrefix")) """ function PetscObjectSetOptionsPrefix(petsclib::PetscLibType, obj, prefix::String) - error("PetscObjectSetOptionsPrefix: no generated method for these argument types") + throw(MethodError(PetscObjectSetOptionsPrefix, (petsclib, obj, prefix))) end @for_petsc function PetscObjectSetOptionsPrefix(petsclib::$UnionPetscLib, obj, prefix::String ) @@ -1441,7 +1441,7 @@ See also: `PetscOptionsInsert()`, `PetscObject` $(_doc_external("Sys/PetscObjectSetPrintedOptions")) """ function PetscObjectSetPrintedOptions(petsclib::PetscLibType, obj) - error("PetscObjectSetPrintedOptions: no generated method for these argument types") + throw(MethodError(PetscObjectSetPrintedOptions, (petsclib, obj))) end @for_petsc function PetscObjectSetPrintedOptions(petsclib::$UnionPetscLib, obj ) @@ -1476,7 +1476,7 @@ See also: `PetscObjectIncrementTabLevel()`, `PetscObjectGetTabLevel()` $(_doc_external("Sys/PetscObjectSetTabLevel")) """ function PetscObjectSetTabLevel(petsclib::PetscLibType, obj, tab::Integer) - error("PetscObjectSetTabLevel: no generated method for these argument types") + throw(MethodError(PetscObjectSetTabLevel, (petsclib, obj, tab))) end @for_petsc function PetscObjectSetTabLevel(petsclib::$UnionPetscLib, obj, tab::$PetscInt ) @@ -1509,7 +1509,7 @@ See also: `PetscObjectDestroy()`, `PetscObject` $(_doc_external("Sys/PetscObjectSetUp")) """ function PetscObjectSetUp(petsclib::PetscLibType, obj) - error("PetscObjectSetUp: no generated method for these argument types") + throw(MethodError(PetscObjectSetUp, (petsclib, obj))) end @for_petsc function PetscObjectSetUp(petsclib::$UnionPetscLib, obj ) @@ -1547,7 +1547,7 @@ See also: `PetscObject`, `VecGetType()`, `KSPGetType()`, `PCGetType()`, `SNESGet $(_doc_external("Sys/PetscObjectTypeCompare")) """ function PetscObjectTypeCompare(petsclib::PetscLibType, obj, type_name::String) - error("PetscObjectTypeCompare: no generated method for these argument types") + throw(MethodError(PetscObjectTypeCompare, (petsclib, obj, type_name))) end @for_petsc function PetscObjectTypeCompare(petsclib::$UnionPetscLib, obj, type_name::String ) @@ -1584,7 +1584,7 @@ See also: `PetscObject`, `PetscObjectViewFromOptions()`, `PetscViewer` $(_doc_external("Sys/PetscObjectView")) """ function PetscObjectView(petsclib::PetscLibType, obj, viewer::PetscViewer) - error("PetscObjectView: no generated method for these argument types") + throw(MethodError(PetscObjectView, (petsclib, obj, viewer))) end @for_petsc function PetscObjectView(petsclib::$UnionPetscLib, obj, viewer::PetscViewer ) @@ -1622,7 +1622,7 @@ See also: `PetscObject`, `PetscObjectView()`, `PetscOptionsCreateViewer()` $(_doc_external("Sys/PetscObjectViewFromOptions")) """ function PetscObjectViewFromOptions(petsclib::PetscLibType, obj, bobj, name::String) - error("PetscObjectViewFromOptions: no generated method for these argument types") + throw(MethodError(PetscObjectViewFromOptions, (petsclib, obj, bobj, name))) end @for_petsc function PetscObjectViewFromOptions(petsclib::$UnionPetscLib, obj, bobj, name::String ) @@ -1656,7 +1656,7 @@ See also: `PetscViewer`, `PetscObject`, `PetscObjectSetName()` $(_doc_external("Viewer/PetscObjectViewSAWs")) """ function PetscObjectViewSAWs(petsclib::PetscLibType, obj, viewer::PetscViewer) - error("PetscObjectViewSAWs: no generated method for these argument types") + throw(MethodError(PetscObjectViewSAWs, (petsclib, obj, viewer))) end @for_petsc function PetscObjectViewSAWs(petsclib::$UnionPetscLib, obj, viewer::PetscViewer ) @@ -1691,7 +1691,7 @@ See also: `PetscObject` $(_doc_external("Sys/PetscObjectsDump")) """ function PetscObjectsDump(petsclib::PetscLibType, fd::Libc.FILE, all::PetscBool) - error("PetscObjectsDump: no generated method for these argument types") + throw(MethodError(PetscObjectsDump, (petsclib, fd, all))) end @for_petsc function PetscObjectsDump(petsclib::$UnionPetscLib, fd::Libc.FILE, all::PetscBool ) @@ -1728,7 +1728,7 @@ See also: `PetscObject` $(_doc_external("Sys/PetscObjectsGetObject")) """ function PetscObjectsGetObject(petsclib::PetscLibType, name::String) - error("PetscObjectsGetObject: no generated method for these argument types") + throw(MethodError(PetscObjectsGetObject, (petsclib, name))) end @for_petsc function PetscObjectsGetObject(petsclib::$UnionPetscLib, name::String ) @@ -1773,7 +1773,7 @@ See also: `PetscCommDuplicate()`, `PetscObjectDestroy()` $(_doc_external("Sys/PetscObjectsListGetGlobalNumbering")) """ function PetscObjectsListGetGlobalNumbering(petsclib::PetscLibType, comm::MPI_Comm, len::Integer, objlist::Vector{PetscObject}) - error("PetscObjectsListGetGlobalNumbering: no generated method for these argument types") + throw(MethodError(PetscObjectsListGetGlobalNumbering, (petsclib, comm, len, objlist))) end @for_petsc function PetscObjectsListGetGlobalNumbering(petsclib::$UnionPetscLib, comm::MPI_Comm, len::$PetscInt, objlist::Vector{PetscObject} ) @@ -1810,7 +1810,7 @@ See also: `PetscObject` $(_doc_external("Sys/PetscObjectsView")) """ function PetscObjectsView(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscObjectsView: no generated method for these argument types") + throw(MethodError(PetscObjectsView, (petsclib, viewer))) end @for_petsc function PetscObjectsView(petsclib::$UnionPetscLib, viewer::PetscViewer ) diff --git a/src/autowrapped/PetscOmpCtrl_wrappers.jl b/src/autowrapped/PetscOmpCtrl_wrappers.jl index 2e4e1b360..ac54a55f4 100644 --- a/src/autowrapped/PetscOmpCtrl_wrappers.jl +++ b/src/autowrapped/PetscOmpCtrl_wrappers.jl @@ -11,7 +11,7 @@ See also: `PetscOmpCtrlOmpRegionOnMasterBegin()`, `PetscOmpCtrlOmpRegionOnMaster $(_doc_external("Sys/PetscOmpCtrlBarrier")) """ function PetscOmpCtrlBarrier(petsclib::PetscLibType, ctrl::PetscOmpCtrl) - error("PetscOmpCtrlBarrier: no generated method for these argument types") + throw(MethodError(PetscOmpCtrlBarrier, (petsclib, ctrl))) end @for_petsc function PetscOmpCtrlBarrier(petsclib::$UnionPetscLib, ctrl::PetscOmpCtrl ) @@ -46,7 +46,7 @@ See also: `PetscOmpCtrlDestroy()`, `PetscOmpCtrlGetOmpComms()`, `PetscOmpCtrlBar $(_doc_external("Sys/PetscOmpCtrlCreate")) """ function PetscOmpCtrlCreate(petsclib::PetscLibType, petsc_comm::MPI_Comm, nthreads::Integer) - error("PetscOmpCtrlCreate: no generated method for these argument types") + throw(MethodError(PetscOmpCtrlCreate, (petsclib, petsc_comm, nthreads))) end @for_petsc function PetscOmpCtrlCreate(petsclib::$UnionPetscLib, petsc_comm::MPI_Comm, nthreads::$PetscInt ) @@ -79,7 +79,7 @@ See also: `PetscOmpCtrlCreate()`, `PetscOmpCtrlGetOmpComms()`, `PetscOmpCtrlBarr $(_doc_external("Sys/PetscOmpCtrlDestroy")) """ function PetscOmpCtrlDestroy(petsclib::PetscLibType, pctrl::Union{PetscOmpCtrl, Ref{PetscOmpCtrl}}) - error("PetscOmpCtrlDestroy: no generated method for these argument types") + throw(MethodError(PetscOmpCtrlDestroy, (petsclib, pctrl))) end @for_petsc function PetscOmpCtrlDestroy(petsclib::$UnionPetscLib, pctrl::Union{PetscOmpCtrl, Ref{PetscOmpCtrl}} ) @@ -115,7 +115,7 @@ See also: `PetscOmpCtrlCreate()`, `PetscOmpCtrlDestroy()`, `PetscOmpCtrlBarrier( $(_doc_external("Sys/PetscOmpCtrlGetOmpComms")) """ function PetscOmpCtrlGetOmpComms(petsclib::PetscLibType, ctrl::PetscOmpCtrl) - error("PetscOmpCtrlGetOmpComms: no generated method for these argument types") + throw(MethodError(PetscOmpCtrlGetOmpComms, (petsclib, ctrl))) end @for_petsc function PetscOmpCtrlGetOmpComms(petsclib::$UnionPetscLib, ctrl::PetscOmpCtrl ) @@ -150,7 +150,7 @@ See also: `PetscOmpCtrlOmpRegionOnMasterEnd()`, `PetscOmpCtrlCreate()`, `PetscOm $(_doc_external("Sys/PetscOmpCtrlOmpRegionOnMasterBegin")) """ function PetscOmpCtrlOmpRegionOnMasterBegin(petsclib::PetscLibType, ctrl::PetscOmpCtrl) - error("PetscOmpCtrlOmpRegionOnMasterBegin: no generated method for these argument types") + throw(MethodError(PetscOmpCtrlOmpRegionOnMasterBegin, (petsclib, ctrl))) end @for_petsc function PetscOmpCtrlOmpRegionOnMasterBegin(petsclib::$UnionPetscLib, ctrl::PetscOmpCtrl ) @@ -179,7 +179,7 @@ See also: `PetscOmpCtrlOmpRegionOnMasterBegin()`, `PetscOmpCtrlCreate()`, `Petsc $(_doc_external("Sys/PetscOmpCtrlOmpRegionOnMasterEnd")) """ function PetscOmpCtrlOmpRegionOnMasterEnd(petsclib::PetscLibType, ctrl::PetscOmpCtrl) - error("PetscOmpCtrlOmpRegionOnMasterEnd: no generated method for these argument types") + throw(MethodError(PetscOmpCtrlOmpRegionOnMasterEnd, (petsclib, ctrl))) end @for_petsc function PetscOmpCtrlOmpRegionOnMasterEnd(petsclib::$UnionPetscLib, ctrl::PetscOmpCtrl ) diff --git a/src/autowrapped/PetscOptions_addons_wrappers.jl b/src/autowrapped/PetscOptions_addons_wrappers.jl index 321053231..cfd3a6b28 100644 --- a/src/autowrapped/PetscOptions_addons_wrappers.jl +++ b/src/autowrapped/PetscOptions_addons_wrappers.jl @@ -20,7 +20,7 @@ See also: `PetscOptionsHelpPrintedCreate()` $(_doc_external("Viewer/PetscOptionsHelpPrintedCheck")) """ function PetscOptionsHelpPrintedCheck(petsclib::PetscLibType, hp::PetscOptionsHelpPrCinted, pre::String, name::String) - error("PetscOptionsHelpPrintedCheck: no generated method for these argument types") + throw(MethodError(PetscOptionsHelpPrintedCheck, (petsclib, hp, pre, name))) end @for_petsc function PetscOptionsHelpPrintedCheck(petsclib::$UnionPetscLib, hp::PetscOptionsHelpPrCinted, pre::String, name::String ) @@ -56,7 +56,7 @@ See also: `PetscOptionsHelpPrintedCheck()`, `PetscOptionsHelpPrintChecked()` $(_doc_external("Viewer/PetscOptionsHelpPrintedCreate")) """ function PetscOptionsHelpPrintedCreate(petsclib::PetscLibType) - error("PetscOptionsHelpPrintedCreate: no generated method for these argument types") + throw(MethodError(PetscOptionsHelpPrintedCreate, (petsclib, ))) end @for_petsc function PetscOptionsHelpPrintedCreate(petsclib::$UnionPetscLib) @@ -91,7 +91,7 @@ See also: `PetscOptionsHelpPrintedCreate()`, `PetscOptionsHelpPrintedCheck()` $(_doc_external("Viewer/PetscOptionsHelpPrintedDestroy")) """ function PetscOptionsHelpPrintedDestroy(petsclib::PetscLibType, hp::Union{PetscOptionsHelpPrCinted, Ref{PetscOptionsHelpPrCinted}}) - error("PetscOptionsHelpPrintedDestroy: no generated method for these argument types") + throw(MethodError(PetscOptionsHelpPrintedDestroy, (petsclib, hp))) end @for_petsc function PetscOptionsHelpPrintedDestroy(petsclib::$UnionPetscLib, hp::Union{PetscOptionsHelpPrCinted, Ref{PetscOptionsHelpPrCinted}} ) diff --git a/src/autowrapped/PetscOptions_wrappers.jl b/src/autowrapped/PetscOptions_wrappers.jl index c253a5a44..1fbc6ce03 100644 --- a/src/autowrapped/PetscOptions_wrappers.jl +++ b/src/autowrapped/PetscOptions_wrappers.jl @@ -19,7 +19,7 @@ See also: `PetscOptionsView()` $(_doc_external("Sys/PetscOptionsAllUsed")) """ function PetscOptionsAllUsed(petsclib::PetscLibType, options::AbstractPetscOptions) - error("PetscOptionsAllUsed: no generated method for these argument types") + throw(MethodError(PetscOptionsAllUsed, (petsclib, options))) end @for_petsc function PetscOptionsAllUsed(petsclib::$UnionPetscLib, options::AbstractPetscOptions ) @@ -54,7 +54,7 @@ See also: `PetscOptionsInsert()` $(_doc_external("Sys/PetscOptionsClear")) """ function PetscOptionsClear(petsclib::PetscLibType, options::AbstractPetscOptions) - error("PetscOptionsClear: no generated method for these argument types") + throw(MethodError(PetscOptionsClear, (petsclib, options))) end @for_petsc function PetscOptionsClear(petsclib::$UnionPetscLib, options::AbstractPetscOptions ) @@ -89,7 +89,7 @@ See also: `PetscOptionsInsert()` $(_doc_external("Sys/PetscOptionsClearValue")) """ function PetscOptionsClearValue(petsclib::PetscLibType, options::AbstractPetscOptions, name::String) - error("PetscOptionsClearValue: no generated method for these argument types") + throw(MethodError(PetscOptionsClearValue, (petsclib, options, name))) end @for_petsc function PetscOptionsClearValue(petsclib::$UnionPetscLib, options::AbstractPetscOptions, name::String ) @@ -122,7 +122,7 @@ See also: `PetscOptionsDestroy()`, `PetscOptionsPush()`, `PetscOptionsPop()`, `P $(_doc_external("Sys/PetscOptionsCreate")) """ function PetscOptionsCreate(petsclib::PetscLibType) - error("PetscOptionsCreate: no generated method for these argument types") + throw(MethodError(PetscOptionsCreate, (petsclib, ))) end @for_petsc function PetscOptionsCreate(petsclib::$UnionPetscLib) @@ -154,7 +154,7 @@ See also: `PetscOptionsDestroyDefault()`, `PetscOptionsCreate()`, `PetscOptionsP $(_doc_external("Sys/PetscOptionsCreateDefault")) """ function PetscOptionsCreateDefault(petsclib::PetscLibType) - error("PetscOptionsCreateDefault: no generated method for these argument types") + throw(MethodError(PetscOptionsCreateDefault, (petsclib, ))) end @for_petsc function PetscOptionsCreateDefault(petsclib::$UnionPetscLib) @@ -201,7 +201,7 @@ See also: `PetscViewerDestroy()`, `PetscOptionsGetReal()`, `PetscOptionsHasName( $(_doc_external("Viewer/PetscOptionsCreateViewer")) """ function PetscOptionsCreateViewer(petsclib::PetscLibType, comm::MPI_Comm, options::Union{Ptr, AbstractPetscOptions}, pre::String, name::String) - error("PetscOptionsCreateViewer: no generated method for these argument types") + throw(MethodError(PetscOptionsCreateViewer, (petsclib, comm, options, pre, name))) end @for_petsc function PetscOptionsCreateViewer(petsclib::$UnionPetscLib, comm::MPI_Comm, options::Union{Ptr, AbstractPetscOptions}, pre::String, name::String ) @@ -251,7 +251,7 @@ See also: `PetscOptionsCreateViewer()` $(_doc_external("Viewer/PetscOptionsCreateViewers")) """ function PetscOptionsCreateViewers(petsclib::PetscLibType, comm::MPI_Comm, options::AbstractPetscOptions, pre::String, name::String, viewers::Vector{PetscViewer}, formats::Vector{PetscViewerFormat}) - error("PetscOptionsCreateViewers: no generated method for these argument types") + throw(MethodError(PetscOptionsCreateViewers, (petsclib, comm, options, pre, name, viewers, formats))) end @for_petsc function PetscOptionsCreateViewers(petsclib::$UnionPetscLib, comm::MPI_Comm, options::AbstractPetscOptions, pre::String, name::String, viewers::Vector{PetscViewer}, formats::Vector{PetscViewerFormat} ) @@ -288,7 +288,7 @@ See also: `PetscOptionsInsert()`, `PetscOptionsPush()`, `PetscOptionsPop()`, `Pe $(_doc_external("Sys/PetscOptionsDestroy")) """ function PetscOptionsDestroy(petsclib::PetscLibType, options::AbstractPetscOptions) - error("PetscOptionsDestroy: no generated method for these argument types") + throw(MethodError(PetscOptionsDestroy, (petsclib, options))) end @for_petsc function PetscOptionsDestroy(petsclib::$UnionPetscLib, options::AbstractPetscOptions ) @@ -320,7 +320,7 @@ See also: `PetscOptionsCreateDefault()`, `PetscOptionsDestroy()`, `PetscOptionsP $(_doc_external("Sys/PetscOptionsDestroyDefault")) """ function PetscOptionsDestroyDefault(petsclib::PetscLibType) - error("PetscOptionsDestroyDefault: no generated method for these argument types") + throw(MethodError(PetscOptionsDestroyDefault, (petsclib, ))) end @for_petsc function PetscOptionsDestroyDefault(petsclib::$UnionPetscLib) @@ -358,7 +358,7 @@ See also: `PetscOptionsSetValue()`, `PetscOptionsClearValue()` $(_doc_external("Sys/PetscOptionsFindPair")) """ function PetscOptionsFindPair(petsclib::PetscLibType, options::AbstractPetscOptions, pre::String, name::String) - error("PetscOptionsFindPair: no generated method for these argument types") + throw(MethodError(PetscOptionsFindPair, (petsclib, options, pre, name))) end @for_petsc function PetscOptionsFindPair(petsclib::$UnionPetscLib, options::AbstractPetscOptions, pre::String, name::String ) @@ -399,7 +399,7 @@ See also: `PetscOptionsAllUsed()`, `PetscOptionsView()`, `PetscOptionsPush()`, ` $(_doc_external("Sys/PetscOptionsGetAll")) """ function PetscOptionsGetAll(petsclib::PetscLibType, options::AbstractPetscOptions) - error("PetscOptionsGetAll: no generated method for these argument types") + throw(MethodError(PetscOptionsGetAll, (petsclib, options))) end @for_petsc function PetscOptionsGetAll(petsclib::$UnionPetscLib, options::AbstractPetscOptions ) @@ -446,7 +446,7 @@ See also: `PetscOptionsGetBool3()`, `PetscOptionsGetReal()`, `PetscOptionsHasNam $(_doc_external("Sys/PetscOptionsGetBool")) """ function PetscOptionsGetBool(petsclib::PetscLibType, options::AbstractPetscOptions, pre::String, name::String) - error("PetscOptionsGetBool: no generated method for these argument types") + throw(MethodError(PetscOptionsGetBool, (petsclib, options, pre, name))) end @for_petsc function PetscOptionsGetBool(petsclib::$UnionPetscLib, options::AbstractPetscOptions, pre::String, name::String ) @@ -495,7 +495,7 @@ See also: `PetscOptionsGetBool()`, `PetscOptionsGetReal()`, `PetscOptionsHasName $(_doc_external("Sys/PetscOptionsGetBool3")) """ function PetscOptionsGetBool3(petsclib::PetscLibType, options::AbstractPetscOptions, pre::String, name::String) - error("PetscOptionsGetBool3: no generated method for these argument types") + throw(MethodError(PetscOptionsGetBool3, (petsclib, options, pre, name))) end @for_petsc function PetscOptionsGetBool3(petsclib::$UnionPetscLib, options::AbstractPetscOptions, pre::String, name::String ) @@ -545,7 +545,7 @@ See also: `PetscOptionsGetInt()`, `PetscOptionsHasName()`, $(_doc_external("Sys/PetscOptionsGetBoolArray")) """ function PetscOptionsGetBoolArray(petsclib::PetscLibType, options::AbstractPetscOptions, pre::String, name::String, dvalue::Vector{PetscBool}, nmax::Integer) - error("PetscOptionsGetBoolArray: no generated method for these argument types") + throw(MethodError(PetscOptionsGetBoolArray, (petsclib, options, pre, name, dvalue, nmax))) end @for_petsc function PetscOptionsGetBoolArray(petsclib::$UnionPetscLib, options::AbstractPetscOptions, pre::String, name::String, dvalue::Vector{PetscBool}, nmax::$PetscInt ) @@ -582,7 +582,7 @@ See also: `PetscOptionsCreateViewer()`, `PetscOptionsPushCreateViewerOff()`, `Pe $(_doc_external("Viewer/PetscOptionsGetCreateViewerOff")) """ function PetscOptionsGetCreateViewerOff(petsclib::PetscLibType) - error("PetscOptionsGetCreateViewerOff: no generated method for these argument types") + throw(MethodError(PetscOptionsGetCreateViewerOff, (petsclib, ))) end @for_petsc function PetscOptionsGetCreateViewerOff(petsclib::$UnionPetscLib) @@ -630,7 +630,7 @@ See also: `PetscOptionsGetInt()`, `PetscOptionsGetReal()`, $(_doc_external("Sys/PetscOptionsGetEList")) """ function PetscOptionsGetEList(petsclib::PetscLibType, options::AbstractPetscOptions, pre::String, opt::String, list::String, ntext::Integer) - error("PetscOptionsGetEList: no generated method for these argument types") + throw(MethodError(PetscOptionsGetEList, (petsclib, options, pre, opt, list, ntext))) end @for_petsc function PetscOptionsGetEList(petsclib::$UnionPetscLib, options::AbstractPetscOptions, pre::String, opt::String, list::String, ntext::$PetscInt ) @@ -681,7 +681,7 @@ See also: `PetscOptionsGetReal()`, `PetscOptionsHasName()`, `PetscOptionsGetStri $(_doc_external("Sys/PetscOptionsGetEnum")) """ function PetscOptionsGetEnum(petsclib::PetscLibType, options::AbstractPetscOptions, pre::String, opt::String, list::String) - error("PetscOptionsGetEnum: no generated method for these argument types") + throw(MethodError(PetscOptionsGetEnum, (petsclib, options, pre, opt, list))) end @for_petsc function PetscOptionsGetEnum(petsclib::$UnionPetscLib, options::AbstractPetscOptions, pre::String, opt::String, list::String ) @@ -732,7 +732,7 @@ See also: `PetscOptionsGetReal()`, `PetscOptionsHasName()`, `PetscOptionsGetStri $(_doc_external("Sys/PetscOptionsGetEnumArray")) """ function PetscOptionsGetEnumArray(petsclib::PetscLibType, options::AbstractPetscOptions, pre::String, name::String, list::String, ivalue::Vector{PetscEnum}, nmax::Integer) - error("PetscOptionsGetEnumArray: no generated method for these argument types") + throw(MethodError(PetscOptionsGetEnumArray, (petsclib, options, pre, name, list, ivalue, nmax))) end @for_petsc function PetscOptionsGetEnumArray(petsclib::$UnionPetscLib, options::AbstractPetscOptions, pre::String, name::String, list::String, ivalue::Vector{PetscEnum}, nmax::$PetscInt ) @@ -782,7 +782,7 @@ See also: `PetscOptionsGetReal()`, `PetscOptionsHasName()`, `PetscOptionsGetStri $(_doc_external("Sys/PetscOptionsGetInt")) """ function PetscOptionsGetInt(petsclib::PetscLibType, options::AbstractPetscOptions, pre::String, name::String) - error("PetscOptionsGetInt: no generated method for these argument types") + throw(MethodError(PetscOptionsGetInt, (petsclib, options, pre, name))) end @for_petsc function PetscOptionsGetInt(petsclib::$UnionPetscLib, options::AbstractPetscOptions, pre::String, name::String ) @@ -831,7 +831,7 @@ See also: `PetscOptionsGetInt()`, `PetscOptionsHasName()`, $(_doc_external("Sys/PetscOptionsGetIntArray")) """ function PetscOptionsGetIntArray(petsclib::PetscLibType, options::AbstractPetscOptions, pre::String, name::String, ivalue::AbstractVector{<:Number}, nmax::Integer) - error("PetscOptionsGetIntArray: no generated method for these argument types") + throw(MethodError(PetscOptionsGetIntArray, (petsclib, options, pre, name, ivalue, nmax))) end @for_petsc function PetscOptionsGetIntArray(petsclib::$UnionPetscLib, options::AbstractPetscOptions, pre::String, name::String, ivalue::Vector{$PetscInt}, nmax::$PetscInt ) @@ -880,7 +880,7 @@ See also: `PetscOptionsGetReal()`, `PetscOptionsHasName()`, `PetscOptionsGetStri $(_doc_external("Sys/PetscOptionsGetMPIInt")) """ function PetscOptionsGetMPIInt(petsclib::PetscLibType, options::AbstractPetscOptions, pre::String, name::String) - error("PetscOptionsGetMPIInt: no generated method for these argument types") + throw(MethodError(PetscOptionsGetMPIInt, (petsclib, options, pre, name))) end @for_petsc function PetscOptionsGetMPIInt(petsclib::$UnionPetscLib, options::AbstractPetscOptions, pre::String, name::String ) @@ -929,7 +929,7 @@ See also: `PetscOptionsGetInt()`, `PetscOptionsHasName()`, $(_doc_external("Sys/PetscOptionsGetReal")) """ function PetscOptionsGetReal(petsclib::PetscLibType, options::AbstractPetscOptions, pre::String, name::String) - error("PetscOptionsGetReal: no generated method for these argument types") + throw(MethodError(PetscOptionsGetReal, (petsclib, options, pre, name))) end @for_petsc function PetscOptionsGetReal(petsclib::$UnionPetscLib, options::AbstractPetscOptions, pre::String, name::String ) @@ -979,7 +979,7 @@ See also: `PetscOptionsGetInt()`, `PetscOptionsHasName()`, $(_doc_external("Sys/PetscOptionsGetRealArray")) """ function PetscOptionsGetRealArray(petsclib::PetscLibType, options::AbstractPetscOptions, pre::String, name::String, dvalue::AbstractVector{<:Number}, nmax::Integer) - error("PetscOptionsGetRealArray: no generated method for these argument types") + throw(MethodError(PetscOptionsGetRealArray, (petsclib, options, pre, name, dvalue, nmax))) end @for_petsc function PetscOptionsGetRealArray(petsclib::$UnionPetscLib, options::AbstractPetscOptions, pre::String, name::String, dvalue::Vector{$PetscReal}, nmax::$PetscInt ) @@ -1028,7 +1028,7 @@ See also: `PetscOptionsGetInt()`, `PetscOptionsHasName()`, $(_doc_external("Sys/PetscOptionsGetScalar")) """ function PetscOptionsGetScalar(petsclib::PetscLibType, options::AbstractPetscOptions, pre::String, name::String) - error("PetscOptionsGetScalar: no generated method for these argument types") + throw(MethodError(PetscOptionsGetScalar, (petsclib, options, pre, name))) end @for_petsc function PetscOptionsGetScalar(petsclib::$UnionPetscLib, options::AbstractPetscOptions, pre::String, name::String ) @@ -1078,7 +1078,7 @@ See also: `PetscOptionsGetInt()`, `PetscOptionsHasName()`, $(_doc_external("Sys/PetscOptionsGetScalarArray")) """ function PetscOptionsGetScalarArray(petsclib::PetscLibType, options::AbstractPetscOptions, pre::String, name::String, dvalue::AbstractVector{<:Number}, nmax::Integer) - error("PetscOptionsGetScalarArray: no generated method for these argument types") + throw(MethodError(PetscOptionsGetScalarArray, (petsclib, options, pre, name, dvalue, nmax))) end @for_petsc function PetscOptionsGetScalarArray(petsclib::$UnionPetscLib, options::AbstractPetscOptions, pre::String, name::String, dvalue::Vector{$PetscScalar}, nmax::$PetscInt ) @@ -1181,7 +1181,7 @@ See also: `PetscOptionsGetInt()`, `PetscOptionsGetReal()`, $(_doc_external("Sys/PetscOptionsGetStringArray")) """ function PetscOptionsGetStringArray(petsclib::PetscLibType, options::AbstractPetscOptions, pre::String, name::String) - error("PetscOptionsGetStringArray: no generated method for these argument types") + throw(MethodError(PetscOptionsGetStringArray, (petsclib, options, pre, name))) end @for_petsc function PetscOptionsGetStringArray(petsclib::$UnionPetscLib, options::AbstractPetscOptions, pre::String, name::String ) @@ -1226,7 +1226,7 @@ See also: `Vec`, `PetscOptionsGetRealArray()`, `PetscOptionsGetInt()`, `PetscOpt $(_doc_external("Vec/PetscOptionsGetVec")) """ function PetscOptionsGetVec(petsclib::PetscLibType, options::AbstractPetscOptions, prefix::String, key::String, v::AbstractPetscVec) - error("PetscOptionsGetVec: no generated method for these argument types") + throw(MethodError(PetscOptionsGetVec, (petsclib, options, prefix, key, v))) end @for_petsc function PetscOptionsGetVec(petsclib::$UnionPetscLib, options::AbstractPetscOptions, prefix::String, key::String, v::AbstractPetscVec ) @@ -1268,7 +1268,7 @@ See also: `PetscOptionsHasName()` $(_doc_external("Sys/PetscOptionsGetenv")) """ function PetscOptionsGetenv(petsclib::PetscLibType, comm::MPI_Comm, name::String, env::String, len::Csize_t) - error("PetscOptionsGetenv: no generated method for these argument types") + throw(MethodError(PetscOptionsGetenv, (petsclib, comm, name, env, len))) end @for_petsc function PetscOptionsGetenv(petsclib::$UnionPetscLib, comm::MPI_Comm, name::String, env::String, len::Csize_t ) @@ -1306,7 +1306,7 @@ See also: `PetscOptionsHasName()` $(_doc_external("Sys/PetscOptionsHasHelp")) """ function PetscOptionsHasHelp(petsclib::PetscLibType, options::AbstractPetscOptions) - error("PetscOptionsHasHelp: no generated method for these argument types") + throw(MethodError(PetscOptionsHasHelp, (petsclib, options))) end @for_petsc function PetscOptionsHasHelp(petsclib::$UnionPetscLib, options::AbstractPetscOptions ) @@ -1352,7 +1352,7 @@ See also: `PetscOptionsGetInt()`, `PetscOptionsGetReal()`, $(_doc_external("Sys/PetscOptionsHasName")) """ function PetscOptionsHasName(petsclib::PetscLibType, options::AbstractPetscOptions, pre::String, name::String) - error("PetscOptionsHasName: no generated method for these argument types") + throw(MethodError(PetscOptionsHasName, (petsclib, options, pre, name))) end @for_petsc function PetscOptionsHasName(petsclib::$UnionPetscLib, options::AbstractPetscOptions, pre::String, name::String ) @@ -1399,7 +1399,7 @@ See also: `PetscOptionsDestroy()`, `PetscOptionsView()`, `PetscOptionsInsertStri $(_doc_external("Sys/PetscOptionsInsert")) """ function PetscOptionsInsert(petsclib::PetscLibType, options::AbstractPetscOptions, args::Cchar, file::String) - error("PetscOptionsInsert: no generated method for these argument types") + throw(MethodError(PetscOptionsInsert, (petsclib, options, args, file))) end @for_petsc function PetscOptionsInsert(petsclib::$UnionPetscLib, options::AbstractPetscOptions, args::Cchar, file::String ) @@ -1436,7 +1436,7 @@ See also: `PetscOptions`, `PetscOptionsInsertString()`, `PetscOptionsInsertFile( $(_doc_external("Sys/PetscOptionsInsertArgs")) """ function PetscOptionsInsertArgs(petsclib::PetscLibType, options::AbstractPetscOptions, argc::Cint, args::String) - error("PetscOptionsInsertArgs: no generated method for these argument types") + throw(MethodError(PetscOptionsInsertArgs, (petsclib, options, argc, args))) end @for_petsc function PetscOptionsInsertArgs(petsclib::$UnionPetscLib, options::AbstractPetscOptions, argc::Cint, args::String ) @@ -1480,7 +1480,7 @@ See also: `PetscOptionsSetValue()`, `PetscOptionsView()`, `PetscOptionsHasName() $(_doc_external("Sys/PetscOptionsInsertFile")) """ function PetscOptionsInsertFile(petsclib::PetscLibType, comm::MPI_Comm, options::AbstractPetscOptions, file::String, require::PetscBool) - error("PetscOptionsInsertFile: no generated method for these argument types") + throw(MethodError(PetscOptionsInsertFile, (petsclib, comm, options, file, require))) end @for_petsc function PetscOptionsInsertFile(petsclib::$UnionPetscLib, comm::MPI_Comm, options::AbstractPetscOptions, file::String, require::PetscBool ) @@ -1521,7 +1521,7 @@ See also: `PetscOptionsSetValue()`, `PetscOptionsView()`, `PetscOptionsHasName() $(_doc_external("Sys/PetscOptionsInsertFileYAML")) """ function PetscOptionsInsertFileYAML(petsclib::PetscLibType, comm::MPI_Comm, options::AbstractPetscOptions, file::String, require::PetscBool) - error("PetscOptionsInsertFileYAML: no generated method for these argument types") + throw(MethodError(PetscOptionsInsertFileYAML, (petsclib, comm, options, file, require))) end @for_petsc function PetscOptionsInsertFileYAML(petsclib::$UnionPetscLib, comm::MPI_Comm, options::AbstractPetscOptions, file::String, require::PetscBool ) @@ -1567,7 +1567,7 @@ See also: `PetscOptionsSetValue()`, `PetscOptionsView()`, `PetscOptionsHasName() $(_doc_external("Sys/PetscOptionsInsertString")) """ function PetscOptionsInsertString(petsclib::PetscLibType, options::AbstractPetscOptions, in_str::String) - error("PetscOptionsInsertString: no generated method for these argument types") + throw(MethodError(PetscOptionsInsertString, (petsclib, options, in_str))) end @for_petsc function PetscOptionsInsertString(petsclib::$UnionPetscLib, options::AbstractPetscOptions, in_str::String ) @@ -1606,7 +1606,7 @@ See also: `PetscOptionsSetValue()`, `PetscOptionsView()`, `PetscOptionsHasName() $(_doc_external("Sys/PetscOptionsInsertStringYAML")) """ function PetscOptionsInsertStringYAML(petsclib::PetscLibType, options::AbstractPetscOptions, in_str::String) - error("PetscOptionsInsertStringYAML: no generated method for these argument types") + throw(MethodError(PetscOptionsInsertStringYAML, (petsclib, options, in_str))) end @for_petsc function PetscOptionsInsertStringYAML(petsclib::$UnionPetscLib, options::AbstractPetscOptions, in_str::String ) @@ -1642,7 +1642,7 @@ See also: `PetscOptionsAllUsed()` $(_doc_external("Sys/PetscOptionsLeft")) """ function PetscOptionsLeft(petsclib::PetscLibType, options::AbstractPetscOptions) - error("PetscOptionsLeft: no generated method for these argument types") + throw(MethodError(PetscOptionsLeft, (petsclib, options))) end @for_petsc function PetscOptionsLeft(petsclib::$UnionPetscLib, options::AbstractPetscOptions ) @@ -1672,7 +1672,7 @@ See also: `PetscOptionsLeft()`, `PetscOptionsAllUsed()`, `PetscOptionsView()` $(_doc_external("Sys/PetscOptionsLeftError")) """ function PetscOptionsLeftError(petsclib::PetscLibType) - error("PetscOptionsLeftError: no generated method for these argument types") + throw(MethodError(PetscOptionsLeftError, (petsclib, ))) end @for_petsc function PetscOptionsLeftError(petsclib::$UnionPetscLib) @@ -1709,7 +1709,7 @@ See also: `PetscOptionsAllUsed()`, `PetscOptionsLeft()` $(_doc_external("Sys/PetscOptionsLeftGet")) """ function PetscOptionsLeftGet(petsclib::PetscLibType, options::AbstractPetscOptions) - error("PetscOptionsLeftGet: no generated method for these argument types") + throw(MethodError(PetscOptionsLeftGet, (petsclib, options))) end @for_petsc function PetscOptionsLeftGet(petsclib::$UnionPetscLib, options::AbstractPetscOptions ) @@ -1751,7 +1751,7 @@ See also: `PetscOptionsAllUsed()`, `PetscOptionsLeft()`, `PetscOptionsLeftGet()` $(_doc_external("Sys/PetscOptionsLeftRestore")) """ function PetscOptionsLeftRestore(petsclib::PetscLibType, options::AbstractPetscOptions, N::Integer, names::String, values::String) - error("PetscOptionsLeftRestore: no generated method for these argument types") + throw(MethodError(PetscOptionsLeftRestore, (petsclib, options, N, names, values))) end @for_petsc function PetscOptionsLeftRestore(petsclib::$UnionPetscLib, options::AbstractPetscOptions, N::$PetscInt, names::String, values::String ) @@ -1788,7 +1788,7 @@ See also: `PetscOptionsMonitorSet()` $(_doc_external("Sys/PetscOptionsMonitorDefault")) """ function PetscOptionsMonitorDefault(petsclib::PetscLibType, name::String, value::String, source::PetscOptionSource, ctx::Ptr{Cvoid}) - error("PetscOptionsMonitorDefault: no generated method for these argument types") + throw(MethodError(PetscOptionsMonitorDefault, (petsclib, name, value, source, ctx))) end @for_petsc function PetscOptionsMonitorDefault(petsclib::$UnionPetscLib, name::String, value::String, source::PetscOptionSource, ctx::Ptr{Cvoid} ) @@ -1836,7 +1836,7 @@ See also: `PetscOptionsMonitorDefault()`, `PetscInitialize()`, `PetscCtxDestroyF $(_doc_external("Sys/PetscOptionsMonitorSet")) """ function PetscOptionsMonitorSet(petsclib::PetscLibType, monitor::external, mctx::Ptr{Cvoid}, monitordestroy::Ptr{Cvoid}) - error("PetscOptionsMonitorSet: no generated method for these argument types") + throw(MethodError(PetscOptionsMonitorSet, (petsclib, monitor, mctx, monitordestroy))) end @for_petsc function PetscOptionsMonitorSet(petsclib::$UnionPetscLib, monitor::external, mctx::Ptr{Cvoid}, monitordestroy::Ptr{Cvoid} ) @@ -1866,7 +1866,7 @@ See also: `PetscOptionsCreate()`, `PetscOptionsInsert()`, `PetscOptionsSetValue( $(_doc_external("Sys/PetscOptionsPop")) """ function PetscOptionsPop(petsclib::PetscLibType) - error("PetscOptionsPop: no generated method for these argument types") + throw(MethodError(PetscOptionsPop, (petsclib, ))) end @for_petsc function PetscOptionsPop(petsclib::$UnionPetscLib) @@ -1895,7 +1895,7 @@ See also: `PetscOptionsCreateViewer()`, `PetscOptionsPushCreateViewerOff()` $(_doc_external("Viewer/PetscOptionsPopCreateViewerOff")) """ function PetscOptionsPopCreateViewerOff(petsclib::PetscLibType) - error("PetscOptionsPopCreateViewerOff: no generated method for these argument types") + throw(MethodError(PetscOptionsPopCreateViewerOff, (petsclib, ))) end @for_petsc function PetscOptionsPopCreateViewerOff(petsclib::$UnionPetscLib) @@ -1927,7 +1927,7 @@ See also: `PetscOptionsPrefixPush()`, `PetscOptionsPush()`, `PetscOptionsPop()`, $(_doc_external("Sys/PetscOptionsPrefixPop")) """ function PetscOptionsPrefixPop(petsclib::PetscLibType, options::AbstractPetscOptions) - error("PetscOptionsPrefixPop: no generated method for these argument types") + throw(MethodError(PetscOptionsPrefixPop, (petsclib, options))) end @for_petsc function PetscOptionsPrefixPop(petsclib::$UnionPetscLib, options::AbstractPetscOptions ) @@ -1965,7 +1965,7 @@ See also: `PetscOptionsPrefixPop()`, `PetscOptionsPush()`, `PetscOptionsPop()`, $(_doc_external("Sys/PetscOptionsPrefixPush")) """ function PetscOptionsPrefixPush(petsclib::PetscLibType, options::AbstractPetscOptions, prefix::String) - error("PetscOptionsPrefixPush: no generated method for these argument types") + throw(MethodError(PetscOptionsPrefixPush, (petsclib, options, prefix))) end @for_petsc function PetscOptionsPrefixPush(petsclib::$UnionPetscLib, options::AbstractPetscOptions, prefix::String ) @@ -1999,7 +1999,7 @@ See also: `PetscOptionsPop()`, `PetscOptionsCreate()`, `PetscOptionsInsert()`, ` $(_doc_external("Sys/PetscOptionsPush")) """ function PetscOptionsPush(petsclib::PetscLibType, opt::AbstractPetscOptions) - error("PetscOptionsPush: no generated method for these argument types") + throw(MethodError(PetscOptionsPush, (petsclib, opt))) end @for_petsc function PetscOptionsPush(petsclib::$UnionPetscLib, opt::AbstractPetscOptions ) @@ -2032,7 +2032,7 @@ See also: `PetscOptionsCreateViewer()`, `PetscOptionsPopCreateViewerOff()` $(_doc_external("Viewer/PetscOptionsPushCreateViewerOff")) """ function PetscOptionsPushCreateViewerOff(petsclib::PetscLibType, flg::PetscBool) - error("PetscOptionsPushCreateViewerOff: no generated method for these argument types") + throw(MethodError(PetscOptionsPushCreateViewerOff, (petsclib, flg))) end @for_petsc function PetscOptionsPushCreateViewerOff(petsclib::$UnionPetscLib, flg::PetscBool ) @@ -2073,7 +2073,7 @@ See also: `PetscOptionsGetInt()`, `PetscOptionsGetReal()`, `PetscOptionsHasName( $(_doc_external("Sys/PetscOptionsReject")) """ function PetscOptionsReject(petsclib::PetscLibType, options::AbstractPetscOptions, pre::String, name::String, mess::String) - error("PetscOptionsReject: no generated method for these argument types") + throw(MethodError(PetscOptionsReject, (petsclib, options, pre, name, mess))) end @for_petsc function PetscOptionsReject(petsclib::$UnionPetscLib, options::AbstractPetscOptions, pre::String, name::String, mess::String ) @@ -2113,7 +2113,7 @@ See also: `PetscOptionsGetInt()`, `PetscOptionsGetReal()`, `PetscOptionsHasName( $(_doc_external("Sys/PetscOptionsSetAlias")) """ function PetscOptionsSetAlias(petsclib::PetscLibType, options::AbstractPetscOptions, newname::String, oldname::String) - error("PetscOptionsSetAlias: no generated method for these argument types") + throw(MethodError(PetscOptionsSetAlias, (petsclib, options, newname, oldname))) end @for_petsc function PetscOptionsSetAlias(petsclib::$UnionPetscLib, options::AbstractPetscOptions, newname::String, oldname::String ) @@ -2149,7 +2149,7 @@ See also: `PetscOptionsInsert()`, `PetscOptionsClearValue()` $(_doc_external("Sys/PetscOptionsSetValue")) """ function PetscOptionsSetValue(petsclib::PetscLibType, options::AbstractPetscOptions, name::String, value::Union{Ptr, String}) - error("PetscOptionsSetValue: no generated method for these argument types") + throw(MethodError(PetscOptionsSetValue, (petsclib, options, name, value))) end @for_petsc function PetscOptionsSetValue(petsclib::$UnionPetscLib, options::AbstractPetscOptions, name::String, value::Union{Ptr, String} ) @@ -2185,7 +2185,7 @@ See also: `PetscOptionsStringToInt()`, `PetscOptionsStringToReal()`, `PetscOptio $(_doc_external("Sys/PetscOptionsStringToBool")) """ function PetscOptionsStringToBool(petsclib::PetscLibType, value::String) - error("PetscOptionsStringToBool: no generated method for these argument types") + throw(MethodError(PetscOptionsStringToBool, (petsclib, value))) end @for_petsc function PetscOptionsStringToBool(petsclib::$UnionPetscLib, value::String ) @@ -2223,7 +2223,7 @@ See also: `PetscOptionsStringToReal()`, `PetscOptionsStringToScalar()`, `PetscOp $(_doc_external("Sys/PetscOptionsStringToInt")) """ function PetscOptionsStringToInt(petsclib::PetscLibType, name::String) - error("PetscOptionsStringToInt: no generated method for these argument types") + throw(MethodError(PetscOptionsStringToInt, (petsclib, name))) end @for_petsc function PetscOptionsStringToInt(petsclib::$UnionPetscLib, name::String ) @@ -2261,7 +2261,7 @@ See also: `PetscOptionsStringToInt()`, `PetscOptionsStringToScalar()`, `PetscOpt $(_doc_external("Sys/PetscOptionsStringToReal")) """ function PetscOptionsStringToReal(petsclib::PetscLibType, name::String) - error("PetscOptionsStringToReal: no generated method for these argument types") + throw(MethodError(PetscOptionsStringToReal, (petsclib, name))) end @for_petsc function PetscOptionsStringToReal(petsclib::$UnionPetscLib, name::String ) @@ -2299,7 +2299,7 @@ See also: `PetscOptionsStringToInt()`, `PetscOptionsStringToReal()`, `PetscOptio $(_doc_external("Sys/PetscOptionsStringToScalar")) """ function PetscOptionsStringToScalar(petsclib::PetscLibType, name::String) - error("PetscOptionsStringToScalar: no generated method for these argument types") + throw(MethodError(PetscOptionsStringToScalar, (petsclib, name))) end @for_petsc function PetscOptionsStringToScalar(petsclib::$UnionPetscLib, name::String ) @@ -2338,7 +2338,7 @@ See also: `PetscOptionsView()`, `PetscOptionsLeft()`, `PetscOptionsAllUsed()` $(_doc_external("Sys/PetscOptionsUsed")) """ function PetscOptionsUsed(petsclib::PetscLibType, options::AbstractPetscOptions, name::String) - error("PetscOptionsUsed: no generated method for these argument types") + throw(MethodError(PetscOptionsUsed, (petsclib, options, name))) end @for_petsc function PetscOptionsUsed(petsclib::$UnionPetscLib, options::AbstractPetscOptions, name::String ) @@ -2376,7 +2376,7 @@ See also: `PetscOptionsCreate()`, `PetscOptionsInsert()` $(_doc_external("Sys/PetscOptionsValidKey")) """ function PetscOptionsValidKey(petsclib::PetscLibType, key::String) - error("PetscOptionsValidKey: no generated method for these argument types") + throw(MethodError(PetscOptionsValidKey, (petsclib, key))) end @for_petsc function PetscOptionsValidKey(petsclib::$UnionPetscLib, key::String ) @@ -2416,7 +2416,7 @@ See also: `PetscOptionsAllUsed()` $(_doc_external("Sys/PetscOptionsView")) """ function PetscOptionsView(petsclib::PetscLibType, options::AbstractPetscOptions, viewer::PetscViewer) - error("PetscOptionsView: no generated method for these argument types") + throw(MethodError(PetscOptionsView, (petsclib, options, viewer))) end @for_petsc function PetscOptionsView(petsclib::$UnionPetscLib, options::AbstractPetscOptions, viewer::PetscViewer ) diff --git a/src/autowrapped/PetscPartitioner_wrappers.jl b/src/autowrapped/PetscPartitioner_wrappers.jl index 987c3a051..50bf1014a 100644 --- a/src/autowrapped/PetscPartitioner_wrappers.jl +++ b/src/autowrapped/PetscPartitioner_wrappers.jl @@ -18,7 +18,7 @@ See also: `PetscPartitionerSetType()`, `PetscPartitionerDestroy()` $(_doc_external("MatGraphOperations/PetscPartitionerCreate")) """ function PetscPartitionerCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("PetscPartitionerCreate: no generated method for these argument types") + throw(MethodError(PetscPartitionerCreate, (petsclib, comm))) end @for_petsc function PetscPartitionerCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -60,7 +60,7 @@ See also: `DM`, `DMPLEX`, `PetscPartitioner`, `PetscSection`, `DMPlexDistribute( $(_doc_external("DMPlex/PetscPartitionerDMPlexPartition")) """ function PetscPartitionerDMPlexPartition(petsclib::PetscLibType, part::PetscPartitioner, dm::AbstractPetscDM, targetSection::PetscSection, partSection::PetscSection) - error("PetscPartitionerDMPlexPartition: no generated method for these argument types") + throw(MethodError(PetscPartitionerDMPlexPartition, (petsclib, part, dm, targetSection, partSection))) end @for_petsc function PetscPartitionerDMPlexPartition(petsclib::$UnionPetscLib, part::PetscPartitioner, dm::AbstractPetscDM, targetSection::PetscSection, partSection::PetscSection ) @@ -95,7 +95,7 @@ See also: `PetscPartitionerView()` $(_doc_external("MatGraphOperations/PetscPartitionerDestroy")) """ function PetscPartitionerDestroy(petsclib::PetscLibType, part::Union{PetscPartitioner, Ref{PetscPartitioner}}) - error("PetscPartitionerDestroy: no generated method for these argument types") + throw(MethodError(PetscPartitionerDestroy, (petsclib, part))) end @for_petsc function PetscPartitionerDestroy(petsclib::$UnionPetscLib, part::Union{PetscPartitioner, Ref{PetscPartitioner}} ) @@ -125,7 +125,7 @@ See also: `PetscInitialize()` $(_doc_external("MatGraphOperations/PetscPartitionerFinalizePackage")) """ function PetscPartitionerFinalizePackage(petsclib::PetscLibType) - error("PetscPartitionerFinalizePackage: no generated method for these argument types") + throw(MethodError(PetscPartitionerFinalizePackage, (petsclib, ))) end @for_petsc function PetscPartitionerFinalizePackage(petsclib::$UnionPetscLib) @@ -160,7 +160,7 @@ See also: `PetscPartitionerSetType()`, `PetscPartitionerCreate()` $(_doc_external("MatGraphOperations/PetscPartitionerGetType")) """ function PetscPartitionerGetType(petsclib::PetscLibType, part::PetscPartitioner) - error("PetscPartitionerGetType: no generated method for these argument types") + throw(MethodError(PetscPartitionerGetType, (petsclib, part))) end @for_petsc function PetscPartitionerGetType(petsclib::$UnionPetscLib, part::PetscPartitioner ) @@ -190,7 +190,7 @@ See also: `PetscInitialize()` $(_doc_external("MatGraphOperations/PetscPartitionerInitializePackage")) """ function PetscPartitionerInitializePackage(petsclib::PetscLibType) - error("PetscPartitionerInitializePackage: no generated method for these argument types") + throw(MethodError(PetscPartitionerInitializePackage, (petsclib, ))) end @for_petsc function PetscPartitionerInitializePackage(petsclib::$UnionPetscLib) @@ -225,7 +225,7 @@ See also: `DMPlexDistribute()`, `PetscPartitionerCreate()` $(_doc_external("MatGraphOperations/PetscPartitionerMatPartitioningGetMatPartitioning")) """ function PetscPartitionerMatPartitioningGetMatPartitioning(petsclib::PetscLibType, part::PetscPartitioner) - error("PetscPartitionerMatPartitioningGetMatPartitioning: no generated method for these argument types") + throw(MethodError(PetscPartitionerMatPartitioningGetMatPartitioning, (petsclib, part))) end @for_petsc function PetscPartitionerMatPartitioningGetMatPartitioning(petsclib::$UnionPetscLib, part::PetscPartitioner ) @@ -275,7 +275,7 @@ See also: `PetscPartitionerCreate()`, `PetscPartitionerSetType()`, `PetscSection $(_doc_external("MatGraphOperations/PetscPartitionerPartition")) """ function PetscPartitionerPartition(petsclib::PetscLibType, part::PetscPartitioner, nparts::Integer, numVertices::Integer, start::AbstractVector{<:Number}, adjacency::AbstractVector{<:Number}, vertexSection::PetscSection, edgeSection::PetscSection, targetSection::PetscSection, partSection::PetscSection) - error("PetscPartitionerPartition: no generated method for these argument types") + throw(MethodError(PetscPartitionerPartition, (petsclib, part, nparts, numVertices, start, adjacency, vertexSection, edgeSection, targetSection, partSection))) end @for_petsc function PetscPartitionerPartition(petsclib::$UnionPetscLib, part::PetscPartitioner, nparts::$PetscInt, numVertices::$PetscInt, start::Vector{$PetscInt}, adjacency::Vector{$PetscInt}, vertexSection::PetscSection, edgeSection::PetscSection, targetSection::PetscSection, partSection::PetscSection ) @@ -309,7 +309,7 @@ See also: `PetscPartitionerRegisterAll()` $(_doc_external("MatGraphOperations/PetscPartitionerRegister")) """ function PetscPartitionerRegister(petsclib::PetscLibType, sname::String, fnc::external) - error("PetscPartitionerRegister: no generated method for these argument types") + throw(MethodError(PetscPartitionerRegister, (petsclib, sname, fnc))) end @for_petsc function PetscPartitionerRegister(petsclib::$UnionPetscLib, sname::String, fnc::external ) @@ -342,7 +342,7 @@ See also: `PetscPartitionerSetUp()`, `PetscPartitionerDestroy()` $(_doc_external("MatGraphOperations/PetscPartitionerReset")) """ function PetscPartitionerReset(petsclib::PetscLibType, part::PetscPartitioner) - error("PetscPartitionerReset: no generated method for these argument types") + throw(MethodError(PetscPartitionerReset, (petsclib, part))) end @for_petsc function PetscPartitionerReset(petsclib::$UnionPetscLib, part::PetscPartitioner ) @@ -380,7 +380,7 @@ See also: `PetscPartitionerView()`, `PetscPartitionerSetType()`, `PetscPartition $(_doc_external("MatGraphOperations/PetscPartitionerSetFromOptions")) """ function PetscPartitionerSetFromOptions(petsclib::PetscLibType, part::PetscPartitioner) - error("PetscPartitionerSetFromOptions: no generated method for these argument types") + throw(MethodError(PetscPartitionerSetFromOptions, (petsclib, part))) end @for_petsc function PetscPartitionerSetFromOptions(petsclib::$UnionPetscLib, part::PetscPartitioner ) @@ -417,7 +417,7 @@ See also: `PetscPartitionerGetType()`, `PetscPartitionerCreate()` $(_doc_external("MatGraphOperations/PetscPartitionerSetType")) """ function PetscPartitionerSetType(petsclib::PetscLibType, part::PetscPartitioner, name::String) - error("PetscPartitionerSetType: no generated method for these argument types") + throw(MethodError(PetscPartitionerSetType, (petsclib, part, name))) end @for_petsc function PetscPartitionerSetType(petsclib::$UnionPetscLib, part::PetscPartitioner, name::String ) @@ -450,7 +450,7 @@ See also: `PetscPartitionerView()`, `PetscPartitionerDestroy()` $(_doc_external("MatGraphOperations/PetscPartitionerSetUp")) """ function PetscPartitionerSetUp(petsclib::PetscLibType, part::PetscPartitioner) - error("PetscPartitionerSetUp: no generated method for these argument types") + throw(MethodError(PetscPartitionerSetUp, (petsclib, part))) end @for_petsc function PetscPartitionerSetUp(petsclib::$UnionPetscLib, part::PetscPartitioner ) @@ -486,7 +486,7 @@ See also: `PetscPartitionerShellSetRandom()`, `PetscPartitionerCreate()` $(_doc_external("MatGraphOperations/PetscPartitionerShellGetRandom")) """ function PetscPartitionerShellGetRandom(petsclib::PetscLibType, part::PetscPartitioner) - error("PetscPartitionerShellGetRandom: no generated method for these argument types") + throw(MethodError(PetscPartitionerShellGetRandom, (petsclib, part))) end @for_petsc function PetscPartitionerShellGetRandom(petsclib::$UnionPetscLib, part::PetscPartitioner ) @@ -524,7 +524,7 @@ See also: `DMPlexDistribute()`, `PetscPartitionerCreate()` $(_doc_external("MatGraphOperations/PetscPartitionerShellSetPartition")) """ function PetscPartitionerShellSetPartition(petsclib::PetscLibType, part::PetscPartitioner, size::Integer, sizes::AbstractVector{<:Number}, points::AbstractVector{<:Number}) - error("PetscPartitionerShellSetPartition: no generated method for these argument types") + throw(MethodError(PetscPartitionerShellSetPartition, (petsclib, part, size, sizes, points))) end @for_petsc function PetscPartitionerShellSetPartition(petsclib::$UnionPetscLib, part::PetscPartitioner, size::$PetscInt, sizes::Vector{$PetscInt}, points::Vector{$PetscInt} ) @@ -558,7 +558,7 @@ See also: `PetscPartitionerShellGetRandom()`, `PetscPartitionerCreate()` $(_doc_external("MatGraphOperations/PetscPartitionerShellSetRandom")) """ function PetscPartitionerShellSetRandom(petsclib::PetscLibType, part::PetscPartitioner, random::PetscBool) - error("PetscPartitionerShellSetRandom: no generated method for these argument types") + throw(MethodError(PetscPartitionerShellSetRandom, (petsclib, part, random))) end @for_petsc function PetscPartitionerShellSetRandom(petsclib::$UnionPetscLib, part::PetscPartitioner, random::PetscBool ) @@ -592,7 +592,7 @@ See also: `PetscPartitionerDestroy()` $(_doc_external("MatGraphOperations/PetscPartitionerView")) """ function PetscPartitionerView(petsclib::PetscLibType, part::PetscPartitioner, v::PetscViewer) - error("PetscPartitionerView: no generated method for these argument types") + throw(MethodError(PetscPartitionerView, (petsclib, part, v))) end @for_petsc function PetscPartitionerView(petsclib::$UnionPetscLib, part::PetscPartitioner, v::PetscViewer ) @@ -630,7 +630,7 @@ See also: `PetscPartitionerView()`, `PetscObjectViewFromOptions()` $(_doc_external("MatGraphOperations/PetscPartitionerViewFromOptions")) """ function PetscPartitionerViewFromOptions(petsclib::PetscLibType, A::PetscPartitioner, obj, name::String) - error("PetscPartitionerViewFromOptions: no generated method for these argument types") + throw(MethodError(PetscPartitionerViewFromOptions, (petsclib, A, obj, name))) end @for_petsc function PetscPartitionerViewFromOptions(petsclib::$UnionPetscLib, A::PetscPartitioner, obj, name::String ) diff --git a/src/autowrapped/PetscRandom_wrappers.jl b/src/autowrapped/PetscRandom_wrappers.jl index e0db8a19e..a7032a07e 100644 --- a/src/autowrapped/PetscRandom_wrappers.jl +++ b/src/autowrapped/PetscRandom_wrappers.jl @@ -20,7 +20,7 @@ See also: `PetscRandomSetType()`, `PetscRandomGetValue()`, `PetscRandomGetValueR $(_doc_external("Sys/PetscRandomCreate")) """ function PetscRandomCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("PetscRandomCreate: no generated method for these argument types") + throw(MethodError(PetscRandomCreate, (petsclib, comm))) end @for_petsc function PetscRandomCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -55,7 +55,7 @@ See also: `PetscRandom`, `PetscRandomGetValue()`, `PetscRandomCreate()`, `VecSet $(_doc_external("Sys/PetscRandomDestroy")) """ function PetscRandomDestroy(petsclib::PetscLibType, r::Union{PetscRandom, Ref{PetscRandom}}) - error("PetscRandomDestroy: no generated method for these argument types") + throw(MethodError(PetscRandomDestroy, (petsclib, r))) end @for_petsc function PetscRandomDestroy(petsclib::$UnionPetscLib, r::Union{PetscRandom, Ref{PetscRandom}} ) @@ -85,7 +85,7 @@ See also: `PetscFinalize()` $(_doc_external("Sys/PetscRandomFinalizePackage")) """ function PetscRandomFinalizePackage(petsclib::PetscLibType) - error("PetscRandomFinalizePackage: no generated method for these argument types") + throw(MethodError(PetscRandomFinalizePackage, (petsclib, ))) end @for_petsc function PetscRandomFinalizePackage(petsclib::$UnionPetscLib) @@ -122,7 +122,7 @@ See also: `PetscRandom`, `PetscRandomCreate()`, `PetscRandomSetInterval()` $(_doc_external("Sys/PetscRandomGetInterval")) """ function PetscRandomGetInterval(petsclib::PetscLibType, r::PetscRandom) - error("PetscRandomGetInterval: no generated method for these argument types") + throw(MethodError(PetscRandomGetInterval, (petsclib, r))) end @for_petsc function PetscRandomGetInterval(petsclib::$UnionPetscLib, r::PetscRandom ) @@ -162,7 +162,7 @@ See also: `PetscRandom`, `PetscRandomCreate()`, `PetscRandomSetSeed()`, `PetscRa $(_doc_external("Sys/PetscRandomGetSeed")) """ function PetscRandomGetSeed(petsclib::PetscLibType, r::PetscRandom) - error("PetscRandomGetSeed: no generated method for these argument types") + throw(MethodError(PetscRandomGetSeed, (petsclib, r))) end @for_petsc function PetscRandomGetSeed(petsclib::$UnionPetscLib, r::PetscRandom ) @@ -200,7 +200,7 @@ See also: `PetscRandom`, `PetscRandomType`, `PetscRandomSetType()`, `PetscRandom $(_doc_external("Sys/PetscRandomGetType")) """ function PetscRandomGetType(petsclib::PetscLibType, rnd::PetscRandom) - error("PetscRandomGetType: no generated method for these argument types") + throw(MethodError(PetscRandomGetType, (petsclib, rnd))) end @for_petsc function PetscRandomGetType(petsclib::$UnionPetscLib, rnd::PetscRandom ) @@ -239,7 +239,7 @@ See also: `PetscRandom`, `PetscRandomCreate()`, `PetscRandomDestroy()`, `VecSetR $(_doc_external("Sys/PetscRandomGetValue")) """ function PetscRandomGetValue(petsclib::PetscLibType, r::PetscRandom) - error("PetscRandomGetValue: no generated method for these argument types") + throw(MethodError(PetscRandomGetValue, (petsclib, r))) end @for_petsc function PetscRandomGetValue(petsclib::$UnionPetscLib, r::PetscRandom ) @@ -278,7 +278,7 @@ See also: `PetscRandom`, `PetscRandomCreate()`, `PetscRandomDestroy()`, `VecSetR $(_doc_external("Sys/PetscRandomGetValueReal")) """ function PetscRandomGetValueReal(petsclib::PetscLibType, r::PetscRandom) - error("PetscRandomGetValueReal: no generated method for these argument types") + throw(MethodError(PetscRandomGetValueReal, (petsclib, r))) end @for_petsc function PetscRandomGetValueReal(petsclib::$UnionPetscLib, r::PetscRandom ) @@ -318,7 +318,7 @@ See also: `PetscRandom`, `PetscRandomCreate()`, `PetscRandomDestroy()`, `VecSetR $(_doc_external("Sys/PetscRandomGetValues")) """ function PetscRandomGetValues(petsclib::PetscLibType, r::PetscRandom, n::Integer) - error("PetscRandomGetValues: no generated method for these argument types") + throw(MethodError(PetscRandomGetValues, (petsclib, r, n))) end @for_petsc function PetscRandomGetValues(petsclib::$UnionPetscLib, r::PetscRandom, n::$PetscInt ) @@ -358,7 +358,7 @@ See also: `PetscRandom`, `PetscRandomCreate()`, `PetscRandomDestroy()`, `VecSetR $(_doc_external("Sys/PetscRandomGetValuesReal")) """ function PetscRandomGetValuesReal(petsclib::PetscLibType, r::PetscRandom, n::Integer) - error("PetscRandomGetValuesReal: no generated method for these argument types") + throw(MethodError(PetscRandomGetValuesReal, (petsclib, r, n))) end @for_petsc function PetscRandomGetValuesReal(petsclib::$UnionPetscLib, r::PetscRandom, n::$PetscInt ) @@ -390,7 +390,7 @@ See also: `PetscInitialize()` $(_doc_external("Sys/PetscRandomInitializePackage")) """ function PetscRandomInitializePackage(petsclib::PetscLibType) - error("PetscRandomInitializePackage: no generated method for these argument types") + throw(MethodError(PetscRandomInitializePackage, (petsclib, ))) end @for_petsc function PetscRandomInitializePackage(petsclib::$UnionPetscLib) @@ -423,7 +423,7 @@ See also: `PetscRandom`, `PetscRandomRegisterAll()`, `PetscRandomRegisterDestroy $(_doc_external("Sys/PetscRandomRegister")) """ function PetscRandomRegister(petsclib::PetscLibType, sname::String, fnc::external) - error("PetscRandomRegister: no generated method for these argument types") + throw(MethodError(PetscRandomRegister, (petsclib, sname, fnc))) end @for_petsc function PetscRandomRegister(petsclib::$UnionPetscLib, sname::String, fnc::external ) @@ -456,7 +456,7 @@ See also: `PetscRandomCreate()`, `PetscRandomGetSeed()`, `PetscRandomSetSeed()` $(_doc_external("Sys/PetscRandomSeed")) """ function PetscRandomSeed(petsclib::PetscLibType, r::PetscRandom) - error("PetscRandomSeed: no generated method for these argument types") + throw(MethodError(PetscRandomSeed, (petsclib, r))) end @for_petsc function PetscRandomSeed(petsclib::$UnionPetscLib, r::PetscRandom ) @@ -494,7 +494,7 @@ See also: `PetscRandom`, `PetscRandomCreate()`, `PetscRandomSetType()` $(_doc_external("Sys/PetscRandomSetFromOptions")) """ function PetscRandomSetFromOptions(petsclib::PetscLibType, rnd::PetscRandom) - error("PetscRandomSetFromOptions: no generated method for these argument types") + throw(MethodError(PetscRandomSetFromOptions, (petsclib, rnd))) end @for_petsc function PetscRandomSetFromOptions(petsclib::$UnionPetscLib, rnd::PetscRandom ) @@ -530,7 +530,7 @@ See also: `PetscRandomCreate()`, `PetscRandomGetInterval()` $(_doc_external("Sys/PetscRandomSetInterval")) """ function PetscRandomSetInterval(petsclib::PetscLibType, r::PetscRandom, low::Number, high::Number) - error("PetscRandomSetInterval: no generated method for these argument types") + throw(MethodError(PetscRandomSetInterval, (petsclib, r, low, high))) end @for_petsc function PetscRandomSetInterval(petsclib::$UnionPetscLib, r::PetscRandom, low::$PetscScalar, high::$PetscScalar ) @@ -565,7 +565,7 @@ See also: `PetscRandom`, `PetscRandomSetFromOptions()` $(_doc_external("Sys/PetscRandomSetOptionsPrefix")) """ function PetscRandomSetOptionsPrefix(petsclib::PetscLibType, r::PetscRandom, prefix::String) - error("PetscRandomSetOptionsPrefix: no generated method for these argument types") + throw(MethodError(PetscRandomSetOptionsPrefix, (petsclib, r, prefix))) end @for_petsc function PetscRandomSetOptionsPrefix(petsclib::$UnionPetscLib, r::PetscRandom, prefix::String ) @@ -599,7 +599,7 @@ See also: `PetscRandom`, `PetscRandomCreate()`, `PetscRandomGetSeed()`, `PetscRa $(_doc_external("Sys/PetscRandomSetSeed")) """ function PetscRandomSetSeed(petsclib::PetscLibType, r::PetscRandom, seed::PetscInt64) - error("PetscRandomSetSeed: no generated method for these argument types") + throw(MethodError(PetscRandomSetSeed, (petsclib, r, seed))) end @for_petsc function PetscRandomSetSeed(petsclib::$UnionPetscLib, r::PetscRandom, seed::$PetscInt64 ) @@ -636,7 +636,7 @@ See also: `PetscRandom`, `PetscRandomType`, `PetscRandomGetType()`, `PetscRandom $(_doc_external("Sys/PetscRandomSetType")) """ function PetscRandomSetType(petsclib::PetscLibType, rnd::PetscRandom, type::String) - error("PetscRandomSetType: no generated method for these argument types") + throw(MethodError(PetscRandomSetType, (petsclib, rnd, type))) end @for_petsc function PetscRandomSetType(petsclib::$UnionPetscLib, rnd::PetscRandom, type::String ) @@ -670,7 +670,7 @@ See also: `PetscRandom`, `PetscRealView()`, `PetscScalarView()`, `PetscIntView() $(_doc_external("Sys/PetscRandomView")) """ function PetscRandomView(petsclib::PetscLibType, rnd::PetscRandom, viewer::PetscViewer) - error("PetscRandomView: no generated method for these argument types") + throw(MethodError(PetscRandomView, (petsclib, rnd, viewer))) end @for_petsc function PetscRandomView(petsclib::$UnionPetscLib, rnd::PetscRandom, viewer::PetscViewer ) @@ -708,7 +708,7 @@ See also: `PetscRandom`, `PetscRandomView`, `PetscObjectViewFromOptions()`, `Pet $(_doc_external("Sys/PetscRandomViewFromOptions")) """ function PetscRandomViewFromOptions(petsclib::PetscLibType, A::PetscRandom, obj, name::String) - error("PetscRandomViewFromOptions: no generated method for these argument types") + throw(MethodError(PetscRandomViewFromOptions, (petsclib, A, obj, name))) end @for_petsc function PetscRandomViewFromOptions(petsclib::$UnionPetscLib, A::PetscRandom, obj, name::String ) diff --git a/src/autowrapped/PetscRegressor_wrappers.jl b/src/autowrapped/PetscRegressor_wrappers.jl index 9300e147c..2dada8b8a 100644 --- a/src/autowrapped/PetscRegressor_wrappers.jl +++ b/src/autowrapped/PetscRegressor_wrappers.jl @@ -16,7 +16,7 @@ See also: `PetscRegressor`, `PetscRegressorSetFromOptions()`, `PetscRegressorSet $(_doc_external("PetscRegressor/PetscRegressorAppendOptionsPrefix")) """ function PetscRegressorAppendOptionsPrefix(petsclib::PetscLibType, regressor::PetscRegressor, p::String) - error("PetscRegressorAppendOptionsPrefix: no generated method for these argument types") + throw(MethodError(PetscRegressorAppendOptionsPrefix, (petsclib, regressor, p))) end @for_petsc function PetscRegressorAppendOptionsPrefix(petsclib::$UnionPetscLib, regressor::PetscRegressor, p::String ) @@ -52,7 +52,7 @@ See also: `PetscRegressorFit()`, `PetscRegressorPredict()`, `PetscRegressor` $(_doc_external("PetscRegressor/PetscRegressorCreate")) """ function PetscRegressorCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("PetscRegressorCreate: no generated method for these argument types") + throw(MethodError(PetscRegressorCreate, (petsclib, comm))) end @for_petsc function PetscRegressorCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -87,7 +87,7 @@ See also: `PetscRegressorCreate()`, `PetscRegressorSetUp()`, `PetscRegressorRese $(_doc_external("PetscRegressor/PetscRegressorDestroy")) """ function PetscRegressorDestroy(petsclib::PetscLibType, regressor::Union{PetscRegressor, Ref{PetscRegressor}}) - error("PetscRegressorDestroy: no generated method for these argument types") + throw(MethodError(PetscRegressorDestroy, (petsclib, regressor))) end @for_petsc function PetscRegressorDestroy(petsclib::$UnionPetscLib, regressor::Union{PetscRegressor, Ref{PetscRegressor}} ) @@ -118,7 +118,7 @@ See also: `PetscRegressorInitializePackage()` $(_doc_external("PetscRegressor/PetscRegressorFinalizePackage")) """ function PetscRegressorFinalizePackage(petsclib::PetscLibType) - error("PetscRegressorFinalizePackage: no generated method for these argument types") + throw(MethodError(PetscRegressorFinalizePackage, (petsclib, ))) end @for_petsc function PetscRegressorFinalizePackage(petsclib::$UnionPetscLib) @@ -152,7 +152,7 @@ See also: `PetscRegressorCreate()`, `PetscRegressorSetUp()`, `PetscRegressorDest $(_doc_external("PetscRegressor/PetscRegressorFit")) """ function PetscRegressorFit(petsclib::PetscLibType, regressor::PetscRegressor, X::AbstractPetscMat, y::AbstractPetscVec) - error("PetscRegressorFit: no generated method for these argument types") + throw(MethodError(PetscRegressorFit, (petsclib, regressor, X, y))) end @for_petsc function PetscRegressorFit(petsclib::$UnionPetscLib, regressor::PetscRegressor, X::AbstractPetscMat, y::AbstractPetscVec ) @@ -187,7 +187,7 @@ See also: `PetscRegressor`, `PetscRegressorSetFromOptions()`, `PetscRegressorSet $(_doc_external("PetscRegressor/PetscRegressorGetOptionsPrefix")) """ function PetscRegressorGetOptionsPrefix(petsclib::PetscLibType, regressor::PetscRegressor) - error("PetscRegressorGetOptionsPrefix: no generated method for these argument types") + throw(MethodError(PetscRegressorGetOptionsPrefix, (petsclib, regressor))) end @for_petsc function PetscRegressorGetOptionsPrefix(petsclib::$UnionPetscLib, regressor::PetscRegressor ) @@ -225,7 +225,7 @@ See also: `PetscRegressorLinearGetKSP()` $(_doc_external("PetscRegressor/PetscRegressorGetTao")) """ function PetscRegressorGetTao(petsclib::PetscLibType, regressor::PetscRegressor) - error("PetscRegressorGetTao: no generated method for these argument types") + throw(MethodError(PetscRegressorGetTao, (petsclib, regressor))) end @for_petsc function PetscRegressorGetTao(petsclib::$UnionPetscLib, regressor::PetscRegressor ) @@ -263,7 +263,7 @@ See also: `PetscRegressor`, `PetscRegressorType`, `PetscRegressorSetType()` $(_doc_external("PetscRegressor/PetscRegressorGetType")) """ function PetscRegressorGetType(petsclib::PetscLibType, regressor::PetscRegressor) - error("PetscRegressorGetType: no generated method for these argument types") + throw(MethodError(PetscRegressorGetType, (petsclib, regressor))) end @for_petsc function PetscRegressorGetType(petsclib::$UnionPetscLib, regressor::PetscRegressor ) @@ -295,7 +295,7 @@ See also: `PetscRegressorFinalizePackage()` $(_doc_external("PetscRegressor/PetscRegressorInitializePackage")) """ function PetscRegressorInitializePackage(petsclib::PetscLibType) - error("PetscRegressorInitializePackage: no generated method for these argument types") + throw(MethodError(PetscRegressorInitializePackage, (petsclib, ))) end @for_petsc function PetscRegressorInitializePackage(petsclib::$UnionPetscLib) @@ -330,7 +330,7 @@ See also: `PetscRegressorGetTao()` $(_doc_external("PetscRegressor/PetscRegressorLinearGetKSP")) """ function PetscRegressorLinearGetKSP(petsclib::PetscLibType, regressor::PetscRegressor) - error("PetscRegressorLinearGetKSP: no generated method for these argument types") + throw(MethodError(PetscRegressorLinearGetKSP, (petsclib, regressor))) end @for_petsc function PetscRegressorLinearGetKSP(petsclib::$UnionPetscLib, regressor::PetscRegressor ) @@ -366,7 +366,7 @@ See also: `PetscRegressor`, `PETSCREGRESSORLINEAR`, `PetscRegressorLinearSetType $(_doc_external("PetscRegressor/PetscRegressorLinearGetType")) """ function PetscRegressorLinearGetType(petsclib::PetscLibType, regressor::PetscRegressor) - error("PetscRegressorLinearGetType: no generated method for these argument types") + throw(MethodError(PetscRegressorLinearGetType, (petsclib, regressor))) end @for_petsc function PetscRegressorLinearGetType(petsclib::$UnionPetscLib, regressor::PetscRegressor ) @@ -406,7 +406,7 @@ See also: `PetscRegressor`, `PetscRegressorFit()` $(_doc_external("PetscRegressor/PetscRegressorLinearSetFitIntercept")) """ function PetscRegressorLinearSetFitIntercept(petsclib::PetscLibType, regressor::PetscRegressor, flg::PetscBool) - error("PetscRegressorLinearSetFitIntercept: no generated method for these argument types") + throw(MethodError(PetscRegressorLinearSetFitIntercept, (petsclib, regressor, flg))) end @for_petsc function PetscRegressorLinearSetFitIntercept(petsclib::$UnionPetscLib, regressor::PetscRegressor, flg::PetscBool ) @@ -445,7 +445,7 @@ See also: `PetscRegressorLinearGetType()`, `PetscRegressorLinearType`, `PetscReg $(_doc_external("PetscRegressor/PetscRegressorLinearSetType")) """ function PetscRegressorLinearSetType(petsclib::PetscLibType, regressor::PetscRegressor, type::PetscRegressorLinearType) - error("PetscRegressorLinearSetType: no generated method for these argument types") + throw(MethodError(PetscRegressorLinearSetType, (petsclib, regressor, type))) end @for_petsc function PetscRegressorLinearSetType(petsclib::$UnionPetscLib, regressor::PetscRegressor, type::PetscRegressorLinearType ) @@ -483,7 +483,7 @@ See also: `PetscRegressor`, `PetscRegressorLinearGetKSP()`, `KSPLSQR`, `PCQR`, ` $(_doc_external("PetscRegressor/PetscRegressorLinearSetUseKSP")) """ function PetscRegressorLinearSetUseKSP(petsclib::PetscLibType, regressor::PetscRegressor, flg::PetscBool) - error("PetscRegressorLinearSetUseKSP: no generated method for these argument types") + throw(MethodError(PetscRegressorLinearSetUseKSP, (petsclib, regressor, flg))) end @for_petsc function PetscRegressorLinearSetUseKSP(petsclib::$UnionPetscLib, regressor::PetscRegressor, flg::PetscBool ) @@ -520,7 +520,7 @@ See also: `PetscRegressorFit()`, `PetscRegressorDestroy()` $(_doc_external("PetscRegressor/PetscRegressorPredict")) """ function PetscRegressorPredict(petsclib::PetscLibType, regressor::PetscRegressor, X::AbstractPetscMat, y::AbstractPetscVec) - error("PetscRegressorPredict: no generated method for these argument types") + throw(MethodError(PetscRegressorPredict, (petsclib, regressor, X, y))) end @for_petsc function PetscRegressorPredict(petsclib::$UnionPetscLib, regressor::PetscRegressor, X::AbstractPetscMat, y::AbstractPetscVec ) @@ -552,7 +552,7 @@ See also: `PetscRegressorRegisterAll()` $(_doc_external("PetscRegressor/PetscRegressorRegister")) """ function PetscRegressorRegister(petsclib::PetscLibType, sname::String, fnc::external) - error("PetscRegressorRegister: no generated method for these argument types") + throw(MethodError(PetscRegressorRegister, (petsclib, sname, fnc))) end @for_petsc function PetscRegressorRegister(petsclib::$UnionPetscLib, sname::String, fnc::external ) @@ -585,7 +585,7 @@ See also: `PetscRegressorCreate()`, `PetscRegressorSetUp()`, `PetscRegressorFit( $(_doc_external("PetscRegressor/PetscRegressorReset")) """ function PetscRegressorReset(petsclib::PetscLibType, regressor::PetscRegressor) - error("PetscRegressorReset: no generated method for these argument types") + throw(MethodError(PetscRegressorReset, (petsclib, regressor))) end @for_petsc function PetscRegressorReset(petsclib::$UnionPetscLib, regressor::PetscRegressor ) @@ -621,7 +621,7 @@ See also: `PetscRegressor`, `PetscRegressorCreate()` $(_doc_external("PetscRegressor/PetscRegressorSetFromOptions")) """ function PetscRegressorSetFromOptions(petsclib::PetscLibType, regressor::PetscRegressor) - error("PetscRegressorSetFromOptions: no generated method for these argument types") + throw(MethodError(PetscRegressorSetFromOptions, (petsclib, regressor))) end @for_petsc function PetscRegressorSetFromOptions(petsclib::$UnionPetscLib, regressor::PetscRegressor ) @@ -656,7 +656,7 @@ See also: `PetscRegressor`, `PetscRegressorSetFromOptions()`, `PetscRegressorApp $(_doc_external("PetscRegressor/PetscRegressorSetOptionsPrefix")) """ function PetscRegressorSetOptionsPrefix(petsclib::PetscLibType, regressor::PetscRegressor, p::String) - error("PetscRegressorSetOptionsPrefix: no generated method for these argument types") + throw(MethodError(PetscRegressorSetOptionsPrefix, (petsclib, regressor, p))) end @for_petsc function PetscRegressorSetOptionsPrefix(petsclib::$UnionPetscLib, regressor::PetscRegressor, p::String ) @@ -693,7 +693,7 @@ See also: `PetscRegressorSetType` $(_doc_external("PetscRegressor/PetscRegressorSetRegularizerWeight")) """ function PetscRegressorSetRegularizerWeight(petsclib::PetscLibType, regressor::PetscRegressor, weight::Real) - error("PetscRegressorSetRegularizerWeight: no generated method for these argument types") + throw(MethodError(PetscRegressorSetRegularizerWeight, (petsclib, regressor, weight))) end @for_petsc function PetscRegressorSetRegularizerWeight(petsclib::$UnionPetscLib, regressor::PetscRegressor, weight::$PetscReal ) @@ -730,7 +730,7 @@ See also: `PetscRegressorType` $(_doc_external("PetscRegressor/PetscRegressorSetType")) """ function PetscRegressorSetType(petsclib::PetscLibType, regressor::PetscRegressor, type::String) - error("PetscRegressorSetType: no generated method for these argument types") + throw(MethodError(PetscRegressorSetType, (petsclib, regressor, type))) end @for_petsc function PetscRegressorSetType(petsclib::$UnionPetscLib, regressor::PetscRegressor, type::String ) @@ -761,7 +761,7 @@ See also: `PetscRegressorCreate()`, `PetscRegressorFit()`, `PetscRegressorDestro $(_doc_external("PetscRegressor/PetscRegressorSetUp")) """ function PetscRegressorSetUp(petsclib::PetscLibType, regressor::PetscRegressor) - error("PetscRegressorSetUp: no generated method for these argument types") + throw(MethodError(PetscRegressorSetUp, (petsclib, regressor))) end @for_petsc function PetscRegressorSetUp(petsclib::$UnionPetscLib, regressor::PetscRegressor ) @@ -798,7 +798,7 @@ See also: `PetscRegressor`, `PetscViewerASCIIOpen()` $(_doc_external("PetscRegressor/PetscRegressorView")) """ function PetscRegressorView(petsclib::PetscLibType, regressor::PetscRegressor, viewer::PetscViewer) - error("PetscRegressorView: no generated method for these argument types") + throw(MethodError(PetscRegressorView, (petsclib, regressor, viewer))) end @for_petsc function PetscRegressorView(petsclib::$UnionPetscLib, regressor::PetscRegressor, viewer::PetscViewer ) @@ -836,7 +836,7 @@ See also: `PetscRegressor`, `PetscRegressorView`, `PetscObjectViewFromOptions()` $(_doc_external("PetscRegressor/PetscRegressorViewFromOptions")) """ function PetscRegressorViewFromOptions(petsclib::PetscLibType, A::PetscRegressor, obj, name::String) - error("PetscRegressorViewFromOptions: no generated method for these argument types") + throw(MethodError(PetscRegressorViewFromOptions, (petsclib, A, obj, name))) end @for_petsc function PetscRegressorViewFromOptions(petsclib::$UnionPetscLib, A::PetscRegressor, obj, name::String ) diff --git a/src/autowrapped/PetscSF_wrappers.jl b/src/autowrapped/PetscSF_wrappers.jl index f43c0d00e..1f3340d19 100644 --- a/src/autowrapped/PetscSF_wrappers.jl +++ b/src/autowrapped/PetscSF_wrappers.jl @@ -17,7 +17,7 @@ See also: `PetscSF`, `PetscSFComposeInverse()`, `PetscSFGetGraph()`, `PetscSFSet $(_doc_external("PetscSF/PetscSFCompose")) """ function PetscSFCompose(petsclib::PetscLibType, sfA::PetscSF, sfB::PetscSF) - error("PetscSFCompose: no generated method for these argument types") + throw(MethodError(PetscSFCompose, (petsclib, sfA, sfB))) end @for_petsc function PetscSFCompose(petsclib::$UnionPetscLib, sfA::PetscSF, sfB::PetscSF ) @@ -54,7 +54,7 @@ See also: `PetscSF`, `PetscSFCompose()`, `PetscSFGetGraph()`, `PetscSFSetGraph() $(_doc_external("PetscSF/PetscSFComposeInverse")) """ function PetscSFComposeInverse(petsclib::PetscLibType, sfA::PetscSF, sfB::PetscSF) - error("PetscSFComposeInverse: no generated method for these argument types") + throw(MethodError(PetscSFComposeInverse, (petsclib, sfA, sfB))) end @for_petsc function PetscSFComposeInverse(petsclib::$UnionPetscLib, sfA::PetscSF, sfB::PetscSF ) @@ -92,7 +92,7 @@ See also: `PetscSF`, `PetscSFGatherBegin()`, `PetscSFComputeDegreeEnd()` $(_doc_external("PetscSF/PetscSFComputeDegreeBegin")) """ function PetscSFComputeDegreeBegin(petsclib::PetscLibType, sf::PetscSF) - error("PetscSFComputeDegreeBegin: no generated method for these argument types") + throw(MethodError(PetscSFComputeDegreeBegin, (petsclib, sf))) end @for_petsc function PetscSFComputeDegreeBegin(petsclib::$UnionPetscLib, sf::PetscSF ) @@ -130,7 +130,7 @@ See also: `PetscSF`, `PetscSFGatherBegin()`, `PetscSFComputeDegreeBegin()` $(_doc_external("PetscSF/PetscSFComputeDegreeEnd")) """ function PetscSFComputeDegreeEnd(petsclib::PetscLibType, sf::PetscSF) - error("PetscSFComputeDegreeEnd: no generated method for these argument types") + throw(MethodError(PetscSFComputeDegreeEnd, (petsclib, sf))) end @for_petsc function PetscSFComputeDegreeEnd(petsclib::$UnionPetscLib, sf::PetscSF ) @@ -171,7 +171,7 @@ See also: `PetscSF`, `PetscSFComputeDegreeBegin()`, `PetscSFComputeDegreeEnd()`, $(_doc_external("PetscSF/PetscSFComputeMultiRootOriginalNumbering")) """ function PetscSFComputeMultiRootOriginalNumbering(petsclib::PetscLibType, sf::PetscSF, degree::AbstractVector{<:Number}) - error("PetscSFComputeMultiRootOriginalNumbering: no generated method for these argument types") + throw(MethodError(PetscSFComputeMultiRootOriginalNumbering, (petsclib, sf, degree))) end @for_petsc function PetscSFComputeMultiRootOriginalNumbering(petsclib::$UnionPetscLib, sf::PetscSF, degree::Vector{$PetscInt} ) @@ -213,7 +213,7 @@ See also: `PetscSF`, `PetscSFCompose()`, `PetscSFGetGraph()`, `PetscSFSetGraph() $(_doc_external("PetscSF/PetscSFConcatenate")) """ function PetscSFConcatenate(petsclib::PetscLibType, comm::MPI_Comm, nsfs::Integer, sfs::Vector{PetscSF}, rootMode::PetscSFConcatenateRootMode, leafOffsets::AbstractVector{<:Number}) - error("PetscSFConcatenate: no generated method for these argument types") + throw(MethodError(PetscSFConcatenate, (petsclib, comm, nsfs, sfs, rootMode, leafOffsets))) end @for_petsc function PetscSFConcatenate(petsclib::$UnionPetscLib, comm::MPI_Comm, nsfs::$PetscInt, sfs::Vector{PetscSF}, rootMode::PetscSFConcatenateRootMode, leafOffsets::Vector{$PetscInt} ) @@ -255,7 +255,7 @@ See also: `PetscSF`, `PetscSFSetType`, `PetscSFSetGraph()`, `PetscSFSetGraphWith $(_doc_external("PetscSF/PetscSFCreate")) """ function PetscSFCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("PetscSFCreate: no generated method for these argument types") + throw(MethodError(PetscSFCreate, (petsclib, comm))) end @for_petsc function PetscSFCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -354,7 +354,7 @@ See also: `PetscSF`, `PetscSFCreate()` $(_doc_external("PetscSF/PetscSFCreateByMatchingIndices")) """ function PetscSFCreateByMatchingIndices(petsclib::PetscLibType, layout::PetscLayout, numRootIndices::Integer, rootIndices::AbstractVector{<:Number}, rootLocalIndices::AbstractVector{<:Number}, rootLocalOffset::Integer, numLeafIndices::Integer, leafIndices::AbstractVector{<:Number}, leafLocalIndices::AbstractVector{<:Number}, leafLocalOffset::Integer) - error("PetscSFCreateByMatchingIndices: no generated method for these argument types") + throw(MethodError(PetscSFCreateByMatchingIndices, (petsclib, layout, numRootIndices, rootIndices, rootLocalIndices, rootLocalOffset, numLeafIndices, leafIndices, leafLocalIndices, leafLocalOffset))) end @for_petsc function PetscSFCreateByMatchingIndices(petsclib::$UnionPetscLib, layout::PetscLayout, numRootIndices::$PetscInt, rootIndices::Vector{$PetscInt}, rootLocalIndices::Vector{$PetscInt}, rootLocalOffset::$PetscInt, numLeafIndices::$PetscInt, leafIndices::Vector{$PetscInt}, leafLocalIndices::Vector{$PetscInt}, leafLocalOffset::$PetscInt ) @@ -396,7 +396,7 @@ See also: `PetscSF`, `PetscSFCreateEmbeddedRootSF()`, `PetscSFSetGraph()`, `Pets $(_doc_external("PetscSF/PetscSFCreateEmbeddedLeafSF")) """ function PetscSFCreateEmbeddedLeafSF(petsclib::PetscLibType, sf::PetscSF, nselected::Integer, selected::AbstractVector{<:Number}) - error("PetscSFCreateEmbeddedLeafSF: no generated method for these argument types") + throw(MethodError(PetscSFCreateEmbeddedLeafSF, (petsclib, sf, nselected, selected))) end @for_petsc function PetscSFCreateEmbeddedLeafSF(petsclib::$UnionPetscLib, sf::PetscSF, nselected::$PetscInt, selected::Vector{$PetscInt} ) @@ -436,7 +436,7 @@ See also: `PetscSF`, `PetscSFSetGraph()`, `PetscSFGetGraph()` $(_doc_external("PetscSF/PetscSFCreateEmbeddedRootSF")) """ function PetscSFCreateEmbeddedRootSF(petsclib::PetscLibType, sf::PetscSF, nselected::Integer, selected::AbstractVector{<:Number}) - error("PetscSFCreateEmbeddedRootSF: no generated method for these argument types") + throw(MethodError(PetscSFCreateEmbeddedRootSF, (petsclib, sf, nselected, selected))) end @for_petsc function PetscSFCreateEmbeddedRootSF(petsclib::$UnionPetscLib, sf::PetscSF, nselected::$PetscInt, selected::Vector{$PetscInt} ) @@ -475,7 +475,7 @@ See also: `PetscSF`, `PetscLayout`, `PetscSFCreate()`, `PetscSFSetGraph()`, `Pet $(_doc_external("PetscSF/PetscSFCreateFromLayouts")) """ function PetscSFCreateFromLayouts(petsclib::PetscLibType, rmap::PetscLayout, lmap::PetscLayout) - error("PetscSFCreateFromLayouts: no generated method for these argument types") + throw(MethodError(PetscSFCreateFromLayouts, (petsclib, rmap, lmap))) end @for_petsc function PetscSFCreateFromLayouts(petsclib::$UnionPetscLib, rmap::PetscLayout, lmap::PetscLayout ) @@ -513,7 +513,7 @@ See also: `PetscSF`, `PetscSFType`, `PetscSFSetGraph()` $(_doc_external("PetscSF/PetscSFCreateInverseSF")) """ function PetscSFCreateInverseSF(petsclib::PetscLibType, sf::PetscSF) - error("PetscSFCreateInverseSF: no generated method for these argument types") + throw(MethodError(PetscSFCreateInverseSF, (petsclib, sf))) end @for_petsc function PetscSFCreateInverseSF(petsclib::$UnionPetscLib, sf::PetscSF ) @@ -553,7 +553,7 @@ See also: `PetscSF`, `PetscSFCreate()` $(_doc_external("PetscSF/PetscSFCreateRemoteOffsets")) """ function PetscSFCreateRemoteOffsets(petsclib::PetscLibType, sf::PetscSF, rootSection::PetscSection, leafSection::PetscSection) - error("PetscSFCreateRemoteOffsets: no generated method for these argument types") + throw(MethodError(PetscSFCreateRemoteOffsets, (petsclib, sf, rootSection, leafSection))) end @for_petsc function PetscSFCreateRemoteOffsets(petsclib::$UnionPetscLib, sf::PetscSF, rootSection::PetscSection, leafSection::PetscSection ) @@ -594,7 +594,7 @@ See also: `PetscSF`, `PetscSFCreate()`, `PetscSFDistributeSection()` $(_doc_external("PetscSF/PetscSFCreateSectionSF")) """ function PetscSFCreateSectionSF(petsclib::PetscLibType, sf::PetscSF, rootSection::PetscSection, remoteOffsets::AbstractVector{<:Number}, leafSection::PetscSection) - error("PetscSFCreateSectionSF: no generated method for these argument types") + throw(MethodError(PetscSFCreateSectionSF, (petsclib, sf, rootSection, remoteOffsets, leafSection))) end @for_petsc function PetscSFCreateSectionSF(petsclib::$UnionPetscLib, sf::PetscSF, rootSection::PetscSection, remoteOffsets::Vector{$PetscInt}, leafSection::PetscSection ) @@ -635,7 +635,7 @@ See also: `PetscSF`, `PetscSFCreate()`, `PetscSFSetGraph()` $(_doc_external("PetscSF/PetscSFCreateStridedSF")) """ function PetscSFCreateStridedSF(petsclib::PetscLibType, sf::PetscSF, bs::Integer, ldr::Integer, ldl::Integer) - error("PetscSFCreateStridedSF: no generated method for these argument types") + throw(MethodError(PetscSFCreateStridedSF, (petsclib, sf, bs, ldr, ldl))) end @for_petsc function PetscSFCreateStridedSF(petsclib::$UnionPetscLib, sf::PetscSF, bs::$PetscInt, ldr::$PetscInt, ldl::$PetscInt ) @@ -670,7 +670,7 @@ See also: `PetscSF`, `PetscSFType`, `PetscSFCreate()`, `PetscSFReset()` $(_doc_external("PetscSF/PetscSFDestroy")) """ function PetscSFDestroy(petsclib::PetscLibType, sf::Union{PetscSF, Ref{PetscSF}}) - error("PetscSFDestroy: no generated method for these argument types") + throw(MethodError(PetscSFDestroy, (petsclib, sf))) end @for_petsc function PetscSFDestroy(petsclib::$UnionPetscLib, sf::Union{PetscSF, Ref{PetscSF}} ) @@ -709,7 +709,7 @@ See also: `PetscSF`, `PetscSFCreate()`, `PetscSFCreateSectionSF()` $(_doc_external("PetscSF/PetscSFDistributeSection")) """ function PetscSFDistributeSection(petsclib::PetscLibType, sf::PetscSF, rootSection::PetscSection, leafSection::PetscSection) - error("PetscSFDistributeSection: no generated method for these argument types") + throw(MethodError(PetscSFDistributeSection, (petsclib, sf, rootSection, leafSection))) end @for_petsc function PetscSFDistributeSection(petsclib::$UnionPetscLib, sf::PetscSF, rootSection::PetscSection, leafSection::PetscSection ) @@ -748,7 +748,7 @@ See also: `PetscSF`, `PetscSFType`, `PetscSFCreate()`, `PetscSFSetType()`, `Pets $(_doc_external("PetscSF/PetscSFDuplicate")) """ function PetscSFDuplicate(petsclib::PetscLibType, sf::PetscSF, opt::PetscSFDuplicateOption) - error("PetscSFDuplicate: no generated method for these argument types") + throw(MethodError(PetscSFDuplicate, (petsclib, sf, opt))) end @for_petsc function PetscSFDuplicate(petsclib::$UnionPetscLib, sf::PetscSF, opt::PetscSFDuplicateOption ) @@ -780,7 +780,7 @@ See also: `PetscSF`, `PetscSFInitializePackage()` $(_doc_external("PetscSF/PetscSFFinalizePackage")) """ function PetscSFFinalizePackage(petsclib::PetscLibType) - error("PetscSFFinalizePackage: no generated method for these argument types") + throw(MethodError(PetscSFFinalizePackage, (petsclib, ))) end @for_petsc function PetscSFFinalizePackage(petsclib::$UnionPetscLib) @@ -904,7 +904,7 @@ See also: `PetscSF`, `PetscSFGetWindow()`, `PetscSFRestoreWindow()` $(_doc_external("PetscSF/PetscSFGetGroups")) """ function PetscSFGetGroups(petsclib::PetscLibType, sf::PetscSF) - error("PetscSFGetGroups: no generated method for these argument types") + throw(MethodError(PetscSFGetGroups, (petsclib, sf))) end @for_petsc function PetscSFGetGroups(petsclib::$UnionPetscLib, sf::PetscSF ) @@ -945,7 +945,7 @@ See also: `PetscSF`, `PetscSFType`, `PetscSFCreate()`, `PetscSFView()`, `PetscSF $(_doc_external("PetscSF/PetscSFGetLeafRange")) """ function PetscSFGetLeafRange(petsclib::PetscLibType, sf::PetscSF) - error("PetscSFGetLeafRange: no generated method for these argument types") + throw(MethodError(PetscSFGetLeafRange, (petsclib, sf))) end @for_petsc function PetscSFGetLeafRange(petsclib::$UnionPetscLib, sf::PetscSF ) @@ -988,7 +988,7 @@ See also: `PetscSF`, `PetscSFGetRootRanks()` $(_doc_external("PetscSF/PetscSFGetLeafRanks")) """ function PetscSFGetLeafRanks(petsclib::PetscLibType, sf::PetscSF) - error("PetscSFGetLeafRanks: no generated method for these argument types") + throw(MethodError(PetscSFGetLeafRanks, (petsclib, sf))) end @for_petsc function PetscSFGetLeafRanks(petsclib::$UnionPetscLib, sf::PetscSF ) @@ -1032,7 +1032,7 @@ See also: `PetscSF`, `PetscSFSetGraph()`, `PetscSFGatherBegin()`, `PetscSFScatte $(_doc_external("PetscSF/PetscSFGetMultiSF")) """ function PetscSFGetMultiSF(petsclib::PetscLibType, sf::PetscSF) - error("PetscSFGetMultiSF: no generated method for these argument types") + throw(MethodError(PetscSFGetMultiSF, (petsclib, sf))) end @for_petsc function PetscSFGetMultiSF(petsclib::$UnionPetscLib, sf::PetscSF ) @@ -1070,7 +1070,7 @@ See also: `PetscSF`, `PetscSFSetGraph()`, `PetscSFGetRootRanks()` $(_doc_external("PetscSF/PetscSFGetRanksSF")) """ function PetscSFGetRanksSF(petsclib::PetscLibType, sf::PetscSF) - error("PetscSFGetRanksSF: no generated method for these argument types") + throw(MethodError(PetscSFGetRanksSF, (petsclib, sf))) end @for_petsc function PetscSFGetRanksSF(petsclib::$UnionPetscLib, sf::PetscSF ) @@ -1112,7 +1112,7 @@ See also: `PetscSF`, `PetscSFGetLeafRanks()` $(_doc_external("PetscSF/PetscSFGetRootRanks")) """ function PetscSFGetRootRanks(petsclib::PetscLibType, sf::PetscSF) - error("PetscSFGetRootRanks: no generated method for these argument types") + throw(MethodError(PetscSFGetRootRanks, (petsclib, sf))) end @for_petsc function PetscSFGetRootRanks(petsclib::$UnionPetscLib, sf::PetscSF ) @@ -1159,7 +1159,7 @@ See also: `PetscSF` $(_doc_external("DMNetwork/PetscSFGetSubSF")) """ function PetscSFGetSubSF(petsclib::PetscLibType, mainsf::PetscSF, map::ISLocalToGlobalMapping) - error("PetscSFGetSubSF: no generated method for these argument types") + throw(MethodError(PetscSFGetSubSF, (petsclib, mainsf, map))) end @for_petsc function PetscSFGetSubSF(petsclib::$UnionPetscLib, mainsf::PetscSF, map::ISLocalToGlobalMapping ) @@ -1197,7 +1197,7 @@ See also: `PetscSF`, `PetscSFType`, `PetscSFSetType()`, `PetscSFCreate()` $(_doc_external("PetscSF/PetscSFGetType")) """ function PetscSFGetType(petsclib::PetscLibType, sf::PetscSF) - error("PetscSFGetType: no generated method for these argument types") + throw(MethodError(PetscSFGetType, (petsclib, sf))) end @for_petsc function PetscSFGetType(petsclib::$UnionPetscLib, sf::PetscSF ) @@ -1229,7 +1229,7 @@ See also: `PetscSF`, `PetscSFFinalizePackage()` $(_doc_external("Sys/PetscSFInitializePackage")) """ function PetscSFInitializePackage(petsclib::PetscLibType) - error("PetscSFInitializePackage: no generated method for these argument types") + throw(MethodError(PetscSFInitializePackage, (petsclib, ))) end @for_petsc function PetscSFInitializePackage(petsclib::$UnionPetscLib) @@ -1265,7 +1265,7 @@ See also: `PetscSF`, `PetscSFCompose()` $(_doc_external("PetscSF/PetscSFMerge")) """ function PetscSFMerge(petsclib::PetscLibType, sfa::PetscSF, sfb::PetscSF) - error("PetscSFMerge: no generated method for these argument types") + throw(MethodError(PetscSFMerge, (petsclib, sfa, sfb))) end @for_petsc function PetscSFMerge(petsclib::$UnionPetscLib, sfa::PetscSF, sfb::PetscSF ) @@ -1299,7 +1299,7 @@ See also: `PetscSF`, `PetscSFType`, `PetscSFRegisterAll()`, `PetscSFInitializePa $(_doc_external("PetscSF/PetscSFRegister")) """ function PetscSFRegister(petsclib::PetscLibType, name::String, create::external) - error("PetscSFRegister: no generated method for these argument types") + throw(MethodError(PetscSFRegister, (petsclib, name, create))) end @for_petsc function PetscSFRegister(petsclib::$UnionPetscLib, name::String, create::external ) @@ -1332,7 +1332,7 @@ See also: `PetscSF`, `PetscSFCreate()`, `PetscSFSetGraph()`, `PetscSFDestroy()` $(_doc_external("PetscSF/PetscSFReset")) """ function PetscSFReset(petsclib::PetscLibType, sf::PetscSF) - error("PetscSFReset: no generated method for these argument types") + throw(MethodError(PetscSFReset, (petsclib, sf))) end @for_petsc function PetscSFReset(petsclib::$UnionPetscLib, sf::PetscSF ) @@ -1376,7 +1376,7 @@ See also: `PetscSF`, `PetscSFCreate()`, `PetscSFSetType()` $(_doc_external("PetscSF/PetscSFSetFromOptions")) """ function PetscSFSetFromOptions(petsclib::PetscLibType, sf::PetscSF) - error("PetscSFSetFromOptions: no generated method for these argument types") + throw(MethodError(PetscSFSetFromOptions, (petsclib, sf))) end @for_petsc function PetscSFSetFromOptions(petsclib::$UnionPetscLib, sf::PetscSF ) @@ -1415,7 +1415,7 @@ See also: `PetscSF`, `PetscSFType`, `PetscSFCreate()`, `PetscSFView()`, `PetscSF $(_doc_external("PetscSF/PetscSFSetGraph")) """ function PetscSFSetGraph(petsclib::PetscLibType, sf::PetscSF, nroots::Integer, nleaves::Integer, ilocal::AbstractVector{<:Number}, localmode::PetscCopyMode, iremote::Vector{PetscSFNode}, remotemode::PetscCopyMode) - error("PetscSFSetGraph: no generated method for these argument types") + throw(MethodError(PetscSFSetGraph, (petsclib, sf, nroots, nleaves, ilocal, localmode, iremote, remotemode))) end @for_petsc function PetscSFSetGraph(petsclib::$UnionPetscLib, sf::PetscSF, nroots::$PetscInt, nleaves::$PetscInt, ilocal::Vector{$PetscInt}, localmode::PetscCopyMode, iremote::Vector{PetscSFNode}, remotemode::PetscCopyMode ) @@ -1452,7 +1452,7 @@ See also: `PetscSFCreate()`, `PetscSFSetGraph()`, `PetscSFCreateByMatchingIndice $(_doc_external("PetscSF/PetscSFSetGraphFromCoordinates")) """ function PetscSFSetGraphFromCoordinates(petsclib::PetscLibType, sf::PetscSF, nroots::Integer, nleaves::Integer, dim::Integer, tol::Real, rootcoords::AbstractVector{<:Number}, leafcoords::AbstractVector{<:Number}) - error("PetscSFSetGraphFromCoordinates: no generated method for these argument types") + throw(MethodError(PetscSFSetGraphFromCoordinates, (petsclib, sf, nroots, nleaves, dim, tol, rootcoords, leafcoords))) end @for_petsc function PetscSFSetGraphFromCoordinates(petsclib::$UnionPetscLib, sf::PetscSF, nroots::$PetscInt, nleaves::$PetscInt, dim::$PetscInt, tol::$PetscReal, rootcoords::Vector{$PetscReal}, leafcoords::Vector{$PetscReal} ) @@ -1490,7 +1490,7 @@ See also: `PetscSF`, `PetscSFGetGraphLayout()`, `PetscSFCreate()`, `PetscSFView( $(_doc_external("PetscSF/PetscSFSetGraphLayout")) """ function PetscSFSetGraphLayout(petsclib::PetscLibType, sf::PetscSF, layout::PetscLayout, nleaves::Integer, ilocal::AbstractVector{<:Number}, localmode::PetscCopyMode, gremote::AbstractVector{<:Number}) - error("PetscSFSetGraphLayout: no generated method for these argument types") + throw(MethodError(PetscSFSetGraphLayout, (petsclib, sf, layout, nleaves, ilocal, localmode, gremote))) end @for_petsc function PetscSFSetGraphLayout(petsclib::$UnionPetscLib, sf::PetscSF, layout::PetscLayout, nleaves::$PetscInt, ilocal::Vector{$PetscInt}, localmode::PetscCopyMode, gremote::Vector{$PetscInt} ) @@ -1523,7 +1523,7 @@ See also: `PetscSF`, `PetscSFSetGraph()`, `PetscSFSetGraphLayout()` $(_doc_external("PetscSF/PetscSFSetGraphSection")) """ function PetscSFSetGraphSection(petsclib::PetscLibType, sf::PetscSF, localSection::PetscSection, globalSection::PetscSection) - error("PetscSFSetGraphSection: no generated method for these argument types") + throw(MethodError(PetscSFSetGraphSection, (petsclib, sf, localSection, globalSection))) end @for_petsc function PetscSFSetGraphSection(petsclib::$UnionPetscLib, sf::PetscSF, localSection::PetscSection, globalSection::PetscSection ) @@ -1558,7 +1558,7 @@ See also: `PetscSF`, `PetscSFCreate()`, `PetscSFView()`, `PetscSFGetGraph()` $(_doc_external("PetscSF/PetscSFSetGraphWithPattern")) """ function PetscSFSetGraphWithPattern(petsclib::PetscLibType, sf::PetscSF, map::PetscLayout, pattern::PetscSFPattern) - error("PetscSFSetGraphWithPattern: no generated method for these argument types") + throw(MethodError(PetscSFSetGraphWithPattern, (petsclib, sf, map, pattern))) end @for_petsc function PetscSFSetGraphWithPattern(petsclib::$UnionPetscLib, sf::PetscSF, map::PetscLayout, pattern::PetscSFPattern ) @@ -1592,7 +1592,7 @@ See also: `PetscSF`, `PetscSFType`, `PetscSFGatherBegin()`, `PetscSFScatterBegin $(_doc_external("PetscSF/PetscSFSetRankOrder")) """ function PetscSFSetRankOrder(petsclib::PetscLibType, sf::PetscSF, flg::PetscBool) - error("PetscSFSetRankOrder: no generated method for these argument types") + throw(MethodError(PetscSFSetRankOrder, (petsclib, sf, flg))) end @for_petsc function PetscSFSetRankOrder(petsclib::$UnionPetscLib, sf::PetscSF, flg::PetscBool ) @@ -1633,7 +1633,7 @@ See also: `PetscSF`, `PetscSFType`, `PetscSFCreate()` $(_doc_external("PetscSF/PetscSFSetType")) """ function PetscSFSetType(petsclib::PetscLibType, sf::PetscSF, type::String) - error("PetscSFSetType: no generated method for these argument types") + throw(MethodError(PetscSFSetType, (petsclib, sf, type))) end @for_petsc function PetscSFSetType(petsclib::$UnionPetscLib, sf::PetscSF, type::String ) @@ -1666,7 +1666,7 @@ See also: `PetscSF`, `PetscSFType`, `PetscSFSetFromOptions()`, `PetscSFSetType() $(_doc_external("PetscSF/PetscSFSetUp")) """ function PetscSFSetUp(petsclib::PetscLibType, sf::PetscSF) - error("PetscSFSetUp: no generated method for these argument types") + throw(MethodError(PetscSFSetUp, (petsclib, sf))) end @for_petsc function PetscSFSetUp(petsclib::$UnionPetscLib, sf::PetscSF ) @@ -1700,7 +1700,7 @@ See also: `PetscSF`, `PetscSFGetRootRanks()` $(_doc_external("PetscSF/PetscSFSetUpRanks")) """ function PetscSFSetUpRanks(petsclib::PetscLibType, sf::PetscSF, dgroup::MPI_Group) - error("PetscSFSetUpRanks: no generated method for these argument types") + throw(MethodError(PetscSFSetUpRanks, (petsclib, sf, dgroup))) end @for_petsc function PetscSFSetUpRanks(petsclib::$UnionPetscLib, sf::PetscSF, dgroup::MPI_Group ) @@ -1734,7 +1734,7 @@ See also: `PetscSF`, `PetscViewer`, `PetscSFCreate()`, `PetscSFSetGraph()` $(_doc_external("PetscSF/PetscSFView")) """ function PetscSFView(petsclib::PetscLibType, sf::PetscSF, viewer::PetscViewer) - error("PetscSFView: no generated method for these argument types") + throw(MethodError(PetscSFView, (petsclib, sf, viewer))) end @for_petsc function PetscSFView(petsclib::$UnionPetscLib, sf::PetscSF, viewer::PetscViewer ) @@ -1772,7 +1772,7 @@ See also: `PetscSF`, `PetscSFView`, `PetscObjectViewFromOptions()`, `PetscSFCrea $(_doc_external("PetscSF/PetscSFViewFromOptions")) """ function PetscSFViewFromOptions(petsclib::PetscLibType, A::PetscSF, obj, name::String) - error("PetscSFViewFromOptions: no generated method for these argument types") + throw(MethodError(PetscSFViewFromOptions, (petsclib, A, obj, name))) end @for_petsc function PetscSFViewFromOptions(petsclib::$UnionPetscLib, A::PetscSF, obj, name::String ) @@ -1808,7 +1808,7 @@ See also: `PetscSF`, `PETSCSFWINDOW`, `PetscSFSetFromOptions()`, `PetscSFWindowS $(_doc_external("PetscSF/PetscSFWindowGetFlavorType")) """ function PetscSFWindowGetFlavorType(petsclib::PetscLibType, sf::PetscSF) - error("PetscSFWindowGetFlavorType: no generated method for these argument types") + throw(MethodError(PetscSFWindowGetFlavorType, (petsclib, sf))) end @for_petsc function PetscSFWindowGetFlavorType(petsclib::$UnionPetscLib, sf::PetscSF ) @@ -1846,7 +1846,7 @@ See also: `PetscSF`, `PETSCSFWINDOW`, `PetscSFSetFromOptions()`, `PetscSFWindowS $(_doc_external("PetscSF/PetscSFWindowGetInfo")) """ function PetscSFWindowGetInfo(petsclib::PetscLibType, sf::PetscSF) - error("PetscSFWindowGetInfo: no generated method for these argument types") + throw(MethodError(PetscSFWindowGetInfo, (petsclib, sf))) end @for_petsc function PetscSFWindowGetInfo(petsclib::$UnionPetscLib, sf::PetscSF ) @@ -1884,7 +1884,7 @@ See also: `PetscSF`, `PETSCSFWINDOW`, `PetscSFSetFromOptions()`, `PetscSFWindowS $(_doc_external("PetscSF/PetscSFWindowGetSyncType")) """ function PetscSFWindowGetSyncType(petsclib::PetscLibType, sf::PetscSF) - error("PetscSFWindowGetSyncType: no generated method for these argument types") + throw(MethodError(PetscSFWindowGetSyncType, (petsclib, sf))) end @for_petsc function PetscSFWindowGetSyncType(petsclib::$UnionPetscLib, sf::PetscSF ) @@ -1923,7 +1923,7 @@ See also: `PetscSF`, `PETSCSFWINDOW`, `PetscSFSetFromOptions()`, `PetscSFWindowG $(_doc_external("PetscSF/PetscSFWindowSetFlavorType")) """ function PetscSFWindowSetFlavorType(petsclib::PetscLibType, sf::PetscSF, flavor::PetscSFWindowFlavorType) - error("PetscSFWindowSetFlavorType: no generated method for these argument types") + throw(MethodError(PetscSFWindowSetFlavorType, (petsclib, sf, flavor))) end @for_petsc function PetscSFWindowSetFlavorType(petsclib::$UnionPetscLib, sf::PetscSF, flavor::PetscSFWindowFlavorType ) @@ -1957,7 +1957,7 @@ See also: `PetscSF`, `PETSCSFWINDOW`, `PetscSFSetFromOptions()`, `PetscSFWindowG $(_doc_external("PetscSF/PetscSFWindowSetInfo")) """ function PetscSFWindowSetInfo(petsclib::PetscLibType, sf::PetscSF, info::MPI_Info) - error("PetscSFWindowSetInfo: no generated method for these argument types") + throw(MethodError(PetscSFWindowSetInfo, (petsclib, sf, info))) end @for_petsc function PetscSFWindowSetInfo(petsclib::$UnionPetscLib, sf::PetscSF, info::MPI_Info ) @@ -1994,7 +1994,7 @@ See also: `PetscSF`, `PETSCSFWINDOW`, `PetscSFSetFromOptions()`, `PetscSFWindowG $(_doc_external("PetscSF/PetscSFWindowSetSyncType")) """ function PetscSFWindowSetSyncType(petsclib::PetscLibType, sf::PetscSF, sync::PetscSFWindowSyncType) - error("PetscSFWindowSetSyncType: no generated method for these argument types") + throw(MethodError(PetscSFWindowSetSyncType, (petsclib, sf, sync))) end @for_petsc function PetscSFWindowSetSyncType(petsclib::$UnionPetscLib, sf::PetscSF, sync::PetscSFWindowSyncType ) diff --git a/src/autowrapped/PetscSection_wrappers.jl b/src/autowrapped/PetscSection_wrappers.jl index e27f95d84..8e0e168ca 100644 --- a/src/autowrapped/PetscSection_wrappers.jl +++ b/src/autowrapped/PetscSection_wrappers.jl @@ -17,7 +17,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionAddDof()`, `PetscSectionGet $(_doc_external("PetscSection/PetscSectionAddConstraintDof")) """ function PetscSectionAddConstraintDof(petsclib::PetscLibType, s::PetscSection, point::Integer, numDof::Integer) - error("PetscSectionAddConstraintDof: no generated method for these argument types") + throw(MethodError(PetscSectionAddConstraintDof, (petsclib, s, point, numDof))) end @for_petsc function PetscSectionAddConstraintDof(petsclib::$UnionPetscLib, s::PetscSection, point::$PetscInt, numDof::$PetscInt ) @@ -52,7 +52,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionGetDof()`, `PetscSectionSet $(_doc_external("PetscSection/PetscSectionAddDof")) """ function PetscSectionAddDof(petsclib::PetscLibType, s::PetscSection, point::Integer, numDof::Integer) - error("PetscSectionAddDof: no generated method for these argument types") + throw(MethodError(PetscSectionAddDof, (petsclib, s, point, numDof))) end @for_petsc function PetscSectionAddDof(petsclib::$UnionPetscLib, s::PetscSection, point::$PetscInt, numDof::$PetscInt ) @@ -88,7 +88,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionAddDof()`, `PetscSectionGet $(_doc_external("PetscSection/PetscSectionAddFieldConstraintDof")) """ function PetscSectionAddFieldConstraintDof(petsclib::PetscLibType, s::PetscSection, point::Integer, field::Integer, numDof::Integer) - error("PetscSectionAddFieldConstraintDof: no generated method for these argument types") + throw(MethodError(PetscSectionAddFieldConstraintDof, (petsclib, s, point, field, numDof))) end @for_petsc function PetscSectionAddFieldConstraintDof(petsclib::$UnionPetscLib, s::PetscSection, point::$PetscInt, field::$PetscInt, numDof::$PetscInt ) @@ -124,7 +124,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionSetFieldDof()`, `PetscSecti $(_doc_external("PetscSection/PetscSectionAddFieldDof")) """ function PetscSectionAddFieldDof(petsclib::PetscLibType, s::PetscSection, point::Integer, field::Integer, numDof::Integer) - error("PetscSectionAddFieldDof: no generated method for these argument types") + throw(MethodError(PetscSectionAddFieldDof, (petsclib, s, point, field, numDof))) end @for_petsc function PetscSectionAddFieldDof(petsclib::$UnionPetscLib, s::PetscSection, point::$PetscInt, field::$PetscInt, numDof::$PetscInt ) @@ -160,7 +160,7 @@ See also: `PetscSection`, `PetscViewer`, `PetscSectionCreate()`, `VecSetValuesSe $(_doc_external("PetscSection/PetscSectionArrayView")) """ function PetscSectionArrayView(petsclib::PetscLibType, s::PetscSection, array::Ptr{Cvoid}, data_type::PetscDataType, viewer::PetscViewer) - error("PetscSectionArrayView: no generated method for these argument types") + throw(MethodError(PetscSectionArrayView, (petsclib, s, array, data_type, viewer))) end @for_petsc function PetscSectionArrayView(petsclib::$UnionPetscLib, s::PetscSection, array::Ptr{Cvoid}, data_type::PetscDataType, viewer::PetscViewer ) @@ -196,7 +196,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionCreate()`, `PetscSectionDes $(_doc_external("PetscSection/PetscSectionClone")) """ function PetscSectionClone(petsclib::PetscLibType, section::PetscSection) - error("PetscSectionClone: no generated method for these argument types") + throw(MethodError(PetscSectionClone, (petsclib, section))) end @for_petsc function PetscSectionClone(petsclib::$UnionPetscLib, section::PetscSection ) @@ -235,7 +235,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionCreate()`, `PetscSectionCop $(_doc_external("PetscSection/PetscSectionCompare")) """ function PetscSectionCompare(petsclib::PetscLibType, s1::PetscSection, s2::PetscSection) - error("PetscSectionCompare: no generated method for these argument types") + throw(MethodError(PetscSectionCompare, (petsclib, s1, s2))) end @for_petsc function PetscSectionCompare(petsclib::$UnionPetscLib, s1::PetscSection, s2::PetscSection ) @@ -273,7 +273,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionCreate()`, `PetscSectionDes $(_doc_external("PetscSection/PetscSectionCopy")) """ function PetscSectionCopy(petsclib::PetscLibType, section::PetscSection, newSection::PetscSection) - error("PetscSectionCopy: no generated method for these argument types") + throw(MethodError(PetscSectionCopy, (petsclib, section, newSection))) end @for_petsc function PetscSectionCopy(petsclib::$UnionPetscLib, section::PetscSection, newSection::PetscSection ) @@ -307,7 +307,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionSetChart()`, `PetscSectionD $(_doc_external("PetscSection/PetscSectionCreate")) """ function PetscSectionCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("PetscSectionCreate: no generated method for these argument types") + throw(MethodError(PetscSectionCreate, (petsclib, comm))) end @for_petsc function PetscSectionCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -347,7 +347,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionCreateSupersection()`, `Pet $(_doc_external("PetscSection/PetscSectionCreateComponentSubsection")) """ function PetscSectionCreateComponentSubsection(petsclib::PetscLibType, s::PetscSection, len::Integer, comps::AbstractVector{<:Number}) - error("PetscSectionCreateComponentSubsection: no generated method for these argument types") + throw(MethodError(PetscSectionCreateComponentSubsection, (petsclib, s, len, comps))) end @for_petsc function PetscSectionCreateComponentSubsection(petsclib::$UnionPetscLib, s::PetscSection, len::$PetscInt, comps::Vector{$PetscInt} ) @@ -388,7 +388,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionCreate()`, `PetscSectionCre $(_doc_external("PetscSection/PetscSectionCreateGlobalSection")) """ function PetscSectionCreateGlobalSection(petsclib::PetscLibType, s::PetscSection, sf::PetscSF, usePermutation::PetscBool, includeConstraints::PetscBool, localOffsets::PetscBool) - error("PetscSectionCreateGlobalSection: no generated method for these argument types") + throw(MethodError(PetscSectionCreateGlobalSection, (petsclib, s, sf, usePermutation, includeConstraints, localOffsets))) end @for_petsc function PetscSectionCreateGlobalSection(petsclib::$UnionPetscLib, s::PetscSection, sf::PetscSF, usePermutation::PetscBool, includeConstraints::PetscBool, localOffsets::PetscBool ) @@ -429,7 +429,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionCreate()` $(_doc_external("PetscSection/PetscSectionCreateGlobalSectionCensored")) """ function PetscSectionCreateGlobalSectionCensored(petsclib::PetscLibType, s::PetscSection, sf::PetscSF, includeConstraints::PetscBool, numExcludes::Integer, excludes::AbstractVector{<:Number}) - error("PetscSectionCreateGlobalSectionCensored: no generated method for these argument types") + throw(MethodError(PetscSectionCreateGlobalSectionCensored, (petsclib, s, sf, includeConstraints, numExcludes, excludes))) end @for_petsc function PetscSectionCreateGlobalSectionCensored(petsclib::$UnionPetscLib, s::PetscSection, sf::PetscSF, includeConstraints::PetscBool, numExcludes::$PetscInt, excludes::Vector{$PetscInt} ) @@ -472,7 +472,7 @@ See also: `DMLabel`, `DM`, `PetscSectionCreate()` $(_doc_external("DMLabel/PetscSectionCreateGlobalSectionLabel")) """ function PetscSectionCreateGlobalSectionLabel(petsclib::PetscLibType, s::PetscSection, sf::PetscSF, includeConstraints::PetscBool, label::DMLabel, labelValue::Integer) - error("PetscSectionCreateGlobalSectionLabel: no generated method for these argument types") + throw(MethodError(PetscSectionCreateGlobalSectionLabel, (petsclib, s, sf, includeConstraints, label, labelValue))) end @for_petsc function PetscSectionCreateGlobalSectionLabel(petsclib::$UnionPetscLib, s::PetscSection, sf::PetscSF, includeConstraints::PetscBool, label::DMLabel, labelValue::$PetscInt ) @@ -511,7 +511,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionCreateSubmeshSection()`, `P $(_doc_external("PetscSection/PetscSectionCreateSubdomainSection")) """ function PetscSectionCreateSubdomainSection(petsclib::PetscLibType, s::PetscSection, subpointMap::AbstractIS) - error("PetscSectionCreateSubdomainSection: no generated method for these argument types") + throw(MethodError(PetscSectionCreateSubdomainSection, (petsclib, s, subpointMap))) end @for_petsc function PetscSectionCreateSubdomainSection(petsclib::$UnionPetscLib, s::PetscSection, subpointMap::AbstractIS ) @@ -550,7 +550,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionCreateSubdomainSection()`, $(_doc_external("PetscSection/PetscSectionCreateSubmeshSection")) """ function PetscSectionCreateSubmeshSection(petsclib::PetscLibType, s::PetscSection, subpointIS::AbstractIS) - error("PetscSectionCreateSubmeshSection: no generated method for these argument types") + throw(MethodError(PetscSectionCreateSubmeshSection, (petsclib, s, subpointIS))) end @for_petsc function PetscSectionCreateSubmeshSection(petsclib::$UnionPetscLib, s::PetscSection, subpointIS::AbstractIS ) @@ -590,7 +590,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionCreateSupersection()`, `Pet $(_doc_external("PetscSection/PetscSectionCreateSubsection")) """ function PetscSectionCreateSubsection(petsclib::PetscLibType, s::PetscSection, len::Integer, fields::AbstractVector{<:Number}) - error("PetscSectionCreateSubsection: no generated method for these argument types") + throw(MethodError(PetscSectionCreateSubsection, (petsclib, s, len, fields))) end @for_petsc function PetscSectionCreateSubsection(petsclib::$UnionPetscLib, s::PetscSection, len::$PetscInt, fields::Vector{$PetscInt} ) @@ -629,7 +629,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionCreateSubsection()`, `Petsc $(_doc_external("PetscSection/PetscSectionCreateSupersection")) """ function PetscSectionCreateSupersection(petsclib::PetscLibType, s::Vector{PetscSection}, len::Integer) - error("PetscSectionCreateSupersection: no generated method for these argument types") + throw(MethodError(PetscSectionCreateSupersection, (petsclib, s, len))) end @for_petsc function PetscSectionCreateSupersection(petsclib::$UnionPetscLib, s::Vector{PetscSection}, len::$PetscInt ) @@ -664,7 +664,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionCreate()`, `PetscSectionRes $(_doc_external("PetscSection/PetscSectionDestroy")) """ function PetscSectionDestroy(petsclib::PetscLibType, s::Union{PetscSection, Ref{PetscSection}}) - error("PetscSectionDestroy: no generated method for these argument types") + throw(MethodError(PetscSectionDestroy, (petsclib, s))) end @for_petsc function PetscSectionDestroy(petsclib::$UnionPetscLib, s::Union{PetscSection, Ref{PetscSection}} ) @@ -699,7 +699,7 @@ See also: `IS`, `PetscSection`, `PetscSectionSetBlockStarts()`, `PetscSectionCre $(_doc_external("PetscSection/PetscSectionGetBlockStarts")) """ function PetscSectionGetBlockStarts(petsclib::PetscLibType, s::PetscSection) - error("PetscSectionGetBlockStarts: no generated method for these argument types") + throw(MethodError(PetscSectionGetBlockStarts, (petsclib, s))) end @for_petsc function PetscSectionGetBlockStarts(petsclib::$UnionPetscLib, s::PetscSection ) @@ -738,7 +738,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionSetChart()`, `PetscSectionC $(_doc_external("PetscSection/PetscSectionGetChart")) """ function PetscSectionGetChart(petsclib::PetscLibType, s::PetscSection) - error("PetscSectionGetChart: no generated method for these argument types") + throw(MethodError(PetscSectionGetChart, (petsclib, s))) end @for_petsc function PetscSectionGetChart(petsclib::$UnionPetscLib, s::PetscSection ) @@ -780,7 +780,7 @@ See also: PetscSection, `PetscSectionSetClosureIndex()`, `DMPlexCreateClosureInd $(_doc_external("PetscSection/PetscSectionGetClosureIndex")) """ function PetscSectionGetClosureIndex(petsclib::PetscLibType, section::PetscSection, obj) - error("PetscSectionGetClosureIndex: no generated method for these argument types") + throw(MethodError(PetscSectionGetClosureIndex, (petsclib, section, obj))) end @for_petsc function PetscSectionGetClosureIndex(petsclib::$UnionPetscLib, section::PetscSection, obj ) @@ -823,7 +823,7 @@ See also: PetscSection, `PetscSection`, `IS`, `PetscSectionSetClosurePermutation $(_doc_external("PetscSection/PetscSectionGetClosureInversePermutation")) """ function PetscSectionGetClosureInversePermutation(petsclib::PetscLibType, section::PetscSection, obj, depth::Integer, clSize::Integer) - error("PetscSectionGetClosureInversePermutation: no generated method for these argument types") + throw(MethodError(PetscSectionGetClosureInversePermutation, (petsclib, section, obj, depth, clSize))) end @for_petsc function PetscSectionGetClosureInversePermutation(petsclib::$UnionPetscLib, section::PetscSection, obj, depth::$PetscInt, clSize::$PetscInt ) @@ -864,7 +864,7 @@ See also: PetscSection, `PetscSection`, `IS`, `PetscSectionSetClosurePermutation $(_doc_external("PetscSection/PetscSectionGetClosurePermutation")) """ function PetscSectionGetClosurePermutation(petsclib::PetscLibType, section::PetscSection, obj, depth::Integer, clSize::Integer) - error("PetscSectionGetClosurePermutation: no generated method for these argument types") + throw(MethodError(PetscSectionGetClosurePermutation, (petsclib, section, obj, depth, clSize))) end @for_petsc function PetscSectionGetClosurePermutation(petsclib::$UnionPetscLib, section::PetscSection, obj, depth::$PetscInt, clSize::$PetscInt ) @@ -905,7 +905,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionGetFieldName()`, `PetscSect $(_doc_external("PetscSection/PetscSectionGetComponentName")) """ function PetscSectionGetComponentName(petsclib::PetscLibType, s::PetscSection, field::Integer, comp::Integer) - error("PetscSectionGetComponentName: no generated method for these argument types") + throw(MethodError(PetscSectionGetComponentName, (petsclib, s, field, comp))) end @for_petsc function PetscSectionGetComponentName(petsclib::$UnionPetscLib, s::PetscSection, field::$PetscInt, comp::$PetscInt ) @@ -943,7 +943,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionGetStorageSize()`, `PetscSe $(_doc_external("PetscSection/PetscSectionGetConstrainedStorageSize")) """ function PetscSectionGetConstrainedStorageSize(petsclib::PetscLibType, s::PetscSection) - error("PetscSectionGetConstrainedStorageSize: no generated method for these argument types") + throw(MethodError(PetscSectionGetConstrainedStorageSize, (petsclib, s))) end @for_petsc function PetscSectionGetConstrainedStorageSize(petsclib::$UnionPetscLib, s::PetscSection ) @@ -982,7 +982,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionGetDof()`, `PetscSectionSet $(_doc_external("PetscSection/PetscSectionGetConstraintDof")) """ function PetscSectionGetConstraintDof(petsclib::PetscLibType, s::PetscSection, point::Integer) - error("PetscSectionGetConstraintDof: no generated method for these argument types") + throw(MethodError(PetscSectionGetConstraintDof, (petsclib, s, point))) end @for_petsc function PetscSectionGetConstraintDof(petsclib::$UnionPetscLib, s::PetscSection, point::$PetscInt ) @@ -1021,7 +1021,7 @@ See also: PetscSection, `PetscSectionSetConstraintIndices()`, `PetscSectionGetCo $(_doc_external("PetscSection/PetscSectionGetConstraintIndices")) """ function PetscSectionGetConstraintIndices(petsclib::PetscLibType, s::PetscSection, point::Integer) - error("PetscSectionGetConstraintIndices: no generated method for these argument types") + throw(MethodError(PetscSectionGetConstraintIndices, (petsclib, s, point))) end @for_petsc function PetscSectionGetConstraintIndices(petsclib::$UnionPetscLib, s::PetscSection, point::$PetscInt ) @@ -1061,7 +1061,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionSetDof()`, `PetscSectionCre $(_doc_external("PetscSection/PetscSectionGetDof")) """ function PetscSectionGetDof(petsclib::PetscLibType, s::PetscSection, point::Integer) - error("PetscSectionGetDof: no generated method for these argument types") + throw(MethodError(PetscSectionGetDof, (petsclib, s, point))) end @for_petsc function PetscSectionGetDof(petsclib::$UnionPetscLib, s::PetscSection, point::$PetscInt ) @@ -1098,7 +1098,7 @@ See also: PetscSection, `PetscSection`, `IS`, `PetscSectionSetNumFields()` $(_doc_external("PetscSection/PetscSectionGetField")) """ function PetscSectionGetField(petsclib::PetscLibType, s::PetscSection, field::Integer) - error("PetscSectionGetField: no generated method for these argument types") + throw(MethodError(PetscSectionGetField, (petsclib, s, field))) end @for_petsc function PetscSectionGetField(petsclib::$UnionPetscLib, s::PetscSection, field::$PetscInt ) @@ -1138,7 +1138,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionSetFieldComponents()`, `Pet $(_doc_external("PetscSection/PetscSectionGetFieldComponents")) """ function PetscSectionGetFieldComponents(petsclib::PetscLibType, s::PetscSection, field::Integer) - error("PetscSectionGetFieldComponents: no generated method for these argument types") + throw(MethodError(PetscSectionGetFieldComponents, (petsclib, s, field))) end @for_petsc function PetscSectionGetFieldComponents(petsclib::$UnionPetscLib, s::PetscSection, field::$PetscInt ) @@ -1178,7 +1178,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionGetDof()`, `PetscSectionSet $(_doc_external("PetscSection/PetscSectionGetFieldConstraintDof")) """ function PetscSectionGetFieldConstraintDof(petsclib::PetscLibType, s::PetscSection, point::Integer, field::Integer) - error("PetscSectionGetFieldConstraintDof: no generated method for these argument types") + throw(MethodError(PetscSectionGetFieldConstraintDof, (petsclib, s, point, field))) end @for_petsc function PetscSectionGetFieldConstraintDof(petsclib::$UnionPetscLib, s::PetscSection, point::$PetscInt, field::$PetscInt ) @@ -1218,7 +1218,7 @@ See also: PetscSection, `PetscSectionSetFieldConstraintIndices()`, `PetscSection $(_doc_external("PetscSection/PetscSectionGetFieldConstraintIndices")) """ function PetscSectionGetFieldConstraintIndices(petsclib::PetscLibType, s::PetscSection, point::Integer, field::Integer) - error("PetscSectionGetFieldConstraintIndices: no generated method for these argument types") + throw(MethodError(PetscSectionGetFieldConstraintIndices, (petsclib, s, point, field))) end @for_petsc function PetscSectionGetFieldConstraintIndices(petsclib::$UnionPetscLib, s::PetscSection, point::$PetscInt, field::$PetscInt ) @@ -1259,7 +1259,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionSetFieldDof()`, `PetscSecti $(_doc_external("PetscSection/PetscSectionGetFieldDof")) """ function PetscSectionGetFieldDof(petsclib::PetscLibType, s::PetscSection, point::Integer, field::Integer) - error("PetscSectionGetFieldDof: no generated method for these argument types") + throw(MethodError(PetscSectionGetFieldDof, (petsclib, s, point, field))) end @for_petsc function PetscSectionGetFieldDof(petsclib::$UnionPetscLib, s::PetscSection, point::$PetscInt, field::$PetscInt ) @@ -1298,7 +1298,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionSetFieldName()`, `PetscSect $(_doc_external("PetscSection/PetscSectionGetFieldName")) """ function PetscSectionGetFieldName(petsclib::PetscLibType, s::PetscSection, field::Integer) - error("PetscSectionGetFieldName: no generated method for these argument types") + throw(MethodError(PetscSectionGetFieldName, (petsclib, s, field))) end @for_petsc function PetscSectionGetFieldName(petsclib::$UnionPetscLib, s::PetscSection, field::$PetscInt ) @@ -1338,7 +1338,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionGetOffset()`, `PetscSection $(_doc_external("PetscSection/PetscSectionGetFieldOffset")) """ function PetscSectionGetFieldOffset(petsclib::PetscLibType, s::PetscSection, point::Integer, field::Integer) - error("PetscSectionGetFieldOffset: no generated method for these argument types") + throw(MethodError(PetscSectionGetFieldOffset, (petsclib, s, point, field))) end @for_petsc function PetscSectionGetFieldOffset(petsclib::$UnionPetscLib, s::PetscSection, point::$PetscInt, field::$PetscInt ) @@ -1379,7 +1379,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionGetOffset()`, `PetscSection $(_doc_external("PetscSection/PetscSectionGetFieldPointOffset")) """ function PetscSectionGetFieldPointOffset(petsclib::PetscLibType, s::PetscSection, point::Integer, field::Integer) - error("PetscSectionGetFieldPointOffset: no generated method for these argument types") + throw(MethodError(PetscSectionGetFieldPointOffset, (petsclib, s, point, field))) end @for_petsc function PetscSectionGetFieldPointOffset(petsclib::$UnionPetscLib, s::PetscSection, point::$PetscInt, field::$PetscInt ) @@ -1424,7 +1424,7 @@ See also: PetscSection, `PetscSectionSym`, `PetscSectionGetPointSyms()`, `PetscS $(_doc_external("PetscSection/PetscSectionGetFieldPointSyms")) """ function PetscSectionGetFieldPointSyms(petsclib::PetscLibType, section::PetscSection, field::Integer, numPoints::Integer, points::AbstractVector{<:Number}) - error("PetscSectionGetFieldPointSyms: no generated method for these argument types") + throw(MethodError(PetscSectionGetFieldPointSyms, (petsclib, section, field, numPoints, points))) end @for_petsc function PetscSectionGetFieldPointSyms(petsclib::$UnionPetscLib, section::PetscSection, field::$PetscInt, numPoints::$PetscInt, points::Vector{$PetscInt} ) @@ -1465,7 +1465,7 @@ See also: PetscSection, `PetscSectionSym`, `PetscSectionSetFieldSym()`, `PetscSe $(_doc_external("PetscSection/PetscSectionGetFieldSym")) """ function PetscSectionGetFieldSym(petsclib::PetscLibType, section::PetscSection, field::Integer) - error("PetscSectionGetFieldSym: no generated method for these argument types") + throw(MethodError(PetscSectionGetFieldSym, (petsclib, section, field))) end @for_petsc function PetscSectionGetFieldSym(petsclib::$UnionPetscLib, section::PetscSection, field::$PetscInt ) @@ -1504,7 +1504,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionSetIncludesConstraints()` $(_doc_external("PetscSection/PetscSectionGetIncludesConstraints")) """ function PetscSectionGetIncludesConstraints(petsclib::PetscLibType, s::PetscSection) - error("PetscSectionGetIncludesConstraints: no generated method for these argument types") + throw(MethodError(PetscSectionGetIncludesConstraints, (petsclib, s))) end @for_petsc function PetscSectionGetIncludesConstraints(petsclib::$UnionPetscLib, s::PetscSection ) @@ -1542,7 +1542,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionGetDof()`, `PetscSectionSet $(_doc_external("PetscSection/PetscSectionGetMaxDof")) """ function PetscSectionGetMaxDof(petsclib::PetscLibType, s::PetscSection) - error("PetscSectionGetMaxDof: no generated method for these argument types") + throw(MethodError(PetscSectionGetMaxDof, (petsclib, s))) end @for_petsc function PetscSectionGetMaxDof(petsclib::$UnionPetscLib, s::PetscSection ) @@ -1580,7 +1580,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionSetNumFields()` $(_doc_external("PetscSection/PetscSectionGetNumFields")) """ function PetscSectionGetNumFields(petsclib::PetscLibType, s::PetscSection) - error("PetscSectionGetNumFields: no generated method for these argument types") + throw(MethodError(PetscSectionGetNumFields, (petsclib, s))) end @for_petsc function PetscSectionGetNumFields(petsclib::$UnionPetscLib, s::PetscSection ) @@ -1619,7 +1619,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionGetFieldOffset()`, `PetscSe $(_doc_external("PetscSection/PetscSectionGetOffset")) """ function PetscSectionGetOffset(petsclib::PetscLibType, s::PetscSection, point::Integer) - error("PetscSectionGetOffset: no generated method for these argument types") + throw(MethodError(PetscSectionGetOffset, (petsclib, s, point))) end @for_petsc function PetscSectionGetOffset(petsclib::$UnionPetscLib, s::PetscSection, point::$PetscInt ) @@ -1658,7 +1658,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionGetOffset()`, `PetscSection $(_doc_external("PetscSection/PetscSectionGetOffsetRange")) """ function PetscSectionGetOffsetRange(petsclib::PetscLibType, s::PetscSection) - error("PetscSectionGetOffsetRange: no generated method for these argument types") + throw(MethodError(PetscSectionGetOffsetRange, (petsclib, s))) end @for_petsc function PetscSectionGetOffsetRange(petsclib::$UnionPetscLib, s::PetscSection ) @@ -1698,7 +1698,7 @@ See also: `IS`, `PetscSection`, `PetscSectionSetPermutation()`, `PetscSectionCre $(_doc_external("PetscSection/PetscSectionGetPermutation")) """ function PetscSectionGetPermutation(petsclib::PetscLibType, s::PetscSection) - error("PetscSectionGetPermutation: no generated method for these argument types") + throw(MethodError(PetscSectionGetPermutation, (petsclib, s))) end @for_petsc function PetscSectionGetPermutation(petsclib::$UnionPetscLib, s::PetscSection ) @@ -1737,7 +1737,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionGetValueLayout()`, `PetscSe $(_doc_external("PetscSection/PetscSectionGetPointLayout")) """ function PetscSectionGetPointLayout(petsclib::PetscLibType, comm::MPI_Comm, s::PetscSection) - error("PetscSectionGetPointLayout: no generated method for these argument types") + throw(MethodError(PetscSectionGetPointLayout, (petsclib, comm, s))) end @for_petsc function PetscSectionGetPointLayout(petsclib::$UnionPetscLib, comm::MPI_Comm, s::PetscSection ) @@ -1775,7 +1775,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionSetPointMajor()` $(_doc_external("PetscSection/PetscSectionGetPointMajor")) """ function PetscSectionGetPointMajor(petsclib::PetscLibType, s::PetscSection) - error("PetscSectionGetPointMajor: no generated method for these argument types") + throw(MethodError(PetscSectionGetPointMajor, (petsclib, s))) end @for_petsc function PetscSectionGetPointMajor(petsclib::$UnionPetscLib, s::PetscSection ) @@ -1864,7 +1864,7 @@ See also: PetscSection, `PetscSectionSym`, `PetscSectionRestorePointSyms()`, `Pe $(_doc_external("PetscSection/PetscSectionGetPointSyms")) """ function PetscSectionGetPointSyms(petsclib::PetscLibType, section::PetscSection, numPoints::Integer, points::AbstractVector{<:Number}) - error("PetscSectionGetPointSyms: no generated method for these argument types") + throw(MethodError(PetscSectionGetPointSyms, (petsclib, section, numPoints, points))) end @for_petsc function PetscSectionGetPointSyms(petsclib::$UnionPetscLib, section::PetscSection, numPoints::$PetscInt, points::Vector{$PetscInt} ) @@ -1904,7 +1904,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionGetOffset()`, `PetscSection $(_doc_external("PetscSection/PetscSectionGetStorageSize")) """ function PetscSectionGetStorageSize(petsclib::PetscLibType, s::PetscSection) - error("PetscSectionGetStorageSize: no generated method for these argument types") + throw(MethodError(PetscSectionGetStorageSize, (petsclib, s))) end @for_petsc function PetscSectionGetStorageSize(petsclib::$UnionPetscLib, s::PetscSection ) @@ -1942,7 +1942,7 @@ See also: PetscSection, `PetscSectionSym`, `PetscSectionSetSym()`, `PetscSection $(_doc_external("PetscSection/PetscSectionGetSym")) """ function PetscSectionGetSym(petsclib::PetscLibType, section::PetscSection) - error("PetscSectionGetSym: no generated method for these argument types") + throw(MethodError(PetscSectionGetSym, (petsclib, section))) end @for_petsc function PetscSectionGetSym(petsclib::$UnionPetscLib, section::PetscSection ) @@ -1980,7 +1980,7 @@ See also: PetscSection, `PetscSectionSym`, `PetscSectionSetChart()`, `PetscSecti $(_doc_external("PetscSection/PetscSectionGetUseFieldOffsets")) """ function PetscSectionGetUseFieldOffsets(petsclib::PetscLibType, s::PetscSection) - error("PetscSectionGetUseFieldOffsets: no generated method for these argument types") + throw(MethodError(PetscSectionGetUseFieldOffsets, (petsclib, s))) end @for_petsc function PetscSectionGetUseFieldOffsets(petsclib::$UnionPetscLib, s::PetscSection ) @@ -2019,7 +2019,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionGetPointLayout()`, `PetscSe $(_doc_external("PetscSection/PetscSectionGetValueLayout")) """ function PetscSectionGetValueLayout(petsclib::PetscLibType, comm::MPI_Comm, s::PetscSection) - error("PetscSectionGetValueLayout: no generated method for these argument types") + throw(MethodError(PetscSectionGetValueLayout, (petsclib, comm, s))) end @for_petsc function PetscSectionGetValueLayout(petsclib::$UnionPetscLib, comm::MPI_Comm, s::PetscSection ) @@ -2057,7 +2057,7 @@ See also: PetscSection, `PetscSectionSetConstraintIndices()`, `PetscSectionGetCo $(_doc_external("PetscSection/PetscSectionHasConstraints")) """ function PetscSectionHasConstraints(petsclib::PetscLibType, s::PetscSection) - error("PetscSectionHasConstraints: no generated method for these argument types") + throw(MethodError(PetscSectionHasConstraints, (petsclib, s))) end @for_petsc function PetscSectionHasConstraints(petsclib::$UnionPetscLib, s::PetscSection ) @@ -2093,7 +2093,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionCreate()`, `PetscSectionDes $(_doc_external("PetscSection/PetscSectionLoad")) """ function PetscSectionLoad(petsclib::PetscLibType, s::PetscSection, viewer::PetscViewer) - error("PetscSectionLoad: no generated method for these argument types") + throw(MethodError(PetscSectionLoad, (petsclib, s, viewer))) end @for_petsc function PetscSectionLoad(petsclib::$UnionPetscLib, s::PetscSection, viewer::PetscViewer ) @@ -2130,7 +2130,7 @@ See also: PetscSection, `IS`, `PetscSection`, `MatPermute()`, `PetscSectionSetPe $(_doc_external("PetscSection/PetscSectionPermute")) """ function PetscSectionPermute(petsclib::PetscLibType, section::PetscSection, permutation::AbstractIS) - error("PetscSectionPermute: no generated method for these argument types") + throw(MethodError(PetscSectionPermute, (petsclib, section, permutation))) end @for_petsc function PetscSectionPermute(petsclib::$UnionPetscLib, section::PetscSection, permutation::AbstractIS ) @@ -2165,7 +2165,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionCreate()` $(_doc_external("PetscSection/PetscSectionReset")) """ function PetscSectionReset(petsclib::PetscLibType, s::PetscSection) - error("PetscSectionReset: no generated method for these argument types") + throw(MethodError(PetscSectionReset, (petsclib, s))) end @for_petsc function PetscSectionReset(petsclib::$UnionPetscLib, s::PetscSection ) @@ -2196,7 +2196,7 @@ See also: `PetscSectionSetClosurePermutation()`, `PetscSectionSetClosureIndex()` $(_doc_external("PetscSection/PetscSectionResetClosurePermutation")) """ function PetscSectionResetClosurePermutation(petsclib::PetscLibType, section::PetscSection) - error("PetscSectionResetClosurePermutation: no generated method for these argument types") + throw(MethodError(PetscSectionResetClosurePermutation, (petsclib, section))) end @for_petsc function PetscSectionResetClosurePermutation(petsclib::$UnionPetscLib, section::PetscSection ) @@ -2236,7 +2236,7 @@ See also: PetscSection, `PetscSectionSym`, `PetscSectionRestorePointSyms()`, `pe $(_doc_external("PetscSection/PetscSectionRestoreFieldPointSyms")) """ function PetscSectionRestoreFieldPointSyms(petsclib::PetscLibType, section::PetscSection, field::Integer, numPoints::Integer, points::Integer, perms::Integer, rots::Number) - error("PetscSectionRestoreFieldPointSyms: no generated method for these argument types") + throw(MethodError(PetscSectionRestoreFieldPointSyms, (petsclib, section, field, numPoints, points, perms, rots))) end @for_petsc function PetscSectionRestoreFieldPointSyms(petsclib::$UnionPetscLib, section::PetscSection, field::$PetscInt, numPoints::$PetscInt, points::$PetscInt, perms::$PetscInt, rots::$PetscScalar ) @@ -2276,7 +2276,7 @@ See also: PetscSection, `PetscSectionSym`, `PetscSectionGetPointSyms()`, `PetscS $(_doc_external("PetscSection/PetscSectionRestorePointSyms")) """ function PetscSectionRestorePointSyms(petsclib::PetscLibType, section::PetscSection, numPoints::Integer, points::Integer, perms::Integer, rots::Number) - error("PetscSectionRestorePointSyms: no generated method for these argument types") + throw(MethodError(PetscSectionRestorePointSyms, (petsclib, section, numPoints, points, perms, rots))) end @for_petsc function PetscSectionRestorePointSyms(petsclib::$UnionPetscLib, section::PetscSection, numPoints::$PetscInt, points::$PetscInt, perms::$PetscInt, rots::$PetscScalar ) @@ -2311,7 +2311,7 @@ See also: `IS`, `PetscSection`, `PetscSectionGetBlockStarts()`, `PetscSectionCre $(_doc_external("PetscSection/PetscSectionSetBlockStarts")) """ function PetscSectionSetBlockStarts(petsclib::PetscLibType, s::PetscSection, blockStarts::PetscBT) - error("PetscSectionSetBlockStarts: no generated method for these argument types") + throw(MethodError(PetscSectionSetBlockStarts, (petsclib, s, blockStarts))) end @for_petsc function PetscSectionSetBlockStarts(petsclib::$UnionPetscLib, s::PetscSection, blockStarts::PetscBT ) @@ -2346,7 +2346,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionGetChart()`, `PetscSectionC $(_doc_external("PetscSection/PetscSectionSetChart")) """ function PetscSectionSetChart(petsclib::PetscLibType, s::PetscSection, pStart::Integer, pEnd::Integer) - error("PetscSectionSetChart: no generated method for these argument types") + throw(MethodError(PetscSectionSetChart, (petsclib, s, pStart, pEnd))) end @for_petsc function PetscSectionSetChart(petsclib::$UnionPetscLib, s::PetscSection, pStart::$PetscInt, pEnd::$PetscInt ) @@ -2382,7 +2382,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionGetClosureIndex()`, `DMPlex $(_doc_external("PetscSection/PetscSectionSetClosureIndex")) """ function PetscSectionSetClosureIndex(petsclib::PetscLibType, section::PetscSection, obj, clSection::PetscSection, clPoints::AbstractIS) - error("PetscSectionSetClosureIndex: no generated method for these argument types") + throw(MethodError(PetscSectionSetClosureIndex, (petsclib, section, obj, clSection, clPoints))) end @for_petsc function PetscSectionSetClosureIndex(petsclib::$UnionPetscLib, section::PetscSection, obj, clSection::PetscSection, clPoints::AbstractIS ) @@ -2418,7 +2418,7 @@ See also: PetscSection, `PetscSection`, `IS`, `PetscSectionGetClosurePermutation $(_doc_external("PetscSection/PetscSectionSetClosurePermutation")) """ function PetscSectionSetClosurePermutation(petsclib::PetscLibType, section::PetscSection, obj, depth::Integer, perm::AbstractIS) - error("PetscSectionSetClosurePermutation: no generated method for these argument types") + throw(MethodError(PetscSectionSetClosurePermutation, (petsclib, section, obj, depth, perm))) end @for_petsc function PetscSectionSetClosurePermutation(petsclib::$UnionPetscLib, section::PetscSection, obj, depth::$PetscInt, perm::AbstractIS ) @@ -2455,7 +2455,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionGetComponentName()`, `Petsc $(_doc_external("PetscSection/PetscSectionSetComponentName")) """ function PetscSectionSetComponentName(petsclib::PetscLibType, s::PetscSection, field::Integer, comp::Integer, compName::String) - error("PetscSectionSetComponentName: no generated method for these argument types") + throw(MethodError(PetscSectionSetComponentName, (petsclib, s, field, comp, compName))) end @for_petsc function PetscSectionSetComponentName(petsclib::$UnionPetscLib, s::PetscSection, field::$PetscInt, comp::$PetscInt, compName::String ) @@ -2490,7 +2490,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionSetDof()`, `PetscSectionGet $(_doc_external("PetscSection/PetscSectionSetConstraintDof")) """ function PetscSectionSetConstraintDof(petsclib::PetscLibType, s::PetscSection, point::Integer, numDof::Integer) - error("PetscSectionSetConstraintDof: no generated method for these argument types") + throw(MethodError(PetscSectionSetConstraintDof, (petsclib, s, point, numDof))) end @for_petsc function PetscSectionSetConstraintDof(petsclib::$UnionPetscLib, s::PetscSection, point::$PetscInt, numDof::$PetscInt ) @@ -2525,7 +2525,7 @@ See also: PetscSection, `PetscSectionGetConstraintIndices()`, `PetscSectionGetCo $(_doc_external("PetscSection/PetscSectionSetConstraintIndices")) """ function PetscSectionSetConstraintIndices(petsclib::PetscLibType, s::PetscSection, point::Integer, indices::AbstractVector{<:Number}) - error("PetscSectionSetConstraintIndices: no generated method for these argument types") + throw(MethodError(PetscSectionSetConstraintIndices, (petsclib, s, point, indices))) end @for_petsc function PetscSectionSetConstraintIndices(petsclib::$UnionPetscLib, s::PetscSection, point::$PetscInt, indices::Vector{$PetscInt} ) @@ -2560,7 +2560,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionGetDof()`, `PetscSectionAdd $(_doc_external("PetscSection/PetscSectionSetDof")) """ function PetscSectionSetDof(petsclib::PetscLibType, s::PetscSection, point::Integer, numDof::Integer) - error("PetscSectionSetDof: no generated method for these argument types") + throw(MethodError(PetscSectionSetDof, (petsclib, s, point, numDof))) end @for_petsc function PetscSectionSetDof(petsclib::$UnionPetscLib, s::PetscSection, point::$PetscInt, numDof::$PetscInt ) @@ -2596,7 +2596,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionGetFieldComponents()`, `Pet $(_doc_external("PetscSection/PetscSectionSetFieldComponents")) """ function PetscSectionSetFieldComponents(petsclib::PetscLibType, s::PetscSection, field::Integer, numComp::Integer) - error("PetscSectionSetFieldComponents: no generated method for these argument types") + throw(MethodError(PetscSectionSetFieldComponents, (petsclib, s, field, numComp))) end @for_petsc function PetscSectionSetFieldComponents(petsclib::$UnionPetscLib, s::PetscSection, field::$PetscInt, numComp::$PetscInt ) @@ -2632,7 +2632,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionSetDof()`, `PetscSectionGet $(_doc_external("PetscSection/PetscSectionSetFieldConstraintDof")) """ function PetscSectionSetFieldConstraintDof(petsclib::PetscLibType, s::PetscSection, point::Integer, field::Integer, numDof::Integer) - error("PetscSectionSetFieldConstraintDof: no generated method for these argument types") + throw(MethodError(PetscSectionSetFieldConstraintDof, (petsclib, s, point, field, numDof))) end @for_petsc function PetscSectionSetFieldConstraintDof(petsclib::$UnionPetscLib, s::PetscSection, point::$PetscInt, field::$PetscInt, numDof::$PetscInt ) @@ -2668,7 +2668,7 @@ See also: PetscSection, `PetscSectionSetConstraintIndices()`, `PetscSectionGetFi $(_doc_external("PetscSection/PetscSectionSetFieldConstraintIndices")) """ function PetscSectionSetFieldConstraintIndices(petsclib::PetscLibType, s::PetscSection, point::Integer, field::Integer, indices::AbstractVector{<:Number}) - error("PetscSectionSetFieldConstraintIndices: no generated method for these argument types") + throw(MethodError(PetscSectionSetFieldConstraintIndices, (petsclib, s, point, field, indices))) end @for_petsc function PetscSectionSetFieldConstraintIndices(petsclib::$UnionPetscLib, s::PetscSection, point::$PetscInt, field::$PetscInt, indices::Vector{$PetscInt} ) @@ -2704,7 +2704,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionGetFieldDof()`, `PetscSecti $(_doc_external("PetscSection/PetscSectionSetFieldDof")) """ function PetscSectionSetFieldDof(petsclib::PetscLibType, s::PetscSection, point::Integer, field::Integer, numDof::Integer) - error("PetscSectionSetFieldDof: no generated method for these argument types") + throw(MethodError(PetscSectionSetFieldDof, (petsclib, s, point, field, numDof))) end @for_petsc function PetscSectionSetFieldDof(petsclib::$UnionPetscLib, s::PetscSection, point::$PetscInt, field::$PetscInt, numDof::$PetscInt ) @@ -2739,7 +2739,7 @@ See also: PetscSection, `PetscSectionGetFieldName()`, `PetscSectionSetNumFields( $(_doc_external("PetscSection/PetscSectionSetFieldName")) """ function PetscSectionSetFieldName(petsclib::PetscLibType, s::PetscSection, field::Integer, fieldName::String) - error("PetscSectionSetFieldName: no generated method for these argument types") + throw(MethodError(PetscSectionSetFieldName, (petsclib, s, field, fieldName))) end @for_petsc function PetscSectionSetFieldName(petsclib::$UnionPetscLib, s::PetscSection, field::$PetscInt, fieldName::String ) @@ -2775,7 +2775,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionGetFieldOffset()`, `PetscSe $(_doc_external("PetscSection/PetscSectionSetFieldOffset")) """ function PetscSectionSetFieldOffset(petsclib::PetscLibType, s::PetscSection, point::Integer, field::Integer, offset::Integer) - error("PetscSectionSetFieldOffset: no generated method for these argument types") + throw(MethodError(PetscSectionSetFieldOffset, (petsclib, s, point, field, offset))) end @for_petsc function PetscSectionSetFieldOffset(petsclib::$UnionPetscLib, s::PetscSection, point::$PetscInt, field::$PetscInt, offset::$PetscInt ) @@ -2810,7 +2810,7 @@ See also: PetscSection, `PetscSectionSym`, `PetscSectionGetFieldSym()`, `PetscSe $(_doc_external("PetscSection/PetscSectionSetFieldSym")) """ function PetscSectionSetFieldSym(petsclib::PetscLibType, section::PetscSection, field::Integer, sym::PetscSectionSym) - error("PetscSectionSetFieldSym: no generated method for these argument types") + throw(MethodError(PetscSectionSetFieldSym, (petsclib, section, field, sym))) end @for_petsc function PetscSectionSetFieldSym(petsclib::$UnionPetscLib, section::PetscSection, field::$PetscInt, sym::PetscSectionSym ) @@ -2846,7 +2846,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionCreate()`, `PetscSectionDes $(_doc_external("PetscSection/PetscSectionSetFromOptions")) """ function PetscSectionSetFromOptions(petsclib::PetscLibType, s::PetscSection) - error("PetscSectionSetFromOptions: no generated method for these argument types") + throw(MethodError(PetscSectionSetFromOptions, (petsclib, s))) end @for_petsc function PetscSectionSetFromOptions(petsclib::$UnionPetscLib, s::PetscSection ) @@ -2880,7 +2880,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionGetIncludesConstraints()` $(_doc_external("PetscSection/PetscSectionSetIncludesConstraints")) """ function PetscSectionSetIncludesConstraints(petsclib::PetscLibType, s::PetscSection, includesConstraints::PetscBool) - error("PetscSectionSetIncludesConstraints: no generated method for these argument types") + throw(MethodError(PetscSectionSetIncludesConstraints, (petsclib, s, includesConstraints))) end @for_petsc function PetscSectionSetIncludesConstraints(petsclib::$UnionPetscLib, s::PetscSection, includesConstraints::PetscBool ) @@ -2914,7 +2914,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionGetNumFields()`, `PetscSect $(_doc_external("PetscSection/PetscSectionSetNumFields")) """ function PetscSectionSetNumFields(petsclib::PetscLibType, s::PetscSection, numFields::Integer) - error("PetscSectionSetNumFields: no generated method for these argument types") + throw(MethodError(PetscSectionSetNumFields, (petsclib, s, numFields))) end @for_petsc function PetscSectionSetNumFields(petsclib::$UnionPetscLib, s::PetscSection, numFields::$PetscInt ) @@ -2949,7 +2949,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionGetFieldOffset()`, `PetscSe $(_doc_external("PetscSection/PetscSectionSetOffset")) """ function PetscSectionSetOffset(petsclib::PetscLibType, s::PetscSection, point::Integer, offset::Integer) - error("PetscSectionSetOffset: no generated method for these argument types") + throw(MethodError(PetscSectionSetOffset, (petsclib, s, point, offset))) end @for_petsc function PetscSectionSetOffset(petsclib::$UnionPetscLib, s::PetscSection, point::$PetscInt, offset::$PetscInt ) @@ -2983,7 +2983,7 @@ See also: `IS`, `PetscSection`, `PetscSectionSetUp()`, `PetscSectionGetPermutati $(_doc_external("PetscSection/PetscSectionSetPermutation")) """ function PetscSectionSetPermutation(petsclib::PetscLibType, s::PetscSection, perm::AbstractIS) - error("PetscSectionSetPermutation: no generated method for these argument types") + throw(MethodError(PetscSectionSetPermutation, (petsclib, s, perm))) end @for_petsc function PetscSectionSetPermutation(petsclib::$UnionPetscLib, s::PetscSection, perm::AbstractIS ) @@ -3017,7 +3017,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionGetPointMajor()`, `PetscSec $(_doc_external("PetscSection/PetscSectionSetPointMajor")) """ function PetscSectionSetPointMajor(petsclib::PetscLibType, s::PetscSection, pm::PetscBool) - error("PetscSectionSetPointMajor: no generated method for these argument types") + throw(MethodError(PetscSectionSetPointMajor, (petsclib, s, pm))) end @for_petsc function PetscSectionSetPointMajor(petsclib::$UnionPetscLib, s::PetscSection, pm::PetscBool ) @@ -3051,7 +3051,7 @@ See also: PetscSection, `PetscSectionSym`, `PetscSectionGetSym()`, `PetscSection $(_doc_external("PetscSection/PetscSectionSetSym")) """ function PetscSectionSetSym(petsclib::PetscLibType, section::PetscSection, sym::PetscSectionSym) - error("PetscSectionSetSym: no generated method for these argument types") + throw(MethodError(PetscSectionSetSym, (petsclib, section, sym))) end @for_petsc function PetscSectionSetSym(petsclib::$UnionPetscLib, section::PetscSection, sym::PetscSectionSym ) @@ -3084,7 +3084,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionCreate()`, `PetscSectionSet $(_doc_external("PetscSection/PetscSectionSetUp")) """ function PetscSectionSetUp(petsclib::PetscLibType, s::PetscSection) - error("PetscSectionSetUp: no generated method for these argument types") + throw(MethodError(PetscSectionSetUp, (petsclib, s))) end @for_petsc function PetscSectionSetUp(petsclib::$UnionPetscLib, s::PetscSection ) @@ -3117,7 +3117,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionSetUp()`, `PetscSectionCrea $(_doc_external("PetscSection/PetscSectionSetUpBC")) """ function PetscSectionSetUpBC(petsclib::PetscLibType, s::PetscSection) - error("PetscSectionSetUpBC: no generated method for these argument types") + throw(MethodError(PetscSectionSetUpBC, (petsclib, s))) end @for_petsc function PetscSectionSetUpBC(petsclib::$UnionPetscLib, s::PetscSection ) @@ -3151,7 +3151,7 @@ See also: PetscSection, `PetscSectionSym`, `PetscSectionGetUseFieldOffsets()`, ` $(_doc_external("PetscSection/PetscSectionSetUseFieldOffsets")) """ function PetscSectionSetUseFieldOffsets(petsclib::PetscLibType, s::PetscSection, flg::PetscBool) - error("PetscSectionSetUseFieldOffsets: no generated method for these argument types") + throw(MethodError(PetscSectionSetUseFieldOffsets, (petsclib, s, flg))) end @for_petsc function PetscSectionSetUseFieldOffsets(petsclib::$UnionPetscLib, s::PetscSection, flg::PetscBool ) @@ -3187,7 +3187,7 @@ See also: PetscSection, `PetscSectionSym`, `PetscSectionSymCreate()`, `PetscSect $(_doc_external("PetscSection/PetscSectionSymCopy")) """ function PetscSectionSymCopy(petsclib::PetscLibType, sym::PetscSectionSym, nsym::PetscSectionSym) - error("PetscSectionSymCopy: no generated method for these argument types") + throw(MethodError(PetscSectionSymCopy, (petsclib, sym, nsym))) end @for_petsc function PetscSectionSymCopy(petsclib::$UnionPetscLib, sym::PetscSectionSym, nsym::PetscSectionSym ) @@ -3223,7 +3223,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionSym`, `PetscSectionSymDestr $(_doc_external("PetscSection/PetscSectionSymCreate")) """ function PetscSectionSymCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("PetscSectionSymCreate: no generated method for these argument types") + throw(MethodError(PetscSectionSymCreate, (petsclib, comm))) end @for_petsc function PetscSectionSymCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -3262,7 +3262,7 @@ See also: `DMLabel`, `DM`, `PetscSectionSymCreate()`, `PetscSectionSetSym()`, `P $(_doc_external("DMLabel/PetscSectionSymCreateLabel")) """ function PetscSectionSymCreateLabel(petsclib::PetscLibType, comm::MPI_Comm, label::DMLabel) - error("PetscSectionSymCreateLabel: no generated method for these argument types") + throw(MethodError(PetscSectionSymCreateLabel, (petsclib, comm, label))) end @for_petsc function PetscSectionSymCreateLabel(petsclib::$UnionPetscLib, comm::MPI_Comm, label::DMLabel ) @@ -3297,7 +3297,7 @@ See also: PetscSection, `PetscSectionSym`, `PetscSectionSymCreate()` $(_doc_external("PetscSection/PetscSectionSymDestroy")) """ function PetscSectionSymDestroy(petsclib::PetscLibType, sym::Union{PetscSectionSym, Ref{PetscSectionSym}}) - error("PetscSectionSymDestroy: no generated method for these argument types") + throw(MethodError(PetscSectionSymDestroy, (petsclib, sym))) end @for_petsc function PetscSectionSymDestroy(petsclib::$UnionPetscLib, sym::Union{PetscSectionSym, Ref{PetscSectionSym}} ) @@ -3335,7 +3335,7 @@ See also: PetscSection, `PetscSectionSym`, `PetscSectionSymCreate()`, `PetscSect $(_doc_external("PetscSection/PetscSectionSymDistribute")) """ function PetscSectionSymDistribute(petsclib::PetscLibType, sym::PetscSectionSym, migrationSF::PetscSF) - error("PetscSectionSymDistribute: no generated method for these argument types") + throw(MethodError(PetscSectionSymDistribute, (petsclib, sym, migrationSF))) end @for_petsc function PetscSectionSymDistribute(petsclib::$UnionPetscLib, sym::PetscSectionSym, migrationSF::PetscSF ) @@ -3373,7 +3373,7 @@ See also: PetscSection, `PetscSectionSym`, `PetscSectionSymType`, `PetscSectionS $(_doc_external("PetscSection/PetscSectionSymGetType")) """ function PetscSectionSymGetType(petsclib::PetscLibType, sym::PetscSectionSym) - error("PetscSectionSymGetType: no generated method for these argument types") + throw(MethodError(PetscSectionSymGetType, (petsclib, sym))) end @for_petsc function PetscSectionSymGetType(petsclib::$UnionPetscLib, sym::PetscSectionSym ) @@ -3416,7 +3416,7 @@ See also: `DMLabel`, `DM`, `PetscSectionSymLabelSetStratum()`, `PetscSectionSymC $(_doc_external("DMLabel/PetscSectionSymLabelGetStratum")) """ function PetscSectionSymLabelGetStratum(petsclib::PetscLibType, sym::PetscSectionSym, stratum::Integer) - error("PetscSectionSymLabelGetStratum: no generated method for these argument types") + throw(MethodError(PetscSectionSymLabelGetStratum, (petsclib, sym, stratum))) end @for_petsc function PetscSectionSymLabelGetStratum(petsclib::$UnionPetscLib, sym::PetscSectionSym, stratum::$PetscInt ) @@ -3460,7 +3460,7 @@ See also: `DMLabel`, `DM`, `PetscSectionSymLabelSetStratum()`, `PetscSectionSymC $(_doc_external("DMLabel/PetscSectionSymLabelSetLabel")) """ function PetscSectionSymLabelSetLabel(petsclib::PetscLibType, sym::PetscSectionSym, label::DMLabel) - error("PetscSectionSymLabelSetLabel: no generated method for these argument types") + throw(MethodError(PetscSectionSymLabelSetLabel, (petsclib, sym, label))) end @for_petsc function PetscSectionSymLabelSetLabel(petsclib::$UnionPetscLib, sym::PetscSectionSym, label::DMLabel ) @@ -3500,7 +3500,7 @@ See also: `DMLabel`, `DM`, `PetscSectionSymLabelGetStratum()`, `PetscSectionSymC $(_doc_external("DMLabel/PetscSectionSymLabelSetStratum")) """ function PetscSectionSymLabelSetStratum(petsclib::PetscLibType, sym::PetscSectionSym, stratum::Integer, size::Integer, minOrient::Integer, maxOrient::Integer, mode::PetscCopyMode, perms::Integer, rots::Number) - error("PetscSectionSymLabelSetStratum: no generated method for these argument types") + throw(MethodError(PetscSectionSymLabelSetStratum, (petsclib, sym, stratum, size, minOrient, maxOrient, mode, perms, rots))) end @for_petsc function PetscSectionSymLabelSetStratum(petsclib::$UnionPetscLib, sym::PetscSectionSym, stratum::$PetscInt, size::$PetscInt, minOrient::$PetscInt, maxOrient::$PetscInt, mode::PetscCopyMode, perms::$PetscInt, rots::$PetscScalar ) @@ -3534,7 +3534,7 @@ See also: PetscSection, `PetscSectionSym`, `PetscSectionSymType`, `PetscSectionS $(_doc_external("PetscSection/PetscSectionSymRegister")) """ function PetscSectionSymRegister(petsclib::PetscLibType, sname::String, fnc::external) - error("PetscSectionSymRegister: no generated method for these argument types") + throw(MethodError(PetscSectionSymRegister, (petsclib, sname, fnc))) end @for_petsc function PetscSectionSymRegister(petsclib::$UnionPetscLib, sname::String, fnc::external ) @@ -3568,7 +3568,7 @@ See also: PetscSection, `PetscSectionSym`, `PetscSectionSymType`, `PetscSectionS $(_doc_external("PetscSection/PetscSectionSymSetType")) """ function PetscSectionSymSetType(petsclib::PetscLibType, sym::PetscSectionSym, method::String) - error("PetscSectionSymSetType: no generated method for these argument types") + throw(MethodError(PetscSectionSymSetType, (petsclib, sym, method))) end @for_petsc function PetscSectionSymSetType(petsclib::$UnionPetscLib, sym::PetscSectionSym, method::String ) @@ -3602,7 +3602,7 @@ See also: `PetscSectionSym`, `PetscViewer`, `PetscViewerASCIIOpen()` $(_doc_external("PetscSection/PetscSectionSymView")) """ function PetscSectionSymView(petsclib::PetscLibType, sym::PetscSectionSym, viewer::PetscViewer) - error("PetscSectionSymView: no generated method for these argument types") + throw(MethodError(PetscSectionSymView, (petsclib, sym, viewer))) end @for_petsc function PetscSectionSymView(petsclib::$UnionPetscLib, sym::PetscSectionSym, viewer::PetscViewer ) @@ -3639,7 +3639,7 @@ See also: `VecNorm()`, `PetscSectionCreate()` $(_doc_external("Vec/PetscSectionVecNorm")) """ function PetscSectionVecNorm(petsclib::PetscLibType, s::PetscSection, gs::PetscSection, x::AbstractPetscVec, type::NormType, val::AbstractVector{<:Number}) - error("PetscSectionVecNorm: no generated method for these argument types") + throw(MethodError(PetscSectionVecNorm, (petsclib, s, gs, x, type, val))) end @for_petsc function PetscSectionVecNorm(petsclib::$UnionPetscLib, s::PetscSection, gs::PetscSection, x::AbstractPetscVec, type::NormType, val::Vector{$PetscReal} ) @@ -3674,7 +3674,7 @@ See also: `PetscSection`, `PetscViewer`, `PetscSectionCreate()`, `VecSetValuesSe $(_doc_external("Vec/PetscSectionVecView")) """ function PetscSectionVecView(petsclib::PetscLibType, s::PetscSection, v::AbstractPetscVec, viewer::PetscViewer) - error("PetscSectionVecView: no generated method for these argument types") + throw(MethodError(PetscSectionVecView, (petsclib, s, v, viewer))) end @for_petsc function PetscSectionVecView(petsclib::$UnionPetscLib, s::PetscSection, v::AbstractPetscVec, viewer::PetscViewer ) @@ -3708,7 +3708,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionCreate()`, `PetscSectionDes $(_doc_external("PetscSection/PetscSectionView")) """ function PetscSectionView(petsclib::PetscLibType, s::PetscSection, viewer::PetscViewer) - error("PetscSectionView: no generated method for these argument types") + throw(MethodError(PetscSectionView, (petsclib, s, viewer))) end @for_petsc function PetscSectionView(petsclib::$UnionPetscLib, s::PetscSection, viewer::PetscViewer ) @@ -3746,7 +3746,7 @@ See also: PetscSection, `PetscSection`, `PetscSectionView`, `PetscObjectViewFrom $(_doc_external("PetscSection/PetscSectionViewFromOptions")) """ function PetscSectionViewFromOptions(petsclib::PetscLibType, A::PetscSection, obj, name::String) - error("PetscSectionViewFromOptions: no generated method for these argument types") + throw(MethodError(PetscSectionViewFromOptions, (petsclib, A, obj, name))) end @for_petsc function PetscSectionViewFromOptions(petsclib::$UnionPetscLib, A::PetscSection, obj, name::String ) diff --git a/src/autowrapped/PetscSegBuffer_wrappers.jl b/src/autowrapped/PetscSegBuffer_wrappers.jl index f90677bf5..fab4dd085 100644 --- a/src/autowrapped/PetscSegBuffer_wrappers.jl +++ b/src/autowrapped/PetscSegBuffer_wrappers.jl @@ -20,7 +20,7 @@ See also: `PetscSegBufferGet()`, `PetscSegBufferExtractAlloc()`, `PetscSegBuffer $(_doc_external("Sys/PetscSegBufferCreate")) """ function PetscSegBufferCreate(petsclib::PetscLibType, unitbytes::Csize_t, expected::PetscCount) - error("PetscSegBufferCreate: no generated method for these argument types") + throw(MethodError(PetscSegBufferCreate, (petsclib, unitbytes, expected))) end @for_petsc function PetscSegBufferCreate(petsclib::$UnionPetscLib, unitbytes::Csize_t, expected::PetscCount ) @@ -55,7 +55,7 @@ See also: `PetscSegBuffer`, `PetscSegBufferCreate()` $(_doc_external("Sys/PetscSegBufferDestroy")) """ function PetscSegBufferDestroy(petsclib::PetscLibType, seg::Union{PetscSegBuffer, Ref{PetscSegBuffer}}) - error("PetscSegBufferDestroy: no generated method for these argument types") + throw(MethodError(PetscSegBufferDestroy, (petsclib, seg))) end @for_petsc function PetscSegBufferDestroy(petsclib::$UnionPetscLib, seg::Union{PetscSegBuffer, Ref{PetscSegBuffer}} ) @@ -93,7 +93,7 @@ See also: `PetscSegBufferCreate()`, `PetscSegBufferGet()`, `PetscSegBufferDestro $(_doc_external("Sys/PetscSegBufferExtractAlloc")) """ function PetscSegBufferExtractAlloc(petsclib::PetscLibType, seg::PetscSegBuffer) - error("PetscSegBufferExtractAlloc: no generated method for these argument types") + throw(MethodError(PetscSegBufferExtractAlloc, (petsclib, seg))) end @for_petsc function PetscSegBufferExtractAlloc(petsclib::$UnionPetscLib, seg::PetscSegBuffer ) @@ -131,7 +131,7 @@ See also: `PetscSegBuffer`, `PetscSegBufferExtractAlloc()`, `PetscSegBufferExtra $(_doc_external("Sys/PetscSegBufferExtractInPlace")) """ function PetscSegBufferExtractInPlace(petsclib::PetscLibType, seg::PetscSegBuffer) - error("PetscSegBufferExtractInPlace: no generated method for these argument types") + throw(MethodError(PetscSegBufferExtractInPlace, (petsclib, seg))) end @for_petsc function PetscSegBufferExtractInPlace(petsclib::$UnionPetscLib, seg::PetscSegBuffer ) @@ -168,7 +168,7 @@ See also: `PetscSegBufferCreate()`, `PetscSegBufferGet()`, `PetscSegBufferDestro $(_doc_external("Sys/PetscSegBufferExtractTo")) """ function PetscSegBufferExtractTo(petsclib::PetscLibType, seg::PetscSegBuffer, contig::Ptr{Cvoid}) - error("PetscSegBufferExtractTo: no generated method for these argument types") + throw(MethodError(PetscSegBufferExtractTo, (petsclib, seg, contig))) end @for_petsc function PetscSegBufferExtractTo(petsclib::$UnionPetscLib, seg::PetscSegBuffer, contig::Ptr{Cvoid} ) @@ -206,7 +206,7 @@ See also: `PetscSegBufferCreate()`, `PetscSegBufferExtractAlloc()`, `PetscSegBuf $(_doc_external("Sys/PetscSegBufferGet")) """ function PetscSegBufferGet(petsclib::PetscLibType, seg::PetscSegBuffer, count::PetscCount) - error("PetscSegBufferGet: no generated method for these argument types") + throw(MethodError(PetscSegBufferGet, (petsclib, seg, count))) end @for_petsc function PetscSegBufferGet(petsclib::$UnionPetscLib, seg::PetscSegBuffer, count::PetscCount ) @@ -244,7 +244,7 @@ See also: `PetscSegBuffer`, `PetscSegBufferExtractAlloc()`, `PetscSegBufferExtra $(_doc_external("Sys/PetscSegBufferGetSize")) """ function PetscSegBufferGetSize(petsclib::PetscLibType, seg::PetscSegBuffer) - error("PetscSegBufferGetSize: no generated method for these argument types") + throw(MethodError(PetscSegBufferGetSize, (petsclib, seg))) end @for_petsc function PetscSegBufferGetSize(petsclib::$UnionPetscLib, seg::PetscSegBuffer ) @@ -280,7 +280,7 @@ See also: `PetscSegBuffer`, `PetscSegBufferCreate()`, `PetscSegBufferGet()` $(_doc_external("Sys/PetscSegBufferUnuse")) """ function PetscSegBufferUnuse(petsclib::PetscLibType, seg::PetscSegBuffer, unused::PetscCount) - error("PetscSegBufferUnuse: no generated method for these argument types") + throw(MethodError(PetscSegBufferUnuse, (petsclib, seg, unused))) end @for_petsc function PetscSegBufferUnuse(petsclib::$UnionPetscLib, seg::PetscSegBuffer, unused::PetscCount ) diff --git a/src/autowrapped/PetscSpace_wrappers.jl b/src/autowrapped/PetscSpace_wrappers.jl index e4a0c5151..79b305775 100644 --- a/src/autowrapped/PetscSpace_wrappers.jl +++ b/src/autowrapped/PetscSpace_wrappers.jl @@ -18,7 +18,7 @@ See also: `PetscSpace`, `PetscSpaceSetType()`, `PETSCSPACEPOLYNOMIAL` $(_doc_external("SPACE/PetscSpaceCreate")) """ function PetscSpaceCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("PetscSpaceCreate: no generated method for these argument types") + throw(MethodError(PetscSpaceCreate, (petsclib, comm))) end @for_petsc function PetscSpaceCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -60,7 +60,7 @@ See also: `PetscSpace`, `PetscDualSpace`, `PetscCopyMode`, `PetscSpaceType` $(_doc_external("SPACE/PetscSpaceCreateSubspace")) """ function PetscSpaceCreateSubspace(petsclib::PetscLibType, origSpace::PetscSpace, dualSubspace::PetscDualSpace, copymode::PetscCopyMode) - error("PetscSpaceCreateSubspace: no generated method for these argument types") + throw(MethodError(PetscSpaceCreateSubspace, (petsclib, origSpace, dualSubspace, copymode))) end @for_petsc function PetscSpaceCreateSubspace(petsclib::$UnionPetscLib, origSpace::PetscSpace, dualSubspace::PetscDualSpace, copymode::PetscCopyMode ) @@ -103,7 +103,7 @@ See also: `PetscSpace`, `PetscSpaceCreate()` $(_doc_external("SPACE/PetscSpaceDestroy")) """ function PetscSpaceDestroy(petsclib::PetscLibType, sp::Union{PetscSpace, Ref{PetscSpace}}) - error("PetscSpaceDestroy: no generated method for these argument types") + throw(MethodError(PetscSpaceDestroy, (petsclib, sp))) end @for_petsc function PetscSpaceDestroy(petsclib::$UnionPetscLib, sp::Union{PetscSpace, Ref{PetscSpace}} ) @@ -142,7 +142,7 @@ See also: `PetscSpace`, `PetscFECreateTabulation()`, `PetscFEGetCellTabulation() $(_doc_external("SPACE/PetscSpaceEvaluate")) """ function PetscSpaceEvaluate(petsclib::PetscLibType, sp::PetscSpace, npoints::Integer, points::AbstractVector{<:Number}, B::AbstractVector{<:Number}, D::AbstractVector{<:Number}, H::AbstractVector{<:Number}) - error("PetscSpaceEvaluate: no generated method for these argument types") + throw(MethodError(PetscSpaceEvaluate, (petsclib, sp, npoints, points, B, D, H))) end @for_petsc function PetscSpaceEvaluate(petsclib::$UnionPetscLib, sp::PetscSpace, npoints::$PetscInt, points::Vector{$PetscReal}, B::Vector{$PetscReal}, D::Vector{$PetscReal}, H::Vector{$PetscReal} ) @@ -177,7 +177,7 @@ See also: `PetscSpace`, `PetscSpaceSetDegree()`, `PetscSpaceGetDimension()`, `Pe $(_doc_external("SPACE/PetscSpaceGetDegree")) """ function PetscSpaceGetDegree(petsclib::PetscLibType, sp::PetscSpace) - error("PetscSpaceGetDegree: no generated method for these argument types") + throw(MethodError(PetscSpaceGetDegree, (petsclib, sp))) end @for_petsc function PetscSpaceGetDegree(petsclib::$UnionPetscLib, sp::PetscSpace ) @@ -215,7 +215,7 @@ See also: `PetscSpace`, `PetscSpaceGetDegree()`, `PetscSpaceCreate()` $(_doc_external("SPACE/PetscSpaceGetDimension")) """ function PetscSpaceGetDimension(petsclib::PetscLibType, sp::PetscSpace) - error("PetscSpaceGetDimension: no generated method for these argument types") + throw(MethodError(PetscSpaceGetDimension, (petsclib, sp))) end @for_petsc function PetscSpaceGetDimension(petsclib::$UnionPetscLib, sp::PetscSpace ) @@ -254,7 +254,7 @@ See also: `PetscDualSpaceGetHeightSubspace()`, `PetscSpace` $(_doc_external("SPACE/PetscSpaceGetHeightSubspace")) """ function PetscSpaceGetHeightSubspace(petsclib::PetscLibType, sp::PetscSpace, height::Integer) - error("PetscSpaceGetHeightSubspace: no generated method for these argument types") + throw(MethodError(PetscSpaceGetHeightSubspace, (petsclib, sp, height))) end @for_petsc function PetscSpaceGetHeightSubspace(petsclib::$UnionPetscLib, sp::PetscSpace, height::$PetscInt ) @@ -290,7 +290,7 @@ See also: `PetscSpace`, `PetscSpaceSetNumComponents()`, `PetscSpaceGetNumVariabl $(_doc_external("SPACE/PetscSpaceGetNumComponents")) """ function PetscSpaceGetNumComponents(petsclib::PetscLibType, sp::PetscSpace) - error("PetscSpaceGetNumComponents: no generated method for these argument types") + throw(MethodError(PetscSpaceGetNumComponents, (petsclib, sp))) end @for_petsc function PetscSpaceGetNumComponents(petsclib::$UnionPetscLib, sp::PetscSpace ) @@ -326,7 +326,7 @@ See also: `PetscSpace`, `PetscSpaceSetNumVariables()`, `PetscSpaceGetNumComponen $(_doc_external("SPACE/PetscSpaceGetNumVariables")) """ function PetscSpaceGetNumVariables(petsclib::PetscLibType, sp::PetscSpace) - error("PetscSpaceGetNumVariables: no generated method for these argument types") + throw(MethodError(PetscSpaceGetNumVariables, (petsclib, sp))) end @for_petsc function PetscSpaceGetNumVariables(petsclib::$UnionPetscLib, sp::PetscSpace ) @@ -364,7 +364,7 @@ See also: `PetscSpaceType`, `PetscSpace`, `PetscSpaceSetType()`, `PetscSpaceCrea $(_doc_external("SPACE/PetscSpaceGetType")) """ function PetscSpaceGetType(petsclib::PetscLibType, sp::PetscSpace) - error("PetscSpaceGetType: no generated method for these argument types") + throw(MethodError(PetscSpaceGetType, (petsclib, sp))) end @for_petsc function PetscSpaceGetType(petsclib::$UnionPetscLib, sp::PetscSpace ) @@ -400,7 +400,7 @@ See also: `PetscSpace`, `PetscDTAltV`, `PetscDTPTrimmedEvalJet()`, `PetscSpacePT $(_doc_external("SPACE/PetscSpacePTrimmedGetFormDegree")) """ function PetscSpacePTrimmedGetFormDegree(petsclib::PetscLibType, sp::PetscSpace) - error("PetscSpacePTrimmedGetFormDegree: no generated method for these argument types") + throw(MethodError(PetscSpacePTrimmedGetFormDegree, (petsclib, sp))) end @for_petsc function PetscSpacePTrimmedGetFormDegree(petsclib::$UnionPetscLib, sp::PetscSpace ) @@ -437,7 +437,7 @@ See also: `PetscSpace`, `PetscDTAltV`, `PetscDTPTrimmedEvalJet()`, `PetscSpacePT $(_doc_external("SPACE/PetscSpacePTrimmedSetFormDegree")) """ function PetscSpacePTrimmedSetFormDegree(petsclib::PetscLibType, sp::PetscSpace, formDegree::Integer) - error("PetscSpacePTrimmedSetFormDegree: no generated method for these argument types") + throw(MethodError(PetscSpacePTrimmedSetFormDegree, (petsclib, sp, formDegree))) end @for_petsc function PetscSpacePTrimmedSetFormDegree(petsclib::$UnionPetscLib, sp::PetscSpace, formDegree::$PetscInt ) @@ -473,7 +473,7 @@ See also: `PetscSpace`, `PetscQuadrature`, `PetscSpaceCreate()`, `PetscSpaceSetT $(_doc_external("SPACE/PetscSpacePointGetPoints")) """ function PetscSpacePointGetPoints(petsclib::PetscLibType, sp::PetscSpace) - error("PetscSpacePointGetPoints: no generated method for these argument types") + throw(MethodError(PetscSpacePointGetPoints, (petsclib, sp))) end @for_petsc function PetscSpacePointGetPoints(petsclib::$UnionPetscLib, sp::PetscSpace ) @@ -509,7 +509,7 @@ See also: `PetscSpace`, `PetscQuadrature`, `PetscSpaceCreate()`, `PetscSpaceSetT $(_doc_external("SPACE/PetscSpacePointSetPoints")) """ function PetscSpacePointSetPoints(petsclib::PetscLibType, sp::PetscSpace, q::PetscQuadrature) - error("PetscSpacePointSetPoints: no generated method for these argument types") + throw(MethodError(PetscSpacePointSetPoints, (petsclib, sp, q))) end @for_petsc function PetscSpacePointSetPoints(petsclib::$UnionPetscLib, sp::PetscSpace, q::PetscQuadrature ) @@ -544,7 +544,7 @@ See also: `PetscSpace`, `PetscSpacePolynomialSetTensor()`, `PetscSpaceSetDegree( $(_doc_external("SPACE/PetscSpacePolynomialGetTensor")) """ function PetscSpacePolynomialGetTensor(petsclib::PetscLibType, sp::PetscSpace) - error("PetscSpacePolynomialGetTensor: no generated method for these argument types") + throw(MethodError(PetscSpacePolynomialGetTensor, (petsclib, sp))) end @for_petsc function PetscSpacePolynomialGetTensor(petsclib::$UnionPetscLib, sp::PetscSpace ) @@ -581,7 +581,7 @@ See also: `PetscSpace`, `PetscSpacePolynomialGetTensor()`, `PetscSpaceSetDegree( $(_doc_external("SPACE/PetscSpacePolynomialSetTensor")) """ function PetscSpacePolynomialSetTensor(petsclib::PetscLibType, sp::PetscSpace, tensor::PetscBool) - error("PetscSpacePolynomialSetTensor: no generated method for these argument types") + throw(MethodError(PetscSpacePolynomialSetTensor, (petsclib, sp, tensor))) end @for_petsc function PetscSpacePolynomialSetTensor(petsclib::$UnionPetscLib, sp::PetscSpace, tensor::PetscBool ) @@ -613,7 +613,7 @@ See also: `PetscSpace`, `PetscSpaceRegisterAll()`, `PetscSpaceRegisterDestroy()` $(_doc_external("SPACE/PetscSpaceRegister")) """ function PetscSpaceRegister(petsclib::PetscLibType, sname::String, fnc::external) - error("PetscSpaceRegister: no generated method for these argument types") + throw(MethodError(PetscSpaceRegister, (petsclib, sname, fnc))) end @for_petsc function PetscSpaceRegister(petsclib::$UnionPetscLib, sname::String, fnc::external ) @@ -646,7 +646,7 @@ See also: `PetscSpace`, `PetscSpaceGetDegree()`, `PetscSpaceCreate()` $(_doc_external("SPACE/PetscSpaceSetDegree")) """ function PetscSpaceSetDegree(petsclib::PetscLibType, sp::PetscSpace, degree::Integer, maxDegree::Integer) - error("PetscSpaceSetDegree: no generated method for these argument types") + throw(MethodError(PetscSpaceSetDegree, (petsclib, sp, degree, maxDegree))) end @for_petsc function PetscSpaceSetDegree(petsclib::$UnionPetscLib, sp::PetscSpace, degree::$PetscInt, maxDegree::$PetscInt ) @@ -684,7 +684,7 @@ See also: `PetscSpace`, `PetscSpaceView()` $(_doc_external("SPACE/PetscSpaceSetFromOptions")) """ function PetscSpaceSetFromOptions(petsclib::PetscLibType, sp::PetscSpace) - error("PetscSpaceSetFromOptions: no generated method for these argument types") + throw(MethodError(PetscSpaceSetFromOptions, (petsclib, sp))) end @for_petsc function PetscSpaceSetFromOptions(petsclib::$UnionPetscLib, sp::PetscSpace ) @@ -716,7 +716,7 @@ See also: `PetscSpace`, `PetscSpaceGetNumComponents()`, `PetscSpaceSetNumVariabl $(_doc_external("SPACE/PetscSpaceSetNumComponents")) """ function PetscSpaceSetNumComponents(petsclib::PetscLibType, sp::PetscSpace, Nc::Integer) - error("PetscSpaceSetNumComponents: no generated method for these argument types") + throw(MethodError(PetscSpaceSetNumComponents, (petsclib, sp, Nc))) end @for_petsc function PetscSpaceSetNumComponents(petsclib::$UnionPetscLib, sp::PetscSpace, Nc::$PetscInt ) @@ -748,7 +748,7 @@ See also: `PetscSpace`, `PetscSpaceGetNumVariables()`, `PetscSpaceSetNumComponen $(_doc_external("SPACE/PetscSpaceSetNumVariables")) """ function PetscSpaceSetNumVariables(petsclib::PetscLibType, sp::PetscSpace, n::Integer) - error("PetscSpaceSetNumVariables: no generated method for these argument types") + throw(MethodError(PetscSpaceSetNumVariables, (petsclib, sp, n))) end @for_petsc function PetscSpaceSetNumVariables(petsclib::$UnionPetscLib, sp::PetscSpace, n::$PetscInt ) @@ -785,7 +785,7 @@ See also: `PetscSpace`, `PetscSpaceType`, `PetscSpaceGetType()`, `PetscSpaceCrea $(_doc_external("SPACE/PetscSpaceSetType")) """ function PetscSpaceSetType(petsclib::PetscLibType, sp::PetscSpace, name::String) - error("PetscSpaceSetType: no generated method for these argument types") + throw(MethodError(PetscSpaceSetType, (petsclib, sp, name))) end @for_petsc function PetscSpaceSetType(petsclib::$UnionPetscLib, sp::PetscSpace, name::String ) @@ -818,7 +818,7 @@ See also: `PetscSpace`, `PetscSpaceView()`, `PetscSpaceDestroy()` $(_doc_external("SPACE/PetscSpaceSetUp")) """ function PetscSpaceSetUp(petsclib::PetscLibType, sp::PetscSpace) - error("PetscSpaceSetUp: no generated method for these argument types") + throw(MethodError(PetscSpaceSetUp, (petsclib, sp))) end @for_petsc function PetscSpaceSetUp(petsclib::$UnionPetscLib, sp::PetscSpace ) @@ -852,7 +852,7 @@ See also: `PETSCSPACESUM`, `PetscSpace`, `PetscSpaceSumSetConcatenate()` $(_doc_external("SPACE/PetscSpaceSumGetConcatenate")) """ function PetscSpaceSumGetConcatenate(petsclib::PetscLibType, sp::PetscSpace) - error("PetscSpaceSumGetConcatenate: no generated method for these argument types") + throw(MethodError(PetscSpaceSumGetConcatenate, (petsclib, sp))) end @for_petsc function PetscSpaceSumGetConcatenate(petsclib::$UnionPetscLib, sp::PetscSpace ) @@ -892,7 +892,7 @@ See also: `PetscSpace`, `PETSCSPACESUM`, `PETSCFEVECTOR`, `PetscSpaceSumSetInter $(_doc_external("SPACE/PetscSpaceSumGetInterleave")) """ function PetscSpaceSumGetInterleave(petsclib::PetscLibType, sp::PetscSpace) - error("PetscSpaceSumGetInterleave: no generated method for these argument types") + throw(MethodError(PetscSpaceSumGetInterleave, (petsclib, sp))) end @for_petsc function PetscSpaceSumGetInterleave(petsclib::$UnionPetscLib, sp::PetscSpace ) @@ -930,7 +930,7 @@ See also: `PETSCSPACESUM`, `PetscSpace`, `PetscSpaceSumSetNumSubspaces()`, `Pets $(_doc_external("SPACE/PetscSpaceSumGetNumSubspaces")) """ function PetscSpaceSumGetNumSubspaces(petsclib::PetscLibType, sp::PetscSpace) - error("PetscSpaceSumGetNumSubspaces: no generated method for these argument types") + throw(MethodError(PetscSpaceSumGetNumSubspaces, (petsclib, sp))) end @for_petsc function PetscSpaceSumGetNumSubspaces(petsclib::$UnionPetscLib, sp::PetscSpace ) @@ -967,7 +967,7 @@ See also: `PETSCSPACESUM`, `PetscSpace`, `PetscSpaceSumSetSubspace()`, `PetscSpa $(_doc_external("SPACE/PetscSpaceSumGetSubspace")) """ function PetscSpaceSumGetSubspace(petsclib::PetscLibType, sp::PetscSpace, s::Integer) - error("PetscSpaceSumGetSubspace: no generated method for these argument types") + throw(MethodError(PetscSpaceSumGetSubspace, (petsclib, sp, s))) end @for_petsc function PetscSpaceSumGetSubspace(petsclib::$UnionPetscLib, sp::PetscSpace, s::$PetscInt ) @@ -1001,7 +1001,7 @@ See also: `PETSCSPACESUM`, `PetscSpace`, `PetscSpaceSumGetConcatenate()` $(_doc_external("SPACE/PetscSpaceSumSetConcatenate")) """ function PetscSpaceSumSetConcatenate(petsclib::PetscLibType, sp::PetscSpace, concatenate::PetscBool) - error("PetscSpaceSumSetConcatenate: no generated method for these argument types") + throw(MethodError(PetscSpaceSumSetConcatenate, (petsclib, sp, concatenate))) end @for_petsc function PetscSpaceSumSetConcatenate(petsclib::$UnionPetscLib, sp::PetscSpace, concatenate::PetscBool ) @@ -1037,7 +1037,7 @@ See also: `PetscSpace`, `PETSCSPACESUM`, `PETSCFEVECTOR`, `PetscSpaceSumGetInter $(_doc_external("SPACE/PetscSpaceSumSetInterleave")) """ function PetscSpaceSumSetInterleave(petsclib::PetscLibType, sp::PetscSpace, interleave_basis::PetscBool, interleave_components::PetscBool) - error("PetscSpaceSumSetInterleave: no generated method for these argument types") + throw(MethodError(PetscSpaceSumSetInterleave, (petsclib, sp, interleave_basis, interleave_components))) end @for_petsc function PetscSpaceSumSetInterleave(petsclib::$UnionPetscLib, sp::PetscSpace, interleave_basis::PetscBool, interleave_components::PetscBool ) @@ -1069,7 +1069,7 @@ See also: `PETSCSPACESUM`, `PetscSpace`, `PetscSpaceSumGetNumSubspaces()`, `Pets $(_doc_external("SPACE/PetscSpaceSumSetNumSubspaces")) """ function PetscSpaceSumSetNumSubspaces(petsclib::PetscLibType, sp::PetscSpace, numSumSpaces::Integer) - error("PetscSpaceSumSetNumSubspaces: no generated method for these argument types") + throw(MethodError(PetscSpaceSumSetNumSubspaces, (petsclib, sp, numSumSpaces))) end @for_petsc function PetscSpaceSumSetNumSubspaces(petsclib::$UnionPetscLib, sp::PetscSpace, numSumSpaces::$PetscInt ) @@ -1102,7 +1102,7 @@ See also: `PETSCSPACESUM`, `PetscSpace`, `PetscSpaceSumGetSubspace()`, `PetscSpa $(_doc_external("SPACE/PetscSpaceSumSetSubspace")) """ function PetscSpaceSumSetSubspace(petsclib::PetscLibType, sp::PetscSpace, s::Integer, subsp::PetscSpace) - error("PetscSpaceSumSetSubspace: no generated method for these argument types") + throw(MethodError(PetscSpaceSumSetSubspace, (petsclib, sp, s, subsp))) end @for_petsc function PetscSpaceSumSetSubspace(petsclib::$UnionPetscLib, sp::PetscSpace, s::$PetscInt, subsp::PetscSpace ) @@ -1136,7 +1136,7 @@ See also: `PETSCSPACETENSOR`, `PetscSpace`, `PetscSpaceTensorSetNumSubspaces()`, $(_doc_external("SPACE/PetscSpaceTensorGetNumSubspaces")) """ function PetscSpaceTensorGetNumSubspaces(petsclib::PetscLibType, sp::PetscSpace) - error("PetscSpaceTensorGetNumSubspaces: no generated method for these argument types") + throw(MethodError(PetscSpaceTensorGetNumSubspaces, (petsclib, sp))) end @for_petsc function PetscSpaceTensorGetNumSubspaces(petsclib::$UnionPetscLib, sp::PetscSpace ) @@ -1173,7 +1173,7 @@ See also: `PETSCSPACETENSOR`, `PetscSpace`, `PetscSpaceTensorSetSubspace()`, `Pe $(_doc_external("SPACE/PetscSpaceTensorGetSubspace")) """ function PetscSpaceTensorGetSubspace(petsclib::PetscLibType, sp::PetscSpace, s::Integer) - error("PetscSpaceTensorGetSubspace: no generated method for these argument types") + throw(MethodError(PetscSpaceTensorGetSubspace, (petsclib, sp, s))) end @for_petsc function PetscSpaceTensorGetSubspace(petsclib::$UnionPetscLib, sp::PetscSpace, s::$PetscInt ) @@ -1207,7 +1207,7 @@ See also: `PETSCSPACETENSOR`, `PetscSpace`, `PetscSpaceTensorGetNumSubspaces()`, $(_doc_external("SPACE/PetscSpaceTensorSetNumSubspaces")) """ function PetscSpaceTensorSetNumSubspaces(petsclib::PetscLibType, sp::PetscSpace, numTensSpaces::Integer) - error("PetscSpaceTensorSetNumSubspaces: no generated method for these argument types") + throw(MethodError(PetscSpaceTensorSetNumSubspaces, (petsclib, sp, numTensSpaces))) end @for_petsc function PetscSpaceTensorSetNumSubspaces(petsclib::$UnionPetscLib, sp::PetscSpace, numTensSpaces::$PetscInt ) @@ -1240,7 +1240,7 @@ See also: `PETSCSPACETENSOR`, `PetscSpace`, `PetscSpaceTensorGetSubspace()`, `Pe $(_doc_external("SPACE/PetscSpaceTensorSetSubspace")) """ function PetscSpaceTensorSetSubspace(petsclib::PetscLibType, sp::PetscSpace, s::Integer, subsp::PetscSpace) - error("PetscSpaceTensorSetSubspace: no generated method for these argument types") + throw(MethodError(PetscSpaceTensorSetSubspace, (petsclib, sp, s, subsp))) end @for_petsc function PetscSpaceTensorSetSubspace(petsclib::$UnionPetscLib, sp::PetscSpace, s::$PetscInt, subsp::PetscSpace ) @@ -1274,7 +1274,7 @@ See also: `PetscSpace`, `PetscViewer`, `PetscSpaceViewFromOptions()`, `PetscSpac $(_doc_external("SPACE/PetscSpaceView")) """ function PetscSpaceView(petsclib::PetscLibType, sp::PetscSpace, v::PetscViewer) - error("PetscSpaceView: no generated method for these argument types") + throw(MethodError(PetscSpaceView, (petsclib, sp, v))) end @for_petsc function PetscSpaceView(petsclib::$UnionPetscLib, sp::PetscSpace, v::PetscViewer ) @@ -1312,7 +1312,7 @@ See also: `PetscSpace`, `PetscSpaceView()`, `PetscObjectViewFromOptions()`, `Pet $(_doc_external("SPACE/PetscSpaceViewFromOptions")) """ function PetscSpaceViewFromOptions(petsclib::PetscLibType, A::PetscSpace, obj, name::String) - error("PetscSpaceViewFromOptions: no generated method for these argument types") + throw(MethodError(PetscSpaceViewFromOptions, (petsclib, A, obj, name))) end @for_petsc function PetscSpaceViewFromOptions(petsclib::$UnionPetscLib, A::PetscSpace, obj, name::String ) diff --git a/src/autowrapped/PetscToken_wrappers.jl b/src/autowrapped/PetscToken_wrappers.jl index 2a4501552..694a665f5 100644 --- a/src/autowrapped/PetscToken_wrappers.jl +++ b/src/autowrapped/PetscToken_wrappers.jl @@ -19,7 +19,7 @@ See also: `PetscToken`, `PetscTokenFind()`, `PetscTokenDestroy()` $(_doc_external("Sys/PetscTokenCreate")) """ function PetscTokenCreate(petsclib::PetscLibType, a::String, b::Cchar) - error("PetscTokenCreate: no generated method for these argument types") + throw(MethodError(PetscTokenCreate, (petsclib, a, b))) end @for_petsc function PetscTokenCreate(petsclib::$UnionPetscLib, a::String, b::Cchar ) @@ -54,7 +54,7 @@ See also: `PetscToken`, `PetscTokenCreate()`, `PetscTokenFind()` $(_doc_external("Sys/PetscTokenDestroy")) """ function PetscTokenDestroy(petsclib::PetscLibType, a::Union{PetscToken, Ref{PetscToken}}) - error("PetscTokenDestroy: no generated method for these argument types") + throw(MethodError(PetscTokenDestroy, (petsclib, a))) end @for_petsc function PetscTokenDestroy(petsclib::$UnionPetscLib, a::Union{PetscToken, Ref{PetscToken}} ) @@ -91,7 +91,7 @@ See also: `PetscToken`, `PetscTokenCreate()`, `PetscTokenDestroy()` $(_doc_external("Sys/PetscTokenFind")) """ function PetscTokenFind(petsclib::PetscLibType, a::PetscToken) - error("PetscTokenFind: no generated method for these argument types") + throw(MethodError(PetscTokenFind, (petsclib, a))) end @for_petsc function PetscTokenFind(petsclib::$UnionPetscLib, a::PetscToken ) diff --git a/src/autowrapped/PetscViewer_wrappers.jl b/src/autowrapped/PetscViewer_wrappers.jl index 02edc51f2..48d0ddf4e 100644 --- a/src/autowrapped/PetscViewer_wrappers.jl +++ b/src/autowrapped/PetscViewer_wrappers.jl @@ -27,7 +27,7 @@ See also: `PetscViewerASCIIOpen()`, `PetscViewerPushFormat()`, `PetscViewerDestr $(_doc_external("Viewer/PetscViewerADIOSOpen")) """ function PetscViewerADIOSOpen(petsclib::PetscLibType, comm::MPI_Comm, name::String, type::PetscFileMode) - error("PetscViewerADIOSOpen: no generated method for these argument types") + throw(MethodError(PetscViewerADIOSOpen, (petsclib, comm, name, type))) end @for_petsc function PetscViewerADIOSOpen(petsclib::$UnionPetscLib, comm::MPI_Comm, name::String, type::PetscFileMode ) @@ -65,7 +65,7 @@ See also: `PETSCVIEWERASCII`, `PetscPrintf()`, `PetscSynchronizedPrintf()`, `Pet $(_doc_external("Viewer/PetscViewerASCIIAddTab")) """ function PetscViewerASCIIAddTab(petsclib::PetscLibType, viewer::PetscViewer, tabs::Integer) - error("PetscViewerASCIIAddTab: no generated method for these argument types") + throw(MethodError(PetscViewerASCIIAddTab, (petsclib, viewer, tabs))) end @for_petsc function PetscViewerASCIIAddTab(petsclib::$UnionPetscLib, viewer::PetscViewer, tabs::$PetscInt ) @@ -102,7 +102,7 @@ See also: `PETSCVIEWERASCII`, `PetscViewerASCIIOpen()`, `PetscViewerDestroy()`, $(_doc_external("Viewer/PetscViewerASCIIGetPointer")) """ function PetscViewerASCIIGetPointer(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerASCIIGetPointer: no generated method for these argument types") + throw(MethodError(PetscViewerASCIIGetPointer, (petsclib, viewer))) end @for_petsc function PetscViewerASCIIGetPointer(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -142,7 +142,7 @@ See also: `PetscViewerASCIIGetStdout()`, `PETSC_VIEWER_DRAW_()`, `PetscViewerASC $(_doc_external("Viewer/PetscViewerASCIIGetStderr")) """ function PetscViewerASCIIGetStderr(petsclib::PetscLibType, comm::MPI_Comm) - error("PetscViewerASCIIGetStderr: no generated method for these argument types") + throw(MethodError(PetscViewerASCIIGetStderr, (petsclib, comm))) end @for_petsc function PetscViewerASCIIGetStderr(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -182,7 +182,7 @@ See also: `PetscViewerASCIIGetStderr()`, `PETSC_VIEWER_DRAW_()`, `PetscViewerASC $(_doc_external("Viewer/PetscViewerASCIIGetStdout")) """ function PetscViewerASCIIGetStdout(petsclib::PetscLibType, comm::MPI_Comm) - error("PetscViewerASCIIGetStdout: no generated method for these argument types") + throw(MethodError(PetscViewerASCIIGetStdout, (petsclib, comm))) end @for_petsc function PetscViewerASCIIGetStdout(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -223,7 +223,7 @@ See also: `PETSCVIEWERASCII`, `PetscPrintf()`, `PetscSynchronizedPrintf()`, `Pet $(_doc_external("Viewer/PetscViewerASCIIGetTab")) """ function PetscViewerASCIIGetTab(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerASCIIGetTab: no generated method for these argument types") + throw(MethodError(PetscViewerASCIIGetTab, (petsclib, viewer))) end @for_petsc function PetscViewerASCIIGetTab(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -264,7 +264,7 @@ See also: `MatView()`, `VecView()`, `PetscViewerDestroy()`, `PetscViewerBinaryOp $(_doc_external("Viewer/PetscViewerASCIIOpen")) """ function PetscViewerASCIIOpen(petsclib::PetscLibType, comm::MPI_Comm, name::String) - error("PetscViewerASCIIOpen: no generated method for these argument types") + throw(MethodError(PetscViewerASCIIOpen, (petsclib, comm, name))) end @for_petsc function PetscViewerASCIIOpen(petsclib::$UnionPetscLib, comm::MPI_Comm, name::String ) @@ -305,7 +305,7 @@ See also: `MatView()`, `VecView()`, `PetscViewerDestroy()`, `PetscViewerBinaryOp $(_doc_external("Viewer/PetscViewerASCIIOpenWithFILE")) """ function PetscViewerASCIIOpenWithFILE(petsclib::PetscLibType, comm::MPI_Comm, fd::Libc.FILE) - error("PetscViewerASCIIOpenWithFILE: no generated method for these argument types") + throw(MethodError(PetscViewerASCIIOpenWithFILE, (petsclib, comm, fd))) end @for_petsc function PetscViewerASCIIOpenWithFILE(petsclib::$UnionPetscLib, comm::MPI_Comm, fd::Libc.FILE ) @@ -342,7 +342,7 @@ See also: `PetscViewerASCIIPushSynchronized()`, `PetscViewerASCIISynchronizedPri $(_doc_external("Viewer/PetscViewerASCIIPopSynchronized")) """ function PetscViewerASCIIPopSynchronized(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerASCIIPopSynchronized: no generated method for these argument types") + throw(MethodError(PetscViewerASCIIPopSynchronized, (petsclib, viewer))) end @for_petsc function PetscViewerASCIIPopSynchronized(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -378,7 +378,7 @@ See also: `PetscPrintf()`, `PetscSynchronizedPrintf()`, `PetscViewerASCIIPrintf( $(_doc_external("Viewer/PetscViewerASCIIPopTab")) """ function PetscViewerASCIIPopTab(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerASCIIPopTab: no generated method for these argument types") + throw(MethodError(PetscViewerASCIIPopTab, (petsclib, viewer))) end @for_petsc function PetscViewerASCIIPopTab(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -413,7 +413,7 @@ See also: `PetscViewerASCIISynchronizedPrintf()`, `PetscViewerFlush()`, `PetscVi $(_doc_external("Viewer/PetscViewerASCIIPushSynchronized")) """ function PetscViewerASCIIPushSynchronized(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerASCIIPushSynchronized: no generated method for these argument types") + throw(MethodError(PetscViewerASCIIPushSynchronized, (petsclib, viewer))) end @for_petsc function PetscViewerASCIIPushSynchronized(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -449,7 +449,7 @@ See also: `PetscPrintf()`, `PetscSynchronizedPrintf()`, `PetscViewerASCIIPrintf( $(_doc_external("Viewer/PetscViewerASCIIPushTab")) """ function PetscViewerASCIIPushTab(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerASCIIPushTab: no generated method for these argument types") + throw(MethodError(PetscViewerASCIIPushTab, (petsclib, viewer))) end @for_petsc function PetscViewerASCIIPushTab(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -490,7 +490,7 @@ See also: `PetscViewerASCIIOpen()`, `PetscViewerPushFormat()`, `PetscViewerDestr $(_doc_external("Viewer/PetscViewerASCIIRead")) """ function PetscViewerASCIIRead(petsclib::PetscLibType, viewer::PetscViewer, data::Ptr{Cvoid}, num::Integer, dtype::PetscDataType) - error("PetscViewerASCIIRead: no generated method for these argument types") + throw(MethodError(PetscViewerASCIIRead, (petsclib, viewer, data, num, dtype))) end @for_petsc function PetscViewerASCIIRead(petsclib::$UnionPetscLib, viewer::PetscViewer, data::Ptr{Cvoid}, num::$PetscInt, dtype::PetscDataType ) @@ -528,7 +528,7 @@ See also: `MatView()`, `VecView()`, `PetscViewerDestroy()`, `PetscViewerBinaryOp $(_doc_external("Viewer/PetscViewerASCIISetFILE")) """ function PetscViewerASCIISetFILE(petsclib::PetscLibType, viewer::PetscViewer, fd::Libc.FILE) - error("PetscViewerASCIISetFILE: no generated method for these argument types") + throw(MethodError(PetscViewerASCIISetFILE, (petsclib, viewer, fd))) end @for_petsc function PetscViewerASCIISetFILE(petsclib::$UnionPetscLib, viewer::PetscViewer, fd::Libc.FILE ) @@ -566,7 +566,7 @@ See also: `PETSCVIEWERASCII`, `PetscPrintf()`, `PetscSynchronizedPrintf()`, `Pet $(_doc_external("Viewer/PetscViewerASCIISetTab")) """ function PetscViewerASCIISetTab(petsclib::PetscLibType, viewer::PetscViewer, tabs::Integer) - error("PetscViewerASCIISetTab: no generated method for these argument types") + throw(MethodError(PetscViewerASCIISetTab, (petsclib, viewer, tabs))) end @for_petsc function PetscViewerASCIISetTab(petsclib::$UnionPetscLib, viewer::PetscViewer, tabs::$PetscInt ) @@ -603,7 +603,7 @@ See also: `PETSCVIEWERASCII`, `PetscPrintf()`, `PetscSynchronizedPrintf()`, `Pet $(_doc_external("Viewer/PetscViewerASCIISubtractTab")) """ function PetscViewerASCIISubtractTab(petsclib::PetscLibType, viewer::PetscViewer, tabs::Integer) - error("PetscViewerASCIISubtractTab: no generated method for these argument types") + throw(MethodError(PetscViewerASCIISubtractTab, (petsclib, viewer, tabs))) end @for_petsc function PetscViewerASCIISubtractTab(petsclib::$UnionPetscLib, viewer::PetscViewer, tabs::$PetscInt ) @@ -639,7 +639,7 @@ See also: `PetscPrintf()`, `PetscSynchronizedPrintf()`, `PetscViewerASCIIPrintf( $(_doc_external("Viewer/PetscViewerASCIIUseTabs")) """ function PetscViewerASCIIUseTabs(petsclib::PetscLibType, viewer::PetscViewer, flg::PetscBool) - error("PetscViewerASCIIUseTabs: no generated method for these argument types") + throw(MethodError(PetscViewerASCIIUseTabs, (petsclib, viewer, flg))) end @for_petsc function PetscViewerASCIIUseTabs(petsclib::$UnionPetscLib, viewer::PetscViewer, flg::PetscBool ) @@ -677,7 +677,7 @@ See also: `PetscViewer`, `PetscViewerAndFormat`, `PetscViewerFormat`, `PetscView $(_doc_external("Viewer/PetscViewerAndFormatCreate")) """ function PetscViewerAndFormatCreate(petsclib::PetscLibType, viewer::PetscViewer, format::PetscViewerFormat) - error("PetscViewerAndFormatCreate: no generated method for these argument types") + throw(MethodError(PetscViewerAndFormatCreate, (petsclib, viewer, format))) end @for_petsc function PetscViewerAndFormatCreate(petsclib::$UnionPetscLib, viewer::PetscViewer, format::PetscViewerFormat ) @@ -713,7 +713,7 @@ See also: `PetscViewer`, `PetscViewerAndFormat`, `PetscViewerFormat`, `PetscView $(_doc_external("Viewer/PetscViewerAndFormatDestroy")) """ function PetscViewerAndFormatDestroy(petsclib::PetscLibType, vf::PetscViewerAndFormat) - error("PetscViewerAndFormatDestroy: no generated method for these argument types") + throw(MethodError(PetscViewerAndFormatDestroy, (petsclib, vf))) end @for_petsc function PetscViewerAndFormatDestroy(petsclib::$UnionPetscLib, vf::PetscViewerAndFormat ) @@ -748,7 +748,7 @@ See also: `PetscViewer`, `PetscViewerGetOptionsPrefix()`, `PetscViewerSetOptions $(_doc_external("Viewer/PetscViewerAppendOptionsPrefix")) """ function PetscViewerAppendOptionsPrefix(petsclib::PetscLibType, viewer::PetscViewer, prefix::String) - error("PetscViewerAppendOptionsPrefix: no generated method for these argument types") + throw(MethodError(PetscViewerAppendOptionsPrefix, (petsclib, viewer, prefix))) end @for_petsc function PetscViewerAppendOptionsPrefix(petsclib::$UnionPetscLib, viewer::PetscViewer, prefix::String ) @@ -782,7 +782,7 @@ See also: `PETSCVIEWERBINARY`, `PetscViewerBinaryOpen()`, `PetscViewerBinaryGetI $(_doc_external("Viewer/PetscViewerBinaryAddMPIIOOffset")) """ function PetscViewerBinaryAddMPIIOOffset(petsclib::PetscLibType, viewer::PetscViewer, off::MPI_Offset) - error("PetscViewerBinaryAddMPIIOOffset: no generated method for these argument types") + throw(MethodError(PetscViewerBinaryAddMPIIOOffset, (petsclib, viewer, off))) end @for_petsc function PetscViewerBinaryAddMPIIOOffset(petsclib::$UnionPetscLib, viewer::PetscViewer, off::MPI_Offset ) @@ -818,7 +818,7 @@ See also: `PETSCVIEWERBINARY`, `PetscViewerBinaryOpen()`, `PetscViewerBinaryGetI $(_doc_external("Viewer/PetscViewerBinaryGetDescriptor")) """ function PetscViewerBinaryGetDescriptor(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerBinaryGetDescriptor: no generated method for these argument types") + throw(MethodError(PetscViewerBinaryGetDescriptor, (petsclib, viewer))) end @for_petsc function PetscViewerBinaryGetDescriptor(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -856,7 +856,7 @@ See also: `PETSCVIEWERBINARY`, `PetscViewerBinaryOpen()`, `PetscViewerBinaryGetI $(_doc_external("Viewer/PetscViewerBinaryGetFlowControl")) """ function PetscViewerBinaryGetFlowControl(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerBinaryGetFlowControl: no generated method for these argument types") + throw(MethodError(PetscViewerBinaryGetFlowControl, (petsclib, viewer))) end @for_petsc function PetscViewerBinaryGetFlowControl(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -896,7 +896,7 @@ See also: `PETSCVIEWERBINARY`, `PetscViewerBinaryOpen()`, `PetscViewerBinaryGetD $(_doc_external("Viewer/PetscViewerBinaryGetInfoPointer")) """ function PetscViewerBinaryGetInfoPointer(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerBinaryGetInfoPointer: no generated method for these argument types") + throw(MethodError(PetscViewerBinaryGetInfoPointer, (petsclib, viewer))) end @for_petsc function PetscViewerBinaryGetInfoPointer(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -934,7 +934,7 @@ See also: `PETSCVIEWERBINARY`, `PetscViewerBinaryOpen()`, `PetscViewerBinaryGetI $(_doc_external("Viewer/PetscViewerBinaryGetMPIIODescriptor")) """ function PetscViewerBinaryGetMPIIODescriptor(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerBinaryGetMPIIODescriptor: no generated method for these argument types") + throw(MethodError(PetscViewerBinaryGetMPIIODescriptor, (petsclib, viewer))) end @for_petsc function PetscViewerBinaryGetMPIIODescriptor(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -972,7 +972,7 @@ See also: `PETSCVIEWERBINARY`, `PetscViewerBinaryOpen()`, `PetscViewerBinaryGetI $(_doc_external("Viewer/PetscViewerBinaryGetMPIIOOffset")) """ function PetscViewerBinaryGetMPIIOOffset(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerBinaryGetMPIIOOffset: no generated method for these argument types") + throw(MethodError(PetscViewerBinaryGetMPIIOOffset, (petsclib, viewer))) end @for_petsc function PetscViewerBinaryGetMPIIOOffset(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -1011,7 +1011,7 @@ See also: `PETSCVIEWERBINARY`, `PetscViewerBinaryOpen()`, `PetscViewerBinaryGetD $(_doc_external("Viewer/PetscViewerBinaryGetSkipHeader")) """ function PetscViewerBinaryGetSkipHeader(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerBinaryGetSkipHeader: no generated method for these argument types") + throw(MethodError(PetscViewerBinaryGetSkipHeader, (petsclib, viewer))) end @for_petsc function PetscViewerBinaryGetSkipHeader(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -1050,7 +1050,7 @@ See also: `PETSCVIEWERBINARY`, `PetscViewerBinaryOpen()`, `PetscViewerBinaryGetD $(_doc_external("Viewer/PetscViewerBinaryGetSkipInfo")) """ function PetscViewerBinaryGetSkipInfo(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerBinaryGetSkipInfo: no generated method for these argument types") + throw(MethodError(PetscViewerBinaryGetSkipInfo, (petsclib, viewer))) end @for_petsc function PetscViewerBinaryGetSkipInfo(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -1089,7 +1089,7 @@ See also: `PETSCVIEWERBINARY`, `PetscViewerBinaryOpen()`, `PetscViewerBinaryGetD $(_doc_external("Viewer/PetscViewerBinaryGetSkipOptions")) """ function PetscViewerBinaryGetSkipOptions(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerBinaryGetSkipOptions: no generated method for these argument types") + throw(MethodError(PetscViewerBinaryGetSkipOptions, (petsclib, viewer))) end @for_petsc function PetscViewerBinaryGetSkipOptions(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -1127,7 +1127,7 @@ See also: `PETSCVIEWERBINARY`, `PetscViewerBinaryOpen()`, `PetscViewerBinaryGetI $(_doc_external("Viewer/PetscViewerBinaryGetUseMPIIO")) """ function PetscViewerBinaryGetUseMPIIO(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerBinaryGetUseMPIIO: no generated method for these argument types") + throw(MethodError(PetscViewerBinaryGetUseMPIIO, (petsclib, viewer))) end @for_petsc function PetscViewerBinaryGetUseMPIIO(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -1182,7 +1182,7 @@ See also: `PETSCVIEWERBINARY`, `PetscViewerASCIIOpen()`, `PetscViewerPushFormat( $(_doc_external("Viewer/PetscViewerBinaryOpen")) """ function PetscViewerBinaryOpen(petsclib::PetscLibType, comm::MPI_Comm, name::String, mode::PetscFileMode) - error("PetscViewerBinaryOpen: no generated method for these argument types") + throw(MethodError(PetscViewerBinaryOpen, (petsclib, comm, name, mode))) end @for_petsc function PetscViewerBinaryOpen(petsclib::$UnionPetscLib, comm::MPI_Comm, name::String, mode::PetscFileMode ) @@ -1225,7 +1225,7 @@ See also: `PETSCVIEWERBINARY`, `PetscViewerASCIIOpen()`, `PetscViewerPushFormat( $(_doc_external("Viewer/PetscViewerBinaryRead")) """ function PetscViewerBinaryRead(petsclib::PetscLibType, viewer::PetscViewer, num::Integer, dtype::PetscDataType) - error("PetscViewerBinaryRead: no generated method for these argument types") + throw(MethodError(PetscViewerBinaryRead, (petsclib, viewer, num, dtype))) end @for_petsc function PetscViewerBinaryRead(petsclib::$UnionPetscLib, viewer::PetscViewer, num::$PetscInt, dtype::PetscDataType ) @@ -1269,7 +1269,7 @@ See also: `PETSCVIEWERBINARY`, `PetscViewerBinaryOpen()`, `PetscViewerBinarySetU $(_doc_external("Viewer/PetscViewerBinaryReadAll")) """ function PetscViewerBinaryReadAll(petsclib::PetscLibType, viewer::PetscViewer, count::PetscCount, start::PetscCount, total::PetscCount, dtype::PetscDataType) - error("PetscViewerBinaryReadAll: no generated method for these argument types") + throw(MethodError(PetscViewerBinaryReadAll, (petsclib, viewer, count, start, total, dtype))) end @for_petsc function PetscViewerBinaryReadAll(petsclib::$UnionPetscLib, viewer::PetscViewer, count::PetscCount, start::PetscCount, total::PetscCount, dtype::PetscDataType ) @@ -1309,7 +1309,7 @@ See also: `PETSCVIEWERBINARY`, `PetscViewerASCIIOpen()`, `PetscViewerPushFormat( $(_doc_external("Viewer/PetscViewerBinaryReadStringArray")) """ function PetscViewerBinaryReadStringArray(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerBinaryReadStringArray: no generated method for these argument types") + throw(MethodError(PetscViewerBinaryReadStringArray, (petsclib, viewer))) end @for_petsc function PetscViewerBinaryReadStringArray(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -1345,7 +1345,7 @@ See also: `PETSCVIEWERBINARY`, `PetscViewerBinaryOpen()`, `PetscViewerBinaryGetI $(_doc_external("Viewer/PetscViewerBinarySetFlowControl")) """ function PetscViewerBinarySetFlowControl(petsclib::PetscLibType, viewer::PetscViewer, fc::Integer) - error("PetscViewerBinarySetFlowControl: no generated method for these argument types") + throw(MethodError(PetscViewerBinarySetFlowControl, (petsclib, viewer, fc))) end @for_petsc function PetscViewerBinarySetFlowControl(petsclib::$UnionPetscLib, viewer::PetscViewer, fc::$PetscInt ) @@ -1383,7 +1383,7 @@ See also: `PETSCVIEWERBINARY`, `PetscViewerBinaryOpen()`, `PetscViewerBinaryGetD $(_doc_external("Viewer/PetscViewerBinarySetSkipHeader")) """ function PetscViewerBinarySetSkipHeader(petsclib::PetscLibType, viewer::PetscViewer, skip::PetscBool) - error("PetscViewerBinarySetSkipHeader: no generated method for these argument types") + throw(MethodError(PetscViewerBinarySetSkipHeader, (petsclib, viewer, skip))) end @for_petsc function PetscViewerBinarySetSkipHeader(petsclib::$UnionPetscLib, viewer::PetscViewer, skip::PetscBool ) @@ -1421,7 +1421,7 @@ See also: `PETSCVIEWERBINARY`, `PetscViewerBinaryOpen()`, `PetscViewerBinaryGetD $(_doc_external("Viewer/PetscViewerBinarySetSkipInfo")) """ function PetscViewerBinarySetSkipInfo(petsclib::PetscLibType, viewer::PetscViewer, skip::PetscBool) - error("PetscViewerBinarySetSkipInfo: no generated method for these argument types") + throw(MethodError(PetscViewerBinarySetSkipInfo, (petsclib, viewer, skip))) end @for_petsc function PetscViewerBinarySetSkipInfo(petsclib::$UnionPetscLib, viewer::PetscViewer, skip::PetscBool ) @@ -1459,7 +1459,7 @@ See also: `PETSCVIEWERBINARY`, `PetscViewerBinaryOpen()`, `PetscViewerBinaryGetD $(_doc_external("Viewer/PetscViewerBinarySetSkipOptions")) """ function PetscViewerBinarySetSkipOptions(petsclib::PetscLibType, viewer::PetscViewer, skip::PetscBool) - error("PetscViewerBinarySetSkipOptions: no generated method for these argument types") + throw(MethodError(PetscViewerBinarySetSkipOptions, (petsclib, viewer, skip))) end @for_petsc function PetscViewerBinarySetSkipOptions(petsclib::$UnionPetscLib, viewer::PetscViewer, skip::PetscBool ) @@ -1498,7 +1498,7 @@ See also: `PETSCVIEWERBINARY`, `PetscViewerFileSetMode()`, `PetscViewerCreate()` $(_doc_external("Viewer/PetscViewerBinarySetUseMPIIO")) """ function PetscViewerBinarySetUseMPIIO(petsclib::PetscLibType, viewer::PetscViewer, use::PetscBool) - error("PetscViewerBinarySetUseMPIIO: no generated method for these argument types") + throw(MethodError(PetscViewerBinarySetUseMPIIO, (petsclib, viewer, use))) end @for_petsc function PetscViewerBinarySetUseMPIIO(petsclib::$UnionPetscLib, viewer::PetscViewer, use::PetscBool ) @@ -1535,7 +1535,7 @@ See also: `PETSCVIEWERBINARY`, `PetscViewerBinaryOpen()`, `PetscViewerBinaryGetD $(_doc_external("Viewer/PetscViewerBinarySkipInfo")) """ function PetscViewerBinarySkipInfo(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerBinarySkipInfo: no generated method for these argument types") + throw(MethodError(PetscViewerBinarySkipInfo, (petsclib, viewer))) end @for_petsc function PetscViewerBinarySkipInfo(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -1573,7 +1573,7 @@ See also: `PETSCVIEWERBINARY`, `PetscViewerASCIIOpen()`, `PetscViewerPushFormat( $(_doc_external("Viewer/PetscViewerBinaryWrite")) """ function PetscViewerBinaryWrite(petsclib::PetscLibType, viewer::PetscViewer, data::Ptr{Cvoid}, count::Integer, dtype::PetscDataType) - error("PetscViewerBinaryWrite: no generated method for these argument types") + throw(MethodError(PetscViewerBinaryWrite, (petsclib, viewer, data, count, dtype))) end @for_petsc function PetscViewerBinaryWrite(petsclib::$UnionPetscLib, viewer::PetscViewer, data::Ptr{Cvoid}, count::$PetscInt, dtype::PetscDataType ) @@ -1611,7 +1611,7 @@ See also: `PETSCVIEWERBINARY`, `PetscViewerBinaryOpen()`, `PetscViewerBinarySetU $(_doc_external("Viewer/PetscViewerBinaryWriteAll")) """ function PetscViewerBinaryWriteAll(petsclib::PetscLibType, viewer::PetscViewer, data::Ptr{Cvoid}, count::PetscCount, start::PetscCount, total::PetscCount, dtype::PetscDataType) - error("PetscViewerBinaryWriteAll: no generated method for these argument types") + throw(MethodError(PetscViewerBinaryWriteAll, (petsclib, viewer, data, count, start, total, dtype))) end @for_petsc function PetscViewerBinaryWriteAll(petsclib::$UnionPetscLib, viewer::PetscViewer, data::Ptr{Cvoid}, count::PetscCount, start::PetscCount, total::PetscCount, dtype::PetscDataType ) @@ -1647,7 +1647,7 @@ See also: `PETSCVIEWERBINARY`, `PetscViewerASCIIOpen()`, `PetscViewerPushFormat( $(_doc_external("Viewer/PetscViewerBinaryWriteStringArray")) """ function PetscViewerBinaryWriteStringArray(petsclib::PetscLibType, viewer::PetscViewer, data::String) - error("PetscViewerBinaryWriteStringArray: no generated method for these argument types") + throw(MethodError(PetscViewerBinaryWriteStringArray, (petsclib, viewer, data))) end @for_petsc function PetscViewerBinaryWriteStringArray(petsclib::$UnionPetscLib, viewer::PetscViewer, data::String ) @@ -1684,7 +1684,7 @@ See also: `PETSCVIEWERCGNS`, `PetscViewerCGNSSetSolutionIndex()`, `PetscViewerCG $(_doc_external("Viewer/PetscViewerCGNSGetSolutionIndex")) """ function PetscViewerCGNSGetSolutionIndex(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerCGNSGetSolutionIndex: no generated method for these argument types") + throw(MethodError(PetscViewerCGNSGetSolutionIndex, (petsclib, viewer))) end @for_petsc function PetscViewerCGNSGetSolutionIndex(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -1723,7 +1723,7 @@ See also: `PETSCVIEWERCGNS`, `PetscViewer`, `PetscViewerCGNSGetSolutionTime()`, $(_doc_external("Viewer/PetscViewerCGNSGetSolutionIteration")) """ function PetscViewerCGNSGetSolutionIteration(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerCGNSGetSolutionIteration: no generated method for these argument types") + throw(MethodError(PetscViewerCGNSGetSolutionIteration, (petsclib, viewer))) end @for_petsc function PetscViewerCGNSGetSolutionIteration(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -1763,7 +1763,7 @@ See also: `PETSCVIEWERCGNS`, `PetscViewer`, `PetscViewerCGNSSetSolutionIndex()`, $(_doc_external("Viewer/PetscViewerCGNSGetSolutionName")) """ function PetscViewerCGNSGetSolutionName(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerCGNSGetSolutionName: no generated method for these argument types") + throw(MethodError(PetscViewerCGNSGetSolutionName, (petsclib, viewer))) end @for_petsc function PetscViewerCGNSGetSolutionName(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -1802,7 +1802,7 @@ See also: `PETSCVIEWERCGNS`, `PetscViewer`, `PetscViewerCGNSGetSolutionIteration $(_doc_external("Viewer/PetscViewerCGNSGetSolutionTime")) """ function PetscViewerCGNSGetSolutionTime(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerCGNSGetSolutionTime: no generated method for these argument types") + throw(MethodError(PetscViewerCGNSGetSolutionTime, (petsclib, viewer))) end @for_petsc function PetscViewerCGNSGetSolutionTime(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -1850,7 +1850,7 @@ See also: `PETSCVIEWERCGNS`, `PetscViewer`, `PetscViewerPushFormat()`, `PetscVie $(_doc_external("Viewer/PetscViewerCGNSOpen")) """ function PetscViewerCGNSOpen(petsclib::PetscLibType, comm::MPI_Comm, name::String, type::PetscFileMode) - error("PetscViewerCGNSOpen: no generated method for these argument types") + throw(MethodError(PetscViewerCGNSOpen, (petsclib, comm, name, type))) end @for_petsc function PetscViewerCGNSOpen(petsclib::$UnionPetscLib, comm::MPI_Comm, name::String, type::PetscFileMode ) @@ -1886,7 +1886,7 @@ See also: `PETSCVIEWERCGNS`, `PetscViewerCGNSGetSolutionIndex()`, `PetscViewerCG $(_doc_external("Viewer/PetscViewerCGNSSetSolutionIndex")) """ function PetscViewerCGNSSetSolutionIndex(petsclib::PetscLibType, viewer::PetscViewer, solution_id::Integer) - error("PetscViewerCGNSSetSolutionIndex: no generated method for these argument types") + throw(MethodError(PetscViewerCGNSSetSolutionIndex, (petsclib, viewer, solution_id))) end @for_petsc function PetscViewerCGNSSetSolutionIndex(petsclib::$UnionPetscLib, viewer::PetscViewer, solution_id::$PetscInt ) @@ -1919,7 +1919,7 @@ See also: `PetscViewer`, `PetscViewerReadable()`, `PetscViewerCheckWritable()`, $(_doc_external("Viewer/PetscViewerCheckReadable")) """ function PetscViewerCheckReadable(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerCheckReadable: no generated method for these argument types") + throw(MethodError(PetscViewerCheckReadable, (petsclib, viewer))) end @for_petsc function PetscViewerCheckReadable(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -1952,7 +1952,7 @@ See also: `PetscViewer`, `PetscViewerWritable()`, `PetscViewerCheckReadable()`, $(_doc_external("Viewer/PetscViewerCheckWritable")) """ function PetscViewerCheckWritable(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerCheckWritable: no generated method for these argument types") + throw(MethodError(PetscViewerCheckWritable, (petsclib, viewer))) end @for_petsc function PetscViewerCheckWritable(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -1989,7 +1989,7 @@ See also: `PetscViewer`, `PetscViewerDestroy()`, `PetscViewerSetType()`, `PetscV $(_doc_external("Viewer/PetscViewerCreate")) """ function PetscViewerCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("PetscViewerCreate: no generated method for these argument types") + throw(MethodError(PetscViewerCreate, (petsclib, comm))) end @for_petsc function PetscViewerCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -2024,7 +2024,7 @@ See also: `PetscViewer`, `PetscViewerCreate()`, `PetscViewerSocketOpen()`, `Pets $(_doc_external("Viewer/PetscViewerDestroy")) """ function PetscViewerDestroy(petsclib::PetscLibType, viewer::Union{PetscViewer, Ref{PetscViewer}}) - error("PetscViewerDestroy: no generated method for these argument types") + throw(MethodError(PetscViewerDestroy, (petsclib, viewer))) end @for_petsc function PetscViewerDestroy(petsclib::$UnionPetscLib, viewer::Union{PetscViewer, Ref{PetscViewer}} ) @@ -2059,7 +2059,7 @@ See also: `PetscViewerDrawGetLG()`, `PetscViewerDrawGetAxis()`, `PetscViewerDraw $(_doc_external("Viewer/PetscViewerDrawBaseAdd")) """ function PetscViewerDrawBaseAdd(petsclib::PetscLibType, viewer::PetscViewer, windownumber::Integer) - error("PetscViewerDrawBaseAdd: no generated method for these argument types") + throw(MethodError(PetscViewerDrawBaseAdd, (petsclib, viewer, windownumber))) end @for_petsc function PetscViewerDrawBaseAdd(petsclib::$UnionPetscLib, viewer::PetscViewer, windownumber::$PetscInt ) @@ -2093,7 +2093,7 @@ See also: `PetscViewerDrawGetLG()`, `PetscViewerDrawGetAxis()`, `PetscViewerDraw $(_doc_external("Viewer/PetscViewerDrawBaseSet")) """ function PetscViewerDrawBaseSet(petsclib::PetscLibType, viewer::PetscViewer, windownumber::Integer) - error("PetscViewerDrawBaseSet: no generated method for these argument types") + throw(MethodError(PetscViewerDrawBaseSet, (petsclib, viewer, windownumber))) end @for_petsc function PetscViewerDrawBaseSet(petsclib::$UnionPetscLib, viewer::PetscViewer, windownumber::$PetscInt ) @@ -2126,7 +2126,7 @@ See also: `PETSCVIEWERDRAW`, `PetscViewerDrawOpen()`, `PetscViewerDrawGetDraw()` $(_doc_external("Viewer/PetscViewerDrawClear")) """ function PetscViewerDrawClear(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerDrawClear: no generated method for these argument types") + throw(MethodError(PetscViewerDrawClear, (petsclib, viewer))) end @for_petsc function PetscViewerDrawClear(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -2163,7 +2163,7 @@ See also: `PETSCVIEWERDRAW`, `PetscViewerDrawGetLG()`, `PetscViewerDrawGetAxis() $(_doc_external("Viewer/PetscViewerDrawGetBounds")) """ function PetscViewerDrawGetBounds(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerDrawGetBounds: no generated method for these argument types") + throw(MethodError(PetscViewerDrawGetBounds, (petsclib, viewer))) end @for_petsc function PetscViewerDrawGetBounds(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -2205,7 +2205,7 @@ See also: `PETSCVIEWERDRAW`, `PetscViewerDrawGetLG()`, `PetscViewerDrawGetAxis() $(_doc_external("Draw/PetscViewerDrawGetDraw")) """ function PetscViewerDrawGetDraw(petsclib::PetscLibType, viewer::PetscViewer, windownumber::Integer) - error("PetscViewerDrawGetDraw: no generated method for these argument types") + throw(MethodError(PetscViewerDrawGetDraw, (petsclib, viewer, windownumber))) end @for_petsc function PetscViewerDrawGetDraw(petsclib::$UnionPetscLib, viewer::PetscViewer, windownumber::$PetscInt ) @@ -2245,7 +2245,7 @@ See also: `PetscViewerDrawGetDraw()`, `PetscViewerDrawGetLG()`, `PetscViewerDraw $(_doc_external("Draw/PetscViewerDrawGetDrawAxis")) """ function PetscViewerDrawGetDrawAxis(petsclib::PetscLibType, viewer::PetscViewer, windownumber::Integer) - error("PetscViewerDrawGetDrawAxis: no generated method for these argument types") + throw(MethodError(PetscViewerDrawGetDrawAxis, (petsclib, viewer, windownumber))) end @for_petsc function PetscViewerDrawGetDrawAxis(petsclib::$UnionPetscLib, viewer::PetscViewer, windownumber::$PetscInt ) @@ -2285,7 +2285,7 @@ See also: `PetscDrawLG`, `PetscViewerDrawGetDraw()`, `PetscViewerDrawGetAxis()`, $(_doc_external("Draw/PetscViewerDrawGetDrawLG")) """ function PetscViewerDrawGetDrawLG(petsclib::PetscLibType, viewer::PetscViewer, windownumber::Integer) - error("PetscViewerDrawGetDrawLG: no generated method for these argument types") + throw(MethodError(PetscViewerDrawGetDrawLG, (petsclib, viewer, windownumber))) end @for_petsc function PetscViewerDrawGetDrawLG(petsclib::$UnionPetscLib, viewer::PetscViewer, windownumber::$PetscInt ) @@ -2323,7 +2323,7 @@ See also: `PetscViewer`, `PETSCVIEWERDRAW`, `PetscDrawType`, `PetscViewerDrawSet $(_doc_external("Draw/PetscViewerDrawGetDrawType")) """ function PetscViewerDrawGetDrawType(petsclib::PetscLibType, v::PetscViewer) - error("PetscViewerDrawGetDrawType: no generated method for these argument types") + throw(MethodError(PetscViewerDrawGetDrawType, (petsclib, v))) end @for_petsc function PetscViewerDrawGetDrawType(petsclib::$UnionPetscLib, v::PetscViewer ) @@ -2361,7 +2361,7 @@ See also: `PETSCVIEWERDRAW`, `PetscViewerDrawOpen()`, `PetscViewerDrawGetDraw()` $(_doc_external("Viewer/PetscViewerDrawGetHold")) """ function PetscViewerDrawGetHold(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerDrawGetHold: no generated method for these argument types") + throw(MethodError(PetscViewerDrawGetHold, (petsclib, viewer))) end @for_petsc function PetscViewerDrawGetHold(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -2399,7 +2399,7 @@ See also: `PETSCVIEWERDRAW`, `PetscViewerDrawOpen()`, `PetscViewerDrawGetDraw()` $(_doc_external("Viewer/PetscViewerDrawGetPause")) """ function PetscViewerDrawGetPause(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerDrawGetPause: no generated method for these argument types") + throw(MethodError(PetscViewerDrawGetPause, (petsclib, viewer))) end @for_petsc function PetscViewerDrawGetPause(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -2437,7 +2437,7 @@ See also: `PetscViewer`, `PETSCVIEWERDRAW`, `PetscViewerDrawSetTitle()`, `PetscV $(_doc_external("Viewer/PetscViewerDrawGetTitle")) """ function PetscViewerDrawGetTitle(petsclib::PetscLibType, v::PetscViewer) - error("PetscViewerDrawGetTitle: no generated method for these argument types") + throw(MethodError(PetscViewerDrawGetTitle, (petsclib, v))) end @for_petsc function PetscViewerDrawGetTitle(petsclib::$UnionPetscLib, v::PetscViewer ) @@ -2492,7 +2492,7 @@ See also: `PETSCVIEWERDRAW`, `PetscDrawCreate()`, `PetscViewerDestroy()`, `Petsc $(_doc_external("Viewer/PetscViewerDrawOpen")) """ function PetscViewerDrawOpen(petsclib::PetscLibType, comm::MPI_Comm, display::String, title::String, x::Cint, y::Cint, w::Cint, h::Cint) - error("PetscViewerDrawOpen: no generated method for these argument types") + throw(MethodError(PetscViewerDrawOpen, (petsclib, comm, display, title, x, y, w, h))) end @for_petsc function PetscViewerDrawOpen(petsclib::$UnionPetscLib, comm::MPI_Comm, display::String, title::String, x::Cint, y::Cint, w::Cint, h::Cint ) @@ -2529,7 +2529,7 @@ See also: `PetscViewer`, `PETSCVIEWERDRAW`, `PetscViewerDrawOpen()`, `PetscViewe $(_doc_external("Viewer/PetscViewerDrawResize")) """ function PetscViewerDrawResize(petsclib::PetscLibType, v::PetscViewer, w::Cint, h::Cint) - error("PetscViewerDrawResize: no generated method for these argument types") + throw(MethodError(PetscViewerDrawResize, (petsclib, v, w, h))) end @for_petsc function PetscViewerDrawResize(petsclib::$UnionPetscLib, v::PetscViewer, w::Cint, h::Cint ) @@ -2567,7 +2567,7 @@ See also: `PETSCVIEWERDRAW`, `PetscViewerDrawGetLG()`, `PetscViewerDrawGetAxis() $(_doc_external("Viewer/PetscViewerDrawSetBounds")) """ function PetscViewerDrawSetBounds(petsclib::PetscLibType, viewer::PetscViewer, nbounds::Integer, bounds::AbstractVector{<:Number}) - error("PetscViewerDrawSetBounds: no generated method for these argument types") + throw(MethodError(PetscViewerDrawSetBounds, (petsclib, viewer, nbounds, bounds))) end @for_petsc function PetscViewerDrawSetBounds(petsclib::$UnionPetscLib, viewer::PetscViewer, nbounds::$PetscInt, bounds::Vector{$PetscReal} ) @@ -2601,7 +2601,7 @@ See also: `PetscViewer`, `PETSCVIEWERDRAW`, `PetscDrawType`, `PetscViewerDrawGet $(_doc_external("Draw/PetscViewerDrawSetDrawType")) """ function PetscViewerDrawSetDrawType(petsclib::PetscLibType, v::PetscViewer, drawtype::String) - error("PetscViewerDrawSetDrawType: no generated method for these argument types") + throw(MethodError(PetscViewerDrawSetDrawType, (petsclib, v, drawtype))) end @for_petsc function PetscViewerDrawSetDrawType(petsclib::$UnionPetscLib, v::PetscViewer, drawtype::String ) @@ -2635,7 +2635,7 @@ See also: `PETSCVIEWERDRAW`, `PetscViewerDrawOpen()`, `PetscViewerDrawGetDraw()` $(_doc_external("Viewer/PetscViewerDrawSetHold")) """ function PetscViewerDrawSetHold(petsclib::PetscLibType, viewer::PetscViewer, hold::PetscBool) - error("PetscViewerDrawSetHold: no generated method for these argument types") + throw(MethodError(PetscViewerDrawSetHold, (petsclib, viewer, hold))) end @for_petsc function PetscViewerDrawSetHold(petsclib::$UnionPetscLib, viewer::PetscViewer, hold::PetscBool ) @@ -2675,7 +2675,7 @@ See also: `PetscViewer`, `PETSCVIEWERDRAW`, `PetscViewerDrawOpen()`, `PetscViewe $(_doc_external("Viewer/PetscViewerDrawSetInfo")) """ function PetscViewerDrawSetInfo(petsclib::PetscLibType, v::PetscViewer, display::String, title::String, x::Cint, y::Cint, w::Cint, h::Cint) - error("PetscViewerDrawSetInfo: no generated method for these argument types") + throw(MethodError(PetscViewerDrawSetInfo, (petsclib, v, display, title, x, y, w, h))) end @for_petsc function PetscViewerDrawSetInfo(petsclib::$UnionPetscLib, v::PetscViewer, display::String, title::String, x::Cint, y::Cint, w::Cint, h::Cint ) @@ -2709,7 +2709,7 @@ See also: `PETSCVIEWERDRAW`, `PetscViewerDrawOpen()`, `PetscViewerDrawGetDraw()` $(_doc_external("Viewer/PetscViewerDrawSetPause")) """ function PetscViewerDrawSetPause(petsclib::PetscLibType, viewer::PetscViewer, pause::Real) - error("PetscViewerDrawSetPause: no generated method for these argument types") + throw(MethodError(PetscViewerDrawSetPause, (petsclib, viewer, pause))) end @for_petsc function PetscViewerDrawSetPause(petsclib::$UnionPetscLib, viewer::PetscViewer, pause::$PetscReal ) @@ -2743,7 +2743,7 @@ See also: `PetscViewer`, `PETSCVIEWERDRAW`, `PetscViewerDrawGetTitle()`, `PetscV $(_doc_external("Viewer/PetscViewerDrawSetTitle")) """ function PetscViewerDrawSetTitle(petsclib::PetscLibType, v::PetscViewer, title::String) - error("PetscViewerDrawSetTitle: no generated method for these argument types") + throw(MethodError(PetscViewerDrawSetTitle, (petsclib, v, title))) end @for_petsc function PetscViewerDrawSetTitle(petsclib::$UnionPetscLib, v::PetscViewer, title::String ) @@ -2779,7 +2779,7 @@ See also: `PETSCVIEWEREXODUSII`, `PetscViewer`, `PetscViewerFileSetMode()`, `Pet $(_doc_external("DMPlex/PetscViewerExodusIIGetId")) """ function PetscViewerExodusIIGetId(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerExodusIIGetId: no generated method for these argument types") + throw(MethodError(PetscViewerExodusIIGetId, (petsclib, viewer))) end @for_petsc function PetscViewerExodusIIGetId(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -2817,7 +2817,7 @@ See also: `PETSCVIEWEREXODUSII`, `PetscViewer`, `PetscViewerCreate()`, `PetscVie $(_doc_external("DMPlex/PetscViewerExodusIIGetNodalVariable")) """ function PetscViewerExodusIIGetNodalVariable(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerExodusIIGetNodalVariable: no generated method for these argument types") + throw(MethodError(PetscViewerExodusIIGetNodalVariable, (petsclib, viewer))) end @for_petsc function PetscViewerExodusIIGetNodalVariable(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -2856,7 +2856,7 @@ See also: `PetscViewerExodusIISetNodalVariable()`, `PetscViewerExodusIIGetNodalV $(_doc_external("DMPlex/PetscViewerExodusIIGetNodalVariableIndex")) """ function PetscViewerExodusIIGetNodalVariableIndex(petsclib::PetscLibType, viewer::PetscViewer, name::String) - error("PetscViewerExodusIIGetNodalVariableIndex: no generated method for these argument types") + throw(MethodError(PetscViewerExodusIIGetNodalVariableIndex, (petsclib, viewer, name))) end @for_petsc function PetscViewerExodusIIGetNodalVariableIndex(petsclib::$UnionPetscLib, viewer::PetscViewer, name::String ) @@ -2895,7 +2895,7 @@ See also: `PETSCVIEWEREXODUSII`, `PetscViewer`, `PetscViewerCreate()`, `PetscVie $(_doc_external("DMPlex/PetscViewerExodusIIGetNodalVariableName")) """ function PetscViewerExodusIIGetNodalVariableName(petsclib::PetscLibType, viewer::PetscViewer, idx::PetscExodusIIInt) - error("PetscViewerExodusIIGetNodalVariableName: no generated method for these argument types") + throw(MethodError(PetscViewerExodusIIGetNodalVariableName, (petsclib, viewer, idx))) end @for_petsc function PetscViewerExodusIIGetNodalVariableName(petsclib::$UnionPetscLib, viewer::PetscViewer, idx::PetscExodusIIInt ) @@ -2934,7 +2934,7 @@ See also: `PETSCVIEWEREXODUSII`, `PetscViewer`, `PetscViewerCreate()`, `PetscVie $(_doc_external("DMPlex/PetscViewerExodusIIGetNodalVariableNames")) """ function PetscViewerExodusIIGetNodalVariableNames(petsclib::PetscLibType, viewer::PetscViewer, numVars::PetscExodusIIInt) - error("PetscViewerExodusIIGetNodalVariableNames: no generated method for these argument types") + throw(MethodError(PetscViewerExodusIIGetNodalVariableNames, (petsclib, viewer, numVars))) end @for_petsc function PetscViewerExodusIIGetNodalVariableNames(petsclib::$UnionPetscLib, viewer::PetscViewer, numVars::PetscExodusIIInt ) @@ -2972,7 +2972,7 @@ See also: `PETSCVIEWEREXODUSII`, `PetscViewer`, `PetscViewerExodusIIGetId()`, `P $(_doc_external("DMPlex/PetscViewerExodusIIGetOrder")) """ function PetscViewerExodusIIGetOrder(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerExodusIIGetOrder: no generated method for these argument types") + throw(MethodError(PetscViewerExodusIIGetOrder, (petsclib, viewer))) end @for_petsc function PetscViewerExodusIIGetOrder(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -3010,7 +3010,7 @@ See also: `PETSCVIEWEREXODUSII`, `PetscViewer`, `PetscViewerCreate()`, `PetscVie $(_doc_external("DMPlex/PetscViewerExodusIIGetZonalVariable")) """ function PetscViewerExodusIIGetZonalVariable(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerExodusIIGetZonalVariable: no generated method for these argument types") + throw(MethodError(PetscViewerExodusIIGetZonalVariable, (petsclib, viewer))) end @for_petsc function PetscViewerExodusIIGetZonalVariable(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -3049,7 +3049,7 @@ See also: `PetscViewerExodusIISetNodalVariable()`, `PetscViewerExodusIIGetNodalV $(_doc_external("DMPlex/PetscViewerExodusIIGetZonalVariableIndex")) """ function PetscViewerExodusIIGetZonalVariableIndex(petsclib::PetscLibType, viewer::PetscViewer, name::String) - error("PetscViewerExodusIIGetZonalVariableIndex: no generated method for these argument types") + throw(MethodError(PetscViewerExodusIIGetZonalVariableIndex, (petsclib, viewer, name))) end @for_petsc function PetscViewerExodusIIGetZonalVariableIndex(petsclib::$UnionPetscLib, viewer::PetscViewer, name::String ) @@ -3088,7 +3088,7 @@ See also: `PETSCVIEWEREXODUSII`, `PetscViewer`, `PetscViewerCreate()`, `PetscVie $(_doc_external("DMPlex/PetscViewerExodusIIGetZonalVariableName")) """ function PetscViewerExodusIIGetZonalVariableName(petsclib::PetscLibType, viewer::PetscViewer, idx::PetscExodusIIInt) - error("PetscViewerExodusIIGetZonalVariableName: no generated method for these argument types") + throw(MethodError(PetscViewerExodusIIGetZonalVariableName, (petsclib, viewer, idx))) end @for_petsc function PetscViewerExodusIIGetZonalVariableName(petsclib::$UnionPetscLib, viewer::PetscViewer, idx::PetscExodusIIInt ) @@ -3127,7 +3127,7 @@ See also: `PETSCVIEWEREXODUSII`, `PetscViewer`, `PetscViewerCreate()`, `PetscVie $(_doc_external("DMPlex/PetscViewerExodusIIGetZonalVariableNames")) """ function PetscViewerExodusIIGetZonalVariableNames(petsclib::PetscLibType, viewer::PetscViewer, numVars::PetscExodusIIInt) - error("PetscViewerExodusIIGetZonalVariableNames: no generated method for these argument types") + throw(MethodError(PetscViewerExodusIIGetZonalVariableNames, (petsclib, viewer, numVars))) end @for_petsc function PetscViewerExodusIIGetZonalVariableNames(petsclib::$UnionPetscLib, viewer::PetscViewer, numVars::PetscExodusIIInt ) @@ -3173,7 +3173,7 @@ See also: `PETSCVIEWEREXODUSII`, `PetscViewer`, `PetscViewerPushFormat()`, `Pets $(_doc_external("DMPlex/PetscViewerExodusIIOpen")) """ function PetscViewerExodusIIOpen(petsclib::PetscLibType, comm::MPI_Comm, name::String, type::PetscFileMode) - error("PetscViewerExodusIIOpen: no generated method for these argument types") + throw(MethodError(PetscViewerExodusIIOpen, (petsclib, comm, name, type))) end @for_petsc function PetscViewerExodusIIOpen(petsclib::$UnionPetscLib, comm::MPI_Comm, name::String, type::PetscFileMode ) @@ -3209,7 +3209,7 @@ See also: `PETSCVIEWEREXODUSII`, `PetscViewer`, `PetscViewerCreate()`, `PetscVie $(_doc_external("DMPlex/PetscViewerExodusIISetNodalVariable")) """ function PetscViewerExodusIISetNodalVariable(petsclib::PetscLibType, viewer::PetscViewer, num::PetscExodusIIInt) - error("PetscViewerExodusIISetNodalVariable: no generated method for these argument types") + throw(MethodError(PetscViewerExodusIISetNodalVariable, (petsclib, viewer, num))) end @for_petsc function PetscViewerExodusIISetNodalVariable(petsclib::$UnionPetscLib, viewer::PetscViewer, num::PetscExodusIIInt ) @@ -3244,7 +3244,7 @@ See also: `PETSCVIEWEREXODUSII`, `PetscViewer`, `PetscViewerCreate()`, `PetscVie $(_doc_external("DMPlex/PetscViewerExodusIISetNodalVariableName")) """ function PetscViewerExodusIISetNodalVariableName(petsclib::PetscLibType, viewer::PetscViewer, idx::PetscExodusIIInt, name::String) - error("PetscViewerExodusIISetNodalVariableName: no generated method for these argument types") + throw(MethodError(PetscViewerExodusIISetNodalVariableName, (petsclib, viewer, idx, name))) end @for_petsc function PetscViewerExodusIISetNodalVariableName(petsclib::$UnionPetscLib, viewer::PetscViewer, idx::PetscExodusIIInt, name::String ) @@ -3278,7 +3278,7 @@ See also: `PETSCVIEWEREXODUSII`, `PetscViewer`, `PetscViewerCreate()`, `PetscVie $(_doc_external("DMPlex/PetscViewerExodusIISetNodalVariableNames")) """ function PetscViewerExodusIISetNodalVariableNames(petsclib::PetscLibType, viewer::PetscViewer, names::String) - error("PetscViewerExodusIISetNodalVariableNames: no generated method for these argument types") + throw(MethodError(PetscViewerExodusIISetNodalVariableNames, (petsclib, viewer, names))) end @for_petsc function PetscViewerExodusIISetNodalVariableNames(petsclib::$UnionPetscLib, viewer::PetscViewer, names::String ) @@ -3315,7 +3315,7 @@ See also: `PETSCVIEWEREXODUSII`, `PetscViewer`, `PetscViewerExodusIIGetId()`, `P $(_doc_external("DMPlex/PetscViewerExodusIISetOrder")) """ function PetscViewerExodusIISetOrder(petsclib::PetscLibType, viewer::PetscViewer, order::Integer) - error("PetscViewerExodusIISetOrder: no generated method for these argument types") + throw(MethodError(PetscViewerExodusIISetOrder, (petsclib, viewer, order))) end @for_petsc function PetscViewerExodusIISetOrder(petsclib::$UnionPetscLib, viewer::PetscViewer, order::$PetscInt ) @@ -3349,7 +3349,7 @@ See also: `PETSCVIEWEREXODUSII`, `PetscViewer`, `PetscViewerCreate()`, `PetscVie $(_doc_external("DMPlex/PetscViewerExodusIISetZonalVariable")) """ function PetscViewerExodusIISetZonalVariable(petsclib::PetscLibType, viewer::PetscViewer, num::PetscExodusIIInt) - error("PetscViewerExodusIISetZonalVariable: no generated method for these argument types") + throw(MethodError(PetscViewerExodusIISetZonalVariable, (petsclib, viewer, num))) end @for_petsc function PetscViewerExodusIISetZonalVariable(petsclib::$UnionPetscLib, viewer::PetscViewer, num::PetscExodusIIInt ) @@ -3384,7 +3384,7 @@ See also: `PETSCVIEWEREXODUSII`, `PetscViewer`, `PetscViewerCreate()`, `PetscVie $(_doc_external("DMPlex/PetscViewerExodusIISetZonalVariableName")) """ function PetscViewerExodusIISetZonalVariableName(petsclib::PetscLibType, viewer::PetscViewer, idx::PetscExodusIIInt, name::String) - error("PetscViewerExodusIISetZonalVariableName: no generated method for these argument types") + throw(MethodError(PetscViewerExodusIISetZonalVariableName, (petsclib, viewer, idx, name))) end @for_petsc function PetscViewerExodusIISetZonalVariableName(petsclib::$UnionPetscLib, viewer::PetscViewer, idx::PetscExodusIIInt, name::String ) @@ -3418,7 +3418,7 @@ See also: `PETSCVIEWEREXODUSII`, `PetscViewer`, `PetscViewerCreate()`, `PetscVie $(_doc_external("DMPlex/PetscViewerExodusIISetZonalVariableNames")) """ function PetscViewerExodusIISetZonalVariableNames(petsclib::PetscLibType, viewer::PetscViewer, names::String) - error("PetscViewerExodusIISetZonalVariableNames: no generated method for these argument types") + throw(MethodError(PetscViewerExodusIISetZonalVariableNames, (petsclib, viewer, names))) end @for_petsc function PetscViewerExodusIISetZonalVariableNames(petsclib::$UnionPetscLib, viewer::PetscViewer, names::String ) @@ -3460,7 +3460,7 @@ See also: `PetscViewerFileSetMode()`, `PetscViewerCreate()`, `PetscViewerSetType $(_doc_external("Viewer/PetscViewerFileGetMode")) """ function PetscViewerFileGetMode(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerFileGetMode: no generated method for these argument types") + throw(MethodError(PetscViewerFileGetMode, (petsclib, viewer))) end @for_petsc function PetscViewerFileGetMode(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -3498,7 +3498,7 @@ See also: `PetscViewerCreate()`, `PetscViewerSetType()`, `PetscViewerASCIIOpen() $(_doc_external("Viewer/PetscViewerFileGetName")) """ function PetscViewerFileGetName(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerFileGetName: no generated method for these argument types") + throw(MethodError(PetscViewerFileGetName, (petsclib, viewer))) end @for_petsc function PetscViewerFileGetName(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -3539,7 +3539,7 @@ See also: `PetscViewerCreate()`, `PetscViewerSetType()`, `PetscViewerBinaryOpen( $(_doc_external("Viewer/PetscViewerFileSetMode")) """ function PetscViewerFileSetMode(petsclib::PetscLibType, viewer::PetscViewer, mode::PetscFileMode) - error("PetscViewerFileSetMode: no generated method for these argument types") + throw(MethodError(PetscViewerFileSetMode, (petsclib, viewer, mode))) end @for_petsc function PetscViewerFileSetMode(petsclib::$UnionPetscLib, viewer::PetscViewer, mode::PetscFileMode ) @@ -3574,7 +3574,7 @@ See also: `PetscViewerCreate()`, `PetscViewerSetType()`, `PetscViewerASCIIOpen() $(_doc_external("Viewer/PetscViewerFileSetName")) """ function PetscViewerFileSetName(petsclib::PetscLibType, viewer::PetscViewer, name::String) - error("PetscViewerFileSetName: no generated method for these argument types") + throw(MethodError(PetscViewerFileSetName, (petsclib, viewer, name))) end @for_petsc function PetscViewerFileSetName(petsclib::$UnionPetscLib, viewer::PetscViewer, name::String ) @@ -3603,7 +3603,7 @@ See also: `PetscViewer`, `PetscFinalize()`, `PetscViewerInitializePackage()` $(_doc_external("Viewer/PetscViewerFinalizePackage")) """ function PetscViewerFinalizePackage(petsclib::PetscLibType) - error("PetscViewerFinalizePackage: no generated method for these argument types") + throw(MethodError(PetscViewerFinalizePackage, (petsclib, ))) end @for_petsc function PetscViewerFinalizePackage(petsclib::$UnionPetscLib) @@ -3639,7 +3639,7 @@ See also: `PetscViewer`, `PetscViewerFlowControlStart()`, `PetscViewerFlowContro $(_doc_external("Viewer/PetscViewerFlowControlEndMain")) """ function PetscViewerFlowControlEndMain(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerFlowControlEndMain: no generated method for these argument types") + throw(MethodError(PetscViewerFlowControlEndMain, (petsclib, viewer))) end @for_petsc function PetscViewerFlowControlEndMain(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -3678,7 +3678,7 @@ See also: `PetscViewer`, `PetscViewerFlowControlStart()`, `PetscViewerFlowContro $(_doc_external("Viewer/PetscViewerFlowControlEndWorker")) """ function PetscViewerFlowControlEndWorker(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerFlowControlEndWorker: no generated method for these argument types") + throw(MethodError(PetscViewerFlowControlEndWorker, (petsclib, viewer))) end @for_petsc function PetscViewerFlowControlEndWorker(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -3718,7 +3718,7 @@ See also: `PetscViewer`, `PetscViewerFlowControlStepMain()`, `PetscViewerFlowCon $(_doc_external("Viewer/PetscViewerFlowControlStart")) """ function PetscViewerFlowControlStart(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerFlowControlStart: no generated method for these argument types") + throw(MethodError(PetscViewerFlowControlStart, (petsclib, viewer))) end @for_petsc function PetscViewerFlowControlStart(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -3761,7 +3761,7 @@ See also: `PetscViewer`, `PetscViewerFlowControlStart()`, `PetscViewerFlowContro $(_doc_external("Viewer/PetscViewerFlowControlStepMain")) """ function PetscViewerFlowControlStepMain(petsclib::PetscLibType, viewer::PetscViewer, i::Integer, cnt::Integer) - error("PetscViewerFlowControlStepMain: no generated method for these argument types") + throw(MethodError(PetscViewerFlowControlStepMain, (petsclib, viewer, i, cnt))) end @for_petsc function PetscViewerFlowControlStepMain(petsclib::$UnionPetscLib, viewer::PetscViewer, i::$PetscInt, cnt::$PetscInt ) @@ -3801,7 +3801,7 @@ See also: `PetscViewer`, `PetscViewerFlowControlStart()`, `PetscViewerFlowContro $(_doc_external("Viewer/PetscViewerFlowControlStepWorker")) """ function PetscViewerFlowControlStepWorker(petsclib::PetscLibType, viewer::PetscViewer, rank::PetscMPIInt) - error("PetscViewerFlowControlStepWorker: no generated method for these argument types") + throw(MethodError(PetscViewerFlowControlStepWorker, (petsclib, viewer, rank))) end @for_petsc function PetscViewerFlowControlStepWorker(petsclib::$UnionPetscLib, viewer::PetscViewer, rank::PetscMPIInt ) @@ -3838,7 +3838,7 @@ See also: `PetscViewer`, `PetscViewerWriteable()`, `PetscViewerSocketOpen()`, `P $(_doc_external("Viewer/PetscViewerFlush")) """ function PetscViewerFlush(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerFlush: no generated method for these argument types") + throw(MethodError(PetscViewerFlush, (petsclib, viewer))) end @for_petsc function PetscViewerFlush(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -3885,7 +3885,7 @@ See also: `PETSCVIEWERGLVIS`, `PetscViewerCreate()`, `PetscViewerSetType()`, `Pe $(_doc_external("Viewer/PetscViewerGLVisOpen")) """ function PetscViewerGLVisOpen(petsclib::PetscLibType, comm::MPI_Comm, type::PetscViewerGLVisType, name::String, port::Integer) - error("PetscViewerGLVisOpen: no generated method for these argument types") + throw(MethodError(PetscViewerGLVisOpen, (petsclib, comm, type, name, port))) end @for_petsc function PetscViewerGLVisOpen(petsclib::$UnionPetscLib, comm::MPI_Comm, type::PetscViewerGLVisType, name::String, port::$PetscInt ) @@ -3927,7 +3927,7 @@ See also: `PETSCVIEWERGLVIS`, `PetscViewerGLVisOpen()`, `PetscViewerCreate()`, ` $(_doc_external("Viewer/PetscViewerGLVisSetFields")) """ function PetscViewerGLVisSetFields(petsclib::PetscLibType, viewer::PetscViewer, nf::Integer, fec_type::String, dim::AbstractVector{<:Number}, g2l::external, Vfield::Vector{PetscObject}, ctx::Ptr{Cvoid}, destroyctx::Ptr{Cvoid}) - error("PetscViewerGLVisSetFields: no generated method for these argument types") + throw(MethodError(PetscViewerGLVisSetFields, (petsclib, viewer, nf, fec_type, dim, g2l, Vfield, ctx, destroyctx))) end @for_petsc function PetscViewerGLVisSetFields(petsclib::$UnionPetscLib, viewer::PetscViewer, nf::$PetscInt, fec_type::String, dim::Vector{$PetscInt}, g2l::external, Vfield::Vector{PetscObject}, ctx::Ptr{Cvoid}, destroyctx::Ptr{Cvoid} ) @@ -3962,7 +3962,7 @@ See also: `PETSCVIEWERGLVIS`, `PetscViewerGLVisOpen()`, `PetscViewerGLVisSetFiel $(_doc_external("Viewer/PetscViewerGLVisSetPrecision")) """ function PetscViewerGLVisSetPrecision(petsclib::PetscLibType, viewer::PetscViewer, prec::Integer) - error("PetscViewerGLVisSetPrecision: no generated method for these argument types") + throw(MethodError(PetscViewerGLVisSetPrecision, (petsclib, viewer, prec))) end @for_petsc function PetscViewerGLVisSetPrecision(petsclib::$UnionPetscLib, viewer::PetscViewer, prec::$PetscInt ) @@ -3996,7 +3996,7 @@ See also: `PETSCVIEWERGLVIS`, `PetscViewerGLVisOpen()`, `PetscViewerGLVisSetFiel $(_doc_external("Viewer/PetscViewerGLVisSetSnapId")) """ function PetscViewerGLVisSetSnapId(petsclib::PetscLibType, viewer::PetscViewer, id::Integer) - error("PetscViewerGLVisSetSnapId: no generated method for these argument types") + throw(MethodError(PetscViewerGLVisSetSnapId, (petsclib, viewer, id))) end @for_petsc function PetscViewerGLVisSetSnapId(petsclib::$UnionPetscLib, viewer::PetscViewer, id::$PetscInt ) @@ -4033,7 +4033,7 @@ See also: `PetscViewer`, `PetscViewerASCIIOpen()`, `PetscViewerBinaryOpen()`, `M $(_doc_external("Viewer/PetscViewerGetFormat")) """ function PetscViewerGetFormat(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerGetFormat: no generated method for these argument types") + throw(MethodError(PetscViewerGetFormat, (petsclib, viewer))) end @for_petsc function PetscViewerGetFormat(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -4072,7 +4072,7 @@ See also: `PetscViewer`, `PetscViewerAppendOptionsPrefix()`, `PetscViewerSetOpti $(_doc_external("Viewer/PetscViewerGetOptionsPrefix")) """ function PetscViewerGetOptionsPrefix(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerGetOptionsPrefix: no generated method for these argument types") + throw(MethodError(PetscViewerGetOptionsPrefix, (petsclib, viewer))) end @for_petsc function PetscViewerGetOptionsPrefix(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -4113,7 +4113,7 @@ See also: `PetscViewer`, `PetscViewerSocketOpen()`, `PetscViewerASCIIOpen()`, `P $(_doc_external("Viewer/PetscViewerGetSubViewer")) """ function PetscViewerGetSubViewer(petsclib::PetscLibType, viewer::PetscViewer, comm::MPI_Comm) - error("PetscViewerGetSubViewer: no generated method for these argument types") + throw(MethodError(PetscViewerGetSubViewer, (petsclib, viewer, comm))) end @for_petsc function PetscViewerGetSubViewer(petsclib::$UnionPetscLib, viewer::PetscViewer, comm::MPI_Comm ) @@ -4151,7 +4151,7 @@ See also: `PetscViewerType`, `PetscViewer`, `PetscViewerCreate()`, `PetscViewerS $(_doc_external("Viewer/PetscViewerGetType")) """ function PetscViewerGetType(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerGetType: no generated method for these argument types") + throw(MethodError(PetscViewerGetType, (petsclib, viewer))) end @for_petsc function PetscViewerGetType(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -4190,7 +4190,7 @@ See also: `PETSCVIEWERHDF5`, `PetscViewerFileSetMode()`, `PetscViewerCreate()`, $(_doc_external("Viewer/PetscViewerHDF5GetBaseDimension2")) """ function PetscViewerHDF5GetBaseDimension2(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerHDF5GetBaseDimension2: no generated method for these argument types") + throw(MethodError(PetscViewerHDF5GetBaseDimension2, (petsclib, viewer))) end @for_petsc function PetscViewerHDF5GetBaseDimension2(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -4228,7 +4228,7 @@ See also: `PETSCVIEWERHDF5`, `PetscViewerHDF5SetCollective()`, `PetscViewerCreat $(_doc_external("Viewer/PetscViewerHDF5GetCollective")) """ function PetscViewerHDF5GetCollective(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerHDF5GetCollective: no generated method for these argument types") + throw(MethodError(PetscViewerHDF5GetCollective, (petsclib, viewer))) end @for_petsc function PetscViewerHDF5GetCollective(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -4266,7 +4266,7 @@ See also: `PETSCVIEWERHDF5`, `PetscViewerHDF5SetCompress()` $(_doc_external("Viewer/PetscViewerHDF5GetCompress")) """ function PetscViewerHDF5GetCompress(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerHDF5GetCompress: no generated method for these argument types") + throw(MethodError(PetscViewerHDF5GetCompress, (petsclib, viewer))) end @for_petsc function PetscViewerHDF5GetCompress(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -4307,7 +4307,7 @@ See also: `DM`, `PetscViewerHDF5SetDMPlexStorageVersionReading()`, `PetscViewerH $(_doc_external("DMPlex/PetscViewerHDF5GetDMPlexStorageVersionReading")) """ function PetscViewerHDF5GetDMPlexStorageVersionReading(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerHDF5GetDMPlexStorageVersionReading: no generated method for these argument types") + throw(MethodError(PetscViewerHDF5GetDMPlexStorageVersionReading, (petsclib, viewer))) end @for_petsc function PetscViewerHDF5GetDMPlexStorageVersionReading(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -4348,7 +4348,7 @@ See also: `DM`, `PetscViewerHDF5SetDMPlexStorageVersionWriting()`, `PetscViewerH $(_doc_external("DMPlex/PetscViewerHDF5GetDMPlexStorageVersionWriting")) """ function PetscViewerHDF5GetDMPlexStorageVersionWriting(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerHDF5GetDMPlexStorageVersionWriting: no generated method for these argument types") + throw(MethodError(PetscViewerHDF5GetDMPlexStorageVersionWriting, (petsclib, viewer))) end @for_petsc function PetscViewerHDF5GetDMPlexStorageVersionWriting(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -4386,7 +4386,7 @@ See also: `PETSCVIEWERHDF5`, `PetscViewerHDF5SetDefaultTimestepping()`, `PetscVi $(_doc_external("Viewer/PetscViewerHDF5GetDefaultTimestepping")) """ function PetscViewerHDF5GetDefaultTimestepping(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerHDF5GetDefaultTimestepping: no generated method for these argument types") + throw(MethodError(PetscViewerHDF5GetDefaultTimestepping, (petsclib, viewer))) end @for_petsc function PetscViewerHDF5GetDefaultTimestepping(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -4424,7 +4424,7 @@ See also: `PETSCVIEWERHDF5`, `PetscViewerHDF5Open()` $(_doc_external("Viewer/PetscViewerHDF5GetFileId")) """ function PetscViewerHDF5GetFileId(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerHDF5GetFileId: no generated method for these argument types") + throw(MethodError(PetscViewerHDF5GetFileId, (petsclib, viewer))) end @for_petsc function PetscViewerHDF5GetFileId(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -4463,7 +4463,7 @@ See also: `PETSCVIEWERHDF5`, `PetscViewerHDF5Open()`, `PetscViewerHDF5PushGroup( $(_doc_external("Viewer/PetscViewerHDF5GetGroup")) """ function PetscViewerHDF5GetGroup(petsclib::PetscLibType, viewer::PetscViewer, path::String) - error("PetscViewerHDF5GetGroup: no generated method for these argument types") + throw(MethodError(PetscViewerHDF5GetGroup, (petsclib, viewer, path))) end @for_petsc function PetscViewerHDF5GetGroup(petsclib::$UnionPetscLib, viewer::PetscViewer, path::String ) @@ -4503,7 +4503,7 @@ See also: `PetscViewerFileSetMode()`, `PetscViewerCreate()`, `PetscViewerSetType $(_doc_external("Viewer/PetscViewerHDF5GetSPOutput")) """ function PetscViewerHDF5GetSPOutput(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerHDF5GetSPOutput: no generated method for these argument types") + throw(MethodError(PetscViewerHDF5GetSPOutput, (petsclib, viewer))) end @for_petsc function PetscViewerHDF5GetSPOutput(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -4541,7 +4541,7 @@ See also: `PETSCVIEWERHDF5`, `PetscViewerHDF5Open()`, `PetscViewerHDF5PushTimest $(_doc_external("Viewer/PetscViewerHDF5GetTimestep")) """ function PetscViewerHDF5GetTimestep(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerHDF5GetTimestep: no generated method for these argument types") + throw(MethodError(PetscViewerHDF5GetTimestep, (petsclib, viewer))) end @for_petsc function PetscViewerHDF5GetTimestep(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -4581,7 +4581,7 @@ See also: `PETSCVIEWERHDF5`, `PetscViewerHDF5Open()`, `PetscViewerHDF5HasObjectA $(_doc_external("Viewer/PetscViewerHDF5HasAttribute")) """ function PetscViewerHDF5HasAttribute(petsclib::PetscLibType, viewer::PetscViewer, parent::String, name::String) - error("PetscViewerHDF5HasAttribute: no generated method for these argument types") + throw(MethodError(PetscViewerHDF5HasAttribute, (petsclib, viewer, parent, name))) end @for_petsc function PetscViewerHDF5HasAttribute(petsclib::$UnionPetscLib, viewer::PetscViewer, parent::String, name::String ) @@ -4620,7 +4620,7 @@ See also: `PETSCVIEWERHDF5`, `PetscViewerHDF5HasObject()`, `PetscViewerHDF5HasAt $(_doc_external("Viewer/PetscViewerHDF5HasDataset")) """ function PetscViewerHDF5HasDataset(petsclib::PetscLibType, viewer::PetscViewer, path::String) - error("PetscViewerHDF5HasDataset: no generated method for these argument types") + throw(MethodError(PetscViewerHDF5HasDataset, (petsclib, viewer, path))) end @for_petsc function PetscViewerHDF5HasDataset(petsclib::$UnionPetscLib, viewer::PetscViewer, path::String ) @@ -4659,7 +4659,7 @@ See also: `PETSCVIEWERHDF5`, `PetscViewerHDF5HasAttribute()`, `PetscViewerHDF5Ha $(_doc_external("Viewer/PetscViewerHDF5HasGroup")) """ function PetscViewerHDF5HasGroup(petsclib::PetscLibType, viewer::PetscViewer, path::String) - error("PetscViewerHDF5HasGroup: no generated method for these argument types") + throw(MethodError(PetscViewerHDF5HasGroup, (petsclib, viewer, path))) end @for_petsc function PetscViewerHDF5HasGroup(petsclib::$UnionPetscLib, viewer::PetscViewer, path::String ) @@ -4698,7 +4698,7 @@ See also: `PETSCVIEWERHDF5`, `PetscViewerHDF5Open()`, `PetscViewerHDF5HasDataset $(_doc_external("Viewer/PetscViewerHDF5HasObject")) """ function PetscViewerHDF5HasObject(petsclib::PetscLibType, viewer::PetscViewer, obj) - error("PetscViewerHDF5HasObject: no generated method for these argument types") + throw(MethodError(PetscViewerHDF5HasObject, (petsclib, viewer, obj))) end @for_petsc function PetscViewerHDF5HasObject(petsclib::$UnionPetscLib, viewer::PetscViewer, obj ) @@ -4738,7 +4738,7 @@ See also: `PETSCVIEWERHDF5`, `PetscViewerHDF5Open()`, `PetscViewerHDF5HasAttribu $(_doc_external("Viewer/PetscViewerHDF5HasObjectAttribute")) """ function PetscViewerHDF5HasObjectAttribute(petsclib::PetscLibType, viewer::PetscViewer, obj, name::String) - error("PetscViewerHDF5HasObjectAttribute: no generated method for these argument types") + throw(MethodError(PetscViewerHDF5HasObjectAttribute, (petsclib, viewer, obj, name))) end @for_petsc function PetscViewerHDF5HasObjectAttribute(petsclib::$UnionPetscLib, viewer::PetscViewer, obj, name::String ) @@ -4773,7 +4773,7 @@ See also: `PETSCVIEWERHDF5`, `PetscViewerHDF5Open()`, `PetscViewerHDF5PushTimest $(_doc_external("Viewer/PetscViewerHDF5IncrementTimestep")) """ function PetscViewerHDF5IncrementTimestep(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerHDF5IncrementTimestep: no generated method for these argument types") + throw(MethodError(PetscViewerHDF5IncrementTimestep, (petsclib, viewer))) end @for_petsc function PetscViewerHDF5IncrementTimestep(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -4809,7 +4809,7 @@ See also: `PETSCVIEWERHDF5`, `PetscViewerHDF5Open()`, `PetscViewerHDF5PushTimest $(_doc_external("Viewer/PetscViewerHDF5IsTimestepping")) """ function PetscViewerHDF5IsTimestepping(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerHDF5IsTimestepping: no generated method for these argument types") + throw(MethodError(PetscViewerHDF5IsTimestepping, (petsclib, viewer))) end @for_petsc function PetscViewerHDF5IsTimestepping(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -4854,7 +4854,7 @@ See also: `PetscViewer`, `PETSCVIEWERHDF5`, `PetscViewerHDF5Open()`, `PetscViewe $(_doc_external("Viewer/PetscViewerHDF5Load")) """ function PetscViewerHDF5Load(petsclib::PetscLibType, viewer::PetscViewer, name::String, map::PetscLayout, datatype::hid_t) - error("PetscViewerHDF5Load: no generated method for these argument types") + throw(MethodError(PetscViewerHDF5Load, (petsclib, viewer, name, map, datatype))) end @for_petsc function PetscViewerHDF5Load(petsclib::$UnionPetscLib, viewer::PetscViewer, name::String, map::PetscLayout, datatype::hid_t ) @@ -4900,7 +4900,7 @@ See also: `PETSCVIEWERHDF5`, `PetscViewerASCIIOpen()`, `PetscViewerPushFormat()` $(_doc_external("Viewer/PetscViewerHDF5Open")) """ function PetscViewerHDF5Open(petsclib::PetscLibType, comm::MPI_Comm, name::String, type::PetscFileMode) - error("PetscViewerHDF5Open: no generated method for these argument types") + throw(MethodError(PetscViewerHDF5Open, (petsclib, comm, name, type))) end @for_petsc function PetscViewerHDF5Open(petsclib::$UnionPetscLib, comm::MPI_Comm, name::String, type::PetscFileMode ) @@ -4942,7 +4942,7 @@ See also: `PETSCVIEWERHDF5`, `PetscViewerHDF5Open()`, `PetscViewerHDF5PushGroup( $(_doc_external("Viewer/PetscViewerHDF5OpenGroup")) """ function PetscViewerHDF5OpenGroup(petsclib::PetscLibType, viewer::PetscViewer, path::String) - error("PetscViewerHDF5OpenGroup: no generated method for these argument types") + throw(MethodError(PetscViewerHDF5OpenGroup, (petsclib, viewer, path))) end @for_petsc function PetscViewerHDF5OpenGroup(petsclib::$UnionPetscLib, viewer::PetscViewer, path::String ) @@ -4979,7 +4979,7 @@ See also: `PETSCVIEWERHDF5`, `PetscViewerHDF5Open()`, `PetscViewerHDF5PushGroup( $(_doc_external("Viewer/PetscViewerHDF5PopGroup")) """ function PetscViewerHDF5PopGroup(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerHDF5PopGroup: no generated method for these argument types") + throw(MethodError(PetscViewerHDF5PopGroup, (petsclib, viewer))) end @for_petsc function PetscViewerHDF5PopGroup(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -5012,7 +5012,7 @@ See also: `PETSCVIEWERHDF5`, `PetscViewerHDF5Open()`, `PetscViewerHDF5PushTimest $(_doc_external("Viewer/PetscViewerHDF5PopTimestepping")) """ function PetscViewerHDF5PopTimestepping(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerHDF5PopTimestepping: no generated method for these argument types") + throw(MethodError(PetscViewerHDF5PopTimestepping, (petsclib, viewer))) end @for_petsc function PetscViewerHDF5PopTimestepping(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -5046,7 +5046,7 @@ See also: `PETSCVIEWERHDF5`, `PetscViewerHDF5Open()`, `PetscViewerHDF5PopGroup() $(_doc_external("Viewer/PetscViewerHDF5PushGroup")) """ function PetscViewerHDF5PushGroup(petsclib::PetscLibType, viewer::PetscViewer, name::String) - error("PetscViewerHDF5PushGroup: no generated method for these argument types") + throw(MethodError(PetscViewerHDF5PushGroup, (petsclib, viewer, name))) end @for_petsc function PetscViewerHDF5PushGroup(petsclib::$UnionPetscLib, viewer::PetscViewer, name::String ) @@ -5079,7 +5079,7 @@ See also: `PETSCVIEWERHDF5`, `PetscViewerHDF5Open()`, `PetscViewerHDF5PopTimeste $(_doc_external("Viewer/PetscViewerHDF5PushTimestepping")) """ function PetscViewerHDF5PushTimestepping(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerHDF5PushTimestepping: no generated method for these argument types") + throw(MethodError(PetscViewerHDF5PushTimestepping, (petsclib, viewer))) end @for_petsc function PetscViewerHDF5PushTimestepping(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -5119,7 +5119,7 @@ See also: `PETSCVIEWERHDF5`, `PetscViewerHDF5Open()`, `PetscViewerHDF5ReadObject $(_doc_external("Viewer/PetscViewerHDF5ReadAttribute")) """ function PetscViewerHDF5ReadAttribute(petsclib::PetscLibType, viewer::PetscViewer, parent::String, name::String, datatype::PetscDataType, defaultValue::Ptr{Cvoid}) - error("PetscViewerHDF5ReadAttribute: no generated method for these argument types") + throw(MethodError(PetscViewerHDF5ReadAttribute, (petsclib, viewer, parent, name, datatype, defaultValue))) end @for_petsc function PetscViewerHDF5ReadAttribute(petsclib::$UnionPetscLib, viewer::PetscViewer, parent::String, name::String, datatype::PetscDataType, defaultValue::Ptr{Cvoid} ) @@ -5162,7 +5162,7 @@ See also: `PETSCVIEWERHDF5`, `PetscViewerHDF5Open()`, `PetscViewerHDF5ReadAttrib $(_doc_external("Viewer/PetscViewerHDF5ReadObjectAttribute")) """ function PetscViewerHDF5ReadObjectAttribute(petsclib::PetscLibType, viewer::PetscViewer, obj, name::String, datatype::PetscDataType, defaultValue::Ptr{Cvoid}) - error("PetscViewerHDF5ReadObjectAttribute: no generated method for these argument types") + throw(MethodError(PetscViewerHDF5ReadObjectAttribute, (petsclib, viewer, obj, name, datatype, defaultValue))) end @for_petsc function PetscViewerHDF5ReadObjectAttribute(petsclib::$UnionPetscLib, viewer::PetscViewer, obj, name::String, datatype::PetscDataType, defaultValue::Ptr{Cvoid} ) @@ -5200,7 +5200,7 @@ See also: `PetscViewer`, `PETSCVIEWERHDF5`, `PetscViewerHDF5Open()`, `VecLoad()` $(_doc_external("Viewer/PetscViewerHDF5ReadSizes")) """ function PetscViewerHDF5ReadSizes(petsclib::PetscLibType, viewer::PetscViewer, name::String) - error("PetscViewerHDF5ReadSizes: no generated method for these argument types") + throw(MethodError(PetscViewerHDF5ReadSizes, (petsclib, viewer, name))) end @for_petsc function PetscViewerHDF5ReadSizes(petsclib::$UnionPetscLib, viewer::PetscViewer, name::String ) @@ -5242,7 +5242,7 @@ See also: `PETSCVIEWERHDF5`, `PetscViewerFileSetMode()`, `PetscViewerCreate()`, $(_doc_external("Viewer/PetscViewerHDF5SetBaseDimension2")) """ function PetscViewerHDF5SetBaseDimension2(petsclib::PetscLibType, viewer::PetscViewer, flg::PetscBool) - error("PetscViewerHDF5SetBaseDimension2: no generated method for these argument types") + throw(MethodError(PetscViewerHDF5SetBaseDimension2, (petsclib, viewer, flg))) end @for_petsc function PetscViewerHDF5SetBaseDimension2(petsclib::$UnionPetscLib, viewer::PetscViewer, flg::PetscBool ) @@ -5279,7 +5279,7 @@ See also: `PETSCVIEWERHDF5`, `PetscViewerHDF5GetCollective()`, `PetscViewerCreat $(_doc_external("Viewer/PetscViewerHDF5SetCollective")) """ function PetscViewerHDF5SetCollective(petsclib::PetscLibType, viewer::PetscViewer, flg::PetscBool) - error("PetscViewerHDF5SetCollective: no generated method for these argument types") + throw(MethodError(PetscViewerHDF5SetCollective, (petsclib, viewer, flg))) end @for_petsc function PetscViewerHDF5SetCollective(petsclib::$UnionPetscLib, viewer::PetscViewer, flg::PetscBool ) @@ -5316,7 +5316,7 @@ See also: `PETSCVIEWERHDF5`, `PetscViewerHDF5GetCompress()` $(_doc_external("Viewer/PetscViewerHDF5SetCompress")) """ function PetscViewerHDF5SetCompress(petsclib::PetscLibType, viewer::PetscViewer, flg::PetscBool) - error("PetscViewerHDF5SetCompress: no generated method for these argument types") + throw(MethodError(PetscViewerHDF5SetCompress, (petsclib, viewer, flg))) end @for_petsc function PetscViewerHDF5SetCompress(petsclib::$UnionPetscLib, viewer::PetscViewer, flg::PetscBool ) @@ -5350,7 +5350,7 @@ See also: `DM`, `PetscViewerHDF5GetDMPlexStorageVersionReading()`, `PetscViewerH $(_doc_external("DMPlex/PetscViewerHDF5SetDMPlexStorageVersionReading")) """ function PetscViewerHDF5SetDMPlexStorageVersionReading(petsclib::PetscLibType, viewer::PetscViewer, version::DMPlexStorageVersion) - error("PetscViewerHDF5SetDMPlexStorageVersionReading: no generated method for these argument types") + throw(MethodError(PetscViewerHDF5SetDMPlexStorageVersionReading, (petsclib, viewer, version))) end @for_petsc function PetscViewerHDF5SetDMPlexStorageVersionReading(petsclib::$UnionPetscLib, viewer::PetscViewer, version::DMPlexStorageVersion ) @@ -5384,7 +5384,7 @@ See also: `DM`, `PetscViewerHDF5GetDMPlexStorageVersionWriting()`, `PetscViewerH $(_doc_external("DMPlex/PetscViewerHDF5SetDMPlexStorageVersionWriting")) """ function PetscViewerHDF5SetDMPlexStorageVersionWriting(petsclib::PetscLibType, viewer::PetscViewer, version::DMPlexStorageVersion) - error("PetscViewerHDF5SetDMPlexStorageVersionWriting: no generated method for these argument types") + throw(MethodError(PetscViewerHDF5SetDMPlexStorageVersionWriting, (petsclib, viewer, version))) end @for_petsc function PetscViewerHDF5SetDMPlexStorageVersionWriting(petsclib::$UnionPetscLib, viewer::PetscViewer, version::DMPlexStorageVersion ) @@ -5421,7 +5421,7 @@ See also: `PETSCVIEWERHDF5`, `PetscViewerHDF5GetDefaultTimestepping()`, `PetscVi $(_doc_external("Viewer/PetscViewerHDF5SetDefaultTimestepping")) """ function PetscViewerHDF5SetDefaultTimestepping(petsclib::PetscLibType, viewer::PetscViewer, flg::PetscBool) - error("PetscViewerHDF5SetDefaultTimestepping: no generated method for these argument types") + throw(MethodError(PetscViewerHDF5SetDefaultTimestepping, (petsclib, viewer, flg))) end @for_petsc function PetscViewerHDF5SetDefaultTimestepping(petsclib::$UnionPetscLib, viewer::PetscViewer, flg::PetscBool ) @@ -5460,7 +5460,7 @@ See also: `PETSCVIEWERHDF5`, `PetscViewerFileSetMode()`, `PetscViewerCreate()`, $(_doc_external("Viewer/PetscViewerHDF5SetSPOutput")) """ function PetscViewerHDF5SetSPOutput(petsclib::PetscLibType, viewer::PetscViewer, flg::PetscBool) - error("PetscViewerHDF5SetSPOutput: no generated method for these argument types") + throw(MethodError(PetscViewerHDF5SetSPOutput, (petsclib, viewer, flg))) end @for_petsc function PetscViewerHDF5SetSPOutput(petsclib::$UnionPetscLib, viewer::PetscViewer, flg::PetscBool ) @@ -5494,7 +5494,7 @@ See also: `PETSCVIEWERHDF5`, `PetscViewerHDF5Open()`, `PetscViewerHDF5PushTimest $(_doc_external("Viewer/PetscViewerHDF5SetTimestep")) """ function PetscViewerHDF5SetTimestep(petsclib::PetscLibType, viewer::PetscViewer, timestep::Integer) - error("PetscViewerHDF5SetTimestep: no generated method for these argument types") + throw(MethodError(PetscViewerHDF5SetTimestep, (petsclib, viewer, timestep))) end @for_petsc function PetscViewerHDF5SetTimestep(petsclib::$UnionPetscLib, viewer::PetscViewer, timestep::$PetscInt ) @@ -5532,7 +5532,7 @@ See also: `PETSCVIEWERHDF5`, `PetscViewerHDF5Open()`, `PetscViewerHDF5WriteObjec $(_doc_external("Viewer/PetscViewerHDF5WriteAttribute")) """ function PetscViewerHDF5WriteAttribute(petsclib::PetscLibType, viewer::PetscViewer, parent::String, name::String, datatype::PetscDataType, value::Ptr{Cvoid}) - error("PetscViewerHDF5WriteAttribute: no generated method for these argument types") + throw(MethodError(PetscViewerHDF5WriteAttribute, (petsclib, viewer, parent, name, datatype, value))) end @for_petsc function PetscViewerHDF5WriteAttribute(petsclib::$UnionPetscLib, viewer::PetscViewer, parent::String, name::String, datatype::PetscDataType, value::Ptr{Cvoid} ) @@ -5566,7 +5566,7 @@ See also: `PETSCVIEWERHDF5`, `PetscViewerHDF5Open()`, `PetscViewerHDF5PushGroup( $(_doc_external("Viewer/PetscViewerHDF5WriteGroup")) """ function PetscViewerHDF5WriteGroup(petsclib::PetscLibType, viewer::PetscViewer, path::String) - error("PetscViewerHDF5WriteGroup: no generated method for these argument types") + throw(MethodError(PetscViewerHDF5WriteGroup, (petsclib, viewer, path))) end @for_petsc function PetscViewerHDF5WriteGroup(petsclib::$UnionPetscLib, viewer::PetscViewer, path::String ) @@ -5604,7 +5604,7 @@ See also: `PETSCVIEWERHDF5`, `PetscViewerHDF5Open()`, `PetscViewerHDF5WriteAttri $(_doc_external("Viewer/PetscViewerHDF5WriteObjectAttribute")) """ function PetscViewerHDF5WriteObjectAttribute(petsclib::PetscLibType, viewer::PetscViewer, obj, name::String, datatype::PetscDataType, value::Ptr{Cvoid}) - error("PetscViewerHDF5WriteObjectAttribute: no generated method for these argument types") + throw(MethodError(PetscViewerHDF5WriteObjectAttribute, (petsclib, viewer, obj, name, datatype, value))) end @for_petsc function PetscViewerHDF5WriteObjectAttribute(petsclib::$UnionPetscLib, viewer::PetscViewer, obj, name::String, datatype::PetscDataType, value::Ptr{Cvoid} ) @@ -5632,7 +5632,7 @@ See also: `PetscViewer`, `PetscInitialize()`, `PetscViewerFinalizePackage()` $(_doc_external("Viewer/PetscViewerInitializePackage")) """ function PetscViewerInitializePackage(petsclib::PetscLibType) - error("PetscViewerInitializePackage: no generated method for these argument types") + throw(MethodError(PetscViewerInitializePackage, (petsclib, ))) end @for_petsc function PetscViewerInitializePackage(petsclib::$UnionPetscLib) @@ -5662,7 +5662,7 @@ See also: `PETSCVIEWERMATHEMATICA`, `PetscViewerMathematicaGetName()`, `PetscVie $(_doc_external("Viewer/PetscViewerMathematicaClearName")) """ function PetscViewerMathematicaClearName(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerMathematicaClearName: no generated method for these argument types") + throw(MethodError(PetscViewerMathematicaClearName, (petsclib, viewer))) end @for_petsc function PetscViewerMathematicaClearName(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -5691,7 +5691,7 @@ See also: `PetscFinalize()` $(_doc_external("Viewer/PetscViewerMathematicaFinalizePackage")) """ function PetscViewerMathematicaFinalizePackage(petsclib::PetscLibType) - error("PetscViewerMathematicaFinalizePackage: no generated method for these argument types") + throw(MethodError(PetscViewerMathematicaFinalizePackage, (petsclib, ))) end @for_petsc function PetscViewerMathematicaFinalizePackage(petsclib::$UnionPetscLib) @@ -5724,7 +5724,7 @@ See also: `PETSCVIEWERMATHEMATICA`, `PetscViewerMathematicaSetName()`, `PetscVie $(_doc_external("Viewer/PetscViewerMathematicaGetName")) """ function PetscViewerMathematicaGetName(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerMathematicaGetName: no generated method for these argument types") + throw(MethodError(PetscViewerMathematicaGetName, (petsclib, viewer))) end @for_petsc function PetscViewerMathematicaGetName(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -5755,7 +5755,7 @@ See also: `PetscSysInitializePackage()`, `PetscInitialize()` $(_doc_external("Viewer/PetscViewerMathematicaInitializePackage")) """ function PetscViewerMathematicaInitializePackage(petsclib::PetscLibType) - error("PetscViewerMathematicaInitializePackage: no generated method for these argument types") + throw(MethodError(PetscViewerMathematicaInitializePackage, (petsclib, ))) end @for_petsc function PetscViewerMathematicaInitializePackage(petsclib::$UnionPetscLib) @@ -5801,7 +5801,7 @@ See also: `PETSCVIEWERMATHEMATICA`, `MatView()`, `VecView()` $(_doc_external("Viewer/PetscViewerMathematicaOpen")) """ function PetscViewerMathematicaOpen(petsclib::PetscLibType, comm::MPI_Comm, port::Cint, machine::String, mode::String) - error("PetscViewerMathematicaOpen: no generated method for these argument types") + throw(MethodError(PetscViewerMathematicaOpen, (petsclib, comm, port, machine, mode))) end @for_petsc function PetscViewerMathematicaOpen(petsclib::$UnionPetscLib, comm::MPI_Comm, port::Cint, machine::String, mode::String ) @@ -5842,7 +5842,7 @@ See also: `PetscViewer`, `PETSCVIEWERMATHEMATICA`, `PetscViewerMathematicaPutMat $(_doc_external("Viewer/PetscViewerMathematicaPutCSRMatrix")) """ function PetscViewerMathematicaPutCSRMatrix(petsclib::PetscLibType, viewer::PetscViewer, m::Cint, n::Cint) - error("PetscViewerMathematicaPutCSRMatrix: no generated method for these argument types") + throw(MethodError(PetscViewerMathematicaPutCSRMatrix, (petsclib, viewer, m, n))) end @for_petsc function PetscViewerMathematicaPutCSRMatrix(petsclib::$UnionPetscLib, viewer::PetscViewer, m::Cint, n::Cint ) @@ -5885,7 +5885,7 @@ See also: `PetscViewer`, `PETSCVIEWERMATHEMATICA`, `PetscViewerMathematicaPutCSR $(_doc_external("Viewer/PetscViewerMathematicaPutMatrix")) """ function PetscViewerMathematicaPutMatrix(petsclib::PetscLibType, viewer::PetscViewer, m::Cint, n::Cint) - error("PetscViewerMathematicaPutMatrix: no generated method for these argument types") + throw(MethodError(PetscViewerMathematicaPutMatrix, (petsclib, viewer, m, n))) end @for_petsc function PetscViewerMathematicaPutMatrix(petsclib::$UnionPetscLib, viewer::PetscViewer, m::Cint, n::Cint ) @@ -5919,7 +5919,7 @@ See also: `PETSCVIEWERMATHEMATICA`, `PetscViewerMathematicaClearName()` $(_doc_external("Viewer/PetscViewerMathematicaSetName")) """ function PetscViewerMathematicaSetName(petsclib::PetscLibType, viewer::PetscViewer, name::String) - error("PetscViewerMathematicaSetName: no generated method for these argument types") + throw(MethodError(PetscViewerMathematicaSetName, (petsclib, viewer, name))) end @for_petsc function PetscViewerMathematicaSetName(petsclib::$UnionPetscLib, viewer::PetscViewer, name::String ) @@ -5951,7 +5951,7 @@ See also: `PetscViewerMathematicaSetName()`, `PetscViewerMathematicaGetVector()` $(_doc_external("Viewer/PetscViewerMathematicaSkipPackets")) """ function PetscViewerMathematicaSkipPackets(petsclib::PetscLibType, viewer::PetscViewer, type::Cint) - error("PetscViewerMathematicaSkipPackets: no generated method for these argument types") + throw(MethodError(PetscViewerMathematicaSkipPackets, (petsclib, viewer, type))) end @for_petsc function PetscViewerMathematicaSkipPackets(petsclib::$UnionPetscLib, viewer::PetscViewer, type::Cint ) @@ -5988,7 +5988,7 @@ See also: `PETSCVIEWERMATLAB`, `PetscViewerMatlabPutArray()` $(_doc_external("Viewer/PetscViewerMatlabGetArray")) """ function PetscViewerMatlabGetArray(petsclib::PetscLibType, mfile::PetscViewer, m::Cint, n::Cint, array::AbstractVector{<:Number}, name::String) - error("PetscViewerMatlabGetArray: no generated method for these argument types") + throw(MethodError(PetscViewerMatlabGetArray, (petsclib, mfile, m, n, array, name))) end @for_petsc function PetscViewerMatlabGetArray(petsclib::$UnionPetscLib, mfile::PetscViewer, m::Cint, n::Cint, array::Vector{$PetscScalar}, name::String ) @@ -6032,7 +6032,7 @@ See also: `PETSCVIEWERMATLAB`, `PetscViewerASCIIOpen()`, `PetscViewerPushFormat( $(_doc_external("Viewer/PetscViewerMatlabOpen")) """ function PetscViewerMatlabOpen(petsclib::PetscLibType, comm::MPI_Comm, name::String, type::PetscFileMode) - error("PetscViewerMatlabOpen: no generated method for these argument types") + throw(MethodError(PetscViewerMatlabOpen, (petsclib, comm, name, type))) end @for_petsc function PetscViewerMatlabOpen(petsclib::$UnionPetscLib, comm::MPI_Comm, name::String, type::PetscFileMode ) @@ -6071,7 +6071,7 @@ See also: `PETSCVIEWERMATLAB`, `PetscViewerMatlabGetArray()` $(_doc_external("Viewer/PetscViewerMatlabPutArray")) """ function PetscViewerMatlabPutArray(petsclib::PetscLibType, mfile::PetscViewer, m::Cint, n::Cint, array::AbstractVector{<:Number}, name::String) - error("PetscViewerMatlabPutArray: no generated method for these argument types") + throw(MethodError(PetscViewerMatlabPutArray, (petsclib, mfile, m, n, array, name))) end @for_petsc function PetscViewerMatlabPutArray(petsclib::$UnionPetscLib, mfile::PetscViewer, m::Cint, n::Cint, array::Vector{$PetscScalar}, name::String ) @@ -6106,7 +6106,7 @@ See also: `PetscViewer`, `PETSCVIEWERMATLAB`, `PetscViewerMatlabPutArray()`, `Pe $(_doc_external("Viewer/PetscViewerMatlabPutVariable")) """ function PetscViewerMatlabPutVariable(petsclib::PetscLibType, viewer::PetscViewer, name::String, mat::Ptr{Cvoid}) - error("PetscViewerMatlabPutVariable: no generated method for these argument types") + throw(MethodError(PetscViewerMatlabPutVariable, (petsclib, viewer, name, mat))) end @for_petsc function PetscViewerMatlabPutVariable(petsclib::$UnionPetscLib, viewer::PetscViewer, name::String, mat::Ptr{Cvoid} ) @@ -6148,7 +6148,7 @@ See also: `PetscViewer()`, `PETSCVIEWERDRAW`, `PetscViewerDrawGetDrawLG()`, `Pet $(_doc_external("Viewer/PetscViewerMonitorLGSetUp")) """ function PetscViewerMonitorLGSetUp(petsclib::PetscLibType, viewer::PetscViewer, host::String, title::String, metric::String, l::Integer, names::String, x::Cint, y::Cint, m::Cint, n::Cint) - error("PetscViewerMonitorLGSetUp: no generated method for these argument types") + throw(MethodError(PetscViewerMonitorLGSetUp, (petsclib, viewer, host, title, metric, l, names, x, y, m, n))) end @for_petsc function PetscViewerMonitorLGSetUp(petsclib::$UnionPetscLib, viewer::PetscViewer, host::String, title::String, metric::String, l::$PetscInt, names::String, x::Cint, y::Cint, m::Cint, n::Cint ) @@ -6183,7 +6183,7 @@ See also: `PetscViewer`, `PetscViewerFormat`, `PetscViewerASCIIOpen()`, `PetscVi $(_doc_external("Viewer/PetscViewerPopFormat")) """ function PetscViewerPopFormat(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerPopFormat: no generated method for these argument types") + throw(MethodError(PetscViewerPopFormat, (petsclib, viewer))) end @for_petsc function PetscViewerPopFormat(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -6218,7 +6218,7 @@ See also: `PetscViewer`, `PetscViewerFormat`, `PetscViewerASCIIOpen()`, `PetscVi $(_doc_external("Viewer/PetscViewerPushFormat")) """ function PetscViewerPushFormat(petsclib::PetscLibType, viewer::PetscViewer, format::PetscViewerFormat) - error("PetscViewerPushFormat: no generated method for these argument types") + throw(MethodError(PetscViewerPushFormat, (petsclib, viewer, format))) end @for_petsc function PetscViewerPushFormat(petsclib::$UnionPetscLib, viewer::PetscViewer, format::PetscViewerFormat ) @@ -6255,7 +6255,7 @@ See also: `PetscViewer`, `PetscViewerType`, `PETSCVIEWERPYTHON`, `PetscViewerPyt $(_doc_external("Viewer/PetscViewerPythonCreate")) """ function PetscViewerPythonCreate(petsclib::PetscLibType, comm::MPI_Comm, pyname::String) - error("PetscViewerPythonCreate: no generated method for these argument types") + throw(MethodError(PetscViewerPythonCreate, (petsclib, comm, pyname))) end @for_petsc function PetscViewerPythonCreate(petsclib::$UnionPetscLib, comm::MPI_Comm, pyname::String ) @@ -6293,7 +6293,7 @@ See also: `PetscViewer`, `PetscViewerType`, `PetscViewerCreate()`, `PetscViewerS $(_doc_external("Viewer/PetscViewerPythonGetType")) """ function PetscViewerPythonGetType(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerPythonGetType: no generated method for these argument types") + throw(MethodError(PetscViewerPythonGetType, (petsclib, viewer))) end @for_petsc function PetscViewerPythonGetType(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -6332,7 +6332,7 @@ See also: `PetscViewer`, `PetscViewerType`, `PetscViewerCreate()`, `PetscViewerS $(_doc_external("Viewer/PetscViewerPythonSetType")) """ function PetscViewerPythonSetType(petsclib::PetscLibType, viewer::PetscViewer, pyname::String) - error("PetscViewerPythonSetType: no generated method for these argument types") + throw(MethodError(PetscViewerPythonSetType, (petsclib, viewer, pyname))) end @for_petsc function PetscViewerPythonSetType(petsclib::$UnionPetscLib, viewer::PetscViewer, pyname::String ) @@ -6366,7 +6366,7 @@ See also: `PetscViewer`, `PetscViewerPythonCreate()` $(_doc_external("Viewer/PetscViewerPythonViewObject")) """ function PetscViewerPythonViewObject(petsclib::PetscLibType, viewer::PetscViewer, obj) - error("PetscViewerPythonViewObject: no generated method for these argument types") + throw(MethodError(PetscViewerPythonViewObject, (petsclib, viewer, obj))) end @for_petsc function PetscViewerPythonViewObject(petsclib::$UnionPetscLib, viewer::PetscViewer, obj ) @@ -6407,7 +6407,7 @@ See also: `PetscViewer`, `PetscViewerASCIIOpen()`, `PetscViewerPushFormat()`, `P $(_doc_external("Viewer/PetscViewerRead")) """ function PetscViewerRead(petsclib::PetscLibType, viewer::PetscViewer, data::Ptr{Cvoid}, num::Integer, dtype::PetscDataType) - error("PetscViewerRead: no generated method for these argument types") + throw(MethodError(PetscViewerRead, (petsclib, viewer, data, num, dtype))) end @for_petsc function PetscViewerRead(petsclib::$UnionPetscLib, viewer::PetscViewer, data::Ptr{Cvoid}, num::$PetscInt, dtype::PetscDataType ) @@ -6445,7 +6445,7 @@ See also: `PetscViewerRead()`, `PetscViewer`, `PetscViewerWritable()`, `PetscVie $(_doc_external("Viewer/PetscViewerReadable")) """ function PetscViewerReadable(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerReadable: no generated method for these argument types") + throw(MethodError(PetscViewerReadable, (petsclib, viewer))) end @for_petsc function PetscViewerReadable(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -6481,7 +6481,7 @@ See also: `PetscViewerRegisterAll()` $(_doc_external("Viewer/PetscViewerRegister")) """ function PetscViewerRegister(petsclib::PetscLibType, sname::String, fnc::external) - error("PetscViewerRegister: no generated method for these argument types") + throw(MethodError(PetscViewerRegister, (petsclib, sname, fnc))) end @for_petsc function PetscViewerRegister(petsclib::$UnionPetscLib, sname::String, fnc::external ) @@ -6517,7 +6517,7 @@ See also: `PetscViewer`, `PetscViewerSocketOpen()`, `PetscViewerASCIIOpen()`, `P $(_doc_external("Viewer/PetscViewerRestoreSubViewer")) """ function PetscViewerRestoreSubViewer(petsclib::PetscLibType, viewer::PetscViewer, comm::MPI_Comm, outviewer::PetscViewer) - error("PetscViewerRestoreSubViewer: no generated method for these argument types") + throw(MethodError(PetscViewerRestoreSubViewer, (petsclib, viewer, comm, outviewer))) end @for_petsc function PetscViewerRestoreSubViewer(petsclib::$UnionPetscLib, viewer::PetscViewer, comm::MPI_Comm, outviewer::PetscViewer ) @@ -6560,7 +6560,7 @@ See also: `PetscViewerDestroy()`, `PetscViewerStringSPrintf()`, `PETSC_VIEWER_SA $(_doc_external("Viewer/PetscViewerSAWsOpen")) """ function PetscViewerSAWsOpen(petsclib::PetscLibType, comm::MPI_Comm) - error("PetscViewerSAWsOpen: no generated method for these argument types") + throw(MethodError(PetscViewerSAWsOpen, (petsclib, comm))) end @for_petsc function PetscViewerSAWsOpen(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -6595,7 +6595,7 @@ See also: `PetscViewer`, `PetscViewerCreate()`, `PetscViewerSetType()`, `PetscVi $(_doc_external("Viewer/PetscViewerSetFromOptions")) """ function PetscViewerSetFromOptions(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerSetFromOptions: no generated method for these argument types") + throw(MethodError(PetscViewerSetFromOptions, (petsclib, viewer))) end @for_petsc function PetscViewerSetFromOptions(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -6628,7 +6628,7 @@ See also: `PetscViewer`, `PetscViewerSetFromOptions()`, `PetscViewerAppendOption $(_doc_external("Viewer/PetscViewerSetOptionsPrefix")) """ function PetscViewerSetOptionsPrefix(petsclib::PetscLibType, viewer::PetscViewer, prefix::String) - error("PetscViewerSetOptionsPrefix: no generated method for these argument types") + throw(MethodError(PetscViewerSetOptionsPrefix, (petsclib, viewer, prefix))) end @for_petsc function PetscViewerSetOptionsPrefix(petsclib::$UnionPetscLib, viewer::PetscViewer, prefix::String ) @@ -6665,7 +6665,7 @@ See also: `PetscViewer`, `PetscViewerCreate()`, `PetscViewerGetType()`, `PetscVi $(_doc_external("Viewer/PetscViewerSetType")) """ function PetscViewerSetType(petsclib::PetscLibType, viewer::PetscViewer, type::String) - error("PetscViewerSetType: no generated method for these argument types") + throw(MethodError(PetscViewerSetType, (petsclib, viewer, type))) end @for_petsc function PetscViewerSetType(petsclib::$UnionPetscLib, viewer::PetscViewer, type::String ) @@ -6698,7 +6698,7 @@ See also: `PetscViewer`, `PetscViewerCreate()`, `PetscViewerDestroy()` $(_doc_external("Viewer/PetscViewerSetUp")) """ function PetscViewerSetUp(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerSetUp: no generated method for these argument types") + throw(MethodError(PetscViewerSetUp, (petsclib, viewer))) end @for_petsc function PetscViewerSetUp(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -6751,7 +6751,7 @@ See also: `PETSCVIEWERBINARY`, `PETSCVIEWERSOCKET`, `MatView()`, `VecView()`, `P $(_doc_external("Viewer/PetscViewerSocketOpen")) """ function PetscViewerSocketOpen(petsclib::PetscLibType, comm::MPI_Comm, machine::String, port::Cint) - error("PetscViewerSocketOpen: no generated method for these argument types") + throw(MethodError(PetscViewerSocketOpen, (petsclib, comm, machine, port))) end @for_petsc function PetscViewerSocketOpen(petsclib::$UnionPetscLib, comm::MPI_Comm, machine::String, port::Cint ) @@ -6790,7 +6790,7 @@ See also: `PETSCVIEWERMATLAB`, `PETSCVIEWERSOCKET`, `PetscViewerSocketOpen()` $(_doc_external("Viewer/PetscViewerSocketSetConnection")) """ function PetscViewerSocketSetConnection(petsclib::PetscLibType, v::PetscViewer, machine::String, port::Cint) - error("PetscViewerSocketSetConnection: no generated method for these argument types") + throw(MethodError(PetscViewerSocketSetConnection, (petsclib, v, machine, port))) end @for_petsc function PetscViewerSocketSetConnection(petsclib::$UnionPetscLib, v::PetscViewer, machine::String, port::Cint ) @@ -6828,7 +6828,7 @@ See also: `PetscViewerStringOpen()`, `PETSCVIEWERSTRING`, `PetscViewerStringSetS $(_doc_external("Viewer/PetscViewerStringGetStringRead")) """ function PetscViewerStringGetStringRead(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerStringGetStringRead: no generated method for these argument types") + throw(MethodError(PetscViewerStringGetStringRead, (petsclib, viewer))) end @for_petsc function PetscViewerStringGetStringRead(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -6872,7 +6872,7 @@ See also: `PETSCVIEWERSTRING`, `PetscViewerDestroy()`, `PetscViewerStringSPrintf $(_doc_external("Viewer/PetscViewerStringOpen")) """ function PetscViewerStringOpen(petsclib::PetscLibType, comm::MPI_Comm, string::String, len::Csize_t) - error("PetscViewerStringOpen: no generated method for these argument types") + throw(MethodError(PetscViewerStringOpen, (petsclib, comm, string, len))) end @for_petsc function PetscViewerStringOpen(petsclib::$UnionPetscLib, comm::MPI_Comm, string::String, len::Csize_t ) @@ -6908,7 +6908,7 @@ See also: `PetscViewerStringOpen()`, `PETSCVIEWERSTRING`, `PetscViewerStringGetS $(_doc_external("Viewer/PetscViewerStringSetOwnString")) """ function PetscViewerStringSetOwnString(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerStringSetOwnString: no generated method for these argument types") + throw(MethodError(PetscViewerStringSetOwnString, (petsclib, viewer))) end @for_petsc function PetscViewerStringSetOwnString(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -6944,7 +6944,7 @@ See also: `PetscViewerStringOpen()`, `PETSCVIEWERSTRING`, `PetscViewerStringGetS $(_doc_external("Viewer/PetscViewerStringSetString")) """ function PetscViewerStringSetString(petsclib::PetscLibType, viewer::PetscViewer, string::String, len::Csize_t) - error("PetscViewerStringSetString: no generated method for these argument types") + throw(MethodError(PetscViewerStringSetString, (petsclib, viewer, string, len))) end @for_petsc function PetscViewerStringSetString(petsclib::$UnionPetscLib, viewer::PetscViewer, string::String, len::Csize_t ) @@ -6983,7 +6983,7 @@ See also: `PETSCVIEWERVTK`, `PetscViewerVTKOpen()`, `DMDAVTKWriteAll()`, `PetscV $(_doc_external("Viewer/PetscViewerVTKAddField")) """ function PetscViewerVTKAddField(petsclib::PetscLibType, viewer::PetscViewer, dm, PetscViewerVTKWriteFunction::external, fieldnum::Integer, fieldtype::PetscViewerVTKFieldType, checkdm::PetscBool, vec) - error("PetscViewerVTKAddField: no generated method for these argument types") + throw(MethodError(PetscViewerVTKAddField, (petsclib, viewer, dm, PetscViewerVTKWriteFunction, fieldnum, fieldtype, checkdm, vec))) end @for_petsc function PetscViewerVTKAddField(petsclib::$UnionPetscLib, viewer::PetscViewer, dm, PetscViewerVTKWriteFunction::external, fieldnum::$PetscInt, fieldtype::PetscViewerVTKFieldType, checkdm::PetscBool, vec ) @@ -7017,7 +7017,7 @@ See also: `PETSCVIEWERVTK`, `PetscViewerVTKOpen()`, `DMDAVTKWriteAll()`, `PetscV $(_doc_external("Viewer/PetscViewerVTKGetDM")) """ function PetscViewerVTKGetDM(petsclib::PetscLibType, viewer::PetscViewer, dm::PetscObject) - error("PetscViewerVTKGetDM: no generated method for these argument types") + throw(MethodError(PetscViewerVTKGetDM, (petsclib, viewer, dm))) end @for_petsc function PetscViewerVTKGetDM(petsclib::$UnionPetscLib, viewer::PetscViewer, dm::PetscObject ) @@ -7062,7 +7062,7 @@ See also: `PETSCVIEWERVTK`, `PetscViewerASCIIOpen()`, `PetscViewerPushFormat()`, $(_doc_external("Viewer/PetscViewerVTKOpen")) """ function PetscViewerVTKOpen(petsclib::PetscLibType, comm::MPI_Comm, name::String, type::PetscFileMode) - error("PetscViewerVTKOpen: no generated method for these argument types") + throw(MethodError(PetscViewerVTKOpen, (petsclib, comm, name, type))) end @for_petsc function PetscViewerVTKOpen(petsclib::$UnionPetscLib, comm::MPI_Comm, name::String, type::PetscFileMode ) @@ -7097,7 +7097,7 @@ See also: `PETSCVIEWERVU`, `PetscViewerVUPrintDeferred()` $(_doc_external("Viewer/PetscViewerVUFlushDeferred")) """ function PetscViewerVUFlushDeferred(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerVUFlushDeferred: no generated method for these argument types") + throw(MethodError(PetscViewerVUFlushDeferred, (petsclib, viewer))) end @for_petsc function PetscViewerVUFlushDeferred(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -7133,7 +7133,7 @@ See also: `PETSCVIEWERVU`, `PetscViewerASCIIGetPointer()` $(_doc_external("Viewer/PetscViewerVUGetPointer")) """ function PetscViewerVUGetPointer(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerVUGetPointer: no generated method for these argument types") + throw(MethodError(PetscViewerVUGetPointer, (petsclib, viewer))) end @for_petsc function PetscViewerVUGetPointer(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -7172,7 +7172,7 @@ See also: `PETSCVIEWERVU` $(_doc_external("Viewer/PetscViewerVUGetVecSeen")) """ function PetscViewerVUGetVecSeen(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerVUGetVecSeen: no generated method for these argument types") + throw(MethodError(PetscViewerVUGetVecSeen, (petsclib, viewer))) end @for_petsc function PetscViewerVUGetVecSeen(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -7209,7 +7209,7 @@ See also: `PETSCVIEWERVU`, `PetscViewerVUGetVecSeen()` $(_doc_external("Viewer/PetscViewerVUSetVecSeen")) """ function PetscViewerVUSetVecSeen(petsclib::PetscLibType, viewer::PetscViewer, vecSeen::PetscBool) - error("PetscViewerVUSetVecSeen: no generated method for these argument types") + throw(MethodError(PetscViewerVUSetVecSeen, (petsclib, viewer, vecSeen))) end @for_petsc function PetscViewerVUSetVecSeen(petsclib::$UnionPetscLib, viewer::PetscViewer, vecSeen::PetscBool ) @@ -7244,7 +7244,7 @@ See also: `PetscViewer`, `PetscViewerPushFormat()`, `PetscViewerASCIIOpen()`, `P $(_doc_external("Viewer/PetscViewerView")) """ function PetscViewerView(petsclib::PetscLibType, v::PetscViewer, viewer::PetscViewer) - error("PetscViewerView: no generated method for these argument types") + throw(MethodError(PetscViewerView, (petsclib, v, viewer))) end @for_petsc function PetscViewerView(petsclib::$UnionPetscLib, v::PetscViewer, viewer::PetscViewer ) @@ -7279,7 +7279,7 @@ See also: `PetscViewer`, `PetscViewerView`, `PetscObjectViewFromOptions()`, `Pet $(_doc_external("Viewer/PetscViewerViewFromOptions")) """ function PetscViewerViewFromOptions(petsclib::PetscLibType, A::PetscViewer, obj, name::String) - error("PetscViewerViewFromOptions: no generated method for these argument types") + throw(MethodError(PetscViewerViewFromOptions, (petsclib, A, obj, name))) end @for_petsc function PetscViewerViewFromOptions(petsclib::$UnionPetscLib, A::PetscViewer, obj, name::String ) @@ -7315,7 +7315,7 @@ See also: `PetscViewer`, `PetscViewerReadable()`, `PetscViewerCheckWritable()`, $(_doc_external("Viewer/PetscViewerWritable")) """ function PetscViewerWritable(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscViewerWritable: no generated method for these argument types") + throw(MethodError(PetscViewerWritable, (petsclib, viewer))) end @for_petsc function PetscViewerWritable(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -7353,7 +7353,7 @@ See also: `PetscViewer`, `PetscViewers`, `PetscViewerCreate()`, `PetscViewersDes $(_doc_external("Viewer/PetscViewersCreate")) """ function PetscViewersCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("PetscViewersCreate: no generated method for these argument types") + throw(MethodError(PetscViewersCreate, (petsclib, comm))) end @for_petsc function PetscViewersCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -7388,7 +7388,7 @@ See also: `PetscViewer`, `PetscViewerDestroy()`, `PetscViewers`, `PetscViewerSoc $(_doc_external("Viewer/PetscViewersDestroy")) """ function PetscViewersDestroy(petsclib::PetscLibType, v::Union{PetscViewers, Ref{PetscViewers}}) - error("PetscViewersDestroy: no generated method for these argument types") + throw(MethodError(PetscViewersDestroy, (petsclib, v))) end @for_petsc function PetscViewersDestroy(petsclib::$UnionPetscLib, v::Union{PetscViewers, Ref{PetscViewers}} ) @@ -7426,7 +7426,7 @@ See also: `PetscViewer`, `PetscViewers`, `PetscViewersCreate()`, `PetscViewersDe $(_doc_external("Viewer/PetscViewersGetViewer")) """ function PetscViewersGetViewer(petsclib::PetscLibType, viewers::PetscViewers, n::Integer) - error("PetscViewersGetViewer: no generated method for these argument types") + throw(MethodError(PetscViewersGetViewer, (petsclib, viewers, n))) end @for_petsc function PetscViewersGetViewer(petsclib::$UnionPetscLib, viewers::PetscViewers, n::$PetscInt ) diff --git a/src/autowrapped/Petsccomm_wrappers.jl b/src/autowrapped/Petsccomm_wrappers.jl index 865396f72..485f765ba 100644 --- a/src/autowrapped/Petsccomm_wrappers.jl +++ b/src/autowrapped/Petsccomm_wrappers.jl @@ -18,7 +18,7 @@ See also: `PetscShmCommGlobalToLocal()`, `PetscShmCommLocalToGlobal()`, `PetscSh $(_doc_external("Sys/PetscShmCommGet")) """ function PetscShmCommGet(petsclib::PetscLibType, globcomm::MPI_Comm) - error("PetscShmCommGet: no generated method for these argument types") + throw(MethodError(PetscShmCommGet, (petsclib, globcomm))) end @for_petsc function PetscShmCommGet(petsclib::$UnionPetscLib, globcomm::MPI_Comm ) @@ -54,7 +54,7 @@ See also: `PetscShmCommGlobalToLocal()`, `PetscShmCommGet()`, `PetscShmCommLocal $(_doc_external("Sys/PetscShmCommGetMpiShmComm")) """ function PetscShmCommGetMpiShmComm(petsclib::PetscLibType, pshmcomm::PetscShmComm) - error("PetscShmCommGetMpiShmComm: no generated method for these argument types") + throw(MethodError(PetscShmCommGetMpiShmComm, (petsclib, pshmcomm))) end @for_petsc function PetscShmCommGetMpiShmComm(petsclib::$UnionPetscLib, pshmcomm::PetscShmComm ) @@ -91,7 +91,7 @@ See also: `PetscShmCommGet()`, `PetscShmCommLocalToGlobal()`, `PetscShmCommGetMp $(_doc_external("Sys/PetscShmCommGlobalToLocal")) """ function PetscShmCommGlobalToLocal(petsclib::PetscLibType, pshmcomm::PetscShmComm, grank::PetscMPIInt) - error("PetscShmCommGlobalToLocal: no generated method for these argument types") + throw(MethodError(PetscShmCommGlobalToLocal, (petsclib, pshmcomm, grank))) end @for_petsc function PetscShmCommGlobalToLocal(petsclib::$UnionPetscLib, pshmcomm::PetscShmComm, grank::PetscMPIInt ) @@ -128,7 +128,7 @@ See also: `PetscShmCommGlobalToLocal()`, `PetscShmCommGet()`, `PetscShmCommGetMp $(_doc_external("Sys/PetscShmCommLocalToGlobal")) """ function PetscShmCommLocalToGlobal(petsclib::PetscLibType, pshmcomm::PetscShmComm, lrank::PetscMPIInt) - error("PetscShmCommLocalToGlobal: no generated method for these argument types") + throw(MethodError(PetscShmCommLocalToGlobal, (petsclib, pshmcomm, lrank))) end @for_petsc function PetscShmCommLocalToGlobal(petsclib::$UnionPetscLib, pshmcomm::PetscShmComm, lrank::PetscMPIInt ) @@ -167,7 +167,7 @@ See also: `PetscSubcomm`, `PetscSubcommDestroy()`, `PetscSubcommSetTypeGeneral() $(_doc_external("Sys/PetscSubcommCreate")) """ function PetscSubcommCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("PetscSubcommCreate: no generated method for these argument types") + throw(MethodError(PetscSubcommCreate, (petsclib, comm))) end @for_petsc function PetscSubcommCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -202,7 +202,7 @@ See also: `PetscSubcommCreate()`, `PetscSubcommSetType()` $(_doc_external("Sys/PetscSubcommDestroy")) """ function PetscSubcommDestroy(petsclib::PetscLibType, psubcomm::Union{PetscSubcomm, Ref{PetscSubcomm}}) - error("PetscSubcommDestroy: no generated method for these argument types") + throw(MethodError(PetscSubcommDestroy, (petsclib, psubcomm))) end @for_petsc function PetscSubcommDestroy(petsclib::$UnionPetscLib, psubcomm::Union{PetscSubcomm, Ref{PetscSubcomm}} ) @@ -240,7 +240,7 @@ See also: `PetscSubcommDestroy()`, `PetscSubcommSetTypeGeneral()`, `PetscSubcomm $(_doc_external("Sys/PetscSubcommGetChild")) """ function PetscSubcommGetChild(petsclib::PetscLibType, scomm::PetscSubcomm) - error("PetscSubcommGetChild: no generated method for these argument types") + throw(MethodError(PetscSubcommGetChild, (petsclib, scomm))) end @for_petsc function PetscSubcommGetChild(petsclib::$UnionPetscLib, scomm::PetscSubcomm ) @@ -280,7 +280,7 @@ See also: `PetscSubcommDestroy()`, `PetscSubcommSetTypeGeneral()`, `PetscSubcomm $(_doc_external("Sys/PetscSubcommGetContiguousParent")) """ function PetscSubcommGetContiguousParent(petsclib::PetscLibType, scomm::PetscSubcomm) - error("PetscSubcommGetContiguousParent: no generated method for these argument types") + throw(MethodError(PetscSubcommGetContiguousParent, (petsclib, scomm))) end @for_petsc function PetscSubcommGetContiguousParent(petsclib::$UnionPetscLib, scomm::PetscSubcomm ) @@ -319,7 +319,7 @@ See also: `PetscSubcommDestroy()`, `PetscSubcommSetTypeGeneral()`, `PetscSubcomm $(_doc_external("Sys/PetscSubcommGetParent")) """ function PetscSubcommGetParent(petsclib::PetscLibType, scomm::PetscSubcomm) - error("PetscSubcommGetParent: no generated method for these argument types") + throw(MethodError(PetscSubcommGetParent, (petsclib, scomm))) end @for_petsc function PetscSubcommGetParent(petsclib::$UnionPetscLib, scomm::PetscSubcomm ) @@ -354,7 +354,7 @@ See also: `PetscSubcomm`, `PetscSubcommCreate()` $(_doc_external("Sys/PetscSubcommSetFromOptions")) """ function PetscSubcommSetFromOptions(petsclib::PetscLibType, psubcomm::PetscSubcomm) - error("PetscSubcommSetFromOptions: no generated method for these argument types") + throw(MethodError(PetscSubcommSetFromOptions, (petsclib, psubcomm))) end @for_petsc function PetscSubcommSetFromOptions(petsclib::$UnionPetscLib, psubcomm::PetscSubcomm ) @@ -388,7 +388,7 @@ See also: `PetscSubcomm`, `PetscSubcommCreate()`, `PetscSubcommDestroy()`, `Pets $(_doc_external("Sys/PetscSubcommSetNumber")) """ function PetscSubcommSetNumber(petsclib::PetscLibType, psubcomm::PetscSubcomm, nsubcomm::Integer) - error("PetscSubcommSetNumber: no generated method for these argument types") + throw(MethodError(PetscSubcommSetNumber, (petsclib, psubcomm, nsubcomm))) end @for_petsc function PetscSubcommSetNumber(petsclib::$UnionPetscLib, psubcomm::PetscSubcomm, nsubcomm::$PetscInt ) @@ -422,7 +422,7 @@ See also: `PetscSubcomm`, `PetscSubcommCreate()` $(_doc_external("Sys/PetscSubcommSetOptionsPrefix")) """ function PetscSubcommSetOptionsPrefix(petsclib::PetscLibType, psubcomm::PetscSubcomm, pre::String) - error("PetscSubcommSetOptionsPrefix: no generated method for these argument types") + throw(MethodError(PetscSubcommSetOptionsPrefix, (petsclib, psubcomm, pre))) end @for_petsc function PetscSubcommSetOptionsPrefix(petsclib::$UnionPetscLib, psubcomm::PetscSubcomm, pre::String ) @@ -457,7 +457,7 @@ See also: `PetscSubcommType`, `PETSC_SUBCOMM_CONTIGUOUS`, `PETSC_SUBCOMM_INTERLA $(_doc_external("Sys/PetscSubcommSetType")) """ function PetscSubcommSetType(petsclib::PetscLibType, psubcomm::PetscSubcomm, subcommtype::PetscSubcommType) - error("PetscSubcommSetType: no generated method for these argument types") + throw(MethodError(PetscSubcommSetType, (petsclib, psubcomm, subcommtype))) end @for_petsc function PetscSubcommSetType(petsclib::$UnionPetscLib, psubcomm::PetscSubcomm, subcommtype::PetscSubcommType ) @@ -492,7 +492,7 @@ See also: `PetscSubcommType`, `PETSC_SUBCOMM_CONTIGUOUS`, `PETSC_SUBCOMM_INTERLA $(_doc_external("Sys/PetscSubcommSetTypeGeneral")) """ function PetscSubcommSetTypeGeneral(petsclib::PetscLibType, psubcomm::PetscSubcomm, color::PetscMPIInt, subrank::PetscMPIInt) - error("PetscSubcommSetTypeGeneral: no generated method for these argument types") + throw(MethodError(PetscSubcommSetTypeGeneral, (petsclib, psubcomm, color, subrank))) end @for_petsc function PetscSubcommSetTypeGeneral(petsclib::$UnionPetscLib, psubcomm::PetscSubcomm, color::PetscMPIInt, subrank::PetscMPIInt ) @@ -526,7 +526,7 @@ See also: `PetscSubcomm`, `PetscSubcommCreate()`, `PetscViewer` $(_doc_external("Sys/PetscSubcommView")) """ function PetscSubcommView(petsclib::PetscLibType, psubcomm::PetscSubcomm, viewer::PetscViewer) - error("PetscSubcommView: no generated method for these argument types") + throw(MethodError(PetscSubcommView, (petsclib, psubcomm, viewer))) end @for_petsc function PetscSubcommView(petsclib::$UnionPetscLib, psubcomm::PetscSubcomm, viewer::PetscViewer ) diff --git a/src/autowrapped/SNESLineSearch_wrappers.jl b/src/autowrapped/SNESLineSearch_wrappers.jl index a7ca5278a..232fffe49 100644 --- a/src/autowrapped/SNESLineSearch_wrappers.jl +++ b/src/autowrapped/SNESLineSearch_wrappers.jl @@ -17,7 +17,7 @@ See also: `SNES`, `SNESLineSearch()`, `SNESLineSearchSetFromOptions()`, `SNESGet $(_doc_external("SNES/SNESLineSearchAppendOptionsPrefix")) """ function SNESLineSearchAppendOptionsPrefix(petsclib::PetscLibType, linesearch::SNESLineSearch, prefix::String) - error("SNESLineSearchAppendOptionsPrefix: no generated method for these argument types") + throw(MethodError(SNESLineSearchAppendOptionsPrefix, (petsclib, linesearch, prefix))) end @for_petsc function SNESLineSearchAppendOptionsPrefix(petsclib::$UnionPetscLib, linesearch::SNESLineSearch, prefix::String ) @@ -65,7 +65,7 @@ See also: `SNES`, `SNESLineSearch`, `SNESGetLineSearch()`, `SNESLineSearchCreate $(_doc_external("SNES/SNESLineSearchApply")) """ function SNESLineSearchApply(petsclib::PetscLibType, linesearch::SNESLineSearch, X::AbstractPetscVec, F::AbstractPetscVec, Y::AbstractPetscVec) - error("SNESLineSearchApply: no generated method for these argument types") + throw(MethodError(SNESLineSearchApply, (petsclib, linesearch, X, F, Y))) end @for_petsc function SNESLineSearchApply(petsclib::$UnionPetscLib, linesearch::SNESLineSearch, X::AbstractPetscVec, F::AbstractPetscVec, Y::AbstractPetscVec ) @@ -101,7 +101,7 @@ See also: `SNESLineSearch`, `SNESLineSearchGetLambda()`, `SNESLineSearchGetToler $(_doc_external("SNES/SNESLineSearchBTGetAlpha")) """ function SNESLineSearchBTGetAlpha(petsclib::PetscLibType, linesearch::SNESLineSearch) - error("SNESLineSearchBTGetAlpha: no generated method for these argument types") + throw(MethodError(SNESLineSearchBTGetAlpha, (petsclib, linesearch))) end @for_petsc function SNESLineSearchBTGetAlpha(petsclib::$UnionPetscLib, linesearch::SNESLineSearch ) @@ -135,7 +135,7 @@ See also: `SNESLineSearch`, `SNESLineSearchSetLambda()`, `SNESLineSearchGetToler $(_doc_external("SNES/SNESLineSearchBTSetAlpha")) """ function SNESLineSearchBTSetAlpha(petsclib::PetscLibType, linesearch::SNESLineSearch, alpha::Real) - error("SNESLineSearchBTSetAlpha: no generated method for these argument types") + throw(MethodError(SNESLineSearchBTSetAlpha, (petsclib, linesearch, alpha))) end @for_petsc function SNESLineSearchBTSetAlpha(petsclib::$UnionPetscLib, linesearch::SNESLineSearch, alpha::$PetscReal ) @@ -169,7 +169,7 @@ See also: `SNES`, `SNESLineSearch`, `SNESLineSearchGetNorms`, `SNESLineSearchSet $(_doc_external("SNES/SNESLineSearchComputeNorms")) """ function SNESLineSearchComputeNorms(petsclib::PetscLibType, linesearch::SNESLineSearch) - error("SNESLineSearchComputeNorms: no generated method for these argument types") + throw(MethodError(SNESLineSearchComputeNorms, (petsclib, linesearch))) end @for_petsc function SNESLineSearchComputeNorms(petsclib::$UnionPetscLib, linesearch::SNESLineSearch ) @@ -205,7 +205,7 @@ See also: `SNES`, `SNESLineSearch`, `LineSearchDestroy()`, `SNESGetLineSearch()` $(_doc_external("SNES/SNESLineSearchCreate")) """ function SNESLineSearchCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("SNESLineSearchCreate: no generated method for these argument types") + throw(MethodError(SNESLineSearchCreate, (petsclib, comm))) end @for_petsc function SNESLineSearchCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -240,7 +240,7 @@ See also: `SNES`, `SNESLineSearch`, `SNESGetLineSearch()`, `SNESLineSearchCreate $(_doc_external("SNES/SNESLineSearchDestroy")) """ function SNESLineSearchDestroy(petsclib::PetscLibType, linesearch::Union{SNESLineSearch, Ref{SNESLineSearch}}) - error("SNESLineSearchDestroy: no generated method for these argument types") + throw(MethodError(SNESLineSearchDestroy, (petsclib, linesearch))) end @for_petsc function SNESLineSearchDestroy(petsclib::$UnionPetscLib, linesearch::Union{SNESLineSearch, Ref{SNESLineSearch}} ) @@ -275,7 +275,7 @@ See also: `SNES`, `SNESLineSearchGetStepTolerance()`, `SNESQN` $(_doc_external("SNES/SNESLineSearchGetDamping")) """ function SNESLineSearchGetDamping(petsclib::PetscLibType, linesearch::SNESLineSearch) - error("SNESLineSearchGetDamping: no generated method for these argument types") + throw(MethodError(SNESLineSearchGetDamping, (petsclib, linesearch))) end @for_petsc function SNESLineSearchGetDamping(petsclib::$UnionPetscLib, linesearch::SNESLineSearch ) @@ -313,7 +313,7 @@ See also: `SNES`, `SNESLineSearch`, `SNESGetLineSearch()`, `SNESLineSearchSetDef $(_doc_external("SNES/SNESLineSearchGetDefaultMonitor")) """ function SNESLineSearchGetDefaultMonitor(petsclib::PetscLibType, linesearch::SNESLineSearch) - error("SNESLineSearchGetDefaultMonitor: no generated method for these argument types") + throw(MethodError(SNESLineSearchGetDefaultMonitor, (petsclib, linesearch))) end @for_petsc function SNESLineSearchGetDefaultMonitor(petsclib::$UnionPetscLib, linesearch::SNESLineSearch ) @@ -351,7 +351,7 @@ See also: `SNES`, `SNESLineSearch`, `SNESLineSearchSetLambda()`, `SNESLineSearch $(_doc_external("SNES/SNESLineSearchGetLambda")) """ function SNESLineSearchGetLambda(petsclib::PetscLibType, linesearch::SNESLineSearch) - error("SNESLineSearchGetLambda: no generated method for these argument types") + throw(MethodError(SNESLineSearchGetLambda, (petsclib, linesearch))) end @for_petsc function SNESLineSearchGetLambda(petsclib::$UnionPetscLib, linesearch::SNESLineSearch ) @@ -391,7 +391,7 @@ See also: `SNES`, `SNESLineSearch`, `SNESLineSearchSetNorms()`, `SNESLineSearchG $(_doc_external("SNES/SNESLineSearchGetNorms")) """ function SNESLineSearchGetNorms(petsclib::PetscLibType, linesearch::SNESLineSearch) - error("SNESLineSearchGetNorms: no generated method for these argument types") + throw(MethodError(SNESLineSearchGetNorms, (petsclib, linesearch))) end @for_petsc function SNESLineSearchGetNorms(petsclib::$UnionPetscLib, linesearch::SNESLineSearch ) @@ -434,7 +434,7 @@ See also: `SNES`, `SNESLineSearch`, `SNESAppendOptionsPrefix()` $(_doc_external("SNES/SNESLineSearchGetOptionsPrefix")) """ function SNESLineSearchGetOptionsPrefix(petsclib::PetscLibType, linesearch::SNESLineSearch) - error("SNESLineSearchGetOptionsPrefix: no generated method for these argument types") + throw(MethodError(SNESLineSearchGetOptionsPrefix, (petsclib, linesearch))) end @for_petsc function SNESLineSearchGetOptionsPrefix(petsclib::$UnionPetscLib, linesearch::SNESLineSearch ) @@ -470,7 +470,7 @@ See also: `SNES`, `SNESLineSearch`, `SNESLineSearchSetOrder()` $(_doc_external("SNES/SNESLineSearchGetOrder")) """ function SNESLineSearchGetOrder(petsclib::PetscLibType, linesearch::SNESLineSearch) - error("SNESLineSearchGetOrder: no generated method for these argument types") + throw(MethodError(SNESLineSearchGetOrder, (petsclib, linesearch))) end @for_petsc function SNESLineSearchGetOrder(petsclib::$UnionPetscLib, linesearch::SNESLineSearch ) @@ -507,7 +507,7 @@ See also: `SNES`, `SNESLineSearch`, `SNESGetLineSearch()`, `SNESLineSearchGetPre $(_doc_external("SNES/SNESLineSearchGetPostCheck")) """ function SNESLineSearchGetPostCheck(petsclib::PetscLibType, linesearch::SNESLineSearch, noname::Ptr{Cvoid}) - error("SNESLineSearchGetPostCheck: no generated method for these argument types") + throw(MethodError(SNESLineSearchGetPostCheck, (petsclib, linesearch, noname))) end @for_petsc function SNESLineSearchGetPostCheck(petsclib::$UnionPetscLib, linesearch::SNESLineSearch, noname::Ptr{Cvoid} ) @@ -542,7 +542,7 @@ See also: `SNES`, `SNESLineSearch`, `SNESGetLineSearch()`, `SNESLineSearchPreChe $(_doc_external("SNES/SNESLineSearchGetPreCheck")) """ function SNESLineSearchGetPreCheck(petsclib::PetscLibType, linesearch::SNESLineSearch, noname::Ptr{Cvoid}) - error("SNESLineSearchGetPreCheck: no generated method for these argument types") + throw(MethodError(SNESLineSearchGetPreCheck, (petsclib, linesearch, noname))) end @for_petsc function SNESLineSearchGetPreCheck(petsclib::$UnionPetscLib, linesearch::SNESLineSearch, noname::Ptr{Cvoid} ) @@ -576,7 +576,7 @@ See also: `SNES`, `SNESLineSearch`, `SNESLineSearchSetReason()`, `SNESLineSearch $(_doc_external("SNES/SNESLineSearchGetReason")) """ function SNESLineSearchGetReason(petsclib::PetscLibType, linesearch::SNESLineSearch) - error("SNESLineSearchGetReason: no generated method for these argument types") + throw(MethodError(SNESLineSearchGetReason, (petsclib, linesearch))) end @for_petsc function SNESLineSearchGetReason(petsclib::$UnionPetscLib, linesearch::SNESLineSearch ) @@ -614,7 +614,7 @@ See also: `SNES`, `SNESLineSearch`, `SNESType`, `SNESLineSearchSetVecs()` $(_doc_external("SNES/SNESLineSearchGetSNES")) """ function SNESLineSearchGetSNES(petsclib::PetscLibType, linesearch::SNESLineSearch) - error("SNESLineSearchGetSNES: no generated method for these argument types") + throw(MethodError(SNESLineSearchGetSNES, (petsclib, linesearch))) end @for_petsc function SNESLineSearchGetSNES(petsclib::$UnionPetscLib, linesearch::SNESLineSearch ) @@ -657,7 +657,7 @@ See also: `SNES`, `SNESLineSearch`, `SNESLineSearchSetTolerances()` $(_doc_external("SNES/SNESLineSearchGetTolerances")) """ function SNESLineSearchGetTolerances(petsclib::PetscLibType, linesearch::SNESLineSearch) - error("SNESLineSearchGetTolerances: no generated method for these argument types") + throw(MethodError(SNESLineSearchGetTolerances, (petsclib, linesearch))) end @for_petsc function SNESLineSearchGetTolerances(petsclib::$UnionPetscLib, linesearch::SNESLineSearch ) @@ -706,7 +706,7 @@ See also: `SNES`, `SNESLineSearch`, `SNESLineSearchType`, `SNESLineSearchCreate( $(_doc_external("SNES/SNESLineSearchGetType")) """ function SNESLineSearchGetType(petsclib::PetscLibType, linesearch::SNESLineSearch) - error("SNESLineSearchGetType: no generated method for these argument types") + throw(MethodError(SNESLineSearchGetType, (petsclib, linesearch))) end @for_petsc function SNESLineSearchGetType(petsclib::$UnionPetscLib, linesearch::SNESLineSearch ) @@ -747,7 +747,7 @@ See also: `SNES`, `SNESLineSearch`, `SNESLineSearchSetVIFunctions()`, `SNESLineS $(_doc_external("SNES/SNESLineSearchGetVIFunctions")) """ function SNESLineSearchGetVIFunctions(petsclib::PetscLibType, linesearch::SNESLineSearch) - error("SNESLineSearchGetVIFunctions: no generated method for these argument types") + throw(MethodError(SNESLineSearchGetVIFunctions, (petsclib, linesearch))) end @for_petsc function SNESLineSearchGetVIFunctions(petsclib::$UnionPetscLib, linesearch::SNESLineSearch ) @@ -793,7 +793,7 @@ See also: `SNES`, `SNESLineSearch`, `SNESLineSearchGetNorms()`, `SNESLineSearchS $(_doc_external("SNES/SNESLineSearchGetVecs")) """ function SNESLineSearchGetVecs(petsclib::PetscLibType, linesearch::SNESLineSearch) - error("SNESLineSearchGetVecs: no generated method for these argument types") + throw(MethodError(SNESLineSearchGetVecs, (petsclib, linesearch))) end @for_petsc function SNESLineSearchGetVecs(petsclib::$UnionPetscLib, linesearch::SNESLineSearch ) @@ -836,7 +836,7 @@ See also: `SNES`, `SNESLineSearch`, `SNESGetLineSearch()`, `SNESLineSearchMonito $(_doc_external("SNES/SNESLineSearchMonitor")) """ function SNESLineSearchMonitor(petsclib::PetscLibType, ls::SNESLineSearch) - error("SNESLineSearchMonitor: no generated method for these argument types") + throw(MethodError(SNESLineSearchMonitor, (petsclib, ls))) end @for_petsc function SNESLineSearchMonitor(petsclib::$UnionPetscLib, ls::SNESLineSearch ) @@ -874,7 +874,7 @@ See also: `SNES`, `SNESLineSearch`, `SNESGetLineSearch()`, `SNESLineSearchMonito $(_doc_external("SNES/SNESLineSearchMonitorCancel")) """ function SNESLineSearchMonitorCancel(petsclib::PetscLibType, ls::SNESLineSearch) - error("SNESLineSearchMonitorCancel: no generated method for these argument types") + throw(MethodError(SNESLineSearchMonitorCancel, (petsclib, ls))) end @for_petsc function SNESLineSearchMonitorCancel(petsclib::$UnionPetscLib, ls::SNESLineSearch ) @@ -916,7 +916,7 @@ See also: `SNES`, `SNESLineSearch`, `SNESGetLineSearch()`, `SNESLineSearchMonito $(_doc_external("SNES/SNESLineSearchMonitorSet")) """ function SNESLineSearchMonitorSet(petsclib::PetscLibType, ls::SNESLineSearch, f::external, mctx::Ptr{Cvoid}, monitordestroy::Ptr{Cvoid}) - error("SNESLineSearchMonitorSet: no generated method for these argument types") + throw(MethodError(SNESLineSearchMonitorSet, (petsclib, ls, f, mctx, monitordestroy))) end @for_petsc function SNESLineSearchMonitorSet(petsclib::$UnionPetscLib, ls::SNESLineSearch, f::external, mctx::Ptr{Cvoid}, monitordestroy::Ptr{Cvoid} ) @@ -968,7 +968,7 @@ See also: `SNES`, `SNESLineSearch`, `SNESLineSearchSetMonitor()`, `PetscOptionsC $(_doc_external("SNES/SNESLineSearchMonitorSetFromOptions")) """ function SNESLineSearchMonitorSetFromOptions(petsclib::PetscLibType, ls::SNESLineSearch, name::String, help::String, manual::String, monitor::external, monitorsetup::external) - error("SNESLineSearchMonitorSetFromOptions: no generated method for these argument types") + throw(MethodError(SNESLineSearchMonitorSetFromOptions, (petsclib, ls, name, help, manual, monitor, monitorsetup))) end @for_petsc function SNESLineSearchMonitorSetFromOptions(petsclib::$UnionPetscLib, ls::SNESLineSearch, name::String, help::String, manual::String, monitor::external, monitorsetup::external ) @@ -1007,7 +1007,7 @@ See also: `SNES`, `SNESLineSearch`, `SNESGetLineSearch()`, `SNESLineSearchMonito $(_doc_external("SNES/SNESLineSearchMonitorSolutionUpdate")) """ function SNESLineSearchMonitorSolutionUpdate(petsclib::PetscLibType, ls::SNESLineSearch, vf::Vector{PetscViewerAndFormat}) - error("SNESLineSearchMonitorSolutionUpdate: no generated method for these argument types") + throw(MethodError(SNESLineSearchMonitorSolutionUpdate, (petsclib, ls, vf))) end @for_petsc function SNESLineSearchMonitorSolutionUpdate(petsclib::$UnionPetscLib, ls::SNESLineSearch, vf::Vector{PetscViewerAndFormat} ) @@ -1047,7 +1047,7 @@ See also: `SNES`, `SNESGetLineSearch()`, `SNESLineSearchPreCheck()`, `SNESLineSe $(_doc_external("SNES/SNESLineSearchPostCheck")) """ function SNESLineSearchPostCheck(petsclib::PetscLibType, linesearch::SNESLineSearch, X::AbstractPetscVec, Y::AbstractPetscVec, W::AbstractPetscVec) - error("SNESLineSearchPostCheck: no generated method for these argument types") + throw(MethodError(SNESLineSearchPostCheck, (petsclib, linesearch, X, Y, W))) end @for_petsc function SNESLineSearchPostCheck(petsclib::$UnionPetscLib, linesearch::SNESLineSearch, X::AbstractPetscVec, Y::AbstractPetscVec, W::AbstractPetscVec ) @@ -1090,7 +1090,7 @@ See also: `SNES`, `SNESLineSearch`, `SNESGetLineSearch()`, `SNESLineSearchPostCh $(_doc_external("SNES/SNESLineSearchPreCheck")) """ function SNESLineSearchPreCheck(petsclib::PetscLibType, linesearch::SNESLineSearch, X::AbstractPetscVec, Y::AbstractPetscVec) - error("SNESLineSearchPreCheck: no generated method for these argument types") + throw(MethodError(SNESLineSearchPreCheck, (petsclib, linesearch, X, Y))) end @for_petsc function SNESLineSearchPreCheck(petsclib::$UnionPetscLib, linesearch::SNESLineSearch, X::AbstractPetscVec, Y::AbstractPetscVec ) @@ -1137,7 +1137,7 @@ See also: `SNES`, `SNESLineSearch`, `SNESSetPicard()`, `SNESGetLineSearch()`, `S $(_doc_external("SNES/SNESLineSearchPreCheckPicard")) """ function SNESLineSearchPreCheckPicard(petsclib::PetscLibType, linesearch::SNESLineSearch, X::AbstractPetscVec, Y::AbstractPetscVec, ctx::Ptr{Cvoid}) - error("SNESLineSearchPreCheckPicard: no generated method for these argument types") + throw(MethodError(SNESLineSearchPreCheckPicard, (petsclib, linesearch, X, Y, ctx))) end @for_petsc function SNESLineSearchPreCheckPicard(petsclib::$UnionPetscLib, linesearch::SNESLineSearch, X::AbstractPetscVec, Y::AbstractPetscVec, ctx::Ptr{Cvoid} ) @@ -1176,7 +1176,7 @@ See also: `SNES`, `SNESLineSearch`, `SNESLineSearchType`, `SNESLineSearchSetType $(_doc_external("SNES/SNESLineSearchRegister")) """ function SNESLineSearchRegister(petsclib::PetscLibType, sname::String, fnc::external) - error("SNESLineSearchRegister: no generated method for these argument types") + throw(MethodError(SNESLineSearchRegister, (petsclib, sname, fnc))) end @for_petsc function SNESLineSearchRegister(petsclib::$UnionPetscLib, sname::String, fnc::external ) @@ -1209,7 +1209,7 @@ See also: `SNES`, `SNESLineSearch`, `SNESGetLineSearch()`, `SNESLineSearchSetUp( $(_doc_external("SNES/SNESLineSearchReset")) """ function SNESLineSearchReset(petsclib::PetscLibType, linesearch::SNESLineSearch) - error("SNESLineSearchReset: no generated method for these argument types") + throw(MethodError(SNESLineSearchReset, (petsclib, linesearch))) end @for_petsc function SNESLineSearchReset(petsclib::$UnionPetscLib, linesearch::SNESLineSearch ) @@ -1244,7 +1244,7 @@ See also: `SNES`, `SNESLineSearch`, `SNESLineSearchGetNorms()`, `SNESLineSearchS $(_doc_external("SNES/SNESLineSearchSetComputeNorms")) """ function SNESLineSearchSetComputeNorms(petsclib::PetscLibType, linesearch::SNESLineSearch, flg::PetscBool) - error("SNESLineSearchSetComputeNorms: no generated method for these argument types") + throw(MethodError(SNESLineSearchSetComputeNorms, (petsclib, linesearch, flg))) end @for_petsc function SNESLineSearchSetComputeNorms(petsclib::$UnionPetscLib, linesearch::SNESLineSearch, flg::PetscBool ) @@ -1279,7 +1279,7 @@ See also: `SNES`, `SNESLineSearch`, `SNESLineSearchGetDamping()` $(_doc_external("SNES/SNESLineSearchSetDamping")) """ function SNESLineSearchSetDamping(petsclib::PetscLibType, linesearch::SNESLineSearch, damping::Real) - error("SNESLineSearchSetDamping: no generated method for these argument types") + throw(MethodError(SNESLineSearchSetDamping, (petsclib, linesearch, damping))) end @for_petsc function SNESLineSearchSetDamping(petsclib::$UnionPetscLib, linesearch::SNESLineSearch, damping::$PetscReal ) @@ -1317,7 +1317,7 @@ See also: `SNES`, `SNESLineSearch`, `PETSCVIEWERASCII`, `SNESGetLineSearch()`, ` $(_doc_external("SNES/SNESLineSearchSetDefaultMonitor")) """ function SNESLineSearchSetDefaultMonitor(petsclib::PetscLibType, linesearch::SNESLineSearch, viewer::PetscViewer) - error("SNESLineSearchSetDefaultMonitor: no generated method for these argument types") + throw(MethodError(SNESLineSearchSetDefaultMonitor, (petsclib, linesearch, viewer))) end @for_petsc function SNESLineSearchSetDefaultMonitor(petsclib::$UnionPetscLib, linesearch::SNESLineSearch, viewer::PetscViewer ) @@ -1368,7 +1368,7 @@ See also: `SNES`, `SNESLineSearch`, `SNESGetLineSearch()`, `SNESLineSearchCreate $(_doc_external("SNES/SNESLineSearchSetFromOptions")) """ function SNESLineSearchSetFromOptions(petsclib::PetscLibType, linesearch::SNESLineSearch) - error("SNESLineSearchSetFromOptions: no generated method for these argument types") + throw(MethodError(SNESLineSearchSetFromOptions, (petsclib, linesearch))) end @for_petsc function SNESLineSearchSetFromOptions(petsclib::$UnionPetscLib, linesearch::SNESLineSearch ) @@ -1406,7 +1406,7 @@ See also: `SNES`, `SNESLineSearch`, `SNESGetLineSearch()`, `SNESSetFunction()` $(_doc_external("SNES/SNESLineSearchSetFunction")) """ function SNESLineSearchSetFunction(petsclib::PetscLibType, linesearch::SNESLineSearch, func::external) - error("SNESLineSearchSetFunction: no generated method for these argument types") + throw(MethodError(SNESLineSearchSetFunction, (petsclib, linesearch, func))) end @for_petsc function SNESLineSearchSetFunction(petsclib::$UnionPetscLib, linesearch::SNESLineSearch, func::external ) @@ -1438,7 +1438,7 @@ See also: `SNES`, `SNESLineSearch`, `SNESLineSearchGetLambda()` $(_doc_external("SNES/SNESLineSearchSetLambda")) """ function SNESLineSearchSetLambda(petsclib::PetscLibType, linesearch::SNESLineSearch, lambda::Real) - error("SNESLineSearchSetLambda: no generated method for these argument types") + throw(MethodError(SNESLineSearchSetLambda, (petsclib, linesearch, lambda))) end @for_petsc function SNESLineSearchSetLambda(petsclib::$UnionPetscLib, linesearch::SNESLineSearch, lambda::$PetscReal ) @@ -1474,7 +1474,7 @@ See also: `SNES`, `SNESLineSearch`, `SNESLineSearchGetNorms()`, `SNESLineSearchS $(_doc_external("SNES/SNESLineSearchSetNorms")) """ function SNESLineSearchSetNorms(petsclib::PetscLibType, linesearch::SNESLineSearch, xnorm::Real, fnorm::Real, ynorm::Real) - error("SNESLineSearchSetNorms: no generated method for these argument types") + throw(MethodError(SNESLineSearchSetNorms, (petsclib, linesearch, xnorm, fnorm, ynorm))) end @for_petsc function SNESLineSearchSetNorms(petsclib::$UnionPetscLib, linesearch::SNESLineSearch, xnorm::$PetscReal, fnorm::$PetscReal, ynorm::$PetscReal ) @@ -1514,7 +1514,7 @@ See also: `SNES`, `SNESLineSearch`, `SNESLineSearchGetOrder()`, `SNESLineSearchS $(_doc_external("SNES/SNESLineSearchSetOrder")) """ function SNESLineSearchSetOrder(petsclib::PetscLibType, linesearch::SNESLineSearch, order::Integer) - error("SNESLineSearchSetOrder: no generated method for these argument types") + throw(MethodError(SNESLineSearchSetOrder, (petsclib, linesearch, order))) end @for_petsc function SNESLineSearchSetOrder(petsclib::$UnionPetscLib, linesearch::SNESLineSearch, order::$PetscInt ) @@ -1560,7 +1560,7 @@ See also: `SNES`, `SNESLineSearch`, `SNESGetLineSearch()`, `SNESLineSearchPostCh $(_doc_external("SNES/SNESLineSearchSetPostCheck")) """ function SNESLineSearchSetPostCheck(petsclib::PetscLibType, linesearch::SNESLineSearch, func::external, ctx::Ptr{Cvoid}) - error("SNESLineSearchSetPostCheck: no generated method for these argument types") + throw(MethodError(SNESLineSearchSetPostCheck, (petsclib, linesearch, func, ctx))) end @for_petsc function SNESLineSearchSetPostCheck(petsclib::$UnionPetscLib, linesearch::SNESLineSearch, func::external, ctx::Ptr{Cvoid} ) @@ -1605,7 +1605,7 @@ See also: `SNES`, `SNESGetLineSearch()`, `SNESLineSearchPreCheck()`, `SNESLineSe $(_doc_external("SNES/SNESLineSearchSetPreCheck")) """ function SNESLineSearchSetPreCheck(petsclib::PetscLibType, linesearch::SNESLineSearch, func::external, ctx::Ptr{Cvoid}) - error("SNESLineSearchSetPreCheck: no generated method for these argument types") + throw(MethodError(SNESLineSearchSetPreCheck, (petsclib, linesearch, func, ctx))) end @for_petsc function SNESLineSearchSetPreCheck(petsclib::$UnionPetscLib, linesearch::SNESLineSearch, func::external, ctx::Ptr{Cvoid} ) @@ -1639,7 +1639,7 @@ See also: `SNES`, `SNESLineSearch`, `SNESLineSearchReason`, `SNESLineSearchGetSR $(_doc_external("SNES/SNESLineSearchSetReason")) """ function SNESLineSearchSetReason(petsclib::PetscLibType, linesearch::SNESLineSearch, reason::SNESLineSearchReason) - error("SNESLineSearchSetReason: no generated method for these argument types") + throw(MethodError(SNESLineSearchSetReason, (petsclib, linesearch, reason))) end @for_petsc function SNESLineSearchSetReason(petsclib::$UnionPetscLib, linesearch::SNESLineSearch, reason::SNESLineSearchReason ) @@ -1671,7 +1671,7 @@ See also: `SNES`, `SNESLineSearch`, `SNESLineSearchGetSNES()`, `SNESLineSearchSe $(_doc_external("SNES/SNESLineSearchSetSNES")) """ function SNESLineSearchSetSNES(petsclib::PetscLibType, linesearch::SNESLineSearch, snes::AbstractSNES) - error("SNESLineSearchSetSNES: no generated method for these argument types") + throw(MethodError(SNESLineSearchSetSNES, (petsclib, linesearch, snes))) end @for_petsc function SNESLineSearchSetSNES(petsclib::$UnionPetscLib, linesearch::SNESLineSearch, snes::AbstractSNES ) @@ -1718,7 +1718,7 @@ See also: `SNES`, `SNESLineSearch`, `SNESLineSearchGetTolerances()` $(_doc_external("SNES/SNESLineSearchSetTolerances")) """ function SNESLineSearchSetTolerances(petsclib::PetscLibType, linesearch::SNESLineSearch, minlambda::Real, maxlambda::Real, rtol::Real, atol::Real, ltol::Real, max_it::Integer) - error("SNESLineSearchSetTolerances: no generated method for these argument types") + throw(MethodError(SNESLineSearchSetTolerances, (petsclib, linesearch, minlambda, maxlambda, rtol, atol, ltol, max_it))) end @for_petsc function SNESLineSearchSetTolerances(petsclib::$UnionPetscLib, linesearch::SNESLineSearch, minlambda::$PetscReal, maxlambda::$PetscReal, rtol::$PetscReal, atol::$PetscReal, ltol::$PetscReal, max_it::$PetscInt ) @@ -1756,7 +1756,7 @@ See also: `SNES`, `SNESLineSearch`, `SNESLineSearchType`, `SNESLineSearchCreate( $(_doc_external("SNES/SNESLineSearchSetType")) """ function SNESLineSearchSetType(petsclib::PetscLibType, linesearch::SNESLineSearch, type::String) - error("SNESLineSearchSetType: no generated method for these argument types") + throw(MethodError(SNESLineSearchSetType, (petsclib, linesearch, type))) end @for_petsc function SNESLineSearchSetType(petsclib::$UnionPetscLib, linesearch::SNESLineSearch, type::String ) @@ -1790,7 +1790,7 @@ See also: `SNES`, `SNESLineSearch`, `SNESGetLineSearch()`, `SNESLineSearchReset( $(_doc_external("SNES/SNESLineSearchSetUp")) """ function SNESLineSearchSetUp(petsclib::PetscLibType, linesearch::SNESLineSearch) - error("SNESLineSearchSetUp: no generated method for these argument types") + throw(MethodError(SNESLineSearchSetUp, (petsclib, linesearch))) end @for_petsc function SNESLineSearchSetUp(petsclib::$UnionPetscLib, linesearch::SNESLineSearch ) @@ -1827,7 +1827,7 @@ See also: `SNES`, `SNESLineSearch`, `SNESLineSearchGetVIFunctions()`, `SNESLineS $(_doc_external("SNES/SNESLineSearchSetVIFunctions")) """ function SNESLineSearchSetVIFunctions(petsclib::PetscLibType, linesearch::SNESLineSearch, projectfunc::Ptr{Cvoid}, normfunc::Ptr{Cvoid}, dirderivfunc::Ptr{Cvoid}) - error("SNESLineSearchSetVIFunctions: no generated method for these argument types") + throw(MethodError(SNESLineSearchSetVIFunctions, (petsclib, linesearch, projectfunc, normfunc, dirderivfunc))) end @for_petsc function SNESLineSearchSetVIFunctions(petsclib::$UnionPetscLib, linesearch::SNESLineSearch, projectfunc::Ptr{Cvoid}, normfunc::Ptr{Cvoid}, dirderivfunc::Ptr{Cvoid} ) @@ -1865,7 +1865,7 @@ See also: `SNES`, `SNESLineSearch`, `SNESLineSearchSetNorms()`, `SNESLineSearchG $(_doc_external("SNES/SNESLineSearchSetVecs")) """ function SNESLineSearchSetVecs(petsclib::PetscLibType, linesearch::SNESLineSearch, X::AbstractPetscVec, F::AbstractPetscVec, Y::AbstractPetscVec, W::AbstractPetscVec, G::AbstractPetscVec) - error("SNESLineSearchSetVecs: no generated method for these argument types") + throw(MethodError(SNESLineSearchSetVecs, (petsclib, linesearch, X, F, Y, W, G))) end @for_petsc function SNESLineSearchSetVecs(petsclib::$UnionPetscLib, linesearch::SNESLineSearch, X::AbstractPetscVec, F::AbstractPetscVec, Y::AbstractPetscVec, W::AbstractPetscVec, G::AbstractPetscVec ) @@ -1897,7 +1897,7 @@ See also: `SNES`, `SNESLineSearch`, `SNESSetWorkVecs()` $(_doc_external("SNES/SNESLineSearchSetWorkVecs")) """ function SNESLineSearchSetWorkVecs(petsclib::PetscLibType, linesearch::SNESLineSearch, nwork::Integer) - error("SNESLineSearchSetWorkVecs: no generated method for these argument types") + throw(MethodError(SNESLineSearchSetWorkVecs, (petsclib, linesearch, nwork))) end @for_petsc function SNESLineSearchSetWorkVecs(petsclib::$UnionPetscLib, linesearch::SNESLineSearch, nwork::$PetscInt ) @@ -1935,7 +1935,7 @@ See also: `SNESLineSearchShellSetApply()`, `SNESLINESEARCHSHELL`, `SNESLineSearc $(_doc_external("SNES/SNESLineSearchShellGetApply")) """ function SNESLineSearchShellGetApply(petsclib::PetscLibType, linesearch::SNESLineSearch) - error("SNESLineSearchShellGetApply: no generated method for these argument types") + throw(MethodError(SNESLineSearchShellGetApply, (petsclib, linesearch))) end @for_petsc function SNESLineSearchShellGetApply(petsclib::$UnionPetscLib, linesearch::SNESLineSearch ) @@ -1998,7 +1998,7 @@ See also: `SNESLineSearchShellGetApply()`, `SNESLINESEARCHSHELL`, `SNESLineSearc $(_doc_external("SNES/SNESLineSearchShellSetApply")) """ function SNESLineSearchShellSetApply(petsclib::PetscLibType, linesearch::SNESLineSearch, func::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("SNESLineSearchShellSetApply: no generated method for these argument types") + throw(MethodError(SNESLineSearchShellSetApply, (petsclib, linesearch, func, ctx))) end @for_petsc function SNESLineSearchShellSetApply(petsclib::$UnionPetscLib, linesearch::SNESLineSearch, func::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -2032,7 +2032,7 @@ See also: `SNES`, `SNESLineSearch`, `PetscViewer`, `SNESLineSearchCreate()` $(_doc_external("SNES/SNESLineSearchView")) """ function SNESLineSearchView(petsclib::PetscLibType, linesearch::SNESLineSearch, viewer::PetscViewer) - error("SNESLineSearchView: no generated method for these argument types") + throw(MethodError(SNESLineSearchView, (petsclib, linesearch, viewer))) end @for_petsc function SNESLineSearchView(petsclib::$UnionPetscLib, linesearch::SNESLineSearch, viewer::PetscViewer ) diff --git a/src/autowrapped/SNES_wrappers.jl b/src/autowrapped/SNES_wrappers.jl index 0e14824a5..4e2f367b7 100644 --- a/src/autowrapped/SNES_wrappers.jl +++ b/src/autowrapped/SNES_wrappers.jl @@ -18,7 +18,7 @@ See also: `SNES`, `SNESSetFromOptions()` $(_doc_external("SNES/SNESAddOptionsChecker")) """ function SNESAddOptionsChecker(petsclib::PetscLibType, snescheck::external) - error("SNESAddOptionsChecker: no generated method for these argument types") + throw(MethodError(SNESAddOptionsChecker, (petsclib, snescheck))) end @for_petsc function SNESAddOptionsChecker(petsclib::$UnionPetscLib, snescheck::external ) @@ -53,7 +53,7 @@ See also: `SNESGetOptionsPrefix()`, `SNESSetOptionsPrefix()` $(_doc_external("SNES/SNESAppendOptionsPrefix")) """ function SNESAppendOptionsPrefix(petsclib::PetscLibType, snes::AbstractSNES, prefix::String) - error("SNESAppendOptionsPrefix: no generated method for these argument types") + throw(MethodError(SNESAppendOptionsPrefix, (petsclib, snes, prefix))) end @for_petsc function SNESAppendOptionsPrefix(petsclib::$UnionPetscLib, snes::AbstractSNES, prefix::String ) @@ -91,7 +91,7 @@ See also: `SNES`, `SNESGetNPC()`, `SNESSetNPC()`, `SNESComputeFunction()` $(_doc_external("SNES/SNESApplyNPC")) """ function SNESApplyNPC(petsclib::PetscLibType, snes::AbstractSNES, x::AbstractPetscVec, f::AbstractPetscVec, y::AbstractPetscVec) - error("SNESApplyNPC: no generated method for these argument types") + throw(MethodError(SNESApplyNPC, (petsclib, snes, x, f, y))) end @for_petsc function SNESApplyNPC(petsclib::$UnionPetscLib, snes::AbstractSNES, x::AbstractPetscVec, f::AbstractPetscVec, y::AbstractPetscVec ) @@ -125,7 +125,7 @@ See also: `SNES`, `SNESCOMPOSITE`, `SNESCompositeGetSNES()` $(_doc_external("SNES/SNESCompositeAddSNES")) """ function SNESCompositeAddSNES(petsclib::PetscLibType, snes::AbstractSNES, type::String) - error("SNESCompositeAddSNES: no generated method for these argument types") + throw(MethodError(SNESCompositeAddSNES, (petsclib, snes, type))) end @for_petsc function SNESCompositeAddSNES(petsclib::$UnionPetscLib, snes::AbstractSNES, type::String ) @@ -161,7 +161,7 @@ See also: `SNES`, `SNESCOMPOSITE`, `SNESCompositeAddSNES()`, `SNESCompositeGetSN $(_doc_external("SNES/SNESCompositeGetNumber")) """ function SNESCompositeGetNumber(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESCompositeGetNumber: no generated method for these argument types") + throw(MethodError(SNESCompositeGetNumber, (petsclib, snes))) end @for_petsc function SNESCompositeGetNumber(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -200,7 +200,7 @@ See also: `SNES`, `SNESCOMPOSITE`, `SNESCompositeAddSNES()`, `SNESCompositeGetNu $(_doc_external("SNES/SNESCompositeGetSNES")) """ function SNESCompositeGetSNES(petsclib::PetscLibType, snes::AbstractSNES, n::Integer) - error("SNESCompositeGetSNES: no generated method for these argument types") + throw(MethodError(SNESCompositeGetSNES, (petsclib, snes, n))) end @for_petsc function SNESCompositeGetSNES(petsclib::$UnionPetscLib, snes::AbstractSNES, n::$PetscInt ) @@ -238,7 +238,7 @@ See also: `SNES`, `SNESCOMPOSITE`, `SNESCompositeAddSNES()`, `SNESCompositeGetSN $(_doc_external("SNES/SNESCompositeSetDamping")) """ function SNESCompositeSetDamping(petsclib::PetscLibType, snes::AbstractSNES, n::Integer, dmp::Real) - error("SNESCompositeSetDamping: no generated method for these argument types") + throw(MethodError(SNESCompositeSetDamping, (petsclib, snes, n, dmp))) end @for_petsc function SNESCompositeSetDamping(petsclib::$UnionPetscLib, snes::AbstractSNES, n::$PetscInt, dmp::$PetscReal ) @@ -276,7 +276,7 @@ See also: `SNES_COMPOSITE_ADDITIVE`, `SNES_COMPOSITE_MULTIPLICATIVE`, `SNESCompo $(_doc_external("SNES/SNESCompositeSetType")) """ function SNESCompositeSetType(petsclib::PetscLibType, snes::AbstractSNES, type::SNESCompositeType) - error("SNESCompositeSetType: no generated method for these argument types") + throw(MethodError(SNESCompositeSetType, (petsclib, snes, type))) end @for_petsc function SNESCompositeSetType(petsclib::$UnionPetscLib, snes::AbstractSNES, type::SNESCompositeType ) @@ -313,7 +313,7 @@ See also: `SNES`, `SNESSetFunction()`, `SNESGetFunction()`, `SNESComputeMFFuncti $(_doc_external("SNES/SNESComputeFunction")) """ function SNESComputeFunction(petsclib::PetscLibType, snes::AbstractSNES, x::AbstractPetscVec, f::AbstractPetscVec) - error("SNESComputeFunction: no generated method for these argument types") + throw(MethodError(SNESComputeFunction, (petsclib, snes, x, f))) end @for_petsc function SNESComputeFunction(petsclib::$UnionPetscLib, snes::AbstractSNES, x::AbstractPetscVec, f::AbstractPetscVec ) @@ -350,7 +350,7 @@ See also: `SNES`, `SNESSetNPC()`, `SNESApplyNPC()`, `SNESComputeFunction()`, `SN $(_doc_external("SNES/SNESComputeFunctionDefaultNPC")) """ function SNESComputeFunctionDefaultNPC(petsclib::PetscLibType, snes::AbstractSNES, X::AbstractPetscVec, F::AbstractPetscVec) - error("SNESComputeFunctionDefaultNPC: no generated method for these argument types") + throw(MethodError(SNESComputeFunctionDefaultNPC, (petsclib, snes, X, F))) end @for_petsc function SNESComputeFunctionDefaultNPC(petsclib::$UnionPetscLib, snes::AbstractSNES, X::AbstractPetscVec, F::AbstractPetscVec ) @@ -407,7 +407,7 @@ See also: `SNESSetJacobian()`, `KSPSetOperators()`, `MatStructure`, `SNESSetLagP $(_doc_external("SNES/SNESComputeJacobian")) """ function SNESComputeJacobian(petsclib::PetscLibType, snes::AbstractSNES, X::AbstractPetscVec, A::AbstractPetscMat, B::AbstractPetscMat) - error("SNESComputeJacobian: no generated method for these argument types") + throw(MethodError(SNESComputeJacobian, (petsclib, snes, X, A, B))) end @for_petsc function SNESComputeJacobian(petsclib::$UnionPetscLib, snes::AbstractSNES, X::AbstractPetscVec, A::AbstractPetscMat, B::AbstractPetscMat ) @@ -453,7 +453,7 @@ See also: `SNES`, `SNESSetJacobian()`, `SNESComputeJacobianDefaultColor()`, `Mat $(_doc_external("SNES/SNESComputeJacobianDefault")) """ function SNESComputeJacobianDefault(petsclib::PetscLibType, snes::AbstractSNES, x1::AbstractPetscVec, J::AbstractPetscMat, B::AbstractPetscMat, ctx::Ptr{Cvoid}) - error("SNESComputeJacobianDefault: no generated method for these argument types") + throw(MethodError(SNESComputeJacobianDefault, (petsclib, snes, x1, J, B, ctx))) end @for_petsc function SNESComputeJacobianDefault(petsclib::$UnionPetscLib, snes::AbstractSNES, x1::AbstractPetscVec, J::AbstractPetscMat, B::AbstractPetscMat, ctx::Ptr{Cvoid} ) @@ -501,7 +501,7 @@ See also: `SNES`, `SNESSetJacobian()`, `SNESTestJacobian()`, `SNESComputeJacobia $(_doc_external("SNES/SNESComputeJacobianDefaultColor")) """ function SNESComputeJacobianDefaultColor(petsclib::PetscLibType, snes::AbstractSNES, x1::AbstractPetscVec, J::AbstractPetscMat, B::AbstractPetscMat, ctx::Ptr{Cvoid}) - error("SNESComputeJacobianDefaultColor: no generated method for these argument types") + throw(MethodError(SNESComputeJacobianDefaultColor, (petsclib, snes, x1, J, B, ctx))) end @for_petsc function SNESComputeJacobianDefaultColor(petsclib::$UnionPetscLib, snes::AbstractSNES, x1::AbstractPetscVec, J::AbstractPetscMat, B::AbstractPetscMat, ctx::Ptr{Cvoid} ) @@ -538,7 +538,7 @@ See also: `SNES`, `SNESSetFunction()`, `SNESGetFunction()`, `SNESComputeFunction $(_doc_external("SNES/SNESComputeMFFunction")) """ function SNESComputeMFFunction(petsclib::PetscLibType, snes::AbstractSNES, x::AbstractPetscVec, y::AbstractPetscVec) - error("SNESComputeMFFunction: no generated method for these argument types") + throw(MethodError(SNESComputeMFFunction, (petsclib, snes, x, y))) end @for_petsc function SNESComputeMFFunction(petsclib::$UnionPetscLib, snes::AbstractSNES, x::AbstractPetscVec, y::AbstractPetscVec ) @@ -576,7 +576,7 @@ See also: `SNESNGSFn`, `SNESSetNGS()`, `SNESComputeFunction()`, `SNESNGS` $(_doc_external("SNES/SNESComputeNGS")) """ function SNESComputeNGS(petsclib::PetscLibType, snes::AbstractSNES, b::AbstractPetscVec, x::AbstractPetscVec) - error("SNESComputeNGS: no generated method for these argument types") + throw(MethodError(SNESComputeNGS, (petsclib, snes, b, x))) end @for_petsc function SNESComputeNGS(petsclib::$UnionPetscLib, snes::AbstractSNES, b::AbstractPetscVec, x::AbstractPetscVec ) @@ -613,7 +613,7 @@ See also: `SNESLineSearch`, `SNES`, `SNESSetObjective()`, `SNESGetSolution()` $(_doc_external("SNES/SNESComputeObjective")) """ function SNESComputeObjective(petsclib::PetscLibType, snes::AbstractSNES, X::AbstractPetscVec) - error("SNESComputeObjective: no generated method for these argument types") + throw(MethodError(SNESComputeObjective, (petsclib, snes, X))) end @for_petsc function SNESComputeObjective(petsclib::$UnionPetscLib, snes::AbstractSNES, X::AbstractPetscVec ) @@ -652,7 +652,7 @@ See also: `SNES`, `SNESSolve`, `SNESSetConvergenceTest()` $(_doc_external("SNES/SNESConverged")) """ function SNESConverged(petsclib::PetscLibType, snes::AbstractSNES, it::Integer, xnorm::Real, snorm::Real, fnorm::Real) - error("SNESConverged: no generated method for these argument types") + throw(MethodError(SNESConverged, (petsclib, snes, it, xnorm, snorm, fnorm))) end @for_petsc function SNESConverged(petsclib::$UnionPetscLib, snes::AbstractSNES, it::$PetscInt, xnorm::$PetscReal, snorm::$PetscReal, fnorm::$PetscReal ) @@ -697,7 +697,7 @@ See also: `SNES`, `DM`, `SNESConvergedDefault()`, `SNESSetConvergenceTest()`, `D $(_doc_external("SNES/SNESConvergedCorrectPressure")) """ function SNESConvergedCorrectPressure(petsclib::PetscLibType, snes::AbstractSNES, it::Integer, xnorm::Real, gnorm::Real, f::Real, ctx::Ptr{Cvoid}) - error("SNESConvergedCorrectPressure: no generated method for these argument types") + throw(MethodError(SNESConvergedCorrectPressure, (petsclib, snes, it, xnorm, gnorm, f, ctx))) end @for_petsc function SNESConvergedCorrectPressure(petsclib::$UnionPetscLib, snes::AbstractSNES, it::$PetscInt, xnorm::$PetscReal, gnorm::$PetscReal, f::$PetscReal, ctx::Ptr{Cvoid} ) @@ -751,7 +751,7 @@ See also: `SNES`, `SNESSolve()`, `SNESSetConvergenceTest()`, `SNESConvergedSkip( $(_doc_external("SNES/SNESConvergedDefault")) """ function SNESConvergedDefault(petsclib::PetscLibType, snes::AbstractSNES, it::Integer, xnorm::Real, snorm::Real, fnorm::Real, ctx::Ptr{Cvoid}) - error("SNESConvergedDefault: no generated method for these argument types") + throw(MethodError(SNESConvergedDefault, (petsclib, snes, it, xnorm, snorm, fnorm, ctx))) end @for_petsc function SNESConvergedDefault(petsclib::$UnionPetscLib, snes::AbstractSNES, it::$PetscInt, xnorm::$PetscReal, snorm::$PetscReal, fnorm::$PetscReal, ctx::Ptr{Cvoid} ) @@ -794,7 +794,7 @@ See also: `SNESConvergedReason`, `PetscViewer`, `SNES`, $(_doc_external("SNES/SNESConvergedReasonView")) """ function SNESConvergedReasonView(petsclib::PetscLibType, snes::AbstractSNES, viewer::PetscViewer) - error("SNESConvergedReasonView: no generated method for these argument types") + throw(MethodError(SNESConvergedReasonView, (petsclib, snes, viewer))) end @for_petsc function SNESConvergedReasonView(petsclib::$UnionPetscLib, snes::AbstractSNES, viewer::PetscViewer ) @@ -828,7 +828,7 @@ See also: `SNES`, `SNESCreate()`, `SNESDestroy()`, `SNESReset()`, `SNESConverged $(_doc_external("SNES/SNESConvergedReasonViewCancel")) """ function SNESConvergedReasonViewCancel(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESConvergedReasonViewCancel: no generated method for these argument types") + throw(MethodError(SNESConvergedReasonViewCancel, (petsclib, snes))) end @for_petsc function SNESConvergedReasonViewCancel(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -863,7 +863,7 @@ See also: `SNES`, `SNESConvergedReason`, `SNESConvergedReasonViewSet()`, `SNESCr $(_doc_external("SNES/SNESConvergedReasonViewFromOptions")) """ function SNESConvergedReasonViewFromOptions(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESConvergedReasonViewFromOptions: no generated method for these argument types") + throw(MethodError(SNESConvergedReasonViewFromOptions, (petsclib, snes))) end @for_petsc function SNESConvergedReasonViewFromOptions(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -910,7 +910,7 @@ See also: `SNES`, `SNESSolve()`, `SNESConvergedReason`, `SNESGetConvergedReason( $(_doc_external("SNES/SNESConvergedReasonViewSet")) """ function SNESConvergedReasonViewSet(petsclib::PetscLibType, snes::AbstractSNES, f::external, vctx::Ptr{Cvoid}, reasonviewdestroy::Ptr{Cvoid}) - error("SNESConvergedReasonViewSet: no generated method for these argument types") + throw(MethodError(SNESConvergedReasonViewSet, (petsclib, snes, f, vctx, reasonviewdestroy))) end @for_petsc function SNESConvergedReasonViewSet(petsclib::$UnionPetscLib, snes::AbstractSNES, f::external, vctx::Ptr{Cvoid}, reasonviewdestroy::Ptr{Cvoid} ) @@ -955,7 +955,7 @@ See also: `SNES`, `SNESSolve()`, `SNESConvergedDefault()`, `SNESSetConvergenceTe $(_doc_external("SNES/SNESConvergedSkip")) """ function SNESConvergedSkip(petsclib::PetscLibType, snes::AbstractSNES, it::Integer, xnorm::Real, snorm::Real, fnorm::Real, ctx::Ptr{Cvoid}) - error("SNESConvergedSkip: no generated method for these argument types") + throw(MethodError(SNESConvergedSkip, (petsclib, snes, it, xnorm, snorm, fnorm, ctx))) end @for_petsc function SNESConvergedSkip(petsclib::$UnionPetscLib, snes::AbstractSNES, it::$PetscInt, xnorm::$PetscReal, snorm::$PetscReal, fnorm::$PetscReal, ctx::Ptr{Cvoid} ) @@ -999,7 +999,7 @@ See also: `SNES`, `SNESSolve()`, `SNESDestroy()`, `SNESSetLagPreconditioner()`, $(_doc_external("SNES/SNESCreate")) """ function SNESCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("SNESCreate: no generated method for these argument types") + throw(MethodError(SNESCreate, (petsclib, comm))) end @for_petsc function SNESCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -1035,7 +1035,7 @@ See also: `SNES`, `SNESCreate()`, `SNESSolve()` $(_doc_external("SNES/SNESDestroy")) """ function SNESDestroy(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESDestroy: no generated method for these argument types") + throw(MethodError(SNESDestroy, (petsclib, snes))) end @for_petsc function SNESDestroy(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -1073,7 +1073,7 @@ See also: `SNESFASSetRestriction()`, `SNESFASRestrict()`, `SNESFAS` $(_doc_external("SNESFAS/SNESFASCreateCoarseVec")) """ function SNESFASCreateCoarseVec(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESFASCreateCoarseVec: no generated method for these argument types") + throw(MethodError(SNESFASCreateCoarseVec, (petsclib, snes))) end @for_petsc function SNESFASCreateCoarseVec(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -1111,7 +1111,7 @@ See also: `SNES`, `SNESFAS`, `SNESFASCycleGetSmootherUp()`, `SNESFASCycleGetSmoo $(_doc_external("SNESFAS/SNESFASCycleGetCorrection")) """ function SNESFASCycleGetCorrection(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESFASCycleGetCorrection: no generated method for these argument types") + throw(MethodError(SNESFASCycleGetCorrection, (petsclib, snes))) end @for_petsc function SNESFASCycleGetCorrection(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -1149,7 +1149,7 @@ See also: `SNES`, `SNESFAS`, `SNESFASGetInjection()`, `SNESFASCycleGetRestrictio $(_doc_external("SNESFAS/SNESFASCycleGetInjection")) """ function SNESFASCycleGetInjection(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESFASCycleGetInjection: no generated method for these argument types") + throw(MethodError(SNESFASCycleGetInjection, (petsclib, snes))) end @for_petsc function SNESFASCycleGetInjection(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -1187,7 +1187,7 @@ See also: `SNES`, `SNESFAS`, `SNESFASCycleGetSmootherUp()`, `SNESFASCycleGetSmoo $(_doc_external("SNESFAS/SNESFASCycleGetInterpolation")) """ function SNESFASCycleGetInterpolation(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESFASCycleGetInterpolation: no generated method for these argument types") + throw(MethodError(SNESFASCycleGetInterpolation, (petsclib, snes))) end @for_petsc function SNESFASCycleGetInterpolation(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -1225,7 +1225,7 @@ See also: `SNES`, `SNESFAS`, `SNESFASCycleGetRestriction()`, `SNESFASGetRScale() $(_doc_external("SNESFAS/SNESFASCycleGetRScale")) """ function SNESFASCycleGetRScale(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESFASCycleGetRScale: no generated method for these argument types") + throw(MethodError(SNESFASCycleGetRScale, (petsclib, snes))) end @for_petsc function SNESFASCycleGetRScale(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -1263,7 +1263,7 @@ See also: `SNES`, `SNESFAS`, `SNESFASGetRestriction()`, `SNESFASCycleGetInterpol $(_doc_external("SNESFAS/SNESFASCycleGetRestriction")) """ function SNESFASCycleGetRestriction(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESFASCycleGetRestriction: no generated method for these argument types") + throw(MethodError(SNESFASCycleGetRestriction, (petsclib, snes))) end @for_petsc function SNESFASCycleGetRestriction(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -1301,7 +1301,7 @@ See also: `SNES`, `SNESFAS`, `SNESFASCycleGetSmootherUp()`, `SNESFASCycleGetSmoo $(_doc_external("SNESFAS/SNESFASCycleGetSmoother")) """ function SNESFASCycleGetSmoother(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESFASCycleGetSmoother: no generated method for these argument types") + throw(MethodError(SNESFASCycleGetSmoother, (petsclib, snes))) end @for_petsc function SNESFASCycleGetSmoother(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -1339,7 +1339,7 @@ See also: `SNES`, `SNESFAS`, `SNESFASCycleGetSmootherUp()`, `SNESFASCycleGetSmoo $(_doc_external("SNESFAS/SNESFASCycleGetSmootherDown")) """ function SNESFASCycleGetSmootherDown(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESFASCycleGetSmootherDown: no generated method for these argument types") + throw(MethodError(SNESFASCycleGetSmootherDown, (petsclib, snes))) end @for_petsc function SNESFASCycleGetSmootherDown(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -1377,7 +1377,7 @@ See also: `SNES`, `SNESFAS`, `SNESFASCycleGetSmoother()`, `SNESFASCycleGetSmooth $(_doc_external("SNESFAS/SNESFASCycleGetSmootherUp")) """ function SNESFASCycleGetSmootherUp(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESFASCycleGetSmootherUp: no generated method for these argument types") + throw(MethodError(SNESFASCycleGetSmootherUp, (petsclib, snes))) end @for_petsc function SNESFASCycleGetSmootherUp(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -1415,7 +1415,7 @@ See also: `SNES`, `SNESFAS`, `SNESFASSetLevels()` $(_doc_external("SNESFAS/SNESFASCycleIsFine")) """ function SNESFASCycleIsFine(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESFASCycleIsFine: no generated method for these argument types") + throw(MethodError(SNESFASCycleIsFine, (petsclib, snes))) end @for_petsc function SNESFASCycleIsFine(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -1451,7 +1451,7 @@ See also: `SNES`, `SNESFAS`, `SNESFASSetCycles()` $(_doc_external("SNESFAS/SNESFASCycleSetCycles")) """ function SNESFASCycleSetCycles(petsclib::PetscLibType, snes::AbstractSNES, cycles::Integer) - error("SNESFASCycleSetCycles: no generated method for these argument types") + throw(MethodError(SNESFASCycleSetCycles, (petsclib, snes, cycles))) end @for_petsc function SNESFASCycleSetCycles(petsclib::$UnionPetscLib, snes::AbstractSNES, cycles::$PetscInt ) @@ -1487,7 +1487,7 @@ See also: `SNES`, `SNESFAS`, `SNESFASSetNumberSmoothUp()`, `DMInterpolateSolutio $(_doc_external("SNESFAS/SNESFASFullGetTotal")) """ function SNESFASFullGetTotal(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESFASFullGetTotal: no generated method for these argument types") + throw(MethodError(SNESFASFullGetTotal, (petsclib, snes))) end @for_petsc function SNESFASFullGetTotal(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -1526,7 +1526,7 @@ See also: `SNES`, `SNESFAS`, `SNESFASSetNumberSmoothUp()` $(_doc_external("SNESFAS/SNESFASFullSetDownSweep")) """ function SNESFASFullSetDownSweep(petsclib::PetscLibType, snes::AbstractSNES, swp::PetscBool) - error("SNESFASFullSetDownSweep: no generated method for these argument types") + throw(MethodError(SNESFASFullSetDownSweep, (petsclib, snes, swp))) end @for_petsc function SNESFASFullSetDownSweep(petsclib::$UnionPetscLib, snes::AbstractSNES, swp::PetscBool ) @@ -1563,7 +1563,7 @@ See also: `SNES`, `SNESFAS`, `SNESFASSetNumberSmoothUp()`, `DMInterpolateSolutio $(_doc_external("SNESFAS/SNESFASFullSetTotal")) """ function SNESFASFullSetTotal(petsclib::PetscLibType, snes::AbstractSNES, total::PetscBool) - error("SNESFASFullSetTotal: no generated method for these argument types") + throw(MethodError(SNESFASFullSetTotal, (petsclib, snes, total))) end @for_petsc function SNESFASFullSetTotal(petsclib::$UnionPetscLib, snes::AbstractSNES, total::PetscBool ) @@ -1601,7 +1601,7 @@ See also: `SNES`, `SNESFAS`, `SNESFASGetGalerkin()`, `SNESFASSetGalerkin()` $(_doc_external("SNESFAS/SNESFASGalerkinFunctionDefault")) """ function SNESFASGalerkinFunctionDefault(petsclib::PetscLibType, snes::AbstractSNES, X::AbstractPetscVec, F::AbstractPetscVec, ctx::Ptr{Cvoid}) - error("SNESFASGalerkinFunctionDefault: no generated method for these argument types") + throw(MethodError(SNESFASGalerkinFunctionDefault, (petsclib, snes, X, F, ctx))) end @for_petsc function SNESFASGalerkinFunctionDefault(petsclib::$UnionPetscLib, snes::AbstractSNES, X::AbstractPetscVec, F::AbstractPetscVec, ctx::Ptr{Cvoid} ) @@ -1635,7 +1635,7 @@ See also: `SNES`, `SNESFAS`, `SNESFASSetInjection()`, `SNESFASSetRestriction()` $(_doc_external("SNESFAS/SNESFASGetCoarseSolve")) """ function SNESFASGetCoarseSolve(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESFASGetCoarseSolve: no generated method for these argument types") + throw(MethodError(SNESFASGetCoarseSolve, (petsclib, snes))) end @for_petsc function SNESFASGetCoarseSolve(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -1672,7 +1672,7 @@ See also: `SNES`, `SNESFAS`, `SNESFASSetLevels()`, `SNESFASGetLevels()` $(_doc_external("SNESFAS/SNESFASGetCycleSNES")) """ function SNESFASGetCycleSNES(petsclib::PetscLibType, snes::AbstractSNES, level::Integer) - error("SNESFASGetCycleSNES: no generated method for these argument types") + throw(MethodError(SNESFASGetCycleSNES, (petsclib, snes, level))) end @for_petsc function SNESFASGetCycleSNES(petsclib::$UnionPetscLib, snes::AbstractSNES, level::$PetscInt ) @@ -1710,7 +1710,7 @@ See also: `SNES`, `SNESFAS`, `SNESFASSetLevels()`, `SNESFASSetGalerkin()` $(_doc_external("SNESFAS/SNESFASGetGalerkin")) """ function SNESFASGetGalerkin(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESFASGetGalerkin: no generated method for these argument types") + throw(MethodError(SNESFASGetGalerkin, (petsclib, snes))) end @for_petsc function SNESFASGetGalerkin(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -1748,7 +1748,7 @@ See also: `SNES`, `SNESFAS`, `SNESFASSetInjection()`, `SNESFASGetRestriction()`, $(_doc_external("SNESFAS/SNESFASGetInjection")) """ function SNESFASGetInjection(petsclib::PetscLibType, snes::AbstractSNES, level::Integer) - error("SNESFASGetInjection: no generated method for these argument types") + throw(MethodError(SNESFASGetInjection, (petsclib, snes, level))) end @for_petsc function SNESFASGetInjection(petsclib::$UnionPetscLib, snes::AbstractSNES, level::$PetscInt ) @@ -1786,7 +1786,7 @@ See also: `SNES`, `SNESFAS`, `SNESFASSetInterpolation()`, `SNESFASGetInjection() $(_doc_external("SNESFAS/SNESFASGetInterpolation")) """ function SNESFASGetInterpolation(petsclib::PetscLibType, snes::AbstractSNES, level::Integer) - error("SNESFASGetInterpolation: no generated method for these argument types") + throw(MethodError(SNESFASGetInterpolation, (petsclib, snes, level))) end @for_petsc function SNESFASGetInterpolation(petsclib::$UnionPetscLib, snes::AbstractSNES, level::$PetscInt ) @@ -1822,7 +1822,7 @@ See also: `SNES`, `SNESFAS`, `SNESFASSetLevels()`, `PCMGGetLevels()` $(_doc_external("SNESFAS/SNESFASGetLevels")) """ function SNESFASGetLevels(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESFASGetLevels: no generated method for these argument types") + throw(MethodError(SNESFASGetLevels, (petsclib, snes))) end @for_petsc function SNESFASGetLevels(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -1860,7 +1860,7 @@ See also: `SNES`, `SNESFAS`, `SNESFASSetRestriction()`, `SNESFASGetInjection()`, $(_doc_external("SNESFAS/SNESFASGetRestriction")) """ function SNESFASGetRestriction(petsclib::PetscLibType, snes::AbstractSNES, level::Integer) - error("SNESFASGetRestriction: no generated method for these argument types") + throw(MethodError(SNESFASGetRestriction, (petsclib, snes, level))) end @for_petsc function SNESFASGetRestriction(petsclib::$UnionPetscLib, snes::AbstractSNES, level::$PetscInt ) @@ -1897,7 +1897,7 @@ See also: `SNES`, `SNESFAS`, `SNESFASSetInjection()`, `SNESFASSetRestriction()` $(_doc_external("SNESFAS/SNESFASGetSmoother")) """ function SNESFASGetSmoother(petsclib::PetscLibType, snes::AbstractSNES, level::Integer) - error("SNESFASGetSmoother: no generated method for these argument types") + throw(MethodError(SNESFASGetSmoother, (petsclib, snes, level))) end @for_petsc function SNESFASGetSmoother(petsclib::$UnionPetscLib, snes::AbstractSNES, level::$PetscInt ) @@ -1934,7 +1934,7 @@ See also: `SNES`, `SNESFAS`, `SNESFASSetInjection()`, `SNESFASSetRestriction()` $(_doc_external("SNESFAS/SNESFASGetSmootherDown")) """ function SNESFASGetSmootherDown(petsclib::PetscLibType, snes::AbstractSNES, level::Integer) - error("SNESFASGetSmootherDown: no generated method for these argument types") + throw(MethodError(SNESFASGetSmootherDown, (petsclib, snes, level))) end @for_petsc function SNESFASGetSmootherDown(petsclib::$UnionPetscLib, snes::AbstractSNES, level::$PetscInt ) @@ -1971,7 +1971,7 @@ See also: `SNES`, `SNESFAS`, `SNESFASSetInjection()`, `SNESFASSetRestriction()` $(_doc_external("SNESFAS/SNESFASGetSmootherUp")) """ function SNESFASGetSmootherUp(petsclib::PetscLibType, snes::AbstractSNES, level::Integer) - error("SNESFASGetSmootherUp: no generated method for these argument types") + throw(MethodError(SNESFASGetSmootherUp, (petsclib, snes, level))) end @for_petsc function SNESFASGetSmootherUp(petsclib::$UnionPetscLib, snes::AbstractSNES, level::$PetscInt ) @@ -2009,7 +2009,7 @@ See also: `SNES`, `SNESFAS`, `PCMGSetType()`, `SNESFASSetType()`, `SNES_FAS_ADDI $(_doc_external("SNESFAS/SNESFASGetType")) """ function SNESFASGetType(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESFASGetType: no generated method for these argument types") + throw(MethodError(SNESFASGetType, (petsclib, snes))) end @for_petsc function SNESFASGetType(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -2048,7 +2048,7 @@ See also: `SNES`, `SNESFAS`, `SNESFASSetRestriction()`, `SNESFASSetInjection()`, $(_doc_external("SNESFAS/SNESFASRestrict")) """ function SNESFASRestrict(petsclib::PetscLibType, fine::AbstractSNES, Xfine::AbstractPetscVec, Xcoarse::AbstractPetscVec) - error("SNESFASRestrict: no generated method for these argument types") + throw(MethodError(SNESFASRestrict, (petsclib, fine, Xfine, Xcoarse))) end @for_petsc function SNESFASRestrict(petsclib::$UnionPetscLib, fine::AbstractSNES, Xfine::AbstractPetscVec, Xcoarse::AbstractPetscVec ) @@ -2085,7 +2085,7 @@ See also: `SNES`, `SNESFAS`, `SNESFASSetNumberSmoothUp()` $(_doc_external("SNESFAS/SNESFASSetContinuation")) """ function SNESFASSetContinuation(petsclib::PetscLibType, snes::AbstractSNES, continuation::PetscBool) - error("SNESFASSetContinuation: no generated method for these argument types") + throw(MethodError(SNESFASSetContinuation, (petsclib, snes, continuation))) end @for_petsc function SNESFASSetContinuation(petsclib::$UnionPetscLib, snes::AbstractSNES, continuation::PetscBool ) @@ -2123,7 +2123,7 @@ See also: `SNES`, `SNESFAS`, `SNESFASSetCyclesOnLevel()` $(_doc_external("SNESFAS/SNESFASSetCycles")) """ function SNESFASSetCycles(petsclib::PetscLibType, snes::AbstractSNES, cycles::Integer) - error("SNESFASSetCycles: no generated method for these argument types") + throw(MethodError(SNESFASSetCycles, (petsclib, snes, cycles))) end @for_petsc function SNESFASSetCycles(petsclib::$UnionPetscLib, snes::AbstractSNES, cycles::$PetscInt ) @@ -2157,7 +2157,7 @@ See also: `SNES`, `SNESFAS`, `SNESFASSetLevels()`, `SNESFASGetGalerkin()` $(_doc_external("SNESFAS/SNESFASSetGalerkin")) """ function SNESFASSetGalerkin(petsclib::PetscLibType, snes::AbstractSNES, flg::PetscBool) - error("SNESFASSetGalerkin: no generated method for these argument types") + throw(MethodError(SNESFASSetGalerkin, (petsclib, snes, flg))) end @for_petsc function SNESFASSetGalerkin(petsclib::$UnionPetscLib, snes::AbstractSNES, flg::PetscBool ) @@ -2191,7 +2191,7 @@ See also: `SNES`, `SNESFAS`, `SNESFASSetInterpolation()`, `SNESFASSetRestriction $(_doc_external("SNESFAS/SNESFASSetInjection")) """ function SNESFASSetInjection(petsclib::PetscLibType, snes::AbstractSNES, level::Integer, mat::AbstractPetscMat) - error("SNESFASSetInjection: no generated method for these argument types") + throw(MethodError(SNESFASSetInjection, (petsclib, snes, level, mat))) end @for_petsc function SNESFASSetInjection(petsclib::$UnionPetscLib, snes::AbstractSNES, level::$PetscInt, mat::AbstractPetscMat ) @@ -2225,7 +2225,7 @@ See also: `SNES`, `SNESFAS`, `SNESFASSetInjection()`, `SNESFASSetRestriction()`, $(_doc_external("SNESFAS/SNESFASSetInterpolation")) """ function SNESFASSetInterpolation(petsclib::PetscLibType, snes::AbstractSNES, level::Integer, mat::AbstractPetscMat) - error("SNESFASSetInterpolation: no generated method for these argument types") + throw(MethodError(SNESFASSetInterpolation, (petsclib, snes, level, mat))) end @for_petsc function SNESFASSetInterpolation(petsclib::$UnionPetscLib, snes::AbstractSNES, level::$PetscInt, mat::AbstractPetscMat ) @@ -2260,7 +2260,7 @@ See also: `SNES`, `SNESFAS`, `SNESFASGetLevels()` $(_doc_external("SNESFAS/SNESFASSetLevels")) """ function SNESFASSetLevels(petsclib::PetscLibType, snes::AbstractSNES, levels::Integer) - error("SNESFASSetLevels: no generated method for these argument types") + throw(MethodError(SNESFASSetLevels, (petsclib, snes, levels))) end @for_petsc function SNESFASSetLevels(petsclib::$UnionPetscLib, snes::AbstractSNES, levels::$PetscInt ) @@ -2296,7 +2296,7 @@ See also: `SNES`, `SNESFAS`, `SNESFASSetMonitor()` $(_doc_external("SNESFAS/SNESFASSetLog")) """ function SNESFASSetLog(petsclib::PetscLibType, snes::AbstractSNES, flg::PetscBool) - error("SNESFASSetLog: no generated method for these argument types") + throw(MethodError(SNESFASSetLog, (petsclib, snes, flg))) end @for_petsc function SNESFASSetLog(petsclib::$UnionPetscLib, snes::AbstractSNES, flg::PetscBool ) @@ -2331,7 +2331,7 @@ See also: `SNES`, `SNESFAS`, `SNESMonitorSet()`, `SNESFASSetCyclesOnLevel()` $(_doc_external("SNESFAS/SNESFASSetMonitor")) """ function SNESFASSetMonitor(petsclib::PetscLibType, snes::AbstractSNES, vf::Vector{PetscViewerAndFormat}, flg::PetscBool) - error("SNESFASSetMonitor: no generated method for these argument types") + throw(MethodError(SNESFASSetMonitor, (petsclib, snes, vf, flg))) end @for_petsc function SNESFASSetMonitor(petsclib::$UnionPetscLib, snes::AbstractSNES, vf::Vector{PetscViewerAndFormat}, flg::PetscBool ) @@ -2369,7 +2369,7 @@ See also: `SNES`, `SNESFAS`, `SNESFASSetNumberSmoothUp()` $(_doc_external("SNESFAS/SNESFASSetNumberSmoothDown")) """ function SNESFASSetNumberSmoothDown(petsclib::PetscLibType, snes::AbstractSNES, n::Integer) - error("SNESFASSetNumberSmoothDown: no generated method for these argument types") + throw(MethodError(SNESFASSetNumberSmoothDown, (petsclib, snes, n))) end @for_petsc function SNESFASSetNumberSmoothDown(petsclib::$UnionPetscLib, snes::AbstractSNES, n::$PetscInt ) @@ -2407,7 +2407,7 @@ See also: `SNES`, `SNESFAS`, `SNESFASSetNumberSmoothDown()` $(_doc_external("SNESFAS/SNESFASSetNumberSmoothUp")) """ function SNESFASSetNumberSmoothUp(petsclib::PetscLibType, snes::AbstractSNES, n::Integer) - error("SNESFASSetNumberSmoothUp: no generated method for these argument types") + throw(MethodError(SNESFASSetNumberSmoothUp, (petsclib, snes, n))) end @for_petsc function SNESFASSetNumberSmoothUp(petsclib::$UnionPetscLib, snes::AbstractSNES, n::$PetscInt ) @@ -2441,7 +2441,7 @@ See also: `SNES`, `SNESFAS`, `SNESFASSetInjection()`, `SNESFASSetRestriction()` $(_doc_external("SNESFAS/SNESFASSetRScale")) """ function SNESFASSetRScale(petsclib::PetscLibType, snes::AbstractSNES, level::Integer, rscale::AbstractPetscVec) - error("SNESFASSetRScale: no generated method for these argument types") + throw(MethodError(SNESFASSetRScale, (petsclib, snes, level, rscale))) end @for_petsc function SNESFASSetRScale(petsclib::$UnionPetscLib, snes::AbstractSNES, level::$PetscInt, rscale::AbstractPetscVec ) @@ -2475,7 +2475,7 @@ See also: `SNES`, `SNESFAS`, `SNESFASSetInterpolation()`, `SNESFASSetInjection() $(_doc_external("SNESFAS/SNESFASSetRestriction")) """ function SNESFASSetRestriction(petsclib::PetscLibType, snes::AbstractSNES, level::Integer, mat::AbstractPetscMat) - error("SNESFASSetRestriction: no generated method for these argument types") + throw(MethodError(SNESFASSetRestriction, (petsclib, snes, level, mat))) end @for_petsc function SNESFASSetRestriction(petsclib::$UnionPetscLib, snes::AbstractSNES, level::$PetscInt, mat::AbstractPetscMat ) @@ -2509,7 +2509,7 @@ See also: `SNES`, `SNESFAS`, `PCMGSetType()`, `SNESFASGetType()`, `SNES_FAS_ADDI $(_doc_external("SNESFAS/SNESFASSetType")) """ function SNESFASSetType(petsclib::PetscLibType, snes::AbstractSNES, fastype::SNESFASType) - error("SNESFASSetType: no generated method for these argument types") + throw(MethodError(SNESFASSetType, (petsclib, snes, fastype))) end @for_petsc function SNESFASSetType(petsclib::$UnionPetscLib, snes::AbstractSNES, fastype::SNESFASType ) @@ -2538,7 +2538,7 @@ See also: `SNES`, `PetscFinalize()` $(_doc_external("SNES/SNESFinalizePackage")) """ function SNESFinalizePackage(petsclib::PetscLibType) - error("SNESFinalizePackage: no generated method for these argument types") + throw(MethodError(SNESFinalizePackage, (petsclib, ))) end @for_petsc function SNESFinalizePackage(petsclib::$UnionPetscLib) @@ -2573,7 +2573,7 @@ See also: `SNES`, `SNESFAS`, `SNESSolve()`, `SNESSetAlwaysComputesFinalResidual( $(_doc_external("SNES/SNESGetAlwaysComputesFinalResidual")) """ function SNESGetAlwaysComputesFinalResidual(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESGetAlwaysComputesFinalResidual: no generated method for these argument types") + throw(MethodError(SNESGetAlwaysComputesFinalResidual, (petsclib, snes))) end @for_petsc function SNESGetAlwaysComputesFinalResidual(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -2612,7 +2612,7 @@ See also: `SNESSetApplicationContext()`, `SNESSetComputeApplicationContext()` $(_doc_external("SNES/SNESGetApplicationContext")) """ function SNESGetApplicationContext(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESGetApplicationContext: no generated method for these argument types") + throw(MethodError(SNESGetApplicationContext, (petsclib, snes))) end @for_petsc function SNESGetApplicationContext(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -2650,7 +2650,7 @@ See also: `SNES`, `SNESCreate()`, `SNESSetFunction()`, `SNESFunctionFn`, `SNESSe $(_doc_external("SNES/SNESGetCheckJacobianDomainError")) """ function SNESGetCheckJacobianDomainError(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESGetCheckJacobianDomainError: no generated method for these argument types") + throw(MethodError(SNESGetCheckJacobianDomainError, (petsclib, snes))) end @for_petsc function SNESGetCheckJacobianDomainError(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -2691,7 +2691,7 @@ See also: `SNESSolve()`, `SNESSetConvergenceTest()`, `SNESSetConvergedReason()`, $(_doc_external("SNES/SNESGetConvergedReason")) """ function SNESGetConvergedReason(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESGetConvergedReason: no generated method for these argument types") + throw(MethodError(SNESGetConvergedReason, (petsclib, snes))) end @for_petsc function SNESGetConvergedReason(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -2729,7 +2729,7 @@ See also: `SNES`, `SNESGetConvergedReason()` $(_doc_external("SNES/SNESGetConvergedReasonString")) """ function SNESGetConvergedReasonString(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESGetConvergedReasonString: no generated method for these argument types") + throw(MethodError(SNESGetConvergedReasonString, (petsclib, snes))) end @for_petsc function SNESGetConvergedReasonString(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -2770,7 +2770,7 @@ See also: `SNES`, `SNESSolve()`, `SNESSetConvergenceHistory()` $(_doc_external("SNES/SNESGetConvergenceHistory")) """ function SNESGetConvergenceHistory(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESGetConvergenceHistory: no generated method for these argument types") + throw(MethodError(SNESGetConvergenceHistory, (petsclib, snes))) end @for_petsc function SNESGetConvergenceHistory(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -2812,7 +2812,7 @@ See also: `DM`, `SNES`, `SNESSetDM()`, `KSPSetDM()`, `KSPGetDM()` $(_doc_external("SNES/SNESGetDM")) """ function SNESGetDM(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESGetDM: no generated method for these argument types") + throw(MethodError(SNESGetDM, (petsclib, snes))) end @for_petsc function SNESGetDM(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -2848,7 +2848,7 @@ See also: `SNES`, `SNESSetDivergenceTolerance()` $(_doc_external("SNES/SNESGetDivergenceTolerance")) """ function SNESGetDivergenceTolerance(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESGetDivergenceTolerance: no generated method for these argument types") + throw(MethodError(SNESGetDivergenceTolerance, (petsclib, snes))) end @for_petsc function SNESGetDivergenceTolerance(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -2886,7 +2886,7 @@ See also: `SNES`, `SNESSolve()`, `SNESSetErrorIfNotConverged()`, `KSPGetErrorIfN $(_doc_external("SNES/SNESGetErrorIfNotConverged")) """ function SNESGetErrorIfNotConverged(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESGetErrorIfNotConverged: no generated method for these argument types") + throw(MethodError(SNESGetErrorIfNotConverged, (petsclib, snes))) end @for_petsc function SNESGetErrorIfNotConverged(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -2924,7 +2924,7 @@ See also: `SNES`, `SNESSetForceIteration()`, `SNESSetDivergenceTolerance()` $(_doc_external("SNES/SNESGetForceIteration")) """ function SNESGetForceIteration(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESGetForceIteration: no generated method for these argument types") + throw(MethodError(SNESGetForceIteration, (petsclib, snes))) end @for_petsc function SNESGetForceIteration(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -2964,7 +2964,7 @@ See also: `SNES`, `SNESSolve()`, `SNESSetFunction()`, `SNESGetSolution()`, `SNES $(_doc_external("SNES/SNESGetFunction")) """ function SNESGetFunction(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESGetFunction: no generated method for these argument types") + throw(MethodError(SNESGetFunction, (petsclib, snes))) end @for_petsc function SNESGetFunction(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -3006,7 +3006,7 @@ See also: `SNES`, `SNESSetNormSchedule()`, `SNESComputeFunction()`, `VecNorm()`, $(_doc_external("SNES/SNESGetFunctionNorm")) """ function SNESGetFunctionNorm(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESGetFunctionNorm: no generated method for these argument types") + throw(MethodError(SNESGetFunctionNorm, (petsclib, snes))) end @for_petsc function SNESGetFunctionNorm(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -3043,7 +3043,7 @@ See also: `SNESSetFunctionType()`, `SNESFunctionType`, `SNESSetNormSchedule()`, $(_doc_external("SNES/SNESGetFunctionType")) """ function SNESGetFunctionType(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESGetFunctionType: no generated method for these argument types") + throw(MethodError(SNESGetFunctionType, (petsclib, snes))) end @for_petsc function SNESGetFunctionType(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -3081,7 +3081,7 @@ See also: `SNESGetLagPreconditioner()`, `SNESSetLagJacobian()`, `SNESGetLagJacob $(_doc_external("SNES/SNESGetGridSequence")) """ function SNESGetGridSequence(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESGetGridSequence: no generated method for these argument types") + throw(MethodError(SNESGetGridSequence, (petsclib, snes))) end @for_petsc function SNESGetGridSequence(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -3119,7 +3119,7 @@ See also: `SNES`, `SNESSolve()`, `SNESSetLagJacobian()`, `SNESGetLinearSolveIter $(_doc_external("SNES/SNESGetIterationNumber")) """ function SNESGetIterationNumber(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESGetIterationNumber: no generated method for these argument types") + throw(MethodError(SNESGetIterationNumber, (petsclib, snes))) end @for_petsc function SNESGetIterationNumber(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -3161,7 +3161,7 @@ See also: `SNES`, `Mat`, `SNESSetJacobian()`, `SNESComputeJacobian()`, `SNESJaco $(_doc_external("SNES/SNESGetJacobian")) """ function SNESGetJacobian(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESGetJacobian: no generated method for these argument types") + throw(MethodError(SNESGetJacobian, (petsclib, snes))) end @for_petsc function SNESGetJacobian(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -3205,7 +3205,7 @@ See also: `SNES`, `KSP`, `PC`, `KSPGetPC()`, `SNESCreate()`, `KSPCreate()`, `SNE $(_doc_external("SNES/SNESGetKSP")) """ function SNESGetKSP(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESGetKSP: no generated method for these argument types") + throw(MethodError(SNESGetKSP, (petsclib, snes))) end @for_petsc function SNESGetKSP(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -3244,7 +3244,7 @@ See also: `SNES`, `SNESSetLagJacobian()`, `SNESSetLagPreconditioner()`, `SNESGet $(_doc_external("SNES/SNESGetLagJacobian")) """ function SNESGetLagJacobian(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESGetLagJacobian: no generated method for these argument types") + throw(MethodError(SNESGetLagJacobian, (petsclib, snes))) end @for_petsc function SNESGetLagJacobian(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -3283,7 +3283,7 @@ See also: `SNES`, `SNESSetLagPreconditioner()`, `SNESSetLagJacobianPersists()`, $(_doc_external("SNES/SNESGetLagPreconditioner")) """ function SNESGetLagPreconditioner(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESGetLagPreconditioner: no generated method for these argument types") + throw(MethodError(SNESGetLagPreconditioner, (petsclib, snes))) end @for_petsc function SNESGetLagPreconditioner(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -3321,7 +3321,7 @@ See also: `SNESLineSearch`, `SNESSetLineSearch()`, `SNESLineSearchCreate()`, `SN $(_doc_external("SNES/SNESGetLineSearch")) """ function SNESGetLineSearch(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESGetLineSearch: no generated method for these argument types") + throw(MethodError(SNESGetLineSearch, (petsclib, snes))) end @for_petsc function SNESGetLineSearch(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -3363,7 +3363,7 @@ See also: `SNESGetMaxLinearSolveFailures()`, `SNESGetLinearSolveIterations()`, ` $(_doc_external("SNES/SNESGetLinearSolveFailures")) """ function SNESGetLinearSolveFailures(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESGetLinearSolveFailures: no generated method for these argument types") + throw(MethodError(SNESGetLinearSolveFailures, (petsclib, snes))) end @for_petsc function SNESGetLinearSolveFailures(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -3402,7 +3402,7 @@ See also: `SNES`, `SNESGetIterationNumber()`, `SNESGetLinearSolveFailures()`, `S $(_doc_external("SNES/SNESGetLinearSolveIterations")) """ function SNESGetLinearSolveIterations(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESGetLinearSolveIterations: no generated method for these argument types") + throw(MethodError(SNESGetLinearSolveIterations, (petsclib, snes))) end @for_petsc function SNESGetLinearSolveIterations(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -3441,7 +3441,7 @@ See also: `SNESSetErrorIfNotConverged()`, `SNESGetLinearSolveFailures()`, `SNESG $(_doc_external("SNES/SNESGetMaxLinearSolveFailures")) """ function SNESGetMaxLinearSolveFailures(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESGetMaxLinearSolveFailures: no generated method for these argument types") + throw(MethodError(SNESGetMaxLinearSolveFailures, (petsclib, snes))) end @for_petsc function SNESGetMaxLinearSolveFailures(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -3481,7 +3481,7 @@ See also: `SNESSetErrorIfNotConverged()`, `SNESGetMaxLinearSolveFailures()`, `SN $(_doc_external("SNES/SNESGetMaxNonlinearStepFailures")) """ function SNESGetMaxNonlinearStepFailures(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESGetMaxNonlinearStepFailures: no generated method for these argument types") + throw(MethodError(SNESGetMaxNonlinearStepFailures, (petsclib, snes))) end @for_petsc function SNESGetMaxNonlinearStepFailures(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -3518,7 +3518,7 @@ See also: `SNESSetNGS()`, `SNESGetFunction()`, `SNESNGSFn` $(_doc_external("SNES/SNESGetNGS")) """ function SNESGetNGS(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESGetNGS: no generated method for these argument types") + throw(MethodError(SNESGetNGS, (petsclib, snes))) end @for_petsc function SNESGetNGS(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -3561,7 +3561,7 @@ See also: `SNESSetNPC()`, `SNESHasNPC()`, `SNES`, `SNESCreate()` $(_doc_external("SNES/SNESGetNPC")) """ function SNESGetNPC(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESGetNPC: no generated method for these argument types") + throw(MethodError(SNESGetNPC, (petsclib, snes))) end @for_petsc function SNESGetNPC(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -3601,7 +3601,7 @@ See also: `SNES`, `SNESGetNPC()`, `SNESSetNPC()`, `SNESComputeFunction()`, `SNES $(_doc_external("SNES/SNESGetNPCFunction")) """ function SNESGetNPCFunction(petsclib::PetscLibType, snes::AbstractSNES, F::AbstractPetscVec) - error("SNESGetNPCFunction: no generated method for these argument types") + throw(MethodError(SNESGetNPCFunction, (petsclib, snes, F))) end @for_petsc function SNESGetNPCFunction(petsclib::$UnionPetscLib, snes::AbstractSNES, F::AbstractPetscVec ) @@ -3643,7 +3643,7 @@ See also: `SNES`, `SNESGetNPC()`, `SNESSetNPCSide()`, `KSPGetPCSide()`, `PC_LEFT $(_doc_external("SNES/SNESGetNPCSide")) """ function SNESGetNPCSide(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESGetNPCSide: no generated method for these argument types") + throw(MethodError(SNESGetNPCSide, (petsclib, snes))) end @for_petsc function SNESGetNPCSide(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -3683,7 +3683,7 @@ See also: `SNES`, `SNESGetMaxLinearSolveFailures()`, `SNESGetLinearSolveIteratio $(_doc_external("SNES/SNESGetNonlinearStepFailures")) """ function SNESGetNonlinearStepFailures(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESGetNonlinearStepFailures: no generated method for these argument types") + throw(MethodError(SNESGetNonlinearStepFailures, (petsclib, snes))) end @for_petsc function SNESGetNonlinearStepFailures(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -3720,7 +3720,7 @@ See also: `SNES`, `SNESSetNormSchedule()`, `SNESComputeFunction()`, `VecNorm()`, $(_doc_external("SNES/SNESGetNormSchedule")) """ function SNESGetNormSchedule(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESGetNormSchedule: no generated method for these argument types") + throw(MethodError(SNESGetNormSchedule, (petsclib, snes))) end @for_petsc function SNESGetNormSchedule(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -3759,7 +3759,7 @@ See also: `SNES`, `SNESGetMaxLinearSolveFailures()`, `SNESGetLinearSolveIteratio $(_doc_external("SNES/SNESGetNumberFunctionEvals")) """ function SNESGetNumberFunctionEvals(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESGetNumberFunctionEvals: no generated method for these argument types") + throw(MethodError(SNESGetNumberFunctionEvals, (petsclib, snes))) end @for_petsc function SNESGetNumberFunctionEvals(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -3798,7 +3798,7 @@ See also: `SNES`, `SNESSetObjective()`, `SNESGetSolution()`, `SNESObjectiveFn` $(_doc_external("SNES/SNESGetObjective")) """ function SNESGetObjective(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESGetObjective: no generated method for these argument types") + throw(MethodError(SNESGetObjective, (petsclib, snes))) end @for_petsc function SNESGetObjective(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -3839,7 +3839,7 @@ See also: `SNES`, `SNESSetOptionsPrefix()`, `SNESAppendOptionsPrefix()` $(_doc_external("SNES/SNESGetOptionsPrefix")) """ function SNESGetOptionsPrefix(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESGetOptionsPrefix: no generated method for these argument types") + throw(MethodError(SNESGetOptionsPrefix, (petsclib, snes))) end @for_petsc function SNESGetOptionsPrefix(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -3882,7 +3882,7 @@ See also: `SNESSetFunction()`, `SNESSetPicard()`, `SNESGetFunction()`, `SNESGetJ $(_doc_external("SNES/SNESGetPicard")) """ function SNESGetPicard(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESGetPicard: no generated method for these argument types") + throw(MethodError(SNESGetPicard, (petsclib, snes))) end @for_petsc function SNESGetPicard(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -3931,7 +3931,7 @@ See also: `SNES`, `SNESGetSolution()`, `SNESGetFunction()`, `SNESComputeFunction $(_doc_external("SNES/SNESGetRhs")) """ function SNESGetRhs(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESGetRhs: no generated method for these argument types") + throw(MethodError(SNESGetRhs, (petsclib, snes))) end @for_petsc function SNESGetRhs(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -3970,7 +3970,7 @@ See also: `SNESSetSolution()`, `SNESSolve()`, `SNES`, `SNESGetSolutionUpdate()`, $(_doc_external("SNES/SNESGetSolution")) """ function SNESGetSolution(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESGetSolution: no generated method for these argument types") + throw(MethodError(SNESGetSolution, (petsclib, snes))) end @for_petsc function SNESGetSolution(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -4008,7 +4008,7 @@ See also: `SNES`, `SNESSetNormSchedule()`, `SNESComputeFunction()`, `SNESGetFunc $(_doc_external("SNES/SNESGetSolutionNorm")) """ function SNESGetSolutionNorm(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESGetSolutionNorm: no generated method for these argument types") + throw(MethodError(SNESGetSolutionNorm, (petsclib, snes))) end @for_petsc function SNESGetSolutionNorm(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -4047,7 +4047,7 @@ See also: `SNES`, `SNESGetSolution()`, `SNESGetFunction()` $(_doc_external("SNES/SNESGetSolutionUpdate")) """ function SNESGetSolutionUpdate(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESGetSolutionUpdate: no generated method for these argument types") + throw(MethodError(SNESGetSolutionUpdate, (petsclib, snes))) end @for_petsc function SNESGetSolutionUpdate(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -4089,7 +4089,7 @@ See also: `SNES`, `SNESSetTolerances()` $(_doc_external("SNES/SNESGetTolerances")) """ function SNESGetTolerances(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESGetTolerances: no generated method for these argument types") + throw(MethodError(SNESGetTolerances, (petsclib, snes))) end @for_petsc function SNESGetTolerances(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -4135,7 +4135,7 @@ See also: `SNESSetType()`, `SNESType`, `SNESSetFromOptions()`, `SNES`, `PetscObj $(_doc_external("SNES/SNESGetType")) """ function SNESGetType(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESGetType: no generated method for these argument types") + throw(MethodError(SNESGetType, (petsclib, snes))) end @for_petsc function SNESGetType(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -4173,7 +4173,7 @@ See also: `SNES`, `SNESSetNormSchedule()`, `SNESComputeFunction()`, `SNESGetFunc $(_doc_external("SNES/SNESGetUpdateNorm")) """ function SNESGetUpdateNorm(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESGetUpdateNorm: no generated method for these argument types") + throw(MethodError(SNESGetUpdateNorm, (petsclib, snes))) end @for_petsc function SNESGetUpdateNorm(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -4212,7 +4212,7 @@ See also: `SNES`, `SNESSetUseMatrixFree()`, `MatCreateSNESMF()` $(_doc_external("SNES/SNESGetUseMatrixFree")) """ function SNESGetUseMatrixFree(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESGetUseMatrixFree: no generated method for these argument types") + throw(MethodError(SNESGetUseMatrixFree, (petsclib, snes))) end @for_petsc function SNESGetUseMatrixFree(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -4252,7 +4252,7 @@ See also: `SNESSetNPC()`, `SNESGetNPC()` $(_doc_external("SNES/SNESHasNPC")) """ function SNESHasNPC(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESHasNPC: no generated method for these argument types") + throw(MethodError(SNESHasNPC, (petsclib, snes))) end @for_petsc function SNESHasNPC(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -4284,7 +4284,7 @@ See also: `SNES`, `PetscInitialize()` $(_doc_external("SNES/SNESInitializePackage")) """ function SNESInitializePackage(petsclib::PetscLibType) - error("SNESInitializePackage: no generated method for these argument types") + throw(MethodError(SNESInitializePackage, (petsclib, ))) end @for_petsc function SNESInitializePackage(petsclib::$UnionPetscLib) @@ -4327,7 +4327,7 @@ See also: `SNES`, `SNESKSPSetUseEW()`, `SNESKSPGetUseEW()`, `SNESKSPSetParameter $(_doc_external("SNES/SNESKSPGetParametersEW")) """ function SNESKSPGetParametersEW(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESKSPGetParametersEW: no generated method for these argument types") + throw(MethodError(SNESKSPGetParametersEW, (petsclib, snes))) end @for_petsc function SNESKSPGetParametersEW(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -4379,7 +4379,7 @@ See also: `SNESKSPSetUseEW()`, `SNESKSPGetParametersEW()`, `SNESKSPSetParameters $(_doc_external("SNES/SNESKSPGetUseEW")) """ function SNESKSPGetUseEW(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESKSPGetUseEW: no generated method for these argument types") + throw(MethodError(SNESKSPGetUseEW, (petsclib, snes))) end @for_petsc function SNESKSPGetUseEW(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -4424,7 +4424,7 @@ See also: `SNES`, `SNESKSPSetUseEW()`, `SNESKSPGetUseEW()`, `SNESKSPGetParameter $(_doc_external("SNES/SNESKSPSetParametersEW")) """ function SNESKSPSetParametersEW(petsclib::PetscLibType, snes::AbstractSNES, version::Integer, rtol_0::Real, rtol_max::Real, gamma::Real, alpha::Real, alpha2::Real, threshold::Real) - error("SNESKSPSetParametersEW: no generated method for these argument types") + throw(MethodError(SNESKSPSetParametersEW, (petsclib, snes, version, rtol_0, rtol_max, gamma, alpha, alpha2, threshold))) end @for_petsc function SNESKSPSetParametersEW(petsclib::$UnionPetscLib, snes::AbstractSNES, version::$PetscInt, rtol_0::$PetscReal, rtol_max::$PetscReal, gamma::$PetscReal, alpha::$PetscReal, alpha2::$PetscReal, threshold::$PetscReal ) @@ -4470,7 +4470,7 @@ See also: `KSP`, `SNES`, `SNESKSPGetUseEW()`, `SNESKSPGetParametersEW()`, `SNESK $(_doc_external("SNES/SNESKSPSetUseEW")) """ function SNESKSPSetUseEW(petsclib::PetscLibType, snes::AbstractSNES, flag::PetscBool) - error("SNESKSPSetUseEW: no generated method for these argument types") + throw(MethodError(SNESKSPSetUseEW, (petsclib, snes, flag))) end @for_petsc function SNESKSPSetUseEW(petsclib::$UnionPetscLib, snes::AbstractSNES, flag::PetscBool ) @@ -4505,7 +4505,7 @@ See also: `SNES`, `PetscViewer`, `SNESCreate()`, `SNESType`, `PetscViewerBinaryO $(_doc_external("SNES/SNESLoad")) """ function SNESLoad(petsclib::PetscLibType, snes::AbstractSNES, viewer::PetscViewer) - error("SNESLoad: no generated method for these argument types") + throw(MethodError(SNESLoad, (petsclib, snes, viewer))) end @for_petsc function SNESLoad(petsclib::$UnionPetscLib, snes::AbstractSNES, viewer::PetscViewer ) @@ -4534,7 +4534,7 @@ See also: `SNES`, `SNESMS`, `SNESMSRegister()`, `SNESMSRegisterAll()`, `SNESMSIn $(_doc_external("SNES/SNESMSFinalizePackage")) """ function SNESMSFinalizePackage(petsclib::PetscLibType) - error("SNESMSFinalizePackage: no generated method for these argument types") + throw(MethodError(SNESMSFinalizePackage, (petsclib, ))) end @for_petsc function SNESMSFinalizePackage(petsclib::$UnionPetscLib) @@ -4569,7 +4569,7 @@ See also: `SNESMSSetDamping()`, `SNESMS` $(_doc_external("SNES/SNESMSGetDamping")) """ function SNESMSGetDamping(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESMSGetDamping: no generated method for these argument types") + throw(MethodError(SNESMSGetDamping, (petsclib, snes))) end @for_petsc function SNESMSGetDamping(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -4607,7 +4607,7 @@ See also: `SNESMS`, `SNESMSSetType()`, `SNESMSType` $(_doc_external("SNES/SNESMSGetType")) """ function SNESMSGetType(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESMSGetType: no generated method for these argument types") + throw(MethodError(SNESMSGetType, (petsclib, snes))) end @for_petsc function SNESMSGetType(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -4638,7 +4638,7 @@ See also: `SNES`, `SNESMS`, `SNESMSRegister()`, `SNESMSRegisterAll()`, `PetscIni $(_doc_external("SNES/SNESMSInitializePackage")) """ function SNESMSInitializePackage(petsclib::PetscLibType) - error("SNESMSInitializePackage: no generated method for these argument types") + throw(MethodError(SNESMSInitializePackage, (petsclib, ))) end @for_petsc function SNESMSInitializePackage(petsclib::$UnionPetscLib) @@ -4676,7 +4676,7 @@ See also: `SNES`, `SNESMS` $(_doc_external("SNES/SNESMSRegister")) """ function SNESMSRegister(petsclib::PetscLibType, name::String, nstages::Integer, nregisters::Integer, stability::Real, gamma::AbstractVector{<:Number}, delta::AbstractVector{<:Number}, betasub::AbstractVector{<:Number}) - error("SNESMSRegister: no generated method for these argument types") + throw(MethodError(SNESMSRegister, (petsclib, name, nstages, nregisters, stability, gamma, delta, betasub))) end @for_petsc function SNESMSRegister(petsclib::$UnionPetscLib, name::String, nstages::$PetscInt, nregisters::$PetscInt, stability::$PetscReal, gamma::Vector{$PetscReal}, delta::Vector{$PetscReal}, betasub::Vector{$PetscReal} ) @@ -4706,7 +4706,7 @@ See also: `SNES`, `SNESMS`, `SNESMSRegisterDestroy()` $(_doc_external("SNES/SNESMSRegisterAll")) """ function SNESMSRegisterAll(petsclib::PetscLibType) - error("SNESMSRegisterAll: no generated method for these argument types") + throw(MethodError(SNESMSRegisterAll, (petsclib, ))) end @for_petsc function SNESMSRegisterAll(petsclib::$UnionPetscLib) @@ -4735,7 +4735,7 @@ See also: `SNES`, `SNESMS`, `SNESMSRegister()`, `SNESMSRegisterAll()` $(_doc_external("SNES/SNESMSRegisterDestroy")) """ function SNESMSRegisterDestroy(petsclib::PetscLibType) - error("SNESMSRegisterDestroy: no generated method for these argument types") + throw(MethodError(SNESMSRegisterDestroy, (petsclib, ))) end @for_petsc function SNESMSRegisterDestroy(petsclib::$UnionPetscLib) @@ -4768,7 +4768,7 @@ See also: `SNESMSGetDamping()`, `SNESMS` $(_doc_external("SNES/SNESMSSetDamping")) """ function SNESMSSetDamping(petsclib::PetscLibType, snes::AbstractSNES, damping::Real) - error("SNESMSSetDamping: no generated method for these argument types") + throw(MethodError(SNESMSSetDamping, (petsclib, snes, damping))) end @for_petsc function SNESMSSetDamping(petsclib::$UnionPetscLib, snes::AbstractSNES, damping::$PetscReal ) @@ -4802,7 +4802,7 @@ See also: `SNESMS`, `SNESMSGetType()`, `SNESMSType` $(_doc_external("SNES/SNESMSSetType")) """ function SNESMSSetType(petsclib::PetscLibType, snes::AbstractSNES, mstype::String) - error("SNESMSSetType: no generated method for these argument types") + throw(MethodError(SNESMSSetType, (petsclib, snes, mstype))) end @for_petsc function SNESMSSetType(petsclib::$UnionPetscLib, snes::AbstractSNES, mstype::String ) @@ -4837,7 +4837,7 @@ See also: `SNES`, `SNESMonitorSet()` $(_doc_external("SNES/SNESMonitor")) """ function SNESMonitor(petsclib::PetscLibType, snes::AbstractSNES, iter::Integer, rnorm::Real) - error("SNESMonitor: no generated method for these argument types") + throw(MethodError(SNESMonitor, (petsclib, snes, iter, rnorm))) end @for_petsc function SNESMonitor(petsclib::$UnionPetscLib, snes::AbstractSNES, iter::$PetscInt, rnorm::$PetscReal ) @@ -4875,7 +4875,7 @@ See also: `SNES`, `SNESMonitorDefault()`, `SNESMonitorSet()` $(_doc_external("SNES/SNESMonitorCancel")) """ function SNESMonitorCancel(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESMonitorCancel: no generated method for these argument types") + throw(MethodError(SNESMonitorCancel, (petsclib, snes))) end @for_petsc function SNESMonitorCancel(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -4916,7 +4916,7 @@ See also: `SNESMonitorSet()`, `SNESMonitorSolution()`, `SNESMonitorFunction()`, $(_doc_external("SNES/SNESMonitorDefault")) """ function SNESMonitorDefault(petsclib::PetscLibType, snes::AbstractSNES, its::Integer, fgnorm::Real, vf::Vector{PetscViewerAndFormat}) - error("SNESMonitorDefault: no generated method for these argument types") + throw(MethodError(SNESMonitorDefault, (petsclib, snes, its, fgnorm, vf))) end @for_petsc function SNESMonitorDefault(petsclib::$UnionPetscLib, snes::AbstractSNES, its::$PetscInt, fgnorm::$PetscReal, vf::Vector{PetscViewerAndFormat} ) @@ -4955,7 +4955,7 @@ See also: `SNESMonitorSet()`, `SNESMonitorSolution()`, `SNESMonitorDefault()`, ` $(_doc_external("SNES/SNESMonitorDefaultField")) """ function SNESMonitorDefaultField(petsclib::PetscLibType, snes::AbstractSNES, its::Integer, fgnorm::Real, vf::Vector{PetscViewerAndFormat}) - error("SNESMonitorDefaultField: no generated method for these argument types") + throw(MethodError(SNESMonitorDefaultField, (petsclib, snes, its, fgnorm, vf))) end @for_petsc function SNESMonitorDefaultField(petsclib::$UnionPetscLib, snes::AbstractSNES, its::$PetscInt, fgnorm::$PetscReal, vf::Vector{PetscViewerAndFormat} ) @@ -4989,7 +4989,7 @@ See also: `SNES`, `SNESMonitorSet()`, `SNESMonitorDefault()`, `PetscViewerAndFor $(_doc_external("SNES/SNESMonitorDefaultSetUp")) """ function SNESMonitorDefaultSetUp(petsclib::PetscLibType, snes::AbstractSNES, vf::Vector{PetscViewerAndFormat}) - error("SNESMonitorDefaultSetUp: no generated method for these argument types") + throw(MethodError(SNESMonitorDefaultSetUp, (petsclib, snes, vf))) end @for_petsc function SNESMonitorDefaultSetUp(petsclib::$UnionPetscLib, snes::AbstractSNES, vf::Vector{PetscViewerAndFormat} ) @@ -5012,7 +5012,7 @@ end $(_doc_external("SNES/SNESMonitorDefaultShort")) """ function SNESMonitorDefaultShort(petsclib::PetscLibType, snes::AbstractSNES, its::Integer, fgnorm::Real, vf::Vector{PetscViewerAndFormat}) - error("SNESMonitorDefaultShort: no generated method for these argument types") + throw(MethodError(SNESMonitorDefaultShort, (petsclib, snes, its, fgnorm, vf))) end @for_petsc function SNESMonitorDefaultShort(petsclib::$UnionPetscLib, snes::AbstractSNES, its::$PetscInt, fgnorm::$PetscReal, vf::Vector{PetscViewerAndFormat} ) @@ -5048,7 +5048,7 @@ See also: `SNES`, `SNESMonitorSet()`, `SNESMonitorDefault()` $(_doc_external("SNES/SNESMonitorFields")) """ function SNESMonitorFields(petsclib::PetscLibType, snes::AbstractSNES, its::Integer, fgnorm::Real, vf::Vector{PetscViewerAndFormat}) - error("SNESMonitorFields: no generated method for these argument types") + throw(MethodError(SNESMonitorFields, (petsclib, snes, its, fgnorm, vf))) end @for_petsc function SNESMonitorFields(petsclib::$UnionPetscLib, snes::AbstractSNES, its::$PetscInt, fgnorm::$PetscReal, vf::Vector{PetscViewerAndFormat} ) @@ -5087,7 +5087,7 @@ See also: `SNESMonitorSet()`, `SNESMonitorSolution()`, `SNESMonitorRange()`, `Pe $(_doc_external("SNES/SNESMonitorJacUpdateSpectrum")) """ function SNESMonitorJacUpdateSpectrum(petsclib::PetscLibType, snes::AbstractSNES, it::Integer, fnorm::Real, vf::Vector{PetscViewerAndFormat}) - error("SNESMonitorJacUpdateSpectrum: no generated method for these argument types") + throw(MethodError(SNESMonitorJacUpdateSpectrum, (petsclib, snes, it, fnorm, vf))) end @for_petsc function SNESMonitorJacUpdateSpectrum(petsclib::$UnionPetscLib, snes::AbstractSNES, it::$PetscInt, fnorm::$PetscReal, vf::Vector{PetscViewerAndFormat} ) @@ -5123,7 +5123,7 @@ See also: `SNES`, `SNESMonitorSet()`, `SNESMonitorDefault()`, `PetscViewerDrawGe $(_doc_external("SNES/SNESMonitorLGRange")) """ function SNESMonitorLGRange(petsclib::PetscLibType, snes::AbstractSNES, n::Integer, rnorm::Real, monctx::Ptr{Cvoid}) - error("SNESMonitorLGRange: no generated method for these argument types") + throw(MethodError(SNESMonitorLGRange, (petsclib, snes, n, rnorm, monctx))) end @for_petsc function SNESMonitorLGRange(petsclib::$UnionPetscLib, snes::AbstractSNES, n::$PetscInt, rnorm::$PetscReal, monctx::Ptr{Cvoid} ) @@ -5162,7 +5162,7 @@ See also: `SNESMonitorSet()`, `SNESMonitorDefault()`, `SNESMonitorLGCreate()`, ` $(_doc_external("SNES/SNESMonitorRange")) """ function SNESMonitorRange(petsclib::PetscLibType, snes::AbstractSNES, it::Integer, rnorm::Real, vf::Vector{PetscViewerAndFormat}) - error("SNESMonitorRange: no generated method for these argument types") + throw(MethodError(SNESMonitorRange, (petsclib, snes, it, rnorm, vf))) end @for_petsc function SNESMonitorRange(petsclib::$UnionPetscLib, snes::AbstractSNES, it::$PetscInt, rnorm::$PetscReal, vf::Vector{PetscViewerAndFormat} ) @@ -5201,7 +5201,7 @@ See also: `SNESMonitorRationSetUp()`, `SNESMonitorSet()`, `SNESMonitorSolution() $(_doc_external("SNES/SNESMonitorRatio")) """ function SNESMonitorRatio(petsclib::PetscLibType, snes::AbstractSNES, its::Integer, fgnorm::Real, vf::Vector{PetscViewerAndFormat}) - error("SNESMonitorRatio: no generated method for these argument types") + throw(MethodError(SNESMonitorRatio, (petsclib, snes, its, fgnorm, vf))) end @for_petsc function SNESMonitorRatio(petsclib::$UnionPetscLib, snes::AbstractSNES, its::$PetscInt, fgnorm::$PetscReal, vf::Vector{PetscViewerAndFormat} ) @@ -5235,7 +5235,7 @@ See also: `SNESMonitorSet()`, `SNESMonitorSolution()`, `SNESMonitorDefault()`, ` $(_doc_external("SNES/SNESMonitorRatioSetUp")) """ function SNESMonitorRatioSetUp(petsclib::PetscLibType, snes::AbstractSNES, vf::Vector{PetscViewerAndFormat}) - error("SNESMonitorRatioSetUp: no generated method for these argument types") + throw(MethodError(SNESMonitorRatioSetUp, (petsclib, snes, vf))) end @for_petsc function SNESMonitorRatioSetUp(petsclib::$UnionPetscLib, snes::AbstractSNES, vf::Vector{PetscViewerAndFormat} ) @@ -5275,7 +5275,7 @@ See also: `SNES`, `SNESMonitorSet()`, `SNESMonitorDefault()`, `VecView()`, `SNES $(_doc_external("SNES/SNESMonitorResidual")) """ function SNESMonitorResidual(petsclib::PetscLibType, snes::AbstractSNES, its::Integer, fgnorm::Real, vf::Vector{PetscViewerAndFormat}) - error("SNESMonitorResidual: no generated method for these argument types") + throw(MethodError(SNESMonitorResidual, (petsclib, snes, its, fgnorm, vf))) end @for_petsc function SNESMonitorResidual(petsclib::$UnionPetscLib, snes::AbstractSNES, its::$PetscInt, fgnorm::$PetscReal, vf::Vector{PetscViewerAndFormat} ) @@ -5311,7 +5311,7 @@ See also: `PetscViewerSAWsOpen()`, `SNESMonitorSAWsDestroy()`, `SNESMonitorSAWsC $(_doc_external("SNES/SNESMonitorSAWs")) """ function SNESMonitorSAWs(petsclib::PetscLibType, snes::AbstractSNES, n::Integer, rnorm::Real, ctx::Ptr{Cvoid}) - error("SNESMonitorSAWs: no generated method for these argument types") + throw(MethodError(SNESMonitorSAWs, (petsclib, snes, n, rnorm, ctx))) end @for_petsc function SNESMonitorSAWs(petsclib::$UnionPetscLib, snes::AbstractSNES, n::$PetscInt, rnorm::$PetscReal, ctx::Ptr{Cvoid} ) @@ -5347,7 +5347,7 @@ See also: `SNESMonitorSet()`, `SNES`, `SNESMonitorSAWs()`, `SNESMonitorSAWsDestr $(_doc_external("SNES/SNESMonitorSAWsCreate")) """ function SNESMonitorSAWsCreate(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESMonitorSAWsCreate: no generated method for these argument types") + throw(MethodError(SNESMonitorSAWsCreate, (petsclib, snes))) end @for_petsc function SNESMonitorSAWsCreate(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -5382,7 +5382,7 @@ See also: `SNESMonitorSAWsCreate()` $(_doc_external("SNES/SNESMonitorSAWsDestroy")) """ function SNESMonitorSAWsDestroy(petsclib::PetscLibType, ctx::Ptr{Cvoid}) - error("SNESMonitorSAWsDestroy: no generated method for these argument types") + throw(MethodError(SNESMonitorSAWsDestroy, (petsclib, ctx))) end @for_petsc function SNESMonitorSAWsDestroy(petsclib::$UnionPetscLib, ctx::Ptr{Cvoid} ) @@ -5419,7 +5419,7 @@ See also: `SNESMonitorSet()`, `SNESMonitorSolution()`, `SNESMonitorRange()`, `SN $(_doc_external("SNES/SNESMonitorScaling")) """ function SNESMonitorScaling(petsclib::PetscLibType, snes::AbstractSNES, its::Integer, fgnorm::Real, vf::Vector{PetscViewerAndFormat}) - error("SNESMonitorScaling: no generated method for these argument types") + throw(MethodError(SNESMonitorScaling, (petsclib, snes, its, fgnorm, vf))) end @for_petsc function SNESMonitorScaling(petsclib::$UnionPetscLib, snes::AbstractSNES, its::$PetscInt, fgnorm::$PetscReal, vf::Vector{PetscViewerAndFormat} ) @@ -5469,7 +5469,7 @@ See also: `SNES`, `SNESSolve()`, `SNESMonitorDefault()`, `SNESMonitorCancel()`, $(_doc_external("SNES/SNESMonitorSet")) """ function SNESMonitorSet(petsclib::PetscLibType, snes::AbstractSNES, f::external, mctx::Ptr{Cvoid}, monitordestroy::Ptr{Cvoid}) - error("SNESMonitorSet: no generated method for these argument types") + throw(MethodError(SNESMonitorSet, (petsclib, snes, f, mctx, monitordestroy))) end @for_petsc function SNESMonitorSet(petsclib::$UnionPetscLib, snes::AbstractSNES, f::external, mctx::Ptr{Cvoid}, monitordestroy::Ptr{Cvoid} ) @@ -5526,7 +5526,7 @@ See also: `PetscOptionsCreateViewer()`, `PetscOptionsGetReal()`, `PetscOptionsHa $(_doc_external("SNES/SNESMonitorSetFromOptions")) """ function SNESMonitorSetFromOptions(petsclib::PetscLibType, snes::AbstractSNES, name::String, help::String, manual::String, monitor::external, monitorsetup::external) - error("SNESMonitorSetFromOptions: no generated method for these argument types") + throw(MethodError(SNESMonitorSetFromOptions, (petsclib, snes, name, help, manual, monitor, monitorsetup))) end @for_petsc function SNESMonitorSetFromOptions(petsclib::$UnionPetscLib, snes::AbstractSNES, name::String, help::String, manual::String, monitor::external, monitorsetup::external ) @@ -5566,7 +5566,7 @@ See also: `SNES`, `SNESMonitorSet()`, `SNESMonitorDefault()`, `VecView()` $(_doc_external("SNES/SNESMonitorSolution")) """ function SNESMonitorSolution(petsclib::PetscLibType, snes::AbstractSNES, its::Integer, fgnorm::Real, vf::Vector{PetscViewerAndFormat}) - error("SNESMonitorSolution: no generated method for these argument types") + throw(MethodError(SNESMonitorSolution, (petsclib, snes, its, fgnorm, vf))) end @for_petsc function SNESMonitorSolution(petsclib::$UnionPetscLib, snes::AbstractSNES, its::$PetscInt, fgnorm::$PetscReal, vf::Vector{PetscViewerAndFormat} ) @@ -5606,7 +5606,7 @@ See also: `SNESMonitorSet()`, `SNESMonitorDefault()`, `VecView()`, `SNESMonitor( $(_doc_external("SNES/SNESMonitorSolutionUpdate")) """ function SNESMonitorSolutionUpdate(petsclib::PetscLibType, snes::AbstractSNES, its::Integer, fgnorm::Real, vf::Vector{PetscViewerAndFormat}) - error("SNESMonitorSolutionUpdate: no generated method for these argument types") + throw(MethodError(SNESMonitorSolutionUpdate, (petsclib, snes, its, fgnorm, vf))) end @for_petsc function SNESMonitorSolutionUpdate(petsclib::$UnionPetscLib, snes::AbstractSNES, its::$PetscInt, fgnorm::$PetscReal, vf::Vector{PetscViewerAndFormat} ) @@ -5643,7 +5643,7 @@ See also: `SNES`, `SNESMULTIBLOCK`, `SNESMultiblockSetIS()`, `SNESMultiblockSetF $(_doc_external("SNES/SNESMultiblockGetSubSNES")) """ function SNESMultiblockGetSubSNES(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESMultiblockGetSubSNES: no generated method for these argument types") + throw(MethodError(SNESMultiblockGetSubSNES, (petsclib, snes))) end @for_petsc function SNESMultiblockGetSubSNES(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -5681,7 +5681,7 @@ See also: `SNES`, `SNESMULTIBLOCK`, `SNESMultiblockGetSubSNES()`, `SNESMultibloc $(_doc_external("SNES/SNESMultiblockSetBlockSize")) """ function SNESMultiblockSetBlockSize(petsclib::PetscLibType, snes::AbstractSNES, bs::Integer) - error("SNESMultiblockSetBlockSize: no generated method for these argument types") + throw(MethodError(SNESMultiblockSetBlockSize, (petsclib, snes, bs))) end @for_petsc function SNESMultiblockSetBlockSize(petsclib::$UnionPetscLib, snes::AbstractSNES, bs::$PetscInt ) @@ -5717,7 +5717,7 @@ See also: `SNES`, `SNESMULTIBLOCK`, `SNESMultiblockGetSubSNES()`, `SNESMultibloc $(_doc_external("SNES/SNESMultiblockSetFields")) """ function SNESMultiblockSetFields(petsclib::PetscLibType, snes::AbstractSNES, name::String, n::Integer, fields::AbstractVector{<:Number}) - error("SNESMultiblockSetFields: no generated method for these argument types") + throw(MethodError(SNESMultiblockSetFields, (petsclib, snes, name, n, fields))) end @for_petsc function SNESMultiblockSetFields(petsclib::$UnionPetscLib, snes::AbstractSNES, name::String, n::$PetscInt, fields::Vector{$PetscInt} ) @@ -5752,7 +5752,7 @@ See also: `SNES`, `SNESMULTIBLOCK`, `SNESMultiblockGetSubSNES()`, `SNESMultibloc $(_doc_external("SNES/SNESMultiblockSetIS")) """ function SNESMultiblockSetIS(petsclib::PetscLibType, snes::AbstractSNES, name::String, is::AbstractIS) - error("SNESMultiblockSetIS: no generated method for these argument types") + throw(MethodError(SNESMultiblockSetIS, (petsclib, snes, name, is))) end @for_petsc function SNESMultiblockSetIS(petsclib::$UnionPetscLib, snes::AbstractSNES, name::String, is::AbstractIS ) @@ -5790,7 +5790,7 @@ See also: `SNES`, `SNESMULTIBLOCK`, `PCCompositeSetType()`, `PC_COMPOSITE_ADDITI $(_doc_external("SNES/SNESMultiblockSetType")) """ function SNESMultiblockSetType(petsclib::PetscLibType, snes::AbstractSNES, type::PCCompositeType) - error("SNESMultiblockSetType: no generated method for these argument types") + throw(MethodError(SNESMultiblockSetType, (petsclib, snes, type))) end @for_petsc function SNESMultiblockSetType(petsclib::$UnionPetscLib, snes::AbstractSNES, type::PCCompositeType ) @@ -5826,7 +5826,7 @@ See also: `SNES`, `SNESNASM`, `SNESNASMSetDamping()` $(_doc_external("SNES/SNESNASMGetDamping")) """ function SNESNASMGetDamping(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESNASMGetDamping: no generated method for these argument types") + throw(MethodError(SNESNASMGetDamping, (petsclib, snes))) end @for_petsc function SNESNASMGetDamping(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -5864,7 +5864,7 @@ See also: `SNESNASM`, `SNESNASMGetSNES()` $(_doc_external("SNES/SNESNASMGetNumber")) """ function SNESNASMGetNumber(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESNASMGetNumber: no generated method for these argument types") + throw(MethodError(SNESNASMGetNumber, (petsclib, snes))) end @for_petsc function SNESNASMGetNumber(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -5903,7 +5903,7 @@ See also: `SNESNASM`, `SNESNASMGetNumber()` $(_doc_external("SNES/SNESNASMGetSNES")) """ function SNESNASMGetSNES(petsclib::PetscLibType, snes::AbstractSNES, i::Integer) - error("SNESNASMGetSNES: no generated method for these argument types") + throw(MethodError(SNESNASMGetSNES, (petsclib, snes, i))) end @for_petsc function SNESNASMGetSNES(petsclib::$UnionPetscLib, snes::AbstractSNES, i::$PetscInt ) @@ -5945,7 +5945,7 @@ See also: `SNES`, `SNESNASM`, `SNESNASMGetSubdomains()` $(_doc_external("SNES/SNESNASMGetSubdomainVecs")) """ function SNESNASMGetSubdomainVecs(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESNASMGetSubdomainVecs: no generated method for these argument types") + throw(MethodError(SNESNASMGetSubdomainVecs, (petsclib, snes))) end @for_petsc function SNESNASMGetSubdomainVecs(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -5995,7 +5995,7 @@ See also: `SNES`, `SNESNASM`, `SNESNASMSetSubdomains()` $(_doc_external("SNES/SNESNASMGetSubdomains")) """ function SNESNASMGetSubdomains(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESNASMGetSubdomains: no generated method for these argument types") + throw(MethodError(SNESNASMGetSubdomains, (petsclib, snes))) end @for_petsc function SNESNASMGetSubdomains(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -6041,7 +6041,7 @@ See also: `SNES`, `SNESNASM`, `SNESNASMSetType()`, `PCASMGetType()`, `PC_ASM_BAS $(_doc_external("SNES/SNESNASMGetType")) """ function SNESNASMGetType(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESNASMGetType: no generated method for these argument types") + throw(MethodError(SNESNASMGetType, (petsclib, snes))) end @for_petsc function SNESNASMGetType(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -6078,7 +6078,7 @@ See also: `SNES`, `SNESNASM`, `SNESNASMGetSubdomains()` $(_doc_external("SNES/SNESNASMSetComputeFinalJacobian")) """ function SNESNASMSetComputeFinalJacobian(petsclib::PetscLibType, snes::AbstractSNES, flg::PetscBool) - error("SNESNASMSetComputeFinalJacobian: no generated method for these argument types") + throw(MethodError(SNESNASMSetComputeFinalJacobian, (petsclib, snes, flg))) end @for_petsc function SNESNASMSetComputeFinalJacobian(petsclib::$UnionPetscLib, snes::AbstractSNES, flg::PetscBool ) @@ -6115,7 +6115,7 @@ See also: `SNES`, `SNESNASM`, `SNESNASMGetDamping()` $(_doc_external("SNES/SNESNASMSetDamping")) """ function SNESNASMSetDamping(petsclib::PetscLibType, snes::AbstractSNES, dmp::Real) - error("SNESNASMSetDamping: no generated method for these argument types") + throw(MethodError(SNESNASMSetDamping, (petsclib, snes, dmp))) end @for_petsc function SNESNASMSetDamping(petsclib::$UnionPetscLib, snes::AbstractSNES, dmp::$PetscReal ) @@ -6153,7 +6153,7 @@ See also: `SNES`, `SNESNASM`, `SNESNASMGetSubdomains()` $(_doc_external("SNES/SNESNASMSetSubdomains")) """ function SNESNASMSetSubdomains(petsclib::PetscLibType, snes::AbstractSNES, n::Integer, subsnes::Vector{<:AbstractSNES}, iscatter::Vector{VecScatter}, oscatter::Vector{VecScatter}, gscatter::Vector{VecScatter}) - error("SNESNASMSetSubdomains: no generated method for these argument types") + throw(MethodError(SNESNASMSetSubdomains, (petsclib, snes, n, subsnes, iscatter, oscatter, gscatter))) end @for_petsc function SNESNASMSetSubdomains(petsclib::$UnionPetscLib, snes::AbstractSNES, n::$PetscInt, subsnes::Vector{<:AbstractSNES}, iscatter::Vector{VecScatter}, oscatter::Vector{VecScatter}, gscatter::Vector{VecScatter} ) @@ -6190,7 +6190,7 @@ See also: `SNES`, `SNESNASM`, `SNESNASMGetType()`, `PCASMSetType()`, `PC_ASM_BAS $(_doc_external("SNES/SNESNASMSetType")) """ function SNESNASMSetType(petsclib::PetscLibType, snes::AbstractSNES, type::PCASMType) - error("SNESNASMSetType: no generated method for these argument types") + throw(MethodError(SNESNASMSetType, (petsclib, snes, type))) end @for_petsc function SNESNASMSetType(petsclib::$UnionPetscLib, snes::AbstractSNES, type::PCASMType ) @@ -6224,7 +6224,7 @@ See also: `SNESNASM` $(_doc_external("SNES/SNESNASMSetWeight")) """ function SNESNASMSetWeight(petsclib::PetscLibType, snes::AbstractSNES, weight::AbstractPetscVec) - error("SNESNASMSetWeight: no generated method for these argument types") + throw(MethodError(SNESNASMSetWeight, (petsclib, snes, weight))) end @for_petsc function SNESNASMSetWeight(petsclib::$UnionPetscLib, snes::AbstractSNES, weight::AbstractPetscVec ) @@ -6261,7 +6261,7 @@ See also: `SNES`, `SNESNCG`, `SNESNCGType`, `SNES_NCG_FR`, `SNES_NCG_PRP`, `SNES $(_doc_external("SNES/SNESNCGSetType")) """ function SNESNCGSetType(petsclib::PetscLibType, snes::AbstractSNES, btype::SNESNCGType) - error("SNESNCGSetType: no generated method for these argument types") + throw(MethodError(SNESNCGSetType, (petsclib, snes, btype))) end @for_petsc function SNESNCGSetType(petsclib::$UnionPetscLib, snes::AbstractSNES, btype::SNESNCGType ) @@ -6297,7 +6297,7 @@ See also: `SNES`, `SNESNGMRES`, `SNESNGMRESSetRestartFmRise()`, `SNESNGMRESSetRe $(_doc_external("SNES/SNESNGMRESGetRestartFmRise")) """ function SNESNGMRESGetRestartFmRise(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESNGMRESGetRestartFmRise: no generated method for these argument types") + throw(MethodError(SNESNGMRESGetRestartFmRise, (petsclib, snes))) end @for_petsc function SNESNGMRESGetRestartFmRise(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -6334,7 +6334,7 @@ See also: `SNES`, `SNES_NGMRES_RESTART_DIFFERENCE`, `SNESNGMRES`, `SNESNGMRESRes $(_doc_external("SNES/SNESNGMRESSetRestartFmRise")) """ function SNESNGMRESSetRestartFmRise(petsclib::PetscLibType, snes::AbstractSNES, flg::PetscBool) - error("SNESNGMRESSetRestartFmRise: no generated method for these argument types") + throw(MethodError(SNESNGMRESSetRestartFmRise, (petsclib, snes, flg))) end @for_petsc function SNESNGMRESSetRestartFmRise(petsclib::$UnionPetscLib, snes::AbstractSNES, flg::PetscBool ) @@ -6373,7 +6373,7 @@ See also: `SNES`, `SNES_NGMRES_RESTART_DIFFERENCE`, `SNESNGMRES`, `SNESNGMRESRes $(_doc_external("SNES/SNESNGMRESSetRestartType")) """ function SNESNGMRESSetRestartType(petsclib::PetscLibType, snes::AbstractSNES, rtype::SNESNGMRESRestartType) - error("SNESNGMRESSetRestartType: no generated method for these argument types") + throw(MethodError(SNESNGMRESSetRestartType, (petsclib, snes, rtype))) end @for_petsc function SNESNGMRESSetRestartType(petsclib::$UnionPetscLib, snes::AbstractSNES, rtype::SNESNGMRESRestartType ) @@ -6412,7 +6412,7 @@ See also: `SNES`, `SNESNGMRES`, `SNESNGMRESSelectType`, `SNES_NGMRES_SELECT_NONE $(_doc_external("SNES/SNESNGMRESSetSelectType")) """ function SNESNGMRESSetSelectType(petsclib::PetscLibType, snes::AbstractSNES, stype::SNESNGMRESSelectType) - error("SNESNGMRESSetSelectType: no generated method for these argument types") + throw(MethodError(SNESNGMRESSetSelectType, (petsclib, snes, stype))) end @for_petsc function SNESNGMRESSetSelectType(petsclib::$UnionPetscLib, snes::AbstractSNES, stype::SNESNGMRESSelectType ) @@ -6446,7 +6446,7 @@ See also: `SNES`, `SNESNCG`, `SNESSetNGS()`, `SNESGetNGS()`, `SNESSetNPC()`, `SN $(_doc_external("SNES/SNESNGSGetSweeps")) """ function SNESNGSGetSweeps(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESNGSGetSweeps: no generated method for these argument types") + throw(MethodError(SNESNGSGetSweeps, (petsclib, snes))) end @for_petsc function SNESNGSGetSweeps(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -6486,7 +6486,7 @@ See also: `SNES`, `SNESNCG`, `SNESSetTolerances()` $(_doc_external("SNES/SNESNGSGetTolerances")) """ function SNESNGSGetTolerances(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESNGSGetTolerances: no generated method for these argument types") + throw(MethodError(SNESNGSGetTolerances, (petsclib, snes))) end @for_petsc function SNESNGSGetTolerances(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -6531,7 +6531,7 @@ See also: `SNES`, `SNESNCG`, `SNESSetNGS()`, `SNESGetNGS()`, `SNESSetNPC()`, `SN $(_doc_external("SNES/SNESNGSSetSweeps")) """ function SNESNGSSetSweeps(petsclib::PetscLibType, snes::AbstractSNES, sweeps::Integer) - error("SNESNGSSetSweeps: no generated method for these argument types") + throw(MethodError(SNESNGSSetSweeps, (petsclib, snes, sweeps))) end @for_petsc function SNESNGSSetSweeps(petsclib::$UnionPetscLib, snes::AbstractSNES, sweeps::$PetscInt ) @@ -6574,7 +6574,7 @@ See also: `SNES`, `SNESNCG` $(_doc_external("SNES/SNESNGSSetTolerances")) """ function SNESNGSSetTolerances(petsclib::PetscLibType, snes::AbstractSNES, abstol::Real, rtol::Real, stol::Real, maxit::Integer) - error("SNESNGSSetTolerances: no generated method for these argument types") + throw(MethodError(SNESNGSSetTolerances, (petsclib, snes, abstol, rtol, stol, maxit))) end @for_petsc function SNESNGSSetTolerances(petsclib::$UnionPetscLib, snes::AbstractSNES, abstol::$PetscReal, rtol::$PetscReal, stol::$PetscReal, maxit::$PetscInt ) @@ -6611,7 +6611,7 @@ See also: `SNES`, `SNESNewtonALSetFunction()`, `SNESNewtonALGetFunction()` $(_doc_external("SNES/SNESNewtonALComputeFunction")) """ function SNESNewtonALComputeFunction(petsclib::PetscLibType, snes::AbstractSNES, X::AbstractPetscVec, Q::AbstractPetscVec) - error("SNESNewtonALComputeFunction: no generated method for these argument types") + throw(MethodError(SNESNewtonALComputeFunction, (petsclib, snes, X, Q))) end @for_petsc function SNESNewtonALComputeFunction(petsclib::$UnionPetscLib, snes::AbstractSNES, X::AbstractPetscVec, Q::AbstractPetscVec ) @@ -6646,7 +6646,7 @@ See also: `SNES`, `SNESNEWTONAL`, `SNESNewtonALSetFunction()` $(_doc_external("SNES/SNESNewtonALGetFunction")) """ function SNESNewtonALGetFunction(petsclib::PetscLibType, snes::AbstractSNES, func::Ptr{Ptr{Cvoid}}, ctx::Ptr{Cvoid}) - error("SNESNewtonALGetFunction: no generated method for these argument types") + throw(MethodError(SNESNewtonALGetFunction, (petsclib, snes, func, ctx))) end @for_petsc function SNESNewtonALGetFunction(petsclib::$UnionPetscLib, snes::AbstractSNES, func::Ptr{Ptr{Cvoid}}, ctx::Ptr{Cvoid} ) @@ -6682,7 +6682,7 @@ See also: `SNES`, `SNESNEWTONAL`, `SNESNewtonALSetFunction()` $(_doc_external("SNES/SNESNewtonALGetLoadParameter")) """ function SNESNewtonALGetLoadParameter(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESNewtonALGetLoadParameter: no generated method for these argument types") + throw(MethodError(SNESNewtonALGetLoadParameter, (petsclib, snes))) end @for_petsc function SNESNewtonALGetLoadParameter(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -6721,7 +6721,7 @@ See also: `SNES`, `SNESNEWTONAL`, `SNESNewtonALCorrectionType` $(_doc_external("SNES/SNESNewtonALSetCorrectionType")) """ function SNESNewtonALSetCorrectionType(petsclib::PetscLibType, snes::AbstractSNES, ctype::SNESNewtonALCorrectionType) - error("SNESNewtonALSetCorrectionType: no generated method for these argument types") + throw(MethodError(SNESNewtonALSetCorrectionType, (petsclib, snes, ctype))) end @for_petsc function SNESNewtonALSetCorrectionType(petsclib::$UnionPetscLib, snes::AbstractSNES, ctype::SNESNewtonALCorrectionType ) @@ -6753,7 +6753,7 @@ See also: `SNES`, `SNESNEWTONAL`, `SNESNewtonALSetFunction()`, `SNESNewtonALGetL $(_doc_external("SNES/SNESNewtonALSetDiagonalScaling")) """ function SNESNewtonALSetDiagonalScaling(petsclib::PetscLibType, snes::AbstractSNES, v::AbstractPetscVec) - error("SNESNewtonALSetDiagonalScaling: no generated method for these argument types") + throw(MethodError(SNESNewtonALSetDiagonalScaling, (petsclib, snes, v))) end @for_petsc function SNESNewtonALSetDiagonalScaling(petsclib::$UnionPetscLib, snes::AbstractSNES, v::AbstractPetscVec ) @@ -6789,7 +6789,7 @@ See also: `SNES`, `SNESNEWTONAL`, `SNESNewtonALGetFunction()`, `SNESNewtonALGetL $(_doc_external("SNES/SNESNewtonALSetFunction")) """ function SNESNewtonALSetFunction(petsclib::PetscLibType, snes::AbstractSNES, func::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("SNESNewtonALSetFunction: no generated method for these argument types") + throw(MethodError(SNESNewtonALSetFunction, (petsclib, snes, func, ctx))) end @for_petsc function SNESNewtonALSetFunction(petsclib::$UnionPetscLib, snes::AbstractSNES, func::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -6835,7 +6835,7 @@ See also: `SNES`, `SNESNEWTONTRDC`, `SNESNewtonTRDCSetPostCheck()`, `SNESNewtonT $(_doc_external("SNES/SNESNewtonTRDCGetPostCheck")) """ function SNESNewtonTRDCGetPostCheck(petsclib::PetscLibType, snes::AbstractSNES, noname::Ptr{Cvoid}) - error("SNESNewtonTRDCGetPostCheck: no generated method for these argument types") + throw(MethodError(SNESNewtonTRDCGetPostCheck, (petsclib, snes, noname))) end @for_petsc function SNESNewtonTRDCGetPostCheck(petsclib::$UnionPetscLib, snes::AbstractSNES, noname::Ptr{Cvoid} ) @@ -6879,7 +6879,7 @@ See also: `SNES`, `SNESNEWTONTRDC`, `SNESNewtonTRDCSetPreCheck()`, `SNESNewtonTR $(_doc_external("SNES/SNESNewtonTRDCGetPreCheck")) """ function SNESNewtonTRDCGetPreCheck(petsclib::PetscLibType, snes::AbstractSNES, noname::Ptr{Cvoid}) - error("SNESNewtonTRDCGetPreCheck: no generated method for these argument types") + throw(MethodError(SNESNewtonTRDCGetPreCheck, (petsclib, snes, noname))) end @for_petsc function SNESNewtonTRDCGetPreCheck(petsclib::$UnionPetscLib, snes::AbstractSNES, noname::Ptr{Cvoid} ) @@ -6916,7 +6916,7 @@ See also: `SNES`, `SNESNEWTONTRDC`, `SNESNewtonTRDCPreCheck()`, `SNESNewtonTRDCG $(_doc_external("SNES/SNESNewtonTRDCGetRhoFlag")) """ function SNESNewtonTRDCGetRhoFlag(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESNewtonTRDCGetRhoFlag: no generated method for these argument types") + throw(MethodError(SNESNewtonTRDCGetRhoFlag, (petsclib, snes))) end @for_petsc function SNESNewtonTRDCGetRhoFlag(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -6963,7 +6963,7 @@ See also: `SNES`, `SNESNEWTONTRDC`, `SNESNewtonTRDCPostCheck()`, `SNESNewtonTRDC $(_doc_external("SNES/SNESNewtonTRDCSetPostCheck")) """ function SNESNewtonTRDCSetPostCheck(petsclib::PetscLibType, snes::AbstractSNES, func::external, ctx::Ptr{Cvoid}) - error("SNESNewtonTRDCSetPostCheck: no generated method for these argument types") + throw(MethodError(SNESNewtonTRDCSetPostCheck, (petsclib, snes, func, ctx))) end @for_petsc function SNESNewtonTRDCSetPostCheck(petsclib::$UnionPetscLib, snes::AbstractSNES, func::external, ctx::Ptr{Cvoid} ) @@ -7007,7 +7007,7 @@ See also: `SNES`, `SNESNEWTONTRDC`, `SNESNewtonTRDCPreCheck()`, `SNESNewtonTRDCG $(_doc_external("SNES/SNESNewtonTRDCSetPreCheck")) """ function SNESNewtonTRDCSetPreCheck(petsclib::PetscLibType, snes::AbstractSNES, func::external, ctx::Ptr{Cvoid}) - error("SNESNewtonTRDCSetPreCheck: no generated method for these argument types") + throw(MethodError(SNESNewtonTRDCSetPreCheck, (petsclib, snes, func, ctx))) end @for_petsc function SNESNewtonTRDCSetPreCheck(petsclib::$UnionPetscLib, snes::AbstractSNES, func::external, ctx::Ptr{Cvoid} ) @@ -7053,7 +7053,7 @@ See also: `SNESNEWTONTR`, `SNESNewtonTRSetPostCheck()`, `SNESNewtonTRPostCheck() $(_doc_external("SNES/SNESNewtonTRGetPostCheck")) """ function SNESNewtonTRGetPostCheck(petsclib::PetscLibType, snes::AbstractSNES, noname::Ptr{Cvoid}) - error("SNESNewtonTRGetPostCheck: no generated method for these argument types") + throw(MethodError(SNESNewtonTRGetPostCheck, (petsclib, snes, noname))) end @for_petsc function SNESNewtonTRGetPostCheck(petsclib::$UnionPetscLib, snes::AbstractSNES, noname::Ptr{Cvoid} ) @@ -7097,7 +7097,7 @@ See also: `SNESNEWTONTR`, `SNESNewtonTRSetPreCheck()`, `SNESNewtonTRPreCheck()` $(_doc_external("SNES/SNESNewtonTRGetPreCheck")) """ function SNESNewtonTRGetPreCheck(petsclib::PetscLibType, snes::AbstractSNES, noname::Ptr{Cvoid}) - error("SNESNewtonTRGetPreCheck: no generated method for these argument types") + throw(MethodError(SNESNewtonTRGetPreCheck, (petsclib, snes, noname))) end @for_petsc function SNESNewtonTRGetPreCheck(petsclib::$UnionPetscLib, snes::AbstractSNES, noname::Ptr{Cvoid} ) @@ -7135,7 +7135,7 @@ See also: `SNES`, `SNESNEWTONTR`, `SNESNewtonTRSetTolerances()` $(_doc_external("SNES/SNESNewtonTRGetTolerances")) """ function SNESNewtonTRGetTolerances(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESNewtonTRGetTolerances: no generated method for these argument types") + throw(MethodError(SNESNewtonTRGetTolerances, (petsclib, snes))) end @for_petsc function SNESNewtonTRGetTolerances(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -7181,7 +7181,7 @@ See also: `SNES`, `SNESNEWTONTR`, `SNESNewtonTRSetUpdateParameters()` $(_doc_external("SNES/SNESNewtonTRGetUpdateParameters")) """ function SNESNewtonTRGetUpdateParameters(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESNewtonTRGetUpdateParameters: no generated method for these argument types") + throw(MethodError(SNESNewtonTRGetUpdateParameters, (petsclib, snes))) end @for_petsc function SNESNewtonTRGetUpdateParameters(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -7229,7 +7229,7 @@ See also: `SNESNEWTONTR`, `SNESNewtonTRSetPostCheck()`, `SNESNewtonTRGetPostChec $(_doc_external("SNES/SNESNewtonTRPostCheck")) """ function SNESNewtonTRPostCheck(petsclib::PetscLibType, snes::AbstractSNES, X::AbstractPetscVec, Y::AbstractPetscVec, W::AbstractPetscVec) - error("SNESNewtonTRPostCheck: no generated method for these argument types") + throw(MethodError(SNESNewtonTRPostCheck, (petsclib, snes, X, Y, W))) end @for_petsc function SNESNewtonTRPostCheck(petsclib::$UnionPetscLib, snes::AbstractSNES, X::AbstractPetscVec, Y::AbstractPetscVec, W::AbstractPetscVec ) @@ -7271,7 +7271,7 @@ See also: `SNESNEWTONTR`, `SNESNewtonTRSetPreCheck()`, `SNESNewtonTRGetPreCheck( $(_doc_external("SNES/SNESNewtonTRPreCheck")) """ function SNESNewtonTRPreCheck(petsclib::PetscLibType, snes::AbstractSNES, X::AbstractPetscVec, Y::AbstractPetscVec) - error("SNESNewtonTRPreCheck: no generated method for these argument types") + throw(MethodError(SNESNewtonTRPreCheck, (petsclib, snes, X, Y))) end @for_petsc function SNESNewtonTRPreCheck(petsclib::$UnionPetscLib, snes::AbstractSNES, X::AbstractPetscVec, Y::AbstractPetscVec ) @@ -7306,7 +7306,7 @@ See also: `SNESNEWTONTR`, `SNESNewtonTRPreCheck()`, `SNESNewtonTRGetPreCheck()`, $(_doc_external("SNES/SNESNewtonTRSetFallbackType")) """ function SNESNewtonTRSetFallbackType(petsclib::PetscLibType, snes::AbstractSNES, ftype::SNESNewtonTRFallbackType) - error("SNESNewtonTRSetFallbackType: no generated method for these argument types") + throw(MethodError(SNESNewtonTRSetFallbackType, (petsclib, snes, ftype))) end @for_petsc function SNESNewtonTRSetFallbackType(petsclib::$UnionPetscLib, snes::AbstractSNES, ftype::SNESNewtonTRFallbackType ) @@ -7338,7 +7338,7 @@ See also: `SNESNEWTONTR`, `NormType` $(_doc_external("SNES/SNESNewtonTRSetNormType")) """ function SNESNewtonTRSetNormType(petsclib::PetscLibType, snes::AbstractSNES, norm::NormType) - error("SNESNewtonTRSetNormType: no generated method for these argument types") + throw(MethodError(SNESNewtonTRSetNormType, (petsclib, snes, norm))) end @for_petsc function SNESNewtonTRSetNormType(petsclib::$UnionPetscLib, snes::AbstractSNES, norm::NormType ) @@ -7383,7 +7383,7 @@ See also: `SNESNEWTONTR`, `SNESNewtonTRPostCheck()`, `SNESNewtonTRGetPostCheck() $(_doc_external("SNES/SNESNewtonTRSetPostCheck")) """ function SNESNewtonTRSetPostCheck(petsclib::PetscLibType, snes::AbstractSNES, func::external, ctx::Ptr{Cvoid}) - error("SNESNewtonTRSetPostCheck: no generated method for these argument types") + throw(MethodError(SNESNewtonTRSetPostCheck, (petsclib, snes, func, ctx))) end @for_petsc function SNESNewtonTRSetPostCheck(petsclib::$UnionPetscLib, snes::AbstractSNES, func::external, ctx::Ptr{Cvoid} ) @@ -7426,7 +7426,7 @@ See also: `SNESNEWTONTR`, `SNESNewtonTRPreCheck()`, `SNESNewtonTRGetPreCheck()`, $(_doc_external("SNES/SNESNewtonTRSetPreCheck")) """ function SNESNewtonTRSetPreCheck(petsclib::PetscLibType, snes::AbstractSNES, func::external, ctx::Ptr{Cvoid}) - error("SNESNewtonTRSetPreCheck: no generated method for these argument types") + throw(MethodError(SNESNewtonTRSetPreCheck, (petsclib, snes, func, ctx))) end @for_petsc function SNESNewtonTRSetPreCheck(petsclib::$UnionPetscLib, snes::AbstractSNES, func::external, ctx::Ptr{Cvoid} ) @@ -7458,7 +7458,7 @@ See also: `SNESNEWTONTR`, `SNESNewtonTRQNType`, `MATLMVM` $(_doc_external("SNES/SNESNewtonTRSetQNType")) """ function SNESNewtonTRSetQNType(petsclib::PetscLibType, snes::AbstractSNES, use::SNESNewtonTRQNType) - error("SNESNewtonTRSetQNType: no generated method for these argument types") + throw(MethodError(SNESNewtonTRSetQNType, (petsclib, snes, use))) end @for_petsc function SNESNewtonTRSetQNType(petsclib::$UnionPetscLib, snes::AbstractSNES, use::SNESNewtonTRQNType ) @@ -7497,7 +7497,7 @@ See also: `SNES`, `SNESNEWTONTR`, `SNESNewtonTRGetTolerances()` $(_doc_external("SNES/SNESNewtonTRSetTolerances")) """ function SNESNewtonTRSetTolerances(petsclib::PetscLibType, snes::AbstractSNES, delta_min::Real, delta_max::Real, delta_0::Real) - error("SNESNewtonTRSetTolerances: no generated method for these argument types") + throw(MethodError(SNESNewtonTRSetTolerances, (petsclib, snes, delta_min, delta_max, delta_0))) end @for_petsc function SNESNewtonTRSetTolerances(petsclib::$UnionPetscLib, snes::AbstractSNES, delta_min::$PetscReal, delta_max::$PetscReal, delta_0::$PetscReal ) @@ -7540,7 +7540,7 @@ See also: `SNES`, `SNESNEWTONTR`, `SNESSetObjective()`, `SNESNewtonTRGetUpdatePa $(_doc_external("SNES/SNESNewtonTRSetUpdateParameters")) """ function SNESNewtonTRSetUpdateParameters(petsclib::PetscLibType, snes::AbstractSNES, eta1::Real, eta2::Real, eta3::Real, t1::Real, t2::Real) - error("SNESNewtonTRSetUpdateParameters: no generated method for these argument types") + throw(MethodError(SNESNewtonTRSetUpdateParameters, (petsclib, snes, eta1, eta2, eta3, t1, t2))) end @for_petsc function SNESNewtonTRSetUpdateParameters(petsclib::$UnionPetscLib, snes::AbstractSNES, eta1::$PetscReal, eta2::$PetscReal, eta3::$PetscReal, t1::$PetscReal, t2::$PetscReal ) @@ -7582,7 +7582,7 @@ See also: `SNESSetObjective()`, `SNESSetFunction()`, `SNESComputeObjective()`, ` $(_doc_external("SNES/SNESObjectiveComputeFunctionDefaultFD")) """ function SNESObjectiveComputeFunctionDefaultFD(petsclib::PetscLibType, snes::AbstractSNES, X::AbstractPetscVec, F::AbstractPetscVec, ctx::Ptr{Cvoid}) - error("SNESObjectiveComputeFunctionDefaultFD: no generated method for these argument types") + throw(MethodError(SNESObjectiveComputeFunctionDefaultFD, (petsclib, snes, X, F, ctx))) end @for_petsc function SNESObjectiveComputeFunctionDefaultFD(petsclib::$UnionPetscLib, snes::AbstractSNES, X::AbstractPetscVec, F::AbstractPetscVec, ctx::Ptr{Cvoid} ) @@ -7617,7 +7617,7 @@ See also: `SNES`, `SNESSolve()`, `SNESDestroy()`, `SNESSetLagPreconditioner()`, $(_doc_external("SNES/SNESParametersInitialize")) """ function SNESParametersInitialize(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESParametersInitialize: no generated method for these argument types") + throw(MethodError(SNESParametersInitialize, (petsclib, snes))) end @for_petsc function SNESParametersInitialize(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -7651,7 +7651,7 @@ See also: `SNESPATCH`, `PCPATCH`, `PCPatchSetCellNumbering()`, `PetscSection` $(_doc_external("SNES/SNESPatchSetCellNumbering")) """ function SNESPatchSetCellNumbering(petsclib::PetscLibType, snes::AbstractSNES, cellNumbering::PetscSection) - error("SNESPatchSetCellNumbering: no generated method for these argument types") + throw(MethodError(SNESPatchSetCellNumbering, (petsclib, snes, cellNumbering))) end @for_petsc function SNESPatchSetCellNumbering(petsclib::$UnionPetscLib, snes::AbstractSNES, cellNumbering::PetscSection ) @@ -7697,7 +7697,7 @@ See also: `SNESPATCH`, `PCPATCH`, `PCPatchSetComputeFunction()`, `SNESPatchSetCo $(_doc_external("SNES/SNESPatchSetComputeFunction")) """ function SNESPatchSetComputeFunction(petsclib::PetscLibType, snes::AbstractSNES, func::external, ctx::Ptr{Cvoid}) - error("SNESPatchSetComputeFunction: no generated method for these argument types") + throw(MethodError(SNESPatchSetComputeFunction, (petsclib, snes, func, ctx))) end @for_petsc function SNESPatchSetComputeFunction(petsclib::$UnionPetscLib, snes::AbstractSNES, func::external, ctx::Ptr{Cvoid} ) @@ -7743,7 +7743,7 @@ See also: `SNESPATCH`, `PCPATCH`, `PCPatchSetComputeOperator()`, `SNESPatchSetCo $(_doc_external("SNES/SNESPatchSetComputeOperator")) """ function SNESPatchSetComputeOperator(petsclib::PetscLibType, snes::AbstractSNES, func::external, ctx::Ptr{Cvoid}) - error("SNESPatchSetComputeOperator: no generated method for these argument types") + throw(MethodError(SNESPatchSetComputeOperator, (petsclib, snes, func, ctx))) end @for_petsc function SNESPatchSetComputeOperator(petsclib::$UnionPetscLib, snes::AbstractSNES, func::external, ctx::Ptr{Cvoid} ) @@ -7786,7 +7786,7 @@ See also: `SNESPATCH`, `PCPATCH`, `PCPatchSetConstructType()`, `PCPatchConstruct $(_doc_external("SNES/SNESPatchSetConstructType")) """ function SNESPatchSetConstructType(petsclib::PetscLibType, snes::AbstractSNES, ctype::PCPatchConstructType, func::external, ctx::Ptr{Cvoid}) - error("SNESPatchSetConstructType: no generated method for these argument types") + throw(MethodError(SNESPatchSetConstructType, (petsclib, snes, ctype, func, ctx))) end @for_petsc function SNESPatchSetConstructType(petsclib::$UnionPetscLib, snes::AbstractSNES, ctype::PCPatchConstructType, func::external, ctx::Ptr{Cvoid} ) @@ -7829,7 +7829,7 @@ See also: `SNESPATCH`, `PCPATCH`, `PCPatchSetDiscretisationInfo()`, `SNESPatchSe $(_doc_external("SNES/SNESPatchSetDiscretisationInfo")) """ function SNESPatchSetDiscretisationInfo(petsclib::PetscLibType, snes::AbstractSNES, nsubspaces::Integer, dms::Vector{<:AbstractPetscDM}, bs::AbstractVector{<:Number}, nodesPerCell::AbstractVector{<:Number}, cellNodeMap::Integer, subspaceOffsets::AbstractVector{<:Number}, numGhostBcs::Integer, ghostBcNodes::AbstractVector{<:Number}, numGlobalBcs::Integer, globalBcNodes::AbstractVector{<:Number}) - error("SNESPatchSetDiscretisationInfo: no generated method for these argument types") + throw(MethodError(SNESPatchSetDiscretisationInfo, (petsclib, snes, nsubspaces, dms, bs, nodesPerCell, cellNodeMap, subspaceOffsets, numGhostBcs, ghostBcNodes, numGlobalBcs, globalBcNodes))) end @for_petsc function SNESPatchSetDiscretisationInfo(petsclib::$UnionPetscLib, snes::AbstractSNES, nsubspaces::$PetscInt, dms::Vector{<:AbstractPetscDM}, bs::Vector{$PetscInt}, nodesPerCell::Vector{$PetscInt}, cellNodeMap::$PetscInt, subspaceOffsets::Vector{$PetscInt}, numGhostBcs::$PetscInt, ghostBcNodes::Vector{$PetscInt}, numGlobalBcs::$PetscInt, globalBcNodes::Vector{$PetscInt} ) @@ -7867,7 +7867,7 @@ See also: `SNES`, `SNESSetPicard()`, `SNESPicardComputeMFFunction()`, `SNESPicar $(_doc_external("SNES/SNESPicardComputeFunction")) """ function SNESPicardComputeFunction(petsclib::PetscLibType, snes::AbstractSNES, x::AbstractPetscVec, f::AbstractPetscVec, ctx::Ptr{Cvoid}) - error("SNESPicardComputeFunction: no generated method for these argument types") + throw(MethodError(SNESPicardComputeFunction, (petsclib, snes, x, f, ctx))) end @for_petsc function SNESPicardComputeFunction(petsclib::$UnionPetscLib, snes::AbstractSNES, x::AbstractPetscVec, f::AbstractPetscVec, ctx::Ptr{Cvoid} ) @@ -7904,7 +7904,7 @@ See also: `SNES`, `SNESSetPicard()`, `SNESPicardComputeFunction()`, `SNESPicardC $(_doc_external("SNES/SNESPicardComputeJacobian")) """ function SNESPicardComputeJacobian(petsclib::PetscLibType, snes::AbstractSNES, x1::AbstractPetscVec, J::AbstractPetscMat, B::AbstractPetscMat, ctx::Ptr{Cvoid}) - error("SNESPicardComputeJacobian: no generated method for these argument types") + throw(MethodError(SNESPicardComputeJacobian, (petsclib, snes, x1, J, B, ctx))) end @for_petsc function SNESPicardComputeJacobian(petsclib::$UnionPetscLib, snes::AbstractSNES, x1::AbstractPetscVec, J::AbstractPetscMat, B::AbstractPetscMat, ctx::Ptr{Cvoid} ) @@ -7942,7 +7942,7 @@ See also: `SNES`, `SNESSetPicard()`, `SNESPicardComputeFunction()`, `SNESPicardC $(_doc_external("SNES/SNESPicardComputeMFFunction")) """ function SNESPicardComputeMFFunction(petsclib::PetscLibType, snes::AbstractSNES, x::AbstractPetscVec, f::AbstractPetscVec, ctx::Ptr{Cvoid}) - error("SNESPicardComputeMFFunction: no generated method for these argument types") + throw(MethodError(SNESPicardComputeMFFunction, (petsclib, snes, x, f, ctx))) end @for_petsc function SNESPicardComputeMFFunction(petsclib::$UnionPetscLib, snes::AbstractSNES, x::AbstractPetscVec, f::AbstractPetscVec, ctx::Ptr{Cvoid} ) @@ -7977,7 +7977,7 @@ See also: `SNESComputeJacobianDefaultColor()`, `MatEliminateZeros()`, `MatFDColo $(_doc_external("SNES/SNESPruneJacobianColor")) """ function SNESPruneJacobianColor(petsclib::PetscLibType, snes::AbstractSNES, J::AbstractPetscMat, B::AbstractPetscMat) - error("SNESPruneJacobianColor: no generated method for these argument types") + throw(MethodError(SNESPruneJacobianColor, (petsclib, snes, J, B))) end @for_petsc function SNESPruneJacobianColor(petsclib::$UnionPetscLib, snes::AbstractSNES, J::AbstractPetscMat, B::AbstractPetscMat ) @@ -8013,7 +8013,7 @@ See also: `SNES`, `SNESCreate()`, `SNESSetType()`, `SNESPYTHON`, `PetscPythonIni $(_doc_external("SNES/SNESPythonGetType")) """ function SNESPythonGetType(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESPythonGetType: no generated method for these argument types") + throw(MethodError(SNESPythonGetType, (petsclib, snes))) end @for_petsc function SNESPythonGetType(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -8052,7 +8052,7 @@ See also: `SNES`, `SNESCreate()`, `SNESSetType()`, `SNESPYTHON`, `PetscPythonIni $(_doc_external("SNES/SNESPythonSetType")) """ function SNESPythonSetType(petsclib::PetscLibType, snes::AbstractSNES, pyname::String) - error("SNESPythonSetType: no generated method for these argument types") + throw(MethodError(SNESPythonSetType, (petsclib, snes, pyname))) end @for_petsc function SNESPythonSetType(petsclib::$UnionPetscLib, snes::AbstractSNES, pyname::String ) @@ -8091,7 +8091,7 @@ See also: `SNES`, `SNESQN`, `SNESQNRestartType`, `SNES_QN_RESTART_NONE`, `SNES_Q $(_doc_external("SNES/SNESQNSetRestartType")) """ function SNESQNSetRestartType(petsclib::PetscLibType, snes::AbstractSNES, rtype::SNESQNRestartType) - error("SNESQNSetRestartType: no generated method for these argument types") + throw(MethodError(SNESQNSetRestartType, (petsclib, snes, rtype))) end @for_petsc function SNESQNSetRestartType(petsclib::$UnionPetscLib, snes::AbstractSNES, rtype::SNESQNRestartType ) @@ -8128,7 +8128,7 @@ See also: `SNES`, `SNESQN`, `SNESLineSearch`, `SNESQNScaleType`, `SNESSetJacobia $(_doc_external("SNES/SNESQNSetScaleType")) """ function SNESQNSetScaleType(petsclib::PetscLibType, snes::AbstractSNES, stype::SNESQNScaleType) - error("SNESQNSetScaleType: no generated method for these argument types") + throw(MethodError(SNESQNSetScaleType, (petsclib, snes, stype))) end @for_petsc function SNESQNSetScaleType(petsclib::$UnionPetscLib, snes::AbstractSNES, stype::SNESQNScaleType ) @@ -8165,7 +8165,7 @@ See also: `SNESQN`, `SNES_QN_LBFGS`, `SNES_QN_BROYDEN`, `SNES_QN_BADBROYDEN`, `S $(_doc_external("SNES/SNESQNSetType")) """ function SNESQNSetType(petsclib::PetscLibType, snes::AbstractSNES, qtype::SNESQNType) - error("SNESQNSetType: no generated method for these argument types") + throw(MethodError(SNESQNSetType, (petsclib, snes, qtype))) end @for_petsc function SNESQNSetType(petsclib::$UnionPetscLib, snes::AbstractSNES, qtype::SNESQNType ) @@ -8199,7 +8199,7 @@ See also: `SNESRegisterAll()`, `SNESRegisterDestroy()` $(_doc_external("SNES/SNESRegister")) """ function SNESRegister(petsclib::PetscLibType, sname::String, fnc::external) - error("SNESRegister: no generated method for these argument types") + throw(MethodError(SNESRegister, (petsclib, sname, fnc))) end @for_petsc function SNESRegister(petsclib::$UnionPetscLib, sname::String, fnc::external ) @@ -8232,7 +8232,7 @@ See also: `SNES`, `SNESDestroy()`, `SNESCreate()`, `SNESSetUp()`, `SNESSolve()` $(_doc_external("SNES/SNESReset")) """ function SNESReset(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESReset: no generated method for these argument types") + throw(MethodError(SNESReset, (petsclib, snes))) end @for_petsc function SNESReset(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -8265,7 +8265,7 @@ See also: `SNESGetNumberFunctionEvals()`, `SNESGetLinearSolveIterations()`, `SNE $(_doc_external("SNES/SNESResetCounters")) """ function SNESResetCounters(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESResetCounters: no generated method for these argument types") + throw(MethodError(SNESResetCounters, (petsclib, snes))) end @for_petsc function SNESResetCounters(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -8298,7 +8298,7 @@ See also: `SNES`, `SNESSetFromOptions()`, `SNESSetOptionsPrefix()` $(_doc_external("SNES/SNESResetFromOptions")) """ function SNESResetFromOptions(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESResetFromOptions: no generated method for these argument types") + throw(MethodError(SNESResetFromOptions, (petsclib, snes))) end @for_petsc function SNESResetFromOptions(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -8332,7 +8332,7 @@ See also: `SNES`, `SNESFAS`, `SNESSolve()`, `SNESGetAlwaysComputesFinalResidual( $(_doc_external("SNES/SNESSetAlwaysComputesFinalResidual")) """ function SNESSetAlwaysComputesFinalResidual(petsclib::PetscLibType, snes::AbstractSNES, flg::PetscBool) - error("SNESSetAlwaysComputesFinalResidual: no generated method for these argument types") + throw(MethodError(SNESSetAlwaysComputesFinalResidual, (petsclib, snes, flg))) end @for_petsc function SNESSetAlwaysComputesFinalResidual(petsclib::$UnionPetscLib, snes::AbstractSNES, flg::PetscBool ) @@ -8366,7 +8366,7 @@ See also: `SNES`, `SNESSetComputeApplicationContext()`, `SNESGetApplicationConte $(_doc_external("SNES/SNESSetApplicationContext")) """ function SNESSetApplicationContext(petsclib::PetscLibType, snes::AbstractSNES, ctx::Ptr{Cvoid}) - error("SNESSetApplicationContext: no generated method for these argument types") + throw(MethodError(SNESSetApplicationContext, (petsclib, snes, ctx))) end @for_petsc function SNESSetApplicationContext(petsclib::$UnionPetscLib, snes::AbstractSNES, ctx::Ptr{Cvoid} ) @@ -8401,7 +8401,7 @@ See also: `SNES`, `SNESConvergedReason`, `SNESCreate()`, `SNESSetFunction()`, `S $(_doc_external("SNES/SNESSetCheckJacobianDomainError")) """ function SNESSetCheckJacobianDomainError(petsclib::PetscLibType, snes::AbstractSNES, flg::PetscBool) - error("SNESSetCheckJacobianDomainError: no generated method for these argument types") + throw(MethodError(SNESSetCheckJacobianDomainError, (petsclib, snes, flg))) end @for_petsc function SNESSetCheckJacobianDomainError(petsclib::$UnionPetscLib, snes::AbstractSNES, flg::PetscBool ) @@ -8441,7 +8441,7 @@ See also: `SNESGetApplicationContext()`, `SNESSetApplicationContext()`, `PetscCt $(_doc_external("SNES/SNESSetComputeApplicationContext")) """ function SNESSetComputeApplicationContext(petsclib::PetscLibType, snes::AbstractSNES, compute::external, destroy::Ptr{Cvoid}) - error("SNESSetComputeApplicationContext: no generated method for these argument types") + throw(MethodError(SNESSetComputeApplicationContext, (petsclib, snes, compute, destroy))) end @for_petsc function SNESSetComputeApplicationContext(petsclib::$UnionPetscLib, snes::AbstractSNES, compute::external, destroy::Ptr{Cvoid} ) @@ -8477,7 +8477,7 @@ See also: `SNES`, `SNESSolve()`, `SNESSetFunction()`, `SNESGetFunction()`, `SNES $(_doc_external("SNES/SNESSetComputeInitialGuess")) """ function SNESSetComputeInitialGuess(petsclib::PetscLibType, snes::AbstractSNES, func::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("SNESSetComputeInitialGuess: no generated method for these argument types") + throw(MethodError(SNESSetComputeInitialGuess, (petsclib, snes, func, ctx))) end @for_petsc function SNESSetComputeInitialGuess(petsclib::$UnionPetscLib, snes::AbstractSNES, func::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -8512,7 +8512,7 @@ See also: `SNESGetConvergedReason()`, `SNESSetConvergenceTest()`, `SNESConverged $(_doc_external("SNES/SNESSetConvergedReason")) """ function SNESSetConvergedReason(petsclib::PetscLibType, snes::AbstractSNES, reason::SNESConvergedReason) - error("SNESSetConvergedReason: no generated method for these argument types") + throw(MethodError(SNESSetConvergedReason, (petsclib, snes, reason))) end @for_petsc function SNESSetConvergedReason(petsclib::$UnionPetscLib, snes::AbstractSNES, reason::SNESConvergedReason ) @@ -8550,7 +8550,7 @@ See also: `SNES`, `SNESSolve()`, `SNESGetConvergenceHistory()` $(_doc_external("SNES/SNESSetConvergenceHistory")) """ function SNESSetConvergenceHistory(petsclib::PetscLibType, snes::AbstractSNES, a::AbstractVector{<:Number}, its::AbstractVector{<:Number}, na::Integer, reset::PetscBool) - error("SNESSetConvergenceHistory: no generated method for these argument types") + throw(MethodError(SNESSetConvergenceHistory, (petsclib, snes, a, its, na, reset))) end @for_petsc function SNESSetConvergenceHistory(petsclib::$UnionPetscLib, snes::AbstractSNES, a::Vector{$PetscReal}, its::Vector{$PetscInt}, na::$PetscInt, reset::PetscBool ) @@ -8596,7 +8596,7 @@ See also: `SNES`, `SNESConvergedDefault()`, `SNESConvergedSkip()` $(_doc_external("SNES/SNESSetConvergenceTest")) """ function SNESSetConvergenceTest(petsclib::PetscLibType, snes::AbstractSNES, func::external, ctx::Ptr{Cvoid}, destroy::Ptr{Cvoid}) - error("SNESSetConvergenceTest: no generated method for these argument types") + throw(MethodError(SNESSetConvergenceTest, (petsclib, snes, func, ctx, destroy))) end @for_petsc function SNESSetConvergenceTest(petsclib::$UnionPetscLib, snes::AbstractSNES, func::external, ctx::Ptr{Cvoid}, destroy::Ptr{Cvoid} ) @@ -8631,7 +8631,7 @@ See also: `SNESGetNumberFunctionEvals()`, `SNESGetLinearSolveIterations()`, `SNE $(_doc_external("SNES/SNESSetCountersReset")) """ function SNESSetCountersReset(petsclib::PetscLibType, snes::AbstractSNES, reset::PetscBool) - error("SNESSetCountersReset: no generated method for these argument types") + throw(MethodError(SNESSetCountersReset, (petsclib, snes, reset))) end @for_petsc function SNESSetCountersReset(petsclib::$UnionPetscLib, snes::AbstractSNES, reset::PetscBool ) @@ -8665,7 +8665,7 @@ See also: `DM`, `SNES`, `SNESGetDM()`, `KSPSetDM()`, `KSPGetDM()` $(_doc_external("SNES/SNESSetDM")) """ function SNESSetDM(petsclib::PetscLibType, snes::AbstractSNES, dm::AbstractPetscDM) - error("SNESSetDM: no generated method for these argument types") + throw(MethodError(SNESSetDM, (petsclib, snes, dm))) end @for_petsc function SNESSetDM(petsclib::$UnionPetscLib, snes::AbstractSNES, dm::AbstractPetscDM ) @@ -8703,7 +8703,7 @@ See also: `SNES`, `SNESSolve()`, `SNESSetTolerances()`, `SNESGetDivergenceTolera $(_doc_external("SNES/SNESSetDivergenceTolerance")) """ function SNESSetDivergenceTolerance(petsclib::PetscLibType, snes::AbstractSNES, divtol::Real) - error("SNESSetDivergenceTolerance: no generated method for these argument types") + throw(MethodError(SNESSetDivergenceTolerance, (petsclib, snes, divtol))) end @for_petsc function SNESSetDivergenceTolerance(petsclib::$UnionPetscLib, snes::AbstractSNES, divtol::$PetscReal ) @@ -8740,7 +8740,7 @@ See also: `SNES`, `SNESGetErrorIfNotConverged()`, `KSPGetErrorIfNotConverged()`, $(_doc_external("SNES/SNESSetErrorIfNotConverged")) """ function SNESSetErrorIfNotConverged(petsclib::PetscLibType, snes::AbstractSNES, flg::PetscBool) - error("SNESSetErrorIfNotConverged: no generated method for these argument types") + throw(MethodError(SNESSetErrorIfNotConverged, (petsclib, snes, flg))) end @for_petsc function SNESSetErrorIfNotConverged(petsclib::$UnionPetscLib, snes::AbstractSNES, flg::PetscBool ) @@ -8777,7 +8777,7 @@ See also: `SNES`, `TS`, `SNESSetDivergenceTolerance()` $(_doc_external("SNES/SNESSetForceIteration")) """ function SNESSetForceIteration(petsclib::PetscLibType, snes::AbstractSNES, force::PetscBool) - error("SNESSetForceIteration: no generated method for these argument types") + throw(MethodError(SNESSetForceIteration, (petsclib, snes, force))) end @for_petsc function SNESSetForceIteration(petsclib::$UnionPetscLib, snes::AbstractSNES, force::PetscBool ) @@ -8855,7 +8855,7 @@ See also: `SNESType`, `SNESSetOptionsPrefix()`, `SNESResetFromOptions()`, `SNES` $(_doc_external("SNES/SNESSetFromOptions")) """ function SNESSetFromOptions(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESSetFromOptions: no generated method for these argument types") + throw(MethodError(SNESSetFromOptions, (petsclib, snes))) end @for_petsc function SNESSetFromOptions(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -8894,7 +8894,7 @@ See also: `SNES`, `SNESGetFunction()`, `SNESComputeFunction()`, `SNESSetJacobian $(_doc_external("SNES/SNESSetFunction")) """ function SNESSetFunction(petsclib::PetscLibType, snes::AbstractSNES, r::AbstractPetscVec, f::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("SNESSetFunction: no generated method for these argument types") + throw(MethodError(SNESSetFunction, (petsclib, snes, r, f, ctx))) end @for_petsc function SNESSetFunction(petsclib::$UnionPetscLib, snes::AbstractSNES, r::AbstractPetscVec, f::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -8930,7 +8930,7 @@ See also: `SNESCreate()`, `SNESSetFunction()`, `SNESFunctionFn`, `SNESSetJacobia $(_doc_external("SNES/SNESSetFunctionDomainError")) """ function SNESSetFunctionDomainError(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESSetFunctionDomainError: no generated method for these argument types") + throw(MethodError(SNESSetFunctionDomainError, (petsclib, snes))) end @for_petsc function SNESSetFunctionDomainError(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -8964,7 +8964,7 @@ See also: `SNES`, `SNESGetNormSchedule()`, `SNESComputeFunction()`, `VecNorm()`, $(_doc_external("SNES/SNESSetFunctionNorm")) """ function SNESSetFunctionNorm(petsclib::PetscLibType, snes::AbstractSNES, norm::Real) - error("SNESSetFunctionNorm: no generated method for these argument types") + throw(MethodError(SNESSetFunctionNorm, (petsclib, snes, norm))) end @for_petsc function SNESSetFunctionNorm(petsclib::$UnionPetscLib, snes::AbstractSNES, norm::$PetscReal ) @@ -9004,7 +9004,7 @@ See also: `SNES`, `SNESFunctionType`, `SNESGetNormSchedule()`, `SNESComputeFunct $(_doc_external("SNES/SNESSetFunctionType")) """ function SNESSetFunctionType(petsclib::PetscLibType, snes::AbstractSNES, type::SNESFunctionType) - error("SNESSetFunctionType: no generated method for these argument types") + throw(MethodError(SNESSetFunctionType, (petsclib, snes, type))) end @for_petsc function SNESSetFunctionType(petsclib::$UnionPetscLib, snes::AbstractSNES, type::SNESFunctionType ) @@ -9042,7 +9042,7 @@ See also: `SNES`, `SNESGetLagPreconditioner()`, `SNESSetLagJacobian()`, `SNESGet $(_doc_external("SNES/SNESSetGridSequence")) """ function SNESSetGridSequence(petsclib::PetscLibType, snes::AbstractSNES, steps::Integer) - error("SNESSetGridSequence: no generated method for these argument types") + throw(MethodError(SNESSetGridSequence, (petsclib, snes, steps))) end @for_petsc function SNESSetGridSequence(petsclib::$UnionPetscLib, snes::AbstractSNES, steps::$PetscInt ) @@ -9076,7 +9076,7 @@ See also: `SNES`, `SNESFAS`, `SNESSetFunction()`, `SNESComputeFunction()`, `SNES $(_doc_external("SNES/SNESSetInitialFunction")) """ function SNESSetInitialFunction(petsclib::PetscLibType, snes::AbstractSNES, f::AbstractPetscVec) - error("SNESSetInitialFunction: no generated method for these argument types") + throw(MethodError(SNESSetInitialFunction, (petsclib, snes, f))) end @for_petsc function SNESSetInitialFunction(petsclib::$UnionPetscLib, snes::AbstractSNES, f::AbstractPetscVec ) @@ -9110,7 +9110,7 @@ See also: `SNESGetLinearSolveIterations()` $(_doc_external("SNES/SNESSetIterationNumber")) """ function SNESSetIterationNumber(petsclib::PetscLibType, snes::AbstractSNES, iter::Integer) - error("SNESSetIterationNumber: no generated method for these argument types") + throw(MethodError(SNESSetIterationNumber, (petsclib, snes, iter))) end @for_petsc function SNESSetIterationNumber(petsclib::$UnionPetscLib, snes::AbstractSNES, iter::$PetscInt ) @@ -9150,7 +9150,7 @@ See also: `SNES`, `KSPSetOperators()`, `SNESSetFunction()`, `MatMFFDComputeJacob $(_doc_external("SNES/SNESSetJacobian")) """ function SNESSetJacobian(petsclib::PetscLibType, snes::AbstractSNES, Amat::AbstractPetscMat, Pmat::AbstractPetscMat, J::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("SNESSetJacobian: no generated method for these argument types") + throw(MethodError(SNESSetJacobian, (petsclib, snes, Amat, Pmat, J, ctx))) end @for_petsc function SNESSetJacobian(petsclib::$UnionPetscLib, snes::AbstractSNES, Amat::AbstractPetscMat, Pmat::AbstractPetscMat, J::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -9184,7 +9184,7 @@ See also: `SNESCreate()`, `SNESSetFunction()`, `SNESFunctionFn`, `SNESSetFunctio $(_doc_external("SNES/SNESSetJacobianDomainError")) """ function SNESSetJacobianDomainError(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESSetJacobianDomainError: no generated method for these argument types") + throw(MethodError(SNESSetJacobianDomainError, (petsclib, snes))) end @for_petsc function SNESSetJacobianDomainError(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -9218,7 +9218,7 @@ See also: `SNES`, `KSP`, `KSPGetPC()`, `SNESCreate()`, `KSPCreate()` $(_doc_external("SNES/SNESSetKSP")) """ function SNESSetKSP(petsclib::PetscLibType, snes::AbstractSNES, ksp::AbstractKSP) - error("SNESSetKSP: no generated method for these argument types") + throw(MethodError(SNESSetKSP, (petsclib, snes, ksp))) end @for_petsc function SNESSetKSP(petsclib::$UnionPetscLib, snes::AbstractSNES, ksp::AbstractKSP ) @@ -9260,7 +9260,7 @@ See also: `SNES`, `SNESGetLagPreconditioner()`, `SNESSetLagPreconditioner()`, `S $(_doc_external("SNES/SNESSetLagJacobian")) """ function SNESSetLagJacobian(petsclib::PetscLibType, snes::AbstractSNES, lag::Integer) - error("SNESSetLagJacobian: no generated method for these argument types") + throw(MethodError(SNESSetLagJacobian, (petsclib, snes, lag))) end @for_petsc function SNESSetLagJacobian(petsclib::$UnionPetscLib, snes::AbstractSNES, lag::$PetscInt ) @@ -9300,7 +9300,7 @@ See also: `SNES`, `SNESSetLagPreconditionerPersists()`, `SNESSetLagJacobian()`, $(_doc_external("SNES/SNESSetLagJacobianPersists")) """ function SNESSetLagJacobianPersists(petsclib::PetscLibType, snes::AbstractSNES, flg::PetscBool) - error("SNESSetLagJacobianPersists: no generated method for these argument types") + throw(MethodError(SNESSetLagJacobianPersists, (petsclib, snes, flg))) end @for_petsc function SNESSetLagJacobianPersists(petsclib::$UnionPetscLib, snes::AbstractSNES, flg::PetscBool ) @@ -9342,7 +9342,7 @@ See also: `SNESGetLagPreconditioner()`, `SNESSetLagJacobian()`, `SNESGetLagJacob $(_doc_external("SNES/SNESSetLagPreconditioner")) """ function SNESSetLagPreconditioner(petsclib::PetscLibType, snes::AbstractSNES, lag::Integer) - error("SNESSetLagPreconditioner: no generated method for these argument types") + throw(MethodError(SNESSetLagPreconditioner, (petsclib, snes, lag))) end @for_petsc function SNESSetLagPreconditioner(petsclib::$UnionPetscLib, snes::AbstractSNES, lag::$PetscInt ) @@ -9382,7 +9382,7 @@ See also: `SNES`, `SNESSetLagJacobianPersists()`, `SNESSetLagJacobian()`, `SNESG $(_doc_external("SNES/SNESSetLagPreconditionerPersists")) """ function SNESSetLagPreconditionerPersists(petsclib::PetscLibType, snes::AbstractSNES, flg::PetscBool) - error("SNESSetLagPreconditionerPersists: no generated method for these argument types") + throw(MethodError(SNESSetLagPreconditionerPersists, (petsclib, snes, flg))) end @for_petsc function SNESSetLagPreconditionerPersists(petsclib::$UnionPetscLib, snes::AbstractSNES, flg::PetscBool ) @@ -9416,7 +9416,7 @@ See also: `SNES`, `SNESLineSearch`, `SNESGetLineSearch()` $(_doc_external("SNES/SNESSetLineSearch")) """ function SNESSetLineSearch(petsclib::PetscLibType, snes::AbstractSNES, linesearch::SNESLineSearch) - error("SNESSetLineSearch: no generated method for these argument types") + throw(MethodError(SNESSetLineSearch, (petsclib, snes, linesearch))) end @for_petsc function SNESSetLineSearch(petsclib::$UnionPetscLib, snes::AbstractSNES, linesearch::SNESLineSearch ) @@ -9454,7 +9454,7 @@ See also: `SNESSetErrorIfNotConverged()`, `SNESGetLinearSolveFailures()`, `SNESG $(_doc_external("SNES/SNESSetMaxLinearSolveFailures")) """ function SNESSetMaxLinearSolveFailures(petsclib::PetscLibType, snes::AbstractSNES, maxFails::Integer) - error("SNESSetMaxLinearSolveFailures: no generated method for these argument types") + throw(MethodError(SNESSetMaxLinearSolveFailures, (petsclib, snes, maxFails))) end @for_petsc function SNESSetMaxLinearSolveFailures(petsclib::$UnionPetscLib, snes::AbstractSNES, maxFails::$PetscInt ) @@ -9493,7 +9493,7 @@ See also: `SNESSetErrorIfNotConverged()`, `SNESGetMaxLinearSolveFailures()`, `SN $(_doc_external("SNES/SNESSetMaxNonlinearStepFailures")) """ function SNESSetMaxNonlinearStepFailures(petsclib::PetscLibType, snes::AbstractSNES, maxFails::Integer) - error("SNESSetMaxNonlinearStepFailures: no generated method for these argument types") + throw(MethodError(SNESSetMaxNonlinearStepFailures, (petsclib, snes, maxFails))) end @for_petsc function SNESSetMaxNonlinearStepFailures(petsclib::$UnionPetscLib, snes::AbstractSNES, maxFails::$PetscInt ) @@ -9527,7 +9527,7 @@ See also: `SNESNGS`, `SNESGetNGS()`, `SNESNCG`, `SNESGetFunction()`, `SNESComput $(_doc_external("SNES/SNESSetNGS")) """ function SNESSetNGS(petsclib::PetscLibType, snes::AbstractSNES, f::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("SNESSetNGS: no generated method for these argument types") + throw(MethodError(SNESSetNGS, (petsclib, snes, f, ctx))) end @for_petsc function SNESSetNGS(petsclib::$UnionPetscLib, snes::AbstractSNES, f::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -9564,7 +9564,7 @@ See also: `SNES`, `SNESNGS`, `SNESFAS`, `SNESGetNPC()`, `SNESHasNPC()` $(_doc_external("SNES/SNESSetNPC")) """ function SNESSetNPC(petsclib::PetscLibType, snes::AbstractSNES, npc::AbstractSNES) - error("SNESSetNPC: no generated method for these argument types") + throw(MethodError(SNESSetNPC, (petsclib, snes, npc))) end @for_petsc function SNESSetNPC(petsclib::$UnionPetscLib, snes::AbstractSNES, npc::AbstractSNES ) @@ -9607,7 +9607,7 @@ See also: `SNES`, `SNESGetNPC()`, `SNESNRICHARDSON`, `SNESNCG`, `SNESType`, `SNE $(_doc_external("SNES/SNESSetNPCSide")) """ function SNESSetNPCSide(petsclib::PetscLibType, snes::AbstractSNES, side::PCSide) - error("SNESSetNPCSide: no generated method for these argument types") + throw(MethodError(SNESSetNPCSide, (petsclib, snes, side))) end @for_petsc function SNESSetNPCSide(petsclib::$UnionPetscLib, snes::AbstractSNES, side::PCSide ) @@ -9645,7 +9645,7 @@ See also: `SNESNormSchedule`, `SNESGetNormSchedule()`, `SNESComputeFunction()`, $(_doc_external("SNES/SNESSetNormSchedule")) """ function SNESSetNormSchedule(petsclib::PetscLibType, snes::AbstractSNES, normschedule::SNESNormSchedule) - error("SNESSetNormSchedule: no generated method for these argument types") + throw(MethodError(SNESSetNormSchedule, (petsclib, snes, normschedule))) end @for_petsc function SNESSetNormSchedule(petsclib::$UnionPetscLib, snes::AbstractSNES, normschedule::SNESNormSchedule ) @@ -9681,7 +9681,7 @@ See also: `SNES`, `SNESLineSearch()`, `SNESGetObjective()`, `SNESComputeObjectiv $(_doc_external("SNES/SNESSetObjective")) """ function SNESSetObjective(petsclib::PetscLibType, snes::AbstractSNES, obj::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("SNESSetObjective: no generated method for these argument types") + throw(MethodError(SNESSetObjective, (petsclib, snes, obj, ctx))) end @for_petsc function SNESSetObjective(petsclib::$UnionPetscLib, snes::AbstractSNES, obj::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -9717,7 +9717,7 @@ See also: `SNESCreate()`, `SNESSetFunction()`, `SNESFunctionFn`, `SNESSetJacobia $(_doc_external("SNES/SNESSetObjectiveDomainError")) """ function SNESSetObjectiveDomainError(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESSetObjectiveDomainError: no generated method for these argument types") + throw(MethodError(SNESSetObjectiveDomainError, (petsclib, snes))) end @for_petsc function SNESSetObjectiveDomainError(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -9752,7 +9752,7 @@ See also: `SNES`, `SNESSetFromOptions()`, `SNESAppendOptionsPrefix()` $(_doc_external("SNES/SNESSetOptionsPrefix")) """ function SNESSetOptionsPrefix(petsclib::PetscLibType, snes::AbstractSNES, prefix::String) - error("SNESSetOptionsPrefix: no generated method for these argument types") + throw(MethodError(SNESSetOptionsPrefix, (petsclib, snes, prefix))) end @for_petsc function SNESSetOptionsPrefix(petsclib::$UnionPetscLib, snes::AbstractSNES, prefix::String ) @@ -9792,7 +9792,7 @@ See also: `SNES`, `SNESGetFunction()`, `SNESSetFunction()`, `SNESComputeFunction $(_doc_external("SNES/SNESSetPicard")) """ function SNESSetPicard(petsclib::PetscLibType, snes::AbstractSNES, r::AbstractPetscVec, bp::Ptr{Cvoid}, Amat::AbstractPetscMat, Pmat::AbstractPetscMat, J::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("SNESSetPicard: no generated method for these argument types") + throw(MethodError(SNESSetPicard, (petsclib, snes, r, bp, Amat, Pmat, J, ctx))) end @for_petsc function SNESSetPicard(petsclib::$UnionPetscLib, snes::AbstractSNES, r::AbstractPetscVec, bp::Ptr{Cvoid}, Amat::AbstractPetscMat, Pmat::AbstractPetscMat, J::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -9826,7 +9826,7 @@ See also: `SNES`, `SNESSolve()`, `SNESGetSolution()`, `Vec` $(_doc_external("SNES/SNESSetSolution")) """ function SNESSetSolution(petsclib::PetscLibType, snes::AbstractSNES, u::AbstractPetscVec) - error("SNESSetSolution: no generated method for these argument types") + throw(MethodError(SNESSetSolution, (petsclib, snes, u))) end @for_petsc function SNESSetSolution(petsclib::$UnionPetscLib, snes::AbstractSNES, u::AbstractPetscVec ) @@ -9871,7 +9871,7 @@ See also: `SNESSolve()`, `SNES`, `SNESSetDivergenceTolerance()`, `SNESSetForceIt $(_doc_external("SNES/SNESSetTolerances")) """ function SNESSetTolerances(petsclib::PetscLibType, snes::AbstractSNES, abstol::Real, rtol::Real, stol::Real, maxit::Integer, maxf::Integer) - error("SNESSetTolerances: no generated method for these argument types") + throw(MethodError(SNESSetTolerances, (petsclib, snes, abstol, rtol, stol, maxit, maxf))) end @for_petsc function SNESSetTolerances(petsclib::$UnionPetscLib, snes::AbstractSNES, abstol::$PetscReal, rtol::$PetscReal, stol::$PetscReal, maxit::$PetscInt, maxf::$PetscInt ) @@ -9908,7 +9908,7 @@ See also: `SNES`, `SNESSolve()`, `SNESType`, `SNESCreate()`, `SNESDestroy()`, `S $(_doc_external("SNES/SNESSetType")) """ function SNESSetType(petsclib::PetscLibType, snes::AbstractSNES, type::String) - error("SNESSetType: no generated method for these argument types") + throw(MethodError(SNESSetType, (petsclib, snes, type))) end @for_petsc function SNESSetType(petsclib::$UnionPetscLib, snes::AbstractSNES, type::String ) @@ -9942,7 +9942,7 @@ See also: `SNES`, `SNESCreate()`, `SNESSolve()`, `SNESDestroy()`, `SNESSetFromOp $(_doc_external("SNES/SNESSetUp")) """ function SNESSetUp(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESSetUp: no generated method for these argument types") + throw(MethodError(SNESSetUp, (petsclib, snes))) end @for_petsc function SNESSetUp(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -9975,7 +9975,7 @@ See also: `SNES`, `SNESSetUp()` $(_doc_external("SNES/SNESSetUpMatrices")) """ function SNESSetUpMatrices(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESSetUpMatrices: no generated method for these argument types") + throw(MethodError(SNESSetUpMatrices, (petsclib, snes))) end @for_petsc function SNESSetUpMatrices(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -10013,7 +10013,7 @@ See also: `SNES`, `SNESSolve()`, `SNESSetJacobian()`, `SNESLineSearchSetPreCheck $(_doc_external("SNES/SNESSetUpdate")) """ function SNESSetUpdate(petsclib::PetscLibType, snes::AbstractSNES, func::Ptr{Cvoid}) - error("SNESSetUpdate: no generated method for these argument types") + throw(MethodError(SNESSetUpdate, (petsclib, snes, func))) end @for_petsc function SNESSetUpdate(petsclib::$UnionPetscLib, snes::AbstractSNES, func::Ptr{Cvoid} ) @@ -10055,7 +10055,7 @@ See also: `SNES`, `SNESGetUseMatrixFree()`, `MatCreateSNESMF()`, `SNESComputeJac $(_doc_external("SNES/SNESSetUseMatrixFree")) """ function SNESSetUseMatrixFree(petsclib::PetscLibType, snes::AbstractSNES, mf_operator::PetscBool, mf::PetscBool) - error("SNESSetUseMatrixFree: no generated method for these argument types") + throw(MethodError(SNESSetUseMatrixFree, (petsclib, snes, mf_operator, mf))) end @for_petsc function SNESSetUseMatrixFree(petsclib::$UnionPetscLib, snes::AbstractSNES, mf_operator::PetscBool, mf::PetscBool ) @@ -10087,7 +10087,7 @@ See also: `SNES` $(_doc_external("SNES/SNESSetWorkVecs")) """ function SNESSetWorkVecs(petsclib::PetscLibType, snes::AbstractSNES, nw::Integer) - error("SNESSetWorkVecs: no generated method for these argument types") + throw(MethodError(SNESSetWorkVecs, (petsclib, snes, nw))) end @for_petsc function SNESSetWorkVecs(petsclib::$UnionPetscLib, snes::AbstractSNES, nw::$PetscInt ) @@ -10123,7 +10123,7 @@ See also: `SNES`, `SNESSHELL`, `SNESCreateShell()`, `SNESShellSetContext()` $(_doc_external("SNES/SNESShellGetContext")) """ function SNESShellGetContext(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESShellGetContext: no generated method for these argument types") + throw(MethodError(SNESShellGetContext, (petsclib, snes))) end @for_petsc function SNESShellGetContext(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -10159,7 +10159,7 @@ See also: `SNES`, `SNESSHELL`, `SNESCreateShell()`, `SNESShellGetContext()` $(_doc_external("SNES/SNESShellSetContext")) """ function SNESShellSetContext(petsclib::PetscLibType, snes::AbstractSNES, ctx::Ptr{Cvoid}) - error("SNESShellSetContext: no generated method for these argument types") + throw(MethodError(SNESShellSetContext, (petsclib, snes, ctx))) end @for_petsc function SNESShellSetContext(petsclib::$UnionPetscLib, snes::AbstractSNES, ctx::Ptr{Cvoid} ) @@ -10197,7 +10197,7 @@ See also: `SNES`, `SNESSHELL`, `SNESShellSetContext()`, `SNESShellGetContext()` $(_doc_external("SNES/SNESShellSetSolve")) """ function SNESShellSetSolve(petsclib::PetscLibType, snes::AbstractSNES, solve::external) - error("SNESShellSetSolve: no generated method for these argument types") + throw(MethodError(SNESShellSetSolve, (petsclib, snes, solve))) end @for_petsc function SNESShellSetSolve(petsclib::$UnionPetscLib, snes::AbstractSNES, solve::external ) @@ -10234,7 +10234,7 @@ See also: `SNES`, `SNESCreate()`, `SNESDestroy()`, `SNESSetFunction()`, `SNESSet $(_doc_external("SNES/SNESSolve")) """ function SNESSolve(petsclib::PetscLibType, snes::AbstractSNES, b::Union{Ptr, AbstractPetscVec}, x::AbstractPetscVec) - error("SNESSolve: no generated method for these argument types") + throw(MethodError(SNESSolve, (petsclib, snes, b, x))) end @for_petsc function SNESSolve(petsclib::$UnionPetscLib, snes::AbstractSNES, b::Union{Ptr, AbstractPetscVec}, x::AbstractPetscVec ) @@ -10272,7 +10272,7 @@ See also: `SNESSetFunction()`, `MatFDColoringSetFunction()` $(_doc_external("TS/SNESTSFormFunction")) """ function SNESTSFormFunction(petsclib::PetscLibType, snes::AbstractSNES, U::AbstractPetscVec, F::AbstractPetscVec, ctx::Ptr{Cvoid}) - error("SNESTSFormFunction: no generated method for these argument types") + throw(MethodError(SNESTSFormFunction, (petsclib, snes, U, F, ctx))) end @for_petsc function SNESTSFormFunction(petsclib::$UnionPetscLib, snes::AbstractSNES, U::AbstractPetscVec, F::AbstractPetscVec, ctx::Ptr{Cvoid} ) @@ -10311,7 +10311,7 @@ See also: `SNESSetJacobian()` $(_doc_external("TS/SNESTSFormJacobian")) """ function SNESTSFormJacobian(petsclib::PetscLibType, snes::AbstractSNES, U::AbstractPetscVec, A::AbstractPetscMat, B::AbstractPetscMat, ctx::Ptr{Cvoid}) - error("SNESTSFormJacobian: no generated method for these argument types") + throw(MethodError(SNESTSFormJacobian, (petsclib, snes, U, A, B, ctx))) end @for_petsc function SNESTSFormJacobian(petsclib::$UnionPetscLib, snes::AbstractSNES, U::AbstractPetscVec, A::AbstractPetscMat, B::AbstractPetscMat, ctx::Ptr{Cvoid} ) @@ -10348,7 +10348,7 @@ See also: `SNESTestJacobian()`, `SNESSetFunction()`, `SNESComputeFunction()` $(_doc_external("SNES/SNESTestFunction")) """ function SNESTestFunction(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESTestFunction: no generated method for these argument types") + throw(MethodError(SNESTestFunction, (petsclib, snes))) end @for_petsc function SNESTestFunction(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -10389,7 +10389,7 @@ See also: `SNESTestFunction()`, `SNESSetJacobian()`, `SNESComputeJacobian()` $(_doc_external("SNES/SNESTestJacobian")) """ function SNESTestJacobian(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESTestJacobian: no generated method for these argument types") + throw(MethodError(SNESTestJacobian, (petsclib, snes))) end @for_petsc function SNESTestJacobian(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -10426,7 +10426,7 @@ See also: `SNES`, `SNESSolve()`, `SNESComputeFunction()` $(_doc_external("SNES/SNESTestLocalMin")) """ function SNESTestLocalMin(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESTestLocalMin: no generated method for these argument types") + throw(MethodError(SNESTestLocalMin, (petsclib, snes))) end @for_petsc function SNESTestLocalMin(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -10463,7 +10463,7 @@ See also: `SNES`, `SNESVINEWTONSSLS`, `SNESVIComputeMeritFunction()` $(_doc_external("SNES/SNESVIComputeFunction")) """ function SNESVIComputeFunction(petsclib::PetscLibType, snes::AbstractSNES, X::AbstractPetscVec, phi::AbstractPetscVec, functx::Ptr{Cvoid}) - error("SNESVIComputeFunction: no generated method for these argument types") + throw(MethodError(SNESVIComputeFunction, (petsclib, snes, X, phi, functx))) end @for_petsc function SNESVIComputeFunction(petsclib::$UnionPetscLib, snes::AbstractSNES, X::AbstractPetscVec, phi::AbstractPetscVec, functx::Ptr{Cvoid} ) @@ -10499,7 +10499,7 @@ See also: `SNES`, `SNESVINEWTONRSLS`, `SNESVINEWTONSSLS`, `SNESLineSearchSetVIFu $(_doc_external("SNES/SNESVIComputeInactiveSetFnorm")) """ function SNESVIComputeInactiveSetFnorm(petsclib::PetscLibType, snes::AbstractSNES, F::AbstractPetscVec, X::AbstractPetscVec) - error("SNESVIComputeInactiveSetFnorm: no generated method for these argument types") + throw(MethodError(SNESVIComputeInactiveSetFnorm, (petsclib, snes, F, X))) end @for_petsc function SNESVIComputeInactiveSetFnorm(petsclib::$UnionPetscLib, snes::AbstractSNES, F::AbstractPetscVec, X::AbstractPetscVec ) @@ -10539,7 +10539,7 @@ See also: `SNES`, `SNESVINEWTONRSLS`, `SNESVINEWTONSSLS` $(_doc_external("SNES/SNESVIComputeInactiveSetFtY")) """ function SNESVIComputeInactiveSetFtY(petsclib::PetscLibType, snes::AbstractSNES, F::AbstractPetscVec, X::AbstractPetscVec, Y::AbstractPetscVec) - error("SNESVIComputeInactiveSetFtY: no generated method for these argument types") + throw(MethodError(SNESVIComputeInactiveSetFtY, (petsclib, snes, F, X, Y))) end @for_petsc function SNESVIComputeInactiveSetFtY(petsclib::$UnionPetscLib, snes::AbstractSNES, F::AbstractPetscVec, X::AbstractPetscVec, Y::AbstractPetscVec ) @@ -10576,7 +10576,7 @@ See also: `SNES`, `SNESVINEWTONSSLS`, `SNESVIComputeFunction()` $(_doc_external("SNES/SNESVIComputeMeritFunction")) """ function SNESVIComputeMeritFunction(petsclib::PetscLibType, phi::AbstractPetscVec) - error("SNESVIComputeMeritFunction: no generated method for these argument types") + throw(MethodError(SNESVIComputeMeritFunction, (petsclib, phi))) end @for_petsc function SNESVIComputeMeritFunction(petsclib::$UnionPetscLib, phi::AbstractPetscVec ) @@ -10616,7 +10616,7 @@ See also: `SNES`, `SNESVINEWTONRSLS`, `SNESVINEWTONSSLS` $(_doc_external("SNES/SNESVIGetActiveSetIS")) """ function SNESVIGetActiveSetIS(petsclib::PetscLibType, snes::AbstractSNES, X::AbstractPetscVec, F::AbstractPetscVec) - error("SNESVIGetActiveSetIS: no generated method for these argument types") + throw(MethodError(SNESVIGetActiveSetIS, (petsclib, snes, X, F))) end @for_petsc function SNESVIGetActiveSetIS(petsclib::$UnionPetscLib, snes::AbstractSNES, X::AbstractPetscVec, F::AbstractPetscVec ) @@ -10653,7 +10653,7 @@ See also: `SNES`, `SNESVINEWTONRSLS` $(_doc_external("SNES/SNESVIGetInactiveSet")) """ function SNESVIGetInactiveSet(petsclib::PetscLibType, snes::AbstractSNES) - error("SNESVIGetInactiveSet: no generated method for these argument types") + throw(MethodError(SNESVIGetInactiveSet, (petsclib, snes))) end @for_petsc function SNESVIGetInactiveSet(petsclib::$UnionPetscLib, snes::AbstractSNES ) @@ -10689,7 +10689,7 @@ See also: `SNES`, `SNESVISetVariableBounds()`, `SNESVISetComputeVariableBounds() $(_doc_external("SNES/SNESVIGetVariableBounds")) """ function SNESVIGetVariableBounds(petsclib::PetscLibType, snes::AbstractSNES, xl::AbstractPetscVec, xu::AbstractPetscVec) - error("SNESVIGetVariableBounds: no generated method for these argument types") + throw(MethodError(SNESVIGetVariableBounds, (petsclib, snes, xl, xu))) end @for_petsc function SNESVIGetVariableBounds(petsclib::$UnionPetscLib, snes::AbstractSNES, xl::AbstractPetscVec, xu::AbstractPetscVec ) @@ -10732,7 +10732,7 @@ See also: `SNES`, `SNESVISetVariableBounds()`, `DMSetVariableBounds()`, `SNESSet $(_doc_external("SNES/SNESVISetComputeVariableBounds")) """ function SNESVISetComputeVariableBounds(petsclib::PetscLibType, snes::AbstractSNES, compute::external) - error("SNESVISetComputeVariableBounds: no generated method for these argument types") + throw(MethodError(SNESVISetComputeVariableBounds, (petsclib, snes, compute))) end @for_petsc function SNESVISetComputeVariableBounds(petsclib::$UnionPetscLib, snes::AbstractSNES, compute::external ) @@ -10773,7 +10773,7 @@ See also: `SNES`, `SNESVINEWTONRSLS`, `SNESVIGetInactiveSet()`, `DMSetVI()` $(_doc_external("SNES/SNESVISetRedundancyCheck")) """ function SNESVISetRedundancyCheck(petsclib::PetscLibType, snes::AbstractSNES, func::external, ctx::Ptr{Cvoid}) - error("SNESVISetRedundancyCheck: no generated method for these argument types") + throw(MethodError(SNESVISetRedundancyCheck, (petsclib, snes, func, ctx))) end @for_petsc function SNESVISetRedundancyCheck(petsclib::$UnionPetscLib, snes::AbstractSNES, func::external, ctx::Ptr{Cvoid} ) @@ -10807,7 +10807,7 @@ See also: `SNES`, `SNESVIGetVariableBounds()`, `SNESVISetComputeVariableBounds() $(_doc_external("SNES/SNESVISetVariableBounds")) """ function SNESVISetVariableBounds(petsclib::PetscLibType, snes::AbstractSNES, xl::AbstractPetscVec, xu::AbstractPetscVec) - error("SNESVISetVariableBounds: no generated method for these argument types") + throw(MethodError(SNESVISetVariableBounds, (petsclib, snes, xl, xu))) end @for_petsc function SNESVISetVariableBounds(petsclib::$UnionPetscLib, snes::AbstractSNES, xl::AbstractPetscVec, xu::AbstractPetscVec ) @@ -10844,7 +10844,7 @@ See also: `SNES`, `SNESLoad()`, `SNESCreate()`, `PetscViewerASCIIOpen()` $(_doc_external("SNES/SNESView")) """ function SNESView(petsclib::PetscLibType, snes::AbstractSNES, viewer::PetscViewer) - error("SNESView: no generated method for these argument types") + throw(MethodError(SNESView, (petsclib, snes, viewer))) end @for_petsc function SNESView(petsclib::$UnionPetscLib, snes::AbstractSNES, viewer::PetscViewer ) @@ -10882,7 +10882,7 @@ See also: `SNES`, `SNESView`, `PetscObjectViewFromOptions()`, `SNESCreate()` $(_doc_external("SNES/SNESViewFromOptions")) """ function SNESViewFromOptions(petsclib::PetscLibType, A::AbstractSNES, obj, name::String) - error("SNESViewFromOptions: no generated method for these argument types") + throw(MethodError(SNESViewFromOptions, (petsclib, A, obj, name))) end @for_petsc function SNESViewFromOptions(petsclib::$UnionPetscLib, A::AbstractSNES, obj, name::String ) diff --git a/src/autowrapped/Sys_wrappers.jl b/src/autowrapped/Sys_wrappers.jl index 4646f3495..2f8642d69 100644 --- a/src/autowrapped/Sys_wrappers.jl +++ b/src/autowrapped/Sys_wrappers.jl @@ -33,7 +33,7 @@ See also: `PetscError()`, `PetscPushErrorHandler()`, `PetscPopErrorHander()`, `P $(_doc_external("Sys/PetscAbortErrorHandler")) """ function PetscAbortErrorHandler(petsclib::PetscLibType, comm::MPI_Comm, line::Cint, fun::String, file::String, n::PetscErrorCode, p::PetscErrorType, mess::String, ctx::Ptr{Cvoid}) - error("PetscAbortErrorHandler: no generated method for these argument types") + throw(MethodError(PetscAbortErrorHandler, (petsclib, comm, line, fun, file, n, p, mess, ctx))) end @for_petsc function PetscAbortErrorHandler(petsclib::$UnionPetscLib, comm::MPI_Comm, line::Cint, fun::String, file::String, n::PetscErrorCode, p::PetscErrorType, mess::String, ctx::Ptr{Cvoid} ) @@ -71,7 +71,7 @@ See also: `PetscSetDebugger()`, `PetscSetDefaultDebugger()`, `PetscSetDebugTermi $(_doc_external("Sys/PetscAttachDebugger")) """ function PetscAttachDebugger(petsclib::PetscLibType) - error("PetscAttachDebugger: no generated method for these argument types") + throw(MethodError(PetscAttachDebugger, (petsclib, ))) end @for_petsc function PetscAttachDebugger(petsclib::$UnionPetscLib) @@ -113,7 +113,7 @@ See also: `PetscSetDebuggerFromString()`, `PetscSetDebugger()`, `PetscSetDefault $(_doc_external("Sys/PetscAttachDebuggerErrorHandler")) """ function PetscAttachDebuggerErrorHandler(petsclib::PetscLibType, comm::MPI_Comm, line::Cint, fun::String, file::String, num::PetscErrorCode, p::PetscErrorType, mess::String, ctx::Ptr{Cvoid}) - error("PetscAttachDebuggerErrorHandler: no generated method for these argument types") + throw(MethodError(PetscAttachDebuggerErrorHandler, (petsclib, comm, line, fun, file, num, p, mess, ctx))) end @for_petsc function PetscAttachDebuggerErrorHandler(petsclib::$UnionPetscLib, comm::MPI_Comm, line::Cint, fun::String, file::String, num::PetscErrorCode, p::PetscErrorType, mess::String, ctx::Ptr{Cvoid} ) @@ -144,7 +144,7 @@ See also: `PetscInitialize()`, `PetscBLASSetNumThreads()` $(_doc_external("Sys/PetscBLASGetNumThreads")) """ function PetscBLASGetNumThreads(petsclib::PetscLibType) - error("PetscBLASGetNumThreads: no generated method for these argument types") + throw(MethodError(PetscBLASGetNumThreads, (petsclib, ))) end @for_petsc function PetscBLASGetNumThreads(petsclib::$UnionPetscLib) @@ -180,7 +180,7 @@ See also: `PetscInitialize()`, `PetscBLASGetNumThreads()` $(_doc_external("Sys/PetscBLASSetNumThreads")) """ function PetscBLASSetNumThreads(petsclib::PetscLibType, nt::Integer) - error("PetscBLASSetNumThreads: no generated method for these argument types") + throw(MethodError(PetscBLASSetNumThreads, (petsclib, nt))) end @for_petsc function PetscBLASSetNumThreads(petsclib::$UnionPetscLib, nt::$PetscInt ) @@ -215,7 +215,7 @@ See also: `PetscBT`, `PetscBTCreate()`, `PetscBTLookup()`, `PetscViewer` $(_doc_external("Viewer/PetscBTView")) """ function PetscBTView(petsclib::PetscLibType, m::PetscCount, bt::PetscBT, viewer::PetscViewer) - error("PetscBTView: no generated method for these argument types") + throw(MethodError(PetscBTView, (petsclib, m, bt, viewer))) end @for_petsc function PetscBTView(petsclib::$UnionPetscLib, m::PetscCount, bt::PetscBT, viewer::PetscViewer ) @@ -246,7 +246,7 @@ See also: `PetscObject`, `MPI_Comm`, `MPI_Barrier` $(_doc_external("Sys/PetscBarrier")) """ function PetscBarrier(petsclib::PetscLibType, obj) - error("PetscBarrier: no generated method for these argument types") + throw(MethodError(PetscBarrier, (petsclib, obj))) end @for_petsc function PetscBarrier(petsclib::$UnionPetscLib, obj ) @@ -280,7 +280,7 @@ See also: `PetscBinaryRead()`, `PetscBinaryWrite()`, `PetscBinaryOpen()`, `Petsc $(_doc_external("Sys/PetscBinaryClose")) """ function PetscBinaryClose(petsclib::PetscLibType, fd::Cint) - error("PetscBinaryClose: no generated method for these argument types") + throw(MethodError(PetscBinaryClose, (petsclib, fd))) end @for_petsc function PetscBinaryClose(petsclib::$UnionPetscLib, fd::Cint ) @@ -318,7 +318,7 @@ See also: `PetscBinaryRead()`, `PetscBinaryWrite()`, `PetscFileMode`, `PetscView $(_doc_external("Sys/PetscBinaryOpen")) """ function PetscBinaryOpen(petsclib::PetscLibType, name::String, mode::PetscFileMode) - error("PetscBinaryOpen: no generated method for these argument types") + throw(MethodError(PetscBinaryOpen, (petsclib, name, mode))) end @for_petsc function PetscBinaryOpen(petsclib::$UnionPetscLib, name::String, mode::PetscFileMode ) @@ -360,7 +360,7 @@ See also: `PetscBinaryWrite()`, `PetscBinaryOpen()`, `PetscBinaryClose()`, `Pets $(_doc_external("Viewer/PetscBinaryRead")) """ function PetscBinaryRead(petsclib::PetscLibType, fd::Cint, num::PetscCount, type::PetscDataType) - error("PetscBinaryRead: no generated method for these argument types") + throw(MethodError(PetscBinaryRead, (petsclib, fd, num, type))) end @for_petsc function PetscBinaryRead(petsclib::$UnionPetscLib, fd::Cint, num::PetscCount, type::PetscDataType ) @@ -405,7 +405,7 @@ See also: `PetscBinaryWrite()`, `PetscBinaryOpen()`, `PetscBinaryClose()`, `Pets $(_doc_external("Sys/PetscBinarySynchronizedRead")) """ function PetscBinarySynchronizedRead(petsclib::PetscLibType, comm::MPI_Comm, fd::Cint, num::Integer, type::PetscDataType) - error("PetscBinarySynchronizedRead: no generated method for these argument types") + throw(MethodError(PetscBinarySynchronizedRead, (petsclib, comm, fd, num, type))) end @for_petsc function PetscBinarySynchronizedRead(petsclib::$UnionPetscLib, comm::MPI_Comm, fd::Cint, num::$PetscInt, type::PetscDataType ) @@ -447,7 +447,7 @@ See also: `PetscBinaryWrite()`, `PetscBinaryOpen()`, `PetscBinaryClose()`, `Pets $(_doc_external("Sys/PetscBinarySynchronizedWrite")) """ function PetscBinarySynchronizedWrite(petsclib::PetscLibType, comm::MPI_Comm, fd::Cint, p::Ptr{Cvoid}, n::Integer, type::PetscDataType) - error("PetscBinarySynchronizedWrite: no generated method for these argument types") + throw(MethodError(PetscBinarySynchronizedWrite, (petsclib, comm, fd, p, n, type))) end @for_petsc function PetscBinarySynchronizedWrite(petsclib::$UnionPetscLib, comm::MPI_Comm, fd::Cint, p::Ptr{Cvoid}, n::$PetscInt, type::PetscDataType ) @@ -484,7 +484,7 @@ See also: `PetscBinaryRead()`, `PetscBinaryOpen()`, `PetscBinaryClose()`, `Petsc $(_doc_external("Viewer/PetscBinaryWrite")) """ function PetscBinaryWrite(petsclib::PetscLibType, fd::Cint, p::Ptr{Cvoid}, n::PetscCount, type::PetscDataType) - error("PetscBinaryWrite: no generated method for these argument types") + throw(MethodError(PetscBinaryWrite, (petsclib, fd, p, n, type))) end @for_petsc function PetscBinaryWrite(petsclib::$UnionPetscLib, fd::Cint, p::Ptr{Cvoid}, n::PetscCount, type::PetscDataType ) @@ -523,7 +523,7 @@ See also: `PetscBoxRefresh()`, `PetscBoxUpload()` $(_doc_external("Sys/PetscBoxAuthorize")) """ function PetscBoxAuthorize(petsclib::PetscLibType, comm::MPI_Comm, access_token::String, refresh_token::String, tokensize::Csize_t) - error("PetscBoxAuthorize: no generated method for these argument types") + throw(MethodError(PetscBoxAuthorize, (petsclib, comm, access_token, refresh_token, tokensize))) end @for_petsc function PetscBoxAuthorize(petsclib::$UnionPetscLib, comm::MPI_Comm, access_token::String, refresh_token::String, tokensize::Csize_t ) @@ -563,7 +563,7 @@ See also: `PetscBoxAuthorize()`, `PetscBoxUpload()` $(_doc_external("Sys/PetscBoxRefresh")) """ function PetscBoxRefresh(petsclib::PetscLibType, comm::MPI_Comm, refresh_token::String, access_token::String, new_refresh_token::String, tokensize::Csize_t) - error("PetscBoxRefresh: no generated method for these argument types") + throw(MethodError(PetscBoxRefresh, (petsclib, comm, refresh_token, access_token, new_refresh_token, tokensize))) end @for_petsc function PetscBoxRefresh(petsclib::$UnionPetscLib, comm::MPI_Comm, refresh_token::String, access_token::String, new_refresh_token::String, tokensize::Csize_t ) @@ -601,7 +601,7 @@ See also: `PetscBoxAuthorize()`, `PetscBoxRefresh()` $(_doc_external("Sys/PetscBoxUpload")) """ function PetscBoxUpload(petsclib::PetscLibType, comm::MPI_Comm, access_token::String, filename::String) - error("PetscBoxUpload: no generated method for these argument types") + throw(MethodError(PetscBoxUpload, (petsclib, comm, access_token, filename))) end @for_petsc function PetscBoxUpload(petsclib::$UnionPetscLib, comm::MPI_Comm, access_token::String, filename::String ) @@ -636,7 +636,7 @@ See also: `PetscDataType`, `PetscViewerBinaryRead()`, `PetscViewerBinaryWrite()` $(_doc_external("Sys/PetscByteSwap")) """ function PetscByteSwap(petsclib::PetscLibType, data::Ptr{Cvoid}, pdtype::PetscDataType, count::PetscCount) - error("PetscByteSwap: no generated method for these argument types") + throw(MethodError(PetscByteSwap, (petsclib, data, pdtype, count))) end @for_petsc function PetscByteSwap(petsclib::$UnionPetscLib, data::Ptr{Cvoid}, pdtype::PetscDataType, count::PetscCount ) @@ -659,7 +659,7 @@ end $(_doc_external("Sys/PetscCUBLASGetHandle")) """ function PetscCUBLASGetHandle(petsclib::PetscLibType, handle::cublasHandle_t) - error("PetscCUBLASGetHandle: no generated method for these argument types") + throw(MethodError(PetscCUBLASGetHandle, (petsclib, handle))) end @for_petsc function PetscCUBLASGetHandle(petsclib::$UnionPetscLib, handle::cublasHandle_t ) @@ -682,7 +682,7 @@ end $(_doc_external("Sys/PetscCUSOLVERDnGetHandle")) """ function PetscCUSOLVERDnGetHandle(petsclib::PetscLibType, handle::cusolverDnHandle_t) - error("PetscCUSOLVERDnGetHandle: no generated method for these argument types") + throw(MethodError(PetscCUSOLVERDnGetHandle, (petsclib, handle))) end @for_petsc function PetscCUSOLVERDnGetHandle(petsclib::$UnionPetscLib, handle::cusolverDnHandle_t ) @@ -719,7 +719,7 @@ See also: `PetscSortRemoveDupsInt()`, `PetscSortedCheckDupsInt()` $(_doc_external("Sys/PetscCheckDupsInt")) """ function PetscCheckDupsInt(petsclib::PetscLibType, n::Integer, X::AbstractVector{<:Number}) - error("PetscCheckDupsInt: no generated method for these argument types") + throw(MethodError(PetscCheckDupsInt, (petsclib, n, X))) end @for_petsc function PetscCheckDupsInt(petsclib::$UnionPetscLib, n::$PetscInt, X::Vector{$PetscInt} ) @@ -757,7 +757,7 @@ See also: `PetscCheckPointer()`, `PetscFunctionBeginHot()` $(_doc_external("Sys/PetscCheckPointerSetIntensity")) """ function PetscCheckPointerSetIntensity(petsclib::PetscLibType, intensity::Integer) - error("PetscCheckPointerSetIntensity: no generated method for these argument types") + throw(MethodError(PetscCheckPointerSetIntensity, (petsclib, intensity))) end @for_petsc function PetscCheckPointerSetIntensity(petsclib::$UnionPetscLib, intensity::$PetscInt ) @@ -793,7 +793,7 @@ See also: `PetscLogEventRegister()` $(_doc_external("Log/PetscClassIdRegister")) """ function PetscClassIdRegister(petsclib::PetscLibType, name::String) - error("PetscClassIdRegister: no generated method for these argument types") + throw(MethodError(PetscClassIdRegister, (petsclib, name))) end @for_petsc function PetscClassIdRegister(petsclib::$UnionPetscLib, name::String ) @@ -829,7 +829,7 @@ See also: `PetscCommBuildTwoSided()`, `PetscCommBuildTwoSidedSetType()`, `PetscB $(_doc_external("Sys/PetscCommBuildTwoSidedGetType")) """ function PetscCommBuildTwoSidedGetType(petsclib::PetscLibType, comm::MPI_Comm) - error("PetscCommBuildTwoSidedGetType: no generated method for these argument types") + throw(MethodError(PetscCommBuildTwoSidedGetType, (petsclib, comm))) end @for_petsc function PetscCommBuildTwoSidedGetType(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -865,7 +865,7 @@ See also: `PetscCommBuildTwoSided()`, `PetscCommBuildTwoSidedGetType()`, `PetscB $(_doc_external("Sys/PetscCommBuildTwoSidedSetType")) """ function PetscCommBuildTwoSidedSetType(petsclib::PetscLibType, comm::MPI_Comm, twosided::PetscBuildTwoSidedType) - error("PetscCommBuildTwoSidedSetType: no generated method for these argument types") + throw(MethodError(PetscCommBuildTwoSidedSetType, (petsclib, comm, twosided))) end @for_petsc function PetscCommBuildTwoSidedSetType(petsclib::$UnionPetscLib, comm::MPI_Comm, twosided::PetscBuildTwoSidedType ) @@ -898,7 +898,7 @@ See also: `PetscCommDuplicate()` $(_doc_external("Sys/PetscCommDestroy")) """ function PetscCommDestroy(petsclib::PetscLibType) - error("PetscCommDestroy: no generated method for these argument types") + throw(MethodError(PetscCommDestroy, (petsclib, ))) end @for_petsc function PetscCommDestroy(petsclib::$UnionPetscLib) @@ -937,7 +937,7 @@ See also: `PetscObjectGetNewTag()`, `PetscCommGetNewTag()`, `PetscCommDestroy()` $(_doc_external("Sys/PetscCommDuplicate")) """ function PetscCommDuplicate(petsclib::PetscLibType, comm_in::MPI_Comm) - error("PetscCommDuplicate: no generated method for these argument types") + throw(MethodError(PetscCommDuplicate, (petsclib, comm_in))) end @for_petsc function PetscCommDuplicate(petsclib::$UnionPetscLib, comm_in::MPI_Comm ) @@ -977,7 +977,7 @@ See also: `PetscObjectGetNewTag()`, `PetscCommGetNewTag()`, `PetscCommDestroy()` $(_doc_external("Sys/PetscCommGetComm")) """ function PetscCommGetComm(petsclib::PetscLibType, comm_in::MPI_Comm) - error("PetscCommGetComm: no generated method for these argument types") + throw(MethodError(PetscCommGetComm, (petsclib, comm_in))) end @for_petsc function PetscCommGetComm(petsclib::$UnionPetscLib, comm_in::MPI_Comm ) @@ -1015,7 +1015,7 @@ See also: `PetscObjectGetNewTag()`, `PetscCommDuplicate()` $(_doc_external("Sys/PetscCommGetNewTag")) """ function PetscCommGetNewTag(petsclib::PetscLibType, comm::MPI_Comm) - error("PetscCommGetNewTag: no generated method for these argument types") + throw(MethodError(PetscCommGetNewTag, (petsclib, comm))) end @for_petsc function PetscCommGetNewTag(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -1051,7 +1051,7 @@ See also: `PetscObjectGetNewTag()`, `PetscCommGetNewTag()`, `PetscCommDestroy()` $(_doc_external("Sys/PetscCommRestoreComm")) """ function PetscCommRestoreComm(petsclib::PetscLibType, comm_in::MPI_Comm, comm_out::MPI_Comm) - error("PetscCommRestoreComm: no generated method for these argument types") + throw(MethodError(PetscCommRestoreComm, (petsclib, comm_in, comm_out))) end @for_petsc function PetscCommRestoreComm(petsclib::$UnionPetscLib, comm_in::MPI_Comm, comm_out::MPI_Comm ) @@ -1085,7 +1085,7 @@ See also: `VecNormBegin()`, `VecNormEnd()`, `VecDotBegin()`, `VecDotEnd()`, `Vec $(_doc_external("Vec/PetscCommSplitReductionBegin")) """ function PetscCommSplitReductionBegin(petsclib::PetscLibType, comm::MPI_Comm) - error("PetscCommSplitReductionBegin: no generated method for these argument types") + throw(MethodError(PetscCommSplitReductionBegin, (petsclib, comm))) end @for_petsc function PetscCommSplitReductionBegin(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -1122,7 +1122,7 @@ See also: `PetscDLClose()`, `PetscDLSym()`, `PetscDLOpen()`, `PetscDLLibrary`, ` $(_doc_external("Sys/PetscDLAddr")) """ function PetscDLAddr(petsclib::PetscLibType, func::Ptr{Cvoid}) - error("PetscDLAddr: no generated method for these argument types") + throw(MethodError(PetscDLAddr, (petsclib, func))) end @for_petsc function PetscDLAddr(petsclib::$UnionPetscLib, func::Ptr{Cvoid} ) @@ -1157,7 +1157,7 @@ See also: `PetscDLOpen()`, `PetscDLSym()`, `PetscDLAddr()` $(_doc_external("Sys/PetscDLClose")) """ function PetscDLClose(petsclib::PetscLibType, handle::PetscDLHandle) - error("PetscDLClose: no generated method for these argument types") + throw(MethodError(PetscDLClose, (petsclib, handle))) end @for_petsc function PetscDLClose(petsclib::$UnionPetscLib, handle::PetscDLHandle ) @@ -1196,7 +1196,7 @@ See also: `PetscDLClose()`, `PetscDLSym()`, `PetscDLAddr()`, `PetscDLLibrary`, ` $(_doc_external("Sys/PetscDLOpen")) """ function PetscDLOpen(petsclib::PetscLibType, name::String, mode::PetscDLMode) - error("PetscDLOpen: no generated method for these argument types") + throw(MethodError(PetscDLOpen, (petsclib, name, mode))) end @for_petsc function PetscDLOpen(petsclib::$UnionPetscLib, name::String, mode::PetscDLMode ) @@ -1236,7 +1236,7 @@ See also: `PetscDLClose()`, `PetscDLOpen()`, `PetscDLAddr()`, `PetscDLLibrary`, $(_doc_external("Sys/PetscDLSym")) """ function PetscDLSym(petsclib::PetscLibType, handle::PetscDLHandle, symbol::String) - error("PetscDLSym: no generated method for these argument types") + throw(MethodError(PetscDLSym, (petsclib, handle, symbol))) end @for_petsc function PetscDLSym(petsclib::$UnionPetscLib, handle::PetscDLHandle, symbol::String ) @@ -1277,7 +1277,7 @@ See also: `PetscDTAltV`, `PetscDTAltVPullback()`, `PetscDTAltVPullbackMatrix()` $(_doc_external("DT/PetscDTAltVApply")) """ function PetscDTAltVApply(petsclib::PetscLibType, N::Integer, k::Integer, w::AbstractVector{<:Number}, v::AbstractVector{<:Number}) - error("PetscDTAltVApply: no generated method for these argument types") + throw(MethodError(PetscDTAltVApply, (petsclib, N, k, w, v))) end @for_petsc function PetscDTAltVApply(petsclib::$UnionPetscLib, N::$PetscInt, k::$PetscInt, w::Vector{$PetscReal}, v::Vector{$PetscReal} ) @@ -1316,7 +1316,7 @@ See also: `PetscDTAltV`, `PetscDTAltVInteriorMatrix()`, `PetscDTAltVInteriorPatt $(_doc_external("DT/PetscDTAltVInterior")) """ function PetscDTAltVInterior(petsclib::PetscLibType, N::Integer, k::Integer, w::AbstractVector{<:Number}, v::AbstractVector{<:Number}) - error("PetscDTAltVInterior: no generated method for these argument types") + throw(MethodError(PetscDTAltVInterior, (petsclib, N, k, w, v))) end @for_petsc function PetscDTAltVInterior(petsclib::$UnionPetscLib, N::$PetscInt, k::$PetscInt, w::Vector{$PetscReal}, v::Vector{$PetscReal} ) @@ -1354,7 +1354,7 @@ See also: `PetscDTAltV`, `PetscDTAltVInterior()`, `PetscDTAltVInteriorPattern()` $(_doc_external("DT/PetscDTAltVInteriorMatrix")) """ function PetscDTAltVInteriorMatrix(petsclib::PetscLibType, N::Integer, k::Integer, v::AbstractVector{<:Number}) - error("PetscDTAltVInteriorMatrix: no generated method for these argument types") + throw(MethodError(PetscDTAltVInteriorMatrix, (petsclib, N, k, v))) end @for_petsc function PetscDTAltVInteriorMatrix(petsclib::$UnionPetscLib, N::$PetscInt, k::$PetscInt, v::Vector{$PetscReal} ) @@ -1393,7 +1393,7 @@ See also: `PetscDTAltV`, `PetscDTAltVInterior()`, `PetscDTAltVInteriorMatrix()`, $(_doc_external("DT/PetscDTAltVInteriorPattern")) """ function PetscDTAltVInteriorPattern(petsclib::PetscLibType, N::Integer, k::Integer, noname::Ptr{Cvoid}) - error("PetscDTAltVInteriorPattern: no generated method for these argument types") + throw(MethodError(PetscDTAltVInteriorPattern, (petsclib, N, k, noname))) end @for_petsc function PetscDTAltVInteriorPattern(petsclib::$UnionPetscLib, N::$PetscInt, k::$PetscInt, noname::Ptr{Cvoid} ) @@ -1432,7 +1432,7 @@ See also: `PetscDTAltV`, `PetscDTAltVPullbackMatrix()`, `PetscDTAltVStar()` $(_doc_external("DT/PetscDTAltVPullback")) """ function PetscDTAltVPullback(petsclib::PetscLibType, N::Integer, M::Integer, L::AbstractVector{<:Number}, k::Integer, w::AbstractVector{<:Number}) - error("PetscDTAltVPullback: no generated method for these argument types") + throw(MethodError(PetscDTAltVPullback, (petsclib, N, M, L, k, w))) end @for_petsc function PetscDTAltVPullback(petsclib::$UnionPetscLib, N::$PetscInt, M::$PetscInt, L::Vector{$PetscReal}, k::$PetscInt, w::Vector{$PetscReal} ) @@ -1472,7 +1472,7 @@ See also: `PetscDTAltV`, `PetscDTAltVPullback()`, `PetscDTAltVStar()` $(_doc_external("DT/PetscDTAltVPullbackMatrix")) """ function PetscDTAltVPullbackMatrix(petsclib::PetscLibType, N::Integer, M::Integer, L::AbstractVector{<:Number}, k::Integer) - error("PetscDTAltVPullbackMatrix: no generated method for these argument types") + throw(MethodError(PetscDTAltVPullbackMatrix, (petsclib, N, M, L, k))) end @for_petsc function PetscDTAltVPullbackMatrix(petsclib::$UnionPetscLib, N::$PetscInt, M::$PetscInt, L::Vector{$PetscReal}, k::$PetscInt ) @@ -1511,7 +1511,7 @@ See also: `PetscDTAltV`, `PetscDTAltVPullback()`, `PetscDTAltVPullbackMatrix()` $(_doc_external("DT/PetscDTAltVStar")) """ function PetscDTAltVStar(petsclib::PetscLibType, N::Integer, k::Integer, pow::Integer, w::AbstractVector{<:Number}) - error("PetscDTAltVStar: no generated method for these argument types") + throw(MethodError(PetscDTAltVStar, (petsclib, N, k, pow, w))) end @for_petsc function PetscDTAltVStar(petsclib::$UnionPetscLib, N::$PetscInt, k::$PetscInt, pow::$PetscInt, w::Vector{$PetscReal} ) @@ -1552,7 +1552,7 @@ See also: `PetscDTAltV`, `PetscDTAltVWedgeMatrix()`, `PetscDTAltVPullback()`, `P $(_doc_external("DT/PetscDTAltVWedge")) """ function PetscDTAltVWedge(petsclib::PetscLibType, N::Integer, j::Integer, k::Integer, a::AbstractVector{<:Number}, b::AbstractVector{<:Number}) - error("PetscDTAltVWedge: no generated method for these argument types") + throw(MethodError(PetscDTAltVWedge, (petsclib, N, j, k, a, b))) end @for_petsc function PetscDTAltVWedge(petsclib::$UnionPetscLib, N::$PetscInt, j::$PetscInt, k::$PetscInt, a::Vector{$PetscReal}, b::Vector{$PetscReal} ) @@ -1591,7 +1591,7 @@ See also: `PetscDTAltV`, `PetscDTAltVPullback()`, `PetscDTAltVPullbackMatrix()` $(_doc_external("DT/PetscDTAltVWedgeMatrix")) """ function PetscDTAltVWedgeMatrix(petsclib::PetscLibType, N::Integer, j::Integer, k::Integer, a::AbstractVector{<:Number}) - error("PetscDTAltVWedgeMatrix: no generated method for these argument types") + throw(MethodError(PetscDTAltVWedgeMatrix, (petsclib, N, j, k, a))) end @for_petsc function PetscDTAltVWedgeMatrix(petsclib::$UnionPetscLib, N::$PetscInt, j::$PetscInt, k::$PetscInt, a::Vector{$PetscReal} ) @@ -1629,7 +1629,7 @@ See also: `PetscDTIndexToBary` $(_doc_external("DT/PetscDTBaryToIndex")) """ function PetscDTBaryToIndex(petsclib::PetscLibType, len::Integer, sum::Integer, coord::AbstractVector{<:Number}) - error("PetscDTBaryToIndex: no generated method for these argument types") + throw(MethodError(PetscDTBaryToIndex, (petsclib, len, sum, coord))) end @for_petsc function PetscDTBaryToIndex(petsclib::$UnionPetscLib, len::$PetscInt, sum::$PetscInt, coord::Vector{$PetscInt} ) @@ -1669,7 +1669,7 @@ See also: `PetscDTCreateQuadratureByCell()`, `PetscFECreateDefault()`, `PetscDTG $(_doc_external("DT/PetscDTCreateDefaultQuadrature")) """ function PetscDTCreateDefaultQuadrature(petsclib::PetscLibType, ct::DMPolytopeType, qorder::Integer) - error("PetscDTCreateDefaultQuadrature: no generated method for these argument types") + throw(MethodError(PetscDTCreateDefaultQuadrature, (petsclib, ct, qorder))) end @for_petsc function PetscDTCreateDefaultQuadrature(petsclib::$UnionPetscLib, ct::DMPolytopeType, qorder::$PetscInt ) @@ -1712,7 +1712,7 @@ See also: `PetscDTCreateDefaultQuadrature()`, `PetscFECreateDefault()`, `PetscDT $(_doc_external("DT/PetscDTCreateQuadratureByCell")) """ function PetscDTCreateQuadratureByCell(petsclib::PetscLibType, ct::DMPolytopeType, qorder::Integer, qtype::PetscDTSimplexQuadratureType) - error("PetscDTCreateQuadratureByCell: no generated method for these argument types") + throw(MethodError(PetscDTCreateQuadratureByCell, (petsclib, ct, qorder, qtype))) end @for_petsc function PetscDTCreateQuadratureByCell(petsclib::$UnionPetscLib, ct::DMPolytopeType, qorder::$PetscInt, qtype::PetscDTSimplexQuadratureType ) @@ -1758,7 +1758,7 @@ See also: `PetscDTGaussQuadrature()` $(_doc_external("DT/PetscDTGaussJacobiQuadrature")) """ function PetscDTGaussJacobiQuadrature(petsclib::PetscLibType, npoints::Integer, a::Real, b::Real, alpha::Real, beta::Real, x::AbstractVector{<:Number}, w::AbstractVector{<:Number}) - error("PetscDTGaussJacobiQuadrature: no generated method for these argument types") + throw(MethodError(PetscDTGaussJacobiQuadrature, (petsclib, npoints, a, b, alpha, beta, x, w))) end @for_petsc function PetscDTGaussJacobiQuadrature(petsclib::$UnionPetscLib, npoints::$PetscInt, a::$PetscReal, b::$PetscReal, alpha::$PetscReal, beta::$PetscReal, x::Vector{$PetscReal}, w::Vector{$PetscReal} ) @@ -1800,7 +1800,7 @@ See also: `PetscDTGaussJacobiQuadrature()` $(_doc_external("DT/PetscDTGaussLobattoJacobiQuadrature")) """ function PetscDTGaussLobattoJacobiQuadrature(petsclib::PetscLibType, npoints::Integer, a::Real, b::Real, alpha::Real, beta::Real, x::AbstractVector{<:Number}, w::AbstractVector{<:Number}) - error("PetscDTGaussLobattoJacobiQuadrature: no generated method for these argument types") + throw(MethodError(PetscDTGaussLobattoJacobiQuadrature, (petsclib, npoints, a, b, alpha, beta, x, w))) end @for_petsc function PetscDTGaussLobattoJacobiQuadrature(petsclib::$UnionPetscLib, npoints::$PetscInt, a::$PetscReal, b::$PetscReal, alpha::$PetscReal, beta::$PetscReal, x::Vector{$PetscReal}, w::Vector{$PetscReal} ) @@ -1839,7 +1839,7 @@ See also: `PetscDTGaussQuadrature()`, `PetscGaussLobattoLegendreCreateType` $(_doc_external("DT/PetscDTGaussLobattoLegendreQuadrature")) """ function PetscDTGaussLobattoLegendreQuadrature(petsclib::PetscLibType, npoints::Integer, type::PetscGaussLobattoLegendreCreateType, x::AbstractVector{<:Number}, w::AbstractVector{<:Number}) - error("PetscDTGaussLobattoLegendreQuadrature: no generated method for these argument types") + throw(MethodError(PetscDTGaussLobattoLegendreQuadrature, (petsclib, npoints, type, x, w))) end @for_petsc function PetscDTGaussLobattoLegendreQuadrature(petsclib::$UnionPetscLib, npoints::$PetscInt, type::PetscGaussLobattoLegendreCreateType, x::Vector{$PetscReal}, w::Vector{$PetscReal} ) @@ -1878,7 +1878,7 @@ See also: `PetscDTLegendreEval()`, `PetscDTGaussJacobiQuadrature()` $(_doc_external("DT/PetscDTGaussQuadrature")) """ function PetscDTGaussQuadrature(petsclib::PetscLibType, npoints::Integer, a::Real, b::Real, x::AbstractVector{<:Number}, w::AbstractVector{<:Number}) - error("PetscDTGaussQuadrature: no generated method for these argument types") + throw(MethodError(PetscDTGaussQuadrature, (petsclib, npoints, a, b, x, w))) end @for_petsc function PetscDTGaussQuadrature(petsclib::$UnionPetscLib, npoints::$PetscInt, a::$PetscReal, b::$PetscReal, x::Vector{$PetscReal}, w::Vector{$PetscReal} ) @@ -1918,7 +1918,7 @@ See also: `PetscDTGaussQuadrature()`, `PetscDTLegendreEval()` $(_doc_external("DT/PetscDTGaussTensorQuadrature")) """ function PetscDTGaussTensorQuadrature(petsclib::PetscLibType, dim::Integer, Nc::Integer, npoints::Integer, a::Real, b::Real) - error("PetscDTGaussTensorQuadrature: no generated method for these argument types") + throw(MethodError(PetscDTGaussTensorQuadrature, (petsclib, dim, Nc, npoints, a, b))) end @for_petsc function PetscDTGaussTensorQuadrature(petsclib::$UnionPetscLib, dim::$PetscInt, Nc::$PetscInt, npoints::$PetscInt, a::$PetscReal, b::$PetscReal ) @@ -1955,7 +1955,7 @@ See also: `PetscDTIndexToGradedOrder()` $(_doc_external("DT/PetscDTGradedOrderToIndex")) """ function PetscDTGradedOrderToIndex(petsclib::PetscLibType, len::Integer, degtup::AbstractVector{<:Number}) - error("PetscDTGradedOrderToIndex: no generated method for these argument types") + throw(MethodError(PetscDTGradedOrderToIndex, (petsclib, len, degtup))) end @for_petsc function PetscDTGradedOrderToIndex(petsclib::$UnionPetscLib, len::$PetscInt, degtup::Vector{$PetscInt} ) @@ -1993,7 +1993,7 @@ See also: `PetscDTBaryToIndex()` $(_doc_external("DT/PetscDTIndexToBary")) """ function PetscDTIndexToBary(petsclib::PetscLibType, len::Integer, sum::Integer, index::Integer, coord::AbstractVector{<:Number}) - error("PetscDTIndexToBary: no generated method for these argument types") + throw(MethodError(PetscDTIndexToBary, (petsclib, len, sum, index, coord))) end @for_petsc function PetscDTIndexToBary(petsclib::$UnionPetscLib, len::$PetscInt, sum::$PetscInt, index::$PetscInt, coord::Vector{$PetscInt} ) @@ -2029,7 +2029,7 @@ See also: `PetscDTGradedOrderToIndex()` $(_doc_external("DT/PetscDTIndexToGradedOrder")) """ function PetscDTIndexToGradedOrder(petsclib::PetscLibType, len::Integer, index::Integer, degtup::AbstractVector{<:Number}) - error("PetscDTIndexToGradedOrder: no generated method for these argument types") + throw(MethodError(PetscDTIndexToGradedOrder, (petsclib, len, index, degtup))) end @for_petsc function PetscDTIndexToGradedOrder(petsclib::$UnionPetscLib, len::$PetscInt, index::$PetscInt, degtup::Vector{$PetscInt} ) @@ -2073,7 +2073,7 @@ See also: `PetscDTGaussQuadrature()`, `PetscDTLegendreEval()` $(_doc_external("DT/PetscDTJacobiEval")) """ function PetscDTJacobiEval(petsclib::PetscLibType, npoints::Integer, alpha::Real, beta::Real, points::AbstractVector{<:Number}, ndegree::Integer, degrees::AbstractVector{<:Number}, B::AbstractVector{<:Number}, D::AbstractVector{<:Number}, D2::AbstractVector{<:Number}) - error("PetscDTJacobiEval: no generated method for these argument types") + throw(MethodError(PetscDTJacobiEval, (petsclib, npoints, alpha, beta, points, ndegree, degrees, B, D, D2))) end @for_petsc function PetscDTJacobiEval(petsclib::$UnionPetscLib, npoints::$PetscInt, alpha::$PetscReal, beta::$PetscReal, points::Vector{$PetscReal}, ndegree::$PetscInt, degrees::Vector{$PetscInt}, B::Vector{$PetscReal}, D::Vector{$PetscReal}, D2::Vector{$PetscReal} ) @@ -2115,7 +2115,7 @@ See also: `PetscDTJacobiEval()`, `PetscDTPKDEvalJet()` $(_doc_external("DT/PetscDTJacobiEvalJet")) """ function PetscDTJacobiEvalJet(petsclib::PetscLibType, alpha::Real, beta::Real, npoints::Integer, points::AbstractVector{<:Number}, degree::Integer, k::Integer, p::AbstractVector{<:Number}) - error("PetscDTJacobiEvalJet: no generated method for these argument types") + throw(MethodError(PetscDTJacobiEvalJet, (petsclib, alpha, beta, npoints, points, degree, k, p))) end @for_petsc function PetscDTJacobiEvalJet(petsclib::$UnionPetscLib, alpha::$PetscReal, beta::$PetscReal, npoints::$PetscInt, points::Vector{$PetscReal}, degree::$PetscInt, k::$PetscInt, p::Vector{$PetscReal} ) @@ -2153,7 +2153,7 @@ See also: `PetscQuadrature`, `PetscDTJacobiEval()` $(_doc_external("DT/PetscDTJacobiNorm")) """ function PetscDTJacobiNorm(petsclib::PetscLibType, alpha::Real, beta::Real, n::Integer) - error("PetscDTJacobiNorm: no generated method for these argument types") + throw(MethodError(PetscDTJacobiNorm, (petsclib, alpha, beta, n))) end @for_petsc function PetscDTJacobiNorm(petsclib::$UnionPetscLib, alpha::$PetscReal, beta::$PetscReal, n::$PetscInt ) @@ -2196,7 +2196,7 @@ See also: `PetscDTGaussQuadrature()` $(_doc_external("DT/PetscDTLegendreEval")) """ function PetscDTLegendreEval(petsclib::PetscLibType, npoints::Integer, points::AbstractVector{<:Number}, ndegree::Integer, degrees::AbstractVector{<:Number}, B::AbstractVector{<:Number}, D::AbstractVector{<:Number}, D2::AbstractVector{<:Number}) - error("PetscDTLegendreEval: no generated method for these argument types") + throw(MethodError(PetscDTLegendreEval, (petsclib, npoints, points, ndegree, degrees, B, D, D2))) end @for_petsc function PetscDTLegendreEval(petsclib::$UnionPetscLib, npoints::$PetscInt, points::Vector{$PetscReal}, ndegree::$PetscInt, degrees::Vector{$PetscInt}, B::Vector{$PetscReal}, D::Vector{$PetscReal}, D2::Vector{$PetscReal} ) @@ -2239,7 +2239,7 @@ See also: `PetscDTGradedOrderToIndex()`, `PetscDTIndexToGradedOrder()`, `PetscDT $(_doc_external("DT/PetscDTPKDEvalJet")) """ function PetscDTPKDEvalJet(petsclib::PetscLibType, dim::Integer, npoints::Integer, points::AbstractVector{<:Number}, degree::Integer, k::Integer, p::AbstractVector{<:Number}) - error("PetscDTPKDEvalJet: no generated method for these argument types") + throw(MethodError(PetscDTPKDEvalJet, (petsclib, dim, npoints, points, degree, k, p))) end @for_petsc function PetscDTPKDEvalJet(petsclib::$UnionPetscLib, dim::$PetscInt, npoints::$PetscInt, points::Vector{$PetscReal}, degree::$PetscInt, k::$PetscInt, p::Vector{$PetscReal} ) @@ -2282,7 +2282,7 @@ See also: `PetscDTPKDEvalJet()`, `PetscDTPTrimmedSize()` $(_doc_external("DT/PetscDTPTrimmedEvalJet")) """ function PetscDTPTrimmedEvalJet(petsclib::PetscLibType, dim::Integer, npoints::Integer, points::AbstractVector{<:Number}, degree::Integer, formDegree::Integer, jetDegree::Integer, p::AbstractVector{<:Number}) - error("PetscDTPTrimmedEvalJet: no generated method for these argument types") + throw(MethodError(PetscDTPTrimmedEvalJet, (petsclib, dim, npoints, points, degree, formDegree, jetDegree, p))) end @for_petsc function PetscDTPTrimmedEvalJet(petsclib::$UnionPetscLib, dim::$PetscInt, npoints::$PetscInt, points::Vector{$PetscReal}, degree::$PetscInt, formDegree::$PetscInt, jetDegree::$PetscInt, p::Vector{$PetscReal} ) @@ -2319,7 +2319,7 @@ See also: `PetscDTPTrimmedEvalJet()` $(_doc_external("DT/PetscDTPTrimmedSize")) """ function PetscDTPTrimmedSize(petsclib::PetscLibType, dim::Integer, degree::Integer, formDegree::Integer) - error("PetscDTPTrimmedSize: no generated method for these argument types") + throw(MethodError(PetscDTPTrimmedSize, (petsclib, dim, degree, formDegree))) end @for_petsc function PetscDTPTrimmedSize(petsclib::$UnionPetscLib, dim::$PetscInt, degree::$PetscInt, formDegree::$PetscInt ) @@ -2361,7 +2361,7 @@ See also: `PetscDTLegendreEval()` $(_doc_external("DT/PetscDTReconstructPoly")) """ function PetscDTReconstructPoly(petsclib::PetscLibType, degree::Integer, nsource::Integer, sourcex::AbstractVector{<:Number}, ntarget::Integer, targetx::AbstractVector{<:Number}, R::AbstractVector{<:Number}) - error("PetscDTReconstructPoly: no generated method for these argument types") + throw(MethodError(PetscDTReconstructPoly, (petsclib, degree, nsource, sourcex, ntarget, targetx, R))) end @for_petsc function PetscDTReconstructPoly(petsclib::$UnionPetscLib, degree::$PetscInt, nsource::$PetscInt, sourcex::Vector{$PetscReal}, ntarget::$PetscInt, targetx::Vector{$PetscReal}, R::Vector{$PetscReal} ) @@ -2401,7 +2401,7 @@ See also: `PetscDTSimplexQuadratureType`, `PetscDTGaussQuadrature()`, `PetscDTSt $(_doc_external("DT/PetscDTSimplexQuadrature")) """ function PetscDTSimplexQuadrature(petsclib::PetscLibType, dim::Integer, degree::Integer, type::PetscDTSimplexQuadratureType) - error("PetscDTSimplexQuadrature: no generated method for these argument types") + throw(MethodError(PetscDTSimplexQuadrature, (petsclib, dim, degree, type))) end @for_petsc function PetscDTSimplexQuadrature(petsclib::$UnionPetscLib, dim::$PetscInt, degree::$PetscInt, type::PetscDTSimplexQuadratureType ) @@ -2443,7 +2443,7 @@ See also: `PetscDTGaussTensorQuadrature()`, `PetscDTGaussQuadrature()` $(_doc_external("DT/PetscDTStroudConicalQuadrature")) """ function PetscDTStroudConicalQuadrature(petsclib::PetscLibType, dim::Integer, Nc::Integer, npoints::Integer, a::Real, b::Real) - error("PetscDTStroudConicalQuadrature: no generated method for these argument types") + throw(MethodError(PetscDTStroudConicalQuadrature, (petsclib, dim, Nc, npoints, a, b))) end @for_petsc function PetscDTStroudConicalQuadrature(petsclib::$UnionPetscLib, dim::$PetscInt, Nc::$PetscInt, npoints::$PetscInt, a::$PetscReal, b::$PetscReal ) @@ -2485,7 +2485,7 @@ See also: `PetscDTTanhSinhIntegrateMPFR()`, `PetscDTGaussQuadrature()` $(_doc_external("DT/PetscDTTanhSinhIntegrate")) """ function PetscDTTanhSinhIntegrate(petsclib::PetscLibType, func::external, a::Real, b::Real, digits::Integer, ctx::Ptr{Cvoid}) - error("PetscDTTanhSinhIntegrate: no generated method for these argument types") + throw(MethodError(PetscDTTanhSinhIntegrate, (petsclib, func, a, b, digits, ctx))) end @for_petsc function PetscDTTanhSinhIntegrate(petsclib::$UnionPetscLib, func::external, a::$PetscReal, b::$PetscReal, digits::$PetscInt, ctx::Ptr{Cvoid} ) @@ -2527,7 +2527,7 @@ See also: `PetscDTTanhSinhIntegrate()`, `PetscDTGaussQuadrature()` $(_doc_external("DT/PetscDTTanhSinhIntegrateMPFR")) """ function PetscDTTanhSinhIntegrateMPFR(petsclib::PetscLibType, func::external, a::Real, b::Real, digits::Integer, ctx::Ptr{Cvoid}) - error("PetscDTTanhSinhIntegrateMPFR: no generated method for these argument types") + throw(MethodError(PetscDTTanhSinhIntegrateMPFR, (petsclib, func, a, b, digits, ctx))) end @for_petsc function PetscDTTanhSinhIntegrateMPFR(petsclib::$UnionPetscLib, func::external, a::$PetscReal, b::$PetscReal, digits::$PetscInt, ctx::Ptr{Cvoid} ) @@ -2568,7 +2568,7 @@ See also: `PetscDTGaussTensorQuadrature()`, `PetscQuadrature` $(_doc_external("DT/PetscDTTanhSinhTensorQuadrature")) """ function PetscDTTanhSinhTensorQuadrature(petsclib::PetscLibType, dim::Integer, level::Integer, a::Real, b::Real) - error("PetscDTTanhSinhTensorQuadrature: no generated method for these argument types") + throw(MethodError(PetscDTTanhSinhTensorQuadrature, (petsclib, dim, level, a, b))) end @for_petsc function PetscDTTanhSinhTensorQuadrature(petsclib::$UnionPetscLib, dim::$PetscInt, level::$PetscInt, a::$PetscReal, b::$PetscReal ) @@ -2607,7 +2607,7 @@ See also: `PetscQuadrature`, `PetscDTGaussTensorQuadrature()` $(_doc_external("DT/PetscDTTensorQuadratureCreate")) """ function PetscDTTensorQuadratureCreate(petsclib::PetscLibType, q1::PetscQuadrature, q2::PetscQuadrature) - error("PetscDTTensorQuadratureCreate: no generated method for these argument types") + throw(MethodError(PetscDTTensorQuadratureCreate, (petsclib, q1, q2))) end @for_petsc function PetscDTTensorQuadratureCreate(petsclib::$UnionPetscLib, q1::PetscQuadrature, q2::PetscQuadrature ) @@ -2645,7 +2645,7 @@ See also: `PetscStackView()`, `PetscStackPrint()` $(_doc_external("Sys/PetscDemangleSymbol")) """ function PetscDemangleSymbol(petsclib::PetscLibType, mangledName::String) - error("PetscDemangleSymbol: no generated method for these argument types") + throw(MethodError(PetscDemangleSymbol, (petsclib, mangledName))) end @for_petsc function PetscDemangleSymbol(petsclib::$UnionPetscLib, mangledName::String ) @@ -2675,7 +2675,7 @@ See also: `PetscFPTrapPush()`, `PetscFPTrapPop()`, `PetscDetermineInitialFPTrap( $(_doc_external("Sys/PetscDetermineInitialFPTrap")) """ function PetscDetermineInitialFPTrap(petsclib::PetscLibType) - error("PetscDetermineInitialFPTrap: no generated method for these argument types") + throw(MethodError(PetscDetermineInitialFPTrap, (petsclib, ))) end @for_petsc function PetscDetermineInitialFPTrap(petsclib::$UnionPetscLib) @@ -2713,7 +2713,7 @@ See also: `PetscEnumFind()` $(_doc_external("Sys/PetscEListFind")) """ function PetscEListFind(petsclib::PetscLibType, n::Integer, list::Cchar, str::String) - error("PetscEListFind: no generated method for these argument types") + throw(MethodError(PetscEListFind, (petsclib, n, list, str))) end @for_petsc function PetscEListFind(petsclib::$UnionPetscLib, n::$PetscInt, list::Cchar, str::String ) @@ -2740,7 +2740,7 @@ end $(_doc_external("Sys/PetscElementalFinalizePackage")) """ function PetscElementalFinalizePackage(petsclib::PetscLibType) - error("PetscElementalFinalizePackage: no generated method for these argument types") + throw(MethodError(PetscElementalFinalizePackage, (petsclib, ))) end @for_petsc function PetscElementalFinalizePackage(petsclib::$UnionPetscLib) @@ -2762,7 +2762,7 @@ end $(_doc_external("Sys/PetscElementalInitializePackage")) """ function PetscElementalInitializePackage(petsclib::PetscLibType) - error("PetscElementalInitializePackage: no generated method for these argument types") + throw(MethodError(PetscElementalInitializePackage, (petsclib, ))) end @for_petsc function PetscElementalInitializePackage(petsclib::$UnionPetscLib) @@ -2784,7 +2784,7 @@ end $(_doc_external("Sys/PetscElementalInitialized")) """ function PetscElementalInitialized(petsclib::PetscLibType) - error("PetscElementalInitialized: no generated method for these argument types") + throw(MethodError(PetscElementalInitialized, (petsclib, ))) end @for_petsc function PetscElementalInitialized(petsclib::$UnionPetscLib) @@ -2832,7 +2832,7 @@ See also: `PetscError()`, `PetscPushErrorHandler()`, `PetscPopErrorHandler()`, ` $(_doc_external("Sys/PetscEmacsClientErrorHandler")) """ function PetscEmacsClientErrorHandler(petsclib::PetscLibType, comm::MPI_Comm, line::Cint, fun::String, file::String, n::PetscErrorCode, p::PetscErrorType, mess::String, ctx::Ptr{Cvoid}) - error("PetscEmacsClientErrorHandler: no generated method for these argument types") + throw(MethodError(PetscEmacsClientErrorHandler, (petsclib, comm, line, fun, file, n, p, mess, ctx))) end @for_petsc function PetscEmacsClientErrorHandler(petsclib::$UnionPetscLib, comm::MPI_Comm, line::Cint, fun::String, file::String, n::PetscErrorCode, p::PetscErrorType, mess::String, ctx::Ptr{Cvoid} ) @@ -2863,7 +2863,7 @@ See also: `PetscInitialize()`, `PetscOptionsView()`, `PetscMallocDump()`, `Petsc $(_doc_external("Sys/PetscEnd")) """ function PetscEnd(petsclib::PetscLibType) - error("PetscEnd: no generated method for these argument types") + throw(MethodError(PetscEnd, (petsclib, ))) end @for_petsc function PetscEnd(petsclib::$UnionPetscLib) @@ -2900,7 +2900,7 @@ See also: `PetscEListFind()` $(_doc_external("Sys/PetscEnumFind")) """ function PetscEnumFind(petsclib::PetscLibType, enumlist::Cchar, str::String) - error("PetscEnumFind: no generated method for these argument types") + throw(MethodError(PetscEnumFind, (petsclib, enumlist, str))) end @for_petsc function PetscEnumFind(petsclib::$UnionPetscLib, enumlist::Cchar, str::String ) @@ -2944,7 +2944,7 @@ See also: `PetscErrorCode`, `PetscPushErrorHandler()`, `PetscAttachDebuggerError $(_doc_external("Sys/PetscErrorMessage")) """ function PetscErrorMessage(petsclib::PetscLibType, errnum::PetscErrorCode) - error("PetscErrorMessage: no generated method for these argument types") + throw(MethodError(PetscErrorMessage, (petsclib, errnum))) end @for_petsc function PetscErrorMessage(petsclib::$UnionPetscLib, errnum::PetscErrorCode ) @@ -2978,7 +2978,7 @@ See also: `PetscErrorPrintf`, `PetscTraceBackErrorHandler()`, `PetscPushErrorHan $(_doc_external("Sys/PetscErrorPrintfInitialize")) """ function PetscErrorPrintfInitialize(petsclib::PetscLibType) - error("PetscErrorPrintfInitialize: no generated method for these argument types") + throw(MethodError(PetscErrorPrintfInitialize, (petsclib, ))) end @for_petsc function PetscErrorPrintfInitialize(petsclib::$UnionPetscLib) @@ -3012,7 +3012,7 @@ See also: `PetscFOpen()` $(_doc_external("Sys/PetscFClose")) """ function PetscFClose(petsclib::PetscLibType, comm::MPI_Comm, fd::Libc.FILE) - error("PetscFClose: no generated method for these argument types") + throw(MethodError(PetscFClose, (petsclib, comm, fd))) end @for_petsc function PetscFClose(petsclib::$UnionPetscLib, comm::MPI_Comm, fd::Libc.FILE ) @@ -3043,7 +3043,7 @@ See also: `PetscPrintf()`, `PetscFPrintf()`, `PetscVFPrintf()`, `PetscVSNPrintf( $(_doc_external("Sys/PetscFFlush")) """ function PetscFFlush(petsclib::PetscLibType, fd::Libc.FILE) - error("PetscFFlush: no generated method for these argument types") + throw(MethodError(PetscFFlush, (petsclib, fd))) end @for_petsc function PetscFFlush(petsclib::$UnionPetscLib, fd::Libc.FILE ) @@ -3083,7 +3083,7 @@ See also: `PetscFClose()`, `PetscSynchronizedFGets()`, `PetscSynchronizedPrintf( $(_doc_external("Sys/PetscFOpen")) """ function PetscFOpen(petsclib::PetscLibType, comm::MPI_Comm, name::String, mode::String) - error("PetscFOpen: no generated method for these argument types") + throw(MethodError(PetscFOpen, (petsclib, comm, name, mode))) end @for_petsc function PetscFOpen(petsclib::$UnionPetscLib, comm::MPI_Comm, name::String, mode::String ) @@ -3115,7 +3115,7 @@ See also: `PetscFPTrapPush()`, `PetscSetFPTrap()`, `PetscDetermineInitialFPTrap( $(_doc_external("Sys/PetscFPTrapPop")) """ function PetscFPTrapPop(petsclib::PetscLibType) - error("PetscFPTrapPop: no generated method for these argument types") + throw(MethodError(PetscFPTrapPop, (petsclib, ))) end @for_petsc function PetscFPTrapPop(petsclib::$UnionPetscLib) @@ -3147,7 +3147,7 @@ See also: `PetscFPTrapPop()`, `PetscSetFPTrap()`, `PetscDetermineInitialFPTrap() $(_doc_external("Sys/PetscFPTrapPush")) """ function PetscFPTrapPush(petsclib::PetscLibType, trap::PetscFPTrap) - error("PetscFPTrapPush: no generated method for these argument types") + throw(MethodError(PetscFPTrapPush, (petsclib, trap))) end @for_petsc function PetscFPTrapPush(petsclib::$UnionPetscLib, trap::PetscFPTrap ) @@ -3187,7 +3187,7 @@ See also: `PetscDLLibraryRetrieve()` $(_doc_external("Sys/PetscFileRetrieve")) """ function PetscFileRetrieve(petsclib::PetscLibType, comm::MPI_Comm, url::String, localname::String, llen::Csize_t) - error("PetscFileRetrieve: no generated method for these argument types") + throw(MethodError(PetscFileRetrieve, (petsclib, comm, url, localname, llen))) end @for_petsc function PetscFileRetrieve(petsclib::$UnionPetscLib, comm::MPI_Comm, url::String, localname::String, llen::Csize_t ) @@ -3229,7 +3229,7 @@ See also: `PetscInitialize()`, `PetscOptionsView()`, `PetscMallocDump()`, `Petsc $(_doc_external("Sys/PetscFinalize")) """ function PetscFinalize(petsclib::PetscLibType) - error("PetscFinalize: no generated method for these argument types") + throw(MethodError(PetscFinalize, (petsclib, ))) end @for_petsc function PetscFinalize(petsclib::$UnionPetscLib) @@ -3259,7 +3259,7 @@ See also: `PetscInitialize()`, `PetscInitializeNoArguments()`, `PetscInitializeF $(_doc_external("Sys/PetscFinalized")) """ function PetscFinalized(petsclib::PetscLibType) - error("PetscFinalized: no generated method for these argument types") + throw(MethodError(PetscFinalized, (petsclib, ))) end @for_petsc function PetscFinalized(petsclib::$UnionPetscLib) @@ -3299,7 +3299,7 @@ See also: `PetscCount`, `PetscSortCount()` $(_doc_external("Sys/PetscFindCount")) """ function PetscFindCount(petsclib::PetscLibType, key::PetscCount, n::PetscCount, X::Vector{PetscCount}) - error("PetscFindCount: no generated method for these argument types") + throw(MethodError(PetscFindCount, (petsclib, key, n, X))) end @for_petsc function PetscFindCount(petsclib::$UnionPetscLib, key::PetscCount, n::PetscCount, X::Vector{PetscCount} ) @@ -3339,7 +3339,7 @@ See also: `PetscIntSortSemiOrdered()`, `PetscSortInt()`, `PetscSortIntWithArray( $(_doc_external("Sys/PetscFindInt")) """ function PetscFindInt(petsclib::PetscLibType, key::Integer, n::PetscCount, X::AbstractVector{<:Number}) - error("PetscFindInt: no generated method for these argument types") + throw(MethodError(PetscFindInt, (petsclib, key, n, X))) end @for_petsc function PetscFindInt(petsclib::$UnionPetscLib, key::$PetscInt, n::PetscCount, X::Vector{$PetscInt} ) @@ -3379,7 +3379,7 @@ See also: `PetscMPIIntSortSemiOrdered()`, `PetscSortInt()`, `PetscSortIntWithArr $(_doc_external("Sys/PetscFindMPIInt")) """ function PetscFindMPIInt(petsclib::PetscLibType, key::PetscMPIInt, n::PetscCount, X::Vector{PetscMPIInt}) - error("PetscFindMPIInt: no generated method for these argument types") + throw(MethodError(PetscFindMPIInt, (petsclib, key, n, X))) end @for_petsc function PetscFindMPIInt(petsclib::$UnionPetscLib, key::PetscMPIInt, n::PetscCount, X::Vector{PetscMPIInt} ) @@ -3420,7 +3420,7 @@ See also: `PetscSortReal()`, `PetscSortRealWithArrayInt()` $(_doc_external("Sys/PetscFindReal")) """ function PetscFindReal(petsclib::PetscLibType, key::Real, n::PetscCount, t::AbstractVector{<:Number}, eps::Real) - error("PetscFindReal: no generated method for these argument types") + throw(MethodError(PetscFindReal, (petsclib, key, n, t, eps))) end @for_petsc function PetscFindReal(petsclib::$UnionPetscLib, key::$PetscReal, n::PetscCount, t::Vector{$PetscReal}, eps::$PetscReal ) @@ -3459,7 +3459,7 @@ See also: `PetscFOpen()` $(_doc_external("Sys/PetscFixFilename")) """ function PetscFixFilename(petsclib::PetscLibType, filein::String, fileout::String) - error("PetscFixFilename: no generated method for these argument types") + throw(MethodError(PetscFixFilename, (petsclib, filein, fileout))) end @for_petsc function PetscFixFilename(petsclib::$UnionPetscLib, filein::String, fileout::String ) @@ -3493,7 +3493,7 @@ See also: `PetscFormKey`, `PetscIntSortSemiOrdered()`, `PetscSortInt()` $(_doc_external("DT/PetscFormKeySort")) """ function PetscFormKeySort(petsclib::PetscLibType, n::Integer, arr::Vector{PetscFormKey}) - error("PetscFormKeySort: no generated method for these argument types") + throw(MethodError(PetscFormKeySort, (petsclib, n, arr))) end @for_petsc function PetscFormKeySort(petsclib::$UnionPetscLib, n::$PetscInt, arr::Vector{PetscFormKey} ) @@ -3529,7 +3529,7 @@ See also: `PetscFormatConvertGetSize()`, `PetscVSNPrintf()`, `PetscVFPrintf()` $(_doc_external("Sys/PetscFormatConvert")) """ function PetscFormatConvert(petsclib::PetscLibType, format::String, newformat::String) - error("PetscFormatConvert: no generated method for these argument types") + throw(MethodError(PetscFormatConvert, (petsclib, format, newformat))) end @for_petsc function PetscFormatConvert(petsclib::$UnionPetscLib, format::String, newformat::String ) @@ -3565,7 +3565,7 @@ See also: `PetscFormatConvert()`, `PetscVSNPrintf()`, `PetscVFPrintf()` $(_doc_external("Sys/PetscFormatConvertGetSize")) """ function PetscFormatConvertGetSize(petsclib::PetscLibType, format::String) - error("PetscFormatConvertGetSize: no generated method for these argument types") + throw(MethodError(PetscFormatConvertGetSize, (petsclib, format))) end @for_petsc function PetscFormatConvertGetSize(petsclib::$UnionPetscLib, format::String ) @@ -3606,7 +3606,7 @@ See also: `PetscSNPrintf()`, `PetscViewerASCIIPrintf()` $(_doc_external("Sys/PetscFormatRealArray")) """ function PetscFormatRealArray(petsclib::PetscLibType, buf::String, len::Csize_t, fmt::String, n::Integer, x::AbstractVector{<:Number}) - error("PetscFormatRealArray: no generated method for these argument types") + throw(MethodError(PetscFormatRealArray, (petsclib, buf, len, fmt, n, x))) end @for_petsc function PetscFormatRealArray(petsclib::$UnionPetscLib, buf::String, len::Csize_t, fmt::String, n::$PetscInt, x::Vector{$PetscReal} ) @@ -3639,7 +3639,7 @@ See also: `PetscFinalize()`, `PetscInitializeFortran()`, `PetscGetArgs()`, `Pets $(_doc_external("Sys/PetscFreeArguments")) """ function PetscFreeArguments(petsclib::PetscLibType) - error("PetscFreeArguments: no generated method for these argument types") + throw(MethodError(PetscFreeArguments, (petsclib, ))) end @for_petsc function PetscFreeArguments(petsclib::$UnionPetscLib) @@ -3683,7 +3683,7 @@ See also: `PetscGatherNumberOfMessages()`, `PetscGatherMessageLengths2()`, `Pets $(_doc_external("Sys/PetscGatherMessageLengths")) """ function PetscGatherMessageLengths(petsclib::PetscLibType, comm::MPI_Comm, nsends::PetscMPIInt, nrecvs::PetscMPIInt, ilengths::Vector{PetscMPIInt}) - error("PetscGatherMessageLengths: no generated method for these argument types") + throw(MethodError(PetscGatherMessageLengths, (petsclib, comm, nsends, nrecvs, ilengths))) end @for_petsc function PetscGatherMessageLengths(petsclib::$UnionPetscLib, comm::MPI_Comm, nsends::PetscMPIInt, nrecvs::PetscMPIInt, ilengths::Vector{PetscMPIInt} ) @@ -3731,7 +3731,7 @@ See also: `PetscGatherMessageLengths()`, `PetscGatherNumberOfMessages()`, `Petsc $(_doc_external("Sys/PetscGatherMessageLengths2")) """ function PetscGatherMessageLengths2(petsclib::PetscLibType, comm::MPI_Comm, nsends::PetscMPIInt, nrecvs::PetscMPIInt, ilengths1::Vector{PetscMPIInt}, ilengths2::Vector{PetscMPIInt}) - error("PetscGatherMessageLengths2: no generated method for these argument types") + throw(MethodError(PetscGatherMessageLengths2, (petsclib, comm, nsends, nrecvs, ilengths1, ilengths2))) end @for_petsc function PetscGatherMessageLengths2(petsclib::$UnionPetscLib, comm::MPI_Comm, nsends::PetscMPIInt, nrecvs::PetscMPIInt, ilengths1::Vector{PetscMPIInt}, ilengths2::Vector{PetscMPIInt} ) @@ -3777,7 +3777,7 @@ See also: `PetscGatherMessageLengths()`, `PetscGatherMessageLengths2()`, `PetscC $(_doc_external("Sys/PetscGatherNumberOfMessages")) """ function PetscGatherNumberOfMessages(petsclib::PetscLibType, comm::MPI_Comm, iflags::Vector{PetscMPIInt}, ilengths::Vector{PetscMPIInt}) - error("PetscGatherNumberOfMessages: no generated method for these argument types") + throw(MethodError(PetscGatherNumberOfMessages, (petsclib, comm, iflags, ilengths))) end @for_petsc function PetscGatherNumberOfMessages(petsclib::$UnionPetscLib, comm::MPI_Comm, iflags::Vector{PetscMPIInt}, ilengths::Vector{PetscMPIInt} ) @@ -3817,7 +3817,7 @@ See also: `PetscDTGaussLobattoLegendreQuadrature()`, `PetscGaussLobattoLegendreE $(_doc_external("DT/PetscGaussLobattoLegendreElementAdvectionCreate")) """ function PetscGaussLobattoLegendreElementAdvectionCreate(petsclib::PetscLibType, n::Integer, nodes::AbstractVector{<:Number}, weights::AbstractVector{<:Number}) - error("PetscGaussLobattoLegendreElementAdvectionCreate: no generated method for these argument types") + throw(MethodError(PetscGaussLobattoLegendreElementAdvectionCreate, (petsclib, n, nodes, weights))) end @for_petsc function PetscGaussLobattoLegendreElementAdvectionCreate(petsclib::$UnionPetscLib, n::$PetscInt, nodes::Vector{$PetscReal}, weights::Vector{$PetscReal} ) @@ -3855,7 +3855,7 @@ See also: `PetscDTGaussLobattoLegendreQuadrature()`, `PetscGaussLobattoLegendreE $(_doc_external("DT/PetscGaussLobattoLegendreElementAdvectionDestroy")) """ function PetscGaussLobattoLegendreElementAdvectionDestroy(petsclib::PetscLibType, n::Integer, nodes::AbstractVector{<:Number}, weights::AbstractVector{<:Number}, AA::Real) - error("PetscGaussLobattoLegendreElementAdvectionDestroy: no generated method for these argument types") + throw(MethodError(PetscGaussLobattoLegendreElementAdvectionDestroy, (petsclib, n, nodes, weights, AA))) end @for_petsc function PetscGaussLobattoLegendreElementAdvectionDestroy(petsclib::$UnionPetscLib, n::$PetscInt, nodes::Vector{$PetscReal}, weights::Vector{$PetscReal}, AA::$PetscReal ) @@ -3894,7 +3894,7 @@ See also: `PetscDTGaussLobattoLegendreQuadrature()`, `PetscGaussLobattoLegendreE $(_doc_external("DT/PetscGaussLobattoLegendreElementGradientCreate")) """ function PetscGaussLobattoLegendreElementGradientCreate(petsclib::PetscLibType, n::Integer, nodes::AbstractVector{<:Number}, weights::AbstractVector{<:Number}) - error("PetscGaussLobattoLegendreElementGradientCreate: no generated method for these argument types") + throw(MethodError(PetscGaussLobattoLegendreElementGradientCreate, (petsclib, n, nodes, weights))) end @for_petsc function PetscGaussLobattoLegendreElementGradientCreate(petsclib::$UnionPetscLib, n::$PetscInt, nodes::Vector{$PetscReal}, weights::Vector{$PetscReal} ) @@ -3935,7 +3935,7 @@ See also: `PetscDTGaussLobattoLegendreQuadrature()`, `PetscGaussLobattoLegendreE $(_doc_external("DT/PetscGaussLobattoLegendreElementGradientDestroy")) """ function PetscGaussLobattoLegendreElementGradientDestroy(petsclib::PetscLibType, n::Integer, nodes::AbstractVector{<:Number}, weights::AbstractVector{<:Number}, AA::Real, AAT::Real) - error("PetscGaussLobattoLegendreElementGradientDestroy: no generated method for these argument types") + throw(MethodError(PetscGaussLobattoLegendreElementGradientDestroy, (petsclib, n, nodes, weights, AA, AAT))) end @for_petsc function PetscGaussLobattoLegendreElementGradientDestroy(petsclib::$UnionPetscLib, n::$PetscInt, nodes::Vector{$PetscReal}, weights::Vector{$PetscReal}, AA::$PetscReal, AAT::$PetscReal ) @@ -3973,7 +3973,7 @@ See also: `PetscDTGaussLobattoLegendreQuadrature()`, `PetscGaussLobattoLegendreE $(_doc_external("DT/PetscGaussLobattoLegendreElementLaplacianCreate")) """ function PetscGaussLobattoLegendreElementLaplacianCreate(petsclib::PetscLibType, n::Integer, nodes::AbstractVector{<:Number}, weights::AbstractVector{<:Number}) - error("PetscGaussLobattoLegendreElementLaplacianCreate: no generated method for these argument types") + throw(MethodError(PetscGaussLobattoLegendreElementLaplacianCreate, (petsclib, n, nodes, weights))) end @for_petsc function PetscGaussLobattoLegendreElementLaplacianCreate(petsclib::$UnionPetscLib, n::$PetscInt, nodes::Vector{$PetscReal}, weights::Vector{$PetscReal} ) @@ -4011,7 +4011,7 @@ See also: `PetscDTGaussLobattoLegendreQuadrature()`, `PetscGaussLobattoLegendreE $(_doc_external("DT/PetscGaussLobattoLegendreElementLaplacianDestroy")) """ function PetscGaussLobattoLegendreElementLaplacianDestroy(petsclib::PetscLibType, n::Integer, nodes::AbstractVector{<:Number}, weights::AbstractVector{<:Number}, AA::Real) - error("PetscGaussLobattoLegendreElementLaplacianDestroy: no generated method for these argument types") + throw(MethodError(PetscGaussLobattoLegendreElementLaplacianDestroy, (petsclib, n, nodes, weights, AA))) end @for_petsc function PetscGaussLobattoLegendreElementLaplacianDestroy(petsclib::$UnionPetscLib, n::$PetscInt, nodes::Vector{$PetscReal}, weights::Vector{$PetscReal}, AA::$PetscReal ) @@ -4049,7 +4049,7 @@ See also: `PetscDTGaussLobattoLegendreQuadrature()`, `PetscGaussLobattoLegendreE $(_doc_external("DT/PetscGaussLobattoLegendreElementMassCreate")) """ function PetscGaussLobattoLegendreElementMassCreate(petsclib::PetscLibType, n::Integer) - error("PetscGaussLobattoLegendreElementMassCreate: no generated method for these argument types") + throw(MethodError(PetscGaussLobattoLegendreElementMassCreate, (petsclib, n))) end @for_petsc function PetscGaussLobattoLegendreElementMassCreate(petsclib::$UnionPetscLib, n::$PetscInt ) @@ -4091,7 +4091,7 @@ See also: `PetscGaussLobattoLegendreElementMassCreate()`, `PetscDTGaussLobattoLe $(_doc_external("DT/PetscGaussLobattoLegendreElementMassDestroy")) """ function PetscGaussLobattoLegendreElementMassDestroy(petsclib::PetscLibType, n::Integer, AA::Real) - error("PetscGaussLobattoLegendreElementMassDestroy: no generated method for these argument types") + throw(MethodError(PetscGaussLobattoLegendreElementMassDestroy, (petsclib, n, AA))) end @for_petsc function PetscGaussLobattoLegendreElementMassDestroy(petsclib::$UnionPetscLib, n::$PetscInt, AA::$PetscReal ) @@ -4134,7 +4134,7 @@ See also: `PetscDTGaussLobattoLegendreQuadrature()` $(_doc_external("DT/PetscGaussLobattoLegendreIntegrate")) """ function PetscGaussLobattoLegendreIntegrate(petsclib::PetscLibType, n::Integer, nodes::AbstractVector{<:Number}, weights::AbstractVector{<:Number}, f::AbstractVector{<:Number}) - error("PetscGaussLobattoLegendreIntegrate: no generated method for these argument types") + throw(MethodError(PetscGaussLobattoLegendreIntegrate, (petsclib, n, nodes, weights, f))) end @for_petsc function PetscGaussLobattoLegendreIntegrate(petsclib::$UnionPetscLib, n::$PetscInt, nodes::Vector{$PetscReal}, weights::Vector{$PetscReal}, f::Vector{$PetscReal} ) @@ -4172,7 +4172,7 @@ See also: `PetscGetUserName()`, `PetscGetHostName()` $(_doc_external("Sys/PetscGetArchType")) """ function PetscGetArchType(petsclib::PetscLibType, str::String, slen::Csize_t) - error("PetscGetArchType: no generated method for these argument types") + throw(MethodError(PetscGetArchType, (petsclib, str, slen))) end @for_petsc function PetscGetArchType(petsclib::$UnionPetscLib, str::String, slen::Csize_t ) @@ -4207,7 +4207,7 @@ See also: `PetscFinalize()`, `PetscInitializeFortran()`, `PetscGetArguments()`, $(_doc_external("Sys/PetscGetArgs")) """ function PetscGetArgs(petsclib::PetscLibType) - error("PetscGetArgs: no generated method for these argument types") + throw(MethodError(PetscGetArgs, (petsclib, ))) end @for_petsc function PetscGetArgs(petsclib::$UnionPetscLib) @@ -4245,7 +4245,7 @@ See also: `PetscFinalize()`, `PetscInitializeFortran()`, `PetscGetArgs()`, `Pets $(_doc_external("Sys/PetscGetArguments")) """ function PetscGetArguments(petsclib::PetscLibType) - error("PetscGetArguments: no generated method for these argument types") + throw(MethodError(PetscGetArguments, (petsclib, ))) end @for_petsc function PetscGetArguments(petsclib::$UnionPetscLib) @@ -4292,7 +4292,7 @@ See also: `PetscTime()`, `PetscLogView()` $(_doc_external("Sys/PetscGetCPUTime")) """ function PetscGetCPUTime(petsclib::PetscLibType) - error("PetscGetCPUTime: no generated method for these argument types") + throw(MethodError(PetscGetCPUTime, (petsclib, ))) end @for_petsc function PetscGetCPUTime(petsclib::$UnionPetscLib) @@ -4317,7 +4317,7 @@ end $(_doc_external("Sys/PetscGetCurrentCUDAStream")) """ function PetscGetCurrentCUDAStream(petsclib::PetscLibType, stream::cudaStream_t) - error("PetscGetCurrentCUDAStream: no generated method for these argument types") + throw(MethodError(PetscGetCurrentCUDAStream, (petsclib, stream))) end @for_petsc function PetscGetCurrentCUDAStream(petsclib::$UnionPetscLib, stream::cudaStream_t ) @@ -4340,7 +4340,7 @@ end $(_doc_external("Sys/PetscGetCurrentHIPStream")) """ function PetscGetCurrentHIPStream(petsclib::PetscLibType, stream::hipStream_t) - error("PetscGetCurrentHIPStream: no generated method for these argument types") + throw(MethodError(PetscGetCurrentHIPStream, (petsclib, stream))) end @for_petsc function PetscGetCurrentHIPStream(petsclib::$UnionPetscLib, stream::hipStream_t ) @@ -4376,7 +4376,7 @@ See also: `PetscGetHostName()` $(_doc_external("Sys/PetscGetDate")) """ function PetscGetDate(petsclib::PetscLibType, date::String, len::Csize_t) - error("PetscGetDate: no generated method for these argument types") + throw(MethodError(PetscGetDate, (petsclib, date, len))) end @for_petsc function PetscGetDate(petsclib::$UnionPetscLib, date::String, len::Csize_t ) @@ -4415,7 +4415,7 @@ See also: `PETSC_DRAW_X`, `PetscDrawOpenX()` $(_doc_external("Sys/PetscGetDisplay")) """ function PetscGetDisplay(petsclib::PetscLibType, display::String, n::Csize_t) - error("PetscGetDisplay: no generated method for these argument types") + throw(MethodError(PetscGetDisplay, (petsclib, display, n))) end @for_petsc function PetscGetDisplay(petsclib::$UnionPetscLib, display::String, n::Csize_t ) @@ -4449,7 +4449,7 @@ See also: `PetscLogGpuFlops()`, `PetscTime()`, `PetscLogFlops()` $(_doc_external("Log/PetscGetFlops")) """ function PetscGetFlops(petsclib::PetscLibType) - error("PetscGetFlops: no generated method for these argument types") + throw(MethodError(PetscGetFlops, (petsclib, ))) end @for_petsc function PetscGetFlops(petsclib::$UnionPetscLib) @@ -4488,7 +4488,7 @@ See also: `PetscGetRelativePath()` $(_doc_external("Sys/PetscGetFullPath")) """ function PetscGetFullPath(petsclib::PetscLibType, path::String, fullpath::String, flen::Csize_t) - error("PetscGetFullPath: no generated method for these argument types") + throw(MethodError(PetscGetFullPath, (petsclib, path, fullpath, flen))) end @for_petsc function PetscGetFullPath(petsclib::$UnionPetscLib, path::String, fullpath::String, flen::Csize_t ) @@ -4524,7 +4524,7 @@ See also: `PetscGetTmp()`, `PetscSharedTmp()`, `PetscGetWorkingDirectory()` $(_doc_external("Sys/PetscGetHomeDirectory")) """ function PetscGetHomeDirectory(petsclib::PetscLibType, dir::String, maxlen::Csize_t) - error("PetscGetHomeDirectory: no generated method for these argument types") + throw(MethodError(PetscGetHomeDirectory, (petsclib, dir, maxlen))) end @for_petsc function PetscGetHomeDirectory(petsclib::$UnionPetscLib, dir::String, maxlen::Csize_t ) @@ -4563,7 +4563,7 @@ See also: `PetscGetUserName()`, `PetscGetArchType()` $(_doc_external("Sys/PetscGetHostName")) """ function PetscGetHostName(petsclib::PetscLibType, name::String, nlen::Csize_t) - error("PetscGetHostName: no generated method for these argument types") + throw(MethodError(PetscGetHostName, (petsclib, name, nlen))) end @for_petsc function PetscGetHostName(petsclib::$UnionPetscLib, name::String, nlen::Csize_t ) @@ -4600,7 +4600,7 @@ See also: `PetscMemType`, `PetscDeviceMalloc()`, `PetscDeviceCalloc()`, `PetscDe $(_doc_external("Sys/PetscGetMemType")) """ function PetscGetMemType(petsclib::PetscLibType, ptr::Ptr{Cvoid}) - error("PetscGetMemType: no generated method for these argument types") + throw(MethodError(PetscGetMemType, (petsclib, ptr))) end @for_petsc function PetscGetMemType(petsclib::$UnionPetscLib, ptr::Ptr{Cvoid} ) @@ -4635,7 +4635,7 @@ See also: `PetscGetArchType()` $(_doc_external("Sys/PetscGetPetscDir")) """ function PetscGetPetscDir(petsclib::PetscLibType) - error("PetscGetPetscDir: no generated method for these argument types") + throw(MethodError(PetscGetPetscDir, (petsclib, ))) end @for_petsc function PetscGetPetscDir(petsclib::$UnionPetscLib) @@ -4673,7 +4673,7 @@ See also: `PetscFinalize()`, `PetscInitializeFortran()`, `PetscGetArguments()`, $(_doc_external("Sys/PetscGetProgramName")) """ function PetscGetProgramName(petsclib::PetscLibType, name::String, len::Csize_t) - error("PetscGetProgramName: no generated method for these argument types") + throw(MethodError(PetscGetProgramName, (petsclib, name, len))) end @for_petsc function PetscGetProgramName(petsclib::$UnionPetscLib, name::String, len::Csize_t ) @@ -4709,7 +4709,7 @@ See also: `PetscGetFullPath()` $(_doc_external("Sys/PetscGetRealPath")) """ function PetscGetRealPath(petsclib::PetscLibType, path::String, rpath::String) - error("PetscGetRealPath: no generated method for these argument types") + throw(MethodError(PetscGetRealPath, (petsclib, path, rpath))) end @for_petsc function PetscGetRealPath(petsclib::$UnionPetscLib, path::String, rpath::String ) @@ -4747,7 +4747,7 @@ See also: `PetscGetFullPath()` $(_doc_external("Sys/PetscGetRelativePath")) """ function PetscGetRelativePath(petsclib::PetscLibType, fullpath::String, path::String, flen::Csize_t) - error("PetscGetRelativePath: no generated method for these argument types") + throw(MethodError(PetscGetRelativePath, (petsclib, fullpath, path, flen))) end @for_petsc function PetscGetRelativePath(petsclib::$UnionPetscLib, fullpath::String, path::String, flen::Csize_t ) @@ -4789,7 +4789,7 @@ See also: `PetscSharedTmp()`, `PetscSharedWorkingDirectory()`, `PetscGetWorkingD $(_doc_external("Sys/PetscGetTmp")) """ function PetscGetTmp(petsclib::PetscLibType, comm::MPI_Comm, dir::String, len::Csize_t) - error("PetscGetTmp: no generated method for these argument types") + throw(MethodError(PetscGetTmp, (petsclib, comm, dir, len))) end @for_petsc function PetscGetTmp(petsclib::$UnionPetscLib, comm::MPI_Comm, dir::String, len::Csize_t ) @@ -4825,7 +4825,7 @@ See also: `PetscGetHostName()`, `PetscGetProgramName()` $(_doc_external("Sys/PetscGetUserName")) """ function PetscGetUserName(petsclib::PetscLibType, name::String, nlen::Csize_t) - error("PetscGetUserName: no generated method for these argument types") + throw(MethodError(PetscGetUserName, (petsclib, name, nlen))) end @for_petsc function PetscGetUserName(petsclib::$UnionPetscLib, name::String, nlen::Csize_t ) @@ -4861,7 +4861,7 @@ See also: `PetscGetProgramName()`, `PetscGetVersionNumber()` $(_doc_external("Sys/PetscGetVersion")) """ function PetscGetVersion(petsclib::PetscLibType, version::String, len::Csize_t) - error("PetscGetVersion: no generated method for these argument types") + throw(MethodError(PetscGetVersion, (petsclib, version, len))) end @for_petsc function PetscGetVersion(petsclib::$UnionPetscLib, version::String, len::Csize_t ) @@ -4897,7 +4897,7 @@ See also: `PetscGetProgramName()`, `PetscGetVersion()`, `PetscInitialize()` $(_doc_external("Sys/PetscGetVersionNumber")) """ function PetscGetVersionNumber(petsclib::PetscLibType) - error("PetscGetVersionNumber: no generated method for these argument types") + throw(MethodError(PetscGetVersionNumber, (petsclib, ))) end @for_petsc function PetscGetVersionNumber(petsclib::$UnionPetscLib) @@ -4941,7 +4941,7 @@ See also: `PetscGetTmp()`, `PetscSharedTmp()`, `PetscSharedWorkingDirectory()`, $(_doc_external("Sys/PetscGetWorkingDirectory")) """ function PetscGetWorkingDirectory(petsclib::PetscLibType, path::String, len::Csize_t) - error("PetscGetWorkingDirectory: no generated method for these argument types") + throw(MethodError(PetscGetWorkingDirectory, (petsclib, path, len))) end @for_petsc function PetscGetWorkingDirectory(petsclib::$UnionPetscLib, path::String, len::Csize_t ) @@ -4978,7 +4978,7 @@ See also: `PetscSplitOwnership()`, `PetscGlobalMinMaxReal()` $(_doc_external("Sys/PetscGlobalMinMaxInt")) """ function PetscGlobalMinMaxInt(petsclib::PetscLibType, comm::MPI_Comm, minMaxVal::AbstractVector{<:Number}, minMaxValGlobal::AbstractVector{<:Number}) - error("PetscGlobalMinMaxInt: no generated method for these argument types") + throw(MethodError(PetscGlobalMinMaxInt, (petsclib, comm, minMaxVal, minMaxValGlobal))) end @for_petsc function PetscGlobalMinMaxInt(petsclib::$UnionPetscLib, comm::MPI_Comm, minMaxVal::Vector{$PetscInt}, minMaxValGlobal::Vector{$PetscInt} ) @@ -5015,7 +5015,7 @@ See also: `PetscSplitOwnership()`, `PetscGlobalMinMaxInt()` $(_doc_external("Sys/PetscGlobalMinMaxReal")) """ function PetscGlobalMinMaxReal(petsclib::PetscLibType, comm::MPI_Comm, minMaxVal::AbstractVector{<:Number}, minMaxValGlobal::AbstractVector{<:Number}) - error("PetscGlobalMinMaxReal: no generated method for these argument types") + throw(MethodError(PetscGlobalMinMaxReal, (petsclib, comm, minMaxVal, minMaxValGlobal))) end @for_petsc function PetscGlobalMinMaxReal(petsclib::$UnionPetscLib, comm::MPI_Comm, minMaxVal::Vector{$PetscReal}, minMaxValGlobal::Vector{$PetscReal} ) @@ -5052,7 +5052,7 @@ See also: `PetscGoogleDriveRefresh()`, `PetscGoogleDriveUpload()`, `PetscGlobusU $(_doc_external("Sys/PetscGlobusAuthorize")) """ function PetscGlobusAuthorize(petsclib::PetscLibType, comm::MPI_Comm, access_token::String, tokensize::Csize_t) - error("PetscGlobusAuthorize: no generated method for these argument types") + throw(MethodError(PetscGlobusAuthorize, (petsclib, comm, access_token, tokensize))) end @for_petsc function PetscGlobusAuthorize(petsclib::$UnionPetscLib, comm::MPI_Comm, access_token::String, tokensize::Csize_t ) @@ -5091,7 +5091,7 @@ See also: `PetscGoogleDriveRefresh()`, `PetscGoogleDriveUpload()`, `PetscGlobusU $(_doc_external("Sys/PetscGlobusGetTransfers")) """ function PetscGlobusGetTransfers(petsclib::PetscLibType, comm::MPI_Comm, access_token::String, buff::String, buffsize::Csize_t) - error("PetscGlobusGetTransfers: no generated method for these argument types") + throw(MethodError(PetscGlobusGetTransfers, (petsclib, comm, access_token, buff, buffsize))) end @for_petsc function PetscGlobusGetTransfers(petsclib::$UnionPetscLib, comm::MPI_Comm, access_token::String, buff::String, buffsize::Csize_t ) @@ -5129,7 +5129,7 @@ See also: `PetscGoogleDriveAuthorize()`, `PetscGoogleDriveRefresh()`, `PetscGlob $(_doc_external("Sys/PetscGlobusUpload")) """ function PetscGlobusUpload(petsclib::PetscLibType, comm::MPI_Comm, access_token::String, filename::String) - error("PetscGlobusUpload: no generated method for these argument types") + throw(MethodError(PetscGlobusUpload, (petsclib, comm, access_token, filename))) end @for_petsc function PetscGlobusUpload(petsclib::$UnionPetscLib, comm::MPI_Comm, access_token::String, filename::String ) @@ -5168,7 +5168,7 @@ See also: `PetscGoogleDriveRefresh()`, `PetscGoogleDriveUpload()` $(_doc_external("Sys/PetscGoogleDriveAuthorize")) """ function PetscGoogleDriveAuthorize(petsclib::PetscLibType, comm::MPI_Comm, access_token::String, refresh_token::String, tokensize::Csize_t) - error("PetscGoogleDriveAuthorize: no generated method for these argument types") + throw(MethodError(PetscGoogleDriveAuthorize, (petsclib, comm, access_token, refresh_token, tokensize))) end @for_petsc function PetscGoogleDriveAuthorize(petsclib::$UnionPetscLib, comm::MPI_Comm, access_token::String, refresh_token::String, tokensize::Csize_t ) @@ -5210,7 +5210,7 @@ See also: `PetscGoogleDriveAuthorize()`, `PetscGoogleDriveUpload()` $(_doc_external("Sys/PetscGoogleDriveRefresh")) """ function PetscGoogleDriveRefresh(petsclib::PetscLibType, comm::MPI_Comm, refresh_token::String, access_token::String, tokensize::Csize_t) - error("PetscGoogleDriveRefresh: no generated method for these argument types") + throw(MethodError(PetscGoogleDriveRefresh, (petsclib, comm, refresh_token, access_token, tokensize))) end @for_petsc function PetscGoogleDriveRefresh(petsclib::$UnionPetscLib, comm::MPI_Comm, refresh_token::String, access_token::String, tokensize::Csize_t ) @@ -5246,7 +5246,7 @@ See also: `PetscGoogleDriveAuthorize()`, `PetscGoogleDriveRefresh()` $(_doc_external("Sys/PetscGoogleDriveUpload")) """ function PetscGoogleDriveUpload(petsclib::PetscLibType, comm::MPI_Comm, access_token::String, filename::String) - error("PetscGoogleDriveUpload: no generated method for these argument types") + throw(MethodError(PetscGoogleDriveUpload, (petsclib, comm, access_token, filename))) end @for_petsc function PetscGoogleDriveUpload(petsclib::$UnionPetscLib, comm::MPI_Comm, access_token::String, filename::String ) @@ -5282,7 +5282,7 @@ See also: `PetscDataType` $(_doc_external("Viewer/PetscHDF5DataTypeToPetscDataType")) """ function PetscHDF5DataTypeToPetscDataType(petsclib::PetscLibType, htype::hid_t) - error("PetscHDF5DataTypeToPetscDataType: no generated method for these argument types") + throw(MethodError(PetscHDF5DataTypeToPetscDataType, (petsclib, htype))) end @for_petsc function PetscHDF5DataTypeToPetscDataType(petsclib::$UnionPetscLib, htype::hid_t ) @@ -5307,7 +5307,7 @@ end $(_doc_external("Sys/PetscHIPBLASGetHandle")) """ function PetscHIPBLASGetHandle(petsclib::PetscLibType, handle::hipblasHandle_t) - error("PetscHIPBLASGetHandle: no generated method for these argument types") + throw(MethodError(PetscHIPBLASGetHandle, (petsclib, handle))) end @for_petsc function PetscHIPBLASGetHandle(petsclib::$UnionPetscLib, handle::hipblasHandle_t ) @@ -5330,7 +5330,7 @@ end $(_doc_external("Sys/PetscHIPSOLVERGetHandle")) """ function PetscHIPSOLVERGetHandle(petsclib::PetscLibType, handle::hipsolverHandle_t) - error("PetscHIPSOLVERGetHandle: no generated method for these argument types") + throw(MethodError(PetscHIPSOLVERGetHandle, (petsclib, handle))) end @for_petsc function PetscHIPSOLVERGetHandle(petsclib::$UnionPetscLib, handle::hipsolverHandle_t ) @@ -5370,7 +5370,7 @@ See also: `PetscHTTPSRequest()`, `PetscOpenSocket()`, `PetscHTTPSConnect()`, `Pe $(_doc_external("Sys/PetscHTTPRequest")) """ function PetscHTTPRequest(petsclib::PetscLibType, type::String, url::String, header::String, ctype::String, body::String, sock::Cint, buff::String, buffsize::Csize_t) - error("PetscHTTPRequest: no generated method for these argument types") + throw(MethodError(PetscHTTPRequest, (petsclib, type, url, header, ctype, body, sock, buff, buffsize))) end @for_petsc function PetscHTTPRequest(petsclib::$UnionPetscLib, type::String, url::String, header::String, ctype::String, body::String, sock::Cint, buff::String, buffsize::Csize_t ) @@ -5407,7 +5407,7 @@ See also: `PetscOpenSocket()`, `PetscHTTPSRequest()`, `PetscSSLInitializeContext $(_doc_external("Sys/PetscHTTPSConnect")) """ function PetscHTTPSConnect(petsclib::PetscLibType, host::String, port::Cint, ctx::SSL_CTX) - error("PetscHTTPSConnect: no generated method for these argument types") + throw(MethodError(PetscHTTPSConnect, (petsclib, host, port, ctx))) end @for_petsc function PetscHTTPSConnect(petsclib::$UnionPetscLib, host::String, port::Cint, ctx::SSL_CTX ) @@ -5451,7 +5451,7 @@ See also: `PetscHTTPRequest()`, `PetscHTTPSConnect()`, `PetscSSLInitializeContex $(_doc_external("Sys/PetscHTTPSRequest")) """ function PetscHTTPSRequest(petsclib::PetscLibType, type::String, url::String, header::String, ctype::String, body::String, ssl::SSL, buff::String, buffsize::Csize_t) - error("PetscHTTPSRequest: no generated method for these argument types") + throw(MethodError(PetscHTTPSRequest, (petsclib, type, url, header, ctype, body, ssl, buff, buffsize))) end @for_petsc function PetscHTTPSRequest(petsclib::$UnionPetscLib, type::String, url::String, header::String, ctype::String, body::String, ssl::SSL, buff::String, buffsize::Csize_t ) @@ -5487,7 +5487,7 @@ See also: `PetscViewerType`, `MatPartitioningType`, `MatSolverType` $(_doc_external("Sys/PetscHasExternalPackage")) """ function PetscHasExternalPackage(petsclib::PetscLibType, pkg::String) - error("PetscHasExternalPackage: no generated method for these argument types") + throw(MethodError(PetscHasExternalPackage, (petsclib, pkg))) end @for_petsc function PetscHasExternalPackage(petsclib::$UnionPetscLib, pkg::String ) @@ -5525,7 +5525,7 @@ See also: `PetscInfoDeactivateClass()`, `PetscInfo()`, `PetscInfoAllow()`, `Pets $(_doc_external("Log/PetscInfoActivateClass")) """ function PetscInfoActivateClass(petsclib::PetscLibType, classid::PetscClassId) - error("PetscInfoActivateClass: no generated method for these argument types") + throw(MethodError(PetscInfoActivateClass, (petsclib, classid))) end @for_petsc function PetscInfoActivateClass(petsclib::$UnionPetscLib, classid::PetscClassId ) @@ -5558,7 +5558,7 @@ See also: `PetscInfo()`, `PetscInfoEnabled()`, `PetscInfoGetInfo()`, `PetscInfoS $(_doc_external("Log/PetscInfoAllow")) """ function PetscInfoAllow(petsclib::PetscLibType, flag::PetscBool) - error("PetscInfoAllow: no generated method for these argument types") + throw(MethodError(PetscInfoAllow, (petsclib, flag))) end @for_petsc function PetscInfoAllow(petsclib::$UnionPetscLib, flag::PetscBool ) @@ -5594,7 +5594,7 @@ See also: `PetscInfoActivateClass()`, `PetscInfo()`, `PetscInfoAllow()`, `PetscI $(_doc_external("Log/PetscInfoDeactivateClass")) """ function PetscInfoDeactivateClass(petsclib::PetscLibType, classid::PetscClassId) - error("PetscInfoDeactivateClass: no generated method for these argument types") + throw(MethodError(PetscInfoDeactivateClass, (petsclib, classid))) end @for_petsc function PetscInfoDeactivateClass(petsclib::$UnionPetscLib, classid::PetscClassId ) @@ -5624,7 +5624,7 @@ See also: `PetscInfo()`, `PetscInfoSetFromOptions()` $(_doc_external("Log/PetscInfoDestroy")) """ function PetscInfoDestroy(petsclib::PetscLibType) - error("PetscInfoDestroy: no generated method for these argument types") + throw(MethodError(PetscInfoDestroy, (petsclib, ))) end @for_petsc function PetscInfoDestroy(petsclib::$UnionPetscLib) @@ -5659,7 +5659,7 @@ See also: `PetscInfo()`, `PetscInfoAllow()`, `PetscInfoGetInfo()`, `PetscObjectG $(_doc_external("Log/PetscInfoEnabled")) """ function PetscInfoEnabled(petsclib::PetscLibType, classid::PetscClassId) - error("PetscInfoEnabled: no generated method for these argument types") + throw(MethodError(PetscInfoEnabled, (petsclib, classid))) end @for_petsc function PetscInfoEnabled(petsclib::$UnionPetscLib, classid::PetscClassId ) @@ -5697,7 +5697,7 @@ See also: `PetscInfo()`, `PetscInfoSetClasses()`, `PetscInfoSetFromOptions()`, ` $(_doc_external("Log/PetscInfoGetClass")) """ function PetscInfoGetClass(petsclib::PetscLibType, classname::String) - error("PetscInfoGetClass: no generated method for these argument types") + throw(MethodError(PetscInfoGetClass, (petsclib, classname))) end @for_petsc function PetscInfoGetClass(petsclib::$UnionPetscLib, classname::String ) @@ -5733,7 +5733,7 @@ See also: `PetscInfo()`, `PetscInfoSetFile()`, `PetscInfoSetFromOptions()`, `Pet $(_doc_external("Log/PetscInfoGetFile")) """ function PetscInfoGetFile(petsclib::PetscLibType) - error("PetscInfoGetFile: no generated method for these argument types") + throw(MethodError(PetscInfoGetFile, (petsclib, ))) end @for_petsc function PetscInfoGetFile(petsclib::$UnionPetscLib) @@ -5775,7 +5775,7 @@ See also: `PetscInfo()`, `PetscInfoAllow()`, `PetscInfoSetFilterCommSelf`, `Pets $(_doc_external("Log/PetscInfoGetInfo")) """ function PetscInfoGetInfo(petsclib::PetscLibType) - error("PetscInfoGetInfo: no generated method for these argument types") + throw(MethodError(PetscInfoGetInfo, (petsclib, ))) end @for_petsc function PetscInfoGetInfo(petsclib::$UnionPetscLib) @@ -5823,7 +5823,7 @@ See also: `PetscInfo()`, `PetscInfoActivateClass()`, `PetscInfoDeactivateClass() $(_doc_external("Log/PetscInfoProcessClass")) """ function PetscInfoProcessClass(petsclib::PetscLibType, classname::String, numClassID::Integer, classIDs::Vector{PetscClassId}) - error("PetscInfoProcessClass: no generated method for these argument types") + throw(MethodError(PetscInfoProcessClass, (petsclib, classname, numClassID, classIDs))) end @for_petsc function PetscInfoProcessClass(petsclib::$UnionPetscLib, classname::String, numClassID::$PetscInt, classIDs::Vector{PetscClassId} ) @@ -5859,7 +5859,7 @@ See also: `PetscInfo()`, `PetscInfoGetClass()`, `PetscInfoProcessClass()`, `Pets $(_doc_external("Log/PetscInfoSetClasses")) """ function PetscInfoSetClasses(petsclib::PetscLibType, exclude::PetscBool, n::Integer, classnames::Cchar) - error("PetscInfoSetClasses: no generated method for these argument types") + throw(MethodError(PetscInfoSetClasses, (petsclib, exclude, n, classnames))) end @for_petsc function PetscInfoSetClasses(petsclib::$UnionPetscLib, exclude::PetscBool, n::$PetscInt, classnames::Cchar ) @@ -5893,7 +5893,7 @@ See also: `PetscInfo()`, `PetscInfoGetFile()`, `PetscInfoSetFromOptions()`, `Pet $(_doc_external("Log/PetscInfoSetFile")) """ function PetscInfoSetFile(petsclib::PetscLibType, filename::String, mode::String) - error("PetscInfoSetFile: no generated method for these argument types") + throw(MethodError(PetscInfoSetFile, (petsclib, filename, mode))) end @for_petsc function PetscInfoSetFile(petsclib::$UnionPetscLib, filename::String, mode::String ) @@ -5929,7 +5929,7 @@ See also: `PetscInfo()`, `PetscInfoGetInfo()` $(_doc_external("Log/PetscInfoSetFilterCommSelf")) """ function PetscInfoSetFilterCommSelf(petsclib::PetscLibType, commSelfFlag::PetscInfoCommFlag) - error("PetscInfoSetFilterCommSelf: no generated method for these argument types") + throw(MethodError(PetscInfoSetFilterCommSelf, (petsclib, commSelfFlag))) end @for_petsc function PetscInfoSetFilterCommSelf(petsclib::$UnionPetscLib, commSelfFlag::PetscInfoCommFlag ) @@ -5965,7 +5965,7 @@ See also: `PetscInfo()`, `PetscInfoAllow()`, `PetscInfoSetFile()`, `PetscInfoSet $(_doc_external("Log/PetscInfoSetFromOptions")) """ function PetscInfoSetFromOptions(petsclib::PetscLibType, options::AbstractPetscOptions) - error("PetscInfoSetFromOptions: no generated method for these argument types") + throw(MethodError(PetscInfoSetFromOptions, (petsclib, options))) end @for_petsc function PetscInfoSetFromOptions(petsclib::$UnionPetscLib, options::AbstractPetscOptions ) @@ -6041,7 +6041,7 @@ See also: `PetscInitialize()` $(_doc_external("Sys/PetscInitializeFortran")) """ function PetscInitializeFortran(petsclib::PetscLibType) - error("PetscInitializeFortran: no generated method for these argument types") + throw(MethodError(PetscInitializeFortran, (petsclib, ))) end @for_petsc function PetscInitializeFortran(petsclib::$UnionPetscLib) @@ -6071,7 +6071,7 @@ See also: `PetscInitialize()`, `PetscInitializeFortran()` $(_doc_external("Sys/PetscInitializeNoArguments")) """ function PetscInitializeNoArguments(petsclib::PetscLibType) - error("PetscInitializeNoArguments: no generated method for these argument types") + throw(MethodError(PetscInitializeNoArguments, (petsclib, ))) end @for_petsc function PetscInitializeNoArguments(petsclib::$UnionPetscLib) @@ -6106,7 +6106,7 @@ See also: `PetscInitialize()`, `PetscInitializeFortran()`, `PetscInitializeNoArg $(_doc_external("Sys/PetscInitializeNoPointers")) """ function PetscInitializeNoPointers(petsclib::PetscLibType, argc::Cint, args::Cchar, filename::String, help::String) - error("PetscInitializeNoPointers: no generated method for these argument types") + throw(MethodError(PetscInitializeNoPointers, (petsclib, argc, args, filename, help))) end @for_petsc function PetscInitializeNoPointers(petsclib::$UnionPetscLib, argc::Cint, args::Cchar, filename::String, help::String ) @@ -6137,7 +6137,7 @@ See also: `PetscInitialize()`, `PetscInitializeNoArguments()`, `PetscInitializeF $(_doc_external("Sys/PetscInitialized")) """ function PetscInitialized(petsclib::PetscLibType) - error("PetscInitialized: no generated method for these argument types") + throw(MethodError(PetscInitialized, (petsclib, ))) end @for_petsc function PetscInitialized(petsclib::$UnionPetscLib) @@ -6176,7 +6176,7 @@ See also: `PetscTimSort()`, `PetscSortInt()`, `PetscSortIntWithPermutation()` $(_doc_external("Sys/PetscIntSortSemiOrdered")) """ function PetscIntSortSemiOrdered(petsclib::PetscLibType, n::Integer, arr::AbstractVector{<:Number}) - error("PetscIntSortSemiOrdered: no generated method for these argument types") + throw(MethodError(PetscIntSortSemiOrdered, (petsclib, n, arr))) end @for_petsc function PetscIntSortSemiOrdered(petsclib::$UnionPetscLib, n::$PetscInt, arr::Vector{$PetscInt} ) @@ -6214,7 +6214,7 @@ See also: `PetscTimSortWithArray()`, `PetscSortIntWithArray()`, `PetscSortIntWit $(_doc_external("Sys/PetscIntSortSemiOrderedWithArray")) """ function PetscIntSortSemiOrderedWithArray(petsclib::PetscLibType, n::Integer, arr1::AbstractVector{<:Number}, arr2::AbstractVector{<:Number}) - error("PetscIntSortSemiOrderedWithArray: no generated method for these argument types") + throw(MethodError(PetscIntSortSemiOrderedWithArray, (petsclib, n, arr1, arr2))) end @for_petsc function PetscIntSortSemiOrderedWithArray(petsclib::$UnionPetscLib, n::$PetscInt, arr1::Vector{$PetscInt}, arr2::Vector{$PetscInt} ) @@ -6249,7 +6249,7 @@ See also: `PetscViewer`, `PetscIntViewNumColumns()`, `PetscRealView()` $(_doc_external("Sys/PetscIntView")) """ function PetscIntView(petsclib::PetscLibType, N::Integer, idx::AbstractVector{<:Number}, viewer::PetscViewer) - error("PetscIntView: no generated method for these argument types") + throw(MethodError(PetscIntView, (petsclib, N, idx, viewer))) end @for_petsc function PetscIntView(petsclib::$UnionPetscLib, N::$PetscInt, idx::Vector{$PetscInt}, viewer::PetscViewer ) @@ -6285,7 +6285,7 @@ See also: `PetscViewer`, `PetscIntView()`, `PetscRealView()` $(_doc_external("Sys/PetscIntViewNumColumns")) """ function PetscIntViewNumColumns(petsclib::PetscLibType, N::Integer, Ncol::Integer, idx::AbstractVector{<:Number}, viewer::PetscViewer) - error("PetscIntViewNumColumns: no generated method for these argument types") + throw(MethodError(PetscIntViewNumColumns, (petsclib, N, Ncol, idx, viewer))) end @for_petsc function PetscIntViewNumColumns(petsclib::$UnionPetscLib, N::$PetscInt, Ncol::$PetscInt, idx::Vector{$PetscInt}, viewer::PetscViewer ) @@ -6308,7 +6308,7 @@ end $(_doc_external("Sys/PetscKokkosInitializeCheck")) """ function PetscKokkosInitializeCheck(petsclib::PetscLibType) - error("PetscKokkosInitializeCheck: no generated method for these argument types") + throw(MethodError(PetscKokkosInitializeCheck, (petsclib, ))) end @for_petsc function PetscKokkosInitializeCheck(petsclib::$UnionPetscLib) @@ -6344,7 +6344,7 @@ See also: `PetscConvEstGetConvRate()` $(_doc_external("Sys/PetscLinearRegression")) """ function PetscLinearRegression(petsclib::PetscLibType, n::Integer, x::AbstractVector{<:Number}, y::AbstractVector{<:Number}) - error("PetscLinearRegression: no generated method for these argument types") + throw(MethodError(PetscLinearRegression, (petsclib, n, x, y))) end @for_petsc function PetscLinearRegression(petsclib::$UnionPetscLib, n::$PetscInt, x::Vector{$PetscReal}, y::Vector{$PetscReal} ) @@ -6385,7 +6385,7 @@ See also: `PetscLogStagePush()`, `PetscLogStagePop()`, `PetscLogGetDefaultHandle $(_doc_external("Log/PetscLogActions")) """ function PetscLogActions(petsclib::PetscLibType, flag::PetscBool) - error("PetscLogActions: no generated method for these argument types") + throw(MethodError(PetscLogActions, (petsclib, flag))) end @for_petsc function PetscLogActions(petsclib::$UnionPetscLib, flag::PetscBool ) @@ -6421,7 +6421,7 @@ See also: `PetscLogEventBegin()`, `PetscLogEventEnd()`, `PetscLogStageGetId()` $(_doc_external("Log/PetscLogClassGetClassId")) """ function PetscLogClassGetClassId(petsclib::PetscLibType, name::String) - error("PetscLogClassGetClassId: no generated method for these argument types") + throw(MethodError(PetscLogClassGetClassId, (petsclib, name))) end @for_petsc function PetscLogClassGetClassId(petsclib::$UnionPetscLib, name::String ) @@ -6459,7 +6459,7 @@ See also: `PetscLogClassRegister()`, `PetscLogClassBegin()`, `PetscLogClassEnd() $(_doc_external("Log/PetscLogClassIdGetName")) """ function PetscLogClassIdGetName(petsclib::PetscLibType, classid::PetscClassId) - error("PetscLogClassIdGetName: no generated method for these argument types") + throw(MethodError(PetscLogClassIdGetName, (petsclib, classid))) end @for_petsc function PetscLogClassIdGetName(petsclib::$UnionPetscLib, classid::PetscClassId ) @@ -6495,7 +6495,7 @@ See also: `PetscLogDump()`, `PetscLogView()`, `PetscLogTraceBegin()` $(_doc_external("Log/PetscLogDefaultBegin")) """ function PetscLogDefaultBegin(petsclib::PetscLibType) - error("PetscLogDefaultBegin: no generated method for these argument types") + throw(MethodError(PetscLogDefaultBegin, (petsclib, ))) end @for_petsc function PetscLogDefaultBegin(petsclib::$UnionPetscLib) @@ -6525,7 +6525,7 @@ See also: `PetscLogDefaultBegin()`, `PetscLogView()`, `PetscLogGetDefaultHandler $(_doc_external("Log/PetscLogDump")) """ function PetscLogDump(petsclib::PetscLibType, sname::String) - error("PetscLogDump: no generated method for these argument types") + throw(MethodError(PetscLogDump, (petsclib, sname))) end @for_petsc function PetscLogDump(petsclib::$UnionPetscLib, sname::String ) @@ -6556,7 +6556,7 @@ See also: `PetscLogEventDeactivate()`, `PetscLogEventDeactivatePush()`, `PetscLo $(_doc_external("Log/PetscLogEventActivate")) """ function PetscLogEventActivate(petsclib::PetscLibType, event::PetscLogEvent) - error("PetscLogEventActivate: no generated method for these argument types") + throw(MethodError(PetscLogEventActivate, (petsclib, event))) end @for_petsc function PetscLogEventActivate(petsclib::$UnionPetscLib, event::PetscLogEvent ) @@ -6589,7 +6589,7 @@ See also: `PetscLogEventIncludeClass()`, `PetscLogEventExcludeClass()`, `PetscLo $(_doc_external("Log/PetscLogEventActivateClass")) """ function PetscLogEventActivateClass(petsclib::PetscLibType, classid::PetscClassId) - error("PetscLogEventActivateClass: no generated method for these argument types") + throw(MethodError(PetscLogEventActivateClass, (petsclib, classid))) end @for_petsc function PetscLogEventActivateClass(petsclib::$UnionPetscLib, classid::PetscClassId ) @@ -6620,7 +6620,7 @@ See also: `PetscLogEventActivate()`, `PetscLogEventDeactivatePush()`, `PetscLogE $(_doc_external("Log/PetscLogEventDeactivate")) """ function PetscLogEventDeactivate(petsclib::PetscLibType, event::PetscLogEvent) - error("PetscLogEventDeactivate: no generated method for these argument types") + throw(MethodError(PetscLogEventDeactivate, (petsclib, event))) end @for_petsc function PetscLogEventDeactivate(petsclib::$UnionPetscLib, event::PetscLogEvent ) @@ -6653,7 +6653,7 @@ See also: `PetscLogEventIncludeClass()`, `PetscLogEventExcludeClass()`, `PetscLo $(_doc_external("Log/PetscLogEventDeactivateClass")) """ function PetscLogEventDeactivateClass(petsclib::PetscLibType, classid::PetscClassId) - error("PetscLogEventDeactivateClass: no generated method for these argument types") + throw(MethodError(PetscLogEventDeactivateClass, (petsclib, classid))) end @for_petsc function PetscLogEventDeactivateClass(petsclib::$UnionPetscLib, classid::PetscClassId ) @@ -6684,7 +6684,7 @@ See also: `PetscLogEventActivate()`, `PetscLogEventDeactivatePush()` $(_doc_external("Log/PetscLogEventDeactivatePop")) """ function PetscLogEventDeactivatePop(petsclib::PetscLibType, event::PetscLogEvent) - error("PetscLogEventDeactivatePop: no generated method for these argument types") + throw(MethodError(PetscLogEventDeactivatePop, (petsclib, event))) end @for_petsc function PetscLogEventDeactivatePop(petsclib::$UnionPetscLib, event::PetscLogEvent ) @@ -6715,7 +6715,7 @@ See also: `PetscLogEventActivate()`, `PetscLogEventDeactivate()`, `PetscLogEvent $(_doc_external("Log/PetscLogEventDeactivatePush")) """ function PetscLogEventDeactivatePush(petsclib::PetscLibType, event::PetscLogEvent) - error("PetscLogEventDeactivatePush: no generated method for these argument types") + throw(MethodError(PetscLogEventDeactivatePush, (petsclib, event))) end @for_petsc function PetscLogEventDeactivatePush(petsclib::$UnionPetscLib, event::PetscLogEvent ) @@ -6748,7 +6748,7 @@ See also: `PetscLogEventDeactivateClass()`, `PetscLogEventActivateClass()`, `Pet $(_doc_external("Log/PetscLogEventExcludeClass")) """ function PetscLogEventExcludeClass(petsclib::PetscLibType, classid::PetscClassId) - error("PetscLogEventExcludeClass: no generated method for these argument types") + throw(MethodError(PetscLogEventExcludeClass, (petsclib, classid))) end @for_petsc function PetscLogEventExcludeClass(petsclib::$UnionPetscLib, classid::PetscClassId ) @@ -6784,7 +6784,7 @@ See also: `PetscLogEventBegin()`, `PetscLogEventEnd()`, `PetscLogStageGetId()` $(_doc_external("Log/PetscLogEventGetId")) """ function PetscLogEventGetId(petsclib::PetscLibType, name::String) - error("PetscLogEventGetId: no generated method for these argument types") + throw(MethodError(PetscLogEventGetId, (petsclib, name))) end @for_petsc function PetscLogEventGetId(petsclib::$UnionPetscLib, name::String ) @@ -6822,7 +6822,7 @@ See also: `PetscLogEventRegister()`, `PetscLogEventBegin()`, `PetscLogEventEnd() $(_doc_external("Log/PetscLogEventGetName")) """ function PetscLogEventGetName(petsclib::PetscLibType, event::PetscLogEvent) - error("PetscLogEventGetName: no generated method for these argument types") + throw(MethodError(PetscLogEventGetName, (petsclib, event))) end @for_petsc function PetscLogEventGetName(petsclib::$UnionPetscLib, event::PetscLogEvent ) @@ -6861,7 +6861,7 @@ See also: `PetscLogEventRegister()`, `PetscLogEventBegin()`, `PetscLogEventEnd() $(_doc_external("Log/PetscLogEventGetPerfInfo")) """ function PetscLogEventGetPerfInfo(petsclib::PetscLibType, stage::PetscLogStage, event::PetscLogEvent) - error("PetscLogEventGetPerfInfo: no generated method for these argument types") + throw(MethodError(PetscLogEventGetPerfInfo, (petsclib, stage, event))) end @for_petsc function PetscLogEventGetPerfInfo(petsclib::$UnionPetscLib, stage::PetscLogStage, event::PetscLogEvent ) @@ -6896,7 +6896,7 @@ See also: `PetscLogEventActivateClass()`, `PetscLogEventDeactivateClass()`, `Pet $(_doc_external("Log/PetscLogEventIncludeClass")) """ function PetscLogEventIncludeClass(petsclib::PetscLibType, classid::PetscClassId) - error("PetscLogEventIncludeClass: no generated method for these argument types") + throw(MethodError(PetscLogEventIncludeClass, (petsclib, classid))) end @for_petsc function PetscLogEventIncludeClass(petsclib::$UnionPetscLib, classid::PetscClassId ) @@ -6934,7 +6934,7 @@ See also: `PetscLogStageRegister()`, `PetscLogEventBegin()`, `PetscLogEventEnd() $(_doc_external("Log/PetscLogEventRegister")) """ function PetscLogEventRegister(petsclib::PetscLibType, name::String, classid::PetscClassId) - error("PetscLogEventRegister: no generated method for these argument types") + throw(MethodError(PetscLogEventRegister, (petsclib, name, classid))) end @for_petsc function PetscLogEventRegister(petsclib::$UnionPetscLib, name::String, classid::PetscClassId ) @@ -6970,7 +6970,7 @@ See also: `PetscLogEventActivate()`, `PetscLogEventDeactivate()` $(_doc_external("Log/PetscLogEventSetActiveAll")) """ function PetscLogEventSetActiveAll(petsclib::PetscLibType, event::PetscLogEvent, isActive::PetscBool) - error("PetscLogEventSetActiveAll: no generated method for these argument types") + throw(MethodError(PetscLogEventSetActiveAll, (petsclib, event, isActive))) end @for_petsc function PetscLogEventSetActiveAll(petsclib::$UnionPetscLib, event::PetscLogEvent, isActive::PetscBool ) @@ -7004,7 +7004,7 @@ See also: `PetscLogEventBegin()`, `PetscLogEventEnd()`, `PetscLogEventRegister() $(_doc_external("Log/PetscLogEventSetCollective")) """ function PetscLogEventSetCollective(petsclib::PetscLibType, event::PetscLogEvent, collective::PetscBool) - error("PetscLogEventSetCollective: no generated method for these argument types") + throw(MethodError(PetscLogEventSetCollective, (petsclib, event, collective))) end @for_petsc function PetscLogEventSetCollective(petsclib::$UnionPetscLib, event::PetscLogEvent, collective::PetscBool ) @@ -7042,7 +7042,7 @@ See also: `PetscLogEventSetError()`, `PetscLogEventRegister()`, `PetscLogGetDefa $(_doc_external("Log/PetscLogEventSetDof")) """ function PetscLogEventSetDof(petsclib::PetscLibType, event::PetscLogEvent, n::Integer, dof::PetscLogDouble) - error("PetscLogEventSetDof: no generated method for these argument types") + throw(MethodError(PetscLogEventSetDof, (petsclib, event, n, dof))) end @for_petsc function PetscLogEventSetDof(petsclib::$UnionPetscLib, event::PetscLogEvent, n::$PetscInt, dof::PetscLogDouble ) @@ -7080,7 +7080,7 @@ See also: `PetscLogEventSetDof()`, `PetscLogEventRegister()`, `PetscLogGetDefaul $(_doc_external("Log/PetscLogEventSetError")) """ function PetscLogEventSetError(petsclib::PetscLibType, event::PetscLogEvent, n::Integer, error::PetscLogDouble) - error("PetscLogEventSetError: no generated method for these argument types") + throw(MethodError(PetscLogEventSetError, (petsclib, event, n, error))) end @for_petsc function PetscLogEventSetError(petsclib::$UnionPetscLib, event::PetscLogEvent, n::$PetscInt, error::PetscLogDouble ) @@ -7110,7 +7110,7 @@ See also: `PetscLogEventDeactivatePush()`, `PetscLogEventDeactivatePop()`, `Pets $(_doc_external("Log/PetscLogEventsPause")) """ function PetscLogEventsPause(petsclib::PetscLibType) - error("PetscLogEventsPause: no generated method for these argument types") + throw(MethodError(PetscLogEventsPause, (petsclib, ))) end @for_petsc function PetscLogEventsPause(petsclib::$UnionPetscLib) @@ -7139,7 +7139,7 @@ See also: `PetscLogEventDeactivatePush()`, `PetscLogEventDeactivatePop()`, `Pets $(_doc_external("Log/PetscLogEventsResume")) """ function PetscLogEventsResume(petsclib::PetscLibType) - error("PetscLogEventsResume: no generated method for these argument types") + throw(MethodError(PetscLogEventsResume, (petsclib, ))) end @for_petsc function PetscLogEventsResume(petsclib::$UnionPetscLib) @@ -7175,7 +7175,7 @@ or for `-log_view :output:format` if `format` is not `ascii_xml` or `ascii_flame $(_doc_external("Log/PetscLogGetDefaultHandler")) """ function PetscLogGetDefaultHandler(petsclib::PetscLibType) - error("PetscLogGetDefaultHandler: no generated method for these argument types") + throw(MethodError(PetscLogGetDefaultHandler, (petsclib, ))) end @for_petsc function PetscLogGetDefaultHandler(petsclib::$UnionPetscLib) @@ -7215,7 +7215,7 @@ See also: `PetscLogState` $(_doc_external("Log/PetscLogGetState")) """ function PetscLogGetState(petsclib::PetscLibType) - error("PetscLogGetState: no generated method for these argument types") + throw(MethodError(PetscLogGetState, (petsclib, ))) end @for_petsc function PetscLogGetState(petsclib::$UnionPetscLib) @@ -7250,7 +7250,7 @@ See also: `PetscLogDefaultBegin()` $(_doc_external("Log/PetscLogIsActive")) """ function PetscLogIsActive(petsclib::PetscLibType) - error("PetscLogIsActive: no generated method for these argument types") + throw(MethodError(PetscLogIsActive, (petsclib, ))) end @for_petsc function PetscLogIsActive(petsclib::$UnionPetscLib) @@ -7312,7 +7312,7 @@ See also: `PetscLogHandler`, `PetscLogHandlerStart()`, `PetscLogState` $(_doc_external("Log/PetscLogLegacyCallbacksBegin")) """ function PetscLogLegacyCallbacksBegin(petsclib::PetscLibType, PetscLogPLB::external, PetscLogPLE::external, PetscLogPHC::external, PetscLogPHD::external) - error("PetscLogLegacyCallbacksBegin: no generated method for these argument types") + throw(MethodError(PetscLogLegacyCallbacksBegin, (petsclib, PetscLogPLB, PetscLogPLE, PetscLogPHC, PetscLogPHD))) end @for_petsc function PetscLogLegacyCallbacksBegin(petsclib::$UnionPetscLib, PetscLogPLB::external, PetscLogPLE::external, PetscLogPHC::external, PetscLogPHD::external ) @@ -7347,7 +7347,7 @@ See also: `PetscLogDump()`, `PetscLogDefaultBegin()`, `PetscLogEventActivate()`, $(_doc_external("Log/PetscLogMPEBegin")) """ function PetscLogMPEBegin(petsclib::PetscLibType) - error("PetscLogMPEBegin: no generated method for these argument types") + throw(MethodError(PetscLogMPEBegin, (petsclib, ))) end @for_petsc function PetscLogMPEBegin(petsclib::$UnionPetscLib) @@ -7379,7 +7379,7 @@ See also: `PetscLogDump()`, `PetscLogMPEBegin()` $(_doc_external("Log/PetscLogMPEDump")) """ function PetscLogMPEDump(petsclib::PetscLibType, sname::String) - error("PetscLogMPEDump: no generated method for these argument types") + throw(MethodError(PetscLogMPEDump, (petsclib, sname))) end @for_petsc function PetscLogMPEDump(petsclib::$UnionPetscLib, sname::String ) @@ -7411,7 +7411,7 @@ See also: `PetscLogDump()`, `PetscLogView()`, `PetscLogTraceBegin()`, `PetscLogD $(_doc_external("Log/PetscLogNestedBegin")) """ function PetscLogNestedBegin(petsclib::PetscLibType) - error("PetscLogNestedBegin: no generated method for these argument types") + throw(MethodError(PetscLogNestedBegin, (petsclib, ))) end @for_petsc function PetscLogNestedBegin(petsclib::$UnionPetscLib) @@ -7447,7 +7447,7 @@ See also: `PetscLogStagePush()`, `PetscLogStagePop()`, `PetscLogGetDefaultHandle $(_doc_external("Log/PetscLogObjects")) """ function PetscLogObjects(petsclib::PetscLibType, flag::PetscBool) - error("PetscLogObjects: no generated method for these argument types") + throw(MethodError(PetscLogObjects, (petsclib, flag))) end @for_petsc function PetscLogObjects(petsclib::$UnionPetscLib, flag::PetscBool ) @@ -7480,7 +7480,7 @@ See also: `PetscLogDefaultBegin()`, `PetscLogEventActivate()` $(_doc_external("Log/PetscLogPerfstubsBegin")) """ function PetscLogPerfstubsBegin(petsclib::PetscLibType) - error("PetscLogPerfstubsBegin: no generated method for these argument types") + throw(MethodError(PetscLogPerfstubsBegin, (petsclib, ))) end @for_petsc function PetscLogPerfstubsBegin(petsclib::$UnionPetscLib) @@ -7518,7 +7518,7 @@ See also: `PetscLogDump()`, `PetscLogView()`, `PetscLogTraceBegin()`, `PetscLogD $(_doc_external("Log/PetscLogSetThreshold")) """ function PetscLogSetThreshold(petsclib::PetscLibType, newThresh::PetscLogDouble) - error("PetscLogSetThreshold: no generated method for these argument types") + throw(MethodError(PetscLogSetThreshold, (petsclib, newThresh))) end @for_petsc function PetscLogSetThreshold(petsclib::$UnionPetscLib, newThresh::PetscLogDouble ) @@ -7556,7 +7556,7 @@ See also: `PetscLogStageRegister()`, `PetscLogStagePush()`, `PetscLogStagePop()` $(_doc_external("Log/PetscLogStageGetActive")) """ function PetscLogStageGetActive(petsclib::PetscLibType, stage::PetscLogStage) - error("PetscLogStageGetActive: no generated method for these argument types") + throw(MethodError(PetscLogStageGetActive, (petsclib, stage))) end @for_petsc function PetscLogStageGetActive(petsclib::$UnionPetscLib, stage::PetscLogStage ) @@ -7594,7 +7594,7 @@ See also: `PetscLogStageRegister()`, `PetscLogStagePush()`, `PetscLogStagePop()` $(_doc_external("Log/PetscLogStageGetId")) """ function PetscLogStageGetId(petsclib::PetscLibType, name::String) - error("PetscLogStageGetId: no generated method for these argument types") + throw(MethodError(PetscLogStageGetId, (petsclib, name))) end @for_petsc function PetscLogStageGetId(petsclib::$UnionPetscLib, name::String ) @@ -7632,7 +7632,7 @@ See also: `PetscLogStageRegister()`, `PetscLogStagePush()`, `PetscLogStagePop()` $(_doc_external("Log/PetscLogStageGetName")) """ function PetscLogStageGetName(petsclib::PetscLibType, stage::PetscLogStage) - error("PetscLogStageGetName: no generated method for these argument types") + throw(MethodError(PetscLogStageGetName, (petsclib, stage))) end @for_petsc function PetscLogStageGetName(petsclib::$UnionPetscLib, stage::PetscLogStage ) @@ -7670,7 +7670,7 @@ See also: `PetscLogEventRegister()`, `PetscLogEventBegin()`, `PetscLogEventEnd() $(_doc_external("Log/PetscLogStageGetPerfInfo")) """ function PetscLogStageGetPerfInfo(petsclib::PetscLibType, stage::PetscLogStage) - error("PetscLogStageGetPerfInfo: no generated method for these argument types") + throw(MethodError(PetscLogStageGetPerfInfo, (petsclib, stage))) end @for_petsc function PetscLogStageGetPerfInfo(petsclib::$UnionPetscLib, stage::PetscLogStage ) @@ -7708,7 +7708,7 @@ See also: `PetscLogStageSetVisible()`, `PetscLogStageRegister()`, `PetscLogStage $(_doc_external("Log/PetscLogStageGetVisible")) """ function PetscLogStageGetVisible(petsclib::PetscLibType, stage::PetscLogStage) - error("PetscLogStageGetVisible: no generated method for these argument types") + throw(MethodError(PetscLogStageGetVisible, (petsclib, stage))) end @for_petsc function PetscLogStageGetVisible(petsclib::$UnionPetscLib, stage::PetscLogStage ) @@ -7738,7 +7738,7 @@ See also: `PetscLogStagePush()`, `PetscLogStageRegister()`, `PetscBarrier()` $(_doc_external("Log/PetscLogStagePop")) """ function PetscLogStagePop(petsclib::PetscLibType) - error("PetscLogStagePop: no generated method for these argument types") + throw(MethodError(PetscLogStagePop, (petsclib, ))) end @for_petsc function PetscLogStagePop(petsclib::$UnionPetscLib) @@ -7768,7 +7768,7 @@ See also: `PetscLogStagePop()`, `PetscLogStageRegister()`, `PetscBarrier()` $(_doc_external("Log/PetscLogStagePush")) """ function PetscLogStagePush(petsclib::PetscLibType, stage::PetscLogStage) - error("PetscLogStagePush: no generated method for these argument types") + throw(MethodError(PetscLogStagePush, (petsclib, stage))) end @for_petsc function PetscLogStagePush(petsclib::$UnionPetscLib, stage::PetscLogStage ) @@ -7804,7 +7804,7 @@ See also: `PetscLogStagePush()`, `PetscLogStagePop()` $(_doc_external("Log/PetscLogStageRegister")) """ function PetscLogStageRegister(petsclib::PetscLibType, sname::String) - error("PetscLogStageRegister: no generated method for these argument types") + throw(MethodError(PetscLogStageRegister, (petsclib, sname))) end @for_petsc function PetscLogStageRegister(petsclib::$UnionPetscLib, sname::String ) @@ -7840,7 +7840,7 @@ See also: `PetscLogStageRegister()`, `PetscLogStagePush()`, `PetscLogStagePop()` $(_doc_external("Log/PetscLogStageSetActive")) """ function PetscLogStageSetActive(petsclib::PetscLibType, stage::PetscLogStage, isActive::PetscBool) - error("PetscLogStageSetActive: no generated method for these argument types") + throw(MethodError(PetscLogStageSetActive, (petsclib, stage, isActive))) end @for_petsc function PetscLogStageSetActive(petsclib::$UnionPetscLib, stage::PetscLogStage, isActive::PetscBool ) @@ -7874,7 +7874,7 @@ See also: `PetscLogStageGetVisible()`, `PetscLogStageRegister()`, `PetscLogStage $(_doc_external("Log/PetscLogStageSetVisible")) """ function PetscLogStageSetVisible(petsclib::PetscLibType, stage::PetscLogStage, isVisible::PetscBool) - error("PetscLogStageSetVisible: no generated method for these argument types") + throw(MethodError(PetscLogStageSetVisible, (petsclib, stage, isVisible))) end @for_petsc function PetscLogStageSetVisible(petsclib::$UnionPetscLib, stage::PetscLogStage, isVisible::PetscBool ) @@ -7911,7 +7911,7 @@ See also: `PetscLogDump()`, `PetscLogView()`, `PetscLogDefaultBegin()` $(_doc_external("Log/PetscLogTraceBegin")) """ function PetscLogTraceBegin(petsclib::PetscLibType, file::Libc.FILE) - error("PetscLogTraceBegin: no generated method for these argument types") + throw(MethodError(PetscLogTraceBegin, (petsclib, file))) end @for_petsc function PetscLogTraceBegin(petsclib::$UnionPetscLib, file::Libc.FILE ) @@ -7959,7 +7959,7 @@ See also: `PetscLogDefaultBegin()`, `PetscLogDump()` $(_doc_external("Log/PetscLogView")) """ function PetscLogView(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscLogView: no generated method for these argument types") + throw(MethodError(PetscLogView, (petsclib, viewer))) end @for_petsc function PetscLogView(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -7989,7 +7989,7 @@ See also: `PetscLogView()` $(_doc_external("Log/PetscLogViewFromOptions")) """ function PetscLogViewFromOptions(petsclib::PetscLibType) - error("PetscLogViewFromOptions: no generated method for these argument types") + throw(MethodError(PetscLogViewFromOptions, (petsclib, ))) end @for_petsc function PetscLogViewFromOptions(petsclib::$UnionPetscLib) @@ -8027,7 +8027,7 @@ See also: `PetscTestFile()`, `PetscRMTree()`, `PetscTestDirectory()` $(_doc_external("Sys/PetscLs")) """ function PetscLs(petsclib::PetscLibType, comm::MPI_Comm, dirname::String, found::String, tlen::Csize_t) - error("PetscLs: no generated method for these argument types") + throw(MethodError(PetscLs, (petsclib, comm, dirname, found, tlen))) end @for_petsc function PetscLs(petsclib::$UnionPetscLib, comm::MPI_Comm, dirname::String, found::String, tlen::Csize_t ) @@ -8070,7 +8070,7 @@ See also: `PetscError()`, `PetscPushErrorHandler()`, `PetscPopErrorHandler()`, ` $(_doc_external("Sys/PetscMPIAbortErrorHandler")) """ function PetscMPIAbortErrorHandler(petsclib::PetscLibType, comm::MPI_Comm, line::Cint, fun::String, file::String, n::PetscErrorCode, p::PetscErrorType, mess::String, ctx::Ptr{Cvoid}) - error("PetscMPIAbortErrorHandler: no generated method for these argument types") + throw(MethodError(PetscMPIAbortErrorHandler, (petsclib, comm, line, fun, file, n, p, mess, ctx))) end @for_petsc function PetscMPIAbortErrorHandler(petsclib::$UnionPetscLib, comm::MPI_Comm, line::Cint, fun::String, file::String, n::PetscErrorCode, p::PetscErrorType, mess::String, ctx::Ptr{Cvoid} ) @@ -8107,7 +8107,7 @@ See also: `PetscMallocDump()` $(_doc_external("Sys/PetscMPIDump")) """ function PetscMPIDump(petsclib::PetscLibType, fd::Libc.FILE) - error("PetscMPIDump: no generated method for these argument types") + throw(MethodError(PetscMPIDump, (petsclib, fd))) end @for_petsc function PetscMPIDump(petsclib::$UnionPetscLib, fd::Libc.FILE ) @@ -8144,7 +8144,7 @@ See also: `PetscTimSort()`, `PetscSortMPIInt()` $(_doc_external("Sys/PetscMPIIntSortSemiOrdered")) """ function PetscMPIIntSortSemiOrdered(petsclib::PetscLibType, n::Integer, arr::Vector{PetscMPIInt}) - error("PetscMPIIntSortSemiOrdered: no generated method for these argument types") + throw(MethodError(PetscMPIIntSortSemiOrdered, (petsclib, n, arr))) end @for_petsc function PetscMPIIntSortSemiOrdered(petsclib::$UnionPetscLib, n::$PetscInt, arr::Vector{PetscMPIInt} ) @@ -8182,7 +8182,7 @@ See also: `PetscTimSortWithArray()`, `PetscSortMPIIntWithArray()`, `PetscSortInt $(_doc_external("Sys/PetscMPIIntSortSemiOrderedWithArray")) """ function PetscMPIIntSortSemiOrderedWithArray(petsclib::PetscLibType, n::Integer, arr1::Vector{PetscMPIInt}, arr2::Vector{PetscMPIInt}) - error("PetscMPIIntSortSemiOrderedWithArray: no generated method for these argument types") + throw(MethodError(PetscMPIIntSortSemiOrderedWithArray, (petsclib, n, arr1, arr2))) end @for_petsc function PetscMPIIntSortSemiOrderedWithArray(petsclib::$UnionPetscLib, n::$PetscInt, arr1::Vector{PetscMPIInt}, arr2::Vector{PetscMPIInt} ) @@ -8212,7 +8212,7 @@ See also: `PetscMallocSet()`, `PetscMalloc()`, `PetscFree()` $(_doc_external("Sys/PetscMallocClear")) """ function PetscMallocClear(petsclib::PetscLibType) - error("PetscMallocClear: no generated method for these argument types") + throw(MethodError(PetscMallocClear, (petsclib, ))) end @for_petsc function PetscMallocClear(petsclib::$UnionPetscLib) @@ -8250,7 +8250,7 @@ See also: `PetscMallocGetCurrentUsage()`, `PetscMallocView()`, `PetscMallocViewS $(_doc_external("Sys/PetscMallocDump")) """ function PetscMallocDump(petsclib::PetscLibType, fp::Libc.FILE) - error("PetscMallocDump: no generated method for these argument types") + throw(MethodError(PetscMallocDump, (petsclib, fp))) end @for_petsc function PetscMallocDump(petsclib::$UnionPetscLib, fp::Libc.FILE ) @@ -8284,7 +8284,7 @@ See also: `PetscMallocDump()`, `PetscMallocGetMaximumUsage()`, `PetscMemoryGetCu $(_doc_external("Sys/PetscMallocGetCurrentUsage")) """ function PetscMallocGetCurrentUsage(petsclib::PetscLibType) - error("PetscMallocGetCurrentUsage: no generated method for these argument types") + throw(MethodError(PetscMallocGetCurrentUsage, (petsclib, ))) end @for_petsc function PetscMallocGetCurrentUsage(petsclib::$UnionPetscLib) @@ -8321,7 +8321,7 @@ See also: `CHKMEMQ`, `PetscMallocValidate()`, `PetscMallocSetDebug()`, `PetscMal $(_doc_external("Sys/PetscMallocGetDebug")) """ function PetscMallocGetDebug(petsclib::PetscLibType) - error("PetscMallocGetDebug: no generated method for these argument types") + throw(MethodError(PetscMallocGetDebug, (petsclib, ))) end @for_petsc function PetscMallocGetDebug(petsclib::$UnionPetscLib) @@ -8362,7 +8362,7 @@ See also: `PetscMallocDump()`, `PetscMallocView()`, `PetscMemoryGetCurrentUsage( $(_doc_external("Sys/PetscMallocGetMaximumUsage")) """ function PetscMallocGetMaximumUsage(petsclib::PetscLibType) - error("PetscMallocGetMaximumUsage: no generated method for these argument types") + throw(MethodError(PetscMallocGetMaximumUsage, (petsclib, ))) end @for_petsc function PetscMallocGetMaximumUsage(petsclib::$UnionPetscLib) @@ -8397,7 +8397,7 @@ See also: `PetscMallocLogRequestedSizeSet()`, `PetscMallocViewSet()`, `PetscMall $(_doc_external("Sys/PetscMallocLogRequestedSizeGet")) """ function PetscMallocLogRequestedSizeGet(petsclib::PetscLibType) - error("PetscMallocLogRequestedSizeGet: no generated method for these argument types") + throw(MethodError(PetscMallocLogRequestedSizeGet, (petsclib, ))) end @for_petsc function PetscMallocLogRequestedSizeGet(petsclib::$UnionPetscLib) @@ -8435,7 +8435,7 @@ See also: `PetscMallocLogRequestedSizeGet()`, `PetscMallocViewSet()`, `PetscMall $(_doc_external("Sys/PetscMallocLogRequestedSizeSet")) """ function PetscMallocLogRequestedSizeSet(petsclib::PetscLibType, flg::PetscBool) - error("PetscMallocLogRequestedSizeSet: no generated method for these argument types") + throw(MethodError(PetscMallocLogRequestedSizeSet, (petsclib, flg))) end @for_petsc function PetscMallocLogRequestedSizeSet(petsclib::$UnionPetscLib, flg::PetscBool ) @@ -8472,7 +8472,7 @@ See also: `PetscMallocDump()`, `PetscMallocView()`, `PetscMallocGetMaximumUsage( $(_doc_external("Sys/PetscMallocPopMaximumUsage")) """ function PetscMallocPopMaximumUsage(petsclib::PetscLibType, event::Cint) - error("PetscMallocPopMaximumUsage: no generated method for these argument types") + throw(MethodError(PetscMallocPopMaximumUsage, (petsclib, event))) end @for_petsc function PetscMallocPopMaximumUsage(petsclib::$UnionPetscLib, event::Cint ) @@ -8508,7 +8508,7 @@ See also: `PetscMallocDump()`, `PetscMallocView()`, `PetscMallocGetMaximumUsage( $(_doc_external("Sys/PetscMallocPushMaximumUsage")) """ function PetscMallocPushMaximumUsage(petsclib::PetscLibType, event::Cint) - error("PetscMallocPushMaximumUsage: no generated method for these argument types") + throw(MethodError(PetscMallocPushMaximumUsage, (petsclib, event))) end @for_petsc function PetscMallocPushMaximumUsage(petsclib::$UnionPetscLib, event::Cint ) @@ -8531,7 +8531,7 @@ end $(_doc_external("Sys/PetscMallocResetCUDAHost")) """ function PetscMallocResetCUDAHost(petsclib::PetscLibType) - error("PetscMallocResetCUDAHost: no generated method for these argument types") + throw(MethodError(PetscMallocResetCUDAHost, (petsclib, ))) end @for_petsc function PetscMallocResetCUDAHost(petsclib::$UnionPetscLib) @@ -8560,7 +8560,7 @@ See also: `PetscMallocSetDRAM()` $(_doc_external("Sys/PetscMallocResetDRAM")) """ function PetscMallocResetDRAM(petsclib::PetscLibType) - error("PetscMallocResetDRAM: no generated method for these argument types") + throw(MethodError(PetscMallocResetDRAM, (petsclib, ))) end @for_petsc function PetscMallocResetDRAM(petsclib::$UnionPetscLib) @@ -8594,7 +8594,7 @@ See also: `PetscMallocClear()`, `PetscInitialize()`, `PetscMalloc()`, `PetscFree $(_doc_external("Sys/PetscMallocSet")) """ function PetscMallocSet(petsclib::PetscLibType, imalloc::external, ifree::external, iralloc::external) - error("PetscMallocSet: no generated method for these argument types") + throw(MethodError(PetscMallocSet, (petsclib, imalloc, ifree, iralloc))) end @for_petsc function PetscMallocSet(petsclib::$UnionPetscLib, imalloc::external, ifree::external, iralloc::external ) @@ -8617,7 +8617,7 @@ end $(_doc_external("Sys/PetscMallocSetCUDAHost")) """ function PetscMallocSetCUDAHost(petsclib::PetscLibType) - error("PetscMallocSetCUDAHost: no generated method for these argument types") + throw(MethodError(PetscMallocSetCUDAHost, (petsclib, ))) end @for_petsc function PetscMallocSetCUDAHost(petsclib::$UnionPetscLib) @@ -8652,7 +8652,7 @@ See also: `PetscMallocA()`, `PetscMalloc()`, `PetscFree()` $(_doc_external("Sys/PetscMallocSetCoalesce")) """ function PetscMallocSetCoalesce(petsclib::PetscLibType, coalesce::PetscBool) - error("PetscMallocSetCoalesce: no generated method for these argument types") + throw(MethodError(PetscMallocSetCoalesce, (petsclib, coalesce))) end @for_petsc function PetscMallocSetCoalesce(petsclib::$UnionPetscLib, coalesce::PetscBool ) @@ -8685,7 +8685,7 @@ See also: `PetscMallocReset()`, `PetscMalloc()`, `PetscFree()` $(_doc_external("Sys/PetscMallocSetDRAM")) """ function PetscMallocSetDRAM(petsclib::PetscLibType) - error("PetscMallocSetDRAM: no generated method for these argument types") + throw(MethodError(PetscMallocSetDRAM, (petsclib, ))) end @for_petsc function PetscMallocSetDRAM(petsclib::$UnionPetscLib) @@ -8724,7 +8724,7 @@ See also: `CHKMEMQ`, `PetscMallocValidate()`, `PetscMallocGetDebug()`, `PetscMal $(_doc_external("Sys/PetscMallocSetDebug")) """ function PetscMallocSetDebug(petsclib::PetscLibType, eachcall::PetscBool, initializenan::PetscBool) - error("PetscMallocSetDebug: no generated method for these argument types") + throw(MethodError(PetscMallocSetDebug, (petsclib, eachcall, initializenan))) end @for_petsc function PetscMallocSetDebug(petsclib::$UnionPetscLib, eachcall::PetscBool, initializenan::PetscBool ) @@ -8762,7 +8762,7 @@ See also: `PetscMallocTraceSet()`, `PetscMallocViewGet()`, `PetscMallocDump()`, $(_doc_external("Sys/PetscMallocTraceGet")) """ function PetscMallocTraceGet(petsclib::PetscLibType) - error("PetscMallocTraceGet: no generated method for these argument types") + throw(MethodError(PetscMallocTraceGet, (petsclib, ))) end @for_petsc function PetscMallocTraceGet(petsclib::$UnionPetscLib) @@ -8799,7 +8799,7 @@ See also: `PetscMallocTraceGet()`, `PetscMallocViewGet()`, `PetscMallocDump()`, $(_doc_external("Sys/PetscMallocTraceSet")) """ function PetscMallocTraceSet(petsclib::PetscLibType, viewer::PetscViewer, active::PetscBool, logmin::PetscLogDouble) - error("PetscMallocTraceSet: no generated method for these argument types") + throw(MethodError(PetscMallocTraceSet, (petsclib, viewer, active, logmin))) end @for_petsc function PetscMallocTraceSet(petsclib::$UnionPetscLib, viewer::PetscViewer, active::PetscBool, logmin::PetscLogDouble ) @@ -8836,7 +8836,7 @@ See also: `CHKMEMQ`, `PetscMalloc()`, `PetscFree()`, `PetscMallocSetDebug()` $(_doc_external("Sys/PetscMallocValidate")) """ function PetscMallocValidate(petsclib::PetscLibType, line::Cint, fnc::String, file::String) - error("PetscMallocValidate: no generated method for these argument types") + throw(MethodError(PetscMallocValidate, (petsclib, line, fnc, file))) end @for_petsc function PetscMallocValidate(petsclib::$UnionPetscLib, line::Cint, fnc::String, file::String ) @@ -8872,7 +8872,7 @@ See also: `PetscMallocGetCurrentUsage()`, `PetscMallocDump()`, `PetscMallocViewS $(_doc_external("Sys/PetscMallocView")) """ function PetscMallocView(petsclib::PetscLibType, fp::Libc.FILE) - error("PetscMallocView: no generated method for these argument types") + throw(MethodError(PetscMallocView, (petsclib, fp))) end @for_petsc function PetscMallocView(petsclib::$UnionPetscLib, fp::Libc.FILE ) @@ -8908,7 +8908,7 @@ See also: `PetscMallocViewSet()`, `PetscMallocDump()`, `PetscMallocView()`, `Pet $(_doc_external("Sys/PetscMallocViewGet")) """ function PetscMallocViewGet(petsclib::PetscLibType) - error("PetscMallocViewGet: no generated method for these argument types") + throw(MethodError(PetscMallocViewGet, (petsclib, ))) end @for_petsc function PetscMallocViewGet(petsclib::$UnionPetscLib) @@ -8948,7 +8948,7 @@ See also: `PetscMallocViewGet()`, `PetscMallocDump()`, `PetscMallocView()`, `Pet $(_doc_external("Sys/PetscMallocViewSet")) """ function PetscMallocViewSet(petsclib::PetscLibType, logmin::PetscLogDouble) - error("PetscMallocViewSet: no generated method for these argument types") + throw(MethodError(PetscMallocViewSet, (petsclib, logmin))) end @for_petsc function PetscMallocViewSet(petsclib::$UnionPetscLib, logmin::PetscLogDouble ) @@ -8986,7 +8986,7 @@ See also: `PetscInitialize()` $(_doc_external("Sys/PetscMaxSum")) """ function PetscMaxSum(petsclib::PetscLibType, comm::MPI_Comm, array::AbstractVector{<:Number}) - error("PetscMaxSum: no generated method for these argument types") + throw(MethodError(PetscMaxSum, (petsclib, comm, array))) end @for_petsc function PetscMaxSum(petsclib::$UnionPetscLib, comm::MPI_Comm, array::Vector{$PetscInt} ) @@ -9030,7 +9030,7 @@ See also: `PetscMemcpy()`, `PetscArrayzero()`, `PetscMemzero()`, `PetscArraycmp( $(_doc_external("Sys/PetscMemcmp")) """ function PetscMemcmp(petsclib::PetscLibType, str1::Ptr{Cvoid}, str2::Ptr{Cvoid}, len::Csize_t) - error("PetscMemcmp: no generated method for these argument types") + throw(MethodError(PetscMemcmp, (petsclib, str1, str2, len))) end @for_petsc function PetscMemcmp(petsclib::$UnionPetscLib, str1::Ptr{Cvoid}, str2::Ptr{Cvoid}, len::Csize_t ) @@ -9071,7 +9071,7 @@ See also: `PetscMallocGetMaximumUsage()`, `PetscMemoryGetMaximumUsage()`, `Petsc $(_doc_external("Sys/PetscMemoryGetCurrentUsage")) """ function PetscMemoryGetCurrentUsage(petsclib::PetscLibType) - error("PetscMemoryGetCurrentUsage: no generated method for these argument types") + throw(MethodError(PetscMemoryGetCurrentUsage, (petsclib, ))) end @for_petsc function PetscMemoryGetCurrentUsage(petsclib::$UnionPetscLib) @@ -9113,7 +9113,7 @@ See also: `PetscMallocGetMaximumUsage()`, `PetscMemoryGetCurrentUsage()`, `Petsc $(_doc_external("Sys/PetscMemoryGetMaximumUsage")) """ function PetscMemoryGetMaximumUsage(petsclib::PetscLibType) - error("PetscMemoryGetMaximumUsage: no generated method for these argument types") + throw(MethodError(PetscMemoryGetMaximumUsage, (petsclib, ))) end @for_petsc function PetscMemoryGetMaximumUsage(petsclib::$UnionPetscLib) @@ -9152,7 +9152,7 @@ See also: `PetscMallocGetMaximumUsage()`, `PetscMemoryGetCurrentUsage()`, `Petsc $(_doc_external("Sys/PetscMemorySetGetMaximumUsage")) """ function PetscMemorySetGetMaximumUsage(petsclib::PetscLibType) - error("PetscMemorySetGetMaximumUsage: no generated method for these argument types") + throw(MethodError(PetscMemorySetGetMaximumUsage, (petsclib, ))) end @for_petsc function PetscMemorySetGetMaximumUsage(petsclib::$UnionPetscLib) @@ -9184,7 +9184,7 @@ See also: `PetscMemoryGetCurrentUsage()`, `PetscMallocGetCurrentUsage()`, `Petsc $(_doc_external("Sys/PetscMemoryTrace")) """ function PetscMemoryTrace(petsclib::PetscLibType, label::String) - error("PetscMemoryTrace: no generated method for these argument types") + throw(MethodError(PetscMemoryTrace, (petsclib, label))) end @for_petsc function PetscMemoryTrace(petsclib::$UnionPetscLib, label::String ) @@ -9223,7 +9223,7 @@ See also: `PetscMallocDump()`, `PetscMemoryGetCurrentUsage()`, `PetscMemorySetGe $(_doc_external("Sys/PetscMemoryView")) """ function PetscMemoryView(petsclib::PetscLibType, viewer::PetscViewer, message::String) - error("PetscMemoryView: no generated method for these argument types") + throw(MethodError(PetscMemoryView, (petsclib, viewer, message))) end @for_petsc function PetscMemoryView(petsclib::$UnionPetscLib, viewer::PetscViewer, message::String ) @@ -9263,7 +9263,7 @@ See also: `PetscSortReal()`, `PetscSortIntWithPermutation()`, `PetscSortInt()`, $(_doc_external("Sys/PetscMergeIntArray")) """ function PetscMergeIntArray(petsclib::PetscLibType, an::Integer, aI::AbstractVector{<:Number}, bn::Integer, bI::AbstractVector{<:Number}) - error("PetscMergeIntArray: no generated method for these argument types") + throw(MethodError(PetscMergeIntArray, (petsclib, an, aI, bn, bI))) end @for_petsc function PetscMergeIntArray(petsclib::$UnionPetscLib, an::$PetscInt, aI::Vector{$PetscInt}, bn::$PetscInt, bI::Vector{$PetscInt} ) @@ -9310,7 +9310,7 @@ See also: `PetscIntSortSemiOrdered()`, `PetscSortReal()`, `PetscSortIntWithPermu $(_doc_external("Sys/PetscMergeIntArrayPair")) """ function PetscMergeIntArrayPair(petsclib::PetscLibType, an::Integer, aI::AbstractVector{<:Number}, aJ::AbstractVector{<:Number}, bn::Integer, bI::AbstractVector{<:Number}, bJ::AbstractVector{<:Number}) - error("PetscMergeIntArrayPair: no generated method for these argument types") + throw(MethodError(PetscMergeIntArrayPair, (petsclib, an, aI, aJ, bn, bI, bJ))) end @for_petsc function PetscMergeIntArrayPair(petsclib::$UnionPetscLib, an::$PetscInt, aI::Vector{$PetscInt}, aJ::Vector{$PetscInt}, bn::$PetscInt, bI::Vector{$PetscInt}, bJ::Vector{$PetscInt} ) @@ -9356,7 +9356,7 @@ See also: `PetscIntSortSemiOrdered()`, `PetscSortReal()`, `PetscSortIntWithPermu $(_doc_external("Sys/PetscMergeMPIIntArray")) """ function PetscMergeMPIIntArray(petsclib::PetscLibType, an::Integer, aI::Vector{PetscMPIInt}, bn::Integer, bI::Vector{PetscMPIInt}) - error("PetscMergeMPIIntArray: no generated method for these argument types") + throw(MethodError(PetscMergeMPIIntArray, (petsclib, an, aI, bn, bI))) end @for_petsc function PetscMergeMPIIntArray(petsclib::$UnionPetscLib, an::$PetscInt, aI::Vector{PetscMPIInt}, bn::$PetscInt, bI::Vector{PetscMPIInt} ) @@ -9393,7 +9393,7 @@ See also: `PetscMkdtemp()`, `PetscRMTree()` $(_doc_external("Sys/PetscMkdir")) """ function PetscMkdir(petsclib::PetscLibType, dir::String) - error("PetscMkdir: no generated method for these argument types") + throw(MethodError(PetscMkdir, (petsclib, dir))) end @for_petsc function PetscMkdir(petsclib::$UnionPetscLib, dir::String ) @@ -9424,7 +9424,7 @@ See also: `PetscMkdir()`, `PetscRMTree()` $(_doc_external("Sys/PetscMkdtemp")) """ function PetscMkdtemp(petsclib::PetscLibType, dir::String) - error("PetscMkdtemp: no generated method for these argument types") + throw(MethodError(PetscMkdtemp, (petsclib, dir))) end @for_petsc function PetscMkdtemp(petsclib::$UnionPetscLib, dir::String ) @@ -9465,7 +9465,7 @@ See also: `DMMonitorSetFromOptions()`, `KSPMonitorSetFromOptions()`, `SNESMonito $(_doc_external("Viewer/PetscMonitorCompare")) """ function PetscMonitorCompare(petsclib::PetscLibType, nmon::external, nmctx::Ptr{Cvoid}, nmdestroy::Ptr{Cvoid}, mon::external, mctx::Ptr{Cvoid}, mdestroy::Ptr{Cvoid}) - error("PetscMonitorCompare: no generated method for these argument types") + throw(MethodError(PetscMonitorCompare, (petsclib, nmon, nmctx, nmdestroy, mon, mctx, mdestroy))) end @for_petsc function PetscMonitorCompare(petsclib::$UnionPetscLib, nmon::external, nmctx::Ptr{Cvoid}, nmdestroy::Ptr{Cvoid}, mon::external, mctx::Ptr{Cvoid}, mdestroy::Ptr{Cvoid} ) @@ -9490,7 +9490,7 @@ end $(_doc_external("Vec/PetscNvshmemFinalize")) """ function PetscNvshmemFinalize(petsclib::PetscLibType) - error("PetscNvshmemFinalize: no generated method for these argument types") + throw(MethodError(PetscNvshmemFinalize, (petsclib, ))) end @for_petsc function PetscNvshmemFinalize(petsclib::$UnionPetscLib) @@ -9522,7 +9522,7 @@ See also: `PetscSocketListen()`, `PetscSocketEstablish()`, `PetscHTTPRequest()`, $(_doc_external("Viewer/PetscOpenSocket")) """ function PetscOpenSocket(petsclib::PetscLibType, hostname::String, portnum::Cint) - error("PetscOpenSocket: no generated method for these argument types") + throw(MethodError(PetscOpenSocket, (petsclib, hostname, portnum))) end @for_petsc function PetscOpenSocket(petsclib::$UnionPetscLib, hostname::String, portnum::Cint ) @@ -9558,7 +9558,7 @@ See also: `PetscFOpen()`, `PetscFClose()`, `PetscPOpen()` $(_doc_external("Sys/PetscPClose")) """ function PetscPClose(petsclib::PetscLibType, comm::MPI_Comm, fd::Libc.FILE) - error("PetscPClose: no generated method for these argument types") + throw(MethodError(PetscPClose, (petsclib, comm, fd))) end @for_petsc function PetscPClose(petsclib::$UnionPetscLib, comm::MPI_Comm, fd::Libc.FILE ) @@ -9598,7 +9598,7 @@ See also: `PetscFOpen()`, `PetscFClose()`, `PetscPClose()`, `PetscPOpenSetMachin $(_doc_external("Sys/PetscPOpen")) """ function PetscPOpen(petsclib::PetscLibType, comm::MPI_Comm, machine::String, program::String, mode::String) - error("PetscPOpen: no generated method for these argument types") + throw(MethodError(PetscPOpen, (petsclib, comm, machine, program, mode))) end @for_petsc function PetscPOpen(petsclib::$UnionPetscLib, comm::MPI_Comm, machine::String, program::String, mode::String ) @@ -9636,7 +9636,7 @@ See also: `PetscFOpen()`, `PetscFClose()`, `PetscPClose()`, `PetscPOpen()` $(_doc_external("Sys/PetscPOpenSetMachine")) """ function PetscPOpenSetMachine(petsclib::PetscLibType, machine::String) - error("PetscPOpenSetMachine: no generated method for these argument types") + throw(MethodError(PetscPOpenSetMachine, (petsclib, machine))) end @for_petsc function PetscPOpenSetMachine(petsclib::$UnionPetscLib, machine::String ) @@ -9674,7 +9674,7 @@ See also: `PetscSortInt()`, `PetscParallelSortedInt()` $(_doc_external("IS/PetscParallelSortInt")) """ function PetscParallelSortInt(petsclib::PetscLibType, mapin::PetscLayout, mapout::PetscLayout, keysin::AbstractVector{<:Number}, keysout::AbstractVector{<:Number}) - error("PetscParallelSortInt: no generated method for these argument types") + throw(MethodError(PetscParallelSortInt, (petsclib, mapin, mapout, keysin, keysout))) end @for_petsc function PetscParallelSortInt(petsclib::$UnionPetscLib, mapin::PetscLayout, mapout::PetscLayout, keysin::Vector{$PetscInt}, keysout::Vector{$PetscInt} ) @@ -9712,7 +9712,7 @@ See also: `PetscParallelSortInt()` $(_doc_external("Sys/PetscParallelSortedInt")) """ function PetscParallelSortedInt(petsclib::PetscLibType, comm::MPI_Comm, n::Integer, keys::AbstractVector{<:Number}) - error("PetscParallelSortedInt: no generated method for these argument types") + throw(MethodError(PetscParallelSortedInt, (petsclib, comm, n, keys))) end @for_petsc function PetscParallelSortedInt(petsclib::$UnionPetscLib, comm::MPI_Comm, n::$PetscInt, keys::Vector{$PetscInt} ) @@ -9745,7 +9745,7 @@ See also: `PetscPushErrorHandler()` $(_doc_external("Sys/PetscPopErrorHandler")) """ function PetscPopErrorHandler(petsclib::PetscLibType) - error("PetscPopErrorHandler: no generated method for these argument types") + throw(MethodError(PetscPopErrorHandler, (petsclib, ))) end @for_petsc function PetscPopErrorHandler(petsclib::$UnionPetscLib) @@ -9776,7 +9776,7 @@ See also: `PetscPushSignalHandler()` $(_doc_external("Sys/PetscPopSignalHandler")) """ function PetscPopSignalHandler(petsclib::PetscLibType) - error("PetscPopSignalHandler: no generated method for these argument types") + throw(MethodError(PetscPopSignalHandler, (petsclib, ))) end @for_petsc function PetscPopSignalHandler(petsclib::$UnionPetscLib) @@ -9816,7 +9816,7 @@ See also: `PetscPostIrecvScalar()`, `PetscGatherNumberOfMessages()`, `PetscGathe $(_doc_external("Sys/PetscPostIrecvInt")) """ function PetscPostIrecvInt(petsclib::PetscLibType, comm::MPI_Comm, tag::PetscMPIInt, nrecvs::PetscMPIInt, onodes::Vector{PetscMPIInt}, olengths::Vector{PetscMPIInt}) - error("PetscPostIrecvInt: no generated method for these argument types") + throw(MethodError(PetscPostIrecvInt, (petsclib, comm, tag, nrecvs, onodes, olengths))) end @for_petsc function PetscPostIrecvInt(petsclib::$UnionPetscLib, comm::MPI_Comm, tag::PetscMPIInt, nrecvs::PetscMPIInt, onodes::Vector{PetscMPIInt}, olengths::Vector{PetscMPIInt} ) @@ -9861,7 +9861,7 @@ See also: `PetscPostIrecvInt()`, `PetscGatherNumberOfMessages()`, `PetscGatherMe $(_doc_external("Sys/PetscPostIrecvScalar")) """ function PetscPostIrecvScalar(petsclib::PetscLibType, comm::MPI_Comm, tag::PetscMPIInt, nrecvs::PetscMPIInt, onodes::Vector{PetscMPIInt}, olengths::Vector{PetscMPIInt}) - error("PetscPostIrecvScalar: no generated method for these argument types") + throw(MethodError(PetscPostIrecvScalar, (petsclib, comm, tag, nrecvs, onodes, olengths))) end @for_petsc function PetscPostIrecvScalar(petsclib::$UnionPetscLib, comm::MPI_Comm, tag::PetscMPIInt, nrecvs::PetscMPIInt, onodes::Vector{PetscMPIInt}, olengths::Vector{PetscMPIInt} ) @@ -9902,7 +9902,7 @@ See also: `PetscProbComputeKSStatisticWeighted()`, `PetscProbComputeKSStatisticM $(_doc_external("DT/PetscProbComputeKSStatistic")) """ function PetscProbComputeKSStatistic(petsclib::PetscLibType, v::AbstractPetscVec, cdf::Ptr{Cvoid}) - error("PetscProbComputeKSStatistic: no generated method for these argument types") + throw(MethodError(PetscProbComputeKSStatistic, (petsclib, v, cdf))) end @for_petsc function PetscProbComputeKSStatistic(petsclib::$UnionPetscLib, v::AbstractPetscVec, cdf::Ptr{Cvoid} ) @@ -9941,7 +9941,7 @@ See also: `PetscProbComputeKSStatistic()`, `PetscProbComputeKSStatisticWeighted( $(_doc_external("DT/PetscProbComputeKSStatisticMagnitude")) """ function PetscProbComputeKSStatisticMagnitude(petsclib::PetscLibType, v::AbstractPetscVec, cdf::Ptr{Cvoid}) - error("PetscProbComputeKSStatisticMagnitude: no generated method for these argument types") + throw(MethodError(PetscProbComputeKSStatisticMagnitude, (petsclib, v, cdf))) end @for_petsc function PetscProbComputeKSStatisticMagnitude(petsclib::$UnionPetscLib, v::AbstractPetscVec, cdf::Ptr{Cvoid} ) @@ -9981,7 +9981,7 @@ See also: `PetscProbComputeKSStatistic()`, `PetscProbComputeKSStatisticMagnitude $(_doc_external("DT/PetscProbComputeKSStatisticWeighted")) """ function PetscProbComputeKSStatisticWeighted(petsclib::PetscLibType, v::AbstractPetscVec, w::AbstractPetscVec, cdf::Ptr{Cvoid}) - error("PetscProbComputeKSStatisticWeighted: no generated method for these argument types") + throw(MethodError(PetscProbComputeKSStatisticWeighted, (petsclib, v, w, cdf))) end @for_petsc function PetscProbComputeKSStatisticWeighted(petsclib::$UnionPetscLib, v::AbstractPetscVec, w::AbstractPetscVec, cdf::Ptr{Cvoid} ) @@ -10023,7 +10023,7 @@ See also: `PetscProbFn`, `PetscPDFMaxwellBoltzmann1D()`, `PetscPDFGaussian1D()`, $(_doc_external("DT/PetscProbCreateFromOptions")) """ function PetscProbCreateFromOptions(petsclib::PetscLibType, dim::Integer, prefix::String, name::String) - error("PetscProbCreateFromOptions: no generated method for these argument types") + throw(MethodError(PetscProbCreateFromOptions, (petsclib, dim, prefix, name))) end @for_petsc function PetscProbCreateFromOptions(petsclib::$UnionPetscLib, dim::$PetscInt, prefix::String, name::String ) @@ -10060,7 +10060,7 @@ See also: `PetscInitialize()` $(_doc_external("Sys/PetscProcessPlacementView")) """ function PetscProcessPlacementView(petsclib::PetscLibType, viewer::PetscViewer) - error("PetscProcessPlacementView: no generated method for these argument types") + throw(MethodError(PetscProcessPlacementView, (petsclib, viewer))) end @for_petsc function PetscProcessPlacementView(petsclib::$UnionPetscLib, viewer::PetscViewer ) @@ -10102,7 +10102,7 @@ See also: `PetscSortReal()`, `PetscSortIntWithPermutation()` $(_doc_external("Sys/PetscProcessTree")) """ function PetscProcessTree(petsclib::PetscLibType, n::Integer, mask::Vector{PetscBool}, parentid::AbstractVector{<:Number}) - error("PetscProcessTree: no generated method for these argument types") + throw(MethodError(PetscProcessTree, (petsclib, n, mask, parentid))) end @for_petsc function PetscProcessTree(petsclib::$UnionPetscLib, n::$PetscInt, mask::Vector{PetscBool}, parentid::Vector{$PetscInt} ) @@ -10149,7 +10149,7 @@ See also: `PetscOpenSocket()`, `PetscHTTPSRequest()`, `PetscSSLInitializeContext $(_doc_external("Sys/PetscPullJSONValue")) """ function PetscPullJSONValue(petsclib::PetscLibType, buff::String, key::String, value::String, valuelen::Csize_t) - error("PetscPullJSONValue: no generated method for these argument types") + throw(MethodError(PetscPullJSONValue, (petsclib, buff, key, value, valuelen))) end @for_petsc function PetscPullJSONValue(petsclib::$UnionPetscLib, buff::String, key::String, value::String, valuelen::Csize_t ) @@ -10201,7 +10201,7 @@ See also: `PetscPopErrorHandler()`, `PetscAttachDebuggerErrorHandler()`, `PetscA $(_doc_external("Sys/PetscPushErrorHandler")) """ function PetscPushErrorHandler(petsclib::PetscLibType, handler::external, ctx::Ptr{Cvoid}) - error("PetscPushErrorHandler: no generated method for these argument types") + throw(MethodError(PetscPushErrorHandler, (petsclib, handler, ctx))) end @for_petsc function PetscPushErrorHandler(petsclib::$UnionPetscLib, handler::external, ctx::Ptr{Cvoid} ) @@ -10235,7 +10235,7 @@ See also: `PetscOpenSocket()`, `PetscHTTPSRequest()`, `PetscSSLInitializeContext $(_doc_external("Sys/PetscPushJSONValue")) """ function PetscPushJSONValue(petsclib::PetscLibType, buff::String, key::String, value::String, bufflen::Csize_t) - error("PetscPushJSONValue: no generated method for these argument types") + throw(MethodError(PetscPushJSONValue, (petsclib, buff, key, value, bufflen))) end @for_petsc function PetscPushJSONValue(petsclib::$UnionPetscLib, buff::String, key::String, value::String, bufflen::Csize_t ) @@ -10270,7 +10270,7 @@ See also: `PetscPopSignalHandler()`, `PetscSignalHandlerDefault()`, `PetscPushEr $(_doc_external("Sys/PetscPushSignalHandler")) """ function PetscPushSignalHandler(petsclib::PetscLibType, routine::external, ctx::Ptr{Cvoid}) - error("PetscPushSignalHandler: no generated method for these argument types") + throw(MethodError(PetscPushSignalHandler, (petsclib, routine, ctx))) end @for_petsc function PetscPushSignalHandler(petsclib::$UnionPetscLib, routine::external, ctx::Ptr{Cvoid} ) @@ -10298,7 +10298,7 @@ See also: `PetscPythonInitialize()`, `PetscPythonPrintError()` $(_doc_external("Sys/PetscPythonFinalize")) """ function PetscPythonFinalize(petsclib::PetscLibType) - error("PetscPythonFinalize: no generated method for these argument types") + throw(MethodError(PetscPythonFinalize, (petsclib, ))) end @for_petsc function PetscPythonFinalize(petsclib::$UnionPetscLib) @@ -10332,7 +10332,7 @@ See also: `PetscPythonFinalize()`, `PetscPythonPrintError()` $(_doc_external("Sys/PetscPythonInitialize")) """ function PetscPythonInitialize(petsclib::PetscLibType, pyexe::String, pylib::String) - error("PetscPythonInitialize: no generated method for these argument types") + throw(MethodError(PetscPythonInitialize, (petsclib, pyexe, pylib))) end @for_petsc function PetscPythonInitialize(petsclib::$UnionPetscLib, pyexe::String, pylib::String ) @@ -10360,7 +10360,7 @@ See also: `PetscPythonInitialize()`, `PetscPythonFinalize()`, `PetscPythonPrintE $(_doc_external("Sys/PetscPythonMonitorSet")) """ function PetscPythonMonitorSet(petsclib::PetscLibType, obj, url::String) - error("PetscPythonMonitorSet: no generated method for these argument types") + throw(MethodError(PetscPythonMonitorSet, (petsclib, obj, url))) end @for_petsc function PetscPythonMonitorSet(petsclib::$UnionPetscLib, obj, url::String ) @@ -10388,7 +10388,7 @@ See also: `PetscPythonInitialize()`, `PetscPythonFinalize()` $(_doc_external("Sys/PetscPythonPrintError")) """ function PetscPythonPrintError(petsclib::PetscLibType) - error("PetscPythonPrintError: no generated method for these argument types") + throw(MethodError(PetscPythonPrintError, (petsclib, ))) end @for_petsc function PetscPythonPrintError(petsclib::$UnionPetscLib) @@ -10420,7 +10420,7 @@ See also: `PetscMkdir()`, `PetscTestDirectory()` $(_doc_external("Sys/PetscRMTree")) """ function PetscRMTree(petsclib::PetscLibType, dir::String) - error("PetscRMTree: no generated method for these argument types") + throw(MethodError(PetscRMTree, (petsclib, dir))) end @for_petsc function PetscRMTree(petsclib::$UnionPetscLib, dir::String ) @@ -10457,7 +10457,7 @@ See also: `PetscTimSort()`, `PetscSortReal()`, `PetscSortRealWithPermutation()` $(_doc_external("Sys/PetscRealSortSemiOrdered")) """ function PetscRealSortSemiOrdered(petsclib::PetscLibType, n::Integer, arr::AbstractVector{<:Number}) - error("PetscRealSortSemiOrdered: no generated method for these argument types") + throw(MethodError(PetscRealSortSemiOrdered, (petsclib, n, arr))) end @for_petsc function PetscRealSortSemiOrdered(petsclib::$UnionPetscLib, n::$PetscInt, arr::Vector{$PetscReal} ) @@ -10495,7 +10495,7 @@ See also: `PetscTimSortWithArray()`, `PetscSortRealWithArrayInt()`, `PetscSortRe $(_doc_external("Sys/PetscRealSortSemiOrderedWithArrayInt")) """ function PetscRealSortSemiOrderedWithArrayInt(petsclib::PetscLibType, n::Integer, arr1::AbstractVector{<:Number}, arr2::AbstractVector{<:Number}) - error("PetscRealSortSemiOrderedWithArrayInt: no generated method for these argument types") + throw(MethodError(PetscRealSortSemiOrderedWithArrayInt, (petsclib, n, arr1, arr2))) end @for_petsc function PetscRealSortSemiOrderedWithArrayInt(petsclib::$UnionPetscLib, n::$PetscInt, arr1::Vector{$PetscReal}, arr2::Vector{$PetscInt} ) @@ -10530,7 +10530,7 @@ See also: `PetscViewer`, `PetscIntView()` $(_doc_external("Sys/PetscRealView")) """ function PetscRealView(petsclib::PetscLibType, N::Integer, idx::AbstractVector{<:Number}, viewer::PetscViewer) - error("PetscRealView: no generated method for these argument types") + throw(MethodError(PetscRealView, (petsclib, N, idx, viewer))) end @for_petsc function PetscRealView(petsclib::$UnionPetscLib, N::$PetscInt, idx::Vector{$PetscReal}, viewer::PetscViewer ) @@ -10566,7 +10566,7 @@ See also: `PetscViewer`, `PetscRealView()`, `PetscIntView()` $(_doc_external("Sys/PetscRealViewNumColumns")) """ function PetscRealViewNumColumns(petsclib::PetscLibType, N::Integer, Ncol::Integer, idx::AbstractVector{<:Number}, viewer::PetscViewer) - error("PetscRealViewNumColumns: no generated method for these argument types") + throw(MethodError(PetscRealViewNumColumns, (petsclib, N, Ncol, idx, viewer))) end @for_petsc function PetscRealViewNumColumns(petsclib::$UnionPetscLib, N::$PetscInt, Ncol::$PetscInt, idx::Vector{$PetscReal}, viewer::PetscViewer ) @@ -10599,7 +10599,7 @@ See also: `PetscRegisterFinalizeAll()`, `PetscObjectRegisterDestroy()` $(_doc_external("Sys/PetscRegisterFinalize")) """ function PetscRegisterFinalize(petsclib::PetscLibType, f::external) - error("PetscRegisterFinalize: no generated method for these argument types") + throw(MethodError(PetscRegisterFinalize, (petsclib, f))) end @for_petsc function PetscRegisterFinalize(petsclib::$UnionPetscLib, f::external ) @@ -10629,7 +10629,7 @@ See also: `PetscRegisterFinalize()`, `PetscObjectRegisterDestroyAll()` $(_doc_external("Sys/PetscRegisterFinalizeAll")) """ function PetscRegisterFinalizeAll(petsclib::PetscLibType) - error("PetscRegisterFinalizeAll: no generated method for these argument types") + throw(MethodError(PetscRegisterFinalizeAll, (petsclib, ))) end @for_petsc function PetscRegisterFinalizeAll(petsclib::$UnionPetscLib) @@ -10670,7 +10670,7 @@ See also: `PetscPushErrorHandler()`, `PetscPopErrorHandler()`, `PetscError()`, ` $(_doc_external("Sys/PetscReturnErrorHandler")) """ function PetscReturnErrorHandler(petsclib::PetscLibType, comm::MPI_Comm, line::Cint, fun::String, file::String, n::PetscErrorCode, p::PetscErrorType, mess::String, ctx::Ptr{Cvoid}) - error("PetscReturnErrorHandler: no generated method for these argument types") + throw(MethodError(PetscReturnErrorHandler, (petsclib, comm, line, fun, file, n, p, mess, ctx))) end @for_petsc function PetscReturnErrorHandler(petsclib::$UnionPetscLib, comm::MPI_Comm, line::Cint, fun::String, file::String, n::PetscErrorCode, p::PetscErrorType, mess::String, ctx::Ptr{Cvoid} ) @@ -10701,7 +10701,7 @@ See also: `PetscSSLInitializeContext()`, `PetscHTTPSConnect()` $(_doc_external("Sys/PetscSSLDestroyContext")) """ function PetscSSLDestroyContext(petsclib::PetscLibType, ctx::SSL_CTX) - error("PetscSSLDestroyContext: no generated method for these argument types") + throw(MethodError(PetscSSLDestroyContext, (petsclib, ctx))) end @for_petsc function PetscSSLDestroyContext(petsclib::$UnionPetscLib, ctx::SSL_CTX ) @@ -10741,7 +10741,7 @@ See also: `PetscSSLDestroyContext()`, `PetscHTTPSConnect()`, `PetscHTTPSRequest( $(_doc_external("Sys/PetscSSLInitializeContext")) """ function PetscSSLInitializeContext(petsclib::PetscLibType) - error("PetscSSLInitializeContext: no generated method for these argument types") + throw(MethodError(PetscSSLInitializeContext, (petsclib, ))) end @for_petsc function PetscSSLInitializeContext(petsclib::$UnionPetscLib) @@ -10778,7 +10778,7 @@ See also: `PetscViewer`, `PetscIntView()`, `PetscRealView()` $(_doc_external("Sys/PetscScalarView")) """ function PetscScalarView(petsclib::PetscLibType, N::Integer, idx::AbstractVector{<:Number}, viewer::PetscViewer) - error("PetscScalarView: no generated method for these argument types") + throw(MethodError(PetscScalarView, (petsclib, N, idx, viewer))) end @for_petsc function PetscScalarView(petsclib::$UnionPetscLib, N::$PetscInt, idx::Vector{$PetscScalar}, viewer::PetscViewer ) @@ -10814,7 +10814,7 @@ See also: `PetscViewer`, `PetscRealView()`, `PetscScalarView()`, `PetscIntView() $(_doc_external("Sys/PetscScalarViewNumColumns")) """ function PetscScalarViewNumColumns(petsclib::PetscLibType, N::Integer, Ncol::Integer, idx::AbstractVector{<:Number}, viewer::PetscViewer) - error("PetscScalarViewNumColumns: no generated method for these argument types") + throw(MethodError(PetscScalarViewNumColumns, (petsclib, N, Ncol, idx, viewer))) end @for_petsc function PetscScalarViewNumColumns(petsclib::$UnionPetscLib, N::$PetscInt, Ncol::$PetscInt, idx::Vector{$PetscScalar}, viewer::PetscViewer ) @@ -10849,7 +10849,7 @@ See also: `PetscSequentialPhaseEnd()`, `PetscSynchronizedPrintf()` $(_doc_external("Sys/PetscSequentialPhaseBegin")) """ function PetscSequentialPhaseBegin(petsclib::PetscLibType, comm::MPI_Comm, ng::Cint) - error("PetscSequentialPhaseBegin: no generated method for these argument types") + throw(MethodError(PetscSequentialPhaseBegin, (petsclib, comm, ng))) end @for_petsc function PetscSequentialPhaseBegin(petsclib::$UnionPetscLib, comm::MPI_Comm, ng::Cint ) @@ -10884,7 +10884,7 @@ See also: `PetscSequentialPhaseBegin()` $(_doc_external("Sys/PetscSequentialPhaseEnd")) """ function PetscSequentialPhaseEnd(petsclib::PetscLibType, comm::MPI_Comm, ng::Cint) - error("PetscSequentialPhaseEnd: no generated method for these argument types") + throw(MethodError(PetscSequentialPhaseEnd, (petsclib, comm, ng))) end @for_petsc function PetscSequentialPhaseEnd(petsclib::$UnionPetscLib, comm::MPI_Comm, ng::Cint ) @@ -10922,7 +10922,7 @@ See also: `PetscSetDebugger()`, `PetscAttachDebugger()` $(_doc_external("Sys/PetscSetDebugTerminal")) """ function PetscSetDebugTerminal(petsclib::PetscLibType, terminal::String) - error("PetscSetDebugTerminal: no generated method for these argument types") + throw(MethodError(PetscSetDebugTerminal, (petsclib, terminal))) end @for_petsc function PetscSetDebugTerminal(petsclib::$UnionPetscLib, terminal::String ) @@ -10962,7 +10962,7 @@ See also: `PetscAttachDebugger()`, `PetscAttachDebuggerErrorHandler()`, `PetscSe $(_doc_external("Sys/PetscSetDebugger")) """ function PetscSetDebugger(petsclib::PetscLibType, debugger::String, usedebugterminal::PetscBool) - error("PetscSetDebugger: no generated method for these argument types") + throw(MethodError(PetscSetDebugger, (petsclib, debugger, usedebugterminal))) end @for_petsc function PetscSetDebugger(petsclib::$UnionPetscLib, debugger::String, usedebugterminal::PetscBool ) @@ -10996,7 +10996,7 @@ See also: `PetscSetDebugger()`, `PetscSetDefaultDebugger()`, `PetscAttachDebugge $(_doc_external("Sys/PetscSetDebuggerFromString")) """ function PetscSetDebuggerFromString(petsclib::PetscLibType, string::String) - error("PetscSetDebuggerFromString: no generated method for these argument types") + throw(MethodError(PetscSetDebuggerFromString, (petsclib, string))) end @for_petsc function PetscSetDebuggerFromString(petsclib::$UnionPetscLib, string::String ) @@ -11026,7 +11026,7 @@ See also: `PetscSetDebugger()`, `PetscSetDebuggerFromString()`, `PetscAttachDebu $(_doc_external("Sys/PetscSetDefaultDebugger")) """ function PetscSetDefaultDebugger(petsclib::PetscLibType) - error("PetscSetDefaultDebugger: no generated method for these argument types") + throw(MethodError(PetscSetDefaultDebugger, (petsclib, ))) end @for_petsc function PetscSetDefaultDebugger(petsclib::$UnionPetscLib) @@ -11055,7 +11055,7 @@ See also: `PetscGetDisplay()`, `PetscDraw`, `PETSC_DRAW_X` $(_doc_external("Sys/PetscSetDisplay")) """ function PetscSetDisplay(petsclib::PetscLibType) - error("PetscSetDisplay: no generated method for these argument types") + throw(MethodError(PetscSetDisplay, (petsclib, ))) end @for_petsc function PetscSetDisplay(petsclib::$UnionPetscLib) @@ -11101,7 +11101,7 @@ See also: `PetscFPTrapPush()`, `PetscFPTrapPop()`, `PetscDetermineInitialFPTrap( $(_doc_external("Sys/PetscSetFPTrap")) """ function PetscSetFPTrap(petsclib::PetscLibType, flag::PetscFPTrap) - error("PetscSetFPTrap: no generated method for these argument types") + throw(MethodError(PetscSetFPTrap, (petsclib, flag))) end @for_petsc function PetscSetFPTrap(petsclib::$UnionPetscLib, flag::PetscFPTrap ) @@ -11136,7 +11136,7 @@ See also: `PetscInitialize()` $(_doc_external("Sys/PetscSetHelpVersionFunctions")) """ function PetscSetHelpVersionFunctions(petsclib::PetscLibType, help::external, version::external) - error("PetscSetHelpVersionFunctions: no generated method for these argument types") + throw(MethodError(PetscSetHelpVersionFunctions, (petsclib, help, version))) end @for_petsc function PetscSetHelpVersionFunctions(petsclib::$UnionPetscLib, help::external, version::external ) @@ -11169,7 +11169,7 @@ See also: `PetscGetProgramName()`, `PetscInitialize()` $(_doc_external("Sys/PetscSetProgramName")) """ function PetscSetProgramName(petsclib::PetscLibType, name::String) - error("PetscSetProgramName: no generated method for these argument types") + throw(MethodError(PetscSetProgramName, (petsclib, name))) end @for_petsc function PetscSetProgramName(petsclib::$UnionPetscLib, name::String ) @@ -11216,7 +11216,7 @@ See also: `PetscGetTmp()`, `PetscSharedWorkingDirectory()`, `PetscGetWorkingDire $(_doc_external("Sys/PetscSharedTmp")) """ function PetscSharedTmp(petsclib::PetscLibType, comm::MPI_Comm) - error("PetscSharedTmp: no generated method for these argument types") + throw(MethodError(PetscSharedTmp, (petsclib, comm))) end @for_petsc function PetscSharedTmp(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -11262,7 +11262,7 @@ See also: `PetscGetTmp()`, `PetscSharedTmp()`, `PetscGetWorkingDirectory()`, `Pe $(_doc_external("Sys/PetscSharedWorkingDirectory")) """ function PetscSharedWorkingDirectory(petsclib::PetscLibType, comm::MPI_Comm) - error("PetscSharedWorkingDirectory: no generated method for these argument types") + throw(MethodError(PetscSharedWorkingDirectory, (petsclib, comm))) end @for_petsc function PetscSharedWorkingDirectory(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -11295,7 +11295,7 @@ See also: `PetscShmgetAllocateArray()`, `PetscShmgetDeallocateArray()`, `PetscSh $(_doc_external("Sys/PetscShmgetAddressesFinalize")) """ function PetscShmgetAddressesFinalize(petsclib::PetscLibType) - error("PetscShmgetAddressesFinalize: no generated method for these argument types") + throw(MethodError(PetscShmgetAddressesFinalize, (petsclib, ))) end @for_petsc function PetscShmgetAddressesFinalize(petsclib::$UnionPetscLib) @@ -11331,7 +11331,7 @@ See also: `PCMPIServerBegin()`, `PCMPI`, `KSPCheckPCMPI()`, `PetscShmgetDealloca $(_doc_external("Sys/PetscShmgetAllocateArray")) """ function PetscShmgetAllocateArray(petsclib::PetscLibType, sz::Csize_t, asz::Csize_t) - error("PetscShmgetAllocateArray: no generated method for these argument types") + throw(MethodError(PetscShmgetAllocateArray, (petsclib, sz, asz))) end @for_petsc function PetscShmgetAllocateArray(petsclib::$UnionPetscLib, sz::Csize_t, asz::Csize_t ) @@ -11366,7 +11366,7 @@ See also: `PCMPIServerBegin()`, `PCMPI`, `KSPCheckPCMPI()`, `PetscShmgetAllocate $(_doc_external("Sys/PetscShmgetDeallocateArray")) """ function PetscShmgetDeallocateArray(petsclib::PetscLibType, addr::Union{Ptr, AbstractArray{Cvoid}}) - error("PetscShmgetDeallocateArray: no generated method for these argument types") + throw(MethodError(PetscShmgetDeallocateArray, (petsclib, addr))) end @for_petsc function PetscShmgetDeallocateArray(petsclib::$UnionPetscLib, addr::Union{Ptr, AbstractArray{Cvoid}} ) @@ -11406,7 +11406,7 @@ See also: `PetscShmgetDeallocateArray()`, `PetscShmgetAllocateArray()`, `PetscSh $(_doc_external("Sys/PetscShmgetMapAddresses")) """ function PetscShmgetMapAddresses(petsclib::PetscLibType, comm::MPI_Comm, n::Integer, baseaddres::Ptr{Ptr{Cvoid}}) - error("PetscShmgetMapAddresses: no generated method for these argument types") + throw(MethodError(PetscShmgetMapAddresses, (petsclib, comm, n, baseaddres))) end @for_petsc function PetscShmgetMapAddresses(petsclib::$UnionPetscLib, comm::MPI_Comm, n::$PetscInt, baseaddres::Ptr{Ptr{Cvoid}} ) @@ -11442,7 +11442,7 @@ See also: `PetscShmgetDeallocateArray()`, `PetscShmgetAllocateArray()`, `PetscSh $(_doc_external("Sys/PetscShmgetUnmapAddresses")) """ function PetscShmgetUnmapAddresses(petsclib::PetscLibType, n::Integer, addres::Ptr{Ptr{Cvoid}}) - error("PetscShmgetUnmapAddresses: no generated method for these argument types") + throw(MethodError(PetscShmgetUnmapAddresses, (petsclib, n, addres))) end @for_petsc function PetscShmgetUnmapAddresses(petsclib::$UnionPetscLib, n::$PetscInt, addres::Ptr{Ptr{Cvoid}} ) @@ -11476,7 +11476,7 @@ See also: `PetscPushSignalHandler()` $(_doc_external("Sys/PetscSignalHandlerDefault")) """ function PetscSignalHandlerDefault(petsclib::PetscLibType, sig::Cint, ptr::Ptr{Cvoid}) - error("PetscSignalHandlerDefault: no generated method for these argument types") + throw(MethodError(PetscSignalHandlerDefault, (petsclib, sig, ptr))) end @for_petsc function PetscSignalHandlerDefault(petsclib::$UnionPetscLib, sig::Cint, ptr::Ptr{Cvoid} ) @@ -11509,7 +11509,7 @@ See also: `PetscTime()` $(_doc_external("Sys/PetscSleep")) """ function PetscSleep(petsclib::PetscLibType, s::Real) - error("PetscSleep: no generated method for these argument types") + throw(MethodError(PetscSleep, (petsclib, s))) end @for_petsc function PetscSleep(petsclib::$UnionPetscLib, s::$PetscReal ) @@ -11541,7 +11541,7 @@ See also: `PetscSortInt()` $(_doc_external("Sys/PetscSortCount")) """ function PetscSortCount(petsclib::PetscLibType, n::PetscCount, X::Vector{PetscCount}) - error("PetscSortCount: no generated method for these argument types") + throw(MethodError(PetscSortCount, (petsclib, n, X))) end @for_petsc function PetscSortCount(petsclib::$UnionPetscLib, n::PetscCount, X::Vector{PetscCount} ) @@ -11573,7 +11573,7 @@ See also: `PetscIntSortSemiOrdered()`, `PetscSortReal()`, `PetscSortIntWithPermu $(_doc_external("Sys/PetscSortInt")) """ function PetscSortInt(petsclib::PetscLibType, n::PetscCount, X::AbstractVector{<:Number}) - error("PetscSortInt: no generated method for these argument types") + throw(MethodError(PetscSortInt, (petsclib, n, X))) end @for_petsc function PetscSortInt(petsclib::$UnionPetscLib, n::PetscCount, X::Vector{$PetscInt} ) @@ -11605,7 +11605,7 @@ See also: `PetscSortInt()` $(_doc_external("Sys/PetscSortInt64")) """ function PetscSortInt64(petsclib::PetscLibType, n::PetscCount, X::Vector{PetscInt64}) - error("PetscSortInt64: no generated method for these argument types") + throw(MethodError(PetscSortInt64, (petsclib, n, X))) end @for_petsc function PetscSortInt64(petsclib::$UnionPetscLib, n::PetscCount, X::Vector{$PetscInt64} ) @@ -11641,7 +11641,7 @@ See also: `PetscIntSortSemiOrderedWithArray()`, `PetscSortReal()`, `PetscSortInt $(_doc_external("Sys/PetscSortIntWithArray")) """ function PetscSortIntWithArray(petsclib::PetscLibType, n::PetscCount, X::AbstractVector{<:Number}, Y::AbstractVector{<:Number}) - error("PetscSortIntWithArray: no generated method for these argument types") + throw(MethodError(PetscSortIntWithArray, (petsclib, n, X, Y))) end @for_petsc function PetscSortIntWithArray(petsclib::$UnionPetscLib, n::PetscCount, X::Vector{$PetscInt}, Y::Vector{$PetscInt} ) @@ -11678,7 +11678,7 @@ See also: `PetscSortReal()`, `PetscSortIntWithPermutation()`, `PetscSortIntWithA $(_doc_external("Sys/PetscSortIntWithArrayPair")) """ function PetscSortIntWithArrayPair(petsclib::PetscLibType, n::PetscCount, X::AbstractVector{<:Number}, Y::AbstractVector{<:Number}, Z::AbstractVector{<:Number}) - error("PetscSortIntWithArrayPair: no generated method for these argument types") + throw(MethodError(PetscSortIntWithArrayPair, (petsclib, n, X, Y, Z))) end @for_petsc function PetscSortIntWithArrayPair(petsclib::$UnionPetscLib, n::PetscCount, X::Vector{$PetscInt}, Y::Vector{$PetscInt}, Z::Vector{$PetscInt} ) @@ -11714,7 +11714,7 @@ See also: `PetscIntSortSemiOrderedWithArray()`, `PetscSortReal()`, `PetscSortInt $(_doc_external("Sys/PetscSortIntWithCountArray")) """ function PetscSortIntWithCountArray(petsclib::PetscLibType, n::PetscCount, X::AbstractVector{<:Number}, Y::Vector{PetscCount}) - error("PetscSortIntWithCountArray: no generated method for these argument types") + throw(MethodError(PetscSortIntWithCountArray, (petsclib, n, X, Y))) end @for_petsc function PetscSortIntWithCountArray(petsclib::$UnionPetscLib, n::PetscCount, X::Vector{$PetscInt}, Y::Vector{PetscCount} ) @@ -11753,7 +11753,7 @@ See also: `PetscTimSortWithArray()`, `PetscSortReal()`, `PetscSortIntWithPermuta $(_doc_external("Sys/PetscSortIntWithDataArray")) """ function PetscSortIntWithDataArray(petsclib::PetscLibType, n::PetscCount, X::AbstractVector{<:Number}, Y::Ptr{Cvoid}, size::Csize_t, t2::Ptr{Cvoid}) - error("PetscSortIntWithDataArray: no generated method for these argument types") + throw(MethodError(PetscSortIntWithDataArray, (petsclib, n, X, Y, size, t2))) end @for_petsc function PetscSortIntWithDataArray(petsclib::$UnionPetscLib, n::PetscCount, X::Vector{$PetscInt}, Y::Ptr{Cvoid}, size::Csize_t, t2::Ptr{Cvoid} ) @@ -11790,7 +11790,7 @@ See also: `PetscSortReal()`, `PetscSortIntWithPermutation()`, `PetscSortIntWithA $(_doc_external("Sys/PetscSortIntWithIntCountArrayPair")) """ function PetscSortIntWithIntCountArrayPair(petsclib::PetscLibType, n::PetscCount, X::AbstractVector{<:Number}, Y::AbstractVector{<:Number}, Z::Vector{PetscCount}) - error("PetscSortIntWithIntCountArrayPair: no generated method for these argument types") + throw(MethodError(PetscSortIntWithIntCountArrayPair, (petsclib, n, X, Y, Z))) end @for_petsc function PetscSortIntWithIntCountArrayPair(petsclib::$UnionPetscLib, n::PetscCount, X::Vector{$PetscInt}, Y::Vector{$PetscInt}, Z::Vector{PetscCount} ) @@ -11826,7 +11826,7 @@ See also: `PetscIntSortSemiOrderedWithArray()`, `PetscSortReal()`, `PetscSortInt $(_doc_external("Sys/PetscSortIntWithMPIIntArray")) """ function PetscSortIntWithMPIIntArray(petsclib::PetscLibType, n::PetscCount, X::AbstractVector{<:Number}, Y::Vector{PetscMPIInt}) - error("PetscSortIntWithMPIIntArray: no generated method for these argument types") + throw(MethodError(PetscSortIntWithMPIIntArray, (petsclib, n, X, Y))) end @for_petsc function PetscSortIntWithMPIIntArray(petsclib::$UnionPetscLib, n::PetscCount, X::Vector{$PetscInt}, Y::Vector{PetscMPIInt} ) @@ -11862,7 +11862,7 @@ See also: `PetscSortInt()`, `PetscSortRealWithPermutation()`, `PetscSortIntWithA $(_doc_external("Sys/PetscSortIntWithPermutation")) """ function PetscSortIntWithPermutation(petsclib::PetscLibType, n::Integer, i::AbstractVector{<:Number}, idx::AbstractVector{<:Number}) - error("PetscSortIntWithPermutation: no generated method for these argument types") + throw(MethodError(PetscSortIntWithPermutation, (petsclib, n, i, idx))) end @for_petsc function PetscSortIntWithPermutation(petsclib::$UnionPetscLib, n::$PetscInt, i::Vector{$PetscInt}, idx::Vector{$PetscInt} ) @@ -11898,7 +11898,7 @@ See also: `PetscTimSortWithArray()`, `PetscSortReal()`, `PetscSortIntWithPermuta $(_doc_external("Sys/PetscSortIntWithScalarArray")) """ function PetscSortIntWithScalarArray(petsclib::PetscLibType, n::PetscCount, X::AbstractVector{<:Number}, Y::AbstractVector{<:Number}) - error("PetscSortIntWithScalarArray: no generated method for these argument types") + throw(MethodError(PetscSortIntWithScalarArray, (petsclib, n, X, Y))) end @for_petsc function PetscSortIntWithScalarArray(petsclib::$UnionPetscLib, n::PetscCount, X::Vector{$PetscInt}, Y::Vector{$PetscScalar} ) @@ -11932,7 +11932,7 @@ See also: `PetscMPIIntSortSemiOrdered()`, `PetscSortReal()`, `PetscSortIntWithPe $(_doc_external("Sys/PetscSortMPIInt")) """ function PetscSortMPIInt(petsclib::PetscLibType, n::PetscCount, X::Vector{PetscMPIInt}) - error("PetscSortMPIInt: no generated method for these argument types") + throw(MethodError(PetscSortMPIInt, (petsclib, n, X))) end @for_petsc function PetscSortMPIInt(petsclib::$UnionPetscLib, n::PetscCount, X::Vector{PetscMPIInt} ) @@ -11968,7 +11968,7 @@ See also: `PetscMPIIntSortSemiOrderedWithArray()`, `PetscSortReal()`, `PetscSort $(_doc_external("Sys/PetscSortMPIIntWithArray")) """ function PetscSortMPIIntWithArray(petsclib::PetscLibType, n::PetscCount, X::Vector{PetscMPIInt}, Y::Vector{PetscMPIInt}) - error("PetscSortMPIIntWithArray: no generated method for these argument types") + throw(MethodError(PetscSortMPIIntWithArray, (petsclib, n, X, Y))) end @for_petsc function PetscSortMPIIntWithArray(petsclib::$UnionPetscLib, n::PetscCount, X::Vector{PetscMPIInt}, Y::Vector{PetscMPIInt} ) @@ -12004,7 +12004,7 @@ See also: `PetscSortMPIIntWithArray()`, `PetscIntSortSemiOrderedWithArray()`, `P $(_doc_external("Sys/PetscSortMPIIntWithIntArray")) """ function PetscSortMPIIntWithIntArray(petsclib::PetscLibType, n::PetscCount, X::Vector{PetscMPIInt}, Y::AbstractVector{<:Number}) - error("PetscSortMPIIntWithIntArray: no generated method for these argument types") + throw(MethodError(PetscSortMPIIntWithIntArray, (petsclib, n, X, Y))) end @for_petsc function PetscSortMPIIntWithIntArray(petsclib::$UnionPetscLib, n::PetscCount, X::Vector{PetscMPIInt}, Y::Vector{$PetscInt} ) @@ -12038,7 +12038,7 @@ See also: `PetscRealSortSemiOrdered()`, `PetscSortInt()`, `PetscSortRealWithPerm $(_doc_external("Sys/PetscSortReal")) """ function PetscSortReal(petsclib::PetscLibType, n::PetscCount, v::AbstractVector{<:Number}) - error("PetscSortReal: no generated method for these argument types") + throw(MethodError(PetscSortReal, (petsclib, n, v))) end @for_petsc function PetscSortReal(petsclib::$UnionPetscLib, n::PetscCount, v::Vector{$PetscReal} ) @@ -12074,7 +12074,7 @@ See also: `PetscSortReal()` $(_doc_external("Sys/PetscSortRealWithArrayInt")) """ function PetscSortRealWithArrayInt(petsclib::PetscLibType, n::PetscCount, r::AbstractVector{<:Number}, Ii::AbstractVector{<:Number}) - error("PetscSortRealWithArrayInt: no generated method for these argument types") + throw(MethodError(PetscSortRealWithArrayInt, (petsclib, n, r, Ii))) end @for_petsc function PetscSortRealWithArrayInt(petsclib::$UnionPetscLib, n::PetscCount, r::Vector{$PetscReal}, Ii::Vector{$PetscInt} ) @@ -12110,7 +12110,7 @@ See also: `PetscSortReal()`, `PetscSortIntWithPermutation()` $(_doc_external("Sys/PetscSortRealWithPermutation")) """ function PetscSortRealWithPermutation(petsclib::PetscLibType, n::Integer, i::AbstractVector{<:Number}, idx::AbstractVector{<:Number}) - error("PetscSortRealWithPermutation: no generated method for these argument types") + throw(MethodError(PetscSortRealWithPermutation, (petsclib, n, i, idx))) end @for_petsc function PetscSortRealWithPermutation(petsclib::$UnionPetscLib, n::$PetscInt, i::Vector{$PetscReal}, idx::Vector{$PetscInt} ) @@ -12147,7 +12147,7 @@ See also: `PetscIntSortSemiOrdered()`, `PetscSortReal()`, `PetscSortIntWithPermu $(_doc_external("Sys/PetscSortRemoveDupsInt")) """ function PetscSortRemoveDupsInt(petsclib::PetscLibType, n::Integer, X::AbstractVector{<:Number}) - error("PetscSortRemoveDupsInt: no generated method for these argument types") + throw(MethodError(PetscSortRemoveDupsInt, (petsclib, n, X))) end @for_petsc function PetscSortRemoveDupsInt(petsclib::$UnionPetscLib, n::$PetscInt, X::Vector{$PetscInt} ) @@ -12186,7 +12186,7 @@ See also: `PetscSortReal()`, `PetscSortIntWithPermutation()`, `PetscSortInt()` $(_doc_external("Sys/PetscSortRemoveDupsMPIInt")) """ function PetscSortRemoveDupsMPIInt(petsclib::PetscLibType, n::Integer, X::Vector{PetscMPIInt}) - error("PetscSortRemoveDupsMPIInt: no generated method for these argument types") + throw(MethodError(PetscSortRemoveDupsMPIInt, (petsclib, n, X))) end @for_petsc function PetscSortRemoveDupsMPIInt(petsclib::$UnionPetscLib, n::$PetscInt, X::Vector{PetscMPIInt} ) @@ -12220,7 +12220,7 @@ See also: `PetscSortReal()`, `PetscSortRemoveDupsInt()` $(_doc_external("Sys/PetscSortRemoveDupsReal")) """ function PetscSortRemoveDupsReal(petsclib::PetscLibType, n::Integer, v::AbstractVector{<:Number}) - error("PetscSortRemoveDupsReal: no generated method for these argument types") + throw(MethodError(PetscSortRemoveDupsReal, (petsclib, n, v))) end @for_petsc function PetscSortRemoveDupsReal(petsclib::$UnionPetscLib, n::$PetscInt, v::Vector{$PetscReal} ) @@ -12256,7 +12256,7 @@ See also: `PetscIntSortSemiOrdered()`, `PetscSortInt()`, `PetscSortIntWithPermut $(_doc_external("Sys/PetscSortReverseInt")) """ function PetscSortReverseInt(petsclib::PetscLibType, n::PetscCount, X::AbstractVector{<:Number}) - error("PetscSortReverseInt: no generated method for these argument types") + throw(MethodError(PetscSortReverseInt, (petsclib, n, X))) end @for_petsc function PetscSortReverseInt(petsclib::$UnionPetscLib, n::PetscCount, X::Vector{$PetscInt} ) @@ -12296,7 +12296,7 @@ See also: `PetscSortInt()`, `PetscSortRealWithPermutation()` $(_doc_external("Sys/PetscSortSplit")) """ function PetscSortSplit(petsclib::PetscLibType, ncut::Integer, n::Integer, a::AbstractVector{<:Number}, idx::AbstractVector{<:Number}) - error("PetscSortSplit: no generated method for these argument types") + throw(MethodError(PetscSortSplit, (petsclib, ncut, n, a, idx))) end @for_petsc function PetscSortSplit(petsclib::$UnionPetscLib, ncut::$PetscInt, n::$PetscInt, a::Vector{$PetscScalar}, idx::Vector{$PetscInt} ) @@ -12336,7 +12336,7 @@ See also: `PetscSortInt()`, `PetscSortRealWithPermutation()` $(_doc_external("Sys/PetscSortSplitReal")) """ function PetscSortSplitReal(petsclib::PetscLibType, ncut::Integer, n::Integer, a::AbstractVector{<:Number}, idx::AbstractVector{<:Number}) - error("PetscSortSplitReal: no generated method for these argument types") + throw(MethodError(PetscSortSplitReal, (petsclib, ncut, n, a, idx))) end @for_petsc function PetscSortSplitReal(petsclib::$UnionPetscLib, ncut::$PetscInt, n::$PetscInt, a::Vector{$PetscReal}, idx::Vector{$PetscInt} ) @@ -12372,7 +12372,7 @@ See also: `PetscSortInt()`, `PetscSortRealWithPermutation()` $(_doc_external("Sys/PetscSortStrWithPermutation")) """ function PetscSortStrWithPermutation(petsclib::PetscLibType, n::Integer, i::String, idx::AbstractVector{<:Number}) - error("PetscSortStrWithPermutation: no generated method for these argument types") + throw(MethodError(PetscSortStrWithPermutation, (petsclib, n, i, idx))) end @for_petsc function PetscSortStrWithPermutation(petsclib::$UnionPetscLib, n::$PetscInt, i::String, idx::Vector{$PetscInt} ) @@ -12410,7 +12410,7 @@ See also: `PetscCount`, `PetscSortCount()`, `PetscSortedCheckDupsInt()` $(_doc_external("Sys/PetscSortedCheckDupsCount")) """ function PetscSortedCheckDupsCount(petsclib::PetscLibType, n::PetscCount, X::Vector{PetscCount}) - error("PetscSortedCheckDupsCount: no generated method for these argument types") + throw(MethodError(PetscSortedCheckDupsCount, (petsclib, n, X))) end @for_petsc function PetscSortedCheckDupsCount(petsclib::$UnionPetscLib, n::PetscCount, X::Vector{PetscCount} ) @@ -12449,7 +12449,7 @@ See also: `PetscSortInt()`, `PetscCheckDupsInt()`, `PetscSortRemoveDupsInt()`, ` $(_doc_external("Sys/PetscSortedCheckDupsInt")) """ function PetscSortedCheckDupsInt(petsclib::PetscLibType, n::PetscCount, X::AbstractVector{<:Number}) - error("PetscSortedCheckDupsInt: no generated method for these argument types") + throw(MethodError(PetscSortedCheckDupsInt, (petsclib, n, X))) end @for_petsc function PetscSortedCheckDupsInt(petsclib::$UnionPetscLib, n::PetscCount, X::Vector{$PetscInt} ) @@ -12488,7 +12488,7 @@ See also: `PetscSortInt()`, `PetscSortedMPIInt()`, `PetscSortedReal()` $(_doc_external("Sys/PetscSortedInt")) """ function PetscSortedInt(petsclib::PetscLibType, n::PetscCount, X::AbstractVector{<:Number}) - error("PetscSortedInt: no generated method for these argument types") + throw(MethodError(PetscSortedInt, (petsclib, n, X))) end @for_petsc function PetscSortedInt(petsclib::$UnionPetscLib, n::PetscCount, X::Vector{$PetscInt} ) @@ -12527,7 +12527,7 @@ See also: `PetscSortInt64()`, `PetscSortInt()`, `PetscSortedMPIInt()`, `PetscSor $(_doc_external("Sys/PetscSortedInt64")) """ function PetscSortedInt64(petsclib::PetscLibType, n::PetscCount, X::Vector{PetscInt64}) - error("PetscSortedInt64: no generated method for these argument types") + throw(MethodError(PetscSortedInt64, (petsclib, n, X))) end @for_petsc function PetscSortedInt64(petsclib::$UnionPetscLib, n::PetscCount, X::Vector{$PetscInt64} ) @@ -12566,7 +12566,7 @@ See also: `PetscMPIIntSortSemiOrdered()`, `PetscSortMPIInt()`, `PetscSortedInt() $(_doc_external("Sys/PetscSortedMPIInt")) """ function PetscSortedMPIInt(petsclib::PetscLibType, n::PetscCount, X::Vector{PetscMPIInt}) - error("PetscSortedMPIInt: no generated method for these argument types") + throw(MethodError(PetscSortedMPIInt, (petsclib, n, X))) end @for_petsc function PetscSortedMPIInt(petsclib::$UnionPetscLib, n::PetscCount, X::Vector{PetscMPIInt} ) @@ -12605,7 +12605,7 @@ See also: `PetscSortReal()`, `PetscSortedInt()`, `PetscSortedMPIInt()` $(_doc_external("Sys/PetscSortedReal")) """ function PetscSortedReal(petsclib::PetscLibType, n::PetscCount, X::AbstractVector{<:Number}) - error("PetscSortedReal: no generated method for these argument types") + throw(MethodError(PetscSortedReal, (petsclib, n, X))) end @for_petsc function PetscSortedReal(petsclib::$UnionPetscLib, n::PetscCount, X::Vector{$PetscReal} ) @@ -12644,7 +12644,7 @@ See also: `PetscSortInt()` $(_doc_external("Sys/PetscSortedRemoveDupsInt")) """ function PetscSortedRemoveDupsInt(petsclib::PetscLibType, n::Integer, X::AbstractVector{<:Number}) - error("PetscSortedRemoveDupsInt: no generated method for these argument types") + throw(MethodError(PetscSortedRemoveDupsInt, (petsclib, n, X))) end @for_petsc function PetscSortedRemoveDupsInt(petsclib::$UnionPetscLib, n::$PetscInt, X::Vector{$PetscInt} ) @@ -12682,7 +12682,7 @@ See also: `PetscSplitOwnershipBlock()`, `PetscSplitOwnershipEqual()`, `PETSC_DEC $(_doc_external("Sys/PetscSplitOwnership")) """ function PetscSplitOwnership(petsclib::PetscLibType, comm::MPI_Comm, n::Integer, M_N::Integer) - error("PetscSplitOwnership: no generated method for these argument types") + throw(MethodError(PetscSplitOwnership, (petsclib, comm, n, M_N))) end @for_petsc function PetscSplitOwnership(petsclib::$UnionPetscLib, comm::MPI_Comm, n::$PetscInt, M_N::$PetscInt ) @@ -12724,7 +12724,7 @@ See also: `PetscSplitOwnership()`, `PetscSplitOwnershipEqual()` $(_doc_external("Sys/PetscSplitOwnershipBlock")) """ function PetscSplitOwnershipBlock(petsclib::PetscLibType, comm::MPI_Comm, bs::Integer, n::Integer, M_N::Integer) - error("PetscSplitOwnershipBlock: no generated method for these argument types") + throw(MethodError(PetscSplitOwnershipBlock, (petsclib, comm, bs, n, M_N))) end @for_petsc function PetscSplitOwnershipBlock(petsclib::$UnionPetscLib, comm::MPI_Comm, bs::$PetscInt, n::$PetscInt, M_N::$PetscInt ) @@ -12764,7 +12764,7 @@ See also: `PetscSplitOwnership()`, `PetscSplitOwnershipBlock()` $(_doc_external("Sys/PetscSplitOwnershipEqual")) """ function PetscSplitOwnershipEqual(petsclib::PetscLibType, comm::MPI_Comm, n::Integer, M_N::Integer) - error("PetscSplitOwnershipEqual: no generated method for these argument types") + throw(MethodError(PetscSplitOwnershipEqual, (petsclib, comm, n, M_N))) end @for_petsc function PetscSplitOwnershipEqual(petsclib::$UnionPetscLib, comm::MPI_Comm, n::$PetscInt, M_N::$PetscInt ) @@ -12806,7 +12806,7 @@ See also: `PetscPOpen()`, `PetscPClose()`, `PetscMatlabEngine` $(_doc_external("Sys/PetscStartMatlab")) """ function PetscStartMatlab(petsclib::PetscLibType, comm::MPI_Comm, machine::String, script::String) - error("PetscStartMatlab: no generated method for these argument types") + throw(MethodError(PetscStartMatlab, (petsclib, comm, machine, script))) end @for_petsc function PetscStartMatlab(petsclib::$UnionPetscLib, comm::MPI_Comm, machine::String, script::String ) @@ -12843,7 +12843,7 @@ See also: `PetscSetDebugger()`, `PetscAttachDebugger()` $(_doc_external("Sys/PetscStopForDebugger")) """ function PetscStopForDebugger(petsclib::PetscLibType) - error("PetscStopForDebugger: no generated method for these argument types") + throw(MethodError(PetscStopForDebugger, (petsclib, ))) end @for_petsc function PetscStopForDebugger(petsclib::$UnionPetscLib) @@ -12875,7 +12875,7 @@ See also: `PetscStrArrayallocpy()` $(_doc_external("Sys/PetscStrArrayDestroy")) """ function PetscStrArrayDestroy(petsclib::PetscLibType) - error("PetscStrArrayDestroy: no generated method for these argument types") + throw(MethodError(PetscStrArrayDestroy, (petsclib, ))) end @for_petsc function PetscStrArrayDestroy(petsclib::$UnionPetscLib) @@ -12913,7 +12913,7 @@ See also: `PetscStrallocpy()`, `PetscStrArrayDestroy()`, `PetscStrNArrayallocpy( $(_doc_external("Sys/PetscStrArrayallocpy")) """ function PetscStrArrayallocpy(petsclib::PetscLibType, list::Cchar) - error("PetscStrArrayallocpy: no generated method for these argument types") + throw(MethodError(PetscStrArrayallocpy, (petsclib, list))) end @for_petsc function PetscStrArrayallocpy(petsclib::$UnionPetscLib, list::Cchar ) @@ -12953,7 +12953,7 @@ See also: `PetscTokenCreate()`, `PetscTokenFind()`, `PetscStrcmp()` $(_doc_external("Sys/PetscStrInList")) """ function PetscStrInList(petsclib::PetscLibType, str::String, list::String, sep::Cchar) - error("PetscStrInList: no generated method for these argument types") + throw(MethodError(PetscStrInList, (petsclib, str, list, sep))) end @for_petsc function PetscStrInList(petsclib::$UnionPetscLib, str::String, list::String, sep::Cchar ) @@ -12989,7 +12989,7 @@ See also: `PetscStrNArrayallocpy()`, `PetscStrArrayallocpy()` $(_doc_external("Sys/PetscStrNArrayDestroy")) """ function PetscStrNArrayDestroy(petsclib::PetscLibType, n::Integer) - error("PetscStrNArrayDestroy: no generated method for these argument types") + throw(MethodError(PetscStrNArrayDestroy, (petsclib, n))) end @for_petsc function PetscStrNArrayDestroy(petsclib::$UnionPetscLib, n::$PetscInt ) @@ -13028,7 +13028,7 @@ See also: `PetscStrallocpy()`, `PetscStrArrayallocpy()`, `PetscStrNArrayDestroy( $(_doc_external("Sys/PetscStrNArrayallocpy")) """ function PetscStrNArrayallocpy(petsclib::PetscLibType, n::Integer, list::Cchar) - error("PetscStrNArrayallocpy: no generated method for these argument types") + throw(MethodError(PetscStrNArrayallocpy, (petsclib, n, list))) end @for_petsc function PetscStrNArrayallocpy(petsclib::$UnionPetscLib, n::$PetscInt, list::Cchar ) @@ -13068,7 +13068,7 @@ See also: `PetscStrToArrayDestroy()`, `PetscToken`, `PetscTokenCreate()` $(_doc_external("Sys/PetscStrToArray")) """ function PetscStrToArray(petsclib::PetscLibType, s::String, sp::Cchar) - error("PetscStrToArray: no generated method for these argument types") + throw(MethodError(PetscStrToArray, (petsclib, s, sp))) end @for_petsc function PetscStrToArray(petsclib::$UnionPetscLib, s::String, sp::Cchar ) @@ -13106,7 +13106,7 @@ See also: `PetscStrToArray()` $(_doc_external("Sys/PetscStrToArrayDestroy")) """ function PetscStrToArrayDestroy(petsclib::PetscLibType, argc::Cint) - error("PetscStrToArrayDestroy: no generated method for these argument types") + throw(MethodError(PetscStrToArrayDestroy, (petsclib, argc))) end @for_petsc function PetscStrToArrayDestroy(petsclib::$UnionPetscLib, argc::Cint ) @@ -13146,7 +13146,7 @@ See also: `PetscStrcmp()`, `PetscStrncmp()`, `PetscStrgrt()` $(_doc_external("Sys/PetscStrcasecmp")) """ function PetscStrcasecmp(petsclib::PetscLibType, a::String, b::String) - error("PetscStrcasecmp: no generated method for these argument types") + throw(MethodError(PetscStrcasecmp, (petsclib, a, b))) end @for_petsc function PetscStrcasecmp(petsclib::$UnionPetscLib, a::String, b::String ) @@ -13182,7 +13182,7 @@ See also: `PetscStrlcat()` $(_doc_external("Sys/PetscStrcat")) """ function PetscStrcat(petsclib::PetscLibType, s::String, t::String) - error("PetscStrcat: no generated method for these argument types") + throw(MethodError(PetscStrcat, (petsclib, s, t))) end @for_petsc function PetscStrcat(petsclib::$UnionPetscLib, s::String, t::String ) @@ -13218,7 +13218,7 @@ See also: `PetscStrncpy()` $(_doc_external("Sys/PetscStrcpy")) """ function PetscStrcpy(petsclib::PetscLibType, s::String, t::String) - error("PetscStrcpy: no generated method for these argument types") + throw(MethodError(PetscStrcpy, (petsclib, s, t))) end @for_petsc function PetscStrcpy(petsclib::$UnionPetscLib, s::String, t::String ) @@ -13256,7 +13256,7 @@ See also: `PetscStrbeginswithwhich()`, `PetscStrendswith()`, `PetscStrtoupper`, $(_doc_external("Sys/PetscStrendswithwhich")) """ function PetscStrendswithwhich(petsclib::PetscLibType, a::String, bs::Cchar) - error("PetscStrendswithwhich: no generated method for these argument types") + throw(MethodError(PetscStrendswithwhich, (petsclib, a, bs))) end @for_petsc function PetscStrendswithwhich(petsclib::$UnionPetscLib, a::String, bs::Cchar ) @@ -13294,7 +13294,7 @@ See also: `PetscStrcmp()` $(_doc_external("Sys/PetscStrreplace")) """ function PetscStrreplace(petsclib::PetscLibType, comm::MPI_Comm, aa::String, b::String, len::Csize_t) - error("PetscStrreplace: no generated method for these argument types") + throw(MethodError(PetscStrreplace, (petsclib, comm, aa, b, len))) end @for_petsc function PetscStrreplace(petsclib::$UnionPetscLib, comm::MPI_Comm, aa::String, b::String, len::Csize_t ) @@ -13333,7 +13333,7 @@ See also: `PetscSynchronizedPrintf()`, `PetscSynchronizedFlush()`, $(_doc_external("Sys/PetscSynchronizedFGets")) """ function PetscSynchronizedFGets(petsclib::PetscLibType, comm::MPI_Comm, fp::Libc.FILE, len::Csize_t, string::String) - error("PetscSynchronizedFGets: no generated method for these argument types") + throw(MethodError(PetscSynchronizedFGets, (petsclib, comm, fp, len, string))) end @for_petsc function PetscSynchronizedFGets(petsclib::$UnionPetscLib, comm::MPI_Comm, fp::Libc.FILE, len::Csize_t, string::String ) @@ -13369,7 +13369,7 @@ See also: `PetscSynchronizedPrintf()`, `PetscFPrintf()`, `PetscPrintf()`, `Petsc $(_doc_external("Sys/PetscSynchronizedFlush")) """ function PetscSynchronizedFlush(petsclib::PetscLibType, comm::MPI_Comm, fd::Libc.FILE) - error("PetscSynchronizedFlush: no generated method for these argument types") + throw(MethodError(PetscSynchronizedFlush, (petsclib, comm, fd))) end @for_petsc function PetscSynchronizedFlush(petsclib::$UnionPetscLib, comm::MPI_Comm, fd::Libc.FILE ) @@ -13398,7 +13398,7 @@ See also: `PetscSysInitializePackage()`, `PetscFinalize()` $(_doc_external("Viewer/PetscSysFinalizePackage")) """ function PetscSysFinalizePackage(petsclib::PetscLibType) - error("PetscSysFinalizePackage: no generated method for these argument types") + throw(MethodError(PetscSysFinalizePackage, (petsclib, ))) end @for_petsc function PetscSysFinalizePackage(petsclib::$UnionPetscLib) @@ -13427,7 +13427,7 @@ See also: `PetscSysFinalizePackage()`, `PetscInitialize()` $(_doc_external("Viewer/PetscSysInitializePackage")) """ function PetscSysInitializePackage(petsclib::PetscLibType) - error("PetscSysInitializePackage: no generated method for these argument types") + throw(MethodError(PetscSysInitializePackage, (petsclib, ))) end @for_petsc function PetscSysInitializePackage(petsclib::$UnionPetscLib) @@ -13463,7 +13463,7 @@ See also: `PetscTestFile()`, `PetscLs()`, `PetscRMTree()` $(_doc_external("Sys/PetscTestDirectory")) """ function PetscTestDirectory(petsclib::PetscLibType, dirname::String, mode::Cchar) - error("PetscTestDirectory: no generated method for these argument types") + throw(MethodError(PetscTestDirectory, (petsclib, dirname, mode))) end @for_petsc function PetscTestDirectory(petsclib::$UnionPetscLib, dirname::String, mode::Cchar ) @@ -13502,7 +13502,7 @@ See also: `PetscTestDirectory()`, `PetscLs()` $(_doc_external("Sys/PetscTestFile")) """ function PetscTestFile(petsclib::PetscLibType, fname::String, mode::Cchar) - error("PetscTestFile: no generated method for these argument types") + throw(MethodError(PetscTestFile, (petsclib, fname, mode))) end @for_petsc function PetscTestFile(petsclib::$UnionPetscLib, fname::String, mode::Cchar ) @@ -13544,7 +13544,7 @@ See also: `PetscTimSortWithArray()`, `PetscIntSortSemiOrdered()`, `PetscRealSort $(_doc_external("Sys/PetscTimSort")) """ function PetscTimSort(petsclib::PetscLibType, n::Integer, size::Csize_t, cmp::external, ctx::Ptr{Cvoid}) - error("PetscTimSort: no generated method for these argument types") + throw(MethodError(PetscTimSort, (petsclib, n, size, cmp, ctx))) end @for_petsc function PetscTimSort(petsclib::$UnionPetscLib, n::$PetscInt, size::Csize_t, cmp::external, ctx::Ptr{Cvoid} ) @@ -13588,7 +13588,7 @@ See also: `PetscTimSort()`, `PetscIntSortSemiOrderedWithArray()`, `PetscRealSort $(_doc_external("Sys/PetscTimSortWithArray")) """ function PetscTimSortWithArray(petsclib::PetscLibType, n::Integer, arr::Ptr{Cvoid}, asize::Csize_t, barr::Ptr{Cvoid}, bsize::Csize_t, cmp::external, ctx::Ptr{Cvoid}) - error("PetscTimSortWithArray: no generated method for these argument types") + throw(MethodError(PetscTimSortWithArray, (petsclib, n, arr, asize, barr, bsize, cmp, ctx))) end @for_petsc function PetscTimSortWithArray(petsclib::$UnionPetscLib, n::$PetscInt, arr::Ptr{Cvoid}, asize::Csize_t, barr::Ptr{Cvoid}, bsize::Csize_t, cmp::external, ctx::Ptr{Cvoid} ) @@ -13632,7 +13632,7 @@ See also: `PetscError()`, `PetscPushErrorHandler()`, `PetscPopErrorHandler()`, ` $(_doc_external("Sys/PetscTraceBackErrorHandler")) """ function PetscTraceBackErrorHandler(petsclib::PetscLibType, comm::MPI_Comm, line::Cint, fun::String, file::String, n::PetscErrorCode, p::PetscErrorType, mess::String, ctx::Ptr{Cvoid}) - error("PetscTraceBackErrorHandler: no generated method for these argument types") + throw(MethodError(PetscTraceBackErrorHandler, (petsclib, comm, line, fun, file, n, p, mess, ctx))) end @for_petsc function PetscTraceBackErrorHandler(petsclib::$UnionPetscLib, comm::MPI_Comm, line::Cint, fun::String, file::String, n::PetscErrorCode, p::PetscErrorType, mess::String, ctx::Ptr{Cvoid} ) @@ -13663,7 +13663,7 @@ See also: `PetscSetDebugger()`, `PetscAttachDebugger()` $(_doc_external("Sys/PetscWaitOnError")) """ function PetscWaitOnError(petsclib::PetscLibType) - error("PetscWaitOnError: no generated method for these argument types") + throw(MethodError(PetscWaitOnError, (petsclib, ))) end @for_petsc function PetscWaitOnError(petsclib::$UnionPetscLib) diff --git a/src/autowrapped/TS_wrappers.jl b/src/autowrapped/TS_wrappers.jl index 027d15666..e6399cfb2 100644 --- a/src/autowrapped/TS_wrappers.jl +++ b/src/autowrapped/TS_wrappers.jl @@ -20,7 +20,7 @@ See also: `TS`, `TS2SetSolution()`, `TSGetTimeStep()`, `TSGetTime()` $(_doc_external("TS/TS2GetSolution")) """ function TS2GetSolution(petsclib::PetscLibType, ts::AbstractTS) - error("TS2GetSolution: no generated method for these argument types") + throw(MethodError(TS2GetSolution, (petsclib, ts))) end @for_petsc function TS2GetSolution(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -60,7 +60,7 @@ See also: `TS` $(_doc_external("TS/TS2SetSolution")) """ function TS2SetSolution(petsclib::PetscLibType, ts::AbstractTS, u::AbstractPetscVec, v::AbstractPetscVec) - error("TS2SetSolution: no generated method for these argument types") + throw(MethodError(TS2SetSolution, (petsclib, ts, u, v))) end @for_petsc function TS2SetSolution(petsclib::$UnionPetscLib, ts::AbstractTS, u::AbstractPetscVec, v::AbstractPetscVec ) @@ -89,7 +89,7 @@ See also: `PetscFinalize()`, `TSARKIMEXInitializePackage()` $(_doc_external("TS/TSARKIMEXFinalizePackage")) """ function TSARKIMEXFinalizePackage(petsclib::PetscLibType) - error("TSARKIMEXFinalizePackage: no generated method for these argument types") + throw(MethodError(TSARKIMEXFinalizePackage, (petsclib, ))) end @for_petsc function TSARKIMEXFinalizePackage(petsclib::$UnionPetscLib) @@ -124,7 +124,7 @@ See also: `TSARKIMEX`, `TSARKIMEXSetFastSlowSplit()` $(_doc_external("TS/TSARKIMEXGetFastSlowSplit")) """ function TSARKIMEXGetFastSlowSplit(petsclib::PetscLibType, ts::AbstractTS) - error("TSARKIMEXGetFastSlowSplit: no generated method for these argument types") + throw(MethodError(TSARKIMEXGetFastSlowSplit, (petsclib, ts))) end @for_petsc function TSARKIMEXGetFastSlowSplit(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -162,7 +162,7 @@ See also: `TSARKIMEXGetType()`, `TSARKIMEXSetFullyImplicit()` $(_doc_external("TS/TSARKIMEXGetFullyImplicit")) """ function TSARKIMEXGetFullyImplicit(petsclib::PetscLibType, ts::AbstractTS) - error("TSARKIMEXGetFullyImplicit: no generated method for these argument types") + throw(MethodError(TSARKIMEXGetFullyImplicit, (petsclib, ts))) end @for_petsc function TSARKIMEXGetFullyImplicit(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -200,7 +200,7 @@ See also: `TSARKIMEX` $(_doc_external("TS/TSARKIMEXGetType")) """ function TSARKIMEXGetType(petsclib::PetscLibType, ts::AbstractTS) - error("TSARKIMEXGetType: no generated method for these argument types") + throw(MethodError(TSARKIMEXGetType, (petsclib, ts))) end @for_petsc function TSARKIMEXGetType(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -231,7 +231,7 @@ See also: `PetscInitialize()`, `TSARKIMEXFinalizePackage()` $(_doc_external("TS/TSARKIMEXInitializePackage")) """ function TSARKIMEXInitializePackage(petsclib::PetscLibType) - error("TSARKIMEXInitializePackage: no generated method for these argument types") + throw(MethodError(TSARKIMEXInitializePackage, (petsclib, ))) end @for_petsc function TSARKIMEXInitializePackage(petsclib::$UnionPetscLib) @@ -276,7 +276,7 @@ See also: `TSARKIMEX`, `TSType`, `TS` $(_doc_external("TS/TSARKIMEXRegister")) """ function TSARKIMEXRegister(petsclib::PetscLibType, name::String, order::Integer, s::Integer, At::AbstractVector{<:Number}, bt::AbstractVector{<:Number}, ct::AbstractVector{<:Number}, A::AbstractVector{<:Number}, b::AbstractVector{<:Number}, c::AbstractVector{<:Number}, bembedt::AbstractVector{<:Number}, bembed::AbstractVector{<:Number}, pinterp::Integer, binterpt::AbstractVector{<:Number}, binterp::AbstractVector{<:Number}) - error("TSARKIMEXRegister: no generated method for these argument types") + throw(MethodError(TSARKIMEXRegister, (petsclib, name, order, s, At, bt, ct, A, b, c, bembedt, bembed, pinterp, binterpt, binterp))) end @for_petsc function TSARKIMEXRegister(petsclib::$UnionPetscLib, name::String, order::$PetscInt, s::$PetscInt, At::Vector{$PetscReal}, bt::Vector{$PetscReal}, ct::Vector{$PetscReal}, A::Vector{$PetscReal}, b::Vector{$PetscReal}, c::Vector{$PetscReal}, bembedt::Vector{$PetscReal}, bembed::Vector{$PetscReal}, pinterp::$PetscInt, binterpt::Vector{$PetscReal}, binterp::Vector{$PetscReal} ) @@ -306,7 +306,7 @@ See also: `TSARKIMEX`, `TSARKIMEXRegister()`, `TSARKIMEXRegisterAll()` $(_doc_external("TS/TSARKIMEXRegisterDestroy")) """ function TSARKIMEXRegisterDestroy(petsclib::PetscLibType) - error("TSARKIMEXRegisterDestroy: no generated method for these argument types") + throw(MethodError(TSARKIMEXRegisterDestroy, (petsclib, ))) end @for_petsc function TSARKIMEXRegisterDestroy(petsclib::$UnionPetscLib) @@ -342,7 +342,7 @@ See also: `TSARKIMEX`, `TSARKIMEXGetFastSlowSplit()`, `TSRHSSplitSetIS()` $(_doc_external("TS/TSARKIMEXSetFastSlowSplit")) """ function TSARKIMEXSetFastSlowSplit(petsclib::PetscLibType, ts::AbstractTS, fastslow::PetscBool) - error("TSARKIMEXSetFastSlowSplit: no generated method for these argument types") + throw(MethodError(TSARKIMEXSetFastSlowSplit, (petsclib, ts, fastslow))) end @for_petsc function TSARKIMEXSetFastSlowSplit(petsclib::$UnionPetscLib, ts::AbstractTS, fastslow::PetscBool ) @@ -379,7 +379,7 @@ See also: `TSARKIMEX`, `TSARKIMEXGetType()`, `TSARKIMEXGetFullyImplicit()` $(_doc_external("TS/TSARKIMEXSetFullyImplicit")) """ function TSARKIMEXSetFullyImplicit(petsclib::PetscLibType, ts::AbstractTS, flg::PetscBool) - error("TSARKIMEXSetFullyImplicit: no generated method for these argument types") + throw(MethodError(TSARKIMEXSetFullyImplicit, (petsclib, ts, flg))) end @for_petsc function TSARKIMEXSetFullyImplicit(petsclib::$UnionPetscLib, ts::AbstractTS, flg::PetscBool ) @@ -417,7 +417,7 @@ See also: `TSARKIMEXGetType()`, `TSARKIMEX`, `TSARKIMEXType`, `TSARKIMEX1BEE`, ` $(_doc_external("TS/TSARKIMEXSetType")) """ function TSARKIMEXSetType(petsclib::PetscLibType, ts::AbstractTS, arktype::String) - error("TSARKIMEXSetType: no generated method for these argument types") + throw(MethodError(TSARKIMEXSetType, (petsclib, ts, arktype))) end @for_petsc function TSARKIMEXSetType(petsclib::$UnionPetscLib, ts::AbstractTS, arktype::String ) @@ -450,7 +450,7 @@ See also: `TSAdjointSolve()`, `TSAdjointStep()` $(_doc_external("Sensitivity/TSAdjointCostIntegral")) """ function TSAdjointCostIntegral(petsclib::PetscLibType, ts::AbstractTS) - error("TSAdjointCostIntegral: no generated method for these argument types") + throw(MethodError(TSAdjointCostIntegral, (petsclib, ts))) end @for_petsc function TSAdjointCostIntegral(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -489,7 +489,7 @@ See also: `TSAdjointMonitorSet()`, `TSAdjointSolve()` $(_doc_external("Sensitivity/TSAdjointMonitor")) """ function TSAdjointMonitor(petsclib::PetscLibType, ts::AbstractTS, step::Integer, ptime::Real, u::AbstractPetscVec, numcost::Integer, lambda::Vector{<:AbstractPetscVec}, mu::Vector{<:AbstractPetscVec}) - error("TSAdjointMonitor: no generated method for these argument types") + throw(MethodError(TSAdjointMonitor, (petsclib, ts, step, ptime, u, numcost, lambda, mu))) end @for_petsc function TSAdjointMonitor(petsclib::$UnionPetscLib, ts::AbstractTS, step::$PetscInt, ptime::$PetscReal, u::AbstractPetscVec, numcost::$PetscInt, lambda::Vector{<:AbstractPetscVec}, mu::Vector{<:AbstractPetscVec} ) @@ -520,7 +520,7 @@ See also: `TS`, `TSAdjointSolve()`, `TSAdjointMonitorSet()` $(_doc_external("Sensitivity/TSAdjointMonitorCancel")) """ function TSAdjointMonitorCancel(petsclib::PetscLibType, ts::AbstractTS) - error("TSAdjointMonitorCancel: no generated method for these argument types") + throw(MethodError(TSAdjointMonitorCancel, (petsclib, ts))) end @for_petsc function TSAdjointMonitorCancel(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -559,7 +559,7 @@ See also: `TS`, `TSAdjointSolve()`, `TSAdjointMonitorSet()` $(_doc_external("Sensitivity/TSAdjointMonitorDefault")) """ function TSAdjointMonitorDefault(petsclib::PetscLibType, ts::AbstractTS, step::Integer, time::Real, v::AbstractPetscVec, numcost::Integer, lambda::Vector{<:AbstractPetscVec}, mu::Vector{<:AbstractPetscVec}, vf::Vector{PetscViewerAndFormat}) - error("TSAdjointMonitorDefault: no generated method for these argument types") + throw(MethodError(TSAdjointMonitorDefault, (petsclib, ts, step, time, v, numcost, lambda, mu, vf))) end @for_petsc function TSAdjointMonitorDefault(petsclib::$UnionPetscLib, ts::AbstractTS, step::$PetscInt, time::$PetscReal, v::AbstractPetscVec, numcost::$PetscInt, lambda::Vector{<:AbstractPetscVec}, mu::Vector{<:AbstractPetscVec}, vf::Vector{PetscViewerAndFormat} ) @@ -600,7 +600,7 @@ See also: `TSAdjointSolve()`, `TSAdjointMonitorSet()`, `TSAdjointMonitorDefault( $(_doc_external("Sensitivity/TSAdjointMonitorDrawSensi")) """ function TSAdjointMonitorDrawSensi(petsclib::PetscLibType, ts::AbstractTS, step::Integer, ptime::Real, u::AbstractPetscVec, numcost::Integer, lambda::Vector{<:AbstractPetscVec}, mu::Vector{<:AbstractPetscVec}, dummy::Ptr{Cvoid}) - error("TSAdjointMonitorDrawSensi: no generated method for these argument types") + throw(MethodError(TSAdjointMonitorDrawSensi, (petsclib, ts, step, ptime, u, numcost, lambda, mu, dummy))) end @for_petsc function TSAdjointMonitorDrawSensi(petsclib::$UnionPetscLib, ts::AbstractTS, step::$PetscInt, ptime::$PetscReal, u::AbstractPetscVec, numcost::$PetscInt, lambda::Vector{<:AbstractPetscVec}, mu::Vector{<:AbstractPetscVec}, dummy::Ptr{Cvoid} ) @@ -648,7 +648,7 @@ See also: `TS`, `TSAdjointSolve()`, `TSAdjointMonitorCancel()`, `PetscCtxDestroy $(_doc_external("Sensitivity/TSAdjointMonitorSet")) """ function TSAdjointMonitorSet(petsclib::PetscLibType, ts::AbstractTS, adjointmonitor::external, adjointmctx::Ptr{Cvoid}, adjointmdestroy::Ptr{Cvoid}) - error("TSAdjointMonitorSet: no generated method for these argument types") + throw(MethodError(TSAdjointMonitorSet, (petsclib, ts, adjointmonitor, adjointmctx, adjointmdestroy))) end @for_petsc function TSAdjointMonitorSet(petsclib::$UnionPetscLib, ts::AbstractTS, adjointmonitor::external, adjointmctx::Ptr{Cvoid}, adjointmdestroy::Ptr{Cvoid} ) @@ -707,7 +707,7 @@ See also: `PetscOptionsCreateViewer()`, `PetscOptionsGetReal()`, `PetscOptionsHa $(_doc_external("Sensitivity/TSAdjointMonitorSetFromOptions")) """ function TSAdjointMonitorSetFromOptions(petsclib::PetscLibType, ts::AbstractTS, name::String, help::String, manual::String, monitor::external, monitorsetup::external) - error("TSAdjointMonitorSetFromOptions: no generated method for these argument types") + throw(MethodError(TSAdjointMonitorSetFromOptions, (petsclib, ts, name, help, manual, monitor, monitorsetup))) end @for_petsc function TSAdjointMonitorSetFromOptions(petsclib::$UnionPetscLib, ts::AbstractTS, name::String, help::String, manual::String, monitor::external, monitorsetup::external ) @@ -740,7 +740,7 @@ See also: `TSCreate()`, `TSAdjointSetUp()`, `TSDestroy()` $(_doc_external("Sensitivity/TSAdjointReset")) """ function TSAdjointReset(petsclib::PetscLibType, ts::AbstractTS) - error("TSAdjointReset: no generated method for these argument types") + throw(MethodError(TSAdjointReset, (petsclib, ts))) end @for_petsc function TSAdjointReset(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -773,7 +773,7 @@ See also: `TSAdjointSetForward()` $(_doc_external("Sensitivity/TSAdjointResetForward")) """ function TSAdjointResetForward(petsclib::PetscLibType, ts::AbstractTS) - error("TSAdjointResetForward: no generated method for these argument types") + throw(MethodError(TSAdjointResetForward, (petsclib, ts))) end @for_petsc function TSAdjointResetForward(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -807,7 +807,7 @@ See also: `TSAdjointSolve()`, `TSSetCostHessianProducts()`, `TSAdjointResetForwa $(_doc_external("Sensitivity/TSAdjointSetForward")) """ function TSAdjointSetForward(petsclib::PetscLibType, ts::AbstractTS, didp::AbstractPetscMat) - error("TSAdjointSetForward: no generated method for these argument types") + throw(MethodError(TSAdjointSetForward, (petsclib, ts, didp))) end @for_petsc function TSAdjointSetForward(petsclib::$UnionPetscLib, ts::AbstractTS, didp::AbstractPetscMat ) @@ -846,7 +846,7 @@ See also: `TSSetSaveTrajectory()`, `TSTrajectorySetUp()` $(_doc_external("Sensitivity/TSAdjointSetFromOptions")) """ function TSAdjointSetFromOptions(petsclib::PetscLibType, ts::AbstractTS, PetscOptionsObject::PetscOptionItems) - error("TSAdjointSetFromOptions: no generated method for these argument types") + throw(MethodError(TSAdjointSetFromOptions, (petsclib, ts, PetscOptionsObject))) end @for_petsc function TSAdjointSetFromOptions(petsclib::$UnionPetscLib, ts::AbstractTS, PetscOptionsObject::PetscOptionItems ) @@ -880,7 +880,7 @@ See also: `TSAdjointSolve()`, `TS`, `TSSetExactFinalTime()` $(_doc_external("Sensitivity/TSAdjointSetSteps")) """ function TSAdjointSetSteps(petsclib::PetscLibType, ts::AbstractTS, steps::Integer) - error("TSAdjointSetSteps: no generated method for these argument types") + throw(MethodError(TSAdjointSetSteps, (petsclib, ts, steps))) end @for_petsc function TSAdjointSetSteps(petsclib::$UnionPetscLib, ts::AbstractTS, steps::$PetscInt ) @@ -914,7 +914,7 @@ See also: `TSCreate()`, `TSAdjointStep()`, `TSSetCostGradients()` $(_doc_external("Sensitivity/TSAdjointSetUp")) """ function TSAdjointSetUp(petsclib::PetscLibType, ts::AbstractTS) - error("TSAdjointSetUp: no generated method for these argument types") + throw(MethodError(TSAdjointSetUp, (petsclib, ts))) end @for_petsc function TSAdjointSetUp(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -951,7 +951,7 @@ See also: `TSCreate()`, `TSSetCostGradients()`, `TSSetSolution()`, `TSAdjointSte $(_doc_external("Sensitivity/TSAdjointSolve")) """ function TSAdjointSolve(petsclib::PetscLibType, ts::AbstractTS) - error("TSAdjointSolve: no generated method for these argument types") + throw(MethodError(TSAdjointSolve, (petsclib, ts))) end @for_petsc function TSAdjointSolve(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -984,7 +984,7 @@ See also: `TSAdjointSetUp()`, `TSAdjointSolve()` $(_doc_external("Sensitivity/TSAdjointStep")) """ function TSAdjointStep(petsclib::PetscLibType, ts::AbstractTS) - error("TSAdjointStep: no generated method for these argument types") + throw(MethodError(TSAdjointStep, (petsclib, ts))) end @for_petsc function TSAdjointStep(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -1023,7 +1023,7 @@ See also: `TS`, `TSALPHA2`, `TSAlpha2SetRadius()`, `TSAlpha2SetParams()` $(_doc_external("TS/TSAlpha2GetParams")) """ function TSAlpha2GetParams(petsclib::PetscLibType, ts::AbstractTS) - error("TSAlpha2GetParams: no generated method for these argument types") + throw(MethodError(TSAlpha2GetParams, (petsclib, ts))) end @for_petsc function TSAlpha2GetParams(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -1074,7 +1074,7 @@ See also: `TS`, `TSALPHA2`, `TSAlpha2SetRadius()`, `TSAlpha2GetParams()` $(_doc_external("TS/TSAlpha2SetParams")) """ function TSAlpha2SetParams(petsclib::PetscLibType, ts::AbstractTS, alpha_m::Real, alpha_f::Real, gamma::Real, beta::Real) - error("TSAlpha2SetParams: no generated method for these argument types") + throw(MethodError(TSAlpha2SetParams, (petsclib, ts, alpha_m, alpha_f, gamma, beta))) end @for_petsc function TSAlpha2SetParams(petsclib::$UnionPetscLib, ts::AbstractTS, alpha_m::$PetscReal, alpha_f::$PetscReal, gamma::$PetscReal, beta::$PetscReal ) @@ -1108,7 +1108,7 @@ See also: `TS`, `TSALPHA2`, `TSAlpha2PredictorFn` $(_doc_external("TS/TSAlpha2SetPredictor")) """ function TSAlpha2SetPredictor(petsclib::PetscLibType, ts::AbstractTS, predictor::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("TSAlpha2SetPredictor: no generated method for these argument types") + throw(MethodError(TSAlpha2SetPredictor, (petsclib, ts, predictor, ctx))) end @for_petsc function TSAlpha2SetPredictor(petsclib::$UnionPetscLib, ts::AbstractTS, predictor::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -1146,7 +1146,7 @@ See also: `TS`, `TSALPHA2`, `TSAlpha2SetParams()`, `TSAlpha2GetParams()` $(_doc_external("TS/TSAlpha2SetRadius")) """ function TSAlpha2SetRadius(petsclib::PetscLibType, ts::AbstractTS, radius::Real) - error("TSAlpha2SetRadius: no generated method for these argument types") + throw(MethodError(TSAlpha2SetRadius, (petsclib, ts, radius))) end @for_petsc function TSAlpha2SetRadius(petsclib::$UnionPetscLib, ts::AbstractTS, radius::$PetscReal ) @@ -1184,7 +1184,7 @@ See also: `TS`, `TSALPHA`, `TSAlphaSetRadius()`, `TSAlphaSetParams()` $(_doc_external("TS/TSAlphaGetParams")) """ function TSAlphaGetParams(petsclib::PetscLibType, ts::AbstractTS) - error("TSAlphaGetParams: no generated method for these argument types") + throw(MethodError(TSAlphaGetParams, (petsclib, ts))) end @for_petsc function TSAlphaGetParams(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -1231,7 +1231,7 @@ See also: `TS`, `TSALPHA`, `TSAlphaSetRadius()`, `TSAlphaGetParams()` $(_doc_external("TS/TSAlphaSetParams")) """ function TSAlphaSetParams(petsclib::PetscLibType, ts::AbstractTS, alpha_m::Real, alpha_f::Real, gamma::Real) - error("TSAlphaSetParams: no generated method for these argument types") + throw(MethodError(TSAlphaSetParams, (petsclib, ts, alpha_m, alpha_f, gamma))) end @for_petsc function TSAlphaSetParams(petsclib::$UnionPetscLib, ts::AbstractTS, alpha_m::$PetscReal, alpha_f::$PetscReal, gamma::$PetscReal ) @@ -1269,7 +1269,7 @@ See also: `TS`, `TSALPHA`, `TSAlphaSetParams()`, `TSAlphaGetParams()` $(_doc_external("TS/TSAlphaSetRadius")) """ function TSAlphaSetRadius(petsclib::PetscLibType, ts::AbstractTS, radius::Real) - error("TSAlphaSetRadius: no generated method for these argument types") + throw(MethodError(TSAlphaSetRadius, (petsclib, ts, radius))) end @for_petsc function TSAlphaSetRadius(petsclib::$UnionPetscLib, ts::AbstractTS, radius::$PetscReal ) @@ -1304,7 +1304,7 @@ See also: `TS`, `TSGetOptionsPrefix()`, `TSSetOptionsPrefix()`, `TSSetFromOption $(_doc_external("TS/TSAppendOptionsPrefix")) """ function TSAppendOptionsPrefix(petsclib::PetscLibType, ts::AbstractTS, prefix::String) - error("TSAppendOptionsPrefix: no generated method for these argument types") + throw(MethodError(TSAppendOptionsPrefix, (petsclib, ts, prefix))) end @for_petsc function TSAppendOptionsPrefix(petsclib::$UnionPetscLib, ts::AbstractTS, prefix::String ) @@ -1340,7 +1340,7 @@ See also: `TSBDFSetOrder()`, `TS`, `TSBDF` $(_doc_external("TS/TSBDFGetOrder")) """ function TSBDFGetOrder(petsclib::PetscLibType, ts::AbstractTS) - error("TSBDFGetOrder: no generated method for these argument types") + throw(MethodError(TSBDFGetOrder, (petsclib, ts))) end @for_petsc function TSBDFGetOrder(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -1379,7 +1379,7 @@ See also: `TSBDFGetOrder()`, `TS`, `TSBDF` $(_doc_external("TS/TSBDFSetOrder")) """ function TSBDFSetOrder(petsclib::PetscLibType, ts::AbstractTS, order::Integer) - error("TSBDFSetOrder: no generated method for these argument types") + throw(MethodError(TSBDFSetOrder, (petsclib, ts, order))) end @for_petsc function TSBDFSetOrder(petsclib::$UnionPetscLib, ts::AbstractTS, order::$PetscInt ) @@ -1408,7 +1408,7 @@ See also: `PetscFinalize()`, `TSBASICSYMPLECTIC` $(_doc_external("TS/TSBasicSymplecticFinalizePackage")) """ function TSBasicSymplecticFinalizePackage(petsclib::PetscLibType) - error("TSBasicSymplecticFinalizePackage: no generated method for these argument types") + throw(MethodError(TSBasicSymplecticFinalizePackage, (petsclib, ))) end @for_petsc function TSBasicSymplecticFinalizePackage(petsclib::$UnionPetscLib) @@ -1441,7 +1441,7 @@ See also: `TSBASICSYMPLECTIC`, `TSBasicSymplecticType`, `TSBasicSymplecticSetTyp $(_doc_external("TS/TSBasicSymplecticGetType")) """ function TSBasicSymplecticGetType(petsclib::PetscLibType, ts::AbstractTS, bsymptype::TSBasicSymplecticType) - error("TSBasicSymplecticGetType: no generated method for these argument types") + throw(MethodError(TSBasicSymplecticGetType, (petsclib, ts, bsymptype))) end @for_petsc function TSBasicSymplecticGetType(petsclib::$UnionPetscLib, ts::AbstractTS, bsymptype::TSBasicSymplecticType ) @@ -1470,7 +1470,7 @@ See also: `PetscInitialize()`, `TSBASICSYMPLECTIC` $(_doc_external("TS/TSBasicSymplecticInitializePackage")) """ function TSBasicSymplecticInitializePackage(petsclib::PetscLibType) - error("TSBasicSymplecticInitializePackage: no generated method for these argument types") + throw(MethodError(TSBasicSymplecticInitializePackage, (petsclib, ))) end @for_petsc function TSBasicSymplecticInitializePackage(petsclib::$UnionPetscLib) @@ -1506,7 +1506,7 @@ See also: `TSBASICSYMPLECTIC` $(_doc_external("TS/TSBasicSymplecticRegister")) """ function TSBasicSymplecticRegister(petsclib::PetscLibType, name::String, order::Integer, s::Integer, c::AbstractVector{<:Number}, d::AbstractVector{<:Number}) - error("TSBasicSymplecticRegister: no generated method for these argument types") + throw(MethodError(TSBasicSymplecticRegister, (petsclib, name, order, s, c, d))) end @for_petsc function TSBasicSymplecticRegister(petsclib::$UnionPetscLib, name::String, order::$PetscInt, s::$PetscInt, c::Vector{$PetscReal}, d::Vector{$PetscReal} ) @@ -1536,7 +1536,7 @@ See also: `TSBASICSYMPLECTIC`, `TSBasicSymplecticRegisterDestroy()` $(_doc_external("TS/TSBasicSymplecticRegisterAll")) """ function TSBasicSymplecticRegisterAll(petsclib::PetscLibType) - error("TSBasicSymplecticRegisterAll: no generated method for these argument types") + throw(MethodError(TSBasicSymplecticRegisterAll, (petsclib, ))) end @for_petsc function TSBasicSymplecticRegisterAll(petsclib::$UnionPetscLib) @@ -1565,7 +1565,7 @@ See also: `TSBasicSymplecticRegister()`, `TSBasicSymplecticRegisterAll()`, `TSBA $(_doc_external("TS/TSBasicSymplecticRegisterDestroy")) """ function TSBasicSymplecticRegisterDestroy(petsclib::PetscLibType) - error("TSBasicSymplecticRegisterDestroy: no generated method for these argument types") + throw(MethodError(TSBasicSymplecticRegisterDestroy, (petsclib, ))) end @for_petsc function TSBasicSymplecticRegisterDestroy(petsclib::$UnionPetscLib) @@ -1601,7 +1601,7 @@ See also: `TSBASICSYMPLECTIC`, `TSBasicSymplecticType` $(_doc_external("TS/TSBasicSymplecticSetType")) """ function TSBasicSymplecticSetType(petsclib::PetscLibType, ts::AbstractTS, bsymptype::String) - error("TSBasicSymplecticSetType: no generated method for these argument types") + throw(MethodError(TSBasicSymplecticSetType, (petsclib, ts, bsymptype))) end @for_petsc function TSBasicSymplecticSetType(petsclib::$UnionPetscLib, ts::AbstractTS, bsymptype::String ) @@ -1637,7 +1637,7 @@ See also: `TS`, `SNES`, `TSCreate()`, `TSSetType()`, `TSSetUp()`, `TSDestroy()`, $(_doc_external("TS/TSClone")) """ function TSClone(petsclib::PetscLibType, tsin::AbstractTS) - error("TSClone: no generated method for these argument types") + throw(MethodError(TSClone, (petsclib, tsin))) end @for_petsc function TSClone(petsclib::$UnionPetscLib, tsin::AbstractTS ) @@ -1675,7 +1675,7 @@ See also: `TS`, `TSAdjointSolve()`, `TSSetCostIntegrand()` $(_doc_external("Sensitivity/TSComputeCostIntegrand")) """ function TSComputeCostIntegrand(petsclib::PetscLibType, ts::AbstractTS, t::Real, U::AbstractPetscVec, Q::AbstractPetscVec) - error("TSComputeCostIntegrand: no generated method for these argument types") + throw(MethodError(TSComputeCostIntegrand, (petsclib, ts, t, U, Q))) end @for_petsc function TSComputeCostIntegrand(petsclib::$UnionPetscLib, ts::AbstractTS, t::$PetscReal, U::AbstractPetscVec, Q::AbstractPetscVec ) @@ -1710,7 +1710,7 @@ See also: `TS`, `TSGetComputeInitialCondition()`, `TSSetComputeInitialCondition( $(_doc_external("TS/TSComputeExactError")) """ function TSComputeExactError(petsclib::PetscLibType, ts::AbstractTS, u::AbstractPetscVec, e::AbstractPetscVec) - error("TSComputeExactError: no generated method for these argument types") + throw(MethodError(TSComputeExactError, (petsclib, ts, u, e))) end @for_petsc function TSComputeExactError(petsclib::$UnionPetscLib, ts::AbstractTS, u::AbstractPetscVec, e::AbstractPetscVec ) @@ -1747,7 +1747,7 @@ See also: `TS`, `TSSetSolutionFunction()`, `TSSetRHSFunction()`, `TSComputeIFunc $(_doc_external("TS/TSComputeForcingFunction")) """ function TSComputeForcingFunction(petsclib::PetscLibType, ts::AbstractTS, t::Real, U::AbstractPetscVec) - error("TSComputeForcingFunction: no generated method for these argument types") + throw(MethodError(TSComputeForcingFunction, (petsclib, ts, t, U))) end @for_petsc function TSComputeForcingFunction(petsclib::$UnionPetscLib, ts::AbstractTS, t::$PetscReal, U::AbstractPetscVec ) @@ -1787,7 +1787,7 @@ See also: `TS`, `TSSetI2Function()`, `TSGetI2Function()` $(_doc_external("TS/TSComputeI2Function")) """ function TSComputeI2Function(petsclib::PetscLibType, ts::AbstractTS, t::Real, U::AbstractPetscVec, V::AbstractPetscVec, A::AbstractPetscVec, F::AbstractPetscVec) - error("TSComputeI2Function: no generated method for these argument types") + throw(MethodError(TSComputeI2Function, (petsclib, ts, t, U, V, A, F))) end @for_petsc function TSComputeI2Function(petsclib::$UnionPetscLib, ts::AbstractTS, t::$PetscReal, U::AbstractPetscVec, V::AbstractPetscVec, A::AbstractPetscVec, F::AbstractPetscVec ) @@ -1830,7 +1830,7 @@ See also: `TS`, `TSSetI2Jacobian()` $(_doc_external("TS/TSComputeI2Jacobian")) """ function TSComputeI2Jacobian(petsclib::PetscLibType, ts::AbstractTS, t::Real, U::AbstractPetscVec, V::AbstractPetscVec, A::AbstractPetscVec, shiftV::Real, shiftA::Real, J::AbstractPetscMat, P::AbstractPetscMat) - error("TSComputeI2Jacobian: no generated method for these argument types") + throw(MethodError(TSComputeI2Jacobian, (petsclib, ts, t, U, V, A, shiftV, shiftA, J, P))) end @for_petsc function TSComputeI2Jacobian(petsclib::$UnionPetscLib, ts::AbstractTS, t::$PetscReal, U::AbstractPetscVec, V::AbstractPetscVec, A::AbstractPetscVec, shiftV::$PetscReal, shiftA::$PetscReal, J::AbstractPetscMat, P::AbstractPetscMat ) @@ -1870,7 +1870,7 @@ See also: `TS`, `TSSetIFunction()`, `TSComputeRHSFunction()` $(_doc_external("TS/TSComputeIFunction")) """ function TSComputeIFunction(petsclib::PetscLibType, ts::AbstractTS, t::Real, U::AbstractPetscVec, Udot::AbstractPetscVec, Y::AbstractPetscVec, imex::PetscBool) - error("TSComputeIFunction: no generated method for these argument types") + throw(MethodError(TSComputeIFunction, (petsclib, ts, t, U, Udot, Y, imex))) end @for_petsc function TSComputeIFunction(petsclib::$UnionPetscLib, ts::AbstractTS, t::$PetscReal, U::AbstractPetscVec, Udot::AbstractPetscVec, Y::AbstractPetscVec, imex::PetscBool ) @@ -1910,7 +1910,7 @@ See also: `TS`, `TSSetIFunction()`, `TSSetIJacobian()`, `TSComputeIJacobianConst $(_doc_external("TS/TSComputeIFunctionLinear")) """ function TSComputeIFunctionLinear(petsclib::PetscLibType, ts::AbstractTS, t::Real, U::AbstractPetscVec, Udot::AbstractPetscVec, F::AbstractPetscVec, ctx::Ptr{Cvoid}) - error("TSComputeIFunctionLinear: no generated method for these argument types") + throw(MethodError(TSComputeIFunctionLinear, (petsclib, ts, t, U, Udot, F, ctx))) end @for_petsc function TSComputeIFunctionLinear(petsclib::$UnionPetscLib, ts::AbstractTS, t::$PetscReal, U::AbstractPetscVec, Udot::AbstractPetscVec, F::AbstractPetscVec, ctx::Ptr{Cvoid} ) @@ -1950,7 +1950,7 @@ See also: `TSSetIHessianProduct()` $(_doc_external("Sensitivity/TSComputeIHessianProductFunctionPP")) """ function TSComputeIHessianProductFunctionPP(petsclib::PetscLibType, ts::AbstractTS, t::Real, U::AbstractPetscVec, Vl::Vector{<:AbstractPetscVec}, Vr::AbstractPetscVec, VHV::Vector{<:AbstractPetscVec}) - error("TSComputeIHessianProductFunctionPP: no generated method for these argument types") + throw(MethodError(TSComputeIHessianProductFunctionPP, (petsclib, ts, t, U, Vl, Vr, VHV))) end @for_petsc function TSComputeIHessianProductFunctionPP(petsclib::$UnionPetscLib, ts::AbstractTS, t::$PetscReal, U::AbstractPetscVec, Vl::Vector{<:AbstractPetscVec}, Vr::AbstractPetscVec, VHV::Vector{<:AbstractPetscVec} ) @@ -1990,7 +1990,7 @@ See also: `TSSetIHessianProduct()` $(_doc_external("Sensitivity/TSComputeIHessianProductFunctionPU")) """ function TSComputeIHessianProductFunctionPU(petsclib::PetscLibType, ts::AbstractTS, t::Real, U::AbstractPetscVec, Vl::Vector{<:AbstractPetscVec}, Vr::AbstractPetscVec, VHV::Vector{<:AbstractPetscVec}) - error("TSComputeIHessianProductFunctionPU: no generated method for these argument types") + throw(MethodError(TSComputeIHessianProductFunctionPU, (petsclib, ts, t, U, Vl, Vr, VHV))) end @for_petsc function TSComputeIHessianProductFunctionPU(petsclib::$UnionPetscLib, ts::AbstractTS, t::$PetscReal, U::AbstractPetscVec, Vl::Vector{<:AbstractPetscVec}, Vr::AbstractPetscVec, VHV::Vector{<:AbstractPetscVec} ) @@ -2030,7 +2030,7 @@ See also: `TSSetIHessianProduct()` $(_doc_external("Sensitivity/TSComputeIHessianProductFunctionUP")) """ function TSComputeIHessianProductFunctionUP(petsclib::PetscLibType, ts::AbstractTS, t::Real, U::AbstractPetscVec, Vl::Vector{<:AbstractPetscVec}, Vr::AbstractPetscVec, VHV::Vector{<:AbstractPetscVec}) - error("TSComputeIHessianProductFunctionUP: no generated method for these argument types") + throw(MethodError(TSComputeIHessianProductFunctionUP, (petsclib, ts, t, U, Vl, Vr, VHV))) end @for_petsc function TSComputeIHessianProductFunctionUP(petsclib::$UnionPetscLib, ts::AbstractTS, t::$PetscReal, U::AbstractPetscVec, Vl::Vector{<:AbstractPetscVec}, Vr::AbstractPetscVec, VHV::Vector{<:AbstractPetscVec} ) @@ -2070,7 +2070,7 @@ See also: `TSSetIHessianProduct()` $(_doc_external("Sensitivity/TSComputeIHessianProductFunctionUU")) """ function TSComputeIHessianProductFunctionUU(petsclib::PetscLibType, ts::AbstractTS, t::Real, U::AbstractPetscVec, Vl::Vector{<:AbstractPetscVec}, Vr::AbstractPetscVec, VHV::Vector{<:AbstractPetscVec}) - error("TSComputeIHessianProductFunctionUU: no generated method for these argument types") + throw(MethodError(TSComputeIHessianProductFunctionUU, (petsclib, ts, t, U, Vl, Vr, VHV))) end @for_petsc function TSComputeIHessianProductFunctionUU(petsclib::$UnionPetscLib, ts::AbstractTS, t::$PetscReal, U::AbstractPetscVec, Vl::Vector{<:AbstractPetscVec}, Vr::AbstractPetscVec, VHV::Vector{<:AbstractPetscVec} ) @@ -2112,7 +2112,7 @@ See also: `TS`, `TSSetIJacobian()` $(_doc_external("TS/TSComputeIJacobian")) """ function TSComputeIJacobian(petsclib::PetscLibType, ts::AbstractTS, t::Real, U::AbstractPetscVec, Udot::AbstractPetscVec, shift::Real, A::AbstractPetscMat, B::AbstractPetscMat, imex::PetscBool) - error("TSComputeIJacobian: no generated method for these argument types") + throw(MethodError(TSComputeIJacobian, (petsclib, ts, t, U, Udot, shift, A, B, imex))) end @for_petsc function TSComputeIJacobian(petsclib::$UnionPetscLib, ts::AbstractTS, t::$PetscReal, U::AbstractPetscVec, Udot::AbstractPetscVec, shift::$PetscReal, A::AbstractPetscMat, B::AbstractPetscMat, imex::PetscBool ) @@ -2154,7 +2154,7 @@ See also: `TS`, `TSROSW`, `TSARKIMEX`, `TSSetIFunction()`, `TSSetIJacobian()`, ` $(_doc_external("TS/TSComputeIJacobianConstant")) """ function TSComputeIJacobianConstant(petsclib::PetscLibType, ts::AbstractTS, t::Real, U::AbstractPetscVec, Udot::AbstractPetscVec, shift::Real, A::AbstractPetscMat, B::AbstractPetscMat, ctx::Ptr{Cvoid}) - error("TSComputeIJacobianConstant: no generated method for these argument types") + throw(MethodError(TSComputeIJacobianConstant, (petsclib, ts, t, U, Udot, shift, A, B, ctx))) end @for_petsc function TSComputeIJacobianConstant(petsclib::$UnionPetscLib, ts::AbstractTS, t::$PetscReal, U::AbstractPetscVec, Udot::AbstractPetscVec, shift::$PetscReal, A::AbstractPetscMat, B::AbstractPetscMat, ctx::Ptr{Cvoid} ) @@ -2196,7 +2196,7 @@ See also: `TS`, `TSSetIJacobian()`, `MatFDColoringCreate()`, `MatFDColoringSetFu $(_doc_external("TS/TSComputeIJacobianDefaultColor")) """ function TSComputeIJacobianDefaultColor(petsclib::PetscLibType, ts::AbstractTS, t::Real, U::AbstractPetscVec, Udot::AbstractPetscVec, shift::Real, J::AbstractPetscMat, B::AbstractPetscMat, ctx::Ptr{Cvoid}) - error("TSComputeIJacobianDefaultColor: no generated method for these argument types") + throw(MethodError(TSComputeIJacobianDefaultColor, (petsclib, ts, t, U, Udot, shift, J, B, ctx))) end @for_petsc function TSComputeIJacobianDefaultColor(petsclib::$UnionPetscLib, ts::AbstractTS, t::$PetscReal, U::AbstractPetscVec, Udot::AbstractPetscVec, shift::$PetscReal, J::AbstractPetscMat, B::AbstractPetscMat, ctx::Ptr{Cvoid} ) @@ -2237,7 +2237,7 @@ See also: `TS`, `TSSetIJacobianP()` $(_doc_external("Sensitivity/TSComputeIJacobianP")) """ function TSComputeIJacobianP(petsclib::PetscLibType, ts::AbstractTS, t::Real, U::AbstractPetscVec, Udot::AbstractPetscVec, shift::Real, Amat::AbstractPetscMat, imex::PetscBool) - error("TSComputeIJacobianP: no generated method for these argument types") + throw(MethodError(TSComputeIJacobianP, (petsclib, ts, t, U, Udot, shift, Amat, imex))) end @for_petsc function TSComputeIJacobianP(petsclib::$UnionPetscLib, ts::AbstractTS, t::$PetscReal, U::AbstractPetscVec, Udot::AbstractPetscVec, shift::$PetscReal, Amat::AbstractPetscMat, imex::PetscBool ) @@ -2271,7 +2271,7 @@ See also: `TS`, `TSGetComputeInitialCondition()`, `TSSetComputeInitialCondition( $(_doc_external("TS/TSComputeInitialCondition")) """ function TSComputeInitialCondition(petsclib::PetscLibType, ts::AbstractTS, u::AbstractPetscVec) - error("TSComputeInitialCondition: no generated method for these argument types") + throw(MethodError(TSComputeInitialCondition, (petsclib, ts, u))) end @for_petsc function TSComputeInitialCondition(petsclib::$UnionPetscLib, ts::AbstractTS, u::AbstractPetscVec ) @@ -2310,7 +2310,7 @@ See also: `TS`, `TSSetRHSFunction()`, `TSComputeIFunction()` $(_doc_external("TS/TSComputeLinearStability")) """ function TSComputeLinearStability(petsclib::PetscLibType, ts::AbstractTS, xr::Real, xi::Real) - error("TSComputeLinearStability: no generated method for these argument types") + throw(MethodError(TSComputeLinearStability, (petsclib, ts, xr, xi))) end @for_petsc function TSComputeLinearStability(petsclib::$UnionPetscLib, ts::AbstractTS, xr::$PetscReal, xi::$PetscReal ) @@ -2352,7 +2352,7 @@ See also: `TS`, `TSSetRHSFunction()`, `TSComputeIFunction()` $(_doc_external("TS/TSComputeRHSFunction")) """ function TSComputeRHSFunction(petsclib::PetscLibType, ts::AbstractTS, t::Real, U::AbstractPetscVec, y::AbstractPetscVec) - error("TSComputeRHSFunction: no generated method for these argument types") + throw(MethodError(TSComputeRHSFunction, (petsclib, ts, t, U, y))) end @for_petsc function TSComputeRHSFunction(petsclib::$UnionPetscLib, ts::AbstractTS, t::$PetscReal, U::AbstractPetscVec, y::AbstractPetscVec ) @@ -2391,7 +2391,7 @@ See also: `TS`, `TSSetRHSFunction()`, `TSSetRHSJacobian()`, `TSComputeRHSJacobia $(_doc_external("TS/TSComputeRHSFunctionLinear")) """ function TSComputeRHSFunctionLinear(petsclib::PetscLibType, ts::AbstractTS, t::Real, U::AbstractPetscVec, F::AbstractPetscVec, ctx::Ptr{Cvoid}) - error("TSComputeRHSFunctionLinear: no generated method for these argument types") + throw(MethodError(TSComputeRHSFunctionLinear, (petsclib, ts, t, U, F, ctx))) end @for_petsc function TSComputeRHSFunctionLinear(petsclib::$UnionPetscLib, ts::AbstractTS, t::$PetscReal, U::AbstractPetscVec, F::AbstractPetscVec, ctx::Ptr{Cvoid} ) @@ -2431,7 +2431,7 @@ See also: `TSSetRHSHessianProduct()` $(_doc_external("Sensitivity/TSComputeRHSHessianProductFunctionPP")) """ function TSComputeRHSHessianProductFunctionPP(petsclib::PetscLibType, ts::AbstractTS, t::Real, U::AbstractPetscVec, Vl::Vector{<:AbstractPetscVec}, Vr::AbstractPetscVec, VHV::Vector{<:AbstractPetscVec}) - error("TSComputeRHSHessianProductFunctionPP: no generated method for these argument types") + throw(MethodError(TSComputeRHSHessianProductFunctionPP, (petsclib, ts, t, U, Vl, Vr, VHV))) end @for_petsc function TSComputeRHSHessianProductFunctionPP(petsclib::$UnionPetscLib, ts::AbstractTS, t::$PetscReal, U::AbstractPetscVec, Vl::Vector{<:AbstractPetscVec}, Vr::AbstractPetscVec, VHV::Vector{<:AbstractPetscVec} ) @@ -2471,7 +2471,7 @@ See also: `TSSetRHSHessianProduct()` $(_doc_external("Sensitivity/TSComputeRHSHessianProductFunctionPU")) """ function TSComputeRHSHessianProductFunctionPU(petsclib::PetscLibType, ts::AbstractTS, t::Real, U::AbstractPetscVec, Vl::Vector{<:AbstractPetscVec}, Vr::AbstractPetscVec, VHV::Vector{<:AbstractPetscVec}) - error("TSComputeRHSHessianProductFunctionPU: no generated method for these argument types") + throw(MethodError(TSComputeRHSHessianProductFunctionPU, (petsclib, ts, t, U, Vl, Vr, VHV))) end @for_petsc function TSComputeRHSHessianProductFunctionPU(petsclib::$UnionPetscLib, ts::AbstractTS, t::$PetscReal, U::AbstractPetscVec, Vl::Vector{<:AbstractPetscVec}, Vr::AbstractPetscVec, VHV::Vector{<:AbstractPetscVec} ) @@ -2511,7 +2511,7 @@ See also: `TS`, `TSSetRHSHessianProduct()` $(_doc_external("Sensitivity/TSComputeRHSHessianProductFunctionUP")) """ function TSComputeRHSHessianProductFunctionUP(petsclib::PetscLibType, ts::AbstractTS, t::Real, U::AbstractPetscVec, Vl::Vector{<:AbstractPetscVec}, Vr::AbstractPetscVec, VHV::Vector{<:AbstractPetscVec}) - error("TSComputeRHSHessianProductFunctionUP: no generated method for these argument types") + throw(MethodError(TSComputeRHSHessianProductFunctionUP, (petsclib, ts, t, U, Vl, Vr, VHV))) end @for_petsc function TSComputeRHSHessianProductFunctionUP(petsclib::$UnionPetscLib, ts::AbstractTS, t::$PetscReal, U::AbstractPetscVec, Vl::Vector{<:AbstractPetscVec}, Vr::AbstractPetscVec, VHV::Vector{<:AbstractPetscVec} ) @@ -2551,7 +2551,7 @@ See also: `TS`, `TSSetRHSHessianProduct()` $(_doc_external("Sensitivity/TSComputeRHSHessianProductFunctionUU")) """ function TSComputeRHSHessianProductFunctionUU(petsclib::PetscLibType, ts::AbstractTS, t::Real, U::AbstractPetscVec, Vl::Vector{<:AbstractPetscVec}, Vr::AbstractPetscVec, VHV::Vector{<:AbstractPetscVec}) - error("TSComputeRHSHessianProductFunctionUU: no generated method for these argument types") + throw(MethodError(TSComputeRHSHessianProductFunctionUU, (petsclib, ts, t, U, Vl, Vr, VHV))) end @for_petsc function TSComputeRHSHessianProductFunctionUU(petsclib::$UnionPetscLib, ts::AbstractTS, t::$PetscReal, U::AbstractPetscVec, Vl::Vector{<:AbstractPetscVec}, Vr::AbstractPetscVec, VHV::Vector{<:AbstractPetscVec} ) @@ -2591,7 +2591,7 @@ See also: `TS`, `TSSetRHSJacobian()`, `KSPSetOperators()` $(_doc_external("TS/TSComputeRHSJacobian")) """ function TSComputeRHSJacobian(petsclib::PetscLibType, ts::AbstractTS, t::Real, U::AbstractPetscVec, A::AbstractPetscMat, B::AbstractPetscMat) - error("TSComputeRHSJacobian: no generated method for these argument types") + throw(MethodError(TSComputeRHSJacobian, (petsclib, ts, t, U, A, B))) end @for_petsc function TSComputeRHSJacobian(petsclib::$UnionPetscLib, ts::AbstractTS, t::$PetscReal, U::AbstractPetscVec, A::AbstractPetscMat, B::AbstractPetscMat ) @@ -2631,7 +2631,7 @@ See also: `TS`, `TSSetRHSFunction()`, `TSSetRHSJacobian()`, `TSComputeRHSFunctio $(_doc_external("TS/TSComputeRHSJacobianConstant")) """ function TSComputeRHSJacobianConstant(petsclib::PetscLibType, ts::AbstractTS, t::Real, U::AbstractPetscVec, A::AbstractPetscMat, B::AbstractPetscMat, ctx::Ptr{Cvoid}) - error("TSComputeRHSJacobianConstant: no generated method for these argument types") + throw(MethodError(TSComputeRHSJacobianConstant, (petsclib, ts, t, U, A, B, ctx))) end @for_petsc function TSComputeRHSJacobianConstant(petsclib::$UnionPetscLib, ts::AbstractTS, t::$PetscReal, U::AbstractPetscVec, A::AbstractPetscMat, B::AbstractPetscMat, ctx::Ptr{Cvoid} ) @@ -2669,7 +2669,7 @@ See also: `TSSetRHSJacobianP()`, `TS` $(_doc_external("Sensitivity/TSComputeRHSJacobianP")) """ function TSComputeRHSJacobianP(petsclib::PetscLibType, ts::AbstractTS, t::Real, U::AbstractPetscVec, Amat::AbstractPetscMat) - error("TSComputeRHSJacobianP: no generated method for these argument types") + throw(MethodError(TSComputeRHSJacobianP, (petsclib, ts, t, U, Amat))) end @for_petsc function TSComputeRHSJacobianP(petsclib::$UnionPetscLib, ts::AbstractTS, t::$PetscReal, U::AbstractPetscVec, Amat::AbstractPetscMat ) @@ -2707,7 +2707,7 @@ See also: `SNES`, `TS`, `SNESSetJacobian()`, `TSSetRHSJacobian()`, `TSSetIJacobi $(_doc_external("Sensitivity/TSComputeSNESJacobian")) """ function TSComputeSNESJacobian(petsclib::PetscLibType, ts::AbstractTS, x::AbstractPetscVec, J::AbstractPetscMat, Jpre::AbstractPetscMat) - error("TSComputeSNESJacobian: no generated method for these argument types") + throw(MethodError(TSComputeSNESJacobian, (petsclib, ts, x, J, Jpre))) end @for_petsc function TSComputeSNESJacobian(petsclib::$UnionPetscLib, ts::AbstractTS, x::AbstractPetscVec, J::AbstractPetscMat, Jpre::AbstractPetscMat ) @@ -2744,7 +2744,7 @@ See also: `TS`, `TSSetSolutionFunction()`, `TSSetRHSFunction()`, `TSComputeIFunc $(_doc_external("TS/TSComputeSolutionFunction")) """ function TSComputeSolutionFunction(petsclib::PetscLibType, ts::AbstractTS, t::Real, U::AbstractPetscVec) - error("TSComputeSolutionFunction: no generated method for these argument types") + throw(MethodError(TSComputeSolutionFunction, (petsclib, ts, t, U))) end @for_petsc function TSComputeSolutionFunction(petsclib::$UnionPetscLib, ts::AbstractTS, t::$PetscReal, U::AbstractPetscVec ) @@ -2781,7 +2781,7 @@ See also: `TS`, `TSBDF`, `DMTSSetTransientVariable()`, `TSComputeIFunction()`, ` $(_doc_external("TS/TSComputeTransientVariable")) """ function TSComputeTransientVariable(petsclib::PetscLibType, ts::AbstractTS, U::AbstractPetscVec, C::AbstractPetscVec) - error("TSComputeTransientVariable: no generated method for these argument types") + throw(MethodError(TSComputeTransientVariable, (petsclib, ts, U, C))) end @for_petsc function TSComputeTransientVariable(petsclib::$UnionPetscLib, ts::AbstractTS, U::AbstractPetscVec, C::AbstractPetscVec ) @@ -2818,7 +2818,7 @@ See also: `TS`, `SNES`, `TSSetType()`, `TSSetUp()`, `TSDestroy()`, `TSSetProblem $(_doc_external("TS/TSCreate")) """ function TSCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("TSCreate: no generated method for these argument types") + throw(MethodError(TSCreate, (petsclib, comm))) end @for_petsc function TSCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -2855,7 +2855,7 @@ See also: `TSGetQuadratureTS()` $(_doc_external("Sensitivity/TSCreateQuadratureTS")) """ function TSCreateQuadratureTS(petsclib::PetscLibType, ts::AbstractTS, fwd::PetscBool) - error("TSCreateQuadratureTS: no generated method for these argument types") + throw(MethodError(TSCreateQuadratureTS, (petsclib, ts, fwd))) end @for_petsc function TSCreateQuadratureTS(petsclib::$UnionPetscLib, ts::AbstractTS, fwd::PetscBool ) @@ -2893,7 +2893,7 @@ See also: `TSDIRKSetType()` $(_doc_external("TS/TSDIRKGetType")) """ function TSDIRKGetType(petsclib::PetscLibType, ts::AbstractTS) - error("TSDIRKGetType: no generated method for these argument types") + throw(MethodError(TSDIRKGetType, (petsclib, ts))) end @for_petsc function TSDIRKGetType(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -2936,7 +2936,7 @@ See also: `TSDIRK`, `TSType`, `TS` $(_doc_external("TS/TSDIRKRegister")) """ function TSDIRKRegister(petsclib::PetscLibType, name::String, order::Integer, s::Integer, At::AbstractVector{<:Number}, bt::AbstractVector{<:Number}, ct::AbstractVector{<:Number}, bembedt::AbstractVector{<:Number}, pinterp::Integer, binterpt::AbstractVector{<:Number}) - error("TSDIRKRegister: no generated method for these argument types") + throw(MethodError(TSDIRKRegister, (petsclib, name, order, s, At, bt, ct, bembedt, pinterp, binterpt))) end @for_petsc function TSDIRKRegister(petsclib::$UnionPetscLib, name::String, order::$PetscInt, s::$PetscInt, At::Vector{$PetscReal}, bt::Vector{$PetscReal}, ct::Vector{$PetscReal}, bembedt::Vector{$PetscReal}, pinterp::$PetscInt, binterpt::Vector{$PetscReal} ) @@ -2973,7 +2973,7 @@ See also: `TSDIRKGetType()`, `TSDIRK`, `TSDIRKType` $(_doc_external("TS/TSDIRKSetType")) """ function TSDIRKSetType(petsclib::PetscLibType, ts::AbstractTS, dirktype::String) - error("TSDIRKSetType: no generated method for these argument types") + throw(MethodError(TSDIRKSetType, (petsclib, ts, dirktype))) end @for_petsc function TSDIRKSetType(petsclib::$UnionPetscLib, ts::AbstractTS, dirktype::String ) @@ -3014,7 +3014,7 @@ See also: `TS`, `TSMonitorSet()`, `TSMonitorDefault()`, `DMSWARM` $(_doc_external("TS/TSDMSwarmMonitorMoments")) """ function TSDMSwarmMonitorMoments(petsclib::PetscLibType, ts::AbstractTS, step::Integer, t::Real, U::AbstractPetscVec, vf::Vector{PetscViewerAndFormat}) - error("TSDMSwarmMonitorMoments: no generated method for these argument types") + throw(MethodError(TSDMSwarmMonitorMoments, (petsclib, ts, step, t, U, vf))) end @for_petsc function TSDMSwarmMonitorMoments(petsclib::$UnionPetscLib, ts::AbstractTS, step::$PetscInt, t::$PetscReal, U::AbstractPetscVec, vf::Vector{PetscViewerAndFormat} ) @@ -3048,7 +3048,7 @@ See also: `TS`, `TSCreate()`, `TSSetUp()`, `TSSolve()` $(_doc_external("TS/TSDestroy")) """ function TSDestroy(petsclib::PetscLibType, ts::AbstractTS) - error("TSDestroy: no generated method for these argument types") + throw(MethodError(TSDestroy, (petsclib, ts))) end @for_petsc function TSDestroy(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -3111,7 +3111,7 @@ See also: `TS`, `TSDISCGRAD`, `TSDiscGradSetFormulation()` $(_doc_external("TS/TSDiscGradGetFormulation")) """ function TSDiscGradGetFormulation(petsclib::PetscLibType, ts::AbstractTS, noname::Ptr{Cvoid}) - error("TSDiscGradGetFormulation: no generated method for these argument types") + throw(MethodError(TSDiscGradGetFormulation, (petsclib, ts, noname))) end @for_petsc function TSDiscGradGetFormulation(petsclib::$UnionPetscLib, ts::AbstractTS, noname::Ptr{Cvoid} ) @@ -3147,7 +3147,7 @@ See also: `TSDISCGRAD`, `TSDiscGradSetType()` $(_doc_external("TS/TSDiscGradGetType")) """ function TSDiscGradGetType(petsclib::PetscLibType, ts::AbstractTS) - error("TSDiscGradGetType: no generated method for these argument types") + throw(MethodError(TSDiscGradGetType, (petsclib, ts))) end @for_petsc function TSDiscGradGetType(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -3208,7 +3208,7 @@ See also: `TSDISCGRAD`, `TSDiscGradGetFormulation()` $(_doc_external("TS/TSDiscGradSetFormulation")) """ function TSDiscGradSetFormulation(petsclib::PetscLibType, ts::AbstractTS, Sfunc::external, Ffunc::external, Gfunc::external, ctx::Ptr{Cvoid}) - error("TSDiscGradSetFormulation: no generated method for these argument types") + throw(MethodError(TSDiscGradSetFormulation, (petsclib, ts, Sfunc, Ffunc, Gfunc, ctx))) end @for_petsc function TSDiscGradSetFormulation(petsclib::$UnionPetscLib, ts::AbstractTS, Sfunc::external, Ffunc::external, Gfunc::external, ctx::Ptr{Cvoid} ) @@ -3245,7 +3245,7 @@ See also: `TSDISCGRAD`, `TSDGType` $(_doc_external("TS/TSDiscGradSetType")) """ function TSDiscGradSetType(petsclib::PetscLibType, ts::AbstractTS, dgtype::TSDGType) - error("TSDiscGradSetType: no generated method for these argument types") + throw(MethodError(TSDiscGradSetType, (petsclib, ts, dgtype))) end @for_petsc function TSDiscGradSetType(petsclib::$UnionPetscLib, ts::AbstractTS, dgtype::TSDGType ) @@ -3279,7 +3279,7 @@ See also: `TSEIMEXSetRowCol()`, `TSEIMEXSetOrdAdapt()`, `TSEIMEX` $(_doc_external("TS/TSEIMEXSetMaxRows")) """ function TSEIMEXSetMaxRows(petsclib::PetscLibType, ts::AbstractTS, nrows::Integer) - error("TSEIMEXSetMaxRows: no generated method for these argument types") + throw(MethodError(TSEIMEXSetMaxRows, (petsclib, ts, nrows))) end @for_petsc function TSEIMEXSetMaxRows(petsclib::$UnionPetscLib, ts::AbstractTS, nrows::$PetscInt ) @@ -3313,7 +3313,7 @@ See also: `TSEIMEXSetRowCol()`, `TSEIMEX` $(_doc_external("TS/TSEIMEXSetOrdAdapt")) """ function TSEIMEXSetOrdAdapt(petsclib::PetscLibType, ts::AbstractTS, flg::PetscBool) - error("TSEIMEXSetOrdAdapt: no generated method for these argument types") + throw(MethodError(TSEIMEXSetOrdAdapt, (petsclib, ts, flg))) end @for_petsc function TSEIMEXSetOrdAdapt(petsclib::$UnionPetscLib, ts::AbstractTS, flg::PetscBool ) @@ -3348,7 +3348,7 @@ See also: `TSEIMEXSetMaxRows()`, `TSEIMEXSetOrdAdapt()`, `TSEIMEX` $(_doc_external("TS/TSEIMEXSetRowCol")) """ function TSEIMEXSetRowCol(petsclib::PetscLibType, ts::AbstractTS, row::Integer, col::Integer) - error("TSEIMEXSetRowCol: no generated method for these argument types") + throw(MethodError(TSEIMEXSetRowCol, (petsclib, ts, row, col))) end @for_petsc function TSEIMEXSetRowCol(petsclib::$UnionPetscLib, ts::AbstractTS, row::$PetscInt, col::$PetscInt ) @@ -3393,7 +3393,7 @@ See also: `TS`, `VecErrorWeightedNorms()`, `TSErrorWeightedNorm()` $(_doc_external("TS/TSErrorWeightedENorm")) """ function TSErrorWeightedENorm(petsclib::PetscLibType, ts::AbstractTS, E::AbstractPetscVec, U::AbstractPetscVec, Y::AbstractPetscVec, wnormtype::NormType) - error("TSErrorWeightedENorm: no generated method for these argument types") + throw(MethodError(TSErrorWeightedENorm, (petsclib, ts, E, U, Y, wnormtype))) end @for_petsc function TSErrorWeightedENorm(petsclib::$UnionPetscLib, ts::AbstractTS, E::AbstractPetscVec, U::AbstractPetscVec, Y::AbstractPetscVec, wnormtype::NormType ) @@ -3443,7 +3443,7 @@ See also: `TS`, `VecErrorWeightedNorms()`, `TSErrorWeightedENorm()` $(_doc_external("TS/TSErrorWeightedNorm")) """ function TSErrorWeightedNorm(petsclib::PetscLibType, ts::AbstractTS, U::AbstractPetscVec, Y::AbstractPetscVec, wnormtype::NormType) - error("TSErrorWeightedNorm: no generated method for these argument types") + throw(MethodError(TSErrorWeightedNorm, (petsclib, ts, U, Y, wnormtype))) end @for_petsc function TSErrorWeightedNorm(petsclib::$UnionPetscLib, ts::AbstractTS, U::AbstractPetscVec, Y::AbstractPetscVec, wnormtype::NormType ) @@ -3487,7 +3487,7 @@ See also: `TS`, `TSStep()`, `TSAdapt` $(_doc_external("TS/TSEvaluateStep")) """ function TSEvaluateStep(petsclib::PetscLibType, ts::AbstractTS, order::Integer, U::AbstractPetscVec) - error("TSEvaluateStep: no generated method for these argument types") + throw(MethodError(TSEvaluateStep, (petsclib, ts, order, U))) end @for_petsc function TSEvaluateStep(petsclib::$UnionPetscLib, ts::AbstractTS, order::$PetscInt, U::AbstractPetscVec ) @@ -3531,7 +3531,7 @@ See also: `TS`, `TSStep()`, `TSAdapt`, `TSErrorWeightedNorm()` $(_doc_external("TS/TSEvaluateWLTE")) """ function TSEvaluateWLTE(petsclib::PetscLibType, ts::AbstractTS, wnormtype::NormType) - error("TSEvaluateWLTE: no generated method for these argument types") + throw(MethodError(TSEvaluateWLTE, (petsclib, ts, wnormtype))) end @for_petsc function TSEvaluateWLTE(petsclib::$UnionPetscLib, ts::AbstractTS, wnormtype::NormType ) @@ -3564,7 +3564,7 @@ See also: `TS`, `PetscFinalize()`, `TSInitializePackage()` $(_doc_external("TS/TSFinalizePackage")) """ function TSFinalizePackage(petsclib::PetscLibType) - error("TSFinalizePackage: no generated method for these argument types") + throw(MethodError(TSFinalizePackage, (petsclib, ))) end @for_petsc function TSFinalizePackage(petsclib::$UnionPetscLib) @@ -3596,7 +3596,7 @@ See also: `TS`, `TSSolve()`, `TSAdjointCostIntegral()` $(_doc_external("Sensitivity/TSForwardCostIntegral")) """ function TSForwardCostIntegral(petsclib::PetscLibType, ts::AbstractTS) - error("TSForwardCostIntegral: no generated method for these argument types") + throw(MethodError(TSForwardCostIntegral, (petsclib, ts))) end @for_petsc function TSForwardCostIntegral(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -3631,7 +3631,7 @@ See also: `TSForwardSetSensitivities()`, `TSForwardSetIntegralGradients()`, `TSF $(_doc_external("Sensitivity/TSForwardGetSensitivities")) """ function TSForwardGetSensitivities(petsclib::PetscLibType, ts::AbstractTS) - error("TSForwardGetSensitivities: no generated method for these argument types") + throw(MethodError(TSForwardGetSensitivities, (petsclib, ts))) end @for_petsc function TSForwardGetSensitivities(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -3670,7 +3670,7 @@ See also: `TS` $(_doc_external("Sensitivity/TSForwardGetStages")) """ function TSForwardGetStages(petsclib::PetscLibType, ts::AbstractTS) - error("TSForwardGetStages: no generated method for these argument types") + throw(MethodError(TSForwardGetStages, (petsclib, ts))) end @for_petsc function TSForwardGetStages(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -3707,7 +3707,7 @@ See also: `TSCreate()`, `TSDestroy()`, `TSForwardSetUp()` $(_doc_external("Sensitivity/TSForwardReset")) """ function TSForwardReset(petsclib::PetscLibType, ts::AbstractTS) - error("TSForwardReset: no generated method for these argument types") + throw(MethodError(TSForwardReset, (petsclib, ts))) end @for_petsc function TSForwardReset(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -3741,7 +3741,7 @@ See also: `TS`, `TSForwardSetSensitivities()` $(_doc_external("Sensitivity/TSForwardSetInitialSensitivities")) """ function TSForwardSetInitialSensitivities(petsclib::PetscLibType, ts::AbstractTS, didp::AbstractPetscMat) - error("TSForwardSetInitialSensitivities: no generated method for these argument types") + throw(MethodError(TSForwardSetInitialSensitivities, (petsclib, ts, didp))) end @for_petsc function TSForwardSetInitialSensitivities(petsclib::$UnionPetscLib, ts::AbstractTS, didp::AbstractPetscMat ) @@ -3776,7 +3776,7 @@ See also: `TSForwardGetSensitivities()`, `TSForwardSetIntegralGradients()`, `TSF $(_doc_external("Sensitivity/TSForwardSetSensitivities")) """ function TSForwardSetSensitivities(petsclib::PetscLibType, ts::AbstractTS, nump::Integer, Smat::AbstractPetscMat) - error("TSForwardSetSensitivities: no generated method for these argument types") + throw(MethodError(TSForwardSetSensitivities, (petsclib, ts, nump, Smat))) end @for_petsc function TSForwardSetSensitivities(petsclib::$UnionPetscLib, ts::AbstractTS, nump::$PetscInt, Smat::AbstractPetscMat ) @@ -3810,7 +3810,7 @@ See also: `TS`, `TSCreate()`, `TSDestroy()`, `TSSetUp()` $(_doc_external("Sensitivity/TSForwardSetUp")) """ function TSForwardSetUp(petsclib::PetscLibType, ts::AbstractTS) - error("TSForwardSetUp: no generated method for these argument types") + throw(MethodError(TSForwardSetUp, (petsclib, ts))) end @for_petsc function TSForwardSetUp(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -3843,7 +3843,7 @@ See also: `TSForwardSetSensitivities()`, `TSForwardGetSensitivities()`, `TSForwa $(_doc_external("Sensitivity/TSForwardStep")) """ function TSForwardStep(petsclib::PetscLibType, ts::AbstractTS) - error("TSForwardStep: no generated method for these argument types") + throw(MethodError(TSForwardStep, (petsclib, ts))) end @for_petsc function TSForwardStep(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -3881,7 +3881,7 @@ See also: `TS`, `TSSetFunctionDomainError()` $(_doc_external("TS/TSFunctionDomainError")) """ function TSFunctionDomainError(petsclib::PetscLibType, ts::AbstractTS, stagetime::Real, Y::AbstractPetscVec) - error("TSFunctionDomainError: no generated method for these argument types") + throw(MethodError(TSFunctionDomainError, (petsclib, ts, stagetime, Y))) end @for_petsc function TSFunctionDomainError(petsclib::$UnionPetscLib, ts::AbstractTS, stagetime::$PetscReal, Y::AbstractPetscVec ) @@ -3912,7 +3912,7 @@ See also: `PetscFinalize()` $(_doc_external("TS/TSGLEEFinalizePackage")) """ function TSGLEEFinalizePackage(petsclib::PetscLibType) - error("TSGLEEFinalizePackage: no generated method for these argument types") + throw(MethodError(TSGLEEFinalizePackage, (petsclib, ))) end @for_petsc function TSGLEEFinalizePackage(petsclib::$UnionPetscLib) @@ -3947,7 +3947,7 @@ See also: `TSGLEE`, `TSGLEESetType()` $(_doc_external("TS/TSGLEEGetType")) """ function TSGLEEGetType(petsclib::PetscLibType, ts::AbstractTS) - error("TSGLEEGetType: no generated method for these argument types") + throw(MethodError(TSGLEEGetType, (petsclib, ts))) end @for_petsc function TSGLEEGetType(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -3978,7 +3978,7 @@ See also: `PetscInitialize()` $(_doc_external("TS/TSGLEEInitializePackage")) """ function TSGLEEInitializePackage(petsclib::PetscLibType) - error("TSGLEEInitializePackage: no generated method for these argument types") + throw(MethodError(TSGLEEInitializePackage, (petsclib, ))) end @for_petsc function TSGLEEInitializePackage(petsclib::$UnionPetscLib) @@ -4026,7 +4026,7 @@ See also: `TSGLEE` $(_doc_external("TS/TSGLEERegister")) """ function TSGLEERegister(petsclib::PetscLibType, name::String, order::Integer, s::Integer, r::Integer, gamma::Real, A::AbstractVector{<:Number}, B::AbstractVector{<:Number}, U::AbstractVector{<:Number}, V::AbstractVector{<:Number}, M_S::AbstractVector{<:Number}, F::AbstractVector{<:Number}, c::AbstractVector{<:Number}, Fembed::AbstractVector{<:Number}, Ferror::AbstractVector{<:Number}, Serror::AbstractVector{<:Number}, pinterp::Integer, binterp::AbstractVector{<:Number}) - error("TSGLEERegister: no generated method for these argument types") + throw(MethodError(TSGLEERegister, (petsclib, name, order, s, r, gamma, A, B, U, V, M_S, F, c, Fembed, Ferror, Serror, pinterp, binterp))) end @for_petsc function TSGLEERegister(petsclib::$UnionPetscLib, name::String, order::$PetscInt, s::$PetscInt, r::$PetscInt, gamma::$PetscReal, A::Vector{$PetscReal}, B::Vector{$PetscReal}, U::Vector{$PetscReal}, V::Vector{$PetscReal}, M_S::Vector{$PetscReal}, F::Vector{$PetscReal}, c::Vector{$PetscReal}, Fembed::Vector{$PetscReal}, Ferror::Vector{$PetscReal}, Serror::Vector{$PetscReal}, pinterp::$PetscInt, binterp::Vector{$PetscReal} ) @@ -4056,7 +4056,7 @@ See also: `TSGLEERegisterDestroy()` $(_doc_external("TS/TSGLEERegisterAll")) """ function TSGLEERegisterAll(petsclib::PetscLibType) - error("TSGLEERegisterAll: no generated method for these argument types") + throw(MethodError(TSGLEERegisterAll, (petsclib, ))) end @for_petsc function TSGLEERegisterAll(petsclib::$UnionPetscLib) @@ -4085,7 +4085,7 @@ See also: `TSGLEERegister()`, `TSGLEERegisterAll()` $(_doc_external("TS/TSGLEERegisterDestroy")) """ function TSGLEERegisterDestroy(petsclib::PetscLibType) - error("TSGLEERegisterDestroy: no generated method for these argument types") + throw(MethodError(TSGLEERegisterDestroy, (petsclib, ))) end @for_petsc function TSGLEERegisterDestroy(petsclib::$UnionPetscLib) @@ -4118,7 +4118,7 @@ See also: `TSGLEEGetType()`, `TSGLEE` $(_doc_external("TS/TSGLEESetType")) """ function TSGLEESetType(petsclib::PetscLibType, ts::AbstractTS, gleetype::String) - error("TSGLEESetType: no generated method for these argument types") + throw(MethodError(TSGLEESetType, (petsclib, ts, gleetype))) end @for_petsc function TSGLEESetType(petsclib::$UnionPetscLib, ts::AbstractTS, gleetype::String ) @@ -4152,7 +4152,7 @@ See also: `TSGLLE`, `TSGLLEType`, `TSGLLERegisterAll()`, `TSGLLEAcceptFn` $(_doc_external("TS/TSGLLEAcceptRegister")) """ function TSGLLEAcceptRegister(petsclib::PetscLibType, sname::String, fnc::Ptr{Cvoid}) - error("TSGLLEAcceptRegister: no generated method for these argument types") + throw(MethodError(TSGLLEAcceptRegister, (petsclib, sname, fnc))) end @for_petsc function TSGLLEAcceptRegister(petsclib::$UnionPetscLib, sname::String, fnc::Ptr{Cvoid} ) @@ -4181,7 +4181,7 @@ See also: `PetscFinalize()`, `TSGLLEInitializePackage()`, `TSInitializePackage() $(_doc_external("TS/TSGLLEFinalizePackage")) """ function TSGLLEFinalizePackage(petsclib::PetscLibType) - error("TSGLLEFinalizePackage: no generated method for these argument types") + throw(MethodError(TSGLLEFinalizePackage, (petsclib, ))) end @for_petsc function TSGLLEFinalizePackage(petsclib::$UnionPetscLib) @@ -4216,7 +4216,7 @@ See also: `TS`, `TSGLLE`, `TSGLLEAdapt`, `TSGLLEAdaptRegister()` $(_doc_external("TS/TSGLLEGetAdapt")) """ function TSGLLEGetAdapt(petsclib::PetscLibType, ts::AbstractTS) - error("TSGLLEGetAdapt: no generated method for these argument types") + throw(MethodError(TSGLLEGetAdapt, (petsclib, ts))) end @for_petsc function TSGLLEGetAdapt(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -4247,7 +4247,7 @@ See also: `PetscInitialize()`, `TSInitializePackage()`, `TSGLLEFinalizePackage() $(_doc_external("TS/TSGLLEInitializePackage")) """ function TSGLLEInitializePackage(petsclib::PetscLibType) - error("TSGLLEInitializePackage: no generated method for these argument types") + throw(MethodError(TSGLLEInitializePackage, (petsclib, ))) end @for_petsc function TSGLLEInitializePackage(petsclib::$UnionPetscLib) @@ -4280,7 +4280,7 @@ See also: `TSGLLE`, `TSGLLEType`, `TSGLLERegisterAll()`, `TSGLLESetType()` $(_doc_external("TS/TSGLLERegister")) """ function TSGLLERegister(petsclib::PetscLibType, sname::String, fnc::external) - error("TSGLLERegister: no generated method for these argument types") + throw(MethodError(TSGLLERegister, (petsclib, sname, fnc))) end @for_petsc function TSGLLERegister(petsclib::$UnionPetscLib, sname::String, fnc::external ) @@ -4317,7 +4317,7 @@ See also: `TS`, `TSGLLE`, `TSGLLEAcceptRegister()`, `TSGLLEAdapt` $(_doc_external("TS/TSGLLESetAcceptType")) """ function TSGLLESetAcceptType(petsclib::PetscLibType, ts::AbstractTS, type::String) - error("TSGLLESetAcceptType: no generated method for these argument types") + throw(MethodError(TSGLLESetAcceptType, (petsclib, ts, type))) end @for_petsc function TSGLLESetAcceptType(petsclib::$UnionPetscLib, ts::AbstractTS, type::String ) @@ -4355,7 +4355,7 @@ See also: `TS`, `TSGLLEType`, `TSGLLE`, `TSGLLERegister()`, `TSGLLE_IRKS`, `TSGL $(_doc_external("TS/TSGLLESetType")) """ function TSGLLESetType(petsclib::PetscLibType, ts::AbstractTS, type::String) - error("TSGLLESetType: no generated method for these argument types") + throw(MethodError(TSGLLESetType, (petsclib, ts, type))) end @for_petsc function TSGLLESetType(petsclib::$UnionPetscLib, ts::AbstractTS, type::String ) @@ -4391,7 +4391,7 @@ See also: `TS`, `TSAdapt`, `TSAdaptSetType()`, `TSAdaptChoose()` $(_doc_external("TS/TSGetAdapt")) """ function TSGetAdapt(petsclib::PetscLibType, ts::AbstractTS) - error("TSGetAdapt: no generated method for these argument types") + throw(MethodError(TSGetAdapt, (petsclib, ts))) end @for_petsc function TSGetAdapt(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -4430,7 +4430,7 @@ See also: `TS`, `TSSetApplicationContext()` $(_doc_external("TS/TSGetApplicationContext")) """ function TSGetApplicationContext(petsclib::PetscLibType, ts::AbstractTS) - error("TSGetApplicationContext: no generated method for these argument types") + throw(MethodError(TSGetApplicationContext, (petsclib, ts))) end @for_petsc function TSGetApplicationContext(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -4467,7 +4467,7 @@ See also: `TS`, `TSGetSolution()` $(_doc_external("TS/TSGetAuxSolution")) """ function TSGetAuxSolution(petsclib::PetscLibType, ts::AbstractTS, v::AbstractPetscVec) - error("TSGetAuxSolution: no generated method for these argument types") + throw(MethodError(TSGetAuxSolution, (petsclib, ts, v))) end @for_petsc function TSGetAuxSolution(petsclib::$UnionPetscLib, ts::AbstractTS, v::AbstractPetscVec ) @@ -4505,7 +4505,7 @@ See also: `TSSetCFLTimeLocal()` $(_doc_external("TS/TSGetCFLTime")) """ function TSGetCFLTime(petsclib::PetscLibType, ts::AbstractTS) - error("TSGetCFLTime: no generated method for these argument types") + throw(MethodError(TSGetCFLTime, (petsclib, ts))) end @for_petsc function TSGetCFLTime(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -4548,7 +4548,7 @@ See also: `TS`, `TSComputeExactError()` $(_doc_external("TS/TSGetComputeExactError")) """ function TSGetComputeExactError(petsclib::PetscLibType, ts::AbstractTS, noname::Ptr{Cvoid}) - error("TSGetComputeExactError: no generated method for these argument types") + throw(MethodError(TSGetComputeExactError, (petsclib, ts, noname))) end @for_petsc function TSGetComputeExactError(petsclib::$UnionPetscLib, ts::AbstractTS, noname::Ptr{Cvoid} ) @@ -4588,7 +4588,7 @@ See also: `TS`, `TSSetComputeInitialCondition()`, `TSComputeInitialCondition()` $(_doc_external("TS/TSGetComputeInitialCondition")) """ function TSGetComputeInitialCondition(petsclib::PetscLibType, ts::AbstractTS, noname::Ptr{Cvoid}) - error("TSGetComputeInitialCondition: no generated method for these argument types") + throw(MethodError(TSGetComputeInitialCondition, (petsclib, ts, noname))) end @for_petsc function TSGetComputeInitialCondition(petsclib::$UnionPetscLib, ts::AbstractTS, noname::Ptr{Cvoid} ) @@ -4625,7 +4625,7 @@ See also: `TS`, `TSSolve()`, `TSConvergedReason` $(_doc_external("TS/TSGetConvergedReason")) """ function TSGetConvergedReason(petsclib::PetscLibType, ts::AbstractTS) - error("TSGetConvergedReason: no generated method for these argument types") + throw(MethodError(TSGetConvergedReason, (petsclib, ts))) end @for_petsc function TSGetConvergedReason(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -4665,7 +4665,7 @@ See also: `TS`, `TSAdjointSolve()`, `TSSetCostGradients()` $(_doc_external("Sensitivity/TSGetCostGradients")) """ function TSGetCostGradients(petsclib::PetscLibType, ts::AbstractTS) - error("TSGetCostGradients: no generated method for these argument types") + throw(MethodError(TSGetCostGradients, (petsclib, ts))) end @for_petsc function TSGetCostGradients(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -4710,7 +4710,7 @@ See also: `TSAdjointSolve()`, `TSSetCostHessianProducts()` $(_doc_external("Sensitivity/TSGetCostHessianProducts")) """ function TSGetCostHessianProducts(petsclib::PetscLibType, ts::AbstractTS) - error("TSGetCostHessianProducts: no generated method for these argument types") + throw(MethodError(TSGetCostHessianProducts, (petsclib, ts))) end @for_petsc function TSGetCostHessianProducts(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -4755,7 +4755,7 @@ See also: `TS`, `TSAdjointSolve()`, `TSSetCostIntegrand()` $(_doc_external("Sensitivity/TSGetCostIntegral")) """ function TSGetCostIntegral(petsclib::PetscLibType, ts::AbstractTS) - error("TSGetCostIntegral: no generated method for these argument types") + throw(MethodError(TSGetCostIntegral, (petsclib, ts))) end @for_petsc function TSGetCostIntegral(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -4793,7 +4793,7 @@ See also: `TS`, `DM`, `TSSetDM()`, `SNESSetDM()`, `SNESGetDM()` $(_doc_external("TS/TSGetDM")) """ function TSGetDM(petsclib::PetscLibType, ts::AbstractTS) - error("TSGetDM: no generated method for these argument types") + throw(MethodError(TSGetDM, (petsclib, ts))) end @for_petsc function TSGetDM(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -4831,7 +4831,7 @@ See also: `TS`, `TSSetEquationType()`, `TSEquationType` $(_doc_external("TS/TSGetEquationType")) """ function TSGetEquationType(petsclib::PetscLibType, ts::AbstractTS) - error("TSGetEquationType: no generated method for these argument types") + throw(MethodError(TSGetEquationType, (petsclib, ts))) end @for_petsc function TSGetEquationType(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -4869,7 +4869,7 @@ See also: `TS`, `TSSetEvaluationTimes()`, `TSGetEvaluationTimes()` $(_doc_external("TS/TSGetEvaluationSolutions")) """ function TSGetEvaluationSolutions(petsclib::PetscLibType, ts::AbstractTS) - error("TSGetEvaluationSolutions: no generated method for these argument types") + throw(MethodError(TSGetEvaluationSolutions, (petsclib, ts))) end @for_petsc function TSGetEvaluationSolutions(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -4912,7 +4912,7 @@ See also: `TS`, `TSSetEvaluationTimes()`, `TSGetEvaluationSolutions()` $(_doc_external("TS/TSGetEvaluationTimes")) """ function TSGetEvaluationTimes(petsclib::PetscLibType, ts::AbstractTS) - error("TSGetEvaluationTimes: no generated method for these argument types") + throw(MethodError(TSGetEvaluationTimes, (petsclib, ts))) end @for_petsc function TSGetEvaluationTimes(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -4952,7 +4952,7 @@ See also: `TS`, `TSExactFinalTimeOption`, `TSSetExactFinalTime()` $(_doc_external("TS/TSGetExactFinalTime")) """ function TSGetExactFinalTime(petsclib::PetscLibType, ts::AbstractTS) - error("TSGetExactFinalTime: no generated method for these argument types") + throw(MethodError(TSGetExactFinalTime, (petsclib, ts))) end @for_petsc function TSGetExactFinalTime(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -4992,7 +4992,7 @@ See also: `TS`, `TSSetIFunction()`, `SNESGetFunction()`, `TSCreate()` $(_doc_external("TS/TSGetI2Function")) """ function TSGetI2Function(petsclib::PetscLibType, ts::AbstractTS) - error("TSGetI2Function: no generated method for these argument types") + throw(MethodError(TSGetI2Function, (petsclib, ts))) end @for_petsc function TSGetI2Function(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -5037,7 +5037,7 @@ See also: `TS`, `TSGetTimeStep()`, `TSGetMatrices()`, `TSGetTime()`, `TSGetStepN $(_doc_external("TS/TSGetI2Jacobian")) """ function TSGetI2Jacobian(petsclib::PetscLibType, ts::AbstractTS) - error("TSGetI2Jacobian: no generated method for these argument types") + throw(MethodError(TSGetI2Jacobian, (petsclib, ts))) end @for_petsc function TSGetI2Jacobian(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -5083,7 +5083,7 @@ See also: `TS`, `TSSetIFunction()`, `SNESGetFunction()` $(_doc_external("TS/TSGetIFunction")) """ function TSGetIFunction(petsclib::PetscLibType, ts::AbstractTS) - error("TSGetIFunction: no generated method for these argument types") + throw(MethodError(TSGetIFunction, (petsclib, ts))) end @for_petsc function TSGetIFunction(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -5128,7 +5128,7 @@ See also: `TS`, `TSGetTimeStep()`, `TSGetRHSJacobian()`, `TSGetMatrices()`, `TSG $(_doc_external("TS/TSGetIJacobian")) """ function TSGetIJacobian(petsclib::PetscLibType, ts::AbstractTS) - error("TSGetIJacobian: no generated method for these argument types") + throw(MethodError(TSGetIJacobian, (petsclib, ts))) end @for_petsc function TSGetIJacobian(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -5183,7 +5183,7 @@ See also: `TSSetRHSJacobianP()`, `TS`, `TSSetIJacobianP()`, `TSGetRHSJacobianP() $(_doc_external("Sensitivity/TSGetIJacobianP")) """ function TSGetIJacobianP(petsclib::PetscLibType, ts::AbstractTS, noname::Ptr{Cvoid}) - error("TSGetIJacobianP: no generated method for these argument types") + throw(MethodError(TSGetIJacobianP, (petsclib, ts, noname))) end @for_petsc function TSGetIJacobianP(petsclib::$UnionPetscLib, ts::AbstractTS, noname::Ptr{Cvoid} ) @@ -5222,7 +5222,7 @@ See also: `TS`, `SNES`, `KSP`, `TSCreate()`, `TSSetUp()`, `TSSolve()`, `TSGetSNE $(_doc_external("TS/TSGetKSP")) """ function TSGetKSP(petsclib::PetscLibType, ts::AbstractTS) - error("TSGetKSP: no generated method for these argument types") + throw(MethodError(TSGetKSP, (petsclib, ts))) end @for_petsc function TSGetKSP(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -5261,7 +5261,7 @@ See also: `TS`, `TSSolve()`, `TSGetSNESIterations()` $(_doc_external("TS/TSGetKSPIterations")) """ function TSGetKSPIterations(petsclib::PetscLibType, ts::AbstractTS) - error("TSGetKSPIterations: no generated method for these argument types") + throw(MethodError(TSGetKSPIterations, (petsclib, ts))) end @for_petsc function TSGetKSPIterations(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -5299,7 +5299,7 @@ See also: `TS`, `TSSetMaxSteps()`, `TSGetMaxTime()`, `TSSetMaxTime()` $(_doc_external("TS/TSGetMaxSteps")) """ function TSGetMaxSteps(petsclib::PetscLibType, ts::AbstractTS) - error("TSGetMaxSteps: no generated method for these argument types") + throw(MethodError(TSGetMaxSteps, (petsclib, ts))) end @for_petsc function TSGetMaxSteps(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -5337,7 +5337,7 @@ See also: `TS`, `TSSetMaxTime()`, `TSGetMaxSteps()`, `TSSetMaxSteps()` $(_doc_external("TS/TSGetMaxTime")) """ function TSGetMaxTime(petsclib::PetscLibType, ts::AbstractTS) - error("TSGetMaxTime: no generated method for these argument types") + throw(MethodError(TSGetMaxTime, (petsclib, ts))) end @for_petsc function TSGetMaxTime(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -5375,7 +5375,7 @@ See also: `TSEvent`, `TSSetEventHandler()` $(_doc_external("TS/TSGetNumEvents")) """ function TSGetNumEvents(petsclib::PetscLibType, ts::AbstractTS) - error("TSGetNumEvents: no generated method for these argument types") + throw(MethodError(TSGetNumEvents, (petsclib, ts))) end @for_petsc function TSGetNumEvents(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -5414,7 +5414,7 @@ See also: `TS`, `TSAppendOptionsPrefix()`, `TSSetFromOptions()` $(_doc_external("TS/TSGetOptionsPrefix")) """ function TSGetOptionsPrefix(petsclib::PetscLibType, ts::AbstractTS) - error("TSGetOptionsPrefix: no generated method for these argument types") + throw(MethodError(TSGetOptionsPrefix, (petsclib, ts))) end @for_petsc function TSGetOptionsPrefix(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -5452,7 +5452,7 @@ See also: `TS`, `TSGetTime()`, `TSGetSolveTime()`, `TSGetTimeStep()` $(_doc_external("TS/TSGetPrevTime")) """ function TSGetPrevTime(petsclib::PetscLibType, ts::AbstractTS) - error("TSGetPrevTime: no generated method for these argument types") + throw(MethodError(TSGetPrevTime, (petsclib, ts))) end @for_petsc function TSGetPrevTime(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -5495,7 +5495,7 @@ See also: `TSSetUp()`, `TSProblemType`, `TS` $(_doc_external("TS/TSGetProblemType")) """ function TSGetProblemType(petsclib::PetscLibType, ts::AbstractTS) - error("TSGetProblemType: no generated method for these argument types") + throw(MethodError(TSGetProblemType, (petsclib, ts))) end @for_petsc function TSGetProblemType(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -5532,7 +5532,7 @@ See also: `TSCreateQuadratureTS()` $(_doc_external("Sensitivity/TSGetQuadratureTS")) """ function TSGetQuadratureTS(petsclib::PetscLibType, ts::AbstractTS) - error("TSGetQuadratureTS: no generated method for these argument types") + throw(MethodError(TSGetQuadratureTS, (petsclib, ts))) end @for_petsc function TSGetQuadratureTS(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -5574,7 +5574,7 @@ See also: `TS`, `TSSetRHSFunction()`, `SNESGetFunction()` $(_doc_external("TS/TSGetRHSFunction")) """ function TSGetRHSFunction(petsclib::PetscLibType, ts::AbstractTS) - error("TSGetRHSFunction: no generated method for these argument types") + throw(MethodError(TSGetRHSFunction, (petsclib, ts))) end @for_petsc function TSGetRHSFunction(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -5619,7 +5619,7 @@ See also: `TS`, `TSGetTimeStep()`, `TSGetMatrices()`, `TSGetTime()`, `TSGetStepN $(_doc_external("TS/TSGetRHSJacobian")) """ function TSGetRHSJacobian(petsclib::PetscLibType, ts::AbstractTS) - error("TSGetRHSJacobian: no generated method for these argument types") + throw(MethodError(TSGetRHSJacobian, (petsclib, ts))) end @for_petsc function TSGetRHSJacobian(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -5665,7 +5665,7 @@ See also: `TSSetRHSJacobianP()`, `TS`, `TSRHSJacobianPFn` $(_doc_external("Sensitivity/TSGetRHSJacobianP")) """ function TSGetRHSJacobianP(petsclib::PetscLibType, ts::AbstractTS) - error("TSGetRHSJacobianP: no generated method for these argument types") + throw(MethodError(TSGetRHSJacobianP, (petsclib, ts))) end @for_petsc function TSGetRHSJacobianP(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -5707,7 +5707,7 @@ See also: `TS`, `TSSetRunSteps()`, `TSGetMaxTime()`, `TSSetMaxTime()`, `TSGetMax $(_doc_external("TS/TSGetRunSteps")) """ function TSGetRunSteps(petsclib::PetscLibType, ts::AbstractTS) - error("TSGetRunSteps: no generated method for these argument types") + throw(MethodError(TSGetRunSteps, (petsclib, ts))) end @for_petsc function TSGetRunSteps(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -5746,7 +5746,7 @@ See also: `TS`, `SNES`, `TSCreate()`, `TSSetUp()`, `TSSolve()` $(_doc_external("TS/TSGetSNES")) """ function TSGetSNES(petsclib::PetscLibType, ts::AbstractTS) - error("TSGetSNES: no generated method for these argument types") + throw(MethodError(TSGetSNES, (petsclib, ts))) end @for_petsc function TSGetSNES(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -5784,7 +5784,7 @@ See also: `TS`, `TSSolve()`, `TSGetSNESIterations()`, `TSGetKSPIterations()`, `T $(_doc_external("TS/TSGetSNESFailures")) """ function TSGetSNESFailures(petsclib::PetscLibType, ts::AbstractTS) - error("TSGetSNESFailures: no generated method for these argument types") + throw(MethodError(TSGetSNESFailures, (petsclib, ts))) end @for_petsc function TSGetSNESFailures(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -5823,7 +5823,7 @@ See also: `TS`, `TSSolve()`, `TSGetKSPIterations()` $(_doc_external("TS/TSGetSNESIterations")) """ function TSGetSNESIterations(petsclib::PetscLibType, ts::AbstractTS) - error("TSGetSNESIterations: no generated method for these argument types") + throw(MethodError(TSGetSNESIterations, (petsclib, ts))) end @for_petsc function TSGetSNESIterations(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -5864,7 +5864,7 @@ See also: `TS`, `TSGetTimeStep()`, `TSGetTime()`, `TSGetSolveTime()`, `TSGetSolu $(_doc_external("TS/TSGetSolution")) """ function TSGetSolution(petsclib::PetscLibType, ts::AbstractTS) - error("TSGetSolution: no generated method for these argument types") + throw(MethodError(TSGetSolution, (petsclib, ts))) end @for_petsc function TSGetSolution(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -5908,7 +5908,7 @@ See also: `TS`, `TSGetSolution()` $(_doc_external("TS/TSGetSolutionComponents")) """ function TSGetSolutionComponents(petsclib::PetscLibType, ts::AbstractTS, v::AbstractPetscVec) - error("TSGetSolutionComponents: no generated method for these argument types") + throw(MethodError(TSGetSolutionComponents, (petsclib, ts, v))) end @for_petsc function TSGetSolutionComponents(petsclib::$UnionPetscLib, ts::AbstractTS, v::AbstractPetscVec ) @@ -5948,7 +5948,7 @@ See also: `TS`, `TSSolve()`, `TSConvergedReason` $(_doc_external("TS/TSGetSolveTime")) """ function TSGetSolveTime(petsclib::PetscLibType, ts::AbstractTS) - error("TSGetSolveTime: no generated method for these argument types") + throw(MethodError(TSGetSolveTime, (petsclib, ts))) end @for_petsc function TSGetSolveTime(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -5985,7 +5985,7 @@ See also: `TS`, `TSCreate()` $(_doc_external("TS/TSGetStages")) """ function TSGetStages(petsclib::PetscLibType, ts::AbstractTS) - error("TSGetStages: no generated method for these argument types") + throw(MethodError(TSGetStages, (petsclib, ts))) end @for_petsc function TSGetStages(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -6025,7 +6025,7 @@ See also: `TS`, `TSGetTime()`, `TSGetTimeStep()`, `TSSetPreStep()`, `TSSetPreSta $(_doc_external("TS/TSGetStepNumber")) """ function TSGetStepNumber(petsclib::PetscLibType, ts::AbstractTS) - error("TSGetStepNumber: no generated method for these argument types") + throw(MethodError(TSGetStepNumber, (petsclib, ts))) end @for_petsc function TSGetStepNumber(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -6063,7 +6063,7 @@ See also: `TS`, `TSSolve()`, `TSGetSNESIterations()`, `TSGetKSPIterations()`, `T $(_doc_external("TS/TSGetStepRejections")) """ function TSGetStepRejections(petsclib::PetscLibType, ts::AbstractTS) - error("TSGetStepRejections: no generated method for these argument types") + throw(MethodError(TSGetStepRejections, (petsclib, ts))) end @for_petsc function TSGetStepRejections(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -6101,7 +6101,7 @@ See also: `TS`, `TSCreate()`, `TSSetResize()` $(_doc_external("TS/TSGetStepResize")) """ function TSGetStepResize(petsclib::PetscLibType, ts::AbstractTS) - error("TSGetStepResize: no generated method for these argument types") + throw(MethodError(TSGetStepResize, (petsclib, ts))) end @for_petsc function TSGetStepResize(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -6139,7 +6139,7 @@ See also: `TS`, `TSCreate()`, `TSRollBack()` $(_doc_external("TS/TSGetStepRollBack")) """ function TSGetStepRollBack(petsclib::PetscLibType, ts::AbstractTS) - error("TSGetStepRollBack: no generated method for these argument types") + throw(MethodError(TSGetStepRollBack, (petsclib, ts))) end @for_petsc function TSGetStepRollBack(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -6177,7 +6177,7 @@ See also: `TS`, `TSGetSolveTime()`, `TSSetTime()`, `TSGetTimeStep()`, `TSGetStep $(_doc_external("TS/TSGetTime")) """ function TSGetTime(petsclib::PetscLibType, ts::AbstractTS) - error("TSGetTime: no generated method for these argument types") + throw(MethodError(TSGetTime, (petsclib, ts))) end @for_petsc function TSGetTime(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -6215,7 +6215,7 @@ See also: `TSGetSolution()`, `TSSetTimeError()` $(_doc_external("TS/TSGetTimeError")) """ function TSGetTimeError(petsclib::PetscLibType, ts::AbstractTS, n::Integer, v::AbstractPetscVec) - error("TSGetTimeError: no generated method for these argument types") + throw(MethodError(TSGetTimeError, (petsclib, ts, n, v))) end @for_petsc function TSGetTimeError(petsclib::$UnionPetscLib, ts::AbstractTS, n::$PetscInt, v::AbstractPetscVec ) @@ -6253,7 +6253,7 @@ See also: `TS`, `TSSetTimeStep()`, `TSGetTime()` $(_doc_external("TS/TSGetTimeStep")) """ function TSGetTimeStep(petsclib::PetscLibType, ts::AbstractTS) - error("TSGetTimeStep: no generated method for these argument types") + throw(MethodError(TSGetTimeStep, (petsclib, ts))) end @for_petsc function TSGetTimeStep(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -6337,7 +6337,7 @@ See also: `TS`, `TSTrajectory`, `TSAdjointSolve()`, `TSTrajectoryCreate()` $(_doc_external("TS/TSGetTrajectory")) """ function TSGetTrajectory(petsclib::PetscLibType, ts::AbstractTS) - error("TSGetTrajectory: no generated method for these argument types") + throw(MethodError(TSGetTrajectory, (petsclib, ts))) end @for_petsc function TSGetTrajectory(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -6375,7 +6375,7 @@ See also: `TS`, `TSType`, `TSSetType()`, `PetscObjectTypeCompare()`, `PetscObjec $(_doc_external("TS/TSGetType")) """ function TSGetType(petsclib::PetscLibType, ts::AbstractTS) - error("TSGetType: no generated method for these argument types") + throw(MethodError(TSGetType, (petsclib, ts))) end @for_petsc function TSGetType(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -6413,7 +6413,7 @@ See also: `TS`, `TSSetUseSplitRHSFunction()` $(_doc_external("TS/TSGetUseSplitRHSFunction")) """ function TSGetUseSplitRHSFunction(petsclib::PetscLibType, ts::AbstractTS) - error("TSGetUseSplitRHSFunction: no generated method for these argument types") + throw(MethodError(TSGetUseSplitRHSFunction, (petsclib, ts))) end @for_petsc function TSGetUseSplitRHSFunction(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -6451,7 +6451,7 @@ See also: `TS`, `TSBDF`, `DMTSSetTransientVariable()`, `TSComputeTransientVariab $(_doc_external("TS/TSHasTransientVariable")) """ function TSHasTransientVariable(petsclib::PetscLibType, ts::AbstractTS) - error("TSHasTransientVariable: no generated method for these argument types") + throw(MethodError(TSHasTransientVariable, (petsclib, ts))) end @for_petsc function TSHasTransientVariable(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -6482,7 +6482,7 @@ See also: `TSIRK`, `PetscFinalize()`, `TSInitializePackage()` $(_doc_external("TS/TSIRKFinalizePackage")) """ function TSIRKFinalizePackage(petsclib::PetscLibType) - error("TSIRKFinalizePackage: no generated method for these argument types") + throw(MethodError(TSIRKFinalizePackage, (petsclib, ))) end @for_petsc function TSIRKFinalizePackage(petsclib::$UnionPetscLib) @@ -6515,7 +6515,7 @@ See also: `TSIRKSetNumStages()`, `TSIRK` $(_doc_external("TS/TSIRKGetNumStages")) """ function TSIRKGetNumStages(petsclib::PetscLibType, ts::AbstractTS) - error("TSIRKGetNumStages: no generated method for these argument types") + throw(MethodError(TSIRKGetNumStages, (petsclib, ts))) end @for_petsc function TSIRKGetNumStages(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -6553,7 +6553,7 @@ See also: `TSIRK`, `TSIRKType`, `TSIRKGAUSS` $(_doc_external("TS/TSIRKGetType")) """ function TSIRKGetType(petsclib::PetscLibType, ts::AbstractTS) - error("TSIRKGetType: no generated method for these argument types") + throw(MethodError(TSIRKGetType, (petsclib, ts))) end @for_petsc function TSIRKGetType(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -6584,7 +6584,7 @@ See also: `TSIRK`, `PetscInitialize()`, `TSIRKFinalizePackage()`, `TSInitializeP $(_doc_external("TS/TSIRKInitializePackage")) """ function TSIRKInitializePackage(petsclib::PetscLibType) - error("TSIRKInitializePackage: no generated method for these argument types") + throw(MethodError(TSIRKInitializePackage, (petsclib, ))) end @for_petsc function TSIRKInitializePackage(petsclib::$UnionPetscLib) @@ -6617,7 +6617,7 @@ See also: `TSIRK`, `TSIRKRegisterAll()` $(_doc_external("TS/TSIRKRegister")) """ function TSIRKRegister(petsclib::PetscLibType, sname::String, fnc::external) - error("TSIRKRegister: no generated method for these argument types") + throw(MethodError(TSIRKRegister, (petsclib, sname, fnc))) end @for_petsc function TSIRKRegister(petsclib::$UnionPetscLib, sname::String, fnc::external ) @@ -6647,7 +6647,7 @@ See also: `TSIRK`, `TSIRKRegister()`, `TSIRKRegisterAll()` $(_doc_external("TS/TSIRKRegisterDestroy")) """ function TSIRKRegisterDestroy(petsclib::PetscLibType) - error("TSIRKRegisterDestroy: no generated method for these argument types") + throw(MethodError(TSIRKRegisterDestroy, (petsclib, ))) end @for_petsc function TSIRKRegisterDestroy(petsclib::$UnionPetscLib) @@ -6683,7 +6683,7 @@ See also: `TSIRKGetNumStages()`, `TSIRK` $(_doc_external("TS/TSIRKSetNumStages")) """ function TSIRKSetNumStages(petsclib::PetscLibType, ts::AbstractTS, nstages::Integer) - error("TSIRKSetNumStages: no generated method for these argument types") + throw(MethodError(TSIRKSetNumStages, (petsclib, ts, nstages))) end @for_petsc function TSIRKSetNumStages(petsclib::$UnionPetscLib, ts::AbstractTS, nstages::$PetscInt ) @@ -6720,7 +6720,7 @@ See also: `TSIRKGetType()`, `TSIRK`, `TSIRKType`, `TSIRKGAUSS` $(_doc_external("TS/TSIRKSetType")) """ function TSIRKSetType(petsclib::PetscLibType, ts::AbstractTS, irktype::String) - error("TSIRKSetType: no generated method for these argument types") + throw(MethodError(TSIRKSetType, (petsclib, ts, irktype))) end @for_petsc function TSIRKSetType(petsclib::$UnionPetscLib, ts::AbstractTS, irktype::String ) @@ -6761,7 +6761,7 @@ See also: `TSIRK`, `TSIRKRegister()` $(_doc_external("TS/TSIRKTableauCreate")) """ function TSIRKTableauCreate(petsclib::PetscLibType, ts::AbstractTS, nstages::Integer, A::AbstractVector{<:Number}, b::AbstractVector{<:Number}, c::AbstractVector{<:Number}, binterp::AbstractVector{<:Number}, A_inv::AbstractVector{<:Number}, A_inv_rowsum::AbstractVector{<:Number}, I_s::AbstractVector{<:Number}) - error("TSIRKTableauCreate: no generated method for these argument types") + throw(MethodError(TSIRKTableauCreate, (petsclib, ts, nstages, A, b, c, binterp, A_inv, A_inv_rowsum, I_s))) end @for_petsc function TSIRKTableauCreate(petsclib::$UnionPetscLib, ts::AbstractTS, nstages::$PetscInt, A::Vector{$PetscReal}, b::Vector{$PetscReal}, c::Vector{$PetscReal}, binterp::Vector{$PetscReal}, A_inv::Vector{$PetscScalar}, A_inv_rowsum::Vector{$PetscScalar}, I_s::Vector{$PetscScalar} ) @@ -6791,7 +6791,7 @@ See also: `TS`, `PetscInitialize()`, `TSFinalizePackage()` $(_doc_external("Sys/TSInitializePackage")) """ function TSInitializePackage(petsclib::PetscLibType) - error("TSInitializePackage: no generated method for these argument types") + throw(MethodError(TSInitializePackage, (petsclib, ))) end @for_petsc function TSInitializePackage(petsclib::$UnionPetscLib) @@ -6827,7 +6827,7 @@ See also: `TS`, `TSSetExactFinalTime()`, `TSSolve()` $(_doc_external("TS/TSInterpolate")) """ function TSInterpolate(petsclib::PetscLibType, ts::AbstractTS, t::Real, U::AbstractPetscVec) - error("TSInterpolate: no generated method for these argument types") + throw(MethodError(TSInterpolate, (petsclib, ts, t, U))) end @for_petsc function TSInterpolate(petsclib::$UnionPetscLib, ts::AbstractTS, t::$PetscReal, U::AbstractPetscVec ) @@ -6862,7 +6862,7 @@ See also: `TS`, `PetscViewer`, `PetscViewerBinaryOpen()`, `TSView()`, `MatLoad() $(_doc_external("TS/TSLoad")) """ function TSLoad(petsclib::PetscLibType, ts::AbstractTS, viewer::PetscViewer) - error("TSLoad: no generated method for these argument types") + throw(MethodError(TSLoad, (petsclib, ts, viewer))) end @for_petsc function TSLoad(petsclib::$UnionPetscLib, ts::AbstractTS, viewer::PetscViewer ) @@ -6891,7 +6891,7 @@ See also: `TSMPRK`, `PetscFinalize()` $(_doc_external("TS/TSMPRKFinalizePackage")) """ function TSMPRKFinalizePackage(petsclib::PetscLibType) - error("TSMPRKFinalizePackage: no generated method for these argument types") + throw(MethodError(TSMPRKFinalizePackage, (petsclib, ))) end @for_petsc function TSMPRKFinalizePackage(petsclib::$UnionPetscLib) @@ -6926,7 +6926,7 @@ See also: `TSMPRK` $(_doc_external("TS/TSMPRKGetType")) """ function TSMPRKGetType(petsclib::PetscLibType, ts::AbstractTS) - error("TSMPRKGetType: no generated method for these argument types") + throw(MethodError(TSMPRKGetType, (petsclib, ts))) end @for_petsc function TSMPRKGetType(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -6958,7 +6958,7 @@ See also: `TSMPRK`, `PetscInitialize()` $(_doc_external("TS/TSMPRKInitializePackage")) """ function TSMPRKInitializePackage(petsclib::PetscLibType) - error("TSMPRKInitializePackage: no generated method for these argument types") + throw(MethodError(TSMPRKInitializePackage, (petsclib, ))) end @for_petsc function TSMPRKInitializePackage(petsclib::$UnionPetscLib) @@ -7005,7 +7005,7 @@ See also: `TSMPRK` $(_doc_external("TS/TSMPRKRegister")) """ function TSMPRKRegister(petsclib::PetscLibType, name::String, order::Integer, sbase::Integer, ratio1::Integer, ratio2::Integer, Asb::AbstractVector{<:Number}, bsb::AbstractVector{<:Number}, csb::AbstractVector{<:Number}, rsb::AbstractVector{<:Number}, Amb::AbstractVector{<:Number}, bmb::AbstractVector{<:Number}, cmb::AbstractVector{<:Number}, rmb::AbstractVector{<:Number}, Af::AbstractVector{<:Number}, bf::AbstractVector{<:Number}, cf::AbstractVector{<:Number}) - error("TSMPRKRegister: no generated method for these argument types") + throw(MethodError(TSMPRKRegister, (petsclib, name, order, sbase, ratio1, ratio2, Asb, bsb, csb, rsb, Amb, bmb, cmb, rmb, Af, bf, cf))) end @for_petsc function TSMPRKRegister(petsclib::$UnionPetscLib, name::String, order::$PetscInt, sbase::$PetscInt, ratio1::$PetscInt, ratio2::$PetscInt, Asb::Vector{$PetscReal}, bsb::Vector{$PetscReal}, csb::Vector{$PetscReal}, rsb::Vector{$PetscInt}, Amb::Vector{$PetscReal}, bmb::Vector{$PetscReal}, cmb::Vector{$PetscReal}, rmb::Vector{$PetscInt}, Af::Vector{$PetscReal}, bf::Vector{$PetscReal}, cf::Vector{$PetscReal} ) @@ -7035,7 +7035,7 @@ See also: `TSMPRK`, `TSMPRKRegister()`, `TSMPRKRegisterAll()` $(_doc_external("TS/TSMPRKRegisterDestroy")) """ function TSMPRKRegisterDestroy(petsclib::PetscLibType) - error("TSMPRKRegisterDestroy: no generated method for these argument types") + throw(MethodError(TSMPRKRegisterDestroy, (petsclib, ))) end @for_petsc function TSMPRKRegisterDestroy(petsclib::$UnionPetscLib) @@ -7071,7 +7071,7 @@ See also: `TSMPRKGetType()`, `TSMPRK`, `TSMPRKType` $(_doc_external("TS/TSMPRKSetType")) """ function TSMPRKSetType(petsclib::PetscLibType, ts::AbstractTS, mprktype::String) - error("TSMPRKSetType: no generated method for these argument types") + throw(MethodError(TSMPRKSetType, (petsclib, ts, mprktype))) end @for_petsc function TSMPRKSetType(petsclib::$UnionPetscLib, ts::AbstractTS, mprktype::String ) @@ -7107,7 +7107,7 @@ See also: `TS`, `TSMonitorSet()`, `TSMonitorSetFromOptions()` $(_doc_external("TS/TSMonitor")) """ function TSMonitor(petsclib::PetscLibType, ts::AbstractTS, step::Integer, ptime::Real, u::AbstractPetscVec) - error("TSMonitor: no generated method for these argument types") + throw(MethodError(TSMonitor, (petsclib, ts, step, ptime, u))) end @for_petsc function TSMonitor(petsclib::$UnionPetscLib, ts::AbstractTS, step::$PetscInt, ptime::$PetscReal, u::AbstractPetscVec ) @@ -7140,7 +7140,7 @@ See also: `TS`, `TSMonitorDefault()`, `TSMonitorSet()` $(_doc_external("TS/TSMonitorCancel")) """ function TSMonitorCancel(petsclib::PetscLibType, ts::AbstractTS) - error("TSMonitorCancel: no generated method for these argument types") + throw(MethodError(TSMonitorCancel, (petsclib, ts))) end @for_petsc function TSMonitorCancel(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -7177,7 +7177,7 @@ See also: `TS`, `DMDA`, `TSMonitorSet()`, `TSMonitorLGDMDARay()`, `TSMonitorDMDA $(_doc_external("TS/TSMonitorDMDARay")) """ function TSMonitorDMDARay(petsclib::PetscLibType, ts::AbstractTS, steps::Integer, time::Real, u::AbstractPetscVec, mctx::Ptr{Cvoid}) - error("TSMonitorDMDARay: no generated method for these argument types") + throw(MethodError(TSMonitorDMDARay, (petsclib, ts, steps, time, u, mctx))) end @for_petsc function TSMonitorDMDARay(petsclib::$UnionPetscLib, ts::AbstractTS, steps::$PetscInt, time::$PetscReal, u::AbstractPetscVec, mctx::Ptr{Cvoid} ) @@ -7210,7 +7210,7 @@ See also: `TS`, `TSMonitorSet()`, `TSMonitorDMDARay()`, `TSMonitorLGDMDARay()` $(_doc_external("TS/TSMonitorDMDARayDestroy")) """ function TSMonitorDMDARayDestroy(petsclib::PetscLibType, mctx::Ptr{Cvoid}) - error("TSMonitorDMDARayDestroy: no generated method for these argument types") + throw(MethodError(TSMonitorDMDARayDestroy, (petsclib, mctx))) end @for_petsc function TSMonitorDMDARayDestroy(petsclib::$UnionPetscLib, mctx::Ptr{Cvoid} ) @@ -7250,7 +7250,7 @@ See also: `TSMonitorSet()`, `TSDMSwarmMonitorMoments()`, `TSMonitorWallClockTime $(_doc_external("TS/TSMonitorDefault")) """ function TSMonitorDefault(petsclib::PetscLibType, ts::AbstractTS, step::Integer, ptime::Real, v::AbstractPetscVec, vf::Vector{PetscViewerAndFormat}) - error("TSMonitorDefault: no generated method for these argument types") + throw(MethodError(TSMonitorDefault, (petsclib, ts, step, ptime, v, vf))) end @for_petsc function TSMonitorDefault(petsclib::$UnionPetscLib, ts::AbstractTS, step::$PetscInt, ptime::$PetscReal, v::AbstractPetscVec, vf::Vector{PetscViewerAndFormat} ) @@ -7291,7 +7291,7 @@ See also: `TS`, `TSMonitorSet()`, `TSMonitorDefault()`, `VecView()`, `TSSetSolut $(_doc_external("TS/TSMonitorDrawError")) """ function TSMonitorDrawError(petsclib::PetscLibType, ts::AbstractTS, step::Integer, ptime::Real, u::AbstractPetscVec, Ctx::Ptr{Cvoid}) - error("TSMonitorDrawError: no generated method for these argument types") + throw(MethodError(TSMonitorDrawError, (petsclib, ts, step, ptime, u, Ctx))) end @for_petsc function TSMonitorDrawError(petsclib::$UnionPetscLib, ts::AbstractTS, step::$PetscInt, ptime::$PetscReal, u::AbstractPetscVec, Ctx::Ptr{Cvoid} ) @@ -7333,7 +7333,7 @@ See also: `TS`, `TSMonitorSet()`, `TSMonitorDefault()`, `VecView()`, `TSMonitorD $(_doc_external("TS/TSMonitorDrawSolution")) """ function TSMonitorDrawSolution(petsclib::PetscLibType, ts::AbstractTS, step::Integer, ptime::Real, u::AbstractPetscVec, ctx::Ptr{Cvoid}) - error("TSMonitorDrawSolution: no generated method for these argument types") + throw(MethodError(TSMonitorDrawSolution, (petsclib, ts, step, ptime, u, ctx))) end @for_petsc function TSMonitorDrawSolution(petsclib::$UnionPetscLib, ts::AbstractTS, step::$PetscInt, ptime::$PetscReal, u::AbstractPetscVec, ctx::Ptr{Cvoid} ) @@ -7374,7 +7374,7 @@ See also: `TS`, `TSMonitorSet()`, `TSMonitorDefault()`, `VecView()`, `TSSetSolut $(_doc_external("TS/TSMonitorDrawSolutionFunction")) """ function TSMonitorDrawSolutionFunction(petsclib::PetscLibType, ts::AbstractTS, step::Integer, ptime::Real, u::AbstractPetscVec, Ctx::Ptr{Cvoid}) - error("TSMonitorDrawSolutionFunction: no generated method for these argument types") + throw(MethodError(TSMonitorDrawSolutionFunction, (petsclib, ts, step, ptime, u, Ctx))) end @for_petsc function TSMonitorDrawSolutionFunction(petsclib::$UnionPetscLib, ts::AbstractTS, step::$PetscInt, ptime::$PetscReal, u::AbstractPetscVec, Ctx::Ptr{Cvoid} ) @@ -7411,7 +7411,7 @@ See also: `TS`, `TSMonitorSet()`, `TSMonitorDefault()`, `VecView()` $(_doc_external("TS/TSMonitorDrawSolutionPhase")) """ function TSMonitorDrawSolutionPhase(petsclib::PetscLibType, ts::AbstractTS, step::Integer, ptime::Real, u::AbstractPetscVec, ctx::Ptr{Cvoid}) - error("TSMonitorDrawSolutionPhase: no generated method for these argument types") + throw(MethodError(TSMonitorDrawSolutionPhase, (petsclib, ts, step, ptime, u, ctx))) end @for_petsc function TSMonitorDrawSolutionPhase(petsclib::$UnionPetscLib, ts::AbstractTS, step::$PetscInt, ptime::$PetscReal, u::AbstractPetscVec, ctx::Ptr{Cvoid} ) @@ -7451,7 +7451,7 @@ See also: `TSMonitorSet()`, `TSMonitorDefault()`, `VecView()`, `TSMonitorEnvelop $(_doc_external("TS/TSMonitorEnvelope")) """ function TSMonitorEnvelope(petsclib::PetscLibType, ts::AbstractTS, step::Integer, ptime::Real, u::AbstractPetscVec, dctx::Ptr{Cvoid}) - error("TSMonitorEnvelope: no generated method for these argument types") + throw(MethodError(TSMonitorEnvelope, (petsclib, ts, step, ptime, u, dctx))) end @for_petsc function TSMonitorEnvelope(petsclib::$UnionPetscLib, ts::AbstractTS, step::$PetscInt, ptime::$PetscReal, u::AbstractPetscVec, dctx::Ptr{Cvoid} ) @@ -7488,7 +7488,7 @@ See also: `TSMonitorEnvelopeCtx`, `TS`, `TSMonitorSet()`, `TSMonitorDefault()`, $(_doc_external("TS/TSMonitorEnvelopeGetBounds")) """ function TSMonitorEnvelopeGetBounds(petsclib::PetscLibType, ts::AbstractTS) - error("TSMonitorEnvelopeGetBounds: no generated method for these argument types") + throw(MethodError(TSMonitorEnvelopeGetBounds, (petsclib, ts))) end @for_petsc function TSMonitorEnvelopeGetBounds(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -7532,7 +7532,7 @@ See also: `TS`, `TSMonitorSet()`, `TSMonitorDefault()`, `VecView()`, `TSSetSolut $(_doc_external("TS/TSMonitorError")) """ function TSMonitorError(petsclib::PetscLibType, ts::AbstractTS, step::Integer, ptime::Real, u::AbstractPetscVec, vf::Vector{PetscViewerAndFormat}) - error("TSMonitorError: no generated method for these argument types") + throw(MethodError(TSMonitorError, (petsclib, ts, step, ptime, u, vf))) end @for_petsc function TSMonitorError(petsclib::$UnionPetscLib, ts::AbstractTS, step::$PetscInt, ptime::$PetscReal, u::AbstractPetscVec, vf::Vector{PetscViewerAndFormat} ) @@ -7567,7 +7567,7 @@ See also: `TS`, `TSMonitorSet()` $(_doc_external("TS/TSMonitorExtreme")) """ function TSMonitorExtreme(petsclib::PetscLibType, ts::AbstractTS, step::Integer, ptime::Real, v::AbstractPetscVec, vf::Vector{PetscViewerAndFormat}) - error("TSMonitorExtreme: no generated method for these argument types") + throw(MethodError(TSMonitorExtreme, (petsclib, ts, step, ptime, v, vf))) end @for_petsc function TSMonitorExtreme(petsclib::$UnionPetscLib, ts::AbstractTS, step::$PetscInt, ptime::$PetscReal, v::AbstractPetscVec, vf::Vector{PetscViewerAndFormat} ) @@ -7608,7 +7608,7 @@ See also: `TSMonitorSet()` $(_doc_external("TS/TSMonitorHGSwarmSolution")) """ function TSMonitorHGSwarmSolution(petsclib::PetscLibType, ts::AbstractTS, step::Integer, ptime::Real, u::AbstractPetscVec, dctx::Ptr{Cvoid}) - error("TSMonitorHGSwarmSolution: no generated method for these argument types") + throw(MethodError(TSMonitorHGSwarmSolution, (petsclib, ts, step, ptime, u, dctx))) end @for_petsc function TSMonitorHGSwarmSolution(petsclib::$UnionPetscLib, ts::AbstractTS, step::$PetscInt, ptime::$PetscReal, u::AbstractPetscVec, dctx::Ptr{Cvoid} ) @@ -7645,7 +7645,7 @@ See also: `TS`, `DMDA`, `TSMonitorSet()`, `TSMonitorDMDARay()`, `TSMonitorDMDARa $(_doc_external("TS/TSMonitorLGDMDARay")) """ function TSMonitorLGDMDARay(petsclib::PetscLibType, ts::AbstractTS, step::Integer, ptime::Real, u::AbstractPetscVec, ctx::Ptr{Cvoid}) - error("TSMonitorLGDMDARay: no generated method for these argument types") + throw(MethodError(TSMonitorLGDMDARay, (petsclib, ts, step, ptime, u, ctx))) end @for_petsc function TSMonitorLGDMDARay(petsclib::$UnionPetscLib, ts::AbstractTS, step::$PetscInt, ptime::$PetscReal, u::AbstractPetscVec, ctx::Ptr{Cvoid} ) @@ -7686,7 +7686,7 @@ See also: `TS`, `TSMonitorSet()`, `TSMonitorDefault()`, `VecView()`, `TSSetSolut $(_doc_external("TS/TSMonitorLGError")) """ function TSMonitorLGError(petsclib::PetscLibType, ts::AbstractTS, step::Integer, ptime::Real, u::AbstractPetscVec, Ctx::Ptr{Cvoid}) - error("TSMonitorLGError: no generated method for these argument types") + throw(MethodError(TSMonitorLGError, (petsclib, ts, step, ptime, u, Ctx))) end @for_petsc function TSMonitorLGError(petsclib::$UnionPetscLib, ts::AbstractTS, step::$PetscInt, ptime::$PetscReal, u::AbstractPetscVec, Ctx::Ptr{Cvoid} ) @@ -7722,7 +7722,7 @@ See also: `TS`, `TSMonitorSet()`, `TSMonitorDefault()`, `VecView()`, `TSMonitorL $(_doc_external("TS/TSMonitorLGGetVariableNames")) """ function TSMonitorLGGetVariableNames(petsclib::PetscLibType, ts::AbstractTS) - error("TSMonitorLGGetVariableNames: no generated method for these argument types") + throw(MethodError(TSMonitorLGGetVariableNames, (petsclib, ts))) end @for_petsc function TSMonitorLGGetVariableNames(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -7761,7 +7761,7 @@ See also: `TS`, `TSMonitorSet()`, `TSMonitorLGCtxCreate()`, `TSMonitorLGSNESIter $(_doc_external("TS/TSMonitorLGKSPIterations")) """ function TSMonitorLGKSPIterations(petsclib::PetscLibType, ts::AbstractTS, n::Integer, ptime::Real, v::AbstractPetscVec, monctx::Ptr{Cvoid}) - error("TSMonitorLGKSPIterations: no generated method for these argument types") + throw(MethodError(TSMonitorLGKSPIterations, (petsclib, ts, n, ptime, v, monctx))) end @for_petsc function TSMonitorLGKSPIterations(petsclib::$UnionPetscLib, ts::AbstractTS, n::$PetscInt, ptime::$PetscReal, v::AbstractPetscVec, monctx::Ptr{Cvoid} ) @@ -7798,7 +7798,7 @@ See also: `TS`, `TSMonitorSet()`, `TSMonitorLGCtxCreate()`, `TSMonitorLGKSPItera $(_doc_external("TS/TSMonitorLGSNESIterations")) """ function TSMonitorLGSNESIterations(petsclib::PetscLibType, ts::AbstractTS, n::Integer, ptime::Real, v::AbstractPetscVec, monctx::Ptr{Cvoid}) - error("TSMonitorLGSNESIterations: no generated method for these argument types") + throw(MethodError(TSMonitorLGSNESIterations, (petsclib, ts, n, ptime, v, monctx))) end @for_petsc function TSMonitorLGSNESIterations(petsclib::$UnionPetscLib, ts::AbstractTS, n::$PetscInt, ptime::$PetscReal, v::AbstractPetscVec, monctx::Ptr{Cvoid} ) @@ -7832,7 +7832,7 @@ See also: `TS`, `TSMonitorSet()`, `TSMonitorDefault()`, `VecView()`, `TSMonitorL $(_doc_external("TS/TSMonitorLGSetDisplayVariables")) """ function TSMonitorLGSetDisplayVariables(petsclib::PetscLibType, ts::AbstractTS, displaynames::Cchar) - error("TSMonitorLGSetDisplayVariables: no generated method for these argument types") + throw(MethodError(TSMonitorLGSetDisplayVariables, (petsclib, ts, displaynames))) end @for_petsc function TSMonitorLGSetDisplayVariables(petsclib::$UnionPetscLib, ts::AbstractTS, displaynames::Cchar ) @@ -7873,7 +7873,7 @@ See also: `TSMonitorSet()`, `TSMonitorLGCtxSetTransform()`, `TSMonitorDefault()` $(_doc_external("TS/TSMonitorLGSetTransform")) """ function TSMonitorLGSetTransform(petsclib::PetscLibType, ts::AbstractTS, transform::external, destroy::Ptr{Cvoid}, tctx::Ptr{Cvoid}) - error("TSMonitorLGSetTransform: no generated method for these argument types") + throw(MethodError(TSMonitorLGSetTransform, (petsclib, ts, transform, destroy, tctx))) end @for_petsc function TSMonitorLGSetTransform(petsclib::$UnionPetscLib, ts::AbstractTS, transform::external, destroy::Ptr{Cvoid}, tctx::Ptr{Cvoid} ) @@ -7907,7 +7907,7 @@ See also: `TS`, `TSMonitorSet()`, `TSMonitorDefault()`, `VecView()`, `TSMonitorL $(_doc_external("TS/TSMonitorLGSetVariableNames")) """ function TSMonitorLGSetVariableNames(petsclib::PetscLibType, ts::AbstractTS, names::Cchar) - error("TSMonitorLGSetVariableNames: no generated method for these argument types") + throw(MethodError(TSMonitorLGSetVariableNames, (petsclib, ts, names))) end @for_petsc function TSMonitorLGSetVariableNames(petsclib::$UnionPetscLib, ts::AbstractTS, names::Cchar ) @@ -7951,7 +7951,7 @@ See also: `TSMonitorSet()`, `TSMonitorDefault()`, `VecView()`, `TSMonitorLGCtxCr $(_doc_external("TS/TSMonitorLGSolution")) """ function TSMonitorLGSolution(petsclib::PetscLibType, ts::AbstractTS, step::Integer, ptime::Real, u::AbstractPetscVec, dctx::Ptr{Cvoid}) - error("TSMonitorLGSolution: no generated method for these argument types") + throw(MethodError(TSMonitorLGSolution, (petsclib, ts, step, ptime, u, dctx))) end @for_petsc function TSMonitorLGSolution(petsclib::$UnionPetscLib, ts::AbstractTS, step::$PetscInt, ptime::$PetscReal, u::AbstractPetscVec, dctx::Ptr{Cvoid} ) @@ -7988,7 +7988,7 @@ See also: `TS`, `TSMonitorLGCtxCreate()`, `TSMonitorSet()`, `TSMonitorLGCtxDestr $(_doc_external("TS/TSMonitorLGTimeStep")) """ function TSMonitorLGTimeStep(petsclib::PetscLibType, ts::AbstractTS, step::Integer, ptime::Real, v::AbstractPetscVec, monctx::Ptr{Cvoid}) - error("TSMonitorLGTimeStep: no generated method for these argument types") + throw(MethodError(TSMonitorLGTimeStep, (petsclib, ts, step, ptime, v, monctx))) end @for_petsc function TSMonitorLGTimeStep(petsclib::$UnionPetscLib, ts::AbstractTS, step::$PetscInt, ptime::$PetscReal, v::AbstractPetscVec, monctx::Ptr{Cvoid} ) @@ -8028,7 +8028,7 @@ See also: `TS`, `TSMonitorSet()`, `TSMonitorSPEigCtxCreate()`, `TSMonitorSPEigCt $(_doc_external("TS/TSMonitorSPEig")) """ function TSMonitorSPEig(petsclib::PetscLibType, ts::AbstractTS, step::Integer, ptime::Real, v::AbstractPetscVec, monctx::Ptr{Cvoid}) - error("TSMonitorSPEig: no generated method for these argument types") + throw(MethodError(TSMonitorSPEig, (petsclib, ts, step, ptime, v, monctx))) end @for_petsc function TSMonitorSPEig(petsclib::$UnionPetscLib, ts::AbstractTS, step::$PetscInt, ptime::$PetscReal, v::AbstractPetscVec, monctx::Ptr{Cvoid} ) @@ -8069,7 +8069,7 @@ See also: `TS`, `TSMonitorSet()`, `DMSWARM`, `TSMonitorSPCtxCreate()` $(_doc_external("TS/TSMonitorSPSwarmSolution")) """ function TSMonitorSPSwarmSolution(petsclib::PetscLibType, ts::AbstractTS, step::Integer, ptime::Real, u::AbstractPetscVec, dctx::Ptr{Cvoid}) - error("TSMonitorSPSwarmSolution: no generated method for these argument types") + throw(MethodError(TSMonitorSPSwarmSolution, (petsclib, ts, step, ptime, u, dctx))) end @for_petsc function TSMonitorSPSwarmSolution(petsclib::$UnionPetscLib, ts::AbstractTS, step::$PetscInt, ptime::$PetscReal, u::AbstractPetscVec, dctx::Ptr{Cvoid} ) @@ -8115,7 +8115,7 @@ See also: `TSMonitorDefault()`, `TSMonitorCancel()`, `TSDMSwarmMonitorMoments()` $(_doc_external("TS/TSMonitorSet")) """ function TSMonitorSet(petsclib::PetscLibType, ts::AbstractTS, monitor::external, mctx::Ptr{Cvoid}, mdestroy::Ptr{Cvoid}) - error("TSMonitorSet: no generated method for these argument types") + throw(MethodError(TSMonitorSet, (petsclib, ts, monitor, mctx, mdestroy))) end @for_petsc function TSMonitorSet(petsclib::$UnionPetscLib, ts::AbstractTS, monitor::external, mctx::Ptr{Cvoid}, mdestroy::Ptr{Cvoid} ) @@ -8170,7 +8170,7 @@ See also: `TS`, `TSMonitorSet()`, `PetscOptionsCreateViewer()`, `PetscOptionsGet $(_doc_external("TS/TSMonitorSetFromOptions")) """ function TSMonitorSetFromOptions(petsclib::PetscLibType, ts::AbstractTS, name::String, help::String, manual::String, monitor::external, monitorsetup::external) - error("TSMonitorSetFromOptions: no generated method for these argument types") + throw(MethodError(TSMonitorSetFromOptions, (petsclib, ts, name, help, manual, monitor, monitorsetup))) end @for_petsc function TSMonitorSetFromOptions(petsclib::$UnionPetscLib, ts::AbstractTS, name::String, help::String, manual::String, monitor::external, monitorsetup::external ) @@ -8207,7 +8207,7 @@ See also: `TS`, `TSMonitorSet()`, `TSMonitorDefault()`, `VecView()`, `TSMonitorS $(_doc_external("TS/TSMonitorSolution")) """ function TSMonitorSolution(petsclib::PetscLibType, ts::AbstractTS, step::Integer, ptime::Real, u::AbstractPetscVec, vf::Vector{PetscViewerAndFormat}) - error("TSMonitorSolution: no generated method for these argument types") + throw(MethodError(TSMonitorSolution, (petsclib, ts, step, ptime, u, vf))) end @for_petsc function TSMonitorSolution(petsclib::$UnionPetscLib, ts::AbstractTS, step::$PetscInt, ptime::$PetscReal, u::AbstractPetscVec, vf::Vector{PetscViewerAndFormat} ) @@ -8241,7 +8241,7 @@ See also: `TS`, `TSMonitorSolution()`, `TSMonitorSet()`, `TSMonitorDefault()`, ` $(_doc_external("TS/TSMonitorSolutionSetup")) """ function TSMonitorSolutionSetup(petsclib::PetscLibType, ts::AbstractTS, vf::Vector{PetscViewerAndFormat}) - error("TSMonitorSolutionSetup: no generated method for these argument types") + throw(MethodError(TSMonitorSolutionSetup, (petsclib, ts, vf))) end @for_petsc function TSMonitorSolutionSetup(petsclib::$UnionPetscLib, ts::AbstractTS, vf::Vector{PetscViewerAndFormat} ) @@ -8278,7 +8278,7 @@ See also: `TS`, `TSMonitorSet()`, `TSMonitorDefault()`, `VecView()` $(_doc_external("TS/TSMonitorSolutionVTK")) """ function TSMonitorSolutionVTK(petsclib::PetscLibType, ts::AbstractTS, step::Integer, ptime::Real, u::AbstractPetscVec, ctx::TSMonitorVTKCtx) - error("TSMonitorSolutionVTK: no generated method for these argument types") + throw(MethodError(TSMonitorSolutionVTK, (petsclib, ts, step, ptime, u, ctx))) end @for_petsc function TSMonitorSolutionVTK(petsclib::$UnionPetscLib, ts::AbstractTS, step::$PetscInt, ptime::$PetscReal, u::AbstractPetscVec, ctx::TSMonitorVTKCtx ) @@ -8314,7 +8314,7 @@ See also: `TSMonitorSet()`, `TSMonitorSolutionVTK()`, `TSMonitorSolutionVTKDestr $(_doc_external("TS/TSMonitorSolutionVTKCtxCreate")) """ function TSMonitorSolutionVTKCtxCreate(petsclib::PetscLibType, filenametemplate::String) - error("TSMonitorSolutionVTKCtxCreate: no generated method for these argument types") + throw(MethodError(TSMonitorSolutionVTKCtxCreate, (petsclib, filenametemplate))) end @for_petsc function TSMonitorSolutionVTKCtxCreate(petsclib::$UnionPetscLib, filenametemplate::String ) @@ -8349,7 +8349,7 @@ See also: `TSMonitorSet()`, `TSMonitorSolutionVTK()` $(_doc_external("TS/TSMonitorSolutionVTKDestroy")) """ function TSMonitorSolutionVTKDestroy(petsclib::PetscLibType, ctx::Union{TSMonitorVTKCtx, Ref{TSMonitorVTKCtx}}) - error("TSMonitorSolutionVTKDestroy: no generated method for these argument types") + throw(MethodError(TSMonitorSolutionVTKDestroy, (petsclib, ctx))) end @for_petsc function TSMonitorSolutionVTKDestroy(petsclib::$UnionPetscLib, ctx::Union{TSMonitorVTKCtx, Ref{TSMonitorVTKCtx}} ) @@ -8390,7 +8390,7 @@ See also: `TSMonitorSet()`, `TSMonitorDefault()`, `TSMonitorExtreme()`, `TSMonit $(_doc_external("TS/TSMonitorWallClockTime")) """ function TSMonitorWallClockTime(petsclib::PetscLibType, ts::AbstractTS, step::Integer, ptime::Real, v::AbstractPetscVec, vf::Vector{PetscViewerAndFormat}) - error("TSMonitorWallClockTime: no generated method for these argument types") + throw(MethodError(TSMonitorWallClockTime, (petsclib, ts, step, ptime, v, vf))) end @for_petsc function TSMonitorWallClockTime(petsclib::$UnionPetscLib, ts::AbstractTS, step::$PetscInt, ptime::$PetscReal, v::AbstractPetscVec, vf::Vector{PetscViewerAndFormat} ) @@ -8422,7 +8422,7 @@ See also: `TSMonitorSet()` $(_doc_external("TS/TSMonitorWallClockTimeSetUp")) """ function TSMonitorWallClockTimeSetUp(petsclib::PetscLibType, ts::AbstractTS, vf::Vector{PetscViewerAndFormat}) - error("TSMonitorWallClockTimeSetUp: no generated method for these argument types") + throw(MethodError(TSMonitorWallClockTimeSetUp, (petsclib, ts, vf))) end @for_petsc function TSMonitorWallClockTimeSetUp(petsclib::$UnionPetscLib, ts::AbstractTS, vf::Vector{PetscViewerAndFormat} ) @@ -8455,7 +8455,7 @@ See also: `TS`, `TSSetPostEvaluate()`, `TSSetPreStep()`, `TSPreStep()`, `TSPostS $(_doc_external("TS/TSPostEvaluate")) """ function TSPostEvaluate(petsclib::PetscLibType, ts::AbstractTS) - error("TSPostEvaluate: no generated method for these argument types") + throw(MethodError(TSPostEvaluate, (petsclib, ts))) end @for_petsc function TSPostEvaluate(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -8491,7 +8491,7 @@ See also: `TS`, `TSPreStage()`, `TSSetPreStep()`, `TSPreStep()`, `TSPostStep()` $(_doc_external("TS/TSPostStage")) """ function TSPostStage(petsclib::PetscLibType, ts::AbstractTS, stagetime::Real, stageindex::Integer, Y::Vector{<:AbstractPetscVec}) - error("TSPostStage: no generated method for these argument types") + throw(MethodError(TSPostStage, (petsclib, ts, stagetime, stageindex, Y))) end @for_petsc function TSPostStage(petsclib::$UnionPetscLib, ts::AbstractTS, stagetime::$PetscReal, stageindex::$PetscInt, Y::Vector{<:AbstractPetscVec} ) @@ -8522,7 +8522,7 @@ See also: `TS`, `TSSetPreStep()`, `TSSetPreStage()`, `TSSetPostEvaluate()`, `TSG $(_doc_external("TS/TSPostStep")) """ function TSPostStep(petsclib::PetscLibType, ts::AbstractTS) - error("TSPostStep: no generated method for these argument types") + throw(MethodError(TSPostStep, (petsclib, ts))) end @for_petsc function TSPostStep(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -8556,7 +8556,7 @@ See also: `TS`, `TSPostStage()`, `TSSetPreStep()`, `TSPreStep()`, `TSPostStep()` $(_doc_external("TS/TSPreStage")) """ function TSPreStage(petsclib::PetscLibType, ts::AbstractTS, stagetime::Real) - error("TSPreStage: no generated method for these argument types") + throw(MethodError(TSPreStage, (petsclib, ts, stagetime))) end @for_petsc function TSPreStage(petsclib::$UnionPetscLib, ts::AbstractTS, stagetime::$PetscReal ) @@ -8589,7 +8589,7 @@ See also: `TS`, `TSSetPreStep()`, `TSPreStage()`, `TSPostStage()`, `TSPostStep() $(_doc_external("TS/TSPreStep")) """ function TSPreStep(petsclib::PetscLibType, ts::AbstractTS) - error("TSPreStep: no generated method for these argument types") + throw(MethodError(TSPreStep, (petsclib, ts))) end @for_petsc function TSPreStep(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -8624,7 +8624,7 @@ See also: `TS`, `MatFDColoring`, `TSComputeIJacobianDefaultColor()`, `MatElimina $(_doc_external("TS/TSPruneIJacobianColor")) """ function TSPruneIJacobianColor(petsclib::PetscLibType, ts::AbstractTS, J::AbstractPetscMat, B::AbstractPetscMat) - error("TSPruneIJacobianColor: no generated method for these argument types") + throw(MethodError(TSPruneIJacobianColor, (petsclib, ts, J, B))) end @for_petsc function TSPruneIJacobianColor(petsclib::$UnionPetscLib, ts::AbstractTS, J::AbstractPetscMat, B::AbstractPetscMat ) @@ -8664,7 +8664,7 @@ See also: `TSPSEUDO` $(_doc_external("TS/TSPseudoComputeFunction")) """ function TSPseudoComputeFunction(petsclib::PetscLibType, ts::AbstractTS, solution::AbstractPetscVec) - error("TSPseudoComputeFunction: no generated method for these argument types") + throw(MethodError(TSPseudoComputeFunction, (petsclib, ts, solution))) end @for_petsc function TSPseudoComputeFunction(petsclib::$UnionPetscLib, ts::AbstractTS, solution::AbstractPetscVec ) @@ -8705,7 +8705,7 @@ See also: `TSPSEUDO`, `TSPseudoSetTimeStep()`, `TSPseudoTimeStepDefault()` $(_doc_external("TS/TSPseudoIncrementDtFromInitialDt")) """ function TSPseudoIncrementDtFromInitialDt(petsclib::PetscLibType, ts::AbstractTS) - error("TSPseudoIncrementDtFromInitialDt: no generated method for these argument types") + throw(MethodError(TSPseudoIncrementDtFromInitialDt, (petsclib, ts))) end @for_petsc function TSPseudoIncrementDtFromInitialDt(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -8743,7 +8743,7 @@ See also: `TSPSEUDO`, `TSPseudoSetTimeStep()`, `TSPseudoTimeStepDefault()` $(_doc_external("TS/TSPseudoSetMaxTimeStep")) """ function TSPseudoSetMaxTimeStep(petsclib::PetscLibType, ts::AbstractTS, maxdt::Real) - error("TSPseudoSetMaxTimeStep: no generated method for these argument types") + throw(MethodError(TSPseudoSetMaxTimeStep, (petsclib, ts, maxdt))) end @for_petsc function TSPseudoSetMaxTimeStep(petsclib::$UnionPetscLib, ts::AbstractTS, maxdt::$PetscReal ) @@ -8784,7 +8784,7 @@ See also: `TSPSEUDO`, `TSPseudoTimeStepDefault()`, `TSPseudoComputeTimeStep()` $(_doc_external("TS/TSPseudoSetTimeStep")) """ function TSPseudoSetTimeStep(petsclib::PetscLibType, ts::AbstractTS, dt::external, ctx::Ptr{Cvoid}) - error("TSPseudoSetTimeStep: no generated method for these argument types") + throw(MethodError(TSPseudoSetTimeStep, (petsclib, ts, dt, ctx))) end @for_petsc function TSPseudoSetTimeStep(petsclib::$UnionPetscLib, ts::AbstractTS, dt::external, ctx::Ptr{Cvoid} ) @@ -8822,7 +8822,7 @@ See also: `TSPSEUDO`, `TSPseudoSetTimeStep()`, `TSPseudoTimeStepDefault()` $(_doc_external("TS/TSPseudoSetTimeStepIncrement")) """ function TSPseudoSetTimeStepIncrement(petsclib::PetscLibType, ts::AbstractTS, inc::Real) - error("TSPseudoSetTimeStepIncrement: no generated method for these argument types") + throw(MethodError(TSPseudoSetTimeStepIncrement, (petsclib, ts, inc))) end @for_petsc function TSPseudoSetTimeStepIncrement(petsclib::$UnionPetscLib, ts::AbstractTS, inc::$PetscReal ) @@ -8865,7 +8865,7 @@ See also: `TSPSEUDO`, `TSPseudoVerifyTimeStepDefault()`, `TSPseudoVerifyTimeStep $(_doc_external("TS/TSPseudoSetVerifyTimeStep")) """ function TSPseudoSetVerifyTimeStep(petsclib::PetscLibType, ts::AbstractTS, dt::external, ctx::Ptr{Cvoid}) - error("TSPseudoSetVerifyTimeStep: no generated method for these argument types") + throw(MethodError(TSPseudoSetVerifyTimeStep, (petsclib, ts, dt, ctx))) end @for_petsc function TSPseudoSetVerifyTimeStep(petsclib::$UnionPetscLib, ts::AbstractTS, dt::external, ctx::Ptr{Cvoid} ) @@ -8902,7 +8902,7 @@ See also: `TSPseudoSetTimeStep()`, `TSPseudoComputeTimeStep()`, `TSPSEUDO` $(_doc_external("TS/TSPseudoTimeStepDefault")) """ function TSPseudoTimeStepDefault(petsclib::PetscLibType, ts::AbstractTS, dtctx::Ptr{Cvoid}) - error("TSPseudoTimeStepDefault: no generated method for these argument types") + throw(MethodError(TSPseudoTimeStepDefault, (petsclib, ts, dtctx))) end @for_petsc function TSPseudoTimeStepDefault(petsclib::$UnionPetscLib, ts::AbstractTS, dtctx::Ptr{Cvoid} ) @@ -8940,7 +8940,7 @@ See also: `TSCreate()`, `TSSetType()`, `TSPYTHON`, `PetscPythonInitialize()`, `T $(_doc_external("TS/TSPythonGetType")) """ function TSPythonGetType(petsclib::PetscLibType, ts::AbstractTS) - error("TSPythonGetType: no generated method for these argument types") + throw(MethodError(TSPythonGetType, (petsclib, ts))) end @for_petsc function TSPythonGetType(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -8979,7 +8979,7 @@ See also: `TSCreate()`, `TSSetType()`, `TSPYTHON`, `PetscPythonInitialize()` $(_doc_external("TS/TSPythonSetType")) """ function TSPythonSetType(petsclib::PetscLibType, ts::AbstractTS, pyname::String) - error("TSPythonSetType: no generated method for these argument types") + throw(MethodError(TSPythonSetType, (petsclib, ts, pyname))) end @for_petsc function TSPythonSetType(petsclib::$UnionPetscLib, ts::AbstractTS, pyname::String ) @@ -9013,7 +9013,7 @@ See also: `TS`, `TSSetRHSJacobian()`, `TSComputeRHSJacobianConstant()` $(_doc_external("TS/TSRHSJacobianSetReuse")) """ function TSRHSJacobianSetReuse(petsclib::PetscLibType, ts::AbstractTS, reuse::PetscBool) - error("TSRHSJacobianSetReuse: no generated method for these argument types") + throw(MethodError(TSRHSJacobianSetReuse, (petsclib, ts, reuse))) end @for_petsc function TSRHSJacobianSetReuse(petsclib::$UnionPetscLib, ts::AbstractTS, reuse::PetscBool ) @@ -9052,7 +9052,7 @@ See also: `TS`, `Mat`, `MATSHELL`, `MatCreateShell()`, `MatShellGetContext()`, ` $(_doc_external("TS/TSRHSJacobianTest")) """ function TSRHSJacobianTest(petsclib::PetscLibType, ts::AbstractTS) - error("TSRHSJacobianTest: no generated method for these argument types") + throw(MethodError(TSRHSJacobianTest, (petsclib, ts))) end @for_petsc function TSRHSJacobianTest(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -9093,7 +9093,7 @@ See also: `TS`, `Mat`, `MatCreateShell()`, `MatShellGetContext()`, `MatShellGetO $(_doc_external("TS/TSRHSJacobianTestTranspose")) """ function TSRHSJacobianTestTranspose(petsclib::PetscLibType, ts::AbstractTS) - error("TSRHSJacobianTestTranspose: no generated method for these argument types") + throw(MethodError(TSRHSJacobianTestTranspose, (petsclib, ts))) end @for_petsc function TSRHSJacobianTestTranspose(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -9132,7 +9132,7 @@ See also: `TS`, `IS`, `TSRHSSplitSetIS()` $(_doc_external("TS/TSRHSSplitGetIS")) """ function TSRHSSplitGetIS(petsclib::PetscLibType, ts::AbstractTS, splitname::String) - error("TSRHSSplitGetIS: no generated method for these argument types") + throw(MethodError(TSRHSSplitGetIS, (petsclib, ts, splitname))) end @for_petsc function TSRHSSplitGetIS(petsclib::$UnionPetscLib, ts::AbstractTS, splitname::String ) @@ -9171,7 +9171,7 @@ See also: `TS`, `SNES`, `TSCreate()`, `TSRHSSplitSetSNES()` $(_doc_external("TS/TSRHSSplitGetSNES")) """ function TSRHSSplitGetSNES(petsclib::PetscLibType, ts::AbstractTS) - error("TSRHSSplitGetSNES: no generated method for these argument types") + throw(MethodError(TSRHSSplitGetSNES, (petsclib, ts))) end @for_petsc function TSRHSSplitGetSNES(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -9210,7 +9210,7 @@ See also: `TS`, `IS`, `TSGetRHSSplitFunction()` $(_doc_external("TS/TSRHSSplitGetSubTS")) """ function TSRHSSplitGetSubTS(petsclib::PetscLibType, ts::AbstractTS, splitname::String) - error("TSRHSSplitGetSubTS: no generated method for these argument types") + throw(MethodError(TSRHSSplitGetSubTS, (petsclib, ts, splitname))) end @for_petsc function TSRHSSplitGetSubTS(petsclib::$UnionPetscLib, ts::AbstractTS, splitname::String ) @@ -9249,7 +9249,7 @@ See also: `TS`, `IS`, `TSGetRHSSplitFunction()` $(_doc_external("TS/TSRHSSplitGetSubTSs")) """ function TSRHSSplitGetSubTSs(petsclib::PetscLibType, ts::AbstractTS) - error("TSRHSSplitGetSubTSs: no generated method for these argument types") + throw(MethodError(TSRHSSplitGetSubTSs, (petsclib, ts))) end @for_petsc function TSRHSSplitGetSubTSs(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -9290,7 +9290,7 @@ See also: `TS`, `TSIFunctionFn`, `IS`, `TSRHSSplitSetIS()`, `TSARKIMEX`, `TSARKI $(_doc_external("TS/TSRHSSplitSetIFunction")) """ function TSRHSSplitSetIFunction(petsclib::PetscLibType, ts::AbstractTS, splitname::String, r::AbstractPetscVec, ifunc::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("TSRHSSplitSetIFunction: no generated method for these argument types") + throw(MethodError(TSRHSSplitSetIFunction, (petsclib, ts, splitname, r, ifunc, ctx))) end @for_petsc function TSRHSSplitSetIFunction(petsclib::$UnionPetscLib, ts::AbstractTS, splitname::String, r::AbstractPetscVec, ifunc::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -9328,7 +9328,7 @@ See also: `TS`, `TSRHSSplitSetIFunction`, `TSIJacobianFn`, `IS`, `TSRHSSplitSetI $(_doc_external("TS/TSRHSSplitSetIJacobian")) """ function TSRHSSplitSetIJacobian(petsclib::PetscLibType, ts::AbstractTS, splitname::String, Amat::AbstractPetscMat, Pmat::AbstractPetscMat, ijac::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("TSRHSSplitSetIJacobian: no generated method for these argument types") + throw(MethodError(TSRHSSplitSetIJacobian, (petsclib, ts, splitname, Amat, Pmat, ijac, ctx))) end @for_petsc function TSRHSSplitSetIJacobian(petsclib::$UnionPetscLib, ts::AbstractTS, splitname::String, Amat::AbstractPetscMat, Pmat::AbstractPetscMat, ijac::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -9363,7 +9363,7 @@ See also: `TS`, `IS`, `TSRHSSplitGetIS()`, `TSARKIMEXSetFastSlowSplit()` $(_doc_external("TS/TSRHSSplitSetIS")) """ function TSRHSSplitSetIS(petsclib::PetscLibType, ts::AbstractTS, splitname::String, is::AbstractIS) - error("TSRHSSplitSetIS: no generated method for these argument types") + throw(MethodError(TSRHSSplitSetIS, (petsclib, ts, splitname, is))) end @for_petsc function TSRHSSplitSetIS(petsclib::$UnionPetscLib, ts::AbstractTS, splitname::String, is::AbstractIS ) @@ -9400,7 +9400,7 @@ See also: `TS`, `TSRHSFunctionFn`, `IS`, `TSRHSSplitSetIS()` $(_doc_external("TS/TSRHSSplitSetRHSFunction")) """ function TSRHSSplitSetRHSFunction(petsclib::PetscLibType, ts::AbstractTS, splitname::String, r::AbstractPetscVec, rhsfunc::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("TSRHSSplitSetRHSFunction: no generated method for these argument types") + throw(MethodError(TSRHSSplitSetRHSFunction, (petsclib, ts, splitname, r, rhsfunc, ctx))) end @for_petsc function TSRHSSplitSetRHSFunction(petsclib::$UnionPetscLib, ts::AbstractTS, splitname::String, r::AbstractPetscVec, rhsfunc::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -9435,7 +9435,7 @@ See also: `TS`, `SNES`, `TSCreate()`, `TSRHSSplitGetSNES()` $(_doc_external("TS/TSRHSSplitSetSNES")) """ function TSRHSSplitSetSNES(petsclib::PetscLibType, ts::AbstractTS, snes::AbstractSNES) - error("TSRHSSplitSetSNES: no generated method for these argument types") + throw(MethodError(TSRHSSplitSetSNES, (petsclib, ts, snes))) end @for_petsc function TSRHSSplitSetSNES(petsclib::$UnionPetscLib, ts::AbstractTS, snes::AbstractSNES ) @@ -9464,7 +9464,7 @@ See also: `PetscFinalize()`, `TSRKInitializePackage()` $(_doc_external("TS/TSRKFinalizePackage")) """ function TSRKFinalizePackage(petsclib::PetscLibType) - error("TSRKFinalizePackage: no generated method for these argument types") + throw(MethodError(TSRKFinalizePackage, (petsclib, ))) end @for_petsc function TSRKFinalizePackage(petsclib::$UnionPetscLib) @@ -9499,7 +9499,7 @@ See also: `TSRK`, `TSRKSetMultirate()` $(_doc_external("TS/TSRKGetMultirate")) """ function TSRKGetMultirate(petsclib::PetscLibType, ts::AbstractTS) - error("TSRKGetMultirate: no generated method for these argument types") + throw(MethodError(TSRKGetMultirate, (petsclib, ts))) end @for_petsc function TSRKGetMultirate(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -9537,7 +9537,7 @@ See also: `TSRK`, `TSRKGetType()` $(_doc_external("TS/TSRKGetOrder")) """ function TSRKGetOrder(petsclib::PetscLibType, ts::AbstractTS) - error("TSRKGetOrder: no generated method for these argument types") + throw(MethodError(TSRKGetOrder, (petsclib, ts))) end @for_petsc function TSRKGetOrder(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -9582,7 +9582,7 @@ See also: `TSRK`, `TSRKRegister()`, `TSRKSetType()` $(_doc_external("TS/TSRKGetTableau")) """ function TSRKGetTableau(petsclib::PetscLibType, ts::AbstractTS) - error("TSRKGetTableau: no generated method for these argument types") + throw(MethodError(TSRKGetTableau, (petsclib, ts))) end @for_petsc function TSRKGetTableau(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -9634,7 +9634,7 @@ See also: `TSRKSetType()` $(_doc_external("TS/TSRKGetType")) """ function TSRKGetType(petsclib::PetscLibType, ts::AbstractTS) - error("TSRKGetType: no generated method for these argument types") + throw(MethodError(TSRKGetType, (petsclib, ts))) end @for_petsc function TSRKGetType(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -9665,7 +9665,7 @@ See also: `TSInitializePackage()`, `PetscInitialize()`, `TSRKFinalizePackage()` $(_doc_external("TS/TSRKInitializePackage")) """ function TSRKInitializePackage(petsclib::PetscLibType) - error("TSRKInitializePackage: no generated method for these argument types") + throw(MethodError(TSRKInitializePackage, (petsclib, ))) end @for_petsc function TSRKInitializePackage(petsclib::$UnionPetscLib) @@ -9705,7 +9705,7 @@ See also: `TSRK` $(_doc_external("TS/TSRKRegister")) """ function TSRKRegister(petsclib::PetscLibType, name::String, order::Integer, s::Integer, A::AbstractVector{<:Number}, b::AbstractVector{<:Number}, c::AbstractVector{<:Number}, bembed::AbstractVector{<:Number}, p::Integer, binterp::AbstractVector{<:Number}) - error("TSRKRegister: no generated method for these argument types") + throw(MethodError(TSRKRegister, (petsclib, name, order, s, A, b, c, bembed, p, binterp))) end @for_petsc function TSRKRegister(petsclib::$UnionPetscLib, name::String, order::$PetscInt, s::$PetscInt, A::Vector{$PetscReal}, b::Vector{$PetscReal}, c::Vector{$PetscReal}, bembed::Vector{$PetscReal}, p::$PetscInt, binterp::Vector{$PetscReal} ) @@ -9735,7 +9735,7 @@ See also: `TSRK`, `TSRKRegister()`, `TSRKRegisterAll()` $(_doc_external("TS/TSRKRegisterDestroy")) """ function TSRKRegisterDestroy(petsclib::PetscLibType) - error("TSRKRegisterDestroy: no generated method for these argument types") + throw(MethodError(TSRKRegisterDestroy, (petsclib, ))) end @for_petsc function TSRKRegisterDestroy(petsclib::$UnionPetscLib) @@ -9771,7 +9771,7 @@ See also: `TSRK`, `TSRKGetMultirate()` $(_doc_external("TS/TSRKSetMultirate")) """ function TSRKSetMultirate(petsclib::PetscLibType, ts::AbstractTS, use_multirate::PetscBool) - error("TSRKSetMultirate: no generated method for these argument types") + throw(MethodError(TSRKSetMultirate, (petsclib, ts, use_multirate))) end @for_petsc function TSRKSetMultirate(petsclib::$UnionPetscLib, ts::AbstractTS, use_multirate::PetscBool ) @@ -9808,7 +9808,7 @@ See also: `TSRKGetType()`, `TSRK`, `TSRKType`, `TSRK1FE`, `TSRK2A`, `TSRK2B`, `T $(_doc_external("TS/TSRKSetType")) """ function TSRKSetType(petsclib::PetscLibType, ts::AbstractTS, rktype::String) - error("TSRKSetType: no generated method for these argument types") + throw(MethodError(TSRKSetType, (petsclib, ts, rktype))) end @for_petsc function TSRKSetType(petsclib::$UnionPetscLib, ts::AbstractTS, rktype::String ) @@ -9845,7 +9845,7 @@ See also: `TSSetType()`, `TSType`, `TSRegisterAll()`, `TSRegisterDestroy()` $(_doc_external("TS/TSRegister")) """ function TSRegister(petsclib::PetscLibType, sname::String, fnc::external) - error("TSRegister: no generated method for these argument types") + throw(MethodError(TSRegister, (petsclib, sname, fnc))) end @for_petsc function TSRegister(petsclib::$UnionPetscLib, sname::String, fnc::external ) @@ -9878,7 +9878,7 @@ See also: `TSTrajectory`, `TSResetTrajectory()`, `TSAdjointSolve()` $(_doc_external("TS/TSRemoveTrajectory")) """ function TSRemoveTrajectory(petsclib::PetscLibType, ts::AbstractTS) - error("TSRemoveTrajectory: no generated method for these argument types") + throw(MethodError(TSRemoveTrajectory, (petsclib, ts))) end @for_petsc function TSRemoveTrajectory(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -9911,7 +9911,7 @@ See also: `TS`, `TSCreate()`, `TSSetUp()`, `TSDestroy()`, `TSSetResize()` $(_doc_external("TS/TSReset")) """ function TSReset(petsclib::PetscLibType, ts::AbstractTS) - error("TSReset: no generated method for these argument types") + throw(MethodError(TSReset, (petsclib, ts))) end @for_petsc function TSReset(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -9944,7 +9944,7 @@ See also: `TSTrajectory`, `TSGetTrajectory()`, `TSAdjointSolve()`, `TSRemoveTraj $(_doc_external("TS/TSResetTrajectory")) """ function TSResetTrajectory(petsclib::PetscLibType, ts::AbstractTS) - error("TSResetTrajectory: no generated method for these argument types") + throw(MethodError(TSResetTrajectory, (petsclib, ts))) end @for_petsc function TSResetTrajectory(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -9977,7 +9977,7 @@ See also: `TS`, `TSSetResize()` $(_doc_external("TS/TSResize")) """ function TSResize(petsclib::PetscLibType, ts::AbstractTS) - error("TSResize: no generated method for these argument types") + throw(MethodError(TSResize, (petsclib, ts))) end @for_petsc function TSResize(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -10012,7 +10012,7 @@ See also: `TS`, `TSSetResize()`, `TSResize()`, `TSResizeRetrieveVec()` $(_doc_external("TS/TSResizeRegisterVec")) """ function TSResizeRegisterVec(petsclib::PetscLibType, ts::AbstractTS, name::String, vec::AbstractPetscVec) - error("TSResizeRegisterVec: no generated method for these argument types") + throw(MethodError(TSResizeRegisterVec, (petsclib, ts, name, vec))) end @for_petsc function TSResizeRegisterVec(petsclib::$UnionPetscLib, ts::AbstractTS, name::String, vec::AbstractPetscVec ) @@ -10047,7 +10047,7 @@ See also: `TS`, `TSSetResize()`, `TSResize()`, `TSResizeRegisterVec()` $(_doc_external("TS/TSResizeRetrieveVec")) """ function TSResizeRetrieveVec(petsclib::PetscLibType, ts::AbstractTS, name::String, vec::AbstractPetscVec) - error("TSResizeRetrieveVec: no generated method for these argument types") + throw(MethodError(TSResizeRetrieveVec, (petsclib, ts, name, vec))) end @for_petsc function TSResizeRetrieveVec(petsclib::$UnionPetscLib, ts::AbstractTS, name::String, vec::AbstractPetscVec ) @@ -10082,7 +10082,7 @@ See also: `TS`, `TSBDF`, `TSSolve()`, `TSSetPreStep()`, `TSSetPostStep()` $(_doc_external("TS/TSRestartStep")) """ function TSRestartStep(petsclib::PetscLibType, ts::AbstractTS) - error("TSRestartStep: no generated method for these argument types") + throw(MethodError(TSRestartStep, (petsclib, ts))) end @for_petsc function TSRestartStep(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -10115,7 +10115,7 @@ See also: `TS`, `TSGetStepRollBack()`, `TSCreate()`, `TSSetUp()`, `TSDestroy()`, $(_doc_external("TS/TSRollBack")) """ function TSRollBack(petsclib::PetscLibType, ts::AbstractTS) - error("TSRollBack: no generated method for these argument types") + throw(MethodError(TSRollBack, (petsclib, ts))) end @for_petsc function TSRollBack(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -10144,7 +10144,7 @@ See also: `TSROSW`, `PetscFinalize()`, `TSRosWInitializePackage()` $(_doc_external("TS/TSRosWFinalizePackage")) """ function TSRosWFinalizePackage(petsclib::PetscLibType) - error("TSRosWFinalizePackage: no generated method for these argument types") + throw(MethodError(TSRosWFinalizePackage, (petsclib, ))) end @for_petsc function TSRosWFinalizePackage(petsclib::$UnionPetscLib) @@ -10179,7 +10179,7 @@ See also: `TSRosWType`, `TSRosWSetType()` $(_doc_external("TS/TSRosWGetType")) """ function TSRosWGetType(petsclib::PetscLibType, ts::AbstractTS) - error("TSRosWGetType: no generated method for these argument types") + throw(MethodError(TSRosWGetType, (petsclib, ts))) end @for_petsc function TSRosWGetType(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -10210,7 +10210,7 @@ See also: `TSROSW`, `PetscInitialize()`, `TSRosWFinalizePackage()` $(_doc_external("TS/TSRosWInitializePackage")) """ function TSRosWInitializePackage(petsclib::PetscLibType) - error("TSRosWInitializePackage: no generated method for these argument types") + throw(MethodError(TSRosWInitializePackage, (petsclib, ))) end @for_petsc function TSRosWInitializePackage(petsclib::$UnionPetscLib) @@ -10250,7 +10250,7 @@ See also: `TSROSW` $(_doc_external("TS/TSRosWRegister")) """ function TSRosWRegister(petsclib::PetscLibType, name::String, order::Integer, s::Integer, A::AbstractVector{<:Number}, Gamma::AbstractVector{<:Number}, b::AbstractVector{<:Number}, bembed::AbstractVector{<:Number}, pinterp::Integer, binterpt::AbstractVector{<:Number}) - error("TSRosWRegister: no generated method for these argument types") + throw(MethodError(TSRosWRegister, (petsclib, name, order, s, A, Gamma, b, bembed, pinterp, binterpt))) end @for_petsc function TSRosWRegister(petsclib::$UnionPetscLib, name::String, order::$PetscInt, s::$PetscInt, A::Vector{$PetscReal}, Gamma::Vector{$PetscReal}, b::Vector{$PetscReal}, bembed::Vector{$PetscReal}, pinterp::$PetscInt, binterpt::Vector{$PetscReal} ) @@ -10280,7 +10280,7 @@ See also: `TSRosWRegister()`, `TSRosWRegisterAll()` $(_doc_external("TS/TSRosWRegisterDestroy")) """ function TSRosWRegisterDestroy(petsclib::PetscLibType) - error("TSRosWRegisterDestroy: no generated method for these argument types") + throw(MethodError(TSRosWRegisterDestroy, (petsclib, ))) end @for_petsc function TSRosWRegisterDestroy(petsclib::$UnionPetscLib) @@ -10317,7 +10317,7 @@ See also: `TSROSW`, `TSRosWRegister()` $(_doc_external("TS/TSRosWRegisterRos4")) """ function TSRosWRegisterRos4(petsclib::PetscLibType, name::String, gamma::Real, a2::Real, a3::Real, b3::Real, e4::Real) - error("TSRosWRegisterRos4: no generated method for these argument types") + throw(MethodError(TSRosWRegisterRos4, (petsclib, name, gamma, a2, a3, b3, e4))) end @for_petsc function TSRosWRegisterRos4(petsclib::$UnionPetscLib, name::String, gamma::$PetscReal, a2::$PetscReal, a3::$PetscReal, b3::$PetscReal, e4::$PetscReal ) @@ -10351,7 +10351,7 @@ See also: `TSRosWType`, `TSRosWGetType()` $(_doc_external("TS/TSRosWSetRecomputeJacobian")) """ function TSRosWSetRecomputeJacobian(petsclib::PetscLibType, ts::AbstractTS, flg::PetscBool) - error("TSRosWSetRecomputeJacobian: no generated method for these argument types") + throw(MethodError(TSRosWSetRecomputeJacobian, (petsclib, ts, flg))) end @for_petsc function TSRosWSetRecomputeJacobian(petsclib::$UnionPetscLib, ts::AbstractTS, flg::PetscBool ) @@ -10385,7 +10385,7 @@ See also: `TSRosWGetType()`, `TSROSW`, `TSROSW2M`, `TSROSW2P`, `TSROSWRA3PW`, `T $(_doc_external("TS/TSRosWSetType")) """ function TSRosWSetType(petsclib::PetscLibType, ts::AbstractTS, roswtype::String) - error("TSRosWSetType: no generated method for these argument types") + throw(MethodError(TSRosWSetType, (petsclib, ts, roswtype))) end @for_petsc function TSRosWSetType(petsclib::$UnionPetscLib, ts::AbstractTS, roswtype::String ) @@ -10414,7 +10414,7 @@ See also: `PetscFinalize()`, `TSSSPInitiallizePackage()`, `TSInitializePackage() $(_doc_external("TS/TSSSPFinalizePackage")) """ function TSSSPFinalizePackage(petsclib::PetscLibType) - error("TSSSPFinalizePackage: no generated method for these argument types") + throw(MethodError(TSSSPFinalizePackage, (petsclib, ))) end @for_petsc function TSSSPFinalizePackage(petsclib::$UnionPetscLib) @@ -10449,7 +10449,7 @@ See also: `TSSSP`, `TSSSPGetType()`, `TSSSPSetNumStages()`, `TSSSPRKS2`, `TSSSPR $(_doc_external("TS/TSSSPGetNumStages")) """ function TSSSPGetNumStages(petsclib::PetscLibType, ts::AbstractTS) - error("TSSSPGetNumStages: no generated method for these argument types") + throw(MethodError(TSSSPGetNumStages, (petsclib, ts))) end @for_petsc function TSSSPGetNumStages(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -10487,7 +10487,7 @@ See also: `TSSSP`, `TSSSPSetType()`, `TSSSPSetNumStages()`, `TSSSPRKS2`, `TSSSPR $(_doc_external("TS/TSSSPGetType")) """ function TSSSPGetType(petsclib::PetscLibType, ts::AbstractTS) - error("TSSSPGetType: no generated method for these argument types") + throw(MethodError(TSSSPGetType, (petsclib, ts))) end @for_petsc function TSSSPGetType(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -10518,7 +10518,7 @@ See also: `PetscInitialize()`, `TSSSPFinalizePackage()`, `TSInitializePackage()` $(_doc_external("TS/TSSSPInitializePackage")) """ function TSSSPInitializePackage(petsclib::PetscLibType) - error("TSSSPInitializePackage: no generated method for these argument types") + throw(MethodError(TSSSPInitializePackage, (petsclib, ))) end @for_petsc function TSSSPInitializePackage(petsclib::$UnionPetscLib) @@ -10556,7 +10556,7 @@ See also: `TSSSP`, `TSSSPGetNumStages()`, `TSSSPRKS2`, `TSSSPRKS3`, `TSSSPRK104` $(_doc_external("TS/TSSSPSetNumStages")) """ function TSSSPSetNumStages(petsclib::PetscLibType, ts::AbstractTS, nstages::Integer) - error("TSSSPSetNumStages: no generated method for these argument types") + throw(MethodError(TSSSPSetNumStages, (petsclib, ts, nstages))) end @for_petsc function TSSSPSetNumStages(petsclib::$UnionPetscLib, ts::AbstractTS, nstages::$PetscInt ) @@ -10594,7 +10594,7 @@ See also: `TSSSP`, `TSSSPGetType()`, `TSSSPSetNumStages()`, `TSSSPRKS2`, `TSSSPR $(_doc_external("TS/TSSSPSetType")) """ function TSSSPSetType(petsclib::PetscLibType, ts::AbstractTS, ssptype::String) - error("TSSSPSetType: no generated method for these argument types") + throw(MethodError(TSSSPSetType, (petsclib, ts, ssptype))) end @for_petsc function TSSSPSetType(petsclib::$UnionPetscLib, ts::AbstractTS, ssptype::String ) @@ -10629,7 +10629,7 @@ See also: `TS`, `TSGetApplicationContext()` $(_doc_external("TS/TSSetApplicationContext")) """ function TSSetApplicationContext(petsclib::PetscLibType, ts::AbstractTS, ctx::Ptr{Cvoid}) - error("TSSetApplicationContext: no generated method for these argument types") + throw(MethodError(TSSetApplicationContext, (petsclib, ts, ctx))) end @for_petsc function TSSetApplicationContext(petsclib::$UnionPetscLib, ts::AbstractTS, ctx::Ptr{Cvoid} ) @@ -10661,7 +10661,7 @@ See also: `TSGetCFLTime()`, `TSADAPTCFL` $(_doc_external("TS/TSSetCFLTimeLocal")) """ function TSSetCFLTimeLocal(petsclib::PetscLibType, ts::AbstractTS, cfltime::Real) - error("TSSetCFLTimeLocal: no generated method for these argument types") + throw(MethodError(TSSetCFLTimeLocal, (petsclib, ts, cfltime))) end @for_petsc function TSSetCFLTimeLocal(petsclib::$UnionPetscLib, ts::AbstractTS, cfltime::$PetscReal ) @@ -10700,7 +10700,7 @@ See also: `TS`, `TSGetComputeExactError()`, `TSComputeExactError()` $(_doc_external("TS/TSSetComputeExactError")) """ function TSSetComputeExactError(petsclib::PetscLibType, ts::AbstractTS, exactError::external) - error("TSSetComputeExactError: no generated method for these argument types") + throw(MethodError(TSSetComputeExactError, (petsclib, ts, exactError))) end @for_petsc function TSSetComputeExactError(petsclib::$UnionPetscLib, ts::AbstractTS, exactError::external ) @@ -10738,7 +10738,7 @@ See also: `TS`, `TSGetComputeInitialCondition()`, `TSComputeInitialCondition()` $(_doc_external("TS/TSSetComputeInitialCondition")) """ function TSSetComputeInitialCondition(petsclib::PetscLibType, ts::AbstractTS, initCondition::external) - error("TSSetComputeInitialCondition: no generated method for these argument types") + throw(MethodError(TSSetComputeInitialCondition, (petsclib, ts, initCondition))) end @for_petsc function TSSetComputeInitialCondition(petsclib::$UnionPetscLib, ts::AbstractTS, initCondition::external ) @@ -10773,7 +10773,7 @@ See also: `TS`, `TSSolve()`, `TSConvergedReason` $(_doc_external("TS/TSSetConvergedReason")) """ function TSSetConvergedReason(petsclib::PetscLibType, ts::AbstractTS, reason::TSConvergedReason) - error("TSSetConvergedReason: no generated method for these argument types") + throw(MethodError(TSSetConvergedReason, (petsclib, ts, reason))) end @for_petsc function TSSetConvergedReason(petsclib::$UnionPetscLib, ts::AbstractTS, reason::TSConvergedReason ) @@ -10810,7 +10810,7 @@ See also: `TS`, `TSAdjointSolve()`, `TSGetCostGradients()` $(_doc_external("Sensitivity/TSSetCostGradients")) """ function TSSetCostGradients(petsclib::PetscLibType, ts::AbstractTS, numcost::Integer, lambda::Vector{<:AbstractPetscVec}, mu::Vector{<:AbstractPetscVec}) - error("TSSetCostGradients: no generated method for these argument types") + throw(MethodError(TSSetCostGradients, (petsclib, ts, numcost, lambda, mu))) end @for_petsc function TSSetCostGradients(petsclib::$UnionPetscLib, ts::AbstractTS, numcost::$PetscInt, lambda::Vector{<:AbstractPetscVec}, mu::Vector{<:AbstractPetscVec} ) @@ -10848,7 +10848,7 @@ See also: `TS`, `TSAdjointSolve()`, `TSAdjointSetForward()` $(_doc_external("Sensitivity/TSSetCostHessianProducts")) """ function TSSetCostHessianProducts(petsclib::PetscLibType, ts::AbstractTS, numcost::Integer, lambda2::Vector{<:AbstractPetscVec}, mu2::Vector{<:AbstractPetscVec}, dir::AbstractPetscVec) - error("TSSetCostHessianProducts: no generated method for these argument types") + throw(MethodError(TSSetCostHessianProducts, (petsclib, ts, numcost, lambda2, mu2, dir))) end @for_petsc function TSSetCostHessianProducts(petsclib::$UnionPetscLib, ts::AbstractTS, numcost::$PetscInt, lambda2::Vector{<:AbstractPetscVec}, mu2::Vector{<:AbstractPetscVec}, dir::AbstractPetscVec ) @@ -10882,7 +10882,7 @@ See also: `TS`, `DM`, `TSGetDM()`, `SNESSetDM()`, `SNESGetDM()` $(_doc_external("TS/TSSetDM")) """ function TSSetDM(petsclib::PetscLibType, ts::AbstractTS, dm::AbstractPetscDM) - error("TSSetDM: no generated method for these argument types") + throw(MethodError(TSSetDM, (petsclib, ts, dm))) end @for_petsc function TSSetDM(petsclib::$UnionPetscLib, ts::AbstractTS, dm::AbstractPetscDM ) @@ -10916,7 +10916,7 @@ See also: `TS`, `TSGetEquationType()`, `TSEquationType` $(_doc_external("TS/TSSetEquationType")) """ function TSSetEquationType(petsclib::PetscLibType, ts::AbstractTS, equation_type::TSEquationType) - error("TSSetEquationType: no generated method for these argument types") + throw(MethodError(TSSetEquationType, (petsclib, ts, equation_type))) end @for_petsc function TSSetEquationType(petsclib::$UnionPetscLib, ts::AbstractTS, equation_type::TSEquationType ) @@ -10953,7 +10953,7 @@ See also: `TS`, `TSGetSNESIterations()`, `TSGetKSPIterations()`, `TSSetMaxStepRe $(_doc_external("TS/TSSetErrorIfStepFails")) """ function TSSetErrorIfStepFails(petsclib::PetscLibType, ts::AbstractTS, err::PetscBool) - error("TSSetErrorIfStepFails: no generated method for these argument types") + throw(MethodError(TSSetErrorIfStepFails, (petsclib, ts, err))) end @for_petsc function TSSetErrorIfStepFails(petsclib::$UnionPetscLib, ts::AbstractTS, err::PetscBool ) @@ -10991,7 +10991,7 @@ See also: `TS`, `TSGetEvaluationTimes()`, `TSGetEvaluationSolutions()`, `TSSetTi $(_doc_external("TS/TSSetEvaluationTimes")) """ function TSSetEvaluationTimes(petsclib::PetscLibType, ts::AbstractTS, n::Integer, time_points::AbstractVector{<:Number}) - error("TSSetEvaluationTimes: no generated method for these argument types") + throw(MethodError(TSSetEvaluationTimes, (petsclib, ts, n, time_points))) end @for_petsc function TSSetEvaluationTimes(petsclib::$UnionPetscLib, ts::AbstractTS, n::$PetscInt, time_points::Vector{$PetscReal} ) @@ -11059,7 +11059,7 @@ See also: `TSEvent`, `TSCreate()`, `TSSetTimeStep()`, `TSSetConvergedReason()` $(_doc_external("TS/TSSetEventHandler")) """ function TSSetEventHandler(petsclib::PetscLibType, ts::AbstractTS, nevents::Integer, direction::AbstractVector{<:Number}, terminate::Vector{PetscBool}, indicator::external, postevent::external, ctx::Ptr{Cvoid}) - error("TSSetEventHandler: no generated method for these argument types") + throw(MethodError(TSSetEventHandler, (petsclib, ts, nevents, direction, terminate, indicator, postevent, ctx))) end @for_petsc function TSSetEventHandler(petsclib::$UnionPetscLib, ts::AbstractTS, nevents::$PetscInt, direction::Vector{$PetscInt}, terminate::Vector{PetscBool}, indicator::external, postevent::external, ctx::Ptr{Cvoid} ) @@ -11097,7 +11097,7 @@ See also: `TS`, `TSEvent`, `TSSetEventHandler()` $(_doc_external("TS/TSSetEventTolerances")) """ function TSSetEventTolerances(petsclib::PetscLibType, ts::AbstractTS, tol::Real, vtol::AbstractVector{<:Number}) - error("TSSetEventTolerances: no generated method for these argument types") + throw(MethodError(TSSetEventTolerances, (petsclib, ts, tol, vtol))) end @for_petsc function TSSetEventTolerances(petsclib::$UnionPetscLib, ts::AbstractTS, tol::$PetscReal, vtol::Vector{$PetscReal} ) @@ -11142,7 +11142,7 @@ See also: `TS`, `TSExactFinalTimeOption`, `TSGetExactFinalTime()` $(_doc_external("TS/TSSetExactFinalTime")) """ function TSSetExactFinalTime(petsclib::PetscLibType, ts::AbstractTS, eftopt::TSExactFinalTimeOption) - error("TSSetExactFinalTime: no generated method for these argument types") + throw(MethodError(TSSetExactFinalTime, (petsclib, ts, eftopt))) end @for_petsc function TSSetExactFinalTime(petsclib::$UnionPetscLib, ts::AbstractTS, eftopt::TSExactFinalTimeOption ) @@ -11179,7 +11179,7 @@ See also: `TS`, `TSForcingFn`, `TSSetRHSJacobian()`, `TSSetIJacobian()`, $(_doc_external("TS/TSSetForcingFunction")) """ function TSSetForcingFunction(petsclib::PetscLibType, ts::AbstractTS, func::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("TSSetForcingFunction: no generated method for these argument types") + throw(MethodError(TSSetForcingFunction, (petsclib, ts, func, ctx))) end @for_petsc function TSSetForcingFunction(petsclib::$UnionPetscLib, ts::AbstractTS, func::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -11254,7 +11254,7 @@ See also: `TS`, `TSGetType()` $(_doc_external("TS/TSSetFromOptions")) """ function TSSetFromOptions(petsclib::PetscLibType, ts::AbstractTS) - error("TSSetFromOptions: no generated method for these argument types") + throw(MethodError(TSSetFromOptions, (petsclib, ts))) end @for_petsc function TSSetFromOptions(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -11294,7 +11294,7 @@ See also: `TSAdaptCheckStage()`, `TSFunctionDomainError()`, `SNESSetFunctionDoma $(_doc_external("TS/TSSetFunctionDomainError")) """ function TSSetFunctionDomainError(petsclib::PetscLibType, ts::AbstractTS, func::external) - error("TSSetFunctionDomainError: no generated method for these argument types") + throw(MethodError(TSSetFunctionDomainError, (petsclib, ts, func))) end @for_petsc function TSSetFunctionDomainError(petsclib::$UnionPetscLib, ts::AbstractTS, func::external ) @@ -11331,7 +11331,7 @@ See also: `TS`, `TSI2FunctionFn`, `TSSetI2Jacobian()`, `TSSetIFunction()`, $(_doc_external("TS/TSSetI2Function")) """ function TSSetI2Function(petsclib::PetscLibType, ts::AbstractTS, F::AbstractPetscVec, fun::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("TSSetI2Function: no generated method for these argument types") + throw(MethodError(TSSetI2Function, (petsclib, ts, F, fun, ctx))) end @for_petsc function TSSetI2Function(petsclib::$UnionPetscLib, ts::AbstractTS, F::AbstractPetscVec, fun::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -11369,7 +11369,7 @@ See also: `TS`, `TSI2JacobianFn`, `TSSetI2Function()`, `TSGetI2Jacobian()` $(_doc_external("TS/TSSetI2Jacobian")) """ function TSSetI2Jacobian(petsclib::PetscLibType, ts::AbstractTS, J::AbstractPetscMat, P::AbstractPetscMat, jac::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("TSSetI2Jacobian: no generated method for these argument types") + throw(MethodError(TSSetI2Jacobian, (petsclib, ts, J, P, jac, ctx))) end @for_petsc function TSSetI2Jacobian(petsclib::$UnionPetscLib, ts::AbstractTS, J::AbstractPetscMat, P::AbstractPetscMat, jac::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -11406,7 +11406,7 @@ See also: `TS`, `TSIFunctionFn`, `TSSetRHSJacobian()`, `TSSetRHSFunction()`, $(_doc_external("TS/TSSetIFunction")) """ function TSSetIFunction(petsclib::PetscLibType, ts::AbstractTS, r::AbstractPetscVec, f::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("TSSetIFunction: no generated method for these argument types") + throw(MethodError(TSSetIFunction, (petsclib, ts, r, f, ctx))) end @for_petsc function TSSetIFunction(petsclib::$UnionPetscLib, ts::AbstractTS, r::AbstractPetscVec, f::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -11457,7 +11457,7 @@ See also: `TS` $(_doc_external("Sensitivity/TSSetIHessianProduct")) """ function TSSetIHessianProduct(petsclib::PetscLibType, ts::AbstractTS, ihp1::Vector{<:AbstractPetscVec}, ihessianproductfunc1::external, ihp2::Vector{<:AbstractPetscVec}, ihessianproductfunc2::external, ihp3::Vector{<:AbstractPetscVec}, ihessianproductfunc3::external, ihp4::Vector{<:AbstractPetscVec}, ihessianproductfunc4::external, ctx::Ptr{Cvoid}) - error("TSSetIHessianProduct: no generated method for these argument types") + throw(MethodError(TSSetIHessianProduct, (petsclib, ts, ihp1, ihessianproductfunc1, ihp2, ihessianproductfunc2, ihp3, ihessianproductfunc3, ihp4, ihessianproductfunc4, ctx))) end @for_petsc function TSSetIHessianProduct(petsclib::$UnionPetscLib, ts::AbstractTS, ihp1::Vector{<:AbstractPetscVec}, ihessianproductfunc1::external, ihp2::Vector{<:AbstractPetscVec}, ihessianproductfunc2::external, ihp3::Vector{<:AbstractPetscVec}, ihessianproductfunc3::external, ihp4::Vector{<:AbstractPetscVec}, ihessianproductfunc4::external, ctx::Ptr{Cvoid} ) @@ -11496,7 +11496,7 @@ See also: `TS`, `TSIJacobianFn`, `TSSetIFunction()`, `TSSetRHSJacobian()`, $(_doc_external("TS/TSSetIJacobian")) """ function TSSetIJacobian(petsclib::PetscLibType, ts::AbstractTS, Amat::AbstractPetscMat, Pmat::AbstractPetscMat, f::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("TSSetIJacobian: no generated method for these argument types") + throw(MethodError(TSSetIJacobian, (petsclib, ts, Amat, Pmat, f, ctx))) end @for_petsc function TSSetIJacobian(petsclib::$UnionPetscLib, ts::AbstractTS, Amat::AbstractPetscMat, Pmat::AbstractPetscMat, f::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -11541,7 +11541,7 @@ See also: `TSSetRHSJacobianP()`, `TS` $(_doc_external("Sensitivity/TSSetIJacobianP")) """ function TSSetIJacobianP(petsclib::PetscLibType, ts::AbstractTS, Amat::AbstractPetscMat, func::external, ctx::Ptr{Cvoid}) - error("TSSetIJacobianP: no generated method for these argument types") + throw(MethodError(TSSetIJacobianP, (petsclib, ts, Amat, func, ctx))) end @for_petsc function TSSetIJacobianP(petsclib::$UnionPetscLib, ts::AbstractTS, Amat::AbstractPetscMat, func::external, ctx::Ptr{Cvoid} ) @@ -11575,7 +11575,7 @@ See also: `TS`, `MatAXPY()`, `MatStructure` $(_doc_external("TS/TSSetMatStructure")) """ function TSSetMatStructure(petsclib::PetscLibType, ts::AbstractTS, str::MatStructure) - error("TSSetMatStructure: no generated method for these argument types") + throw(MethodError(TSSetMatStructure, (petsclib, ts, str))) end @for_petsc function TSSetMatStructure(petsclib::$UnionPetscLib, ts::AbstractTS, str::MatStructure ) @@ -11613,7 +11613,7 @@ See also: `TS`, `SNES`, `TSGetSNESIterations()`, `TSGetKSPIterations()`, `TSSetM $(_doc_external("TS/TSSetMaxSNESFailures")) """ function TSSetMaxSNESFailures(petsclib::PetscLibType, ts::AbstractTS, fails::Integer) - error("TSSetMaxSNESFailures: no generated method for these argument types") + throw(MethodError(TSSetMaxSNESFailures, (petsclib, ts, fails))) end @for_petsc function TSSetMaxSNESFailures(petsclib::$UnionPetscLib, ts::AbstractTS, fails::$PetscInt ) @@ -11651,7 +11651,7 @@ See also: `TS`, `SNES`, `TSGetSNESIterations()`, `TSGetKSPIterations()`, `TSSetM $(_doc_external("TS/TSSetMaxStepRejections")) """ function TSSetMaxStepRejections(petsclib::PetscLibType, ts::AbstractTS, rejects::Integer) - error("TSSetMaxStepRejections: no generated method for these argument types") + throw(MethodError(TSSetMaxStepRejections, (petsclib, ts, rejects))) end @for_petsc function TSSetMaxStepRejections(petsclib::$UnionPetscLib, ts::AbstractTS, rejects::$PetscInt ) @@ -11688,7 +11688,7 @@ See also: `TS`, `TSGetMaxSteps()`, `TSSetMaxTime()`, `TSSetExactFinalTime()` $(_doc_external("TS/TSSetMaxSteps")) """ function TSSetMaxSteps(petsclib::PetscLibType, ts::AbstractTS, maxsteps::Integer) - error("TSSetMaxSteps: no generated method for these argument types") + throw(MethodError(TSSetMaxSteps, (petsclib, ts, maxsteps))) end @for_petsc function TSSetMaxSteps(petsclib::$UnionPetscLib, ts::AbstractTS, maxsteps::$PetscInt ) @@ -11725,7 +11725,7 @@ See also: `TS`, `TSGetMaxTime()`, `TSSetMaxSteps()`, `TSSetExactFinalTime()` $(_doc_external("TS/TSSetMaxTime")) """ function TSSetMaxTime(petsclib::PetscLibType, ts::AbstractTS, maxtime::Real) - error("TSSetMaxTime: no generated method for these argument types") + throw(MethodError(TSSetMaxTime, (petsclib, ts, maxtime))) end @for_petsc function TSSetMaxTime(petsclib::$UnionPetscLib, ts::AbstractTS, maxtime::$PetscReal ) @@ -11760,7 +11760,7 @@ See also: `TS`, `TSSetFromOptions()`, `TSAppendOptionsPrefix()` $(_doc_external("TS/TSSetOptionsPrefix")) """ function TSSetOptionsPrefix(petsclib::PetscLibType, ts::AbstractTS, prefix::String) - error("TSSetOptionsPrefix: no generated method for these argument types") + throw(MethodError(TSSetOptionsPrefix, (petsclib, ts, prefix))) end @for_petsc function TSSetOptionsPrefix(petsclib::$UnionPetscLib, ts::AbstractTS, prefix::String ) @@ -11798,7 +11798,7 @@ See also: `TS`, `TSSetPreStage()`, `TSSetPreStep()`, `TSSetPostStep()`, `TSGetAp $(_doc_external("TS/TSSetPostEvaluate")) """ function TSSetPostEvaluate(petsclib::PetscLibType, ts::AbstractTS, func::external) - error("TSSetPostEvaluate: no generated method for these argument types") + throw(MethodError(TSSetPostEvaluate, (petsclib, ts, func))) end @for_petsc function TSSetPostEvaluate(petsclib::$UnionPetscLib, ts::AbstractTS, func::external ) @@ -11835,7 +11835,7 @@ See also: `TS`, `TSEvent`, `TSSetEventHandler()`, `TSSetPostEventStep()` $(_doc_external("TS/TSSetPostEventSecondStep")) """ function TSSetPostEventSecondStep(petsclib::PetscLibType, ts::AbstractTS, dt2::Real) - error("TSSetPostEventSecondStep: no generated method for these argument types") + throw(MethodError(TSSetPostEventSecondStep, (petsclib, ts, dt2))) end @for_petsc function TSSetPostEventSecondStep(petsclib::$UnionPetscLib, ts::AbstractTS, dt2::$PetscReal ) @@ -11872,7 +11872,7 @@ See also: `TS`, `TSEvent`, `TSSetEventHandler()`, `TSSetPostEventSecondStep()` $(_doc_external("TS/TSSetPostEventStep")) """ function TSSetPostEventStep(petsclib::PetscLibType, ts::AbstractTS, dt1::Real) - error("TSSetPostEventStep: no generated method for these argument types") + throw(MethodError(TSSetPostEventStep, (petsclib, ts, dt1))) end @for_petsc function TSSetPostEventStep(petsclib::$UnionPetscLib, ts::AbstractTS, dt1::$PetscReal ) @@ -11913,7 +11913,7 @@ See also: `TS`, `TSSetPreStage()`, `TSSetPreStep()`, `TSSetPostStep()`, `TSGetAp $(_doc_external("TS/TSSetPostStage")) """ function TSSetPostStage(petsclib::PetscLibType, ts::AbstractTS, func::external) - error("TSSetPostStage: no generated method for these argument types") + throw(MethodError(TSSetPostStage, (petsclib, ts, func))) end @for_petsc function TSSetPostStage(petsclib::$UnionPetscLib, ts::AbstractTS, func::external ) @@ -11951,7 +11951,7 @@ See also: `TS`, `TSSetPreStep()`, `TSSetPreStage()`, `TSSetPostEvaluate()`, `TSG $(_doc_external("TS/TSSetPostStep")) """ function TSSetPostStep(petsclib::PetscLibType, ts::AbstractTS, func::external) - error("TSSetPostStep: no generated method for these argument types") + throw(MethodError(TSSetPostStep, (petsclib, ts, func))) end @for_petsc function TSSetPostStep(petsclib::$UnionPetscLib, ts::AbstractTS, func::external ) @@ -11990,7 +11990,7 @@ See also: `TS`, `TSSetPostStage()`, `TSSetPreStep()`, `TSSetPostStep()`, `TSGetA $(_doc_external("TS/TSSetPreStage")) """ function TSSetPreStage(petsclib::PetscLibType, ts::AbstractTS, func::external) - error("TSSetPreStage: no generated method for these argument types") + throw(MethodError(TSSetPreStage, (petsclib, ts, func))) end @for_petsc function TSSetPreStage(petsclib::$UnionPetscLib, ts::AbstractTS, func::external ) @@ -12028,7 +12028,7 @@ See also: `TS`, `TSSetPreStage()`, `TSSetPostStage()`, `TSSetPostStep()`, `TSSte $(_doc_external("TS/TSSetPreStep")) """ function TSSetPreStep(petsclib::PetscLibType, ts::AbstractTS, func::external) - error("TSSetPreStep: no generated method for these argument types") + throw(MethodError(TSSetPreStep, (petsclib, ts, func))) end @for_petsc function TSSetPreStep(petsclib::$UnionPetscLib, ts::AbstractTS, func::external ) @@ -12067,7 +12067,7 @@ See also: `TSSetUp()`, `TSProblemType`, `TS` $(_doc_external("TS/TSSetProblemType")) """ function TSSetProblemType(petsclib::PetscLibType, ts::AbstractTS, type::TSProblemType) - error("TSSetProblemType: no generated method for these argument types") + throw(MethodError(TSSetProblemType, (petsclib, ts, type))) end @for_petsc function TSSetProblemType(petsclib::$UnionPetscLib, ts::AbstractTS, type::TSProblemType ) @@ -12104,7 +12104,7 @@ See also: `TS`, `TSRHSFunctionFn`, `TSSetRHSJacobian()`, `TSSetIJacobian()`, `TS $(_doc_external("TS/TSSetRHSFunction")) """ function TSSetRHSFunction(petsclib::PetscLibType, ts::AbstractTS, r::AbstractPetscVec, f::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("TSSetRHSFunction: no generated method for these argument types") + throw(MethodError(TSSetRHSFunction, (petsclib, ts, r, f, ctx))) end @for_petsc function TSSetRHSFunction(petsclib::$UnionPetscLib, ts::AbstractTS, r::AbstractPetscVec, f::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -12157,7 +12157,7 @@ See also: `TS`, `TSAdjoint` $(_doc_external("Sensitivity/TSSetRHSHessianProduct")) """ function TSSetRHSHessianProduct(petsclib::PetscLibType, ts::AbstractTS, rhshp1::Vector{<:AbstractPetscVec}, rhshessianproductfunc1::external, rhshp2::Vector{<:AbstractPetscVec}, rhshessianproductfunc2::external, rhshp3::Vector{<:AbstractPetscVec}, rhshessianproductfunc3::external, rhshp4::Vector{<:AbstractPetscVec}, rhshessianproductfunc4::external, ctx::Ptr{Cvoid}) - error("TSSetRHSHessianProduct: no generated method for these argument types") + throw(MethodError(TSSetRHSHessianProduct, (petsclib, ts, rhshp1, rhshessianproductfunc1, rhshp2, rhshessianproductfunc2, rhshp3, rhshessianproductfunc3, rhshp4, rhshessianproductfunc4, ctx))) end @for_petsc function TSSetRHSHessianProduct(petsclib::$UnionPetscLib, ts::AbstractTS, rhshp1::Vector{<:AbstractPetscVec}, rhshessianproductfunc1::external, rhshp2::Vector{<:AbstractPetscVec}, rhshessianproductfunc2::external, rhshp3::Vector{<:AbstractPetscVec}, rhshessianproductfunc3::external, rhshp4::Vector{<:AbstractPetscVec}, rhshessianproductfunc4::external, ctx::Ptr{Cvoid} ) @@ -12196,7 +12196,7 @@ See also: `TS`, `TSRHSJacobianFn`, `SNESComputeJacobianDefaultColor()`, $(_doc_external("TS/TSSetRHSJacobian")) """ function TSSetRHSJacobian(petsclib::PetscLibType, ts::AbstractTS, Amat::AbstractPetscMat, Pmat::AbstractPetscMat, f::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("TSSetRHSJacobian: no generated method for these argument types") + throw(MethodError(TSSetRHSJacobian, (petsclib, ts, Amat, Pmat, f, ctx))) end @for_petsc function TSSetRHSJacobian(petsclib::$UnionPetscLib, ts::AbstractTS, Amat::AbstractPetscMat, Pmat::AbstractPetscMat, f::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -12232,7 +12232,7 @@ See also: `TS`, `TSRHSJacobianPFn`, `TSGetRHSJacobianP()` $(_doc_external("Sensitivity/TSSetRHSJacobianP")) """ function TSSetRHSJacobianP(petsclib::PetscLibType, ts::AbstractTS, Amat::AbstractPetscMat, func::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("TSSetRHSJacobianP: no generated method for these argument types") + throw(MethodError(TSSetRHSJacobianP, (petsclib, ts, Amat, func, ctx))) end @for_petsc function TSSetRHSJacobianP(petsclib::$UnionPetscLib, ts::AbstractTS, Amat::AbstractPetscMat, func::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -12282,7 +12282,7 @@ See also: `TS`, `TSSetDM()`, `TSSetIJacobian()`, `TSSetRHSJacobian()` $(_doc_external("TS/TSSetResize")) """ function TSSetResize(petsclib::PetscLibType, ts::AbstractTS, rollback::PetscBool, setup::external, transfer::external, ctx::Ptr{Cvoid}) - error("TSSetResize: no generated method for these argument types") + throw(MethodError(TSSetResize, (petsclib, ts, rollback, setup, transfer, ctx))) end @for_petsc function TSSetResize(petsclib::$UnionPetscLib, ts::AbstractTS, rollback::PetscBool, setup::external, transfer::external, ctx::Ptr{Cvoid} ) @@ -12323,7 +12323,7 @@ See also: `TS`, `TSGetRunSteps()`, `TSSetMaxTime()`, `TSSetExactFinalTime()`, `T $(_doc_external("TS/TSSetRunSteps")) """ function TSSetRunSteps(petsclib::PetscLibType, ts::AbstractTS, runsteps::Integer) - error("TSSetRunSteps: no generated method for these argument types") + throw(MethodError(TSSetRunSteps, (petsclib, ts, runsteps))) end @for_petsc function TSSetRunSteps(petsclib::$UnionPetscLib, ts::AbstractTS, runsteps::$PetscInt ) @@ -12357,7 +12357,7 @@ See also: `TS`, `SNES`, `TSCreate()`, `TSSetUp()`, `TSSolve()`, `TSGetSNES()` $(_doc_external("TS/TSSetSNES")) """ function TSSetSNES(petsclib::PetscLibType, ts::AbstractTS, snes::AbstractSNES) - error("TSSetSNES: no generated method for these argument types") + throw(MethodError(TSSetSNES, (petsclib, ts, snes))) end @for_petsc function TSSetSNES(petsclib::$UnionPetscLib, ts::AbstractTS, snes::AbstractSNES ) @@ -12394,7 +12394,7 @@ See also: `TS`, `TSTrajectoryType`, `TSTrajectory`, `TSGetTrajectory()`, `TSAdjo $(_doc_external("TS/TSSetSaveTrajectory")) """ function TSSetSaveTrajectory(petsclib::PetscLibType, ts::AbstractTS) - error("TSSetSaveTrajectory: no generated method for these argument types") + throw(MethodError(TSSetSaveTrajectory, (petsclib, ts))) end @for_petsc function TSSetSaveTrajectory(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -12429,7 +12429,7 @@ See also: `TS`, `TSSetSolutionFunction()`, `TSGetSolution()`, `TSCreate()` $(_doc_external("TS/TSSetSolution")) """ function TSSetSolution(petsclib::PetscLibType, ts::AbstractTS, u::AbstractPetscVec) - error("TSSetSolution: no generated method for these argument types") + throw(MethodError(TSSetSolution, (petsclib, ts, u))) end @for_petsc function TSSetSolution(petsclib::$UnionPetscLib, ts::AbstractTS, u::AbstractPetscVec ) @@ -12469,7 +12469,7 @@ See also: `TS`, `TSSolutionFn`, `TSSetRHSJacobian()`, `TSSetIJacobian()`, `TSCom $(_doc_external("TS/TSSetSolutionFunction")) """ function TSSetSolutionFunction(petsclib::PetscLibType, ts::AbstractTS, f::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("TSSetSolutionFunction: no generated method for these argument types") + throw(MethodError(TSSetSolutionFunction, (petsclib, ts, f, ctx))) end @for_petsc function TSSetSolutionFunction(petsclib::$UnionPetscLib, ts::AbstractTS, f::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -12503,7 +12503,7 @@ See also: `TS`, `TSGetStepNumber()`, `TSSetTime()`, `TSSetTimeStep()`, `TSSetSol $(_doc_external("TS/TSSetStepNumber")) """ function TSSetStepNumber(petsclib::PetscLibType, ts::AbstractTS, steps::Integer) - error("TSSetStepNumber: no generated method for these argument types") + throw(MethodError(TSSetStepNumber, (petsclib, ts, steps))) end @for_petsc function TSSetStepNumber(petsclib::$UnionPetscLib, ts::AbstractTS, steps::$PetscInt ) @@ -12537,7 +12537,7 @@ See also: `TS`, `TSGetTime()`, `TSSetMaxSteps()` $(_doc_external("TS/TSSetTime")) """ function TSSetTime(petsclib::PetscLibType, ts::AbstractTS, t::Real) - error("TSSetTime: no generated method for these argument types") + throw(MethodError(TSSetTime, (petsclib, ts, t))) end @for_petsc function TSSetTime(petsclib::$UnionPetscLib, ts::AbstractTS, t::$PetscReal ) @@ -12573,7 +12573,7 @@ See also: `TS`, `TSSetSolution()`, `TSGetTimeError()` $(_doc_external("TS/TSSetTimeError")) """ function TSSetTimeError(petsclib::PetscLibType, ts::AbstractTS, v::AbstractPetscVec) - error("TSSetTimeError: no generated method for these argument types") + throw(MethodError(TSSetTimeError, (petsclib, ts, v))) end @for_petsc function TSSetTimeError(petsclib::$UnionPetscLib, ts::AbstractTS, v::AbstractPetscVec ) @@ -12611,7 +12611,7 @@ See also: `TS`, `TSSetEvaluationTimes()`, `TSGetEvaluationTimes()`, `TSGetEvalua $(_doc_external("TS/TSSetTimeSpan")) """ function TSSetTimeSpan(petsclib::PetscLibType, ts::AbstractTS, n::Integer, span_times::AbstractVector{<:Number}) - error("TSSetTimeSpan: no generated method for these argument types") + throw(MethodError(TSSetTimeSpan, (petsclib, ts, n, span_times))) end @for_petsc function TSSetTimeSpan(petsclib::$UnionPetscLib, ts::AbstractTS, n::$PetscInt, span_times::Vector{$PetscReal} ) @@ -12648,7 +12648,7 @@ See also: `TS`, `TSPSEUDO`, `TSGetTimeStep()`, `TSSetTime()` $(_doc_external("TS/TSSetTimeStep")) """ function TSSetTimeStep(petsclib::PetscLibType, ts::AbstractTS, time_step::Real) - error("TSSetTimeStep: no generated method for these argument types") + throw(MethodError(TSSetTimeStep, (petsclib, ts, time_step))) end @for_petsc function TSSetTimeStep(petsclib::$UnionPetscLib, ts::AbstractTS, time_step::$PetscReal ) @@ -12689,7 +12689,7 @@ See also: `TS`, `TSAdapt`, `TSErrorWeightedNorm()`, `TSGetTolerances()` $(_doc_external("TS/TSSetTolerances")) """ function TSSetTolerances(petsclib::PetscLibType, ts::AbstractTS, atol::Real, vatol::AbstractPetscVec, rtol::Real, vrtol::AbstractPetscVec) - error("TSSetTolerances: no generated method for these argument types") + throw(MethodError(TSSetTolerances, (petsclib, ts, atol, vatol, rtol, vrtol))) end @for_petsc function TSSetTolerances(petsclib::$UnionPetscLib, ts::AbstractTS, atol::$PetscReal, vatol::AbstractPetscVec, rtol::$PetscReal, vrtol::AbstractPetscVec ) @@ -12724,7 +12724,7 @@ See also: `TS`, `TSBDF`, `TSTransientVariableFn`, `DMTSSetTransientVariable()`, $(_doc_external("TS/TSSetTransientVariable")) """ function TSSetTransientVariable(petsclib::PetscLibType, ts::AbstractTS, tvar::Ptr{Cvoid}, ctx::Ptr{Cvoid}) - error("TSSetTransientVariable: no generated method for these argument types") + throw(MethodError(TSSetTransientVariable, (petsclib, ts, tvar, ctx))) end @for_petsc function TSSetTransientVariable(petsclib::$UnionPetscLib, ts::AbstractTS, tvar::Ptr{Cvoid}, ctx::Ptr{Cvoid} ) @@ -12761,7 +12761,7 @@ See also: `TS`, `TSSolve()`, `TSCreate()`, `TSSetFromOptions()`, `TSDestroy()`, $(_doc_external("TS/TSSetType")) """ function TSSetType(petsclib::PetscLibType, ts::AbstractTS, type::String) - error("TSSetType: no generated method for these argument types") + throw(MethodError(TSSetType, (petsclib, ts, type))) end @for_petsc function TSSetType(petsclib::$UnionPetscLib, ts::AbstractTS, type::String ) @@ -12794,7 +12794,7 @@ See also: `TSCreate()`, `TS`, `TSStep()`, `TSDestroy()`, `TSSolve()` $(_doc_external("TS/TSSetUp")) """ function TSSetUp(petsclib::PetscLibType, ts::AbstractTS) - error("TSSetUp: no generated method for these argument types") + throw(MethodError(TSSetUp, (petsclib, ts))) end @for_petsc function TSSetUp(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -12831,7 +12831,7 @@ See also: `TS`, `TSGetUseSplitRHSFunction()` $(_doc_external("TS/TSSetUseSplitRHSFunction")) """ function TSSetUseSplitRHSFunction(petsclib::PetscLibType, ts::AbstractTS, use_splitrhsfunction::PetscBool) - error("TSSetUseSplitRHSFunction: no generated method for these argument types") + throw(MethodError(TSSetUseSplitRHSFunction, (petsclib, ts, use_splitrhsfunction))) end @for_petsc function TSSetUseSplitRHSFunction(petsclib::$UnionPetscLib, ts::AbstractTS, use_splitrhsfunction::PetscBool ) @@ -12866,7 +12866,7 @@ See also: `TS`, `TSCreate()`, `TSSetSolution()`, `TSStep()`, `TSGetTime()`, `TSG $(_doc_external("TS/TSSolve")) """ function TSSolve(petsclib::PetscLibType, ts::AbstractTS, u::AbstractPetscVec) - error("TSSolve: no generated method for these argument types") + throw(MethodError(TSSolve, (petsclib, ts, u))) end @for_petsc function TSSolve(petsclib::$UnionPetscLib, ts::AbstractTS, u::AbstractPetscVec ) @@ -12899,7 +12899,7 @@ See also: `TS`, `TSCreate()`, `TSSetUp()`, `TSDestroy()`, `TSSolve()`, `TSSetPre $(_doc_external("TS/TSStep")) """ function TSStep(petsclib::PetscLibType, ts::AbstractTS) - error("TSStep: no generated method for these argument types") + throw(MethodError(TSStep, (petsclib, ts))) end @for_petsc function TSStep(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -12938,7 +12938,7 @@ See also: `TSSundialsSetType()`, `TSSundialsSetMaxl()`, $(_doc_external("TS/TSSundialsGetIterations")) """ function TSSundialsGetIterations(petsclib::PetscLibType, ts::AbstractTS) - error("TSSundialsGetIterations: no generated method for these argument types") + throw(MethodError(TSSundialsGetIterations, (petsclib, ts))) end @for_petsc function TSSundialsGetIterations(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -12977,7 +12977,7 @@ See also: `TSSundialsGetIterations()`, `TSSundialsSetType()`, `TSSundialsSetMaxl $(_doc_external("TS/TSSundialsGetPC")) """ function TSSundialsGetPC(petsclib::PetscLibType, ts::AbstractTS) - error("TSSundialsGetPC: no generated method for these argument types") + throw(MethodError(TSSundialsGetPC, (petsclib, ts))) end @for_petsc function TSSundialsGetPC(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -13013,7 +13013,7 @@ See also: `TSSundialsGetIterations()`, `TSSundialsSetType()`, `TSSundialsSetMaxl $(_doc_external("TS/TSSundialsMonitorInternalSteps")) """ function TSSundialsMonitorInternalSteps(petsclib::PetscLibType, ts::AbstractTS, ft::PetscBool) - error("TSSundialsMonitorInternalSteps: no generated method for these argument types") + throw(MethodError(TSSundialsMonitorInternalSteps, (petsclib, ts, ft))) end @for_petsc function TSSundialsMonitorInternalSteps(petsclib::$UnionPetscLib, ts::AbstractTS, ft::PetscBool ) @@ -13051,7 +13051,7 @@ See also: `TSSundialsGetIterations()`, `TSSundialsSetType()`, `TSSundialsSetMaxl $(_doc_external("TS/TSSundialsSetGramSchmidtType")) """ function TSSundialsSetGramSchmidtType(petsclib::PetscLibType, ts::AbstractTS, type::TSSundialsGramSchmidtType) - error("TSSundialsSetGramSchmidtType: no generated method for these argument types") + throw(MethodError(TSSundialsSetGramSchmidtType, (petsclib, ts, type))) end @for_petsc function TSSundialsSetGramSchmidtType(petsclib::$UnionPetscLib, ts::AbstractTS, type::TSSundialsGramSchmidtType ) @@ -13090,7 +13090,7 @@ See also: `TSSundialsGetIterations()`, `TSSundialsSetType()`, `TSSundialsSetMaxl $(_doc_external("TS/TSSundialsSetLinearTolerance")) """ function TSSundialsSetLinearTolerance(petsclib::PetscLibType, ts::AbstractTS, tol::Real) - error("TSSundialsSetLinearTolerance: no generated method for these argument types") + throw(MethodError(TSSundialsSetLinearTolerance, (petsclib, ts, tol))) end @for_petsc function TSSundialsSetLinearTolerance(petsclib::$UnionPetscLib, ts::AbstractTS, tol::$PetscReal ) @@ -13122,7 +13122,7 @@ See also: `TSSundialsSetType()`, `TSSundialsSetTolerance()` $(_doc_external("TS/TSSundialsSetMaxTimeStep")) """ function TSSundialsSetMaxTimeStep(petsclib::PetscLibType, ts::AbstractTS, maxdt::Real) - error("TSSundialsSetMaxTimeStep: no generated method for these argument types") + throw(MethodError(TSSundialsSetMaxTimeStep, (petsclib, ts, maxdt))) end @for_petsc function TSSundialsSetMaxTimeStep(petsclib::$UnionPetscLib, ts::AbstractTS, maxdt::$PetscReal ) @@ -13160,7 +13160,7 @@ See also: `TSSundialsGetIterations()`, `TSSundialsSetType()`, $(_doc_external("TS/TSSundialsSetMaxl")) """ function TSSundialsSetMaxl(petsclib::PetscLibType, ts::AbstractTS, maxl::Integer) - error("TSSundialsSetMaxl: no generated method for these argument types") + throw(MethodError(TSSundialsSetMaxl, (petsclib, ts, maxl))) end @for_petsc function TSSundialsSetMaxl(petsclib::$UnionPetscLib, ts::AbstractTS, maxl::$PetscInt ) @@ -13196,7 +13196,7 @@ See also: `TSSundialsGetIterations()`, `TSSundialsSetType()`, $(_doc_external("TS/TSSundialsSetMaxord")) """ function TSSundialsSetMaxord(petsclib::PetscLibType, ts::AbstractTS, maxord::Integer) - error("TSSundialsSetMaxord: no generated method for these argument types") + throw(MethodError(TSSundialsSetMaxord, (petsclib, ts, maxord))) end @for_petsc function TSSundialsSetMaxord(petsclib::$UnionPetscLib, ts::AbstractTS, maxord::$PetscInt ) @@ -13226,7 +13226,7 @@ See also: `TSSundialsSetType()`, `TSSundialsSetTolerance()` $(_doc_external("TS/TSSundialsSetMinTimeStep")) """ function TSSundialsSetMinTimeStep(petsclib::PetscLibType, ts::AbstractTS, mindt::Real) - error("TSSundialsSetMinTimeStep: no generated method for these argument types") + throw(MethodError(TSSundialsSetMinTimeStep, (petsclib, ts, mindt))) end @for_petsc function TSSundialsSetMinTimeStep(petsclib::$UnionPetscLib, ts::AbstractTS, mindt::$PetscReal ) @@ -13268,7 +13268,7 @@ See also: `TSSundialsGetIterations()`, `TSSundialsSetType()`, `TSSundialsSetGMRE $(_doc_external("TS/TSSundialsSetTolerance")) """ function TSSundialsSetTolerance(petsclib::PetscLibType, ts::AbstractTS, aabs::Real, rel::Real) - error("TSSundialsSetTolerance: no generated method for these argument types") + throw(MethodError(TSSundialsSetTolerance, (petsclib, ts, aabs, rel))) end @for_petsc function TSSundialsSetTolerance(petsclib::$UnionPetscLib, ts::AbstractTS, aabs::$PetscReal, rel::$PetscReal ) @@ -13304,7 +13304,7 @@ See also: `TSSundialsGetIterations()`, `TSSundialsSetMaxl()`, $(_doc_external("TS/TSSundialsSetType")) """ function TSSundialsSetType(petsclib::PetscLibType, ts::AbstractTS, type::TSSundialsLmmType) - error("TSSundialsSetType: no generated method for these argument types") + throw(MethodError(TSSundialsSetType, (petsclib, ts, type))) end @for_petsc function TSSundialsSetType(petsclib::$UnionPetscLib, ts::AbstractTS, type::TSSundialsLmmType ) @@ -13338,7 +13338,7 @@ See also: `TSSUNDIALS` $(_doc_external("TS/TSSundialsSetUseDense")) """ function TSSundialsSetUseDense(petsclib::PetscLibType, ts::AbstractTS, use_dense::PetscBool) - error("TSSundialsSetUseDense: no generated method for these argument types") + throw(MethodError(TSSundialsSetUseDense, (petsclib, ts, use_dense))) end @for_petsc function TSSundialsSetUseDense(petsclib::$UnionPetscLib, ts::AbstractTS, use_dense::PetscBool ) @@ -13374,7 +13374,7 @@ See also: `TSThetaSetEndpoint()`, `TSTHETA`, `TSCN` $(_doc_external("TS/TSThetaGetEndpoint")) """ function TSThetaGetEndpoint(petsclib::PetscLibType, ts::AbstractTS) - error("TSThetaGetEndpoint: no generated method for these argument types") + throw(MethodError(TSThetaGetEndpoint, (petsclib, ts))) end @for_petsc function TSThetaGetEndpoint(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -13412,7 +13412,7 @@ See also: `TSThetaSetTheta()`, `TSTHETA` $(_doc_external("TS/TSThetaGetTheta")) """ function TSThetaGetTheta(petsclib::PetscLibType, ts::AbstractTS) - error("TSThetaGetTheta: no generated method for these argument types") + throw(MethodError(TSThetaGetTheta, (petsclib, ts))) end @for_petsc function TSThetaGetTheta(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -13451,7 +13451,7 @@ See also: `TSTHETA`, `TSCN` $(_doc_external("TS/TSThetaSetEndpoint")) """ function TSThetaSetEndpoint(petsclib::PetscLibType, ts::AbstractTS, flg::PetscBool) - error("TSThetaSetEndpoint: no generated method for these argument types") + throw(MethodError(TSThetaSetEndpoint, (petsclib, ts, flg))) end @for_petsc function TSThetaSetEndpoint(petsclib::$UnionPetscLib, ts::AbstractTS, flg::PetscBool ) @@ -13488,7 +13488,7 @@ See also: `TSThetaGetTheta()`, `TSTHETA`, `TSCN` $(_doc_external("TS/TSThetaSetTheta")) """ function TSThetaSetTheta(petsclib::PetscLibType, ts::AbstractTS, theta::Real) - error("TSThetaSetTheta: no generated method for these argument types") + throw(MethodError(TSThetaSetTheta, (petsclib, ts, theta))) end @for_petsc function TSThetaSetTheta(petsclib::$UnionPetscLib, ts::AbstractTS, theta::$PetscReal ) @@ -13521,7 +13521,7 @@ See also: `TS` $(_doc_external("TS/TSVISetVariableBounds")) """ function TSVISetVariableBounds(petsclib::PetscLibType, ts::AbstractTS, xl::AbstractPetscVec, xu::AbstractPetscVec) - error("TSVISetVariableBounds: no generated method for these argument types") + throw(MethodError(TSVISetVariableBounds, (petsclib, ts, xl, xu))) end @for_petsc function TSVISetVariableBounds(petsclib::$UnionPetscLib, ts::AbstractTS, xl::AbstractPetscVec, xu::AbstractPetscVec ) @@ -13558,7 +13558,7 @@ See also: `TS`, `PetscViewer`, `PetscViewerASCIIOpen()` $(_doc_external("TS/TSView")) """ function TSView(petsclib::PetscLibType, ts::AbstractTS, viewer::PetscViewer) - error("TSView: no generated method for these argument types") + throw(MethodError(TSView, (petsclib, ts, viewer))) end @for_petsc function TSView(petsclib::$UnionPetscLib, ts::AbstractTS, viewer::PetscViewer ) @@ -13596,7 +13596,7 @@ See also: `TS`, `TSView`, `PetscObjectViewFromOptions()`, `TSCreate()` $(_doc_external("TS/TSViewFromOptions")) """ function TSViewFromOptions(petsclib::PetscLibType, ts::AbstractTS, obj, name::String) - error("TSViewFromOptions: no generated method for these argument types") + throw(MethodError(TSViewFromOptions, (petsclib, ts, obj, name))) end @for_petsc function TSViewFromOptions(petsclib::$UnionPetscLib, ts::AbstractTS, obj, name::String ) diff --git a/src/autowrapped/TSaddons_wrappers.jl b/src/autowrapped/TSaddons_wrappers.jl index b4443786d..4aecac37f 100644 --- a/src/autowrapped/TSaddons_wrappers.jl +++ b/src/autowrapped/TSaddons_wrappers.jl @@ -21,7 +21,7 @@ See also: `TSAdapt`, `TSAdaptCandidatesClear()`, `TSAdaptChoose()` $(_doc_external("TS/TSAdaptCandidateAdd")) """ function TSAdaptCandidateAdd(petsclib::PetscLibType, adapt::TSAdapt, name::String, order::Integer, stageorder::Integer, ccfl::Real, cost::Real, inuse::PetscBool) - error("TSAdaptCandidateAdd: no generated method for these argument types") + throw(MethodError(TSAdaptCandidateAdd, (petsclib, adapt, name, order, stageorder, ccfl, cost, inuse))) end @for_petsc function TSAdaptCandidateAdd(petsclib::$UnionPetscLib, adapt::TSAdapt, name::String, order::$PetscInt, stageorder::$PetscInt, ccfl::$PetscReal, cost::$PetscReal, inuse::PetscBool ) @@ -54,7 +54,7 @@ See also: `TSAdapt`, `TSAdaptCreate()`, `TSAdaptCandidateAdd()`, `TSAdaptChoose( $(_doc_external("TS/TSAdaptCandidatesClear")) """ function TSAdaptCandidatesClear(petsclib::PetscLibType, adapt::TSAdapt) - error("TSAdaptCandidatesClear: no generated method for these argument types") + throw(MethodError(TSAdaptCandidatesClear, (petsclib, adapt))) end @for_petsc function TSAdaptCandidatesClear(petsclib::$UnionPetscLib, adapt::TSAdapt ) @@ -94,7 +94,7 @@ See also: `TSAdapt`, `TSAdaptCandidatesClear()`, `TSAdaptCandidateAdd()`, `TSAda $(_doc_external("TS/TSAdaptCandidatesGet")) """ function TSAdaptCandidatesGet(petsclib::PetscLibType, adapt::TSAdapt) - error("TSAdaptCandidatesGet: no generated method for these argument types") + throw(MethodError(TSAdaptCandidatesGet, (petsclib, adapt))) end @for_petsc function TSAdaptCandidatesGet(petsclib::$UnionPetscLib, adapt::TSAdapt ) @@ -143,7 +143,7 @@ See also: `TSAdapt` $(_doc_external("TS/TSAdaptCheckStage")) """ function TSAdaptCheckStage(petsclib::PetscLibType, adapt::TSAdapt, ts::AbstractTS, t::Real, Y::AbstractPetscVec) - error("TSAdaptCheckStage: no generated method for these argument types") + throw(MethodError(TSAdaptCheckStage, (petsclib, adapt, ts, t, Y))) end @for_petsc function TSAdaptCheckStage(petsclib::$UnionPetscLib, adapt::TSAdapt, ts::AbstractTS, t::$PetscReal, Y::AbstractPetscVec ) @@ -185,7 +185,7 @@ See also: `TSAdapt`, `TSAdaptCandidatesClear()`, `TSAdaptCandidateAdd()` $(_doc_external("TS/TSAdaptChoose")) """ function TSAdaptChoose(petsclib::PetscLibType, adapt::TSAdapt, ts::AbstractTS, h::Real) - error("TSAdaptChoose: no generated method for these argument types") + throw(MethodError(TSAdaptChoose, (petsclib, adapt, ts, h))) end @for_petsc function TSAdaptChoose(petsclib::$UnionPetscLib, adapt::TSAdapt, ts::AbstractTS, h::$PetscReal ) @@ -227,7 +227,7 @@ See also: `TSAdapt`, `TSGetAdapt()`, `TSAdaptSetType()`, `TSAdaptDestroy()` $(_doc_external("TS/TSAdaptCreate")) """ function TSAdaptCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("TSAdaptCreate: no generated method for these argument types") + throw(MethodError(TSAdaptCreate, (petsclib, comm))) end @for_petsc function TSAdaptCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -274,7 +274,7 @@ See also: `TSADAPTDSP`, `TS`, `TSAdapt`, `TSGetAdapt()`, `TSAdaptDSPSetPID()` $(_doc_external("TS/TSAdaptDSPSetFilter")) """ function TSAdaptDSPSetFilter(petsclib::PetscLibType, adapt::TSAdapt, name::String) - error("TSAdaptDSPSetFilter: no generated method for these argument types") + throw(MethodError(TSAdaptDSPSetFilter, (petsclib, adapt, name))) end @for_petsc function TSAdaptDSPSetFilter(petsclib::$UnionPetscLib, adapt::TSAdapt, name::String ) @@ -311,7 +311,7 @@ See also: `TS`, `TSAdapt`, `TSGetAdapt()`, `TSAdaptDSPSetFilter()` $(_doc_external("TS/TSAdaptDSPSetPID")) """ function TSAdaptDSPSetPID(petsclib::PetscLibType, adapt::TSAdapt, kkI::Real, kkP::Real, kkD::Real) - error("TSAdaptDSPSetPID: no generated method for these argument types") + throw(MethodError(TSAdaptDSPSetPID, (petsclib, adapt, kkI, kkP, kkD))) end @for_petsc function TSAdaptDSPSetPID(petsclib::$UnionPetscLib, adapt::TSAdapt, kkI::$PetscReal, kkP::$PetscReal, kkD::$PetscReal ) @@ -344,7 +344,7 @@ See also: `TSAdapt`, `TSAdaptCreate()`, `TSGetAdapt()` $(_doc_external("TS/TSAdaptDestroy")) """ function TSAdaptDestroy(petsclib::PetscLibType, adapt::Union{TSAdapt, Ref{TSAdapt}}) - error("TSAdaptDestroy: no generated method for these argument types") + throw(MethodError(TSAdaptDestroy, (petsclib, adapt))) end @for_petsc function TSAdaptDestroy(petsclib::$UnionPetscLib, adapt::Union{TSAdapt, Ref{TSAdapt}} ) @@ -374,7 +374,7 @@ See also: `PetscFinalize()` $(_doc_external("TS/TSAdaptFinalizePackage")) """ function TSAdaptFinalizePackage(petsclib::PetscLibType) - error("TSAdaptFinalizePackage: no generated method for these argument types") + throw(MethodError(TSAdaptFinalizePackage, (petsclib, ))) end @for_petsc function TSAdaptFinalizePackage(petsclib::$UnionPetscLib) @@ -410,7 +410,7 @@ See also: `TSAdapt`, `TSAdaptChoose()`, `TSAdaptSetClip()`, `TSAdaptSetScaleSolv $(_doc_external("TS/TSAdaptGetClip")) """ function TSAdaptGetClip(petsclib::PetscLibType, adapt::TSAdapt) - error("TSAdaptGetClip: no generated method for these argument types") + throw(MethodError(TSAdaptGetClip, (petsclib, adapt))) end @for_petsc function TSAdaptGetClip(petsclib::$UnionPetscLib, adapt::TSAdapt ) @@ -451,7 +451,7 @@ See also: `TSAdapt`, `TSAdaptSetMaxIgnore()`, `TSAdaptChoose()` $(_doc_external("TS/TSAdaptGetMaxIgnore")) """ function TSAdaptGetMaxIgnore(petsclib::PetscLibType, adapt::TSAdapt) - error("TSAdaptGetMaxIgnore: no generated method for these argument types") + throw(MethodError(TSAdaptGetMaxIgnore, (petsclib, adapt))) end @for_petsc function TSAdaptGetMaxIgnore(petsclib::$UnionPetscLib, adapt::TSAdapt ) @@ -490,7 +490,7 @@ See also: `TSAdapt`, `TSAdaptSetSafety()`, `TSAdaptChoose()` $(_doc_external("TS/TSAdaptGetSafety")) """ function TSAdaptGetSafety(petsclib::PetscLibType, adapt::TSAdapt) - error("TSAdaptGetSafety: no generated method for these argument types") + throw(MethodError(TSAdaptGetSafety, (petsclib, adapt))) end @for_petsc function TSAdaptGetSafety(petsclib::$UnionPetscLib, adapt::TSAdapt ) @@ -530,7 +530,7 @@ See also: `TSAdapt`, `TSAdaptChoose()`, `TSAdaptSetScaleSolveFailed()`, `TSAdapt $(_doc_external("TS/TSAdaptGetScaleSolveFailed")) """ function TSAdaptGetScaleSolveFailed(petsclib::PetscLibType, adapt::TSAdapt) - error("TSAdaptGetScaleSolveFailed: no generated method for these argument types") + throw(MethodError(TSAdaptGetScaleSolveFailed, (petsclib, adapt))) end @for_petsc function TSAdaptGetScaleSolveFailed(petsclib::$UnionPetscLib, adapt::TSAdapt ) @@ -569,7 +569,7 @@ See also: `TSAdapt`, `TSAdaptSetStepLimits()`, `TSAdaptChoose()` $(_doc_external("TS/TSAdaptGetStepLimits")) """ function TSAdaptGetStepLimits(petsclib::PetscLibType, adapt::TSAdapt) - error("TSAdaptGetStepLimits: no generated method for these argument types") + throw(MethodError(TSAdaptGetStepLimits, (petsclib, adapt))) end @for_petsc function TSAdaptGetStepLimits(petsclib::$UnionPetscLib, adapt::TSAdapt ) @@ -609,7 +609,7 @@ See also: `TSAdapt`, `TSAdaptType`, `TSAdaptSetType()` $(_doc_external("TS/TSAdaptGetType")) """ function TSAdaptGetType(petsclib::PetscLibType, adapt::TSAdapt) - error("TSAdaptGetType: no generated method for these argument types") + throw(MethodError(TSAdaptGetType, (petsclib, adapt))) end @for_petsc function TSAdaptGetType(petsclib::$UnionPetscLib, adapt::TSAdapt ) @@ -649,7 +649,7 @@ See also: `TS`, `TSGetAdapt()`, `TSAdaptSetType()`, `TSAdaptHistorySetTrajectory $(_doc_external("TS/TSAdaptHistoryGetStep")) """ function TSAdaptHistoryGetStep(petsclib::PetscLibType, adapt::TSAdapt, step::Integer) - error("TSAdaptHistoryGetStep: no generated method for these argument types") + throw(MethodError(TSAdaptHistoryGetStep, (petsclib, adapt, step))) end @for_petsc function TSAdaptHistoryGetStep(petsclib::$UnionPetscLib, adapt::TSAdapt, step::$PetscInt ) @@ -689,7 +689,7 @@ See also: `TSGetAdapt()`, `TSAdaptSetType()`, `TSAdaptHistorySetTrajectory()`, ` $(_doc_external("TS/TSAdaptHistorySetHistory")) """ function TSAdaptHistorySetHistory(petsclib::PetscLibType, adapt::TSAdapt, n::Integer, hist::AbstractVector{<:Number}, backward::PetscBool) - error("TSAdaptHistorySetHistory: no generated method for these argument types") + throw(MethodError(TSAdaptHistorySetHistory, (petsclib, adapt, n, hist, backward))) end @for_petsc function TSAdaptHistorySetHistory(petsclib::$UnionPetscLib, adapt::TSAdapt, n::$PetscInt, hist::Vector{$PetscReal}, backward::PetscBool ) @@ -724,7 +724,7 @@ See also: `TSGetAdapt()`, `TSAdaptSetType()`, `TSAdaptHistorySetHistory()`, `TSA $(_doc_external("TS/TSAdaptHistorySetTrajectory")) """ function TSAdaptHistorySetTrajectory(petsclib::PetscLibType, adapt::TSAdapt, tj::TSTrajectory, backward::PetscBool) - error("TSAdaptHistorySetTrajectory: no generated method for these argument types") + throw(MethodError(TSAdaptHistorySetTrajectory, (petsclib, adapt, tj, backward))) end @for_petsc function TSAdaptHistorySetTrajectory(petsclib::$UnionPetscLib, adapt::TSAdapt, tj::TSTrajectory, backward::PetscBool ) @@ -753,7 +753,7 @@ See also: `PetscInitialize()` $(_doc_external("TS/TSAdaptInitializePackage")) """ function TSAdaptInitializePackage(petsclib::PetscLibType) - error("TSAdaptInitializePackage: no generated method for these argument types") + throw(MethodError(TSAdaptInitializePackage, (petsclib, ))) end @for_petsc function TSAdaptInitializePackage(petsclib::$UnionPetscLib) @@ -788,7 +788,7 @@ See also: `PetscViewerBinaryOpen()`, `TSAdaptView()`, `MatLoad()`, `VecLoad()`, $(_doc_external("TS/TSAdaptLoad")) """ function TSAdaptLoad(petsclib::PetscLibType, adapt::TSAdapt, viewer::PetscViewer) - error("TSAdaptLoad: no generated method for these argument types") + throw(MethodError(TSAdaptLoad, (petsclib, adapt, viewer))) end @for_petsc function TSAdaptLoad(petsclib::$UnionPetscLib, adapt::TSAdapt, viewer::PetscViewer ) @@ -822,7 +822,7 @@ See also: `TSAdaptRegisterAll()` $(_doc_external("TS/TSAdaptRegister")) """ function TSAdaptRegister(petsclib::PetscLibType, sname::String, fnc::external) - error("TSAdaptRegister: no generated method for these argument types") + throw(MethodError(TSAdaptRegister, (petsclib, sname, fnc))) end @for_petsc function TSAdaptRegister(petsclib::$UnionPetscLib, sname::String, fnc::external ) @@ -855,7 +855,7 @@ See also: `TSGetAdapt()`, `TSAdapt`, `TSAdaptCreate()`, `TSAdaptDestroy()` $(_doc_external("TS/TSAdaptReset")) """ function TSAdaptReset(petsclib::PetscLibType, adapt::TSAdapt) - error("TSAdaptReset: no generated method for these argument types") + throw(MethodError(TSAdaptReset, (petsclib, adapt))) end @for_petsc function TSAdaptReset(petsclib::$UnionPetscLib, adapt::TSAdapt ) @@ -893,7 +893,7 @@ See also: `TSAdapt`, `TSGetAdapt()`, `TSAdaptChoose()` $(_doc_external("TS/TSAdaptSetAlwaysAccept")) """ function TSAdaptSetAlwaysAccept(petsclib::PetscLibType, adapt::TSAdapt, flag::PetscBool) - error("TSAdaptSetAlwaysAccept: no generated method for these argument types") + throw(MethodError(TSAdaptSetAlwaysAccept, (petsclib, adapt, flag))) end @for_petsc function TSAdaptSetAlwaysAccept(petsclib::$UnionPetscLib, adapt::TSAdapt, flag::PetscBool ) @@ -934,7 +934,7 @@ See also: `TSAdapt`, `TSGetAdapt()`, `TSAdaptChoose()` $(_doc_external("TS/TSAdaptSetCheckStage")) """ function TSAdaptSetCheckStage(petsclib::PetscLibType, adapt::TSAdapt, func::external) - error("TSAdaptSetCheckStage: no generated method for these argument types") + throw(MethodError(TSAdaptSetCheckStage, (petsclib, adapt, func))) end @for_petsc function TSAdaptSetCheckStage(petsclib::$UnionPetscLib, adapt::TSAdapt, func::external ) @@ -972,7 +972,7 @@ See also: `TSAdapt`, `TSAdaptChoose()`, `TSAdaptGetClip()`, `TSAdaptSetScaleSolv $(_doc_external("TS/TSAdaptSetClip")) """ function TSAdaptSetClip(petsclib::PetscLibType, adapt::TSAdapt, low::Real, high::Real) - error("TSAdaptSetClip: no generated method for these argument types") + throw(MethodError(TSAdaptSetClip, (petsclib, adapt, low, high))) end @for_petsc function TSAdaptSetClip(petsclib::$UnionPetscLib, adapt::TSAdapt, low::$PetscReal, high::$PetscReal ) @@ -1019,7 +1019,7 @@ See also: `TSAdapt`, `TSGetAdapt()`, `TSAdaptSetType()`, `TSAdaptSetAlwaysAccept $(_doc_external("TS/TSAdaptSetFromOptions")) """ function TSAdaptSetFromOptions(petsclib::PetscLibType, adapt::TSAdapt, PetscOptionsObject::PetscOptionItems) - error("TSAdaptSetFromOptions: no generated method for these argument types") + throw(MethodError(TSAdaptSetFromOptions, (petsclib, adapt, PetscOptionsObject))) end @for_petsc function TSAdaptSetFromOptions(petsclib::$UnionPetscLib, adapt::TSAdapt, PetscOptionsObject::PetscOptionItems ) @@ -1057,7 +1057,7 @@ See also: `TSAdapt`, `TSAdaptGetMaxIgnore()`, `TSAdaptChoose()` $(_doc_external("TS/TSAdaptSetMaxIgnore")) """ function TSAdaptSetMaxIgnore(petsclib::PetscLibType, adapt::TSAdapt, max_ignore::Real) - error("TSAdaptSetMaxIgnore: no generated method for these argument types") + throw(MethodError(TSAdaptSetMaxIgnore, (petsclib, adapt, max_ignore))) end @for_petsc function TSAdaptSetMaxIgnore(petsclib::$UnionPetscLib, adapt::TSAdapt, max_ignore::$PetscReal ) @@ -1094,7 +1094,7 @@ See also: `TSAdapt`, `TSGetAdapt()`, `TSAdaptChoose()` $(_doc_external("TS/TSAdaptSetMonitor")) """ function TSAdaptSetMonitor(petsclib::PetscLibType, adapt::TSAdapt, flg::PetscBool) - error("TSAdaptSetMonitor: no generated method for these argument types") + throw(MethodError(TSAdaptSetMonitor, (petsclib, adapt, flg))) end @for_petsc function TSAdaptSetMonitor(petsclib::$UnionPetscLib, adapt::TSAdapt, flg::PetscBool ) @@ -1128,7 +1128,7 @@ See also: `TSAdapt`, `TSGetAdapt()`, `TSSetOptionsPrefix()` $(_doc_external("TS/TSAdaptSetOptionsPrefix")) """ function TSAdaptSetOptionsPrefix(petsclib::PetscLibType, adapt::TSAdapt, prefix::String) - error("TSAdaptSetOptionsPrefix: no generated method for these argument types") + throw(MethodError(TSAdaptSetOptionsPrefix, (petsclib, adapt, prefix))) end @for_petsc function TSAdaptSetOptionsPrefix(petsclib::$UnionPetscLib, adapt::TSAdapt, prefix::String ) @@ -1167,7 +1167,7 @@ See also: `TSAdapt`, `TSAdaptGetSafety()`, `TSAdaptChoose()` $(_doc_external("TS/TSAdaptSetSafety")) """ function TSAdaptSetSafety(petsclib::PetscLibType, adapt::TSAdapt, safety::Real, reject_safety::Real) - error("TSAdaptSetSafety: no generated method for these argument types") + throw(MethodError(TSAdaptSetSafety, (petsclib, adapt, safety, reject_safety))) end @for_petsc function TSAdaptSetSafety(petsclib::$UnionPetscLib, adapt::TSAdapt, safety::$PetscReal, reject_safety::$PetscReal ) @@ -1204,7 +1204,7 @@ See also: `TSAdapt`, `TSAdaptChoose()`, `TSAdaptGetScaleSolveFailed()`, `TSAdapt $(_doc_external("TS/TSAdaptSetScaleSolveFailed")) """ function TSAdaptSetScaleSolveFailed(petsclib::PetscLibType, adapt::TSAdapt, scale::Real) - error("TSAdaptSetScaleSolveFailed: no generated method for these argument types") + throw(MethodError(TSAdaptSetScaleSolveFailed, (petsclib, adapt, scale))) end @for_petsc function TSAdaptSetScaleSolveFailed(petsclib::$UnionPetscLib, adapt::TSAdapt, scale::$PetscReal ) @@ -1243,7 +1243,7 @@ See also: `TSAdapt`, `TSAdaptGetStepLimits()`, `TSAdaptChoose()` $(_doc_external("TS/TSAdaptSetStepLimits")) """ function TSAdaptSetStepLimits(petsclib::PetscLibType, adapt::TSAdapt, hmin::Real, hmax::Real) - error("TSAdaptSetStepLimits: no generated method for these argument types") + throw(MethodError(TSAdaptSetStepLimits, (petsclib, adapt, hmin, hmax))) end @for_petsc function TSAdaptSetStepLimits(petsclib::$UnionPetscLib, adapt::TSAdapt, hmin::$PetscReal, hmax::$PetscReal ) @@ -1281,7 +1281,7 @@ See also: `TSAdapt` $(_doc_external("TS/TSAdaptSetTimeStepIncreaseDelay")) """ function TSAdaptSetTimeStepIncreaseDelay(petsclib::PetscLibType, adapt::TSAdapt, cnt::Integer) - error("TSAdaptSetTimeStepIncreaseDelay: no generated method for these argument types") + throw(MethodError(TSAdaptSetTimeStepIncreaseDelay, (petsclib, adapt, cnt))) end @for_petsc function TSAdaptSetTimeStepIncreaseDelay(petsclib::$UnionPetscLib, adapt::TSAdapt, cnt::$PetscInt ) @@ -1318,7 +1318,7 @@ See also: `TSGetAdapt()`, `TSAdaptDestroy()`, `TSAdaptType`, `TSAdaptGetType()` $(_doc_external("TS/TSAdaptSetType")) """ function TSAdaptSetType(petsclib::PetscLibType, adapt::TSAdapt, type::String) - error("TSAdaptSetType: no generated method for these argument types") + throw(MethodError(TSAdaptSetType, (petsclib, adapt, type))) end @for_petsc function TSAdaptSetType(petsclib::$UnionPetscLib, adapt::TSAdapt, type::String ) @@ -1355,7 +1355,7 @@ See also: `TSAdapt`, `TSView()`, `PetscViewer`, `PetscViewerASCIIOpen()` $(_doc_external("TS/TSAdaptView")) """ function TSAdaptView(petsclib::PetscLibType, adapt::TSAdapt, viewer::PetscViewer) - error("TSAdaptView: no generated method for these argument types") + throw(MethodError(TSAdaptView, (petsclib, adapt, viewer))) end @for_petsc function TSAdaptView(petsclib::$UnionPetscLib, adapt::TSAdapt, viewer::PetscViewer ) @@ -1400,7 +1400,7 @@ See also: `TSGLLE`, `TSGLLEAdapt`, `TSGLLEAdaptCreate()`, `TSGLLEAdaptSetType()` $(_doc_external("TS/TSGLLEAdaptChoose")) """ function TSGLLEAdaptChoose(petsclib::PetscLibType, adapt::TSGLLEAdapt, n::Integer, orders::AbstractVector{<:Number}, errors::AbstractVector{<:Number}, cost::AbstractVector{<:Number}, cur::Integer, h::Real, tleft::Real) - error("TSGLLEAdaptChoose: no generated method for these argument types") + throw(MethodError(TSGLLEAdaptChoose, (petsclib, adapt, n, orders, errors, cost, cur, h, tleft))) end @for_petsc function TSGLLEAdaptChoose(petsclib::$UnionPetscLib, adapt::TSGLLEAdapt, n::$PetscInt, orders::Vector{$PetscInt}, errors::Vector{$PetscReal}, cost::Vector{$PetscReal}, cur::$PetscInt, h::$PetscReal, tleft::$PetscReal ) @@ -1442,7 +1442,7 @@ See also: `TSGLLE`, `TSGLLEAdapt`, `TSGLLEAdaptSetType()`, `TSGLLEAdaptDestroy() $(_doc_external("TS/TSGLLEAdaptCreate")) """ function TSGLLEAdaptCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("TSGLLEAdaptCreate: no generated method for these argument types") + throw(MethodError(TSGLLEAdaptCreate, (petsclib, comm))) end @for_petsc function TSGLLEAdaptCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -1477,7 +1477,7 @@ See also: `TSGLLE`, `TSGLLEAdapt`, `TSGLLEAdaptCreate()` $(_doc_external("TS/TSGLLEAdaptDestroy")) """ function TSGLLEAdaptDestroy(petsclib::PetscLibType, adapt::Union{TSGLLEAdapt, Ref{TSGLLEAdapt}}) - error("TSGLLEAdaptDestroy: no generated method for these argument types") + throw(MethodError(TSGLLEAdaptDestroy, (petsclib, adapt))) end @for_petsc function TSGLLEAdaptDestroy(petsclib::$UnionPetscLib, adapt::Union{TSGLLEAdapt, Ref{TSGLLEAdapt}} ) @@ -1507,7 +1507,7 @@ See also: `PetscFinalize()`, `TSGLLEAdapt`, `TSGLLEAdaptInitializePackage()` $(_doc_external("TS/TSGLLEAdaptFinalizePackage")) """ function TSGLLEAdaptFinalizePackage(petsclib::PetscLibType) - error("TSGLLEAdaptFinalizePackage: no generated method for these argument types") + throw(MethodError(TSGLLEAdaptFinalizePackage, (petsclib, ))) end @for_petsc function TSGLLEAdaptFinalizePackage(petsclib::$UnionPetscLib) @@ -1535,7 +1535,7 @@ See also: `PetscInitialize()`, `TSGLLEAdapt`, `TSGLLEAdaptFinalizePackage()` $(_doc_external("TS/TSGLLEAdaptInitializePackage")) """ function TSGLLEAdaptInitializePackage(petsclib::PetscLibType) - error("TSGLLEAdaptInitializePackage: no generated method for these argument types") + throw(MethodError(TSGLLEAdaptInitializePackage, (petsclib, ))) end @for_petsc function TSGLLEAdaptInitializePackage(petsclib::$UnionPetscLib) @@ -1568,7 +1568,7 @@ See also: `TSGLLE`, `TSGLLEAdapt`, `TSGLLEAdaptRegisterAll()` $(_doc_external("TS/TSGLLEAdaptRegister")) """ function TSGLLEAdaptRegister(petsclib::PetscLibType, sname::String, fnc::external) - error("TSGLLEAdaptRegister: no generated method for these argument types") + throw(MethodError(TSGLLEAdaptRegister, (petsclib, sname, fnc))) end @for_petsc function TSGLLEAdaptRegister(petsclib::$UnionPetscLib, sname::String, fnc::external ) @@ -1605,7 +1605,7 @@ See also: `TSGLLE`, `TSGLLEAdapt`, `TSGLLEAdaptSetType()` $(_doc_external("TS/TSGLLEAdaptSetFromOptions")) """ function TSGLLEAdaptSetFromOptions(petsclib::PetscLibType, adapt::TSGLLEAdapt, PetscOptionsObject::PetscOptionItems) - error("TSGLLEAdaptSetFromOptions: no generated method for these argument types") + throw(MethodError(TSGLLEAdaptSetFromOptions, (petsclib, adapt, PetscOptionsObject))) end @for_petsc function TSGLLEAdaptSetFromOptions(petsclib::$UnionPetscLib, adapt::TSGLLEAdapt, PetscOptionsObject::PetscOptionItems ) @@ -1639,7 +1639,7 @@ See also: `TSGLLE`, `TSGLLEAdapt`, `TSGLLEAdaptSetFromOptions()` $(_doc_external("TS/TSGLLEAdaptSetOptionsPrefix")) """ function TSGLLEAdaptSetOptionsPrefix(petsclib::PetscLibType, adapt::TSGLLEAdapt, prefix::String) - error("TSGLLEAdaptSetOptionsPrefix: no generated method for these argument types") + throw(MethodError(TSGLLEAdaptSetOptionsPrefix, (petsclib, adapt, prefix))) end @for_petsc function TSGLLEAdaptSetOptionsPrefix(petsclib::$UnionPetscLib, adapt::TSGLLEAdapt, prefix::String ) @@ -1673,7 +1673,7 @@ See also: `TSGLLE`, `TSGLLEAdapt`, `TSGLLEAdaptCreate()`, `TSGLLEAdaptType`, `TS $(_doc_external("TS/TSGLLEAdaptSetType")) """ function TSGLLEAdaptSetType(petsclib::PetscLibType, adapt::TSGLLEAdapt, type::String) - error("TSGLLEAdaptSetType: no generated method for these argument types") + throw(MethodError(TSGLLEAdaptSetType, (petsclib, adapt, type))) end @for_petsc function TSGLLEAdaptSetType(petsclib::$UnionPetscLib, adapt::TSGLLEAdapt, type::String ) @@ -1707,7 +1707,7 @@ See also: `TSGLLE`, `TSGLLEAdapt`, `TSGLLEAdaptCreate()`, `PetscViewer` $(_doc_external("TS/TSGLLEAdaptView")) """ function TSGLLEAdaptView(petsclib::PetscLibType, adapt::TSGLLEAdapt, viewer::PetscViewer) - error("TSGLLEAdaptView: no generated method for these argument types") + throw(MethodError(TSGLLEAdaptView, (petsclib, adapt, viewer))) end @for_petsc function TSGLLEAdaptView(petsclib::$UnionPetscLib, adapt::TSGLLEAdapt, viewer::PetscViewer ) @@ -1754,7 +1754,7 @@ See also: `TS`, `TSMonitorDrawCtxDestroy()`, `TSMonitorSet()`, `TSMonitorDefault $(_doc_external("TS/TSMonitorDrawCtxCreate")) """ function TSMonitorDrawCtxCreate(petsclib::PetscLibType, comm::MPI_Comm, host::String, label::String, x::Cint, y::Cint, m::Cint, n::Cint, howoften::Integer) - error("TSMonitorDrawCtxCreate: no generated method for these argument types") + throw(MethodError(TSMonitorDrawCtxCreate, (petsclib, comm, host, label, x, y, m, n, howoften))) end @for_petsc function TSMonitorDrawCtxCreate(petsclib::$UnionPetscLib, comm::MPI_Comm, host::String, label::String, x::Cint, y::Cint, m::Cint, n::Cint, howoften::$PetscInt ) @@ -1789,7 +1789,7 @@ See also: `TS`, `TSMonitorSet()`, `TSMonitorDefault()`, `VecView()`, `TSMonitorD $(_doc_external("TS/TSMonitorDrawCtxDestroy")) """ function TSMonitorDrawCtxDestroy(petsclib::PetscLibType, ictx::Union{TSMonitorDrawCtx, Ref{TSMonitorDrawCtx}}) - error("TSMonitorDrawCtxDestroy: no generated method for these argument types") + throw(MethodError(TSMonitorDrawCtxDestroy, (petsclib, ictx))) end @for_petsc function TSMonitorDrawCtxDestroy(petsclib::$UnionPetscLib, ictx::Union{TSMonitorDrawCtx, Ref{TSMonitorDrawCtx}} ) @@ -1826,7 +1826,7 @@ See also: `TS`, `TSMonitorLGTimeStep()`, `TSMonitorSet()`, `TSMonitorLGSolution( $(_doc_external("TS/TSMonitorEnvelopeCtxCreate")) """ function TSMonitorEnvelopeCtxCreate(petsclib::PetscLibType, ts::AbstractTS) - error("TSMonitorEnvelopeCtxCreate: no generated method for these argument types") + throw(MethodError(TSMonitorEnvelopeCtxCreate, (petsclib, ts))) end @for_petsc function TSMonitorEnvelopeCtxCreate(petsclib::$UnionPetscLib, ts::AbstractTS ) @@ -1861,7 +1861,7 @@ See also: `TS`, `TSMonitorLGCtxCreate()`, `TSMonitorSet()`, `TSMonitorLGTimeStep $(_doc_external("TS/TSMonitorEnvelopeCtxDestroy")) """ function TSMonitorEnvelopeCtxDestroy(petsclib::PetscLibType, ctx::Union{TSMonitorEnvelopeCtx, Ref{TSMonitorEnvelopeCtx}}) - error("TSMonitorEnvelopeCtxDestroy: no generated method for these argument types") + throw(MethodError(TSMonitorEnvelopeCtxDestroy, (petsclib, ctx))) end @for_petsc function TSMonitorEnvelopeCtxDestroy(petsclib::$UnionPetscLib, ctx::Union{TSMonitorEnvelopeCtx, Ref{TSMonitorEnvelopeCtx}} ) @@ -1908,7 +1908,7 @@ See also: `TS`, `DMSWARM`, `TSMonitorSet()`, `TSMonitorHGSwarmSolution()`, `TSMo $(_doc_external("TS/TSMonitorHGCtxCreate")) """ function TSMonitorHGCtxCreate(petsclib::PetscLibType, comm::MPI_Comm, host::String, label::String, x::Cint, y::Cint, m::Cint, n::Cint, howoften::Integer, Ns::Integer, Nb::Integer, velocity::PetscBool) - error("TSMonitorHGCtxCreate: no generated method for these argument types") + throw(MethodError(TSMonitorHGCtxCreate, (petsclib, comm, host, label, x, y, m, n, howoften, Ns, Nb, velocity))) end @for_petsc function TSMonitorHGCtxCreate(petsclib::$UnionPetscLib, comm::MPI_Comm, host::String, label::String, x::Cint, y::Cint, m::Cint, n::Cint, howoften::$PetscInt, Ns::$PetscInt, Nb::$PetscInt, velocity::PetscBool ) @@ -1943,7 +1943,7 @@ See also: `TS`, `TSMonitorSet()`, `TSMonitorHGCtxCreate()`, `TSMonitorHGSwarmSol $(_doc_external("TS/TSMonitorHGCtxDestroy")) """ function TSMonitorHGCtxDestroy(petsclib::PetscLibType, ctx::Union{TSMonitorHGCtx, Ref{TSMonitorHGCtx}}) - error("TSMonitorHGCtxDestroy: no generated method for these argument types") + throw(MethodError(TSMonitorHGCtxDestroy, (petsclib, ctx))) end @for_petsc function TSMonitorHGCtxDestroy(petsclib::$UnionPetscLib, ctx::Union{TSMonitorHGCtx, Ref{TSMonitorHGCtx}} ) @@ -2001,7 +2001,7 @@ See also: `TSMonitorLGTimeStep()`, `TSMonitorSet()`, `TSMonitorLGSolution()`, `T $(_doc_external("TS/TSMonitorLGCtxCreate")) """ function TSMonitorLGCtxCreate(petsclib::PetscLibType, comm::MPI_Comm, host::String, label::String, x::Cint, y::Cint, m::Cint, n::Cint, howoften::Integer) - error("TSMonitorLGCtxCreate: no generated method for these argument types") + throw(MethodError(TSMonitorLGCtxCreate, (petsclib, comm, host, label, x, y, m, n, howoften))) end @for_petsc function TSMonitorLGCtxCreate(petsclib::$UnionPetscLib, comm::MPI_Comm, host::String, label::String, x::Cint, y::Cint, m::Cint, n::Cint, howoften::$PetscInt ) @@ -2036,7 +2036,7 @@ See also: `TS`, `TSMonitorLGCtxCreate()`, `TSMonitorSet()`, `TSMonitorLGTimeStep $(_doc_external("TS/TSMonitorLGCtxDestroy")) """ function TSMonitorLGCtxDestroy(petsclib::PetscLibType, ctx::Union{TSMonitorLGCtx, Ref{TSMonitorLGCtx}}) - error("TSMonitorLGCtxDestroy: no generated method for these argument types") + throw(MethodError(TSMonitorLGCtxDestroy, (petsclib, ctx))) end @for_petsc function TSMonitorLGCtxDestroy(petsclib::$UnionPetscLib, ctx::Union{TSMonitorLGCtx, Ref{TSMonitorLGCtx}} ) @@ -2080,7 +2080,7 @@ See also: `TS`, `DMNETWORK`, `TSMonitorSet()`, `TSMonitorLGCtxNetworkSolution()` $(_doc_external("TS/TSMonitorLGCtxNetworkCreate")) """ function TSMonitorLGCtxNetworkCreate(petsclib::PetscLibType, ts::AbstractTS, host::String, label::String, x::Cint, y::Cint, m::Cint, n::Cint, howoften::Integer) - error("TSMonitorLGCtxNetworkCreate: no generated method for these argument types") + throw(MethodError(TSMonitorLGCtxNetworkCreate, (petsclib, ts, host, label, x, y, m, n, howoften))) end @for_petsc function TSMonitorLGCtxNetworkCreate(petsclib::$UnionPetscLib, ts::AbstractTS, host::String, label::String, x::Cint, y::Cint, m::Cint, n::Cint, howoften::$PetscInt ) @@ -2115,7 +2115,7 @@ See also: `TS`, `TSMonitorLGCtxNetworkSolution()` $(_doc_external("TS/TSMonitorLGCtxNetworkDestroy")) """ function TSMonitorLGCtxNetworkDestroy(petsclib::PetscLibType, ctx::Union{TSMonitorLGCtxNetwork, Ref{TSMonitorLGCtxNetwork}}) - error("TSMonitorLGCtxNetworkDestroy: no generated method for these argument types") + throw(MethodError(TSMonitorLGCtxNetworkDestroy, (petsclib, ctx))) end @for_petsc function TSMonitorLGCtxNetworkDestroy(petsclib::$UnionPetscLib, ctx::Union{TSMonitorLGCtxNetwork, Ref{TSMonitorLGCtxNetwork}} ) @@ -2156,7 +2156,7 @@ See also: `TS`, `TSMonitorLGCtxNetworkDestroy()` $(_doc_external("TS/TSMonitorLGCtxNetworkSolution")) """ function TSMonitorLGCtxNetworkSolution(petsclib::PetscLibType, ts::AbstractTS, step::Integer, ptime::Real, u::AbstractPetscVec, dctx::Ptr{Cvoid}) - error("TSMonitorLGCtxNetworkSolution: no generated method for these argument types") + throw(MethodError(TSMonitorLGCtxNetworkSolution, (petsclib, ts, step, ptime, u, dctx))) end @for_petsc function TSMonitorLGCtxNetworkSolution(petsclib::$UnionPetscLib, ts::AbstractTS, step::$PetscInt, ptime::$PetscReal, u::AbstractPetscVec, dctx::Ptr{Cvoid} ) @@ -2190,7 +2190,7 @@ See also: `TS`, `TSMonitorSet()`, `TSMonitorDefault()`, `VecView()`, `TSMonitorL $(_doc_external("TS/TSMonitorLGCtxSetDisplayVariables")) """ function TSMonitorLGCtxSetDisplayVariables(petsclib::PetscLibType, ctx::TSMonitorLGCtx, displaynames::Cchar) - error("TSMonitorLGCtxSetDisplayVariables: no generated method for these argument types") + throw(MethodError(TSMonitorLGCtxSetDisplayVariables, (petsclib, ctx, displaynames))) end @for_petsc function TSMonitorLGCtxSetDisplayVariables(petsclib::$UnionPetscLib, ctx::TSMonitorLGCtx, displaynames::Cchar ) @@ -2231,7 +2231,7 @@ See also: `TS`, `TSMonitorSet()`, `TSMonitorDefault()`, `VecView()`, `TSMonitorL $(_doc_external("TS/TSMonitorLGCtxSetTransform")) """ function TSMonitorLGCtxSetTransform(petsclib::PetscLibType, ctx::TSMonitorLGCtx, transform::external, destroy::Ptr{Cvoid}, tctx::Ptr{Cvoid}) - error("TSMonitorLGCtxSetTransform: no generated method for these argument types") + throw(MethodError(TSMonitorLGCtxSetTransform, (petsclib, ctx, transform, destroy, tctx))) end @for_petsc function TSMonitorLGCtxSetTransform(petsclib::$UnionPetscLib, ctx::TSMonitorLGCtx, transform::external, destroy::Ptr{Cvoid}, tctx::Ptr{Cvoid} ) @@ -2265,7 +2265,7 @@ See also: `TS`, `TSMonitorSet()`, `TSMonitorDefault()`, `VecView()`, `TSMonitorL $(_doc_external("TS/TSMonitorLGCtxSetVariableNames")) """ function TSMonitorLGCtxSetVariableNames(petsclib::PetscLibType, ctx::TSMonitorLGCtx, names::Cchar) - error("TSMonitorLGCtxSetVariableNames: no generated method for these argument types") + throw(MethodError(TSMonitorLGCtxSetVariableNames, (petsclib, ctx, names))) end @for_petsc function TSMonitorLGCtxSetVariableNames(petsclib::$UnionPetscLib, ctx::TSMonitorLGCtx, names::Cchar ) @@ -2311,7 +2311,7 @@ See also: `TS`, `DMSWARM`, `TSMonitorSet()`, `TSMonitorSPSwarmSolution()`, `TSMo $(_doc_external("TS/TSMonitorSPCtxCreate")) """ function TSMonitorSPCtxCreate(petsclib::PetscLibType, comm::MPI_Comm, host::String, label::String, x::Cint, y::Cint, m::Cint, n::Cint, howoften::Integer, retain::Integer, phase::PetscBool, multispecies::PetscBool) - error("TSMonitorSPCtxCreate: no generated method for these argument types") + throw(MethodError(TSMonitorSPCtxCreate, (petsclib, comm, host, label, x, y, m, n, howoften, retain, phase, multispecies))) end @for_petsc function TSMonitorSPCtxCreate(petsclib::$UnionPetscLib, comm::MPI_Comm, host::String, label::String, x::Cint, y::Cint, m::Cint, n::Cint, howoften::$PetscInt, retain::$PetscInt, phase::PetscBool, multispecies::PetscBool ) @@ -2346,7 +2346,7 @@ See also: `TS`, `TSMonitorSet()`, `TSMonitorSPCtxCreate()`, `TSMonitorSPSwarmSol $(_doc_external("TS/TSMonitorSPCtxDestroy")) """ function TSMonitorSPCtxDestroy(petsclib::PetscLibType, ctx::Union{TSMonitorSPCtx, Ref{TSMonitorSPCtx}}) - error("TSMonitorSPCtxDestroy: no generated method for these argument types") + throw(MethodError(TSMonitorSPCtxDestroy, (petsclib, ctx))) end @for_petsc function TSMonitorSPCtxDestroy(petsclib::$UnionPetscLib, ctx::Union{TSMonitorSPCtx, Ref{TSMonitorSPCtx}} ) @@ -2393,7 +2393,7 @@ See also: `TSMonitorSPEigTimeStep()`, `TSMonitorSet()`, `TSMonitorLGSolution()`, $(_doc_external("TS/TSMonitorSPEigCtxCreate")) """ function TSMonitorSPEigCtxCreate(petsclib::PetscLibType, comm::MPI_Comm, host::String, label::String, x::Cint, y::Cint, m::Cint, n::Cint, howoften::Integer) - error("TSMonitorSPEigCtxCreate: no generated method for these argument types") + throw(MethodError(TSMonitorSPEigCtxCreate, (petsclib, comm, host, label, x, y, m, n, howoften))) end @for_petsc function TSMonitorSPEigCtxCreate(petsclib::$UnionPetscLib, comm::MPI_Comm, host::String, label::String, x::Cint, y::Cint, m::Cint, n::Cint, howoften::$PetscInt ) @@ -2428,7 +2428,7 @@ See also: `TSMonitorSPEigCtxCreate()`, `TSMonitorSet()`, `TSMonitorSPEig()` $(_doc_external("TS/TSMonitorSPEigCtxDestroy")) """ function TSMonitorSPEigCtxDestroy(petsclib::PetscLibType, ctx::Union{TSMonitorSPEigCtx, Ref{TSMonitorSPEigCtx}}) - error("TSMonitorSPEigCtxDestroy: no generated method for these argument types") + throw(MethodError(TSMonitorSPEigCtxDestroy, (petsclib, ctx))) end @for_petsc function TSMonitorSPEigCtxDestroy(petsclib::$UnionPetscLib, ctx::Union{TSMonitorSPEigCtx, Ref{TSMonitorSPEigCtx}} ) @@ -2465,7 +2465,7 @@ See also: `TS`, `TSTrajectory`, `TSTrajectorySetUp()`, `TSTrajectoryDestroy()`, $(_doc_external("TS/TSTrajectoryCreate")) """ function TSTrajectoryCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("TSTrajectoryCreate: no generated method for these argument types") + throw(MethodError(TSTrajectoryCreate, (petsclib, comm))) end @for_petsc function TSTrajectoryCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -2500,7 +2500,7 @@ See also: `TSTrajectory`, `TSTrajectoryCreate()`, `TSTrajectorySetUp()` $(_doc_external("TS/TSTrajectoryDestroy")) """ function TSTrajectoryDestroy(petsclib::PetscLibType, tj::Union{TSTrajectory, Ref{TSTrajectory}}) - error("TSTrajectoryDestroy: no generated method for these argument types") + throw(MethodError(TSTrajectoryDestroy, (petsclib, tj))) end @for_petsc function TSTrajectoryDestroy(petsclib::$UnionPetscLib, tj::Union{TSTrajectory, Ref{TSTrajectory}} ) @@ -2539,7 +2539,7 @@ See also: `TS`, `TSSolve()`, `TSTrajectorySetUp()`, `TSTrajectoryDestroy()`, `TS $(_doc_external("TS/TSTrajectoryGet")) """ function TSTrajectoryGet(petsclib::PetscLibType, tj::TSTrajectory, ts::AbstractTS, stepnum::Integer) - error("TSTrajectoryGet: no generated method for these argument types") + throw(MethodError(TSTrajectoryGet, (petsclib, tj, ts, stepnum))) end @for_petsc function TSTrajectoryGet(petsclib::$UnionPetscLib, tj::TSTrajectory, ts::AbstractTS, stepnum::$PetscInt ) @@ -2577,7 +2577,7 @@ See also: `TS`, `TSTrajectorySet()` $(_doc_external("TS/TSTrajectoryGetNumSteps")) """ function TSTrajectoryGetNumSteps(petsclib::PetscLibType, tj::TSTrajectory) - error("TSTrajectoryGetNumSteps: no generated method for these argument types") + throw(MethodError(TSTrajectoryGetNumSteps, (petsclib, tj))) end @for_petsc function TSTrajectoryGetNumSteps(petsclib::$UnionPetscLib, tj::TSTrajectory ) @@ -2615,7 +2615,7 @@ See also: `TSTrajectory`, `TSSetSaveTrajectory()`, `TSTrajectoryCreate()`, `TSTr $(_doc_external("TS/TSTrajectoryGetSolutionOnly")) """ function TSTrajectoryGetSolutionOnly(petsclib::PetscLibType, tj::TSTrajectory) - error("TSTrajectoryGetSolutionOnly: no generated method for these argument types") + throw(MethodError(TSTrajectoryGetSolutionOnly, (petsclib, tj))) end @for_petsc function TSTrajectoryGetSolutionOnly(petsclib::$UnionPetscLib, tj::TSTrajectory ) @@ -2654,7 +2654,7 @@ See also: `TS`, `TSTrajectory`, `TSTrajectoryCreate()`, `TSTrajectorySetFromOpti $(_doc_external("TS/TSTrajectoryGetType")) """ function TSTrajectoryGetType(petsclib::PetscLibType, tj::TSTrajectory, ts::AbstractTS) - error("TSTrajectoryGetType: no generated method for these argument types") + throw(MethodError(TSTrajectoryGetType, (petsclib, tj, ts))) end @for_petsc function TSTrajectoryGetType(petsclib::$UnionPetscLib, tj::TSTrajectory, ts::AbstractTS ) @@ -2695,7 +2695,7 @@ See also: `TSTrajectory`, `TSSetSaveTrajectory()`, `TSTrajectoryCreate()`, `TSTr $(_doc_external("TS/TSTrajectoryGetUpdatedHistoryVecs")) """ function TSTrajectoryGetUpdatedHistoryVecs(petsclib::PetscLibType, tj::TSTrajectory, ts::AbstractTS, time::Real) - error("TSTrajectoryGetUpdatedHistoryVecs: no generated method for these argument types") + throw(MethodError(TSTrajectoryGetUpdatedHistoryVecs, (petsclib, tj, ts, time))) end @for_petsc function TSTrajectoryGetUpdatedHistoryVecs(petsclib::$UnionPetscLib, tj::TSTrajectory, ts::AbstractTS, time::$PetscReal ) @@ -2739,7 +2739,7 @@ See also: `TS`, `TSTrajectory`, `TSTrajectorySetUp()`, `TSTrajectoryDestroy()`, $(_doc_external("TS/TSTrajectoryGetVecs")) """ function TSTrajectoryGetVecs(petsclib::PetscLibType, tj::TSTrajectory, ts::AbstractTS, stepnum::Integer, U::AbstractPetscVec, Udot::AbstractPetscVec) - error("TSTrajectoryGetVecs: no generated method for these argument types") + throw(MethodError(TSTrajectoryGetVecs, (petsclib, tj, ts, stepnum, U, Udot))) end @for_petsc function TSTrajectoryGetVecs(petsclib::$UnionPetscLib, tj::TSTrajectory, ts::AbstractTS, stepnum::$PetscInt, U::AbstractPetscVec, Udot::AbstractPetscVec ) @@ -2778,7 +2778,7 @@ See also: `TSTrajectory`, `TSTrajectorySetMaxUnitsRAM()`, `TSTrajectoryMemoryTyp $(_doc_external("TS/TSTrajectoryMemorySetType")) """ function TSTrajectoryMemorySetType(petsclib::PetscLibType, tj::TSTrajectory, tj_memory_type::TSTrajectoryMemoryType) - error("TSTrajectoryMemorySetType: no generated method for these argument types") + throw(MethodError(TSTrajectoryMemorySetType, (petsclib, tj, tj_memory_type))) end @for_petsc function TSTrajectoryMemorySetType(petsclib::$UnionPetscLib, tj::TSTrajectory, tj_memory_type::TSTrajectoryMemoryType ) @@ -2812,7 +2812,7 @@ See also: `TSTrajectoryRegisterAll()` $(_doc_external("TS/TSTrajectoryRegister")) """ function TSTrajectoryRegister(petsclib::PetscLibType, sname::String, fnc::external) - error("TSTrajectoryRegister: no generated method for these argument types") + throw(MethodError(TSTrajectoryRegister, (petsclib, sname, fnc))) end @for_petsc function TSTrajectoryRegister(petsclib::$UnionPetscLib, sname::String, fnc::external ) @@ -2842,7 +2842,7 @@ See also: `TSTrajectory`, `TSTrajectoryRegister()` $(_doc_external("TS/TSTrajectoryRegisterAll")) """ function TSTrajectoryRegisterAll(petsclib::PetscLibType) - error("TSTrajectoryRegisterAll: no generated method for these argument types") + throw(MethodError(TSTrajectoryRegisterAll, (petsclib, ))) end @for_petsc function TSTrajectoryRegisterAll(petsclib::$UnionPetscLib) @@ -2874,7 +2874,7 @@ See also: `TS`, `TSTrajectory`, `TSTrajectoryCreate()`, `TSTrajectorySetUp()` $(_doc_external("TS/TSTrajectoryReset")) """ function TSTrajectoryReset(petsclib::PetscLibType, tj::TSTrajectory) - error("TSTrajectoryReset: no generated method for these argument types") + throw(MethodError(TSTrajectoryReset, (petsclib, tj))) end @for_petsc function TSTrajectoryReset(petsclib::$UnionPetscLib, tj::TSTrajectory ) @@ -2909,7 +2909,7 @@ See also: `TSTrajectory`, `TSTrajectoryGetUpdatedHistoryVecs()` $(_doc_external("TS/TSTrajectoryRestoreUpdatedHistoryVecs")) """ function TSTrajectoryRestoreUpdatedHistoryVecs(petsclib::PetscLibType, tj::TSTrajectory, U::AbstractPetscVec, Udot::AbstractPetscVec) - error("TSTrajectoryRestoreUpdatedHistoryVecs: no generated method for these argument types") + throw(MethodError(TSTrajectoryRestoreUpdatedHistoryVecs, (petsclib, tj, U, Udot))) end @for_petsc function TSTrajectoryRestoreUpdatedHistoryVecs(petsclib::$UnionPetscLib, tj::TSTrajectory, U::AbstractPetscVec, Udot::AbstractPetscVec ) @@ -2950,7 +2950,7 @@ See also: `TSTrajectorySetUp()`, `TSTrajectoryDestroy()`, `TSTrajectorySetType() $(_doc_external("TS/TSTrajectorySet")) """ function TSTrajectorySet(petsclib::PetscLibType, tj::TSTrajectory, ts::AbstractTS, stepnum::Integer, time::Real, X::AbstractPetscVec) - error("TSTrajectorySet: no generated method for these argument types") + throw(MethodError(TSTrajectorySet, (petsclib, tj, ts, stepnum, time, X))) end @for_petsc function TSTrajectorySet(petsclib::$UnionPetscLib, tj::TSTrajectory, ts::AbstractTS, stepnum::$PetscInt, time::$PetscReal, X::AbstractPetscVec ) @@ -2987,7 +2987,7 @@ See also: `TSTrajectory`, `TSTrajectorySetFiletemplate()`, `TSTrajectorySetUp()` $(_doc_external("TS/TSTrajectorySetDirname")) """ function TSTrajectorySetDirname(petsclib::PetscLibType, tj::TSTrajectory, dirname::String) - error("TSTrajectorySetDirname: no generated method for these argument types") + throw(MethodError(TSTrajectorySetDirname, (petsclib, tj, dirname))) end @for_petsc function TSTrajectorySetDirname(petsclib::$UnionPetscLib, tj::TSTrajectory, dirname::String ) @@ -3024,7 +3024,7 @@ See also: `TSTrajectory`, `TSTrajectorySetDirname()`, `TSTrajectorySetUp()` $(_doc_external("TS/TSTrajectorySetFiletemplate")) """ function TSTrajectorySetFiletemplate(petsclib::PetscLibType, tj::TSTrajectory, filetemplate::String) - error("TSTrajectorySetFiletemplate: no generated method for these argument types") + throw(MethodError(TSTrajectorySetFiletemplate, (petsclib, tj, filetemplate))) end @for_petsc function TSTrajectorySetFiletemplate(petsclib::$UnionPetscLib, tj::TSTrajectory, filetemplate::String ) @@ -3063,7 +3063,7 @@ See also: `TSTrajectory`, `TSSetSaveTrajectory()`, `TSTrajectorySetUp()` $(_doc_external("TS/TSTrajectorySetFromOptions")) """ function TSTrajectorySetFromOptions(petsclib::PetscLibType, tj::TSTrajectory, ts::AbstractTS) - error("TSTrajectorySetFromOptions: no generated method for these argument types") + throw(MethodError(TSTrajectorySetFromOptions, (petsclib, tj, ts))) end @for_petsc function TSTrajectorySetFromOptions(petsclib::$UnionPetscLib, tj::TSTrajectory, ts::AbstractTS ) @@ -3100,7 +3100,7 @@ See also: `TSTrajectoryCreate()`, `TSTrajectoryDestroy()`, `TSTrajectorySetUp()` $(_doc_external("TS/TSTrajectorySetKeepFiles")) """ function TSTrajectorySetKeepFiles(petsclib::PetscLibType, tj::TSTrajectory, flg::PetscBool) - error("TSTrajectorySetKeepFiles: no generated method for these argument types") + throw(MethodError(TSTrajectorySetKeepFiles, (petsclib, tj, flg))) end @for_petsc function TSTrajectorySetKeepFiles(petsclib::$UnionPetscLib, tj::TSTrajectory, flg::PetscBool ) @@ -3136,7 +3136,7 @@ See also: `TSTrajectory`, `TSTrajectorySetMaxUnitsDisk()`, `TSTrajectorySetMaxUn $(_doc_external("TS/TSTrajectorySetMaxCpsDisk")) """ function TSTrajectorySetMaxCpsDisk(petsclib::PetscLibType, tj::TSTrajectory, max_cps_disk::Integer) - error("TSTrajectorySetMaxCpsDisk: no generated method for these argument types") + throw(MethodError(TSTrajectorySetMaxCpsDisk, (petsclib, tj, max_cps_disk))) end @for_petsc function TSTrajectorySetMaxCpsDisk(petsclib::$UnionPetscLib, tj::TSTrajectory, max_cps_disk::$PetscInt ) @@ -3172,7 +3172,7 @@ See also: `TSTrajectory`, `TSTrajectorySetMaxUnitsRAM()` $(_doc_external("TS/TSTrajectorySetMaxCpsRAM")) """ function TSTrajectorySetMaxCpsRAM(petsclib::PetscLibType, tj::TSTrajectory, max_cps_ram::Integer) - error("TSTrajectorySetMaxCpsRAM: no generated method for these argument types") + throw(MethodError(TSTrajectorySetMaxCpsRAM, (petsclib, tj, max_cps_ram))) end @for_petsc function TSTrajectorySetMaxCpsRAM(petsclib::$UnionPetscLib, tj::TSTrajectory, max_cps_ram::$PetscInt ) @@ -3208,7 +3208,7 @@ See also: `TSTrajectory`, `TSTrajectorySetMaxCpsDisk()` $(_doc_external("TS/TSTrajectorySetMaxUnitsDisk")) """ function TSTrajectorySetMaxUnitsDisk(petsclib::PetscLibType, tj::TSTrajectory, max_units_disk::Integer) - error("TSTrajectorySetMaxUnitsDisk: no generated method for these argument types") + throw(MethodError(TSTrajectorySetMaxUnitsDisk, (petsclib, tj, max_units_disk))) end @for_petsc function TSTrajectorySetMaxUnitsDisk(petsclib::$UnionPetscLib, tj::TSTrajectory, max_units_disk::$PetscInt ) @@ -3244,7 +3244,7 @@ See also: `TSTrajectory`, `TSTrajectorySetMaxCpsRAM()` $(_doc_external("TS/TSTrajectorySetMaxUnitsRAM")) """ function TSTrajectorySetMaxUnitsRAM(petsclib::PetscLibType, tj::TSTrajectory, max_units_ram::Integer) - error("TSTrajectorySetMaxUnitsRAM: no generated method for these argument types") + throw(MethodError(TSTrajectorySetMaxUnitsRAM, (petsclib, tj, max_units_ram))) end @for_petsc function TSTrajectorySetMaxUnitsRAM(petsclib::$UnionPetscLib, tj::TSTrajectory, max_units_ram::$PetscInt ) @@ -3281,7 +3281,7 @@ See also: `TSTrajectory`, `TSTrajectoryCreate()`, `TSTrajectoryDestroy()`, `TSTr $(_doc_external("TS/TSTrajectorySetMonitor")) """ function TSTrajectorySetMonitor(petsclib::PetscLibType, tj::TSTrajectory, flg::PetscBool) - error("TSTrajectorySetMonitor: no generated method for these argument types") + throw(MethodError(TSTrajectorySetMonitor, (petsclib, tj, flg))) end @for_petsc function TSTrajectorySetMonitor(petsclib::$UnionPetscLib, tj::TSTrajectory, flg::PetscBool ) @@ -3315,7 +3315,7 @@ See also: `TSTrajectory`, `TSSetSaveTrajectory()`, `TSTrajectoryCreate()`, `TSTr $(_doc_external("TS/TSTrajectorySetSolutionOnly")) """ function TSTrajectorySetSolutionOnly(petsclib::PetscLibType, tj::TSTrajectory, solution_only::PetscBool) - error("TSTrajectorySetSolutionOnly: no generated method for these argument types") + throw(MethodError(TSTrajectorySetSolutionOnly, (petsclib, tj, solution_only))) end @for_petsc function TSTrajectorySetSolutionOnly(petsclib::$UnionPetscLib, tj::TSTrajectory, solution_only::PetscBool ) @@ -3351,7 +3351,7 @@ See also: `TSTrajectorySetVariableNames()`, `TSTrajectory`, `TSMonitorLGSetTrans $(_doc_external("TS/TSTrajectorySetTransform")) """ function TSTrajectorySetTransform(petsclib::PetscLibType, tj::TSTrajectory, transform::external, destroy::Ptr{Cvoid}, tctx::Ptr{Cvoid}) - error("TSTrajectorySetTransform: no generated method for these argument types") + throw(MethodError(TSTrajectorySetTransform, (petsclib, tj, transform, destroy, tctx))) end @for_petsc function TSTrajectorySetTransform(petsclib::$UnionPetscLib, tj::TSTrajectory, transform::external, destroy::Ptr{Cvoid}, tctx::Ptr{Cvoid} ) @@ -3389,7 +3389,7 @@ See also: `TSTrajectory`, `TSTrajectoryType`, `TS`, `TSTrajectoryCreate()`, `TST $(_doc_external("TS/TSTrajectorySetType")) """ function TSTrajectorySetType(petsclib::PetscLibType, tj::TSTrajectory, ts::AbstractTS, type::String) - error("TSTrajectorySetType: no generated method for these argument types") + throw(MethodError(TSTrajectorySetType, (petsclib, tj, ts, type))) end @for_petsc function TSTrajectorySetType(petsclib::$UnionPetscLib, tj::TSTrajectory, ts::AbstractTS, type::String ) @@ -3424,7 +3424,7 @@ See also: `TSTrajectory`, `TSSetSaveTrajectory()`, `TSTrajectoryCreate()`, `TSTr $(_doc_external("TS/TSTrajectorySetUp")) """ function TSTrajectorySetUp(petsclib::PetscLibType, tj::TSTrajectory, ts::AbstractTS) - error("TSTrajectorySetUp: no generated method for these argument types") + throw(MethodError(TSTrajectorySetUp, (petsclib, tj, ts))) end @for_petsc function TSTrajectorySetUp(petsclib::$UnionPetscLib, tj::TSTrajectory, ts::AbstractTS ) @@ -3461,7 +3461,7 @@ See also: `TSTrajectory`, `TSTrajectoryCreate()`, `TSTrajectoryDestroy()`, `TSTr $(_doc_external("TS/TSTrajectorySetUseHistory")) """ function TSTrajectorySetUseHistory(petsclib::PetscLibType, tj::TSTrajectory, flg::PetscBool) - error("TSTrajectorySetUseHistory: no generated method for these argument types") + throw(MethodError(TSTrajectorySetUseHistory, (petsclib, tj, flg))) end @for_petsc function TSTrajectorySetUseHistory(petsclib::$UnionPetscLib, tj::TSTrajectory, flg::PetscBool ) @@ -3495,7 +3495,7 @@ See also: `TSTrajectory`, `TSGetTrajectory()` $(_doc_external("TS/TSTrajectorySetVariableNames")) """ function TSTrajectorySetVariableNames(petsclib::PetscLibType, ctx::TSTrajectory, names::Cchar) - error("TSTrajectorySetVariableNames: no generated method for these argument types") + throw(MethodError(TSTrajectorySetVariableNames, (petsclib, ctx, names))) end @for_petsc function TSTrajectorySetVariableNames(petsclib::$UnionPetscLib, ctx::TSTrajectory, names::Cchar ) @@ -3532,7 +3532,7 @@ See also: `TS`, `TSTrajectory`, `PetscViewer`, `PetscViewerASCIIOpen()` $(_doc_external("TS/TSTrajectoryView")) """ function TSTrajectoryView(petsclib::PetscLibType, tj::TSTrajectory, viewer::PetscViewer) - error("TSTrajectoryView: no generated method for these argument types") + throw(MethodError(TSTrajectoryView, (petsclib, tj, viewer))) end @for_petsc function TSTrajectoryView(petsclib::$UnionPetscLib, tj::TSTrajectory, viewer::PetscViewer ) @@ -3570,7 +3570,7 @@ See also: `TSTrajectory`, `TSTrajectoryView`, `PetscObjectViewFromOptions()`, `T $(_doc_external("TS/TSTrajectoryViewFromOptions")) """ function TSTrajectoryViewFromOptions(petsclib::PetscLibType, A::TSTrajectory, obj, name::String) - error("TSTrajectoryViewFromOptions: no generated method for these argument types") + throw(MethodError(TSTrajectoryViewFromOptions, (petsclib, A, obj, name))) end @for_petsc function TSTrajectoryViewFromOptions(petsclib::$UnionPetscLib, A::TSTrajectory, obj, name::String ) diff --git a/src/autowrapped/Tao_addons_wrappers.jl b/src/autowrapped/Tao_addons_wrappers.jl index 1289db16f..8684f3912 100644 --- a/src/autowrapped/Tao_addons_wrappers.jl +++ b/src/autowrapped/Tao_addons_wrappers.jl @@ -17,7 +17,7 @@ See also: `Tao`, `TaoLineSearch`, `TaoLineSearchSetOptionsPrefix()`, `TaoLineSea $(_doc_external("TaoLineSearch/TaoLineSearchAppendOptionsPrefix")) """ function TaoLineSearchAppendOptionsPrefix(petsclib::PetscLibType, ls::TaoLineSearch, p::String) - error("TaoLineSearchAppendOptionsPrefix: no generated method for these argument types") + throw(MethodError(TaoLineSearchAppendOptionsPrefix, (petsclib, ls, p))) end @for_petsc function TaoLineSearchAppendOptionsPrefix(petsclib::$UnionPetscLib, ls::TaoLineSearch, p::String ) @@ -60,7 +60,7 @@ See also: `Tao`, `TaoLineSearchConvergedReason`, `TaoLineSearch`, `TaoLineSearch $(_doc_external("TaoLineSearch/TaoLineSearchApply")) """ function TaoLineSearchApply(petsclib::PetscLibType, ls::TaoLineSearch, x::AbstractPetscVec, g::AbstractPetscVec, s::AbstractPetscVec) - error("TaoLineSearchApply: no generated method for these argument types") + throw(MethodError(TaoLineSearchApply, (petsclib, ls, x, g, s))) end @for_petsc function TaoLineSearchApply(petsclib::$UnionPetscLib, ls::TaoLineSearch, x::AbstractPetscVec, g::AbstractPetscVec, s::AbstractPetscVec ) @@ -103,7 +103,7 @@ See also: `Tao`, `TaoLineSearch`, `TaoLineSearchComputeObjective()`, `TaoLineSea $(_doc_external("TaoLineSearch/TaoLineSearchComputeGradient")) """ function TaoLineSearchComputeGradient(petsclib::PetscLibType, ls::TaoLineSearch, x::AbstractPetscVec, g::AbstractPetscVec) - error("TaoLineSearchComputeGradient: no generated method for these argument types") + throw(MethodError(TaoLineSearchComputeGradient, (petsclib, ls, x, g))) end @for_petsc function TaoLineSearchComputeGradient(petsclib::$UnionPetscLib, ls::TaoLineSearch, x::AbstractPetscVec, g::AbstractPetscVec ) @@ -140,7 +140,7 @@ See also: `Tao`, `TaoLineSearch`, `TaoLineSearchComputeGradient()`, `TaoLineSear $(_doc_external("TaoLineSearch/TaoLineSearchComputeObjective")) """ function TaoLineSearchComputeObjective(petsclib::PetscLibType, ls::TaoLineSearch, x::AbstractPetscVec) - error("TaoLineSearchComputeObjective: no generated method for these argument types") + throw(MethodError(TaoLineSearchComputeObjective, (petsclib, ls, x))) end @for_petsc function TaoLineSearchComputeObjective(petsclib::$UnionPetscLib, ls::TaoLineSearch, x::AbstractPetscVec ) @@ -181,7 +181,7 @@ See also: `Tao`, `TaoLineSearch`, `TaoLineSearchComputeGradient()`, `TaoLineSear $(_doc_external("TaoLineSearch/TaoLineSearchComputeObjectiveAndGTS")) """ function TaoLineSearchComputeObjectiveAndGTS(petsclib::PetscLibType, ls::TaoLineSearch, x::AbstractPetscVec) - error("TaoLineSearchComputeObjectiveAndGTS: no generated method for these argument types") + throw(MethodError(TaoLineSearchComputeObjectiveAndGTS, (petsclib, ls, x))) end @for_petsc function TaoLineSearchComputeObjectiveAndGTS(petsclib::$UnionPetscLib, ls::TaoLineSearch, x::AbstractPetscVec ) @@ -223,7 +223,7 @@ See also: `Tao`, `TaoLineSearch`, `TaoLineSearchComputeGradient()`, `TaoLineSear $(_doc_external("TaoLineSearch/TaoLineSearchComputeObjectiveAndGradient")) """ function TaoLineSearchComputeObjectiveAndGradient(petsclib::PetscLibType, ls::TaoLineSearch, x::AbstractPetscVec, g::AbstractPetscVec) - error("TaoLineSearchComputeObjectiveAndGradient: no generated method for these argument types") + throw(MethodError(TaoLineSearchComputeObjectiveAndGradient, (petsclib, ls, x, g))) end @for_petsc function TaoLineSearchComputeObjectiveAndGradient(petsclib::$UnionPetscLib, ls::TaoLineSearch, x::AbstractPetscVec, g::AbstractPetscVec ) @@ -265,7 +265,7 @@ See also: `Tao`, `TaoLineSearch`, `TaoLineSearchType`, `TaoLineSearchSetType()`, $(_doc_external("TaoLineSearch/TaoLineSearchCreate")) """ function TaoLineSearchCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("TaoLineSearchCreate: no generated method for these argument types") + throw(MethodError(TaoLineSearchCreate, (petsclib, comm))) end @for_petsc function TaoLineSearchCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -301,7 +301,7 @@ See also: `TaoLineSearch`, `TaoLineSearchCreate()`, `TaoLineSearchApple()` $(_doc_external("TaoLineSearch/TaoLineSearchDestroy")) """ function TaoLineSearchDestroy(petsclib::PetscLibType, ls::Union{TaoLineSearch, Ref{TaoLineSearch}}) - error("TaoLineSearchDestroy: no generated method for these argument types") + throw(MethodError(TaoLineSearchDestroy, (petsclib, ls))) end @for_petsc function TaoLineSearchDestroy(petsclib::$UnionPetscLib, ls::Union{TaoLineSearch, Ref{TaoLineSearch}} ) @@ -330,7 +330,7 @@ See also: `Tao`, `TaoLineSearch` $(_doc_external("TaoLineSearch/TaoLineSearchFinalizePackage")) """ function TaoLineSearchFinalizePackage(petsclib::PetscLibType) - error("TaoLineSearchFinalizePackage: no generated method for these argument types") + throw(MethodError(TaoLineSearchFinalizePackage, (petsclib, ))) end @for_petsc function TaoLineSearchFinalizePackage(petsclib::$UnionPetscLib) @@ -365,7 +365,7 @@ See also: `TaoLineSearchGetSolution()`, `TaoLineSearchGetStartingVector()`, `Tao $(_doc_external("TaoLineSearch/TaoLineSearchGetFullStepObjective")) """ function TaoLineSearchGetFullStepObjective(petsclib::PetscLibType, ls::TaoLineSearch) - error("TaoLineSearchGetFullStepObjective: no generated method for these argument types") + throw(MethodError(TaoLineSearchGetFullStepObjective, (petsclib, ls))) end @for_petsc function TaoLineSearchGetFullStepObjective(petsclib::$UnionPetscLib, ls::TaoLineSearch ) @@ -406,7 +406,7 @@ See also: `TaoLineSearch` $(_doc_external("TaoLineSearch/TaoLineSearchGetNumberFunctionEvaluations")) """ function TaoLineSearchGetNumberFunctionEvaluations(petsclib::PetscLibType, ls::TaoLineSearch) - error("TaoLineSearchGetNumberFunctionEvaluations: no generated method for these argument types") + throw(MethodError(TaoLineSearchGetNumberFunctionEvaluations, (petsclib, ls))) end @for_petsc function TaoLineSearchGetNumberFunctionEvaluations(petsclib::$UnionPetscLib, ls::TaoLineSearch ) @@ -449,7 +449,7 @@ See also: `Tao`, `TaoLineSearch`, `TaoLineSearchSetOptionsPrefix()`, `TaoLineSea $(_doc_external("TaoLineSearch/TaoLineSearchGetOptionsPrefix")) """ function TaoLineSearchGetOptionsPrefix(petsclib::PetscLibType, ls::TaoLineSearch) - error("TaoLineSearchGetOptionsPrefix: no generated method for these argument types") + throw(MethodError(TaoLineSearchGetOptionsPrefix, (petsclib, ls))) end @for_petsc function TaoLineSearchGetOptionsPrefix(petsclib::$UnionPetscLib, ls::TaoLineSearch ) @@ -491,7 +491,7 @@ See also: `TaoLineSearchGetStartingVector()`, `TaoLineSearchGetStepDirection()` $(_doc_external("TaoLineSearch/TaoLineSearchGetSolution")) """ function TaoLineSearchGetSolution(petsclib::PetscLibType, ls::TaoLineSearch, x::AbstractPetscVec, g::AbstractPetscVec) - error("TaoLineSearchGetSolution: no generated method for these argument types") + throw(MethodError(TaoLineSearchGetSolution, (petsclib, ls, x, g))) end @for_petsc function TaoLineSearchGetSolution(petsclib::$UnionPetscLib, ls::TaoLineSearch, x::AbstractPetscVec, g::AbstractPetscVec ) @@ -534,7 +534,7 @@ See also: `TaoLineSearchGetSolution()`, `TaoLineSearchGetStepDirection()` $(_doc_external("TaoLineSearch/TaoLineSearchGetStartingVector")) """ function TaoLineSearchGetStartingVector(petsclib::PetscLibType, ls::TaoLineSearch) - error("TaoLineSearchGetStartingVector: no generated method for these argument types") + throw(MethodError(TaoLineSearchGetStartingVector, (petsclib, ls))) end @for_petsc function TaoLineSearchGetStartingVector(petsclib::$UnionPetscLib, ls::TaoLineSearch ) @@ -573,7 +573,7 @@ See also: `TaoLineSearchGetSolution()`, `TaoLineSearchGetStartingVector()` $(_doc_external("TaoLineSearch/TaoLineSearchGetStepDirection")) """ function TaoLineSearchGetStepDirection(petsclib::PetscLibType, ls::TaoLineSearch) - error("TaoLineSearchGetStepDirection: no generated method for these argument types") + throw(MethodError(TaoLineSearchGetStepDirection, (petsclib, ls))) end @for_petsc function TaoLineSearchGetStepDirection(petsclib::$UnionPetscLib, ls::TaoLineSearch ) @@ -611,7 +611,7 @@ See also: `Tao`, `TaoLineSearch`, `TaoLineSearchSetInitialStepLength()`, `TaoLin $(_doc_external("TaoLineSearch/TaoLineSearchGetStepLength")) """ function TaoLineSearchGetStepLength(petsclib::PetscLibType, ls::TaoLineSearch) - error("TaoLineSearchGetStepLength: no generated method for these argument types") + throw(MethodError(TaoLineSearchGetStepLength, (petsclib, ls))) end @for_petsc function TaoLineSearchGetStepLength(petsclib::$UnionPetscLib, ls::TaoLineSearch ) @@ -649,7 +649,7 @@ See also: `TaoLineSearch`, `TaoLineSearchSetType()`, `TaoLineSearchType`, `Petsc $(_doc_external("TaoLineSearch/TaoLineSearchGetType")) """ function TaoLineSearchGetType(petsclib::PetscLibType, ls::TaoLineSearch) - error("TaoLineSearchGetType: no generated method for these argument types") + throw(MethodError(TaoLineSearchGetType, (petsclib, ls))) end @for_petsc function TaoLineSearchGetType(petsclib::$UnionPetscLib, ls::TaoLineSearch ) @@ -682,7 +682,7 @@ See also: `Tao`, `TaoLineSearch`, `TaoLineSearchCreate()` $(_doc_external("TaoLineSearch/TaoLineSearchInitializePackage")) """ function TaoLineSearchInitializePackage(petsclib::PetscLibType) - error("TaoLineSearchInitializePackage: no generated method for these argument types") + throw(MethodError(TaoLineSearchInitializePackage, (petsclib, ))) end @for_petsc function TaoLineSearchInitializePackage(petsclib::$UnionPetscLib) @@ -719,7 +719,7 @@ See also: `TaoLineSearch` $(_doc_external("TaoLineSearch/TaoLineSearchIsUsingTaoRoutines")) """ function TaoLineSearchIsUsingTaoRoutines(petsclib::PetscLibType, ls::TaoLineSearch) - error("TaoLineSearchIsUsingTaoRoutines: no generated method for these argument types") + throw(MethodError(TaoLineSearchIsUsingTaoRoutines, (petsclib, ls))) end @for_petsc function TaoLineSearchIsUsingTaoRoutines(petsclib::$UnionPetscLib, ls::TaoLineSearch ) @@ -760,7 +760,7 @@ See also: `TaoLineSearch` $(_doc_external("TaoLineSearch/TaoLineSearchMonitor")) """ function TaoLineSearchMonitor(petsclib::PetscLibType, ls::TaoLineSearch, its::Integer, f::Real, step::Real) - error("TaoLineSearchMonitor: no generated method for these argument types") + throw(MethodError(TaoLineSearchMonitor, (petsclib, ls, its, f, step))) end @for_petsc function TaoLineSearchMonitor(petsclib::$UnionPetscLib, ls::TaoLineSearch, its::$PetscInt, f::$PetscReal, step::$PetscReal ) @@ -795,7 +795,7 @@ See also: `Tao`, `TaoLineSearch` $(_doc_external("TaoLineSearch/TaoLineSearchRegister")) """ function TaoLineSearchRegister(petsclib::PetscLibType, sname::String, func::external) - error("TaoLineSearchRegister: no generated method for these argument types") + throw(MethodError(TaoLineSearchRegister, (petsclib, sname, func))) end @for_petsc function TaoLineSearchRegister(petsclib::$UnionPetscLib, sname::String, func::external ) @@ -830,7 +830,7 @@ See also: `Tao`, `TaoLineSearch`, `TaoLineSearchCreate()`, `TaoLineSearchApply() $(_doc_external("TaoLineSearch/TaoLineSearchReset")) """ function TaoLineSearchReset(petsclib::PetscLibType, ls::TaoLineSearch) - error("TaoLineSearchReset: no generated method for these argument types") + throw(MethodError(TaoLineSearchReset, (petsclib, ls))) end @for_petsc function TaoLineSearchReset(petsclib::$UnionPetscLib, ls::TaoLineSearch ) @@ -875,7 +875,7 @@ See also: `Tao`, `TaoLineSearch`, `TaoGetLineSearch()` $(_doc_external("TaoLineSearch/TaoLineSearchSetFromOptions")) """ function TaoLineSearchSetFromOptions(petsclib::PetscLibType, ls::TaoLineSearch) - error("TaoLineSearchSetFromOptions: no generated method for these argument types") + throw(MethodError(TaoLineSearchSetFromOptions, (petsclib, ls))) end @for_petsc function TaoLineSearchSetFromOptions(petsclib::$UnionPetscLib, ls::TaoLineSearch ) @@ -916,7 +916,7 @@ See also: `Tao`, `TaoLineSearch`, `TaoLineSearchCreate()`, `TaoLineSearchSetObje $(_doc_external("TaoLineSearch/TaoLineSearchSetGradientRoutine")) """ function TaoLineSearchSetGradientRoutine(petsclib::PetscLibType, ls::TaoLineSearch, func::external, ctx::Ptr{Cvoid}) - error("TaoLineSearchSetGradientRoutine: no generated method for these argument types") + throw(MethodError(TaoLineSearchSetGradientRoutine, (petsclib, ls, func, ctx))) end @for_petsc function TaoLineSearchSetGradientRoutine(petsclib::$UnionPetscLib, ls::TaoLineSearch, func::external, ctx::Ptr{Cvoid} ) @@ -951,7 +951,7 @@ See also: `Tao`, `TaoLineSearch`, `TaoLineSearchGetStepLength()`, `TaoLineSearch $(_doc_external("TaoLineSearch/TaoLineSearchSetInitialStepLength")) """ function TaoLineSearchSetInitialStepLength(petsclib::PetscLibType, ls::TaoLineSearch, s::Real) - error("TaoLineSearchSetInitialStepLength: no generated method for these argument types") + throw(MethodError(TaoLineSearchSetInitialStepLength, (petsclib, ls, s))) end @for_petsc function TaoLineSearchSetInitialStepLength(petsclib::$UnionPetscLib, ls::TaoLineSearch, s::$PetscReal ) @@ -995,7 +995,7 @@ See also: `Tao`, `TaoLineSearch`, `TaoLineSearchCreate()`, `TaoLineSearchSetObje $(_doc_external("TaoLineSearch/TaoLineSearchSetObjectiveAndGTSRoutine")) """ function TaoLineSearchSetObjectiveAndGTSRoutine(petsclib::PetscLibType, ls::TaoLineSearch, func::external, ctx::Ptr{Cvoid}) - error("TaoLineSearchSetObjectiveAndGTSRoutine: no generated method for these argument types") + throw(MethodError(TaoLineSearchSetObjectiveAndGTSRoutine, (petsclib, ls, func, ctx))) end @for_petsc function TaoLineSearchSetObjectiveAndGTSRoutine(petsclib::$UnionPetscLib, ls::TaoLineSearch, func::external, ctx::Ptr{Cvoid} ) @@ -1037,7 +1037,7 @@ See also: `Tao`, `TaoLineSearch`, `TaoLineSearchCreate()`, `TaoLineSearchSetObje $(_doc_external("TaoLineSearch/TaoLineSearchSetObjectiveAndGradientRoutine")) """ function TaoLineSearchSetObjectiveAndGradientRoutine(petsclib::PetscLibType, ls::TaoLineSearch, func::external, ctx::Ptr{Cvoid}) - error("TaoLineSearchSetObjectiveAndGradientRoutine: no generated method for these argument types") + throw(MethodError(TaoLineSearchSetObjectiveAndGradientRoutine, (petsclib, ls, func, ctx))) end @for_petsc function TaoLineSearchSetObjectiveAndGradientRoutine(petsclib::$UnionPetscLib, ls::TaoLineSearch, func::external, ctx::Ptr{Cvoid} ) @@ -1078,7 +1078,7 @@ See also: `Tao`, `TaoLineSearch`, `TaoLineSearchCreate()`, `TaoLineSearchSetGrad $(_doc_external("TaoLineSearch/TaoLineSearchSetObjectiveRoutine")) """ function TaoLineSearchSetObjectiveRoutine(petsclib::PetscLibType, ls::TaoLineSearch, func::external, ctx::Ptr{Cvoid}) - error("TaoLineSearchSetObjectiveRoutine: no generated method for these argument types") + throw(MethodError(TaoLineSearchSetObjectiveRoutine, (petsclib, ls, func, ctx))) end @for_petsc function TaoLineSearchSetObjectiveRoutine(petsclib::$UnionPetscLib, ls::TaoLineSearch, func::external, ctx::Ptr{Cvoid} ) @@ -1113,7 +1113,7 @@ See also: `Tao`, `TaoLineSearch`, `TaoLineSearchAppendOptionsPrefix()`, `TaoLine $(_doc_external("TaoLineSearch/TaoLineSearchSetOptionsPrefix")) """ function TaoLineSearchSetOptionsPrefix(petsclib::PetscLibType, ls::TaoLineSearch, p::String) - error("TaoLineSearchSetOptionsPrefix: no generated method for these argument types") + throw(MethodError(TaoLineSearchSetOptionsPrefix, (petsclib, ls, p))) end @for_petsc function TaoLineSearchSetOptionsPrefix(petsclib::$UnionPetscLib, ls::TaoLineSearch, p::String ) @@ -1151,7 +1151,7 @@ See also: `Tao`, `TaoLineSearch`, `TaoLineSearchType`, `TaoLineSearchCreate()`, $(_doc_external("TaoLineSearch/TaoLineSearchSetType")) """ function TaoLineSearchSetType(petsclib::PetscLibType, ls::TaoLineSearch, type::String) - error("TaoLineSearchSetType: no generated method for these argument types") + throw(MethodError(TaoLineSearchSetType, (petsclib, ls, type))) end @for_petsc function TaoLineSearchSetType(petsclib::$UnionPetscLib, ls::TaoLineSearch, type::String ) @@ -1185,7 +1185,7 @@ See also: `Tao`, `TaoLineSearch`, `TaoLineSearchCreate()`, `TaoLineSearchApply() $(_doc_external("TaoLineSearch/TaoLineSearchSetUp")) """ function TaoLineSearchSetUp(petsclib::PetscLibType, ls::TaoLineSearch) - error("TaoLineSearchSetUp: no generated method for these argument types") + throw(MethodError(TaoLineSearchSetUp, (petsclib, ls))) end @for_petsc function TaoLineSearchSetUp(petsclib::$UnionPetscLib, ls::TaoLineSearch ) @@ -1220,7 +1220,7 @@ See also: `Tao`, `TaoLineSearch`, `TaoSetVariableBounds()`, `TaoLineSearchCreate $(_doc_external("TaoLineSearch/TaoLineSearchSetVariableBounds")) """ function TaoLineSearchSetVariableBounds(petsclib::PetscLibType, ls::TaoLineSearch, xl::AbstractPetscVec, xu::AbstractPetscVec) - error("TaoLineSearchSetVariableBounds: no generated method for these argument types") + throw(MethodError(TaoLineSearchSetVariableBounds, (petsclib, ls, xl, xu))) end @for_petsc function TaoLineSearchSetVariableBounds(petsclib::$UnionPetscLib, ls::TaoLineSearch, xl::AbstractPetscVec, xu::AbstractPetscVec ) @@ -1255,7 +1255,7 @@ See also: `Tao`, `TaoLineSearch`, `TaoLineSearchCreate()` $(_doc_external("TaoLineSearch/TaoLineSearchUseTaoRoutines")) """ function TaoLineSearchUseTaoRoutines(petsclib::PetscLibType, ls::TaoLineSearch, ts::AbstractTao) - error("TaoLineSearchUseTaoRoutines: no generated method for these argument types") + throw(MethodError(TaoLineSearchUseTaoRoutines, (petsclib, ls, ts))) end @for_petsc function TaoLineSearchUseTaoRoutines(petsclib::$UnionPetscLib, ls::TaoLineSearch, ts::AbstractTao ) @@ -1292,7 +1292,7 @@ See also: `Tao`, `TaoLineSearch`, `PetscViewerASCIIOpen()`, `TaoLineSearchViewFr $(_doc_external("TaoLineSearch/TaoLineSearchView")) """ function TaoLineSearchView(petsclib::PetscLibType, ls::TaoLineSearch, viewer::PetscViewer) - error("TaoLineSearchView: no generated method for these argument types") + throw(MethodError(TaoLineSearchView, (petsclib, ls, viewer))) end @for_petsc function TaoLineSearchView(petsclib::$UnionPetscLib, ls::TaoLineSearch, viewer::PetscViewer ) @@ -1330,7 +1330,7 @@ See also: `Tao`, `TaoLineSearch`, `TaoLineSearchView()`, `PetscObjectViewFromOpt $(_doc_external("TaoLineSearch/TaoLineSearchViewFromOptions")) """ function TaoLineSearchViewFromOptions(petsclib::PetscLibType, A::TaoLineSearch, obj, name::String) - error("TaoLineSearchViewFromOptions: no generated method for these argument types") + throw(MethodError(TaoLineSearchViewFromOptions, (petsclib, A, obj, name))) end @for_petsc function TaoLineSearchViewFromOptions(petsclib::$UnionPetscLib, A::TaoLineSearch, obj, name::String ) @@ -1377,7 +1377,7 @@ See also: `Tao`, `TaoMonitorSet()`, `TaoMonitorDefault()`, `VecView()`, `TaoMoni $(_doc_external("Tao/TaoMonitorDrawCtxCreate")) """ function TaoMonitorDrawCtxCreate(petsclib::PetscLibType, comm::MPI_Comm, host::String, label::String, x::Cint, y::Cint, m::Cint, n::Cint, howoften::Integer) - error("TaoMonitorDrawCtxCreate: no generated method for these argument types") + throw(MethodError(TaoMonitorDrawCtxCreate, (petsclib, comm, host, label, x, y, m, n, howoften))) end @for_petsc function TaoMonitorDrawCtxCreate(petsclib::$UnionPetscLib, comm::MPI_Comm, host::String, label::String, x::Cint, y::Cint, m::Cint, n::Cint, howoften::$PetscInt ) @@ -1412,7 +1412,7 @@ See also: `Tao`, `TaoMonitorSet()`, `TaoMonitorDefault()`, `VecView()`, `TaoMoni $(_doc_external("Tao/TaoMonitorDrawCtxDestroy")) """ function TaoMonitorDrawCtxDestroy(petsclib::PetscLibType, ictx::Union{TaoMonitorDrawCtx, Ref{TaoMonitorDrawCtx}}) - error("TaoMonitorDrawCtxDestroy: no generated method for these argument types") + throw(MethodError(TaoMonitorDrawCtxDestroy, (petsclib, ictx))) end @for_petsc function TaoMonitorDrawCtxDestroy(petsclib::$UnionPetscLib, ictx::Union{TaoMonitorDrawCtx, Ref{TaoMonitorDrawCtx}} ) @@ -1455,7 +1455,7 @@ Level: developer $(_doc_external("TaoTerm/TaoTermComputeGradient")) """ function TaoTermComputeGradient(petsclib::PetscLibType, term::TaoTerm, x::AbstractPetscVec, params::AbstractPetscVec, g::AbstractPetscVec) - error("TaoTermComputeGradient: no generated method for these argument types") + throw(MethodError(TaoTermComputeGradient, (petsclib, term, x, params, g))) end @for_petsc function TaoTermComputeGradient(petsclib::$UnionPetscLib, term::TaoTerm, x::AbstractPetscVec, params::AbstractPetscVec, g::AbstractPetscVec ) @@ -1509,7 +1509,7 @@ this routine in `TaoTermComputeGradient()`. $(_doc_external("TaoTerm/TaoTermComputeGradientFD")) """ function TaoTermComputeGradientFD(petsclib::PetscLibType, term::TaoTerm, x::AbstractPetscVec, params::AbstractPetscVec, g::AbstractPetscVec) - error("TaoTermComputeGradientFD: no generated method for these argument types") + throw(MethodError(TaoTermComputeGradientFD, (petsclib, term, x, params, g))) end @for_petsc function TaoTermComputeGradientFD(petsclib::$UnionPetscLib, term::TaoTerm, x::AbstractPetscVec, params::AbstractPetscVec, g::AbstractPetscVec ) @@ -1552,7 +1552,7 @@ Level: advanced $(_doc_external("TaoTerm/TaoTermComputeGradientGetUseFD")) """ function TaoTermComputeGradientGetUseFD(petsclib::PetscLibType, term::TaoTerm) - error("TaoTermComputeGradientGetUseFD: no generated method for these argument types") + throw(MethodError(TaoTermComputeGradientGetUseFD, (petsclib, term))) end @for_petsc function TaoTermComputeGradientGetUseFD(petsclib::$UnionPetscLib, term::TaoTerm ) @@ -1598,7 +1598,7 @@ Level: advanced $(_doc_external("TaoTerm/TaoTermComputeGradientSetUseFD")) """ function TaoTermComputeGradientSetUseFD(petsclib::PetscLibType, term::TaoTerm, use_fd::PetscBool) - error("TaoTermComputeGradientSetUseFD: no generated method for these argument types") + throw(MethodError(TaoTermComputeGradientSetUseFD, (petsclib, term, use_fd))) end @for_petsc function TaoTermComputeGradientSetUseFD(petsclib::$UnionPetscLib, term::TaoTerm, use_fd::PetscBool ) @@ -1646,7 +1646,7 @@ and `TaoTermComputeHessian(term, x, params, H, H)` are equivalent. $(_doc_external("TaoTerm/TaoTermComputeHessian")) """ function TaoTermComputeHessian(petsclib::PetscLibType, term::TaoTerm, x::AbstractPetscVec, params::AbstractPetscVec, H::AbstractPetscMat, Hpre::AbstractPetscMat) - error("TaoTermComputeHessian: no generated method for these argument types") + throw(MethodError(TaoTermComputeHessian, (petsclib, term, x, params, H, Hpre))) end @for_petsc function TaoTermComputeHessian(petsclib::$UnionPetscLib, term::TaoTerm, x::AbstractPetscVec, params::AbstractPetscVec, H::AbstractPetscMat, Hpre::AbstractPetscMat ) @@ -1701,7 +1701,7 @@ this routine in `TaoTermComputeHessian()`. $(_doc_external("TaoTerm/TaoTermComputeHessianFD")) """ function TaoTermComputeHessianFD(petsclib::PetscLibType, term::TaoTerm, x::AbstractPetscVec, params::AbstractPetscVec, H::AbstractPetscMat, Hpre::AbstractPetscMat) - error("TaoTermComputeHessianFD: no generated method for these argument types") + throw(MethodError(TaoTermComputeHessianFD, (petsclib, term, x, params, H, Hpre))) end @for_petsc function TaoTermComputeHessianFD(petsclib::$UnionPetscLib, term::TaoTerm, x::AbstractPetscVec, params::AbstractPetscVec, H::AbstractPetscMat, Hpre::AbstractPetscMat ) @@ -1744,7 +1744,7 @@ Level: advanced $(_doc_external("TaoTerm/TaoTermComputeHessianGetUseFD")) """ function TaoTermComputeHessianGetUseFD(petsclib::PetscLibType, term::TaoTerm) - error("TaoTermComputeHessianGetUseFD: no generated method for these argument types") + throw(MethodError(TaoTermComputeHessianGetUseFD, (petsclib, term))) end @for_petsc function TaoTermComputeHessianGetUseFD(petsclib::$UnionPetscLib, term::TaoTerm ) @@ -1786,7 +1786,7 @@ See also: `TaoTerm`, `TaoTermCreateHessianMFFD()`, `TaoTermComputeHessian()`, `M $(_doc_external("TaoTerm/TaoTermComputeHessianMFFD")) """ function TaoTermComputeHessianMFFD(petsclib::PetscLibType, term::TaoTerm, x::AbstractPetscVec, params::AbstractPetscVec, H::AbstractPetscMat, B::AbstractPetscMat) - error("TaoTermComputeHessianMFFD: no generated method for these argument types") + throw(MethodError(TaoTermComputeHessianMFFD, (petsclib, term, x, params, H, B))) end @for_petsc function TaoTermComputeHessianMFFD(petsclib::$UnionPetscLib, term::TaoTerm, x::AbstractPetscVec, params::AbstractPetscVec, H::AbstractPetscMat, B::AbstractPetscMat ) @@ -1830,7 +1830,7 @@ Level: advanced $(_doc_external("TaoTerm/TaoTermComputeHessianSetUseFD")) """ function TaoTermComputeHessianSetUseFD(petsclib::PetscLibType, term::TaoTerm, use_fd::PetscBool) - error("TaoTermComputeHessianSetUseFD: no generated method for these argument types") + throw(MethodError(TaoTermComputeHessianSetUseFD, (petsclib, term, use_fd))) end @for_petsc function TaoTermComputeHessianSetUseFD(petsclib::$UnionPetscLib, term::TaoTerm, use_fd::PetscBool ) @@ -1872,7 +1872,7 @@ Level: developer $(_doc_external("TaoTerm/TaoTermComputeObjective")) """ function TaoTermComputeObjective(petsclib::PetscLibType, term::TaoTerm, x::AbstractPetscVec, params::AbstractPetscVec) - error("TaoTermComputeObjective: no generated method for these argument types") + throw(MethodError(TaoTermComputeObjective, (petsclib, term, x, params))) end @for_petsc function TaoTermComputeObjective(petsclib::$UnionPetscLib, term::TaoTerm, x::AbstractPetscVec, params::AbstractPetscVec ) @@ -1918,7 +1918,7 @@ Level: developer $(_doc_external("TaoTerm/TaoTermComputeObjectiveAndGradient")) """ function TaoTermComputeObjectiveAndGradient(petsclib::PetscLibType, term::TaoTerm, x::AbstractPetscVec, params::AbstractPetscVec, g::AbstractPetscVec) - error("TaoTermComputeObjectiveAndGradient: no generated method for these argument types") + throw(MethodError(TaoTermComputeObjectiveAndGradient, (petsclib, term, x, params, g))) end @for_petsc function TaoTermComputeObjectiveAndGradient(petsclib::$UnionPetscLib, term::TaoTerm, x::AbstractPetscVec, params::AbstractPetscVec, g::AbstractPetscVec ) @@ -1962,7 +1962,7 @@ Level: beginner $(_doc_external("TaoTerm/TaoTermCreate")) """ function TaoTermCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("TaoTermCreate: no generated method for these argument types") + throw(MethodError(TaoTermCreate, (petsclib, comm))) end @for_petsc function TaoTermCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -2018,7 +2018,7 @@ TaoAddTerm(tao, "reg_", alpha, term, p, NULL); $(_doc_external("TaoTerm/TaoTermCreateHalfL2Squared")) """ function TaoTermCreateHalfL2Squared(petsclib::PetscLibType, comm::MPI_Comm, n::Integer, M_N::Integer) - error("TaoTermCreateHalfL2Squared: no generated method for these argument types") + throw(MethodError(TaoTermCreateHalfL2Squared, (petsclib, comm, n, M_N))) end @for_petsc function TaoTermCreateHalfL2Squared(petsclib::$UnionPetscLib, comm::MPI_Comm, n::$PetscInt, M_N::$PetscInt ) @@ -2056,7 +2056,7 @@ See also: `TaoTerm`, `TaoTermComputeHessianFD()` $(_doc_external("TaoTerm/TaoTermCreateHessianMFFD")) """ function TaoTermCreateHessianMFFD(petsclib::PetscLibType, term::TaoTerm) - error("TaoTermCreateHessianMFFD: no generated method for these argument types") + throw(MethodError(TaoTermCreateHessianMFFD, (petsclib, term))) end @for_petsc function TaoTermCreateHessianMFFD(petsclib::$UnionPetscLib, term::TaoTerm ) @@ -2110,7 +2110,7 @@ their Hessian matrices: the behavior of that function can be controlled by $(_doc_external("TaoTerm/TaoTermCreateHessianMatrices")) """ function TaoTermCreateHessianMatrices(petsclib::PetscLibType, term::TaoTerm) - error("TaoTermCreateHessianMatrices: no generated method for these argument types") + throw(MethodError(TaoTermCreateHessianMatrices, (petsclib, term))) end @for_petsc function TaoTermCreateHessianMatrices(petsclib::$UnionPetscLib, term::TaoTerm ) @@ -2161,7 +2161,7 @@ If either type is `MATMFFD`, then it will create a shell matrix with `TaoTermCre $(_doc_external("TaoTerm/TaoTermCreateHessianMatricesDefault")) """ function TaoTermCreateHessianMatricesDefault(petsclib::PetscLibType, term::TaoTerm) - error("TaoTermCreateHessianMatricesDefault: no generated method for these argument types") + throw(MethodError(TaoTermCreateHessianMatricesDefault, (petsclib, term))) end @for_petsc function TaoTermCreateHessianMatricesDefault(petsclib::$UnionPetscLib, term::TaoTerm ) @@ -2227,7 +2227,7 @@ TaoTermDestroy(&term); $(_doc_external("TaoTerm/TaoTermCreateL1")) """ function TaoTermCreateL1(petsclib::PetscLibType, comm::MPI_Comm, n::Integer, M_N::Integer, epsilon::Real) - error("TaoTermCreateL1: no generated method for these argument types") + throw(MethodError(TaoTermCreateL1, (petsclib, comm, n, M_N, epsilon))) end @for_petsc function TaoTermCreateL1(petsclib::$UnionPetscLib, comm::MPI_Comm, n::$PetscInt, M_N::$PetscInt, epsilon::$PetscReal ) @@ -2285,7 +2285,7 @@ You can also call `TaoTermSetParametersVecType()` to set the type of vector crea $(_doc_external("TaoTerm/TaoTermCreateParametersVec")) """ function TaoTermCreateParametersVec(petsclib::PetscLibType, term::TaoTerm) - error("TaoTermCreateParametersVec: no generated method for these argument types") + throw(MethodError(TaoTermCreateParametersVec, (petsclib, term))) end @for_petsc function TaoTermCreateParametersVec(petsclib::$UnionPetscLib, term::TaoTerm ) @@ -2327,7 +2327,7 @@ Level: beginner $(_doc_external("TaoTerm/TaoTermCreateQuadratic")) """ function TaoTermCreateQuadratic(petsclib::PetscLibType, A::AbstractPetscMat) - error("TaoTermCreateQuadratic: no generated method for these argument types") + throw(MethodError(TaoTermCreateQuadratic, (petsclib, A))) end @for_petsc function TaoTermCreateQuadratic(petsclib::$UnionPetscLib, A::AbstractPetscMat ) @@ -2367,7 +2367,7 @@ See also: `TaoTerm`, `TAOTERMSHELL` $(_doc_external("TaoTerm/TaoTermCreateShell")) """ function TaoTermCreateShell(petsclib::PetscLibType, comm::MPI_Comm, ctx::Ptr{Cvoid}, destroy::Ptr{Cvoid}) - error("TaoTermCreateShell: no generated method for these argument types") + throw(MethodError(TaoTermCreateShell, (petsclib, comm, ctx, destroy))) end @for_petsc function TaoTermCreateShell(petsclib::$UnionPetscLib, comm::MPI_Comm, ctx::Ptr{Cvoid}, destroy::Ptr{Cvoid} ) @@ -2425,7 +2425,7 @@ You can also call `TaoTermSetSolutionVecType()` to set the type of vector create $(_doc_external("TaoTerm/TaoTermCreateSolutionVec")) """ function TaoTermCreateSolutionVec(petsclib::PetscLibType, term::TaoTerm) - error("TaoTermCreateSolutionVec: no generated method for these argument types") + throw(MethodError(TaoTermCreateSolutionVec, (petsclib, term))) end @for_petsc function TaoTermCreateSolutionVec(petsclib::$UnionPetscLib, term::TaoTerm ) @@ -2465,7 +2465,7 @@ Level: beginner $(_doc_external("TaoTerm/TaoTermDestroy")) """ function TaoTermDestroy(petsclib::PetscLibType, term::Union{TaoTerm, Ref{TaoTerm}}) - error("TaoTermDestroy: no generated method for these argument types") + throw(MethodError(TaoTermDestroy, (petsclib, term))) end @for_petsc function TaoTermDestroy(petsclib::$UnionPetscLib, term::Union{TaoTerm, Ref{TaoTerm}} ) @@ -2513,7 +2513,7 @@ Level: intermediate $(_doc_external("TaoTerm/TaoTermDuplicate")) """ function TaoTermDuplicate(petsclib::PetscLibType, term::TaoTerm, opt::TaoTermDuplicateOption) - error("TaoTermDuplicate: no generated method for these argument types") + throw(MethodError(TaoTermDuplicate, (petsclib, term, opt))) end @for_petsc function TaoTermDuplicate(petsclib::$UnionPetscLib, term::TaoTerm, opt::TaoTermDuplicateOption ) @@ -2557,7 +2557,7 @@ Level: developer $(_doc_external("TaoTerm/TaoTermGetCreateHessianMode")) """ function TaoTermGetCreateHessianMode(petsclib::PetscLibType, term::TaoTerm) - error("TaoTermGetCreateHessianMode: no generated method for these argument types") + throw(MethodError(TaoTermGetCreateHessianMode, (petsclib, term))) end @for_petsc function TaoTermGetCreateHessianMode(petsclib::$UnionPetscLib, term::TaoTerm ) @@ -2606,7 +2606,7 @@ Level: advanced $(_doc_external("TaoTerm/TaoTermGetFDDelta")) """ function TaoTermGetFDDelta(petsclib::PetscLibType, term::TaoTerm) - error("TaoTermGetFDDelta: no generated method for these argument types") + throw(MethodError(TaoTermGetFDDelta, (petsclib, term))) end @for_petsc function TaoTermGetFDDelta(petsclib::$UnionPetscLib, term::TaoTerm ) @@ -2650,7 +2650,7 @@ Level: intermediate $(_doc_external("TaoTerm/TaoTermGetParametersLayout")) """ function TaoTermGetParametersLayout(petsclib::PetscLibType, term::TaoTerm) - error("TaoTermGetParametersLayout: no generated method for these argument types") + throw(MethodError(TaoTermGetParametersLayout, (petsclib, term))) end @for_petsc function TaoTermGetParametersLayout(petsclib::$UnionPetscLib, term::TaoTerm ) @@ -2690,7 +2690,7 @@ Level: intermediate $(_doc_external("TaoTerm/TaoTermGetParametersMode")) """ function TaoTermGetParametersMode(petsclib::PetscLibType, term::TaoTerm) - error("TaoTermGetParametersMode: no generated method for these argument types") + throw(MethodError(TaoTermGetParametersMode, (petsclib, term))) end @for_petsc function TaoTermGetParametersMode(petsclib::$UnionPetscLib, term::TaoTerm ) @@ -2737,7 +2737,7 @@ Level: beginner $(_doc_external("TaoTerm/TaoTermGetParametersSizes")) """ function TaoTermGetParametersSizes(petsclib::PetscLibType, term::TaoTerm) - error("TaoTermGetParametersSizes: no generated method for these argument types") + throw(MethodError(TaoTermGetParametersSizes, (petsclib, term))) end @for_petsc function TaoTermGetParametersSizes(petsclib::$UnionPetscLib, term::TaoTerm ) @@ -2785,7 +2785,7 @@ Level: advanced $(_doc_external("TaoTerm/TaoTermGetParametersVecType")) """ function TaoTermGetParametersVecType(petsclib::PetscLibType, term::TaoTerm) - error("TaoTermGetParametersVecType: no generated method for these argument types") + throw(MethodError(TaoTermGetParametersVecType, (petsclib, term))) end @for_petsc function TaoTermGetParametersVecType(petsclib::$UnionPetscLib, term::TaoTerm ) @@ -2829,7 +2829,7 @@ Level: intermediate $(_doc_external("TaoTerm/TaoTermGetSolutionLayout")) """ function TaoTermGetSolutionLayout(petsclib::PetscLibType, term::TaoTerm) - error("TaoTermGetSolutionLayout: no generated method for these argument types") + throw(MethodError(TaoTermGetSolutionLayout, (petsclib, term))) end @for_petsc function TaoTermGetSolutionLayout(petsclib::$UnionPetscLib, term::TaoTerm ) @@ -2876,7 +2876,7 @@ Level: beginner $(_doc_external("TaoTerm/TaoTermGetSolutionSizes")) """ function TaoTermGetSolutionSizes(petsclib::PetscLibType, term::TaoTerm) - error("TaoTermGetSolutionSizes: no generated method for these argument types") + throw(MethodError(TaoTermGetSolutionSizes, (petsclib, term))) end @for_petsc function TaoTermGetSolutionSizes(petsclib::$UnionPetscLib, term::TaoTerm ) @@ -2924,7 +2924,7 @@ Level: advanced $(_doc_external("TaoTerm/TaoTermGetSolutionVecType")) """ function TaoTermGetSolutionVecType(petsclib::PetscLibType, term::TaoTerm) - error("TaoTermGetSolutionVecType: no generated method for these argument types") + throw(MethodError(TaoTermGetSolutionVecType, (petsclib, term))) end @for_petsc function TaoTermGetSolutionVecType(petsclib::$UnionPetscLib, term::TaoTerm ) @@ -2969,7 +2969,7 @@ Level: beginner $(_doc_external("TaoTerm/TaoTermGetType")) """ function TaoTermGetType(petsclib::PetscLibType, term::TaoTerm) - error("TaoTermGetType: no generated method for these argument types") + throw(MethodError(TaoTermGetType, (petsclib, term))) end @for_petsc function TaoTermGetType(petsclib::$UnionPetscLib, term::TaoTerm ) @@ -3013,7 +3013,7 @@ Level: developer $(_doc_external("TaoTerm/TaoTermIsComputeHessianFDPossible")) """ function TaoTermIsComputeHessianFDPossible(petsclib::PetscLibType, term::TaoTerm) - error("TaoTermIsComputeHessianFDPossible: no generated method for these argument types") + throw(MethodError(TaoTermIsComputeHessianFDPossible, (petsclib, term))) end @for_petsc function TaoTermIsComputeHessianFDPossible(petsclib::$UnionPetscLib, term::TaoTerm ) @@ -3057,7 +3057,7 @@ Level: developer $(_doc_external("TaoTerm/TaoTermIsCreateHessianMatricesDefined")) """ function TaoTermIsCreateHessianMatricesDefined(petsclib::PetscLibType, term::TaoTerm) - error("TaoTermIsCreateHessianMatricesDefined: no generated method for these argument types") + throw(MethodError(TaoTermIsCreateHessianMatricesDefined, (petsclib, term))) end @for_petsc function TaoTermIsCreateHessianMatricesDefined(petsclib::$UnionPetscLib, term::TaoTerm ) @@ -3106,7 +3106,7 @@ Level: developer $(_doc_external("TaoTerm/TaoTermIsGradientDefined")) """ function TaoTermIsGradientDefined(petsclib::PetscLibType, term::TaoTerm) - error("TaoTermIsGradientDefined: no generated method for these argument types") + throw(MethodError(TaoTermIsGradientDefined, (petsclib, term))) end @for_petsc function TaoTermIsGradientDefined(petsclib::$UnionPetscLib, term::TaoTerm ) @@ -3154,7 +3154,7 @@ Level: developer $(_doc_external("TaoTerm/TaoTermIsHessianDefined")) """ function TaoTermIsHessianDefined(petsclib::PetscLibType, term::TaoTerm) - error("TaoTermIsHessianDefined: no generated method for these argument types") + throw(MethodError(TaoTermIsHessianDefined, (petsclib, term))) end @for_petsc function TaoTermIsHessianDefined(petsclib::$UnionPetscLib, term::TaoTerm ) @@ -3203,7 +3203,7 @@ Level: developer $(_doc_external("TaoTerm/TaoTermIsObjectiveAndGradientDefined")) """ function TaoTermIsObjectiveAndGradientDefined(petsclib::PetscLibType, term::TaoTerm) - error("TaoTermIsObjectiveAndGradientDefined: no generated method for these argument types") + throw(MethodError(TaoTermIsObjectiveAndGradientDefined, (petsclib, term))) end @for_petsc function TaoTermIsObjectiveAndGradientDefined(petsclib::$UnionPetscLib, term::TaoTerm ) @@ -3251,7 +3251,7 @@ Level: developer $(_doc_external("TaoTerm/TaoTermIsObjectiveDefined")) """ function TaoTermIsObjectiveDefined(petsclib::PetscLibType, term::TaoTerm) - error("TaoTermIsObjectiveDefined: no generated method for these argument types") + throw(MethodError(TaoTermIsObjectiveDefined, (petsclib, term))) end @for_petsc function TaoTermIsObjectiveDefined(petsclib::$UnionPetscLib, term::TaoTerm ) @@ -3291,7 +3291,7 @@ Level: advanced $(_doc_external("TaoTerm/TaoTermL1GetEpsilon")) """ function TaoTermL1GetEpsilon(petsclib::PetscLibType, term::TaoTerm) - error("TaoTermL1GetEpsilon: no generated method for these argument types") + throw(MethodError(TaoTermL1GetEpsilon, (petsclib, term))) end @for_petsc function TaoTermL1GetEpsilon(petsclib::$UnionPetscLib, term::TaoTerm ) @@ -3335,7 +3335,7 @@ If \\epsilon = 0 (the default), then `term` computes \\|x - p\\|_1, but if \\eps $(_doc_external("TaoTerm/TaoTermL1SetEpsilon")) """ function TaoTermL1SetEpsilon(petsclib::PetscLibType, term::TaoTerm, epsilon::Real) - error("TaoTermL1SetEpsilon: no generated method for these argument types") + throw(MethodError(TaoTermL1SetEpsilon, (petsclib, term, epsilon))) end @for_petsc function TaoTermL1SetEpsilon(petsclib::$UnionPetscLib, term::TaoTerm, epsilon::$PetscReal ) @@ -3376,7 +3376,7 @@ This function will return `NULL` if the term is not a `TAOTERMQUADRATIC`. $(_doc_external("TaoTerm/TaoTermQuadraticGetMat")) """ function TaoTermQuadraticGetMat(petsclib::PetscLibType, term::TaoTerm) - error("TaoTermQuadraticGetMat: no generated method for these argument types") + throw(MethodError(TaoTermQuadraticGetMat, (petsclib, term))) end @for_petsc function TaoTermQuadraticGetMat(petsclib::$UnionPetscLib, term::TaoTerm ) @@ -3414,7 +3414,7 @@ Level: intermediate $(_doc_external("TaoTerm/TaoTermQuadraticSetMat")) """ function TaoTermQuadraticSetMat(petsclib::PetscLibType, term::TaoTerm, A::AbstractPetscMat) - error("TaoTermQuadraticSetMat: no generated method for these argument types") + throw(MethodError(TaoTermQuadraticSetMat, (petsclib, term, A))) end @for_petsc function TaoTermQuadraticSetMat(petsclib::$UnionPetscLib, term::TaoTerm, A::AbstractPetscMat ) @@ -3446,7 +3446,7 @@ See also: `TaoTerm`, `TaoTermSetType()` $(_doc_external("TaoTerm/TaoTermRegister")) """ function TaoTermRegister(petsclib::PetscLibType, sname::String, func::external) - error("TaoTermRegister: no generated method for these argument types") + throw(MethodError(TaoTermRegister, (petsclib, sname, func))) end @for_petsc function TaoTermRegister(petsclib::$UnionPetscLib, sname::String, func::external ) @@ -3491,7 +3491,7 @@ Level: developer $(_doc_external("TaoTerm/TaoTermSetCreateHessianMode")) """ function TaoTermSetCreateHessianMode(petsclib::PetscLibType, term::TaoTerm, Hpre_is_H::PetscBool, H_mattype::String, Hpre_mattype::String) - error("TaoTermSetCreateHessianMode: no generated method for these argument types") + throw(MethodError(TaoTermSetCreateHessianMode, (petsclib, term, Hpre_is_H, H_mattype, Hpre_mattype))) end @for_petsc function TaoTermSetCreateHessianMode(petsclib::$UnionPetscLib, term::TaoTerm, Hpre_is_H::PetscBool, H_mattype::String, Hpre_mattype::String ) @@ -3535,7 +3535,7 @@ Level: advanced $(_doc_external("TaoTerm/TaoTermSetFDDelta")) """ function TaoTermSetFDDelta(petsclib::PetscLibType, term::TaoTerm, delta::Real) - error("TaoTermSetFDDelta: no generated method for these argument types") + throw(MethodError(TaoTermSetFDDelta, (petsclib, term, delta))) end @for_petsc function TaoTermSetFDDelta(petsclib::$UnionPetscLib, term::TaoTerm, delta::$PetscReal ) @@ -3585,7 +3585,7 @@ Level: beginner $(_doc_external("TaoTerm/TaoTermSetFromOptions")) """ function TaoTermSetFromOptions(petsclib::PetscLibType, term::TaoTerm) - error("TaoTermSetFromOptions: no generated method for these argument types") + throw(MethodError(TaoTermSetFromOptions, (petsclib, term))) end @for_petsc function TaoTermSetFromOptions(petsclib::$UnionPetscLib, term::TaoTerm ) @@ -3634,7 +3634,7 @@ Alternatively, one may use `TaoTermSetParametersSizes()` or `TaoTermSetParameter $(_doc_external("TaoTerm/TaoTermSetParametersLayout")) """ function TaoTermSetParametersLayout(petsclib::PetscLibType, term::TaoTerm, parameters_layout::PetscLayout) - error("TaoTermSetParametersLayout: no generated method for these argument types") + throw(MethodError(TaoTermSetParametersLayout, (petsclib, term, parameters_layout))) end @for_petsc function TaoTermSetParametersLayout(petsclib::$UnionPetscLib, term::TaoTerm, parameters_layout::PetscLayout ) @@ -3673,7 +3673,7 @@ Level: advanced $(_doc_external("TaoTerm/TaoTermSetParametersMode")) """ function TaoTermSetParametersMode(petsclib::PetscLibType, term::TaoTerm, parameters_mode::TaoTermParametersMode) - error("TaoTermSetParametersMode: no generated method for these argument types") + throw(MethodError(TaoTermSetParametersMode, (petsclib, term, parameters_mode))) end @for_petsc function TaoTermSetParametersMode(petsclib::$UnionPetscLib, term::TaoTerm, parameters_mode::TaoTermParametersMode ) @@ -3725,7 +3725,7 @@ Alternatively, one may use `TaoTermSetParametersLayout()` or `TaoTermSetParamete $(_doc_external("TaoTerm/TaoTermSetParametersSizes")) """ function TaoTermSetParametersSizes(petsclib::PetscLibType, term::TaoTerm, k::Integer, M_K::Integer, bs::Integer) - error("TaoTermSetParametersSizes: no generated method for these argument types") + throw(MethodError(TaoTermSetParametersSizes, (petsclib, term, k, M_K, bs))) end @for_petsc function TaoTermSetParametersSizes(petsclib::$UnionPetscLib, term::TaoTerm, k::$PetscInt, M_K::$PetscInt, bs::$PetscInt ) @@ -3774,7 +3774,7 @@ Alternatively, one may use `TaoTermSetParametersSizes()` or `TaoTermSetParameter $(_doc_external("TaoTerm/TaoTermSetParametersTemplate")) """ function TaoTermSetParametersTemplate(petsclib::PetscLibType, term::TaoTerm, params_template::AbstractPetscVec) - error("TaoTermSetParametersTemplate: no generated method for these argument types") + throw(MethodError(TaoTermSetParametersTemplate, (petsclib, term, params_template))) end @for_petsc function TaoTermSetParametersTemplate(petsclib::$UnionPetscLib, term::TaoTerm, params_template::AbstractPetscVec ) @@ -3816,7 +3816,7 @@ Level: advanced $(_doc_external("TaoTerm/TaoTermSetParametersVecType")) """ function TaoTermSetParametersVecType(petsclib::PetscLibType, term::TaoTerm, parameters_type::String) - error("TaoTermSetParametersVecType: no generated method for these argument types") + throw(MethodError(TaoTermSetParametersVecType, (petsclib, term, parameters_type))) end @for_petsc function TaoTermSetParametersVecType(petsclib::$UnionPetscLib, term::TaoTerm, parameters_type::String ) @@ -3870,7 +3870,7 @@ Alternatively, one may use `TaoTermSetSolutionSizes()` or `TaoTermSetSolutionTem $(_doc_external("TaoTerm/TaoTermSetSolutionLayout")) """ function TaoTermSetSolutionLayout(petsclib::PetscLibType, term::TaoTerm, solution_layout::PetscLayout) - error("TaoTermSetSolutionLayout: no generated method for these argument types") + throw(MethodError(TaoTermSetSolutionLayout, (petsclib, term, solution_layout))) end @for_petsc function TaoTermSetSolutionLayout(petsclib::$UnionPetscLib, term::TaoTerm, solution_layout::PetscLayout ) @@ -3927,7 +3927,7 @@ Alternatively, one may use `TaoTermSetSolutionLayout()` or `TaoTermSetSolutionTe $(_doc_external("TaoTerm/TaoTermSetSolutionSizes")) """ function TaoTermSetSolutionSizes(petsclib::PetscLibType, term::TaoTerm, n::Integer, M_N::Integer, bs::Integer) - error("TaoTermSetSolutionSizes: no generated method for these argument types") + throw(MethodError(TaoTermSetSolutionSizes, (petsclib, term, n, M_N, bs))) end @for_petsc function TaoTermSetSolutionSizes(petsclib::$UnionPetscLib, term::TaoTerm, n::$PetscInt, M_N::$PetscInt, bs::$PetscInt ) @@ -3981,7 +3981,7 @@ Alternatively, one may use `TaoTermSetSolutionSizes()` or `TaoTermSetSolutionLay $(_doc_external("TaoTerm/TaoTermSetSolutionTemplate")) """ function TaoTermSetSolutionTemplate(petsclib::PetscLibType, term::TaoTerm, sol_template::AbstractPetscVec) - error("TaoTermSetSolutionTemplate: no generated method for these argument types") + throw(MethodError(TaoTermSetSolutionTemplate, (petsclib, term, sol_template))) end @for_petsc function TaoTermSetSolutionTemplate(petsclib::$UnionPetscLib, term::TaoTerm, sol_template::AbstractPetscVec ) @@ -4024,7 +4024,7 @@ Level: advanced $(_doc_external("TaoTerm/TaoTermSetSolutionVecType")) """ function TaoTermSetSolutionVecType(petsclib::PetscLibType, term::TaoTerm, solution_type::String) - error("TaoTermSetSolutionVecType: no generated method for these argument types") + throw(MethodError(TaoTermSetSolutionVecType, (petsclib, term, solution_type))) end @for_petsc function TaoTermSetSolutionVecType(petsclib::$UnionPetscLib, term::TaoTerm, solution_type::String ) @@ -4073,7 +4073,7 @@ New types of `TaoTerm` can be created with `TaoTermRegister()` $(_doc_external("TaoTerm/TaoTermSetType")) """ function TaoTermSetType(petsclib::PetscLibType, term::TaoTerm, type::String) - error("TaoTermSetType: no generated method for these argument types") + throw(MethodError(TaoTermSetType, (petsclib, term, type))) end @for_petsc function TaoTermSetType(petsclib::$UnionPetscLib, term::TaoTerm, type::String ) @@ -4111,7 +4111,7 @@ Level: intermediate $(_doc_external("TaoTerm/TaoTermSetUp")) """ function TaoTermSetUp(petsclib::PetscLibType, term::TaoTerm) - error("TaoTermSetUp: no generated method for these argument types") + throw(MethodError(TaoTermSetUp, (petsclib, term))) end @for_petsc function TaoTermSetUp(petsclib::$UnionPetscLib, term::TaoTerm ) @@ -4147,7 +4147,7 @@ See also: `TaoTerm`, `TAOTERMSHELL`, `TaoTermShellSetContext()`, `TaoTermShellSe $(_doc_external("TaoTerm/TaoTermShellGetContext")) """ function TaoTermShellGetContext(petsclib::PetscLibType, term::TaoTerm) - error("TaoTermShellGetContext: no generated method for these argument types") + throw(MethodError(TaoTermShellGetContext, (petsclib, term))) end @for_petsc function TaoTermShellGetContext(petsclib::$UnionPetscLib, term::TaoTerm ) @@ -4183,7 +4183,7 @@ See also: `TaoTerm`, `TAOTERMSHELL`, `TaoTermShellGetContext()`, `TaoTermShellSe $(_doc_external("TaoTerm/TaoTermShellSetContext")) """ function TaoTermShellSetContext(petsclib::PetscLibType, term::TaoTerm, ctx::Ptr{Cvoid}) - error("TaoTermShellSetContext: no generated method for these argument types") + throw(MethodError(TaoTermShellSetContext, (petsclib, term, ctx))) end @for_petsc function TaoTermShellSetContext(petsclib::$UnionPetscLib, term::TaoTerm, ctx::Ptr{Cvoid} ) @@ -4217,7 +4217,7 @@ See also: `TaoTerm`, `TAOTERMSHELL`, `TaoTermShellSetContext()`, `TaoTermShellGe $(_doc_external("TaoTerm/TaoTermShellSetContextDestroy")) """ function TaoTermShellSetContextDestroy(petsclib::PetscLibType, term::TaoTerm, destroy::Ptr{Cvoid}) - error("TaoTermShellSetContextDestroy: no generated method for these argument types") + throw(MethodError(TaoTermShellSetContextDestroy, (petsclib, term, destroy))) end @for_petsc function TaoTermShellSetContextDestroy(petsclib::$UnionPetscLib, term::TaoTerm, destroy::Ptr{Cvoid} ) @@ -4257,7 +4257,7 @@ See also: `TaoTerm`, `TAOTERMSHELL`, `TaoTermShellGetContext()`, `TaoTermShellSe $(_doc_external("TaoTerm/TaoTermShellSetCreateHessianMatrices")) """ function TaoTermShellSetCreateHessianMatrices(petsclib::PetscLibType, term::TaoTerm, createmats::external) - error("TaoTermShellSetCreateHessianMatrices: no generated method for these argument types") + throw(MethodError(TaoTermShellSetCreateHessianMatrices, (petsclib, term, createmats))) end @for_petsc function TaoTermShellSetCreateHessianMatrices(petsclib::$UnionPetscLib, term::TaoTerm, createmats::external ) @@ -4296,7 +4296,7 @@ See also: `TaoTerm`, `TAOTERMSHELL`, `TaoTermShellGetContext()`, `TaoTermShellSe $(_doc_external("TaoTerm/TaoTermShellSetCreateParametersVec")) """ function TaoTermShellSetCreateParametersVec(petsclib::PetscLibType, term::TaoTerm, createparametersvec::external) - error("TaoTermShellSetCreateParametersVec: no generated method for these argument types") + throw(MethodError(TaoTermShellSetCreateParametersVec, (petsclib, term, createparametersvec))) end @for_petsc function TaoTermShellSetCreateParametersVec(petsclib::$UnionPetscLib, term::TaoTerm, createparametersvec::external ) @@ -4335,7 +4335,7 @@ See also: `TaoTerm`, `TAOTERMSHELL`, `TaoTermShellGetContext()`, `TaoTermShellSe $(_doc_external("TaoTerm/TaoTermShellSetCreateSolutionVec")) """ function TaoTermShellSetCreateSolutionVec(petsclib::PetscLibType, term::TaoTerm, createsolutionvec::external) - error("TaoTermShellSetCreateSolutionVec: no generated method for these argument types") + throw(MethodError(TaoTermShellSetCreateSolutionVec, (petsclib, term, createsolutionvec))) end @for_petsc function TaoTermShellSetCreateSolutionVec(petsclib::$UnionPetscLib, term::TaoTerm, createsolutionvec::external ) @@ -4374,7 +4374,7 @@ See also: `TaoTerm`, `TAOTERMSHELL`, `TaoTermShellGetContext()`, `TaoTermShellSe $(_doc_external("TaoTerm/TaoTermShellSetGradient")) """ function TaoTermShellSetGradient(petsclib::PetscLibType, term::TaoTerm, gradient::Ptr{Cvoid}) - error("TaoTermShellSetGradient: no generated method for these argument types") + throw(MethodError(TaoTermShellSetGradient, (petsclib, term, gradient))) end @for_petsc function TaoTermShellSetGradient(petsclib::$UnionPetscLib, term::TaoTerm, gradient::Ptr{Cvoid} ) @@ -4413,7 +4413,7 @@ See also: `TaoTerm`, `TAOTERMSHELL`, `TaoTermShellGetContext()`, `TaoTermShellSe $(_doc_external("TaoTerm/TaoTermShellSetHessian")) """ function TaoTermShellSetHessian(petsclib::PetscLibType, term::TaoTerm, hessian::Ptr{Cvoid}) - error("TaoTermShellSetHessian: no generated method for these argument types") + throw(MethodError(TaoTermShellSetHessian, (petsclib, term, hessian))) end @for_petsc function TaoTermShellSetHessian(petsclib::$UnionPetscLib, term::TaoTerm, hessian::Ptr{Cvoid} ) @@ -4452,7 +4452,7 @@ See also: `TaoTerm`, `TAOTERMSHELL`, `TaoTermShellGetContext()`, `TaoTermShellSe $(_doc_external("TaoTerm/TaoTermShellSetIsComputeHessianFDPossible")) """ function TaoTermShellSetIsComputeHessianFDPossible(petsclib::PetscLibType, term::TaoTerm, ispossible::PetscBool3) - error("TaoTermShellSetIsComputeHessianFDPossible: no generated method for these argument types") + throw(MethodError(TaoTermShellSetIsComputeHessianFDPossible, (petsclib, term, ispossible))) end @for_petsc function TaoTermShellSetIsComputeHessianFDPossible(petsclib::$UnionPetscLib, term::TaoTerm, ispossible::PetscBool3 ) @@ -4491,7 +4491,7 @@ See also: `TaoTerm`, `TAOTERMSHELL`, `TaoTermShellGetContext()`, `TaoTermShellSe $(_doc_external("TaoTerm/TaoTermShellSetObjective")) """ function TaoTermShellSetObjective(petsclib::PetscLibType, term::TaoTerm, objective::Ptr{Cvoid}) - error("TaoTermShellSetObjective: no generated method for these argument types") + throw(MethodError(TaoTermShellSetObjective, (petsclib, term, objective))) end @for_petsc function TaoTermShellSetObjective(petsclib::$UnionPetscLib, term::TaoTerm, objective::Ptr{Cvoid} ) @@ -4530,7 +4530,7 @@ See also: `TaoTerm`, `TAOTERMSHELL`, `TaoTermShellGetContext()`, `TaoTermShellSe $(_doc_external("TaoTerm/TaoTermShellSetObjectiveAndGradient")) """ function TaoTermShellSetObjectiveAndGradient(petsclib::PetscLibType, term::TaoTerm, objandgrad::Ptr{Cvoid}) - error("TaoTermShellSetObjectiveAndGradient: no generated method for these argument types") + throw(MethodError(TaoTermShellSetObjectiveAndGradient, (petsclib, term, objandgrad))) end @for_petsc function TaoTermShellSetObjectiveAndGradient(petsclib::$UnionPetscLib, term::TaoTerm, objandgrad::Ptr{Cvoid} ) @@ -4572,7 +4572,7 @@ See also: `TaoTerm`, `TAOTERMSHELL`, `TaoTermShellGetContext()`, `TaoTermShellSe $(_doc_external("TaoTerm/TaoTermShellSetView")) """ function TaoTermShellSetView(petsclib::PetscLibType, term::TaoTerm, view::external) - error("TaoTermShellSetView: no generated method for these argument types") + throw(MethodError(TaoTermShellSetView, (petsclib, term, view))) end @for_petsc function TaoTermShellSetView(petsclib::$UnionPetscLib, term::TaoTerm, view::external ) @@ -4612,7 +4612,7 @@ See also: `TaoTerm`, `TAOTERMSUM` $(_doc_external("TaoTerm/TaoTermSumAddTerm")) """ function TaoTermSumAddTerm(petsclib::PetscLibType, sumterm::TaoTerm, prefix::String, scale::Real, term::TaoTerm, map::AbstractPetscMat) - error("TaoTermSumAddTerm: no generated method for these argument types") + throw(MethodError(TaoTermSumAddTerm, (petsclib, sumterm, prefix, scale, term, map))) end @for_petsc function TaoTermSumAddTerm(petsclib::$UnionPetscLib, sumterm::TaoTerm, prefix::String, scale::$PetscReal, term::TaoTerm, map::AbstractPetscMat ) @@ -4652,7 +4652,7 @@ Level: developer $(_doc_external("TaoTerm/TaoTermSumGetLastTermObjectives")) """ function TaoTermSumGetLastTermObjectives(petsclib::PetscLibType, term::TaoTerm) - error("TaoTermSumGetLastTermObjectives: no generated method for these argument types") + throw(MethodError(TaoTermSumGetLastTermObjectives, (petsclib, term))) end @for_petsc function TaoTermSumGetLastTermObjectives(petsclib::$UnionPetscLib, term::TaoTerm ) @@ -4692,7 +4692,7 @@ Level: developer $(_doc_external("TaoTerm/TaoTermSumGetNumberTerms")) """ function TaoTermSumGetNumberTerms(petsclib::PetscLibType, term::TaoTerm) - error("TaoTermSumGetNumberTerms: no generated method for these argument types") + throw(MethodError(TaoTermSumGetNumberTerms, (petsclib, term))) end @for_petsc function TaoTermSumGetNumberTerms(petsclib::$UnionPetscLib, term::TaoTerm ) @@ -4737,7 +4737,7 @@ Level: developer $(_doc_external("TaoTerm/TaoTermSumGetTerm")) """ function TaoTermSumGetTerm(petsclib::PetscLibType, sumterm::TaoTerm, index::Integer) - error("TaoTermSumGetTerm: no generated method for these argument types") + throw(MethodError(TaoTermSumGetTerm, (petsclib, sumterm, index))) end @for_petsc function TaoTermSumGetTerm(petsclib::$UnionPetscLib, sumterm::TaoTerm, index::$PetscInt ) @@ -4788,7 +4788,7 @@ Level: developer $(_doc_external("TaoTerm/TaoTermSumGetTermHessianMatrices")) """ function TaoTermSumGetTermHessianMatrices(petsclib::PetscLibType, term::TaoTerm, index::Integer) - error("TaoTermSumGetTermHessianMatrices: no generated method for these argument types") + throw(MethodError(TaoTermSumGetTermHessianMatrices, (petsclib, term, index))) end @for_petsc function TaoTermSumGetTermHessianMatrices(petsclib::$UnionPetscLib, term::TaoTerm, index::$PetscInt ) @@ -4835,7 +4835,7 @@ Level: developer $(_doc_external("TaoTerm/TaoTermSumGetTermMask")) """ function TaoTermSumGetTermMask(petsclib::PetscLibType, term::TaoTerm, index::Integer) - error("TaoTermSumGetTermMask: no generated method for these argument types") + throw(MethodError(TaoTermSumGetTermMask, (petsclib, term, index))) end @for_petsc function TaoTermSumGetTermMask(petsclib::$UnionPetscLib, term::TaoTerm, index::$PetscInt ) @@ -4883,7 +4883,7 @@ vector will be created for each `NULL` `Vec` that will be internally ignored by $(_doc_external("TaoTerm/TaoTermSumParametersPack")) """ function TaoTermSumParametersPack(petsclib::PetscLibType, term::TaoTerm, p_arr::Vector{<:AbstractPetscVec}) - error("TaoTermSumParametersPack: no generated method for these argument types") + throw(MethodError(TaoTermSumParametersPack, (petsclib, term, p_arr))) end @for_petsc function TaoTermSumParametersPack(petsclib::$UnionPetscLib, term::TaoTerm, p_arr::Vector{<:AbstractPetscVec} ) @@ -4925,7 +4925,7 @@ Level: intermediate $(_doc_external("TaoTerm/TaoTermSumParametersUnpack")) """ function TaoTermSumParametersUnpack(petsclib::PetscLibType, term::TaoTerm, params::AbstractPetscVec, p_arr::Vector{<:AbstractPetscVec}) - error("TaoTermSumParametersUnpack: no generated method for these argument types") + throw(MethodError(TaoTermSumParametersUnpack, (petsclib, term, params, p_arr))) end @for_petsc function TaoTermSumParametersUnpack(petsclib::$UnionPetscLib, term::TaoTerm, params::AbstractPetscVec, p_arr::Vector{<:AbstractPetscVec} ) @@ -4966,7 +4966,7 @@ If `n_terms` is smaller than the current number of terms, the trailing terms wil $(_doc_external("TaoTerm/TaoTermSumSetNumberTerms")) """ function TaoTermSumSetNumberTerms(petsclib::PetscLibType, term::TaoTerm, n_terms::Integer) - error("TaoTermSumSetNumberTerms: no generated method for these argument types") + throw(MethodError(TaoTermSumSetNumberTerms, (petsclib, term, n_terms))) end @for_petsc function TaoTermSumSetNumberTerms(petsclib::$UnionPetscLib, term::TaoTerm, n_terms::$PetscInt ) @@ -5007,7 +5007,7 @@ Level: developer $(_doc_external("TaoTerm/TaoTermSumSetTerm")) """ function TaoTermSumSetTerm(petsclib::PetscLibType, sumterm::TaoTerm, index::Integer, prefix::String, scale::Real, term::TaoTerm, map::AbstractPetscMat) - error("TaoTermSumSetTerm: no generated method for these argument types") + throw(MethodError(TaoTermSumSetTerm, (petsclib, sumterm, index, prefix, scale, term, map))) end @for_petsc function TaoTermSumSetTerm(petsclib::$UnionPetscLib, sumterm::TaoTerm, index::$PetscInt, prefix::String, scale::$PetscReal, term::TaoTerm, map::AbstractPetscMat ) @@ -5053,7 +5053,7 @@ just pass the unmapped Hessians (e.g. `TaoTermSumSetTermHessianMatrices(term, 0, $(_doc_external("TaoTerm/TaoTermSumSetTermHessianMatrices")) """ function TaoTermSumSetTermHessianMatrices(petsclib::PetscLibType, term::TaoTerm, index::Integer, unmapped_H::AbstractPetscMat, unmapped_Hpre::AbstractPetscMat, mapped_H::AbstractPetscMat, mapped_Hpre::AbstractPetscMat) - error("TaoTermSumSetTermHessianMatrices: no generated method for these argument types") + throw(MethodError(TaoTermSumSetTermHessianMatrices, (petsclib, term, index, unmapped_H, unmapped_Hpre, mapped_H, mapped_Hpre))) end @for_petsc function TaoTermSumSetTermHessianMatrices(petsclib::$UnionPetscLib, term::TaoTerm, index::$PetscInt, unmapped_H::AbstractPetscMat, unmapped_Hpre::AbstractPetscMat, mapped_H::AbstractPetscMat, mapped_Hpre::AbstractPetscMat ) @@ -5099,7 +5099,7 @@ the regularizer has index `1`, then this can be accomplished with $(_doc_external("TaoTerm/TaoTermSumSetTermMask")) """ function TaoTermSumSetTermMask(petsclib::PetscLibType, term::TaoTerm, index::Integer, mask::TaoTermMask) - error("TaoTermSumSetTermMask: no generated method for these argument types") + throw(MethodError(TaoTermSumSetTermMask, (petsclib, term, index, mask))) end @for_petsc function TaoTermSumSetTermMask(petsclib::$UnionPetscLib, term::TaoTerm, index::$PetscInt, mask::TaoTermMask ) @@ -5139,7 +5139,7 @@ Level: beginner $(_doc_external("TaoTerm/TaoTermView")) """ function TaoTermView(petsclib::PetscLibType, term::TaoTerm, viewer::PetscViewer) - error("TaoTermView: no generated method for these argument types") + throw(MethodError(TaoTermView, (petsclib, term, viewer))) end @for_petsc function TaoTermView(petsclib::$UnionPetscLib, term::TaoTerm, viewer::PetscViewer ) diff --git a/src/autowrapped/Tao_wrappers.jl b/src/autowrapped/Tao_wrappers.jl index 8b095685d..c6c021a63 100644 --- a/src/autowrapped/Tao_wrappers.jl +++ b/src/autowrapped/Tao_wrappers.jl @@ -18,7 +18,7 @@ See also: `TAOADMM` $(_doc_external("Tao/TaoADMMGetDualVector")) """ function TaoADMMGetDualVector(petsclib::PetscLibType, tao::AbstractTao) - error("TaoADMMGetDualVector: no generated method for these argument types") + throw(MethodError(TaoADMMGetDualVector, (petsclib, tao))) end @for_petsc function TaoADMMGetDualVector(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -56,7 +56,7 @@ See also: `TAOADMM`, `Tao` $(_doc_external("Tao/TaoADMMGetMisfitSubsolver")) """ function TaoADMMGetMisfitSubsolver(petsclib::PetscLibType, tao::AbstractTao) - error("TaoADMMGetMisfitSubsolver: no generated method for these argument types") + throw(MethodError(TaoADMMGetMisfitSubsolver, (petsclib, tao))) end @for_petsc function TaoADMMGetMisfitSubsolver(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -94,7 +94,7 @@ See also: `TAOADMM`, `Tao` $(_doc_external("Tao/TaoADMMGetRegularizationSubsolver")) """ function TaoADMMGetRegularizationSubsolver(petsclib::PetscLibType, tao::AbstractTao) - error("TaoADMMGetRegularizationSubsolver: no generated method for these argument types") + throw(MethodError(TaoADMMGetRegularizationSubsolver, (petsclib, tao))) end @for_petsc function TaoADMMGetRegularizationSubsolver(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -132,7 +132,7 @@ See also: `TaoADMMSetMisfitConstraintJacobian()`, `TaoADMMSetRegularizerConstrai $(_doc_external("Tao/TaoADMMGetRegularizerCoefficient")) """ function TaoADMMGetRegularizerCoefficient(petsclib::PetscLibType, tao::AbstractTao) - error("TaoADMMGetRegularizerCoefficient: no generated method for these argument types") + throw(MethodError(TaoADMMGetRegularizerCoefficient, (petsclib, tao))) end @for_petsc function TaoADMMGetRegularizerCoefficient(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -170,7 +170,7 @@ See also: `TaoADMMSetRegularizerType()`, `TaoADMMRegularizerType`, `TAOADMM` $(_doc_external("Tao/TaoADMMGetRegularizerType")) """ function TaoADMMGetRegularizerType(petsclib::PetscLibType, tao::AbstractTao) - error("TaoADMMGetRegularizerType: no generated method for these argument types") + throw(MethodError(TaoADMMGetRegularizerType, (petsclib, tao))) end @for_petsc function TaoADMMGetRegularizerType(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -208,7 +208,7 @@ See also: `TaoADMMSetMinimumSpectralPenalty()`, `TaoADMMSetSpectralPenalty()`, ` $(_doc_external("Tao/TaoADMMGetSpectralPenalty")) """ function TaoADMMGetSpectralPenalty(petsclib::PetscLibType, tao::AbstractTao) - error("TaoADMMGetSpectralPenalty: no generated method for these argument types") + throw(MethodError(TaoADMMGetSpectralPenalty, (petsclib, tao))) end @for_petsc function TaoADMMGetSpectralPenalty(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -246,7 +246,7 @@ See also: `TaoADMMSetUpdateType()`, `TaoADMMUpdateType`, `TAOADMM` $(_doc_external("Tao/TaoADMMGetUpdateType")) """ function TaoADMMGetUpdateType(petsclib::PetscLibType, tao::AbstractTao) - error("TaoADMMGetUpdateType: no generated method for these argument types") + throw(MethodError(TaoADMMGetUpdateType, (petsclib, tao))) end @for_petsc function TaoADMMGetUpdateType(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -282,7 +282,7 @@ See also: `TAOADMM` $(_doc_external("Tao/TaoADMMSetConstraintVectorRHS")) """ function TaoADMMSetConstraintVectorRHS(petsclib::PetscLibType, tao::AbstractTao, c::AbstractPetscVec) - error("TaoADMMSetConstraintVectorRHS: no generated method for these argument types") + throw(MethodError(TaoADMMSetConstraintVectorRHS, (petsclib, tao, c))) end @for_petsc function TaoADMMSetConstraintVectorRHS(petsclib::$UnionPetscLib, tao::AbstractTao, c::AbstractPetscVec ) @@ -316,7 +316,7 @@ See also: `TaoADMMGetSpectralPenalty()`, `TAOADMM` $(_doc_external("Tao/TaoADMMSetMinimumSpectralPenalty")) """ function TaoADMMSetMinimumSpectralPenalty(petsclib::PetscLibType, tao::AbstractTao, mu::Real) - error("TaoADMMSetMinimumSpectralPenalty: no generated method for these argument types") + throw(MethodError(TaoADMMSetMinimumSpectralPenalty, (petsclib, tao, mu))) end @for_petsc function TaoADMMSetMinimumSpectralPenalty(petsclib::$UnionPetscLib, tao::AbstractTao, mu::$PetscReal ) @@ -360,7 +360,7 @@ See also: `TaoADMMSetRegularizerCoefficient()`, `TaoADMMSetRegularizerConstraint $(_doc_external("Tao/TaoADMMSetMisfitConstraintJacobian")) """ function TaoADMMSetMisfitConstraintJacobian(petsclib::PetscLibType, tao::AbstractTao, J::AbstractPetscMat, Jpre::AbstractPetscMat, func::external, ctx::Ptr{Cvoid}) - error("TaoADMMSetMisfitConstraintJacobian: no generated method for these argument types") + throw(MethodError(TaoADMMSetMisfitConstraintJacobian, (petsclib, tao, J, Jpre, func, ctx))) end @for_petsc function TaoADMMSetMisfitConstraintJacobian(petsclib::$UnionPetscLib, tao::AbstractTao, J::AbstractPetscMat, Jpre::AbstractPetscMat, func::external, ctx::Ptr{Cvoid} ) @@ -394,7 +394,7 @@ See also: `TAOADMM` $(_doc_external("Tao/TaoADMMSetMisfitHessianChangeStatus")) """ function TaoADMMSetMisfitHessianChangeStatus(petsclib::PetscLibType, tao::AbstractTao, b::PetscBool) - error("TaoADMMSetMisfitHessianChangeStatus: no generated method for these argument types") + throw(MethodError(TaoADMMSetMisfitHessianChangeStatus, (petsclib, tao, b))) end @for_petsc function TaoADMMSetMisfitHessianChangeStatus(petsclib::$UnionPetscLib, tao::AbstractTao, b::PetscBool ) @@ -439,7 +439,7 @@ See also: `TAOADMM` $(_doc_external("Tao/TaoADMMSetMisfitHessianRoutine")) """ function TaoADMMSetMisfitHessianRoutine(petsclib::PetscLibType, tao::AbstractTao, H::AbstractPetscMat, Hpre::AbstractPetscMat, func::external, ctx::Ptr{Cvoid}) - error("TaoADMMSetMisfitHessianRoutine: no generated method for these argument types") + throw(MethodError(TaoADMMSetMisfitHessianRoutine, (petsclib, tao, H, Hpre, func, ctx))) end @for_petsc function TaoADMMSetMisfitHessianRoutine(petsclib::$UnionPetscLib, tao::AbstractTao, H::AbstractPetscMat, Hpre::AbstractPetscMat, func::external, ctx::Ptr{Cvoid} ) @@ -481,7 +481,7 @@ See also: `TAOADMM` $(_doc_external("Tao/TaoADMMSetMisfitObjectiveAndGradientRoutine")) """ function TaoADMMSetMisfitObjectiveAndGradientRoutine(petsclib::PetscLibType, tao::AbstractTao, func::external, ctx::Ptr{Cvoid}) - error("TaoADMMSetMisfitObjectiveAndGradientRoutine: no generated method for these argument types") + throw(MethodError(TaoADMMSetMisfitObjectiveAndGradientRoutine, (petsclib, tao, func, ctx))) end @for_petsc function TaoADMMSetMisfitObjectiveAndGradientRoutine(petsclib::$UnionPetscLib, tao::AbstractTao, func::external, ctx::Ptr{Cvoid} ) @@ -515,7 +515,7 @@ See also: `TAOADMM` $(_doc_external("Tao/TaoADMMSetRegHessianChangeStatus")) """ function TaoADMMSetRegHessianChangeStatus(petsclib::PetscLibType, tao::AbstractTao, b::PetscBool) - error("TaoADMMSetRegHessianChangeStatus: no generated method for these argument types") + throw(MethodError(TaoADMMSetRegHessianChangeStatus, (petsclib, tao, b))) end @for_petsc function TaoADMMSetRegHessianChangeStatus(petsclib::$UnionPetscLib, tao::AbstractTao, b::PetscBool ) @@ -549,7 +549,7 @@ See also: `TaoADMMSetMisfitConstraintJacobian()`, `TaoADMMSetRegularizerConstrai $(_doc_external("Tao/TaoADMMSetRegularizerCoefficient")) """ function TaoADMMSetRegularizerCoefficient(petsclib::PetscLibType, tao::AbstractTao, lambda::Real) - error("TaoADMMSetRegularizerCoefficient: no generated method for these argument types") + throw(MethodError(TaoADMMSetRegularizerCoefficient, (petsclib, tao, lambda))) end @for_petsc function TaoADMMSetRegularizerCoefficient(petsclib::$UnionPetscLib, tao::AbstractTao, lambda::$PetscReal ) @@ -593,7 +593,7 @@ See also: `TaoADMMSetRegularizerCoefficient()`, `TaoADMMSetMisfitConstraintJacob $(_doc_external("Tao/TaoADMMSetRegularizerConstraintJacobian")) """ function TaoADMMSetRegularizerConstraintJacobian(petsclib::PetscLibType, tao::AbstractTao, J::AbstractPetscMat, Jpre::AbstractPetscMat, func::external, ctx::Ptr{Cvoid}) - error("TaoADMMSetRegularizerConstraintJacobian: no generated method for these argument types") + throw(MethodError(TaoADMMSetRegularizerConstraintJacobian, (petsclib, tao, J, Jpre, func, ctx))) end @for_petsc function TaoADMMSetRegularizerConstraintJacobian(petsclib::$UnionPetscLib, tao::AbstractTao, J::AbstractPetscMat, Jpre::AbstractPetscMat, func::external, ctx::Ptr{Cvoid} ) @@ -638,7 +638,7 @@ See also: `TAOADMM` $(_doc_external("Tao/TaoADMMSetRegularizerHessianRoutine")) """ function TaoADMMSetRegularizerHessianRoutine(petsclib::PetscLibType, tao::AbstractTao, H::AbstractPetscMat, Hpre::AbstractPetscMat, func::external, ctx::Ptr{Cvoid}) - error("TaoADMMSetRegularizerHessianRoutine: no generated method for these argument types") + throw(MethodError(TaoADMMSetRegularizerHessianRoutine, (petsclib, tao, H, Hpre, func, ctx))) end @for_petsc function TaoADMMSetRegularizerHessianRoutine(petsclib::$UnionPetscLib, tao::AbstractTao, H::AbstractPetscMat, Hpre::AbstractPetscMat, func::external, ctx::Ptr{Cvoid} ) @@ -680,7 +680,7 @@ See also: `TAOADMM` $(_doc_external("Tao/TaoADMMSetRegularizerObjectiveAndGradientRoutine")) """ function TaoADMMSetRegularizerObjectiveAndGradientRoutine(petsclib::PetscLibType, tao::AbstractTao, func::external, ctx::Ptr{Cvoid}) - error("TaoADMMSetRegularizerObjectiveAndGradientRoutine: no generated method for these argument types") + throw(MethodError(TaoADMMSetRegularizerObjectiveAndGradientRoutine, (petsclib, tao, func, ctx))) end @for_petsc function TaoADMMSetRegularizerObjectiveAndGradientRoutine(petsclib::$UnionPetscLib, tao::AbstractTao, func::external, ctx::Ptr{Cvoid} ) @@ -717,7 +717,7 @@ See also: `TaoADMMGetRegularizerType()`, `TaoADMMRegularizerType`, `TAOADMM` $(_doc_external("Tao/TaoADMMSetRegularizerType")) """ function TaoADMMSetRegularizerType(petsclib::PetscLibType, tao::AbstractTao, type::TaoADMMRegularizerType) - error("TaoADMMSetRegularizerType: no generated method for these argument types") + throw(MethodError(TaoADMMSetRegularizerType, (petsclib, tao, type))) end @for_petsc function TaoADMMSetRegularizerType(petsclib::$UnionPetscLib, tao::AbstractTao, type::TaoADMMRegularizerType ) @@ -751,7 +751,7 @@ See also: `TaoADMMSetMinimumSpectralPenalty()`, `TAOADMM` $(_doc_external("Tao/TaoADMMSetSpectralPenalty")) """ function TaoADMMSetSpectralPenalty(petsclib::PetscLibType, tao::AbstractTao, mu::Real) - error("TaoADMMSetSpectralPenalty: no generated method for these argument types") + throw(MethodError(TaoADMMSetSpectralPenalty, (petsclib, tao, mu))) end @for_petsc function TaoADMMSetSpectralPenalty(petsclib::$UnionPetscLib, tao::AbstractTao, mu::$PetscReal ) @@ -785,7 +785,7 @@ See also: `TaoADMMGetUpdateType()`, `TaoADMMUpdateType`, `TAOADMM` $(_doc_external("Tao/TaoADMMSetUpdateType")) """ function TaoADMMSetUpdateType(petsclib::PetscLibType, tao::AbstractTao, type::TaoADMMUpdateType) - error("TaoADMMSetUpdateType: no generated method for these argument types") + throw(MethodError(TaoADMMSetUpdateType, (petsclib, tao, type))) end @for_petsc function TaoADMMSetUpdateType(petsclib::$UnionPetscLib, tao::AbstractTao, type::TaoADMMUpdateType ) @@ -822,7 +822,7 @@ See also: `TAOALMM`, `Tao`, `TaoALMMGetMultipliers()` $(_doc_external("Tao/TaoALMMGetDualIS")) """ function TaoALMMGetDualIS(petsclib::PetscLibType, tao::AbstractTao) - error("TaoALMMGetDualIS: no generated method for these argument types") + throw(MethodError(TaoALMMGetDualIS, (petsclib, tao))) end @for_petsc function TaoALMMGetDualIS(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -860,7 +860,7 @@ See also: `TAOALMM`, `Tao`, `TaoALMMSetMultipliers()`, `TaoALMMGetDualIS()` $(_doc_external("Tao/TaoALMMGetMultipliers")) """ function TaoALMMGetMultipliers(petsclib::PetscLibType, tao::AbstractTao) - error("TaoALMMGetMultipliers: no generated method for these argument types") + throw(MethodError(TaoALMMGetMultipliers, (petsclib, tao))) end @for_petsc function TaoALMMGetMultipliers(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -898,7 +898,7 @@ See also: `TAOALMM`, `Tao`, `IS`, `TaoALMMGetPrimalVector()` $(_doc_external("Tao/TaoALMMGetPrimalIS")) """ function TaoALMMGetPrimalIS(petsclib::PetscLibType, tao::AbstractTao) - error("TaoALMMGetPrimalIS: no generated method for these argument types") + throw(MethodError(TaoALMMGetPrimalIS, (petsclib, tao))) end @for_petsc function TaoALMMGetPrimalIS(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -936,7 +936,7 @@ See also: `Tao`, `TAOALMM`, `TaoALMMSetSubsolver()` $(_doc_external("Tao/TaoALMMGetSubsolver")) """ function TaoALMMGetSubsolver(petsclib::PetscLibType, tao::AbstractTao) - error("TaoALMMGetSubsolver: no generated method for these argument types") + throw(MethodError(TaoALMMGetSubsolver, (petsclib, tao))) end @for_petsc function TaoALMMGetSubsolver(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -972,7 +972,7 @@ See also: `Tao`, `TAOALMM`, `TaoALMMSetType()`, `TaoALMMType` $(_doc_external("Tao/TaoALMMGetType")) """ function TaoALMMGetType(petsclib::PetscLibType, tao::AbstractTao) - error("TaoALMMGetType: no generated method for these argument types") + throw(MethodError(TaoALMMGetType, (petsclib, tao))) end @for_petsc function TaoALMMGetType(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -1006,7 +1006,7 @@ See also: `TAOALMM`, `Tao`, `TaoALMMGetMultipliers()` $(_doc_external("Tao/TaoALMMSetMultipliers")) """ function TaoALMMSetMultipliers(petsclib::PetscLibType, tao::AbstractTao, Y::AbstractPetscVec) - error("TaoALMMSetMultipliers: no generated method for these argument types") + throw(MethodError(TaoALMMSetMultipliers, (petsclib, tao, Y))) end @for_petsc function TaoALMMSetMultipliers(petsclib::$UnionPetscLib, tao::AbstractTao, Y::AbstractPetscVec ) @@ -1038,7 +1038,7 @@ See also: `Tao`, `TAOALMM`, `TaoALMMGetSubsolver()` $(_doc_external("Tao/TaoALMMSetSubsolver")) """ function TaoALMMSetSubsolver(petsclib::PetscLibType, tao::AbstractTao, subsolver::AbstractTao) - error("TaoALMMSetSubsolver: no generated method for these argument types") + throw(MethodError(TaoALMMSetSubsolver, (petsclib, tao, subsolver))) end @for_petsc function TaoALMMSetSubsolver(petsclib::$UnionPetscLib, tao::AbstractTao, subsolver::AbstractTao ) @@ -1070,7 +1070,7 @@ See also: `Tao`, `TAOALMM`, `TaoALMMGetType()`, `TaoALMMType` $(_doc_external("Tao/TaoALMMSetType")) """ function TaoALMMSetType(petsclib::PetscLibType, tao::AbstractTao, type::TaoALMMType) - error("TaoALMMSetType: no generated method for these argument types") + throw(MethodError(TaoALMMSetType, (petsclib, tao, type))) end @for_petsc function TaoALMMSetType(petsclib::$UnionPetscLib, tao::AbstractTao, type::TaoALMMType ) @@ -1102,7 +1102,7 @@ See also: `Tao`, `TaoGetLineSearch()`, `TaoLineSearchApply()` $(_doc_external("Tao/TaoAddLineSearchCounts")) """ function TaoAddLineSearchCounts(petsclib::PetscLibType, tao::AbstractTao) - error("TaoAddLineSearchCounts: no generated method for these argument types") + throw(MethodError(TaoAddLineSearchCounts, (petsclib, tao))) end @for_petsc function TaoAddLineSearchCounts(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -1141,7 +1141,7 @@ See also: `Tao`, `TaoTerm`, `TAOTERMSUM`, `TaoGetTerm()` $(_doc_external("Tao/TaoAddTerm")) """ function TaoAddTerm(petsclib::PetscLibType, tao::AbstractTao, prefix::String, scale::Real, term::TaoTerm, params::AbstractPetscVec, map::AbstractPetscMat) - error("TaoAddTerm: no generated method for these argument types") + throw(MethodError(TaoAddTerm, (petsclib, tao, prefix, scale, term, params, map))) end @for_petsc function TaoAddTerm(petsclib::$UnionPetscLib, tao::AbstractTao, prefix::String, scale::$PetscReal, term::TaoTerm, params::AbstractPetscVec, map::AbstractPetscMat ) @@ -1175,7 +1175,7 @@ See also: `Tao`, `TaoSetFromOptions()`, `TaoSetOptionsPrefix()`, `TaoGetOptionsP $(_doc_external("Tao/TaoAppendOptionsPrefix")) """ function TaoAppendOptionsPrefix(petsclib::PetscLibType, tao::AbstractTao, p::String) - error("TaoAppendOptionsPrefix: no generated method for these argument types") + throw(MethodError(TaoAppendOptionsPrefix, (petsclib, tao, p))) end @for_petsc function TaoAppendOptionsPrefix(petsclib::$UnionPetscLib, tao::AbstractTao, p::String ) @@ -1209,7 +1209,7 @@ See also: `Tao`, `TAOBNCG`, `TaoBNCGSetType()`, `TaoBNCGType` $(_doc_external("Tao/TaoBNCGGetType")) """ function TaoBNCGGetType(petsclib::PetscLibType, tao::AbstractTao) - error("TaoBNCGGetType: no generated method for these argument types") + throw(MethodError(TaoBNCGGetType, (petsclib, tao))) end @for_petsc function TaoBNCGGetType(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -1243,7 +1243,7 @@ See also: `Tao`, `TAOBNCG`, `TaoBNCGGetType()`, `TaoBNCGType` $(_doc_external("Tao/TaoBNCGSetType")) """ function TaoBNCGSetType(petsclib::PetscLibType, tao::AbstractTao, type::TaoBNCGType) - error("TaoBNCGSetType: no generated method for these argument types") + throw(MethodError(TaoBNCGSetType, (petsclib, tao, type))) end @for_petsc function TaoBNCGSetType(petsclib::$UnionPetscLib, tao::AbstractTao, type::TaoBNCGType ) @@ -1279,7 +1279,7 @@ See also: `Tao`, `TAOBRGN`, `TaoBRGNRegularzationTypes` $(_doc_external("Tao/TaoBRGNGetDampingVector")) """ function TaoBRGNGetDampingVector(petsclib::PetscLibType, tao::AbstractTao) - error("TaoBRGNGetDampingVector: no generated method for these argument types") + throw(MethodError(TaoBRGNGetDampingVector, (petsclib, tao))) end @for_petsc function TaoBRGNGetDampingVector(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -1317,7 +1317,7 @@ See also: `Tao`, `TAOBRGN`, `TaoBRGNRegularizationType`, `TaoBRGNSetRegularizati $(_doc_external("Tao/TaoBRGNGetRegularizationType")) """ function TaoBRGNGetRegularizationType(petsclib::PetscLibType, tao::AbstractTao) - error("TaoBRGNGetRegularizationType: no generated method for these argument types") + throw(MethodError(TaoBRGNGetRegularizationType, (petsclib, tao))) end @for_petsc function TaoBRGNGetRegularizationType(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -1353,7 +1353,7 @@ See also: `Tao`, `Mat`, `TAOBRGN` $(_doc_external("Tao/TaoBRGNGetSubsolver")) """ function TaoBRGNGetSubsolver(petsclib::PetscLibType, tao::AbstractTao, subsolver::AbstractTao) - error("TaoBRGNGetSubsolver: no generated method for these argument types") + throw(MethodError(TaoBRGNGetSubsolver, (petsclib, tao, subsolver))) end @for_petsc function TaoBRGNGetSubsolver(petsclib::$UnionPetscLib, tao::AbstractTao, subsolver::AbstractTao ) @@ -1387,7 +1387,7 @@ See also: `Tao`, `Mat`, `TAOBRGN` $(_doc_external("Tao/TaoBRGNSetDictionaryMatrix")) """ function TaoBRGNSetDictionaryMatrix(petsclib::PetscLibType, tao::AbstractTao, dict::AbstractPetscMat) - error("TaoBRGNSetDictionaryMatrix: no generated method for these argument types") + throw(MethodError(TaoBRGNSetDictionaryMatrix, (petsclib, tao, dict))) end @for_petsc function TaoBRGNSetDictionaryMatrix(petsclib::$UnionPetscLib, tao::AbstractTao, dict::AbstractPetscMat ) @@ -1421,7 +1421,7 @@ See also: `Tao`, `Mat`, `TAOBRGN` $(_doc_external("Tao/TaoBRGNSetL1SmoothEpsilon")) """ function TaoBRGNSetL1SmoothEpsilon(petsclib::PetscLibType, tao::AbstractTao, epsilon::Real) - error("TaoBRGNSetL1SmoothEpsilon: no generated method for these argument types") + throw(MethodError(TaoBRGNSetL1SmoothEpsilon, (petsclib, tao, epsilon))) end @for_petsc function TaoBRGNSetL1SmoothEpsilon(petsclib::$UnionPetscLib, tao::AbstractTao, epsilon::$PetscReal ) @@ -1455,7 +1455,7 @@ See also: `Tao`, `TAOBRGN`, `TaoBRGNRegularizationType`, `TaoBRGNGetRegularizati $(_doc_external("Tao/TaoBRGNSetRegularizationType")) """ function TaoBRGNSetRegularizationType(petsclib::PetscLibType, tao::AbstractTao, type::TaoBRGNRegularizationType) - error("TaoBRGNSetRegularizationType: no generated method for these argument types") + throw(MethodError(TaoBRGNSetRegularizationType, (petsclib, tao, type))) end @for_petsc function TaoBRGNSetRegularizationType(petsclib::$UnionPetscLib, tao::AbstractTao, type::TaoBRGNRegularizationType ) @@ -1496,7 +1496,7 @@ See also: `Tao`, `Mat`, `TAOBRGN` $(_doc_external("Tao/TaoBRGNSetRegularizerHessianRoutine")) """ function TaoBRGNSetRegularizerHessianRoutine(petsclib::PetscLibType, tao::AbstractTao, Hreg::AbstractPetscMat, func::external, ctx::Ptr{Cvoid}) - error("TaoBRGNSetRegularizerHessianRoutine: no generated method for these argument types") + throw(MethodError(TaoBRGNSetRegularizerHessianRoutine, (petsclib, tao, Hreg, func, ctx))) end @for_petsc function TaoBRGNSetRegularizerHessianRoutine(petsclib::$UnionPetscLib, tao::AbstractTao, Hreg::AbstractPetscMat, func::external, ctx::Ptr{Cvoid} ) @@ -1537,7 +1537,7 @@ See also: `Tao`, `Mat`, `TAOBRGN` $(_doc_external("Tao/TaoBRGNSetRegularizerObjectiveAndGradientRoutine")) """ function TaoBRGNSetRegularizerObjectiveAndGradientRoutine(petsclib::PetscLibType, tao::AbstractTao, func::external, ctx::Ptr{Cvoid}) - error("TaoBRGNSetRegularizerObjectiveAndGradientRoutine: no generated method for these argument types") + throw(MethodError(TaoBRGNSetRegularizerObjectiveAndGradientRoutine, (petsclib, tao, func, ctx))) end @for_petsc function TaoBRGNSetRegularizerObjectiveAndGradientRoutine(petsclib::$UnionPetscLib, tao::AbstractTao, func::external, ctx::Ptr{Cvoid} ) @@ -1571,7 +1571,7 @@ See also: `Tao`, `Mat`, `TAOBRGN` $(_doc_external("Tao/TaoBRGNSetRegularizerWeight")) """ function TaoBRGNSetRegularizerWeight(petsclib::PetscLibType, tao::AbstractTao, lambda::Real) - error("TaoBRGNSetRegularizerWeight: no generated method for these argument types") + throw(MethodError(TaoBRGNSetRegularizerWeight, (petsclib, tao, lambda))) end @for_petsc function TaoBRGNSetRegularizerWeight(petsclib::$UnionPetscLib, tao::AbstractTao, lambda::$PetscReal ) @@ -1611,7 +1611,7 @@ See also: `TAOBNCG`, `TAOBNTL`, `TAOBNTR`, `TaoBoundStep()` $(_doc_external("Tao/TaoBoundSolution")) """ function TaoBoundSolution(petsclib::PetscLibType, X::AbstractPetscVec, XL::AbstractPetscVec, XU::AbstractPetscVec, bound_tol::Real, Xout::AbstractPetscVec) - error("TaoBoundSolution: no generated method for these argument types") + throw(MethodError(TaoBoundSolution, (petsclib, X, XL, XU, bound_tol, Xout))) end @for_petsc function TaoBoundSolution(petsclib::$UnionPetscLib, X::AbstractPetscVec, XL::AbstractPetscVec, XU::AbstractPetscVec, bound_tol::$PetscReal, Xout::AbstractPetscVec ) @@ -1654,7 +1654,7 @@ See also: `TAOBNCG`, `TAOBNTL`, `TAOBNTR`, `TaoBoundSolution()` $(_doc_external("Tao/TaoBoundStep")) """ function TaoBoundStep(petsclib::PetscLibType, X::AbstractPetscVec, XL::AbstractPetscVec, XU::AbstractPetscVec, active_lower::AbstractIS, active_upper::AbstractIS, active_fixed::AbstractIS, scale::Real, S::AbstractPetscVec) - error("TaoBoundStep: no generated method for these argument types") + throw(MethodError(TaoBoundStep, (petsclib, X, XL, XU, active_lower, active_upper, active_fixed, scale, S))) end @for_petsc function TaoBoundStep(petsclib::$UnionPetscLib, X::AbstractPetscVec, XL::AbstractPetscVec, XU::AbstractPetscVec, active_lower::AbstractIS, active_upper::AbstractIS, active_fixed::AbstractIS, scale::$PetscReal, S::AbstractPetscVec ) @@ -1692,7 +1692,7 @@ See also: `Tao`, `TaoSetConstraintsRoutine()`, `TaoComputeJacobian()` $(_doc_external("Tao/TaoComputeConstraints")) """ function TaoComputeConstraints(petsclib::PetscLibType, tao::AbstractTao, X::AbstractPetscVec, C::AbstractPetscVec) - error("TaoComputeConstraints: no generated method for these argument types") + throw(MethodError(TaoComputeConstraints, (petsclib, tao, X, C))) end @for_petsc function TaoComputeConstraints(petsclib::$UnionPetscLib, tao::AbstractTao, X::AbstractPetscVec, C::AbstractPetscVec ) @@ -1730,7 +1730,7 @@ See also: `Tao`, `TaoComputeObjective()`, `TaoSetVariableBounds()` $(_doc_external("Tao/TaoComputeDualVariables")) """ function TaoComputeDualVariables(petsclib::PetscLibType, tao::AbstractTao, DL::AbstractPetscVec, DU::AbstractPetscVec) - error("TaoComputeDualVariables: no generated method for these argument types") + throw(MethodError(TaoComputeDualVariables, (petsclib, tao, DL, DU))) end @for_petsc function TaoComputeDualVariables(petsclib::$UnionPetscLib, tao::AbstractTao, DL::AbstractPetscVec, DU::AbstractPetscVec ) @@ -1768,7 +1768,7 @@ See also: `Tao`, `TaoSetEqualityConstraintsRoutine()`, `TaoComputeJacobianEquali $(_doc_external("Tao/TaoComputeEqualityConstraints")) """ function TaoComputeEqualityConstraints(petsclib::PetscLibType, tao::AbstractTao, X::AbstractPetscVec, CE::AbstractPetscVec) - error("TaoComputeEqualityConstraints: no generated method for these argument types") + throw(MethodError(TaoComputeEqualityConstraints, (petsclib, tao, X, CE))) end @for_petsc function TaoComputeEqualityConstraints(petsclib::$UnionPetscLib, tao::AbstractTao, X::AbstractPetscVec, CE::AbstractPetscVec ) @@ -1809,7 +1809,7 @@ See also: `TaoComputeObjective()`, `TaoComputeObjectiveAndGradient()`, `TaoSetGr $(_doc_external("Tao/TaoComputeGradient")) """ function TaoComputeGradient(petsclib::PetscLibType, tao::AbstractTao, X::AbstractPetscVec, G::AbstractPetscVec) - error("TaoComputeGradient: no generated method for these argument types") + throw(MethodError(TaoComputeGradient, (petsclib, tao, X, G))) end @for_petsc function TaoComputeGradient(petsclib::$UnionPetscLib, tao::AbstractTao, X::AbstractPetscVec, G::AbstractPetscVec ) @@ -1853,7 +1853,7 @@ See also: `Tao`, `TaoComputeObjective()`, `TaoComputeObjectiveAndGradient()`, `T $(_doc_external("Tao/TaoComputeHessian")) """ function TaoComputeHessian(petsclib::PetscLibType, tao::AbstractTao, X::AbstractPetscVec, H::AbstractPetscMat, Hpre::AbstractPetscMat) - error("TaoComputeHessian: no generated method for these argument types") + throw(MethodError(TaoComputeHessian, (petsclib, tao, X, H, Hpre))) end @for_petsc function TaoComputeHessian(petsclib::$UnionPetscLib, tao::AbstractTao, X::AbstractPetscVec, H::AbstractPetscMat, Hpre::AbstractPetscMat ) @@ -1891,7 +1891,7 @@ See also: `Tao`, `TaoSetInequalityConstraintsRoutine()`, `TaoComputeJacobianIneq $(_doc_external("Tao/TaoComputeInequalityConstraints")) """ function TaoComputeInequalityConstraints(petsclib::PetscLibType, tao::AbstractTao, X::AbstractPetscVec, CI::AbstractPetscVec) - error("TaoComputeInequalityConstraints: no generated method for these argument types") + throw(MethodError(TaoComputeInequalityConstraints, (petsclib, tao, X, CI))) end @for_petsc function TaoComputeInequalityConstraints(petsclib::$UnionPetscLib, tao::AbstractTao, X::AbstractPetscVec, CI::AbstractPetscVec ) @@ -1930,7 +1930,7 @@ See also: `TaoComputeObjective()`, `TaoComputeObjectiveAndGradient()`, `TaoSetJa $(_doc_external("Tao/TaoComputeJacobian")) """ function TaoComputeJacobian(petsclib::PetscLibType, tao::AbstractTao, X::AbstractPetscVec, J::AbstractPetscMat, Jpre::AbstractPetscMat) - error("TaoComputeJacobian: no generated method for these argument types") + throw(MethodError(TaoComputeJacobian, (petsclib, tao, X, J, Jpre))) end @for_petsc function TaoComputeJacobian(petsclib::$UnionPetscLib, tao::AbstractTao, X::AbstractPetscVec, J::AbstractPetscMat, Jpre::AbstractPetscMat ) @@ -1968,7 +1968,7 @@ See also: `Tao`, `TaoComputeObjective()`, `TaoComputeObjectiveAndGradient()`, `T $(_doc_external("Tao/TaoComputeJacobianDesign")) """ function TaoComputeJacobianDesign(petsclib::PetscLibType, tao::AbstractTao, X::AbstractPetscVec, J::AbstractPetscMat) - error("TaoComputeJacobianDesign: no generated method for these argument types") + throw(MethodError(TaoComputeJacobianDesign, (petsclib, tao, X, J))) end @for_petsc function TaoComputeJacobianDesign(petsclib::$UnionPetscLib, tao::AbstractTao, X::AbstractPetscVec, J::AbstractPetscMat ) @@ -2007,7 +2007,7 @@ See also: `TaoComputeObjective()`, `TaoComputeObjectiveAndGradient()`, `TaoSetJa $(_doc_external("Tao/TaoComputeJacobianEquality")) """ function TaoComputeJacobianEquality(petsclib::PetscLibType, tao::AbstractTao, X::AbstractPetscVec, J::AbstractPetscMat, Jpre::AbstractPetscMat) - error("TaoComputeJacobianEquality: no generated method for these argument types") + throw(MethodError(TaoComputeJacobianEquality, (petsclib, tao, X, J, Jpre))) end @for_petsc function TaoComputeJacobianEquality(petsclib::$UnionPetscLib, tao::AbstractTao, X::AbstractPetscVec, J::AbstractPetscMat, Jpre::AbstractPetscMat ) @@ -2046,7 +2046,7 @@ See also: `Tao`, `TaoComputeObjective()`, `TaoComputeObjectiveAndGradient()`, `T $(_doc_external("Tao/TaoComputeJacobianInequality")) """ function TaoComputeJacobianInequality(petsclib::PetscLibType, tao::AbstractTao, X::AbstractPetscVec, J::AbstractPetscMat, Jpre::AbstractPetscMat) - error("TaoComputeJacobianInequality: no generated method for these argument types") + throw(MethodError(TaoComputeJacobianInequality, (petsclib, tao, X, J, Jpre))) end @for_petsc function TaoComputeJacobianInequality(petsclib::$UnionPetscLib, tao::AbstractTao, X::AbstractPetscVec, J::AbstractPetscMat, Jpre::AbstractPetscMat ) @@ -2086,7 +2086,7 @@ See also: `Tao`, `TaoComputeObjective()`, `TaoComputeObjectiveAndGradient()`, `T $(_doc_external("Tao/TaoComputeJacobianState")) """ function TaoComputeJacobianState(petsclib::PetscLibType, tao::AbstractTao, X::AbstractPetscVec, J::AbstractPetscMat, Jpre::AbstractPetscMat, Jinv::AbstractPetscMat) - error("TaoComputeJacobianState: no generated method for these argument types") + throw(MethodError(TaoComputeJacobianState, (petsclib, tao, X, J, Jpre, Jinv))) end @for_petsc function TaoComputeJacobianState(petsclib::$UnionPetscLib, tao::AbstractTao, X::AbstractPetscVec, J::AbstractPetscMat, Jpre::AbstractPetscMat, Jinv::AbstractPetscMat ) @@ -2123,7 +2123,7 @@ See also: `Tao`, `TaoComputeGradient()`, `TaoComputeObjectiveAndGradient()`, `Ta $(_doc_external("Tao/TaoComputeObjective")) """ function TaoComputeObjective(petsclib::PetscLibType, tao::AbstractTao, X::AbstractPetscVec) - error("TaoComputeObjective: no generated method for these argument types") + throw(MethodError(TaoComputeObjective, (petsclib, tao, X))) end @for_petsc function TaoComputeObjective(petsclib::$UnionPetscLib, tao::AbstractTao, X::AbstractPetscVec ) @@ -2163,7 +2163,7 @@ See also: `TaoComputeGradient()`, `TaoSetObjective()` $(_doc_external("Tao/TaoComputeObjectiveAndGradient")) """ function TaoComputeObjectiveAndGradient(petsclib::PetscLibType, tao::AbstractTao, X::AbstractPetscVec, G::AbstractPetscVec) - error("TaoComputeObjectiveAndGradient: no generated method for these argument types") + throw(MethodError(TaoComputeObjectiveAndGradient, (petsclib, tao, X, G))) end @for_petsc function TaoComputeObjectiveAndGradient(petsclib::$UnionPetscLib, tao::AbstractTao, X::AbstractPetscVec, G::AbstractPetscVec ) @@ -2202,7 +2202,7 @@ See also: `Tao`, `TaoSetResidualRoutine()` $(_doc_external("Tao/TaoComputeResidual")) """ function TaoComputeResidual(petsclib::PetscLibType, tao::AbstractTao, X::AbstractPetscVec, F::AbstractPetscVec) - error("TaoComputeResidual: no generated method for these argument types") + throw(MethodError(TaoComputeResidual, (petsclib, tao, X, F))) end @for_petsc function TaoComputeResidual(petsclib::$UnionPetscLib, tao::AbstractTao, X::AbstractPetscVec, F::AbstractPetscVec ) @@ -2241,7 +2241,7 @@ See also: `Tao`, `TaoComputeResidual()`, `TaoSetJacobianResidual()` $(_doc_external("Tao/TaoComputeResidualJacobian")) """ function TaoComputeResidualJacobian(petsclib::PetscLibType, tao::AbstractTao, X::AbstractPetscVec, J::AbstractPetscMat, Jpre::AbstractPetscMat) - error("TaoComputeResidualJacobian: no generated method for these argument types") + throw(MethodError(TaoComputeResidualJacobian, (petsclib, tao, X, J, Jpre))) end @for_petsc function TaoComputeResidualJacobian(petsclib::$UnionPetscLib, tao::AbstractTao, X::AbstractPetscVec, J::AbstractPetscMat, Jpre::AbstractPetscMat ) @@ -2275,7 +2275,7 @@ See also: `Tao`, `TaoSetVariableBoundsRoutine()`, `TaoSetVariableBounds()` $(_doc_external("Tao/TaoComputeVariableBounds")) """ function TaoComputeVariableBounds(petsclib::PetscLibType, tao::AbstractTao) - error("TaoComputeVariableBounds: no generated method for these argument types") + throw(MethodError(TaoComputeVariableBounds, (petsclib, tao))) end @for_petsc function TaoComputeVariableBounds(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -2314,7 +2314,7 @@ See also: `Tao`, `TaoSolve()`, `TaoDestroy()`, `TaoSetFromOptions()`, `TaoSetTyp $(_doc_external("Tao/TaoCreate")) """ function TaoCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("TaoCreate: no generated method for these argument types") + throw(MethodError(TaoCreate, (petsclib, comm))) end @for_petsc function TaoCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -2358,7 +2358,7 @@ See also: `Tao`, `TaoSetGradient()`, `TaoTermComputeGradientFD()` $(_doc_external("Tao/TaoDefaultComputeGradient")) """ function TaoDefaultComputeGradient(petsclib::PetscLibType, tao::AbstractTao, Xin::AbstractPetscVec, G::AbstractPetscVec, dummy::Ptr{Cvoid}) - error("TaoDefaultComputeGradient: no generated method for these argument types") + throw(MethodError(TaoDefaultComputeGradient, (petsclib, tao, Xin, G, dummy))) end @for_petsc function TaoDefaultComputeGradient(petsclib::$UnionPetscLib, tao::AbstractTao, Xin::AbstractPetscVec, G::AbstractPetscVec, dummy::Ptr{Cvoid} ) @@ -2400,7 +2400,7 @@ See also: `Tao`, `TaoSetHessian()`, `TaoDefaultComputeHessianColor()`, `SNESComp $(_doc_external("Tao/TaoDefaultComputeHessian")) """ function TaoDefaultComputeHessian(petsclib::PetscLibType, tao::AbstractTao, V::AbstractPetscVec, H::AbstractPetscMat, B::AbstractPetscMat, dummy::Ptr{Cvoid}) - error("TaoDefaultComputeHessian: no generated method for these argument types") + throw(MethodError(TaoDefaultComputeHessian, (petsclib, tao, V, H, B, dummy))) end @for_petsc function TaoDefaultComputeHessian(petsclib::$UnionPetscLib, tao::AbstractTao, V::AbstractPetscVec, H::AbstractPetscMat, B::AbstractPetscMat, dummy::Ptr{Cvoid} ) @@ -2439,7 +2439,7 @@ See also: `Tao`, `MatColoring`, `TaoSetHessian()`, `TaoDefaultComputeHessian()`, $(_doc_external("Tao/TaoDefaultComputeHessianColor")) """ function TaoDefaultComputeHessianColor(petsclib::PetscLibType, tao::AbstractTao, V::AbstractPetscVec, H::AbstractPetscMat, B::AbstractPetscMat, ctx::Ptr{Cvoid}) - error("TaoDefaultComputeHessianColor: no generated method for these argument types") + throw(MethodError(TaoDefaultComputeHessianColor, (petsclib, tao, V, H, B, ctx))) end @for_petsc function TaoDefaultComputeHessianColor(petsclib::$UnionPetscLib, tao::AbstractTao, V::AbstractPetscVec, H::AbstractPetscMat, B::AbstractPetscMat, ctx::Ptr{Cvoid} ) @@ -2478,7 +2478,7 @@ See also: `Tao`, `MATMFFD`, `MatCreateMFFD()`, `TaoTermCreateHessianMFFD()` $(_doc_external("Tao/TaoDefaultComputeHessianMFFD")) """ function TaoDefaultComputeHessianMFFD(petsclib::PetscLibType, tao::AbstractTao, X::AbstractPetscVec, H::AbstractPetscMat, B::AbstractPetscMat, ctx::Ptr{Cvoid}) - error("TaoDefaultComputeHessianMFFD: no generated method for these argument types") + throw(MethodError(TaoDefaultComputeHessianMFFD, (petsclib, tao, X, H, B, ctx))) end @for_petsc function TaoDefaultComputeHessianMFFD(petsclib::$UnionPetscLib, tao::AbstractTao, X::AbstractPetscVec, H::AbstractPetscMat, B::AbstractPetscMat, ctx::Ptr{Cvoid} ) @@ -2513,7 +2513,7 @@ See also: `Tao`, `TaoSetTolerances()`, `TaoGetConvergedReason()`, `TaoSetConverg $(_doc_external("Tao/TaoDefaultConvergenceTest")) """ function TaoDefaultConvergenceTest(petsclib::PetscLibType, tao::AbstractTao, dummy::Ptr{Cvoid}) - error("TaoDefaultConvergenceTest: no generated method for these argument types") + throw(MethodError(TaoDefaultConvergenceTest, (petsclib, tao, dummy))) end @for_petsc function TaoDefaultConvergenceTest(petsclib::$UnionPetscLib, tao::AbstractTao, dummy::Ptr{Cvoid} ) @@ -2546,7 +2546,7 @@ See also: `Tao`, `TaoCreate()`, `TaoSolve()` $(_doc_external("Tao/TaoDestroy")) """ function TaoDestroy(petsclib::PetscLibType, tao::AbstractTao) - error("TaoDestroy: no generated method for these argument types") + throw(MethodError(TaoDestroy, (petsclib, tao))) end @for_petsc function TaoDestroy(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -2594,7 +2594,7 @@ See also: `TAOBNCG`, `TAOBNTL`, `TAOBNTR`, `TaoBoundSolution()` $(_doc_external("Tao/TaoEstimateActiveBounds")) """ function TaoEstimateActiveBounds(petsclib::PetscLibType, X::AbstractPetscVec, XL::AbstractPetscVec, XU::AbstractPetscVec, G::AbstractPetscVec, S::AbstractPetscVec, W::AbstractPetscVec, steplen::Real) - error("TaoEstimateActiveBounds: no generated method for these argument types") + throw(MethodError(TaoEstimateActiveBounds, (petsclib, X, XL, XU, G, S, W, steplen))) end @for_petsc function TaoEstimateActiveBounds(petsclib::$UnionPetscLib, X::AbstractPetscVec, XL::AbstractPetscVec, XU::AbstractPetscVec, G::AbstractPetscVec, S::AbstractPetscVec, W::AbstractPetscVec, steplen::$PetscReal ) @@ -2635,7 +2635,7 @@ See also: `TaoInitializePackage()`, `PetscFinalize()`, `TaoRegister()`, `TaoRegi $(_doc_external("Tao/TaoFinalizePackage")) """ function TaoFinalizePackage(petsclib::PetscLibType) - error("TaoFinalizePackage: no generated method for these argument types") + throw(MethodError(TaoFinalizePackage, (petsclib, ))) end @for_petsc function TaoFinalizePackage(petsclib::$UnionPetscLib) @@ -2670,7 +2670,7 @@ See also: `TAOADMM` $(_doc_external("Tao/TaoGetADMMParentTao")) """ function TaoGetADMMParentTao(petsclib::PetscLibType, tao::AbstractTao) - error("TaoGetADMMParentTao: no generated method for these argument types") + throw(MethodError(TaoGetADMMParentTao, (petsclib, tao))) end @for_petsc function TaoGetADMMParentTao(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -2708,7 +2708,7 @@ See also: `Tao`, `TaoSetApplicationContext()` $(_doc_external("Tao/TaoGetApplicationContext")) """ function TaoGetApplicationContext(petsclib::PetscLibType, tao::AbstractTao) - error("TaoGetApplicationContext: no generated method for these argument types") + throw(MethodError(TaoGetApplicationContext, (petsclib, tao))) end @for_petsc function TaoGetApplicationContext(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -2747,7 +2747,7 @@ See also: `Tao`, `TaoConvergedReason`, `TaoGetTolerances()`, `TaoSetTolerances() $(_doc_external("Tao/TaoGetConstraintTolerances")) """ function TaoGetConstraintTolerances(petsclib::PetscLibType, tao::AbstractTao) - error("TaoGetConstraintTolerances: no generated method for these argument types") + throw(MethodError(TaoGetConstraintTolerances, (petsclib, tao))) end @for_petsc function TaoGetConstraintTolerances(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -2787,7 +2787,7 @@ See also: `Tao`, `TaoConvergedReason`, `TaoSetConvergenceTest()`, `TaoSetToleran $(_doc_external("Tao/TaoGetConvergedReason")) """ function TaoGetConvergedReason(petsclib::PetscLibType, tao::AbstractTao) - error("TaoGetConvergedReason: no generated method for these argument types") + throw(MethodError(TaoGetConvergedReason, (petsclib, tao))) end @for_petsc function TaoGetConvergedReason(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -2829,7 +2829,7 @@ See also: `Tao`, `TaoSolve()`, `TaoSetConvergenceHistory()` $(_doc_external("Tao/TaoGetConvergenceHistory")) """ function TaoGetConvergenceHistory(petsclib::PetscLibType, tao::AbstractTao) - error("TaoGetConvergenceHistory: no generated method for these argument types") + throw(MethodError(TaoGetConvergenceHistory, (petsclib, tao))) end @for_petsc function TaoGetConvergenceHistory(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -2875,7 +2875,7 @@ See also: `Tao`, `TaoSetMaximumFunctionEvaluations()`, `TaoGetMaximumFunctionEva $(_doc_external("Tao/TaoGetCurrentFunctionEvaluations")) """ function TaoGetCurrentFunctionEvaluations(petsclib::PetscLibType, tao::AbstractTao) - error("TaoGetCurrentFunctionEvaluations: no generated method for these argument types") + throw(MethodError(TaoGetCurrentFunctionEvaluations, (petsclib, tao))) end @for_petsc function TaoGetCurrentFunctionEvaluations(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -2913,7 +2913,7 @@ See also: `Tao`, `TaoSetInitialTrustRegionRadius()`, `TaoGetInitialTrustRegionRa $(_doc_external("Tao/TaoGetCurrentTrustRegionRadius")) """ function TaoGetCurrentTrustRegionRadius(petsclib::PetscLibType, tao::AbstractTao) - error("TaoGetCurrentTrustRegionRadius: no generated method for these argument types") + throw(MethodError(TaoGetCurrentTrustRegionRadius, (petsclib, tao))) end @for_petsc function TaoGetCurrentTrustRegionRadius(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -2952,7 +2952,7 @@ See also: `Tao`, `TaoComputeDualVariables()` $(_doc_external("Tao/TaoGetDualVariables")) """ function TaoGetDualVariables(petsclib::PetscLibType, tao::AbstractTao) - error("TaoGetDualVariables: no generated method for these argument types") + throw(MethodError(TaoGetDualVariables, (petsclib, tao))) end @for_petsc function TaoGetDualVariables(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -3000,7 +3000,7 @@ See also: `Tao`, `TaoSolve()`, `TaoGetObjective()`, `TaoGetGradient()`, `TaoGetH $(_doc_external("Tao/TaoGetEqualityConstraintsRoutine")) """ function TaoGetEqualityConstraintsRoutine(petsclib::PetscLibType, tao::AbstractTao, noname::Ptr{Cvoid}) - error("TaoGetEqualityConstraintsRoutine: no generated method for these argument types") + throw(MethodError(TaoGetEqualityConstraintsRoutine, (petsclib, tao, noname))) end @for_petsc function TaoGetEqualityConstraintsRoutine(petsclib::$UnionPetscLib, tao::AbstractTao, noname::Ptr{Cvoid} ) @@ -3040,7 +3040,7 @@ See also: `Tao`, `TaoConvergedReason`, `TaoSetFunctionLowerBound()` $(_doc_external("Tao/TaoGetFunctionLowerBound")) """ function TaoGetFunctionLowerBound(petsclib::PetscLibType, tao::AbstractTao) - error("TaoGetFunctionLowerBound: no generated method for these argument types") + throw(MethodError(TaoGetFunctionLowerBound, (petsclib, tao))) end @for_petsc function TaoGetFunctionLowerBound(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -3086,7 +3086,7 @@ See also: `Tao`, `TaoSetObjective()`, `TaoSetHessian()`, `TaoSetObjectiveAndGrad $(_doc_external("Tao/TaoGetGradient")) """ function TaoGetGradient(petsclib::PetscLibType, tao::AbstractTao, noname::Ptr{Cvoid}) - error("TaoGetGradient: no generated method for these argument types") + throw(MethodError(TaoGetGradient, (petsclib, tao, noname))) end @for_petsc function TaoGetGradient(petsclib::$UnionPetscLib, tao::AbstractTao, noname::Ptr{Cvoid} ) @@ -3124,7 +3124,7 @@ See also: `Tao`, `TaoSetGradientNorm()`, `TaoGradientNorm()` $(_doc_external("Tao/TaoGetGradientNorm")) """ function TaoGetGradientNorm(petsclib::PetscLibType, tao::AbstractTao) - error("TaoGetGradientNorm: no generated method for these argument types") + throw(MethodError(TaoGetGradientNorm, (petsclib, tao))) end @for_petsc function TaoGetGradientNorm(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -3172,7 +3172,7 @@ See also: `Tao`, `TaoType`, `TaoGetObjective()`, `TaoGetGradient()`, `TaoGetObje $(_doc_external("Tao/TaoGetHessian")) """ function TaoGetHessian(petsclib::PetscLibType, tao::AbstractTao, noname::Ptr{Cvoid}) - error("TaoGetHessian: no generated method for these argument types") + throw(MethodError(TaoGetHessian, (petsclib, tao, noname))) end @for_petsc function TaoGetHessian(petsclib::$UnionPetscLib, tao::AbstractTao, noname::Ptr{Cvoid} ) @@ -3213,7 +3213,7 @@ See also: `Tao`, `TaoType`, `TaoGetObjective()`, `TaoGetGradient()`, `TaoGetObje $(_doc_external("Tao/TaoGetHessianMatrices")) """ function TaoGetHessianMatrices(petsclib::PetscLibType, tao::AbstractTao) - error("TaoGetHessianMatrices: no generated method for these argument types") + throw(MethodError(TaoGetHessianMatrices, (petsclib, tao))) end @for_petsc function TaoGetHessianMatrices(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -3254,7 +3254,7 @@ See also: `TaoSetObjective()`, `TaoSetHessian()`, `TaoSetObjectiveAndGradient()` $(_doc_external("Tao/TaoGetInequalityBounds")) """ function TaoGetInequalityBounds(petsclib::PetscLibType, tao::AbstractTao) - error("TaoGetInequalityBounds: no generated method for these argument types") + throw(MethodError(TaoGetInequalityBounds, (petsclib, tao))) end @for_petsc function TaoGetInequalityBounds(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -3302,7 +3302,7 @@ See also: `Tao`, `TaoSolve()`, `TaoGetObjective()`, `TaoGetGradient()`, `TaoGetH $(_doc_external("Tao/TaoGetInequalityConstraintsRoutine")) """ function TaoGetInequalityConstraintsRoutine(petsclib::PetscLibType, tao::AbstractTao, noname::Ptr{Cvoid}) - error("TaoGetInequalityConstraintsRoutine: no generated method for these argument types") + throw(MethodError(TaoGetInequalityConstraintsRoutine, (petsclib, tao, noname))) end @for_petsc function TaoGetInequalityConstraintsRoutine(petsclib::$UnionPetscLib, tao::AbstractTao, noname::Ptr{Cvoid} ) @@ -3340,7 +3340,7 @@ See also: `Tao`, `TaoSetInitialTrustRegionRadius()`, `TaoGetCurrentTrustRegionRa $(_doc_external("Tao/TaoGetInitialTrustRegionRadius")) """ function TaoGetInitialTrustRegionRadius(petsclib::PetscLibType, tao::AbstractTao) - error("TaoGetInitialTrustRegionRadius: no generated method for these argument types") + throw(MethodError(TaoGetInitialTrustRegionRadius, (petsclib, tao))) end @for_petsc function TaoGetInitialTrustRegionRadius(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -3377,7 +3377,7 @@ See also: `Tao`, `TaoGetLinearSolveIterations()`, `TaoGetResidualNorm()`, `TaoGe $(_doc_external("Tao/TaoGetIterationNumber")) """ function TaoGetIterationNumber(petsclib::PetscLibType, tao::AbstractTao) - error("TaoGetIterationNumber: no generated method for these argument types") + throw(MethodError(TaoGetIterationNumber, (petsclib, tao))) end @for_petsc function TaoGetIterationNumber(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -3425,7 +3425,7 @@ See also: `Tao`, `TaoComputeJacobianEquality()`, `TaoSetJacobianEqualityRoutine( $(_doc_external("Tao/TaoGetJacobianEqualityRoutine")) """ function TaoGetJacobianEqualityRoutine(petsclib::PetscLibType, tao::AbstractTao, noname::Ptr{Cvoid}) - error("TaoGetJacobianEqualityRoutine: no generated method for these argument types") + throw(MethodError(TaoGetJacobianEqualityRoutine, (petsclib, tao, noname))) end @for_petsc function TaoGetJacobianEqualityRoutine(petsclib::$UnionPetscLib, tao::AbstractTao, noname::Ptr{Cvoid} ) @@ -3475,7 +3475,7 @@ See also: `Tao`, `TaoComputeJacobianInequality()`, `TaoSetJacobianInequalityRout $(_doc_external("Tao/TaoGetJacobianInequalityRoutine")) """ function TaoGetJacobianInequalityRoutine(petsclib::PetscLibType, tao::AbstractTao, noname::Ptr{Cvoid}) - error("TaoGetJacobianInequalityRoutine: no generated method for these argument types") + throw(MethodError(TaoGetJacobianInequalityRoutine, (petsclib, tao, noname))) end @for_petsc function TaoGetJacobianInequalityRoutine(petsclib::$UnionPetscLib, tao::AbstractTao, noname::Ptr{Cvoid} ) @@ -3515,7 +3515,7 @@ See also: `Tao`, `KSP` $(_doc_external("Tao/TaoGetKSP")) """ function TaoGetKSP(petsclib::PetscLibType, tao::AbstractTao) - error("TaoGetKSP: no generated method for these argument types") + throw(MethodError(TaoGetKSP, (petsclib, tao))) end @for_petsc function TaoGetKSP(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -3552,7 +3552,7 @@ See also: `TAOBQNLS`, `TAOBQNKLS`, `TAOBQNKTL`, `TAOBQNKTR`, `MATLMVM`, `TaoSetL $(_doc_external("Tao/TaoGetLMVMMatrix")) """ function TaoGetLMVMMatrix(petsclib::PetscLibType, tao::AbstractTao) - error("TaoGetLMVMMatrix: no generated method for these argument types") + throw(MethodError(TaoGetLMVMMatrix, (petsclib, tao))) end @for_petsc function TaoGetLMVMMatrix(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -3590,7 +3590,7 @@ See also: `Tao`, `TaoLineSearch`, `TaoLineSearchType` $(_doc_external("Tao/TaoGetLineSearch")) """ function TaoGetLineSearch(petsclib::PetscLibType, tao::AbstractTao) - error("TaoGetLineSearch: no generated method for these argument types") + throw(MethodError(TaoGetLineSearch, (petsclib, tao))) end @for_petsc function TaoGetLineSearch(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -3629,7 +3629,7 @@ See also: `Tao`, `TaoGetKSP()` $(_doc_external("Tao/TaoGetLinearSolveIterations")) """ function TaoGetLinearSolveIterations(petsclib::PetscLibType, tao::AbstractTao) - error("TaoGetLinearSolveIterations: no generated method for these argument types") + throw(MethodError(TaoGetLinearSolveIterations, (petsclib, tao))) end @for_petsc function TaoGetLinearSolveIterations(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -3667,7 +3667,7 @@ See also: `Tao`, `TaoSetMaximumFunctionEvaluations()`, `TaoGetMaximumIterations( $(_doc_external("Tao/TaoGetMaximumFunctionEvaluations")) """ function TaoGetMaximumFunctionEvaluations(petsclib::PetscLibType, tao::AbstractTao) - error("TaoGetMaximumFunctionEvaluations: no generated method for these argument types") + throw(MethodError(TaoGetMaximumFunctionEvaluations, (petsclib, tao))) end @for_petsc function TaoGetMaximumFunctionEvaluations(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -3705,7 +3705,7 @@ See also: `Tao`, `TaoSetMaximumIterations()`, `TaoGetMaximumFunctionEvaluations( $(_doc_external("Tao/TaoGetMaximumIterations")) """ function TaoGetMaximumIterations(petsclib::PetscLibType, tao::AbstractTao) - error("TaoGetMaximumIterations: no generated method for these argument types") + throw(MethodError(TaoGetMaximumIterations, (petsclib, tao))) end @for_petsc function TaoGetMaximumIterations(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -3750,7 +3750,7 @@ See also: `Tao`, `TaoSetGradient()`, `TaoSetHessian()`, `TaoSetObjective()` $(_doc_external("Tao/TaoGetObjective")) """ function TaoGetObjective(petsclib::PetscLibType, tao::AbstractTao, noname::Ptr{Cvoid}) - error("TaoGetObjective: no generated method for these argument types") + throw(MethodError(TaoGetObjective, (petsclib, tao, noname))) end @for_petsc function TaoGetObjective(petsclib::$UnionPetscLib, tao::AbstractTao, noname::Ptr{Cvoid} ) @@ -3795,7 +3795,7 @@ See also: `Tao`, `TaoSolve()`, `TaoSetObjective()`, `TaoSetGradient()`, `TaoSetH $(_doc_external("Tao/TaoGetObjectiveAndGradient")) """ function TaoGetObjectiveAndGradient(petsclib::PetscLibType, tao::AbstractTao, noname::Ptr{Cvoid}) - error("TaoGetObjectiveAndGradient: no generated method for these argument types") + throw(MethodError(TaoGetObjectiveAndGradient, (petsclib, tao, noname))) end @for_petsc function TaoGetObjectiveAndGradient(petsclib::$UnionPetscLib, tao::AbstractTao, noname::Ptr{Cvoid} ) @@ -3834,7 +3834,7 @@ See also: `Tao`, `TaoSetFromOptions()`, `TaoSetOptionsPrefix()`, `TaoAppendOptio $(_doc_external("Tao/TaoGetOptionsPrefix")) """ function TaoGetOptionsPrefix(petsclib::PetscLibType, tao::AbstractTao) - error("TaoGetOptionsPrefix: no generated method for these argument types") + throw(MethodError(TaoGetOptionsPrefix, (petsclib, tao))) end @for_petsc function TaoGetOptionsPrefix(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -3873,7 +3873,7 @@ See also: `Tao`, `TaoSetRecycleHistory()`, `TAOBNCG`, `TAOBQNLS`, `TAOBQNKLS`, ` $(_doc_external("Tao/TaoGetRecycleHistory")) """ function TaoGetRecycleHistory(petsclib::PetscLibType, tao::AbstractTao) - error("TaoGetRecycleHistory: no generated method for these argument types") + throw(MethodError(TaoGetRecycleHistory, (petsclib, tao))) end @for_petsc function TaoGetRecycleHistory(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -3912,7 +3912,7 @@ See also: `Tao`, `TaoGetLinearSolveIterations()`, `TaoGetIterationNumber()`, `Ta $(_doc_external("Tao/TaoGetResidualNorm")) """ function TaoGetResidualNorm(petsclib::PetscLibType, tao::AbstractTao) - error("TaoGetResidualNorm: no generated method for these argument types") + throw(MethodError(TaoGetResidualNorm, (petsclib, tao))) end @for_petsc function TaoGetResidualNorm(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -3950,7 +3950,7 @@ See also: `Tao`, `TaoSetSolution()`, `TaoSolve()` $(_doc_external("Tao/TaoGetSolution")) """ function TaoGetSolution(petsclib::PetscLibType, tao::AbstractTao) - error("TaoGetSolution: no generated method for these argument types") + throw(MethodError(TaoGetSolution, (petsclib, tao))) end @for_petsc function TaoGetSolution(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -3994,7 +3994,7 @@ See also: `TaoMonitor()`, `TaoGetConvergedReason()` $(_doc_external("Tao/TaoGetSolutionStatus")) """ function TaoGetSolutionStatus(petsclib::PetscLibType, tao::AbstractTao) - error("TaoGetSolutionStatus: no generated method for these argument types") + throw(MethodError(TaoGetSolutionStatus, (petsclib, tao))) end @for_petsc function TaoGetSolutionStatus(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -4047,7 +4047,7 @@ See also: `Tao`, `TaoTerm`, `TAOTERMSUM`, `TaoAddTerm()` $(_doc_external("Tao/TaoGetTerm")) """ function TaoGetTerm(petsclib::PetscLibType, tao::AbstractTao) - error("TaoGetTerm: no generated method for these argument types") + throw(MethodError(TaoGetTerm, (petsclib, tao))) end @for_petsc function TaoGetTerm(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -4093,7 +4093,7 @@ See also: `Tao`, `TaoSetTolerances()` $(_doc_external("Tao/TaoGetTolerances")) """ function TaoGetTolerances(petsclib::PetscLibType, tao::AbstractTao) - error("TaoGetTolerances: no generated method for these argument types") + throw(MethodError(TaoGetTolerances, (petsclib, tao))) end @for_petsc function TaoGetTolerances(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -4137,7 +4137,7 @@ See also: `Tao`, `TaoGetLinearSolveIterations()` $(_doc_external("Tao/TaoGetTotalIterationNumber")) """ function TaoGetTotalIterationNumber(petsclib::PetscLibType, tao::AbstractTao) - error("TaoGetTotalIterationNumber: no generated method for these argument types") + throw(MethodError(TaoGetTotalIterationNumber, (petsclib, tao))) end @for_petsc function TaoGetTotalIterationNumber(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -4175,7 +4175,7 @@ See also: `Tao`, `TaoType`, `TaoSetType()`, `PetscObjectTypeCompare()`, `PetscOb $(_doc_external("Tao/TaoGetType")) """ function TaoGetType(petsclib::PetscLibType, tao::AbstractTao) - error("TaoGetType: no generated method for these argument types") + throw(MethodError(TaoGetType, (petsclib, tao))) end @for_petsc function TaoGetType(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -4214,7 +4214,7 @@ See also: `Tao`, `TaoSetObjective()`, `TaoSetHessian()`, `TaoSetObjectiveAndGrad $(_doc_external("Tao/TaoGetVariableBounds")) """ function TaoGetVariableBounds(petsclib::PetscLibType, tao::AbstractTao) - error("TaoGetVariableBounds: no generated method for these argument types") + throw(MethodError(TaoGetVariableBounds, (petsclib, tao))) end @for_petsc function TaoGetVariableBounds(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -4256,7 +4256,7 @@ See also: `Tao`, `TaoSetGradientNorm()`, `TaoGetGradientNorm()` $(_doc_external("Tao/TaoGradientNorm")) """ function TaoGradientNorm(petsclib::PetscLibType, tao::AbstractTao, gradient::AbstractPetscVec, type::NormType) - error("TaoGradientNorm: no generated method for these argument types") + throw(MethodError(TaoGradientNorm, (petsclib, tao, gradient, type))) end @for_petsc function TaoGradientNorm(petsclib::$UnionPetscLib, tao::AbstractTao, gradient::AbstractPetscVec, type::NormType ) @@ -4289,7 +4289,7 @@ See also: `TaoCreate()`, `TaoFinalizePackage()`, `TaoRegister()`, `TaoRegisterAl $(_doc_external("Sys/TaoInitializePackage")) """ function TaoInitializePackage(petsclib::PetscLibType) - error("TaoInitializePackage: no generated method for these argument types") + throw(MethodError(TaoInitializePackage, (petsclib, ))) end @for_petsc function TaoInitializePackage(petsclib::$UnionPetscLib) @@ -4327,7 +4327,7 @@ See also: `TaoSetGradient()`, `TaoIsObjectiveDefined()`, `TaoIsObjectiveAndGradi $(_doc_external("Tao/TaoIsGradientDefined")) """ function TaoIsGradientDefined(petsclib::PetscLibType, tao::AbstractTao) - error("TaoIsGradientDefined: no generated method for these argument types") + throw(MethodError(TaoIsGradientDefined, (petsclib, tao))) end @for_petsc function TaoIsGradientDefined(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -4367,7 +4367,7 @@ See also: `TaoSetObjectiveAndGradient()`, `TaoIsObjectiveDefined()`, `TaoIsGradi $(_doc_external("Tao/TaoIsObjectiveAndGradientDefined")) """ function TaoIsObjectiveAndGradientDefined(petsclib::PetscLibType, tao::AbstractTao) - error("TaoIsObjectiveAndGradientDefined: no generated method for these argument types") + throw(MethodError(TaoIsObjectiveAndGradientDefined, (petsclib, tao))) end @for_petsc function TaoIsObjectiveAndGradientDefined(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -4408,7 +4408,7 @@ See also: `Tao`, `TaoSetObjective()`, `TaoIsGradientDefined()`, `TaoIsObjectiveA $(_doc_external("Tao/TaoIsObjectiveDefined")) """ function TaoIsObjectiveDefined(petsclib::PetscLibType, tao::AbstractTao) - error("TaoIsObjectiveDefined: no generated method for these argument types") + throw(MethodError(TaoIsObjectiveDefined, (petsclib, tao))) end @for_petsc function TaoIsObjectiveDefined(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -4444,7 +4444,7 @@ See also: `Tao`, `SNESKSPSetUseEW()` $(_doc_external("Tao/TaoKSPSetUseEW")) """ function TaoKSPSetUseEW(petsclib::PetscLibType, tao::AbstractTao, flag::PetscBool) - error("TaoKSPSetUseEW: no generated method for these argument types") + throw(MethodError(TaoKSPSetUseEW, (petsclib, tao, flag))) end @for_petsc function TaoKSPSetUseEW(petsclib::$UnionPetscLib, tao::AbstractTao, flag::PetscBool ) @@ -4478,7 +4478,7 @@ See also: `Tao`, `TAOLMVM`, `TAOBLMVM`, `TaoLMVMSetH0()`, `TaoLMVMGetH0KSP()` $(_doc_external("Tao/TaoLMVMGetH0")) """ function TaoLMVMGetH0(petsclib::PetscLibType, tao::AbstractTao) - error("TaoLMVMGetH0: no generated method for these argument types") + throw(MethodError(TaoLMVMGetH0, (petsclib, tao))) end @for_petsc function TaoLMVMGetH0(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -4514,7 +4514,7 @@ See also: `Tao`, `TAOLMVM`, `TAOBLMVM`, `TaoLMVMGetH0()` $(_doc_external("Tao/TaoLMVMGetH0KSP")) """ function TaoLMVMGetH0KSP(petsclib::PetscLibType, tao::AbstractTao) - error("TaoLMVMGetH0KSP: no generated method for these argument types") + throw(MethodError(TaoLMVMGetH0KSP, (petsclib, tao))) end @for_petsc function TaoLMVMGetH0KSP(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -4548,7 +4548,7 @@ See also: `Tao`, `TAOLMVM`, `TAOBLMVM` $(_doc_external("Tao/TaoLMVMRecycle")) """ function TaoLMVMRecycle(petsclib::PetscLibType, tao::AbstractTao, flg::PetscBool) - error("TaoLMVMRecycle: no generated method for these argument types") + throw(MethodError(TaoLMVMRecycle, (petsclib, tao, flg))) end @for_petsc function TaoLMVMRecycle(petsclib::$UnionPetscLib, tao::AbstractTao, flg::PetscBool ) @@ -4580,7 +4580,7 @@ See also: `Tao`, `TAOLMVM`, `TAOBLMVM`, `TaoLMVMGetH0()`, `TaoLMVMGetH0KSP()` $(_doc_external("Tao/TaoLMVMSetH0")) """ function TaoLMVMSetH0(petsclib::PetscLibType, tao::AbstractTao, H0::AbstractPetscMat) - error("TaoLMVMSetH0: no generated method for these argument types") + throw(MethodError(TaoLMVMSetH0, (petsclib, tao, H0))) end @for_petsc function TaoLMVMSetH0(petsclib::$UnionPetscLib, tao::AbstractTao, H0::AbstractPetscMat ) @@ -4617,7 +4617,7 @@ See also: `TaoVecGetSubVec()`, `TaoSubsetType` $(_doc_external("Tao/TaoMatGetSubMat")) """ function TaoMatGetSubMat(petsclib::PetscLibType, M::AbstractPetscMat, is::AbstractIS, v1::AbstractPetscVec, subset_type::TaoSubsetType) - error("TaoMatGetSubMat: no generated method for these argument types") + throw(MethodError(TaoMatGetSubMat, (petsclib, M, is, v1, subset_type))) end @for_petsc function TaoMatGetSubMat(petsclib::$UnionPetscLib, M::AbstractPetscMat, is::AbstractIS, v1::AbstractPetscVec, subset_type::TaoSubsetType ) @@ -4661,7 +4661,7 @@ See also: `Tao`, `TaoGetConvergedReason()`, `TaoMonitorDefault()`, `TaoMonitorSe $(_doc_external("Tao/TaoMonitor")) """ function TaoMonitor(petsclib::PetscLibType, tao::AbstractTao, its::Integer, f::Real, res::Real, cnorm::Real, steplength::Real) - error("TaoMonitor: no generated method for these argument types") + throw(MethodError(TaoMonitor, (petsclib, tao, its, f, res, cnorm, steplength))) end @for_petsc function TaoMonitor(petsclib::$UnionPetscLib, tao::AbstractTao, its::$PetscInt, f::$PetscReal, res::$PetscReal, cnorm::$PetscReal, steplength::$PetscReal ) @@ -4699,7 +4699,7 @@ See also: `Tao`, `TaoMonitorDefault()`, `TaoMonitorSet()` $(_doc_external("Tao/TaoMonitorCancel")) """ function TaoMonitorCancel(petsclib::PetscLibType, tao::AbstractTao) - error("TaoMonitorCancel: no generated method for these argument types") + throw(MethodError(TaoMonitorCancel, (petsclib, tao))) end @for_petsc function TaoMonitorCancel(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -4737,7 +4737,7 @@ See also: `Tao`, `TaoMonitorDefault()`, `TaoMonitorSet()` $(_doc_external("Tao/TaoMonitorConstraintNorm")) """ function TaoMonitorConstraintNorm(petsclib::PetscLibType, tao::AbstractTao, vf::Vector{PetscViewerAndFormat}) - error("TaoMonitorConstraintNorm: no generated method for these argument types") + throw(MethodError(TaoMonitorConstraintNorm, (petsclib, tao, vf))) end @for_petsc function TaoMonitorConstraintNorm(petsclib::$UnionPetscLib, tao::AbstractTao, vf::Vector{PetscViewerAndFormat} ) @@ -4774,7 +4774,7 @@ See also: `Tao`, `TaoMonitorDefaultShort()`, `TaoMonitorSet()` $(_doc_external("Tao/TaoMonitorDefault")) """ function TaoMonitorDefault(petsclib::PetscLibType, tao::AbstractTao, vf::Vector{PetscViewerAndFormat}) - error("TaoMonitorDefault: no generated method for these argument types") + throw(MethodError(TaoMonitorDefault, (petsclib, tao, vf))) end @for_petsc function TaoMonitorDefault(petsclib::$UnionPetscLib, tao::AbstractTao, vf::Vector{PetscViewerAndFormat} ) @@ -4811,7 +4811,7 @@ See also: `Tao`, `TaoMonitorDefault()`, `TaoMonitorSet()` $(_doc_external("Tao/TaoMonitorDefaultShort")) """ function TaoMonitorDefaultShort(petsclib::PetscLibType, tao::AbstractTao, vf::Vector{PetscViewerAndFormat}) - error("TaoMonitorDefaultShort: no generated method for these argument types") + throw(MethodError(TaoMonitorDefaultShort, (petsclib, tao, vf))) end @for_petsc function TaoMonitorDefaultShort(petsclib::$UnionPetscLib, tao::AbstractTao, vf::Vector{PetscViewerAndFormat} ) @@ -4848,7 +4848,7 @@ See also: `Tao`, `TaoMonitorDefaultShort()`, `TaoMonitorSet()` $(_doc_external("Tao/TaoMonitorGlobalization")) """ function TaoMonitorGlobalization(petsclib::PetscLibType, tao::AbstractTao, vf::Vector{PetscViewerAndFormat}) - error("TaoMonitorGlobalization: no generated method for these argument types") + throw(MethodError(TaoMonitorGlobalization, (petsclib, tao, vf))) end @for_petsc function TaoMonitorGlobalization(petsclib::$UnionPetscLib, tao::AbstractTao, vf::Vector{PetscViewerAndFormat} ) @@ -4885,7 +4885,7 @@ See also: `Tao`, `TaoMonitorDefaultShort()`, `TaoMonitorSet()` $(_doc_external("Tao/TaoMonitorGradient")) """ function TaoMonitorGradient(petsclib::PetscLibType, tao::AbstractTao, vf::Vector{PetscViewerAndFormat}) - error("TaoMonitorGradient: no generated method for these argument types") + throw(MethodError(TaoMonitorGradient, (petsclib, tao, vf))) end @for_petsc function TaoMonitorGradient(petsclib::$UnionPetscLib, tao::AbstractTao, vf::Vector{PetscViewerAndFormat} ) @@ -4922,7 +4922,7 @@ See also: `Tao`, `TaoMonitorGradient()`, `TaoMonitorSet()`, `TaoMonitorSolutionD $(_doc_external("Tao/TaoMonitorGradientDraw")) """ function TaoMonitorGradientDraw(petsclib::PetscLibType, tao::AbstractTao, ctx::Ptr{Cvoid}) - error("TaoMonitorGradientDraw: no generated method for these argument types") + throw(MethodError(TaoMonitorGradientDraw, (petsclib, tao, ctx))) end @for_petsc function TaoMonitorGradientDraw(petsclib::$UnionPetscLib, tao::AbstractTao, ctx::Ptr{Cvoid} ) @@ -4959,7 +4959,7 @@ See also: `Tao`, `TaoMonitorDefaultShort()`, `TaoMonitorSet()` $(_doc_external("Tao/TaoMonitorResidual")) """ function TaoMonitorResidual(petsclib::PetscLibType, tao::AbstractTao, vf::Vector{PetscViewerAndFormat}) - error("TaoMonitorResidual: no generated method for these argument types") + throw(MethodError(TaoMonitorResidual, (petsclib, tao, vf))) end @for_petsc function TaoMonitorResidual(petsclib::$UnionPetscLib, tao::AbstractTao, vf::Vector{PetscViewerAndFormat} ) @@ -5001,7 +5001,7 @@ See also: `Tao`, `TaoSolve()`, `TaoMonitorDefault()`, `TaoMonitorCancel()`, `Tao $(_doc_external("Tao/TaoMonitorSet")) """ function TaoMonitorSet(petsclib::PetscLibType, tao::AbstractTao, func::external, ctx::Ptr{Cvoid}, dest::Ptr{Cvoid}) - error("TaoMonitorSet: no generated method for these argument types") + throw(MethodError(TaoMonitorSet, (petsclib, tao, func, ctx, dest))) end @for_petsc function TaoMonitorSet(petsclib::$UnionPetscLib, tao::AbstractTao, func::external, ctx::Ptr{Cvoid}, dest::Ptr{Cvoid} ) @@ -5044,7 +5044,7 @@ See also: `Tao`, `TaoMonitorSet()`, `PetscOptionsCreateViewer()`, `PetscOptionsG $(_doc_external("Tao/TaoMonitorSetFromOptions")) """ function TaoMonitorSetFromOptions(petsclib::PetscLibType, tao::AbstractTao, name::String, help::String, manual::String, monitor::external) - error("TaoMonitorSetFromOptions: no generated method for these argument types") + throw(MethodError(TaoMonitorSetFromOptions, (petsclib, tao, name, help, manual, monitor))) end @for_petsc function TaoMonitorSetFromOptions(petsclib::$UnionPetscLib, tao::AbstractTao, name::String, help::String, manual::String, monitor::external ) @@ -5081,7 +5081,7 @@ See also: `Tao`, `TaoMonitorDefaultShort()`, `TaoMonitorSet()` $(_doc_external("Tao/TaoMonitorSolution")) """ function TaoMonitorSolution(petsclib::PetscLibType, tao::AbstractTao, vf::Vector{PetscViewerAndFormat}) - error("TaoMonitorSolution: no generated method for these argument types") + throw(MethodError(TaoMonitorSolution, (petsclib, tao, vf))) end @for_petsc function TaoMonitorSolution(petsclib::$UnionPetscLib, tao::AbstractTao, vf::Vector{PetscViewerAndFormat} ) @@ -5119,7 +5119,7 @@ See also: `Tao`, `TaoMonitorSolution()`, `TaoMonitorSet()`, `TaoMonitorGradientD $(_doc_external("Tao/TaoMonitorSolutionDraw")) """ function TaoMonitorSolutionDraw(petsclib::PetscLibType, tao::AbstractTao, ctx::Ptr{Cvoid}) - error("TaoMonitorSolutionDraw: no generated method for these argument types") + throw(MethodError(TaoMonitorSolutionDraw, (petsclib, tao, ctx))) end @for_petsc function TaoMonitorSolutionDraw(petsclib::$UnionPetscLib, tao::AbstractTao, ctx::Ptr{Cvoid} ) @@ -5156,7 +5156,7 @@ See also: `Tao`, `TaoMonitorDefaultShort()`, `TaoMonitorSet()` $(_doc_external("Tao/TaoMonitorStep")) """ function TaoMonitorStep(petsclib::PetscLibType, tao::AbstractTao, vf::Vector{PetscViewerAndFormat}) - error("TaoMonitorStep: no generated method for these argument types") + throw(MethodError(TaoMonitorStep, (petsclib, tao, vf))) end @for_petsc function TaoMonitorStep(petsclib::$UnionPetscLib, tao::AbstractTao, vf::Vector{PetscViewerAndFormat} ) @@ -5193,7 +5193,7 @@ See also: `Tao`, `TaoMonitorSet()`, `TaoMonitorSolutionDraw` $(_doc_external("Tao/TaoMonitorStepDraw")) """ function TaoMonitorStepDraw(petsclib::PetscLibType, tao::AbstractTao, ctx::Ptr{Cvoid}) - error("TaoMonitorStepDraw: no generated method for these argument types") + throw(MethodError(TaoMonitorStepDraw, (petsclib, tao, ctx))) end @for_petsc function TaoMonitorStepDraw(petsclib::$UnionPetscLib, tao::AbstractTao, ctx::Ptr{Cvoid} ) @@ -5228,7 +5228,7 @@ See also: `Tao`, `TaoSolve()`, `TaoDestroy()`, $(_doc_external("Tao/TaoParametersInitialize")) """ function TaoParametersInitialize(petsclib::PetscLibType, tao::AbstractTao) - error("TaoParametersInitialize: no generated method for these argument types") + throw(MethodError(TaoParametersInitialize, (petsclib, tao))) end @for_petsc function TaoParametersInitialize(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -5264,7 +5264,7 @@ See also: `TaoCreate()`, `TaoSetType()`, `TAOPYTHON`, `PetscPythonInitialize()`, $(_doc_external("Tao/TaoPythonGetType")) """ function TaoPythonGetType(petsclib::PetscLibType, tao::AbstractTao) - error("TaoPythonGetType: no generated method for these argument types") + throw(MethodError(TaoPythonGetType, (petsclib, tao))) end @for_petsc function TaoPythonGetType(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -5303,7 +5303,7 @@ See also: `TaoCreate()`, `TaoSetType()`, `TAOPYTHON`, `PetscPythonInitialize()` $(_doc_external("Tao/TaoPythonSetType")) """ function TaoPythonSetType(petsclib::PetscLibType, tao::AbstractTao, pyname::String) - error("TaoPythonSetType: no generated method for these argument types") + throw(MethodError(TaoPythonSetType, (petsclib, tao, pyname))) end @for_petsc function TaoPythonSetType(petsclib::$UnionPetscLib, tao::AbstractTao, pyname::String ) @@ -5338,7 +5338,7 @@ See also: `Tao`, `TaoSetType()`, `TaoRegisterAll()`, `TaoRegisterDestroy()` $(_doc_external("Tao/TaoRegister")) """ function TaoRegister(petsclib::PetscLibType, sname::String, func::external) - error("TaoRegister: no generated method for these argument types") + throw(MethodError(TaoRegister, (petsclib, sname, func))) end @for_petsc function TaoRegister(petsclib::$UnionPetscLib, sname::String, func::external ) @@ -5369,7 +5369,7 @@ See also: `Tao`, `TaoRegisterAll()`, `TaoRegister()` $(_doc_external("Tao/TaoRegisterDestroy")) """ function TaoRegisterDestroy(petsclib::PetscLibType) - error("TaoRegisterDestroy: no generated method for these argument types") + throw(MethodError(TaoRegisterDestroy, (petsclib, ))) end @for_petsc function TaoRegisterDestroy(petsclib::$UnionPetscLib) @@ -5403,7 +5403,7 @@ See also: `Tao`, `TaoCreate()`, `TaoSolve()` $(_doc_external("Tao/TaoResetStatistics")) """ function TaoResetStatistics(petsclib::PetscLibType, tao::AbstractTao) - error("TaoResetStatistics: no generated method for these argument types") + throw(MethodError(TaoResetStatistics, (petsclib, tao))) end @for_petsc function TaoResetStatistics(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -5438,7 +5438,7 @@ See also: `Tao`, `TaoGetApplicationContext()` $(_doc_external("Tao/TaoSetApplicationContext")) """ function TaoSetApplicationContext(petsclib::PetscLibType, tao::AbstractTao, ctx::Ptr{Cvoid}) - error("TaoSetApplicationContext: no generated method for these argument types") + throw(MethodError(TaoSetApplicationContext, (petsclib, tao, ctx))) end @for_petsc function TaoSetApplicationContext(petsclib::$UnionPetscLib, tao::AbstractTao, ctx::Ptr{Cvoid} ) @@ -5477,7 +5477,7 @@ See also: `Tao`, `TaoConvergedReason`, `TaoGetTolerances()`, `TaoGetConstraintTo $(_doc_external("Tao/TaoSetConstraintTolerances")) """ function TaoSetConstraintTolerances(petsclib::PetscLibType, tao::AbstractTao, catol::Real, crtol::Real) - error("TaoSetConstraintTolerances: no generated method for these argument types") + throw(MethodError(TaoSetConstraintTolerances, (petsclib, tao, catol, crtol))) end @for_petsc function TaoSetConstraintTolerances(petsclib::$UnionPetscLib, tao::AbstractTao, catol::$PetscReal, crtol::$PetscReal ) @@ -5519,7 +5519,7 @@ See also: `Tao`, `TaoSetObjective()`, `TaoSetHessian()`, `TaoSetObjectiveAndGrad $(_doc_external("Tao/TaoSetConstraintsRoutine")) """ function TaoSetConstraintsRoutine(petsclib::PetscLibType, tao::AbstractTao, c::AbstractPetscVec, func::external, ctx::Ptr{Cvoid}) - error("TaoSetConstraintsRoutine: no generated method for these argument types") + throw(MethodError(TaoSetConstraintsRoutine, (petsclib, tao, c, func, ctx))) end @for_petsc function TaoSetConstraintsRoutine(petsclib::$UnionPetscLib, tao::AbstractTao, c::AbstractPetscVec, func::external, ctx::Ptr{Cvoid} ) @@ -5553,7 +5553,7 @@ See also: `Tao`, `TaoConvergedReason` $(_doc_external("Tao/TaoSetConvergedReason")) """ function TaoSetConvergedReason(petsclib::PetscLibType, tao::AbstractTao, reason::TaoConvergedReason) - error("TaoSetConvergedReason: no generated method for these argument types") + throw(MethodError(TaoSetConvergedReason, (petsclib, tao, reason))) end @for_petsc function TaoSetConvergedReason(petsclib::$UnionPetscLib, tao::AbstractTao, reason::TaoConvergedReason ) @@ -5593,7 +5593,7 @@ See also: `TaoGetConvergenceHistory()` $(_doc_external("Tao/TaoSetConvergenceHistory")) """ function TaoSetConvergenceHistory(petsclib::PetscLibType, tao::AbstractTao, obj::AbstractVector{<:Number}, resid::AbstractVector{<:Number}, cnorm::AbstractVector{<:Number}, lits::AbstractVector{<:Number}, na::Integer, reset::PetscBool) - error("TaoSetConvergenceHistory: no generated method for these argument types") + throw(MethodError(TaoSetConvergenceHistory, (petsclib, tao, obj, resid, cnorm, lits, na, reset))) end @for_petsc function TaoSetConvergenceHistory(petsclib::$UnionPetscLib, tao::AbstractTao, obj::Vector{$PetscReal}, resid::Vector{$PetscReal}, cnorm::Vector{$PetscReal}, lits::Vector{$PetscInt}, na::$PetscInt, reset::PetscBool ) @@ -5634,7 +5634,7 @@ See also: `Tao`, `TaoSolve()`, `TaoSetConvergedReason()`, `TaoGetSolutionStatus( $(_doc_external("Tao/TaoSetConvergenceTest")) """ function TaoSetConvergenceTest(petsclib::PetscLibType, tao::AbstractTao, conv::external, ctx::Ptr{Cvoid}) - error("TaoSetConvergenceTest: no generated method for these argument types") + throw(MethodError(TaoSetConvergenceTest, (petsclib, tao, conv, ctx))) end @for_petsc function TaoSetConvergenceTest(petsclib::$UnionPetscLib, tao::AbstractTao, conv::external, ctx::Ptr{Cvoid} ) @@ -5676,7 +5676,7 @@ See also: `Tao`, `TaoSetObjective()`, `TaoSetHessian()`, `TaoSetObjectiveAndGrad $(_doc_external("Tao/TaoSetEqualityConstraintsRoutine")) """ function TaoSetEqualityConstraintsRoutine(petsclib::PetscLibType, tao::AbstractTao, ce::AbstractPetscVec, func::external, ctx::Ptr{Cvoid}) - error("TaoSetEqualityConstraintsRoutine: no generated method for these argument types") + throw(MethodError(TaoSetEqualityConstraintsRoutine, (petsclib, tao, ce, func, ctx))) end @for_petsc function TaoSetEqualityConstraintsRoutine(petsclib::$UnionPetscLib, tao::AbstractTao, ce::AbstractPetscVec, func::external, ctx::Ptr{Cvoid} ) @@ -5739,7 +5739,7 @@ See also: `Tao`, `TaoCreate()`, `TaoSolve()` $(_doc_external("Tao/TaoSetFromOptions")) """ function TaoSetFromOptions(petsclib::PetscLibType, tao::AbstractTao) - error("TaoSetFromOptions: no generated method for these argument types") + throw(MethodError(TaoSetFromOptions, (petsclib, tao))) end @for_petsc function TaoSetFromOptions(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -5778,7 +5778,7 @@ See also: `Tao`, `TaoConvergedReason`, `TaoSetTolerances()` $(_doc_external("Tao/TaoSetFunctionLowerBound")) """ function TaoSetFunctionLowerBound(petsclib::PetscLibType, tao::AbstractTao, fmin::Real) - error("TaoSetFunctionLowerBound: no generated method for these argument types") + throw(MethodError(TaoSetFunctionLowerBound, (petsclib, tao, fmin))) end @for_petsc function TaoSetFunctionLowerBound(petsclib::$UnionPetscLib, tao::AbstractTao, fmin::$PetscReal ) @@ -5821,7 +5821,7 @@ See also: `Tao`, `TaoSolve()`, `TaoSetObjective()`, `TaoSetHessian()`, `TaoSetOb $(_doc_external("Tao/TaoSetGradient")) """ function TaoSetGradient(petsclib::PetscLibType, tao::AbstractTao, g::AbstractPetscVec, func::external, ctx::Ptr{Cvoid}) - error("TaoSetGradient: no generated method for these argument types") + throw(MethodError(TaoSetGradient, (petsclib, tao, g, func, ctx))) end @for_petsc function TaoSetGradient(petsclib::$UnionPetscLib, tao::AbstractTao, g::AbstractPetscVec, func::external, ctx::Ptr{Cvoid} ) @@ -5855,7 +5855,7 @@ See also: `Tao`, `TaoGetGradientNorm()`, `TaoGradientNorm()` $(_doc_external("Tao/TaoSetGradientNorm")) """ function TaoSetGradientNorm(petsclib::PetscLibType, tao::AbstractTao, M::AbstractPetscMat) - error("TaoSetGradientNorm: no generated method for these argument types") + throw(MethodError(TaoSetGradientNorm, (petsclib, tao, M))) end @for_petsc function TaoSetGradientNorm(petsclib::$UnionPetscLib, tao::AbstractTao, M::AbstractPetscMat ) @@ -5900,7 +5900,7 @@ See also: `Tao`, `TaoType`, `TaoSetObjective()`, `TaoSetGradient()`, `TaoSetObje $(_doc_external("Tao/TaoSetHessian")) """ function TaoSetHessian(petsclib::PetscLibType, tao::AbstractTao, H::AbstractPetscMat, Hpre::AbstractPetscMat, func::external, ctx::Ptr{Cvoid}) - error("TaoSetHessian: no generated method for these argument types") + throw(MethodError(TaoSetHessian, (petsclib, tao, H, Hpre, func, ctx))) end @for_petsc function TaoSetHessian(petsclib::$UnionPetscLib, tao::AbstractTao, H::AbstractPetscMat, Hpre::AbstractPetscMat, func::external, ctx::Ptr{Cvoid} ) @@ -5935,7 +5935,7 @@ See also: `Tao`, `TaoSetObjective()`, `TaoSetHessian()`, `TaoSetObjectiveAndGrad $(_doc_external("Tao/TaoSetInequalityBounds")) """ function TaoSetInequalityBounds(petsclib::PetscLibType, tao::AbstractTao, IL::AbstractPetscVec, IU::AbstractPetscVec) - error("TaoSetInequalityBounds: no generated method for these argument types") + throw(MethodError(TaoSetInequalityBounds, (petsclib, tao, IL, IU))) end @for_petsc function TaoSetInequalityBounds(petsclib::$UnionPetscLib, tao::AbstractTao, IL::AbstractPetscVec, IU::AbstractPetscVec ) @@ -5977,7 +5977,7 @@ See also: `Tao`, `TaoSetObjective()`, `TaoSetHessian()`, `TaoSetObjectiveAndGrad $(_doc_external("Tao/TaoSetInequalityConstraintsRoutine")) """ function TaoSetInequalityConstraintsRoutine(petsclib::PetscLibType, tao::AbstractTao, ci::AbstractPetscVec, func::external, ctx::Ptr{Cvoid}) - error("TaoSetInequalityConstraintsRoutine: no generated method for these argument types") + throw(MethodError(TaoSetInequalityConstraintsRoutine, (petsclib, tao, ci, func, ctx))) end @for_petsc function TaoSetInequalityConstraintsRoutine(petsclib::$UnionPetscLib, tao::AbstractTao, ci::AbstractPetscVec, func::external, ctx::Ptr{Cvoid} ) @@ -6014,7 +6014,7 @@ See also: `Tao`, `TaoGetTrustRegionRadius()`, `TaoSetTrustRegionTolerance()`, `T $(_doc_external("Tao/TaoSetInitialTrustRegionRadius")) """ function TaoSetInitialTrustRegionRadius(petsclib::PetscLibType, tao::AbstractTao, radius::Real) - error("TaoSetInitialTrustRegionRadius: no generated method for these argument types") + throw(MethodError(TaoSetInitialTrustRegionRadius, (petsclib, tao, radius))) end @for_petsc function TaoSetInitialTrustRegionRadius(petsclib::$UnionPetscLib, tao::AbstractTao, radius::$PetscReal ) @@ -6048,7 +6048,7 @@ See also: `Tao`, `TaoGetLinearSolveIterations()` $(_doc_external("Tao/TaoSetIterationNumber")) """ function TaoSetIterationNumber(petsclib::PetscLibType, tao::AbstractTao, iter::Integer) - error("TaoSetIterationNumber: no generated method for these argument types") + throw(MethodError(TaoSetIterationNumber, (petsclib, tao, iter))) end @for_petsc function TaoSetIterationNumber(petsclib::$UnionPetscLib, tao::AbstractTao, iter::$PetscInt ) @@ -6093,7 +6093,7 @@ See also: `Tao`, `TaoComputeJacobianDesign()`, `TaoSetJacobianStateRoutine()`, ` $(_doc_external("Tao/TaoSetJacobianDesignRoutine")) """ function TaoSetJacobianDesignRoutine(petsclib::PetscLibType, tao::AbstractTao, J::AbstractPetscMat, func::external, ctx::Ptr{Cvoid}) - error("TaoSetJacobianDesignRoutine: no generated method for these argument types") + throw(MethodError(TaoSetJacobianDesignRoutine, (petsclib, tao, J, func, ctx))) end @for_petsc function TaoSetJacobianDesignRoutine(petsclib::$UnionPetscLib, tao::AbstractTao, J::AbstractPetscMat, func::external, ctx::Ptr{Cvoid} ) @@ -6140,7 +6140,7 @@ See also: `Tao`, `TaoComputeJacobianEquality()`, `TaoSetJacobianDesignRoutine()` $(_doc_external("Tao/TaoSetJacobianEqualityRoutine")) """ function TaoSetJacobianEqualityRoutine(petsclib::PetscLibType, tao::AbstractTao, J::AbstractPetscMat, Jpre::AbstractPetscMat, func::external, ctx::Ptr{Cvoid}) - error("TaoSetJacobianEqualityRoutine: no generated method for these argument types") + throw(MethodError(TaoSetJacobianEqualityRoutine, (petsclib, tao, J, Jpre, func, ctx))) end @for_petsc function TaoSetJacobianEqualityRoutine(petsclib::$UnionPetscLib, tao::AbstractTao, J::AbstractPetscMat, Jpre::AbstractPetscMat, func::external, ctx::Ptr{Cvoid} ) @@ -6187,7 +6187,7 @@ See also: `Tao`, `TaoComputeJacobianInequality()`, `TaoSetJacobianDesignRoutine( $(_doc_external("Tao/TaoSetJacobianInequalityRoutine")) """ function TaoSetJacobianInequalityRoutine(petsclib::PetscLibType, tao::AbstractTao, J::AbstractPetscMat, Jpre::AbstractPetscMat, func::external, ctx::Ptr{Cvoid}) - error("TaoSetJacobianInequalityRoutine: no generated method for these argument types") + throw(MethodError(TaoSetJacobianInequalityRoutine, (petsclib, tao, J, Jpre, func, ctx))) end @for_petsc function TaoSetJacobianInequalityRoutine(petsclib::$UnionPetscLib, tao::AbstractTao, J::AbstractPetscMat, Jpre::AbstractPetscMat, func::external, ctx::Ptr{Cvoid} ) @@ -6233,7 +6233,7 @@ See also: `Tao`, `TaoSetGradient()`, `TaoSetObjective()` $(_doc_external("Tao/TaoSetJacobianResidualRoutine")) """ function TaoSetJacobianResidualRoutine(petsclib::PetscLibType, tao::AbstractTao, J::AbstractPetscMat, Jpre::AbstractPetscMat, func::external, ctx::Ptr{Cvoid}) - error("TaoSetJacobianResidualRoutine: no generated method for these argument types") + throw(MethodError(TaoSetJacobianResidualRoutine, (petsclib, tao, J, Jpre, func, ctx))) end @for_petsc function TaoSetJacobianResidualRoutine(petsclib::$UnionPetscLib, tao::AbstractTao, J::AbstractPetscMat, Jpre::AbstractPetscMat, func::external, ctx::Ptr{Cvoid} ) @@ -6278,7 +6278,7 @@ See also: `Tao`, `TaoSetGradient()`, `TaoSetObjective()` $(_doc_external("Tao/TaoSetJacobianRoutine")) """ function TaoSetJacobianRoutine(petsclib::PetscLibType, tao::AbstractTao, J::AbstractPetscMat, Jpre::AbstractPetscMat, func::external, ctx::Ptr{Cvoid}) - error("TaoSetJacobianRoutine: no generated method for these argument types") + throw(MethodError(TaoSetJacobianRoutine, (petsclib, tao, J, Jpre, func, ctx))) end @for_petsc function TaoSetJacobianRoutine(petsclib::$UnionPetscLib, tao::AbstractTao, J::AbstractPetscMat, Jpre::AbstractPetscMat, func::external, ctx::Ptr{Cvoid} ) @@ -6327,7 +6327,7 @@ See also: `Tao`, `TaoComputeJacobianState()`, `TaoSetJacobianDesignRoutine()`, ` $(_doc_external("Tao/TaoSetJacobianStateRoutine")) """ function TaoSetJacobianStateRoutine(petsclib::PetscLibType, tao::AbstractTao, J::AbstractPetscMat, Jpre::AbstractPetscMat, Jinv::AbstractPetscMat, func::external, ctx::Ptr{Cvoid}) - error("TaoSetJacobianStateRoutine: no generated method for these argument types") + throw(MethodError(TaoSetJacobianStateRoutine, (petsclib, tao, J, Jpre, Jinv, func, ctx))) end @for_petsc function TaoSetJacobianStateRoutine(petsclib::$UnionPetscLib, tao::AbstractTao, J::AbstractPetscMat, Jpre::AbstractPetscMat, Jinv::AbstractPetscMat, func::external, ctx::Ptr{Cvoid} ) @@ -6363,7 +6363,7 @@ See also: `TAOBQNLS`, `TAOBQNKLS`, `TAOBQNKTL`, `TAOBQNKTR`, `MATLMVM`, `TaoGetL $(_doc_external("Tao/TaoSetLMVMMatrix")) """ function TaoSetLMVMMatrix(petsclib::PetscLibType, tao::AbstractTao, B::AbstractPetscMat) - error("TaoSetLMVMMatrix: no generated method for these argument types") + throw(MethodError(TaoSetLMVMMatrix, (petsclib, tao, B))) end @for_petsc function TaoSetLMVMMatrix(petsclib::$UnionPetscLib, tao::AbstractTao, B::AbstractPetscMat ) @@ -6400,7 +6400,7 @@ See also: `Tao`, `TaoSetTolerances()`, `TaoSetMaximumIterations()` $(_doc_external("Tao/TaoSetMaximumFunctionEvaluations")) """ function TaoSetMaximumFunctionEvaluations(petsclib::PetscLibType, tao::AbstractTao, nfcn::Integer) - error("TaoSetMaximumFunctionEvaluations: no generated method for these argument types") + throw(MethodError(TaoSetMaximumFunctionEvaluations, (petsclib, tao, nfcn))) end @for_petsc function TaoSetMaximumFunctionEvaluations(petsclib::$UnionPetscLib, tao::AbstractTao, nfcn::$PetscInt ) @@ -6437,7 +6437,7 @@ See also: `Tao`, `TaoSetTolerances()`, `TaoSetMaximumFunctionEvaluations()` $(_doc_external("Tao/TaoSetMaximumIterations")) """ function TaoSetMaximumIterations(petsclib::PetscLibType, tao::AbstractTao, maxits::Integer) - error("TaoSetMaximumIterations: no generated method for these argument types") + throw(MethodError(TaoSetMaximumIterations, (petsclib, tao, maxits))) end @for_petsc function TaoSetMaximumIterations(petsclib::$UnionPetscLib, tao::AbstractTao, maxits::$PetscInt ) @@ -6479,7 +6479,7 @@ See also: `TaoSetGradient()`, `TaoSetHessian()`, `TaoSetObjectiveAndGradient()`, $(_doc_external("Tao/TaoSetObjective")) """ function TaoSetObjective(petsclib::PetscLibType, tao::AbstractTao, func::external, ctx::Ptr{Cvoid}) - error("TaoSetObjective: no generated method for these argument types") + throw(MethodError(TaoSetObjective, (petsclib, tao, func, ctx))) end @for_petsc function TaoSetObjective(petsclib::$UnionPetscLib, tao::AbstractTao, func::external, ctx::Ptr{Cvoid} ) @@ -6523,7 +6523,7 @@ See also: `Tao`, `TaoSolve()`, `TaoSetObjective()`, `TaoSetHessian()`, `TaoSetGr $(_doc_external("Tao/TaoSetObjectiveAndGradient")) """ function TaoSetObjectiveAndGradient(petsclib::PetscLibType, tao::AbstractTao, g::AbstractPetscVec, func::external, ctx::Ptr{Cvoid}) - error("TaoSetObjectiveAndGradient: no generated method for these argument types") + throw(MethodError(TaoSetObjectiveAndGradient, (petsclib, tao, g, func, ctx))) end @for_petsc function TaoSetObjectiveAndGradient(petsclib::$UnionPetscLib, tao::AbstractTao, g::AbstractPetscVec, func::external, ctx::Ptr{Cvoid} ) @@ -6558,7 +6558,7 @@ See also: `Tao`, `TaoSetFromOptions()`, `TaoAppendOptionsPrefix()`, `TaoGetOptio $(_doc_external("Tao/TaoSetOptionsPrefix")) """ function TaoSetOptionsPrefix(petsclib::PetscLibType, tao::AbstractTao, p::String) - error("TaoSetOptionsPrefix: no generated method for these argument types") + throw(MethodError(TaoSetOptionsPrefix, (petsclib, tao, p))) end @for_petsc function TaoSetOptionsPrefix(petsclib::$UnionPetscLib, tao::AbstractTao, p::String ) @@ -6597,7 +6597,7 @@ See also: `Tao`, `TaoGetRecycleHistory()`, `TAOBNCG`, `TAOBQNLS`, `TAOBQNKLS`, ` $(_doc_external("Tao/TaoSetRecycleHistory")) """ function TaoSetRecycleHistory(petsclib::PetscLibType, tao::AbstractTao, recycle::PetscBool) - error("TaoSetRecycleHistory: no generated method for these argument types") + throw(MethodError(TaoSetRecycleHistory, (petsclib, tao, recycle))) end @for_petsc function TaoSetRecycleHistory(petsclib::$UnionPetscLib, tao::AbstractTao, recycle::PetscBool ) @@ -6640,7 +6640,7 @@ See also: `Tao`, `TaoSetObjective()`, `TaoSetJacobianRoutine()` $(_doc_external("Tao/TaoSetResidualRoutine")) """ function TaoSetResidualRoutine(petsclib::PetscLibType, tao::AbstractTao, res::AbstractPetscVec, func::external, ctx::Ptr{Cvoid}) - error("TaoSetResidualRoutine: no generated method for these argument types") + throw(MethodError(TaoSetResidualRoutine, (petsclib, tao, res, func, ctx))) end @for_petsc function TaoSetResidualRoutine(petsclib::$UnionPetscLib, tao::AbstractTao, res::AbstractPetscVec, func::external, ctx::Ptr{Cvoid} ) @@ -6678,7 +6678,7 @@ See also: `Tao`, `TaoSetResidualRoutine()` $(_doc_external("Tao/TaoSetResidualWeights")) """ function TaoSetResidualWeights(petsclib::PetscLibType, tao::AbstractTao, sigma_v::AbstractPetscVec, n::Integer) - error("TaoSetResidualWeights: no generated method for these argument types") + throw(MethodError(TaoSetResidualWeights, (petsclib, tao, sigma_v, n))) end @for_petsc function TaoSetResidualWeights(petsclib::$UnionPetscLib, tao::AbstractTao, sigma_v::AbstractPetscVec, n::$PetscInt ) @@ -6718,7 +6718,7 @@ See also: `Tao`, `TaoCreate()`, `TaoSolve()`, `TaoGetSolution()` $(_doc_external("Tao/TaoSetSolution")) """ function TaoSetSolution(petsclib::PetscLibType, tao::AbstractTao, x0::AbstractPetscVec) - error("TaoSetSolution: no generated method for these argument types") + throw(MethodError(TaoSetSolution, (petsclib, tao, x0))) end @for_petsc function TaoSetSolution(petsclib::$UnionPetscLib, tao::AbstractTao, x0::AbstractPetscVec ) @@ -6755,7 +6755,7 @@ See also: `Tao`, `TaoSetJacobianStateRoutine()`, `TaoSetJacobianDesignRoutine()` $(_doc_external("Tao/TaoSetStateDesignIS")) """ function TaoSetStateDesignIS(petsclib::PetscLibType, tao::AbstractTao, s_is::AbstractIS, d_is::AbstractIS) - error("TaoSetStateDesignIS: no generated method for these argument types") + throw(MethodError(TaoSetStateDesignIS, (petsclib, tao, s_is, d_is))) end @for_petsc function TaoSetStateDesignIS(petsclib::$UnionPetscLib, tao::AbstractTao, s_is::AbstractIS, d_is::AbstractIS ) @@ -6803,7 +6803,7 @@ See also: `Tao`, `TaoConvergedReason`, `TaoGetTolerances()` $(_doc_external("Tao/TaoSetTolerances")) """ function TaoSetTolerances(petsclib::PetscLibType, tao::AbstractTao, gatol::Real, grtol::Real, gttol::Real) - error("TaoSetTolerances: no generated method for these argument types") + throw(MethodError(TaoSetTolerances, (petsclib, tao, gatol, grtol, gttol))) end @for_petsc function TaoSetTolerances(petsclib::$UnionPetscLib, tao::AbstractTao, gatol::$PetscReal, grtol::$PetscReal, gttol::$PetscReal ) @@ -6837,7 +6837,7 @@ See also: `Tao`, `TaoGetLinearSolveIterations()` $(_doc_external("Tao/TaoSetTotalIterationNumber")) """ function TaoSetTotalIterationNumber(petsclib::PetscLibType, tao::AbstractTao, iter::Integer) - error("TaoSetTotalIterationNumber: no generated method for these argument types") + throw(MethodError(TaoSetTotalIterationNumber, (petsclib, tao, iter))) end @for_petsc function TaoSetTotalIterationNumber(petsclib::$UnionPetscLib, tao::AbstractTao, iter::$PetscInt ) @@ -6874,7 +6874,7 @@ See also: `Tao`, `TaoCreate()`, `TaoGetType()`, `TaoType` $(_doc_external("Tao/TaoSetType")) """ function TaoSetType(petsclib::PetscLibType, tao::AbstractTao, type::String) - error("TaoSetType: no generated method for these argument types") + throw(MethodError(TaoSetType, (petsclib, tao, type))) end @for_petsc function TaoSetType(petsclib::$UnionPetscLib, tao::AbstractTao, type::String ) @@ -6908,7 +6908,7 @@ See also: `Tao`, `TaoCreate()`, `TaoSolve()` $(_doc_external("Tao/TaoSetUp")) """ function TaoSetUp(petsclib::PetscLibType, tao::AbstractTao) - error("TaoSetUp: no generated method for these argument types") + throw(MethodError(TaoSetUp, (petsclib, tao))) end @for_petsc function TaoSetUp(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -6950,7 +6950,7 @@ See also: `Tao`, `TaoSolve()` $(_doc_external("Tao/TaoSetUpdate")) """ function TaoSetUpdate(petsclib::PetscLibType, tao::AbstractTao, func::external, ctx::Ptr{Cvoid}) - error("TaoSetUpdate: no generated method for these argument types") + throw(MethodError(TaoSetUpdate, (petsclib, tao, func, ctx))) end @for_petsc function TaoSetUpdate(petsclib::$UnionPetscLib, tao::AbstractTao, func::external, ctx::Ptr{Cvoid} ) @@ -6985,7 +6985,7 @@ See also: `Tao`, `TaoSetObjective()`, `TaoSetHessian()`, `TaoSetObjectiveAndGrad $(_doc_external("Tao/TaoSetVariableBounds")) """ function TaoSetVariableBounds(petsclib::PetscLibType, tao::AbstractTao, XL::AbstractPetscVec, XU::AbstractPetscVec) - error("TaoSetVariableBounds: no generated method for these argument types") + throw(MethodError(TaoSetVariableBounds, (petsclib, tao, XL, XU))) end @for_petsc function TaoSetVariableBounds(petsclib::$UnionPetscLib, tao::AbstractTao, XL::AbstractPetscVec, XU::AbstractPetscVec ) @@ -7026,7 +7026,7 @@ See also: `Tao`, `TaoSetObjective()`, `TaoSetHessian()`, `TaoSetObjectiveAndGrad $(_doc_external("Tao/TaoSetVariableBoundsRoutine")) """ function TaoSetVariableBoundsRoutine(petsclib::PetscLibType, tao::AbstractTao, func::external, ctx::Ptr{Cvoid}) - error("TaoSetVariableBoundsRoutine: no generated method for these argument types") + throw(MethodError(TaoSetVariableBoundsRoutine, (petsclib, tao, func, ctx))) end @for_petsc function TaoSetVariableBoundsRoutine(petsclib::$UnionPetscLib, tao::AbstractTao, func::external, ctx::Ptr{Cvoid} ) @@ -7062,7 +7062,7 @@ See also: `Tao`, `TAOSHELL`, `TaoShellSetContext()` $(_doc_external("Tao/TaoShellGetContext")) """ function TaoShellGetContext(petsclib::PetscLibType, tao::AbstractTao) - error("TaoShellGetContext: no generated method for these argument types") + throw(MethodError(TaoShellGetContext, (petsclib, tao))) end @for_petsc function TaoShellGetContext(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -7098,7 +7098,7 @@ See also: `Tao`, `TAOSHELL`, `TaoShellGetContext()` $(_doc_external("Tao/TaoShellSetContext")) """ function TaoShellSetContext(petsclib::PetscLibType, tao::AbstractTao, ctx::Ptr{Cvoid}) - error("TaoShellSetContext: no generated method for these argument types") + throw(MethodError(TaoShellSetContext, (petsclib, tao, ctx))) end @for_petsc function TaoShellSetContext(petsclib::$UnionPetscLib, tao::AbstractTao, ctx::Ptr{Cvoid} ) @@ -7135,7 +7135,7 @@ See also: `Tao`, `TAOSHELL`, `TaoShellSetContext()`, `TaoShellGetContext()` $(_doc_external("Tao/TaoShellSetSolve")) """ function TaoShellSetSolve(petsclib::PetscLibType, tao::AbstractTao, solve::external) - error("TaoShellSetSolve: no generated method for these argument types") + throw(MethodError(TaoShellSetSolve, (petsclib, tao, solve))) end @for_petsc function TaoShellSetSolve(petsclib::$UnionPetscLib, tao::AbstractTao, solve::external ) @@ -7172,7 +7172,7 @@ See also: `Tao`, `Vec` $(_doc_external("Tao/TaoSoftThreshold")) """ function TaoSoftThreshold(petsclib::PetscLibType, in::AbstractPetscVec, lb::Real, ub::Real, out::AbstractPetscVec) - error("TaoSoftThreshold: no generated method for these argument types") + throw(MethodError(TaoSoftThreshold, (petsclib, in, lb, ub, out))) end @for_petsc function TaoSoftThreshold(petsclib::$UnionPetscLib, in::AbstractPetscVec, lb::$PetscReal, ub::$PetscReal, out::AbstractPetscVec ) @@ -7205,7 +7205,7 @@ See also: `Tao`, `TaoCreate()`, `TaoSetObjective()`, `TaoSetGradient()`, `TaoSet $(_doc_external("Tao/TaoSolve")) """ function TaoSolve(petsclib::PetscLibType, tao::AbstractTao) - error("TaoSolve: no generated method for these argument types") + throw(MethodError(TaoSolve, (petsclib, tao))) end @for_petsc function TaoSolve(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -7245,7 +7245,7 @@ See also: `Tao`, `TaoTestHessian()`, `TaoComputeGradient()` $(_doc_external("Tao/TaoTestGradient")) """ function TaoTestGradient(petsclib::PetscLibType, tao::AbstractTao, x::AbstractPetscVec, g1::AbstractPetscVec) - error("TaoTestGradient: no generated method for these argument types") + throw(MethodError(TaoTestGradient, (petsclib, tao, x, g1))) end @for_petsc function TaoTestGradient(petsclib::$UnionPetscLib, tao::AbstractTao, x::AbstractPetscVec, g1::AbstractPetscVec ) @@ -7283,7 +7283,7 @@ See also: `Tao`, `TaoTestGradient()`, `TaoComputeHessian()` $(_doc_external("Tao/TaoTestHessian")) """ function TaoTestHessian(petsclib::PetscLibType, tao::AbstractTao) - error("TaoTestHessian: no generated method for these argument types") + throw(MethodError(TaoTestHessian, (petsclib, tao))) end @for_petsc function TaoTestHessian(petsclib::$UnionPetscLib, tao::AbstractTao ) @@ -7320,7 +7320,7 @@ See also: `TaoMatGetSubMat()`, `TaoSubsetType` $(_doc_external("Tao/TaoVecGetSubVec")) """ function TaoVecGetSubVec(petsclib::PetscLibType, vfull::AbstractPetscVec, is::AbstractIS, reduced_type::TaoSubsetType, maskvalue::Real) - error("TaoVecGetSubVec: no generated method for these argument types") + throw(MethodError(TaoVecGetSubVec, (petsclib, vfull, is, reduced_type, maskvalue))) end @for_petsc function TaoVecGetSubVec(petsclib::$UnionPetscLib, vfull::AbstractPetscVec, is::AbstractIS, reduced_type::TaoSubsetType, maskvalue::$PetscReal ) @@ -7359,7 +7359,7 @@ See also: `Tao`, `PetscViewerASCIIOpen()` $(_doc_external("Tao/TaoView")) """ function TaoView(petsclib::PetscLibType, tao::AbstractTao, viewer::PetscViewer) - error("TaoView: no generated method for these argument types") + throw(MethodError(TaoView, (petsclib, tao, viewer))) end @for_petsc function TaoView(petsclib::$UnionPetscLib, tao::AbstractTao, viewer::PetscViewer ) @@ -7397,7 +7397,7 @@ See also: `Tao`, `TaoView`, `PetscObjectViewFromOptions()`, `TaoCreate()` $(_doc_external("Tao/TaoViewFromOptions")) """ function TaoViewFromOptions(petsclib::PetscLibType, A::AbstractTao, obj, name::String) - error("TaoViewFromOptions: no generated method for these argument types") + throw(MethodError(TaoViewFromOptions, (petsclib, A, obj, name))) end @for_petsc function TaoViewFromOptions(petsclib::$UnionPetscLib, A::AbstractTao, obj, name::String ) diff --git a/src/autowrapped/VecTagger_wrappers.jl b/src/autowrapped/VecTagger_wrappers.jl index 716cbb83c..e731d86a1 100644 --- a/src/autowrapped/VecTagger_wrappers.jl +++ b/src/autowrapped/VecTagger_wrappers.jl @@ -18,7 +18,7 @@ See also: `VecTagger`, `VecTaggerBox`, `VecTaggerAbsoluteSetBox()` $(_doc_external("Vec/VecTaggerAbsoluteGetBox")) """ function VecTaggerAbsoluteGetBox(petsclib::PetscLibType, tagger::VecTagger) - error("VecTaggerAbsoluteGetBox: no generated method for these argument types") + throw(MethodError(VecTaggerAbsoluteGetBox, (petsclib, tagger))) end @for_petsc function VecTaggerAbsoluteGetBox(petsclib::$UnionPetscLib, tagger::VecTagger ) @@ -54,7 +54,7 @@ See also: `VecTagger`, `VecTaggerBox`, `VecTaggerAbsoluteGetBox()` $(_doc_external("Vec/VecTaggerAbsoluteSetBox")) """ function VecTaggerAbsoluteSetBox(petsclib::PetscLibType, tagger::VecTagger, box::Vector{VecTaggerBox}) - error("VecTaggerAbsoluteSetBox: no generated method for these argument types") + throw(MethodError(VecTaggerAbsoluteSetBox, (petsclib, tagger, box))) end @for_petsc function VecTaggerAbsoluteSetBox(petsclib::$UnionPetscLib, tagger::VecTagger, box::Vector{VecTaggerBox} ) @@ -91,7 +91,7 @@ See also: `VecTagger`, `VecTaggerAndSetSubs()` $(_doc_external("Vec/VecTaggerAndGetSubs")) """ function VecTaggerAndGetSubs(petsclib::PetscLibType, tagger::VecTagger) - error("VecTaggerAndGetSubs: no generated method for these argument types") + throw(MethodError(VecTaggerAndGetSubs, (petsclib, tagger))) end @for_petsc function VecTaggerAndGetSubs(petsclib::$UnionPetscLib, tagger::VecTagger ) @@ -131,7 +131,7 @@ See also: `VecTagger` $(_doc_external("Vec/VecTaggerAndSetSubs")) """ function VecTaggerAndSetSubs(petsclib::PetscLibType, tagger::VecTagger, nsubs::Integer, subs::Vector{VecTagger}, mode::PetscCopyMode) - error("VecTaggerAndSetSubs: no generated method for these argument types") + throw(MethodError(VecTaggerAndSetSubs, (petsclib, tagger, nsubs, subs, mode))) end @for_petsc function VecTaggerAndSetSubs(petsclib::$UnionPetscLib, tagger::VecTagger, nsubs::$PetscInt, subs::Vector{VecTagger}, mode::PetscCopyMode ) @@ -168,7 +168,7 @@ See also: `VecTagger`, `VecTaggerCDFSetBox()`, `VecTaggerBox` $(_doc_external("Vec/VecTaggerCDFGetBox")) """ function VecTaggerCDFGetBox(petsclib::PetscLibType, tagger::VecTagger) - error("VecTaggerCDFGetBox: no generated method for these argument types") + throw(MethodError(VecTaggerCDFGetBox, (petsclib, tagger))) end @for_petsc function VecTaggerCDFGetBox(petsclib::$UnionPetscLib, tagger::VecTagger ) @@ -206,7 +206,7 @@ See also: `Vec`, `VecTagger`, `VecTaggerCDFMethod` $(_doc_external("Vec/VecTaggerCDFGetMethod")) """ function VecTaggerCDFGetMethod(petsclib::PetscLibType, tagger::VecTagger) - error("VecTaggerCDFGetMethod: no generated method for these argument types") + throw(MethodError(VecTaggerCDFGetMethod, (petsclib, tagger))) end @for_petsc function VecTaggerCDFGetMethod(petsclib::$UnionPetscLib, tagger::VecTagger ) @@ -247,7 +247,7 @@ See also: `VecTagger`, `VecTaggerCDFSetMethod()` $(_doc_external("Vec/VecTaggerCDFIterativeGetTolerances")) """ function VecTaggerCDFIterativeGetTolerances(petsclib::PetscLibType, tagger::VecTagger) - error("VecTaggerCDFIterativeGetTolerances: no generated method for these argument types") + throw(MethodError(VecTaggerCDFIterativeGetTolerances, (petsclib, tagger))) end @for_petsc function VecTaggerCDFIterativeGetTolerances(petsclib::$UnionPetscLib, tagger::VecTagger ) @@ -290,7 +290,7 @@ See also: `VecTagger`, `VecTaggerCDFSetMethod()` $(_doc_external("Vec/VecTaggerCDFIterativeSetTolerances")) """ function VecTaggerCDFIterativeSetTolerances(petsclib::PetscLibType, tagger::VecTagger, maxit::Integer, rtol::Real, atol::Real) - error("VecTaggerCDFIterativeSetTolerances: no generated method for these argument types") + throw(MethodError(VecTaggerCDFIterativeSetTolerances, (petsclib, tagger, maxit, rtol, atol))) end @for_petsc function VecTaggerCDFIterativeSetTolerances(petsclib::$UnionPetscLib, tagger::VecTagger, maxit::$PetscInt, rtol::$PetscReal, atol::$PetscReal ) @@ -324,7 +324,7 @@ See also: `VecTagger`, `VecTaggerCDFGetBox()`, `VecTaggerBox` $(_doc_external("Vec/VecTaggerCDFSetBox")) """ function VecTaggerCDFSetBox(petsclib::PetscLibType, tagger::VecTagger, box::Vector{VecTaggerBox}) - error("VecTaggerCDFSetBox: no generated method for these argument types") + throw(MethodError(VecTaggerCDFSetBox, (petsclib, tagger, box))) end @for_petsc function VecTaggerCDFSetBox(petsclib::$UnionPetscLib, tagger::VecTagger, box::Vector{VecTaggerBox} ) @@ -358,7 +358,7 @@ See also: `Vec`, `VecTagger`, `VecTaggerCDFMethod` $(_doc_external("Vec/VecTaggerCDFSetMethod")) """ function VecTaggerCDFSetMethod(petsclib::PetscLibType, tagger::VecTagger, method::VecTaggerCDFMethod) - error("VecTaggerCDFSetMethod: no generated method for these argument types") + throw(MethodError(VecTaggerCDFSetMethod, (petsclib, tagger, method))) end @for_petsc function VecTaggerCDFSetMethod(petsclib::$UnionPetscLib, tagger::VecTagger, method::VecTaggerCDFMethod ) @@ -398,7 +398,7 @@ See also: `VecTaggerComputeIS()`, `VecTagger`, `VecTaggerCreate()` $(_doc_external("Vec/VecTaggerComputeBoxes")) """ function VecTaggerComputeBoxes(petsclib::PetscLibType, tagger::VecTagger, vec::AbstractPetscVec) - error("VecTaggerComputeBoxes: no generated method for these argument types") + throw(MethodError(VecTaggerComputeBoxes, (petsclib, tagger, vec))) end @for_petsc function VecTaggerComputeBoxes(petsclib::$UnionPetscLib, tagger::VecTagger, vec::AbstractPetscVec ) @@ -443,7 +443,7 @@ See also: `VecTaggerComputeBoxes()`, `VecTagger`, `VecTaggerCreate()` $(_doc_external("Vec/VecTaggerComputeIS")) """ function VecTaggerComputeIS(petsclib::PetscLibType, tagger::VecTagger, vec::AbstractPetscVec, is::Vector{<:AbstractIS}) - error("VecTaggerComputeIS: no generated method for these argument types") + throw(MethodError(VecTaggerComputeIS, (petsclib, tagger, vec, is))) end @for_petsc function VecTaggerComputeIS(petsclib::$UnionPetscLib, tagger::VecTagger, vec::AbstractPetscVec, is::Vector{<:AbstractIS} ) @@ -481,7 +481,7 @@ See also: `VecTagger`, `VecTaggerSetBlockSize()`, `VecTaggerSetFromOptions()`, ` $(_doc_external("Vec/VecTaggerCreate")) """ function VecTaggerCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("VecTaggerCreate: no generated method for these argument types") + throw(MethodError(VecTaggerCreate, (petsclib, comm))) end @for_petsc function VecTaggerCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -516,7 +516,7 @@ See also: `VecTaggerCreate()`, `VecTaggerSetType()`, `VecTagger` $(_doc_external("Vec/VecTaggerDestroy")) """ function VecTaggerDestroy(petsclib::PetscLibType, tagger::Union{VecTagger, Ref{VecTagger}}) - error("VecTaggerDestroy: no generated method for these argument types") + throw(MethodError(VecTaggerDestroy, (petsclib, tagger))) end @for_petsc function VecTaggerDestroy(petsclib::$UnionPetscLib, tagger::Union{VecTagger, Ref{VecTagger}} ) @@ -547,7 +547,7 @@ See also: `VecTaggerInitializePackage()` $(_doc_external("Vec/VecTaggerFinalizePackage")) """ function VecTaggerFinalizePackage(petsclib::PetscLibType) - error("VecTaggerFinalizePackage: no generated method for these argument types") + throw(MethodError(VecTaggerFinalizePackage, (petsclib, ))) end @for_petsc function VecTaggerFinalizePackage(petsclib::$UnionPetscLib) @@ -582,7 +582,7 @@ See also: `VecTaggerComputeIS()`, `VecTaggerSetBlockSize()`, `VecTagger`, `VecTa $(_doc_external("Vec/VecTaggerGetBlockSize")) """ function VecTaggerGetBlockSize(petsclib::PetscLibType, tagger::VecTagger) - error("VecTaggerGetBlockSize: no generated method for these argument types") + throw(MethodError(VecTaggerGetBlockSize, (petsclib, tagger))) end @for_petsc function VecTaggerGetBlockSize(petsclib::$UnionPetscLib, tagger::VecTagger ) @@ -620,7 +620,7 @@ See also: `VecTaggerComputeIS()`, `VecTaggerSetInvert()`, `VecTagger`, `VecTagge $(_doc_external("Vec/VecTaggerGetInvert")) """ function VecTaggerGetInvert(petsclib::PetscLibType, tagger::VecTagger) - error("VecTaggerGetInvert: no generated method for these argument types") + throw(MethodError(VecTaggerGetInvert, (petsclib, tagger))) end @for_petsc function VecTaggerGetInvert(petsclib::$UnionPetscLib, tagger::VecTagger ) @@ -658,7 +658,7 @@ See also: `VecTaggerSetType()`, `VecTaggerCreate()`, `VecTaggerSetFromOptions()` $(_doc_external("Vec/VecTaggerGetType")) """ function VecTaggerGetType(petsclib::PetscLibType, tagger::VecTagger) - error("VecTaggerGetType: no generated method for these argument types") + throw(MethodError(VecTaggerGetType, (petsclib, tagger))) end @for_petsc function VecTaggerGetType(petsclib::$UnionPetscLib, tagger::VecTagger ) @@ -690,7 +690,7 @@ See also: `VecTaggerFinalizePackage()` $(_doc_external("Vec/VecTaggerInitializePackage")) """ function VecTaggerInitializePackage(petsclib::PetscLibType) - error("VecTaggerInitializePackage: no generated method for these argument types") + throw(MethodError(VecTaggerInitializePackage, (petsclib, ))) end @for_petsc function VecTaggerInitializePackage(petsclib::$UnionPetscLib) @@ -726,7 +726,7 @@ See also: `VecTaggerOrSetSubs()` $(_doc_external("Vec/VecTaggerOrGetSubs")) """ function VecTaggerOrGetSubs(petsclib::PetscLibType, tagger::VecTagger) - error("VecTaggerOrGetSubs: no generated method for these argument types") + throw(MethodError(VecTaggerOrGetSubs, (petsclib, tagger))) end @for_petsc function VecTaggerOrGetSubs(petsclib::$UnionPetscLib, tagger::VecTagger ) @@ -766,7 +766,7 @@ See also: `VecTaggetOrGetStubs()` $(_doc_external("Vec/VecTaggerOrSetSubs")) """ function VecTaggerOrSetSubs(petsclib::PetscLibType, tagger::VecTagger, nsubs::Integer, subs::Vector{VecTagger}, mode::PetscCopyMode) - error("VecTaggerOrSetSubs: no generated method for these argument types") + throw(MethodError(VecTaggerOrSetSubs, (petsclib, tagger, nsubs, subs, mode))) end @for_petsc function VecTaggerOrSetSubs(petsclib::$UnionPetscLib, tagger::VecTagger, nsubs::$PetscInt, subs::Vector{VecTagger}, mode::PetscCopyMode ) @@ -800,7 +800,7 @@ See also: `VecTaggerType`, `VecTaggerCreate()`, `VecTagger`, `VecTaggerRegisterA $(_doc_external("Vec/VecTaggerRegister")) """ function VecTaggerRegister(petsclib::PetscLibType, sname::String, fnc::external) - error("VecTaggerRegister: no generated method for these argument types") + throw(MethodError(VecTaggerRegister, (petsclib, sname, fnc))) end @for_petsc function VecTaggerRegister(petsclib::$UnionPetscLib, sname::String, fnc::external ) @@ -830,7 +830,7 @@ See also: `VecTaggerRegisterDestroy()` $(_doc_external("Vec/VecTaggerRegisterAll")) """ function VecTaggerRegisterAll(petsclib::PetscLibType) - error("VecTaggerRegisterAll: no generated method for these argument types") + throw(MethodError(VecTaggerRegisterAll, (petsclib, ))) end @for_petsc function VecTaggerRegisterAll(petsclib::$UnionPetscLib) @@ -865,7 +865,7 @@ See also: `VecTaggerRelativeSetBox()` $(_doc_external("Vec/VecTaggerRelativeGetBox")) """ function VecTaggerRelativeGetBox(petsclib::PetscLibType, tagger::VecTagger) - error("VecTaggerRelativeGetBox: no generated method for these argument types") + throw(MethodError(VecTaggerRelativeGetBox, (petsclib, tagger))) end @for_petsc function VecTaggerRelativeGetBox(petsclib::$UnionPetscLib, tagger::VecTagger ) @@ -901,7 +901,7 @@ See also: `VecTaggerRelativeGetBox()` $(_doc_external("Vec/VecTaggerRelativeSetBox")) """ function VecTaggerRelativeSetBox(petsclib::PetscLibType, tagger::VecTagger, box::Vector{VecTaggerBox}) - error("VecTaggerRelativeSetBox: no generated method for these argument types") + throw(MethodError(VecTaggerRelativeSetBox, (petsclib, tagger, box))) end @for_petsc function VecTaggerRelativeSetBox(petsclib::$UnionPetscLib, tagger::VecTagger, box::Vector{VecTaggerBox} ) @@ -935,7 +935,7 @@ See also: `VecTaggerComputeIS()`, `VecTaggerGetBlockSize()`, `VecSetBlockSize()` $(_doc_external("Vec/VecTaggerSetBlockSize")) """ function VecTaggerSetBlockSize(petsclib::PetscLibType, tagger::VecTagger, blocksize::Integer) - error("VecTaggerSetBlockSize: no generated method for these argument types") + throw(MethodError(VecTaggerSetBlockSize, (petsclib, tagger, blocksize))) end @for_petsc function VecTaggerSetBlockSize(petsclib::$UnionPetscLib, tagger::VecTagger, blocksize::$PetscInt ) @@ -973,7 +973,7 @@ See also: `VecTagger`, `VecTaggerCreate()`, `VecTaggerSetUp()` $(_doc_external("Vec/VecTaggerSetFromOptions")) """ function VecTaggerSetFromOptions(petsclib::PetscLibType, tagger::VecTagger) - error("VecTaggerSetFromOptions: no generated method for these argument types") + throw(MethodError(VecTaggerSetFromOptions, (petsclib, tagger))) end @for_petsc function VecTaggerSetFromOptions(petsclib::$UnionPetscLib, tagger::VecTagger ) @@ -1009,7 +1009,7 @@ See also: `VecTaggerComputeIS()`, `VecTaggerGetInvert()`, `VecTagger`, `VecTagge $(_doc_external("Vec/VecTaggerSetInvert")) """ function VecTaggerSetInvert(petsclib::PetscLibType, tagger::VecTagger, invert::PetscBool) - error("VecTaggerSetInvert: no generated method for these argument types") + throw(MethodError(VecTaggerSetInvert, (petsclib, tagger, invert))) end @for_petsc function VecTaggerSetInvert(petsclib::$UnionPetscLib, tagger::VecTagger, invert::PetscBool ) @@ -1046,7 +1046,7 @@ See also: `VecTaggerType`, `VecTaggerCreate()`, `VecTagger` $(_doc_external("Vec/VecTaggerSetType")) """ function VecTaggerSetType(petsclib::PetscLibType, tagger::VecTagger, type::String) - error("VecTaggerSetType: no generated method for these argument types") + throw(MethodError(VecTaggerSetType, (petsclib, tagger, type))) end @for_petsc function VecTaggerSetType(petsclib::$UnionPetscLib, tagger::VecTagger, type::String ) @@ -1079,7 +1079,7 @@ See also: `VecTaggerSetFromOptions()`, `VecTaggerSetType()`, `VecTagger`, `VecTa $(_doc_external("Vec/VecTaggerSetUp")) """ function VecTaggerSetUp(petsclib::PetscLibType, tagger::VecTagger) - error("VecTaggerSetUp: no generated method for these argument types") + throw(MethodError(VecTaggerSetUp, (petsclib, tagger))) end @for_petsc function VecTaggerSetUp(petsclib::$UnionPetscLib, tagger::VecTagger ) @@ -1113,7 +1113,7 @@ See also: `VecTaggerCreate()`, `VecTagger` $(_doc_external("Vec/VecTaggerView")) """ function VecTaggerView(petsclib::PetscLibType, tagger::VecTagger, viewer::PetscViewer) - error("VecTaggerView: no generated method for these argument types") + throw(MethodError(VecTaggerView, (petsclib, tagger, viewer))) end @for_petsc function VecTaggerView(petsclib::$UnionPetscLib, tagger::VecTagger, viewer::PetscViewer ) diff --git a/src/autowrapped/Vec_wrappers.jl b/src/autowrapped/Vec_wrappers.jl index 4ea88ce09..8ff088dcb 100644 --- a/src/autowrapped/Vec_wrappers.jl +++ b/src/autowrapped/Vec_wrappers.jl @@ -21,7 +21,7 @@ See also: `Vec`, `VecAYPX()`, `VecMAXPY()`, `VecWAXPY()`, `VecAXPY()`, `VecAXPBY $(_doc_external("Vec/VecAXPBY")) """ function VecAXPBY(petsclib::PetscLibType, y::AbstractPetscVec, alpha::Number, beta::Number, x::AbstractPetscVec) - error("VecAXPBY: no generated method for these argument types") + throw(MethodError(VecAXPBY, (petsclib, y, alpha, beta, x))) end @for_petsc function VecAXPBY(petsclib::$UnionPetscLib, y::AbstractPetscVec, alpha::$PetscScalar, beta::$PetscScalar, x::AbstractPetscVec ) @@ -62,7 +62,7 @@ See also: `Vec`, `VecAYPX()`, `VecMAXPY()`, `VecWAXPY()`, `VecAXPY()`, `VecAXPBY $(_doc_external("Vec/VecAXPBYPCZ")) """ function VecAXPBYPCZ(petsclib::PetscLibType, z::AbstractPetscVec, alpha::Number, beta::Number, gamma::Number, x::AbstractPetscVec, y::AbstractPetscVec) - error("VecAXPBYPCZ: no generated method for these argument types") + throw(MethodError(VecAXPBYPCZ, (petsclib, z, alpha, beta, gamma, x, y))) end @for_petsc function VecAXPBYPCZ(petsclib::$UnionPetscLib, z::AbstractPetscVec, alpha::$PetscScalar, beta::$PetscScalar, gamma::$PetscScalar, x::AbstractPetscVec, y::AbstractPetscVec ) @@ -100,7 +100,7 @@ See also: `Vec`, `VecAYPX()`, `VecMAXPY()`, `VecWAXPY()`, `VecAXPBYPCZ()`, `VecA $(_doc_external("Vec/VecAXPY")) """ function VecAXPY(petsclib::PetscLibType, y::AbstractPetscVec, alpha::Number, x::AbstractPetscVec) - error("VecAXPY: no generated method for these argument types") + throw(MethodError(VecAXPY, (petsclib, y, alpha, x))) end @for_petsc function VecAXPY(petsclib::$UnionPetscLib, y::AbstractPetscVec, alpha::$PetscScalar, x::AbstractPetscVec ) @@ -138,7 +138,7 @@ See also: `Vec`, `VecMAXPY()`, `VecWAXPY()`, `VecAXPY()`, `VecAXPBYPCZ()`, `VecA $(_doc_external("Vec/VecAYPX")) """ function VecAYPX(petsclib::PetscLibType, y::AbstractPetscVec, beta::Number, x::AbstractPetscVec) - error("VecAYPX: no generated method for these argument types") + throw(MethodError(VecAYPX, (petsclib, y, beta, x))) end @for_petsc function VecAYPX(petsclib::$UnionPetscLib, y::AbstractPetscVec, beta::$PetscScalar, x::AbstractPetscVec ) @@ -171,7 +171,7 @@ See also: `Vec`, `VecExp()`, `VecSqrtAbs()`, `VecReciprocal()`, `VecLog()`, `Vec $(_doc_external("Vec/VecAbs")) """ function VecAbs(petsclib::PetscLibType, v::AbstractPetscVec) - error("VecAbs: no generated method for these argument types") + throw(MethodError(VecAbs, (petsclib, v))) end @for_petsc function VecAbs(petsclib::$UnionPetscLib, v::AbstractPetscVec ) @@ -206,7 +206,7 @@ See also: `Vec`, `VecGetOptionsPrefix()` $(_doc_external("Vec/VecAppendOptionsPrefix")) """ function VecAppendOptionsPrefix(petsclib::PetscLibType, v::AbstractPetscVec, prefix::String) - error("VecAppendOptionsPrefix: no generated method for these argument types") + throw(MethodError(VecAppendOptionsPrefix, (petsclib, v, prefix))) end @for_petsc function VecAppendOptionsPrefix(petsclib::$UnionPetscLib, v::AbstractPetscVec, prefix::String ) @@ -240,7 +240,7 @@ See also: `Vec`, `VecAssemblyEnd()`, `VecSetValues()` $(_doc_external("Vec/VecAssemblyBegin")) """ function VecAssemblyBegin(petsclib::PetscLibType, vec::AbstractPetscVec) - error("VecAssemblyBegin: no generated method for these argument types") + throw(MethodError(VecAssemblyBegin, (petsclib, vec))) end @for_petsc function VecAssemblyBegin(petsclib::$UnionPetscLib, vec::AbstractPetscVec ) @@ -278,7 +278,7 @@ See also: `Vec`, `VecAssemblyBegin()`, `VecSetValues()`, `VecViewFromOptions()`, $(_doc_external("Vec/VecAssemblyEnd")) """ function VecAssemblyEnd(petsclib::PetscLibType, vec::AbstractPetscVec) - error("VecAssemblyEnd: no generated method for these argument types") + throw(MethodError(VecAssemblyEnd, (petsclib, vec))) end @for_petsc function VecAssemblyEnd(petsclib::$UnionPetscLib, vec::AbstractPetscVec ) @@ -312,7 +312,7 @@ See also: `Vec`, `VecBoundToCPU()` $(_doc_external("Vec/VecBindToCPU")) """ function VecBindToCPU(petsclib::PetscLibType, v::AbstractPetscVec, flg::PetscBool) - error("VecBindToCPU: no generated method for these argument types") + throw(MethodError(VecBindToCPU, (petsclib, v, flg))) end @for_petsc function VecBindToCPU(petsclib::$UnionPetscLib, v::AbstractPetscVec, flg::PetscBool ) @@ -352,7 +352,7 @@ See also: `Vec` $(_doc_external("Vec/VecBoundGradientProjection")) """ function VecBoundGradientProjection(petsclib::PetscLibType, G::AbstractPetscVec, X::AbstractPetscVec, XL::AbstractPetscVec, XU::AbstractPetscVec, GP::AbstractPetscVec) - error("VecBoundGradientProjection: no generated method for these argument types") + throw(MethodError(VecBoundGradientProjection, (petsclib, G, X, XL, XU, GP))) end @for_petsc function VecBoundGradientProjection(petsclib::$UnionPetscLib, G::AbstractPetscVec, X::AbstractPetscVec, XL::AbstractPetscVec, XU::AbstractPetscVec, GP::AbstractPetscVec ) @@ -388,7 +388,7 @@ See also: `Vec`, `VecBindToCPU()` $(_doc_external("Vec/VecBoundToCPU")) """ function VecBoundToCPU(petsclib::PetscLibType, v::AbstractPetscVec) - error("VecBoundToCPU: no generated method for these argument types") + throw(MethodError(VecBoundToCPU, (petsclib, v))) end @for_petsc function VecBoundToCPU(petsclib::$UnionPetscLib, v::AbstractPetscVec ) @@ -430,7 +430,7 @@ See also: `Vec`, `VECNEST`, `VECSCATTER`, `VecScatterCreate()` $(_doc_external("Vec/VecConcatenate")) """ function VecConcatenate(petsclib::PetscLibType, nx::Integer, X::Vector{<:AbstractPetscVec}) - error("VecConcatenate: no generated method for these argument types") + throw(MethodError(VecConcatenate, (petsclib, nx, X))) end @for_petsc function VecConcatenate(petsclib::$UnionPetscLib, nx::$PetscInt, X::Vector{<:AbstractPetscVec} ) @@ -468,7 +468,7 @@ See also: `Vec`, `VecSet()` $(_doc_external("Vec/VecConjugate")) """ function VecConjugate(petsclib::PetscLibType, x::AbstractPetscVec) - error("VecConjugate: no generated method for these argument types") + throw(MethodError(VecConjugate, (petsclib, x))) end @for_petsc function VecConjugate(petsclib::$UnionPetscLib, x::AbstractPetscVec ) @@ -504,7 +504,7 @@ See also: `Vec`, `VecDuplicate()` $(_doc_external("Vec/VecCopy")) """ function VecCopy(petsclib::PetscLibType, x::AbstractPetscVec, y::AbstractPetscVec) - error("VecCopy: no generated method for these argument types") + throw(MethodError(VecCopy, (petsclib, x, y))) end @for_petsc function VecCopy(petsclib::$UnionPetscLib, x::AbstractPetscVec, y::AbstractPetscVec ) @@ -542,7 +542,7 @@ See also: `Vec`, `VecSetType()`, `VecSetSizes()`, `VecCreateMPIWithArray()`, `Ve $(_doc_external("Vec/VecCreate")) """ function VecCreate(petsclib::PetscLibType, comm::MPI_Comm) - error("VecCreate: no generated method for these argument types") + throw(MethodError(VecCreate, (petsclib, comm))) end @for_petsc function VecCreate(petsclib::$UnionPetscLib, comm::MPI_Comm ) @@ -588,7 +588,7 @@ See also: `Vec`, `VecSetType()`, `VecSetSizes()`, `VecCreateMPIWithArray()`, `Ve $(_doc_external("Vec/VecCreateFromOptions")) """ function VecCreateFromOptions(petsclib::PetscLibType, comm::MPI_Comm, prefix::String, bs::Integer, m::Integer, n::Integer) - error("VecCreateFromOptions: no generated method for these argument types") + throw(MethodError(VecCreateFromOptions, (petsclib, comm, prefix, bs, m, n))) end @for_petsc function VecCreateFromOptions(petsclib::$UnionPetscLib, comm::MPI_Comm, prefix::String, bs::$PetscInt, m::$PetscInt, n::$PetscInt ) @@ -633,7 +633,7 @@ See also: `Vec`, `VecType`, `VecCreateSeq()`, `VecCreate()`, `VecDuplicate()`, ` $(_doc_external("Vec/VecCreateGhost")) """ function VecCreateGhost(petsclib::PetscLibType, comm::MPI_Comm, n::Integer, M_N::Integer, nghost::Integer, ghosts::AbstractVector{<:Number}) - error("VecCreateGhost: no generated method for these argument types") + throw(MethodError(VecCreateGhost, (petsclib, comm, n, M_N, nghost, ghosts))) end @for_petsc function VecCreateGhost(petsclib::$UnionPetscLib, comm::MPI_Comm, n::$PetscInt, M_N::$PetscInt, nghost::$PetscInt, ghosts::Vector{$PetscInt} ) @@ -679,7 +679,7 @@ See also: `Vec`, `VecType`, `VecCreateSeq()`, `VecCreate()`, `VecDuplicate()`, ` $(_doc_external("Vec/VecCreateGhostBlock")) """ function VecCreateGhostBlock(petsclib::PetscLibType, comm::MPI_Comm, bs::Integer, n::Integer, M_N::Integer, nghost::Integer, ghosts::AbstractVector{<:Number}) - error("VecCreateGhostBlock: no generated method for these argument types") + throw(MethodError(VecCreateGhostBlock, (petsclib, comm, bs, n, M_N, nghost, ghosts))) end @for_petsc function VecCreateGhostBlock(petsclib::$UnionPetscLib, comm::MPI_Comm, bs::$PetscInt, n::$PetscInt, M_N::$PetscInt, nghost::$PetscInt, ghosts::Vector{$PetscInt} ) @@ -726,7 +726,7 @@ See also: `Vec`, `VecType`, `VecCreate()`, `VecGhostGetLocalForm()`, `VecGhostRe $(_doc_external("Vec/VecCreateGhostBlockWithArray")) """ function VecCreateGhostBlockWithArray(petsclib::PetscLibType, comm::MPI_Comm, bs::Integer, n::Integer, M_N::Integer, nghost::Integer, ghosts::AbstractVector{<:Number}, array::AbstractVector{<:Number}) - error("VecCreateGhostBlockWithArray: no generated method for these argument types") + throw(MethodError(VecCreateGhostBlockWithArray, (petsclib, comm, bs, n, M_N, nghost, ghosts, array))) end @for_petsc function VecCreateGhostBlockWithArray(petsclib::$UnionPetscLib, comm::MPI_Comm, bs::$PetscInt, n::$PetscInt, M_N::$PetscInt, nghost::$PetscInt, ghosts::Vector{$PetscInt}, array::Vector{$PetscScalar} ) @@ -772,7 +772,7 @@ See also: `Vec`, `VecType`, `VecCreate()`, `VecGhostGetLocalForm()`, `VecGhostRe $(_doc_external("Vec/VecCreateGhostWithArray")) """ function VecCreateGhostWithArray(petsclib::PetscLibType, comm::MPI_Comm, n::Integer, M_N::Integer, nghost::Integer, ghosts::AbstractVector{<:Number}, array::AbstractVector{<:Number}) - error("VecCreateGhostWithArray: no generated method for these argument types") + throw(MethodError(VecCreateGhostWithArray, (petsclib, comm, n, M_N, nghost, ghosts, array))) end @for_petsc function VecCreateGhostWithArray(petsclib::$UnionPetscLib, comm::MPI_Comm, n::$PetscInt, M_N::$PetscInt, nghost::$PetscInt, ghosts::Vector{$PetscInt}, array::Vector{$PetscScalar} ) @@ -811,7 +811,7 @@ See also: `Vec`, `VecGetLocalVectorRead()`, `VecRestoreLocalVectorRead()`, `VecG $(_doc_external("Vec/VecCreateLocalVector")) """ function VecCreateLocalVector(petsclib::PetscLibType, v::AbstractPetscVec) - error("VecCreateLocalVector: no generated method for these argument types") + throw(MethodError(VecCreateLocalVector, (petsclib, v))) end @for_petsc function VecCreateLocalVector(petsclib::$UnionPetscLib, v::AbstractPetscVec ) @@ -853,7 +853,7 @@ See also: `Vec`, `VecType`, `VecCreateSeq()`, `VecCreate()`, `VecDuplicate()`, ` $(_doc_external("Vec/VecCreateMPI")) """ function VecCreateMPI(petsclib::PetscLibType, comm::MPI_Comm, n::Integer, M_N::Integer) - error("VecCreateMPI: no generated method for these argument types") + throw(MethodError(VecCreateMPI, (petsclib, comm, n, M_N))) end @for_petsc function VecCreateMPI(petsclib::$UnionPetscLib, comm::MPI_Comm, n::$PetscInt, M_N::$PetscInt ) @@ -878,7 +878,7 @@ end $(_doc_external("Vec/VecCreateMPIKokkosWithArray")) """ function VecCreateMPIKokkosWithArray(petsclib::PetscLibType, comm::MPI_Comm, bs::Integer, n::Integer, M_N::Integer, darray::AbstractVector{<:Number}) - error("VecCreateMPIKokkosWithArray: no generated method for these argument types") + throw(MethodError(VecCreateMPIKokkosWithArray, (petsclib, comm, bs, n, M_N, darray))) end @for_petsc function VecCreateMPIKokkosWithArray(petsclib::$UnionPetscLib, comm::MPI_Comm, bs::$PetscInt, n::$PetscInt, M_N::$PetscInt, darray::Vector{$PetscScalar} ) @@ -903,7 +903,7 @@ end $(_doc_external("Vec/VecCreateMPIViennaCLWithArray")) """ function VecCreateMPIViennaCLWithArray(petsclib::PetscLibType, comm::MPI_Comm, bs::Integer, n::Integer, M_N::Integer) - error("VecCreateMPIViennaCLWithArray: no generated method for these argument types") + throw(MethodError(VecCreateMPIViennaCLWithArray, (petsclib, comm, bs, n, M_N))) end @for_petsc function VecCreateMPIViennaCLWithArray(petsclib::$UnionPetscLib, comm::MPI_Comm, bs::$PetscInt, n::$PetscInt, M_N::$PetscInt ) @@ -930,7 +930,7 @@ end $(_doc_external("Vec/VecCreateMPIViennaCLWithArrays")) """ function VecCreateMPIViennaCLWithArrays(petsclib::PetscLibType, comm::MPI_Comm, bs::Integer, n::Integer, M_N::Integer, cpuarray::AbstractVector{<:Number}) - error("VecCreateMPIViennaCLWithArrays: no generated method for these argument types") + throw(MethodError(VecCreateMPIViennaCLWithArrays, (petsclib, comm, bs, n, M_N, cpuarray))) end @for_petsc function VecCreateMPIViennaCLWithArrays(petsclib::$UnionPetscLib, comm::MPI_Comm, bs::$PetscInt, n::$PetscInt, M_N::$PetscInt, cpuarray::Vector{$PetscScalar} ) @@ -976,7 +976,7 @@ See also: `Vec`, `VecType`, `VecCreateSeqWithArray()`, `VecCreate()`, `VecDuplic $(_doc_external("Vec/VecCreateMPIWithArray")) """ function VecCreateMPIWithArray(petsclib::PetscLibType, comm::MPI_Comm, bs::Integer, n::Integer, M_N::Integer, array::AbstractVector{<:Number}) - error("VecCreateMPIWithArray: no generated method for these argument types") + throw(MethodError(VecCreateMPIWithArray, (petsclib, comm, bs, n, M_N, array))) end @for_petsc function VecCreateMPIWithArray(petsclib::$UnionPetscLib, comm::MPI_Comm, bs::$PetscInt, n::$PetscInt, M_N::$PetscInt, array::Vector{$PetscScalar} ) @@ -1017,7 +1017,7 @@ See also: `VECNEST`, `Vec`, `VecType`, `VecCreate()`, `MatCreateNest()`, `DMSetV $(_doc_external("Vec/VecCreateNest")) """ function VecCreateNest(petsclib::PetscLibType, comm::MPI_Comm, nb::Integer, is::Vector{<:AbstractIS}, x::Vector{<:AbstractPetscVec}) - error("VecCreateNest: no generated method for these argument types") + throw(MethodError(VecCreateNest, (petsclib, comm, nb, is, x))) end @for_petsc function VecCreateNest(petsclib::$UnionPetscLib, comm::MPI_Comm, nb::$PetscInt, is::Vector{<:AbstractIS}, x::Vector{<:AbstractPetscVec} ) @@ -1056,7 +1056,7 @@ See also: `Vec`, `VecType`, `VecCreateMPI()`, `VecCreate()`, `VecDuplicate()`, ` $(_doc_external("Vec/VecCreateSeq")) """ function VecCreateSeq(petsclib::PetscLibType, comm::MPI_Comm, n::Integer) - error("VecCreateSeq: no generated method for these argument types") + throw(MethodError(VecCreateSeq, (petsclib, comm, n))) end @for_petsc function VecCreateSeq(petsclib::$UnionPetscLib, comm::MPI_Comm, n::$PetscInt ) @@ -1081,7 +1081,7 @@ end $(_doc_external("Vec/VecCreateSeqKokkos")) """ function VecCreateSeqKokkos(petsclib::PetscLibType, comm::MPI_Comm, n::Integer) - error("VecCreateSeqKokkos: no generated method for these argument types") + throw(MethodError(VecCreateSeqKokkos, (petsclib, comm, n))) end @for_petsc function VecCreateSeqKokkos(petsclib::$UnionPetscLib, comm::MPI_Comm, n::$PetscInt ) @@ -1106,7 +1106,7 @@ end $(_doc_external("Vec/VecCreateSeqKokkosWithArray")) """ function VecCreateSeqKokkosWithArray(petsclib::PetscLibType, comm::MPI_Comm, bs::Integer, n::Integer, darray::AbstractVector{<:Number}) - error("VecCreateSeqKokkosWithArray: no generated method for these argument types") + throw(MethodError(VecCreateSeqKokkosWithArray, (petsclib, comm, bs, n, darray))) end @for_petsc function VecCreateSeqKokkosWithArray(petsclib::$UnionPetscLib, comm::MPI_Comm, bs::$PetscInt, n::$PetscInt, darray::Vector{$PetscScalar} ) @@ -1131,7 +1131,7 @@ end $(_doc_external("Vec/VecCreateSeqViennaCL")) """ function VecCreateSeqViennaCL(petsclib::PetscLibType, comm::MPI_Comm, n::Integer) - error("VecCreateSeqViennaCL: no generated method for these argument types") + throw(MethodError(VecCreateSeqViennaCL, (petsclib, comm, n))) end @for_petsc function VecCreateSeqViennaCL(petsclib::$UnionPetscLib, comm::MPI_Comm, n::$PetscInt ) @@ -1156,7 +1156,7 @@ end $(_doc_external("Vec/VecCreateSeqViennaCLWithArrays")) """ function VecCreateSeqViennaCLWithArrays(petsclib::PetscLibType, comm::MPI_Comm, bs::Integer, n::Integer, cpuarray::AbstractVector{<:Number}) - error("VecCreateSeqViennaCLWithArrays: no generated method for these argument types") + throw(MethodError(VecCreateSeqViennaCLWithArrays, (petsclib, comm, bs, n, cpuarray))) end @for_petsc function VecCreateSeqViennaCLWithArrays(petsclib::$UnionPetscLib, comm::MPI_Comm, bs::$PetscInt, n::$PetscInt, cpuarray::Vector{$PetscScalar} ) @@ -1201,7 +1201,7 @@ See also: `VecCreateMPIWithArray()`, `VecCreate()`, `VecDuplicate()`, `VecDuplic $(_doc_external("Vec/VecCreateSeqWithArray")) """ function VecCreateSeqWithArray(petsclib::PetscLibType, comm::MPI_Comm, bs::Integer, n::Integer, array::AbstractVector{<:Number}) - error("VecCreateSeqWithArray: no generated method for these argument types") + throw(MethodError(VecCreateSeqWithArray, (petsclib, comm, bs, n, array))) end @for_petsc function VecCreateSeqWithArray(petsclib::$UnionPetscLib, comm::MPI_Comm, bs::$PetscInt, n::$PetscInt, array::Vector{$PetscScalar} ) @@ -1242,7 +1242,7 @@ See also: `Vec`, `VecType`, `VecCreateSeq()`, `VecCreate()`, `VecCreateMPI()`, ` $(_doc_external("Vec/VecCreateShared")) """ function VecCreateShared(petsclib::PetscLibType, comm::MPI_Comm, n::Integer, M_N::Integer) - error("VecCreateShared: no generated method for these argument types") + throw(MethodError(VecCreateShared, (petsclib, comm, n, M_N))) end @for_petsc function VecCreateShared(petsclib::$UnionPetscLib, comm::MPI_Comm, n::$PetscInt, M_N::$PetscInt ) @@ -1277,7 +1277,7 @@ See also: `Vec`, `VecCreate()`, `VecDuplicate()`, `VecDestroyVecs()` $(_doc_external("Vec/VecDestroy")) """ function VecDestroy(petsclib::PetscLibType, v::AbstractPetscVec) - error("VecDestroy: no generated method for these argument types") + throw(MethodError(VecDestroy, (petsclib, v))) end @for_petsc function VecDestroy(petsclib::$UnionPetscLib, v::AbstractPetscVec ) @@ -1313,7 +1313,7 @@ See also: `Vec`, `VecDuplicateVecs()`, `VecDestroyVecsf90()` $(_doc_external("Vec/VecDestroyVecs")) """ function VecDestroyVecs(petsclib::PetscLibType, m::Integer, vv::Ptr) - error("VecDestroyVecs: no generated method for these argument types") + throw(MethodError(VecDestroyVecs, (petsclib, m, vv))) end @for_petsc function VecDestroyVecs(petsclib::$UnionPetscLib, m::$PetscInt, vv::Ptr ) @@ -1351,7 +1351,7 @@ See also: `Vec`, `VecMDot()`, `VecTDot()`, `VecNorm()`, `VecDotBegin()`, `VecDot $(_doc_external("Vec/VecDot")) """ function VecDot(petsclib::PetscLibType, x::AbstractPetscVec, y::AbstractPetscVec) - error("VecDot: no generated method for these argument types") + throw(MethodError(VecDot, (petsclib, x, y))) end @for_petsc function VecDot(petsclib::$UnionPetscLib, x::AbstractPetscVec, y::AbstractPetscVec ) @@ -1387,7 +1387,7 @@ See also: `VecDotEnd()`, `VecNormBegin()`, `VecNormEnd()`, `VecNorm()`, `VecDot( $(_doc_external("Vec/VecDotBegin")) """ function VecDotBegin(petsclib::PetscLibType, x::AbstractPetscVec, y::AbstractPetscVec) - error("VecDotBegin: no generated method for these argument types") + throw(MethodError(VecDotBegin, (petsclib, x, y))) end @for_petsc function VecDotBegin(petsclib::$UnionPetscLib, x::AbstractPetscVec, y::AbstractPetscVec ) @@ -1423,7 +1423,7 @@ See also: `VecDotBegin()`, `VecNormBegin()`, `VecNormEnd()`, `VecNorm()`, `VecDo $(_doc_external("Vec/VecDotEnd")) """ function VecDotEnd(petsclib::PetscLibType, x::AbstractPetscVec, y::AbstractPetscVec) - error("VecDotEnd: no generated method for these argument types") + throw(MethodError(VecDotEnd, (petsclib, x, y))) end @for_petsc function VecDotEnd(petsclib::$UnionPetscLib, x::AbstractPetscVec, y::AbstractPetscVec ) @@ -1463,7 +1463,7 @@ See also: `Vec`, `VecDot()`, `VecNorm()`, `VecDotBegin()`, `VecNormBegin()`, `Ve $(_doc_external("Vec/VecDotNorm2")) """ function VecDotNorm2(petsclib::PetscLibType, s::AbstractPetscVec, t::AbstractPetscVec) - error("VecDotNorm2: no generated method for these argument types") + throw(MethodError(VecDotNorm2, (petsclib, s, t))) end @for_petsc function VecDotNorm2(petsclib::$UnionPetscLib, s::AbstractPetscVec, t::AbstractPetscVec ) @@ -1512,7 +1512,7 @@ See also: `Vec`, `VecMDot()`, `VecTDot()`, `VecNorm()`, `VecDotBegin()`, `VecDot $(_doc_external("Vec/VecDotRealPart")) """ function VecDotRealPart(petsclib::PetscLibType, x::AbstractPetscVec, y::AbstractPetscVec) - error("VecDotRealPart: no generated method for these argument types") + throw(MethodError(VecDotRealPart, (petsclib, x, y))) end @for_petsc function VecDotRealPart(petsclib::$UnionPetscLib, x::AbstractPetscVec, y::AbstractPetscVec ) @@ -1550,7 +1550,7 @@ See also: `Vec`, `VecDestroy()`, `VecDuplicateVecs()`, `VecCreate()`, `VecCopy() $(_doc_external("Vec/VecDuplicate")) """ function VecDuplicate(petsclib::PetscLibType, v::AbstractPetscVec) - error("VecDuplicate: no generated method for these argument types") + throw(MethodError(VecDuplicate, (petsclib, v))) end @for_petsc function VecDuplicate(petsclib::$UnionPetscLib, v::AbstractPetscVec ) @@ -1590,7 +1590,7 @@ See also: `Vec`, `VecDestroyVecs()`, `VecDuplicate()`, `VecCreate()`, `VecMDot() $(_doc_external("Vec/VecDuplicateVecs")) """ function VecDuplicateVecs(petsclib::PetscLibType, v::AbstractPetscVec, m::Integer) - error("VecDuplicateVecs: no generated method for these argument types") + throw(MethodError(VecDuplicateVecs, (petsclib, v, m))) end @for_petsc function VecDuplicateVecs(petsclib::$UnionPetscLib, v::AbstractPetscVec, m::$PetscInt ) @@ -1631,7 +1631,7 @@ See also: `Vec` $(_doc_external("Vec/VecEqual")) """ function VecEqual(petsclib::PetscLibType, vec1::AbstractPetscVec, vec2::AbstractPetscVec) - error("VecEqual: no generated method for these argument types") + throw(MethodError(VecEqual, (petsclib, vec1, vec2))) end @for_petsc function VecEqual(petsclib::$UnionPetscLib, vec1::AbstractPetscVec, vec2::AbstractPetscVec ) @@ -1682,7 +1682,7 @@ See also: `Vec`, `NormType`, `TSErrorWeightedNorm()`, `TSErrorWeightedENorm()` $(_doc_external("Vec/VecErrorWeightedNorms")) """ function VecErrorWeightedNorms(petsclib::PetscLibType, U::AbstractPetscVec, Y::AbstractPetscVec, E::AbstractPetscVec, wnormtype::NormType, atol::Real, vatol::AbstractPetscVec, rtol::Real, vrtol::AbstractPetscVec, ignore_max::Real) - error("VecErrorWeightedNorms: no generated method for these argument types") + throw(MethodError(VecErrorWeightedNorms, (petsclib, U, Y, E, wnormtype, atol, vatol, rtol, vrtol, ignore_max))) end @for_petsc function VecErrorWeightedNorms(petsclib::$UnionPetscLib, U::AbstractPetscVec, Y::AbstractPetscVec, E::AbstractPetscVec, wnormtype::NormType, atol::$PetscReal, vatol::AbstractPetscVec, rtol::$PetscReal, vrtol::AbstractPetscVec, ignore_max::$PetscReal ) @@ -1730,7 +1730,7 @@ See also: `Vec`, `VecLog()`, `VecAbs()`, `VecSqrtAbs()`, `VecReciprocal()` $(_doc_external("Vec/VecExp")) """ function VecExp(petsclib::PetscLibType, v::AbstractPetscVec) - error("VecExp: no generated method for these argument types") + throw(MethodError(VecExp, (petsclib, v))) end @for_petsc function VecExp(petsclib::$UnionPetscLib, v::AbstractPetscVec ) @@ -1765,7 +1765,7 @@ See also: `VecCreate()`, `VecSet()`, `MatFilter()` $(_doc_external("Vec/VecFilter")) """ function VecFilter(petsclib::PetscLibType, v::AbstractPetscVec, tol::Real) - error("VecFilter: no generated method for these argument types") + throw(MethodError(VecFilter, (petsclib, v, tol))) end @for_petsc function VecFilter(petsclib::$UnionPetscLib, v::AbstractPetscVec, tol::$PetscReal ) @@ -1794,7 +1794,7 @@ See also: `PetscInitialize()` $(_doc_external("Vec/VecFinalizePackage")) """ function VecFinalizePackage(petsclib::PetscLibType) - error("VecFinalizePackage: no generated method for these argument types") + throw(MethodError(VecFinalizePackage, (petsclib, ))) end @for_petsc function VecFinalizePackage(petsclib::$UnionPetscLib) @@ -1833,7 +1833,7 @@ See also: `Vec`, `VecSFischer()`, `MatDFischer()`, `MatDSFischer()` $(_doc_external("Tao/VecFischer")) """ function VecFischer(petsclib::PetscLibType, X::AbstractPetscVec, F::AbstractPetscVec, L::AbstractPetscVec, U::AbstractPetscVec, FB::AbstractPetscVec) - error("VecFischer: no generated method for these argument types") + throw(MethodError(VecFischer, (petsclib, X, F, L, U, FB))) end @for_petsc function VecFischer(petsclib::$UnionPetscLib, X::AbstractPetscVec, F::AbstractPetscVec, L::AbstractPetscVec, U::AbstractPetscVec, FB::AbstractPetscVec ) @@ -1867,7 +1867,7 @@ See also: `Vec`, `PetscLayout`, `VecGetLayout()`, `VecGetSize()`, `VecGetOwnersh $(_doc_external("Vec/VecFlag")) """ function VecFlag(petsclib::PetscLibType, xin::AbstractPetscVec, flg::Integer) - error("VecFlag: no generated method for these argument types") + throw(MethodError(VecFlag, (petsclib, xin, flg))) end @for_petsc function VecFlag(petsclib::$UnionPetscLib, xin::AbstractPetscVec, flg::$PetscInt ) @@ -1905,7 +1905,7 @@ See also: `Vec`, `VecRestoreArray()`, `VecGetArrayRead()`, `VecGetArrays()`, `Ve $(_doc_external("Vec/VecGetArray")) """ function VecGetArray(petsclib::PetscLibType, x::AbstractPetscVec) - error("VecGetArray: no generated method for these argument types") + throw(MethodError(VecGetArray, (petsclib, x))) end @for_petsc function VecGetArray(petsclib::$UnionPetscLib, x::AbstractPetscVec ) @@ -2488,7 +2488,7 @@ See also: `Vec`, `VecRestoreArrayAndMemType()`, `VecGetArrayReadAndMemType()`, ` $(_doc_external("Vec/VecGetArrayAndMemType")) """ function VecGetArrayAndMemType(petsclib::PetscLibType, x::AbstractPetscVec) - error("VecGetArrayAndMemType: no generated method for these argument types") + throw(MethodError(VecGetArrayAndMemType, (petsclib, x))) end @for_petsc function VecGetArrayAndMemType(petsclib::$UnionPetscLib, x::AbstractPetscVec ) @@ -2529,7 +2529,7 @@ See also: `Vec`, `VecGetArray()`, `VecRestoreArray()`, `VecGetArrayPair()`, `Vec $(_doc_external("Vec/VecGetArrayRead")) """ function VecGetArrayRead(petsclib::PetscLibType, x::AbstractPetscVec) - error("VecGetArrayRead: no generated method for these argument types") + throw(MethodError(VecGetArrayRead, (petsclib, x))) end @for_petsc function VecGetArrayRead(petsclib::$UnionPetscLib, x::AbstractPetscVec ) @@ -2569,7 +2569,7 @@ See also: `Vec`, `VecRestoreArrayReadAndMemType()`, `VecGetArrayAndMemType()`, ` $(_doc_external("Vec/VecGetArrayReadAndMemType")) """ function VecGetArrayReadAndMemType(petsclib::PetscLibType, x::AbstractPetscVec) - error("VecGetArrayReadAndMemType: no generated method for these argument types") + throw(MethodError(VecGetArrayReadAndMemType, (petsclib, x))) end @for_petsc function VecGetArrayReadAndMemType(petsclib::$UnionPetscLib, x::AbstractPetscVec ) @@ -2611,7 +2611,7 @@ See also: `Vec`, `VecRestoreArray()`, `VecGetArrayRead()`, `VecGetArrays()`, `Ve $(_doc_external("Vec/VecGetArrayWrite")) """ function VecGetArrayWrite(petsclib::PetscLibType, x::AbstractPetscVec) - error("VecGetArrayWrite: no generated method for these argument types") + throw(MethodError(VecGetArrayWrite, (petsclib, x))) end @for_petsc function VecGetArrayWrite(petsclib::$UnionPetscLib, x::AbstractPetscVec ) @@ -2651,7 +2651,7 @@ See also: `Vec`, `VecRestoreArrayWriteAndMemType()`, `VecGetArrayReadAndMemType( $(_doc_external("Vec/VecGetArrayWriteAndMemType")) """ function VecGetArrayWriteAndMemType(petsclib::PetscLibType, x::AbstractPetscVec) - error("VecGetArrayWriteAndMemType: no generated method for these argument types") + throw(MethodError(VecGetArrayWriteAndMemType, (petsclib, x))) end @for_petsc function VecGetArrayWriteAndMemType(petsclib::$UnionPetscLib, x::AbstractPetscVec ) @@ -2693,7 +2693,7 @@ See also: `Vec`, `VecGetArray()`, `VecRestoreArrays()` $(_doc_external("Vec/VecGetArrays")) """ function VecGetArrays(petsclib::PetscLibType, x::Vector{<:AbstractPetscVec}, n::Integer) - error("VecGetArrays: no generated method for these argument types") + throw(MethodError(VecGetArrays, (petsclib, x, n))) end @for_petsc function VecGetArrays(petsclib::$UnionPetscLib, x::Vector{<:AbstractPetscVec}, n::$PetscInt ) @@ -2729,7 +2729,7 @@ See also: `Vec`, `VecSetBindingPropagates()` $(_doc_external("Vec/VecGetBindingPropagates")) """ function VecGetBindingPropagates(petsclib::PetscLibType, v::AbstractPetscVec) - error("VecGetBindingPropagates: no generated method for these argument types") + throw(MethodError(VecGetBindingPropagates, (petsclib, v))) end @for_petsc function VecGetBindingPropagates(petsclib::$UnionPetscLib, v::AbstractPetscVec ) @@ -2768,7 +2768,7 @@ See also: `Vec`, `VecSetValuesBlocked()`, `VecSetLocalToGlobalMapping()`, `VecSe $(_doc_external("Vec/VecGetBlockSize")) """ function VecGetBlockSize(petsclib::PetscLibType, v::AbstractPetscVec) - error("VecGetBlockSize: no generated method for these argument types") + throw(MethodError(VecGetBlockSize, (petsclib, v))) end @for_petsc function VecGetBlockSize(petsclib::$UnionPetscLib, v::AbstractPetscVec ) @@ -2806,7 +2806,7 @@ See also: `DM`, `VecSetDM()`, `DMGetLocalVector()`, `DMGetGlobalVector()`, `DMSe $(_doc_external("DM/VecGetDM")) """ function VecGetDM(petsclib::PetscLibType, v::AbstractPetscVec) - error("VecGetDM: no generated method for these argument types") + throw(MethodError(VecGetDM, (petsclib, v))) end @for_petsc function VecGetDM(petsclib::$UnionPetscLib, v::AbstractPetscVec ) @@ -2844,7 +2844,7 @@ See also: `PetscLayout`, `Vec`, `VecGetSize()`, `VecGetOwnershipRange()`, `VecGe $(_doc_external("Vec/VecGetLayout")) """ function VecGetLayout(petsclib::PetscLibType, x::AbstractPetscVec) - error("VecGetLayout: no generated method for these argument types") + throw(MethodError(VecGetLayout, (petsclib, x))) end @for_petsc function VecGetLayout(petsclib::$UnionPetscLib, x::AbstractPetscVec ) @@ -2883,7 +2883,7 @@ See also: `Vec`, `VecGetSize()` $(_doc_external("Vec/VecGetLocalSize")) """ function VecGetLocalSize(petsclib::PetscLibType, x::AbstractPetscVec) - error("VecGetLocalSize: no generated method for these argument types") + throw(MethodError(VecGetLocalSize, (petsclib, x))) end @for_petsc function VecGetLocalSize(petsclib::$UnionPetscLib, x::AbstractPetscVec ) @@ -2921,7 +2921,7 @@ See also: `Vec`, `VecSetValuesLocal()`, `VecSetLocalToGlobalMapping()` $(_doc_external("Vec/VecGetLocalToGlobalMapping")) """ function VecGetLocalToGlobalMapping(petsclib::PetscLibType, X::AbstractPetscVec) - error("VecGetLocalToGlobalMapping: no generated method for these argument types") + throw(MethodError(VecGetLocalToGlobalMapping, (petsclib, X))) end @for_petsc function VecGetLocalToGlobalMapping(petsclib::$UnionPetscLib, X::AbstractPetscVec ) @@ -2960,7 +2960,7 @@ See also: `Vec`, `VecCreateLocalVector()`, `VecRestoreLocalVector()`, `VecGetLoc $(_doc_external("Vec/VecGetLocalVector")) """ function VecGetLocalVector(petsclib::PetscLibType, v::AbstractPetscVec, w::AbstractPetscVec) - error("VecGetLocalVector: no generated method for these argument types") + throw(MethodError(VecGetLocalVector, (petsclib, v, w))) end @for_petsc function VecGetLocalVector(petsclib::$UnionPetscLib, v::AbstractPetscVec, w::AbstractPetscVec ) @@ -2997,7 +2997,7 @@ See also: `Vec`, `VecCreateLocalVector()`, `VecRestoreLocalVectorRead()`, `VecGe $(_doc_external("Vec/VecGetLocalVectorRead")) """ function VecGetLocalVectorRead(petsclib::PetscLibType, v::AbstractPetscVec, w::AbstractPetscVec) - error("VecGetLocalVectorRead: no generated method for these argument types") + throw(MethodError(VecGetLocalVectorRead, (petsclib, v, w))) end @for_petsc function VecGetLocalVectorRead(petsclib::$UnionPetscLib, v::AbstractPetscVec, w::AbstractPetscVec ) @@ -3033,7 +3033,7 @@ See also: `Vec`, `VecCreateSeqCUDA()`, `VecCreateSeqViennaCL()`, `VecGetArray()` $(_doc_external("Vec/VecGetOffloadMask")) """ function VecGetOffloadMask(petsclib::PetscLibType, v::AbstractPetscVec) - error("VecGetOffloadMask: no generated method for these argument types") + throw(MethodError(VecGetOffloadMask, (petsclib, v))) end @for_petsc function VecGetOffloadMask(petsclib::$UnionPetscLib, v::AbstractPetscVec ) @@ -3072,7 +3072,7 @@ See also: `Vec`, `VecAppendOptionsPrefix()` $(_doc_external("Vec/VecGetOptionsPrefix")) """ function VecGetOptionsPrefix(petsclib::PetscLibType, v::AbstractPetscVec) - error("VecGetOptionsPrefix: no generated method for these argument types") + throw(MethodError(VecGetOptionsPrefix, (petsclib, v))) end @for_petsc function VecGetOptionsPrefix(petsclib::$UnionPetscLib, v::AbstractPetscVec ) @@ -3116,7 +3116,7 @@ See also: `Vec`, `MatGetOwnershipRange()`, `MatGetOwnershipRanges()`, `VecGetOwn $(_doc_external("Vec/VecGetOwnershipRange")) """ function VecGetOwnershipRange(petsclib::PetscLibType, x::AbstractPetscVec) - error("VecGetOwnershipRange: no generated method for these argument types") + throw(MethodError(VecGetOwnershipRange, (petsclib, x))) end @for_petsc function VecGetOwnershipRange(petsclib::$UnionPetscLib, x::AbstractPetscVec ) @@ -3161,7 +3161,7 @@ See also: `Vec`, `MatGetOwnershipRange()`, `MatGetOwnershipRanges()`, `VecGetOwn $(_doc_external("Vec/VecGetOwnershipRanges")) """ function VecGetOwnershipRanges(petsclib::PetscLibType, x::AbstractPetscVec) - error("VecGetOwnershipRanges: no generated method for these argument types") + throw(MethodError(VecGetOwnershipRanges, (petsclib, x))) end @for_petsc function VecGetOwnershipRanges(petsclib::$UnionPetscLib, x::AbstractPetscVec ) @@ -3200,7 +3200,7 @@ See also: `Vec`, `VecSetPinnedMemoryMin()` $(_doc_external("Vec/VecGetPinnedMemoryMin")) """ function VecGetPinnedMemoryMin(petsclib::PetscLibType, v::AbstractPetscVec) - error("VecGetPinnedMemoryMin: no generated method for these argument types") + throw(MethodError(VecGetPinnedMemoryMin, (petsclib, v))) end @for_petsc function VecGetPinnedMemoryMin(petsclib::$UnionPetscLib, v::AbstractPetscVec ) @@ -3238,7 +3238,7 @@ See also: `Vec`, `VecGetLocalSize()` $(_doc_external("Vec/VecGetSize")) """ function VecGetSize(petsclib::PetscLibType, x::AbstractPetscVec) - error("VecGetSize: no generated method for these argument types") + throw(MethodError(VecGetSize, (petsclib, x))) end @for_petsc function VecGetSize(petsclib::$UnionPetscLib, x::AbstractPetscVec ) @@ -3276,7 +3276,7 @@ See also: `Vec`, `VecCreate()`, `PetscObjectStateGet()` $(_doc_external("Vec/VecGetState")) """ function VecGetState(petsclib::PetscLibType, v::AbstractPetscVec) - error("VecGetState: no generated method for these argument types") + throw(MethodError(VecGetState, (petsclib, v))) end @for_petsc function VecGetState(petsclib::$UnionPetscLib, v::AbstractPetscVec ) @@ -3315,7 +3315,7 @@ See also: `Vec`, `IS`, `VECNEST`, `MatCreateSubMatrix()` $(_doc_external("Vec/VecGetSubVector")) """ function VecGetSubVector(petsclib::PetscLibType, X::AbstractPetscVec, is::AbstractIS) - error("VecGetSubVector: no generated method for these argument types") + throw(MethodError(VecGetSubVector, (petsclib, X, is))) end @for_petsc function VecGetSubVector(petsclib::$UnionPetscLib, X::AbstractPetscVec, is::AbstractIS ) @@ -3353,7 +3353,7 @@ See also: `Vec`, `VecType`, `VecCreate()`, `VecDuplicate()`, `VecDuplicateVecs() $(_doc_external("Vec/VecGetType")) """ function VecGetType(petsclib::PetscLibType, vec::AbstractPetscVec) - error("VecGetType: no generated method for these argument types") + throw(MethodError(VecGetType, (petsclib, vec))) end @for_petsc function VecGetType(petsclib::$UnionPetscLib, vec::AbstractPetscVec ) @@ -3394,7 +3394,7 @@ See also: `Vec`, `VecAssemblyBegin()`, `VecAssemblyEnd()`, `VecSetValues()` $(_doc_external("Vec/VecGetValues")) """ function VecGetValues(petsclib::PetscLibType, x::AbstractPetscVec, ni::Integer, ix::AbstractVector{<:Number}) - error("VecGetValues: no generated method for these argument types") + throw(MethodError(VecGetValues, (petsclib, x, ni, ix))) end @for_petsc function VecGetValues(petsclib::$UnionPetscLib, x::AbstractPetscVec, ni::$PetscInt, ix::Vector{$PetscInt} ) @@ -3433,7 +3433,7 @@ See also: `PetscSection`, `PetscSectionCreate()`, `VecSetValuesSection()` $(_doc_external("Vec/VecGetValuesSection")) """ function VecGetValuesSection(petsclib::PetscLibType, v::AbstractPetscVec, s::PetscSection, point::Integer) - error("VecGetValuesSection: no generated method for these argument types") + throw(MethodError(VecGetValuesSection, (petsclib, v, s, point))) end @for_petsc function VecGetValuesSection(petsclib::$UnionPetscLib, v::AbstractPetscVec, s::PetscSection, point::$PetscInt ) @@ -3469,7 +3469,7 @@ See also: `VecCreateGhostWithArray()`, `VecCreateMPIWithArray()` $(_doc_external("Vec/VecGhostGetGhostIS")) """ function VecGhostGetGhostIS(petsclib::PetscLibType, X::AbstractPetscVec) - error("VecGhostGetGhostIS: no generated method for these argument types") + throw(MethodError(VecGhostGetGhostIS, (petsclib, X))) end @for_petsc function VecGhostGetGhostIS(petsclib::$UnionPetscLib, X::AbstractPetscVec ) @@ -3508,7 +3508,7 @@ See also: `VecGhostUpdateBegin()`, `VecGhostUpdateEnd()`, `Vec`, `VecType`, `Vec $(_doc_external("Vec/VecGhostGetLocalForm")) """ function VecGhostGetLocalForm(petsclib::PetscLibType, g::AbstractPetscVec) - error("VecGhostGetLocalForm: no generated method for these argument types") + throw(MethodError(VecGhostGetLocalForm, (petsclib, g))) end @for_petsc function VecGhostGetLocalForm(petsclib::$UnionPetscLib, g::AbstractPetscVec ) @@ -3547,7 +3547,7 @@ See also: `Vec`, `VecType`, `VecCreateGhost()`, `VecGhostRestoreLocalForm()`, `V $(_doc_external("Vec/VecGhostIsLocalForm")) """ function VecGhostIsLocalForm(petsclib::PetscLibType, g::AbstractPetscVec, l::AbstractPetscVec) - error("VecGhostIsLocalForm: no generated method for these argument types") + throw(MethodError(VecGhostIsLocalForm, (petsclib, g, l))) end @for_petsc function VecGhostIsLocalForm(petsclib::$UnionPetscLib, g::AbstractPetscVec, l::AbstractPetscVec ) @@ -3584,7 +3584,7 @@ See also: `VecGhostUpdateBegin()`, `VecGhostUpdateEnd()`, `Vec`, `VecType`, `Vec $(_doc_external("Vec/VecGhostRestoreLocalForm")) """ function VecGhostRestoreLocalForm(petsclib::PetscLibType, g::AbstractPetscVec, l::AbstractPetscVec) - error("VecGhostRestoreLocalForm: no generated method for these argument types") + throw(MethodError(VecGhostRestoreLocalForm, (petsclib, g, l))) end @for_petsc function VecGhostRestoreLocalForm(petsclib::$UnionPetscLib, g::AbstractPetscVec, l::AbstractPetscVec ) @@ -3623,7 +3623,7 @@ See also: `Vec`, `VecType`, `VecCreateGhost()`, `VecGhostUpdateEnd()`, `VecGhost $(_doc_external("Vec/VecGhostUpdateBegin")) """ function VecGhostUpdateBegin(petsclib::PetscLibType, g::AbstractPetscVec, insertmode::InsertMode, scattermode::ScatterMode) - error("VecGhostUpdateBegin: no generated method for these argument types") + throw(MethodError(VecGhostUpdateBegin, (petsclib, g, insertmode, scattermode))) end @for_petsc function VecGhostUpdateBegin(petsclib::$UnionPetscLib, g::AbstractPetscVec, insertmode::InsertMode, scattermode::ScatterMode ) @@ -3660,7 +3660,7 @@ See also: `Vec`, `VecType`, `VecCreateGhost()`, `VecGhostUpdateBegin()`, `VecGho $(_doc_external("Vec/VecGhostUpdateEnd")) """ function VecGhostUpdateEnd(petsclib::PetscLibType, g::AbstractPetscVec, insertmode::InsertMode, scattermode::ScatterMode) - error("VecGhostUpdateEnd: no generated method for these argument types") + throw(MethodError(VecGhostUpdateEnd, (petsclib, g, insertmode, scattermode))) end @for_petsc function VecGhostUpdateEnd(petsclib::$UnionPetscLib, g::AbstractPetscVec, insertmode::InsertMode, scattermode::ScatterMode ) @@ -3700,7 +3700,7 @@ See also: `VecISCopy()`, `VecISSet()`, `VecAXPY()` $(_doc_external("Vec/VecISAXPY")) """ function VecISAXPY(petsclib::PetscLibType, vfull::AbstractPetscVec, is::AbstractIS, alpha::Number, vreduced::AbstractPetscVec) - error("VecISAXPY: no generated method for these argument types") + throw(MethodError(VecISAXPY, (petsclib, vfull, is, alpha, vreduced))) end @for_petsc function VecISAXPY(petsclib::$UnionPetscLib, vfull::AbstractPetscVec, is::AbstractIS, alpha::$PetscScalar, vreduced::AbstractPetscVec ) @@ -3739,7 +3739,7 @@ See also: `VecISSet()`, `VecISAXPY()`, `VecCopy()` $(_doc_external("Vec/VecISCopy")) """ function VecISCopy(petsclib::PetscLibType, vfull::AbstractPetscVec, is::AbstractIS, mode::ScatterMode, vreduced::AbstractPetscVec) - error("VecISCopy: no generated method for these argument types") + throw(MethodError(VecISCopy, (petsclib, vfull, is, mode, vreduced))) end @for_petsc function VecISCopy(petsclib::$UnionPetscLib, vfull::AbstractPetscVec, is::AbstractIS, mode::ScatterMode, vreduced::AbstractPetscVec ) @@ -3774,7 +3774,7 @@ See also: `VecISCopy()`, `VecISAXPY()`, `VecISShift()`, `VecSet()` $(_doc_external("Vec/VecISSet")) """ function VecISSet(petsclib::PetscLibType, V::AbstractPetscVec, S::AbstractIS, c::Number) - error("VecISSet: no generated method for these argument types") + throw(MethodError(VecISSet, (petsclib, V, S, c))) end @for_petsc function VecISSet(petsclib::$UnionPetscLib, V::AbstractPetscVec, S::AbstractIS, c::$PetscScalar ) @@ -3809,7 +3809,7 @@ See also: `VecISCopy()`, `VecISAXPY()`, `VecISSet()`, `VecShift()` $(_doc_external("Vec/VecISShift")) """ function VecISShift(petsclib::PetscLibType, V::AbstractPetscVec, S::AbstractIS, c::Number) - error("VecISShift: no generated method for these argument types") + throw(MethodError(VecISShift, (petsclib, V, S, c))) end @for_petsc function VecISShift(petsclib::$UnionPetscLib, V::AbstractPetscVec, S::AbstractIS, c::$PetscScalar ) @@ -3842,7 +3842,7 @@ See also: `Vec`, `VecNorm()`, `VecRealPart()` $(_doc_external("Vec/VecImaginaryPart")) """ function VecImaginaryPart(petsclib::PetscLibType, v::AbstractPetscVec) - error("VecImaginaryPart: no generated method for these argument types") + throw(MethodError(VecImaginaryPart, (petsclib, v))) end @for_petsc function VecImaginaryPart(petsclib::$UnionPetscLib, v::AbstractPetscVec ) @@ -3872,7 +3872,7 @@ See also: `PetscInitialize()` $(_doc_external("Sys/VecInitializePackage")) """ function VecInitializePackage(petsclib::PetscLibType) - error("VecInitializePackage: no generated method for these argument types") + throw(MethodError(VecInitializePackage, (petsclib, ))) end @for_petsc function VecInitializePackage(petsclib::$UnionPetscLib) @@ -3894,7 +3894,7 @@ end $(_doc_external("Vec/VecKokkosPlaceArray")) """ function VecKokkosPlaceArray(petsclib::PetscLibType, v::AbstractPetscVec) - error("VecKokkosPlaceArray: no generated method for these argument types") + throw(MethodError(VecKokkosPlaceArray, (petsclib, v))) end @for_petsc function VecKokkosPlaceArray(petsclib::$UnionPetscLib, v::AbstractPetscVec ) @@ -3919,7 +3919,7 @@ end $(_doc_external("Vec/VecKokkosResetArray")) """ function VecKokkosResetArray(petsclib::PetscLibType, v::AbstractPetscVec) - error("VecKokkosResetArray: no generated method for these argument types") + throw(MethodError(VecKokkosResetArray, (petsclib, v))) end @for_petsc function VecKokkosResetArray(petsclib::$UnionPetscLib, v::AbstractPetscVec ) @@ -3956,7 +3956,7 @@ See also: `Vec`, `PetscViewerBinaryOpen()`, `VecView()`, `MatLoad()` $(_doc_external("Vec/VecLoad")) """ function VecLoad(petsclib::PetscLibType, vec::AbstractPetscVec, viewer::PetscViewer) - error("VecLoad: no generated method for these argument types") + throw(MethodError(VecLoad, (petsclib, vec, viewer))) end @for_petsc function VecLoad(petsclib::$UnionPetscLib, vec::AbstractPetscVec, viewer::PetscViewer ) @@ -3993,7 +3993,7 @@ See also: `Vec`, `VecRestoreArray()`, `VecGetArrayRead()`, `VecLockReadPush()`, $(_doc_external("Vec/VecLockGet")) """ function VecLockGet(petsclib::PetscLibType, x::AbstractPetscVec) - error("VecLockGet: no generated method for these argument types") + throw(MethodError(VecLockGet, (petsclib, x))) end @for_petsc function VecLockGet(petsclib::$UnionPetscLib, x::AbstractPetscVec ) @@ -4033,7 +4033,7 @@ See also: `Vec`, `VecLockGet()`, `VecLockReadPush()`, `VecLockReadPop()`, `VecGe $(_doc_external("Vec/VecLockGetLocation")) """ function VecLockGetLocation(petsclib::PetscLibType, x::AbstractPetscVec) - error("VecLockGetLocation: no generated method for these argument types") + throw(MethodError(VecLockGetLocation, (petsclib, x))) end @for_petsc function VecLockGetLocation(petsclib::$UnionPetscLib, x::AbstractPetscVec ) @@ -4072,7 +4072,7 @@ See also: `Vec`, `VecRestoreArray()`, `VecGetArrayRead()`, `VecLockReadPush()`, $(_doc_external("Vec/VecLockReadPop")) """ function VecLockReadPop(petsclib::PetscLibType, x::AbstractPetscVec) - error("VecLockReadPop: no generated method for these argument types") + throw(MethodError(VecLockReadPop, (petsclib, x))) end @for_petsc function VecLockReadPop(petsclib::$UnionPetscLib, x::AbstractPetscVec ) @@ -4105,7 +4105,7 @@ See also: `Vec`, `VecRestoreArray()`, `VecGetArrayRead()`, `VecLockReadPop()`, ` $(_doc_external("Vec/VecLockReadPush")) """ function VecLockReadPush(petsclib::PetscLibType, x::AbstractPetscVec) - error("VecLockReadPush: no generated method for these argument types") + throw(MethodError(VecLockReadPush, (petsclib, x))) end @for_petsc function VecLockReadPush(petsclib::$UnionPetscLib, x::AbstractPetscVec ) @@ -4139,7 +4139,7 @@ See also: `Vec`, `VecRestoreArray()`, `VecGetArrayRead()`, `VecLockReadPush()`, $(_doc_external("Vec/VecLockWriteSet")) """ function VecLockWriteSet(petsclib::PetscLibType, x::AbstractPetscVec, flg::PetscBool) - error("VecLockWriteSet: no generated method for these argument types") + throw(MethodError(VecLockWriteSet, (petsclib, x, flg))) end @for_petsc function VecLockWriteSet(petsclib::$UnionPetscLib, x::AbstractPetscVec, flg::PetscBool ) @@ -4175,7 +4175,7 @@ See also: `Vec`, `VecExp()`, `VecAbs()`, `VecSqrtAbs()`, `VecReciprocal()` $(_doc_external("Vec/VecLog")) """ function VecLog(petsclib::PetscLibType, v::AbstractPetscVec) - error("VecLog: no generated method for these argument types") + throw(MethodError(VecLog, (petsclib, v))) end @for_petsc function VecLog(petsclib::$UnionPetscLib, v::AbstractPetscVec ) @@ -4212,7 +4212,7 @@ See also: `Vec`, `VecMAXPY()`, `VecAYPX()`, `VecWAXPY()`, `VecAXPY()`, `VecAXPBY $(_doc_external("Vec/VecMAXPBY")) """ function VecMAXPBY(petsclib::PetscLibType, y::AbstractPetscVec, nv::Integer, alpha::AbstractVector{<:Number}, beta::Number, x::Vector{<:AbstractPetscVec}) - error("VecMAXPBY: no generated method for these argument types") + throw(MethodError(VecMAXPBY, (petsclib, y, nv, alpha, beta, x))) end @for_petsc function VecMAXPBY(petsclib::$UnionPetscLib, y::AbstractPetscVec, nv::$PetscInt, alpha::Vector{$PetscScalar}, beta::$PetscScalar, x::Vector{<:AbstractPetscVec} ) @@ -4248,7 +4248,7 @@ See also: `Vec`, `VecMAXPBY()`, `VecAYPX()`, `VecWAXPY()`, `VecAXPY()`, `VecAXPB $(_doc_external("Vec/VecMAXPY")) """ function VecMAXPY(petsclib::PetscLibType, y::AbstractPetscVec, nv::Integer, alpha::AbstractVector{<:Number}, x::Vector{<:AbstractPetscVec}) - error("VecMAXPY: no generated method for these argument types") + throw(MethodError(VecMAXPY, (petsclib, y, nv, alpha, x))) end @for_petsc function VecMAXPY(petsclib::$UnionPetscLib, y::AbstractPetscVec, nv::$PetscInt, alpha::Vector{$PetscScalar}, x::Vector{<:AbstractPetscVec} ) @@ -4299,7 +4299,7 @@ See also: `Vec`, `VecMTDot()`, `VecDot()`, `VecDuplicateVecs()` $(_doc_external("Vec/VecMDot")) """ function VecMDot(petsclib::PetscLibType, x::AbstractPetscVec, nv::Integer, y::Vector{<:AbstractPetscVec}, val::AbstractVector{<:Number}) - error("VecMDot: no generated method for these argument types") + throw(MethodError(VecMDot, (petsclib, x, nv, y, val))) end @for_petsc function VecMDot(petsclib::$UnionPetscLib, x::AbstractPetscVec, nv::$PetscInt, y::Vector{<:AbstractPetscVec}, val::Vector{$PetscScalar} ) @@ -4334,7 +4334,7 @@ See also: `VecMDotEnd()`, `VecNormBegin()`, `VecNormEnd()`, `VecNorm()`, `VecDot $(_doc_external("Vec/VecMDotBegin")) """ function VecMDotBegin(petsclib::PetscLibType, x::AbstractPetscVec, nv::Integer, y::Vector{<:AbstractPetscVec}, result::AbstractVector{<:Number}) - error("VecMDotBegin: no generated method for these argument types") + throw(MethodError(VecMDotBegin, (petsclib, x, nv, y, result))) end @for_petsc function VecMDotBegin(petsclib::$UnionPetscLib, x::AbstractPetscVec, nv::$PetscInt, y::Vector{<:AbstractPetscVec}, result::Vector{$PetscScalar} ) @@ -4371,7 +4371,7 @@ See also: `VecMDotBegin()`, `VecNormBegin()`, `VecNormEnd()`, `VecNorm()`, `VecD $(_doc_external("Vec/VecMDotEnd")) """ function VecMDotEnd(petsclib::PetscLibType, x::AbstractPetscVec, nv::Integer, y::Vector{<:AbstractPetscVec}, result::AbstractVector{<:Number}) - error("VecMDotEnd: no generated method for these argument types") + throw(MethodError(VecMDotEnd, (petsclib, x, nv, y, result))) end @for_petsc function VecMDotEnd(petsclib::$UnionPetscLib, x::AbstractPetscVec, nv::$PetscInt, y::Vector{<:AbstractPetscVec}, result::Vector{$PetscScalar} ) @@ -4409,7 +4409,7 @@ See also: `Vec`, `VecType`, `VecCreateSeq()`, `VecCreate()`, `VecDuplicate()`, ` $(_doc_external("Vec/VecMPISetGhost")) """ function VecMPISetGhost(petsclib::PetscLibType, vv::AbstractPetscVec, nghost::Integer, ghosts::AbstractVector{<:Number}) - error("VecMPISetGhost: no generated method for these argument types") + throw(MethodError(VecMPISetGhost, (petsclib, vv, nghost, ghosts))) end @for_petsc function VecMPISetGhost(petsclib::$UnionPetscLib, vv::AbstractPetscVec, nghost::$PetscInt, ghosts::Vector{$PetscInt} ) @@ -4461,7 +4461,7 @@ See also: `Vec`, `VecMDot()`, `VecTDot()` $(_doc_external("Vec/VecMTDot")) """ function VecMTDot(petsclib::PetscLibType, x::AbstractPetscVec, nv::Integer, y::Vector{<:AbstractPetscVec}, val::AbstractVector{<:Number}) - error("VecMTDot: no generated method for these argument types") + throw(MethodError(VecMTDot, (petsclib, x, nv, y, val))) end @for_petsc function VecMTDot(petsclib::$UnionPetscLib, x::AbstractPetscVec, nv::$PetscInt, y::Vector{<:AbstractPetscVec}, val::Vector{$PetscScalar} ) @@ -4496,7 +4496,7 @@ See also: `VecMTDotEnd()`, `VecNormBegin()`, `VecNormEnd()`, `VecNorm()`, `VecDo $(_doc_external("Vec/VecMTDotBegin")) """ function VecMTDotBegin(petsclib::PetscLibType, x::AbstractPetscVec, nv::Integer, y::Vector{<:AbstractPetscVec}, result::AbstractVector{<:Number}) - error("VecMTDotBegin: no generated method for these argument types") + throw(MethodError(VecMTDotBegin, (petsclib, x, nv, y, result))) end @for_petsc function VecMTDotBegin(petsclib::$UnionPetscLib, x::AbstractPetscVec, nv::$PetscInt, y::Vector{<:AbstractPetscVec}, result::Vector{$PetscScalar} ) @@ -4533,7 +4533,7 @@ See also: `VecMTDotBegin()`, `VecNormBegin()`, `VecNormEnd()`, `VecNorm()`, `Vec $(_doc_external("Vec/VecMTDotEnd")) """ function VecMTDotEnd(petsclib::PetscLibType, x::AbstractPetscVec, nv::Integer, y::Vector{<:AbstractPetscVec}) - error("VecMTDotEnd: no generated method for these argument types") + throw(MethodError(VecMTDotEnd, (petsclib, x, nv, y))) end @for_petsc function VecMTDotEnd(petsclib::$UnionPetscLib, x::AbstractPetscVec, nv::$PetscInt, y::Vector{<:AbstractPetscVec} ) @@ -4571,7 +4571,7 @@ See also: `Vec`, `VecNorm()`, `VecMin()` $(_doc_external("Vec/VecMax")) """ function VecMax(petsclib::PetscLibType, x::AbstractPetscVec) - error("VecMax: no generated method for these argument types") + throw(MethodError(VecMax, (petsclib, x))) end @for_petsc function VecMax(petsclib::$UnionPetscLib, x::AbstractPetscVec ) @@ -4612,7 +4612,7 @@ See also: `Vec`, `VecPointwiseDivide()`, `VecPointwiseMult()`, `VecPointwiseMax( $(_doc_external("Vec/VecMaxPointwiseDivide")) """ function VecMaxPointwiseDivide(petsclib::PetscLibType, x::AbstractPetscVec, y::AbstractPetscVec) - error("VecMaxPointwiseDivide: no generated method for these argument types") + throw(MethodError(VecMaxPointwiseDivide, (petsclib, x, y))) end @for_petsc function VecMaxPointwiseDivide(petsclib::$UnionPetscLib, x::AbstractPetscVec, y::AbstractPetscVec ) @@ -4650,7 +4650,7 @@ See also: `Vec`, `VecSum()`, `VecNorm()` $(_doc_external("Vec/VecMean")) """ function VecMean(petsclib::PetscLibType, v::AbstractPetscVec) - error("VecMean: no generated method for these argument types") + throw(MethodError(VecMean, (petsclib, v))) end @for_petsc function VecMean(petsclib::$UnionPetscLib, v::AbstractPetscVec ) @@ -4692,7 +4692,7 @@ See also: `Vec` $(_doc_external("Vec/VecMedian")) """ function VecMedian(petsclib::PetscLibType, Vec1::AbstractPetscVec, Vec2::AbstractPetscVec, Vec3::AbstractPetscVec, VMedian::AbstractPetscVec) - error("VecMedian: no generated method for these argument types") + throw(MethodError(VecMedian, (petsclib, Vec1, Vec2, Vec3, VMedian))) end @for_petsc function VecMedian(petsclib::$UnionPetscLib, Vec1::AbstractPetscVec, Vec2::AbstractPetscVec, Vec3::AbstractPetscVec, VMedian::AbstractPetscVec ) @@ -4729,7 +4729,7 @@ See also: `Vec`, `VecMax()` $(_doc_external("Vec/VecMin")) """ function VecMin(petsclib::PetscLibType, x::AbstractPetscVec) - error("VecMin: no generated method for these argument types") + throw(MethodError(VecMin, (petsclib, x))) end @for_petsc function VecMin(petsclib::$UnionPetscLib, x::AbstractPetscVec ) @@ -4769,7 +4769,7 @@ See also: `VECNEST`, `Vec`, `VecType`, `VecNestGetSubVec()`, `VecNestGetSubVecs( $(_doc_external("Vec/VecNestGetSize")) """ function VecNestGetSize(petsclib::PetscLibType, X::AbstractPetscVec) - error("VecNestGetSize: no generated method for these argument types") + throw(MethodError(VecNestGetSize, (petsclib, X))) end @for_petsc function VecNestGetSize(petsclib::$UnionPetscLib, X::AbstractPetscVec ) @@ -4808,7 +4808,7 @@ See also: `VECNEST`, `Vec`, `VecType`, `VecNestGetSize()`, `VecNestGetSubVecs()` $(_doc_external("Vec/VecNestGetSubVec")) """ function VecNestGetSubVec(petsclib::PetscLibType, X::AbstractPetscVec, idxm::Integer) - error("VecNestGetSubVec: no generated method for these argument types") + throw(MethodError(VecNestGetSubVec, (petsclib, X, idxm))) end @for_petsc function VecNestGetSubVec(petsclib::$UnionPetscLib, X::AbstractPetscVec, idxm::$PetscInt ) @@ -4847,7 +4847,7 @@ See also: `VECNEST`, `Vec`, `VecType`, `VecNestGetSize()`, `VecNestGetSubVec()`, $(_doc_external("Vec/VecNestGetSubVecs")) """ function VecNestGetSubVecs(petsclib::PetscLibType, X::AbstractPetscVec) - error("VecNestGetSubVecs: no generated method for these argument types") + throw(MethodError(VecNestGetSubVecs, (petsclib, X))) end @for_petsc function VecNestGetSubVecs(petsclib::$UnionPetscLib, X::AbstractPetscVec ) @@ -4939,7 +4939,7 @@ to that function will be returned `NULL` by this function. $(_doc_external("TaoTerm/VecNestGetTaoTermSumParameters")) """ function VecNestGetTaoTermSumParameters(petsclib::PetscLibType, params::AbstractPetscVec, index::Integer) - error("VecNestGetTaoTermSumParameters: no generated method for these argument types") + throw(MethodError(VecNestGetTaoTermSumParameters, (petsclib, params, index))) end @for_petsc function VecNestGetTaoTermSumParameters(petsclib::$UnionPetscLib, params::AbstractPetscVec, index::$PetscInt ) @@ -5019,7 +5019,7 @@ See also: `VECNEST`, `Vec`, `VecType`, `VecNestSetSubVecs()`, `VecNestGetSubVec( $(_doc_external("Vec/VecNestSetSubVec")) """ function VecNestSetSubVec(petsclib::PetscLibType, X::AbstractPetscVec, idxm::Integer, sx::AbstractPetscVec) - error("VecNestSetSubVec: no generated method for these argument types") + throw(MethodError(VecNestSetSubVec, (petsclib, X, idxm, sx))) end @for_petsc function VecNestSetSubVec(petsclib::$UnionPetscLib, X::AbstractPetscVec, idxm::$PetscInt, sx::AbstractPetscVec ) @@ -5055,7 +5055,7 @@ See also: `VECNEST`, `Vec`, `VecType`, `VecNestGetSize()`, `VecNestGetSubVec()` $(_doc_external("Vec/VecNestSetSubVecs")) """ function VecNestSetSubVecs(petsclib::PetscLibType, X::AbstractPetscVec, N::Integer, idxm::AbstractVector{<:Number}, sx::Vector{<:AbstractPetscVec}) - error("VecNestSetSubVecs: no generated method for these argument types") + throw(MethodError(VecNestSetSubVecs, (petsclib, X, N, idxm, sx))) end @for_petsc function VecNestSetSubVecs(petsclib::$UnionPetscLib, X::AbstractPetscVec, N::$PetscInt, idxm::Vector{$PetscInt}, sx::Vector{<:AbstractPetscVec} ) @@ -5093,7 +5093,7 @@ See also: `Vec`, `NormType`, `VecDot()`, `VecTDot()`, `VecDotBegin()`, `VecDotEn $(_doc_external("Vec/VecNorm")) """ function VecNorm(petsclib::PetscLibType, x::AbstractPetscVec, type::NormType) - error("VecNorm: no generated method for these argument types") + throw(MethodError(VecNorm, (petsclib, x, type))) end @for_petsc function VecNorm(petsclib::$UnionPetscLib, x::AbstractPetscVec, type::NormType ) @@ -5136,7 +5136,7 @@ See also: `Vec`, `VecDot()`, `VecTDot()`, `VecNorm()`, `VecDotBegin()`, `VecDotE $(_doc_external("Vec/VecNormAvailable")) """ function VecNormAvailable(petsclib::PetscLibType, x::AbstractPetscVec, type::NormType) - error("VecNormAvailable: no generated method for these argument types") + throw(MethodError(VecNormAvailable, (petsclib, x, type))) end @for_petsc function VecNormAvailable(petsclib::$UnionPetscLib, x::AbstractPetscVec, type::NormType ) @@ -5173,7 +5173,7 @@ See also: `VecNormEnd()`, `VecNorm()`, `VecDot()`, `VecMDot()`, `VecDotBegin()`, $(_doc_external("Vec/VecNormBegin")) """ function VecNormBegin(petsclib::PetscLibType, x::AbstractPetscVec, ntype::NormType) - error("VecNormBegin: no generated method for these argument types") + throw(MethodError(VecNormBegin, (petsclib, x, ntype))) end @for_petsc function VecNormBegin(petsclib::$UnionPetscLib, x::AbstractPetscVec, ntype::NormType ) @@ -5208,7 +5208,7 @@ See also: `VecNormBegin()`, `VecNorm()`, `VecDot()`, `VecMDot()`, `VecDotBegin() $(_doc_external("Vec/VecNormEnd")) """ function VecNormEnd(petsclib::PetscLibType, x::AbstractPetscVec, ntype::NormType) - error("VecNormEnd: no generated method for these argument types") + throw(MethodError(VecNormEnd, (petsclib, x, ntype))) end @for_petsc function VecNormEnd(petsclib::$UnionPetscLib, x::AbstractPetscVec, ntype::NormType ) @@ -5246,7 +5246,7 @@ See also: `Vec`, `VecNorm()`, `NORM_2`, `NormType` $(_doc_external("Vec/VecNormalize")) """ function VecNormalize(petsclib::PetscLibType, x::AbstractPetscVec) - error("VecNormalize: no generated method for these argument types") + throw(MethodError(VecNormalize, (petsclib, x))) end @for_petsc function VecNormalize(petsclib::$UnionPetscLib, x::AbstractPetscVec ) @@ -5281,7 +5281,7 @@ See also: `Vec`, `MatPermute()` $(_doc_external("Vec/VecPermute")) """ function VecPermute(petsclib::PetscLibType, x::AbstractPetscVec, row::AbstractIS, inv::PetscBool) - error("VecPermute: no generated method for these argument types") + throw(MethodError(VecPermute, (petsclib, x, row, inv))) end @for_petsc function VecPermute(petsclib::$UnionPetscLib, x::AbstractPetscVec, row::AbstractIS, inv::PetscBool ) @@ -5317,7 +5317,7 @@ See also: `Vec`, `VecGetArray()`, `VecRestoreArray()`, `VecReplaceArray()`, `Vec $(_doc_external("Vec/VecPlaceArray")) """ function VecPlaceArray(petsclib::PetscLibType, vec::AbstractPetscVec, array::AbstractVector{<:Number}) - error("VecPlaceArray: no generated method for these argument types") + throw(MethodError(VecPlaceArray, (petsclib, vec, array))) end @for_petsc function VecPlaceArray(petsclib::$UnionPetscLib, vec::AbstractPetscVec, array::Vector{$PetscScalar} ) @@ -5354,7 +5354,7 @@ See also: `Vec`, `VecPointwiseMult()`, `VecPointwiseMax()`, `VecPointwiseMin()`, $(_doc_external("Vec/VecPointwiseDivide")) """ function VecPointwiseDivide(petsclib::PetscLibType, w::AbstractPetscVec, x::AbstractPetscVec, y::AbstractPetscVec) - error("VecPointwiseDivide: no generated method for these argument types") + throw(MethodError(VecPointwiseDivide, (petsclib, w, x, y))) end @for_petsc function VecPointwiseDivide(petsclib::$UnionPetscLib, w::AbstractPetscVec, x::AbstractPetscVec, y::AbstractPetscVec ) @@ -5391,7 +5391,7 @@ See also: `Vec`, `VecPointwiseDivide()`, `VecPointwiseMult()`, `VecPointwiseMin( $(_doc_external("Vec/VecPointwiseMax")) """ function VecPointwiseMax(petsclib::PetscLibType, w::AbstractPetscVec, x::AbstractPetscVec, y::AbstractPetscVec) - error("VecPointwiseMax: no generated method for these argument types") + throw(MethodError(VecPointwiseMax, (petsclib, w, x, y))) end @for_petsc function VecPointwiseMax(petsclib::$UnionPetscLib, w::AbstractPetscVec, x::AbstractPetscVec, y::AbstractPetscVec ) @@ -5428,7 +5428,7 @@ See also: `Vec`, `VecPointwiseDivide()`, `VecPointwiseMult()`, `VecPointwiseMin( $(_doc_external("Vec/VecPointwiseMaxAbs")) """ function VecPointwiseMaxAbs(petsclib::PetscLibType, w::AbstractPetscVec, x::AbstractPetscVec, y::AbstractPetscVec) - error("VecPointwiseMaxAbs: no generated method for these argument types") + throw(MethodError(VecPointwiseMaxAbs, (petsclib, w, x, y))) end @for_petsc function VecPointwiseMaxAbs(petsclib::$UnionPetscLib, w::AbstractPetscVec, x::AbstractPetscVec, y::AbstractPetscVec ) @@ -5465,7 +5465,7 @@ See also: `Vec`, `VecPointwiseDivide()`, `VecPointwiseMult()`, `VecPointwiseMaxA $(_doc_external("Vec/VecPointwiseMin")) """ function VecPointwiseMin(petsclib::PetscLibType, w::AbstractPetscVec, x::AbstractPetscVec, y::AbstractPetscVec) - error("VecPointwiseMin: no generated method for these argument types") + throw(MethodError(VecPointwiseMin, (petsclib, w, x, y))) end @for_petsc function VecPointwiseMin(petsclib::$UnionPetscLib, w::AbstractPetscVec, x::AbstractPetscVec, y::AbstractPetscVec ) @@ -5502,7 +5502,7 @@ See also: `Vec`, `VecPointwiseDivide()`, `VecPointwiseMax()`, `VecPointwiseMin() $(_doc_external("Vec/VecPointwiseMult")) """ function VecPointwiseMult(petsclib::PetscLibType, w::AbstractPetscVec, x::AbstractPetscVec, y::AbstractPetscVec) - error("VecPointwiseMult: no generated method for these argument types") + throw(MethodError(VecPointwiseMult, (petsclib, w, x, y))) end @for_petsc function VecPointwiseMult(petsclib::$UnionPetscLib, w::AbstractPetscVec, x::AbstractPetscVec, y::AbstractPetscVec ) @@ -5539,7 +5539,7 @@ See also: `Vec`, `VecSignMode` $(_doc_external("Vec/VecPointwiseSign")) """ function VecPointwiseSign(petsclib::PetscLibType, y::AbstractPetscVec, x::AbstractPetscVec, sign_type::VecSignMode) - error("VecPointwiseSign: no generated method for these argument types") + throw(MethodError(VecPointwiseSign, (petsclib, y, x, sign_type))) end @for_petsc function VecPointwiseSign(petsclib::$UnionPetscLib, y::AbstractPetscVec, x::AbstractPetscVec, sign_type::VecSignMode ) @@ -5573,7 +5573,7 @@ See also: `Vec` $(_doc_external("Vec/VecPow")) """ function VecPow(petsclib::PetscLibType, v::AbstractPetscVec, p::Number) - error("VecPow: no generated method for these argument types") + throw(MethodError(VecPow, (petsclib, v, p))) end @for_petsc function VecPow(petsclib::$UnionPetscLib, v::AbstractPetscVec, p::$PetscScalar ) @@ -5606,7 +5606,7 @@ See also: `Vec`, `VecNorm()`, `VecImaginaryPart()` $(_doc_external("Vec/VecRealPart")) """ function VecRealPart(petsclib::PetscLibType, v::AbstractPetscVec) - error("VecRealPart: no generated method for these argument types") + throw(MethodError(VecRealPart, (petsclib, v))) end @for_petsc function VecRealPart(petsclib::$UnionPetscLib, v::AbstractPetscVec ) @@ -5642,7 +5642,7 @@ See also: `Vec`, `VecLog()`, `VecExp()`, `VecSqrtAbs()` $(_doc_external("Vec/VecReciprocal")) """ function VecReciprocal(petsclib::PetscLibType, vec::AbstractPetscVec) - error("VecReciprocal: no generated method for these argument types") + throw(MethodError(VecReciprocal, (petsclib, vec))) end @for_petsc function VecReciprocal(petsclib::$UnionPetscLib, vec::AbstractPetscVec ) @@ -5674,7 +5674,7 @@ See also: `VecRegisterAll()`, `VecRegisterDestroy()` $(_doc_external("Vec/VecRegister")) """ function VecRegister(petsclib::PetscLibType, sname::String, fnc::external) - error("VecRegister: no generated method for these argument types") + throw(MethodError(VecRegister, (petsclib, sname, fnc))) end @for_petsc function VecRegister(petsclib::$UnionPetscLib, sname::String, fnc::external ) @@ -5704,7 +5704,7 @@ See also: `Vec`, `VecType`, `VecRegister()`, `VecRegisterDestroy()` $(_doc_external("Vec/VecRegisterAll")) """ function VecRegisterAll(petsclib::PetscLibType) - error("VecRegisterAll: no generated method for these argument types") + throw(MethodError(VecRegisterAll, (petsclib, ))) end @for_petsc function VecRegisterAll(petsclib::$UnionPetscLib) @@ -5739,7 +5739,7 @@ See also: `Vec`, `VecGetArray()`, `VecRestoreArray()`, `VecPlaceArray()`, `VecRe $(_doc_external("Vec/VecReplaceArray")) """ function VecReplaceArray(petsclib::PetscLibType, vec::AbstractPetscVec, array::AbstractVector{<:Number}) - error("VecReplaceArray: no generated method for these argument types") + throw(MethodError(VecReplaceArray, (petsclib, vec, array))) end @for_petsc function VecReplaceArray(petsclib::$UnionPetscLib, vec::AbstractPetscVec, array::Vector{$PetscScalar} ) @@ -5773,7 +5773,7 @@ See also: `Vec`, `VecGetArray()`, `VecRestoreArray()`, `VecReplaceArray()`, `Vec $(_doc_external("Vec/VecResetArray")) """ function VecResetArray(petsclib::PetscLibType, vec::AbstractPetscVec) - error("VecResetArray: no generated method for these argument types") + throw(MethodError(VecResetArray, (petsclib, vec))) end @for_petsc function VecResetArray(petsclib::$UnionPetscLib, vec::AbstractPetscVec ) @@ -5808,7 +5808,7 @@ See also: `Vec`, `VecGetArray()`, `VecRestoreArrayRead()`, `VecRestoreArrays()`, $(_doc_external("Vec/VecRestoreArray")) """ function VecRestoreArray(petsclib::PetscLibType, x::AbstractPetscVec, a::Union{Ptr, AbstractArray{<:Number}}) - error("VecRestoreArray: no generated method for these argument types") + throw(MethodError(VecRestoreArray, (petsclib, x, a))) end @for_petsc function VecRestoreArray(petsclib::$UnionPetscLib, x::AbstractPetscVec, a::Union{Ptr, AbstractArray{$PetscScalar}} ) @@ -6389,7 +6389,7 @@ See also: `Vec`, `VecGetArrayAndMemType()`, `VecGetArray()`, `VecRestoreArrayRea $(_doc_external("Vec/VecRestoreArrayAndMemType")) """ function VecRestoreArrayAndMemType(petsclib::PetscLibType, x::AbstractPetscVec, a::Union{Ptr, AbstractArray{<:Number}}) - error("VecRestoreArrayAndMemType: no generated method for these argument types") + throw(MethodError(VecRestoreArrayAndMemType, (petsclib, x, a))) end @for_petsc function VecRestoreArrayAndMemType(petsclib::$UnionPetscLib, x::AbstractPetscVec, a::Union{Ptr, AbstractArray{$PetscScalar}} ) @@ -6424,7 +6424,7 @@ See also: `Vec`, `VecGetArray()`, `VecRestoreArray()`, `VecGetArrayPair()`, `Vec $(_doc_external("Vec/VecRestoreArrayRead")) """ function VecRestoreArrayRead(petsclib::PetscLibType, x::AbstractPetscVec, a::Union{Ptr, AbstractArray{<:Number}}) - error("VecRestoreArrayRead: no generated method for these argument types") + throw(MethodError(VecRestoreArrayRead, (petsclib, x, a))) end @for_petsc function VecRestoreArrayRead(petsclib::$UnionPetscLib, x::AbstractPetscVec, a::Union{Ptr, AbstractArray{$PetscScalar}} ) @@ -6459,7 +6459,7 @@ See also: `Vec`, `VecGetArrayReadAndMemType()`, `VecRestoreArrayAndMemType()`, ` $(_doc_external("Vec/VecRestoreArrayReadAndMemType")) """ function VecRestoreArrayReadAndMemType(petsclib::PetscLibType, x::AbstractPetscVec, a::Union{Ptr, AbstractArray{<:Number}}) - error("VecRestoreArrayReadAndMemType: no generated method for these argument types") + throw(MethodError(VecRestoreArrayReadAndMemType, (petsclib, x, a))) end @for_petsc function VecRestoreArrayReadAndMemType(petsclib::$UnionPetscLib, x::AbstractPetscVec, a::Union{Ptr, AbstractArray{$PetscScalar}} ) @@ -6495,7 +6495,7 @@ See also: `Vec`, `VecGetArray()`, `VecRestoreArrayRead()`, `VecRestoreArrays()`, $(_doc_external("Vec/VecRestoreArrayWrite")) """ function VecRestoreArrayWrite(petsclib::PetscLibType, x::AbstractPetscVec, a::Union{Ptr, AbstractArray{<:Number}}) - error("VecRestoreArrayWrite: no generated method for these argument types") + throw(MethodError(VecRestoreArrayWrite, (petsclib, x, a))) end @for_petsc function VecRestoreArrayWrite(petsclib::$UnionPetscLib, x::AbstractPetscVec, a::Union{Ptr, AbstractArray{$PetscScalar}} ) @@ -6530,7 +6530,7 @@ See also: `Vec`, `VecGetArrayWriteAndMemType()`, `VecRestoreArrayAndMemType()`, $(_doc_external("Vec/VecRestoreArrayWriteAndMemType")) """ function VecRestoreArrayWriteAndMemType(petsclib::PetscLibType, x::AbstractPetscVec, a::Union{Ptr, AbstractArray{<:Number}}) - error("VecRestoreArrayWriteAndMemType: no generated method for these argument types") + throw(MethodError(VecRestoreArrayWriteAndMemType, (petsclib, x, a))) end @for_petsc function VecRestoreArrayWriteAndMemType(petsclib::$UnionPetscLib, x::AbstractPetscVec, a::Union{Ptr, AbstractArray{$PetscScalar}} ) @@ -6565,7 +6565,7 @@ See also: `Vec`, `VecGetArrays()`, `VecRestoreArray()` $(_doc_external("Vec/VecRestoreArrays")) """ function VecRestoreArrays(petsclib::PetscLibType, x::Vector{<:AbstractPetscVec}, n::Integer, a::AbstractVector{<:Number}) - error("VecRestoreArrays: no generated method for these argument types") + throw(MethodError(VecRestoreArrays, (petsclib, x, n, a))) end @for_petsc function VecRestoreArrays(petsclib::$UnionPetscLib, x::Vector{<:AbstractPetscVec}, n::$PetscInt, a::Vector{$PetscScalar} ) @@ -6600,7 +6600,7 @@ See also: `Vec`, `VecCreateLocalVector()`, `VecGetLocalVector()`, `VecGetLocalVe $(_doc_external("Vec/VecRestoreLocalVector")) """ function VecRestoreLocalVector(petsclib::PetscLibType, v::AbstractPetscVec, w::AbstractPetscVec) - error("VecRestoreLocalVector: no generated method for these argument types") + throw(MethodError(VecRestoreLocalVector, (petsclib, v, w))) end @for_petsc function VecRestoreLocalVector(petsclib::$UnionPetscLib, v::AbstractPetscVec, w::AbstractPetscVec ) @@ -6635,7 +6635,7 @@ See also: `Vec`, `VecCreateLocalVector()`, `VecGetLocalVectorRead()`, `VecGetLoc $(_doc_external("Vec/VecRestoreLocalVectorRead")) """ function VecRestoreLocalVectorRead(petsclib::PetscLibType, v::AbstractPetscVec, w::AbstractPetscVec) - error("VecRestoreLocalVectorRead: no generated method for these argument types") + throw(MethodError(VecRestoreLocalVectorRead, (petsclib, v, w))) end @for_petsc function VecRestoreLocalVectorRead(petsclib::$UnionPetscLib, v::AbstractPetscVec, w::AbstractPetscVec ) @@ -6670,7 +6670,7 @@ See also: `Vec`, `IS`, `VecGetSubVector()` $(_doc_external("Vec/VecRestoreSubVector")) """ function VecRestoreSubVector(petsclib::PetscLibType, X::AbstractPetscVec, is::AbstractIS, Y::AbstractPetscVec) - error("VecRestoreSubVector: no generated method for these argument types") + throw(MethodError(VecRestoreSubVector, (petsclib, X, is, Y))) end @for_petsc function VecRestoreSubVector(petsclib::$UnionPetscLib, X::AbstractPetscVec, is::AbstractIS, Y::AbstractPetscVec ) @@ -6723,7 +6723,7 @@ See also: `Vec`, `VecDot()`, `VecMTDot()` $(_doc_external("Vec/VecTDot")) """ function VecTDot(petsclib::PetscLibType, x::AbstractPetscVec, y::AbstractPetscVec) - error("VecTDot: no generated method for these argument types") + throw(MethodError(VecTDot, (petsclib, x, y))) end @for_petsc function VecTDot(petsclib::$UnionPetscLib, x::AbstractPetscVec, y::AbstractPetscVec ) @@ -6759,7 +6759,7 @@ See also: `VecTDotEnd()`, `VecNormBegin()`, `VecNormEnd()`, `VecNorm()`, `VecDot $(_doc_external("Vec/VecTDotBegin")) """ function VecTDotBegin(petsclib::PetscLibType, x::AbstractPetscVec, y::AbstractPetscVec) - error("VecTDotBegin: no generated method for these argument types") + throw(MethodError(VecTDotBegin, (petsclib, x, y))) end @for_petsc function VecTDotBegin(petsclib::$UnionPetscLib, x::AbstractPetscVec, y::AbstractPetscVec ) @@ -6795,7 +6795,7 @@ See also: `VecTDotBegin()`, `VecNormBegin()`, `VecNormEnd()`, `VecNorm()`, `VecD $(_doc_external("Vec/VecTDotEnd")) """ function VecTDotEnd(petsclib::PetscLibType, x::AbstractPetscVec, y::AbstractPetscVec) - error("VecTDotEnd: no generated method for these argument types") + throw(MethodError(VecTDotEnd, (petsclib, x, y))) end @for_petsc function VecTDotEnd(petsclib::$UnionPetscLib, x::AbstractPetscVec, y::AbstractPetscVec ) @@ -6834,7 +6834,7 @@ See also: `Vec` $(_doc_external("Vec/VecUniqueEntries")) """ function VecUniqueEntries(petsclib::PetscLibType, vec::AbstractPetscVec) - error("VecUniqueEntries: no generated method for these argument types") + throw(MethodError(VecUniqueEntries, (petsclib, vec))) end @for_petsc function VecUniqueEntries(petsclib::$UnionPetscLib, vec::AbstractPetscVec ) @@ -6874,7 +6874,7 @@ See also: `Vec`, `VecViewFromOptions()`, `PetscViewerASCIIOpen()`, `PetscViewerD $(_doc_external("Vec/VecView")) """ function VecView(petsclib::PetscLibType, vec::AbstractPetscVec, viewer::PetscViewer) - error("VecView: no generated method for these argument types") + throw(MethodError(VecView, (petsclib, vec, viewer))) end @for_petsc function VecView(petsclib::$UnionPetscLib, vec::AbstractPetscVec, viewer::PetscViewer ) @@ -6912,7 +6912,7 @@ See also: `Vec`, `VecView`, `PetscObjectViewFromOptions()`, `VecCreate()` $(_doc_external("Vec/VecViewFromOptions")) """ function VecViewFromOptions(petsclib::PetscLibType, A::AbstractPetscVec, obj, name::String) - error("VecViewFromOptions: no generated method for these argument types") + throw(MethodError(VecViewFromOptions, (petsclib, A, obj, name))) end @for_petsc function VecViewFromOptions(petsclib::$UnionPetscLib, A::AbstractPetscVec, obj, name::String ) @@ -6948,7 +6948,7 @@ See also: `Vec`, `PetscViewerASCIIOpen()`, `PetscViewerDrawOpen()`, `PetscDrawLG $(_doc_external("Vec/VecViewNative")) """ function VecViewNative(petsclib::PetscLibType, vec::AbstractPetscVec, viewer::PetscViewer) - error("VecViewNative: no generated method for these argument types") + throw(MethodError(VecViewNative, (petsclib, vec, viewer))) end @for_petsc function VecViewNative(petsclib::$UnionPetscLib, vec::AbstractPetscVec, viewer::PetscViewer ) @@ -6986,7 +6986,7 @@ See also: `Vec`, `VecAXPY()`, `VecAYPX()`, `VecAXPBY()`, `VecMAXPY()`, `VecAXPBY $(_doc_external("Vec/VecWAXPY")) """ function VecWAXPY(petsclib::PetscLibType, w::AbstractPetscVec, alpha::Number, x::AbstractPetscVec, y::AbstractPetscVec) - error("VecWAXPY: no generated method for these argument types") + throw(MethodError(VecWAXPY, (petsclib, w, alpha, x, y))) end @for_petsc function VecWAXPY(petsclib::$UnionPetscLib, w::AbstractPetscVec, alpha::$PetscScalar, x::AbstractPetscVec, y::AbstractPetscVec ) @@ -7025,7 +7025,7 @@ See also: `Vec` $(_doc_external("Vec/VecWhichBetween")) """ function VecWhichBetween(petsclib::PetscLibType, VecLow::AbstractPetscVec, V::AbstractPetscVec, VecHigh::AbstractPetscVec) - error("VecWhichBetween: no generated method for these argument types") + throw(MethodError(VecWhichBetween, (petsclib, VecLow, V, VecHigh))) end @for_petsc function VecWhichBetween(petsclib::$UnionPetscLib, VecLow::AbstractPetscVec, V::AbstractPetscVec, VecHigh::AbstractPetscVec ) @@ -7066,7 +7066,7 @@ See also: `Vec` $(_doc_external("Vec/VecWhichBetweenOrEqual")) """ function VecWhichBetweenOrEqual(petsclib::PetscLibType, VecLow::AbstractPetscVec, V::AbstractPetscVec, VecHigh::AbstractPetscVec) - error("VecWhichBetweenOrEqual: no generated method for these argument types") + throw(MethodError(VecWhichBetweenOrEqual, (petsclib, VecLow, V, VecHigh))) end @for_petsc function VecWhichBetweenOrEqual(petsclib::$UnionPetscLib, VecLow::AbstractPetscVec, V::AbstractPetscVec, VecHigh::AbstractPetscVec ) @@ -7106,7 +7106,7 @@ See also: `Vec` $(_doc_external("Vec/VecWhichEqual")) """ function VecWhichEqual(petsclib::PetscLibType, Vec1::AbstractPetscVec, Vec2::AbstractPetscVec) - error("VecWhichEqual: no generated method for these argument types") + throw(MethodError(VecWhichEqual, (petsclib, Vec1, Vec2))) end @for_petsc function VecWhichEqual(petsclib::$UnionPetscLib, Vec1::AbstractPetscVec, Vec2::AbstractPetscVec ) @@ -7146,7 +7146,7 @@ See also: `Vec` $(_doc_external("Vec/VecWhichGreaterThan")) """ function VecWhichGreaterThan(petsclib::PetscLibType, Vec1::AbstractPetscVec, Vec2::AbstractPetscVec) - error("VecWhichGreaterThan: no generated method for these argument types") + throw(MethodError(VecWhichGreaterThan, (petsclib, Vec1, Vec2))) end @for_petsc function VecWhichGreaterThan(petsclib::$UnionPetscLib, Vec1::AbstractPetscVec, Vec2::AbstractPetscVec ) @@ -7188,7 +7188,7 @@ See also: `Vec` $(_doc_external("Vec/VecWhichInactive")) """ function VecWhichInactive(petsclib::PetscLibType, VecLow::AbstractPetscVec, V::AbstractPetscVec, D::AbstractPetscVec, VecHigh::AbstractPetscVec, Strong::PetscBool) - error("VecWhichInactive: no generated method for these argument types") + throw(MethodError(VecWhichInactive, (petsclib, VecLow, V, D, VecHigh, Strong))) end @for_petsc function VecWhichInactive(petsclib::$UnionPetscLib, VecLow::AbstractPetscVec, V::AbstractPetscVec, D::AbstractPetscVec, VecHigh::AbstractPetscVec, Strong::PetscBool ) @@ -7228,7 +7228,7 @@ See also: `Vec` $(_doc_external("Vec/VecWhichLessThan")) """ function VecWhichLessThan(petsclib::PetscLibType, Vec1::AbstractPetscVec, Vec2::AbstractPetscVec) - error("VecWhichLessThan: no generated method for these argument types") + throw(MethodError(VecWhichLessThan, (petsclib, Vec1, Vec2))) end @for_petsc function VecWhichLessThan(petsclib::$UnionPetscLib, Vec1::AbstractPetscVec, Vec2::AbstractPetscVec ) @@ -7263,7 +7263,7 @@ See also: `Vec`, `VecCreate()`, `VecSetOptionsPrefix()`, `VecSet()`, `VecSetValu $(_doc_external("Vec/VecZeroEntries")) """ function VecZeroEntries(petsclib::PetscLibType, vec::AbstractPetscVec) - error("VecZeroEntries: no generated method for these argument types") + throw(MethodError(VecZeroEntries, (petsclib, vec))) end @for_petsc function VecZeroEntries(petsclib::$UnionPetscLib, vec::AbstractPetscVec ) diff --git a/src/autowrapped/Vecs_wrappers.jl b/src/autowrapped/Vecs_wrappers.jl index a000b28be..f6e80d5b9 100644 --- a/src/autowrapped/Vecs_wrappers.jl +++ b/src/autowrapped/Vecs_wrappers.jl @@ -21,7 +21,7 @@ See also: `Vec`, `VecFischer()`, `MatDFischer()`, `MatDSFischer()` $(_doc_external("Tao/VecSFischer")) """ function VecSFischer(petsclib::PetscLibType, X::AbstractPetscVec, F::AbstractPetscVec, L::AbstractPetscVec, U::AbstractPetscVec, mu::Real, FB::AbstractPetscVec) - error("VecSFischer: no generated method for these argument types") + throw(MethodError(VecSFischer, (petsclib, X, F, L, U, mu, FB))) end @for_petsc function VecSFischer(petsclib::$UnionPetscLib, X::AbstractPetscVec, F::AbstractPetscVec, L::AbstractPetscVec, U::AbstractPetscVec, mu::$PetscReal, FB::AbstractPetscVec ) @@ -55,7 +55,7 @@ See also: `Vec`, `VecSet()` $(_doc_external("Vec/VecScale")) """ function VecScale(petsclib::PetscLibType, x::AbstractPetscVec, alpha::Number) - error("VecScale: no generated method for these argument types") + throw(MethodError(VecScale, (petsclib, x, alpha))) end @for_petsc function VecScale(petsclib::$UnionPetscLib, x::AbstractPetscVec, alpha::$PetscScalar ) @@ -94,7 +94,7 @@ See also: `VecScatter`, `VecScatterCreate()`, `VecScatterEnd()`, `InsertMode`, ` $(_doc_external("Vec/VecScatterBegin")) """ function VecScatterBegin(petsclib::PetscLibType, sf::VecScatter, x::AbstractPetscVec, y::AbstractPetscVec, addv::InsertMode, mode::ScatterMode) - error("VecScatterBegin: no generated method for these argument types") + throw(MethodError(VecScatterBegin, (petsclib, sf, x, y, addv, mode))) end @for_petsc function VecScatterBegin(petsclib::$UnionPetscLib, sf::VecScatter, x::AbstractPetscVec, y::AbstractPetscVec, addv::InsertMode, mode::ScatterMode ) @@ -130,7 +130,7 @@ See also: `VecScatter`, `VecScatterType`, `VecScatterCreate()`, `VecScatterDestr $(_doc_external("Vec/VecScatterCopy")) """ function VecScatterCopy(petsclib::PetscLibType, sf::VecScatter) - error("VecScatterCopy: no generated method for these argument types") + throw(MethodError(VecScatterCopy, (petsclib, sf))) end @for_petsc function VecScatterCopy(petsclib::$UnionPetscLib, sf::VecScatter ) @@ -178,7 +178,7 @@ See also: `VecScatter`, `VecScatterDestroy()`, `VecScatterCreateToAll()`, `VecSc $(_doc_external("Vec/VecScatterCreate")) """ function VecScatterCreate(petsclib::PetscLibType, x::AbstractPetscVec, ix::AbstractIS, y::AbstractPetscVec, iy::AbstractIS) - error("VecScatterCreate: no generated method for these argument types") + throw(MethodError(VecScatterCreate, (petsclib, x, ix, y, iy))) end @for_petsc function VecScatterCreate(petsclib::$UnionPetscLib, x::AbstractPetscVec, ix::AbstractIS, y::AbstractPetscVec, iy::AbstractIS ) @@ -218,7 +218,7 @@ See also: `VecScatter`, `VecScatterCreate()`, `VecScatterCreateToZero()`, `VecSc $(_doc_external("Vec/VecScatterCreateToAll")) """ function VecScatterCreateToAll(petsclib::PetscLibType, vin::AbstractPetscVec) - error("VecScatterCreateToAll: no generated method for these argument types") + throw(MethodError(VecScatterCreateToAll, (petsclib, vin))) end @for_petsc function VecScatterCreateToAll(petsclib::$UnionPetscLib, vin::AbstractPetscVec ) @@ -261,7 +261,7 @@ See also: `VecScatter`, `VecScatterCreate()`, `VecScatterCreateToAll()`, `VecSca $(_doc_external("Vec/VecScatterCreateToZero")) """ function VecScatterCreateToZero(petsclib::PetscLibType, vin::AbstractPetscVec) - error("VecScatterCreateToZero: no generated method for these argument types") + throw(MethodError(VecScatterCreateToZero, (petsclib, vin))) end @for_petsc function VecScatterCreateToZero(petsclib::$UnionPetscLib, vin::AbstractPetscVec ) @@ -298,7 +298,7 @@ See also: `VecScatter`, `VecScatterCreate()`, `VecScatterCopy()` $(_doc_external("Vec/VecScatterDestroy")) """ function VecScatterDestroy(petsclib::PetscLibType, sf::Union{VecScatter, Ref{VecScatter}}) - error("VecScatterDestroy: no generated method for these argument types") + throw(MethodError(VecScatterDestroy, (petsclib, sf))) end @for_petsc function VecScatterDestroy(petsclib::$UnionPetscLib, sf::Union{VecScatter, Ref{VecScatter}} ) @@ -337,7 +337,7 @@ See also: `VecScatter`, `VecScatterBegin()`, `VecScatterCreate()` $(_doc_external("Vec/VecScatterEnd")) """ function VecScatterEnd(petsclib::PetscLibType, sf::VecScatter, x::AbstractPetscVec, y::AbstractPetscVec, addv::InsertMode, mode::ScatterMode) - error("VecScatterEnd: no generated method for these argument types") + throw(MethodError(VecScatterEnd, (petsclib, sf, x, y, addv, mode))) end @for_petsc function VecScatterEnd(petsclib::$UnionPetscLib, sf::VecScatter, x::AbstractPetscVec, y::AbstractPetscVec, addv::InsertMode, mode::ScatterMode ) @@ -374,7 +374,7 @@ See also: `Mat`, `VecScatterPetscToFFTW()`, `MATFFTW`, `MatCreateVecsFFTW()` $(_doc_external("Mat/VecScatterFFTWToPetsc")) """ function VecScatterFFTWToPetsc(petsclib::PetscLibType, A::AbstractPetscMat, x::AbstractPetscVec, y::AbstractPetscVec) - error("VecScatterFFTWToPetsc: no generated method for these argument types") + throw(MethodError(VecScatterFFTWToPetsc, (petsclib, A, x, y))) end @for_petsc function VecScatterFFTWToPetsc(petsclib::$UnionPetscLib, A::AbstractPetscMat, x::AbstractPetscVec, y::AbstractPetscVec ) @@ -411,7 +411,7 @@ See also: `VecScatter`, `VecScatterCreate()`, `VecScatterEnd()`, `VecScatterBegi $(_doc_external("Vec/VecScatterGetMerged")) """ function VecScatterGetMerged(petsclib::PetscLibType, sf::VecScatter) - error("VecScatterGetMerged: no generated method for these argument types") + throw(MethodError(VecScatterGetMerged, (petsclib, sf))) end @for_petsc function VecScatterGetMerged(petsclib::$UnionPetscLib, sf::VecScatter ) @@ -449,7 +449,7 @@ See also: `VecScatter`, `VecScatterType`, `VecScatterSetType()`, `VecScatterCrea $(_doc_external("Vec/VecScatterGetType")) """ function VecScatterGetType(petsclib::PetscLibType, sf::VecScatter) - error("VecScatterGetType: no generated method for these argument types") + throw(MethodError(VecScatterGetType, (petsclib, sf))) end @for_petsc function VecScatterGetType(petsclib::$UnionPetscLib, sf::VecScatter ) @@ -488,7 +488,7 @@ See also: `Mat`, `MATFFTW`, `VecScatterFFTWToPetsc()`, `MatCreateVecsFFTW()` $(_doc_external("Mat/VecScatterPetscToFFTW")) """ function VecScatterPetscToFFTW(petsclib::PetscLibType, A::AbstractPetscMat, x::AbstractPetscVec, y::AbstractPetscVec) - error("VecScatterPetscToFFTW: no generated method for these argument types") + throw(MethodError(VecScatterPetscToFFTW, (petsclib, A, x, y))) end @for_petsc function VecScatterPetscToFFTW(petsclib::$UnionPetscLib, A::AbstractPetscMat, x::AbstractPetscVec, y::AbstractPetscVec ) @@ -522,7 +522,7 @@ See also: `VecScatter`, `VecScatterType`, `VecRegister()` $(_doc_external("Vec/VecScatterRegister")) """ function VecScatterRegister(petsclib::PetscLibType, sname::String, fnc::external) - error("VecScatterRegister: no generated method for these argument types") + throw(MethodError(VecScatterRegister, (petsclib, sname, fnc))) end @for_petsc function VecScatterRegister(petsclib::$UnionPetscLib, sname::String, fnc::external ) @@ -558,7 +558,7 @@ See also: `VecScatter`, `VecScatterCreate()` $(_doc_external("Vec/VecScatterRemap")) """ function VecScatterRemap(petsclib::PetscLibType, sf::VecScatter, tomap::AbstractVector{<:Number}, frommap::AbstractVector{<:Number}) - error("VecScatterRemap: no generated method for these argument types") + throw(MethodError(VecScatterRemap, (petsclib, sf, tomap, frommap))) end @for_petsc function VecScatterRemap(petsclib::$UnionPetscLib, sf::VecScatter, tomap::Vector{$PetscInt}, frommap::Vector{$PetscInt} ) @@ -589,7 +589,7 @@ See also: `VecScatter`, `VecScatterCreate()`, `VecScatterDestroy()`, `VecScatter $(_doc_external("Vec/VecScatterSetFromOptions")) """ function VecScatterSetFromOptions(petsclib::PetscLibType, sf::VecScatter) - error("VecScatterSetFromOptions: no generated method for these argument types") + throw(MethodError(VecScatterSetFromOptions, (petsclib, sf))) end @for_petsc function VecScatterSetFromOptions(petsclib::$UnionPetscLib, sf::VecScatter ) @@ -626,7 +626,7 @@ See also: `VecScatter`, `VecScatterType`, `VecScatterGetType()`, `VecScatterCrea $(_doc_external("Vec/VecScatterSetType")) """ function VecScatterSetType(petsclib::PetscLibType, sf::VecScatter, type::VecScatterType) - error("VecScatterSetType: no generated method for these argument types") + throw(MethodError(VecScatterSetType, (petsclib, sf, type))) end @for_petsc function VecScatterSetType(petsclib::$UnionPetscLib, sf::VecScatter, type::VecScatterType ) @@ -659,7 +659,7 @@ See also: `VecScatter`, `VecScatterCreate()`, `VecScatterCopy()` $(_doc_external("Vec/VecScatterSetUp")) """ function VecScatterSetUp(petsclib::PetscLibType, sf::VecScatter) - error("VecScatterSetUp: no generated method for these argument types") + throw(MethodError(VecScatterSetUp, (petsclib, sf))) end @for_petsc function VecScatterSetUp(petsclib::$UnionPetscLib, sf::VecScatter ) @@ -693,7 +693,7 @@ See also: `VecScatter`, `PetscViewer`, `VecScatterViewFromOptions()`, `PetscObje $(_doc_external("Vec/VecScatterView")) """ function VecScatterView(petsclib::PetscLibType, sf::VecScatter, viewer::PetscViewer) - error("VecScatterView: no generated method for these argument types") + throw(MethodError(VecScatterView, (petsclib, sf, viewer))) end @for_petsc function VecScatterView(petsclib::$UnionPetscLib, sf::VecScatter, viewer::PetscViewer ) @@ -731,7 +731,7 @@ See also: `VecScatter`, `VecScatterView()`, `PetscObjectViewFromOptions()`, `Vec $(_doc_external("Vec/VecScatterViewFromOptions")) """ function VecScatterViewFromOptions(petsclib::PetscLibType, sf::VecScatter, obj, name::String) - error("VecScatterViewFromOptions: no generated method for these argument types") + throw(MethodError(VecScatterViewFromOptions, (petsclib, sf, obj, name))) end @for_petsc function VecScatterViewFromOptions(petsclib::$UnionPetscLib, sf::VecScatter, obj, name::String ) @@ -765,7 +765,7 @@ See also: `Vec`, `VecSetValues()`, `VecSetValuesBlocked()`, `VecSetRandom()` $(_doc_external("Vec/VecSet")) """ function VecSet(petsclib::PetscLibType, x::AbstractPetscVec, alpha::Number) - error("VecSet: no generated method for these argument types") + throw(MethodError(VecSet, (petsclib, x, alpha))) end @for_petsc function VecSet(petsclib::$UnionPetscLib, x::AbstractPetscVec, alpha::$PetscScalar ) @@ -797,7 +797,7 @@ See also: `Vec`, `MatSetBindingPropagates()`, `VecGetBindingPropagates()` $(_doc_external("Vec/VecSetBindingPropagates")) """ function VecSetBindingPropagates(petsclib::PetscLibType, v::AbstractPetscVec, flg::PetscBool) - error("VecSetBindingPropagates: no generated method for these argument types") + throw(MethodError(VecSetBindingPropagates, (petsclib, v, flg))) end @for_petsc function VecSetBindingPropagates(petsclib::$UnionPetscLib, v::AbstractPetscVec, flg::PetscBool ) @@ -832,7 +832,7 @@ See also: `Vec`, `VecSetValuesBlocked()`, `VecSetLocalToGlobalMapping()`, `VecGe $(_doc_external("Vec/VecSetBlockSize")) """ function VecSetBlockSize(petsclib::PetscLibType, v::AbstractPetscVec, bs::Integer) - error("VecSetBlockSize: no generated method for these argument types") + throw(MethodError(VecSetBlockSize, (petsclib, v, bs))) end @for_petsc function VecSetBlockSize(petsclib::$UnionPetscLib, v::AbstractPetscVec, bs::$PetscInt ) @@ -866,7 +866,7 @@ See also: `DM`, `VecGetDM()`, `DMGetLocalVector()`, `DMGetGlobalVector()`, `DMSe $(_doc_external("DM/VecSetDM")) """ function VecSetDM(petsclib::PetscLibType, v::AbstractPetscVec, dm::AbstractPetscDM) - error("VecSetDM: no generated method for these argument types") + throw(MethodError(VecSetDM, (petsclib, v, dm))) end @for_petsc function VecSetDM(petsclib::$UnionPetscLib, v::AbstractPetscVec, dm::AbstractPetscDM ) @@ -899,7 +899,7 @@ See also: `Vec`, `VecCreate()`, `VecSetOptionsPrefix()` $(_doc_external("Vec/VecSetFromOptions")) """ function VecSetFromOptions(petsclib::PetscLibType, vec::AbstractPetscVec) - error("VecSetFromOptions: no generated method for these argument types") + throw(MethodError(VecSetFromOptions, (petsclib, vec))) end @for_petsc function VecSetFromOptions(petsclib::$UnionPetscLib, vec::AbstractPetscVec ) @@ -933,7 +933,7 @@ See also: `Vec`, `PetscLayout`, `VecGetLayout()`, `VecGetSize()`, `VecGetOwnersh $(_doc_external("Vec/VecSetLayout")) """ function VecSetLayout(petsclib::PetscLibType, x::AbstractPetscVec, map::PetscLayout) - error("VecSetLayout: no generated method for these argument types") + throw(MethodError(VecSetLayout, (petsclib, x, map))) end @for_petsc function VecSetLayout(petsclib::$UnionPetscLib, x::AbstractPetscVec, map::PetscLayout ) @@ -970,7 +970,7 @@ See also: `Vec`, `VecAssemblyBegin()`, `VecAssemblyEnd()`, `VecSetValues()`, `Ve $(_doc_external("Vec/VecSetLocalToGlobalMapping")) """ function VecSetLocalToGlobalMapping(petsclib::PetscLibType, x::AbstractPetscVec, mapping::ISLocalToGlobalMapping) - error("VecSetLocalToGlobalMapping: no generated method for these argument types") + throw(MethodError(VecSetLocalToGlobalMapping, (petsclib, x, mapping))) end @for_petsc function VecSetLocalToGlobalMapping(petsclib::$UnionPetscLib, x::AbstractPetscVec, mapping::ISLocalToGlobalMapping ) @@ -1005,7 +1005,7 @@ See also: `Vec`, `VecCreate()`, `VecGetOperation()`, `MatSetOperation()`, `MatSh $(_doc_external("Vec/VecSetOperation")) """ function VecSetOperation(petsclib::PetscLibType, vec::AbstractPetscVec, op::VecOperation, f::Ptr{Cvoid}) - error("VecSetOperation: no generated method for these argument types") + throw(MethodError(VecSetOperation, (petsclib, vec, op, f))) end @for_petsc function VecSetOperation(petsclib::$UnionPetscLib, vec::AbstractPetscVec, op::VecOperation, f::Ptr{Cvoid} ) @@ -1040,7 +1040,7 @@ See also: `Vec`, `VecSetValues()`, `VecOption`, `MatSetOption()` $(_doc_external("Vec/VecSetOption")) """ function VecSetOption(petsclib::PetscLibType, x::AbstractPetscVec, op::VecOption, flag::PetscBool) - error("VecSetOption: no generated method for these argument types") + throw(MethodError(VecSetOption, (petsclib, x, op, flag))) end @for_petsc function VecSetOption(petsclib::$UnionPetscLib, x::AbstractPetscVec, op::VecOption, flag::PetscBool ) @@ -1075,7 +1075,7 @@ See also: `Vec`, `VecSetFromOptions()` $(_doc_external("Vec/VecSetOptionsPrefix")) """ function VecSetOptionsPrefix(petsclib::PetscLibType, v::AbstractPetscVec, prefix::String) - error("VecSetOptionsPrefix: no generated method for these argument types") + throw(MethodError(VecSetOptionsPrefix, (petsclib, v, prefix))) end @for_petsc function VecSetOptionsPrefix(petsclib::$UnionPetscLib, v::AbstractPetscVec, prefix::String ) @@ -1112,7 +1112,7 @@ See also: `Vec`, `VecGetPinnedMemoryMin()` $(_doc_external("Vec/VecSetPinnedMemoryMin")) """ function VecSetPinnedMemoryMin(petsclib::PetscLibType, v::AbstractPetscVec, mbytes::Csize_t) - error("VecSetPinnedMemoryMin: no generated method for these argument types") + throw(MethodError(VecSetPinnedMemoryMin, (petsclib, v, mbytes))) end @for_petsc function VecSetPinnedMemoryMin(petsclib::$UnionPetscLib, v::AbstractPetscVec, mbytes::Csize_t ) @@ -1147,7 +1147,7 @@ See also: `Vec`, `VecSetValuesCOO()`, `VecSetPreallocationCOOLocal()` $(_doc_external("Vec/VecSetPreallocationCOO")) """ function VecSetPreallocationCOO(petsclib::PetscLibType, x::AbstractPetscVec, ncoo::PetscCount, coo_i::AbstractVector{<:Number}) - error("VecSetPreallocationCOO: no generated method for these argument types") + throw(MethodError(VecSetPreallocationCOO, (petsclib, x, ncoo, coo_i))) end @for_petsc function VecSetPreallocationCOO(petsclib::$UnionPetscLib, x::AbstractPetscVec, ncoo::PetscCount, coo_i::Vector{$PetscInt} ) @@ -1182,7 +1182,7 @@ See also: `Vec`, `VecSetPreallocationCOO()`, `VecSetValuesCOO()` $(_doc_external("Vec/VecSetPreallocationCOOLocal")) """ function VecSetPreallocationCOOLocal(petsclib::PetscLibType, x::AbstractPetscVec, ncoo::PetscCount, coo_i::AbstractVector{<:Number}) - error("VecSetPreallocationCOOLocal: no generated method for these argument types") + throw(MethodError(VecSetPreallocationCOOLocal, (petsclib, x, ncoo, coo_i))) end @for_petsc function VecSetPreallocationCOOLocal(petsclib::$UnionPetscLib, x::AbstractPetscVec, ncoo::PetscCount, coo_i::Vector{$PetscInt} ) @@ -1226,7 +1226,7 @@ See also: `Vec`, `VecSet()`, `VecSetValues()`, `PetscRandomCreate()`, `PetscRand $(_doc_external("Vec/VecSetRandom")) """ function VecSetRandom(petsclib::PetscLibType, x::AbstractPetscVec, rctx::PetscRandom) - error("VecSetRandom: no generated method for these argument types") + throw(MethodError(VecSetRandom, (petsclib, x, rctx))) end @for_petsc function VecSetRandom(petsclib::$UnionPetscLib, x::AbstractPetscVec, rctx::PetscRandom ) @@ -1262,7 +1262,7 @@ See also: `PetscDA`, `PetscRandom`, `PetscRandomSetInterval()`, `VecSetRandom()` $(_doc_external("Vec/VecSetRandomGaussian")) """ function VecSetRandomGaussian(petsclib::PetscLibType, v::AbstractPetscVec, rng::PetscRandom, mean::Real, std_dev::Real) - error("VecSetRandomGaussian: no generated method for these argument types") + throw(MethodError(VecSetRandomGaussian, (petsclib, v, rng, mean, std_dev))) end @for_petsc function VecSetRandomGaussian(petsclib::$UnionPetscLib, v::AbstractPetscVec, rng::PetscRandom, mean::$PetscReal, std_dev::$PetscReal ) @@ -1298,7 +1298,7 @@ See also: `Vec`, `VecCreate()`, `VecCreateSeq()`, `VecCreateMPI()`, `VecGetSize( $(_doc_external("Vec/VecSetSizes")) """ function VecSetSizes(petsclib::PetscLibType, v::AbstractPetscVec, n::Integer, M_N::Integer) - error("VecSetSizes: no generated method for these argument types") + throw(MethodError(VecSetSizes, (petsclib, v, n, M_N))) end @for_petsc function VecSetSizes(petsclib::$UnionPetscLib, v::AbstractPetscVec, n::$PetscInt, M_N::$PetscInt ) @@ -1335,7 +1335,7 @@ See also: `Vec`, `VecType`, `VecGetType()`, `VecCreate()`, `VecDuplicate()`, `Ve $(_doc_external("Vec/VecSetType")) """ function VecSetType(petsclib::PetscLibType, vec::AbstractPetscVec, newType::String) - error("VecSetType: no generated method for these argument types") + throw(MethodError(VecSetType, (petsclib, vec, newType))) end @for_petsc function VecSetType(petsclib::$UnionPetscLib, vec::AbstractPetscVec, newType::String ) @@ -1368,7 +1368,7 @@ See also: `Vec`, `VecCreate()`, `VecDestroy()` $(_doc_external("Vec/VecSetUp")) """ function VecSetUp(petsclib::PetscLibType, v::AbstractPetscVec) - error("VecSetUp: no generated method for these argument types") + throw(MethodError(VecSetUp, (petsclib, v))) end @for_petsc function VecSetUp(petsclib::$UnionPetscLib, v::AbstractPetscVec ) @@ -1407,7 +1407,7 @@ See also: `Vec`, `VecAssemblyBegin()`, `VecAssemblyEnd()`, `VecSetValuesLocal()` $(_doc_external("Vec/VecSetValues")) """ function VecSetValues(petsclib::PetscLibType, x::AbstractPetscVec, ni::Integer, ix::AbstractVector{<:Number}, y::AbstractVector{<:Number}, iora::InsertMode) - error("VecSetValues: no generated method for these argument types") + throw(MethodError(VecSetValues, (petsclib, x, ni, ix, y, iora))) end @for_petsc function VecSetValues(petsclib::$UnionPetscLib, x::AbstractPetscVec, ni::$PetscInt, ix::Vector{$PetscInt}, y::Vector{$PetscScalar}, iora::InsertMode ) @@ -1445,7 +1445,7 @@ See also: `Vec`, `VecAssemblyBegin()`, `VecAssemblyEnd()`, `VecSetValuesBlockedL $(_doc_external("Vec/VecSetValuesBlocked")) """ function VecSetValuesBlocked(petsclib::PetscLibType, x::AbstractPetscVec, ni::Integer, ix::AbstractVector{<:Number}, y::AbstractVector{<:Number}, iora::InsertMode) - error("VecSetValuesBlocked: no generated method for these argument types") + throw(MethodError(VecSetValuesBlocked, (petsclib, x, ni, ix, y, iora))) end @for_petsc function VecSetValuesBlocked(petsclib::$UnionPetscLib, x::AbstractPetscVec, ni::$PetscInt, ix::Vector{$PetscInt}, y::Vector{$PetscScalar}, iora::InsertMode ) @@ -1484,7 +1484,7 @@ See also: `Vec`, `VecAssemblyBegin()`, `VecAssemblyEnd()`, `VecSetValues()`, `Ve $(_doc_external("Vec/VecSetValuesBlockedLocal")) """ function VecSetValuesBlockedLocal(petsclib::PetscLibType, x::AbstractPetscVec, ni::Integer, ix::AbstractVector{<:Number}, y::AbstractVector{<:Number}, iora::InsertMode) - error("VecSetValuesBlockedLocal: no generated method for these argument types") + throw(MethodError(VecSetValuesBlockedLocal, (petsclib, x, ni, ix, y, iora))) end @for_petsc function VecSetValuesBlockedLocal(petsclib::$UnionPetscLib, x::AbstractPetscVec, ni::$PetscInt, ix::Vector{$PetscInt}, y::Vector{$PetscScalar}, iora::InsertMode ) @@ -1519,7 +1519,7 @@ See also: `Vec`, `VecSetPreallocationCOO()`, `VecSetPreallocationCOOLocal()`, `V $(_doc_external("Vec/VecSetValuesCOO")) """ function VecSetValuesCOO(petsclib::PetscLibType, x::AbstractPetscVec, coo_v::AbstractVector{<:Number}, imode::InsertMode) - error("VecSetValuesCOO: no generated method for these argument types") + throw(MethodError(VecSetValuesCOO, (petsclib, x, coo_v, imode))) end @for_petsc function VecSetValuesCOO(petsclib::$UnionPetscLib, x::AbstractPetscVec, coo_v::Vector{$PetscScalar}, imode::InsertMode ) @@ -1558,7 +1558,7 @@ See also: `Vec`, `VecAssemblyBegin()`, `VecAssemblyEnd()`, `VecSetValues()`, `Ve $(_doc_external("Vec/VecSetValuesLocal")) """ function VecSetValuesLocal(petsclib::PetscLibType, x::AbstractPetscVec, ni::Integer, ix::AbstractVector{<:Number}, y::AbstractVector{<:Number}, iora::InsertMode) - error("VecSetValuesLocal: no generated method for these argument types") + throw(MethodError(VecSetValuesLocal, (petsclib, x, ni, ix, y, iora))) end @for_petsc function VecSetValuesLocal(petsclib::$UnionPetscLib, x::AbstractPetscVec, ni::$PetscInt, ix::Vector{$PetscInt}, y::Vector{$PetscScalar}, iora::InsertMode ) @@ -1595,7 +1595,7 @@ See also: `PetscSection`, `PetscSectionCreate()`, `VecGetValuesSection()` $(_doc_external("Vec/VecSetValuesSection")) """ function VecSetValuesSection(petsclib::PetscLibType, v::AbstractPetscVec, s::PetscSection, point::Integer, values::AbstractVector{<:Number}, mode::InsertMode) - error("VecSetValuesSection: no generated method for these argument types") + throw(MethodError(VecSetValuesSection, (petsclib, v, s, point, values, mode))) end @for_petsc function VecSetValuesSection(petsclib::$UnionPetscLib, v::AbstractPetscVec, s::PetscSection, point::$PetscInt, values::Vector{$PetscScalar}, mode::InsertMode ) @@ -1630,7 +1630,7 @@ See also: `Vec`, `VecISShift()` $(_doc_external("Vec/VecShift")) """ function VecShift(petsclib::PetscLibType, v::AbstractPetscVec, shift::Number) - error("VecShift: no generated method for these argument types") + throw(MethodError(VecShift, (petsclib, v, shift))) end @for_petsc function VecShift(petsclib::$UnionPetscLib, v::AbstractPetscVec, shift::$PetscScalar ) @@ -1663,7 +1663,7 @@ See also: `Vec`, `VecLog()`, `VecExp()`, `VecReciprocal()`, `VecAbs()` $(_doc_external("Vec/VecSqrtAbs")) """ function VecSqrtAbs(petsclib::PetscLibType, v::AbstractPetscVec) - error("VecSqrtAbs: no generated method for these argument types") + throw(MethodError(VecSqrtAbs, (petsclib, v))) end @for_petsc function VecSqrtAbs(petsclib::$UnionPetscLib, v::AbstractPetscVec ) @@ -1703,7 +1703,7 @@ See also: `Vec`, `VecAssemblyBegin()`, `VecAssemblyEnd()`, `VecStashSetInitialSi $(_doc_external("Vec/VecStashGetInfo")) """ function VecStashGetInfo(petsclib::PetscLibType, vec::AbstractPetscVec) - error("VecStashGetInfo: no generated method for these argument types") + throw(MethodError(VecStashGetInfo, (petsclib, vec))) end @for_petsc function VecStashGetInfo(petsclib::$UnionPetscLib, vec::AbstractPetscVec ) @@ -1752,7 +1752,7 @@ See also: `Vec`, `VecSetBlockSize()`, `VecSetValues()`, `VecSetValuesBlocked()`, $(_doc_external("Vec/VecStashSetInitialSize")) """ function VecStashSetInitialSize(petsclib::PetscLibType, vec::AbstractPetscVec, size::Integer, bsize::Integer) - error("VecStashSetInitialSize: no generated method for these argument types") + throw(MethodError(VecStashSetInitialSize, (petsclib, vec, size, bsize))) end @for_petsc function VecStashSetInitialSize(petsclib::$UnionPetscLib, vec::AbstractPetscVec, size::$PetscInt, bsize::$PetscInt ) @@ -1786,7 +1786,7 @@ See also: `Vec`, `VecSetBlockSize()`, `VecSetValues()`, `VecSetValuesBlocked()` $(_doc_external("Vec/VecStashView")) """ function VecStashView(petsclib::PetscLibType, v::AbstractPetscVec, viewer::PetscViewer) - error("VecStashView: no generated method for these argument types") + throw(MethodError(VecStashView, (petsclib, v, viewer))) end @for_petsc function VecStashView(petsclib::$UnionPetscLib, v::AbstractPetscVec, viewer::PetscViewer ) @@ -1824,7 +1824,7 @@ See also: `Vec`, `VecStashSetInitialSize()` $(_doc_external("Vec/VecStashViewFromOptions")) """ function VecStashViewFromOptions(petsclib::PetscLibType, obj::AbstractPetscVec, bobj, name::String) - error("VecStashViewFromOptions: no generated method for these argument types") + throw(MethodError(VecStashViewFromOptions, (petsclib, obj, bobj, name))) end @for_petsc function VecStashViewFromOptions(petsclib::$UnionPetscLib, obj::AbstractPetscVec, bobj, name::String ) @@ -1865,7 +1865,7 @@ See also: `Vec` $(_doc_external("Vec/VecStepBoundInfo")) """ function VecStepBoundInfo(petsclib::PetscLibType, X::AbstractPetscVec, DX::AbstractPetscVec, XL::AbstractPetscVec, XU::AbstractPetscVec) - error("VecStepBoundInfo: no generated method for these argument types") + throw(MethodError(VecStepBoundInfo, (petsclib, X, DX, XL, XU))) end @for_petsc function VecStepBoundInfo(petsclib::$UnionPetscLib, X::AbstractPetscVec, DX::AbstractPetscVec, XL::AbstractPetscVec, XU::AbstractPetscVec ) @@ -1908,7 +1908,7 @@ See also: `Vec` $(_doc_external("Vec/VecStepMax")) """ function VecStepMax(petsclib::PetscLibType, X::AbstractPetscVec, DX::AbstractPetscVec) - error("VecStepMax: no generated method for these argument types") + throw(MethodError(VecStepMax, (petsclib, X, DX))) end @for_petsc function VecStepMax(petsclib::$UnionPetscLib, X::AbstractPetscVec, DX::AbstractPetscVec ) @@ -1949,7 +1949,7 @@ See also: `Vec` $(_doc_external("Vec/VecStepMaxBounded")) """ function VecStepMaxBounded(petsclib::PetscLibType, X::AbstractPetscVec, DX::AbstractPetscVec, XL::AbstractPetscVec, XU::AbstractPetscVec) - error("VecStepMaxBounded: no generated method for these argument types") + throw(MethodError(VecStepMaxBounded, (petsclib, X, DX, XL, XU))) end @for_petsc function VecStepMaxBounded(petsclib::$UnionPetscLib, X::AbstractPetscVec, DX::AbstractPetscVec, XL::AbstractPetscVec, XU::AbstractPetscVec ) @@ -1991,7 +1991,7 @@ See also: `Vec`, `VecStrideNorm()`, `VecStrideScatter()`, `VecStrideMin()`, `Vec $(_doc_external("Vec/VecStrideGather")) """ function VecStrideGather(petsclib::PetscLibType, v::AbstractPetscVec, start::Integer, s::AbstractPetscVec, addv::InsertMode) - error("VecStrideGather: no generated method for these argument types") + throw(MethodError(VecStrideGather, (petsclib, v, start, s, addv))) end @for_petsc function VecStrideGather(petsclib::$UnionPetscLib, v::AbstractPetscVec, start::$PetscInt, s::AbstractPetscVec, addv::InsertMode ) @@ -2030,7 +2030,7 @@ See also: `Vec`, `VecStrideNorm()`, `VecStrideScatter()`, `VecStrideMin()`, `Vec $(_doc_external("Vec/VecStrideGatherAll")) """ function VecStrideGatherAll(petsclib::PetscLibType, v::AbstractPetscVec, s::Vector{<:AbstractPetscVec}, addv::InsertMode) - error("VecStrideGatherAll: no generated method for these argument types") + throw(MethodError(VecStrideGatherAll, (petsclib, v, s, addv))) end @for_petsc function VecStrideGatherAll(petsclib::$UnionPetscLib, v::AbstractPetscVec, s::Vector{<:AbstractPetscVec}, addv::InsertMode ) @@ -2069,7 +2069,7 @@ See also: `Vec`, `VecMax()`, `VecStrideNorm()`, `VecStrideGather()`, `VecStrideS $(_doc_external("Vec/VecStrideMax")) """ function VecStrideMax(petsclib::PetscLibType, v::AbstractPetscVec, start::Integer) - error("VecStrideMax: no generated method for these argument types") + throw(MethodError(VecStrideMax, (petsclib, v, start))) end @for_petsc function VecStrideMax(petsclib::$UnionPetscLib, v::AbstractPetscVec, start::$PetscInt ) @@ -2112,7 +2112,7 @@ See also: `Vec`, `VecMax()`, `VecStrideNorm()`, `VecStrideGather()`, `VecStrideS $(_doc_external("Vec/VecStrideMaxAll")) """ function VecStrideMaxAll(petsclib::PetscLibType, v::AbstractPetscVec, idex::AbstractVector{<:Number}, nrm::AbstractVector{<:Number}) - error("VecStrideMaxAll: no generated method for these argument types") + throw(MethodError(VecStrideMaxAll, (petsclib, v, idex, nrm))) end @for_petsc function VecStrideMaxAll(petsclib::$UnionPetscLib, v::AbstractPetscVec, idex::Vector{$PetscInt}, nrm::Vector{$PetscReal} ) @@ -2151,7 +2151,7 @@ See also: `Vec`, `VecMin()`, `VecStrideNorm()`, `VecStrideGather()`, `VecStrideS $(_doc_external("Vec/VecStrideMin")) """ function VecStrideMin(petsclib::PetscLibType, v::AbstractPetscVec, start::Integer) - error("VecStrideMin: no generated method for these argument types") + throw(MethodError(VecStrideMin, (petsclib, v, start))) end @for_petsc function VecStrideMin(petsclib::$UnionPetscLib, v::AbstractPetscVec, start::$PetscInt ) @@ -2194,7 +2194,7 @@ See also: `Vec`, `VecMin()`, `VecStrideNorm()`, `VecStrideGather()`, `VecStrideS $(_doc_external("Vec/VecStrideMinAll")) """ function VecStrideMinAll(petsclib::PetscLibType, v::AbstractPetscVec, idex::AbstractVector{<:Number}, nrm::AbstractVector{<:Number}) - error("VecStrideMinAll: no generated method for these argument types") + throw(MethodError(VecStrideMinAll, (petsclib, v, idex, nrm))) end @for_petsc function VecStrideMinAll(petsclib::$UnionPetscLib, v::AbstractPetscVec, idex::Vector{$PetscInt}, nrm::Vector{$PetscReal} ) @@ -2233,7 +2233,7 @@ See also: `Vec`, `VecNorm()`, `VecStrideGather()`, `VecStrideScatter()`, `VecStr $(_doc_external("Vec/VecStrideNorm")) """ function VecStrideNorm(petsclib::PetscLibType, v::AbstractPetscVec, start::Integer, ntype::NormType) - error("VecStrideNorm: no generated method for these argument types") + throw(MethodError(VecStrideNorm, (petsclib, v, start, ntype))) end @for_petsc function VecStrideNorm(petsclib::$UnionPetscLib, v::AbstractPetscVec, start::$PetscInt, ntype::NormType ) @@ -2273,7 +2273,7 @@ See also: `Vec`, `VecNorm()`, `VecStrideGather()`, `VecStrideScatter()`, `VecStr $(_doc_external("Vec/VecStrideNormAll")) """ function VecStrideNormAll(petsclib::PetscLibType, v::AbstractPetscVec, ntype::NormType, nrm::AbstractVector{<:Number}) - error("VecStrideNormAll: no generated method for these argument types") + throw(MethodError(VecStrideNormAll, (petsclib, v, ntype, nrm))) end @for_petsc function VecStrideNormAll(petsclib::$UnionPetscLib, v::AbstractPetscVec, ntype::NormType, nrm::Vector{$PetscReal} ) @@ -2309,7 +2309,7 @@ See also: `Vec`, `VecNorm()`, `VecStrideGather()`, `VecStrideScatter()`, `VecStr $(_doc_external("Vec/VecStrideScale")) """ function VecStrideScale(petsclib::PetscLibType, v::AbstractPetscVec, start::Integer, scale::Number) - error("VecStrideScale: no generated method for these argument types") + throw(MethodError(VecStrideScale, (petsclib, v, start, scale))) end @for_petsc function VecStrideScale(petsclib::$UnionPetscLib, v::AbstractPetscVec, start::$PetscInt, scale::$PetscScalar ) @@ -2344,7 +2344,7 @@ See also: `Vec`, `VecNorm()`, `VecStrideScale()`, `VecScale()`, `VecStrideGather $(_doc_external("Vec/VecStrideScaleAll")) """ function VecStrideScaleAll(petsclib::PetscLibType, v::AbstractPetscVec, scales::AbstractVector{<:Number}) - error("VecStrideScaleAll: no generated method for these argument types") + throw(MethodError(VecStrideScaleAll, (petsclib, v, scales))) end @for_petsc function VecStrideScaleAll(petsclib::$UnionPetscLib, v::AbstractPetscVec, scales::Vector{$PetscScalar} ) @@ -2383,7 +2383,7 @@ See also: `Vec`, `VecStrideNorm()`, `VecStrideGather()`, `VecStrideMin()`, `VecS $(_doc_external("Vec/VecStrideScatter")) """ function VecStrideScatter(petsclib::PetscLibType, s::AbstractPetscVec, start::Integer, v::AbstractPetscVec, addv::InsertMode) - error("VecStrideScatter: no generated method for these argument types") + throw(MethodError(VecStrideScatter, (petsclib, s, start, v, addv))) end @for_petsc function VecStrideScatter(petsclib::$UnionPetscLib, s::AbstractPetscVec, start::$PetscInt, v::AbstractPetscVec, addv::InsertMode ) @@ -2421,7 +2421,7 @@ See also: `Vec`, `VecStrideNorm()`, `VecStrideScatter()`, `VecStrideMin()`, `Vec $(_doc_external("Vec/VecStrideScatterAll")) """ function VecStrideScatterAll(petsclib::PetscLibType, s::Vector{<:AbstractPetscVec}, v::AbstractPetscVec, addv::InsertMode) - error("VecStrideScatterAll: no generated method for these argument types") + throw(MethodError(VecStrideScatterAll, (petsclib, s, v, addv))) end @for_petsc function VecStrideScatterAll(petsclib::$UnionPetscLib, s::Vector{<:AbstractPetscVec}, v::AbstractPetscVec, addv::InsertMode ) @@ -2457,7 +2457,7 @@ See also: `Vec`, `VecNorm()`, `VecStrideGather()`, `VecStrideScatter()`, `VecStr $(_doc_external("Vec/VecStrideSet")) """ function VecStrideSet(petsclib::PetscLibType, v::AbstractPetscVec, start::Integer, s::Number) - error("VecStrideSet: no generated method for these argument types") + throw(MethodError(VecStrideSet, (petsclib, v, start, s))) end @for_petsc function VecStrideSet(petsclib::$UnionPetscLib, v::AbstractPetscVec, start::$PetscInt, s::$PetscScalar ) @@ -2499,7 +2499,7 @@ See also: `Vec`, `VecStrideNorm()`, `VecStrideScatter()`, `VecStrideGather()`, ` $(_doc_external("Vec/VecStrideSubSetGather")) """ function VecStrideSubSetGather(petsclib::PetscLibType, v::AbstractPetscVec, nidx::Integer, idxv::AbstractVector{<:Number}, idxs::AbstractVector{<:Number}, s::AbstractPetscVec, addv::InsertMode) - error("VecStrideSubSetGather: no generated method for these argument types") + throw(MethodError(VecStrideSubSetGather, (petsclib, v, nidx, idxv, idxs, s, addv))) end @for_petsc function VecStrideSubSetGather(petsclib::$UnionPetscLib, v::AbstractPetscVec, nidx::$PetscInt, idxv::Vector{$PetscInt}, idxs::Vector{$PetscInt}, s::AbstractPetscVec, addv::InsertMode ) @@ -2540,7 +2540,7 @@ See also: `Vec`, `VecStrideNorm()`, `VecStrideGather()`, `VecStrideSubSetGather( $(_doc_external("Vec/VecStrideSubSetScatter")) """ function VecStrideSubSetScatter(petsclib::PetscLibType, s::AbstractPetscVec, nidx::Integer, idxs::AbstractVector{<:Number}, idxv::AbstractVector{<:Number}, v::AbstractPetscVec, addv::InsertMode) - error("VecStrideSubSetScatter: no generated method for these argument types") + throw(MethodError(VecStrideSubSetScatter, (petsclib, s, nidx, idxs, idxv, v, addv))) end @for_petsc function VecStrideSubSetScatter(petsclib::$UnionPetscLib, s::AbstractPetscVec, nidx::$PetscInt, idxs::Vector{$PetscInt}, idxv::Vector{$PetscInt}, v::AbstractPetscVec, addv::InsertMode ) @@ -2578,7 +2578,7 @@ See also: `Vec`, `VecSum()`, `VecStrideGather()`, `VecStrideScatter()`, `VecStri $(_doc_external("Vec/VecStrideSum")) """ function VecStrideSum(petsclib::PetscLibType, v::AbstractPetscVec, start::Integer) - error("VecStrideSum: no generated method for these argument types") + throw(MethodError(VecStrideSum, (petsclib, v, start))) end @for_petsc function VecStrideSum(petsclib::$UnionPetscLib, v::AbstractPetscVec, start::$PetscInt ) @@ -2616,7 +2616,7 @@ See also: `Vec`, `VecSum()`, `VecStrideGather()`, `VecStrideScatter()`, `VecStri $(_doc_external("Vec/VecStrideSumAll")) """ function VecStrideSumAll(petsclib::PetscLibType, v::AbstractPetscVec, sums::AbstractVector{<:Number}) - error("VecStrideSumAll: no generated method for these argument types") + throw(MethodError(VecStrideSumAll, (petsclib, v, sums))) end @for_petsc function VecStrideSumAll(petsclib::$UnionPetscLib, v::AbstractPetscVec, sums::Vector{$PetscScalar} ) @@ -2652,7 +2652,7 @@ See also: `Vec`, `VecMean()`, `VecNorm()` $(_doc_external("Vec/VecSum")) """ function VecSum(petsclib::PetscLibType, v::AbstractPetscVec) - error("VecSum: no generated method for these argument types") + throw(MethodError(VecSum, (petsclib, v))) end @for_petsc function VecSum(petsclib::$UnionPetscLib, v::AbstractPetscVec ) @@ -2688,7 +2688,7 @@ See also: `Vec`, `VecSet()` $(_doc_external("Vec/VecSwap")) """ function VecSwap(petsclib::PetscLibType, x::AbstractPetscVec, y::AbstractPetscVec) - error("VecSwap: no generated method for these argument types") + throw(MethodError(VecSwap, (petsclib, x, y))) end @for_petsc function VecSwap(petsclib::$UnionPetscLib, x::AbstractPetscVec, y::AbstractPetscVec ) @@ -2726,7 +2726,7 @@ See also: `Vecs`, `VecsCreateSeqWithArray()`, `VecsDuplicate()`, `VecsDestroy()` $(_doc_external("Vec/VecsCreateSeq")) """ function VecsCreateSeq(petsclib::PetscLibType, comm::MPI_Comm, p::Integer, m::Integer) - error("VecsCreateSeq: no generated method for these argument types") + throw(MethodError(VecsCreateSeq, (petsclib, comm, p, m))) end @for_petsc function VecsCreateSeq(petsclib::$UnionPetscLib, comm::MPI_Comm, p::$PetscInt, m::$PetscInt ) @@ -2767,7 +2767,7 @@ See also: `Vecs`, `VecsCreateSeq()`, `VecsDuplicate()`, `VecsDestroy()`, `VecCre $(_doc_external("Vec/VecsCreateSeqWithArray")) """ function VecsCreateSeqWithArray(petsclib::PetscLibType, comm::MPI_Comm, p::Integer, m::Integer) - error("VecsCreateSeqWithArray: no generated method for these argument types") + throw(MethodError(VecsCreateSeqWithArray, (petsclib, comm, p, m))) end @for_petsc function VecsCreateSeqWithArray(petsclib::$UnionPetscLib, comm::MPI_Comm, p::$PetscInt, m::$PetscInt ) @@ -2804,7 +2804,7 @@ See also: `Vecs`, `VecsCreateSeq()`, `VecsCreateSeqWithArray()`, `VecsDuplicate( $(_doc_external("Vec/VecsDestroy")) """ function VecsDestroy(petsclib::PetscLibType, x::Vecs) - error("VecsDestroy: no generated method for these argument types") + throw(MethodError(VecsDestroy, (petsclib, x))) end @for_petsc function VecsDestroy(petsclib::$UnionPetscLib, x::Vecs ) @@ -2840,7 +2840,7 @@ See also: `Vecs`, `VecsCreateSeq()`, `VecsCreateSeqWithArray()`, `VecsDestroy()` $(_doc_external("Vec/VecsDuplicate")) """ function VecsDuplicate(petsclib::PetscLibType, x::Vecs) - error("VecsDuplicate: no generated method for these argument types") + throw(MethodError(VecsDuplicate, (petsclib, x))) end @for_petsc function VecsDuplicate(petsclib::$UnionPetscLib, x::Vecs ) diff --git a/src/dm.jl b/src/dm.jl index 2d432c30d..b38a15b2c 100644 --- a/src/dm.jl +++ b/src/dm.jl @@ -182,14 +182,8 @@ Does nothing on a DM that only borrows its handle: see [`owns`](@ref). # External Links $(doc_external("DM/DMDestroy")) """ -function destroy!(dm::AbstractPetscDM{PetscLib}) where {PetscLib} - owns(dm) || return nothing - if isdestroyable(dm, PetscLib) - LibPETSc.DMDestroy(PetscLib, dm) - end - dm.ptr = C_NULL - return nothing -end +destroy!(dm::AbstractPetscDM{PetscLib}) where {PetscLib} = + destroy_handle!(LibPETSc.DMDestroy, dm, PetscLib) diff --git a/src/handles.jl b/src/handles.jl index 9b3c4a41e..4dbd6bd25 100644 --- a/src/handles.jl +++ b/src/handles.jl @@ -1,9 +1,10 @@ # src/handles.jl # Release for the handles that have no high-level layer of their own: IS, AO, PF # and Tao. They carry `own` like every handle, so `destroy!` behaves as it does -# on a Vec or a KSP. An IS also has a `length`. +# on a Vec or a KSP. An IS also has a `length`. The docstrings of the handle +# types, which src/autowrapped/ defines without one, are at the end. -import .LibPETSc: AbstractIS, AbstractAO, AbstractPF, AbstractTao +import .LibPETSc: AbstractIS, AbstractAO, AbstractPF, AbstractTao, IS, AO, PF, Tao """ destroy!(is::LibPETSc.AbstractIS) @@ -15,14 +16,8 @@ see [`owns`](@ref). # External Links $(doc_external("IS/ISDestroy")) """ -function destroy!(is::AbstractIS{PetscLib}) where {PetscLib} - owns(is) || return nothing - if isdestroyable(is, PetscLib) - LibPETSc.ISDestroy(PetscLib, is) - end - is.ptr = C_NULL - return nothing -end +destroy!(is::AbstractIS{PetscLib}) where {PetscLib} = + destroy_handle!(LibPETSc.ISDestroy, is, PetscLib) """ length(is::LibPETSc.AbstractIS) @@ -45,14 +40,8 @@ nothing on a borrowed handle: see [`owns`](@ref). # External Links $(doc_external("AO/AODestroy")) """ -function destroy!(ao::AbstractAO{PetscLib}) where {PetscLib} - owns(ao) || return nothing - if isdestroyable(ao, PetscLib) - LibPETSc.AODestroy(PetscLib, ao) - end - ao.ptr = C_NULL - return nothing -end +destroy!(ao::AbstractAO{PetscLib}) where {PetscLib} = + destroy_handle!(LibPETSc.AODestroy, ao, PetscLib) """ destroy!(pf::LibPETSc.AbstractPF) @@ -63,14 +52,8 @@ nothing on a borrowed handle: see [`owns`](@ref). # External Links $(doc_external("PF/PFDestroy")) """ -function destroy!(pf::AbstractPF{PetscLib}) where {PetscLib} - owns(pf) || return nothing - if isdestroyable(pf, PetscLib) - LibPETSc.PFDestroy(PetscLib, pf) - end - pf.ptr = C_NULL - return nothing -end +destroy!(pf::AbstractPF{PetscLib}) where {PetscLib} = + destroy_handle!(LibPETSc.PFDestroy, pf, PetscLib) """ destroy!(tao::LibPETSc.AbstractTao) @@ -81,11 +64,83 @@ nothing on a borrowed handle: see [`owns`](@ref). # External Links $(doc_external("Tao/TaoDestroy")) """ -function destroy!(tao::AbstractTao{PetscLib}) where {PetscLib} - owns(tao) || return nothing - if isdestroyable(tao, PetscLib) - LibPETSc.TaoDestroy(PetscLib, tao) - end - tao.ptr = C_NULL - return nothing +destroy!(tao::AbstractTao{PetscLib}) where {PetscLib} = + destroy_handle!(LibPETSc.TaoDestroy, tao, PetscLib) + +# Docstrings of the handle types +# ---------------------------------------------------------------------------- + +# Abstract handle types: the type to annotate with, so that every wrapper of +# that kind of object is accepted. The parameter is the library type. +for (T, object, wrappers) in ( + (:AbstractPetscVec, "vector (`Vec`)", "[`PetscVec`](@ref) and [`VecPtr`](@ref)"), + (:AbstractPetscMat, "matrix (`Mat`)", "[`PetscMat`](@ref), [`MatPtr`](@ref) and [`MatShell`](@ref)"), + (:AbstractPetscDM, "DM", "[`DMDA`](@ref), [`DMStag`](@ref), [`DMPlex`](@ref) and [`PetscDM`](@ref)"), + (:AbstractKSP, "linear solver (`KSP`)", "[`KSP`](@ref)"), + (:AbstractPC, "preconditioner (`PC`)", "[`PC`](@ref)"), + (:AbstractSNES, "nonlinear solver (`SNES`)", "[`SNES`](@ref)"), + (:AbstractTS, "time stepper (`TS`)", "[`TS`](@ref)"), + (:AbstractPetscOptions, "options database", "[`PetscOptions`](@ref)"), + (:AbstractIS, "index set (`IS`)", "[`IS`](@ref)"), + (:AbstractAO, "application ordering (`AO`)", "[`AO`](@ref)"), + (:AbstractPF, "mathematical function (`PF`)", "[`PF`](@ref)"), + (:AbstractTao, "optimization solver (`Tao`)", "[`Tao`](@ref)"), +) + doc = """ + $T{PetscLib} + + Supertype of every handle to a PETSc $object: $wrappers. Annotate an + argument with it to accept any of them. `PetscLib` is the library type. + """ + @eval @doc $doc LibPETSc.$T end + +""" + PC{PetscLib} + +Handle to a PETSc preconditioner. [`pc`](@ref) hands one back, borrowed from its +KSP; there is no high-level constructor, since a PC always belongs to a solver. +""" +LibPETSc.PC + +""" + IS{PetscLib} + +Handle to a PETSc index set. Built through `LibPETSc` (`ISCreateGeneral`, +`ISCreateStride`, …) or from a `DMStag` layout with `IS(dm, …)`. It has a +`length` and a [`destroy!`](@ref); everything else is `LibPETSc`. +""" +LibPETSc.IS + +""" + AO{PetscLib} + +Handle to a PETSc application ordering. Only `LibPETSc` works with it, apart +from [`destroy!`](@ref). +""" +LibPETSc.AO + +""" + PF{PetscLib} + +Handle to a PETSc mathematical function. Only `LibPETSc` works with it, apart +from [`destroy!`](@ref). +""" +LibPETSc.PF + +""" + Tao{PetscLib} + +Handle to a PETSc optimization solver. Only `LibPETSc` works with it, apart +from [`destroy!`](@ref): there is no high-level Tao layer. +""" +LibPETSc.Tao + +""" + PetscDM{PetscLib} + +Low-level handle to a PETSc DM of any flavour, as `LibPETSc.DMCreate` and the +other generated functions return it. [`narrow`](@ref) gives the typed handle, +`DMDA`, `DMStag` or `DMPlex`, that the high-level functions dispatch on. +""" +LibPETSc.PetscDM diff --git a/src/init.jl b/src/init.jl index e9e5d78bf..44246fe5f 100644 --- a/src/init.jl +++ b/src/init.jl @@ -192,6 +192,16 @@ the caller destroys the result), and the objects a callback receives. """ owns(obj) = obj.own +# What every `destroy!` does: release the PETSc object with `destroy_fn` (the +# class's `XDestroy`) if `obj` owns it and it belongs to the current +# initialize/finalize cycle, then null the handle. A borrowed handle is left as is. +function destroy_handle!(destroy_fn, obj, ::Type{PetscLib}) where {PetscLib} + owns(obj) || return nothing + isdestroyable(obj, PetscLib) && destroy_fn(PetscLib, obj) + obj.ptr = C_NULL + return nothing +end + # The command line PETSc is initialized with: the options go in as arguments, # not through `PETSC_OPTIONS`, which PETSc on Windows cannot see once set from # Julia. An entry holding several words, such as "-ksp_type cg", is split. @@ -330,26 +340,8 @@ function release_library_handle(petsclib) end -""" - scalartype(petsclib::PetscLibType) - -return the scalar type for the associated `petsclib` -""" -scalartype(::LibPETSc.PetscLibType{ST}) where {ST} = ST -scalartype( - ::Type{PetscLib}, -) where {PetscLib <: PetscLibType{ST}} where {ST} = ST - - -""" - inttype(petsclib::PetscLibType) - -return the int type for the associated `petsclib` -""" -inttype(::LibPETSc.PetscLibType{ST, IT}) where {ST, IT} = IT -inttype( - ::Type{PetscLib}, -) where {PetscLib <: PetscLibType{ST, IT}} where {ST, IT} = IT +# PETSc and LibPETSc share these functions: there is one of each +import .LibPETSc: scalartype, inttype, realtype """ PetscLibType(library_path::String; PetscScalar=Float64, PetscInt=Int64) @@ -428,14 +420,6 @@ function library_path_string(lib) end end -""" - LibraryInfo - -The shape of the `NamedTuple` [`library_info`](@ref) returns, and the type its -`show` method is written for. -""" -const LibraryInfo = NamedTuple{(:source, :path, :scalar, :int, :real)} - """ library_info() @@ -452,9 +436,8 @@ Report the PETSc library configuration as a `NamedTuple` (§12). The preferred library is `petsclibs[1]`: the configured one when a preference is set, and the first of the bundled builds otherwise. -v0.4 printed a report and returned `nothing`, so the name promised data it never -handed back. The report is unchanged — it is now the `show` method — and the -values are reachable from code. +It prints as the `NamedTuple` it is. `PETSc.petsclibs` lists every library +loaded in this session. ```julia info = library_info() @@ -482,29 +465,6 @@ function library_info() ) end -# The report v0.4's `library_info` printed. It is written for the exact field -# names `library_info` returns, so it cannot claim a `NamedTuple` this package -# does not own. -function Base.show(io::IO, ::MIME"text/plain", info::LibraryInfo) - if info.source === :preferences - println(io, "Source : LocalPreferences.toml") - println(io, "Path : ", info.path) - println(io, "Scalar : ", info.scalar) - println(io, "Int : ", info.int) - else - println(io, "Source : PETSc_jll (default precompiled binaries)") - end - - println(io, "\nLoaded libraries (this session):") - for lib in petsclibs - println( - io, - " [$(lib.PetscScalar), $(lib.PetscInt)]: ", - library_path_string(lib), - ) - end -end - """ set_library!(path; PetscScalar=Float64, PetscInt=Int64) diff --git a/src/ksp.jl b/src/ksp.jl index 833989cba..65841e989 100644 --- a/src/ksp.jl +++ b/src/ksp.jl @@ -197,7 +197,7 @@ end """ - solve!(x::PetscVec, ksp::KSP, b::PetscVec; check = nothing) + solve!(x::AbstractPetscVec, ksp::AbstractKSP, b::AbstractPetscVec; check = nothing) solve!(ksp::KSP; check = nothing) Solve the linear system of `ksp` for the right-hand side `b` into `x`, and return @@ -218,9 +218,9 @@ $(doc_external("KSP/KSPSolve")) $(doc_external("KSP/KSPGetConvergedReason")) """ function solve!( - x::PetscVec{PetscLib}, - ksp::KSP{PetscLib}, - b::PetscVec{PetscLib}; + x::AbstractPetscVec{PetscLib}, + ksp::AbstractKSP{PetscLib}, + b::AbstractPetscVec{PetscLib}; check::Union{Nothing, Bool} = nothing, ) where {PetscLib} with_solver_options(ksp; solving = true) do @@ -247,7 +247,8 @@ function solve!( return ksp end -LinearAlgebra.ldiv!(x::PetscVec{PetscLib}, ksp::KSP{PetscLib}, b::PetscVec{PetscLib}) where {PetscLib} = solve!(x, ksp, b) +LinearAlgebra.ldiv!(x::AbstractPetscVec{PetscLib}, ksp::AbstractKSP{PetscLib}, b::AbstractPetscVec{PetscLib}) where {PetscLib} = + solve!(x, ksp, b) """ setup!(ksp::AbstractKSP) @@ -317,7 +318,7 @@ LibPETSc.@for_petsc function set_pre_solve!(pre_solve!, ksp::AbstractKSP{$PetscL return ksp end -function Base.:\(ksp::KSP, b::PetscVec{PetscLib}) where {PetscLib} +function Base.:\(ksp::AbstractKSP{PetscLib}, b::AbstractPetscVec{PetscLib}) where {PetscLib} x = similar(b) ldiv!(x, ksp, b) return x @@ -361,16 +362,8 @@ one `ksp(ts)` hands back: see [`owns`](@ref). $(doc_external("KSP/KSPDestroy")) """ function destroy!(ksp::KSP{PetscLib}) where {PetscLib} - owns(ksp) || return nothing - if !isnothing(ksp.opts) - destroy!(ksp.opts) - ksp.opts = nothing - end - if isdestroyable(ksp, PetscLib) - LibPETSc.KSPDestroy(PetscLib, ksp) - end - ksp.ptr = C_NULL - return nothing + owns(ksp) && destroy_options!(ksp) + return destroy_handle!(LibPETSc.KSPDestroy, ksp, PetscLib) end diff --git a/src/mat.jl b/src/mat.jl index fdc1f4453..fd250d78f 100644 --- a/src/mat.jl +++ b/src/mat.jl @@ -608,13 +608,13 @@ end """ - mul!(y::PetscVec{PetscLib}, M::AbstractPetscMat{PetscLib}, x::PetscVec{PetscLib}) + mul!(y::AbstractPetscVec, M::AbstractPetscMat, x::AbstractPetscVec) Computes `y` = `M`*`x` """ -function LinearAlgebra.mul!(y::PetscVec{PetscLib},M::AbstractPetscMat{PetscLib},x::PetscVec{PetscLib}) where {PetscLib} +function LinearAlgebra.mul!(y::AbstractPetscVec{PetscLib}, M::AbstractPetscMat{PetscLib}, x::AbstractPetscVec{PetscLib}) where {PetscLib} capture_callback_errors(() -> LibPETSc.MatMult(PetscLib, M, x, y)) return y end @@ -639,8 +639,8 @@ const TransposedPetscMat{PetscLib} = Union{ } """ - mul!(y::PetscVec, A', x::PetscVec) - mul!(y::PetscVec, transpose(A), x::PetscVec) + mul!(y::AbstractPetscVec, A', x::AbstractPetscVec) + mul!(y::AbstractPetscVec, transpose(A), x::AbstractPetscVec) Compute `y = Aᴴx` or `y = Aᵀx` without forming the transpose, and return `y`. @@ -649,9 +649,9 @@ $(doc_external("Mat/MatMultHermitianTranspose")) $(doc_external("Mat/MatMultTranspose")) """ function LinearAlgebra.mul!( - y::PetscVec{PetscLib}, + y::AbstractPetscVec{PetscLib}, M::TransposedPetscMat{PetscLib}, - x::PetscVec{PetscLib}, + x::AbstractPetscVec{PetscLib}, ) where {PetscLib} multiply = M isa Adjoint ? LibPETSc.MatMultHermitianTranspose : LibPETSc.MatMultTranspose capture_callback_errors(() -> multiply(PetscLib, parent(M), x, y)) @@ -826,14 +826,8 @@ Does nothing on a matrix that only borrows its handle: see [`owns`](@ref). # External Links $(doc_external("Mat/MatDestroy")) """ -function destroy!(m::AbstractPetscMat{PetscLib}) where {PetscLib} - owns(m) || return nothing - if isdestroyable(m, PetscLib) - LibPETSc.MatDestroy(PetscLib, m) - end - m.ptr = C_NULL - return nothing -end +destroy!(m::AbstractPetscMat{PetscLib}) where {PetscLib} = + destroy_handle!(LibPETSc.MatDestroy, m, PetscLib) """ copyto!(M::AbstractPetscMat, S::SparseMatrixCSC) diff --git a/src/options.jl b/src/options.jl index 189bce7c5..d51aafac5 100644 --- a/src/options.jl +++ b/src/options.jl @@ -99,14 +99,8 @@ Does nothing when the library has been finalized or re-initialized, or when `opts` was already destroyed: see [`isdestroyable`](@ref). Does nothing on a borrowed handle either: see [`owns`](@ref). """ -function destroy!(opts::AbstractPetscOptions{PetscLib}) where {PetscLib} - owns(opts) || return nothing - if isdestroyable(opts, PetscLib) - LibPETSc.PetscOptionsDestroy(PetscLib, opts) - end - opts.ptr = C_NULL - return nothing -end +destroy!(opts::AbstractPetscOptions{PetscLib}) where {PetscLib} = + destroy_handle!(LibPETSc.PetscOptionsDestroy, opts, PetscLib) function Base.setindex!( opts::AbstractPetscOptions{PetscLib}, @@ -206,6 +200,14 @@ options from `opts`, and pop it again even if `f` throws. Returns the result of # External Links $(doc_external("Sys/PetscOptionsPush")) """ +# The constructor options of a KSP, SNES or TS go with the solver +function destroy_options!(solver) + isnothing(solver.opts) && return nothing + destroy!(solver.opts) + solver.opts = nothing + return nothing +end + function with_options(f, opts::AbstractPetscOptions{PetscLib}) where {PetscLib} stack = options_stack(PetscLib) !isempty(stack) && last(stack) == opts.ptr && return f() diff --git a/src/pc.jl b/src/pc.jl index 361186f73..b8b433d19 100644 --- a/src/pc.jl +++ b/src/pc.jl @@ -19,14 +19,8 @@ Destroy the preconditioner `p` holds. Does nothing on the borrowed handle # External Links $(doc_external("PC/PCDestroy")) """ -function destroy!(p::AbstractPC{PetscLib}) where {PetscLib} - owns(p) || return nothing - if isdestroyable(p, PetscLib) - LibPETSc.PCDestroy(PetscLib, p) - end - p.ptr = C_NULL - return nothing -end +destroy!(p::AbstractPC{PetscLib}) where {PetscLib} = + destroy_handle!(LibPETSc.PCDestroy, p, PetscLib) """ pc(ksp::AbstractKSP) diff --git a/src/public_names.jl b/src/public_names.jl index e8d5eda75..fc0cd390e 100644 --- a/src/public_names.jl +++ b/src/public_names.jl @@ -4,42 +4,44 @@ # The high-level API that is not exported (docs/src/man/naming.md §13.1). # Julia 1.12 is the minimum supported version, so this is unconditional. -public @bd_fn, @jacobian_fn, @residual_fn, @simple_fn, AbstractPetscDS, - AbstractPetscMemBackend, ConvergenceError, KSPComputeOperatorsFn, KSPComputeRHSFn, - MatOp, MatPtr, MatShell, PetscDS, PetscLibType, PetscNotInitialized, - SNESSetConvergenceTestFn, SNESSetFunctionFn, SNESSetJacobianFn, TSMonitorSetFn, - TSSetIFunctionFn, TSSetIJacobianFn, TSSetRHSFunctionFn, TSSetRHSJacobianFn, VecPtr, - acquire_local_array, add_boundary!, add_coarsen_hook!, add_index!, - add_natural_boundary!, array_type, assemble!, audit_file, check_wrappers_version, - clone, coarse_dm, comm, compose_constant_nullspace!, converged_reason, copy_disc!, - copy_quadrature!, corners, create_ds!, create_split_boundary_labels!, current_time, - destroy!, diagonal!, distribute!, dm, dof_slot, ds, edge_location, element_location, - equation_type, face_location, fe_create_default, fe_create_lagrange, finalize, - function_norm, ghost_corners, ghost_update!, ghost_update_begin!, ghost_update_end!, - global_indices, global_to_local!, global_vec, info, initialize, interpolate, - interpolate!, inttype, isassembled, isfinalized, isinitialized, issimplex, - iteration_number, ksp, ksp_iterations, l2diff, label, library_info, local_arrays, - local_coordinate_array, local_coordinates, local_indices, - local_interior_linear_index, local_to_global!, local_to_local!, local_vec, - mat_nullspace_create, max_steps, max_time, memtype, memtype_backend, narrow, ndofs, - on_lower_side, options_prefix, ownership_range, owns, parse_option, parse_options, - pc, prev_time, project_field!, project_function!, release_local_array, reset!, - reshape_local_array, restore_local_arrays!, save_vtk, scalartype, set_adapt_type!, - set_auxiliary_vec!, set_compute_operators!, set_compute_rhs!, set_constants!, - set_convergence_test!, set_dm!, set_dm_active!, set_equation_type!, - set_error_if_step_fails!, set_exact_final_time!, set_exact_solution!, set_field!, - set_fieldsplit_is!, set_from_options!, set_function!, set_function_domain_error!, - set_ifunction!, set_ijacobian!, set_jacobian!, set_jacobian_nullspace!, - set_jacobian_preconditioner!, set_library!, set_matrix_preallocate_only!, - set_max_snes_failures!, set_max_step_rejections!, set_max_steps!, set_max_time!, - set_monitor!, set_name!, set_nullspace!, set_operators!, set_option!, - set_options_prefix!, set_petscint!, set_post_setup!, set_post_step!, set_pre_solve!, - set_pre_step!, set_problem_type!, set_residual!, set_rhs_function!, - set_rhs_jacobian!, set_shell_apply!, set_shell_setup!, set_snes_jacobian!, - set_snes_local_fem!, set_solution!, set_step_number!, set_time!, set_timestep!, - set_tolerances!, set_type!, set_uniform_coordinates!, set_user_ctx!, set_values!, - setup!, snes, snes_failures, snes_iterations, solution, solve!, solve_time, - star_fd_coloring, stencil, step!, step_number, step_rejections, +public @bd_fn, @jacobian_fn, @residual_fn, @simple_fn, AO, AbstractAO, AbstractIS, + AbstractKSP, AbstractPC, AbstractPF, AbstractPetscDM, AbstractPetscDS, + AbstractPetscMat, AbstractPetscMemBackend, AbstractPetscOptions, AbstractPetscVec, + AbstractSNES, AbstractTS, AbstractTao, ConvergenceError, IS, KSPComputeOperatorsFn, + KSPComputeRHSFn, MatOp, MatPtr, MatShell, PC, PF, PetscDM, PetscDS, PetscLibType, + PetscNotInitialized, SNESSetConvergenceTestFn, SNESSetFunctionFn, SNESSetJacobianFn, + TSMonitorSetFn, TSSetIFunctionFn, TSSetIJacobianFn, TSSetRHSFunctionFn, + TSSetRHSJacobianFn, Tao, VecPtr, acquire_local_array, add_boundary!, + add_coarsen_hook!, add_index!, add_natural_boundary!, array_type, assemble!, + audit_file, check_wrappers_version, clone, coarse_dm, comm, + compose_constant_nullspace!, converged_reason, copy_disc!, copy_quadrature!, corners, + create_ds!, create_split_boundary_labels!, current_time, destroy!, diagonal!, + distribute!, dm, dof_slot, ds, edge_location, element_location, equation_type, + face_location, fe_create_default, fe_create_lagrange, finalize, function_norm, + ghost_corners, ghost_update!, ghost_update_begin!, ghost_update_end!, global_indices, + global_to_local!, global_vec, info, initialize, interpolate, interpolate!, inttype, + isassembled, isfinalized, isinitialized, issimplex, iteration_number, ksp, + ksp_iterations, l2diff, label, library_info, local_arrays, local_coordinate_array, + local_coordinates, local_indices, local_interior_linear_index, local_to_global!, + local_to_local!, local_vec, mat_nullspace_create, max_steps, max_time, memtype, + memtype_backend, narrow, ndofs, on_lower_side, options_prefix, ownership_range, owns, + parse_option, parse_options, pc, prev_time, project_field!, project_function!, + realtype, release_local_array, reset!, reshape_local_array, restore_local_arrays!, + save_vtk, scalartype, set_adapt_type!, set_auxiliary_vec!, set_compute_operators!, + set_compute_rhs!, set_constants!, set_convergence_test!, set_dm!, set_dm_active!, + set_equation_type!, set_error_if_step_fails!, set_exact_final_time!, + set_exact_solution!, set_field!, set_fieldsplit_is!, set_from_options!, + set_function!, set_function_domain_error!, set_ifunction!, set_ijacobian!, + set_jacobian!, set_jacobian_nullspace!, set_jacobian_preconditioner!, set_library!, + set_matrix_preallocate_only!, set_max_snes_failures!, set_max_step_rejections!, + set_max_steps!, set_max_time!, set_monitor!, set_name!, set_nullspace!, + set_operators!, set_option!, set_options_prefix!, set_petscint!, set_post_setup!, + set_post_step!, set_pre_solve!, set_pre_step!, set_problem_type!, set_residual!, + set_rhs_function!, set_rhs_jacobian!, set_shell_apply!, set_shell_setup!, + set_snes_jacobian!, set_snes_local_fem!, set_solution!, set_step_number!, set_time!, + set_timestep!, set_tolerances!, set_type!, set_uniform_coordinates!, set_user_ctx!, + set_values!, setup!, snes, snes_failures, snes_iterations, solution, solve!, + solve_time, star_fd_coloring, stencil, step!, step_number, step_rejections, tao_usable_after_reinitialize, timestep, tolerances, track!, type_name, unsafe_local_array, unset_library!, untrack!, user_ctx, vertex_location, vtk_merge_tensor, with_destroy, with_field_views!, with_local_array!, with_options, diff --git a/src/snes.jl b/src/snes.jl index 7303d3a38..5ecbb2cee 100644 --- a/src/snes.jl +++ b/src/snes.jl @@ -188,8 +188,8 @@ function (w::SNESSetFunctionFn{PetscLib})( # Wrap the actual C SNES for the current MG level so that dm() inside # the callback returns the correct DM (matches the pattern in KSPComputeRHSFn). actual_snes = SNES{PetscLib}(actual_snes_ptr, getlib(PetscLib).age; own = false) - x = PetscVec{PetscLib}(r_x; own = false) - fx = PetscVec{PetscLib}(r_fx; own = false) + x = PetscVec{PetscLib}(r_x, getlib(PetscLib).age; own = false) + fx = PetscVec{PetscLib}(r_fx, getlib(PetscLib).age; own = false) return run_callback("residual f!") do if Base.applicable(snes.f!, fx, actual_snes, x, snes.user_ctx) @@ -265,9 +265,9 @@ function (w::SNESSetJacobianFn{PetscLib})( ) where {PetscLib} snes = unsafe_pointer_to_objref(snes_ptr)::SNESState actual_snes = SNES{PetscLib}(actual_snes_ptr, getlib(PetscLib).age; own = false) - x = PetscVec{PetscLib}(r_x; own = false) - A = PetscMat{PetscLib}(r_A; own = false) - P = PetscMat{PetscLib}(r_P; own = false) + x = PetscVec{PetscLib}(r_x, getlib(PetscLib).age; own = false) + A = PetscMat{PetscLib}(r_A, getlib(PetscLib).age; own = false) + P = PetscMat{PetscLib}(r_P, getlib(PetscLib).age; own = false) same_mat = (P.ptr == A.ptr) @@ -465,16 +465,8 @@ Does nothing on a borrowed handle, such as the one [`snes(ts)`](@ref) hands back $(doc_external("SNES/SNESDestroy")) """ function destroy!(snes::AbstractSNES{PetscLib}) where {PetscLib} - owns(snes) || return nothing - if !isnothing(snes.opts) - destroy!(snes.opts) - snes.opts = nothing - end - if isdestroyable(snes, PetscLib) - LibPETSc.SNESDestroy(PetscLib, snes) - end - snes.ptr = C_NULL - return nothing + owns(snes) && destroy_options!(snes) + return destroy_handle!(LibPETSc.SNESDestroy, snes, PetscLib) end diff --git a/src/ts.jl b/src/ts.jl index 63b01f93e..19b61d03b 100644 --- a/src/ts.jl +++ b/src/ts.jl @@ -353,16 +353,8 @@ Does nothing on a borrowed handle: see [`owns`](@ref). $(doc_external("TS/TSDestroy")) """ function destroy!(ts::AbstractTS{PetscLib}) where {PetscLib} - owns(ts) || return nothing - if !isnothing(ts.opts) - destroy!(ts.opts) - ts.opts = nothing - end - if isdestroyable(ts, PetscLib) - LibPETSc.TSDestroy(PetscLib, ts) - end - ts.ptr = C_NULL - return nothing + owns(ts) && destroy_options!(ts) + return destroy_handle!(LibPETSc.TSDestroy, ts, PetscLib) end """ @@ -1098,8 +1090,8 @@ function (::TSSetRHSFunctionFn{PetscLib, PetscReal})( ) where {PetscLib, PetscReal} ts = unsafe_pointer_to_objref(ctx)::TSState actual_ts = TS{PetscLib}(ts_ptr, getlib(PetscLib).age; own = false) - u = PetscVec{PetscLib}(u_ptr; own = false) - F = PetscVec{PetscLib}(F_ptr; own = false) + u = PetscVec{PetscLib}(u_ptr, getlib(PetscLib).age; own = false) + F = PetscVec{PetscLib}(F_ptr, getlib(PetscLib).age; own = false) run_callback("rhs_function!") do if Base.applicable(ts.rhs_function!, F, actual_ts, t, u, ts.user_ctx) @@ -1156,9 +1148,9 @@ function (::TSSetRHSJacobianFn{PetscLib, PetscReal})( ) where {PetscLib, PetscReal} ts = unsafe_pointer_to_objref(ctx)::TSState actual_ts = TS{PetscLib}(ts_ptr, getlib(PetscLib).age; own = false) - u = PetscVec{PetscLib}(u_ptr; own = false) - A = PetscMat{PetscLib}(A_ptr; own = false) - P = PetscMat{PetscLib}(P_ptr; own = false) + u = PetscVec{PetscLib}(u_ptr, getlib(PetscLib).age; own = false) + A = PetscMat{PetscLib}(A_ptr, getlib(PetscLib).age; own = false) + P = PetscMat{PetscLib}(P_ptr, getlib(PetscLib).age; own = false) run_callback("rhs_jacobian!") do if Base.applicable(ts.rhs_jacobian!, A, P, actual_ts, t, u, ts.user_ctx) @@ -1223,9 +1215,9 @@ function (::TSSetIFunctionFn{PetscLib, PetscReal})( ) where {PetscLib, PetscReal} ts = unsafe_pointer_to_objref(ctx)::TSState actual_ts = TS{PetscLib}(ts_ptr, getlib(PetscLib).age; own = false) - u = PetscVec{PetscLib}(u_ptr; own = false) - u_t = PetscVec{PetscLib}(udot_ptr; own = false) - F = PetscVec{PetscLib}(F_ptr; own = false) + u = PetscVec{PetscLib}(u_ptr, getlib(PetscLib).age; own = false) + u_t = PetscVec{PetscLib}(udot_ptr, getlib(PetscLib).age; own = false) + F = PetscVec{PetscLib}(F_ptr, getlib(PetscLib).age; own = false) run_callback("ifunction!") do if Base.applicable(ts.ifunction!, F, actual_ts, t, u, u_t, ts.user_ctx) @@ -1284,10 +1276,10 @@ function (::TSSetIJacobianFn{PetscLib, PetscReal})( ) where {PetscLib, PetscReal} ts = unsafe_pointer_to_objref(ctx)::TSState actual_ts = TS{PetscLib}(ts_ptr, getlib(PetscLib).age; own = false) - u = PetscVec{PetscLib}(u_ptr; own = false) - u_t = PetscVec{PetscLib}(udot_ptr; own = false) - A = PetscMat{PetscLib}(A_ptr; own = false) - P = PetscMat{PetscLib}(P_ptr; own = false) + u = PetscVec{PetscLib}(u_ptr, getlib(PetscLib).age; own = false) + u_t = PetscVec{PetscLib}(udot_ptr, getlib(PetscLib).age; own = false) + A = PetscMat{PetscLib}(A_ptr, getlib(PetscLib).age; own = false) + P = PetscMat{PetscLib}(P_ptr, getlib(PetscLib).age; own = false) run_callback("ijacobian!") do if Base.applicable( @@ -1366,7 +1358,7 @@ function (::TSMonitorSetFn{PetscLib, PetscInt, PetscReal})( ) where {PetscLib, PetscInt, PetscReal} ts = unsafe_pointer_to_objref(ctx)::TSState actual_ts = TS{PetscLib}(ts_ptr, getlib(PetscLib).age; own = false) - u = PetscVec{PetscLib}(u_ptr; own = false) + u = PetscVec{PetscLib}(u_ptr, getlib(PetscLib).age; own = false) run_callback("monitor") do if Base.applicable(ts.monitor, actual_ts, step, t, u, ts.user_ctx) diff --git a/src/vec.jl b/src/vec.jl index 4d9667f77..88805d7ae 100644 --- a/src/vec.jl +++ b/src/vec.jl @@ -400,14 +400,8 @@ nothing on a vector that only borrows its handle: see [`owns`](@ref). # External Links $(doc_external("Vec/VecDestroy")) """ -function destroy!(m::AbstractPetscVec{PetscLib}) where {PetscLib} - owns(m) || return nothing - if isdestroyable(m, PetscLib) - LibPETSc.VecDestroy(PetscLib, m) - end - m.ptr = C_NULL - return nothing -end +destroy!(m::AbstractPetscVec{PetscLib}) where {PetscLib} = + destroy_handle!(LibPETSc.VecDestroy, m, PetscLib) """ @@ -625,6 +619,7 @@ as_petsc_vec(v::LibPETSc.PetscVec) = v as_petsc_vec(v::AbstractPetscVec) = LibPETSc.PetscVec(v) """ + memtype(vecs::AbstractPetscVec...) Query the `PetscMemType` of each Vec and return the corresponding array type. Errors if the Vecs are on heterogeneous devices (different `PetscMemType` @@ -779,9 +774,12 @@ end scattermode = SCATTER_FORWARD, ) -Finishes scattering `vec` to the local or global representations +Update the ghost values of `vec` and return it: [`ghost_update_begin!`](@ref) +followed by [`ghost_update_end!`](@ref). Use the two halves separately to overlap +the communication with other work. # External Links +$(doc_external("Vec/VecGhostUpdateBegin")) $(doc_external("Vec/VecGhostUpdateEnd")) """ function ghost_update!( diff --git a/test/core/api_surface.jl b/test/core/api_surface.jl index 45a7446f6..eee945801 100644 --- a/test/core/api_surface.jl +++ b/test/core/api_surface.jl @@ -21,3 +21,24 @@ include(joinpath(pkgdir(PETSc), "scripts", "api_surface.jl")) # by finding nothing at all. @test length(APISurface.surface()) > 100 end + +@testset "handle types and type accessors are public" begin + handles = ( + :AbstractPetscVec, :AbstractPetscMat, :AbstractPetscDM, :AbstractKSP, + :AbstractPC, :AbstractSNES, :AbstractTS, :AbstractPetscOptions, :AbstractIS, + :AbstractAO, :AbstractPF, :AbstractTao, :PetscDM, :PC, :IS, :AO, :PF, :Tao, + ) + for name in handles + @test Base.ispublic(PETSc, name) + @test getfield(PETSc, name) === getfield(PETSc.LibPETSc, name) + @test Docs.hasdoc(PETSc.LibPETSc, name) + end + # One function each, shared with LibPETSc + for name in (:scalartype, :inttype, :realtype) + @test Base.ispublic(PETSc, name) + @test getfield(PETSc, name) === getfield(PETSc.LibPETSc, name) + end + petsclib = PETSc.petsclibs[1] + @test PETSc.realtype(petsclib) === real(PETSc.scalartype(petsclib)) + @test PETSc.inttype(typeof(petsclib)) === petsclib.PetscInt +end diff --git a/test/core/init.jl b/test/core/init.jl index c72130c2c..c43513b68 100644 --- a/test/core/init.jl +++ b/test/core/init.jl @@ -186,8 +186,7 @@ using PETSc end end - # naming.md §12: `library_info` returns the values it used to print, and the - # report is its `show` method. + # naming.md §12: `library_info` returns its values as a plain NamedTuple @testset "library_info" begin info = PETSc.library_info() @test info isa NamedTuple @@ -198,14 +197,10 @@ using PETSc @test info.real === real(PETSc.petsclibs[1].PetscScalar) @test info.path isa AbstractString - report = sprint(show, MIME"text/plain"(), info) - @test occursin("Source : ", report) - @test occursin("Loaded libraries (this session):", report) - if info.source === :preferences - @test occursin("Path : $(info.path)", report) - else - @test occursin("PETSc_jll", report) - end + # PETSc defines no `show` for it, so a NamedTuple of the user's with the + # same field names prints as Julia prints any NamedTuple + nt = (source = 1, path = 2, scalar = 3, int = 4, real = 5) + @test sprint(show, MIME"text/plain"(), nt) == "(source = 1, path = 2, scalar = 3, int = 4, real = 5)" end # `options` reach PETSc on every platform: they are handed to PetscInitialize diff --git a/test/lowlevel/wrapper_signatures.jl b/test/lowlevel/wrapper_signatures.jl index 49336007f..04bfcbb8a 100644 --- a/test/lowlevel/wrapper_signatures.jl +++ b/test/lowlevel/wrapper_signatures.jl @@ -99,6 +99,18 @@ end shell = PETSc.MatShell(petsclib, (y, x) -> (y .= x), wrapper_comm, 4, 4) @test LibPETSc.MatGetLocalSize(petsclib, shell) == (4, 4) + # A call that matches only the documented signature, here an integer + # where the library takes its scalar type, is a MethodError naming the types + err = try + LibPETSc.VecScale(petsclib, v, 3) + catch e + e + end + @test err isa MethodError + @test err.f === LibPETSc.VecScale + @test occursin("VecScale(", sprint(showerror, err)) + @test occursin("::Int", sprint(showerror, err)) + PETSc.destroy!(v) PETSc.destroy!(shell) PETSc.finalize(petsclib) diff --git a/test/solvers/snes.jl b/test/solvers/snes.jl index 6e174be82..a538c8305 100644 --- a/test/solvers/snes.jl +++ b/test/solvers/snes.jl @@ -130,7 +130,10 @@ using .PETScTestUtils: without_petsc_traceback ) r3 = LibPETSc.VecCreateSeqWithArray(petsclib,comm, PetscInt(1), PetscInt(2), zeros(PetscScalar, 2)) + # The handles a callback receives carry the library's current age + callback_ages = Int[] PETSc.set_function!(snes3, r3) do fx, snes, x + push!(callback_ages, fx.age, snes.age, x.age) fx[1] = x[1]^2 + x[1] * x[2] - 3 fx[2] = x[1] * x[2] + x[2]^2 - 6 return PetscInt(0) @@ -157,6 +160,7 @@ using .PETScTestUtils: without_petsc_traceback @test x3[:] ≈ [1, 2] rtol = 1e-4 + @test !isempty(callback_ages) && all(==(petsclib.age), callback_ages) # ---------------------------------------------------------------- # set_convergence_test! — custom Julia-closure convergence test diff --git a/test/vecmat/mat_vec_methods.jl b/test/vecmat/mat_vec_methods.jl index 22ec0e282..5015811b0 100644 --- a/test/vecmat/mat_vec_methods.jl +++ b/test/vecmat/mat_vec_methods.jl @@ -111,6 +111,28 @@ MPI.Initialized() || MPI.Init() foreach(PETSc.destroy!, (y, x, A)) end + @testset "products and solves take any vector handle" begin + A = nonsymmetric() + x = PETSc.PetscVec(petsclib, PetscScalar[1, 1]) + y = PETSc.PetscVec(petsclib, PetscScalar[0, 0]) + # borrowed VecPtr handles onto the same vectors + xp = PETSc.VecPtr(petsclib, x.ptr, false) + yp = PETSc.VecPtr(petsclib, y.ptr, false) + @test mul!(yp, A, xp) === yp + @test y[:] == PetscScalar[3, 7] + @test mul!(yp, A', xp) === yp + @test y[:] == PetscScalar[4, 6] + @test (A * xp)[:] == PetscScalar[3, 7] + ksp = PETSc.KSP(A; ksp_type = "preonly", pc_type = "lu") + b = PETSc.PetscVec(petsclib, PetscScalar[3, 7]) + bp = PETSc.VecPtr(petsclib, b.ptr, false) + @test (ksp \ bp)[:] ≈ PetscScalar[1, 1] + fill!(y, 0) + @test PETSc.solve!(yp, ksp, bp) === yp + @test y[:] ≈ PetscScalar[1, 1] + foreach(PETSc.destroy!, (ksp, b, y, x, A)) + end + @testset "issymmetric, ishermitian" begin L, A = laplacian(), nonsymmetric() @test issymmetric(L) && ishermitian(L) diff --git a/wrapping/generator/src/render.jl b/wrapping/generator/src/render.jl index 50d144abc..00fc1f1d2 100644 --- a/wrapping/generator/src/render.jl +++ b/wrapping/generator/src/render.jl @@ -13,9 +13,11 @@ function doc_header(r::Rules, args::Vector{FArg}, fname::String) end str_in = join(ins, ", ") str_out = join(outs, ",") + # The input names in the order of `ins`, for the stub's MethodError + names_in = join((a.name for a in args if !a.output || a.inout), ", ") call = isempty(ins) ? "$fname(petsclib::PetscLibType)" : "$fname(petsclib::PetscLibType, $str_in)" hdr = isempty(outs) ? call : "$(join(outs_doc, ",")) = $call" - return hdr, str_in, str_out, length(ins), length(outs) + return hdr, str_in, str_out, names_in, length(ins), length(outs) end function ccall_header(args::Vector{FArg}) @@ -47,7 +49,7 @@ Writes the docstring, the untyped stub and the `@for_petsc` method for `fn`. """ function render_function(io::IO, r::Rules, fn::Fn, args::Vector{FArg}, doc_lines, mansec::String) name = fn.name - hdr, str_in, str_out, num_in, num_out = doc_header(r, args, name) + hdr, str_in, str_out, names_in, num_in, num_out = doc_header(r, args, name) ctypes, cnames = ccall_header(args) println(io, "\"\"\"") println(io, "\t$hdr ") @@ -61,14 +63,14 @@ function render_function(io::IO, r::Rules, fn::Fn, args::Vector{FArg}, doc_lines println(io, "\$(_doc_external(\"$mansec/$name\"))") println(io, "\"\"\"") # The untyped stub carries the docstring. Its scalar types are loosened (PetscScalar -> Number, ...) - # so it is never more specific than a generated method (no ambiguities), and it throws, so a call - # with wrong argument types is an error rather than a silent no-op. + # so it is never more specific than a generated method (no ambiguities), and it throws a + # MethodError naming the argument types, so a call with wrong types reads as one. if num_in > 0 println(io, "function $name(petsclib::PetscLibType, $(loosen(str_in)))") else println(io, "function $name(petsclib::PetscLibType)") end - println(io, " error(\"$name: no generated method for these argument types\")") + println(io, " throw(MethodError($name, (petsclib, $names_in)))") println(io, "end") println(io, "") if num_in > 0