diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..b1a3c0bf --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,39 @@ +name: CI +on: + - pull_request +jobs: + test: + name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + version: + - '1.3' + - '1.4' + - '1.5' + - 'nightly' + os: + - ubuntu-latest + - macOS-latest + - windows-latest + arch: + - x64 + steps: + - uses: actions/checkout@v2 + - uses: julia-actions/setup-julia@v1 + with: + version: ${{ matrix.version }} + arch: ${{ matrix.arch }} + - uses: actions/cache@v1 + env: + cache-name: cache-artifacts + with: + path: ~/.julia/artifacts + key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} + restore-keys: | + ${{ runner.os }}-test-${{ env.cache-name }}- + ${{ runner.os }}-test- + ${{ runner.os }}- + - uses: julia-actions/julia-buildpkg@latest + - uses: julia-actions/julia-runtest@latest diff --git a/.gitignore b/.gitignore index fb0af9d7..0b279ce1 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ deps/petsc-*.tar.gz *.jl.mem docs/build/ docs/site/ +Manifest.toml \ No newline at end of file diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index e9eb8a55..00000000 --- a/.travis.yml +++ /dev/null @@ -1,41 +0,0 @@ -language: julia -os: - - linux - - osx -julia: - - 0.4 -# - nightly # need to fix this - -notifications: - email: false - -before_install: - - if [ `uname` = "Linux" ]; then - sudo apt-get update -qq; - sudo apt-get install build-essential gfortran perl g++ gcc cmake m4 git; - sudo apt-get install -y liblapack-dev liblapack-doc liblapack3gf; - sudo apt-get install -y libblas-dev libblas-doc libblas3gf; - echo `pwd`; - fi -install: - - ls ./deps - - ls -lh ./deps/travis-install-mpi.sh - - if [ `uname` = "Linux" ]; then - sudo ./deps/travis-install-mpi.sh mpich3; - elif [ `uname` = "Darwin" ]; then - sudo ./deps/travis-install-mpi.sh openmpi; - fi -# uncomment the following lines to override the default test script -script: - - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi - - julia --check-bounds=yes -e 'Pkg.clone(pwd()); Pkg.build("PETSc")' - - echo $HOME - - echo `pwd` - - julia --check-bounds=yes -e 'Pkg.test("PETSc"; coverage=true)' -# - julia --check-bounds=yes ./test/test_singlereal.jl - -after_success: - - echo $TRAVIS_JULIA_VERSION - - julia -e 'Pkg.add("Coverage"); cd(Pkg.dir("PETSc")); using Coverage; Coveralls.submit(process_folder()); Codecov.submit(process_folder())' - - julia -e 'Pkg.clone("https://github.com/MichaelHatherly/Documenter.jl")' - - julia -e 'cd(Pkg.dir("PETSc")); include(joinpath("docs", "make.jl"))' diff --git a/Project.toml b/Project.toml new file mode 100644 index 00000000..ea102eeb --- /dev/null +++ b/Project.toml @@ -0,0 +1,15 @@ +name = "PETSc" +uuid = "ace2c81b-2b5f-4b1e-a30d-d662738edfe0" +authors = ["Simon Byrne "] +version = "0.1.0" + +[deps] +Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb" +LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" +MPI = "da04e1cc-30fd-572f-bb4f-1f8673147195" +PETSc_jll = "8fa3689e-f0b9-5420-9873-adf6ccf46f2d" +SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" +Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" + +[compat] +julia = "1.3" diff --git a/deps/build.jl b/deps/build.jl deleted file mode 100644 index a0cebe02..00000000 --- a/deps/build.jl +++ /dev/null @@ -1,9 +0,0 @@ -# deps.jl is created at the end of a successful build, so rm -# to ensure that failed builds are missing this file. -if isfile("deps.jl") - rm("deps.jl") -end - -#Pkg.checkout("MPI", "master") -#Pkg.build("MPI") -include("build_petscs.jl") diff --git a/deps/build_petscs.jl b/deps/build_petscs.jl deleted file mode 100644 index ab458f5a..00000000 --- a/deps/build_petscs.jl +++ /dev/null @@ -1,179 +0,0 @@ -# build all three version of Petsc - -petsc_name = "petsc-3.6.0" -fmt = ".tar.gz" - -# download Petsc if needed -file_name = string(petsc_name, fmt) - -const buildopts_fname = "buildopts.conf" - -# load build options from last build -const fpath = joinpath(dirname(@__FILE__), buildopts_fname) -if isfile(fpath) - println("USING build options in file ", fpath) - envvars = readdlm(fpath) - for entry = 1:size(envvars, 1) - key = envvars[entry, 1] - val = envvars[entry, 2] - if haskey(ENV, key) - println("WARNING: build option $key cannot be specified as both environmental variable and buildopts.conf option, ignoring value from file...") - else - ENV[key] = val - end - end -end - - -# figure out what to build -const build_names = ["RealDouble", "RealSingle", "ComplexDouble"] -build_control = Dict() # dirname => whether or not to build it -arches = Dict() # dict of dirname => (PETSC_DIR, PETSC_ARCH) -build_any = false # whether or not to build anything -have_petsc = Array(Bool, 3) # whether or not each version of Petsc is usable -for (i, name) in enumerate(build_names) - if haskey(ENV, string("JULIA_PETSC_", name, "_DIR")) || haskey(ENV, string("JULIA_PETSC_", name, "_ARCH")) - if !(haskey(ENV, string("JULIA_PETSC_", name, "_DIR")) && haskey(ENV, string("JULIA_PETSC_", name, "_DIR"))) - error("Must have either both or neither DIR and ARCH for JULIA_PETSC_$name") - else - build_control[name] = false - have_petsc[i] = true - arches[name] = (ENV[string("JULIA_PETSC_",name, "_DIR")], ENV[string("JULIA_PETSC_", name, "_ARCH")]) - end - elseif haskey(ENV, string("JULIA_PETSC_", name, "_NOBUILD")) - build_control[name] = false - have_petsc[i] = false - arches[name] = ("NODIR", "42") - else - build_control[name] = true - have_petsc[i] = true - build_any = true - end -end - -# write options to file used for rebuild -suffixes_name = ["_DIR", "_ARCH", "_NOBUILD"] -suffixes_noname = ["_OPT", "_FLAGS"] -envvars = Dict{Any, Any}() -for (i, name) in enumerate(build_names) - for suf in suffixes_name - key_i = string("JULIA_PETSC_", name, suf) - if haskey(ENV, key_i) - envvars[key_i] = ENV[key_i] - end - end - - for suf in suffixes_noname - key_i = string("JULIA_PETSC_", suf) - if haskey(ENV, key_i) - envvars[key_i] = ENV[key_i] - end - end -end - -f = open(fpath, "w") -for (key, val) in envvars - println(f, key, " ", val) -end -close(f) - -# proceed with the build - -if !isfile(file_name) && build_any - println("DOWNLOADING $file_name") - download("http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/$file_name", file_name) -end - -const verbose=false # change to true for verbose compilation output - -# flags the user cannot specify -forbidden_flags = ["--with-64-bit-indices", "with-scalar-type", "--with-precision"] -# optimize or debug build -if haskey(ENV, "JULIA_PETSC_OPT") - println("Performing optimized build") - opt_flags = "--with-debugging=0 COPTFLAGS='-O3 -march=native -mtune=native' -CXXOPTFLAGS='-O3 -march=native -mtune=native' FOPTFLAGS='-O3 -march=native -mtune=native'" -elseif haskey(ENV, "JULIA_PETSC_FLAGS") - println("Performing user specified build") - opt_flags = ENV["JULIA_PETSC_FLAGS"] - for i in forbidden_flags - if contains(opt_flags, i) - throw(ArgumentError("JULIA_PETSC_FLAGS cannot contain $i")) - end - end -else - println("Performing standard (debug) build") - opt_flags = "--with-debugging=1" -end - -# the PETSc configure script does not support Python 3, so we need to -# find Python 2 if we can: -if build_any - pyconfigvar(python::AbstractString, var::AbstractString) = chomp(readall(`$python -c "import distutils.sysconfig; print(distutils.sysconfig.get_config_var('$var'))"`)) - pythonvers(python) = VersionNumber(pyconfigvar(python, "VERSION")) - pythonok(python) = try - return pythonvers(python) < v"3" - catch - return false - end - const PYTHON = get(ENV, "PYTHON", "python") - const python = pythonok(PYTHON) ? PYTHON : pythonok("python") ? "python" : - pythonok("python2") ? "python2" : pythonok("python2.7") ? "python2.7" : - error("could not find Python version < 3 for PETSc configure script") -end - - -for scalar_type in ("real", "complex"), precision in ("double", "single") - # extract the tarfile into a new directory: - name_i = ucfirst(scalar_type) * ucfirst(precision) - name_i == "ComplexSingle" && continue # PETSc doesn't support this (weird!) - !build_control[name_i] && continue # skip if the user said not to build this one - println("****************************************************************") - if isdir(name_i) - verbose && println("deleting existing installation $name_i") - rm("$name_i", recursive=true) - end - mkdir(name_i) - println("EXTRACTING PETSc to $name_i...") - run(`tar xz -C $name_i -f $file_name`) - - cd(joinpath(name_i, petsc_name)) do - withenv("PETSC_DIR"=>nothing, "PETSC_ARCH"=>nothing) do - println("CONFIGURING PETSc $name_i...") - PETSC_ARCH="" - for line in eachline(`$python configure --with-64-bit-indices=true --with-scalar-type=$scalar_type --with-precision=$precision $opt_flags`) - verbose && print(" $line") - if ismatch(r"^\s*PETSC_ARCH:", line) - PETSC_ARCH = chomp(split(line)[2]) - end - end - isempty(PETSC_ARCH) && error("couldn't determine PETSC_ARCH") -# println("PETSC_ARCH = ", PETSC_ARCH) - PETSC_DIR = pwd() # because we cd into this directory -# println("PETSC_DIR = ", PETSC_DIR) - arches[name_i] = (PETSC_DIR, PETSC_ARCH) - println("BUILDING PETSc $name_i...") - for line in eachline(`make MAKE_NP=$CPU_CORES PETSC_DIR=$(pwd()) PETSC_ARCH=$PETSC_ARCH`) - verbose && print(" $line") - end - println("TESTING PETSc $name_i...") - for line in eachline(`make MAKE_NP=$CPU_CORES PETSC_DIR=$(pwd()) PETSC_ARCH=$PETSC_ARCH test`) - verbose && print(" $line") - end - end - end -end - -# create deps.jl file with library locations - -open("deps.jl", "w") do f - for (i, name) in enumerate(build_names) - if haskey(arches, name) - PETSC_DIR, PETSC_ARCH = arches[name] - path = abspath(PETSC_DIR, PETSC_ARCH, "lib", "libpetsc") - # path = abspath(name, petsc_name, arches[name], "lib", "libpetsc") - println(f, "const petsc$name = \"", escape_string(path), "\"") - end - end - println(f, "const PetscInt = Int64") - println(f, "const have_petsc = [", have_petsc[1], " ", have_petsc[2], " ", have_petsc[3], "]") -end diff --git a/deps/travis-install-mpi.sh b/deps/travis-install-mpi.sh deleted file mode 100755 index 7d40adf0..00000000 --- a/deps/travis-install-mpi.sh +++ /dev/null @@ -1,64 +0,0 @@ -#!/bin/sh -# this conf file is taken from the mpi4py project -# http://mpi4py.scipy.org/ - -# because Travis' apt-get is broken, manually walk dependency tree -libnuma_pkg=libnuma1_2.0.9~rc5-1ubuntu2_amd64.deb -libnuma_url=http://mirrors.kernel.org/ubuntu/pool/main/n/numactl/ - -libhwlock_pkg=libhwloc5_1.8-1ubuntu1_amd64.deb -libhwlock_url=http://mirrors.kernel.org/ubuntu/pool/universe/h/hwloc/ - -hwlock_pkg=hwloc-nox_1.8-1ubuntu1_amd64.deb -hwlock_url=http://mirrors.kernel.org/ubuntu/pool/universe/h/hwloc/ - -libmpich_pkg=libmpich10_3.0.4-6ubuntu1_amd64.deb -libmpich_url=http://mirrors.kernel.org/ubuntu/pool/universe/m/mpich/ - -pkg_name=mpich_3.0.4-6ubuntu1_amd64.deb -url=http://mirrors.kernel.org/ubuntu/pool/universe/m/mpich/ - -mpichdev_pkg=libmpich-dev_3.0.4-6ubuntu1_amd64.deb -mpichdev_url=http://mirrors.kernel.org/ubuntu/pool/universe/m/mpich/ - -set -e -os=`uname` -case "$os" in - Darwin) - brew update - brew upgrade cmake - brew upgrade gcc - brew install openmpi --build-from-source --verbose | - sed -e 's/^.*$/./' - ;; - Linux) - case $1 in - mpich1) set -x; - sudo apt-get install -q gfortran mpich-shmem-bin libmpich-shmem1.0-dev;; - mpich2) set -x; - sudo apt-get install -q gfortran mpich2 libmpich2-3 libmpich2-dev;; - mpich3) set -x; - sudo apt-get install -q gfortran libcr0 libcr-dev default-jdk; - wget $libnuma_url$libnuma_pkg; - sudo dpkg -i $libnuma_pkg; - wget $libhwlock_url$libhwlock_pkg; - sudo dpkg -i ./$libhwlock_pkg; - wget $hwlock_url$hwlock_pkg; - sudo dpkg -i ./$hwlock_pkg; - wget $libmpich_url$libmpich_pkg; - sudo dpkg -i ./$libmpich_pkg; - wget $url$pkg_name; - sudo dpkg -i ./$pkg_name; - wget $mpichdev_url$mpichdev_pkg; - sudo dpkg -i ./$mpichdev_pkg;; - openmpi) set -x; - sudo apt-get install -q gfortran openmpi-bin openmpi-common libopenmpi-dev;; - *) - echo "Unknown MPI implementation:" $1; exit 1;; - esac - ;; - *) - echo "Unknown operating system: $os" - exit 1 - ;; -esac diff --git a/src/PETSc.jl b/src/PETSc.jl index bd0ea169..118358ce 100644 --- a/src/PETSc.jl +++ b/src/PETSc.jl @@ -1,18 +1,17 @@ module PETSc -import MPI -export PetscInt -using ArrayViews -include(joinpath("generated", "C.jl")) -using .C -include("petsc_com.jl") +using MPI, LinearAlgebra, SparseArrays + +using PETSc_jll + +include("const.jl") +include("lib.jl") +include("init.jl") +include("viewer.jl") include("options.jl") -include("is.jl") include("vec.jl") include("mat.jl") -include("vec_scatter.jl") -include("pc.jl") +include("matshell.jl") include("ksp.jl") -include("mapping.jl") -include("ts.jl") + end diff --git a/src/const.jl b/src/const.jl new file mode 100644 index 00000000..2328e91b --- /dev/null +++ b/src/const.jl @@ -0,0 +1,118 @@ +# define common PETSc constants +# this excludes configurable constants (e.g. PetscScalar) which are set in lib.jl + +const PetscErrorCode = Cint + +struct PetscError <: Exception + code::PetscErrorCode +end + +macro chk(expr) + :((errcode = $(esc(expr))) == 0 || throw(PetscError(errcode))) +end + +const PETSC_DEFAULT = -2 + + +@enum PetscBool PETSC_FALSE PETSC_TRUE + +@enum PetscDataType begin + PETSC_DATATYPE_UNKNOWN = 0 + PETSC_DOUBLE = 1 + PETSC_COMPLEX = 2 + PETSC_LONG = 3 + PETSC_SHORT = 4 + PETSC_FLOAT = 5 + PETSC_CHAR = 6 + PETSC_BIT_LOGICAL = 7 + PETSC_ENUM = 8 + PETSC_BOOL = 9 + PETSC_FLOAT128 = 10 + PETSC_OBJECT = 11 + PETSC_FUNCTION = 12 + PETSC_STRING = 13 + PETSC___FP16 = 14 + PETSC_STRUCT = 15 + PETSC_INT = 16 + PETSC_INT64 = 17 +end + +const Petsc64bitInt = Int64 +const PetscLogDouble = Cdouble + +@enum InsertMode NOT_SET_VALUES INSERT_VALUES ADD_VALUES MAX_VALUES MIN_VALUES INSERT_ALL_VALUES ADD_ALL_VALUES INSERT_BC_VALUES ADD_BC_VALUES + + + +@enum NormType begin + NORM_1 = 0 + NORM_2 = 1 + NORM_FROBENIUS = 2 + NORM_INFINITY = 3 + NORM_1_AND_2 = 4 +end + +@enum MatAssemblyType MAT_FLUSH_ASSEMBLY=1 MAT_FINAL_ASSEMBLY=0 + +@enum MatFactorType begin + MAT_FACTOR_NONE = 0 + MAT_FACTOR_LU = 1 + MAT_FACTOR_CHOLESKY = 2 + MAT_FACTOR_ILU = 3 + MAT_FACTOR_ICC = 4 + MAT_FACTOR_ILUDT = 5 +end + +@enum PetscViewerFormat begin + PETSC_VIEWER_DEFAULT + PETSC_VIEWER_ASCII_MATLAB + PETSC_VIEWER_ASCII_MATHEMATICA + PETSC_VIEWER_ASCII_IMPL + PETSC_VIEWER_ASCII_INFO + PETSC_VIEWER_ASCII_INFO_DETAIL + PETSC_VIEWER_ASCII_COMMON + PETSC_VIEWER_ASCII_SYMMODU + PETSC_VIEWER_ASCII_INDEX + PETSC_VIEWER_ASCII_DENSE + PETSC_VIEWER_ASCII_MATRIXMARKET + PETSC_VIEWER_ASCII_VTK + PETSC_VIEWER_ASCII_VTK_CELL + PETSC_VIEWER_ASCII_VTK_COORDS + PETSC_VIEWER_ASCII_PCICE + PETSC_VIEWER_ASCII_PYTHON + PETSC_VIEWER_ASCII_FACTOR_INFO + PETSC_VIEWER_ASCII_LATEX + PETSC_VIEWER_ASCII_XML + PETSC_VIEWER_ASCII_GLVIS + PETSC_VIEWER_ASCII_CSV + PETSC_VIEWER_DRAW_BASIC + PETSC_VIEWER_DRAW_LG + PETSC_VIEWER_DRAW_LG_XRANGE + PETSC_VIEWER_DRAW_CONTOUR + PETSC_VIEWER_DRAW_PORTS + PETSC_VIEWER_VTK_VTS + PETSC_VIEWER_VTK_VTR + PETSC_VIEWER_VTK_VTU + PETSC_VIEWER_BINARY_MATLAB + PETSC_VIEWER_NATIVE + PETSC_VIEWER_HDF5_PETSC + PETSC_VIEWER_HDF5_VIZ + PETSC_VIEWER_HDF5_XDMF + PETSC_VIEWER_HDF5_MAT + PETSC_VIEWER_NOFORMAT + PETSC_VIEWER_LOAD_BALANCE +end + +@enum MatOperation begin + MATOP_SET_VALUES=0 + MATOP_GET_ROW=1 + MATOP_RESTORE_ROW=2 + MATOP_MULT=3 + MATOP_MULT_ADD=4 + MATOP_MULT_TRANSPOSE=5 + MATOP_MULT_TRANSPOSE_ADD=6 + MATOP_SOLVE=7 + MATOP_SOLVE_ADD=8 + MATOP_SOLVE_TRANSPOSE=9 + MATOP_SOLVE_TRANSPOSE_ADD=10 +end \ No newline at end of file diff --git a/src/generated/C.jl b/src/generated/C.jl deleted file mode 100644 index c494abd0..00000000 --- a/src/generated/C.jl +++ /dev/null @@ -1,20 +0,0 @@ -module C - -using Compat -export PetscInt - -include("defs.jl") -include("libPETSc_commonRealDouble.jl") -if have_petsc[1] - include("PETScRealDouble.jl") -end -if have_petsc[2] - include("PETScRealSingle.jl") -end -if have_petsc[3] - include("PETScComplexDouble.jl") -end -include("error.jl") -include("defs2.jl") -include("c_funcs.jl") -end diff --git a/src/generated/PETScComplexDouble.jl b/src/generated/PETScComplexDouble.jl deleted file mode 100644 index 558a1e19..00000000 --- a/src/generated/PETScComplexDouble.jl +++ /dev/null @@ -1,17718 +0,0 @@ -# Julia wrapper for header: ../../deps/RealDouble/petsc-3.6.0/include/petsc.h -# Automatically generated using Clang.jl wrap_c, version 0.0.0 - - -function PetscAbsScalar(arg0::Type{Complex128},a::Complex128) - err = ccall((:PetscAbsScalar,petscComplexDouble),PetscReal,(Complex128,),a) - return err -end - -function PetscIsInfOrNanReal(arg0::Type{Complex128},arg1::Float64) - err = ccall((:PetscIsInfOrNanReal,petscComplexDouble),PetscErrorCode,(Float64,),arg1) - return err -end - -function PetscIsNormalReal(arg0::Type{Complex128},arg1::Float64) - err = ccall((:PetscIsNormalReal,petscComplexDouble),PetscBool,(Float64,),arg1) - return err -end - -function PetscIsInfOrNanScalar(arg0::Type{Complex128},v::Complex128) - err = ccall((:PetscIsInfOrNanScalar,petscComplexDouble),PetscErrorCode,(Complex128,),v) - return err -end - -function PetscIsNormalScalar(arg0::Type{Complex128},v::Complex128) - err = ccall((:PetscIsNormalScalar,petscComplexDouble),PetscErrorCode,(Complex128,),v) - return err -end - -function PetscPowInt(arg0::Type{Complex128},base::Integer,power::Integer) - err = ccall((:PetscPowInt,petscComplexDouble),PetscInt,(Int64,Int64),base,power) - return err -end - -function PetscPowRealInt(arg0::Type{Complex128},base::Float64,power::Integer) - err = ccall((:PetscPowRealInt,petscComplexDouble),PetscReal,(Float64,Int64),base,power) - return err -end - -function PetscPowScalarInt(arg0::Type{Complex128},base::Complex128,power::Integer) - err = ccall((:PetscPowScalarInt,petscComplexDouble),PetscScalar,(Complex128,Int64),base,power) - return err -end - -function PetscPowScalarReal(arg0::Type{Complex128},base::Complex128,power::Float64) - err = ccall((:PetscPowScalarReal,petscComplexDouble),PetscScalar,(Complex128,Float64),base,power) - return err -end - -function PetscSetHelpVersionFunctions(arg0::Type{Complex128},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscSetHelpVersionFunctions,petscComplexDouble),PetscErrorCode,(Ptr{Void},Ptr{Void}),arg1,arg2) - return err -end - -function PetscCommDuplicate(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{MPI_Comm},StridedArray{MPI_Comm},Ptr{MPI_Comm},Ref{MPI_Comm}},arg3::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}}) - err = ccall((:PetscCommDuplicate,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{comm_type},Ptr{Cint}),arg1,arg2,arg3) - return err -end - -function PetscCommDestroy(arg0::Type{Complex128},arg1::Union{Ptr{MPI_Comm},StridedArray{MPI_Comm},Ptr{MPI_Comm},Ref{MPI_Comm}}) - err = ccall((:PetscCommDestroy,petscComplexDouble),PetscErrorCode,(Ptr{comm_type},),arg1) - return err -end - -function PetscMallocSet(arg0::Type{Complex128},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscMallocSet,petscComplexDouble),PetscErrorCode,(Ptr{Void},Ptr{Void}),arg1,arg2) - return err -end - -function PetscMallocClear(arg0::Type{Complex128}) - err = ccall((:PetscMallocClear,petscComplexDouble),PetscErrorCode,()) - return err -end - -#= skipping function with undefined symbols: - function PetscMallocDump(arg0::Type{Complex128},arg1::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}}) - ccall((:PetscMallocDump,petscComplexDouble),PetscErrorCode,(Ptr{FILE},),arg1) -end -=# -#= skipping function with undefined symbols: - function PetscMallocDumpLog(arg0::Type{Complex128},arg1::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}}) - ccall((:PetscMallocDumpLog,petscComplexDouble),PetscErrorCode,(Ptr{FILE},),arg1) -end -=# -function PetscMallocGetCurrentUsage(arg0::Type{Complex128},arg1::Union{Ptr{PetscLogDouble},StridedArray{PetscLogDouble},Ptr{PetscLogDouble},Ref{PetscLogDouble}}) - err = ccall((:PetscMallocGetCurrentUsage,petscComplexDouble),PetscErrorCode,(Ptr{PetscLogDouble},),arg1) - return err -end - -function PetscMallocGetMaximumUsage(arg0::Type{Complex128},arg1::Union{Ptr{PetscLogDouble},StridedArray{PetscLogDouble},Ptr{PetscLogDouble},Ref{PetscLogDouble}}) - err = ccall((:PetscMallocGetMaximumUsage,petscComplexDouble),PetscErrorCode,(Ptr{PetscLogDouble},),arg1) - return err -end - -function PetscMallocDebug(arg0::Type{Complex128},arg1::PetscBool) - err = ccall((:PetscMallocDebug,petscComplexDouble),PetscErrorCode,(PetscBool,),arg1) - return err -end - -function PetscMallocGetDebug(arg0::Type{Complex128},arg1::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscMallocGetDebug,petscComplexDouble),PetscErrorCode,(Ptr{PetscBool},),arg1) - return err -end - -function PetscMallocValidate(arg0::Type{Complex128},arg1::Integer,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscMallocValidate,petscComplexDouble),PetscErrorCode,(Cint,Cstring,Cstring),arg1,arg2,arg3) - return err -end - -function PetscMallocSetDumpLog(arg0::Type{Complex128}) - err = ccall((:PetscMallocSetDumpLog,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscMallocSetDumpLogThreshold(arg0::Type{Complex128},arg1::PetscLogDouble) - err = ccall((:PetscMallocSetDumpLogThreshold,petscComplexDouble),PetscErrorCode,(PetscLogDouble,),arg1) - return err -end - -function PetscMallocGetDumpLog(arg0::Type{Complex128},arg1::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscMallocGetDumpLog,petscComplexDouble),PetscErrorCode,(Ptr{PetscBool},),arg1) - return err -end - -#= skipping function with undefined symbols: - function PetscDataTypeToMPIDataType(arg0::Type{Complex128},arg1::PetscDataType,arg2::Union{Ptr{MPI_Datatype},StridedArray{MPI_Datatype},Ptr{MPI_Datatype},Ref{MPI_Datatype}}) - ccall((:PetscDataTypeToMPIDataType,petscComplexDouble),PetscErrorCode,(PetscDataType,Ptr{MPI_Datatype}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function PetscMPIDataTypeToPetscDataType(arg0::Type{Complex128},arg1::MPI_Datatype,arg2::Union{Ptr{PetscDataType},StridedArray{PetscDataType},Ptr{PetscDataType},Ref{PetscDataType}}) - ccall((:PetscMPIDataTypeToPetscDataType,petscComplexDouble),PetscErrorCode,(MPI_Datatype,Ptr{PetscDataType}),arg1,arg2) -end -=# -function PetscDataTypeGetSize(arg0::Type{Complex128},arg1::PetscDataType,arg2::Union{Ptr{Csize_t},StridedArray{Csize_t},Ptr{Csize_t},Ref{Csize_t}}) - err = ccall((:PetscDataTypeGetSize,petscComplexDouble),PetscErrorCode,(PetscDataType,Ptr{Csize_t}),arg1,arg2) - return err -end - -function PetscDataTypeFromString(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{PetscDataType},StridedArray{PetscDataType},Ptr{PetscDataType},Ref{PetscDataType}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscDataTypeFromString,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{PetscDataType},Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function PetscBitMemcpy(arg0::Type{Complex128},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg2::Integer,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Integer,arg5::Integer,arg6::PetscDataType) - err = ccall((:PetscBitMemcpy,petscComplexDouble),PetscErrorCode,(Ptr{Void},Int64,Ptr{Void},Int64,Int64,PetscDataType),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscMemmove(arg0::Type{Complex128},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Csize_t) - err = ccall((:PetscMemmove,petscComplexDouble),PetscErrorCode,(Ptr{Void},Ptr{Void},Csize_t),arg1,arg2,arg3) - return err -end - -function PetscMemcmp(arg0::Type{Complex128},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Csize_t,arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscMemcmp,petscComplexDouble),PetscErrorCode,(Ptr{Void},Ptr{Void},Csize_t,Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function PetscStrlen(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Csize_t},StridedArray{Csize_t},Ptr{Csize_t},Ref{Csize_t}}) - err = ccall((:PetscStrlen,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{Csize_t}),arg1,arg2) - return err -end - -function PetscStrToArray(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::UInt8,arg3::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}},arg4::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}}) - err = ccall((:PetscStrToArray,petscComplexDouble),PetscErrorCode,(Cstring,UInt8,Ptr{Cint},Ptr{Ptr{Ptr{UInt8}}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscStrToArrayDestroy(arg0::Type{Complex128},arg1::Integer,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscStrToArrayDestroy,petscComplexDouble),PetscErrorCode,(Cint,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscStrcmp(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscStrcmp,petscComplexDouble),PetscErrorCode,(Cstring,Cstring,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function PetscStrgrt(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscStrgrt,petscComplexDouble),PetscErrorCode,(Cstring,Cstring,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function PetscStrcasecmp(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscStrcasecmp,petscComplexDouble),PetscErrorCode,(Cstring,Cstring,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function PetscStrncmp(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Csize_t,arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscStrncmp,petscComplexDouble),PetscErrorCode,(Cstring,Cstring,Csize_t,Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function PetscStrcpy(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscStrcpy,petscComplexDouble),PetscErrorCode,(Cstring,Cstring),arg1,arg2) - return err -end - -function PetscStrcat(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscStrcat,petscComplexDouble),PetscErrorCode,(Cstring,Cstring),arg1,arg2) - return err -end - -function PetscStrncat(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Csize_t) - err = ccall((:PetscStrncat,petscComplexDouble),PetscErrorCode,(Cstring,Cstring,Csize_t),arg1,arg2,arg3) - return err -end - -function PetscStrncpy(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Csize_t) - err = ccall((:PetscStrncpy,petscComplexDouble),PetscErrorCode,(Cstring,Cstring,Csize_t),arg1,arg2,arg3) - return err -end - -function PetscStrchr(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::UInt8,arg3::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscStrchr,petscComplexDouble),PetscErrorCode,(Cstring,UInt8,Ptr{Ptr{UInt8}}),arg1,arg2,arg3) - return err -end - -function PetscStrtolower(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscStrtolower,petscComplexDouble),PetscErrorCode,(Cstring,),arg1) - return err -end - -function PetscStrtoupper(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscStrtoupper,petscComplexDouble),PetscErrorCode,(Cstring,),arg1) - return err -end - -function PetscStrrchr(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::UInt8,arg3::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscStrrchr,petscComplexDouble),PetscErrorCode,(Cstring,UInt8,Ptr{Ptr{UInt8}}),arg1,arg2,arg3) - return err -end - -function PetscStrstr(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscStrstr,petscComplexDouble),PetscErrorCode,(Cstring,Cstring,Ptr{Ptr{UInt8}}),arg1,arg2,arg3) - return err -end - -function PetscStrrstr(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscStrrstr,petscComplexDouble),PetscErrorCode,(Cstring,Cstring,Ptr{Ptr{UInt8}}),arg1,arg2,arg3) - return err -end - -function PetscStrendswith(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscStrendswith,petscComplexDouble),PetscErrorCode,(Cstring,Cstring,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function PetscStrbeginswith(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscStrbeginswith,petscComplexDouble),PetscErrorCode,(Cstring,Cstring,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function PetscStrendswithwhich(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscStrendswithwhich,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{Ptr{UInt8}},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscStrallocpy(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscStrallocpy,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscStrArrayallocpy(arg0::Type{Complex128},arg1::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg2::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}}) - err = ccall((:PetscStrArrayallocpy,petscComplexDouble),PetscErrorCode,(Ptr{Ptr{UInt8}},Ptr{Ptr{Ptr{UInt8}}}),arg1,arg2) - return err -end - -function PetscStrArrayDestroy(arg0::Type{Complex128},arg1::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}}) - err = ccall((:PetscStrArrayDestroy,petscComplexDouble),PetscErrorCode,(Ptr{Ptr{Ptr{UInt8}}},),arg1) - return err -end - -function PetscStrNArrayallocpy(arg0::Type{Complex128},arg1::Integer,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg3::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}}) - err = ccall((:PetscStrNArrayallocpy,petscComplexDouble),PetscErrorCode,(Int64,Ptr{Ptr{UInt8}},Ptr{Ptr{Ptr{UInt8}}}),arg1,arg2,arg3) - return err -end - -function PetscStrNArrayDestroy(arg0::Type{Complex128},arg1::Integer,arg2::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}}) - err = ccall((:PetscStrNArrayDestroy,petscComplexDouble),PetscErrorCode,(Int64,Ptr{Ptr{Ptr{UInt8}}}),arg1,arg2) - return err -end - -function PetscStrreplace(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Csize_t) - err = ccall((:PetscStrreplace,petscComplexDouble),PetscErrorCode,(comm_type,Cstring,Cstring,Csize_t),arg1,arg2,arg3,arg4) - return err -end - -function PetscStrcmpNoError(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscStrcmpNoError,petscComplexDouble),Void,(Cstring,Cstring,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function PetscTokenCreate(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::UInt8,arg3::Union{Ptr{PetscToken},StridedArray{PetscToken},Ptr{PetscToken},Ref{PetscToken}}) - err = ccall((:PetscTokenCreate,petscComplexDouble),PetscErrorCode,(Cstring,UInt8,Ptr{PetscToken}),arg1,arg2,arg3) - return err -end - -function PetscTokenFind(arg0::Type{Complex128},arg1::PetscToken,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscTokenFind,petscComplexDouble),PetscErrorCode,(PetscToken,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscTokenDestroy(arg0::Type{Complex128},arg1::Union{Ptr{PetscToken},StridedArray{PetscToken},Ptr{PetscToken},Ref{PetscToken}}) - err = ccall((:PetscTokenDestroy,petscComplexDouble),PetscErrorCode,(Ptr{PetscToken},),arg1) - return err -end - -function PetscEListFind(arg0::Type{Complex128},arg1::Integer,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscEListFind,petscComplexDouble),PetscErrorCode,(Int64,Ptr{Ptr{UInt8}},Cstring,Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscEnumFind(arg0::Type{Complex128},arg1::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscEnum},StridedArray{PetscEnum},Ptr{PetscEnum},Ref{PetscEnum}},arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscEnumFind,petscComplexDouble),PetscErrorCode,(Ptr{Ptr{UInt8}},Cstring,Ptr{PetscEnum},Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function PetscMaxSum(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscMaxSum,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -#= skipping function with undefined symbols: - function MPIULong_Send(arg0::Type{Complex128},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg2::Integer,arg3::MPI_Datatype,arg4::PetscMPIInt,arg5::PetscMPIInt,arg6::MPI_Comm) - ccall((:MPIULong_Send,petscComplexDouble),PetscErrorCode,(Ptr{Void},Int64,MPI_Datatype,PetscMPIInt,PetscMPIInt,comm_type),arg1,arg2,arg3,arg4,arg5,arg6) -end -=# -#= skipping function with undefined symbols: - function MPIULong_Recv(arg0::Type{Complex128},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg2::Integer,arg3::MPI_Datatype,arg4::PetscMPIInt,arg5::PetscMPIInt,arg6::MPI_Comm) - ccall((:MPIULong_Recv,petscComplexDouble),PetscErrorCode,(Ptr{Void},Int64,MPI_Datatype,PetscMPIInt,PetscMPIInt,comm_type),arg1,arg2,arg3,arg4,arg5,arg6) -end -=# -function PetscErrorPrintfInitialize(arg0::Type{Complex128}) - err = ccall((:PetscErrorPrintfInitialize,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscErrorMessage(arg0::Type{Complex128},arg1::Integer,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg3::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscErrorMessage,petscComplexDouble),PetscErrorCode,(Cint,Ptr{Ptr{UInt8}},Ptr{Ptr{UInt8}}),arg1,arg2,arg3) - return err -end - -function PetscTraceBackErrorHandler(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Integer,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::PetscErrorCode,arg6::PetscErrorType,arg7::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg8::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscTraceBackErrorHandler,petscComplexDouble),PetscErrorCode,(comm_type,Cint,Cstring,Cstring,PetscErrorCode,PetscErrorType,Cstring,Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function PetscIgnoreErrorHandler(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Integer,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::PetscErrorCode,arg6::PetscErrorType,arg7::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg8::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscIgnoreErrorHandler,petscComplexDouble),PetscErrorCode,(comm_type,Cint,Cstring,Cstring,PetscErrorCode,PetscErrorType,Cstring,Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function PetscEmacsClientErrorHandler(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Integer,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::PetscErrorCode,arg6::PetscErrorType,arg7::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg8::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscEmacsClientErrorHandler,petscComplexDouble),PetscErrorCode,(comm_type,Cint,Cstring,Cstring,PetscErrorCode,PetscErrorType,Cstring,Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function PetscMPIAbortErrorHandler(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Integer,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::PetscErrorCode,arg6::PetscErrorType,arg7::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg8::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscMPIAbortErrorHandler,petscComplexDouble),PetscErrorCode,(comm_type,Cint,Cstring,Cstring,PetscErrorCode,PetscErrorType,Cstring,Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function PetscAbortErrorHandler(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Integer,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::PetscErrorCode,arg6::PetscErrorType,arg7::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg8::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscAbortErrorHandler,petscComplexDouble),PetscErrorCode,(comm_type,Cint,Cstring,Cstring,PetscErrorCode,PetscErrorType,Cstring,Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function PetscAttachDebuggerErrorHandler(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Integer,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::PetscErrorCode,arg6::PetscErrorType,arg7::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg8::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscAttachDebuggerErrorHandler,petscComplexDouble),PetscErrorCode,(comm_type,Cint,Cstring,Cstring,PetscErrorCode,PetscErrorType,Cstring,Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function PetscReturnErrorHandler(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Integer,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::PetscErrorCode,arg6::PetscErrorType,arg7::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg8::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscReturnErrorHandler,petscComplexDouble),PetscErrorCode,(comm_type,Cint,Cstring,Cstring,PetscErrorCode,PetscErrorType,Cstring,Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function PetscPushErrorHandler(arg0::Type{Complex128},handler::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscPushErrorHandler,petscComplexDouble),PetscErrorCode,(Ptr{Void},Ptr{Void}),handler,arg1) - return err -end - -function PetscPopErrorHandler(arg0::Type{Complex128}) - err = ccall((:PetscPopErrorHandler,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscSignalHandlerDefault(arg0::Type{Complex128},arg1::Integer,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscSignalHandlerDefault,petscComplexDouble),PetscErrorCode,(Cint,Ptr{Void}),arg1,arg2) - return err -end - -function PetscPushSignalHandler(arg0::Type{Complex128},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscPushSignalHandler,petscComplexDouble),PetscErrorCode,(Ptr{Void},Ptr{Void}),arg1,arg2) - return err -end - -function PetscPopSignalHandler(arg0::Type{Complex128}) - err = ccall((:PetscPopSignalHandler,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscCheckPointerSetIntensity(arg0::Type{Complex128},arg1::Integer) - err = ccall((:PetscCheckPointerSetIntensity,petscComplexDouble),PetscErrorCode,(Int64,),arg1) - return err -end - -function PetscSetFPTrap(arg0::Type{Complex128},arg1::PetscFPTrap) - err = ccall((:PetscSetFPTrap,petscComplexDouble),PetscErrorCode,(PetscFPTrap,),arg1) - return err -end - -function PetscFPTrapPush(arg0::Type{Complex128},arg1::PetscFPTrap) - err = ccall((:PetscFPTrapPush,petscComplexDouble),PetscErrorCode,(PetscFPTrap,),arg1) - return err -end - -function PetscFPTrapPop(arg0::Type{Complex128}) - err = ccall((:PetscFPTrapPop,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscStackCopy(arg0::Type{Complex128},arg1::Union{Ptr{PetscStack},StridedArray{PetscStack},Ptr{PetscStack},Ref{PetscStack}},arg2::Union{Ptr{PetscStack},StridedArray{PetscStack},Ptr{PetscStack},Ref{PetscStack}}) - err = ccall((:PetscStackCopy,petscComplexDouble),PetscErrorCode,(Ptr{PetscStack},Ptr{PetscStack}),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function PetscStackPrint(arg0::Type{Complex128},arg1::Union{Ptr{PetscStack},StridedArray{PetscStack},Ptr{PetscStack},Ref{PetscStack}},arg2::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}}) - ccall((:PetscStackPrint,petscComplexDouble),PetscErrorCode,(Ptr{PetscStack},Ptr{FILE}),arg1,arg2) -end -=# -function PetscStackActive(arg0::Type{Complex128}) - err = ccall((:PetscStackActive,petscComplexDouble),PetscBool,()) - return err -end - -function PetscStackCreate(arg0::Type{Complex128}) - err = ccall((:PetscStackCreate,petscComplexDouble),PetscErrorCode,()) - return err -end - -#= skipping function with undefined symbols: - function PetscStackView(arg0::Type{Complex128},arg1::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}}) - ccall((:PetscStackView,petscComplexDouble),PetscErrorCode,(Ptr{FILE},),arg1) -end -=# -function PetscStackDestroy(arg0::Type{Complex128}) - err = ccall((:PetscStackDestroy,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscClassIdRegister(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{PetscClassId},StridedArray{PetscClassId},Ptr{PetscClassId},Ref{PetscClassId}}) - err = ccall((:PetscClassIdRegister,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{PetscClassId}),arg1,arg2) - return err -end - -function PetscMemoryGetCurrentUsage(arg0::Type{Complex128},arg1::Union{Ptr{PetscLogDouble},StridedArray{PetscLogDouble},Ptr{PetscLogDouble},Ref{PetscLogDouble}}) - err = ccall((:PetscMemoryGetCurrentUsage,petscComplexDouble),PetscErrorCode,(Ptr{PetscLogDouble},),arg1) - return err -end - -function PetscMemoryGetMaximumUsage(arg0::Type{Complex128},arg1::Union{Ptr{PetscLogDouble},StridedArray{PetscLogDouble},Ptr{PetscLogDouble},Ref{PetscLogDouble}}) - err = ccall((:PetscMemoryGetMaximumUsage,petscComplexDouble),PetscErrorCode,(Ptr{PetscLogDouble},),arg1) - return err -end - -function PetscMemorySetGetMaximumUsage(arg0::Type{Complex128}) - err = ccall((:PetscMemorySetGetMaximumUsage,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscMemoryTrace(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscMemoryTrace,petscComplexDouble),PetscErrorCode,(Cstring,),arg1) - return err -end - -function PetscInfoAllow(arg0::Type{Complex128},arg1::PetscBool,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscInfoAllow,petscComplexDouble),PetscErrorCode,(PetscBool,Cstring),arg1,arg2) - return err -end - -function PetscSleep(arg0::Type{Complex128},arg1::Float64) - err = ccall((:PetscSleep,petscComplexDouble),PetscErrorCode,(Float64,),arg1) - return err -end - -function PetscInitialize(arg0::Type{Complex128},arg1::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}},arg2::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscInitialize,petscComplexDouble),PetscErrorCode,(Ptr{Cint},Ptr{Ptr{Ptr{UInt8}}},Cstring,Cstring),arg1,arg2,arg3,arg4) - return err -end - -function PetscInitializeNoPointers(arg0::Type{Complex128},arg1::Integer,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscInitializeNoPointers,petscComplexDouble),PetscErrorCode,(Cint,Ptr{Ptr{UInt8}},Cstring,Cstring),arg1,arg2,arg3,arg4) - return err -end - -function PetscInitializeNoArguments(arg0::Type{Complex128}) - err = ccall((:PetscInitializeNoArguments,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscInitialized(arg0::Type{Complex128},arg1::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscInitialized,petscComplexDouble),PetscErrorCode,(Ptr{PetscBool},),arg1) - return err -end - -function PetscFinalized(arg0::Type{Complex128},arg1::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscFinalized,petscComplexDouble),PetscErrorCode,(Ptr{PetscBool},),arg1) - return err -end - -function PetscFinalize(arg0::Type{Complex128}) - err = ccall((:PetscFinalize,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscInitializeFortran(arg0::Type{Complex128}) - err = ccall((:PetscInitializeFortran,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscGetArgs(arg0::Type{Complex128},arg1::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}},arg2::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}}) - err = ccall((:PetscGetArgs,petscComplexDouble),PetscErrorCode,(Ptr{Cint},Ptr{Ptr{Ptr{UInt8}}}),arg1,arg2) - return err -end - -function PetscGetArguments(arg0::Type{Complex128},arg1::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}}) - err = ccall((:PetscGetArguments,petscComplexDouble),PetscErrorCode,(Ptr{Ptr{Ptr{UInt8}}},),arg1) - return err -end - -function PetscFreeArguments(arg0::Type{Complex128},arg1::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscFreeArguments,petscComplexDouble),PetscErrorCode,(Ptr{Ptr{UInt8}},),arg1) - return err -end - -function PetscEnd(arg0::Type{Complex128}) - err = ccall((:PetscEnd,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscSysInitializePackage(arg0::Type{Complex128}) - err = ccall((:PetscSysInitializePackage,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscPythonInitialize(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscPythonInitialize,petscComplexDouble),PetscErrorCode,(Cstring,Cstring),arg1,arg2) - return err -end - -function PetscPythonFinalize(arg0::Type{Complex128}) - err = ccall((:PetscPythonFinalize,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscPythonPrintError(arg0::Type{Complex128}) - err = ccall((:PetscPythonPrintError,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscPythonMonitorSet(arg0::Type{Complex128},arg1::PetscObject,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscPythonMonitorSet,petscComplexDouble),PetscErrorCode,(PetscObject,Cstring),arg1,arg2) - return err -end - -function PetscObjectDestroy(arg0::Type{Complex128},arg1::Union{Ptr{PetscObject},StridedArray{PetscObject},Ptr{PetscObject},Ref{PetscObject}}) - err = ccall((:PetscObjectDestroy,petscComplexDouble),PetscErrorCode,(Ptr{PetscObject},),arg1) - return err -end - -function PetscObjectGetComm(arg0::Type{Complex128},arg1::PetscObject,arg2::Union{Ptr{MPI_Comm},StridedArray{MPI_Comm},Ptr{MPI_Comm},Ref{MPI_Comm}}) - err = ccall((:PetscObjectGetComm,petscComplexDouble),PetscErrorCode,(PetscObject,Ptr{comm_type}),arg1,arg2) - return err -end - -function PetscObjectGetClassId(arg0::Type{Complex128},arg1::PetscObject,arg2::Union{Ptr{PetscClassId},StridedArray{PetscClassId},Ptr{PetscClassId},Ref{PetscClassId}}) - err = ccall((:PetscObjectGetClassId,petscComplexDouble),PetscErrorCode,(PetscObject,Ptr{PetscClassId}),arg1,arg2) - return err -end - -function PetscObjectGetClassName(arg0::Type{Complex128},arg1::PetscObject,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscObjectGetClassName,petscComplexDouble),PetscErrorCode,(PetscObject,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscObjectSetType(arg0::Type{Complex128},arg1::PetscObject,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscObjectSetType,petscComplexDouble),PetscErrorCode,(PetscObject,Cstring),arg1,arg2) - return err -end - -function PetscObjectSetPrecision(arg0::Type{Complex128},arg1::PetscObject,arg2::PetscPrecision) - err = ccall((:PetscObjectSetPrecision,petscComplexDouble),PetscErrorCode,(PetscObject,PetscPrecision),arg1,arg2) - return err -end - -function PetscObjectGetType(arg0::Type{Complex128},arg1::PetscObject,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscObjectGetType,petscComplexDouble),PetscErrorCode,(PetscObject,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscObjectSetName(arg0::Type{Complex128},arg1::PetscObject,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscObjectSetName,petscComplexDouble),PetscErrorCode,(PetscObject,Cstring),arg1,arg2) - return err -end - -function PetscObjectGetName(arg0::Type{Complex128},arg1::PetscObject,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscObjectGetName,petscComplexDouble),PetscErrorCode,(PetscObject,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscObjectSetTabLevel(arg0::Type{Complex128},arg1::PetscObject,arg2::Integer) - err = ccall((:PetscObjectSetTabLevel,petscComplexDouble),PetscErrorCode,(PetscObject,Int64),arg1,arg2) - return err -end - -function PetscObjectGetTabLevel(arg0::Type{Complex128},arg1::PetscObject,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscObjectGetTabLevel,petscComplexDouble),PetscErrorCode,(PetscObject,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscObjectIncrementTabLevel(arg0::Type{Complex128},arg1::PetscObject,arg2::PetscObject,arg3::Integer) - err = ccall((:PetscObjectIncrementTabLevel,petscComplexDouble),PetscErrorCode,(PetscObject,PetscObject,Int64),arg1,arg2,arg3) - return err -end - -function PetscObjectReference(arg0::Type{Complex128},arg1::PetscObject) - err = ccall((:PetscObjectReference,petscComplexDouble),PetscErrorCode,(PetscObject,),arg1) - return err -end - -function PetscObjectGetReference(arg0::Type{Complex128},arg1::PetscObject,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscObjectGetReference,petscComplexDouble),PetscErrorCode,(PetscObject,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscObjectDereference(arg0::Type{Complex128},arg1::PetscObject) - err = ccall((:PetscObjectDereference,petscComplexDouble),PetscErrorCode,(PetscObject,),arg1) - return err -end - -function PetscObjectGetNewTag(arg0::Type{Complex128},arg1::PetscObject,arg2::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}}) - err = ccall((:PetscObjectGetNewTag,petscComplexDouble),PetscErrorCode,(PetscObject,Ptr{PetscMPIInt}),arg1,arg2) - return err -end - -function PetscObjectCompose(arg0::Type{Complex128},arg1::PetscObject,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::PetscObject) - err = ccall((:PetscObjectCompose,petscComplexDouble),PetscErrorCode,(PetscObject,Cstring,PetscObject),arg1,arg2,arg3) - return err -end - -function PetscObjectRemoveReference(arg0::Type{Complex128},arg1::PetscObject,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscObjectRemoveReference,petscComplexDouble),PetscErrorCode,(PetscObject,Cstring),arg1,arg2) - return err -end - -function PetscObjectQuery(arg0::Type{Complex128},arg1::PetscObject,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscObject},StridedArray{PetscObject},Ptr{PetscObject},Ref{PetscObject}}) - err = ccall((:PetscObjectQuery,petscComplexDouble),PetscErrorCode,(PetscObject,Cstring,Ptr{PetscObject}),arg1,arg2,arg3) - return err -end - -function PetscObjectComposeFunction_Private(arg0::Type{Complex128},arg1::PetscObject,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscObjectComposeFunction_Private,petscComplexDouble),PetscErrorCode,(PetscObject,Cstring,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function PetscObjectSetFromOptions(arg0::Type{Complex128},arg1::PetscObject) - err = ccall((:PetscObjectSetFromOptions,petscComplexDouble),PetscErrorCode,(PetscObject,),arg1) - return err -end - -function PetscObjectSetUp(arg0::Type{Complex128},arg1::PetscObject) - err = ccall((:PetscObjectSetUp,petscComplexDouble),PetscErrorCode,(PetscObject,),arg1) - return err -end - -function PetscCommGetNewTag(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}}) - err = ccall((:PetscCommGetNewTag,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{PetscMPIInt}),arg1,arg2) - return err -end - -function PetscObjectAddOptionsHandler(arg0::Type{Complex128},arg1::PetscObject,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscObjectAddOptionsHandler,petscComplexDouble),PetscErrorCode,(PetscObject,Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function PetscObjectProcessOptionsHandlers(arg0::Type{Complex128},arg1::PetscObject) - err = ccall((:PetscObjectProcessOptionsHandlers,petscComplexDouble),PetscErrorCode,(PetscObject,),arg1) - return err -end - -function PetscObjectDestroyOptionsHandlers(arg0::Type{Complex128},arg1::PetscObject) - err = ccall((:PetscObjectDestroyOptionsHandlers,petscComplexDouble),PetscErrorCode,(PetscObject,),arg1) - return err -end - -function PetscObjectsListGetGlobalNumbering(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{PetscObject},StridedArray{PetscObject},Ptr{PetscObject},Ref{PetscObject}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscObjectsListGetGlobalNumbering,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Ptr{PetscObject},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscOptionsHasName(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsHasName,petscComplexDouble),PetscErrorCode,(Cstring,Cstring,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function PetscOptionsGetInt(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetInt,petscComplexDouble),PetscErrorCode,(Cstring,Cstring,Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function PetscOptionsGetBool(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetBool,petscComplexDouble),PetscErrorCode,(Cstring,Cstring,Ptr{PetscBool},Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function PetscOptionsGetReal(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetReal,petscComplexDouble),PetscErrorCode,(Cstring,Cstring,Ptr{Float64},Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function PetscOptionsGetScalar(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetScalar,petscComplexDouble),PetscErrorCode,(Cstring,Cstring,Ptr{Complex128},Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function PetscOptionsGetIntArray(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetIntArray,petscComplexDouble),PetscErrorCode,(Cstring,Cstring,Ptr{Int64},Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscOptionsGetRealArray(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetRealArray,petscComplexDouble),PetscErrorCode,(Cstring,Cstring,Ptr{Float64},Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscOptionsGetScalarArray(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetScalarArray,petscComplexDouble),PetscErrorCode,(Cstring,Cstring,Ptr{Complex128},Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscOptionsGetBoolArray(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetBoolArray,petscComplexDouble),PetscErrorCode,(Cstring,Cstring,Ptr{PetscBool},Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscOptionsGetString(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Csize_t,arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetString,petscComplexDouble),PetscErrorCode,(Cstring,Cstring,Cstring,Csize_t,Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscOptionsGetStringArray(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetStringArray,petscComplexDouble),PetscErrorCode,(Cstring,Cstring,Ptr{Ptr{UInt8}},Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscOptionsGetEList(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetEList,petscComplexDouble),PetscErrorCode,(Cstring,Cstring,Ptr{Ptr{UInt8}},Int64,Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscOptionsGetEnum(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg4::Union{Ptr{PetscEnum},StridedArray{PetscEnum},Ptr{PetscEnum},Ref{PetscEnum}},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetEnum,petscComplexDouble),PetscErrorCode,(Cstring,Cstring,Ptr{Ptr{UInt8}},Ptr{PetscEnum},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscOptionsGetEnumArray(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg4::Union{Ptr{PetscEnum},StridedArray{PetscEnum},Ptr{PetscEnum},Ref{PetscEnum}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetEnumArray,petscComplexDouble),PetscErrorCode,(Cstring,Cstring,Ptr{Ptr{UInt8}},Ptr{PetscEnum},Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscOptionsValidKey(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsValidKey,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscOptionsSetAlias(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscOptionsSetAlias,petscComplexDouble),PetscErrorCode,(Cstring,Cstring),arg1,arg2) - return err -end - -function PetscOptionsSetValue(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscOptionsSetValue,petscComplexDouble),PetscErrorCode,(Cstring,Cstring),arg1,arg2) - return err -end - -function PetscOptionsClearValue(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscOptionsClearValue,petscComplexDouble),PetscErrorCode,(Cstring,),arg1) - return err -end - -function PetscOptionsAllUsed(arg0::Type{Complex128},arg1::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscOptionsAllUsed,petscComplexDouble),PetscErrorCode,(Ptr{Int64},),arg1) - return err -end - -function PetscOptionsUsed(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsUsed,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscOptionsLeft(arg0::Type{Complex128}) - err = ccall((:PetscOptionsLeft,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscOptionsView(arg1::PetscViewer{Complex128}) - err = ccall((:PetscOptionsView,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},),arg1) - return err -end - -function PetscOptionsCreate(arg0::Type{Complex128}) - err = ccall((:PetscOptionsCreate,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscOptionsInsert(arg0::Type{Complex128},arg1::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}},arg2::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscOptionsInsert,petscComplexDouble),PetscErrorCode,(Ptr{Cint},Ptr{Ptr{Ptr{UInt8}}},Cstring),arg1,arg2,arg3) - return err -end - -function PetscOptionsInsertFile(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::PetscBool) - err = ccall((:PetscOptionsInsertFile,petscComplexDouble),PetscErrorCode,(comm_type,Cstring,PetscBool),arg1,arg2,arg3) - return err -end - -function PetscOptionsInsertString(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscOptionsInsertString,petscComplexDouble),PetscErrorCode,(Cstring,),arg1) - return err -end - -function PetscOptionsDestroy(arg0::Type{Complex128}) - err = ccall((:PetscOptionsDestroy,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscOptionsClear(arg0::Type{Complex128}) - err = ccall((:PetscOptionsClear,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscOptionsPrefixPush(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscOptionsPrefixPush,petscComplexDouble),PetscErrorCode,(Cstring,),arg1) - return err -end - -function PetscOptionsPrefixPop(arg0::Type{Complex128}) - err = ccall((:PetscOptionsPrefixPop,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscOptionsReject(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscOptionsReject,petscComplexDouble),PetscErrorCode,(Cstring,Cstring),arg1,arg2) - return err -end - -function PetscOptionsGetAll(arg0::Type{Complex128},arg1::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscOptionsGetAll,petscComplexDouble),PetscErrorCode,(Ptr{Ptr{UInt8}},),arg1) - return err -end - -function PetscOptionsGetenv(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Csize_t,arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetenv,petscComplexDouble),PetscErrorCode,(comm_type,Cstring,Cstring,Csize_t,Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscOptionsStringToInt(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscOptionsStringToInt,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscOptionsStringToReal(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscOptionsStringToReal,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{Float64}),arg1,arg2) - return err -end - -function PetscOptionsStringToBool(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsStringToBool,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscOptionsMonitorSet(arg0::Type{Complex128},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscOptionsMonitorSet,petscComplexDouble),PetscErrorCode,(Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function PetscOptionsMonitorCancel(arg0::Type{Complex128}) - err = ccall((:PetscOptionsMonitorCancel,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscOptionsMonitorDefault(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscOptionsMonitorDefault,petscComplexDouble),PetscErrorCode,(Cstring,Cstring,Ptr{Void}),arg1,arg2,arg3) - return err -end - -#= skipping function with undefined symbols: - function PetscOptionsBegin_Private(arg0::Type{Complex128},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::MPI_Comm,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - ccall((:PetscOptionsBegin_Private,petscComplexDouble),PetscErrorCode,(Ptr{PetscOptions},comm_type,Cstring,Cstring,Cstring),arg1,arg2,arg3,arg4,arg5) -end -=# -#= skipping function with undefined symbols: - function PetscObjectOptionsBegin_Private(arg0::Type{Complex128},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::PetscObject) - ccall((:PetscObjectOptionsBegin_Private,petscComplexDouble),PetscErrorCode,(Ptr{PetscOptions},PetscObject),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsEnd_Private(arg0::Type{Complex128},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}}) - ccall((:PetscOptionsEnd_Private,petscComplexDouble),PetscErrorCode,(Ptr{PetscOptions},),arg1) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsHead(arg0::Type{Complex128},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - ccall((:PetscOptionsHead,petscComplexDouble),PetscErrorCode,(Ptr{PetscOptions},Cstring),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsEnum_Private(arg0::Type{Complex128},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg6::PetscEnum,arg7::Union{Ptr{PetscEnum},StridedArray{PetscEnum},Ptr{PetscEnum},Ref{PetscEnum}},arg8::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsEnum_Private,petscComplexDouble),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Ptr{Ptr{UInt8}},PetscEnum,Ptr{PetscEnum},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsInt_Private(arg0::Type{Complex128},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsInt_Private,petscComplexDouble),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Int64,Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsReal_Private(arg0::Type{Complex128},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Float64,arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg7::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsReal_Private,petscComplexDouble),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Float64,Ptr{Float64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsScalar_Private(arg0::Type{Complex128},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Complex128,arg6::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg7::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsScalar_Private,petscComplexDouble),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Complex128,Ptr{Complex128},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsName_Private(arg0::Type{Complex128},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsName_Private,petscComplexDouble),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsString_Private(arg0::Type{Complex128},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg6::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg7::Csize_t,arg8::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsString_Private,petscComplexDouble),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Cstring,Cstring,Csize_t,Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsBool_Private(arg0::Type{Complex128},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::PetscBool,arg6::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg7::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsBool_Private,petscComplexDouble),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,PetscBool,Ptr{PetscBool},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsBoolGroupBegin_Private(arg0::Type{Complex128},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsBoolGroupBegin_Private,petscComplexDouble),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsBoolGroup_Private(arg0::Type{Complex128},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsBoolGroup_Private,petscComplexDouble),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsBoolGroupEnd_Private(arg0::Type{Complex128},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsBoolGroupEnd_Private,petscComplexDouble),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsFList_Private(arg0::Type{Complex128},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::PetscFunctionList,arg6::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg7::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg8::Csize_t,arg9::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsFList_Private,petscComplexDouble),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,PetscFunctionList,Cstring,Cstring,Csize_t,Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsEList_Private(arg0::Type{Complex128},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg6::Integer,arg7::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg8::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg9::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsEList_Private,petscComplexDouble),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Ptr{Ptr{UInt8}},Int64,Cstring,Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsRealArray_Private(arg0::Type{Complex128},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsRealArray_Private,petscComplexDouble),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Ptr{Float64},Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsScalarArray_Private(arg0::Type{Complex128},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsScalarArray_Private,petscComplexDouble),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Ptr{Complex128},Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsIntArray_Private(arg0::Type{Complex128},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsIntArray_Private,petscComplexDouble),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Ptr{Int64},Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsStringArray_Private(arg0::Type{Complex128},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsStringArray_Private,petscComplexDouble),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Ptr{Ptr{UInt8}},Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsBoolArray_Private(arg0::Type{Complex128},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsBoolArray_Private,petscComplexDouble),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Ptr{PetscBool},Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsEnumArray_Private(arg0::Type{Complex128},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg6::Union{Ptr{PetscEnum},StridedArray{PetscEnum},Ptr{PetscEnum},Ref{PetscEnum}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsEnumArray_Private,petscComplexDouble),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Ptr{Ptr{UInt8}},Ptr{PetscEnum},Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) -end -=# -function PetscOptionsSetFromOptions(arg0::Type{Complex128}) - err = ccall((:PetscOptionsSetFromOptions,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscOptionsSAWsDestroy(arg0::Type{Complex128}) - err = ccall((:PetscOptionsSAWsDestroy,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscMemoryShowUsage(arg1::PetscViewer{Complex128},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscMemoryShowUsage,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Cstring),arg1,arg2) - return err -end - -function PetscObjectPrintClassNamePrefixType(arg1::PetscObject,arg2::PetscViewer{Complex128}) - err = ccall((:PetscObjectPrintClassNamePrefixType,petscComplexDouble),PetscErrorCode,(PetscObject,PetscViewer{Complex128}),arg1,arg2) - return err -end - -function PetscObjectView(arg1::PetscObject,arg2::PetscViewer{Complex128}) - err = ccall((:PetscObjectView,petscComplexDouble),PetscErrorCode,(PetscObject,PetscViewer{Complex128}),arg1,arg2) - return err -end - -function PetscObjectQueryFunction_Private(arg0::Type{Complex128},arg1::PetscObject,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:PetscObjectQueryFunction_Private,petscComplexDouble),PetscErrorCode,(PetscObject,Cstring,Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function PetscObjectSetOptionsPrefix(arg0::Type{Complex128},arg1::PetscObject,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscObjectSetOptionsPrefix,petscComplexDouble),PetscErrorCode,(PetscObject,Cstring),arg1,arg2) - return err -end - -function PetscObjectAppendOptionsPrefix(arg0::Type{Complex128},arg1::PetscObject,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscObjectAppendOptionsPrefix,petscComplexDouble),PetscErrorCode,(PetscObject,Cstring),arg1,arg2) - return err -end - -function PetscObjectPrependOptionsPrefix(arg0::Type{Complex128},arg1::PetscObject,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscObjectPrependOptionsPrefix,petscComplexDouble),PetscErrorCode,(PetscObject,Cstring),arg1,arg2) - return err -end - -function PetscObjectGetOptionsPrefix(arg0::Type{Complex128},arg1::PetscObject,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscObjectGetOptionsPrefix,petscComplexDouble),PetscErrorCode,(PetscObject,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscObjectChangeTypeName(arg0::Type{Complex128},arg1::PetscObject,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscObjectChangeTypeName,petscComplexDouble),PetscErrorCode,(PetscObject,Cstring),arg1,arg2) - return err -end - -function PetscObjectRegisterDestroy(arg0::Type{Complex128},arg1::PetscObject) - err = ccall((:PetscObjectRegisterDestroy,petscComplexDouble),PetscErrorCode,(PetscObject,),arg1) - return err -end - -function PetscObjectRegisterDestroyAll(arg0::Type{Complex128}) - err = ccall((:PetscObjectRegisterDestroyAll,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscObjectViewFromOptions(arg0::Type{Complex128},arg1::PetscObject,arg2::PetscObject,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscObjectViewFromOptions,petscComplexDouble),PetscErrorCode,(PetscObject,PetscObject,Cstring),arg1,arg2,arg3) - return err -end - -function PetscObjectName(arg0::Type{Complex128},arg1::PetscObject) - err = ccall((:PetscObjectName,petscComplexDouble),PetscErrorCode,(PetscObject,),arg1) - return err -end - -function PetscObjectTypeCompare(arg0::Type{Complex128},arg1::PetscObject,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscObjectTypeCompare,petscComplexDouble),PetscErrorCode,(PetscObject,Cstring,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function PetscRegisterFinalize(arg0::Type{Complex128},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscRegisterFinalize,petscComplexDouble),PetscErrorCode,(Ptr{Void},),arg1) - return err -end - -function PetscRegisterFinalizeAll(arg0::Type{Complex128}) - err = ccall((:PetscRegisterFinalizeAll,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscDLOpen(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::PetscDLMode,arg3::Union{Ptr{PetscDLHandle},StridedArray{PetscDLHandle},Ptr{PetscDLHandle},Ref{PetscDLHandle}}) - err = ccall((:PetscDLOpen,petscComplexDouble),PetscErrorCode,(Cstring,PetscDLMode,Ptr{PetscDLHandle}),arg1,arg2,arg3) - return err -end - -function PetscDLClose(arg0::Type{Complex128},arg1::Union{Ptr{PetscDLHandle},StridedArray{PetscDLHandle},Ptr{PetscDLHandle},Ref{PetscDLHandle}}) - err = ccall((:PetscDLClose,petscComplexDouble),PetscErrorCode,(Ptr{PetscDLHandle},),arg1) - return err -end - -function PetscDLSym(arg0::Type{Complex128},arg1::PetscDLHandle,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:PetscDLSym,petscComplexDouble),PetscErrorCode,(PetscDLHandle,Cstring,Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function PetscMallocGetStack(arg0::Type{Complex128},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg2::Union{Ptr{Ptr{PetscStack}},StridedArray{Ptr{PetscStack}},Ptr{Ptr{PetscStack}},Ref{Ptr{PetscStack}}}) - err = ccall((:PetscMallocGetStack,petscComplexDouble),PetscErrorCode,(Ptr{Void},Ptr{Ptr{PetscStack}}),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function PetscObjectsDump(arg0::Type{Complex128},arg1::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}},arg2::PetscBool) - ccall((:PetscObjectsDump,petscComplexDouble),PetscErrorCode,(Ptr{FILE},PetscBool),arg1,arg2) -end -=# -function PetscObjectListDestroy(arg0::Type{Complex128},arg1::Union{Ptr{PetscObjectList},StridedArray{PetscObjectList},Ptr{PetscObjectList},Ref{PetscObjectList}}) - err = ccall((:PetscObjectListDestroy,petscComplexDouble),PetscErrorCode,(Ptr{PetscObjectList},),arg1) - return err -end - -function PetscObjectListFind(arg0::Type{Complex128},arg1::PetscObjectList,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscObject},StridedArray{PetscObject},Ptr{PetscObject},Ref{PetscObject}}) - err = ccall((:PetscObjectListFind,petscComplexDouble),PetscErrorCode,(PetscObjectList,Cstring,Ptr{PetscObject}),arg1,arg2,arg3) - return err -end - -function PetscObjectListReverseFind(arg0::Type{Complex128},arg1::PetscObjectList,arg2::PetscObject,arg3::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscObjectListReverseFind,petscComplexDouble),PetscErrorCode,(PetscObjectList,PetscObject,Ptr{Ptr{UInt8}},Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function PetscObjectListAdd(arg0::Type{Complex128},arg1::Union{Ptr{PetscObjectList},StridedArray{PetscObjectList},Ptr{PetscObjectList},Ref{PetscObjectList}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::PetscObject) - err = ccall((:PetscObjectListAdd,petscComplexDouble),PetscErrorCode,(Ptr{PetscObjectList},Cstring,PetscObject),arg1,arg2,arg3) - return err -end - -function PetscObjectListRemoveReference(arg0::Type{Complex128},arg1::Union{Ptr{PetscObjectList},StridedArray{PetscObjectList},Ptr{PetscObjectList},Ref{PetscObjectList}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscObjectListRemoveReference,petscComplexDouble),PetscErrorCode,(Ptr{PetscObjectList},Cstring),arg1,arg2) - return err -end - -function PetscObjectListDuplicate(arg0::Type{Complex128},arg1::PetscObjectList,arg2::Union{Ptr{PetscObjectList},StridedArray{PetscObjectList},Ptr{PetscObjectList},Ref{PetscObjectList}}) - err = ccall((:PetscObjectListDuplicate,petscComplexDouble),PetscErrorCode,(PetscObjectList,Ptr{PetscObjectList}),arg1,arg2) - return err -end - -function PetscFunctionListAdd_Private(arg0::Type{Complex128},arg1::Union{Ptr{PetscFunctionList},StridedArray{PetscFunctionList},Ptr{PetscFunctionList},Ref{PetscFunctionList}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscFunctionListAdd_Private,petscComplexDouble),PetscErrorCode,(Ptr{PetscFunctionList},Cstring,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function PetscFunctionListDestroy(arg0::Type{Complex128},arg1::Union{Ptr{PetscFunctionList},StridedArray{PetscFunctionList},Ptr{PetscFunctionList},Ref{PetscFunctionList}}) - err = ccall((:PetscFunctionListDestroy,petscComplexDouble),PetscErrorCode,(Ptr{PetscFunctionList},),arg1) - return err -end - -function PetscFunctionListFind_Private(arg0::Type{Complex128},arg1::PetscFunctionList,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:PetscFunctionListFind_Private,petscComplexDouble),PetscErrorCode,(PetscFunctionList,Cstring,Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -#= skipping function with undefined symbols: - function PetscFunctionListPrintTypes(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg6::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg7::PetscFunctionList,arg8::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - ccall((:PetscFunctionListPrintTypes,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{FILE},Cstring,Cstring,Cstring,Cstring,PetscFunctionList,Cstring),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) -end -=# -function PetscFunctionListDuplicate(arg0::Type{Complex128},arg1::PetscFunctionList,arg2::Union{Ptr{PetscFunctionList},StridedArray{PetscFunctionList},Ptr{PetscFunctionList},Ref{PetscFunctionList}}) - err = ccall((:PetscFunctionListDuplicate,petscComplexDouble),PetscErrorCode,(PetscFunctionList,Ptr{PetscFunctionList}),arg1,arg2) - return err -end - -function PetscFunctionListView(arg1::PetscFunctionList,arg2::PetscViewer{Complex128}) - err = ccall((:PetscFunctionListView,petscComplexDouble),PetscErrorCode,(PetscFunctionList,PetscViewer{Complex128}),arg1,arg2) - return err -end - -function PetscFunctionListGet(arg0::Type{Complex128},arg1::PetscFunctionList,arg2::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}},arg3::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}}) - err = ccall((:PetscFunctionListGet,petscComplexDouble),PetscErrorCode,(PetscFunctionList,Ptr{Ptr{Ptr{UInt8}}},Ptr{Cint}),arg1,arg2,arg3) - return err -end - -function PetscDLLibraryAppend(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{PetscDLLibrary},StridedArray{PetscDLLibrary},Ptr{PetscDLLibrary},Ref{PetscDLLibrary}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscDLLibraryAppend,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{PetscDLLibrary},Cstring),arg1,arg2,arg3) - return err -end - -function PetscDLLibraryPrepend(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{PetscDLLibrary},StridedArray{PetscDLLibrary},Ptr{PetscDLLibrary},Ref{PetscDLLibrary}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscDLLibraryPrepend,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{PetscDLLibrary},Cstring),arg1,arg2,arg3) - return err -end - -function PetscDLLibrarySym(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{PetscDLLibrary},StridedArray{PetscDLLibrary},Ptr{PetscDLLibrary},Ref{PetscDLLibrary}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:PetscDLLibrarySym,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{PetscDLLibrary},Cstring,Cstring,Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDLLibraryPrintPath(arg0::Type{Complex128},arg1::PetscDLLibrary) - err = ccall((:PetscDLLibraryPrintPath,petscComplexDouble),PetscErrorCode,(PetscDLLibrary,),arg1) - return err -end - -function PetscDLLibraryRetrieve(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Csize_t,arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscDLLibraryRetrieve,petscComplexDouble),PetscErrorCode,(comm_type,Cstring,Cstring,Csize_t,Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDLLibraryOpen(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscDLLibrary},StridedArray{PetscDLLibrary},Ptr{PetscDLLibrary},Ref{PetscDLLibrary}}) - err = ccall((:PetscDLLibraryOpen,petscComplexDouble),PetscErrorCode,(comm_type,Cstring,Ptr{PetscDLLibrary}),arg1,arg2,arg3) - return err -end - -function PetscDLLibraryClose(arg0::Type{Complex128},arg1::PetscDLLibrary) - err = ccall((:PetscDLLibraryClose,petscComplexDouble),PetscErrorCode,(PetscDLLibrary,),arg1) - return err -end - -function PetscSplitOwnership(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSplitOwnership,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscSplitOwnershipBlock(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSplitOwnershipBlock,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function PetscSequentialPhaseBegin(arg0::Type{Complex128},arg1::MPI_Comm,arg2::PetscMPIInt) - err = ccall((:PetscSequentialPhaseBegin,petscComplexDouble),PetscErrorCode,(comm_type,PetscMPIInt),arg1,arg2) - return err -end - -function PetscSequentialPhaseEnd(arg0::Type{Complex128},arg1::MPI_Comm,arg2::PetscMPIInt) - err = ccall((:PetscSequentialPhaseEnd,petscComplexDouble),PetscErrorCode,(comm_type,PetscMPIInt),arg1,arg2) - return err -end - -function PetscBarrier(arg0::Type{Complex128},arg1::PetscObject) - err = ccall((:PetscBarrier,petscComplexDouble),PetscErrorCode,(PetscObject,),arg1) - return err -end - -#= skipping function with undefined symbols: - function PetscMPIDump(arg0::Type{Complex128},arg1::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}}) - ccall((:PetscMPIDump,petscComplexDouble),PetscErrorCode,(Ptr{FILE},),arg1) -end -=# -function PetscInfoDeactivateClass(arg0::Type{Complex128},arg1::PetscClassId) - err = ccall((:PetscInfoDeactivateClass,petscComplexDouble),PetscErrorCode,(PetscClassId,),arg1) - return err -end - -function PetscInfoActivateClass(arg0::Type{Complex128},arg1::PetscClassId) - err = ccall((:PetscInfoActivateClass,petscComplexDouble),PetscErrorCode,(PetscClassId,),arg1) - return err -end - -function PetscLogGetStageLog(arg0::Type{Complex128},arg1::Union{Ptr{PetscStageLog},StridedArray{PetscStageLog},Ptr{PetscStageLog},Ref{PetscStageLog}}) - err = ccall((:PetscLogGetStageLog,petscComplexDouble),PetscErrorCode,(Ptr{PetscStageLog},),arg1) - return err -end - -function PetscStageLogGetCurrent(arg0::Type{Complex128},arg1::PetscStageLog,arg2::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}}) - err = ccall((:PetscStageLogGetCurrent,petscComplexDouble),PetscErrorCode,(PetscStageLog,Ptr{Cint}),arg1,arg2) - return err -end - -function PetscStageLogGetEventPerfLog(arg0::Type{Complex128},arg1::PetscStageLog,arg2::Integer,arg3::Union{Ptr{PetscEventPerfLog},StridedArray{PetscEventPerfLog},Ptr{PetscEventPerfLog},Ref{PetscEventPerfLog}}) - err = ccall((:PetscStageLogGetEventPerfLog,petscComplexDouble),PetscErrorCode,(PetscStageLog,Cint,Ptr{PetscEventPerfLog}),arg1,arg2,arg3) - return err -end - -function PetscLogObjectParent(arg0::Type{Complex128},arg1::PetscObject,arg2::PetscObject) - err = ccall((:PetscLogObjectParent,petscComplexDouble),PetscErrorCode,(PetscObject,PetscObject),arg1,arg2) - return err -end - -function PetscLogObjectMemory(arg0::Type{Complex128},arg1::PetscObject,arg2::PetscLogDouble) - err = ccall((:PetscLogObjectMemory,petscComplexDouble),PetscErrorCode,(PetscObject,PetscLogDouble),arg1,arg2) - return err -end - -function PetscLogFlops(arg0::Type{Complex128},n::PetscLogDouble) - err = ccall((:PetscLogFlops,petscComplexDouble),PetscErrorCode,(PetscLogDouble,),n) - return err -end - -function PetscLogBegin(arg0::Type{Complex128}) - err = ccall((:PetscLogBegin,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscLogAllBegin(arg0::Type{Complex128}) - err = ccall((:PetscLogAllBegin,petscComplexDouble),PetscErrorCode,()) - return err -end - -#= skipping function with undefined symbols: - function PetscLogTraceBegin(arg0::Type{Complex128},arg1::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}}) - ccall((:PetscLogTraceBegin,petscComplexDouble),PetscErrorCode,(Ptr{FILE},),arg1) -end -=# -function PetscLogActions(arg0::Type{Complex128},arg1::PetscBool) - err = ccall((:PetscLogActions,petscComplexDouble),PetscErrorCode,(PetscBool,),arg1) - return err -end - -function PetscLogObjects(arg0::Type{Complex128},arg1::PetscBool) - err = ccall((:PetscLogObjects,petscComplexDouble),PetscErrorCode,(PetscBool,),arg1) - return err -end - -function PetscLogDestroy(arg0::Type{Complex128}) - err = ccall((:PetscLogDestroy,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscLogSet(arg0::Type{Complex128},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscLogSet,petscComplexDouble),PetscErrorCode,(Ptr{Void},Ptr{Void}),arg1,arg2) - return err -end - -function PetscLogView(arg1::PetscViewer{Complex128}) - err = ccall((:PetscLogView,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},),arg1) - return err -end - -function PetscLogViewFromOptions(arg0::Type{Complex128}) - err = ccall((:PetscLogViewFromOptions,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscLogDump(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscLogDump,petscComplexDouble),PetscErrorCode,(Cstring,),arg1) - return err -end - -function PetscGetFlops(arg0::Type{Complex128},arg1::Union{Ptr{PetscLogDouble},StridedArray{PetscLogDouble},Ptr{PetscLogDouble},Ref{PetscLogDouble}}) - err = ccall((:PetscGetFlops,petscComplexDouble),PetscErrorCode,(Ptr{PetscLogDouble},),arg1) - return err -end - -function PetscLogStageRegister(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{PetscLogStage},StridedArray{PetscLogStage},Ptr{PetscLogStage},Ref{PetscLogStage}}) - err = ccall((:PetscLogStageRegister,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{PetscLogStage}),arg1,arg2) - return err -end - -function PetscLogStagePush(arg0::Type{Complex128},arg1::PetscLogStage) - err = ccall((:PetscLogStagePush,petscComplexDouble),PetscErrorCode,(PetscLogStage,),arg1) - return err -end - -function PetscLogStagePop(arg0::Type{Complex128}) - err = ccall((:PetscLogStagePop,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscLogStageSetActive(arg0::Type{Complex128},arg1::PetscLogStage,arg2::PetscBool) - err = ccall((:PetscLogStageSetActive,petscComplexDouble),PetscErrorCode,(PetscLogStage,PetscBool),arg1,arg2) - return err -end - -function PetscLogStageGetActive(arg0::Type{Complex128},arg1::PetscLogStage,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscLogStageGetActive,petscComplexDouble),PetscErrorCode,(PetscLogStage,Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscLogStageSetVisible(arg0::Type{Complex128},arg1::PetscLogStage,arg2::PetscBool) - err = ccall((:PetscLogStageSetVisible,petscComplexDouble),PetscErrorCode,(PetscLogStage,PetscBool),arg1,arg2) - return err -end - -function PetscLogStageGetVisible(arg0::Type{Complex128},arg1::PetscLogStage,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscLogStageGetVisible,petscComplexDouble),PetscErrorCode,(PetscLogStage,Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscLogStageGetId(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{PetscLogStage},StridedArray{PetscLogStage},Ptr{PetscLogStage},Ref{PetscLogStage}}) - err = ccall((:PetscLogStageGetId,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{PetscLogStage}),arg1,arg2) - return err -end - -function PetscLogEventRegister(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::PetscClassId,arg3::Union{Ptr{PetscLogEvent},StridedArray{PetscLogEvent},Ptr{PetscLogEvent},Ref{PetscLogEvent}}) - err = ccall((:PetscLogEventRegister,petscComplexDouble),PetscErrorCode,(Cstring,PetscClassId,Ptr{PetscLogEvent}),arg1,arg2,arg3) - return err -end - -function PetscLogEventActivate(arg0::Type{Complex128},arg1::PetscLogEvent) - err = ccall((:PetscLogEventActivate,petscComplexDouble),PetscErrorCode,(PetscLogEvent,),arg1) - return err -end - -function PetscLogEventDeactivate(arg0::Type{Complex128},arg1::PetscLogEvent) - err = ccall((:PetscLogEventDeactivate,petscComplexDouble),PetscErrorCode,(PetscLogEvent,),arg1) - return err -end - -function PetscLogEventSetActiveAll(arg0::Type{Complex128},arg1::PetscLogEvent,arg2::PetscBool) - err = ccall((:PetscLogEventSetActiveAll,petscComplexDouble),PetscErrorCode,(PetscLogEvent,PetscBool),arg1,arg2) - return err -end - -function PetscLogEventActivateClass(arg0::Type{Complex128},arg1::PetscClassId) - err = ccall((:PetscLogEventActivateClass,petscComplexDouble),PetscErrorCode,(PetscClassId,),arg1) - return err -end - -function PetscLogEventDeactivateClass(arg0::Type{Complex128},arg1::PetscClassId) - err = ccall((:PetscLogEventDeactivateClass,petscComplexDouble),PetscErrorCode,(PetscClassId,),arg1) - return err -end - -function PetscLogEventGetId(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{PetscLogEvent},StridedArray{PetscLogEvent},Ptr{PetscLogEvent},Ref{PetscLogEvent}}) - err = ccall((:PetscLogEventGetId,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{PetscLogEvent}),arg1,arg2) - return err -end - -function PetscLogEventGetPerfInfo(arg0::Type{Complex128},arg1::Integer,arg2::PetscLogEvent,arg3::Union{Ptr{PetscEventPerfInfo},StridedArray{PetscEventPerfInfo},Ptr{PetscEventPerfInfo},Ref{PetscEventPerfInfo}}) - err = ccall((:PetscLogEventGetPerfInfo,petscComplexDouble),PetscErrorCode,(Cint,PetscLogEvent,Ptr{PetscEventPerfInfo}),arg1,arg2,arg3) - return err -end - -function PetscLogEventGetFlops(arg0::Type{Complex128},arg1::PetscLogEvent,arg2::Union{Ptr{PetscLogDouble},StridedArray{PetscLogDouble},Ptr{PetscLogDouble},Ref{PetscLogDouble}}) - err = ccall((:PetscLogEventGetFlops,petscComplexDouble),PetscErrorCode,(PetscLogEvent,Ptr{PetscLogDouble}),arg1,arg2) - return err -end - -function PetscLogEventZeroFlops(arg0::Type{Complex128},arg1::PetscLogEvent) - err = ccall((:PetscLogEventZeroFlops,petscComplexDouble),PetscErrorCode,(PetscLogEvent,),arg1) - return err -end - -#= skipping function with undefined symbols: - function PetscMPITypeSize(arg0::Type{Complex128},buff::Union{Ptr{PetscLogDouble},StridedArray{PetscLogDouble},Ptr{PetscLogDouble},Ref{PetscLogDouble}},count::PetscMPIInt,_type::MPI_Datatype) - ccall((:PetscMPITypeSize,petscComplexDouble),PetscErrorCode,(Ptr{PetscLogDouble},PetscMPIInt,MPI_Datatype),buff,count,_type) -end -=# -#= skipping function with undefined symbols: - function PetscMPITypeSizeComm(arg0::Type{Complex128},comm::MPI_Comm,buff::Union{Ptr{PetscLogDouble},StridedArray{PetscLogDouble},Ptr{PetscLogDouble},Ref{PetscLogDouble}},counts::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}},_type::MPI_Datatype) - ccall((:PetscMPITypeSizeComm,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{PetscLogDouble},Ptr{PetscMPIInt},MPI_Datatype),comm,buff,counts,_type) -end -=# -function PetscMPIParallelComm(arg0::Type{Complex128},comm::MPI_Comm) - err = ccall((:PetscMPIParallelComm,petscComplexDouble),Cint,(comm_type,),comm) - return err -end - -function PetscIntStackCreate(arg0::Type{Complex128},arg1::Union{Ptr{PetscIntStack},StridedArray{PetscIntStack},Ptr{PetscIntStack},Ref{PetscIntStack}}) - err = ccall((:PetscIntStackCreate,petscComplexDouble),PetscErrorCode,(Ptr{PetscIntStack},),arg1) - return err -end - -function PetscIntStackDestroy(arg0::Type{Complex128},arg1::PetscIntStack) - err = ccall((:PetscIntStackDestroy,petscComplexDouble),PetscErrorCode,(PetscIntStack,),arg1) - return err -end - -function PetscIntStackPush(arg0::Type{Complex128},arg1::PetscIntStack,arg2::Integer) - err = ccall((:PetscIntStackPush,petscComplexDouble),PetscErrorCode,(PetscIntStack,Cint),arg1,arg2) - return err -end - -function PetscIntStackPop(arg0::Type{Complex128},arg1::PetscIntStack,arg2::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}}) - err = ccall((:PetscIntStackPop,petscComplexDouble),PetscErrorCode,(PetscIntStack,Ptr{Cint}),arg1,arg2) - return err -end - -function PetscIntStackTop(arg0::Type{Complex128},arg1::PetscIntStack,arg2::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}}) - err = ccall((:PetscIntStackTop,petscComplexDouble),PetscErrorCode,(PetscIntStack,Ptr{Cint}),arg1,arg2) - return err -end - -function PetscIntStackEmpty(arg0::Type{Complex128},arg1::PetscIntStack,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscIntStackEmpty,petscComplexDouble),PetscErrorCode,(PetscIntStack,Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscFixFilename(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscFixFilename,petscComplexDouble),PetscErrorCode,(Cstring,Cstring),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function PetscFOpen(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{Ptr{Ptr{FILE}},StridedArray{Ptr{FILE}},Ptr{Ptr{FILE}},Ref{Ptr{FILE}}}) - ccall((:PetscFOpen,petscComplexDouble),PetscErrorCode,(comm_type,Cstring,Cstring,Ptr{Ptr{FILE}}),arg1,arg2,arg3,arg4) -end -=# -#= skipping function with undefined symbols: - function PetscFClose(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}}) - ccall((:PetscFClose,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{FILE}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function PetscVSNPrintf(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Csize_t,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{Ptr{Csize_t},StridedArray{Csize_t},Ptr{Csize_t},Ref{Csize_t}},arg5::Union{Ptr{__va_list_tag},StridedArray{__va_list_tag},Ptr{__va_list_tag},Ref{__va_list_tag}}) - ccall((:PetscVSNPrintf,petscComplexDouble),PetscErrorCode,(Cstring,Csize_t,Cstring,Ptr{Csize_t},Ptr{__va_list_tag}),arg1,arg2,arg3,arg4,arg5) -end -=# -#= skipping function with undefined symbols: - function PetscVFPrintfDefault(arg0::Type{Complex128},arg1::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{__va_list_tag},StridedArray{__va_list_tag},Ptr{__va_list_tag},Ref{__va_list_tag}}) - ccall((:PetscVFPrintfDefault,petscComplexDouble),PetscErrorCode,(Ptr{FILE},Cstring,Ptr{__va_list_tag}),arg1,arg2,arg3) -end -=# -#= skipping function with undefined symbols: - function PetscPOpen(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{Ptr{FILE}},StridedArray{Ptr{FILE}},Ptr{Ptr{FILE}},Ref{Ptr{FILE}}}) - ccall((:PetscPOpen,petscComplexDouble),PetscErrorCode,(comm_type,Cstring,Cstring,Cstring,Ptr{Ptr{FILE}}),arg1,arg2,arg3,arg4,arg5) -end -=# -#= skipping function with undefined symbols: - function PetscPClose(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}},arg3::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}}) - ccall((:PetscPClose,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{FILE},Ptr{Cint}),arg1,arg2,arg3) -end -=# -function PetscPOpenSetMachine(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscPOpenSetMachine,petscComplexDouble),PetscErrorCode,(Cstring,),arg1) - return err -end - -#= skipping function with undefined symbols: - function PetscSynchronizedFlush(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}}) - ccall((:PetscSynchronizedFlush,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{FILE}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function PetscSynchronizedFGets(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}},arg3::Csize_t,arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - ccall((:PetscSynchronizedFGets,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{FILE},Csize_t,Cstring),arg1,arg2,arg3,arg4) -end -=# -#= skipping function with undefined symbols: - function PetscStartMatlab(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{Ptr{Ptr{FILE}},StridedArray{Ptr{FILE}},Ptr{Ptr{FILE}},Ref{Ptr{FILE}}}) - ccall((:PetscStartMatlab,petscComplexDouble),PetscErrorCode,(comm_type,Cstring,Cstring,Ptr{Ptr{FILE}}),arg1,arg2,arg3,arg4) -end -=# -#= skipping function with undefined symbols: - function PetscStartJava(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{Ptr{Ptr{FILE}},StridedArray{Ptr{FILE}},Ptr{Ptr{FILE}},Ref{Ptr{FILE}}}) - ccall((:PetscStartJava,petscComplexDouble),PetscErrorCode,(comm_type,Cstring,Cstring,Ptr{Ptr{FILE}}),arg1,arg2,arg3,arg4) -end -=# -function PetscGetPetscDir(arg0::Type{Complex128},arg1::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscGetPetscDir,petscComplexDouble),PetscErrorCode,(Ptr{Ptr{UInt8}},),arg1) - return err -end - -function PetscPopUpSelect(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Integer,arg5::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg6::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}}) - err = ccall((:PetscPopUpSelect,petscComplexDouble),PetscErrorCode,(comm_type,Cstring,Cstring,Cint,Ptr{Ptr{UInt8}},Ptr{Cint}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscContainerGetPointer(arg0::Type{Complex128},arg1::PetscContainer,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:PetscContainerGetPointer,petscComplexDouble),PetscErrorCode,(PetscContainer,Ptr{Ptr{Void}}),arg1,arg2) - return err -end - -function PetscContainerSetPointer(arg0::Type{Complex128},arg1::PetscContainer,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscContainerSetPointer,petscComplexDouble),PetscErrorCode,(PetscContainer,Ptr{Void}),arg1,arg2) - return err -end - -function PetscContainerDestroy(arg0::Type{Complex128},arg1::Union{Ptr{PetscContainer},StridedArray{PetscContainer},Ptr{PetscContainer},Ref{PetscContainer}}) - err = ccall((:PetscContainerDestroy,petscComplexDouble),PetscErrorCode,(Ptr{PetscContainer},),arg1) - return err -end - -function PetscContainerCreate(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{PetscContainer},StridedArray{PetscContainer},Ptr{PetscContainer},Ref{PetscContainer}}) - err = ccall((:PetscContainerCreate,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{PetscContainer}),arg1,arg2) - return err -end - -function PetscContainerSetUserDestroy(arg0::Type{Complex128},arg1::PetscContainer,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscContainerSetUserDestroy,petscComplexDouble),PetscErrorCode,(PetscContainer,Ptr{Void}),arg1,arg2) - return err -end - -function PetscIntView(arg1::Integer,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::PetscViewer{Complex128}) - err = ccall((:PetscIntView,petscComplexDouble),PetscErrorCode,(Int64,Ptr{Int64},PetscViewer{Complex128}),arg1,arg2,arg3) - return err -end - -function PetscRealView(arg1::Integer,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::PetscViewer{Complex128}) - err = ccall((:PetscRealView,petscComplexDouble),PetscErrorCode,(Int64,Ptr{Float64},PetscViewer{Complex128}),arg1,arg2,arg3) - return err -end - -function PetscScalarView(arg1::Integer,arg2::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg3::PetscViewer{Complex128}) - err = ccall((:PetscScalarView,petscComplexDouble),PetscErrorCode,(Int64,Ptr{Complex128},PetscViewer{Complex128}),arg1,arg2,arg3) - return err -end - -function PetscMemcpy(arg0::Type{Complex128},a::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},b::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},n::Csize_t) - err = ccall((:PetscMemcpy,petscComplexDouble),PetscErrorCode,(Ptr{Void},Ptr{Void},Csize_t),a,b,n) - return err -end - -function PetscMemzero(arg0::Type{Complex128},a::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},n::Csize_t) - err = ccall((:PetscMemzero,petscComplexDouble),PetscErrorCode,(Ptr{Void},Csize_t),a,n) - return err -end - -#= skipping function with undefined symbols: - function MPIU_File_write_all(arg0::Type{Complex128},arg1::MPI_File,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::PetscMPIInt,arg4::MPI_Datatype,arg5::Union{Ptr{MPI_Status},StridedArray{MPI_Status},Ptr{MPI_Status},Ref{MPI_Status}}) - ccall((:MPIU_File_write_all,petscComplexDouble),PetscErrorCode,(MPI_File,Ptr{Void},PetscMPIInt,MPI_Datatype,Ptr{MPI_Status}),arg1,arg2,arg3,arg4,arg5) -end -=# -#= skipping function with undefined symbols: - function MPIU_File_read_all(arg0::Type{Complex128},arg1::MPI_File,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::PetscMPIInt,arg4::MPI_Datatype,arg5::Union{Ptr{MPI_Status},StridedArray{MPI_Status},Ptr{MPI_Status},Ref{MPI_Status}}) - ccall((:MPIU_File_read_all,petscComplexDouble),PetscErrorCode,(MPI_File,Ptr{Void},PetscMPIInt,MPI_Datatype,Ptr{MPI_Status}),arg1,arg2,arg3,arg4,arg5) -end -=# -function PetscBLASIntCast(arg0::Type{Complex128},a::Integer,b::Union{Ptr{PetscBLASInt},StridedArray{PetscBLASInt},Ptr{PetscBLASInt},Ref{PetscBLASInt}}) - err = ccall((:PetscBLASIntCast,petscComplexDouble),PetscErrorCode,(Int64,Ptr{PetscBLASInt}),a,b) - return err -end - -function PetscMPIIntCast(arg0::Type{Complex128},a::Integer,b::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}}) - err = ccall((:PetscMPIIntCast,petscComplexDouble),PetscErrorCode,(Int64,Ptr{PetscMPIInt}),a,b) - return err -end - -function PetscGetArchType(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Csize_t) - err = ccall((:PetscGetArchType,petscComplexDouble),PetscErrorCode,(Cstring,Csize_t),arg1,arg2) - return err -end - -function PetscGetHostName(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Csize_t) - err = ccall((:PetscGetHostName,petscComplexDouble),PetscErrorCode,(Cstring,Csize_t),arg1,arg2) - return err -end - -function PetscGetUserName(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Csize_t) - err = ccall((:PetscGetUserName,petscComplexDouble),PetscErrorCode,(Cstring,Csize_t),arg1,arg2) - return err -end - -function PetscGetProgramName(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Csize_t) - err = ccall((:PetscGetProgramName,petscComplexDouble),PetscErrorCode,(Cstring,Csize_t),arg1,arg2) - return err -end - -function PetscSetProgramName(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscSetProgramName,petscComplexDouble),PetscErrorCode,(Cstring,),arg1) - return err -end - -function PetscGetDate(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Csize_t) - err = ccall((:PetscGetDate,petscComplexDouble),PetscErrorCode,(Cstring,Csize_t),arg1,arg2) - return err -end - -function PetscGetVersion(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Csize_t) - err = ccall((:PetscGetVersion,petscComplexDouble),PetscErrorCode,(Cstring,Csize_t),arg1,arg2) - return err -end - -function PetscSortInt(arg0::Type{Complex128},arg1::Integer,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSortInt,petscComplexDouble),PetscErrorCode,(Int64,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscSortRemoveDupsInt(arg0::Type{Complex128},arg1::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSortRemoveDupsInt,petscComplexDouble),PetscErrorCode,(Ptr{Int64},Ptr{Int64}),arg1,arg2) - return err -end - -function PetscFindInt(arg0::Type{Complex128},arg1::Integer,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscFindInt,petscComplexDouble),PetscErrorCode,(Int64,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function PetscSortIntWithPermutation(arg0::Type{Complex128},arg1::Integer,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSortIntWithPermutation,petscComplexDouble),PetscErrorCode,(Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscSortStrWithPermutation(arg0::Type{Complex128},arg1::Integer,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSortStrWithPermutation,petscComplexDouble),PetscErrorCode,(Int64,Ptr{Ptr{UInt8}},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscSortIntWithArray(arg0::Type{Complex128},arg1::Integer,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSortIntWithArray,petscComplexDouble),PetscErrorCode,(Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscSortIntWithArrayPair(arg0::Type{Complex128},arg1::Integer,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSortIntWithArrayPair,petscComplexDouble),PetscErrorCode,(Int64,Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function PetscSortMPIInt(arg0::Type{Complex128},arg1::Integer,arg2::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}}) - err = ccall((:PetscSortMPIInt,petscComplexDouble),PetscErrorCode,(Int64,Ptr{PetscMPIInt}),arg1,arg2) - return err -end - -function PetscSortRemoveDupsMPIInt(arg0::Type{Complex128},arg1::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg2::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}}) - err = ccall((:PetscSortRemoveDupsMPIInt,petscComplexDouble),PetscErrorCode,(Ptr{Int64},Ptr{PetscMPIInt}),arg1,arg2) - return err -end - -function PetscSortMPIIntWithArray(arg0::Type{Complex128},arg1::PetscMPIInt,arg2::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}},arg3::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}}) - err = ccall((:PetscSortMPIIntWithArray,petscComplexDouble),PetscErrorCode,(PetscMPIInt,Ptr{PetscMPIInt},Ptr{PetscMPIInt}),arg1,arg2,arg3) - return err -end - -function PetscSortIntWithScalarArray(arg0::Type{Complex128},arg1::Integer,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - err = ccall((:PetscSortIntWithScalarArray,petscComplexDouble),PetscErrorCode,(Int64,Ptr{Int64},Ptr{Complex128}),arg1,arg2,arg3) - return err -end - -function PetscSortIntWithDataArray(arg0::Type{Complex128},arg1::Integer,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Csize_t,arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscSortIntWithDataArray,petscComplexDouble),PetscErrorCode,(Int64,Ptr{Int64},Ptr{Void},Csize_t,Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscSortReal(arg0::Type{Complex128},arg1::Integer,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscSortReal,petscComplexDouble),PetscErrorCode,(Int64,Ptr{Float64}),arg1,arg2) - return err -end - -function PetscSortRealWithPermutation(arg0::Type{Complex128},arg1::Integer,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSortRealWithPermutation,petscComplexDouble),PetscErrorCode,(Int64,Ptr{Float64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscSortRemoveDupsReal(arg0::Type{Complex128},arg1::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscSortRemoveDupsReal,petscComplexDouble),PetscErrorCode,(Ptr{Int64},Ptr{Float64}),arg1,arg2) - return err -end - -function PetscSortSplit(arg0::Type{Complex128},arg1::Integer,arg2::Integer,arg3::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSortSplit,petscComplexDouble),PetscErrorCode,(Int64,Int64,Ptr{Complex128},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function PetscSortSplitReal(arg0::Type{Complex128},arg1::Integer,arg2::Integer,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSortSplitReal,petscComplexDouble),PetscErrorCode,(Int64,Int64,Ptr{Float64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function PetscProcessTree(arg0::Type{Complex128},arg1::Integer,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg6::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg7::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg8::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PetscProcessTree,petscComplexDouble),PetscErrorCode,(Int64,Ptr{PetscBool},Ptr{Int64},Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function PetscMergeIntArrayPair(arg0::Type{Complex128},arg1::Integer,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg9::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PetscMergeIntArrayPair,petscComplexDouble),PetscErrorCode,(Int64,Ptr{Int64},Ptr{Int64},Int64,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) - return err -end - -function PetscMergeIntArray(arg0::Type{Complex128},arg1::Integer,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PetscMergeIntArray,petscComplexDouble),PetscErrorCode,(Int64,Ptr{Int64},Int64,Ptr{Int64},Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscSetDisplay(arg0::Type{Complex128}) - err = ccall((:PetscSetDisplay,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscGetDisplay(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Csize_t) - err = ccall((:PetscGetDisplay,petscComplexDouble),PetscErrorCode,(Cstring,Csize_t),arg1,arg2) - return err -end - -function PetscRandomInitializePackage(arg0::Type{Complex128}) - err = ccall((:PetscRandomInitializePackage,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscRandomRegister(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscRandomRegister,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function PetscRandomSetType(arg0::Type{Complex128},arg1::PetscRandom,arg2::PetscRandomType) - err = ccall((:PetscRandomSetType,petscComplexDouble),PetscErrorCode,(PetscRandom,Cstring),arg1,arg2) - return err -end - -function PetscRandomSetFromOptions(arg0::Type{Complex128},arg1::PetscRandom) - err = ccall((:PetscRandomSetFromOptions,petscComplexDouble),PetscErrorCode,(PetscRandom,),arg1) - return err -end - -function PetscRandomGetType(arg0::Type{Complex128},arg1::PetscRandom,arg2::Union{Ptr{PetscRandomType},StridedArray{PetscRandomType},Ptr{PetscRandomType},Ref{PetscRandomType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:PetscRandomGetType,petscComplexDouble),PetscErrorCode,(PetscRandom,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function PetscRandomViewFromOptions(arg0::Type{Complex128},A::PetscRandom,obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscRandomViewFromOptions,petscComplexDouble),PetscErrorCode,(PetscRandom,PetscObject,Cstring),A,obj,name) - return err -end - -function PetscRandomView(arg1::PetscRandom,arg2::PetscViewer{Complex128}) - err = ccall((:PetscRandomView,petscComplexDouble),PetscErrorCode,(PetscRandom,PetscViewer{Complex128}),arg1,arg2) - return err -end - -function PetscRandomCreate(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{PetscRandom},StridedArray{PetscRandom},Ptr{PetscRandom},Ref{PetscRandom}}) - err = ccall((:PetscRandomCreate,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{PetscRandom}),arg1,arg2) - return err -end - -function PetscRandomGetValue(arg0::Type{Complex128},arg1::PetscRandom,arg2::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - err = ccall((:PetscRandomGetValue,petscComplexDouble),PetscErrorCode,(PetscRandom,Ptr{Complex128}),arg1,arg2) - return err -end - -function PetscRandomGetValueReal(arg0::Type{Complex128},arg1::PetscRandom,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscRandomGetValueReal,petscComplexDouble),PetscErrorCode,(PetscRandom,Ptr{Float64}),arg1,arg2) - return err -end - -function PetscRandomGetInterval(arg0::Type{Complex128},arg1::PetscRandom,arg2::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg3::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - err = ccall((:PetscRandomGetInterval,petscComplexDouble),PetscErrorCode,(PetscRandom,Ptr{Complex128},Ptr{Complex128}),arg1,arg2,arg3) - return err -end - -function PetscRandomSetInterval(arg0::Type{Complex128},arg1::PetscRandom,arg2::Complex128,arg3::Complex128) - err = ccall((:PetscRandomSetInterval,petscComplexDouble),PetscErrorCode,(PetscRandom,Complex128,Complex128),arg1,arg2,arg3) - return err -end - -function PetscRandomSetSeed(arg0::Type{Complex128},arg1::PetscRandom,arg2::Culong) - err = ccall((:PetscRandomSetSeed,petscComplexDouble),PetscErrorCode,(PetscRandom,Culong),arg1,arg2) - return err -end - -function PetscRandomGetSeed(arg0::Type{Complex128},arg1::PetscRandom,arg2::Union{Ptr{Culong},StridedArray{Culong},Ptr{Culong},Ref{Culong}}) - err = ccall((:PetscRandomGetSeed,petscComplexDouble),PetscErrorCode,(PetscRandom,Ptr{Culong}),arg1,arg2) - return err -end - -function PetscRandomSeed(arg0::Type{Complex128},arg1::PetscRandom) - err = ccall((:PetscRandomSeed,petscComplexDouble),PetscErrorCode,(PetscRandom,),arg1) - return err -end - -function PetscRandomDestroy(arg0::Type{Complex128},arg1::Union{Ptr{PetscRandom},StridedArray{PetscRandom},Ptr{PetscRandom},Ref{PetscRandom}}) - err = ccall((:PetscRandomDestroy,petscComplexDouble),PetscErrorCode,(Ptr{PetscRandom},),arg1) - return err -end - -function PetscGetFullPath(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Csize_t) - err = ccall((:PetscGetFullPath,petscComplexDouble),PetscErrorCode,(Cstring,Cstring,Csize_t),arg1,arg2,arg3) - return err -end - -function PetscGetRelativePath(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Csize_t) - err = ccall((:PetscGetRelativePath,petscComplexDouble),PetscErrorCode,(Cstring,Cstring,Csize_t),arg1,arg2,arg3) - return err -end - -function PetscGetWorkingDirectory(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Csize_t) - err = ccall((:PetscGetWorkingDirectory,petscComplexDouble),PetscErrorCode,(Cstring,Csize_t),arg1,arg2) - return err -end - -function PetscGetRealPath(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscGetRealPath,petscComplexDouble),PetscErrorCode,(Cstring,Cstring),arg1,arg2) - return err -end - -function PetscGetHomeDirectory(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Csize_t) - err = ccall((:PetscGetHomeDirectory,petscComplexDouble),PetscErrorCode,(Cstring,Csize_t),arg1,arg2) - return err -end - -function PetscTestFile(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::UInt8,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscTestFile,petscComplexDouble),PetscErrorCode,(Cstring,UInt8,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function PetscTestDirectory(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::UInt8,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscTestDirectory,petscComplexDouble),PetscErrorCode,(Cstring,UInt8,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function PetscBinaryRead(arg0::Type{Complex128},arg1::Integer,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Integer,arg4::PetscDataType) - err = ccall((:PetscBinaryRead,petscComplexDouble),PetscErrorCode,(Cint,Ptr{Void},Int64,PetscDataType),arg1,arg2,arg3,arg4) - return err -end - -function PetscBinarySynchronizedRead(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Integer,arg5::PetscDataType) - err = ccall((:PetscBinarySynchronizedRead,petscComplexDouble),PetscErrorCode,(comm_type,Cint,Ptr{Void},Int64,PetscDataType),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscBinarySynchronizedWrite(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Integer,arg5::PetscDataType,arg6::PetscBool) - err = ccall((:PetscBinarySynchronizedWrite,petscComplexDouble),PetscErrorCode,(comm_type,Cint,Ptr{Void},Int64,PetscDataType,PetscBool),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscBinaryWrite(arg0::Type{Complex128},arg1::Integer,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Integer,arg4::PetscDataType,arg5::PetscBool) - err = ccall((:PetscBinaryWrite,petscComplexDouble),PetscErrorCode,(Cint,Ptr{Void},Int64,PetscDataType,PetscBool),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscBinaryOpen(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::PetscFileMode,arg3::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}}) - err = ccall((:PetscBinaryOpen,petscComplexDouble),PetscErrorCode,(Cstring,PetscFileMode,Ptr{Cint}),arg1,arg2,arg3) - return err -end - -function PetscBinaryClose(arg0::Type{Complex128},arg1::Integer) - err = ccall((:PetscBinaryClose,petscComplexDouble),PetscErrorCode,(Cint,),arg1) - return err -end - -function PetscSharedTmp(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscSharedTmp,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscSharedWorkingDirectory(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscSharedWorkingDirectory,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscGetTmp(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Csize_t) - err = ccall((:PetscGetTmp,petscComplexDouble),PetscErrorCode,(comm_type,Cstring,Csize_t),arg1,arg2,arg3) - return err -end - -function PetscFileRetrieve(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Csize_t,arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscFileRetrieve,petscComplexDouble),PetscErrorCode,(comm_type,Cstring,Cstring,Csize_t,Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscLs(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Csize_t,arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscLs,petscComplexDouble),PetscErrorCode,(comm_type,Cstring,Cstring,Csize_t,Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscOpenSocket(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Integer,arg3::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}}) - err = ccall((:PetscOpenSocket,petscComplexDouble),PetscErrorCode,(Cstring,Cint,Ptr{Cint}),arg1,arg2,arg3) - return err -end - -#= skipping function with undefined symbols: - function PetscBinarySeek(arg0::Type{Complex128},arg1::Integer,arg2::off_t,arg3::PetscBinarySeekType,arg4::Union{Ptr{off_t},StridedArray{off_t},Ptr{off_t},Ref{off_t}}) - ccall((:PetscBinarySeek,petscComplexDouble),PetscErrorCode,(Cint,off_t,PetscBinarySeekType,Ptr{off_t}),arg1,arg2,arg3,arg4) -end -=# -#= skipping function with undefined symbols: - function PetscBinarySynchronizedSeek(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Integer,arg3::off_t,arg4::PetscBinarySeekType,arg5::Union{Ptr{off_t},StridedArray{off_t},Ptr{off_t},Ref{off_t}}) - ccall((:PetscBinarySynchronizedSeek,petscComplexDouble),PetscErrorCode,(comm_type,Cint,off_t,PetscBinarySeekType,Ptr{off_t}),arg1,arg2,arg3,arg4,arg5) -end -=# -function PetscByteSwap(arg0::Type{Complex128},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg2::PetscDataType,arg3::Integer) - err = ccall((:PetscByteSwap,petscComplexDouble),PetscErrorCode,(Ptr{Void},PetscDataType,Int64),arg1,arg2,arg3) - return err -end - -function PetscSetDebugTerminal(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscSetDebugTerminal,petscComplexDouble),PetscErrorCode,(Cstring,),arg1) - return err -end - -function PetscSetDebugger(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::PetscBool) - err = ccall((:PetscSetDebugger,petscComplexDouble),PetscErrorCode,(Cstring,PetscBool),arg1,arg2) - return err -end - -function PetscSetDefaultDebugger(arg0::Type{Complex128}) - err = ccall((:PetscSetDefaultDebugger,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscSetDebuggerFromString(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscSetDebuggerFromString,petscComplexDouble),PetscErrorCode,(Cstring,),arg1) - return err -end - -function PetscAttachDebugger(arg0::Type{Complex128}) - err = ccall((:PetscAttachDebugger,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscStopForDebugger(arg0::Type{Complex128}) - err = ccall((:PetscStopForDebugger,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscGatherNumberOfMessages(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}},arg3::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}},arg4::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}}) - err = ccall((:PetscGatherNumberOfMessages,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{PetscMPIInt},Ptr{PetscMPIInt},Ptr{PetscMPIInt}),arg1,arg2,arg3,arg4) - return err -end - -function PetscGatherMessageLengths(arg0::Type{Complex128},arg1::MPI_Comm,arg2::PetscMPIInt,arg3::PetscMPIInt,arg4::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}},arg5::Union{Ptr{Ptr{PetscMPIInt}},StridedArray{Ptr{PetscMPIInt}},Ptr{Ptr{PetscMPIInt}},Ref{Ptr{PetscMPIInt}}},arg6::Union{Ptr{Ptr{PetscMPIInt}},StridedArray{Ptr{PetscMPIInt}},Ptr{Ptr{PetscMPIInt}},Ref{Ptr{PetscMPIInt}}}) - err = ccall((:PetscGatherMessageLengths,petscComplexDouble),PetscErrorCode,(comm_type,PetscMPIInt,PetscMPIInt,Ptr{PetscMPIInt},Ptr{Ptr{PetscMPIInt}},Ptr{Ptr{PetscMPIInt}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscGatherMessageLengths2(arg0::Type{Complex128},arg1::MPI_Comm,arg2::PetscMPIInt,arg3::PetscMPIInt,arg4::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}},arg5::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}},arg6::Union{Ptr{Ptr{PetscMPIInt}},StridedArray{Ptr{PetscMPIInt}},Ptr{Ptr{PetscMPIInt}},Ref{Ptr{PetscMPIInt}}},arg7::Union{Ptr{Ptr{PetscMPIInt}},StridedArray{Ptr{PetscMPIInt}},Ptr{Ptr{PetscMPIInt}},Ref{Ptr{PetscMPIInt}}},arg8::Union{Ptr{Ptr{PetscMPIInt}},StridedArray{Ptr{PetscMPIInt}},Ptr{Ptr{PetscMPIInt}},Ref{Ptr{PetscMPIInt}}}) - err = ccall((:PetscGatherMessageLengths2,petscComplexDouble),PetscErrorCode,(comm_type,PetscMPIInt,PetscMPIInt,Ptr{PetscMPIInt},Ptr{PetscMPIInt},Ptr{Ptr{PetscMPIInt}},Ptr{Ptr{PetscMPIInt}},Ptr{Ptr{PetscMPIInt}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -#= skipping function with undefined symbols: - function PetscPostIrecvInt(arg0::Type{Complex128},arg1::MPI_Comm,arg2::PetscMPIInt,arg3::PetscMPIInt,arg4::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}},arg5::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}},arg6::Union{Ptr{Ptr{Ptr{Int64}}},StridedArray{Ptr{Ptr{Int64}}},Ptr{Ptr{Ptr{Int64}}},Ref{Ptr{Ptr{Int64}}}},arg7::Union{Ptr{Ptr{MPI_Request}},StridedArray{Ptr{MPI_Request}},Ptr{Ptr{MPI_Request}},Ref{Ptr{MPI_Request}}}) - ccall((:PetscPostIrecvInt,petscComplexDouble),PetscErrorCode,(comm_type,PetscMPIInt,PetscMPIInt,Ptr{PetscMPIInt},Ptr{PetscMPIInt},Ptr{Ptr{Ptr{Int64}}},Ptr{Ptr{MPI_Request}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -#= skipping function with undefined symbols: - function PetscPostIrecvScalar(arg0::Type{Complex128},arg1::MPI_Comm,arg2::PetscMPIInt,arg3::PetscMPIInt,arg4::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}},arg5::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}},arg6::Union{Ptr{Ptr{Ptr{Complex128}}},StridedArray{Ptr{Ptr{Complex128}}},Ptr{Ptr{Ptr{Complex128}}},Ref{Ptr{Ptr{Complex128}}}},arg7::Union{Ptr{Ptr{MPI_Request}},StridedArray{Ptr{MPI_Request}},Ptr{Ptr{MPI_Request}},Ref{Ptr{MPI_Request}}}) - ccall((:PetscPostIrecvScalar,petscComplexDouble),PetscErrorCode,(comm_type,PetscMPIInt,PetscMPIInt,Ptr{PetscMPIInt},Ptr{PetscMPIInt},Ptr{Ptr{Ptr{Complex128}}},Ptr{Ptr{MPI_Request}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -#= skipping function with undefined symbols: - function PetscCommBuildTwoSided(arg0::Type{Complex128},arg1::MPI_Comm,arg2::PetscMPIInt,arg3::MPI_Datatype,arg4::Integer,arg5::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}},arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{Ptr{PetscMPIInt}},StridedArray{Ptr{PetscMPIInt}},Ptr{Ptr{PetscMPIInt}},Ref{Ptr{PetscMPIInt}}},arg9::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - ccall((:PetscCommBuildTwoSided,petscComplexDouble),PetscErrorCode,(comm_type,PetscMPIInt,MPI_Datatype,Int64,Ptr{PetscMPIInt},Ptr{Void},Ptr{Int64},Ptr{Ptr{PetscMPIInt}},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) -end -=# -function PetscCommBuildTwoSidedSetType(arg0::Type{Complex128},arg1::MPI_Comm,arg2::PetscBuildTwoSidedType) - err = ccall((:PetscCommBuildTwoSidedSetType,petscComplexDouble),PetscErrorCode,(comm_type,PetscBuildTwoSidedType),arg1,arg2) - return err -end - -function PetscCommBuildTwoSidedGetType(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{PetscBuildTwoSidedType},StridedArray{PetscBuildTwoSidedType},Ptr{PetscBuildTwoSidedType},Ref{PetscBuildTwoSidedType}}) - err = ccall((:PetscCommBuildTwoSidedGetType,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{PetscBuildTwoSidedType}),arg1,arg2) - return err -end - -function PetscSSEIsEnabled(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscSSEIsEnabled,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{PetscBool},Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function PetscObjectComm(arg0::Type{Complex128},arg1::PetscObject) - err = ccall((:PetscObjectComm,petscComplexDouble),MPI_Comm,(PetscObject,),arg1) - return err -end - -function PetscSubcommChild(arg0::Type{Complex128},scomm::PetscSubcomm) - err = ccall((:PetscSubcommChild,petscComplexDouble),MPI_Comm,(PetscSubcomm,),scomm) - return err -end - -function PetscSubcommContiguousParent(arg0::Type{Complex128},scomm::PetscSubcomm) - err = ccall((:PetscSubcommContiguousParent,petscComplexDouble),MPI_Comm,(PetscSubcomm,),scomm) - return err -end - -function PetscSubcommCreate(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{PetscSubcomm},StridedArray{PetscSubcomm},Ptr{PetscSubcomm},Ref{PetscSubcomm}}) - err = ccall((:PetscSubcommCreate,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{PetscSubcomm}),arg1,arg2) - return err -end - -function PetscSubcommDestroy(arg0::Type{Complex128},arg1::Union{Ptr{PetscSubcomm},StridedArray{PetscSubcomm},Ptr{PetscSubcomm},Ref{PetscSubcomm}}) - err = ccall((:PetscSubcommDestroy,petscComplexDouble),PetscErrorCode,(Ptr{PetscSubcomm},),arg1) - return err -end - -function PetscSubcommSetNumber(arg0::Type{Complex128},arg1::PetscSubcomm,arg2::Integer) - err = ccall((:PetscSubcommSetNumber,petscComplexDouble),PetscErrorCode,(PetscSubcomm,Int64),arg1,arg2) - return err -end - -function PetscSubcommSetType(arg0::Type{Complex128},arg1::PetscSubcomm,arg2::PetscSubcommType) - err = ccall((:PetscSubcommSetType,petscComplexDouble),PetscErrorCode,(PetscSubcomm,PetscSubcommType),arg1,arg2) - return err -end - -function PetscSubcommSetTypeGeneral(arg0::Type{Complex128},arg1::PetscSubcomm,arg2::PetscMPIInt,arg3::PetscMPIInt) - err = ccall((:PetscSubcommSetTypeGeneral,petscComplexDouble),PetscErrorCode,(PetscSubcomm,PetscMPIInt,PetscMPIInt),arg1,arg2,arg3) - return err -end - -function PetscSubcommView(arg1::PetscSubcomm,arg2::PetscViewer{Complex128}) - err = ccall((:PetscSubcommView,petscComplexDouble),PetscErrorCode,(PetscSubcomm,PetscViewer{Complex128}),arg1,arg2) - return err -end - -function PetscSubcommSetFromOptions(arg0::Type{Complex128},arg1::PetscSubcomm) - err = ccall((:PetscSubcommSetFromOptions,petscComplexDouble),PetscErrorCode,(PetscSubcomm,),arg1) - return err -end - -function PetscSegBufferCreate(arg0::Type{Complex128},arg1::Csize_t,arg2::Csize_t,arg3::Union{Ptr{PetscSegBuffer},StridedArray{PetscSegBuffer},Ptr{PetscSegBuffer},Ref{PetscSegBuffer}}) - err = ccall((:PetscSegBufferCreate,petscComplexDouble),PetscErrorCode,(Csize_t,Csize_t,Ptr{PetscSegBuffer}),arg1,arg2,arg3) - return err -end - -function PetscSegBufferDestroy(arg0::Type{Complex128},arg1::Union{Ptr{PetscSegBuffer},StridedArray{PetscSegBuffer},Ptr{PetscSegBuffer},Ref{PetscSegBuffer}}) - err = ccall((:PetscSegBufferDestroy,petscComplexDouble),PetscErrorCode,(Ptr{PetscSegBuffer},),arg1) - return err -end - -function PetscSegBufferGet(arg0::Type{Complex128},arg1::PetscSegBuffer,arg2::Csize_t,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscSegBufferGet,petscComplexDouble),PetscErrorCode,(PetscSegBuffer,Csize_t,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function PetscSegBufferExtractAlloc(arg0::Type{Complex128},arg1::PetscSegBuffer,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscSegBufferExtractAlloc,petscComplexDouble),PetscErrorCode,(PetscSegBuffer,Ptr{Void}),arg1,arg2) - return err -end - -function PetscSegBufferExtractTo(arg0::Type{Complex128},arg1::PetscSegBuffer,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscSegBufferExtractTo,petscComplexDouble),PetscErrorCode,(PetscSegBuffer,Ptr{Void}),arg1,arg2) - return err -end - -function PetscSegBufferExtractInPlace(arg0::Type{Complex128},arg1::PetscSegBuffer,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscSegBufferExtractInPlace,petscComplexDouble),PetscErrorCode,(PetscSegBuffer,Ptr{Void}),arg1,arg2) - return err -end - -function PetscSegBufferGetSize(arg0::Type{Complex128},arg1::PetscSegBuffer,arg2::Union{Ptr{Csize_t},StridedArray{Csize_t},Ptr{Csize_t},Ref{Csize_t}}) - err = ccall((:PetscSegBufferGetSize,petscComplexDouble),PetscErrorCode,(PetscSegBuffer,Ptr{Csize_t}),arg1,arg2) - return err -end - -function PetscSegBufferUnuse(arg0::Type{Complex128},arg1::PetscSegBuffer,arg2::Csize_t) - err = ccall((:PetscSegBufferUnuse,petscComplexDouble),PetscErrorCode,(PetscSegBuffer,Csize_t),arg1,arg2) - return err -end - -function PetscSegBufferGetInts(arg0::Type{Complex128},seg::PetscSegBuffer,count::Integer,slot::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PetscSegBufferGetInts,petscComplexDouble),PetscErrorCode,(PetscSegBuffer,Int64,Ptr{Ptr{Int64}}),seg,count,slot) - return err -end - -function PetscCitationsRegister(arg0::Type{Complex128},cit::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},set::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscCitationsRegister,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{PetscBool}),cit,set) - return err -end - -function PetscURLShorten(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Csize_t) - err = ccall((:PetscURLShorten,petscComplexDouble),PetscErrorCode,(Cstring,Cstring,Csize_t),arg1,arg2,arg3) - return err -end - -function PetscGoogleDriveAuthorize(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Csize_t) - err = ccall((:PetscGoogleDriveAuthorize,petscComplexDouble),PetscErrorCode,(comm_type,Cstring,Cstring,Csize_t),arg1,arg2,arg3,arg4) - return err -end - -function PetscGoogleDriveRefresh(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Csize_t) - err = ccall((:PetscGoogleDriveRefresh,petscComplexDouble),PetscErrorCode,(comm_type,Cstring,Cstring,Csize_t),arg1,arg2,arg3,arg4) - return err -end - -function PetscGoogleDriveUpload(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscGoogleDriveUpload,petscComplexDouble),PetscErrorCode,(comm_type,Cstring,Cstring),arg1,arg2,arg3) - return err -end - -function PetscBoxAuthorize(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Csize_t) - err = ccall((:PetscBoxAuthorize,petscComplexDouble),PetscErrorCode,(comm_type,Cstring,Cstring,Csize_t),arg1,arg2,arg3,arg4) - return err -end - -function PetscBoxRefresh(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Csize_t) - err = ccall((:PetscBoxRefresh,petscComplexDouble),PetscErrorCode,(comm_type,Cstring,Cstring,Cstring,Csize_t),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscTextBelt(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscTextBelt,petscComplexDouble),PetscErrorCode,(comm_type,Cstring,Cstring,Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function PetscPullJSONValue(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Csize_t,arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscPullJSONValue,petscComplexDouble),PetscErrorCode,(Cstring,Cstring,Cstring,Csize_t,Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscPushJSONValue(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Csize_t) - err = ccall((:PetscPushJSONValue,petscComplexDouble),PetscErrorCode,(Cstring,Cstring,Cstring,Csize_t),arg1,arg2,arg3,arg4) - return err -end - -function PetscBagCreate(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Csize_t,arg3::Union{Ptr{PetscBag},StridedArray{PetscBag},Ptr{PetscBag},Ref{PetscBag}}) - err = ccall((:PetscBagCreate,petscComplexDouble),PetscErrorCode,(comm_type,Csize_t,Ptr{PetscBag}),arg1,arg2,arg3) - return err -end - -function PetscBagDestroy(arg0::Type{Complex128},arg1::Union{Ptr{PetscBag},StridedArray{PetscBag},Ptr{PetscBag},Ref{PetscBag}}) - err = ccall((:PetscBagDestroy,petscComplexDouble),PetscErrorCode,(Ptr{PetscBag},),arg1) - return err -end - -function PetscBagGetData(arg0::Type{Complex128},arg1::PetscBag,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:PetscBagGetData,petscComplexDouble),PetscErrorCode,(PetscBag,Ptr{Ptr{Void}}),arg1,arg2) - return err -end - -function PetscBagRegisterReal(arg0::Type{Complex128},arg1::PetscBag,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Float64,arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscBagRegisterReal,petscComplexDouble),PetscErrorCode,(PetscBag,Ptr{Void},Float64,Cstring,Cstring),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscBagRegisterRealArray(arg0::Type{Complex128},arg1::PetscBag,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Integer,arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscBagRegisterRealArray,petscComplexDouble),PetscErrorCode,(PetscBag,Ptr{Void},Int64,Cstring,Cstring),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscBagRegisterString(arg0::Type{Complex128},arg1::PetscBag,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Integer,arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg6::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscBagRegisterString,petscComplexDouble),PetscErrorCode,(PetscBag,Ptr{Void},Int64,Cstring,Cstring,Cstring),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscBagRegisterScalar(arg0::Type{Complex128},arg1::PetscBag,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Complex128,arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscBagRegisterScalar,petscComplexDouble),PetscErrorCode,(PetscBag,Ptr{Void},Complex128,Cstring,Cstring),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscBagRegisterInt(arg0::Type{Complex128},arg1::PetscBag,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Integer,arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscBagRegisterInt,petscComplexDouble),PetscErrorCode,(PetscBag,Ptr{Void},Int64,Cstring,Cstring),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscBagRegister64bitInt(arg0::Type{Complex128},arg1::PetscBag,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Petsc64bitInt,arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscBagRegister64bitInt,petscComplexDouble),PetscErrorCode,(PetscBag,Ptr{Void},Petsc64bitInt,Cstring,Cstring),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscBagRegisterIntArray(arg0::Type{Complex128},arg1::PetscBag,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Integer,arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscBagRegisterIntArray,petscComplexDouble),PetscErrorCode,(PetscBag,Ptr{Void},Int64,Cstring,Cstring),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscBagRegisterEnum(arg0::Type{Complex128},arg1::PetscBag,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg4::PetscEnum,arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg6::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscBagRegisterEnum,petscComplexDouble),PetscErrorCode,(PetscBag,Ptr{Void},Ptr{Ptr{UInt8}},PetscEnum,Cstring,Cstring),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscBagRegisterBool(arg0::Type{Complex128},arg1::PetscBag,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::PetscBool,arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscBagRegisterBool,petscComplexDouble),PetscErrorCode,(PetscBag,Ptr{Void},PetscBool,Cstring,Cstring),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscBagRegisterBoolArray(arg0::Type{Complex128},arg1::PetscBag,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Integer,arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscBagRegisterBoolArray,petscComplexDouble),PetscErrorCode,(PetscBag,Ptr{Void},Int64,Cstring,Cstring),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscBagGetNames(arg0::Type{Complex128},arg1::PetscBag,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscBagGetNames,petscComplexDouble),PetscErrorCode,(PetscBag,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscBagSetFromOptions(arg0::Type{Complex128},arg1::PetscBag) - err = ccall((:PetscBagSetFromOptions,petscComplexDouble),PetscErrorCode,(PetscBag,),arg1) - return err -end - -function PetscBagGetName(arg0::Type{Complex128},arg1::PetscBag,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscBagGetName,petscComplexDouble),PetscErrorCode,(PetscBag,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscBagSetName(arg0::Type{Complex128},arg1::PetscBag,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscBagSetName,petscComplexDouble),PetscErrorCode,(PetscBag,Cstring,Cstring),arg1,arg2,arg3) - return err -end - -function PetscBagSetOptionsPrefix(arg0::Type{Complex128},arg1::PetscBag,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscBagSetOptionsPrefix,petscComplexDouble),PetscErrorCode,(PetscBag,Cstring),arg1,arg2) - return err -end - -function PetscBagView(arg1::PetscBag,arg2::PetscViewer{Complex128}) - err = ccall((:PetscBagView,petscComplexDouble),PetscErrorCode,(PetscBag,PetscViewer{Complex128}),arg1,arg2) - return err -end - -function PetscBagLoad(arg1::PetscViewer{Complex128},arg2::PetscBag) - err = ccall((:PetscBagLoad,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},PetscBag),arg1,arg2) - return err -end - -function PetscBagSetViewer(arg0::Type{Complex128},arg1::PetscBag,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscBagSetViewer,petscComplexDouble),PetscErrorCode,(PetscBag,Ptr{Void}),arg1,arg2) - return err -end - -function PetscBagSetLoader(arg0::Type{Complex128},arg1::PetscBag,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscBagSetLoader,petscComplexDouble),PetscErrorCode,(PetscBag,Ptr{Void}),arg1,arg2) - return err -end - -function PetscBagSetDestroy(arg0::Type{Complex128},arg1::PetscBag,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscBagSetDestroy,petscComplexDouble),PetscErrorCode,(PetscBag,Ptr{Void}),arg1,arg2) - return err -end - -function PetscGetCPUTime(arg0::Type{Complex128},arg1::Union{Ptr{PetscLogDouble},StridedArray{PetscLogDouble},Ptr{PetscLogDouble},Ref{PetscLogDouble}}) - err = ccall((:PetscGetCPUTime,petscComplexDouble),PetscErrorCode,(Ptr{PetscLogDouble},),arg1) - return err -end - -function PetscTime(arg0::Type{Complex128},v::Union{Ptr{PetscLogDouble},StridedArray{PetscLogDouble},Ptr{PetscLogDouble},Ref{PetscLogDouble}}) - err = ccall((:PetscTime,petscComplexDouble),PetscErrorCode,(Ptr{PetscLogDouble},),v) - return err -end - -function PetscTimeSubtract(arg0::Type{Complex128},v::Union{Ptr{PetscLogDouble},StridedArray{PetscLogDouble},Ptr{PetscLogDouble},Ref{PetscLogDouble}}) - err = ccall((:PetscTimeSubtract,petscComplexDouble),PetscErrorCode,(Ptr{PetscLogDouble},),v) - return err -end - -function PetscTimeAdd(arg0::Type{Complex128},v::Union{Ptr{PetscLogDouble},StridedArray{PetscLogDouble},Ptr{PetscLogDouble},Ref{PetscLogDouble}}) - err = ccall((:PetscTimeAdd,petscComplexDouble),PetscErrorCode,(Ptr{PetscLogDouble},),v) - return err -end - -function PetscViewerInitializePackage(arg0::Type{Complex128}) - err = ccall((:PetscViewerInitializePackage,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscViewerRegister(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscViewerRegister,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function PetscViewerCreate(arg1::MPI_Comm,arg2::Union{Ptr{PetscViewer{Complex128}},StridedArray{PetscViewer{Complex128}},Ptr{PetscViewer{Complex128}},Ref{PetscViewer{Complex128}}}) - err = ccall((:PetscViewerCreate,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{PetscViewer{Complex128}}),arg1,arg2) - return err -end - -function PetscViewerSetFromOptions(arg1::PetscViewer{Complex128}) - err = ccall((:PetscViewerSetFromOptions,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},),arg1) - return err -end - -#= skipping function with undefined symbols: - function PetscViewerASCIIOpenWithFILE(arg1::MPI_Comm,arg2::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}},arg3::Union{Ptr{PetscViewer{Complex128}},StridedArray{PetscViewer{Complex128}},Ptr{PetscViewer{Complex128}},Ref{PetscViewer{Complex128}}}) - ccall((:PetscViewerASCIIOpenWithFILE,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{FILE},Ptr{PetscViewer{Complex128}}),arg1,arg2,arg3) -end -=# -function PetscViewerASCIIOpen(arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscViewer{Complex128}},StridedArray{PetscViewer{Complex128}},Ptr{PetscViewer{Complex128}},Ref{PetscViewer{Complex128}}}) - err = ccall((:PetscViewerASCIIOpen,petscComplexDouble),PetscErrorCode,(comm_type,Cstring,Ptr{PetscViewer{Complex128}}),arg1,arg2,arg3) - return err -end - -#= skipping function with undefined symbols: - function PetscViewerASCIISetFILE(arg1::PetscViewer{Complex128},arg2::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}}) - ccall((:PetscViewerASCIISetFILE,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Ptr{FILE}),arg1,arg2) -end -=# -function PetscViewerBinaryOpen(arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::PetscFileMode,arg4::Union{Ptr{PetscViewer{Complex128}},StridedArray{PetscViewer{Complex128}},Ptr{PetscViewer{Complex128}},Ref{PetscViewer{Complex128}}}) - err = ccall((:PetscViewerBinaryOpen,petscComplexDouble),PetscErrorCode,(comm_type,Cstring,PetscFileMode,Ptr{PetscViewer{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscViewerBinaryGetFlowControl(arg1::PetscViewer{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscViewerBinaryGetFlowControl,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Ptr{Int64}),arg1,arg2) - return err -end - -function PetscViewerBinarySetFlowControl(arg1::PetscViewer{Complex128},arg2::Integer) - err = ccall((:PetscViewerBinarySetFlowControl,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Int64),arg1,arg2) - return err -end - -function PetscViewerBinarySetUseMPIIO(arg1::PetscViewer{Complex128},arg2::PetscBool) - err = ccall((:PetscViewerBinarySetUseMPIIO,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},PetscBool),arg1,arg2) - return err -end - -function PetscViewerBinaryGetUseMPIIO(arg1::PetscViewer{Complex128},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscViewerBinaryGetUseMPIIO,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Ptr{PetscBool}),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function PetscViewerBinaryGetMPIIODescriptor(arg1::PetscViewer{Complex128},arg2::Union{Ptr{MPI_File},StridedArray{MPI_File},Ptr{MPI_File},Ref{MPI_File}}) - ccall((:PetscViewerBinaryGetMPIIODescriptor,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Ptr{MPI_File}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function PetscViewerBinaryGetMPIIOOffset(arg1::PetscViewer{Complex128},arg2::Union{Ptr{MPI_Offset},StridedArray{MPI_Offset},Ptr{MPI_Offset},Ref{MPI_Offset}}) - ccall((:PetscViewerBinaryGetMPIIOOffset,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Ptr{MPI_Offset}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function PetscViewerBinaryAddMPIIOOffset(arg1::PetscViewer{Complex128},arg2::MPI_Offset) - ccall((:PetscViewerBinaryAddMPIIOOffset,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},MPI_Offset),arg1,arg2) -end -=# -function PetscViewerSocketOpen(arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::Union{Ptr{PetscViewer{Complex128}},StridedArray{PetscViewer{Complex128}},Ptr{PetscViewer{Complex128}},Ref{PetscViewer{Complex128}}}) - err = ccall((:PetscViewerSocketOpen,petscComplexDouble),PetscErrorCode,(comm_type,Cstring,Cint,Ptr{PetscViewer{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscViewerStringOpen(arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Csize_t,arg4::Union{Ptr{PetscViewer{Complex128}},StridedArray{PetscViewer{Complex128}},Ptr{PetscViewer{Complex128}},Ref{PetscViewer{Complex128}}}) - err = ccall((:PetscViewerStringOpen,petscComplexDouble),PetscErrorCode,(comm_type,Cstring,Csize_t,Ptr{PetscViewer{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscViewerDrawOpen(arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Union{Ptr{PetscViewer{Complex128}},StridedArray{PetscViewer{Complex128}},Ptr{PetscViewer{Complex128}},Ref{PetscViewer{Complex128}}}) - err = ccall((:PetscViewerDrawOpen,petscComplexDouble),PetscErrorCode,(comm_type,Cstring,Cstring,Cint,Cint,Cint,Cint,Ptr{PetscViewer{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function PetscViewerDrawSetDrawType(arg1::PetscViewer{Complex128},arg2::PetscDrawType) - err = ccall((:PetscViewerDrawSetDrawType,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Cstring),arg1,arg2) - return err -end - -function PetscViewerMathematicaOpen(arg1::MPI_Comm,arg2::Integer,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{PetscViewer{Complex128}},StridedArray{PetscViewer{Complex128}},Ptr{PetscViewer{Complex128}},Ref{PetscViewer{Complex128}}}) - err = ccall((:PetscViewerMathematicaOpen,petscComplexDouble),PetscErrorCode,(comm_type,Cint,Cstring,Cstring,Ptr{PetscViewer{Complex128}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscViewerSiloOpen(arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscViewer{Complex128}},StridedArray{PetscViewer{Complex128}},Ptr{PetscViewer{Complex128}},Ref{PetscViewer{Complex128}}}) - err = ccall((:PetscViewerSiloOpen,petscComplexDouble),PetscErrorCode,(comm_type,Cstring,Ptr{PetscViewer{Complex128}}),arg1,arg2,arg3) - return err -end - -function PetscViewerMatlabOpen(arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::PetscFileMode,arg4::Union{Ptr{PetscViewer{Complex128}},StridedArray{PetscViewer{Complex128}},Ptr{PetscViewer{Complex128}},Ref{PetscViewer{Complex128}}}) - err = ccall((:PetscViewerMatlabOpen,petscComplexDouble),PetscErrorCode,(comm_type,Cstring,PetscFileMode,Ptr{PetscViewer{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscViewerGetType(arg1::PetscViewer{Complex128},arg2::Union{Ptr{PetscViewerType},StridedArray{PetscViewerType},Ptr{PetscViewerType},Ref{PetscViewerType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:PetscViewerGetType,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function PetscViewerSetType(arg1::PetscViewer{Complex128},arg2::PetscViewerType) - err = ccall((:PetscViewerSetType,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Cstring),arg1,arg2) - return err -end - -function PetscViewerDestroy(arg1::Union{Ptr{PetscViewer{Complex128}},StridedArray{PetscViewer{Complex128}},Ptr{PetscViewer{Complex128}},Ref{PetscViewer{Complex128}}}) - err = ccall((:PetscViewerDestroy,petscComplexDouble),PetscErrorCode,(Ptr{PetscViewer{Complex128}},),arg1) - return err -end - -function PetscViewerGetSingleton(arg1::PetscViewer{Complex128},arg2::Union{Ptr{PetscViewer{Complex128}},StridedArray{PetscViewer{Complex128}},Ptr{PetscViewer{Complex128}},Ref{PetscViewer{Complex128}}}) - err = ccall((:PetscViewerGetSingleton,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Ptr{PetscViewer{Complex128}}),arg1,arg2) - return err -end - -function PetscViewerRestoreSingleton(arg1::PetscViewer{Complex128},arg2::Union{Ptr{PetscViewer{Complex128}},StridedArray{PetscViewer{Complex128}},Ptr{PetscViewer{Complex128}},Ref{PetscViewer{Complex128}}}) - err = ccall((:PetscViewerRestoreSingleton,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Ptr{PetscViewer{Complex128}}),arg1,arg2) - return err -end - -function PetscViewerGetSubcomm(arg1::PetscViewer{Complex128},arg2::MPI_Comm,arg3::Union{Ptr{PetscViewer{Complex128}},StridedArray{PetscViewer{Complex128}},Ptr{PetscViewer{Complex128}},Ref{PetscViewer{Complex128}}}) - err = ccall((:PetscViewerGetSubcomm,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},comm_type,Ptr{PetscViewer{Complex128}}),arg1,arg2,arg3) - return err -end - -function PetscViewerRestoreSubcomm(arg1::PetscViewer{Complex128},arg2::MPI_Comm,arg3::Union{Ptr{PetscViewer{Complex128}},StridedArray{PetscViewer{Complex128}},Ptr{PetscViewer{Complex128}},Ref{PetscViewer{Complex128}}}) - err = ccall((:PetscViewerRestoreSubcomm,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},comm_type,Ptr{PetscViewer{Complex128}}),arg1,arg2,arg3) - return err -end - -function PetscViewerSetUp(arg1::PetscViewer{Complex128}) - err = ccall((:PetscViewerSetUp,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},),arg1) - return err -end - -function PetscViewerView(arg1::PetscViewer{Complex128},arg2::PetscViewer{Complex128}) - err = ccall((:PetscViewerView,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},PetscViewer{Complex128}),arg1,arg2) - return err -end - -function PetscViewerViewFromOptions(A::PetscViewer{Complex128},obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscViewerViewFromOptions,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},PetscObject,Cstring),A,obj,name) - return err -end - -function PetscViewerSetOptionsPrefix(arg1::PetscViewer{Complex128},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscViewerSetOptionsPrefix,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Cstring),arg1,arg2) - return err -end - -function PetscViewerAppendOptionsPrefix(arg1::PetscViewer{Complex128},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscViewerAppendOptionsPrefix,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Cstring),arg1,arg2) - return err -end - -function PetscViewerGetOptionsPrefix(arg1::PetscViewer{Complex128},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscViewerGetOptionsPrefix,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscViewerSetFormat(arg1::PetscViewer{Complex128},arg2::PetscViewerFormat) - err = ccall((:PetscViewerSetFormat,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},PetscViewerFormat),arg1,arg2) - return err -end - -function PetscViewerPushFormat(arg1::PetscViewer{Complex128},arg2::PetscViewerFormat) - err = ccall((:PetscViewerPushFormat,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},PetscViewerFormat),arg1,arg2) - return err -end - -function PetscViewerPopFormat(arg1::PetscViewer{Complex128}) - err = ccall((:PetscViewerPopFormat,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},),arg1) - return err -end - -function PetscViewerGetFormat(arg1::PetscViewer{Complex128},arg2::Union{Ptr{PetscViewerFormat},StridedArray{PetscViewerFormat},Ptr{PetscViewerFormat},Ref{PetscViewerFormat}}) - err = ccall((:PetscViewerGetFormat,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Ptr{PetscViewerFormat}),arg1,arg2) - return err -end - -function PetscViewerFlush(arg1::PetscViewer{Complex128}) - err = ccall((:PetscViewerFlush,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},),arg1) - return err -end - -function PetscOptionsGetViewer(arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{Ptr{PetscViewer{Complex128}},StridedArray{PetscViewer{Complex128}},Ptr{PetscViewer{Complex128}},Ref{PetscViewer{Complex128}}},arg5::Union{Ptr{PetscViewerFormat},StridedArray{PetscViewerFormat},Ptr{PetscViewerFormat},Ref{PetscViewerFormat}},arg6::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetViewer,petscComplexDouble),PetscErrorCode,(comm_type,Cstring,Cstring,Ptr{PetscViewer{Complex128}},Ptr{PetscViewerFormat},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -#= skipping function with undefined symbols: - function PetscOptionsViewer_Private(arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{PetscViewer{Complex128}},StridedArray{PetscViewer{Complex128}},Ptr{PetscViewer{Complex128}},Ref{PetscViewer{Complex128}}},arg6::Union{Ptr{PetscViewerFormat},StridedArray{PetscViewerFormat},Ptr{PetscViewerFormat},Ref{PetscViewerFormat}},arg7::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsViewer_Private,petscComplexDouble),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Ptr{PetscViewer{Complex128}},Ptr{PetscViewerFormat},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -#= skipping function with undefined symbols: - function PetscViewerASCIIGetPointer(arg1::PetscViewer{Complex128},arg2::Union{Ptr{Ptr{FILE}},StridedArray{Ptr{FILE}},Ptr{Ptr{FILE}},Ref{Ptr{FILE}}}) - ccall((:PetscViewerASCIIGetPointer,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Ptr{Ptr{FILE}}),arg1,arg2) -end -=# -function PetscViewerFileGetMode(arg1::PetscViewer{Complex128},arg2::Union{Ptr{PetscFileMode},StridedArray{PetscFileMode},Ptr{PetscFileMode},Ref{PetscFileMode}}) - err = ccall((:PetscViewerFileGetMode,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Ptr{PetscFileMode}),arg1,arg2) - return err -end - -function PetscViewerFileSetMode(arg1::PetscViewer{Complex128},arg2::PetscFileMode) - err = ccall((:PetscViewerFileSetMode,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},PetscFileMode),arg1,arg2) - return err -end - -function PetscViewerRead(arg1::PetscViewer{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::PetscDataType) - err = ccall((:PetscViewerRead,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Ptr{Void},Int64,Ptr{Int64},PetscDataType),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscViewerASCIISynchronizedAllow(arg1::PetscViewer{Complex128},arg2::PetscBool) - err = ccall((:PetscViewerASCIISynchronizedAllow,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},PetscBool),arg1,arg2) - return err -end - -function PetscViewerASCIIPushTab(arg1::PetscViewer{Complex128}) - err = ccall((:PetscViewerASCIIPushTab,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},),arg1) - return err -end - -function PetscViewerASCIIPopTab(arg1::PetscViewer{Complex128}) - err = ccall((:PetscViewerASCIIPopTab,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},),arg1) - return err -end - -function PetscViewerASCIIUseTabs(arg1::PetscViewer{Complex128},arg2::PetscBool) - err = ccall((:PetscViewerASCIIUseTabs,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},PetscBool),arg1,arg2) - return err -end - -function PetscViewerASCIISetTab(arg1::PetscViewer{Complex128},arg2::Integer) - err = ccall((:PetscViewerASCIISetTab,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Int64),arg1,arg2) - return err -end - -function PetscViewerASCIIGetTab(arg1::PetscViewer{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscViewerASCIIGetTab,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Ptr{Int64}),arg1,arg2) - return err -end - -function PetscViewerASCIIAddTab(arg1::PetscViewer{Complex128},arg2::Integer) - err = ccall((:PetscViewerASCIIAddTab,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Int64),arg1,arg2) - return err -end - -function PetscViewerASCIISubtractTab(arg1::PetscViewer{Complex128},arg2::Integer) - err = ccall((:PetscViewerASCIISubtractTab,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Int64),arg1,arg2) - return err -end - -function PetscViewerASCIIRead(arg1::PetscViewer{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::PetscDataType) - err = ccall((:PetscViewerASCIIRead,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Ptr{Void},Int64,Ptr{Int64},PetscDataType),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscViewerBinaryGetDescriptor(arg1::PetscViewer{Complex128},arg2::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}}) - err = ccall((:PetscViewerBinaryGetDescriptor,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Ptr{Cint}),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function PetscViewerBinaryGetInfoPointer(arg1::PetscViewer{Complex128},arg2::Union{Ptr{Ptr{FILE}},StridedArray{Ptr{FILE}},Ptr{Ptr{FILE}},Ref{Ptr{FILE}}}) - ccall((:PetscViewerBinaryGetInfoPointer,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Ptr{Ptr{FILE}}),arg1,arg2) -end -=# -function PetscViewerBinaryRead(arg1::PetscViewer{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::PetscDataType) - err = ccall((:PetscViewerBinaryRead,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Ptr{Void},Int64,Ptr{Int64},PetscDataType),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscViewerBinaryWrite(arg1::PetscViewer{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Integer,arg4::PetscDataType,arg5::PetscBool) - err = ccall((:PetscViewerBinaryWrite,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Ptr{Void},Int64,PetscDataType,PetscBool),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscViewerStringSetString(arg1::PetscViewer{Complex128},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer) - err = ccall((:PetscViewerStringSetString,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Cstring,Int64),arg1,arg2,arg3) - return err -end - -function PetscViewerDrawClear(arg1::PetscViewer{Complex128}) - err = ccall((:PetscViewerDrawClear,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},),arg1) - return err -end - -function PetscViewerDrawSetHold(arg1::PetscViewer{Complex128},arg2::PetscBool) - err = ccall((:PetscViewerDrawSetHold,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},PetscBool),arg1,arg2) - return err -end - -function PetscViewerDrawGetHold(arg1::PetscViewer{Complex128},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscViewerDrawGetHold,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscViewerDrawSetPause(arg1::PetscViewer{Complex128},arg2::Float64) - err = ccall((:PetscViewerDrawSetPause,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Float64),arg1,arg2) - return err -end - -function PetscViewerDrawGetPause(arg1::PetscViewer{Complex128},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscViewerDrawGetPause,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Ptr{Float64}),arg1,arg2) - return err -end - -function PetscViewerDrawSetInfo(arg1::PetscViewer{Complex128},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer) - err = ccall((:PetscViewerDrawSetInfo,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Cstring,Cstring,Cint,Cint,Cint,Cint),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function PetscViewerDrawResize(arg1::PetscViewer{Complex128},arg2::Integer,arg3::Integer) - err = ccall((:PetscViewerDrawResize,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Cint,Cint),arg1,arg2,arg3) - return err -end - -function PetscViewerDrawSetBounds(arg1::PetscViewer{Complex128},arg2::Integer,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscViewerDrawSetBounds,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Int64,Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function PetscViewerDrawGetBounds(arg1::PetscViewer{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:PetscViewerDrawGetBounds,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Ptr{Int64},Ptr{Ptr{Float64}}),arg1,arg2,arg3) - return err -end - -function PetscViewerSocketSetConnection(arg1::PetscViewer{Complex128},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer) - err = ccall((:PetscViewerSocketSetConnection,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Cstring,Cint),arg1,arg2,arg3) - return err -end - -function PetscViewerBinarySkipInfo(arg1::PetscViewer{Complex128}) - err = ccall((:PetscViewerBinarySkipInfo,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},),arg1) - return err -end - -function PetscViewerBinarySetSkipInfo(arg1::PetscViewer{Complex128},arg2::PetscBool) - err = ccall((:PetscViewerBinarySetSkipInfo,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},PetscBool),arg1,arg2) - return err -end - -function PetscViewerBinaryGetSkipInfo(arg1::PetscViewer{Complex128},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscViewerBinaryGetSkipInfo,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscViewerBinarySetSkipOptions(arg1::PetscViewer{Complex128},arg2::PetscBool) - err = ccall((:PetscViewerBinarySetSkipOptions,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},PetscBool),arg1,arg2) - return err -end - -function PetscViewerBinaryGetSkipOptions(arg1::PetscViewer{Complex128},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscViewerBinaryGetSkipOptions,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscViewerBinarySetSkipHeader(arg1::PetscViewer{Complex128},arg2::PetscBool) - err = ccall((:PetscViewerBinarySetSkipHeader,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},PetscBool),arg1,arg2) - return err -end - -function PetscViewerBinaryGetSkipHeader(arg1::PetscViewer{Complex128},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscViewerBinaryGetSkipHeader,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscViewerBinaryReadStringArray(arg1::PetscViewer{Complex128},arg2::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}}) - err = ccall((:PetscViewerBinaryReadStringArray,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Ptr{Ptr{Ptr{UInt8}}}),arg1,arg2) - return err -end - -function PetscViewerBinaryWriteStringArray(arg1::PetscViewer{Complex128},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscViewerBinaryWriteStringArray,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscViewerFileSetName(arg1::PetscViewer{Complex128},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscViewerFileSetName,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Cstring),arg1,arg2) - return err -end - -function PetscViewerFileGetName(arg1::PetscViewer{Complex128},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscViewerFileGetName,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function PetscViewerVUGetPointer(arg1::PetscViewer{Complex128},arg2::Union{Ptr{Ptr{FILE}},StridedArray{Ptr{FILE}},Ptr{Ptr{FILE}},Ref{Ptr{FILE}}}) - ccall((:PetscViewerVUGetPointer,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Ptr{Ptr{FILE}}),arg1,arg2) -end -=# -function PetscViewerVUSetVecSeen(arg1::PetscViewer{Complex128},arg2::PetscBool) - err = ccall((:PetscViewerVUSetVecSeen,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},PetscBool),arg1,arg2) - return err -end - -function PetscViewerVUGetVecSeen(arg1::PetscViewer{Complex128},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscViewerVUGetVecSeen,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscViewerVUFlushDeferred(arg1::PetscViewer{Complex128}) - err = ccall((:PetscViewerVUFlushDeferred,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},),arg1) - return err -end - -function PetscViewerMathematicaInitializePackage(arg0::Type{Complex128}) - err = ccall((:PetscViewerMathematicaInitializePackage,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscViewerMathematicaFinalizePackage(arg0::Type{Complex128}) - err = ccall((:PetscViewerMathematicaFinalizePackage,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscViewerMathematicaGetName(arg1::PetscViewer{Complex128},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscViewerMathematicaGetName,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscViewerMathematicaSetName(arg1::PetscViewer{Complex128},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscViewerMathematicaSetName,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Cstring),arg1,arg2) - return err -end - -function PetscViewerMathematicaClearName(arg1::PetscViewer{Complex128}) - err = ccall((:PetscViewerMathematicaClearName,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},),arg1) - return err -end - -function PetscViewerMathematicaSkipPackets(arg1::PetscViewer{Complex128},arg2::Integer) - err = ccall((:PetscViewerMathematicaSkipPackets,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Cint),arg1,arg2) - return err -end - -function PetscViewerSiloGetName(arg1::PetscViewer{Complex128},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscViewerSiloGetName,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscViewerSiloSetName(arg1::PetscViewer{Complex128},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscViewerSiloSetName,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Cstring),arg1,arg2) - return err -end - -function PetscViewerSiloClearName(arg1::PetscViewer{Complex128}) - err = ccall((:PetscViewerSiloClearName,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},),arg1) - return err -end - -function PetscViewerSiloGetMeshName(arg1::PetscViewer{Complex128},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscViewerSiloGetMeshName,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscViewerSiloSetMeshName(arg1::PetscViewer{Complex128},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscViewerSiloSetMeshName,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Cstring),arg1,arg2) - return err -end - -function PetscViewerSiloClearMeshName(arg1::PetscViewer{Complex128}) - err = ccall((:PetscViewerSiloClearMeshName,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},),arg1) - return err -end - -function PetscViewerNetcdfOpen(arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::PetscFileMode,arg4::Union{Ptr{PetscViewer{Complex128}},StridedArray{PetscViewer{Complex128}},Ptr{PetscViewer{Complex128}},Ref{PetscViewer{Complex128}}}) - err = ccall((:PetscViewerNetcdfOpen,petscComplexDouble),PetscErrorCode,(comm_type,Cstring,PetscFileMode,Ptr{PetscViewer{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscViewerNetcdfGetID(arg1::PetscViewer{Complex128},arg2::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}}) - err = ccall((:PetscViewerNetcdfGetID,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Ptr{Cint}),arg1,arg2) - return err -end - -function PetscViewerVTKAddField(arg1::PetscViewer{Complex128},arg2::PetscObject,PetscViewerVTKWriteFunction::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::PetscViewerVTKFieldType,arg4::PetscObject) - err = ccall((:PetscViewerVTKAddField,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},PetscObject,Ptr{Void},PetscViewerVTKFieldType,PetscObject),arg1,arg2,PetscViewerVTKWriteFunction,arg3,arg4) - return err -end - -function PetscViewerVTKOpen(arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::PetscFileMode,arg4::Union{Ptr{PetscViewer{Complex128}},StridedArray{PetscViewer{Complex128}},Ptr{PetscViewer{Complex128}},Ref{PetscViewer{Complex128}}}) - err = ccall((:PetscViewerVTKOpen,petscComplexDouble),PetscErrorCode,(comm_type,Cstring,PetscFileMode,Ptr{PetscViewer{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function PETSC_VIEWER_STDOUT_(arg0::Type{Complex128},arg1::MPI_Comm) - err = ccall((:PETSC_VIEWER_STDOUT_,petscComplexDouble),PetscViewer,(comm_type,),arg1) - return err -end - -function PetscViewerASCIIGetStdout(arg1::MPI_Comm,arg2::Union{Ptr{PetscViewer{Complex128}},StridedArray{PetscViewer{Complex128}},Ptr{PetscViewer{Complex128}},Ref{PetscViewer{Complex128}}}) - err = ccall((:PetscViewerASCIIGetStdout,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{PetscViewer{Complex128}}),arg1,arg2) - return err -end - -function PETSC_VIEWER_STDERR_(arg0::Type{Complex128},arg1::MPI_Comm) - err = ccall((:PETSC_VIEWER_STDERR_,petscComplexDouble),PetscViewer,(comm_type,),arg1) - return err -end - -function PetscViewerASCIIGetStderr(arg1::MPI_Comm,arg2::Union{Ptr{PetscViewer{Complex128}},StridedArray{PetscViewer{Complex128}},Ptr{PetscViewer{Complex128}},Ref{PetscViewer{Complex128}}}) - err = ccall((:PetscViewerASCIIGetStderr,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{PetscViewer{Complex128}}),arg1,arg2) - return err -end - -function PETSC_VIEWER_DRAW_(arg0::Type{Complex128},arg1::MPI_Comm) - err = ccall((:PETSC_VIEWER_DRAW_,petscComplexDouble),PetscViewer,(comm_type,),arg1) - return err -end - -function PETSC_VIEWER_SOCKET_(arg0::Type{Complex128},arg1::MPI_Comm) - err = ccall((:PETSC_VIEWER_SOCKET_,petscComplexDouble),PetscViewer,(comm_type,),arg1) - return err -end - -function PETSC_VIEWER_BINARY_(arg0::Type{Complex128},arg1::MPI_Comm) - err = ccall((:PETSC_VIEWER_BINARY_,petscComplexDouble),PetscViewer,(comm_type,),arg1) - return err -end - -function PETSC_VIEWER_MATLAB_(arg0::Type{Complex128},arg1::MPI_Comm) - err = ccall((:PETSC_VIEWER_MATLAB_,petscComplexDouble),PetscViewer,(comm_type,),arg1) - return err -end - -function PETSC_VIEWER_HDF5_(arg0::Type{Complex128},arg1::MPI_Comm) - err = ccall((:PETSC_VIEWER_HDF5_,petscComplexDouble),PetscViewer,(comm_type,),arg1) - return err -end - -function PetscViewerFlowControlStart(viewer::PetscViewer{Complex128},mcnt::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},cnt::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscViewerFlowControlStart,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Ptr{Int64},Ptr{Int64}),viewer,mcnt,cnt) - return err -end - -function PetscViewerFlowControlStepMaster(viewer::PetscViewer{Complex128},i::Integer,mcnt::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},cnt::Integer) - err = ccall((:PetscViewerFlowControlStepMaster,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Int64,Ptr{Int64},Int64),viewer,i,mcnt,cnt) - return err -end - -function PetscViewerFlowControlEndMaster(viewer::PetscViewer{Complex128},mcnt::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscViewerFlowControlEndMaster,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Ptr{Int64}),viewer,mcnt) - return err -end - -function PetscViewerFlowControlStepWorker(viewer::PetscViewer{Complex128},rank::PetscMPIInt,mcnt::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscViewerFlowControlStepWorker,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},PetscMPIInt,Ptr{Int64}),viewer,rank,mcnt) - return err -end - -function PetscViewerFlowControlEndWorker(viewer::PetscViewer{Complex128},mcnt::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscViewerFlowControlEndWorker,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Ptr{Int64}),viewer,mcnt) - return err -end - -function PetscViewerMatlabPutArray(arg1::PetscViewer{Complex128},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscViewerMatlabPutArray,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Cint,Cint,Ptr{Complex128},Cstring),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscViewerMatlabGetArray(arg1::PetscViewer{Complex128},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscViewerMatlabGetArray,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Cint,Cint,Ptr{Complex128},Cstring),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscViewerMatlabPutVariable(arg1::PetscViewer{Complex128},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscViewerMatlabPutVariable,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Cstring,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function PetscViewersCreate(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{PetscViewers},StridedArray{PetscViewers},Ptr{PetscViewers},Ref{PetscViewers}}) - err = ccall((:PetscViewersCreate,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{PetscViewers}),arg1,arg2) - return err -end - -function PetscViewersDestroy(arg0::Type{Complex128},arg1::Union{Ptr{PetscViewers},StridedArray{PetscViewers},Ptr{PetscViewers},Ref{PetscViewers}}) - err = ccall((:PetscViewersDestroy,petscComplexDouble),PetscErrorCode,(Ptr{PetscViewers},),arg1) - return err -end - -function PetscViewersGetViewer(arg1::PetscViewers,arg2::Integer,arg3::Union{Ptr{PetscViewer{Complex128}},StridedArray{PetscViewer{Complex128}},Ptr{PetscViewer{Complex128}},Ref{PetscViewer{Complex128}}}) - err = ccall((:PetscViewersGetViewer,petscComplexDouble),PetscErrorCode,(PetscViewers,Int64,Ptr{PetscViewer{Complex128}}),arg1,arg2,arg3) - return err -end - -function PetscBTLength(arg0::Type{Complex128},m::Integer) - err = ccall((:PetscBTLength,petscComplexDouble),PetscInt,(Int64,),m) - return err -end - -function PetscBTMemzero(arg0::Type{Complex128},m::Integer,array::PetscBT) - err = ccall((:PetscBTMemzero,petscComplexDouble),PetscErrorCode,(Int64,Cstring),m,array) - return err -end - -function PetscBTDestroy(arg0::Type{Complex128},array::Union{Ptr{PetscBT},StridedArray{PetscBT},Ptr{PetscBT},Ref{PetscBT}}) - err = ccall((:PetscBTDestroy,petscComplexDouble),PetscErrorCode,(Ptr{Ptr{UInt8}},),array) - return err -end - -function PetscBTLookup(arg0::Type{Complex128},array::PetscBT,index::Integer) - err = ccall((:PetscBTLookup,petscComplexDouble),UInt8,(Cstring,Int64),array,index) - return err -end - -function PetscBTView(m::Integer,bt::PetscBT,viewer::PetscViewer{Complex128}) - err = ccall((:PetscBTView,petscComplexDouble),PetscErrorCode,(Int64,Cstring,PetscViewer{Complex128}),m,bt,viewer) - return err -end - -function PetscBTCreate(arg0::Type{Complex128},m::Integer,array::Union{Ptr{PetscBT},StridedArray{PetscBT},Ptr{PetscBT},Ref{PetscBT}}) - err = ccall((:PetscBTCreate,petscComplexDouble),PetscErrorCode,(Int64,Ptr{Ptr{UInt8}}),m,array) - return err -end - -function PetscBTLookupSet(arg0::Type{Complex128},array::PetscBT,index::Integer) - err = ccall((:PetscBTLookupSet,petscComplexDouble),UInt8,(Cstring,Int64),array,index) - return err -end - -function PetscBTSet(arg0::Type{Complex128},array::PetscBT,index::Integer) - err = ccall((:PetscBTSet,petscComplexDouble),PetscErrorCode,(Cstring,Int64),array,index) - return err -end - -function PetscBTNegate(arg0::Type{Complex128},array::PetscBT,index::Integer) - err = ccall((:PetscBTNegate,petscComplexDouble),PetscErrorCode,(Cstring,Int64),array,index) - return err -end - -function PetscBTLookupClear(arg0::Type{Complex128},array::PetscBT,index::Integer) - err = ccall((:PetscBTLookupClear,petscComplexDouble),UInt8,(Cstring,Int64),array,index) - return err -end - -function PetscBTClear(arg0::Type{Complex128},array::PetscBT,index::Integer) - err = ccall((:PetscBTClear,petscComplexDouble),PetscErrorCode,(Cstring,Int64),array,index) - return err -end - -#= skipping function with undefined symbols: - function PetscHash(arg0::Type{Complex128},ta::PetscTable,x::Culong) - ccall((:PetscHash,petscComplexDouble),Culong,(PetscTable,Culong),ta,x) -end -=# -#= skipping function with undefined symbols: - function PetscTableCreate(arg0::Type{Complex128},arg1::Integer,arg2::Integer,arg3::Union{Ptr{PetscTable},StridedArray{PetscTable},Ptr{PetscTable},Ref{PetscTable}}) - ccall((:PetscTableCreate,petscComplexDouble),PetscErrorCode,(Int64,Int64,Ptr{PetscTable}),arg1,arg2,arg3) -end -=# -#= skipping function with undefined symbols: - function PetscTableCreateCopy(arg0::Type{Complex128},arg1::PetscTable,arg2::Union{Ptr{PetscTable},StridedArray{PetscTable},Ptr{PetscTable},Ref{PetscTable}}) - ccall((:PetscTableCreateCopy,petscComplexDouble),PetscErrorCode,(PetscTable,Ptr{PetscTable}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function PetscTableDestroy(arg0::Type{Complex128},arg1::Union{Ptr{PetscTable},StridedArray{PetscTable},Ptr{PetscTable},Ref{PetscTable}}) - ccall((:PetscTableDestroy,petscComplexDouble),PetscErrorCode,(Ptr{PetscTable},),arg1) -end -=# -#= skipping function with undefined symbols: - function PetscTableGetCount(arg0::Type{Complex128},arg1::PetscTable,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - ccall((:PetscTableGetCount,petscComplexDouble),PetscErrorCode,(PetscTable,Ptr{Int64}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function PetscTableIsEmpty(arg0::Type{Complex128},arg1::PetscTable,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - ccall((:PetscTableIsEmpty,petscComplexDouble),PetscErrorCode,(PetscTable,Ptr{Int64}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function PetscTableAddExpand(arg0::Type{Complex128},arg1::PetscTable,arg2::Integer,arg3::Integer,arg4::InsertMode) - ccall((:PetscTableAddExpand,petscComplexDouble),PetscErrorCode,(PetscTable,Int64,Int64,InsertMode),arg1,arg2,arg3,arg4) -end -=# -#= skipping function with undefined symbols: - function PetscTableAddCountExpand(arg0::Type{Complex128},arg1::PetscTable,arg2::Integer) - ccall((:PetscTableAddCountExpand,petscComplexDouble),PetscErrorCode,(PetscTable,Int64),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function PetscTableGetHeadPosition(arg0::Type{Complex128},arg1::PetscTable,arg2::Union{Ptr{PetscTablePosition},StridedArray{PetscTablePosition},Ptr{PetscTablePosition},Ref{PetscTablePosition}}) - ccall((:PetscTableGetHeadPosition,petscComplexDouble),PetscErrorCode,(PetscTable,Ptr{PetscTablePosition}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function PetscTableGetNext(arg0::Type{Complex128},arg1::PetscTable,arg2::Union{Ptr{PetscTablePosition},StridedArray{PetscTablePosition},Ptr{PetscTablePosition},Ref{PetscTablePosition}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - ccall((:PetscTableGetNext,petscComplexDouble),PetscErrorCode,(PetscTable,Ptr{PetscTablePosition},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) -end -=# -#= skipping function with undefined symbols: - function PetscTableRemoveAll(arg0::Type{Complex128},arg1::PetscTable) - ccall((:PetscTableRemoveAll,petscComplexDouble),PetscErrorCode,(PetscTable,),arg1) -end -=# -#= skipping function with undefined symbols: - function PetscTableAdd(arg0::Type{Complex128},ta::PetscTable,key::Integer,data::Integer,imode::InsertMode) - ccall((:PetscTableAdd,petscComplexDouble),PetscErrorCode,(PetscTable,Int64,Int64,InsertMode),ta,key,data,imode) -end -=# -#= skipping function with undefined symbols: - function PetscTableAddCount(arg0::Type{Complex128},ta::PetscTable,key::Integer) - ccall((:PetscTableAddCount,petscComplexDouble),PetscErrorCode,(PetscTable,Int64),ta,key) -end -=# -#= skipping function with undefined symbols: - function PetscTableFind(arg0::Type{Complex128},ta::PetscTable,key::Integer,data::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - ccall((:PetscTableFind,petscComplexDouble),PetscErrorCode,(PetscTable,Int64,Ptr{Int64}),ta,key,data) -end -=# -function PetscMatlabEngineCreate(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscMatlabEngine},StridedArray{PetscMatlabEngine},Ptr{PetscMatlabEngine},Ref{PetscMatlabEngine}}) - err = ccall((:PetscMatlabEngineCreate,petscComplexDouble),PetscErrorCode,(comm_type,Cstring,Ptr{PetscMatlabEngine}),arg1,arg2,arg3) - return err -end - -function PetscMatlabEngineDestroy(arg0::Type{Complex128},arg1::Union{Ptr{PetscMatlabEngine},StridedArray{PetscMatlabEngine},Ptr{PetscMatlabEngine},Ref{PetscMatlabEngine}}) - err = ccall((:PetscMatlabEngineDestroy,petscComplexDouble),PetscErrorCode,(Ptr{PetscMatlabEngine},),arg1) - return err -end - -function PetscMatlabEngineGetOutput(arg0::Type{Complex128},arg1::PetscMatlabEngine,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscMatlabEngineGetOutput,petscComplexDouble),PetscErrorCode,(PetscMatlabEngine,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function PetscMatlabEnginePrintOutput(arg0::Type{Complex128},arg1::PetscMatlabEngine,arg2::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}}) - ccall((:PetscMatlabEnginePrintOutput,petscComplexDouble),PetscErrorCode,(PetscMatlabEngine,Ptr{FILE}),arg1,arg2) -end -=# -function PetscMatlabEnginePut(arg0::Type{Complex128},arg1::PetscMatlabEngine,arg2::PetscObject) - err = ccall((:PetscMatlabEnginePut,petscComplexDouble),PetscErrorCode,(PetscMatlabEngine,PetscObject),arg1,arg2) - return err -end - -function PetscMatlabEngineGet(arg0::Type{Complex128},arg1::PetscMatlabEngine,arg2::PetscObject) - err = ccall((:PetscMatlabEngineGet,petscComplexDouble),PetscErrorCode,(PetscMatlabEngine,PetscObject),arg1,arg2) - return err -end - -function PetscMatlabEnginePutArray(arg0::Type{Complex128},arg1::PetscMatlabEngine,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscMatlabEnginePutArray,petscComplexDouble),PetscErrorCode,(PetscMatlabEngine,Cint,Cint,Ptr{Complex128},Cstring),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscMatlabEngineGetArray(arg0::Type{Complex128},arg1::PetscMatlabEngine,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscMatlabEngineGetArray,petscComplexDouble),PetscErrorCode,(PetscMatlabEngine,Cint,Cint,Ptr{Complex128},Cstring),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PETSC_MATLAB_ENGINE_(arg0::Type{Complex128},arg1::MPI_Comm) - err = ccall((:PETSC_MATLAB_ENGINE_,petscComplexDouble),PetscMatlabEngine,(comm_type,),arg1) - return err -end - -function PetscDrawInitializePackage(arg0::Type{Complex128}) - err = ccall((:PetscDrawInitializePackage,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscDrawRegister(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscDrawRegister,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function PetscDrawGetType(arg0::Type{Complex128},arg1::PetscDraw,arg2::Union{Ptr{PetscDrawType},StridedArray{PetscDrawType},Ptr{PetscDrawType},Ref{PetscDrawType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:PetscDrawGetType,petscComplexDouble),PetscErrorCode,(PetscDraw,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function PetscDrawSetType(arg0::Type{Complex128},arg1::PetscDraw,arg2::PetscDrawType) - err = ccall((:PetscDrawSetType,petscComplexDouble),PetscErrorCode,(PetscDraw,Cstring),arg1,arg2) - return err -end - -function PetscDrawCreate(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Union{Ptr{PetscDraw},StridedArray{PetscDraw},Ptr{PetscDraw},Ref{PetscDraw}}) - err = ccall((:PetscDrawCreate,petscComplexDouble),PetscErrorCode,(comm_type,Cstring,Cstring,Cint,Cint,Cint,Cint,Ptr{PetscDraw}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function PetscDrawSetFromOptions(arg0::Type{Complex128},arg1::PetscDraw) - err = ccall((:PetscDrawSetFromOptions,petscComplexDouble),PetscErrorCode,(PetscDraw,),arg1) - return err -end - -function PetscDrawSetSave(arg0::Type{Complex128},arg1::PetscDraw,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::PetscBool) - err = ccall((:PetscDrawSetSave,petscComplexDouble),PetscErrorCode,(PetscDraw,Cstring,PetscBool),arg1,arg2,arg3) - return err -end - -function PetscDrawSetSaveFinalImage(arg0::Type{Complex128},arg1::PetscDraw,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscDrawSetSaveFinalImage,petscComplexDouble),PetscErrorCode,(PetscDraw,Cstring),arg1,arg2) - return err -end - -function PetscDrawView(arg1::PetscDraw,arg2::PetscViewer{Complex128}) - err = ccall((:PetscDrawView,petscComplexDouble),PetscErrorCode,(PetscDraw,PetscViewer{Complex128}),arg1,arg2) - return err -end - -function PetscDrawViewFromOptions(arg0::Type{Complex128},A::PetscDraw,obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscDrawViewFromOptions,petscComplexDouble),PetscErrorCode,(PetscDraw,PetscObject,Cstring),A,obj,name) - return err -end - -function PetscDrawOpenX(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Union{Ptr{PetscDraw},StridedArray{PetscDraw},Ptr{PetscDraw},Ref{PetscDraw}}) - err = ccall((:PetscDrawOpenX,petscComplexDouble),PetscErrorCode,(comm_type,Cstring,Cstring,Cint,Cint,Cint,Cint,Ptr{PetscDraw}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function PetscDrawOpenGLUT(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Union{Ptr{PetscDraw},StridedArray{PetscDraw},Ptr{PetscDraw},Ref{PetscDraw}}) - err = ccall((:PetscDrawOpenGLUT,petscComplexDouble),PetscErrorCode,(comm_type,Cstring,Cstring,Cint,Cint,Cint,Cint,Ptr{PetscDraw}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function PetscDrawOpenNull(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{PetscDraw},StridedArray{PetscDraw},Ptr{PetscDraw},Ref{PetscDraw}}) - err = ccall((:PetscDrawOpenNull,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{PetscDraw}),arg1,arg2) - return err -end - -function PetscDrawDestroy(arg0::Type{Complex128},arg1::Union{Ptr{PetscDraw},StridedArray{PetscDraw},Ptr{PetscDraw},Ref{PetscDraw}}) - err = ccall((:PetscDrawDestroy,petscComplexDouble),PetscErrorCode,(Ptr{PetscDraw},),arg1) - return err -end - -function PetscDrawIsNull(arg0::Type{Complex128},arg1::PetscDraw,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscDrawIsNull,petscComplexDouble),PetscErrorCode,(PetscDraw,Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscDrawGetPopup(arg0::Type{Complex128},arg1::PetscDraw,arg2::Union{Ptr{PetscDraw},StridedArray{PetscDraw},Ptr{PetscDraw},Ref{PetscDraw}}) - err = ccall((:PetscDrawGetPopup,petscComplexDouble),PetscErrorCode,(PetscDraw,Ptr{PetscDraw}),arg1,arg2) - return err -end - -function PetscDrawCheckResizedWindow(arg0::Type{Complex128},arg1::PetscDraw) - err = ccall((:PetscDrawCheckResizedWindow,petscComplexDouble),PetscErrorCode,(PetscDraw,),arg1) - return err -end - -function PetscDrawResizeWindow(arg0::Type{Complex128},arg1::PetscDraw,arg2::Integer,arg3::Integer) - err = ccall((:PetscDrawResizeWindow,petscComplexDouble),PetscErrorCode,(PetscDraw,Cint,Cint),arg1,arg2,arg3) - return err -end - -function PetscDrawScalePopup(arg0::Type{Complex128},arg1::PetscDraw,arg2::Float64,arg3::Float64) - err = ccall((:PetscDrawScalePopup,petscComplexDouble),PetscErrorCode,(PetscDraw,Float64,Float64),arg1,arg2,arg3) - return err -end - -function PetscDrawPixelToCoordinate(arg0::Type{Complex128},arg1::PetscDraw,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscDrawPixelToCoordinate,petscComplexDouble),PetscErrorCode,(PetscDraw,Int64,Int64,Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDrawCoordinateToPixel(arg0::Type{Complex128},arg1::PetscDraw,arg2::Float64,arg3::Float64,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscDrawCoordinateToPixel,petscComplexDouble),PetscErrorCode,(PetscDraw,Float64,Float64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDrawIndicatorFunction(arg0::Type{Complex128},arg1::PetscDraw,arg2::Float64,arg3::Float64,arg4::Float64,arg5::Float64,arg6::Integer,arg7::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg8::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscDrawIndicatorFunction,petscComplexDouble),PetscErrorCode,(PetscDraw,Float64,Float64,Float64,Float64,Cint,Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function PetscDrawLine(arg0::Type{Complex128},arg1::PetscDraw,arg2::Float64,arg3::Float64,arg4::Float64,arg5::Float64,arg6::Integer) - err = ccall((:PetscDrawLine,petscComplexDouble),PetscErrorCode,(PetscDraw,Float64,Float64,Float64,Float64,Cint),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscDrawArrow(arg0::Type{Complex128},arg1::PetscDraw,arg2::Float64,arg3::Float64,arg4::Float64,arg5::Float64,arg6::Integer) - err = ccall((:PetscDrawArrow,petscComplexDouble),PetscErrorCode,(PetscDraw,Float64,Float64,Float64,Float64,Cint),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscDrawLineSetWidth(arg0::Type{Complex128},arg1::PetscDraw,arg2::Float64) - err = ccall((:PetscDrawLineSetWidth,petscComplexDouble),PetscErrorCode,(PetscDraw,Float64),arg1,arg2) - return err -end - -function PetscDrawLineGetWidth(arg0::Type{Complex128},arg1::PetscDraw,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscDrawLineGetWidth,petscComplexDouble),PetscErrorCode,(PetscDraw,Ptr{Float64}),arg1,arg2) - return err -end - -function PetscDrawMarker(arg0::Type{Complex128},arg1::PetscDraw,arg2::Float64,arg3::Float64,arg4::Integer) - err = ccall((:PetscDrawMarker,petscComplexDouble),PetscErrorCode,(PetscDraw,Float64,Float64,Cint),arg1,arg2,arg3,arg4) - return err -end - -function PetscDrawSetMarkerType(arg0::Type{Complex128},arg1::PetscDraw,arg2::PetscDrawMarkerType) - err = ccall((:PetscDrawSetMarkerType,petscComplexDouble),PetscErrorCode,(PetscDraw,PetscDrawMarkerType),arg1,arg2) - return err -end - -function PetscDrawGetMarkerType(arg0::Type{Complex128},arg1::PetscDraw,arg2::Union{Ptr{PetscDrawMarkerType},StridedArray{PetscDrawMarkerType},Ptr{PetscDrawMarkerType},Ref{PetscDrawMarkerType}}) - err = ccall((:PetscDrawGetMarkerType,petscComplexDouble),PetscErrorCode,(PetscDraw,Ptr{PetscDrawMarkerType}),arg1,arg2) - return err -end - -function PetscDrawPoint(arg0::Type{Complex128},arg1::PetscDraw,arg2::Float64,arg3::Float64,arg4::Integer) - err = ccall((:PetscDrawPoint,petscComplexDouble),PetscErrorCode,(PetscDraw,Float64,Float64,Cint),arg1,arg2,arg3,arg4) - return err -end - -function PetscDrawPointPixel(arg0::Type{Complex128},arg1::PetscDraw,arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:PetscDrawPointPixel,petscComplexDouble),PetscErrorCode,(PetscDraw,Int64,Int64,Cint),arg1,arg2,arg3,arg4) - return err -end - -function PetscDrawPointSetSize(arg0::Type{Complex128},arg1::PetscDraw,arg2::Float64) - err = ccall((:PetscDrawPointSetSize,petscComplexDouble),PetscErrorCode,(PetscDraw,Float64),arg1,arg2) - return err -end - -function PetscDrawRectangle(arg0::Type{Complex128},arg1::PetscDraw,arg2::Float64,arg3::Float64,arg4::Float64,arg5::Float64,arg6::Integer,arg7::Integer,arg8::Integer,arg9::Integer) - err = ccall((:PetscDrawRectangle,petscComplexDouble),PetscErrorCode,(PetscDraw,Float64,Float64,Float64,Float64,Cint,Cint,Cint,Cint),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) - return err -end - -function PetscDrawTriangle(arg0::Type{Complex128},arg1::PetscDraw,arg2::Float64,arg3::Float64,arg4::Float64,arg5::Float64,arg6::Float64,arg7::Float64,arg8::Integer,arg9::Integer,arg10::Integer) - err = ccall((:PetscDrawTriangle,petscComplexDouble),PetscErrorCode,(PetscDraw,Float64,Float64,Float64,Float64,Float64,Float64,Cint,Cint,Cint),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -function PetscDrawEllipse(arg0::Type{Complex128},arg1::PetscDraw,arg2::Float64,arg3::Float64,arg4::Float64,arg5::Float64,arg6::Integer) - err = ccall((:PetscDrawEllipse,petscComplexDouble),PetscErrorCode,(PetscDraw,Float64,Float64,Float64,Float64,Cint),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscDrawTensorContourPatch(arg0::Type{Complex128},arg1::PetscDraw,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Float64,arg7::Float64,arg8::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscDrawTensorContourPatch,petscComplexDouble),PetscErrorCode,(PetscDraw,Cint,Cint,Ptr{Float64},Ptr{Float64},Float64,Float64,Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function PetscDrawTensorContour(arg0::Type{Complex128},arg1::PetscDraw,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscDrawTensorContour,petscComplexDouble),PetscErrorCode,(PetscDraw,Cint,Cint,Ptr{Float64},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscDrawString(arg0::Type{Complex128},arg1::PetscDraw,arg2::Float64,arg3::Float64,arg4::Integer,arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscDrawString,petscComplexDouble),PetscErrorCode,(PetscDraw,Float64,Float64,Cint,Cstring),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDrawStringCentered(arg0::Type{Complex128},arg1::PetscDraw,arg2::Float64,arg3::Float64,arg4::Integer,arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscDrawStringCentered,petscComplexDouble),PetscErrorCode,(PetscDraw,Float64,Float64,Cint,Cstring),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDrawStringBoxed(arg0::Type{Complex128},arg1::PetscDraw,arg2::Float64,arg3::Float64,arg4::Integer,arg5::Integer,arg6::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg7::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg8::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscDrawStringBoxed,petscComplexDouble),PetscErrorCode,(PetscDraw,Float64,Float64,Cint,Cint,Cstring,Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function PetscDrawStringBoxedSize(arg0::Type{Complex128},arg1::PetscDraw,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscDrawStringBoxedSize,petscComplexDouble),PetscErrorCode,(PetscDraw,Cstring,Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function PetscDrawStringVertical(arg0::Type{Complex128},arg1::PetscDraw,arg2::Float64,arg3::Float64,arg4::Integer,arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscDrawStringVertical,petscComplexDouble),PetscErrorCode,(PetscDraw,Float64,Float64,Cint,Cstring),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDrawStringSetSize(arg0::Type{Complex128},arg1::PetscDraw,arg2::Float64,arg3::Float64) - err = ccall((:PetscDrawStringSetSize,petscComplexDouble),PetscErrorCode,(PetscDraw,Float64,Float64),arg1,arg2,arg3) - return err -end - -function PetscDrawStringGetSize(arg0::Type{Complex128},arg1::PetscDraw,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscDrawStringGetSize,petscComplexDouble),PetscErrorCode,(PetscDraw,Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function PetscDrawSetViewPort(arg0::Type{Complex128},arg1::PetscDraw,arg2::Float64,arg3::Float64,arg4::Float64,arg5::Float64) - err = ccall((:PetscDrawSetViewPort,petscComplexDouble),PetscErrorCode,(PetscDraw,Float64,Float64,Float64,Float64),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDrawGetViewPort(arg0::Type{Complex128},arg1::PetscDraw,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscDrawGetViewPort,petscComplexDouble),PetscErrorCode,(PetscDraw,Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDrawSplitViewPort(arg0::Type{Complex128},arg1::PetscDraw) - err = ccall((:PetscDrawSplitViewPort,petscComplexDouble),PetscErrorCode,(PetscDraw,),arg1) - return err -end - -function PetscDrawSetCoordinates(arg0::Type{Complex128},arg1::PetscDraw,arg2::Float64,arg3::Float64,arg4::Float64,arg5::Float64) - err = ccall((:PetscDrawSetCoordinates,petscComplexDouble),PetscErrorCode,(PetscDraw,Float64,Float64,Float64,Float64),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDrawGetCoordinates(arg0::Type{Complex128},arg1::PetscDraw,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscDrawGetCoordinates,petscComplexDouble),PetscErrorCode,(PetscDraw,Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDrawSetTitle(arg0::Type{Complex128},arg1::PetscDraw,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscDrawSetTitle,petscComplexDouble),PetscErrorCode,(PetscDraw,Cstring),arg1,arg2) - return err -end - -function PetscDrawAppendTitle(arg0::Type{Complex128},arg1::PetscDraw,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscDrawAppendTitle,petscComplexDouble),PetscErrorCode,(PetscDraw,Cstring),arg1,arg2) - return err -end - -function PetscDrawGetTitle(arg0::Type{Complex128},arg1::PetscDraw,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscDrawGetTitle,petscComplexDouble),PetscErrorCode,(PetscDraw,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscDrawSetPause(arg0::Type{Complex128},arg1::PetscDraw,arg2::Float64) - err = ccall((:PetscDrawSetPause,petscComplexDouble),PetscErrorCode,(PetscDraw,Float64),arg1,arg2) - return err -end - -function PetscDrawGetPause(arg0::Type{Complex128},arg1::PetscDraw,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscDrawGetPause,petscComplexDouble),PetscErrorCode,(PetscDraw,Ptr{Float64}),arg1,arg2) - return err -end - -function PetscDrawPause(arg0::Type{Complex128},arg1::PetscDraw) - err = ccall((:PetscDrawPause,petscComplexDouble),PetscErrorCode,(PetscDraw,),arg1) - return err -end - -function PetscDrawSetDoubleBuffer(arg0::Type{Complex128},arg1::PetscDraw) - err = ccall((:PetscDrawSetDoubleBuffer,petscComplexDouble),PetscErrorCode,(PetscDraw,),arg1) - return err -end - -function PetscDrawFlush(arg0::Type{Complex128},arg1::PetscDraw) - err = ccall((:PetscDrawFlush,petscComplexDouble),PetscErrorCode,(PetscDraw,),arg1) - return err -end - -function PetscDrawSynchronizedFlush(arg0::Type{Complex128},arg1::PetscDraw) - err = ccall((:PetscDrawSynchronizedFlush,petscComplexDouble),PetscErrorCode,(PetscDraw,),arg1) - return err -end - -function PetscDrawClear(arg0::Type{Complex128},arg1::PetscDraw) - err = ccall((:PetscDrawClear,petscComplexDouble),PetscErrorCode,(PetscDraw,),arg1) - return err -end - -function PetscDrawSave(arg0::Type{Complex128},arg1::PetscDraw) - err = ccall((:PetscDrawSave,petscComplexDouble),PetscErrorCode,(PetscDraw,),arg1) - return err -end - -function PetscDrawSynchronizedClear(arg0::Type{Complex128},arg1::PetscDraw) - err = ccall((:PetscDrawSynchronizedClear,petscComplexDouble),PetscErrorCode,(PetscDraw,),arg1) - return err -end - -function PetscDrawBOP(arg0::Type{Complex128},arg1::PetscDraw) - err = ccall((:PetscDrawBOP,petscComplexDouble),PetscErrorCode,(PetscDraw,),arg1) - return err -end - -function PetscDrawEOP(arg0::Type{Complex128},arg1::PetscDraw) - err = ccall((:PetscDrawEOP,petscComplexDouble),PetscErrorCode,(PetscDraw,),arg1) - return err -end - -function PetscDrawSetDisplay(arg0::Type{Complex128},arg1::PetscDraw,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscDrawSetDisplay,petscComplexDouble),PetscErrorCode,(PetscDraw,Cstring),arg1,arg2) - return err -end - -function PetscDrawGetSingleton(arg0::Type{Complex128},arg1::PetscDraw,arg2::Union{Ptr{PetscDraw},StridedArray{PetscDraw},Ptr{PetscDraw},Ref{PetscDraw}}) - err = ccall((:PetscDrawGetSingleton,petscComplexDouble),PetscErrorCode,(PetscDraw,Ptr{PetscDraw}),arg1,arg2) - return err -end - -function PetscDrawRestoreSingleton(arg0::Type{Complex128},arg1::PetscDraw,arg2::Union{Ptr{PetscDraw},StridedArray{PetscDraw},Ptr{PetscDraw},Ref{PetscDraw}}) - err = ccall((:PetscDrawRestoreSingleton,petscComplexDouble),PetscErrorCode,(PetscDraw,Ptr{PetscDraw}),arg1,arg2) - return err -end - -function PetscDrawGetCurrentPoint(arg0::Type{Complex128},arg1::PetscDraw,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscDrawGetCurrentPoint,petscComplexDouble),PetscErrorCode,(PetscDraw,Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function PetscDrawSetCurrentPoint(arg0::Type{Complex128},arg1::PetscDraw,arg2::Float64,arg3::Float64) - err = ccall((:PetscDrawSetCurrentPoint,petscComplexDouble),PetscErrorCode,(PetscDraw,Float64,Float64),arg1,arg2,arg3) - return err -end - -function PetscDrawPushCurrentPoint(arg0::Type{Complex128},arg1::PetscDraw,arg2::Float64,arg3::Float64) - err = ccall((:PetscDrawPushCurrentPoint,petscComplexDouble),PetscErrorCode,(PetscDraw,Float64,Float64),arg1,arg2,arg3) - return err -end - -function PetscDrawPopCurrentPoint(arg0::Type{Complex128},arg1::PetscDraw) - err = ccall((:PetscDrawPopCurrentPoint,petscComplexDouble),PetscErrorCode,(PetscDraw,),arg1) - return err -end - -function PetscDrawGetBoundingBox(arg0::Type{Complex128},arg1::PetscDraw,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscDrawGetBoundingBox,petscComplexDouble),PetscErrorCode,(PetscDraw,Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDrawGetMouseButton(arg0::Type{Complex128},arg1::PetscDraw,arg2::Union{Ptr{PetscDrawButton},StridedArray{PetscDrawButton},Ptr{PetscDrawButton},Ref{PetscDrawButton}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscDrawGetMouseButton,petscComplexDouble),PetscErrorCode,(PetscDraw,Ptr{PetscDrawButton},Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscDrawSynchronizedGetMouseButton(arg0::Type{Complex128},arg1::PetscDraw,arg2::Union{Ptr{PetscDrawButton},StridedArray{PetscDrawButton},Ptr{PetscDrawButton},Ref{PetscDrawButton}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscDrawSynchronizedGetMouseButton,petscComplexDouble),PetscErrorCode,(PetscDraw,Ptr{PetscDrawButton},Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscDrawZoom(arg0::Type{Complex128},arg1::PetscDraw,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscDrawZoom,petscComplexDouble),PetscErrorCode,(PetscDraw,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -#= skipping function with undefined symbols: - function PetscDrawViewPortsCreate(arg0::Type{Complex128},arg1::PetscDraw,arg2::Integer,arg3::Union{Ptr{Ptr{PetscDrawViewPorts}},StridedArray{Ptr{PetscDrawViewPorts}},Ptr{Ptr{PetscDrawViewPorts}},Ref{Ptr{PetscDrawViewPorts}}}) - ccall((:PetscDrawViewPortsCreate,petscComplexDouble),PetscErrorCode,(PetscDraw,Int64,Ptr{Ptr{PetscDrawViewPorts}}),arg1,arg2,arg3) -end -=# -#= skipping function with undefined symbols: - function PetscDrawViewPortsCreateRect(arg0::Type{Complex128},arg1::PetscDraw,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Ptr{PetscDrawViewPorts}},StridedArray{Ptr{PetscDrawViewPorts}},Ptr{Ptr{PetscDrawViewPorts}},Ref{Ptr{PetscDrawViewPorts}}}) - ccall((:PetscDrawViewPortsCreateRect,petscComplexDouble),PetscErrorCode,(PetscDraw,Int64,Int64,Ptr{Ptr{PetscDrawViewPorts}}),arg1,arg2,arg3,arg4) -end -=# -#= skipping function with undefined symbols: - function PetscDrawViewPortsDestroy(arg0::Type{Complex128},arg1::Union{Ptr{PetscDrawViewPorts},StridedArray{PetscDrawViewPorts},Ptr{PetscDrawViewPorts},Ref{PetscDrawViewPorts}}) - ccall((:PetscDrawViewPortsDestroy,petscComplexDouble),PetscErrorCode,(Ptr{PetscDrawViewPorts},),arg1) -end -=# -#= skipping function with undefined symbols: - function PetscDrawViewPortsSet(arg0::Type{Complex128},arg1::Union{Ptr{PetscDrawViewPorts},StridedArray{PetscDrawViewPorts},Ptr{PetscDrawViewPorts},Ref{PetscDrawViewPorts}},arg2::Integer) - ccall((:PetscDrawViewPortsSet,petscComplexDouble),PetscErrorCode,(Ptr{PetscDrawViewPorts},Int64),arg1,arg2) -end -=# -function PetscDrawAxisCreate(arg0::Type{Complex128},arg1::PetscDraw,arg2::Union{Ptr{PetscDrawAxis},StridedArray{PetscDrawAxis},Ptr{PetscDrawAxis},Ref{PetscDrawAxis}}) - err = ccall((:PetscDrawAxisCreate,petscComplexDouble),PetscErrorCode,(PetscDraw,Ptr{PetscDrawAxis}),arg1,arg2) - return err -end - -function PetscDrawAxisDestroy(arg0::Type{Complex128},arg1::Union{Ptr{PetscDrawAxis},StridedArray{PetscDrawAxis},Ptr{PetscDrawAxis},Ref{PetscDrawAxis}}) - err = ccall((:PetscDrawAxisDestroy,petscComplexDouble),PetscErrorCode,(Ptr{PetscDrawAxis},),arg1) - return err -end - -function PetscDrawAxisDraw(arg0::Type{Complex128},arg1::PetscDrawAxis) - err = ccall((:PetscDrawAxisDraw,petscComplexDouble),PetscErrorCode,(PetscDrawAxis,),arg1) - return err -end - -function PetscDrawAxisSetLimits(arg0::Type{Complex128},arg1::PetscDrawAxis,arg2::Float64,arg3::Float64,arg4::Float64,arg5::Float64) - err = ccall((:PetscDrawAxisSetLimits,petscComplexDouble),PetscErrorCode,(PetscDrawAxis,Float64,Float64,Float64,Float64),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDrawAxisGetLimits(arg0::Type{Complex128},arg1::PetscDrawAxis,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscDrawAxisGetLimits,petscComplexDouble),PetscErrorCode,(PetscDrawAxis,Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDrawAxisSetHoldLimits(arg0::Type{Complex128},arg1::PetscDrawAxis,arg2::PetscBool) - err = ccall((:PetscDrawAxisSetHoldLimits,petscComplexDouble),PetscErrorCode,(PetscDrawAxis,PetscBool),arg1,arg2) - return err -end - -function PetscDrawAxisSetColors(arg0::Type{Complex128},arg1::PetscDrawAxis,arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:PetscDrawAxisSetColors,petscComplexDouble),PetscErrorCode,(PetscDrawAxis,Cint,Cint,Cint),arg1,arg2,arg3,arg4) - return err -end - -function PetscDrawAxisSetLabels(arg0::Type{Complex128},arg1::PetscDrawAxis,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscDrawAxisSetLabels,petscComplexDouble),PetscErrorCode,(PetscDrawAxis,Cstring,Cstring,Cstring),arg1,arg2,arg3,arg4) - return err -end - -function PetscDrawLGCreate(arg0::Type{Complex128},arg1::PetscDraw,arg2::Integer,arg3::Union{Ptr{PetscDrawLG},StridedArray{PetscDrawLG},Ptr{PetscDrawLG},Ref{PetscDrawLG}}) - err = ccall((:PetscDrawLGCreate,petscComplexDouble),PetscErrorCode,(PetscDraw,Int64,Ptr{PetscDrawLG}),arg1,arg2,arg3) - return err -end - -function PetscDrawLGDestroy(arg0::Type{Complex128},arg1::Union{Ptr{PetscDrawLG},StridedArray{PetscDrawLG},Ptr{PetscDrawLG},Ref{PetscDrawLG}}) - err = ccall((:PetscDrawLGDestroy,petscComplexDouble),PetscErrorCode,(Ptr{PetscDrawLG},),arg1) - return err -end - -function PetscDrawLGAddPoint(arg0::Type{Complex128},arg1::PetscDrawLG,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscDrawLGAddPoint,petscComplexDouble),PetscErrorCode,(PetscDrawLG,Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function PetscDrawLGAddCommonPoint(arg0::Type{Complex128},arg1::PetscDrawLG,arg2::Float64,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscDrawLGAddCommonPoint,petscComplexDouble),PetscErrorCode,(PetscDrawLG,Float64,Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function PetscDrawLGAddPoints(arg0::Type{Complex128},arg1::PetscDrawLG,arg2::Integer,arg3::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg4::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:PetscDrawLGAddPoints,petscComplexDouble),PetscErrorCode,(PetscDrawLG,Int64,Ptr{Ptr{Float64}},Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscDrawLGDraw(arg0::Type{Complex128},arg1::PetscDrawLG) - err = ccall((:PetscDrawLGDraw,petscComplexDouble),PetscErrorCode,(PetscDrawLG,),arg1) - return err -end - -function PetscDrawLGView(arg1::PetscDrawLG,arg2::PetscViewer{Complex128}) - err = ccall((:PetscDrawLGView,petscComplexDouble),PetscErrorCode,(PetscDrawLG,PetscViewer{Complex128}),arg1,arg2) - return err -end - -function PetscDrawLGReset(arg0::Type{Complex128},arg1::PetscDrawLG) - err = ccall((:PetscDrawLGReset,petscComplexDouble),PetscErrorCode,(PetscDrawLG,),arg1) - return err -end - -function PetscDrawLGSetDimension(arg0::Type{Complex128},arg1::PetscDrawLG,arg2::Integer) - err = ccall((:PetscDrawLGSetDimension,petscComplexDouble),PetscErrorCode,(PetscDrawLG,Int64),arg1,arg2) - return err -end - -function PetscDrawLGGetDimension(arg0::Type{Complex128},arg1::PetscDrawLG,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscDrawLGGetDimension,petscComplexDouble),PetscErrorCode,(PetscDrawLG,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscDrawLGSetLegend(arg0::Type{Complex128},arg1::PetscDrawLG,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscDrawLGSetLegend,petscComplexDouble),PetscErrorCode,(PetscDrawLG,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscDrawLGGetAxis(arg0::Type{Complex128},arg1::PetscDrawLG,arg2::Union{Ptr{PetscDrawAxis},StridedArray{PetscDrawAxis},Ptr{PetscDrawAxis},Ref{PetscDrawAxis}}) - err = ccall((:PetscDrawLGGetAxis,petscComplexDouble),PetscErrorCode,(PetscDrawLG,Ptr{PetscDrawAxis}),arg1,arg2) - return err -end - -function PetscDrawLGGetDraw(arg0::Type{Complex128},arg1::PetscDrawLG,arg2::Union{Ptr{PetscDraw},StridedArray{PetscDraw},Ptr{PetscDraw},Ref{PetscDraw}}) - err = ccall((:PetscDrawLGGetDraw,petscComplexDouble),PetscErrorCode,(PetscDrawLG,Ptr{PetscDraw}),arg1,arg2) - return err -end - -function PetscDrawLGSetUseMarkers(arg0::Type{Complex128},arg1::PetscDrawLG,arg2::PetscBool) - err = ccall((:PetscDrawLGSetUseMarkers,petscComplexDouble),PetscErrorCode,(PetscDrawLG,PetscBool),arg1,arg2) - return err -end - -function PetscDrawLGSetLimits(arg0::Type{Complex128},arg1::PetscDrawLG,arg2::Float64,arg3::Float64,arg4::Float64,arg5::Float64) - err = ccall((:PetscDrawLGSetLimits,petscComplexDouble),PetscErrorCode,(PetscDrawLG,Float64,Float64,Float64,Float64),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDrawLGSetColors(arg0::Type{Complex128},arg1::PetscDrawLG,arg2::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}}) - err = ccall((:PetscDrawLGSetColors,petscComplexDouble),PetscErrorCode,(PetscDrawLG,Ptr{Cint}),arg1,arg2) - return err -end - -function PetscDrawLGSetFromOptions(arg0::Type{Complex128},arg1::PetscDrawLG) - err = ccall((:PetscDrawLGSetFromOptions,petscComplexDouble),PetscErrorCode,(PetscDrawLG,),arg1) - return err -end - -function PetscDrawSPCreate(arg0::Type{Complex128},arg1::PetscDraw,arg2::Integer,arg3::Union{Ptr{PetscDrawSP},StridedArray{PetscDrawSP},Ptr{PetscDrawSP},Ref{PetscDrawSP}}) - err = ccall((:PetscDrawSPCreate,petscComplexDouble),PetscErrorCode,(PetscDraw,Cint,Ptr{PetscDrawSP}),arg1,arg2,arg3) - return err -end - -function PetscDrawSPDestroy(arg0::Type{Complex128},arg1::Union{Ptr{PetscDrawSP},StridedArray{PetscDrawSP},Ptr{PetscDrawSP},Ref{PetscDrawSP}}) - err = ccall((:PetscDrawSPDestroy,petscComplexDouble),PetscErrorCode,(Ptr{PetscDrawSP},),arg1) - return err -end - -function PetscDrawSPAddPoint(arg0::Type{Complex128},arg1::PetscDrawSP,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscDrawSPAddPoint,petscComplexDouble),PetscErrorCode,(PetscDrawSP,Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function PetscDrawSPAddPoints(arg0::Type{Complex128},arg1::PetscDrawSP,arg2::Integer,arg3::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg4::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:PetscDrawSPAddPoints,petscComplexDouble),PetscErrorCode,(PetscDrawSP,Cint,Ptr{Ptr{Float64}},Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscDrawSPDraw(arg0::Type{Complex128},arg1::PetscDrawSP,arg2::PetscBool) - err = ccall((:PetscDrawSPDraw,petscComplexDouble),PetscErrorCode,(PetscDrawSP,PetscBool),arg1,arg2) - return err -end - -function PetscDrawSPReset(arg0::Type{Complex128},arg1::PetscDrawSP) - err = ccall((:PetscDrawSPReset,petscComplexDouble),PetscErrorCode,(PetscDrawSP,),arg1) - return err -end - -function PetscDrawSPSetDimension(arg0::Type{Complex128},arg1::PetscDrawSP,arg2::Integer) - err = ccall((:PetscDrawSPSetDimension,petscComplexDouble),PetscErrorCode,(PetscDrawSP,Cint),arg1,arg2) - return err -end - -function PetscDrawSPGetAxis(arg0::Type{Complex128},arg1::PetscDrawSP,arg2::Union{Ptr{PetscDrawAxis},StridedArray{PetscDrawAxis},Ptr{PetscDrawAxis},Ref{PetscDrawAxis}}) - err = ccall((:PetscDrawSPGetAxis,petscComplexDouble),PetscErrorCode,(PetscDrawSP,Ptr{PetscDrawAxis}),arg1,arg2) - return err -end - -function PetscDrawSPGetDraw(arg0::Type{Complex128},arg1::PetscDrawSP,arg2::Union{Ptr{PetscDraw},StridedArray{PetscDraw},Ptr{PetscDraw},Ref{PetscDraw}}) - err = ccall((:PetscDrawSPGetDraw,petscComplexDouble),PetscErrorCode,(PetscDrawSP,Ptr{PetscDraw}),arg1,arg2) - return err -end - -function PetscDrawSPSetLimits(arg0::Type{Complex128},arg1::PetscDrawSP,arg2::Float64,arg3::Float64,arg4::Float64,arg5::Float64) - err = ccall((:PetscDrawSPSetLimits,petscComplexDouble),PetscErrorCode,(PetscDrawSP,Float64,Float64,Float64,Float64),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDrawLGSPDraw(arg0::Type{Complex128},arg1::PetscDrawLG,arg2::PetscDrawSP) - err = ccall((:PetscDrawLGSPDraw,petscComplexDouble),PetscErrorCode,(PetscDrawLG,PetscDrawSP),arg1,arg2) - return err -end - -function PetscDrawHGCreate(arg0::Type{Complex128},arg1::PetscDraw,arg2::Integer,arg3::Union{Ptr{PetscDrawHG},StridedArray{PetscDrawHG},Ptr{PetscDrawHG},Ref{PetscDrawHG}}) - err = ccall((:PetscDrawHGCreate,petscComplexDouble),PetscErrorCode,(PetscDraw,Cint,Ptr{PetscDrawHG}),arg1,arg2,arg3) - return err -end - -function PetscDrawHGDestroy(arg0::Type{Complex128},arg1::Union{Ptr{PetscDrawHG},StridedArray{PetscDrawHG},Ptr{PetscDrawHG},Ref{PetscDrawHG}}) - err = ccall((:PetscDrawHGDestroy,petscComplexDouble),PetscErrorCode,(Ptr{PetscDrawHG},),arg1) - return err -end - -function PetscDrawHGAddValue(arg0::Type{Complex128},arg1::PetscDrawHG,arg2::Float64) - err = ccall((:PetscDrawHGAddValue,petscComplexDouble),PetscErrorCode,(PetscDrawHG,Float64),arg1,arg2) - return err -end - -function PetscDrawHGDraw(arg0::Type{Complex128},arg1::PetscDrawHG) - err = ccall((:PetscDrawHGDraw,petscComplexDouble),PetscErrorCode,(PetscDrawHG,),arg1) - return err -end - -function PetscDrawHGView(arg1::PetscDrawHG,arg2::PetscViewer{Complex128}) - err = ccall((:PetscDrawHGView,petscComplexDouble),PetscErrorCode,(PetscDrawHG,PetscViewer{Complex128}),arg1,arg2) - return err -end - -function PetscDrawHGReset(arg0::Type{Complex128},arg1::PetscDrawHG) - err = ccall((:PetscDrawHGReset,petscComplexDouble),PetscErrorCode,(PetscDrawHG,),arg1) - return err -end - -function PetscDrawHGGetAxis(arg0::Type{Complex128},arg1::PetscDrawHG,arg2::Union{Ptr{PetscDrawAxis},StridedArray{PetscDrawAxis},Ptr{PetscDrawAxis},Ref{PetscDrawAxis}}) - err = ccall((:PetscDrawHGGetAxis,petscComplexDouble),PetscErrorCode,(PetscDrawHG,Ptr{PetscDrawAxis}),arg1,arg2) - return err -end - -function PetscDrawHGGetDraw(arg0::Type{Complex128},arg1::PetscDrawHG,arg2::Union{Ptr{PetscDraw},StridedArray{PetscDraw},Ptr{PetscDraw},Ref{PetscDraw}}) - err = ccall((:PetscDrawHGGetDraw,petscComplexDouble),PetscErrorCode,(PetscDrawHG,Ptr{PetscDraw}),arg1,arg2) - return err -end - -function PetscDrawHGSetLimits(arg0::Type{Complex128},arg1::PetscDrawHG,arg2::Float64,arg3::Float64,arg4::Integer,arg5::Integer) - err = ccall((:PetscDrawHGSetLimits,petscComplexDouble),PetscErrorCode,(PetscDrawHG,Float64,Float64,Cint,Cint),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDrawHGSetNumberBins(arg0::Type{Complex128},arg1::PetscDrawHG,arg2::Integer) - err = ccall((:PetscDrawHGSetNumberBins,petscComplexDouble),PetscErrorCode,(PetscDrawHG,Cint),arg1,arg2) - return err -end - -function PetscDrawHGSetColor(arg0::Type{Complex128},arg1::PetscDrawHG,arg2::Integer) - err = ccall((:PetscDrawHGSetColor,petscComplexDouble),PetscErrorCode,(PetscDrawHG,Cint),arg1,arg2) - return err -end - -function PetscDrawHGCalcStats(arg0::Type{Complex128},arg1::PetscDrawHG,arg2::PetscBool) - err = ccall((:PetscDrawHGCalcStats,petscComplexDouble),PetscErrorCode,(PetscDrawHG,PetscBool),arg1,arg2) - return err -end - -function PetscDrawHGIntegerBins(arg0::Type{Complex128},arg1::PetscDrawHG,arg2::PetscBool) - err = ccall((:PetscDrawHGIntegerBins,petscComplexDouble),PetscErrorCode,(PetscDrawHG,PetscBool),arg1,arg2) - return err -end - -function PetscDrawBarCreate(arg0::Type{Complex128},arg1::PetscDraw,arg2::Union{Ptr{PetscDrawBar},StridedArray{PetscDrawBar},Ptr{PetscDrawBar},Ref{PetscDrawBar}}) - err = ccall((:PetscDrawBarCreate,petscComplexDouble),PetscErrorCode,(PetscDraw,Ptr{PetscDrawBar}),arg1,arg2) - return err -end - -function PetscDrawBarSetData(arg0::Type{Complex128},arg1::PetscDrawBar,arg2::Integer,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscDrawBarSetData,petscComplexDouble),PetscErrorCode,(PetscDrawBar,Int64,Ptr{Float64},Ptr{Ptr{UInt8}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscDrawBarDestroy(arg0::Type{Complex128},arg1::Union{Ptr{PetscDrawBar},StridedArray{PetscDrawBar},Ptr{PetscDrawBar},Ref{PetscDrawBar}}) - err = ccall((:PetscDrawBarDestroy,petscComplexDouble),PetscErrorCode,(Ptr{PetscDrawBar},),arg1) - return err -end - -function PetscDrawBarDraw(arg0::Type{Complex128},arg1::PetscDrawBar) - err = ccall((:PetscDrawBarDraw,petscComplexDouble),PetscErrorCode,(PetscDrawBar,),arg1) - return err -end - -function PetscDrawBarSetColor(arg0::Type{Complex128},arg1::PetscDrawBar,arg2::Integer) - err = ccall((:PetscDrawBarSetColor,petscComplexDouble),PetscErrorCode,(PetscDrawBar,Cint),arg1,arg2) - return err -end - -function PetscDrawBarSetLimits(arg0::Type{Complex128},arg1::PetscDrawBar,arg2::Float64,arg3::Float64) - err = ccall((:PetscDrawBarSetLimits,petscComplexDouble),PetscErrorCode,(PetscDrawBar,Float64,Float64),arg1,arg2,arg3) - return err -end - -function PetscDrawBarSort(arg0::Type{Complex128},arg1::PetscDrawBar,arg2::PetscBool,arg3::Float64) - err = ccall((:PetscDrawBarSort,petscComplexDouble),PetscErrorCode,(PetscDrawBar,PetscBool,Float64),arg1,arg2,arg3) - return err -end - -function PetscDrawBarSetFromOptions(arg0::Type{Complex128},arg1::PetscDrawBar) - err = ccall((:PetscDrawBarSetFromOptions,petscComplexDouble),PetscErrorCode,(PetscDrawBar,),arg1) - return err -end - -function PetscDrawBarGetAxis(arg0::Type{Complex128},arg1::PetscDrawBar,arg2::Union{Ptr{PetscDrawAxis},StridedArray{PetscDrawAxis},Ptr{PetscDrawAxis},Ref{PetscDrawAxis}}) - err = ccall((:PetscDrawBarGetAxis,petscComplexDouble),PetscErrorCode,(PetscDrawBar,Ptr{PetscDrawAxis}),arg1,arg2) - return err -end - -function PetscDrawBarGetDraw(arg0::Type{Complex128},arg1::PetscDrawBar,arg2::Union{Ptr{PetscDraw},StridedArray{PetscDraw},Ptr{PetscDraw},Ref{PetscDraw}}) - err = ccall((:PetscDrawBarGetDraw,petscComplexDouble),PetscErrorCode,(PetscDrawBar,Ptr{PetscDraw}),arg1,arg2) - return err -end - -function PetscViewerDrawGetDraw(arg1::PetscViewer{Complex128},arg2::Integer,arg3::Union{Ptr{PetscDraw},StridedArray{PetscDraw},Ptr{PetscDraw},Ref{PetscDraw}}) - err = ccall((:PetscViewerDrawGetDraw,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Int64,Ptr{PetscDraw}),arg1,arg2,arg3) - return err -end - -function PetscViewerDrawBaseAdd(arg1::PetscViewer{Complex128},arg2::Integer) - err = ccall((:PetscViewerDrawBaseAdd,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Int64),arg1,arg2) - return err -end - -function PetscViewerDrawBaseSet(arg1::PetscViewer{Complex128},arg2::Integer) - err = ccall((:PetscViewerDrawBaseSet,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Int64),arg1,arg2) - return err -end - -function PetscViewerDrawGetDrawLG(arg1::PetscViewer{Complex128},arg2::Integer,arg3::Union{Ptr{PetscDrawLG},StridedArray{PetscDrawLG},Ptr{PetscDrawLG},Ref{PetscDrawLG}}) - err = ccall((:PetscViewerDrawGetDrawLG,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Int64,Ptr{PetscDrawLG}),arg1,arg2,arg3) - return err -end - -function PetscViewerDrawGetDrawAxis(arg1::PetscViewer{Complex128},arg2::Integer,arg3::Union{Ptr{PetscDrawAxis},StridedArray{PetscDrawAxis},Ptr{PetscDrawAxis},Ref{PetscDrawAxis}}) - err = ccall((:PetscViewerDrawGetDrawAxis,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Int64,Ptr{PetscDrawAxis}),arg1,arg2,arg3) - return err -end - -function PetscDrawUtilitySetCmapHue(arg0::Type{Complex128},arg1::Union{Ptr{Cuchar},StridedArray{Cuchar},Ptr{Cuchar},Ref{Cuchar}},arg2::Union{Ptr{Cuchar},StridedArray{Cuchar},Ptr{Cuchar},Ref{Cuchar}},arg3::Union{Ptr{Cuchar},StridedArray{Cuchar},Ptr{Cuchar},Ref{Cuchar}},arg4::Integer) - err = ccall((:PetscDrawUtilitySetCmapHue,petscComplexDouble),PetscErrorCode,(Ptr{Cuchar},Ptr{Cuchar},Ptr{Cuchar},Cint),arg1,arg2,arg3,arg4) - return err -end - -function PetscDrawUtilitySetGamma(arg0::Type{Complex128},arg1::Float64) - err = ccall((:PetscDrawUtilitySetGamma,petscComplexDouble),PetscErrorCode,(Float64,),arg1) - return err -end - -function ISInitializePackage(arg0::Type{Complex128}) - err = ccall((:ISInitializePackage,petscComplexDouble),PetscErrorCode,()) - return err -end - -function ISSetType(arg1::IS{Complex128},arg2::ISType) - err = ccall((:ISSetType,petscComplexDouble),PetscErrorCode,(IS{Complex128},Cstring),arg1,arg2) - return err -end - -function ISGetType(arg1::IS{Complex128},arg2::Union{Ptr{ISType},StridedArray{ISType},Ptr{ISType},Ref{ISType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:ISGetType,petscComplexDouble),PetscErrorCode,(IS{Complex128},Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function ISRegister(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:ISRegister,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function ISCreate(arg1::MPI_Comm,arg2::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:ISCreate,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{IS{Complex128}}),arg1,arg2) - return err -end - -function ISCreateGeneral(arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::PetscCopyMode,arg5::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:ISCreateGeneral,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Ptr{Int64},PetscCopyMode,Ptr{IS{Complex128}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function ISGeneralSetIndices(arg1::IS{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::PetscCopyMode) - err = ccall((:ISGeneralSetIndices,petscComplexDouble),PetscErrorCode,(IS{Complex128},Int64,Ptr{Int64},PetscCopyMode),arg1,arg2,arg3,arg4) - return err -end - -function ISCreateBlock(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::PetscCopyMode,arg6::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:ISCreateBlock,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Int64,Ptr{Int64},PetscCopyMode,Ptr{IS{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function ISBlockSetIndices(arg1::IS{Complex128},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::PetscCopyMode) - err = ccall((:ISBlockSetIndices,petscComplexDouble),PetscErrorCode,(IS{Complex128},Int64,Int64,Ptr{Int64},PetscCopyMode),arg1,arg2,arg3,arg4,arg5) - return err -end - -function ISCreateStride(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:ISCreateStride,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Ptr{IS{Complex128}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function ISStrideSetStride(arg1::IS{Complex128},arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:ISStrideSetStride,petscComplexDouble),PetscErrorCode,(IS{Complex128},Int64,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function ISDestroy(arg1::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:ISDestroy,petscComplexDouble),PetscErrorCode,(Ptr{IS{Complex128}},),arg1) - return err -end - -function ISSetPermutation(arg1::IS{Complex128}) - err = ccall((:ISSetPermutation,petscComplexDouble),PetscErrorCode,(IS{Complex128},),arg1) - return err -end - -function ISPermutation(arg1::IS{Complex128},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:ISPermutation,petscComplexDouble),PetscErrorCode,(IS{Complex128},Ptr{PetscBool}),arg1,arg2) - return err -end - -function ISSetIdentity(arg1::IS{Complex128}) - err = ccall((:ISSetIdentity,petscComplexDouble),PetscErrorCode,(IS{Complex128},),arg1) - return err -end - -function ISIdentity(arg1::IS{Complex128},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:ISIdentity,petscComplexDouble),PetscErrorCode,(IS{Complex128},Ptr{PetscBool}),arg1,arg2) - return err -end - -function ISContiguousLocal(arg1::IS{Complex128},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:ISContiguousLocal,petscComplexDouble),PetscErrorCode,(IS{Complex128},Int64,Int64,Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function ISGetIndices(arg1::IS{Complex128},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:ISGetIndices,petscComplexDouble),PetscErrorCode,(IS{Complex128},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function ISRestoreIndices(arg1::IS{Complex128},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:ISRestoreIndices,petscComplexDouble),PetscErrorCode,(IS{Complex128},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function ISGetTotalIndices(arg1::IS{Complex128},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:ISGetTotalIndices,petscComplexDouble),PetscErrorCode,(IS{Complex128},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function ISRestoreTotalIndices(arg1::IS{Complex128},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:ISRestoreTotalIndices,petscComplexDouble),PetscErrorCode,(IS{Complex128},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function ISGetNonlocalIndices(arg1::IS{Complex128},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:ISGetNonlocalIndices,petscComplexDouble),PetscErrorCode,(IS{Complex128},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function ISRestoreNonlocalIndices(arg1::IS{Complex128},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:ISRestoreNonlocalIndices,petscComplexDouble),PetscErrorCode,(IS{Complex128},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function ISGetNonlocalIS(arg1::IS{Complex128},is::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:ISGetNonlocalIS,petscComplexDouble),PetscErrorCode,(IS{Complex128},Ptr{IS{Complex128}}),arg1,is) - return err -end - -function ISRestoreNonlocalIS(arg1::IS{Complex128},is::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:ISRestoreNonlocalIS,petscComplexDouble),PetscErrorCode,(IS{Complex128},Ptr{IS{Complex128}}),arg1,is) - return err -end - -function ISGetSize(arg1::IS{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:ISGetSize,petscComplexDouble),PetscErrorCode,(IS{Complex128},Ptr{Int64}),arg1,arg2) - return err -end - -function ISGetLocalSize(arg1::IS{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:ISGetLocalSize,petscComplexDouble),PetscErrorCode,(IS{Complex128},Ptr{Int64}),arg1,arg2) - return err -end - -function ISInvertPermutation(arg1::IS{Complex128},arg2::Integer,arg3::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:ISInvertPermutation,petscComplexDouble),PetscErrorCode,(IS{Complex128},Int64,Ptr{IS{Complex128}}),arg1,arg2,arg3) - return err -end - -function ISView(arg1::IS{Complex128},arg2::PetscViewer{Complex128}) - err = ccall((:ISView,petscComplexDouble),PetscErrorCode,(IS{Complex128},PetscViewer{Complex128}),arg1,arg2) - return err -end - -function ISViewFromOptions(A::IS{Complex128},obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:ISViewFromOptions,petscComplexDouble),PetscErrorCode,(IS{Complex128},PetscObject,Cstring),A,obj,name) - return err -end - -function ISLoad(arg1::IS{Complex128},arg2::PetscViewer{Complex128}) - err = ccall((:ISLoad,petscComplexDouble),PetscErrorCode,(IS{Complex128},PetscViewer{Complex128}),arg1,arg2) - return err -end - -function ISEqual(arg1::IS{Complex128},arg2::IS{Complex128},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:ISEqual,petscComplexDouble),PetscErrorCode,(IS{Complex128},IS{Complex128},Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function ISSort(arg1::IS{Complex128}) - err = ccall((:ISSort,petscComplexDouble),PetscErrorCode,(IS{Complex128},),arg1) - return err -end - -function ISSortRemoveDups(arg1::IS{Complex128}) - err = ccall((:ISSortRemoveDups,petscComplexDouble),PetscErrorCode,(IS{Complex128},),arg1) - return err -end - -function ISSorted(arg1::IS{Complex128},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:ISSorted,petscComplexDouble),PetscErrorCode,(IS{Complex128},Ptr{PetscBool}),arg1,arg2) - return err -end - -function ISDifference(arg1::IS{Complex128},arg2::IS{Complex128},arg3::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:ISDifference,petscComplexDouble),PetscErrorCode,(IS{Complex128},IS{Complex128},Ptr{IS{Complex128}}),arg1,arg2,arg3) - return err -end - -function ISSum(arg1::IS{Complex128},arg2::IS{Complex128},arg3::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:ISSum,petscComplexDouble),PetscErrorCode,(IS{Complex128},IS{Complex128},Ptr{IS{Complex128}}),arg1,arg2,arg3) - return err -end - -function ISExpand(arg1::IS{Complex128},arg2::IS{Complex128},arg3::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:ISExpand,petscComplexDouble),PetscErrorCode,(IS{Complex128},IS{Complex128},Ptr{IS{Complex128}}),arg1,arg2,arg3) - return err -end - -function ISGetMinMax(arg1::IS{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:ISGetMinMax,petscComplexDouble),PetscErrorCode,(IS{Complex128},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function ISBlockGetIndices(arg1::IS{Complex128},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:ISBlockGetIndices,petscComplexDouble),PetscErrorCode,(IS{Complex128},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function ISBlockRestoreIndices(arg1::IS{Complex128},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:ISBlockRestoreIndices,petscComplexDouble),PetscErrorCode,(IS{Complex128},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function ISBlockGetLocalSize(arg1::IS{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:ISBlockGetLocalSize,petscComplexDouble),PetscErrorCode,(IS{Complex128},Ptr{Int64}),arg1,arg2) - return err -end - -function ISBlockGetSize(arg1::IS{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:ISBlockGetSize,petscComplexDouble),PetscErrorCode,(IS{Complex128},Ptr{Int64}),arg1,arg2) - return err -end - -function ISGetBlockSize(arg1::IS{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:ISGetBlockSize,petscComplexDouble),PetscErrorCode,(IS{Complex128},Ptr{Int64}),arg1,arg2) - return err -end - -function ISSetBlockSize(arg1::IS{Complex128},arg2::Integer) - err = ccall((:ISSetBlockSize,petscComplexDouble),PetscErrorCode,(IS{Complex128},Int64),arg1,arg2) - return err -end - -function ISStrideGetInfo(arg1::IS{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:ISStrideGetInfo,petscComplexDouble),PetscErrorCode,(IS{Complex128},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function ISToGeneral(arg1::IS{Complex128}) - err = ccall((:ISToGeneral,petscComplexDouble),PetscErrorCode,(IS{Complex128},),arg1) - return err -end - -function ISDuplicate(arg1::IS{Complex128},arg2::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:ISDuplicate,petscComplexDouble),PetscErrorCode,(IS{Complex128},Ptr{IS{Complex128}}),arg1,arg2) - return err -end - -function ISCopy(arg1::IS{Complex128},arg2::IS{Complex128}) - err = ccall((:ISCopy,petscComplexDouble),PetscErrorCode,(IS{Complex128},IS{Complex128}),arg1,arg2) - return err -end - -function ISAllGather(arg1::IS{Complex128},arg2::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:ISAllGather,petscComplexDouble),PetscErrorCode,(IS{Complex128},Ptr{IS{Complex128}}),arg1,arg2) - return err -end - -function ISComplement(arg1::IS{Complex128},arg2::Integer,arg3::Integer,arg4::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:ISComplement,petscComplexDouble),PetscErrorCode,(IS{Complex128},Int64,Int64,Ptr{IS{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function ISConcatenate(arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}},arg4::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:ISConcatenate,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Ptr{IS{Complex128}},Ptr{IS{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function ISListToPair(arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}},arg4::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}},arg5::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:ISListToPair,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Ptr{IS{Complex128}},Ptr{IS{Complex128}},Ptr{IS{Complex128}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function ISPairToList(arg1::IS{Complex128},arg2::IS{Complex128},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{IS{Complex128}}},StridedArray{Ptr{IS{Complex128}}},Ptr{Ptr{IS{Complex128}}},Ref{Ptr{IS{Complex128}}}}) - err = ccall((:ISPairToList,petscComplexDouble),PetscErrorCode,(IS{Complex128},IS{Complex128},Ptr{Int64},Ptr{Ptr{IS{Complex128}}}),arg1,arg2,arg3,arg4) - return err -end - -function ISEmbed(arg1::IS{Complex128},arg2::IS{Complex128},arg3::PetscBool,arg4::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:ISEmbed,petscComplexDouble),PetscErrorCode,(IS{Complex128},IS{Complex128},PetscBool,Ptr{IS{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function ISSortPermutation(arg1::IS{Complex128},arg2::PetscBool,arg3::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:ISSortPermutation,petscComplexDouble),PetscErrorCode,(IS{Complex128},PetscBool,Ptr{IS{Complex128}}),arg1,arg2,arg3) - return err -end - -function ISOnComm(arg1::IS{Complex128},arg2::MPI_Comm,arg3::PetscCopyMode,arg4::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:ISOnComm,petscComplexDouble),PetscErrorCode,(IS{Complex128},comm_type,PetscCopyMode,Ptr{IS{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function ISLocalToGlobalMappingCreate(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::PetscCopyMode,arg6::Union{Ptr{ISLocalToGlobalMapping{Complex128}},StridedArray{ISLocalToGlobalMapping{Complex128}},Ptr{ISLocalToGlobalMapping{Complex128}},Ref{ISLocalToGlobalMapping{Complex128}}}) - err = ccall((:ISLocalToGlobalMappingCreate,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Int64,Ptr{Int64},PetscCopyMode,Ptr{ISLocalToGlobalMapping{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function ISLocalToGlobalMappingCreateIS(arg1::IS{Complex128},arg2::Union{Ptr{ISLocalToGlobalMapping{Complex128}},StridedArray{ISLocalToGlobalMapping{Complex128}},Ptr{ISLocalToGlobalMapping{Complex128}},Ref{ISLocalToGlobalMapping{Complex128}}}) - err = ccall((:ISLocalToGlobalMappingCreateIS,petscComplexDouble),PetscErrorCode,(IS{Complex128},Ptr{ISLocalToGlobalMapping{Complex128}}),arg1,arg2) - return err -end - -function ISLocalToGlobalMappingCreateSF(arg1::PetscSF,arg2::Integer,arg3::Union{Ptr{ISLocalToGlobalMapping{Complex128}},StridedArray{ISLocalToGlobalMapping{Complex128}},Ptr{ISLocalToGlobalMapping{Complex128}},Ref{ISLocalToGlobalMapping{Complex128}}}) - err = ccall((:ISLocalToGlobalMappingCreateSF,petscComplexDouble),PetscErrorCode,(PetscSF,Int64,Ptr{ISLocalToGlobalMapping{Complex128}}),arg1,arg2,arg3) - return err -end - -function ISLocalToGlobalMappingView(arg1::ISLocalToGlobalMapping{Complex128},arg2::PetscViewer{Complex128}) - err = ccall((:ISLocalToGlobalMappingView,petscComplexDouble),PetscErrorCode,(ISLocalToGlobalMapping{Complex128},PetscViewer{Complex128}),arg1,arg2) - return err -end - -function ISLocalToGlobalMappingDestroy(arg1::Union{Ptr{ISLocalToGlobalMapping{Complex128}},StridedArray{ISLocalToGlobalMapping{Complex128}},Ptr{ISLocalToGlobalMapping{Complex128}},Ref{ISLocalToGlobalMapping{Complex128}}}) - err = ccall((:ISLocalToGlobalMappingDestroy,petscComplexDouble),PetscErrorCode,(Ptr{ISLocalToGlobalMapping{Complex128}},),arg1) - return err -end - -function ISLocalToGlobalMappingApply(arg1::ISLocalToGlobalMapping{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:ISLocalToGlobalMappingApply,petscComplexDouble),PetscErrorCode,(ISLocalToGlobalMapping{Complex128},Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function ISLocalToGlobalMappingApplyBlock(arg1::ISLocalToGlobalMapping{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:ISLocalToGlobalMappingApplyBlock,petscComplexDouble),PetscErrorCode,(ISLocalToGlobalMapping{Complex128},Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function ISLocalToGlobalMappingApplyIS(arg1::ISLocalToGlobalMapping{Complex128},arg2::IS{Complex128},arg3::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:ISLocalToGlobalMappingApplyIS,petscComplexDouble),PetscErrorCode,(ISLocalToGlobalMapping{Complex128},IS{Complex128},Ptr{IS{Complex128}}),arg1,arg2,arg3) - return err -end - -function ISGlobalToLocalMappingApply(arg1::ISLocalToGlobalMapping{Complex128},arg2::ISGlobalToLocalMappingType,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:ISGlobalToLocalMappingApply,petscComplexDouble),PetscErrorCode,(ISLocalToGlobalMapping{Complex128},ISGlobalToLocalMappingType,Int64,Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function ISGlobalToLocalMappingApplyBlock(arg1::ISLocalToGlobalMapping{Complex128},arg2::ISGlobalToLocalMappingType,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:ISGlobalToLocalMappingApplyBlock,petscComplexDouble),PetscErrorCode,(ISLocalToGlobalMapping{Complex128},ISGlobalToLocalMappingType,Int64,Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function ISGlobalToLocalMappingApplyIS(arg1::ISLocalToGlobalMapping{Complex128},arg2::ISGlobalToLocalMappingType,arg3::IS{Complex128},arg4::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:ISGlobalToLocalMappingApplyIS,petscComplexDouble),PetscErrorCode,(ISLocalToGlobalMapping{Complex128},ISGlobalToLocalMappingType,IS{Complex128},Ptr{IS{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function ISLocalToGlobalMappingGetSize(arg1::ISLocalToGlobalMapping{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:ISLocalToGlobalMappingGetSize,petscComplexDouble),PetscErrorCode,(ISLocalToGlobalMapping{Complex128},Ptr{Int64}),arg1,arg2) - return err -end - -function ISLocalToGlobalMappingGetInfo(arg1::ISLocalToGlobalMapping{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg5::Union{Ptr{Ptr{Ptr{Int64}}},StridedArray{Ptr{Ptr{Int64}}},Ptr{Ptr{Ptr{Int64}}},Ref{Ptr{Ptr{Int64}}}}) - err = ccall((:ISLocalToGlobalMappingGetInfo,petscComplexDouble),PetscErrorCode,(ISLocalToGlobalMapping{Complex128},Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}},Ptr{Ptr{Ptr{Int64}}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function ISLocalToGlobalMappingRestoreInfo(arg1::ISLocalToGlobalMapping{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg5::Union{Ptr{Ptr{Ptr{Int64}}},StridedArray{Ptr{Ptr{Int64}}},Ptr{Ptr{Ptr{Int64}}},Ref{Ptr{Ptr{Int64}}}}) - err = ccall((:ISLocalToGlobalMappingRestoreInfo,petscComplexDouble),PetscErrorCode,(ISLocalToGlobalMapping{Complex128},Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}},Ptr{Ptr{Ptr{Int64}}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function ISLocalToGlobalMappingGetBlockInfo(arg1::ISLocalToGlobalMapping{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg5::Union{Ptr{Ptr{Ptr{Int64}}},StridedArray{Ptr{Ptr{Int64}}},Ptr{Ptr{Ptr{Int64}}},Ref{Ptr{Ptr{Int64}}}}) - err = ccall((:ISLocalToGlobalMappingGetBlockInfo,petscComplexDouble),PetscErrorCode,(ISLocalToGlobalMapping{Complex128},Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}},Ptr{Ptr{Ptr{Int64}}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function ISLocalToGlobalMappingRestoreBlockInfo(arg1::ISLocalToGlobalMapping{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg5::Union{Ptr{Ptr{Ptr{Int64}}},StridedArray{Ptr{Ptr{Int64}}},Ptr{Ptr{Ptr{Int64}}},Ref{Ptr{Ptr{Int64}}}}) - err = ccall((:ISLocalToGlobalMappingRestoreBlockInfo,petscComplexDouble),PetscErrorCode,(ISLocalToGlobalMapping{Complex128},Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}},Ptr{Ptr{Ptr{Int64}}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function ISLocalToGlobalMappingGetIndices(arg1::ISLocalToGlobalMapping{Complex128},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:ISLocalToGlobalMappingGetIndices,petscComplexDouble),PetscErrorCode,(ISLocalToGlobalMapping{Complex128},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function ISLocalToGlobalMappingRestoreIndices(arg1::ISLocalToGlobalMapping{Complex128},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:ISLocalToGlobalMappingRestoreIndices,petscComplexDouble),PetscErrorCode,(ISLocalToGlobalMapping{Complex128},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function ISLocalToGlobalMappingGetBlockIndices(arg1::ISLocalToGlobalMapping{Complex128},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:ISLocalToGlobalMappingGetBlockIndices,petscComplexDouble),PetscErrorCode,(ISLocalToGlobalMapping{Complex128},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function ISLocalToGlobalMappingRestoreBlockIndices(arg1::ISLocalToGlobalMapping{Complex128},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:ISLocalToGlobalMappingRestoreBlockIndices,petscComplexDouble),PetscErrorCode,(ISLocalToGlobalMapping{Complex128},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function ISLocalToGlobalMappingConcatenate(arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{ISLocalToGlobalMapping{Complex128}},StridedArray{ISLocalToGlobalMapping{Complex128}},Ptr{ISLocalToGlobalMapping{Complex128}},Ref{ISLocalToGlobalMapping{Complex128}}},arg4::Union{Ptr{ISLocalToGlobalMapping{Complex128}},StridedArray{ISLocalToGlobalMapping{Complex128}},Ptr{ISLocalToGlobalMapping{Complex128}},Ref{ISLocalToGlobalMapping{Complex128}}}) - err = ccall((:ISLocalToGlobalMappingConcatenate,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Ptr{ISLocalToGlobalMapping{Complex128}},Ptr{ISLocalToGlobalMapping{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function ISG2LMapApply(arg1::ISLocalToGlobalMapping{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:ISG2LMapApply,petscComplexDouble),PetscErrorCode,(ISLocalToGlobalMapping{Complex128},Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function ISLocalToGlobalMappingGetBlockSize(arg1::ISLocalToGlobalMapping{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:ISLocalToGlobalMappingGetBlockSize,petscComplexDouble),PetscErrorCode,(ISLocalToGlobalMapping{Complex128},Ptr{Int64}),arg1,arg2) - return err -end - -function ISAllGatherColors(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{ISColoringValue},StridedArray{ISColoringValue},Ptr{ISColoringValue},Ref{ISColoringValue}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Ptr{ISColoringValue}},StridedArray{Ptr{ISColoringValue}},Ptr{Ptr{ISColoringValue}},Ref{Ptr{ISColoringValue}}}) - err = ccall((:ISAllGatherColors,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Ptr{ISColoringValue},Ptr{Int64},Ptr{Ptr{ISColoringValue}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function ISColoringCreate(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Union{Ptr{ISColoringValue},StridedArray{ISColoringValue},Ptr{ISColoringValue},Ref{ISColoringValue}},arg5::PetscCopyMode,arg6::Union{Ptr{ISColoring{Complex128}},StridedArray{ISColoring{Complex128}},Ptr{ISColoring{Complex128}},Ref{ISColoring{Complex128}}}) - err = ccall((:ISColoringCreate,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Int64,Ptr{ISColoringValue},PetscCopyMode,Ptr{ISColoring{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function ISColoringDestroy(arg1::Union{Ptr{ISColoring{Complex128}},StridedArray{ISColoring{Complex128}},Ptr{ISColoring{Complex128}},Ref{ISColoring{Complex128}}}) - err = ccall((:ISColoringDestroy,petscComplexDouble),PetscErrorCode,(Ptr{ISColoring{Complex128}},),arg1) - return err -end - -function ISColoringView(arg1::ISColoring{Complex128},arg2::PetscViewer{Complex128}) - err = ccall((:ISColoringView,petscComplexDouble),PetscErrorCode,(ISColoring{Complex128},PetscViewer{Complex128}),arg1,arg2) - return err -end - -function ISColoringViewFromOptions(arg1::ISColoring{Complex128},arg2::PetscObject,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:ISColoringViewFromOptions,petscComplexDouble),PetscErrorCode,(ISColoring{Complex128},PetscObject,Cstring),arg1,arg2,arg3) - return err -end - -function ISColoringGetIS(arg1::ISColoring{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{IS{Complex128}}},StridedArray{Ptr{IS{Complex128}}},Ptr{Ptr{IS{Complex128}}},Ref{Ptr{IS{Complex128}}}}) - err = ccall((:ISColoringGetIS,petscComplexDouble),PetscErrorCode,(ISColoring{Complex128},Ptr{Int64},Ptr{Ptr{IS{Complex128}}}),arg1,arg2,arg3) - return err -end - -function ISColoringRestoreIS(arg1::ISColoring{Complex128},arg2::Union{Ptr{Ptr{IS{Complex128}}},StridedArray{Ptr{IS{Complex128}}},Ptr{Ptr{IS{Complex128}}},Ref{Ptr{IS{Complex128}}}}) - err = ccall((:ISColoringRestoreIS,petscComplexDouble),PetscErrorCode,(ISColoring{Complex128},Ptr{Ptr{IS{Complex128}}}),arg1,arg2) - return err -end - -function ISColoringReference(arg1::ISColoring{Complex128}) - err = ccall((:ISColoringReference,petscComplexDouble),PetscErrorCode,(ISColoring{Complex128},),arg1) - return err -end - -function ISColoringSetType(arg1::ISColoring{Complex128},arg2::ISColoringType) - err = ccall((:ISColoringSetType,petscComplexDouble),PetscErrorCode,(ISColoring{Complex128},ISColoringType),arg1,arg2) - return err -end - -function ISPartitioningToNumbering(arg1::IS{Complex128},arg2::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:ISPartitioningToNumbering,petscComplexDouble),PetscErrorCode,(IS{Complex128},Ptr{IS{Complex128}}),arg1,arg2) - return err -end - -function ISPartitioningCount(arg1::IS{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:ISPartitioningCount,petscComplexDouble),PetscErrorCode,(IS{Complex128},Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function ISCompressIndicesGeneral(arg1::Integer,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}},arg6::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:ISCompressIndicesGeneral,petscComplexDouble),PetscErrorCode,(Int64,Int64,Int64,Int64,Ptr{IS{Complex128}},Ptr{IS{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function ISCompressIndicesSorted(arg1::Integer,arg2::Integer,arg3::Integer,arg4::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}},arg5::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:ISCompressIndicesSorted,petscComplexDouble),PetscErrorCode,(Int64,Int64,Int64,Ptr{IS{Complex128}},Ptr{IS{Complex128}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function ISExpandIndicesGeneral(arg1::Integer,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}},arg6::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:ISExpandIndicesGeneral,petscComplexDouble),PetscErrorCode,(Int64,Int64,Int64,Int64,Ptr{IS{Complex128}},Ptr{IS{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscLayoutFindOwner(map::PetscLayout{Complex128},idx::Integer,owner::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscLayoutFindOwner,petscComplexDouble),PetscErrorCode,(PetscLayout{Complex128},Int64,Ptr{Int64}),map,idx,owner) - return err -end - -function PetscLayoutFindOwnerIndex(map::PetscLayout{Complex128},idx::Integer,owner::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},lidx::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscLayoutFindOwnerIndex,petscComplexDouble),PetscErrorCode,(PetscLayout{Complex128},Int64,Ptr{Int64},Ptr{Int64}),map,idx,owner,lidx) - return err -end - -function PetscLayoutCreate(arg1::MPI_Comm,arg2::Union{Ptr{PetscLayout{Complex128}},StridedArray{PetscLayout{Complex128}},Ptr{PetscLayout{Complex128}},Ref{PetscLayout{Complex128}}}) - err = ccall((:PetscLayoutCreate,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{PetscLayout{Complex128}}),arg1,arg2) - return err -end - -function PetscLayoutSetUp(arg1::PetscLayout{Complex128}) - err = ccall((:PetscLayoutSetUp,petscComplexDouble),PetscErrorCode,(PetscLayout{Complex128},),arg1) - return err -end - -function PetscLayoutDestroy(arg1::Union{Ptr{PetscLayout{Complex128}},StridedArray{PetscLayout{Complex128}},Ptr{PetscLayout{Complex128}},Ref{PetscLayout{Complex128}}}) - err = ccall((:PetscLayoutDestroy,petscComplexDouble),PetscErrorCode,(Ptr{PetscLayout{Complex128}},),arg1) - return err -end - -function PetscLayoutDuplicate(arg1::PetscLayout{Complex128},arg2::Union{Ptr{PetscLayout{Complex128}},StridedArray{PetscLayout{Complex128}},Ptr{PetscLayout{Complex128}},Ref{PetscLayout{Complex128}}}) - err = ccall((:PetscLayoutDuplicate,petscComplexDouble),PetscErrorCode,(PetscLayout{Complex128},Ptr{PetscLayout{Complex128}}),arg1,arg2) - return err -end - -function PetscLayoutReference(arg1::PetscLayout{Complex128},arg2::Union{Ptr{PetscLayout{Complex128}},StridedArray{PetscLayout{Complex128}},Ptr{PetscLayout{Complex128}},Ref{PetscLayout{Complex128}}}) - err = ccall((:PetscLayoutReference,petscComplexDouble),PetscErrorCode,(PetscLayout{Complex128},Ptr{PetscLayout{Complex128}}),arg1,arg2) - return err -end - -function PetscLayoutSetLocalSize(arg1::PetscLayout{Complex128},arg2::Integer) - err = ccall((:PetscLayoutSetLocalSize,petscComplexDouble),PetscErrorCode,(PetscLayout{Complex128},Int64),arg1,arg2) - return err -end - -function PetscLayoutGetLocalSize(arg1::PetscLayout{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscLayoutGetLocalSize,petscComplexDouble),PetscErrorCode,(PetscLayout{Complex128},Ptr{Int64}),arg1,arg2) - return err -end - -function PetscLayoutSetSize(arg1::PetscLayout{Complex128},arg2::Integer) - err = ccall((:PetscLayoutSetSize,petscComplexDouble),PetscErrorCode,(PetscLayout{Complex128},Int64),arg1,arg2) - return err -end - -function PetscLayoutGetSize(arg1::PetscLayout{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscLayoutGetSize,petscComplexDouble),PetscErrorCode,(PetscLayout{Complex128},Ptr{Int64}),arg1,arg2) - return err -end - -function PetscLayoutSetBlockSize(arg1::PetscLayout{Complex128},arg2::Integer) - err = ccall((:PetscLayoutSetBlockSize,petscComplexDouble),PetscErrorCode,(PetscLayout{Complex128},Int64),arg1,arg2) - return err -end - -function PetscLayoutGetBlockSize(arg1::PetscLayout{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscLayoutGetBlockSize,petscComplexDouble),PetscErrorCode,(PetscLayout{Complex128},Ptr{Int64}),arg1,arg2) - return err -end - -function PetscLayoutGetRange(arg1::PetscLayout{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscLayoutGetRange,petscComplexDouble),PetscErrorCode,(PetscLayout{Complex128},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscLayoutGetRanges(arg1::PetscLayout{Complex128},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PetscLayoutGetRanges,petscComplexDouble),PetscErrorCode,(PetscLayout{Complex128},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function PetscLayoutSetISLocalToGlobalMapping(arg1::PetscLayout{Complex128},arg2::ISLocalToGlobalMapping{Complex128}) - err = ccall((:PetscLayoutSetISLocalToGlobalMapping,petscComplexDouble),PetscErrorCode,(PetscLayout{Complex128},ISLocalToGlobalMapping{Complex128}),arg1,arg2) - return err -end - -function PetscSFSetGraphLayout(arg1::PetscSF,arg2::PetscLayout{Complex128},arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::PetscCopyMode,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSFSetGraphLayout,petscComplexDouble),PetscErrorCode,(PetscSF,PetscLayout{Complex128},Int64,Ptr{Int64},PetscCopyMode,Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscSectionCreate(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:PetscSectionCreate,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{PetscSection}),arg1,arg2) - return err -end - -function PetscSectionClone(arg0::Type{Complex128},arg1::PetscSection,arg2::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:PetscSectionClone,petscComplexDouble),PetscErrorCode,(PetscSection,Ptr{PetscSection}),arg1,arg2) - return err -end - -function PetscSectionCopy(arg0::Type{Complex128},arg1::PetscSection,arg2::PetscSection) - err = ccall((:PetscSectionCopy,petscComplexDouble),PetscErrorCode,(PetscSection,PetscSection),arg1,arg2) - return err -end - -function PetscSectionGetNumFields(arg0::Type{Complex128},arg1::PetscSection,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSectionGetNumFields,petscComplexDouble),PetscErrorCode,(PetscSection,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscSectionSetNumFields(arg0::Type{Complex128},arg1::PetscSection,arg2::Integer) - err = ccall((:PetscSectionSetNumFields,petscComplexDouble),PetscErrorCode,(PetscSection,Int64),arg1,arg2) - return err -end - -function PetscSectionGetFieldName(arg0::Type{Complex128},arg1::PetscSection,arg2::Integer,arg3::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscSectionGetFieldName,petscComplexDouble),PetscErrorCode,(PetscSection,Int64,Ptr{Ptr{UInt8}}),arg1,arg2,arg3) - return err -end - -function PetscSectionSetFieldName(arg0::Type{Complex128},arg1::PetscSection,arg2::Integer,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscSectionSetFieldName,petscComplexDouble),PetscErrorCode,(PetscSection,Int64,Cstring),arg1,arg2,arg3) - return err -end - -function PetscSectionGetFieldComponents(arg0::Type{Complex128},arg1::PetscSection,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSectionGetFieldComponents,petscComplexDouble),PetscErrorCode,(PetscSection,Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscSectionSetFieldComponents(arg0::Type{Complex128},arg1::PetscSection,arg2::Integer,arg3::Integer) - err = ccall((:PetscSectionSetFieldComponents,petscComplexDouble),PetscErrorCode,(PetscSection,Int64,Int64),arg1,arg2,arg3) - return err -end - -function PetscSectionGetChart(arg0::Type{Complex128},arg1::PetscSection,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSectionGetChart,petscComplexDouble),PetscErrorCode,(PetscSection,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscSectionSetChart(arg0::Type{Complex128},arg1::PetscSection,arg2::Integer,arg3::Integer) - err = ccall((:PetscSectionSetChart,petscComplexDouble),PetscErrorCode,(PetscSection,Int64,Int64),arg1,arg2,arg3) - return err -end - -function PetscSectionGetPermutation(arg1::PetscSection,arg2::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:PetscSectionGetPermutation,petscComplexDouble),PetscErrorCode,(PetscSection,Ptr{IS{Complex128}}),arg1,arg2) - return err -end - -function PetscSectionSetPermutation(arg1::PetscSection,arg2::IS{Complex128}) - err = ccall((:PetscSectionSetPermutation,petscComplexDouble),PetscErrorCode,(PetscSection,IS{Complex128}),arg1,arg2) - return err -end - -function PetscSectionGetDof(arg0::Type{Complex128},arg1::PetscSection,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSectionGetDof,petscComplexDouble),PetscErrorCode,(PetscSection,Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscSectionSetDof(arg0::Type{Complex128},arg1::PetscSection,arg2::Integer,arg3::Integer) - err = ccall((:PetscSectionSetDof,petscComplexDouble),PetscErrorCode,(PetscSection,Int64,Int64),arg1,arg2,arg3) - return err -end - -function PetscSectionAddDof(arg0::Type{Complex128},arg1::PetscSection,arg2::Integer,arg3::Integer) - err = ccall((:PetscSectionAddDof,petscComplexDouble),PetscErrorCode,(PetscSection,Int64,Int64),arg1,arg2,arg3) - return err -end - -function PetscSectionGetFieldDof(arg0::Type{Complex128},arg1::PetscSection,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSectionGetFieldDof,petscComplexDouble),PetscErrorCode,(PetscSection,Int64,Int64,Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function PetscSectionSetFieldDof(arg0::Type{Complex128},arg1::PetscSection,arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:PetscSectionSetFieldDof,petscComplexDouble),PetscErrorCode,(PetscSection,Int64,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function PetscSectionAddFieldDof(arg0::Type{Complex128},arg1::PetscSection,arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:PetscSectionAddFieldDof,petscComplexDouble),PetscErrorCode,(PetscSection,Int64,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function PetscSectionHasConstraints(arg0::Type{Complex128},arg1::PetscSection,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscSectionHasConstraints,petscComplexDouble),PetscErrorCode,(PetscSection,Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscSectionGetConstraintDof(arg0::Type{Complex128},arg1::PetscSection,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSectionGetConstraintDof,petscComplexDouble),PetscErrorCode,(PetscSection,Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscSectionSetConstraintDof(arg0::Type{Complex128},arg1::PetscSection,arg2::Integer,arg3::Integer) - err = ccall((:PetscSectionSetConstraintDof,petscComplexDouble),PetscErrorCode,(PetscSection,Int64,Int64),arg1,arg2,arg3) - return err -end - -function PetscSectionAddConstraintDof(arg0::Type{Complex128},arg1::PetscSection,arg2::Integer,arg3::Integer) - err = ccall((:PetscSectionAddConstraintDof,petscComplexDouble),PetscErrorCode,(PetscSection,Int64,Int64),arg1,arg2,arg3) - return err -end - -function PetscSectionGetFieldConstraintDof(arg0::Type{Complex128},arg1::PetscSection,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSectionGetFieldConstraintDof,petscComplexDouble),PetscErrorCode,(PetscSection,Int64,Int64,Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function PetscSectionSetFieldConstraintDof(arg0::Type{Complex128},arg1::PetscSection,arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:PetscSectionSetFieldConstraintDof,petscComplexDouble),PetscErrorCode,(PetscSection,Int64,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function PetscSectionAddFieldConstraintDof(arg0::Type{Complex128},arg1::PetscSection,arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:PetscSectionAddFieldConstraintDof,petscComplexDouble),PetscErrorCode,(PetscSection,Int64,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function PetscSectionGetConstraintIndices(arg0::Type{Complex128},arg1::PetscSection,arg2::Integer,arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PetscSectionGetConstraintIndices,petscComplexDouble),PetscErrorCode,(PetscSection,Int64,Ptr{Ptr{Int64}}),arg1,arg2,arg3) - return err -end - -function PetscSectionSetConstraintIndices(arg0::Type{Complex128},arg1::PetscSection,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSectionSetConstraintIndices,petscComplexDouble),PetscErrorCode,(PetscSection,Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscSectionGetFieldConstraintIndices(arg0::Type{Complex128},arg1::PetscSection,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PetscSectionGetFieldConstraintIndices,petscComplexDouble),PetscErrorCode,(PetscSection,Int64,Int64,Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscSectionSetFieldConstraintIndices(arg0::Type{Complex128},arg1::PetscSection,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSectionSetFieldConstraintIndices,petscComplexDouble),PetscErrorCode,(PetscSection,Int64,Int64,Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function PetscSectionSetUpBC(arg0::Type{Complex128},arg1::PetscSection) - err = ccall((:PetscSectionSetUpBC,petscComplexDouble),PetscErrorCode,(PetscSection,),arg1) - return err -end - -function PetscSectionSetUp(arg0::Type{Complex128},arg1::PetscSection) - err = ccall((:PetscSectionSetUp,petscComplexDouble),PetscErrorCode,(PetscSection,),arg1) - return err -end - -function PetscSectionGetMaxDof(arg0::Type{Complex128},arg1::PetscSection,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSectionGetMaxDof,petscComplexDouble),PetscErrorCode,(PetscSection,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscSectionGetStorageSize(arg0::Type{Complex128},arg1::PetscSection,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSectionGetStorageSize,petscComplexDouble),PetscErrorCode,(PetscSection,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscSectionGetConstrainedStorageSize(arg0::Type{Complex128},arg1::PetscSection,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSectionGetConstrainedStorageSize,petscComplexDouble),PetscErrorCode,(PetscSection,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscSectionGetOffset(arg0::Type{Complex128},arg1::PetscSection,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSectionGetOffset,petscComplexDouble),PetscErrorCode,(PetscSection,Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscSectionSetOffset(arg0::Type{Complex128},arg1::PetscSection,arg2::Integer,arg3::Integer) - err = ccall((:PetscSectionSetOffset,petscComplexDouble),PetscErrorCode,(PetscSection,Int64,Int64),arg1,arg2,arg3) - return err -end - -function PetscSectionGetFieldOffset(arg0::Type{Complex128},arg1::PetscSection,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSectionGetFieldOffset,petscComplexDouble),PetscErrorCode,(PetscSection,Int64,Int64,Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function PetscSectionSetFieldOffset(arg0::Type{Complex128},arg1::PetscSection,arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:PetscSectionSetFieldOffset,petscComplexDouble),PetscErrorCode,(PetscSection,Int64,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function PetscSectionGetOffsetRange(arg0::Type{Complex128},arg1::PetscSection,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSectionGetOffsetRange,petscComplexDouble),PetscErrorCode,(PetscSection,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscSectionView(arg1::PetscSection,arg2::PetscViewer{Complex128}) - err = ccall((:PetscSectionView,petscComplexDouble),PetscErrorCode,(PetscSection,PetscViewer{Complex128}),arg1,arg2) - return err -end - -function PetscSectionViewFromOptions(arg0::Type{Complex128},A::PetscSection,obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscSectionViewFromOptions,petscComplexDouble),PetscErrorCode,(PetscSection,PetscObject,Cstring),A,obj,name) - return err -end - -function PetscSectionReset(arg0::Type{Complex128},arg1::PetscSection) - err = ccall((:PetscSectionReset,petscComplexDouble),PetscErrorCode,(PetscSection,),arg1) - return err -end - -function PetscSectionDestroy(arg0::Type{Complex128},arg1::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:PetscSectionDestroy,petscComplexDouble),PetscErrorCode,(Ptr{PetscSection},),arg1) - return err -end - -function PetscSectionCreateGlobalSection(arg0::Type{Complex128},arg1::PetscSection,arg2::PetscSF,arg3::PetscBool,arg4::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:PetscSectionCreateGlobalSection,petscComplexDouble),PetscErrorCode,(PetscSection,PetscSF,PetscBool,Ptr{PetscSection}),arg1,arg2,arg3,arg4) - return err -end - -function PetscSectionCreateGlobalSectionCensored(arg0::Type{Complex128},arg1::PetscSection,arg2::PetscSF,arg3::PetscBool,arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:PetscSectionCreateGlobalSectionCensored,petscComplexDouble),PetscErrorCode,(PetscSection,PetscSF,PetscBool,Int64,Ptr{Int64},Ptr{PetscSection}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscSectionCreateSubsection(arg0::Type{Complex128},arg1::PetscSection,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:PetscSectionCreateSubsection,petscComplexDouble),PetscErrorCode,(PetscSection,Int64,Ptr{Int64},Ptr{PetscSection}),arg1,arg2,arg3,arg4) - return err -end - -function PetscSectionCreateSubmeshSection(arg1::PetscSection,arg2::IS{Complex128},arg3::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:PetscSectionCreateSubmeshSection,petscComplexDouble),PetscErrorCode,(PetscSection,IS{Complex128},Ptr{PetscSection}),arg1,arg2,arg3) - return err -end - -function PetscSectionGetPointLayout(arg1::MPI_Comm,arg2::PetscSection,arg3::Union{Ptr{PetscLayout{Complex128}},StridedArray{PetscLayout{Complex128}},Ptr{PetscLayout{Complex128}},Ref{PetscLayout{Complex128}}}) - err = ccall((:PetscSectionGetPointLayout,petscComplexDouble),PetscErrorCode,(comm_type,PetscSection,Ptr{PetscLayout{Complex128}}),arg1,arg2,arg3) - return err -end - -function PetscSectionGetValueLayout(arg1::MPI_Comm,arg2::PetscSection,arg3::Union{Ptr{PetscLayout{Complex128}},StridedArray{PetscLayout{Complex128}},Ptr{PetscLayout{Complex128}},Ref{PetscLayout{Complex128}}}) - err = ccall((:PetscSectionGetValueLayout,petscComplexDouble),PetscErrorCode,(comm_type,PetscSection,Ptr{PetscLayout{Complex128}}),arg1,arg2,arg3) - return err -end - -function PetscSectionPermute(arg1::PetscSection,arg2::IS{Complex128},arg3::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:PetscSectionPermute,petscComplexDouble),PetscErrorCode,(PetscSection,IS{Complex128},Ptr{PetscSection}),arg1,arg2,arg3) - return err -end - -function PetscSectionGetField(arg0::Type{Complex128},arg1::PetscSection,arg2::Integer,arg3::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:PetscSectionGetField,petscComplexDouble),PetscErrorCode,(PetscSection,Int64,Ptr{PetscSection}),arg1,arg2,arg3) - return err -end - -function PetscSectionSetClosureIndex(arg1::PetscSection,arg2::PetscObject,arg3::PetscSection,arg4::IS{Complex128}) - err = ccall((:PetscSectionSetClosureIndex,petscComplexDouble),PetscErrorCode,(PetscSection,PetscObject,PetscSection,IS{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function PetscSectionGetClosureIndex(arg1::PetscSection,arg2::PetscObject,arg3::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}},arg4::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:PetscSectionGetClosureIndex,petscComplexDouble),PetscErrorCode,(PetscSection,PetscObject,Ptr{PetscSection},Ptr{IS{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscSFConvertPartition(arg1::PetscSF,arg2::PetscSection,arg3::IS{Complex128},arg4::Union{Ptr{ISLocalToGlobalMapping{Complex128}},StridedArray{ISLocalToGlobalMapping{Complex128}},Ptr{ISLocalToGlobalMapping{Complex128}},Ref{ISLocalToGlobalMapping{Complex128}}},arg5::Union{Ptr{PetscSF},StridedArray{PetscSF},Ptr{PetscSF},Ref{PetscSF}}) - err = ccall((:PetscSFConvertPartition,petscComplexDouble),PetscErrorCode,(PetscSF,PetscSection,IS{Complex128},Ptr{ISLocalToGlobalMapping{Complex128}},Ptr{PetscSF}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscSFCreateRemoteOffsets(arg0::Type{Complex128},arg1::PetscSF,arg2::PetscSection,arg3::PetscSection,arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PetscSFCreateRemoteOffsets,petscComplexDouble),PetscErrorCode,(PetscSF,PetscSection,PetscSection,Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscSFDistributeSection(arg0::Type{Complex128},arg1::PetscSF,arg2::PetscSection,arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg4::PetscSection) - err = ccall((:PetscSFDistributeSection,petscComplexDouble),PetscErrorCode,(PetscSF,PetscSection,Ptr{Ptr{Int64}},PetscSection),arg1,arg2,arg3,arg4) - return err -end - -function PetscSFCreateSectionSF(arg0::Type{Complex128},arg1::PetscSF,arg2::PetscSection,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::PetscSection,arg5::Union{Ptr{PetscSF},StridedArray{PetscSF},Ptr{PetscSF},Ref{PetscSF}}) - err = ccall((:PetscSFCreateSectionSF,petscComplexDouble),PetscErrorCode,(PetscSF,PetscSection,Ptr{Int64},PetscSection,Ptr{PetscSF}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function VecInitializePackage(arg0::Type{Complex128}) - err = ccall((:VecInitializePackage,petscComplexDouble),PetscErrorCode,()) - return err -end - -function VecFinalizePackage(arg0::Type{Complex128}) - err = ccall((:VecFinalizePackage,petscComplexDouble),PetscErrorCode,()) - return err -end - -function VecCreate(arg1::MPI_Comm,arg2::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:VecCreate,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{Vec{Complex128}}),arg1,arg2) - return err -end - -function VecCreateSeq(arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:VecCreateSeq,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Ptr{Vec{Complex128}}),arg1,arg2,arg3) - return err -end - -function VecCreateMPI(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:VecCreateMPI,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Int64,Ptr{Vec{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function VecCreateSeqWithArray(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg5::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:VecCreateSeqWithArray,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Int64,Ptr{Complex128},Ptr{Vec{Complex128}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function VecCreateMPIWithArray(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg6::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:VecCreateMPIWithArray,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Ptr{Complex128},Ptr{Vec{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function VecCreateShared(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:VecCreateShared,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Int64,Ptr{Vec{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function VecSetFromOptions(arg1::Vec{Complex128}) - err = ccall((:VecSetFromOptions,petscComplexDouble),PetscErrorCode,(Vec{Complex128},),arg1) - return err -end - -function VecViewFromOptions(A::Vec{Complex128},B::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:VecViewFromOptions,petscComplexDouble),PetscErrorCode,(Vec{Complex128},PetscObject,Cstring),A,B,name) - return err -end - -function VecSetUp(arg1::Vec{Complex128}) - err = ccall((:VecSetUp,petscComplexDouble),PetscErrorCode,(Vec{Complex128},),arg1) - return err -end - -function VecDestroy(arg1::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:VecDestroy,petscComplexDouble),PetscErrorCode,(Ptr{Vec{Complex128}},),arg1) - return err -end - -function VecZeroEntries(arg1::Vec{Complex128}) - err = ccall((:VecZeroEntries,petscComplexDouble),PetscErrorCode,(Vec{Complex128},),arg1) - return err -end - -function VecSetOptionsPrefix(arg1::Vec{Complex128},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:VecSetOptionsPrefix,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Cstring),arg1,arg2) - return err -end - -function VecAppendOptionsPrefix(arg1::Vec{Complex128},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:VecAppendOptionsPrefix,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Cstring),arg1,arg2) - return err -end - -function VecGetOptionsPrefix(arg1::Vec{Complex128},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:VecGetOptionsPrefix,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function VecSetSizes(arg1::Vec{Complex128},arg2::Integer,arg3::Integer) - err = ccall((:VecSetSizes,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,Int64),arg1,arg2,arg3) - return err -end - -function VecDotNorm2(arg1::Vec{Complex128},arg2::Vec{Complex128},arg3::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecDotNorm2,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Vec{Complex128},Ptr{Complex128},Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function VecDot(arg1::Vec{Complex128},arg2::Vec{Complex128},arg3::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - err = ccall((:VecDot,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Vec{Complex128},Ptr{Complex128}),arg1,arg2,arg3) - return err -end - -function VecDotRealPart(arg1::Vec{Complex128},arg2::Vec{Complex128},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecDotRealPart,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Vec{Complex128},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function VecTDot(arg1::Vec{Complex128},arg2::Vec{Complex128},arg3::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - err = ccall((:VecTDot,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Vec{Complex128},Ptr{Complex128}),arg1,arg2,arg3) - return err -end - -function VecMDot(arg1::Vec{Complex128},arg2::Integer,arg3::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}},arg4::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - err = ccall((:VecMDot,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,Ptr{Vec{Complex128}},Ptr{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function VecMTDot(arg1::Vec{Complex128},arg2::Integer,arg3::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}},arg4::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - err = ccall((:VecMTDot,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,Ptr{Vec{Complex128}},Ptr{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function VecGetSubVector(arg1::Vec{Complex128},arg2::IS{Complex128},arg3::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:VecGetSubVector,petscComplexDouble),PetscErrorCode,(Vec{Complex128},IS{Complex128},Ptr{Vec{Complex128}}),arg1,arg2,arg3) - return err -end - -function VecRestoreSubVector(arg1::Vec{Complex128},arg2::IS{Complex128},arg3::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:VecRestoreSubVector,petscComplexDouble),PetscErrorCode,(Vec{Complex128},IS{Complex128},Ptr{Vec{Complex128}}),arg1,arg2,arg3) - return err -end - -function VecNorm(arg1::Vec{Complex128},arg2::NormType,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecNorm,petscComplexDouble),PetscErrorCode,(Vec{Complex128},NormType,Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function VecNormAvailable(arg1::Vec{Complex128},arg2::NormType,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecNormAvailable,petscComplexDouble),PetscErrorCode,(Vec{Complex128},NormType,Ptr{PetscBool},Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function VecNormalize(arg1::Vec{Complex128},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecNormalize,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Ptr{Float64}),arg1,arg2) - return err -end - -function VecSum(arg1::Vec{Complex128},arg2::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - err = ccall((:VecSum,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Ptr{Complex128}),arg1,arg2) - return err -end - -function VecMax(arg1::Vec{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecMax,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Ptr{Int64},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function VecMin(arg1::Vec{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecMin,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Ptr{Int64},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function VecScale(arg1::Vec{Complex128},arg2::Complex128) - err = ccall((:VecScale,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Complex128),arg1,arg2) - return err -end - -function VecCopy(arg1::Vec{Complex128},arg2::Vec{Complex128}) - err = ccall((:VecCopy,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Vec{Complex128}),arg1,arg2) - return err -end - -function VecSetRandom(arg1::Vec{Complex128},arg2::PetscRandom) - err = ccall((:VecSetRandom,petscComplexDouble),PetscErrorCode,(Vec{Complex128},PetscRandom),arg1,arg2) - return err -end - -function VecSet(arg1::Vec{Complex128},arg2::Complex128) - err = ccall((:VecSet,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Complex128),arg1,arg2) - return err -end - -function VecSetInf(arg1::Vec{Complex128}) - err = ccall((:VecSetInf,petscComplexDouble),PetscErrorCode,(Vec{Complex128},),arg1) - return err -end - -function VecSwap(arg1::Vec{Complex128},arg2::Vec{Complex128}) - err = ccall((:VecSwap,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Vec{Complex128}),arg1,arg2) - return err -end - -function VecAXPY(arg1::Vec{Complex128},arg2::Complex128,arg3::Vec{Complex128}) - err = ccall((:VecAXPY,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Complex128,Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function VecAXPBY(arg1::Vec{Complex128},arg2::Complex128,arg3::Complex128,arg4::Vec{Complex128}) - err = ccall((:VecAXPBY,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Complex128,Complex128,Vec{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function VecMAXPY(arg1::Vec{Complex128},arg2::Integer,arg3::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg4::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:VecMAXPY,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,Ptr{Complex128},Ptr{Vec{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function VecAYPX(arg1::Vec{Complex128},arg2::Complex128,arg3::Vec{Complex128}) - err = ccall((:VecAYPX,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Complex128,Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function VecWAXPY(arg1::Vec{Complex128},arg2::Complex128,arg3::Vec{Complex128},arg4::Vec{Complex128}) - err = ccall((:VecWAXPY,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Complex128,Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function VecAXPBYPCZ(arg1::Vec{Complex128},arg2::Complex128,arg3::Complex128,arg4::Complex128,arg5::Vec{Complex128},arg6::Vec{Complex128}) - err = ccall((:VecAXPBYPCZ,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Complex128,Complex128,Complex128,Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function VecPointwiseMax(arg1::Vec{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:VecPointwiseMax,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function VecPointwiseMaxAbs(arg1::Vec{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:VecPointwiseMaxAbs,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function VecPointwiseMin(arg1::Vec{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:VecPointwiseMin,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function VecPointwiseMult(arg1::Vec{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:VecPointwiseMult,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function VecPointwiseDivide(arg1::Vec{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:VecPointwiseDivide,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function VecMaxPointwiseDivide(arg1::Vec{Complex128},arg2::Vec{Complex128},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecMaxPointwiseDivide,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Vec{Complex128},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function VecShift(arg1::Vec{Complex128},arg2::Complex128) - err = ccall((:VecShift,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Complex128),arg1,arg2) - return err -end - -function VecReciprocal(arg1::Vec{Complex128}) - err = ccall((:VecReciprocal,petscComplexDouble),PetscErrorCode,(Vec{Complex128},),arg1) - return err -end - -function VecPermute(arg1::Vec{Complex128},arg2::IS{Complex128},arg3::PetscBool) - err = ccall((:VecPermute,petscComplexDouble),PetscErrorCode,(Vec{Complex128},IS{Complex128},PetscBool),arg1,arg2,arg3) - return err -end - -function VecSqrtAbs(arg1::Vec{Complex128}) - err = ccall((:VecSqrtAbs,petscComplexDouble),PetscErrorCode,(Vec{Complex128},),arg1) - return err -end - -function VecLog(arg1::Vec{Complex128}) - err = ccall((:VecLog,petscComplexDouble),PetscErrorCode,(Vec{Complex128},),arg1) - return err -end - -function VecExp(arg1::Vec{Complex128}) - err = ccall((:VecExp,petscComplexDouble),PetscErrorCode,(Vec{Complex128},),arg1) - return err -end - -function VecAbs(arg1::Vec{Complex128}) - err = ccall((:VecAbs,petscComplexDouble),PetscErrorCode,(Vec{Complex128},),arg1) - return err -end - -function VecDuplicate(arg1::Vec{Complex128},arg2::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:VecDuplicate,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Ptr{Vec{Complex128}}),arg1,arg2) - return err -end - -function VecDuplicateVecs(arg1::Vec{Complex128},arg2::Integer,arg3::Union{Ptr{Ptr{Vec{Complex128}}},StridedArray{Ptr{Vec{Complex128}}},Ptr{Ptr{Vec{Complex128}}},Ref{Ptr{Vec{Complex128}}}}) - err = ccall((:VecDuplicateVecs,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,Ptr{Ptr{Vec{Complex128}}}),arg1,arg2,arg3) - return err -end - -function VecDestroyVecs(arg1::Integer,arg2::Union{Ptr{Ptr{Vec{Complex128}}},StridedArray{Ptr{Vec{Complex128}}},Ptr{Ptr{Vec{Complex128}}},Ref{Ptr{Vec{Complex128}}}}) - err = ccall((:VecDestroyVecs,petscComplexDouble),PetscErrorCode,(Int64,Ptr{Ptr{Vec{Complex128}}}),arg1,arg2) - return err -end - -function VecStrideNormAll(arg1::Vec{Complex128},arg2::NormType,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecStrideNormAll,petscComplexDouble),PetscErrorCode,(Vec{Complex128},NormType,Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function VecStrideMaxAll(arg1::Vec{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecStrideMaxAll,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Ptr{Int64},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function VecStrideMinAll(arg1::Vec{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecStrideMinAll,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Ptr{Int64},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function VecStrideScaleAll(arg1::Vec{Complex128},arg2::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - err = ccall((:VecStrideScaleAll,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Ptr{Complex128}),arg1,arg2) - return err -end - -function VecUniqueEntries(arg1::Vec{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}}) - err = ccall((:VecUniqueEntries,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Ptr{Int64},Ptr{Ptr{Complex128}}),arg1,arg2,arg3) - return err -end - -function VecStrideNorm(arg1::Vec{Complex128},arg2::Integer,arg3::NormType,arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecStrideNorm,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,NormType,Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function VecStrideMax(arg1::Vec{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecStrideMax,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,Ptr{Int64},Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function VecStrideMin(arg1::Vec{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecStrideMin,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,Ptr{Int64},Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function VecStrideScale(arg1::Vec{Complex128},arg2::Integer,arg3::Complex128) - err = ccall((:VecStrideScale,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,Complex128),arg1,arg2,arg3) - return err -end - -function VecStrideSet(arg1::Vec{Complex128},arg2::Integer,arg3::Complex128) - err = ccall((:VecStrideSet,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,Complex128),arg1,arg2,arg3) - return err -end - -function VecStrideGather(arg1::Vec{Complex128},arg2::Integer,arg3::Vec{Complex128},arg4::InsertMode) - err = ccall((:VecStrideGather,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,Vec{Complex128},InsertMode),arg1,arg2,arg3,arg4) - return err -end - -function VecStrideScatter(arg1::Vec{Complex128},arg2::Integer,arg3::Vec{Complex128},arg4::InsertMode) - err = ccall((:VecStrideScatter,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,Vec{Complex128},InsertMode),arg1,arg2,arg3,arg4) - return err -end - -function VecStrideGatherAll(arg1::Vec{Complex128},arg2::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}},arg3::InsertMode) - err = ccall((:VecStrideGatherAll,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Ptr{Vec{Complex128}},InsertMode),arg1,arg2,arg3) - return err -end - -function VecStrideScatterAll(arg1::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}},arg2::Vec{Complex128},arg3::InsertMode) - err = ccall((:VecStrideScatterAll,petscComplexDouble),PetscErrorCode,(Ptr{Vec{Complex128}},Vec{Complex128},InsertMode),arg1,arg2,arg3) - return err -end - -function VecStrideSubSetScatter(arg1::Vec{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Vec{Complex128},arg6::InsertMode) - err = ccall((:VecStrideSubSetScatter,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,Ptr{Int64},Ptr{Int64},Vec{Complex128},InsertMode),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function VecStrideSubSetGather(arg1::Vec{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Vec{Complex128},arg6::InsertMode) - err = ccall((:VecStrideSubSetGather,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,Ptr{Int64},Ptr{Int64},Vec{Complex128},InsertMode),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function VecSetValues(arg1::Vec{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg5::InsertMode) - err = ccall((:VecSetValues,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,Ptr{Int64},Ptr{Complex128},InsertMode),arg1,arg2,arg3,arg4,arg5) - return err -end - -function VecGetValues(arg1::Vec{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - err = ccall((:VecGetValues,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,Ptr{Int64},Ptr{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function VecAssemblyBegin(arg1::Vec{Complex128}) - err = ccall((:VecAssemblyBegin,petscComplexDouble),PetscErrorCode,(Vec{Complex128},),arg1) - return err -end - -function VecAssemblyEnd(arg1::Vec{Complex128}) - err = ccall((:VecAssemblyEnd,petscComplexDouble),PetscErrorCode,(Vec{Complex128},),arg1) - return err -end - -function VecStashSetInitialSize(arg1::Vec{Complex128},arg2::Integer,arg3::Integer) - err = ccall((:VecStashSetInitialSize,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,Int64),arg1,arg2,arg3) - return err -end - -function VecStashView(arg1::Vec{Complex128},arg2::PetscViewer{Complex128}) - err = ccall((:VecStashView,petscComplexDouble),PetscErrorCode,(Vec{Complex128},PetscViewer{Complex128}),arg1,arg2) - return err -end - -function VecStashViewFromOptions(arg1::Vec{Complex128},arg2::PetscObject,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:VecStashViewFromOptions,petscComplexDouble),PetscErrorCode,(Vec{Complex128},PetscObject,Cstring),arg1,arg2,arg3) - return err -end - -function VecStashGetInfo(arg1::Vec{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:VecStashGetInfo,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function VecSetValue(v::Vec{Complex128},i::Integer,va::Complex128,mode::InsertMode) - err = ccall((:VecSetValue,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,Complex128,InsertMode),v,i,va,mode) - return err -end - -function VecSetBlockSize(arg1::Vec{Complex128},arg2::Integer) - err = ccall((:VecSetBlockSize,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64),arg1,arg2) - return err -end - -function VecGetBlockSize(arg1::Vec{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:VecGetBlockSize,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Ptr{Int64}),arg1,arg2) - return err -end - -function VecSetValuesBlocked(arg1::Vec{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg5::InsertMode) - err = ccall((:VecSetValuesBlocked,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,Ptr{Int64},Ptr{Complex128},InsertMode),arg1,arg2,arg3,arg4,arg5) - return err -end - -function VecSetType(arg1::Vec{Complex128},arg2::VecType) - err = ccall((:VecSetType,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Cstring),arg1,arg2) - return err -end - -function VecGetType(arg1::Vec{Complex128},arg2::Union{Ptr{VecType},StridedArray{VecType},Ptr{VecType},Ref{VecType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:VecGetType,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function VecRegister(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:VecRegister,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function VecScatterCreate(arg1::Vec{Complex128},arg2::IS{Complex128},arg3::Vec{Complex128},arg4::IS{Complex128},arg5::Union{Ptr{VecScatter{Complex128}},StridedArray{VecScatter{Complex128}},Ptr{VecScatter{Complex128}},Ref{VecScatter{Complex128}}}) - err = ccall((:VecScatterCreate,petscComplexDouble),PetscErrorCode,(Vec{Complex128},IS{Complex128},Vec{Complex128},IS{Complex128},Ptr{VecScatter{Complex128}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function VecScatterCreateEmpty(arg1::MPI_Comm,arg2::Union{Ptr{VecScatter{Complex128}},StridedArray{VecScatter{Complex128}},Ptr{VecScatter{Complex128}},Ref{VecScatter{Complex128}}}) - err = ccall((:VecScatterCreateEmpty,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{VecScatter{Complex128}}),arg1,arg2) - return err -end - -function VecScatterCreateLocal(arg1::VecScatter{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Integer,arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg9::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg10::Integer) - err = ccall((:VecScatterCreateLocal,petscComplexDouble),PetscErrorCode,(VecScatter{Complex128},Int64,Ptr{Int64},Ptr{Int64},Ptr{Int64},Int64,Ptr{Int64},Ptr{Int64},Ptr{Int64},Int64),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -function VecScatterBegin(arg1::VecScatter{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128},arg4::InsertMode,arg5::ScatterMode) - err = ccall((:VecScatterBegin,petscComplexDouble),PetscErrorCode,(VecScatter{Complex128},Vec{Complex128},Vec{Complex128},InsertMode,ScatterMode),arg1,arg2,arg3,arg4,arg5) - return err -end - -function VecScatterEnd(arg1::VecScatter{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128},arg4::InsertMode,arg5::ScatterMode) - err = ccall((:VecScatterEnd,petscComplexDouble),PetscErrorCode,(VecScatter{Complex128},Vec{Complex128},Vec{Complex128},InsertMode,ScatterMode),arg1,arg2,arg3,arg4,arg5) - return err -end - -function VecScatterDestroy(arg1::Union{Ptr{VecScatter{Complex128}},StridedArray{VecScatter{Complex128}},Ptr{VecScatter{Complex128}},Ref{VecScatter{Complex128}}}) - err = ccall((:VecScatterDestroy,petscComplexDouble),PetscErrorCode,(Ptr{VecScatter{Complex128}},),arg1) - return err -end - -function VecScatterCopy(arg1::VecScatter{Complex128},arg2::Union{Ptr{VecScatter{Complex128}},StridedArray{VecScatter{Complex128}},Ptr{VecScatter{Complex128}},Ref{VecScatter{Complex128}}}) - err = ccall((:VecScatterCopy,petscComplexDouble),PetscErrorCode,(VecScatter{Complex128},Ptr{VecScatter{Complex128}}),arg1,arg2) - return err -end - -function VecScatterView(arg1::VecScatter{Complex128},arg2::PetscViewer{Complex128}) - err = ccall((:VecScatterView,petscComplexDouble),PetscErrorCode,(VecScatter{Complex128},PetscViewer{Complex128}),arg1,arg2) - return err -end - -function VecScatterViewFromOptions(A::VecScatter{Complex128},obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:VecScatterViewFromOptions,petscComplexDouble),PetscErrorCode,(VecScatter{Complex128},PetscObject,Cstring),A,obj,name) - return err -end - -function VecScatterRemap(arg1::VecScatter{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:VecScatterRemap,petscComplexDouble),PetscErrorCode,(VecScatter{Complex128},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function VecScatterGetMerged(arg1::VecScatter{Complex128},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:VecScatterGetMerged,petscComplexDouble),PetscErrorCode,(VecScatter{Complex128},Ptr{PetscBool}),arg1,arg2) - return err -end - -function VecGetArray4d(arg1::Vec{Complex128},arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Integer,arg9::Integer,arg10::Union{Ptr{Ptr{Ptr{Ptr{Ptr{Complex128}}}}},StridedArray{Ptr{Ptr{Ptr{Ptr{Complex128}}}}},Ptr{Ptr{Ptr{Ptr{Ptr{Complex128}}}}},Ref{Ptr{Ptr{Ptr{Ptr{Complex128}}}}}}) - err = ccall((:VecGetArray4d,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,Int64,Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Ptr{Ptr{Ptr{Ptr{Complex128}}}}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -function VecRestoreArray4d(arg1::Vec{Complex128},arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Integer,arg9::Integer,arg10::Union{Ptr{Ptr{Ptr{Ptr{Ptr{Complex128}}}}},StridedArray{Ptr{Ptr{Ptr{Ptr{Complex128}}}}},Ptr{Ptr{Ptr{Ptr{Ptr{Complex128}}}}},Ref{Ptr{Ptr{Ptr{Ptr{Complex128}}}}}}) - err = ccall((:VecRestoreArray4d,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,Int64,Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Ptr{Ptr{Ptr{Ptr{Complex128}}}}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -function VecGetArray3d(arg1::Vec{Complex128},arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Union{Ptr{Ptr{Ptr{Ptr{Complex128}}}},StridedArray{Ptr{Ptr{Ptr{Complex128}}}},Ptr{Ptr{Ptr{Ptr{Complex128}}}},Ref{Ptr{Ptr{Ptr{Complex128}}}}}) - err = ccall((:VecGetArray3d,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Ptr{Ptr{Ptr{Complex128}}}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function VecRestoreArray3d(arg1::Vec{Complex128},arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Union{Ptr{Ptr{Ptr{Ptr{Complex128}}}},StridedArray{Ptr{Ptr{Ptr{Complex128}}}},Ptr{Ptr{Ptr{Ptr{Complex128}}}},Ref{Ptr{Ptr{Ptr{Complex128}}}}}) - err = ccall((:VecRestoreArray3d,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Ptr{Ptr{Ptr{Complex128}}}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function VecGetArray2d(arg1::Vec{Complex128},arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Ptr{Ptr{Complex128}}},StridedArray{Ptr{Ptr{Complex128}}},Ptr{Ptr{Ptr{Complex128}}},Ref{Ptr{Ptr{Complex128}}}}) - err = ccall((:VecGetArray2d,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,Int64,Int64,Int64,Ptr{Ptr{Ptr{Complex128}}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function VecRestoreArray2d(arg1::Vec{Complex128},arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Ptr{Ptr{Complex128}}},StridedArray{Ptr{Ptr{Complex128}}},Ptr{Ptr{Ptr{Complex128}}},Ref{Ptr{Ptr{Complex128}}}}) - err = ccall((:VecRestoreArray2d,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,Int64,Int64,Int64,Ptr{Ptr{Ptr{Complex128}}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function VecGetArray1d(arg1::Vec{Complex128},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}}) - err = ccall((:VecGetArray1d,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,Int64,Ptr{Ptr{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function VecRestoreArray1d(arg1::Vec{Complex128},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}}) - err = ccall((:VecRestoreArray1d,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,Int64,Ptr{Ptr{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function VecGetArray4dRead(arg1::Vec{Complex128},arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Integer,arg9::Integer,arg10::Union{Ptr{Ptr{Ptr{Ptr{Ptr{Complex128}}}}},StridedArray{Ptr{Ptr{Ptr{Ptr{Complex128}}}}},Ptr{Ptr{Ptr{Ptr{Ptr{Complex128}}}}},Ref{Ptr{Ptr{Ptr{Ptr{Complex128}}}}}}) - err = ccall((:VecGetArray4dRead,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,Int64,Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Ptr{Ptr{Ptr{Ptr{Complex128}}}}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -function VecRestoreArray4dRead(arg1::Vec{Complex128},arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Integer,arg9::Integer,arg10::Union{Ptr{Ptr{Ptr{Ptr{Ptr{Complex128}}}}},StridedArray{Ptr{Ptr{Ptr{Ptr{Complex128}}}}},Ptr{Ptr{Ptr{Ptr{Ptr{Complex128}}}}},Ref{Ptr{Ptr{Ptr{Ptr{Complex128}}}}}}) - err = ccall((:VecRestoreArray4dRead,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,Int64,Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Ptr{Ptr{Ptr{Ptr{Complex128}}}}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -function VecGetArray3dRead(arg1::Vec{Complex128},arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Union{Ptr{Ptr{Ptr{Ptr{Complex128}}}},StridedArray{Ptr{Ptr{Ptr{Complex128}}}},Ptr{Ptr{Ptr{Ptr{Complex128}}}},Ref{Ptr{Ptr{Ptr{Complex128}}}}}) - err = ccall((:VecGetArray3dRead,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Ptr{Ptr{Ptr{Complex128}}}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function VecRestoreArray3dRead(arg1::Vec{Complex128},arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Union{Ptr{Ptr{Ptr{Ptr{Complex128}}}},StridedArray{Ptr{Ptr{Ptr{Complex128}}}},Ptr{Ptr{Ptr{Ptr{Complex128}}}},Ref{Ptr{Ptr{Ptr{Complex128}}}}}) - err = ccall((:VecRestoreArray3dRead,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Ptr{Ptr{Ptr{Complex128}}}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function VecGetArray2dRead(arg1::Vec{Complex128},arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Ptr{Ptr{Complex128}}},StridedArray{Ptr{Ptr{Complex128}}},Ptr{Ptr{Ptr{Complex128}}},Ref{Ptr{Ptr{Complex128}}}}) - err = ccall((:VecGetArray2dRead,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,Int64,Int64,Int64,Ptr{Ptr{Ptr{Complex128}}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function VecRestoreArray2dRead(arg1::Vec{Complex128},arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Ptr{Ptr{Complex128}}},StridedArray{Ptr{Ptr{Complex128}}},Ptr{Ptr{Ptr{Complex128}}},Ref{Ptr{Ptr{Complex128}}}}) - err = ccall((:VecRestoreArray2dRead,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,Int64,Int64,Int64,Ptr{Ptr{Ptr{Complex128}}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function VecGetArray1dRead(arg1::Vec{Complex128},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}}) - err = ccall((:VecGetArray1dRead,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,Int64,Ptr{Ptr{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function VecRestoreArray1dRead(arg1::Vec{Complex128},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}}) - err = ccall((:VecRestoreArray1dRead,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,Int64,Ptr{Ptr{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function VecPlaceArray(arg1::Vec{Complex128},arg2::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - err = ccall((:VecPlaceArray,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Ptr{Complex128}),arg1,arg2) - return err -end - -function VecResetArray(arg1::Vec{Complex128}) - err = ccall((:VecResetArray,petscComplexDouble),PetscErrorCode,(Vec{Complex128},),arg1) - return err -end - -function VecReplaceArray(arg1::Vec{Complex128},arg2::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - err = ccall((:VecReplaceArray,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Ptr{Complex128}),arg1,arg2) - return err -end - -function VecGetArrays(arg1::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}},arg2::Integer,arg3::Union{Ptr{Ptr{Ptr{Complex128}}},StridedArray{Ptr{Ptr{Complex128}}},Ptr{Ptr{Ptr{Complex128}}},Ref{Ptr{Ptr{Complex128}}}}) - err = ccall((:VecGetArrays,petscComplexDouble),PetscErrorCode,(Ptr{Vec{Complex128}},Int64,Ptr{Ptr{Ptr{Complex128}}}),arg1,arg2,arg3) - return err -end - -function VecRestoreArrays(arg1::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}},arg2::Integer,arg3::Union{Ptr{Ptr{Ptr{Complex128}}},StridedArray{Ptr{Ptr{Complex128}}},Ptr{Ptr{Ptr{Complex128}}},Ref{Ptr{Ptr{Complex128}}}}) - err = ccall((:VecRestoreArrays,petscComplexDouble),PetscErrorCode,(Ptr{Vec{Complex128}},Int64,Ptr{Ptr{Ptr{Complex128}}}),arg1,arg2,arg3) - return err -end - -function VecView(arg1::Vec{Complex128},arg2::PetscViewer{Complex128}) - err = ccall((:VecView,petscComplexDouble),PetscErrorCode,(Vec{Complex128},PetscViewer{Complex128}),arg1,arg2) - return err -end - -function VecEqual(arg1::Vec{Complex128},arg2::Vec{Complex128},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:VecEqual,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Vec{Complex128},Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function VecLoad(arg1::Vec{Complex128},arg2::PetscViewer{Complex128}) - err = ccall((:VecLoad,petscComplexDouble),PetscErrorCode,(Vec{Complex128},PetscViewer{Complex128}),arg1,arg2) - return err -end - -function VecGetSize(arg1::Vec{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:VecGetSize,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Ptr{Int64}),arg1,arg2) - return err -end - -function VecGetLocalSize(arg1::Vec{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:VecGetLocalSize,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Ptr{Int64}),arg1,arg2) - return err -end - -function VecGetOwnershipRange(arg1::Vec{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:VecGetOwnershipRange,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function VecGetOwnershipRanges(arg1::Vec{Complex128},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:VecGetOwnershipRanges,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function VecSetLocalToGlobalMapping(arg1::Vec{Complex128},arg2::ISLocalToGlobalMapping{Complex128}) - err = ccall((:VecSetLocalToGlobalMapping,petscComplexDouble),PetscErrorCode,(Vec{Complex128},ISLocalToGlobalMapping{Complex128}),arg1,arg2) - return err -end - -function VecSetValuesLocal(arg1::Vec{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg5::InsertMode) - err = ccall((:VecSetValuesLocal,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,Ptr{Int64},Ptr{Complex128},InsertMode),arg1,arg2,arg3,arg4,arg5) - return err -end - -function VecSetValueLocal(v::Vec{Complex128},i::Integer,va::Complex128,mode::InsertMode) - err = ccall((:VecSetValueLocal,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,Complex128,InsertMode),v,i,va,mode) - return err -end - -function VecSetValuesBlockedLocal(arg1::Vec{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg5::InsertMode) - err = ccall((:VecSetValuesBlockedLocal,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,Ptr{Int64},Ptr{Complex128},InsertMode),arg1,arg2,arg3,arg4,arg5) - return err -end - -function VecGetLocalToGlobalMapping(arg1::Vec{Complex128},arg2::Union{Ptr{ISLocalToGlobalMapping{Complex128}},StridedArray{ISLocalToGlobalMapping{Complex128}},Ptr{ISLocalToGlobalMapping{Complex128}},Ref{ISLocalToGlobalMapping{Complex128}}}) - err = ccall((:VecGetLocalToGlobalMapping,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Ptr{ISLocalToGlobalMapping{Complex128}}),arg1,arg2) - return err -end - -function VecDotBegin(arg1::Vec{Complex128},arg2::Vec{Complex128},arg3::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - err = ccall((:VecDotBegin,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Vec{Complex128},Ptr{Complex128}),arg1,arg2,arg3) - return err -end - -function VecDotEnd(arg1::Vec{Complex128},arg2::Vec{Complex128},arg3::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - err = ccall((:VecDotEnd,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Vec{Complex128},Ptr{Complex128}),arg1,arg2,arg3) - return err -end - -function VecTDotBegin(arg1::Vec{Complex128},arg2::Vec{Complex128},arg3::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - err = ccall((:VecTDotBegin,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Vec{Complex128},Ptr{Complex128}),arg1,arg2,arg3) - return err -end - -function VecTDotEnd(arg1::Vec{Complex128},arg2::Vec{Complex128},arg3::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - err = ccall((:VecTDotEnd,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Vec{Complex128},Ptr{Complex128}),arg1,arg2,arg3) - return err -end - -function VecNormBegin(arg1::Vec{Complex128},arg2::NormType,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecNormBegin,petscComplexDouble),PetscErrorCode,(Vec{Complex128},NormType,Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function VecNormEnd(arg1::Vec{Complex128},arg2::NormType,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecNormEnd,petscComplexDouble),PetscErrorCode,(Vec{Complex128},NormType,Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function VecMDotBegin(arg1::Vec{Complex128},arg2::Integer,arg3::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}},arg4::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - err = ccall((:VecMDotBegin,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,Ptr{Vec{Complex128}},Ptr{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function VecMDotEnd(arg1::Vec{Complex128},arg2::Integer,arg3::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}},arg4::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - err = ccall((:VecMDotEnd,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,Ptr{Vec{Complex128}},Ptr{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function VecMTDotBegin(arg1::Vec{Complex128},arg2::Integer,arg3::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}},arg4::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - err = ccall((:VecMTDotBegin,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,Ptr{Vec{Complex128}},Ptr{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function VecMTDotEnd(arg1::Vec{Complex128},arg2::Integer,arg3::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}},arg4::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - err = ccall((:VecMTDotEnd,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,Ptr{Vec{Complex128}},Ptr{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function PetscCommSplitReductionBegin(arg0::Type{Complex128},arg1::MPI_Comm) - err = ccall((:PetscCommSplitReductionBegin,petscComplexDouble),PetscErrorCode,(comm_type,),arg1) - return err -end - -function VecSetOption(arg1::Vec{Complex128},arg2::VecOption,arg3::PetscBool) - err = ccall((:VecSetOption,petscComplexDouble),PetscErrorCode,(Vec{Complex128},VecOption,PetscBool),arg1,arg2,arg3) - return err -end - -function VecGetArray(arg1::Vec{Complex128},arg2::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}}) - err = ccall((:VecGetArray,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Ptr{Ptr{Complex128}}),arg1,arg2) - return err -end - -function VecGetArrayRead(arg1::Vec{Complex128},arg2::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}}) - err = ccall((:VecGetArrayRead,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Ptr{Ptr{Complex128}}),arg1,arg2) - return err -end - -function VecRestoreArray(arg1::Vec{Complex128},arg2::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}}) - err = ccall((:VecRestoreArray,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Ptr{Ptr{Complex128}}),arg1,arg2) - return err -end - -function VecRestoreArrayRead(arg1::Vec{Complex128},arg2::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}}) - err = ccall((:VecRestoreArrayRead,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Ptr{Ptr{Complex128}}),arg1,arg2) - return err -end - -function VecGetLocalVector(arg1::Vec{Complex128},arg2::Vec{Complex128}) - err = ccall((:VecGetLocalVector,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Vec{Complex128}),arg1,arg2) - return err -end - -function VecRestoreLocalVector(arg1::Vec{Complex128},arg2::Vec{Complex128}) - err = ccall((:VecRestoreLocalVector,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Vec{Complex128}),arg1,arg2) - return err -end - -function VecGetLocalVectorRead(arg1::Vec{Complex128},arg2::Vec{Complex128}) - err = ccall((:VecGetLocalVectorRead,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Vec{Complex128}),arg1,arg2) - return err -end - -function VecRestoreLocalVectorRead(arg1::Vec{Complex128},arg2::Vec{Complex128}) - err = ccall((:VecRestoreLocalVectorRead,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Vec{Complex128}),arg1,arg2) - return err -end - -function VecGetArrayPair(x::Vec{Complex128},y::Vec{Complex128},xv::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}},yv::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}}) - err = ccall((:VecGetArrayPair,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Vec{Complex128},Ptr{Ptr{Complex128}},Ptr{Ptr{Complex128}}),x,y,xv,yv) - return err -end - -function VecRestoreArrayPair(x::Vec{Complex128},y::Vec{Complex128},xv::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}},yv::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}}) - err = ccall((:VecRestoreArrayPair,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Vec{Complex128},Ptr{Ptr{Complex128}},Ptr{Ptr{Complex128}}),x,y,xv,yv) - return err -end - -function VecLockGet(arg1::Vec{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:VecLockGet,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Ptr{Int64}),arg1,arg2) - return err -end - -function VecLockPush(arg1::Vec{Complex128}) - err = ccall((:VecLockPush,petscComplexDouble),PetscErrorCode,(Vec{Complex128},),arg1) - return err -end - -function VecLockPop(arg1::Vec{Complex128}) - err = ccall((:VecLockPop,petscComplexDouble),PetscErrorCode,(Vec{Complex128},),arg1) - return err -end - -function VecValidValues(arg1::Vec{Complex128},arg2::Integer,arg3::PetscBool) - err = ccall((:VecValidValues,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,PetscBool),arg1,arg2,arg3) - return err -end - -function VecContourScale(arg1::Vec{Complex128},arg2::Float64,arg3::Float64) - err = ccall((:VecContourScale,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Float64,Float64),arg1,arg2,arg3) - return err -end - -function VecSetOperation(arg1::Vec{Complex128},arg2::VecOperation,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:VecSetOperation,petscComplexDouble),PetscErrorCode,(Vec{Complex128},VecOperation,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function VecMPISetGhost(arg1::Vec{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:VecMPISetGhost,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function VecCreateGhost(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:VecCreateGhost,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Ptr{Int64},Ptr{Vec{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function VecCreateGhostWithArray(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg7::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:VecCreateGhostWithArray,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Ptr{Int64},Ptr{Complex128},Ptr{Vec{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function VecCreateGhostBlock(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:VecCreateGhostBlock,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Vec{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function VecCreateGhostBlockWithArray(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg8::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:VecCreateGhostBlockWithArray,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Complex128},Ptr{Vec{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function VecGhostGetLocalForm(arg1::Vec{Complex128},arg2::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:VecGhostGetLocalForm,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Ptr{Vec{Complex128}}),arg1,arg2) - return err -end - -function VecGhostRestoreLocalForm(arg1::Vec{Complex128},arg2::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:VecGhostRestoreLocalForm,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Ptr{Vec{Complex128}}),arg1,arg2) - return err -end - -function VecGhostIsLocalForm(arg1::Vec{Complex128},arg2::Vec{Complex128},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:VecGhostIsLocalForm,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Vec{Complex128},Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function VecGhostUpdateBegin(arg1::Vec{Complex128},arg2::InsertMode,arg3::ScatterMode) - err = ccall((:VecGhostUpdateBegin,petscComplexDouble),PetscErrorCode,(Vec{Complex128},InsertMode,ScatterMode),arg1,arg2,arg3) - return err -end - -function VecGhostUpdateEnd(arg1::Vec{Complex128},arg2::InsertMode,arg3::ScatterMode) - err = ccall((:VecGhostUpdateEnd,petscComplexDouble),PetscErrorCode,(Vec{Complex128},InsertMode,ScatterMode),arg1,arg2,arg3) - return err -end - -function VecConjugate(arg1::Vec{Complex128}) - err = ccall((:VecConjugate,petscComplexDouble),PetscErrorCode,(Vec{Complex128},),arg1) - return err -end - -function VecScatterCreateToAll(arg1::Vec{Complex128},arg2::Union{Ptr{VecScatter{Complex128}},StridedArray{VecScatter{Complex128}},Ptr{VecScatter{Complex128}},Ref{VecScatter{Complex128}}},arg3::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:VecScatterCreateToAll,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Ptr{VecScatter{Complex128}},Ptr{Vec{Complex128}}),arg1,arg2,arg3) - return err -end - -function VecScatterCreateToZero(arg1::Vec{Complex128},arg2::Union{Ptr{VecScatter{Complex128}},StridedArray{VecScatter{Complex128}},Ptr{VecScatter{Complex128}},Ref{VecScatter{Complex128}}},arg3::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:VecScatterCreateToZero,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Ptr{VecScatter{Complex128}},Ptr{Vec{Complex128}}),arg1,arg2,arg3) - return err -end - -function ISComplementVec(arg1::IS{Complex128},arg2::Vec{Complex128},arg3::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:ISComplementVec,petscComplexDouble),PetscErrorCode,(IS{Complex128},Vec{Complex128},Ptr{IS{Complex128}}),arg1,arg2,arg3) - return err -end - -function VecPow(arg1::Vec{Complex128},arg2::Complex128) - err = ccall((:VecPow,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Complex128),arg1,arg2) - return err -end - -function VecMedian(arg1::Vec{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128},arg4::Vec{Complex128}) - err = ccall((:VecMedian,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Vec{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function VecWhichBetween(arg1::Vec{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128},arg4::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:VecWhichBetween,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Vec{Complex128},Vec{Complex128},Ptr{IS{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function VecWhichBetweenOrEqual(arg1::Vec{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128},arg4::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:VecWhichBetweenOrEqual,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Vec{Complex128},Vec{Complex128},Ptr{IS{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function VecWhichGreaterThan(arg1::Vec{Complex128},arg2::Vec{Complex128},arg3::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:VecWhichGreaterThan,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Vec{Complex128},Ptr{IS{Complex128}}),arg1,arg2,arg3) - return err -end - -function VecWhichLessThan(arg1::Vec{Complex128},arg2::Vec{Complex128},arg3::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:VecWhichLessThan,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Vec{Complex128},Ptr{IS{Complex128}}),arg1,arg2,arg3) - return err -end - -function VecWhichEqual(arg1::Vec{Complex128},arg2::Vec{Complex128},arg3::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:VecWhichEqual,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Vec{Complex128},Ptr{IS{Complex128}}),arg1,arg2,arg3) - return err -end - -function VecISAXPY(arg1::Vec{Complex128},arg2::IS{Complex128},arg3::Complex128,arg4::Vec{Complex128}) - err = ccall((:VecISAXPY,petscComplexDouble),PetscErrorCode,(Vec{Complex128},IS{Complex128},Complex128,Vec{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function VecISSet(arg1::Vec{Complex128},arg2::IS{Complex128},arg3::Complex128) - err = ccall((:VecISSet,petscComplexDouble),PetscErrorCode,(Vec{Complex128},IS{Complex128},Complex128),arg1,arg2,arg3) - return err -end - -function VecBoundGradientProjection(arg1::Vec{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128},arg4::Vec{Complex128},arg5::Vec{Complex128}) - err = ccall((:VecBoundGradientProjection,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Vec{Complex128},Vec{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function VecStepBoundInfo(arg1::Vec{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128},arg4::Vec{Complex128},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg7::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecStepBoundInfo,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Vec{Complex128},Vec{Complex128},Vec{Complex128},Ptr{Float64},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function VecStepMax(arg1::Vec{Complex128},arg2::Vec{Complex128},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecStepMax,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Vec{Complex128},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function VecStepMaxBounded(arg1::Vec{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128},arg4::Vec{Complex128},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecStepMaxBounded,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Vec{Complex128},Vec{Complex128},Vec{Complex128},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscViewerMathematicaGetVector(arg1::PetscViewer{Complex128},arg2::Vec{Complex128}) - err = ccall((:PetscViewerMathematicaGetVector,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Vec{Complex128}),arg1,arg2) - return err -end - -function PetscViewerMathematicaPutVector(arg1::PetscViewer{Complex128},arg2::Vec{Complex128}) - err = ccall((:PetscViewerMathematicaPutVector,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Vec{Complex128}),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function VecsDestroy(arg0::Type{Complex128},arg1::Vecs) - ccall((:VecsDestroy,petscComplexDouble),PetscErrorCode,(Vecs,),arg1) -end -=# -#= skipping function with undefined symbols: - function VecsCreateSeq(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Vecs},StridedArray{Vecs},Ptr{Vecs},Ref{Vecs}}) - ccall((:VecsCreateSeq,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Int64,Ptr{Vecs}),arg1,arg2,arg3,arg4) -end -=# -#= skipping function with undefined symbols: - function VecsCreateSeqWithArray(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg5::Union{Ptr{Vecs},StridedArray{Vecs},Ptr{Vecs},Ref{Vecs}}) - ccall((:VecsCreateSeqWithArray,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Int64,Ptr{Complex128},Ptr{Vecs}),arg1,arg2,arg3,arg4,arg5) -end -=# -#= skipping function with undefined symbols: - function VecsDuplicate(arg0::Type{Complex128},arg1::Vecs,arg2::Union{Ptr{Vecs},StridedArray{Vecs},Ptr{Vecs},Ref{Vecs}}) - ccall((:VecsDuplicate,petscComplexDouble),PetscErrorCode,(Vecs,Ptr{Vecs}),arg1,arg2) -end -=# -function VecNestGetSubVecs(arg1::Vec{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Vec{Complex128}}},StridedArray{Ptr{Vec{Complex128}}},Ptr{Ptr{Vec{Complex128}}},Ref{Ptr{Vec{Complex128}}}}) - err = ccall((:VecNestGetSubVecs,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Ptr{Int64},Ptr{Ptr{Vec{Complex128}}}),arg1,arg2,arg3) - return err -end - -function VecNestGetSubVec(arg1::Vec{Complex128},arg2::Integer,arg3::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:VecNestGetSubVec,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,Ptr{Vec{Complex128}}),arg1,arg2,arg3) - return err -end - -function VecNestSetSubVecs(arg1::Vec{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:VecNestSetSubVecs,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,Ptr{Int64},Ptr{Vec{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function VecNestSetSubVec(arg1::Vec{Complex128},arg2::Integer,arg3::Vec{Complex128}) - err = ccall((:VecNestSetSubVec,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Int64,Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function VecCreateNest(arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}},arg4::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}},arg5::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:VecCreateNest,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Ptr{IS{Complex128}},Ptr{Vec{Complex128}},Ptr{Vec{Complex128}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function VecNestGetSize(arg1::Vec{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:VecNestGetSize,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Ptr{Int64}),arg1,arg2) - return err -end - -function PetscOptionsGetVec(arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Vec{Complex128},arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetVec,petscComplexDouble),PetscErrorCode,(Cstring,Cstring,Vec{Complex128},Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function VecChop(arg1::Vec{Complex128},arg2::Float64) - err = ccall((:VecChop,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Float64),arg1,arg2) - return err -end - -function VecGetLayout(arg1::Vec{Complex128},arg2::Union{Ptr{PetscLayout{Complex128}},StridedArray{PetscLayout{Complex128}},Ptr{PetscLayout{Complex128}},Ref{PetscLayout{Complex128}}}) - err = ccall((:VecGetLayout,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Ptr{PetscLayout{Complex128}}),arg1,arg2) - return err -end - -function VecSetLayout(arg1::Vec{Complex128},arg2::PetscLayout{Complex128}) - err = ccall((:VecSetLayout,petscComplexDouble),PetscErrorCode,(Vec{Complex128},PetscLayout{Complex128}),arg1,arg2) - return err -end - -function PetscSectionVecView(arg1::PetscSection,arg2::Vec{Complex128},arg3::PetscViewer{Complex128}) - err = ccall((:PetscSectionVecView,petscComplexDouble),PetscErrorCode,(PetscSection,Vec{Complex128},PetscViewer{Complex128}),arg1,arg2,arg3) - return err -end - -function VecGetValuesSection(arg1::Vec{Complex128},arg2::PetscSection,arg3::Integer,arg4::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}}) - err = ccall((:VecGetValuesSection,petscComplexDouble),PetscErrorCode,(Vec{Complex128},PetscSection,Int64,Ptr{Ptr{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function VecSetValuesSection(arg1::Vec{Complex128},arg2::PetscSection,arg3::Integer,arg4::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg5::InsertMode) - err = ccall((:VecSetValuesSection,petscComplexDouble),PetscErrorCode,(Vec{Complex128},PetscSection,Int64,Ptr{Complex128},InsertMode),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscSectionVecNorm(arg1::PetscSection,arg2::PetscSection,arg3::Vec{Complex128},arg4::NormType,arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscSectionVecNorm,petscComplexDouble),PetscErrorCode,(PetscSection,PetscSection,Vec{Complex128},NormType,Ptr{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatGetFactor(arg1::Mat{Complex128},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::MatFactorType,arg4::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatGetFactor,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Cstring,MatFactorType,Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function MatGetFactorAvailable(arg1::Mat{Complex128},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::MatFactorType,arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatGetFactorAvailable,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Cstring,MatFactorType,Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function MatFactorGetSolverPackage(arg1::Mat{Complex128},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:MatFactorGetSolverPackage,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function MatGetFactorType(arg1::Mat{Complex128},arg2::Union{Ptr{MatFactorType},StridedArray{MatFactorType},Ptr{MatFactorType},Ref{MatFactorType}}) - err = ccall((:MatGetFactorType,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{MatFactorType}),arg1,arg2) - return err -end - -function MatSolverPackageRegister(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::MatType,arg3::MatFactorType,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatSolverPackageRegister,petscComplexDouble),PetscErrorCode,(Cstring,Cstring,MatFactorType,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function MatSolverPackageGet(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::MatType,arg3::MatFactorType,arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg6::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:MatSolverPackageGet,petscComplexDouble),PetscErrorCode,(Cstring,Cstring,MatFactorType,Ptr{PetscBool},Ptr{PetscBool},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatInitializePackage(arg0::Type{Complex128}) - err = ccall((:MatInitializePackage,petscComplexDouble),PetscErrorCode,()) - return err -end - -function MatCreate(arg1::MPI_Comm,arg2::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreate,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{Mat{Complex128}}),arg1,arg2) - return err -end - -function MatSetSizes(arg1::Mat{Complex128},arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer) - err = ccall((:MatSetSizes,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Int64,Int64,Int64),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatSetType(arg1::Mat{Complex128},arg2::MatType) - err = ccall((:MatSetType,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Cstring),arg1,arg2) - return err -end - -function MatSetFromOptions(arg1::Mat{Complex128}) - err = ccall((:MatSetFromOptions,petscComplexDouble),PetscErrorCode,(Mat{Complex128},),arg1) - return err -end - -function MatViewFromOptions(A::Mat{Complex128},obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:MatViewFromOptions,petscComplexDouble),PetscErrorCode,(Mat{Complex128},PetscObject,Cstring),A,obj,name) - return err -end - -function MatRegister(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatRegister,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function MatRegisterBaseName(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:MatRegisterBaseName,petscComplexDouble),PetscErrorCode,(Cstring,Cstring,Cstring),arg1,arg2,arg3) - return err -end - -function MatSetOptionsPrefix(arg1::Mat{Complex128},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:MatSetOptionsPrefix,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Cstring),arg1,arg2) - return err -end - -function MatAppendOptionsPrefix(arg1::Mat{Complex128},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:MatAppendOptionsPrefix,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Cstring),arg1,arg2) - return err -end - -function MatGetOptionsPrefix(arg1::Mat{Complex128},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:MatGetOptionsPrefix,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function MatSetErrorIfFPE(arg1::Mat{Complex128},arg2::PetscBool) - err = ccall((:MatSetErrorIfFPE,petscComplexDouble),PetscErrorCode,(Mat{Complex128},PetscBool),arg1,arg2) - return err -end - -function MatCreateSeqDense(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg5::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateSeqDense,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Int64,Ptr{Complex128},Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatCreateDense(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg7::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateDense,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Ptr{Complex128},Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function MatCreateSeqAIJ(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateSeqAIJ,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Ptr{Int64},Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatCreateAIJ(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Integer,arg9::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg10::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateAIJ,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Int64,Ptr{Int64},Int64,Ptr{Int64},Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -function MatCreateMPIAIJWithArrays(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg9::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateMPIAIJWithArrays,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Int64},Ptr{Complex128},Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) - return err -end - -function MatCreateMPIAIJWithSplitArrays(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg9::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg10::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg11::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg12::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateMPIAIJWithSplitArrays,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Int64},Ptr{Complex128},Ptr{Int64},Ptr{Int64},Ptr{Complex128},Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12) - return err -end - -function MatCreateSeqBAIJ(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateSeqBAIJ,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function MatCreateBAIJ(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg9::Integer,arg10::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg11::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateBAIJ,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Int64},Int64,Ptr{Int64},Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) - return err -end - -function MatCreateMPIBAIJWithArrays(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg9::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg10::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateMPIBAIJWithArrays,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Int64},Ptr{Complex128},Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -function MatCreateMPIAdj(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateMPIAdj,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Int64,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function MatCreateSeqSBAIJ(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateSeqSBAIJ,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function MatCreateSBAIJ(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg9::Integer,arg10::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg11::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateSBAIJ,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Int64},Int64,Ptr{Int64},Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) - return err -end - -function MatCreateMPISBAIJWithArrays(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg9::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg10::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateMPISBAIJWithArrays,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Int64},Ptr{Complex128},Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -function MatSeqSBAIJSetPreallocationCSR(arg1::Mat{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - err = ccall((:MatSeqSBAIJSetPreallocationCSR,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Ptr{Int64},Ptr{Int64},Ptr{Complex128}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatMPISBAIJSetPreallocationCSR(arg1::Mat{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - err = ccall((:MatMPISBAIJSetPreallocationCSR,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Ptr{Int64},Ptr{Int64},Ptr{Complex128}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatXAIJSetPreallocation(arg1::Mat{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatXAIJSetPreallocation,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatCreateShell(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg7::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateShell,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Ptr{Void},Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function MatCreateNormal(arg1::Mat{Complex128},arg2::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateNormal,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Mat{Complex128}}),arg1,arg2) - return err -end - -function MatCreateLRC(arg1::Mat{Complex128},arg2::Mat{Complex128},arg3::Mat{Complex128},arg4::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateLRC,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Mat{Complex128},Mat{Complex128},Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function MatCreateIS(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::ISLocalToGlobalMapping{Complex128},arg8::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateIS,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Int64,ISLocalToGlobalMapping{Complex128},Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function MatCreateSeqAIJCRL(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateSeqAIJCRL,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Ptr{Int64},Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatCreateMPIAIJCRL(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Integer,arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateMPIAIJCRL,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Ptr{Int64},Int64,Ptr{Int64},Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function MatCreateSeqBSTRM(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateSeqBSTRM,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function MatCreateMPIBSTRM(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg9::Integer,arg10::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg11::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateMPIBSTRM,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Int64},Int64,Ptr{Int64},Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) - return err -end - -function MatCreateSeqSBSTRM(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateSeqSBSTRM,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function MatCreateMPISBSTRM(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg9::Integer,arg10::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg11::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateMPISBSTRM,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Int64},Int64,Ptr{Int64},Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) - return err -end - -function MatCreateScatter(arg1::MPI_Comm,arg2::VecScatter{Complex128},arg3::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateScatter,petscComplexDouble),PetscErrorCode,(comm_type,VecScatter{Complex128},Ptr{Mat{Complex128}}),arg1,arg2,arg3) - return err -end - -function MatScatterSetVecScatter(arg1::Mat{Complex128},arg2::VecScatter{Complex128}) - err = ccall((:MatScatterSetVecScatter,petscComplexDouble),PetscErrorCode,(Mat{Complex128},VecScatter{Complex128}),arg1,arg2) - return err -end - -function MatScatterGetVecScatter(arg1::Mat{Complex128},arg2::Union{Ptr{VecScatter{Complex128}},StridedArray{VecScatter{Complex128}},Ptr{VecScatter{Complex128}},Ref{VecScatter{Complex128}}}) - err = ccall((:MatScatterGetVecScatter,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{VecScatter{Complex128}}),arg1,arg2) - return err -end - -function MatCreateBlockMat(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateBlockMat,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function MatCompositeAddMat(arg1::Mat{Complex128},arg2::Mat{Complex128}) - err = ccall((:MatCompositeAddMat,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Mat{Complex128}),arg1,arg2) - return err -end - -function MatCompositeMerge(arg1::Mat{Complex128}) - err = ccall((:MatCompositeMerge,petscComplexDouble),PetscErrorCode,(Mat{Complex128},),arg1) - return err -end - -function MatCreateComposite(arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}},arg4::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateComposite,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Ptr{Mat{Complex128}},Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function MatCompositeSetType(arg1::Mat{Complex128},arg2::MatCompositeType) - err = ccall((:MatCompositeSetType,petscComplexDouble),PetscErrorCode,(Mat{Complex128},MatCompositeType),arg1,arg2) - return err -end - -function MatCreateFFT(arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::MatType,arg5::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateFFT,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Ptr{Int64},Cstring,Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatCreateSeqCUFFT(arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateSeqCUFFT,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Ptr{Int64},Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function MatCreateTranspose(arg1::Mat{Complex128},arg2::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateTranspose,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Mat{Complex128}}),arg1,arg2) - return err -end - -function MatCreateHermitianTranspose(arg1::Mat{Complex128},arg2::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateHermitianTranspose,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Mat{Complex128}}),arg1,arg2) - return err -end - -function MatCreateSubMatrix(arg1::Mat{Complex128},arg2::IS{Complex128},arg3::IS{Complex128},arg4::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateSubMatrix,petscComplexDouble),PetscErrorCode,(Mat{Complex128},IS{Complex128},IS{Complex128},Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function MatSubMatrixUpdate(arg1::Mat{Complex128},arg2::Mat{Complex128},arg3::IS{Complex128},arg4::IS{Complex128}) - err = ccall((:MatSubMatrixUpdate,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Mat{Complex128},IS{Complex128},IS{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function MatCreateLocalRef(arg1::Mat{Complex128},arg2::IS{Complex128},arg3::IS{Complex128},arg4::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateLocalRef,petscComplexDouble),PetscErrorCode,(Mat{Complex128},IS{Complex128},IS{Complex128},Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function MatPythonSetType(arg1::Mat{Complex128},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:MatPythonSetType,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Cstring),arg1,arg2) - return err -end - -function MatSetUp(arg1::Mat{Complex128}) - err = ccall((:MatSetUp,petscComplexDouble),PetscErrorCode,(Mat{Complex128},),arg1) - return err -end - -function MatDestroy(arg1::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatDestroy,petscComplexDouble),PetscErrorCode,(Ptr{Mat{Complex128}},),arg1) - return err -end - -function MatGetNonzeroState(arg1::Mat{Complex128},arg2::Union{Ptr{PetscObjectState},StridedArray{PetscObjectState},Ptr{PetscObjectState},Ref{PetscObjectState}}) - err = ccall((:MatGetNonzeroState,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{PetscObjectState}),arg1,arg2) - return err -end - -function MatConjugate(arg1::Mat{Complex128}) - err = ccall((:MatConjugate,petscComplexDouble),PetscErrorCode,(Mat{Complex128},),arg1) - return err -end - -function MatRealPart(arg1::Mat{Complex128}) - err = ccall((:MatRealPart,petscComplexDouble),PetscErrorCode,(Mat{Complex128},),arg1) - return err -end - -function MatImaginaryPart(arg1::Mat{Complex128}) - err = ccall((:MatImaginaryPart,petscComplexDouble),PetscErrorCode,(Mat{Complex128},),arg1) - return err -end - -function MatGetDiagonalBlock(arg1::Mat{Complex128},arg2::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatGetDiagonalBlock,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Mat{Complex128}}),arg1,arg2) - return err -end - -function MatGetTrace(arg1::Mat{Complex128},arg2::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - err = ccall((:MatGetTrace,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Complex128}),arg1,arg2) - return err -end - -function MatInvertBlockDiagonal(arg1::Mat{Complex128},arg2::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}}) - err = ccall((:MatInvertBlockDiagonal,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Ptr{Complex128}}),arg1,arg2) - return err -end - -function MatSetValues(arg1::Mat{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg7::InsertMode) - err = ccall((:MatSetValues,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Ptr{Int64},Int64,Ptr{Int64},Ptr{Complex128},InsertMode),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function MatSetValuesBlocked(arg1::Mat{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg7::InsertMode) - err = ccall((:MatSetValuesBlocked,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Ptr{Int64},Int64,Ptr{Int64},Ptr{Complex128},InsertMode),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function MatSetValuesRow(arg1::Mat{Complex128},arg2::Integer,arg3::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - err = ccall((:MatSetValuesRow,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Ptr{Complex128}),arg1,arg2,arg3) - return err -end - -function MatSetValuesRowLocal(arg1::Mat{Complex128},arg2::Integer,arg3::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - err = ccall((:MatSetValuesRowLocal,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Ptr{Complex128}),arg1,arg2,arg3) - return err -end - -function MatSetValuesBatch(arg1::Mat{Complex128},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - err = ccall((:MatSetValuesBatch,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Int64,Ptr{Int64},Ptr{Complex128}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatSetRandom(arg1::Mat{Complex128},arg2::PetscRandom) - err = ccall((:MatSetRandom,petscComplexDouble),PetscErrorCode,(Mat{Complex128},PetscRandom),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function MatSetValuesStencil(arg1::Mat{Complex128},arg2::Integer,arg3::Union{Ptr{MatStencil},StridedArray{MatStencil},Ptr{MatStencil},Ref{MatStencil}},arg4::Integer,arg5::Union{Ptr{MatStencil},StridedArray{MatStencil},Ptr{MatStencil},Ref{MatStencil}},arg6::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg7::InsertMode) - ccall((:MatSetValuesStencil,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Ptr{MatStencil},Int64,Ptr{MatStencil},Ptr{Complex128},InsertMode),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -#= skipping function with undefined symbols: - function MatSetValuesBlockedStencil(arg1::Mat{Complex128},arg2::Integer,arg3::Union{Ptr{MatStencil},StridedArray{MatStencil},Ptr{MatStencil},Ref{MatStencil}},arg4::Integer,arg5::Union{Ptr{MatStencil},StridedArray{MatStencil},Ptr{MatStencil},Ref{MatStencil}},arg6::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg7::InsertMode) - ccall((:MatSetValuesBlockedStencil,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Ptr{MatStencil},Int64,Ptr{MatStencil},Ptr{Complex128},InsertMode),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -function MatSetStencil(arg1::Mat{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Integer) - err = ccall((:MatSetStencil,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Ptr{Int64},Ptr{Int64},Int64),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatSetColoring(arg1::Mat{Complex128},arg2::ISColoring{Complex128}) - err = ccall((:MatSetColoring,petscComplexDouble),PetscErrorCode,(Mat{Complex128},ISColoring{Complex128}),arg1,arg2) - return err -end - -function MatSetValuesAdifor(arg1::Mat{Complex128},arg2::Integer,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatSetValuesAdifor,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function MatAssemblyBegin(arg1::Mat{Complex128},arg2::MatAssemblyType) - err = ccall((:MatAssemblyBegin,petscComplexDouble),PetscErrorCode,(Mat{Complex128},MatAssemblyType),arg1,arg2) - return err -end - -function MatAssemblyEnd(arg1::Mat{Complex128},arg2::MatAssemblyType) - err = ccall((:MatAssemblyEnd,petscComplexDouble),PetscErrorCode,(Mat{Complex128},MatAssemblyType),arg1,arg2) - return err -end - -function MatAssembled(arg1::Mat{Complex128},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatAssembled,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{PetscBool}),arg1,arg2) - return err -end - -function MatSetOption(arg1::Mat{Complex128},arg2::MatOption,arg3::PetscBool) - err = ccall((:MatSetOption,petscComplexDouble),PetscErrorCode,(Mat{Complex128},MatOption,PetscBool),arg1,arg2,arg3) - return err -end - -function MatGetOption(arg1::Mat{Complex128},arg2::MatOption,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatGetOption,petscComplexDouble),PetscErrorCode,(Mat{Complex128},MatOption,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function MatGetType(arg1::Mat{Complex128},arg2::Union{Ptr{MatType},StridedArray{MatType},Ptr{MatType},Ref{MatType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:MatGetType,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function MatGetValues(arg1::Mat{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - err = ccall((:MatGetValues,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Ptr{Int64},Int64,Ptr{Int64},Ptr{Complex128}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatGetRow(arg1::Mat{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg5::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}}) - err = ccall((:MatGetRow,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Complex128}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatRestoreRow(arg1::Mat{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg5::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}}) - err = ccall((:MatRestoreRow,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Complex128}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatGetRowUpperTriangular(arg1::Mat{Complex128}) - err = ccall((:MatGetRowUpperTriangular,petscComplexDouble),PetscErrorCode,(Mat{Complex128},),arg1) - return err -end - -function MatRestoreRowUpperTriangular(arg1::Mat{Complex128}) - err = ccall((:MatRestoreRowUpperTriangular,petscComplexDouble),PetscErrorCode,(Mat{Complex128},),arg1) - return err -end - -function MatGetColumn(arg1::Mat{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg5::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}}) - err = ccall((:MatGetColumn,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Complex128}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatRestoreColumn(arg1::Mat{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg5::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}}) - err = ccall((:MatRestoreColumn,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Complex128}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatGetColumnVector(arg1::Mat{Complex128},arg2::Vec{Complex128},arg3::Integer) - err = ccall((:MatGetColumnVector,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Vec{Complex128},Int64),arg1,arg2,arg3) - return err -end - -function MatSeqAIJGetArray(arg1::Mat{Complex128},arg2::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}}) - err = ccall((:MatSeqAIJGetArray,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Ptr{Complex128}}),arg1,arg2) - return err -end - -function MatSeqAIJRestoreArray(arg1::Mat{Complex128},arg2::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}}) - err = ccall((:MatSeqAIJRestoreArray,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Ptr{Complex128}}),arg1,arg2) - return err -end - -function MatSeqAIJGetMaxRowNonzeros(arg1::Mat{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatSeqAIJGetMaxRowNonzeros,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Int64}),arg1,arg2) - return err -end - -function MatSeqAIJSetValuesLocalFast(arg1::Mat{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg7::InsertMode) - err = ccall((:MatSeqAIJSetValuesLocalFast,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Ptr{Int64},Int64,Ptr{Int64},Ptr{Complex128},InsertMode),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function MatDenseGetArray(arg1::Mat{Complex128},arg2::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}}) - err = ccall((:MatDenseGetArray,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Ptr{Complex128}}),arg1,arg2) - return err -end - -function MatDenseRestoreArray(arg1::Mat{Complex128},arg2::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}}) - err = ccall((:MatDenseRestoreArray,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Ptr{Complex128}}),arg1,arg2) - return err -end - -function MatGetBlockSize(arg1::Mat{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatGetBlockSize,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Int64}),arg1,arg2) - return err -end - -function MatSetBlockSize(arg1::Mat{Complex128},arg2::Integer) - err = ccall((:MatSetBlockSize,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64),arg1,arg2) - return err -end - -function MatGetBlockSizes(arg1::Mat{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatGetBlockSizes,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function MatSetBlockSizes(arg1::Mat{Complex128},arg2::Integer,arg3::Integer) - err = ccall((:MatSetBlockSizes,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Int64),arg1,arg2,arg3) - return err -end - -function MatSetBlockSizesFromMats(arg1::Mat{Complex128},arg2::Mat{Complex128},arg3::Mat{Complex128}) - err = ccall((:MatSetBlockSizesFromMats,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Mat{Complex128},Mat{Complex128}),arg1,arg2,arg3) - return err -end - -function MatSetNThreads(arg1::Mat{Complex128},arg2::Integer) - err = ccall((:MatSetNThreads,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64),arg1,arg2) - return err -end - -function MatGetNThreads(arg1::Mat{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatGetNThreads,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Int64}),arg1,arg2) - return err -end - -function MatMult(arg1::Mat{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:MatMult,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function MatMultDiagonalBlock(arg1::Mat{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:MatMultDiagonalBlock,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function MatMultAdd(arg1::Mat{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128},arg4::Vec{Complex128}) - err = ccall((:MatMultAdd,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Vec{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function MatMultTranspose(arg1::Mat{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:MatMultTranspose,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function MatMultHermitianTranspose(arg1::Mat{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:MatMultHermitianTranspose,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function MatIsTranspose(arg1::Mat{Complex128},arg2::Mat{Complex128},arg3::Float64,arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatIsTranspose,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Mat{Complex128},Float64,Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function MatIsHermitianTranspose(arg1::Mat{Complex128},arg2::Mat{Complex128},arg3::Float64,arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatIsHermitianTranspose,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Mat{Complex128},Float64,Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function MatMultTransposeAdd(arg1::Mat{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128},arg4::Vec{Complex128}) - err = ccall((:MatMultTransposeAdd,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Vec{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function MatMultHermitianTransposeAdd(arg1::Mat{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128},arg4::Vec{Complex128}) - err = ccall((:MatMultHermitianTransposeAdd,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Vec{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function MatMultConstrained(arg1::Mat{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:MatMultConstrained,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function MatMultTransposeConstrained(arg1::Mat{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:MatMultTransposeConstrained,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function MatMatSolve(arg1::Mat{Complex128},arg2::Mat{Complex128},arg3::Mat{Complex128}) - err = ccall((:MatMatSolve,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Mat{Complex128},Mat{Complex128}),arg1,arg2,arg3) - return err -end - -function MatResidual(arg1::Mat{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128},arg4::Vec{Complex128}) - err = ccall((:MatResidual,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Vec{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function MatConvert(arg1::Mat{Complex128},arg2::MatType,arg3::MatReuse,arg4::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatConvert,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Cstring,MatReuse,Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function MatDuplicate(arg1::Mat{Complex128},arg2::MatDuplicateOption,arg3::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatDuplicate,petscComplexDouble),PetscErrorCode,(Mat{Complex128},MatDuplicateOption,Ptr{Mat{Complex128}}),arg1,arg2,arg3) - return err -end - -function MatCopy(arg1::Mat{Complex128},arg2::Mat{Complex128},arg3::MatStructure) - err = ccall((:MatCopy,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Mat{Complex128},MatStructure),arg1,arg2,arg3) - return err -end - -function MatView(arg1::Mat{Complex128},arg2::PetscViewer{Complex128}) - err = ccall((:MatView,petscComplexDouble),PetscErrorCode,(Mat{Complex128},PetscViewer{Complex128}),arg1,arg2) - return err -end - -function MatIsSymmetric(arg1::Mat{Complex128},arg2::Float64,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatIsSymmetric,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Float64,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function MatIsStructurallySymmetric(arg1::Mat{Complex128},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatIsStructurallySymmetric,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{PetscBool}),arg1,arg2) - return err -end - -function MatIsHermitian(arg1::Mat{Complex128},arg2::Float64,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatIsHermitian,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Float64,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function MatIsSymmetricKnown(arg1::Mat{Complex128},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatIsSymmetricKnown,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{PetscBool},Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function MatIsHermitianKnown(arg1::Mat{Complex128},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatIsHermitianKnown,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{PetscBool},Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function MatMissingDiagonal(arg1::Mat{Complex128},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatMissingDiagonal,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{PetscBool},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function MatLoad(arg1::Mat{Complex128},arg2::PetscViewer{Complex128}) - err = ccall((:MatLoad,petscComplexDouble),PetscErrorCode,(Mat{Complex128},PetscViewer{Complex128}),arg1,arg2) - return err -end - -function MatGetRowIJ(arg1::Mat{Complex128},arg2::Integer,arg3::PetscBool,arg4::PetscBool,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg7::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg8::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatGetRowIJ,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,PetscBool,PetscBool,Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function MatRestoreRowIJ(arg1::Mat{Complex128},arg2::Integer,arg3::PetscBool,arg4::PetscBool,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg7::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg8::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatRestoreRowIJ,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,PetscBool,PetscBool,Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function MatGetColumnIJ(arg1::Mat{Complex128},arg2::Integer,arg3::PetscBool,arg4::PetscBool,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg7::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg8::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatGetColumnIJ,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,PetscBool,PetscBool,Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function MatRestoreColumnIJ(arg1::Mat{Complex128},arg2::Integer,arg3::PetscBool,arg4::PetscBool,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg7::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg8::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatRestoreColumnIJ,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,PetscBool,PetscBool,Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function MatGetInfo(arg1::Mat{Complex128},arg2::MatInfoType,arg3::Union{Ptr{MatInfo},StridedArray{MatInfo},Ptr{MatInfo},Ref{MatInfo}}) - err = ccall((:MatGetInfo,petscComplexDouble),PetscErrorCode,(Mat{Complex128},MatInfoType,Ptr{MatInfo}),arg1,arg2,arg3) - return err -end - -function MatGetDiagonal(arg1::Mat{Complex128},arg2::Vec{Complex128}) - err = ccall((:MatGetDiagonal,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Vec{Complex128}),arg1,arg2) - return err -end - -function MatGetRowMax(arg1::Mat{Complex128},arg2::Vec{Complex128},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatGetRowMax,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Vec{Complex128},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function MatGetRowMin(arg1::Mat{Complex128},arg2::Vec{Complex128},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatGetRowMin,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Vec{Complex128},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function MatGetRowMaxAbs(arg1::Mat{Complex128},arg2::Vec{Complex128},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatGetRowMaxAbs,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Vec{Complex128},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function MatGetRowMinAbs(arg1::Mat{Complex128},arg2::Vec{Complex128},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatGetRowMinAbs,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Vec{Complex128},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function MatGetRowSum(arg1::Mat{Complex128},arg2::Vec{Complex128}) - err = ccall((:MatGetRowSum,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Vec{Complex128}),arg1,arg2) - return err -end - -function MatTranspose(arg1::Mat{Complex128},arg2::MatReuse,arg3::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatTranspose,petscComplexDouble),PetscErrorCode,(Mat{Complex128},MatReuse,Ptr{Mat{Complex128}}),arg1,arg2,arg3) - return err -end - -function MatHermitianTranspose(arg1::Mat{Complex128},arg2::MatReuse,arg3::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatHermitianTranspose,petscComplexDouble),PetscErrorCode,(Mat{Complex128},MatReuse,Ptr{Mat{Complex128}}),arg1,arg2,arg3) - return err -end - -function MatPermute(arg1::Mat{Complex128},arg2::IS{Complex128},arg3::IS{Complex128},arg4::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatPermute,petscComplexDouble),PetscErrorCode,(Mat{Complex128},IS{Complex128},IS{Complex128},Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function MatDiagonalScale(arg1::Mat{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:MatDiagonalScale,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function MatDiagonalSet(arg1::Mat{Complex128},arg2::Vec{Complex128},arg3::InsertMode) - err = ccall((:MatDiagonalSet,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Vec{Complex128},InsertMode),arg1,arg2,arg3) - return err -end - -function MatEqual(arg1::Mat{Complex128},arg2::Mat{Complex128},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatEqual,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Mat{Complex128},Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function MatMultEqual(arg1::Mat{Complex128},arg2::Mat{Complex128},arg3::Integer,arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatMultEqual,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Mat{Complex128},Int64,Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function MatMultAddEqual(arg1::Mat{Complex128},arg2::Mat{Complex128},arg3::Integer,arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatMultAddEqual,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Mat{Complex128},Int64,Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function MatMultTransposeEqual(arg1::Mat{Complex128},arg2::Mat{Complex128},arg3::Integer,arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatMultTransposeEqual,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Mat{Complex128},Int64,Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function MatMultTransposeAddEqual(arg1::Mat{Complex128},arg2::Mat{Complex128},arg3::Integer,arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatMultTransposeAddEqual,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Mat{Complex128},Int64,Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function MatNorm(arg1::Mat{Complex128},arg2::NormType,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:MatNorm,petscComplexDouble),PetscErrorCode,(Mat{Complex128},NormType,Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function MatGetColumnNorms(arg1::Mat{Complex128},arg2::NormType,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:MatGetColumnNorms,petscComplexDouble),PetscErrorCode,(Mat{Complex128},NormType,Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function MatZeroEntries(arg1::Mat{Complex128}) - err = ccall((:MatZeroEntries,petscComplexDouble),PetscErrorCode,(Mat{Complex128},),arg1) - return err -end - -function MatZeroRows(arg1::Mat{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Complex128,arg5::Vec{Complex128},arg6::Vec{Complex128}) - err = ccall((:MatZeroRows,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Ptr{Int64},Complex128,Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatZeroRowsIS(arg1::Mat{Complex128},arg2::IS{Complex128},arg3::Complex128,arg4::Vec{Complex128},arg5::Vec{Complex128}) - err = ccall((:MatZeroRowsIS,petscComplexDouble),PetscErrorCode,(Mat{Complex128},IS{Complex128},Complex128,Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3,arg4,arg5) - return err -end - -#= skipping function with undefined symbols: - function MatZeroRowsStencil(arg1::Mat{Complex128},arg2::Integer,arg3::Union{Ptr{MatStencil},StridedArray{MatStencil},Ptr{MatStencil},Ref{MatStencil}},arg4::Complex128,arg5::Vec{Complex128},arg6::Vec{Complex128}) - ccall((:MatZeroRowsStencil,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Ptr{MatStencil},Complex128,Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3,arg4,arg5,arg6) -end -=# -#= skipping function with undefined symbols: - function MatZeroRowsColumnsStencil(arg1::Mat{Complex128},arg2::Integer,arg3::Union{Ptr{MatStencil},StridedArray{MatStencil},Ptr{MatStencil},Ref{MatStencil}},arg4::Complex128,arg5::Vec{Complex128},arg6::Vec{Complex128}) - ccall((:MatZeroRowsColumnsStencil,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Ptr{MatStencil},Complex128,Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3,arg4,arg5,arg6) -end -=# -function MatZeroRowsColumns(arg1::Mat{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Complex128,arg5::Vec{Complex128},arg6::Vec{Complex128}) - err = ccall((:MatZeroRowsColumns,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Ptr{Int64},Complex128,Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatZeroRowsColumnsIS(arg1::Mat{Complex128},arg2::IS{Complex128},arg3::Complex128,arg4::Vec{Complex128},arg5::Vec{Complex128}) - err = ccall((:MatZeroRowsColumnsIS,petscComplexDouble),PetscErrorCode,(Mat{Complex128},IS{Complex128},Complex128,Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatGetSize(arg1::Mat{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatGetSize,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function MatGetLocalSize(arg1::Mat{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatGetLocalSize,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function MatGetOwnershipRange(arg1::Mat{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatGetOwnershipRange,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function MatGetOwnershipRanges(arg1::Mat{Complex128},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:MatGetOwnershipRanges,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function MatGetOwnershipRangeColumn(arg1::Mat{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatGetOwnershipRangeColumn,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function MatGetOwnershipRangesColumn(arg1::Mat{Complex128},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:MatGetOwnershipRangesColumn,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function MatGetOwnershipIS(arg1::Mat{Complex128},arg2::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}},arg3::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:MatGetOwnershipIS,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{IS{Complex128}},Ptr{IS{Complex128}}),arg1,arg2,arg3) - return err -end - -function MatGetSubMatrices(arg1::Mat{Complex128},arg2::Integer,arg3::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}},arg4::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}},arg5::MatReuse,arg6::Union{Ptr{Ptr{Mat{Complex128}}},StridedArray{Ptr{Mat{Complex128}}},Ptr{Ptr{Mat{Complex128}}},Ref{Ptr{Mat{Complex128}}}}) - err = ccall((:MatGetSubMatrices,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Ptr{IS{Complex128}},Ptr{IS{Complex128}},MatReuse,Ptr{Ptr{Mat{Complex128}}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatGetSubMatricesMPI(arg1::Mat{Complex128},arg2::Integer,arg3::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}},arg4::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}},arg5::MatReuse,arg6::Union{Ptr{Ptr{Mat{Complex128}}},StridedArray{Ptr{Mat{Complex128}}},Ptr{Ptr{Mat{Complex128}}},Ref{Ptr{Mat{Complex128}}}}) - err = ccall((:MatGetSubMatricesMPI,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Ptr{IS{Complex128}},Ptr{IS{Complex128}},MatReuse,Ptr{Ptr{Mat{Complex128}}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatDestroyMatrices(arg1::Integer,arg2::Union{Ptr{Ptr{Mat{Complex128}}},StridedArray{Ptr{Mat{Complex128}}},Ptr{Ptr{Mat{Complex128}}},Ref{Ptr{Mat{Complex128}}}}) - err = ccall((:MatDestroyMatrices,petscComplexDouble),PetscErrorCode,(Int64,Ptr{Ptr{Mat{Complex128}}}),arg1,arg2) - return err -end - -function MatGetSubMatrix(arg1::Mat{Complex128},arg2::IS{Complex128},arg3::IS{Complex128},arg4::MatReuse,arg5::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatGetSubMatrix,petscComplexDouble),PetscErrorCode,(Mat{Complex128},IS{Complex128},IS{Complex128},MatReuse,Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatGetLocalSubMatrix(arg1::Mat{Complex128},arg2::IS{Complex128},arg3::IS{Complex128},arg4::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatGetLocalSubMatrix,petscComplexDouble),PetscErrorCode,(Mat{Complex128},IS{Complex128},IS{Complex128},Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function MatRestoreLocalSubMatrix(arg1::Mat{Complex128},arg2::IS{Complex128},arg3::IS{Complex128},arg4::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatRestoreLocalSubMatrix,petscComplexDouble),PetscErrorCode,(Mat{Complex128},IS{Complex128},IS{Complex128},Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function MatGetSeqNonzeroStructure(arg1::Mat{Complex128},arg2::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatGetSeqNonzeroStructure,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Mat{Complex128}}),arg1,arg2) - return err -end - -function MatDestroySeqNonzeroStructure(arg1::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatDestroySeqNonzeroStructure,petscComplexDouble),PetscErrorCode,(Ptr{Mat{Complex128}},),arg1) - return err -end - -function MatCreateMPIAIJSumSeqAIJ(arg1::MPI_Comm,arg2::Mat{Complex128},arg3::Integer,arg4::Integer,arg5::MatReuse,arg6::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateMPIAIJSumSeqAIJ,petscComplexDouble),PetscErrorCode,(comm_type,Mat{Complex128},Int64,Int64,MatReuse,Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatCreateMPIAIJSumSeqAIJSymbolic(arg1::MPI_Comm,arg2::Mat{Complex128},arg3::Integer,arg4::Integer,arg5::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateMPIAIJSumSeqAIJSymbolic,petscComplexDouble),PetscErrorCode,(comm_type,Mat{Complex128},Int64,Int64,Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatCreateMPIAIJSumSeqAIJNumeric(arg1::Mat{Complex128},arg2::Mat{Complex128}) - err = ccall((:MatCreateMPIAIJSumSeqAIJNumeric,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Mat{Complex128}),arg1,arg2) - return err -end - -function MatMPIAIJGetLocalMat(arg1::Mat{Complex128},arg2::MatReuse,arg3::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatMPIAIJGetLocalMat,petscComplexDouble),PetscErrorCode,(Mat{Complex128},MatReuse,Ptr{Mat{Complex128}}),arg1,arg2,arg3) - return err -end - -function MatMPIAIJGetLocalMatCondensed(arg1::Mat{Complex128},arg2::MatReuse,arg3::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}},arg4::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}},arg5::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatMPIAIJGetLocalMatCondensed,petscComplexDouble),PetscErrorCode,(Mat{Complex128},MatReuse,Ptr{IS{Complex128}},Ptr{IS{Complex128}},Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatGetBrowsOfAcols(arg1::Mat{Complex128},arg2::Mat{Complex128},arg3::MatReuse,arg4::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}},arg5::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}},arg6::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatGetBrowsOfAcols,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Mat{Complex128},MatReuse,Ptr{IS{Complex128}},Ptr{IS{Complex128}},Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatGetGhosts(arg1::Mat{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:MatGetGhosts,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3) - return err -end - -function MatIncreaseOverlap(arg1::Mat{Complex128},arg2::Integer,arg3::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}},arg4::Integer) - err = ccall((:MatIncreaseOverlap,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Ptr{IS{Complex128}},Int64),arg1,arg2,arg3,arg4) - return err -end - -function MatMatMult(arg1::Mat{Complex128},arg2::Mat{Complex128},arg3::MatReuse,arg4::Float64,arg5::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatMatMult,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Mat{Complex128},MatReuse,Float64,Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatMatMultSymbolic(arg1::Mat{Complex128},arg2::Mat{Complex128},arg3::Float64,arg4::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatMatMultSymbolic,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Mat{Complex128},Float64,Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function MatMatMultNumeric(arg1::Mat{Complex128},arg2::Mat{Complex128},arg3::Mat{Complex128}) - err = ccall((:MatMatMultNumeric,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Mat{Complex128},Mat{Complex128}),arg1,arg2,arg3) - return err -end - -function MatMatMatMult(arg1::Mat{Complex128},arg2::Mat{Complex128},arg3::Mat{Complex128},arg4::MatReuse,arg5::Float64,arg6::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatMatMatMult,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Mat{Complex128},Mat{Complex128},MatReuse,Float64,Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatMatMatMultSymbolic(arg1::Mat{Complex128},arg2::Mat{Complex128},arg3::Mat{Complex128},arg4::Float64,arg5::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatMatMatMultSymbolic,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Mat{Complex128},Mat{Complex128},Float64,Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatMatMatMultNumeric(arg1::Mat{Complex128},arg2::Mat{Complex128},arg3::Mat{Complex128},arg4::Mat{Complex128}) - err = ccall((:MatMatMatMultNumeric,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Mat{Complex128},Mat{Complex128},Mat{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function MatPtAP(arg1::Mat{Complex128},arg2::Mat{Complex128},arg3::MatReuse,arg4::Float64,arg5::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatPtAP,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Mat{Complex128},MatReuse,Float64,Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatPtAPSymbolic(arg1::Mat{Complex128},arg2::Mat{Complex128},arg3::Float64,arg4::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatPtAPSymbolic,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Mat{Complex128},Float64,Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function MatPtAPNumeric(arg1::Mat{Complex128},arg2::Mat{Complex128},arg3::Mat{Complex128}) - err = ccall((:MatPtAPNumeric,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Mat{Complex128},Mat{Complex128}),arg1,arg2,arg3) - return err -end - -function MatRARt(arg1::Mat{Complex128},arg2::Mat{Complex128},arg3::MatReuse,arg4::Float64,arg5::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatRARt,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Mat{Complex128},MatReuse,Float64,Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatRARtSymbolic(arg1::Mat{Complex128},arg2::Mat{Complex128},arg3::Float64,arg4::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatRARtSymbolic,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Mat{Complex128},Float64,Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function MatRARtNumeric(arg1::Mat{Complex128},arg2::Mat{Complex128},arg3::Mat{Complex128}) - err = ccall((:MatRARtNumeric,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Mat{Complex128},Mat{Complex128}),arg1,arg2,arg3) - return err -end - -function MatTransposeMatMult(arg1::Mat{Complex128},arg2::Mat{Complex128},arg3::MatReuse,arg4::Float64,arg5::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatTransposeMatMult,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Mat{Complex128},MatReuse,Float64,Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatTransposetMatMultSymbolic(arg1::Mat{Complex128},arg2::Mat{Complex128},arg3::Float64,arg4::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatTransposetMatMultSymbolic,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Mat{Complex128},Float64,Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function MatTransposetMatMultNumeric(arg1::Mat{Complex128},arg2::Mat{Complex128},arg3::Mat{Complex128}) - err = ccall((:MatTransposetMatMultNumeric,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Mat{Complex128},Mat{Complex128}),arg1,arg2,arg3) - return err -end - -function MatMatTransposeMult(arg1::Mat{Complex128},arg2::Mat{Complex128},arg3::MatReuse,arg4::Float64,arg5::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatMatTransposeMult,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Mat{Complex128},MatReuse,Float64,Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatMatTransposeMultSymbolic(arg1::Mat{Complex128},arg2::Mat{Complex128},arg3::Float64,arg4::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatMatTransposeMultSymbolic,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Mat{Complex128},Float64,Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function MatMatTransposeMultNumeric(arg1::Mat{Complex128},arg2::Mat{Complex128},arg3::Mat{Complex128}) - err = ccall((:MatMatTransposeMultNumeric,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Mat{Complex128},Mat{Complex128}),arg1,arg2,arg3) - return err -end - -function MatAXPY(arg1::Mat{Complex128},arg2::Complex128,arg3::Mat{Complex128},arg4::MatStructure) - err = ccall((:MatAXPY,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Complex128,Mat{Complex128},MatStructure),arg1,arg2,arg3,arg4) - return err -end - -function MatAYPX(arg1::Mat{Complex128},arg2::Complex128,arg3::Mat{Complex128},arg4::MatStructure) - err = ccall((:MatAYPX,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Complex128,Mat{Complex128},MatStructure),arg1,arg2,arg3,arg4) - return err -end - -function MatScale(arg1::Mat{Complex128},arg2::Complex128) - err = ccall((:MatScale,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Complex128),arg1,arg2) - return err -end - -function MatShift(arg1::Mat{Complex128},arg2::Complex128) - err = ccall((:MatShift,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Complex128),arg1,arg2) - return err -end - -function MatSetLocalToGlobalMapping(arg1::Mat{Complex128},arg2::ISLocalToGlobalMapping{Complex128},arg3::ISLocalToGlobalMapping{Complex128}) - err = ccall((:MatSetLocalToGlobalMapping,petscComplexDouble),PetscErrorCode,(Mat{Complex128},ISLocalToGlobalMapping{Complex128},ISLocalToGlobalMapping{Complex128}),arg1,arg2,arg3) - return err -end - -function MatGetLocalToGlobalMapping(arg1::Mat{Complex128},arg2::Union{Ptr{ISLocalToGlobalMapping{Complex128}},StridedArray{ISLocalToGlobalMapping{Complex128}},Ptr{ISLocalToGlobalMapping{Complex128}},Ref{ISLocalToGlobalMapping{Complex128}}},arg3::Union{Ptr{ISLocalToGlobalMapping{Complex128}},StridedArray{ISLocalToGlobalMapping{Complex128}},Ptr{ISLocalToGlobalMapping{Complex128}},Ref{ISLocalToGlobalMapping{Complex128}}}) - err = ccall((:MatGetLocalToGlobalMapping,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{ISLocalToGlobalMapping{Complex128}},Ptr{ISLocalToGlobalMapping{Complex128}}),arg1,arg2,arg3) - return err -end - -function MatGetLayouts(arg1::Mat{Complex128},arg2::Union{Ptr{PetscLayout{Complex128}},StridedArray{PetscLayout{Complex128}},Ptr{PetscLayout{Complex128}},Ref{PetscLayout{Complex128}}},arg3::Union{Ptr{PetscLayout{Complex128}},StridedArray{PetscLayout{Complex128}},Ptr{PetscLayout{Complex128}},Ref{PetscLayout{Complex128}}}) - err = ccall((:MatGetLayouts,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{PetscLayout{Complex128}},Ptr{PetscLayout{Complex128}}),arg1,arg2,arg3) - return err -end - -function MatZeroRowsLocal(arg1::Mat{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Complex128,arg5::Vec{Complex128},arg6::Vec{Complex128}) - err = ccall((:MatZeroRowsLocal,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Ptr{Int64},Complex128,Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatZeroRowsLocalIS(arg1::Mat{Complex128},arg2::IS{Complex128},arg3::Complex128,arg4::Vec{Complex128},arg5::Vec{Complex128}) - err = ccall((:MatZeroRowsLocalIS,petscComplexDouble),PetscErrorCode,(Mat{Complex128},IS{Complex128},Complex128,Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatZeroRowsColumnsLocal(arg1::Mat{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Complex128,arg5::Vec{Complex128},arg6::Vec{Complex128}) - err = ccall((:MatZeroRowsColumnsLocal,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Ptr{Int64},Complex128,Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatZeroRowsColumnsLocalIS(arg1::Mat{Complex128},arg2::IS{Complex128},arg3::Complex128,arg4::Vec{Complex128},arg5::Vec{Complex128}) - err = ccall((:MatZeroRowsColumnsLocalIS,petscComplexDouble),PetscErrorCode,(Mat{Complex128},IS{Complex128},Complex128,Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatSetValuesLocal(arg1::Mat{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg7::InsertMode) - err = ccall((:MatSetValuesLocal,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Ptr{Int64},Int64,Ptr{Int64},Ptr{Complex128},InsertMode),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function MatSetValuesBlockedLocal(arg1::Mat{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg7::InsertMode) - err = ccall((:MatSetValuesBlockedLocal,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Ptr{Int64},Int64,Ptr{Int64},Ptr{Complex128},InsertMode),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function MatStashSetInitialSize(arg1::Mat{Complex128},arg2::Integer,arg3::Integer) - err = ccall((:MatStashSetInitialSize,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Int64),arg1,arg2,arg3) - return err -end - -function MatStashGetInfo(arg1::Mat{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatStashGetInfo,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatInterpolate(arg1::Mat{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:MatInterpolate,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function MatInterpolateAdd(arg1::Mat{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128},arg4::Vec{Complex128}) - err = ccall((:MatInterpolateAdd,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Vec{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function MatRestrict(arg1::Mat{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:MatRestrict,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function MatCreateVecs(arg1::Mat{Complex128},arg2::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}},arg3::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:MatCreateVecs,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Vec{Complex128}},Ptr{Vec{Complex128}}),arg1,arg2,arg3) - return err -end - -function MatGetVecs(mat::Mat{Complex128},x::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}},y::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:MatGetVecs,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Vec{Complex128}},Ptr{Vec{Complex128}}),mat,x,y) - return err -end - -function MatCreateRedundantMatrix(arg1::Mat{Complex128},arg2::Integer,arg3::MPI_Comm,arg4::MatReuse,arg5::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateRedundantMatrix,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,comm_type,MatReuse,Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatGetMultiProcBlock(arg1::Mat{Complex128},arg2::MPI_Comm,arg3::MatReuse,arg4::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatGetMultiProcBlock,petscComplexDouble),PetscErrorCode,(Mat{Complex128},comm_type,MatReuse,Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function MatFindZeroDiagonals(arg1::Mat{Complex128},arg2::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:MatFindZeroDiagonals,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{IS{Complex128}}),arg1,arg2) - return err -end - -function MatFindOffBlockDiagonalEntries(arg1::Mat{Complex128},arg2::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:MatFindOffBlockDiagonalEntries,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{IS{Complex128}}),arg1,arg2) - return err -end - -function MatCreateMPIMatConcatenateSeqMat(arg1::MPI_Comm,arg2::Mat{Complex128},arg3::Integer,arg4::MatReuse,arg5::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateMPIMatConcatenateSeqMat,petscComplexDouble),PetscErrorCode,(comm_type,Mat{Complex128},Int64,MatReuse,Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatSetValue(v::Mat{Complex128},i::Integer,j::Integer,va::Complex128,mode::InsertMode) - err = ccall((:MatSetValue,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Int64,Complex128,InsertMode),v,i,j,va,mode) - return err -end - -function MatGetValue(v::Mat{Complex128},i::Integer,j::Integer,va::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - err = ccall((:MatGetValue,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Int64,Ptr{Complex128}),v,i,j,va) - return err -end - -function MatSetValueLocal(v::Mat{Complex128},i::Integer,j::Integer,va::Complex128,mode::InsertMode) - err = ccall((:MatSetValueLocal,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Int64,Complex128,InsertMode),v,i,j,va,mode) - return err -end - -function MatShellGetContext(arg1::Mat{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatShellGetContext,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Void}),arg1,arg2) - return err -end - -function MatInodeAdjustForInodes(arg1::Mat{Complex128},arg2::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}},arg3::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:MatInodeAdjustForInodes,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{IS{Complex128}},Ptr{IS{Complex128}}),arg1,arg2,arg3) - return err -end - -function MatInodeGetInodeSizes(arg1::Mat{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatInodeGetInodeSizes,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function MatSeqAIJSetColumnIndices(arg1::Mat{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatSeqAIJSetColumnIndices,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Int64}),arg1,arg2) - return err -end - -function MatSeqBAIJSetColumnIndices(arg1::Mat{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatSeqBAIJSetColumnIndices,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Int64}),arg1,arg2) - return err -end - -function MatCreateSeqAIJWithArrays(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg7::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateSeqAIJWithArrays,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Int64,Ptr{Int64},Ptr{Int64},Ptr{Complex128},Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function MatCreateSeqBAIJWithArrays(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg8::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateSeqBAIJWithArrays,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Ptr{Int64},Ptr{Int64},Ptr{Complex128},Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function MatCreateSeqSBAIJWithArrays(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg8::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateSeqSBAIJWithArrays,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Ptr{Int64},Ptr{Int64},Ptr{Complex128},Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function MatCreateSeqAIJFromTriple(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg7::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}},arg8::Integer,arg9::PetscBool) - err = ccall((:MatCreateSeqAIJFromTriple,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Int64,Ptr{Int64},Ptr{Int64},Ptr{Complex128},Ptr{Mat{Complex128}},Int64,PetscBool),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) - return err -end - -function MatSeqBAIJSetPreallocation(arg1::Mat{Complex128},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatSeqBAIJSetPreallocation,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Int64,Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function MatSeqSBAIJSetPreallocation(arg1::Mat{Complex128},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatSeqSBAIJSetPreallocation,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Int64,Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function MatSeqAIJSetPreallocation(arg1::Mat{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatSeqAIJSetPreallocation,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function MatMPIBAIJSetPreallocation(arg1::Mat{Complex128},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatMPIBAIJSetPreallocation,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Int64,Ptr{Int64},Int64,Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatMPISBAIJSetPreallocation(arg1::Mat{Complex128},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatMPISBAIJSetPreallocation,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Int64,Ptr{Int64},Int64,Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatMPIAIJSetPreallocation(arg1::Mat{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatMPIAIJSetPreallocation,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Ptr{Int64},Int64,Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatSeqAIJSetPreallocationCSR(arg1::Mat{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - err = ccall((:MatSeqAIJSetPreallocationCSR,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Int64},Ptr{Int64},Ptr{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function MatSeqBAIJSetPreallocationCSR(arg1::Mat{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - err = ccall((:MatSeqBAIJSetPreallocationCSR,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Ptr{Int64},Ptr{Int64},Ptr{Complex128}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatMPIAIJSetPreallocationCSR(arg1::Mat{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - err = ccall((:MatMPIAIJSetPreallocationCSR,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Int64},Ptr{Int64},Ptr{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function MatMPIBAIJSetPreallocationCSR(arg1::Mat{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - err = ccall((:MatMPIBAIJSetPreallocationCSR,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Ptr{Int64},Ptr{Int64},Ptr{Complex128}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatMPIAdjSetPreallocation(arg1::Mat{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatMPIAdjSetPreallocation,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function MatMPIDenseSetPreallocation(arg1::Mat{Complex128},arg2::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - err = ccall((:MatMPIDenseSetPreallocation,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Complex128}),arg1,arg2) - return err -end - -function MatSeqDenseSetPreallocation(arg1::Mat{Complex128},arg2::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - err = ccall((:MatSeqDenseSetPreallocation,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Complex128}),arg1,arg2) - return err -end - -function MatMPIAIJGetSeqAIJ(arg1::Mat{Complex128},arg2::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}},arg3::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:MatMPIAIJGetSeqAIJ,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Mat{Complex128}},Ptr{Mat{Complex128}},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4) - return err -end - -function MatMPIBAIJGetSeqBAIJ(arg1::Mat{Complex128},arg2::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}},arg3::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:MatMPIBAIJGetSeqBAIJ,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Mat{Complex128}},Ptr{Mat{Complex128}},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4) - return err -end - -function MatMPIAdjCreateNonemptySubcommMat(arg1::Mat{Complex128},arg2::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatMPIAdjCreateNonemptySubcommMat,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Mat{Complex128}}),arg1,arg2) - return err -end - -function MatISSetPreallocation(arg1::Mat{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatISSetPreallocation,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Ptr{Int64},Int64,Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatSeqDenseSetLDA(arg1::Mat{Complex128},arg2::Integer) - err = ccall((:MatSeqDenseSetLDA,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64),arg1,arg2) - return err -end - -function MatDenseGetLocalMatrix(arg1::Mat{Complex128},arg2::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatDenseGetLocalMatrix,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Mat{Complex128}}),arg1,arg2) - return err -end - -function MatStoreValues(arg1::Mat{Complex128}) - err = ccall((:MatStoreValues,petscComplexDouble),PetscErrorCode,(Mat{Complex128},),arg1) - return err -end - -function MatRetrieveValues(arg1::Mat{Complex128}) - err = ccall((:MatRetrieveValues,petscComplexDouble),PetscErrorCode,(Mat{Complex128},),arg1) - return err -end - -function MatDAADSetCtx(arg1::Mat{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatDAADSetCtx,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Void}),arg1,arg2) - return err -end - -function MatFindNonzeroRows(arg1::Mat{Complex128},arg2::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:MatFindNonzeroRows,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{IS{Complex128}}),arg1,arg2) - return err -end - -function MatGetOrdering(arg1::Mat{Complex128},arg2::MatOrderingType,arg3::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}},arg4::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:MatGetOrdering,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Cstring,Ptr{IS{Complex128}},Ptr{IS{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function MatGetOrderingList(arg0::Type{Complex128},arg1::Union{Ptr{PetscFunctionList},StridedArray{PetscFunctionList},Ptr{PetscFunctionList},Ref{PetscFunctionList}}) - err = ccall((:MatGetOrderingList,petscComplexDouble),PetscErrorCode,(Ptr{PetscFunctionList},),arg1) - return err -end - -function MatOrderingRegister(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatOrderingRegister,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function MatReorderForNonzeroDiagonal(arg1::Mat{Complex128},arg2::Float64,arg3::IS{Complex128},arg4::IS{Complex128}) - err = ccall((:MatReorderForNonzeroDiagonal,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Float64,IS{Complex128},IS{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function MatCreateLaplacian(arg1::Mat{Complex128},arg2::Float64,arg3::PetscBool,arg4::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateLaplacian,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Float64,PetscBool,Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -#= skipping function with undefined symbols: - function MatFactorInfoInitialize(arg0::Type{Complex128},arg1::Union{Ptr{MatFactorInfo},StridedArray{MatFactorInfo},Ptr{MatFactorInfo},Ref{MatFactorInfo}}) - ccall((:MatFactorInfoInitialize,petscComplexDouble),PetscErrorCode,(Ptr{MatFactorInfo},),arg1) -end -=# -#= skipping function with undefined symbols: - function MatCholeskyFactor(arg1::Mat{Complex128},arg2::IS{Complex128},arg3::Union{Ptr{MatFactorInfo},StridedArray{MatFactorInfo},Ptr{MatFactorInfo},Ref{MatFactorInfo}}) - ccall((:MatCholeskyFactor,petscComplexDouble),PetscErrorCode,(Mat{Complex128},IS{Complex128},Ptr{MatFactorInfo}),arg1,arg2,arg3) -end -=# -#= skipping function with undefined symbols: - function MatCholeskyFactorSymbolic(arg1::Mat{Complex128},arg2::Mat{Complex128},arg3::IS{Complex128},arg4::Union{Ptr{MatFactorInfo},StridedArray{MatFactorInfo},Ptr{MatFactorInfo},Ref{MatFactorInfo}}) - ccall((:MatCholeskyFactorSymbolic,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Mat{Complex128},IS{Complex128},Ptr{MatFactorInfo}),arg1,arg2,arg3,arg4) -end -=# -#= skipping function with undefined symbols: - function MatCholeskyFactorNumeric(arg1::Mat{Complex128},arg2::Mat{Complex128},arg3::Union{Ptr{MatFactorInfo},StridedArray{MatFactorInfo},Ptr{MatFactorInfo},Ref{MatFactorInfo}}) - ccall((:MatCholeskyFactorNumeric,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Mat{Complex128},Ptr{MatFactorInfo}),arg1,arg2,arg3) -end -=# -#= skipping function with undefined symbols: - function MatLUFactor(arg1::Mat{Complex128},arg2::IS{Complex128},arg3::IS{Complex128},arg4::Union{Ptr{MatFactorInfo},StridedArray{MatFactorInfo},Ptr{MatFactorInfo},Ref{MatFactorInfo}}) - ccall((:MatLUFactor,petscComplexDouble),PetscErrorCode,(Mat{Complex128},IS{Complex128},IS{Complex128},Ptr{MatFactorInfo}),arg1,arg2,arg3,arg4) -end -=# -#= skipping function with undefined symbols: - function MatILUFactor(arg1::Mat{Complex128},arg2::IS{Complex128},arg3::IS{Complex128},arg4::Union{Ptr{MatFactorInfo},StridedArray{MatFactorInfo},Ptr{MatFactorInfo},Ref{MatFactorInfo}}) - ccall((:MatILUFactor,petscComplexDouble),PetscErrorCode,(Mat{Complex128},IS{Complex128},IS{Complex128},Ptr{MatFactorInfo}),arg1,arg2,arg3,arg4) -end -=# -#= skipping function with undefined symbols: - function MatLUFactorSymbolic(arg1::Mat{Complex128},arg2::Mat{Complex128},arg3::IS{Complex128},arg4::IS{Complex128},arg5::Union{Ptr{MatFactorInfo},StridedArray{MatFactorInfo},Ptr{MatFactorInfo},Ref{MatFactorInfo}}) - ccall((:MatLUFactorSymbolic,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Mat{Complex128},IS{Complex128},IS{Complex128},Ptr{MatFactorInfo}),arg1,arg2,arg3,arg4,arg5) -end -=# -#= skipping function with undefined symbols: - function MatILUFactorSymbolic(arg1::Mat{Complex128},arg2::Mat{Complex128},arg3::IS{Complex128},arg4::IS{Complex128},arg5::Union{Ptr{MatFactorInfo},StridedArray{MatFactorInfo},Ptr{MatFactorInfo},Ref{MatFactorInfo}}) - ccall((:MatILUFactorSymbolic,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Mat{Complex128},IS{Complex128},IS{Complex128},Ptr{MatFactorInfo}),arg1,arg2,arg3,arg4,arg5) -end -=# -#= skipping function with undefined symbols: - function MatICCFactorSymbolic(arg1::Mat{Complex128},arg2::Mat{Complex128},arg3::IS{Complex128},arg4::Union{Ptr{MatFactorInfo},StridedArray{MatFactorInfo},Ptr{MatFactorInfo},Ref{MatFactorInfo}}) - ccall((:MatICCFactorSymbolic,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Mat{Complex128},IS{Complex128},Ptr{MatFactorInfo}),arg1,arg2,arg3,arg4) -end -=# -#= skipping function with undefined symbols: - function MatICCFactor(arg1::Mat{Complex128},arg2::IS{Complex128},arg3::Union{Ptr{MatFactorInfo},StridedArray{MatFactorInfo},Ptr{MatFactorInfo},Ref{MatFactorInfo}}) - ccall((:MatICCFactor,petscComplexDouble),PetscErrorCode,(Mat{Complex128},IS{Complex128},Ptr{MatFactorInfo}),arg1,arg2,arg3) -end -=# -#= skipping function with undefined symbols: - function MatLUFactorNumeric(arg1::Mat{Complex128},arg2::Mat{Complex128},arg3::Union{Ptr{MatFactorInfo},StridedArray{MatFactorInfo},Ptr{MatFactorInfo},Ref{MatFactorInfo}}) - ccall((:MatLUFactorNumeric,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Mat{Complex128},Ptr{MatFactorInfo}),arg1,arg2,arg3) -end -=# -function MatGetInertia(arg1::Mat{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatGetInertia,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function MatSolve(arg1::Mat{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:MatSolve,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function MatForwardSolve(arg1::Mat{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:MatForwardSolve,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function MatBackwardSolve(arg1::Mat{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:MatBackwardSolve,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function MatSolveAdd(arg1::Mat{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128},arg4::Vec{Complex128}) - err = ccall((:MatSolveAdd,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Vec{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function MatSolveTranspose(arg1::Mat{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:MatSolveTranspose,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function MatSolveTransposeAdd(arg1::Mat{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128},arg4::Vec{Complex128}) - err = ccall((:MatSolveTransposeAdd,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Vec{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -#= skipping function with undefined symbols: - function MatSolves(arg1::Mat{Complex128},arg2::Vecs,arg3::Vecs) - ccall((:MatSolves,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Vecs,Vecs),arg1,arg2,arg3) -end -=# -function MatSetUnfactored(arg1::Mat{Complex128}) - err = ccall((:MatSetUnfactored,petscComplexDouble),PetscErrorCode,(Mat{Complex128},),arg1) - return err -end - -function MatSOR(arg1::Mat{Complex128},arg2::Vec{Complex128},arg3::Float64,arg4::MatSORType,arg5::Float64,arg6::Integer,arg7::Integer,arg8::Vec{Complex128}) - err = ccall((:MatSOR,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Vec{Complex128},Float64,MatSORType,Float64,Int64,Int64,Vec{Complex128}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function MatColoringCreate(arg1::Mat{Complex128},arg2::Union{Ptr{MatColoring},StridedArray{MatColoring},Ptr{MatColoring},Ref{MatColoring}}) - err = ccall((:MatColoringCreate,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{MatColoring}),arg1,arg2) - return err -end - -function MatColoringGetDegrees(arg1::Mat{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatColoringGetDegrees,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function MatColoringDestroy(arg0::Type{Complex128},arg1::Union{Ptr{MatColoring},StridedArray{MatColoring},Ptr{MatColoring},Ref{MatColoring}}) - err = ccall((:MatColoringDestroy,petscComplexDouble),PetscErrorCode,(Ptr{MatColoring},),arg1) - return err -end - -function MatColoringView(arg1::MatColoring,arg2::PetscViewer{Complex128}) - err = ccall((:MatColoringView,petscComplexDouble),PetscErrorCode,(MatColoring,PetscViewer{Complex128}),arg1,arg2) - return err -end - -function MatColoringSetType(arg0::Type{Complex128},arg1::MatColoring,arg2::MatColoringType) - err = ccall((:MatColoringSetType,petscComplexDouble),PetscErrorCode,(MatColoring,Cstring),arg1,arg2) - return err -end - -function MatColoringSetFromOptions(arg0::Type{Complex128},arg1::MatColoring) - err = ccall((:MatColoringSetFromOptions,petscComplexDouble),PetscErrorCode,(MatColoring,),arg1) - return err -end - -function MatColoringSetDistance(arg0::Type{Complex128},arg1::MatColoring,arg2::Integer) - err = ccall((:MatColoringSetDistance,petscComplexDouble),PetscErrorCode,(MatColoring,Int64),arg1,arg2) - return err -end - -function MatColoringGetDistance(arg0::Type{Complex128},arg1::MatColoring,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatColoringGetDistance,petscComplexDouble),PetscErrorCode,(MatColoring,Ptr{Int64}),arg1,arg2) - return err -end - -function MatColoringSetMaxColors(arg0::Type{Complex128},arg1::MatColoring,arg2::Integer) - err = ccall((:MatColoringSetMaxColors,petscComplexDouble),PetscErrorCode,(MatColoring,Int64),arg1,arg2) - return err -end - -function MatColoringGetMaxColors(arg0::Type{Complex128},arg1::MatColoring,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatColoringGetMaxColors,petscComplexDouble),PetscErrorCode,(MatColoring,Ptr{Int64}),arg1,arg2) - return err -end - -function MatColoringApply(arg1::MatColoring,arg2::Union{Ptr{ISColoring{Complex128}},StridedArray{ISColoring{Complex128}},Ptr{ISColoring{Complex128}},Ref{ISColoring{Complex128}}}) - err = ccall((:MatColoringApply,petscComplexDouble),PetscErrorCode,(MatColoring,Ptr{ISColoring{Complex128}}),arg1,arg2) - return err -end - -function MatColoringRegister(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatColoringRegister,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function MatColoringPatch(arg1::Mat{Complex128},arg2::Integer,arg3::Integer,arg4::Union{Ptr{ISColoringValue},StridedArray{ISColoringValue},Ptr{ISColoringValue},Ref{ISColoringValue}},arg5::Union{Ptr{ISColoring{Complex128}},StridedArray{ISColoring{Complex128}},Ptr{ISColoring{Complex128}},Ref{ISColoring{Complex128}}}) - err = ccall((:MatColoringPatch,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Int64,Ptr{ISColoringValue},Ptr{ISColoring{Complex128}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatColoringSetWeightType(arg0::Type{Complex128},arg1::MatColoring,arg2::MatColoringWeightType) - err = ccall((:MatColoringSetWeightType,petscComplexDouble),PetscErrorCode,(MatColoring,MatColoringWeightType),arg1,arg2) - return err -end - -function MatColoringSetWeights(arg0::Type{Complex128},arg1::MatColoring,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatColoringSetWeights,petscComplexDouble),PetscErrorCode,(MatColoring,Ptr{Float64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function MatColoringCreateWeights(arg0::Type{Complex128},arg1::MatColoring,arg2::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},lperm::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:MatColoringCreateWeights,petscComplexDouble),PetscErrorCode,(MatColoring,Ptr{Ptr{Float64}},Ptr{Ptr{Int64}}),arg1,arg2,lperm) - return err -end - -function MatFDColoringCreate(arg1::Mat{Complex128},arg2::ISColoring{Complex128},arg3::Union{Ptr{MatFDColoring},StridedArray{MatFDColoring},Ptr{MatFDColoring},Ref{MatFDColoring}}) - err = ccall((:MatFDColoringCreate,petscComplexDouble),PetscErrorCode,(Mat{Complex128},ISColoring{Complex128},Ptr{MatFDColoring}),arg1,arg2,arg3) - return err -end - -function MatFDColoringDestroy(arg0::Type{Complex128},arg1::Union{Ptr{MatFDColoring},StridedArray{MatFDColoring},Ptr{MatFDColoring},Ref{MatFDColoring}}) - err = ccall((:MatFDColoringDestroy,petscComplexDouble),PetscErrorCode,(Ptr{MatFDColoring},),arg1) - return err -end - -function MatFDColoringView(arg1::MatFDColoring,arg2::PetscViewer{Complex128}) - err = ccall((:MatFDColoringView,petscComplexDouble),PetscErrorCode,(MatFDColoring,PetscViewer{Complex128}),arg1,arg2) - return err -end - -function MatFDColoringSetFunction(arg0::Type{Complex128},arg1::MatFDColoring,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatFDColoringSetFunction,petscComplexDouble),PetscErrorCode,(MatFDColoring,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function MatFDColoringGetFunction(arg0::Type{Complex128},arg1::MatFDColoring,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:MatFDColoringGetFunction,petscComplexDouble),PetscErrorCode,(MatFDColoring,Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function MatFDColoringSetParameters(arg0::Type{Complex128},arg1::MatFDColoring,arg2::Float64,arg3::Float64) - err = ccall((:MatFDColoringSetParameters,petscComplexDouble),PetscErrorCode,(MatFDColoring,Float64,Float64),arg1,arg2,arg3) - return err -end - -function MatFDColoringSetFromOptions(arg0::Type{Complex128},arg1::MatFDColoring) - err = ccall((:MatFDColoringSetFromOptions,petscComplexDouble),PetscErrorCode,(MatFDColoring,),arg1) - return err -end - -function MatFDColoringApply(arg1::Mat{Complex128},arg2::MatFDColoring,arg3::Vec{Complex128},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatFDColoringApply,petscComplexDouble),PetscErrorCode,(Mat{Complex128},MatFDColoring,Vec{Complex128},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function MatFDColoringSetF(arg1::MatFDColoring,arg2::Vec{Complex128}) - err = ccall((:MatFDColoringSetF,petscComplexDouble),PetscErrorCode,(MatFDColoring,Vec{Complex128}),arg1,arg2) - return err -end - -function MatFDColoringGetPerturbedColumns(arg0::Type{Complex128},arg1::MatFDColoring,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:MatFDColoringGetPerturbedColumns,petscComplexDouble),PetscErrorCode,(MatFDColoring,Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3) - return err -end - -function MatFDColoringSetUp(arg1::Mat{Complex128},arg2::ISColoring{Complex128},arg3::MatFDColoring) - err = ccall((:MatFDColoringSetUp,petscComplexDouble),PetscErrorCode,(Mat{Complex128},ISColoring{Complex128},MatFDColoring),arg1,arg2,arg3) - return err -end - -function MatFDColoringSetBlockSize(arg0::Type{Complex128},arg1::MatFDColoring,arg2::Integer,arg3::Integer) - err = ccall((:MatFDColoringSetBlockSize,petscComplexDouble),PetscErrorCode,(MatFDColoring,Int64,Int64),arg1,arg2,arg3) - return err -end - -function MatTransposeColoringCreate(arg1::Mat{Complex128},arg2::ISColoring{Complex128},arg3::Union{Ptr{MatTransposeColoring},StridedArray{MatTransposeColoring},Ptr{MatTransposeColoring},Ref{MatTransposeColoring}}) - err = ccall((:MatTransposeColoringCreate,petscComplexDouble),PetscErrorCode,(Mat{Complex128},ISColoring{Complex128},Ptr{MatTransposeColoring}),arg1,arg2,arg3) - return err -end - -function MatTransColoringApplySpToDen(arg1::MatTransposeColoring,arg2::Mat{Complex128},arg3::Mat{Complex128}) - err = ccall((:MatTransColoringApplySpToDen,petscComplexDouble),PetscErrorCode,(MatTransposeColoring,Mat{Complex128},Mat{Complex128}),arg1,arg2,arg3) - return err -end - -function MatTransColoringApplyDenToSp(arg1::MatTransposeColoring,arg2::Mat{Complex128},arg3::Mat{Complex128}) - err = ccall((:MatTransColoringApplyDenToSp,petscComplexDouble),PetscErrorCode,(MatTransposeColoring,Mat{Complex128},Mat{Complex128}),arg1,arg2,arg3) - return err -end - -function MatTransposeColoringDestroy(arg0::Type{Complex128},arg1::Union{Ptr{MatTransposeColoring},StridedArray{MatTransposeColoring},Ptr{MatTransposeColoring},Ref{MatTransposeColoring}}) - err = ccall((:MatTransposeColoringDestroy,petscComplexDouble),PetscErrorCode,(Ptr{MatTransposeColoring},),arg1) - return err -end - -function MatPartitioningCreate(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{MatPartitioning},StridedArray{MatPartitioning},Ptr{MatPartitioning},Ref{MatPartitioning}}) - err = ccall((:MatPartitioningCreate,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{MatPartitioning}),arg1,arg2) - return err -end - -function MatPartitioningSetType(arg0::Type{Complex128},arg1::MatPartitioning,arg2::MatPartitioningType) - err = ccall((:MatPartitioningSetType,petscComplexDouble),PetscErrorCode,(MatPartitioning,Cstring),arg1,arg2) - return err -end - -function MatPartitioningSetNParts(arg0::Type{Complex128},arg1::MatPartitioning,arg2::Integer) - err = ccall((:MatPartitioningSetNParts,petscComplexDouble),PetscErrorCode,(MatPartitioning,Int64),arg1,arg2) - return err -end - -function MatPartitioningSetAdjacency(arg1::MatPartitioning,arg2::Mat{Complex128}) - err = ccall((:MatPartitioningSetAdjacency,petscComplexDouble),PetscErrorCode,(MatPartitioning,Mat{Complex128}),arg1,arg2) - return err -end - -function MatPartitioningSetVertexWeights(arg0::Type{Complex128},arg1::MatPartitioning,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatPartitioningSetVertexWeights,petscComplexDouble),PetscErrorCode,(MatPartitioning,Ptr{Int64}),arg1,arg2) - return err -end - -function MatPartitioningSetPartitionWeights(arg0::Type{Complex128},arg1::MatPartitioning,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:MatPartitioningSetPartitionWeights,petscComplexDouble),PetscErrorCode,(MatPartitioning,Ptr{Float64}),arg1,arg2) - return err -end - -function MatPartitioningApply(arg1::MatPartitioning,arg2::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:MatPartitioningApply,petscComplexDouble),PetscErrorCode,(MatPartitioning,Ptr{IS{Complex128}}),arg1,arg2) - return err -end - -function MatPartitioningDestroy(arg0::Type{Complex128},arg1::Union{Ptr{MatPartitioning},StridedArray{MatPartitioning},Ptr{MatPartitioning},Ref{MatPartitioning}}) - err = ccall((:MatPartitioningDestroy,petscComplexDouble),PetscErrorCode,(Ptr{MatPartitioning},),arg1) - return err -end - -function MatPartitioningRegister(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatPartitioningRegister,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function MatPartitioningView(arg1::MatPartitioning,arg2::PetscViewer{Complex128}) - err = ccall((:MatPartitioningView,petscComplexDouble),PetscErrorCode,(MatPartitioning,PetscViewer{Complex128}),arg1,arg2) - return err -end - -function MatPartitioningSetFromOptions(arg0::Type{Complex128},arg1::MatPartitioning) - err = ccall((:MatPartitioningSetFromOptions,petscComplexDouble),PetscErrorCode,(MatPartitioning,),arg1) - return err -end - -function MatPartitioningGetType(arg0::Type{Complex128},arg1::MatPartitioning,arg2::Union{Ptr{MatPartitioningType},StridedArray{MatPartitioningType},Ptr{MatPartitioningType},Ref{MatPartitioningType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:MatPartitioningGetType,petscComplexDouble),PetscErrorCode,(MatPartitioning,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function MatPartitioningParmetisSetCoarseSequential(arg0::Type{Complex128},arg1::MatPartitioning) - err = ccall((:MatPartitioningParmetisSetCoarseSequential,petscComplexDouble),PetscErrorCode,(MatPartitioning,),arg1) - return err -end - -function MatPartitioningParmetisGetEdgeCut(arg0::Type{Complex128},arg1::MatPartitioning,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatPartitioningParmetisGetEdgeCut,petscComplexDouble),PetscErrorCode,(MatPartitioning,Ptr{Int64}),arg1,arg2) - return err -end - -function MatPartitioningChacoSetGlobal(arg0::Type{Complex128},arg1::MatPartitioning,arg2::MPChacoGlobalType) - err = ccall((:MatPartitioningChacoSetGlobal,petscComplexDouble),PetscErrorCode,(MatPartitioning,MPChacoGlobalType),arg1,arg2) - return err -end - -function MatPartitioningChacoGetGlobal(arg0::Type{Complex128},arg1::MatPartitioning,arg2::Union{Ptr{MPChacoGlobalType},StridedArray{MPChacoGlobalType},Ptr{MPChacoGlobalType},Ref{MPChacoGlobalType}}) - err = ccall((:MatPartitioningChacoGetGlobal,petscComplexDouble),PetscErrorCode,(MatPartitioning,Ptr{MPChacoGlobalType}),arg1,arg2) - return err -end - -function MatPartitioningChacoSetLocal(arg0::Type{Complex128},arg1::MatPartitioning,arg2::MPChacoLocalType) - err = ccall((:MatPartitioningChacoSetLocal,petscComplexDouble),PetscErrorCode,(MatPartitioning,MPChacoLocalType),arg1,arg2) - return err -end - -function MatPartitioningChacoGetLocal(arg0::Type{Complex128},arg1::MatPartitioning,arg2::Union{Ptr{MPChacoLocalType},StridedArray{MPChacoLocalType},Ptr{MPChacoLocalType},Ref{MPChacoLocalType}}) - err = ccall((:MatPartitioningChacoGetLocal,petscComplexDouble),PetscErrorCode,(MatPartitioning,Ptr{MPChacoLocalType}),arg1,arg2) - return err -end - -function MatPartitioningChacoSetCoarseLevel(arg0::Type{Complex128},arg1::MatPartitioning,arg2::Float64) - err = ccall((:MatPartitioningChacoSetCoarseLevel,petscComplexDouble),PetscErrorCode,(MatPartitioning,Float64),arg1,arg2) - return err -end - -function MatPartitioningChacoSetEigenSolver(arg0::Type{Complex128},arg1::MatPartitioning,arg2::MPChacoEigenType) - err = ccall((:MatPartitioningChacoSetEigenSolver,petscComplexDouble),PetscErrorCode,(MatPartitioning,MPChacoEigenType),arg1,arg2) - return err -end - -function MatPartitioningChacoGetEigenSolver(arg0::Type{Complex128},arg1::MatPartitioning,arg2::Union{Ptr{MPChacoEigenType},StridedArray{MPChacoEigenType},Ptr{MPChacoEigenType},Ref{MPChacoEigenType}}) - err = ccall((:MatPartitioningChacoGetEigenSolver,petscComplexDouble),PetscErrorCode,(MatPartitioning,Ptr{MPChacoEigenType}),arg1,arg2) - return err -end - -function MatPartitioningChacoSetEigenTol(arg0::Type{Complex128},arg1::MatPartitioning,arg2::Float64) - err = ccall((:MatPartitioningChacoSetEigenTol,petscComplexDouble),PetscErrorCode,(MatPartitioning,Float64),arg1,arg2) - return err -end - -function MatPartitioningChacoGetEigenTol(arg0::Type{Complex128},arg1::MatPartitioning,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:MatPartitioningChacoGetEigenTol,petscComplexDouble),PetscErrorCode,(MatPartitioning,Ptr{Float64}),arg1,arg2) - return err -end - -function MatPartitioningChacoSetEigenNumber(arg0::Type{Complex128},arg1::MatPartitioning,arg2::Integer) - err = ccall((:MatPartitioningChacoSetEigenNumber,petscComplexDouble),PetscErrorCode,(MatPartitioning,Int64),arg1,arg2) - return err -end - -function MatPartitioningChacoGetEigenNumber(arg0::Type{Complex128},arg1::MatPartitioning,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatPartitioningChacoGetEigenNumber,petscComplexDouble),PetscErrorCode,(MatPartitioning,Ptr{Int64}),arg1,arg2) - return err -end - -function MatPartitioningPartySetGlobal(arg0::Type{Complex128},arg1::MatPartitioning,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:MatPartitioningPartySetGlobal,petscComplexDouble),PetscErrorCode,(MatPartitioning,Cstring),arg1,arg2) - return err -end - -function MatPartitioningPartySetLocal(arg0::Type{Complex128},arg1::MatPartitioning,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:MatPartitioningPartySetLocal,petscComplexDouble),PetscErrorCode,(MatPartitioning,Cstring),arg1,arg2) - return err -end - -function MatPartitioningPartySetCoarseLevel(arg0::Type{Complex128},arg1::MatPartitioning,arg2::Float64) - err = ccall((:MatPartitioningPartySetCoarseLevel,petscComplexDouble),PetscErrorCode,(MatPartitioning,Float64),arg1,arg2) - return err -end - -function MatPartitioningPartySetBipart(arg0::Type{Complex128},arg1::MatPartitioning,arg2::PetscBool) - err = ccall((:MatPartitioningPartySetBipart,petscComplexDouble),PetscErrorCode,(MatPartitioning,PetscBool),arg1,arg2) - return err -end - -function MatPartitioningPartySetMatchOptimization(arg0::Type{Complex128},arg1::MatPartitioning,arg2::PetscBool) - err = ccall((:MatPartitioningPartySetMatchOptimization,petscComplexDouble),PetscErrorCode,(MatPartitioning,PetscBool),arg1,arg2) - return err -end - -function MatPartitioningPTScotchSetImbalance(arg0::Type{Complex128},arg1::MatPartitioning,arg2::Float64) - err = ccall((:MatPartitioningPTScotchSetImbalance,petscComplexDouble),PetscErrorCode,(MatPartitioning,Float64),arg1,arg2) - return err -end - -function MatPartitioningPTScotchGetImbalance(arg0::Type{Complex128},arg1::MatPartitioning,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:MatPartitioningPTScotchGetImbalance,petscComplexDouble),PetscErrorCode,(MatPartitioning,Ptr{Float64}),arg1,arg2) - return err -end - -function MatPartitioningPTScotchSetStrategy(arg0::Type{Complex128},arg1::MatPartitioning,arg2::MPPTScotchStrategyType) - err = ccall((:MatPartitioningPTScotchSetStrategy,petscComplexDouble),PetscErrorCode,(MatPartitioning,MPPTScotchStrategyType),arg1,arg2) - return err -end - -function MatPartitioningPTScotchGetStrategy(arg0::Type{Complex128},arg1::MatPartitioning,arg2::Union{Ptr{MPPTScotchStrategyType},StridedArray{MPPTScotchStrategyType},Ptr{MPPTScotchStrategyType},Ref{MPPTScotchStrategyType}}) - err = ccall((:MatPartitioningPTScotchGetStrategy,petscComplexDouble),PetscErrorCode,(MatPartitioning,Ptr{MPPTScotchStrategyType}),arg1,arg2) - return err -end - -function MatCoarsenCreate(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{MatCoarsen},StridedArray{MatCoarsen},Ptr{MatCoarsen},Ref{MatCoarsen}}) - err = ccall((:MatCoarsenCreate,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{MatCoarsen}),arg1,arg2) - return err -end - -function MatCoarsenSetType(arg0::Type{Complex128},arg1::MatCoarsen,arg2::MatCoarsenType) - err = ccall((:MatCoarsenSetType,petscComplexDouble),PetscErrorCode,(MatCoarsen,Cstring),arg1,arg2) - return err -end - -function MatCoarsenSetAdjacency(arg1::MatCoarsen,arg2::Mat{Complex128}) - err = ccall((:MatCoarsenSetAdjacency,petscComplexDouble),PetscErrorCode,(MatCoarsen,Mat{Complex128}),arg1,arg2) - return err -end - -function MatCoarsenSetGreedyOrdering(arg1::MatCoarsen,arg2::IS{Complex128}) - err = ccall((:MatCoarsenSetGreedyOrdering,petscComplexDouble),PetscErrorCode,(MatCoarsen,IS{Complex128}),arg1,arg2) - return err -end - -function MatCoarsenSetStrictAggs(arg0::Type{Complex128},arg1::MatCoarsen,arg2::PetscBool) - err = ccall((:MatCoarsenSetStrictAggs,petscComplexDouble),PetscErrorCode,(MatCoarsen,PetscBool),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function MatCoarsenGetData(arg0::Type{Complex128},arg1::MatCoarsen,arg2::Union{Ptr{Ptr{PetscCoarsenData}},StridedArray{Ptr{PetscCoarsenData}},Ptr{Ptr{PetscCoarsenData}},Ref{Ptr{PetscCoarsenData}}}) - ccall((:MatCoarsenGetData,petscComplexDouble),PetscErrorCode,(MatCoarsen,Ptr{Ptr{PetscCoarsenData}}),arg1,arg2) -end -=# -function MatCoarsenApply(arg0::Type{Complex128},arg1::MatCoarsen) - err = ccall((:MatCoarsenApply,petscComplexDouble),PetscErrorCode,(MatCoarsen,),arg1) - return err -end - -function MatCoarsenDestroy(arg0::Type{Complex128},arg1::Union{Ptr{MatCoarsen},StridedArray{MatCoarsen},Ptr{MatCoarsen},Ref{MatCoarsen}}) - err = ccall((:MatCoarsenDestroy,petscComplexDouble),PetscErrorCode,(Ptr{MatCoarsen},),arg1) - return err -end - -function MatCoarsenRegister(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatCoarsenRegister,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function MatCoarsenView(arg1::MatCoarsen,arg2::PetscViewer{Complex128}) - err = ccall((:MatCoarsenView,petscComplexDouble),PetscErrorCode,(MatCoarsen,PetscViewer{Complex128}),arg1,arg2) - return err -end - -function MatCoarsenSetFromOptions(arg0::Type{Complex128},arg1::MatCoarsen) - err = ccall((:MatCoarsenSetFromOptions,petscComplexDouble),PetscErrorCode,(MatCoarsen,),arg1) - return err -end - -function MatCoarsenGetType(arg0::Type{Complex128},arg1::MatCoarsen,arg2::Union{Ptr{MatCoarsenType},StridedArray{MatCoarsenType},Ptr{MatCoarsenType},Ref{MatCoarsenType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:MatCoarsenGetType,petscComplexDouble),PetscErrorCode,(MatCoarsen,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function MatCoarsenViewFromOptions(arg0::Type{Complex128},A::MatCoarsen,obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:MatCoarsenViewFromOptions,petscComplexDouble),PetscErrorCode,(MatCoarsen,PetscObject,Cstring),A,obj,name) - return err -end - -function MatMeshToVertexGraph(arg1::Mat{Complex128},arg2::Integer,arg3::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatMeshToVertexGraph,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Ptr{Mat{Complex128}}),arg1,arg2,arg3) - return err -end - -function MatMeshToCellGraph(arg1::Mat{Complex128},arg2::Integer,arg3::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatMeshToCellGraph,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Ptr{Mat{Complex128}}),arg1,arg2,arg3) - return err -end - -function MatHasOperation(arg1::Mat{Complex128},arg2::MatOperation,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatHasOperation,petscComplexDouble),PetscErrorCode,(Mat{Complex128},MatOperation,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function MatShellSetOperation(arg1::Mat{Complex128},arg2::MatOperation,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatShellSetOperation,petscComplexDouble),PetscErrorCode,(Mat{Complex128},MatOperation,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function MatShellGetOperation(arg1::Mat{Complex128},arg2::MatOperation,arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:MatShellGetOperation,petscComplexDouble),PetscErrorCode,(Mat{Complex128},MatOperation,Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function MatShellSetContext(arg1::Mat{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatShellSetContext,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Void}),arg1,arg2) - return err -end - -function MatMPIBAIJSetHashTableFactor(arg1::Mat{Complex128},arg2::Float64) - err = ccall((:MatMPIBAIJSetHashTableFactor,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Float64),arg1,arg2) - return err -end - -function MatISGetLocalMat(arg1::Mat{Complex128},arg2::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatISGetLocalMat,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Mat{Complex128}}),arg1,arg2) - return err -end - -function MatISSetLocalMat(arg1::Mat{Complex128},arg2::Mat{Complex128}) - err = ccall((:MatISSetLocalMat,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Mat{Complex128}),arg1,arg2) - return err -end - -function MatISGetMPIXAIJ(arg1::Mat{Complex128},arg2::MatReuse,arg3::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatISGetMPIXAIJ,petscComplexDouble),PetscErrorCode,(Mat{Complex128},MatReuse,Ptr{Mat{Complex128}}),arg1,arg2,arg3) - return err -end - -function MatNullSpaceCreate(arg1::MPI_Comm,arg2::PetscBool,arg3::Integer,arg4::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}},arg5::Union{Ptr{MatNullSpace},StridedArray{MatNullSpace},Ptr{MatNullSpace},Ref{MatNullSpace}}) - err = ccall((:MatNullSpaceCreate,petscComplexDouble),PetscErrorCode,(comm_type,PetscBool,Int64,Ptr{Vec{Complex128}},Ptr{MatNullSpace}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatNullSpaceSetFunction(arg0::Type{Complex128},arg1::MatNullSpace,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatNullSpaceSetFunction,petscComplexDouble),PetscErrorCode,(MatNullSpace,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function MatNullSpaceDestroy(arg0::Type{Complex128},arg1::Union{Ptr{MatNullSpace},StridedArray{MatNullSpace},Ptr{MatNullSpace},Ref{MatNullSpace}}) - err = ccall((:MatNullSpaceDestroy,petscComplexDouble),PetscErrorCode,(Ptr{MatNullSpace},),arg1) - return err -end - -function MatNullSpaceRemove(arg1::MatNullSpace,arg2::Vec{Complex128}) - err = ccall((:MatNullSpaceRemove,petscComplexDouble),PetscErrorCode,(MatNullSpace,Vec{Complex128}),arg1,arg2) - return err -end - -function MatGetNullSpace(arg1::Mat{Complex128},arg2::Union{Ptr{MatNullSpace},StridedArray{MatNullSpace},Ptr{MatNullSpace},Ref{MatNullSpace}}) - err = ccall((:MatGetNullSpace,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{MatNullSpace}),arg1,arg2) - return err -end - -function MatGetTransposeNullSpace(arg1::Mat{Complex128},arg2::Union{Ptr{MatNullSpace},StridedArray{MatNullSpace},Ptr{MatNullSpace},Ref{MatNullSpace}}) - err = ccall((:MatGetTransposeNullSpace,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{MatNullSpace}),arg1,arg2) - return err -end - -function MatSetTransposeNullSpace(arg1::Mat{Complex128},arg2::MatNullSpace) - err = ccall((:MatSetTransposeNullSpace,petscComplexDouble),PetscErrorCode,(Mat{Complex128},MatNullSpace),arg1,arg2) - return err -end - -function MatSetNullSpace(arg1::Mat{Complex128},arg2::MatNullSpace) - err = ccall((:MatSetNullSpace,petscComplexDouble),PetscErrorCode,(Mat{Complex128},MatNullSpace),arg1,arg2) - return err -end - -function MatSetNearNullSpace(arg1::Mat{Complex128},arg2::MatNullSpace) - err = ccall((:MatSetNearNullSpace,petscComplexDouble),PetscErrorCode,(Mat{Complex128},MatNullSpace),arg1,arg2) - return err -end - -function MatGetNearNullSpace(arg1::Mat{Complex128},arg2::Union{Ptr{MatNullSpace},StridedArray{MatNullSpace},Ptr{MatNullSpace},Ref{MatNullSpace}}) - err = ccall((:MatGetNearNullSpace,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{MatNullSpace}),arg1,arg2) - return err -end - -function MatNullSpaceTest(arg1::MatNullSpace,arg2::Mat{Complex128},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatNullSpaceTest,petscComplexDouble),PetscErrorCode,(MatNullSpace,Mat{Complex128},Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function MatNullSpaceView(arg1::MatNullSpace,arg2::PetscViewer{Complex128}) - err = ccall((:MatNullSpaceView,petscComplexDouble),PetscErrorCode,(MatNullSpace,PetscViewer{Complex128}),arg1,arg2) - return err -end - -function MatNullSpaceGetVecs(arg1::MatNullSpace,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{Vec{Complex128}}},StridedArray{Ptr{Vec{Complex128}}},Ptr{Ptr{Vec{Complex128}}},Ref{Ptr{Vec{Complex128}}}}) - err = ccall((:MatNullSpaceGetVecs,petscComplexDouble),PetscErrorCode,(MatNullSpace,Ptr{PetscBool},Ptr{Int64},Ptr{Ptr{Vec{Complex128}}}),arg1,arg2,arg3,arg4) - return err -end - -function MatNullSpaceCreateRigidBody(arg1::Vec{Complex128},arg2::Union{Ptr{MatNullSpace},StridedArray{MatNullSpace},Ptr{MatNullSpace},Ref{MatNullSpace}}) - err = ccall((:MatNullSpaceCreateRigidBody,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Ptr{MatNullSpace}),arg1,arg2) - return err -end - -function MatReorderingSeqSBAIJ(arg1::Mat{Complex128},arg2::IS{Complex128}) - err = ccall((:MatReorderingSeqSBAIJ,petscComplexDouble),PetscErrorCode,(Mat{Complex128},IS{Complex128}),arg1,arg2) - return err -end - -function MatMPISBAIJSetHashTableFactor(arg1::Mat{Complex128},arg2::Float64) - err = ccall((:MatMPISBAIJSetHashTableFactor,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Float64),arg1,arg2) - return err -end - -function MatSeqSBAIJSetColumnIndices(arg1::Mat{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatSeqSBAIJSetColumnIndices,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Int64}),arg1,arg2) - return err -end - -function MatSeqBAIJInvertBlockDiagonal(arg1::Mat{Complex128}) - err = ccall((:MatSeqBAIJInvertBlockDiagonal,petscComplexDouble),PetscErrorCode,(Mat{Complex128},),arg1) - return err -end - -function MatCreateMAIJ(arg1::Mat{Complex128},arg2::Integer,arg3::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateMAIJ,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Ptr{Mat{Complex128}}),arg1,arg2,arg3) - return err -end - -function MatMAIJRedimension(arg1::Mat{Complex128},arg2::Integer,arg3::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatMAIJRedimension,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Ptr{Mat{Complex128}}),arg1,arg2,arg3) - return err -end - -function MatMAIJGetAIJ(arg1::Mat{Complex128},arg2::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatMAIJGetAIJ,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Mat{Complex128}}),arg1,arg2) - return err -end - -function MatComputeExplicitOperator(arg1::Mat{Complex128},arg2::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatComputeExplicitOperator,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Mat{Complex128}}),arg1,arg2) - return err -end - -function MatDiagonalScaleLocal(arg1::Mat{Complex128},arg2::Vec{Complex128}) - err = ccall((:MatDiagonalScaleLocal,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Vec{Complex128}),arg1,arg2) - return err -end - -function MatCreateMFFD(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateMFFD,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatMFFDSetBase(arg1::Mat{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:MatMFFDSetBase,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function MatMFFDSetFunction(arg1::Mat{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatMFFDSetFunction,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function MatMFFDSetFunctioni(arg1::Mat{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatMFFDSetFunctioni,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Void}),arg1,arg2) - return err -end - -function MatMFFDSetFunctioniBase(arg1::Mat{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatMFFDSetFunctioniBase,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Void}),arg1,arg2) - return err -end - -function MatMFFDAddNullSpace(arg1::Mat{Complex128},arg2::MatNullSpace) - err = ccall((:MatMFFDAddNullSpace,petscComplexDouble),PetscErrorCode,(Mat{Complex128},MatNullSpace),arg1,arg2) - return err -end - -function MatMFFDSetHHistory(arg1::Mat{Complex128},arg2::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg3::Integer) - err = ccall((:MatMFFDSetHHistory,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Complex128},Int64),arg1,arg2,arg3) - return err -end - -function MatMFFDResetHHistory(arg1::Mat{Complex128}) - err = ccall((:MatMFFDResetHHistory,petscComplexDouble),PetscErrorCode,(Mat{Complex128},),arg1) - return err -end - -function MatMFFDSetFunctionError(arg1::Mat{Complex128},arg2::Float64) - err = ccall((:MatMFFDSetFunctionError,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Float64),arg1,arg2) - return err -end - -function MatMFFDSetPeriod(arg1::Mat{Complex128},arg2::Integer) - err = ccall((:MatMFFDSetPeriod,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64),arg1,arg2) - return err -end - -function MatMFFDGetH(arg1::Mat{Complex128},arg2::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - err = ccall((:MatMFFDGetH,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Complex128}),arg1,arg2) - return err -end - -function MatMFFDSetOptionsPrefix(arg1::Mat{Complex128},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:MatMFFDSetOptionsPrefix,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Cstring),arg1,arg2) - return err -end - -function MatMFFDCheckPositivity(arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg2::Vec{Complex128},arg3::Vec{Complex128},arg4::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - err = ccall((:MatMFFDCheckPositivity,petscComplexDouble),PetscErrorCode,(Ptr{Void},Vec{Complex128},Vec{Complex128},Ptr{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function MatMFFDSetCheckh(arg1::Mat{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatMFFDSetCheckh,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function MatMFFDSetType(arg1::Mat{Complex128},arg2::MatMFFDType) - err = ccall((:MatMFFDSetType,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Cstring),arg1,arg2) - return err -end - -function MatMFFDRegister(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatMFFDRegister,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function MatMFFDDSSetUmin(arg1::Mat{Complex128},arg2::Float64) - err = ccall((:MatMFFDDSSetUmin,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Float64),arg1,arg2) - return err -end - -function MatMFFDWPSetComputeNormU(arg1::Mat{Complex128},arg2::PetscBool) - err = ccall((:MatMFFDWPSetComputeNormU,petscComplexDouble),PetscErrorCode,(Mat{Complex128},PetscBool),arg1,arg2) - return err -end - -function PetscViewerMathematicaPutMatrix(arg1::PetscViewer{Complex128},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscViewerMathematicaPutMatrix,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Int64,Int64,Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function PetscViewerMathematicaPutCSRMatrix(arg1::PetscViewer{Complex128},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscViewerMathematicaPutCSRMatrix,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},Int64,Int64,Ptr{Int64},Ptr{Int64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatCreateNest(arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}},arg4::Integer,arg5::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}},arg6::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}},arg7::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateNest,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Ptr{IS{Complex128}},Int64,Ptr{IS{Complex128}},Ptr{Mat{Complex128}},Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function MatNestGetSize(arg1::Mat{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatNestGetSize,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function MatNestGetISs(arg1::Mat{Complex128},arg2::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}},arg3::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:MatNestGetISs,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{IS{Complex128}},Ptr{IS{Complex128}}),arg1,arg2,arg3) - return err -end - -function MatNestGetLocalISs(arg1::Mat{Complex128},arg2::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}},arg3::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:MatNestGetLocalISs,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{IS{Complex128}},Ptr{IS{Complex128}}),arg1,arg2,arg3) - return err -end - -function MatNestGetSubMats(arg1::Mat{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{Ptr{Mat{Complex128}}}},StridedArray{Ptr{Ptr{Mat{Complex128}}}},Ptr{Ptr{Ptr{Mat{Complex128}}}},Ref{Ptr{Ptr{Mat{Complex128}}}}}) - err = ccall((:MatNestGetSubMats,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Int64},Ptr{Int64},Ptr{Ptr{Ptr{Mat{Complex128}}}}),arg1,arg2,arg3,arg4) - return err -end - -function MatNestGetSubMat(arg1::Mat{Complex128},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatNestGetSubMat,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Int64,Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function MatNestSetVecType(arg1::Mat{Complex128},arg2::VecType) - err = ccall((:MatNestSetVecType,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Cstring),arg1,arg2) - return err -end - -function MatNestSetSubMats(arg1::Mat{Complex128},arg2::Integer,arg3::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}},arg4::Integer,arg5::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}},arg6::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatNestSetSubMats,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Ptr{IS{Complex128}},Int64,Ptr{IS{Complex128}},Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatNestSetSubMat(arg1::Mat{Complex128},arg2::Integer,arg3::Integer,arg4::Mat{Complex128}) - err = ccall((:MatNestSetSubMat,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Int64,Mat{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function MatChop(arg1::Mat{Complex128},arg2::Float64) - err = ccall((:MatChop,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Float64),arg1,arg2) - return err -end - -function MatComputeBandwidth(arg1::Mat{Complex128},arg2::Float64,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatComputeBandwidth,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Float64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function MatSubdomainsCreateCoalesce(arg1::Mat{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{IS{Complex128}}},StridedArray{Ptr{IS{Complex128}}},Ptr{Ptr{IS{Complex128}}},Ref{Ptr{IS{Complex128}}}}) - err = ccall((:MatSubdomainsCreateCoalesce,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Ptr{Int64},Ptr{Ptr{IS{Complex128}}}),arg1,arg2,arg3,arg4) - return err -end - -function DMInitializePackage(arg0::Type{Complex128}) - err = ccall((:DMInitializePackage,petscComplexDouble),PetscErrorCode,()) - return err -end - -function DMCreate(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMCreate,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{DM}),arg1,arg2) - return err -end - -function DMClone(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMClone,petscComplexDouble),PetscErrorCode,(DM,Ptr{DM}),arg1,arg2) - return err -end - -function DMSetType(arg0::Type{Complex128},arg1::DM,arg2::DMType) - err = ccall((:DMSetType,petscComplexDouble),PetscErrorCode,(DM,Cstring),arg1,arg2) - return err -end - -function DMGetType(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{DMType},StridedArray{DMType},Ptr{DMType},Ref{DMType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:DMGetType,petscComplexDouble),PetscErrorCode,(DM,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function DMRegister(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMRegister,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function DMRegisterDestroy(arg0::Type{Complex128}) - err = ccall((:DMRegisterDestroy,petscComplexDouble),PetscErrorCode,()) - return err -end - -function DMView(arg1::DM,arg2::PetscViewer{Complex128}) - err = ccall((:DMView,petscComplexDouble),PetscErrorCode,(DM,PetscViewer{Complex128}),arg1,arg2) - return err -end - -function DMLoad(arg1::DM,arg2::PetscViewer{Complex128}) - err = ccall((:DMLoad,petscComplexDouble),PetscErrorCode,(DM,PetscViewer{Complex128}),arg1,arg2) - return err -end - -function DMDestroy(arg0::Type{Complex128},arg1::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMDestroy,petscComplexDouble),PetscErrorCode,(Ptr{DM},),arg1) - return err -end - -function DMCreateGlobalVector(arg1::DM,arg2::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:DMCreateGlobalVector,petscComplexDouble),PetscErrorCode,(DM,Ptr{Vec{Complex128}}),arg1,arg2) - return err -end - -function DMCreateLocalVector(arg1::DM,arg2::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:DMCreateLocalVector,petscComplexDouble),PetscErrorCode,(DM,Ptr{Vec{Complex128}}),arg1,arg2) - return err -end - -function DMGetLocalVector(arg1::DM,arg2::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:DMGetLocalVector,petscComplexDouble),PetscErrorCode,(DM,Ptr{Vec{Complex128}}),arg1,arg2) - return err -end - -function DMRestoreLocalVector(arg1::DM,arg2::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:DMRestoreLocalVector,petscComplexDouble),PetscErrorCode,(DM,Ptr{Vec{Complex128}}),arg1,arg2) - return err -end - -function DMGetGlobalVector(arg1::DM,arg2::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:DMGetGlobalVector,petscComplexDouble),PetscErrorCode,(DM,Ptr{Vec{Complex128}}),arg1,arg2) - return err -end - -function DMRestoreGlobalVector(arg1::DM,arg2::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:DMRestoreGlobalVector,petscComplexDouble),PetscErrorCode,(DM,Ptr{Vec{Complex128}}),arg1,arg2) - return err -end - -function DMClearGlobalVectors(arg0::Type{Complex128},arg1::DM) - err = ccall((:DMClearGlobalVectors,petscComplexDouble),PetscErrorCode,(DM,),arg1) - return err -end - -function DMGetNamedGlobalVector(arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:DMGetNamedGlobalVector,petscComplexDouble),PetscErrorCode,(DM,Cstring,Ptr{Vec{Complex128}}),arg1,arg2,arg3) - return err -end - -function DMRestoreNamedGlobalVector(arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:DMRestoreNamedGlobalVector,petscComplexDouble),PetscErrorCode,(DM,Cstring,Ptr{Vec{Complex128}}),arg1,arg2,arg3) - return err -end - -function DMGetNamedLocalVector(arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:DMGetNamedLocalVector,petscComplexDouble),PetscErrorCode,(DM,Cstring,Ptr{Vec{Complex128}}),arg1,arg2,arg3) - return err -end - -function DMRestoreNamedLocalVector(arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:DMRestoreNamedLocalVector,petscComplexDouble),PetscErrorCode,(DM,Cstring,Ptr{Vec{Complex128}}),arg1,arg2,arg3) - return err -end - -function DMGetLocalToGlobalMapping(arg1::DM,arg2::Union{Ptr{ISLocalToGlobalMapping{Complex128}},StridedArray{ISLocalToGlobalMapping{Complex128}},Ptr{ISLocalToGlobalMapping{Complex128}},Ref{ISLocalToGlobalMapping{Complex128}}}) - err = ccall((:DMGetLocalToGlobalMapping,petscComplexDouble),PetscErrorCode,(DM,Ptr{ISLocalToGlobalMapping{Complex128}}),arg1,arg2) - return err -end - -function DMCreateFieldIS(arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}},arg4::Union{Ptr{Ptr{IS{Complex128}}},StridedArray{Ptr{IS{Complex128}}},Ptr{Ptr{IS{Complex128}}},Ref{Ptr{IS{Complex128}}}}) - err = ccall((:DMCreateFieldIS,petscComplexDouble),PetscErrorCode,(DM,Ptr{Int64},Ptr{Ptr{Ptr{UInt8}}},Ptr{Ptr{IS{Complex128}}}),arg1,arg2,arg3,arg4) - return err -end - -function DMGetBlockSize(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMGetBlockSize,petscComplexDouble),PetscErrorCode,(DM,Ptr{Int64}),arg1,arg2) - return err -end - -function DMCreateColoring(arg1::DM,arg2::ISColoringType,arg3::Union{Ptr{ISColoring{Complex128}},StridedArray{ISColoring{Complex128}},Ptr{ISColoring{Complex128}},Ref{ISColoring{Complex128}}}) - err = ccall((:DMCreateColoring,petscComplexDouble),PetscErrorCode,(DM,ISColoringType,Ptr{ISColoring{Complex128}}),arg1,arg2,arg3) - return err -end - -function DMCreateMatrix(arg1::DM,arg2::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:DMCreateMatrix,petscComplexDouble),PetscErrorCode,(DM,Ptr{Mat{Complex128}}),arg1,arg2) - return err -end - -function DMSetMatrixPreallocateOnly(arg0::Type{Complex128},arg1::DM,arg2::PetscBool) - err = ccall((:DMSetMatrixPreallocateOnly,petscComplexDouble),PetscErrorCode,(DM,PetscBool),arg1,arg2) - return err -end - -function DMCreateInterpolation(arg1::DM,arg2::DM,arg3::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}},arg4::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:DMCreateInterpolation,petscComplexDouble),PetscErrorCode,(DM,DM,Ptr{Mat{Complex128}},Ptr{Vec{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function DMCreateInjection(arg1::DM,arg2::DM,arg3::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:DMCreateInjection,petscComplexDouble),PetscErrorCode,(DM,DM,Ptr{Mat{Complex128}}),arg1,arg2,arg3) - return err -end - -function DMGetWorkArray(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::PetscDataType,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMGetWorkArray,petscComplexDouble),PetscErrorCode,(DM,Int64,PetscDataType,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMRestoreWorkArray(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::PetscDataType,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMRestoreWorkArray,petscComplexDouble),PetscErrorCode,(DM,Int64,PetscDataType,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMRefine(arg0::Type{Complex128},arg1::DM,arg2::MPI_Comm,arg3::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMRefine,petscComplexDouble),PetscErrorCode,(DM,comm_type,Ptr{DM}),arg1,arg2,arg3) - return err -end - -function DMCoarsen(arg0::Type{Complex128},arg1::DM,arg2::MPI_Comm,arg3::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMCoarsen,petscComplexDouble),PetscErrorCode,(DM,comm_type,Ptr{DM}),arg1,arg2,arg3) - return err -end - -function DMRefineHierarchy(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMRefineHierarchy,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{DM}),arg1,arg2,arg3) - return err -end - -function DMCoarsenHierarchy(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMCoarsenHierarchy,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{DM}),arg1,arg2,arg3) - return err -end - -function DMCoarsenHookAdd(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMCoarsenHookAdd,petscComplexDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMRefineHookAdd(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMRefineHookAdd,petscComplexDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMRestrict(arg1::DM,arg2::Mat{Complex128},arg3::Vec{Complex128},arg4::Mat{Complex128},arg5::DM) - err = ccall((:DMRestrict,petscComplexDouble),PetscErrorCode,(DM,Mat{Complex128},Vec{Complex128},Mat{Complex128},DM),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMInterpolate(arg1::DM,arg2::Mat{Complex128},arg3::DM) - err = ccall((:DMInterpolate,petscComplexDouble),PetscErrorCode,(DM,Mat{Complex128},DM),arg1,arg2,arg3) - return err -end - -function DMSetFromOptions(arg0::Type{Complex128},arg1::DM) - err = ccall((:DMSetFromOptions,petscComplexDouble),PetscErrorCode,(DM,),arg1) - return err -end - -function DMViewFromOptions(arg0::Type{Complex128},A::DM,obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:DMViewFromOptions,petscComplexDouble),PetscErrorCode,(DM,PetscObject,Cstring),A,obj,name) - return err -end - -function DMSetUp(arg0::Type{Complex128},arg1::DM) - err = ccall((:DMSetUp,petscComplexDouble),PetscErrorCode,(DM,),arg1) - return err -end - -function DMCreateInterpolationScale(arg1::DM,arg2::DM,arg3::Mat{Complex128},arg4::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:DMCreateInterpolationScale,petscComplexDouble),PetscErrorCode,(DM,DM,Mat{Complex128},Ptr{Vec{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function DMCreateAggregates(arg1::DM,arg2::DM,arg3::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:DMCreateAggregates,petscComplexDouble),PetscErrorCode,(DM,DM,Ptr{Mat{Complex128}}),arg1,arg2,arg3) - return err -end - -function DMGlobalToLocalHookAdd(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMGlobalToLocalHookAdd,petscComplexDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMLocalToGlobalHookAdd(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMLocalToGlobalHookAdd,petscComplexDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMGlobalToLocalBegin(arg1::DM,arg2::Vec{Complex128},arg3::InsertMode,arg4::Vec{Complex128}) - err = ccall((:DMGlobalToLocalBegin,petscComplexDouble),PetscErrorCode,(DM,Vec{Complex128},InsertMode,Vec{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function DMGlobalToLocalEnd(arg1::DM,arg2::Vec{Complex128},arg3::InsertMode,arg4::Vec{Complex128}) - err = ccall((:DMGlobalToLocalEnd,petscComplexDouble),PetscErrorCode,(DM,Vec{Complex128},InsertMode,Vec{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function DMLocalToGlobalBegin(arg1::DM,arg2::Vec{Complex128},arg3::InsertMode,arg4::Vec{Complex128}) - err = ccall((:DMLocalToGlobalBegin,petscComplexDouble),PetscErrorCode,(DM,Vec{Complex128},InsertMode,Vec{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function DMLocalToGlobalEnd(arg1::DM,arg2::Vec{Complex128},arg3::InsertMode,arg4::Vec{Complex128}) - err = ccall((:DMLocalToGlobalEnd,petscComplexDouble),PetscErrorCode,(DM,Vec{Complex128},InsertMode,Vec{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function DMLocalToLocalBegin(arg1::DM,arg2::Vec{Complex128},arg3::InsertMode,arg4::Vec{Complex128}) - err = ccall((:DMLocalToLocalBegin,petscComplexDouble),PetscErrorCode,(DM,Vec{Complex128},InsertMode,Vec{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function DMLocalToLocalEnd(arg1::DM,arg2::Vec{Complex128},arg3::InsertMode,arg4::Vec{Complex128}) - err = ccall((:DMLocalToLocalEnd,petscComplexDouble),PetscErrorCode,(DM,Vec{Complex128},InsertMode,Vec{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function DMConvert(arg0::Type{Complex128},arg1::DM,arg2::DMType,arg3::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMConvert,petscComplexDouble),PetscErrorCode,(DM,Cstring,Ptr{DM}),arg1,arg2,arg3) - return err -end - -function DMGetDimension(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMGetDimension,petscComplexDouble),PetscErrorCode,(DM,Ptr{Int64}),arg1,arg2) - return err -end - -function DMSetDimension(arg0::Type{Complex128},arg1::DM,arg2::Integer) - err = ccall((:DMSetDimension,petscComplexDouble),PetscErrorCode,(DM,Int64),arg1,arg2) - return err -end - -function DMGetDimPoints(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMGetDimPoints,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMGetCoordinateDM(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMGetCoordinateDM,petscComplexDouble),PetscErrorCode,(DM,Ptr{DM}),arg1,arg2) - return err -end - -function DMSetCoordinateDM(arg0::Type{Complex128},arg1::DM,arg2::DM) - err = ccall((:DMSetCoordinateDM,petscComplexDouble),PetscErrorCode,(DM,DM),arg1,arg2) - return err -end - -function DMGetCoordinateDim(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMGetCoordinateDim,petscComplexDouble),PetscErrorCode,(DM,Ptr{Int64}),arg1,arg2) - return err -end - -function DMSetCoordinateDim(arg0::Type{Complex128},arg1::DM,arg2::Integer) - err = ccall((:DMSetCoordinateDim,petscComplexDouble),PetscErrorCode,(DM,Int64),arg1,arg2) - return err -end - -function DMGetCoordinateSection(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:DMGetCoordinateSection,petscComplexDouble),PetscErrorCode,(DM,Ptr{PetscSection}),arg1,arg2) - return err -end - -function DMSetCoordinateSection(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::PetscSection) - err = ccall((:DMSetCoordinateSection,petscComplexDouble),PetscErrorCode,(DM,Int64,PetscSection),arg1,arg2,arg3) - return err -end - -function DMGetCoordinates(arg1::DM,arg2::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:DMGetCoordinates,petscComplexDouble),PetscErrorCode,(DM,Ptr{Vec{Complex128}}),arg1,arg2) - return err -end - -function DMSetCoordinates(arg1::DM,arg2::Vec{Complex128}) - err = ccall((:DMSetCoordinates,petscComplexDouble),PetscErrorCode,(DM,Vec{Complex128}),arg1,arg2) - return err -end - -function DMGetCoordinatesLocal(arg1::DM,arg2::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:DMGetCoordinatesLocal,petscComplexDouble),PetscErrorCode,(DM,Ptr{Vec{Complex128}}),arg1,arg2) - return err -end - -function DMSetCoordinatesLocal(arg1::DM,arg2::Vec{Complex128}) - err = ccall((:DMSetCoordinatesLocal,petscComplexDouble),PetscErrorCode,(DM,Vec{Complex128}),arg1,arg2) - return err -end - -function DMLocatePoints(arg1::DM,arg2::Vec{Complex128},arg3::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:DMLocatePoints,petscComplexDouble),PetscErrorCode,(DM,Vec{Complex128},Ptr{IS{Complex128}}),arg1,arg2,arg3) - return err -end - -function DMGetPeriodicity(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg3::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg4::Union{Ptr{Ptr{DMBoundaryType}},StridedArray{Ptr{DMBoundaryType}},Ptr{Ptr{DMBoundaryType}},Ref{Ptr{DMBoundaryType}}}) - err = ccall((:DMGetPeriodicity,petscComplexDouble),PetscErrorCode,(DM,Ptr{Ptr{Float64}},Ptr{Ptr{Float64}},Ptr{Ptr{DMBoundaryType}}),arg1,arg2,arg3,arg4) - return err -end - -function DMSetPeriodicity(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{DMBoundaryType},StridedArray{DMBoundaryType},Ptr{DMBoundaryType},Ref{DMBoundaryType}}) - err = ccall((:DMSetPeriodicity,petscComplexDouble),PetscErrorCode,(DM,Ptr{Float64},Ptr{Float64},Ptr{DMBoundaryType}),arg1,arg2,arg3,arg4) - return err -end - -function DMSubDomainHookAdd(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMSubDomainHookAdd,petscComplexDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMSubDomainRestrict(arg1::DM,arg2::VecScatter{Complex128},arg3::VecScatter{Complex128},arg4::DM) - err = ccall((:DMSubDomainRestrict,petscComplexDouble),PetscErrorCode,(DM,VecScatter{Complex128},VecScatter{Complex128},DM),arg1,arg2,arg3,arg4) - return err -end - -function DMSetOptionsPrefix(arg0::Type{Complex128},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:DMSetOptionsPrefix,petscComplexDouble),PetscErrorCode,(DM,Cstring),arg1,arg2) - return err -end - -function DMSetVecType(arg0::Type{Complex128},arg1::DM,arg2::VecType) - err = ccall((:DMSetVecType,petscComplexDouble),PetscErrorCode,(DM,Cstring),arg1,arg2) - return err -end - -function DMGetVecType(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{VecType},StridedArray{VecType},Ptr{VecType},Ref{VecType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:DMGetVecType,petscComplexDouble),PetscErrorCode,(DM,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function DMSetMatType(arg0::Type{Complex128},arg1::DM,arg2::MatType) - err = ccall((:DMSetMatType,petscComplexDouble),PetscErrorCode,(DM,Cstring),arg1,arg2) - return err -end - -function DMGetMatType(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{MatType},StridedArray{MatType},Ptr{MatType},Ref{MatType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:DMGetMatType,petscComplexDouble),PetscErrorCode,(DM,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function DMSetApplicationContext(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMSetApplicationContext,petscComplexDouble),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMSetApplicationContextDestroy(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMSetApplicationContextDestroy,petscComplexDouble),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMGetApplicationContext(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMGetApplicationContext,petscComplexDouble),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMSetVariableBounds(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMSetVariableBounds,petscComplexDouble),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMHasVariableBounds(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:DMHasVariableBounds,petscComplexDouble),PetscErrorCode,(DM,Ptr{PetscBool}),arg1,arg2) - return err -end - -function DMHasColoring(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:DMHasColoring,petscComplexDouble),PetscErrorCode,(DM,Ptr{PetscBool}),arg1,arg2) - return err -end - -function DMComputeVariableBounds(arg1::DM,arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:DMComputeVariableBounds,petscComplexDouble),PetscErrorCode,(DM,Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function DMCreateSubDM(arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}},arg5::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMCreateSubDM,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{IS{Complex128}},Ptr{DM}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMCreateFieldDecomposition(arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}},arg4::Union{Ptr{Ptr{IS{Complex128}}},StridedArray{Ptr{IS{Complex128}}},Ptr{Ptr{IS{Complex128}}},Ref{Ptr{IS{Complex128}}}},arg5::Union{Ptr{Ptr{DM}},StridedArray{Ptr{DM}},Ptr{Ptr{DM}},Ref{Ptr{DM}}}) - err = ccall((:DMCreateFieldDecomposition,petscComplexDouble),PetscErrorCode,(DM,Ptr{Int64},Ptr{Ptr{Ptr{UInt8}}},Ptr{Ptr{IS{Complex128}}},Ptr{Ptr{DM}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMCreateDomainDecomposition(arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}},arg4::Union{Ptr{Ptr{IS{Complex128}}},StridedArray{Ptr{IS{Complex128}}},Ptr{Ptr{IS{Complex128}}},Ref{Ptr{IS{Complex128}}}},arg5::Union{Ptr{Ptr{IS{Complex128}}},StridedArray{Ptr{IS{Complex128}}},Ptr{Ptr{IS{Complex128}}},Ref{Ptr{IS{Complex128}}}},arg6::Union{Ptr{Ptr{DM}},StridedArray{Ptr{DM}},Ptr{Ptr{DM}},Ref{Ptr{DM}}}) - err = ccall((:DMCreateDomainDecomposition,petscComplexDouble),PetscErrorCode,(DM,Ptr{Int64},Ptr{Ptr{Ptr{UInt8}}},Ptr{Ptr{IS{Complex128}}},Ptr{Ptr{IS{Complex128}}},Ptr{Ptr{DM}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMCreateDomainDecompositionScatters(arg1::DM,arg2::Integer,arg3::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}},arg4::Union{Ptr{Ptr{VecScatter{Complex128}}},StridedArray{Ptr{VecScatter{Complex128}}},Ptr{Ptr{VecScatter{Complex128}}},Ref{Ptr{VecScatter{Complex128}}}},arg5::Union{Ptr{Ptr{VecScatter{Complex128}}},StridedArray{Ptr{VecScatter{Complex128}}},Ptr{Ptr{VecScatter{Complex128}}},Ref{Ptr{VecScatter{Complex128}}}},arg6::Union{Ptr{Ptr{VecScatter{Complex128}}},StridedArray{Ptr{VecScatter{Complex128}}},Ptr{Ptr{VecScatter{Complex128}}},Ref{Ptr{VecScatter{Complex128}}}}) - err = ccall((:DMCreateDomainDecompositionScatters,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{DM},Ptr{Ptr{VecScatter{Complex128}}},Ptr{Ptr{VecScatter{Complex128}}},Ptr{Ptr{VecScatter{Complex128}}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMGetRefineLevel(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMGetRefineLevel,petscComplexDouble),PetscErrorCode,(DM,Ptr{Int64}),arg1,arg2) - return err -end - -function DMGetCoarsenLevel(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMGetCoarsenLevel,petscComplexDouble),PetscErrorCode,(DM,Ptr{Int64}),arg1,arg2) - return err -end - -function DMFinalizePackage(arg0::Type{Complex128}) - err = ccall((:DMFinalizePackage,petscComplexDouble),PetscErrorCode,()) - return err -end - -function VecGetDM(arg1::Vec{Complex128},arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:VecGetDM,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Ptr{DM}),arg1,arg2) - return err -end - -function VecSetDM(arg1::Vec{Complex128},arg2::DM) - err = ccall((:VecSetDM,petscComplexDouble),PetscErrorCode,(Vec{Complex128},DM),arg1,arg2) - return err -end - -function MatGetDM(arg1::Mat{Complex128},arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:MatGetDM,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{DM}),arg1,arg2) - return err -end - -function MatSetDM(arg1::Mat{Complex128},arg2::DM) - err = ccall((:MatSetDM,petscComplexDouble),PetscErrorCode,(Mat{Complex128},DM),arg1,arg2) - return err -end - -function DMPrintCellVector(arg0::Type{Complex128},arg1::Integer,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - err = ccall((:DMPrintCellVector,petscComplexDouble),PetscErrorCode,(Int64,Cstring,Int64,Ptr{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function DMPrintCellMatrix(arg0::Type{Complex128},arg1::Integer,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::Integer,arg5::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - err = ccall((:DMPrintCellMatrix,petscComplexDouble),PetscErrorCode,(Int64,Cstring,Int64,Int64,Ptr{Complex128}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPrintLocalVec(arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Float64,arg4::Vec{Complex128}) - err = ccall((:DMPrintLocalVec,petscComplexDouble),PetscErrorCode,(DM,Cstring,Float64,Vec{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function DMGetDefaultSection(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:DMGetDefaultSection,petscComplexDouble),PetscErrorCode,(DM,Ptr{PetscSection}),arg1,arg2) - return err -end - -function DMSetDefaultSection(arg0::Type{Complex128},arg1::DM,arg2::PetscSection) - err = ccall((:DMSetDefaultSection,petscComplexDouble),PetscErrorCode,(DM,PetscSection),arg1,arg2) - return err -end - -function DMGetDefaultConstraints(arg1::DM,arg2::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}},arg3::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:DMGetDefaultConstraints,petscComplexDouble),PetscErrorCode,(DM,Ptr{PetscSection},Ptr{Mat{Complex128}}),arg1,arg2,arg3) - return err -end - -function DMSetDefaultConstraints(arg1::DM,arg2::PetscSection,arg3::Mat{Complex128}) - err = ccall((:DMSetDefaultConstraints,petscComplexDouble),PetscErrorCode,(DM,PetscSection,Mat{Complex128}),arg1,arg2,arg3) - return err -end - -function DMGetDefaultGlobalSection(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:DMGetDefaultGlobalSection,petscComplexDouble),PetscErrorCode,(DM,Ptr{PetscSection}),arg1,arg2) - return err -end - -function DMSetDefaultGlobalSection(arg0::Type{Complex128},arg1::DM,arg2::PetscSection) - err = ccall((:DMSetDefaultGlobalSection,petscComplexDouble),PetscErrorCode,(DM,PetscSection),arg1,arg2) - return err -end - -function DMGetDefaultSF(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{PetscSF},StridedArray{PetscSF},Ptr{PetscSF},Ref{PetscSF}}) - err = ccall((:DMGetDefaultSF,petscComplexDouble),PetscErrorCode,(DM,Ptr{PetscSF}),arg1,arg2) - return err -end - -function DMSetDefaultSF(arg0::Type{Complex128},arg1::DM,arg2::PetscSF) - err = ccall((:DMSetDefaultSF,petscComplexDouble),PetscErrorCode,(DM,PetscSF),arg1,arg2) - return err -end - -function DMCreateDefaultSF(arg0::Type{Complex128},arg1::DM,arg2::PetscSection,arg3::PetscSection) - err = ccall((:DMCreateDefaultSF,petscComplexDouble),PetscErrorCode,(DM,PetscSection,PetscSection),arg1,arg2,arg3) - return err -end - -function DMGetPointSF(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{PetscSF},StridedArray{PetscSF},Ptr{PetscSF},Ref{PetscSF}}) - err = ccall((:DMGetPointSF,petscComplexDouble),PetscErrorCode,(DM,Ptr{PetscSF}),arg1,arg2) - return err -end - -function DMSetPointSF(arg0::Type{Complex128},arg1::DM,arg2::PetscSF) - err = ccall((:DMSetPointSF,petscComplexDouble),PetscErrorCode,(DM,PetscSF),arg1,arg2) - return err -end - -function DMGetOutputDM(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMGetOutputDM,petscComplexDouble),PetscErrorCode,(DM,Ptr{DM}),arg1,arg2) - return err -end - -function DMGetOutputSequenceNumber(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:DMGetOutputSequenceNumber,petscComplexDouble),PetscErrorCode,(DM,Ptr{Int64},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function DMSetOutputSequenceNumber(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Float64) - err = ccall((:DMSetOutputSequenceNumber,petscComplexDouble),PetscErrorCode,(DM,Int64,Float64),arg1,arg2,arg3) - return err -end - -function DMOutputSequenceLoad(arg1::DM,arg2::PetscViewer{Complex128},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Integer,arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:DMOutputSequenceLoad,petscComplexDouble),PetscErrorCode,(DM,PetscViewer{Complex128},Cstring,Int64,Ptr{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMGetDS(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{PetscDS},StridedArray{PetscDS},Ptr{PetscDS},Ref{PetscDS}}) - err = ccall((:DMGetDS,petscComplexDouble),PetscErrorCode,(DM,Ptr{PetscDS}),arg1,arg2) - return err -end - -function DMSetDS(arg0::Type{Complex128},arg1::DM,arg2::PetscDS) - err = ccall((:DMSetDS,petscComplexDouble),PetscErrorCode,(DM,PetscDS),arg1,arg2) - return err -end - -function DMGetNumFields(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMGetNumFields,petscComplexDouble),PetscErrorCode,(DM,Ptr{Int64}),arg1,arg2) - return err -end - -function DMSetNumFields(arg0::Type{Complex128},arg1::DM,arg2::Integer) - err = ccall((:DMSetNumFields,petscComplexDouble),PetscErrorCode,(DM,Int64),arg1,arg2) - return err -end - -function DMGetField(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{PetscObject},StridedArray{PetscObject},Ptr{PetscObject},Ref{PetscObject}}) - err = ccall((:DMGetField,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{PetscObject}),arg1,arg2,arg3) - return err -end - -function DMSetField(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::PetscObject) - err = ccall((:DMSetField,petscComplexDouble),PetscErrorCode,(DM,Int64,PetscObject),arg1,arg2,arg3) - return err -end - -#= skipping function with undefined symbols: - function DMInterpolationCreate(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{DMInterpolationInfo},StridedArray{DMInterpolationInfo},Ptr{DMInterpolationInfo},Ref{DMInterpolationInfo}}) - ccall((:DMInterpolationCreate,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{DMInterpolationInfo}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function DMInterpolationSetDim(arg0::Type{Complex128},arg1::DMInterpolationInfo,arg2::Integer) - ccall((:DMInterpolationSetDim,petscComplexDouble),PetscErrorCode,(DMInterpolationInfo,Int64),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function DMInterpolationGetDim(arg0::Type{Complex128},arg1::DMInterpolationInfo,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - ccall((:DMInterpolationGetDim,petscComplexDouble),PetscErrorCode,(DMInterpolationInfo,Ptr{Int64}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function DMInterpolationSetDof(arg0::Type{Complex128},arg1::DMInterpolationInfo,arg2::Integer) - ccall((:DMInterpolationSetDof,petscComplexDouble),PetscErrorCode,(DMInterpolationInfo,Int64),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function DMInterpolationGetDof(arg0::Type{Complex128},arg1::DMInterpolationInfo,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - ccall((:DMInterpolationGetDof,petscComplexDouble),PetscErrorCode,(DMInterpolationInfo,Ptr{Int64}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function DMInterpolationAddPoints(arg0::Type{Complex128},arg1::DMInterpolationInfo,arg2::Integer,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - ccall((:DMInterpolationAddPoints,petscComplexDouble),PetscErrorCode,(DMInterpolationInfo,Int64,Ptr{Float64}),arg1,arg2,arg3) -end -=# -#= skipping function with undefined symbols: - function DMInterpolationSetUp(arg0::Type{Complex128},arg1::DMInterpolationInfo,arg2::DM,arg3::PetscBool) - ccall((:DMInterpolationSetUp,petscComplexDouble),PetscErrorCode,(DMInterpolationInfo,DM,PetscBool),arg1,arg2,arg3) -end -=# -#= skipping function with undefined symbols: - function DMInterpolationGetCoordinates(arg1::DMInterpolationInfo,arg2::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - ccall((:DMInterpolationGetCoordinates,petscComplexDouble),PetscErrorCode,(DMInterpolationInfo,Ptr{Vec{Complex128}}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function DMInterpolationGetVector(arg1::DMInterpolationInfo,arg2::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - ccall((:DMInterpolationGetVector,petscComplexDouble),PetscErrorCode,(DMInterpolationInfo,Ptr{Vec{Complex128}}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function DMInterpolationRestoreVector(arg1::DMInterpolationInfo,arg2::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - ccall((:DMInterpolationRestoreVector,petscComplexDouble),PetscErrorCode,(DMInterpolationInfo,Ptr{Vec{Complex128}}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function DMInterpolationEvaluate(arg1::DMInterpolationInfo,arg2::DM,arg3::Vec{Complex128},arg4::Vec{Complex128}) - ccall((:DMInterpolationEvaluate,petscComplexDouble),PetscErrorCode,(DMInterpolationInfo,DM,Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3,arg4) -end -=# -#= skipping function with undefined symbols: - function DMInterpolationDestroy(arg0::Type{Complex128},arg1::Union{Ptr{DMInterpolationInfo},StridedArray{DMInterpolationInfo},Ptr{DMInterpolationInfo},Ref{DMInterpolationInfo}}) - ccall((:DMInterpolationDestroy,petscComplexDouble),PetscErrorCode,(Ptr{DMInterpolationInfo},),arg1) -end -=# -function PFCreate(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Union{Ptr{PF},StridedArray{PF},Ptr{PF},Ref{PF}}) - err = ccall((:PFCreate,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Int64,Ptr{PF}),arg1,arg2,arg3,arg4) - return err -end - -function PFSetType(arg0::Type{Complex128},arg1::PF,arg2::PFType,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PFSetType,petscComplexDouble),PetscErrorCode,(PF,Cstring,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function PFSet(arg0::Type{Complex128},arg1::PF,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PFSet,petscComplexDouble),PetscErrorCode,(PF,Ptr{Void},Ptr{Void},Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PFApply(arg0::Type{Complex128},arg1::PF,arg2::Integer,arg3::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg4::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - err = ccall((:PFApply,petscComplexDouble),PetscErrorCode,(PF,Int64,Ptr{Complex128},Ptr{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function PFApplyVec(arg1::PF,arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:PFApplyVec,petscComplexDouble),PetscErrorCode,(PF,Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function PFInitializePackage(arg0::Type{Complex128}) - err = ccall((:PFInitializePackage,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PFRegister(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PFRegister,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function PFDestroy(arg0::Type{Complex128},arg1::Union{Ptr{PF},StridedArray{PF},Ptr{PF},Ref{PF}}) - err = ccall((:PFDestroy,petscComplexDouble),PetscErrorCode,(Ptr{PF},),arg1) - return err -end - -function PFSetFromOptions(arg0::Type{Complex128},arg1::PF) - err = ccall((:PFSetFromOptions,petscComplexDouble),PetscErrorCode,(PF,),arg1) - return err -end - -function PFGetType(arg0::Type{Complex128},arg1::PF,arg2::Union{Ptr{PFType},StridedArray{PFType},Ptr{PFType},Ref{PFType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:PFGetType,petscComplexDouble),PetscErrorCode,(PF,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function PFView(arg1::PF,arg2::PetscViewer{Complex128}) - err = ccall((:PFView,petscComplexDouble),PetscErrorCode,(PF,PetscViewer{Complex128}),arg1,arg2) - return err -end - -function PFViewFromOptions(arg0::Type{Complex128},A::PF,obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PFViewFromOptions,petscComplexDouble),PetscErrorCode,(PF,PetscObject,Cstring),A,obj,name) - return err -end - -function AOInitializePackage(arg0::Type{Complex128}) - err = ccall((:AOInitializePackage,petscComplexDouble),PetscErrorCode,()) - return err -end - -function AOCreate(arg1::MPI_Comm,arg2::Union{Ptr{AO{Complex128}},StridedArray{AO{Complex128}},Ptr{AO{Complex128}},Ref{AO{Complex128}}}) - err = ccall((:AOCreate,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{AO{Complex128}}),arg1,arg2) - return err -end - -function AOSetIS(arg1::AO{Complex128},arg2::IS{Complex128},arg3::IS{Complex128}) - err = ccall((:AOSetIS,petscComplexDouble),PetscErrorCode,(AO{Complex128},IS{Complex128},IS{Complex128}),arg1,arg2,arg3) - return err -end - -function AOSetFromOptions(arg1::AO{Complex128}) - err = ccall((:AOSetFromOptions,petscComplexDouble),PetscErrorCode,(AO{Complex128},),arg1) - return err -end - -function AOCreateBasic(arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{AO{Complex128}},StridedArray{AO{Complex128}},Ptr{AO{Complex128}},Ref{AO{Complex128}}}) - err = ccall((:AOCreateBasic,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Ptr{Int64},Ptr{Int64},Ptr{AO{Complex128}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function AOCreateBasicIS(arg1::IS{Complex128},arg2::IS{Complex128},arg3::Union{Ptr{AO{Complex128}},StridedArray{AO{Complex128}},Ptr{AO{Complex128}},Ref{AO{Complex128}}}) - err = ccall((:AOCreateBasicIS,petscComplexDouble),PetscErrorCode,(IS{Complex128},IS{Complex128},Ptr{AO{Complex128}}),arg1,arg2,arg3) - return err -end - -function AOCreateMemoryScalable(arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{AO{Complex128}},StridedArray{AO{Complex128}},Ptr{AO{Complex128}},Ref{AO{Complex128}}}) - err = ccall((:AOCreateMemoryScalable,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Ptr{Int64},Ptr{Int64},Ptr{AO{Complex128}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function AOCreateMemoryScalableIS(arg1::IS{Complex128},arg2::IS{Complex128},arg3::Union{Ptr{AO{Complex128}},StridedArray{AO{Complex128}},Ptr{AO{Complex128}},Ref{AO{Complex128}}}) - err = ccall((:AOCreateMemoryScalableIS,petscComplexDouble),PetscErrorCode,(IS{Complex128},IS{Complex128},Ptr{AO{Complex128}}),arg1,arg2,arg3) - return err -end - -function AOCreateMapping(arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{AO{Complex128}},StridedArray{AO{Complex128}},Ptr{AO{Complex128}},Ref{AO{Complex128}}}) - err = ccall((:AOCreateMapping,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Ptr{Int64},Ptr{Int64},Ptr{AO{Complex128}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function AOCreateMappingIS(arg1::IS{Complex128},arg2::IS{Complex128},arg3::Union{Ptr{AO{Complex128}},StridedArray{AO{Complex128}},Ptr{AO{Complex128}},Ref{AO{Complex128}}}) - err = ccall((:AOCreateMappingIS,petscComplexDouble),PetscErrorCode,(IS{Complex128},IS{Complex128},Ptr{AO{Complex128}}),arg1,arg2,arg3) - return err -end - -function AOView(arg1::AO{Complex128},arg2::PetscViewer{Complex128}) - err = ccall((:AOView,petscComplexDouble),PetscErrorCode,(AO{Complex128},PetscViewer{Complex128}),arg1,arg2) - return err -end - -function AOViewFromOptions(A::AO{Complex128},obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:AOViewFromOptions,petscComplexDouble),PetscErrorCode,(AO{Complex128},PetscObject,Cstring),A,obj,name) - return err -end - -function AODestroy(arg1::Union{Ptr{AO{Complex128}},StridedArray{AO{Complex128}},Ptr{AO{Complex128}},Ref{AO{Complex128}}}) - err = ccall((:AODestroy,petscComplexDouble),PetscErrorCode,(Ptr{AO{Complex128}},),arg1) - return err -end - -function AOSetType(arg1::AO{Complex128},arg2::AOType) - err = ccall((:AOSetType,petscComplexDouble),PetscErrorCode,(AO{Complex128},Cstring),arg1,arg2) - return err -end - -function AOGetType(arg1::AO{Complex128},arg2::Union{Ptr{AOType},StridedArray{AOType},Ptr{AOType},Ref{AOType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:AOGetType,petscComplexDouble),PetscErrorCode,(AO{Complex128},Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function AORegister(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:AORegister,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function AOPetscToApplication(arg1::AO{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:AOPetscToApplication,petscComplexDouble),PetscErrorCode,(AO{Complex128},Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function AOApplicationToPetsc(arg1::AO{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:AOApplicationToPetsc,petscComplexDouble),PetscErrorCode,(AO{Complex128},Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function AOPetscToApplicationIS(arg1::AO{Complex128},arg2::IS{Complex128}) - err = ccall((:AOPetscToApplicationIS,petscComplexDouble),PetscErrorCode,(AO{Complex128},IS{Complex128}),arg1,arg2) - return err -end - -function AOApplicationToPetscIS(arg1::AO{Complex128},arg2::IS{Complex128}) - err = ccall((:AOApplicationToPetscIS,petscComplexDouble),PetscErrorCode,(AO{Complex128},IS{Complex128}),arg1,arg2) - return err -end - -function AOPetscToApplicationPermuteInt(arg1::AO{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:AOPetscToApplicationPermuteInt,petscComplexDouble),PetscErrorCode,(AO{Complex128},Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function AOApplicationToPetscPermuteInt(arg1::AO{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:AOApplicationToPetscPermuteInt,petscComplexDouble),PetscErrorCode,(AO{Complex128},Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function AOPetscToApplicationPermuteReal(arg1::AO{Complex128},arg2::Integer,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:AOPetscToApplicationPermuteReal,petscComplexDouble),PetscErrorCode,(AO{Complex128},Int64,Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function AOApplicationToPetscPermuteReal(arg1::AO{Complex128},arg2::Integer,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:AOApplicationToPetscPermuteReal,petscComplexDouble),PetscErrorCode,(AO{Complex128},Int64,Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function AOMappingHasApplicationIndex(arg1::AO{Complex128},arg2::Integer,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:AOMappingHasApplicationIndex,petscComplexDouble),PetscErrorCode,(AO{Complex128},Int64,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function AOMappingHasPetscIndex(arg1::AO{Complex128},arg2::Integer,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:AOMappingHasPetscIndex,petscComplexDouble),PetscErrorCode,(AO{Complex128},Int64,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function PetscQuadratureCreate(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{PetscQuadrature},StridedArray{PetscQuadrature},Ptr{PetscQuadrature},Ref{PetscQuadrature}}) - err = ccall((:PetscQuadratureCreate,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{PetscQuadrature}),arg1,arg2) - return err -end - -function PetscQuadratureDuplicate(arg0::Type{Complex128},arg1::PetscQuadrature,arg2::Union{Ptr{PetscQuadrature},StridedArray{PetscQuadrature},Ptr{PetscQuadrature},Ref{PetscQuadrature}}) - err = ccall((:PetscQuadratureDuplicate,petscComplexDouble),PetscErrorCode,(PetscQuadrature,Ptr{PetscQuadrature}),arg1,arg2) - return err -end - -function PetscQuadratureGetOrder(arg0::Type{Complex128},arg1::PetscQuadrature,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscQuadratureGetOrder,petscComplexDouble),PetscErrorCode,(PetscQuadrature,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscQuadratureSetOrder(arg0::Type{Complex128},arg1::PetscQuadrature,arg2::Integer) - err = ccall((:PetscQuadratureSetOrder,petscComplexDouble),PetscErrorCode,(PetscQuadrature,Int64),arg1,arg2) - return err -end - -function PetscQuadratureGetData(arg0::Type{Complex128},arg1::PetscQuadrature,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg5::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:PetscQuadratureGetData,petscComplexDouble),PetscErrorCode,(PetscQuadrature,Ptr{Int64},Ptr{Int64},Ptr{Ptr{Float64}},Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscQuadratureSetData(arg0::Type{Complex128},arg1::PetscQuadrature,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscQuadratureSetData,petscComplexDouble),PetscErrorCode,(PetscQuadrature,Int64,Int64,Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscQuadratureView(arg1::PetscQuadrature,arg2::PetscViewer{Complex128}) - err = ccall((:PetscQuadratureView,petscComplexDouble),PetscErrorCode,(PetscQuadrature,PetscViewer{Complex128}),arg1,arg2) - return err -end - -function PetscQuadratureDestroy(arg0::Type{Complex128},arg1::Union{Ptr{PetscQuadrature},StridedArray{PetscQuadrature},Ptr{PetscQuadrature},Ref{PetscQuadrature}}) - err = ccall((:PetscQuadratureDestroy,petscComplexDouble),PetscErrorCode,(Ptr{PetscQuadrature},),arg1) - return err -end - -function PetscQuadratureExpandComposite(arg0::Type{Complex128},arg1::PetscQuadrature,arg2::Integer,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{PetscQuadrature},StridedArray{PetscQuadrature},Ptr{PetscQuadrature},Ref{PetscQuadrature}}) - err = ccall((:PetscQuadratureExpandComposite,petscComplexDouble),PetscErrorCode,(PetscQuadrature,Int64,Ptr{Float64},Ptr{Float64},Ptr{PetscQuadrature}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDTLegendreEval(arg0::Type{Complex128},arg1::Integer,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg7::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscDTLegendreEval,petscComplexDouble),PetscErrorCode,(Int64,Ptr{Float64},Int64,Ptr{Int64},Ptr{Float64},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function PetscDTGaussQuadrature(arg0::Type{Complex128},arg1::Integer,arg2::Float64,arg3::Float64,arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscDTGaussQuadrature,petscComplexDouble),PetscErrorCode,(Int64,Float64,Float64,Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDTReconstructPoly(arg0::Type{Complex128},arg1::Integer,arg2::Integer,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Integer,arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscDTReconstructPoly,petscComplexDouble),PetscErrorCode,(Int64,Int64,Ptr{Float64},Int64,Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscDTGaussTensorQuadrature(arg0::Type{Complex128},arg1::Integer,arg2::Integer,arg3::Float64,arg4::Float64,arg5::Union{Ptr{PetscQuadrature},StridedArray{PetscQuadrature},Ptr{PetscQuadrature},Ref{PetscQuadrature}}) - err = ccall((:PetscDTGaussTensorQuadrature,petscComplexDouble),PetscErrorCode,(Int64,Int64,Float64,Float64,Ptr{PetscQuadrature}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDTGaussJacobiQuadrature(arg0::Type{Complex128},arg1::Integer,arg2::Integer,arg3::Float64,arg4::Float64,arg5::Union{Ptr{PetscQuadrature},StridedArray{PetscQuadrature},Ptr{PetscQuadrature},Ref{PetscQuadrature}}) - err = ccall((:PetscDTGaussJacobiQuadrature,petscComplexDouble),PetscErrorCode,(Int64,Int64,Float64,Float64,Ptr{PetscQuadrature}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscFEInitializePackage(arg0::Type{Complex128}) - err = ccall((:PetscFEInitializePackage,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscSpaceCreate(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{PetscSpace},StridedArray{PetscSpace},Ptr{PetscSpace},Ref{PetscSpace}}) - err = ccall((:PetscSpaceCreate,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{PetscSpace}),arg1,arg2) - return err -end - -function PetscSpaceDestroy(arg0::Type{Complex128},arg1::Union{Ptr{PetscSpace},StridedArray{PetscSpace},Ptr{PetscSpace},Ref{PetscSpace}}) - err = ccall((:PetscSpaceDestroy,petscComplexDouble),PetscErrorCode,(Ptr{PetscSpace},),arg1) - return err -end - -function PetscSpaceSetType(arg0::Type{Complex128},arg1::PetscSpace,arg2::PetscSpaceType) - err = ccall((:PetscSpaceSetType,petscComplexDouble),PetscErrorCode,(PetscSpace,Cstring),arg1,arg2) - return err -end - -function PetscSpaceGetType(arg0::Type{Complex128},arg1::PetscSpace,arg2::Union{Ptr{PetscSpaceType},StridedArray{PetscSpaceType},Ptr{PetscSpaceType},Ref{PetscSpaceType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:PetscSpaceGetType,petscComplexDouble),PetscErrorCode,(PetscSpace,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function PetscSpaceSetUp(arg0::Type{Complex128},arg1::PetscSpace) - err = ccall((:PetscSpaceSetUp,petscComplexDouble),PetscErrorCode,(PetscSpace,),arg1) - return err -end - -function PetscSpaceSetFromOptions(arg0::Type{Complex128},arg1::PetscSpace) - err = ccall((:PetscSpaceSetFromOptions,petscComplexDouble),PetscErrorCode,(PetscSpace,),arg1) - return err -end - -function PetscSpaceViewFromOptions(arg0::Type{Complex128},A::PetscSpace,B::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscSpaceViewFromOptions,petscComplexDouble),PetscErrorCode,(PetscSpace,PetscObject,Cstring),A,B,name) - return err -end - -function PetscSpaceView(arg1::PetscSpace,arg2::PetscViewer{Complex128}) - err = ccall((:PetscSpaceView,petscComplexDouble),PetscErrorCode,(PetscSpace,PetscViewer{Complex128}),arg1,arg2) - return err -end - -function PetscSpaceRegister(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscSpaceRegister,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function PetscSpaceRegisterDestroy(arg0::Type{Complex128}) - err = ccall((:PetscSpaceRegisterDestroy,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscSpaceGetDimension(arg0::Type{Complex128},arg1::PetscSpace,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSpaceGetDimension,petscComplexDouble),PetscErrorCode,(PetscSpace,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscSpaceSetOrder(arg0::Type{Complex128},arg1::PetscSpace,arg2::Integer) - err = ccall((:PetscSpaceSetOrder,petscComplexDouble),PetscErrorCode,(PetscSpace,Int64),arg1,arg2) - return err -end - -function PetscSpaceGetOrder(arg0::Type{Complex128},arg1::PetscSpace,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSpaceGetOrder,petscComplexDouble),PetscErrorCode,(PetscSpace,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscSpaceEvaluate(arg0::Type{Complex128},arg1::PetscSpace,arg2::Integer,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscSpaceEvaluate,petscComplexDouble),PetscErrorCode,(PetscSpace,Int64,Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscSpacePolynomialSetNumVariables(arg0::Type{Complex128},arg1::PetscSpace,arg2::Integer) - err = ccall((:PetscSpacePolynomialSetNumVariables,petscComplexDouble),PetscErrorCode,(PetscSpace,Int64),arg1,arg2) - return err -end - -function PetscSpacePolynomialGetNumVariables(arg0::Type{Complex128},arg1::PetscSpace,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSpacePolynomialGetNumVariables,petscComplexDouble),PetscErrorCode,(PetscSpace,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscSpacePolynomialSetSymmetric(arg0::Type{Complex128},arg1::PetscSpace,arg2::PetscBool) - err = ccall((:PetscSpacePolynomialSetSymmetric,petscComplexDouble),PetscErrorCode,(PetscSpace,PetscBool),arg1,arg2) - return err -end - -function PetscSpacePolynomialGetSymmetric(arg0::Type{Complex128},arg1::PetscSpace,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscSpacePolynomialGetSymmetric,petscComplexDouble),PetscErrorCode,(PetscSpace,Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscSpacePolynomialSetTensor(arg0::Type{Complex128},arg1::PetscSpace,arg2::PetscBool) - err = ccall((:PetscSpacePolynomialSetTensor,petscComplexDouble),PetscErrorCode,(PetscSpace,PetscBool),arg1,arg2) - return err -end - -function PetscSpacePolynomialGetTensor(arg0::Type{Complex128},arg1::PetscSpace,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscSpacePolynomialGetTensor,petscComplexDouble),PetscErrorCode,(PetscSpace,Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscSpaceDGSetQuadrature(arg0::Type{Complex128},arg1::PetscSpace,arg2::PetscQuadrature) - err = ccall((:PetscSpaceDGSetQuadrature,petscComplexDouble),PetscErrorCode,(PetscSpace,PetscQuadrature),arg1,arg2) - return err -end - -function PetscSpaceDGGetQuadrature(arg0::Type{Complex128},arg1::PetscSpace,arg2::Union{Ptr{PetscQuadrature},StridedArray{PetscQuadrature},Ptr{PetscQuadrature},Ref{PetscQuadrature}}) - err = ccall((:PetscSpaceDGGetQuadrature,petscComplexDouble),PetscErrorCode,(PetscSpace,Ptr{PetscQuadrature}),arg1,arg2) - return err -end - -function PetscDualSpaceCreate(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{PetscDualSpace},StridedArray{PetscDualSpace},Ptr{PetscDualSpace},Ref{PetscDualSpace}}) - err = ccall((:PetscDualSpaceCreate,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{PetscDualSpace}),arg1,arg2) - return err -end - -function PetscDualSpaceDestroy(arg0::Type{Complex128},arg1::Union{Ptr{PetscDualSpace},StridedArray{PetscDualSpace},Ptr{PetscDualSpace},Ref{PetscDualSpace}}) - err = ccall((:PetscDualSpaceDestroy,petscComplexDouble),PetscErrorCode,(Ptr{PetscDualSpace},),arg1) - return err -end - -function PetscDualSpaceDuplicate(arg0::Type{Complex128},arg1::PetscDualSpace,arg2::Union{Ptr{PetscDualSpace},StridedArray{PetscDualSpace},Ptr{PetscDualSpace},Ref{PetscDualSpace}}) - err = ccall((:PetscDualSpaceDuplicate,petscComplexDouble),PetscErrorCode,(PetscDualSpace,Ptr{PetscDualSpace}),arg1,arg2) - return err -end - -function PetscDualSpaceSetType(arg0::Type{Complex128},arg1::PetscDualSpace,arg2::PetscDualSpaceType) - err = ccall((:PetscDualSpaceSetType,petscComplexDouble),PetscErrorCode,(PetscDualSpace,Cstring),arg1,arg2) - return err -end - -function PetscDualSpaceGetType(arg0::Type{Complex128},arg1::PetscDualSpace,arg2::Union{Ptr{PetscDualSpaceType},StridedArray{PetscDualSpaceType},Ptr{PetscDualSpaceType},Ref{PetscDualSpaceType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:PetscDualSpaceGetType,petscComplexDouble),PetscErrorCode,(PetscDualSpace,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function PetscDualSpaceSetUp(arg0::Type{Complex128},arg1::PetscDualSpace) - err = ccall((:PetscDualSpaceSetUp,petscComplexDouble),PetscErrorCode,(PetscDualSpace,),arg1) - return err -end - -function PetscDualSpaceSetFromOptions(arg0::Type{Complex128},arg1::PetscDualSpace) - err = ccall((:PetscDualSpaceSetFromOptions,petscComplexDouble),PetscErrorCode,(PetscDualSpace,),arg1) - return err -end - -function PetscDualSpaceViewFromOptions(arg0::Type{Complex128},A::PetscDualSpace,B::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscDualSpaceViewFromOptions,petscComplexDouble),PetscErrorCode,(PetscDualSpace,PetscObject,Cstring),A,B,name) - return err -end - -function PetscDualSpaceView(arg1::PetscDualSpace,arg2::PetscViewer{Complex128}) - err = ccall((:PetscDualSpaceView,petscComplexDouble),PetscErrorCode,(PetscDualSpace,PetscViewer{Complex128}),arg1,arg2) - return err -end - -function PetscDualSpaceRegister(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscDualSpaceRegister,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function PetscDualSpaceRegisterDestroy(arg0::Type{Complex128}) - err = ccall((:PetscDualSpaceRegisterDestroy,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscDualSpaceGetDimension(arg0::Type{Complex128},arg1::PetscDualSpace,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscDualSpaceGetDimension,petscComplexDouble),PetscErrorCode,(PetscDualSpace,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscDualSpaceSetOrder(arg0::Type{Complex128},arg1::PetscDualSpace,arg2::Integer) - err = ccall((:PetscDualSpaceSetOrder,petscComplexDouble),PetscErrorCode,(PetscDualSpace,Int64),arg1,arg2) - return err -end - -function PetscDualSpaceGetOrder(arg0::Type{Complex128},arg1::PetscDualSpace,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscDualSpaceGetOrder,petscComplexDouble),PetscErrorCode,(PetscDualSpace,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscDualSpaceSetDM(arg0::Type{Complex128},arg1::PetscDualSpace,arg2::DM) - err = ccall((:PetscDualSpaceSetDM,petscComplexDouble),PetscErrorCode,(PetscDualSpace,DM),arg1,arg2) - return err -end - -function PetscDualSpaceGetDM(arg0::Type{Complex128},arg1::PetscDualSpace,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:PetscDualSpaceGetDM,petscComplexDouble),PetscErrorCode,(PetscDualSpace,Ptr{DM}),arg1,arg2) - return err -end - -function PetscDualSpaceGetFunctional(arg0::Type{Complex128},arg1::PetscDualSpace,arg2::Integer,arg3::Union{Ptr{PetscQuadrature},StridedArray{PetscQuadrature},Ptr{PetscQuadrature},Ref{PetscQuadrature}}) - err = ccall((:PetscDualSpaceGetFunctional,petscComplexDouble),PetscErrorCode,(PetscDualSpace,Int64,Ptr{PetscQuadrature}),arg1,arg2,arg3) - return err -end - -function PetscDualSpaceCreateReferenceCell(arg0::Type{Complex128},arg1::PetscDualSpace,arg2::Integer,arg3::PetscBool,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:PetscDualSpaceCreateReferenceCell,petscComplexDouble),PetscErrorCode,(PetscDualSpace,Int64,PetscBool,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -#= skipping function with undefined symbols: - function PetscDualSpaceApply(arg0::Type{Complex128},arg1::PetscDualSpace,arg2::Integer,arg3::Union{Ptr{PetscFECellGeom},StridedArray{PetscFECellGeom},Ptr{PetscFECellGeom},Ref{PetscFECellGeom}},arg4::Integer,arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg7::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - ccall((:PetscDualSpaceApply,petscComplexDouble),PetscErrorCode,(PetscDualSpace,Int64,Ptr{PetscFECellGeom},Int64,Ptr{Void},Ptr{Void},Ptr{Complex128}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -function PetscDualSpaceLagrangeGetContinuity(arg0::Type{Complex128},arg1::PetscDualSpace,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscDualSpaceLagrangeGetContinuity,petscComplexDouble),PetscErrorCode,(PetscDualSpace,Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscDualSpaceLagrangeSetContinuity(arg0::Type{Complex128},arg1::PetscDualSpace,arg2::PetscBool) - err = ccall((:PetscDualSpaceLagrangeSetContinuity,petscComplexDouble),PetscErrorCode,(PetscDualSpace,PetscBool),arg1,arg2) - return err -end - -function PetscDualSpaceGetHeightSubspace(arg0::Type{Complex128},arg1::PetscDualSpace,arg2::Integer,arg3::Union{Ptr{PetscDualSpace},StridedArray{PetscDualSpace},Ptr{PetscDualSpace},Ref{PetscDualSpace}}) - err = ccall((:PetscDualSpaceGetHeightSubspace,petscComplexDouble),PetscErrorCode,(PetscDualSpace,Int64,Ptr{PetscDualSpace}),arg1,arg2,arg3) - return err -end - -function PetscDualSpaceSimpleSetDimension(arg0::Type{Complex128},arg1::PetscDualSpace,arg2::Integer) - err = ccall((:PetscDualSpaceSimpleSetDimension,petscComplexDouble),PetscErrorCode,(PetscDualSpace,Int64),arg1,arg2) - return err -end - -function PetscDualSpaceSimpleSetFunctional(arg0::Type{Complex128},arg1::PetscDualSpace,arg2::Integer,arg3::PetscQuadrature) - err = ccall((:PetscDualSpaceSimpleSetFunctional,petscComplexDouble),PetscErrorCode,(PetscDualSpace,Int64,PetscQuadrature),arg1,arg2,arg3) - return err -end - -function PetscFECreate(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{PetscFE},StridedArray{PetscFE},Ptr{PetscFE},Ref{PetscFE}}) - err = ccall((:PetscFECreate,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{PetscFE}),arg1,arg2) - return err -end - -function PetscFEDestroy(arg0::Type{Complex128},arg1::Union{Ptr{PetscFE},StridedArray{PetscFE},Ptr{PetscFE},Ref{PetscFE}}) - err = ccall((:PetscFEDestroy,petscComplexDouble),PetscErrorCode,(Ptr{PetscFE},),arg1) - return err -end - -function PetscFESetType(arg0::Type{Complex128},arg1::PetscFE,arg2::PetscFEType) - err = ccall((:PetscFESetType,petscComplexDouble),PetscErrorCode,(PetscFE,Cstring),arg1,arg2) - return err -end - -function PetscFEGetType(arg0::Type{Complex128},arg1::PetscFE,arg2::Union{Ptr{PetscFEType},StridedArray{PetscFEType},Ptr{PetscFEType},Ref{PetscFEType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:PetscFEGetType,petscComplexDouble),PetscErrorCode,(PetscFE,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function PetscFESetUp(arg0::Type{Complex128},arg1::PetscFE) - err = ccall((:PetscFESetUp,petscComplexDouble),PetscErrorCode,(PetscFE,),arg1) - return err -end - -function PetscFESetFromOptions(arg0::Type{Complex128},arg1::PetscFE) - err = ccall((:PetscFESetFromOptions,petscComplexDouble),PetscErrorCode,(PetscFE,),arg1) - return err -end - -function PetscFEViewFromOptions(arg0::Type{Complex128},A::PetscFE,B::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscFEViewFromOptions,petscComplexDouble),PetscErrorCode,(PetscFE,PetscObject,Cstring),A,B,name) - return err -end - -function PetscFEView(arg1::PetscFE,arg2::PetscViewer{Complex128}) - err = ccall((:PetscFEView,petscComplexDouble),PetscErrorCode,(PetscFE,PetscViewer{Complex128}),arg1,arg2) - return err -end - -function PetscFERegister(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscFERegister,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function PetscFERegisterDestroy(arg0::Type{Complex128}) - err = ccall((:PetscFERegisterDestroy,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscFECreateDefault(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Integer,arg4::PetscBool,arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg6::Integer,arg7::Union{Ptr{PetscFE},StridedArray{PetscFE},Ptr{PetscFE},Ref{PetscFE}}) - err = ccall((:PetscFECreateDefault,petscComplexDouble),PetscErrorCode,(DM,Int64,Int64,PetscBool,Cstring,Int64,Ptr{PetscFE}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function PetscFEGetDimension(arg0::Type{Complex128},arg1::PetscFE,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscFEGetDimension,petscComplexDouble),PetscErrorCode,(PetscFE,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscFEGetSpatialDimension(arg0::Type{Complex128},arg1::PetscFE,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscFEGetSpatialDimension,petscComplexDouble),PetscErrorCode,(PetscFE,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscFESetNumComponents(arg0::Type{Complex128},arg1::PetscFE,arg2::Integer) - err = ccall((:PetscFESetNumComponents,petscComplexDouble),PetscErrorCode,(PetscFE,Int64),arg1,arg2) - return err -end - -function PetscFEGetNumComponents(arg0::Type{Complex128},arg1::PetscFE,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscFEGetNumComponents,petscComplexDouble),PetscErrorCode,(PetscFE,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscFEGetTileSizes(arg0::Type{Complex128},arg1::PetscFE,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscFEGetTileSizes,petscComplexDouble),PetscErrorCode,(PetscFE,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscFESetTileSizes(arg0::Type{Complex128},arg1::PetscFE,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer) - err = ccall((:PetscFESetTileSizes,petscComplexDouble),PetscErrorCode,(PetscFE,Int64,Int64,Int64,Int64),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscFESetBasisSpace(arg0::Type{Complex128},arg1::PetscFE,arg2::PetscSpace) - err = ccall((:PetscFESetBasisSpace,petscComplexDouble),PetscErrorCode,(PetscFE,PetscSpace),arg1,arg2) - return err -end - -function PetscFEGetBasisSpace(arg0::Type{Complex128},arg1::PetscFE,arg2::Union{Ptr{PetscSpace},StridedArray{PetscSpace},Ptr{PetscSpace},Ref{PetscSpace}}) - err = ccall((:PetscFEGetBasisSpace,petscComplexDouble),PetscErrorCode,(PetscFE,Ptr{PetscSpace}),arg1,arg2) - return err -end - -function PetscFESetDualSpace(arg0::Type{Complex128},arg1::PetscFE,arg2::PetscDualSpace) - err = ccall((:PetscFESetDualSpace,petscComplexDouble),PetscErrorCode,(PetscFE,PetscDualSpace),arg1,arg2) - return err -end - -function PetscFEGetDualSpace(arg0::Type{Complex128},arg1::PetscFE,arg2::Union{Ptr{PetscDualSpace},StridedArray{PetscDualSpace},Ptr{PetscDualSpace},Ref{PetscDualSpace}}) - err = ccall((:PetscFEGetDualSpace,petscComplexDouble),PetscErrorCode,(PetscFE,Ptr{PetscDualSpace}),arg1,arg2) - return err -end - -function PetscFESetQuadrature(arg0::Type{Complex128},arg1::PetscFE,arg2::PetscQuadrature) - err = ccall((:PetscFESetQuadrature,petscComplexDouble),PetscErrorCode,(PetscFE,PetscQuadrature),arg1,arg2) - return err -end - -function PetscFEGetQuadrature(arg0::Type{Complex128},arg1::PetscFE,arg2::Union{Ptr{PetscQuadrature},StridedArray{PetscQuadrature},Ptr{PetscQuadrature},Ref{PetscQuadrature}}) - err = ccall((:PetscFEGetQuadrature,petscComplexDouble),PetscErrorCode,(PetscFE,Ptr{PetscQuadrature}),arg1,arg2) - return err -end - -function PetscFEGetNumDof(arg0::Type{Complex128},arg1::PetscFE,arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PetscFEGetNumDof,petscComplexDouble),PetscErrorCode,(PetscFE,Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function PetscFEGetDefaultTabulation(arg0::Type{Complex128},arg1::PetscFE,arg2::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg3::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg4::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:PetscFEGetDefaultTabulation,petscComplexDouble),PetscErrorCode,(PetscFE,Ptr{Ptr{Float64}},Ptr{Ptr{Float64}},Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscFEGetFaceTabulation(arg0::Type{Complex128},arg1::PetscFE,arg2::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:PetscFEGetFaceTabulation,petscComplexDouble),PetscErrorCode,(PetscFE,Ptr{Ptr{Float64}}),arg1,arg2) - return err -end - -function PetscFEGetTabulation(arg0::Type{Complex128},arg1::PetscFE,arg2::Integer,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg5::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg6::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:PetscFEGetTabulation,petscComplexDouble),PetscErrorCode,(PetscFE,Int64,Ptr{Float64},Ptr{Ptr{Float64}},Ptr{Ptr{Float64}},Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscFERestoreTabulation(arg0::Type{Complex128},arg1::PetscFE,arg2::Integer,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg5::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg6::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:PetscFERestoreTabulation,petscComplexDouble),PetscErrorCode,(PetscFE,Int64,Ptr{Float64},Ptr{Ptr{Float64}},Ptr{Ptr{Float64}},Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscFERefine(arg0::Type{Complex128},arg1::PetscFE,arg2::Union{Ptr{PetscFE},StridedArray{PetscFE},Ptr{PetscFE},Ref{PetscFE}}) - err = ccall((:PetscFERefine,petscComplexDouble),PetscErrorCode,(PetscFE,Ptr{PetscFE}),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function PetscFEIntegrate(arg0::Type{Complex128},arg1::PetscFE,arg2::PetscDS,arg3::Integer,arg4::Integer,arg5::Union{Ptr{PetscFECellGeom},StridedArray{PetscFECellGeom},Ptr{PetscFECellGeom},Ref{PetscFECellGeom}},arg6::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg7::PetscDS,arg8::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg9::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - ccall((:PetscFEIntegrate,petscComplexDouble),PetscErrorCode,(PetscFE,PetscDS,Int64,Int64,Ptr{PetscFECellGeom},Ptr{Complex128},PetscDS,Ptr{Complex128},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) -end -=# -#= skipping function with undefined symbols: - function PetscFEIntegrateResidual(arg0::Type{Complex128},arg1::PetscFE,arg2::PetscDS,arg3::Integer,arg4::Integer,arg5::Union{Ptr{PetscFECellGeom},StridedArray{PetscFECellGeom},Ptr{PetscFECellGeom},Ref{PetscFECellGeom}},arg6::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg7::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg8::PetscDS,arg9::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg10::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - ccall((:PetscFEIntegrateResidual,petscComplexDouble),PetscErrorCode,(PetscFE,PetscDS,Int64,Int64,Ptr{PetscFECellGeom},Ptr{Complex128},Ptr{Complex128},PetscDS,Ptr{Complex128},Ptr{Complex128}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) -end -=# -#= skipping function with undefined symbols: - function PetscFEIntegrateBdResidual(arg0::Type{Complex128},arg1::PetscFE,arg2::PetscDS,arg3::Integer,arg4::Integer,arg5::Union{Ptr{PetscFECellGeom},StridedArray{PetscFECellGeom},Ptr{PetscFECellGeom},Ref{PetscFECellGeom}},arg6::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg7::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg8::PetscDS,arg9::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg10::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - ccall((:PetscFEIntegrateBdResidual,petscComplexDouble),PetscErrorCode,(PetscFE,PetscDS,Int64,Int64,Ptr{PetscFECellGeom},Ptr{Complex128},Ptr{Complex128},PetscDS,Ptr{Complex128},Ptr{Complex128}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) -end -=# -#= skipping function with undefined symbols: - function PetscFEIntegrateJacobian(arg0::Type{Complex128},arg1::PetscFE,arg2::PetscDS,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{PetscFECellGeom},StridedArray{PetscFECellGeom},Ptr{PetscFECellGeom},Ref{PetscFECellGeom}},arg7::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg8::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg9::PetscDS,arg10::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg11::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - ccall((:PetscFEIntegrateJacobian,petscComplexDouble),PetscErrorCode,(PetscFE,PetscDS,Int64,Int64,Int64,Ptr{PetscFECellGeom},Ptr{Complex128},Ptr{Complex128},PetscDS,Ptr{Complex128},Ptr{Complex128}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) -end -=# -#= skipping function with undefined symbols: - function PetscFEIntegrateBdJacobian(arg0::Type{Complex128},arg1::PetscFE,arg2::PetscDS,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{PetscFECellGeom},StridedArray{PetscFECellGeom},Ptr{PetscFECellGeom},Ref{PetscFECellGeom}},arg7::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg8::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg9::PetscDS,arg10::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg11::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - ccall((:PetscFEIntegrateBdJacobian,petscComplexDouble),PetscErrorCode,(PetscFE,PetscDS,Int64,Int64,Int64,Ptr{PetscFECellGeom},Ptr{Complex128},Ptr{Complex128},PetscDS,Ptr{Complex128},Ptr{Complex128}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) -end -=# -function PetscFECompositeGetMapping(arg0::Type{Complex128},arg1::PetscFE,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg4::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg5::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:PetscFECompositeGetMapping,petscComplexDouble),PetscErrorCode,(PetscFE,Ptr{Int64},Ptr{Ptr{Float64}},Ptr{Ptr{Float64}},Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscFEOpenCLSetRealType(arg0::Type{Complex128},arg1::PetscFE,arg2::PetscDataType) - err = ccall((:PetscFEOpenCLSetRealType,petscComplexDouble),PetscErrorCode,(PetscFE,PetscDataType),arg1,arg2) - return err -end - -function PetscFEOpenCLGetRealType(arg0::Type{Complex128},arg1::PetscFE,arg2::Union{Ptr{PetscDataType},StridedArray{PetscDataType},Ptr{PetscDataType},Ref{PetscDataType}}) - err = ccall((:PetscFEOpenCLGetRealType,petscComplexDouble),PetscErrorCode,(PetscFE,Ptr{PetscDataType}),arg1,arg2) - return err -end - -function DMDASetInterpolationType(arg0::Type{Complex128},arg1::DM,arg2::DMDAInterpolationType) - err = ccall((:DMDASetInterpolationType,petscComplexDouble),PetscErrorCode,(DM,DMDAInterpolationType),arg1,arg2) - return err -end - -function DMDAGetInterpolationType(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{DMDAInterpolationType},StridedArray{DMDAInterpolationType},Ptr{DMDAInterpolationType},Ref{DMDAInterpolationType}}) - err = ccall((:DMDAGetInterpolationType,petscComplexDouble),PetscErrorCode,(DM,Ptr{DMDAInterpolationType}),arg1,arg2) - return err -end - -function DMDASetElementType(arg0::Type{Complex128},arg1::DM,arg2::DMDAElementType) - err = ccall((:DMDASetElementType,petscComplexDouble),PetscErrorCode,(DM,DMDAElementType),arg1,arg2) - return err -end - -function DMDAGetElementType(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{DMDAElementType},StridedArray{DMDAElementType},Ptr{DMDAElementType},Ref{DMDAElementType}}) - err = ccall((:DMDAGetElementType,petscComplexDouble),PetscErrorCode,(DM,Ptr{DMDAElementType}),arg1,arg2) - return err -end - -function DMDAGetElements(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMDAGetElements,petscComplexDouble),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4) - return err -end - -function DMDARestoreElements(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMDARestoreElements,petscComplexDouble),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4) - return err -end - -function DMDACreate(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMDACreate,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{DM}),arg1,arg2) - return err -end - -function DMDASetSizes(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:DMDASetSizes,petscComplexDouble),PetscErrorCode,(DM,Int64,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function DMDACreate1d(arg0::Type{Complex128},arg1::MPI_Comm,arg2::DMBoundaryType,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMDACreate1d,petscComplexDouble),PetscErrorCode,(comm_type,DMBoundaryType,Int64,Int64,Int64,Ptr{Int64},Ptr{DM}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMDACreate2d(arg0::Type{Complex128},arg1::MPI_Comm,arg2::DMBoundaryType,arg3::DMBoundaryType,arg4::DMDAStencilType,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Integer,arg9::Integer,arg10::Integer,arg11::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg12::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg13::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMDACreate2d,petscComplexDouble),PetscErrorCode,(comm_type,DMBoundaryType,DMBoundaryType,DMDAStencilType,Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Int64},Ptr{DM}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13) - return err -end - -function DMDACreate3d(arg0::Type{Complex128},arg1::MPI_Comm,arg2::DMBoundaryType,arg3::DMBoundaryType,arg4::DMBoundaryType,arg5::DMDAStencilType,arg6::Integer,arg7::Integer,arg8::Integer,arg9::Integer,arg10::Integer,arg11::Integer,arg12::Integer,arg13::Integer,arg14::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg15::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg16::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg17::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMDACreate3d,petscComplexDouble),PetscErrorCode,(comm_type,DMBoundaryType,DMBoundaryType,DMBoundaryType,DMDAStencilType,Int64,Int64,Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{DM}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16,arg17) - return err -end - -function DMDAGlobalToNaturalBegin(arg1::DM,arg2::Vec{Complex128},arg3::InsertMode,arg4::Vec{Complex128}) - err = ccall((:DMDAGlobalToNaturalBegin,petscComplexDouble),PetscErrorCode,(DM,Vec{Complex128},InsertMode,Vec{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function DMDAGlobalToNaturalEnd(arg1::DM,arg2::Vec{Complex128},arg3::InsertMode,arg4::Vec{Complex128}) - err = ccall((:DMDAGlobalToNaturalEnd,petscComplexDouble),PetscErrorCode,(DM,Vec{Complex128},InsertMode,Vec{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function DMDANaturalToGlobalBegin(arg1::DM,arg2::Vec{Complex128},arg3::InsertMode,arg4::Vec{Complex128}) - err = ccall((:DMDANaturalToGlobalBegin,petscComplexDouble),PetscErrorCode,(DM,Vec{Complex128},InsertMode,Vec{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function DMDANaturalToGlobalEnd(arg1::DM,arg2::Vec{Complex128},arg3::InsertMode,arg4::Vec{Complex128}) - err = ccall((:DMDANaturalToGlobalEnd,petscComplexDouble),PetscErrorCode,(DM,Vec{Complex128},InsertMode,Vec{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function DMDALocalToLocalBegin(dm::DM,g::Vec{Complex128},mode::InsertMode,l::Vec{Complex128}) - err = ccall((:DMDALocalToLocalBegin,petscComplexDouble),PetscErrorCode,(DM,Vec{Complex128},InsertMode,Vec{Complex128}),dm,g,mode,l) - return err -end - -function DMDALocalToLocalEnd(dm::DM,g::Vec{Complex128},mode::InsertMode,l::Vec{Complex128}) - err = ccall((:DMDALocalToLocalEnd,petscComplexDouble),PetscErrorCode,(DM,Vec{Complex128},InsertMode,Vec{Complex128}),dm,g,mode,l) - return err -end - -function DMDACreateNaturalVector(arg1::DM,arg2::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:DMDACreateNaturalVector,petscComplexDouble),PetscErrorCode,(DM,Ptr{Vec{Complex128}}),arg1,arg2) - return err -end - -function DMDAGetCorners(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDAGetCorners,petscComplexDouble),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMDAGetGhostCorners(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDAGetGhostCorners,petscComplexDouble),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMDAGetInfo(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg9::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg10::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg11::Union{Ptr{DMBoundaryType},StridedArray{DMBoundaryType},Ptr{DMBoundaryType},Ref{DMBoundaryType}},arg12::Union{Ptr{DMBoundaryType},StridedArray{DMBoundaryType},Ptr{DMBoundaryType},Ref{DMBoundaryType}},arg13::Union{Ptr{DMBoundaryType},StridedArray{DMBoundaryType},Ptr{DMBoundaryType},Ref{DMBoundaryType}},arg14::Union{Ptr{DMDAStencilType},StridedArray{DMDAStencilType},Ptr{DMDAStencilType},Ref{DMDAStencilType}}) - err = ccall((:DMDAGetInfo,petscComplexDouble),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{DMBoundaryType},Ptr{DMBoundaryType},Ptr{DMBoundaryType},Ptr{DMDAStencilType}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14) - return err -end - -function DMDAGetProcessorSubset(arg0::Type{Complex128},arg1::DM,arg2::DMDADirection,arg3::Integer,arg4::Union{Ptr{MPI_Comm},StridedArray{MPI_Comm},Ptr{MPI_Comm},Ref{MPI_Comm}}) - err = ccall((:DMDAGetProcessorSubset,petscComplexDouble),PetscErrorCode,(DM,DMDADirection,Int64,Ptr{comm_type}),arg1,arg2,arg3,arg4) - return err -end - -function DMDAGetProcessorSubsets(arg0::Type{Complex128},arg1::DM,arg2::DMDADirection,arg3::Union{Ptr{MPI_Comm},StridedArray{MPI_Comm},Ptr{MPI_Comm},Ref{MPI_Comm}}) - err = ccall((:DMDAGetProcessorSubsets,petscComplexDouble),PetscErrorCode,(DM,DMDADirection,Ptr{comm_type}),arg1,arg2,arg3) - return err -end - -function DMDAGetRay(arg1::DM,arg2::DMDADirection,arg3::Integer,arg4::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}},arg5::Union{Ptr{VecScatter{Complex128}},StridedArray{VecScatter{Complex128}},Ptr{VecScatter{Complex128}},Ref{VecScatter{Complex128}}}) - err = ccall((:DMDAGetRay,petscComplexDouble),PetscErrorCode,(DM,DMDADirection,Int64,Ptr{Vec{Complex128}},Ptr{VecScatter{Complex128}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMDAGlobalToNaturalAllCreate(arg1::DM,arg2::Union{Ptr{VecScatter{Complex128}},StridedArray{VecScatter{Complex128}},Ptr{VecScatter{Complex128}},Ref{VecScatter{Complex128}}}) - err = ccall((:DMDAGlobalToNaturalAllCreate,petscComplexDouble),PetscErrorCode,(DM,Ptr{VecScatter{Complex128}}),arg1,arg2) - return err -end - -function DMDANaturalAllToGlobalCreate(arg1::DM,arg2::Union{Ptr{VecScatter{Complex128}},StridedArray{VecScatter{Complex128}},Ptr{VecScatter{Complex128}},Ref{VecScatter{Complex128}}}) - err = ccall((:DMDANaturalAllToGlobalCreate,petscComplexDouble),PetscErrorCode,(DM,Ptr{VecScatter{Complex128}}),arg1,arg2) - return err -end - -function DMDAGetScatter(arg1::DM,arg2::Union{Ptr{VecScatter{Complex128}},StridedArray{VecScatter{Complex128}},Ptr{VecScatter{Complex128}},Ref{VecScatter{Complex128}}},arg3::Union{Ptr{VecScatter{Complex128}},StridedArray{VecScatter{Complex128}},Ptr{VecScatter{Complex128}},Ref{VecScatter{Complex128}}}) - err = ccall((:DMDAGetScatter,petscComplexDouble),PetscErrorCode,(DM,Ptr{VecScatter{Complex128}},Ptr{VecScatter{Complex128}}),arg1,arg2,arg3) - return err -end - -function DMDAGetNeighbors(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Ptr{PetscMPIInt}},StridedArray{Ptr{PetscMPIInt}},Ptr{Ptr{PetscMPIInt}},Ref{Ptr{PetscMPIInt}}}) - err = ccall((:DMDAGetNeighbors,petscComplexDouble),PetscErrorCode,(DM,Ptr{Ptr{PetscMPIInt}}),arg1,arg2) - return err -end - -function DMDASetAOType(arg0::Type{Complex128},arg1::DM,arg2::AOType) - err = ccall((:DMDASetAOType,petscComplexDouble),PetscErrorCode,(DM,Cstring),arg1,arg2) - return err -end - -function DMDAGetAO(arg1::DM,arg2::Union{Ptr{AO{Complex128}},StridedArray{AO{Complex128}},Ptr{AO{Complex128}},Ref{AO{Complex128}}}) - err = ccall((:DMDAGetAO,petscComplexDouble),PetscErrorCode,(DM,Ptr{AO{Complex128}}),arg1,arg2) - return err -end - -function DMDASetUniformCoordinates(arg0::Type{Complex128},arg1::DM,arg2::Float64,arg3::Float64,arg4::Float64,arg5::Float64,arg6::Float64,arg7::Float64) - err = ccall((:DMDASetUniformCoordinates,petscComplexDouble),PetscErrorCode,(DM,Float64,Float64,Float64,Float64,Float64,Float64),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMDAGetCoordinateArray(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDAGetCoordinateArray,petscComplexDouble),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMDARestoreCoordinateArray(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDARestoreCoordinateArray,petscComplexDouble),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMDAGetBoundingBox(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:DMDAGetBoundingBox,petscComplexDouble),PetscErrorCode,(DM,Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function DMDAGetLocalBoundingBox(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:DMDAGetLocalBoundingBox,petscComplexDouble),PetscErrorCode,(DM,Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function DMDAGetLogicalCoordinate(arg0::Type{Complex128},arg1::DM,arg2::Complex128,arg3::Complex128,arg4::Complex128,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg9::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg10::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - err = ccall((:DMDAGetLogicalCoordinate,petscComplexDouble),PetscErrorCode,(DM,Complex128,Complex128,Complex128,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Complex128},Ptr{Complex128},Ptr{Complex128}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -function DMDAMapCoordsToPeriodicDomain(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg3::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - err = ccall((:DMDAMapCoordsToPeriodicDomain,petscComplexDouble),PetscErrorCode,(DM,Ptr{Complex128},Ptr{Complex128}),arg1,arg2,arg3) - return err -end - -function DMDAGetReducedDMDA(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMDAGetReducedDMDA,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{DM}),arg1,arg2,arg3) - return err -end - -function DMDASetFieldName(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:DMDASetFieldName,petscComplexDouble),PetscErrorCode,(DM,Int64,Cstring),arg1,arg2,arg3) - return err -end - -function DMDAGetFieldName(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:DMDAGetFieldName,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{Ptr{UInt8}}),arg1,arg2,arg3) - return err -end - -function DMDASetFieldNames(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:DMDASetFieldNames,petscComplexDouble),PetscErrorCode,(DM,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function DMDAGetFieldNames(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}}) - err = ccall((:DMDAGetFieldNames,petscComplexDouble),PetscErrorCode,(DM,Ptr{Ptr{Ptr{UInt8}}}),arg1,arg2) - return err -end - -function DMDASetCoordinateName(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:DMDASetCoordinateName,petscComplexDouble),PetscErrorCode,(DM,Int64,Cstring),arg1,arg2,arg3) - return err -end - -function DMDAGetCoordinateName(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:DMDAGetCoordinateName,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{Ptr{UInt8}}),arg1,arg2,arg3) - return err -end - -function DMDASetBoundaryType(arg0::Type{Complex128},arg1::DM,arg2::DMBoundaryType,arg3::DMBoundaryType,arg4::DMBoundaryType) - err = ccall((:DMDASetBoundaryType,petscComplexDouble),PetscErrorCode,(DM,DMBoundaryType,DMBoundaryType,DMBoundaryType),arg1,arg2,arg3,arg4) - return err -end - -function DMDASetDof(arg0::Type{Complex128},arg1::DM,arg2::Integer) - err = ccall((:DMDASetDof,petscComplexDouble),PetscErrorCode,(DM,Int64),arg1,arg2) - return err -end - -function DMDASetOverlap(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:DMDASetOverlap,petscComplexDouble),PetscErrorCode,(DM,Int64,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function DMDAGetOverlap(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDAGetOverlap,petscComplexDouble),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMDASetNumLocalSubDomains(arg0::Type{Complex128},arg1::DM,arg2::Integer) - err = ccall((:DMDASetNumLocalSubDomains,petscComplexDouble),PetscErrorCode,(DM,Int64),arg1,arg2) - return err -end - -function DMDAGetNumLocalSubDomains(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDAGetNumLocalSubDomains,petscComplexDouble),PetscErrorCode,(DM,Ptr{Int64}),arg1,arg2) - return err -end - -function DMDAGetOffset(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDAGetOffset,petscComplexDouble),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMDASetOffset(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer) - err = ccall((:DMDASetOffset,petscComplexDouble),PetscErrorCode,(DM,Int64,Int64,Int64,Int64,Int64,Int64),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMDAGetNonOverlappingRegion(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDAGetNonOverlappingRegion,petscComplexDouble),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMDASetNonOverlappingRegion(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer) - err = ccall((:DMDASetNonOverlappingRegion,petscComplexDouble),PetscErrorCode,(DM,Int64,Int64,Int64,Int64,Int64,Int64),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMDASetStencilWidth(arg0::Type{Complex128},arg1::DM,arg2::Integer) - err = ccall((:DMDASetStencilWidth,petscComplexDouble),PetscErrorCode,(DM,Int64),arg1,arg2) - return err -end - -function DMDASetOwnershipRanges(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDASetOwnershipRanges,petscComplexDouble),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMDAGetOwnershipRanges(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMDAGetOwnershipRanges,petscComplexDouble),PetscErrorCode,(DM,Ptr{Ptr{Int64}},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4) - return err -end - -function DMDASetNumProcs(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:DMDASetNumProcs,petscComplexDouble),PetscErrorCode,(DM,Int64,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function DMDASetStencilType(arg0::Type{Complex128},arg1::DM,arg2::DMDAStencilType) - err = ccall((:DMDASetStencilType,petscComplexDouble),PetscErrorCode,(DM,DMDAStencilType),arg1,arg2) - return err -end - -function DMDAVecGetArray(arg1::DM,arg2::Vec{Complex128},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDAVecGetArray,petscComplexDouble),PetscErrorCode,(DM,Vec{Complex128},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMDAVecRestoreArray(arg1::DM,arg2::Vec{Complex128},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDAVecRestoreArray,petscComplexDouble),PetscErrorCode,(DM,Vec{Complex128},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMDAVecGetArrayDOF(arg1::DM,arg2::Vec{Complex128},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDAVecGetArrayDOF,petscComplexDouble),PetscErrorCode,(DM,Vec{Complex128},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMDAVecRestoreArrayDOF(arg1::DM,arg2::Vec{Complex128},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDAVecRestoreArrayDOF,petscComplexDouble),PetscErrorCode,(DM,Vec{Complex128},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMDAVecGetArrayRead(arg1::DM,arg2::Vec{Complex128},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDAVecGetArrayRead,petscComplexDouble),PetscErrorCode,(DM,Vec{Complex128},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMDAVecRestoreArrayRead(arg1::DM,arg2::Vec{Complex128},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDAVecRestoreArrayRead,petscComplexDouble),PetscErrorCode,(DM,Vec{Complex128},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMDAVecGetArrayDOFRead(arg1::DM,arg2::Vec{Complex128},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDAVecGetArrayDOFRead,petscComplexDouble),PetscErrorCode,(DM,Vec{Complex128},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMDAVecRestoreArrayDOFRead(arg1::DM,arg2::Vec{Complex128},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDAVecRestoreArrayDOFRead,petscComplexDouble),PetscErrorCode,(DM,Vec{Complex128},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMDASplitComm2d(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Union{Ptr{MPI_Comm},StridedArray{MPI_Comm},Ptr{MPI_Comm},Ref{MPI_Comm}}) - err = ccall((:DMDASplitComm2d,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Ptr{comm_type}),arg1,arg2,arg3,arg4,arg5) - return err -end - -#= skipping function with undefined symbols: - function DMDACreatePatchIS(arg1::DM,arg2::Union{Ptr{MatStencil},StridedArray{MatStencil},Ptr{MatStencil},Ref{MatStencil}},arg3::Union{Ptr{MatStencil},StridedArray{MatStencil},Ptr{MatStencil},Ref{MatStencil}},arg4::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - ccall((:DMDACreatePatchIS,petscComplexDouble),PetscErrorCode,(DM,Ptr{MatStencil},Ptr{MatStencil},Ptr{IS{Complex128}}),arg1,arg2,arg3,arg4) -end -=# -#= skipping function with undefined symbols: - function DMDAGetLocalInfo(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{DMDALocalInfo},StridedArray{DMDALocalInfo},Ptr{DMDALocalInfo},Ref{DMDALocalInfo}}) - ccall((:DMDAGetLocalInfo,petscComplexDouble),PetscErrorCode,(DM,Ptr{DMDALocalInfo}),arg1,arg2) -end -=# -function MatRegisterDAAD(arg0::Type{Complex128}) - err = ccall((:MatRegisterDAAD,petscComplexDouble),PetscErrorCode,()) - return err -end - -function MatCreateDAAD(arg1::DM,arg2::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateDAAD,petscComplexDouble),PetscErrorCode,(DM,Ptr{Mat{Complex128}}),arg1,arg2) - return err -end - -function MatCreateSeqUSFFT(arg1::Vec{Complex128},arg2::DM,arg3::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateSeqUSFFT,petscComplexDouble),PetscErrorCode,(Vec{Complex128},DM,Ptr{Mat{Complex128}}),arg1,arg2,arg3) - return err -end - -function DMDASetGetMatrix(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDASetGetMatrix,petscComplexDouble),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMDASetBlockFills(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDASetBlockFills,petscComplexDouble),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function DMDASetRefinementFactor(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:DMDASetRefinementFactor,petscComplexDouble),PetscErrorCode,(DM,Int64,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function DMDAGetRefinementFactor(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDAGetRefinementFactor,petscComplexDouble),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMDAGetArray(arg0::Type{Complex128},arg1::DM,arg2::PetscBool,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDAGetArray,petscComplexDouble),PetscErrorCode,(DM,PetscBool,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMDARestoreArray(arg0::Type{Complex128},arg1::DM,arg2::PetscBool,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDARestoreArray,petscComplexDouble),PetscErrorCode,(DM,PetscBool,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMDACreatePF(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{PF},StridedArray{PF},Ptr{PF},Ref{PF}}) - err = ccall((:DMDACreatePF,petscComplexDouble),PetscErrorCode,(DM,Ptr{PF}),arg1,arg2) - return err -end - -function DMDAGetNumCells(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDAGetNumCells,petscComplexDouble),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMDAGetCellPoint(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDAGetCellPoint,petscComplexDouble),PetscErrorCode,(DM,Int64,Int64,Int64,Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMDAGetNumVertices(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDAGetNumVertices,petscComplexDouble),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMDAGetNumFaces(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDAGetNumFaces,petscComplexDouble),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMDAGetHeightStratum(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDAGetHeightStratum,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMDAGetDepthStratum(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDAGetDepthStratum,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMDACreateSection(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:DMDACreateSection,petscComplexDouble),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{PetscSection}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMDAComputeCellGeometryFEM(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::PetscQuadrature,arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg7::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:DMDAComputeCellGeometryFEM,petscComplexDouble),PetscErrorCode,(DM,Int64,PetscQuadrature,Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMDAGetTransitiveClosure(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::PetscBool,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMDAGetTransitiveClosure,petscComplexDouble),PetscErrorCode,(DM,Int64,PetscBool,Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMDARestoreTransitiveClosure(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::PetscBool,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMDARestoreTransitiveClosure,petscComplexDouble),PetscErrorCode,(DM,Int64,PetscBool,Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMDAVecGetClosure(arg1::DM,arg2::PetscSection,arg3::Vec{Complex128},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}}) - err = ccall((:DMDAVecGetClosure,petscComplexDouble),PetscErrorCode,(DM,PetscSection,Vec{Complex128},Int64,Ptr{Int64},Ptr{Ptr{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMDAVecRestoreClosure(arg1::DM,arg2::PetscSection,arg3::Vec{Complex128},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}}) - err = ccall((:DMDAVecRestoreClosure,petscComplexDouble),PetscErrorCode,(DM,PetscSection,Vec{Complex128},Int64,Ptr{Int64},Ptr{Ptr{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMDAVecSetClosure(arg1::DM,arg2::PetscSection,arg3::Vec{Complex128},arg4::Integer,arg5::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg6::InsertMode) - err = ccall((:DMDAVecSetClosure,petscComplexDouble),PetscErrorCode,(DM,PetscSection,Vec{Complex128},Int64,Ptr{Complex128},InsertMode),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMDAGetClosure(arg0::Type{Complex128},arg1::DM,arg2::PetscSection,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMDAGetClosure,petscComplexDouble),PetscErrorCode,(DM,PetscSection,Int64,Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMDARestoreClosure(arg0::Type{Complex128},arg1::DM,arg2::PetscSection,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMDARestoreClosure,petscComplexDouble),PetscErrorCode,(DM,PetscSection,Int64,Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMDAGetClosureScalar(arg0::Type{Complex128},arg1::DM,arg2::PetscSection,arg3::Integer,arg4::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}}) - err = ccall((:DMDAGetClosureScalar,petscComplexDouble),PetscErrorCode,(DM,PetscSection,Int64,Ptr{Complex128},Ptr{Int64},Ptr{Ptr{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMDARestoreClosureScalar(arg0::Type{Complex128},arg1::DM,arg2::PetscSection,arg3::Integer,arg4::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}}) - err = ccall((:DMDARestoreClosureScalar,petscComplexDouble),PetscErrorCode,(DM,PetscSection,Int64,Ptr{Complex128},Ptr{Int64},Ptr{Ptr{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMDASetClosureScalar(arg0::Type{Complex128},arg1::DM,arg2::PetscSection,arg3::Integer,arg4::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg5::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg6::InsertMode) - err = ccall((:DMDASetClosureScalar,petscComplexDouble),PetscErrorCode,(DM,PetscSection,Int64,Ptr{Complex128},Ptr{Complex128},InsertMode),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -#= skipping function with undefined symbols: - function DMDAConvertToCell(arg0::Type{Complex128},arg1::DM,arg2::MatStencil,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - ccall((:DMDAConvertToCell,petscComplexDouble),PetscErrorCode,(DM,MatStencil,Ptr{Int64}),arg1,arg2,arg3) -end -=# -function DMDASetVertexCoordinates(arg0::Type{Complex128},arg1::DM,arg2::Float64,arg3::Float64,arg4::Float64,arg5::Float64,arg6::Float64,arg7::Float64) - err = ccall((:DMDASetVertexCoordinates,petscComplexDouble),PetscErrorCode,(DM,Float64,Float64,Float64,Float64,Float64,Float64),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMDASetPreallocationCenterDimension(arg0::Type{Complex128},arg1::DM,arg2::Integer) - err = ccall((:DMDASetPreallocationCenterDimension,petscComplexDouble),PetscErrorCode,(DM,Int64),arg1,arg2) - return err -end - -function DMDAGetPreallocationCenterDimension(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDAGetPreallocationCenterDimension,petscComplexDouble),PetscErrorCode,(DM,Ptr{Int64}),arg1,arg2) - return err -end - -function DMDAProjectFunction(arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::InsertMode,arg5::Vec{Complex128}) - err = ccall((:DMDAProjectFunction,petscComplexDouble),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Ptr{Void}},InsertMode,Vec{Complex128}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMDAProjectFunctionLocal(arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::InsertMode,arg5::Vec{Complex128}) - err = ccall((:DMDAProjectFunctionLocal,petscComplexDouble),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Ptr{Void}},InsertMode,Vec{Complex128}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMDAComputeL2Diff(arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::Vec{Complex128},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:DMDAComputeL2Diff,petscComplexDouble),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Ptr{Void}},Vec{Complex128},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMDAComputeL2GradientDiff(arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::Vec{Complex128},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:DMDAComputeL2GradientDiff,petscComplexDouble),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Ptr{Void}},Vec{Complex128},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMCompositeCreate(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMCompositeCreate,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{DM}),arg1,arg2) - return err -end - -function DMCompositeAddDM(arg0::Type{Complex128},arg1::DM,arg2::DM) - err = ccall((:DMCompositeAddDM,petscComplexDouble),PetscErrorCode,(DM,DM),arg1,arg2) - return err -end - -function DMCompositeSetCoupling(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMCompositeSetCoupling,petscComplexDouble),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMCompositeAddVecScatter(arg1::DM,arg2::VecScatter{Complex128}) - err = ccall((:DMCompositeAddVecScatter,petscComplexDouble),PetscErrorCode,(DM,VecScatter{Complex128}),arg1,arg2) - return err -end - -function DMCompositeScatterArray(arg1::DM,arg2::Vec{Complex128},arg3::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:DMCompositeScatterArray,petscComplexDouble),PetscErrorCode,(DM,Vec{Complex128},Ptr{Vec{Complex128}}),arg1,arg2,arg3) - return err -end - -function DMCompositeGatherArray(arg1::DM,arg2::Vec{Complex128},arg3::InsertMode,arg4::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:DMCompositeGatherArray,petscComplexDouble),PetscErrorCode,(DM,Vec{Complex128},InsertMode,Ptr{Vec{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function DMCompositeGetNumberDM(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMCompositeGetNumberDM,petscComplexDouble),PetscErrorCode,(DM,Ptr{Int64}),arg1,arg2) - return err -end - -function DMCompositeGetAccessArray(arg1::DM,arg2::Vec{Complex128},arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:DMCompositeGetAccessArray,petscComplexDouble),PetscErrorCode,(DM,Vec{Complex128},Int64,Ptr{Int64},Ptr{Vec{Complex128}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMCompositeRestoreAccessArray(arg1::DM,arg2::Vec{Complex128},arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:DMCompositeRestoreAccessArray,petscComplexDouble),PetscErrorCode,(DM,Vec{Complex128},Int64,Ptr{Int64},Ptr{Vec{Complex128}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMCompositeGetEntriesArray(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMCompositeGetEntriesArray,petscComplexDouble),PetscErrorCode,(DM,Ptr{DM}),arg1,arg2) - return err -end - -function DMCompositeGetGlobalISs(arg1::DM,arg2::Union{Ptr{Ptr{IS{Complex128}}},StridedArray{Ptr{IS{Complex128}}},Ptr{Ptr{IS{Complex128}}},Ref{Ptr{IS{Complex128}}}}) - err = ccall((:DMCompositeGetGlobalISs,petscComplexDouble),PetscErrorCode,(DM,Ptr{Ptr{IS{Complex128}}}),arg1,arg2) - return err -end - -function DMCompositeGetLocalISs(arg1::DM,arg2::Union{Ptr{Ptr{IS{Complex128}}},StridedArray{Ptr{IS{Complex128}}},Ptr{Ptr{IS{Complex128}}},Ref{Ptr{IS{Complex128}}}}) - err = ccall((:DMCompositeGetLocalISs,petscComplexDouble),PetscErrorCode,(DM,Ptr{Ptr{IS{Complex128}}}),arg1,arg2) - return err -end - -function DMCompositeGetISLocalToGlobalMappings(arg1::DM,arg2::Union{Ptr{Ptr{ISLocalToGlobalMapping{Complex128}}},StridedArray{Ptr{ISLocalToGlobalMapping{Complex128}}},Ptr{Ptr{ISLocalToGlobalMapping{Complex128}}},Ref{Ptr{ISLocalToGlobalMapping{Complex128}}}}) - err = ccall((:DMCompositeGetISLocalToGlobalMappings,petscComplexDouble),PetscErrorCode,(DM,Ptr{Ptr{ISLocalToGlobalMapping{Complex128}}}),arg1,arg2) - return err -end - -function DMPatchCreate(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPatchCreate,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{DM}),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function DMPatchZoom(arg1::DM,arg2::Vec{Complex128},arg3::MatStencil,arg4::MatStencil,arg5::MPI_Comm,arg6::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}},arg7::Union{Ptr{PetscSF},StridedArray{PetscSF},Ptr{PetscSF},Ref{PetscSF}},arg8::Union{Ptr{PetscSF},StridedArray{PetscSF},Ptr{PetscSF},Ref{PetscSF}}) - ccall((:DMPatchZoom,petscComplexDouble),PetscErrorCode,(DM,Vec{Complex128},MatStencil,MatStencil,comm_type,Ptr{DM},Ptr{PetscSF},Ptr{PetscSF}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) -end -=# -function DMPatchSolve(arg0::Type{Complex128},arg1::DM) - err = ccall((:DMPatchSolve,petscComplexDouble),PetscErrorCode,(DM,),arg1) - return err -end - -#= skipping function with undefined symbols: - function DMPatchGetPatchSize(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{MatStencil},StridedArray{MatStencil},Ptr{MatStencil},Ref{MatStencil}}) - ccall((:DMPatchGetPatchSize,petscComplexDouble),PetscErrorCode,(DM,Ptr{MatStencil}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function DMPatchSetPatchSize(arg0::Type{Complex128},arg1::DM,arg2::MatStencil) - ccall((:DMPatchSetPatchSize,petscComplexDouble),PetscErrorCode,(DM,MatStencil),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function DMPatchGetCommSize(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{MatStencil},StridedArray{MatStencil},Ptr{MatStencil},Ref{MatStencil}}) - ccall((:DMPatchGetCommSize,petscComplexDouble),PetscErrorCode,(DM,Ptr{MatStencil}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function DMPatchSetCommSize(arg0::Type{Complex128},arg1::DM,arg2::MatStencil) - ccall((:DMPatchSetCommSize,petscComplexDouble),PetscErrorCode,(DM,MatStencil),arg1,arg2) -end -=# -function DMPatchGetCoarse(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPatchGetCoarse,petscComplexDouble),PetscErrorCode,(DM,Ptr{DM}),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function DMPatchCreateGrid(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Integer,arg3::MatStencil,arg4::MatStencil,arg5::MatStencil,arg6::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - ccall((:DMPatchCreateGrid,petscComplexDouble),PetscErrorCode,(comm_type,Int64,MatStencil,MatStencil,MatStencil,Ptr{DM}),arg1,arg2,arg3,arg4,arg5,arg6) -end -=# -function PetscLimiterCreate(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{PetscLimiter},StridedArray{PetscLimiter},Ptr{PetscLimiter},Ref{PetscLimiter}}) - err = ccall((:PetscLimiterCreate,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{PetscLimiter}),arg1,arg2) - return err -end - -function PetscLimiterDestroy(arg0::Type{Complex128},arg1::Union{Ptr{PetscLimiter},StridedArray{PetscLimiter},Ptr{PetscLimiter},Ref{PetscLimiter}}) - err = ccall((:PetscLimiterDestroy,petscComplexDouble),PetscErrorCode,(Ptr{PetscLimiter},),arg1) - return err -end - -function PetscLimiterSetType(arg0::Type{Complex128},arg1::PetscLimiter,arg2::PetscLimiterType) - err = ccall((:PetscLimiterSetType,petscComplexDouble),PetscErrorCode,(PetscLimiter,Cstring),arg1,arg2) - return err -end - -function PetscLimiterGetType(arg0::Type{Complex128},arg1::PetscLimiter,arg2::Union{Ptr{PetscLimiterType},StridedArray{PetscLimiterType},Ptr{PetscLimiterType},Ref{PetscLimiterType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:PetscLimiterGetType,petscComplexDouble),PetscErrorCode,(PetscLimiter,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function PetscLimiterSetUp(arg0::Type{Complex128},arg1::PetscLimiter) - err = ccall((:PetscLimiterSetUp,petscComplexDouble),PetscErrorCode,(PetscLimiter,),arg1) - return err -end - -function PetscLimiterSetFromOptions(arg0::Type{Complex128},arg1::PetscLimiter) - err = ccall((:PetscLimiterSetFromOptions,petscComplexDouble),PetscErrorCode,(PetscLimiter,),arg1) - return err -end - -function PetscLimiterViewFromOptions(arg0::Type{Complex128},A::PetscLimiter,B::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscLimiterViewFromOptions,petscComplexDouble),PetscErrorCode,(PetscLimiter,PetscObject,Cstring),A,B,name) - return err -end - -function PetscLimiterView(arg1::PetscLimiter,arg2::PetscViewer{Complex128}) - err = ccall((:PetscLimiterView,petscComplexDouble),PetscErrorCode,(PetscLimiter,PetscViewer{Complex128}),arg1,arg2) - return err -end - -function PetscLimiterRegister(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscLimiterRegister,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function PetscLimiterRegisterDestroy(arg0::Type{Complex128}) - err = ccall((:PetscLimiterRegisterDestroy,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscLimiterLimit(arg0::Type{Complex128},arg1::PetscLimiter,arg2::Float64,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscLimiterLimit,petscComplexDouble),PetscErrorCode,(PetscLimiter,Float64,Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function PetscFVInitializePackage(arg0::Type{Complex128}) - err = ccall((:PetscFVInitializePackage,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscFVCreate(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{PetscFV},StridedArray{PetscFV},Ptr{PetscFV},Ref{PetscFV}}) - err = ccall((:PetscFVCreate,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{PetscFV}),arg1,arg2) - return err -end - -function PetscFVDestroy(arg0::Type{Complex128},arg1::Union{Ptr{PetscFV},StridedArray{PetscFV},Ptr{PetscFV},Ref{PetscFV}}) - err = ccall((:PetscFVDestroy,petscComplexDouble),PetscErrorCode,(Ptr{PetscFV},),arg1) - return err -end - -function PetscFVSetType(arg0::Type{Complex128},arg1::PetscFV,arg2::PetscFVType) - err = ccall((:PetscFVSetType,petscComplexDouble),PetscErrorCode,(PetscFV,Cstring),arg1,arg2) - return err -end - -function PetscFVGetType(arg0::Type{Complex128},arg1::PetscFV,arg2::Union{Ptr{PetscFVType},StridedArray{PetscFVType},Ptr{PetscFVType},Ref{PetscFVType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:PetscFVGetType,petscComplexDouble),PetscErrorCode,(PetscFV,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function PetscFVSetUp(arg0::Type{Complex128},arg1::PetscFV) - err = ccall((:PetscFVSetUp,petscComplexDouble),PetscErrorCode,(PetscFV,),arg1) - return err -end - -function PetscFVSetFromOptions(arg0::Type{Complex128},arg1::PetscFV) - err = ccall((:PetscFVSetFromOptions,petscComplexDouble),PetscErrorCode,(PetscFV,),arg1) - return err -end - -function PetscFVViewFromOptions(arg0::Type{Complex128},A::PetscFV,B::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscFVViewFromOptions,petscComplexDouble),PetscErrorCode,(PetscFV,PetscObject,Cstring),A,B,name) - return err -end - -function PetscFVView(arg1::PetscFV,arg2::PetscViewer{Complex128}) - err = ccall((:PetscFVView,petscComplexDouble),PetscErrorCode,(PetscFV,PetscViewer{Complex128}),arg1,arg2) - return err -end - -function PetscFVRegister(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscFVRegister,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function PetscFVRegisterDestroy(arg0::Type{Complex128}) - err = ccall((:PetscFVRegisterDestroy,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscFVSetLimiter(arg0::Type{Complex128},arg1::PetscFV,arg2::PetscLimiter) - err = ccall((:PetscFVSetLimiter,petscComplexDouble),PetscErrorCode,(PetscFV,PetscLimiter),arg1,arg2) - return err -end - -function PetscFVGetLimiter(arg0::Type{Complex128},arg1::PetscFV,arg2::Union{Ptr{PetscLimiter},StridedArray{PetscLimiter},Ptr{PetscLimiter},Ref{PetscLimiter}}) - err = ccall((:PetscFVGetLimiter,petscComplexDouble),PetscErrorCode,(PetscFV,Ptr{PetscLimiter}),arg1,arg2) - return err -end - -function PetscFVSetNumComponents(arg0::Type{Complex128},arg1::PetscFV,arg2::Integer) - err = ccall((:PetscFVSetNumComponents,petscComplexDouble),PetscErrorCode,(PetscFV,Int64),arg1,arg2) - return err -end - -function PetscFVGetNumComponents(arg0::Type{Complex128},arg1::PetscFV,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscFVGetNumComponents,petscComplexDouble),PetscErrorCode,(PetscFV,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscFVSetSpatialDimension(arg0::Type{Complex128},arg1::PetscFV,arg2::Integer) - err = ccall((:PetscFVSetSpatialDimension,petscComplexDouble),PetscErrorCode,(PetscFV,Int64),arg1,arg2) - return err -end - -function PetscFVGetSpatialDimension(arg0::Type{Complex128},arg1::PetscFV,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscFVGetSpatialDimension,petscComplexDouble),PetscErrorCode,(PetscFV,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscFVSetComputeGradients(arg0::Type{Complex128},arg1::PetscFV,arg2::PetscBool) - err = ccall((:PetscFVSetComputeGradients,petscComplexDouble),PetscErrorCode,(PetscFV,PetscBool),arg1,arg2) - return err -end - -function PetscFVGetComputeGradients(arg0::Type{Complex128},arg1::PetscFV,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscFVGetComputeGradients,petscComplexDouble),PetscErrorCode,(PetscFV,Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscFVSetQuadrature(arg0::Type{Complex128},arg1::PetscFV,arg2::PetscQuadrature) - err = ccall((:PetscFVSetQuadrature,petscComplexDouble),PetscErrorCode,(PetscFV,PetscQuadrature),arg1,arg2) - return err -end - -function PetscFVGetQuadrature(arg0::Type{Complex128},arg1::PetscFV,arg2::Union{Ptr{PetscQuadrature},StridedArray{PetscQuadrature},Ptr{PetscQuadrature},Ref{PetscQuadrature}}) - err = ccall((:PetscFVGetQuadrature,petscComplexDouble),PetscErrorCode,(PetscFV,Ptr{PetscQuadrature}),arg1,arg2) - return err -end - -function PetscFVSetDualSpace(arg0::Type{Complex128},arg1::PetscFV,arg2::PetscDualSpace) - err = ccall((:PetscFVSetDualSpace,petscComplexDouble),PetscErrorCode,(PetscFV,PetscDualSpace),arg1,arg2) - return err -end - -function PetscFVGetDualSpace(arg0::Type{Complex128},arg1::PetscFV,arg2::Union{Ptr{PetscDualSpace},StridedArray{PetscDualSpace},Ptr{PetscDualSpace},Ref{PetscDualSpace}}) - err = ccall((:PetscFVGetDualSpace,petscComplexDouble),PetscErrorCode,(PetscFV,Ptr{PetscDualSpace}),arg1,arg2) - return err -end - -function PetscFVRefine(arg0::Type{Complex128},arg1::PetscFV,arg2::Union{Ptr{PetscFV},StridedArray{PetscFV},Ptr{PetscFV},Ref{PetscFV}}) - err = ccall((:PetscFVRefine,petscComplexDouble),PetscErrorCode,(PetscFV,Ptr{PetscFV}),arg1,arg2) - return err -end - -function PetscFVGetDefaultTabulation(arg0::Type{Complex128},arg1::PetscFV,arg2::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg3::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg4::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:PetscFVGetDefaultTabulation,petscComplexDouble),PetscErrorCode,(PetscFV,Ptr{Ptr{Float64}},Ptr{Ptr{Float64}},Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscFVGetTabulation(arg0::Type{Complex128},arg1::PetscFV,arg2::Integer,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg5::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg6::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:PetscFVGetTabulation,petscComplexDouble),PetscErrorCode,(PetscFV,Int64,Ptr{Float64},Ptr{Ptr{Float64}},Ptr{Ptr{Float64}},Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscFVRestoreTabulation(arg0::Type{Complex128},arg1::PetscFV,arg2::Integer,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg5::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg6::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:PetscFVRestoreTabulation,petscComplexDouble),PetscErrorCode,(PetscFV,Int64,Ptr{Float64},Ptr{Ptr{Float64}},Ptr{Ptr{Float64}},Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscFVComputeGradient(arg0::Type{Complex128},arg1::PetscFV,arg2::Integer,arg3::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg4::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - err = ccall((:PetscFVComputeGradient,petscComplexDouble),PetscErrorCode,(PetscFV,Int64,Ptr{Complex128},Ptr{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -#= skipping function with undefined symbols: - function PetscFVIntegrateRHSFunction(arg0::Type{Complex128},arg1::PetscFV,arg2::PetscDS,arg3::Integer,arg4::Integer,arg5::Union{Ptr{PetscFVFaceGeom},StridedArray{PetscFVFaceGeom},Ptr{PetscFVFaceGeom},Ref{PetscFVFaceGeom}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg7::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg8::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg9::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg10::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - ccall((:PetscFVIntegrateRHSFunction,petscComplexDouble),PetscErrorCode,(PetscFV,PetscDS,Int64,Int64,Ptr{PetscFVFaceGeom},Ptr{Float64},Ptr{Complex128},Ptr{Complex128},Ptr{Complex128},Ptr{Complex128}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) -end -=# -function PetscFVLeastSquaresSetMaxFaces(arg0::Type{Complex128},arg1::PetscFV,arg2::Integer) - err = ccall((:PetscFVLeastSquaresSetMaxFaces,petscComplexDouble),PetscErrorCode,(PetscFV,Int64),arg1,arg2) - return err -end - -function PetscPartitionerCreate(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{PetscPartitioner},StridedArray{PetscPartitioner},Ptr{PetscPartitioner},Ref{PetscPartitioner}}) - err = ccall((:PetscPartitionerCreate,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{PetscPartitioner}),arg1,arg2) - return err -end - -function PetscPartitionerDestroy(arg0::Type{Complex128},arg1::Union{Ptr{PetscPartitioner},StridedArray{PetscPartitioner},Ptr{PetscPartitioner},Ref{PetscPartitioner}}) - err = ccall((:PetscPartitionerDestroy,petscComplexDouble),PetscErrorCode,(Ptr{PetscPartitioner},),arg1) - return err -end - -function PetscPartitionerSetType(arg0::Type{Complex128},arg1::PetscPartitioner,arg2::PetscPartitionerType) - err = ccall((:PetscPartitionerSetType,petscComplexDouble),PetscErrorCode,(PetscPartitioner,Cstring),arg1,arg2) - return err -end - -function PetscPartitionerGetType(arg0::Type{Complex128},arg1::PetscPartitioner,arg2::Union{Ptr{PetscPartitionerType},StridedArray{PetscPartitionerType},Ptr{PetscPartitionerType},Ref{PetscPartitionerType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:PetscPartitionerGetType,petscComplexDouble),PetscErrorCode,(PetscPartitioner,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function PetscPartitionerSetUp(arg0::Type{Complex128},arg1::PetscPartitioner) - err = ccall((:PetscPartitionerSetUp,petscComplexDouble),PetscErrorCode,(PetscPartitioner,),arg1) - return err -end - -function PetscPartitionerSetFromOptions(arg0::Type{Complex128},arg1::PetscPartitioner) - err = ccall((:PetscPartitionerSetFromOptions,petscComplexDouble),PetscErrorCode,(PetscPartitioner,),arg1) - return err -end - -function PetscPartitionerViewFromOptions(arg0::Type{Complex128},A::PetscPartitioner,B::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscPartitionerViewFromOptions,petscComplexDouble),PetscErrorCode,(PetscPartitioner,PetscObject,Cstring),A,B,name) - return err -end - -function PetscPartitionerView(arg1::PetscPartitioner,arg2::PetscViewer{Complex128}) - err = ccall((:PetscPartitionerView,petscComplexDouble),PetscErrorCode,(PetscPartitioner,PetscViewer{Complex128}),arg1,arg2) - return err -end - -function PetscPartitionerRegister(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscPartitionerRegister,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function PetscPartitionerRegisterDestroy(arg0::Type{Complex128}) - err = ccall((:PetscPartitionerRegisterDestroy,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscPartitionerPartition(arg1::PetscPartitioner,arg2::DM,arg3::PetscSection,arg4::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:PetscPartitionerPartition,petscComplexDouble),PetscErrorCode,(PetscPartitioner,DM,PetscSection,Ptr{IS{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscPartitionerShellSetPartition(arg0::Type{Complex128},arg1::PetscPartitioner,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscPartitionerShellSetPartition,petscComplexDouble),PetscErrorCode,(PetscPartitioner,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCreate(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreate,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{DM}),arg1,arg2) - return err -end - -function DMPlexCreateCohesiveSubmesh(arg0::Type{Complex128},arg1::DM,arg2::PetscBool,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Integer,arg5::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateCohesiveSubmesh,petscComplexDouble),PetscErrorCode,(DM,PetscBool,Cstring,Int64,Ptr{DM}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexCreateFromCellList(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::PetscBool,arg7::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}},arg8::Integer,arg9::Union{Ptr{Cdouble},StridedArray{Cdouble},Ptr{Cdouble},Ref{Cdouble}},arg10::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateFromCellList,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,PetscBool,Ptr{Cint},Int64,Ptr{Cdouble},Ptr{DM}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -function DMPlexCreateFromDAG(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - err = ccall((:DMPlexCreateFromDAG,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Complex128}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMPlexCreateReferenceCell(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Integer,arg3::PetscBool,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateReferenceCell,petscComplexDouble),PetscErrorCode,(comm_type,Int64,PetscBool,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexGetChart(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetChart,petscComplexDouble),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function DMPlexSetChart(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Integer) - err = ccall((:DMPlexSetChart,petscComplexDouble),PetscErrorCode,(DM,Int64,Int64),arg1,arg2,arg3) - return err -end - -function DMPlexGetConeSize(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetConeSize,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function DMPlexSetConeSize(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Integer) - err = ccall((:DMPlexSetConeSize,petscComplexDouble),PetscErrorCode,(DM,Int64,Int64),arg1,arg2,arg3) - return err -end - -function DMPlexAddConeSize(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Integer) - err = ccall((:DMPlexAddConeSize,petscComplexDouble),PetscErrorCode,(DM,Int64,Int64),arg1,arg2,arg3) - return err -end - -function DMPlexGetCone(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexGetCone,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{Ptr{Int64}}),arg1,arg2,arg3) - return err -end - -function DMPlexSetCone(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexSetCone,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function DMPlexInsertCone(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:DMPlexInsertCone,petscComplexDouble),PetscErrorCode,(DM,Int64,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexInsertConeOrientation(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:DMPlexInsertConeOrientation,petscComplexDouble),PetscErrorCode,(DM,Int64,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexGetConeOrientation(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexGetConeOrientation,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{Ptr{Int64}}),arg1,arg2,arg3) - return err -end - -function DMPlexSetConeOrientation(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexSetConeOrientation,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function DMPlexGetSupportSize(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetSupportSize,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function DMPlexSetSupportSize(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Integer) - err = ccall((:DMPlexSetSupportSize,petscComplexDouble),PetscErrorCode,(DM,Int64,Int64),arg1,arg2,arg3) - return err -end - -function DMPlexGetSupport(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexGetSupport,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{Ptr{Int64}}),arg1,arg2,arg3) - return err -end - -function DMPlexSetSupport(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexSetSupport,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function DMPlexInsertSupport(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:DMPlexInsertSupport,petscComplexDouble),PetscErrorCode,(DM,Int64,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexGetConeSection(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:DMPlexGetConeSection,petscComplexDouble),PetscErrorCode,(DM,Ptr{PetscSection}),arg1,arg2) - return err -end - -function DMPlexGetSupportSection(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:DMPlexGetSupportSection,petscComplexDouble),PetscErrorCode,(DM,Ptr{PetscSection}),arg1,arg2) - return err -end - -function DMPlexGetCones(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexGetCones,petscComplexDouble),PetscErrorCode,(DM,Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function DMPlexGetConeOrientations(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexGetConeOrientations,petscComplexDouble),PetscErrorCode,(DM,Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function DMPlexGetMaxSizes(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetMaxSizes,petscComplexDouble),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function DMPlexSymmetrize(arg0::Type{Complex128},arg1::DM) - err = ccall((:DMPlexSymmetrize,petscComplexDouble),PetscErrorCode,(DM,),arg1) - return err -end - -function DMPlexStratify(arg0::Type{Complex128},arg1::DM) - err = ccall((:DMPlexStratify,petscComplexDouble),PetscErrorCode,(DM,),arg1) - return err -end - -function DMPlexEqual(arg0::Type{Complex128},arg1::DM,arg2::DM,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:DMPlexEqual,petscComplexDouble),PetscErrorCode,(DM,DM,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function DMPlexReverseCell(arg0::Type{Complex128},arg1::DM,arg2::Integer) - err = ccall((:DMPlexReverseCell,petscComplexDouble),PetscErrorCode,(DM,Int64),arg1,arg2) - return err -end - -function DMPlexOrient(arg0::Type{Complex128},arg1::DM) - err = ccall((:DMPlexOrient,petscComplexDouble),PetscErrorCode,(DM,),arg1) - return err -end - -function DMPlexInterpolate(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexInterpolate,petscComplexDouble),PetscErrorCode,(DM,Ptr{DM}),arg1,arg2) - return err -end - -function DMPlexUninterpolate(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexUninterpolate,petscComplexDouble),PetscErrorCode,(DM,Ptr{DM}),arg1,arg2) - return err -end - -function DMPlexLoad(arg1::PetscViewer{Complex128},arg2::DM) - err = ccall((:DMPlexLoad,petscComplexDouble),PetscErrorCode,(PetscViewer{Complex128},DM),arg1,arg2) - return err -end - -function DMPlexPreallocateOperator(arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Mat{Complex128},arg8::PetscBool) - err = ccall((:DMPlexPreallocateOperator,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Mat{Complex128},PetscBool),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function DMPlexGetPointLocal(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetPointLocal,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexPointLocalRead(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexPointLocalRead,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{Complex128},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexPointLocalRef(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexPointLocalRef,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{Complex128},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexGetPointLocalField(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetPointLocalField,petscComplexDouble),PetscErrorCode,(DM,Int64,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexPointLocalFieldRef(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexPointLocalFieldRef,petscComplexDouble),PetscErrorCode,(DM,Int64,Int64,Ptr{Complex128},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexPointLocalFieldRead(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexPointLocalFieldRead,petscComplexDouble),PetscErrorCode,(DM,Int64,Int64,Ptr{Complex128},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexGetPointGlobal(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetPointGlobal,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexPointGlobalRead(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexPointGlobalRead,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{Complex128},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexPointGlobalRef(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexPointGlobalRef,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{Complex128},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexGetPointGlobalField(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetPointGlobalField,petscComplexDouble),PetscErrorCode,(DM,Int64,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexPointGlobalFieldRef(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexPointGlobalFieldRef,petscComplexDouble),PetscErrorCode,(DM,Int64,Int64,Ptr{Complex128},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexPointGlobalFieldRead(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexPointGlobalFieldRead,petscComplexDouble),PetscErrorCode,(DM,Int64,Int64,Ptr{Complex128},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMLabelCreate(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{DMLabel},StridedArray{DMLabel},Ptr{DMLabel},Ref{DMLabel}}) - err = ccall((:DMLabelCreate,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{DMLabel}),arg1,arg2) - return err -end - -function DMLabelView(arg1::DMLabel,arg2::PetscViewer{Complex128}) - err = ccall((:DMLabelView,petscComplexDouble),PetscErrorCode,(DMLabel,PetscViewer{Complex128}),arg1,arg2) - return err -end - -function DMLabelDestroy(arg0::Type{Complex128},arg1::Union{Ptr{DMLabel},StridedArray{DMLabel},Ptr{DMLabel},Ref{DMLabel}}) - err = ccall((:DMLabelDestroy,petscComplexDouble),PetscErrorCode,(Ptr{DMLabel},),arg1) - return err -end - -function DMLabelDuplicate(arg0::Type{Complex128},arg1::DMLabel,arg2::Union{Ptr{DMLabel},StridedArray{DMLabel},Ptr{DMLabel},Ref{DMLabel}}) - err = ccall((:DMLabelDuplicate,petscComplexDouble),PetscErrorCode,(DMLabel,Ptr{DMLabel}),arg1,arg2) - return err -end - -function DMLabelGetName(arg0::Type{Complex128},arg1::DMLabel,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:DMLabelGetName,petscComplexDouble),PetscErrorCode,(DMLabel,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function DMLabelGetValue(arg0::Type{Complex128},arg1::DMLabel,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMLabelGetValue,petscComplexDouble),PetscErrorCode,(DMLabel,Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function DMLabelSetValue(arg0::Type{Complex128},arg1::DMLabel,arg2::Integer,arg3::Integer) - err = ccall((:DMLabelSetValue,petscComplexDouble),PetscErrorCode,(DMLabel,Int64,Int64),arg1,arg2,arg3) - return err -end - -function DMLabelClearValue(arg0::Type{Complex128},arg1::DMLabel,arg2::Integer,arg3::Integer) - err = ccall((:DMLabelClearValue,petscComplexDouble),PetscErrorCode,(DMLabel,Int64,Int64),arg1,arg2,arg3) - return err -end - -function DMLabelInsertIS(arg1::DMLabel,arg2::IS{Complex128},arg3::Integer) - err = ccall((:DMLabelInsertIS,petscComplexDouble),PetscErrorCode,(DMLabel,IS{Complex128},Int64),arg1,arg2,arg3) - return err -end - -function DMLabelGetNumValues(arg0::Type{Complex128},arg1::DMLabel,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMLabelGetNumValues,petscComplexDouble),PetscErrorCode,(DMLabel,Ptr{Int64}),arg1,arg2) - return err -end - -function DMLabelGetStratumBounds(arg0::Type{Complex128},arg1::DMLabel,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMLabelGetStratumBounds,petscComplexDouble),PetscErrorCode,(DMLabel,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMLabelGetValueIS(arg1::DMLabel,arg2::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:DMLabelGetValueIS,petscComplexDouble),PetscErrorCode,(DMLabel,Ptr{IS{Complex128}}),arg1,arg2) - return err -end - -function DMLabelStratumHasPoint(arg0::Type{Complex128},arg1::DMLabel,arg2::Integer,arg3::Integer,arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:DMLabelStratumHasPoint,petscComplexDouble),PetscErrorCode,(DMLabel,Int64,Int64,Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function DMLabelGetStratumSize(arg0::Type{Complex128},arg1::DMLabel,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMLabelGetStratumSize,petscComplexDouble),PetscErrorCode,(DMLabel,Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function DMLabelGetStratumIS(arg1::DMLabel,arg2::Integer,arg3::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:DMLabelGetStratumIS,petscComplexDouble),PetscErrorCode,(DMLabel,Int64,Ptr{IS{Complex128}}),arg1,arg2,arg3) - return err -end - -function DMLabelClearStratum(arg0::Type{Complex128},arg1::DMLabel,arg2::Integer) - err = ccall((:DMLabelClearStratum,petscComplexDouble),PetscErrorCode,(DMLabel,Int64),arg1,arg2) - return err -end - -function DMLabelCreateIndex(arg0::Type{Complex128},arg1::DMLabel,arg2::Integer,arg3::Integer) - err = ccall((:DMLabelCreateIndex,petscComplexDouble),PetscErrorCode,(DMLabel,Int64,Int64),arg1,arg2,arg3) - return err -end - -function DMLabelDestroyIndex(arg0::Type{Complex128},arg1::DMLabel) - err = ccall((:DMLabelDestroyIndex,petscComplexDouble),PetscErrorCode,(DMLabel,),arg1) - return err -end - -function DMLabelHasValue(arg0::Type{Complex128},arg1::DMLabel,arg2::Integer,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:DMLabelHasValue,petscComplexDouble),PetscErrorCode,(DMLabel,Int64,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function DMLabelHasPoint(arg0::Type{Complex128},arg1::DMLabel,arg2::Integer,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:DMLabelHasPoint,petscComplexDouble),PetscErrorCode,(DMLabel,Int64,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function DMLabelFilter(arg0::Type{Complex128},arg1::DMLabel,arg2::Integer,arg3::Integer) - err = ccall((:DMLabelFilter,petscComplexDouble),PetscErrorCode,(DMLabel,Int64,Int64),arg1,arg2,arg3) - return err -end - -function DMLabelPermute(arg1::DMLabel,arg2::IS{Complex128},arg3::Union{Ptr{DMLabel},StridedArray{DMLabel},Ptr{DMLabel},Ref{DMLabel}}) - err = ccall((:DMLabelPermute,petscComplexDouble),PetscErrorCode,(DMLabel,IS{Complex128},Ptr{DMLabel}),arg1,arg2,arg3) - return err -end - -function DMLabelDistribute(arg0::Type{Complex128},arg1::DMLabel,arg2::PetscSF,arg3::Union{Ptr{DMLabel},StridedArray{DMLabel},Ptr{DMLabel},Ref{DMLabel}}) - err = ccall((:DMLabelDistribute,petscComplexDouble),PetscErrorCode,(DMLabel,PetscSF,Ptr{DMLabel}),arg1,arg2,arg3) - return err -end - -function DMPlexCreateLabel(arg0::Type{Complex128},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:DMPlexCreateLabel,petscComplexDouble),PetscErrorCode,(DM,Cstring),arg1,arg2) - return err -end - -function DMPlexGetLabelValue(arg0::Type{Complex128},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetLabelValue,petscComplexDouble),PetscErrorCode,(DM,Cstring,Int64,Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexSetLabelValue(arg0::Type{Complex128},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::Integer) - err = ccall((:DMPlexSetLabelValue,petscComplexDouble),PetscErrorCode,(DM,Cstring,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexClearLabelValue(arg0::Type{Complex128},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::Integer) - err = ccall((:DMPlexClearLabelValue,petscComplexDouble),PetscErrorCode,(DM,Cstring,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexGetLabelSize(arg0::Type{Complex128},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetLabelSize,petscComplexDouble),PetscErrorCode,(DM,Cstring,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function DMPlexGetLabelIdIS(arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:DMPlexGetLabelIdIS,petscComplexDouble),PetscErrorCode,(DM,Cstring,Ptr{IS{Complex128}}),arg1,arg2,arg3) - return err -end - -function DMPlexGetStratumSize(arg0::Type{Complex128},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetStratumSize,petscComplexDouble),PetscErrorCode,(DM,Cstring,Int64,Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexGetStratumIS(arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:DMPlexGetStratumIS,petscComplexDouble),PetscErrorCode,(DM,Cstring,Int64,Ptr{IS{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexClearLabelStratum(arg0::Type{Complex128},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer) - err = ccall((:DMPlexClearLabelStratum,petscComplexDouble),PetscErrorCode,(DM,Cstring,Int64),arg1,arg2,arg3) - return err -end - -function DMPlexGetLabelOutput(arg0::Type{Complex128},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:DMPlexGetLabelOutput,petscComplexDouble),PetscErrorCode,(DM,Cstring,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function DMPlexSetLabelOutput(arg0::Type{Complex128},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::PetscBool) - err = ccall((:DMPlexSetLabelOutput,petscComplexDouble),PetscErrorCode,(DM,Cstring,PetscBool),arg1,arg2,arg3) - return err -end - -function PetscSectionCreateGlobalSectionLabel(arg0::Type{Complex128},arg1::PetscSection,arg2::PetscSF,arg3::PetscBool,arg4::DMLabel,arg5::Integer,arg6::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:PetscSectionCreateGlobalSectionLabel,petscComplexDouble),PetscErrorCode,(PetscSection,PetscSF,PetscBool,DMLabel,Int64,Ptr{PetscSection}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMPlexGetNumLabels(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetNumLabels,petscComplexDouble),PetscErrorCode,(DM,Ptr{Int64}),arg1,arg2) - return err -end - -function DMPlexGetLabelName(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:DMPlexGetLabelName,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{Ptr{UInt8}}),arg1,arg2,arg3) - return err -end - -function DMPlexHasLabel(arg0::Type{Complex128},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:DMPlexHasLabel,petscComplexDouble),PetscErrorCode,(DM,Cstring,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function DMPlexGetLabel(arg0::Type{Complex128},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{DMLabel},StridedArray{DMLabel},Ptr{DMLabel},Ref{DMLabel}}) - err = ccall((:DMPlexGetLabel,petscComplexDouble),PetscErrorCode,(DM,Cstring,Ptr{DMLabel}),arg1,arg2,arg3) - return err -end - -function DMPlexGetLabelByNum(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{DMLabel},StridedArray{DMLabel},Ptr{DMLabel},Ref{DMLabel}}) - err = ccall((:DMPlexGetLabelByNum,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{DMLabel}),arg1,arg2,arg3) - return err -end - -function DMPlexAddLabel(arg0::Type{Complex128},arg1::DM,arg2::DMLabel) - err = ccall((:DMPlexAddLabel,petscComplexDouble),PetscErrorCode,(DM,DMLabel),arg1,arg2) - return err -end - -function DMPlexRemoveLabel(arg0::Type{Complex128},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{DMLabel},StridedArray{DMLabel},Ptr{DMLabel},Ref{DMLabel}}) - err = ccall((:DMPlexRemoveLabel,petscComplexDouble),PetscErrorCode,(DM,Cstring,Ptr{DMLabel}),arg1,arg2,arg3) - return err -end - -function DMPlexGetCellNumbering(arg1::DM,arg2::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:DMPlexGetCellNumbering,petscComplexDouble),PetscErrorCode,(DM,Ptr{IS{Complex128}}),arg1,arg2) - return err -end - -function DMPlexGetVertexNumbering(arg1::DM,arg2::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:DMPlexGetVertexNumbering,petscComplexDouble),PetscErrorCode,(DM,Ptr{IS{Complex128}}),arg1,arg2) - return err -end - -function DMPlexCreatePointNumbering(arg1::DM,arg2::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:DMPlexCreatePointNumbering,petscComplexDouble),PetscErrorCode,(DM,Ptr{IS{Complex128}}),arg1,arg2) - return err -end - -function DMPlexGetDepth(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetDepth,petscComplexDouble),PetscErrorCode,(DM,Ptr{Int64}),arg1,arg2) - return err -end - -function DMPlexGetDepthLabel(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{DMLabel},StridedArray{DMLabel},Ptr{DMLabel},Ref{DMLabel}}) - err = ccall((:DMPlexGetDepthLabel,petscComplexDouble),PetscErrorCode,(DM,Ptr{DMLabel}),arg1,arg2) - return err -end - -function DMPlexGetDepthStratum(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetDepthStratum,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexGetHeightStratum(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetHeightStratum,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexGetMeet(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexGetMeet,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexGetFullMeet(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexGetFullMeet,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexRestoreMeet(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexRestoreMeet,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexGetJoin(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexGetJoin,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexGetFullJoin(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexGetFullJoin,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexRestoreJoin(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexRestoreJoin,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexGetTransitiveClosure(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::PetscBool,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexGetTransitiveClosure,petscComplexDouble),PetscErrorCode,(DM,Int64,PetscBool,Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexRestoreTransitiveClosure(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::PetscBool,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexRestoreTransitiveClosure,petscComplexDouble),PetscErrorCode,(DM,Int64,PetscBool,Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexGenerate(arg0::Type{Complex128},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::PetscBool,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexGenerate,petscComplexDouble),PetscErrorCode,(DM,Cstring,PetscBool,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCopyCoordinates(arg0::Type{Complex128},arg1::DM,arg2::DM) - err = ccall((:DMPlexCopyCoordinates,petscComplexDouble),PetscErrorCode,(DM,DM),arg1,arg2) - return err -end - -function DMPlexCopyLabels(arg0::Type{Complex128},arg1::DM,arg2::DM) - err = ccall((:DMPlexCopyLabels,petscComplexDouble),PetscErrorCode,(DM,DM),arg1,arg2) - return err -end - -function DMPlexCreateDoublet(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Integer,arg3::PetscBool,arg4::PetscBool,arg5::PetscBool,arg6::Float64,arg7::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateDoublet,petscComplexDouble),PetscErrorCode,(comm_type,Int64,PetscBool,PetscBool,PetscBool,Float64,Ptr{DM}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMPlexCreateSquareBoundary(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexCreateSquareBoundary,petscComplexDouble),PetscErrorCode,(DM,Ptr{Float64},Ptr{Float64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCreateCubeBoundary(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexCreateCubeBoundary,petscComplexDouble),PetscErrorCode,(DM,Ptr{Float64},Ptr{Float64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCreateSquareMesh(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::DMBoundaryType,arg6::DMBoundaryType) - err = ccall((:DMPlexCreateSquareMesh,petscComplexDouble),PetscErrorCode,(DM,Ptr{Float64},Ptr{Float64},Ptr{Int64},DMBoundaryType,DMBoundaryType),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMPlexCreateBoxMesh(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Integer,arg3::PetscBool,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateBoxMesh,petscComplexDouble),PetscErrorCode,(comm_type,Int64,PetscBool,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCreateHexBoxMesh(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::DMBoundaryType,arg5::DMBoundaryType,arg6::DMBoundaryType,arg7::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateHexBoxMesh,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Ptr{Int64},DMBoundaryType,DMBoundaryType,DMBoundaryType,Ptr{DM}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMPlexCreateConeSection(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:DMPlexCreateConeSection,petscComplexDouble),PetscErrorCode,(DM,Ptr{PetscSection}),arg1,arg2) - return err -end - -function DMPlexInvertCell(arg0::Type{Complex128},arg1::Integer,arg2::Integer,arg3::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}}) - err = ccall((:DMPlexInvertCell,petscComplexDouble),PetscErrorCode,(Int64,Int64,Ptr{Cint}),arg1,arg2,arg3) - return err -end - -function DMPlexLocalizeCoordinate(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg3::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}}) - err = ccall((:DMPlexLocalizeCoordinate,petscComplexDouble),PetscErrorCode,(DM,Ptr{Complex128},Ptr{Complex128}),arg1,arg2,arg3) - return err -end - -function DMPlexLocalizeCoordinates(arg0::Type{Complex128},arg1::DM) - err = ccall((:DMPlexLocalizeCoordinates,petscComplexDouble),PetscErrorCode,(DM,),arg1) - return err -end - -function DMPlexCheckSymmetry(arg0::Type{Complex128},arg1::DM) - err = ccall((:DMPlexCheckSymmetry,petscComplexDouble),PetscErrorCode,(DM,),arg1) - return err -end - -function DMPlexCheckSkeleton(arg0::Type{Complex128},arg1::DM,arg2::PetscBool,arg3::Integer) - err = ccall((:DMPlexCheckSkeleton,petscComplexDouble),PetscErrorCode,(DM,PetscBool,Int64),arg1,arg2,arg3) - return err -end - -function DMPlexCheckFaces(arg0::Type{Complex128},arg1::DM,arg2::PetscBool,arg3::Integer) - err = ccall((:DMPlexCheckFaces,petscComplexDouble),PetscErrorCode,(DM,PetscBool,Int64),arg1,arg2,arg3) - return err -end - -function DMPlexTriangleSetOptions(arg0::Type{Complex128},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:DMPlexTriangleSetOptions,petscComplexDouble),PetscErrorCode,(DM,Cstring),arg1,arg2) - return err -end - -function DMPlexTetgenSetOptions(arg0::Type{Complex128},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:DMPlexTetgenSetOptions,petscComplexDouble),PetscErrorCode,(DM,Cstring),arg1,arg2) - return err -end - -function DMPlexCreateNeighborCSR(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexCreateNeighborCSR,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexGetPartitioner(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{PetscPartitioner},StridedArray{PetscPartitioner},Ptr{PetscPartitioner},Ref{PetscPartitioner}}) - err = ccall((:DMPlexGetPartitioner,petscComplexDouble),PetscErrorCode,(DM,Ptr{PetscPartitioner}),arg1,arg2) - return err -end - -function DMPlexSetPartitioner(arg0::Type{Complex128},arg1::DM,arg2::PetscPartitioner) - err = ccall((:DMPlexSetPartitioner,petscComplexDouble),PetscErrorCode,(DM,PetscPartitioner),arg1,arg2) - return err -end - -function DMPlexCreatePartition(arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::PetscBool,arg5::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}},arg6::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}},arg7::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}},arg8::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:DMPlexCreatePartition,petscComplexDouble),PetscErrorCode,(DM,Cstring,Int64,PetscBool,Ptr{PetscSection},Ptr{IS{Complex128}},Ptr{PetscSection},Ptr{IS{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function DMPlexCreatePartitionerGraph(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexCreatePartitionerGraph,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexCreatePartitionClosure(arg1::DM,arg2::PetscSection,arg3::IS{Complex128},arg4::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}},arg5::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:DMPlexCreatePartitionClosure,petscComplexDouble),PetscErrorCode,(DM,PetscSection,IS{Complex128},Ptr{PetscSection},Ptr{IS{Complex128}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexPartitionLabelInvert(arg0::Type{Complex128},arg1::DM,arg2::DMLabel,arg3::PetscSF,arg4::DMLabel) - err = ccall((:DMPlexPartitionLabelInvert,petscComplexDouble),PetscErrorCode,(DM,DMLabel,PetscSF,DMLabel),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexPartitionLabelClosure(arg0::Type{Complex128},arg1::DM,arg2::DMLabel) - err = ccall((:DMPlexPartitionLabelClosure,petscComplexDouble),PetscErrorCode,(DM,DMLabel),arg1,arg2) - return err -end - -function DMPlexPartitionLabelAdjacency(arg0::Type{Complex128},arg1::DM,arg2::DMLabel) - err = ccall((:DMPlexPartitionLabelAdjacency,petscComplexDouble),PetscErrorCode,(DM,DMLabel),arg1,arg2) - return err -end - -function DMPlexPartitionLabelCreateSF(arg0::Type{Complex128},arg1::DM,arg2::DMLabel,arg3::Union{Ptr{PetscSF},StridedArray{PetscSF},Ptr{PetscSF},Ref{PetscSF}}) - err = ccall((:DMPlexPartitionLabelCreateSF,petscComplexDouble),PetscErrorCode,(DM,DMLabel,Ptr{PetscSF}),arg1,arg2,arg3) - return err -end - -function DMPlexDistribute(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{PetscSF},StridedArray{PetscSF},Ptr{PetscSF},Ref{PetscSF}},arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexDistribute,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{PetscSF},Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexDistributeOverlap(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{PetscSF},StridedArray{PetscSF},Ptr{PetscSF},Ref{PetscSF}},arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexDistributeOverlap,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{PetscSF},Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexDistributeField(arg1::DM,arg2::PetscSF,arg3::PetscSection,arg4::Vec{Complex128},arg5::PetscSection,arg6::Vec{Complex128}) - err = ccall((:DMPlexDistributeField,petscComplexDouble),PetscErrorCode,(DM,PetscSF,PetscSection,Vec{Complex128},PetscSection,Vec{Complex128}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMPlexDistributeFieldIS(arg1::DM,arg2::PetscSF,arg3::PetscSection,arg4::IS{Complex128},arg5::PetscSection,arg6::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:DMPlexDistributeFieldIS,petscComplexDouble),PetscErrorCode,(DM,PetscSF,PetscSection,IS{Complex128},PetscSection,Ptr{IS{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -#= skipping function with undefined symbols: - function DMPlexDistributeData(arg0::Type{Complex128},arg1::DM,arg2::PetscSF,arg3::PetscSection,arg4::MPI_Datatype,arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg6::PetscSection,arg7::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - ccall((:DMPlexDistributeData,petscComplexDouble),PetscErrorCode,(DM,PetscSF,PetscSection,MPI_Datatype,Ptr{Void},PetscSection,Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -function DMPlexMigrate(arg0::Type{Complex128},arg1::DM,arg2::PetscSF,arg3::DM) - err = ccall((:DMPlexMigrate,petscComplexDouble),PetscErrorCode,(DM,PetscSF,DM),arg1,arg2,arg3) - return err -end - -function DMPlexSetAdjacencyUseCone(arg0::Type{Complex128},arg1::DM,arg2::PetscBool) - err = ccall((:DMPlexSetAdjacencyUseCone,petscComplexDouble),PetscErrorCode,(DM,PetscBool),arg1,arg2) - return err -end - -function DMPlexGetAdjacencyUseCone(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:DMPlexGetAdjacencyUseCone,petscComplexDouble),PetscErrorCode,(DM,Ptr{PetscBool}),arg1,arg2) - return err -end - -function DMPlexSetAdjacencyUseClosure(arg0::Type{Complex128},arg1::DM,arg2::PetscBool) - err = ccall((:DMPlexSetAdjacencyUseClosure,petscComplexDouble),PetscErrorCode,(DM,PetscBool),arg1,arg2) - return err -end - -function DMPlexGetAdjacencyUseClosure(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:DMPlexGetAdjacencyUseClosure,petscComplexDouble),PetscErrorCode,(DM,Ptr{PetscBool}),arg1,arg2) - return err -end - -function DMPlexSetAdjacencyUseAnchors(arg0::Type{Complex128},arg1::DM,arg2::PetscBool) - err = ccall((:DMPlexSetAdjacencyUseAnchors,petscComplexDouble),PetscErrorCode,(DM,PetscBool),arg1,arg2) - return err -end - -function DMPlexGetAdjacencyUseAnchors(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:DMPlexGetAdjacencyUseAnchors,petscComplexDouble),PetscErrorCode,(DM,Ptr{PetscBool}),arg1,arg2) - return err -end - -function DMPlexGetAdjacency(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexGetAdjacency,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexGetOrdering(arg1::DM,arg2::MatOrderingType,arg3::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:DMPlexGetOrdering,petscComplexDouble),PetscErrorCode,(DM,Cstring,Ptr{IS{Complex128}}),arg1,arg2,arg3) - return err -end - -function DMPlexPermute(arg1::DM,arg2::IS{Complex128},arg3::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexPermute,petscComplexDouble),PetscErrorCode,(DM,IS{Complex128},Ptr{DM}),arg1,arg2,arg3) - return err -end - -function DMPlexCreateProcessSF(arg1::DM,arg2::PetscSF,arg3::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}},arg4::Union{Ptr{PetscSF},StridedArray{PetscSF},Ptr{PetscSF},Ref{PetscSF}}) - err = ccall((:DMPlexCreateProcessSF,petscComplexDouble),PetscErrorCode,(DM,PetscSF,Ptr{IS{Complex128}},Ptr{PetscSF}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCreateTwoSidedProcessSF(arg1::DM,arg2::PetscSF,arg3::PetscSection,arg4::IS{Complex128},arg5::PetscSection,arg6::IS{Complex128},arg7::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}},arg8::Union{Ptr{PetscSF},StridedArray{PetscSF},Ptr{PetscSF},Ref{PetscSF}}) - err = ccall((:DMPlexCreateTwoSidedProcessSF,petscComplexDouble),PetscErrorCode,(DM,PetscSF,PetscSection,IS{Complex128},PetscSection,IS{Complex128},Ptr{IS{Complex128}},Ptr{PetscSF}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function DMPlexDistributeOwnership(arg1::DM,arg2::PetscSection,arg3::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}},arg4::PetscSection,arg5::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:DMPlexDistributeOwnership,petscComplexDouble),PetscErrorCode,(DM,PetscSection,Ptr{IS{Complex128}},PetscSection,Ptr{IS{Complex128}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexCreateOverlap(arg1::DM,arg2::Integer,arg3::PetscSection,arg4::IS{Complex128},arg5::PetscSection,arg6::IS{Complex128},arg7::Union{Ptr{DMLabel},StridedArray{DMLabel},Ptr{DMLabel},Ref{DMLabel}}) - err = ccall((:DMPlexCreateOverlap,petscComplexDouble),PetscErrorCode,(DM,Int64,PetscSection,IS{Complex128},PetscSection,IS{Complex128},Ptr{DMLabel}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMPlexCreateOverlapMigrationSF(arg0::Type{Complex128},arg1::DM,arg2::PetscSF,arg3::Union{Ptr{PetscSF},StridedArray{PetscSF},Ptr{PetscSF},Ref{PetscSF}}) - err = ccall((:DMPlexCreateOverlapMigrationSF,petscComplexDouble),PetscErrorCode,(DM,PetscSF,Ptr{PetscSF}),arg1,arg2,arg3) - return err -end - -function DMPlexStratifyMigrationSF(arg0::Type{Complex128},arg1::DM,arg2::PetscSF,arg3::Union{Ptr{PetscSF},StridedArray{PetscSF},Ptr{PetscSF},Ref{PetscSF}}) - err = ccall((:DMPlexStratifyMigrationSF,petscComplexDouble),PetscErrorCode,(DM,PetscSF,Ptr{PetscSF}),arg1,arg2,arg3) - return err -end - -function DMPlexCreateSubmesh(arg0::Type{Complex128},arg1::DM,arg2::DMLabel,arg3::Integer,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateSubmesh,petscComplexDouble),PetscErrorCode,(DM,DMLabel,Int64,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCreateHybridMesh(arg0::Type{Complex128},arg1::DM,arg2::DMLabel,arg3::Union{Ptr{DMLabel},StridedArray{DMLabel},Ptr{DMLabel},Ref{DMLabel}},arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateHybridMesh,petscComplexDouble),PetscErrorCode,(DM,DMLabel,Ptr{DMLabel},Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexGetSubpointMap(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{DMLabel},StridedArray{DMLabel},Ptr{DMLabel},Ref{DMLabel}}) - err = ccall((:DMPlexGetSubpointMap,petscComplexDouble),PetscErrorCode,(DM,Ptr{DMLabel}),arg1,arg2) - return err -end - -function DMPlexSetSubpointMap(arg0::Type{Complex128},arg1::DM,arg2::DMLabel) - err = ccall((:DMPlexSetSubpointMap,petscComplexDouble),PetscErrorCode,(DM,DMLabel),arg1,arg2) - return err -end - -function DMPlexCreateSubpointIS(arg1::DM,arg2::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:DMPlexCreateSubpointIS,petscComplexDouble),PetscErrorCode,(DM,Ptr{IS{Complex128}}),arg1,arg2) - return err -end - -function DMPlexMarkBoundaryFaces(arg0::Type{Complex128},arg1::DM,arg2::DMLabel) - err = ccall((:DMPlexMarkBoundaryFaces,petscComplexDouble),PetscErrorCode,(DM,DMLabel),arg1,arg2) - return err -end - -function DMPlexLabelComplete(arg0::Type{Complex128},arg1::DM,arg2::DMLabel) - err = ccall((:DMPlexLabelComplete,petscComplexDouble),PetscErrorCode,(DM,DMLabel),arg1,arg2) - return err -end - -function DMPlexLabelCohesiveComplete(arg0::Type{Complex128},arg1::DM,arg2::DMLabel,arg3::DMLabel,arg4::PetscBool,arg5::DM) - err = ccall((:DMPlexLabelCohesiveComplete,petscComplexDouble),PetscErrorCode,(DM,DMLabel,DMLabel,PetscBool,DM),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexLabelAddCells(arg0::Type{Complex128},arg1::DM,arg2::DMLabel) - err = ccall((:DMPlexLabelAddCells,petscComplexDouble),PetscErrorCode,(DM,DMLabel),arg1,arg2) - return err -end - -function DMPlexGetRefinementLimit(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:DMPlexGetRefinementLimit,petscComplexDouble),PetscErrorCode,(DM,Ptr{Float64}),arg1,arg2) - return err -end - -function DMPlexSetRefinementLimit(arg0::Type{Complex128},arg1::DM,arg2::Float64) - err = ccall((:DMPlexSetRefinementLimit,petscComplexDouble),PetscErrorCode,(DM,Float64),arg1,arg2) - return err -end - -function DMPlexGetRefinementUniform(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:DMPlexGetRefinementUniform,petscComplexDouble),PetscErrorCode,(DM,Ptr{PetscBool}),arg1,arg2) - return err -end - -function DMPlexSetRefinementUniform(arg0::Type{Complex128},arg1::DM,arg2::PetscBool) - err = ccall((:DMPlexSetRefinementUniform,petscComplexDouble),PetscErrorCode,(DM,PetscBool),arg1,arg2) - return err -end - -function DMPlexGetCoarseDM(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexGetCoarseDM,petscComplexDouble),PetscErrorCode,(DM,Ptr{DM}),arg1,arg2) - return err -end - -function DMPlexSetCoarseDM(arg0::Type{Complex128},arg1::DM,arg2::DM) - err = ccall((:DMPlexSetCoarseDM,petscComplexDouble),PetscErrorCode,(DM,DM),arg1,arg2) - return err -end - -function DMPlexCreateCoarsePointIS(arg1::DM,arg2::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:DMPlexCreateCoarsePointIS,petscComplexDouble),PetscErrorCode,(DM,Ptr{IS{Complex128}}),arg1,arg2) - return err -end - -function DMPlexGetNumFaceVertices(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetNumFaceVertices,petscComplexDouble),PetscErrorCode,(DM,Int64,Int64,Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexGetOrientedFace(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg9::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:DMPlexGetOrientedFace,petscComplexDouble),PetscErrorCode,(DM,Int64,Int64,Ptr{Int64},Int64,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) - return err -end - -function DMPlexGetMinRadius(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:DMPlexGetMinRadius,petscComplexDouble),PetscErrorCode,(DM,Ptr{Float64}),arg1,arg2) - return err -end - -function DMPlexSetMinRadius(arg0::Type{Complex128},arg1::DM,arg2::Float64) - err = ccall((:DMPlexSetMinRadius,petscComplexDouble),PetscErrorCode,(DM,Float64),arg1,arg2) - return err -end - -function DMPlexComputeCellGeometryFVM(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:DMPlexComputeCellGeometryFVM,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{Float64},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexComputeGeometryFVM(arg1::DM,arg2::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}},arg3::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:DMPlexComputeGeometryFVM,petscComplexDouble),PetscErrorCode,(DM,Ptr{Vec{Complex128}},Ptr{Vec{Complex128}}),arg1,arg2,arg3) - return err -end - -function DMPlexComputeGradientFVM(arg1::DM,arg2::PetscFV,arg3::Vec{Complex128},arg4::Vec{Complex128},arg5::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexComputeGradientFVM,petscComplexDouble),PetscErrorCode,(DM,PetscFV,Vec{Complex128},Vec{Complex128},Ptr{DM}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexInsertBoundaryValues(arg1::DM,arg2::Vec{Complex128},arg3::Float64,arg4::Vec{Complex128},arg5::Vec{Complex128},arg6::Vec{Complex128}) - err = ccall((:DMPlexInsertBoundaryValues,petscComplexDouble),PetscErrorCode,(DM,Vec{Complex128},Float64,Vec{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMPlexCreateSection(arg1::DM,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Integer,arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}},arg9::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}},arg10::IS{Complex128},arg11::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:DMPlexCreateSection,petscComplexDouble),PetscErrorCode,(DM,Int64,Int64,Ptr{Int64},Ptr{Int64},Int64,Ptr{Int64},Ptr{IS{Complex128}},Ptr{IS{Complex128}},IS{Complex128},Ptr{PetscSection}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) - return err -end - -function DMPlexComputeCellGeometryAffineFEM(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:DMPlexComputeCellGeometryAffineFEM,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMPlexComputeCellGeometryFEM(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::PetscFE,arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg7::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:DMPlexComputeCellGeometryFEM,petscComplexDouble),PetscErrorCode,(DM,Int64,PetscFE,Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMPlexComputeGeometryFEM(arg1::DM,arg2::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:DMPlexComputeGeometryFEM,petscComplexDouble),PetscErrorCode,(DM,Ptr{Vec{Complex128}}),arg1,arg2) - return err -end - -function DMPlexVecGetClosure(arg1::DM,arg2::PetscSection,arg3::Vec{Complex128},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}}) - err = ccall((:DMPlexVecGetClosure,petscComplexDouble),PetscErrorCode,(DM,PetscSection,Vec{Complex128},Int64,Ptr{Int64},Ptr{Ptr{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMPlexVecRestoreClosure(arg1::DM,arg2::PetscSection,arg3::Vec{Complex128},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}}) - err = ccall((:DMPlexVecRestoreClosure,petscComplexDouble),PetscErrorCode,(DM,PetscSection,Vec{Complex128},Int64,Ptr{Int64},Ptr{Ptr{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMPlexVecSetClosure(arg1::DM,arg2::PetscSection,arg3::Vec{Complex128},arg4::Integer,arg5::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg6::InsertMode) - err = ccall((:DMPlexVecSetClosure,petscComplexDouble),PetscErrorCode,(DM,PetscSection,Vec{Complex128},Int64,Ptr{Complex128},InsertMode),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMPlexMatSetClosure(arg1::DM,arg2::PetscSection,arg3::PetscSection,arg4::Mat{Complex128},arg5::Integer,arg6::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg7::InsertMode) - err = ccall((:DMPlexMatSetClosure,petscComplexDouble),PetscErrorCode,(DM,PetscSection,PetscSection,Mat{Complex128},Int64,Ptr{Complex128},InsertMode),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMPlexMatSetClosureRefined(arg1::DM,arg2::PetscSection,arg3::PetscSection,arg4::DM,arg5::PetscSection,arg6::PetscSection,arg7::Mat{Complex128},arg8::Integer,arg9::Union{Ptr{Complex128},StridedArray{Complex128},Ptr{Complex128},Ref{Complex128}},arg10::InsertMode) - err = ccall((:DMPlexMatSetClosureRefined,petscComplexDouble),PetscErrorCode,(DM,PetscSection,PetscSection,DM,PetscSection,PetscSection,Mat{Complex128},Int64,Ptr{Complex128},InsertMode),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -function DMPlexMatGetClosureIndicesRefined(arg0::Type{Complex128},arg1::DM,arg2::PetscSection,arg3::PetscSection,arg4::DM,arg5::PetscSection,arg6::PetscSection,arg7::Integer,arg8::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg9::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexMatGetClosureIndicesRefined,petscComplexDouble),PetscErrorCode,(DM,PetscSection,PetscSection,DM,PetscSection,PetscSection,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) - return err -end - -function DMPlexCreateClosureIndex(arg0::Type{Complex128},arg1::DM,arg2::PetscSection) - err = ccall((:DMPlexCreateClosureIndex,petscComplexDouble),PetscErrorCode,(DM,PetscSection),arg1,arg2) - return err -end - -function DMPlexCreateFromFile(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::PetscBool,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateFromFile,petscComplexDouble),PetscErrorCode,(comm_type,Cstring,PetscBool,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCreateExodus(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Integer,arg3::PetscBool,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateExodus,petscComplexDouble),PetscErrorCode,(comm_type,Int64,PetscBool,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCreateExodusFromFile(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::PetscBool,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateExodusFromFile,petscComplexDouble),PetscErrorCode,(comm_type,Cstring,PetscBool,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCreateCGNS(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Integer,arg3::PetscBool,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateCGNS,petscComplexDouble),PetscErrorCode,(comm_type,Int64,PetscBool,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCreateCGNSFromFile(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::PetscBool,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateCGNSFromFile,petscComplexDouble),PetscErrorCode,(comm_type,Cstring,PetscBool,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCreateGmsh(arg1::MPI_Comm,arg2::PetscViewer{Complex128},arg3::PetscBool,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateGmsh,petscComplexDouble),PetscErrorCode,(comm_type,PetscViewer{Complex128},PetscBool,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCreateGmshFromFile(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::PetscBool,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateGmshFromFile,petscComplexDouble),PetscErrorCode,(comm_type,Cstring,PetscBool,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCreateFluent(arg1::MPI_Comm,arg2::PetscViewer{Complex128},arg3::PetscBool,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateFluent,petscComplexDouble),PetscErrorCode,(comm_type,PetscViewer{Complex128},PetscBool,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCreateFluentFromFile(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::PetscBool,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateFluentFromFile,petscComplexDouble),PetscErrorCode,(comm_type,Cstring,PetscBool,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexConstructGhostCells(arg0::Type{Complex128},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexConstructGhostCells,petscComplexDouble),PetscErrorCode,(DM,Cstring,Ptr{Int64},Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexConstructCohesiveCells(arg0::Type{Complex128},arg1::DM,arg2::DMLabel,arg3::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexConstructCohesiveCells,petscComplexDouble),PetscErrorCode,(DM,DMLabel,Ptr{DM}),arg1,arg2,arg3) - return err -end - -function DMPlexGetHybridBounds(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetHybridBounds,petscComplexDouble),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexSetHybridBounds(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer) - err = ccall((:DMPlexSetHybridBounds,petscComplexDouble),PetscErrorCode,(DM,Int64,Int64,Int64,Int64),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexGetVTKCellHeight(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetVTKCellHeight,petscComplexDouble),PetscErrorCode,(DM,Ptr{Int64}),arg1,arg2) - return err -end - -function DMPlexSetVTKCellHeight(arg0::Type{Complex128},arg1::DM,arg2::Integer) - err = ccall((:DMPlexSetVTKCellHeight,petscComplexDouble),PetscErrorCode,(DM,Int64),arg1,arg2) - return err -end - -function DMPlexVTKWriteAll(arg1::PetscObject,arg2::PetscViewer{Complex128}) - err = ccall((:DMPlexVTKWriteAll,petscComplexDouble),PetscErrorCode,(PetscObject,PetscViewer{Complex128}),arg1,arg2) - return err -end - -function DMPlexGetScale(arg0::Type{Complex128},arg1::DM,arg2::PetscUnit,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:DMPlexGetScale,petscComplexDouble),PetscErrorCode,(DM,PetscUnit,Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function DMPlexSetScale(arg0::Type{Complex128},arg1::DM,arg2::PetscUnit,arg3::Float64) - err = ccall((:DMPlexSetScale,petscComplexDouble),PetscErrorCode,(DM,PetscUnit,Float64),arg1,arg2,arg3) - return err -end - -function DMPlexAddBoundary(arg0::Type{Complex128},arg1::DM,arg2::PetscBool,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Integer,arg6::Integer,arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg9::Integer,arg10::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg11::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexAddBoundary,petscComplexDouble),PetscErrorCode,(DM,PetscBool,Cstring,Cstring,Int64,Int64,Ptr{Int64},Ptr{Void},Int64,Ptr{Int64},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) - return err -end - -function DMPlexGetNumBoundary(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetNumBoundary,petscComplexDouble),PetscErrorCode,(DM,Ptr{Int64}),arg1,arg2) - return err -end - -function DMPlexGetBoundary(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg4::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg5::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg9::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg10::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg11::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg12::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:DMPlexGetBoundary,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{PetscBool},Ptr{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ptr{Int64},Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Void}},Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12) - return err -end - -function DMPlexIsBoundaryPoint(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:DMPlexIsBoundaryPoint,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function DMPlexCopyBoundary(arg0::Type{Complex128},arg1::DM,arg2::DM) - err = ccall((:DMPlexCopyBoundary,petscComplexDouble),PetscErrorCode,(DM,DM),arg1,arg2) - return err -end - -function DMPlexInsertBoundaryValuesFEM(arg1::DM,arg2::Vec{Complex128}) - err = ccall((:DMPlexInsertBoundaryValuesFEM,petscComplexDouble),PetscErrorCode,(DM,Vec{Complex128}),arg1,arg2) - return err -end - -function DMPlexSetMaxProjectionHeight(arg0::Type{Complex128},arg1::DM,arg2::Integer) - err = ccall((:DMPlexSetMaxProjectionHeight,petscComplexDouble),PetscErrorCode,(DM,Int64),arg1,arg2) - return err -end - -function DMPlexGetMaxProjectionHeight(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetMaxProjectionHeight,petscComplexDouble),PetscErrorCode,(DM,Ptr{Int64}),arg1,arg2) - return err -end - -function DMPlexProjectFunction(arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::InsertMode,arg5::Vec{Complex128}) - err = ccall((:DMPlexProjectFunction,petscComplexDouble),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Ptr{Void}},InsertMode,Vec{Complex128}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexProjectFunctionLocal(arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::InsertMode,arg5::Vec{Complex128}) - err = ccall((:DMPlexProjectFunctionLocal,petscComplexDouble),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Ptr{Void}},InsertMode,Vec{Complex128}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexProjectFieldLocal(arg1::DM,arg2::Vec{Complex128},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::InsertMode,arg5::Vec{Complex128}) - err = ccall((:DMPlexProjectFieldLocal,petscComplexDouble),PetscErrorCode,(DM,Vec{Complex128},Ptr{Ptr{Void}},InsertMode,Vec{Complex128}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexComputeL2Diff(arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::Vec{Complex128},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:DMPlexComputeL2Diff,petscComplexDouble),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Ptr{Void}},Vec{Complex128},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexComputeL2GradientDiff(arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::Vec{Complex128},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:DMPlexComputeL2GradientDiff,petscComplexDouble),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Ptr{Void}},Vec{Complex128},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMPlexComputeL2FieldDiff(arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::Vec{Complex128},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:DMPlexComputeL2FieldDiff,petscComplexDouble),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Ptr{Void}},Vec{Complex128},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexComputeIntegralFEM(arg1::DM,arg2::Vec{Complex128},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexComputeIntegralFEM,petscComplexDouble),PetscErrorCode,(DM,Vec{Complex128},Ptr{Float64},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexComputeInterpolatorFEM(arg1::DM,arg2::DM,arg3::Mat{Complex128},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexComputeInterpolatorFEM,petscComplexDouble),PetscErrorCode,(DM,DM,Mat{Complex128},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexComputeInjectorFEM(arg1::DM,arg2::DM,arg3::Union{Ptr{VecScatter{Complex128}},StridedArray{VecScatter{Complex128}},Ptr{VecScatter{Complex128}},Ref{VecScatter{Complex128}}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexComputeInjectorFEM,petscComplexDouble),PetscErrorCode,(DM,DM,Ptr{VecScatter{Complex128}},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCreateRigidBody(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{MatNullSpace},StridedArray{MatNullSpace},Ptr{MatNullSpace},Ref{MatNullSpace}}) - err = ccall((:DMPlexCreateRigidBody,petscComplexDouble),PetscErrorCode,(DM,Ptr{MatNullSpace}),arg1,arg2) - return err -end - -function DMPlexSNESComputeResidualFEM(arg1::DM,arg2::Vec{Complex128},arg3::Vec{Complex128},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexSNESComputeResidualFEM,petscComplexDouble),PetscErrorCode,(DM,Vec{Complex128},Vec{Complex128},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexSNESComputeJacobianFEM(arg1::DM,arg2::Vec{Complex128},arg3::Mat{Complex128},arg4::Mat{Complex128},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexSNESComputeJacobianFEM,petscComplexDouble),PetscErrorCode,(DM,Vec{Complex128},Mat{Complex128},Mat{Complex128},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexTSComputeRHSFunctionFVM(arg1::DM,arg2::Float64,arg3::Vec{Complex128},arg4::Vec{Complex128},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexTSComputeRHSFunctionFVM,petscComplexDouble),PetscErrorCode,(DM,Float64,Vec{Complex128},Vec{Complex128},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexTSComputeIFunctionFEM(arg1::DM,arg2::Float64,arg3::Vec{Complex128},arg4::Vec{Complex128},arg5::Vec{Complex128},arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexTSComputeIFunctionFEM,petscComplexDouble),PetscErrorCode,(DM,Float64,Vec{Complex128},Vec{Complex128},Vec{Complex128},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMPlexComputeRHSFunctionFVM(arg1::DM,arg2::Float64,arg3::Vec{Complex128},arg4::Vec{Complex128},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexComputeRHSFunctionFVM,petscComplexDouble),PetscErrorCode,(DM,Float64,Vec{Complex128},Vec{Complex128},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexGetAnchors(arg1::DM,arg2::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}},arg3::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:DMPlexGetAnchors,petscComplexDouble),PetscErrorCode,(DM,Ptr{PetscSection},Ptr{IS{Complex128}}),arg1,arg2,arg3) - return err -end - -function DMPlexSetAnchors(arg1::DM,arg2::PetscSection,arg3::IS{Complex128}) - err = ccall((:DMPlexSetAnchors,petscComplexDouble),PetscErrorCode,(DM,PetscSection,IS{Complex128}),arg1,arg2,arg3) - return err -end - -function DMPlexSetReferenceTree(arg0::Type{Complex128},arg1::DM,arg2::DM) - err = ccall((:DMPlexSetReferenceTree,petscComplexDouble),PetscErrorCode,(DM,DM),arg1,arg2) - return err -end - -function DMPlexGetReferenceTree(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexGetReferenceTree,petscComplexDouble),PetscErrorCode,(DM,Ptr{DM}),arg1,arg2) - return err -end - -function DMPlexReferenceTreeGetChildSymmetry(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexReferenceTreeGetChildSymmetry,petscComplexDouble),PetscErrorCode,(DM,Int64,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function DMPlexCreateDefaultReferenceTree(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Integer,arg3::PetscBool,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateDefaultReferenceTree,petscComplexDouble),PetscErrorCode,(comm_type,Int64,PetscBool,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexSetTree(arg0::Type{Complex128},arg1::DM,arg2::PetscSection,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexSetTree,petscComplexDouble),PetscErrorCode,(DM,PetscSection,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexGetTree(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}},arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg5::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}},arg6::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexGetTree,petscComplexDouble),PetscErrorCode,(DM,Ptr{PetscSection},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}},Ptr{PetscSection},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMPlexGetTreeParent(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetTreeParent,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexGetTreeChildren(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexGetTreeChildren,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexTreeRefineCell(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexTreeRefineCell,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{DM}),arg1,arg2,arg3) - return err -end - -function DMRedundantCreate(arg0::Type{Complex128},arg1::MPI_Comm,arg2::PetscMPIInt,arg3::Integer,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMRedundantCreate,petscComplexDouble),PetscErrorCode,(comm_type,PetscMPIInt,Int64,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMRedundantSetSize(arg0::Type{Complex128},arg1::DM,arg2::PetscMPIInt,arg3::Integer) - err = ccall((:DMRedundantSetSize,petscComplexDouble),PetscErrorCode,(DM,PetscMPIInt,Int64),arg1,arg2,arg3) - return err -end - -function DMRedundantGetSize(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMRedundantGetSize,petscComplexDouble),PetscErrorCode,(DM,Ptr{PetscMPIInt},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function DMShellCreate(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMShellCreate,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{DM}),arg1,arg2) - return err -end - -function DMShellSetMatrix(arg1::DM,arg2::Mat{Complex128}) - err = ccall((:DMShellSetMatrix,petscComplexDouble),PetscErrorCode,(DM,Mat{Complex128}),arg1,arg2) - return err -end - -function DMShellSetGlobalVector(arg1::DM,arg2::Vec{Complex128}) - err = ccall((:DMShellSetGlobalVector,petscComplexDouble),PetscErrorCode,(DM,Vec{Complex128}),arg1,arg2) - return err -end - -function DMShellSetLocalVector(arg1::DM,arg2::Vec{Complex128}) - err = ccall((:DMShellSetLocalVector,petscComplexDouble),PetscErrorCode,(DM,Vec{Complex128}),arg1,arg2) - return err -end - -function DMShellSetCreateGlobalVector(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMShellSetCreateGlobalVector,petscComplexDouble),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMShellSetCreateLocalVector(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMShellSetCreateLocalVector,petscComplexDouble),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMShellSetGlobalToLocal(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMShellSetGlobalToLocal,petscComplexDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMShellSetGlobalToLocalVecScatter(arg1::DM,arg2::VecScatter{Complex128}) - err = ccall((:DMShellSetGlobalToLocalVecScatter,petscComplexDouble),PetscErrorCode,(DM,VecScatter{Complex128}),arg1,arg2) - return err -end - -function DMShellSetLocalToGlobal(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMShellSetLocalToGlobal,petscComplexDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMShellSetLocalToGlobalVecScatter(arg1::DM,arg2::VecScatter{Complex128}) - err = ccall((:DMShellSetLocalToGlobalVecScatter,petscComplexDouble),PetscErrorCode,(DM,VecScatter{Complex128}),arg1,arg2) - return err -end - -function DMShellSetLocalToLocal(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMShellSetLocalToLocal,petscComplexDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMShellSetLocalToLocalVecScatter(arg1::DM,arg2::VecScatter{Complex128}) - err = ccall((:DMShellSetLocalToLocalVecScatter,petscComplexDouble),PetscErrorCode,(DM,VecScatter{Complex128}),arg1,arg2) - return err -end - -function DMShellSetCreateMatrix(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMShellSetCreateMatrix,petscComplexDouble),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMShellSetCoarsen(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMShellSetCoarsen,petscComplexDouble),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMShellSetRefine(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMShellSetRefine,petscComplexDouble),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMShellSetCreateInterpolation(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMShellSetCreateInterpolation,petscComplexDouble),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMShellSetCreateInjection(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMShellSetCreateInjection,petscComplexDouble),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMShellSetCreateFieldDecomposition(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMShellSetCreateFieldDecomposition,petscComplexDouble),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMGlobalToLocalBeginDefaultShell(arg1::DM,arg2::Vec{Complex128},arg3::InsertMode,arg4::Vec{Complex128}) - err = ccall((:DMGlobalToLocalBeginDefaultShell,petscComplexDouble),PetscErrorCode,(DM,Vec{Complex128},InsertMode,Vec{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function DMGlobalToLocalEndDefaultShell(arg1::DM,arg2::Vec{Complex128},arg3::InsertMode,arg4::Vec{Complex128}) - err = ccall((:DMGlobalToLocalEndDefaultShell,petscComplexDouble),PetscErrorCode,(DM,Vec{Complex128},InsertMode,Vec{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function DMLocalToGlobalBeginDefaultShell(arg1::DM,arg2::Vec{Complex128},arg3::InsertMode,arg4::Vec{Complex128}) - err = ccall((:DMLocalToGlobalBeginDefaultShell,petscComplexDouble),PetscErrorCode,(DM,Vec{Complex128},InsertMode,Vec{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function DMLocalToGlobalEndDefaultShell(arg1::DM,arg2::Vec{Complex128},arg3::InsertMode,arg4::Vec{Complex128}) - err = ccall((:DMLocalToGlobalEndDefaultShell,petscComplexDouble),PetscErrorCode,(DM,Vec{Complex128},InsertMode,Vec{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function DMLocalToLocalBeginDefaultShell(arg1::DM,arg2::Vec{Complex128},arg3::InsertMode,arg4::Vec{Complex128}) - err = ccall((:DMLocalToLocalBeginDefaultShell,petscComplexDouble),PetscErrorCode,(DM,Vec{Complex128},InsertMode,Vec{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function DMLocalToLocalEndDefaultShell(arg1::DM,arg2::Vec{Complex128},arg3::InsertMode,arg4::Vec{Complex128}) - err = ccall((:DMLocalToLocalEndDefaultShell,petscComplexDouble),PetscErrorCode,(DM,Vec{Complex128},InsertMode,Vec{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function DMSlicedCreate(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMSlicedCreate,petscComplexDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{DM}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function DMSlicedSetPreallocation(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMSlicedSetPreallocation,petscComplexDouble),PetscErrorCode,(DM,Int64,Ptr{Int64},Int64,Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMSlicedSetBlockFills(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMSlicedSetBlockFills,petscComplexDouble),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function DMSlicedSetGhosts(arg0::Type{Complex128},arg1::DM,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMSlicedSetGhosts,petscComplexDouble),PetscErrorCode,(DM,Int64,Int64,Int64,Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDSInitializePackage(arg0::Type{Complex128}) - err = ccall((:PetscDSInitializePackage,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscDSCreate(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{PetscDS},StridedArray{PetscDS},Ptr{PetscDS},Ref{PetscDS}}) - err = ccall((:PetscDSCreate,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{PetscDS}),arg1,arg2) - return err -end - -function PetscDSDestroy(arg0::Type{Complex128},arg1::Union{Ptr{PetscDS},StridedArray{PetscDS},Ptr{PetscDS},Ref{PetscDS}}) - err = ccall((:PetscDSDestroy,petscComplexDouble),PetscErrorCode,(Ptr{PetscDS},),arg1) - return err -end - -function PetscDSSetType(arg0::Type{Complex128},arg1::PetscDS,arg2::PetscDSType) - err = ccall((:PetscDSSetType,petscComplexDouble),PetscErrorCode,(PetscDS,Cstring),arg1,arg2) - return err -end - -function PetscDSGetType(arg0::Type{Complex128},arg1::PetscDS,arg2::Union{Ptr{PetscDSType},StridedArray{PetscDSType},Ptr{PetscDSType},Ref{PetscDSType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:PetscDSGetType,petscComplexDouble),PetscErrorCode,(PetscDS,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function PetscDSSetUp(arg0::Type{Complex128},arg1::PetscDS) - err = ccall((:PetscDSSetUp,petscComplexDouble),PetscErrorCode,(PetscDS,),arg1) - return err -end - -function PetscDSSetFromOptions(arg0::Type{Complex128},arg1::PetscDS) - err = ccall((:PetscDSSetFromOptions,petscComplexDouble),PetscErrorCode,(PetscDS,),arg1) - return err -end - -function PetscDSViewFromOptions(arg0::Type{Complex128},A::PetscDS,B::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscDSViewFromOptions,petscComplexDouble),PetscErrorCode,(PetscDS,PetscObject,Cstring),A,B,name) - return err -end - -function PetscDSView(arg1::PetscDS,arg2::PetscViewer{Complex128}) - err = ccall((:PetscDSView,petscComplexDouble),PetscErrorCode,(PetscDS,PetscViewer{Complex128}),arg1,arg2) - return err -end - -function PetscDSRegister(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscDSRegister,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function PetscDSRegisterDestroy(arg0::Type{Complex128}) - err = ccall((:PetscDSRegisterDestroy,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PetscDSGetSpatialDimension(arg0::Type{Complex128},arg1::PetscDS,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscDSGetSpatialDimension,petscComplexDouble),PetscErrorCode,(PetscDS,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscDSGetNumFields(arg0::Type{Complex128},arg1::PetscDS,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscDSGetNumFields,petscComplexDouble),PetscErrorCode,(PetscDS,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscDSGetTotalDimension(arg0::Type{Complex128},arg1::PetscDS,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscDSGetTotalDimension,petscComplexDouble),PetscErrorCode,(PetscDS,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscDSGetTotalBdDimension(arg0::Type{Complex128},arg1::PetscDS,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscDSGetTotalBdDimension,petscComplexDouble),PetscErrorCode,(PetscDS,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscDSGetTotalComponents(arg0::Type{Complex128},arg1::PetscDS,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscDSGetTotalComponents,petscComplexDouble),PetscErrorCode,(PetscDS,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscDSGetFieldOffset(arg0::Type{Complex128},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscDSGetFieldOffset,petscComplexDouble),PetscErrorCode,(PetscDS,Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscDSGetBdFieldOffset(arg0::Type{Complex128},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscDSGetBdFieldOffset,petscComplexDouble),PetscErrorCode,(PetscDS,Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscDSGetComponentOffset(arg0::Type{Complex128},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscDSGetComponentOffset,petscComplexDouble),PetscErrorCode,(PetscDS,Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscDSGetComponentOffsets(arg0::Type{Complex128},arg1::PetscDS,arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PetscDSGetComponentOffsets,petscComplexDouble),PetscErrorCode,(PetscDS,Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function PetscDSGetComponentBdOffsets(arg0::Type{Complex128},arg1::PetscDS,arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PetscDSGetComponentBdOffsets,petscComplexDouble),PetscErrorCode,(PetscDS,Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function PetscDSGetComponentDerivativeOffsets(arg0::Type{Complex128},arg1::PetscDS,arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PetscDSGetComponentDerivativeOffsets,petscComplexDouble),PetscErrorCode,(PetscDS,Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function PetscDSGetComponentBdDerivativeOffsets(arg0::Type{Complex128},arg1::PetscDS,arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PetscDSGetComponentBdDerivativeOffsets,petscComplexDouble),PetscErrorCode,(PetscDS,Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function PetscDSGetDiscretization(arg0::Type{Complex128},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{PetscObject},StridedArray{PetscObject},Ptr{PetscObject},Ref{PetscObject}}) - err = ccall((:PetscDSGetDiscretization,petscComplexDouble),PetscErrorCode,(PetscDS,Int64,Ptr{PetscObject}),arg1,arg2,arg3) - return err -end - -function PetscDSSetDiscretization(arg0::Type{Complex128},arg1::PetscDS,arg2::Integer,arg3::PetscObject) - err = ccall((:PetscDSSetDiscretization,petscComplexDouble),PetscErrorCode,(PetscDS,Int64,PetscObject),arg1,arg2,arg3) - return err -end - -function PetscDSAddDiscretization(arg0::Type{Complex128},arg1::PetscDS,arg2::PetscObject) - err = ccall((:PetscDSAddDiscretization,petscComplexDouble),PetscErrorCode,(PetscDS,PetscObject),arg1,arg2) - return err -end - -function PetscDSGetBdDiscretization(arg0::Type{Complex128},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{PetscObject},StridedArray{PetscObject},Ptr{PetscObject},Ref{PetscObject}}) - err = ccall((:PetscDSGetBdDiscretization,petscComplexDouble),PetscErrorCode,(PetscDS,Int64,Ptr{PetscObject}),arg1,arg2,arg3) - return err -end - -function PetscDSSetBdDiscretization(arg0::Type{Complex128},arg1::PetscDS,arg2::Integer,arg3::PetscObject) - err = ccall((:PetscDSSetBdDiscretization,petscComplexDouble),PetscErrorCode,(PetscDS,Int64,PetscObject),arg1,arg2,arg3) - return err -end - -function PetscDSAddBdDiscretization(arg0::Type{Complex128},arg1::PetscDS,arg2::PetscObject) - err = ccall((:PetscDSAddBdDiscretization,petscComplexDouble),PetscErrorCode,(PetscDS,PetscObject),arg1,arg2) - return err -end - -function PetscDSGetImplicit(arg0::Type{Complex128},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscDSGetImplicit,petscComplexDouble),PetscErrorCode,(PetscDS,Int64,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function PetscDSSetImplicit(arg0::Type{Complex128},arg1::PetscDS,arg2::Integer,arg3::PetscBool) - err = ccall((:PetscDSSetImplicit,petscComplexDouble),PetscErrorCode,(PetscDS,Int64,PetscBool),arg1,arg2,arg3) - return err -end - -function PetscDSGetAdjacency(arg0::Type{Complex128},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscDSGetAdjacency,petscComplexDouble),PetscErrorCode,(PetscDS,Int64,Ptr{PetscBool},Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function PetscDSSetAdjacency(arg0::Type{Complex128},arg1::PetscDS,arg2::Integer,arg3::PetscBool,arg4::PetscBool) - err = ccall((:PetscDSSetAdjacency,petscComplexDouble),PetscErrorCode,(PetscDS,Int64,PetscBool,PetscBool),arg1,arg2,arg3,arg4) - return err -end - -function PetscDSGetObjective(arg0::Type{Complex128},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:PetscDSGetObjective,petscComplexDouble),PetscErrorCode,(PetscDS,Int64,Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function PetscDSSetObjective(arg0::Type{Complex128},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscDSSetObjective,petscComplexDouble),PetscErrorCode,(PetscDS,Int64,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function PetscDSGetResidual(arg0::Type{Complex128},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:PetscDSGetResidual,petscComplexDouble),PetscErrorCode,(PetscDS,Int64,Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscDSSetResidual(arg0::Type{Complex128},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscDSSetResidual,petscComplexDouble),PetscErrorCode,(PetscDS,Int64,Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function PetscDSGetJacobian(arg0::Type{Complex128},arg1::PetscDS,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg5::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg6::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg7::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:PetscDSGetJacobian,petscComplexDouble),PetscErrorCode,(PetscDS,Int64,Int64,Ptr{Ptr{Void}},Ptr{Ptr{Void}},Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function PetscDSSetJacobian(arg0::Type{Complex128},arg1::PetscDS,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg7::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscDSSetJacobian,petscComplexDouble),PetscErrorCode,(PetscDS,Int64,Int64,Ptr{Void},Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function PetscDSGetRiemannSolver(arg0::Type{Complex128},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:PetscDSGetRiemannSolver,petscComplexDouble),PetscErrorCode,(PetscDS,Int64,Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function PetscDSSetRiemannSolver(arg0::Type{Complex128},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscDSSetRiemannSolver,petscComplexDouble),PetscErrorCode,(PetscDS,Int64,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function PetscDSGetContext(arg0::Type{Complex128},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:PetscDSGetContext,petscComplexDouble),PetscErrorCode,(PetscDS,Int64,Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function PetscDSSetContext(arg0::Type{Complex128},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscDSSetContext,petscComplexDouble),PetscErrorCode,(PetscDS,Int64,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function PetscDSGetBdResidual(arg0::Type{Complex128},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:PetscDSGetBdResidual,petscComplexDouble),PetscErrorCode,(PetscDS,Int64,Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscDSSetBdResidual(arg0::Type{Complex128},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscDSSetBdResidual,petscComplexDouble),PetscErrorCode,(PetscDS,Int64,Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function PetscDSGetBdJacobian(arg0::Type{Complex128},arg1::PetscDS,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg5::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg6::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg7::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:PetscDSGetBdJacobian,petscComplexDouble),PetscErrorCode,(PetscDS,Int64,Int64,Ptr{Ptr{Void}},Ptr{Ptr{Void}},Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function PetscDSSetBdJacobian(arg0::Type{Complex128},arg1::PetscDS,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg7::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscDSSetBdJacobian,petscComplexDouble),PetscErrorCode,(PetscDS,Int64,Int64,Ptr{Void},Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function PetscDSGetTabulation(arg0::Type{Complex128},arg1::PetscDS,arg2::Union{Ptr{Ptr{Ptr{Float64}}},StridedArray{Ptr{Ptr{Float64}}},Ptr{Ptr{Ptr{Float64}}},Ref{Ptr{Ptr{Float64}}}},arg3::Union{Ptr{Ptr{Ptr{Float64}}},StridedArray{Ptr{Ptr{Float64}}},Ptr{Ptr{Ptr{Float64}}},Ref{Ptr{Ptr{Float64}}}}) - err = ccall((:PetscDSGetTabulation,petscComplexDouble),PetscErrorCode,(PetscDS,Ptr{Ptr{Ptr{Float64}}},Ptr{Ptr{Ptr{Float64}}}),arg1,arg2,arg3) - return err -end - -function PetscDSGetBdTabulation(arg0::Type{Complex128},arg1::PetscDS,arg2::Union{Ptr{Ptr{Ptr{Float64}}},StridedArray{Ptr{Ptr{Float64}}},Ptr{Ptr{Ptr{Float64}}},Ref{Ptr{Ptr{Float64}}}},arg3::Union{Ptr{Ptr{Ptr{Float64}}},StridedArray{Ptr{Ptr{Float64}}},Ptr{Ptr{Ptr{Float64}}},Ref{Ptr{Ptr{Float64}}}}) - err = ccall((:PetscDSGetBdTabulation,petscComplexDouble),PetscErrorCode,(PetscDS,Ptr{Ptr{Ptr{Float64}}},Ptr{Ptr{Ptr{Float64}}}),arg1,arg2,arg3) - return err -end - -function PetscDSGetEvaluationArrays(arg0::Type{Complex128},arg1::PetscDS,arg2::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}},arg3::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}},arg4::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}}) - err = ccall((:PetscDSGetEvaluationArrays,petscComplexDouble),PetscErrorCode,(PetscDS,Ptr{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ptr{Ptr{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscDSGetWeakFormArrays(arg0::Type{Complex128},arg1::PetscDS,arg2::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}},arg3::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}},arg4::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}},arg5::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}},arg6::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}},arg7::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}}) - err = ccall((:PetscDSGetWeakFormArrays,petscComplexDouble),PetscErrorCode,(PetscDS,Ptr{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ptr{Ptr{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function PetscDSGetRefCoordArrays(arg0::Type{Complex128},arg1::PetscDS,arg2::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg3::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}}) - err = ccall((:PetscDSGetRefCoordArrays,petscComplexDouble),PetscErrorCode,(PetscDS,Ptr{Ptr{Float64}},Ptr{Ptr{Complex128}}),arg1,arg2,arg3) - return err -end - -function CharacteristicInitializePackage(arg0::Type{Complex128}) - err = ccall((:CharacteristicInitializePackage,petscComplexDouble),PetscErrorCode,()) - return err -end - -function CharacteristicCreate(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{Characteristic},StridedArray{Characteristic},Ptr{Characteristic},Ref{Characteristic}}) - err = ccall((:CharacteristicCreate,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{Characteristic}),arg1,arg2) - return err -end - -function CharacteristicSetType(arg0::Type{Complex128},arg1::Characteristic,arg2::CharacteristicType) - err = ccall((:CharacteristicSetType,petscComplexDouble),PetscErrorCode,(Characteristic,Cstring),arg1,arg2) - return err -end - -function CharacteristicSetUp(arg0::Type{Complex128},arg1::Characteristic) - err = ccall((:CharacteristicSetUp,petscComplexDouble),PetscErrorCode,(Characteristic,),arg1) - return err -end - -function CharacteristicSetVelocityInterpolation(arg1::Characteristic,arg2::DM,arg3::Vec{Complex128},arg4::Vec{Complex128},arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg8::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:CharacteristicSetVelocityInterpolation,petscComplexDouble),PetscErrorCode,(Characteristic,DM,Vec{Complex128},Vec{Complex128},Int64,Ptr{Int64},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function CharacteristicSetVelocityInterpolationLocal(arg1::Characteristic,arg2::DM,arg3::Vec{Complex128},arg4::Vec{Complex128},arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg8::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:CharacteristicSetVelocityInterpolationLocal,petscComplexDouble),PetscErrorCode,(Characteristic,DM,Vec{Complex128},Vec{Complex128},Int64,Ptr{Int64},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function CharacteristicSetFieldInterpolation(arg1::Characteristic,arg2::DM,arg3::Vec{Complex128},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg7::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:CharacteristicSetFieldInterpolation,petscComplexDouble),PetscErrorCode,(Characteristic,DM,Vec{Complex128},Int64,Ptr{Int64},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function CharacteristicSetFieldInterpolationLocal(arg1::Characteristic,arg2::DM,arg3::Vec{Complex128},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg7::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:CharacteristicSetFieldInterpolationLocal,petscComplexDouble),PetscErrorCode,(Characteristic,DM,Vec{Complex128},Int64,Ptr{Int64},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function CharacteristicSolve(arg1::Characteristic,arg2::Float64,arg3::Vec{Complex128}) - err = ccall((:CharacteristicSolve,petscComplexDouble),PetscErrorCode,(Characteristic,Float64,Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function CharacteristicDestroy(arg0::Type{Complex128},arg1::Union{Ptr{Characteristic},StridedArray{Characteristic},Ptr{Characteristic},Ref{Characteristic}}) - err = ccall((:CharacteristicDestroy,petscComplexDouble),PetscErrorCode,(Ptr{Characteristic},),arg1) - return err -end - -function CharacteristicRegister(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:CharacteristicRegister,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function PCExoticSetType(arg1::PC{Complex128},arg2::PCExoticType) - err = ccall((:PCExoticSetType,petscComplexDouble),PetscErrorCode,(PC{Complex128},PCExoticType),arg1,arg2) - return err -end - -function PCInitializePackage(arg0::Type{Complex128}) - err = ccall((:PCInitializePackage,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PCCreate(arg1::MPI_Comm,arg2::Union{Ptr{PC{Complex128}},StridedArray{PC{Complex128}},Ptr{PC{Complex128}},Ref{PC{Complex128}}}) - err = ccall((:PCCreate,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{PC{Complex128}}),arg1,arg2) - return err -end - -function PCSetType(arg1::PC{Complex128},arg2::PCType) - err = ccall((:PCSetType,petscComplexDouble),PetscErrorCode,(PC{Complex128},Cstring),arg1,arg2) - return err -end - -function PCGetType(arg1::PC{Complex128},arg2::Union{Ptr{PCType},StridedArray{PCType},Ptr{PCType},Ref{PCType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:PCGetType,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function PCSetUp(arg1::PC{Complex128}) - err = ccall((:PCSetUp,petscComplexDouble),PetscErrorCode,(PC{Complex128},),arg1) - return err -end - -function PCGetSetUpFailedReason(arg1::PC{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PCGetSetUpFailedReason,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Int64}),arg1,arg2) - return err -end - -function PCSetUpOnBlocks(arg1::PC{Complex128}) - err = ccall((:PCSetUpOnBlocks,petscComplexDouble),PetscErrorCode,(PC{Complex128},),arg1) - return err -end - -function PCApply(arg1::PC{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:PCApply,petscComplexDouble),PetscErrorCode,(PC{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function PCApplySymmetricLeft(arg1::PC{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:PCApplySymmetricLeft,petscComplexDouble),PetscErrorCode,(PC{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function PCApplySymmetricRight(arg1::PC{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:PCApplySymmetricRight,petscComplexDouble),PetscErrorCode,(PC{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function PCApplyBAorAB(arg1::PC{Complex128},arg2::PCSide,arg3::Vec{Complex128},arg4::Vec{Complex128},arg5::Vec{Complex128}) - err = ccall((:PCApplyBAorAB,petscComplexDouble),PetscErrorCode,(PC{Complex128},PCSide,Vec{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PCApplyTranspose(arg1::PC{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:PCApplyTranspose,petscComplexDouble),PetscErrorCode,(PC{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function PCApplyTransposeExists(arg1::PC{Complex128},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCApplyTransposeExists,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCApplyBAorABTranspose(arg1::PC{Complex128},arg2::PCSide,arg3::Vec{Complex128},arg4::Vec{Complex128},arg5::Vec{Complex128}) - err = ccall((:PCApplyBAorABTranspose,petscComplexDouble),PetscErrorCode,(PC{Complex128},PCSide,Vec{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PCSetReusePreconditioner(arg1::PC{Complex128},arg2::PetscBool) - err = ccall((:PCSetReusePreconditioner,petscComplexDouble),PetscErrorCode,(PC{Complex128},PetscBool),arg1,arg2) - return err -end - -function PCGetReusePreconditioner(arg1::PC{Complex128},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCGetReusePreconditioner,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCSetErrorIfFailure(arg1::PC{Complex128},arg2::PetscBool) - err = ccall((:PCSetErrorIfFailure,petscComplexDouble),PetscErrorCode,(PC{Complex128},PetscBool),arg1,arg2) - return err -end - -function PCApplyRichardson(arg1::PC{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128},arg4::Vec{Complex128},arg5::Float64,arg6::Float64,arg7::Float64,arg8::Integer,arg9::PetscBool,arg10::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg11::Union{Ptr{PCRichardsonConvergedReason},StridedArray{PCRichardsonConvergedReason},Ptr{PCRichardsonConvergedReason},Ref{PCRichardsonConvergedReason}}) - err = ccall((:PCApplyRichardson,petscComplexDouble),PetscErrorCode,(PC{Complex128},Vec{Complex128},Vec{Complex128},Vec{Complex128},Float64,Float64,Float64,Int64,PetscBool,Ptr{Int64},Ptr{PCRichardsonConvergedReason}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) - return err -end - -function PCApplyRichardsonExists(arg1::PC{Complex128},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCApplyRichardsonExists,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCSetInitialGuessNonzero(arg1::PC{Complex128},arg2::PetscBool) - err = ccall((:PCSetInitialGuessNonzero,petscComplexDouble),PetscErrorCode,(PC{Complex128},PetscBool),arg1,arg2) - return err -end - -function PCGetInitialGuessNonzero(arg1::PC{Complex128},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCGetInitialGuessNonzero,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCSetUseAmat(arg1::PC{Complex128},arg2::PetscBool) - err = ccall((:PCSetUseAmat,petscComplexDouble),PetscErrorCode,(PC{Complex128},PetscBool),arg1,arg2) - return err -end - -function PCGetUseAmat(arg1::PC{Complex128},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCGetUseAmat,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCRegister(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCRegister,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function PCReset(arg1::PC{Complex128}) - err = ccall((:PCReset,petscComplexDouble),PetscErrorCode,(PC{Complex128},),arg1) - return err -end - -function PCDestroy(arg1::Union{Ptr{PC{Complex128}},StridedArray{PC{Complex128}},Ptr{PC{Complex128}},Ref{PC{Complex128}}}) - err = ccall((:PCDestroy,petscComplexDouble),PetscErrorCode,(Ptr{PC{Complex128}},),arg1) - return err -end - -function PCSetFromOptions(arg1::PC{Complex128}) - err = ccall((:PCSetFromOptions,petscComplexDouble),PetscErrorCode,(PC{Complex128},),arg1) - return err -end - -function PCFactorGetMatrix(arg1::PC{Complex128},arg2::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:PCFactorGetMatrix,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Mat{Complex128}}),arg1,arg2) - return err -end - -function PCSetModifySubMatrices(arg1::PC{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCSetModifySubMatrices,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function PCModifySubMatrices(arg1::PC{Complex128},arg2::Integer,arg3::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}},arg4::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}},arg5::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}},arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCModifySubMatrices,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64,Ptr{IS{Complex128}},Ptr{IS{Complex128}},Ptr{Mat{Complex128}},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PCSetOperators(arg1::PC{Complex128},arg2::Mat{Complex128},arg3::Mat{Complex128}) - err = ccall((:PCSetOperators,petscComplexDouble),PetscErrorCode,(PC{Complex128},Mat{Complex128},Mat{Complex128}),arg1,arg2,arg3) - return err -end - -function PCGetOperators(arg1::PC{Complex128},arg2::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}},arg3::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:PCGetOperators,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Mat{Complex128}},Ptr{Mat{Complex128}}),arg1,arg2,arg3) - return err -end - -function PCGetOperatorsSet(arg1::PC{Complex128},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCGetOperatorsSet,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{PetscBool},Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function PCView(arg1::PC{Complex128},arg2::PetscViewer{Complex128}) - err = ccall((:PCView,petscComplexDouble),PetscErrorCode,(PC{Complex128},PetscViewer{Complex128}),arg1,arg2) - return err -end - -function PCLoad(arg1::PC{Complex128},arg2::PetscViewer{Complex128}) - err = ccall((:PCLoad,petscComplexDouble),PetscErrorCode,(PC{Complex128},PetscViewer{Complex128}),arg1,arg2) - return err -end - -function PCViewFromOptions(A::PC{Complex128},obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PCViewFromOptions,petscComplexDouble),PetscErrorCode,(PC{Complex128},PetscObject,Cstring),A,obj,name) - return err -end - -function PCSetOptionsPrefix(arg1::PC{Complex128},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PCSetOptionsPrefix,petscComplexDouble),PetscErrorCode,(PC{Complex128},Cstring),arg1,arg2) - return err -end - -function PCAppendOptionsPrefix(arg1::PC{Complex128},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PCAppendOptionsPrefix,petscComplexDouble),PetscErrorCode,(PC{Complex128},Cstring),arg1,arg2) - return err -end - -function PCGetOptionsPrefix(arg1::PC{Complex128},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PCGetOptionsPrefix,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PCComputeExplicitOperator(arg1::PC{Complex128},arg2::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:PCComputeExplicitOperator,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Mat{Complex128}}),arg1,arg2) - return err -end - -function PCGetDiagonalScale(arg1::PC{Complex128},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCGetDiagonalScale,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCDiagonalScaleLeft(arg1::PC{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:PCDiagonalScaleLeft,petscComplexDouble),PetscErrorCode,(PC{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function PCDiagonalScaleRight(arg1::PC{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:PCDiagonalScaleRight,petscComplexDouble),PetscErrorCode,(PC{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function PCSetDiagonalScale(arg1::PC{Complex128},arg2::Vec{Complex128}) - err = ccall((:PCSetDiagonalScale,petscComplexDouble),PetscErrorCode,(PC{Complex128},Vec{Complex128}),arg1,arg2) - return err -end - -function PCJacobiSetType(arg1::PC{Complex128},arg2::PCJacobiType) - err = ccall((:PCJacobiSetType,petscComplexDouble),PetscErrorCode,(PC{Complex128},PCJacobiType),arg1,arg2) - return err -end - -function PCJacobiGetType(arg1::PC{Complex128},arg2::Union{Ptr{PCJacobiType},StridedArray{PCJacobiType},Ptr{PCJacobiType},Ref{PCJacobiType}}) - err = ccall((:PCJacobiGetType,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{PCJacobiType}),arg1,arg2) - return err -end - -function PCJacobiSetUseAbs(arg1::PC{Complex128},arg2::PetscBool) - err = ccall((:PCJacobiSetUseAbs,petscComplexDouble),PetscErrorCode,(PC{Complex128},PetscBool),arg1,arg2) - return err -end - -function PCJacobiGetUseAbs(arg1::PC{Complex128},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCJacobiGetUseAbs,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCSORSetSymmetric(arg1::PC{Complex128},arg2::MatSORType) - err = ccall((:PCSORSetSymmetric,petscComplexDouble),PetscErrorCode,(PC{Complex128},MatSORType),arg1,arg2) - return err -end - -function PCSORGetSymmetric(arg1::PC{Complex128},arg2::Union{Ptr{MatSORType},StridedArray{MatSORType},Ptr{MatSORType},Ref{MatSORType}}) - err = ccall((:PCSORGetSymmetric,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{MatSORType}),arg1,arg2) - return err -end - -function PCSORSetOmega(arg1::PC{Complex128},arg2::Float64) - err = ccall((:PCSORSetOmega,petscComplexDouble),PetscErrorCode,(PC{Complex128},Float64),arg1,arg2) - return err -end - -function PCSORGetOmega(arg1::PC{Complex128},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PCSORGetOmega,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Float64}),arg1,arg2) - return err -end - -function PCSORSetIterations(arg1::PC{Complex128},arg2::Integer,arg3::Integer) - err = ccall((:PCSORSetIterations,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64,Int64),arg1,arg2,arg3) - return err -end - -function PCSORGetIterations(arg1::PC{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PCSORGetIterations,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PCEisenstatSetOmega(arg1::PC{Complex128},arg2::Float64) - err = ccall((:PCEisenstatSetOmega,petscComplexDouble),PetscErrorCode,(PC{Complex128},Float64),arg1,arg2) - return err -end - -function PCEisenstatGetOmega(arg1::PC{Complex128},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PCEisenstatGetOmega,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Float64}),arg1,arg2) - return err -end - -function PCEisenstatSetNoDiagonalScaling(arg1::PC{Complex128},arg2::PetscBool) - err = ccall((:PCEisenstatSetNoDiagonalScaling,petscComplexDouble),PetscErrorCode,(PC{Complex128},PetscBool),arg1,arg2) - return err -end - -function PCEisenstatGetNoDiagonalScaling(arg1::PC{Complex128},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCEisenstatGetNoDiagonalScaling,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCBJacobiSetTotalBlocks(arg1::PC{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PCBJacobiSetTotalBlocks,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PCBJacobiGetTotalBlocks(arg1::PC{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PCBJacobiGetTotalBlocks,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3) - return err -end - -function PCBJacobiSetLocalBlocks(arg1::PC{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PCBJacobiSetLocalBlocks,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PCBJacobiGetLocalBlocks(arg1::PC{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PCBJacobiGetLocalBlocks,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3) - return err -end - -function PCShellSetApply(arg1::PC{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCShellSetApply,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Void}),arg1,arg2) - return err -end - -function PCShellSetApplyBA(arg1::PC{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCShellSetApplyBA,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Void}),arg1,arg2) - return err -end - -function PCShellSetApplyTranspose(arg1::PC{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCShellSetApplyTranspose,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Void}),arg1,arg2) - return err -end - -function PCShellSetSetUp(arg1::PC{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCShellSetSetUp,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Void}),arg1,arg2) - return err -end - -function PCShellSetApplyRichardson(arg1::PC{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCShellSetApplyRichardson,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Void}),arg1,arg2) - return err -end - -function PCShellSetView(arg1::PC{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCShellSetView,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Void}),arg1,arg2) - return err -end - -function PCShellSetDestroy(arg1::PC{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCShellSetDestroy,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Void}),arg1,arg2) - return err -end - -function PCShellSetContext(arg1::PC{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCShellSetContext,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Void}),arg1,arg2) - return err -end - -function PCShellGetContext(arg1::PC{Complex128},arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:PCShellGetContext,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Ptr{Void}}),arg1,arg2) - return err -end - -function PCShellSetName(arg1::PC{Complex128},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PCShellSetName,petscComplexDouble),PetscErrorCode,(PC{Complex128},Cstring),arg1,arg2) - return err -end - -function PCShellGetName(arg1::PC{Complex128},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PCShellGetName,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PCFactorSetZeroPivot(arg1::PC{Complex128},arg2::Float64) - err = ccall((:PCFactorSetZeroPivot,petscComplexDouble),PetscErrorCode,(PC{Complex128},Float64),arg1,arg2) - return err -end - -function PCFactorSetShiftType(arg1::PC{Complex128},arg2::MatFactorShiftType) - err = ccall((:PCFactorSetShiftType,petscComplexDouble),PetscErrorCode,(PC{Complex128},MatFactorShiftType),arg1,arg2) - return err -end - -function PCFactorSetShiftAmount(arg1::PC{Complex128},arg2::Float64) - err = ccall((:PCFactorSetShiftAmount,petscComplexDouble),PetscErrorCode,(PC{Complex128},Float64),arg1,arg2) - return err -end - -function PCFactorSetMatSolverPackage(arg1::PC{Complex128},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PCFactorSetMatSolverPackage,petscComplexDouble),PetscErrorCode,(PC{Complex128},Cstring),arg1,arg2) - return err -end - -function PCFactorGetMatSolverPackage(arg1::PC{Complex128},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PCFactorGetMatSolverPackage,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PCFactorSetUpMatSolverPackage(arg1::PC{Complex128}) - err = ccall((:PCFactorSetUpMatSolverPackage,petscComplexDouble),PetscErrorCode,(PC{Complex128},),arg1) - return err -end - -function PCFactorSetFill(arg1::PC{Complex128},arg2::Float64) - err = ccall((:PCFactorSetFill,petscComplexDouble),PetscErrorCode,(PC{Complex128},Float64),arg1,arg2) - return err -end - -function PCFactorSetColumnPivot(arg1::PC{Complex128},arg2::Float64) - err = ccall((:PCFactorSetColumnPivot,petscComplexDouble),PetscErrorCode,(PC{Complex128},Float64),arg1,arg2) - return err -end - -function PCFactorReorderForNonzeroDiagonal(arg1::PC{Complex128},arg2::Float64) - err = ccall((:PCFactorReorderForNonzeroDiagonal,petscComplexDouble),PetscErrorCode,(PC{Complex128},Float64),arg1,arg2) - return err -end - -function PCFactorSetMatOrderingType(arg1::PC{Complex128},arg2::MatOrderingType) - err = ccall((:PCFactorSetMatOrderingType,petscComplexDouble),PetscErrorCode,(PC{Complex128},Cstring),arg1,arg2) - return err -end - -function PCFactorSetReuseOrdering(arg1::PC{Complex128},arg2::PetscBool) - err = ccall((:PCFactorSetReuseOrdering,petscComplexDouble),PetscErrorCode,(PC{Complex128},PetscBool),arg1,arg2) - return err -end - -function PCFactorSetReuseFill(arg1::PC{Complex128},arg2::PetscBool) - err = ccall((:PCFactorSetReuseFill,petscComplexDouble),PetscErrorCode,(PC{Complex128},PetscBool),arg1,arg2) - return err -end - -function PCFactorSetUseInPlace(arg1::PC{Complex128},arg2::PetscBool) - err = ccall((:PCFactorSetUseInPlace,petscComplexDouble),PetscErrorCode,(PC{Complex128},PetscBool),arg1,arg2) - return err -end - -function PCFactorGetUseInPlace(arg1::PC{Complex128},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCFactorGetUseInPlace,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCFactorSetAllowDiagonalFill(arg1::PC{Complex128},arg2::PetscBool) - err = ccall((:PCFactorSetAllowDiagonalFill,petscComplexDouble),PetscErrorCode,(PC{Complex128},PetscBool),arg1,arg2) - return err -end - -function PCFactorGetAllowDiagonalFill(arg1::PC{Complex128},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCFactorGetAllowDiagonalFill,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCFactorSetPivotInBlocks(arg1::PC{Complex128},arg2::PetscBool) - err = ccall((:PCFactorSetPivotInBlocks,petscComplexDouble),PetscErrorCode,(PC{Complex128},PetscBool),arg1,arg2) - return err -end - -function PCFactorSetLevels(arg1::PC{Complex128},arg2::Integer) - err = ccall((:PCFactorSetLevels,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64),arg1,arg2) - return err -end - -function PCFactorGetLevels(arg1::PC{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PCFactorGetLevels,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Int64}),arg1,arg2) - return err -end - -function PCFactorSetDropTolerance(arg1::PC{Complex128},arg2::Float64,arg3::Float64,arg4::Integer) - err = ccall((:PCFactorSetDropTolerance,petscComplexDouble),PetscErrorCode,(PC{Complex128},Float64,Float64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function PCASMSetLocalSubdomains(arg1::PC{Complex128},arg2::Integer,arg3::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}},arg4::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:PCASMSetLocalSubdomains,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64,Ptr{IS{Complex128}},Ptr{IS{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function PCASMSetTotalSubdomains(arg1::PC{Complex128},arg2::Integer,arg3::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}},arg4::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:PCASMSetTotalSubdomains,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64,Ptr{IS{Complex128}},Ptr{IS{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function PCASMSetOverlap(arg1::PC{Complex128},arg2::Integer) - err = ccall((:PCASMSetOverlap,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64),arg1,arg2) - return err -end - -function PCASMSetDMSubdomains(arg1::PC{Complex128},arg2::PetscBool) - err = ccall((:PCASMSetDMSubdomains,petscComplexDouble),PetscErrorCode,(PC{Complex128},PetscBool),arg1,arg2) - return err -end - -function PCASMGetDMSubdomains(arg1::PC{Complex128},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCASMGetDMSubdomains,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCASMSetSortIndices(arg1::PC{Complex128},arg2::PetscBool) - err = ccall((:PCASMSetSortIndices,petscComplexDouble),PetscErrorCode,(PC{Complex128},PetscBool),arg1,arg2) - return err -end - -function PCASMSetType(arg1::PC{Complex128},arg2::PCASMType) - err = ccall((:PCASMSetType,petscComplexDouble),PetscErrorCode,(PC{Complex128},PCASMType),arg1,arg2) - return err -end - -function PCASMGetType(arg1::PC{Complex128},arg2::Union{Ptr{PCASMType},StridedArray{PCASMType},Ptr{PCASMType},Ref{PCASMType}}) - err = ccall((:PCASMGetType,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{PCASMType}),arg1,arg2) - return err -end - -function PCASMSetLocalType(arg1::PC{Complex128},arg2::PCCompositeType) - err = ccall((:PCASMSetLocalType,petscComplexDouble),PetscErrorCode,(PC{Complex128},PCCompositeType),arg1,arg2) - return err -end - -function PCASMGetLocalType(arg1::PC{Complex128},arg2::Union{Ptr{PCCompositeType},StridedArray{PCCompositeType},Ptr{PCCompositeType},Ref{PCCompositeType}}) - err = ccall((:PCASMGetLocalType,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{PCCompositeType}),arg1,arg2) - return err -end - -function PCASMCreateSubdomains(arg1::Mat{Complex128},arg2::Integer,arg3::Union{Ptr{Ptr{IS{Complex128}}},StridedArray{Ptr{IS{Complex128}}},Ptr{Ptr{IS{Complex128}}},Ref{Ptr{IS{Complex128}}}}) - err = ccall((:PCASMCreateSubdomains,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Ptr{Ptr{IS{Complex128}}}),arg1,arg2,arg3) - return err -end - -function PCASMDestroySubdomains(arg1::Integer,arg2::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}},arg3::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:PCASMDestroySubdomains,petscComplexDouble),PetscErrorCode,(Int64,Ptr{IS{Complex128}},Ptr{IS{Complex128}}),arg1,arg2,arg3) - return err -end - -function PCASMCreateSubdomains2D(arg1::Integer,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{Ptr{IS{Complex128}}},StridedArray{Ptr{IS{Complex128}}},Ptr{Ptr{IS{Complex128}}},Ref{Ptr{IS{Complex128}}}},arg9::Union{Ptr{Ptr{IS{Complex128}}},StridedArray{Ptr{IS{Complex128}}},Ptr{Ptr{IS{Complex128}}},Ref{Ptr{IS{Complex128}}}}) - err = ccall((:PCASMCreateSubdomains2D,petscComplexDouble),PetscErrorCode,(Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Ptr{IS{Complex128}}},Ptr{Ptr{IS{Complex128}}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) - return err -end - -function PCASMGetLocalSubdomains(arg1::PC{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{IS{Complex128}}},StridedArray{Ptr{IS{Complex128}}},Ptr{Ptr{IS{Complex128}}},Ref{Ptr{IS{Complex128}}}},arg4::Union{Ptr{Ptr{IS{Complex128}}},StridedArray{Ptr{IS{Complex128}}},Ptr{Ptr{IS{Complex128}}},Ref{Ptr{IS{Complex128}}}}) - err = ccall((:PCASMGetLocalSubdomains,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Int64},Ptr{Ptr{IS{Complex128}}},Ptr{Ptr{IS{Complex128}}}),arg1,arg2,arg3,arg4) - return err -end - -function PCASMGetLocalSubmatrices(arg1::PC{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Mat{Complex128}}},StridedArray{Ptr{Mat{Complex128}}},Ptr{Ptr{Mat{Complex128}}},Ref{Ptr{Mat{Complex128}}}}) - err = ccall((:PCASMGetLocalSubmatrices,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Int64},Ptr{Ptr{Mat{Complex128}}}),arg1,arg2,arg3) - return err -end - -function PCGASMSetTotalSubdomains(arg1::PC{Complex128},arg2::Integer) - err = ccall((:PCGASMSetTotalSubdomains,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64),arg1,arg2) - return err -end - -function PCGASMSetSubdomains(arg1::PC{Complex128},arg2::Integer,arg3::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}},arg4::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:PCGASMSetSubdomains,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64,Ptr{IS{Complex128}},Ptr{IS{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function PCGASMSetOverlap(arg1::PC{Complex128},arg2::Integer) - err = ccall((:PCGASMSetOverlap,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64),arg1,arg2) - return err -end - -function PCGASMSetUseDMSubdomains(arg1::PC{Complex128},arg2::PetscBool) - err = ccall((:PCGASMSetUseDMSubdomains,petscComplexDouble),PetscErrorCode,(PC{Complex128},PetscBool),arg1,arg2) - return err -end - -function PCGASMGetUseDMSubdomains(arg1::PC{Complex128},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCGASMGetUseDMSubdomains,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCGASMSetSortIndices(arg1::PC{Complex128},arg2::PetscBool) - err = ccall((:PCGASMSetSortIndices,petscComplexDouble),PetscErrorCode,(PC{Complex128},PetscBool),arg1,arg2) - return err -end - -function PCGASMSetType(arg1::PC{Complex128},arg2::PCGASMType) - err = ccall((:PCGASMSetType,petscComplexDouble),PetscErrorCode,(PC{Complex128},PCGASMType),arg1,arg2) - return err -end - -function PCGASMCreateSubdomains(arg1::Mat{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{IS{Complex128}}},StridedArray{Ptr{IS{Complex128}}},Ptr{Ptr{IS{Complex128}}},Ref{Ptr{IS{Complex128}}}}) - err = ccall((:PCGASMCreateSubdomains,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Int64,Ptr{Int64},Ptr{Ptr{IS{Complex128}}}),arg1,arg2,arg3,arg4) - return err -end - -function PCGASMDestroySubdomains(arg1::Integer,arg2::Union{Ptr{Ptr{IS{Complex128}}},StridedArray{Ptr{IS{Complex128}}},Ptr{Ptr{IS{Complex128}}},Ref{Ptr{IS{Complex128}}}},arg3::Union{Ptr{Ptr{IS{Complex128}}},StridedArray{Ptr{IS{Complex128}}},Ptr{Ptr{IS{Complex128}}},Ref{Ptr{IS{Complex128}}}}) - err = ccall((:PCGASMDestroySubdomains,petscComplexDouble),PetscErrorCode,(Int64,Ptr{Ptr{IS{Complex128}}},Ptr{Ptr{IS{Complex128}}}),arg1,arg2,arg3) - return err -end - -function PCGASMCreateSubdomains2D(arg1::PC{Complex128},arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg9::Union{Ptr{Ptr{IS{Complex128}}},StridedArray{Ptr{IS{Complex128}}},Ptr{Ptr{IS{Complex128}}},Ref{Ptr{IS{Complex128}}}},arg10::Union{Ptr{Ptr{IS{Complex128}}},StridedArray{Ptr{IS{Complex128}}},Ptr{Ptr{IS{Complex128}}},Ref{Ptr{IS{Complex128}}}}) - err = ccall((:PCGASMCreateSubdomains2D,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Ptr{IS{Complex128}}},Ptr{Ptr{IS{Complex128}}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -function PCGASMGetSubdomains(arg1::PC{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{IS{Complex128}}},StridedArray{Ptr{IS{Complex128}}},Ptr{Ptr{IS{Complex128}}},Ref{Ptr{IS{Complex128}}}},arg4::Union{Ptr{Ptr{IS{Complex128}}},StridedArray{Ptr{IS{Complex128}}},Ptr{Ptr{IS{Complex128}}},Ref{Ptr{IS{Complex128}}}}) - err = ccall((:PCGASMGetSubdomains,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Int64},Ptr{Ptr{IS{Complex128}}},Ptr{Ptr{IS{Complex128}}}),arg1,arg2,arg3,arg4) - return err -end - -function PCGASMGetSubmatrices(arg1::PC{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Mat{Complex128}}},StridedArray{Ptr{Mat{Complex128}}},Ptr{Ptr{Mat{Complex128}}},Ref{Ptr{Mat{Complex128}}}}) - err = ccall((:PCGASMGetSubmatrices,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Int64},Ptr{Ptr{Mat{Complex128}}}),arg1,arg2,arg3) - return err -end - -function PCCompositeSetType(arg1::PC{Complex128},arg2::PCCompositeType) - err = ccall((:PCCompositeSetType,petscComplexDouble),PetscErrorCode,(PC{Complex128},PCCompositeType),arg1,arg2) - return err -end - -function PCCompositeGetType(arg1::PC{Complex128},arg2::Union{Ptr{PCCompositeType},StridedArray{PCCompositeType},Ptr{PCCompositeType},Ref{PCCompositeType}}) - err = ccall((:PCCompositeGetType,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{PCCompositeType}),arg1,arg2) - return err -end - -function PCCompositeAddPC(arg1::PC{Complex128},arg2::PCType) - err = ccall((:PCCompositeAddPC,petscComplexDouble),PetscErrorCode,(PC{Complex128},Cstring),arg1,arg2) - return err -end - -function PCCompositeGetPC(arg1::PC{Complex128},arg2::Integer,arg3::Union{Ptr{PC{Complex128}},StridedArray{PC{Complex128}},Ptr{PC{Complex128}},Ref{PC{Complex128}}}) - err = ccall((:PCCompositeGetPC,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64,Ptr{PC{Complex128}}),arg1,arg2,arg3) - return err -end - -function PCCompositeSpecialSetAlpha(arg1::PC{Complex128},arg2::Complex128) - err = ccall((:PCCompositeSpecialSetAlpha,petscComplexDouble),PetscErrorCode,(PC{Complex128},Complex128),arg1,arg2) - return err -end - -function PCRedundantSetNumber(arg1::PC{Complex128},arg2::Integer) - err = ccall((:PCRedundantSetNumber,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64),arg1,arg2) - return err -end - -function PCRedundantSetScatter(arg1::PC{Complex128},arg2::VecScatter{Complex128},arg3::VecScatter{Complex128}) - err = ccall((:PCRedundantSetScatter,petscComplexDouble),PetscErrorCode,(PC{Complex128},VecScatter{Complex128},VecScatter{Complex128}),arg1,arg2,arg3) - return err -end - -function PCRedundantGetOperators(arg1::PC{Complex128},arg2::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}},arg3::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:PCRedundantGetOperators,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Mat{Complex128}},Ptr{Mat{Complex128}}),arg1,arg2,arg3) - return err -end - -function PCSPAISetEpsilon(arg1::PC{Complex128},arg2::Cdouble) - err = ccall((:PCSPAISetEpsilon,petscComplexDouble),PetscErrorCode,(PC{Complex128},Cdouble),arg1,arg2) - return err -end - -function PCSPAISetNBSteps(arg1::PC{Complex128},arg2::Integer) - err = ccall((:PCSPAISetNBSteps,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64),arg1,arg2) - return err -end - -function PCSPAISetMax(arg1::PC{Complex128},arg2::Integer) - err = ccall((:PCSPAISetMax,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64),arg1,arg2) - return err -end - -function PCSPAISetMaxNew(arg1::PC{Complex128},arg2::Integer) - err = ccall((:PCSPAISetMaxNew,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64),arg1,arg2) - return err -end - -function PCSPAISetBlockSize(arg1::PC{Complex128},arg2::Integer) - err = ccall((:PCSPAISetBlockSize,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64),arg1,arg2) - return err -end - -function PCSPAISetCacheSize(arg1::PC{Complex128},arg2::Integer) - err = ccall((:PCSPAISetCacheSize,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64),arg1,arg2) - return err -end - -function PCSPAISetVerbose(arg1::PC{Complex128},arg2::Integer) - err = ccall((:PCSPAISetVerbose,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64),arg1,arg2) - return err -end - -function PCSPAISetSp(arg1::PC{Complex128},arg2::Integer) - err = ccall((:PCSPAISetSp,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64),arg1,arg2) - return err -end - -function PCHYPRESetType(arg1::PC{Complex128},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PCHYPRESetType,petscComplexDouble),PetscErrorCode,(PC{Complex128},Cstring),arg1,arg2) - return err -end - -function PCHYPREGetType(arg1::PC{Complex128},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PCHYPREGetType,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PCHYPRESetDiscreteGradient(arg1::PC{Complex128},arg2::Mat{Complex128}) - err = ccall((:PCHYPRESetDiscreteGradient,petscComplexDouble),PetscErrorCode,(PC{Complex128},Mat{Complex128}),arg1,arg2) - return err -end - -function PCHYPRESetDiscreteCurl(arg1::PC{Complex128},arg2::Mat{Complex128}) - err = ccall((:PCHYPRESetDiscreteCurl,petscComplexDouble),PetscErrorCode,(PC{Complex128},Mat{Complex128}),arg1,arg2) - return err -end - -function PCHYPRESetEdgeConstantVectors(arg1::PC{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128},arg4::Vec{Complex128}) - err = ccall((:PCHYPRESetEdgeConstantVectors,petscComplexDouble),PetscErrorCode,(PC{Complex128},Vec{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function PCHYPRESetAlphaPoissonMatrix(arg1::PC{Complex128},arg2::Mat{Complex128}) - err = ccall((:PCHYPRESetAlphaPoissonMatrix,petscComplexDouble),PetscErrorCode,(PC{Complex128},Mat{Complex128}),arg1,arg2) - return err -end - -function PCHYPRESetBetaPoissonMatrix(arg1::PC{Complex128},arg2::Mat{Complex128}) - err = ccall((:PCHYPRESetBetaPoissonMatrix,petscComplexDouble),PetscErrorCode,(PC{Complex128},Mat{Complex128}),arg1,arg2) - return err -end - -function PCBJacobiGetLocalBlocks(arg1::PC{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PCBJacobiGetLocalBlocks,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3) - return err -end - -function PCBJacobiGetTotalBlocks(arg1::PC{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PCBJacobiGetTotalBlocks,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3) - return err -end - -function PCFieldSplitSetFields(arg1::PC{Complex128},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PCFieldSplitSetFields,petscComplexDouble),PetscErrorCode,(PC{Complex128},Cstring,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PCFieldSplitSetType(arg1::PC{Complex128},arg2::PCCompositeType) - err = ccall((:PCFieldSplitSetType,petscComplexDouble),PetscErrorCode,(PC{Complex128},PCCompositeType),arg1,arg2) - return err -end - -function PCFieldSplitGetType(arg1::PC{Complex128},arg2::Union{Ptr{PCCompositeType},StridedArray{PCCompositeType},Ptr{PCCompositeType},Ref{PCCompositeType}}) - err = ccall((:PCFieldSplitGetType,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{PCCompositeType}),arg1,arg2) - return err -end - -function PCFieldSplitSetBlockSize(arg1::PC{Complex128},arg2::Integer) - err = ccall((:PCFieldSplitSetBlockSize,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64),arg1,arg2) - return err -end - -function PCFieldSplitSetIS(arg1::PC{Complex128},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::IS{Complex128}) - err = ccall((:PCFieldSplitSetIS,petscComplexDouble),PetscErrorCode,(PC{Complex128},Cstring,IS{Complex128}),arg1,arg2,arg3) - return err -end - -function PCFieldSplitGetIS(arg1::PC{Complex128},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:PCFieldSplitGetIS,petscComplexDouble),PetscErrorCode,(PC{Complex128},Cstring,Ptr{IS{Complex128}}),arg1,arg2,arg3) - return err -end - -function PCFieldSplitSetDMSplits(arg1::PC{Complex128},arg2::PetscBool) - err = ccall((:PCFieldSplitSetDMSplits,petscComplexDouble),PetscErrorCode,(PC{Complex128},PetscBool),arg1,arg2) - return err -end - -function PCFieldSplitGetDMSplits(arg1::PC{Complex128},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCFieldSplitGetDMSplits,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCFieldSplitSetDiagUseAmat(arg1::PC{Complex128},arg2::PetscBool) - err = ccall((:PCFieldSplitSetDiagUseAmat,petscComplexDouble),PetscErrorCode,(PC{Complex128},PetscBool),arg1,arg2) - return err -end - -function PCFieldSplitGetDiagUseAmat(arg1::PC{Complex128},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCFieldSplitGetDiagUseAmat,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCFieldSplitSetOffDiagUseAmat(arg1::PC{Complex128},arg2::PetscBool) - err = ccall((:PCFieldSplitSetOffDiagUseAmat,petscComplexDouble),PetscErrorCode,(PC{Complex128},PetscBool),arg1,arg2) - return err -end - -function PCFieldSplitGetOffDiagUseAmat(arg1::PC{Complex128},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCFieldSplitGetOffDiagUseAmat,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCFieldSplitSchurPrecondition(arg1::PC{Complex128},arg2::PCFieldSplitSchurPreType,arg3::Mat{Complex128}) - err = ccall((:PCFieldSplitSchurPrecondition,petscComplexDouble),PetscErrorCode,(PC{Complex128},PCFieldSplitSchurPreType,Mat{Complex128}),arg1,arg2,arg3) - return err -end - -function PCFieldSplitSetSchurPre(arg1::PC{Complex128},arg2::PCFieldSplitSchurPreType,arg3::Mat{Complex128}) - err = ccall((:PCFieldSplitSetSchurPre,petscComplexDouble),PetscErrorCode,(PC{Complex128},PCFieldSplitSchurPreType,Mat{Complex128}),arg1,arg2,arg3) - return err -end - -function PCFieldSplitGetSchurPre(arg1::PC{Complex128},arg2::Union{Ptr{PCFieldSplitSchurPreType},StridedArray{PCFieldSplitSchurPreType},Ptr{PCFieldSplitSchurPreType},Ref{PCFieldSplitSchurPreType}},arg3::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:PCFieldSplitGetSchurPre,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{PCFieldSplitSchurPreType},Ptr{Mat{Complex128}}),arg1,arg2,arg3) - return err -end - -function PCFieldSplitSetSchurFactType(arg1::PC{Complex128},arg2::PCFieldSplitSchurFactType) - err = ccall((:PCFieldSplitSetSchurFactType,petscComplexDouble),PetscErrorCode,(PC{Complex128},PCFieldSplitSchurFactType),arg1,arg2) - return err -end - -function PCFieldSplitGetSchurBlocks(arg1::PC{Complex128},arg2::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}},arg3::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}},arg4::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}},arg5::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:PCFieldSplitGetSchurBlocks,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Mat{Complex128}},Ptr{Mat{Complex128}},Ptr{Mat{Complex128}},Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PCFieldSplitSchurGetS(arg1::PC{Complex128},S::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:PCFieldSplitSchurGetS,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Mat{Complex128}}),arg1,S) - return err -end - -function PCFieldSplitSchurRestoreS(arg1::PC{Complex128},S::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:PCFieldSplitSchurRestoreS,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Mat{Complex128}}),arg1,S) - return err -end - -function PCGalerkinSetRestriction(arg1::PC{Complex128},arg2::Mat{Complex128}) - err = ccall((:PCGalerkinSetRestriction,petscComplexDouble),PetscErrorCode,(PC{Complex128},Mat{Complex128}),arg1,arg2) - return err -end - -function PCGalerkinSetInterpolation(arg1::PC{Complex128},arg2::Mat{Complex128}) - err = ccall((:PCGalerkinSetInterpolation,petscComplexDouble),PetscErrorCode,(PC{Complex128},Mat{Complex128}),arg1,arg2) - return err -end - -function PCSetCoordinates(arg1::PC{Complex128},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PCSetCoordinates,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64,Int64,Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function PCPythonSetType(arg1::PC{Complex128},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PCPythonSetType,petscComplexDouble),PetscErrorCode,(PC{Complex128},Cstring),arg1,arg2) - return err -end - -function PCSetDM(arg1::PC{Complex128},arg2::DM) - err = ccall((:PCSetDM,petscComplexDouble),PetscErrorCode,(PC{Complex128},DM),arg1,arg2) - return err -end - -function PCGetDM(arg1::PC{Complex128},arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:PCGetDM,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{DM}),arg1,arg2) - return err -end - -function PCSetApplicationContext(arg1::PC{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCSetApplicationContext,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Void}),arg1,arg2) - return err -end - -function PCGetApplicationContext(arg1::PC{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCGetApplicationContext,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Void}),arg1,arg2) - return err -end - -function PCBiCGStabCUSPSetTolerance(arg1::PC{Complex128},arg2::Float64) - err = ccall((:PCBiCGStabCUSPSetTolerance,petscComplexDouble),PetscErrorCode,(PC{Complex128},Float64),arg1,arg2) - return err -end - -function PCBiCGStabCUSPSetIterations(arg1::PC{Complex128},arg2::Integer) - err = ccall((:PCBiCGStabCUSPSetIterations,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64),arg1,arg2) - return err -end - -function PCBiCGStabCUSPSetUseVerboseMonitor(arg1::PC{Complex128},arg2::PetscBool) - err = ccall((:PCBiCGStabCUSPSetUseVerboseMonitor,petscComplexDouble),PetscErrorCode,(PC{Complex128},PetscBool),arg1,arg2) - return err -end - -function PCAINVCUSPSetDropTolerance(arg1::PC{Complex128},arg2::Float64) - err = ccall((:PCAINVCUSPSetDropTolerance,petscComplexDouble),PetscErrorCode,(PC{Complex128},Float64),arg1,arg2) - return err -end - -function PCAINVCUSPUseScaling(arg1::PC{Complex128},arg2::PetscBool) - err = ccall((:PCAINVCUSPUseScaling,petscComplexDouble),PetscErrorCode,(PC{Complex128},PetscBool),arg1,arg2) - return err -end - -function PCAINVCUSPSetNonzeros(arg1::PC{Complex128},arg2::Integer) - err = ccall((:PCAINVCUSPSetNonzeros,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64),arg1,arg2) - return err -end - -function PCAINVCUSPSetLinParameter(arg1::PC{Complex128},arg2::Integer) - err = ccall((:PCAINVCUSPSetLinParameter,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64),arg1,arg2) - return err -end - -function PCPARMSSetGlobal(arg1::PC{Complex128},arg2::PCPARMSGlobalType) - err = ccall((:PCPARMSSetGlobal,petscComplexDouble),PetscErrorCode,(PC{Complex128},PCPARMSGlobalType),arg1,arg2) - return err -end - -function PCPARMSSetLocal(arg1::PC{Complex128},arg2::PCPARMSLocalType) - err = ccall((:PCPARMSSetLocal,petscComplexDouble),PetscErrorCode,(PC{Complex128},PCPARMSLocalType),arg1,arg2) - return err -end - -function PCPARMSSetSolveTolerances(arg1::PC{Complex128},arg2::Float64,arg3::Integer) - err = ccall((:PCPARMSSetSolveTolerances,petscComplexDouble),PetscErrorCode,(PC{Complex128},Float64,Int64),arg1,arg2,arg3) - return err -end - -function PCPARMSSetSolveRestart(arg1::PC{Complex128},arg2::Integer) - err = ccall((:PCPARMSSetSolveRestart,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64),arg1,arg2) - return err -end - -function PCPARMSSetNonsymPerm(arg1::PC{Complex128},arg2::PetscBool) - err = ccall((:PCPARMSSetNonsymPerm,petscComplexDouble),PetscErrorCode,(PC{Complex128},PetscBool),arg1,arg2) - return err -end - -function PCPARMSSetFill(arg1::PC{Complex128},arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:PCPARMSSetFill,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function PCGAMGSetType(arg1::PC{Complex128},arg2::PCGAMGType) - err = ccall((:PCGAMGSetType,petscComplexDouble),PetscErrorCode,(PC{Complex128},Cstring),arg1,arg2) - return err -end - -function PCGAMGGetType(arg1::PC{Complex128},arg2::Union{Ptr{PCGAMGType},StridedArray{PCGAMGType},Ptr{PCGAMGType},Ref{PCGAMGType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:PCGAMGGetType,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function PCGAMGSetProcEqLim(arg1::PC{Complex128},arg2::Integer) - err = ccall((:PCGAMGSetProcEqLim,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64),arg1,arg2) - return err -end - -function PCGAMGSetRepartitioning(arg1::PC{Complex128},arg2::PetscBool) - err = ccall((:PCGAMGSetRepartitioning,petscComplexDouble),PetscErrorCode,(PC{Complex128},PetscBool),arg1,arg2) - return err -end - -function PCGAMGSetUseASMAggs(arg1::PC{Complex128},arg2::PetscBool) - err = ccall((:PCGAMGSetUseASMAggs,petscComplexDouble),PetscErrorCode,(PC{Complex128},PetscBool),arg1,arg2) - return err -end - -function PCGAMGSetSolverType(arg1::PC{Complex128},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer) - err = ccall((:PCGAMGSetSolverType,petscComplexDouble),PetscErrorCode,(PC{Complex128},Cstring,Int64),arg1,arg2,arg3) - return err -end - -function PCGAMGSetThreshold(arg1::PC{Complex128},arg2::Float64) - err = ccall((:PCGAMGSetThreshold,petscComplexDouble),PetscErrorCode,(PC{Complex128},Float64),arg1,arg2) - return err -end - -function PCGAMGSetCoarseEqLim(arg1::PC{Complex128},arg2::Integer) - err = ccall((:PCGAMGSetCoarseEqLim,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64),arg1,arg2) - return err -end - -function PCGAMGSetNlevels(arg1::PC{Complex128},arg2::Integer) - err = ccall((:PCGAMGSetNlevels,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64),arg1,arg2) - return err -end - -function PCGAMGSetNSmooths(arg1::PC{Complex128},arg2::Integer) - err = ccall((:PCGAMGSetNSmooths,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64),arg1,arg2) - return err -end - -function PCGAMGSetSymGraph(arg1::PC{Complex128},arg2::PetscBool) - err = ccall((:PCGAMGSetSymGraph,petscComplexDouble),PetscErrorCode,(PC{Complex128},PetscBool),arg1,arg2) - return err -end - -function PCGAMGSetSquareGraph(arg1::PC{Complex128},arg2::Integer) - err = ccall((:PCGAMGSetSquareGraph,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64),arg1,arg2) - return err -end - -function PCGAMGSetReuseInterpolation(arg1::PC{Complex128},arg2::PetscBool) - err = ccall((:PCGAMGSetReuseInterpolation,petscComplexDouble),PetscErrorCode,(PC{Complex128},PetscBool),arg1,arg2) - return err -end - -function PCGAMGFinalizePackage(arg0::Type{Complex128}) - err = ccall((:PCGAMGFinalizePackage,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PCGAMGInitializePackage(arg0::Type{Complex128}) - err = ccall((:PCGAMGInitializePackage,petscComplexDouble),PetscErrorCode,()) - return err -end - -function PCGAMGRegister(arg0::Type{Complex128},arg1::PCGAMGType,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCGAMGRegister,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function PCGAMGClassicalSetType(arg1::PC{Complex128},arg2::PCGAMGClassicalType) - err = ccall((:PCGAMGClassicalSetType,petscComplexDouble),PetscErrorCode,(PC{Complex128},Cstring),arg1,arg2) - return err -end - -function PCGAMGClassicalGetType(arg1::PC{Complex128},arg2::Union{Ptr{PCGAMGClassicalType},StridedArray{PCGAMGClassicalType},Ptr{PCGAMGClassicalType},Ref{PCGAMGClassicalType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:PCGAMGClassicalGetType,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function PCBDDCSetChangeOfBasisMat(arg1::PC{Complex128},arg2::Mat{Complex128}) - err = ccall((:PCBDDCSetChangeOfBasisMat,petscComplexDouble),PetscErrorCode,(PC{Complex128},Mat{Complex128}),arg1,arg2) - return err -end - -function PCBDDCSetPrimalVerticesLocalIS(arg1::PC{Complex128},arg2::IS{Complex128}) - err = ccall((:PCBDDCSetPrimalVerticesLocalIS,petscComplexDouble),PetscErrorCode,(PC{Complex128},IS{Complex128}),arg1,arg2) - return err -end - -function PCBDDCSetCoarseningRatio(arg1::PC{Complex128},arg2::Integer) - err = ccall((:PCBDDCSetCoarseningRatio,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64),arg1,arg2) - return err -end - -function PCBDDCSetLevels(arg1::PC{Complex128},arg2::Integer) - err = ccall((:PCBDDCSetLevels,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64),arg1,arg2) - return err -end - -function PCBDDCSetNullSpace(arg1::PC{Complex128},arg2::MatNullSpace) - err = ccall((:PCBDDCSetNullSpace,petscComplexDouble),PetscErrorCode,(PC{Complex128},MatNullSpace),arg1,arg2) - return err -end - -function PCBDDCSetDirichletBoundaries(arg1::PC{Complex128},arg2::IS{Complex128}) - err = ccall((:PCBDDCSetDirichletBoundaries,petscComplexDouble),PetscErrorCode,(PC{Complex128},IS{Complex128}),arg1,arg2) - return err -end - -function PCBDDCSetDirichletBoundariesLocal(arg1::PC{Complex128},arg2::IS{Complex128}) - err = ccall((:PCBDDCSetDirichletBoundariesLocal,petscComplexDouble),PetscErrorCode,(PC{Complex128},IS{Complex128}),arg1,arg2) - return err -end - -function PCBDDCGetDirichletBoundaries(arg1::PC{Complex128},arg2::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:PCBDDCGetDirichletBoundaries,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{IS{Complex128}}),arg1,arg2) - return err -end - -function PCBDDCGetDirichletBoundariesLocal(arg1::PC{Complex128},arg2::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:PCBDDCGetDirichletBoundariesLocal,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{IS{Complex128}}),arg1,arg2) - return err -end - -function PCBDDCSetNeumannBoundaries(arg1::PC{Complex128},arg2::IS{Complex128}) - err = ccall((:PCBDDCSetNeumannBoundaries,petscComplexDouble),PetscErrorCode,(PC{Complex128},IS{Complex128}),arg1,arg2) - return err -end - -function PCBDDCSetNeumannBoundariesLocal(arg1::PC{Complex128},arg2::IS{Complex128}) - err = ccall((:PCBDDCSetNeumannBoundariesLocal,petscComplexDouble),PetscErrorCode,(PC{Complex128},IS{Complex128}),arg1,arg2) - return err -end - -function PCBDDCGetNeumannBoundaries(arg1::PC{Complex128},arg2::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:PCBDDCGetNeumannBoundaries,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{IS{Complex128}}),arg1,arg2) - return err -end - -function PCBDDCGetNeumannBoundariesLocal(arg1::PC{Complex128},arg2::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:PCBDDCGetNeumannBoundariesLocal,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{IS{Complex128}}),arg1,arg2) - return err -end - -function PCBDDCSetDofsSplitting(arg1::PC{Complex128},arg2::Integer,arg3::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:PCBDDCSetDofsSplitting,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64,Ptr{IS{Complex128}}),arg1,arg2,arg3) - return err -end - -function PCBDDCSetDofsSplittingLocal(arg1::PC{Complex128},arg2::Integer,arg3::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:PCBDDCSetDofsSplittingLocal,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64,Ptr{IS{Complex128}}),arg1,arg2,arg3) - return err -end - -function PCBDDCSetLocalAdjacencyGraph(arg1::PC{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::PetscCopyMode) - err = ccall((:PCBDDCSetLocalAdjacencyGraph,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64,Ptr{Int64},Ptr{Int64},PetscCopyMode),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PCBDDCCreateFETIDPOperators(arg1::PC{Complex128},arg2::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}},arg3::Union{Ptr{PC{Complex128}},StridedArray{PC{Complex128}},Ptr{PC{Complex128}},Ref{PC{Complex128}}}) - err = ccall((:PCBDDCCreateFETIDPOperators,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Mat{Complex128}},Ptr{PC{Complex128}}),arg1,arg2,arg3) - return err -end - -function PCBDDCMatFETIDPGetRHS(arg1::Mat{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:PCBDDCMatFETIDPGetRHS,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function PCBDDCMatFETIDPGetSolution(arg1::Mat{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:PCBDDCMatFETIDPGetSolution,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function PCISSetUseStiffnessScaling(arg1::PC{Complex128},arg2::PetscBool) - err = ccall((:PCISSetUseStiffnessScaling,petscComplexDouble),PetscErrorCode,(PC{Complex128},PetscBool),arg1,arg2) - return err -end - -function PCISSetSubdomainScalingFactor(arg1::PC{Complex128},arg2::Complex128) - err = ccall((:PCISSetSubdomainScalingFactor,petscComplexDouble),PetscErrorCode,(PC{Complex128},Complex128),arg1,arg2) - return err -end - -function PCISSetSubdomainDiagonalScaling(arg1::PC{Complex128},arg2::Vec{Complex128}) - err = ccall((:PCISSetSubdomainDiagonalScaling,petscComplexDouble),PetscErrorCode,(PC{Complex128},Vec{Complex128}),arg1,arg2) - return err -end - -function PCMGSetType(arg1::PC{Complex128},arg2::PCMGType) - err = ccall((:PCMGSetType,petscComplexDouble),PetscErrorCode,(PC{Complex128},PCMGType),arg1,arg2) - return err -end - -function PCMGGetType(arg1::PC{Complex128},arg2::Union{Ptr{PCMGType},StridedArray{PCMGType},Ptr{PCMGType},Ref{PCMGType}}) - err = ccall((:PCMGGetType,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{PCMGType}),arg1,arg2) - return err -end - -function PCMGSetLevels(arg1::PC{Complex128},arg2::Integer,arg3::Union{Ptr{MPI_Comm},StridedArray{MPI_Comm},Ptr{MPI_Comm},Ref{MPI_Comm}}) - err = ccall((:PCMGSetLevels,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64,Ptr{comm_type}),arg1,arg2,arg3) - return err -end - -function PCMGGetLevels(arg1::PC{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PCMGGetLevels,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Int64}),arg1,arg2) - return err -end - -function PCMGSetNumberSmoothUp(arg1::PC{Complex128},arg2::Integer) - err = ccall((:PCMGSetNumberSmoothUp,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64),arg1,arg2) - return err -end - -function PCMGSetNumberSmoothDown(arg1::PC{Complex128},arg2::Integer) - err = ccall((:PCMGSetNumberSmoothDown,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64),arg1,arg2) - return err -end - -function PCMGSetCycleType(arg1::PC{Complex128},arg2::PCMGCycleType) - err = ccall((:PCMGSetCycleType,petscComplexDouble),PetscErrorCode,(PC{Complex128},PCMGCycleType),arg1,arg2) - return err -end - -function PCMGSetCycleTypeOnLevel(arg1::PC{Complex128},arg2::Integer,arg3::PCMGCycleType) - err = ccall((:PCMGSetCycleTypeOnLevel,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64,PCMGCycleType),arg1,arg2,arg3) - return err -end - -function PCMGSetCyclesOnLevel(arg1::PC{Complex128},arg2::Integer,arg3::Integer) - err = ccall((:PCMGSetCyclesOnLevel,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64,Int64),arg1,arg2,arg3) - return err -end - -function PCMGMultiplicativeSetCycles(arg1::PC{Complex128},arg2::Integer) - err = ccall((:PCMGMultiplicativeSetCycles,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64),arg1,arg2) - return err -end - -function PCMGSetGalerkin(arg1::PC{Complex128},arg2::PetscBool) - err = ccall((:PCMGSetGalerkin,petscComplexDouble),PetscErrorCode,(PC{Complex128},PetscBool),arg1,arg2) - return err -end - -function PCMGGetGalerkin(arg1::PC{Complex128},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCMGGetGalerkin,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCMGSetRhs(arg1::PC{Complex128},arg2::Integer,arg3::Vec{Complex128}) - err = ccall((:PCMGSetRhs,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64,Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function PCMGSetX(arg1::PC{Complex128},arg2::Integer,arg3::Vec{Complex128}) - err = ccall((:PCMGSetX,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64,Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function PCMGSetR(arg1::PC{Complex128},arg2::Integer,arg3::Vec{Complex128}) - err = ccall((:PCMGSetR,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64,Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function PCMGSetRestriction(arg1::PC{Complex128},arg2::Integer,arg3::Mat{Complex128}) - err = ccall((:PCMGSetRestriction,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64,Mat{Complex128}),arg1,arg2,arg3) - return err -end - -function PCMGGetRestriction(arg1::PC{Complex128},arg2::Integer,arg3::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:PCMGGetRestriction,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64,Ptr{Mat{Complex128}}),arg1,arg2,arg3) - return err -end - -function PCMGSetInterpolation(arg1::PC{Complex128},arg2::Integer,arg3::Mat{Complex128}) - err = ccall((:PCMGSetInterpolation,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64,Mat{Complex128}),arg1,arg2,arg3) - return err -end - -function PCMGGetInterpolation(arg1::PC{Complex128},arg2::Integer,arg3::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:PCMGGetInterpolation,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64,Ptr{Mat{Complex128}}),arg1,arg2,arg3) - return err -end - -function PCMGSetRScale(arg1::PC{Complex128},arg2::Integer,arg3::Vec{Complex128}) - err = ccall((:PCMGSetRScale,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64,Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function PCMGGetRScale(arg1::PC{Complex128},arg2::Integer,arg3::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:PCMGGetRScale,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64,Ptr{Vec{Complex128}}),arg1,arg2,arg3) - return err -end - -function PCMGSetResidual(arg1::PC{Complex128},arg2::Integer,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Mat{Complex128}) - err = ccall((:PCMGSetResidual,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64,Ptr{Void},Mat{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function PCMGResidualDefault(arg1::Mat{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128},arg4::Vec{Complex128}) - err = ccall((:PCMGResidualDefault,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Vec{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function KSPInitializePackage(arg0::Type{Complex128}) - err = ccall((:KSPInitializePackage,petscComplexDouble),PetscErrorCode,()) - return err -end - -function KSPCreate(arg1::MPI_Comm,arg2::Union{Ptr{KSP{Complex128}},StridedArray{KSP{Complex128}},Ptr{KSP{Complex128}},Ref{KSP{Complex128}}}) - err = ccall((:KSPCreate,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{KSP{Complex128}}),arg1,arg2) - return err -end - -function KSPSetType(arg1::KSP{Complex128},arg2::KSPType) - err = ccall((:KSPSetType,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Cstring),arg1,arg2) - return err -end - -function KSPGetType(arg1::KSP{Complex128},arg2::Union{Ptr{KSPType},StridedArray{KSPType},Ptr{KSPType},Ref{KSPType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:KSPGetType,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function KSPSetUp(arg1::KSP{Complex128}) - err = ccall((:KSPSetUp,petscComplexDouble),PetscErrorCode,(KSP{Complex128},),arg1) - return err -end - -function KSPSetUpOnBlocks(arg1::KSP{Complex128}) - err = ccall((:KSPSetUpOnBlocks,petscComplexDouble),PetscErrorCode,(KSP{Complex128},),arg1) - return err -end - -function KSPSolve(arg1::KSP{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:KSPSolve,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function KSPSolveTranspose(arg1::KSP{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:KSPSolveTranspose,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function KSPReset(arg1::KSP{Complex128}) - err = ccall((:KSPReset,petscComplexDouble),PetscErrorCode,(KSP{Complex128},),arg1) - return err -end - -function KSPDestroy(arg1::Union{Ptr{KSP{Complex128}},StridedArray{KSP{Complex128}},Ptr{KSP{Complex128}},Ref{KSP{Complex128}}}) - err = ccall((:KSPDestroy,petscComplexDouble),PetscErrorCode,(Ptr{KSP{Complex128}},),arg1) - return err -end - -function KSPSetReusePreconditioner(arg1::KSP{Complex128},arg2::PetscBool) - err = ccall((:KSPSetReusePreconditioner,petscComplexDouble),PetscErrorCode,(KSP{Complex128},PetscBool),arg1,arg2) - return err -end - -function KSPSetSkipPCSetFromOptions(arg1::KSP{Complex128},arg2::PetscBool) - err = ccall((:KSPSetSkipPCSetFromOptions,petscComplexDouble),PetscErrorCode,(KSP{Complex128},PetscBool),arg1,arg2) - return err -end - -function KSPRegister(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPRegister,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function KSPSetPCSide(arg1::KSP{Complex128},arg2::PCSide) - err = ccall((:KSPSetPCSide,petscComplexDouble),PetscErrorCode,(KSP{Complex128},PCSide),arg1,arg2) - return err -end - -function KSPGetPCSide(arg1::KSP{Complex128},arg2::Union{Ptr{PCSide},StridedArray{PCSide},Ptr{PCSide},Ref{PCSide}}) - err = ccall((:KSPGetPCSide,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{PCSide}),arg1,arg2) - return err -end - -function KSPSetTolerances(arg1::KSP{Complex128},arg2::Float64,arg3::Float64,arg4::Float64,arg5::Integer) - err = ccall((:KSPSetTolerances,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Float64,Float64,Float64,Int64),arg1,arg2,arg3,arg4,arg5) - return err -end - -function KSPGetTolerances(arg1::KSP{Complex128},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:KSPGetTolerances,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function KSPSetInitialGuessNonzero(arg1::KSP{Complex128},arg2::PetscBool) - err = ccall((:KSPSetInitialGuessNonzero,petscComplexDouble),PetscErrorCode,(KSP{Complex128},PetscBool),arg1,arg2) - return err -end - -function KSPGetInitialGuessNonzero(arg1::KSP{Complex128},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:KSPGetInitialGuessNonzero,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{PetscBool}),arg1,arg2) - return err -end - -function KSPSetInitialGuessKnoll(arg1::KSP{Complex128},arg2::PetscBool) - err = ccall((:KSPSetInitialGuessKnoll,petscComplexDouble),PetscErrorCode,(KSP{Complex128},PetscBool),arg1,arg2) - return err -end - -function KSPGetInitialGuessKnoll(arg1::KSP{Complex128},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:KSPGetInitialGuessKnoll,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{PetscBool}),arg1,arg2) - return err -end - -function KSPSetErrorIfNotConverged(arg1::KSP{Complex128},arg2::PetscBool) - err = ccall((:KSPSetErrorIfNotConverged,petscComplexDouble),PetscErrorCode,(KSP{Complex128},PetscBool),arg1,arg2) - return err -end - -function KSPGetErrorIfNotConverged(arg1::KSP{Complex128},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:KSPGetErrorIfNotConverged,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{PetscBool}),arg1,arg2) - return err -end - -function KSPSetComputeEigenvalues(arg1::KSP{Complex128},arg2::PetscBool) - err = ccall((:KSPSetComputeEigenvalues,petscComplexDouble),PetscErrorCode,(KSP{Complex128},PetscBool),arg1,arg2) - return err -end - -function KSPGetComputeEigenvalues(arg1::KSP{Complex128},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:KSPGetComputeEigenvalues,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{PetscBool}),arg1,arg2) - return err -end - -function KSPSetComputeSingularValues(arg1::KSP{Complex128},arg2::PetscBool) - err = ccall((:KSPSetComputeSingularValues,petscComplexDouble),PetscErrorCode,(KSP{Complex128},PetscBool),arg1,arg2) - return err -end - -function KSPGetComputeSingularValues(arg1::KSP{Complex128},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:KSPGetComputeSingularValues,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{PetscBool}),arg1,arg2) - return err -end - -function KSPGetRhs(arg1::KSP{Complex128},arg2::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:KSPGetRhs,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{Vec{Complex128}}),arg1,arg2) - return err -end - -function KSPGetSolution(arg1::KSP{Complex128},arg2::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:KSPGetSolution,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{Vec{Complex128}}),arg1,arg2) - return err -end - -function KSPGetResidualNorm(arg1::KSP{Complex128},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:KSPGetResidualNorm,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{Float64}),arg1,arg2) - return err -end - -function KSPGetIterationNumber(arg1::KSP{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:KSPGetIterationNumber,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{Int64}),arg1,arg2) - return err -end - -function KSPGetTotalIterations(arg1::KSP{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:KSPGetTotalIterations,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{Int64}),arg1,arg2) - return err -end - -function KSPCreateVecs(arg1::KSP{Complex128},arg2::Integer,arg3::Union{Ptr{Ptr{Vec{Complex128}}},StridedArray{Ptr{Vec{Complex128}}},Ptr{Ptr{Vec{Complex128}}},Ref{Ptr{Vec{Complex128}}}},arg4::Integer,arg5::Union{Ptr{Ptr{Vec{Complex128}}},StridedArray{Ptr{Vec{Complex128}}},Ptr{Ptr{Vec{Complex128}}},Ref{Ptr{Vec{Complex128}}}}) - err = ccall((:KSPCreateVecs,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Int64,Ptr{Ptr{Vec{Complex128}}},Int64,Ptr{Ptr{Vec{Complex128}}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function KSPGetVecs(ksp::KSP{Complex128},n::Integer,x::Union{Ptr{Ptr{Vec{Complex128}}},StridedArray{Ptr{Vec{Complex128}}},Ptr{Ptr{Vec{Complex128}}},Ref{Ptr{Vec{Complex128}}}},m::Integer,y::Union{Ptr{Ptr{Vec{Complex128}}},StridedArray{Ptr{Vec{Complex128}}},Ptr{Ptr{Vec{Complex128}}},Ref{Ptr{Vec{Complex128}}}}) - err = ccall((:KSPGetVecs,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Int64,Ptr{Ptr{Vec{Complex128}}},Int64,Ptr{Ptr{Vec{Complex128}}}),ksp,n,x,m,y) - return err -end - -function KSPSetPreSolve(arg1::KSP{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPSetPreSolve,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function KSPSetPostSolve(arg1::KSP{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPSetPostSolve,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function KSPSetPC(arg1::KSP{Complex128},arg2::PC{Complex128}) - err = ccall((:KSPSetPC,petscComplexDouble),PetscErrorCode,(KSP{Complex128},PC{Complex128}),arg1,arg2) - return err -end - -function KSPGetPC(arg1::KSP{Complex128},arg2::Union{Ptr{PC{Complex128}},StridedArray{PC{Complex128}},Ptr{PC{Complex128}},Ref{PC{Complex128}}}) - err = ccall((:KSPGetPC,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{PC{Complex128}}),arg1,arg2) - return err -end - -function KSPMonitor(arg1::KSP{Complex128},arg2::Integer,arg3::Float64) - err = ccall((:KSPMonitor,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Int64,Float64),arg1,arg2,arg3) - return err -end - -function KSPMonitorSet(arg1::KSP{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPMonitorSet,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPMonitorCancel(arg1::KSP{Complex128}) - err = ccall((:KSPMonitorCancel,petscComplexDouble),PetscErrorCode,(KSP{Complex128},),arg1) - return err -end - -function KSPGetMonitorContext(arg1::KSP{Complex128},arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:KSPGetMonitorContext,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{Ptr{Void}}),arg1,arg2) - return err -end - -function KSPGetResidualHistory(arg1::KSP{Complex128},arg2::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:KSPGetResidualHistory,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{Ptr{Float64}},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function KSPSetResidualHistory(arg1::KSP{Complex128},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Integer,arg4::PetscBool) - err = ccall((:KSPSetResidualHistory,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{Float64},Int64,PetscBool),arg1,arg2,arg3,arg4) - return err -end - -function KSPBuildSolutionDefault(arg1::KSP{Complex128},arg2::Vec{Complex128},arg3::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:KSPBuildSolutionDefault,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Vec{Complex128},Ptr{Vec{Complex128}}),arg1,arg2,arg3) - return err -end - -function KSPBuildResidualDefault(arg1::KSP{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128},arg4::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:KSPBuildResidualDefault,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Vec{Complex128},Vec{Complex128},Ptr{Vec{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function KSPDestroyDefault(arg1::KSP{Complex128}) - err = ccall((:KSPDestroyDefault,petscComplexDouble),PetscErrorCode,(KSP{Complex128},),arg1) - return err -end - -function KSPSetWorkVecs(arg1::KSP{Complex128},arg2::Integer) - err = ccall((:KSPSetWorkVecs,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Int64),arg1,arg2) - return err -end - -function PCKSPGetKSP(arg1::PC{Complex128},arg2::Union{Ptr{KSP{Complex128}},StridedArray{KSP{Complex128}},Ptr{KSP{Complex128}},Ref{KSP{Complex128}}}) - err = ccall((:PCKSPGetKSP,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{KSP{Complex128}}),arg1,arg2) - return err -end - -function PCBJacobiGetSubKSP(arg1::PC{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{KSP{Complex128}}},StridedArray{Ptr{KSP{Complex128}}},Ptr{Ptr{KSP{Complex128}}},Ref{Ptr{KSP{Complex128}}}}) - err = ccall((:PCBJacobiGetSubKSP,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Int64},Ptr{Int64},Ptr{Ptr{KSP{Complex128}}}),arg1,arg2,arg3,arg4) - return err -end - -function PCASMGetSubKSP(arg1::PC{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{KSP{Complex128}}},StridedArray{Ptr{KSP{Complex128}}},Ptr{Ptr{KSP{Complex128}}},Ref{Ptr{KSP{Complex128}}}}) - err = ccall((:PCASMGetSubKSP,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Int64},Ptr{Int64},Ptr{Ptr{KSP{Complex128}}}),arg1,arg2,arg3,arg4) - return err -end - -function PCGASMGetSubKSP(arg1::PC{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{KSP{Complex128}}},StridedArray{Ptr{KSP{Complex128}}},Ptr{Ptr{KSP{Complex128}}},Ref{Ptr{KSP{Complex128}}}}) - err = ccall((:PCGASMGetSubKSP,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Int64},Ptr{Int64},Ptr{Ptr{KSP{Complex128}}}),arg1,arg2,arg3,arg4) - return err -end - -function PCFieldSplitGetSubKSP(arg1::PC{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{KSP{Complex128}}},StridedArray{Ptr{KSP{Complex128}}},Ptr{Ptr{KSP{Complex128}}},Ref{Ptr{KSP{Complex128}}}}) - err = ccall((:PCFieldSplitGetSubKSP,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Int64},Ptr{Ptr{KSP{Complex128}}}),arg1,arg2,arg3) - return err -end - -function PCMGGetSmoother(arg1::PC{Complex128},arg2::Integer,arg3::Union{Ptr{KSP{Complex128}},StridedArray{KSP{Complex128}},Ptr{KSP{Complex128}},Ref{KSP{Complex128}}}) - err = ccall((:PCMGGetSmoother,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64,Ptr{KSP{Complex128}}),arg1,arg2,arg3) - return err -end - -function PCMGGetSmootherDown(arg1::PC{Complex128},arg2::Integer,arg3::Union{Ptr{KSP{Complex128}},StridedArray{KSP{Complex128}},Ptr{KSP{Complex128}},Ref{KSP{Complex128}}}) - err = ccall((:PCMGGetSmootherDown,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64,Ptr{KSP{Complex128}}),arg1,arg2,arg3) - return err -end - -function PCMGGetSmootherUp(arg1::PC{Complex128},arg2::Integer,arg3::Union{Ptr{KSP{Complex128}},StridedArray{KSP{Complex128}},Ptr{KSP{Complex128}},Ref{KSP{Complex128}}}) - err = ccall((:PCMGGetSmootherUp,petscComplexDouble),PetscErrorCode,(PC{Complex128},Int64,Ptr{KSP{Complex128}}),arg1,arg2,arg3) - return err -end - -function PCMGGetCoarseSolve(arg1::PC{Complex128},arg2::Union{Ptr{KSP{Complex128}},StridedArray{KSP{Complex128}},Ptr{KSP{Complex128}},Ref{KSP{Complex128}}}) - err = ccall((:PCMGGetCoarseSolve,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{KSP{Complex128}}),arg1,arg2) - return err -end - -function PCGalerkinGetKSP(arg1::PC{Complex128},arg2::Union{Ptr{KSP{Complex128}},StridedArray{KSP{Complex128}},Ptr{KSP{Complex128}},Ref{KSP{Complex128}}}) - err = ccall((:PCGalerkinGetKSP,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{KSP{Complex128}}),arg1,arg2) - return err -end - -function KSPBuildSolution(arg1::KSP{Complex128},arg2::Vec{Complex128},arg3::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:KSPBuildSolution,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Vec{Complex128},Ptr{Vec{Complex128}}),arg1,arg2,arg3) - return err -end - -function KSPBuildResidual(arg1::KSP{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128},arg4::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:KSPBuildResidual,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Vec{Complex128},Vec{Complex128},Ptr{Vec{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function KSPRichardsonSetScale(arg1::KSP{Complex128},arg2::Float64) - err = ccall((:KSPRichardsonSetScale,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Float64),arg1,arg2) - return err -end - -function KSPRichardsonSetSelfScale(arg1::KSP{Complex128},arg2::PetscBool) - err = ccall((:KSPRichardsonSetSelfScale,petscComplexDouble),PetscErrorCode,(KSP{Complex128},PetscBool),arg1,arg2) - return err -end - -function KSPChebyshevSetEigenvalues(arg1::KSP{Complex128},arg2::Float64,arg3::Float64) - err = ccall((:KSPChebyshevSetEigenvalues,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Float64,Float64),arg1,arg2,arg3) - return err -end - -function KSPChebyshevEstEigSet(arg1::KSP{Complex128},arg2::Float64,arg3::Float64,arg4::Float64,arg5::Float64) - err = ccall((:KSPChebyshevEstEigSet,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Float64,Float64,Float64,Float64),arg1,arg2,arg3,arg4,arg5) - return err -end - -function KSPChebyshevEstEigSetRandom(arg1::KSP{Complex128},arg2::PetscRandom) - err = ccall((:KSPChebyshevEstEigSetRandom,petscComplexDouble),PetscErrorCode,(KSP{Complex128},PetscRandom),arg1,arg2) - return err -end - -function KSPChebyshevEstEigGetKSP(arg1::KSP{Complex128},arg2::Union{Ptr{KSP{Complex128}},StridedArray{KSP{Complex128}},Ptr{KSP{Complex128}},Ref{KSP{Complex128}}}) - err = ccall((:KSPChebyshevEstEigGetKSP,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{KSP{Complex128}}),arg1,arg2) - return err -end - -function KSPComputeExtremeSingularValues(arg1::KSP{Complex128},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:KSPComputeExtremeSingularValues,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function KSPComputeEigenvalues(arg1::KSP{Complex128},arg2::Integer,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:KSPComputeEigenvalues,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Int64,Ptr{Float64},Ptr{Float64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function KSPComputeEigenvaluesExplicitly(arg1::KSP{Complex128},arg2::Integer,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:KSPComputeEigenvaluesExplicitly,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Int64,Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function KSPFCGSetMmax(arg1::KSP{Complex128},arg2::Integer) - err = ccall((:KSPFCGSetMmax,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Int64),arg1,arg2) - return err -end - -function KSPFCGGetMmax(arg1::KSP{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:KSPFCGGetMmax,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{Int64}),arg1,arg2) - return err -end - -function KSPFCGSetNprealloc(arg1::KSP{Complex128},arg2::Integer) - err = ccall((:KSPFCGSetNprealloc,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Int64),arg1,arg2) - return err -end - -function KSPFCGGetNprealloc(arg1::KSP{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:KSPFCGGetNprealloc,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{Int64}),arg1,arg2) - return err -end - -function KSPFCGSetTruncationType(arg1::KSP{Complex128},arg2::KSPFCGTruncationType) - err = ccall((:KSPFCGSetTruncationType,petscComplexDouble),PetscErrorCode,(KSP{Complex128},KSPFCGTruncationType),arg1,arg2) - return err -end - -function KSPFCGGetTruncationType(arg1::KSP{Complex128},arg2::Union{Ptr{KSPFCGTruncationType},StridedArray{KSPFCGTruncationType},Ptr{KSPFCGTruncationType},Ref{KSPFCGTruncationType}}) - err = ccall((:KSPFCGGetTruncationType,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{KSPFCGTruncationType}),arg1,arg2) - return err -end - -function KSPGMRESSetRestart(arg1::KSP{Complex128},arg2::Integer) - err = ccall((:KSPGMRESSetRestart,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Int64),arg1,arg2) - return err -end - -function KSPGMRESGetRestart(arg1::KSP{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:KSPGMRESGetRestart,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{Int64}),arg1,arg2) - return err -end - -function KSPGMRESSetHapTol(arg1::KSP{Complex128},arg2::Float64) - err = ccall((:KSPGMRESSetHapTol,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Float64),arg1,arg2) - return err -end - -function KSPGMRESSetPreAllocateVectors(arg1::KSP{Complex128}) - err = ccall((:KSPGMRESSetPreAllocateVectors,petscComplexDouble),PetscErrorCode,(KSP{Complex128},),arg1) - return err -end - -function KSPGMRESSetOrthogonalization(arg1::KSP{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPGMRESSetOrthogonalization,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{Void}),arg1,arg2) - return err -end - -function KSPGMRESGetOrthogonalization(arg1::KSP{Complex128},arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:KSPGMRESGetOrthogonalization,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{Ptr{Void}}),arg1,arg2) - return err -end - -function KSPGMRESModifiedGramSchmidtOrthogonalization(arg1::KSP{Complex128},arg2::Integer) - err = ccall((:KSPGMRESModifiedGramSchmidtOrthogonalization,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Int64),arg1,arg2) - return err -end - -function KSPGMRESClassicalGramSchmidtOrthogonalization(arg1::KSP{Complex128},arg2::Integer) - err = ccall((:KSPGMRESClassicalGramSchmidtOrthogonalization,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Int64),arg1,arg2) - return err -end - -function KSPLGMRESSetAugDim(arg1::KSP{Complex128},arg2::Integer) - err = ccall((:KSPLGMRESSetAugDim,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Int64),arg1,arg2) - return err -end - -function KSPLGMRESSetConstant(arg1::KSP{Complex128}) - err = ccall((:KSPLGMRESSetConstant,petscComplexDouble),PetscErrorCode,(KSP{Complex128},),arg1) - return err -end - -function KSPGCRSetRestart(arg1::KSP{Complex128},arg2::Integer) - err = ccall((:KSPGCRSetRestart,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Int64),arg1,arg2) - return err -end - -function KSPGCRGetRestart(arg1::KSP{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:KSPGCRGetRestart,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{Int64}),arg1,arg2) - return err -end - -function KSPGCRSetModifyPC(arg1::KSP{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPGCRSetModifyPC,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPGMRESSetCGSRefinementType(arg1::KSP{Complex128},arg2::KSPGMRESCGSRefinementType) - err = ccall((:KSPGMRESSetCGSRefinementType,petscComplexDouble),PetscErrorCode,(KSP{Complex128},KSPGMRESCGSRefinementType),arg1,arg2) - return err -end - -function KSPGMRESGetCGSRefinementType(arg1::KSP{Complex128},arg2::Union{Ptr{KSPGMRESCGSRefinementType},StridedArray{KSPGMRESCGSRefinementType},Ptr{KSPGMRESCGSRefinementType},Ref{KSPGMRESCGSRefinementType}}) - err = ccall((:KSPGMRESGetCGSRefinementType,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{KSPGMRESCGSRefinementType}),arg1,arg2) - return err -end - -function KSPFGMRESModifyPCNoChange(arg1::KSP{Complex128},arg2::Integer,arg3::Integer,arg4::Float64,arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPFGMRESModifyPCNoChange,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Int64,Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function KSPFGMRESModifyPCKSP(arg1::KSP{Complex128},arg2::Integer,arg3::Integer,arg4::Float64,arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPFGMRESModifyPCKSP,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Int64,Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function KSPFGMRESSetModifyPC(arg1::KSP{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPFGMRESSetModifyPC,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPQCGSetTrustRegionRadius(arg1::KSP{Complex128},arg2::Float64) - err = ccall((:KSPQCGSetTrustRegionRadius,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Float64),arg1,arg2) - return err -end - -function KSPQCGGetQuadratic(arg1::KSP{Complex128},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:KSPQCGGetQuadratic,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{Float64}),arg1,arg2) - return err -end - -function KSPQCGGetTrialStepNorm(arg1::KSP{Complex128},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:KSPQCGGetTrialStepNorm,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{Float64}),arg1,arg2) - return err -end - -function KSPBCGSLSetXRes(arg1::KSP{Complex128},arg2::Float64) - err = ccall((:KSPBCGSLSetXRes,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Float64),arg1,arg2) - return err -end - -function KSPBCGSLSetPol(arg1::KSP{Complex128},arg2::PetscBool) - err = ccall((:KSPBCGSLSetPol,petscComplexDouble),PetscErrorCode,(KSP{Complex128},PetscBool),arg1,arg2) - return err -end - -function KSPBCGSLSetEll(arg1::KSP{Complex128},arg2::Integer) - err = ccall((:KSPBCGSLSetEll,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Int64),arg1,arg2) - return err -end - -function KSPBCGSLSetUsePseudoinverse(arg1::KSP{Complex128},arg2::PetscBool) - err = ccall((:KSPBCGSLSetUsePseudoinverse,petscComplexDouble),PetscErrorCode,(KSP{Complex128},PetscBool),arg1,arg2) - return err -end - -function KSPSetFromOptions(arg1::KSP{Complex128}) - err = ccall((:KSPSetFromOptions,petscComplexDouble),PetscErrorCode,(KSP{Complex128},),arg1) - return err -end - -function KSPAddOptionsChecker(arg0::Type{Complex128},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPAddOptionsChecker,petscComplexDouble),PetscErrorCode,(Ptr{Void},),arg1) - return err -end - -function KSPMonitorSingularValue(arg1::KSP{Complex128},arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPMonitorSingularValue,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPMonitorDefault(arg1::KSP{Complex128},arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPMonitorDefault,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPLSQRMonitorDefault(arg1::KSP{Complex128},arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPLSQRMonitorDefault,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPMonitorRange(arg1::KSP{Complex128},arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPMonitorRange,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPMonitorDynamicTolerance(ksp::KSP{Complex128},its::Integer,fnorm::Float64,dummy::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPMonitorDynamicTolerance,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Int64,Float64,Ptr{Void}),ksp,its,fnorm,dummy) - return err -end - -function KSPMonitorDynamicToleranceDestroy(arg0::Type{Complex128},dummy::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:KSPMonitorDynamicToleranceDestroy,petscComplexDouble),PetscErrorCode,(Ptr{Ptr{Void}},),dummy) - return err -end - -function KSPMonitorTrueResidualNorm(arg1::KSP{Complex128},arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPMonitorTrueResidualNorm,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPMonitorTrueResidualMaxNorm(arg1::KSP{Complex128},arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPMonitorTrueResidualMaxNorm,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPMonitorDefaultShort(arg1::KSP{Complex128},arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPMonitorDefaultShort,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPMonitorSolution(arg1::KSP{Complex128},arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPMonitorSolution,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPMonitorSAWs(arg1::KSP{Complex128},arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPMonitorSAWs,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPMonitorSAWsCreate(arg1::KSP{Complex128},arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:KSPMonitorSAWsCreate,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{Ptr{Void}}),arg1,arg2) - return err -end - -function KSPMonitorSAWsDestroy(arg0::Type{Complex128},arg1::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:KSPMonitorSAWsDestroy,petscComplexDouble),PetscErrorCode,(Ptr{Ptr{Void}},),arg1) - return err -end - -function KSPGMRESMonitorKrylov(arg1::KSP{Complex128},arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPGMRESMonitorKrylov,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPUnwindPreconditioner(arg1::KSP{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:KSPUnwindPreconditioner,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function KSPInitialResidual(arg1::KSP{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128},arg4::Vec{Complex128},arg5::Vec{Complex128},arg6::Vec{Complex128}) - err = ccall((:KSPInitialResidual,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Vec{Complex128},Vec{Complex128},Vec{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function KSPSetOperators(arg1::KSP{Complex128},arg2::Mat{Complex128},arg3::Mat{Complex128}) - err = ccall((:KSPSetOperators,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Mat{Complex128},Mat{Complex128}),arg1,arg2,arg3) - return err -end - -function KSPGetOperators(arg1::KSP{Complex128},arg2::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}},arg3::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:KSPGetOperators,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{Mat{Complex128}},Ptr{Mat{Complex128}}),arg1,arg2,arg3) - return err -end - -function KSPGetOperatorsSet(arg1::KSP{Complex128},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:KSPGetOperatorsSet,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{PetscBool},Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function KSPSetOptionsPrefix(arg1::KSP{Complex128},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:KSPSetOptionsPrefix,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Cstring),arg1,arg2) - return err -end - -function KSPAppendOptionsPrefix(arg1::KSP{Complex128},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:KSPAppendOptionsPrefix,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Cstring),arg1,arg2) - return err -end - -function KSPGetOptionsPrefix(arg1::KSP{Complex128},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:KSPGetOptionsPrefix,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function KSPSetTabLevel(arg1::KSP{Complex128},arg2::Integer) - err = ccall((:KSPSetTabLevel,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Int64),arg1,arg2) - return err -end - -function KSPGetTabLevel(arg1::KSP{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:KSPGetTabLevel,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{Int64}),arg1,arg2) - return err -end - -function KSPSetDiagonalScale(arg1::KSP{Complex128},arg2::PetscBool) - err = ccall((:KSPSetDiagonalScale,petscComplexDouble),PetscErrorCode,(KSP{Complex128},PetscBool),arg1,arg2) - return err -end - -function KSPGetDiagonalScale(arg1::KSP{Complex128},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:KSPGetDiagonalScale,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{PetscBool}),arg1,arg2) - return err -end - -function KSPSetDiagonalScaleFix(arg1::KSP{Complex128},arg2::PetscBool) - err = ccall((:KSPSetDiagonalScaleFix,petscComplexDouble),PetscErrorCode,(KSP{Complex128},PetscBool),arg1,arg2) - return err -end - -function KSPGetDiagonalScaleFix(arg1::KSP{Complex128},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:KSPGetDiagonalScaleFix,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{PetscBool}),arg1,arg2) - return err -end - -function KSPView(arg1::KSP{Complex128},arg2::PetscViewer{Complex128}) - err = ccall((:KSPView,petscComplexDouble),PetscErrorCode,(KSP{Complex128},PetscViewer{Complex128}),arg1,arg2) - return err -end - -function KSPLoad(arg1::KSP{Complex128},arg2::PetscViewer{Complex128}) - err = ccall((:KSPLoad,petscComplexDouble),PetscErrorCode,(KSP{Complex128},PetscViewer{Complex128}),arg1,arg2) - return err -end - -function KSPViewFromOptions(A::KSP{Complex128},obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:KSPViewFromOptions,petscComplexDouble),PetscErrorCode,(KSP{Complex128},PetscObject,Cstring),A,obj,name) - return err -end - -function KSPReasonView(arg1::KSP{Complex128},arg2::PetscViewer{Complex128}) - err = ccall((:KSPReasonView,petscComplexDouble),PetscErrorCode,(KSP{Complex128},PetscViewer{Complex128}),arg1,arg2) - return err -end - -function KSPReasonViewFromOptions(arg1::KSP{Complex128}) - err = ccall((:KSPReasonViewFromOptions,petscComplexDouble),PetscErrorCode,(KSP{Complex128},),arg1) - return err -end - -function KSPLSQRSetStandardErrorVec(arg1::KSP{Complex128},arg2::Vec{Complex128}) - err = ccall((:KSPLSQRSetStandardErrorVec,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Vec{Complex128}),arg1,arg2) - return err -end - -function KSPLSQRGetStandardErrorVec(arg1::KSP{Complex128},arg2::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:KSPLSQRGetStandardErrorVec,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{Vec{Complex128}}),arg1,arg2) - return err -end - -function PCRedundantGetKSP(arg1::PC{Complex128},arg2::Union{Ptr{KSP{Complex128}},StridedArray{KSP{Complex128}},Ptr{KSP{Complex128}},Ref{KSP{Complex128}}}) - err = ccall((:PCRedundantGetKSP,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{KSP{Complex128}}),arg1,arg2) - return err -end - -function PCRedistributeGetKSP(arg1::PC{Complex128},arg2::Union{Ptr{KSP{Complex128}},StridedArray{KSP{Complex128}},Ptr{KSP{Complex128}},Ref{KSP{Complex128}}}) - err = ccall((:PCRedistributeGetKSP,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{KSP{Complex128}}),arg1,arg2) - return err -end - -function KSPSetNormType(arg1::KSP{Complex128},arg2::KSPNormType) - err = ccall((:KSPSetNormType,petscComplexDouble),PetscErrorCode,(KSP{Complex128},KSPNormType),arg1,arg2) - return err -end - -function KSPGetNormType(arg1::KSP{Complex128},arg2::Union{Ptr{KSPNormType},StridedArray{KSPNormType},Ptr{KSPNormType},Ref{KSPNormType}}) - err = ccall((:KSPGetNormType,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{KSPNormType}),arg1,arg2) - return err -end - -function KSPSetSupportedNorm(ksp::KSP{Complex128},arg1::KSPNormType,arg2::PCSide,arg3::Integer) - err = ccall((:KSPSetSupportedNorm,petscComplexDouble),PetscErrorCode,(KSP{Complex128},KSPNormType,PCSide,Int64),ksp,arg1,arg2,arg3) - return err -end - -function KSPSetCheckNormIteration(arg1::KSP{Complex128},arg2::Integer) - err = ccall((:KSPSetCheckNormIteration,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Int64),arg1,arg2) - return err -end - -function KSPSetLagNorm(arg1::KSP{Complex128},arg2::PetscBool) - err = ccall((:KSPSetLagNorm,petscComplexDouble),PetscErrorCode,(KSP{Complex128},PetscBool),arg1,arg2) - return err -end - -function KSPSetConvergenceTest(arg1::KSP{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPSetConvergenceTest,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPGetConvergenceContext(arg1::KSP{Complex128},arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:KSPGetConvergenceContext,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{Ptr{Void}}),arg1,arg2) - return err -end - -function KSPConvergedDefault(arg1::KSP{Complex128},arg2::Integer,arg3::Float64,arg4::Union{Ptr{KSPConvergedReason},StridedArray{KSPConvergedReason},Ptr{KSPConvergedReason},Ref{KSPConvergedReason}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPConvergedDefault,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Int64,Float64,Ptr{KSPConvergedReason},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function KSPConvergedLSQR(arg1::KSP{Complex128},arg2::Integer,arg3::Float64,arg4::Union{Ptr{KSPConvergedReason},StridedArray{KSPConvergedReason},Ptr{KSPConvergedReason},Ref{KSPConvergedReason}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPConvergedLSQR,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Int64,Float64,Ptr{KSPConvergedReason},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function KSPConvergedDefaultDestroy(arg0::Type{Complex128},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPConvergedDefaultDestroy,petscComplexDouble),PetscErrorCode,(Ptr{Void},),arg1) - return err -end - -function KSPConvergedDefaultCreate(arg0::Type{Complex128},arg1::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:KSPConvergedDefaultCreate,petscComplexDouble),PetscErrorCode,(Ptr{Ptr{Void}},),arg1) - return err -end - -function KSPConvergedDefaultSetUIRNorm(arg1::KSP{Complex128}) - err = ccall((:KSPConvergedDefaultSetUIRNorm,petscComplexDouble),PetscErrorCode,(KSP{Complex128},),arg1) - return err -end - -function KSPConvergedDefaultSetUMIRNorm(arg1::KSP{Complex128}) - err = ccall((:KSPConvergedDefaultSetUMIRNorm,petscComplexDouble),PetscErrorCode,(KSP{Complex128},),arg1) - return err -end - -function KSPConvergedSkip(arg1::KSP{Complex128},arg2::Integer,arg3::Float64,arg4::Union{Ptr{KSPConvergedReason},StridedArray{KSPConvergedReason},Ptr{KSPConvergedReason},Ref{KSPConvergedReason}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPConvergedSkip,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Int64,Float64,Ptr{KSPConvergedReason},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function KSPGetConvergedReason(arg1::KSP{Complex128},arg2::Union{Ptr{KSPConvergedReason},StridedArray{KSPConvergedReason},Ptr{KSPConvergedReason},Ref{KSPConvergedReason}}) - err = ccall((:KSPGetConvergedReason,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{KSPConvergedReason}),arg1,arg2) - return err -end - -function KSPDefaultConverged(arg0::Type{Complex128}) - err = ccall((:KSPDefaultConverged,petscComplexDouble),Void,()) - return err -end - -function KSPDefaultConvergedDestroy(arg0::Type{Complex128}) - err = ccall((:KSPDefaultConvergedDestroy,petscComplexDouble),Void,()) - return err -end - -function KSPDefaultConvergedCreate(arg0::Type{Complex128}) - err = ccall((:KSPDefaultConvergedCreate,petscComplexDouble),Void,()) - return err -end - -function KSPDefaultConvergedSetUIRNorm(arg0::Type{Complex128}) - err = ccall((:KSPDefaultConvergedSetUIRNorm,petscComplexDouble),Void,()) - return err -end - -function KSPDefaultConvergedSetUMIRNorm(arg0::Type{Complex128}) - err = ccall((:KSPDefaultConvergedSetUMIRNorm,petscComplexDouble),Void,()) - return err -end - -function KSPSkipConverged(arg0::Type{Complex128}) - err = ccall((:KSPSkipConverged,petscComplexDouble),Void,()) - return err -end - -function KSPComputeExplicitOperator(arg1::KSP{Complex128},arg2::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:KSPComputeExplicitOperator,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{Mat{Complex128}}),arg1,arg2) - return err -end - -function KSPCGSetType(arg1::KSP{Complex128},arg2::KSPCGType) - err = ccall((:KSPCGSetType,petscComplexDouble),PetscErrorCode,(KSP{Complex128},KSPCGType),arg1,arg2) - return err -end - -function KSPCGUseSingleReduction(arg1::KSP{Complex128},arg2::PetscBool) - err = ccall((:KSPCGUseSingleReduction,petscComplexDouble),PetscErrorCode,(KSP{Complex128},PetscBool),arg1,arg2) - return err -end - -function KSPNASHSetRadius(arg1::KSP{Complex128},arg2::Float64) - err = ccall((:KSPNASHSetRadius,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Float64),arg1,arg2) - return err -end - -function KSPNASHGetNormD(arg1::KSP{Complex128},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:KSPNASHGetNormD,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{Float64}),arg1,arg2) - return err -end - -function KSPNASHGetObjFcn(arg1::KSP{Complex128},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:KSPNASHGetObjFcn,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{Float64}),arg1,arg2) - return err -end - -function KSPSTCGSetRadius(arg1::KSP{Complex128},arg2::Float64) - err = ccall((:KSPSTCGSetRadius,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Float64),arg1,arg2) - return err -end - -function KSPSTCGGetNormD(arg1::KSP{Complex128},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:KSPSTCGGetNormD,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{Float64}),arg1,arg2) - return err -end - -function KSPSTCGGetObjFcn(arg1::KSP{Complex128},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:KSPSTCGGetObjFcn,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{Float64}),arg1,arg2) - return err -end - -function KSPGLTRSetRadius(arg1::KSP{Complex128},arg2::Float64) - err = ccall((:KSPGLTRSetRadius,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Float64),arg1,arg2) - return err -end - -function KSPGLTRGetNormD(arg1::KSP{Complex128},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:KSPGLTRGetNormD,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{Float64}),arg1,arg2) - return err -end - -function KSPGLTRGetObjFcn(arg1::KSP{Complex128},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:KSPGLTRGetObjFcn,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{Float64}),arg1,arg2) - return err -end - -function KSPGLTRGetMinEig(arg1::KSP{Complex128},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:KSPGLTRGetMinEig,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{Float64}),arg1,arg2) - return err -end - -function KSPGLTRGetLambda(arg1::KSP{Complex128},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:KSPGLTRGetLambda,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{Float64}),arg1,arg2) - return err -end - -function KSPPythonSetType(arg1::KSP{Complex128},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:KSPPythonSetType,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Cstring),arg1,arg2) - return err -end - -function PCPreSolve(arg1::PC{Complex128},arg2::KSP{Complex128}) - err = ccall((:PCPreSolve,petscComplexDouble),PetscErrorCode,(PC{Complex128},KSP{Complex128}),arg1,arg2) - return err -end - -function PCPostSolve(arg1::PC{Complex128},arg2::KSP{Complex128}) - err = ccall((:PCPostSolve,petscComplexDouble),PetscErrorCode,(PC{Complex128},KSP{Complex128}),arg1,arg2) - return err -end - -function KSPMonitorLGResidualNormCreate(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Union{Ptr{Ptr{PetscObject}},StridedArray{Ptr{PetscObject}},Ptr{Ptr{PetscObject}},Ref{Ptr{PetscObject}}}) - err = ccall((:KSPMonitorLGResidualNormCreate,petscComplexDouble),PetscErrorCode,(Cstring,Cstring,Cint,Cint,Cint,Cint,Ptr{Ptr{PetscObject}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function KSPMonitorLGResidualNorm(arg1::KSP{Complex128},arg2::Integer,arg3::Float64,arg4::Union{Ptr{PetscObject},StridedArray{PetscObject},Ptr{PetscObject},Ref{PetscObject}}) - err = ccall((:KSPMonitorLGResidualNorm,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Int64,Float64,Ptr{PetscObject}),arg1,arg2,arg3,arg4) - return err -end - -function KSPMonitorLGResidualNormDestroy(arg0::Type{Complex128},arg1::Union{Ptr{Ptr{PetscObject}},StridedArray{Ptr{PetscObject}},Ptr{Ptr{PetscObject}},Ref{Ptr{PetscObject}}}) - err = ccall((:KSPMonitorLGResidualNormDestroy,petscComplexDouble),PetscErrorCode,(Ptr{Ptr{PetscObject}},),arg1) - return err -end - -function KSPMonitorLGTrueResidualNormCreate(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Union{Ptr{Ptr{PetscObject}},StridedArray{Ptr{PetscObject}},Ptr{Ptr{PetscObject}},Ref{Ptr{PetscObject}}}) - err = ccall((:KSPMonitorLGTrueResidualNormCreate,petscComplexDouble),PetscErrorCode,(Cstring,Cstring,Cint,Cint,Cint,Cint,Ptr{Ptr{PetscObject}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function KSPMonitorLGTrueResidualNorm(arg1::KSP{Complex128},arg2::Integer,arg3::Float64,arg4::Union{Ptr{PetscObject},StridedArray{PetscObject},Ptr{PetscObject},Ref{PetscObject}}) - err = ccall((:KSPMonitorLGTrueResidualNorm,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Int64,Float64,Ptr{PetscObject}),arg1,arg2,arg3,arg4) - return err -end - -function KSPMonitorLGTrueResidualNormDestroy(arg0::Type{Complex128},arg1::Union{Ptr{Ptr{PetscObject}},StridedArray{Ptr{PetscObject}},Ptr{Ptr{PetscObject}},Ref{Ptr{PetscObject}}}) - err = ccall((:KSPMonitorLGTrueResidualNormDestroy,petscComplexDouble),PetscErrorCode,(Ptr{Ptr{PetscObject}},),arg1) - return err -end - -function KSPMonitorLGRange(arg1::KSP{Complex128},arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPMonitorLGRange,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function PCShellSetPreSolve(arg1::PC{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCShellSetPreSolve,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Void}),arg1,arg2) - return err -end - -function PCShellSetPostSolve(arg1::PC{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCShellSetPostSolve,petscComplexDouble),PetscErrorCode,(PC{Complex128},Ptr{Void}),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function KSPFischerGuessCreate(arg1::KSP{Complex128},arg2::Integer,arg3::Integer,arg4::Union{Ptr{KSPFischerGuess},StridedArray{KSPFischerGuess},Ptr{KSPFischerGuess},Ref{KSPFischerGuess}}) - ccall((:KSPFischerGuessCreate,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Int64,Int64,Ptr{KSPFischerGuess}),arg1,arg2,arg3,arg4) -end -=# -#= skipping function with undefined symbols: - function KSPFischerGuessDestroy(arg0::Type{Complex128},arg1::Union{Ptr{KSPFischerGuess},StridedArray{KSPFischerGuess},Ptr{KSPFischerGuess},Ref{KSPFischerGuess}}) - ccall((:KSPFischerGuessDestroy,petscComplexDouble),PetscErrorCode,(Ptr{KSPFischerGuess},),arg1) -end -=# -#= skipping function with undefined symbols: - function KSPFischerGuessReset(arg0::Type{Complex128},arg1::KSPFischerGuess) - ccall((:KSPFischerGuessReset,petscComplexDouble),PetscErrorCode,(KSPFischerGuess,),arg1) -end -=# -#= skipping function with undefined symbols: - function KSPFischerGuessUpdate(arg1::KSPFischerGuess,arg2::Vec{Complex128}) - ccall((:KSPFischerGuessUpdate,petscComplexDouble),PetscErrorCode,(KSPFischerGuess,Vec{Complex128}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function KSPFischerGuessFormGuess(arg1::KSPFischerGuess,arg2::Vec{Complex128},arg3::Vec{Complex128}) - ccall((:KSPFischerGuessFormGuess,petscComplexDouble),PetscErrorCode,(KSPFischerGuess,Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) -end -=# -#= skipping function with undefined symbols: - function KSPFischerGuessSetFromOptions(arg0::Type{Complex128},arg1::KSPFischerGuess) - ccall((:KSPFischerGuessSetFromOptions,petscComplexDouble),PetscErrorCode,(KSPFischerGuess,),arg1) -end -=# -function KSPSetUseFischerGuess(arg1::KSP{Complex128},arg2::Integer,arg3::Integer) - err = ccall((:KSPSetUseFischerGuess,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Int64,Int64),arg1,arg2,arg3) - return err -end - -#= skipping function with undefined symbols: - function KSPSetFischerGuess(arg1::KSP{Complex128},arg2::KSPFischerGuess) - ccall((:KSPSetFischerGuess,petscComplexDouble),PetscErrorCode,(KSP{Complex128},KSPFischerGuess),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function KSPGetFischerGuess(arg1::KSP{Complex128},arg2::Union{Ptr{KSPFischerGuess},StridedArray{KSPFischerGuess},Ptr{KSPFischerGuess},Ref{KSPFischerGuess}}) - ccall((:KSPGetFischerGuess,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{KSPFischerGuess}),arg1,arg2) -end -=# -function MatCreateSchurComplement(arg1::Mat{Complex128},arg2::Mat{Complex128},arg3::Mat{Complex128},arg4::Mat{Complex128},arg5::Mat{Complex128},arg6::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateSchurComplement,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Mat{Complex128},Mat{Complex128},Mat{Complex128},Mat{Complex128},Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatSchurComplementGetKSP(arg1::Mat{Complex128},arg2::Union{Ptr{KSP{Complex128}},StridedArray{KSP{Complex128}},Ptr{KSP{Complex128}},Ref{KSP{Complex128}}}) - err = ccall((:MatSchurComplementGetKSP,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{KSP{Complex128}}),arg1,arg2) - return err -end - -function MatSchurComplementSetKSP(arg1::Mat{Complex128},arg2::KSP{Complex128}) - err = ccall((:MatSchurComplementSetKSP,petscComplexDouble),PetscErrorCode,(Mat{Complex128},KSP{Complex128}),arg1,arg2) - return err -end - -function MatSchurComplementSetSubMatrices(arg1::Mat{Complex128},arg2::Mat{Complex128},arg3::Mat{Complex128},arg4::Mat{Complex128},arg5::Mat{Complex128},arg6::Mat{Complex128}) - err = ccall((:MatSchurComplementSetSubMatrices,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Mat{Complex128},Mat{Complex128},Mat{Complex128},Mat{Complex128},Mat{Complex128}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatSchurComplementUpdateSubMatrices(arg1::Mat{Complex128},arg2::Mat{Complex128},arg3::Mat{Complex128},arg4::Mat{Complex128},arg5::Mat{Complex128},arg6::Mat{Complex128}) - err = ccall((:MatSchurComplementUpdateSubMatrices,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Mat{Complex128},Mat{Complex128},Mat{Complex128},Mat{Complex128},Mat{Complex128}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatSchurComplementGetSubMatrices(arg1::Mat{Complex128},arg2::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}},arg3::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}},arg4::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}},arg5::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}},arg6::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatSchurComplementGetSubMatrices,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Mat{Complex128}},Ptr{Mat{Complex128}},Ptr{Mat{Complex128}},Ptr{Mat{Complex128}},Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatSchurComplementSetAinvType(arg1::Mat{Complex128},arg2::MatSchurComplementAinvType) - err = ccall((:MatSchurComplementSetAinvType,petscComplexDouble),PetscErrorCode,(Mat{Complex128},MatSchurComplementAinvType),arg1,arg2) - return err -end - -function MatSchurComplementGetAinvType(arg1::Mat{Complex128},arg2::Union{Ptr{MatSchurComplementAinvType},StridedArray{MatSchurComplementAinvType},Ptr{MatSchurComplementAinvType},Ref{MatSchurComplementAinvType}}) - err = ccall((:MatSchurComplementGetAinvType,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{MatSchurComplementAinvType}),arg1,arg2) - return err -end - -function MatSchurComplementGetPmat(arg1::Mat{Complex128},arg2::MatReuse,arg3::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatSchurComplementGetPmat,petscComplexDouble),PetscErrorCode,(Mat{Complex128},MatReuse,Ptr{Mat{Complex128}}),arg1,arg2,arg3) - return err -end - -function MatSchurComplementComputeExplicitOperator(arg1::Mat{Complex128},arg2::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatSchurComplementComputeExplicitOperator,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Ptr{Mat{Complex128}}),arg1,arg2) - return err -end - -function MatGetSchurComplement(arg1::Mat{Complex128},arg2::IS{Complex128},arg3::IS{Complex128},arg4::IS{Complex128},arg5::IS{Complex128},arg6::MatReuse,arg7::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}},arg8::MatSchurComplementAinvType,arg9::MatReuse,arg10::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatGetSchurComplement,petscComplexDouble),PetscErrorCode,(Mat{Complex128},IS{Complex128},IS{Complex128},IS{Complex128},IS{Complex128},MatReuse,Ptr{Mat{Complex128}},MatSchurComplementAinvType,MatReuse,Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -function MatCreateSchurComplementPmat(arg1::Mat{Complex128},arg2::Mat{Complex128},arg3::Mat{Complex128},arg4::Mat{Complex128},arg5::MatSchurComplementAinvType,arg6::MatReuse,arg7::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateSchurComplementPmat,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Mat{Complex128},Mat{Complex128},Mat{Complex128},MatSchurComplementAinvType,MatReuse,Ptr{Mat{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function KSPSetDM(arg1::KSP{Complex128},arg2::DM) - err = ccall((:KSPSetDM,petscComplexDouble),PetscErrorCode,(KSP{Complex128},DM),arg1,arg2) - return err -end - -function KSPSetDMActive(arg1::KSP{Complex128},arg2::PetscBool) - err = ccall((:KSPSetDMActive,petscComplexDouble),PetscErrorCode,(KSP{Complex128},PetscBool),arg1,arg2) - return err -end - -function KSPGetDM(arg1::KSP{Complex128},arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:KSPGetDM,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{DM}),arg1,arg2) - return err -end - -function KSPSetApplicationContext(arg1::KSP{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPSetApplicationContext,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{Void}),arg1,arg2) - return err -end - -function KSPGetApplicationContext(arg1::KSP{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPGetApplicationContext,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{Void}),arg1,arg2) - return err -end - -function KSPSetComputeRHS(arg1::KSP{Complex128},func::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPSetComputeRHS,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{Void},Ptr{Void}),arg1,func,arg2) - return err -end - -function KSPSetComputeOperators(arg1::KSP{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPSetComputeOperators,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function KSPSetComputeInitialGuess(arg1::KSP{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPSetComputeInitialGuess,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMKSPSetComputeOperators(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMKSPSetComputeOperators,petscComplexDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMKSPGetComputeOperators(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMKSPGetComputeOperators,petscComplexDouble),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMKSPSetComputeRHS(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMKSPSetComputeRHS,petscComplexDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMKSPGetComputeRHS(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMKSPGetComputeRHS,petscComplexDouble),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMKSPSetComputeInitialGuess(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMKSPSetComputeInitialGuess,petscComplexDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMKSPGetComputeInitialGuess(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMKSPGetComputeInitialGuess,petscComplexDouble),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMGlobalToLocalSolve(arg1::DM,arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:DMGlobalToLocalSolve,petscComplexDouble),PetscErrorCode,(DM,Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function DMPlexProjectField(arg1::DM,arg2::Vec{Complex128},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::InsertMode,arg5::Vec{Complex128}) - err = ccall((:DMPlexProjectField,petscComplexDouble),PetscErrorCode,(DM,Vec{Complex128},Ptr{Ptr{Void}},InsertMode,Vec{Complex128}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function SNESInitializePackage(arg0::Type{Complex128}) - err = ccall((:SNESInitializePackage,petscComplexDouble),PetscErrorCode,()) - return err -end - -function SNESCreate(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}}) - err = ccall((:SNESCreate,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{SNES}),arg1,arg2) - return err -end - -function SNESReset(arg0::Type{Complex128},arg1::SNES) - err = ccall((:SNESReset,petscComplexDouble),PetscErrorCode,(SNES,),arg1) - return err -end - -function SNESDestroy(arg0::Type{Complex128},arg1::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}}) - err = ccall((:SNESDestroy,petscComplexDouble),PetscErrorCode,(Ptr{SNES},),arg1) - return err -end - -function SNESSetType(arg0::Type{Complex128},arg1::SNES,arg2::SNESType) - err = ccall((:SNESSetType,petscComplexDouble),PetscErrorCode,(SNES,Cstring),arg1,arg2) - return err -end - -function SNESMonitor(arg0::Type{Complex128},arg1::SNES,arg2::Integer,arg3::Float64) - err = ccall((:SNESMonitor,petscComplexDouble),PetscErrorCode,(SNES,Int64,Float64),arg1,arg2,arg3) - return err -end - -function SNESMonitorSet(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESMonitorSet,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESMonitorCancel(arg0::Type{Complex128},arg1::SNES) - err = ccall((:SNESMonitorCancel,petscComplexDouble),PetscErrorCode,(SNES,),arg1) - return err -end - -function SNESMonitorSAWs(arg0::Type{Complex128},arg1::SNES,arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESMonitorSAWs,petscComplexDouble),PetscErrorCode,(SNES,Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESMonitorSAWsCreate(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:SNESMonitorSAWsCreate,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Ptr{Void}}),arg1,arg2) - return err -end - -function SNESMonitorSAWsDestroy(arg0::Type{Complex128},arg1::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:SNESMonitorSAWsDestroy,petscComplexDouble),PetscErrorCode,(Ptr{Ptr{Void}},),arg1) - return err -end - -function SNESSetConvergenceHistory(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Integer,arg5::PetscBool) - err = ccall((:SNESSetConvergenceHistory,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Float64},Ptr{Int64},Int64,PetscBool),arg1,arg2,arg3,arg4,arg5) - return err -end - -function SNESGetConvergenceHistory(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESGetConvergenceHistory,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Ptr{Float64}},Ptr{Ptr{Int64}},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function SNESSetUp(arg0::Type{Complex128},arg1::SNES) - err = ccall((:SNESSetUp,petscComplexDouble),PetscErrorCode,(SNES,),arg1) - return err -end - -function SNESSolve(arg1::SNES,arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:SNESSolve,petscComplexDouble),PetscErrorCode,(SNES,Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function SNESSetErrorIfNotConverged(arg0::Type{Complex128},arg1::SNES,arg2::PetscBool) - err = ccall((:SNESSetErrorIfNotConverged,petscComplexDouble),PetscErrorCode,(SNES,PetscBool),arg1,arg2) - return err -end - -function SNESGetErrorIfNotConverged(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:SNESGetErrorIfNotConverged,petscComplexDouble),PetscErrorCode,(SNES,Ptr{PetscBool}),arg1,arg2) - return err -end - -function SNESSetWorkVecs(arg0::Type{Complex128},arg1::SNES,arg2::Integer) - err = ccall((:SNESSetWorkVecs,petscComplexDouble),PetscErrorCode,(SNES,Int64),arg1,arg2) - return err -end - -function SNESAddOptionsChecker(arg0::Type{Complex128},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESAddOptionsChecker,petscComplexDouble),PetscErrorCode,(Ptr{Void},),arg1) - return err -end - -function SNESSetUpdate(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESSetUpdate,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Void}),arg1,arg2) - return err -end - -function SNESRegister(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESRegister,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function SNESGetKSP(arg1::SNES,arg2::Union{Ptr{KSP{Complex128}},StridedArray{KSP{Complex128}},Ptr{KSP{Complex128}},Ref{KSP{Complex128}}}) - err = ccall((:SNESGetKSP,petscComplexDouble),PetscErrorCode,(SNES,Ptr{KSP{Complex128}}),arg1,arg2) - return err -end - -function SNESSetKSP(arg1::SNES,arg2::KSP{Complex128}) - err = ccall((:SNESSetKSP,petscComplexDouble),PetscErrorCode,(SNES,KSP{Complex128}),arg1,arg2) - return err -end - -function SNESSetSolution(arg1::SNES,arg2::Vec{Complex128}) - err = ccall((:SNESSetSolution,petscComplexDouble),PetscErrorCode,(SNES,Vec{Complex128}),arg1,arg2) - return err -end - -function SNESGetSolution(arg1::SNES,arg2::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:SNESGetSolution,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Vec{Complex128}}),arg1,arg2) - return err -end - -function SNESGetSolutionUpdate(arg1::SNES,arg2::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:SNESGetSolutionUpdate,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Vec{Complex128}}),arg1,arg2) - return err -end - -function SNESGetRhs(arg1::SNES,arg2::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:SNESGetRhs,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Vec{Complex128}}),arg1,arg2) - return err -end - -function SNESView(arg1::SNES,arg2::PetscViewer{Complex128}) - err = ccall((:SNESView,petscComplexDouble),PetscErrorCode,(SNES,PetscViewer{Complex128}),arg1,arg2) - return err -end - -function SNESLoad(arg1::SNES,arg2::PetscViewer{Complex128}) - err = ccall((:SNESLoad,petscComplexDouble),PetscErrorCode,(SNES,PetscViewer{Complex128}),arg1,arg2) - return err -end - -function SNESViewFromOptions(arg0::Type{Complex128},A::SNES,obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:SNESViewFromOptions,petscComplexDouble),PetscErrorCode,(SNES,PetscObject,Cstring),A,obj,name) - return err -end - -function SNESReasonView(arg1::SNES,arg2::PetscViewer{Complex128}) - err = ccall((:SNESReasonView,petscComplexDouble),PetscErrorCode,(SNES,PetscViewer{Complex128}),arg1,arg2) - return err -end - -function SNESReasonViewFromOptions(arg0::Type{Complex128},arg1::SNES) - err = ccall((:SNESReasonViewFromOptions,petscComplexDouble),PetscErrorCode,(SNES,),arg1) - return err -end - -function SNESSetOptionsPrefix(arg0::Type{Complex128},arg1::SNES,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:SNESSetOptionsPrefix,petscComplexDouble),PetscErrorCode,(SNES,Cstring),arg1,arg2) - return err -end - -function SNESAppendOptionsPrefix(arg0::Type{Complex128},arg1::SNES,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:SNESAppendOptionsPrefix,petscComplexDouble),PetscErrorCode,(SNES,Cstring),arg1,arg2) - return err -end - -function SNESGetOptionsPrefix(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:SNESGetOptionsPrefix,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function SNESSetFromOptions(arg0::Type{Complex128},arg1::SNES) - err = ccall((:SNESSetFromOptions,petscComplexDouble),PetscErrorCode,(SNES,),arg1) - return err -end - -function MatCreateSNESMF(arg1::SNES,arg2::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:MatCreateSNESMF,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Mat{Complex128}}),arg1,arg2) - return err -end - -function MatMFFDComputeJacobian(arg1::SNES,arg2::Vec{Complex128},arg3::Mat{Complex128},arg4::Mat{Complex128},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatMFFDComputeJacobian,petscComplexDouble),PetscErrorCode,(SNES,Vec{Complex128},Mat{Complex128},Mat{Complex128},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatDAADSetSNES(arg1::Mat{Complex128},arg2::SNES) - err = ccall((:MatDAADSetSNES,petscComplexDouble),PetscErrorCode,(Mat{Complex128},SNES),arg1,arg2) - return err -end - -function SNESGetType(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{SNESType},StridedArray{SNESType},Ptr{SNESType},Ref{SNESType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:SNESGetType,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function SNESMonitorDefault(arg0::Type{Complex128},arg1::SNES,arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESMonitorDefault,petscComplexDouble),PetscErrorCode,(SNES,Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESMonitorRange(arg0::Type{Complex128},arg1::SNES,arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESMonitorRange,petscComplexDouble),PetscErrorCode,(SNES,Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESMonitorRatio(arg0::Type{Complex128},arg1::SNES,arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESMonitorRatio,petscComplexDouble),PetscErrorCode,(SNES,Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESMonitorSetRatio(arg1::SNES,arg2::PetscViewer{Complex128}) - err = ccall((:SNESMonitorSetRatio,petscComplexDouble),PetscErrorCode,(SNES,PetscViewer{Complex128}),arg1,arg2) - return err -end - -function SNESMonitorSolution(arg0::Type{Complex128},arg1::SNES,arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESMonitorSolution,petscComplexDouble),PetscErrorCode,(SNES,Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESMonitorResidual(arg0::Type{Complex128},arg1::SNES,arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESMonitorResidual,petscComplexDouble),PetscErrorCode,(SNES,Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESMonitorSolutionUpdate(arg0::Type{Complex128},arg1::SNES,arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESMonitorSolutionUpdate,petscComplexDouble),PetscErrorCode,(SNES,Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESMonitorDefaultShort(arg0::Type{Complex128},arg1::SNES,arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESMonitorDefaultShort,petscComplexDouble),PetscErrorCode,(SNES,Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESMonitorDefaultField(arg0::Type{Complex128},arg1::SNES,arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESMonitorDefaultField,petscComplexDouble),PetscErrorCode,(SNES,Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESMonitorJacUpdateSpectrum(arg0::Type{Complex128},arg1::SNES,arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESMonitorJacUpdateSpectrum,petscComplexDouble),PetscErrorCode,(SNES,Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESMonitorFields(arg0::Type{Complex128},arg1::SNES,arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESMonitorFields,petscComplexDouble),PetscErrorCode,(SNES,Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPMonitorSNES(arg1::KSP{Complex128},arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPMonitorSNES,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPMonitorSNESLGResidualNormCreate(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Union{Ptr{Ptr{PetscObject}},StridedArray{Ptr{PetscObject}},Ptr{Ptr{PetscObject}},Ref{Ptr{PetscObject}}}) - err = ccall((:KSPMonitorSNESLGResidualNormCreate,petscComplexDouble),PetscErrorCode,(Cstring,Cstring,Cint,Cint,Cint,Cint,Ptr{Ptr{PetscObject}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function KSPMonitorSNESLGResidualNorm(arg1::KSP{Complex128},arg2::Integer,arg3::Float64,arg4::Union{Ptr{PetscObject},StridedArray{PetscObject},Ptr{PetscObject},Ref{PetscObject}}) - err = ccall((:KSPMonitorSNESLGResidualNorm,petscComplexDouble),PetscErrorCode,(KSP{Complex128},Int64,Float64,Ptr{PetscObject}),arg1,arg2,arg3,arg4) - return err -end - -function KSPMonitorSNESLGResidualNormDestroy(arg0::Type{Complex128},arg1::Union{Ptr{Ptr{PetscObject}},StridedArray{Ptr{PetscObject}},Ptr{Ptr{PetscObject}},Ref{Ptr{PetscObject}}}) - err = ccall((:KSPMonitorSNESLGResidualNormDestroy,petscComplexDouble),PetscErrorCode,(Ptr{Ptr{PetscObject}},),arg1) - return err -end - -function SNESSetTolerances(arg0::Type{Complex128},arg1::SNES,arg2::Float64,arg3::Float64,arg4::Float64,arg5::Integer,arg6::Integer) - err = ccall((:SNESSetTolerances,petscComplexDouble),PetscErrorCode,(SNES,Float64,Float64,Float64,Int64,Int64),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function SNESGetTolerances(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESGetTolerances,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function SNESSetTrustRegionTolerance(arg0::Type{Complex128},arg1::SNES,arg2::Float64) - err = ccall((:SNESSetTrustRegionTolerance,petscComplexDouble),PetscErrorCode,(SNES,Float64),arg1,arg2) - return err -end - -function SNESGetIterationNumber(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESGetIterationNumber,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Int64}),arg1,arg2) - return err -end - -function SNESSetIterationNumber(arg0::Type{Complex128},arg1::SNES,arg2::Integer) - err = ccall((:SNESSetIterationNumber,petscComplexDouble),PetscErrorCode,(SNES,Int64),arg1,arg2) - return err -end - -function SNESGetNonlinearStepFailures(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESGetNonlinearStepFailures,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Int64}),arg1,arg2) - return err -end - -function SNESSetMaxNonlinearStepFailures(arg0::Type{Complex128},arg1::SNES,arg2::Integer) - err = ccall((:SNESSetMaxNonlinearStepFailures,petscComplexDouble),PetscErrorCode,(SNES,Int64),arg1,arg2) - return err -end - -function SNESGetMaxNonlinearStepFailures(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESGetMaxNonlinearStepFailures,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Int64}),arg1,arg2) - return err -end - -function SNESGetNumberFunctionEvals(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESGetNumberFunctionEvals,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Int64}),arg1,arg2) - return err -end - -function SNESSetLagPreconditioner(arg0::Type{Complex128},arg1::SNES,arg2::Integer) - err = ccall((:SNESSetLagPreconditioner,petscComplexDouble),PetscErrorCode,(SNES,Int64),arg1,arg2) - return err -end - -function SNESGetLagPreconditioner(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESGetLagPreconditioner,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Int64}),arg1,arg2) - return err -end - -function SNESSetLagJacobian(arg0::Type{Complex128},arg1::SNES,arg2::Integer) - err = ccall((:SNESSetLagJacobian,petscComplexDouble),PetscErrorCode,(SNES,Int64),arg1,arg2) - return err -end - -function SNESGetLagJacobian(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESGetLagJacobian,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Int64}),arg1,arg2) - return err -end - -function SNESSetLagPreconditionerPersists(arg0::Type{Complex128},arg1::SNES,arg2::PetscBool) - err = ccall((:SNESSetLagPreconditionerPersists,petscComplexDouble),PetscErrorCode,(SNES,PetscBool),arg1,arg2) - return err -end - -function SNESSetLagJacobianPersists(arg0::Type{Complex128},arg1::SNES,arg2::PetscBool) - err = ccall((:SNESSetLagJacobianPersists,petscComplexDouble),PetscErrorCode,(SNES,PetscBool),arg1,arg2) - return err -end - -function SNESSetGridSequence(arg0::Type{Complex128},arg1::SNES,arg2::Integer) - err = ccall((:SNESSetGridSequence,petscComplexDouble),PetscErrorCode,(SNES,Int64),arg1,arg2) - return err -end - -function SNESGetGridSequence(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESGetGridSequence,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Int64}),arg1,arg2) - return err -end - -function SNESGetLinearSolveIterations(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESGetLinearSolveIterations,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Int64}),arg1,arg2) - return err -end - -function SNESGetLinearSolveFailures(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESGetLinearSolveFailures,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Int64}),arg1,arg2) - return err -end - -function SNESSetMaxLinearSolveFailures(arg0::Type{Complex128},arg1::SNES,arg2::Integer) - err = ccall((:SNESSetMaxLinearSolveFailures,petscComplexDouble),PetscErrorCode,(SNES,Int64),arg1,arg2) - return err -end - -function SNESGetMaxLinearSolveFailures(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESGetMaxLinearSolveFailures,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Int64}),arg1,arg2) - return err -end - -function SNESSetCountersReset(arg0::Type{Complex128},arg1::SNES,arg2::PetscBool) - err = ccall((:SNESSetCountersReset,petscComplexDouble),PetscErrorCode,(SNES,PetscBool),arg1,arg2) - return err -end - -function SNESKSPSetUseEW(arg0::Type{Complex128},arg1::SNES,arg2::PetscBool) - err = ccall((:SNESKSPSetUseEW,petscComplexDouble),PetscErrorCode,(SNES,PetscBool),arg1,arg2) - return err -end - -function SNESKSPGetUseEW(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:SNESKSPGetUseEW,petscComplexDouble),PetscErrorCode,(SNES,Ptr{PetscBool}),arg1,arg2) - return err -end - -function SNESKSPSetParametersEW(arg0::Type{Complex128},arg1::SNES,arg2::Integer,arg3::Float64,arg4::Float64,arg5::Float64,arg6::Float64,arg7::Float64,arg8::Float64) - err = ccall((:SNESKSPSetParametersEW,petscComplexDouble),PetscErrorCode,(SNES,Int64,Float64,Float64,Float64,Float64,Float64,Float64),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function SNESKSPGetParametersEW(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg7::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg8::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:SNESKSPGetParametersEW,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Int64},Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function SNESMonitorLGCreate(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Union{Ptr{Ptr{PetscObject}},StridedArray{Ptr{PetscObject}},Ptr{Ptr{PetscObject}},Ref{Ptr{PetscObject}}}) - err = ccall((:SNESMonitorLGCreate,petscComplexDouble),PetscErrorCode,(Cstring,Cstring,Cint,Cint,Cint,Cint,Ptr{Ptr{PetscObject}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function SNESMonitorLGResidualNorm(arg0::Type{Complex128},arg1::SNES,arg2::Integer,arg3::Float64,arg4::Union{Ptr{PetscObject},StridedArray{PetscObject},Ptr{PetscObject},Ref{PetscObject}}) - err = ccall((:SNESMonitorLGResidualNorm,petscComplexDouble),PetscErrorCode,(SNES,Int64,Float64,Ptr{PetscObject}),arg1,arg2,arg3,arg4) - return err -end - -function SNESMonitorLGDestroy(arg0::Type{Complex128},arg1::Union{Ptr{Ptr{PetscObject}},StridedArray{Ptr{PetscObject}},Ptr{Ptr{PetscObject}},Ref{Ptr{PetscObject}}}) - err = ccall((:SNESMonitorLGDestroy,petscComplexDouble),PetscErrorCode,(Ptr{Ptr{PetscObject}},),arg1) - return err -end - -function SNESMonitorLGRange(arg0::Type{Complex128},arg1::SNES,arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESMonitorLGRange,petscComplexDouble),PetscErrorCode,(SNES,Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESSetApplicationContext(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESSetApplicationContext,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Void}),arg1,arg2) - return err -end - -function SNESGetApplicationContext(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESGetApplicationContext,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Void}),arg1,arg2) - return err -end - -function SNESSetComputeApplicationContext(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESSetComputeApplicationContext,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function SNESPythonSetType(arg0::Type{Complex128},arg1::SNES,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:SNESPythonSetType,petscComplexDouble),PetscErrorCode,(SNES,Cstring),arg1,arg2) - return err -end - -function SNESSetFunctionDomainError(arg0::Type{Complex128},arg1::SNES) - err = ccall((:SNESSetFunctionDomainError,petscComplexDouble),PetscErrorCode,(SNES,),arg1) - return err -end - -function SNESGetFunctionDomainError(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:SNESGetFunctionDomainError,petscComplexDouble),PetscErrorCode,(SNES,Ptr{PetscBool}),arg1,arg2) - return err -end - -function SNESSetConvergenceTest(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESSetConvergenceTest,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESConvergedDefault(arg0::Type{Complex128},arg1::SNES,arg2::Integer,arg3::Float64,arg4::Float64,arg5::Float64,arg6::Union{Ptr{SNESConvergedReason},StridedArray{SNESConvergedReason},Ptr{SNESConvergedReason},Ref{SNESConvergedReason}},arg7::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESConvergedDefault,petscComplexDouble),PetscErrorCode,(SNES,Int64,Float64,Float64,Float64,Ptr{SNESConvergedReason},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function SNESConvergedSkip(arg0::Type{Complex128},arg1::SNES,arg2::Integer,arg3::Float64,arg4::Float64,arg5::Float64,arg6::Union{Ptr{SNESConvergedReason},StridedArray{SNESConvergedReason},Ptr{SNESConvergedReason},Ref{SNESConvergedReason}},arg7::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESConvergedSkip,petscComplexDouble),PetscErrorCode,(SNES,Int64,Float64,Float64,Float64,Ptr{SNESConvergedReason},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function SNESGetConvergedReason(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{SNESConvergedReason},StridedArray{SNESConvergedReason},Ptr{SNESConvergedReason},Ref{SNESConvergedReason}}) - err = ccall((:SNESGetConvergedReason,petscComplexDouble),PetscErrorCode,(SNES,Ptr{SNESConvergedReason}),arg1,arg2) - return err -end - -function SNESSkipConverged(arg0::Type{Complex128}) - err = ccall((:SNESSkipConverged,petscComplexDouble),Void,()) - return err -end - -function SNESSetFunction(arg1::SNES,arg2::Vec{Complex128},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESSetFunction,petscComplexDouble),PetscErrorCode,(SNES,Vec{Complex128},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESGetFunction(arg1::SNES,arg2::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:SNESGetFunction,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Vec{Complex128}},Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4) - return err -end - -function SNESComputeFunction(arg1::SNES,arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:SNESComputeFunction,petscComplexDouble),PetscErrorCode,(SNES,Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function SNESSetJacobian(arg1::SNES,arg2::Mat{Complex128},arg3::Mat{Complex128},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESSetJacobian,petscComplexDouble),PetscErrorCode,(SNES,Mat{Complex128},Mat{Complex128},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function SNESGetJacobian(arg1::SNES,arg2::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}},arg3::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}},arg4::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg5::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:SNESGetJacobian,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Mat{Complex128}},Ptr{Mat{Complex128}},Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function SNESObjectiveComputeFunctionDefaultFD(arg1::SNES,arg2::Vec{Complex128},arg3::Vec{Complex128},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESObjectiveComputeFunctionDefaultFD,petscComplexDouble),PetscErrorCode,(SNES,Vec{Complex128},Vec{Complex128},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESComputeJacobianDefault(arg1::SNES,arg2::Vec{Complex128},arg3::Mat{Complex128},arg4::Mat{Complex128},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESComputeJacobianDefault,petscComplexDouble),PetscErrorCode,(SNES,Vec{Complex128},Mat{Complex128},Mat{Complex128},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function SNESComputeJacobianDefaultColor(arg1::SNES,arg2::Vec{Complex128},arg3::Mat{Complex128},arg4::Mat{Complex128},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESComputeJacobianDefaultColor,petscComplexDouble),PetscErrorCode,(SNES,Vec{Complex128},Mat{Complex128},Mat{Complex128},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function SNESSetComputeInitialGuess(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESSetComputeInitialGuess,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function SNESSetPicard(arg1::SNES,arg2::Vec{Complex128},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Mat{Complex128},arg5::Mat{Complex128},arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg7::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESSetPicard,petscComplexDouble),PetscErrorCode,(SNES,Vec{Complex128},Ptr{Void},Mat{Complex128},Mat{Complex128},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function SNESGetPicard(arg1::SNES,arg2::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}},arg5::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}},arg6::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg7::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:SNESGetPicard,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Vec{Complex128}},Ptr{Ptr{Void}},Ptr{Mat{Complex128}},Ptr{Mat{Complex128}},Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function SNESSetInitialFunction(arg1::SNES,arg2::Vec{Complex128}) - err = ccall((:SNESSetInitialFunction,petscComplexDouble),PetscErrorCode,(SNES,Vec{Complex128}),arg1,arg2) - return err -end - -function SNESSetObjective(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESSetObjective,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function SNESGetObjective(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:SNESGetObjective,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function SNESComputeObjective(arg1::SNES,arg2::Vec{Complex128},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:SNESComputeObjective,petscComplexDouble),PetscErrorCode,(SNES,Vec{Complex128},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function SNESSetNormSchedule(arg0::Type{Complex128},arg1::SNES,arg2::SNESNormSchedule) - err = ccall((:SNESSetNormSchedule,petscComplexDouble),PetscErrorCode,(SNES,SNESNormSchedule),arg1,arg2) - return err -end - -function SNESGetNormSchedule(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{SNESNormSchedule},StridedArray{SNESNormSchedule},Ptr{SNESNormSchedule},Ref{SNESNormSchedule}}) - err = ccall((:SNESGetNormSchedule,petscComplexDouble),PetscErrorCode,(SNES,Ptr{SNESNormSchedule}),arg1,arg2) - return err -end - -function SNESSetFunctionType(arg0::Type{Complex128},arg1::SNES,arg2::SNESFunctionType) - err = ccall((:SNESSetFunctionType,petscComplexDouble),PetscErrorCode,(SNES,SNESFunctionType),arg1,arg2) - return err -end - -function SNESGetFunctionType(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{SNESFunctionType},StridedArray{SNESFunctionType},Ptr{SNESFunctionType},Ref{SNESFunctionType}}) - err = ccall((:SNESGetFunctionType,petscComplexDouble),PetscErrorCode,(SNES,Ptr{SNESFunctionType}),arg1,arg2) - return err -end - -function SNESSetNGS(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESSetNGS,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function SNESGetNGS(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:SNESGetNGS,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function SNESSetUseNGS(arg0::Type{Complex128},arg1::SNES,arg2::PetscBool) - err = ccall((:SNESSetUseNGS,petscComplexDouble),PetscErrorCode,(SNES,PetscBool),arg1,arg2) - return err -end - -function SNESGetUseNGS(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:SNESGetUseNGS,petscComplexDouble),PetscErrorCode,(SNES,Ptr{PetscBool}),arg1,arg2) - return err -end - -function SNESComputeNGS(arg1::SNES,arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:SNESComputeNGS,petscComplexDouble),PetscErrorCode,(SNES,Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function SNESNGSSetSweeps(arg0::Type{Complex128},arg1::SNES,arg2::Integer) - err = ccall((:SNESNGSSetSweeps,petscComplexDouble),PetscErrorCode,(SNES,Int64),arg1,arg2) - return err -end - -function SNESNGSGetSweeps(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESNGSGetSweeps,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Int64}),arg1,arg2) - return err -end - -function SNESNGSSetTolerances(arg0::Type{Complex128},arg1::SNES,arg2::Float64,arg3::Float64,arg4::Float64,arg5::Integer) - err = ccall((:SNESNGSSetTolerances,petscComplexDouble),PetscErrorCode,(SNES,Float64,Float64,Float64,Int64),arg1,arg2,arg3,arg4,arg5) - return err -end - -function SNESNGSGetTolerances(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESNGSGetTolerances,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function SNESUpdateCheckJacobian(arg0::Type{Complex128},arg1::SNES,arg2::Integer) - err = ccall((:SNESUpdateCheckJacobian,petscComplexDouble),PetscErrorCode,(SNES,Int64),arg1,arg2) - return err -end - -function SNESShellGetContext(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:SNESShellGetContext,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Ptr{Void}}),arg1,arg2) - return err -end - -function SNESShellSetContext(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESShellSetContext,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Void}),arg1,arg2) - return err -end - -function SNESShellSetSolve(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESShellSetSolve,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Void}),arg1,arg2) - return err -end - -function SNESLineSearchCreate(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{SNESLineSearch},StridedArray{SNESLineSearch},Ptr{SNESLineSearch},Ref{SNESLineSearch}}) - err = ccall((:SNESLineSearchCreate,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{SNESLineSearch}),arg1,arg2) - return err -end - -function SNESLineSearchReset(arg0::Type{Complex128},arg1::SNESLineSearch) - err = ccall((:SNESLineSearchReset,petscComplexDouble),PetscErrorCode,(SNESLineSearch,),arg1) - return err -end - -function SNESLineSearchView(arg1::SNESLineSearch,arg2::PetscViewer{Complex128}) - err = ccall((:SNESLineSearchView,petscComplexDouble),PetscErrorCode,(SNESLineSearch,PetscViewer{Complex128}),arg1,arg2) - return err -end - -function SNESLineSearchDestroy(arg0::Type{Complex128},arg1::Union{Ptr{SNESLineSearch},StridedArray{SNESLineSearch},Ptr{SNESLineSearch},Ref{SNESLineSearch}}) - err = ccall((:SNESLineSearchDestroy,petscComplexDouble),PetscErrorCode,(Ptr{SNESLineSearch},),arg1) - return err -end - -function SNESLineSearchSetType(arg0::Type{Complex128},arg1::SNESLineSearch,arg2::SNESLineSearchType) - err = ccall((:SNESLineSearchSetType,petscComplexDouble),PetscErrorCode,(SNESLineSearch,Cstring),arg1,arg2) - return err -end - -function SNESLineSearchSetFromOptions(arg0::Type{Complex128},arg1::SNESLineSearch) - err = ccall((:SNESLineSearchSetFromOptions,petscComplexDouble),PetscErrorCode,(SNESLineSearch,),arg1) - return err -end - -function SNESLineSearchSetFunction(arg0::Type{Complex128},arg1::SNESLineSearch,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESLineSearchSetFunction,petscComplexDouble),PetscErrorCode,(SNESLineSearch,Ptr{Void}),arg1,arg2) - return err -end - -function SNESLineSearchSetUp(arg0::Type{Complex128},arg1::SNESLineSearch) - err = ccall((:SNESLineSearchSetUp,petscComplexDouble),PetscErrorCode,(SNESLineSearch,),arg1) - return err -end - -function SNESLineSearchApply(arg1::SNESLineSearch,arg2::Vec{Complex128},arg3::Vec{Complex128},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Vec{Complex128}) - err = ccall((:SNESLineSearchApply,petscComplexDouble),PetscErrorCode,(SNESLineSearch,Vec{Complex128},Vec{Complex128},Ptr{Float64},Vec{Complex128}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function SNESLineSearchPreCheck(arg1::SNESLineSearch,arg2::Vec{Complex128},arg3::Vec{Complex128},arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:SNESLineSearchPreCheck,petscComplexDouble),PetscErrorCode,(SNESLineSearch,Vec{Complex128},Vec{Complex128},Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function SNESLineSearchPostCheck(arg1::SNESLineSearch,arg2::Vec{Complex128},arg3::Vec{Complex128},arg4::Vec{Complex128},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg6::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:SNESLineSearchPostCheck,petscComplexDouble),PetscErrorCode,(SNESLineSearch,Vec{Complex128},Vec{Complex128},Vec{Complex128},Ptr{PetscBool},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function SNESLineSearchSetWorkVecs(arg0::Type{Complex128},arg1::SNESLineSearch,arg2::Integer) - err = ccall((:SNESLineSearchSetWorkVecs,petscComplexDouble),PetscErrorCode,(SNESLineSearch,Int64),arg1,arg2) - return err -end - -function SNESLineSearchSetPreCheck(arg0::Type{Complex128},arg1::SNESLineSearch,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},ctx::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESLineSearchSetPreCheck,petscComplexDouble),PetscErrorCode,(SNESLineSearch,Ptr{Void},Ptr{Void}),arg1,arg2,ctx) - return err -end - -function SNESLineSearchSetPostCheck(arg0::Type{Complex128},arg1::SNESLineSearch,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},ctx::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESLineSearchSetPostCheck,petscComplexDouble),PetscErrorCode,(SNESLineSearch,Ptr{Void},Ptr{Void}),arg1,arg2,ctx) - return err -end - -function SNESLineSearchGetPreCheck(arg0::Type{Complex128},arg1::SNESLineSearch,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},ctx::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:SNESLineSearchGetPreCheck,petscComplexDouble),PetscErrorCode,(SNESLineSearch,Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,ctx) - return err -end - -function SNESLineSearchGetPostCheck(arg0::Type{Complex128},arg1::SNESLineSearch,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},ctx::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:SNESLineSearchGetPostCheck,petscComplexDouble),PetscErrorCode,(SNESLineSearch,Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,ctx) - return err -end - -function SNESLineSearchSetVIFunctions(arg0::Type{Complex128},arg1::SNESLineSearch,arg2::SNESLineSearchVIProjectFunc,arg3::SNESLineSearchVINormFunc) - err = ccall((:SNESLineSearchSetVIFunctions,petscComplexDouble),PetscErrorCode,(SNESLineSearch,SNESLineSearchVIProjectFunc,SNESLineSearchVINormFunc),arg1,arg2,arg3) - return err -end - -function SNESLineSearchGetVIFunctions(arg0::Type{Complex128},arg1::SNESLineSearch,arg2::Union{Ptr{SNESLineSearchVIProjectFunc},StridedArray{SNESLineSearchVIProjectFunc},Ptr{SNESLineSearchVIProjectFunc},Ref{SNESLineSearchVIProjectFunc}},arg3::Union{Ptr{SNESLineSearchVINormFunc},StridedArray{SNESLineSearchVINormFunc},Ptr{SNESLineSearchVINormFunc},Ref{SNESLineSearchVINormFunc}}) - err = ccall((:SNESLineSearchGetVIFunctions,petscComplexDouble),PetscErrorCode,(SNESLineSearch,Ptr{SNESLineSearchVIProjectFunc},Ptr{SNESLineSearchVINormFunc}),arg1,arg2,arg3) - return err -end - -function SNESLineSearchSetSNES(arg0::Type{Complex128},arg1::SNESLineSearch,arg2::SNES) - err = ccall((:SNESLineSearchSetSNES,petscComplexDouble),PetscErrorCode,(SNESLineSearch,SNES),arg1,arg2) - return err -end - -function SNESLineSearchGetSNES(arg0::Type{Complex128},arg1::SNESLineSearch,arg2::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}}) - err = ccall((:SNESLineSearchGetSNES,petscComplexDouble),PetscErrorCode,(SNESLineSearch,Ptr{SNES}),arg1,arg2) - return err -end - -function SNESLineSearchGetTolerances(arg0::Type{Complex128},arg1::SNESLineSearch,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESLineSearchGetTolerances,petscComplexDouble),PetscErrorCode,(SNESLineSearch,Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function SNESLineSearchSetTolerances(arg0::Type{Complex128},arg1::SNESLineSearch,arg2::Float64,arg3::Float64,arg4::Float64,arg5::Float64,arg6::Float64,arg7::Integer) - err = ccall((:SNESLineSearchSetTolerances,petscComplexDouble),PetscErrorCode,(SNESLineSearch,Float64,Float64,Float64,Float64,Float64,Int64),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function SNESLineSearchPreCheckPicard(arg1::SNESLineSearch,arg2::Vec{Complex128},arg3::Vec{Complex128},arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESLineSearchPreCheckPicard,petscComplexDouble),PetscErrorCode,(SNESLineSearch,Vec{Complex128},Vec{Complex128},Ptr{PetscBool},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function SNESLineSearchGetLambda(arg0::Type{Complex128},arg1::SNESLineSearch,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:SNESLineSearchGetLambda,petscComplexDouble),PetscErrorCode,(SNESLineSearch,Ptr{Float64}),arg1,arg2) - return err -end - -function SNESLineSearchSetLambda(arg0::Type{Complex128},arg1::SNESLineSearch,arg2::Float64) - err = ccall((:SNESLineSearchSetLambda,petscComplexDouble),PetscErrorCode,(SNESLineSearch,Float64),arg1,arg2) - return err -end - -function SNESLineSearchGetDamping(arg0::Type{Complex128},arg1::SNESLineSearch,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:SNESLineSearchGetDamping,petscComplexDouble),PetscErrorCode,(SNESLineSearch,Ptr{Float64}),arg1,arg2) - return err -end - -function SNESLineSearchSetDamping(arg0::Type{Complex128},arg1::SNESLineSearch,arg2::Float64) - err = ccall((:SNESLineSearchSetDamping,petscComplexDouble),PetscErrorCode,(SNESLineSearch,Float64),arg1,arg2) - return err -end - -function SNESLineSearchGetOrder(arg0::Type{Complex128},arg1::SNESLineSearch,order::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESLineSearchGetOrder,petscComplexDouble),PetscErrorCode,(SNESLineSearch,Ptr{Int64}),arg1,order) - return err -end - -function SNESLineSearchSetOrder(arg0::Type{Complex128},arg1::SNESLineSearch,order::Integer) - err = ccall((:SNESLineSearchSetOrder,petscComplexDouble),PetscErrorCode,(SNESLineSearch,Int64),arg1,order) - return err -end - -function SNESLineSearchGetReason(arg0::Type{Complex128},arg1::SNESLineSearch,arg2::Union{Ptr{SNESLineSearchReason},StridedArray{SNESLineSearchReason},Ptr{SNESLineSearchReason},Ref{SNESLineSearchReason}}) - err = ccall((:SNESLineSearchGetReason,petscComplexDouble),PetscErrorCode,(SNESLineSearch,Ptr{SNESLineSearchReason}),arg1,arg2) - return err -end - -function SNESLineSearchSetReason(arg0::Type{Complex128},arg1::SNESLineSearch,arg2::SNESLineSearchReason) - err = ccall((:SNESLineSearchSetReason,petscComplexDouble),PetscErrorCode,(SNESLineSearch,SNESLineSearchReason),arg1,arg2) - return err -end - -function SNESLineSearchGetVecs(arg1::SNESLineSearch,arg2::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}},arg3::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}},arg4::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}},arg5::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}},arg6::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:SNESLineSearchGetVecs,petscComplexDouble),PetscErrorCode,(SNESLineSearch,Ptr{Vec{Complex128}},Ptr{Vec{Complex128}},Ptr{Vec{Complex128}},Ptr{Vec{Complex128}},Ptr{Vec{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function SNESLineSearchSetVecs(arg1::SNESLineSearch,arg2::Vec{Complex128},arg3::Vec{Complex128},arg4::Vec{Complex128},arg5::Vec{Complex128},arg6::Vec{Complex128}) - err = ccall((:SNESLineSearchSetVecs,petscComplexDouble),PetscErrorCode,(SNESLineSearch,Vec{Complex128},Vec{Complex128},Vec{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function SNESLineSearchGetNorms(arg0::Type{Complex128},arg1::SNESLineSearch,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:SNESLineSearchGetNorms,petscComplexDouble),PetscErrorCode,(SNESLineSearch,Ptr{Float64},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function SNESLineSearchSetNorms(arg0::Type{Complex128},arg1::SNESLineSearch,arg2::Float64,arg3::Float64,arg4::Float64) - err = ccall((:SNESLineSearchSetNorms,petscComplexDouble),PetscErrorCode,(SNESLineSearch,Float64,Float64,Float64),arg1,arg2,arg3,arg4) - return err -end - -function SNESLineSearchComputeNorms(arg0::Type{Complex128},arg1::SNESLineSearch) - err = ccall((:SNESLineSearchComputeNorms,petscComplexDouble),PetscErrorCode,(SNESLineSearch,),arg1) - return err -end - -function SNESLineSearchSetComputeNorms(arg0::Type{Complex128},arg1::SNESLineSearch,arg2::PetscBool) - err = ccall((:SNESLineSearchSetComputeNorms,petscComplexDouble),PetscErrorCode,(SNESLineSearch,PetscBool),arg1,arg2) - return err -end - -function SNESLineSearchSetMonitor(arg0::Type{Complex128},arg1::SNESLineSearch,arg2::PetscBool) - err = ccall((:SNESLineSearchSetMonitor,petscComplexDouble),PetscErrorCode,(SNESLineSearch,PetscBool),arg1,arg2) - return err -end - -function SNESLineSearchGetMonitor(arg1::SNESLineSearch,arg2::Union{Ptr{PetscViewer{Complex128}},StridedArray{PetscViewer{Complex128}},Ptr{PetscViewer{Complex128}},Ref{PetscViewer{Complex128}}}) - err = ccall((:SNESLineSearchGetMonitor,petscComplexDouble),PetscErrorCode,(SNESLineSearch,Ptr{PetscViewer{Complex128}}),arg1,arg2) - return err -end - -function SNESLineSearchAppendOptionsPrefix(arg0::Type{Complex128},arg1::SNESLineSearch,prefix::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:SNESLineSearchAppendOptionsPrefix,petscComplexDouble),PetscErrorCode,(SNESLineSearch,Cstring),arg1,prefix) - return err -end - -function SNESLineSearchGetOptionsPrefix(arg0::Type{Complex128},arg1::SNESLineSearch,prefix::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:SNESLineSearchGetOptionsPrefix,petscComplexDouble),PetscErrorCode,(SNESLineSearch,Ptr{Ptr{UInt8}}),arg1,prefix) - return err -end - -function SNESLineSearchShellSetUserFunc(arg0::Type{Complex128},arg1::SNESLineSearch,arg2::SNESLineSearchUserFunc,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESLineSearchShellSetUserFunc,petscComplexDouble),PetscErrorCode,(SNESLineSearch,SNESLineSearchUserFunc,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function SNESLineSearchShellGetUserFunc(arg0::Type{Complex128},arg1::SNESLineSearch,arg2::Union{Ptr{SNESLineSearchUserFunc},StridedArray{SNESLineSearchUserFunc},Ptr{SNESLineSearchUserFunc},Ref{SNESLineSearchUserFunc}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:SNESLineSearchShellGetUserFunc,petscComplexDouble),PetscErrorCode,(SNESLineSearch,Ptr{SNESLineSearchUserFunc},Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function SNESLineSearchBTSetAlpha(arg0::Type{Complex128},arg1::SNESLineSearch,arg2::Float64) - err = ccall((:SNESLineSearchBTSetAlpha,petscComplexDouble),PetscErrorCode,(SNESLineSearch,Float64),arg1,arg2) - return err -end - -function SNESLineSearchBTGetAlpha(arg0::Type{Complex128},arg1::SNESLineSearch,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:SNESLineSearchBTGetAlpha,petscComplexDouble),PetscErrorCode,(SNESLineSearch,Ptr{Float64}),arg1,arg2) - return err -end - -function SNESLineSearchRegister(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESLineSearchRegister,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function SNESVISetVariableBounds(arg1::SNES,arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:SNESVISetVariableBounds,petscComplexDouble),PetscErrorCode,(SNES,Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function SNESVISetComputeVariableBounds(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESVISetComputeVariableBounds,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Void}),arg1,arg2) - return err -end - -function SNESVIGetInactiveSet(arg1::SNES,arg2::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:SNESVIGetInactiveSet,petscComplexDouble),PetscErrorCode,(SNES,Ptr{IS{Complex128}}),arg1,arg2) - return err -end - -function SNESVIGetActiveSetIS(arg1::SNES,arg2::Vec{Complex128},arg3::Vec{Complex128},arg4::Union{Ptr{IS{Complex128}},StridedArray{IS{Complex128}},Ptr{IS{Complex128}},Ref{IS{Complex128}}}) - err = ccall((:SNESVIGetActiveSetIS,petscComplexDouble),PetscErrorCode,(SNES,Vec{Complex128},Vec{Complex128},Ptr{IS{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function SNESVIComputeInactiveSetFnorm(arg1::SNES,arg2::Vec{Complex128},arg3::Vec{Complex128},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:SNESVIComputeInactiveSetFnorm,petscComplexDouble),PetscErrorCode,(SNES,Vec{Complex128},Vec{Complex128},Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function SNESVISetRedundancyCheck(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESVISetRedundancyCheck,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function SNESTestLocalMin(arg0::Type{Complex128},arg1::SNES) - err = ccall((:SNESTestLocalMin,petscComplexDouble),PetscErrorCode,(SNES,),arg1) - return err -end - -function SNESComputeJacobian(arg1::SNES,arg2::Vec{Complex128},arg3::Mat{Complex128},arg4::Mat{Complex128}) - err = ccall((:SNESComputeJacobian,petscComplexDouble),PetscErrorCode,(SNES,Vec{Complex128},Mat{Complex128},Mat{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function SNESSetDM(arg0::Type{Complex128},arg1::SNES,arg2::DM) - err = ccall((:SNESSetDM,petscComplexDouble),PetscErrorCode,(SNES,DM),arg1,arg2) - return err -end - -function SNESGetDM(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:SNESGetDM,petscComplexDouble),PetscErrorCode,(SNES,Ptr{DM}),arg1,arg2) - return err -end - -function SNESSetNPC(arg0::Type{Complex128},arg1::SNES,arg2::SNES) - err = ccall((:SNESSetNPC,petscComplexDouble),PetscErrorCode,(SNES,SNES),arg1,arg2) - return err -end - -function SNESGetNPC(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}}) - err = ccall((:SNESGetNPC,petscComplexDouble),PetscErrorCode,(SNES,Ptr{SNES}),arg1,arg2) - return err -end - -function SNESHasNPC(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:SNESHasNPC,petscComplexDouble),PetscErrorCode,(SNES,Ptr{PetscBool}),arg1,arg2) - return err -end - -function SNESApplyNPC(arg1::SNES,arg2::Vec{Complex128},arg3::Vec{Complex128},arg4::Vec{Complex128}) - err = ccall((:SNESApplyNPC,petscComplexDouble),PetscErrorCode,(SNES,Vec{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function SNESGetNPCFunction(arg1::SNES,arg2::Vec{Complex128},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:SNESGetNPCFunction,petscComplexDouble),PetscErrorCode,(SNES,Vec{Complex128},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function SNESComputeFunctionDefaultNPC(arg1::SNES,arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:SNESComputeFunctionDefaultNPC,petscComplexDouble),PetscErrorCode,(SNES,Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function SNESSetNPCSide(arg0::Type{Complex128},arg1::SNES,arg2::PCSide) - err = ccall((:SNESSetNPCSide,petscComplexDouble),PetscErrorCode,(SNES,PCSide),arg1,arg2) - return err -end - -function SNESGetNPCSide(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{PCSide},StridedArray{PCSide},Ptr{PCSide},Ref{PCSide}}) - err = ccall((:SNESGetNPCSide,petscComplexDouble),PetscErrorCode,(SNES,Ptr{PCSide}),arg1,arg2) - return err -end - -function SNESSetLineSearch(arg0::Type{Complex128},arg1::SNES,arg2::SNESLineSearch) - err = ccall((:SNESSetLineSearch,petscComplexDouble),PetscErrorCode,(SNES,SNESLineSearch),arg1,arg2) - return err -end - -function SNESGetLineSearch(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{SNESLineSearch},StridedArray{SNESLineSearch},Ptr{SNESLineSearch},Ref{SNESLineSearch}}) - err = ccall((:SNESGetLineSearch,petscComplexDouble),PetscErrorCode,(SNES,Ptr{SNESLineSearch}),arg1,arg2) - return err -end - -function SNESRestrictHookAdd(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESRestrictHookAdd,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function SNESRestrictHooksRun(arg0::Type{Complex128},arg1::SNES,arg2::SNES) - err = ccall((:SNESRestrictHooksRun,petscComplexDouble),PetscErrorCode,(SNES,SNES),arg1,arg2) - return err -end - -function SNESGetSNESLineSearch(arg0::Type{Complex128},snes::SNES,ls::Union{Ptr{SNESLineSearch},StridedArray{SNESLineSearch},Ptr{SNESLineSearch},Ref{SNESLineSearch}}) - err = ccall((:SNESGetSNESLineSearch,petscComplexDouble),PetscErrorCode,(SNES,Ptr{SNESLineSearch}),snes,ls) - return err -end - -function SNESSetSNESLineSearch(arg0::Type{Complex128},snes::SNES,ls::SNESLineSearch) - err = ccall((:SNESSetSNESLineSearch,petscComplexDouble),PetscErrorCode,(SNES,SNESLineSearch),snes,ls) - return err -end - -function SNESSetUpMatrices(arg0::Type{Complex128},arg1::SNES) - err = ccall((:SNESSetUpMatrices,petscComplexDouble),PetscErrorCode,(SNES,),arg1) - return err -end - -function DMSNESSetFunction(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMSNESSetFunction,petscComplexDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMSNESGetFunction(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:DMSNESGetFunction,petscComplexDouble),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function DMSNESSetNGS(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMSNESSetNGS,petscComplexDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMSNESGetNGS(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:DMSNESGetNGS,petscComplexDouble),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function DMSNESSetJacobian(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMSNESSetJacobian,petscComplexDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMSNESGetJacobian(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:DMSNESGetJacobian,petscComplexDouble),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function DMSNESSetPicard(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMSNESSetPicard,petscComplexDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMSNESGetPicard(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:DMSNESGetPicard,petscComplexDouble),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4) - return err -end - -function DMSNESSetObjective(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMSNESSetObjective,petscComplexDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMSNESGetObjective(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:DMSNESGetObjective,petscComplexDouble),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function DMDASNESSetFunctionLocal(arg0::Type{Complex128},arg1::DM,arg2::InsertMode,arg3::DMDASNESFunction,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDASNESSetFunctionLocal,petscComplexDouble),PetscErrorCode,(DM,InsertMode,DMDASNESFunction,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMDASNESSetJacobianLocal(arg0::Type{Complex128},arg1::DM,arg2::DMDASNESJacobian,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDASNESSetJacobianLocal,petscComplexDouble),PetscErrorCode,(DM,DMDASNESJacobian,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMDASNESSetObjectiveLocal(arg0::Type{Complex128},arg1::DM,arg2::DMDASNESObjective,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDASNESSetObjectiveLocal,petscComplexDouble),PetscErrorCode,(DM,DMDASNESObjective,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMDASNESSetPicardLocal(arg0::Type{Complex128},arg1::DM,arg2::InsertMode,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDASNESSetPicardLocal,petscComplexDouble),PetscErrorCode,(DM,InsertMode,Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexSNESGetGeometryFEM(arg1::DM,arg2::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:DMPlexSNESGetGeometryFEM,petscComplexDouble),PetscErrorCode,(DM,Ptr{Vec{Complex128}}),arg1,arg2) - return err -end - -function DMPlexSNESGetGeometryFVM(arg1::DM,arg2::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}},arg3::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:DMPlexSNESGetGeometryFVM,petscComplexDouble),PetscErrorCode,(DM,Ptr{Vec{Complex128}},Ptr{Vec{Complex128}},Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexSNESGetGradientDM(arg0::Type{Complex128},arg1::DM,arg2::PetscFV,arg3::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexSNESGetGradientDM,petscComplexDouble),PetscErrorCode,(DM,PetscFV,Ptr{DM}),arg1,arg2,arg3) - return err -end - -function DMPlexGetCellFields(arg1::DM,arg2::Integer,arg3::Integer,arg4::Vec{Complex128},arg5::Vec{Complex128},arg6::Vec{Complex128},arg7::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}},arg8::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}},arg9::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}}) - err = ccall((:DMPlexGetCellFields,petscComplexDouble),PetscErrorCode,(DM,Int64,Int64,Vec{Complex128},Vec{Complex128},Vec{Complex128},Ptr{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ptr{Ptr{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) - return err -end - -function DMPlexRestoreCellFields(arg1::DM,arg2::Integer,arg3::Integer,arg4::Vec{Complex128},arg5::Vec{Complex128},arg6::Vec{Complex128},arg7::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}},arg8::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}},arg9::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}}) - err = ccall((:DMPlexRestoreCellFields,petscComplexDouble),PetscErrorCode,(DM,Int64,Int64,Vec{Complex128},Vec{Complex128},Vec{Complex128},Ptr{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ptr{Ptr{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) - return err -end - -function DMPlexGetFaceFields(arg1::DM,arg2::Integer,arg3::Integer,arg4::Vec{Complex128},arg5::Vec{Complex128},arg6::Vec{Complex128},arg7::Vec{Complex128},arg8::Vec{Complex128},arg9::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}},arg10::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}}) - err = ccall((:DMPlexGetFaceFields,petscComplexDouble),PetscErrorCode,(DM,Int64,Int64,Vec{Complex128},Vec{Complex128},Vec{Complex128},Vec{Complex128},Vec{Complex128},Ptr{Ptr{Complex128}},Ptr{Ptr{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -function DMPlexRestoreFaceFields(arg1::DM,arg2::Integer,arg3::Integer,arg4::Vec{Complex128},arg5::Vec{Complex128},arg6::Vec{Complex128},arg7::Vec{Complex128},arg8::Vec{Complex128},arg9::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}},arg10::Union{Ptr{Ptr{Complex128}},StridedArray{Ptr{Complex128}},Ptr{Ptr{Complex128}},Ref{Ptr{Complex128}}}) - err = ccall((:DMPlexRestoreFaceFields,petscComplexDouble),PetscErrorCode,(DM,Int64,Int64,Vec{Complex128},Vec{Complex128},Vec{Complex128},Vec{Complex128},Vec{Complex128},Ptr{Ptr{Complex128}},Ptr{Ptr{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -#= skipping function with undefined symbols: - function DMPlexGetFaceGeometry(arg1::DM,arg2::Integer,arg3::Integer,arg4::Vec{Complex128},arg5::Vec{Complex128},arg6::Union{Ptr{Ptr{PetscFVFaceGeom}},StridedArray{Ptr{PetscFVFaceGeom}},Ptr{Ptr{PetscFVFaceGeom}},Ref{Ptr{PetscFVFaceGeom}}},arg7::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - ccall((:DMPlexGetFaceGeometry,petscComplexDouble),PetscErrorCode,(DM,Int64,Int64,Vec{Complex128},Vec{Complex128},Ptr{Ptr{PetscFVFaceGeom}},Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -#= skipping function with undefined symbols: - function DMPlexRestoreFaceGeometry(arg1::DM,arg2::Integer,arg3::Integer,arg4::Vec{Complex128},arg5::Vec{Complex128},arg6::Union{Ptr{Ptr{PetscFVFaceGeom}},StridedArray{Ptr{PetscFVFaceGeom}},Ptr{Ptr{PetscFVFaceGeom}},Ref{Ptr{PetscFVFaceGeom}}},arg7::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - ccall((:DMPlexRestoreFaceGeometry,petscComplexDouble),PetscErrorCode,(DM,Int64,Int64,Vec{Complex128},Vec{Complex128},Ptr{Ptr{PetscFVFaceGeom}},Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -function DMSNESSetFunctionLocal(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMSNESSetFunctionLocal,petscComplexDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMSNESSetJacobianLocal(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMSNESSetJacobianLocal,petscComplexDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function SNESMultiblockSetFields(arg0::Type{Complex128},arg1::SNES,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESMultiblockSetFields,petscComplexDouble),PetscErrorCode,(SNES,Cstring,Int64,Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function SNESMultiblockSetIS(arg1::SNES,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::IS{Complex128}) - err = ccall((:SNESMultiblockSetIS,petscComplexDouble),PetscErrorCode,(SNES,Cstring,IS{Complex128}),arg1,arg2,arg3) - return err -end - -function SNESMultiblockSetBlockSize(arg0::Type{Complex128},arg1::SNES,arg2::Integer) - err = ccall((:SNESMultiblockSetBlockSize,petscComplexDouble),PetscErrorCode,(SNES,Int64),arg1,arg2) - return err -end - -function SNESMultiblockSetType(arg0::Type{Complex128},arg1::SNES,arg2::PCCompositeType) - err = ccall((:SNESMultiblockSetType,petscComplexDouble),PetscErrorCode,(SNES,PCCompositeType),arg1,arg2) - return err -end - -function SNESMSRegister(arg0::Type{Complex128},arg1::SNESMSType,arg2::Integer,arg3::Integer,arg4::Float64,arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg7::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:SNESMSRegister,petscComplexDouble),PetscErrorCode,(Cstring,Int64,Int64,Float64,Ptr{Float64},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function SNESMSSetType(arg0::Type{Complex128},arg1::SNES,arg2::SNESMSType) - err = ccall((:SNESMSSetType,petscComplexDouble),PetscErrorCode,(SNES,Cstring),arg1,arg2) - return err -end - -function SNESMSFinalizePackage(arg0::Type{Complex128}) - err = ccall((:SNESMSFinalizePackage,petscComplexDouble),PetscErrorCode,()) - return err -end - -function SNESMSInitializePackage(arg0::Type{Complex128}) - err = ccall((:SNESMSInitializePackage,petscComplexDouble),PetscErrorCode,()) - return err -end - -function SNESMSRegisterDestroy(arg0::Type{Complex128}) - err = ccall((:SNESMSRegisterDestroy,petscComplexDouble),PetscErrorCode,()) - return err -end - -function SNESNGMRESSetRestartType(arg0::Type{Complex128},arg1::SNES,arg2::SNESNGMRESRestartType) - err = ccall((:SNESNGMRESSetRestartType,petscComplexDouble),PetscErrorCode,(SNES,SNESNGMRESRestartType),arg1,arg2) - return err -end - -function SNESNGMRESSetSelectType(arg0::Type{Complex128},arg1::SNES,arg2::SNESNGMRESSelectType) - err = ccall((:SNESNGMRESSetSelectType,petscComplexDouble),PetscErrorCode,(SNES,SNESNGMRESSelectType),arg1,arg2) - return err -end - -function SNESNCGSetType(arg0::Type{Complex128},arg1::SNES,arg2::SNESNCGType) - err = ccall((:SNESNCGSetType,petscComplexDouble),PetscErrorCode,(SNES,SNESNCGType),arg1,arg2) - return err -end - -function SNESQNSetType(arg0::Type{Complex128},arg1::SNES,arg2::SNESQNType) - err = ccall((:SNESQNSetType,petscComplexDouble),PetscErrorCode,(SNES,SNESQNType),arg1,arg2) - return err -end - -function SNESQNSetScaleType(arg0::Type{Complex128},arg1::SNES,arg2::SNESQNScaleType) - err = ccall((:SNESQNSetScaleType,petscComplexDouble),PetscErrorCode,(SNES,SNESQNScaleType),arg1,arg2) - return err -end - -function SNESQNSetRestartType(arg0::Type{Complex128},arg1::SNES,arg2::SNESQNRestartType) - err = ccall((:SNESQNSetRestartType,petscComplexDouble),PetscErrorCode,(SNES,SNESQNRestartType),arg1,arg2) - return err -end - -function SNESNASMGetType(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{PCASMType},StridedArray{PCASMType},Ptr{PCASMType},Ref{PCASMType}}) - err = ccall((:SNESNASMGetType,petscComplexDouble),PetscErrorCode,(SNES,Ptr{PCASMType}),arg1,arg2) - return err -end - -function SNESNASMSetType(arg0::Type{Complex128},arg1::SNES,arg2::PCASMType) - err = ccall((:SNESNASMSetType,petscComplexDouble),PetscErrorCode,(SNES,PCASMType),arg1,arg2) - return err -end - -function SNESNASMGetSubdomains(arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{SNES}},StridedArray{Ptr{SNES}},Ptr{Ptr{SNES}},Ref{Ptr{SNES}}},arg4::Union{Ptr{Ptr{VecScatter{Complex128}}},StridedArray{Ptr{VecScatter{Complex128}}},Ptr{Ptr{VecScatter{Complex128}}},Ref{Ptr{VecScatter{Complex128}}}},arg5::Union{Ptr{Ptr{VecScatter{Complex128}}},StridedArray{Ptr{VecScatter{Complex128}}},Ptr{Ptr{VecScatter{Complex128}}},Ref{Ptr{VecScatter{Complex128}}}},arg6::Union{Ptr{Ptr{VecScatter{Complex128}}},StridedArray{Ptr{VecScatter{Complex128}}},Ptr{Ptr{VecScatter{Complex128}}},Ref{Ptr{VecScatter{Complex128}}}}) - err = ccall((:SNESNASMGetSubdomains,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Int64},Ptr{Ptr{SNES}},Ptr{Ptr{VecScatter{Complex128}}},Ptr{Ptr{VecScatter{Complex128}}},Ptr{Ptr{VecScatter{Complex128}}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function SNESNASMSetSubdomains(arg1::SNES,arg2::Integer,arg3::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}},arg4::Union{Ptr{VecScatter{Complex128}},StridedArray{VecScatter{Complex128}},Ptr{VecScatter{Complex128}},Ref{VecScatter{Complex128}}},arg5::Union{Ptr{VecScatter{Complex128}},StridedArray{VecScatter{Complex128}},Ptr{VecScatter{Complex128}},Ref{VecScatter{Complex128}}},arg6::Union{Ptr{VecScatter{Complex128}},StridedArray{VecScatter{Complex128}},Ptr{VecScatter{Complex128}},Ref{VecScatter{Complex128}}}) - err = ccall((:SNESNASMSetSubdomains,petscComplexDouble),PetscErrorCode,(SNES,Int64,Ptr{SNES},Ptr{VecScatter{Complex128}},Ptr{VecScatter{Complex128}},Ptr{VecScatter{Complex128}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function SNESNASMSetDamping(arg0::Type{Complex128},arg1::SNES,arg2::Float64) - err = ccall((:SNESNASMSetDamping,petscComplexDouble),PetscErrorCode,(SNES,Float64),arg1,arg2) - return err -end - -function SNESNASMGetDamping(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:SNESNASMGetDamping,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Float64}),arg1,arg2) - return err -end - -function SNESNASMGetSubdomainVecs(arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Vec{Complex128}}},StridedArray{Ptr{Vec{Complex128}}},Ptr{Ptr{Vec{Complex128}}},Ref{Ptr{Vec{Complex128}}}},arg4::Union{Ptr{Ptr{Vec{Complex128}}},StridedArray{Ptr{Vec{Complex128}}},Ptr{Ptr{Vec{Complex128}}},Ref{Ptr{Vec{Complex128}}}},arg5::Union{Ptr{Ptr{Vec{Complex128}}},StridedArray{Ptr{Vec{Complex128}}},Ptr{Ptr{Vec{Complex128}}},Ref{Ptr{Vec{Complex128}}}},arg6::Union{Ptr{Ptr{Vec{Complex128}}},StridedArray{Ptr{Vec{Complex128}}},Ptr{Ptr{Vec{Complex128}}},Ref{Ptr{Vec{Complex128}}}}) - err = ccall((:SNESNASMGetSubdomainVecs,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Int64},Ptr{Ptr{Vec{Complex128}}},Ptr{Ptr{Vec{Complex128}}},Ptr{Ptr{Vec{Complex128}}},Ptr{Ptr{Vec{Complex128}}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function SNESNASMSetComputeFinalJacobian(arg0::Type{Complex128},arg1::SNES,arg2::PetscBool) - err = ccall((:SNESNASMSetComputeFinalJacobian,petscComplexDouble),PetscErrorCode,(SNES,PetscBool),arg1,arg2) - return err -end - -function SNESCompositeSetType(arg0::Type{Complex128},arg1::SNES,arg2::SNESCompositeType) - err = ccall((:SNESCompositeSetType,petscComplexDouble),PetscErrorCode,(SNES,SNESCompositeType),arg1,arg2) - return err -end - -function SNESCompositeAddSNES(arg0::Type{Complex128},arg1::SNES,arg2::SNESType) - err = ccall((:SNESCompositeAddSNES,petscComplexDouble),PetscErrorCode,(SNES,Cstring),arg1,arg2) - return err -end - -function SNESCompositeGetSNES(arg0::Type{Complex128},arg1::SNES,arg2::Integer,arg3::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}}) - err = ccall((:SNESCompositeGetSNES,petscComplexDouble),PetscErrorCode,(SNES,Int64,Ptr{SNES}),arg1,arg2,arg3) - return err -end - -function SNESCompositeGetNumber(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESCompositeGetNumber,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Int64}),arg1,arg2) - return err -end - -function SNESCompositeSetDamping(arg0::Type{Complex128},arg1::SNES,arg2::Integer,arg3::Float64) - err = ccall((:SNESCompositeSetDamping,petscComplexDouble),PetscErrorCode,(SNES,Int64,Float64),arg1,arg2,arg3) - return err -end - -function SNESFASSetType(arg0::Type{Complex128},arg1::SNES,arg2::SNESFASType) - err = ccall((:SNESFASSetType,petscComplexDouble),PetscErrorCode,(SNES,SNESFASType),arg1,arg2) - return err -end - -function SNESFASGetType(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{SNESFASType},StridedArray{SNESFASType},Ptr{SNESFASType},Ref{SNESFASType}}) - err = ccall((:SNESFASGetType,petscComplexDouble),PetscErrorCode,(SNES,Ptr{SNESFASType}),arg1,arg2) - return err -end - -function SNESFASSetLevels(arg0::Type{Complex128},arg1::SNES,arg2::Integer,arg3::Union{Ptr{MPI_Comm},StridedArray{MPI_Comm},Ptr{MPI_Comm},Ref{MPI_Comm}}) - err = ccall((:SNESFASSetLevels,petscComplexDouble),PetscErrorCode,(SNES,Int64,Ptr{comm_type}),arg1,arg2,arg3) - return err -end - -function SNESFASGetLevels(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESFASGetLevels,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Int64}),arg1,arg2) - return err -end - -function SNESFASGetCycleSNES(arg0::Type{Complex128},arg1::SNES,arg2::Integer,arg3::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}}) - err = ccall((:SNESFASGetCycleSNES,petscComplexDouble),PetscErrorCode,(SNES,Int64,Ptr{SNES}),arg1,arg2,arg3) - return err -end - -function SNESFASSetNumberSmoothUp(arg0::Type{Complex128},arg1::SNES,arg2::Integer) - err = ccall((:SNESFASSetNumberSmoothUp,petscComplexDouble),PetscErrorCode,(SNES,Int64),arg1,arg2) - return err -end - -function SNESFASSetNumberSmoothDown(arg0::Type{Complex128},arg1::SNES,arg2::Integer) - err = ccall((:SNESFASSetNumberSmoothDown,petscComplexDouble),PetscErrorCode,(SNES,Int64),arg1,arg2) - return err -end - -function SNESFASSetCycles(arg0::Type{Complex128},arg1::SNES,arg2::Integer) - err = ccall((:SNESFASSetCycles,petscComplexDouble),PetscErrorCode,(SNES,Int64),arg1,arg2) - return err -end - -function SNESFASSetMonitor(arg0::Type{Complex128},arg1::SNES,arg2::PetscBool) - err = ccall((:SNESFASSetMonitor,petscComplexDouble),PetscErrorCode,(SNES,PetscBool),arg1,arg2) - return err -end - -function SNESFASSetLog(arg0::Type{Complex128},arg1::SNES,arg2::PetscBool) - err = ccall((:SNESFASSetLog,petscComplexDouble),PetscErrorCode,(SNES,PetscBool),arg1,arg2) - return err -end - -function SNESFASSetGalerkin(arg0::Type{Complex128},arg1::SNES,arg2::PetscBool) - err = ccall((:SNESFASSetGalerkin,petscComplexDouble),PetscErrorCode,(SNES,PetscBool),arg1,arg2) - return err -end - -function SNESFASGetGalerkin(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:SNESFASGetGalerkin,petscComplexDouble),PetscErrorCode,(SNES,Ptr{PetscBool}),arg1,arg2) - return err -end - -function SNESFASCycleGetSmoother(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}}) - err = ccall((:SNESFASCycleGetSmoother,petscComplexDouble),PetscErrorCode,(SNES,Ptr{SNES}),arg1,arg2) - return err -end - -function SNESFASCycleGetSmootherUp(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}}) - err = ccall((:SNESFASCycleGetSmootherUp,petscComplexDouble),PetscErrorCode,(SNES,Ptr{SNES}),arg1,arg2) - return err -end - -function SNESFASCycleGetSmootherDown(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}}) - err = ccall((:SNESFASCycleGetSmootherDown,petscComplexDouble),PetscErrorCode,(SNES,Ptr{SNES}),arg1,arg2) - return err -end - -function SNESFASCycleGetCorrection(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}}) - err = ccall((:SNESFASCycleGetCorrection,petscComplexDouble),PetscErrorCode,(SNES,Ptr{SNES}),arg1,arg2) - return err -end - -function SNESFASCycleGetInterpolation(arg1::SNES,arg2::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:SNESFASCycleGetInterpolation,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Mat{Complex128}}),arg1,arg2) - return err -end - -function SNESFASCycleGetRestriction(arg1::SNES,arg2::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:SNESFASCycleGetRestriction,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Mat{Complex128}}),arg1,arg2) - return err -end - -function SNESFASCycleGetInjection(arg1::SNES,arg2::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:SNESFASCycleGetInjection,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Mat{Complex128}}),arg1,arg2) - return err -end - -function SNESFASCycleGetRScale(arg1::SNES,arg2::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:SNESFASCycleGetRScale,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Vec{Complex128}}),arg1,arg2) - return err -end - -function SNESFASCycleSetCycles(arg0::Type{Complex128},arg1::SNES,arg2::Integer) - err = ccall((:SNESFASCycleSetCycles,petscComplexDouble),PetscErrorCode,(SNES,Int64),arg1,arg2) - return err -end - -function SNESFASCycleIsFine(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:SNESFASCycleIsFine,petscComplexDouble),PetscErrorCode,(SNES,Ptr{PetscBool}),arg1,arg2) - return err -end - -function SNESFASSetInterpolation(arg1::SNES,arg2::Integer,arg3::Mat{Complex128}) - err = ccall((:SNESFASSetInterpolation,petscComplexDouble),PetscErrorCode,(SNES,Int64,Mat{Complex128}),arg1,arg2,arg3) - return err -end - -function SNESFASGetInterpolation(arg1::SNES,arg2::Integer,arg3::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:SNESFASGetInterpolation,petscComplexDouble),PetscErrorCode,(SNES,Int64,Ptr{Mat{Complex128}}),arg1,arg2,arg3) - return err -end - -function SNESFASSetRestriction(arg1::SNES,arg2::Integer,arg3::Mat{Complex128}) - err = ccall((:SNESFASSetRestriction,petscComplexDouble),PetscErrorCode,(SNES,Int64,Mat{Complex128}),arg1,arg2,arg3) - return err -end - -function SNESFASGetRestriction(arg1::SNES,arg2::Integer,arg3::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:SNESFASGetRestriction,petscComplexDouble),PetscErrorCode,(SNES,Int64,Ptr{Mat{Complex128}}),arg1,arg2,arg3) - return err -end - -function SNESFASSetInjection(arg1::SNES,arg2::Integer,arg3::Mat{Complex128}) - err = ccall((:SNESFASSetInjection,petscComplexDouble),PetscErrorCode,(SNES,Int64,Mat{Complex128}),arg1,arg2,arg3) - return err -end - -function SNESFASGetInjection(arg1::SNES,arg2::Integer,arg3::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}}) - err = ccall((:SNESFASGetInjection,petscComplexDouble),PetscErrorCode,(SNES,Int64,Ptr{Mat{Complex128}}),arg1,arg2,arg3) - return err -end - -function SNESFASSetRScale(arg1::SNES,arg2::Integer,arg3::Vec{Complex128}) - err = ccall((:SNESFASSetRScale,petscComplexDouble),PetscErrorCode,(SNES,Int64,Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function SNESFASGetRScale(arg1::SNES,arg2::Integer,arg3::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:SNESFASGetRScale,petscComplexDouble),PetscErrorCode,(SNES,Int64,Ptr{Vec{Complex128}}),arg1,arg2,arg3) - return err -end - -function SNESFASSetContinuation(arg0::Type{Complex128},arg1::SNES,arg2::PetscBool) - err = ccall((:SNESFASSetContinuation,petscComplexDouble),PetscErrorCode,(SNES,PetscBool),arg1,arg2) - return err -end - -function SNESFASGetSmoother(arg0::Type{Complex128},arg1::SNES,arg2::Integer,arg3::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}}) - err = ccall((:SNESFASGetSmoother,petscComplexDouble),PetscErrorCode,(SNES,Int64,Ptr{SNES}),arg1,arg2,arg3) - return err -end - -function SNESFASGetSmootherUp(arg0::Type{Complex128},arg1::SNES,arg2::Integer,arg3::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}}) - err = ccall((:SNESFASGetSmootherUp,petscComplexDouble),PetscErrorCode,(SNES,Int64,Ptr{SNES}),arg1,arg2,arg3) - return err -end - -function SNESFASGetSmootherDown(arg0::Type{Complex128},arg1::SNES,arg2::Integer,arg3::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}}) - err = ccall((:SNESFASGetSmootherDown,petscComplexDouble),PetscErrorCode,(SNES,Int64,Ptr{SNES}),arg1,arg2,arg3) - return err -end - -function SNESFASGetCoarseSolve(arg0::Type{Complex128},arg1::SNES,arg2::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}}) - err = ccall((:SNESFASGetCoarseSolve,petscComplexDouble),PetscErrorCode,(SNES,Ptr{SNES}),arg1,arg2) - return err -end - -function SNESFASFullSetDownSweep(arg0::Type{Complex128},arg1::SNES,arg2::PetscBool) - err = ccall((:SNESFASFullSetDownSweep,petscComplexDouble),PetscErrorCode,(SNES,PetscBool),arg1,arg2) - return err -end - -function SNESFASCreateCoarseVec(arg1::SNES,arg2::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:SNESFASCreateCoarseVec,petscComplexDouble),PetscErrorCode,(SNES,Ptr{Vec{Complex128}}),arg1,arg2) - return err -end - -function SNESFASRestrict(arg1::SNES,arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:SNESFASRestrict,petscComplexDouble),PetscErrorCode,(SNES,Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function DMSNESCheckFromOptions(arg1::SNES,arg2::Vec{Complex128},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:DMSNESCheckFromOptions,petscComplexDouble),PetscErrorCode,(SNES,Vec{Complex128},Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4) - return err -end - -function TSInitializePackage(arg0::Type{Complex128}) - err = ccall((:TSInitializePackage,petscComplexDouble),PetscErrorCode,()) - return err -end - -function TSCreate(arg1::MPI_Comm,arg2::Union{Ptr{TS{Complex128}},StridedArray{TS{Complex128}},Ptr{TS{Complex128}},Ref{TS{Complex128}}}) - err = ccall((:TSCreate,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{TS{Complex128}}),arg1,arg2) - return err -end - -function TSClone(arg1::TS{Complex128},arg2::Union{Ptr{TS{Complex128}},StridedArray{TS{Complex128}},Ptr{TS{Complex128}},Ref{TS{Complex128}}}) - err = ccall((:TSClone,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{TS{Complex128}}),arg1,arg2) - return err -end - -function TSDestroy(arg1::Union{Ptr{TS{Complex128}},StridedArray{TS{Complex128}},Ptr{TS{Complex128}},Ref{TS{Complex128}}}) - err = ccall((:TSDestroy,petscComplexDouble),PetscErrorCode,(Ptr{TS{Complex128}},),arg1) - return err -end - -function TSSetProblemType(arg1::TS{Complex128},arg2::TSProblemType) - err = ccall((:TSSetProblemType,petscComplexDouble),PetscErrorCode,(TS{Complex128},TSProblemType),arg1,arg2) - return err -end - -function TSGetProblemType(arg1::TS{Complex128},arg2::Union{Ptr{TSProblemType},StridedArray{TSProblemType},Ptr{TSProblemType},Ref{TSProblemType}}) - err = ccall((:TSGetProblemType,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{TSProblemType}),arg1,arg2) - return err -end - -function TSMonitor(arg1::TS{Complex128},arg2::Integer,arg3::Float64,arg4::Vec{Complex128}) - err = ccall((:TSMonitor,petscComplexDouble),PetscErrorCode,(TS{Complex128},Int64,Float64,Vec{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function TSMonitorSet(arg1::TS{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorSet,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function TSMonitorCancel(arg1::TS{Complex128}) - err = ccall((:TSMonitorCancel,petscComplexDouble),PetscErrorCode,(TS{Complex128},),arg1) - return err -end - -function TSSetOptionsPrefix(arg1::TS{Complex128},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:TSSetOptionsPrefix,petscComplexDouble),PetscErrorCode,(TS{Complex128},Cstring),arg1,arg2) - return err -end - -function TSAppendOptionsPrefix(arg1::TS{Complex128},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:TSAppendOptionsPrefix,petscComplexDouble),PetscErrorCode,(TS{Complex128},Cstring),arg1,arg2) - return err -end - -function TSGetOptionsPrefix(arg1::TS{Complex128},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:TSGetOptionsPrefix,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function TSSetFromOptions(arg1::TS{Complex128}) - err = ccall((:TSSetFromOptions,petscComplexDouble),PetscErrorCode,(TS{Complex128},),arg1) - return err -end - -function TSSetUp(arg1::TS{Complex128}) - err = ccall((:TSSetUp,petscComplexDouble),PetscErrorCode,(TS{Complex128},),arg1) - return err -end - -function TSReset(arg1::TS{Complex128}) - err = ccall((:TSReset,petscComplexDouble),PetscErrorCode,(TS{Complex128},),arg1) - return err -end - -function TSSetSolution(arg1::TS{Complex128},arg2::Vec{Complex128}) - err = ccall((:TSSetSolution,petscComplexDouble),PetscErrorCode,(TS{Complex128},Vec{Complex128}),arg1,arg2) - return err -end - -function TSGetSolution(arg1::TS{Complex128},arg2::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:TSGetSolution,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Vec{Complex128}}),arg1,arg2) - return err -end - -function TSSetSaveTrajectory(arg1::TS{Complex128}) - err = ccall((:TSSetSaveTrajectory,petscComplexDouble),PetscErrorCode,(TS{Complex128},),arg1) - return err -end - -function TSTrajectoryCreate(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{TSTrajectory},StridedArray{TSTrajectory},Ptr{TSTrajectory},Ref{TSTrajectory}}) - err = ccall((:TSTrajectoryCreate,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{TSTrajectory}),arg1,arg2) - return err -end - -function TSTrajectoryDestroy(arg0::Type{Complex128},arg1::Union{Ptr{TSTrajectory},StridedArray{TSTrajectory},Ptr{TSTrajectory},Ref{TSTrajectory}}) - err = ccall((:TSTrajectoryDestroy,petscComplexDouble),PetscErrorCode,(Ptr{TSTrajectory},),arg1) - return err -end - -function TSTrajectorySetType(arg0::Type{Complex128},arg1::TSTrajectory,arg2::TSTrajectoryType) - err = ccall((:TSTrajectorySetType,petscComplexDouble),PetscErrorCode,(TSTrajectory,Cstring),arg1,arg2) - return err -end - -function TSTrajectorySet(arg1::TSTrajectory,arg2::TS{Complex128},arg3::Integer,arg4::Float64,arg5::Vec{Complex128}) - err = ccall((:TSTrajectorySet,petscComplexDouble),PetscErrorCode,(TSTrajectory,TS{Complex128},Int64,Float64,Vec{Complex128}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSTrajectoryGet(arg1::TSTrajectory,arg2::TS{Complex128},arg3::Integer,arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TSTrajectoryGet,petscComplexDouble),PetscErrorCode,(TSTrajectory,TS{Complex128},Int64,Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function TSTrajectorySetFromOptions(arg0::Type{Complex128},arg1::TSTrajectory) - err = ccall((:TSTrajectorySetFromOptions,petscComplexDouble),PetscErrorCode,(TSTrajectory,),arg1) - return err -end - -function TSTrajectoryRegisterAll(arg0::Type{Complex128}) - err = ccall((:TSTrajectoryRegisterAll,petscComplexDouble),PetscErrorCode,()) - return err -end - -function TSSetCostGradients(arg1::TS{Complex128},arg2::Integer,arg3::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}},arg4::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:TSSetCostGradients,petscComplexDouble),PetscErrorCode,(TS{Complex128},Int64,Ptr{Vec{Complex128}},Ptr{Vec{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function TSGetCostGradients(arg1::TS{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Vec{Complex128}}},StridedArray{Ptr{Vec{Complex128}}},Ptr{Ptr{Vec{Complex128}}},Ref{Ptr{Vec{Complex128}}}},arg4::Union{Ptr{Ptr{Vec{Complex128}}},StridedArray{Ptr{Vec{Complex128}}},Ptr{Ptr{Vec{Complex128}}},Ref{Ptr{Vec{Complex128}}}}) - err = ccall((:TSGetCostGradients,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Int64},Ptr{Ptr{Vec{Complex128}}},Ptr{Ptr{Vec{Complex128}}}),arg1,arg2,arg3,arg4) - return err -end - -function TSSetCostIntegrand(arg1::TS{Complex128},arg2::Integer,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSSetCostIntegrand,petscComplexDouble),PetscErrorCode,(TS{Complex128},Int64,Ptr{Void},Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function TSGetCostIntegral(arg1::TS{Complex128},arg2::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:TSGetCostIntegral,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Vec{Complex128}}),arg1,arg2) - return err -end - -function TSAdjointSetRHSJacobian(arg1::TS{Complex128},arg2::Mat{Complex128},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSAdjointSetRHSJacobian,petscComplexDouble),PetscErrorCode,(TS{Complex128},Mat{Complex128},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function TSAdjointSolve(arg1::TS{Complex128}) - err = ccall((:TSAdjointSolve,petscComplexDouble),PetscErrorCode,(TS{Complex128},),arg1) - return err -end - -function TSAdjointSetSteps(arg1::TS{Complex128},arg2::Integer) - err = ccall((:TSAdjointSetSteps,petscComplexDouble),PetscErrorCode,(TS{Complex128},Int64),arg1,arg2) - return err -end - -function TSAdjointComputeRHSJacobian(arg1::TS{Complex128},arg2::Float64,arg3::Vec{Complex128},arg4::Mat{Complex128}) - err = ccall((:TSAdjointComputeRHSJacobian,petscComplexDouble),PetscErrorCode,(TS{Complex128},Float64,Vec{Complex128},Mat{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function TSAdjointStep(arg1::TS{Complex128}) - err = ccall((:TSAdjointStep,petscComplexDouble),PetscErrorCode,(TS{Complex128},),arg1) - return err -end - -function TSAdjointSetUp(arg1::TS{Complex128}) - err = ccall((:TSAdjointSetUp,petscComplexDouble),PetscErrorCode,(TS{Complex128},),arg1) - return err -end - -function TSAdjointComputeDRDPFunction(arg1::TS{Complex128},arg2::Float64,arg3::Vec{Complex128},arg4::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:TSAdjointComputeDRDPFunction,petscComplexDouble),PetscErrorCode,(TS{Complex128},Float64,Vec{Complex128},Ptr{Vec{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function TSAdjointComputeDRDYFunction(arg1::TS{Complex128},arg2::Float64,arg3::Vec{Complex128},arg4::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:TSAdjointComputeDRDYFunction,petscComplexDouble),PetscErrorCode,(TS{Complex128},Float64,Vec{Complex128},Ptr{Vec{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function TSAdjointComputeCostIntegrand(arg1::TS{Complex128},arg2::Float64,arg3::Vec{Complex128},arg4::Vec{Complex128}) - err = ccall((:TSAdjointComputeCostIntegrand,petscComplexDouble),PetscErrorCode,(TS{Complex128},Float64,Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function TSSetDuration(arg1::TS{Complex128},arg2::Integer,arg3::Float64) - err = ccall((:TSSetDuration,petscComplexDouble),PetscErrorCode,(TS{Complex128},Int64,Float64),arg1,arg2,arg3) - return err -end - -function TSGetDuration(arg1::TS{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TSGetDuration,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Int64},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function TSSetExactFinalTime(arg1::TS{Complex128},arg2::TSExactFinalTimeOption) - err = ccall((:TSSetExactFinalTime,petscComplexDouble),PetscErrorCode,(TS{Complex128},TSExactFinalTimeOption),arg1,arg2) - return err -end - -function TSMonitorDefault(arg1::TS{Complex128},arg2::Integer,arg3::Float64,arg4::Vec{Complex128},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorDefault,petscComplexDouble),PetscErrorCode,(TS{Complex128},Int64,Float64,Vec{Complex128},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSMonitorDrawCtxCreate(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Integer,arg9::Union{Ptr{TSMonitorDrawCtx},StridedArray{TSMonitorDrawCtx},Ptr{TSMonitorDrawCtx},Ref{TSMonitorDrawCtx}}) - err = ccall((:TSMonitorDrawCtxCreate,petscComplexDouble),PetscErrorCode,(comm_type,Cstring,Cstring,Cint,Cint,Cint,Cint,Int64,Ptr{TSMonitorDrawCtx}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) - return err -end - -function TSMonitorDrawCtxDestroy(arg0::Type{Complex128},arg1::Union{Ptr{TSMonitorDrawCtx},StridedArray{TSMonitorDrawCtx},Ptr{TSMonitorDrawCtx},Ref{TSMonitorDrawCtx}}) - err = ccall((:TSMonitorDrawCtxDestroy,petscComplexDouble),PetscErrorCode,(Ptr{TSMonitorDrawCtx},),arg1) - return err -end - -function TSMonitorDrawSolution(arg1::TS{Complex128},arg2::Integer,arg3::Float64,arg4::Vec{Complex128},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorDrawSolution,petscComplexDouble),PetscErrorCode,(TS{Complex128},Int64,Float64,Vec{Complex128},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSMonitorDrawSolutionPhase(arg1::TS{Complex128},arg2::Integer,arg3::Float64,arg4::Vec{Complex128},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorDrawSolutionPhase,petscComplexDouble),PetscErrorCode,(TS{Complex128},Int64,Float64,Vec{Complex128},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSMonitorDrawError(arg1::TS{Complex128},arg2::Integer,arg3::Float64,arg4::Vec{Complex128},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorDrawError,petscComplexDouble),PetscErrorCode,(TS{Complex128},Int64,Float64,Vec{Complex128},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSMonitorSolutionBinary(arg1::TS{Complex128},arg2::Integer,arg3::Float64,arg4::Vec{Complex128},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorSolutionBinary,petscComplexDouble),PetscErrorCode,(TS{Complex128},Int64,Float64,Vec{Complex128},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSMonitorSolutionVTK(arg1::TS{Complex128},arg2::Integer,arg3::Float64,arg4::Vec{Complex128},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorSolutionVTK,petscComplexDouble),PetscErrorCode,(TS{Complex128},Int64,Float64,Vec{Complex128},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSMonitorSolutionVTKDestroy(arg0::Type{Complex128},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorSolutionVTKDestroy,petscComplexDouble),PetscErrorCode,(Ptr{Void},),arg1) - return err -end - -function TSStep(arg1::TS{Complex128}) - err = ccall((:TSStep,petscComplexDouble),PetscErrorCode,(TS{Complex128},),arg1) - return err -end - -function TSEvaluateStep(arg1::TS{Complex128},arg2::Integer,arg3::Vec{Complex128},arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:TSEvaluateStep,petscComplexDouble),PetscErrorCode,(TS{Complex128},Int64,Vec{Complex128},Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function TSSolve(arg1::TS{Complex128},arg2::Vec{Complex128}) - err = ccall((:TSSolve,petscComplexDouble),PetscErrorCode,(TS{Complex128},Vec{Complex128}),arg1,arg2) - return err -end - -function TSGetEquationType(arg1::TS{Complex128},arg2::Union{Ptr{TSEquationType},StridedArray{TSEquationType},Ptr{TSEquationType},Ref{TSEquationType}}) - err = ccall((:TSGetEquationType,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{TSEquationType}),arg1,arg2) - return err -end - -function TSSetEquationType(arg1::TS{Complex128},arg2::TSEquationType) - err = ccall((:TSSetEquationType,petscComplexDouble),PetscErrorCode,(TS{Complex128},TSEquationType),arg1,arg2) - return err -end - -function TSGetConvergedReason(arg1::TS{Complex128},arg2::Union{Ptr{TSConvergedReason},StridedArray{TSConvergedReason},Ptr{TSConvergedReason},Ref{TSConvergedReason}}) - err = ccall((:TSGetConvergedReason,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{TSConvergedReason}),arg1,arg2) - return err -end - -function TSSetConvergedReason(arg1::TS{Complex128},arg2::TSConvergedReason) - err = ccall((:TSSetConvergedReason,petscComplexDouble),PetscErrorCode,(TS{Complex128},TSConvergedReason),arg1,arg2) - return err -end - -function TSGetSolveTime(arg1::TS{Complex128},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TSGetSolveTime,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Float64}),arg1,arg2) - return err -end - -function TSGetSNESIterations(arg1::TS{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:TSGetSNESIterations,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Int64}),arg1,arg2) - return err -end - -function TSGetKSPIterations(arg1::TS{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:TSGetKSPIterations,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Int64}),arg1,arg2) - return err -end - -function TSGetStepRejections(arg1::TS{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:TSGetStepRejections,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Int64}),arg1,arg2) - return err -end - -function TSSetMaxStepRejections(arg1::TS{Complex128},arg2::Integer) - err = ccall((:TSSetMaxStepRejections,petscComplexDouble),PetscErrorCode,(TS{Complex128},Int64),arg1,arg2) - return err -end - -function TSGetSNESFailures(arg1::TS{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:TSGetSNESFailures,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Int64}),arg1,arg2) - return err -end - -function TSSetMaxSNESFailures(arg1::TS{Complex128},arg2::Integer) - err = ccall((:TSSetMaxSNESFailures,petscComplexDouble),PetscErrorCode,(TS{Complex128},Int64),arg1,arg2) - return err -end - -function TSSetErrorIfStepFails(arg1::TS{Complex128},arg2::PetscBool) - err = ccall((:TSSetErrorIfStepFails,petscComplexDouble),PetscErrorCode,(TS{Complex128},PetscBool),arg1,arg2) - return err -end - -function TSRollBack(arg1::TS{Complex128}) - err = ccall((:TSRollBack,petscComplexDouble),PetscErrorCode,(TS{Complex128},),arg1) - return err -end - -function TSGetTotalSteps(arg1::TS{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:TSGetTotalSteps,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Int64}),arg1,arg2) - return err -end - -function TSGetStages(arg1::TS{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Vec{Complex128}}},StridedArray{Ptr{Vec{Complex128}}},Ptr{Ptr{Vec{Complex128}}},Ref{Ptr{Vec{Complex128}}}}) - err = ccall((:TSGetStages,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Int64},Ptr{Ptr{Vec{Complex128}}}),arg1,arg2,arg3) - return err -end - -function TSSetInitialTimeStep(arg1::TS{Complex128},arg2::Float64,arg3::Float64) - err = ccall((:TSSetInitialTimeStep,petscComplexDouble),PetscErrorCode,(TS{Complex128},Float64,Float64),arg1,arg2,arg3) - return err -end - -function TSGetTimeStep(arg1::TS{Complex128},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TSGetTimeStep,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Float64}),arg1,arg2) - return err -end - -function TSGetTime(arg1::TS{Complex128},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TSGetTime,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Float64}),arg1,arg2) - return err -end - -function TSSetTime(arg1::TS{Complex128},arg2::Float64) - err = ccall((:TSSetTime,petscComplexDouble),PetscErrorCode,(TS{Complex128},Float64),arg1,arg2) - return err -end - -function TSGetTimeStepNumber(arg1::TS{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:TSGetTimeStepNumber,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Int64}),arg1,arg2) - return err -end - -function TSSetTimeStep(arg1::TS{Complex128},arg2::Float64) - err = ccall((:TSSetTimeStep,petscComplexDouble),PetscErrorCode,(TS{Complex128},Float64),arg1,arg2) - return err -end - -function TSGetPrevTime(arg1::TS{Complex128},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TSGetPrevTime,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Float64}),arg1,arg2) - return err -end - -function TSSetRHSFunction(arg1::TS{Complex128},arg2::Vec{Complex128},arg3::TSRHSFunction,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSSetRHSFunction,petscComplexDouble),PetscErrorCode,(TS{Complex128},Vec{Complex128},TSRHSFunction,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function TSGetRHSFunction(arg1::TS{Complex128},arg2::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}},arg3::Union{Ptr{TSRHSFunction},StridedArray{TSRHSFunction},Ptr{TSRHSFunction},Ref{TSRHSFunction}},arg4::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:TSGetRHSFunction,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Vec{Complex128}},Ptr{TSRHSFunction},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4) - return err -end - -function TSSetRHSJacobian(arg1::TS{Complex128},arg2::Mat{Complex128},arg3::Mat{Complex128},arg4::TSRHSJacobian,arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSSetRHSJacobian,petscComplexDouble),PetscErrorCode,(TS{Complex128},Mat{Complex128},Mat{Complex128},TSRHSJacobian,Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSGetRHSJacobian(arg1::TS{Complex128},arg2::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}},arg3::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}},arg4::Union{Ptr{TSRHSJacobian},StridedArray{TSRHSJacobian},Ptr{TSRHSJacobian},Ref{TSRHSJacobian}},arg5::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:TSGetRHSJacobian,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Mat{Complex128}},Ptr{Mat{Complex128}},Ptr{TSRHSJacobian},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSRHSJacobianSetReuse(arg1::TS{Complex128},arg2::PetscBool) - err = ccall((:TSRHSJacobianSetReuse,petscComplexDouble),PetscErrorCode,(TS{Complex128},PetscBool),arg1,arg2) - return err -end - -function TSSetSolutionFunction(arg1::TS{Complex128},arg2::TSSolutionFunction,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSSetSolutionFunction,petscComplexDouble),PetscErrorCode,(TS{Complex128},TSSolutionFunction,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function TSSetForcingFunction(arg1::TS{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSSetForcingFunction,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function TSSetIFunction(arg1::TS{Complex128},arg2::Vec{Complex128},arg3::TSIFunction,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSSetIFunction,petscComplexDouble),PetscErrorCode,(TS{Complex128},Vec{Complex128},TSIFunction,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function TSGetIFunction(arg1::TS{Complex128},arg2::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}},arg3::Union{Ptr{TSIFunction},StridedArray{TSIFunction},Ptr{TSIFunction},Ref{TSIFunction}},arg4::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:TSGetIFunction,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Vec{Complex128}},Ptr{TSIFunction},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4) - return err -end - -function TSSetIJacobian(arg1::TS{Complex128},arg2::Mat{Complex128},arg3::Mat{Complex128},arg4::TSIJacobian,arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSSetIJacobian,petscComplexDouble),PetscErrorCode,(TS{Complex128},Mat{Complex128},Mat{Complex128},TSIJacobian,Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSGetIJacobian(arg1::TS{Complex128},arg2::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}},arg3::Union{Ptr{Mat{Complex128}},StridedArray{Mat{Complex128}},Ptr{Mat{Complex128}},Ref{Mat{Complex128}}},arg4::Union{Ptr{TSIJacobian},StridedArray{TSIJacobian},Ptr{TSIJacobian},Ref{TSIJacobian}},arg5::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:TSGetIJacobian,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Mat{Complex128}},Ptr{Mat{Complex128}},Ptr{TSIJacobian},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSComputeRHSFunctionLinear(arg1::TS{Complex128},arg2::Float64,arg3::Vec{Complex128},arg4::Vec{Complex128},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSComputeRHSFunctionLinear,petscComplexDouble),PetscErrorCode,(TS{Complex128},Float64,Vec{Complex128},Vec{Complex128},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSComputeRHSJacobianConstant(arg1::TS{Complex128},arg2::Float64,arg3::Vec{Complex128},arg4::Mat{Complex128},arg5::Mat{Complex128},arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSComputeRHSJacobianConstant,petscComplexDouble),PetscErrorCode,(TS{Complex128},Float64,Vec{Complex128},Mat{Complex128},Mat{Complex128},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function TSComputeIFunctionLinear(arg1::TS{Complex128},arg2::Float64,arg3::Vec{Complex128},arg4::Vec{Complex128},arg5::Vec{Complex128},arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSComputeIFunctionLinear,petscComplexDouble),PetscErrorCode,(TS{Complex128},Float64,Vec{Complex128},Vec{Complex128},Vec{Complex128},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function TSComputeIJacobianConstant(arg1::TS{Complex128},arg2::Float64,arg3::Vec{Complex128},arg4::Vec{Complex128},arg5::Float64,arg6::Mat{Complex128},arg7::Mat{Complex128},arg8::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSComputeIJacobianConstant,petscComplexDouble),PetscErrorCode,(TS{Complex128},Float64,Vec{Complex128},Vec{Complex128},Float64,Mat{Complex128},Mat{Complex128},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function TSComputeSolutionFunction(arg1::TS{Complex128},arg2::Float64,arg3::Vec{Complex128}) - err = ccall((:TSComputeSolutionFunction,petscComplexDouble),PetscErrorCode,(TS{Complex128},Float64,Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function TSComputeForcingFunction(arg1::TS{Complex128},arg2::Float64,arg3::Vec{Complex128}) - err = ccall((:TSComputeForcingFunction,petscComplexDouble),PetscErrorCode,(TS{Complex128},Float64,Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function TSComputeIJacobianDefaultColor(arg1::TS{Complex128},arg2::Float64,arg3::Vec{Complex128},arg4::Vec{Complex128},arg5::Float64,arg6::Mat{Complex128},arg7::Mat{Complex128},arg8::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSComputeIJacobianDefaultColor,petscComplexDouble),PetscErrorCode,(TS{Complex128},Float64,Vec{Complex128},Vec{Complex128},Float64,Mat{Complex128},Mat{Complex128},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function TSSetPreStep(arg1::TS{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSSetPreStep,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Void}),arg1,arg2) - return err -end - -function TSSetPreStage(arg1::TS{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSSetPreStage,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Void}),arg1,arg2) - return err -end - -function TSSetPostStage(arg1::TS{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSSetPostStage,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Void}),arg1,arg2) - return err -end - -function TSSetPostStep(arg1::TS{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSSetPostStep,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Void}),arg1,arg2) - return err -end - -function TSPreStep(arg1::TS{Complex128}) - err = ccall((:TSPreStep,petscComplexDouble),PetscErrorCode,(TS{Complex128},),arg1) - return err -end - -function TSPreStage(arg1::TS{Complex128},arg2::Float64) - err = ccall((:TSPreStage,petscComplexDouble),PetscErrorCode,(TS{Complex128},Float64),arg1,arg2) - return err -end - -function TSPostStage(arg1::TS{Complex128},arg2::Float64,arg3::Integer,arg4::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:TSPostStage,petscComplexDouble),PetscErrorCode,(TS{Complex128},Float64,Int64,Ptr{Vec{Complex128}}),arg1,arg2,arg3,arg4) - return err -end - -function TSPostStep(arg1::TS{Complex128}) - err = ccall((:TSPostStep,petscComplexDouble),PetscErrorCode,(TS{Complex128},),arg1) - return err -end - -function TSSetRetainStages(arg1::TS{Complex128},arg2::PetscBool) - err = ccall((:TSSetRetainStages,petscComplexDouble),PetscErrorCode,(TS{Complex128},PetscBool),arg1,arg2) - return err -end - -function TSInterpolate(arg1::TS{Complex128},arg2::Float64,arg3::Vec{Complex128}) - err = ccall((:TSInterpolate,petscComplexDouble),PetscErrorCode,(TS{Complex128},Float64,Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function TSSetTolerances(arg1::TS{Complex128},arg2::Float64,arg3::Vec{Complex128},arg4::Float64,arg5::Vec{Complex128}) - err = ccall((:TSSetTolerances,petscComplexDouble),PetscErrorCode,(TS{Complex128},Float64,Vec{Complex128},Float64,Vec{Complex128}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSGetTolerances(arg1::TS{Complex128},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:TSGetTolerances,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Float64},Ptr{Vec{Complex128}},Ptr{Float64},Ptr{Vec{Complex128}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSErrorWeightedNormInfinity(arg1::TS{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TSErrorWeightedNormInfinity,petscComplexDouble),PetscErrorCode,(TS{Complex128},Vec{Complex128},Vec{Complex128},Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function TSErrorWeightedNorm2(arg1::TS{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TSErrorWeightedNorm2,petscComplexDouble),PetscErrorCode,(TS{Complex128},Vec{Complex128},Vec{Complex128},Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function TSErrorWeightedNorm(arg1::TS{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128},arg4::NormType,arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TSErrorWeightedNorm,petscComplexDouble),PetscErrorCode,(TS{Complex128},Vec{Complex128},Vec{Complex128},NormType,Ptr{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSSetCFLTimeLocal(arg1::TS{Complex128},arg2::Float64) - err = ccall((:TSSetCFLTimeLocal,petscComplexDouble),PetscErrorCode,(TS{Complex128},Float64),arg1,arg2) - return err -end - -function TSGetCFLTime(arg1::TS{Complex128},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TSGetCFLTime,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Float64}),arg1,arg2) - return err -end - -function TSPseudoSetTimeStep(arg1::TS{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSPseudoSetTimeStep,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function TSPseudoTimeStepDefault(arg1::TS{Complex128},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSPseudoTimeStepDefault,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Float64},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function TSPseudoComputeTimeStep(arg1::TS{Complex128},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TSPseudoComputeTimeStep,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Float64}),arg1,arg2) - return err -end - -function TSPseudoSetMaxTimeStep(arg1::TS{Complex128},arg2::Float64) - err = ccall((:TSPseudoSetMaxTimeStep,petscComplexDouble),PetscErrorCode,(TS{Complex128},Float64),arg1,arg2) - return err -end - -function TSPseudoSetVerifyTimeStep(arg1::TS{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSPseudoSetVerifyTimeStep,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function TSPseudoVerifyTimeStepDefault(arg1::TS{Complex128},arg2::Vec{Complex128},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:TSPseudoVerifyTimeStepDefault,petscComplexDouble),PetscErrorCode,(TS{Complex128},Vec{Complex128},Ptr{Void},Ptr{Float64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSPseudoVerifyTimeStep(arg1::TS{Complex128},arg2::Vec{Complex128},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:TSPseudoVerifyTimeStep,petscComplexDouble),PetscErrorCode,(TS{Complex128},Vec{Complex128},Ptr{Float64},Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function TSPseudoSetTimeStepIncrement(arg1::TS{Complex128},arg2::Float64) - err = ccall((:TSPseudoSetTimeStepIncrement,petscComplexDouble),PetscErrorCode,(TS{Complex128},Float64),arg1,arg2) - return err -end - -function TSPseudoIncrementDtFromInitialDt(arg1::TS{Complex128}) - err = ccall((:TSPseudoIncrementDtFromInitialDt,petscComplexDouble),PetscErrorCode,(TS{Complex128},),arg1) - return err -end - -function TSPythonSetType(arg1::TS{Complex128},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:TSPythonSetType,petscComplexDouble),PetscErrorCode,(TS{Complex128},Cstring),arg1,arg2) - return err -end - -function TSComputeRHSFunction(arg1::TS{Complex128},arg2::Float64,arg3::Vec{Complex128},arg4::Vec{Complex128}) - err = ccall((:TSComputeRHSFunction,petscComplexDouble),PetscErrorCode,(TS{Complex128},Float64,Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function TSComputeRHSJacobian(arg1::TS{Complex128},arg2::Float64,arg3::Vec{Complex128},arg4::Mat{Complex128},arg5::Mat{Complex128}) - err = ccall((:TSComputeRHSJacobian,petscComplexDouble),PetscErrorCode,(TS{Complex128},Float64,Vec{Complex128},Mat{Complex128},Mat{Complex128}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSComputeIFunction(arg1::TS{Complex128},arg2::Float64,arg3::Vec{Complex128},arg4::Vec{Complex128},arg5::Vec{Complex128},arg6::PetscBool) - err = ccall((:TSComputeIFunction,petscComplexDouble),PetscErrorCode,(TS{Complex128},Float64,Vec{Complex128},Vec{Complex128},Vec{Complex128},PetscBool),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function TSComputeIJacobian(arg1::TS{Complex128},arg2::Float64,arg3::Vec{Complex128},arg4::Vec{Complex128},arg5::Float64,arg6::Mat{Complex128},arg7::Mat{Complex128},arg8::PetscBool) - err = ccall((:TSComputeIJacobian,petscComplexDouble),PetscErrorCode,(TS{Complex128},Float64,Vec{Complex128},Vec{Complex128},Float64,Mat{Complex128},Mat{Complex128},PetscBool),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function TSComputeLinearStability(arg1::TS{Complex128},arg2::Float64,arg3::Float64,arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TSComputeLinearStability,petscComplexDouble),PetscErrorCode,(TS{Complex128},Float64,Float64,Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSVISetVariableBounds(arg1::TS{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:TSVISetVariableBounds,petscComplexDouble),PetscErrorCode,(TS{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function DMTSSetRHSFunction(arg0::Type{Complex128},arg1::DM,arg2::TSRHSFunction,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMTSSetRHSFunction,petscComplexDouble),PetscErrorCode,(DM,TSRHSFunction,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMTSGetRHSFunction(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{TSRHSFunction},StridedArray{TSRHSFunction},Ptr{TSRHSFunction},Ref{TSRHSFunction}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:DMTSGetRHSFunction,petscComplexDouble),PetscErrorCode,(DM,Ptr{TSRHSFunction},Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function DMTSSetRHSJacobian(arg0::Type{Complex128},arg1::DM,arg2::TSRHSJacobian,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMTSSetRHSJacobian,petscComplexDouble),PetscErrorCode,(DM,TSRHSJacobian,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMTSGetRHSJacobian(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{TSRHSJacobian},StridedArray{TSRHSJacobian},Ptr{TSRHSJacobian},Ref{TSRHSJacobian}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:DMTSGetRHSJacobian,petscComplexDouble),PetscErrorCode,(DM,Ptr{TSRHSJacobian},Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function DMTSSetIFunction(arg0::Type{Complex128},arg1::DM,arg2::TSIFunction,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMTSSetIFunction,petscComplexDouble),PetscErrorCode,(DM,TSIFunction,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMTSGetIFunction(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{TSIFunction},StridedArray{TSIFunction},Ptr{TSIFunction},Ref{TSIFunction}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:DMTSGetIFunction,petscComplexDouble),PetscErrorCode,(DM,Ptr{TSIFunction},Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function DMTSSetIJacobian(arg0::Type{Complex128},arg1::DM,arg2::TSIJacobian,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMTSSetIJacobian,petscComplexDouble),PetscErrorCode,(DM,TSIJacobian,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMTSGetIJacobian(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{TSIJacobian},StridedArray{TSIJacobian},Ptr{TSIJacobian},Ref{TSIJacobian}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:DMTSGetIJacobian,petscComplexDouble),PetscErrorCode,(DM,Ptr{TSIJacobian},Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function DMTSSetSolutionFunction(arg0::Type{Complex128},arg1::DM,arg2::TSSolutionFunction,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMTSSetSolutionFunction,petscComplexDouble),PetscErrorCode,(DM,TSSolutionFunction,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMTSGetSolutionFunction(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{TSSolutionFunction},StridedArray{TSSolutionFunction},Ptr{TSSolutionFunction},Ref{TSSolutionFunction}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:DMTSGetSolutionFunction,petscComplexDouble),PetscErrorCode,(DM,Ptr{TSSolutionFunction},Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function DMTSSetForcingFunction(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMTSSetForcingFunction,petscComplexDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMTSGetForcingFunction(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:DMTSGetForcingFunction,petscComplexDouble),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function DMTSGetMinRadius(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:DMTSGetMinRadius,petscComplexDouble),PetscErrorCode,(DM,Ptr{Float64}),arg1,arg2) - return err -end - -function DMTSSetMinRadius(arg0::Type{Complex128},arg1::DM,arg2::Float64) - err = ccall((:DMTSSetMinRadius,petscComplexDouble),PetscErrorCode,(DM,Float64),arg1,arg2) - return err -end - -function DMTSCheckFromOptions(arg1::TS{Complex128},arg2::Vec{Complex128},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:DMTSCheckFromOptions,petscComplexDouble),PetscErrorCode,(TS{Complex128},Vec{Complex128},Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4) - return err -end - -function DMTSSetIFunctionLocal(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMTSSetIFunctionLocal,petscComplexDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMTSSetIJacobianLocal(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMTSSetIJacobianLocal,petscComplexDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMTSSetRHSFunctionLocal(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMTSSetRHSFunctionLocal,petscComplexDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMTSSetIFunctionSerialize(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMTSSetIFunctionSerialize,petscComplexDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMTSSetIJacobianSerialize(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMTSSetIJacobianSerialize,petscComplexDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMDATSSetRHSFunctionLocal(arg0::Type{Complex128},arg1::DM,arg2::InsertMode,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDATSSetRHSFunctionLocal,petscComplexDouble),PetscErrorCode,(DM,InsertMode,Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMDATSSetRHSJacobianLocal(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDATSSetRHSJacobianLocal,petscComplexDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMDATSSetIFunctionLocal(arg0::Type{Complex128},arg1::DM,arg2::InsertMode,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDATSSetIFunctionLocal,petscComplexDouble),PetscErrorCode,(DM,InsertMode,Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMDATSSetIJacobianLocal(arg0::Type{Complex128},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDATSSetIJacobianLocal,petscComplexDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMPlexTSGetGeometryFVM(arg1::DM,arg2::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}},arg3::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:DMPlexTSGetGeometryFVM,petscComplexDouble),PetscErrorCode,(DM,Ptr{Vec{Complex128}},Ptr{Vec{Complex128}},Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function TSMonitorDMDARayDestroy(arg0::Type{Complex128},arg1::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:TSMonitorDMDARayDestroy,petscComplexDouble),PetscErrorCode,(Ptr{Ptr{Void}},),arg1) - return err -end - -function TSMonitorDMDARay(arg1::TS{Complex128},arg2::Integer,arg3::Float64,arg4::Vec{Complex128},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorDMDARay,petscComplexDouble),PetscErrorCode,(TS{Complex128},Int64,Float64,Vec{Complex128},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSMonitorLGDMDARay(arg1::TS{Complex128},arg2::Integer,arg3::Float64,arg4::Vec{Complex128},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorLGDMDARay,petscComplexDouble),PetscErrorCode,(TS{Complex128},Int64,Float64,Vec{Complex128},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSGetType(arg1::TS{Complex128},arg2::Union{Ptr{TSType},StridedArray{TSType},Ptr{TSType},Ref{TSType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:TSGetType,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function TSSetType(arg1::TS{Complex128},arg2::TSType) - err = ccall((:TSSetType,petscComplexDouble),PetscErrorCode,(TS{Complex128},Cstring),arg1,arg2) - return err -end - -function TSRegister(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSRegister,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function TSGetSNES(arg1::TS{Complex128},arg2::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}}) - err = ccall((:TSGetSNES,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{SNES}),arg1,arg2) - return err -end - -function TSSetSNES(arg1::TS{Complex128},arg2::SNES) - err = ccall((:TSSetSNES,petscComplexDouble),PetscErrorCode,(TS{Complex128},SNES),arg1,arg2) - return err -end - -function TSGetKSP(arg1::TS{Complex128},arg2::Union{Ptr{KSP{Complex128}},StridedArray{KSP{Complex128}},Ptr{KSP{Complex128}},Ref{KSP{Complex128}}}) - err = ccall((:TSGetKSP,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{KSP{Complex128}}),arg1,arg2) - return err -end - -function TSView(arg1::TS{Complex128},arg2::PetscViewer{Complex128}) - err = ccall((:TSView,petscComplexDouble),PetscErrorCode,(TS{Complex128},PetscViewer{Complex128}),arg1,arg2) - return err -end - -function TSLoad(arg1::TS{Complex128},arg2::PetscViewer{Complex128}) - err = ccall((:TSLoad,petscComplexDouble),PetscErrorCode,(TS{Complex128},PetscViewer{Complex128}),arg1,arg2) - return err -end - -function TSViewFromOptions(A::TS{Complex128},obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:TSViewFromOptions,petscComplexDouble),PetscErrorCode,(TS{Complex128},PetscObject,Cstring),A,obj,name) - return err -end - -function TSSetApplicationContext(arg1::TS{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSSetApplicationContext,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Void}),arg1,arg2) - return err -end - -function TSGetApplicationContext(arg1::TS{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSGetApplicationContext,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Void}),arg1,arg2) - return err -end - -function TSMonitorLGCtxCreate(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Integer,arg9::Union{Ptr{TSMonitorLGCtx},StridedArray{TSMonitorLGCtx},Ptr{TSMonitorLGCtx},Ref{TSMonitorLGCtx}}) - err = ccall((:TSMonitorLGCtxCreate,petscComplexDouble),PetscErrorCode,(comm_type,Cstring,Cstring,Cint,Cint,Cint,Cint,Int64,Ptr{TSMonitorLGCtx}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) - return err -end - -function TSMonitorLGCtxDestroy(arg0::Type{Complex128},arg1::Union{Ptr{TSMonitorLGCtx},StridedArray{TSMonitorLGCtx},Ptr{TSMonitorLGCtx},Ref{TSMonitorLGCtx}}) - err = ccall((:TSMonitorLGCtxDestroy,petscComplexDouble),PetscErrorCode,(Ptr{TSMonitorLGCtx},),arg1) - return err -end - -function TSMonitorLGTimeStep(arg1::TS{Complex128},arg2::Integer,arg3::Float64,arg4::Vec{Complex128},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorLGTimeStep,petscComplexDouble),PetscErrorCode,(TS{Complex128},Int64,Float64,Vec{Complex128},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSMonitorLGSolution(arg1::TS{Complex128},arg2::Integer,arg3::Float64,arg4::Vec{Complex128},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorLGSolution,petscComplexDouble),PetscErrorCode,(TS{Complex128},Int64,Float64,Vec{Complex128},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSMonitorLGSetVariableNames(arg1::TS{Complex128},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:TSMonitorLGSetVariableNames,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function TSMonitorLGGetVariableNames(arg1::TS{Complex128},arg2::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}}) - err = ccall((:TSMonitorLGGetVariableNames,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Ptr{Ptr{UInt8}}}),arg1,arg2) - return err -end - -function TSMonitorLGCtxSetVariableNames(arg0::Type{Complex128},arg1::TSMonitorLGCtx,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:TSMonitorLGCtxSetVariableNames,petscComplexDouble),PetscErrorCode,(TSMonitorLGCtx,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function TSMonitorLGSetDisplayVariables(arg1::TS{Complex128},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:TSMonitorLGSetDisplayVariables,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function TSMonitorLGCtxSetDisplayVariables(arg0::Type{Complex128},arg1::TSMonitorLGCtx,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:TSMonitorLGCtxSetDisplayVariables,petscComplexDouble),PetscErrorCode,(TSMonitorLGCtx,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function TSMonitorLGSetTransform(arg1::TS{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorLGSetTransform,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function TSMonitorLGCtxSetTransform(arg0::Type{Complex128},arg1::TSMonitorLGCtx,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorLGCtxSetTransform,petscComplexDouble),PetscErrorCode,(TSMonitorLGCtx,Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function TSMonitorLGError(arg1::TS{Complex128},arg2::Integer,arg3::Float64,arg4::Vec{Complex128},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorLGError,petscComplexDouble),PetscErrorCode,(TS{Complex128},Int64,Float64,Vec{Complex128},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSMonitorLGSNESIterations(arg1::TS{Complex128},arg2::Integer,arg3::Float64,arg4::Vec{Complex128},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorLGSNESIterations,petscComplexDouble),PetscErrorCode,(TS{Complex128},Int64,Float64,Vec{Complex128},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSMonitorLGKSPIterations(arg1::TS{Complex128},arg2::Integer,arg3::Float64,arg4::Vec{Complex128},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorLGKSPIterations,petscComplexDouble),PetscErrorCode,(TS{Complex128},Int64,Float64,Vec{Complex128},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSMonitorEnvelopeCtxCreate(arg1::TS{Complex128},arg2::Union{Ptr{TSMonitorEnvelopeCtx},StridedArray{TSMonitorEnvelopeCtx},Ptr{TSMonitorEnvelopeCtx},Ref{TSMonitorEnvelopeCtx}}) - err = ccall((:TSMonitorEnvelopeCtxCreate,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{TSMonitorEnvelopeCtx}),arg1,arg2) - return err -end - -function TSMonitorEnvelope(arg1::TS{Complex128},arg2::Integer,arg3::Float64,arg4::Vec{Complex128},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorEnvelope,petscComplexDouble),PetscErrorCode,(TS{Complex128},Int64,Float64,Vec{Complex128},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSMonitorEnvelopeGetBounds(arg1::TS{Complex128},arg2::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}},arg3::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:TSMonitorEnvelopeGetBounds,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Vec{Complex128}},Ptr{Vec{Complex128}}),arg1,arg2,arg3) - return err -end - -function TSMonitorEnvelopeCtxDestroy(arg0::Type{Complex128},arg1::Union{Ptr{TSMonitorEnvelopeCtx},StridedArray{TSMonitorEnvelopeCtx},Ptr{TSMonitorEnvelopeCtx},Ref{TSMonitorEnvelopeCtx}}) - err = ccall((:TSMonitorEnvelopeCtxDestroy,petscComplexDouble),PetscErrorCode,(Ptr{TSMonitorEnvelopeCtx},),arg1) - return err -end - -function TSMonitorSPEigCtxCreate(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Integer,arg9::Union{Ptr{TSMonitorSPEigCtx},StridedArray{TSMonitorSPEigCtx},Ptr{TSMonitorSPEigCtx},Ref{TSMonitorSPEigCtx}}) - err = ccall((:TSMonitorSPEigCtxCreate,petscComplexDouble),PetscErrorCode,(comm_type,Cstring,Cstring,Cint,Cint,Cint,Cint,Int64,Ptr{TSMonitorSPEigCtx}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) - return err -end - -function TSMonitorSPEigCtxDestroy(arg0::Type{Complex128},arg1::Union{Ptr{TSMonitorSPEigCtx},StridedArray{TSMonitorSPEigCtx},Ptr{TSMonitorSPEigCtx},Ref{TSMonitorSPEigCtx}}) - err = ccall((:TSMonitorSPEigCtxDestroy,petscComplexDouble),PetscErrorCode,(Ptr{TSMonitorSPEigCtx},),arg1) - return err -end - -function TSMonitorSPEig(arg1::TS{Complex128},arg2::Integer,arg3::Float64,arg4::Vec{Complex128},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorSPEig,petscComplexDouble),PetscErrorCode,(TS{Complex128},Int64,Float64,Vec{Complex128},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSSetEventMonitor(arg1::TS{Complex128},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg7::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSSetEventMonitor,petscComplexDouble),PetscErrorCode,(TS{Complex128},Int64,Ptr{Int64},Ptr{PetscBool},Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function TSSetEventTolerances(arg1::TS{Complex128},arg2::Float64,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TSSetEventTolerances,petscComplexDouble),PetscErrorCode,(TS{Complex128},Float64,Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function TSSSPSetType(arg1::TS{Complex128},arg2::TSSSPType) - err = ccall((:TSSSPSetType,petscComplexDouble),PetscErrorCode,(TS{Complex128},Cstring),arg1,arg2) - return err -end - -function TSSSPGetType(arg1::TS{Complex128},arg2::Union{Ptr{TSSSPType},StridedArray{TSSSPType},Ptr{TSSSPType},Ref{TSSSPType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:TSSSPGetType,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function TSSSPSetNumStages(arg1::TS{Complex128},arg2::Integer) - err = ccall((:TSSSPSetNumStages,petscComplexDouble),PetscErrorCode,(TS{Complex128},Int64),arg1,arg2) - return err -end - -function TSSSPGetNumStages(arg1::TS{Complex128},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:TSSSPGetNumStages,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Int64}),arg1,arg2) - return err -end - -function TSSSPFinalizePackage(arg0::Type{Complex128}) - err = ccall((:TSSSPFinalizePackage,petscComplexDouble),PetscErrorCode,()) - return err -end - -function TSSSPInitializePackage(arg0::Type{Complex128}) - err = ccall((:TSSSPInitializePackage,petscComplexDouble),PetscErrorCode,()) - return err -end - -function TSGetAdapt(arg1::TS{Complex128},arg2::Union{Ptr{TSAdapt},StridedArray{TSAdapt},Ptr{TSAdapt},Ref{TSAdapt}}) - err = ccall((:TSGetAdapt,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{TSAdapt}),arg1,arg2) - return err -end - -function TSAdaptRegister(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSAdaptRegister,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function TSAdaptInitializePackage(arg0::Type{Complex128}) - err = ccall((:TSAdaptInitializePackage,petscComplexDouble),PetscErrorCode,()) - return err -end - -function TSAdaptFinalizePackage(arg0::Type{Complex128}) - err = ccall((:TSAdaptFinalizePackage,petscComplexDouble),PetscErrorCode,()) - return err -end - -function TSAdaptCreate(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{TSAdapt},StridedArray{TSAdapt},Ptr{TSAdapt},Ref{TSAdapt}}) - err = ccall((:TSAdaptCreate,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{TSAdapt}),arg1,arg2) - return err -end - -function TSAdaptSetType(arg0::Type{Complex128},arg1::TSAdapt,arg2::TSAdaptType) - err = ccall((:TSAdaptSetType,petscComplexDouble),PetscErrorCode,(TSAdapt,Cstring),arg1,arg2) - return err -end - -function TSAdaptSetOptionsPrefix(arg0::Type{Complex128},arg1::TSAdapt,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:TSAdaptSetOptionsPrefix,petscComplexDouble),PetscErrorCode,(TSAdapt,Cstring),arg1,arg2) - return err -end - -function TSAdaptCandidatesClear(arg0::Type{Complex128},arg1::TSAdapt) - err = ccall((:TSAdaptCandidatesClear,petscComplexDouble),PetscErrorCode,(TSAdapt,),arg1) - return err -end - -function TSAdaptCandidateAdd(arg0::Type{Complex128},arg1::TSAdapt,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::Integer,arg5::Float64,arg6::Float64,arg7::PetscBool) - err = ccall((:TSAdaptCandidateAdd,petscComplexDouble),PetscErrorCode,(TSAdapt,Cstring,Int64,Int64,Float64,Float64,PetscBool),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function TSAdaptCandidatesGet(arg0::Type{Complex128},arg1::TSAdapt,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg5::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg6::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:TSAdaptCandidatesGet,petscComplexDouble),PetscErrorCode,(TSAdapt,Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}},Ptr{Ptr{Float64}},Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function TSAdaptChoose(arg1::TSAdapt,arg2::TS{Complex128},arg3::Float64,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:TSAdaptChoose,petscComplexDouble),PetscErrorCode,(TSAdapt,TS{Complex128},Float64,Ptr{Int64},Ptr{Float64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function TSAdaptCheckStage(arg1::TSAdapt,arg2::TS{Complex128},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:TSAdaptCheckStage,petscComplexDouble),PetscErrorCode,(TSAdapt,TS{Complex128},Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function TSAdaptView(arg1::TSAdapt,arg2::PetscViewer{Complex128}) - err = ccall((:TSAdaptView,petscComplexDouble),PetscErrorCode,(TSAdapt,PetscViewer{Complex128}),arg1,arg2) - return err -end - -function TSAdaptLoad(arg1::TSAdapt,arg2::PetscViewer{Complex128}) - err = ccall((:TSAdaptLoad,petscComplexDouble),PetscErrorCode,(TSAdapt,PetscViewer{Complex128}),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function TSAdaptSetFromOptions(arg0::Type{Complex128},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::TSAdapt) - ccall((:TSAdaptSetFromOptions,petscComplexDouble),PetscErrorCode,(Ptr{PetscOptions},TSAdapt),arg1,arg2) -end -=# -function TSAdaptReset(arg0::Type{Complex128},arg1::TSAdapt) - err = ccall((:TSAdaptReset,petscComplexDouble),PetscErrorCode,(TSAdapt,),arg1) - return err -end - -function TSAdaptDestroy(arg0::Type{Complex128},arg1::Union{Ptr{TSAdapt},StridedArray{TSAdapt},Ptr{TSAdapt},Ref{TSAdapt}}) - err = ccall((:TSAdaptDestroy,petscComplexDouble),PetscErrorCode,(Ptr{TSAdapt},),arg1) - return err -end - -function TSAdaptSetMonitor(arg0::Type{Complex128},arg1::TSAdapt,arg2::PetscBool) - err = ccall((:TSAdaptSetMonitor,petscComplexDouble),PetscErrorCode,(TSAdapt,PetscBool),arg1,arg2) - return err -end - -function TSAdaptSetStepLimits(arg0::Type{Complex128},arg1::TSAdapt,arg2::Float64,arg3::Float64) - err = ccall((:TSAdaptSetStepLimits,petscComplexDouble),PetscErrorCode,(TSAdapt,Float64,Float64),arg1,arg2,arg3) - return err -end - -function TSAdaptSetCheckStage(arg0::Type{Complex128},arg1::TSAdapt,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSAdaptSetCheckStage,petscComplexDouble),PetscErrorCode,(TSAdapt,Ptr{Void}),arg1,arg2) - return err -end - -function TSGLAdaptRegister(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSGLAdaptRegister,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function TSGLAdaptInitializePackage(arg0::Type{Complex128}) - err = ccall((:TSGLAdaptInitializePackage,petscComplexDouble),PetscErrorCode,()) - return err -end - -function TSGLAdaptFinalizePackage(arg0::Type{Complex128}) - err = ccall((:TSGLAdaptFinalizePackage,petscComplexDouble),PetscErrorCode,()) - return err -end - -function TSGLAdaptCreate(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{TSGLAdapt},StridedArray{TSGLAdapt},Ptr{TSGLAdapt},Ref{TSGLAdapt}}) - err = ccall((:TSGLAdaptCreate,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{TSGLAdapt}),arg1,arg2) - return err -end - -function TSGLAdaptSetType(arg0::Type{Complex128},arg1::TSGLAdapt,arg2::TSGLAdaptType) - err = ccall((:TSGLAdaptSetType,petscComplexDouble),PetscErrorCode,(TSGLAdapt,Cstring),arg1,arg2) - return err -end - -function TSGLAdaptSetOptionsPrefix(arg0::Type{Complex128},arg1::TSGLAdapt,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:TSGLAdaptSetOptionsPrefix,petscComplexDouble),PetscErrorCode,(TSGLAdapt,Cstring),arg1,arg2) - return err -end - -function TSGLAdaptChoose(arg0::Type{Complex128},arg1::TSGLAdapt,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Integer,arg7::Float64,arg8::Float64,arg9::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg10::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg11::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:TSGLAdaptChoose,petscComplexDouble),PetscErrorCode,(TSGLAdapt,Int64,Ptr{Int64},Ptr{Float64},Ptr{Float64},Int64,Float64,Float64,Ptr{Int64},Ptr{Float64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) - return err -end - -function TSGLAdaptView(arg1::TSGLAdapt,arg2::PetscViewer{Complex128}) - err = ccall((:TSGLAdaptView,petscComplexDouble),PetscErrorCode,(TSGLAdapt,PetscViewer{Complex128}),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function TSGLAdaptSetFromOptions(arg0::Type{Complex128},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::TSGLAdapt) - ccall((:TSGLAdaptSetFromOptions,petscComplexDouble),PetscErrorCode,(Ptr{PetscOptions},TSGLAdapt),arg1,arg2) -end -=# -function TSGLAdaptDestroy(arg0::Type{Complex128},arg1::Union{Ptr{TSGLAdapt},StridedArray{TSGLAdapt},Ptr{TSGLAdapt},Ref{TSGLAdapt}}) - err = ccall((:TSGLAdaptDestroy,petscComplexDouble),PetscErrorCode,(Ptr{TSGLAdapt},),arg1) - return err -end - -function TSGLAcceptRegister(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::TSGLAcceptFunction) - err = ccall((:TSGLAcceptRegister,petscComplexDouble),PetscErrorCode,(Cstring,TSGLAcceptFunction),arg1,arg2) - return err -end - -function TSGLRegister(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSGLRegister,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function TSGLInitializePackage(arg0::Type{Complex128}) - err = ccall((:TSGLInitializePackage,petscComplexDouble),PetscErrorCode,()) - return err -end - -function TSGLFinalizePackage(arg0::Type{Complex128}) - err = ccall((:TSGLFinalizePackage,petscComplexDouble),PetscErrorCode,()) - return err -end - -function TSGLSetType(arg1::TS{Complex128},arg2::TSGLType) - err = ccall((:TSGLSetType,petscComplexDouble),PetscErrorCode,(TS{Complex128},Cstring),arg1,arg2) - return err -end - -function TSGLGetAdapt(arg1::TS{Complex128},arg2::Union{Ptr{TSGLAdapt},StridedArray{TSGLAdapt},Ptr{TSGLAdapt},Ref{TSGLAdapt}}) - err = ccall((:TSGLGetAdapt,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{TSGLAdapt}),arg1,arg2) - return err -end - -function TSGLSetAcceptType(arg1::TS{Complex128},arg2::TSGLAcceptType) - err = ccall((:TSGLSetAcceptType,petscComplexDouble),PetscErrorCode,(TS{Complex128},Cstring),arg1,arg2) - return err -end - -function TSEIMEXSetMaxRows(ts::TS{Complex128},arg1::Integer) - err = ccall((:TSEIMEXSetMaxRows,petscComplexDouble),PetscErrorCode,(TS{Complex128},Int64),ts,arg1) - return err -end - -function TSEIMEXSetRowCol(ts::TS{Complex128},arg1::Integer,arg2::Integer) - err = ccall((:TSEIMEXSetRowCol,petscComplexDouble),PetscErrorCode,(TS{Complex128},Int64,Int64),ts,arg1,arg2) - return err -end - -function TSEIMEXSetOrdAdapt(arg1::TS{Complex128},arg2::PetscBool) - err = ccall((:TSEIMEXSetOrdAdapt,petscComplexDouble),PetscErrorCode,(TS{Complex128},PetscBool),arg1,arg2) - return err -end - -function TSRKGetType(ts::TS{Complex128},arg1::Union{Ptr{TSRKType},StridedArray{TSRKType},Ptr{TSRKType},Ref{TSRKType}}) - (arg1_,tmp) = symbol_get_before(arg1) - err = ccall((:TSRKGetType,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Ptr{UInt8}}),ts,arg1_) - symbol_get_after(arg1_,arg1) - return err -end - -function TSRKSetType(ts::TS{Complex128},arg1::TSRKType) - err = ccall((:TSRKSetType,petscComplexDouble),PetscErrorCode,(TS{Complex128},Cstring),ts,arg1) - return err -end - -function TSRKSetFullyImplicit(arg1::TS{Complex128},arg2::PetscBool) - err = ccall((:TSRKSetFullyImplicit,petscComplexDouble),PetscErrorCode,(TS{Complex128},PetscBool),arg1,arg2) - return err -end - -function TSRKRegister(arg0::Type{Complex128},arg1::TSRKType,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg7::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg8::Integer,arg9::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TSRKRegister,petscComplexDouble),PetscErrorCode,(Cstring,Int64,Int64,Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64},Int64,Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) - return err -end - -function TSRKFinalizePackage(arg0::Type{Complex128}) - err = ccall((:TSRKFinalizePackage,petscComplexDouble),PetscErrorCode,()) - return err -end - -function TSRKInitializePackage(arg0::Type{Complex128}) - err = ccall((:TSRKInitializePackage,petscComplexDouble),PetscErrorCode,()) - return err -end - -function TSRKRegisterDestroy(arg0::Type{Complex128}) - err = ccall((:TSRKRegisterDestroy,petscComplexDouble),PetscErrorCode,()) - return err -end - -function TSARKIMEXGetType(ts::TS{Complex128},arg1::Union{Ptr{TSARKIMEXType},StridedArray{TSARKIMEXType},Ptr{TSARKIMEXType},Ref{TSARKIMEXType}}) - (arg1_,tmp) = symbol_get_before(arg1) - err = ccall((:TSARKIMEXGetType,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Ptr{UInt8}}),ts,arg1_) - symbol_get_after(arg1_,arg1) - return err -end - -function TSARKIMEXSetType(ts::TS{Complex128},arg1::TSARKIMEXType) - err = ccall((:TSARKIMEXSetType,petscComplexDouble),PetscErrorCode,(TS{Complex128},Cstring),ts,arg1) - return err -end - -function TSARKIMEXSetFullyImplicit(arg1::TS{Complex128},arg2::PetscBool) - err = ccall((:TSARKIMEXSetFullyImplicit,petscComplexDouble),PetscErrorCode,(TS{Complex128},PetscBool),arg1,arg2) - return err -end - -function TSARKIMEXRegister(arg0::Type{Complex128},arg1::TSARKIMEXType,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg7::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg8::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg9::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg10::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg11::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg12::Integer,arg13::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg14::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TSARKIMEXRegister,petscComplexDouble),PetscErrorCode,(Cstring,Int64,Int64,Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64},Int64,Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14) - return err -end - -function TSARKIMEXFinalizePackage(arg0::Type{Complex128}) - err = ccall((:TSARKIMEXFinalizePackage,petscComplexDouble),PetscErrorCode,()) - return err -end - -function TSARKIMEXInitializePackage(arg0::Type{Complex128}) - err = ccall((:TSARKIMEXInitializePackage,petscComplexDouble),PetscErrorCode,()) - return err -end - -function TSARKIMEXRegisterDestroy(arg0::Type{Complex128}) - err = ccall((:TSARKIMEXRegisterDestroy,petscComplexDouble),PetscErrorCode,()) - return err -end - -function TSRosWGetType(ts::TS{Complex128},arg1::Union{Ptr{TSRosWType},StridedArray{TSRosWType},Ptr{TSRosWType},Ref{TSRosWType}}) - (arg1_,tmp) = symbol_get_before(arg1) - err = ccall((:TSRosWGetType,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Ptr{UInt8}}),ts,arg1_) - symbol_get_after(arg1_,arg1) - return err -end - -function TSRosWSetType(ts::TS{Complex128},arg1::TSRosWType) - err = ccall((:TSRosWSetType,petscComplexDouble),PetscErrorCode,(TS{Complex128},Cstring),ts,arg1) - return err -end - -function TSRosWSetRecomputeJacobian(arg1::TS{Complex128},arg2::PetscBool) - err = ccall((:TSRosWSetRecomputeJacobian,petscComplexDouble),PetscErrorCode,(TS{Complex128},PetscBool),arg1,arg2) - return err -end - -function TSRosWRegister(arg0::Type{Complex128},arg1::TSRosWType,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg7::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg8::Integer,arg9::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TSRosWRegister,petscComplexDouble),PetscErrorCode,(Cstring,Int64,Int64,Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64},Int64,Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) - return err -end - -function TSRosWRegisterRos4(arg0::Type{Complex128},arg1::TSRosWType,arg2::Float64,arg3::Float64,arg4::Float64,arg5::Float64,arg6::Float64) - err = ccall((:TSRosWRegisterRos4,petscComplexDouble),PetscErrorCode,(Cstring,Float64,Float64,Float64,Float64,Float64),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function TSRosWFinalizePackage(arg0::Type{Complex128}) - err = ccall((:TSRosWFinalizePackage,petscComplexDouble),PetscErrorCode,()) - return err -end - -function TSRosWInitializePackage(arg0::Type{Complex128}) - err = ccall((:TSRosWInitializePackage,petscComplexDouble),PetscErrorCode,()) - return err -end - -function TSRosWRegisterDestroy(arg0::Type{Complex128}) - err = ccall((:TSRosWRegisterDestroy,petscComplexDouble),PetscErrorCode,()) - return err -end - -function TSThetaSetTheta(arg1::TS{Complex128},arg2::Float64) - err = ccall((:TSThetaSetTheta,petscComplexDouble),PetscErrorCode,(TS{Complex128},Float64),arg1,arg2) - return err -end - -function TSThetaGetTheta(arg1::TS{Complex128},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TSThetaGetTheta,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Float64}),arg1,arg2) - return err -end - -function TSThetaGetEndpoint(arg1::TS{Complex128},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:TSThetaGetEndpoint,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{PetscBool}),arg1,arg2) - return err -end - -function TSThetaSetEndpoint(arg1::TS{Complex128},arg2::PetscBool) - err = ccall((:TSThetaSetEndpoint,petscComplexDouble),PetscErrorCode,(TS{Complex128},PetscBool),arg1,arg2) - return err -end - -function TSAlphaSetAdapt(arg1::TS{Complex128},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSAlphaSetAdapt,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function TSAlphaAdaptDefault(arg1::TS{Complex128},arg2::Float64,arg3::Vec{Complex128},arg4::Vec{Complex128},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg7::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSAlphaAdaptDefault,petscComplexDouble),PetscErrorCode,(TS{Complex128},Float64,Vec{Complex128},Vec{Complex128},Ptr{Float64},Ptr{PetscBool},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function TSAlphaSetRadius(arg1::TS{Complex128},arg2::Float64) - err = ccall((:TSAlphaSetRadius,petscComplexDouble),PetscErrorCode,(TS{Complex128},Float64),arg1,arg2) - return err -end - -function TSAlphaSetParams(arg1::TS{Complex128},arg2::Float64,arg3::Float64,arg4::Float64) - err = ccall((:TSAlphaSetParams,petscComplexDouble),PetscErrorCode,(TS{Complex128},Float64,Float64,Float64),arg1,arg2,arg3,arg4) - return err -end - -function TSAlphaGetParams(arg1::TS{Complex128},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TSAlphaGetParams,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{Float64},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function TSSetDM(arg1::TS{Complex128},arg2::DM) - err = ccall((:TSSetDM,petscComplexDouble),PetscErrorCode,(TS{Complex128},DM),arg1,arg2) - return err -end - -function TSGetDM(arg1::TS{Complex128},arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:TSGetDM,petscComplexDouble),PetscErrorCode,(TS{Complex128},Ptr{DM}),arg1,arg2) - return err -end - -function SNESTSFormFunction(arg1::SNES,arg2::Vec{Complex128},arg3::Vec{Complex128},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESTSFormFunction,petscComplexDouble),PetscErrorCode,(SNES,Vec{Complex128},Vec{Complex128},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESTSFormJacobian(arg1::SNES,arg2::Vec{Complex128},arg3::Mat{Complex128},arg4::Mat{Complex128},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESTSFormJacobian,petscComplexDouble),PetscErrorCode,(SNES,Vec{Complex128},Mat{Complex128},Mat{Complex128},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function VecFischer(arg1::Vec{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128},arg4::Vec{Complex128},arg5::Vec{Complex128}) - err = ccall((:VecFischer,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Vec{Complex128},Vec{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function VecSFischer(arg1::Vec{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128},arg4::Vec{Complex128},arg5::Float64,arg6::Vec{Complex128}) - err = ccall((:VecSFischer,petscComplexDouble),PetscErrorCode,(Vec{Complex128},Vec{Complex128},Vec{Complex128},Vec{Complex128},Float64,Vec{Complex128}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatDFischer(arg1::Mat{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128},arg4::Vec{Complex128},arg5::Vec{Complex128},arg6::Vec{Complex128},arg7::Vec{Complex128},arg8::Vec{Complex128},arg9::Vec{Complex128}) - err = ccall((:MatDFischer,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Vec{Complex128},Vec{Complex128},Vec{Complex128},Vec{Complex128},Vec{Complex128},Vec{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) - return err -end - -function MatDSFischer(arg1::Mat{Complex128},arg2::Vec{Complex128},arg3::Vec{Complex128},arg4::Vec{Complex128},arg5::Vec{Complex128},arg6::Float64,arg7::Vec{Complex128},arg8::Vec{Complex128},arg9::Vec{Complex128},arg10::Vec{Complex128},arg11::Vec{Complex128}) - err = ccall((:MatDSFischer,petscComplexDouble),PetscErrorCode,(Mat{Complex128},Vec{Complex128},Vec{Complex128},Vec{Complex128},Vec{Complex128},Float64,Vec{Complex128},Vec{Complex128},Vec{Complex128},Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) - return err -end - -function TaoInitializePackage(arg0::Type{Complex128}) - err = ccall((:TaoInitializePackage,petscComplexDouble),PetscErrorCode,()) - return err -end - -function TaoFinalizePackage(arg0::Type{Complex128}) - err = ccall((:TaoFinalizePackage,petscComplexDouble),PetscErrorCode,()) - return err -end - -function TaoCreate(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{Tao},StridedArray{Tao},Ptr{Tao},Ref{Tao}}) - err = ccall((:TaoCreate,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{Tao}),arg1,arg2) - return err -end - -function TaoSetFromOptions(arg0::Type{Complex128},arg1::Tao) - err = ccall((:TaoSetFromOptions,petscComplexDouble),PetscErrorCode,(Tao,),arg1) - return err -end - -function TaoSetUp(arg0::Type{Complex128},arg1::Tao) - err = ccall((:TaoSetUp,petscComplexDouble),PetscErrorCode,(Tao,),arg1) - return err -end - -function TaoSetType(arg0::Type{Complex128},arg1::Tao,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:TaoSetType,petscComplexDouble),PetscErrorCode,(Tao,Cstring),arg1,arg2) - return err -end - -function TaoGetType(arg0::Type{Complex128},arg1::Tao,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:TaoGetType,petscComplexDouble),PetscErrorCode,(Tao,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function TaoSetApplicationContext(arg0::Type{Complex128},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetApplicationContext,petscComplexDouble),PetscErrorCode,(Tao,Ptr{Void}),arg1,arg2) - return err -end - -function TaoGetApplicationContext(arg0::Type{Complex128},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoGetApplicationContext,petscComplexDouble),PetscErrorCode,(Tao,Ptr{Void}),arg1,arg2) - return err -end - -function TaoDestroy(arg0::Type{Complex128},arg1::Union{Ptr{Tao},StridedArray{Tao},Ptr{Tao},Ref{Tao}}) - err = ccall((:TaoDestroy,petscComplexDouble),PetscErrorCode,(Ptr{Tao},),arg1) - return err -end - -function TaoSetOptionsPrefix(arg0::Type{Complex128},arg1::Tao,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:TaoSetOptionsPrefix,petscComplexDouble),PetscErrorCode,(Tao,Cstring),arg1,arg2) - return err -end - -function TaoView(arg1::Tao,arg2::PetscViewer{Complex128}) - err = ccall((:TaoView,petscComplexDouble),PetscErrorCode,(Tao,PetscViewer{Complex128}),arg1,arg2) - return err -end - -function TaoViewFromOptions(arg0::Type{Complex128},A::Tao,obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:TaoViewFromOptions,petscComplexDouble),PetscErrorCode,(Tao,PetscObject,Cstring),A,obj,name) - return err -end - -function TaoSolve(arg0::Type{Complex128},arg1::Tao) - err = ccall((:TaoSolve,petscComplexDouble),PetscErrorCode,(Tao,),arg1) - return err -end - -function TaoRegister(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoRegister,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function TaoRegisterDestroy(arg0::Type{Complex128}) - err = ccall((:TaoRegisterDestroy,petscComplexDouble),PetscErrorCode,()) - return err -end - -function TaoGetConvergedReason(arg0::Type{Complex128},arg1::Tao,arg2::Union{Ptr{TaoConvergedReason},StridedArray{TaoConvergedReason},Ptr{TaoConvergedReason},Ref{TaoConvergedReason}}) - err = ccall((:TaoGetConvergedReason,petscComplexDouble),PetscErrorCode,(Tao,Ptr{TaoConvergedReason}),arg1,arg2) - return err -end - -function TaoGetSolutionStatus(arg0::Type{Complex128},arg1::Tao,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg7::Union{Ptr{TaoConvergedReason},StridedArray{TaoConvergedReason},Ptr{TaoConvergedReason},Ref{TaoConvergedReason}}) - err = ccall((:TaoGetSolutionStatus,petscComplexDouble),PetscErrorCode,(Tao,Ptr{Int64},Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{TaoConvergedReason}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function TaoSetConvergedReason(arg0::Type{Complex128},arg1::Tao,arg2::TaoConvergedReason) - err = ccall((:TaoSetConvergedReason,petscComplexDouble),PetscErrorCode,(Tao,TaoConvergedReason),arg1,arg2) - return err -end - -function TaoSetInitialVector(arg1::Tao,arg2::Vec{Complex128}) - err = ccall((:TaoSetInitialVector,petscComplexDouble),PetscErrorCode,(Tao,Vec{Complex128}),arg1,arg2) - return err -end - -function TaoGetSolutionVector(arg1::Tao,arg2::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:TaoGetSolutionVector,petscComplexDouble),PetscErrorCode,(Tao,Ptr{Vec{Complex128}}),arg1,arg2) - return err -end - -function TaoGetGradientVector(arg1::Tao,arg2::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:TaoGetGradientVector,petscComplexDouble),PetscErrorCode,(Tao,Ptr{Vec{Complex128}}),arg1,arg2) - return err -end - -function TaoSetObjectiveRoutine(arg0::Type{Complex128},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetObjectiveRoutine,petscComplexDouble),PetscErrorCode,(Tao,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function TaoSetGradientRoutine(arg0::Type{Complex128},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetGradientRoutine,petscComplexDouble),PetscErrorCode,(Tao,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function TaoSetObjectiveAndGradientRoutine(arg0::Type{Complex128},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetObjectiveAndGradientRoutine,petscComplexDouble),PetscErrorCode,(Tao,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function TaoSetHessianRoutine(arg1::Tao,arg2::Mat{Complex128},arg3::Mat{Complex128},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetHessianRoutine,petscComplexDouble),PetscErrorCode,(Tao,Mat{Complex128},Mat{Complex128},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TaoSetSeparableObjectiveRoutine(arg1::Tao,arg2::Vec{Complex128},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetSeparableObjectiveRoutine,petscComplexDouble),PetscErrorCode,(Tao,Vec{Complex128},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function TaoSetConstraintsRoutine(arg1::Tao,arg2::Vec{Complex128},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetConstraintsRoutine,petscComplexDouble),PetscErrorCode,(Tao,Vec{Complex128},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function TaoSetInequalityConstraintsRoutine(arg1::Tao,arg2::Vec{Complex128},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetInequalityConstraintsRoutine,petscComplexDouble),PetscErrorCode,(Tao,Vec{Complex128},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function TaoSetEqualityConstraintsRoutine(arg1::Tao,arg2::Vec{Complex128},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetEqualityConstraintsRoutine,petscComplexDouble),PetscErrorCode,(Tao,Vec{Complex128},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function TaoSetJacobianRoutine(arg1::Tao,arg2::Mat{Complex128},arg3::Mat{Complex128},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetJacobianRoutine,petscComplexDouble),PetscErrorCode,(Tao,Mat{Complex128},Mat{Complex128},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TaoSetJacobianStateRoutine(arg1::Tao,arg2::Mat{Complex128},arg3::Mat{Complex128},arg4::Mat{Complex128},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetJacobianStateRoutine,petscComplexDouble),PetscErrorCode,(Tao,Mat{Complex128},Mat{Complex128},Mat{Complex128},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function TaoSetJacobianDesignRoutine(arg1::Tao,arg2::Mat{Complex128},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetJacobianDesignRoutine,petscComplexDouble),PetscErrorCode,(Tao,Mat{Complex128},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function TaoSetJacobianInequalityRoutine(arg1::Tao,arg2::Mat{Complex128},arg3::Mat{Complex128},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetJacobianInequalityRoutine,petscComplexDouble),PetscErrorCode,(Tao,Mat{Complex128},Mat{Complex128},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TaoSetJacobianEqualityRoutine(arg1::Tao,arg2::Mat{Complex128},arg3::Mat{Complex128},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetJacobianEqualityRoutine,petscComplexDouble),PetscErrorCode,(Tao,Mat{Complex128},Mat{Complex128},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TaoSetStateDesignIS(arg1::Tao,arg2::IS{Complex128},arg3::IS{Complex128}) - err = ccall((:TaoSetStateDesignIS,petscComplexDouble),PetscErrorCode,(Tao,IS{Complex128},IS{Complex128}),arg1,arg2,arg3) - return err -end - -function TaoComputeObjective(arg1::Tao,arg2::Vec{Complex128},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TaoComputeObjective,petscComplexDouble),PetscErrorCode,(Tao,Vec{Complex128},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function TaoComputeSeparableObjective(arg1::Tao,arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:TaoComputeSeparableObjective,petscComplexDouble),PetscErrorCode,(Tao,Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function TaoComputeGradient(arg1::Tao,arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:TaoComputeGradient,petscComplexDouble),PetscErrorCode,(Tao,Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function TaoComputeObjectiveAndGradient(arg1::Tao,arg2::Vec{Complex128},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Vec{Complex128}) - err = ccall((:TaoComputeObjectiveAndGradient,petscComplexDouble),PetscErrorCode,(Tao,Vec{Complex128},Ptr{Float64},Vec{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function TaoComputeConstraints(arg1::Tao,arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:TaoComputeConstraints,petscComplexDouble),PetscErrorCode,(Tao,Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function TaoComputeInequalityConstraints(arg1::Tao,arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:TaoComputeInequalityConstraints,petscComplexDouble),PetscErrorCode,(Tao,Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function TaoComputeEqualityConstraints(arg1::Tao,arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:TaoComputeEqualityConstraints,petscComplexDouble),PetscErrorCode,(Tao,Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function TaoDefaultComputeGradient(arg1::Tao,arg2::Vec{Complex128},arg3::Vec{Complex128},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoDefaultComputeGradient,petscComplexDouble),PetscErrorCode,(Tao,Vec{Complex128},Vec{Complex128},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function TaoIsObjectiveDefined(arg0::Type{Complex128},arg1::Tao,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:TaoIsObjectiveDefined,petscComplexDouble),PetscErrorCode,(Tao,Ptr{PetscBool}),arg1,arg2) - return err -end - -function TaoIsGradientDefined(arg0::Type{Complex128},arg1::Tao,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:TaoIsGradientDefined,petscComplexDouble),PetscErrorCode,(Tao,Ptr{PetscBool}),arg1,arg2) - return err -end - -function TaoIsObjectiveAndGradientDefined(arg0::Type{Complex128},arg1::Tao,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:TaoIsObjectiveAndGradientDefined,petscComplexDouble),PetscErrorCode,(Tao,Ptr{PetscBool}),arg1,arg2) - return err -end - -function TaoComputeHessian(arg1::Tao,arg2::Vec{Complex128},arg3::Mat{Complex128},arg4::Mat{Complex128}) - err = ccall((:TaoComputeHessian,petscComplexDouble),PetscErrorCode,(Tao,Vec{Complex128},Mat{Complex128},Mat{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function TaoComputeJacobian(arg1::Tao,arg2::Vec{Complex128},arg3::Mat{Complex128},arg4::Mat{Complex128}) - err = ccall((:TaoComputeJacobian,petscComplexDouble),PetscErrorCode,(Tao,Vec{Complex128},Mat{Complex128},Mat{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function TaoComputeJacobianState(arg1::Tao,arg2::Vec{Complex128},arg3::Mat{Complex128},arg4::Mat{Complex128},arg5::Mat{Complex128}) - err = ccall((:TaoComputeJacobianState,petscComplexDouble),PetscErrorCode,(Tao,Vec{Complex128},Mat{Complex128},Mat{Complex128},Mat{Complex128}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TaoComputeJacobianEquality(arg1::Tao,arg2::Vec{Complex128},arg3::Mat{Complex128},arg4::Mat{Complex128}) - err = ccall((:TaoComputeJacobianEquality,petscComplexDouble),PetscErrorCode,(Tao,Vec{Complex128},Mat{Complex128},Mat{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function TaoComputeJacobianInequality(arg1::Tao,arg2::Vec{Complex128},arg3::Mat{Complex128},arg4::Mat{Complex128}) - err = ccall((:TaoComputeJacobianInequality,petscComplexDouble),PetscErrorCode,(Tao,Vec{Complex128},Mat{Complex128},Mat{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function TaoComputeJacobianDesign(arg1::Tao,arg2::Vec{Complex128},arg3::Mat{Complex128}) - err = ccall((:TaoComputeJacobianDesign,petscComplexDouble),PetscErrorCode,(Tao,Vec{Complex128},Mat{Complex128}),arg1,arg2,arg3) - return err -end - -function TaoDefaultComputeHessian(arg1::Tao,arg2::Vec{Complex128},arg3::Mat{Complex128},arg4::Mat{Complex128},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoDefaultComputeHessian,petscComplexDouble),PetscErrorCode,(Tao,Vec{Complex128},Mat{Complex128},Mat{Complex128},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TaoDefaultComputeHessianColor(arg1::Tao,arg2::Vec{Complex128},arg3::Mat{Complex128},arg4::Mat{Complex128},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoDefaultComputeHessianColor,petscComplexDouble),PetscErrorCode,(Tao,Vec{Complex128},Mat{Complex128},Mat{Complex128},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TaoComputeDualVariables(arg1::Tao,arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:TaoComputeDualVariables,petscComplexDouble),PetscErrorCode,(Tao,Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function TaoComputeDualVariables(arg1::Tao,arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:TaoComputeDualVariables,petscComplexDouble),PetscErrorCode,(Tao,Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function TaoSetVariableBounds(arg1::Tao,arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:TaoSetVariableBounds,petscComplexDouble),PetscErrorCode,(Tao,Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function TaoGetVariableBounds(arg1::Tao,arg2::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}},arg3::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:TaoGetVariableBounds,petscComplexDouble),PetscErrorCode,(Tao,Ptr{Vec{Complex128}},Ptr{Vec{Complex128}}),arg1,arg2,arg3) - return err -end - -function TaoGetDualVariables(arg1::Tao,arg2::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}},arg3::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:TaoGetDualVariables,petscComplexDouble),PetscErrorCode,(Tao,Ptr{Vec{Complex128}},Ptr{Vec{Complex128}}),arg1,arg2,arg3) - return err -end - -function TaoSetInequalityBounds(arg1::Tao,arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:TaoSetInequalityBounds,petscComplexDouble),PetscErrorCode,(Tao,Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function TaoGetInequalityBounds(arg1::Tao,arg2::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}},arg3::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:TaoGetInequalityBounds,petscComplexDouble),PetscErrorCode,(Tao,Ptr{Vec{Complex128}},Ptr{Vec{Complex128}}),arg1,arg2,arg3) - return err -end - -function TaoSetVariableBoundsRoutine(arg0::Type{Complex128},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetVariableBoundsRoutine,petscComplexDouble),PetscErrorCode,(Tao,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function TaoComputeVariableBounds(arg0::Type{Complex128},arg1::Tao) - err = ccall((:TaoComputeVariableBounds,petscComplexDouble),PetscErrorCode,(Tao,),arg1) - return err -end - -function TaoGetTolerances(arg0::Type{Complex128},arg1::Tao,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TaoGetTolerances,petscComplexDouble),PetscErrorCode,(Tao,Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function TaoSetTolerances(arg0::Type{Complex128},arg1::Tao,arg2::Float64,arg3::Float64,arg4::Float64,arg5::Float64,arg6::Float64) - err = ccall((:TaoSetTolerances,petscComplexDouble),PetscErrorCode,(Tao,Float64,Float64,Float64,Float64,Float64),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function TaoGetConstraintTolerances(arg0::Type{Complex128},arg1::Tao,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TaoGetConstraintTolerances,petscComplexDouble),PetscErrorCode,(Tao,Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function TaoSetConstraintTolerances(arg0::Type{Complex128},arg1::Tao,arg2::Float64,arg3::Float64) - err = ccall((:TaoSetConstraintTolerances,petscComplexDouble),PetscErrorCode,(Tao,Float64,Float64),arg1,arg2,arg3) - return err -end - -function TaoSetFunctionLowerBound(arg0::Type{Complex128},arg1::Tao,arg2::Float64) - err = ccall((:TaoSetFunctionLowerBound,petscComplexDouble),PetscErrorCode,(Tao,Float64),arg1,arg2) - return err -end - -function TaoSetInitialTrustRegionRadius(arg0::Type{Complex128},arg1::Tao,arg2::Float64) - err = ccall((:TaoSetInitialTrustRegionRadius,petscComplexDouble),PetscErrorCode,(Tao,Float64),arg1,arg2) - return err -end - -function TaoSetMaximumIterations(arg0::Type{Complex128},arg1::Tao,arg2::Integer) - err = ccall((:TaoSetMaximumIterations,petscComplexDouble),PetscErrorCode,(Tao,Int64),arg1,arg2) - return err -end - -function TaoSetMaximumFunctionEvaluations(arg0::Type{Complex128},arg1::Tao,arg2::Integer) - err = ccall((:TaoSetMaximumFunctionEvaluations,petscComplexDouble),PetscErrorCode,(Tao,Int64),arg1,arg2) - return err -end - -function TaoGetFunctionLowerBound(arg0::Type{Complex128},arg1::Tao,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TaoGetFunctionLowerBound,petscComplexDouble),PetscErrorCode,(Tao,Ptr{Float64}),arg1,arg2) - return err -end - -function TaoGetInitialTrustRegionRadius(arg0::Type{Complex128},arg1::Tao,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TaoGetInitialTrustRegionRadius,petscComplexDouble),PetscErrorCode,(Tao,Ptr{Float64}),arg1,arg2) - return err -end - -function TaoGetCurrentTrustRegionRadius(arg0::Type{Complex128},arg1::Tao,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TaoGetCurrentTrustRegionRadius,petscComplexDouble),PetscErrorCode,(Tao,Ptr{Float64}),arg1,arg2) - return err -end - -function TaoGetMaximumIterations(arg0::Type{Complex128},arg1::Tao,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:TaoGetMaximumIterations,petscComplexDouble),PetscErrorCode,(Tao,Ptr{Int64}),arg1,arg2) - return err -end - -function TaoGetCurrentFunctionEvaluations(arg0::Type{Complex128},arg1::Tao,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:TaoGetCurrentFunctionEvaluations,petscComplexDouble),PetscErrorCode,(Tao,Ptr{Int64}),arg1,arg2) - return err -end - -function TaoGetMaximumFunctionEvaluations(arg0::Type{Complex128},arg1::Tao,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:TaoGetMaximumFunctionEvaluations,petscComplexDouble),PetscErrorCode,(Tao,Ptr{Int64}),arg1,arg2) - return err -end - -function TaoGetIterationNumber(arg0::Type{Complex128},arg1::Tao,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:TaoGetIterationNumber,petscComplexDouble),PetscErrorCode,(Tao,Ptr{Int64}),arg1,arg2) - return err -end - -function TaoSetIterationNumber(arg0::Type{Complex128},arg1::Tao,arg2::Integer) - err = ccall((:TaoSetIterationNumber,petscComplexDouble),PetscErrorCode,(Tao,Int64),arg1,arg2) - return err -end - -function TaoGetTotalIterationNumber(arg0::Type{Complex128},arg1::Tao,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:TaoGetTotalIterationNumber,petscComplexDouble),PetscErrorCode,(Tao,Ptr{Int64}),arg1,arg2) - return err -end - -function TaoSetTotalIterationNumber(arg0::Type{Complex128},arg1::Tao,arg2::Integer) - err = ccall((:TaoSetTotalIterationNumber,petscComplexDouble),PetscErrorCode,(Tao,Int64),arg1,arg2) - return err -end - -function TaoSetOptionsPrefix(arg0::Type{Complex128},arg1::Tao,p::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:TaoSetOptionsPrefix,petscComplexDouble),PetscErrorCode,(Tao,Cstring),arg1,p) - return err -end - -function TaoAppendOptionsPrefix(arg0::Type{Complex128},arg1::Tao,p::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:TaoAppendOptionsPrefix,petscComplexDouble),PetscErrorCode,(Tao,Cstring),arg1,p) - return err -end - -function TaoGetOptionsPrefix(arg0::Type{Complex128},arg1::Tao,p::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:TaoGetOptionsPrefix,petscComplexDouble),PetscErrorCode,(Tao,Ptr{Ptr{UInt8}}),arg1,p) - return err -end - -function TaoResetStatistics(arg0::Type{Complex128},arg1::Tao) - err = ccall((:TaoResetStatistics,petscComplexDouble),PetscErrorCode,(Tao,),arg1) - return err -end - -function TaoGetKSP(arg1::Tao,arg2::Union{Ptr{KSP{Complex128}},StridedArray{KSP{Complex128}},Ptr{KSP{Complex128}},Ref{KSP{Complex128}}}) - err = ccall((:TaoGetKSP,petscComplexDouble),PetscErrorCode,(Tao,Ptr{KSP{Complex128}}),arg1,arg2) - return err -end - -function TaoGetLinearSolveIterations(arg0::Type{Complex128},arg1::Tao,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:TaoGetLinearSolveIterations,petscComplexDouble),PetscErrorCode,(Tao,Ptr{Int64}),arg1,arg2) - return err -end - -function TaoLineSearchCreate(arg0::Type{Complex128},arg1::MPI_Comm,arg2::Union{Ptr{TaoLineSearch},StridedArray{TaoLineSearch},Ptr{TaoLineSearch},Ref{TaoLineSearch}}) - err = ccall((:TaoLineSearchCreate,petscComplexDouble),PetscErrorCode,(comm_type,Ptr{TaoLineSearch}),arg1,arg2) - return err -end - -function TaoLineSearchSetFromOptions(arg0::Type{Complex128},arg1::TaoLineSearch) - err = ccall((:TaoLineSearchSetFromOptions,petscComplexDouble),PetscErrorCode,(TaoLineSearch,),arg1) - return err -end - -function TaoLineSearchSetUp(arg0::Type{Complex128},arg1::TaoLineSearch) - err = ccall((:TaoLineSearchSetUp,petscComplexDouble),PetscErrorCode,(TaoLineSearch,),arg1) - return err -end - -function TaoLineSearchDestroy(arg0::Type{Complex128},arg1::Union{Ptr{TaoLineSearch},StridedArray{TaoLineSearch},Ptr{TaoLineSearch},Ref{TaoLineSearch}}) - err = ccall((:TaoLineSearchDestroy,petscComplexDouble),PetscErrorCode,(Ptr{TaoLineSearch},),arg1) - return err -end - -function TaoLineSearchView(arg1::TaoLineSearch,arg2::PetscViewer{Complex128}) - err = ccall((:TaoLineSearchView,petscComplexDouble),PetscErrorCode,(TaoLineSearch,PetscViewer{Complex128}),arg1,arg2) - return err -end - -function TaoLineSearchViewFromOptions(arg0::Type{Complex128},A::TaoLineSearch,obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:TaoLineSearchViewFromOptions,petscComplexDouble),PetscErrorCode,(TaoLineSearch,PetscObject,Cstring),A,obj,name) - return err -end - -function TaoLineSearchSetOptionsPrefix(arg0::Type{Complex128},arg1::TaoLineSearch,prefix::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:TaoLineSearchSetOptionsPrefix,petscComplexDouble),PetscErrorCode,(TaoLineSearch,Cstring),arg1,prefix) - return err -end - -function TaoLineSearchReset(arg0::Type{Complex128},arg1::TaoLineSearch) - err = ccall((:TaoLineSearchReset,petscComplexDouble),PetscErrorCode,(TaoLineSearch,),arg1) - return err -end - -function TaoLineSearchAppendOptionsPrefix(arg0::Type{Complex128},arg1::TaoLineSearch,prefix::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:TaoLineSearchAppendOptionsPrefix,petscComplexDouble),PetscErrorCode,(TaoLineSearch,Cstring),arg1,prefix) - return err -end - -function TaoLineSearchGetOptionsPrefix(arg0::Type{Complex128},arg1::TaoLineSearch,prefix::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:TaoLineSearchGetOptionsPrefix,petscComplexDouble),PetscErrorCode,(TaoLineSearch,Ptr{Ptr{UInt8}}),arg1,prefix) - return err -end - -function TaoLineSearchApply(arg1::TaoLineSearch,arg2::Vec{Complex128},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Vec{Complex128},arg5::Vec{Complex128},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg7::Union{Ptr{TaoLineSearchConvergedReason},StridedArray{TaoLineSearchConvergedReason},Ptr{TaoLineSearchConvergedReason},Ref{TaoLineSearchConvergedReason}}) - err = ccall((:TaoLineSearchApply,petscComplexDouble),PetscErrorCode,(TaoLineSearch,Vec{Complex128},Ptr{Float64},Vec{Complex128},Vec{Complex128},Ptr{Float64},Ptr{TaoLineSearchConvergedReason}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function TaoLineSearchGetStepLength(arg0::Type{Complex128},arg1::TaoLineSearch,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TaoLineSearchGetStepLength,petscComplexDouble),PetscErrorCode,(TaoLineSearch,Ptr{Float64}),arg1,arg2) - return err -end - -function TaoLineSearchGetStartingVector(arg1::TaoLineSearch,arg2::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:TaoLineSearchGetStartingVector,petscComplexDouble),PetscErrorCode,(TaoLineSearch,Ptr{Vec{Complex128}}),arg1,arg2) - return err -end - -function TaoLineSearchGetStepDirection(arg1::TaoLineSearch,arg2::Union{Ptr{Vec{Complex128}},StridedArray{Vec{Complex128}},Ptr{Vec{Complex128}},Ref{Vec{Complex128}}}) - err = ccall((:TaoLineSearchGetStepDirection,petscComplexDouble),PetscErrorCode,(TaoLineSearch,Ptr{Vec{Complex128}}),arg1,arg2) - return err -end - -function TaoLineSearchSetInitialStepLength(arg0::Type{Complex128},arg1::TaoLineSearch,arg2::Float64) - err = ccall((:TaoLineSearchSetInitialStepLength,petscComplexDouble),PetscErrorCode,(TaoLineSearch,Float64),arg1,arg2) - return err -end - -function TaoLineSearchGetSolution(arg1::TaoLineSearch,arg2::Vec{Complex128},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Vec{Complex128},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{TaoLineSearchConvergedReason},StridedArray{TaoLineSearchConvergedReason},Ptr{TaoLineSearchConvergedReason},Ref{TaoLineSearchConvergedReason}}) - err = ccall((:TaoLineSearchGetSolution,petscComplexDouble),PetscErrorCode,(TaoLineSearch,Vec{Complex128},Ptr{Float64},Vec{Complex128},Ptr{Float64},Ptr{TaoLineSearchConvergedReason}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function TaoLineSearchGetFullStepObjective(arg0::Type{Complex128},arg1::TaoLineSearch,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TaoLineSearchGetFullStepObjective,petscComplexDouble),PetscErrorCode,(TaoLineSearch,Ptr{Float64}),arg1,arg2) - return err -end - -function TaoLineSearchGetNumberFunctionEvaluations(arg0::Type{Complex128},arg1::TaoLineSearch,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:TaoLineSearchGetNumberFunctionEvaluations,petscComplexDouble),PetscErrorCode,(TaoLineSearch,Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function TaoLineSearchGetType(arg0::Type{Complex128},arg1::TaoLineSearch,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:TaoLineSearchGetType,petscComplexDouble),PetscErrorCode,(TaoLineSearch,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function TaoLineSearchSetType(arg0::Type{Complex128},arg1::TaoLineSearch,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:TaoLineSearchSetType,petscComplexDouble),PetscErrorCode,(TaoLineSearch,Cstring),arg1,arg2) - return err -end - -function TaoLineSearchIsUsingTaoRoutines(arg0::Type{Complex128},arg1::TaoLineSearch,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:TaoLineSearchIsUsingTaoRoutines,petscComplexDouble),PetscErrorCode,(TaoLineSearch,Ptr{PetscBool}),arg1,arg2) - return err -end - -function TaoLineSearchSetObjectiveAndGTSRoutine(arg0::Type{Complex128},arg1::TaoLineSearch,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoLineSearchSetObjectiveAndGTSRoutine,petscComplexDouble),PetscErrorCode,(TaoLineSearch,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function TaoLineSearchSetObjectiveRoutine(arg0::Type{Complex128},arg1::TaoLineSearch,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoLineSearchSetObjectiveRoutine,petscComplexDouble),PetscErrorCode,(TaoLineSearch,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function TaoLineSearchSetGradientRoutine(arg0::Type{Complex128},arg1::TaoLineSearch,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoLineSearchSetGradientRoutine,petscComplexDouble),PetscErrorCode,(TaoLineSearch,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function TaoLineSearchSetObjectiveAndGradientRoutine(arg0::Type{Complex128},arg1::TaoLineSearch,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoLineSearchSetObjectiveAndGradientRoutine,petscComplexDouble),PetscErrorCode,(TaoLineSearch,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function TaoLineSearchComputeObjective(arg1::TaoLineSearch,arg2::Vec{Complex128},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TaoLineSearchComputeObjective,petscComplexDouble),PetscErrorCode,(TaoLineSearch,Vec{Complex128},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function TaoLineSearchComputeGradient(arg1::TaoLineSearch,arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:TaoLineSearchComputeGradient,petscComplexDouble),PetscErrorCode,(TaoLineSearch,Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function TaoLineSearchComputeObjectiveAndGradient(arg1::TaoLineSearch,arg2::Vec{Complex128},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Vec{Complex128}) - err = ccall((:TaoLineSearchComputeObjectiveAndGradient,petscComplexDouble),PetscErrorCode,(TaoLineSearch,Vec{Complex128},Ptr{Float64},Vec{Complex128}),arg1,arg2,arg3,arg4) - return err -end - -function TaoLineSearchComputeObjectiveAndGTS(arg1::TaoLineSearch,arg2::Vec{Complex128},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TaoLineSearchComputeObjectiveAndGTS,petscComplexDouble),PetscErrorCode,(TaoLineSearch,Vec{Complex128},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function TaoLineSearchSetVariableBounds(arg1::TaoLineSearch,arg2::Vec{Complex128},arg3::Vec{Complex128}) - err = ccall((:TaoLineSearchSetVariableBounds,petscComplexDouble),PetscErrorCode,(TaoLineSearch,Vec{Complex128},Vec{Complex128}),arg1,arg2,arg3) - return err -end - -function TaoLineSearchInitializePackage(arg0::Type{Complex128}) - err = ccall((:TaoLineSearchInitializePackage,petscComplexDouble),PetscErrorCode,()) - return err -end - -function TaoLineSearchFinalizePackage(arg0::Type{Complex128}) - err = ccall((:TaoLineSearchFinalizePackage,petscComplexDouble),PetscErrorCode,()) - return err -end - -function TaoLineSearchRegister(arg0::Type{Complex128},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoLineSearchRegister,petscComplexDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function TaoLineSearchUseTaoRoutines(arg0::Type{Complex128},arg1::TaoLineSearch,arg2::Tao) - err = ccall((:TaoLineSearchUseTaoRoutines,petscComplexDouble),PetscErrorCode,(TaoLineSearch,Tao),arg1,arg2) - return err -end - -function TaoGetLineSearch(arg0::Type{Complex128},arg1::Tao,arg2::Union{Ptr{TaoLineSearch},StridedArray{TaoLineSearch},Ptr{TaoLineSearch},Ref{TaoLineSearch}}) - err = ccall((:TaoGetLineSearch,petscComplexDouble),PetscErrorCode,(Tao,Ptr{TaoLineSearch}),arg1,arg2) - return err -end - -function TaoSetConvergenceHistory(arg0::Type{Complex128},arg1::Tao,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Integer,arg7::PetscBool) - err = ccall((:TaoSetConvergenceHistory,petscComplexDouble),PetscErrorCode,(Tao,Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Int64},Int64,PetscBool),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function TaoGetConvergenceHistory(arg0::Type{Complex128},arg1::Tao,arg2::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg3::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg4::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:TaoGetConvergenceHistory,petscComplexDouble),PetscErrorCode,(Tao,Ptr{Ptr{Float64}},Ptr{Ptr{Float64}},Ptr{Ptr{Float64}},Ptr{Ptr{Int64}},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function TaoSetMonitor(arg0::Type{Complex128},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetMonitor,petscComplexDouble),PetscErrorCode,(Tao,Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function TaoCancelMonitors(arg0::Type{Complex128},arg1::Tao) - err = ccall((:TaoCancelMonitors,petscComplexDouble),PetscErrorCode,(Tao,),arg1) - return err -end - -function TaoDefaultMonitor(arg0::Type{Complex128},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoDefaultMonitor,petscComplexDouble),PetscErrorCode,(Tao,Ptr{Void}),arg1,arg2) - return err -end - -function TaoDefaultSMonitor(arg0::Type{Complex128},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoDefaultSMonitor,petscComplexDouble),PetscErrorCode,(Tao,Ptr{Void}),arg1,arg2) - return err -end - -function TaoDefaultCMonitor(arg0::Type{Complex128},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoDefaultCMonitor,petscComplexDouble),PetscErrorCode,(Tao,Ptr{Void}),arg1,arg2) - return err -end - -function TaoSolutionMonitor(arg0::Type{Complex128},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSolutionMonitor,petscComplexDouble),PetscErrorCode,(Tao,Ptr{Void}),arg1,arg2) - return err -end - -function TaoSeparableObjectiveMonitor(arg0::Type{Complex128},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSeparableObjectiveMonitor,petscComplexDouble),PetscErrorCode,(Tao,Ptr{Void}),arg1,arg2) - return err -end - -function TaoGradientMonitor(arg0::Type{Complex128},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoGradientMonitor,petscComplexDouble),PetscErrorCode,(Tao,Ptr{Void}),arg1,arg2) - return err -end - -function TaoStepDirectionMonitor(arg0::Type{Complex128},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoStepDirectionMonitor,petscComplexDouble),PetscErrorCode,(Tao,Ptr{Void}),arg1,arg2) - return err -end - -function TaoDrawSolutionMonitor(arg0::Type{Complex128},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoDrawSolutionMonitor,petscComplexDouble),PetscErrorCode,(Tao,Ptr{Void}),arg1,arg2) - return err -end - -function TaoDrawStepMonitor(arg0::Type{Complex128},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoDrawStepMonitor,petscComplexDouble),PetscErrorCode,(Tao,Ptr{Void}),arg1,arg2) - return err -end - -function TaoDrawGradientMonitor(arg0::Type{Complex128},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoDrawGradientMonitor,petscComplexDouble),PetscErrorCode,(Tao,Ptr{Void}),arg1,arg2) - return err -end - -function TaoAddLineSearchCounts(arg0::Type{Complex128},arg1::Tao) - err = ccall((:TaoAddLineSearchCounts,petscComplexDouble),PetscErrorCode,(Tao,),arg1) - return err -end - -function TaoDefaultConvergenceTest(arg0::Type{Complex128},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoDefaultConvergenceTest,petscComplexDouble),PetscErrorCode,(Tao,Ptr{Void}),arg1,arg2) - return err -end - -function TaoSetConvergenceTest(arg0::Type{Complex128},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetConvergenceTest,petscComplexDouble),PetscErrorCode,(Tao,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function TaoSQPCONSetStateDesignIS(arg1::Tao,arg2::IS{Complex128},arg3::IS{Complex128}) - err = ccall((:TaoSQPCONSetStateDesignIS,petscComplexDouble),PetscErrorCode,(Tao,IS{Complex128},IS{Complex128}),arg1,arg2,arg3) - return err -end - -function TaoLCLSetStateDesignIS(arg1::Tao,arg2::IS{Complex128},arg3::IS{Complex128}) - err = ccall((:TaoLCLSetStateDesignIS,petscComplexDouble),PetscErrorCode,(Tao,IS{Complex128},IS{Complex128}),arg1,arg2,arg3) - return err -end - -function TaoMonitor(arg0::Type{Complex128},arg1::Tao,arg2::Integer,arg3::Float64,arg4::Float64,arg5::Float64,arg6::Float64,arg7::Union{Ptr{TaoConvergedReason},StridedArray{TaoConvergedReason},Ptr{TaoConvergedReason},Ref{TaoConvergedReason}}) - err = ccall((:TaoMonitor,petscComplexDouble),PetscErrorCode,(Tao,Int64,Float64,Float64,Float64,Float64,Ptr{TaoConvergedReason}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end diff --git a/src/generated/PETScRealDouble.jl b/src/generated/PETScRealDouble.jl deleted file mode 100644 index d9c9ad6f..00000000 --- a/src/generated/PETScRealDouble.jl +++ /dev/null @@ -1,17718 +0,0 @@ -# Julia wrapper for header: ../../deps/RealDouble/petsc-3.6.0/include/petsc.h -# Automatically generated using Clang.jl wrap_c, version 0.0.0 - - -function PetscAbsScalar(arg0::Type{Float64},a::Float64) - err = ccall((:PetscAbsScalar,petscRealDouble),PetscReal,(Float64,),a) - return err -end - -function PetscIsInfOrNanReal(arg0::Type{Float64},arg1::Float64) - err = ccall((:PetscIsInfOrNanReal,petscRealDouble),PetscErrorCode,(Float64,),arg1) - return err -end - -function PetscIsNormalReal(arg0::Type{Float64},arg1::Float64) - err = ccall((:PetscIsNormalReal,petscRealDouble),PetscBool,(Float64,),arg1) - return err -end - -function PetscIsInfOrNanScalar(arg0::Type{Float64},v::Float64) - err = ccall((:PetscIsInfOrNanScalar,petscRealDouble),PetscErrorCode,(Float64,),v) - return err -end - -function PetscIsNormalScalar(arg0::Type{Float64},v::Float64) - err = ccall((:PetscIsNormalScalar,petscRealDouble),PetscErrorCode,(Float64,),v) - return err -end - -function PetscPowInt(arg0::Type{Float64},base::Integer,power::Integer) - err = ccall((:PetscPowInt,petscRealDouble),PetscInt,(Int64,Int64),base,power) - return err -end - -function PetscPowRealInt(arg0::Type{Float64},base::Float64,power::Integer) - err = ccall((:PetscPowRealInt,petscRealDouble),PetscReal,(Float64,Int64),base,power) - return err -end - -function PetscPowScalarInt(arg0::Type{Float64},base::Float64,power::Integer) - err = ccall((:PetscPowScalarInt,petscRealDouble),PetscScalar,(Float64,Int64),base,power) - return err -end - -function PetscPowScalarReal(arg0::Type{Float64},base::Float64,power::Float64) - err = ccall((:PetscPowScalarReal,petscRealDouble),PetscScalar,(Float64,Float64),base,power) - return err -end - -function PetscSetHelpVersionFunctions(arg0::Type{Float64},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscSetHelpVersionFunctions,petscRealDouble),PetscErrorCode,(Ptr{Void},Ptr{Void}),arg1,arg2) - return err -end - -function PetscCommDuplicate(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{MPI_Comm},StridedArray{MPI_Comm},Ptr{MPI_Comm},Ref{MPI_Comm}},arg3::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}}) - err = ccall((:PetscCommDuplicate,petscRealDouble),PetscErrorCode,(comm_type,Ptr{comm_type},Ptr{Cint}),arg1,arg2,arg3) - return err -end - -function PetscCommDestroy(arg0::Type{Float64},arg1::Union{Ptr{MPI_Comm},StridedArray{MPI_Comm},Ptr{MPI_Comm},Ref{MPI_Comm}}) - err = ccall((:PetscCommDestroy,petscRealDouble),PetscErrorCode,(Ptr{comm_type},),arg1) - return err -end - -function PetscMallocSet(arg0::Type{Float64},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscMallocSet,petscRealDouble),PetscErrorCode,(Ptr{Void},Ptr{Void}),arg1,arg2) - return err -end - -function PetscMallocClear(arg0::Type{Float64}) - err = ccall((:PetscMallocClear,petscRealDouble),PetscErrorCode,()) - return err -end - -#= skipping function with undefined symbols: - function PetscMallocDump(arg0::Type{Float64},arg1::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}}) - ccall((:PetscMallocDump,petscRealDouble),PetscErrorCode,(Ptr{FILE},),arg1) -end -=# -#= skipping function with undefined symbols: - function PetscMallocDumpLog(arg0::Type{Float64},arg1::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}}) - ccall((:PetscMallocDumpLog,petscRealDouble),PetscErrorCode,(Ptr{FILE},),arg1) -end -=# -function PetscMallocGetCurrentUsage(arg0::Type{Float64},arg1::Union{Ptr{PetscLogDouble},StridedArray{PetscLogDouble},Ptr{PetscLogDouble},Ref{PetscLogDouble}}) - err = ccall((:PetscMallocGetCurrentUsage,petscRealDouble),PetscErrorCode,(Ptr{PetscLogDouble},),arg1) - return err -end - -function PetscMallocGetMaximumUsage(arg0::Type{Float64},arg1::Union{Ptr{PetscLogDouble},StridedArray{PetscLogDouble},Ptr{PetscLogDouble},Ref{PetscLogDouble}}) - err = ccall((:PetscMallocGetMaximumUsage,petscRealDouble),PetscErrorCode,(Ptr{PetscLogDouble},),arg1) - return err -end - -function PetscMallocDebug(arg0::Type{Float64},arg1::PetscBool) - err = ccall((:PetscMallocDebug,petscRealDouble),PetscErrorCode,(PetscBool,),arg1) - return err -end - -function PetscMallocGetDebug(arg0::Type{Float64},arg1::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscMallocGetDebug,petscRealDouble),PetscErrorCode,(Ptr{PetscBool},),arg1) - return err -end - -function PetscMallocValidate(arg0::Type{Float64},arg1::Integer,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscMallocValidate,petscRealDouble),PetscErrorCode,(Cint,Cstring,Cstring),arg1,arg2,arg3) - return err -end - -function PetscMallocSetDumpLog(arg0::Type{Float64}) - err = ccall((:PetscMallocSetDumpLog,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscMallocSetDumpLogThreshold(arg0::Type{Float64},arg1::PetscLogDouble) - err = ccall((:PetscMallocSetDumpLogThreshold,petscRealDouble),PetscErrorCode,(PetscLogDouble,),arg1) - return err -end - -function PetscMallocGetDumpLog(arg0::Type{Float64},arg1::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscMallocGetDumpLog,petscRealDouble),PetscErrorCode,(Ptr{PetscBool},),arg1) - return err -end - -#= skipping function with undefined symbols: - function PetscDataTypeToMPIDataType(arg0::Type{Float64},arg1::PetscDataType,arg2::Union{Ptr{MPI_Datatype},StridedArray{MPI_Datatype},Ptr{MPI_Datatype},Ref{MPI_Datatype}}) - ccall((:PetscDataTypeToMPIDataType,petscRealDouble),PetscErrorCode,(PetscDataType,Ptr{MPI_Datatype}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function PetscMPIDataTypeToPetscDataType(arg0::Type{Float64},arg1::MPI_Datatype,arg2::Union{Ptr{PetscDataType},StridedArray{PetscDataType},Ptr{PetscDataType},Ref{PetscDataType}}) - ccall((:PetscMPIDataTypeToPetscDataType,petscRealDouble),PetscErrorCode,(MPI_Datatype,Ptr{PetscDataType}),arg1,arg2) -end -=# -function PetscDataTypeGetSize(arg0::Type{Float64},arg1::PetscDataType,arg2::Union{Ptr{Csize_t},StridedArray{Csize_t},Ptr{Csize_t},Ref{Csize_t}}) - err = ccall((:PetscDataTypeGetSize,petscRealDouble),PetscErrorCode,(PetscDataType,Ptr{Csize_t}),arg1,arg2) - return err -end - -function PetscDataTypeFromString(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{PetscDataType},StridedArray{PetscDataType},Ptr{PetscDataType},Ref{PetscDataType}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscDataTypeFromString,petscRealDouble),PetscErrorCode,(Cstring,Ptr{PetscDataType},Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function PetscBitMemcpy(arg0::Type{Float64},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg2::Integer,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Integer,arg5::Integer,arg6::PetscDataType) - err = ccall((:PetscBitMemcpy,petscRealDouble),PetscErrorCode,(Ptr{Void},Int64,Ptr{Void},Int64,Int64,PetscDataType),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscMemmove(arg0::Type{Float64},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Csize_t) - err = ccall((:PetscMemmove,petscRealDouble),PetscErrorCode,(Ptr{Void},Ptr{Void},Csize_t),arg1,arg2,arg3) - return err -end - -function PetscMemcmp(arg0::Type{Float64},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Csize_t,arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscMemcmp,petscRealDouble),PetscErrorCode,(Ptr{Void},Ptr{Void},Csize_t,Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function PetscStrlen(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Csize_t},StridedArray{Csize_t},Ptr{Csize_t},Ref{Csize_t}}) - err = ccall((:PetscStrlen,petscRealDouble),PetscErrorCode,(Cstring,Ptr{Csize_t}),arg1,arg2) - return err -end - -function PetscStrToArray(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::UInt8,arg3::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}},arg4::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}}) - err = ccall((:PetscStrToArray,petscRealDouble),PetscErrorCode,(Cstring,UInt8,Ptr{Cint},Ptr{Ptr{Ptr{UInt8}}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscStrToArrayDestroy(arg0::Type{Float64},arg1::Integer,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscStrToArrayDestroy,petscRealDouble),PetscErrorCode,(Cint,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscStrcmp(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscStrcmp,petscRealDouble),PetscErrorCode,(Cstring,Cstring,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function PetscStrgrt(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscStrgrt,petscRealDouble),PetscErrorCode,(Cstring,Cstring,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function PetscStrcasecmp(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscStrcasecmp,petscRealDouble),PetscErrorCode,(Cstring,Cstring,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function PetscStrncmp(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Csize_t,arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscStrncmp,petscRealDouble),PetscErrorCode,(Cstring,Cstring,Csize_t,Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function PetscStrcpy(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscStrcpy,petscRealDouble),PetscErrorCode,(Cstring,Cstring),arg1,arg2) - return err -end - -function PetscStrcat(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscStrcat,petscRealDouble),PetscErrorCode,(Cstring,Cstring),arg1,arg2) - return err -end - -function PetscStrncat(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Csize_t) - err = ccall((:PetscStrncat,petscRealDouble),PetscErrorCode,(Cstring,Cstring,Csize_t),arg1,arg2,arg3) - return err -end - -function PetscStrncpy(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Csize_t) - err = ccall((:PetscStrncpy,petscRealDouble),PetscErrorCode,(Cstring,Cstring,Csize_t),arg1,arg2,arg3) - return err -end - -function PetscStrchr(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::UInt8,arg3::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscStrchr,petscRealDouble),PetscErrorCode,(Cstring,UInt8,Ptr{Ptr{UInt8}}),arg1,arg2,arg3) - return err -end - -function PetscStrtolower(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscStrtolower,petscRealDouble),PetscErrorCode,(Cstring,),arg1) - return err -end - -function PetscStrtoupper(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscStrtoupper,petscRealDouble),PetscErrorCode,(Cstring,),arg1) - return err -end - -function PetscStrrchr(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::UInt8,arg3::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscStrrchr,petscRealDouble),PetscErrorCode,(Cstring,UInt8,Ptr{Ptr{UInt8}}),arg1,arg2,arg3) - return err -end - -function PetscStrstr(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscStrstr,petscRealDouble),PetscErrorCode,(Cstring,Cstring,Ptr{Ptr{UInt8}}),arg1,arg2,arg3) - return err -end - -function PetscStrrstr(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscStrrstr,petscRealDouble),PetscErrorCode,(Cstring,Cstring,Ptr{Ptr{UInt8}}),arg1,arg2,arg3) - return err -end - -function PetscStrendswith(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscStrendswith,petscRealDouble),PetscErrorCode,(Cstring,Cstring,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function PetscStrbeginswith(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscStrbeginswith,petscRealDouble),PetscErrorCode,(Cstring,Cstring,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function PetscStrendswithwhich(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscStrendswithwhich,petscRealDouble),PetscErrorCode,(Cstring,Ptr{Ptr{UInt8}},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscStrallocpy(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscStrallocpy,petscRealDouble),PetscErrorCode,(Cstring,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscStrArrayallocpy(arg0::Type{Float64},arg1::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg2::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}}) - err = ccall((:PetscStrArrayallocpy,petscRealDouble),PetscErrorCode,(Ptr{Ptr{UInt8}},Ptr{Ptr{Ptr{UInt8}}}),arg1,arg2) - return err -end - -function PetscStrArrayDestroy(arg0::Type{Float64},arg1::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}}) - err = ccall((:PetscStrArrayDestroy,petscRealDouble),PetscErrorCode,(Ptr{Ptr{Ptr{UInt8}}},),arg1) - return err -end - -function PetscStrNArrayallocpy(arg0::Type{Float64},arg1::Integer,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg3::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}}) - err = ccall((:PetscStrNArrayallocpy,petscRealDouble),PetscErrorCode,(Int64,Ptr{Ptr{UInt8}},Ptr{Ptr{Ptr{UInt8}}}),arg1,arg2,arg3) - return err -end - -function PetscStrNArrayDestroy(arg0::Type{Float64},arg1::Integer,arg2::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}}) - err = ccall((:PetscStrNArrayDestroy,petscRealDouble),PetscErrorCode,(Int64,Ptr{Ptr{Ptr{UInt8}}}),arg1,arg2) - return err -end - -function PetscStrreplace(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Csize_t) - err = ccall((:PetscStrreplace,petscRealDouble),PetscErrorCode,(comm_type,Cstring,Cstring,Csize_t),arg1,arg2,arg3,arg4) - return err -end - -function PetscStrcmpNoError(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscStrcmpNoError,petscRealDouble),Void,(Cstring,Cstring,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function PetscTokenCreate(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::UInt8,arg3::Union{Ptr{PetscToken},StridedArray{PetscToken},Ptr{PetscToken},Ref{PetscToken}}) - err = ccall((:PetscTokenCreate,petscRealDouble),PetscErrorCode,(Cstring,UInt8,Ptr{PetscToken}),arg1,arg2,arg3) - return err -end - -function PetscTokenFind(arg0::Type{Float64},arg1::PetscToken,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscTokenFind,petscRealDouble),PetscErrorCode,(PetscToken,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscTokenDestroy(arg0::Type{Float64},arg1::Union{Ptr{PetscToken},StridedArray{PetscToken},Ptr{PetscToken},Ref{PetscToken}}) - err = ccall((:PetscTokenDestroy,petscRealDouble),PetscErrorCode,(Ptr{PetscToken},),arg1) - return err -end - -function PetscEListFind(arg0::Type{Float64},arg1::Integer,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscEListFind,petscRealDouble),PetscErrorCode,(Int64,Ptr{Ptr{UInt8}},Cstring,Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscEnumFind(arg0::Type{Float64},arg1::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscEnum},StridedArray{PetscEnum},Ptr{PetscEnum},Ref{PetscEnum}},arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscEnumFind,petscRealDouble),PetscErrorCode,(Ptr{Ptr{UInt8}},Cstring,Ptr{PetscEnum},Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function PetscMaxSum(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscMaxSum,petscRealDouble),PetscErrorCode,(comm_type,Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -#= skipping function with undefined symbols: - function MPIULong_Send(arg0::Type{Float64},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg2::Integer,arg3::MPI_Datatype,arg4::PetscMPIInt,arg5::PetscMPIInt,arg6::MPI_Comm) - ccall((:MPIULong_Send,petscRealDouble),PetscErrorCode,(Ptr{Void},Int64,MPI_Datatype,PetscMPIInt,PetscMPIInt,comm_type),arg1,arg2,arg3,arg4,arg5,arg6) -end -=# -#= skipping function with undefined symbols: - function MPIULong_Recv(arg0::Type{Float64},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg2::Integer,arg3::MPI_Datatype,arg4::PetscMPIInt,arg5::PetscMPIInt,arg6::MPI_Comm) - ccall((:MPIULong_Recv,petscRealDouble),PetscErrorCode,(Ptr{Void},Int64,MPI_Datatype,PetscMPIInt,PetscMPIInt,comm_type),arg1,arg2,arg3,arg4,arg5,arg6) -end -=# -function PetscErrorPrintfInitialize(arg0::Type{Float64}) - err = ccall((:PetscErrorPrintfInitialize,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscErrorMessage(arg0::Type{Float64},arg1::Integer,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg3::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscErrorMessage,petscRealDouble),PetscErrorCode,(Cint,Ptr{Ptr{UInt8}},Ptr{Ptr{UInt8}}),arg1,arg2,arg3) - return err -end - -function PetscTraceBackErrorHandler(arg0::Type{Float64},arg1::MPI_Comm,arg2::Integer,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::PetscErrorCode,arg6::PetscErrorType,arg7::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg8::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscTraceBackErrorHandler,petscRealDouble),PetscErrorCode,(comm_type,Cint,Cstring,Cstring,PetscErrorCode,PetscErrorType,Cstring,Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function PetscIgnoreErrorHandler(arg0::Type{Float64},arg1::MPI_Comm,arg2::Integer,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::PetscErrorCode,arg6::PetscErrorType,arg7::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg8::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscIgnoreErrorHandler,petscRealDouble),PetscErrorCode,(comm_type,Cint,Cstring,Cstring,PetscErrorCode,PetscErrorType,Cstring,Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function PetscEmacsClientErrorHandler(arg0::Type{Float64},arg1::MPI_Comm,arg2::Integer,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::PetscErrorCode,arg6::PetscErrorType,arg7::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg8::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscEmacsClientErrorHandler,petscRealDouble),PetscErrorCode,(comm_type,Cint,Cstring,Cstring,PetscErrorCode,PetscErrorType,Cstring,Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function PetscMPIAbortErrorHandler(arg0::Type{Float64},arg1::MPI_Comm,arg2::Integer,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::PetscErrorCode,arg6::PetscErrorType,arg7::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg8::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscMPIAbortErrorHandler,petscRealDouble),PetscErrorCode,(comm_type,Cint,Cstring,Cstring,PetscErrorCode,PetscErrorType,Cstring,Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function PetscAbortErrorHandler(arg0::Type{Float64},arg1::MPI_Comm,arg2::Integer,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::PetscErrorCode,arg6::PetscErrorType,arg7::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg8::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscAbortErrorHandler,petscRealDouble),PetscErrorCode,(comm_type,Cint,Cstring,Cstring,PetscErrorCode,PetscErrorType,Cstring,Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function PetscAttachDebuggerErrorHandler(arg0::Type{Float64},arg1::MPI_Comm,arg2::Integer,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::PetscErrorCode,arg6::PetscErrorType,arg7::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg8::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscAttachDebuggerErrorHandler,petscRealDouble),PetscErrorCode,(comm_type,Cint,Cstring,Cstring,PetscErrorCode,PetscErrorType,Cstring,Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function PetscReturnErrorHandler(arg0::Type{Float64},arg1::MPI_Comm,arg2::Integer,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::PetscErrorCode,arg6::PetscErrorType,arg7::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg8::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscReturnErrorHandler,petscRealDouble),PetscErrorCode,(comm_type,Cint,Cstring,Cstring,PetscErrorCode,PetscErrorType,Cstring,Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function PetscPushErrorHandler(arg0::Type{Float64},handler::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscPushErrorHandler,petscRealDouble),PetscErrorCode,(Ptr{Void},Ptr{Void}),handler,arg1) - return err -end - -function PetscPopErrorHandler(arg0::Type{Float64}) - err = ccall((:PetscPopErrorHandler,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscSignalHandlerDefault(arg0::Type{Float64},arg1::Integer,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscSignalHandlerDefault,petscRealDouble),PetscErrorCode,(Cint,Ptr{Void}),arg1,arg2) - return err -end - -function PetscPushSignalHandler(arg0::Type{Float64},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscPushSignalHandler,petscRealDouble),PetscErrorCode,(Ptr{Void},Ptr{Void}),arg1,arg2) - return err -end - -function PetscPopSignalHandler(arg0::Type{Float64}) - err = ccall((:PetscPopSignalHandler,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscCheckPointerSetIntensity(arg0::Type{Float64},arg1::Integer) - err = ccall((:PetscCheckPointerSetIntensity,petscRealDouble),PetscErrorCode,(Int64,),arg1) - return err -end - -function PetscSetFPTrap(arg0::Type{Float64},arg1::PetscFPTrap) - err = ccall((:PetscSetFPTrap,petscRealDouble),PetscErrorCode,(PetscFPTrap,),arg1) - return err -end - -function PetscFPTrapPush(arg0::Type{Float64},arg1::PetscFPTrap) - err = ccall((:PetscFPTrapPush,petscRealDouble),PetscErrorCode,(PetscFPTrap,),arg1) - return err -end - -function PetscFPTrapPop(arg0::Type{Float64}) - err = ccall((:PetscFPTrapPop,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscStackCopy(arg0::Type{Float64},arg1::Union{Ptr{PetscStack},StridedArray{PetscStack},Ptr{PetscStack},Ref{PetscStack}},arg2::Union{Ptr{PetscStack},StridedArray{PetscStack},Ptr{PetscStack},Ref{PetscStack}}) - err = ccall((:PetscStackCopy,petscRealDouble),PetscErrorCode,(Ptr{PetscStack},Ptr{PetscStack}),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function PetscStackPrint(arg0::Type{Float64},arg1::Union{Ptr{PetscStack},StridedArray{PetscStack},Ptr{PetscStack},Ref{PetscStack}},arg2::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}}) - ccall((:PetscStackPrint,petscRealDouble),PetscErrorCode,(Ptr{PetscStack},Ptr{FILE}),arg1,arg2) -end -=# -function PetscStackActive(arg0::Type{Float64}) - err = ccall((:PetscStackActive,petscRealDouble),PetscBool,()) - return err -end - -function PetscStackCreate(arg0::Type{Float64}) - err = ccall((:PetscStackCreate,petscRealDouble),PetscErrorCode,()) - return err -end - -#= skipping function with undefined symbols: - function PetscStackView(arg0::Type{Float64},arg1::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}}) - ccall((:PetscStackView,petscRealDouble),PetscErrorCode,(Ptr{FILE},),arg1) -end -=# -function PetscStackDestroy(arg0::Type{Float64}) - err = ccall((:PetscStackDestroy,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscClassIdRegister(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{PetscClassId},StridedArray{PetscClassId},Ptr{PetscClassId},Ref{PetscClassId}}) - err = ccall((:PetscClassIdRegister,petscRealDouble),PetscErrorCode,(Cstring,Ptr{PetscClassId}),arg1,arg2) - return err -end - -function PetscMemoryGetCurrentUsage(arg0::Type{Float64},arg1::Union{Ptr{PetscLogDouble},StridedArray{PetscLogDouble},Ptr{PetscLogDouble},Ref{PetscLogDouble}}) - err = ccall((:PetscMemoryGetCurrentUsage,petscRealDouble),PetscErrorCode,(Ptr{PetscLogDouble},),arg1) - return err -end - -function PetscMemoryGetMaximumUsage(arg0::Type{Float64},arg1::Union{Ptr{PetscLogDouble},StridedArray{PetscLogDouble},Ptr{PetscLogDouble},Ref{PetscLogDouble}}) - err = ccall((:PetscMemoryGetMaximumUsage,petscRealDouble),PetscErrorCode,(Ptr{PetscLogDouble},),arg1) - return err -end - -function PetscMemorySetGetMaximumUsage(arg0::Type{Float64}) - err = ccall((:PetscMemorySetGetMaximumUsage,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscMemoryTrace(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscMemoryTrace,petscRealDouble),PetscErrorCode,(Cstring,),arg1) - return err -end - -function PetscInfoAllow(arg0::Type{Float64},arg1::PetscBool,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscInfoAllow,petscRealDouble),PetscErrorCode,(PetscBool,Cstring),arg1,arg2) - return err -end - -function PetscSleep(arg0::Type{Float64},arg1::Float64) - err = ccall((:PetscSleep,petscRealDouble),PetscErrorCode,(Float64,),arg1) - return err -end - -function PetscInitialize(arg0::Type{Float64},arg1::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}},arg2::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscInitialize,petscRealDouble),PetscErrorCode,(Ptr{Cint},Ptr{Ptr{Ptr{UInt8}}},Cstring,Cstring),arg1,arg2,arg3,arg4) - return err -end - -function PetscInitializeNoPointers(arg0::Type{Float64},arg1::Integer,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscInitializeNoPointers,petscRealDouble),PetscErrorCode,(Cint,Ptr{Ptr{UInt8}},Cstring,Cstring),arg1,arg2,arg3,arg4) - return err -end - -function PetscInitializeNoArguments(arg0::Type{Float64}) - err = ccall((:PetscInitializeNoArguments,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscInitialized(arg0::Type{Float64},arg1::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscInitialized,petscRealDouble),PetscErrorCode,(Ptr{PetscBool},),arg1) - return err -end - -function PetscFinalized(arg0::Type{Float64},arg1::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscFinalized,petscRealDouble),PetscErrorCode,(Ptr{PetscBool},),arg1) - return err -end - -function PetscFinalize(arg0::Type{Float64}) - err = ccall((:PetscFinalize,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscInitializeFortran(arg0::Type{Float64}) - err = ccall((:PetscInitializeFortran,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscGetArgs(arg0::Type{Float64},arg1::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}},arg2::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}}) - err = ccall((:PetscGetArgs,petscRealDouble),PetscErrorCode,(Ptr{Cint},Ptr{Ptr{Ptr{UInt8}}}),arg1,arg2) - return err -end - -function PetscGetArguments(arg0::Type{Float64},arg1::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}}) - err = ccall((:PetscGetArguments,petscRealDouble),PetscErrorCode,(Ptr{Ptr{Ptr{UInt8}}},),arg1) - return err -end - -function PetscFreeArguments(arg0::Type{Float64},arg1::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscFreeArguments,petscRealDouble),PetscErrorCode,(Ptr{Ptr{UInt8}},),arg1) - return err -end - -function PetscEnd(arg0::Type{Float64}) - err = ccall((:PetscEnd,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscSysInitializePackage(arg0::Type{Float64}) - err = ccall((:PetscSysInitializePackage,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscPythonInitialize(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscPythonInitialize,petscRealDouble),PetscErrorCode,(Cstring,Cstring),arg1,arg2) - return err -end - -function PetscPythonFinalize(arg0::Type{Float64}) - err = ccall((:PetscPythonFinalize,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscPythonPrintError(arg0::Type{Float64}) - err = ccall((:PetscPythonPrintError,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscPythonMonitorSet(arg0::Type{Float64},arg1::PetscObject,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscPythonMonitorSet,petscRealDouble),PetscErrorCode,(PetscObject,Cstring),arg1,arg2) - return err -end - -function PetscObjectDestroy(arg0::Type{Float64},arg1::Union{Ptr{PetscObject},StridedArray{PetscObject},Ptr{PetscObject},Ref{PetscObject}}) - err = ccall((:PetscObjectDestroy,petscRealDouble),PetscErrorCode,(Ptr{PetscObject},),arg1) - return err -end - -function PetscObjectGetComm(arg0::Type{Float64},arg1::Ptr{Void},arg2::Union{Ptr{MPI_Comm},StridedArray{MPI_Comm},Ptr{MPI_Comm},Ref{MPI.CComm}}) - err = ccall((:PetscObjectGetComm,petscRealDouble),PetscErrorCode,(PetscObject,Ptr{comm_type}),arg1,arg2) - return err -end - -function PetscObjectGetClassId(arg0::Type{Float64},arg1::PetscObject,arg2::Union{Ptr{PetscClassId},StridedArray{PetscClassId},Ptr{PetscClassId},Ref{PetscClassId}}) - err = ccall((:PetscObjectGetClassId,petscRealDouble),PetscErrorCode,(PetscObject,Ptr{PetscClassId}),arg1,arg2) - return err -end - -function PetscObjectGetClassName(arg0::Type{Float64},arg1::PetscObject,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscObjectGetClassName,petscRealDouble),PetscErrorCode,(PetscObject,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscObjectSetType(arg0::Type{Float64},arg1::PetscObject,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscObjectSetType,petscRealDouble),PetscErrorCode,(PetscObject,Cstring),arg1,arg2) - return err -end - -function PetscObjectSetPrecision(arg0::Type{Float64},arg1::PetscObject,arg2::PetscPrecision) - err = ccall((:PetscObjectSetPrecision,petscRealDouble),PetscErrorCode,(PetscObject,PetscPrecision),arg1,arg2) - return err -end - -function PetscObjectGetType(arg0::Type{Float64},arg1::PetscObject,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscObjectGetType,petscRealDouble),PetscErrorCode,(PetscObject,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscObjectSetName(arg0::Type{Float64},arg1::PetscObject,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscObjectSetName,petscRealDouble),PetscErrorCode,(PetscObject,Cstring),arg1,arg2) - return err -end - -function PetscObjectGetName(arg0::Type{Float64},arg1::PetscObject,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscObjectGetName,petscRealDouble),PetscErrorCode,(PetscObject,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscObjectSetTabLevel(arg0::Type{Float64},arg1::PetscObject,arg2::Integer) - err = ccall((:PetscObjectSetTabLevel,petscRealDouble),PetscErrorCode,(PetscObject,Int64),arg1,arg2) - return err -end - -function PetscObjectGetTabLevel(arg0::Type{Float64},arg1::PetscObject,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscObjectGetTabLevel,petscRealDouble),PetscErrorCode,(PetscObject,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscObjectIncrementTabLevel(arg0::Type{Float64},arg1::PetscObject,arg2::PetscObject,arg3::Integer) - err = ccall((:PetscObjectIncrementTabLevel,petscRealDouble),PetscErrorCode,(PetscObject,PetscObject,Int64),arg1,arg2,arg3) - return err -end - -function PetscObjectReference(arg0::Type{Float64},arg1::PetscObject) - err = ccall((:PetscObjectReference,petscRealDouble),PetscErrorCode,(PetscObject,),arg1) - return err -end - -function PetscObjectGetReference(arg0::Type{Float64},arg1::PetscObject,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscObjectGetReference,petscRealDouble),PetscErrorCode,(PetscObject,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscObjectDereference(arg0::Type{Float64},arg1::PetscObject) - err = ccall((:PetscObjectDereference,petscRealDouble),PetscErrorCode,(PetscObject,),arg1) - return err -end - -function PetscObjectGetNewTag(arg0::Type{Float64},arg1::PetscObject,arg2::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}}) - err = ccall((:PetscObjectGetNewTag,petscRealDouble),PetscErrorCode,(PetscObject,Ptr{PetscMPIInt}),arg1,arg2) - return err -end - -function PetscObjectCompose(arg0::Type{Float64},arg1::PetscObject,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::PetscObject) - err = ccall((:PetscObjectCompose,petscRealDouble),PetscErrorCode,(PetscObject,Cstring,PetscObject),arg1,arg2,arg3) - return err -end - -function PetscObjectRemoveReference(arg0::Type{Float64},arg1::PetscObject,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscObjectRemoveReference,petscRealDouble),PetscErrorCode,(PetscObject,Cstring),arg1,arg2) - return err -end - -function PetscObjectQuery(arg0::Type{Float64},arg1::PetscObject,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscObject},StridedArray{PetscObject},Ptr{PetscObject},Ref{PetscObject}}) - err = ccall((:PetscObjectQuery,petscRealDouble),PetscErrorCode,(PetscObject,Cstring,Ptr{PetscObject}),arg1,arg2,arg3) - return err -end - -function PetscObjectComposeFunction_Private(arg0::Type{Float64},arg1::PetscObject,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscObjectComposeFunction_Private,petscRealDouble),PetscErrorCode,(PetscObject,Cstring,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function PetscObjectSetFromOptions(arg0::Type{Float64},arg1::PetscObject) - err = ccall((:PetscObjectSetFromOptions,petscRealDouble),PetscErrorCode,(PetscObject,),arg1) - return err -end - -function PetscObjectSetUp(arg0::Type{Float64},arg1::PetscObject) - err = ccall((:PetscObjectSetUp,petscRealDouble),PetscErrorCode,(PetscObject,),arg1) - return err -end - -function PetscCommGetNewTag(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}}) - err = ccall((:PetscCommGetNewTag,petscRealDouble),PetscErrorCode,(comm_type,Ptr{PetscMPIInt}),arg1,arg2) - return err -end - -function PetscObjectAddOptionsHandler(arg0::Type{Float64},arg1::PetscObject,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscObjectAddOptionsHandler,petscRealDouble),PetscErrorCode,(PetscObject,Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function PetscObjectProcessOptionsHandlers(arg0::Type{Float64},arg1::PetscObject) - err = ccall((:PetscObjectProcessOptionsHandlers,petscRealDouble),PetscErrorCode,(PetscObject,),arg1) - return err -end - -function PetscObjectDestroyOptionsHandlers(arg0::Type{Float64},arg1::PetscObject) - err = ccall((:PetscObjectDestroyOptionsHandlers,petscRealDouble),PetscErrorCode,(PetscObject,),arg1) - return err -end - -function PetscObjectsListGetGlobalNumbering(arg0::Type{Float64},arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{PetscObject},StridedArray{PetscObject},Ptr{PetscObject},Ref{PetscObject}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscObjectsListGetGlobalNumbering,petscRealDouble),PetscErrorCode,(comm_type,Int64,Ptr{PetscObject},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscOptionsHasName(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsHasName,petscRealDouble),PetscErrorCode,(Cstring,Cstring,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function PetscOptionsGetInt(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetInt,petscRealDouble),PetscErrorCode,(Cstring,Cstring,Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function PetscOptionsGetBool(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetBool,petscRealDouble),PetscErrorCode,(Cstring,Cstring,Ptr{PetscBool},Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function PetscOptionsGetReal(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetReal,petscRealDouble),PetscErrorCode,(Cstring,Cstring,Ptr{Float64},Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function PetscOptionsGetScalar(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetScalar,petscRealDouble),PetscErrorCode,(Cstring,Cstring,Ptr{Float64},Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function PetscOptionsGetIntArray(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetIntArray,petscRealDouble),PetscErrorCode,(Cstring,Cstring,Ptr{Int64},Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscOptionsGetRealArray(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetRealArray,petscRealDouble),PetscErrorCode,(Cstring,Cstring,Ptr{Float64},Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscOptionsGetScalarArray(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetScalarArray,petscRealDouble),PetscErrorCode,(Cstring,Cstring,Ptr{Float64},Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscOptionsGetBoolArray(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetBoolArray,petscRealDouble),PetscErrorCode,(Cstring,Cstring,Ptr{PetscBool},Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscOptionsGetString(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Csize_t,arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetString,petscRealDouble),PetscErrorCode,(Cstring,Cstring,Cstring,Csize_t,Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscOptionsGetStringArray(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetStringArray,petscRealDouble),PetscErrorCode,(Cstring,Cstring,Ptr{Ptr{UInt8}},Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscOptionsGetEList(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetEList,petscRealDouble),PetscErrorCode,(Cstring,Cstring,Ptr{Ptr{UInt8}},Int64,Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscOptionsGetEnum(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg4::Union{Ptr{PetscEnum},StridedArray{PetscEnum},Ptr{PetscEnum},Ref{PetscEnum}},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetEnum,petscRealDouble),PetscErrorCode,(Cstring,Cstring,Ptr{Ptr{UInt8}},Ptr{PetscEnum},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscOptionsGetEnumArray(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg4::Union{Ptr{PetscEnum},StridedArray{PetscEnum},Ptr{PetscEnum},Ref{PetscEnum}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetEnumArray,petscRealDouble),PetscErrorCode,(Cstring,Cstring,Ptr{Ptr{UInt8}},Ptr{PetscEnum},Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscOptionsValidKey(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsValidKey,petscRealDouble),PetscErrorCode,(Cstring,Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscOptionsSetAlias(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscOptionsSetAlias,petscRealDouble),PetscErrorCode,(Cstring,Cstring),arg1,arg2) - return err -end - -function PetscOptionsSetValue(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscOptionsSetValue,petscRealDouble),PetscErrorCode,(Cstring,Cstring),arg1,arg2) - return err -end - -function PetscOptionsClearValue(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscOptionsClearValue,petscRealDouble),PetscErrorCode,(Cstring,),arg1) - return err -end - -function PetscOptionsAllUsed(arg0::Type{Float64},arg1::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscOptionsAllUsed,petscRealDouble),PetscErrorCode,(Ptr{Int64},),arg1) - return err -end - -function PetscOptionsUsed(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsUsed,petscRealDouble),PetscErrorCode,(Cstring,Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscOptionsLeft(arg0::Type{Float64}) - err = ccall((:PetscOptionsLeft,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscOptionsView(arg1::PetscViewer{Float64}) - err = ccall((:PetscOptionsView,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},),arg1) - return err -end - -function PetscOptionsCreate(arg0::Type{Float64}) - err = ccall((:PetscOptionsCreate,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscOptionsInsert(arg0::Type{Float64},arg1::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}},arg2::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscOptionsInsert,petscRealDouble),PetscErrorCode,(Ptr{Cint},Ptr{Ptr{Ptr{UInt8}}},Cstring),arg1,arg2,arg3) - return err -end - -function PetscOptionsInsertFile(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::PetscBool) - err = ccall((:PetscOptionsInsertFile,petscRealDouble),PetscErrorCode,(comm_type,Cstring,PetscBool),arg1,arg2,arg3) - return err -end - -function PetscOptionsInsertString(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscOptionsInsertString,petscRealDouble),PetscErrorCode,(Cstring,),arg1) - return err -end - -function PetscOptionsDestroy(arg0::Type{Float64}) - err = ccall((:PetscOptionsDestroy,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscOptionsClear(arg0::Type{Float64}) - err = ccall((:PetscOptionsClear,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscOptionsPrefixPush(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscOptionsPrefixPush,petscRealDouble),PetscErrorCode,(Cstring,),arg1) - return err -end - -function PetscOptionsPrefixPop(arg0::Type{Float64}) - err = ccall((:PetscOptionsPrefixPop,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscOptionsReject(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscOptionsReject,petscRealDouble),PetscErrorCode,(Cstring,Cstring),arg1,arg2) - return err -end - -function PetscOptionsGetAll(arg0::Type{Float64},arg1::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscOptionsGetAll,petscRealDouble),PetscErrorCode,(Ptr{Ptr{UInt8}},),arg1) - return err -end - -function PetscOptionsGetenv(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Csize_t,arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetenv,petscRealDouble),PetscErrorCode,(comm_type,Cstring,Cstring,Csize_t,Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscOptionsStringToInt(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscOptionsStringToInt,petscRealDouble),PetscErrorCode,(Cstring,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscOptionsStringToReal(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscOptionsStringToReal,petscRealDouble),PetscErrorCode,(Cstring,Ptr{Float64}),arg1,arg2) - return err -end - -function PetscOptionsStringToBool(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsStringToBool,petscRealDouble),PetscErrorCode,(Cstring,Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscOptionsMonitorSet(arg0::Type{Float64},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscOptionsMonitorSet,petscRealDouble),PetscErrorCode,(Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function PetscOptionsMonitorCancel(arg0::Type{Float64}) - err = ccall((:PetscOptionsMonitorCancel,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscOptionsMonitorDefault(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscOptionsMonitorDefault,petscRealDouble),PetscErrorCode,(Cstring,Cstring,Ptr{Void}),arg1,arg2,arg3) - return err -end - -#= skipping function with undefined symbols: - function PetscOptionsBegin_Private(arg0::Type{Float64},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::MPI_Comm,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - ccall((:PetscOptionsBegin_Private,petscRealDouble),PetscErrorCode,(Ptr{PetscOptions},comm_type,Cstring,Cstring,Cstring),arg1,arg2,arg3,arg4,arg5) -end -=# -#= skipping function with undefined symbols: - function PetscObjectOptionsBegin_Private(arg0::Type{Float64},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::PetscObject) - ccall((:PetscObjectOptionsBegin_Private,petscRealDouble),PetscErrorCode,(Ptr{PetscOptions},PetscObject),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsEnd_Private(arg0::Type{Float64},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}}) - ccall((:PetscOptionsEnd_Private,petscRealDouble),PetscErrorCode,(Ptr{PetscOptions},),arg1) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsHead(arg0::Type{Float64},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - ccall((:PetscOptionsHead,petscRealDouble),PetscErrorCode,(Ptr{PetscOptions},Cstring),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsEnum_Private(arg0::Type{Float64},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg6::PetscEnum,arg7::Union{Ptr{PetscEnum},StridedArray{PetscEnum},Ptr{PetscEnum},Ref{PetscEnum}},arg8::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsEnum_Private,petscRealDouble),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Ptr{Ptr{UInt8}},PetscEnum,Ptr{PetscEnum},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsInt_Private(arg0::Type{Float64},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsInt_Private,petscRealDouble),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Int64,Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsReal_Private(arg0::Type{Float64},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Float64,arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg7::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsReal_Private,petscRealDouble),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Float64,Ptr{Float64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsScalar_Private(arg0::Type{Float64},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Float64,arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg7::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsScalar_Private,petscRealDouble),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Float64,Ptr{Float64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsName_Private(arg0::Type{Float64},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsName_Private,petscRealDouble),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsString_Private(arg0::Type{Float64},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg6::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg7::Csize_t,arg8::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsString_Private,petscRealDouble),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Cstring,Cstring,Csize_t,Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsBool_Private(arg0::Type{Float64},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::PetscBool,arg6::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg7::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsBool_Private,petscRealDouble),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,PetscBool,Ptr{PetscBool},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsBoolGroupBegin_Private(arg0::Type{Float64},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsBoolGroupBegin_Private,petscRealDouble),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsBoolGroup_Private(arg0::Type{Float64},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsBoolGroup_Private,petscRealDouble),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsBoolGroupEnd_Private(arg0::Type{Float64},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsBoolGroupEnd_Private,petscRealDouble),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsFList_Private(arg0::Type{Float64},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::PetscFunctionList,arg6::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg7::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg8::Csize_t,arg9::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsFList_Private,petscRealDouble),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,PetscFunctionList,Cstring,Cstring,Csize_t,Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsEList_Private(arg0::Type{Float64},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg6::Integer,arg7::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg8::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg9::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsEList_Private,petscRealDouble),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Ptr{Ptr{UInt8}},Int64,Cstring,Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsRealArray_Private(arg0::Type{Float64},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsRealArray_Private,petscRealDouble),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Ptr{Float64},Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsScalarArray_Private(arg0::Type{Float64},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsScalarArray_Private,petscRealDouble),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Ptr{Float64},Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsIntArray_Private(arg0::Type{Float64},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsIntArray_Private,petscRealDouble),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Ptr{Int64},Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsStringArray_Private(arg0::Type{Float64},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsStringArray_Private,petscRealDouble),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Ptr{Ptr{UInt8}},Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsBoolArray_Private(arg0::Type{Float64},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsBoolArray_Private,petscRealDouble),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Ptr{PetscBool},Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsEnumArray_Private(arg0::Type{Float64},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg6::Union{Ptr{PetscEnum},StridedArray{PetscEnum},Ptr{PetscEnum},Ref{PetscEnum}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsEnumArray_Private,petscRealDouble),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Ptr{Ptr{UInt8}},Ptr{PetscEnum},Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) -end -=# -function PetscOptionsSetFromOptions(arg0::Type{Float64}) - err = ccall((:PetscOptionsSetFromOptions,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscOptionsSAWsDestroy(arg0::Type{Float64}) - err = ccall((:PetscOptionsSAWsDestroy,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscMemoryShowUsage(arg1::PetscViewer{Float64},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscMemoryShowUsage,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Cstring),arg1,arg2) - return err -end - -function PetscObjectPrintClassNamePrefixType(arg1::PetscObject,arg2::PetscViewer{Float64}) - err = ccall((:PetscObjectPrintClassNamePrefixType,petscRealDouble),PetscErrorCode,(PetscObject,PetscViewer{Float64}),arg1,arg2) - return err -end - -function PetscObjectView(arg1::PetscObject,arg2::PetscViewer{Float64}) - err = ccall((:PetscObjectView,petscRealDouble),PetscErrorCode,(PetscObject,PetscViewer{Float64}),arg1,arg2) - return err -end - -function PetscObjectQueryFunction_Private(arg0::Type{Float64},arg1::PetscObject,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:PetscObjectQueryFunction_Private,petscRealDouble),PetscErrorCode,(PetscObject,Cstring,Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function PetscObjectSetOptionsPrefix(arg0::Type{Float64},arg1::PetscObject,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscObjectSetOptionsPrefix,petscRealDouble),PetscErrorCode,(PetscObject,Cstring),arg1,arg2) - return err -end - -function PetscObjectAppendOptionsPrefix(arg0::Type{Float64},arg1::PetscObject,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscObjectAppendOptionsPrefix,petscRealDouble),PetscErrorCode,(PetscObject,Cstring),arg1,arg2) - return err -end - -function PetscObjectPrependOptionsPrefix(arg0::Type{Float64},arg1::PetscObject,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscObjectPrependOptionsPrefix,petscRealDouble),PetscErrorCode,(PetscObject,Cstring),arg1,arg2) - return err -end - -function PetscObjectGetOptionsPrefix(arg0::Type{Float64},arg1::PetscObject,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscObjectGetOptionsPrefix,petscRealDouble),PetscErrorCode,(PetscObject,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscObjectChangeTypeName(arg0::Type{Float64},arg1::PetscObject,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscObjectChangeTypeName,petscRealDouble),PetscErrorCode,(PetscObject,Cstring),arg1,arg2) - return err -end - -function PetscObjectRegisterDestroy(arg0::Type{Float64},arg1::PetscObject) - err = ccall((:PetscObjectRegisterDestroy,petscRealDouble),PetscErrorCode,(PetscObject,),arg1) - return err -end - -function PetscObjectRegisterDestroyAll(arg0::Type{Float64}) - err = ccall((:PetscObjectRegisterDestroyAll,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscObjectViewFromOptions(arg0::Type{Float64},arg1::PetscObject,arg2::PetscObject,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscObjectViewFromOptions,petscRealDouble),PetscErrorCode,(PetscObject,PetscObject,Cstring),arg1,arg2,arg3) - return err -end - -function PetscObjectName(arg0::Type{Float64},arg1::PetscObject) - err = ccall((:PetscObjectName,petscRealDouble),PetscErrorCode,(PetscObject,),arg1) - return err -end - -function PetscObjectTypeCompare(arg0::Type{Float64},arg1::PetscObject,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscObjectTypeCompare,petscRealDouble),PetscErrorCode,(PetscObject,Cstring,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function PetscRegisterFinalize(arg0::Type{Float64},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscRegisterFinalize,petscRealDouble),PetscErrorCode,(Ptr{Void},),arg1) - return err -end - -function PetscRegisterFinalizeAll(arg0::Type{Float64}) - err = ccall((:PetscRegisterFinalizeAll,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscDLOpen(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::PetscDLMode,arg3::Union{Ptr{PetscDLHandle},StridedArray{PetscDLHandle},Ptr{PetscDLHandle},Ref{PetscDLHandle}}) - err = ccall((:PetscDLOpen,petscRealDouble),PetscErrorCode,(Cstring,PetscDLMode,Ptr{PetscDLHandle}),arg1,arg2,arg3) - return err -end - -function PetscDLClose(arg0::Type{Float64},arg1::Union{Ptr{PetscDLHandle},StridedArray{PetscDLHandle},Ptr{PetscDLHandle},Ref{PetscDLHandle}}) - err = ccall((:PetscDLClose,petscRealDouble),PetscErrorCode,(Ptr{PetscDLHandle},),arg1) - return err -end - -function PetscDLSym(arg0::Type{Float64},arg1::PetscDLHandle,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:PetscDLSym,petscRealDouble),PetscErrorCode,(PetscDLHandle,Cstring,Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function PetscMallocGetStack(arg0::Type{Float64},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg2::Union{Ptr{Ptr{PetscStack}},StridedArray{Ptr{PetscStack}},Ptr{Ptr{PetscStack}},Ref{Ptr{PetscStack}}}) - err = ccall((:PetscMallocGetStack,petscRealDouble),PetscErrorCode,(Ptr{Void},Ptr{Ptr{PetscStack}}),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function PetscObjectsDump(arg0::Type{Float64},arg1::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}},arg2::PetscBool) - ccall((:PetscObjectsDump,petscRealDouble),PetscErrorCode,(Ptr{FILE},PetscBool),arg1,arg2) -end -=# -function PetscObjectListDestroy(arg0::Type{Float64},arg1::Union{Ptr{PetscObjectList},StridedArray{PetscObjectList},Ptr{PetscObjectList},Ref{PetscObjectList}}) - err = ccall((:PetscObjectListDestroy,petscRealDouble),PetscErrorCode,(Ptr{PetscObjectList},),arg1) - return err -end - -function PetscObjectListFind(arg0::Type{Float64},arg1::PetscObjectList,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscObject},StridedArray{PetscObject},Ptr{PetscObject},Ref{PetscObject}}) - err = ccall((:PetscObjectListFind,petscRealDouble),PetscErrorCode,(PetscObjectList,Cstring,Ptr{PetscObject}),arg1,arg2,arg3) - return err -end - -function PetscObjectListReverseFind(arg0::Type{Float64},arg1::PetscObjectList,arg2::PetscObject,arg3::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscObjectListReverseFind,petscRealDouble),PetscErrorCode,(PetscObjectList,PetscObject,Ptr{Ptr{UInt8}},Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function PetscObjectListAdd(arg0::Type{Float64},arg1::Union{Ptr{PetscObjectList},StridedArray{PetscObjectList},Ptr{PetscObjectList},Ref{PetscObjectList}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::PetscObject) - err = ccall((:PetscObjectListAdd,petscRealDouble),PetscErrorCode,(Ptr{PetscObjectList},Cstring,PetscObject),arg1,arg2,arg3) - return err -end - -function PetscObjectListRemoveReference(arg0::Type{Float64},arg1::Union{Ptr{PetscObjectList},StridedArray{PetscObjectList},Ptr{PetscObjectList},Ref{PetscObjectList}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscObjectListRemoveReference,petscRealDouble),PetscErrorCode,(Ptr{PetscObjectList},Cstring),arg1,arg2) - return err -end - -function PetscObjectListDuplicate(arg0::Type{Float64},arg1::PetscObjectList,arg2::Union{Ptr{PetscObjectList},StridedArray{PetscObjectList},Ptr{PetscObjectList},Ref{PetscObjectList}}) - err = ccall((:PetscObjectListDuplicate,petscRealDouble),PetscErrorCode,(PetscObjectList,Ptr{PetscObjectList}),arg1,arg2) - return err -end - -function PetscFunctionListAdd_Private(arg0::Type{Float64},arg1::Union{Ptr{PetscFunctionList},StridedArray{PetscFunctionList},Ptr{PetscFunctionList},Ref{PetscFunctionList}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscFunctionListAdd_Private,petscRealDouble),PetscErrorCode,(Ptr{PetscFunctionList},Cstring,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function PetscFunctionListDestroy(arg0::Type{Float64},arg1::Union{Ptr{PetscFunctionList},StridedArray{PetscFunctionList},Ptr{PetscFunctionList},Ref{PetscFunctionList}}) - err = ccall((:PetscFunctionListDestroy,petscRealDouble),PetscErrorCode,(Ptr{PetscFunctionList},),arg1) - return err -end - -function PetscFunctionListFind_Private(arg0::Type{Float64},arg1::PetscFunctionList,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:PetscFunctionListFind_Private,petscRealDouble),PetscErrorCode,(PetscFunctionList,Cstring,Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -#= skipping function with undefined symbols: - function PetscFunctionListPrintTypes(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg6::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg7::PetscFunctionList,arg8::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - ccall((:PetscFunctionListPrintTypes,petscRealDouble),PetscErrorCode,(comm_type,Ptr{FILE},Cstring,Cstring,Cstring,Cstring,PetscFunctionList,Cstring),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) -end -=# -function PetscFunctionListDuplicate(arg0::Type{Float64},arg1::PetscFunctionList,arg2::Union{Ptr{PetscFunctionList},StridedArray{PetscFunctionList},Ptr{PetscFunctionList},Ref{PetscFunctionList}}) - err = ccall((:PetscFunctionListDuplicate,petscRealDouble),PetscErrorCode,(PetscFunctionList,Ptr{PetscFunctionList}),arg1,arg2) - return err -end - -function PetscFunctionListView(arg1::PetscFunctionList,arg2::PetscViewer{Float64}) - err = ccall((:PetscFunctionListView,petscRealDouble),PetscErrorCode,(PetscFunctionList,PetscViewer{Float64}),arg1,arg2) - return err -end - -function PetscFunctionListGet(arg0::Type{Float64},arg1::PetscFunctionList,arg2::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}},arg3::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}}) - err = ccall((:PetscFunctionListGet,petscRealDouble),PetscErrorCode,(PetscFunctionList,Ptr{Ptr{Ptr{UInt8}}},Ptr{Cint}),arg1,arg2,arg3) - return err -end - -function PetscDLLibraryAppend(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{PetscDLLibrary},StridedArray{PetscDLLibrary},Ptr{PetscDLLibrary},Ref{PetscDLLibrary}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscDLLibraryAppend,petscRealDouble),PetscErrorCode,(comm_type,Ptr{PetscDLLibrary},Cstring),arg1,arg2,arg3) - return err -end - -function PetscDLLibraryPrepend(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{PetscDLLibrary},StridedArray{PetscDLLibrary},Ptr{PetscDLLibrary},Ref{PetscDLLibrary}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscDLLibraryPrepend,petscRealDouble),PetscErrorCode,(comm_type,Ptr{PetscDLLibrary},Cstring),arg1,arg2,arg3) - return err -end - -function PetscDLLibrarySym(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{PetscDLLibrary},StridedArray{PetscDLLibrary},Ptr{PetscDLLibrary},Ref{PetscDLLibrary}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:PetscDLLibrarySym,petscRealDouble),PetscErrorCode,(comm_type,Ptr{PetscDLLibrary},Cstring,Cstring,Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDLLibraryPrintPath(arg0::Type{Float64},arg1::PetscDLLibrary) - err = ccall((:PetscDLLibraryPrintPath,petscRealDouble),PetscErrorCode,(PetscDLLibrary,),arg1) - return err -end - -function PetscDLLibraryRetrieve(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Csize_t,arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscDLLibraryRetrieve,petscRealDouble),PetscErrorCode,(comm_type,Cstring,Cstring,Csize_t,Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDLLibraryOpen(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscDLLibrary},StridedArray{PetscDLLibrary},Ptr{PetscDLLibrary},Ref{PetscDLLibrary}}) - err = ccall((:PetscDLLibraryOpen,petscRealDouble),PetscErrorCode,(comm_type,Cstring,Ptr{PetscDLLibrary}),arg1,arg2,arg3) - return err -end - -function PetscDLLibraryClose(arg0::Type{Float64},arg1::PetscDLLibrary) - err = ccall((:PetscDLLibraryClose,petscRealDouble),PetscErrorCode,(PetscDLLibrary,),arg1) - return err -end - -function PetscSplitOwnership(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSplitOwnership,petscRealDouble),PetscErrorCode,(comm_type,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscSplitOwnershipBlock(arg0::Type{Float64},arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSplitOwnershipBlock,petscRealDouble),PetscErrorCode,(comm_type,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function PetscSequentialPhaseBegin(arg0::Type{Float64},arg1::MPI_Comm,arg2::PetscMPIInt) - err = ccall((:PetscSequentialPhaseBegin,petscRealDouble),PetscErrorCode,(comm_type,PetscMPIInt),arg1,arg2) - return err -end - -function PetscSequentialPhaseEnd(arg0::Type{Float64},arg1::MPI_Comm,arg2::PetscMPIInt) - err = ccall((:PetscSequentialPhaseEnd,petscRealDouble),PetscErrorCode,(comm_type,PetscMPIInt),arg1,arg2) - return err -end - -function PetscBarrier(arg0::Type{Float64},arg1::PetscObject) - err = ccall((:PetscBarrier,petscRealDouble),PetscErrorCode,(PetscObject,),arg1) - return err -end - -#= skipping function with undefined symbols: - function PetscMPIDump(arg0::Type{Float64},arg1::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}}) - ccall((:PetscMPIDump,petscRealDouble),PetscErrorCode,(Ptr{FILE},),arg1) -end -=# -function PetscInfoDeactivateClass(arg0::Type{Float64},arg1::PetscClassId) - err = ccall((:PetscInfoDeactivateClass,petscRealDouble),PetscErrorCode,(PetscClassId,),arg1) - return err -end - -function PetscInfoActivateClass(arg0::Type{Float64},arg1::PetscClassId) - err = ccall((:PetscInfoActivateClass,petscRealDouble),PetscErrorCode,(PetscClassId,),arg1) - return err -end - -function PetscLogGetStageLog(arg0::Type{Float64},arg1::Union{Ptr{PetscStageLog},StridedArray{PetscStageLog},Ptr{PetscStageLog},Ref{PetscStageLog}}) - err = ccall((:PetscLogGetStageLog,petscRealDouble),PetscErrorCode,(Ptr{PetscStageLog},),arg1) - return err -end - -function PetscStageLogGetCurrent(arg0::Type{Float64},arg1::PetscStageLog,arg2::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}}) - err = ccall((:PetscStageLogGetCurrent,petscRealDouble),PetscErrorCode,(PetscStageLog,Ptr{Cint}),arg1,arg2) - return err -end - -function PetscStageLogGetEventPerfLog(arg0::Type{Float64},arg1::PetscStageLog,arg2::Integer,arg3::Union{Ptr{PetscEventPerfLog},StridedArray{PetscEventPerfLog},Ptr{PetscEventPerfLog},Ref{PetscEventPerfLog}}) - err = ccall((:PetscStageLogGetEventPerfLog,petscRealDouble),PetscErrorCode,(PetscStageLog,Cint,Ptr{PetscEventPerfLog}),arg1,arg2,arg3) - return err -end - -function PetscLogObjectParent(arg0::Type{Float64},arg1::PetscObject,arg2::PetscObject) - err = ccall((:PetscLogObjectParent,petscRealDouble),PetscErrorCode,(PetscObject,PetscObject),arg1,arg2) - return err -end - -function PetscLogObjectMemory(arg0::Type{Float64},arg1::PetscObject,arg2::PetscLogDouble) - err = ccall((:PetscLogObjectMemory,petscRealDouble),PetscErrorCode,(PetscObject,PetscLogDouble),arg1,arg2) - return err -end - -function PetscLogFlops(arg0::Type{Float64},n::PetscLogDouble) - err = ccall((:PetscLogFlops,petscRealDouble),PetscErrorCode,(PetscLogDouble,),n) - return err -end - -function PetscLogBegin(arg0::Type{Float64}) - err = ccall((:PetscLogBegin,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscLogAllBegin(arg0::Type{Float64}) - err = ccall((:PetscLogAllBegin,petscRealDouble),PetscErrorCode,()) - return err -end - -#= skipping function with undefined symbols: - function PetscLogTraceBegin(arg0::Type{Float64},arg1::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}}) - ccall((:PetscLogTraceBegin,petscRealDouble),PetscErrorCode,(Ptr{FILE},),arg1) -end -=# -function PetscLogActions(arg0::Type{Float64},arg1::PetscBool) - err = ccall((:PetscLogActions,petscRealDouble),PetscErrorCode,(PetscBool,),arg1) - return err -end - -function PetscLogObjects(arg0::Type{Float64},arg1::PetscBool) - err = ccall((:PetscLogObjects,petscRealDouble),PetscErrorCode,(PetscBool,),arg1) - return err -end - -function PetscLogDestroy(arg0::Type{Float64}) - err = ccall((:PetscLogDestroy,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscLogSet(arg0::Type{Float64},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscLogSet,petscRealDouble),PetscErrorCode,(Ptr{Void},Ptr{Void}),arg1,arg2) - return err -end - -function PetscLogView(arg1::PetscViewer{Float64}) - err = ccall((:PetscLogView,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},),arg1) - return err -end - -function PetscLogViewFromOptions(arg0::Type{Float64}) - err = ccall((:PetscLogViewFromOptions,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscLogDump(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscLogDump,petscRealDouble),PetscErrorCode,(Cstring,),arg1) - return err -end - -function PetscGetFlops(arg0::Type{Float64},arg1::Union{Ptr{PetscLogDouble},StridedArray{PetscLogDouble},Ptr{PetscLogDouble},Ref{PetscLogDouble}}) - err = ccall((:PetscGetFlops,petscRealDouble),PetscErrorCode,(Ptr{PetscLogDouble},),arg1) - return err -end - -function PetscLogStageRegister(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{PetscLogStage},StridedArray{PetscLogStage},Ptr{PetscLogStage},Ref{PetscLogStage}}) - err = ccall((:PetscLogStageRegister,petscRealDouble),PetscErrorCode,(Cstring,Ptr{PetscLogStage}),arg1,arg2) - return err -end - -function PetscLogStagePush(arg0::Type{Float64},arg1::PetscLogStage) - err = ccall((:PetscLogStagePush,petscRealDouble),PetscErrorCode,(PetscLogStage,),arg1) - return err -end - -function PetscLogStagePop(arg0::Type{Float64}) - err = ccall((:PetscLogStagePop,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscLogStageSetActive(arg0::Type{Float64},arg1::PetscLogStage,arg2::PetscBool) - err = ccall((:PetscLogStageSetActive,petscRealDouble),PetscErrorCode,(PetscLogStage,PetscBool),arg1,arg2) - return err -end - -function PetscLogStageGetActive(arg0::Type{Float64},arg1::PetscLogStage,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscLogStageGetActive,petscRealDouble),PetscErrorCode,(PetscLogStage,Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscLogStageSetVisible(arg0::Type{Float64},arg1::PetscLogStage,arg2::PetscBool) - err = ccall((:PetscLogStageSetVisible,petscRealDouble),PetscErrorCode,(PetscLogStage,PetscBool),arg1,arg2) - return err -end - -function PetscLogStageGetVisible(arg0::Type{Float64},arg1::PetscLogStage,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscLogStageGetVisible,petscRealDouble),PetscErrorCode,(PetscLogStage,Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscLogStageGetId(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{PetscLogStage},StridedArray{PetscLogStage},Ptr{PetscLogStage},Ref{PetscLogStage}}) - err = ccall((:PetscLogStageGetId,petscRealDouble),PetscErrorCode,(Cstring,Ptr{PetscLogStage}),arg1,arg2) - return err -end - -function PetscLogEventRegister(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::PetscClassId,arg3::Union{Ptr{PetscLogEvent},StridedArray{PetscLogEvent},Ptr{PetscLogEvent},Ref{PetscLogEvent}}) - err = ccall((:PetscLogEventRegister,petscRealDouble),PetscErrorCode,(Cstring,PetscClassId,Ptr{PetscLogEvent}),arg1,arg2,arg3) - return err -end - -function PetscLogEventActivate(arg0::Type{Float64},arg1::PetscLogEvent) - err = ccall((:PetscLogEventActivate,petscRealDouble),PetscErrorCode,(PetscLogEvent,),arg1) - return err -end - -function PetscLogEventDeactivate(arg0::Type{Float64},arg1::PetscLogEvent) - err = ccall((:PetscLogEventDeactivate,petscRealDouble),PetscErrorCode,(PetscLogEvent,),arg1) - return err -end - -function PetscLogEventSetActiveAll(arg0::Type{Float64},arg1::PetscLogEvent,arg2::PetscBool) - err = ccall((:PetscLogEventSetActiveAll,petscRealDouble),PetscErrorCode,(PetscLogEvent,PetscBool),arg1,arg2) - return err -end - -function PetscLogEventActivateClass(arg0::Type{Float64},arg1::PetscClassId) - err = ccall((:PetscLogEventActivateClass,petscRealDouble),PetscErrorCode,(PetscClassId,),arg1) - return err -end - -function PetscLogEventDeactivateClass(arg0::Type{Float64},arg1::PetscClassId) - err = ccall((:PetscLogEventDeactivateClass,petscRealDouble),PetscErrorCode,(PetscClassId,),arg1) - return err -end - -function PetscLogEventGetId(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{PetscLogEvent},StridedArray{PetscLogEvent},Ptr{PetscLogEvent},Ref{PetscLogEvent}}) - err = ccall((:PetscLogEventGetId,petscRealDouble),PetscErrorCode,(Cstring,Ptr{PetscLogEvent}),arg1,arg2) - return err -end - -function PetscLogEventGetPerfInfo(arg0::Type{Float64},arg1::Integer,arg2::PetscLogEvent,arg3::Union{Ptr{PetscEventPerfInfo},StridedArray{PetscEventPerfInfo},Ptr{PetscEventPerfInfo},Ref{PetscEventPerfInfo}}) - err = ccall((:PetscLogEventGetPerfInfo,petscRealDouble),PetscErrorCode,(Cint,PetscLogEvent,Ptr{PetscEventPerfInfo}),arg1,arg2,arg3) - return err -end - -function PetscLogEventGetFlops(arg0::Type{Float64},arg1::PetscLogEvent,arg2::Union{Ptr{PetscLogDouble},StridedArray{PetscLogDouble},Ptr{PetscLogDouble},Ref{PetscLogDouble}}) - err = ccall((:PetscLogEventGetFlops,petscRealDouble),PetscErrorCode,(PetscLogEvent,Ptr{PetscLogDouble}),arg1,arg2) - return err -end - -function PetscLogEventZeroFlops(arg0::Type{Float64},arg1::PetscLogEvent) - err = ccall((:PetscLogEventZeroFlops,petscRealDouble),PetscErrorCode,(PetscLogEvent,),arg1) - return err -end - -#= skipping function with undefined symbols: - function PetscMPITypeSize(arg0::Type{Float64},buff::Union{Ptr{PetscLogDouble},StridedArray{PetscLogDouble},Ptr{PetscLogDouble},Ref{PetscLogDouble}},count::PetscMPIInt,_type::MPI_Datatype) - ccall((:PetscMPITypeSize,petscRealDouble),PetscErrorCode,(Ptr{PetscLogDouble},PetscMPIInt,MPI_Datatype),buff,count,_type) -end -=# -#= skipping function with undefined symbols: - function PetscMPITypeSizeComm(arg0::Type{Float64},comm::MPI_Comm,buff::Union{Ptr{PetscLogDouble},StridedArray{PetscLogDouble},Ptr{PetscLogDouble},Ref{PetscLogDouble}},counts::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}},_type::MPI_Datatype) - ccall((:PetscMPITypeSizeComm,petscRealDouble),PetscErrorCode,(comm_type,Ptr{PetscLogDouble},Ptr{PetscMPIInt},MPI_Datatype),comm,buff,counts,_type) -end -=# -function PetscMPIParallelComm(arg0::Type{Float64},comm::MPI_Comm) - err = ccall((:PetscMPIParallelComm,petscRealDouble),Cint,(comm_type,),comm) - return err -end - -function PetscIntStackCreate(arg0::Type{Float64},arg1::Union{Ptr{PetscIntStack},StridedArray{PetscIntStack},Ptr{PetscIntStack},Ref{PetscIntStack}}) - err = ccall((:PetscIntStackCreate,petscRealDouble),PetscErrorCode,(Ptr{PetscIntStack},),arg1) - return err -end - -function PetscIntStackDestroy(arg0::Type{Float64},arg1::PetscIntStack) - err = ccall((:PetscIntStackDestroy,petscRealDouble),PetscErrorCode,(PetscIntStack,),arg1) - return err -end - -function PetscIntStackPush(arg0::Type{Float64},arg1::PetscIntStack,arg2::Integer) - err = ccall((:PetscIntStackPush,petscRealDouble),PetscErrorCode,(PetscIntStack,Cint),arg1,arg2) - return err -end - -function PetscIntStackPop(arg0::Type{Float64},arg1::PetscIntStack,arg2::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}}) - err = ccall((:PetscIntStackPop,petscRealDouble),PetscErrorCode,(PetscIntStack,Ptr{Cint}),arg1,arg2) - return err -end - -function PetscIntStackTop(arg0::Type{Float64},arg1::PetscIntStack,arg2::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}}) - err = ccall((:PetscIntStackTop,petscRealDouble),PetscErrorCode,(PetscIntStack,Ptr{Cint}),arg1,arg2) - return err -end - -function PetscIntStackEmpty(arg0::Type{Float64},arg1::PetscIntStack,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscIntStackEmpty,petscRealDouble),PetscErrorCode,(PetscIntStack,Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscFixFilename(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscFixFilename,petscRealDouble),PetscErrorCode,(Cstring,Cstring),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function PetscFOpen(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{Ptr{Ptr{FILE}},StridedArray{Ptr{FILE}},Ptr{Ptr{FILE}},Ref{Ptr{FILE}}}) - ccall((:PetscFOpen,petscRealDouble),PetscErrorCode,(comm_type,Cstring,Cstring,Ptr{Ptr{FILE}}),arg1,arg2,arg3,arg4) -end -=# -#= skipping function with undefined symbols: - function PetscFClose(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}}) - ccall((:PetscFClose,petscRealDouble),PetscErrorCode,(comm_type,Ptr{FILE}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function PetscVSNPrintf(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Csize_t,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{Ptr{Csize_t},StridedArray{Csize_t},Ptr{Csize_t},Ref{Csize_t}},arg5::Union{Ptr{__va_list_tag},StridedArray{__va_list_tag},Ptr{__va_list_tag},Ref{__va_list_tag}}) - ccall((:PetscVSNPrintf,petscRealDouble),PetscErrorCode,(Cstring,Csize_t,Cstring,Ptr{Csize_t},Ptr{__va_list_tag}),arg1,arg2,arg3,arg4,arg5) -end -=# -#= skipping function with undefined symbols: - function PetscVFPrintfDefault(arg0::Type{Float64},arg1::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{__va_list_tag},StridedArray{__va_list_tag},Ptr{__va_list_tag},Ref{__va_list_tag}}) - ccall((:PetscVFPrintfDefault,petscRealDouble),PetscErrorCode,(Ptr{FILE},Cstring,Ptr{__va_list_tag}),arg1,arg2,arg3) -end -=# -#= skipping function with undefined symbols: - function PetscPOpen(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{Ptr{FILE}},StridedArray{Ptr{FILE}},Ptr{Ptr{FILE}},Ref{Ptr{FILE}}}) - ccall((:PetscPOpen,petscRealDouble),PetscErrorCode,(comm_type,Cstring,Cstring,Cstring,Ptr{Ptr{FILE}}),arg1,arg2,arg3,arg4,arg5) -end -=# -#= skipping function with undefined symbols: - function PetscPClose(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}},arg3::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}}) - ccall((:PetscPClose,petscRealDouble),PetscErrorCode,(comm_type,Ptr{FILE},Ptr{Cint}),arg1,arg2,arg3) -end -=# -function PetscPOpenSetMachine(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscPOpenSetMachine,petscRealDouble),PetscErrorCode,(Cstring,),arg1) - return err -end - -#= skipping function with undefined symbols: - function PetscSynchronizedFlush(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}}) - ccall((:PetscSynchronizedFlush,petscRealDouble),PetscErrorCode,(comm_type,Ptr{FILE}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function PetscSynchronizedFGets(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}},arg3::Csize_t,arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - ccall((:PetscSynchronizedFGets,petscRealDouble),PetscErrorCode,(comm_type,Ptr{FILE},Csize_t,Cstring),arg1,arg2,arg3,arg4) -end -=# -#= skipping function with undefined symbols: - function PetscStartMatlab(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{Ptr{Ptr{FILE}},StridedArray{Ptr{FILE}},Ptr{Ptr{FILE}},Ref{Ptr{FILE}}}) - ccall((:PetscStartMatlab,petscRealDouble),PetscErrorCode,(comm_type,Cstring,Cstring,Ptr{Ptr{FILE}}),arg1,arg2,arg3,arg4) -end -=# -#= skipping function with undefined symbols: - function PetscStartJava(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{Ptr{Ptr{FILE}},StridedArray{Ptr{FILE}},Ptr{Ptr{FILE}},Ref{Ptr{FILE}}}) - ccall((:PetscStartJava,petscRealDouble),PetscErrorCode,(comm_type,Cstring,Cstring,Ptr{Ptr{FILE}}),arg1,arg2,arg3,arg4) -end -=# -function PetscGetPetscDir(arg0::Type{Float64},arg1::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscGetPetscDir,petscRealDouble),PetscErrorCode,(Ptr{Ptr{UInt8}},),arg1) - return err -end - -function PetscPopUpSelect(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Integer,arg5::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg6::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}}) - err = ccall((:PetscPopUpSelect,petscRealDouble),PetscErrorCode,(comm_type,Cstring,Cstring,Cint,Ptr{Ptr{UInt8}},Ptr{Cint}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscContainerGetPointer(arg0::Type{Float64},arg1::PetscContainer,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:PetscContainerGetPointer,petscRealDouble),PetscErrorCode,(PetscContainer,Ptr{Ptr{Void}}),arg1,arg2) - return err -end - -function PetscContainerSetPointer(arg0::Type{Float64},arg1::PetscContainer,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscContainerSetPointer,petscRealDouble),PetscErrorCode,(PetscContainer,Ptr{Void}),arg1,arg2) - return err -end - -function PetscContainerDestroy(arg0::Type{Float64},arg1::Union{Ptr{PetscContainer},StridedArray{PetscContainer},Ptr{PetscContainer},Ref{PetscContainer}}) - err = ccall((:PetscContainerDestroy,petscRealDouble),PetscErrorCode,(Ptr{PetscContainer},),arg1) - return err -end - -function PetscContainerCreate(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{PetscContainer},StridedArray{PetscContainer},Ptr{PetscContainer},Ref{PetscContainer}}) - err = ccall((:PetscContainerCreate,petscRealDouble),PetscErrorCode,(comm_type,Ptr{PetscContainer}),arg1,arg2) - return err -end - -function PetscContainerSetUserDestroy(arg0::Type{Float64},arg1::PetscContainer,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscContainerSetUserDestroy,petscRealDouble),PetscErrorCode,(PetscContainer,Ptr{Void}),arg1,arg2) - return err -end - -function PetscIntView(arg1::Integer,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::PetscViewer{Float64}) - err = ccall((:PetscIntView,petscRealDouble),PetscErrorCode,(Int64,Ptr{Int64},PetscViewer{Float64}),arg1,arg2,arg3) - return err -end - -function PetscRealView(arg1::Integer,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::PetscViewer{Float64}) - err = ccall((:PetscRealView,petscRealDouble),PetscErrorCode,(Int64,Ptr{Float64},PetscViewer{Float64}),arg1,arg2,arg3) - return err -end - -function PetscScalarView(arg1::Integer,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::PetscViewer{Float64}) - err = ccall((:PetscScalarView,petscRealDouble),PetscErrorCode,(Int64,Ptr{Float64},PetscViewer{Float64}),arg1,arg2,arg3) - return err -end - -function PetscMemcpy(arg0::Type{Float64},a::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},b::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},n::Csize_t) - err = ccall((:PetscMemcpy,petscRealDouble),PetscErrorCode,(Ptr{Void},Ptr{Void},Csize_t),a,b,n) - return err -end - -function PetscMemzero(arg0::Type{Float64},a::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},n::Csize_t) - err = ccall((:PetscMemzero,petscRealDouble),PetscErrorCode,(Ptr{Void},Csize_t),a,n) - return err -end - -#= skipping function with undefined symbols: - function MPIU_File_write_all(arg0::Type{Float64},arg1::MPI_File,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::PetscMPIInt,arg4::MPI_Datatype,arg5::Union{Ptr{MPI_Status},StridedArray{MPI_Status},Ptr{MPI_Status},Ref{MPI_Status}}) - ccall((:MPIU_File_write_all,petscRealDouble),PetscErrorCode,(MPI_File,Ptr{Void},PetscMPIInt,MPI_Datatype,Ptr{MPI_Status}),arg1,arg2,arg3,arg4,arg5) -end -=# -#= skipping function with undefined symbols: - function MPIU_File_read_all(arg0::Type{Float64},arg1::MPI_File,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::PetscMPIInt,arg4::MPI_Datatype,arg5::Union{Ptr{MPI_Status},StridedArray{MPI_Status},Ptr{MPI_Status},Ref{MPI_Status}}) - ccall((:MPIU_File_read_all,petscRealDouble),PetscErrorCode,(MPI_File,Ptr{Void},PetscMPIInt,MPI_Datatype,Ptr{MPI_Status}),arg1,arg2,arg3,arg4,arg5) -end -=# -function PetscBLASIntCast(arg0::Type{Float64},a::Integer,b::Union{Ptr{PetscBLASInt},StridedArray{PetscBLASInt},Ptr{PetscBLASInt},Ref{PetscBLASInt}}) - err = ccall((:PetscBLASIntCast,petscRealDouble),PetscErrorCode,(Int64,Ptr{PetscBLASInt}),a,b) - return err -end - -function PetscMPIIntCast(arg0::Type{Float64},a::Integer,b::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}}) - err = ccall((:PetscMPIIntCast,petscRealDouble),PetscErrorCode,(Int64,Ptr{PetscMPIInt}),a,b) - return err -end - -function PetscGetArchType(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Csize_t) - err = ccall((:PetscGetArchType,petscRealDouble),PetscErrorCode,(Cstring,Csize_t),arg1,arg2) - return err -end - -function PetscGetHostName(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Csize_t) - err = ccall((:PetscGetHostName,petscRealDouble),PetscErrorCode,(Cstring,Csize_t),arg1,arg2) - return err -end - -function PetscGetUserName(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Csize_t) - err = ccall((:PetscGetUserName,petscRealDouble),PetscErrorCode,(Cstring,Csize_t),arg1,arg2) - return err -end - -function PetscGetProgramName(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Csize_t) - err = ccall((:PetscGetProgramName,petscRealDouble),PetscErrorCode,(Cstring,Csize_t),arg1,arg2) - return err -end - -function PetscSetProgramName(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscSetProgramName,petscRealDouble),PetscErrorCode,(Cstring,),arg1) - return err -end - -function PetscGetDate(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Csize_t) - err = ccall((:PetscGetDate,petscRealDouble),PetscErrorCode,(Cstring,Csize_t),arg1,arg2) - return err -end - -function PetscGetVersion(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Csize_t) - err = ccall((:PetscGetVersion,petscRealDouble),PetscErrorCode,(Cstring,Csize_t),arg1,arg2) - return err -end - -function PetscSortInt(arg0::Type{Float64},arg1::Integer,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSortInt,petscRealDouble),PetscErrorCode,(Int64,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscSortRemoveDupsInt(arg0::Type{Float64},arg1::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSortRemoveDupsInt,petscRealDouble),PetscErrorCode,(Ptr{Int64},Ptr{Int64}),arg1,arg2) - return err -end - -function PetscFindInt(arg0::Type{Float64},arg1::Integer,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscFindInt,petscRealDouble),PetscErrorCode,(Int64,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function PetscSortIntWithPermutation(arg0::Type{Float64},arg1::Integer,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSortIntWithPermutation,petscRealDouble),PetscErrorCode,(Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscSortStrWithPermutation(arg0::Type{Float64},arg1::Integer,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSortStrWithPermutation,petscRealDouble),PetscErrorCode,(Int64,Ptr{Ptr{UInt8}},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscSortIntWithArray(arg0::Type{Float64},arg1::Integer,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSortIntWithArray,petscRealDouble),PetscErrorCode,(Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscSortIntWithArrayPair(arg0::Type{Float64},arg1::Integer,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSortIntWithArrayPair,petscRealDouble),PetscErrorCode,(Int64,Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function PetscSortMPIInt(arg0::Type{Float64},arg1::Integer,arg2::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}}) - err = ccall((:PetscSortMPIInt,petscRealDouble),PetscErrorCode,(Int64,Ptr{PetscMPIInt}),arg1,arg2) - return err -end - -function PetscSortRemoveDupsMPIInt(arg0::Type{Float64},arg1::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg2::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}}) - err = ccall((:PetscSortRemoveDupsMPIInt,petscRealDouble),PetscErrorCode,(Ptr{Int64},Ptr{PetscMPIInt}),arg1,arg2) - return err -end - -function PetscSortMPIIntWithArray(arg0::Type{Float64},arg1::PetscMPIInt,arg2::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}},arg3::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}}) - err = ccall((:PetscSortMPIIntWithArray,petscRealDouble),PetscErrorCode,(PetscMPIInt,Ptr{PetscMPIInt},Ptr{PetscMPIInt}),arg1,arg2,arg3) - return err -end - -function PetscSortIntWithScalarArray(arg0::Type{Float64},arg1::Integer,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscSortIntWithScalarArray,petscRealDouble),PetscErrorCode,(Int64,Ptr{Int64},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function PetscSortIntWithDataArray(arg0::Type{Float64},arg1::Integer,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Csize_t,arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscSortIntWithDataArray,petscRealDouble),PetscErrorCode,(Int64,Ptr{Int64},Ptr{Void},Csize_t,Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscSortReal(arg0::Type{Float64},arg1::Integer,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscSortReal,petscRealDouble),PetscErrorCode,(Int64,Ptr{Float64}),arg1,arg2) - return err -end - -function PetscSortRealWithPermutation(arg0::Type{Float64},arg1::Integer,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSortRealWithPermutation,petscRealDouble),PetscErrorCode,(Int64,Ptr{Float64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscSortRemoveDupsReal(arg0::Type{Float64},arg1::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscSortRemoveDupsReal,petscRealDouble),PetscErrorCode,(Ptr{Int64},Ptr{Float64}),arg1,arg2) - return err -end - -function PetscSortSplit(arg0::Type{Float64},arg1::Integer,arg2::Integer,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSortSplit,petscRealDouble),PetscErrorCode,(Int64,Int64,Ptr{Float64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function PetscSortSplitReal(arg0::Type{Float64},arg1::Integer,arg2::Integer,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSortSplitReal,petscRealDouble),PetscErrorCode,(Int64,Int64,Ptr{Float64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function PetscProcessTree(arg0::Type{Float64},arg1::Integer,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg6::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg7::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg8::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PetscProcessTree,petscRealDouble),PetscErrorCode,(Int64,Ptr{PetscBool},Ptr{Int64},Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function PetscMergeIntArrayPair(arg0::Type{Float64},arg1::Integer,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg9::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PetscMergeIntArrayPair,petscRealDouble),PetscErrorCode,(Int64,Ptr{Int64},Ptr{Int64},Int64,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) - return err -end - -function PetscMergeIntArray(arg0::Type{Float64},arg1::Integer,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PetscMergeIntArray,petscRealDouble),PetscErrorCode,(Int64,Ptr{Int64},Int64,Ptr{Int64},Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscSetDisplay(arg0::Type{Float64}) - err = ccall((:PetscSetDisplay,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscGetDisplay(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Csize_t) - err = ccall((:PetscGetDisplay,petscRealDouble),PetscErrorCode,(Cstring,Csize_t),arg1,arg2) - return err -end - -function PetscRandomInitializePackage(arg0::Type{Float64}) - err = ccall((:PetscRandomInitializePackage,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscRandomRegister(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscRandomRegister,petscRealDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function PetscRandomSetType(arg0::Type{Float64},arg1::PetscRandom,arg2::PetscRandomType) - err = ccall((:PetscRandomSetType,petscRealDouble),PetscErrorCode,(PetscRandom,Cstring),arg1,arg2) - return err -end - -function PetscRandomSetFromOptions(arg0::Type{Float64},arg1::PetscRandom) - err = ccall((:PetscRandomSetFromOptions,petscRealDouble),PetscErrorCode,(PetscRandom,),arg1) - return err -end - -function PetscRandomGetType(arg0::Type{Float64},arg1::PetscRandom,arg2::Union{Ptr{PetscRandomType},StridedArray{PetscRandomType},Ptr{PetscRandomType},Ref{PetscRandomType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:PetscRandomGetType,petscRealDouble),PetscErrorCode,(PetscRandom,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function PetscRandomViewFromOptions(arg0::Type{Float64},A::PetscRandom,obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscRandomViewFromOptions,petscRealDouble),PetscErrorCode,(PetscRandom,PetscObject,Cstring),A,obj,name) - return err -end - -function PetscRandomView(arg1::PetscRandom,arg2::PetscViewer{Float64}) - err = ccall((:PetscRandomView,petscRealDouble),PetscErrorCode,(PetscRandom,PetscViewer{Float64}),arg1,arg2) - return err -end - -function PetscRandomCreate(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{PetscRandom},StridedArray{PetscRandom},Ptr{PetscRandom},Ref{PetscRandom}}) - err = ccall((:PetscRandomCreate,petscRealDouble),PetscErrorCode,(comm_type,Ptr{PetscRandom}),arg1,arg2) - return err -end - -function PetscRandomGetValue(arg0::Type{Float64},arg1::PetscRandom,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscRandomGetValue,petscRealDouble),PetscErrorCode,(PetscRandom,Ptr{Float64}),arg1,arg2) - return err -end - -function PetscRandomGetValueReal(arg0::Type{Float64},arg1::PetscRandom,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscRandomGetValueReal,petscRealDouble),PetscErrorCode,(PetscRandom,Ptr{Float64}),arg1,arg2) - return err -end - -function PetscRandomGetInterval(arg0::Type{Float64},arg1::PetscRandom,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscRandomGetInterval,petscRealDouble),PetscErrorCode,(PetscRandom,Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function PetscRandomSetInterval(arg0::Type{Float64},arg1::PetscRandom,arg2::Float64,arg3::Float64) - err = ccall((:PetscRandomSetInterval,petscRealDouble),PetscErrorCode,(PetscRandom,Float64,Float64),arg1,arg2,arg3) - return err -end - -function PetscRandomSetSeed(arg0::Type{Float64},arg1::PetscRandom,arg2::Culong) - err = ccall((:PetscRandomSetSeed,petscRealDouble),PetscErrorCode,(PetscRandom,Culong),arg1,arg2) - return err -end - -function PetscRandomGetSeed(arg0::Type{Float64},arg1::PetscRandom,arg2::Union{Ptr{Culong},StridedArray{Culong},Ptr{Culong},Ref{Culong}}) - err = ccall((:PetscRandomGetSeed,petscRealDouble),PetscErrorCode,(PetscRandom,Ptr{Culong}),arg1,arg2) - return err -end - -function PetscRandomSeed(arg0::Type{Float64},arg1::PetscRandom) - err = ccall((:PetscRandomSeed,petscRealDouble),PetscErrorCode,(PetscRandom,),arg1) - return err -end - -function PetscRandomDestroy(arg0::Type{Float64},arg1::Union{Ptr{PetscRandom},StridedArray{PetscRandom},Ptr{PetscRandom},Ref{PetscRandom}}) - err = ccall((:PetscRandomDestroy,petscRealDouble),PetscErrorCode,(Ptr{PetscRandom},),arg1) - return err -end - -function PetscGetFullPath(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Csize_t) - err = ccall((:PetscGetFullPath,petscRealDouble),PetscErrorCode,(Cstring,Cstring,Csize_t),arg1,arg2,arg3) - return err -end - -function PetscGetRelativePath(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Csize_t) - err = ccall((:PetscGetRelativePath,petscRealDouble),PetscErrorCode,(Cstring,Cstring,Csize_t),arg1,arg2,arg3) - return err -end - -function PetscGetWorkingDirectory(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Csize_t) - err = ccall((:PetscGetWorkingDirectory,petscRealDouble),PetscErrorCode,(Cstring,Csize_t),arg1,arg2) - return err -end - -function PetscGetRealPath(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscGetRealPath,petscRealDouble),PetscErrorCode,(Cstring,Cstring),arg1,arg2) - return err -end - -function PetscGetHomeDirectory(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Csize_t) - err = ccall((:PetscGetHomeDirectory,petscRealDouble),PetscErrorCode,(Cstring,Csize_t),arg1,arg2) - return err -end - -function PetscTestFile(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::UInt8,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscTestFile,petscRealDouble),PetscErrorCode,(Cstring,UInt8,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function PetscTestDirectory(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::UInt8,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscTestDirectory,petscRealDouble),PetscErrorCode,(Cstring,UInt8,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function PetscBinaryRead(arg0::Type{Float64},arg1::Integer,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Integer,arg4::PetscDataType) - err = ccall((:PetscBinaryRead,petscRealDouble),PetscErrorCode,(Cint,Ptr{Void},Int64,PetscDataType),arg1,arg2,arg3,arg4) - return err -end - -function PetscBinarySynchronizedRead(arg0::Type{Float64},arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Integer,arg5::PetscDataType) - err = ccall((:PetscBinarySynchronizedRead,petscRealDouble),PetscErrorCode,(comm_type,Cint,Ptr{Void},Int64,PetscDataType),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscBinarySynchronizedWrite(arg0::Type{Float64},arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Integer,arg5::PetscDataType,arg6::PetscBool) - err = ccall((:PetscBinarySynchronizedWrite,petscRealDouble),PetscErrorCode,(comm_type,Cint,Ptr{Void},Int64,PetscDataType,PetscBool),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscBinaryWrite(arg0::Type{Float64},arg1::Integer,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Integer,arg4::PetscDataType,arg5::PetscBool) - err = ccall((:PetscBinaryWrite,petscRealDouble),PetscErrorCode,(Cint,Ptr{Void},Int64,PetscDataType,PetscBool),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscBinaryOpen(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::PetscFileMode,arg3::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}}) - err = ccall((:PetscBinaryOpen,petscRealDouble),PetscErrorCode,(Cstring,PetscFileMode,Ptr{Cint}),arg1,arg2,arg3) - return err -end - -function PetscBinaryClose(arg0::Type{Float64},arg1::Integer) - err = ccall((:PetscBinaryClose,petscRealDouble),PetscErrorCode,(Cint,),arg1) - return err -end - -function PetscSharedTmp(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscSharedTmp,petscRealDouble),PetscErrorCode,(comm_type,Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscSharedWorkingDirectory(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscSharedWorkingDirectory,petscRealDouble),PetscErrorCode,(comm_type,Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscGetTmp(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Csize_t) - err = ccall((:PetscGetTmp,petscRealDouble),PetscErrorCode,(comm_type,Cstring,Csize_t),arg1,arg2,arg3) - return err -end - -function PetscFileRetrieve(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Csize_t,arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscFileRetrieve,petscRealDouble),PetscErrorCode,(comm_type,Cstring,Cstring,Csize_t,Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscLs(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Csize_t,arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscLs,petscRealDouble),PetscErrorCode,(comm_type,Cstring,Cstring,Csize_t,Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscOpenSocket(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Integer,arg3::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}}) - err = ccall((:PetscOpenSocket,petscRealDouble),PetscErrorCode,(Cstring,Cint,Ptr{Cint}),arg1,arg2,arg3) - return err -end - -#= skipping function with undefined symbols: - function PetscBinarySeek(arg0::Type{Float64},arg1::Integer,arg2::off_t,arg3::PetscBinarySeekType,arg4::Union{Ptr{off_t},StridedArray{off_t},Ptr{off_t},Ref{off_t}}) - ccall((:PetscBinarySeek,petscRealDouble),PetscErrorCode,(Cint,off_t,PetscBinarySeekType,Ptr{off_t}),arg1,arg2,arg3,arg4) -end -=# -#= skipping function with undefined symbols: - function PetscBinarySynchronizedSeek(arg0::Type{Float64},arg1::MPI_Comm,arg2::Integer,arg3::off_t,arg4::PetscBinarySeekType,arg5::Union{Ptr{off_t},StridedArray{off_t},Ptr{off_t},Ref{off_t}}) - ccall((:PetscBinarySynchronizedSeek,petscRealDouble),PetscErrorCode,(comm_type,Cint,off_t,PetscBinarySeekType,Ptr{off_t}),arg1,arg2,arg3,arg4,arg5) -end -=# -function PetscByteSwap(arg0::Type{Float64},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg2::PetscDataType,arg3::Integer) - err = ccall((:PetscByteSwap,petscRealDouble),PetscErrorCode,(Ptr{Void},PetscDataType,Int64),arg1,arg2,arg3) - return err -end - -function PetscSetDebugTerminal(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscSetDebugTerminal,petscRealDouble),PetscErrorCode,(Cstring,),arg1) - return err -end - -function PetscSetDebugger(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::PetscBool) - err = ccall((:PetscSetDebugger,petscRealDouble),PetscErrorCode,(Cstring,PetscBool),arg1,arg2) - return err -end - -function PetscSetDefaultDebugger(arg0::Type{Float64}) - err = ccall((:PetscSetDefaultDebugger,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscSetDebuggerFromString(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscSetDebuggerFromString,petscRealDouble),PetscErrorCode,(Cstring,),arg1) - return err -end - -function PetscAttachDebugger(arg0::Type{Float64}) - err = ccall((:PetscAttachDebugger,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscStopForDebugger(arg0::Type{Float64}) - err = ccall((:PetscStopForDebugger,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscGatherNumberOfMessages(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}},arg3::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}},arg4::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}}) - err = ccall((:PetscGatherNumberOfMessages,petscRealDouble),PetscErrorCode,(comm_type,Ptr{PetscMPIInt},Ptr{PetscMPIInt},Ptr{PetscMPIInt}),arg1,arg2,arg3,arg4) - return err -end - -function PetscGatherMessageLengths(arg0::Type{Float64},arg1::MPI_Comm,arg2::PetscMPIInt,arg3::PetscMPIInt,arg4::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}},arg5::Union{Ptr{Ptr{PetscMPIInt}},StridedArray{Ptr{PetscMPIInt}},Ptr{Ptr{PetscMPIInt}},Ref{Ptr{PetscMPIInt}}},arg6::Union{Ptr{Ptr{PetscMPIInt}},StridedArray{Ptr{PetscMPIInt}},Ptr{Ptr{PetscMPIInt}},Ref{Ptr{PetscMPIInt}}}) - err = ccall((:PetscGatherMessageLengths,petscRealDouble),PetscErrorCode,(comm_type,PetscMPIInt,PetscMPIInt,Ptr{PetscMPIInt},Ptr{Ptr{PetscMPIInt}},Ptr{Ptr{PetscMPIInt}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscGatherMessageLengths2(arg0::Type{Float64},arg1::MPI_Comm,arg2::PetscMPIInt,arg3::PetscMPIInt,arg4::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}},arg5::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}},arg6::Union{Ptr{Ptr{PetscMPIInt}},StridedArray{Ptr{PetscMPIInt}},Ptr{Ptr{PetscMPIInt}},Ref{Ptr{PetscMPIInt}}},arg7::Union{Ptr{Ptr{PetscMPIInt}},StridedArray{Ptr{PetscMPIInt}},Ptr{Ptr{PetscMPIInt}},Ref{Ptr{PetscMPIInt}}},arg8::Union{Ptr{Ptr{PetscMPIInt}},StridedArray{Ptr{PetscMPIInt}},Ptr{Ptr{PetscMPIInt}},Ref{Ptr{PetscMPIInt}}}) - err = ccall((:PetscGatherMessageLengths2,petscRealDouble),PetscErrorCode,(comm_type,PetscMPIInt,PetscMPIInt,Ptr{PetscMPIInt},Ptr{PetscMPIInt},Ptr{Ptr{PetscMPIInt}},Ptr{Ptr{PetscMPIInt}},Ptr{Ptr{PetscMPIInt}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -#= skipping function with undefined symbols: - function PetscPostIrecvInt(arg0::Type{Float64},arg1::MPI_Comm,arg2::PetscMPIInt,arg3::PetscMPIInt,arg4::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}},arg5::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}},arg6::Union{Ptr{Ptr{Ptr{Int64}}},StridedArray{Ptr{Ptr{Int64}}},Ptr{Ptr{Ptr{Int64}}},Ref{Ptr{Ptr{Int64}}}},arg7::Union{Ptr{Ptr{MPI_Request}},StridedArray{Ptr{MPI_Request}},Ptr{Ptr{MPI_Request}},Ref{Ptr{MPI_Request}}}) - ccall((:PetscPostIrecvInt,petscRealDouble),PetscErrorCode,(comm_type,PetscMPIInt,PetscMPIInt,Ptr{PetscMPIInt},Ptr{PetscMPIInt},Ptr{Ptr{Ptr{Int64}}},Ptr{Ptr{MPI_Request}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -#= skipping function with undefined symbols: - function PetscPostIrecvScalar(arg0::Type{Float64},arg1::MPI_Comm,arg2::PetscMPIInt,arg3::PetscMPIInt,arg4::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}},arg5::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}},arg6::Union{Ptr{Ptr{Ptr{Float64}}},StridedArray{Ptr{Ptr{Float64}}},Ptr{Ptr{Ptr{Float64}}},Ref{Ptr{Ptr{Float64}}}},arg7::Union{Ptr{Ptr{MPI_Request}},StridedArray{Ptr{MPI_Request}},Ptr{Ptr{MPI_Request}},Ref{Ptr{MPI_Request}}}) - ccall((:PetscPostIrecvScalar,petscRealDouble),PetscErrorCode,(comm_type,PetscMPIInt,PetscMPIInt,Ptr{PetscMPIInt},Ptr{PetscMPIInt},Ptr{Ptr{Ptr{Float64}}},Ptr{Ptr{MPI_Request}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -#= skipping function with undefined symbols: - function PetscCommBuildTwoSided(arg0::Type{Float64},arg1::MPI_Comm,arg2::PetscMPIInt,arg3::MPI_Datatype,arg4::Integer,arg5::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}},arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{Ptr{PetscMPIInt}},StridedArray{Ptr{PetscMPIInt}},Ptr{Ptr{PetscMPIInt}},Ref{Ptr{PetscMPIInt}}},arg9::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - ccall((:PetscCommBuildTwoSided,petscRealDouble),PetscErrorCode,(comm_type,PetscMPIInt,MPI_Datatype,Int64,Ptr{PetscMPIInt},Ptr{Void},Ptr{Int64},Ptr{Ptr{PetscMPIInt}},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) -end -=# -function PetscCommBuildTwoSidedSetType(arg0::Type{Float64},arg1::MPI_Comm,arg2::PetscBuildTwoSidedType) - err = ccall((:PetscCommBuildTwoSidedSetType,petscRealDouble),PetscErrorCode,(comm_type,PetscBuildTwoSidedType),arg1,arg2) - return err -end - -function PetscCommBuildTwoSidedGetType(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{PetscBuildTwoSidedType},StridedArray{PetscBuildTwoSidedType},Ptr{PetscBuildTwoSidedType},Ref{PetscBuildTwoSidedType}}) - err = ccall((:PetscCommBuildTwoSidedGetType,petscRealDouble),PetscErrorCode,(comm_type,Ptr{PetscBuildTwoSidedType}),arg1,arg2) - return err -end - -function PetscSSEIsEnabled(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscSSEIsEnabled,petscRealDouble),PetscErrorCode,(comm_type,Ptr{PetscBool},Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function PetscObjectComm(arg0::Type{Float64},arg1::PetscObject) - err = ccall((:PetscObjectComm,petscRealDouble),MPI_Comm,(PetscObject,),arg1) - return err -end - -function PetscSubcommChild(arg0::Type{Float64},scomm::PetscSubcomm) - err = ccall((:PetscSubcommChild,petscRealDouble),MPI_Comm,(PetscSubcomm,),scomm) - return err -end - -function PetscSubcommContiguousParent(arg0::Type{Float64},scomm::PetscSubcomm) - err = ccall((:PetscSubcommContiguousParent,petscRealDouble),MPI_Comm,(PetscSubcomm,),scomm) - return err -end - -function PetscSubcommCreate(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{PetscSubcomm},StridedArray{PetscSubcomm},Ptr{PetscSubcomm},Ref{PetscSubcomm}}) - err = ccall((:PetscSubcommCreate,petscRealDouble),PetscErrorCode,(comm_type,Ptr{PetscSubcomm}),arg1,arg2) - return err -end - -function PetscSubcommDestroy(arg0::Type{Float64},arg1::Union{Ptr{PetscSubcomm},StridedArray{PetscSubcomm},Ptr{PetscSubcomm},Ref{PetscSubcomm}}) - err = ccall((:PetscSubcommDestroy,petscRealDouble),PetscErrorCode,(Ptr{PetscSubcomm},),arg1) - return err -end - -function PetscSubcommSetNumber(arg0::Type{Float64},arg1::PetscSubcomm,arg2::Integer) - err = ccall((:PetscSubcommSetNumber,petscRealDouble),PetscErrorCode,(PetscSubcomm,Int64),arg1,arg2) - return err -end - -function PetscSubcommSetType(arg0::Type{Float64},arg1::PetscSubcomm,arg2::PetscSubcommType) - err = ccall((:PetscSubcommSetType,petscRealDouble),PetscErrorCode,(PetscSubcomm,PetscSubcommType),arg1,arg2) - return err -end - -function PetscSubcommSetTypeGeneral(arg0::Type{Float64},arg1::PetscSubcomm,arg2::PetscMPIInt,arg3::PetscMPIInt) - err = ccall((:PetscSubcommSetTypeGeneral,petscRealDouble),PetscErrorCode,(PetscSubcomm,PetscMPIInt,PetscMPIInt),arg1,arg2,arg3) - return err -end - -function PetscSubcommView(arg1::PetscSubcomm,arg2::PetscViewer{Float64}) - err = ccall((:PetscSubcommView,petscRealDouble),PetscErrorCode,(PetscSubcomm,PetscViewer{Float64}),arg1,arg2) - return err -end - -function PetscSubcommSetFromOptions(arg0::Type{Float64},arg1::PetscSubcomm) - err = ccall((:PetscSubcommSetFromOptions,petscRealDouble),PetscErrorCode,(PetscSubcomm,),arg1) - return err -end - -function PetscSegBufferCreate(arg0::Type{Float64},arg1::Csize_t,arg2::Csize_t,arg3::Union{Ptr{PetscSegBuffer},StridedArray{PetscSegBuffer},Ptr{PetscSegBuffer},Ref{PetscSegBuffer}}) - err = ccall((:PetscSegBufferCreate,petscRealDouble),PetscErrorCode,(Csize_t,Csize_t,Ptr{PetscSegBuffer}),arg1,arg2,arg3) - return err -end - -function PetscSegBufferDestroy(arg0::Type{Float64},arg1::Union{Ptr{PetscSegBuffer},StridedArray{PetscSegBuffer},Ptr{PetscSegBuffer},Ref{PetscSegBuffer}}) - err = ccall((:PetscSegBufferDestroy,petscRealDouble),PetscErrorCode,(Ptr{PetscSegBuffer},),arg1) - return err -end - -function PetscSegBufferGet(arg0::Type{Float64},arg1::PetscSegBuffer,arg2::Csize_t,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscSegBufferGet,petscRealDouble),PetscErrorCode,(PetscSegBuffer,Csize_t,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function PetscSegBufferExtractAlloc(arg0::Type{Float64},arg1::PetscSegBuffer,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscSegBufferExtractAlloc,petscRealDouble),PetscErrorCode,(PetscSegBuffer,Ptr{Void}),arg1,arg2) - return err -end - -function PetscSegBufferExtractTo(arg0::Type{Float64},arg1::PetscSegBuffer,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscSegBufferExtractTo,petscRealDouble),PetscErrorCode,(PetscSegBuffer,Ptr{Void}),arg1,arg2) - return err -end - -function PetscSegBufferExtractInPlace(arg0::Type{Float64},arg1::PetscSegBuffer,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscSegBufferExtractInPlace,petscRealDouble),PetscErrorCode,(PetscSegBuffer,Ptr{Void}),arg1,arg2) - return err -end - -function PetscSegBufferGetSize(arg0::Type{Float64},arg1::PetscSegBuffer,arg2::Union{Ptr{Csize_t},StridedArray{Csize_t},Ptr{Csize_t},Ref{Csize_t}}) - err = ccall((:PetscSegBufferGetSize,petscRealDouble),PetscErrorCode,(PetscSegBuffer,Ptr{Csize_t}),arg1,arg2) - return err -end - -function PetscSegBufferUnuse(arg0::Type{Float64},arg1::PetscSegBuffer,arg2::Csize_t) - err = ccall((:PetscSegBufferUnuse,petscRealDouble),PetscErrorCode,(PetscSegBuffer,Csize_t),arg1,arg2) - return err -end - -function PetscSegBufferGetInts(arg0::Type{Float64},seg::PetscSegBuffer,count::Integer,slot::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PetscSegBufferGetInts,petscRealDouble),PetscErrorCode,(PetscSegBuffer,Int64,Ptr{Ptr{Int64}}),seg,count,slot) - return err -end - -function PetscCitationsRegister(arg0::Type{Float64},cit::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},set::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscCitationsRegister,petscRealDouble),PetscErrorCode,(Cstring,Ptr{PetscBool}),cit,set) - return err -end - -function PetscURLShorten(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Csize_t) - err = ccall((:PetscURLShorten,petscRealDouble),PetscErrorCode,(Cstring,Cstring,Csize_t),arg1,arg2,arg3) - return err -end - -function PetscGoogleDriveAuthorize(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Csize_t) - err = ccall((:PetscGoogleDriveAuthorize,petscRealDouble),PetscErrorCode,(comm_type,Cstring,Cstring,Csize_t),arg1,arg2,arg3,arg4) - return err -end - -function PetscGoogleDriveRefresh(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Csize_t) - err = ccall((:PetscGoogleDriveRefresh,petscRealDouble),PetscErrorCode,(comm_type,Cstring,Cstring,Csize_t),arg1,arg2,arg3,arg4) - return err -end - -function PetscGoogleDriveUpload(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscGoogleDriveUpload,petscRealDouble),PetscErrorCode,(comm_type,Cstring,Cstring),arg1,arg2,arg3) - return err -end - -function PetscBoxAuthorize(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Csize_t) - err = ccall((:PetscBoxAuthorize,petscRealDouble),PetscErrorCode,(comm_type,Cstring,Cstring,Csize_t),arg1,arg2,arg3,arg4) - return err -end - -function PetscBoxRefresh(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Csize_t) - err = ccall((:PetscBoxRefresh,petscRealDouble),PetscErrorCode,(comm_type,Cstring,Cstring,Cstring,Csize_t),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscTextBelt(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscTextBelt,petscRealDouble),PetscErrorCode,(comm_type,Cstring,Cstring,Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function PetscPullJSONValue(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Csize_t,arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscPullJSONValue,petscRealDouble),PetscErrorCode,(Cstring,Cstring,Cstring,Csize_t,Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscPushJSONValue(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Csize_t) - err = ccall((:PetscPushJSONValue,petscRealDouble),PetscErrorCode,(Cstring,Cstring,Cstring,Csize_t),arg1,arg2,arg3,arg4) - return err -end - -function PetscBagCreate(arg0::Type{Float64},arg1::MPI_Comm,arg2::Csize_t,arg3::Union{Ptr{PetscBag},StridedArray{PetscBag},Ptr{PetscBag},Ref{PetscBag}}) - err = ccall((:PetscBagCreate,petscRealDouble),PetscErrorCode,(comm_type,Csize_t,Ptr{PetscBag}),arg1,arg2,arg3) - return err -end - -function PetscBagDestroy(arg0::Type{Float64},arg1::Union{Ptr{PetscBag},StridedArray{PetscBag},Ptr{PetscBag},Ref{PetscBag}}) - err = ccall((:PetscBagDestroy,petscRealDouble),PetscErrorCode,(Ptr{PetscBag},),arg1) - return err -end - -function PetscBagGetData(arg0::Type{Float64},arg1::PetscBag,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:PetscBagGetData,petscRealDouble),PetscErrorCode,(PetscBag,Ptr{Ptr{Void}}),arg1,arg2) - return err -end - -function PetscBagRegisterReal(arg0::Type{Float64},arg1::PetscBag,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Float64,arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscBagRegisterReal,petscRealDouble),PetscErrorCode,(PetscBag,Ptr{Void},Float64,Cstring,Cstring),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscBagRegisterRealArray(arg0::Type{Float64},arg1::PetscBag,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Integer,arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscBagRegisterRealArray,petscRealDouble),PetscErrorCode,(PetscBag,Ptr{Void},Int64,Cstring,Cstring),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscBagRegisterString(arg0::Type{Float64},arg1::PetscBag,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Integer,arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg6::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscBagRegisterString,petscRealDouble),PetscErrorCode,(PetscBag,Ptr{Void},Int64,Cstring,Cstring,Cstring),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscBagRegisterScalar(arg0::Type{Float64},arg1::PetscBag,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Float64,arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscBagRegisterScalar,petscRealDouble),PetscErrorCode,(PetscBag,Ptr{Void},Float64,Cstring,Cstring),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscBagRegisterInt(arg0::Type{Float64},arg1::PetscBag,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Integer,arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscBagRegisterInt,petscRealDouble),PetscErrorCode,(PetscBag,Ptr{Void},Int64,Cstring,Cstring),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscBagRegister64bitInt(arg0::Type{Float64},arg1::PetscBag,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Petsc64bitInt,arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscBagRegister64bitInt,petscRealDouble),PetscErrorCode,(PetscBag,Ptr{Void},Petsc64bitInt,Cstring,Cstring),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscBagRegisterIntArray(arg0::Type{Float64},arg1::PetscBag,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Integer,arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscBagRegisterIntArray,petscRealDouble),PetscErrorCode,(PetscBag,Ptr{Void},Int64,Cstring,Cstring),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscBagRegisterEnum(arg0::Type{Float64},arg1::PetscBag,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg4::PetscEnum,arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg6::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscBagRegisterEnum,petscRealDouble),PetscErrorCode,(PetscBag,Ptr{Void},Ptr{Ptr{UInt8}},PetscEnum,Cstring,Cstring),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscBagRegisterBool(arg0::Type{Float64},arg1::PetscBag,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::PetscBool,arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscBagRegisterBool,petscRealDouble),PetscErrorCode,(PetscBag,Ptr{Void},PetscBool,Cstring,Cstring),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscBagRegisterBoolArray(arg0::Type{Float64},arg1::PetscBag,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Integer,arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscBagRegisterBoolArray,petscRealDouble),PetscErrorCode,(PetscBag,Ptr{Void},Int64,Cstring,Cstring),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscBagGetNames(arg0::Type{Float64},arg1::PetscBag,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscBagGetNames,petscRealDouble),PetscErrorCode,(PetscBag,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscBagSetFromOptions(arg0::Type{Float64},arg1::PetscBag) - err = ccall((:PetscBagSetFromOptions,petscRealDouble),PetscErrorCode,(PetscBag,),arg1) - return err -end - -function PetscBagGetName(arg0::Type{Float64},arg1::PetscBag,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscBagGetName,petscRealDouble),PetscErrorCode,(PetscBag,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscBagSetName(arg0::Type{Float64},arg1::PetscBag,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscBagSetName,petscRealDouble),PetscErrorCode,(PetscBag,Cstring,Cstring),arg1,arg2,arg3) - return err -end - -function PetscBagSetOptionsPrefix(arg0::Type{Float64},arg1::PetscBag,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscBagSetOptionsPrefix,petscRealDouble),PetscErrorCode,(PetscBag,Cstring),arg1,arg2) - return err -end - -function PetscBagView(arg1::PetscBag,arg2::PetscViewer{Float64}) - err = ccall((:PetscBagView,petscRealDouble),PetscErrorCode,(PetscBag,PetscViewer{Float64}),arg1,arg2) - return err -end - -function PetscBagLoad(arg1::PetscViewer{Float64},arg2::PetscBag) - err = ccall((:PetscBagLoad,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},PetscBag),arg1,arg2) - return err -end - -function PetscBagSetViewer(arg0::Type{Float64},arg1::PetscBag,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscBagSetViewer,petscRealDouble),PetscErrorCode,(PetscBag,Ptr{Void}),arg1,arg2) - return err -end - -function PetscBagSetLoader(arg0::Type{Float64},arg1::PetscBag,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscBagSetLoader,petscRealDouble),PetscErrorCode,(PetscBag,Ptr{Void}),arg1,arg2) - return err -end - -function PetscBagSetDestroy(arg0::Type{Float64},arg1::PetscBag,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscBagSetDestroy,petscRealDouble),PetscErrorCode,(PetscBag,Ptr{Void}),arg1,arg2) - return err -end - -function PetscGetCPUTime(arg0::Type{Float64},arg1::Union{Ptr{PetscLogDouble},StridedArray{PetscLogDouble},Ptr{PetscLogDouble},Ref{PetscLogDouble}}) - err = ccall((:PetscGetCPUTime,petscRealDouble),PetscErrorCode,(Ptr{PetscLogDouble},),arg1) - return err -end - -function PetscTime(arg0::Type{Float64},v::Union{Ptr{PetscLogDouble},StridedArray{PetscLogDouble},Ptr{PetscLogDouble},Ref{PetscLogDouble}}) - err = ccall((:PetscTime,petscRealDouble),PetscErrorCode,(Ptr{PetscLogDouble},),v) - return err -end - -function PetscTimeSubtract(arg0::Type{Float64},v::Union{Ptr{PetscLogDouble},StridedArray{PetscLogDouble},Ptr{PetscLogDouble},Ref{PetscLogDouble}}) - err = ccall((:PetscTimeSubtract,petscRealDouble),PetscErrorCode,(Ptr{PetscLogDouble},),v) - return err -end - -function PetscTimeAdd(arg0::Type{Float64},v::Union{Ptr{PetscLogDouble},StridedArray{PetscLogDouble},Ptr{PetscLogDouble},Ref{PetscLogDouble}}) - err = ccall((:PetscTimeAdd,petscRealDouble),PetscErrorCode,(Ptr{PetscLogDouble},),v) - return err -end - -function PetscViewerInitializePackage(arg0::Type{Float64}) - err = ccall((:PetscViewerInitializePackage,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscViewerRegister(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscViewerRegister,petscRealDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function PetscViewerCreate(arg1::MPI_Comm,arg2::Union{Ptr{PetscViewer{Float64}},StridedArray{PetscViewer{Float64}},Ptr{PetscViewer{Float64}},Ref{PetscViewer{Float64}}}) - err = ccall((:PetscViewerCreate,petscRealDouble),PetscErrorCode,(comm_type,Ptr{PetscViewer{Float64}}),arg1,arg2) - return err -end - -function PetscViewerSetFromOptions(arg1::PetscViewer{Float64}) - err = ccall((:PetscViewerSetFromOptions,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},),arg1) - return err -end - -#= skipping function with undefined symbols: - function PetscViewerASCIIOpenWithFILE(arg1::MPI_Comm,arg2::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}},arg3::Union{Ptr{PetscViewer{Float64}},StridedArray{PetscViewer{Float64}},Ptr{PetscViewer{Float64}},Ref{PetscViewer{Float64}}}) - ccall((:PetscViewerASCIIOpenWithFILE,petscRealDouble),PetscErrorCode,(comm_type,Ptr{FILE},Ptr{PetscViewer{Float64}}),arg1,arg2,arg3) -end -=# -function PetscViewerASCIIOpen(arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscViewer{Float64}},StridedArray{PetscViewer{Float64}},Ptr{PetscViewer{Float64}},Ref{PetscViewer{Float64}}}) - err = ccall((:PetscViewerASCIIOpen,petscRealDouble),PetscErrorCode,(comm_type,Cstring,Ptr{PetscViewer{Float64}}),arg1,arg2,arg3) - return err -end - -#= skipping function with undefined symbols: - function PetscViewerASCIISetFILE(arg1::PetscViewer{Float64},arg2::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}}) - ccall((:PetscViewerASCIISetFILE,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Ptr{FILE}),arg1,arg2) -end -=# -function PetscViewerBinaryOpen(arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::PetscFileMode,arg4::Union{Ptr{PetscViewer{Float64}},StridedArray{PetscViewer{Float64}},Ptr{PetscViewer{Float64}},Ref{PetscViewer{Float64}}}) - err = ccall((:PetscViewerBinaryOpen,petscRealDouble),PetscErrorCode,(comm_type,Cstring,PetscFileMode,Ptr{PetscViewer{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscViewerBinaryGetFlowControl(arg1::PetscViewer{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscViewerBinaryGetFlowControl,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Ptr{Int64}),arg1,arg2) - return err -end - -function PetscViewerBinarySetFlowControl(arg1::PetscViewer{Float64},arg2::Integer) - err = ccall((:PetscViewerBinarySetFlowControl,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Int64),arg1,arg2) - return err -end - -function PetscViewerBinarySetUseMPIIO(arg1::PetscViewer{Float64},arg2::PetscBool) - err = ccall((:PetscViewerBinarySetUseMPIIO,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},PetscBool),arg1,arg2) - return err -end - -function PetscViewerBinaryGetUseMPIIO(arg1::PetscViewer{Float64},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscViewerBinaryGetUseMPIIO,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Ptr{PetscBool}),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function PetscViewerBinaryGetMPIIODescriptor(arg1::PetscViewer{Float64},arg2::Union{Ptr{MPI_File},StridedArray{MPI_File},Ptr{MPI_File},Ref{MPI_File}}) - ccall((:PetscViewerBinaryGetMPIIODescriptor,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Ptr{MPI_File}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function PetscViewerBinaryGetMPIIOOffset(arg1::PetscViewer{Float64},arg2::Union{Ptr{MPI_Offset},StridedArray{MPI_Offset},Ptr{MPI_Offset},Ref{MPI_Offset}}) - ccall((:PetscViewerBinaryGetMPIIOOffset,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Ptr{MPI_Offset}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function PetscViewerBinaryAddMPIIOOffset(arg1::PetscViewer{Float64},arg2::MPI_Offset) - ccall((:PetscViewerBinaryAddMPIIOOffset,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},MPI_Offset),arg1,arg2) -end -=# -function PetscViewerSocketOpen(arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::Union{Ptr{PetscViewer{Float64}},StridedArray{PetscViewer{Float64}},Ptr{PetscViewer{Float64}},Ref{PetscViewer{Float64}}}) - err = ccall((:PetscViewerSocketOpen,petscRealDouble),PetscErrorCode,(comm_type,Cstring,Cint,Ptr{PetscViewer{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscViewerStringOpen(arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Csize_t,arg4::Union{Ptr{PetscViewer{Float64}},StridedArray{PetscViewer{Float64}},Ptr{PetscViewer{Float64}},Ref{PetscViewer{Float64}}}) - err = ccall((:PetscViewerStringOpen,petscRealDouble),PetscErrorCode,(comm_type,Cstring,Csize_t,Ptr{PetscViewer{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscViewerDrawOpen(arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Union{Ptr{PetscViewer{Float64}},StridedArray{PetscViewer{Float64}},Ptr{PetscViewer{Float64}},Ref{PetscViewer{Float64}}}) - err = ccall((:PetscViewerDrawOpen,petscRealDouble),PetscErrorCode,(comm_type,Cstring,Cstring,Cint,Cint,Cint,Cint,Ptr{PetscViewer{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function PetscViewerDrawSetDrawType(arg1::PetscViewer{Float64},arg2::PetscDrawType) - err = ccall((:PetscViewerDrawSetDrawType,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Cstring),arg1,arg2) - return err -end - -function PetscViewerMathematicaOpen(arg1::MPI_Comm,arg2::Integer,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{PetscViewer{Float64}},StridedArray{PetscViewer{Float64}},Ptr{PetscViewer{Float64}},Ref{PetscViewer{Float64}}}) - err = ccall((:PetscViewerMathematicaOpen,petscRealDouble),PetscErrorCode,(comm_type,Cint,Cstring,Cstring,Ptr{PetscViewer{Float64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscViewerSiloOpen(arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscViewer{Float64}},StridedArray{PetscViewer{Float64}},Ptr{PetscViewer{Float64}},Ref{PetscViewer{Float64}}}) - err = ccall((:PetscViewerSiloOpen,petscRealDouble),PetscErrorCode,(comm_type,Cstring,Ptr{PetscViewer{Float64}}),arg1,arg2,arg3) - return err -end - -function PetscViewerMatlabOpen(arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::PetscFileMode,arg4::Union{Ptr{PetscViewer{Float64}},StridedArray{PetscViewer{Float64}},Ptr{PetscViewer{Float64}},Ref{PetscViewer{Float64}}}) - err = ccall((:PetscViewerMatlabOpen,petscRealDouble),PetscErrorCode,(comm_type,Cstring,PetscFileMode,Ptr{PetscViewer{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscViewerGetType(arg1::PetscViewer{Float64},arg2::Union{Ptr{PetscViewerType},StridedArray{PetscViewerType},Ptr{PetscViewerType},Ref{PetscViewerType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:PetscViewerGetType,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function PetscViewerSetType(arg1::PetscViewer{Float64},arg2::PetscViewerType) - err = ccall((:PetscViewerSetType,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Cstring),arg1,arg2) - return err -end - -function PetscViewerDestroy(arg1::Union{Ptr{PetscViewer{Float64}},StridedArray{PetscViewer{Float64}},Ptr{PetscViewer{Float64}},Ref{PetscViewer{Float64}}}) - err = ccall((:PetscViewerDestroy,petscRealDouble),PetscErrorCode,(Ptr{PetscViewer{Float64}},),arg1) - return err -end - -function PetscViewerGetSingleton(arg1::PetscViewer{Float64},arg2::Union{Ptr{PetscViewer{Float64}},StridedArray{PetscViewer{Float64}},Ptr{PetscViewer{Float64}},Ref{PetscViewer{Float64}}}) - err = ccall((:PetscViewerGetSingleton,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Ptr{PetscViewer{Float64}}),arg1,arg2) - return err -end - -function PetscViewerRestoreSingleton(arg1::PetscViewer{Float64},arg2::Union{Ptr{PetscViewer{Float64}},StridedArray{PetscViewer{Float64}},Ptr{PetscViewer{Float64}},Ref{PetscViewer{Float64}}}) - err = ccall((:PetscViewerRestoreSingleton,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Ptr{PetscViewer{Float64}}),arg1,arg2) - return err -end - -function PetscViewerGetSubcomm(arg1::PetscViewer{Float64},arg2::MPI_Comm,arg3::Union{Ptr{PetscViewer{Float64}},StridedArray{PetscViewer{Float64}},Ptr{PetscViewer{Float64}},Ref{PetscViewer{Float64}}}) - err = ccall((:PetscViewerGetSubcomm,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},comm_type,Ptr{PetscViewer{Float64}}),arg1,arg2,arg3) - return err -end - -function PetscViewerRestoreSubcomm(arg1::PetscViewer{Float64},arg2::MPI_Comm,arg3::Union{Ptr{PetscViewer{Float64}},StridedArray{PetscViewer{Float64}},Ptr{PetscViewer{Float64}},Ref{PetscViewer{Float64}}}) - err = ccall((:PetscViewerRestoreSubcomm,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},comm_type,Ptr{PetscViewer{Float64}}),arg1,arg2,arg3) - return err -end - -function PetscViewerSetUp(arg1::PetscViewer{Float64}) - err = ccall((:PetscViewerSetUp,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},),arg1) - return err -end - -function PetscViewerView(arg1::PetscViewer{Float64},arg2::PetscViewer{Float64}) - err = ccall((:PetscViewerView,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},PetscViewer{Float64}),arg1,arg2) - return err -end - -function PetscViewerViewFromOptions(A::PetscViewer{Float64},obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscViewerViewFromOptions,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},PetscObject,Cstring),A,obj,name) - return err -end - -function PetscViewerSetOptionsPrefix(arg1::PetscViewer{Float64},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscViewerSetOptionsPrefix,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Cstring),arg1,arg2) - return err -end - -function PetscViewerAppendOptionsPrefix(arg1::PetscViewer{Float64},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscViewerAppendOptionsPrefix,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Cstring),arg1,arg2) - return err -end - -function PetscViewerGetOptionsPrefix(arg1::PetscViewer{Float64},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscViewerGetOptionsPrefix,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscViewerSetFormat(arg1::PetscViewer{Float64},arg2::PetscViewerFormat) - err = ccall((:PetscViewerSetFormat,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},PetscViewerFormat),arg1,arg2) - return err -end - -function PetscViewerPushFormat(arg1::PetscViewer{Float64},arg2::PetscViewerFormat) - err = ccall((:PetscViewerPushFormat,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},PetscViewerFormat),arg1,arg2) - return err -end - -function PetscViewerPopFormat(arg1::PetscViewer{Float64}) - err = ccall((:PetscViewerPopFormat,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},),arg1) - return err -end - -function PetscViewerGetFormat(arg1::PetscViewer{Float64},arg2::Union{Ptr{PetscViewerFormat},StridedArray{PetscViewerFormat},Ptr{PetscViewerFormat},Ref{PetscViewerFormat}}) - err = ccall((:PetscViewerGetFormat,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Ptr{PetscViewerFormat}),arg1,arg2) - return err -end - -function PetscViewerFlush(arg1::PetscViewer{Float64}) - err = ccall((:PetscViewerFlush,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},),arg1) - return err -end - -function PetscOptionsGetViewer(arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{Ptr{PetscViewer{Float64}},StridedArray{PetscViewer{Float64}},Ptr{PetscViewer{Float64}},Ref{PetscViewer{Float64}}},arg5::Union{Ptr{PetscViewerFormat},StridedArray{PetscViewerFormat},Ptr{PetscViewerFormat},Ref{PetscViewerFormat}},arg6::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetViewer,petscRealDouble),PetscErrorCode,(comm_type,Cstring,Cstring,Ptr{PetscViewer{Float64}},Ptr{PetscViewerFormat},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -#= skipping function with undefined symbols: - function PetscOptionsViewer_Private(arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{PetscViewer{Float64}},StridedArray{PetscViewer{Float64}},Ptr{PetscViewer{Float64}},Ref{PetscViewer{Float64}}},arg6::Union{Ptr{PetscViewerFormat},StridedArray{PetscViewerFormat},Ptr{PetscViewerFormat},Ref{PetscViewerFormat}},arg7::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsViewer_Private,petscRealDouble),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Ptr{PetscViewer{Float64}},Ptr{PetscViewerFormat},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -#= skipping function with undefined symbols: - function PetscViewerASCIIGetPointer(arg1::PetscViewer{Float64},arg2::Union{Ptr{Ptr{FILE}},StridedArray{Ptr{FILE}},Ptr{Ptr{FILE}},Ref{Ptr{FILE}}}) - ccall((:PetscViewerASCIIGetPointer,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Ptr{Ptr{FILE}}),arg1,arg2) -end -=# -function PetscViewerFileGetMode(arg1::PetscViewer{Float64},arg2::Union{Ptr{PetscFileMode},StridedArray{PetscFileMode},Ptr{PetscFileMode},Ref{PetscFileMode}}) - err = ccall((:PetscViewerFileGetMode,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Ptr{PetscFileMode}),arg1,arg2) - return err -end - -function PetscViewerFileSetMode(arg1::PetscViewer{Float64},arg2::PetscFileMode) - err = ccall((:PetscViewerFileSetMode,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},PetscFileMode),arg1,arg2) - return err -end - -function PetscViewerRead(arg1::PetscViewer{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::PetscDataType) - err = ccall((:PetscViewerRead,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Ptr{Void},Int64,Ptr{Int64},PetscDataType),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscViewerASCIISynchronizedAllow(arg1::PetscViewer{Float64},arg2::PetscBool) - err = ccall((:PetscViewerASCIISynchronizedAllow,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},PetscBool),arg1,arg2) - return err -end - -function PetscViewerASCIIPushTab(arg1::PetscViewer{Float64}) - err = ccall((:PetscViewerASCIIPushTab,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},),arg1) - return err -end - -function PetscViewerASCIIPopTab(arg1::PetscViewer{Float64}) - err = ccall((:PetscViewerASCIIPopTab,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},),arg1) - return err -end - -function PetscViewerASCIIUseTabs(arg1::PetscViewer{Float64},arg2::PetscBool) - err = ccall((:PetscViewerASCIIUseTabs,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},PetscBool),arg1,arg2) - return err -end - -function PetscViewerASCIISetTab(arg1::PetscViewer{Float64},arg2::Integer) - err = ccall((:PetscViewerASCIISetTab,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Int64),arg1,arg2) - return err -end - -function PetscViewerASCIIGetTab(arg1::PetscViewer{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscViewerASCIIGetTab,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Ptr{Int64}),arg1,arg2) - return err -end - -function PetscViewerASCIIAddTab(arg1::PetscViewer{Float64},arg2::Integer) - err = ccall((:PetscViewerASCIIAddTab,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Int64),arg1,arg2) - return err -end - -function PetscViewerASCIISubtractTab(arg1::PetscViewer{Float64},arg2::Integer) - err = ccall((:PetscViewerASCIISubtractTab,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Int64),arg1,arg2) - return err -end - -function PetscViewerASCIIRead(arg1::PetscViewer{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::PetscDataType) - err = ccall((:PetscViewerASCIIRead,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Ptr{Void},Int64,Ptr{Int64},PetscDataType),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscViewerBinaryGetDescriptor(arg1::PetscViewer{Float64},arg2::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}}) - err = ccall((:PetscViewerBinaryGetDescriptor,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Ptr{Cint}),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function PetscViewerBinaryGetInfoPointer(arg1::PetscViewer{Float64},arg2::Union{Ptr{Ptr{FILE}},StridedArray{Ptr{FILE}},Ptr{Ptr{FILE}},Ref{Ptr{FILE}}}) - ccall((:PetscViewerBinaryGetInfoPointer,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Ptr{Ptr{FILE}}),arg1,arg2) -end -=# -function PetscViewerBinaryRead(arg1::PetscViewer{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::PetscDataType) - err = ccall((:PetscViewerBinaryRead,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Ptr{Void},Int64,Ptr{Int64},PetscDataType),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscViewerBinaryWrite(arg1::PetscViewer{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Integer,arg4::PetscDataType,arg5::PetscBool) - err = ccall((:PetscViewerBinaryWrite,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Ptr{Void},Int64,PetscDataType,PetscBool),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscViewerStringSetString(arg1::PetscViewer{Float64},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer) - err = ccall((:PetscViewerStringSetString,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Cstring,Int64),arg1,arg2,arg3) - return err -end - -function PetscViewerDrawClear(arg1::PetscViewer{Float64}) - err = ccall((:PetscViewerDrawClear,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},),arg1) - return err -end - -function PetscViewerDrawSetHold(arg1::PetscViewer{Float64},arg2::PetscBool) - err = ccall((:PetscViewerDrawSetHold,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},PetscBool),arg1,arg2) - return err -end - -function PetscViewerDrawGetHold(arg1::PetscViewer{Float64},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscViewerDrawGetHold,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscViewerDrawSetPause(arg1::PetscViewer{Float64},arg2::Float64) - err = ccall((:PetscViewerDrawSetPause,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Float64),arg1,arg2) - return err -end - -function PetscViewerDrawGetPause(arg1::PetscViewer{Float64},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscViewerDrawGetPause,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Ptr{Float64}),arg1,arg2) - return err -end - -function PetscViewerDrawSetInfo(arg1::PetscViewer{Float64},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer) - err = ccall((:PetscViewerDrawSetInfo,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Cstring,Cstring,Cint,Cint,Cint,Cint),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function PetscViewerDrawResize(arg1::PetscViewer{Float64},arg2::Integer,arg3::Integer) - err = ccall((:PetscViewerDrawResize,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Cint,Cint),arg1,arg2,arg3) - return err -end - -function PetscViewerDrawSetBounds(arg1::PetscViewer{Float64},arg2::Integer,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscViewerDrawSetBounds,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Int64,Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function PetscViewerDrawGetBounds(arg1::PetscViewer{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:PetscViewerDrawGetBounds,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Ptr{Int64},Ptr{Ptr{Float64}}),arg1,arg2,arg3) - return err -end - -function PetscViewerSocketSetConnection(arg1::PetscViewer{Float64},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer) - err = ccall((:PetscViewerSocketSetConnection,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Cstring,Cint),arg1,arg2,arg3) - return err -end - -function PetscViewerBinarySkipInfo(arg1::PetscViewer{Float64}) - err = ccall((:PetscViewerBinarySkipInfo,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},),arg1) - return err -end - -function PetscViewerBinarySetSkipInfo(arg1::PetscViewer{Float64},arg2::PetscBool) - err = ccall((:PetscViewerBinarySetSkipInfo,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},PetscBool),arg1,arg2) - return err -end - -function PetscViewerBinaryGetSkipInfo(arg1::PetscViewer{Float64},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscViewerBinaryGetSkipInfo,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscViewerBinarySetSkipOptions(arg1::PetscViewer{Float64},arg2::PetscBool) - err = ccall((:PetscViewerBinarySetSkipOptions,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},PetscBool),arg1,arg2) - return err -end - -function PetscViewerBinaryGetSkipOptions(arg1::PetscViewer{Float64},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscViewerBinaryGetSkipOptions,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscViewerBinarySetSkipHeader(arg1::PetscViewer{Float64},arg2::PetscBool) - err = ccall((:PetscViewerBinarySetSkipHeader,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},PetscBool),arg1,arg2) - return err -end - -function PetscViewerBinaryGetSkipHeader(arg1::PetscViewer{Float64},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscViewerBinaryGetSkipHeader,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscViewerBinaryReadStringArray(arg1::PetscViewer{Float64},arg2::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}}) - err = ccall((:PetscViewerBinaryReadStringArray,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Ptr{Ptr{Ptr{UInt8}}}),arg1,arg2) - return err -end - -function PetscViewerBinaryWriteStringArray(arg1::PetscViewer{Float64},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscViewerBinaryWriteStringArray,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscViewerFileSetName(arg1::PetscViewer{Float64},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscViewerFileSetName,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Cstring),arg1,arg2) - return err -end - -function PetscViewerFileGetName(arg1::PetscViewer{Float64},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscViewerFileGetName,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function PetscViewerVUGetPointer(arg1::PetscViewer{Float64},arg2::Union{Ptr{Ptr{FILE}},StridedArray{Ptr{FILE}},Ptr{Ptr{FILE}},Ref{Ptr{FILE}}}) - ccall((:PetscViewerVUGetPointer,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Ptr{Ptr{FILE}}),arg1,arg2) -end -=# -function PetscViewerVUSetVecSeen(arg1::PetscViewer{Float64},arg2::PetscBool) - err = ccall((:PetscViewerVUSetVecSeen,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},PetscBool),arg1,arg2) - return err -end - -function PetscViewerVUGetVecSeen(arg1::PetscViewer{Float64},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscViewerVUGetVecSeen,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscViewerVUFlushDeferred(arg1::PetscViewer{Float64}) - err = ccall((:PetscViewerVUFlushDeferred,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},),arg1) - return err -end - -function PetscViewerMathematicaInitializePackage(arg0::Type{Float64}) - err = ccall((:PetscViewerMathematicaInitializePackage,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscViewerMathematicaFinalizePackage(arg0::Type{Float64}) - err = ccall((:PetscViewerMathematicaFinalizePackage,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscViewerMathematicaGetName(arg1::PetscViewer{Float64},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscViewerMathematicaGetName,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscViewerMathematicaSetName(arg1::PetscViewer{Float64},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscViewerMathematicaSetName,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Cstring),arg1,arg2) - return err -end - -function PetscViewerMathematicaClearName(arg1::PetscViewer{Float64}) - err = ccall((:PetscViewerMathematicaClearName,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},),arg1) - return err -end - -function PetscViewerMathematicaSkipPackets(arg1::PetscViewer{Float64},arg2::Integer) - err = ccall((:PetscViewerMathematicaSkipPackets,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Cint),arg1,arg2) - return err -end - -function PetscViewerSiloGetName(arg1::PetscViewer{Float64},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscViewerSiloGetName,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscViewerSiloSetName(arg1::PetscViewer{Float64},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscViewerSiloSetName,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Cstring),arg1,arg2) - return err -end - -function PetscViewerSiloClearName(arg1::PetscViewer{Float64}) - err = ccall((:PetscViewerSiloClearName,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},),arg1) - return err -end - -function PetscViewerSiloGetMeshName(arg1::PetscViewer{Float64},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscViewerSiloGetMeshName,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscViewerSiloSetMeshName(arg1::PetscViewer{Float64},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscViewerSiloSetMeshName,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Cstring),arg1,arg2) - return err -end - -function PetscViewerSiloClearMeshName(arg1::PetscViewer{Float64}) - err = ccall((:PetscViewerSiloClearMeshName,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},),arg1) - return err -end - -function PetscViewerNetcdfOpen(arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::PetscFileMode,arg4::Union{Ptr{PetscViewer{Float64}},StridedArray{PetscViewer{Float64}},Ptr{PetscViewer{Float64}},Ref{PetscViewer{Float64}}}) - err = ccall((:PetscViewerNetcdfOpen,petscRealDouble),PetscErrorCode,(comm_type,Cstring,PetscFileMode,Ptr{PetscViewer{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscViewerNetcdfGetID(arg1::PetscViewer{Float64},arg2::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}}) - err = ccall((:PetscViewerNetcdfGetID,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Ptr{Cint}),arg1,arg2) - return err -end - -function PetscViewerVTKAddField(arg1::PetscViewer{Float64},arg2::PetscObject,PetscViewerVTKWriteFunction::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::PetscViewerVTKFieldType,arg4::PetscObject) - err = ccall((:PetscViewerVTKAddField,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},PetscObject,Ptr{Void},PetscViewerVTKFieldType,PetscObject),arg1,arg2,PetscViewerVTKWriteFunction,arg3,arg4) - return err -end - -function PetscViewerVTKOpen(arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::PetscFileMode,arg4::Union{Ptr{PetscViewer{Float64}},StridedArray{PetscViewer{Float64}},Ptr{PetscViewer{Float64}},Ref{PetscViewer{Float64}}}) - err = ccall((:PetscViewerVTKOpen,petscRealDouble),PetscErrorCode,(comm_type,Cstring,PetscFileMode,Ptr{PetscViewer{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function PETSC_VIEWER_STDOUT_(arg0::Type{Float64},arg1::MPI_Comm) - err = ccall((:PETSC_VIEWER_STDOUT_,petscRealDouble),PetscViewer,(comm_type,),arg1) - return err -end - -function PetscViewerASCIIGetStdout(arg1::MPI_Comm,arg2::Union{Ptr{PetscViewer{Float64}},StridedArray{PetscViewer{Float64}},Ptr{PetscViewer{Float64}},Ref{PetscViewer{Float64}}}) - err = ccall((:PetscViewerASCIIGetStdout,petscRealDouble),PetscErrorCode,(comm_type,Ptr{PetscViewer{Float64}}),arg1,arg2) - return err -end - -function PETSC_VIEWER_STDERR_(arg0::Type{Float64},arg1::MPI_Comm) - err = ccall((:PETSC_VIEWER_STDERR_,petscRealDouble),PetscViewer,(comm_type,),arg1) - return err -end - -function PetscViewerASCIIGetStderr(arg1::MPI_Comm,arg2::Union{Ptr{PetscViewer{Float64}},StridedArray{PetscViewer{Float64}},Ptr{PetscViewer{Float64}},Ref{PetscViewer{Float64}}}) - err = ccall((:PetscViewerASCIIGetStderr,petscRealDouble),PetscErrorCode,(comm_type,Ptr{PetscViewer{Float64}}),arg1,arg2) - return err -end - -function PETSC_VIEWER_DRAW_(arg0::Type{Float64},arg1::MPI_Comm) - err = ccall((:PETSC_VIEWER_DRAW_,petscRealDouble),PetscViewer,(comm_type,),arg1) - return err -end - -function PETSC_VIEWER_SOCKET_(arg0::Type{Float64},arg1::MPI_Comm) - err = ccall((:PETSC_VIEWER_SOCKET_,petscRealDouble),PetscViewer,(comm_type,),arg1) - return err -end - -function PETSC_VIEWER_BINARY_(arg0::Type{Float64},arg1::MPI_Comm) - err = ccall((:PETSC_VIEWER_BINARY_,petscRealDouble),PetscViewer,(comm_type,),arg1) - return err -end - -function PETSC_VIEWER_MATLAB_(arg0::Type{Float64},arg1::MPI_Comm) - err = ccall((:PETSC_VIEWER_MATLAB_,petscRealDouble),PetscViewer,(comm_type,),arg1) - return err -end - -function PETSC_VIEWER_HDF5_(arg0::Type{Float64},arg1::MPI_Comm) - err = ccall((:PETSC_VIEWER_HDF5_,petscRealDouble),PetscViewer,(comm_type,),arg1) - return err -end - -function PetscViewerFlowControlStart(viewer::PetscViewer{Float64},mcnt::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},cnt::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscViewerFlowControlStart,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Ptr{Int64},Ptr{Int64}),viewer,mcnt,cnt) - return err -end - -function PetscViewerFlowControlStepMaster(viewer::PetscViewer{Float64},i::Integer,mcnt::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},cnt::Integer) - err = ccall((:PetscViewerFlowControlStepMaster,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Int64,Ptr{Int64},Int64),viewer,i,mcnt,cnt) - return err -end - -function PetscViewerFlowControlEndMaster(viewer::PetscViewer{Float64},mcnt::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscViewerFlowControlEndMaster,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Ptr{Int64}),viewer,mcnt) - return err -end - -function PetscViewerFlowControlStepWorker(viewer::PetscViewer{Float64},rank::PetscMPIInt,mcnt::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscViewerFlowControlStepWorker,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},PetscMPIInt,Ptr{Int64}),viewer,rank,mcnt) - return err -end - -function PetscViewerFlowControlEndWorker(viewer::PetscViewer{Float64},mcnt::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscViewerFlowControlEndWorker,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Ptr{Int64}),viewer,mcnt) - return err -end - -function PetscViewerMatlabPutArray(arg1::PetscViewer{Float64},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscViewerMatlabPutArray,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Cint,Cint,Ptr{Float64},Cstring),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscViewerMatlabGetArray(arg1::PetscViewer{Float64},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscViewerMatlabGetArray,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Cint,Cint,Ptr{Float64},Cstring),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscViewerMatlabPutVariable(arg1::PetscViewer{Float64},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscViewerMatlabPutVariable,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Cstring,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function PetscViewersCreate(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{PetscViewers},StridedArray{PetscViewers},Ptr{PetscViewers},Ref{PetscViewers}}) - err = ccall((:PetscViewersCreate,petscRealDouble),PetscErrorCode,(comm_type,Ptr{PetscViewers}),arg1,arg2) - return err -end - -function PetscViewersDestroy(arg0::Type{Float64},arg1::Union{Ptr{PetscViewers},StridedArray{PetscViewers},Ptr{PetscViewers},Ref{PetscViewers}}) - err = ccall((:PetscViewersDestroy,petscRealDouble),PetscErrorCode,(Ptr{PetscViewers},),arg1) - return err -end - -function PetscViewersGetViewer(arg1::PetscViewers,arg2::Integer,arg3::Union{Ptr{PetscViewer{Float64}},StridedArray{PetscViewer{Float64}},Ptr{PetscViewer{Float64}},Ref{PetscViewer{Float64}}}) - err = ccall((:PetscViewersGetViewer,petscRealDouble),PetscErrorCode,(PetscViewers,Int64,Ptr{PetscViewer{Float64}}),arg1,arg2,arg3) - return err -end - -function PetscBTLength(arg0::Type{Float64},m::Integer) - err = ccall((:PetscBTLength,petscRealDouble),PetscInt,(Int64,),m) - return err -end - -function PetscBTMemzero(arg0::Type{Float64},m::Integer,array::PetscBT) - err = ccall((:PetscBTMemzero,petscRealDouble),PetscErrorCode,(Int64,Cstring),m,array) - return err -end - -function PetscBTDestroy(arg0::Type{Float64},array::Union{Ptr{PetscBT},StridedArray{PetscBT},Ptr{PetscBT},Ref{PetscBT}}) - err = ccall((:PetscBTDestroy,petscRealDouble),PetscErrorCode,(Ptr{Ptr{UInt8}},),array) - return err -end - -function PetscBTLookup(arg0::Type{Float64},array::PetscBT,index::Integer) - err = ccall((:PetscBTLookup,petscRealDouble),UInt8,(Cstring,Int64),array,index) - return err -end - -function PetscBTView(m::Integer,bt::PetscBT,viewer::PetscViewer{Float64}) - err = ccall((:PetscBTView,petscRealDouble),PetscErrorCode,(Int64,Cstring,PetscViewer{Float64}),m,bt,viewer) - return err -end - -function PetscBTCreate(arg0::Type{Float64},m::Integer,array::Union{Ptr{PetscBT},StridedArray{PetscBT},Ptr{PetscBT},Ref{PetscBT}}) - err = ccall((:PetscBTCreate,petscRealDouble),PetscErrorCode,(Int64,Ptr{Ptr{UInt8}}),m,array) - return err -end - -function PetscBTLookupSet(arg0::Type{Float64},array::PetscBT,index::Integer) - err = ccall((:PetscBTLookupSet,petscRealDouble),UInt8,(Cstring,Int64),array,index) - return err -end - -function PetscBTSet(arg0::Type{Float64},array::PetscBT,index::Integer) - err = ccall((:PetscBTSet,petscRealDouble),PetscErrorCode,(Cstring,Int64),array,index) - return err -end - -function PetscBTNegate(arg0::Type{Float64},array::PetscBT,index::Integer) - err = ccall((:PetscBTNegate,petscRealDouble),PetscErrorCode,(Cstring,Int64),array,index) - return err -end - -function PetscBTLookupClear(arg0::Type{Float64},array::PetscBT,index::Integer) - err = ccall((:PetscBTLookupClear,petscRealDouble),UInt8,(Cstring,Int64),array,index) - return err -end - -function PetscBTClear(arg0::Type{Float64},array::PetscBT,index::Integer) - err = ccall((:PetscBTClear,petscRealDouble),PetscErrorCode,(Cstring,Int64),array,index) - return err -end - -#= skipping function with undefined symbols: - function PetscHash(arg0::Type{Float64},ta::PetscTable,x::Culong) - ccall((:PetscHash,petscRealDouble),Culong,(PetscTable,Culong),ta,x) -end -=# -#= skipping function with undefined symbols: - function PetscTableCreate(arg0::Type{Float64},arg1::Integer,arg2::Integer,arg3::Union{Ptr{PetscTable},StridedArray{PetscTable},Ptr{PetscTable},Ref{PetscTable}}) - ccall((:PetscTableCreate,petscRealDouble),PetscErrorCode,(Int64,Int64,Ptr{PetscTable}),arg1,arg2,arg3) -end -=# -#= skipping function with undefined symbols: - function PetscTableCreateCopy(arg0::Type{Float64},arg1::PetscTable,arg2::Union{Ptr{PetscTable},StridedArray{PetscTable},Ptr{PetscTable},Ref{PetscTable}}) - ccall((:PetscTableCreateCopy,petscRealDouble),PetscErrorCode,(PetscTable,Ptr{PetscTable}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function PetscTableDestroy(arg0::Type{Float64},arg1::Union{Ptr{PetscTable},StridedArray{PetscTable},Ptr{PetscTable},Ref{PetscTable}}) - ccall((:PetscTableDestroy,petscRealDouble),PetscErrorCode,(Ptr{PetscTable},),arg1) -end -=# -#= skipping function with undefined symbols: - function PetscTableGetCount(arg0::Type{Float64},arg1::PetscTable,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - ccall((:PetscTableGetCount,petscRealDouble),PetscErrorCode,(PetscTable,Ptr{Int64}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function PetscTableIsEmpty(arg0::Type{Float64},arg1::PetscTable,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - ccall((:PetscTableIsEmpty,petscRealDouble),PetscErrorCode,(PetscTable,Ptr{Int64}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function PetscTableAddExpand(arg0::Type{Float64},arg1::PetscTable,arg2::Integer,arg3::Integer,arg4::InsertMode) - ccall((:PetscTableAddExpand,petscRealDouble),PetscErrorCode,(PetscTable,Int64,Int64,InsertMode),arg1,arg2,arg3,arg4) -end -=# -#= skipping function with undefined symbols: - function PetscTableAddCountExpand(arg0::Type{Float64},arg1::PetscTable,arg2::Integer) - ccall((:PetscTableAddCountExpand,petscRealDouble),PetscErrorCode,(PetscTable,Int64),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function PetscTableGetHeadPosition(arg0::Type{Float64},arg1::PetscTable,arg2::Union{Ptr{PetscTablePosition},StridedArray{PetscTablePosition},Ptr{PetscTablePosition},Ref{PetscTablePosition}}) - ccall((:PetscTableGetHeadPosition,petscRealDouble),PetscErrorCode,(PetscTable,Ptr{PetscTablePosition}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function PetscTableGetNext(arg0::Type{Float64},arg1::PetscTable,arg2::Union{Ptr{PetscTablePosition},StridedArray{PetscTablePosition},Ptr{PetscTablePosition},Ref{PetscTablePosition}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - ccall((:PetscTableGetNext,petscRealDouble),PetscErrorCode,(PetscTable,Ptr{PetscTablePosition},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) -end -=# -#= skipping function with undefined symbols: - function PetscTableRemoveAll(arg0::Type{Float64},arg1::PetscTable) - ccall((:PetscTableRemoveAll,petscRealDouble),PetscErrorCode,(PetscTable,),arg1) -end -=# -#= skipping function with undefined symbols: - function PetscTableAdd(arg0::Type{Float64},ta::PetscTable,key::Integer,data::Integer,imode::InsertMode) - ccall((:PetscTableAdd,petscRealDouble),PetscErrorCode,(PetscTable,Int64,Int64,InsertMode),ta,key,data,imode) -end -=# -#= skipping function with undefined symbols: - function PetscTableAddCount(arg0::Type{Float64},ta::PetscTable,key::Integer) - ccall((:PetscTableAddCount,petscRealDouble),PetscErrorCode,(PetscTable,Int64),ta,key) -end -=# -#= skipping function with undefined symbols: - function PetscTableFind(arg0::Type{Float64},ta::PetscTable,key::Integer,data::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - ccall((:PetscTableFind,petscRealDouble),PetscErrorCode,(PetscTable,Int64,Ptr{Int64}),ta,key,data) -end -=# -function PetscMatlabEngineCreate(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscMatlabEngine},StridedArray{PetscMatlabEngine},Ptr{PetscMatlabEngine},Ref{PetscMatlabEngine}}) - err = ccall((:PetscMatlabEngineCreate,petscRealDouble),PetscErrorCode,(comm_type,Cstring,Ptr{PetscMatlabEngine}),arg1,arg2,arg3) - return err -end - -function PetscMatlabEngineDestroy(arg0::Type{Float64},arg1::Union{Ptr{PetscMatlabEngine},StridedArray{PetscMatlabEngine},Ptr{PetscMatlabEngine},Ref{PetscMatlabEngine}}) - err = ccall((:PetscMatlabEngineDestroy,petscRealDouble),PetscErrorCode,(Ptr{PetscMatlabEngine},),arg1) - return err -end - -function PetscMatlabEngineGetOutput(arg0::Type{Float64},arg1::PetscMatlabEngine,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscMatlabEngineGetOutput,petscRealDouble),PetscErrorCode,(PetscMatlabEngine,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function PetscMatlabEnginePrintOutput(arg0::Type{Float64},arg1::PetscMatlabEngine,arg2::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}}) - ccall((:PetscMatlabEnginePrintOutput,petscRealDouble),PetscErrorCode,(PetscMatlabEngine,Ptr{FILE}),arg1,arg2) -end -=# -function PetscMatlabEnginePut(arg0::Type{Float64},arg1::PetscMatlabEngine,arg2::PetscObject) - err = ccall((:PetscMatlabEnginePut,petscRealDouble),PetscErrorCode,(PetscMatlabEngine,PetscObject),arg1,arg2) - return err -end - -function PetscMatlabEngineGet(arg0::Type{Float64},arg1::PetscMatlabEngine,arg2::PetscObject) - err = ccall((:PetscMatlabEngineGet,petscRealDouble),PetscErrorCode,(PetscMatlabEngine,PetscObject),arg1,arg2) - return err -end - -function PetscMatlabEnginePutArray(arg0::Type{Float64},arg1::PetscMatlabEngine,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscMatlabEnginePutArray,petscRealDouble),PetscErrorCode,(PetscMatlabEngine,Cint,Cint,Ptr{Float64},Cstring),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscMatlabEngineGetArray(arg0::Type{Float64},arg1::PetscMatlabEngine,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscMatlabEngineGetArray,petscRealDouble),PetscErrorCode,(PetscMatlabEngine,Cint,Cint,Ptr{Float64},Cstring),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PETSC_MATLAB_ENGINE_(arg0::Type{Float64},arg1::MPI_Comm) - err = ccall((:PETSC_MATLAB_ENGINE_,petscRealDouble),PetscMatlabEngine,(comm_type,),arg1) - return err -end - -function PetscDrawInitializePackage(arg0::Type{Float64}) - err = ccall((:PetscDrawInitializePackage,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscDrawRegister(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscDrawRegister,petscRealDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function PetscDrawGetType(arg0::Type{Float64},arg1::PetscDraw,arg2::Union{Ptr{PetscDrawType},StridedArray{PetscDrawType},Ptr{PetscDrawType},Ref{PetscDrawType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:PetscDrawGetType,petscRealDouble),PetscErrorCode,(PetscDraw,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function PetscDrawSetType(arg0::Type{Float64},arg1::PetscDraw,arg2::PetscDrawType) - err = ccall((:PetscDrawSetType,petscRealDouble),PetscErrorCode,(PetscDraw,Cstring),arg1,arg2) - return err -end - -function PetscDrawCreate(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Union{Ptr{PetscDraw},StridedArray{PetscDraw},Ptr{PetscDraw},Ref{PetscDraw}}) - err = ccall((:PetscDrawCreate,petscRealDouble),PetscErrorCode,(comm_type,Cstring,Cstring,Cint,Cint,Cint,Cint,Ptr{PetscDraw}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function PetscDrawSetFromOptions(arg0::Type{Float64},arg1::PetscDraw) - err = ccall((:PetscDrawSetFromOptions,petscRealDouble),PetscErrorCode,(PetscDraw,),arg1) - return err -end - -function PetscDrawSetSave(arg0::Type{Float64},arg1::PetscDraw,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::PetscBool) - err = ccall((:PetscDrawSetSave,petscRealDouble),PetscErrorCode,(PetscDraw,Cstring,PetscBool),arg1,arg2,arg3) - return err -end - -function PetscDrawSetSaveFinalImage(arg0::Type{Float64},arg1::PetscDraw,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscDrawSetSaveFinalImage,petscRealDouble),PetscErrorCode,(PetscDraw,Cstring),arg1,arg2) - return err -end - -function PetscDrawView(arg1::PetscDraw,arg2::PetscViewer{Float64}) - err = ccall((:PetscDrawView,petscRealDouble),PetscErrorCode,(PetscDraw,PetscViewer{Float64}),arg1,arg2) - return err -end - -function PetscDrawViewFromOptions(arg0::Type{Float64},A::PetscDraw,obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscDrawViewFromOptions,petscRealDouble),PetscErrorCode,(PetscDraw,PetscObject,Cstring),A,obj,name) - return err -end - -function PetscDrawOpenX(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Union{Ptr{PetscDraw},StridedArray{PetscDraw},Ptr{PetscDraw},Ref{PetscDraw}}) - err = ccall((:PetscDrawOpenX,petscRealDouble),PetscErrorCode,(comm_type,Cstring,Cstring,Cint,Cint,Cint,Cint,Ptr{PetscDraw}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function PetscDrawOpenGLUT(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Union{Ptr{PetscDraw},StridedArray{PetscDraw},Ptr{PetscDraw},Ref{PetscDraw}}) - err = ccall((:PetscDrawOpenGLUT,petscRealDouble),PetscErrorCode,(comm_type,Cstring,Cstring,Cint,Cint,Cint,Cint,Ptr{PetscDraw}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function PetscDrawOpenNull(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{PetscDraw},StridedArray{PetscDraw},Ptr{PetscDraw},Ref{PetscDraw}}) - err = ccall((:PetscDrawOpenNull,petscRealDouble),PetscErrorCode,(comm_type,Ptr{PetscDraw}),arg1,arg2) - return err -end - -function PetscDrawDestroy(arg0::Type{Float64},arg1::Union{Ptr{PetscDraw},StridedArray{PetscDraw},Ptr{PetscDraw},Ref{PetscDraw}}) - err = ccall((:PetscDrawDestroy,petscRealDouble),PetscErrorCode,(Ptr{PetscDraw},),arg1) - return err -end - -function PetscDrawIsNull(arg0::Type{Float64},arg1::PetscDraw,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscDrawIsNull,petscRealDouble),PetscErrorCode,(PetscDraw,Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscDrawGetPopup(arg0::Type{Float64},arg1::PetscDraw,arg2::Union{Ptr{PetscDraw},StridedArray{PetscDraw},Ptr{PetscDraw},Ref{PetscDraw}}) - err = ccall((:PetscDrawGetPopup,petscRealDouble),PetscErrorCode,(PetscDraw,Ptr{PetscDraw}),arg1,arg2) - return err -end - -function PetscDrawCheckResizedWindow(arg0::Type{Float64},arg1::PetscDraw) - err = ccall((:PetscDrawCheckResizedWindow,petscRealDouble),PetscErrorCode,(PetscDraw,),arg1) - return err -end - -function PetscDrawResizeWindow(arg0::Type{Float64},arg1::PetscDraw,arg2::Integer,arg3::Integer) - err = ccall((:PetscDrawResizeWindow,petscRealDouble),PetscErrorCode,(PetscDraw,Cint,Cint),arg1,arg2,arg3) - return err -end - -function PetscDrawScalePopup(arg0::Type{Float64},arg1::PetscDraw,arg2::Float64,arg3::Float64) - err = ccall((:PetscDrawScalePopup,petscRealDouble),PetscErrorCode,(PetscDraw,Float64,Float64),arg1,arg2,arg3) - return err -end - -function PetscDrawPixelToCoordinate(arg0::Type{Float64},arg1::PetscDraw,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscDrawPixelToCoordinate,petscRealDouble),PetscErrorCode,(PetscDraw,Int64,Int64,Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDrawCoordinateToPixel(arg0::Type{Float64},arg1::PetscDraw,arg2::Float64,arg3::Float64,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscDrawCoordinateToPixel,petscRealDouble),PetscErrorCode,(PetscDraw,Float64,Float64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDrawIndicatorFunction(arg0::Type{Float64},arg1::PetscDraw,arg2::Float64,arg3::Float64,arg4::Float64,arg5::Float64,arg6::Integer,arg7::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg8::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscDrawIndicatorFunction,petscRealDouble),PetscErrorCode,(PetscDraw,Float64,Float64,Float64,Float64,Cint,Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function PetscDrawLine(arg0::Type{Float64},arg1::PetscDraw,arg2::Float64,arg3::Float64,arg4::Float64,arg5::Float64,arg6::Integer) - err = ccall((:PetscDrawLine,petscRealDouble),PetscErrorCode,(PetscDraw,Float64,Float64,Float64,Float64,Cint),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscDrawArrow(arg0::Type{Float64},arg1::PetscDraw,arg2::Float64,arg3::Float64,arg4::Float64,arg5::Float64,arg6::Integer) - err = ccall((:PetscDrawArrow,petscRealDouble),PetscErrorCode,(PetscDraw,Float64,Float64,Float64,Float64,Cint),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscDrawLineSetWidth(arg0::Type{Float64},arg1::PetscDraw,arg2::Float64) - err = ccall((:PetscDrawLineSetWidth,petscRealDouble),PetscErrorCode,(PetscDraw,Float64),arg1,arg2) - return err -end - -function PetscDrawLineGetWidth(arg0::Type{Float64},arg1::PetscDraw,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscDrawLineGetWidth,petscRealDouble),PetscErrorCode,(PetscDraw,Ptr{Float64}),arg1,arg2) - return err -end - -function PetscDrawMarker(arg0::Type{Float64},arg1::PetscDraw,arg2::Float64,arg3::Float64,arg4::Integer) - err = ccall((:PetscDrawMarker,petscRealDouble),PetscErrorCode,(PetscDraw,Float64,Float64,Cint),arg1,arg2,arg3,arg4) - return err -end - -function PetscDrawSetMarkerType(arg0::Type{Float64},arg1::PetscDraw,arg2::PetscDrawMarkerType) - err = ccall((:PetscDrawSetMarkerType,petscRealDouble),PetscErrorCode,(PetscDraw,PetscDrawMarkerType),arg1,arg2) - return err -end - -function PetscDrawGetMarkerType(arg0::Type{Float64},arg1::PetscDraw,arg2::Union{Ptr{PetscDrawMarkerType},StridedArray{PetscDrawMarkerType},Ptr{PetscDrawMarkerType},Ref{PetscDrawMarkerType}}) - err = ccall((:PetscDrawGetMarkerType,petscRealDouble),PetscErrorCode,(PetscDraw,Ptr{PetscDrawMarkerType}),arg1,arg2) - return err -end - -function PetscDrawPoint(arg0::Type{Float64},arg1::PetscDraw,arg2::Float64,arg3::Float64,arg4::Integer) - err = ccall((:PetscDrawPoint,petscRealDouble),PetscErrorCode,(PetscDraw,Float64,Float64,Cint),arg1,arg2,arg3,arg4) - return err -end - -function PetscDrawPointPixel(arg0::Type{Float64},arg1::PetscDraw,arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:PetscDrawPointPixel,petscRealDouble),PetscErrorCode,(PetscDraw,Int64,Int64,Cint),arg1,arg2,arg3,arg4) - return err -end - -function PetscDrawPointSetSize(arg0::Type{Float64},arg1::PetscDraw,arg2::Float64) - err = ccall((:PetscDrawPointSetSize,petscRealDouble),PetscErrorCode,(PetscDraw,Float64),arg1,arg2) - return err -end - -function PetscDrawRectangle(arg0::Type{Float64},arg1::PetscDraw,arg2::Float64,arg3::Float64,arg4::Float64,arg5::Float64,arg6::Integer,arg7::Integer,arg8::Integer,arg9::Integer) - err = ccall((:PetscDrawRectangle,petscRealDouble),PetscErrorCode,(PetscDraw,Float64,Float64,Float64,Float64,Cint,Cint,Cint,Cint),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) - return err -end - -function PetscDrawTriangle(arg0::Type{Float64},arg1::PetscDraw,arg2::Float64,arg3::Float64,arg4::Float64,arg5::Float64,arg6::Float64,arg7::Float64,arg8::Integer,arg9::Integer,arg10::Integer) - err = ccall((:PetscDrawTriangle,petscRealDouble),PetscErrorCode,(PetscDraw,Float64,Float64,Float64,Float64,Float64,Float64,Cint,Cint,Cint),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -function PetscDrawEllipse(arg0::Type{Float64},arg1::PetscDraw,arg2::Float64,arg3::Float64,arg4::Float64,arg5::Float64,arg6::Integer) - err = ccall((:PetscDrawEllipse,petscRealDouble),PetscErrorCode,(PetscDraw,Float64,Float64,Float64,Float64,Cint),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscDrawTensorContourPatch(arg0::Type{Float64},arg1::PetscDraw,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Float64,arg7::Float64,arg8::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscDrawTensorContourPatch,petscRealDouble),PetscErrorCode,(PetscDraw,Cint,Cint,Ptr{Float64},Ptr{Float64},Float64,Float64,Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function PetscDrawTensorContour(arg0::Type{Float64},arg1::PetscDraw,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscDrawTensorContour,petscRealDouble),PetscErrorCode,(PetscDraw,Cint,Cint,Ptr{Float64},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscDrawString(arg0::Type{Float64},arg1::PetscDraw,arg2::Float64,arg3::Float64,arg4::Integer,arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscDrawString,petscRealDouble),PetscErrorCode,(PetscDraw,Float64,Float64,Cint,Cstring),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDrawStringCentered(arg0::Type{Float64},arg1::PetscDraw,arg2::Float64,arg3::Float64,arg4::Integer,arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscDrawStringCentered,petscRealDouble),PetscErrorCode,(PetscDraw,Float64,Float64,Cint,Cstring),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDrawStringBoxed(arg0::Type{Float64},arg1::PetscDraw,arg2::Float64,arg3::Float64,arg4::Integer,arg5::Integer,arg6::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg7::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg8::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscDrawStringBoxed,petscRealDouble),PetscErrorCode,(PetscDraw,Float64,Float64,Cint,Cint,Cstring,Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function PetscDrawStringBoxedSize(arg0::Type{Float64},arg1::PetscDraw,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscDrawStringBoxedSize,petscRealDouble),PetscErrorCode,(PetscDraw,Cstring,Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function PetscDrawStringVertical(arg0::Type{Float64},arg1::PetscDraw,arg2::Float64,arg3::Float64,arg4::Integer,arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscDrawStringVertical,petscRealDouble),PetscErrorCode,(PetscDraw,Float64,Float64,Cint,Cstring),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDrawStringSetSize(arg0::Type{Float64},arg1::PetscDraw,arg2::Float64,arg3::Float64) - err = ccall((:PetscDrawStringSetSize,petscRealDouble),PetscErrorCode,(PetscDraw,Float64,Float64),arg1,arg2,arg3) - return err -end - -function PetscDrawStringGetSize(arg0::Type{Float64},arg1::PetscDraw,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscDrawStringGetSize,petscRealDouble),PetscErrorCode,(PetscDraw,Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function PetscDrawSetViewPort(arg0::Type{Float64},arg1::PetscDraw,arg2::Float64,arg3::Float64,arg4::Float64,arg5::Float64) - err = ccall((:PetscDrawSetViewPort,petscRealDouble),PetscErrorCode,(PetscDraw,Float64,Float64,Float64,Float64),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDrawGetViewPort(arg0::Type{Float64},arg1::PetscDraw,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscDrawGetViewPort,petscRealDouble),PetscErrorCode,(PetscDraw,Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDrawSplitViewPort(arg0::Type{Float64},arg1::PetscDraw) - err = ccall((:PetscDrawSplitViewPort,petscRealDouble),PetscErrorCode,(PetscDraw,),arg1) - return err -end - -function PetscDrawSetCoordinates(arg0::Type{Float64},arg1::PetscDraw,arg2::Float64,arg3::Float64,arg4::Float64,arg5::Float64) - err = ccall((:PetscDrawSetCoordinates,petscRealDouble),PetscErrorCode,(PetscDraw,Float64,Float64,Float64,Float64),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDrawGetCoordinates(arg0::Type{Float64},arg1::PetscDraw,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscDrawGetCoordinates,petscRealDouble),PetscErrorCode,(PetscDraw,Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDrawSetTitle(arg0::Type{Float64},arg1::PetscDraw,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscDrawSetTitle,petscRealDouble),PetscErrorCode,(PetscDraw,Cstring),arg1,arg2) - return err -end - -function PetscDrawAppendTitle(arg0::Type{Float64},arg1::PetscDraw,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscDrawAppendTitle,petscRealDouble),PetscErrorCode,(PetscDraw,Cstring),arg1,arg2) - return err -end - -function PetscDrawGetTitle(arg0::Type{Float64},arg1::PetscDraw,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscDrawGetTitle,petscRealDouble),PetscErrorCode,(PetscDraw,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscDrawSetPause(arg0::Type{Float64},arg1::PetscDraw,arg2::Float64) - err = ccall((:PetscDrawSetPause,petscRealDouble),PetscErrorCode,(PetscDraw,Float64),arg1,arg2) - return err -end - -function PetscDrawGetPause(arg0::Type{Float64},arg1::PetscDraw,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscDrawGetPause,petscRealDouble),PetscErrorCode,(PetscDraw,Ptr{Float64}),arg1,arg2) - return err -end - -function PetscDrawPause(arg0::Type{Float64},arg1::PetscDraw) - err = ccall((:PetscDrawPause,petscRealDouble),PetscErrorCode,(PetscDraw,),arg1) - return err -end - -function PetscDrawSetDoubleBuffer(arg0::Type{Float64},arg1::PetscDraw) - err = ccall((:PetscDrawSetDoubleBuffer,petscRealDouble),PetscErrorCode,(PetscDraw,),arg1) - return err -end - -function PetscDrawFlush(arg0::Type{Float64},arg1::PetscDraw) - err = ccall((:PetscDrawFlush,petscRealDouble),PetscErrorCode,(PetscDraw,),arg1) - return err -end - -function PetscDrawSynchronizedFlush(arg0::Type{Float64},arg1::PetscDraw) - err = ccall((:PetscDrawSynchronizedFlush,petscRealDouble),PetscErrorCode,(PetscDraw,),arg1) - return err -end - -function PetscDrawClear(arg0::Type{Float64},arg1::PetscDraw) - err = ccall((:PetscDrawClear,petscRealDouble),PetscErrorCode,(PetscDraw,),arg1) - return err -end - -function PetscDrawSave(arg0::Type{Float64},arg1::PetscDraw) - err = ccall((:PetscDrawSave,petscRealDouble),PetscErrorCode,(PetscDraw,),arg1) - return err -end - -function PetscDrawSynchronizedClear(arg0::Type{Float64},arg1::PetscDraw) - err = ccall((:PetscDrawSynchronizedClear,petscRealDouble),PetscErrorCode,(PetscDraw,),arg1) - return err -end - -function PetscDrawBOP(arg0::Type{Float64},arg1::PetscDraw) - err = ccall((:PetscDrawBOP,petscRealDouble),PetscErrorCode,(PetscDraw,),arg1) - return err -end - -function PetscDrawEOP(arg0::Type{Float64},arg1::PetscDraw) - err = ccall((:PetscDrawEOP,petscRealDouble),PetscErrorCode,(PetscDraw,),arg1) - return err -end - -function PetscDrawSetDisplay(arg0::Type{Float64},arg1::PetscDraw,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscDrawSetDisplay,petscRealDouble),PetscErrorCode,(PetscDraw,Cstring),arg1,arg2) - return err -end - -function PetscDrawGetSingleton(arg0::Type{Float64},arg1::PetscDraw,arg2::Union{Ptr{PetscDraw},StridedArray{PetscDraw},Ptr{PetscDraw},Ref{PetscDraw}}) - err = ccall((:PetscDrawGetSingleton,petscRealDouble),PetscErrorCode,(PetscDraw,Ptr{PetscDraw}),arg1,arg2) - return err -end - -function PetscDrawRestoreSingleton(arg0::Type{Float64},arg1::PetscDraw,arg2::Union{Ptr{PetscDraw},StridedArray{PetscDraw},Ptr{PetscDraw},Ref{PetscDraw}}) - err = ccall((:PetscDrawRestoreSingleton,petscRealDouble),PetscErrorCode,(PetscDraw,Ptr{PetscDraw}),arg1,arg2) - return err -end - -function PetscDrawGetCurrentPoint(arg0::Type{Float64},arg1::PetscDraw,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscDrawGetCurrentPoint,petscRealDouble),PetscErrorCode,(PetscDraw,Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function PetscDrawSetCurrentPoint(arg0::Type{Float64},arg1::PetscDraw,arg2::Float64,arg3::Float64) - err = ccall((:PetscDrawSetCurrentPoint,petscRealDouble),PetscErrorCode,(PetscDraw,Float64,Float64),arg1,arg2,arg3) - return err -end - -function PetscDrawPushCurrentPoint(arg0::Type{Float64},arg1::PetscDraw,arg2::Float64,arg3::Float64) - err = ccall((:PetscDrawPushCurrentPoint,petscRealDouble),PetscErrorCode,(PetscDraw,Float64,Float64),arg1,arg2,arg3) - return err -end - -function PetscDrawPopCurrentPoint(arg0::Type{Float64},arg1::PetscDraw) - err = ccall((:PetscDrawPopCurrentPoint,petscRealDouble),PetscErrorCode,(PetscDraw,),arg1) - return err -end - -function PetscDrawGetBoundingBox(arg0::Type{Float64},arg1::PetscDraw,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscDrawGetBoundingBox,petscRealDouble),PetscErrorCode,(PetscDraw,Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDrawGetMouseButton(arg0::Type{Float64},arg1::PetscDraw,arg2::Union{Ptr{PetscDrawButton},StridedArray{PetscDrawButton},Ptr{PetscDrawButton},Ref{PetscDrawButton}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscDrawGetMouseButton,petscRealDouble),PetscErrorCode,(PetscDraw,Ptr{PetscDrawButton},Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscDrawSynchronizedGetMouseButton(arg0::Type{Float64},arg1::PetscDraw,arg2::Union{Ptr{PetscDrawButton},StridedArray{PetscDrawButton},Ptr{PetscDrawButton},Ref{PetscDrawButton}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscDrawSynchronizedGetMouseButton,petscRealDouble),PetscErrorCode,(PetscDraw,Ptr{PetscDrawButton},Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscDrawZoom(arg0::Type{Float64},arg1::PetscDraw,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscDrawZoom,petscRealDouble),PetscErrorCode,(PetscDraw,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -#= skipping function with undefined symbols: - function PetscDrawViewPortsCreate(arg0::Type{Float64},arg1::PetscDraw,arg2::Integer,arg3::Union{Ptr{Ptr{PetscDrawViewPorts}},StridedArray{Ptr{PetscDrawViewPorts}},Ptr{Ptr{PetscDrawViewPorts}},Ref{Ptr{PetscDrawViewPorts}}}) - ccall((:PetscDrawViewPortsCreate,petscRealDouble),PetscErrorCode,(PetscDraw,Int64,Ptr{Ptr{PetscDrawViewPorts}}),arg1,arg2,arg3) -end -=# -#= skipping function with undefined symbols: - function PetscDrawViewPortsCreateRect(arg0::Type{Float64},arg1::PetscDraw,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Ptr{PetscDrawViewPorts}},StridedArray{Ptr{PetscDrawViewPorts}},Ptr{Ptr{PetscDrawViewPorts}},Ref{Ptr{PetscDrawViewPorts}}}) - ccall((:PetscDrawViewPortsCreateRect,petscRealDouble),PetscErrorCode,(PetscDraw,Int64,Int64,Ptr{Ptr{PetscDrawViewPorts}}),arg1,arg2,arg3,arg4) -end -=# -#= skipping function with undefined symbols: - function PetscDrawViewPortsDestroy(arg0::Type{Float64},arg1::Union{Ptr{PetscDrawViewPorts},StridedArray{PetscDrawViewPorts},Ptr{PetscDrawViewPorts},Ref{PetscDrawViewPorts}}) - ccall((:PetscDrawViewPortsDestroy,petscRealDouble),PetscErrorCode,(Ptr{PetscDrawViewPorts},),arg1) -end -=# -#= skipping function with undefined symbols: - function PetscDrawViewPortsSet(arg0::Type{Float64},arg1::Union{Ptr{PetscDrawViewPorts},StridedArray{PetscDrawViewPorts},Ptr{PetscDrawViewPorts},Ref{PetscDrawViewPorts}},arg2::Integer) - ccall((:PetscDrawViewPortsSet,petscRealDouble),PetscErrorCode,(Ptr{PetscDrawViewPorts},Int64),arg1,arg2) -end -=# -function PetscDrawAxisCreate(arg0::Type{Float64},arg1::PetscDraw,arg2::Union{Ptr{PetscDrawAxis},StridedArray{PetscDrawAxis},Ptr{PetscDrawAxis},Ref{PetscDrawAxis}}) - err = ccall((:PetscDrawAxisCreate,petscRealDouble),PetscErrorCode,(PetscDraw,Ptr{PetscDrawAxis}),arg1,arg2) - return err -end - -function PetscDrawAxisDestroy(arg0::Type{Float64},arg1::Union{Ptr{PetscDrawAxis},StridedArray{PetscDrawAxis},Ptr{PetscDrawAxis},Ref{PetscDrawAxis}}) - err = ccall((:PetscDrawAxisDestroy,petscRealDouble),PetscErrorCode,(Ptr{PetscDrawAxis},),arg1) - return err -end - -function PetscDrawAxisDraw(arg0::Type{Float64},arg1::PetscDrawAxis) - err = ccall((:PetscDrawAxisDraw,petscRealDouble),PetscErrorCode,(PetscDrawAxis,),arg1) - return err -end - -function PetscDrawAxisSetLimits(arg0::Type{Float64},arg1::PetscDrawAxis,arg2::Float64,arg3::Float64,arg4::Float64,arg5::Float64) - err = ccall((:PetscDrawAxisSetLimits,petscRealDouble),PetscErrorCode,(PetscDrawAxis,Float64,Float64,Float64,Float64),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDrawAxisGetLimits(arg0::Type{Float64},arg1::PetscDrawAxis,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscDrawAxisGetLimits,petscRealDouble),PetscErrorCode,(PetscDrawAxis,Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDrawAxisSetHoldLimits(arg0::Type{Float64},arg1::PetscDrawAxis,arg2::PetscBool) - err = ccall((:PetscDrawAxisSetHoldLimits,petscRealDouble),PetscErrorCode,(PetscDrawAxis,PetscBool),arg1,arg2) - return err -end - -function PetscDrawAxisSetColors(arg0::Type{Float64},arg1::PetscDrawAxis,arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:PetscDrawAxisSetColors,petscRealDouble),PetscErrorCode,(PetscDrawAxis,Cint,Cint,Cint),arg1,arg2,arg3,arg4) - return err -end - -function PetscDrawAxisSetLabels(arg0::Type{Float64},arg1::PetscDrawAxis,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscDrawAxisSetLabels,petscRealDouble),PetscErrorCode,(PetscDrawAxis,Cstring,Cstring,Cstring),arg1,arg2,arg3,arg4) - return err -end - -function PetscDrawLGCreate(arg0::Type{Float64},arg1::PetscDraw,arg2::Integer,arg3::Union{Ptr{PetscDrawLG},StridedArray{PetscDrawLG},Ptr{PetscDrawLG},Ref{PetscDrawLG}}) - err = ccall((:PetscDrawLGCreate,petscRealDouble),PetscErrorCode,(PetscDraw,Int64,Ptr{PetscDrawLG}),arg1,arg2,arg3) - return err -end - -function PetscDrawLGDestroy(arg0::Type{Float64},arg1::Union{Ptr{PetscDrawLG},StridedArray{PetscDrawLG},Ptr{PetscDrawLG},Ref{PetscDrawLG}}) - err = ccall((:PetscDrawLGDestroy,petscRealDouble),PetscErrorCode,(Ptr{PetscDrawLG},),arg1) - return err -end - -function PetscDrawLGAddPoint(arg0::Type{Float64},arg1::PetscDrawLG,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscDrawLGAddPoint,petscRealDouble),PetscErrorCode,(PetscDrawLG,Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function PetscDrawLGAddCommonPoint(arg0::Type{Float64},arg1::PetscDrawLG,arg2::Float64,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscDrawLGAddCommonPoint,petscRealDouble),PetscErrorCode,(PetscDrawLG,Float64,Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function PetscDrawLGAddPoints(arg0::Type{Float64},arg1::PetscDrawLG,arg2::Integer,arg3::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg4::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:PetscDrawLGAddPoints,petscRealDouble),PetscErrorCode,(PetscDrawLG,Int64,Ptr{Ptr{Float64}},Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscDrawLGDraw(arg0::Type{Float64},arg1::PetscDrawLG) - err = ccall((:PetscDrawLGDraw,petscRealDouble),PetscErrorCode,(PetscDrawLG,),arg1) - return err -end - -function PetscDrawLGView(arg1::PetscDrawLG,arg2::PetscViewer{Float64}) - err = ccall((:PetscDrawLGView,petscRealDouble),PetscErrorCode,(PetscDrawLG,PetscViewer{Float64}),arg1,arg2) - return err -end - -function PetscDrawLGReset(arg0::Type{Float64},arg1::PetscDrawLG) - err = ccall((:PetscDrawLGReset,petscRealDouble),PetscErrorCode,(PetscDrawLG,),arg1) - return err -end - -function PetscDrawLGSetDimension(arg0::Type{Float64},arg1::PetscDrawLG,arg2::Integer) - err = ccall((:PetscDrawLGSetDimension,petscRealDouble),PetscErrorCode,(PetscDrawLG,Int64),arg1,arg2) - return err -end - -function PetscDrawLGGetDimension(arg0::Type{Float64},arg1::PetscDrawLG,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscDrawLGGetDimension,petscRealDouble),PetscErrorCode,(PetscDrawLG,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscDrawLGSetLegend(arg0::Type{Float64},arg1::PetscDrawLG,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscDrawLGSetLegend,petscRealDouble),PetscErrorCode,(PetscDrawLG,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscDrawLGGetAxis(arg0::Type{Float64},arg1::PetscDrawLG,arg2::Union{Ptr{PetscDrawAxis},StridedArray{PetscDrawAxis},Ptr{PetscDrawAxis},Ref{PetscDrawAxis}}) - err = ccall((:PetscDrawLGGetAxis,petscRealDouble),PetscErrorCode,(PetscDrawLG,Ptr{PetscDrawAxis}),arg1,arg2) - return err -end - -function PetscDrawLGGetDraw(arg0::Type{Float64},arg1::PetscDrawLG,arg2::Union{Ptr{PetscDraw},StridedArray{PetscDraw},Ptr{PetscDraw},Ref{PetscDraw}}) - err = ccall((:PetscDrawLGGetDraw,petscRealDouble),PetscErrorCode,(PetscDrawLG,Ptr{PetscDraw}),arg1,arg2) - return err -end - -function PetscDrawLGSetUseMarkers(arg0::Type{Float64},arg1::PetscDrawLG,arg2::PetscBool) - err = ccall((:PetscDrawLGSetUseMarkers,petscRealDouble),PetscErrorCode,(PetscDrawLG,PetscBool),arg1,arg2) - return err -end - -function PetscDrawLGSetLimits(arg0::Type{Float64},arg1::PetscDrawLG,arg2::Float64,arg3::Float64,arg4::Float64,arg5::Float64) - err = ccall((:PetscDrawLGSetLimits,petscRealDouble),PetscErrorCode,(PetscDrawLG,Float64,Float64,Float64,Float64),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDrawLGSetColors(arg0::Type{Float64},arg1::PetscDrawLG,arg2::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}}) - err = ccall((:PetscDrawLGSetColors,petscRealDouble),PetscErrorCode,(PetscDrawLG,Ptr{Cint}),arg1,arg2) - return err -end - -function PetscDrawLGSetFromOptions(arg0::Type{Float64},arg1::PetscDrawLG) - err = ccall((:PetscDrawLGSetFromOptions,petscRealDouble),PetscErrorCode,(PetscDrawLG,),arg1) - return err -end - -function PetscDrawSPCreate(arg0::Type{Float64},arg1::PetscDraw,arg2::Integer,arg3::Union{Ptr{PetscDrawSP},StridedArray{PetscDrawSP},Ptr{PetscDrawSP},Ref{PetscDrawSP}}) - err = ccall((:PetscDrawSPCreate,petscRealDouble),PetscErrorCode,(PetscDraw,Cint,Ptr{PetscDrawSP}),arg1,arg2,arg3) - return err -end - -function PetscDrawSPDestroy(arg0::Type{Float64},arg1::Union{Ptr{PetscDrawSP},StridedArray{PetscDrawSP},Ptr{PetscDrawSP},Ref{PetscDrawSP}}) - err = ccall((:PetscDrawSPDestroy,petscRealDouble),PetscErrorCode,(Ptr{PetscDrawSP},),arg1) - return err -end - -function PetscDrawSPAddPoint(arg0::Type{Float64},arg1::PetscDrawSP,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscDrawSPAddPoint,petscRealDouble),PetscErrorCode,(PetscDrawSP,Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function PetscDrawSPAddPoints(arg0::Type{Float64},arg1::PetscDrawSP,arg2::Integer,arg3::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg4::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:PetscDrawSPAddPoints,petscRealDouble),PetscErrorCode,(PetscDrawSP,Cint,Ptr{Ptr{Float64}},Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscDrawSPDraw(arg0::Type{Float64},arg1::PetscDrawSP,arg2::PetscBool) - err = ccall((:PetscDrawSPDraw,petscRealDouble),PetscErrorCode,(PetscDrawSP,PetscBool),arg1,arg2) - return err -end - -function PetscDrawSPReset(arg0::Type{Float64},arg1::PetscDrawSP) - err = ccall((:PetscDrawSPReset,petscRealDouble),PetscErrorCode,(PetscDrawSP,),arg1) - return err -end - -function PetscDrawSPSetDimension(arg0::Type{Float64},arg1::PetscDrawSP,arg2::Integer) - err = ccall((:PetscDrawSPSetDimension,petscRealDouble),PetscErrorCode,(PetscDrawSP,Cint),arg1,arg2) - return err -end - -function PetscDrawSPGetAxis(arg0::Type{Float64},arg1::PetscDrawSP,arg2::Union{Ptr{PetscDrawAxis},StridedArray{PetscDrawAxis},Ptr{PetscDrawAxis},Ref{PetscDrawAxis}}) - err = ccall((:PetscDrawSPGetAxis,petscRealDouble),PetscErrorCode,(PetscDrawSP,Ptr{PetscDrawAxis}),arg1,arg2) - return err -end - -function PetscDrawSPGetDraw(arg0::Type{Float64},arg1::PetscDrawSP,arg2::Union{Ptr{PetscDraw},StridedArray{PetscDraw},Ptr{PetscDraw},Ref{PetscDraw}}) - err = ccall((:PetscDrawSPGetDraw,petscRealDouble),PetscErrorCode,(PetscDrawSP,Ptr{PetscDraw}),arg1,arg2) - return err -end - -function PetscDrawSPSetLimits(arg0::Type{Float64},arg1::PetscDrawSP,arg2::Float64,arg3::Float64,arg4::Float64,arg5::Float64) - err = ccall((:PetscDrawSPSetLimits,petscRealDouble),PetscErrorCode,(PetscDrawSP,Float64,Float64,Float64,Float64),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDrawLGSPDraw(arg0::Type{Float64},arg1::PetscDrawLG,arg2::PetscDrawSP) - err = ccall((:PetscDrawLGSPDraw,petscRealDouble),PetscErrorCode,(PetscDrawLG,PetscDrawSP),arg1,arg2) - return err -end - -function PetscDrawHGCreate(arg0::Type{Float64},arg1::PetscDraw,arg2::Integer,arg3::Union{Ptr{PetscDrawHG},StridedArray{PetscDrawHG},Ptr{PetscDrawHG},Ref{PetscDrawHG}}) - err = ccall((:PetscDrawHGCreate,petscRealDouble),PetscErrorCode,(PetscDraw,Cint,Ptr{PetscDrawHG}),arg1,arg2,arg3) - return err -end - -function PetscDrawHGDestroy(arg0::Type{Float64},arg1::Union{Ptr{PetscDrawHG},StridedArray{PetscDrawHG},Ptr{PetscDrawHG},Ref{PetscDrawHG}}) - err = ccall((:PetscDrawHGDestroy,petscRealDouble),PetscErrorCode,(Ptr{PetscDrawHG},),arg1) - return err -end - -function PetscDrawHGAddValue(arg0::Type{Float64},arg1::PetscDrawHG,arg2::Float64) - err = ccall((:PetscDrawHGAddValue,petscRealDouble),PetscErrorCode,(PetscDrawHG,Float64),arg1,arg2) - return err -end - -function PetscDrawHGDraw(arg0::Type{Float64},arg1::PetscDrawHG) - err = ccall((:PetscDrawHGDraw,petscRealDouble),PetscErrorCode,(PetscDrawHG,),arg1) - return err -end - -function PetscDrawHGView(arg1::PetscDrawHG,arg2::PetscViewer{Float64}) - err = ccall((:PetscDrawHGView,petscRealDouble),PetscErrorCode,(PetscDrawHG,PetscViewer{Float64}),arg1,arg2) - return err -end - -function PetscDrawHGReset(arg0::Type{Float64},arg1::PetscDrawHG) - err = ccall((:PetscDrawHGReset,petscRealDouble),PetscErrorCode,(PetscDrawHG,),arg1) - return err -end - -function PetscDrawHGGetAxis(arg0::Type{Float64},arg1::PetscDrawHG,arg2::Union{Ptr{PetscDrawAxis},StridedArray{PetscDrawAxis},Ptr{PetscDrawAxis},Ref{PetscDrawAxis}}) - err = ccall((:PetscDrawHGGetAxis,petscRealDouble),PetscErrorCode,(PetscDrawHG,Ptr{PetscDrawAxis}),arg1,arg2) - return err -end - -function PetscDrawHGGetDraw(arg0::Type{Float64},arg1::PetscDrawHG,arg2::Union{Ptr{PetscDraw},StridedArray{PetscDraw},Ptr{PetscDraw},Ref{PetscDraw}}) - err = ccall((:PetscDrawHGGetDraw,petscRealDouble),PetscErrorCode,(PetscDrawHG,Ptr{PetscDraw}),arg1,arg2) - return err -end - -function PetscDrawHGSetLimits(arg0::Type{Float64},arg1::PetscDrawHG,arg2::Float64,arg3::Float64,arg4::Integer,arg5::Integer) - err = ccall((:PetscDrawHGSetLimits,petscRealDouble),PetscErrorCode,(PetscDrawHG,Float64,Float64,Cint,Cint),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDrawHGSetNumberBins(arg0::Type{Float64},arg1::PetscDrawHG,arg2::Integer) - err = ccall((:PetscDrawHGSetNumberBins,petscRealDouble),PetscErrorCode,(PetscDrawHG,Cint),arg1,arg2) - return err -end - -function PetscDrawHGSetColor(arg0::Type{Float64},arg1::PetscDrawHG,arg2::Integer) - err = ccall((:PetscDrawHGSetColor,petscRealDouble),PetscErrorCode,(PetscDrawHG,Cint),arg1,arg2) - return err -end - -function PetscDrawHGCalcStats(arg0::Type{Float64},arg1::PetscDrawHG,arg2::PetscBool) - err = ccall((:PetscDrawHGCalcStats,petscRealDouble),PetscErrorCode,(PetscDrawHG,PetscBool),arg1,arg2) - return err -end - -function PetscDrawHGIntegerBins(arg0::Type{Float64},arg1::PetscDrawHG,arg2::PetscBool) - err = ccall((:PetscDrawHGIntegerBins,petscRealDouble),PetscErrorCode,(PetscDrawHG,PetscBool),arg1,arg2) - return err -end - -function PetscDrawBarCreate(arg0::Type{Float64},arg1::PetscDraw,arg2::Union{Ptr{PetscDrawBar},StridedArray{PetscDrawBar},Ptr{PetscDrawBar},Ref{PetscDrawBar}}) - err = ccall((:PetscDrawBarCreate,petscRealDouble),PetscErrorCode,(PetscDraw,Ptr{PetscDrawBar}),arg1,arg2) - return err -end - -function PetscDrawBarSetData(arg0::Type{Float64},arg1::PetscDrawBar,arg2::Integer,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscDrawBarSetData,petscRealDouble),PetscErrorCode,(PetscDrawBar,Int64,Ptr{Float64},Ptr{Ptr{UInt8}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscDrawBarDestroy(arg0::Type{Float64},arg1::Union{Ptr{PetscDrawBar},StridedArray{PetscDrawBar},Ptr{PetscDrawBar},Ref{PetscDrawBar}}) - err = ccall((:PetscDrawBarDestroy,petscRealDouble),PetscErrorCode,(Ptr{PetscDrawBar},),arg1) - return err -end - -function PetscDrawBarDraw(arg0::Type{Float64},arg1::PetscDrawBar) - err = ccall((:PetscDrawBarDraw,petscRealDouble),PetscErrorCode,(PetscDrawBar,),arg1) - return err -end - -function PetscDrawBarSetColor(arg0::Type{Float64},arg1::PetscDrawBar,arg2::Integer) - err = ccall((:PetscDrawBarSetColor,petscRealDouble),PetscErrorCode,(PetscDrawBar,Cint),arg1,arg2) - return err -end - -function PetscDrawBarSetLimits(arg0::Type{Float64},arg1::PetscDrawBar,arg2::Float64,arg3::Float64) - err = ccall((:PetscDrawBarSetLimits,petscRealDouble),PetscErrorCode,(PetscDrawBar,Float64,Float64),arg1,arg2,arg3) - return err -end - -function PetscDrawBarSort(arg0::Type{Float64},arg1::PetscDrawBar,arg2::PetscBool,arg3::Float64) - err = ccall((:PetscDrawBarSort,petscRealDouble),PetscErrorCode,(PetscDrawBar,PetscBool,Float64),arg1,arg2,arg3) - return err -end - -function PetscDrawBarSetFromOptions(arg0::Type{Float64},arg1::PetscDrawBar) - err = ccall((:PetscDrawBarSetFromOptions,petscRealDouble),PetscErrorCode,(PetscDrawBar,),arg1) - return err -end - -function PetscDrawBarGetAxis(arg0::Type{Float64},arg1::PetscDrawBar,arg2::Union{Ptr{PetscDrawAxis},StridedArray{PetscDrawAxis},Ptr{PetscDrawAxis},Ref{PetscDrawAxis}}) - err = ccall((:PetscDrawBarGetAxis,petscRealDouble),PetscErrorCode,(PetscDrawBar,Ptr{PetscDrawAxis}),arg1,arg2) - return err -end - -function PetscDrawBarGetDraw(arg0::Type{Float64},arg1::PetscDrawBar,arg2::Union{Ptr{PetscDraw},StridedArray{PetscDraw},Ptr{PetscDraw},Ref{PetscDraw}}) - err = ccall((:PetscDrawBarGetDraw,petscRealDouble),PetscErrorCode,(PetscDrawBar,Ptr{PetscDraw}),arg1,arg2) - return err -end - -function PetscViewerDrawGetDraw(arg1::PetscViewer{Float64},arg2::Integer,arg3::Union{Ptr{PetscDraw},StridedArray{PetscDraw},Ptr{PetscDraw},Ref{PetscDraw}}) - err = ccall((:PetscViewerDrawGetDraw,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Int64,Ptr{PetscDraw}),arg1,arg2,arg3) - return err -end - -function PetscViewerDrawBaseAdd(arg1::PetscViewer{Float64},arg2::Integer) - err = ccall((:PetscViewerDrawBaseAdd,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Int64),arg1,arg2) - return err -end - -function PetscViewerDrawBaseSet(arg1::PetscViewer{Float64},arg2::Integer) - err = ccall((:PetscViewerDrawBaseSet,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Int64),arg1,arg2) - return err -end - -function PetscViewerDrawGetDrawLG(arg1::PetscViewer{Float64},arg2::Integer,arg3::Union{Ptr{PetscDrawLG},StridedArray{PetscDrawLG},Ptr{PetscDrawLG},Ref{PetscDrawLG}}) - err = ccall((:PetscViewerDrawGetDrawLG,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Int64,Ptr{PetscDrawLG}),arg1,arg2,arg3) - return err -end - -function PetscViewerDrawGetDrawAxis(arg1::PetscViewer{Float64},arg2::Integer,arg3::Union{Ptr{PetscDrawAxis},StridedArray{PetscDrawAxis},Ptr{PetscDrawAxis},Ref{PetscDrawAxis}}) - err = ccall((:PetscViewerDrawGetDrawAxis,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Int64,Ptr{PetscDrawAxis}),arg1,arg2,arg3) - return err -end - -function PetscDrawUtilitySetCmapHue(arg0::Type{Float64},arg1::Union{Ptr{Cuchar},StridedArray{Cuchar},Ptr{Cuchar},Ref{Cuchar}},arg2::Union{Ptr{Cuchar},StridedArray{Cuchar},Ptr{Cuchar},Ref{Cuchar}},arg3::Union{Ptr{Cuchar},StridedArray{Cuchar},Ptr{Cuchar},Ref{Cuchar}},arg4::Integer) - err = ccall((:PetscDrawUtilitySetCmapHue,petscRealDouble),PetscErrorCode,(Ptr{Cuchar},Ptr{Cuchar},Ptr{Cuchar},Cint),arg1,arg2,arg3,arg4) - return err -end - -function PetscDrawUtilitySetGamma(arg0::Type{Float64},arg1::Float64) - err = ccall((:PetscDrawUtilitySetGamma,petscRealDouble),PetscErrorCode,(Float64,),arg1) - return err -end - -function ISInitializePackage(arg0::Type{Float64}) - err = ccall((:ISInitializePackage,petscRealDouble),PetscErrorCode,()) - return err -end - -function ISSetType(arg1::IS{Float64},arg2::ISType) - err = ccall((:ISSetType,petscRealDouble),PetscErrorCode,(IS{Float64},Cstring),arg1,arg2) - return err -end - -function ISGetType(arg1::IS{Float64},arg2::Union{Ptr{ISType},StridedArray{ISType},Ptr{ISType},Ref{ISType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:ISGetType,petscRealDouble),PetscErrorCode,(IS{Float64},Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function ISRegister(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:ISRegister,petscRealDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function ISCreate(arg1::MPI_Comm,arg2::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:ISCreate,petscRealDouble),PetscErrorCode,(comm_type,Ptr{IS{Float64}}),arg1,arg2) - return err -end - -function ISCreateGeneral(arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::PetscCopyMode,arg5::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:ISCreateGeneral,petscRealDouble),PetscErrorCode,(comm_type,Int64,Ptr{Int64},PetscCopyMode,Ptr{IS{Float64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function ISGeneralSetIndices(arg1::IS{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::PetscCopyMode) - err = ccall((:ISGeneralSetIndices,petscRealDouble),PetscErrorCode,(IS{Float64},Int64,Ptr{Int64},PetscCopyMode),arg1,arg2,arg3,arg4) - return err -end - -function ISCreateBlock(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::PetscCopyMode,arg6::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:ISCreateBlock,petscRealDouble),PetscErrorCode,(comm_type,Int64,Int64,Ptr{Int64},PetscCopyMode,Ptr{IS{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function ISBlockSetIndices(arg1::IS{Float64},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::PetscCopyMode) - err = ccall((:ISBlockSetIndices,petscRealDouble),PetscErrorCode,(IS{Float64},Int64,Int64,Ptr{Int64},PetscCopyMode),arg1,arg2,arg3,arg4,arg5) - return err -end - -function ISCreateStride(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:ISCreateStride,petscRealDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Ptr{IS{Float64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function ISStrideSetStride(arg1::IS{Float64},arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:ISStrideSetStride,petscRealDouble),PetscErrorCode,(IS{Float64},Int64,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function ISDestroy(arg1::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:ISDestroy,petscRealDouble),PetscErrorCode,(Ptr{IS{Float64}},),arg1) - return err -end - -function ISSetPermutation(arg1::IS{Float64}) - err = ccall((:ISSetPermutation,petscRealDouble),PetscErrorCode,(IS{Float64},),arg1) - return err -end - -function ISPermutation(arg1::IS{Float64},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:ISPermutation,petscRealDouble),PetscErrorCode,(IS{Float64},Ptr{PetscBool}),arg1,arg2) - return err -end - -function ISSetIdentity(arg1::IS{Float64}) - err = ccall((:ISSetIdentity,petscRealDouble),PetscErrorCode,(IS{Float64},),arg1) - return err -end - -function ISIdentity(arg1::IS{Float64},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:ISIdentity,petscRealDouble),PetscErrorCode,(IS{Float64},Ptr{PetscBool}),arg1,arg2) - return err -end - -function ISContiguousLocal(arg1::IS{Float64},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:ISContiguousLocal,petscRealDouble),PetscErrorCode,(IS{Float64},Int64,Int64,Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function ISGetIndices(arg1::IS{Float64},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:ISGetIndices,petscRealDouble),PetscErrorCode,(IS{Float64},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function ISRestoreIndices(arg1::IS{Float64},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:ISRestoreIndices,petscRealDouble),PetscErrorCode,(IS{Float64},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function ISGetTotalIndices(arg1::IS{Float64},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:ISGetTotalIndices,petscRealDouble),PetscErrorCode,(IS{Float64},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function ISRestoreTotalIndices(arg1::IS{Float64},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:ISRestoreTotalIndices,petscRealDouble),PetscErrorCode,(IS{Float64},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function ISGetNonlocalIndices(arg1::IS{Float64},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:ISGetNonlocalIndices,petscRealDouble),PetscErrorCode,(IS{Float64},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function ISRestoreNonlocalIndices(arg1::IS{Float64},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:ISRestoreNonlocalIndices,petscRealDouble),PetscErrorCode,(IS{Float64},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function ISGetNonlocalIS(arg1::IS{Float64},is::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:ISGetNonlocalIS,petscRealDouble),PetscErrorCode,(IS{Float64},Ptr{IS{Float64}}),arg1,is) - return err -end - -function ISRestoreNonlocalIS(arg1::IS{Float64},is::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:ISRestoreNonlocalIS,petscRealDouble),PetscErrorCode,(IS{Float64},Ptr{IS{Float64}}),arg1,is) - return err -end - -function ISGetSize(arg1::IS{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:ISGetSize,petscRealDouble),PetscErrorCode,(IS{Float64},Ptr{Int64}),arg1,arg2) - return err -end - -function ISGetLocalSize(arg1::IS{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:ISGetLocalSize,petscRealDouble),PetscErrorCode,(IS{Float64},Ptr{Int64}),arg1,arg2) - return err -end - -function ISInvertPermutation(arg1::IS{Float64},arg2::Integer,arg3::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:ISInvertPermutation,petscRealDouble),PetscErrorCode,(IS{Float64},Int64,Ptr{IS{Float64}}),arg1,arg2,arg3) - return err -end - -function ISView(arg1::IS{Float64},arg2::PetscViewer{Float64}) - err = ccall((:ISView,petscRealDouble),PetscErrorCode,(IS{Float64},PetscViewer{Float64}),arg1,arg2) - return err -end - -function ISViewFromOptions(A::IS{Float64},obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:ISViewFromOptions,petscRealDouble),PetscErrorCode,(IS{Float64},PetscObject,Cstring),A,obj,name) - return err -end - -function ISLoad(arg1::IS{Float64},arg2::PetscViewer{Float64}) - err = ccall((:ISLoad,petscRealDouble),PetscErrorCode,(IS{Float64},PetscViewer{Float64}),arg1,arg2) - return err -end - -function ISEqual(arg1::IS{Float64},arg2::IS{Float64},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:ISEqual,petscRealDouble),PetscErrorCode,(IS{Float64},IS{Float64},Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function ISSort(arg1::IS{Float64}) - err = ccall((:ISSort,petscRealDouble),PetscErrorCode,(IS{Float64},),arg1) - return err -end - -function ISSortRemoveDups(arg1::IS{Float64}) - err = ccall((:ISSortRemoveDups,petscRealDouble),PetscErrorCode,(IS{Float64},),arg1) - return err -end - -function ISSorted(arg1::IS{Float64},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:ISSorted,petscRealDouble),PetscErrorCode,(IS{Float64},Ptr{PetscBool}),arg1,arg2) - return err -end - -function ISDifference(arg1::IS{Float64},arg2::IS{Float64},arg3::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:ISDifference,petscRealDouble),PetscErrorCode,(IS{Float64},IS{Float64},Ptr{IS{Float64}}),arg1,arg2,arg3) - return err -end - -function ISSum(arg1::IS{Float64},arg2::IS{Float64},arg3::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:ISSum,petscRealDouble),PetscErrorCode,(IS{Float64},IS{Float64},Ptr{IS{Float64}}),arg1,arg2,arg3) - return err -end - -function ISExpand(arg1::IS{Float64},arg2::IS{Float64},arg3::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:ISExpand,petscRealDouble),PetscErrorCode,(IS{Float64},IS{Float64},Ptr{IS{Float64}}),arg1,arg2,arg3) - return err -end - -function ISGetMinMax(arg1::IS{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:ISGetMinMax,petscRealDouble),PetscErrorCode,(IS{Float64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function ISBlockGetIndices(arg1::IS{Float64},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:ISBlockGetIndices,petscRealDouble),PetscErrorCode,(IS{Float64},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function ISBlockRestoreIndices(arg1::IS{Float64},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:ISBlockRestoreIndices,petscRealDouble),PetscErrorCode,(IS{Float64},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function ISBlockGetLocalSize(arg1::IS{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:ISBlockGetLocalSize,petscRealDouble),PetscErrorCode,(IS{Float64},Ptr{Int64}),arg1,arg2) - return err -end - -function ISBlockGetSize(arg1::IS{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:ISBlockGetSize,petscRealDouble),PetscErrorCode,(IS{Float64},Ptr{Int64}),arg1,arg2) - return err -end - -function ISGetBlockSize(arg1::IS{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:ISGetBlockSize,petscRealDouble),PetscErrorCode,(IS{Float64},Ptr{Int64}),arg1,arg2) - return err -end - -function ISSetBlockSize(arg1::IS{Float64},arg2::Integer) - err = ccall((:ISSetBlockSize,petscRealDouble),PetscErrorCode,(IS{Float64},Int64),arg1,arg2) - return err -end - -function ISStrideGetInfo(arg1::IS{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:ISStrideGetInfo,petscRealDouble),PetscErrorCode,(IS{Float64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function ISToGeneral(arg1::IS{Float64}) - err = ccall((:ISToGeneral,petscRealDouble),PetscErrorCode,(IS{Float64},),arg1) - return err -end - -function ISDuplicate(arg1::IS{Float64},arg2::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:ISDuplicate,petscRealDouble),PetscErrorCode,(IS{Float64},Ptr{IS{Float64}}),arg1,arg2) - return err -end - -function ISCopy(arg1::IS{Float64},arg2::IS{Float64}) - err = ccall((:ISCopy,petscRealDouble),PetscErrorCode,(IS{Float64},IS{Float64}),arg1,arg2) - return err -end - -function ISAllGather(arg1::IS{Float64},arg2::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:ISAllGather,petscRealDouble),PetscErrorCode,(IS{Float64},Ptr{IS{Float64}}),arg1,arg2) - return err -end - -function ISComplement(arg1::IS{Float64},arg2::Integer,arg3::Integer,arg4::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:ISComplement,petscRealDouble),PetscErrorCode,(IS{Float64},Int64,Int64,Ptr{IS{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function ISConcatenate(arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}},arg4::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:ISConcatenate,petscRealDouble),PetscErrorCode,(comm_type,Int64,Ptr{IS{Float64}},Ptr{IS{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function ISListToPair(arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}},arg4::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}},arg5::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:ISListToPair,petscRealDouble),PetscErrorCode,(comm_type,Int64,Ptr{IS{Float64}},Ptr{IS{Float64}},Ptr{IS{Float64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function ISPairToList(arg1::IS{Float64},arg2::IS{Float64},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{IS{Float64}}},StridedArray{Ptr{IS{Float64}}},Ptr{Ptr{IS{Float64}}},Ref{Ptr{IS{Float64}}}}) - err = ccall((:ISPairToList,petscRealDouble),PetscErrorCode,(IS{Float64},IS{Float64},Ptr{Int64},Ptr{Ptr{IS{Float64}}}),arg1,arg2,arg3,arg4) - return err -end - -function ISEmbed(arg1::IS{Float64},arg2::IS{Float64},arg3::PetscBool,arg4::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:ISEmbed,petscRealDouble),PetscErrorCode,(IS{Float64},IS{Float64},PetscBool,Ptr{IS{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function ISSortPermutation(arg1::IS{Float64},arg2::PetscBool,arg3::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:ISSortPermutation,petscRealDouble),PetscErrorCode,(IS{Float64},PetscBool,Ptr{IS{Float64}}),arg1,arg2,arg3) - return err -end - -function ISOnComm(arg1::IS{Float64},arg2::MPI_Comm,arg3::PetscCopyMode,arg4::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:ISOnComm,petscRealDouble),PetscErrorCode,(IS{Float64},comm_type,PetscCopyMode,Ptr{IS{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function ISLocalToGlobalMappingCreate(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::PetscCopyMode,arg6::Union{Ptr{ISLocalToGlobalMapping{Float64}},StridedArray{ISLocalToGlobalMapping{Float64}},Ptr{ISLocalToGlobalMapping{Float64}},Ref{ISLocalToGlobalMapping{Float64}}}) - err = ccall((:ISLocalToGlobalMappingCreate,petscRealDouble),PetscErrorCode,(comm_type,Int64,Int64,Ptr{Int64},PetscCopyMode,Ptr{ISLocalToGlobalMapping{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function ISLocalToGlobalMappingCreateIS(arg1::IS{Float64},arg2::Union{Ptr{ISLocalToGlobalMapping{Float64}},StridedArray{ISLocalToGlobalMapping{Float64}},Ptr{ISLocalToGlobalMapping{Float64}},Ref{ISLocalToGlobalMapping{Float64}}}) - err = ccall((:ISLocalToGlobalMappingCreateIS,petscRealDouble),PetscErrorCode,(IS{Float64},Ptr{ISLocalToGlobalMapping{Float64}}),arg1,arg2) - return err -end - -function ISLocalToGlobalMappingCreateSF(arg1::PetscSF,arg2::Integer,arg3::Union{Ptr{ISLocalToGlobalMapping{Float64}},StridedArray{ISLocalToGlobalMapping{Float64}},Ptr{ISLocalToGlobalMapping{Float64}},Ref{ISLocalToGlobalMapping{Float64}}}) - err = ccall((:ISLocalToGlobalMappingCreateSF,petscRealDouble),PetscErrorCode,(PetscSF,Int64,Ptr{ISLocalToGlobalMapping{Float64}}),arg1,arg2,arg3) - return err -end - -function ISLocalToGlobalMappingView(arg1::ISLocalToGlobalMapping{Float64},arg2::PetscViewer{Float64}) - err = ccall((:ISLocalToGlobalMappingView,petscRealDouble),PetscErrorCode,(ISLocalToGlobalMapping{Float64},PetscViewer{Float64}),arg1,arg2) - return err -end - -function ISLocalToGlobalMappingDestroy(arg1::Union{Ptr{ISLocalToGlobalMapping{Float64}},StridedArray{ISLocalToGlobalMapping{Float64}},Ptr{ISLocalToGlobalMapping{Float64}},Ref{ISLocalToGlobalMapping{Float64}}}) - err = ccall((:ISLocalToGlobalMappingDestroy,petscRealDouble),PetscErrorCode,(Ptr{ISLocalToGlobalMapping{Float64}},),arg1) - return err -end - -function ISLocalToGlobalMappingApply(arg1::ISLocalToGlobalMapping{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:ISLocalToGlobalMappingApply,petscRealDouble),PetscErrorCode,(ISLocalToGlobalMapping{Float64},Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function ISLocalToGlobalMappingApplyBlock(arg1::ISLocalToGlobalMapping{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:ISLocalToGlobalMappingApplyBlock,petscRealDouble),PetscErrorCode,(ISLocalToGlobalMapping{Float64},Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function ISLocalToGlobalMappingApplyIS(arg1::ISLocalToGlobalMapping{Float64},arg2::IS{Float64},arg3::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:ISLocalToGlobalMappingApplyIS,petscRealDouble),PetscErrorCode,(ISLocalToGlobalMapping{Float64},IS{Float64},Ptr{IS{Float64}}),arg1,arg2,arg3) - return err -end - -function ISGlobalToLocalMappingApply(arg1::ISLocalToGlobalMapping{Float64},arg2::ISGlobalToLocalMappingType,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:ISGlobalToLocalMappingApply,petscRealDouble),PetscErrorCode,(ISLocalToGlobalMapping{Float64},ISGlobalToLocalMappingType,Int64,Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function ISGlobalToLocalMappingApplyBlock(arg1::ISLocalToGlobalMapping{Float64},arg2::ISGlobalToLocalMappingType,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:ISGlobalToLocalMappingApplyBlock,petscRealDouble),PetscErrorCode,(ISLocalToGlobalMapping{Float64},ISGlobalToLocalMappingType,Int64,Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function ISGlobalToLocalMappingApplyIS(arg1::ISLocalToGlobalMapping{Float64},arg2::ISGlobalToLocalMappingType,arg3::IS{Float64},arg4::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:ISGlobalToLocalMappingApplyIS,petscRealDouble),PetscErrorCode,(ISLocalToGlobalMapping{Float64},ISGlobalToLocalMappingType,IS{Float64},Ptr{IS{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function ISLocalToGlobalMappingGetSize(arg1::ISLocalToGlobalMapping{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:ISLocalToGlobalMappingGetSize,petscRealDouble),PetscErrorCode,(ISLocalToGlobalMapping{Float64},Ptr{Int64}),arg1,arg2) - return err -end - -function ISLocalToGlobalMappingGetInfo(arg1::ISLocalToGlobalMapping{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg5::Union{Ptr{Ptr{Ptr{Int64}}},StridedArray{Ptr{Ptr{Int64}}},Ptr{Ptr{Ptr{Int64}}},Ref{Ptr{Ptr{Int64}}}}) - err = ccall((:ISLocalToGlobalMappingGetInfo,petscRealDouble),PetscErrorCode,(ISLocalToGlobalMapping{Float64},Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}},Ptr{Ptr{Ptr{Int64}}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function ISLocalToGlobalMappingRestoreInfo(arg1::ISLocalToGlobalMapping{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg5::Union{Ptr{Ptr{Ptr{Int64}}},StridedArray{Ptr{Ptr{Int64}}},Ptr{Ptr{Ptr{Int64}}},Ref{Ptr{Ptr{Int64}}}}) - err = ccall((:ISLocalToGlobalMappingRestoreInfo,petscRealDouble),PetscErrorCode,(ISLocalToGlobalMapping{Float64},Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}},Ptr{Ptr{Ptr{Int64}}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function ISLocalToGlobalMappingGetBlockInfo(arg1::ISLocalToGlobalMapping{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg5::Union{Ptr{Ptr{Ptr{Int64}}},StridedArray{Ptr{Ptr{Int64}}},Ptr{Ptr{Ptr{Int64}}},Ref{Ptr{Ptr{Int64}}}}) - err = ccall((:ISLocalToGlobalMappingGetBlockInfo,petscRealDouble),PetscErrorCode,(ISLocalToGlobalMapping{Float64},Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}},Ptr{Ptr{Ptr{Int64}}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function ISLocalToGlobalMappingRestoreBlockInfo(arg1::ISLocalToGlobalMapping{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg5::Union{Ptr{Ptr{Ptr{Int64}}},StridedArray{Ptr{Ptr{Int64}}},Ptr{Ptr{Ptr{Int64}}},Ref{Ptr{Ptr{Int64}}}}) - err = ccall((:ISLocalToGlobalMappingRestoreBlockInfo,petscRealDouble),PetscErrorCode,(ISLocalToGlobalMapping{Float64},Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}},Ptr{Ptr{Ptr{Int64}}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function ISLocalToGlobalMappingGetIndices(arg1::ISLocalToGlobalMapping{Float64},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:ISLocalToGlobalMappingGetIndices,petscRealDouble),PetscErrorCode,(ISLocalToGlobalMapping{Float64},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function ISLocalToGlobalMappingRestoreIndices(arg1::ISLocalToGlobalMapping{Float64},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:ISLocalToGlobalMappingRestoreIndices,petscRealDouble),PetscErrorCode,(ISLocalToGlobalMapping{Float64},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function ISLocalToGlobalMappingGetBlockIndices(arg1::ISLocalToGlobalMapping{Float64},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:ISLocalToGlobalMappingGetBlockIndices,petscRealDouble),PetscErrorCode,(ISLocalToGlobalMapping{Float64},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function ISLocalToGlobalMappingRestoreBlockIndices(arg1::ISLocalToGlobalMapping{Float64},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:ISLocalToGlobalMappingRestoreBlockIndices,petscRealDouble),PetscErrorCode,(ISLocalToGlobalMapping{Float64},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function ISLocalToGlobalMappingConcatenate(arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{ISLocalToGlobalMapping{Float64}},StridedArray{ISLocalToGlobalMapping{Float64}},Ptr{ISLocalToGlobalMapping{Float64}},Ref{ISLocalToGlobalMapping{Float64}}},arg4::Union{Ptr{ISLocalToGlobalMapping{Float64}},StridedArray{ISLocalToGlobalMapping{Float64}},Ptr{ISLocalToGlobalMapping{Float64}},Ref{ISLocalToGlobalMapping{Float64}}}) - err = ccall((:ISLocalToGlobalMappingConcatenate,petscRealDouble),PetscErrorCode,(comm_type,Int64,Ptr{ISLocalToGlobalMapping{Float64}},Ptr{ISLocalToGlobalMapping{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function ISG2LMapApply(arg1::ISLocalToGlobalMapping{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:ISG2LMapApply,petscRealDouble),PetscErrorCode,(ISLocalToGlobalMapping{Float64},Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function ISLocalToGlobalMappingGetBlockSize(arg1::ISLocalToGlobalMapping{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:ISLocalToGlobalMappingGetBlockSize,petscRealDouble),PetscErrorCode,(ISLocalToGlobalMapping{Float64},Ptr{Int64}),arg1,arg2) - return err -end - -function ISAllGatherColors(arg0::Type{Float64},arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{ISColoringValue},StridedArray{ISColoringValue},Ptr{ISColoringValue},Ref{ISColoringValue}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Ptr{ISColoringValue}},StridedArray{Ptr{ISColoringValue}},Ptr{Ptr{ISColoringValue}},Ref{Ptr{ISColoringValue}}}) - err = ccall((:ISAllGatherColors,petscRealDouble),PetscErrorCode,(comm_type,Int64,Ptr{ISColoringValue},Ptr{Int64},Ptr{Ptr{ISColoringValue}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function ISColoringCreate(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Union{Ptr{ISColoringValue},StridedArray{ISColoringValue},Ptr{ISColoringValue},Ref{ISColoringValue}},arg5::PetscCopyMode,arg6::Union{Ptr{ISColoring{Float64}},StridedArray{ISColoring{Float64}},Ptr{ISColoring{Float64}},Ref{ISColoring{Float64}}}) - err = ccall((:ISColoringCreate,petscRealDouble),PetscErrorCode,(comm_type,Int64,Int64,Ptr{ISColoringValue},PetscCopyMode,Ptr{ISColoring{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function ISColoringDestroy(arg1::Union{Ptr{ISColoring{Float64}},StridedArray{ISColoring{Float64}},Ptr{ISColoring{Float64}},Ref{ISColoring{Float64}}}) - err = ccall((:ISColoringDestroy,petscRealDouble),PetscErrorCode,(Ptr{ISColoring{Float64}},),arg1) - return err -end - -function ISColoringView(arg1::ISColoring{Float64},arg2::PetscViewer{Float64}) - err = ccall((:ISColoringView,petscRealDouble),PetscErrorCode,(ISColoring{Float64},PetscViewer{Float64}),arg1,arg2) - return err -end - -function ISColoringViewFromOptions(arg1::ISColoring{Float64},arg2::PetscObject,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:ISColoringViewFromOptions,petscRealDouble),PetscErrorCode,(ISColoring{Float64},PetscObject,Cstring),arg1,arg2,arg3) - return err -end - -function ISColoringGetIS(arg1::ISColoring{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{IS{Float64}}},StridedArray{Ptr{IS{Float64}}},Ptr{Ptr{IS{Float64}}},Ref{Ptr{IS{Float64}}}}) - err = ccall((:ISColoringGetIS,petscRealDouble),PetscErrorCode,(ISColoring{Float64},Ptr{Int64},Ptr{Ptr{IS{Float64}}}),arg1,arg2,arg3) - return err -end - -function ISColoringRestoreIS(arg1::ISColoring{Float64},arg2::Union{Ptr{Ptr{IS{Float64}}},StridedArray{Ptr{IS{Float64}}},Ptr{Ptr{IS{Float64}}},Ref{Ptr{IS{Float64}}}}) - err = ccall((:ISColoringRestoreIS,petscRealDouble),PetscErrorCode,(ISColoring{Float64},Ptr{Ptr{IS{Float64}}}),arg1,arg2) - return err -end - -function ISColoringReference(arg1::ISColoring{Float64}) - err = ccall((:ISColoringReference,petscRealDouble),PetscErrorCode,(ISColoring{Float64},),arg1) - return err -end - -function ISColoringSetType(arg1::ISColoring{Float64},arg2::ISColoringType) - err = ccall((:ISColoringSetType,petscRealDouble),PetscErrorCode,(ISColoring{Float64},ISColoringType),arg1,arg2) - return err -end - -function ISPartitioningToNumbering(arg1::IS{Float64},arg2::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:ISPartitioningToNumbering,petscRealDouble),PetscErrorCode,(IS{Float64},Ptr{IS{Float64}}),arg1,arg2) - return err -end - -function ISPartitioningCount(arg1::IS{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:ISPartitioningCount,petscRealDouble),PetscErrorCode,(IS{Float64},Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function ISCompressIndicesGeneral(arg1::Integer,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}},arg6::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:ISCompressIndicesGeneral,petscRealDouble),PetscErrorCode,(Int64,Int64,Int64,Int64,Ptr{IS{Float64}},Ptr{IS{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function ISCompressIndicesSorted(arg1::Integer,arg2::Integer,arg3::Integer,arg4::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}},arg5::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:ISCompressIndicesSorted,petscRealDouble),PetscErrorCode,(Int64,Int64,Int64,Ptr{IS{Float64}},Ptr{IS{Float64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function ISExpandIndicesGeneral(arg1::Integer,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}},arg6::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:ISExpandIndicesGeneral,petscRealDouble),PetscErrorCode,(Int64,Int64,Int64,Int64,Ptr{IS{Float64}},Ptr{IS{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscLayoutFindOwner(map::PetscLayout{Float64},idx::Integer,owner::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscLayoutFindOwner,petscRealDouble),PetscErrorCode,(PetscLayout{Float64},Int64,Ptr{Int64}),map,idx,owner) - return err -end - -function PetscLayoutFindOwnerIndex(map::PetscLayout{Float64},idx::Integer,owner::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},lidx::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscLayoutFindOwnerIndex,petscRealDouble),PetscErrorCode,(PetscLayout{Float64},Int64,Ptr{Int64},Ptr{Int64}),map,idx,owner,lidx) - return err -end - -function PetscLayoutCreate(arg1::MPI_Comm,arg2::Union{Ptr{PetscLayout{Float64}},StridedArray{PetscLayout{Float64}},Ptr{PetscLayout{Float64}},Ref{PetscLayout{Float64}}}) - err = ccall((:PetscLayoutCreate,petscRealDouble),PetscErrorCode,(comm_type,Ptr{PetscLayout{Float64}}),arg1,arg2) - return err -end - -function PetscLayoutSetUp(arg1::PetscLayout{Float64}) - err = ccall((:PetscLayoutSetUp,petscRealDouble),PetscErrorCode,(PetscLayout{Float64},),arg1) - return err -end - -function PetscLayoutDestroy(arg1::Union{Ptr{PetscLayout{Float64}},StridedArray{PetscLayout{Float64}},Ptr{PetscLayout{Float64}},Ref{PetscLayout{Float64}}}) - err = ccall((:PetscLayoutDestroy,petscRealDouble),PetscErrorCode,(Ptr{PetscLayout{Float64}},),arg1) - return err -end - -function PetscLayoutDuplicate(arg1::PetscLayout{Float64},arg2::Union{Ptr{PetscLayout{Float64}},StridedArray{PetscLayout{Float64}},Ptr{PetscLayout{Float64}},Ref{PetscLayout{Float64}}}) - err = ccall((:PetscLayoutDuplicate,petscRealDouble),PetscErrorCode,(PetscLayout{Float64},Ptr{PetscLayout{Float64}}),arg1,arg2) - return err -end - -function PetscLayoutReference(arg1::PetscLayout{Float64},arg2::Union{Ptr{PetscLayout{Float64}},StridedArray{PetscLayout{Float64}},Ptr{PetscLayout{Float64}},Ref{PetscLayout{Float64}}}) - err = ccall((:PetscLayoutReference,petscRealDouble),PetscErrorCode,(PetscLayout{Float64},Ptr{PetscLayout{Float64}}),arg1,arg2) - return err -end - -function PetscLayoutSetLocalSize(arg1::PetscLayout{Float64},arg2::Integer) - err = ccall((:PetscLayoutSetLocalSize,petscRealDouble),PetscErrorCode,(PetscLayout{Float64},Int64),arg1,arg2) - return err -end - -function PetscLayoutGetLocalSize(arg1::PetscLayout{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscLayoutGetLocalSize,petscRealDouble),PetscErrorCode,(PetscLayout{Float64},Ptr{Int64}),arg1,arg2) - return err -end - -function PetscLayoutSetSize(arg1::PetscLayout{Float64},arg2::Integer) - err = ccall((:PetscLayoutSetSize,petscRealDouble),PetscErrorCode,(PetscLayout{Float64},Int64),arg1,arg2) - return err -end - -function PetscLayoutGetSize(arg1::PetscLayout{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscLayoutGetSize,petscRealDouble),PetscErrorCode,(PetscLayout{Float64},Ptr{Int64}),arg1,arg2) - return err -end - -function PetscLayoutSetBlockSize(arg1::PetscLayout{Float64},arg2::Integer) - err = ccall((:PetscLayoutSetBlockSize,petscRealDouble),PetscErrorCode,(PetscLayout{Float64},Int64),arg1,arg2) - return err -end - -function PetscLayoutGetBlockSize(arg1::PetscLayout{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscLayoutGetBlockSize,petscRealDouble),PetscErrorCode,(PetscLayout{Float64},Ptr{Int64}),arg1,arg2) - return err -end - -function PetscLayoutGetRange(arg1::PetscLayout{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscLayoutGetRange,petscRealDouble),PetscErrorCode,(PetscLayout{Float64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscLayoutGetRanges(arg1::PetscLayout{Float64},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PetscLayoutGetRanges,petscRealDouble),PetscErrorCode,(PetscLayout{Float64},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function PetscLayoutSetISLocalToGlobalMapping(arg1::PetscLayout{Float64},arg2::ISLocalToGlobalMapping{Float64}) - err = ccall((:PetscLayoutSetISLocalToGlobalMapping,petscRealDouble),PetscErrorCode,(PetscLayout{Float64},ISLocalToGlobalMapping{Float64}),arg1,arg2) - return err -end - -function PetscSFSetGraphLayout(arg1::PetscSF,arg2::PetscLayout{Float64},arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::PetscCopyMode,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSFSetGraphLayout,petscRealDouble),PetscErrorCode,(PetscSF,PetscLayout{Float64},Int64,Ptr{Int64},PetscCopyMode,Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscSectionCreate(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:PetscSectionCreate,petscRealDouble),PetscErrorCode,(comm_type,Ptr{PetscSection}),arg1,arg2) - return err -end - -function PetscSectionClone(arg0::Type{Float64},arg1::PetscSection,arg2::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:PetscSectionClone,petscRealDouble),PetscErrorCode,(PetscSection,Ptr{PetscSection}),arg1,arg2) - return err -end - -function PetscSectionCopy(arg0::Type{Float64},arg1::PetscSection,arg2::PetscSection) - err = ccall((:PetscSectionCopy,petscRealDouble),PetscErrorCode,(PetscSection,PetscSection),arg1,arg2) - return err -end - -function PetscSectionGetNumFields(arg0::Type{Float64},arg1::PetscSection,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSectionGetNumFields,petscRealDouble),PetscErrorCode,(PetscSection,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscSectionSetNumFields(arg0::Type{Float64},arg1::PetscSection,arg2::Integer) - err = ccall((:PetscSectionSetNumFields,petscRealDouble),PetscErrorCode,(PetscSection,Int64),arg1,arg2) - return err -end - -function PetscSectionGetFieldName(arg0::Type{Float64},arg1::PetscSection,arg2::Integer,arg3::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscSectionGetFieldName,petscRealDouble),PetscErrorCode,(PetscSection,Int64,Ptr{Ptr{UInt8}}),arg1,arg2,arg3) - return err -end - -function PetscSectionSetFieldName(arg0::Type{Float64},arg1::PetscSection,arg2::Integer,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscSectionSetFieldName,petscRealDouble),PetscErrorCode,(PetscSection,Int64,Cstring),arg1,arg2,arg3) - return err -end - -function PetscSectionGetFieldComponents(arg0::Type{Float64},arg1::PetscSection,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSectionGetFieldComponents,petscRealDouble),PetscErrorCode,(PetscSection,Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscSectionSetFieldComponents(arg0::Type{Float64},arg1::PetscSection,arg2::Integer,arg3::Integer) - err = ccall((:PetscSectionSetFieldComponents,petscRealDouble),PetscErrorCode,(PetscSection,Int64,Int64),arg1,arg2,arg3) - return err -end - -function PetscSectionGetChart(arg0::Type{Float64},arg1::PetscSection,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSectionGetChart,petscRealDouble),PetscErrorCode,(PetscSection,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscSectionSetChart(arg0::Type{Float64},arg1::PetscSection,arg2::Integer,arg3::Integer) - err = ccall((:PetscSectionSetChart,petscRealDouble),PetscErrorCode,(PetscSection,Int64,Int64),arg1,arg2,arg3) - return err -end - -function PetscSectionGetPermutation(arg1::PetscSection,arg2::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:PetscSectionGetPermutation,petscRealDouble),PetscErrorCode,(PetscSection,Ptr{IS{Float64}}),arg1,arg2) - return err -end - -function PetscSectionSetPermutation(arg1::PetscSection,arg2::IS{Float64}) - err = ccall((:PetscSectionSetPermutation,petscRealDouble),PetscErrorCode,(PetscSection,IS{Float64}),arg1,arg2) - return err -end - -function PetscSectionGetDof(arg0::Type{Float64},arg1::PetscSection,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSectionGetDof,petscRealDouble),PetscErrorCode,(PetscSection,Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscSectionSetDof(arg0::Type{Float64},arg1::PetscSection,arg2::Integer,arg3::Integer) - err = ccall((:PetscSectionSetDof,petscRealDouble),PetscErrorCode,(PetscSection,Int64,Int64),arg1,arg2,arg3) - return err -end - -function PetscSectionAddDof(arg0::Type{Float64},arg1::PetscSection,arg2::Integer,arg3::Integer) - err = ccall((:PetscSectionAddDof,petscRealDouble),PetscErrorCode,(PetscSection,Int64,Int64),arg1,arg2,arg3) - return err -end - -function PetscSectionGetFieldDof(arg0::Type{Float64},arg1::PetscSection,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSectionGetFieldDof,petscRealDouble),PetscErrorCode,(PetscSection,Int64,Int64,Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function PetscSectionSetFieldDof(arg0::Type{Float64},arg1::PetscSection,arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:PetscSectionSetFieldDof,petscRealDouble),PetscErrorCode,(PetscSection,Int64,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function PetscSectionAddFieldDof(arg0::Type{Float64},arg1::PetscSection,arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:PetscSectionAddFieldDof,petscRealDouble),PetscErrorCode,(PetscSection,Int64,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function PetscSectionHasConstraints(arg0::Type{Float64},arg1::PetscSection,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscSectionHasConstraints,petscRealDouble),PetscErrorCode,(PetscSection,Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscSectionGetConstraintDof(arg0::Type{Float64},arg1::PetscSection,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSectionGetConstraintDof,petscRealDouble),PetscErrorCode,(PetscSection,Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscSectionSetConstraintDof(arg0::Type{Float64},arg1::PetscSection,arg2::Integer,arg3::Integer) - err = ccall((:PetscSectionSetConstraintDof,petscRealDouble),PetscErrorCode,(PetscSection,Int64,Int64),arg1,arg2,arg3) - return err -end - -function PetscSectionAddConstraintDof(arg0::Type{Float64},arg1::PetscSection,arg2::Integer,arg3::Integer) - err = ccall((:PetscSectionAddConstraintDof,petscRealDouble),PetscErrorCode,(PetscSection,Int64,Int64),arg1,arg2,arg3) - return err -end - -function PetscSectionGetFieldConstraintDof(arg0::Type{Float64},arg1::PetscSection,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSectionGetFieldConstraintDof,petscRealDouble),PetscErrorCode,(PetscSection,Int64,Int64,Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function PetscSectionSetFieldConstraintDof(arg0::Type{Float64},arg1::PetscSection,arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:PetscSectionSetFieldConstraintDof,petscRealDouble),PetscErrorCode,(PetscSection,Int64,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function PetscSectionAddFieldConstraintDof(arg0::Type{Float64},arg1::PetscSection,arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:PetscSectionAddFieldConstraintDof,petscRealDouble),PetscErrorCode,(PetscSection,Int64,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function PetscSectionGetConstraintIndices(arg0::Type{Float64},arg1::PetscSection,arg2::Integer,arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PetscSectionGetConstraintIndices,petscRealDouble),PetscErrorCode,(PetscSection,Int64,Ptr{Ptr{Int64}}),arg1,arg2,arg3) - return err -end - -function PetscSectionSetConstraintIndices(arg0::Type{Float64},arg1::PetscSection,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSectionSetConstraintIndices,petscRealDouble),PetscErrorCode,(PetscSection,Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscSectionGetFieldConstraintIndices(arg0::Type{Float64},arg1::PetscSection,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PetscSectionGetFieldConstraintIndices,petscRealDouble),PetscErrorCode,(PetscSection,Int64,Int64,Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscSectionSetFieldConstraintIndices(arg0::Type{Float64},arg1::PetscSection,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSectionSetFieldConstraintIndices,petscRealDouble),PetscErrorCode,(PetscSection,Int64,Int64,Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function PetscSectionSetUpBC(arg0::Type{Float64},arg1::PetscSection) - err = ccall((:PetscSectionSetUpBC,petscRealDouble),PetscErrorCode,(PetscSection,),arg1) - return err -end - -function PetscSectionSetUp(arg0::Type{Float64},arg1::PetscSection) - err = ccall((:PetscSectionSetUp,petscRealDouble),PetscErrorCode,(PetscSection,),arg1) - return err -end - -function PetscSectionGetMaxDof(arg0::Type{Float64},arg1::PetscSection,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSectionGetMaxDof,petscRealDouble),PetscErrorCode,(PetscSection,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscSectionGetStorageSize(arg0::Type{Float64},arg1::PetscSection,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSectionGetStorageSize,petscRealDouble),PetscErrorCode,(PetscSection,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscSectionGetConstrainedStorageSize(arg0::Type{Float64},arg1::PetscSection,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSectionGetConstrainedStorageSize,petscRealDouble),PetscErrorCode,(PetscSection,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscSectionGetOffset(arg0::Type{Float64},arg1::PetscSection,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSectionGetOffset,petscRealDouble),PetscErrorCode,(PetscSection,Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscSectionSetOffset(arg0::Type{Float64},arg1::PetscSection,arg2::Integer,arg3::Integer) - err = ccall((:PetscSectionSetOffset,petscRealDouble),PetscErrorCode,(PetscSection,Int64,Int64),arg1,arg2,arg3) - return err -end - -function PetscSectionGetFieldOffset(arg0::Type{Float64},arg1::PetscSection,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSectionGetFieldOffset,petscRealDouble),PetscErrorCode,(PetscSection,Int64,Int64,Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function PetscSectionSetFieldOffset(arg0::Type{Float64},arg1::PetscSection,arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:PetscSectionSetFieldOffset,petscRealDouble),PetscErrorCode,(PetscSection,Int64,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function PetscSectionGetOffsetRange(arg0::Type{Float64},arg1::PetscSection,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSectionGetOffsetRange,petscRealDouble),PetscErrorCode,(PetscSection,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscSectionView(arg1::PetscSection,arg2::PetscViewer{Float64}) - err = ccall((:PetscSectionView,petscRealDouble),PetscErrorCode,(PetscSection,PetscViewer{Float64}),arg1,arg2) - return err -end - -function PetscSectionViewFromOptions(arg0::Type{Float64},A::PetscSection,obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscSectionViewFromOptions,petscRealDouble),PetscErrorCode,(PetscSection,PetscObject,Cstring),A,obj,name) - return err -end - -function PetscSectionReset(arg0::Type{Float64},arg1::PetscSection) - err = ccall((:PetscSectionReset,petscRealDouble),PetscErrorCode,(PetscSection,),arg1) - return err -end - -function PetscSectionDestroy(arg0::Type{Float64},arg1::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:PetscSectionDestroy,petscRealDouble),PetscErrorCode,(Ptr{PetscSection},),arg1) - return err -end - -function PetscSectionCreateGlobalSection(arg0::Type{Float64},arg1::PetscSection,arg2::PetscSF,arg3::PetscBool,arg4::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:PetscSectionCreateGlobalSection,petscRealDouble),PetscErrorCode,(PetscSection,PetscSF,PetscBool,Ptr{PetscSection}),arg1,arg2,arg3,arg4) - return err -end - -function PetscSectionCreateGlobalSectionCensored(arg0::Type{Float64},arg1::PetscSection,arg2::PetscSF,arg3::PetscBool,arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:PetscSectionCreateGlobalSectionCensored,petscRealDouble),PetscErrorCode,(PetscSection,PetscSF,PetscBool,Int64,Ptr{Int64},Ptr{PetscSection}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscSectionCreateSubsection(arg0::Type{Float64},arg1::PetscSection,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:PetscSectionCreateSubsection,petscRealDouble),PetscErrorCode,(PetscSection,Int64,Ptr{Int64},Ptr{PetscSection}),arg1,arg2,arg3,arg4) - return err -end - -function PetscSectionCreateSubmeshSection(arg1::PetscSection,arg2::IS{Float64},arg3::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:PetscSectionCreateSubmeshSection,petscRealDouble),PetscErrorCode,(PetscSection,IS{Float64},Ptr{PetscSection}),arg1,arg2,arg3) - return err -end - -function PetscSectionGetPointLayout(arg1::MPI_Comm,arg2::PetscSection,arg3::Union{Ptr{PetscLayout{Float64}},StridedArray{PetscLayout{Float64}},Ptr{PetscLayout{Float64}},Ref{PetscLayout{Float64}}}) - err = ccall((:PetscSectionGetPointLayout,petscRealDouble),PetscErrorCode,(comm_type,PetscSection,Ptr{PetscLayout{Float64}}),arg1,arg2,arg3) - return err -end - -function PetscSectionGetValueLayout(arg1::MPI_Comm,arg2::PetscSection,arg3::Union{Ptr{PetscLayout{Float64}},StridedArray{PetscLayout{Float64}},Ptr{PetscLayout{Float64}},Ref{PetscLayout{Float64}}}) - err = ccall((:PetscSectionGetValueLayout,petscRealDouble),PetscErrorCode,(comm_type,PetscSection,Ptr{PetscLayout{Float64}}),arg1,arg2,arg3) - return err -end - -function PetscSectionPermute(arg1::PetscSection,arg2::IS{Float64},arg3::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:PetscSectionPermute,petscRealDouble),PetscErrorCode,(PetscSection,IS{Float64},Ptr{PetscSection}),arg1,arg2,arg3) - return err -end - -function PetscSectionGetField(arg0::Type{Float64},arg1::PetscSection,arg2::Integer,arg3::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:PetscSectionGetField,petscRealDouble),PetscErrorCode,(PetscSection,Int64,Ptr{PetscSection}),arg1,arg2,arg3) - return err -end - -function PetscSectionSetClosureIndex(arg1::PetscSection,arg2::PetscObject,arg3::PetscSection,arg4::IS{Float64}) - err = ccall((:PetscSectionSetClosureIndex,petscRealDouble),PetscErrorCode,(PetscSection,PetscObject,PetscSection,IS{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function PetscSectionGetClosureIndex(arg1::PetscSection,arg2::PetscObject,arg3::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}},arg4::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:PetscSectionGetClosureIndex,petscRealDouble),PetscErrorCode,(PetscSection,PetscObject,Ptr{PetscSection},Ptr{IS{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscSFConvertPartition(arg1::PetscSF,arg2::PetscSection,arg3::IS{Float64},arg4::Union{Ptr{ISLocalToGlobalMapping{Float64}},StridedArray{ISLocalToGlobalMapping{Float64}},Ptr{ISLocalToGlobalMapping{Float64}},Ref{ISLocalToGlobalMapping{Float64}}},arg5::Union{Ptr{PetscSF},StridedArray{PetscSF},Ptr{PetscSF},Ref{PetscSF}}) - err = ccall((:PetscSFConvertPartition,petscRealDouble),PetscErrorCode,(PetscSF,PetscSection,IS{Float64},Ptr{ISLocalToGlobalMapping{Float64}},Ptr{PetscSF}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscSFCreateRemoteOffsets(arg0::Type{Float64},arg1::PetscSF,arg2::PetscSection,arg3::PetscSection,arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PetscSFCreateRemoteOffsets,petscRealDouble),PetscErrorCode,(PetscSF,PetscSection,PetscSection,Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscSFDistributeSection(arg0::Type{Float64},arg1::PetscSF,arg2::PetscSection,arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg4::PetscSection) - err = ccall((:PetscSFDistributeSection,petscRealDouble),PetscErrorCode,(PetscSF,PetscSection,Ptr{Ptr{Int64}},PetscSection),arg1,arg2,arg3,arg4) - return err -end - -function PetscSFCreateSectionSF(arg0::Type{Float64},arg1::PetscSF,arg2::PetscSection,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::PetscSection,arg5::Union{Ptr{PetscSF},StridedArray{PetscSF},Ptr{PetscSF},Ref{PetscSF}}) - err = ccall((:PetscSFCreateSectionSF,petscRealDouble),PetscErrorCode,(PetscSF,PetscSection,Ptr{Int64},PetscSection,Ptr{PetscSF}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function VecInitializePackage(arg0::Type{Float64}) - err = ccall((:VecInitializePackage,petscRealDouble),PetscErrorCode,()) - return err -end - -function VecFinalizePackage(arg0::Type{Float64}) - err = ccall((:VecFinalizePackage,petscRealDouble),PetscErrorCode,()) - return err -end - -function VecCreate(arg1::MPI_Comm,arg2::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:VecCreate,petscRealDouble),PetscErrorCode,(comm_type,Ptr{Vec{Float64}}),arg1,arg2) - return err -end - -function VecCreateSeq(arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:VecCreateSeq,petscRealDouble),PetscErrorCode,(comm_type,Int64,Ptr{Vec{Float64}}),arg1,arg2,arg3) - return err -end - -function VecCreateMPI(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:VecCreateMPI,petscRealDouble),PetscErrorCode,(comm_type,Int64,Int64,Ptr{Vec{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function VecCreateSeqWithArray(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:VecCreateSeqWithArray,petscRealDouble),PetscErrorCode,(comm_type,Int64,Int64,Ptr{Float64},Ptr{Vec{Float64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function VecCreateMPIWithArray(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:VecCreateMPIWithArray,petscRealDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Ptr{Float64},Ptr{Vec{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function VecCreateShared(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:VecCreateShared,petscRealDouble),PetscErrorCode,(comm_type,Int64,Int64,Ptr{Vec{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function VecSetFromOptions(arg1::Vec{Float64}) - err = ccall((:VecSetFromOptions,petscRealDouble),PetscErrorCode,(Vec{Float64},),arg1) - return err -end - -function VecViewFromOptions(A::Vec{Float64},B::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:VecViewFromOptions,petscRealDouble),PetscErrorCode,(Vec{Float64},PetscObject,Cstring),A,B,name) - return err -end - -function VecSetUp(arg1::Vec{Float64}) - err = ccall((:VecSetUp,petscRealDouble),PetscErrorCode,(Vec{Float64},),arg1) - return err -end - -function VecDestroy(arg1::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:VecDestroy,petscRealDouble),PetscErrorCode,(Ptr{Vec{Float64}},),arg1) - return err -end - -function VecZeroEntries(arg1::Vec{Float64}) - err = ccall((:VecZeroEntries,petscRealDouble),PetscErrorCode,(Vec{Float64},),arg1) - return err -end - -function VecSetOptionsPrefix(arg1::Vec{Float64},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:VecSetOptionsPrefix,petscRealDouble),PetscErrorCode,(Vec{Float64},Cstring),arg1,arg2) - return err -end - -function VecAppendOptionsPrefix(arg1::Vec{Float64},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:VecAppendOptionsPrefix,petscRealDouble),PetscErrorCode,(Vec{Float64},Cstring),arg1,arg2) - return err -end - -function VecGetOptionsPrefix(arg1::Vec{Float64},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:VecGetOptionsPrefix,petscRealDouble),PetscErrorCode,(Vec{Float64},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function VecSetSizes(arg1::Vec{Float64},arg2::Integer,arg3::Integer) - err = ccall((:VecSetSizes,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,Int64),arg1,arg2,arg3) - return err -end - -function VecDotNorm2(arg1::Vec{Float64},arg2::Vec{Float64},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecDotNorm2,petscRealDouble),PetscErrorCode,(Vec{Float64},Vec{Float64},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function VecDot(arg1::Vec{Float64},arg2::Vec{Float64},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecDot,petscRealDouble),PetscErrorCode,(Vec{Float64},Vec{Float64},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function VecDotRealPart(arg1::Vec{Float64},arg2::Vec{Float64},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecDotRealPart,petscRealDouble),PetscErrorCode,(Vec{Float64},Vec{Float64},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function VecTDot(arg1::Vec{Float64},arg2::Vec{Float64},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecTDot,petscRealDouble),PetscErrorCode,(Vec{Float64},Vec{Float64},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function VecMDot(arg1::Vec{Float64},arg2::Integer,arg3::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecMDot,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,Ptr{Vec{Float64}},Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function VecMTDot(arg1::Vec{Float64},arg2::Integer,arg3::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecMTDot,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,Ptr{Vec{Float64}},Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function VecGetSubVector(arg1::Vec{Float64},arg2::IS{Float64},arg3::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:VecGetSubVector,petscRealDouble),PetscErrorCode,(Vec{Float64},IS{Float64},Ptr{Vec{Float64}}),arg1,arg2,arg3) - return err -end - -function VecRestoreSubVector(arg1::Vec{Float64},arg2::IS{Float64},arg3::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:VecRestoreSubVector,petscRealDouble),PetscErrorCode,(Vec{Float64},IS{Float64},Ptr{Vec{Float64}}),arg1,arg2,arg3) - return err -end - -function VecNorm(arg1::Vec{Float64},arg2::NormType,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecNorm,petscRealDouble),PetscErrorCode,(Vec{Float64},NormType,Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function VecNormAvailable(arg1::Vec{Float64},arg2::NormType,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecNormAvailable,petscRealDouble),PetscErrorCode,(Vec{Float64},NormType,Ptr{PetscBool},Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function VecNormalize(arg1::Vec{Float64},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecNormalize,petscRealDouble),PetscErrorCode,(Vec{Float64},Ptr{Float64}),arg1,arg2) - return err -end - -function VecSum(arg1::Vec{Float64},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecSum,petscRealDouble),PetscErrorCode,(Vec{Float64},Ptr{Float64}),arg1,arg2) - return err -end - -function VecMax(arg1::Vec{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecMax,petscRealDouble),PetscErrorCode,(Vec{Float64},Ptr{Int64},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function VecMin(arg1::Vec{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecMin,petscRealDouble),PetscErrorCode,(Vec{Float64},Ptr{Int64},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function VecScale(arg1::Vec{Float64},arg2::Float64) - err = ccall((:VecScale,petscRealDouble),PetscErrorCode,(Vec{Float64},Float64),arg1,arg2) - return err -end - -function VecCopy(arg1::Vec{Float64},arg2::Vec{Float64}) - err = ccall((:VecCopy,petscRealDouble),PetscErrorCode,(Vec{Float64},Vec{Float64}),arg1,arg2) - return err -end - -function VecSetRandom(arg1::Vec{Float64},arg2::PetscRandom) - err = ccall((:VecSetRandom,petscRealDouble),PetscErrorCode,(Vec{Float64},PetscRandom),arg1,arg2) - return err -end - -function VecSet(arg1::Vec{Float64},arg2::Float64) - err = ccall((:VecSet,petscRealDouble),PetscErrorCode,(Vec{Float64},Float64),arg1,arg2) - return err -end - -function VecSetInf(arg1::Vec{Float64}) - err = ccall((:VecSetInf,petscRealDouble),PetscErrorCode,(Vec{Float64},),arg1) - return err -end - -function VecSwap(arg1::Vec{Float64},arg2::Vec{Float64}) - err = ccall((:VecSwap,petscRealDouble),PetscErrorCode,(Vec{Float64},Vec{Float64}),arg1,arg2) - return err -end - -function VecAXPY(arg1::Vec{Float64},arg2::Float64,arg3::Vec{Float64}) - err = ccall((:VecAXPY,petscRealDouble),PetscErrorCode,(Vec{Float64},Float64,Vec{Float64}),arg1,arg2,arg3) - return err -end - -function VecAXPBY(arg1::Vec{Float64},arg2::Float64,arg3::Float64,arg4::Vec{Float64}) - err = ccall((:VecAXPBY,petscRealDouble),PetscErrorCode,(Vec{Float64},Float64,Float64,Vec{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function VecMAXPY(arg1::Vec{Float64},arg2::Integer,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:VecMAXPY,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,Ptr{Float64},Ptr{Vec{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function VecAYPX(arg1::Vec{Float64},arg2::Float64,arg3::Vec{Float64}) - err = ccall((:VecAYPX,petscRealDouble),PetscErrorCode,(Vec{Float64},Float64,Vec{Float64}),arg1,arg2,arg3) - return err -end - -function VecWAXPY(arg1::Vec{Float64},arg2::Float64,arg3::Vec{Float64},arg4::Vec{Float64}) - err = ccall((:VecWAXPY,petscRealDouble),PetscErrorCode,(Vec{Float64},Float64,Vec{Float64},Vec{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function VecAXPBYPCZ(arg1::Vec{Float64},arg2::Float64,arg3::Float64,arg4::Float64,arg5::Vec{Float64},arg6::Vec{Float64}) - err = ccall((:VecAXPBYPCZ,petscRealDouble),PetscErrorCode,(Vec{Float64},Float64,Float64,Float64,Vec{Float64},Vec{Float64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function VecPointwiseMax(arg1::Vec{Float64},arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:VecPointwiseMax,petscRealDouble),PetscErrorCode,(Vec{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function VecPointwiseMaxAbs(arg1::Vec{Float64},arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:VecPointwiseMaxAbs,petscRealDouble),PetscErrorCode,(Vec{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function VecPointwiseMin(arg1::Vec{Float64},arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:VecPointwiseMin,petscRealDouble),PetscErrorCode,(Vec{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function VecPointwiseMult(arg1::Vec{Float64},arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:VecPointwiseMult,petscRealDouble),PetscErrorCode,(Vec{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function VecPointwiseDivide(arg1::Vec{Float64},arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:VecPointwiseDivide,petscRealDouble),PetscErrorCode,(Vec{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function VecMaxPointwiseDivide(arg1::Vec{Float64},arg2::Vec{Float64},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecMaxPointwiseDivide,petscRealDouble),PetscErrorCode,(Vec{Float64},Vec{Float64},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function VecShift(arg1::Vec{Float64},arg2::Float64) - err = ccall((:VecShift,petscRealDouble),PetscErrorCode,(Vec{Float64},Float64),arg1,arg2) - return err -end - -function VecReciprocal(arg1::Vec{Float64}) - err = ccall((:VecReciprocal,petscRealDouble),PetscErrorCode,(Vec{Float64},),arg1) - return err -end - -function VecPermute(arg1::Vec{Float64},arg2::IS{Float64},arg3::PetscBool) - err = ccall((:VecPermute,petscRealDouble),PetscErrorCode,(Vec{Float64},IS{Float64},PetscBool),arg1,arg2,arg3) - return err -end - -function VecSqrtAbs(arg1::Vec{Float64}) - err = ccall((:VecSqrtAbs,petscRealDouble),PetscErrorCode,(Vec{Float64},),arg1) - return err -end - -function VecLog(arg1::Vec{Float64}) - err = ccall((:VecLog,petscRealDouble),PetscErrorCode,(Vec{Float64},),arg1) - return err -end - -function VecExp(arg1::Vec{Float64}) - err = ccall((:VecExp,petscRealDouble),PetscErrorCode,(Vec{Float64},),arg1) - return err -end - -function VecAbs(arg1::Vec{Float64}) - err = ccall((:VecAbs,petscRealDouble),PetscErrorCode,(Vec{Float64},),arg1) - return err -end - -function VecDuplicate(arg1::Vec{Float64},arg2::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:VecDuplicate,petscRealDouble),PetscErrorCode,(Vec{Float64},Ptr{Vec{Float64}}),arg1,arg2) - return err -end - -function VecDuplicateVecs(arg1::Vec{Float64},arg2::Integer,arg3::Union{Ptr{Ptr{Vec{Float64}}},StridedArray{Ptr{Vec{Float64}}},Ptr{Ptr{Vec{Float64}}},Ref{Ptr{Vec{Float64}}}}) - err = ccall((:VecDuplicateVecs,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,Ptr{Ptr{Vec{Float64}}}),arg1,arg2,arg3) - return err -end - -function VecDestroyVecs(arg1::Integer,arg2::Union{Ptr{Ptr{Vec{Float64}}},StridedArray{Ptr{Vec{Float64}}},Ptr{Ptr{Vec{Float64}}},Ref{Ptr{Vec{Float64}}}}) - err = ccall((:VecDestroyVecs,petscRealDouble),PetscErrorCode,(Int64,Ptr{Ptr{Vec{Float64}}}),arg1,arg2) - return err -end - -function VecStrideNormAll(arg1::Vec{Float64},arg2::NormType,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecStrideNormAll,petscRealDouble),PetscErrorCode,(Vec{Float64},NormType,Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function VecStrideMaxAll(arg1::Vec{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecStrideMaxAll,petscRealDouble),PetscErrorCode,(Vec{Float64},Ptr{Int64},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function VecStrideMinAll(arg1::Vec{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecStrideMinAll,petscRealDouble),PetscErrorCode,(Vec{Float64},Ptr{Int64},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function VecStrideScaleAll(arg1::Vec{Float64},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecStrideScaleAll,petscRealDouble),PetscErrorCode,(Vec{Float64},Ptr{Float64}),arg1,arg2) - return err -end - -function VecUniqueEntries(arg1::Vec{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:VecUniqueEntries,petscRealDouble),PetscErrorCode,(Vec{Float64},Ptr{Int64},Ptr{Ptr{Float64}}),arg1,arg2,arg3) - return err -end - -function VecStrideNorm(arg1::Vec{Float64},arg2::Integer,arg3::NormType,arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecStrideNorm,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,NormType,Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function VecStrideMax(arg1::Vec{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecStrideMax,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,Ptr{Int64},Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function VecStrideMin(arg1::Vec{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecStrideMin,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,Ptr{Int64},Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function VecStrideScale(arg1::Vec{Float64},arg2::Integer,arg3::Float64) - err = ccall((:VecStrideScale,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,Float64),arg1,arg2,arg3) - return err -end - -function VecStrideSet(arg1::Vec{Float64},arg2::Integer,arg3::Float64) - err = ccall((:VecStrideSet,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,Float64),arg1,arg2,arg3) - return err -end - -function VecStrideGather(arg1::Vec{Float64},arg2::Integer,arg3::Vec{Float64},arg4::InsertMode) - err = ccall((:VecStrideGather,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,Vec{Float64},InsertMode),arg1,arg2,arg3,arg4) - return err -end - -function VecStrideScatter(arg1::Vec{Float64},arg2::Integer,arg3::Vec{Float64},arg4::InsertMode) - err = ccall((:VecStrideScatter,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,Vec{Float64},InsertMode),arg1,arg2,arg3,arg4) - return err -end - -function VecStrideGatherAll(arg1::Vec{Float64},arg2::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}},arg3::InsertMode) - err = ccall((:VecStrideGatherAll,petscRealDouble),PetscErrorCode,(Vec{Float64},Ptr{Vec{Float64}},InsertMode),arg1,arg2,arg3) - return err -end - -function VecStrideScatterAll(arg1::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}},arg2::Vec{Float64},arg3::InsertMode) - err = ccall((:VecStrideScatterAll,petscRealDouble),PetscErrorCode,(Ptr{Vec{Float64}},Vec{Float64},InsertMode),arg1,arg2,arg3) - return err -end - -function VecStrideSubSetScatter(arg1::Vec{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Vec{Float64},arg6::InsertMode) - err = ccall((:VecStrideSubSetScatter,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,Ptr{Int64},Ptr{Int64},Vec{Float64},InsertMode),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function VecStrideSubSetGather(arg1::Vec{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Vec{Float64},arg6::InsertMode) - err = ccall((:VecStrideSubSetGather,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,Ptr{Int64},Ptr{Int64},Vec{Float64},InsertMode),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function VecSetValues(arg1::Vec{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::InsertMode) - err = ccall((:VecSetValues,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,Ptr{Int64},Ptr{Float64},InsertMode),arg1,arg2,arg3,arg4,arg5) - return err -end - -function VecGetValues(arg1::Vec{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecGetValues,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,Ptr{Int64},Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function VecAssemblyBegin(arg1::Vec{Float64}) - err = ccall((:VecAssemblyBegin,petscRealDouble),PetscErrorCode,(Vec{Float64},),arg1) - return err -end - -function VecAssemblyEnd(arg1::Vec{Float64}) - err = ccall((:VecAssemblyEnd,petscRealDouble),PetscErrorCode,(Vec{Float64},),arg1) - return err -end - -function VecStashSetInitialSize(arg1::Vec{Float64},arg2::Integer,arg3::Integer) - err = ccall((:VecStashSetInitialSize,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,Int64),arg1,arg2,arg3) - return err -end - -function VecStashView(arg1::Vec{Float64},arg2::PetscViewer{Float64}) - err = ccall((:VecStashView,petscRealDouble),PetscErrorCode,(Vec{Float64},PetscViewer{Float64}),arg1,arg2) - return err -end - -function VecStashViewFromOptions(arg1::Vec{Float64},arg2::PetscObject,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:VecStashViewFromOptions,petscRealDouble),PetscErrorCode,(Vec{Float64},PetscObject,Cstring),arg1,arg2,arg3) - return err -end - -function VecStashGetInfo(arg1::Vec{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:VecStashGetInfo,petscRealDouble),PetscErrorCode,(Vec{Float64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function VecSetValue(v::Vec{Float64},i::Integer,va::Float64,mode::InsertMode) - err = ccall((:VecSetValue,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,Float64,InsertMode),v,i,va,mode) - return err -end - -function VecSetBlockSize(arg1::Vec{Float64},arg2::Integer) - err = ccall((:VecSetBlockSize,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64),arg1,arg2) - return err -end - -function VecGetBlockSize(arg1::Vec{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:VecGetBlockSize,petscRealDouble),PetscErrorCode,(Vec{Float64},Ptr{Int64}),arg1,arg2) - return err -end - -function VecSetValuesBlocked(arg1::Vec{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::InsertMode) - err = ccall((:VecSetValuesBlocked,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,Ptr{Int64},Ptr{Float64},InsertMode),arg1,arg2,arg3,arg4,arg5) - return err -end - -function VecSetType(arg1::Vec{Float64},arg2::VecType) - err = ccall((:VecSetType,petscRealDouble),PetscErrorCode,(Vec{Float64},Cstring),arg1,arg2) - return err -end - -function VecGetType(arg1::Vec{Float64},arg2::Union{Ptr{VecType},StridedArray{VecType},Ptr{VecType},Ref{VecType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:VecGetType,petscRealDouble),PetscErrorCode,(Vec{Float64},Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function VecRegister(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:VecRegister,petscRealDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function VecScatterCreate(arg1::Vec{Float64},arg2::IS{Float64},arg3::Vec{Float64},arg4::IS{Float64},arg5::Union{Ptr{VecScatter{Float64}},StridedArray{VecScatter{Float64}},Ptr{VecScatter{Float64}},Ref{VecScatter{Float64}}}) - err = ccall((:VecScatterCreate,petscRealDouble),PetscErrorCode,(Vec{Float64},IS{Float64},Vec{Float64},IS{Float64},Ptr{VecScatter{Float64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function VecScatterCreateEmpty(arg1::MPI_Comm,arg2::Union{Ptr{VecScatter{Float64}},StridedArray{VecScatter{Float64}},Ptr{VecScatter{Float64}},Ref{VecScatter{Float64}}}) - err = ccall((:VecScatterCreateEmpty,petscRealDouble),PetscErrorCode,(comm_type,Ptr{VecScatter{Float64}}),arg1,arg2) - return err -end - -function VecScatterCreateLocal(arg1::VecScatter{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Integer,arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg9::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg10::Integer) - err = ccall((:VecScatterCreateLocal,petscRealDouble),PetscErrorCode,(VecScatter{Float64},Int64,Ptr{Int64},Ptr{Int64},Ptr{Int64},Int64,Ptr{Int64},Ptr{Int64},Ptr{Int64},Int64),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -function VecScatterBegin(arg1::VecScatter{Float64},arg2::Vec{Float64},arg3::Vec{Float64},arg4::InsertMode,arg5::ScatterMode) - err = ccall((:VecScatterBegin,petscRealDouble),PetscErrorCode,(VecScatter{Float64},Vec{Float64},Vec{Float64},InsertMode,ScatterMode),arg1,arg2,arg3,arg4,arg5) - return err -end - -function VecScatterEnd(arg1::VecScatter{Float64},arg2::Vec{Float64},arg3::Vec{Float64},arg4::InsertMode,arg5::ScatterMode) - err = ccall((:VecScatterEnd,petscRealDouble),PetscErrorCode,(VecScatter{Float64},Vec{Float64},Vec{Float64},InsertMode,ScatterMode),arg1,arg2,arg3,arg4,arg5) - return err -end - -function VecScatterDestroy(arg1::Union{Ptr{VecScatter{Float64}},StridedArray{VecScatter{Float64}},Ptr{VecScatter{Float64}},Ref{VecScatter{Float64}}}) - err = ccall((:VecScatterDestroy,petscRealDouble),PetscErrorCode,(Ptr{VecScatter{Float64}},),arg1) - return err -end - -function VecScatterCopy(arg1::VecScatter{Float64},arg2::Union{Ptr{VecScatter{Float64}},StridedArray{VecScatter{Float64}},Ptr{VecScatter{Float64}},Ref{VecScatter{Float64}}}) - err = ccall((:VecScatterCopy,petscRealDouble),PetscErrorCode,(VecScatter{Float64},Ptr{VecScatter{Float64}}),arg1,arg2) - return err -end - -function VecScatterView(arg1::VecScatter{Float64},arg2::PetscViewer{Float64}) - err = ccall((:VecScatterView,petscRealDouble),PetscErrorCode,(VecScatter{Float64},PetscViewer{Float64}),arg1,arg2) - return err -end - -function VecScatterViewFromOptions(A::VecScatter{Float64},obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:VecScatterViewFromOptions,petscRealDouble),PetscErrorCode,(VecScatter{Float64},PetscObject,Cstring),A,obj,name) - return err -end - -function VecScatterRemap(arg1::VecScatter{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:VecScatterRemap,petscRealDouble),PetscErrorCode,(VecScatter{Float64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function VecScatterGetMerged(arg1::VecScatter{Float64},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:VecScatterGetMerged,petscRealDouble),PetscErrorCode,(VecScatter{Float64},Ptr{PetscBool}),arg1,arg2) - return err -end - -function VecGetArray4d(arg1::Vec{Float64},arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Integer,arg9::Integer,arg10::Union{Ptr{Ptr{Ptr{Ptr{Ptr{Float64}}}}},StridedArray{Ptr{Ptr{Ptr{Ptr{Float64}}}}},Ptr{Ptr{Ptr{Ptr{Ptr{Float64}}}}},Ref{Ptr{Ptr{Ptr{Ptr{Float64}}}}}}) - err = ccall((:VecGetArray4d,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,Int64,Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Ptr{Ptr{Ptr{Ptr{Float64}}}}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -function VecRestoreArray4d(arg1::Vec{Float64},arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Integer,arg9::Integer,arg10::Union{Ptr{Ptr{Ptr{Ptr{Ptr{Float64}}}}},StridedArray{Ptr{Ptr{Ptr{Ptr{Float64}}}}},Ptr{Ptr{Ptr{Ptr{Ptr{Float64}}}}},Ref{Ptr{Ptr{Ptr{Ptr{Float64}}}}}}) - err = ccall((:VecRestoreArray4d,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,Int64,Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Ptr{Ptr{Ptr{Ptr{Float64}}}}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -function VecGetArray3d(arg1::Vec{Float64},arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Union{Ptr{Ptr{Ptr{Ptr{Float64}}}},StridedArray{Ptr{Ptr{Ptr{Float64}}}},Ptr{Ptr{Ptr{Ptr{Float64}}}},Ref{Ptr{Ptr{Ptr{Float64}}}}}) - err = ccall((:VecGetArray3d,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Ptr{Ptr{Ptr{Float64}}}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function VecRestoreArray3d(arg1::Vec{Float64},arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Union{Ptr{Ptr{Ptr{Ptr{Float64}}}},StridedArray{Ptr{Ptr{Ptr{Float64}}}},Ptr{Ptr{Ptr{Ptr{Float64}}}},Ref{Ptr{Ptr{Ptr{Float64}}}}}) - err = ccall((:VecRestoreArray3d,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Ptr{Ptr{Ptr{Float64}}}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function VecGetArray2d(arg1::Vec{Float64},arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Ptr{Ptr{Float64}}},StridedArray{Ptr{Ptr{Float64}}},Ptr{Ptr{Ptr{Float64}}},Ref{Ptr{Ptr{Float64}}}}) - err = ccall((:VecGetArray2d,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,Int64,Int64,Int64,Ptr{Ptr{Ptr{Float64}}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function VecRestoreArray2d(arg1::Vec{Float64},arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Ptr{Ptr{Float64}}},StridedArray{Ptr{Ptr{Float64}}},Ptr{Ptr{Ptr{Float64}}},Ref{Ptr{Ptr{Float64}}}}) - err = ccall((:VecRestoreArray2d,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,Int64,Int64,Int64,Ptr{Ptr{Ptr{Float64}}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function VecGetArray1d(arg1::Vec{Float64},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:VecGetArray1d,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,Int64,Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function VecRestoreArray1d(arg1::Vec{Float64},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:VecRestoreArray1d,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,Int64,Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function VecGetArray4dRead(arg1::Vec{Float64},arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Integer,arg9::Integer,arg10::Union{Ptr{Ptr{Ptr{Ptr{Ptr{Float64}}}}},StridedArray{Ptr{Ptr{Ptr{Ptr{Float64}}}}},Ptr{Ptr{Ptr{Ptr{Ptr{Float64}}}}},Ref{Ptr{Ptr{Ptr{Ptr{Float64}}}}}}) - err = ccall((:VecGetArray4dRead,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,Int64,Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Ptr{Ptr{Ptr{Ptr{Float64}}}}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -function VecRestoreArray4dRead(arg1::Vec{Float64},arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Integer,arg9::Integer,arg10::Union{Ptr{Ptr{Ptr{Ptr{Ptr{Float64}}}}},StridedArray{Ptr{Ptr{Ptr{Ptr{Float64}}}}},Ptr{Ptr{Ptr{Ptr{Ptr{Float64}}}}},Ref{Ptr{Ptr{Ptr{Ptr{Float64}}}}}}) - err = ccall((:VecRestoreArray4dRead,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,Int64,Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Ptr{Ptr{Ptr{Ptr{Float64}}}}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -function VecGetArray3dRead(arg1::Vec{Float64},arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Union{Ptr{Ptr{Ptr{Ptr{Float64}}}},StridedArray{Ptr{Ptr{Ptr{Float64}}}},Ptr{Ptr{Ptr{Ptr{Float64}}}},Ref{Ptr{Ptr{Ptr{Float64}}}}}) - err = ccall((:VecGetArray3dRead,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Ptr{Ptr{Ptr{Float64}}}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function VecRestoreArray3dRead(arg1::Vec{Float64},arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Union{Ptr{Ptr{Ptr{Ptr{Float64}}}},StridedArray{Ptr{Ptr{Ptr{Float64}}}},Ptr{Ptr{Ptr{Ptr{Float64}}}},Ref{Ptr{Ptr{Ptr{Float64}}}}}) - err = ccall((:VecRestoreArray3dRead,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Ptr{Ptr{Ptr{Float64}}}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function VecGetArray2dRead(arg1::Vec{Float64},arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Ptr{Ptr{Float64}}},StridedArray{Ptr{Ptr{Float64}}},Ptr{Ptr{Ptr{Float64}}},Ref{Ptr{Ptr{Float64}}}}) - err = ccall((:VecGetArray2dRead,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,Int64,Int64,Int64,Ptr{Ptr{Ptr{Float64}}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function VecRestoreArray2dRead(arg1::Vec{Float64},arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Ptr{Ptr{Float64}}},StridedArray{Ptr{Ptr{Float64}}},Ptr{Ptr{Ptr{Float64}}},Ref{Ptr{Ptr{Float64}}}}) - err = ccall((:VecRestoreArray2dRead,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,Int64,Int64,Int64,Ptr{Ptr{Ptr{Float64}}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function VecGetArray1dRead(arg1::Vec{Float64},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:VecGetArray1dRead,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,Int64,Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function VecRestoreArray1dRead(arg1::Vec{Float64},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:VecRestoreArray1dRead,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,Int64,Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function VecPlaceArray(arg1::Vec{Float64},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecPlaceArray,petscRealDouble),PetscErrorCode,(Vec{Float64},Ptr{Float64}),arg1,arg2) - return err -end - -function VecResetArray(arg1::Vec{Float64}) - err = ccall((:VecResetArray,petscRealDouble),PetscErrorCode,(Vec{Float64},),arg1) - return err -end - -function VecReplaceArray(arg1::Vec{Float64},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecReplaceArray,petscRealDouble),PetscErrorCode,(Vec{Float64},Ptr{Float64}),arg1,arg2) - return err -end - -function VecGetArrays(arg1::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}},arg2::Integer,arg3::Union{Ptr{Ptr{Ptr{Float64}}},StridedArray{Ptr{Ptr{Float64}}},Ptr{Ptr{Ptr{Float64}}},Ref{Ptr{Ptr{Float64}}}}) - err = ccall((:VecGetArrays,petscRealDouble),PetscErrorCode,(Ptr{Vec{Float64}},Int64,Ptr{Ptr{Ptr{Float64}}}),arg1,arg2,arg3) - return err -end - -function VecRestoreArrays(arg1::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}},arg2::Integer,arg3::Union{Ptr{Ptr{Ptr{Float64}}},StridedArray{Ptr{Ptr{Float64}}},Ptr{Ptr{Ptr{Float64}}},Ref{Ptr{Ptr{Float64}}}}) - err = ccall((:VecRestoreArrays,petscRealDouble),PetscErrorCode,(Ptr{Vec{Float64}},Int64,Ptr{Ptr{Ptr{Float64}}}),arg1,arg2,arg3) - return err -end - -function VecView(arg1::Vec{Float64},arg2::PetscViewer{Float64}) - err = ccall((:VecView,petscRealDouble),PetscErrorCode,(Vec{Float64},PetscViewer{Float64}),arg1,arg2) - return err -end - -function VecEqual(arg1::Vec{Float64},arg2::Vec{Float64},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:VecEqual,petscRealDouble),PetscErrorCode,(Vec{Float64},Vec{Float64},Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function VecLoad(arg1::Vec{Float64},arg2::PetscViewer{Float64}) - err = ccall((:VecLoad,petscRealDouble),PetscErrorCode,(Vec{Float64},PetscViewer{Float64}),arg1,arg2) - return err -end - -function VecGetSize(arg1::Vec{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:VecGetSize,petscRealDouble),PetscErrorCode,(Vec{Float64},Ptr{Int64}),arg1,arg2) - return err -end - -function VecGetLocalSize(arg1::Vec{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:VecGetLocalSize,petscRealDouble),PetscErrorCode,(Vec{Float64},Ptr{Int64}),arg1,arg2) - return err -end - -function VecGetOwnershipRange(arg1::Vec{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:VecGetOwnershipRange,petscRealDouble),PetscErrorCode,(Vec{Float64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function VecGetOwnershipRanges(arg1::Vec{Float64},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:VecGetOwnershipRanges,petscRealDouble),PetscErrorCode,(Vec{Float64},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function VecSetLocalToGlobalMapping(arg1::Vec{Float64},arg2::ISLocalToGlobalMapping{Float64}) - err = ccall((:VecSetLocalToGlobalMapping,petscRealDouble),PetscErrorCode,(Vec{Float64},ISLocalToGlobalMapping{Float64}),arg1,arg2) - return err -end - -function VecSetValuesLocal(arg1::Vec{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::InsertMode) - err = ccall((:VecSetValuesLocal,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,Ptr{Int64},Ptr{Float64},InsertMode),arg1,arg2,arg3,arg4,arg5) - return err -end - -function VecSetValueLocal(v::Vec{Float64},i::Integer,va::Float64,mode::InsertMode) - err = ccall((:VecSetValueLocal,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,Float64,InsertMode),v,i,va,mode) - return err -end - -function VecSetValuesBlockedLocal(arg1::Vec{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::InsertMode) - err = ccall((:VecSetValuesBlockedLocal,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,Ptr{Int64},Ptr{Float64},InsertMode),arg1,arg2,arg3,arg4,arg5) - return err -end - -function VecGetLocalToGlobalMapping(arg1::Vec{Float64},arg2::Union{Ptr{ISLocalToGlobalMapping{Float64}},StridedArray{ISLocalToGlobalMapping{Float64}},Ptr{ISLocalToGlobalMapping{Float64}},Ref{ISLocalToGlobalMapping{Float64}}}) - err = ccall((:VecGetLocalToGlobalMapping,petscRealDouble),PetscErrorCode,(Vec{Float64},Ptr{ISLocalToGlobalMapping{Float64}}),arg1,arg2) - return err -end - -function VecDotBegin(arg1::Vec{Float64},arg2::Vec{Float64},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecDotBegin,petscRealDouble),PetscErrorCode,(Vec{Float64},Vec{Float64},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function VecDotEnd(arg1::Vec{Float64},arg2::Vec{Float64},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecDotEnd,petscRealDouble),PetscErrorCode,(Vec{Float64},Vec{Float64},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function VecTDotBegin(arg1::Vec{Float64},arg2::Vec{Float64},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecTDotBegin,petscRealDouble),PetscErrorCode,(Vec{Float64},Vec{Float64},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function VecTDotEnd(arg1::Vec{Float64},arg2::Vec{Float64},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecTDotEnd,petscRealDouble),PetscErrorCode,(Vec{Float64},Vec{Float64},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function VecNormBegin(arg1::Vec{Float64},arg2::NormType,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecNormBegin,petscRealDouble),PetscErrorCode,(Vec{Float64},NormType,Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function VecNormEnd(arg1::Vec{Float64},arg2::NormType,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecNormEnd,petscRealDouble),PetscErrorCode,(Vec{Float64},NormType,Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function VecMDotBegin(arg1::Vec{Float64},arg2::Integer,arg3::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecMDotBegin,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,Ptr{Vec{Float64}},Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function VecMDotEnd(arg1::Vec{Float64},arg2::Integer,arg3::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecMDotEnd,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,Ptr{Vec{Float64}},Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function VecMTDotBegin(arg1::Vec{Float64},arg2::Integer,arg3::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecMTDotBegin,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,Ptr{Vec{Float64}},Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function VecMTDotEnd(arg1::Vec{Float64},arg2::Integer,arg3::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecMTDotEnd,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,Ptr{Vec{Float64}},Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function PetscCommSplitReductionBegin(arg0::Type{Float64},arg1::MPI_Comm) - err = ccall((:PetscCommSplitReductionBegin,petscRealDouble),PetscErrorCode,(comm_type,),arg1) - return err -end - -function VecSetOption(arg1::Vec{Float64},arg2::VecOption,arg3::PetscBool) - err = ccall((:VecSetOption,petscRealDouble),PetscErrorCode,(Vec{Float64},VecOption,PetscBool),arg1,arg2,arg3) - return err -end - -function VecGetArray(arg1::Vec{Float64},arg2::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:VecGetArray,petscRealDouble),PetscErrorCode,(Vec{Float64},Ptr{Ptr{Float64}}),arg1,arg2) - return err -end - -function VecGetArrayRead(arg1::Vec{Float64},arg2::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:VecGetArrayRead,petscRealDouble),PetscErrorCode,(Vec{Float64},Ptr{Ptr{Float64}}),arg1,arg2) - return err -end - -function VecRestoreArray(arg1::Vec{Float64},arg2::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:VecRestoreArray,petscRealDouble),PetscErrorCode,(Vec{Float64},Ptr{Ptr{Float64}}),arg1,arg2) - return err -end - -function VecRestoreArrayRead(arg1::Vec{Float64},arg2::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:VecRestoreArrayRead,petscRealDouble),PetscErrorCode,(Vec{Float64},Ptr{Ptr{Float64}}),arg1,arg2) - return err -end - -function VecGetLocalVector(arg1::Vec{Float64},arg2::Vec{Float64}) - err = ccall((:VecGetLocalVector,petscRealDouble),PetscErrorCode,(Vec{Float64},Vec{Float64}),arg1,arg2) - return err -end - -function VecRestoreLocalVector(arg1::Vec{Float64},arg2::Vec{Float64}) - err = ccall((:VecRestoreLocalVector,petscRealDouble),PetscErrorCode,(Vec{Float64},Vec{Float64}),arg1,arg2) - return err -end - -function VecGetLocalVectorRead(arg1::Vec{Float64},arg2::Vec{Float64}) - err = ccall((:VecGetLocalVectorRead,petscRealDouble),PetscErrorCode,(Vec{Float64},Vec{Float64}),arg1,arg2) - return err -end - -function VecRestoreLocalVectorRead(arg1::Vec{Float64},arg2::Vec{Float64}) - err = ccall((:VecRestoreLocalVectorRead,petscRealDouble),PetscErrorCode,(Vec{Float64},Vec{Float64}),arg1,arg2) - return err -end - -function VecGetArrayPair(x::Vec{Float64},y::Vec{Float64},xv::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},yv::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:VecGetArrayPair,petscRealDouble),PetscErrorCode,(Vec{Float64},Vec{Float64},Ptr{Ptr{Float64}},Ptr{Ptr{Float64}}),x,y,xv,yv) - return err -end - -function VecRestoreArrayPair(x::Vec{Float64},y::Vec{Float64},xv::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},yv::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:VecRestoreArrayPair,petscRealDouble),PetscErrorCode,(Vec{Float64},Vec{Float64},Ptr{Ptr{Float64}},Ptr{Ptr{Float64}}),x,y,xv,yv) - return err -end - -function VecLockGet(arg1::Vec{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:VecLockGet,petscRealDouble),PetscErrorCode,(Vec{Float64},Ptr{Int64}),arg1,arg2) - return err -end - -function VecLockPush(arg1::Vec{Float64}) - err = ccall((:VecLockPush,petscRealDouble),PetscErrorCode,(Vec{Float64},),arg1) - return err -end - -function VecLockPop(arg1::Vec{Float64}) - err = ccall((:VecLockPop,petscRealDouble),PetscErrorCode,(Vec{Float64},),arg1) - return err -end - -function VecValidValues(arg1::Vec{Float64},arg2::Integer,arg3::PetscBool) - err = ccall((:VecValidValues,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,PetscBool),arg1,arg2,arg3) - return err -end - -function VecContourScale(arg1::Vec{Float64},arg2::Float64,arg3::Float64) - err = ccall((:VecContourScale,petscRealDouble),PetscErrorCode,(Vec{Float64},Float64,Float64),arg1,arg2,arg3) - return err -end - -function VecSetOperation(arg1::Vec{Float64},arg2::VecOperation,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:VecSetOperation,petscRealDouble),PetscErrorCode,(Vec{Float64},VecOperation,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function VecMPISetGhost(arg1::Vec{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:VecMPISetGhost,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function VecCreateGhost(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:VecCreateGhost,petscRealDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Ptr{Int64},Ptr{Vec{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function VecCreateGhostWithArray(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg7::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:VecCreateGhostWithArray,petscRealDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Ptr{Int64},Ptr{Float64},Ptr{Vec{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function VecCreateGhostBlock(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:VecCreateGhostBlock,petscRealDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Vec{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function VecCreateGhostBlockWithArray(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg8::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:VecCreateGhostBlockWithArray,petscRealDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Float64},Ptr{Vec{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function VecGhostGetLocalForm(arg1::Vec{Float64},arg2::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:VecGhostGetLocalForm,petscRealDouble),PetscErrorCode,(Vec{Float64},Ptr{Vec{Float64}}),arg1,arg2) - return err -end - -function VecGhostRestoreLocalForm(arg1::Vec{Float64},arg2::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:VecGhostRestoreLocalForm,petscRealDouble),PetscErrorCode,(Vec{Float64},Ptr{Vec{Float64}}),arg1,arg2) - return err -end - -function VecGhostIsLocalForm(arg1::Vec{Float64},arg2::Vec{Float64},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:VecGhostIsLocalForm,petscRealDouble),PetscErrorCode,(Vec{Float64},Vec{Float64},Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function VecGhostUpdateBegin(arg1::Vec{Float64},arg2::InsertMode,arg3::ScatterMode) - err = ccall((:VecGhostUpdateBegin,petscRealDouble),PetscErrorCode,(Vec{Float64},InsertMode,ScatterMode),arg1,arg2,arg3) - return err -end - -function VecGhostUpdateEnd(arg1::Vec{Float64},arg2::InsertMode,arg3::ScatterMode) - err = ccall((:VecGhostUpdateEnd,petscRealDouble),PetscErrorCode,(Vec{Float64},InsertMode,ScatterMode),arg1,arg2,arg3) - return err -end - -function VecConjugate(arg1::Vec{Float64}) - err = ccall((:VecConjugate,petscRealDouble),PetscErrorCode,(Vec{Float64},),arg1) - return err -end - -function VecScatterCreateToAll(arg1::Vec{Float64},arg2::Union{Ptr{VecScatter{Float64}},StridedArray{VecScatter{Float64}},Ptr{VecScatter{Float64}},Ref{VecScatter{Float64}}},arg3::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:VecScatterCreateToAll,petscRealDouble),PetscErrorCode,(Vec{Float64},Ptr{VecScatter{Float64}},Ptr{Vec{Float64}}),arg1,arg2,arg3) - return err -end - -function VecScatterCreateToZero(arg1::Vec{Float64},arg2::Union{Ptr{VecScatter{Float64}},StridedArray{VecScatter{Float64}},Ptr{VecScatter{Float64}},Ref{VecScatter{Float64}}},arg3::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:VecScatterCreateToZero,petscRealDouble),PetscErrorCode,(Vec{Float64},Ptr{VecScatter{Float64}},Ptr{Vec{Float64}}),arg1,arg2,arg3) - return err -end - -function ISComplementVec(arg1::IS{Float64},arg2::Vec{Float64},arg3::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:ISComplementVec,petscRealDouble),PetscErrorCode,(IS{Float64},Vec{Float64},Ptr{IS{Float64}}),arg1,arg2,arg3) - return err -end - -function VecPow(arg1::Vec{Float64},arg2::Float64) - err = ccall((:VecPow,petscRealDouble),PetscErrorCode,(Vec{Float64},Float64),arg1,arg2) - return err -end - -function VecMedian(arg1::Vec{Float64},arg2::Vec{Float64},arg3::Vec{Float64},arg4::Vec{Float64}) - err = ccall((:VecMedian,petscRealDouble),PetscErrorCode,(Vec{Float64},Vec{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function VecWhichBetween(arg1::Vec{Float64},arg2::Vec{Float64},arg3::Vec{Float64},arg4::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:VecWhichBetween,petscRealDouble),PetscErrorCode,(Vec{Float64},Vec{Float64},Vec{Float64},Ptr{IS{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function VecWhichBetweenOrEqual(arg1::Vec{Float64},arg2::Vec{Float64},arg3::Vec{Float64},arg4::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:VecWhichBetweenOrEqual,petscRealDouble),PetscErrorCode,(Vec{Float64},Vec{Float64},Vec{Float64},Ptr{IS{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function VecWhichGreaterThan(arg1::Vec{Float64},arg2::Vec{Float64},arg3::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:VecWhichGreaterThan,petscRealDouble),PetscErrorCode,(Vec{Float64},Vec{Float64},Ptr{IS{Float64}}),arg1,arg2,arg3) - return err -end - -function VecWhichLessThan(arg1::Vec{Float64},arg2::Vec{Float64},arg3::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:VecWhichLessThan,petscRealDouble),PetscErrorCode,(Vec{Float64},Vec{Float64},Ptr{IS{Float64}}),arg1,arg2,arg3) - return err -end - -function VecWhichEqual(arg1::Vec{Float64},arg2::Vec{Float64},arg3::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:VecWhichEqual,petscRealDouble),PetscErrorCode,(Vec{Float64},Vec{Float64},Ptr{IS{Float64}}),arg1,arg2,arg3) - return err -end - -function VecISAXPY(arg1::Vec{Float64},arg2::IS{Float64},arg3::Float64,arg4::Vec{Float64}) - err = ccall((:VecISAXPY,petscRealDouble),PetscErrorCode,(Vec{Float64},IS{Float64},Float64,Vec{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function VecISSet(arg1::Vec{Float64},arg2::IS{Float64},arg3::Float64) - err = ccall((:VecISSet,petscRealDouble),PetscErrorCode,(Vec{Float64},IS{Float64},Float64),arg1,arg2,arg3) - return err -end - -function VecBoundGradientProjection(arg1::Vec{Float64},arg2::Vec{Float64},arg3::Vec{Float64},arg4::Vec{Float64},arg5::Vec{Float64}) - err = ccall((:VecBoundGradientProjection,petscRealDouble),PetscErrorCode,(Vec{Float64},Vec{Float64},Vec{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function VecStepBoundInfo(arg1::Vec{Float64},arg2::Vec{Float64},arg3::Vec{Float64},arg4::Vec{Float64},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg7::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecStepBoundInfo,petscRealDouble),PetscErrorCode,(Vec{Float64},Vec{Float64},Vec{Float64},Vec{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function VecStepMax(arg1::Vec{Float64},arg2::Vec{Float64},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecStepMax,petscRealDouble),PetscErrorCode,(Vec{Float64},Vec{Float64},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function VecStepMaxBounded(arg1::Vec{Float64},arg2::Vec{Float64},arg3::Vec{Float64},arg4::Vec{Float64},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:VecStepMaxBounded,petscRealDouble),PetscErrorCode,(Vec{Float64},Vec{Float64},Vec{Float64},Vec{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscViewerMathematicaGetVector(arg1::PetscViewer{Float64},arg2::Vec{Float64}) - err = ccall((:PetscViewerMathematicaGetVector,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Vec{Float64}),arg1,arg2) - return err -end - -function PetscViewerMathematicaPutVector(arg1::PetscViewer{Float64},arg2::Vec{Float64}) - err = ccall((:PetscViewerMathematicaPutVector,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Vec{Float64}),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function VecsDestroy(arg0::Type{Float64},arg1::Vecs) - ccall((:VecsDestroy,petscRealDouble),PetscErrorCode,(Vecs,),arg1) -end -=# -#= skipping function with undefined symbols: - function VecsCreateSeq(arg0::Type{Float64},arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Vecs},StridedArray{Vecs},Ptr{Vecs},Ref{Vecs}}) - ccall((:VecsCreateSeq,petscRealDouble),PetscErrorCode,(comm_type,Int64,Int64,Ptr{Vecs}),arg1,arg2,arg3,arg4) -end -=# -#= skipping function with undefined symbols: - function VecsCreateSeqWithArray(arg0::Type{Float64},arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Vecs},StridedArray{Vecs},Ptr{Vecs},Ref{Vecs}}) - ccall((:VecsCreateSeqWithArray,petscRealDouble),PetscErrorCode,(comm_type,Int64,Int64,Ptr{Float64},Ptr{Vecs}),arg1,arg2,arg3,arg4,arg5) -end -=# -#= skipping function with undefined symbols: - function VecsDuplicate(arg0::Type{Float64},arg1::Vecs,arg2::Union{Ptr{Vecs},StridedArray{Vecs},Ptr{Vecs},Ref{Vecs}}) - ccall((:VecsDuplicate,petscRealDouble),PetscErrorCode,(Vecs,Ptr{Vecs}),arg1,arg2) -end -=# -function VecNestGetSubVecs(arg1::Vec{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Vec{Float64}}},StridedArray{Ptr{Vec{Float64}}},Ptr{Ptr{Vec{Float64}}},Ref{Ptr{Vec{Float64}}}}) - err = ccall((:VecNestGetSubVecs,petscRealDouble),PetscErrorCode,(Vec{Float64},Ptr{Int64},Ptr{Ptr{Vec{Float64}}}),arg1,arg2,arg3) - return err -end - -function VecNestGetSubVec(arg1::Vec{Float64},arg2::Integer,arg3::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:VecNestGetSubVec,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,Ptr{Vec{Float64}}),arg1,arg2,arg3) - return err -end - -function VecNestSetSubVecs(arg1::Vec{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:VecNestSetSubVecs,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,Ptr{Int64},Ptr{Vec{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function VecNestSetSubVec(arg1::Vec{Float64},arg2::Integer,arg3::Vec{Float64}) - err = ccall((:VecNestSetSubVec,petscRealDouble),PetscErrorCode,(Vec{Float64},Int64,Vec{Float64}),arg1,arg2,arg3) - return err -end - -function VecCreateNest(arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}},arg4::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}},arg5::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:VecCreateNest,petscRealDouble),PetscErrorCode,(comm_type,Int64,Ptr{IS{Float64}},Ptr{Vec{Float64}},Ptr{Vec{Float64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function VecNestGetSize(arg1::Vec{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:VecNestGetSize,petscRealDouble),PetscErrorCode,(Vec{Float64},Ptr{Int64}),arg1,arg2) - return err -end - -function PetscOptionsGetVec(arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Vec{Float64},arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetVec,petscRealDouble),PetscErrorCode,(Cstring,Cstring,Vec{Float64},Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function VecChop(arg1::Vec{Float64},arg2::Float64) - err = ccall((:VecChop,petscRealDouble),PetscErrorCode,(Vec{Float64},Float64),arg1,arg2) - return err -end - -function VecGetLayout(arg1::Vec{Float64},arg2::Union{Ptr{PetscLayout{Float64}},StridedArray{PetscLayout{Float64}},Ptr{PetscLayout{Float64}},Ref{PetscLayout{Float64}}}) - err = ccall((:VecGetLayout,petscRealDouble),PetscErrorCode,(Vec{Float64},Ptr{PetscLayout{Float64}}),arg1,arg2) - return err -end - -function VecSetLayout(arg1::Vec{Float64},arg2::PetscLayout{Float64}) - err = ccall((:VecSetLayout,petscRealDouble),PetscErrorCode,(Vec{Float64},PetscLayout{Float64}),arg1,arg2) - return err -end - -function PetscSectionVecView(arg1::PetscSection,arg2::Vec{Float64},arg3::PetscViewer{Float64}) - err = ccall((:PetscSectionVecView,petscRealDouble),PetscErrorCode,(PetscSection,Vec{Float64},PetscViewer{Float64}),arg1,arg2,arg3) - return err -end - -function VecGetValuesSection(arg1::Vec{Float64},arg2::PetscSection,arg3::Integer,arg4::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:VecGetValuesSection,petscRealDouble),PetscErrorCode,(Vec{Float64},PetscSection,Int64,Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function VecSetValuesSection(arg1::Vec{Float64},arg2::PetscSection,arg3::Integer,arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::InsertMode) - err = ccall((:VecSetValuesSection,petscRealDouble),PetscErrorCode,(Vec{Float64},PetscSection,Int64,Ptr{Float64},InsertMode),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscSectionVecNorm(arg1::PetscSection,arg2::PetscSection,arg3::Vec{Float64},arg4::NormType,arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscSectionVecNorm,petscRealDouble),PetscErrorCode,(PetscSection,PetscSection,Vec{Float64},NormType,Ptr{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatGetFactor(arg1::Mat{Float64},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::MatFactorType,arg4::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatGetFactor,petscRealDouble),PetscErrorCode,(Mat{Float64},Cstring,MatFactorType,Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function MatGetFactorAvailable(arg1::Mat{Float64},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::MatFactorType,arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatGetFactorAvailable,petscRealDouble),PetscErrorCode,(Mat{Float64},Cstring,MatFactorType,Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function MatFactorGetSolverPackage(arg1::Mat{Float64},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:MatFactorGetSolverPackage,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function MatGetFactorType(arg1::Mat{Float64},arg2::Union{Ptr{MatFactorType},StridedArray{MatFactorType},Ptr{MatFactorType},Ref{MatFactorType}}) - err = ccall((:MatGetFactorType,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{MatFactorType}),arg1,arg2) - return err -end - -function MatSolverPackageRegister(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::MatType,arg3::MatFactorType,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatSolverPackageRegister,petscRealDouble),PetscErrorCode,(Cstring,Cstring,MatFactorType,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function MatSolverPackageGet(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::MatType,arg3::MatFactorType,arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg6::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:MatSolverPackageGet,petscRealDouble),PetscErrorCode,(Cstring,Cstring,MatFactorType,Ptr{PetscBool},Ptr{PetscBool},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatInitializePackage(arg0::Type{Float64}) - err = ccall((:MatInitializePackage,petscRealDouble),PetscErrorCode,()) - return err -end - -function MatCreate(arg1::MPI_Comm,arg2::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreate,petscRealDouble),PetscErrorCode,(comm_type,Ptr{Mat{Float64}}),arg1,arg2) - return err -end - -function MatSetSizes(arg1::Mat{Float64},arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer) - err = ccall((:MatSetSizes,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Int64,Int64,Int64),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatSetType(arg1::Mat{Float64},arg2::MatType) - err = ccall((:MatSetType,petscRealDouble),PetscErrorCode,(Mat{Float64},Cstring),arg1,arg2) - return err -end - -function MatSetFromOptions(arg1::Mat{Float64}) - err = ccall((:MatSetFromOptions,petscRealDouble),PetscErrorCode,(Mat{Float64},),arg1) - return err -end - -function MatViewFromOptions(A::Mat{Float64},obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:MatViewFromOptions,petscRealDouble),PetscErrorCode,(Mat{Float64},PetscObject,Cstring),A,obj,name) - return err -end - -function MatRegister(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatRegister,petscRealDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function MatRegisterBaseName(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:MatRegisterBaseName,petscRealDouble),PetscErrorCode,(Cstring,Cstring,Cstring),arg1,arg2,arg3) - return err -end - -function MatSetOptionsPrefix(arg1::Mat{Float64},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:MatSetOptionsPrefix,petscRealDouble),PetscErrorCode,(Mat{Float64},Cstring),arg1,arg2) - return err -end - -function MatAppendOptionsPrefix(arg1::Mat{Float64},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:MatAppendOptionsPrefix,petscRealDouble),PetscErrorCode,(Mat{Float64},Cstring),arg1,arg2) - return err -end - -function MatGetOptionsPrefix(arg1::Mat{Float64},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:MatGetOptionsPrefix,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function MatSetErrorIfFPE(arg1::Mat{Float64},arg2::PetscBool) - err = ccall((:MatSetErrorIfFPE,petscRealDouble),PetscErrorCode,(Mat{Float64},PetscBool),arg1,arg2) - return err -end - -function MatCreateSeqDense(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateSeqDense,petscRealDouble),PetscErrorCode,(comm_type,Int64,Int64,Ptr{Float64},Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatCreateDense(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg7::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateDense,petscRealDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Ptr{Float64},Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function MatCreateSeqAIJ(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateSeqAIJ,petscRealDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Ptr{Int64},Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatCreateAIJ(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Integer,arg9::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg10::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateAIJ,petscRealDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Int64,Ptr{Int64},Int64,Ptr{Int64},Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -function MatCreateMPIAIJWithArrays(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg9::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateMPIAIJWithArrays,petscRealDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Int64},Ptr{Float64},Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) - return err -end - -function MatCreateMPIAIJWithSplitArrays(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg9::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg10::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg11::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg12::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateMPIAIJWithSplitArrays,petscRealDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Int64},Ptr{Float64},Ptr{Int64},Ptr{Int64},Ptr{Float64},Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12) - return err -end - -function MatCreateSeqBAIJ(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateSeqBAIJ,petscRealDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function MatCreateBAIJ(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg9::Integer,arg10::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg11::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateBAIJ,petscRealDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Int64},Int64,Ptr{Int64},Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) - return err -end - -function MatCreateMPIBAIJWithArrays(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg9::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg10::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateMPIBAIJWithArrays,petscRealDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Int64},Ptr{Float64},Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -function MatCreateMPIAdj(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateMPIAdj,petscRealDouble),PetscErrorCode,(comm_type,Int64,Int64,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function MatCreateSeqSBAIJ(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateSeqSBAIJ,petscRealDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function MatCreateSBAIJ(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg9::Integer,arg10::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg11::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateSBAIJ,petscRealDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Int64},Int64,Ptr{Int64},Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) - return err -end - -function MatCreateMPISBAIJWithArrays(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg9::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg10::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateMPISBAIJWithArrays,petscRealDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Int64},Ptr{Float64},Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -function MatSeqSBAIJSetPreallocationCSR(arg1::Mat{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:MatSeqSBAIJSetPreallocationCSR,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Ptr{Int64},Ptr{Int64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatMPISBAIJSetPreallocationCSR(arg1::Mat{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:MatMPISBAIJSetPreallocationCSR,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Ptr{Int64},Ptr{Int64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatXAIJSetPreallocation(arg1::Mat{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatXAIJSetPreallocation,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatCreateShell(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg7::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateShell,petscRealDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Ptr{Void},Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function MatCreateNormal(arg1::Mat{Float64},arg2::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateNormal,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Mat{Float64}}),arg1,arg2) - return err -end - -function MatCreateLRC(arg1::Mat{Float64},arg2::Mat{Float64},arg3::Mat{Float64},arg4::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateLRC,petscRealDouble),PetscErrorCode,(Mat{Float64},Mat{Float64},Mat{Float64},Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function MatCreateIS(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::ISLocalToGlobalMapping{Float64},arg8::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateIS,petscRealDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Int64,ISLocalToGlobalMapping{Float64},Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function MatCreateSeqAIJCRL(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateSeqAIJCRL,petscRealDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Ptr{Int64},Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatCreateMPIAIJCRL(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Integer,arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateMPIAIJCRL,petscRealDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Ptr{Int64},Int64,Ptr{Int64},Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function MatCreateSeqBSTRM(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateSeqBSTRM,petscRealDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function MatCreateMPIBSTRM(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg9::Integer,arg10::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg11::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateMPIBSTRM,petscRealDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Int64},Int64,Ptr{Int64},Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) - return err -end - -function MatCreateSeqSBSTRM(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateSeqSBSTRM,petscRealDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function MatCreateMPISBSTRM(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg9::Integer,arg10::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg11::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateMPISBSTRM,petscRealDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Int64},Int64,Ptr{Int64},Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) - return err -end - -function MatCreateScatter(arg1::MPI_Comm,arg2::VecScatter{Float64},arg3::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateScatter,petscRealDouble),PetscErrorCode,(comm_type,VecScatter{Float64},Ptr{Mat{Float64}}),arg1,arg2,arg3) - return err -end - -function MatScatterSetVecScatter(arg1::Mat{Float64},arg2::VecScatter{Float64}) - err = ccall((:MatScatterSetVecScatter,petscRealDouble),PetscErrorCode,(Mat{Float64},VecScatter{Float64}),arg1,arg2) - return err -end - -function MatScatterGetVecScatter(arg1::Mat{Float64},arg2::Union{Ptr{VecScatter{Float64}},StridedArray{VecScatter{Float64}},Ptr{VecScatter{Float64}},Ref{VecScatter{Float64}}}) - err = ccall((:MatScatterGetVecScatter,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{VecScatter{Float64}}),arg1,arg2) - return err -end - -function MatCreateBlockMat(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateBlockMat,petscRealDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function MatCompositeAddMat(arg1::Mat{Float64},arg2::Mat{Float64}) - err = ccall((:MatCompositeAddMat,petscRealDouble),PetscErrorCode,(Mat{Float64},Mat{Float64}),arg1,arg2) - return err -end - -function MatCompositeMerge(arg1::Mat{Float64}) - err = ccall((:MatCompositeMerge,petscRealDouble),PetscErrorCode,(Mat{Float64},),arg1) - return err -end - -function MatCreateComposite(arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}},arg4::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateComposite,petscRealDouble),PetscErrorCode,(comm_type,Int64,Ptr{Mat{Float64}},Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function MatCompositeSetType(arg1::Mat{Float64},arg2::MatCompositeType) - err = ccall((:MatCompositeSetType,petscRealDouble),PetscErrorCode,(Mat{Float64},MatCompositeType),arg1,arg2) - return err -end - -function MatCreateFFT(arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::MatType,arg5::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateFFT,petscRealDouble),PetscErrorCode,(comm_type,Int64,Ptr{Int64},Cstring,Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatCreateSeqCUFFT(arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateSeqCUFFT,petscRealDouble),PetscErrorCode,(comm_type,Int64,Ptr{Int64},Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function MatCreateTranspose(arg1::Mat{Float64},arg2::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateTranspose,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Mat{Float64}}),arg1,arg2) - return err -end - -function MatCreateHermitianTranspose(arg1::Mat{Float64},arg2::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateHermitianTranspose,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Mat{Float64}}),arg1,arg2) - return err -end - -function MatCreateSubMatrix(arg1::Mat{Float64},arg2::IS{Float64},arg3::IS{Float64},arg4::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateSubMatrix,petscRealDouble),PetscErrorCode,(Mat{Float64},IS{Float64},IS{Float64},Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function MatSubMatrixUpdate(arg1::Mat{Float64},arg2::Mat{Float64},arg3::IS{Float64},arg4::IS{Float64}) - err = ccall((:MatSubMatrixUpdate,petscRealDouble),PetscErrorCode,(Mat{Float64},Mat{Float64},IS{Float64},IS{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function MatCreateLocalRef(arg1::Mat{Float64},arg2::IS{Float64},arg3::IS{Float64},arg4::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateLocalRef,petscRealDouble),PetscErrorCode,(Mat{Float64},IS{Float64},IS{Float64},Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function MatPythonSetType(arg1::Mat{Float64},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:MatPythonSetType,petscRealDouble),PetscErrorCode,(Mat{Float64},Cstring),arg1,arg2) - return err -end - -function MatSetUp(arg1::Mat{Float64}) - err = ccall((:MatSetUp,petscRealDouble),PetscErrorCode,(Mat{Float64},),arg1) - return err -end - -function MatDestroy(arg1::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatDestroy,petscRealDouble),PetscErrorCode,(Ptr{Mat{Float64}},),arg1) - return err -end - -function MatGetNonzeroState(arg1::Mat{Float64},arg2::Union{Ptr{PetscObjectState},StridedArray{PetscObjectState},Ptr{PetscObjectState},Ref{PetscObjectState}}) - err = ccall((:MatGetNonzeroState,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{PetscObjectState}),arg1,arg2) - return err -end - -function MatConjugate(arg1::Mat{Float64}) - err = ccall((:MatConjugate,petscRealDouble),PetscErrorCode,(Mat{Float64},),arg1) - return err -end - -function MatRealPart(arg1::Mat{Float64}) - err = ccall((:MatRealPart,petscRealDouble),PetscErrorCode,(Mat{Float64},),arg1) - return err -end - -function MatImaginaryPart(arg1::Mat{Float64}) - err = ccall((:MatImaginaryPart,petscRealDouble),PetscErrorCode,(Mat{Float64},),arg1) - return err -end - -function MatGetDiagonalBlock(arg1::Mat{Float64},arg2::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatGetDiagonalBlock,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Mat{Float64}}),arg1,arg2) - return err -end - -function MatGetTrace(arg1::Mat{Float64},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:MatGetTrace,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Float64}),arg1,arg2) - return err -end - -function MatInvertBlockDiagonal(arg1::Mat{Float64},arg2::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:MatInvertBlockDiagonal,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Ptr{Float64}}),arg1,arg2) - return err -end - -function MatSetValues(arg1::Mat{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg7::InsertMode) - err = ccall((:MatSetValues,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Ptr{Int64},Int64,Ptr{Int64},Ptr{Float64},InsertMode),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function MatSetValuesBlocked(arg1::Mat{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg7::InsertMode) - err = ccall((:MatSetValuesBlocked,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Ptr{Int64},Int64,Ptr{Int64},Ptr{Float64},InsertMode),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function MatSetValuesRow(arg1::Mat{Float64},arg2::Integer,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:MatSetValuesRow,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function MatSetValuesRowLocal(arg1::Mat{Float64},arg2::Integer,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:MatSetValuesRowLocal,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function MatSetValuesBatch(arg1::Mat{Float64},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:MatSetValuesBatch,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Int64,Ptr{Int64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatSetRandom(arg1::Mat{Float64},arg2::PetscRandom) - err = ccall((:MatSetRandom,petscRealDouble),PetscErrorCode,(Mat{Float64},PetscRandom),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function MatSetValuesStencil(arg1::Mat{Float64},arg2::Integer,arg3::Union{Ptr{MatStencil},StridedArray{MatStencil},Ptr{MatStencil},Ref{MatStencil}},arg4::Integer,arg5::Union{Ptr{MatStencil},StridedArray{MatStencil},Ptr{MatStencil},Ref{MatStencil}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg7::InsertMode) - ccall((:MatSetValuesStencil,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Ptr{MatStencil},Int64,Ptr{MatStencil},Ptr{Float64},InsertMode),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -#= skipping function with undefined symbols: - function MatSetValuesBlockedStencil(arg1::Mat{Float64},arg2::Integer,arg3::Union{Ptr{MatStencil},StridedArray{MatStencil},Ptr{MatStencil},Ref{MatStencil}},arg4::Integer,arg5::Union{Ptr{MatStencil},StridedArray{MatStencil},Ptr{MatStencil},Ref{MatStencil}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg7::InsertMode) - ccall((:MatSetValuesBlockedStencil,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Ptr{MatStencil},Int64,Ptr{MatStencil},Ptr{Float64},InsertMode),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -function MatSetStencil(arg1::Mat{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Integer) - err = ccall((:MatSetStencil,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Ptr{Int64},Ptr{Int64},Int64),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatSetColoring(arg1::Mat{Float64},arg2::ISColoring{Float64}) - err = ccall((:MatSetColoring,petscRealDouble),PetscErrorCode,(Mat{Float64},ISColoring{Float64}),arg1,arg2) - return err -end - -function MatSetValuesAdifor(arg1::Mat{Float64},arg2::Integer,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatSetValuesAdifor,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function MatAssemblyBegin(arg1::Mat{Float64},arg2::MatAssemblyType) - err = ccall((:MatAssemblyBegin,petscRealDouble),PetscErrorCode,(Mat{Float64},MatAssemblyType),arg1,arg2) - return err -end - -function MatAssemblyEnd(arg1::Mat{Float64},arg2::MatAssemblyType) - err = ccall((:MatAssemblyEnd,petscRealDouble),PetscErrorCode,(Mat{Float64},MatAssemblyType),arg1,arg2) - return err -end - -function MatAssembled(arg1::Mat{Float64},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatAssembled,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{PetscBool}),arg1,arg2) - return err -end - -function MatSetOption(arg1::Mat{Float64},arg2::MatOption,arg3::PetscBool) - err = ccall((:MatSetOption,petscRealDouble),PetscErrorCode,(Mat{Float64},MatOption,PetscBool),arg1,arg2,arg3) - return err -end - -function MatGetOption(arg1::Mat{Float64},arg2::MatOption,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatGetOption,petscRealDouble),PetscErrorCode,(Mat{Float64},MatOption,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function MatGetType(arg1::Mat{Float64},arg2::Union{Ptr{MatType},StridedArray{MatType},Ptr{MatType},Ref{MatType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:MatGetType,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function MatGetValues(arg1::Mat{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:MatGetValues,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Ptr{Int64},Int64,Ptr{Int64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatGetRow(arg1::Mat{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg5::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:MatGetRow,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatRestoreRow(arg1::Mat{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg5::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:MatRestoreRow,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatGetRowUpperTriangular(arg1::Mat{Float64}) - err = ccall((:MatGetRowUpperTriangular,petscRealDouble),PetscErrorCode,(Mat{Float64},),arg1) - return err -end - -function MatRestoreRowUpperTriangular(arg1::Mat{Float64}) - err = ccall((:MatRestoreRowUpperTriangular,petscRealDouble),PetscErrorCode,(Mat{Float64},),arg1) - return err -end - -function MatGetColumn(arg1::Mat{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg5::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:MatGetColumn,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatRestoreColumn(arg1::Mat{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg5::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:MatRestoreColumn,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatGetColumnVector(arg1::Mat{Float64},arg2::Vec{Float64},arg3::Integer) - err = ccall((:MatGetColumnVector,petscRealDouble),PetscErrorCode,(Mat{Float64},Vec{Float64},Int64),arg1,arg2,arg3) - return err -end - -function MatSeqAIJGetArray(arg1::Mat{Float64},arg2::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:MatSeqAIJGetArray,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Ptr{Float64}}),arg1,arg2) - return err -end - -function MatSeqAIJRestoreArray(arg1::Mat{Float64},arg2::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:MatSeqAIJRestoreArray,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Ptr{Float64}}),arg1,arg2) - return err -end - -function MatSeqAIJGetMaxRowNonzeros(arg1::Mat{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatSeqAIJGetMaxRowNonzeros,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Int64}),arg1,arg2) - return err -end - -function MatSeqAIJSetValuesLocalFast(arg1::Mat{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg7::InsertMode) - err = ccall((:MatSeqAIJSetValuesLocalFast,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Ptr{Int64},Int64,Ptr{Int64},Ptr{Float64},InsertMode),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function MatDenseGetArray(arg1::Mat{Float64},arg2::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:MatDenseGetArray,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Ptr{Float64}}),arg1,arg2) - return err -end - -function MatDenseRestoreArray(arg1::Mat{Float64},arg2::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:MatDenseRestoreArray,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Ptr{Float64}}),arg1,arg2) - return err -end - -function MatGetBlockSize(arg1::Mat{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatGetBlockSize,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Int64}),arg1,arg2) - return err -end - -function MatSetBlockSize(arg1::Mat{Float64},arg2::Integer) - err = ccall((:MatSetBlockSize,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64),arg1,arg2) - return err -end - -function MatGetBlockSizes(arg1::Mat{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatGetBlockSizes,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function MatSetBlockSizes(arg1::Mat{Float64},arg2::Integer,arg3::Integer) - err = ccall((:MatSetBlockSizes,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Int64),arg1,arg2,arg3) - return err -end - -function MatSetBlockSizesFromMats(arg1::Mat{Float64},arg2::Mat{Float64},arg3::Mat{Float64}) - err = ccall((:MatSetBlockSizesFromMats,petscRealDouble),PetscErrorCode,(Mat{Float64},Mat{Float64},Mat{Float64}),arg1,arg2,arg3) - return err -end - -function MatSetNThreads(arg1::Mat{Float64},arg2::Integer) - err = ccall((:MatSetNThreads,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64),arg1,arg2) - return err -end - -function MatGetNThreads(arg1::Mat{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatGetNThreads,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Int64}),arg1,arg2) - return err -end - -function MatMult(arg1::Mat{Float64},arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:MatMult,petscRealDouble),PetscErrorCode,(Mat{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function MatMultDiagonalBlock(arg1::Mat{Float64},arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:MatMultDiagonalBlock,petscRealDouble),PetscErrorCode,(Mat{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function MatMultAdd(arg1::Mat{Float64},arg2::Vec{Float64},arg3::Vec{Float64},arg4::Vec{Float64}) - err = ccall((:MatMultAdd,petscRealDouble),PetscErrorCode,(Mat{Float64},Vec{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function MatMultTranspose(arg1::Mat{Float64},arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:MatMultTranspose,petscRealDouble),PetscErrorCode,(Mat{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function MatMultHermitianTranspose(arg1::Mat{Float64},arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:MatMultHermitianTranspose,petscRealDouble),PetscErrorCode,(Mat{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function MatIsTranspose(arg1::Mat{Float64},arg2::Mat{Float64},arg3::Float64,arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatIsTranspose,petscRealDouble),PetscErrorCode,(Mat{Float64},Mat{Float64},Float64,Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function MatIsHermitianTranspose(arg1::Mat{Float64},arg2::Mat{Float64},arg3::Float64,arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatIsHermitianTranspose,petscRealDouble),PetscErrorCode,(Mat{Float64},Mat{Float64},Float64,Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function MatMultTransposeAdd(arg1::Mat{Float64},arg2::Vec{Float64},arg3::Vec{Float64},arg4::Vec{Float64}) - err = ccall((:MatMultTransposeAdd,petscRealDouble),PetscErrorCode,(Mat{Float64},Vec{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function MatMultHermitianTransposeAdd(arg1::Mat{Float64},arg2::Vec{Float64},arg3::Vec{Float64},arg4::Vec{Float64}) - err = ccall((:MatMultHermitianTransposeAdd,petscRealDouble),PetscErrorCode,(Mat{Float64},Vec{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function MatMultConstrained(arg1::Mat{Float64},arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:MatMultConstrained,petscRealDouble),PetscErrorCode,(Mat{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function MatMultTransposeConstrained(arg1::Mat{Float64},arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:MatMultTransposeConstrained,petscRealDouble),PetscErrorCode,(Mat{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function MatMatSolve(arg1::Mat{Float64},arg2::Mat{Float64},arg3::Mat{Float64}) - err = ccall((:MatMatSolve,petscRealDouble),PetscErrorCode,(Mat{Float64},Mat{Float64},Mat{Float64}),arg1,arg2,arg3) - return err -end - -function MatResidual(arg1::Mat{Float64},arg2::Vec{Float64},arg3::Vec{Float64},arg4::Vec{Float64}) - err = ccall((:MatResidual,petscRealDouble),PetscErrorCode,(Mat{Float64},Vec{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function MatConvert(arg1::Mat{Float64},arg2::MatType,arg3::MatReuse,arg4::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatConvert,petscRealDouble),PetscErrorCode,(Mat{Float64},Cstring,MatReuse,Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function MatDuplicate(arg1::Mat{Float64},arg2::MatDuplicateOption,arg3::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatDuplicate,petscRealDouble),PetscErrorCode,(Mat{Float64},MatDuplicateOption,Ptr{Mat{Float64}}),arg1,arg2,arg3) - return err -end - -function MatCopy(arg1::Mat{Float64},arg2::Mat{Float64},arg3::MatStructure) - err = ccall((:MatCopy,petscRealDouble),PetscErrorCode,(Mat{Float64},Mat{Float64},MatStructure),arg1,arg2,arg3) - return err -end - -function MatView(arg1::Mat{Float64},arg2::PetscViewer{Float64}) - err = ccall((:MatView,petscRealDouble),PetscErrorCode,(Mat{Float64},PetscViewer{Float64}),arg1,arg2) - return err -end - -function MatIsSymmetric(arg1::Mat{Float64},arg2::Float64,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatIsSymmetric,petscRealDouble),PetscErrorCode,(Mat{Float64},Float64,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function MatIsStructurallySymmetric(arg1::Mat{Float64},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatIsStructurallySymmetric,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{PetscBool}),arg1,arg2) - return err -end - -function MatIsHermitian(arg1::Mat{Float64},arg2::Float64,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatIsHermitian,petscRealDouble),PetscErrorCode,(Mat{Float64},Float64,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function MatIsSymmetricKnown(arg1::Mat{Float64},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatIsSymmetricKnown,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{PetscBool},Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function MatIsHermitianKnown(arg1::Mat{Float64},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatIsHermitianKnown,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{PetscBool},Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function MatMissingDiagonal(arg1::Mat{Float64},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatMissingDiagonal,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{PetscBool},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function MatLoad(arg1::Mat{Float64},arg2::PetscViewer{Float64}) - err = ccall((:MatLoad,petscRealDouble),PetscErrorCode,(Mat{Float64},PetscViewer{Float64}),arg1,arg2) - return err -end - -function MatGetRowIJ(arg1::Mat{Float64},arg2::Integer,arg3::PetscBool,arg4::PetscBool,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg7::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg8::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatGetRowIJ,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,PetscBool,PetscBool,Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function MatRestoreRowIJ(arg1::Mat{Float64},arg2::Integer,arg3::PetscBool,arg4::PetscBool,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg7::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg8::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatRestoreRowIJ,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,PetscBool,PetscBool,Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function MatGetColumnIJ(arg1::Mat{Float64},arg2::Integer,arg3::PetscBool,arg4::PetscBool,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg7::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg8::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatGetColumnIJ,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,PetscBool,PetscBool,Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function MatRestoreColumnIJ(arg1::Mat{Float64},arg2::Integer,arg3::PetscBool,arg4::PetscBool,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg7::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg8::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatRestoreColumnIJ,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,PetscBool,PetscBool,Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function MatGetInfo(arg1::Mat{Float64},arg2::MatInfoType,arg3::Union{Ptr{MatInfo},StridedArray{MatInfo},Ptr{MatInfo},Ref{MatInfo}}) - err = ccall((:MatGetInfo,petscRealDouble),PetscErrorCode,(Mat{Float64},MatInfoType,Ptr{MatInfo}),arg1,arg2,arg3) - return err -end - -function MatGetDiagonal(arg1::Mat{Float64},arg2::Vec{Float64}) - err = ccall((:MatGetDiagonal,petscRealDouble),PetscErrorCode,(Mat{Float64},Vec{Float64}),arg1,arg2) - return err -end - -function MatGetRowMax(arg1::Mat{Float64},arg2::Vec{Float64},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatGetRowMax,petscRealDouble),PetscErrorCode,(Mat{Float64},Vec{Float64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function MatGetRowMin(arg1::Mat{Float64},arg2::Vec{Float64},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatGetRowMin,petscRealDouble),PetscErrorCode,(Mat{Float64},Vec{Float64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function MatGetRowMaxAbs(arg1::Mat{Float64},arg2::Vec{Float64},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatGetRowMaxAbs,petscRealDouble),PetscErrorCode,(Mat{Float64},Vec{Float64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function MatGetRowMinAbs(arg1::Mat{Float64},arg2::Vec{Float64},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatGetRowMinAbs,petscRealDouble),PetscErrorCode,(Mat{Float64},Vec{Float64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function MatGetRowSum(arg1::Mat{Float64},arg2::Vec{Float64}) - err = ccall((:MatGetRowSum,petscRealDouble),PetscErrorCode,(Mat{Float64},Vec{Float64}),arg1,arg2) - return err -end - -function MatTranspose(arg1::Mat{Float64},arg2::MatReuse,arg3::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatTranspose,petscRealDouble),PetscErrorCode,(Mat{Float64},MatReuse,Ptr{Mat{Float64}}),arg1,arg2,arg3) - return err -end - -function MatHermitianTranspose(arg1::Mat{Float64},arg2::MatReuse,arg3::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatHermitianTranspose,petscRealDouble),PetscErrorCode,(Mat{Float64},MatReuse,Ptr{Mat{Float64}}),arg1,arg2,arg3) - return err -end - -function MatPermute(arg1::Mat{Float64},arg2::IS{Float64},arg3::IS{Float64},arg4::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatPermute,petscRealDouble),PetscErrorCode,(Mat{Float64},IS{Float64},IS{Float64},Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function MatDiagonalScale(arg1::Mat{Float64},arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:MatDiagonalScale,petscRealDouble),PetscErrorCode,(Mat{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function MatDiagonalSet(arg1::Mat{Float64},arg2::Vec{Float64},arg3::InsertMode) - err = ccall((:MatDiagonalSet,petscRealDouble),PetscErrorCode,(Mat{Float64},Vec{Float64},InsertMode),arg1,arg2,arg3) - return err -end - -function MatEqual(arg1::Mat{Float64},arg2::Mat{Float64},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatEqual,petscRealDouble),PetscErrorCode,(Mat{Float64},Mat{Float64},Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function MatMultEqual(arg1::Mat{Float64},arg2::Mat{Float64},arg3::Integer,arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatMultEqual,petscRealDouble),PetscErrorCode,(Mat{Float64},Mat{Float64},Int64,Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function MatMultAddEqual(arg1::Mat{Float64},arg2::Mat{Float64},arg3::Integer,arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatMultAddEqual,petscRealDouble),PetscErrorCode,(Mat{Float64},Mat{Float64},Int64,Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function MatMultTransposeEqual(arg1::Mat{Float64},arg2::Mat{Float64},arg3::Integer,arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatMultTransposeEqual,petscRealDouble),PetscErrorCode,(Mat{Float64},Mat{Float64},Int64,Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function MatMultTransposeAddEqual(arg1::Mat{Float64},arg2::Mat{Float64},arg3::Integer,arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatMultTransposeAddEqual,petscRealDouble),PetscErrorCode,(Mat{Float64},Mat{Float64},Int64,Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function MatNorm(arg1::Mat{Float64},arg2::NormType,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:MatNorm,petscRealDouble),PetscErrorCode,(Mat{Float64},NormType,Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function MatGetColumnNorms(arg1::Mat{Float64},arg2::NormType,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:MatGetColumnNorms,petscRealDouble),PetscErrorCode,(Mat{Float64},NormType,Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function MatZeroEntries(arg1::Mat{Float64}) - err = ccall((:MatZeroEntries,petscRealDouble),PetscErrorCode,(Mat{Float64},),arg1) - return err -end - -function MatZeroRows(arg1::Mat{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Float64,arg5::Vec{Float64},arg6::Vec{Float64}) - err = ccall((:MatZeroRows,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Ptr{Int64},Float64,Vec{Float64},Vec{Float64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatZeroRowsIS(arg1::Mat{Float64},arg2::IS{Float64},arg3::Float64,arg4::Vec{Float64},arg5::Vec{Float64}) - err = ccall((:MatZeroRowsIS,petscRealDouble),PetscErrorCode,(Mat{Float64},IS{Float64},Float64,Vec{Float64},Vec{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -#= skipping function with undefined symbols: - function MatZeroRowsStencil(arg1::Mat{Float64},arg2::Integer,arg3::Union{Ptr{MatStencil},StridedArray{MatStencil},Ptr{MatStencil},Ref{MatStencil}},arg4::Float64,arg5::Vec{Float64},arg6::Vec{Float64}) - ccall((:MatZeroRowsStencil,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Ptr{MatStencil},Float64,Vec{Float64},Vec{Float64}),arg1,arg2,arg3,arg4,arg5,arg6) -end -=# -#= skipping function with undefined symbols: - function MatZeroRowsColumnsStencil(arg1::Mat{Float64},arg2::Integer,arg3::Union{Ptr{MatStencil},StridedArray{MatStencil},Ptr{MatStencil},Ref{MatStencil}},arg4::Float64,arg5::Vec{Float64},arg6::Vec{Float64}) - ccall((:MatZeroRowsColumnsStencil,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Ptr{MatStencil},Float64,Vec{Float64},Vec{Float64}),arg1,arg2,arg3,arg4,arg5,arg6) -end -=# -function MatZeroRowsColumns(arg1::Mat{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Float64,arg5::Vec{Float64},arg6::Vec{Float64}) - err = ccall((:MatZeroRowsColumns,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Ptr{Int64},Float64,Vec{Float64},Vec{Float64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatZeroRowsColumnsIS(arg1::Mat{Float64},arg2::IS{Float64},arg3::Float64,arg4::Vec{Float64},arg5::Vec{Float64}) - err = ccall((:MatZeroRowsColumnsIS,petscRealDouble),PetscErrorCode,(Mat{Float64},IS{Float64},Float64,Vec{Float64},Vec{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatGetSize(arg1::Mat{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatGetSize,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function MatGetLocalSize(arg1::Mat{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatGetLocalSize,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function MatGetOwnershipRange(arg1::Mat{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatGetOwnershipRange,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function MatGetOwnershipRanges(arg1::Mat{Float64},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:MatGetOwnershipRanges,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function MatGetOwnershipRangeColumn(arg1::Mat{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatGetOwnershipRangeColumn,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function MatGetOwnershipRangesColumn(arg1::Mat{Float64},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:MatGetOwnershipRangesColumn,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function MatGetOwnershipIS(arg1::Mat{Float64},arg2::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}},arg3::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:MatGetOwnershipIS,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{IS{Float64}},Ptr{IS{Float64}}),arg1,arg2,arg3) - return err -end - -function MatGetSubMatrices(arg1::Mat{Float64},arg2::Integer,arg3::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}},arg4::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}},arg5::MatReuse,arg6::Union{Ptr{Ptr{Mat{Float64}}},StridedArray{Ptr{Mat{Float64}}},Ptr{Ptr{Mat{Float64}}},Ref{Ptr{Mat{Float64}}}}) - err = ccall((:MatGetSubMatrices,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Ptr{IS{Float64}},Ptr{IS{Float64}},MatReuse,Ptr{Ptr{Mat{Float64}}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatGetSubMatricesMPI(arg1::Mat{Float64},arg2::Integer,arg3::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}},arg4::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}},arg5::MatReuse,arg6::Union{Ptr{Ptr{Mat{Float64}}},StridedArray{Ptr{Mat{Float64}}},Ptr{Ptr{Mat{Float64}}},Ref{Ptr{Mat{Float64}}}}) - err = ccall((:MatGetSubMatricesMPI,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Ptr{IS{Float64}},Ptr{IS{Float64}},MatReuse,Ptr{Ptr{Mat{Float64}}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatDestroyMatrices(arg1::Integer,arg2::Union{Ptr{Ptr{Mat{Float64}}},StridedArray{Ptr{Mat{Float64}}},Ptr{Ptr{Mat{Float64}}},Ref{Ptr{Mat{Float64}}}}) - err = ccall((:MatDestroyMatrices,petscRealDouble),PetscErrorCode,(Int64,Ptr{Ptr{Mat{Float64}}}),arg1,arg2) - return err -end - -function MatGetSubMatrix(arg1::Mat{Float64},arg2::IS{Float64},arg3::IS{Float64},arg4::MatReuse,arg5::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatGetSubMatrix,petscRealDouble),PetscErrorCode,(Mat{Float64},IS{Float64},IS{Float64},MatReuse,Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatGetLocalSubMatrix(arg1::Mat{Float64},arg2::IS{Float64},arg3::IS{Float64},arg4::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatGetLocalSubMatrix,petscRealDouble),PetscErrorCode,(Mat{Float64},IS{Float64},IS{Float64},Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function MatRestoreLocalSubMatrix(arg1::Mat{Float64},arg2::IS{Float64},arg3::IS{Float64},arg4::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatRestoreLocalSubMatrix,petscRealDouble),PetscErrorCode,(Mat{Float64},IS{Float64},IS{Float64},Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function MatGetSeqNonzeroStructure(arg1::Mat{Float64},arg2::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatGetSeqNonzeroStructure,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Mat{Float64}}),arg1,arg2) - return err -end - -function MatDestroySeqNonzeroStructure(arg1::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatDestroySeqNonzeroStructure,petscRealDouble),PetscErrorCode,(Ptr{Mat{Float64}},),arg1) - return err -end - -function MatCreateMPIAIJSumSeqAIJ(arg1::MPI_Comm,arg2::Mat{Float64},arg3::Integer,arg4::Integer,arg5::MatReuse,arg6::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateMPIAIJSumSeqAIJ,petscRealDouble),PetscErrorCode,(comm_type,Mat{Float64},Int64,Int64,MatReuse,Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatCreateMPIAIJSumSeqAIJSymbolic(arg1::MPI_Comm,arg2::Mat{Float64},arg3::Integer,arg4::Integer,arg5::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateMPIAIJSumSeqAIJSymbolic,petscRealDouble),PetscErrorCode,(comm_type,Mat{Float64},Int64,Int64,Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatCreateMPIAIJSumSeqAIJNumeric(arg1::Mat{Float64},arg2::Mat{Float64}) - err = ccall((:MatCreateMPIAIJSumSeqAIJNumeric,petscRealDouble),PetscErrorCode,(Mat{Float64},Mat{Float64}),arg1,arg2) - return err -end - -function MatMPIAIJGetLocalMat(arg1::Mat{Float64},arg2::MatReuse,arg3::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatMPIAIJGetLocalMat,petscRealDouble),PetscErrorCode,(Mat{Float64},MatReuse,Ptr{Mat{Float64}}),arg1,arg2,arg3) - return err -end - -function MatMPIAIJGetLocalMatCondensed(arg1::Mat{Float64},arg2::MatReuse,arg3::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}},arg4::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}},arg5::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatMPIAIJGetLocalMatCondensed,petscRealDouble),PetscErrorCode,(Mat{Float64},MatReuse,Ptr{IS{Float64}},Ptr{IS{Float64}},Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatGetBrowsOfAcols(arg1::Mat{Float64},arg2::Mat{Float64},arg3::MatReuse,arg4::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}},arg5::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}},arg6::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatGetBrowsOfAcols,petscRealDouble),PetscErrorCode,(Mat{Float64},Mat{Float64},MatReuse,Ptr{IS{Float64}},Ptr{IS{Float64}},Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatGetGhosts(arg1::Mat{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:MatGetGhosts,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3) - return err -end - -function MatIncreaseOverlap(arg1::Mat{Float64},arg2::Integer,arg3::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}},arg4::Integer) - err = ccall((:MatIncreaseOverlap,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Ptr{IS{Float64}},Int64),arg1,arg2,arg3,arg4) - return err -end - -function MatMatMult(arg1::Mat{Float64},arg2::Mat{Float64},arg3::MatReuse,arg4::Float64,arg5::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatMatMult,petscRealDouble),PetscErrorCode,(Mat{Float64},Mat{Float64},MatReuse,Float64,Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatMatMultSymbolic(arg1::Mat{Float64},arg2::Mat{Float64},arg3::Float64,arg4::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatMatMultSymbolic,petscRealDouble),PetscErrorCode,(Mat{Float64},Mat{Float64},Float64,Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function MatMatMultNumeric(arg1::Mat{Float64},arg2::Mat{Float64},arg3::Mat{Float64}) - err = ccall((:MatMatMultNumeric,petscRealDouble),PetscErrorCode,(Mat{Float64},Mat{Float64},Mat{Float64}),arg1,arg2,arg3) - return err -end - -function MatMatMatMult(arg1::Mat{Float64},arg2::Mat{Float64},arg3::Mat{Float64},arg4::MatReuse,arg5::Float64,arg6::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatMatMatMult,petscRealDouble),PetscErrorCode,(Mat{Float64},Mat{Float64},Mat{Float64},MatReuse,Float64,Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatMatMatMultSymbolic(arg1::Mat{Float64},arg2::Mat{Float64},arg3::Mat{Float64},arg4::Float64,arg5::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatMatMatMultSymbolic,petscRealDouble),PetscErrorCode,(Mat{Float64},Mat{Float64},Mat{Float64},Float64,Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatMatMatMultNumeric(arg1::Mat{Float64},arg2::Mat{Float64},arg3::Mat{Float64},arg4::Mat{Float64}) - err = ccall((:MatMatMatMultNumeric,petscRealDouble),PetscErrorCode,(Mat{Float64},Mat{Float64},Mat{Float64},Mat{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function MatPtAP(arg1::Mat{Float64},arg2::Mat{Float64},arg3::MatReuse,arg4::Float64,arg5::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatPtAP,petscRealDouble),PetscErrorCode,(Mat{Float64},Mat{Float64},MatReuse,Float64,Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatPtAPSymbolic(arg1::Mat{Float64},arg2::Mat{Float64},arg3::Float64,arg4::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatPtAPSymbolic,petscRealDouble),PetscErrorCode,(Mat{Float64},Mat{Float64},Float64,Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function MatPtAPNumeric(arg1::Mat{Float64},arg2::Mat{Float64},arg3::Mat{Float64}) - err = ccall((:MatPtAPNumeric,petscRealDouble),PetscErrorCode,(Mat{Float64},Mat{Float64},Mat{Float64}),arg1,arg2,arg3) - return err -end - -function MatRARt(arg1::Mat{Float64},arg2::Mat{Float64},arg3::MatReuse,arg4::Float64,arg5::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatRARt,petscRealDouble),PetscErrorCode,(Mat{Float64},Mat{Float64},MatReuse,Float64,Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatRARtSymbolic(arg1::Mat{Float64},arg2::Mat{Float64},arg3::Float64,arg4::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatRARtSymbolic,petscRealDouble),PetscErrorCode,(Mat{Float64},Mat{Float64},Float64,Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function MatRARtNumeric(arg1::Mat{Float64},arg2::Mat{Float64},arg3::Mat{Float64}) - err = ccall((:MatRARtNumeric,petscRealDouble),PetscErrorCode,(Mat{Float64},Mat{Float64},Mat{Float64}),arg1,arg2,arg3) - return err -end - -function MatTransposeMatMult(arg1::Mat{Float64},arg2::Mat{Float64},arg3::MatReuse,arg4::Float64,arg5::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatTransposeMatMult,petscRealDouble),PetscErrorCode,(Mat{Float64},Mat{Float64},MatReuse,Float64,Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatTransposetMatMultSymbolic(arg1::Mat{Float64},arg2::Mat{Float64},arg3::Float64,arg4::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatTransposetMatMultSymbolic,petscRealDouble),PetscErrorCode,(Mat{Float64},Mat{Float64},Float64,Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function MatTransposetMatMultNumeric(arg1::Mat{Float64},arg2::Mat{Float64},arg3::Mat{Float64}) - err = ccall((:MatTransposetMatMultNumeric,petscRealDouble),PetscErrorCode,(Mat{Float64},Mat{Float64},Mat{Float64}),arg1,arg2,arg3) - return err -end - -function MatMatTransposeMult(arg1::Mat{Float64},arg2::Mat{Float64},arg3::MatReuse,arg4::Float64,arg5::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatMatTransposeMult,petscRealDouble),PetscErrorCode,(Mat{Float64},Mat{Float64},MatReuse,Float64,Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatMatTransposeMultSymbolic(arg1::Mat{Float64},arg2::Mat{Float64},arg3::Float64,arg4::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatMatTransposeMultSymbolic,petscRealDouble),PetscErrorCode,(Mat{Float64},Mat{Float64},Float64,Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function MatMatTransposeMultNumeric(arg1::Mat{Float64},arg2::Mat{Float64},arg3::Mat{Float64}) - err = ccall((:MatMatTransposeMultNumeric,petscRealDouble),PetscErrorCode,(Mat{Float64},Mat{Float64},Mat{Float64}),arg1,arg2,arg3) - return err -end - -function MatAXPY(arg1::Mat{Float64},arg2::Float64,arg3::Mat{Float64},arg4::MatStructure) - err = ccall((:MatAXPY,petscRealDouble),PetscErrorCode,(Mat{Float64},Float64,Mat{Float64},MatStructure),arg1,arg2,arg3,arg4) - return err -end - -function MatAYPX(arg1::Mat{Float64},arg2::Float64,arg3::Mat{Float64},arg4::MatStructure) - err = ccall((:MatAYPX,petscRealDouble),PetscErrorCode,(Mat{Float64},Float64,Mat{Float64},MatStructure),arg1,arg2,arg3,arg4) - return err -end - -function MatScale(arg1::Mat{Float64},arg2::Float64) - err = ccall((:MatScale,petscRealDouble),PetscErrorCode,(Mat{Float64},Float64),arg1,arg2) - return err -end - -function MatShift(arg1::Mat{Float64},arg2::Float64) - err = ccall((:MatShift,petscRealDouble),PetscErrorCode,(Mat{Float64},Float64),arg1,arg2) - return err -end - -function MatSetLocalToGlobalMapping(arg1::Mat{Float64},arg2::ISLocalToGlobalMapping{Float64},arg3::ISLocalToGlobalMapping{Float64}) - err = ccall((:MatSetLocalToGlobalMapping,petscRealDouble),PetscErrorCode,(Mat{Float64},ISLocalToGlobalMapping{Float64},ISLocalToGlobalMapping{Float64}),arg1,arg2,arg3) - return err -end - -function MatGetLocalToGlobalMapping(arg1::Mat{Float64},arg2::Union{Ptr{ISLocalToGlobalMapping{Float64}},StridedArray{ISLocalToGlobalMapping{Float64}},Ptr{ISLocalToGlobalMapping{Float64}},Ref{ISLocalToGlobalMapping{Float64}}},arg3::Union{Ptr{ISLocalToGlobalMapping{Float64}},StridedArray{ISLocalToGlobalMapping{Float64}},Ptr{ISLocalToGlobalMapping{Float64}},Ref{ISLocalToGlobalMapping{Float64}}}) - err = ccall((:MatGetLocalToGlobalMapping,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{ISLocalToGlobalMapping{Float64}},Ptr{ISLocalToGlobalMapping{Float64}}),arg1,arg2,arg3) - return err -end - -function MatGetLayouts(arg1::Mat{Float64},arg2::Union{Ptr{PetscLayout{Float64}},StridedArray{PetscLayout{Float64}},Ptr{PetscLayout{Float64}},Ref{PetscLayout{Float64}}},arg3::Union{Ptr{PetscLayout{Float64}},StridedArray{PetscLayout{Float64}},Ptr{PetscLayout{Float64}},Ref{PetscLayout{Float64}}}) - err = ccall((:MatGetLayouts,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{PetscLayout{Float64}},Ptr{PetscLayout{Float64}}),arg1,arg2,arg3) - return err -end - -function MatZeroRowsLocal(arg1::Mat{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Float64,arg5::Vec{Float64},arg6::Vec{Float64}) - err = ccall((:MatZeroRowsLocal,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Ptr{Int64},Float64,Vec{Float64},Vec{Float64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatZeroRowsLocalIS(arg1::Mat{Float64},arg2::IS{Float64},arg3::Float64,arg4::Vec{Float64},arg5::Vec{Float64}) - err = ccall((:MatZeroRowsLocalIS,petscRealDouble),PetscErrorCode,(Mat{Float64},IS{Float64},Float64,Vec{Float64},Vec{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatZeroRowsColumnsLocal(arg1::Mat{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Float64,arg5::Vec{Float64},arg6::Vec{Float64}) - err = ccall((:MatZeroRowsColumnsLocal,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Ptr{Int64},Float64,Vec{Float64},Vec{Float64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatZeroRowsColumnsLocalIS(arg1::Mat{Float64},arg2::IS{Float64},arg3::Float64,arg4::Vec{Float64},arg5::Vec{Float64}) - err = ccall((:MatZeroRowsColumnsLocalIS,petscRealDouble),PetscErrorCode,(Mat{Float64},IS{Float64},Float64,Vec{Float64},Vec{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatSetValuesLocal(arg1::Mat{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg7::InsertMode) - err = ccall((:MatSetValuesLocal,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Ptr{Int64},Int64,Ptr{Int64},Ptr{Float64},InsertMode),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function MatSetValuesBlockedLocal(arg1::Mat{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg7::InsertMode) - err = ccall((:MatSetValuesBlockedLocal,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Ptr{Int64},Int64,Ptr{Int64},Ptr{Float64},InsertMode),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function MatStashSetInitialSize(arg1::Mat{Float64},arg2::Integer,arg3::Integer) - err = ccall((:MatStashSetInitialSize,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Int64),arg1,arg2,arg3) - return err -end - -function MatStashGetInfo(arg1::Mat{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatStashGetInfo,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatInterpolate(arg1::Mat{Float64},arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:MatInterpolate,petscRealDouble),PetscErrorCode,(Mat{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function MatInterpolateAdd(arg1::Mat{Float64},arg2::Vec{Float64},arg3::Vec{Float64},arg4::Vec{Float64}) - err = ccall((:MatInterpolateAdd,petscRealDouble),PetscErrorCode,(Mat{Float64},Vec{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function MatRestrict(arg1::Mat{Float64},arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:MatRestrict,petscRealDouble),PetscErrorCode,(Mat{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function MatCreateVecs(arg1::Mat{Float64},arg2::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}},arg3::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:MatCreateVecs,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Vec{Float64}},Ptr{Vec{Float64}}),arg1,arg2,arg3) - return err -end - -function MatGetVecs(mat::Mat{Float64},x::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}},y::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:MatGetVecs,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Vec{Float64}},Ptr{Vec{Float64}}),mat,x,y) - return err -end - -function MatCreateRedundantMatrix(arg1::Mat{Float64},arg2::Integer,arg3::MPI_Comm,arg4::MatReuse,arg5::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateRedundantMatrix,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,comm_type,MatReuse,Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatGetMultiProcBlock(arg1::Mat{Float64},arg2::MPI_Comm,arg3::MatReuse,arg4::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatGetMultiProcBlock,petscRealDouble),PetscErrorCode,(Mat{Float64},comm_type,MatReuse,Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function MatFindZeroDiagonals(arg1::Mat{Float64},arg2::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:MatFindZeroDiagonals,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{IS{Float64}}),arg1,arg2) - return err -end - -function MatFindOffBlockDiagonalEntries(arg1::Mat{Float64},arg2::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:MatFindOffBlockDiagonalEntries,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{IS{Float64}}),arg1,arg2) - return err -end - -function MatCreateMPIMatConcatenateSeqMat(arg1::MPI_Comm,arg2::Mat{Float64},arg3::Integer,arg4::MatReuse,arg5::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateMPIMatConcatenateSeqMat,petscRealDouble),PetscErrorCode,(comm_type,Mat{Float64},Int64,MatReuse,Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatSetValue(v::Mat{Float64},i::Integer,j::Integer,va::Float64,mode::InsertMode) - err = ccall((:MatSetValue,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Int64,Float64,InsertMode),v,i,j,va,mode) - return err -end - -function MatGetValue(v::Mat{Float64},i::Integer,j::Integer,va::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:MatGetValue,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Int64,Ptr{Float64}),v,i,j,va) - return err -end - -function MatSetValueLocal(v::Mat{Float64},i::Integer,j::Integer,va::Float64,mode::InsertMode) - err = ccall((:MatSetValueLocal,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Int64,Float64,InsertMode),v,i,j,va,mode) - return err -end - -function MatShellGetContext(arg1::Mat{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatShellGetContext,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Void}),arg1,arg2) - return err -end - -function MatInodeAdjustForInodes(arg1::Mat{Float64},arg2::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}},arg3::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:MatInodeAdjustForInodes,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{IS{Float64}},Ptr{IS{Float64}}),arg1,arg2,arg3) - return err -end - -function MatInodeGetInodeSizes(arg1::Mat{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatInodeGetInodeSizes,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function MatSeqAIJSetColumnIndices(arg1::Mat{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatSeqAIJSetColumnIndices,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Int64}),arg1,arg2) - return err -end - -function MatSeqBAIJSetColumnIndices(arg1::Mat{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatSeqBAIJSetColumnIndices,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Int64}),arg1,arg2) - return err -end - -function MatCreateSeqAIJWithArrays(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg7::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateSeqAIJWithArrays,petscRealDouble),PetscErrorCode,(comm_type,Int64,Int64,Ptr{Int64},Ptr{Int64},Ptr{Float64},Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function MatCreateSeqBAIJWithArrays(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg8::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateSeqBAIJWithArrays,petscRealDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Ptr{Int64},Ptr{Int64},Ptr{Float64},Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function MatCreateSeqSBAIJWithArrays(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg8::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateSeqSBAIJWithArrays,petscRealDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Ptr{Int64},Ptr{Int64},Ptr{Float64},Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function MatCreateSeqAIJFromTriple(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg7::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}},arg8::Integer,arg9::PetscBool) - err = ccall((:MatCreateSeqAIJFromTriple,petscRealDouble),PetscErrorCode,(comm_type,Int64,Int64,Ptr{Int64},Ptr{Int64},Ptr{Float64},Ptr{Mat{Float64}},Int64,PetscBool),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) - return err -end - -function MatSeqBAIJSetPreallocation(arg1::Mat{Float64},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatSeqBAIJSetPreallocation,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Int64,Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function MatSeqSBAIJSetPreallocation(arg1::Mat{Float64},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatSeqSBAIJSetPreallocation,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Int64,Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function MatSeqAIJSetPreallocation(arg1::Mat{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatSeqAIJSetPreallocation,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function MatMPIBAIJSetPreallocation(arg1::Mat{Float64},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatMPIBAIJSetPreallocation,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Int64,Ptr{Int64},Int64,Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatMPISBAIJSetPreallocation(arg1::Mat{Float64},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatMPISBAIJSetPreallocation,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Int64,Ptr{Int64},Int64,Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatMPIAIJSetPreallocation(arg1::Mat{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatMPIAIJSetPreallocation,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Ptr{Int64},Int64,Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatSeqAIJSetPreallocationCSR(arg1::Mat{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:MatSeqAIJSetPreallocationCSR,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Int64},Ptr{Int64},Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function MatSeqBAIJSetPreallocationCSR(arg1::Mat{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:MatSeqBAIJSetPreallocationCSR,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Ptr{Int64},Ptr{Int64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatMPIAIJSetPreallocationCSR(arg1::Mat{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:MatMPIAIJSetPreallocationCSR,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Int64},Ptr{Int64},Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function MatMPIBAIJSetPreallocationCSR(arg1::Mat{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:MatMPIBAIJSetPreallocationCSR,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Ptr{Int64},Ptr{Int64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatMPIAdjSetPreallocation(arg1::Mat{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatMPIAdjSetPreallocation,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function MatMPIDenseSetPreallocation(arg1::Mat{Float64},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:MatMPIDenseSetPreallocation,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Float64}),arg1,arg2) - return err -end - -function MatSeqDenseSetPreallocation(arg1::Mat{Float64},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:MatSeqDenseSetPreallocation,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Float64}),arg1,arg2) - return err -end - -function MatMPIAIJGetSeqAIJ(arg1::Mat{Float64},arg2::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}},arg3::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:MatMPIAIJGetSeqAIJ,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Mat{Float64}},Ptr{Mat{Float64}},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4) - return err -end - -function MatMPIBAIJGetSeqBAIJ(arg1::Mat{Float64},arg2::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}},arg3::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:MatMPIBAIJGetSeqBAIJ,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Mat{Float64}},Ptr{Mat{Float64}},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4) - return err -end - -function MatMPIAdjCreateNonemptySubcommMat(arg1::Mat{Float64},arg2::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatMPIAdjCreateNonemptySubcommMat,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Mat{Float64}}),arg1,arg2) - return err -end - -function MatISSetPreallocation(arg1::Mat{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatISSetPreallocation,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Ptr{Int64},Int64,Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatSeqDenseSetLDA(arg1::Mat{Float64},arg2::Integer) - err = ccall((:MatSeqDenseSetLDA,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64),arg1,arg2) - return err -end - -function MatDenseGetLocalMatrix(arg1::Mat{Float64},arg2::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatDenseGetLocalMatrix,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Mat{Float64}}),arg1,arg2) - return err -end - -function MatStoreValues(arg1::Mat{Float64}) - err = ccall((:MatStoreValues,petscRealDouble),PetscErrorCode,(Mat{Float64},),arg1) - return err -end - -function MatRetrieveValues(arg1::Mat{Float64}) - err = ccall((:MatRetrieveValues,petscRealDouble),PetscErrorCode,(Mat{Float64},),arg1) - return err -end - -function MatDAADSetCtx(arg1::Mat{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatDAADSetCtx,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Void}),arg1,arg2) - return err -end - -function MatFindNonzeroRows(arg1::Mat{Float64},arg2::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:MatFindNonzeroRows,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{IS{Float64}}),arg1,arg2) - return err -end - -function MatGetOrdering(arg1::Mat{Float64},arg2::MatOrderingType,arg3::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}},arg4::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:MatGetOrdering,petscRealDouble),PetscErrorCode,(Mat{Float64},Cstring,Ptr{IS{Float64}},Ptr{IS{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function MatGetOrderingList(arg0::Type{Float64},arg1::Union{Ptr{PetscFunctionList},StridedArray{PetscFunctionList},Ptr{PetscFunctionList},Ref{PetscFunctionList}}) - err = ccall((:MatGetOrderingList,petscRealDouble),PetscErrorCode,(Ptr{PetscFunctionList},),arg1) - return err -end - -function MatOrderingRegister(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatOrderingRegister,petscRealDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function MatReorderForNonzeroDiagonal(arg1::Mat{Float64},arg2::Float64,arg3::IS{Float64},arg4::IS{Float64}) - err = ccall((:MatReorderForNonzeroDiagonal,petscRealDouble),PetscErrorCode,(Mat{Float64},Float64,IS{Float64},IS{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function MatCreateLaplacian(arg1::Mat{Float64},arg2::Float64,arg3::PetscBool,arg4::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateLaplacian,petscRealDouble),PetscErrorCode,(Mat{Float64},Float64,PetscBool,Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -#= skipping function with undefined symbols: - function MatFactorInfoInitialize(arg0::Type{Float64},arg1::Union{Ptr{MatFactorInfo},StridedArray{MatFactorInfo},Ptr{MatFactorInfo},Ref{MatFactorInfo}}) - ccall((:MatFactorInfoInitialize,petscRealDouble),PetscErrorCode,(Ptr{MatFactorInfo},),arg1) -end -=# -#= skipping function with undefined symbols: - function MatCholeskyFactor(arg1::Mat{Float64},arg2::IS{Float64},arg3::Union{Ptr{MatFactorInfo},StridedArray{MatFactorInfo},Ptr{MatFactorInfo},Ref{MatFactorInfo}}) - ccall((:MatCholeskyFactor,petscRealDouble),PetscErrorCode,(Mat{Float64},IS{Float64},Ptr{MatFactorInfo}),arg1,arg2,arg3) -end -=# -#= skipping function with undefined symbols: - function MatCholeskyFactorSymbolic(arg1::Mat{Float64},arg2::Mat{Float64},arg3::IS{Float64},arg4::Union{Ptr{MatFactorInfo},StridedArray{MatFactorInfo},Ptr{MatFactorInfo},Ref{MatFactorInfo}}) - ccall((:MatCholeskyFactorSymbolic,petscRealDouble),PetscErrorCode,(Mat{Float64},Mat{Float64},IS{Float64},Ptr{MatFactorInfo}),arg1,arg2,arg3,arg4) -end -=# -#= skipping function with undefined symbols: - function MatCholeskyFactorNumeric(arg1::Mat{Float64},arg2::Mat{Float64},arg3::Union{Ptr{MatFactorInfo},StridedArray{MatFactorInfo},Ptr{MatFactorInfo},Ref{MatFactorInfo}}) - ccall((:MatCholeskyFactorNumeric,petscRealDouble),PetscErrorCode,(Mat{Float64},Mat{Float64},Ptr{MatFactorInfo}),arg1,arg2,arg3) -end -=# -#= skipping function with undefined symbols: - function MatLUFactor(arg1::Mat{Float64},arg2::IS{Float64},arg3::IS{Float64},arg4::Union{Ptr{MatFactorInfo},StridedArray{MatFactorInfo},Ptr{MatFactorInfo},Ref{MatFactorInfo}}) - ccall((:MatLUFactor,petscRealDouble),PetscErrorCode,(Mat{Float64},IS{Float64},IS{Float64},Ptr{MatFactorInfo}),arg1,arg2,arg3,arg4) -end -=# -#= skipping function with undefined symbols: - function MatILUFactor(arg1::Mat{Float64},arg2::IS{Float64},arg3::IS{Float64},arg4::Union{Ptr{MatFactorInfo},StridedArray{MatFactorInfo},Ptr{MatFactorInfo},Ref{MatFactorInfo}}) - ccall((:MatILUFactor,petscRealDouble),PetscErrorCode,(Mat{Float64},IS{Float64},IS{Float64},Ptr{MatFactorInfo}),arg1,arg2,arg3,arg4) -end -=# -#= skipping function with undefined symbols: - function MatLUFactorSymbolic(arg1::Mat{Float64},arg2::Mat{Float64},arg3::IS{Float64},arg4::IS{Float64},arg5::Union{Ptr{MatFactorInfo},StridedArray{MatFactorInfo},Ptr{MatFactorInfo},Ref{MatFactorInfo}}) - ccall((:MatLUFactorSymbolic,petscRealDouble),PetscErrorCode,(Mat{Float64},Mat{Float64},IS{Float64},IS{Float64},Ptr{MatFactorInfo}),arg1,arg2,arg3,arg4,arg5) -end -=# -#= skipping function with undefined symbols: - function MatILUFactorSymbolic(arg1::Mat{Float64},arg2::Mat{Float64},arg3::IS{Float64},arg4::IS{Float64},arg5::Union{Ptr{MatFactorInfo},StridedArray{MatFactorInfo},Ptr{MatFactorInfo},Ref{MatFactorInfo}}) - ccall((:MatILUFactorSymbolic,petscRealDouble),PetscErrorCode,(Mat{Float64},Mat{Float64},IS{Float64},IS{Float64},Ptr{MatFactorInfo}),arg1,arg2,arg3,arg4,arg5) -end -=# -#= skipping function with undefined symbols: - function MatICCFactorSymbolic(arg1::Mat{Float64},arg2::Mat{Float64},arg3::IS{Float64},arg4::Union{Ptr{MatFactorInfo},StridedArray{MatFactorInfo},Ptr{MatFactorInfo},Ref{MatFactorInfo}}) - ccall((:MatICCFactorSymbolic,petscRealDouble),PetscErrorCode,(Mat{Float64},Mat{Float64},IS{Float64},Ptr{MatFactorInfo}),arg1,arg2,arg3,arg4) -end -=# -#= skipping function with undefined symbols: - function MatICCFactor(arg1::Mat{Float64},arg2::IS{Float64},arg3::Union{Ptr{MatFactorInfo},StridedArray{MatFactorInfo},Ptr{MatFactorInfo},Ref{MatFactorInfo}}) - ccall((:MatICCFactor,petscRealDouble),PetscErrorCode,(Mat{Float64},IS{Float64},Ptr{MatFactorInfo}),arg1,arg2,arg3) -end -=# -#= skipping function with undefined symbols: - function MatLUFactorNumeric(arg1::Mat{Float64},arg2::Mat{Float64},arg3::Union{Ptr{MatFactorInfo},StridedArray{MatFactorInfo},Ptr{MatFactorInfo},Ref{MatFactorInfo}}) - ccall((:MatLUFactorNumeric,petscRealDouble),PetscErrorCode,(Mat{Float64},Mat{Float64},Ptr{MatFactorInfo}),arg1,arg2,arg3) -end -=# -function MatGetInertia(arg1::Mat{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatGetInertia,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function MatSolve(arg1::Mat{Float64},arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:MatSolve,petscRealDouble),PetscErrorCode,(Mat{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function MatForwardSolve(arg1::Mat{Float64},arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:MatForwardSolve,petscRealDouble),PetscErrorCode,(Mat{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function MatBackwardSolve(arg1::Mat{Float64},arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:MatBackwardSolve,petscRealDouble),PetscErrorCode,(Mat{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function MatSolveAdd(arg1::Mat{Float64},arg2::Vec{Float64},arg3::Vec{Float64},arg4::Vec{Float64}) - err = ccall((:MatSolveAdd,petscRealDouble),PetscErrorCode,(Mat{Float64},Vec{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function MatSolveTranspose(arg1::Mat{Float64},arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:MatSolveTranspose,petscRealDouble),PetscErrorCode,(Mat{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function MatSolveTransposeAdd(arg1::Mat{Float64},arg2::Vec{Float64},arg3::Vec{Float64},arg4::Vec{Float64}) - err = ccall((:MatSolveTransposeAdd,petscRealDouble),PetscErrorCode,(Mat{Float64},Vec{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3,arg4) - return err -end - -#= skipping function with undefined symbols: - function MatSolves(arg1::Mat{Float64},arg2::Vecs,arg3::Vecs) - ccall((:MatSolves,petscRealDouble),PetscErrorCode,(Mat{Float64},Vecs,Vecs),arg1,arg2,arg3) -end -=# -function MatSetUnfactored(arg1::Mat{Float64}) - err = ccall((:MatSetUnfactored,petscRealDouble),PetscErrorCode,(Mat{Float64},),arg1) - return err -end - -function MatSOR(arg1::Mat{Float64},arg2::Vec{Float64},arg3::Float64,arg4::MatSORType,arg5::Float64,arg6::Integer,arg7::Integer,arg8::Vec{Float64}) - err = ccall((:MatSOR,petscRealDouble),PetscErrorCode,(Mat{Float64},Vec{Float64},Float64,MatSORType,Float64,Int64,Int64,Vec{Float64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function MatColoringCreate(arg1::Mat{Float64},arg2::Union{Ptr{MatColoring},StridedArray{MatColoring},Ptr{MatColoring},Ref{MatColoring}}) - err = ccall((:MatColoringCreate,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{MatColoring}),arg1,arg2) - return err -end - -function MatColoringGetDegrees(arg1::Mat{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatColoringGetDegrees,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function MatColoringDestroy(arg0::Type{Float64},arg1::Union{Ptr{MatColoring},StridedArray{MatColoring},Ptr{MatColoring},Ref{MatColoring}}) - err = ccall((:MatColoringDestroy,petscRealDouble),PetscErrorCode,(Ptr{MatColoring},),arg1) - return err -end - -function MatColoringView(arg1::MatColoring,arg2::PetscViewer{Float64}) - err = ccall((:MatColoringView,petscRealDouble),PetscErrorCode,(MatColoring,PetscViewer{Float64}),arg1,arg2) - return err -end - -function MatColoringSetType(arg0::Type{Float64},arg1::MatColoring,arg2::MatColoringType) - err = ccall((:MatColoringSetType,petscRealDouble),PetscErrorCode,(MatColoring,Cstring),arg1,arg2) - return err -end - -function MatColoringSetFromOptions(arg0::Type{Float64},arg1::MatColoring) - err = ccall((:MatColoringSetFromOptions,petscRealDouble),PetscErrorCode,(MatColoring,),arg1) - return err -end - -function MatColoringSetDistance(arg0::Type{Float64},arg1::MatColoring,arg2::Integer) - err = ccall((:MatColoringSetDistance,petscRealDouble),PetscErrorCode,(MatColoring,Int64),arg1,arg2) - return err -end - -function MatColoringGetDistance(arg0::Type{Float64},arg1::MatColoring,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatColoringGetDistance,petscRealDouble),PetscErrorCode,(MatColoring,Ptr{Int64}),arg1,arg2) - return err -end - -function MatColoringSetMaxColors(arg0::Type{Float64},arg1::MatColoring,arg2::Integer) - err = ccall((:MatColoringSetMaxColors,petscRealDouble),PetscErrorCode,(MatColoring,Int64),arg1,arg2) - return err -end - -function MatColoringGetMaxColors(arg0::Type{Float64},arg1::MatColoring,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatColoringGetMaxColors,petscRealDouble),PetscErrorCode,(MatColoring,Ptr{Int64}),arg1,arg2) - return err -end - -function MatColoringApply(arg1::MatColoring,arg2::Union{Ptr{ISColoring{Float64}},StridedArray{ISColoring{Float64}},Ptr{ISColoring{Float64}},Ref{ISColoring{Float64}}}) - err = ccall((:MatColoringApply,petscRealDouble),PetscErrorCode,(MatColoring,Ptr{ISColoring{Float64}}),arg1,arg2) - return err -end - -function MatColoringRegister(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatColoringRegister,petscRealDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function MatColoringPatch(arg1::Mat{Float64},arg2::Integer,arg3::Integer,arg4::Union{Ptr{ISColoringValue},StridedArray{ISColoringValue},Ptr{ISColoringValue},Ref{ISColoringValue}},arg5::Union{Ptr{ISColoring{Float64}},StridedArray{ISColoring{Float64}},Ptr{ISColoring{Float64}},Ref{ISColoring{Float64}}}) - err = ccall((:MatColoringPatch,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Int64,Ptr{ISColoringValue},Ptr{ISColoring{Float64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatColoringSetWeightType(arg0::Type{Float64},arg1::MatColoring,arg2::MatColoringWeightType) - err = ccall((:MatColoringSetWeightType,petscRealDouble),PetscErrorCode,(MatColoring,MatColoringWeightType),arg1,arg2) - return err -end - -function MatColoringSetWeights(arg0::Type{Float64},arg1::MatColoring,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatColoringSetWeights,petscRealDouble),PetscErrorCode,(MatColoring,Ptr{Float64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function MatColoringCreateWeights(arg0::Type{Float64},arg1::MatColoring,arg2::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},lperm::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:MatColoringCreateWeights,petscRealDouble),PetscErrorCode,(MatColoring,Ptr{Ptr{Float64}},Ptr{Ptr{Int64}}),arg1,arg2,lperm) - return err -end - -function MatFDColoringCreate(arg1::Mat{Float64},arg2::ISColoring{Float64},arg3::Union{Ptr{MatFDColoring},StridedArray{MatFDColoring},Ptr{MatFDColoring},Ref{MatFDColoring}}) - err = ccall((:MatFDColoringCreate,petscRealDouble),PetscErrorCode,(Mat{Float64},ISColoring{Float64},Ptr{MatFDColoring}),arg1,arg2,arg3) - return err -end - -function MatFDColoringDestroy(arg0::Type{Float64},arg1::Union{Ptr{MatFDColoring},StridedArray{MatFDColoring},Ptr{MatFDColoring},Ref{MatFDColoring}}) - err = ccall((:MatFDColoringDestroy,petscRealDouble),PetscErrorCode,(Ptr{MatFDColoring},),arg1) - return err -end - -function MatFDColoringView(arg1::MatFDColoring,arg2::PetscViewer{Float64}) - err = ccall((:MatFDColoringView,petscRealDouble),PetscErrorCode,(MatFDColoring,PetscViewer{Float64}),arg1,arg2) - return err -end - -function MatFDColoringSetFunction(arg0::Type{Float64},arg1::MatFDColoring,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatFDColoringSetFunction,petscRealDouble),PetscErrorCode,(MatFDColoring,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function MatFDColoringGetFunction(arg0::Type{Float64},arg1::MatFDColoring,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:MatFDColoringGetFunction,petscRealDouble),PetscErrorCode,(MatFDColoring,Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function MatFDColoringSetParameters(arg0::Type{Float64},arg1::MatFDColoring,arg2::Float64,arg3::Float64) - err = ccall((:MatFDColoringSetParameters,petscRealDouble),PetscErrorCode,(MatFDColoring,Float64,Float64),arg1,arg2,arg3) - return err -end - -function MatFDColoringSetFromOptions(arg0::Type{Float64},arg1::MatFDColoring) - err = ccall((:MatFDColoringSetFromOptions,petscRealDouble),PetscErrorCode,(MatFDColoring,),arg1) - return err -end - -function MatFDColoringApply(arg1::Mat{Float64},arg2::MatFDColoring,arg3::Vec{Float64},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatFDColoringApply,petscRealDouble),PetscErrorCode,(Mat{Float64},MatFDColoring,Vec{Float64},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function MatFDColoringSetF(arg1::MatFDColoring,arg2::Vec{Float64}) - err = ccall((:MatFDColoringSetF,petscRealDouble),PetscErrorCode,(MatFDColoring,Vec{Float64}),arg1,arg2) - return err -end - -function MatFDColoringGetPerturbedColumns(arg0::Type{Float64},arg1::MatFDColoring,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:MatFDColoringGetPerturbedColumns,petscRealDouble),PetscErrorCode,(MatFDColoring,Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3) - return err -end - -function MatFDColoringSetUp(arg1::Mat{Float64},arg2::ISColoring{Float64},arg3::MatFDColoring) - err = ccall((:MatFDColoringSetUp,petscRealDouble),PetscErrorCode,(Mat{Float64},ISColoring{Float64},MatFDColoring),arg1,arg2,arg3) - return err -end - -function MatFDColoringSetBlockSize(arg0::Type{Float64},arg1::MatFDColoring,arg2::Integer,arg3::Integer) - err = ccall((:MatFDColoringSetBlockSize,petscRealDouble),PetscErrorCode,(MatFDColoring,Int64,Int64),arg1,arg2,arg3) - return err -end - -function MatTransposeColoringCreate(arg1::Mat{Float64},arg2::ISColoring{Float64},arg3::Union{Ptr{MatTransposeColoring},StridedArray{MatTransposeColoring},Ptr{MatTransposeColoring},Ref{MatTransposeColoring}}) - err = ccall((:MatTransposeColoringCreate,petscRealDouble),PetscErrorCode,(Mat{Float64},ISColoring{Float64},Ptr{MatTransposeColoring}),arg1,arg2,arg3) - return err -end - -function MatTransColoringApplySpToDen(arg1::MatTransposeColoring,arg2::Mat{Float64},arg3::Mat{Float64}) - err = ccall((:MatTransColoringApplySpToDen,petscRealDouble),PetscErrorCode,(MatTransposeColoring,Mat{Float64},Mat{Float64}),arg1,arg2,arg3) - return err -end - -function MatTransColoringApplyDenToSp(arg1::MatTransposeColoring,arg2::Mat{Float64},arg3::Mat{Float64}) - err = ccall((:MatTransColoringApplyDenToSp,petscRealDouble),PetscErrorCode,(MatTransposeColoring,Mat{Float64},Mat{Float64}),arg1,arg2,arg3) - return err -end - -function MatTransposeColoringDestroy(arg0::Type{Float64},arg1::Union{Ptr{MatTransposeColoring},StridedArray{MatTransposeColoring},Ptr{MatTransposeColoring},Ref{MatTransposeColoring}}) - err = ccall((:MatTransposeColoringDestroy,petscRealDouble),PetscErrorCode,(Ptr{MatTransposeColoring},),arg1) - return err -end - -function MatPartitioningCreate(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{MatPartitioning},StridedArray{MatPartitioning},Ptr{MatPartitioning},Ref{MatPartitioning}}) - err = ccall((:MatPartitioningCreate,petscRealDouble),PetscErrorCode,(comm_type,Ptr{MatPartitioning}),arg1,arg2) - return err -end - -function MatPartitioningSetType(arg0::Type{Float64},arg1::MatPartitioning,arg2::MatPartitioningType) - err = ccall((:MatPartitioningSetType,petscRealDouble),PetscErrorCode,(MatPartitioning,Cstring),arg1,arg2) - return err -end - -function MatPartitioningSetNParts(arg0::Type{Float64},arg1::MatPartitioning,arg2::Integer) - err = ccall((:MatPartitioningSetNParts,petscRealDouble),PetscErrorCode,(MatPartitioning,Int64),arg1,arg2) - return err -end - -function MatPartitioningSetAdjacency(arg1::MatPartitioning,arg2::Mat{Float64}) - err = ccall((:MatPartitioningSetAdjacency,petscRealDouble),PetscErrorCode,(MatPartitioning,Mat{Float64}),arg1,arg2) - return err -end - -function MatPartitioningSetVertexWeights(arg0::Type{Float64},arg1::MatPartitioning,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatPartitioningSetVertexWeights,petscRealDouble),PetscErrorCode,(MatPartitioning,Ptr{Int64}),arg1,arg2) - return err -end - -function MatPartitioningSetPartitionWeights(arg0::Type{Float64},arg1::MatPartitioning,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:MatPartitioningSetPartitionWeights,petscRealDouble),PetscErrorCode,(MatPartitioning,Ptr{Float64}),arg1,arg2) - return err -end - -function MatPartitioningApply(arg1::MatPartitioning,arg2::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:MatPartitioningApply,petscRealDouble),PetscErrorCode,(MatPartitioning,Ptr{IS{Float64}}),arg1,arg2) - return err -end - -function MatPartitioningDestroy(arg0::Type{Float64},arg1::Union{Ptr{MatPartitioning},StridedArray{MatPartitioning},Ptr{MatPartitioning},Ref{MatPartitioning}}) - err = ccall((:MatPartitioningDestroy,petscRealDouble),PetscErrorCode,(Ptr{MatPartitioning},),arg1) - return err -end - -function MatPartitioningRegister(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatPartitioningRegister,petscRealDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function MatPartitioningView(arg1::MatPartitioning,arg2::PetscViewer{Float64}) - err = ccall((:MatPartitioningView,petscRealDouble),PetscErrorCode,(MatPartitioning,PetscViewer{Float64}),arg1,arg2) - return err -end - -function MatPartitioningSetFromOptions(arg0::Type{Float64},arg1::MatPartitioning) - err = ccall((:MatPartitioningSetFromOptions,petscRealDouble),PetscErrorCode,(MatPartitioning,),arg1) - return err -end - -function MatPartitioningGetType(arg0::Type{Float64},arg1::MatPartitioning,arg2::Union{Ptr{MatPartitioningType},StridedArray{MatPartitioningType},Ptr{MatPartitioningType},Ref{MatPartitioningType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:MatPartitioningGetType,petscRealDouble),PetscErrorCode,(MatPartitioning,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function MatPartitioningParmetisSetCoarseSequential(arg0::Type{Float64},arg1::MatPartitioning) - err = ccall((:MatPartitioningParmetisSetCoarseSequential,petscRealDouble),PetscErrorCode,(MatPartitioning,),arg1) - return err -end - -function MatPartitioningParmetisGetEdgeCut(arg0::Type{Float64},arg1::MatPartitioning,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatPartitioningParmetisGetEdgeCut,petscRealDouble),PetscErrorCode,(MatPartitioning,Ptr{Int64}),arg1,arg2) - return err -end - -function MatPartitioningChacoSetGlobal(arg0::Type{Float64},arg1::MatPartitioning,arg2::MPChacoGlobalType) - err = ccall((:MatPartitioningChacoSetGlobal,petscRealDouble),PetscErrorCode,(MatPartitioning,MPChacoGlobalType),arg1,arg2) - return err -end - -function MatPartitioningChacoGetGlobal(arg0::Type{Float64},arg1::MatPartitioning,arg2::Union{Ptr{MPChacoGlobalType},StridedArray{MPChacoGlobalType},Ptr{MPChacoGlobalType},Ref{MPChacoGlobalType}}) - err = ccall((:MatPartitioningChacoGetGlobal,petscRealDouble),PetscErrorCode,(MatPartitioning,Ptr{MPChacoGlobalType}),arg1,arg2) - return err -end - -function MatPartitioningChacoSetLocal(arg0::Type{Float64},arg1::MatPartitioning,arg2::MPChacoLocalType) - err = ccall((:MatPartitioningChacoSetLocal,petscRealDouble),PetscErrorCode,(MatPartitioning,MPChacoLocalType),arg1,arg2) - return err -end - -function MatPartitioningChacoGetLocal(arg0::Type{Float64},arg1::MatPartitioning,arg2::Union{Ptr{MPChacoLocalType},StridedArray{MPChacoLocalType},Ptr{MPChacoLocalType},Ref{MPChacoLocalType}}) - err = ccall((:MatPartitioningChacoGetLocal,petscRealDouble),PetscErrorCode,(MatPartitioning,Ptr{MPChacoLocalType}),arg1,arg2) - return err -end - -function MatPartitioningChacoSetCoarseLevel(arg0::Type{Float64},arg1::MatPartitioning,arg2::Float64) - err = ccall((:MatPartitioningChacoSetCoarseLevel,petscRealDouble),PetscErrorCode,(MatPartitioning,Float64),arg1,arg2) - return err -end - -function MatPartitioningChacoSetEigenSolver(arg0::Type{Float64},arg1::MatPartitioning,arg2::MPChacoEigenType) - err = ccall((:MatPartitioningChacoSetEigenSolver,petscRealDouble),PetscErrorCode,(MatPartitioning,MPChacoEigenType),arg1,arg2) - return err -end - -function MatPartitioningChacoGetEigenSolver(arg0::Type{Float64},arg1::MatPartitioning,arg2::Union{Ptr{MPChacoEigenType},StridedArray{MPChacoEigenType},Ptr{MPChacoEigenType},Ref{MPChacoEigenType}}) - err = ccall((:MatPartitioningChacoGetEigenSolver,petscRealDouble),PetscErrorCode,(MatPartitioning,Ptr{MPChacoEigenType}),arg1,arg2) - return err -end - -function MatPartitioningChacoSetEigenTol(arg0::Type{Float64},arg1::MatPartitioning,arg2::Float64) - err = ccall((:MatPartitioningChacoSetEigenTol,petscRealDouble),PetscErrorCode,(MatPartitioning,Float64),arg1,arg2) - return err -end - -function MatPartitioningChacoGetEigenTol(arg0::Type{Float64},arg1::MatPartitioning,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:MatPartitioningChacoGetEigenTol,petscRealDouble),PetscErrorCode,(MatPartitioning,Ptr{Float64}),arg1,arg2) - return err -end - -function MatPartitioningChacoSetEigenNumber(arg0::Type{Float64},arg1::MatPartitioning,arg2::Integer) - err = ccall((:MatPartitioningChacoSetEigenNumber,petscRealDouble),PetscErrorCode,(MatPartitioning,Int64),arg1,arg2) - return err -end - -function MatPartitioningChacoGetEigenNumber(arg0::Type{Float64},arg1::MatPartitioning,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatPartitioningChacoGetEigenNumber,petscRealDouble),PetscErrorCode,(MatPartitioning,Ptr{Int64}),arg1,arg2) - return err -end - -function MatPartitioningPartySetGlobal(arg0::Type{Float64},arg1::MatPartitioning,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:MatPartitioningPartySetGlobal,petscRealDouble),PetscErrorCode,(MatPartitioning,Cstring),arg1,arg2) - return err -end - -function MatPartitioningPartySetLocal(arg0::Type{Float64},arg1::MatPartitioning,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:MatPartitioningPartySetLocal,petscRealDouble),PetscErrorCode,(MatPartitioning,Cstring),arg1,arg2) - return err -end - -function MatPartitioningPartySetCoarseLevel(arg0::Type{Float64},arg1::MatPartitioning,arg2::Float64) - err = ccall((:MatPartitioningPartySetCoarseLevel,petscRealDouble),PetscErrorCode,(MatPartitioning,Float64),arg1,arg2) - return err -end - -function MatPartitioningPartySetBipart(arg0::Type{Float64},arg1::MatPartitioning,arg2::PetscBool) - err = ccall((:MatPartitioningPartySetBipart,petscRealDouble),PetscErrorCode,(MatPartitioning,PetscBool),arg1,arg2) - return err -end - -function MatPartitioningPartySetMatchOptimization(arg0::Type{Float64},arg1::MatPartitioning,arg2::PetscBool) - err = ccall((:MatPartitioningPartySetMatchOptimization,petscRealDouble),PetscErrorCode,(MatPartitioning,PetscBool),arg1,arg2) - return err -end - -function MatPartitioningPTScotchSetImbalance(arg0::Type{Float64},arg1::MatPartitioning,arg2::Float64) - err = ccall((:MatPartitioningPTScotchSetImbalance,petscRealDouble),PetscErrorCode,(MatPartitioning,Float64),arg1,arg2) - return err -end - -function MatPartitioningPTScotchGetImbalance(arg0::Type{Float64},arg1::MatPartitioning,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:MatPartitioningPTScotchGetImbalance,petscRealDouble),PetscErrorCode,(MatPartitioning,Ptr{Float64}),arg1,arg2) - return err -end - -function MatPartitioningPTScotchSetStrategy(arg0::Type{Float64},arg1::MatPartitioning,arg2::MPPTScotchStrategyType) - err = ccall((:MatPartitioningPTScotchSetStrategy,petscRealDouble),PetscErrorCode,(MatPartitioning,MPPTScotchStrategyType),arg1,arg2) - return err -end - -function MatPartitioningPTScotchGetStrategy(arg0::Type{Float64},arg1::MatPartitioning,arg2::Union{Ptr{MPPTScotchStrategyType},StridedArray{MPPTScotchStrategyType},Ptr{MPPTScotchStrategyType},Ref{MPPTScotchStrategyType}}) - err = ccall((:MatPartitioningPTScotchGetStrategy,petscRealDouble),PetscErrorCode,(MatPartitioning,Ptr{MPPTScotchStrategyType}),arg1,arg2) - return err -end - -function MatCoarsenCreate(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{MatCoarsen},StridedArray{MatCoarsen},Ptr{MatCoarsen},Ref{MatCoarsen}}) - err = ccall((:MatCoarsenCreate,petscRealDouble),PetscErrorCode,(comm_type,Ptr{MatCoarsen}),arg1,arg2) - return err -end - -function MatCoarsenSetType(arg0::Type{Float64},arg1::MatCoarsen,arg2::MatCoarsenType) - err = ccall((:MatCoarsenSetType,petscRealDouble),PetscErrorCode,(MatCoarsen,Cstring),arg1,arg2) - return err -end - -function MatCoarsenSetAdjacency(arg1::MatCoarsen,arg2::Mat{Float64}) - err = ccall((:MatCoarsenSetAdjacency,petscRealDouble),PetscErrorCode,(MatCoarsen,Mat{Float64}),arg1,arg2) - return err -end - -function MatCoarsenSetGreedyOrdering(arg1::MatCoarsen,arg2::IS{Float64}) - err = ccall((:MatCoarsenSetGreedyOrdering,petscRealDouble),PetscErrorCode,(MatCoarsen,IS{Float64}),arg1,arg2) - return err -end - -function MatCoarsenSetStrictAggs(arg0::Type{Float64},arg1::MatCoarsen,arg2::PetscBool) - err = ccall((:MatCoarsenSetStrictAggs,petscRealDouble),PetscErrorCode,(MatCoarsen,PetscBool),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function MatCoarsenGetData(arg0::Type{Float64},arg1::MatCoarsen,arg2::Union{Ptr{Ptr{PetscCoarsenData}},StridedArray{Ptr{PetscCoarsenData}},Ptr{Ptr{PetscCoarsenData}},Ref{Ptr{PetscCoarsenData}}}) - ccall((:MatCoarsenGetData,petscRealDouble),PetscErrorCode,(MatCoarsen,Ptr{Ptr{PetscCoarsenData}}),arg1,arg2) -end -=# -function MatCoarsenApply(arg0::Type{Float64},arg1::MatCoarsen) - err = ccall((:MatCoarsenApply,petscRealDouble),PetscErrorCode,(MatCoarsen,),arg1) - return err -end - -function MatCoarsenDestroy(arg0::Type{Float64},arg1::Union{Ptr{MatCoarsen},StridedArray{MatCoarsen},Ptr{MatCoarsen},Ref{MatCoarsen}}) - err = ccall((:MatCoarsenDestroy,petscRealDouble),PetscErrorCode,(Ptr{MatCoarsen},),arg1) - return err -end - -function MatCoarsenRegister(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatCoarsenRegister,petscRealDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function MatCoarsenView(arg1::MatCoarsen,arg2::PetscViewer{Float64}) - err = ccall((:MatCoarsenView,petscRealDouble),PetscErrorCode,(MatCoarsen,PetscViewer{Float64}),arg1,arg2) - return err -end - -function MatCoarsenSetFromOptions(arg0::Type{Float64},arg1::MatCoarsen) - err = ccall((:MatCoarsenSetFromOptions,petscRealDouble),PetscErrorCode,(MatCoarsen,),arg1) - return err -end - -function MatCoarsenGetType(arg0::Type{Float64},arg1::MatCoarsen,arg2::Union{Ptr{MatCoarsenType},StridedArray{MatCoarsenType},Ptr{MatCoarsenType},Ref{MatCoarsenType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:MatCoarsenGetType,petscRealDouble),PetscErrorCode,(MatCoarsen,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function MatCoarsenViewFromOptions(arg0::Type{Float64},A::MatCoarsen,obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:MatCoarsenViewFromOptions,petscRealDouble),PetscErrorCode,(MatCoarsen,PetscObject,Cstring),A,obj,name) - return err -end - -function MatMeshToVertexGraph(arg1::Mat{Float64},arg2::Integer,arg3::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatMeshToVertexGraph,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Ptr{Mat{Float64}}),arg1,arg2,arg3) - return err -end - -function MatMeshToCellGraph(arg1::Mat{Float64},arg2::Integer,arg3::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatMeshToCellGraph,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Ptr{Mat{Float64}}),arg1,arg2,arg3) - return err -end - -function MatHasOperation(arg1::Mat{Float64},arg2::MatOperation,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatHasOperation,petscRealDouble),PetscErrorCode,(Mat{Float64},MatOperation,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function MatShellSetOperation(arg1::Mat{Float64},arg2::MatOperation,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatShellSetOperation,petscRealDouble),PetscErrorCode,(Mat{Float64},MatOperation,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function MatShellGetOperation(arg1::Mat{Float64},arg2::MatOperation,arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:MatShellGetOperation,petscRealDouble),PetscErrorCode,(Mat{Float64},MatOperation,Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function MatShellSetContext(arg1::Mat{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatShellSetContext,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Void}),arg1,arg2) - return err -end - -function MatMPIBAIJSetHashTableFactor(arg1::Mat{Float64},arg2::Float64) - err = ccall((:MatMPIBAIJSetHashTableFactor,petscRealDouble),PetscErrorCode,(Mat{Float64},Float64),arg1,arg2) - return err -end - -function MatISGetLocalMat(arg1::Mat{Float64},arg2::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatISGetLocalMat,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Mat{Float64}}),arg1,arg2) - return err -end - -function MatISSetLocalMat(arg1::Mat{Float64},arg2::Mat{Float64}) - err = ccall((:MatISSetLocalMat,petscRealDouble),PetscErrorCode,(Mat{Float64},Mat{Float64}),arg1,arg2) - return err -end - -function MatISGetMPIXAIJ(arg1::Mat{Float64},arg2::MatReuse,arg3::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatISGetMPIXAIJ,petscRealDouble),PetscErrorCode,(Mat{Float64},MatReuse,Ptr{Mat{Float64}}),arg1,arg2,arg3) - return err -end - -function MatNullSpaceCreate(arg1::MPI_Comm,arg2::PetscBool,arg3::Integer,arg4::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}},arg5::Union{Ptr{MatNullSpace},StridedArray{MatNullSpace},Ptr{MatNullSpace},Ref{MatNullSpace}}) - err = ccall((:MatNullSpaceCreate,petscRealDouble),PetscErrorCode,(comm_type,PetscBool,Int64,Ptr{Vec{Float64}},Ptr{MatNullSpace}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatNullSpaceSetFunction(arg0::Type{Float64},arg1::MatNullSpace,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatNullSpaceSetFunction,petscRealDouble),PetscErrorCode,(MatNullSpace,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function MatNullSpaceDestroy(arg0::Type{Float64},arg1::Union{Ptr{MatNullSpace},StridedArray{MatNullSpace},Ptr{MatNullSpace},Ref{MatNullSpace}}) - err = ccall((:MatNullSpaceDestroy,petscRealDouble),PetscErrorCode,(Ptr{MatNullSpace},),arg1) - return err -end - -function MatNullSpaceRemove(arg1::MatNullSpace,arg2::Vec{Float64}) - err = ccall((:MatNullSpaceRemove,petscRealDouble),PetscErrorCode,(MatNullSpace,Vec{Float64}),arg1,arg2) - return err -end - -function MatGetNullSpace(arg1::Mat{Float64},arg2::Union{Ptr{MatNullSpace},StridedArray{MatNullSpace},Ptr{MatNullSpace},Ref{MatNullSpace}}) - err = ccall((:MatGetNullSpace,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{MatNullSpace}),arg1,arg2) - return err -end - -function MatGetTransposeNullSpace(arg1::Mat{Float64},arg2::Union{Ptr{MatNullSpace},StridedArray{MatNullSpace},Ptr{MatNullSpace},Ref{MatNullSpace}}) - err = ccall((:MatGetTransposeNullSpace,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{MatNullSpace}),arg1,arg2) - return err -end - -function MatSetTransposeNullSpace(arg1::Mat{Float64},arg2::MatNullSpace) - err = ccall((:MatSetTransposeNullSpace,petscRealDouble),PetscErrorCode,(Mat{Float64},MatNullSpace),arg1,arg2) - return err -end - -function MatSetNullSpace(arg1::Mat{Float64},arg2::MatNullSpace) - err = ccall((:MatSetNullSpace,petscRealDouble),PetscErrorCode,(Mat{Float64},MatNullSpace),arg1,arg2) - return err -end - -function MatSetNearNullSpace(arg1::Mat{Float64},arg2::MatNullSpace) - err = ccall((:MatSetNearNullSpace,petscRealDouble),PetscErrorCode,(Mat{Float64},MatNullSpace),arg1,arg2) - return err -end - -function MatGetNearNullSpace(arg1::Mat{Float64},arg2::Union{Ptr{MatNullSpace},StridedArray{MatNullSpace},Ptr{MatNullSpace},Ref{MatNullSpace}}) - err = ccall((:MatGetNearNullSpace,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{MatNullSpace}),arg1,arg2) - return err -end - -function MatNullSpaceTest(arg1::MatNullSpace,arg2::Mat{Float64},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatNullSpaceTest,petscRealDouble),PetscErrorCode,(MatNullSpace,Mat{Float64},Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function MatNullSpaceView(arg1::MatNullSpace,arg2::PetscViewer{Float64}) - err = ccall((:MatNullSpaceView,petscRealDouble),PetscErrorCode,(MatNullSpace,PetscViewer{Float64}),arg1,arg2) - return err -end - -function MatNullSpaceGetVecs(arg1::MatNullSpace,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{Vec{Float64}}},StridedArray{Ptr{Vec{Float64}}},Ptr{Ptr{Vec{Float64}}},Ref{Ptr{Vec{Float64}}}}) - err = ccall((:MatNullSpaceGetVecs,petscRealDouble),PetscErrorCode,(MatNullSpace,Ptr{PetscBool},Ptr{Int64},Ptr{Ptr{Vec{Float64}}}),arg1,arg2,arg3,arg4) - return err -end - -function MatNullSpaceCreateRigidBody(arg1::Vec{Float64},arg2::Union{Ptr{MatNullSpace},StridedArray{MatNullSpace},Ptr{MatNullSpace},Ref{MatNullSpace}}) - err = ccall((:MatNullSpaceCreateRigidBody,petscRealDouble),PetscErrorCode,(Vec{Float64},Ptr{MatNullSpace}),arg1,arg2) - return err -end - -function MatReorderingSeqSBAIJ(arg1::Mat{Float64},arg2::IS{Float64}) - err = ccall((:MatReorderingSeqSBAIJ,petscRealDouble),PetscErrorCode,(Mat{Float64},IS{Float64}),arg1,arg2) - return err -end - -function MatMPISBAIJSetHashTableFactor(arg1::Mat{Float64},arg2::Float64) - err = ccall((:MatMPISBAIJSetHashTableFactor,petscRealDouble),PetscErrorCode,(Mat{Float64},Float64),arg1,arg2) - return err -end - -function MatSeqSBAIJSetColumnIndices(arg1::Mat{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatSeqSBAIJSetColumnIndices,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Int64}),arg1,arg2) - return err -end - -function MatSeqBAIJInvertBlockDiagonal(arg1::Mat{Float64}) - err = ccall((:MatSeqBAIJInvertBlockDiagonal,petscRealDouble),PetscErrorCode,(Mat{Float64},),arg1) - return err -end - -function MatCreateMAIJ(arg1::Mat{Float64},arg2::Integer,arg3::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateMAIJ,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Ptr{Mat{Float64}}),arg1,arg2,arg3) - return err -end - -function MatMAIJRedimension(arg1::Mat{Float64},arg2::Integer,arg3::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatMAIJRedimension,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Ptr{Mat{Float64}}),arg1,arg2,arg3) - return err -end - -function MatMAIJGetAIJ(arg1::Mat{Float64},arg2::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatMAIJGetAIJ,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Mat{Float64}}),arg1,arg2) - return err -end - -function MatComputeExplicitOperator(arg1::Mat{Float64},arg2::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatComputeExplicitOperator,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Mat{Float64}}),arg1,arg2) - return err -end - -function MatDiagonalScaleLocal(arg1::Mat{Float64},arg2::Vec{Float64}) - err = ccall((:MatDiagonalScaleLocal,petscRealDouble),PetscErrorCode,(Mat{Float64},Vec{Float64}),arg1,arg2) - return err -end - -function MatCreateMFFD(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateMFFD,petscRealDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatMFFDSetBase(arg1::Mat{Float64},arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:MatMFFDSetBase,petscRealDouble),PetscErrorCode,(Mat{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function MatMFFDSetFunction(arg1::Mat{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatMFFDSetFunction,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function MatMFFDSetFunctioni(arg1::Mat{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatMFFDSetFunctioni,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Void}),arg1,arg2) - return err -end - -function MatMFFDSetFunctioniBase(arg1::Mat{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatMFFDSetFunctioniBase,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Void}),arg1,arg2) - return err -end - -function MatMFFDAddNullSpace(arg1::Mat{Float64},arg2::MatNullSpace) - err = ccall((:MatMFFDAddNullSpace,petscRealDouble),PetscErrorCode,(Mat{Float64},MatNullSpace),arg1,arg2) - return err -end - -function MatMFFDSetHHistory(arg1::Mat{Float64},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Integer) - err = ccall((:MatMFFDSetHHistory,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Float64},Int64),arg1,arg2,arg3) - return err -end - -function MatMFFDResetHHistory(arg1::Mat{Float64}) - err = ccall((:MatMFFDResetHHistory,petscRealDouble),PetscErrorCode,(Mat{Float64},),arg1) - return err -end - -function MatMFFDSetFunctionError(arg1::Mat{Float64},arg2::Float64) - err = ccall((:MatMFFDSetFunctionError,petscRealDouble),PetscErrorCode,(Mat{Float64},Float64),arg1,arg2) - return err -end - -function MatMFFDSetPeriod(arg1::Mat{Float64},arg2::Integer) - err = ccall((:MatMFFDSetPeriod,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64),arg1,arg2) - return err -end - -function MatMFFDGetH(arg1::Mat{Float64},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:MatMFFDGetH,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Float64}),arg1,arg2) - return err -end - -function MatMFFDSetOptionsPrefix(arg1::Mat{Float64},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:MatMFFDSetOptionsPrefix,petscRealDouble),PetscErrorCode,(Mat{Float64},Cstring),arg1,arg2) - return err -end - -function MatMFFDCheckPositivity(arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg2::Vec{Float64},arg3::Vec{Float64},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:MatMFFDCheckPositivity,petscRealDouble),PetscErrorCode,(Ptr{Void},Vec{Float64},Vec{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function MatMFFDSetCheckh(arg1::Mat{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatMFFDSetCheckh,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function MatMFFDSetType(arg1::Mat{Float64},arg2::MatMFFDType) - err = ccall((:MatMFFDSetType,petscRealDouble),PetscErrorCode,(Mat{Float64},Cstring),arg1,arg2) - return err -end - -function MatMFFDRegister(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatMFFDRegister,petscRealDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function MatMFFDDSSetUmin(arg1::Mat{Float64},arg2::Float64) - err = ccall((:MatMFFDDSSetUmin,petscRealDouble),PetscErrorCode,(Mat{Float64},Float64),arg1,arg2) - return err -end - -function MatMFFDWPSetComputeNormU(arg1::Mat{Float64},arg2::PetscBool) - err = ccall((:MatMFFDWPSetComputeNormU,petscRealDouble),PetscErrorCode,(Mat{Float64},PetscBool),arg1,arg2) - return err -end - -function PetscViewerMathematicaPutMatrix(arg1::PetscViewer{Float64},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscViewerMathematicaPutMatrix,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Int64,Int64,Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function PetscViewerMathematicaPutCSRMatrix(arg1::PetscViewer{Float64},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscViewerMathematicaPutCSRMatrix,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},Int64,Int64,Ptr{Int64},Ptr{Int64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatCreateNest(arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}},arg4::Integer,arg5::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}},arg6::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}},arg7::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateNest,petscRealDouble),PetscErrorCode,(comm_type,Int64,Ptr{IS{Float64}},Int64,Ptr{IS{Float64}},Ptr{Mat{Float64}},Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function MatNestGetSize(arg1::Mat{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatNestGetSize,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function MatNestGetISs(arg1::Mat{Float64},arg2::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}},arg3::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:MatNestGetISs,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{IS{Float64}},Ptr{IS{Float64}}),arg1,arg2,arg3) - return err -end - -function MatNestGetLocalISs(arg1::Mat{Float64},arg2::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}},arg3::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:MatNestGetLocalISs,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{IS{Float64}},Ptr{IS{Float64}}),arg1,arg2,arg3) - return err -end - -function MatNestGetSubMats(arg1::Mat{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{Ptr{Mat{Float64}}}},StridedArray{Ptr{Ptr{Mat{Float64}}}},Ptr{Ptr{Ptr{Mat{Float64}}}},Ref{Ptr{Ptr{Mat{Float64}}}}}) - err = ccall((:MatNestGetSubMats,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Int64},Ptr{Int64},Ptr{Ptr{Ptr{Mat{Float64}}}}),arg1,arg2,arg3,arg4) - return err -end - -function MatNestGetSubMat(arg1::Mat{Float64},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatNestGetSubMat,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Int64,Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function MatNestSetVecType(arg1::Mat{Float64},arg2::VecType) - err = ccall((:MatNestSetVecType,petscRealDouble),PetscErrorCode,(Mat{Float64},Cstring),arg1,arg2) - return err -end - -function MatNestSetSubMats(arg1::Mat{Float64},arg2::Integer,arg3::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}},arg4::Integer,arg5::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}},arg6::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatNestSetSubMats,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Ptr{IS{Float64}},Int64,Ptr{IS{Float64}},Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatNestSetSubMat(arg1::Mat{Float64},arg2::Integer,arg3::Integer,arg4::Mat{Float64}) - err = ccall((:MatNestSetSubMat,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Int64,Mat{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function MatChop(arg1::Mat{Float64},arg2::Float64) - err = ccall((:MatChop,petscRealDouble),PetscErrorCode,(Mat{Float64},Float64),arg1,arg2) - return err -end - -function MatComputeBandwidth(arg1::Mat{Float64},arg2::Float64,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatComputeBandwidth,petscRealDouble),PetscErrorCode,(Mat{Float64},Float64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function MatSubdomainsCreateCoalesce(arg1::Mat{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{IS{Float64}}},StridedArray{Ptr{IS{Float64}}},Ptr{Ptr{IS{Float64}}},Ref{Ptr{IS{Float64}}}}) - err = ccall((:MatSubdomainsCreateCoalesce,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Ptr{Int64},Ptr{Ptr{IS{Float64}}}),arg1,arg2,arg3,arg4) - return err -end - -function DMInitializePackage(arg0::Type{Float64}) - err = ccall((:DMInitializePackage,petscRealDouble),PetscErrorCode,()) - return err -end - -function DMCreate(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMCreate,petscRealDouble),PetscErrorCode,(comm_type,Ptr{DM}),arg1,arg2) - return err -end - -function DMClone(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMClone,petscRealDouble),PetscErrorCode,(DM,Ptr{DM}),arg1,arg2) - return err -end - -function DMSetType(arg0::Type{Float64},arg1::DM,arg2::DMType) - err = ccall((:DMSetType,petscRealDouble),PetscErrorCode,(DM,Cstring),arg1,arg2) - return err -end - -function DMGetType(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{DMType},StridedArray{DMType},Ptr{DMType},Ref{DMType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:DMGetType,petscRealDouble),PetscErrorCode,(DM,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function DMRegister(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMRegister,petscRealDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function DMRegisterDestroy(arg0::Type{Float64}) - err = ccall((:DMRegisterDestroy,petscRealDouble),PetscErrorCode,()) - return err -end - -function DMView(arg1::DM,arg2::PetscViewer{Float64}) - err = ccall((:DMView,petscRealDouble),PetscErrorCode,(DM,PetscViewer{Float64}),arg1,arg2) - return err -end - -function DMLoad(arg1::DM,arg2::PetscViewer{Float64}) - err = ccall((:DMLoad,petscRealDouble),PetscErrorCode,(DM,PetscViewer{Float64}),arg1,arg2) - return err -end - -function DMDestroy(arg0::Type{Float64},arg1::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMDestroy,petscRealDouble),PetscErrorCode,(Ptr{DM},),arg1) - return err -end - -function DMCreateGlobalVector(arg1::DM,arg2::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:DMCreateGlobalVector,petscRealDouble),PetscErrorCode,(DM,Ptr{Vec{Float64}}),arg1,arg2) - return err -end - -function DMCreateLocalVector(arg1::DM,arg2::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:DMCreateLocalVector,petscRealDouble),PetscErrorCode,(DM,Ptr{Vec{Float64}}),arg1,arg2) - return err -end - -function DMGetLocalVector(arg1::DM,arg2::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:DMGetLocalVector,petscRealDouble),PetscErrorCode,(DM,Ptr{Vec{Float64}}),arg1,arg2) - return err -end - -function DMRestoreLocalVector(arg1::DM,arg2::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:DMRestoreLocalVector,petscRealDouble),PetscErrorCode,(DM,Ptr{Vec{Float64}}),arg1,arg2) - return err -end - -function DMGetGlobalVector(arg1::DM,arg2::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:DMGetGlobalVector,petscRealDouble),PetscErrorCode,(DM,Ptr{Vec{Float64}}),arg1,arg2) - return err -end - -function DMRestoreGlobalVector(arg1::DM,arg2::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:DMRestoreGlobalVector,petscRealDouble),PetscErrorCode,(DM,Ptr{Vec{Float64}}),arg1,arg2) - return err -end - -function DMClearGlobalVectors(arg0::Type{Float64},arg1::DM) - err = ccall((:DMClearGlobalVectors,petscRealDouble),PetscErrorCode,(DM,),arg1) - return err -end - -function DMGetNamedGlobalVector(arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:DMGetNamedGlobalVector,petscRealDouble),PetscErrorCode,(DM,Cstring,Ptr{Vec{Float64}}),arg1,arg2,arg3) - return err -end - -function DMRestoreNamedGlobalVector(arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:DMRestoreNamedGlobalVector,petscRealDouble),PetscErrorCode,(DM,Cstring,Ptr{Vec{Float64}}),arg1,arg2,arg3) - return err -end - -function DMGetNamedLocalVector(arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:DMGetNamedLocalVector,petscRealDouble),PetscErrorCode,(DM,Cstring,Ptr{Vec{Float64}}),arg1,arg2,arg3) - return err -end - -function DMRestoreNamedLocalVector(arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:DMRestoreNamedLocalVector,petscRealDouble),PetscErrorCode,(DM,Cstring,Ptr{Vec{Float64}}),arg1,arg2,arg3) - return err -end - -function DMGetLocalToGlobalMapping(arg1::DM,arg2::Union{Ptr{ISLocalToGlobalMapping{Float64}},StridedArray{ISLocalToGlobalMapping{Float64}},Ptr{ISLocalToGlobalMapping{Float64}},Ref{ISLocalToGlobalMapping{Float64}}}) - err = ccall((:DMGetLocalToGlobalMapping,petscRealDouble),PetscErrorCode,(DM,Ptr{ISLocalToGlobalMapping{Float64}}),arg1,arg2) - return err -end - -function DMCreateFieldIS(arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}},arg4::Union{Ptr{Ptr{IS{Float64}}},StridedArray{Ptr{IS{Float64}}},Ptr{Ptr{IS{Float64}}},Ref{Ptr{IS{Float64}}}}) - err = ccall((:DMCreateFieldIS,petscRealDouble),PetscErrorCode,(DM,Ptr{Int64},Ptr{Ptr{Ptr{UInt8}}},Ptr{Ptr{IS{Float64}}}),arg1,arg2,arg3,arg4) - return err -end - -function DMGetBlockSize(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMGetBlockSize,petscRealDouble),PetscErrorCode,(DM,Ptr{Int64}),arg1,arg2) - return err -end - -function DMCreateColoring(arg1::DM,arg2::ISColoringType,arg3::Union{Ptr{ISColoring{Float64}},StridedArray{ISColoring{Float64}},Ptr{ISColoring{Float64}},Ref{ISColoring{Float64}}}) - err = ccall((:DMCreateColoring,petscRealDouble),PetscErrorCode,(DM,ISColoringType,Ptr{ISColoring{Float64}}),arg1,arg2,arg3) - return err -end - -function DMCreateMatrix(arg1::DM,arg2::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:DMCreateMatrix,petscRealDouble),PetscErrorCode,(DM,Ptr{Mat{Float64}}),arg1,arg2) - return err -end - -function DMSetMatrixPreallocateOnly(arg0::Type{Float64},arg1::DM,arg2::PetscBool) - err = ccall((:DMSetMatrixPreallocateOnly,petscRealDouble),PetscErrorCode,(DM,PetscBool),arg1,arg2) - return err -end - -function DMCreateInterpolation(arg1::DM,arg2::DM,arg3::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}},arg4::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:DMCreateInterpolation,petscRealDouble),PetscErrorCode,(DM,DM,Ptr{Mat{Float64}},Ptr{Vec{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function DMCreateInjection(arg1::DM,arg2::DM,arg3::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:DMCreateInjection,petscRealDouble),PetscErrorCode,(DM,DM,Ptr{Mat{Float64}}),arg1,arg2,arg3) - return err -end - -function DMGetWorkArray(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::PetscDataType,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMGetWorkArray,petscRealDouble),PetscErrorCode,(DM,Int64,PetscDataType,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMRestoreWorkArray(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::PetscDataType,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMRestoreWorkArray,petscRealDouble),PetscErrorCode,(DM,Int64,PetscDataType,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMRefine(arg0::Type{Float64},arg1::DM,arg2::MPI_Comm,arg3::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMRefine,petscRealDouble),PetscErrorCode,(DM,comm_type,Ptr{DM}),arg1,arg2,arg3) - return err -end - -function DMCoarsen(arg0::Type{Float64},arg1::DM,arg2::MPI_Comm,arg3::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMCoarsen,petscRealDouble),PetscErrorCode,(DM,comm_type,Ptr{DM}),arg1,arg2,arg3) - return err -end - -function DMRefineHierarchy(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMRefineHierarchy,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{DM}),arg1,arg2,arg3) - return err -end - -function DMCoarsenHierarchy(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMCoarsenHierarchy,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{DM}),arg1,arg2,arg3) - return err -end - -function DMCoarsenHookAdd(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMCoarsenHookAdd,petscRealDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMRefineHookAdd(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMRefineHookAdd,petscRealDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMRestrict(arg1::DM,arg2::Mat{Float64},arg3::Vec{Float64},arg4::Mat{Float64},arg5::DM) - err = ccall((:DMRestrict,petscRealDouble),PetscErrorCode,(DM,Mat{Float64},Vec{Float64},Mat{Float64},DM),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMInterpolate(arg1::DM,arg2::Mat{Float64},arg3::DM) - err = ccall((:DMInterpolate,petscRealDouble),PetscErrorCode,(DM,Mat{Float64},DM),arg1,arg2,arg3) - return err -end - -function DMSetFromOptions(arg0::Type{Float64},arg1::DM) - err = ccall((:DMSetFromOptions,petscRealDouble),PetscErrorCode,(DM,),arg1) - return err -end - -function DMViewFromOptions(arg0::Type{Float64},A::DM,obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:DMViewFromOptions,petscRealDouble),PetscErrorCode,(DM,PetscObject,Cstring),A,obj,name) - return err -end - -function DMSetUp(arg0::Type{Float64},arg1::DM) - err = ccall((:DMSetUp,petscRealDouble),PetscErrorCode,(DM,),arg1) - return err -end - -function DMCreateInterpolationScale(arg1::DM,arg2::DM,arg3::Mat{Float64},arg4::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:DMCreateInterpolationScale,petscRealDouble),PetscErrorCode,(DM,DM,Mat{Float64},Ptr{Vec{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function DMCreateAggregates(arg1::DM,arg2::DM,arg3::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:DMCreateAggregates,petscRealDouble),PetscErrorCode,(DM,DM,Ptr{Mat{Float64}}),arg1,arg2,arg3) - return err -end - -function DMGlobalToLocalHookAdd(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMGlobalToLocalHookAdd,petscRealDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMLocalToGlobalHookAdd(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMLocalToGlobalHookAdd,petscRealDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMGlobalToLocalBegin(arg1::DM,arg2::Vec{Float64},arg3::InsertMode,arg4::Vec{Float64}) - err = ccall((:DMGlobalToLocalBegin,petscRealDouble),PetscErrorCode,(DM,Vec{Float64},InsertMode,Vec{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function DMGlobalToLocalEnd(arg1::DM,arg2::Vec{Float64},arg3::InsertMode,arg4::Vec{Float64}) - err = ccall((:DMGlobalToLocalEnd,petscRealDouble),PetscErrorCode,(DM,Vec{Float64},InsertMode,Vec{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function DMLocalToGlobalBegin(arg1::DM,arg2::Vec{Float64},arg3::InsertMode,arg4::Vec{Float64}) - err = ccall((:DMLocalToGlobalBegin,petscRealDouble),PetscErrorCode,(DM,Vec{Float64},InsertMode,Vec{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function DMLocalToGlobalEnd(arg1::DM,arg2::Vec{Float64},arg3::InsertMode,arg4::Vec{Float64}) - err = ccall((:DMLocalToGlobalEnd,petscRealDouble),PetscErrorCode,(DM,Vec{Float64},InsertMode,Vec{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function DMLocalToLocalBegin(arg1::DM,arg2::Vec{Float64},arg3::InsertMode,arg4::Vec{Float64}) - err = ccall((:DMLocalToLocalBegin,petscRealDouble),PetscErrorCode,(DM,Vec{Float64},InsertMode,Vec{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function DMLocalToLocalEnd(arg1::DM,arg2::Vec{Float64},arg3::InsertMode,arg4::Vec{Float64}) - err = ccall((:DMLocalToLocalEnd,petscRealDouble),PetscErrorCode,(DM,Vec{Float64},InsertMode,Vec{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function DMConvert(arg0::Type{Float64},arg1::DM,arg2::DMType,arg3::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMConvert,petscRealDouble),PetscErrorCode,(DM,Cstring,Ptr{DM}),arg1,arg2,arg3) - return err -end - -function DMGetDimension(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMGetDimension,petscRealDouble),PetscErrorCode,(DM,Ptr{Int64}),arg1,arg2) - return err -end - -function DMSetDimension(arg0::Type{Float64},arg1::DM,arg2::Integer) - err = ccall((:DMSetDimension,petscRealDouble),PetscErrorCode,(DM,Int64),arg1,arg2) - return err -end - -function DMGetDimPoints(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMGetDimPoints,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMGetCoordinateDM(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMGetCoordinateDM,petscRealDouble),PetscErrorCode,(DM,Ptr{DM}),arg1,arg2) - return err -end - -function DMSetCoordinateDM(arg0::Type{Float64},arg1::DM,arg2::DM) - err = ccall((:DMSetCoordinateDM,petscRealDouble),PetscErrorCode,(DM,DM),arg1,arg2) - return err -end - -function DMGetCoordinateDim(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMGetCoordinateDim,petscRealDouble),PetscErrorCode,(DM,Ptr{Int64}),arg1,arg2) - return err -end - -function DMSetCoordinateDim(arg0::Type{Float64},arg1::DM,arg2::Integer) - err = ccall((:DMSetCoordinateDim,petscRealDouble),PetscErrorCode,(DM,Int64),arg1,arg2) - return err -end - -function DMGetCoordinateSection(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:DMGetCoordinateSection,petscRealDouble),PetscErrorCode,(DM,Ptr{PetscSection}),arg1,arg2) - return err -end - -function DMSetCoordinateSection(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::PetscSection) - err = ccall((:DMSetCoordinateSection,petscRealDouble),PetscErrorCode,(DM,Int64,PetscSection),arg1,arg2,arg3) - return err -end - -function DMGetCoordinates(arg1::DM,arg2::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:DMGetCoordinates,petscRealDouble),PetscErrorCode,(DM,Ptr{Vec{Float64}}),arg1,arg2) - return err -end - -function DMSetCoordinates(arg1::DM,arg2::Vec{Float64}) - err = ccall((:DMSetCoordinates,petscRealDouble),PetscErrorCode,(DM,Vec{Float64}),arg1,arg2) - return err -end - -function DMGetCoordinatesLocal(arg1::DM,arg2::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:DMGetCoordinatesLocal,petscRealDouble),PetscErrorCode,(DM,Ptr{Vec{Float64}}),arg1,arg2) - return err -end - -function DMSetCoordinatesLocal(arg1::DM,arg2::Vec{Float64}) - err = ccall((:DMSetCoordinatesLocal,petscRealDouble),PetscErrorCode,(DM,Vec{Float64}),arg1,arg2) - return err -end - -function DMLocatePoints(arg1::DM,arg2::Vec{Float64},arg3::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:DMLocatePoints,petscRealDouble),PetscErrorCode,(DM,Vec{Float64},Ptr{IS{Float64}}),arg1,arg2,arg3) - return err -end - -function DMGetPeriodicity(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg3::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg4::Union{Ptr{Ptr{DMBoundaryType}},StridedArray{Ptr{DMBoundaryType}},Ptr{Ptr{DMBoundaryType}},Ref{Ptr{DMBoundaryType}}}) - err = ccall((:DMGetPeriodicity,petscRealDouble),PetscErrorCode,(DM,Ptr{Ptr{Float64}},Ptr{Ptr{Float64}},Ptr{Ptr{DMBoundaryType}}),arg1,arg2,arg3,arg4) - return err -end - -function DMSetPeriodicity(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{DMBoundaryType},StridedArray{DMBoundaryType},Ptr{DMBoundaryType},Ref{DMBoundaryType}}) - err = ccall((:DMSetPeriodicity,petscRealDouble),PetscErrorCode,(DM,Ptr{Float64},Ptr{Float64},Ptr{DMBoundaryType}),arg1,arg2,arg3,arg4) - return err -end - -function DMSubDomainHookAdd(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMSubDomainHookAdd,petscRealDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMSubDomainRestrict(arg1::DM,arg2::VecScatter{Float64},arg3::VecScatter{Float64},arg4::DM) - err = ccall((:DMSubDomainRestrict,petscRealDouble),PetscErrorCode,(DM,VecScatter{Float64},VecScatter{Float64},DM),arg1,arg2,arg3,arg4) - return err -end - -function DMSetOptionsPrefix(arg0::Type{Float64},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:DMSetOptionsPrefix,petscRealDouble),PetscErrorCode,(DM,Cstring),arg1,arg2) - return err -end - -function DMSetVecType(arg0::Type{Float64},arg1::DM,arg2::VecType) - err = ccall((:DMSetVecType,petscRealDouble),PetscErrorCode,(DM,Cstring),arg1,arg2) - return err -end - -function DMGetVecType(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{VecType},StridedArray{VecType},Ptr{VecType},Ref{VecType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:DMGetVecType,petscRealDouble),PetscErrorCode,(DM,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function DMSetMatType(arg0::Type{Float64},arg1::DM,arg2::MatType) - err = ccall((:DMSetMatType,petscRealDouble),PetscErrorCode,(DM,Cstring),arg1,arg2) - return err -end - -function DMGetMatType(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{MatType},StridedArray{MatType},Ptr{MatType},Ref{MatType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:DMGetMatType,petscRealDouble),PetscErrorCode,(DM,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function DMSetApplicationContext(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMSetApplicationContext,petscRealDouble),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMSetApplicationContextDestroy(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMSetApplicationContextDestroy,petscRealDouble),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMGetApplicationContext(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMGetApplicationContext,petscRealDouble),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMSetVariableBounds(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMSetVariableBounds,petscRealDouble),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMHasVariableBounds(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:DMHasVariableBounds,petscRealDouble),PetscErrorCode,(DM,Ptr{PetscBool}),arg1,arg2) - return err -end - -function DMHasColoring(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:DMHasColoring,petscRealDouble),PetscErrorCode,(DM,Ptr{PetscBool}),arg1,arg2) - return err -end - -function DMComputeVariableBounds(arg1::DM,arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:DMComputeVariableBounds,petscRealDouble),PetscErrorCode,(DM,Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function DMCreateSubDM(arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}},arg5::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMCreateSubDM,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{IS{Float64}},Ptr{DM}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMCreateFieldDecomposition(arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}},arg4::Union{Ptr{Ptr{IS{Float64}}},StridedArray{Ptr{IS{Float64}}},Ptr{Ptr{IS{Float64}}},Ref{Ptr{IS{Float64}}}},arg5::Union{Ptr{Ptr{DM}},StridedArray{Ptr{DM}},Ptr{Ptr{DM}},Ref{Ptr{DM}}}) - err = ccall((:DMCreateFieldDecomposition,petscRealDouble),PetscErrorCode,(DM,Ptr{Int64},Ptr{Ptr{Ptr{UInt8}}},Ptr{Ptr{IS{Float64}}},Ptr{Ptr{DM}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMCreateDomainDecomposition(arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}},arg4::Union{Ptr{Ptr{IS{Float64}}},StridedArray{Ptr{IS{Float64}}},Ptr{Ptr{IS{Float64}}},Ref{Ptr{IS{Float64}}}},arg5::Union{Ptr{Ptr{IS{Float64}}},StridedArray{Ptr{IS{Float64}}},Ptr{Ptr{IS{Float64}}},Ref{Ptr{IS{Float64}}}},arg6::Union{Ptr{Ptr{DM}},StridedArray{Ptr{DM}},Ptr{Ptr{DM}},Ref{Ptr{DM}}}) - err = ccall((:DMCreateDomainDecomposition,petscRealDouble),PetscErrorCode,(DM,Ptr{Int64},Ptr{Ptr{Ptr{UInt8}}},Ptr{Ptr{IS{Float64}}},Ptr{Ptr{IS{Float64}}},Ptr{Ptr{DM}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMCreateDomainDecompositionScatters(arg1::DM,arg2::Integer,arg3::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}},arg4::Union{Ptr{Ptr{VecScatter{Float64}}},StridedArray{Ptr{VecScatter{Float64}}},Ptr{Ptr{VecScatter{Float64}}},Ref{Ptr{VecScatter{Float64}}}},arg5::Union{Ptr{Ptr{VecScatter{Float64}}},StridedArray{Ptr{VecScatter{Float64}}},Ptr{Ptr{VecScatter{Float64}}},Ref{Ptr{VecScatter{Float64}}}},arg6::Union{Ptr{Ptr{VecScatter{Float64}}},StridedArray{Ptr{VecScatter{Float64}}},Ptr{Ptr{VecScatter{Float64}}},Ref{Ptr{VecScatter{Float64}}}}) - err = ccall((:DMCreateDomainDecompositionScatters,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{DM},Ptr{Ptr{VecScatter{Float64}}},Ptr{Ptr{VecScatter{Float64}}},Ptr{Ptr{VecScatter{Float64}}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMGetRefineLevel(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMGetRefineLevel,petscRealDouble),PetscErrorCode,(DM,Ptr{Int64}),arg1,arg2) - return err -end - -function DMGetCoarsenLevel(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMGetCoarsenLevel,petscRealDouble),PetscErrorCode,(DM,Ptr{Int64}),arg1,arg2) - return err -end - -function DMFinalizePackage(arg0::Type{Float64}) - err = ccall((:DMFinalizePackage,petscRealDouble),PetscErrorCode,()) - return err -end - -function VecGetDM(arg1::Vec{Float64},arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:VecGetDM,petscRealDouble),PetscErrorCode,(Vec{Float64},Ptr{DM}),arg1,arg2) - return err -end - -function VecSetDM(arg1::Vec{Float64},arg2::DM) - err = ccall((:VecSetDM,petscRealDouble),PetscErrorCode,(Vec{Float64},DM),arg1,arg2) - return err -end - -function MatGetDM(arg1::Mat{Float64},arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:MatGetDM,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{DM}),arg1,arg2) - return err -end - -function MatSetDM(arg1::Mat{Float64},arg2::DM) - err = ccall((:MatSetDM,petscRealDouble),PetscErrorCode,(Mat{Float64},DM),arg1,arg2) - return err -end - -function DMPrintCellVector(arg0::Type{Float64},arg1::Integer,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:DMPrintCellVector,petscRealDouble),PetscErrorCode,(Int64,Cstring,Int64,Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function DMPrintCellMatrix(arg0::Type{Float64},arg1::Integer,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::Integer,arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:DMPrintCellMatrix,petscRealDouble),PetscErrorCode,(Int64,Cstring,Int64,Int64,Ptr{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPrintLocalVec(arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Float64,arg4::Vec{Float64}) - err = ccall((:DMPrintLocalVec,petscRealDouble),PetscErrorCode,(DM,Cstring,Float64,Vec{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function DMGetDefaultSection(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:DMGetDefaultSection,petscRealDouble),PetscErrorCode,(DM,Ptr{PetscSection}),arg1,arg2) - return err -end - -function DMSetDefaultSection(arg0::Type{Float64},arg1::DM,arg2::PetscSection) - err = ccall((:DMSetDefaultSection,petscRealDouble),PetscErrorCode,(DM,PetscSection),arg1,arg2) - return err -end - -function DMGetDefaultConstraints(arg1::DM,arg2::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}},arg3::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:DMGetDefaultConstraints,petscRealDouble),PetscErrorCode,(DM,Ptr{PetscSection},Ptr{Mat{Float64}}),arg1,arg2,arg3) - return err -end - -function DMSetDefaultConstraints(arg1::DM,arg2::PetscSection,arg3::Mat{Float64}) - err = ccall((:DMSetDefaultConstraints,petscRealDouble),PetscErrorCode,(DM,PetscSection,Mat{Float64}),arg1,arg2,arg3) - return err -end - -function DMGetDefaultGlobalSection(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:DMGetDefaultGlobalSection,petscRealDouble),PetscErrorCode,(DM,Ptr{PetscSection}),arg1,arg2) - return err -end - -function DMSetDefaultGlobalSection(arg0::Type{Float64},arg1::DM,arg2::PetscSection) - err = ccall((:DMSetDefaultGlobalSection,petscRealDouble),PetscErrorCode,(DM,PetscSection),arg1,arg2) - return err -end - -function DMGetDefaultSF(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{PetscSF},StridedArray{PetscSF},Ptr{PetscSF},Ref{PetscSF}}) - err = ccall((:DMGetDefaultSF,petscRealDouble),PetscErrorCode,(DM,Ptr{PetscSF}),arg1,arg2) - return err -end - -function DMSetDefaultSF(arg0::Type{Float64},arg1::DM,arg2::PetscSF) - err = ccall((:DMSetDefaultSF,petscRealDouble),PetscErrorCode,(DM,PetscSF),arg1,arg2) - return err -end - -function DMCreateDefaultSF(arg0::Type{Float64},arg1::DM,arg2::PetscSection,arg3::PetscSection) - err = ccall((:DMCreateDefaultSF,petscRealDouble),PetscErrorCode,(DM,PetscSection,PetscSection),arg1,arg2,arg3) - return err -end - -function DMGetPointSF(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{PetscSF},StridedArray{PetscSF},Ptr{PetscSF},Ref{PetscSF}}) - err = ccall((:DMGetPointSF,petscRealDouble),PetscErrorCode,(DM,Ptr{PetscSF}),arg1,arg2) - return err -end - -function DMSetPointSF(arg0::Type{Float64},arg1::DM,arg2::PetscSF) - err = ccall((:DMSetPointSF,petscRealDouble),PetscErrorCode,(DM,PetscSF),arg1,arg2) - return err -end - -function DMGetOutputDM(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMGetOutputDM,petscRealDouble),PetscErrorCode,(DM,Ptr{DM}),arg1,arg2) - return err -end - -function DMGetOutputSequenceNumber(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:DMGetOutputSequenceNumber,petscRealDouble),PetscErrorCode,(DM,Ptr{Int64},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function DMSetOutputSequenceNumber(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Float64) - err = ccall((:DMSetOutputSequenceNumber,petscRealDouble),PetscErrorCode,(DM,Int64,Float64),arg1,arg2,arg3) - return err -end - -function DMOutputSequenceLoad(arg1::DM,arg2::PetscViewer{Float64},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Integer,arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:DMOutputSequenceLoad,petscRealDouble),PetscErrorCode,(DM,PetscViewer{Float64},Cstring,Int64,Ptr{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMGetDS(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{PetscDS},StridedArray{PetscDS},Ptr{PetscDS},Ref{PetscDS}}) - err = ccall((:DMGetDS,petscRealDouble),PetscErrorCode,(DM,Ptr{PetscDS}),arg1,arg2) - return err -end - -function DMSetDS(arg0::Type{Float64},arg1::DM,arg2::PetscDS) - err = ccall((:DMSetDS,petscRealDouble),PetscErrorCode,(DM,PetscDS),arg1,arg2) - return err -end - -function DMGetNumFields(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMGetNumFields,petscRealDouble),PetscErrorCode,(DM,Ptr{Int64}),arg1,arg2) - return err -end - -function DMSetNumFields(arg0::Type{Float64},arg1::DM,arg2::Integer) - err = ccall((:DMSetNumFields,petscRealDouble),PetscErrorCode,(DM,Int64),arg1,arg2) - return err -end - -function DMGetField(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{PetscObject},StridedArray{PetscObject},Ptr{PetscObject},Ref{PetscObject}}) - err = ccall((:DMGetField,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{PetscObject}),arg1,arg2,arg3) - return err -end - -function DMSetField(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::PetscObject) - err = ccall((:DMSetField,petscRealDouble),PetscErrorCode,(DM,Int64,PetscObject),arg1,arg2,arg3) - return err -end - -#= skipping function with undefined symbols: - function DMInterpolationCreate(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{DMInterpolationInfo},StridedArray{DMInterpolationInfo},Ptr{DMInterpolationInfo},Ref{DMInterpolationInfo}}) - ccall((:DMInterpolationCreate,petscRealDouble),PetscErrorCode,(comm_type,Ptr{DMInterpolationInfo}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function DMInterpolationSetDim(arg0::Type{Float64},arg1::DMInterpolationInfo,arg2::Integer) - ccall((:DMInterpolationSetDim,petscRealDouble),PetscErrorCode,(DMInterpolationInfo,Int64),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function DMInterpolationGetDim(arg0::Type{Float64},arg1::DMInterpolationInfo,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - ccall((:DMInterpolationGetDim,petscRealDouble),PetscErrorCode,(DMInterpolationInfo,Ptr{Int64}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function DMInterpolationSetDof(arg0::Type{Float64},arg1::DMInterpolationInfo,arg2::Integer) - ccall((:DMInterpolationSetDof,petscRealDouble),PetscErrorCode,(DMInterpolationInfo,Int64),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function DMInterpolationGetDof(arg0::Type{Float64},arg1::DMInterpolationInfo,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - ccall((:DMInterpolationGetDof,petscRealDouble),PetscErrorCode,(DMInterpolationInfo,Ptr{Int64}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function DMInterpolationAddPoints(arg0::Type{Float64},arg1::DMInterpolationInfo,arg2::Integer,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - ccall((:DMInterpolationAddPoints,petscRealDouble),PetscErrorCode,(DMInterpolationInfo,Int64,Ptr{Float64}),arg1,arg2,arg3) -end -=# -#= skipping function with undefined symbols: - function DMInterpolationSetUp(arg0::Type{Float64},arg1::DMInterpolationInfo,arg2::DM,arg3::PetscBool) - ccall((:DMInterpolationSetUp,petscRealDouble),PetscErrorCode,(DMInterpolationInfo,DM,PetscBool),arg1,arg2,arg3) -end -=# -#= skipping function with undefined symbols: - function DMInterpolationGetCoordinates(arg1::DMInterpolationInfo,arg2::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - ccall((:DMInterpolationGetCoordinates,petscRealDouble),PetscErrorCode,(DMInterpolationInfo,Ptr{Vec{Float64}}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function DMInterpolationGetVector(arg1::DMInterpolationInfo,arg2::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - ccall((:DMInterpolationGetVector,petscRealDouble),PetscErrorCode,(DMInterpolationInfo,Ptr{Vec{Float64}}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function DMInterpolationRestoreVector(arg1::DMInterpolationInfo,arg2::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - ccall((:DMInterpolationRestoreVector,petscRealDouble),PetscErrorCode,(DMInterpolationInfo,Ptr{Vec{Float64}}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function DMInterpolationEvaluate(arg1::DMInterpolationInfo,arg2::DM,arg3::Vec{Float64},arg4::Vec{Float64}) - ccall((:DMInterpolationEvaluate,petscRealDouble),PetscErrorCode,(DMInterpolationInfo,DM,Vec{Float64},Vec{Float64}),arg1,arg2,arg3,arg4) -end -=# -#= skipping function with undefined symbols: - function DMInterpolationDestroy(arg0::Type{Float64},arg1::Union{Ptr{DMInterpolationInfo},StridedArray{DMInterpolationInfo},Ptr{DMInterpolationInfo},Ref{DMInterpolationInfo}}) - ccall((:DMInterpolationDestroy,petscRealDouble),PetscErrorCode,(Ptr{DMInterpolationInfo},),arg1) -end -=# -function PFCreate(arg0::Type{Float64},arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Union{Ptr{PF},StridedArray{PF},Ptr{PF},Ref{PF}}) - err = ccall((:PFCreate,petscRealDouble),PetscErrorCode,(comm_type,Int64,Int64,Ptr{PF}),arg1,arg2,arg3,arg4) - return err -end - -function PFSetType(arg0::Type{Float64},arg1::PF,arg2::PFType,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PFSetType,petscRealDouble),PetscErrorCode,(PF,Cstring,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function PFSet(arg0::Type{Float64},arg1::PF,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PFSet,petscRealDouble),PetscErrorCode,(PF,Ptr{Void},Ptr{Void},Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PFApply(arg0::Type{Float64},arg1::PF,arg2::Integer,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PFApply,petscRealDouble),PetscErrorCode,(PF,Int64,Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function PFApplyVec(arg1::PF,arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:PFApplyVec,petscRealDouble),PetscErrorCode,(PF,Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function PFInitializePackage(arg0::Type{Float64}) - err = ccall((:PFInitializePackage,petscRealDouble),PetscErrorCode,()) - return err -end - -function PFRegister(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PFRegister,petscRealDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function PFDestroy(arg0::Type{Float64},arg1::Union{Ptr{PF},StridedArray{PF},Ptr{PF},Ref{PF}}) - err = ccall((:PFDestroy,petscRealDouble),PetscErrorCode,(Ptr{PF},),arg1) - return err -end - -function PFSetFromOptions(arg0::Type{Float64},arg1::PF) - err = ccall((:PFSetFromOptions,petscRealDouble),PetscErrorCode,(PF,),arg1) - return err -end - -function PFGetType(arg0::Type{Float64},arg1::PF,arg2::Union{Ptr{PFType},StridedArray{PFType},Ptr{PFType},Ref{PFType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:PFGetType,petscRealDouble),PetscErrorCode,(PF,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function PFView(arg1::PF,arg2::PetscViewer{Float64}) - err = ccall((:PFView,petscRealDouble),PetscErrorCode,(PF,PetscViewer{Float64}),arg1,arg2) - return err -end - -function PFViewFromOptions(arg0::Type{Float64},A::PF,obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PFViewFromOptions,petscRealDouble),PetscErrorCode,(PF,PetscObject,Cstring),A,obj,name) - return err -end - -function AOInitializePackage(arg0::Type{Float64}) - err = ccall((:AOInitializePackage,petscRealDouble),PetscErrorCode,()) - return err -end - -function AOCreate(arg1::MPI_Comm,arg2::Union{Ptr{AO{Float64}},StridedArray{AO{Float64}},Ptr{AO{Float64}},Ref{AO{Float64}}}) - err = ccall((:AOCreate,petscRealDouble),PetscErrorCode,(comm_type,Ptr{AO{Float64}}),arg1,arg2) - return err -end - -function AOSetIS(arg1::AO{Float64},arg2::IS{Float64},arg3::IS{Float64}) - err = ccall((:AOSetIS,petscRealDouble),PetscErrorCode,(AO{Float64},IS{Float64},IS{Float64}),arg1,arg2,arg3) - return err -end - -function AOSetFromOptions(arg1::AO{Float64}) - err = ccall((:AOSetFromOptions,petscRealDouble),PetscErrorCode,(AO{Float64},),arg1) - return err -end - -function AOCreateBasic(arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{AO{Float64}},StridedArray{AO{Float64}},Ptr{AO{Float64}},Ref{AO{Float64}}}) - err = ccall((:AOCreateBasic,petscRealDouble),PetscErrorCode,(comm_type,Int64,Ptr{Int64},Ptr{Int64},Ptr{AO{Float64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function AOCreateBasicIS(arg1::IS{Float64},arg2::IS{Float64},arg3::Union{Ptr{AO{Float64}},StridedArray{AO{Float64}},Ptr{AO{Float64}},Ref{AO{Float64}}}) - err = ccall((:AOCreateBasicIS,petscRealDouble),PetscErrorCode,(IS{Float64},IS{Float64},Ptr{AO{Float64}}),arg1,arg2,arg3) - return err -end - -function AOCreateMemoryScalable(arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{AO{Float64}},StridedArray{AO{Float64}},Ptr{AO{Float64}},Ref{AO{Float64}}}) - err = ccall((:AOCreateMemoryScalable,petscRealDouble),PetscErrorCode,(comm_type,Int64,Ptr{Int64},Ptr{Int64},Ptr{AO{Float64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function AOCreateMemoryScalableIS(arg1::IS{Float64},arg2::IS{Float64},arg3::Union{Ptr{AO{Float64}},StridedArray{AO{Float64}},Ptr{AO{Float64}},Ref{AO{Float64}}}) - err = ccall((:AOCreateMemoryScalableIS,petscRealDouble),PetscErrorCode,(IS{Float64},IS{Float64},Ptr{AO{Float64}}),arg1,arg2,arg3) - return err -end - -function AOCreateMapping(arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{AO{Float64}},StridedArray{AO{Float64}},Ptr{AO{Float64}},Ref{AO{Float64}}}) - err = ccall((:AOCreateMapping,petscRealDouble),PetscErrorCode,(comm_type,Int64,Ptr{Int64},Ptr{Int64},Ptr{AO{Float64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function AOCreateMappingIS(arg1::IS{Float64},arg2::IS{Float64},arg3::Union{Ptr{AO{Float64}},StridedArray{AO{Float64}},Ptr{AO{Float64}},Ref{AO{Float64}}}) - err = ccall((:AOCreateMappingIS,petscRealDouble),PetscErrorCode,(IS{Float64},IS{Float64},Ptr{AO{Float64}}),arg1,arg2,arg3) - return err -end - -function AOView(arg1::AO{Float64},arg2::PetscViewer{Float64}) - err = ccall((:AOView,petscRealDouble),PetscErrorCode,(AO{Float64},PetscViewer{Float64}),arg1,arg2) - return err -end - -function AOViewFromOptions(A::AO{Float64},obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:AOViewFromOptions,petscRealDouble),PetscErrorCode,(AO{Float64},PetscObject,Cstring),A,obj,name) - return err -end - -function AODestroy(arg1::Union{Ptr{AO{Float64}},StridedArray{AO{Float64}},Ptr{AO{Float64}},Ref{AO{Float64}}}) - err = ccall((:AODestroy,petscRealDouble),PetscErrorCode,(Ptr{AO{Float64}},),arg1) - return err -end - -function AOSetType(arg1::AO{Float64},arg2::AOType) - err = ccall((:AOSetType,petscRealDouble),PetscErrorCode,(AO{Float64},Cstring),arg1,arg2) - return err -end - -function AOGetType(arg1::AO{Float64},arg2::Union{Ptr{AOType},StridedArray{AOType},Ptr{AOType},Ref{AOType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:AOGetType,petscRealDouble),PetscErrorCode,(AO{Float64},Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function AORegister(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:AORegister,petscRealDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function AOPetscToApplication(arg1::AO{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:AOPetscToApplication,petscRealDouble),PetscErrorCode,(AO{Float64},Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function AOApplicationToPetsc(arg1::AO{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:AOApplicationToPetsc,petscRealDouble),PetscErrorCode,(AO{Float64},Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function AOPetscToApplicationIS(arg1::AO{Float64},arg2::IS{Float64}) - err = ccall((:AOPetscToApplicationIS,petscRealDouble),PetscErrorCode,(AO{Float64},IS{Float64}),arg1,arg2) - return err -end - -function AOApplicationToPetscIS(arg1::AO{Float64},arg2::IS{Float64}) - err = ccall((:AOApplicationToPetscIS,petscRealDouble),PetscErrorCode,(AO{Float64},IS{Float64}),arg1,arg2) - return err -end - -function AOPetscToApplicationPermuteInt(arg1::AO{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:AOPetscToApplicationPermuteInt,petscRealDouble),PetscErrorCode,(AO{Float64},Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function AOApplicationToPetscPermuteInt(arg1::AO{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:AOApplicationToPetscPermuteInt,petscRealDouble),PetscErrorCode,(AO{Float64},Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function AOPetscToApplicationPermuteReal(arg1::AO{Float64},arg2::Integer,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:AOPetscToApplicationPermuteReal,petscRealDouble),PetscErrorCode,(AO{Float64},Int64,Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function AOApplicationToPetscPermuteReal(arg1::AO{Float64},arg2::Integer,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:AOApplicationToPetscPermuteReal,petscRealDouble),PetscErrorCode,(AO{Float64},Int64,Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function AOMappingHasApplicationIndex(arg1::AO{Float64},arg2::Integer,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:AOMappingHasApplicationIndex,petscRealDouble),PetscErrorCode,(AO{Float64},Int64,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function AOMappingHasPetscIndex(arg1::AO{Float64},arg2::Integer,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:AOMappingHasPetscIndex,petscRealDouble),PetscErrorCode,(AO{Float64},Int64,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function PetscQuadratureCreate(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{PetscQuadrature},StridedArray{PetscQuadrature},Ptr{PetscQuadrature},Ref{PetscQuadrature}}) - err = ccall((:PetscQuadratureCreate,petscRealDouble),PetscErrorCode,(comm_type,Ptr{PetscQuadrature}),arg1,arg2) - return err -end - -function PetscQuadratureDuplicate(arg0::Type{Float64},arg1::PetscQuadrature,arg2::Union{Ptr{PetscQuadrature},StridedArray{PetscQuadrature},Ptr{PetscQuadrature},Ref{PetscQuadrature}}) - err = ccall((:PetscQuadratureDuplicate,petscRealDouble),PetscErrorCode,(PetscQuadrature,Ptr{PetscQuadrature}),arg1,arg2) - return err -end - -function PetscQuadratureGetOrder(arg0::Type{Float64},arg1::PetscQuadrature,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscQuadratureGetOrder,petscRealDouble),PetscErrorCode,(PetscQuadrature,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscQuadratureSetOrder(arg0::Type{Float64},arg1::PetscQuadrature,arg2::Integer) - err = ccall((:PetscQuadratureSetOrder,petscRealDouble),PetscErrorCode,(PetscQuadrature,Int64),arg1,arg2) - return err -end - -function PetscQuadratureGetData(arg0::Type{Float64},arg1::PetscQuadrature,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg5::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:PetscQuadratureGetData,petscRealDouble),PetscErrorCode,(PetscQuadrature,Ptr{Int64},Ptr{Int64},Ptr{Ptr{Float64}},Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscQuadratureSetData(arg0::Type{Float64},arg1::PetscQuadrature,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscQuadratureSetData,petscRealDouble),PetscErrorCode,(PetscQuadrature,Int64,Int64,Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscQuadratureView(arg1::PetscQuadrature,arg2::PetscViewer{Float64}) - err = ccall((:PetscQuadratureView,petscRealDouble),PetscErrorCode,(PetscQuadrature,PetscViewer{Float64}),arg1,arg2) - return err -end - -function PetscQuadratureDestroy(arg0::Type{Float64},arg1::Union{Ptr{PetscQuadrature},StridedArray{PetscQuadrature},Ptr{PetscQuadrature},Ref{PetscQuadrature}}) - err = ccall((:PetscQuadratureDestroy,petscRealDouble),PetscErrorCode,(Ptr{PetscQuadrature},),arg1) - return err -end - -function PetscQuadratureExpandComposite(arg0::Type{Float64},arg1::PetscQuadrature,arg2::Integer,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{PetscQuadrature},StridedArray{PetscQuadrature},Ptr{PetscQuadrature},Ref{PetscQuadrature}}) - err = ccall((:PetscQuadratureExpandComposite,petscRealDouble),PetscErrorCode,(PetscQuadrature,Int64,Ptr{Float64},Ptr{Float64},Ptr{PetscQuadrature}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDTLegendreEval(arg0::Type{Float64},arg1::Integer,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg7::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscDTLegendreEval,petscRealDouble),PetscErrorCode,(Int64,Ptr{Float64},Int64,Ptr{Int64},Ptr{Float64},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function PetscDTGaussQuadrature(arg0::Type{Float64},arg1::Integer,arg2::Float64,arg3::Float64,arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscDTGaussQuadrature,petscRealDouble),PetscErrorCode,(Int64,Float64,Float64,Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDTReconstructPoly(arg0::Type{Float64},arg1::Integer,arg2::Integer,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Integer,arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscDTReconstructPoly,petscRealDouble),PetscErrorCode,(Int64,Int64,Ptr{Float64},Int64,Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscDTGaussTensorQuadrature(arg0::Type{Float64},arg1::Integer,arg2::Integer,arg3::Float64,arg4::Float64,arg5::Union{Ptr{PetscQuadrature},StridedArray{PetscQuadrature},Ptr{PetscQuadrature},Ref{PetscQuadrature}}) - err = ccall((:PetscDTGaussTensorQuadrature,petscRealDouble),PetscErrorCode,(Int64,Int64,Float64,Float64,Ptr{PetscQuadrature}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDTGaussJacobiQuadrature(arg0::Type{Float64},arg1::Integer,arg2::Integer,arg3::Float64,arg4::Float64,arg5::Union{Ptr{PetscQuadrature},StridedArray{PetscQuadrature},Ptr{PetscQuadrature},Ref{PetscQuadrature}}) - err = ccall((:PetscDTGaussJacobiQuadrature,petscRealDouble),PetscErrorCode,(Int64,Int64,Float64,Float64,Ptr{PetscQuadrature}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscFEInitializePackage(arg0::Type{Float64}) - err = ccall((:PetscFEInitializePackage,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscSpaceCreate(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{PetscSpace},StridedArray{PetscSpace},Ptr{PetscSpace},Ref{PetscSpace}}) - err = ccall((:PetscSpaceCreate,petscRealDouble),PetscErrorCode,(comm_type,Ptr{PetscSpace}),arg1,arg2) - return err -end - -function PetscSpaceDestroy(arg0::Type{Float64},arg1::Union{Ptr{PetscSpace},StridedArray{PetscSpace},Ptr{PetscSpace},Ref{PetscSpace}}) - err = ccall((:PetscSpaceDestroy,petscRealDouble),PetscErrorCode,(Ptr{PetscSpace},),arg1) - return err -end - -function PetscSpaceSetType(arg0::Type{Float64},arg1::PetscSpace,arg2::PetscSpaceType) - err = ccall((:PetscSpaceSetType,petscRealDouble),PetscErrorCode,(PetscSpace,Cstring),arg1,arg2) - return err -end - -function PetscSpaceGetType(arg0::Type{Float64},arg1::PetscSpace,arg2::Union{Ptr{PetscSpaceType},StridedArray{PetscSpaceType},Ptr{PetscSpaceType},Ref{PetscSpaceType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:PetscSpaceGetType,petscRealDouble),PetscErrorCode,(PetscSpace,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function PetscSpaceSetUp(arg0::Type{Float64},arg1::PetscSpace) - err = ccall((:PetscSpaceSetUp,petscRealDouble),PetscErrorCode,(PetscSpace,),arg1) - return err -end - -function PetscSpaceSetFromOptions(arg0::Type{Float64},arg1::PetscSpace) - err = ccall((:PetscSpaceSetFromOptions,petscRealDouble),PetscErrorCode,(PetscSpace,),arg1) - return err -end - -function PetscSpaceViewFromOptions(arg0::Type{Float64},A::PetscSpace,B::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscSpaceViewFromOptions,petscRealDouble),PetscErrorCode,(PetscSpace,PetscObject,Cstring),A,B,name) - return err -end - -function PetscSpaceView(arg1::PetscSpace,arg2::PetscViewer{Float64}) - err = ccall((:PetscSpaceView,petscRealDouble),PetscErrorCode,(PetscSpace,PetscViewer{Float64}),arg1,arg2) - return err -end - -function PetscSpaceRegister(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscSpaceRegister,petscRealDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function PetscSpaceRegisterDestroy(arg0::Type{Float64}) - err = ccall((:PetscSpaceRegisterDestroy,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscSpaceGetDimension(arg0::Type{Float64},arg1::PetscSpace,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSpaceGetDimension,petscRealDouble),PetscErrorCode,(PetscSpace,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscSpaceSetOrder(arg0::Type{Float64},arg1::PetscSpace,arg2::Integer) - err = ccall((:PetscSpaceSetOrder,petscRealDouble),PetscErrorCode,(PetscSpace,Int64),arg1,arg2) - return err -end - -function PetscSpaceGetOrder(arg0::Type{Float64},arg1::PetscSpace,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSpaceGetOrder,petscRealDouble),PetscErrorCode,(PetscSpace,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscSpaceEvaluate(arg0::Type{Float64},arg1::PetscSpace,arg2::Integer,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscSpaceEvaluate,petscRealDouble),PetscErrorCode,(PetscSpace,Int64,Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscSpacePolynomialSetNumVariables(arg0::Type{Float64},arg1::PetscSpace,arg2::Integer) - err = ccall((:PetscSpacePolynomialSetNumVariables,petscRealDouble),PetscErrorCode,(PetscSpace,Int64),arg1,arg2) - return err -end - -function PetscSpacePolynomialGetNumVariables(arg0::Type{Float64},arg1::PetscSpace,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSpacePolynomialGetNumVariables,petscRealDouble),PetscErrorCode,(PetscSpace,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscSpacePolynomialSetSymmetric(arg0::Type{Float64},arg1::PetscSpace,arg2::PetscBool) - err = ccall((:PetscSpacePolynomialSetSymmetric,petscRealDouble),PetscErrorCode,(PetscSpace,PetscBool),arg1,arg2) - return err -end - -function PetscSpacePolynomialGetSymmetric(arg0::Type{Float64},arg1::PetscSpace,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscSpacePolynomialGetSymmetric,petscRealDouble),PetscErrorCode,(PetscSpace,Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscSpacePolynomialSetTensor(arg0::Type{Float64},arg1::PetscSpace,arg2::PetscBool) - err = ccall((:PetscSpacePolynomialSetTensor,petscRealDouble),PetscErrorCode,(PetscSpace,PetscBool),arg1,arg2) - return err -end - -function PetscSpacePolynomialGetTensor(arg0::Type{Float64},arg1::PetscSpace,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscSpacePolynomialGetTensor,petscRealDouble),PetscErrorCode,(PetscSpace,Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscSpaceDGSetQuadrature(arg0::Type{Float64},arg1::PetscSpace,arg2::PetscQuadrature) - err = ccall((:PetscSpaceDGSetQuadrature,petscRealDouble),PetscErrorCode,(PetscSpace,PetscQuadrature),arg1,arg2) - return err -end - -function PetscSpaceDGGetQuadrature(arg0::Type{Float64},arg1::PetscSpace,arg2::Union{Ptr{PetscQuadrature},StridedArray{PetscQuadrature},Ptr{PetscQuadrature},Ref{PetscQuadrature}}) - err = ccall((:PetscSpaceDGGetQuadrature,petscRealDouble),PetscErrorCode,(PetscSpace,Ptr{PetscQuadrature}),arg1,arg2) - return err -end - -function PetscDualSpaceCreate(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{PetscDualSpace},StridedArray{PetscDualSpace},Ptr{PetscDualSpace},Ref{PetscDualSpace}}) - err = ccall((:PetscDualSpaceCreate,petscRealDouble),PetscErrorCode,(comm_type,Ptr{PetscDualSpace}),arg1,arg2) - return err -end - -function PetscDualSpaceDestroy(arg0::Type{Float64},arg1::Union{Ptr{PetscDualSpace},StridedArray{PetscDualSpace},Ptr{PetscDualSpace},Ref{PetscDualSpace}}) - err = ccall((:PetscDualSpaceDestroy,petscRealDouble),PetscErrorCode,(Ptr{PetscDualSpace},),arg1) - return err -end - -function PetscDualSpaceDuplicate(arg0::Type{Float64},arg1::PetscDualSpace,arg2::Union{Ptr{PetscDualSpace},StridedArray{PetscDualSpace},Ptr{PetscDualSpace},Ref{PetscDualSpace}}) - err = ccall((:PetscDualSpaceDuplicate,petscRealDouble),PetscErrorCode,(PetscDualSpace,Ptr{PetscDualSpace}),arg1,arg2) - return err -end - -function PetscDualSpaceSetType(arg0::Type{Float64},arg1::PetscDualSpace,arg2::PetscDualSpaceType) - err = ccall((:PetscDualSpaceSetType,petscRealDouble),PetscErrorCode,(PetscDualSpace,Cstring),arg1,arg2) - return err -end - -function PetscDualSpaceGetType(arg0::Type{Float64},arg1::PetscDualSpace,arg2::Union{Ptr{PetscDualSpaceType},StridedArray{PetscDualSpaceType},Ptr{PetscDualSpaceType},Ref{PetscDualSpaceType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:PetscDualSpaceGetType,petscRealDouble),PetscErrorCode,(PetscDualSpace,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function PetscDualSpaceSetUp(arg0::Type{Float64},arg1::PetscDualSpace) - err = ccall((:PetscDualSpaceSetUp,petscRealDouble),PetscErrorCode,(PetscDualSpace,),arg1) - return err -end - -function PetscDualSpaceSetFromOptions(arg0::Type{Float64},arg1::PetscDualSpace) - err = ccall((:PetscDualSpaceSetFromOptions,petscRealDouble),PetscErrorCode,(PetscDualSpace,),arg1) - return err -end - -function PetscDualSpaceViewFromOptions(arg0::Type{Float64},A::PetscDualSpace,B::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscDualSpaceViewFromOptions,petscRealDouble),PetscErrorCode,(PetscDualSpace,PetscObject,Cstring),A,B,name) - return err -end - -function PetscDualSpaceView(arg1::PetscDualSpace,arg2::PetscViewer{Float64}) - err = ccall((:PetscDualSpaceView,petscRealDouble),PetscErrorCode,(PetscDualSpace,PetscViewer{Float64}),arg1,arg2) - return err -end - -function PetscDualSpaceRegister(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscDualSpaceRegister,petscRealDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function PetscDualSpaceRegisterDestroy(arg0::Type{Float64}) - err = ccall((:PetscDualSpaceRegisterDestroy,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscDualSpaceGetDimension(arg0::Type{Float64},arg1::PetscDualSpace,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscDualSpaceGetDimension,petscRealDouble),PetscErrorCode,(PetscDualSpace,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscDualSpaceSetOrder(arg0::Type{Float64},arg1::PetscDualSpace,arg2::Integer) - err = ccall((:PetscDualSpaceSetOrder,petscRealDouble),PetscErrorCode,(PetscDualSpace,Int64),arg1,arg2) - return err -end - -function PetscDualSpaceGetOrder(arg0::Type{Float64},arg1::PetscDualSpace,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscDualSpaceGetOrder,petscRealDouble),PetscErrorCode,(PetscDualSpace,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscDualSpaceSetDM(arg0::Type{Float64},arg1::PetscDualSpace,arg2::DM) - err = ccall((:PetscDualSpaceSetDM,petscRealDouble),PetscErrorCode,(PetscDualSpace,DM),arg1,arg2) - return err -end - -function PetscDualSpaceGetDM(arg0::Type{Float64},arg1::PetscDualSpace,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:PetscDualSpaceGetDM,petscRealDouble),PetscErrorCode,(PetscDualSpace,Ptr{DM}),arg1,arg2) - return err -end - -function PetscDualSpaceGetFunctional(arg0::Type{Float64},arg1::PetscDualSpace,arg2::Integer,arg3::Union{Ptr{PetscQuadrature},StridedArray{PetscQuadrature},Ptr{PetscQuadrature},Ref{PetscQuadrature}}) - err = ccall((:PetscDualSpaceGetFunctional,petscRealDouble),PetscErrorCode,(PetscDualSpace,Int64,Ptr{PetscQuadrature}),arg1,arg2,arg3) - return err -end - -function PetscDualSpaceCreateReferenceCell(arg0::Type{Float64},arg1::PetscDualSpace,arg2::Integer,arg3::PetscBool,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:PetscDualSpaceCreateReferenceCell,petscRealDouble),PetscErrorCode,(PetscDualSpace,Int64,PetscBool,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -#= skipping function with undefined symbols: - function PetscDualSpaceApply(arg0::Type{Float64},arg1::PetscDualSpace,arg2::Integer,arg3::Union{Ptr{PetscFECellGeom},StridedArray{PetscFECellGeom},Ptr{PetscFECellGeom},Ref{PetscFECellGeom}},arg4::Integer,arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg7::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - ccall((:PetscDualSpaceApply,petscRealDouble),PetscErrorCode,(PetscDualSpace,Int64,Ptr{PetscFECellGeom},Int64,Ptr{Void},Ptr{Void},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -function PetscDualSpaceLagrangeGetContinuity(arg0::Type{Float64},arg1::PetscDualSpace,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscDualSpaceLagrangeGetContinuity,petscRealDouble),PetscErrorCode,(PetscDualSpace,Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscDualSpaceLagrangeSetContinuity(arg0::Type{Float64},arg1::PetscDualSpace,arg2::PetscBool) - err = ccall((:PetscDualSpaceLagrangeSetContinuity,petscRealDouble),PetscErrorCode,(PetscDualSpace,PetscBool),arg1,arg2) - return err -end - -function PetscDualSpaceGetHeightSubspace(arg0::Type{Float64},arg1::PetscDualSpace,arg2::Integer,arg3::Union{Ptr{PetscDualSpace},StridedArray{PetscDualSpace},Ptr{PetscDualSpace},Ref{PetscDualSpace}}) - err = ccall((:PetscDualSpaceGetHeightSubspace,petscRealDouble),PetscErrorCode,(PetscDualSpace,Int64,Ptr{PetscDualSpace}),arg1,arg2,arg3) - return err -end - -function PetscDualSpaceSimpleSetDimension(arg0::Type{Float64},arg1::PetscDualSpace,arg2::Integer) - err = ccall((:PetscDualSpaceSimpleSetDimension,petscRealDouble),PetscErrorCode,(PetscDualSpace,Int64),arg1,arg2) - return err -end - -function PetscDualSpaceSimpleSetFunctional(arg0::Type{Float64},arg1::PetscDualSpace,arg2::Integer,arg3::PetscQuadrature) - err = ccall((:PetscDualSpaceSimpleSetFunctional,petscRealDouble),PetscErrorCode,(PetscDualSpace,Int64,PetscQuadrature),arg1,arg2,arg3) - return err -end - -function PetscFECreate(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{PetscFE},StridedArray{PetscFE},Ptr{PetscFE},Ref{PetscFE}}) - err = ccall((:PetscFECreate,petscRealDouble),PetscErrorCode,(comm_type,Ptr{PetscFE}),arg1,arg2) - return err -end - -function PetscFEDestroy(arg0::Type{Float64},arg1::Union{Ptr{PetscFE},StridedArray{PetscFE},Ptr{PetscFE},Ref{PetscFE}}) - err = ccall((:PetscFEDestroy,petscRealDouble),PetscErrorCode,(Ptr{PetscFE},),arg1) - return err -end - -function PetscFESetType(arg0::Type{Float64},arg1::PetscFE,arg2::PetscFEType) - err = ccall((:PetscFESetType,petscRealDouble),PetscErrorCode,(PetscFE,Cstring),arg1,arg2) - return err -end - -function PetscFEGetType(arg0::Type{Float64},arg1::PetscFE,arg2::Union{Ptr{PetscFEType},StridedArray{PetscFEType},Ptr{PetscFEType},Ref{PetscFEType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:PetscFEGetType,petscRealDouble),PetscErrorCode,(PetscFE,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function PetscFESetUp(arg0::Type{Float64},arg1::PetscFE) - err = ccall((:PetscFESetUp,petscRealDouble),PetscErrorCode,(PetscFE,),arg1) - return err -end - -function PetscFESetFromOptions(arg0::Type{Float64},arg1::PetscFE) - err = ccall((:PetscFESetFromOptions,petscRealDouble),PetscErrorCode,(PetscFE,),arg1) - return err -end - -function PetscFEViewFromOptions(arg0::Type{Float64},A::PetscFE,B::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscFEViewFromOptions,petscRealDouble),PetscErrorCode,(PetscFE,PetscObject,Cstring),A,B,name) - return err -end - -function PetscFEView(arg1::PetscFE,arg2::PetscViewer{Float64}) - err = ccall((:PetscFEView,petscRealDouble),PetscErrorCode,(PetscFE,PetscViewer{Float64}),arg1,arg2) - return err -end - -function PetscFERegister(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscFERegister,petscRealDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function PetscFERegisterDestroy(arg0::Type{Float64}) - err = ccall((:PetscFERegisterDestroy,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscFECreateDefault(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Integer,arg4::PetscBool,arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg6::Integer,arg7::Union{Ptr{PetscFE},StridedArray{PetscFE},Ptr{PetscFE},Ref{PetscFE}}) - err = ccall((:PetscFECreateDefault,petscRealDouble),PetscErrorCode,(DM,Int64,Int64,PetscBool,Cstring,Int64,Ptr{PetscFE}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function PetscFEGetDimension(arg0::Type{Float64},arg1::PetscFE,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscFEGetDimension,petscRealDouble),PetscErrorCode,(PetscFE,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscFEGetSpatialDimension(arg0::Type{Float64},arg1::PetscFE,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscFEGetSpatialDimension,petscRealDouble),PetscErrorCode,(PetscFE,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscFESetNumComponents(arg0::Type{Float64},arg1::PetscFE,arg2::Integer) - err = ccall((:PetscFESetNumComponents,petscRealDouble),PetscErrorCode,(PetscFE,Int64),arg1,arg2) - return err -end - -function PetscFEGetNumComponents(arg0::Type{Float64},arg1::PetscFE,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscFEGetNumComponents,petscRealDouble),PetscErrorCode,(PetscFE,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscFEGetTileSizes(arg0::Type{Float64},arg1::PetscFE,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscFEGetTileSizes,petscRealDouble),PetscErrorCode,(PetscFE,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscFESetTileSizes(arg0::Type{Float64},arg1::PetscFE,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer) - err = ccall((:PetscFESetTileSizes,petscRealDouble),PetscErrorCode,(PetscFE,Int64,Int64,Int64,Int64),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscFESetBasisSpace(arg0::Type{Float64},arg1::PetscFE,arg2::PetscSpace) - err = ccall((:PetscFESetBasisSpace,petscRealDouble),PetscErrorCode,(PetscFE,PetscSpace),arg1,arg2) - return err -end - -function PetscFEGetBasisSpace(arg0::Type{Float64},arg1::PetscFE,arg2::Union{Ptr{PetscSpace},StridedArray{PetscSpace},Ptr{PetscSpace},Ref{PetscSpace}}) - err = ccall((:PetscFEGetBasisSpace,petscRealDouble),PetscErrorCode,(PetscFE,Ptr{PetscSpace}),arg1,arg2) - return err -end - -function PetscFESetDualSpace(arg0::Type{Float64},arg1::PetscFE,arg2::PetscDualSpace) - err = ccall((:PetscFESetDualSpace,petscRealDouble),PetscErrorCode,(PetscFE,PetscDualSpace),arg1,arg2) - return err -end - -function PetscFEGetDualSpace(arg0::Type{Float64},arg1::PetscFE,arg2::Union{Ptr{PetscDualSpace},StridedArray{PetscDualSpace},Ptr{PetscDualSpace},Ref{PetscDualSpace}}) - err = ccall((:PetscFEGetDualSpace,petscRealDouble),PetscErrorCode,(PetscFE,Ptr{PetscDualSpace}),arg1,arg2) - return err -end - -function PetscFESetQuadrature(arg0::Type{Float64},arg1::PetscFE,arg2::PetscQuadrature) - err = ccall((:PetscFESetQuadrature,petscRealDouble),PetscErrorCode,(PetscFE,PetscQuadrature),arg1,arg2) - return err -end - -function PetscFEGetQuadrature(arg0::Type{Float64},arg1::PetscFE,arg2::Union{Ptr{PetscQuadrature},StridedArray{PetscQuadrature},Ptr{PetscQuadrature},Ref{PetscQuadrature}}) - err = ccall((:PetscFEGetQuadrature,petscRealDouble),PetscErrorCode,(PetscFE,Ptr{PetscQuadrature}),arg1,arg2) - return err -end - -function PetscFEGetNumDof(arg0::Type{Float64},arg1::PetscFE,arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PetscFEGetNumDof,petscRealDouble),PetscErrorCode,(PetscFE,Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function PetscFEGetDefaultTabulation(arg0::Type{Float64},arg1::PetscFE,arg2::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg3::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg4::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:PetscFEGetDefaultTabulation,petscRealDouble),PetscErrorCode,(PetscFE,Ptr{Ptr{Float64}},Ptr{Ptr{Float64}},Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscFEGetFaceTabulation(arg0::Type{Float64},arg1::PetscFE,arg2::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:PetscFEGetFaceTabulation,petscRealDouble),PetscErrorCode,(PetscFE,Ptr{Ptr{Float64}}),arg1,arg2) - return err -end - -function PetscFEGetTabulation(arg0::Type{Float64},arg1::PetscFE,arg2::Integer,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg5::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg6::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:PetscFEGetTabulation,petscRealDouble),PetscErrorCode,(PetscFE,Int64,Ptr{Float64},Ptr{Ptr{Float64}},Ptr{Ptr{Float64}},Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscFERestoreTabulation(arg0::Type{Float64},arg1::PetscFE,arg2::Integer,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg5::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg6::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:PetscFERestoreTabulation,petscRealDouble),PetscErrorCode,(PetscFE,Int64,Ptr{Float64},Ptr{Ptr{Float64}},Ptr{Ptr{Float64}},Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscFERefine(arg0::Type{Float64},arg1::PetscFE,arg2::Union{Ptr{PetscFE},StridedArray{PetscFE},Ptr{PetscFE},Ref{PetscFE}}) - err = ccall((:PetscFERefine,petscRealDouble),PetscErrorCode,(PetscFE,Ptr{PetscFE}),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function PetscFEIntegrate(arg0::Type{Float64},arg1::PetscFE,arg2::PetscDS,arg3::Integer,arg4::Integer,arg5::Union{Ptr{PetscFECellGeom},StridedArray{PetscFECellGeom},Ptr{PetscFECellGeom},Ref{PetscFECellGeom}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg7::PetscDS,arg8::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg9::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - ccall((:PetscFEIntegrate,petscRealDouble),PetscErrorCode,(PetscFE,PetscDS,Int64,Int64,Ptr{PetscFECellGeom},Ptr{Float64},PetscDS,Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) -end -=# -#= skipping function with undefined symbols: - function PetscFEIntegrateResidual(arg0::Type{Float64},arg1::PetscFE,arg2::PetscDS,arg3::Integer,arg4::Integer,arg5::Union{Ptr{PetscFECellGeom},StridedArray{PetscFECellGeom},Ptr{PetscFECellGeom},Ref{PetscFECellGeom}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg7::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg8::PetscDS,arg9::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg10::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - ccall((:PetscFEIntegrateResidual,petscRealDouble),PetscErrorCode,(PetscFE,PetscDS,Int64,Int64,Ptr{PetscFECellGeom},Ptr{Float64},Ptr{Float64},PetscDS,Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) -end -=# -#= skipping function with undefined symbols: - function PetscFEIntegrateBdResidual(arg0::Type{Float64},arg1::PetscFE,arg2::PetscDS,arg3::Integer,arg4::Integer,arg5::Union{Ptr{PetscFECellGeom},StridedArray{PetscFECellGeom},Ptr{PetscFECellGeom},Ref{PetscFECellGeom}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg7::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg8::PetscDS,arg9::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg10::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - ccall((:PetscFEIntegrateBdResidual,petscRealDouble),PetscErrorCode,(PetscFE,PetscDS,Int64,Int64,Ptr{PetscFECellGeom},Ptr{Float64},Ptr{Float64},PetscDS,Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) -end -=# -#= skipping function with undefined symbols: - function PetscFEIntegrateJacobian(arg0::Type{Float64},arg1::PetscFE,arg2::PetscDS,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{PetscFECellGeom},StridedArray{PetscFECellGeom},Ptr{PetscFECellGeom},Ref{PetscFECellGeom}},arg7::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg8::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg9::PetscDS,arg10::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg11::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - ccall((:PetscFEIntegrateJacobian,petscRealDouble),PetscErrorCode,(PetscFE,PetscDS,Int64,Int64,Int64,Ptr{PetscFECellGeom},Ptr{Float64},Ptr{Float64},PetscDS,Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) -end -=# -#= skipping function with undefined symbols: - function PetscFEIntegrateBdJacobian(arg0::Type{Float64},arg1::PetscFE,arg2::PetscDS,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{PetscFECellGeom},StridedArray{PetscFECellGeom},Ptr{PetscFECellGeom},Ref{PetscFECellGeom}},arg7::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg8::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg9::PetscDS,arg10::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg11::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - ccall((:PetscFEIntegrateBdJacobian,petscRealDouble),PetscErrorCode,(PetscFE,PetscDS,Int64,Int64,Int64,Ptr{PetscFECellGeom},Ptr{Float64},Ptr{Float64},PetscDS,Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) -end -=# -function PetscFECompositeGetMapping(arg0::Type{Float64},arg1::PetscFE,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg4::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg5::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:PetscFECompositeGetMapping,petscRealDouble),PetscErrorCode,(PetscFE,Ptr{Int64},Ptr{Ptr{Float64}},Ptr{Ptr{Float64}},Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscFEOpenCLSetRealType(arg0::Type{Float64},arg1::PetscFE,arg2::PetscDataType) - err = ccall((:PetscFEOpenCLSetRealType,petscRealDouble),PetscErrorCode,(PetscFE,PetscDataType),arg1,arg2) - return err -end - -function PetscFEOpenCLGetRealType(arg0::Type{Float64},arg1::PetscFE,arg2::Union{Ptr{PetscDataType},StridedArray{PetscDataType},Ptr{PetscDataType},Ref{PetscDataType}}) - err = ccall((:PetscFEOpenCLGetRealType,petscRealDouble),PetscErrorCode,(PetscFE,Ptr{PetscDataType}),arg1,arg2) - return err -end - -function DMDASetInterpolationType(arg0::Type{Float64},arg1::DM,arg2::DMDAInterpolationType) - err = ccall((:DMDASetInterpolationType,petscRealDouble),PetscErrorCode,(DM,DMDAInterpolationType),arg1,arg2) - return err -end - -function DMDAGetInterpolationType(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{DMDAInterpolationType},StridedArray{DMDAInterpolationType},Ptr{DMDAInterpolationType},Ref{DMDAInterpolationType}}) - err = ccall((:DMDAGetInterpolationType,petscRealDouble),PetscErrorCode,(DM,Ptr{DMDAInterpolationType}),arg1,arg2) - return err -end - -function DMDASetElementType(arg0::Type{Float64},arg1::DM,arg2::DMDAElementType) - err = ccall((:DMDASetElementType,petscRealDouble),PetscErrorCode,(DM,DMDAElementType),arg1,arg2) - return err -end - -function DMDAGetElementType(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{DMDAElementType},StridedArray{DMDAElementType},Ptr{DMDAElementType},Ref{DMDAElementType}}) - err = ccall((:DMDAGetElementType,petscRealDouble),PetscErrorCode,(DM,Ptr{DMDAElementType}),arg1,arg2) - return err -end - -function DMDAGetElements(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMDAGetElements,petscRealDouble),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4) - return err -end - -function DMDARestoreElements(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMDARestoreElements,petscRealDouble),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4) - return err -end - -function DMDACreate(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMDACreate,petscRealDouble),PetscErrorCode,(comm_type,Ptr{DM}),arg1,arg2) - return err -end - -function DMDASetSizes(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:DMDASetSizes,petscRealDouble),PetscErrorCode,(DM,Int64,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function DMDACreate1d(arg0::Type{Float64},arg1::MPI_Comm,arg2::DMBoundaryType,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMDACreate1d,petscRealDouble),PetscErrorCode,(comm_type,DMBoundaryType,Int64,Int64,Int64,Ptr{Int64},Ptr{DM}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMDACreate2d(arg0::Type{Float64},arg1::MPI_Comm,arg2::DMBoundaryType,arg3::DMBoundaryType,arg4::DMDAStencilType,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Integer,arg9::Integer,arg10::Integer,arg11::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg12::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg13::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMDACreate2d,petscRealDouble),PetscErrorCode,(comm_type,DMBoundaryType,DMBoundaryType,DMDAStencilType,Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Int64},Ptr{DM}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13) - return err -end - -function DMDACreate3d(arg0::Type{Float64},arg1::MPI_Comm,arg2::DMBoundaryType,arg3::DMBoundaryType,arg4::DMBoundaryType,arg5::DMDAStencilType,arg6::Integer,arg7::Integer,arg8::Integer,arg9::Integer,arg10::Integer,arg11::Integer,arg12::Integer,arg13::Integer,arg14::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg15::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg16::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg17::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMDACreate3d,petscRealDouble),PetscErrorCode,(comm_type,DMBoundaryType,DMBoundaryType,DMBoundaryType,DMDAStencilType,Int64,Int64,Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{DM}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16,arg17) - return err -end - -function DMDAGlobalToNaturalBegin(arg1::DM,arg2::Vec{Float64},arg3::InsertMode,arg4::Vec{Float64}) - err = ccall((:DMDAGlobalToNaturalBegin,petscRealDouble),PetscErrorCode,(DM,Vec{Float64},InsertMode,Vec{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function DMDAGlobalToNaturalEnd(arg1::DM,arg2::Vec{Float64},arg3::InsertMode,arg4::Vec{Float64}) - err = ccall((:DMDAGlobalToNaturalEnd,petscRealDouble),PetscErrorCode,(DM,Vec{Float64},InsertMode,Vec{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function DMDANaturalToGlobalBegin(arg1::DM,arg2::Vec{Float64},arg3::InsertMode,arg4::Vec{Float64}) - err = ccall((:DMDANaturalToGlobalBegin,petscRealDouble),PetscErrorCode,(DM,Vec{Float64},InsertMode,Vec{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function DMDANaturalToGlobalEnd(arg1::DM,arg2::Vec{Float64},arg3::InsertMode,arg4::Vec{Float64}) - err = ccall((:DMDANaturalToGlobalEnd,petscRealDouble),PetscErrorCode,(DM,Vec{Float64},InsertMode,Vec{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function DMDALocalToLocalBegin(dm::DM,g::Vec{Float64},mode::InsertMode,l::Vec{Float64}) - err = ccall((:DMDALocalToLocalBegin,petscRealDouble),PetscErrorCode,(DM,Vec{Float64},InsertMode,Vec{Float64}),dm,g,mode,l) - return err -end - -function DMDALocalToLocalEnd(dm::DM,g::Vec{Float64},mode::InsertMode,l::Vec{Float64}) - err = ccall((:DMDALocalToLocalEnd,petscRealDouble),PetscErrorCode,(DM,Vec{Float64},InsertMode,Vec{Float64}),dm,g,mode,l) - return err -end - -function DMDACreateNaturalVector(arg1::DM,arg2::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:DMDACreateNaturalVector,petscRealDouble),PetscErrorCode,(DM,Ptr{Vec{Float64}}),arg1,arg2) - return err -end - -function DMDAGetCorners(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDAGetCorners,petscRealDouble),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMDAGetGhostCorners(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDAGetGhostCorners,petscRealDouble),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMDAGetInfo(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg9::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg10::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg11::Union{Ptr{DMBoundaryType},StridedArray{DMBoundaryType},Ptr{DMBoundaryType},Ref{DMBoundaryType}},arg12::Union{Ptr{DMBoundaryType},StridedArray{DMBoundaryType},Ptr{DMBoundaryType},Ref{DMBoundaryType}},arg13::Union{Ptr{DMBoundaryType},StridedArray{DMBoundaryType},Ptr{DMBoundaryType},Ref{DMBoundaryType}},arg14::Union{Ptr{DMDAStencilType},StridedArray{DMDAStencilType},Ptr{DMDAStencilType},Ref{DMDAStencilType}}) - err = ccall((:DMDAGetInfo,petscRealDouble),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{DMBoundaryType},Ptr{DMBoundaryType},Ptr{DMBoundaryType},Ptr{DMDAStencilType}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14) - return err -end - -function DMDAGetProcessorSubset(arg0::Type{Float64},arg1::DM,arg2::DMDADirection,arg3::Integer,arg4::Union{Ptr{MPI_Comm},StridedArray{MPI_Comm},Ptr{MPI_Comm},Ref{MPI_Comm}}) - err = ccall((:DMDAGetProcessorSubset,petscRealDouble),PetscErrorCode,(DM,DMDADirection,Int64,Ptr{comm_type}),arg1,arg2,arg3,arg4) - return err -end - -function DMDAGetProcessorSubsets(arg0::Type{Float64},arg1::DM,arg2::DMDADirection,arg3::Union{Ptr{MPI_Comm},StridedArray{MPI_Comm},Ptr{MPI_Comm},Ref{MPI_Comm}}) - err = ccall((:DMDAGetProcessorSubsets,petscRealDouble),PetscErrorCode,(DM,DMDADirection,Ptr{comm_type}),arg1,arg2,arg3) - return err -end - -function DMDAGetRay(arg1::DM,arg2::DMDADirection,arg3::Integer,arg4::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}},arg5::Union{Ptr{VecScatter{Float64}},StridedArray{VecScatter{Float64}},Ptr{VecScatter{Float64}},Ref{VecScatter{Float64}}}) - err = ccall((:DMDAGetRay,petscRealDouble),PetscErrorCode,(DM,DMDADirection,Int64,Ptr{Vec{Float64}},Ptr{VecScatter{Float64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMDAGlobalToNaturalAllCreate(arg1::DM,arg2::Union{Ptr{VecScatter{Float64}},StridedArray{VecScatter{Float64}},Ptr{VecScatter{Float64}},Ref{VecScatter{Float64}}}) - err = ccall((:DMDAGlobalToNaturalAllCreate,petscRealDouble),PetscErrorCode,(DM,Ptr{VecScatter{Float64}}),arg1,arg2) - return err -end - -function DMDANaturalAllToGlobalCreate(arg1::DM,arg2::Union{Ptr{VecScatter{Float64}},StridedArray{VecScatter{Float64}},Ptr{VecScatter{Float64}},Ref{VecScatter{Float64}}}) - err = ccall((:DMDANaturalAllToGlobalCreate,petscRealDouble),PetscErrorCode,(DM,Ptr{VecScatter{Float64}}),arg1,arg2) - return err -end - -function DMDAGetScatter(arg1::DM,arg2::Union{Ptr{VecScatter{Float64}},StridedArray{VecScatter{Float64}},Ptr{VecScatter{Float64}},Ref{VecScatter{Float64}}},arg3::Union{Ptr{VecScatter{Float64}},StridedArray{VecScatter{Float64}},Ptr{VecScatter{Float64}},Ref{VecScatter{Float64}}}) - err = ccall((:DMDAGetScatter,petscRealDouble),PetscErrorCode,(DM,Ptr{VecScatter{Float64}},Ptr{VecScatter{Float64}}),arg1,arg2,arg3) - return err -end - -function DMDAGetNeighbors(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Ptr{PetscMPIInt}},StridedArray{Ptr{PetscMPIInt}},Ptr{Ptr{PetscMPIInt}},Ref{Ptr{PetscMPIInt}}}) - err = ccall((:DMDAGetNeighbors,petscRealDouble),PetscErrorCode,(DM,Ptr{Ptr{PetscMPIInt}}),arg1,arg2) - return err -end - -function DMDASetAOType(arg0::Type{Float64},arg1::DM,arg2::AOType) - err = ccall((:DMDASetAOType,petscRealDouble),PetscErrorCode,(DM,Cstring),arg1,arg2) - return err -end - -function DMDAGetAO(arg1::DM,arg2::Union{Ptr{AO{Float64}},StridedArray{AO{Float64}},Ptr{AO{Float64}},Ref{AO{Float64}}}) - err = ccall((:DMDAGetAO,petscRealDouble),PetscErrorCode,(DM,Ptr{AO{Float64}}),arg1,arg2) - return err -end - -function DMDASetUniformCoordinates(arg0::Type{Float64},arg1::DM,arg2::Float64,arg3::Float64,arg4::Float64,arg5::Float64,arg6::Float64,arg7::Float64) - err = ccall((:DMDASetUniformCoordinates,petscRealDouble),PetscErrorCode,(DM,Float64,Float64,Float64,Float64,Float64,Float64),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMDAGetCoordinateArray(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDAGetCoordinateArray,petscRealDouble),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMDARestoreCoordinateArray(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDARestoreCoordinateArray,petscRealDouble),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMDAGetBoundingBox(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:DMDAGetBoundingBox,petscRealDouble),PetscErrorCode,(DM,Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function DMDAGetLocalBoundingBox(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:DMDAGetLocalBoundingBox,petscRealDouble),PetscErrorCode,(DM,Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function DMDAGetLogicalCoordinate(arg0::Type{Float64},arg1::DM,arg2::Float64,arg3::Float64,arg4::Float64,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg9::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg10::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:DMDAGetLogicalCoordinate,petscRealDouble),PetscErrorCode,(DM,Float64,Float64,Float64,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Float64},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -function DMDAMapCoordsToPeriodicDomain(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:DMDAMapCoordsToPeriodicDomain,petscRealDouble),PetscErrorCode,(DM,Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function DMDAGetReducedDMDA(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMDAGetReducedDMDA,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{DM}),arg1,arg2,arg3) - return err -end - -function DMDASetFieldName(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:DMDASetFieldName,petscRealDouble),PetscErrorCode,(DM,Int64,Cstring),arg1,arg2,arg3) - return err -end - -function DMDAGetFieldName(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:DMDAGetFieldName,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{Ptr{UInt8}}),arg1,arg2,arg3) - return err -end - -function DMDASetFieldNames(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:DMDASetFieldNames,petscRealDouble),PetscErrorCode,(DM,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function DMDAGetFieldNames(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}}) - err = ccall((:DMDAGetFieldNames,petscRealDouble),PetscErrorCode,(DM,Ptr{Ptr{Ptr{UInt8}}}),arg1,arg2) - return err -end - -function DMDASetCoordinateName(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:DMDASetCoordinateName,petscRealDouble),PetscErrorCode,(DM,Int64,Cstring),arg1,arg2,arg3) - return err -end - -function DMDAGetCoordinateName(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:DMDAGetCoordinateName,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{Ptr{UInt8}}),arg1,arg2,arg3) - return err -end - -function DMDASetBoundaryType(arg0::Type{Float64},arg1::DM,arg2::DMBoundaryType,arg3::DMBoundaryType,arg4::DMBoundaryType) - err = ccall((:DMDASetBoundaryType,petscRealDouble),PetscErrorCode,(DM,DMBoundaryType,DMBoundaryType,DMBoundaryType),arg1,arg2,arg3,arg4) - return err -end - -function DMDASetDof(arg0::Type{Float64},arg1::DM,arg2::Integer) - err = ccall((:DMDASetDof,petscRealDouble),PetscErrorCode,(DM,Int64),arg1,arg2) - return err -end - -function DMDASetOverlap(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:DMDASetOverlap,petscRealDouble),PetscErrorCode,(DM,Int64,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function DMDAGetOverlap(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDAGetOverlap,petscRealDouble),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMDASetNumLocalSubDomains(arg0::Type{Float64},arg1::DM,arg2::Integer) - err = ccall((:DMDASetNumLocalSubDomains,petscRealDouble),PetscErrorCode,(DM,Int64),arg1,arg2) - return err -end - -function DMDAGetNumLocalSubDomains(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDAGetNumLocalSubDomains,petscRealDouble),PetscErrorCode,(DM,Ptr{Int64}),arg1,arg2) - return err -end - -function DMDAGetOffset(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDAGetOffset,petscRealDouble),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMDASetOffset(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer) - err = ccall((:DMDASetOffset,petscRealDouble),PetscErrorCode,(DM,Int64,Int64,Int64,Int64,Int64,Int64),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMDAGetNonOverlappingRegion(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDAGetNonOverlappingRegion,petscRealDouble),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMDASetNonOverlappingRegion(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer) - err = ccall((:DMDASetNonOverlappingRegion,petscRealDouble),PetscErrorCode,(DM,Int64,Int64,Int64,Int64,Int64,Int64),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMDASetStencilWidth(arg0::Type{Float64},arg1::DM,arg2::Integer) - err = ccall((:DMDASetStencilWidth,petscRealDouble),PetscErrorCode,(DM,Int64),arg1,arg2) - return err -end - -function DMDASetOwnershipRanges(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDASetOwnershipRanges,petscRealDouble),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMDAGetOwnershipRanges(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMDAGetOwnershipRanges,petscRealDouble),PetscErrorCode,(DM,Ptr{Ptr{Int64}},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4) - return err -end - -function DMDASetNumProcs(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:DMDASetNumProcs,petscRealDouble),PetscErrorCode,(DM,Int64,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function DMDASetStencilType(arg0::Type{Float64},arg1::DM,arg2::DMDAStencilType) - err = ccall((:DMDASetStencilType,petscRealDouble),PetscErrorCode,(DM,DMDAStencilType),arg1,arg2) - return err -end - -function DMDAVecGetArray(arg1::DM,arg2::Vec{Float64},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDAVecGetArray,petscRealDouble),PetscErrorCode,(DM,Vec{Float64},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMDAVecRestoreArray(arg1::DM,arg2::Vec{Float64},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDAVecRestoreArray,petscRealDouble),PetscErrorCode,(DM,Vec{Float64},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMDAVecGetArrayDOF(arg1::DM,arg2::Vec{Float64},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDAVecGetArrayDOF,petscRealDouble),PetscErrorCode,(DM,Vec{Float64},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMDAVecRestoreArrayDOF(arg1::DM,arg2::Vec{Float64},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDAVecRestoreArrayDOF,petscRealDouble),PetscErrorCode,(DM,Vec{Float64},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMDAVecGetArrayRead(arg1::DM,arg2::Vec{Float64},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDAVecGetArrayRead,petscRealDouble),PetscErrorCode,(DM,Vec{Float64},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMDAVecRestoreArrayRead(arg1::DM,arg2::Vec{Float64},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDAVecRestoreArrayRead,petscRealDouble),PetscErrorCode,(DM,Vec{Float64},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMDAVecGetArrayDOFRead(arg1::DM,arg2::Vec{Float64},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDAVecGetArrayDOFRead,petscRealDouble),PetscErrorCode,(DM,Vec{Float64},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMDAVecRestoreArrayDOFRead(arg1::DM,arg2::Vec{Float64},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDAVecRestoreArrayDOFRead,petscRealDouble),PetscErrorCode,(DM,Vec{Float64},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMDASplitComm2d(arg0::Type{Float64},arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Union{Ptr{MPI_Comm},StridedArray{MPI_Comm},Ptr{MPI_Comm},Ref{MPI_Comm}}) - err = ccall((:DMDASplitComm2d,petscRealDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Ptr{comm_type}),arg1,arg2,arg3,arg4,arg5) - return err -end - -#= skipping function with undefined symbols: - function DMDACreatePatchIS(arg1::DM,arg2::Union{Ptr{MatStencil},StridedArray{MatStencil},Ptr{MatStencil},Ref{MatStencil}},arg3::Union{Ptr{MatStencil},StridedArray{MatStencil},Ptr{MatStencil},Ref{MatStencil}},arg4::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - ccall((:DMDACreatePatchIS,petscRealDouble),PetscErrorCode,(DM,Ptr{MatStencil},Ptr{MatStencil},Ptr{IS{Float64}}),arg1,arg2,arg3,arg4) -end -=# -#= skipping function with undefined symbols: - function DMDAGetLocalInfo(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{DMDALocalInfo},StridedArray{DMDALocalInfo},Ptr{DMDALocalInfo},Ref{DMDALocalInfo}}) - ccall((:DMDAGetLocalInfo,petscRealDouble),PetscErrorCode,(DM,Ptr{DMDALocalInfo}),arg1,arg2) -end -=# -function MatRegisterDAAD(arg0::Type{Float64}) - err = ccall((:MatRegisterDAAD,petscRealDouble),PetscErrorCode,()) - return err -end - -function MatCreateDAAD(arg1::DM,arg2::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateDAAD,petscRealDouble),PetscErrorCode,(DM,Ptr{Mat{Float64}}),arg1,arg2) - return err -end - -function MatCreateSeqUSFFT(arg1::Vec{Float64},arg2::DM,arg3::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateSeqUSFFT,petscRealDouble),PetscErrorCode,(Vec{Float64},DM,Ptr{Mat{Float64}}),arg1,arg2,arg3) - return err -end - -function DMDASetGetMatrix(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDASetGetMatrix,petscRealDouble),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMDASetBlockFills(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDASetBlockFills,petscRealDouble),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function DMDASetRefinementFactor(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:DMDASetRefinementFactor,petscRealDouble),PetscErrorCode,(DM,Int64,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function DMDAGetRefinementFactor(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDAGetRefinementFactor,petscRealDouble),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMDAGetArray(arg0::Type{Float64},arg1::DM,arg2::PetscBool,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDAGetArray,petscRealDouble),PetscErrorCode,(DM,PetscBool,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMDARestoreArray(arg0::Type{Float64},arg1::DM,arg2::PetscBool,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDARestoreArray,petscRealDouble),PetscErrorCode,(DM,PetscBool,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMDACreatePF(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{PF},StridedArray{PF},Ptr{PF},Ref{PF}}) - err = ccall((:DMDACreatePF,petscRealDouble),PetscErrorCode,(DM,Ptr{PF}),arg1,arg2) - return err -end - -function DMDAGetNumCells(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDAGetNumCells,petscRealDouble),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMDAGetCellPoint(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDAGetCellPoint,petscRealDouble),PetscErrorCode,(DM,Int64,Int64,Int64,Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMDAGetNumVertices(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDAGetNumVertices,petscRealDouble),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMDAGetNumFaces(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDAGetNumFaces,petscRealDouble),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMDAGetHeightStratum(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDAGetHeightStratum,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMDAGetDepthStratum(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDAGetDepthStratum,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMDACreateSection(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:DMDACreateSection,petscRealDouble),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{PetscSection}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMDAComputeCellGeometryFEM(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::PetscQuadrature,arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg7::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:DMDAComputeCellGeometryFEM,petscRealDouble),PetscErrorCode,(DM,Int64,PetscQuadrature,Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMDAGetTransitiveClosure(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::PetscBool,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMDAGetTransitiveClosure,petscRealDouble),PetscErrorCode,(DM,Int64,PetscBool,Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMDARestoreTransitiveClosure(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::PetscBool,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMDARestoreTransitiveClosure,petscRealDouble),PetscErrorCode,(DM,Int64,PetscBool,Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMDAVecGetClosure(arg1::DM,arg2::PetscSection,arg3::Vec{Float64},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:DMDAVecGetClosure,petscRealDouble),PetscErrorCode,(DM,PetscSection,Vec{Float64},Int64,Ptr{Int64},Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMDAVecRestoreClosure(arg1::DM,arg2::PetscSection,arg3::Vec{Float64},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:DMDAVecRestoreClosure,petscRealDouble),PetscErrorCode,(DM,PetscSection,Vec{Float64},Int64,Ptr{Int64},Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMDAVecSetClosure(arg1::DM,arg2::PetscSection,arg3::Vec{Float64},arg4::Integer,arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::InsertMode) - err = ccall((:DMDAVecSetClosure,petscRealDouble),PetscErrorCode,(DM,PetscSection,Vec{Float64},Int64,Ptr{Float64},InsertMode),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMDAGetClosure(arg0::Type{Float64},arg1::DM,arg2::PetscSection,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMDAGetClosure,petscRealDouble),PetscErrorCode,(DM,PetscSection,Int64,Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMDARestoreClosure(arg0::Type{Float64},arg1::DM,arg2::PetscSection,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMDARestoreClosure,petscRealDouble),PetscErrorCode,(DM,PetscSection,Int64,Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMDAGetClosureScalar(arg0::Type{Float64},arg1::DM,arg2::PetscSection,arg3::Integer,arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:DMDAGetClosureScalar,petscRealDouble),PetscErrorCode,(DM,PetscSection,Int64,Ptr{Float64},Ptr{Int64},Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMDARestoreClosureScalar(arg0::Type{Float64},arg1::DM,arg2::PetscSection,arg3::Integer,arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:DMDARestoreClosureScalar,petscRealDouble),PetscErrorCode,(DM,PetscSection,Int64,Ptr{Float64},Ptr{Int64},Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMDASetClosureScalar(arg0::Type{Float64},arg1::DM,arg2::PetscSection,arg3::Integer,arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::InsertMode) - err = ccall((:DMDASetClosureScalar,petscRealDouble),PetscErrorCode,(DM,PetscSection,Int64,Ptr{Float64},Ptr{Float64},InsertMode),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -#= skipping function with undefined symbols: - function DMDAConvertToCell(arg0::Type{Float64},arg1::DM,arg2::MatStencil,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - ccall((:DMDAConvertToCell,petscRealDouble),PetscErrorCode,(DM,MatStencil,Ptr{Int64}),arg1,arg2,arg3) -end -=# -function DMDASetVertexCoordinates(arg0::Type{Float64},arg1::DM,arg2::Float64,arg3::Float64,arg4::Float64,arg5::Float64,arg6::Float64,arg7::Float64) - err = ccall((:DMDASetVertexCoordinates,petscRealDouble),PetscErrorCode,(DM,Float64,Float64,Float64,Float64,Float64,Float64),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMDASetPreallocationCenterDimension(arg0::Type{Float64},arg1::DM,arg2::Integer) - err = ccall((:DMDASetPreallocationCenterDimension,petscRealDouble),PetscErrorCode,(DM,Int64),arg1,arg2) - return err -end - -function DMDAGetPreallocationCenterDimension(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDAGetPreallocationCenterDimension,petscRealDouble),PetscErrorCode,(DM,Ptr{Int64}),arg1,arg2) - return err -end - -function DMDAProjectFunction(arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::InsertMode,arg5::Vec{Float64}) - err = ccall((:DMDAProjectFunction,petscRealDouble),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Ptr{Void}},InsertMode,Vec{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMDAProjectFunctionLocal(arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::InsertMode,arg5::Vec{Float64}) - err = ccall((:DMDAProjectFunctionLocal,petscRealDouble),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Ptr{Void}},InsertMode,Vec{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMDAComputeL2Diff(arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::Vec{Float64},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:DMDAComputeL2Diff,petscRealDouble),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Ptr{Void}},Vec{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMDAComputeL2GradientDiff(arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::Vec{Float64},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:DMDAComputeL2GradientDiff,petscRealDouble),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Ptr{Void}},Vec{Float64},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMCompositeCreate(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMCompositeCreate,petscRealDouble),PetscErrorCode,(comm_type,Ptr{DM}),arg1,arg2) - return err -end - -function DMCompositeAddDM(arg0::Type{Float64},arg1::DM,arg2::DM) - err = ccall((:DMCompositeAddDM,petscRealDouble),PetscErrorCode,(DM,DM),arg1,arg2) - return err -end - -function DMCompositeSetCoupling(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMCompositeSetCoupling,petscRealDouble),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMCompositeAddVecScatter(arg1::DM,arg2::VecScatter{Float64}) - err = ccall((:DMCompositeAddVecScatter,petscRealDouble),PetscErrorCode,(DM,VecScatter{Float64}),arg1,arg2) - return err -end - -function DMCompositeScatterArray(arg1::DM,arg2::Vec{Float64},arg3::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:DMCompositeScatterArray,petscRealDouble),PetscErrorCode,(DM,Vec{Float64},Ptr{Vec{Float64}}),arg1,arg2,arg3) - return err -end - -function DMCompositeGatherArray(arg1::DM,arg2::Vec{Float64},arg3::InsertMode,arg4::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:DMCompositeGatherArray,petscRealDouble),PetscErrorCode,(DM,Vec{Float64},InsertMode,Ptr{Vec{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function DMCompositeGetNumberDM(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMCompositeGetNumberDM,petscRealDouble),PetscErrorCode,(DM,Ptr{Int64}),arg1,arg2) - return err -end - -function DMCompositeGetAccessArray(arg1::DM,arg2::Vec{Float64},arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:DMCompositeGetAccessArray,petscRealDouble),PetscErrorCode,(DM,Vec{Float64},Int64,Ptr{Int64},Ptr{Vec{Float64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMCompositeRestoreAccessArray(arg1::DM,arg2::Vec{Float64},arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:DMCompositeRestoreAccessArray,petscRealDouble),PetscErrorCode,(DM,Vec{Float64},Int64,Ptr{Int64},Ptr{Vec{Float64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMCompositeGetEntriesArray(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMCompositeGetEntriesArray,petscRealDouble),PetscErrorCode,(DM,Ptr{DM}),arg1,arg2) - return err -end - -function DMCompositeGetGlobalISs(arg1::DM,arg2::Union{Ptr{Ptr{IS{Float64}}},StridedArray{Ptr{IS{Float64}}},Ptr{Ptr{IS{Float64}}},Ref{Ptr{IS{Float64}}}}) - err = ccall((:DMCompositeGetGlobalISs,petscRealDouble),PetscErrorCode,(DM,Ptr{Ptr{IS{Float64}}}),arg1,arg2) - return err -end - -function DMCompositeGetLocalISs(arg1::DM,arg2::Union{Ptr{Ptr{IS{Float64}}},StridedArray{Ptr{IS{Float64}}},Ptr{Ptr{IS{Float64}}},Ref{Ptr{IS{Float64}}}}) - err = ccall((:DMCompositeGetLocalISs,petscRealDouble),PetscErrorCode,(DM,Ptr{Ptr{IS{Float64}}}),arg1,arg2) - return err -end - -function DMCompositeGetISLocalToGlobalMappings(arg1::DM,arg2::Union{Ptr{Ptr{ISLocalToGlobalMapping{Float64}}},StridedArray{Ptr{ISLocalToGlobalMapping{Float64}}},Ptr{Ptr{ISLocalToGlobalMapping{Float64}}},Ref{Ptr{ISLocalToGlobalMapping{Float64}}}}) - err = ccall((:DMCompositeGetISLocalToGlobalMappings,petscRealDouble),PetscErrorCode,(DM,Ptr{Ptr{ISLocalToGlobalMapping{Float64}}}),arg1,arg2) - return err -end - -function DMPatchCreate(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPatchCreate,petscRealDouble),PetscErrorCode,(comm_type,Ptr{DM}),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function DMPatchZoom(arg1::DM,arg2::Vec{Float64},arg3::MatStencil,arg4::MatStencil,arg5::MPI_Comm,arg6::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}},arg7::Union{Ptr{PetscSF},StridedArray{PetscSF},Ptr{PetscSF},Ref{PetscSF}},arg8::Union{Ptr{PetscSF},StridedArray{PetscSF},Ptr{PetscSF},Ref{PetscSF}}) - ccall((:DMPatchZoom,petscRealDouble),PetscErrorCode,(DM,Vec{Float64},MatStencil,MatStencil,comm_type,Ptr{DM},Ptr{PetscSF},Ptr{PetscSF}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) -end -=# -function DMPatchSolve(arg0::Type{Float64},arg1::DM) - err = ccall((:DMPatchSolve,petscRealDouble),PetscErrorCode,(DM,),arg1) - return err -end - -#= skipping function with undefined symbols: - function DMPatchGetPatchSize(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{MatStencil},StridedArray{MatStencil},Ptr{MatStencil},Ref{MatStencil}}) - ccall((:DMPatchGetPatchSize,petscRealDouble),PetscErrorCode,(DM,Ptr{MatStencil}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function DMPatchSetPatchSize(arg0::Type{Float64},arg1::DM,arg2::MatStencil) - ccall((:DMPatchSetPatchSize,petscRealDouble),PetscErrorCode,(DM,MatStencil),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function DMPatchGetCommSize(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{MatStencil},StridedArray{MatStencil},Ptr{MatStencil},Ref{MatStencil}}) - ccall((:DMPatchGetCommSize,petscRealDouble),PetscErrorCode,(DM,Ptr{MatStencil}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function DMPatchSetCommSize(arg0::Type{Float64},arg1::DM,arg2::MatStencil) - ccall((:DMPatchSetCommSize,petscRealDouble),PetscErrorCode,(DM,MatStencil),arg1,arg2) -end -=# -function DMPatchGetCoarse(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPatchGetCoarse,petscRealDouble),PetscErrorCode,(DM,Ptr{DM}),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function DMPatchCreateGrid(arg0::Type{Float64},arg1::MPI_Comm,arg2::Integer,arg3::MatStencil,arg4::MatStencil,arg5::MatStencil,arg6::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - ccall((:DMPatchCreateGrid,petscRealDouble),PetscErrorCode,(comm_type,Int64,MatStencil,MatStencil,MatStencil,Ptr{DM}),arg1,arg2,arg3,arg4,arg5,arg6) -end -=# -function PetscLimiterCreate(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{PetscLimiter},StridedArray{PetscLimiter},Ptr{PetscLimiter},Ref{PetscLimiter}}) - err = ccall((:PetscLimiterCreate,petscRealDouble),PetscErrorCode,(comm_type,Ptr{PetscLimiter}),arg1,arg2) - return err -end - -function PetscLimiterDestroy(arg0::Type{Float64},arg1::Union{Ptr{PetscLimiter},StridedArray{PetscLimiter},Ptr{PetscLimiter},Ref{PetscLimiter}}) - err = ccall((:PetscLimiterDestroy,petscRealDouble),PetscErrorCode,(Ptr{PetscLimiter},),arg1) - return err -end - -function PetscLimiterSetType(arg0::Type{Float64},arg1::PetscLimiter,arg2::PetscLimiterType) - err = ccall((:PetscLimiterSetType,petscRealDouble),PetscErrorCode,(PetscLimiter,Cstring),arg1,arg2) - return err -end - -function PetscLimiterGetType(arg0::Type{Float64},arg1::PetscLimiter,arg2::Union{Ptr{PetscLimiterType},StridedArray{PetscLimiterType},Ptr{PetscLimiterType},Ref{PetscLimiterType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:PetscLimiterGetType,petscRealDouble),PetscErrorCode,(PetscLimiter,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function PetscLimiterSetUp(arg0::Type{Float64},arg1::PetscLimiter) - err = ccall((:PetscLimiterSetUp,petscRealDouble),PetscErrorCode,(PetscLimiter,),arg1) - return err -end - -function PetscLimiterSetFromOptions(arg0::Type{Float64},arg1::PetscLimiter) - err = ccall((:PetscLimiterSetFromOptions,petscRealDouble),PetscErrorCode,(PetscLimiter,),arg1) - return err -end - -function PetscLimiterViewFromOptions(arg0::Type{Float64},A::PetscLimiter,B::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscLimiterViewFromOptions,petscRealDouble),PetscErrorCode,(PetscLimiter,PetscObject,Cstring),A,B,name) - return err -end - -function PetscLimiterView(arg1::PetscLimiter,arg2::PetscViewer{Float64}) - err = ccall((:PetscLimiterView,petscRealDouble),PetscErrorCode,(PetscLimiter,PetscViewer{Float64}),arg1,arg2) - return err -end - -function PetscLimiterRegister(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscLimiterRegister,petscRealDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function PetscLimiterRegisterDestroy(arg0::Type{Float64}) - err = ccall((:PetscLimiterRegisterDestroy,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscLimiterLimit(arg0::Type{Float64},arg1::PetscLimiter,arg2::Float64,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscLimiterLimit,petscRealDouble),PetscErrorCode,(PetscLimiter,Float64,Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function PetscFVInitializePackage(arg0::Type{Float64}) - err = ccall((:PetscFVInitializePackage,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscFVCreate(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{PetscFV},StridedArray{PetscFV},Ptr{PetscFV},Ref{PetscFV}}) - err = ccall((:PetscFVCreate,petscRealDouble),PetscErrorCode,(comm_type,Ptr{PetscFV}),arg1,arg2) - return err -end - -function PetscFVDestroy(arg0::Type{Float64},arg1::Union{Ptr{PetscFV},StridedArray{PetscFV},Ptr{PetscFV},Ref{PetscFV}}) - err = ccall((:PetscFVDestroy,petscRealDouble),PetscErrorCode,(Ptr{PetscFV},),arg1) - return err -end - -function PetscFVSetType(arg0::Type{Float64},arg1::PetscFV,arg2::PetscFVType) - err = ccall((:PetscFVSetType,petscRealDouble),PetscErrorCode,(PetscFV,Cstring),arg1,arg2) - return err -end - -function PetscFVGetType(arg0::Type{Float64},arg1::PetscFV,arg2::Union{Ptr{PetscFVType},StridedArray{PetscFVType},Ptr{PetscFVType},Ref{PetscFVType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:PetscFVGetType,petscRealDouble),PetscErrorCode,(PetscFV,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function PetscFVSetUp(arg0::Type{Float64},arg1::PetscFV) - err = ccall((:PetscFVSetUp,petscRealDouble),PetscErrorCode,(PetscFV,),arg1) - return err -end - -function PetscFVSetFromOptions(arg0::Type{Float64},arg1::PetscFV) - err = ccall((:PetscFVSetFromOptions,petscRealDouble),PetscErrorCode,(PetscFV,),arg1) - return err -end - -function PetscFVViewFromOptions(arg0::Type{Float64},A::PetscFV,B::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscFVViewFromOptions,petscRealDouble),PetscErrorCode,(PetscFV,PetscObject,Cstring),A,B,name) - return err -end - -function PetscFVView(arg1::PetscFV,arg2::PetscViewer{Float64}) - err = ccall((:PetscFVView,petscRealDouble),PetscErrorCode,(PetscFV,PetscViewer{Float64}),arg1,arg2) - return err -end - -function PetscFVRegister(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscFVRegister,petscRealDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function PetscFVRegisterDestroy(arg0::Type{Float64}) - err = ccall((:PetscFVRegisterDestroy,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscFVSetLimiter(arg0::Type{Float64},arg1::PetscFV,arg2::PetscLimiter) - err = ccall((:PetscFVSetLimiter,petscRealDouble),PetscErrorCode,(PetscFV,PetscLimiter),arg1,arg2) - return err -end - -function PetscFVGetLimiter(arg0::Type{Float64},arg1::PetscFV,arg2::Union{Ptr{PetscLimiter},StridedArray{PetscLimiter},Ptr{PetscLimiter},Ref{PetscLimiter}}) - err = ccall((:PetscFVGetLimiter,petscRealDouble),PetscErrorCode,(PetscFV,Ptr{PetscLimiter}),arg1,arg2) - return err -end - -function PetscFVSetNumComponents(arg0::Type{Float64},arg1::PetscFV,arg2::Integer) - err = ccall((:PetscFVSetNumComponents,petscRealDouble),PetscErrorCode,(PetscFV,Int64),arg1,arg2) - return err -end - -function PetscFVGetNumComponents(arg0::Type{Float64},arg1::PetscFV,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscFVGetNumComponents,petscRealDouble),PetscErrorCode,(PetscFV,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscFVSetSpatialDimension(arg0::Type{Float64},arg1::PetscFV,arg2::Integer) - err = ccall((:PetscFVSetSpatialDimension,petscRealDouble),PetscErrorCode,(PetscFV,Int64),arg1,arg2) - return err -end - -function PetscFVGetSpatialDimension(arg0::Type{Float64},arg1::PetscFV,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscFVGetSpatialDimension,petscRealDouble),PetscErrorCode,(PetscFV,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscFVSetComputeGradients(arg0::Type{Float64},arg1::PetscFV,arg2::PetscBool) - err = ccall((:PetscFVSetComputeGradients,petscRealDouble),PetscErrorCode,(PetscFV,PetscBool),arg1,arg2) - return err -end - -function PetscFVGetComputeGradients(arg0::Type{Float64},arg1::PetscFV,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscFVGetComputeGradients,petscRealDouble),PetscErrorCode,(PetscFV,Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscFVSetQuadrature(arg0::Type{Float64},arg1::PetscFV,arg2::PetscQuadrature) - err = ccall((:PetscFVSetQuadrature,petscRealDouble),PetscErrorCode,(PetscFV,PetscQuadrature),arg1,arg2) - return err -end - -function PetscFVGetQuadrature(arg0::Type{Float64},arg1::PetscFV,arg2::Union{Ptr{PetscQuadrature},StridedArray{PetscQuadrature},Ptr{PetscQuadrature},Ref{PetscQuadrature}}) - err = ccall((:PetscFVGetQuadrature,petscRealDouble),PetscErrorCode,(PetscFV,Ptr{PetscQuadrature}),arg1,arg2) - return err -end - -function PetscFVSetDualSpace(arg0::Type{Float64},arg1::PetscFV,arg2::PetscDualSpace) - err = ccall((:PetscFVSetDualSpace,petscRealDouble),PetscErrorCode,(PetscFV,PetscDualSpace),arg1,arg2) - return err -end - -function PetscFVGetDualSpace(arg0::Type{Float64},arg1::PetscFV,arg2::Union{Ptr{PetscDualSpace},StridedArray{PetscDualSpace},Ptr{PetscDualSpace},Ref{PetscDualSpace}}) - err = ccall((:PetscFVGetDualSpace,petscRealDouble),PetscErrorCode,(PetscFV,Ptr{PetscDualSpace}),arg1,arg2) - return err -end - -function PetscFVRefine(arg0::Type{Float64},arg1::PetscFV,arg2::Union{Ptr{PetscFV},StridedArray{PetscFV},Ptr{PetscFV},Ref{PetscFV}}) - err = ccall((:PetscFVRefine,petscRealDouble),PetscErrorCode,(PetscFV,Ptr{PetscFV}),arg1,arg2) - return err -end - -function PetscFVGetDefaultTabulation(arg0::Type{Float64},arg1::PetscFV,arg2::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg3::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg4::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:PetscFVGetDefaultTabulation,petscRealDouble),PetscErrorCode,(PetscFV,Ptr{Ptr{Float64}},Ptr{Ptr{Float64}},Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscFVGetTabulation(arg0::Type{Float64},arg1::PetscFV,arg2::Integer,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg5::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg6::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:PetscFVGetTabulation,petscRealDouble),PetscErrorCode,(PetscFV,Int64,Ptr{Float64},Ptr{Ptr{Float64}},Ptr{Ptr{Float64}},Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscFVRestoreTabulation(arg0::Type{Float64},arg1::PetscFV,arg2::Integer,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg5::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg6::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:PetscFVRestoreTabulation,petscRealDouble),PetscErrorCode,(PetscFV,Int64,Ptr{Float64},Ptr{Ptr{Float64}},Ptr{Ptr{Float64}},Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscFVComputeGradient(arg0::Type{Float64},arg1::PetscFV,arg2::Integer,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PetscFVComputeGradient,petscRealDouble),PetscErrorCode,(PetscFV,Int64,Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -#= skipping function with undefined symbols: - function PetscFVIntegrateRHSFunction(arg0::Type{Float64},arg1::PetscFV,arg2::PetscDS,arg3::Integer,arg4::Integer,arg5::Union{Ptr{PetscFVFaceGeom},StridedArray{PetscFVFaceGeom},Ptr{PetscFVFaceGeom},Ref{PetscFVFaceGeom}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg7::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg8::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg9::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg10::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - ccall((:PetscFVIntegrateRHSFunction,petscRealDouble),PetscErrorCode,(PetscFV,PetscDS,Int64,Int64,Ptr{PetscFVFaceGeom},Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) -end -=# -function PetscFVLeastSquaresSetMaxFaces(arg0::Type{Float64},arg1::PetscFV,arg2::Integer) - err = ccall((:PetscFVLeastSquaresSetMaxFaces,petscRealDouble),PetscErrorCode,(PetscFV,Int64),arg1,arg2) - return err -end - -function PetscPartitionerCreate(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{PetscPartitioner},StridedArray{PetscPartitioner},Ptr{PetscPartitioner},Ref{PetscPartitioner}}) - err = ccall((:PetscPartitionerCreate,petscRealDouble),PetscErrorCode,(comm_type,Ptr{PetscPartitioner}),arg1,arg2) - return err -end - -function PetscPartitionerDestroy(arg0::Type{Float64},arg1::Union{Ptr{PetscPartitioner},StridedArray{PetscPartitioner},Ptr{PetscPartitioner},Ref{PetscPartitioner}}) - err = ccall((:PetscPartitionerDestroy,petscRealDouble),PetscErrorCode,(Ptr{PetscPartitioner},),arg1) - return err -end - -function PetscPartitionerSetType(arg0::Type{Float64},arg1::PetscPartitioner,arg2::PetscPartitionerType) - err = ccall((:PetscPartitionerSetType,petscRealDouble),PetscErrorCode,(PetscPartitioner,Cstring),arg1,arg2) - return err -end - -function PetscPartitionerGetType(arg0::Type{Float64},arg1::PetscPartitioner,arg2::Union{Ptr{PetscPartitionerType},StridedArray{PetscPartitionerType},Ptr{PetscPartitionerType},Ref{PetscPartitionerType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:PetscPartitionerGetType,petscRealDouble),PetscErrorCode,(PetscPartitioner,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function PetscPartitionerSetUp(arg0::Type{Float64},arg1::PetscPartitioner) - err = ccall((:PetscPartitionerSetUp,petscRealDouble),PetscErrorCode,(PetscPartitioner,),arg1) - return err -end - -function PetscPartitionerSetFromOptions(arg0::Type{Float64},arg1::PetscPartitioner) - err = ccall((:PetscPartitionerSetFromOptions,petscRealDouble),PetscErrorCode,(PetscPartitioner,),arg1) - return err -end - -function PetscPartitionerViewFromOptions(arg0::Type{Float64},A::PetscPartitioner,B::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscPartitionerViewFromOptions,petscRealDouble),PetscErrorCode,(PetscPartitioner,PetscObject,Cstring),A,B,name) - return err -end - -function PetscPartitionerView(arg1::PetscPartitioner,arg2::PetscViewer{Float64}) - err = ccall((:PetscPartitionerView,petscRealDouble),PetscErrorCode,(PetscPartitioner,PetscViewer{Float64}),arg1,arg2) - return err -end - -function PetscPartitionerRegister(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscPartitionerRegister,petscRealDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function PetscPartitionerRegisterDestroy(arg0::Type{Float64}) - err = ccall((:PetscPartitionerRegisterDestroy,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscPartitionerPartition(arg1::PetscPartitioner,arg2::DM,arg3::PetscSection,arg4::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:PetscPartitionerPartition,petscRealDouble),PetscErrorCode,(PetscPartitioner,DM,PetscSection,Ptr{IS{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscPartitionerShellSetPartition(arg0::Type{Float64},arg1::PetscPartitioner,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscPartitionerShellSetPartition,petscRealDouble),PetscErrorCode,(PetscPartitioner,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCreate(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreate,petscRealDouble),PetscErrorCode,(comm_type,Ptr{DM}),arg1,arg2) - return err -end - -function DMPlexCreateCohesiveSubmesh(arg0::Type{Float64},arg1::DM,arg2::PetscBool,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Integer,arg5::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateCohesiveSubmesh,petscRealDouble),PetscErrorCode,(DM,PetscBool,Cstring,Int64,Ptr{DM}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexCreateFromCellList(arg0::Type{Float64},arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::PetscBool,arg7::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}},arg8::Integer,arg9::Union{Ptr{Cdouble},StridedArray{Cdouble},Ptr{Cdouble},Ref{Cdouble}},arg10::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateFromCellList,petscRealDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,PetscBool,Ptr{Cint},Int64,Ptr{Cdouble},Ptr{DM}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -function DMPlexCreateFromDAG(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:DMPlexCreateFromDAG,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMPlexCreateReferenceCell(arg0::Type{Float64},arg1::MPI_Comm,arg2::Integer,arg3::PetscBool,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateReferenceCell,petscRealDouble),PetscErrorCode,(comm_type,Int64,PetscBool,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexGetChart(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetChart,petscRealDouble),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function DMPlexSetChart(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Integer) - err = ccall((:DMPlexSetChart,petscRealDouble),PetscErrorCode,(DM,Int64,Int64),arg1,arg2,arg3) - return err -end - -function DMPlexGetConeSize(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetConeSize,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function DMPlexSetConeSize(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Integer) - err = ccall((:DMPlexSetConeSize,petscRealDouble),PetscErrorCode,(DM,Int64,Int64),arg1,arg2,arg3) - return err -end - -function DMPlexAddConeSize(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Integer) - err = ccall((:DMPlexAddConeSize,petscRealDouble),PetscErrorCode,(DM,Int64,Int64),arg1,arg2,arg3) - return err -end - -function DMPlexGetCone(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexGetCone,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{Ptr{Int64}}),arg1,arg2,arg3) - return err -end - -function DMPlexSetCone(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexSetCone,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function DMPlexInsertCone(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:DMPlexInsertCone,petscRealDouble),PetscErrorCode,(DM,Int64,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexInsertConeOrientation(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:DMPlexInsertConeOrientation,petscRealDouble),PetscErrorCode,(DM,Int64,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexGetConeOrientation(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexGetConeOrientation,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{Ptr{Int64}}),arg1,arg2,arg3) - return err -end - -function DMPlexSetConeOrientation(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexSetConeOrientation,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function DMPlexGetSupportSize(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetSupportSize,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function DMPlexSetSupportSize(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Integer) - err = ccall((:DMPlexSetSupportSize,petscRealDouble),PetscErrorCode,(DM,Int64,Int64),arg1,arg2,arg3) - return err -end - -function DMPlexGetSupport(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexGetSupport,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{Ptr{Int64}}),arg1,arg2,arg3) - return err -end - -function DMPlexSetSupport(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexSetSupport,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function DMPlexInsertSupport(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:DMPlexInsertSupport,petscRealDouble),PetscErrorCode,(DM,Int64,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexGetConeSection(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:DMPlexGetConeSection,petscRealDouble),PetscErrorCode,(DM,Ptr{PetscSection}),arg1,arg2) - return err -end - -function DMPlexGetSupportSection(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:DMPlexGetSupportSection,petscRealDouble),PetscErrorCode,(DM,Ptr{PetscSection}),arg1,arg2) - return err -end - -function DMPlexGetCones(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexGetCones,petscRealDouble),PetscErrorCode,(DM,Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function DMPlexGetConeOrientations(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexGetConeOrientations,petscRealDouble),PetscErrorCode,(DM,Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function DMPlexGetMaxSizes(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetMaxSizes,petscRealDouble),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function DMPlexSymmetrize(arg0::Type{Float64},arg1::DM) - err = ccall((:DMPlexSymmetrize,petscRealDouble),PetscErrorCode,(DM,),arg1) - return err -end - -function DMPlexStratify(arg0::Type{Float64},arg1::DM) - err = ccall((:DMPlexStratify,petscRealDouble),PetscErrorCode,(DM,),arg1) - return err -end - -function DMPlexEqual(arg0::Type{Float64},arg1::DM,arg2::DM,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:DMPlexEqual,petscRealDouble),PetscErrorCode,(DM,DM,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function DMPlexReverseCell(arg0::Type{Float64},arg1::DM,arg2::Integer) - err = ccall((:DMPlexReverseCell,petscRealDouble),PetscErrorCode,(DM,Int64),arg1,arg2) - return err -end - -function DMPlexOrient(arg0::Type{Float64},arg1::DM) - err = ccall((:DMPlexOrient,petscRealDouble),PetscErrorCode,(DM,),arg1) - return err -end - -function DMPlexInterpolate(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexInterpolate,petscRealDouble),PetscErrorCode,(DM,Ptr{DM}),arg1,arg2) - return err -end - -function DMPlexUninterpolate(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexUninterpolate,petscRealDouble),PetscErrorCode,(DM,Ptr{DM}),arg1,arg2) - return err -end - -function DMPlexLoad(arg1::PetscViewer{Float64},arg2::DM) - err = ccall((:DMPlexLoad,petscRealDouble),PetscErrorCode,(PetscViewer{Float64},DM),arg1,arg2) - return err -end - -function DMPlexPreallocateOperator(arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Mat{Float64},arg8::PetscBool) - err = ccall((:DMPlexPreallocateOperator,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Mat{Float64},PetscBool),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function DMPlexGetPointLocal(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetPointLocal,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexPointLocalRead(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexPointLocalRead,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{Float64},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexPointLocalRef(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexPointLocalRef,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{Float64},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexGetPointLocalField(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetPointLocalField,petscRealDouble),PetscErrorCode,(DM,Int64,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexPointLocalFieldRef(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexPointLocalFieldRef,petscRealDouble),PetscErrorCode,(DM,Int64,Int64,Ptr{Float64},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexPointLocalFieldRead(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexPointLocalFieldRead,petscRealDouble),PetscErrorCode,(DM,Int64,Int64,Ptr{Float64},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexGetPointGlobal(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetPointGlobal,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexPointGlobalRead(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexPointGlobalRead,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{Float64},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexPointGlobalRef(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexPointGlobalRef,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{Float64},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexGetPointGlobalField(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetPointGlobalField,petscRealDouble),PetscErrorCode,(DM,Int64,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexPointGlobalFieldRef(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexPointGlobalFieldRef,petscRealDouble),PetscErrorCode,(DM,Int64,Int64,Ptr{Float64},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexPointGlobalFieldRead(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexPointGlobalFieldRead,petscRealDouble),PetscErrorCode,(DM,Int64,Int64,Ptr{Float64},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMLabelCreate(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{DMLabel},StridedArray{DMLabel},Ptr{DMLabel},Ref{DMLabel}}) - err = ccall((:DMLabelCreate,petscRealDouble),PetscErrorCode,(Cstring,Ptr{DMLabel}),arg1,arg2) - return err -end - -function DMLabelView(arg1::DMLabel,arg2::PetscViewer{Float64}) - err = ccall((:DMLabelView,petscRealDouble),PetscErrorCode,(DMLabel,PetscViewer{Float64}),arg1,arg2) - return err -end - -function DMLabelDestroy(arg0::Type{Float64},arg1::Union{Ptr{DMLabel},StridedArray{DMLabel},Ptr{DMLabel},Ref{DMLabel}}) - err = ccall((:DMLabelDestroy,petscRealDouble),PetscErrorCode,(Ptr{DMLabel},),arg1) - return err -end - -function DMLabelDuplicate(arg0::Type{Float64},arg1::DMLabel,arg2::Union{Ptr{DMLabel},StridedArray{DMLabel},Ptr{DMLabel},Ref{DMLabel}}) - err = ccall((:DMLabelDuplicate,petscRealDouble),PetscErrorCode,(DMLabel,Ptr{DMLabel}),arg1,arg2) - return err -end - -function DMLabelGetName(arg0::Type{Float64},arg1::DMLabel,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:DMLabelGetName,petscRealDouble),PetscErrorCode,(DMLabel,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function DMLabelGetValue(arg0::Type{Float64},arg1::DMLabel,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMLabelGetValue,petscRealDouble),PetscErrorCode,(DMLabel,Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function DMLabelSetValue(arg0::Type{Float64},arg1::DMLabel,arg2::Integer,arg3::Integer) - err = ccall((:DMLabelSetValue,petscRealDouble),PetscErrorCode,(DMLabel,Int64,Int64),arg1,arg2,arg3) - return err -end - -function DMLabelClearValue(arg0::Type{Float64},arg1::DMLabel,arg2::Integer,arg3::Integer) - err = ccall((:DMLabelClearValue,petscRealDouble),PetscErrorCode,(DMLabel,Int64,Int64),arg1,arg2,arg3) - return err -end - -function DMLabelInsertIS(arg1::DMLabel,arg2::IS{Float64},arg3::Integer) - err = ccall((:DMLabelInsertIS,petscRealDouble),PetscErrorCode,(DMLabel,IS{Float64},Int64),arg1,arg2,arg3) - return err -end - -function DMLabelGetNumValues(arg0::Type{Float64},arg1::DMLabel,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMLabelGetNumValues,petscRealDouble),PetscErrorCode,(DMLabel,Ptr{Int64}),arg1,arg2) - return err -end - -function DMLabelGetStratumBounds(arg0::Type{Float64},arg1::DMLabel,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMLabelGetStratumBounds,petscRealDouble),PetscErrorCode,(DMLabel,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMLabelGetValueIS(arg1::DMLabel,arg2::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:DMLabelGetValueIS,petscRealDouble),PetscErrorCode,(DMLabel,Ptr{IS{Float64}}),arg1,arg2) - return err -end - -function DMLabelStratumHasPoint(arg0::Type{Float64},arg1::DMLabel,arg2::Integer,arg3::Integer,arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:DMLabelStratumHasPoint,petscRealDouble),PetscErrorCode,(DMLabel,Int64,Int64,Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function DMLabelGetStratumSize(arg0::Type{Float64},arg1::DMLabel,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMLabelGetStratumSize,petscRealDouble),PetscErrorCode,(DMLabel,Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function DMLabelGetStratumIS(arg1::DMLabel,arg2::Integer,arg3::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:DMLabelGetStratumIS,petscRealDouble),PetscErrorCode,(DMLabel,Int64,Ptr{IS{Float64}}),arg1,arg2,arg3) - return err -end - -function DMLabelClearStratum(arg0::Type{Float64},arg1::DMLabel,arg2::Integer) - err = ccall((:DMLabelClearStratum,petscRealDouble),PetscErrorCode,(DMLabel,Int64),arg1,arg2) - return err -end - -function DMLabelCreateIndex(arg0::Type{Float64},arg1::DMLabel,arg2::Integer,arg3::Integer) - err = ccall((:DMLabelCreateIndex,petscRealDouble),PetscErrorCode,(DMLabel,Int64,Int64),arg1,arg2,arg3) - return err -end - -function DMLabelDestroyIndex(arg0::Type{Float64},arg1::DMLabel) - err = ccall((:DMLabelDestroyIndex,petscRealDouble),PetscErrorCode,(DMLabel,),arg1) - return err -end - -function DMLabelHasValue(arg0::Type{Float64},arg1::DMLabel,arg2::Integer,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:DMLabelHasValue,petscRealDouble),PetscErrorCode,(DMLabel,Int64,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function DMLabelHasPoint(arg0::Type{Float64},arg1::DMLabel,arg2::Integer,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:DMLabelHasPoint,petscRealDouble),PetscErrorCode,(DMLabel,Int64,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function DMLabelFilter(arg0::Type{Float64},arg1::DMLabel,arg2::Integer,arg3::Integer) - err = ccall((:DMLabelFilter,petscRealDouble),PetscErrorCode,(DMLabel,Int64,Int64),arg1,arg2,arg3) - return err -end - -function DMLabelPermute(arg1::DMLabel,arg2::IS{Float64},arg3::Union{Ptr{DMLabel},StridedArray{DMLabel},Ptr{DMLabel},Ref{DMLabel}}) - err = ccall((:DMLabelPermute,petscRealDouble),PetscErrorCode,(DMLabel,IS{Float64},Ptr{DMLabel}),arg1,arg2,arg3) - return err -end - -function DMLabelDistribute(arg0::Type{Float64},arg1::DMLabel,arg2::PetscSF,arg3::Union{Ptr{DMLabel},StridedArray{DMLabel},Ptr{DMLabel},Ref{DMLabel}}) - err = ccall((:DMLabelDistribute,petscRealDouble),PetscErrorCode,(DMLabel,PetscSF,Ptr{DMLabel}),arg1,arg2,arg3) - return err -end - -function DMPlexCreateLabel(arg0::Type{Float64},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:DMPlexCreateLabel,petscRealDouble),PetscErrorCode,(DM,Cstring),arg1,arg2) - return err -end - -function DMPlexGetLabelValue(arg0::Type{Float64},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetLabelValue,petscRealDouble),PetscErrorCode,(DM,Cstring,Int64,Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexSetLabelValue(arg0::Type{Float64},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::Integer) - err = ccall((:DMPlexSetLabelValue,petscRealDouble),PetscErrorCode,(DM,Cstring,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexClearLabelValue(arg0::Type{Float64},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::Integer) - err = ccall((:DMPlexClearLabelValue,petscRealDouble),PetscErrorCode,(DM,Cstring,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexGetLabelSize(arg0::Type{Float64},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetLabelSize,petscRealDouble),PetscErrorCode,(DM,Cstring,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function DMPlexGetLabelIdIS(arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:DMPlexGetLabelIdIS,petscRealDouble),PetscErrorCode,(DM,Cstring,Ptr{IS{Float64}}),arg1,arg2,arg3) - return err -end - -function DMPlexGetStratumSize(arg0::Type{Float64},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetStratumSize,petscRealDouble),PetscErrorCode,(DM,Cstring,Int64,Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexGetStratumIS(arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:DMPlexGetStratumIS,petscRealDouble),PetscErrorCode,(DM,Cstring,Int64,Ptr{IS{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexClearLabelStratum(arg0::Type{Float64},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer) - err = ccall((:DMPlexClearLabelStratum,petscRealDouble),PetscErrorCode,(DM,Cstring,Int64),arg1,arg2,arg3) - return err -end - -function DMPlexGetLabelOutput(arg0::Type{Float64},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:DMPlexGetLabelOutput,petscRealDouble),PetscErrorCode,(DM,Cstring,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function DMPlexSetLabelOutput(arg0::Type{Float64},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::PetscBool) - err = ccall((:DMPlexSetLabelOutput,petscRealDouble),PetscErrorCode,(DM,Cstring,PetscBool),arg1,arg2,arg3) - return err -end - -function PetscSectionCreateGlobalSectionLabel(arg0::Type{Float64},arg1::PetscSection,arg2::PetscSF,arg3::PetscBool,arg4::DMLabel,arg5::Integer,arg6::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:PetscSectionCreateGlobalSectionLabel,petscRealDouble),PetscErrorCode,(PetscSection,PetscSF,PetscBool,DMLabel,Int64,Ptr{PetscSection}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMPlexGetNumLabels(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetNumLabels,petscRealDouble),PetscErrorCode,(DM,Ptr{Int64}),arg1,arg2) - return err -end - -function DMPlexGetLabelName(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:DMPlexGetLabelName,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{Ptr{UInt8}}),arg1,arg2,arg3) - return err -end - -function DMPlexHasLabel(arg0::Type{Float64},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:DMPlexHasLabel,petscRealDouble),PetscErrorCode,(DM,Cstring,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function DMPlexGetLabel(arg0::Type{Float64},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{DMLabel},StridedArray{DMLabel},Ptr{DMLabel},Ref{DMLabel}}) - err = ccall((:DMPlexGetLabel,petscRealDouble),PetscErrorCode,(DM,Cstring,Ptr{DMLabel}),arg1,arg2,arg3) - return err -end - -function DMPlexGetLabelByNum(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{DMLabel},StridedArray{DMLabel},Ptr{DMLabel},Ref{DMLabel}}) - err = ccall((:DMPlexGetLabelByNum,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{DMLabel}),arg1,arg2,arg3) - return err -end - -function DMPlexAddLabel(arg0::Type{Float64},arg1::DM,arg2::DMLabel) - err = ccall((:DMPlexAddLabel,petscRealDouble),PetscErrorCode,(DM,DMLabel),arg1,arg2) - return err -end - -function DMPlexRemoveLabel(arg0::Type{Float64},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{DMLabel},StridedArray{DMLabel},Ptr{DMLabel},Ref{DMLabel}}) - err = ccall((:DMPlexRemoveLabel,petscRealDouble),PetscErrorCode,(DM,Cstring,Ptr{DMLabel}),arg1,arg2,arg3) - return err -end - -function DMPlexGetCellNumbering(arg1::DM,arg2::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:DMPlexGetCellNumbering,petscRealDouble),PetscErrorCode,(DM,Ptr{IS{Float64}}),arg1,arg2) - return err -end - -function DMPlexGetVertexNumbering(arg1::DM,arg2::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:DMPlexGetVertexNumbering,petscRealDouble),PetscErrorCode,(DM,Ptr{IS{Float64}}),arg1,arg2) - return err -end - -function DMPlexCreatePointNumbering(arg1::DM,arg2::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:DMPlexCreatePointNumbering,petscRealDouble),PetscErrorCode,(DM,Ptr{IS{Float64}}),arg1,arg2) - return err -end - -function DMPlexGetDepth(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetDepth,petscRealDouble),PetscErrorCode,(DM,Ptr{Int64}),arg1,arg2) - return err -end - -function DMPlexGetDepthLabel(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{DMLabel},StridedArray{DMLabel},Ptr{DMLabel},Ref{DMLabel}}) - err = ccall((:DMPlexGetDepthLabel,petscRealDouble),PetscErrorCode,(DM,Ptr{DMLabel}),arg1,arg2) - return err -end - -function DMPlexGetDepthStratum(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetDepthStratum,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexGetHeightStratum(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetHeightStratum,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexGetMeet(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexGetMeet,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexGetFullMeet(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexGetFullMeet,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexRestoreMeet(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexRestoreMeet,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexGetJoin(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexGetJoin,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexGetFullJoin(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexGetFullJoin,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexRestoreJoin(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexRestoreJoin,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexGetTransitiveClosure(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::PetscBool,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexGetTransitiveClosure,petscRealDouble),PetscErrorCode,(DM,Int64,PetscBool,Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexRestoreTransitiveClosure(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::PetscBool,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexRestoreTransitiveClosure,petscRealDouble),PetscErrorCode,(DM,Int64,PetscBool,Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexGenerate(arg0::Type{Float64},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::PetscBool,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexGenerate,petscRealDouble),PetscErrorCode,(DM,Cstring,PetscBool,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCopyCoordinates(arg0::Type{Float64},arg1::DM,arg2::DM) - err = ccall((:DMPlexCopyCoordinates,petscRealDouble),PetscErrorCode,(DM,DM),arg1,arg2) - return err -end - -function DMPlexCopyLabels(arg0::Type{Float64},arg1::DM,arg2::DM) - err = ccall((:DMPlexCopyLabels,petscRealDouble),PetscErrorCode,(DM,DM),arg1,arg2) - return err -end - -function DMPlexCreateDoublet(arg0::Type{Float64},arg1::MPI_Comm,arg2::Integer,arg3::PetscBool,arg4::PetscBool,arg5::PetscBool,arg6::Float64,arg7::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateDoublet,petscRealDouble),PetscErrorCode,(comm_type,Int64,PetscBool,PetscBool,PetscBool,Float64,Ptr{DM}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMPlexCreateSquareBoundary(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexCreateSquareBoundary,petscRealDouble),PetscErrorCode,(DM,Ptr{Float64},Ptr{Float64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCreateCubeBoundary(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexCreateCubeBoundary,petscRealDouble),PetscErrorCode,(DM,Ptr{Float64},Ptr{Float64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCreateSquareMesh(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::DMBoundaryType,arg6::DMBoundaryType) - err = ccall((:DMPlexCreateSquareMesh,petscRealDouble),PetscErrorCode,(DM,Ptr{Float64},Ptr{Float64},Ptr{Int64},DMBoundaryType,DMBoundaryType),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMPlexCreateBoxMesh(arg0::Type{Float64},arg1::MPI_Comm,arg2::Integer,arg3::PetscBool,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateBoxMesh,petscRealDouble),PetscErrorCode,(comm_type,Int64,PetscBool,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCreateHexBoxMesh(arg0::Type{Float64},arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::DMBoundaryType,arg5::DMBoundaryType,arg6::DMBoundaryType,arg7::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateHexBoxMesh,petscRealDouble),PetscErrorCode,(comm_type,Int64,Ptr{Int64},DMBoundaryType,DMBoundaryType,DMBoundaryType,Ptr{DM}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMPlexCreateConeSection(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:DMPlexCreateConeSection,petscRealDouble),PetscErrorCode,(DM,Ptr{PetscSection}),arg1,arg2) - return err -end - -function DMPlexInvertCell(arg0::Type{Float64},arg1::Integer,arg2::Integer,arg3::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}}) - err = ccall((:DMPlexInvertCell,petscRealDouble),PetscErrorCode,(Int64,Int64,Ptr{Cint}),arg1,arg2,arg3) - return err -end - -function DMPlexLocalizeCoordinate(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:DMPlexLocalizeCoordinate,petscRealDouble),PetscErrorCode,(DM,Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function DMPlexLocalizeCoordinates(arg0::Type{Float64},arg1::DM) - err = ccall((:DMPlexLocalizeCoordinates,petscRealDouble),PetscErrorCode,(DM,),arg1) - return err -end - -function DMPlexCheckSymmetry(arg0::Type{Float64},arg1::DM) - err = ccall((:DMPlexCheckSymmetry,petscRealDouble),PetscErrorCode,(DM,),arg1) - return err -end - -function DMPlexCheckSkeleton(arg0::Type{Float64},arg1::DM,arg2::PetscBool,arg3::Integer) - err = ccall((:DMPlexCheckSkeleton,petscRealDouble),PetscErrorCode,(DM,PetscBool,Int64),arg1,arg2,arg3) - return err -end - -function DMPlexCheckFaces(arg0::Type{Float64},arg1::DM,arg2::PetscBool,arg3::Integer) - err = ccall((:DMPlexCheckFaces,petscRealDouble),PetscErrorCode,(DM,PetscBool,Int64),arg1,arg2,arg3) - return err -end - -function DMPlexTriangleSetOptions(arg0::Type{Float64},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:DMPlexTriangleSetOptions,petscRealDouble),PetscErrorCode,(DM,Cstring),arg1,arg2) - return err -end - -function DMPlexTetgenSetOptions(arg0::Type{Float64},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:DMPlexTetgenSetOptions,petscRealDouble),PetscErrorCode,(DM,Cstring),arg1,arg2) - return err -end - -function DMPlexCreateNeighborCSR(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexCreateNeighborCSR,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexGetPartitioner(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{PetscPartitioner},StridedArray{PetscPartitioner},Ptr{PetscPartitioner},Ref{PetscPartitioner}}) - err = ccall((:DMPlexGetPartitioner,petscRealDouble),PetscErrorCode,(DM,Ptr{PetscPartitioner}),arg1,arg2) - return err -end - -function DMPlexSetPartitioner(arg0::Type{Float64},arg1::DM,arg2::PetscPartitioner) - err = ccall((:DMPlexSetPartitioner,petscRealDouble),PetscErrorCode,(DM,PetscPartitioner),arg1,arg2) - return err -end - -function DMPlexCreatePartition(arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::PetscBool,arg5::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}},arg6::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}},arg7::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}},arg8::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:DMPlexCreatePartition,petscRealDouble),PetscErrorCode,(DM,Cstring,Int64,PetscBool,Ptr{PetscSection},Ptr{IS{Float64}},Ptr{PetscSection},Ptr{IS{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function DMPlexCreatePartitionerGraph(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexCreatePartitionerGraph,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexCreatePartitionClosure(arg1::DM,arg2::PetscSection,arg3::IS{Float64},arg4::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}},arg5::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:DMPlexCreatePartitionClosure,petscRealDouble),PetscErrorCode,(DM,PetscSection,IS{Float64},Ptr{PetscSection},Ptr{IS{Float64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexPartitionLabelInvert(arg0::Type{Float64},arg1::DM,arg2::DMLabel,arg3::PetscSF,arg4::DMLabel) - err = ccall((:DMPlexPartitionLabelInvert,petscRealDouble),PetscErrorCode,(DM,DMLabel,PetscSF,DMLabel),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexPartitionLabelClosure(arg0::Type{Float64},arg1::DM,arg2::DMLabel) - err = ccall((:DMPlexPartitionLabelClosure,petscRealDouble),PetscErrorCode,(DM,DMLabel),arg1,arg2) - return err -end - -function DMPlexPartitionLabelAdjacency(arg0::Type{Float64},arg1::DM,arg2::DMLabel) - err = ccall((:DMPlexPartitionLabelAdjacency,petscRealDouble),PetscErrorCode,(DM,DMLabel),arg1,arg2) - return err -end - -function DMPlexPartitionLabelCreateSF(arg0::Type{Float64},arg1::DM,arg2::DMLabel,arg3::Union{Ptr{PetscSF},StridedArray{PetscSF},Ptr{PetscSF},Ref{PetscSF}}) - err = ccall((:DMPlexPartitionLabelCreateSF,petscRealDouble),PetscErrorCode,(DM,DMLabel,Ptr{PetscSF}),arg1,arg2,arg3) - return err -end - -function DMPlexDistribute(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{PetscSF},StridedArray{PetscSF},Ptr{PetscSF},Ref{PetscSF}},arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexDistribute,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{PetscSF},Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexDistributeOverlap(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{PetscSF},StridedArray{PetscSF},Ptr{PetscSF},Ref{PetscSF}},arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexDistributeOverlap,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{PetscSF},Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexDistributeField(arg1::DM,arg2::PetscSF,arg3::PetscSection,arg4::Vec{Float64},arg5::PetscSection,arg6::Vec{Float64}) - err = ccall((:DMPlexDistributeField,petscRealDouble),PetscErrorCode,(DM,PetscSF,PetscSection,Vec{Float64},PetscSection,Vec{Float64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMPlexDistributeFieldIS(arg1::DM,arg2::PetscSF,arg3::PetscSection,arg4::IS{Float64},arg5::PetscSection,arg6::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:DMPlexDistributeFieldIS,petscRealDouble),PetscErrorCode,(DM,PetscSF,PetscSection,IS{Float64},PetscSection,Ptr{IS{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -#= skipping function with undefined symbols: - function DMPlexDistributeData(arg0::Type{Float64},arg1::DM,arg2::PetscSF,arg3::PetscSection,arg4::MPI_Datatype,arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg6::PetscSection,arg7::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - ccall((:DMPlexDistributeData,petscRealDouble),PetscErrorCode,(DM,PetscSF,PetscSection,MPI_Datatype,Ptr{Void},PetscSection,Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -function DMPlexMigrate(arg0::Type{Float64},arg1::DM,arg2::PetscSF,arg3::DM) - err = ccall((:DMPlexMigrate,petscRealDouble),PetscErrorCode,(DM,PetscSF,DM),arg1,arg2,arg3) - return err -end - -function DMPlexSetAdjacencyUseCone(arg0::Type{Float64},arg1::DM,arg2::PetscBool) - err = ccall((:DMPlexSetAdjacencyUseCone,petscRealDouble),PetscErrorCode,(DM,PetscBool),arg1,arg2) - return err -end - -function DMPlexGetAdjacencyUseCone(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:DMPlexGetAdjacencyUseCone,petscRealDouble),PetscErrorCode,(DM,Ptr{PetscBool}),arg1,arg2) - return err -end - -function DMPlexSetAdjacencyUseClosure(arg0::Type{Float64},arg1::DM,arg2::PetscBool) - err = ccall((:DMPlexSetAdjacencyUseClosure,petscRealDouble),PetscErrorCode,(DM,PetscBool),arg1,arg2) - return err -end - -function DMPlexGetAdjacencyUseClosure(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:DMPlexGetAdjacencyUseClosure,petscRealDouble),PetscErrorCode,(DM,Ptr{PetscBool}),arg1,arg2) - return err -end - -function DMPlexSetAdjacencyUseAnchors(arg0::Type{Float64},arg1::DM,arg2::PetscBool) - err = ccall((:DMPlexSetAdjacencyUseAnchors,petscRealDouble),PetscErrorCode,(DM,PetscBool),arg1,arg2) - return err -end - -function DMPlexGetAdjacencyUseAnchors(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:DMPlexGetAdjacencyUseAnchors,petscRealDouble),PetscErrorCode,(DM,Ptr{PetscBool}),arg1,arg2) - return err -end - -function DMPlexGetAdjacency(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexGetAdjacency,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexGetOrdering(arg1::DM,arg2::MatOrderingType,arg3::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:DMPlexGetOrdering,petscRealDouble),PetscErrorCode,(DM,Cstring,Ptr{IS{Float64}}),arg1,arg2,arg3) - return err -end - -function DMPlexPermute(arg1::DM,arg2::IS{Float64},arg3::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexPermute,petscRealDouble),PetscErrorCode,(DM,IS{Float64},Ptr{DM}),arg1,arg2,arg3) - return err -end - -function DMPlexCreateProcessSF(arg1::DM,arg2::PetscSF,arg3::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}},arg4::Union{Ptr{PetscSF},StridedArray{PetscSF},Ptr{PetscSF},Ref{PetscSF}}) - err = ccall((:DMPlexCreateProcessSF,petscRealDouble),PetscErrorCode,(DM,PetscSF,Ptr{IS{Float64}},Ptr{PetscSF}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCreateTwoSidedProcessSF(arg1::DM,arg2::PetscSF,arg3::PetscSection,arg4::IS{Float64},arg5::PetscSection,arg6::IS{Float64},arg7::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}},arg8::Union{Ptr{PetscSF},StridedArray{PetscSF},Ptr{PetscSF},Ref{PetscSF}}) - err = ccall((:DMPlexCreateTwoSidedProcessSF,petscRealDouble),PetscErrorCode,(DM,PetscSF,PetscSection,IS{Float64},PetscSection,IS{Float64},Ptr{IS{Float64}},Ptr{PetscSF}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function DMPlexDistributeOwnership(arg1::DM,arg2::PetscSection,arg3::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}},arg4::PetscSection,arg5::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:DMPlexDistributeOwnership,petscRealDouble),PetscErrorCode,(DM,PetscSection,Ptr{IS{Float64}},PetscSection,Ptr{IS{Float64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexCreateOverlap(arg1::DM,arg2::Integer,arg3::PetscSection,arg4::IS{Float64},arg5::PetscSection,arg6::IS{Float64},arg7::Union{Ptr{DMLabel},StridedArray{DMLabel},Ptr{DMLabel},Ref{DMLabel}}) - err = ccall((:DMPlexCreateOverlap,petscRealDouble),PetscErrorCode,(DM,Int64,PetscSection,IS{Float64},PetscSection,IS{Float64},Ptr{DMLabel}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMPlexCreateOverlapMigrationSF(arg0::Type{Float64},arg1::DM,arg2::PetscSF,arg3::Union{Ptr{PetscSF},StridedArray{PetscSF},Ptr{PetscSF},Ref{PetscSF}}) - err = ccall((:DMPlexCreateOverlapMigrationSF,petscRealDouble),PetscErrorCode,(DM,PetscSF,Ptr{PetscSF}),arg1,arg2,arg3) - return err -end - -function DMPlexStratifyMigrationSF(arg0::Type{Float64},arg1::DM,arg2::PetscSF,arg3::Union{Ptr{PetscSF},StridedArray{PetscSF},Ptr{PetscSF},Ref{PetscSF}}) - err = ccall((:DMPlexStratifyMigrationSF,petscRealDouble),PetscErrorCode,(DM,PetscSF,Ptr{PetscSF}),arg1,arg2,arg3) - return err -end - -function DMPlexCreateSubmesh(arg0::Type{Float64},arg1::DM,arg2::DMLabel,arg3::Integer,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateSubmesh,petscRealDouble),PetscErrorCode,(DM,DMLabel,Int64,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCreateHybridMesh(arg0::Type{Float64},arg1::DM,arg2::DMLabel,arg3::Union{Ptr{DMLabel},StridedArray{DMLabel},Ptr{DMLabel},Ref{DMLabel}},arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateHybridMesh,petscRealDouble),PetscErrorCode,(DM,DMLabel,Ptr{DMLabel},Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexGetSubpointMap(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{DMLabel},StridedArray{DMLabel},Ptr{DMLabel},Ref{DMLabel}}) - err = ccall((:DMPlexGetSubpointMap,petscRealDouble),PetscErrorCode,(DM,Ptr{DMLabel}),arg1,arg2) - return err -end - -function DMPlexSetSubpointMap(arg0::Type{Float64},arg1::DM,arg2::DMLabel) - err = ccall((:DMPlexSetSubpointMap,petscRealDouble),PetscErrorCode,(DM,DMLabel),arg1,arg2) - return err -end - -function DMPlexCreateSubpointIS(arg1::DM,arg2::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:DMPlexCreateSubpointIS,petscRealDouble),PetscErrorCode,(DM,Ptr{IS{Float64}}),arg1,arg2) - return err -end - -function DMPlexMarkBoundaryFaces(arg0::Type{Float64},arg1::DM,arg2::DMLabel) - err = ccall((:DMPlexMarkBoundaryFaces,petscRealDouble),PetscErrorCode,(DM,DMLabel),arg1,arg2) - return err -end - -function DMPlexLabelComplete(arg0::Type{Float64},arg1::DM,arg2::DMLabel) - err = ccall((:DMPlexLabelComplete,petscRealDouble),PetscErrorCode,(DM,DMLabel),arg1,arg2) - return err -end - -function DMPlexLabelCohesiveComplete(arg0::Type{Float64},arg1::DM,arg2::DMLabel,arg3::DMLabel,arg4::PetscBool,arg5::DM) - err = ccall((:DMPlexLabelCohesiveComplete,petscRealDouble),PetscErrorCode,(DM,DMLabel,DMLabel,PetscBool,DM),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexLabelAddCells(arg0::Type{Float64},arg1::DM,arg2::DMLabel) - err = ccall((:DMPlexLabelAddCells,petscRealDouble),PetscErrorCode,(DM,DMLabel),arg1,arg2) - return err -end - -function DMPlexGetRefinementLimit(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:DMPlexGetRefinementLimit,petscRealDouble),PetscErrorCode,(DM,Ptr{Float64}),arg1,arg2) - return err -end - -function DMPlexSetRefinementLimit(arg0::Type{Float64},arg1::DM,arg2::Float64) - err = ccall((:DMPlexSetRefinementLimit,petscRealDouble),PetscErrorCode,(DM,Float64),arg1,arg2) - return err -end - -function DMPlexGetRefinementUniform(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:DMPlexGetRefinementUniform,petscRealDouble),PetscErrorCode,(DM,Ptr{PetscBool}),arg1,arg2) - return err -end - -function DMPlexSetRefinementUniform(arg0::Type{Float64},arg1::DM,arg2::PetscBool) - err = ccall((:DMPlexSetRefinementUniform,petscRealDouble),PetscErrorCode,(DM,PetscBool),arg1,arg2) - return err -end - -function DMPlexGetCoarseDM(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexGetCoarseDM,petscRealDouble),PetscErrorCode,(DM,Ptr{DM}),arg1,arg2) - return err -end - -function DMPlexSetCoarseDM(arg0::Type{Float64},arg1::DM,arg2::DM) - err = ccall((:DMPlexSetCoarseDM,petscRealDouble),PetscErrorCode,(DM,DM),arg1,arg2) - return err -end - -function DMPlexCreateCoarsePointIS(arg1::DM,arg2::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:DMPlexCreateCoarsePointIS,petscRealDouble),PetscErrorCode,(DM,Ptr{IS{Float64}}),arg1,arg2) - return err -end - -function DMPlexGetNumFaceVertices(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetNumFaceVertices,petscRealDouble),PetscErrorCode,(DM,Int64,Int64,Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexGetOrientedFace(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg9::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:DMPlexGetOrientedFace,petscRealDouble),PetscErrorCode,(DM,Int64,Int64,Ptr{Int64},Int64,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) - return err -end - -function DMPlexGetMinRadius(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:DMPlexGetMinRadius,petscRealDouble),PetscErrorCode,(DM,Ptr{Float64}),arg1,arg2) - return err -end - -function DMPlexSetMinRadius(arg0::Type{Float64},arg1::DM,arg2::Float64) - err = ccall((:DMPlexSetMinRadius,petscRealDouble),PetscErrorCode,(DM,Float64),arg1,arg2) - return err -end - -function DMPlexComputeCellGeometryFVM(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:DMPlexComputeCellGeometryFVM,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{Float64},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexComputeGeometryFVM(arg1::DM,arg2::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}},arg3::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:DMPlexComputeGeometryFVM,petscRealDouble),PetscErrorCode,(DM,Ptr{Vec{Float64}},Ptr{Vec{Float64}}),arg1,arg2,arg3) - return err -end - -function DMPlexComputeGradientFVM(arg1::DM,arg2::PetscFV,arg3::Vec{Float64},arg4::Vec{Float64},arg5::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexComputeGradientFVM,petscRealDouble),PetscErrorCode,(DM,PetscFV,Vec{Float64},Vec{Float64},Ptr{DM}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexInsertBoundaryValues(arg1::DM,arg2::Vec{Float64},arg3::Float64,arg4::Vec{Float64},arg5::Vec{Float64},arg6::Vec{Float64}) - err = ccall((:DMPlexInsertBoundaryValues,petscRealDouble),PetscErrorCode,(DM,Vec{Float64},Float64,Vec{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMPlexCreateSection(arg1::DM,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Integer,arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}},arg9::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}},arg10::IS{Float64},arg11::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:DMPlexCreateSection,petscRealDouble),PetscErrorCode,(DM,Int64,Int64,Ptr{Int64},Ptr{Int64},Int64,Ptr{Int64},Ptr{IS{Float64}},Ptr{IS{Float64}},IS{Float64},Ptr{PetscSection}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) - return err -end - -function DMPlexComputeCellGeometryAffineFEM(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:DMPlexComputeCellGeometryAffineFEM,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMPlexComputeCellGeometryFEM(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::PetscFE,arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg7::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:DMPlexComputeCellGeometryFEM,petscRealDouble),PetscErrorCode,(DM,Int64,PetscFE,Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMPlexComputeGeometryFEM(arg1::DM,arg2::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:DMPlexComputeGeometryFEM,petscRealDouble),PetscErrorCode,(DM,Ptr{Vec{Float64}}),arg1,arg2) - return err -end - -function DMPlexVecGetClosure(arg1::DM,arg2::PetscSection,arg3::Vec{Float64},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:DMPlexVecGetClosure,petscRealDouble),PetscErrorCode,(DM,PetscSection,Vec{Float64},Int64,Ptr{Int64},Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMPlexVecRestoreClosure(arg1::DM,arg2::PetscSection,arg3::Vec{Float64},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:DMPlexVecRestoreClosure,petscRealDouble),PetscErrorCode,(DM,PetscSection,Vec{Float64},Int64,Ptr{Int64},Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMPlexVecSetClosure(arg1::DM,arg2::PetscSection,arg3::Vec{Float64},arg4::Integer,arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::InsertMode) - err = ccall((:DMPlexVecSetClosure,petscRealDouble),PetscErrorCode,(DM,PetscSection,Vec{Float64},Int64,Ptr{Float64},InsertMode),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMPlexMatSetClosure(arg1::DM,arg2::PetscSection,arg3::PetscSection,arg4::Mat{Float64},arg5::Integer,arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg7::InsertMode) - err = ccall((:DMPlexMatSetClosure,petscRealDouble),PetscErrorCode,(DM,PetscSection,PetscSection,Mat{Float64},Int64,Ptr{Float64},InsertMode),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMPlexMatSetClosureRefined(arg1::DM,arg2::PetscSection,arg3::PetscSection,arg4::DM,arg5::PetscSection,arg6::PetscSection,arg7::Mat{Float64},arg8::Integer,arg9::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg10::InsertMode) - err = ccall((:DMPlexMatSetClosureRefined,petscRealDouble),PetscErrorCode,(DM,PetscSection,PetscSection,DM,PetscSection,PetscSection,Mat{Float64},Int64,Ptr{Float64},InsertMode),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -function DMPlexMatGetClosureIndicesRefined(arg0::Type{Float64},arg1::DM,arg2::PetscSection,arg3::PetscSection,arg4::DM,arg5::PetscSection,arg6::PetscSection,arg7::Integer,arg8::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg9::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexMatGetClosureIndicesRefined,petscRealDouble),PetscErrorCode,(DM,PetscSection,PetscSection,DM,PetscSection,PetscSection,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) - return err -end - -function DMPlexCreateClosureIndex(arg0::Type{Float64},arg1::DM,arg2::PetscSection) - err = ccall((:DMPlexCreateClosureIndex,petscRealDouble),PetscErrorCode,(DM,PetscSection),arg1,arg2) - return err -end - -function DMPlexCreateFromFile(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::PetscBool,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateFromFile,petscRealDouble),PetscErrorCode,(comm_type,Cstring,PetscBool,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCreateExodus(arg0::Type{Float64},arg1::MPI_Comm,arg2::Integer,arg3::PetscBool,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateExodus,petscRealDouble),PetscErrorCode,(comm_type,Int64,PetscBool,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCreateExodusFromFile(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::PetscBool,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateExodusFromFile,petscRealDouble),PetscErrorCode,(comm_type,Cstring,PetscBool,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCreateCGNS(arg0::Type{Float64},arg1::MPI_Comm,arg2::Integer,arg3::PetscBool,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateCGNS,petscRealDouble),PetscErrorCode,(comm_type,Int64,PetscBool,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCreateCGNSFromFile(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::PetscBool,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateCGNSFromFile,petscRealDouble),PetscErrorCode,(comm_type,Cstring,PetscBool,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCreateGmsh(arg1::MPI_Comm,arg2::PetscViewer{Float64},arg3::PetscBool,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateGmsh,petscRealDouble),PetscErrorCode,(comm_type,PetscViewer{Float64},PetscBool,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCreateGmshFromFile(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::PetscBool,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateGmshFromFile,petscRealDouble),PetscErrorCode,(comm_type,Cstring,PetscBool,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCreateFluent(arg1::MPI_Comm,arg2::PetscViewer{Float64},arg3::PetscBool,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateFluent,petscRealDouble),PetscErrorCode,(comm_type,PetscViewer{Float64},PetscBool,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCreateFluentFromFile(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::PetscBool,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateFluentFromFile,petscRealDouble),PetscErrorCode,(comm_type,Cstring,PetscBool,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexConstructGhostCells(arg0::Type{Float64},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexConstructGhostCells,petscRealDouble),PetscErrorCode,(DM,Cstring,Ptr{Int64},Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexConstructCohesiveCells(arg0::Type{Float64},arg1::DM,arg2::DMLabel,arg3::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexConstructCohesiveCells,petscRealDouble),PetscErrorCode,(DM,DMLabel,Ptr{DM}),arg1,arg2,arg3) - return err -end - -function DMPlexGetHybridBounds(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetHybridBounds,petscRealDouble),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexSetHybridBounds(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer) - err = ccall((:DMPlexSetHybridBounds,petscRealDouble),PetscErrorCode,(DM,Int64,Int64,Int64,Int64),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexGetVTKCellHeight(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetVTKCellHeight,petscRealDouble),PetscErrorCode,(DM,Ptr{Int64}),arg1,arg2) - return err -end - -function DMPlexSetVTKCellHeight(arg0::Type{Float64},arg1::DM,arg2::Integer) - err = ccall((:DMPlexSetVTKCellHeight,petscRealDouble),PetscErrorCode,(DM,Int64),arg1,arg2) - return err -end - -function DMPlexVTKWriteAll(arg1::PetscObject,arg2::PetscViewer{Float64}) - err = ccall((:DMPlexVTKWriteAll,petscRealDouble),PetscErrorCode,(PetscObject,PetscViewer{Float64}),arg1,arg2) - return err -end - -function DMPlexGetScale(arg0::Type{Float64},arg1::DM,arg2::PetscUnit,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:DMPlexGetScale,petscRealDouble),PetscErrorCode,(DM,PetscUnit,Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function DMPlexSetScale(arg0::Type{Float64},arg1::DM,arg2::PetscUnit,arg3::Float64) - err = ccall((:DMPlexSetScale,petscRealDouble),PetscErrorCode,(DM,PetscUnit,Float64),arg1,arg2,arg3) - return err -end - -function DMPlexAddBoundary(arg0::Type{Float64},arg1::DM,arg2::PetscBool,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Integer,arg6::Integer,arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg9::Integer,arg10::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg11::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexAddBoundary,petscRealDouble),PetscErrorCode,(DM,PetscBool,Cstring,Cstring,Int64,Int64,Ptr{Int64},Ptr{Void},Int64,Ptr{Int64},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) - return err -end - -function DMPlexGetNumBoundary(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetNumBoundary,petscRealDouble),PetscErrorCode,(DM,Ptr{Int64}),arg1,arg2) - return err -end - -function DMPlexGetBoundary(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg4::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg5::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg9::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg10::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg11::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg12::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:DMPlexGetBoundary,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{PetscBool},Ptr{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ptr{Int64},Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Void}},Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12) - return err -end - -function DMPlexIsBoundaryPoint(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:DMPlexIsBoundaryPoint,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function DMPlexCopyBoundary(arg0::Type{Float64},arg1::DM,arg2::DM) - err = ccall((:DMPlexCopyBoundary,petscRealDouble),PetscErrorCode,(DM,DM),arg1,arg2) - return err -end - -function DMPlexInsertBoundaryValuesFEM(arg1::DM,arg2::Vec{Float64}) - err = ccall((:DMPlexInsertBoundaryValuesFEM,petscRealDouble),PetscErrorCode,(DM,Vec{Float64}),arg1,arg2) - return err -end - -function DMPlexSetMaxProjectionHeight(arg0::Type{Float64},arg1::DM,arg2::Integer) - err = ccall((:DMPlexSetMaxProjectionHeight,petscRealDouble),PetscErrorCode,(DM,Int64),arg1,arg2) - return err -end - -function DMPlexGetMaxProjectionHeight(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetMaxProjectionHeight,petscRealDouble),PetscErrorCode,(DM,Ptr{Int64}),arg1,arg2) - return err -end - -function DMPlexProjectFunction(arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::InsertMode,arg5::Vec{Float64}) - err = ccall((:DMPlexProjectFunction,petscRealDouble),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Ptr{Void}},InsertMode,Vec{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexProjectFunctionLocal(arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::InsertMode,arg5::Vec{Float64}) - err = ccall((:DMPlexProjectFunctionLocal,petscRealDouble),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Ptr{Void}},InsertMode,Vec{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexProjectFieldLocal(arg1::DM,arg2::Vec{Float64},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::InsertMode,arg5::Vec{Float64}) - err = ccall((:DMPlexProjectFieldLocal,petscRealDouble),PetscErrorCode,(DM,Vec{Float64},Ptr{Ptr{Void}},InsertMode,Vec{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexComputeL2Diff(arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::Vec{Float64},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:DMPlexComputeL2Diff,petscRealDouble),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Ptr{Void}},Vec{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexComputeL2GradientDiff(arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::Vec{Float64},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:DMPlexComputeL2GradientDiff,petscRealDouble),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Ptr{Void}},Vec{Float64},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMPlexComputeL2FieldDiff(arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::Vec{Float64},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:DMPlexComputeL2FieldDiff,petscRealDouble),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Ptr{Void}},Vec{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexComputeIntegralFEM(arg1::DM,arg2::Vec{Float64},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexComputeIntegralFEM,petscRealDouble),PetscErrorCode,(DM,Vec{Float64},Ptr{Float64},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexComputeInterpolatorFEM(arg1::DM,arg2::DM,arg3::Mat{Float64},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexComputeInterpolatorFEM,petscRealDouble),PetscErrorCode,(DM,DM,Mat{Float64},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexComputeInjectorFEM(arg1::DM,arg2::DM,arg3::Union{Ptr{VecScatter{Float64}},StridedArray{VecScatter{Float64}},Ptr{VecScatter{Float64}},Ref{VecScatter{Float64}}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexComputeInjectorFEM,petscRealDouble),PetscErrorCode,(DM,DM,Ptr{VecScatter{Float64}},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCreateRigidBody(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{MatNullSpace},StridedArray{MatNullSpace},Ptr{MatNullSpace},Ref{MatNullSpace}}) - err = ccall((:DMPlexCreateRigidBody,petscRealDouble),PetscErrorCode,(DM,Ptr{MatNullSpace}),arg1,arg2) - return err -end - -function DMPlexSNESComputeResidualFEM(arg1::DM,arg2::Vec{Float64},arg3::Vec{Float64},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexSNESComputeResidualFEM,petscRealDouble),PetscErrorCode,(DM,Vec{Float64},Vec{Float64},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexSNESComputeJacobianFEM(arg1::DM,arg2::Vec{Float64},arg3::Mat{Float64},arg4::Mat{Float64},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexSNESComputeJacobianFEM,petscRealDouble),PetscErrorCode,(DM,Vec{Float64},Mat{Float64},Mat{Float64},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexTSComputeRHSFunctionFVM(arg1::DM,arg2::Float64,arg3::Vec{Float64},arg4::Vec{Float64},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexTSComputeRHSFunctionFVM,petscRealDouble),PetscErrorCode,(DM,Float64,Vec{Float64},Vec{Float64},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexTSComputeIFunctionFEM(arg1::DM,arg2::Float64,arg3::Vec{Float64},arg4::Vec{Float64},arg5::Vec{Float64},arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexTSComputeIFunctionFEM,petscRealDouble),PetscErrorCode,(DM,Float64,Vec{Float64},Vec{Float64},Vec{Float64},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMPlexComputeRHSFunctionFVM(arg1::DM,arg2::Float64,arg3::Vec{Float64},arg4::Vec{Float64},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexComputeRHSFunctionFVM,petscRealDouble),PetscErrorCode,(DM,Float64,Vec{Float64},Vec{Float64},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexGetAnchors(arg1::DM,arg2::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}},arg3::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:DMPlexGetAnchors,petscRealDouble),PetscErrorCode,(DM,Ptr{PetscSection},Ptr{IS{Float64}}),arg1,arg2,arg3) - return err -end - -function DMPlexSetAnchors(arg1::DM,arg2::PetscSection,arg3::IS{Float64}) - err = ccall((:DMPlexSetAnchors,petscRealDouble),PetscErrorCode,(DM,PetscSection,IS{Float64}),arg1,arg2,arg3) - return err -end - -function DMPlexSetReferenceTree(arg0::Type{Float64},arg1::DM,arg2::DM) - err = ccall((:DMPlexSetReferenceTree,petscRealDouble),PetscErrorCode,(DM,DM),arg1,arg2) - return err -end - -function DMPlexGetReferenceTree(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexGetReferenceTree,petscRealDouble),PetscErrorCode,(DM,Ptr{DM}),arg1,arg2) - return err -end - -function DMPlexReferenceTreeGetChildSymmetry(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexReferenceTreeGetChildSymmetry,petscRealDouble),PetscErrorCode,(DM,Int64,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function DMPlexCreateDefaultReferenceTree(arg0::Type{Float64},arg1::MPI_Comm,arg2::Integer,arg3::PetscBool,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateDefaultReferenceTree,petscRealDouble),PetscErrorCode,(comm_type,Int64,PetscBool,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexSetTree(arg0::Type{Float64},arg1::DM,arg2::PetscSection,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexSetTree,petscRealDouble),PetscErrorCode,(DM,PetscSection,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexGetTree(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}},arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg5::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}},arg6::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexGetTree,petscRealDouble),PetscErrorCode,(DM,Ptr{PetscSection},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}},Ptr{PetscSection},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMPlexGetTreeParent(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetTreeParent,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexGetTreeChildren(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexGetTreeChildren,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexTreeRefineCell(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexTreeRefineCell,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{DM}),arg1,arg2,arg3) - return err -end - -function DMRedundantCreate(arg0::Type{Float64},arg1::MPI_Comm,arg2::PetscMPIInt,arg3::Integer,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMRedundantCreate,petscRealDouble),PetscErrorCode,(comm_type,PetscMPIInt,Int64,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMRedundantSetSize(arg0::Type{Float64},arg1::DM,arg2::PetscMPIInt,arg3::Integer) - err = ccall((:DMRedundantSetSize,petscRealDouble),PetscErrorCode,(DM,PetscMPIInt,Int64),arg1,arg2,arg3) - return err -end - -function DMRedundantGetSize(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMRedundantGetSize,petscRealDouble),PetscErrorCode,(DM,Ptr{PetscMPIInt},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function DMShellCreate(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMShellCreate,petscRealDouble),PetscErrorCode,(comm_type,Ptr{DM}),arg1,arg2) - return err -end - -function DMShellSetMatrix(arg1::DM,arg2::Mat{Float64}) - err = ccall((:DMShellSetMatrix,petscRealDouble),PetscErrorCode,(DM,Mat{Float64}),arg1,arg2) - return err -end - -function DMShellSetGlobalVector(arg1::DM,arg2::Vec{Float64}) - err = ccall((:DMShellSetGlobalVector,petscRealDouble),PetscErrorCode,(DM,Vec{Float64}),arg1,arg2) - return err -end - -function DMShellSetLocalVector(arg1::DM,arg2::Vec{Float64}) - err = ccall((:DMShellSetLocalVector,petscRealDouble),PetscErrorCode,(DM,Vec{Float64}),arg1,arg2) - return err -end - -function DMShellSetCreateGlobalVector(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMShellSetCreateGlobalVector,petscRealDouble),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMShellSetCreateLocalVector(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMShellSetCreateLocalVector,petscRealDouble),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMShellSetGlobalToLocal(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMShellSetGlobalToLocal,petscRealDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMShellSetGlobalToLocalVecScatter(arg1::DM,arg2::VecScatter{Float64}) - err = ccall((:DMShellSetGlobalToLocalVecScatter,petscRealDouble),PetscErrorCode,(DM,VecScatter{Float64}),arg1,arg2) - return err -end - -function DMShellSetLocalToGlobal(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMShellSetLocalToGlobal,petscRealDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMShellSetLocalToGlobalVecScatter(arg1::DM,arg2::VecScatter{Float64}) - err = ccall((:DMShellSetLocalToGlobalVecScatter,petscRealDouble),PetscErrorCode,(DM,VecScatter{Float64}),arg1,arg2) - return err -end - -function DMShellSetLocalToLocal(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMShellSetLocalToLocal,petscRealDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMShellSetLocalToLocalVecScatter(arg1::DM,arg2::VecScatter{Float64}) - err = ccall((:DMShellSetLocalToLocalVecScatter,petscRealDouble),PetscErrorCode,(DM,VecScatter{Float64}),arg1,arg2) - return err -end - -function DMShellSetCreateMatrix(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMShellSetCreateMatrix,petscRealDouble),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMShellSetCoarsen(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMShellSetCoarsen,petscRealDouble),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMShellSetRefine(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMShellSetRefine,petscRealDouble),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMShellSetCreateInterpolation(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMShellSetCreateInterpolation,petscRealDouble),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMShellSetCreateInjection(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMShellSetCreateInjection,petscRealDouble),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMShellSetCreateFieldDecomposition(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMShellSetCreateFieldDecomposition,petscRealDouble),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMGlobalToLocalBeginDefaultShell(arg1::DM,arg2::Vec{Float64},arg3::InsertMode,arg4::Vec{Float64}) - err = ccall((:DMGlobalToLocalBeginDefaultShell,petscRealDouble),PetscErrorCode,(DM,Vec{Float64},InsertMode,Vec{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function DMGlobalToLocalEndDefaultShell(arg1::DM,arg2::Vec{Float64},arg3::InsertMode,arg4::Vec{Float64}) - err = ccall((:DMGlobalToLocalEndDefaultShell,petscRealDouble),PetscErrorCode,(DM,Vec{Float64},InsertMode,Vec{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function DMLocalToGlobalBeginDefaultShell(arg1::DM,arg2::Vec{Float64},arg3::InsertMode,arg4::Vec{Float64}) - err = ccall((:DMLocalToGlobalBeginDefaultShell,petscRealDouble),PetscErrorCode,(DM,Vec{Float64},InsertMode,Vec{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function DMLocalToGlobalEndDefaultShell(arg1::DM,arg2::Vec{Float64},arg3::InsertMode,arg4::Vec{Float64}) - err = ccall((:DMLocalToGlobalEndDefaultShell,petscRealDouble),PetscErrorCode,(DM,Vec{Float64},InsertMode,Vec{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function DMLocalToLocalBeginDefaultShell(arg1::DM,arg2::Vec{Float64},arg3::InsertMode,arg4::Vec{Float64}) - err = ccall((:DMLocalToLocalBeginDefaultShell,petscRealDouble),PetscErrorCode,(DM,Vec{Float64},InsertMode,Vec{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function DMLocalToLocalEndDefaultShell(arg1::DM,arg2::Vec{Float64},arg3::InsertMode,arg4::Vec{Float64}) - err = ccall((:DMLocalToLocalEndDefaultShell,petscRealDouble),PetscErrorCode,(DM,Vec{Float64},InsertMode,Vec{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function DMSlicedCreate(arg0::Type{Float64},arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMSlicedCreate,petscRealDouble),PetscErrorCode,(comm_type,Int64,Int64,Int64,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{DM}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function DMSlicedSetPreallocation(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMSlicedSetPreallocation,petscRealDouble),PetscErrorCode,(DM,Int64,Ptr{Int64},Int64,Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMSlicedSetBlockFills(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMSlicedSetBlockFills,petscRealDouble),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function DMSlicedSetGhosts(arg0::Type{Float64},arg1::DM,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMSlicedSetGhosts,petscRealDouble),PetscErrorCode,(DM,Int64,Int64,Int64,Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDSInitializePackage(arg0::Type{Float64}) - err = ccall((:PetscDSInitializePackage,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscDSCreate(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{PetscDS},StridedArray{PetscDS},Ptr{PetscDS},Ref{PetscDS}}) - err = ccall((:PetscDSCreate,petscRealDouble),PetscErrorCode,(comm_type,Ptr{PetscDS}),arg1,arg2) - return err -end - -function PetscDSDestroy(arg0::Type{Float64},arg1::Union{Ptr{PetscDS},StridedArray{PetscDS},Ptr{PetscDS},Ref{PetscDS}}) - err = ccall((:PetscDSDestroy,petscRealDouble),PetscErrorCode,(Ptr{PetscDS},),arg1) - return err -end - -function PetscDSSetType(arg0::Type{Float64},arg1::PetscDS,arg2::PetscDSType) - err = ccall((:PetscDSSetType,petscRealDouble),PetscErrorCode,(PetscDS,Cstring),arg1,arg2) - return err -end - -function PetscDSGetType(arg0::Type{Float64},arg1::PetscDS,arg2::Union{Ptr{PetscDSType},StridedArray{PetscDSType},Ptr{PetscDSType},Ref{PetscDSType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:PetscDSGetType,petscRealDouble),PetscErrorCode,(PetscDS,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function PetscDSSetUp(arg0::Type{Float64},arg1::PetscDS) - err = ccall((:PetscDSSetUp,petscRealDouble),PetscErrorCode,(PetscDS,),arg1) - return err -end - -function PetscDSSetFromOptions(arg0::Type{Float64},arg1::PetscDS) - err = ccall((:PetscDSSetFromOptions,petscRealDouble),PetscErrorCode,(PetscDS,),arg1) - return err -end - -function PetscDSViewFromOptions(arg0::Type{Float64},A::PetscDS,B::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscDSViewFromOptions,petscRealDouble),PetscErrorCode,(PetscDS,PetscObject,Cstring),A,B,name) - return err -end - -function PetscDSView(arg1::PetscDS,arg2::PetscViewer{Float64}) - err = ccall((:PetscDSView,petscRealDouble),PetscErrorCode,(PetscDS,PetscViewer{Float64}),arg1,arg2) - return err -end - -function PetscDSRegister(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscDSRegister,petscRealDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function PetscDSRegisterDestroy(arg0::Type{Float64}) - err = ccall((:PetscDSRegisterDestroy,petscRealDouble),PetscErrorCode,()) - return err -end - -function PetscDSGetSpatialDimension(arg0::Type{Float64},arg1::PetscDS,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscDSGetSpatialDimension,petscRealDouble),PetscErrorCode,(PetscDS,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscDSGetNumFields(arg0::Type{Float64},arg1::PetscDS,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscDSGetNumFields,petscRealDouble),PetscErrorCode,(PetscDS,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscDSGetTotalDimension(arg0::Type{Float64},arg1::PetscDS,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscDSGetTotalDimension,petscRealDouble),PetscErrorCode,(PetscDS,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscDSGetTotalBdDimension(arg0::Type{Float64},arg1::PetscDS,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscDSGetTotalBdDimension,petscRealDouble),PetscErrorCode,(PetscDS,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscDSGetTotalComponents(arg0::Type{Float64},arg1::PetscDS,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscDSGetTotalComponents,petscRealDouble),PetscErrorCode,(PetscDS,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscDSGetFieldOffset(arg0::Type{Float64},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscDSGetFieldOffset,petscRealDouble),PetscErrorCode,(PetscDS,Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscDSGetBdFieldOffset(arg0::Type{Float64},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscDSGetBdFieldOffset,petscRealDouble),PetscErrorCode,(PetscDS,Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscDSGetComponentOffset(arg0::Type{Float64},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscDSGetComponentOffset,petscRealDouble),PetscErrorCode,(PetscDS,Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscDSGetComponentOffsets(arg0::Type{Float64},arg1::PetscDS,arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PetscDSGetComponentOffsets,petscRealDouble),PetscErrorCode,(PetscDS,Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function PetscDSGetComponentBdOffsets(arg0::Type{Float64},arg1::PetscDS,arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PetscDSGetComponentBdOffsets,petscRealDouble),PetscErrorCode,(PetscDS,Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function PetscDSGetComponentDerivativeOffsets(arg0::Type{Float64},arg1::PetscDS,arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PetscDSGetComponentDerivativeOffsets,petscRealDouble),PetscErrorCode,(PetscDS,Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function PetscDSGetComponentBdDerivativeOffsets(arg0::Type{Float64},arg1::PetscDS,arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PetscDSGetComponentBdDerivativeOffsets,petscRealDouble),PetscErrorCode,(PetscDS,Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function PetscDSGetDiscretization(arg0::Type{Float64},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{PetscObject},StridedArray{PetscObject},Ptr{PetscObject},Ref{PetscObject}}) - err = ccall((:PetscDSGetDiscretization,petscRealDouble),PetscErrorCode,(PetscDS,Int64,Ptr{PetscObject}),arg1,arg2,arg3) - return err -end - -function PetscDSSetDiscretization(arg0::Type{Float64},arg1::PetscDS,arg2::Integer,arg3::PetscObject) - err = ccall((:PetscDSSetDiscretization,petscRealDouble),PetscErrorCode,(PetscDS,Int64,PetscObject),arg1,arg2,arg3) - return err -end - -function PetscDSAddDiscretization(arg0::Type{Float64},arg1::PetscDS,arg2::PetscObject) - err = ccall((:PetscDSAddDiscretization,petscRealDouble),PetscErrorCode,(PetscDS,PetscObject),arg1,arg2) - return err -end - -function PetscDSGetBdDiscretization(arg0::Type{Float64},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{PetscObject},StridedArray{PetscObject},Ptr{PetscObject},Ref{PetscObject}}) - err = ccall((:PetscDSGetBdDiscretization,petscRealDouble),PetscErrorCode,(PetscDS,Int64,Ptr{PetscObject}),arg1,arg2,arg3) - return err -end - -function PetscDSSetBdDiscretization(arg0::Type{Float64},arg1::PetscDS,arg2::Integer,arg3::PetscObject) - err = ccall((:PetscDSSetBdDiscretization,petscRealDouble),PetscErrorCode,(PetscDS,Int64,PetscObject),arg1,arg2,arg3) - return err -end - -function PetscDSAddBdDiscretization(arg0::Type{Float64},arg1::PetscDS,arg2::PetscObject) - err = ccall((:PetscDSAddBdDiscretization,petscRealDouble),PetscErrorCode,(PetscDS,PetscObject),arg1,arg2) - return err -end - -function PetscDSGetImplicit(arg0::Type{Float64},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscDSGetImplicit,petscRealDouble),PetscErrorCode,(PetscDS,Int64,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function PetscDSSetImplicit(arg0::Type{Float64},arg1::PetscDS,arg2::Integer,arg3::PetscBool) - err = ccall((:PetscDSSetImplicit,petscRealDouble),PetscErrorCode,(PetscDS,Int64,PetscBool),arg1,arg2,arg3) - return err -end - -function PetscDSGetAdjacency(arg0::Type{Float64},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscDSGetAdjacency,petscRealDouble),PetscErrorCode,(PetscDS,Int64,Ptr{PetscBool},Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function PetscDSSetAdjacency(arg0::Type{Float64},arg1::PetscDS,arg2::Integer,arg3::PetscBool,arg4::PetscBool) - err = ccall((:PetscDSSetAdjacency,petscRealDouble),PetscErrorCode,(PetscDS,Int64,PetscBool,PetscBool),arg1,arg2,arg3,arg4) - return err -end - -function PetscDSGetObjective(arg0::Type{Float64},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:PetscDSGetObjective,petscRealDouble),PetscErrorCode,(PetscDS,Int64,Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function PetscDSSetObjective(arg0::Type{Float64},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscDSSetObjective,petscRealDouble),PetscErrorCode,(PetscDS,Int64,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function PetscDSGetResidual(arg0::Type{Float64},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:PetscDSGetResidual,petscRealDouble),PetscErrorCode,(PetscDS,Int64,Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscDSSetResidual(arg0::Type{Float64},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscDSSetResidual,petscRealDouble),PetscErrorCode,(PetscDS,Int64,Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function PetscDSGetJacobian(arg0::Type{Float64},arg1::PetscDS,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg5::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg6::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg7::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:PetscDSGetJacobian,petscRealDouble),PetscErrorCode,(PetscDS,Int64,Int64,Ptr{Ptr{Void}},Ptr{Ptr{Void}},Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function PetscDSSetJacobian(arg0::Type{Float64},arg1::PetscDS,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg7::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscDSSetJacobian,petscRealDouble),PetscErrorCode,(PetscDS,Int64,Int64,Ptr{Void},Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function PetscDSGetRiemannSolver(arg0::Type{Float64},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:PetscDSGetRiemannSolver,petscRealDouble),PetscErrorCode,(PetscDS,Int64,Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function PetscDSSetRiemannSolver(arg0::Type{Float64},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscDSSetRiemannSolver,petscRealDouble),PetscErrorCode,(PetscDS,Int64,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function PetscDSGetContext(arg0::Type{Float64},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:PetscDSGetContext,petscRealDouble),PetscErrorCode,(PetscDS,Int64,Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function PetscDSSetContext(arg0::Type{Float64},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscDSSetContext,petscRealDouble),PetscErrorCode,(PetscDS,Int64,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function PetscDSGetBdResidual(arg0::Type{Float64},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:PetscDSGetBdResidual,petscRealDouble),PetscErrorCode,(PetscDS,Int64,Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscDSSetBdResidual(arg0::Type{Float64},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscDSSetBdResidual,petscRealDouble),PetscErrorCode,(PetscDS,Int64,Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function PetscDSGetBdJacobian(arg0::Type{Float64},arg1::PetscDS,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg5::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg6::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg7::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:PetscDSGetBdJacobian,petscRealDouble),PetscErrorCode,(PetscDS,Int64,Int64,Ptr{Ptr{Void}},Ptr{Ptr{Void}},Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function PetscDSSetBdJacobian(arg0::Type{Float64},arg1::PetscDS,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg7::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscDSSetBdJacobian,petscRealDouble),PetscErrorCode,(PetscDS,Int64,Int64,Ptr{Void},Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function PetscDSGetTabulation(arg0::Type{Float64},arg1::PetscDS,arg2::Union{Ptr{Ptr{Ptr{Float64}}},StridedArray{Ptr{Ptr{Float64}}},Ptr{Ptr{Ptr{Float64}}},Ref{Ptr{Ptr{Float64}}}},arg3::Union{Ptr{Ptr{Ptr{Float64}}},StridedArray{Ptr{Ptr{Float64}}},Ptr{Ptr{Ptr{Float64}}},Ref{Ptr{Ptr{Float64}}}}) - err = ccall((:PetscDSGetTabulation,petscRealDouble),PetscErrorCode,(PetscDS,Ptr{Ptr{Ptr{Float64}}},Ptr{Ptr{Ptr{Float64}}}),arg1,arg2,arg3) - return err -end - -function PetscDSGetBdTabulation(arg0::Type{Float64},arg1::PetscDS,arg2::Union{Ptr{Ptr{Ptr{Float64}}},StridedArray{Ptr{Ptr{Float64}}},Ptr{Ptr{Ptr{Float64}}},Ref{Ptr{Ptr{Float64}}}},arg3::Union{Ptr{Ptr{Ptr{Float64}}},StridedArray{Ptr{Ptr{Float64}}},Ptr{Ptr{Ptr{Float64}}},Ref{Ptr{Ptr{Float64}}}}) - err = ccall((:PetscDSGetBdTabulation,petscRealDouble),PetscErrorCode,(PetscDS,Ptr{Ptr{Ptr{Float64}}},Ptr{Ptr{Ptr{Float64}}}),arg1,arg2,arg3) - return err -end - -function PetscDSGetEvaluationArrays(arg0::Type{Float64},arg1::PetscDS,arg2::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg3::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg4::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:PetscDSGetEvaluationArrays,petscRealDouble),PetscErrorCode,(PetscDS,Ptr{Ptr{Float64}},Ptr{Ptr{Float64}},Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscDSGetWeakFormArrays(arg0::Type{Float64},arg1::PetscDS,arg2::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg3::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg4::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg5::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg6::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg7::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:PetscDSGetWeakFormArrays,petscRealDouble),PetscErrorCode,(PetscDS,Ptr{Ptr{Float64}},Ptr{Ptr{Float64}},Ptr{Ptr{Float64}},Ptr{Ptr{Float64}},Ptr{Ptr{Float64}},Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function PetscDSGetRefCoordArrays(arg0::Type{Float64},arg1::PetscDS,arg2::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg3::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:PetscDSGetRefCoordArrays,petscRealDouble),PetscErrorCode,(PetscDS,Ptr{Ptr{Float64}},Ptr{Ptr{Float64}}),arg1,arg2,arg3) - return err -end - -function CharacteristicInitializePackage(arg0::Type{Float64}) - err = ccall((:CharacteristicInitializePackage,petscRealDouble),PetscErrorCode,()) - return err -end - -function CharacteristicCreate(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{Characteristic},StridedArray{Characteristic},Ptr{Characteristic},Ref{Characteristic}}) - err = ccall((:CharacteristicCreate,petscRealDouble),PetscErrorCode,(comm_type,Ptr{Characteristic}),arg1,arg2) - return err -end - -function CharacteristicSetType(arg0::Type{Float64},arg1::Characteristic,arg2::CharacteristicType) - err = ccall((:CharacteristicSetType,petscRealDouble),PetscErrorCode,(Characteristic,Cstring),arg1,arg2) - return err -end - -function CharacteristicSetUp(arg0::Type{Float64},arg1::Characteristic) - err = ccall((:CharacteristicSetUp,petscRealDouble),PetscErrorCode,(Characteristic,),arg1) - return err -end - -function CharacteristicSetVelocityInterpolation(arg1::Characteristic,arg2::DM,arg3::Vec{Float64},arg4::Vec{Float64},arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg8::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:CharacteristicSetVelocityInterpolation,petscRealDouble),PetscErrorCode,(Characteristic,DM,Vec{Float64},Vec{Float64},Int64,Ptr{Int64},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function CharacteristicSetVelocityInterpolationLocal(arg1::Characteristic,arg2::DM,arg3::Vec{Float64},arg4::Vec{Float64},arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg8::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:CharacteristicSetVelocityInterpolationLocal,petscRealDouble),PetscErrorCode,(Characteristic,DM,Vec{Float64},Vec{Float64},Int64,Ptr{Int64},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function CharacteristicSetFieldInterpolation(arg1::Characteristic,arg2::DM,arg3::Vec{Float64},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg7::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:CharacteristicSetFieldInterpolation,petscRealDouble),PetscErrorCode,(Characteristic,DM,Vec{Float64},Int64,Ptr{Int64},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function CharacteristicSetFieldInterpolationLocal(arg1::Characteristic,arg2::DM,arg3::Vec{Float64},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg7::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:CharacteristicSetFieldInterpolationLocal,petscRealDouble),PetscErrorCode,(Characteristic,DM,Vec{Float64},Int64,Ptr{Int64},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function CharacteristicSolve(arg1::Characteristic,arg2::Float64,arg3::Vec{Float64}) - err = ccall((:CharacteristicSolve,petscRealDouble),PetscErrorCode,(Characteristic,Float64,Vec{Float64}),arg1,arg2,arg3) - return err -end - -function CharacteristicDestroy(arg0::Type{Float64},arg1::Union{Ptr{Characteristic},StridedArray{Characteristic},Ptr{Characteristic},Ref{Characteristic}}) - err = ccall((:CharacteristicDestroy,petscRealDouble),PetscErrorCode,(Ptr{Characteristic},),arg1) - return err -end - -function CharacteristicRegister(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:CharacteristicRegister,petscRealDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function PCExoticSetType(arg1::PC{Float64},arg2::PCExoticType) - err = ccall((:PCExoticSetType,petscRealDouble),PetscErrorCode,(PC{Float64},PCExoticType),arg1,arg2) - return err -end - -function PCInitializePackage(arg0::Type{Float64}) - err = ccall((:PCInitializePackage,petscRealDouble),PetscErrorCode,()) - return err -end - -function PCCreate(arg1::MPI_Comm,arg2::Union{Ptr{PC{Float64}},StridedArray{PC{Float64}},Ptr{PC{Float64}},Ref{PC{Float64}}}) - err = ccall((:PCCreate,petscRealDouble),PetscErrorCode,(comm_type,Ptr{PC{Float64}}),arg1,arg2) - return err -end - -function PCSetType(arg1::PC{Float64},arg2::PCType) - err = ccall((:PCSetType,petscRealDouble),PetscErrorCode,(PC{Float64},Cstring),arg1,arg2) - return err -end - -function PCGetType(arg1::PC{Float64},arg2::Union{Ptr{PCType},StridedArray{PCType},Ptr{PCType},Ref{PCType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:PCGetType,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function PCSetUp(arg1::PC{Float64}) - err = ccall((:PCSetUp,petscRealDouble),PetscErrorCode,(PC{Float64},),arg1) - return err -end - -function PCGetSetUpFailedReason(arg1::PC{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PCGetSetUpFailedReason,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Int64}),arg1,arg2) - return err -end - -function PCSetUpOnBlocks(arg1::PC{Float64}) - err = ccall((:PCSetUpOnBlocks,petscRealDouble),PetscErrorCode,(PC{Float64},),arg1) - return err -end - -function PCApply(arg1::PC{Float64},arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:PCApply,petscRealDouble),PetscErrorCode,(PC{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function PCApplySymmetricLeft(arg1::PC{Float64},arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:PCApplySymmetricLeft,petscRealDouble),PetscErrorCode,(PC{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function PCApplySymmetricRight(arg1::PC{Float64},arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:PCApplySymmetricRight,petscRealDouble),PetscErrorCode,(PC{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function PCApplyBAorAB(arg1::PC{Float64},arg2::PCSide,arg3::Vec{Float64},arg4::Vec{Float64},arg5::Vec{Float64}) - err = ccall((:PCApplyBAorAB,petscRealDouble),PetscErrorCode,(PC{Float64},PCSide,Vec{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PCApplyTranspose(arg1::PC{Float64},arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:PCApplyTranspose,petscRealDouble),PetscErrorCode,(PC{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function PCApplyTransposeExists(arg1::PC{Float64},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCApplyTransposeExists,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCApplyBAorABTranspose(arg1::PC{Float64},arg2::PCSide,arg3::Vec{Float64},arg4::Vec{Float64},arg5::Vec{Float64}) - err = ccall((:PCApplyBAorABTranspose,petscRealDouble),PetscErrorCode,(PC{Float64},PCSide,Vec{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PCSetReusePreconditioner(arg1::PC{Float64},arg2::PetscBool) - err = ccall((:PCSetReusePreconditioner,petscRealDouble),PetscErrorCode,(PC{Float64},PetscBool),arg1,arg2) - return err -end - -function PCGetReusePreconditioner(arg1::PC{Float64},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCGetReusePreconditioner,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCSetErrorIfFailure(arg1::PC{Float64},arg2::PetscBool) - err = ccall((:PCSetErrorIfFailure,petscRealDouble),PetscErrorCode,(PC{Float64},PetscBool),arg1,arg2) - return err -end - -function PCApplyRichardson(arg1::PC{Float64},arg2::Vec{Float64},arg3::Vec{Float64},arg4::Vec{Float64},arg5::Float64,arg6::Float64,arg7::Float64,arg8::Integer,arg9::PetscBool,arg10::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg11::Union{Ptr{PCRichardsonConvergedReason},StridedArray{PCRichardsonConvergedReason},Ptr{PCRichardsonConvergedReason},Ref{PCRichardsonConvergedReason}}) - err = ccall((:PCApplyRichardson,petscRealDouble),PetscErrorCode,(PC{Float64},Vec{Float64},Vec{Float64},Vec{Float64},Float64,Float64,Float64,Int64,PetscBool,Ptr{Int64},Ptr{PCRichardsonConvergedReason}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) - return err -end - -function PCApplyRichardsonExists(arg1::PC{Float64},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCApplyRichardsonExists,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCSetInitialGuessNonzero(arg1::PC{Float64},arg2::PetscBool) - err = ccall((:PCSetInitialGuessNonzero,petscRealDouble),PetscErrorCode,(PC{Float64},PetscBool),arg1,arg2) - return err -end - -function PCGetInitialGuessNonzero(arg1::PC{Float64},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCGetInitialGuessNonzero,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCSetUseAmat(arg1::PC{Float64},arg2::PetscBool) - err = ccall((:PCSetUseAmat,petscRealDouble),PetscErrorCode,(PC{Float64},PetscBool),arg1,arg2) - return err -end - -function PCGetUseAmat(arg1::PC{Float64},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCGetUseAmat,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCRegister(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCRegister,petscRealDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function PCReset(arg1::PC{Float64}) - err = ccall((:PCReset,petscRealDouble),PetscErrorCode,(PC{Float64},),arg1) - return err -end - -function PCDestroy(arg1::Union{Ptr{PC{Float64}},StridedArray{PC{Float64}},Ptr{PC{Float64}},Ref{PC{Float64}}}) - err = ccall((:PCDestroy,petscRealDouble),PetscErrorCode,(Ptr{PC{Float64}},),arg1) - return err -end - -function PCSetFromOptions(arg1::PC{Float64}) - err = ccall((:PCSetFromOptions,petscRealDouble),PetscErrorCode,(PC{Float64},),arg1) - return err -end - -function PCFactorGetMatrix(arg1::PC{Float64},arg2::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:PCFactorGetMatrix,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Mat{Float64}}),arg1,arg2) - return err -end - -function PCSetModifySubMatrices(arg1::PC{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCSetModifySubMatrices,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function PCModifySubMatrices(arg1::PC{Float64},arg2::Integer,arg3::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}},arg4::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}},arg5::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}},arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCModifySubMatrices,petscRealDouble),PetscErrorCode,(PC{Float64},Int64,Ptr{IS{Float64}},Ptr{IS{Float64}},Ptr{Mat{Float64}},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PCSetOperators(arg1::PC{Float64},arg2::Mat{Float64},arg3::Mat{Float64}) - err = ccall((:PCSetOperators,petscRealDouble),PetscErrorCode,(PC{Float64},Mat{Float64},Mat{Float64}),arg1,arg2,arg3) - return err -end - -function PCGetOperators(arg1::PC{Float64},arg2::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}},arg3::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:PCGetOperators,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Mat{Float64}},Ptr{Mat{Float64}}),arg1,arg2,arg3) - return err -end - -function PCGetOperatorsSet(arg1::PC{Float64},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCGetOperatorsSet,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{PetscBool},Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function PCView(arg1::PC{Float64},arg2::PetscViewer{Float64}) - err = ccall((:PCView,petscRealDouble),PetscErrorCode,(PC{Float64},PetscViewer{Float64}),arg1,arg2) - return err -end - -function PCLoad(arg1::PC{Float64},arg2::PetscViewer{Float64}) - err = ccall((:PCLoad,petscRealDouble),PetscErrorCode,(PC{Float64},PetscViewer{Float64}),arg1,arg2) - return err -end - -function PCViewFromOptions(A::PC{Float64},obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PCViewFromOptions,petscRealDouble),PetscErrorCode,(PC{Float64},PetscObject,Cstring),A,obj,name) - return err -end - -function PCSetOptionsPrefix(arg1::PC{Float64},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PCSetOptionsPrefix,petscRealDouble),PetscErrorCode,(PC{Float64},Cstring),arg1,arg2) - return err -end - -function PCAppendOptionsPrefix(arg1::PC{Float64},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PCAppendOptionsPrefix,petscRealDouble),PetscErrorCode,(PC{Float64},Cstring),arg1,arg2) - return err -end - -function PCGetOptionsPrefix(arg1::PC{Float64},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PCGetOptionsPrefix,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PCComputeExplicitOperator(arg1::PC{Float64},arg2::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:PCComputeExplicitOperator,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Mat{Float64}}),arg1,arg2) - return err -end - -function PCGetDiagonalScale(arg1::PC{Float64},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCGetDiagonalScale,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCDiagonalScaleLeft(arg1::PC{Float64},arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:PCDiagonalScaleLeft,petscRealDouble),PetscErrorCode,(PC{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function PCDiagonalScaleRight(arg1::PC{Float64},arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:PCDiagonalScaleRight,petscRealDouble),PetscErrorCode,(PC{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function PCSetDiagonalScale(arg1::PC{Float64},arg2::Vec{Float64}) - err = ccall((:PCSetDiagonalScale,petscRealDouble),PetscErrorCode,(PC{Float64},Vec{Float64}),arg1,arg2) - return err -end - -function PCJacobiSetType(arg1::PC{Float64},arg2::PCJacobiType) - err = ccall((:PCJacobiSetType,petscRealDouble),PetscErrorCode,(PC{Float64},PCJacobiType),arg1,arg2) - return err -end - -function PCJacobiGetType(arg1::PC{Float64},arg2::Union{Ptr{PCJacobiType},StridedArray{PCJacobiType},Ptr{PCJacobiType},Ref{PCJacobiType}}) - err = ccall((:PCJacobiGetType,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{PCJacobiType}),arg1,arg2) - return err -end - -function PCJacobiSetUseAbs(arg1::PC{Float64},arg2::PetscBool) - err = ccall((:PCJacobiSetUseAbs,petscRealDouble),PetscErrorCode,(PC{Float64},PetscBool),arg1,arg2) - return err -end - -function PCJacobiGetUseAbs(arg1::PC{Float64},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCJacobiGetUseAbs,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCSORSetSymmetric(arg1::PC{Float64},arg2::MatSORType) - err = ccall((:PCSORSetSymmetric,petscRealDouble),PetscErrorCode,(PC{Float64},MatSORType),arg1,arg2) - return err -end - -function PCSORGetSymmetric(arg1::PC{Float64},arg2::Union{Ptr{MatSORType},StridedArray{MatSORType},Ptr{MatSORType},Ref{MatSORType}}) - err = ccall((:PCSORGetSymmetric,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{MatSORType}),arg1,arg2) - return err -end - -function PCSORSetOmega(arg1::PC{Float64},arg2::Float64) - err = ccall((:PCSORSetOmega,petscRealDouble),PetscErrorCode,(PC{Float64},Float64),arg1,arg2) - return err -end - -function PCSORGetOmega(arg1::PC{Float64},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PCSORGetOmega,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Float64}),arg1,arg2) - return err -end - -function PCSORSetIterations(arg1::PC{Float64},arg2::Integer,arg3::Integer) - err = ccall((:PCSORSetIterations,petscRealDouble),PetscErrorCode,(PC{Float64},Int64,Int64),arg1,arg2,arg3) - return err -end - -function PCSORGetIterations(arg1::PC{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PCSORGetIterations,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PCEisenstatSetOmega(arg1::PC{Float64},arg2::Float64) - err = ccall((:PCEisenstatSetOmega,petscRealDouble),PetscErrorCode,(PC{Float64},Float64),arg1,arg2) - return err -end - -function PCEisenstatGetOmega(arg1::PC{Float64},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PCEisenstatGetOmega,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Float64}),arg1,arg2) - return err -end - -function PCEisenstatSetNoDiagonalScaling(arg1::PC{Float64},arg2::PetscBool) - err = ccall((:PCEisenstatSetNoDiagonalScaling,petscRealDouble),PetscErrorCode,(PC{Float64},PetscBool),arg1,arg2) - return err -end - -function PCEisenstatGetNoDiagonalScaling(arg1::PC{Float64},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCEisenstatGetNoDiagonalScaling,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCBJacobiSetTotalBlocks(arg1::PC{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PCBJacobiSetTotalBlocks,petscRealDouble),PetscErrorCode,(PC{Float64},Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PCBJacobiGetTotalBlocks(arg1::PC{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PCBJacobiGetTotalBlocks,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3) - return err -end - -function PCBJacobiSetLocalBlocks(arg1::PC{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PCBJacobiSetLocalBlocks,petscRealDouble),PetscErrorCode,(PC{Float64},Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PCBJacobiGetLocalBlocks(arg1::PC{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PCBJacobiGetLocalBlocks,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3) - return err -end - -function PCShellSetApply(arg1::PC{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCShellSetApply,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Void}),arg1,arg2) - return err -end - -function PCShellSetApplyBA(arg1::PC{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCShellSetApplyBA,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Void}),arg1,arg2) - return err -end - -function PCShellSetApplyTranspose(arg1::PC{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCShellSetApplyTranspose,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Void}),arg1,arg2) - return err -end - -function PCShellSetSetUp(arg1::PC{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCShellSetSetUp,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Void}),arg1,arg2) - return err -end - -function PCShellSetApplyRichardson(arg1::PC{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCShellSetApplyRichardson,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Void}),arg1,arg2) - return err -end - -function PCShellSetView(arg1::PC{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCShellSetView,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Void}),arg1,arg2) - return err -end - -function PCShellSetDestroy(arg1::PC{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCShellSetDestroy,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Void}),arg1,arg2) - return err -end - -function PCShellSetContext(arg1::PC{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCShellSetContext,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Void}),arg1,arg2) - return err -end - -function PCShellGetContext(arg1::PC{Float64},arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:PCShellGetContext,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Ptr{Void}}),arg1,arg2) - return err -end - -function PCShellSetName(arg1::PC{Float64},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PCShellSetName,petscRealDouble),PetscErrorCode,(PC{Float64},Cstring),arg1,arg2) - return err -end - -function PCShellGetName(arg1::PC{Float64},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PCShellGetName,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PCFactorSetZeroPivot(arg1::PC{Float64},arg2::Float64) - err = ccall((:PCFactorSetZeroPivot,petscRealDouble),PetscErrorCode,(PC{Float64},Float64),arg1,arg2) - return err -end - -function PCFactorSetShiftType(arg1::PC{Float64},arg2::MatFactorShiftType) - err = ccall((:PCFactorSetShiftType,petscRealDouble),PetscErrorCode,(PC{Float64},MatFactorShiftType),arg1,arg2) - return err -end - -function PCFactorSetShiftAmount(arg1::PC{Float64},arg2::Float64) - err = ccall((:PCFactorSetShiftAmount,petscRealDouble),PetscErrorCode,(PC{Float64},Float64),arg1,arg2) - return err -end - -function PCFactorSetMatSolverPackage(arg1::PC{Float64},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PCFactorSetMatSolverPackage,petscRealDouble),PetscErrorCode,(PC{Float64},Cstring),arg1,arg2) - return err -end - -function PCFactorGetMatSolverPackage(arg1::PC{Float64},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PCFactorGetMatSolverPackage,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PCFactorSetUpMatSolverPackage(arg1::PC{Float64}) - err = ccall((:PCFactorSetUpMatSolverPackage,petscRealDouble),PetscErrorCode,(PC{Float64},),arg1) - return err -end - -function PCFactorSetFill(arg1::PC{Float64},arg2::Float64) - err = ccall((:PCFactorSetFill,petscRealDouble),PetscErrorCode,(PC{Float64},Float64),arg1,arg2) - return err -end - -function PCFactorSetColumnPivot(arg1::PC{Float64},arg2::Float64) - err = ccall((:PCFactorSetColumnPivot,petscRealDouble),PetscErrorCode,(PC{Float64},Float64),arg1,arg2) - return err -end - -function PCFactorReorderForNonzeroDiagonal(arg1::PC{Float64},arg2::Float64) - err = ccall((:PCFactorReorderForNonzeroDiagonal,petscRealDouble),PetscErrorCode,(PC{Float64},Float64),arg1,arg2) - return err -end - -function PCFactorSetMatOrderingType(arg1::PC{Float64},arg2::MatOrderingType) - err = ccall((:PCFactorSetMatOrderingType,petscRealDouble),PetscErrorCode,(PC{Float64},Cstring),arg1,arg2) - return err -end - -function PCFactorSetReuseOrdering(arg1::PC{Float64},arg2::PetscBool) - err = ccall((:PCFactorSetReuseOrdering,petscRealDouble),PetscErrorCode,(PC{Float64},PetscBool),arg1,arg2) - return err -end - -function PCFactorSetReuseFill(arg1::PC{Float64},arg2::PetscBool) - err = ccall((:PCFactorSetReuseFill,petscRealDouble),PetscErrorCode,(PC{Float64},PetscBool),arg1,arg2) - return err -end - -function PCFactorSetUseInPlace(arg1::PC{Float64},arg2::PetscBool) - err = ccall((:PCFactorSetUseInPlace,petscRealDouble),PetscErrorCode,(PC{Float64},PetscBool),arg1,arg2) - return err -end - -function PCFactorGetUseInPlace(arg1::PC{Float64},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCFactorGetUseInPlace,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCFactorSetAllowDiagonalFill(arg1::PC{Float64},arg2::PetscBool) - err = ccall((:PCFactorSetAllowDiagonalFill,petscRealDouble),PetscErrorCode,(PC{Float64},PetscBool),arg1,arg2) - return err -end - -function PCFactorGetAllowDiagonalFill(arg1::PC{Float64},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCFactorGetAllowDiagonalFill,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCFactorSetPivotInBlocks(arg1::PC{Float64},arg2::PetscBool) - err = ccall((:PCFactorSetPivotInBlocks,petscRealDouble),PetscErrorCode,(PC{Float64},PetscBool),arg1,arg2) - return err -end - -function PCFactorSetLevels(arg1::PC{Float64},arg2::Integer) - err = ccall((:PCFactorSetLevels,petscRealDouble),PetscErrorCode,(PC{Float64},Int64),arg1,arg2) - return err -end - -function PCFactorGetLevels(arg1::PC{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PCFactorGetLevels,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Int64}),arg1,arg2) - return err -end - -function PCFactorSetDropTolerance(arg1::PC{Float64},arg2::Float64,arg3::Float64,arg4::Integer) - err = ccall((:PCFactorSetDropTolerance,petscRealDouble),PetscErrorCode,(PC{Float64},Float64,Float64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function PCASMSetLocalSubdomains(arg1::PC{Float64},arg2::Integer,arg3::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}},arg4::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:PCASMSetLocalSubdomains,petscRealDouble),PetscErrorCode,(PC{Float64},Int64,Ptr{IS{Float64}},Ptr{IS{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function PCASMSetTotalSubdomains(arg1::PC{Float64},arg2::Integer,arg3::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}},arg4::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:PCASMSetTotalSubdomains,petscRealDouble),PetscErrorCode,(PC{Float64},Int64,Ptr{IS{Float64}},Ptr{IS{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function PCASMSetOverlap(arg1::PC{Float64},arg2::Integer) - err = ccall((:PCASMSetOverlap,petscRealDouble),PetscErrorCode,(PC{Float64},Int64),arg1,arg2) - return err -end - -function PCASMSetDMSubdomains(arg1::PC{Float64},arg2::PetscBool) - err = ccall((:PCASMSetDMSubdomains,petscRealDouble),PetscErrorCode,(PC{Float64},PetscBool),arg1,arg2) - return err -end - -function PCASMGetDMSubdomains(arg1::PC{Float64},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCASMGetDMSubdomains,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCASMSetSortIndices(arg1::PC{Float64},arg2::PetscBool) - err = ccall((:PCASMSetSortIndices,petscRealDouble),PetscErrorCode,(PC{Float64},PetscBool),arg1,arg2) - return err -end - -function PCASMSetType(arg1::PC{Float64},arg2::PCASMType) - err = ccall((:PCASMSetType,petscRealDouble),PetscErrorCode,(PC{Float64},PCASMType),arg1,arg2) - return err -end - -function PCASMGetType(arg1::PC{Float64},arg2::Union{Ptr{PCASMType},StridedArray{PCASMType},Ptr{PCASMType},Ref{PCASMType}}) - err = ccall((:PCASMGetType,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{PCASMType}),arg1,arg2) - return err -end - -function PCASMSetLocalType(arg1::PC{Float64},arg2::PCCompositeType) - err = ccall((:PCASMSetLocalType,petscRealDouble),PetscErrorCode,(PC{Float64},PCCompositeType),arg1,arg2) - return err -end - -function PCASMGetLocalType(arg1::PC{Float64},arg2::Union{Ptr{PCCompositeType},StridedArray{PCCompositeType},Ptr{PCCompositeType},Ref{PCCompositeType}}) - err = ccall((:PCASMGetLocalType,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{PCCompositeType}),arg1,arg2) - return err -end - -function PCASMCreateSubdomains(arg1::Mat{Float64},arg2::Integer,arg3::Union{Ptr{Ptr{IS{Float64}}},StridedArray{Ptr{IS{Float64}}},Ptr{Ptr{IS{Float64}}},Ref{Ptr{IS{Float64}}}}) - err = ccall((:PCASMCreateSubdomains,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Ptr{Ptr{IS{Float64}}}),arg1,arg2,arg3) - return err -end - -function PCASMDestroySubdomains(arg1::Integer,arg2::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}},arg3::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:PCASMDestroySubdomains,petscRealDouble),PetscErrorCode,(Int64,Ptr{IS{Float64}},Ptr{IS{Float64}}),arg1,arg2,arg3) - return err -end - -function PCASMCreateSubdomains2D(arg1::Integer,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{Ptr{IS{Float64}}},StridedArray{Ptr{IS{Float64}}},Ptr{Ptr{IS{Float64}}},Ref{Ptr{IS{Float64}}}},arg9::Union{Ptr{Ptr{IS{Float64}}},StridedArray{Ptr{IS{Float64}}},Ptr{Ptr{IS{Float64}}},Ref{Ptr{IS{Float64}}}}) - err = ccall((:PCASMCreateSubdomains2D,petscRealDouble),PetscErrorCode,(Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Ptr{IS{Float64}}},Ptr{Ptr{IS{Float64}}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) - return err -end - -function PCASMGetLocalSubdomains(arg1::PC{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{IS{Float64}}},StridedArray{Ptr{IS{Float64}}},Ptr{Ptr{IS{Float64}}},Ref{Ptr{IS{Float64}}}},arg4::Union{Ptr{Ptr{IS{Float64}}},StridedArray{Ptr{IS{Float64}}},Ptr{Ptr{IS{Float64}}},Ref{Ptr{IS{Float64}}}}) - err = ccall((:PCASMGetLocalSubdomains,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Int64},Ptr{Ptr{IS{Float64}}},Ptr{Ptr{IS{Float64}}}),arg1,arg2,arg3,arg4) - return err -end - -function PCASMGetLocalSubmatrices(arg1::PC{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Mat{Float64}}},StridedArray{Ptr{Mat{Float64}}},Ptr{Ptr{Mat{Float64}}},Ref{Ptr{Mat{Float64}}}}) - err = ccall((:PCASMGetLocalSubmatrices,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Int64},Ptr{Ptr{Mat{Float64}}}),arg1,arg2,arg3) - return err -end - -function PCGASMSetTotalSubdomains(arg1::PC{Float64},arg2::Integer) - err = ccall((:PCGASMSetTotalSubdomains,petscRealDouble),PetscErrorCode,(PC{Float64},Int64),arg1,arg2) - return err -end - -function PCGASMSetSubdomains(arg1::PC{Float64},arg2::Integer,arg3::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}},arg4::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:PCGASMSetSubdomains,petscRealDouble),PetscErrorCode,(PC{Float64},Int64,Ptr{IS{Float64}},Ptr{IS{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function PCGASMSetOverlap(arg1::PC{Float64},arg2::Integer) - err = ccall((:PCGASMSetOverlap,petscRealDouble),PetscErrorCode,(PC{Float64},Int64),arg1,arg2) - return err -end - -function PCGASMSetUseDMSubdomains(arg1::PC{Float64},arg2::PetscBool) - err = ccall((:PCGASMSetUseDMSubdomains,petscRealDouble),PetscErrorCode,(PC{Float64},PetscBool),arg1,arg2) - return err -end - -function PCGASMGetUseDMSubdomains(arg1::PC{Float64},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCGASMGetUseDMSubdomains,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCGASMSetSortIndices(arg1::PC{Float64},arg2::PetscBool) - err = ccall((:PCGASMSetSortIndices,petscRealDouble),PetscErrorCode,(PC{Float64},PetscBool),arg1,arg2) - return err -end - -function PCGASMSetType(arg1::PC{Float64},arg2::PCGASMType) - err = ccall((:PCGASMSetType,petscRealDouble),PetscErrorCode,(PC{Float64},PCGASMType),arg1,arg2) - return err -end - -function PCGASMCreateSubdomains(arg1::Mat{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{IS{Float64}}},StridedArray{Ptr{IS{Float64}}},Ptr{Ptr{IS{Float64}}},Ref{Ptr{IS{Float64}}}}) - err = ccall((:PCGASMCreateSubdomains,petscRealDouble),PetscErrorCode,(Mat{Float64},Int64,Ptr{Int64},Ptr{Ptr{IS{Float64}}}),arg1,arg2,arg3,arg4) - return err -end - -function PCGASMDestroySubdomains(arg1::Integer,arg2::Union{Ptr{Ptr{IS{Float64}}},StridedArray{Ptr{IS{Float64}}},Ptr{Ptr{IS{Float64}}},Ref{Ptr{IS{Float64}}}},arg3::Union{Ptr{Ptr{IS{Float64}}},StridedArray{Ptr{IS{Float64}}},Ptr{Ptr{IS{Float64}}},Ref{Ptr{IS{Float64}}}}) - err = ccall((:PCGASMDestroySubdomains,petscRealDouble),PetscErrorCode,(Int64,Ptr{Ptr{IS{Float64}}},Ptr{Ptr{IS{Float64}}}),arg1,arg2,arg3) - return err -end - -function PCGASMCreateSubdomains2D(arg1::PC{Float64},arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg9::Union{Ptr{Ptr{IS{Float64}}},StridedArray{Ptr{IS{Float64}}},Ptr{Ptr{IS{Float64}}},Ref{Ptr{IS{Float64}}}},arg10::Union{Ptr{Ptr{IS{Float64}}},StridedArray{Ptr{IS{Float64}}},Ptr{Ptr{IS{Float64}}},Ref{Ptr{IS{Float64}}}}) - err = ccall((:PCGASMCreateSubdomains2D,petscRealDouble),PetscErrorCode,(PC{Float64},Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Ptr{IS{Float64}}},Ptr{Ptr{IS{Float64}}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -function PCGASMGetSubdomains(arg1::PC{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{IS{Float64}}},StridedArray{Ptr{IS{Float64}}},Ptr{Ptr{IS{Float64}}},Ref{Ptr{IS{Float64}}}},arg4::Union{Ptr{Ptr{IS{Float64}}},StridedArray{Ptr{IS{Float64}}},Ptr{Ptr{IS{Float64}}},Ref{Ptr{IS{Float64}}}}) - err = ccall((:PCGASMGetSubdomains,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Int64},Ptr{Ptr{IS{Float64}}},Ptr{Ptr{IS{Float64}}}),arg1,arg2,arg3,arg4) - return err -end - -function PCGASMGetSubmatrices(arg1::PC{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Mat{Float64}}},StridedArray{Ptr{Mat{Float64}}},Ptr{Ptr{Mat{Float64}}},Ref{Ptr{Mat{Float64}}}}) - err = ccall((:PCGASMGetSubmatrices,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Int64},Ptr{Ptr{Mat{Float64}}}),arg1,arg2,arg3) - return err -end - -function PCCompositeSetType(arg1::PC{Float64},arg2::PCCompositeType) - err = ccall((:PCCompositeSetType,petscRealDouble),PetscErrorCode,(PC{Float64},PCCompositeType),arg1,arg2) - return err -end - -function PCCompositeGetType(arg1::PC{Float64},arg2::Union{Ptr{PCCompositeType},StridedArray{PCCompositeType},Ptr{PCCompositeType},Ref{PCCompositeType}}) - err = ccall((:PCCompositeGetType,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{PCCompositeType}),arg1,arg2) - return err -end - -function PCCompositeAddPC(arg1::PC{Float64},arg2::PCType) - err = ccall((:PCCompositeAddPC,petscRealDouble),PetscErrorCode,(PC{Float64},Cstring),arg1,arg2) - return err -end - -function PCCompositeGetPC(arg1::PC{Float64},arg2::Integer,arg3::Union{Ptr{PC{Float64}},StridedArray{PC{Float64}},Ptr{PC{Float64}},Ref{PC{Float64}}}) - err = ccall((:PCCompositeGetPC,petscRealDouble),PetscErrorCode,(PC{Float64},Int64,Ptr{PC{Float64}}),arg1,arg2,arg3) - return err -end - -function PCCompositeSpecialSetAlpha(arg1::PC{Float64},arg2::Float64) - err = ccall((:PCCompositeSpecialSetAlpha,petscRealDouble),PetscErrorCode,(PC{Float64},Float64),arg1,arg2) - return err -end - -function PCRedundantSetNumber(arg1::PC{Float64},arg2::Integer) - err = ccall((:PCRedundantSetNumber,petscRealDouble),PetscErrorCode,(PC{Float64},Int64),arg1,arg2) - return err -end - -function PCRedundantSetScatter(arg1::PC{Float64},arg2::VecScatter{Float64},arg3::VecScatter{Float64}) - err = ccall((:PCRedundantSetScatter,petscRealDouble),PetscErrorCode,(PC{Float64},VecScatter{Float64},VecScatter{Float64}),arg1,arg2,arg3) - return err -end - -function PCRedundantGetOperators(arg1::PC{Float64},arg2::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}},arg3::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:PCRedundantGetOperators,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Mat{Float64}},Ptr{Mat{Float64}}),arg1,arg2,arg3) - return err -end - -function PCSPAISetEpsilon(arg1::PC{Float64},arg2::Cdouble) - err = ccall((:PCSPAISetEpsilon,petscRealDouble),PetscErrorCode,(PC{Float64},Cdouble),arg1,arg2) - return err -end - -function PCSPAISetNBSteps(arg1::PC{Float64},arg2::Integer) - err = ccall((:PCSPAISetNBSteps,petscRealDouble),PetscErrorCode,(PC{Float64},Int64),arg1,arg2) - return err -end - -function PCSPAISetMax(arg1::PC{Float64},arg2::Integer) - err = ccall((:PCSPAISetMax,petscRealDouble),PetscErrorCode,(PC{Float64},Int64),arg1,arg2) - return err -end - -function PCSPAISetMaxNew(arg1::PC{Float64},arg2::Integer) - err = ccall((:PCSPAISetMaxNew,petscRealDouble),PetscErrorCode,(PC{Float64},Int64),arg1,arg2) - return err -end - -function PCSPAISetBlockSize(arg1::PC{Float64},arg2::Integer) - err = ccall((:PCSPAISetBlockSize,petscRealDouble),PetscErrorCode,(PC{Float64},Int64),arg1,arg2) - return err -end - -function PCSPAISetCacheSize(arg1::PC{Float64},arg2::Integer) - err = ccall((:PCSPAISetCacheSize,petscRealDouble),PetscErrorCode,(PC{Float64},Int64),arg1,arg2) - return err -end - -function PCSPAISetVerbose(arg1::PC{Float64},arg2::Integer) - err = ccall((:PCSPAISetVerbose,petscRealDouble),PetscErrorCode,(PC{Float64},Int64),arg1,arg2) - return err -end - -function PCSPAISetSp(arg1::PC{Float64},arg2::Integer) - err = ccall((:PCSPAISetSp,petscRealDouble),PetscErrorCode,(PC{Float64},Int64),arg1,arg2) - return err -end - -function PCHYPRESetType(arg1::PC{Float64},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PCHYPRESetType,petscRealDouble),PetscErrorCode,(PC{Float64},Cstring),arg1,arg2) - return err -end - -function PCHYPREGetType(arg1::PC{Float64},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PCHYPREGetType,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PCHYPRESetDiscreteGradient(arg1::PC{Float64},arg2::Mat{Float64}) - err = ccall((:PCHYPRESetDiscreteGradient,petscRealDouble),PetscErrorCode,(PC{Float64},Mat{Float64}),arg1,arg2) - return err -end - -function PCHYPRESetDiscreteCurl(arg1::PC{Float64},arg2::Mat{Float64}) - err = ccall((:PCHYPRESetDiscreteCurl,petscRealDouble),PetscErrorCode,(PC{Float64},Mat{Float64}),arg1,arg2) - return err -end - -function PCHYPRESetEdgeConstantVectors(arg1::PC{Float64},arg2::Vec{Float64},arg3::Vec{Float64},arg4::Vec{Float64}) - err = ccall((:PCHYPRESetEdgeConstantVectors,petscRealDouble),PetscErrorCode,(PC{Float64},Vec{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function PCHYPRESetAlphaPoissonMatrix(arg1::PC{Float64},arg2::Mat{Float64}) - err = ccall((:PCHYPRESetAlphaPoissonMatrix,petscRealDouble),PetscErrorCode,(PC{Float64},Mat{Float64}),arg1,arg2) - return err -end - -function PCHYPRESetBetaPoissonMatrix(arg1::PC{Float64},arg2::Mat{Float64}) - err = ccall((:PCHYPRESetBetaPoissonMatrix,petscRealDouble),PetscErrorCode,(PC{Float64},Mat{Float64}),arg1,arg2) - return err -end - -function PCBJacobiGetLocalBlocks(arg1::PC{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PCBJacobiGetLocalBlocks,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3) - return err -end - -function PCBJacobiGetTotalBlocks(arg1::PC{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PCBJacobiGetTotalBlocks,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3) - return err -end - -function PCFieldSplitSetFields(arg1::PC{Float64},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PCFieldSplitSetFields,petscRealDouble),PetscErrorCode,(PC{Float64},Cstring,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PCFieldSplitSetType(arg1::PC{Float64},arg2::PCCompositeType) - err = ccall((:PCFieldSplitSetType,petscRealDouble),PetscErrorCode,(PC{Float64},PCCompositeType),arg1,arg2) - return err -end - -function PCFieldSplitGetType(arg1::PC{Float64},arg2::Union{Ptr{PCCompositeType},StridedArray{PCCompositeType},Ptr{PCCompositeType},Ref{PCCompositeType}}) - err = ccall((:PCFieldSplitGetType,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{PCCompositeType}),arg1,arg2) - return err -end - -function PCFieldSplitSetBlockSize(arg1::PC{Float64},arg2::Integer) - err = ccall((:PCFieldSplitSetBlockSize,petscRealDouble),PetscErrorCode,(PC{Float64},Int64),arg1,arg2) - return err -end - -function PCFieldSplitSetIS(arg1::PC{Float64},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::IS{Float64}) - err = ccall((:PCFieldSplitSetIS,petscRealDouble),PetscErrorCode,(PC{Float64},Cstring,IS{Float64}),arg1,arg2,arg3) - return err -end - -function PCFieldSplitGetIS(arg1::PC{Float64},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:PCFieldSplitGetIS,petscRealDouble),PetscErrorCode,(PC{Float64},Cstring,Ptr{IS{Float64}}),arg1,arg2,arg3) - return err -end - -function PCFieldSplitSetDMSplits(arg1::PC{Float64},arg2::PetscBool) - err = ccall((:PCFieldSplitSetDMSplits,petscRealDouble),PetscErrorCode,(PC{Float64},PetscBool),arg1,arg2) - return err -end - -function PCFieldSplitGetDMSplits(arg1::PC{Float64},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCFieldSplitGetDMSplits,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCFieldSplitSetDiagUseAmat(arg1::PC{Float64},arg2::PetscBool) - err = ccall((:PCFieldSplitSetDiagUseAmat,petscRealDouble),PetscErrorCode,(PC{Float64},PetscBool),arg1,arg2) - return err -end - -function PCFieldSplitGetDiagUseAmat(arg1::PC{Float64},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCFieldSplitGetDiagUseAmat,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCFieldSplitSetOffDiagUseAmat(arg1::PC{Float64},arg2::PetscBool) - err = ccall((:PCFieldSplitSetOffDiagUseAmat,petscRealDouble),PetscErrorCode,(PC{Float64},PetscBool),arg1,arg2) - return err -end - -function PCFieldSplitGetOffDiagUseAmat(arg1::PC{Float64},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCFieldSplitGetOffDiagUseAmat,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCFieldSplitSchurPrecondition(arg1::PC{Float64},arg2::PCFieldSplitSchurPreType,arg3::Mat{Float64}) - err = ccall((:PCFieldSplitSchurPrecondition,petscRealDouble),PetscErrorCode,(PC{Float64},PCFieldSplitSchurPreType,Mat{Float64}),arg1,arg2,arg3) - return err -end - -function PCFieldSplitSetSchurPre(arg1::PC{Float64},arg2::PCFieldSplitSchurPreType,arg3::Mat{Float64}) - err = ccall((:PCFieldSplitSetSchurPre,petscRealDouble),PetscErrorCode,(PC{Float64},PCFieldSplitSchurPreType,Mat{Float64}),arg1,arg2,arg3) - return err -end - -function PCFieldSplitGetSchurPre(arg1::PC{Float64},arg2::Union{Ptr{PCFieldSplitSchurPreType},StridedArray{PCFieldSplitSchurPreType},Ptr{PCFieldSplitSchurPreType},Ref{PCFieldSplitSchurPreType}},arg3::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:PCFieldSplitGetSchurPre,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{PCFieldSplitSchurPreType},Ptr{Mat{Float64}}),arg1,arg2,arg3) - return err -end - -function PCFieldSplitSetSchurFactType(arg1::PC{Float64},arg2::PCFieldSplitSchurFactType) - err = ccall((:PCFieldSplitSetSchurFactType,petscRealDouble),PetscErrorCode,(PC{Float64},PCFieldSplitSchurFactType),arg1,arg2) - return err -end - -function PCFieldSplitGetSchurBlocks(arg1::PC{Float64},arg2::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}},arg3::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}},arg4::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}},arg5::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:PCFieldSplitGetSchurBlocks,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Mat{Float64}},Ptr{Mat{Float64}},Ptr{Mat{Float64}},Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PCFieldSplitSchurGetS(arg1::PC{Float64},S::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:PCFieldSplitSchurGetS,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Mat{Float64}}),arg1,S) - return err -end - -function PCFieldSplitSchurRestoreS(arg1::PC{Float64},S::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:PCFieldSplitSchurRestoreS,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Mat{Float64}}),arg1,S) - return err -end - -function PCGalerkinSetRestriction(arg1::PC{Float64},arg2::Mat{Float64}) - err = ccall((:PCGalerkinSetRestriction,petscRealDouble),PetscErrorCode,(PC{Float64},Mat{Float64}),arg1,arg2) - return err -end - -function PCGalerkinSetInterpolation(arg1::PC{Float64},arg2::Mat{Float64}) - err = ccall((:PCGalerkinSetInterpolation,petscRealDouble),PetscErrorCode,(PC{Float64},Mat{Float64}),arg1,arg2) - return err -end - -function PCSetCoordinates(arg1::PC{Float64},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:PCSetCoordinates,petscRealDouble),PetscErrorCode,(PC{Float64},Int64,Int64,Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function PCPythonSetType(arg1::PC{Float64},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PCPythonSetType,petscRealDouble),PetscErrorCode,(PC{Float64},Cstring),arg1,arg2) - return err -end - -function PCSetDM(arg1::PC{Float64},arg2::DM) - err = ccall((:PCSetDM,petscRealDouble),PetscErrorCode,(PC{Float64},DM),arg1,arg2) - return err -end - -function PCGetDM(arg1::PC{Float64},arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:PCGetDM,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{DM}),arg1,arg2) - return err -end - -function PCSetApplicationContext(arg1::PC{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCSetApplicationContext,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Void}),arg1,arg2) - return err -end - -function PCGetApplicationContext(arg1::PC{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCGetApplicationContext,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Void}),arg1,arg2) - return err -end - -function PCBiCGStabCUSPSetTolerance(arg1::PC{Float64},arg2::Float64) - err = ccall((:PCBiCGStabCUSPSetTolerance,petscRealDouble),PetscErrorCode,(PC{Float64},Float64),arg1,arg2) - return err -end - -function PCBiCGStabCUSPSetIterations(arg1::PC{Float64},arg2::Integer) - err = ccall((:PCBiCGStabCUSPSetIterations,petscRealDouble),PetscErrorCode,(PC{Float64},Int64),arg1,arg2) - return err -end - -function PCBiCGStabCUSPSetUseVerboseMonitor(arg1::PC{Float64},arg2::PetscBool) - err = ccall((:PCBiCGStabCUSPSetUseVerboseMonitor,petscRealDouble),PetscErrorCode,(PC{Float64},PetscBool),arg1,arg2) - return err -end - -function PCAINVCUSPSetDropTolerance(arg1::PC{Float64},arg2::Float64) - err = ccall((:PCAINVCUSPSetDropTolerance,petscRealDouble),PetscErrorCode,(PC{Float64},Float64),arg1,arg2) - return err -end - -function PCAINVCUSPUseScaling(arg1::PC{Float64},arg2::PetscBool) - err = ccall((:PCAINVCUSPUseScaling,petscRealDouble),PetscErrorCode,(PC{Float64},PetscBool),arg1,arg2) - return err -end - -function PCAINVCUSPSetNonzeros(arg1::PC{Float64},arg2::Integer) - err = ccall((:PCAINVCUSPSetNonzeros,petscRealDouble),PetscErrorCode,(PC{Float64},Int64),arg1,arg2) - return err -end - -function PCAINVCUSPSetLinParameter(arg1::PC{Float64},arg2::Integer) - err = ccall((:PCAINVCUSPSetLinParameter,petscRealDouble),PetscErrorCode,(PC{Float64},Int64),arg1,arg2) - return err -end - -function PCPARMSSetGlobal(arg1::PC{Float64},arg2::PCPARMSGlobalType) - err = ccall((:PCPARMSSetGlobal,petscRealDouble),PetscErrorCode,(PC{Float64},PCPARMSGlobalType),arg1,arg2) - return err -end - -function PCPARMSSetLocal(arg1::PC{Float64},arg2::PCPARMSLocalType) - err = ccall((:PCPARMSSetLocal,petscRealDouble),PetscErrorCode,(PC{Float64},PCPARMSLocalType),arg1,arg2) - return err -end - -function PCPARMSSetSolveTolerances(arg1::PC{Float64},arg2::Float64,arg3::Integer) - err = ccall((:PCPARMSSetSolveTolerances,petscRealDouble),PetscErrorCode,(PC{Float64},Float64,Int64),arg1,arg2,arg3) - return err -end - -function PCPARMSSetSolveRestart(arg1::PC{Float64},arg2::Integer) - err = ccall((:PCPARMSSetSolveRestart,petscRealDouble),PetscErrorCode,(PC{Float64},Int64),arg1,arg2) - return err -end - -function PCPARMSSetNonsymPerm(arg1::PC{Float64},arg2::PetscBool) - err = ccall((:PCPARMSSetNonsymPerm,petscRealDouble),PetscErrorCode,(PC{Float64},PetscBool),arg1,arg2) - return err -end - -function PCPARMSSetFill(arg1::PC{Float64},arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:PCPARMSSetFill,petscRealDouble),PetscErrorCode,(PC{Float64},Int64,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function PCGAMGSetType(arg1::PC{Float64},arg2::PCGAMGType) - err = ccall((:PCGAMGSetType,petscRealDouble),PetscErrorCode,(PC{Float64},Cstring),arg1,arg2) - return err -end - -function PCGAMGGetType(arg1::PC{Float64},arg2::Union{Ptr{PCGAMGType},StridedArray{PCGAMGType},Ptr{PCGAMGType},Ref{PCGAMGType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:PCGAMGGetType,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function PCGAMGSetProcEqLim(arg1::PC{Float64},arg2::Integer) - err = ccall((:PCGAMGSetProcEqLim,petscRealDouble),PetscErrorCode,(PC{Float64},Int64),arg1,arg2) - return err -end - -function PCGAMGSetRepartitioning(arg1::PC{Float64},arg2::PetscBool) - err = ccall((:PCGAMGSetRepartitioning,petscRealDouble),PetscErrorCode,(PC{Float64},PetscBool),arg1,arg2) - return err -end - -function PCGAMGSetUseASMAggs(arg1::PC{Float64},arg2::PetscBool) - err = ccall((:PCGAMGSetUseASMAggs,petscRealDouble),PetscErrorCode,(PC{Float64},PetscBool),arg1,arg2) - return err -end - -function PCGAMGSetSolverType(arg1::PC{Float64},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer) - err = ccall((:PCGAMGSetSolverType,petscRealDouble),PetscErrorCode,(PC{Float64},Cstring,Int64),arg1,arg2,arg3) - return err -end - -function PCGAMGSetThreshold(arg1::PC{Float64},arg2::Float64) - err = ccall((:PCGAMGSetThreshold,petscRealDouble),PetscErrorCode,(PC{Float64},Float64),arg1,arg2) - return err -end - -function PCGAMGSetCoarseEqLim(arg1::PC{Float64},arg2::Integer) - err = ccall((:PCGAMGSetCoarseEqLim,petscRealDouble),PetscErrorCode,(PC{Float64},Int64),arg1,arg2) - return err -end - -function PCGAMGSetNlevels(arg1::PC{Float64},arg2::Integer) - err = ccall((:PCGAMGSetNlevels,petscRealDouble),PetscErrorCode,(PC{Float64},Int64),arg1,arg2) - return err -end - -function PCGAMGSetNSmooths(arg1::PC{Float64},arg2::Integer) - err = ccall((:PCGAMGSetNSmooths,petscRealDouble),PetscErrorCode,(PC{Float64},Int64),arg1,arg2) - return err -end - -function PCGAMGSetSymGraph(arg1::PC{Float64},arg2::PetscBool) - err = ccall((:PCGAMGSetSymGraph,petscRealDouble),PetscErrorCode,(PC{Float64},PetscBool),arg1,arg2) - return err -end - -function PCGAMGSetSquareGraph(arg1::PC{Float64},arg2::Integer) - err = ccall((:PCGAMGSetSquareGraph,petscRealDouble),PetscErrorCode,(PC{Float64},Int64),arg1,arg2) - return err -end - -function PCGAMGSetReuseInterpolation(arg1::PC{Float64},arg2::PetscBool) - err = ccall((:PCGAMGSetReuseInterpolation,petscRealDouble),PetscErrorCode,(PC{Float64},PetscBool),arg1,arg2) - return err -end - -function PCGAMGFinalizePackage(arg0::Type{Float64}) - err = ccall((:PCGAMGFinalizePackage,petscRealDouble),PetscErrorCode,()) - return err -end - -function PCGAMGInitializePackage(arg0::Type{Float64}) - err = ccall((:PCGAMGInitializePackage,petscRealDouble),PetscErrorCode,()) - return err -end - -function PCGAMGRegister(arg0::Type{Float64},arg1::PCGAMGType,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCGAMGRegister,petscRealDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function PCGAMGClassicalSetType(arg1::PC{Float64},arg2::PCGAMGClassicalType) - err = ccall((:PCGAMGClassicalSetType,petscRealDouble),PetscErrorCode,(PC{Float64},Cstring),arg1,arg2) - return err -end - -function PCGAMGClassicalGetType(arg1::PC{Float64},arg2::Union{Ptr{PCGAMGClassicalType},StridedArray{PCGAMGClassicalType},Ptr{PCGAMGClassicalType},Ref{PCGAMGClassicalType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:PCGAMGClassicalGetType,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function PCBDDCSetChangeOfBasisMat(arg1::PC{Float64},arg2::Mat{Float64}) - err = ccall((:PCBDDCSetChangeOfBasisMat,petscRealDouble),PetscErrorCode,(PC{Float64},Mat{Float64}),arg1,arg2) - return err -end - -function PCBDDCSetPrimalVerticesLocalIS(arg1::PC{Float64},arg2::IS{Float64}) - err = ccall((:PCBDDCSetPrimalVerticesLocalIS,petscRealDouble),PetscErrorCode,(PC{Float64},IS{Float64}),arg1,arg2) - return err -end - -function PCBDDCSetCoarseningRatio(arg1::PC{Float64},arg2::Integer) - err = ccall((:PCBDDCSetCoarseningRatio,petscRealDouble),PetscErrorCode,(PC{Float64},Int64),arg1,arg2) - return err -end - -function PCBDDCSetLevels(arg1::PC{Float64},arg2::Integer) - err = ccall((:PCBDDCSetLevels,petscRealDouble),PetscErrorCode,(PC{Float64},Int64),arg1,arg2) - return err -end - -function PCBDDCSetNullSpace(arg1::PC{Float64},arg2::MatNullSpace) - err = ccall((:PCBDDCSetNullSpace,petscRealDouble),PetscErrorCode,(PC{Float64},MatNullSpace),arg1,arg2) - return err -end - -function PCBDDCSetDirichletBoundaries(arg1::PC{Float64},arg2::IS{Float64}) - err = ccall((:PCBDDCSetDirichletBoundaries,petscRealDouble),PetscErrorCode,(PC{Float64},IS{Float64}),arg1,arg2) - return err -end - -function PCBDDCSetDirichletBoundariesLocal(arg1::PC{Float64},arg2::IS{Float64}) - err = ccall((:PCBDDCSetDirichletBoundariesLocal,petscRealDouble),PetscErrorCode,(PC{Float64},IS{Float64}),arg1,arg2) - return err -end - -function PCBDDCGetDirichletBoundaries(arg1::PC{Float64},arg2::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:PCBDDCGetDirichletBoundaries,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{IS{Float64}}),arg1,arg2) - return err -end - -function PCBDDCGetDirichletBoundariesLocal(arg1::PC{Float64},arg2::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:PCBDDCGetDirichletBoundariesLocal,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{IS{Float64}}),arg1,arg2) - return err -end - -function PCBDDCSetNeumannBoundaries(arg1::PC{Float64},arg2::IS{Float64}) - err = ccall((:PCBDDCSetNeumannBoundaries,petscRealDouble),PetscErrorCode,(PC{Float64},IS{Float64}),arg1,arg2) - return err -end - -function PCBDDCSetNeumannBoundariesLocal(arg1::PC{Float64},arg2::IS{Float64}) - err = ccall((:PCBDDCSetNeumannBoundariesLocal,petscRealDouble),PetscErrorCode,(PC{Float64},IS{Float64}),arg1,arg2) - return err -end - -function PCBDDCGetNeumannBoundaries(arg1::PC{Float64},arg2::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:PCBDDCGetNeumannBoundaries,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{IS{Float64}}),arg1,arg2) - return err -end - -function PCBDDCGetNeumannBoundariesLocal(arg1::PC{Float64},arg2::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:PCBDDCGetNeumannBoundariesLocal,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{IS{Float64}}),arg1,arg2) - return err -end - -function PCBDDCSetDofsSplitting(arg1::PC{Float64},arg2::Integer,arg3::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:PCBDDCSetDofsSplitting,petscRealDouble),PetscErrorCode,(PC{Float64},Int64,Ptr{IS{Float64}}),arg1,arg2,arg3) - return err -end - -function PCBDDCSetDofsSplittingLocal(arg1::PC{Float64},arg2::Integer,arg3::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:PCBDDCSetDofsSplittingLocal,petscRealDouble),PetscErrorCode,(PC{Float64},Int64,Ptr{IS{Float64}}),arg1,arg2,arg3) - return err -end - -function PCBDDCSetLocalAdjacencyGraph(arg1::PC{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::PetscCopyMode) - err = ccall((:PCBDDCSetLocalAdjacencyGraph,petscRealDouble),PetscErrorCode,(PC{Float64},Int64,Ptr{Int64},Ptr{Int64},PetscCopyMode),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PCBDDCCreateFETIDPOperators(arg1::PC{Float64},arg2::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}},arg3::Union{Ptr{PC{Float64}},StridedArray{PC{Float64}},Ptr{PC{Float64}},Ref{PC{Float64}}}) - err = ccall((:PCBDDCCreateFETIDPOperators,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Mat{Float64}},Ptr{PC{Float64}}),arg1,arg2,arg3) - return err -end - -function PCBDDCMatFETIDPGetRHS(arg1::Mat{Float64},arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:PCBDDCMatFETIDPGetRHS,petscRealDouble),PetscErrorCode,(Mat{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function PCBDDCMatFETIDPGetSolution(arg1::Mat{Float64},arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:PCBDDCMatFETIDPGetSolution,petscRealDouble),PetscErrorCode,(Mat{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function PCISSetUseStiffnessScaling(arg1::PC{Float64},arg2::PetscBool) - err = ccall((:PCISSetUseStiffnessScaling,petscRealDouble),PetscErrorCode,(PC{Float64},PetscBool),arg1,arg2) - return err -end - -function PCISSetSubdomainScalingFactor(arg1::PC{Float64},arg2::Float64) - err = ccall((:PCISSetSubdomainScalingFactor,petscRealDouble),PetscErrorCode,(PC{Float64},Float64),arg1,arg2) - return err -end - -function PCISSetSubdomainDiagonalScaling(arg1::PC{Float64},arg2::Vec{Float64}) - err = ccall((:PCISSetSubdomainDiagonalScaling,petscRealDouble),PetscErrorCode,(PC{Float64},Vec{Float64}),arg1,arg2) - return err -end - -function PCMGSetType(arg1::PC{Float64},arg2::PCMGType) - err = ccall((:PCMGSetType,petscRealDouble),PetscErrorCode,(PC{Float64},PCMGType),arg1,arg2) - return err -end - -function PCMGGetType(arg1::PC{Float64},arg2::Union{Ptr{PCMGType},StridedArray{PCMGType},Ptr{PCMGType},Ref{PCMGType}}) - err = ccall((:PCMGGetType,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{PCMGType}),arg1,arg2) - return err -end - -function PCMGSetLevels(arg1::PC{Float64},arg2::Integer,arg3::Union{Ptr{MPI_Comm},StridedArray{MPI_Comm},Ptr{MPI_Comm},Ref{MPI_Comm}}) - err = ccall((:PCMGSetLevels,petscRealDouble),PetscErrorCode,(PC{Float64},Int64,Ptr{comm_type}),arg1,arg2,arg3) - return err -end - -function PCMGGetLevels(arg1::PC{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PCMGGetLevels,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Int64}),arg1,arg2) - return err -end - -function PCMGSetNumberSmoothUp(arg1::PC{Float64},arg2::Integer) - err = ccall((:PCMGSetNumberSmoothUp,petscRealDouble),PetscErrorCode,(PC{Float64},Int64),arg1,arg2) - return err -end - -function PCMGSetNumberSmoothDown(arg1::PC{Float64},arg2::Integer) - err = ccall((:PCMGSetNumberSmoothDown,petscRealDouble),PetscErrorCode,(PC{Float64},Int64),arg1,arg2) - return err -end - -function PCMGSetCycleType(arg1::PC{Float64},arg2::PCMGCycleType) - err = ccall((:PCMGSetCycleType,petscRealDouble),PetscErrorCode,(PC{Float64},PCMGCycleType),arg1,arg2) - return err -end - -function PCMGSetCycleTypeOnLevel(arg1::PC{Float64},arg2::Integer,arg3::PCMGCycleType) - err = ccall((:PCMGSetCycleTypeOnLevel,petscRealDouble),PetscErrorCode,(PC{Float64},Int64,PCMGCycleType),arg1,arg2,arg3) - return err -end - -function PCMGSetCyclesOnLevel(arg1::PC{Float64},arg2::Integer,arg3::Integer) - err = ccall((:PCMGSetCyclesOnLevel,petscRealDouble),PetscErrorCode,(PC{Float64},Int64,Int64),arg1,arg2,arg3) - return err -end - -function PCMGMultiplicativeSetCycles(arg1::PC{Float64},arg2::Integer) - err = ccall((:PCMGMultiplicativeSetCycles,petscRealDouble),PetscErrorCode,(PC{Float64},Int64),arg1,arg2) - return err -end - -function PCMGSetGalerkin(arg1::PC{Float64},arg2::PetscBool) - err = ccall((:PCMGSetGalerkin,petscRealDouble),PetscErrorCode,(PC{Float64},PetscBool),arg1,arg2) - return err -end - -function PCMGGetGalerkin(arg1::PC{Float64},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCMGGetGalerkin,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCMGSetRhs(arg1::PC{Float64},arg2::Integer,arg3::Vec{Float64}) - err = ccall((:PCMGSetRhs,petscRealDouble),PetscErrorCode,(PC{Float64},Int64,Vec{Float64}),arg1,arg2,arg3) - return err -end - -function PCMGSetX(arg1::PC{Float64},arg2::Integer,arg3::Vec{Float64}) - err = ccall((:PCMGSetX,petscRealDouble),PetscErrorCode,(PC{Float64},Int64,Vec{Float64}),arg1,arg2,arg3) - return err -end - -function PCMGSetR(arg1::PC{Float64},arg2::Integer,arg3::Vec{Float64}) - err = ccall((:PCMGSetR,petscRealDouble),PetscErrorCode,(PC{Float64},Int64,Vec{Float64}),arg1,arg2,arg3) - return err -end - -function PCMGSetRestriction(arg1::PC{Float64},arg2::Integer,arg3::Mat{Float64}) - err = ccall((:PCMGSetRestriction,petscRealDouble),PetscErrorCode,(PC{Float64},Int64,Mat{Float64}),arg1,arg2,arg3) - return err -end - -function PCMGGetRestriction(arg1::PC{Float64},arg2::Integer,arg3::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:PCMGGetRestriction,petscRealDouble),PetscErrorCode,(PC{Float64},Int64,Ptr{Mat{Float64}}),arg1,arg2,arg3) - return err -end - -function PCMGSetInterpolation(arg1::PC{Float64},arg2::Integer,arg3::Mat{Float64}) - err = ccall((:PCMGSetInterpolation,petscRealDouble),PetscErrorCode,(PC{Float64},Int64,Mat{Float64}),arg1,arg2,arg3) - return err -end - -function PCMGGetInterpolation(arg1::PC{Float64},arg2::Integer,arg3::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:PCMGGetInterpolation,petscRealDouble),PetscErrorCode,(PC{Float64},Int64,Ptr{Mat{Float64}}),arg1,arg2,arg3) - return err -end - -function PCMGSetRScale(arg1::PC{Float64},arg2::Integer,arg3::Vec{Float64}) - err = ccall((:PCMGSetRScale,petscRealDouble),PetscErrorCode,(PC{Float64},Int64,Vec{Float64}),arg1,arg2,arg3) - return err -end - -function PCMGGetRScale(arg1::PC{Float64},arg2::Integer,arg3::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:PCMGGetRScale,petscRealDouble),PetscErrorCode,(PC{Float64},Int64,Ptr{Vec{Float64}}),arg1,arg2,arg3) - return err -end - -function PCMGSetResidual(arg1::PC{Float64},arg2::Integer,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Mat{Float64}) - err = ccall((:PCMGSetResidual,petscRealDouble),PetscErrorCode,(PC{Float64},Int64,Ptr{Void},Mat{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function PCMGResidualDefault(arg1::Mat{Float64},arg2::Vec{Float64},arg3::Vec{Float64},arg4::Vec{Float64}) - err = ccall((:PCMGResidualDefault,petscRealDouble),PetscErrorCode,(Mat{Float64},Vec{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function KSPInitializePackage(arg0::Type{Float64}) - err = ccall((:KSPInitializePackage,petscRealDouble),PetscErrorCode,()) - return err -end - -function KSPCreate(arg1::MPI_Comm,arg2::Union{Ptr{KSP{Float64}},StridedArray{KSP{Float64}},Ptr{KSP{Float64}},Ref{KSP{Float64}}}) - err = ccall((:KSPCreate,petscRealDouble),PetscErrorCode,(comm_type,Ptr{KSP{Float64}}),arg1,arg2) - return err -end - -function KSPSetType(arg1::KSP{Float64},arg2::KSPType) - err = ccall((:KSPSetType,petscRealDouble),PetscErrorCode,(KSP{Float64},Cstring),arg1,arg2) - return err -end - -function KSPGetType(arg1::KSP{Float64},arg2::Union{Ptr{KSPType},StridedArray{KSPType},Ptr{KSPType},Ref{KSPType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:KSPGetType,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function KSPSetUp(arg1::KSP{Float64}) - err = ccall((:KSPSetUp,petscRealDouble),PetscErrorCode,(KSP{Float64},),arg1) - return err -end - -function KSPSetUpOnBlocks(arg1::KSP{Float64}) - err = ccall((:KSPSetUpOnBlocks,petscRealDouble),PetscErrorCode,(KSP{Float64},),arg1) - return err -end - -function KSPSolve(arg1::KSP{Float64},arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:KSPSolve,petscRealDouble),PetscErrorCode,(KSP{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function KSPSolveTranspose(arg1::KSP{Float64},arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:KSPSolveTranspose,petscRealDouble),PetscErrorCode,(KSP{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function KSPReset(arg1::KSP{Float64}) - err = ccall((:KSPReset,petscRealDouble),PetscErrorCode,(KSP{Float64},),arg1) - return err -end - -function KSPDestroy(arg1::Union{Ptr{KSP{Float64}},StridedArray{KSP{Float64}},Ptr{KSP{Float64}},Ref{KSP{Float64}}}) - err = ccall((:KSPDestroy,petscRealDouble),PetscErrorCode,(Ptr{KSP{Float64}},),arg1) - return err -end - -function KSPSetReusePreconditioner(arg1::KSP{Float64},arg2::PetscBool) - err = ccall((:KSPSetReusePreconditioner,petscRealDouble),PetscErrorCode,(KSP{Float64},PetscBool),arg1,arg2) - return err -end - -function KSPSetSkipPCSetFromOptions(arg1::KSP{Float64},arg2::PetscBool) - err = ccall((:KSPSetSkipPCSetFromOptions,petscRealDouble),PetscErrorCode,(KSP{Float64},PetscBool),arg1,arg2) - return err -end - -function KSPRegister(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPRegister,petscRealDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function KSPSetPCSide(arg1::KSP{Float64},arg2::PCSide) - err = ccall((:KSPSetPCSide,petscRealDouble),PetscErrorCode,(KSP{Float64},PCSide),arg1,arg2) - return err -end - -function KSPGetPCSide(arg1::KSP{Float64},arg2::Union{Ptr{PCSide},StridedArray{PCSide},Ptr{PCSide},Ref{PCSide}}) - err = ccall((:KSPGetPCSide,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{PCSide}),arg1,arg2) - return err -end - -function KSPSetTolerances(arg1::KSP{Float64},arg2::Float64,arg3::Float64,arg4::Float64,arg5::Integer) - err = ccall((:KSPSetTolerances,petscRealDouble),PetscErrorCode,(KSP{Float64},Float64,Float64,Float64,Int64),arg1,arg2,arg3,arg4,arg5) - return err -end - -function KSPGetTolerances(arg1::KSP{Float64},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:KSPGetTolerances,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function KSPSetInitialGuessNonzero(arg1::KSP{Float64},arg2::PetscBool) - err = ccall((:KSPSetInitialGuessNonzero,petscRealDouble),PetscErrorCode,(KSP{Float64},PetscBool),arg1,arg2) - return err -end - -function KSPGetInitialGuessNonzero(arg1::KSP{Float64},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:KSPGetInitialGuessNonzero,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{PetscBool}),arg1,arg2) - return err -end - -function KSPSetInitialGuessKnoll(arg1::KSP{Float64},arg2::PetscBool) - err = ccall((:KSPSetInitialGuessKnoll,petscRealDouble),PetscErrorCode,(KSP{Float64},PetscBool),arg1,arg2) - return err -end - -function KSPGetInitialGuessKnoll(arg1::KSP{Float64},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:KSPGetInitialGuessKnoll,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{PetscBool}),arg1,arg2) - return err -end - -function KSPSetErrorIfNotConverged(arg1::KSP{Float64},arg2::PetscBool) - err = ccall((:KSPSetErrorIfNotConverged,petscRealDouble),PetscErrorCode,(KSP{Float64},PetscBool),arg1,arg2) - return err -end - -function KSPGetErrorIfNotConverged(arg1::KSP{Float64},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:KSPGetErrorIfNotConverged,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{PetscBool}),arg1,arg2) - return err -end - -function KSPSetComputeEigenvalues(arg1::KSP{Float64},arg2::PetscBool) - err = ccall((:KSPSetComputeEigenvalues,petscRealDouble),PetscErrorCode,(KSP{Float64},PetscBool),arg1,arg2) - return err -end - -function KSPGetComputeEigenvalues(arg1::KSP{Float64},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:KSPGetComputeEigenvalues,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{PetscBool}),arg1,arg2) - return err -end - -function KSPSetComputeSingularValues(arg1::KSP{Float64},arg2::PetscBool) - err = ccall((:KSPSetComputeSingularValues,petscRealDouble),PetscErrorCode,(KSP{Float64},PetscBool),arg1,arg2) - return err -end - -function KSPGetComputeSingularValues(arg1::KSP{Float64},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:KSPGetComputeSingularValues,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{PetscBool}),arg1,arg2) - return err -end - -function KSPGetRhs(arg1::KSP{Float64},arg2::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:KSPGetRhs,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{Vec{Float64}}),arg1,arg2) - return err -end - -function KSPGetSolution(arg1::KSP{Float64},arg2::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:KSPGetSolution,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{Vec{Float64}}),arg1,arg2) - return err -end - -function KSPGetResidualNorm(arg1::KSP{Float64},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:KSPGetResidualNorm,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{Float64}),arg1,arg2) - return err -end - -function KSPGetIterationNumber(arg1::KSP{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:KSPGetIterationNumber,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{Int64}),arg1,arg2) - return err -end - -function KSPGetTotalIterations(arg1::KSP{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:KSPGetTotalIterations,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{Int64}),arg1,arg2) - return err -end - -function KSPCreateVecs(arg1::KSP{Float64},arg2::Integer,arg3::Union{Ptr{Ptr{Vec{Float64}}},StridedArray{Ptr{Vec{Float64}}},Ptr{Ptr{Vec{Float64}}},Ref{Ptr{Vec{Float64}}}},arg4::Integer,arg5::Union{Ptr{Ptr{Vec{Float64}}},StridedArray{Ptr{Vec{Float64}}},Ptr{Ptr{Vec{Float64}}},Ref{Ptr{Vec{Float64}}}}) - err = ccall((:KSPCreateVecs,petscRealDouble),PetscErrorCode,(KSP{Float64},Int64,Ptr{Ptr{Vec{Float64}}},Int64,Ptr{Ptr{Vec{Float64}}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function KSPGetVecs(ksp::KSP{Float64},n::Integer,x::Union{Ptr{Ptr{Vec{Float64}}},StridedArray{Ptr{Vec{Float64}}},Ptr{Ptr{Vec{Float64}}},Ref{Ptr{Vec{Float64}}}},m::Integer,y::Union{Ptr{Ptr{Vec{Float64}}},StridedArray{Ptr{Vec{Float64}}},Ptr{Ptr{Vec{Float64}}},Ref{Ptr{Vec{Float64}}}}) - err = ccall((:KSPGetVecs,petscRealDouble),PetscErrorCode,(KSP{Float64},Int64,Ptr{Ptr{Vec{Float64}}},Int64,Ptr{Ptr{Vec{Float64}}}),ksp,n,x,m,y) - return err -end - -function KSPSetPreSolve(arg1::KSP{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPSetPreSolve,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function KSPSetPostSolve(arg1::KSP{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPSetPostSolve,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function KSPSetPC(arg1::KSP{Float64},arg2::PC{Float64}) - err = ccall((:KSPSetPC,petscRealDouble),PetscErrorCode,(KSP{Float64},PC{Float64}),arg1,arg2) - return err -end - -function KSPGetPC(arg1::KSP{Float64},arg2::Union{Ptr{PC{Float64}},StridedArray{PC{Float64}},Ptr{PC{Float64}},Ref{PC{Float64}}}) - err = ccall((:KSPGetPC,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{PC{Float64}}),arg1,arg2) - return err -end - -function KSPMonitor(arg1::KSP{Float64},arg2::Integer,arg3::Float64) - err = ccall((:KSPMonitor,petscRealDouble),PetscErrorCode,(KSP{Float64},Int64,Float64),arg1,arg2,arg3) - return err -end - -function KSPMonitorSet(arg1::KSP{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPMonitorSet,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPMonitorCancel(arg1::KSP{Float64}) - err = ccall((:KSPMonitorCancel,petscRealDouble),PetscErrorCode,(KSP{Float64},),arg1) - return err -end - -function KSPGetMonitorContext(arg1::KSP{Float64},arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:KSPGetMonitorContext,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{Ptr{Void}}),arg1,arg2) - return err -end - -function KSPGetResidualHistory(arg1::KSP{Float64},arg2::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:KSPGetResidualHistory,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{Ptr{Float64}},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function KSPSetResidualHistory(arg1::KSP{Float64},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Integer,arg4::PetscBool) - err = ccall((:KSPSetResidualHistory,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{Float64},Int64,PetscBool),arg1,arg2,arg3,arg4) - return err -end - -function KSPBuildSolutionDefault(arg1::KSP{Float64},arg2::Vec{Float64},arg3::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:KSPBuildSolutionDefault,petscRealDouble),PetscErrorCode,(KSP{Float64},Vec{Float64},Ptr{Vec{Float64}}),arg1,arg2,arg3) - return err -end - -function KSPBuildResidualDefault(arg1::KSP{Float64},arg2::Vec{Float64},arg3::Vec{Float64},arg4::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:KSPBuildResidualDefault,petscRealDouble),PetscErrorCode,(KSP{Float64},Vec{Float64},Vec{Float64},Ptr{Vec{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function KSPDestroyDefault(arg1::KSP{Float64}) - err = ccall((:KSPDestroyDefault,petscRealDouble),PetscErrorCode,(KSP{Float64},),arg1) - return err -end - -function KSPSetWorkVecs(arg1::KSP{Float64},arg2::Integer) - err = ccall((:KSPSetWorkVecs,petscRealDouble),PetscErrorCode,(KSP{Float64},Int64),arg1,arg2) - return err -end - -function PCKSPGetKSP(arg1::PC{Float64},arg2::Union{Ptr{KSP{Float64}},StridedArray{KSP{Float64}},Ptr{KSP{Float64}},Ref{KSP{Float64}}}) - err = ccall((:PCKSPGetKSP,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{KSP{Float64}}),arg1,arg2) - return err -end - -function PCBJacobiGetSubKSP(arg1::PC{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{KSP{Float64}}},StridedArray{Ptr{KSP{Float64}}},Ptr{Ptr{KSP{Float64}}},Ref{Ptr{KSP{Float64}}}}) - err = ccall((:PCBJacobiGetSubKSP,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Int64},Ptr{Int64},Ptr{Ptr{KSP{Float64}}}),arg1,arg2,arg3,arg4) - return err -end - -function PCASMGetSubKSP(arg1::PC{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{KSP{Float64}}},StridedArray{Ptr{KSP{Float64}}},Ptr{Ptr{KSP{Float64}}},Ref{Ptr{KSP{Float64}}}}) - err = ccall((:PCASMGetSubKSP,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Int64},Ptr{Int64},Ptr{Ptr{KSP{Float64}}}),arg1,arg2,arg3,arg4) - return err -end - -function PCGASMGetSubKSP(arg1::PC{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{KSP{Float64}}},StridedArray{Ptr{KSP{Float64}}},Ptr{Ptr{KSP{Float64}}},Ref{Ptr{KSP{Float64}}}}) - err = ccall((:PCGASMGetSubKSP,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Int64},Ptr{Int64},Ptr{Ptr{KSP{Float64}}}),arg1,arg2,arg3,arg4) - return err -end - -function PCFieldSplitGetSubKSP(arg1::PC{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{KSP{Float64}}},StridedArray{Ptr{KSP{Float64}}},Ptr{Ptr{KSP{Float64}}},Ref{Ptr{KSP{Float64}}}}) - err = ccall((:PCFieldSplitGetSubKSP,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Int64},Ptr{Ptr{KSP{Float64}}}),arg1,arg2,arg3) - return err -end - -function PCMGGetSmoother(arg1::PC{Float64},arg2::Integer,arg3::Union{Ptr{KSP{Float64}},StridedArray{KSP{Float64}},Ptr{KSP{Float64}},Ref{KSP{Float64}}}) - err = ccall((:PCMGGetSmoother,petscRealDouble),PetscErrorCode,(PC{Float64},Int64,Ptr{KSP{Float64}}),arg1,arg2,arg3) - return err -end - -function PCMGGetSmootherDown(arg1::PC{Float64},arg2::Integer,arg3::Union{Ptr{KSP{Float64}},StridedArray{KSP{Float64}},Ptr{KSP{Float64}},Ref{KSP{Float64}}}) - err = ccall((:PCMGGetSmootherDown,petscRealDouble),PetscErrorCode,(PC{Float64},Int64,Ptr{KSP{Float64}}),arg1,arg2,arg3) - return err -end - -function PCMGGetSmootherUp(arg1::PC{Float64},arg2::Integer,arg3::Union{Ptr{KSP{Float64}},StridedArray{KSP{Float64}},Ptr{KSP{Float64}},Ref{KSP{Float64}}}) - err = ccall((:PCMGGetSmootherUp,petscRealDouble),PetscErrorCode,(PC{Float64},Int64,Ptr{KSP{Float64}}),arg1,arg2,arg3) - return err -end - -function PCMGGetCoarseSolve(arg1::PC{Float64},arg2::Union{Ptr{KSP{Float64}},StridedArray{KSP{Float64}},Ptr{KSP{Float64}},Ref{KSP{Float64}}}) - err = ccall((:PCMGGetCoarseSolve,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{KSP{Float64}}),arg1,arg2) - return err -end - -function PCGalerkinGetKSP(arg1::PC{Float64},arg2::Union{Ptr{KSP{Float64}},StridedArray{KSP{Float64}},Ptr{KSP{Float64}},Ref{KSP{Float64}}}) - err = ccall((:PCGalerkinGetKSP,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{KSP{Float64}}),arg1,arg2) - return err -end - -function KSPBuildSolution(arg1::KSP{Float64},arg2::Vec{Float64},arg3::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:KSPBuildSolution,petscRealDouble),PetscErrorCode,(KSP{Float64},Vec{Float64},Ptr{Vec{Float64}}),arg1,arg2,arg3) - return err -end - -function KSPBuildResidual(arg1::KSP{Float64},arg2::Vec{Float64},arg3::Vec{Float64},arg4::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:KSPBuildResidual,petscRealDouble),PetscErrorCode,(KSP{Float64},Vec{Float64},Vec{Float64},Ptr{Vec{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function KSPRichardsonSetScale(arg1::KSP{Float64},arg2::Float64) - err = ccall((:KSPRichardsonSetScale,petscRealDouble),PetscErrorCode,(KSP{Float64},Float64),arg1,arg2) - return err -end - -function KSPRichardsonSetSelfScale(arg1::KSP{Float64},arg2::PetscBool) - err = ccall((:KSPRichardsonSetSelfScale,petscRealDouble),PetscErrorCode,(KSP{Float64},PetscBool),arg1,arg2) - return err -end - -function KSPChebyshevSetEigenvalues(arg1::KSP{Float64},arg2::Float64,arg3::Float64) - err = ccall((:KSPChebyshevSetEigenvalues,petscRealDouble),PetscErrorCode,(KSP{Float64},Float64,Float64),arg1,arg2,arg3) - return err -end - -function KSPChebyshevEstEigSet(arg1::KSP{Float64},arg2::Float64,arg3::Float64,arg4::Float64,arg5::Float64) - err = ccall((:KSPChebyshevEstEigSet,petscRealDouble),PetscErrorCode,(KSP{Float64},Float64,Float64,Float64,Float64),arg1,arg2,arg3,arg4,arg5) - return err -end - -function KSPChebyshevEstEigSetRandom(arg1::KSP{Float64},arg2::PetscRandom) - err = ccall((:KSPChebyshevEstEigSetRandom,petscRealDouble),PetscErrorCode,(KSP{Float64},PetscRandom),arg1,arg2) - return err -end - -function KSPChebyshevEstEigGetKSP(arg1::KSP{Float64},arg2::Union{Ptr{KSP{Float64}},StridedArray{KSP{Float64}},Ptr{KSP{Float64}},Ref{KSP{Float64}}}) - err = ccall((:KSPChebyshevEstEigGetKSP,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{KSP{Float64}}),arg1,arg2) - return err -end - -function KSPComputeExtremeSingularValues(arg1::KSP{Float64},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:KSPComputeExtremeSingularValues,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function KSPComputeEigenvalues(arg1::KSP{Float64},arg2::Integer,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:KSPComputeEigenvalues,petscRealDouble),PetscErrorCode,(KSP{Float64},Int64,Ptr{Float64},Ptr{Float64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function KSPComputeEigenvaluesExplicitly(arg1::KSP{Float64},arg2::Integer,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:KSPComputeEigenvaluesExplicitly,petscRealDouble),PetscErrorCode,(KSP{Float64},Int64,Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function KSPFCGSetMmax(arg1::KSP{Float64},arg2::Integer) - err = ccall((:KSPFCGSetMmax,petscRealDouble),PetscErrorCode,(KSP{Float64},Int64),arg1,arg2) - return err -end - -function KSPFCGGetMmax(arg1::KSP{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:KSPFCGGetMmax,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{Int64}),arg1,arg2) - return err -end - -function KSPFCGSetNprealloc(arg1::KSP{Float64},arg2::Integer) - err = ccall((:KSPFCGSetNprealloc,petscRealDouble),PetscErrorCode,(KSP{Float64},Int64),arg1,arg2) - return err -end - -function KSPFCGGetNprealloc(arg1::KSP{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:KSPFCGGetNprealloc,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{Int64}),arg1,arg2) - return err -end - -function KSPFCGSetTruncationType(arg1::KSP{Float64},arg2::KSPFCGTruncationType) - err = ccall((:KSPFCGSetTruncationType,petscRealDouble),PetscErrorCode,(KSP{Float64},KSPFCGTruncationType),arg1,arg2) - return err -end - -function KSPFCGGetTruncationType(arg1::KSP{Float64},arg2::Union{Ptr{KSPFCGTruncationType},StridedArray{KSPFCGTruncationType},Ptr{KSPFCGTruncationType},Ref{KSPFCGTruncationType}}) - err = ccall((:KSPFCGGetTruncationType,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{KSPFCGTruncationType}),arg1,arg2) - return err -end - -function KSPGMRESSetRestart(arg1::KSP{Float64},arg2::Integer) - err = ccall((:KSPGMRESSetRestart,petscRealDouble),PetscErrorCode,(KSP{Float64},Int64),arg1,arg2) - return err -end - -function KSPGMRESGetRestart(arg1::KSP{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:KSPGMRESGetRestart,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{Int64}),arg1,arg2) - return err -end - -function KSPGMRESSetHapTol(arg1::KSP{Float64},arg2::Float64) - err = ccall((:KSPGMRESSetHapTol,petscRealDouble),PetscErrorCode,(KSP{Float64},Float64),arg1,arg2) - return err -end - -function KSPGMRESSetPreAllocateVectors(arg1::KSP{Float64}) - err = ccall((:KSPGMRESSetPreAllocateVectors,petscRealDouble),PetscErrorCode,(KSP{Float64},),arg1) - return err -end - -function KSPGMRESSetOrthogonalization(arg1::KSP{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPGMRESSetOrthogonalization,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{Void}),arg1,arg2) - return err -end - -function KSPGMRESGetOrthogonalization(arg1::KSP{Float64},arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:KSPGMRESGetOrthogonalization,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{Ptr{Void}}),arg1,arg2) - return err -end - -function KSPGMRESModifiedGramSchmidtOrthogonalization(arg1::KSP{Float64},arg2::Integer) - err = ccall((:KSPGMRESModifiedGramSchmidtOrthogonalization,petscRealDouble),PetscErrorCode,(KSP{Float64},Int64),arg1,arg2) - return err -end - -function KSPGMRESClassicalGramSchmidtOrthogonalization(arg1::KSP{Float64},arg2::Integer) - err = ccall((:KSPGMRESClassicalGramSchmidtOrthogonalization,petscRealDouble),PetscErrorCode,(KSP{Float64},Int64),arg1,arg2) - return err -end - -function KSPLGMRESSetAugDim(arg1::KSP{Float64},arg2::Integer) - err = ccall((:KSPLGMRESSetAugDim,petscRealDouble),PetscErrorCode,(KSP{Float64},Int64),arg1,arg2) - return err -end - -function KSPLGMRESSetConstant(arg1::KSP{Float64}) - err = ccall((:KSPLGMRESSetConstant,petscRealDouble),PetscErrorCode,(KSP{Float64},),arg1) - return err -end - -function KSPGCRSetRestart(arg1::KSP{Float64},arg2::Integer) - err = ccall((:KSPGCRSetRestart,petscRealDouble),PetscErrorCode,(KSP{Float64},Int64),arg1,arg2) - return err -end - -function KSPGCRGetRestart(arg1::KSP{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:KSPGCRGetRestart,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{Int64}),arg1,arg2) - return err -end - -function KSPGCRSetModifyPC(arg1::KSP{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPGCRSetModifyPC,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPGMRESSetCGSRefinementType(arg1::KSP{Float64},arg2::KSPGMRESCGSRefinementType) - err = ccall((:KSPGMRESSetCGSRefinementType,petscRealDouble),PetscErrorCode,(KSP{Float64},KSPGMRESCGSRefinementType),arg1,arg2) - return err -end - -function KSPGMRESGetCGSRefinementType(arg1::KSP{Float64},arg2::Union{Ptr{KSPGMRESCGSRefinementType},StridedArray{KSPGMRESCGSRefinementType},Ptr{KSPGMRESCGSRefinementType},Ref{KSPGMRESCGSRefinementType}}) - err = ccall((:KSPGMRESGetCGSRefinementType,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{KSPGMRESCGSRefinementType}),arg1,arg2) - return err -end - -function KSPFGMRESModifyPCNoChange(arg1::KSP{Float64},arg2::Integer,arg3::Integer,arg4::Float64,arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPFGMRESModifyPCNoChange,petscRealDouble),PetscErrorCode,(KSP{Float64},Int64,Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function KSPFGMRESModifyPCKSP(arg1::KSP{Float64},arg2::Integer,arg3::Integer,arg4::Float64,arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPFGMRESModifyPCKSP,petscRealDouble),PetscErrorCode,(KSP{Float64},Int64,Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function KSPFGMRESSetModifyPC(arg1::KSP{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPFGMRESSetModifyPC,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPQCGSetTrustRegionRadius(arg1::KSP{Float64},arg2::Float64) - err = ccall((:KSPQCGSetTrustRegionRadius,petscRealDouble),PetscErrorCode,(KSP{Float64},Float64),arg1,arg2) - return err -end - -function KSPQCGGetQuadratic(arg1::KSP{Float64},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:KSPQCGGetQuadratic,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{Float64}),arg1,arg2) - return err -end - -function KSPQCGGetTrialStepNorm(arg1::KSP{Float64},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:KSPQCGGetTrialStepNorm,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{Float64}),arg1,arg2) - return err -end - -function KSPBCGSLSetXRes(arg1::KSP{Float64},arg2::Float64) - err = ccall((:KSPBCGSLSetXRes,petscRealDouble),PetscErrorCode,(KSP{Float64},Float64),arg1,arg2) - return err -end - -function KSPBCGSLSetPol(arg1::KSP{Float64},arg2::PetscBool) - err = ccall((:KSPBCGSLSetPol,petscRealDouble),PetscErrorCode,(KSP{Float64},PetscBool),arg1,arg2) - return err -end - -function KSPBCGSLSetEll(arg1::KSP{Float64},arg2::Integer) - err = ccall((:KSPBCGSLSetEll,petscRealDouble),PetscErrorCode,(KSP{Float64},Int64),arg1,arg2) - return err -end - -function KSPBCGSLSetUsePseudoinverse(arg1::KSP{Float64},arg2::PetscBool) - err = ccall((:KSPBCGSLSetUsePseudoinverse,petscRealDouble),PetscErrorCode,(KSP{Float64},PetscBool),arg1,arg2) - return err -end - -function KSPSetFromOptions(arg1::KSP{Float64}) - err = ccall((:KSPSetFromOptions,petscRealDouble),PetscErrorCode,(KSP{Float64},),arg1) - return err -end - -function KSPAddOptionsChecker(arg0::Type{Float64},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPAddOptionsChecker,petscRealDouble),PetscErrorCode,(Ptr{Void},),arg1) - return err -end - -function KSPMonitorSingularValue(arg1::KSP{Float64},arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPMonitorSingularValue,petscRealDouble),PetscErrorCode,(KSP{Float64},Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPMonitorDefault(arg1::KSP{Float64},arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPMonitorDefault,petscRealDouble),PetscErrorCode,(KSP{Float64},Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPLSQRMonitorDefault(arg1::KSP{Float64},arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPLSQRMonitorDefault,petscRealDouble),PetscErrorCode,(KSP{Float64},Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPMonitorRange(arg1::KSP{Float64},arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPMonitorRange,petscRealDouble),PetscErrorCode,(KSP{Float64},Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPMonitorDynamicTolerance(ksp::KSP{Float64},its::Integer,fnorm::Float64,dummy::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPMonitorDynamicTolerance,petscRealDouble),PetscErrorCode,(KSP{Float64},Int64,Float64,Ptr{Void}),ksp,its,fnorm,dummy) - return err -end - -function KSPMonitorDynamicToleranceDestroy(arg0::Type{Float64},dummy::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:KSPMonitorDynamicToleranceDestroy,petscRealDouble),PetscErrorCode,(Ptr{Ptr{Void}},),dummy) - return err -end - -function KSPMonitorTrueResidualNorm(arg1::KSP{Float64},arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPMonitorTrueResidualNorm,petscRealDouble),PetscErrorCode,(KSP{Float64},Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPMonitorTrueResidualMaxNorm(arg1::KSP{Float64},arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPMonitorTrueResidualMaxNorm,petscRealDouble),PetscErrorCode,(KSP{Float64},Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPMonitorDefaultShort(arg1::KSP{Float64},arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPMonitorDefaultShort,petscRealDouble),PetscErrorCode,(KSP{Float64},Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPMonitorSolution(arg1::KSP{Float64},arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPMonitorSolution,petscRealDouble),PetscErrorCode,(KSP{Float64},Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPMonitorSAWs(arg1::KSP{Float64},arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPMonitorSAWs,petscRealDouble),PetscErrorCode,(KSP{Float64},Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPMonitorSAWsCreate(arg1::KSP{Float64},arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:KSPMonitorSAWsCreate,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{Ptr{Void}}),arg1,arg2) - return err -end - -function KSPMonitorSAWsDestroy(arg0::Type{Float64},arg1::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:KSPMonitorSAWsDestroy,petscRealDouble),PetscErrorCode,(Ptr{Ptr{Void}},),arg1) - return err -end - -function KSPGMRESMonitorKrylov(arg1::KSP{Float64},arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPGMRESMonitorKrylov,petscRealDouble),PetscErrorCode,(KSP{Float64},Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPUnwindPreconditioner(arg1::KSP{Float64},arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:KSPUnwindPreconditioner,petscRealDouble),PetscErrorCode,(KSP{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function KSPInitialResidual(arg1::KSP{Float64},arg2::Vec{Float64},arg3::Vec{Float64},arg4::Vec{Float64},arg5::Vec{Float64},arg6::Vec{Float64}) - err = ccall((:KSPInitialResidual,petscRealDouble),PetscErrorCode,(KSP{Float64},Vec{Float64},Vec{Float64},Vec{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function KSPSetOperators(arg1::KSP{Float64},arg2::Mat{Float64},arg3::Mat{Float64}) - err = ccall((:KSPSetOperators,petscRealDouble),PetscErrorCode,(KSP{Float64},Mat{Float64},Mat{Float64}),arg1,arg2,arg3) - return err -end - -function KSPGetOperators(arg1::KSP{Float64},arg2::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}},arg3::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:KSPGetOperators,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{Mat{Float64}},Ptr{Mat{Float64}}),arg1,arg2,arg3) - return err -end - -function KSPGetOperatorsSet(arg1::KSP{Float64},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:KSPGetOperatorsSet,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{PetscBool},Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function KSPSetOptionsPrefix(arg1::KSP{Float64},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:KSPSetOptionsPrefix,petscRealDouble),PetscErrorCode,(KSP{Float64},Cstring),arg1,arg2) - return err -end - -function KSPAppendOptionsPrefix(arg1::KSP{Float64},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:KSPAppendOptionsPrefix,petscRealDouble),PetscErrorCode,(KSP{Float64},Cstring),arg1,arg2) - return err -end - -function KSPGetOptionsPrefix(arg1::KSP{Float64},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:KSPGetOptionsPrefix,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function KSPSetTabLevel(arg1::KSP{Float64},arg2::Integer) - err = ccall((:KSPSetTabLevel,petscRealDouble),PetscErrorCode,(KSP{Float64},Int64),arg1,arg2) - return err -end - -function KSPGetTabLevel(arg1::KSP{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:KSPGetTabLevel,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{Int64}),arg1,arg2) - return err -end - -function KSPSetDiagonalScale(arg1::KSP{Float64},arg2::PetscBool) - err = ccall((:KSPSetDiagonalScale,petscRealDouble),PetscErrorCode,(KSP{Float64},PetscBool),arg1,arg2) - return err -end - -function KSPGetDiagonalScale(arg1::KSP{Float64},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:KSPGetDiagonalScale,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{PetscBool}),arg1,arg2) - return err -end - -function KSPSetDiagonalScaleFix(arg1::KSP{Float64},arg2::PetscBool) - err = ccall((:KSPSetDiagonalScaleFix,petscRealDouble),PetscErrorCode,(KSP{Float64},PetscBool),arg1,arg2) - return err -end - -function KSPGetDiagonalScaleFix(arg1::KSP{Float64},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:KSPGetDiagonalScaleFix,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{PetscBool}),arg1,arg2) - return err -end - -function KSPView(arg1::KSP{Float64},arg2::PetscViewer{Float64}) - err = ccall((:KSPView,petscRealDouble),PetscErrorCode,(KSP{Float64},PetscViewer{Float64}),arg1,arg2) - return err -end - -function KSPLoad(arg1::KSP{Float64},arg2::PetscViewer{Float64}) - err = ccall((:KSPLoad,petscRealDouble),PetscErrorCode,(KSP{Float64},PetscViewer{Float64}),arg1,arg2) - return err -end - -function KSPViewFromOptions(A::KSP{Float64},obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:KSPViewFromOptions,petscRealDouble),PetscErrorCode,(KSP{Float64},PetscObject,Cstring),A,obj,name) - return err -end - -function KSPReasonView(arg1::KSP{Float64},arg2::PetscViewer{Float64}) - err = ccall((:KSPReasonView,petscRealDouble),PetscErrorCode,(KSP{Float64},PetscViewer{Float64}),arg1,arg2) - return err -end - -function KSPReasonViewFromOptions(arg1::KSP{Float64}) - err = ccall((:KSPReasonViewFromOptions,petscRealDouble),PetscErrorCode,(KSP{Float64},),arg1) - return err -end - -function KSPLSQRSetStandardErrorVec(arg1::KSP{Float64},arg2::Vec{Float64}) - err = ccall((:KSPLSQRSetStandardErrorVec,petscRealDouble),PetscErrorCode,(KSP{Float64},Vec{Float64}),arg1,arg2) - return err -end - -function KSPLSQRGetStandardErrorVec(arg1::KSP{Float64},arg2::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:KSPLSQRGetStandardErrorVec,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{Vec{Float64}}),arg1,arg2) - return err -end - -function PCRedundantGetKSP(arg1::PC{Float64},arg2::Union{Ptr{KSP{Float64}},StridedArray{KSP{Float64}},Ptr{KSP{Float64}},Ref{KSP{Float64}}}) - err = ccall((:PCRedundantGetKSP,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{KSP{Float64}}),arg1,arg2) - return err -end - -function PCRedistributeGetKSP(arg1::PC{Float64},arg2::Union{Ptr{KSP{Float64}},StridedArray{KSP{Float64}},Ptr{KSP{Float64}},Ref{KSP{Float64}}}) - err = ccall((:PCRedistributeGetKSP,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{KSP{Float64}}),arg1,arg2) - return err -end - -function KSPSetNormType(arg1::KSP{Float64},arg2::KSPNormType) - err = ccall((:KSPSetNormType,petscRealDouble),PetscErrorCode,(KSP{Float64},KSPNormType),arg1,arg2) - return err -end - -function KSPGetNormType(arg1::KSP{Float64},arg2::Union{Ptr{KSPNormType},StridedArray{KSPNormType},Ptr{KSPNormType},Ref{KSPNormType}}) - err = ccall((:KSPGetNormType,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{KSPNormType}),arg1,arg2) - return err -end - -function KSPSetSupportedNorm(ksp::KSP{Float64},arg1::KSPNormType,arg2::PCSide,arg3::Integer) - err = ccall((:KSPSetSupportedNorm,petscRealDouble),PetscErrorCode,(KSP{Float64},KSPNormType,PCSide,Int64),ksp,arg1,arg2,arg3) - return err -end - -function KSPSetCheckNormIteration(arg1::KSP{Float64},arg2::Integer) - err = ccall((:KSPSetCheckNormIteration,petscRealDouble),PetscErrorCode,(KSP{Float64},Int64),arg1,arg2) - return err -end - -function KSPSetLagNorm(arg1::KSP{Float64},arg2::PetscBool) - err = ccall((:KSPSetLagNorm,petscRealDouble),PetscErrorCode,(KSP{Float64},PetscBool),arg1,arg2) - return err -end - -function KSPSetConvergenceTest(arg1::KSP{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPSetConvergenceTest,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPGetConvergenceContext(arg1::KSP{Float64},arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:KSPGetConvergenceContext,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{Ptr{Void}}),arg1,arg2) - return err -end - -function KSPConvergedDefault(arg1::KSP{Float64},arg2::Integer,arg3::Float64,arg4::Union{Ptr{KSPConvergedReason},StridedArray{KSPConvergedReason},Ptr{KSPConvergedReason},Ref{KSPConvergedReason}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPConvergedDefault,petscRealDouble),PetscErrorCode,(KSP{Float64},Int64,Float64,Ptr{KSPConvergedReason},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function KSPConvergedLSQR(arg1::KSP{Float64},arg2::Integer,arg3::Float64,arg4::Union{Ptr{KSPConvergedReason},StridedArray{KSPConvergedReason},Ptr{KSPConvergedReason},Ref{KSPConvergedReason}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPConvergedLSQR,petscRealDouble),PetscErrorCode,(KSP{Float64},Int64,Float64,Ptr{KSPConvergedReason},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function KSPConvergedDefaultDestroy(arg0::Type{Float64},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPConvergedDefaultDestroy,petscRealDouble),PetscErrorCode,(Ptr{Void},),arg1) - return err -end - -function KSPConvergedDefaultCreate(arg0::Type{Float64},arg1::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:KSPConvergedDefaultCreate,petscRealDouble),PetscErrorCode,(Ptr{Ptr{Void}},),arg1) - return err -end - -function KSPConvergedDefaultSetUIRNorm(arg1::KSP{Float64}) - err = ccall((:KSPConvergedDefaultSetUIRNorm,petscRealDouble),PetscErrorCode,(KSP{Float64},),arg1) - return err -end - -function KSPConvergedDefaultSetUMIRNorm(arg1::KSP{Float64}) - err = ccall((:KSPConvergedDefaultSetUMIRNorm,petscRealDouble),PetscErrorCode,(KSP{Float64},),arg1) - return err -end - -function KSPConvergedSkip(arg1::KSP{Float64},arg2::Integer,arg3::Float64,arg4::Union{Ptr{KSPConvergedReason},StridedArray{KSPConvergedReason},Ptr{KSPConvergedReason},Ref{KSPConvergedReason}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPConvergedSkip,petscRealDouble),PetscErrorCode,(KSP{Float64},Int64,Float64,Ptr{KSPConvergedReason},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function KSPGetConvergedReason(arg1::KSP{Float64},arg2::Union{Ptr{KSPConvergedReason},StridedArray{KSPConvergedReason},Ptr{KSPConvergedReason},Ref{KSPConvergedReason}}) - err = ccall((:KSPGetConvergedReason,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{KSPConvergedReason}),arg1,arg2) - return err -end - -function KSPDefaultConverged(arg0::Type{Float64}) - err = ccall((:KSPDefaultConverged,petscRealDouble),Void,()) - return err -end - -function KSPDefaultConvergedDestroy(arg0::Type{Float64}) - err = ccall((:KSPDefaultConvergedDestroy,petscRealDouble),Void,()) - return err -end - -function KSPDefaultConvergedCreate(arg0::Type{Float64}) - err = ccall((:KSPDefaultConvergedCreate,petscRealDouble),Void,()) - return err -end - -function KSPDefaultConvergedSetUIRNorm(arg0::Type{Float64}) - err = ccall((:KSPDefaultConvergedSetUIRNorm,petscRealDouble),Void,()) - return err -end - -function KSPDefaultConvergedSetUMIRNorm(arg0::Type{Float64}) - err = ccall((:KSPDefaultConvergedSetUMIRNorm,petscRealDouble),Void,()) - return err -end - -function KSPSkipConverged(arg0::Type{Float64}) - err = ccall((:KSPSkipConverged,petscRealDouble),Void,()) - return err -end - -function KSPComputeExplicitOperator(arg1::KSP{Float64},arg2::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:KSPComputeExplicitOperator,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{Mat{Float64}}),arg1,arg2) - return err -end - -function KSPCGSetType(arg1::KSP{Float64},arg2::KSPCGType) - err = ccall((:KSPCGSetType,petscRealDouble),PetscErrorCode,(KSP{Float64},KSPCGType),arg1,arg2) - return err -end - -function KSPCGUseSingleReduction(arg1::KSP{Float64},arg2::PetscBool) - err = ccall((:KSPCGUseSingleReduction,petscRealDouble),PetscErrorCode,(KSP{Float64},PetscBool),arg1,arg2) - return err -end - -function KSPNASHSetRadius(arg1::KSP{Float64},arg2::Float64) - err = ccall((:KSPNASHSetRadius,petscRealDouble),PetscErrorCode,(KSP{Float64},Float64),arg1,arg2) - return err -end - -function KSPNASHGetNormD(arg1::KSP{Float64},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:KSPNASHGetNormD,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{Float64}),arg1,arg2) - return err -end - -function KSPNASHGetObjFcn(arg1::KSP{Float64},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:KSPNASHGetObjFcn,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{Float64}),arg1,arg2) - return err -end - -function KSPSTCGSetRadius(arg1::KSP{Float64},arg2::Float64) - err = ccall((:KSPSTCGSetRadius,petscRealDouble),PetscErrorCode,(KSP{Float64},Float64),arg1,arg2) - return err -end - -function KSPSTCGGetNormD(arg1::KSP{Float64},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:KSPSTCGGetNormD,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{Float64}),arg1,arg2) - return err -end - -function KSPSTCGGetObjFcn(arg1::KSP{Float64},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:KSPSTCGGetObjFcn,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{Float64}),arg1,arg2) - return err -end - -function KSPGLTRSetRadius(arg1::KSP{Float64},arg2::Float64) - err = ccall((:KSPGLTRSetRadius,petscRealDouble),PetscErrorCode,(KSP{Float64},Float64),arg1,arg2) - return err -end - -function KSPGLTRGetNormD(arg1::KSP{Float64},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:KSPGLTRGetNormD,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{Float64}),arg1,arg2) - return err -end - -function KSPGLTRGetObjFcn(arg1::KSP{Float64},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:KSPGLTRGetObjFcn,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{Float64}),arg1,arg2) - return err -end - -function KSPGLTRGetMinEig(arg1::KSP{Float64},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:KSPGLTRGetMinEig,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{Float64}),arg1,arg2) - return err -end - -function KSPGLTRGetLambda(arg1::KSP{Float64},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:KSPGLTRGetLambda,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{Float64}),arg1,arg2) - return err -end - -function KSPPythonSetType(arg1::KSP{Float64},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:KSPPythonSetType,petscRealDouble),PetscErrorCode,(KSP{Float64},Cstring),arg1,arg2) - return err -end - -function PCPreSolve(arg1::PC{Float64},arg2::KSP{Float64}) - err = ccall((:PCPreSolve,petscRealDouble),PetscErrorCode,(PC{Float64},KSP{Float64}),arg1,arg2) - return err -end - -function PCPostSolve(arg1::PC{Float64},arg2::KSP{Float64}) - err = ccall((:PCPostSolve,petscRealDouble),PetscErrorCode,(PC{Float64},KSP{Float64}),arg1,arg2) - return err -end - -function KSPMonitorLGResidualNormCreate(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Union{Ptr{Ptr{PetscObject}},StridedArray{Ptr{PetscObject}},Ptr{Ptr{PetscObject}},Ref{Ptr{PetscObject}}}) - err = ccall((:KSPMonitorLGResidualNormCreate,petscRealDouble),PetscErrorCode,(Cstring,Cstring,Cint,Cint,Cint,Cint,Ptr{Ptr{PetscObject}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function KSPMonitorLGResidualNorm(arg1::KSP{Float64},arg2::Integer,arg3::Float64,arg4::Union{Ptr{PetscObject},StridedArray{PetscObject},Ptr{PetscObject},Ref{PetscObject}}) - err = ccall((:KSPMonitorLGResidualNorm,petscRealDouble),PetscErrorCode,(KSP{Float64},Int64,Float64,Ptr{PetscObject}),arg1,arg2,arg3,arg4) - return err -end - -function KSPMonitorLGResidualNormDestroy(arg0::Type{Float64},arg1::Union{Ptr{Ptr{PetscObject}},StridedArray{Ptr{PetscObject}},Ptr{Ptr{PetscObject}},Ref{Ptr{PetscObject}}}) - err = ccall((:KSPMonitorLGResidualNormDestroy,petscRealDouble),PetscErrorCode,(Ptr{Ptr{PetscObject}},),arg1) - return err -end - -function KSPMonitorLGTrueResidualNormCreate(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Union{Ptr{Ptr{PetscObject}},StridedArray{Ptr{PetscObject}},Ptr{Ptr{PetscObject}},Ref{Ptr{PetscObject}}}) - err = ccall((:KSPMonitorLGTrueResidualNormCreate,petscRealDouble),PetscErrorCode,(Cstring,Cstring,Cint,Cint,Cint,Cint,Ptr{Ptr{PetscObject}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function KSPMonitorLGTrueResidualNorm(arg1::KSP{Float64},arg2::Integer,arg3::Float64,arg4::Union{Ptr{PetscObject},StridedArray{PetscObject},Ptr{PetscObject},Ref{PetscObject}}) - err = ccall((:KSPMonitorLGTrueResidualNorm,petscRealDouble),PetscErrorCode,(KSP{Float64},Int64,Float64,Ptr{PetscObject}),arg1,arg2,arg3,arg4) - return err -end - -function KSPMonitorLGTrueResidualNormDestroy(arg0::Type{Float64},arg1::Union{Ptr{Ptr{PetscObject}},StridedArray{Ptr{PetscObject}},Ptr{Ptr{PetscObject}},Ref{Ptr{PetscObject}}}) - err = ccall((:KSPMonitorLGTrueResidualNormDestroy,petscRealDouble),PetscErrorCode,(Ptr{Ptr{PetscObject}},),arg1) - return err -end - -function KSPMonitorLGRange(arg1::KSP{Float64},arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPMonitorLGRange,petscRealDouble),PetscErrorCode,(KSP{Float64},Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function PCShellSetPreSolve(arg1::PC{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCShellSetPreSolve,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Void}),arg1,arg2) - return err -end - -function PCShellSetPostSolve(arg1::PC{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCShellSetPostSolve,petscRealDouble),PetscErrorCode,(PC{Float64},Ptr{Void}),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function KSPFischerGuessCreate(arg1::KSP{Float64},arg2::Integer,arg3::Integer,arg4::Union{Ptr{KSPFischerGuess},StridedArray{KSPFischerGuess},Ptr{KSPFischerGuess},Ref{KSPFischerGuess}}) - ccall((:KSPFischerGuessCreate,petscRealDouble),PetscErrorCode,(KSP{Float64},Int64,Int64,Ptr{KSPFischerGuess}),arg1,arg2,arg3,arg4) -end -=# -#= skipping function with undefined symbols: - function KSPFischerGuessDestroy(arg0::Type{Float64},arg1::Union{Ptr{KSPFischerGuess},StridedArray{KSPFischerGuess},Ptr{KSPFischerGuess},Ref{KSPFischerGuess}}) - ccall((:KSPFischerGuessDestroy,petscRealDouble),PetscErrorCode,(Ptr{KSPFischerGuess},),arg1) -end -=# -#= skipping function with undefined symbols: - function KSPFischerGuessReset(arg0::Type{Float64},arg1::KSPFischerGuess) - ccall((:KSPFischerGuessReset,petscRealDouble),PetscErrorCode,(KSPFischerGuess,),arg1) -end -=# -#= skipping function with undefined symbols: - function KSPFischerGuessUpdate(arg1::KSPFischerGuess,arg2::Vec{Float64}) - ccall((:KSPFischerGuessUpdate,petscRealDouble),PetscErrorCode,(KSPFischerGuess,Vec{Float64}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function KSPFischerGuessFormGuess(arg1::KSPFischerGuess,arg2::Vec{Float64},arg3::Vec{Float64}) - ccall((:KSPFischerGuessFormGuess,petscRealDouble),PetscErrorCode,(KSPFischerGuess,Vec{Float64},Vec{Float64}),arg1,arg2,arg3) -end -=# -#= skipping function with undefined symbols: - function KSPFischerGuessSetFromOptions(arg0::Type{Float64},arg1::KSPFischerGuess) - ccall((:KSPFischerGuessSetFromOptions,petscRealDouble),PetscErrorCode,(KSPFischerGuess,),arg1) -end -=# -function KSPSetUseFischerGuess(arg1::KSP{Float64},arg2::Integer,arg3::Integer) - err = ccall((:KSPSetUseFischerGuess,petscRealDouble),PetscErrorCode,(KSP{Float64},Int64,Int64),arg1,arg2,arg3) - return err -end - -#= skipping function with undefined symbols: - function KSPSetFischerGuess(arg1::KSP{Float64},arg2::KSPFischerGuess) - ccall((:KSPSetFischerGuess,petscRealDouble),PetscErrorCode,(KSP{Float64},KSPFischerGuess),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function KSPGetFischerGuess(arg1::KSP{Float64},arg2::Union{Ptr{KSPFischerGuess},StridedArray{KSPFischerGuess},Ptr{KSPFischerGuess},Ref{KSPFischerGuess}}) - ccall((:KSPGetFischerGuess,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{KSPFischerGuess}),arg1,arg2) -end -=# -function MatCreateSchurComplement(arg1::Mat{Float64},arg2::Mat{Float64},arg3::Mat{Float64},arg4::Mat{Float64},arg5::Mat{Float64},arg6::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateSchurComplement,petscRealDouble),PetscErrorCode,(Mat{Float64},Mat{Float64},Mat{Float64},Mat{Float64},Mat{Float64},Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatSchurComplementGetKSP(arg1::Mat{Float64},arg2::Union{Ptr{KSP{Float64}},StridedArray{KSP{Float64}},Ptr{KSP{Float64}},Ref{KSP{Float64}}}) - err = ccall((:MatSchurComplementGetKSP,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{KSP{Float64}}),arg1,arg2) - return err -end - -function MatSchurComplementSetKSP(arg1::Mat{Float64},arg2::KSP{Float64}) - err = ccall((:MatSchurComplementSetKSP,petscRealDouble),PetscErrorCode,(Mat{Float64},KSP{Float64}),arg1,arg2) - return err -end - -function MatSchurComplementSetSubMatrices(arg1::Mat{Float64},arg2::Mat{Float64},arg3::Mat{Float64},arg4::Mat{Float64},arg5::Mat{Float64},arg6::Mat{Float64}) - err = ccall((:MatSchurComplementSetSubMatrices,petscRealDouble),PetscErrorCode,(Mat{Float64},Mat{Float64},Mat{Float64},Mat{Float64},Mat{Float64},Mat{Float64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatSchurComplementUpdateSubMatrices(arg1::Mat{Float64},arg2::Mat{Float64},arg3::Mat{Float64},arg4::Mat{Float64},arg5::Mat{Float64},arg6::Mat{Float64}) - err = ccall((:MatSchurComplementUpdateSubMatrices,petscRealDouble),PetscErrorCode,(Mat{Float64},Mat{Float64},Mat{Float64},Mat{Float64},Mat{Float64},Mat{Float64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatSchurComplementGetSubMatrices(arg1::Mat{Float64},arg2::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}},arg3::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}},arg4::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}},arg5::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}},arg6::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatSchurComplementGetSubMatrices,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Mat{Float64}},Ptr{Mat{Float64}},Ptr{Mat{Float64}},Ptr{Mat{Float64}},Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatSchurComplementSetAinvType(arg1::Mat{Float64},arg2::MatSchurComplementAinvType) - err = ccall((:MatSchurComplementSetAinvType,petscRealDouble),PetscErrorCode,(Mat{Float64},MatSchurComplementAinvType),arg1,arg2) - return err -end - -function MatSchurComplementGetAinvType(arg1::Mat{Float64},arg2::Union{Ptr{MatSchurComplementAinvType},StridedArray{MatSchurComplementAinvType},Ptr{MatSchurComplementAinvType},Ref{MatSchurComplementAinvType}}) - err = ccall((:MatSchurComplementGetAinvType,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{MatSchurComplementAinvType}),arg1,arg2) - return err -end - -function MatSchurComplementGetPmat(arg1::Mat{Float64},arg2::MatReuse,arg3::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatSchurComplementGetPmat,petscRealDouble),PetscErrorCode,(Mat{Float64},MatReuse,Ptr{Mat{Float64}}),arg1,arg2,arg3) - return err -end - -function MatSchurComplementComputeExplicitOperator(arg1::Mat{Float64},arg2::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatSchurComplementComputeExplicitOperator,petscRealDouble),PetscErrorCode,(Mat{Float64},Ptr{Mat{Float64}}),arg1,arg2) - return err -end - -function MatGetSchurComplement(arg1::Mat{Float64},arg2::IS{Float64},arg3::IS{Float64},arg4::IS{Float64},arg5::IS{Float64},arg6::MatReuse,arg7::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}},arg8::MatSchurComplementAinvType,arg9::MatReuse,arg10::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatGetSchurComplement,petscRealDouble),PetscErrorCode,(Mat{Float64},IS{Float64},IS{Float64},IS{Float64},IS{Float64},MatReuse,Ptr{Mat{Float64}},MatSchurComplementAinvType,MatReuse,Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -function MatCreateSchurComplementPmat(arg1::Mat{Float64},arg2::Mat{Float64},arg3::Mat{Float64},arg4::Mat{Float64},arg5::MatSchurComplementAinvType,arg6::MatReuse,arg7::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateSchurComplementPmat,petscRealDouble),PetscErrorCode,(Mat{Float64},Mat{Float64},Mat{Float64},Mat{Float64},MatSchurComplementAinvType,MatReuse,Ptr{Mat{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function KSPSetDM(arg1::KSP{Float64},arg2::DM) - err = ccall((:KSPSetDM,petscRealDouble),PetscErrorCode,(KSP{Float64},DM),arg1,arg2) - return err -end - -function KSPSetDMActive(arg1::KSP{Float64},arg2::PetscBool) - err = ccall((:KSPSetDMActive,petscRealDouble),PetscErrorCode,(KSP{Float64},PetscBool),arg1,arg2) - return err -end - -function KSPGetDM(arg1::KSP{Float64},arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:KSPGetDM,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{DM}),arg1,arg2) - return err -end - -function KSPSetApplicationContext(arg1::KSP{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPSetApplicationContext,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{Void}),arg1,arg2) - return err -end - -function KSPGetApplicationContext(arg1::KSP{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPGetApplicationContext,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{Void}),arg1,arg2) - return err -end - -function KSPSetComputeRHS(arg1::KSP{Float64},func::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPSetComputeRHS,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{Void},Ptr{Void}),arg1,func,arg2) - return err -end - -function KSPSetComputeOperators(arg1::KSP{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPSetComputeOperators,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function KSPSetComputeInitialGuess(arg1::KSP{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPSetComputeInitialGuess,petscRealDouble),PetscErrorCode,(KSP{Float64},Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMKSPSetComputeOperators(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMKSPSetComputeOperators,petscRealDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMKSPGetComputeOperators(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMKSPGetComputeOperators,petscRealDouble),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMKSPSetComputeRHS(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMKSPSetComputeRHS,petscRealDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMKSPGetComputeRHS(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMKSPGetComputeRHS,petscRealDouble),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMKSPSetComputeInitialGuess(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMKSPSetComputeInitialGuess,petscRealDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMKSPGetComputeInitialGuess(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMKSPGetComputeInitialGuess,petscRealDouble),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMGlobalToLocalSolve(arg1::DM,arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:DMGlobalToLocalSolve,petscRealDouble),PetscErrorCode,(DM,Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function DMPlexProjectField(arg1::DM,arg2::Vec{Float64},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::InsertMode,arg5::Vec{Float64}) - err = ccall((:DMPlexProjectField,petscRealDouble),PetscErrorCode,(DM,Vec{Float64},Ptr{Ptr{Void}},InsertMode,Vec{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function SNESInitializePackage(arg0::Type{Float64}) - err = ccall((:SNESInitializePackage,petscRealDouble),PetscErrorCode,()) - return err -end - -function SNESCreate(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}}) - err = ccall((:SNESCreate,petscRealDouble),PetscErrorCode,(comm_type,Ptr{SNES}),arg1,arg2) - return err -end - -function SNESReset(arg0::Type{Float64},arg1::SNES) - err = ccall((:SNESReset,petscRealDouble),PetscErrorCode,(SNES,),arg1) - return err -end - -function SNESDestroy(arg0::Type{Float64},arg1::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}}) - err = ccall((:SNESDestroy,petscRealDouble),PetscErrorCode,(Ptr{SNES},),arg1) - return err -end - -function SNESSetType(arg0::Type{Float64},arg1::SNES,arg2::SNESType) - err = ccall((:SNESSetType,petscRealDouble),PetscErrorCode,(SNES,Cstring),arg1,arg2) - return err -end - -function SNESMonitor(arg0::Type{Float64},arg1::SNES,arg2::Integer,arg3::Float64) - err = ccall((:SNESMonitor,petscRealDouble),PetscErrorCode,(SNES,Int64,Float64),arg1,arg2,arg3) - return err -end - -function SNESMonitorSet(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESMonitorSet,petscRealDouble),PetscErrorCode,(SNES,Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESMonitorCancel(arg0::Type{Float64},arg1::SNES) - err = ccall((:SNESMonitorCancel,petscRealDouble),PetscErrorCode,(SNES,),arg1) - return err -end - -function SNESMonitorSAWs(arg0::Type{Float64},arg1::SNES,arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESMonitorSAWs,petscRealDouble),PetscErrorCode,(SNES,Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESMonitorSAWsCreate(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:SNESMonitorSAWsCreate,petscRealDouble),PetscErrorCode,(SNES,Ptr{Ptr{Void}}),arg1,arg2) - return err -end - -function SNESMonitorSAWsDestroy(arg0::Type{Float64},arg1::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:SNESMonitorSAWsDestroy,petscRealDouble),PetscErrorCode,(Ptr{Ptr{Void}},),arg1) - return err -end - -function SNESSetConvergenceHistory(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Integer,arg5::PetscBool) - err = ccall((:SNESSetConvergenceHistory,petscRealDouble),PetscErrorCode,(SNES,Ptr{Float64},Ptr{Int64},Int64,PetscBool),arg1,arg2,arg3,arg4,arg5) - return err -end - -function SNESGetConvergenceHistory(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESGetConvergenceHistory,petscRealDouble),PetscErrorCode,(SNES,Ptr{Ptr{Float64}},Ptr{Ptr{Int64}},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function SNESSetUp(arg0::Type{Float64},arg1::SNES) - err = ccall((:SNESSetUp,petscRealDouble),PetscErrorCode,(SNES,),arg1) - return err -end - -function SNESSolve(arg1::SNES,arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:SNESSolve,petscRealDouble),PetscErrorCode,(SNES,Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function SNESSetErrorIfNotConverged(arg0::Type{Float64},arg1::SNES,arg2::PetscBool) - err = ccall((:SNESSetErrorIfNotConverged,petscRealDouble),PetscErrorCode,(SNES,PetscBool),arg1,arg2) - return err -end - -function SNESGetErrorIfNotConverged(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:SNESGetErrorIfNotConverged,petscRealDouble),PetscErrorCode,(SNES,Ptr{PetscBool}),arg1,arg2) - return err -end - -function SNESSetWorkVecs(arg0::Type{Float64},arg1::SNES,arg2::Integer) - err = ccall((:SNESSetWorkVecs,petscRealDouble),PetscErrorCode,(SNES,Int64),arg1,arg2) - return err -end - -function SNESAddOptionsChecker(arg0::Type{Float64},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESAddOptionsChecker,petscRealDouble),PetscErrorCode,(Ptr{Void},),arg1) - return err -end - -function SNESSetUpdate(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESSetUpdate,petscRealDouble),PetscErrorCode,(SNES,Ptr{Void}),arg1,arg2) - return err -end - -function SNESRegister(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESRegister,petscRealDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function SNESGetKSP(arg1::SNES,arg2::Union{Ptr{KSP{Float64}},StridedArray{KSP{Float64}},Ptr{KSP{Float64}},Ref{KSP{Float64}}}) - err = ccall((:SNESGetKSP,petscRealDouble),PetscErrorCode,(SNES,Ptr{KSP{Float64}}),arg1,arg2) - return err -end - -function SNESSetKSP(arg1::SNES,arg2::KSP{Float64}) - err = ccall((:SNESSetKSP,petscRealDouble),PetscErrorCode,(SNES,KSP{Float64}),arg1,arg2) - return err -end - -function SNESSetSolution(arg1::SNES,arg2::Vec{Float64}) - err = ccall((:SNESSetSolution,petscRealDouble),PetscErrorCode,(SNES,Vec{Float64}),arg1,arg2) - return err -end - -function SNESGetSolution(arg1::SNES,arg2::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:SNESGetSolution,petscRealDouble),PetscErrorCode,(SNES,Ptr{Vec{Float64}}),arg1,arg2) - return err -end - -function SNESGetSolutionUpdate(arg1::SNES,arg2::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:SNESGetSolutionUpdate,petscRealDouble),PetscErrorCode,(SNES,Ptr{Vec{Float64}}),arg1,arg2) - return err -end - -function SNESGetRhs(arg1::SNES,arg2::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:SNESGetRhs,petscRealDouble),PetscErrorCode,(SNES,Ptr{Vec{Float64}}),arg1,arg2) - return err -end - -function SNESView(arg1::SNES,arg2::PetscViewer{Float64}) - err = ccall((:SNESView,petscRealDouble),PetscErrorCode,(SNES,PetscViewer{Float64}),arg1,arg2) - return err -end - -function SNESLoad(arg1::SNES,arg2::PetscViewer{Float64}) - err = ccall((:SNESLoad,petscRealDouble),PetscErrorCode,(SNES,PetscViewer{Float64}),arg1,arg2) - return err -end - -function SNESViewFromOptions(arg0::Type{Float64},A::SNES,obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:SNESViewFromOptions,petscRealDouble),PetscErrorCode,(SNES,PetscObject,Cstring),A,obj,name) - return err -end - -function SNESReasonView(arg1::SNES,arg2::PetscViewer{Float64}) - err = ccall((:SNESReasonView,petscRealDouble),PetscErrorCode,(SNES,PetscViewer{Float64}),arg1,arg2) - return err -end - -function SNESReasonViewFromOptions(arg0::Type{Float64},arg1::SNES) - err = ccall((:SNESReasonViewFromOptions,petscRealDouble),PetscErrorCode,(SNES,),arg1) - return err -end - -function SNESSetOptionsPrefix(arg0::Type{Float64},arg1::SNES,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:SNESSetOptionsPrefix,petscRealDouble),PetscErrorCode,(SNES,Cstring),arg1,arg2) - return err -end - -function SNESAppendOptionsPrefix(arg0::Type{Float64},arg1::SNES,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:SNESAppendOptionsPrefix,petscRealDouble),PetscErrorCode,(SNES,Cstring),arg1,arg2) - return err -end - -function SNESGetOptionsPrefix(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:SNESGetOptionsPrefix,petscRealDouble),PetscErrorCode,(SNES,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function SNESSetFromOptions(arg0::Type{Float64},arg1::SNES) - err = ccall((:SNESSetFromOptions,petscRealDouble),PetscErrorCode,(SNES,),arg1) - return err -end - -function MatCreateSNESMF(arg1::SNES,arg2::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:MatCreateSNESMF,petscRealDouble),PetscErrorCode,(SNES,Ptr{Mat{Float64}}),arg1,arg2) - return err -end - -function MatMFFDComputeJacobian(arg1::SNES,arg2::Vec{Float64},arg3::Mat{Float64},arg4::Mat{Float64},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatMFFDComputeJacobian,petscRealDouble),PetscErrorCode,(SNES,Vec{Float64},Mat{Float64},Mat{Float64},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatDAADSetSNES(arg1::Mat{Float64},arg2::SNES) - err = ccall((:MatDAADSetSNES,petscRealDouble),PetscErrorCode,(Mat{Float64},SNES),arg1,arg2) - return err -end - -function SNESGetType(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{SNESType},StridedArray{SNESType},Ptr{SNESType},Ref{SNESType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:SNESGetType,petscRealDouble),PetscErrorCode,(SNES,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function SNESMonitorDefault(arg0::Type{Float64},arg1::SNES,arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESMonitorDefault,petscRealDouble),PetscErrorCode,(SNES,Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESMonitorRange(arg0::Type{Float64},arg1::SNES,arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESMonitorRange,petscRealDouble),PetscErrorCode,(SNES,Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESMonitorRatio(arg0::Type{Float64},arg1::SNES,arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESMonitorRatio,petscRealDouble),PetscErrorCode,(SNES,Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESMonitorSetRatio(arg1::SNES,arg2::PetscViewer{Float64}) - err = ccall((:SNESMonitorSetRatio,petscRealDouble),PetscErrorCode,(SNES,PetscViewer{Float64}),arg1,arg2) - return err -end - -function SNESMonitorSolution(arg0::Type{Float64},arg1::SNES,arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESMonitorSolution,petscRealDouble),PetscErrorCode,(SNES,Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESMonitorResidual(arg0::Type{Float64},arg1::SNES,arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESMonitorResidual,petscRealDouble),PetscErrorCode,(SNES,Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESMonitorSolutionUpdate(arg0::Type{Float64},arg1::SNES,arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESMonitorSolutionUpdate,petscRealDouble),PetscErrorCode,(SNES,Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESMonitorDefaultShort(arg0::Type{Float64},arg1::SNES,arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESMonitorDefaultShort,petscRealDouble),PetscErrorCode,(SNES,Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESMonitorDefaultField(arg0::Type{Float64},arg1::SNES,arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESMonitorDefaultField,petscRealDouble),PetscErrorCode,(SNES,Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESMonitorJacUpdateSpectrum(arg0::Type{Float64},arg1::SNES,arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESMonitorJacUpdateSpectrum,petscRealDouble),PetscErrorCode,(SNES,Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESMonitorFields(arg0::Type{Float64},arg1::SNES,arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESMonitorFields,petscRealDouble),PetscErrorCode,(SNES,Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPMonitorSNES(arg1::KSP{Float64},arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPMonitorSNES,petscRealDouble),PetscErrorCode,(KSP{Float64},Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPMonitorSNESLGResidualNormCreate(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Union{Ptr{Ptr{PetscObject}},StridedArray{Ptr{PetscObject}},Ptr{Ptr{PetscObject}},Ref{Ptr{PetscObject}}}) - err = ccall((:KSPMonitorSNESLGResidualNormCreate,petscRealDouble),PetscErrorCode,(Cstring,Cstring,Cint,Cint,Cint,Cint,Ptr{Ptr{PetscObject}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function KSPMonitorSNESLGResidualNorm(arg1::KSP{Float64},arg2::Integer,arg3::Float64,arg4::Union{Ptr{PetscObject},StridedArray{PetscObject},Ptr{PetscObject},Ref{PetscObject}}) - err = ccall((:KSPMonitorSNESLGResidualNorm,petscRealDouble),PetscErrorCode,(KSP{Float64},Int64,Float64,Ptr{PetscObject}),arg1,arg2,arg3,arg4) - return err -end - -function KSPMonitorSNESLGResidualNormDestroy(arg0::Type{Float64},arg1::Union{Ptr{Ptr{PetscObject}},StridedArray{Ptr{PetscObject}},Ptr{Ptr{PetscObject}},Ref{Ptr{PetscObject}}}) - err = ccall((:KSPMonitorSNESLGResidualNormDestroy,petscRealDouble),PetscErrorCode,(Ptr{Ptr{PetscObject}},),arg1) - return err -end - -function SNESSetTolerances(arg0::Type{Float64},arg1::SNES,arg2::Float64,arg3::Float64,arg4::Float64,arg5::Integer,arg6::Integer) - err = ccall((:SNESSetTolerances,petscRealDouble),PetscErrorCode,(SNES,Float64,Float64,Float64,Int64,Int64),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function SNESGetTolerances(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESGetTolerances,petscRealDouble),PetscErrorCode,(SNES,Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function SNESSetTrustRegionTolerance(arg0::Type{Float64},arg1::SNES,arg2::Float64) - err = ccall((:SNESSetTrustRegionTolerance,petscRealDouble),PetscErrorCode,(SNES,Float64),arg1,arg2) - return err -end - -function SNESGetIterationNumber(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESGetIterationNumber,petscRealDouble),PetscErrorCode,(SNES,Ptr{Int64}),arg1,arg2) - return err -end - -function SNESSetIterationNumber(arg0::Type{Float64},arg1::SNES,arg2::Integer) - err = ccall((:SNESSetIterationNumber,petscRealDouble),PetscErrorCode,(SNES,Int64),arg1,arg2) - return err -end - -function SNESGetNonlinearStepFailures(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESGetNonlinearStepFailures,petscRealDouble),PetscErrorCode,(SNES,Ptr{Int64}),arg1,arg2) - return err -end - -function SNESSetMaxNonlinearStepFailures(arg0::Type{Float64},arg1::SNES,arg2::Integer) - err = ccall((:SNESSetMaxNonlinearStepFailures,petscRealDouble),PetscErrorCode,(SNES,Int64),arg1,arg2) - return err -end - -function SNESGetMaxNonlinearStepFailures(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESGetMaxNonlinearStepFailures,petscRealDouble),PetscErrorCode,(SNES,Ptr{Int64}),arg1,arg2) - return err -end - -function SNESGetNumberFunctionEvals(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESGetNumberFunctionEvals,petscRealDouble),PetscErrorCode,(SNES,Ptr{Int64}),arg1,arg2) - return err -end - -function SNESSetLagPreconditioner(arg0::Type{Float64},arg1::SNES,arg2::Integer) - err = ccall((:SNESSetLagPreconditioner,petscRealDouble),PetscErrorCode,(SNES,Int64),arg1,arg2) - return err -end - -function SNESGetLagPreconditioner(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESGetLagPreconditioner,petscRealDouble),PetscErrorCode,(SNES,Ptr{Int64}),arg1,arg2) - return err -end - -function SNESSetLagJacobian(arg0::Type{Float64},arg1::SNES,arg2::Integer) - err = ccall((:SNESSetLagJacobian,petscRealDouble),PetscErrorCode,(SNES,Int64),arg1,arg2) - return err -end - -function SNESGetLagJacobian(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESGetLagJacobian,petscRealDouble),PetscErrorCode,(SNES,Ptr{Int64}),arg1,arg2) - return err -end - -function SNESSetLagPreconditionerPersists(arg0::Type{Float64},arg1::SNES,arg2::PetscBool) - err = ccall((:SNESSetLagPreconditionerPersists,petscRealDouble),PetscErrorCode,(SNES,PetscBool),arg1,arg2) - return err -end - -function SNESSetLagJacobianPersists(arg0::Type{Float64},arg1::SNES,arg2::PetscBool) - err = ccall((:SNESSetLagJacobianPersists,petscRealDouble),PetscErrorCode,(SNES,PetscBool),arg1,arg2) - return err -end - -function SNESSetGridSequence(arg0::Type{Float64},arg1::SNES,arg2::Integer) - err = ccall((:SNESSetGridSequence,petscRealDouble),PetscErrorCode,(SNES,Int64),arg1,arg2) - return err -end - -function SNESGetGridSequence(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESGetGridSequence,petscRealDouble),PetscErrorCode,(SNES,Ptr{Int64}),arg1,arg2) - return err -end - -function SNESGetLinearSolveIterations(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESGetLinearSolveIterations,petscRealDouble),PetscErrorCode,(SNES,Ptr{Int64}),arg1,arg2) - return err -end - -function SNESGetLinearSolveFailures(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESGetLinearSolveFailures,petscRealDouble),PetscErrorCode,(SNES,Ptr{Int64}),arg1,arg2) - return err -end - -function SNESSetMaxLinearSolveFailures(arg0::Type{Float64},arg1::SNES,arg2::Integer) - err = ccall((:SNESSetMaxLinearSolveFailures,petscRealDouble),PetscErrorCode,(SNES,Int64),arg1,arg2) - return err -end - -function SNESGetMaxLinearSolveFailures(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESGetMaxLinearSolveFailures,petscRealDouble),PetscErrorCode,(SNES,Ptr{Int64}),arg1,arg2) - return err -end - -function SNESSetCountersReset(arg0::Type{Float64},arg1::SNES,arg2::PetscBool) - err = ccall((:SNESSetCountersReset,petscRealDouble),PetscErrorCode,(SNES,PetscBool),arg1,arg2) - return err -end - -function SNESKSPSetUseEW(arg0::Type{Float64},arg1::SNES,arg2::PetscBool) - err = ccall((:SNESKSPSetUseEW,petscRealDouble),PetscErrorCode,(SNES,PetscBool),arg1,arg2) - return err -end - -function SNESKSPGetUseEW(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:SNESKSPGetUseEW,petscRealDouble),PetscErrorCode,(SNES,Ptr{PetscBool}),arg1,arg2) - return err -end - -function SNESKSPSetParametersEW(arg0::Type{Float64},arg1::SNES,arg2::Integer,arg3::Float64,arg4::Float64,arg5::Float64,arg6::Float64,arg7::Float64,arg8::Float64) - err = ccall((:SNESKSPSetParametersEW,petscRealDouble),PetscErrorCode,(SNES,Int64,Float64,Float64,Float64,Float64,Float64,Float64),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function SNESKSPGetParametersEW(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg7::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg8::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:SNESKSPGetParametersEW,petscRealDouble),PetscErrorCode,(SNES,Ptr{Int64},Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function SNESMonitorLGCreate(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Union{Ptr{Ptr{PetscObject}},StridedArray{Ptr{PetscObject}},Ptr{Ptr{PetscObject}},Ref{Ptr{PetscObject}}}) - err = ccall((:SNESMonitorLGCreate,petscRealDouble),PetscErrorCode,(Cstring,Cstring,Cint,Cint,Cint,Cint,Ptr{Ptr{PetscObject}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function SNESMonitorLGResidualNorm(arg0::Type{Float64},arg1::SNES,arg2::Integer,arg3::Float64,arg4::Union{Ptr{PetscObject},StridedArray{PetscObject},Ptr{PetscObject},Ref{PetscObject}}) - err = ccall((:SNESMonitorLGResidualNorm,petscRealDouble),PetscErrorCode,(SNES,Int64,Float64,Ptr{PetscObject}),arg1,arg2,arg3,arg4) - return err -end - -function SNESMonitorLGDestroy(arg0::Type{Float64},arg1::Union{Ptr{Ptr{PetscObject}},StridedArray{Ptr{PetscObject}},Ptr{Ptr{PetscObject}},Ref{Ptr{PetscObject}}}) - err = ccall((:SNESMonitorLGDestroy,petscRealDouble),PetscErrorCode,(Ptr{Ptr{PetscObject}},),arg1) - return err -end - -function SNESMonitorLGRange(arg0::Type{Float64},arg1::SNES,arg2::Integer,arg3::Float64,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESMonitorLGRange,petscRealDouble),PetscErrorCode,(SNES,Int64,Float64,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESSetApplicationContext(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESSetApplicationContext,petscRealDouble),PetscErrorCode,(SNES,Ptr{Void}),arg1,arg2) - return err -end - -function SNESGetApplicationContext(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESGetApplicationContext,petscRealDouble),PetscErrorCode,(SNES,Ptr{Void}),arg1,arg2) - return err -end - -function SNESSetComputeApplicationContext(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESSetComputeApplicationContext,petscRealDouble),PetscErrorCode,(SNES,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function SNESPythonSetType(arg0::Type{Float64},arg1::SNES,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:SNESPythonSetType,petscRealDouble),PetscErrorCode,(SNES,Cstring),arg1,arg2) - return err -end - -function SNESSetFunctionDomainError(arg0::Type{Float64},arg1::SNES) - err = ccall((:SNESSetFunctionDomainError,petscRealDouble),PetscErrorCode,(SNES,),arg1) - return err -end - -function SNESGetFunctionDomainError(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:SNESGetFunctionDomainError,petscRealDouble),PetscErrorCode,(SNES,Ptr{PetscBool}),arg1,arg2) - return err -end - -function SNESSetConvergenceTest(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESSetConvergenceTest,petscRealDouble),PetscErrorCode,(SNES,Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESConvergedDefault(arg0::Type{Float64},arg1::SNES,arg2::Integer,arg3::Float64,arg4::Float64,arg5::Float64,arg6::Union{Ptr{SNESConvergedReason},StridedArray{SNESConvergedReason},Ptr{SNESConvergedReason},Ref{SNESConvergedReason}},arg7::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESConvergedDefault,petscRealDouble),PetscErrorCode,(SNES,Int64,Float64,Float64,Float64,Ptr{SNESConvergedReason},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function SNESConvergedSkip(arg0::Type{Float64},arg1::SNES,arg2::Integer,arg3::Float64,arg4::Float64,arg5::Float64,arg6::Union{Ptr{SNESConvergedReason},StridedArray{SNESConvergedReason},Ptr{SNESConvergedReason},Ref{SNESConvergedReason}},arg7::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESConvergedSkip,petscRealDouble),PetscErrorCode,(SNES,Int64,Float64,Float64,Float64,Ptr{SNESConvergedReason},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function SNESGetConvergedReason(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{SNESConvergedReason},StridedArray{SNESConvergedReason},Ptr{SNESConvergedReason},Ref{SNESConvergedReason}}) - err = ccall((:SNESGetConvergedReason,petscRealDouble),PetscErrorCode,(SNES,Ptr{SNESConvergedReason}),arg1,arg2) - return err -end - -function SNESSkipConverged(arg0::Type{Float64}) - err = ccall((:SNESSkipConverged,petscRealDouble),Void,()) - return err -end - -function SNESSetFunction(arg1::SNES,arg2::Vec{Float64},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESSetFunction,petscRealDouble),PetscErrorCode,(SNES,Vec{Float64},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESGetFunction(arg1::SNES,arg2::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:SNESGetFunction,petscRealDouble),PetscErrorCode,(SNES,Ptr{Vec{Float64}},Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4) - return err -end - -function SNESComputeFunction(arg1::SNES,arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:SNESComputeFunction,petscRealDouble),PetscErrorCode,(SNES,Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function SNESSetJacobian(arg1::SNES,arg2::Mat{Float64},arg3::Mat{Float64},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESSetJacobian,petscRealDouble),PetscErrorCode,(SNES,Mat{Float64},Mat{Float64},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function SNESGetJacobian(arg1::SNES,arg2::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}},arg3::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}},arg4::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg5::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:SNESGetJacobian,petscRealDouble),PetscErrorCode,(SNES,Ptr{Mat{Float64}},Ptr{Mat{Float64}},Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function SNESObjectiveComputeFunctionDefaultFD(arg1::SNES,arg2::Vec{Float64},arg3::Vec{Float64},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESObjectiveComputeFunctionDefaultFD,petscRealDouble),PetscErrorCode,(SNES,Vec{Float64},Vec{Float64},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESComputeJacobianDefault(arg1::SNES,arg2::Vec{Float64},arg3::Mat{Float64},arg4::Mat{Float64},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESComputeJacobianDefault,petscRealDouble),PetscErrorCode,(SNES,Vec{Float64},Mat{Float64},Mat{Float64},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function SNESComputeJacobianDefaultColor(arg1::SNES,arg2::Vec{Float64},arg3::Mat{Float64},arg4::Mat{Float64},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESComputeJacobianDefaultColor,petscRealDouble),PetscErrorCode,(SNES,Vec{Float64},Mat{Float64},Mat{Float64},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function SNESSetComputeInitialGuess(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESSetComputeInitialGuess,petscRealDouble),PetscErrorCode,(SNES,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function SNESSetPicard(arg1::SNES,arg2::Vec{Float64},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Mat{Float64},arg5::Mat{Float64},arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg7::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESSetPicard,petscRealDouble),PetscErrorCode,(SNES,Vec{Float64},Ptr{Void},Mat{Float64},Mat{Float64},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function SNESGetPicard(arg1::SNES,arg2::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}},arg5::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}},arg6::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg7::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:SNESGetPicard,petscRealDouble),PetscErrorCode,(SNES,Ptr{Vec{Float64}},Ptr{Ptr{Void}},Ptr{Mat{Float64}},Ptr{Mat{Float64}},Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function SNESSetInitialFunction(arg1::SNES,arg2::Vec{Float64}) - err = ccall((:SNESSetInitialFunction,petscRealDouble),PetscErrorCode,(SNES,Vec{Float64}),arg1,arg2) - return err -end - -function SNESSetObjective(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESSetObjective,petscRealDouble),PetscErrorCode,(SNES,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function SNESGetObjective(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:SNESGetObjective,petscRealDouble),PetscErrorCode,(SNES,Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function SNESComputeObjective(arg1::SNES,arg2::Vec{Float64},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:SNESComputeObjective,petscRealDouble),PetscErrorCode,(SNES,Vec{Float64},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function SNESSetNormSchedule(arg0::Type{Float64},arg1::SNES,arg2::SNESNormSchedule) - err = ccall((:SNESSetNormSchedule,petscRealDouble),PetscErrorCode,(SNES,SNESNormSchedule),arg1,arg2) - return err -end - -function SNESGetNormSchedule(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{SNESNormSchedule},StridedArray{SNESNormSchedule},Ptr{SNESNormSchedule},Ref{SNESNormSchedule}}) - err = ccall((:SNESGetNormSchedule,petscRealDouble),PetscErrorCode,(SNES,Ptr{SNESNormSchedule}),arg1,arg2) - return err -end - -function SNESSetFunctionType(arg0::Type{Float64},arg1::SNES,arg2::SNESFunctionType) - err = ccall((:SNESSetFunctionType,petscRealDouble),PetscErrorCode,(SNES,SNESFunctionType),arg1,arg2) - return err -end - -function SNESGetFunctionType(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{SNESFunctionType},StridedArray{SNESFunctionType},Ptr{SNESFunctionType},Ref{SNESFunctionType}}) - err = ccall((:SNESGetFunctionType,petscRealDouble),PetscErrorCode,(SNES,Ptr{SNESFunctionType}),arg1,arg2) - return err -end - -function SNESSetNGS(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESSetNGS,petscRealDouble),PetscErrorCode,(SNES,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function SNESGetNGS(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:SNESGetNGS,petscRealDouble),PetscErrorCode,(SNES,Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function SNESSetUseNGS(arg0::Type{Float64},arg1::SNES,arg2::PetscBool) - err = ccall((:SNESSetUseNGS,petscRealDouble),PetscErrorCode,(SNES,PetscBool),arg1,arg2) - return err -end - -function SNESGetUseNGS(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:SNESGetUseNGS,petscRealDouble),PetscErrorCode,(SNES,Ptr{PetscBool}),arg1,arg2) - return err -end - -function SNESComputeNGS(arg1::SNES,arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:SNESComputeNGS,petscRealDouble),PetscErrorCode,(SNES,Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function SNESNGSSetSweeps(arg0::Type{Float64},arg1::SNES,arg2::Integer) - err = ccall((:SNESNGSSetSweeps,petscRealDouble),PetscErrorCode,(SNES,Int64),arg1,arg2) - return err -end - -function SNESNGSGetSweeps(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESNGSGetSweeps,petscRealDouble),PetscErrorCode,(SNES,Ptr{Int64}),arg1,arg2) - return err -end - -function SNESNGSSetTolerances(arg0::Type{Float64},arg1::SNES,arg2::Float64,arg3::Float64,arg4::Float64,arg5::Integer) - err = ccall((:SNESNGSSetTolerances,petscRealDouble),PetscErrorCode,(SNES,Float64,Float64,Float64,Int64),arg1,arg2,arg3,arg4,arg5) - return err -end - -function SNESNGSGetTolerances(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESNGSGetTolerances,petscRealDouble),PetscErrorCode,(SNES,Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function SNESUpdateCheckJacobian(arg0::Type{Float64},arg1::SNES,arg2::Integer) - err = ccall((:SNESUpdateCheckJacobian,petscRealDouble),PetscErrorCode,(SNES,Int64),arg1,arg2) - return err -end - -function SNESShellGetContext(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:SNESShellGetContext,petscRealDouble),PetscErrorCode,(SNES,Ptr{Ptr{Void}}),arg1,arg2) - return err -end - -function SNESShellSetContext(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESShellSetContext,petscRealDouble),PetscErrorCode,(SNES,Ptr{Void}),arg1,arg2) - return err -end - -function SNESShellSetSolve(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESShellSetSolve,petscRealDouble),PetscErrorCode,(SNES,Ptr{Void}),arg1,arg2) - return err -end - -function SNESLineSearchCreate(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{SNESLineSearch},StridedArray{SNESLineSearch},Ptr{SNESLineSearch},Ref{SNESLineSearch}}) - err = ccall((:SNESLineSearchCreate,petscRealDouble),PetscErrorCode,(comm_type,Ptr{SNESLineSearch}),arg1,arg2) - return err -end - -function SNESLineSearchReset(arg0::Type{Float64},arg1::SNESLineSearch) - err = ccall((:SNESLineSearchReset,petscRealDouble),PetscErrorCode,(SNESLineSearch,),arg1) - return err -end - -function SNESLineSearchView(arg1::SNESLineSearch,arg2::PetscViewer{Float64}) - err = ccall((:SNESLineSearchView,petscRealDouble),PetscErrorCode,(SNESLineSearch,PetscViewer{Float64}),arg1,arg2) - return err -end - -function SNESLineSearchDestroy(arg0::Type{Float64},arg1::Union{Ptr{SNESLineSearch},StridedArray{SNESLineSearch},Ptr{SNESLineSearch},Ref{SNESLineSearch}}) - err = ccall((:SNESLineSearchDestroy,petscRealDouble),PetscErrorCode,(Ptr{SNESLineSearch},),arg1) - return err -end - -function SNESLineSearchSetType(arg0::Type{Float64},arg1::SNESLineSearch,arg2::SNESLineSearchType) - err = ccall((:SNESLineSearchSetType,petscRealDouble),PetscErrorCode,(SNESLineSearch,Cstring),arg1,arg2) - return err -end - -function SNESLineSearchSetFromOptions(arg0::Type{Float64},arg1::SNESLineSearch) - err = ccall((:SNESLineSearchSetFromOptions,petscRealDouble),PetscErrorCode,(SNESLineSearch,),arg1) - return err -end - -function SNESLineSearchSetFunction(arg0::Type{Float64},arg1::SNESLineSearch,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESLineSearchSetFunction,petscRealDouble),PetscErrorCode,(SNESLineSearch,Ptr{Void}),arg1,arg2) - return err -end - -function SNESLineSearchSetUp(arg0::Type{Float64},arg1::SNESLineSearch) - err = ccall((:SNESLineSearchSetUp,petscRealDouble),PetscErrorCode,(SNESLineSearch,),arg1) - return err -end - -function SNESLineSearchApply(arg1::SNESLineSearch,arg2::Vec{Float64},arg3::Vec{Float64},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Vec{Float64}) - err = ccall((:SNESLineSearchApply,petscRealDouble),PetscErrorCode,(SNESLineSearch,Vec{Float64},Vec{Float64},Ptr{Float64},Vec{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function SNESLineSearchPreCheck(arg1::SNESLineSearch,arg2::Vec{Float64},arg3::Vec{Float64},arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:SNESLineSearchPreCheck,petscRealDouble),PetscErrorCode,(SNESLineSearch,Vec{Float64},Vec{Float64},Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function SNESLineSearchPostCheck(arg1::SNESLineSearch,arg2::Vec{Float64},arg3::Vec{Float64},arg4::Vec{Float64},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg6::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:SNESLineSearchPostCheck,petscRealDouble),PetscErrorCode,(SNESLineSearch,Vec{Float64},Vec{Float64},Vec{Float64},Ptr{PetscBool},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function SNESLineSearchSetWorkVecs(arg0::Type{Float64},arg1::SNESLineSearch,arg2::Integer) - err = ccall((:SNESLineSearchSetWorkVecs,petscRealDouble),PetscErrorCode,(SNESLineSearch,Int64),arg1,arg2) - return err -end - -function SNESLineSearchSetPreCheck(arg0::Type{Float64},arg1::SNESLineSearch,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},ctx::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESLineSearchSetPreCheck,petscRealDouble),PetscErrorCode,(SNESLineSearch,Ptr{Void},Ptr{Void}),arg1,arg2,ctx) - return err -end - -function SNESLineSearchSetPostCheck(arg0::Type{Float64},arg1::SNESLineSearch,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},ctx::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESLineSearchSetPostCheck,petscRealDouble),PetscErrorCode,(SNESLineSearch,Ptr{Void},Ptr{Void}),arg1,arg2,ctx) - return err -end - -function SNESLineSearchGetPreCheck(arg0::Type{Float64},arg1::SNESLineSearch,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},ctx::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:SNESLineSearchGetPreCheck,petscRealDouble),PetscErrorCode,(SNESLineSearch,Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,ctx) - return err -end - -function SNESLineSearchGetPostCheck(arg0::Type{Float64},arg1::SNESLineSearch,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},ctx::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:SNESLineSearchGetPostCheck,petscRealDouble),PetscErrorCode,(SNESLineSearch,Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,ctx) - return err -end - -function SNESLineSearchSetVIFunctions(arg0::Type{Float64},arg1::SNESLineSearch,arg2::SNESLineSearchVIProjectFunc,arg3::SNESLineSearchVINormFunc) - err = ccall((:SNESLineSearchSetVIFunctions,petscRealDouble),PetscErrorCode,(SNESLineSearch,SNESLineSearchVIProjectFunc,SNESLineSearchVINormFunc),arg1,arg2,arg3) - return err -end - -function SNESLineSearchGetVIFunctions(arg0::Type{Float64},arg1::SNESLineSearch,arg2::Union{Ptr{SNESLineSearchVIProjectFunc},StridedArray{SNESLineSearchVIProjectFunc},Ptr{SNESLineSearchVIProjectFunc},Ref{SNESLineSearchVIProjectFunc}},arg3::Union{Ptr{SNESLineSearchVINormFunc},StridedArray{SNESLineSearchVINormFunc},Ptr{SNESLineSearchVINormFunc},Ref{SNESLineSearchVINormFunc}}) - err = ccall((:SNESLineSearchGetVIFunctions,petscRealDouble),PetscErrorCode,(SNESLineSearch,Ptr{SNESLineSearchVIProjectFunc},Ptr{SNESLineSearchVINormFunc}),arg1,arg2,arg3) - return err -end - -function SNESLineSearchSetSNES(arg0::Type{Float64},arg1::SNESLineSearch,arg2::SNES) - err = ccall((:SNESLineSearchSetSNES,petscRealDouble),PetscErrorCode,(SNESLineSearch,SNES),arg1,arg2) - return err -end - -function SNESLineSearchGetSNES(arg0::Type{Float64},arg1::SNESLineSearch,arg2::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}}) - err = ccall((:SNESLineSearchGetSNES,petscRealDouble),PetscErrorCode,(SNESLineSearch,Ptr{SNES}),arg1,arg2) - return err -end - -function SNESLineSearchGetTolerances(arg0::Type{Float64},arg1::SNESLineSearch,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESLineSearchGetTolerances,petscRealDouble),PetscErrorCode,(SNESLineSearch,Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function SNESLineSearchSetTolerances(arg0::Type{Float64},arg1::SNESLineSearch,arg2::Float64,arg3::Float64,arg4::Float64,arg5::Float64,arg6::Float64,arg7::Integer) - err = ccall((:SNESLineSearchSetTolerances,petscRealDouble),PetscErrorCode,(SNESLineSearch,Float64,Float64,Float64,Float64,Float64,Int64),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function SNESLineSearchPreCheckPicard(arg1::SNESLineSearch,arg2::Vec{Float64},arg3::Vec{Float64},arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESLineSearchPreCheckPicard,petscRealDouble),PetscErrorCode,(SNESLineSearch,Vec{Float64},Vec{Float64},Ptr{PetscBool},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function SNESLineSearchGetLambda(arg0::Type{Float64},arg1::SNESLineSearch,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:SNESLineSearchGetLambda,petscRealDouble),PetscErrorCode,(SNESLineSearch,Ptr{Float64}),arg1,arg2) - return err -end - -function SNESLineSearchSetLambda(arg0::Type{Float64},arg1::SNESLineSearch,arg2::Float64) - err = ccall((:SNESLineSearchSetLambda,petscRealDouble),PetscErrorCode,(SNESLineSearch,Float64),arg1,arg2) - return err -end - -function SNESLineSearchGetDamping(arg0::Type{Float64},arg1::SNESLineSearch,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:SNESLineSearchGetDamping,petscRealDouble),PetscErrorCode,(SNESLineSearch,Ptr{Float64}),arg1,arg2) - return err -end - -function SNESLineSearchSetDamping(arg0::Type{Float64},arg1::SNESLineSearch,arg2::Float64) - err = ccall((:SNESLineSearchSetDamping,petscRealDouble),PetscErrorCode,(SNESLineSearch,Float64),arg1,arg2) - return err -end - -function SNESLineSearchGetOrder(arg0::Type{Float64},arg1::SNESLineSearch,order::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESLineSearchGetOrder,petscRealDouble),PetscErrorCode,(SNESLineSearch,Ptr{Int64}),arg1,order) - return err -end - -function SNESLineSearchSetOrder(arg0::Type{Float64},arg1::SNESLineSearch,order::Integer) - err = ccall((:SNESLineSearchSetOrder,petscRealDouble),PetscErrorCode,(SNESLineSearch,Int64),arg1,order) - return err -end - -function SNESLineSearchGetReason(arg0::Type{Float64},arg1::SNESLineSearch,arg2::Union{Ptr{SNESLineSearchReason},StridedArray{SNESLineSearchReason},Ptr{SNESLineSearchReason},Ref{SNESLineSearchReason}}) - err = ccall((:SNESLineSearchGetReason,petscRealDouble),PetscErrorCode,(SNESLineSearch,Ptr{SNESLineSearchReason}),arg1,arg2) - return err -end - -function SNESLineSearchSetReason(arg0::Type{Float64},arg1::SNESLineSearch,arg2::SNESLineSearchReason) - err = ccall((:SNESLineSearchSetReason,petscRealDouble),PetscErrorCode,(SNESLineSearch,SNESLineSearchReason),arg1,arg2) - return err -end - -function SNESLineSearchGetVecs(arg1::SNESLineSearch,arg2::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}},arg3::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}},arg4::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}},arg5::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}},arg6::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:SNESLineSearchGetVecs,petscRealDouble),PetscErrorCode,(SNESLineSearch,Ptr{Vec{Float64}},Ptr{Vec{Float64}},Ptr{Vec{Float64}},Ptr{Vec{Float64}},Ptr{Vec{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function SNESLineSearchSetVecs(arg1::SNESLineSearch,arg2::Vec{Float64},arg3::Vec{Float64},arg4::Vec{Float64},arg5::Vec{Float64},arg6::Vec{Float64}) - err = ccall((:SNESLineSearchSetVecs,petscRealDouble),PetscErrorCode,(SNESLineSearch,Vec{Float64},Vec{Float64},Vec{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function SNESLineSearchGetNorms(arg0::Type{Float64},arg1::SNESLineSearch,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:SNESLineSearchGetNorms,petscRealDouble),PetscErrorCode,(SNESLineSearch,Ptr{Float64},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function SNESLineSearchSetNorms(arg0::Type{Float64},arg1::SNESLineSearch,arg2::Float64,arg3::Float64,arg4::Float64) - err = ccall((:SNESLineSearchSetNorms,petscRealDouble),PetscErrorCode,(SNESLineSearch,Float64,Float64,Float64),arg1,arg2,arg3,arg4) - return err -end - -function SNESLineSearchComputeNorms(arg0::Type{Float64},arg1::SNESLineSearch) - err = ccall((:SNESLineSearchComputeNorms,petscRealDouble),PetscErrorCode,(SNESLineSearch,),arg1) - return err -end - -function SNESLineSearchSetComputeNorms(arg0::Type{Float64},arg1::SNESLineSearch,arg2::PetscBool) - err = ccall((:SNESLineSearchSetComputeNorms,petscRealDouble),PetscErrorCode,(SNESLineSearch,PetscBool),arg1,arg2) - return err -end - -function SNESLineSearchSetMonitor(arg0::Type{Float64},arg1::SNESLineSearch,arg2::PetscBool) - err = ccall((:SNESLineSearchSetMonitor,petscRealDouble),PetscErrorCode,(SNESLineSearch,PetscBool),arg1,arg2) - return err -end - -function SNESLineSearchGetMonitor(arg1::SNESLineSearch,arg2::Union{Ptr{PetscViewer{Float64}},StridedArray{PetscViewer{Float64}},Ptr{PetscViewer{Float64}},Ref{PetscViewer{Float64}}}) - err = ccall((:SNESLineSearchGetMonitor,petscRealDouble),PetscErrorCode,(SNESLineSearch,Ptr{PetscViewer{Float64}}),arg1,arg2) - return err -end - -function SNESLineSearchAppendOptionsPrefix(arg0::Type{Float64},arg1::SNESLineSearch,prefix::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:SNESLineSearchAppendOptionsPrefix,petscRealDouble),PetscErrorCode,(SNESLineSearch,Cstring),arg1,prefix) - return err -end - -function SNESLineSearchGetOptionsPrefix(arg0::Type{Float64},arg1::SNESLineSearch,prefix::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:SNESLineSearchGetOptionsPrefix,petscRealDouble),PetscErrorCode,(SNESLineSearch,Ptr{Ptr{UInt8}}),arg1,prefix) - return err -end - -function SNESLineSearchShellSetUserFunc(arg0::Type{Float64},arg1::SNESLineSearch,arg2::SNESLineSearchUserFunc,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESLineSearchShellSetUserFunc,petscRealDouble),PetscErrorCode,(SNESLineSearch,SNESLineSearchUserFunc,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function SNESLineSearchShellGetUserFunc(arg0::Type{Float64},arg1::SNESLineSearch,arg2::Union{Ptr{SNESLineSearchUserFunc},StridedArray{SNESLineSearchUserFunc},Ptr{SNESLineSearchUserFunc},Ref{SNESLineSearchUserFunc}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:SNESLineSearchShellGetUserFunc,petscRealDouble),PetscErrorCode,(SNESLineSearch,Ptr{SNESLineSearchUserFunc},Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function SNESLineSearchBTSetAlpha(arg0::Type{Float64},arg1::SNESLineSearch,arg2::Float64) - err = ccall((:SNESLineSearchBTSetAlpha,petscRealDouble),PetscErrorCode,(SNESLineSearch,Float64),arg1,arg2) - return err -end - -function SNESLineSearchBTGetAlpha(arg0::Type{Float64},arg1::SNESLineSearch,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:SNESLineSearchBTGetAlpha,petscRealDouble),PetscErrorCode,(SNESLineSearch,Ptr{Float64}),arg1,arg2) - return err -end - -function SNESLineSearchRegister(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESLineSearchRegister,petscRealDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function SNESVISetVariableBounds(arg1::SNES,arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:SNESVISetVariableBounds,petscRealDouble),PetscErrorCode,(SNES,Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function SNESVISetComputeVariableBounds(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESVISetComputeVariableBounds,petscRealDouble),PetscErrorCode,(SNES,Ptr{Void}),arg1,arg2) - return err -end - -function SNESVIGetInactiveSet(arg1::SNES,arg2::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:SNESVIGetInactiveSet,petscRealDouble),PetscErrorCode,(SNES,Ptr{IS{Float64}}),arg1,arg2) - return err -end - -function SNESVIGetActiveSetIS(arg1::SNES,arg2::Vec{Float64},arg3::Vec{Float64},arg4::Union{Ptr{IS{Float64}},StridedArray{IS{Float64}},Ptr{IS{Float64}},Ref{IS{Float64}}}) - err = ccall((:SNESVIGetActiveSetIS,petscRealDouble),PetscErrorCode,(SNES,Vec{Float64},Vec{Float64},Ptr{IS{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function SNESVIComputeInactiveSetFnorm(arg1::SNES,arg2::Vec{Float64},arg3::Vec{Float64},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:SNESVIComputeInactiveSetFnorm,petscRealDouble),PetscErrorCode,(SNES,Vec{Float64},Vec{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function SNESVISetRedundancyCheck(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESVISetRedundancyCheck,petscRealDouble),PetscErrorCode,(SNES,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function SNESTestLocalMin(arg0::Type{Float64},arg1::SNES) - err = ccall((:SNESTestLocalMin,petscRealDouble),PetscErrorCode,(SNES,),arg1) - return err -end - -function SNESComputeJacobian(arg1::SNES,arg2::Vec{Float64},arg3::Mat{Float64},arg4::Mat{Float64}) - err = ccall((:SNESComputeJacobian,petscRealDouble),PetscErrorCode,(SNES,Vec{Float64},Mat{Float64},Mat{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function SNESSetDM(arg0::Type{Float64},arg1::SNES,arg2::DM) - err = ccall((:SNESSetDM,petscRealDouble),PetscErrorCode,(SNES,DM),arg1,arg2) - return err -end - -function SNESGetDM(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:SNESGetDM,petscRealDouble),PetscErrorCode,(SNES,Ptr{DM}),arg1,arg2) - return err -end - -function SNESSetNPC(arg0::Type{Float64},arg1::SNES,arg2::SNES) - err = ccall((:SNESSetNPC,petscRealDouble),PetscErrorCode,(SNES,SNES),arg1,arg2) - return err -end - -function SNESGetNPC(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}}) - err = ccall((:SNESGetNPC,petscRealDouble),PetscErrorCode,(SNES,Ptr{SNES}),arg1,arg2) - return err -end - -function SNESHasNPC(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:SNESHasNPC,petscRealDouble),PetscErrorCode,(SNES,Ptr{PetscBool}),arg1,arg2) - return err -end - -function SNESApplyNPC(arg1::SNES,arg2::Vec{Float64},arg3::Vec{Float64},arg4::Vec{Float64}) - err = ccall((:SNESApplyNPC,petscRealDouble),PetscErrorCode,(SNES,Vec{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function SNESGetNPCFunction(arg1::SNES,arg2::Vec{Float64},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:SNESGetNPCFunction,petscRealDouble),PetscErrorCode,(SNES,Vec{Float64},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function SNESComputeFunctionDefaultNPC(arg1::SNES,arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:SNESComputeFunctionDefaultNPC,petscRealDouble),PetscErrorCode,(SNES,Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function SNESSetNPCSide(arg0::Type{Float64},arg1::SNES,arg2::PCSide) - err = ccall((:SNESSetNPCSide,petscRealDouble),PetscErrorCode,(SNES,PCSide),arg1,arg2) - return err -end - -function SNESGetNPCSide(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{PCSide},StridedArray{PCSide},Ptr{PCSide},Ref{PCSide}}) - err = ccall((:SNESGetNPCSide,petscRealDouble),PetscErrorCode,(SNES,Ptr{PCSide}),arg1,arg2) - return err -end - -function SNESSetLineSearch(arg0::Type{Float64},arg1::SNES,arg2::SNESLineSearch) - err = ccall((:SNESSetLineSearch,petscRealDouble),PetscErrorCode,(SNES,SNESLineSearch),arg1,arg2) - return err -end - -function SNESGetLineSearch(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{SNESLineSearch},StridedArray{SNESLineSearch},Ptr{SNESLineSearch},Ref{SNESLineSearch}}) - err = ccall((:SNESGetLineSearch,petscRealDouble),PetscErrorCode,(SNES,Ptr{SNESLineSearch}),arg1,arg2) - return err -end - -function SNESRestrictHookAdd(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESRestrictHookAdd,petscRealDouble),PetscErrorCode,(SNES,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function SNESRestrictHooksRun(arg0::Type{Float64},arg1::SNES,arg2::SNES) - err = ccall((:SNESRestrictHooksRun,petscRealDouble),PetscErrorCode,(SNES,SNES),arg1,arg2) - return err -end - -function SNESGetSNESLineSearch(arg0::Type{Float64},snes::SNES,ls::Union{Ptr{SNESLineSearch},StridedArray{SNESLineSearch},Ptr{SNESLineSearch},Ref{SNESLineSearch}}) - err = ccall((:SNESGetSNESLineSearch,petscRealDouble),PetscErrorCode,(SNES,Ptr{SNESLineSearch}),snes,ls) - return err -end - -function SNESSetSNESLineSearch(arg0::Type{Float64},snes::SNES,ls::SNESLineSearch) - err = ccall((:SNESSetSNESLineSearch,petscRealDouble),PetscErrorCode,(SNES,SNESLineSearch),snes,ls) - return err -end - -function SNESSetUpMatrices(arg0::Type{Float64},arg1::SNES) - err = ccall((:SNESSetUpMatrices,petscRealDouble),PetscErrorCode,(SNES,),arg1) - return err -end - -function DMSNESSetFunction(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMSNESSetFunction,petscRealDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMSNESGetFunction(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:DMSNESGetFunction,petscRealDouble),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function DMSNESSetNGS(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMSNESSetNGS,petscRealDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMSNESGetNGS(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:DMSNESGetNGS,petscRealDouble),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function DMSNESSetJacobian(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMSNESSetJacobian,petscRealDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMSNESGetJacobian(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:DMSNESGetJacobian,petscRealDouble),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function DMSNESSetPicard(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMSNESSetPicard,petscRealDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMSNESGetPicard(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:DMSNESGetPicard,petscRealDouble),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4) - return err -end - -function DMSNESSetObjective(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMSNESSetObjective,petscRealDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMSNESGetObjective(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:DMSNESGetObjective,petscRealDouble),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function DMDASNESSetFunctionLocal(arg0::Type{Float64},arg1::DM,arg2::InsertMode,arg3::DMDASNESFunction,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDASNESSetFunctionLocal,petscRealDouble),PetscErrorCode,(DM,InsertMode,DMDASNESFunction,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMDASNESSetJacobianLocal(arg0::Type{Float64},arg1::DM,arg2::DMDASNESJacobian,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDASNESSetJacobianLocal,petscRealDouble),PetscErrorCode,(DM,DMDASNESJacobian,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMDASNESSetObjectiveLocal(arg0::Type{Float64},arg1::DM,arg2::DMDASNESObjective,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDASNESSetObjectiveLocal,petscRealDouble),PetscErrorCode,(DM,DMDASNESObjective,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMDASNESSetPicardLocal(arg0::Type{Float64},arg1::DM,arg2::InsertMode,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDASNESSetPicardLocal,petscRealDouble),PetscErrorCode,(DM,InsertMode,Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexSNESGetGeometryFEM(arg1::DM,arg2::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:DMPlexSNESGetGeometryFEM,petscRealDouble),PetscErrorCode,(DM,Ptr{Vec{Float64}}),arg1,arg2) - return err -end - -function DMPlexSNESGetGeometryFVM(arg1::DM,arg2::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}},arg3::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:DMPlexSNESGetGeometryFVM,petscRealDouble),PetscErrorCode,(DM,Ptr{Vec{Float64}},Ptr{Vec{Float64}},Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexSNESGetGradientDM(arg0::Type{Float64},arg1::DM,arg2::PetscFV,arg3::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexSNESGetGradientDM,petscRealDouble),PetscErrorCode,(DM,PetscFV,Ptr{DM}),arg1,arg2,arg3) - return err -end - -function DMPlexGetCellFields(arg1::DM,arg2::Integer,arg3::Integer,arg4::Vec{Float64},arg5::Vec{Float64},arg6::Vec{Float64},arg7::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg8::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg9::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:DMPlexGetCellFields,petscRealDouble),PetscErrorCode,(DM,Int64,Int64,Vec{Float64},Vec{Float64},Vec{Float64},Ptr{Ptr{Float64}},Ptr{Ptr{Float64}},Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) - return err -end - -function DMPlexRestoreCellFields(arg1::DM,arg2::Integer,arg3::Integer,arg4::Vec{Float64},arg5::Vec{Float64},arg6::Vec{Float64},arg7::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg8::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg9::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:DMPlexRestoreCellFields,petscRealDouble),PetscErrorCode,(DM,Int64,Int64,Vec{Float64},Vec{Float64},Vec{Float64},Ptr{Ptr{Float64}},Ptr{Ptr{Float64}},Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) - return err -end - -function DMPlexGetFaceFields(arg1::DM,arg2::Integer,arg3::Integer,arg4::Vec{Float64},arg5::Vec{Float64},arg6::Vec{Float64},arg7::Vec{Float64},arg8::Vec{Float64},arg9::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg10::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:DMPlexGetFaceFields,petscRealDouble),PetscErrorCode,(DM,Int64,Int64,Vec{Float64},Vec{Float64},Vec{Float64},Vec{Float64},Vec{Float64},Ptr{Ptr{Float64}},Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -function DMPlexRestoreFaceFields(arg1::DM,arg2::Integer,arg3::Integer,arg4::Vec{Float64},arg5::Vec{Float64},arg6::Vec{Float64},arg7::Vec{Float64},arg8::Vec{Float64},arg9::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg10::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:DMPlexRestoreFaceFields,petscRealDouble),PetscErrorCode,(DM,Int64,Int64,Vec{Float64},Vec{Float64},Vec{Float64},Vec{Float64},Vec{Float64},Ptr{Ptr{Float64}},Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -#= skipping function with undefined symbols: - function DMPlexGetFaceGeometry(arg1::DM,arg2::Integer,arg3::Integer,arg4::Vec{Float64},arg5::Vec{Float64},arg6::Union{Ptr{Ptr{PetscFVFaceGeom}},StridedArray{Ptr{PetscFVFaceGeom}},Ptr{Ptr{PetscFVFaceGeom}},Ref{Ptr{PetscFVFaceGeom}}},arg7::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - ccall((:DMPlexGetFaceGeometry,petscRealDouble),PetscErrorCode,(DM,Int64,Int64,Vec{Float64},Vec{Float64},Ptr{Ptr{PetscFVFaceGeom}},Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -#= skipping function with undefined symbols: - function DMPlexRestoreFaceGeometry(arg1::DM,arg2::Integer,arg3::Integer,arg4::Vec{Float64},arg5::Vec{Float64},arg6::Union{Ptr{Ptr{PetscFVFaceGeom}},StridedArray{Ptr{PetscFVFaceGeom}},Ptr{Ptr{PetscFVFaceGeom}},Ref{Ptr{PetscFVFaceGeom}}},arg7::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - ccall((:DMPlexRestoreFaceGeometry,petscRealDouble),PetscErrorCode,(DM,Int64,Int64,Vec{Float64},Vec{Float64},Ptr{Ptr{PetscFVFaceGeom}},Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -function DMSNESSetFunctionLocal(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMSNESSetFunctionLocal,petscRealDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMSNESSetJacobianLocal(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMSNESSetJacobianLocal,petscRealDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function SNESMultiblockSetFields(arg0::Type{Float64},arg1::SNES,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESMultiblockSetFields,petscRealDouble),PetscErrorCode,(SNES,Cstring,Int64,Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function SNESMultiblockSetIS(arg1::SNES,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::IS{Float64}) - err = ccall((:SNESMultiblockSetIS,petscRealDouble),PetscErrorCode,(SNES,Cstring,IS{Float64}),arg1,arg2,arg3) - return err -end - -function SNESMultiblockSetBlockSize(arg0::Type{Float64},arg1::SNES,arg2::Integer) - err = ccall((:SNESMultiblockSetBlockSize,petscRealDouble),PetscErrorCode,(SNES,Int64),arg1,arg2) - return err -end - -function SNESMultiblockSetType(arg0::Type{Float64},arg1::SNES,arg2::PCCompositeType) - err = ccall((:SNESMultiblockSetType,petscRealDouble),PetscErrorCode,(SNES,PCCompositeType),arg1,arg2) - return err -end - -function SNESMSRegister(arg0::Type{Float64},arg1::SNESMSType,arg2::Integer,arg3::Integer,arg4::Float64,arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg7::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:SNESMSRegister,petscRealDouble),PetscErrorCode,(Cstring,Int64,Int64,Float64,Ptr{Float64},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function SNESMSSetType(arg0::Type{Float64},arg1::SNES,arg2::SNESMSType) - err = ccall((:SNESMSSetType,petscRealDouble),PetscErrorCode,(SNES,Cstring),arg1,arg2) - return err -end - -function SNESMSFinalizePackage(arg0::Type{Float64}) - err = ccall((:SNESMSFinalizePackage,petscRealDouble),PetscErrorCode,()) - return err -end - -function SNESMSInitializePackage(arg0::Type{Float64}) - err = ccall((:SNESMSInitializePackage,petscRealDouble),PetscErrorCode,()) - return err -end - -function SNESMSRegisterDestroy(arg0::Type{Float64}) - err = ccall((:SNESMSRegisterDestroy,petscRealDouble),PetscErrorCode,()) - return err -end - -function SNESNGMRESSetRestartType(arg0::Type{Float64},arg1::SNES,arg2::SNESNGMRESRestartType) - err = ccall((:SNESNGMRESSetRestartType,petscRealDouble),PetscErrorCode,(SNES,SNESNGMRESRestartType),arg1,arg2) - return err -end - -function SNESNGMRESSetSelectType(arg0::Type{Float64},arg1::SNES,arg2::SNESNGMRESSelectType) - err = ccall((:SNESNGMRESSetSelectType,petscRealDouble),PetscErrorCode,(SNES,SNESNGMRESSelectType),arg1,arg2) - return err -end - -function SNESNCGSetType(arg0::Type{Float64},arg1::SNES,arg2::SNESNCGType) - err = ccall((:SNESNCGSetType,petscRealDouble),PetscErrorCode,(SNES,SNESNCGType),arg1,arg2) - return err -end - -function SNESQNSetType(arg0::Type{Float64},arg1::SNES,arg2::SNESQNType) - err = ccall((:SNESQNSetType,petscRealDouble),PetscErrorCode,(SNES,SNESQNType),arg1,arg2) - return err -end - -function SNESQNSetScaleType(arg0::Type{Float64},arg1::SNES,arg2::SNESQNScaleType) - err = ccall((:SNESQNSetScaleType,petscRealDouble),PetscErrorCode,(SNES,SNESQNScaleType),arg1,arg2) - return err -end - -function SNESQNSetRestartType(arg0::Type{Float64},arg1::SNES,arg2::SNESQNRestartType) - err = ccall((:SNESQNSetRestartType,petscRealDouble),PetscErrorCode,(SNES,SNESQNRestartType),arg1,arg2) - return err -end - -function SNESNASMGetType(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{PCASMType},StridedArray{PCASMType},Ptr{PCASMType},Ref{PCASMType}}) - err = ccall((:SNESNASMGetType,petscRealDouble),PetscErrorCode,(SNES,Ptr{PCASMType}),arg1,arg2) - return err -end - -function SNESNASMSetType(arg0::Type{Float64},arg1::SNES,arg2::PCASMType) - err = ccall((:SNESNASMSetType,petscRealDouble),PetscErrorCode,(SNES,PCASMType),arg1,arg2) - return err -end - -function SNESNASMGetSubdomains(arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{SNES}},StridedArray{Ptr{SNES}},Ptr{Ptr{SNES}},Ref{Ptr{SNES}}},arg4::Union{Ptr{Ptr{VecScatter{Float64}}},StridedArray{Ptr{VecScatter{Float64}}},Ptr{Ptr{VecScatter{Float64}}},Ref{Ptr{VecScatter{Float64}}}},arg5::Union{Ptr{Ptr{VecScatter{Float64}}},StridedArray{Ptr{VecScatter{Float64}}},Ptr{Ptr{VecScatter{Float64}}},Ref{Ptr{VecScatter{Float64}}}},arg6::Union{Ptr{Ptr{VecScatter{Float64}}},StridedArray{Ptr{VecScatter{Float64}}},Ptr{Ptr{VecScatter{Float64}}},Ref{Ptr{VecScatter{Float64}}}}) - err = ccall((:SNESNASMGetSubdomains,petscRealDouble),PetscErrorCode,(SNES,Ptr{Int64},Ptr{Ptr{SNES}},Ptr{Ptr{VecScatter{Float64}}},Ptr{Ptr{VecScatter{Float64}}},Ptr{Ptr{VecScatter{Float64}}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function SNESNASMSetSubdomains(arg1::SNES,arg2::Integer,arg3::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}},arg4::Union{Ptr{VecScatter{Float64}},StridedArray{VecScatter{Float64}},Ptr{VecScatter{Float64}},Ref{VecScatter{Float64}}},arg5::Union{Ptr{VecScatter{Float64}},StridedArray{VecScatter{Float64}},Ptr{VecScatter{Float64}},Ref{VecScatter{Float64}}},arg6::Union{Ptr{VecScatter{Float64}},StridedArray{VecScatter{Float64}},Ptr{VecScatter{Float64}},Ref{VecScatter{Float64}}}) - err = ccall((:SNESNASMSetSubdomains,petscRealDouble),PetscErrorCode,(SNES,Int64,Ptr{SNES},Ptr{VecScatter{Float64}},Ptr{VecScatter{Float64}},Ptr{VecScatter{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function SNESNASMSetDamping(arg0::Type{Float64},arg1::SNES,arg2::Float64) - err = ccall((:SNESNASMSetDamping,petscRealDouble),PetscErrorCode,(SNES,Float64),arg1,arg2) - return err -end - -function SNESNASMGetDamping(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:SNESNASMGetDamping,petscRealDouble),PetscErrorCode,(SNES,Ptr{Float64}),arg1,arg2) - return err -end - -function SNESNASMGetSubdomainVecs(arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Vec{Float64}}},StridedArray{Ptr{Vec{Float64}}},Ptr{Ptr{Vec{Float64}}},Ref{Ptr{Vec{Float64}}}},arg4::Union{Ptr{Ptr{Vec{Float64}}},StridedArray{Ptr{Vec{Float64}}},Ptr{Ptr{Vec{Float64}}},Ref{Ptr{Vec{Float64}}}},arg5::Union{Ptr{Ptr{Vec{Float64}}},StridedArray{Ptr{Vec{Float64}}},Ptr{Ptr{Vec{Float64}}},Ref{Ptr{Vec{Float64}}}},arg6::Union{Ptr{Ptr{Vec{Float64}}},StridedArray{Ptr{Vec{Float64}}},Ptr{Ptr{Vec{Float64}}},Ref{Ptr{Vec{Float64}}}}) - err = ccall((:SNESNASMGetSubdomainVecs,petscRealDouble),PetscErrorCode,(SNES,Ptr{Int64},Ptr{Ptr{Vec{Float64}}},Ptr{Ptr{Vec{Float64}}},Ptr{Ptr{Vec{Float64}}},Ptr{Ptr{Vec{Float64}}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function SNESNASMSetComputeFinalJacobian(arg0::Type{Float64},arg1::SNES,arg2::PetscBool) - err = ccall((:SNESNASMSetComputeFinalJacobian,petscRealDouble),PetscErrorCode,(SNES,PetscBool),arg1,arg2) - return err -end - -function SNESCompositeSetType(arg0::Type{Float64},arg1::SNES,arg2::SNESCompositeType) - err = ccall((:SNESCompositeSetType,petscRealDouble),PetscErrorCode,(SNES,SNESCompositeType),arg1,arg2) - return err -end - -function SNESCompositeAddSNES(arg0::Type{Float64},arg1::SNES,arg2::SNESType) - err = ccall((:SNESCompositeAddSNES,petscRealDouble),PetscErrorCode,(SNES,Cstring),arg1,arg2) - return err -end - -function SNESCompositeGetSNES(arg0::Type{Float64},arg1::SNES,arg2::Integer,arg3::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}}) - err = ccall((:SNESCompositeGetSNES,petscRealDouble),PetscErrorCode,(SNES,Int64,Ptr{SNES}),arg1,arg2,arg3) - return err -end - -function SNESCompositeGetNumber(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESCompositeGetNumber,petscRealDouble),PetscErrorCode,(SNES,Ptr{Int64}),arg1,arg2) - return err -end - -function SNESCompositeSetDamping(arg0::Type{Float64},arg1::SNES,arg2::Integer,arg3::Float64) - err = ccall((:SNESCompositeSetDamping,petscRealDouble),PetscErrorCode,(SNES,Int64,Float64),arg1,arg2,arg3) - return err -end - -function SNESFASSetType(arg0::Type{Float64},arg1::SNES,arg2::SNESFASType) - err = ccall((:SNESFASSetType,petscRealDouble),PetscErrorCode,(SNES,SNESFASType),arg1,arg2) - return err -end - -function SNESFASGetType(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{SNESFASType},StridedArray{SNESFASType},Ptr{SNESFASType},Ref{SNESFASType}}) - err = ccall((:SNESFASGetType,petscRealDouble),PetscErrorCode,(SNES,Ptr{SNESFASType}),arg1,arg2) - return err -end - -function SNESFASSetLevels(arg0::Type{Float64},arg1::SNES,arg2::Integer,arg3::Union{Ptr{MPI_Comm},StridedArray{MPI_Comm},Ptr{MPI_Comm},Ref{MPI_Comm}}) - err = ccall((:SNESFASSetLevels,petscRealDouble),PetscErrorCode,(SNES,Int64,Ptr{comm_type}),arg1,arg2,arg3) - return err -end - -function SNESFASGetLevels(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESFASGetLevels,petscRealDouble),PetscErrorCode,(SNES,Ptr{Int64}),arg1,arg2) - return err -end - -function SNESFASGetCycleSNES(arg0::Type{Float64},arg1::SNES,arg2::Integer,arg3::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}}) - err = ccall((:SNESFASGetCycleSNES,petscRealDouble),PetscErrorCode,(SNES,Int64,Ptr{SNES}),arg1,arg2,arg3) - return err -end - -function SNESFASSetNumberSmoothUp(arg0::Type{Float64},arg1::SNES,arg2::Integer) - err = ccall((:SNESFASSetNumberSmoothUp,petscRealDouble),PetscErrorCode,(SNES,Int64),arg1,arg2) - return err -end - -function SNESFASSetNumberSmoothDown(arg0::Type{Float64},arg1::SNES,arg2::Integer) - err = ccall((:SNESFASSetNumberSmoothDown,petscRealDouble),PetscErrorCode,(SNES,Int64),arg1,arg2) - return err -end - -function SNESFASSetCycles(arg0::Type{Float64},arg1::SNES,arg2::Integer) - err = ccall((:SNESFASSetCycles,petscRealDouble),PetscErrorCode,(SNES,Int64),arg1,arg2) - return err -end - -function SNESFASSetMonitor(arg0::Type{Float64},arg1::SNES,arg2::PetscBool) - err = ccall((:SNESFASSetMonitor,petscRealDouble),PetscErrorCode,(SNES,PetscBool),arg1,arg2) - return err -end - -function SNESFASSetLog(arg0::Type{Float64},arg1::SNES,arg2::PetscBool) - err = ccall((:SNESFASSetLog,petscRealDouble),PetscErrorCode,(SNES,PetscBool),arg1,arg2) - return err -end - -function SNESFASSetGalerkin(arg0::Type{Float64},arg1::SNES,arg2::PetscBool) - err = ccall((:SNESFASSetGalerkin,petscRealDouble),PetscErrorCode,(SNES,PetscBool),arg1,arg2) - return err -end - -function SNESFASGetGalerkin(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:SNESFASGetGalerkin,petscRealDouble),PetscErrorCode,(SNES,Ptr{PetscBool}),arg1,arg2) - return err -end - -function SNESFASCycleGetSmoother(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}}) - err = ccall((:SNESFASCycleGetSmoother,petscRealDouble),PetscErrorCode,(SNES,Ptr{SNES}),arg1,arg2) - return err -end - -function SNESFASCycleGetSmootherUp(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}}) - err = ccall((:SNESFASCycleGetSmootherUp,petscRealDouble),PetscErrorCode,(SNES,Ptr{SNES}),arg1,arg2) - return err -end - -function SNESFASCycleGetSmootherDown(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}}) - err = ccall((:SNESFASCycleGetSmootherDown,petscRealDouble),PetscErrorCode,(SNES,Ptr{SNES}),arg1,arg2) - return err -end - -function SNESFASCycleGetCorrection(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}}) - err = ccall((:SNESFASCycleGetCorrection,petscRealDouble),PetscErrorCode,(SNES,Ptr{SNES}),arg1,arg2) - return err -end - -function SNESFASCycleGetInterpolation(arg1::SNES,arg2::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:SNESFASCycleGetInterpolation,petscRealDouble),PetscErrorCode,(SNES,Ptr{Mat{Float64}}),arg1,arg2) - return err -end - -function SNESFASCycleGetRestriction(arg1::SNES,arg2::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:SNESFASCycleGetRestriction,petscRealDouble),PetscErrorCode,(SNES,Ptr{Mat{Float64}}),arg1,arg2) - return err -end - -function SNESFASCycleGetInjection(arg1::SNES,arg2::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:SNESFASCycleGetInjection,petscRealDouble),PetscErrorCode,(SNES,Ptr{Mat{Float64}}),arg1,arg2) - return err -end - -function SNESFASCycleGetRScale(arg1::SNES,arg2::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:SNESFASCycleGetRScale,petscRealDouble),PetscErrorCode,(SNES,Ptr{Vec{Float64}}),arg1,arg2) - return err -end - -function SNESFASCycleSetCycles(arg0::Type{Float64},arg1::SNES,arg2::Integer) - err = ccall((:SNESFASCycleSetCycles,petscRealDouble),PetscErrorCode,(SNES,Int64),arg1,arg2) - return err -end - -function SNESFASCycleIsFine(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:SNESFASCycleIsFine,petscRealDouble),PetscErrorCode,(SNES,Ptr{PetscBool}),arg1,arg2) - return err -end - -function SNESFASSetInterpolation(arg1::SNES,arg2::Integer,arg3::Mat{Float64}) - err = ccall((:SNESFASSetInterpolation,petscRealDouble),PetscErrorCode,(SNES,Int64,Mat{Float64}),arg1,arg2,arg3) - return err -end - -function SNESFASGetInterpolation(arg1::SNES,arg2::Integer,arg3::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:SNESFASGetInterpolation,petscRealDouble),PetscErrorCode,(SNES,Int64,Ptr{Mat{Float64}}),arg1,arg2,arg3) - return err -end - -function SNESFASSetRestriction(arg1::SNES,arg2::Integer,arg3::Mat{Float64}) - err = ccall((:SNESFASSetRestriction,petscRealDouble),PetscErrorCode,(SNES,Int64,Mat{Float64}),arg1,arg2,arg3) - return err -end - -function SNESFASGetRestriction(arg1::SNES,arg2::Integer,arg3::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:SNESFASGetRestriction,petscRealDouble),PetscErrorCode,(SNES,Int64,Ptr{Mat{Float64}}),arg1,arg2,arg3) - return err -end - -function SNESFASSetInjection(arg1::SNES,arg2::Integer,arg3::Mat{Float64}) - err = ccall((:SNESFASSetInjection,petscRealDouble),PetscErrorCode,(SNES,Int64,Mat{Float64}),arg1,arg2,arg3) - return err -end - -function SNESFASGetInjection(arg1::SNES,arg2::Integer,arg3::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}}) - err = ccall((:SNESFASGetInjection,petscRealDouble),PetscErrorCode,(SNES,Int64,Ptr{Mat{Float64}}),arg1,arg2,arg3) - return err -end - -function SNESFASSetRScale(arg1::SNES,arg2::Integer,arg3::Vec{Float64}) - err = ccall((:SNESFASSetRScale,petscRealDouble),PetscErrorCode,(SNES,Int64,Vec{Float64}),arg1,arg2,arg3) - return err -end - -function SNESFASGetRScale(arg1::SNES,arg2::Integer,arg3::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:SNESFASGetRScale,petscRealDouble),PetscErrorCode,(SNES,Int64,Ptr{Vec{Float64}}),arg1,arg2,arg3) - return err -end - -function SNESFASSetContinuation(arg0::Type{Float64},arg1::SNES,arg2::PetscBool) - err = ccall((:SNESFASSetContinuation,petscRealDouble),PetscErrorCode,(SNES,PetscBool),arg1,arg2) - return err -end - -function SNESFASGetSmoother(arg0::Type{Float64},arg1::SNES,arg2::Integer,arg3::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}}) - err = ccall((:SNESFASGetSmoother,petscRealDouble),PetscErrorCode,(SNES,Int64,Ptr{SNES}),arg1,arg2,arg3) - return err -end - -function SNESFASGetSmootherUp(arg0::Type{Float64},arg1::SNES,arg2::Integer,arg3::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}}) - err = ccall((:SNESFASGetSmootherUp,petscRealDouble),PetscErrorCode,(SNES,Int64,Ptr{SNES}),arg1,arg2,arg3) - return err -end - -function SNESFASGetSmootherDown(arg0::Type{Float64},arg1::SNES,arg2::Integer,arg3::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}}) - err = ccall((:SNESFASGetSmootherDown,petscRealDouble),PetscErrorCode,(SNES,Int64,Ptr{SNES}),arg1,arg2,arg3) - return err -end - -function SNESFASGetCoarseSolve(arg0::Type{Float64},arg1::SNES,arg2::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}}) - err = ccall((:SNESFASGetCoarseSolve,petscRealDouble),PetscErrorCode,(SNES,Ptr{SNES}),arg1,arg2) - return err -end - -function SNESFASFullSetDownSweep(arg0::Type{Float64},arg1::SNES,arg2::PetscBool) - err = ccall((:SNESFASFullSetDownSweep,petscRealDouble),PetscErrorCode,(SNES,PetscBool),arg1,arg2) - return err -end - -function SNESFASCreateCoarseVec(arg1::SNES,arg2::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:SNESFASCreateCoarseVec,petscRealDouble),PetscErrorCode,(SNES,Ptr{Vec{Float64}}),arg1,arg2) - return err -end - -function SNESFASRestrict(arg1::SNES,arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:SNESFASRestrict,petscRealDouble),PetscErrorCode,(SNES,Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function DMSNESCheckFromOptions(arg1::SNES,arg2::Vec{Float64},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:DMSNESCheckFromOptions,petscRealDouble),PetscErrorCode,(SNES,Vec{Float64},Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4) - return err -end - -function TSInitializePackage(arg0::Type{Float64}) - err = ccall((:TSInitializePackage,petscRealDouble),PetscErrorCode,()) - return err -end - -function TSCreate(arg1::MPI_Comm,arg2::Union{Ptr{TS{Float64}},StridedArray{TS{Float64}},Ptr{TS{Float64}},Ref{TS{Float64}}}) - err = ccall((:TSCreate,petscRealDouble),PetscErrorCode,(comm_type,Ptr{TS{Float64}}),arg1,arg2) - return err -end - -function TSClone(arg1::TS{Float64},arg2::Union{Ptr{TS{Float64}},StridedArray{TS{Float64}},Ptr{TS{Float64}},Ref{TS{Float64}}}) - err = ccall((:TSClone,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{TS{Float64}}),arg1,arg2) - return err -end - -function TSDestroy(arg1::Union{Ptr{TS{Float64}},StridedArray{TS{Float64}},Ptr{TS{Float64}},Ref{TS{Float64}}}) - err = ccall((:TSDestroy,petscRealDouble),PetscErrorCode,(Ptr{TS{Float64}},),arg1) - return err -end - -function TSSetProblemType(arg1::TS{Float64},arg2::TSProblemType) - err = ccall((:TSSetProblemType,petscRealDouble),PetscErrorCode,(TS{Float64},TSProblemType),arg1,arg2) - return err -end - -function TSGetProblemType(arg1::TS{Float64},arg2::Union{Ptr{TSProblemType},StridedArray{TSProblemType},Ptr{TSProblemType},Ref{TSProblemType}}) - err = ccall((:TSGetProblemType,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{TSProblemType}),arg1,arg2) - return err -end - -function TSMonitor(arg1::TS{Float64},arg2::Integer,arg3::Float64,arg4::Vec{Float64}) - err = ccall((:TSMonitor,petscRealDouble),PetscErrorCode,(TS{Float64},Int64,Float64,Vec{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function TSMonitorSet(arg1::TS{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorSet,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function TSMonitorCancel(arg1::TS{Float64}) - err = ccall((:TSMonitorCancel,petscRealDouble),PetscErrorCode,(TS{Float64},),arg1) - return err -end - -function TSSetOptionsPrefix(arg1::TS{Float64},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:TSSetOptionsPrefix,petscRealDouble),PetscErrorCode,(TS{Float64},Cstring),arg1,arg2) - return err -end - -function TSAppendOptionsPrefix(arg1::TS{Float64},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:TSAppendOptionsPrefix,petscRealDouble),PetscErrorCode,(TS{Float64},Cstring),arg1,arg2) - return err -end - -function TSGetOptionsPrefix(arg1::TS{Float64},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:TSGetOptionsPrefix,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function TSSetFromOptions(arg1::TS{Float64}) - err = ccall((:TSSetFromOptions,petscRealDouble),PetscErrorCode,(TS{Float64},),arg1) - return err -end - -function TSSetUp(arg1::TS{Float64}) - err = ccall((:TSSetUp,petscRealDouble),PetscErrorCode,(TS{Float64},),arg1) - return err -end - -function TSReset(arg1::TS{Float64}) - err = ccall((:TSReset,petscRealDouble),PetscErrorCode,(TS{Float64},),arg1) - return err -end - -function TSSetSolution(arg1::TS{Float64},arg2::Vec{Float64}) - err = ccall((:TSSetSolution,petscRealDouble),PetscErrorCode,(TS{Float64},Vec{Float64}),arg1,arg2) - return err -end - -function TSGetSolution(arg1::TS{Float64},arg2::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:TSGetSolution,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Vec{Float64}}),arg1,arg2) - return err -end - -function TSSetSaveTrajectory(arg1::TS{Float64}) - err = ccall((:TSSetSaveTrajectory,petscRealDouble),PetscErrorCode,(TS{Float64},),arg1) - return err -end - -function TSTrajectoryCreate(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{TSTrajectory},StridedArray{TSTrajectory},Ptr{TSTrajectory},Ref{TSTrajectory}}) - err = ccall((:TSTrajectoryCreate,petscRealDouble),PetscErrorCode,(comm_type,Ptr{TSTrajectory}),arg1,arg2) - return err -end - -function TSTrajectoryDestroy(arg0::Type{Float64},arg1::Union{Ptr{TSTrajectory},StridedArray{TSTrajectory},Ptr{TSTrajectory},Ref{TSTrajectory}}) - err = ccall((:TSTrajectoryDestroy,petscRealDouble),PetscErrorCode,(Ptr{TSTrajectory},),arg1) - return err -end - -function TSTrajectorySetType(arg0::Type{Float64},arg1::TSTrajectory,arg2::TSTrajectoryType) - err = ccall((:TSTrajectorySetType,petscRealDouble),PetscErrorCode,(TSTrajectory,Cstring),arg1,arg2) - return err -end - -function TSTrajectorySet(arg1::TSTrajectory,arg2::TS{Float64},arg3::Integer,arg4::Float64,arg5::Vec{Float64}) - err = ccall((:TSTrajectorySet,petscRealDouble),PetscErrorCode,(TSTrajectory,TS{Float64},Int64,Float64,Vec{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSTrajectoryGet(arg1::TSTrajectory,arg2::TS{Float64},arg3::Integer,arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TSTrajectoryGet,petscRealDouble),PetscErrorCode,(TSTrajectory,TS{Float64},Int64,Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function TSTrajectorySetFromOptions(arg0::Type{Float64},arg1::TSTrajectory) - err = ccall((:TSTrajectorySetFromOptions,petscRealDouble),PetscErrorCode,(TSTrajectory,),arg1) - return err -end - -function TSTrajectoryRegisterAll(arg0::Type{Float64}) - err = ccall((:TSTrajectoryRegisterAll,petscRealDouble),PetscErrorCode,()) - return err -end - -function TSSetCostGradients(arg1::TS{Float64},arg2::Integer,arg3::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}},arg4::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:TSSetCostGradients,petscRealDouble),PetscErrorCode,(TS{Float64},Int64,Ptr{Vec{Float64}},Ptr{Vec{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function TSGetCostGradients(arg1::TS{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Vec{Float64}}},StridedArray{Ptr{Vec{Float64}}},Ptr{Ptr{Vec{Float64}}},Ref{Ptr{Vec{Float64}}}},arg4::Union{Ptr{Ptr{Vec{Float64}}},StridedArray{Ptr{Vec{Float64}}},Ptr{Ptr{Vec{Float64}}},Ref{Ptr{Vec{Float64}}}}) - err = ccall((:TSGetCostGradients,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Int64},Ptr{Ptr{Vec{Float64}}},Ptr{Ptr{Vec{Float64}}}),arg1,arg2,arg3,arg4) - return err -end - -function TSSetCostIntegrand(arg1::TS{Float64},arg2::Integer,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSSetCostIntegrand,petscRealDouble),PetscErrorCode,(TS{Float64},Int64,Ptr{Void},Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function TSGetCostIntegral(arg1::TS{Float64},arg2::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:TSGetCostIntegral,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Vec{Float64}}),arg1,arg2) - return err -end - -function TSAdjointSetRHSJacobian(arg1::TS{Float64},arg2::Mat{Float64},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSAdjointSetRHSJacobian,petscRealDouble),PetscErrorCode,(TS{Float64},Mat{Float64},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function TSAdjointSolve(arg1::TS{Float64}) - err = ccall((:TSAdjointSolve,petscRealDouble),PetscErrorCode,(TS{Float64},),arg1) - return err -end - -function TSAdjointSetSteps(arg1::TS{Float64},arg2::Integer) - err = ccall((:TSAdjointSetSteps,petscRealDouble),PetscErrorCode,(TS{Float64},Int64),arg1,arg2) - return err -end - -function TSAdjointComputeRHSJacobian(arg1::TS{Float64},arg2::Float64,arg3::Vec{Float64},arg4::Mat{Float64}) - err = ccall((:TSAdjointComputeRHSJacobian,petscRealDouble),PetscErrorCode,(TS{Float64},Float64,Vec{Float64},Mat{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function TSAdjointStep(arg1::TS{Float64}) - err = ccall((:TSAdjointStep,petscRealDouble),PetscErrorCode,(TS{Float64},),arg1) - return err -end - -function TSAdjointSetUp(arg1::TS{Float64}) - err = ccall((:TSAdjointSetUp,petscRealDouble),PetscErrorCode,(TS{Float64},),arg1) - return err -end - -function TSAdjointComputeDRDPFunction(arg1::TS{Float64},arg2::Float64,arg3::Vec{Float64},arg4::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:TSAdjointComputeDRDPFunction,petscRealDouble),PetscErrorCode,(TS{Float64},Float64,Vec{Float64},Ptr{Vec{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function TSAdjointComputeDRDYFunction(arg1::TS{Float64},arg2::Float64,arg3::Vec{Float64},arg4::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:TSAdjointComputeDRDYFunction,petscRealDouble),PetscErrorCode,(TS{Float64},Float64,Vec{Float64},Ptr{Vec{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function TSAdjointComputeCostIntegrand(arg1::TS{Float64},arg2::Float64,arg3::Vec{Float64},arg4::Vec{Float64}) - err = ccall((:TSAdjointComputeCostIntegrand,petscRealDouble),PetscErrorCode,(TS{Float64},Float64,Vec{Float64},Vec{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function TSSetDuration(arg1::TS{Float64},arg2::Integer,arg3::Float64) - err = ccall((:TSSetDuration,petscRealDouble),PetscErrorCode,(TS{Float64},Int64,Float64),arg1,arg2,arg3) - return err -end - -function TSGetDuration(arg1::TS{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TSGetDuration,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Int64},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function TSSetExactFinalTime(arg1::TS{Float64},arg2::TSExactFinalTimeOption) - err = ccall((:TSSetExactFinalTime,petscRealDouble),PetscErrorCode,(TS{Float64},TSExactFinalTimeOption),arg1,arg2) - return err -end - -function TSMonitorDefault(arg1::TS{Float64},arg2::Integer,arg3::Float64,arg4::Vec{Float64},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorDefault,petscRealDouble),PetscErrorCode,(TS{Float64},Int64,Float64,Vec{Float64},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSMonitorDrawCtxCreate(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Integer,arg9::Union{Ptr{TSMonitorDrawCtx},StridedArray{TSMonitorDrawCtx},Ptr{TSMonitorDrawCtx},Ref{TSMonitorDrawCtx}}) - err = ccall((:TSMonitorDrawCtxCreate,petscRealDouble),PetscErrorCode,(comm_type,Cstring,Cstring,Cint,Cint,Cint,Cint,Int64,Ptr{TSMonitorDrawCtx}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) - return err -end - -function TSMonitorDrawCtxDestroy(arg0::Type{Float64},arg1::Union{Ptr{TSMonitorDrawCtx},StridedArray{TSMonitorDrawCtx},Ptr{TSMonitorDrawCtx},Ref{TSMonitorDrawCtx}}) - err = ccall((:TSMonitorDrawCtxDestroy,petscRealDouble),PetscErrorCode,(Ptr{TSMonitorDrawCtx},),arg1) - return err -end - -function TSMonitorDrawSolution(arg1::TS{Float64},arg2::Integer,arg3::Float64,arg4::Vec{Float64},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorDrawSolution,petscRealDouble),PetscErrorCode,(TS{Float64},Int64,Float64,Vec{Float64},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSMonitorDrawSolutionPhase(arg1::TS{Float64},arg2::Integer,arg3::Float64,arg4::Vec{Float64},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorDrawSolutionPhase,petscRealDouble),PetscErrorCode,(TS{Float64},Int64,Float64,Vec{Float64},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSMonitorDrawError(arg1::TS{Float64},arg2::Integer,arg3::Float64,arg4::Vec{Float64},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorDrawError,petscRealDouble),PetscErrorCode,(TS{Float64},Int64,Float64,Vec{Float64},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSMonitorSolutionBinary(arg1::TS{Float64},arg2::Integer,arg3::Float64,arg4::Vec{Float64},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorSolutionBinary,petscRealDouble),PetscErrorCode,(TS{Float64},Int64,Float64,Vec{Float64},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSMonitorSolutionVTK(arg1::TS{Float64},arg2::Integer,arg3::Float64,arg4::Vec{Float64},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorSolutionVTK,petscRealDouble),PetscErrorCode,(TS{Float64},Int64,Float64,Vec{Float64},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSMonitorSolutionVTKDestroy(arg0::Type{Float64},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorSolutionVTKDestroy,petscRealDouble),PetscErrorCode,(Ptr{Void},),arg1) - return err -end - -function TSStep(arg1::TS{Float64}) - err = ccall((:TSStep,petscRealDouble),PetscErrorCode,(TS{Float64},),arg1) - return err -end - -function TSEvaluateStep(arg1::TS{Float64},arg2::Integer,arg3::Vec{Float64},arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:TSEvaluateStep,petscRealDouble),PetscErrorCode,(TS{Float64},Int64,Vec{Float64},Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function TSSolve(arg1::TS{Float64},arg2::Vec{Float64}) - err = ccall((:TSSolve,petscRealDouble),PetscErrorCode,(TS{Float64},Vec{Float64}),arg1,arg2) - return err -end - -function TSGetEquationType(arg1::TS{Float64},arg2::Union{Ptr{TSEquationType},StridedArray{TSEquationType},Ptr{TSEquationType},Ref{TSEquationType}}) - err = ccall((:TSGetEquationType,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{TSEquationType}),arg1,arg2) - return err -end - -function TSSetEquationType(arg1::TS{Float64},arg2::TSEquationType) - err = ccall((:TSSetEquationType,petscRealDouble),PetscErrorCode,(TS{Float64},TSEquationType),arg1,arg2) - return err -end - -function TSGetConvergedReason(arg1::TS{Float64},arg2::Union{Ptr{TSConvergedReason},StridedArray{TSConvergedReason},Ptr{TSConvergedReason},Ref{TSConvergedReason}}) - err = ccall((:TSGetConvergedReason,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{TSConvergedReason}),arg1,arg2) - return err -end - -function TSSetConvergedReason(arg1::TS{Float64},arg2::TSConvergedReason) - err = ccall((:TSSetConvergedReason,petscRealDouble),PetscErrorCode,(TS{Float64},TSConvergedReason),arg1,arg2) - return err -end - -function TSGetSolveTime(arg1::TS{Float64},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TSGetSolveTime,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Float64}),arg1,arg2) - return err -end - -function TSGetSNESIterations(arg1::TS{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:TSGetSNESIterations,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Int64}),arg1,arg2) - return err -end - -function TSGetKSPIterations(arg1::TS{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:TSGetKSPIterations,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Int64}),arg1,arg2) - return err -end - -function TSGetStepRejections(arg1::TS{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:TSGetStepRejections,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Int64}),arg1,arg2) - return err -end - -function TSSetMaxStepRejections(arg1::TS{Float64},arg2::Integer) - err = ccall((:TSSetMaxStepRejections,petscRealDouble),PetscErrorCode,(TS{Float64},Int64),arg1,arg2) - return err -end - -function TSGetSNESFailures(arg1::TS{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:TSGetSNESFailures,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Int64}),arg1,arg2) - return err -end - -function TSSetMaxSNESFailures(arg1::TS{Float64},arg2::Integer) - err = ccall((:TSSetMaxSNESFailures,petscRealDouble),PetscErrorCode,(TS{Float64},Int64),arg1,arg2) - return err -end - -function TSSetErrorIfStepFails(arg1::TS{Float64},arg2::PetscBool) - err = ccall((:TSSetErrorIfStepFails,petscRealDouble),PetscErrorCode,(TS{Float64},PetscBool),arg1,arg2) - return err -end - -function TSRollBack(arg1::TS{Float64}) - err = ccall((:TSRollBack,petscRealDouble),PetscErrorCode,(TS{Float64},),arg1) - return err -end - -function TSGetTotalSteps(arg1::TS{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:TSGetTotalSteps,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Int64}),arg1,arg2) - return err -end - -function TSGetStages(arg1::TS{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Vec{Float64}}},StridedArray{Ptr{Vec{Float64}}},Ptr{Ptr{Vec{Float64}}},Ref{Ptr{Vec{Float64}}}}) - err = ccall((:TSGetStages,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Int64},Ptr{Ptr{Vec{Float64}}}),arg1,arg2,arg3) - return err -end - -function TSSetInitialTimeStep(arg1::TS{Float64},arg2::Float64,arg3::Float64) - err = ccall((:TSSetInitialTimeStep,petscRealDouble),PetscErrorCode,(TS{Float64},Float64,Float64),arg1,arg2,arg3) - return err -end - -function TSGetTimeStep(arg1::TS{Float64},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TSGetTimeStep,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Float64}),arg1,arg2) - return err -end - -function TSGetTime(arg1::TS{Float64},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TSGetTime,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Float64}),arg1,arg2) - return err -end - -function TSSetTime(arg1::TS{Float64},arg2::Float64) - err = ccall((:TSSetTime,petscRealDouble),PetscErrorCode,(TS{Float64},Float64),arg1,arg2) - return err -end - -function TSGetTimeStepNumber(arg1::TS{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:TSGetTimeStepNumber,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Int64}),arg1,arg2) - return err -end - -function TSSetTimeStep(arg1::TS{Float64},arg2::Float64) - err = ccall((:TSSetTimeStep,petscRealDouble),PetscErrorCode,(TS{Float64},Float64),arg1,arg2) - return err -end - -function TSGetPrevTime(arg1::TS{Float64},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TSGetPrevTime,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Float64}),arg1,arg2) - return err -end - -function TSSetRHSFunction(arg1::TS{Float64},arg2::Vec{Float64},arg3::TSRHSFunction,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSSetRHSFunction,petscRealDouble),PetscErrorCode,(TS{Float64},Vec{Float64},TSRHSFunction,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function TSGetRHSFunction(arg1::TS{Float64},arg2::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}},arg3::Union{Ptr{TSRHSFunction},StridedArray{TSRHSFunction},Ptr{TSRHSFunction},Ref{TSRHSFunction}},arg4::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:TSGetRHSFunction,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Vec{Float64}},Ptr{TSRHSFunction},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4) - return err -end - -function TSSetRHSJacobian(arg1::TS{Float64},arg2::Mat{Float64},arg3::Mat{Float64},arg4::TSRHSJacobian,arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSSetRHSJacobian,petscRealDouble),PetscErrorCode,(TS{Float64},Mat{Float64},Mat{Float64},TSRHSJacobian,Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSGetRHSJacobian(arg1::TS{Float64},arg2::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}},arg3::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}},arg4::Union{Ptr{TSRHSJacobian},StridedArray{TSRHSJacobian},Ptr{TSRHSJacobian},Ref{TSRHSJacobian}},arg5::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:TSGetRHSJacobian,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Mat{Float64}},Ptr{Mat{Float64}},Ptr{TSRHSJacobian},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSRHSJacobianSetReuse(arg1::TS{Float64},arg2::PetscBool) - err = ccall((:TSRHSJacobianSetReuse,petscRealDouble),PetscErrorCode,(TS{Float64},PetscBool),arg1,arg2) - return err -end - -function TSSetSolutionFunction(arg1::TS{Float64},arg2::TSSolutionFunction,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSSetSolutionFunction,petscRealDouble),PetscErrorCode,(TS{Float64},TSSolutionFunction,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function TSSetForcingFunction(arg1::TS{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSSetForcingFunction,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function TSSetIFunction(arg1::TS{Float64},arg2::Vec{Float64},arg3::TSIFunction,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSSetIFunction,petscRealDouble),PetscErrorCode,(TS{Float64},Vec{Float64},TSIFunction,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function TSGetIFunction(arg1::TS{Float64},arg2::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}},arg3::Union{Ptr{TSIFunction},StridedArray{TSIFunction},Ptr{TSIFunction},Ref{TSIFunction}},arg4::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:TSGetIFunction,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Vec{Float64}},Ptr{TSIFunction},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4) - return err -end - -function TSSetIJacobian(arg1::TS{Float64},arg2::Mat{Float64},arg3::Mat{Float64},arg4::TSIJacobian,arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSSetIJacobian,petscRealDouble),PetscErrorCode,(TS{Float64},Mat{Float64},Mat{Float64},TSIJacobian,Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSGetIJacobian(arg1::TS{Float64},arg2::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}},arg3::Union{Ptr{Mat{Float64}},StridedArray{Mat{Float64}},Ptr{Mat{Float64}},Ref{Mat{Float64}}},arg4::Union{Ptr{TSIJacobian},StridedArray{TSIJacobian},Ptr{TSIJacobian},Ref{TSIJacobian}},arg5::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:TSGetIJacobian,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Mat{Float64}},Ptr{Mat{Float64}},Ptr{TSIJacobian},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSComputeRHSFunctionLinear(arg1::TS{Float64},arg2::Float64,arg3::Vec{Float64},arg4::Vec{Float64},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSComputeRHSFunctionLinear,petscRealDouble),PetscErrorCode,(TS{Float64},Float64,Vec{Float64},Vec{Float64},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSComputeRHSJacobianConstant(arg1::TS{Float64},arg2::Float64,arg3::Vec{Float64},arg4::Mat{Float64},arg5::Mat{Float64},arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSComputeRHSJacobianConstant,petscRealDouble),PetscErrorCode,(TS{Float64},Float64,Vec{Float64},Mat{Float64},Mat{Float64},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function TSComputeIFunctionLinear(arg1::TS{Float64},arg2::Float64,arg3::Vec{Float64},arg4::Vec{Float64},arg5::Vec{Float64},arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSComputeIFunctionLinear,petscRealDouble),PetscErrorCode,(TS{Float64},Float64,Vec{Float64},Vec{Float64},Vec{Float64},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function TSComputeIJacobianConstant(arg1::TS{Float64},arg2::Float64,arg3::Vec{Float64},arg4::Vec{Float64},arg5::Float64,arg6::Mat{Float64},arg7::Mat{Float64},arg8::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSComputeIJacobianConstant,petscRealDouble),PetscErrorCode,(TS{Float64},Float64,Vec{Float64},Vec{Float64},Float64,Mat{Float64},Mat{Float64},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function TSComputeSolutionFunction(arg1::TS{Float64},arg2::Float64,arg3::Vec{Float64}) - err = ccall((:TSComputeSolutionFunction,petscRealDouble),PetscErrorCode,(TS{Float64},Float64,Vec{Float64}),arg1,arg2,arg3) - return err -end - -function TSComputeForcingFunction(arg1::TS{Float64},arg2::Float64,arg3::Vec{Float64}) - err = ccall((:TSComputeForcingFunction,petscRealDouble),PetscErrorCode,(TS{Float64},Float64,Vec{Float64}),arg1,arg2,arg3) - return err -end - -function TSComputeIJacobianDefaultColor(arg1::TS{Float64},arg2::Float64,arg3::Vec{Float64},arg4::Vec{Float64},arg5::Float64,arg6::Mat{Float64},arg7::Mat{Float64},arg8::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSComputeIJacobianDefaultColor,petscRealDouble),PetscErrorCode,(TS{Float64},Float64,Vec{Float64},Vec{Float64},Float64,Mat{Float64},Mat{Float64},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function TSSetPreStep(arg1::TS{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSSetPreStep,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Void}),arg1,arg2) - return err -end - -function TSSetPreStage(arg1::TS{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSSetPreStage,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Void}),arg1,arg2) - return err -end - -function TSSetPostStage(arg1::TS{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSSetPostStage,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Void}),arg1,arg2) - return err -end - -function TSSetPostStep(arg1::TS{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSSetPostStep,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Void}),arg1,arg2) - return err -end - -function TSPreStep(arg1::TS{Float64}) - err = ccall((:TSPreStep,petscRealDouble),PetscErrorCode,(TS{Float64},),arg1) - return err -end - -function TSPreStage(arg1::TS{Float64},arg2::Float64) - err = ccall((:TSPreStage,petscRealDouble),PetscErrorCode,(TS{Float64},Float64),arg1,arg2) - return err -end - -function TSPostStage(arg1::TS{Float64},arg2::Float64,arg3::Integer,arg4::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:TSPostStage,petscRealDouble),PetscErrorCode,(TS{Float64},Float64,Int64,Ptr{Vec{Float64}}),arg1,arg2,arg3,arg4) - return err -end - -function TSPostStep(arg1::TS{Float64}) - err = ccall((:TSPostStep,petscRealDouble),PetscErrorCode,(TS{Float64},),arg1) - return err -end - -function TSSetRetainStages(arg1::TS{Float64},arg2::PetscBool) - err = ccall((:TSSetRetainStages,petscRealDouble),PetscErrorCode,(TS{Float64},PetscBool),arg1,arg2) - return err -end - -function TSInterpolate(arg1::TS{Float64},arg2::Float64,arg3::Vec{Float64}) - err = ccall((:TSInterpolate,petscRealDouble),PetscErrorCode,(TS{Float64},Float64,Vec{Float64}),arg1,arg2,arg3) - return err -end - -function TSSetTolerances(arg1::TS{Float64},arg2::Float64,arg3::Vec{Float64},arg4::Float64,arg5::Vec{Float64}) - err = ccall((:TSSetTolerances,petscRealDouble),PetscErrorCode,(TS{Float64},Float64,Vec{Float64},Float64,Vec{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSGetTolerances(arg1::TS{Float64},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:TSGetTolerances,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Float64},Ptr{Vec{Float64}},Ptr{Float64},Ptr{Vec{Float64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSErrorWeightedNormInfinity(arg1::TS{Float64},arg2::Vec{Float64},arg3::Vec{Float64},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TSErrorWeightedNormInfinity,petscRealDouble),PetscErrorCode,(TS{Float64},Vec{Float64},Vec{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function TSErrorWeightedNorm2(arg1::TS{Float64},arg2::Vec{Float64},arg3::Vec{Float64},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TSErrorWeightedNorm2,petscRealDouble),PetscErrorCode,(TS{Float64},Vec{Float64},Vec{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function TSErrorWeightedNorm(arg1::TS{Float64},arg2::Vec{Float64},arg3::Vec{Float64},arg4::NormType,arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TSErrorWeightedNorm,petscRealDouble),PetscErrorCode,(TS{Float64},Vec{Float64},Vec{Float64},NormType,Ptr{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSSetCFLTimeLocal(arg1::TS{Float64},arg2::Float64) - err = ccall((:TSSetCFLTimeLocal,petscRealDouble),PetscErrorCode,(TS{Float64},Float64),arg1,arg2) - return err -end - -function TSGetCFLTime(arg1::TS{Float64},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TSGetCFLTime,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Float64}),arg1,arg2) - return err -end - -function TSPseudoSetTimeStep(arg1::TS{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSPseudoSetTimeStep,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function TSPseudoTimeStepDefault(arg1::TS{Float64},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSPseudoTimeStepDefault,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Float64},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function TSPseudoComputeTimeStep(arg1::TS{Float64},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TSPseudoComputeTimeStep,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Float64}),arg1,arg2) - return err -end - -function TSPseudoSetMaxTimeStep(arg1::TS{Float64},arg2::Float64) - err = ccall((:TSPseudoSetMaxTimeStep,petscRealDouble),PetscErrorCode,(TS{Float64},Float64),arg1,arg2) - return err -end - -function TSPseudoSetVerifyTimeStep(arg1::TS{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSPseudoSetVerifyTimeStep,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function TSPseudoVerifyTimeStepDefault(arg1::TS{Float64},arg2::Vec{Float64},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:TSPseudoVerifyTimeStepDefault,petscRealDouble),PetscErrorCode,(TS{Float64},Vec{Float64},Ptr{Void},Ptr{Float64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSPseudoVerifyTimeStep(arg1::TS{Float64},arg2::Vec{Float64},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:TSPseudoVerifyTimeStep,petscRealDouble),PetscErrorCode,(TS{Float64},Vec{Float64},Ptr{Float64},Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function TSPseudoSetTimeStepIncrement(arg1::TS{Float64},arg2::Float64) - err = ccall((:TSPseudoSetTimeStepIncrement,petscRealDouble),PetscErrorCode,(TS{Float64},Float64),arg1,arg2) - return err -end - -function TSPseudoIncrementDtFromInitialDt(arg1::TS{Float64}) - err = ccall((:TSPseudoIncrementDtFromInitialDt,petscRealDouble),PetscErrorCode,(TS{Float64},),arg1) - return err -end - -function TSPythonSetType(arg1::TS{Float64},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:TSPythonSetType,petscRealDouble),PetscErrorCode,(TS{Float64},Cstring),arg1,arg2) - return err -end - -function TSComputeRHSFunction(arg1::TS{Float64},arg2::Float64,arg3::Vec{Float64},arg4::Vec{Float64}) - err = ccall((:TSComputeRHSFunction,petscRealDouble),PetscErrorCode,(TS{Float64},Float64,Vec{Float64},Vec{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function TSComputeRHSJacobian(arg1::TS{Float64},arg2::Float64,arg3::Vec{Float64},arg4::Mat{Float64},arg5::Mat{Float64}) - err = ccall((:TSComputeRHSJacobian,petscRealDouble),PetscErrorCode,(TS{Float64},Float64,Vec{Float64},Mat{Float64},Mat{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSComputeIFunction(arg1::TS{Float64},arg2::Float64,arg3::Vec{Float64},arg4::Vec{Float64},arg5::Vec{Float64},arg6::PetscBool) - err = ccall((:TSComputeIFunction,petscRealDouble),PetscErrorCode,(TS{Float64},Float64,Vec{Float64},Vec{Float64},Vec{Float64},PetscBool),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function TSComputeIJacobian(arg1::TS{Float64},arg2::Float64,arg3::Vec{Float64},arg4::Vec{Float64},arg5::Float64,arg6::Mat{Float64},arg7::Mat{Float64},arg8::PetscBool) - err = ccall((:TSComputeIJacobian,petscRealDouble),PetscErrorCode,(TS{Float64},Float64,Vec{Float64},Vec{Float64},Float64,Mat{Float64},Mat{Float64},PetscBool),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function TSComputeLinearStability(arg1::TS{Float64},arg2::Float64,arg3::Float64,arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TSComputeLinearStability,petscRealDouble),PetscErrorCode,(TS{Float64},Float64,Float64,Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSVISetVariableBounds(arg1::TS{Float64},arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:TSVISetVariableBounds,petscRealDouble),PetscErrorCode,(TS{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function DMTSSetRHSFunction(arg0::Type{Float64},arg1::DM,arg2::TSRHSFunction,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMTSSetRHSFunction,petscRealDouble),PetscErrorCode,(DM,TSRHSFunction,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMTSGetRHSFunction(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{TSRHSFunction},StridedArray{TSRHSFunction},Ptr{TSRHSFunction},Ref{TSRHSFunction}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:DMTSGetRHSFunction,petscRealDouble),PetscErrorCode,(DM,Ptr{TSRHSFunction},Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function DMTSSetRHSJacobian(arg0::Type{Float64},arg1::DM,arg2::TSRHSJacobian,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMTSSetRHSJacobian,petscRealDouble),PetscErrorCode,(DM,TSRHSJacobian,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMTSGetRHSJacobian(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{TSRHSJacobian},StridedArray{TSRHSJacobian},Ptr{TSRHSJacobian},Ref{TSRHSJacobian}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:DMTSGetRHSJacobian,petscRealDouble),PetscErrorCode,(DM,Ptr{TSRHSJacobian},Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function DMTSSetIFunction(arg0::Type{Float64},arg1::DM,arg2::TSIFunction,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMTSSetIFunction,petscRealDouble),PetscErrorCode,(DM,TSIFunction,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMTSGetIFunction(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{TSIFunction},StridedArray{TSIFunction},Ptr{TSIFunction},Ref{TSIFunction}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:DMTSGetIFunction,petscRealDouble),PetscErrorCode,(DM,Ptr{TSIFunction},Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function DMTSSetIJacobian(arg0::Type{Float64},arg1::DM,arg2::TSIJacobian,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMTSSetIJacobian,petscRealDouble),PetscErrorCode,(DM,TSIJacobian,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMTSGetIJacobian(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{TSIJacobian},StridedArray{TSIJacobian},Ptr{TSIJacobian},Ref{TSIJacobian}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:DMTSGetIJacobian,petscRealDouble),PetscErrorCode,(DM,Ptr{TSIJacobian},Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function DMTSSetSolutionFunction(arg0::Type{Float64},arg1::DM,arg2::TSSolutionFunction,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMTSSetSolutionFunction,petscRealDouble),PetscErrorCode,(DM,TSSolutionFunction,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMTSGetSolutionFunction(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{TSSolutionFunction},StridedArray{TSSolutionFunction},Ptr{TSSolutionFunction},Ref{TSSolutionFunction}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:DMTSGetSolutionFunction,petscRealDouble),PetscErrorCode,(DM,Ptr{TSSolutionFunction},Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function DMTSSetForcingFunction(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMTSSetForcingFunction,petscRealDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMTSGetForcingFunction(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:DMTSGetForcingFunction,petscRealDouble),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function DMTSGetMinRadius(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:DMTSGetMinRadius,petscRealDouble),PetscErrorCode,(DM,Ptr{Float64}),arg1,arg2) - return err -end - -function DMTSSetMinRadius(arg0::Type{Float64},arg1::DM,arg2::Float64) - err = ccall((:DMTSSetMinRadius,petscRealDouble),PetscErrorCode,(DM,Float64),arg1,arg2) - return err -end - -function DMTSCheckFromOptions(arg1::TS{Float64},arg2::Vec{Float64},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:DMTSCheckFromOptions,petscRealDouble),PetscErrorCode,(TS{Float64},Vec{Float64},Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4) - return err -end - -function DMTSSetIFunctionLocal(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMTSSetIFunctionLocal,petscRealDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMTSSetIJacobianLocal(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMTSSetIJacobianLocal,petscRealDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMTSSetRHSFunctionLocal(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMTSSetRHSFunctionLocal,petscRealDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMTSSetIFunctionSerialize(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMTSSetIFunctionSerialize,petscRealDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMTSSetIJacobianSerialize(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMTSSetIJacobianSerialize,petscRealDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMDATSSetRHSFunctionLocal(arg0::Type{Float64},arg1::DM,arg2::InsertMode,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDATSSetRHSFunctionLocal,petscRealDouble),PetscErrorCode,(DM,InsertMode,Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMDATSSetRHSJacobianLocal(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDATSSetRHSJacobianLocal,petscRealDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMDATSSetIFunctionLocal(arg0::Type{Float64},arg1::DM,arg2::InsertMode,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDATSSetIFunctionLocal,petscRealDouble),PetscErrorCode,(DM,InsertMode,Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMDATSSetIJacobianLocal(arg0::Type{Float64},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDATSSetIJacobianLocal,petscRealDouble),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMPlexTSGetGeometryFVM(arg1::DM,arg2::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}},arg3::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:DMPlexTSGetGeometryFVM,petscRealDouble),PetscErrorCode,(DM,Ptr{Vec{Float64}},Ptr{Vec{Float64}},Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function TSMonitorDMDARayDestroy(arg0::Type{Float64},arg1::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:TSMonitorDMDARayDestroy,petscRealDouble),PetscErrorCode,(Ptr{Ptr{Void}},),arg1) - return err -end - -function TSMonitorDMDARay(arg1::TS{Float64},arg2::Integer,arg3::Float64,arg4::Vec{Float64},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorDMDARay,petscRealDouble),PetscErrorCode,(TS{Float64},Int64,Float64,Vec{Float64},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSMonitorLGDMDARay(arg1::TS{Float64},arg2::Integer,arg3::Float64,arg4::Vec{Float64},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorLGDMDARay,petscRealDouble),PetscErrorCode,(TS{Float64},Int64,Float64,Vec{Float64},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSGetType(arg1::TS{Float64},arg2::Union{Ptr{TSType},StridedArray{TSType},Ptr{TSType},Ref{TSType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:TSGetType,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function TSSetType(arg1::TS{Float64},arg2::TSType) - err = ccall((:TSSetType,petscRealDouble),PetscErrorCode,(TS{Float64},Cstring),arg1,arg2) - return err -end - -function TSRegister(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSRegister,petscRealDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function TSGetSNES(arg1::TS{Float64},arg2::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}}) - err = ccall((:TSGetSNES,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{SNES}),arg1,arg2) - return err -end - -function TSSetSNES(arg1::TS{Float64},arg2::SNES) - err = ccall((:TSSetSNES,petscRealDouble),PetscErrorCode,(TS{Float64},SNES),arg1,arg2) - return err -end - -function TSGetKSP(arg1::TS{Float64},arg2::Union{Ptr{KSP{Float64}},StridedArray{KSP{Float64}},Ptr{KSP{Float64}},Ref{KSP{Float64}}}) - err = ccall((:TSGetKSP,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{KSP{Float64}}),arg1,arg2) - return err -end - -function TSView(arg1::TS{Float64},arg2::PetscViewer{Float64}) - err = ccall((:TSView,petscRealDouble),PetscErrorCode,(TS{Float64},PetscViewer{Float64}),arg1,arg2) - return err -end - -function TSLoad(arg1::TS{Float64},arg2::PetscViewer{Float64}) - err = ccall((:TSLoad,petscRealDouble),PetscErrorCode,(TS{Float64},PetscViewer{Float64}),arg1,arg2) - return err -end - -function TSViewFromOptions(A::TS{Float64},obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:TSViewFromOptions,petscRealDouble),PetscErrorCode,(TS{Float64},PetscObject,Cstring),A,obj,name) - return err -end - -function TSSetApplicationContext(arg1::TS{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSSetApplicationContext,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Void}),arg1,arg2) - return err -end - -function TSGetApplicationContext(arg1::TS{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSGetApplicationContext,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Void}),arg1,arg2) - return err -end - -function TSMonitorLGCtxCreate(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Integer,arg9::Union{Ptr{TSMonitorLGCtx},StridedArray{TSMonitorLGCtx},Ptr{TSMonitorLGCtx},Ref{TSMonitorLGCtx}}) - err = ccall((:TSMonitorLGCtxCreate,petscRealDouble),PetscErrorCode,(comm_type,Cstring,Cstring,Cint,Cint,Cint,Cint,Int64,Ptr{TSMonitorLGCtx}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) - return err -end - -function TSMonitorLGCtxDestroy(arg0::Type{Float64},arg1::Union{Ptr{TSMonitorLGCtx},StridedArray{TSMonitorLGCtx},Ptr{TSMonitorLGCtx},Ref{TSMonitorLGCtx}}) - err = ccall((:TSMonitorLGCtxDestroy,petscRealDouble),PetscErrorCode,(Ptr{TSMonitorLGCtx},),arg1) - return err -end - -function TSMonitorLGTimeStep(arg1::TS{Float64},arg2::Integer,arg3::Float64,arg4::Vec{Float64},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorLGTimeStep,petscRealDouble),PetscErrorCode,(TS{Float64},Int64,Float64,Vec{Float64},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSMonitorLGSolution(arg1::TS{Float64},arg2::Integer,arg3::Float64,arg4::Vec{Float64},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorLGSolution,petscRealDouble),PetscErrorCode,(TS{Float64},Int64,Float64,Vec{Float64},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSMonitorLGSetVariableNames(arg1::TS{Float64},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:TSMonitorLGSetVariableNames,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function TSMonitorLGGetVariableNames(arg1::TS{Float64},arg2::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}}) - err = ccall((:TSMonitorLGGetVariableNames,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Ptr{Ptr{UInt8}}}),arg1,arg2) - return err -end - -function TSMonitorLGCtxSetVariableNames(arg0::Type{Float64},arg1::TSMonitorLGCtx,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:TSMonitorLGCtxSetVariableNames,petscRealDouble),PetscErrorCode,(TSMonitorLGCtx,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function TSMonitorLGSetDisplayVariables(arg1::TS{Float64},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:TSMonitorLGSetDisplayVariables,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function TSMonitorLGCtxSetDisplayVariables(arg0::Type{Float64},arg1::TSMonitorLGCtx,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:TSMonitorLGCtxSetDisplayVariables,petscRealDouble),PetscErrorCode,(TSMonitorLGCtx,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function TSMonitorLGSetTransform(arg1::TS{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorLGSetTransform,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function TSMonitorLGCtxSetTransform(arg0::Type{Float64},arg1::TSMonitorLGCtx,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorLGCtxSetTransform,petscRealDouble),PetscErrorCode,(TSMonitorLGCtx,Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function TSMonitorLGError(arg1::TS{Float64},arg2::Integer,arg3::Float64,arg4::Vec{Float64},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorLGError,petscRealDouble),PetscErrorCode,(TS{Float64},Int64,Float64,Vec{Float64},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSMonitorLGSNESIterations(arg1::TS{Float64},arg2::Integer,arg3::Float64,arg4::Vec{Float64},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorLGSNESIterations,petscRealDouble),PetscErrorCode,(TS{Float64},Int64,Float64,Vec{Float64},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSMonitorLGKSPIterations(arg1::TS{Float64},arg2::Integer,arg3::Float64,arg4::Vec{Float64},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorLGKSPIterations,petscRealDouble),PetscErrorCode,(TS{Float64},Int64,Float64,Vec{Float64},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSMonitorEnvelopeCtxCreate(arg1::TS{Float64},arg2::Union{Ptr{TSMonitorEnvelopeCtx},StridedArray{TSMonitorEnvelopeCtx},Ptr{TSMonitorEnvelopeCtx},Ref{TSMonitorEnvelopeCtx}}) - err = ccall((:TSMonitorEnvelopeCtxCreate,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{TSMonitorEnvelopeCtx}),arg1,arg2) - return err -end - -function TSMonitorEnvelope(arg1::TS{Float64},arg2::Integer,arg3::Float64,arg4::Vec{Float64},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorEnvelope,petscRealDouble),PetscErrorCode,(TS{Float64},Int64,Float64,Vec{Float64},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSMonitorEnvelopeGetBounds(arg1::TS{Float64},arg2::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}},arg3::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:TSMonitorEnvelopeGetBounds,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Vec{Float64}},Ptr{Vec{Float64}}),arg1,arg2,arg3) - return err -end - -function TSMonitorEnvelopeCtxDestroy(arg0::Type{Float64},arg1::Union{Ptr{TSMonitorEnvelopeCtx},StridedArray{TSMonitorEnvelopeCtx},Ptr{TSMonitorEnvelopeCtx},Ref{TSMonitorEnvelopeCtx}}) - err = ccall((:TSMonitorEnvelopeCtxDestroy,petscRealDouble),PetscErrorCode,(Ptr{TSMonitorEnvelopeCtx},),arg1) - return err -end - -function TSMonitorSPEigCtxCreate(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Integer,arg9::Union{Ptr{TSMonitorSPEigCtx},StridedArray{TSMonitorSPEigCtx},Ptr{TSMonitorSPEigCtx},Ref{TSMonitorSPEigCtx}}) - err = ccall((:TSMonitorSPEigCtxCreate,petscRealDouble),PetscErrorCode,(comm_type,Cstring,Cstring,Cint,Cint,Cint,Cint,Int64,Ptr{TSMonitorSPEigCtx}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) - return err -end - -function TSMonitorSPEigCtxDestroy(arg0::Type{Float64},arg1::Union{Ptr{TSMonitorSPEigCtx},StridedArray{TSMonitorSPEigCtx},Ptr{TSMonitorSPEigCtx},Ref{TSMonitorSPEigCtx}}) - err = ccall((:TSMonitorSPEigCtxDestroy,petscRealDouble),PetscErrorCode,(Ptr{TSMonitorSPEigCtx},),arg1) - return err -end - -function TSMonitorSPEig(arg1::TS{Float64},arg2::Integer,arg3::Float64,arg4::Vec{Float64},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorSPEig,petscRealDouble),PetscErrorCode,(TS{Float64},Int64,Float64,Vec{Float64},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSSetEventMonitor(arg1::TS{Float64},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg7::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSSetEventMonitor,petscRealDouble),PetscErrorCode,(TS{Float64},Int64,Ptr{Int64},Ptr{PetscBool},Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function TSSetEventTolerances(arg1::TS{Float64},arg2::Float64,arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TSSetEventTolerances,petscRealDouble),PetscErrorCode,(TS{Float64},Float64,Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function TSSSPSetType(arg1::TS{Float64},arg2::TSSSPType) - err = ccall((:TSSSPSetType,petscRealDouble),PetscErrorCode,(TS{Float64},Cstring),arg1,arg2) - return err -end - -function TSSSPGetType(arg1::TS{Float64},arg2::Union{Ptr{TSSSPType},StridedArray{TSSSPType},Ptr{TSSSPType},Ref{TSSSPType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:TSSSPGetType,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function TSSSPSetNumStages(arg1::TS{Float64},arg2::Integer) - err = ccall((:TSSSPSetNumStages,petscRealDouble),PetscErrorCode,(TS{Float64},Int64),arg1,arg2) - return err -end - -function TSSSPGetNumStages(arg1::TS{Float64},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:TSSSPGetNumStages,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Int64}),arg1,arg2) - return err -end - -function TSSSPFinalizePackage(arg0::Type{Float64}) - err = ccall((:TSSSPFinalizePackage,petscRealDouble),PetscErrorCode,()) - return err -end - -function TSSSPInitializePackage(arg0::Type{Float64}) - err = ccall((:TSSSPInitializePackage,petscRealDouble),PetscErrorCode,()) - return err -end - -function TSGetAdapt(arg1::TS{Float64},arg2::Union{Ptr{TSAdapt},StridedArray{TSAdapt},Ptr{TSAdapt},Ref{TSAdapt}}) - err = ccall((:TSGetAdapt,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{TSAdapt}),arg1,arg2) - return err -end - -function TSAdaptRegister(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSAdaptRegister,petscRealDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function TSAdaptInitializePackage(arg0::Type{Float64}) - err = ccall((:TSAdaptInitializePackage,petscRealDouble),PetscErrorCode,()) - return err -end - -function TSAdaptFinalizePackage(arg0::Type{Float64}) - err = ccall((:TSAdaptFinalizePackage,petscRealDouble),PetscErrorCode,()) - return err -end - -function TSAdaptCreate(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{TSAdapt},StridedArray{TSAdapt},Ptr{TSAdapt},Ref{TSAdapt}}) - err = ccall((:TSAdaptCreate,petscRealDouble),PetscErrorCode,(comm_type,Ptr{TSAdapt}),arg1,arg2) - return err -end - -function TSAdaptSetType(arg0::Type{Float64},arg1::TSAdapt,arg2::TSAdaptType) - err = ccall((:TSAdaptSetType,petscRealDouble),PetscErrorCode,(TSAdapt,Cstring),arg1,arg2) - return err -end - -function TSAdaptSetOptionsPrefix(arg0::Type{Float64},arg1::TSAdapt,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:TSAdaptSetOptionsPrefix,petscRealDouble),PetscErrorCode,(TSAdapt,Cstring),arg1,arg2) - return err -end - -function TSAdaptCandidatesClear(arg0::Type{Float64},arg1::TSAdapt) - err = ccall((:TSAdaptCandidatesClear,petscRealDouble),PetscErrorCode,(TSAdapt,),arg1) - return err -end - -function TSAdaptCandidateAdd(arg0::Type{Float64},arg1::TSAdapt,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::Integer,arg5::Float64,arg6::Float64,arg7::PetscBool) - err = ccall((:TSAdaptCandidateAdd,petscRealDouble),PetscErrorCode,(TSAdapt,Cstring,Int64,Int64,Float64,Float64,PetscBool),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function TSAdaptCandidatesGet(arg0::Type{Float64},arg1::TSAdapt,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg5::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg6::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}}) - err = ccall((:TSAdaptCandidatesGet,petscRealDouble),PetscErrorCode,(TSAdapt,Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}},Ptr{Ptr{Float64}},Ptr{Ptr{Float64}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function TSAdaptChoose(arg1::TSAdapt,arg2::TS{Float64},arg3::Float64,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:TSAdaptChoose,petscRealDouble),PetscErrorCode,(TSAdapt,TS{Float64},Float64,Ptr{Int64},Ptr{Float64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function TSAdaptCheckStage(arg1::TSAdapt,arg2::TS{Float64},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:TSAdaptCheckStage,petscRealDouble),PetscErrorCode,(TSAdapt,TS{Float64},Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function TSAdaptView(arg1::TSAdapt,arg2::PetscViewer{Float64}) - err = ccall((:TSAdaptView,petscRealDouble),PetscErrorCode,(TSAdapt,PetscViewer{Float64}),arg1,arg2) - return err -end - -function TSAdaptLoad(arg1::TSAdapt,arg2::PetscViewer{Float64}) - err = ccall((:TSAdaptLoad,petscRealDouble),PetscErrorCode,(TSAdapt,PetscViewer{Float64}),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function TSAdaptSetFromOptions(arg0::Type{Float64},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::TSAdapt) - ccall((:TSAdaptSetFromOptions,petscRealDouble),PetscErrorCode,(Ptr{PetscOptions},TSAdapt),arg1,arg2) -end -=# -function TSAdaptReset(arg0::Type{Float64},arg1::TSAdapt) - err = ccall((:TSAdaptReset,petscRealDouble),PetscErrorCode,(TSAdapt,),arg1) - return err -end - -function TSAdaptDestroy(arg0::Type{Float64},arg1::Union{Ptr{TSAdapt},StridedArray{TSAdapt},Ptr{TSAdapt},Ref{TSAdapt}}) - err = ccall((:TSAdaptDestroy,petscRealDouble),PetscErrorCode,(Ptr{TSAdapt},),arg1) - return err -end - -function TSAdaptSetMonitor(arg0::Type{Float64},arg1::TSAdapt,arg2::PetscBool) - err = ccall((:TSAdaptSetMonitor,petscRealDouble),PetscErrorCode,(TSAdapt,PetscBool),arg1,arg2) - return err -end - -function TSAdaptSetStepLimits(arg0::Type{Float64},arg1::TSAdapt,arg2::Float64,arg3::Float64) - err = ccall((:TSAdaptSetStepLimits,petscRealDouble),PetscErrorCode,(TSAdapt,Float64,Float64),arg1,arg2,arg3) - return err -end - -function TSAdaptSetCheckStage(arg0::Type{Float64},arg1::TSAdapt,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSAdaptSetCheckStage,petscRealDouble),PetscErrorCode,(TSAdapt,Ptr{Void}),arg1,arg2) - return err -end - -function TSGLAdaptRegister(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSGLAdaptRegister,petscRealDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function TSGLAdaptInitializePackage(arg0::Type{Float64}) - err = ccall((:TSGLAdaptInitializePackage,petscRealDouble),PetscErrorCode,()) - return err -end - -function TSGLAdaptFinalizePackage(arg0::Type{Float64}) - err = ccall((:TSGLAdaptFinalizePackage,petscRealDouble),PetscErrorCode,()) - return err -end - -function TSGLAdaptCreate(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{TSGLAdapt},StridedArray{TSGLAdapt},Ptr{TSGLAdapt},Ref{TSGLAdapt}}) - err = ccall((:TSGLAdaptCreate,petscRealDouble),PetscErrorCode,(comm_type,Ptr{TSGLAdapt}),arg1,arg2) - return err -end - -function TSGLAdaptSetType(arg0::Type{Float64},arg1::TSGLAdapt,arg2::TSGLAdaptType) - err = ccall((:TSGLAdaptSetType,petscRealDouble),PetscErrorCode,(TSGLAdapt,Cstring),arg1,arg2) - return err -end - -function TSGLAdaptSetOptionsPrefix(arg0::Type{Float64},arg1::TSGLAdapt,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:TSGLAdaptSetOptionsPrefix,petscRealDouble),PetscErrorCode,(TSGLAdapt,Cstring),arg1,arg2) - return err -end - -function TSGLAdaptChoose(arg0::Type{Float64},arg1::TSGLAdapt,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Integer,arg7::Float64,arg8::Float64,arg9::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg10::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg11::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:TSGLAdaptChoose,petscRealDouble),PetscErrorCode,(TSGLAdapt,Int64,Ptr{Int64},Ptr{Float64},Ptr{Float64},Int64,Float64,Float64,Ptr{Int64},Ptr{Float64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) - return err -end - -function TSGLAdaptView(arg1::TSGLAdapt,arg2::PetscViewer{Float64}) - err = ccall((:TSGLAdaptView,petscRealDouble),PetscErrorCode,(TSGLAdapt,PetscViewer{Float64}),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function TSGLAdaptSetFromOptions(arg0::Type{Float64},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::TSGLAdapt) - ccall((:TSGLAdaptSetFromOptions,petscRealDouble),PetscErrorCode,(Ptr{PetscOptions},TSGLAdapt),arg1,arg2) -end -=# -function TSGLAdaptDestroy(arg0::Type{Float64},arg1::Union{Ptr{TSGLAdapt},StridedArray{TSGLAdapt},Ptr{TSGLAdapt},Ref{TSGLAdapt}}) - err = ccall((:TSGLAdaptDestroy,petscRealDouble),PetscErrorCode,(Ptr{TSGLAdapt},),arg1) - return err -end - -function TSGLAcceptRegister(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::TSGLAcceptFunction) - err = ccall((:TSGLAcceptRegister,petscRealDouble),PetscErrorCode,(Cstring,TSGLAcceptFunction),arg1,arg2) - return err -end - -function TSGLRegister(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSGLRegister,petscRealDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function TSGLInitializePackage(arg0::Type{Float64}) - err = ccall((:TSGLInitializePackage,petscRealDouble),PetscErrorCode,()) - return err -end - -function TSGLFinalizePackage(arg0::Type{Float64}) - err = ccall((:TSGLFinalizePackage,petscRealDouble),PetscErrorCode,()) - return err -end - -function TSGLSetType(arg1::TS{Float64},arg2::TSGLType) - err = ccall((:TSGLSetType,petscRealDouble),PetscErrorCode,(TS{Float64},Cstring),arg1,arg2) - return err -end - -function TSGLGetAdapt(arg1::TS{Float64},arg2::Union{Ptr{TSGLAdapt},StridedArray{TSGLAdapt},Ptr{TSGLAdapt},Ref{TSGLAdapt}}) - err = ccall((:TSGLGetAdapt,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{TSGLAdapt}),arg1,arg2) - return err -end - -function TSGLSetAcceptType(arg1::TS{Float64},arg2::TSGLAcceptType) - err = ccall((:TSGLSetAcceptType,petscRealDouble),PetscErrorCode,(TS{Float64},Cstring),arg1,arg2) - return err -end - -function TSEIMEXSetMaxRows(ts::TS{Float64},arg1::Integer) - err = ccall((:TSEIMEXSetMaxRows,petscRealDouble),PetscErrorCode,(TS{Float64},Int64),ts,arg1) - return err -end - -function TSEIMEXSetRowCol(ts::TS{Float64},arg1::Integer,arg2::Integer) - err = ccall((:TSEIMEXSetRowCol,petscRealDouble),PetscErrorCode,(TS{Float64},Int64,Int64),ts,arg1,arg2) - return err -end - -function TSEIMEXSetOrdAdapt(arg1::TS{Float64},arg2::PetscBool) - err = ccall((:TSEIMEXSetOrdAdapt,petscRealDouble),PetscErrorCode,(TS{Float64},PetscBool),arg1,arg2) - return err -end - -function TSRKGetType(ts::TS{Float64},arg1::Union{Ptr{TSRKType},StridedArray{TSRKType},Ptr{TSRKType},Ref{TSRKType}}) - (arg1_,tmp) = symbol_get_before(arg1) - err = ccall((:TSRKGetType,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Ptr{UInt8}}),ts,arg1_) - symbol_get_after(arg1_,arg1) - return err -end - -function TSRKSetType(ts::TS{Float64},arg1::TSRKType) - err = ccall((:TSRKSetType,petscRealDouble),PetscErrorCode,(TS{Float64},Cstring),ts,arg1) - return err -end - -function TSRKSetFullyImplicit(arg1::TS{Float64},arg2::PetscBool) - err = ccall((:TSRKSetFullyImplicit,petscRealDouble),PetscErrorCode,(TS{Float64},PetscBool),arg1,arg2) - return err -end - -function TSRKRegister(arg0::Type{Float64},arg1::TSRKType,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg7::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg8::Integer,arg9::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TSRKRegister,petscRealDouble),PetscErrorCode,(Cstring,Int64,Int64,Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64},Int64,Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) - return err -end - -function TSRKFinalizePackage(arg0::Type{Float64}) - err = ccall((:TSRKFinalizePackage,petscRealDouble),PetscErrorCode,()) - return err -end - -function TSRKInitializePackage(arg0::Type{Float64}) - err = ccall((:TSRKInitializePackage,petscRealDouble),PetscErrorCode,()) - return err -end - -function TSRKRegisterDestroy(arg0::Type{Float64}) - err = ccall((:TSRKRegisterDestroy,petscRealDouble),PetscErrorCode,()) - return err -end - -function TSARKIMEXGetType(ts::TS{Float64},arg1::Union{Ptr{TSARKIMEXType},StridedArray{TSARKIMEXType},Ptr{TSARKIMEXType},Ref{TSARKIMEXType}}) - (arg1_,tmp) = symbol_get_before(arg1) - err = ccall((:TSARKIMEXGetType,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Ptr{UInt8}}),ts,arg1_) - symbol_get_after(arg1_,arg1) - return err -end - -function TSARKIMEXSetType(ts::TS{Float64},arg1::TSARKIMEXType) - err = ccall((:TSARKIMEXSetType,petscRealDouble),PetscErrorCode,(TS{Float64},Cstring),ts,arg1) - return err -end - -function TSARKIMEXSetFullyImplicit(arg1::TS{Float64},arg2::PetscBool) - err = ccall((:TSARKIMEXSetFullyImplicit,petscRealDouble),PetscErrorCode,(TS{Float64},PetscBool),arg1,arg2) - return err -end - -function TSARKIMEXRegister(arg0::Type{Float64},arg1::TSARKIMEXType,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg7::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg8::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg9::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg10::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg11::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg12::Integer,arg13::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg14::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TSARKIMEXRegister,petscRealDouble),PetscErrorCode,(Cstring,Int64,Int64,Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64},Int64,Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14) - return err -end - -function TSARKIMEXFinalizePackage(arg0::Type{Float64}) - err = ccall((:TSARKIMEXFinalizePackage,petscRealDouble),PetscErrorCode,()) - return err -end - -function TSARKIMEXInitializePackage(arg0::Type{Float64}) - err = ccall((:TSARKIMEXInitializePackage,petscRealDouble),PetscErrorCode,()) - return err -end - -function TSARKIMEXRegisterDestroy(arg0::Type{Float64}) - err = ccall((:TSARKIMEXRegisterDestroy,petscRealDouble),PetscErrorCode,()) - return err -end - -function TSRosWGetType(ts::TS{Float64},arg1::Union{Ptr{TSRosWType},StridedArray{TSRosWType},Ptr{TSRosWType},Ref{TSRosWType}}) - (arg1_,tmp) = symbol_get_before(arg1) - err = ccall((:TSRosWGetType,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Ptr{UInt8}}),ts,arg1_) - symbol_get_after(arg1_,arg1) - return err -end - -function TSRosWSetType(ts::TS{Float64},arg1::TSRosWType) - err = ccall((:TSRosWSetType,petscRealDouble),PetscErrorCode,(TS{Float64},Cstring),ts,arg1) - return err -end - -function TSRosWSetRecomputeJacobian(arg1::TS{Float64},arg2::PetscBool) - err = ccall((:TSRosWSetRecomputeJacobian,petscRealDouble),PetscErrorCode,(TS{Float64},PetscBool),arg1,arg2) - return err -end - -function TSRosWRegister(arg0::Type{Float64},arg1::TSRosWType,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg7::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg8::Integer,arg9::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TSRosWRegister,petscRealDouble),PetscErrorCode,(Cstring,Int64,Int64,Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64},Int64,Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) - return err -end - -function TSRosWRegisterRos4(arg0::Type{Float64},arg1::TSRosWType,arg2::Float64,arg3::Float64,arg4::Float64,arg5::Float64,arg6::Float64) - err = ccall((:TSRosWRegisterRos4,petscRealDouble),PetscErrorCode,(Cstring,Float64,Float64,Float64,Float64,Float64),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function TSRosWFinalizePackage(arg0::Type{Float64}) - err = ccall((:TSRosWFinalizePackage,petscRealDouble),PetscErrorCode,()) - return err -end - -function TSRosWInitializePackage(arg0::Type{Float64}) - err = ccall((:TSRosWInitializePackage,petscRealDouble),PetscErrorCode,()) - return err -end - -function TSRosWRegisterDestroy(arg0::Type{Float64}) - err = ccall((:TSRosWRegisterDestroy,petscRealDouble),PetscErrorCode,()) - return err -end - -function TSThetaSetTheta(arg1::TS{Float64},arg2::Float64) - err = ccall((:TSThetaSetTheta,petscRealDouble),PetscErrorCode,(TS{Float64},Float64),arg1,arg2) - return err -end - -function TSThetaGetTheta(arg1::TS{Float64},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TSThetaGetTheta,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Float64}),arg1,arg2) - return err -end - -function TSThetaGetEndpoint(arg1::TS{Float64},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:TSThetaGetEndpoint,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{PetscBool}),arg1,arg2) - return err -end - -function TSThetaSetEndpoint(arg1::TS{Float64},arg2::PetscBool) - err = ccall((:TSThetaSetEndpoint,petscRealDouble),PetscErrorCode,(TS{Float64},PetscBool),arg1,arg2) - return err -end - -function TSAlphaSetAdapt(arg1::TS{Float64},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSAlphaSetAdapt,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function TSAlphaAdaptDefault(arg1::TS{Float64},arg2::Float64,arg3::Vec{Float64},arg4::Vec{Float64},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg7::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSAlphaAdaptDefault,petscRealDouble),PetscErrorCode,(TS{Float64},Float64,Vec{Float64},Vec{Float64},Ptr{Float64},Ptr{PetscBool},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function TSAlphaSetRadius(arg1::TS{Float64},arg2::Float64) - err = ccall((:TSAlphaSetRadius,petscRealDouble),PetscErrorCode,(TS{Float64},Float64),arg1,arg2) - return err -end - -function TSAlphaSetParams(arg1::TS{Float64},arg2::Float64,arg3::Float64,arg4::Float64) - err = ccall((:TSAlphaSetParams,petscRealDouble),PetscErrorCode,(TS{Float64},Float64,Float64,Float64),arg1,arg2,arg3,arg4) - return err -end - -function TSAlphaGetParams(arg1::TS{Float64},arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TSAlphaGetParams,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function TSSetDM(arg1::TS{Float64},arg2::DM) - err = ccall((:TSSetDM,petscRealDouble),PetscErrorCode,(TS{Float64},DM),arg1,arg2) - return err -end - -function TSGetDM(arg1::TS{Float64},arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:TSGetDM,petscRealDouble),PetscErrorCode,(TS{Float64},Ptr{DM}),arg1,arg2) - return err -end - -function SNESTSFormFunction(arg1::SNES,arg2::Vec{Float64},arg3::Vec{Float64},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESTSFormFunction,petscRealDouble),PetscErrorCode,(SNES,Vec{Float64},Vec{Float64},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESTSFormJacobian(arg1::SNES,arg2::Vec{Float64},arg3::Mat{Float64},arg4::Mat{Float64},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESTSFormJacobian,petscRealDouble),PetscErrorCode,(SNES,Vec{Float64},Mat{Float64},Mat{Float64},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function VecFischer(arg1::Vec{Float64},arg2::Vec{Float64},arg3::Vec{Float64},arg4::Vec{Float64},arg5::Vec{Float64}) - err = ccall((:VecFischer,petscRealDouble),PetscErrorCode,(Vec{Float64},Vec{Float64},Vec{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function VecSFischer(arg1::Vec{Float64},arg2::Vec{Float64},arg3::Vec{Float64},arg4::Vec{Float64},arg5::Float64,arg6::Vec{Float64}) - err = ccall((:VecSFischer,petscRealDouble),PetscErrorCode,(Vec{Float64},Vec{Float64},Vec{Float64},Vec{Float64},Float64,Vec{Float64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatDFischer(arg1::Mat{Float64},arg2::Vec{Float64},arg3::Vec{Float64},arg4::Vec{Float64},arg5::Vec{Float64},arg6::Vec{Float64},arg7::Vec{Float64},arg8::Vec{Float64},arg9::Vec{Float64}) - err = ccall((:MatDFischer,petscRealDouble),PetscErrorCode,(Mat{Float64},Vec{Float64},Vec{Float64},Vec{Float64},Vec{Float64},Vec{Float64},Vec{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) - return err -end - -function MatDSFischer(arg1::Mat{Float64},arg2::Vec{Float64},arg3::Vec{Float64},arg4::Vec{Float64},arg5::Vec{Float64},arg6::Float64,arg7::Vec{Float64},arg8::Vec{Float64},arg9::Vec{Float64},arg10::Vec{Float64},arg11::Vec{Float64}) - err = ccall((:MatDSFischer,petscRealDouble),PetscErrorCode,(Mat{Float64},Vec{Float64},Vec{Float64},Vec{Float64},Vec{Float64},Float64,Vec{Float64},Vec{Float64},Vec{Float64},Vec{Float64},Vec{Float64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) - return err -end - -function TaoInitializePackage(arg0::Type{Float64}) - err = ccall((:TaoInitializePackage,petscRealDouble),PetscErrorCode,()) - return err -end - -function TaoFinalizePackage(arg0::Type{Float64}) - err = ccall((:TaoFinalizePackage,petscRealDouble),PetscErrorCode,()) - return err -end - -function TaoCreate(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{Tao},StridedArray{Tao},Ptr{Tao},Ref{Tao}}) - err = ccall((:TaoCreate,petscRealDouble),PetscErrorCode,(comm_type,Ptr{Tao}),arg1,arg2) - return err -end - -function TaoSetFromOptions(arg0::Type{Float64},arg1::Tao) - err = ccall((:TaoSetFromOptions,petscRealDouble),PetscErrorCode,(Tao,),arg1) - return err -end - -function TaoSetUp(arg0::Type{Float64},arg1::Tao) - err = ccall((:TaoSetUp,petscRealDouble),PetscErrorCode,(Tao,),arg1) - return err -end - -function TaoSetType(arg0::Type{Float64},arg1::Tao,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:TaoSetType,petscRealDouble),PetscErrorCode,(Tao,Cstring),arg1,arg2) - return err -end - -function TaoGetType(arg0::Type{Float64},arg1::Tao,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:TaoGetType,petscRealDouble),PetscErrorCode,(Tao,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function TaoSetApplicationContext(arg0::Type{Float64},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetApplicationContext,petscRealDouble),PetscErrorCode,(Tao,Ptr{Void}),arg1,arg2) - return err -end - -function TaoGetApplicationContext(arg0::Type{Float64},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoGetApplicationContext,petscRealDouble),PetscErrorCode,(Tao,Ptr{Void}),arg1,arg2) - return err -end - -function TaoDestroy(arg0::Type{Float64},arg1::Union{Ptr{Tao},StridedArray{Tao},Ptr{Tao},Ref{Tao}}) - err = ccall((:TaoDestroy,petscRealDouble),PetscErrorCode,(Ptr{Tao},),arg1) - return err -end - -function TaoSetOptionsPrefix(arg0::Type{Float64},arg1::Tao,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:TaoSetOptionsPrefix,petscRealDouble),PetscErrorCode,(Tao,Cstring),arg1,arg2) - return err -end - -function TaoView(arg1::Tao,arg2::PetscViewer{Float64}) - err = ccall((:TaoView,petscRealDouble),PetscErrorCode,(Tao,PetscViewer{Float64}),arg1,arg2) - return err -end - -function TaoViewFromOptions(arg0::Type{Float64},A::Tao,obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:TaoViewFromOptions,petscRealDouble),PetscErrorCode,(Tao,PetscObject,Cstring),A,obj,name) - return err -end - -function TaoSolve(arg0::Type{Float64},arg1::Tao) - err = ccall((:TaoSolve,petscRealDouble),PetscErrorCode,(Tao,),arg1) - return err -end - -function TaoRegister(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoRegister,petscRealDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function TaoRegisterDestroy(arg0::Type{Float64}) - err = ccall((:TaoRegisterDestroy,petscRealDouble),PetscErrorCode,()) - return err -end - -function TaoGetConvergedReason(arg0::Type{Float64},arg1::Tao,arg2::Union{Ptr{TaoConvergedReason},StridedArray{TaoConvergedReason},Ptr{TaoConvergedReason},Ref{TaoConvergedReason}}) - err = ccall((:TaoGetConvergedReason,petscRealDouble),PetscErrorCode,(Tao,Ptr{TaoConvergedReason}),arg1,arg2) - return err -end - -function TaoGetSolutionStatus(arg0::Type{Float64},arg1::Tao,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg7::Union{Ptr{TaoConvergedReason},StridedArray{TaoConvergedReason},Ptr{TaoConvergedReason},Ref{TaoConvergedReason}}) - err = ccall((:TaoGetSolutionStatus,petscRealDouble),PetscErrorCode,(Tao,Ptr{Int64},Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{TaoConvergedReason}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function TaoSetConvergedReason(arg0::Type{Float64},arg1::Tao,arg2::TaoConvergedReason) - err = ccall((:TaoSetConvergedReason,petscRealDouble),PetscErrorCode,(Tao,TaoConvergedReason),arg1,arg2) - return err -end - -function TaoSetInitialVector(arg1::Tao,arg2::Vec{Float64}) - err = ccall((:TaoSetInitialVector,petscRealDouble),PetscErrorCode,(Tao,Vec{Float64}),arg1,arg2) - return err -end - -function TaoGetSolutionVector(arg1::Tao,arg2::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:TaoGetSolutionVector,petscRealDouble),PetscErrorCode,(Tao,Ptr{Vec{Float64}}),arg1,arg2) - return err -end - -function TaoGetGradientVector(arg1::Tao,arg2::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:TaoGetGradientVector,petscRealDouble),PetscErrorCode,(Tao,Ptr{Vec{Float64}}),arg1,arg2) - return err -end - -function TaoSetObjectiveRoutine(arg0::Type{Float64},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetObjectiveRoutine,petscRealDouble),PetscErrorCode,(Tao,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function TaoSetGradientRoutine(arg0::Type{Float64},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetGradientRoutine,petscRealDouble),PetscErrorCode,(Tao,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function TaoSetObjectiveAndGradientRoutine(arg0::Type{Float64},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetObjectiveAndGradientRoutine,petscRealDouble),PetscErrorCode,(Tao,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function TaoSetHessianRoutine(arg1::Tao,arg2::Mat{Float64},arg3::Mat{Float64},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetHessianRoutine,petscRealDouble),PetscErrorCode,(Tao,Mat{Float64},Mat{Float64},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TaoSetSeparableObjectiveRoutine(arg1::Tao,arg2::Vec{Float64},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetSeparableObjectiveRoutine,petscRealDouble),PetscErrorCode,(Tao,Vec{Float64},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function TaoSetConstraintsRoutine(arg1::Tao,arg2::Vec{Float64},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetConstraintsRoutine,petscRealDouble),PetscErrorCode,(Tao,Vec{Float64},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function TaoSetInequalityConstraintsRoutine(arg1::Tao,arg2::Vec{Float64},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetInequalityConstraintsRoutine,petscRealDouble),PetscErrorCode,(Tao,Vec{Float64},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function TaoSetEqualityConstraintsRoutine(arg1::Tao,arg2::Vec{Float64},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetEqualityConstraintsRoutine,petscRealDouble),PetscErrorCode,(Tao,Vec{Float64},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function TaoSetJacobianRoutine(arg1::Tao,arg2::Mat{Float64},arg3::Mat{Float64},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetJacobianRoutine,petscRealDouble),PetscErrorCode,(Tao,Mat{Float64},Mat{Float64},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TaoSetJacobianStateRoutine(arg1::Tao,arg2::Mat{Float64},arg3::Mat{Float64},arg4::Mat{Float64},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetJacobianStateRoutine,petscRealDouble),PetscErrorCode,(Tao,Mat{Float64},Mat{Float64},Mat{Float64},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function TaoSetJacobianDesignRoutine(arg1::Tao,arg2::Mat{Float64},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetJacobianDesignRoutine,petscRealDouble),PetscErrorCode,(Tao,Mat{Float64},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function TaoSetJacobianInequalityRoutine(arg1::Tao,arg2::Mat{Float64},arg3::Mat{Float64},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetJacobianInequalityRoutine,petscRealDouble),PetscErrorCode,(Tao,Mat{Float64},Mat{Float64},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TaoSetJacobianEqualityRoutine(arg1::Tao,arg2::Mat{Float64},arg3::Mat{Float64},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetJacobianEqualityRoutine,petscRealDouble),PetscErrorCode,(Tao,Mat{Float64},Mat{Float64},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TaoSetStateDesignIS(arg1::Tao,arg2::IS{Float64},arg3::IS{Float64}) - err = ccall((:TaoSetStateDesignIS,petscRealDouble),PetscErrorCode,(Tao,IS{Float64},IS{Float64}),arg1,arg2,arg3) - return err -end - -function TaoComputeObjective(arg1::Tao,arg2::Vec{Float64},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TaoComputeObjective,petscRealDouble),PetscErrorCode,(Tao,Vec{Float64},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function TaoComputeSeparableObjective(arg1::Tao,arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:TaoComputeSeparableObjective,petscRealDouble),PetscErrorCode,(Tao,Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function TaoComputeGradient(arg1::Tao,arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:TaoComputeGradient,petscRealDouble),PetscErrorCode,(Tao,Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function TaoComputeObjectiveAndGradient(arg1::Tao,arg2::Vec{Float64},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Vec{Float64}) - err = ccall((:TaoComputeObjectiveAndGradient,petscRealDouble),PetscErrorCode,(Tao,Vec{Float64},Ptr{Float64},Vec{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function TaoComputeConstraints(arg1::Tao,arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:TaoComputeConstraints,petscRealDouble),PetscErrorCode,(Tao,Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function TaoComputeInequalityConstraints(arg1::Tao,arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:TaoComputeInequalityConstraints,petscRealDouble),PetscErrorCode,(Tao,Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function TaoComputeEqualityConstraints(arg1::Tao,arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:TaoComputeEqualityConstraints,petscRealDouble),PetscErrorCode,(Tao,Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function TaoDefaultComputeGradient(arg1::Tao,arg2::Vec{Float64},arg3::Vec{Float64},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoDefaultComputeGradient,petscRealDouble),PetscErrorCode,(Tao,Vec{Float64},Vec{Float64},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function TaoIsObjectiveDefined(arg0::Type{Float64},arg1::Tao,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:TaoIsObjectiveDefined,petscRealDouble),PetscErrorCode,(Tao,Ptr{PetscBool}),arg1,arg2) - return err -end - -function TaoIsGradientDefined(arg0::Type{Float64},arg1::Tao,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:TaoIsGradientDefined,petscRealDouble),PetscErrorCode,(Tao,Ptr{PetscBool}),arg1,arg2) - return err -end - -function TaoIsObjectiveAndGradientDefined(arg0::Type{Float64},arg1::Tao,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:TaoIsObjectiveAndGradientDefined,petscRealDouble),PetscErrorCode,(Tao,Ptr{PetscBool}),arg1,arg2) - return err -end - -function TaoComputeHessian(arg1::Tao,arg2::Vec{Float64},arg3::Mat{Float64},arg4::Mat{Float64}) - err = ccall((:TaoComputeHessian,petscRealDouble),PetscErrorCode,(Tao,Vec{Float64},Mat{Float64},Mat{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function TaoComputeJacobian(arg1::Tao,arg2::Vec{Float64},arg3::Mat{Float64},arg4::Mat{Float64}) - err = ccall((:TaoComputeJacobian,petscRealDouble),PetscErrorCode,(Tao,Vec{Float64},Mat{Float64},Mat{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function TaoComputeJacobianState(arg1::Tao,arg2::Vec{Float64},arg3::Mat{Float64},arg4::Mat{Float64},arg5::Mat{Float64}) - err = ccall((:TaoComputeJacobianState,petscRealDouble),PetscErrorCode,(Tao,Vec{Float64},Mat{Float64},Mat{Float64},Mat{Float64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TaoComputeJacobianEquality(arg1::Tao,arg2::Vec{Float64},arg3::Mat{Float64},arg4::Mat{Float64}) - err = ccall((:TaoComputeJacobianEquality,petscRealDouble),PetscErrorCode,(Tao,Vec{Float64},Mat{Float64},Mat{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function TaoComputeJacobianInequality(arg1::Tao,arg2::Vec{Float64},arg3::Mat{Float64},arg4::Mat{Float64}) - err = ccall((:TaoComputeJacobianInequality,petscRealDouble),PetscErrorCode,(Tao,Vec{Float64},Mat{Float64},Mat{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function TaoComputeJacobianDesign(arg1::Tao,arg2::Vec{Float64},arg3::Mat{Float64}) - err = ccall((:TaoComputeJacobianDesign,petscRealDouble),PetscErrorCode,(Tao,Vec{Float64},Mat{Float64}),arg1,arg2,arg3) - return err -end - -function TaoDefaultComputeHessian(arg1::Tao,arg2::Vec{Float64},arg3::Mat{Float64},arg4::Mat{Float64},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoDefaultComputeHessian,petscRealDouble),PetscErrorCode,(Tao,Vec{Float64},Mat{Float64},Mat{Float64},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TaoDefaultComputeHessianColor(arg1::Tao,arg2::Vec{Float64},arg3::Mat{Float64},arg4::Mat{Float64},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoDefaultComputeHessianColor,petscRealDouble),PetscErrorCode,(Tao,Vec{Float64},Mat{Float64},Mat{Float64},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TaoComputeDualVariables(arg1::Tao,arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:TaoComputeDualVariables,petscRealDouble),PetscErrorCode,(Tao,Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function TaoComputeDualVariables(arg1::Tao,arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:TaoComputeDualVariables,petscRealDouble),PetscErrorCode,(Tao,Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function TaoSetVariableBounds(arg1::Tao,arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:TaoSetVariableBounds,petscRealDouble),PetscErrorCode,(Tao,Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function TaoGetVariableBounds(arg1::Tao,arg2::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}},arg3::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:TaoGetVariableBounds,petscRealDouble),PetscErrorCode,(Tao,Ptr{Vec{Float64}},Ptr{Vec{Float64}}),arg1,arg2,arg3) - return err -end - -function TaoGetDualVariables(arg1::Tao,arg2::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}},arg3::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:TaoGetDualVariables,petscRealDouble),PetscErrorCode,(Tao,Ptr{Vec{Float64}},Ptr{Vec{Float64}}),arg1,arg2,arg3) - return err -end - -function TaoSetInequalityBounds(arg1::Tao,arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:TaoSetInequalityBounds,petscRealDouble),PetscErrorCode,(Tao,Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function TaoGetInequalityBounds(arg1::Tao,arg2::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}},arg3::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:TaoGetInequalityBounds,petscRealDouble),PetscErrorCode,(Tao,Ptr{Vec{Float64}},Ptr{Vec{Float64}}),arg1,arg2,arg3) - return err -end - -function TaoSetVariableBoundsRoutine(arg0::Type{Float64},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetVariableBoundsRoutine,petscRealDouble),PetscErrorCode,(Tao,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function TaoComputeVariableBounds(arg0::Type{Float64},arg1::Tao) - err = ccall((:TaoComputeVariableBounds,petscRealDouble),PetscErrorCode,(Tao,),arg1) - return err -end - -function TaoGetTolerances(arg0::Type{Float64},arg1::Tao,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TaoGetTolerances,petscRealDouble),PetscErrorCode,(Tao,Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function TaoSetTolerances(arg0::Type{Float64},arg1::Tao,arg2::Float64,arg3::Float64,arg4::Float64,arg5::Float64,arg6::Float64) - err = ccall((:TaoSetTolerances,petscRealDouble),PetscErrorCode,(Tao,Float64,Float64,Float64,Float64,Float64),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function TaoGetConstraintTolerances(arg0::Type{Float64},arg1::Tao,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TaoGetConstraintTolerances,petscRealDouble),PetscErrorCode,(Tao,Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function TaoSetConstraintTolerances(arg0::Type{Float64},arg1::Tao,arg2::Float64,arg3::Float64) - err = ccall((:TaoSetConstraintTolerances,petscRealDouble),PetscErrorCode,(Tao,Float64,Float64),arg1,arg2,arg3) - return err -end - -function TaoSetFunctionLowerBound(arg0::Type{Float64},arg1::Tao,arg2::Float64) - err = ccall((:TaoSetFunctionLowerBound,petscRealDouble),PetscErrorCode,(Tao,Float64),arg1,arg2) - return err -end - -function TaoSetInitialTrustRegionRadius(arg0::Type{Float64},arg1::Tao,arg2::Float64) - err = ccall((:TaoSetInitialTrustRegionRadius,petscRealDouble),PetscErrorCode,(Tao,Float64),arg1,arg2) - return err -end - -function TaoSetMaximumIterations(arg0::Type{Float64},arg1::Tao,arg2::Integer) - err = ccall((:TaoSetMaximumIterations,petscRealDouble),PetscErrorCode,(Tao,Int64),arg1,arg2) - return err -end - -function TaoSetMaximumFunctionEvaluations(arg0::Type{Float64},arg1::Tao,arg2::Integer) - err = ccall((:TaoSetMaximumFunctionEvaluations,petscRealDouble),PetscErrorCode,(Tao,Int64),arg1,arg2) - return err -end - -function TaoGetFunctionLowerBound(arg0::Type{Float64},arg1::Tao,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TaoGetFunctionLowerBound,petscRealDouble),PetscErrorCode,(Tao,Ptr{Float64}),arg1,arg2) - return err -end - -function TaoGetInitialTrustRegionRadius(arg0::Type{Float64},arg1::Tao,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TaoGetInitialTrustRegionRadius,petscRealDouble),PetscErrorCode,(Tao,Ptr{Float64}),arg1,arg2) - return err -end - -function TaoGetCurrentTrustRegionRadius(arg0::Type{Float64},arg1::Tao,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TaoGetCurrentTrustRegionRadius,petscRealDouble),PetscErrorCode,(Tao,Ptr{Float64}),arg1,arg2) - return err -end - -function TaoGetMaximumIterations(arg0::Type{Float64},arg1::Tao,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:TaoGetMaximumIterations,petscRealDouble),PetscErrorCode,(Tao,Ptr{Int64}),arg1,arg2) - return err -end - -function TaoGetCurrentFunctionEvaluations(arg0::Type{Float64},arg1::Tao,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:TaoGetCurrentFunctionEvaluations,petscRealDouble),PetscErrorCode,(Tao,Ptr{Int64}),arg1,arg2) - return err -end - -function TaoGetMaximumFunctionEvaluations(arg0::Type{Float64},arg1::Tao,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:TaoGetMaximumFunctionEvaluations,petscRealDouble),PetscErrorCode,(Tao,Ptr{Int64}),arg1,arg2) - return err -end - -function TaoGetIterationNumber(arg0::Type{Float64},arg1::Tao,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:TaoGetIterationNumber,petscRealDouble),PetscErrorCode,(Tao,Ptr{Int64}),arg1,arg2) - return err -end - -function TaoSetIterationNumber(arg0::Type{Float64},arg1::Tao,arg2::Integer) - err = ccall((:TaoSetIterationNumber,petscRealDouble),PetscErrorCode,(Tao,Int64),arg1,arg2) - return err -end - -function TaoGetTotalIterationNumber(arg0::Type{Float64},arg1::Tao,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:TaoGetTotalIterationNumber,petscRealDouble),PetscErrorCode,(Tao,Ptr{Int64}),arg1,arg2) - return err -end - -function TaoSetTotalIterationNumber(arg0::Type{Float64},arg1::Tao,arg2::Integer) - err = ccall((:TaoSetTotalIterationNumber,petscRealDouble),PetscErrorCode,(Tao,Int64),arg1,arg2) - return err -end - -function TaoSetOptionsPrefix(arg0::Type{Float64},arg1::Tao,p::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:TaoSetOptionsPrefix,petscRealDouble),PetscErrorCode,(Tao,Cstring),arg1,p) - return err -end - -function TaoAppendOptionsPrefix(arg0::Type{Float64},arg1::Tao,p::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:TaoAppendOptionsPrefix,petscRealDouble),PetscErrorCode,(Tao,Cstring),arg1,p) - return err -end - -function TaoGetOptionsPrefix(arg0::Type{Float64},arg1::Tao,p::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:TaoGetOptionsPrefix,petscRealDouble),PetscErrorCode,(Tao,Ptr{Ptr{UInt8}}),arg1,p) - return err -end - -function TaoResetStatistics(arg0::Type{Float64},arg1::Tao) - err = ccall((:TaoResetStatistics,petscRealDouble),PetscErrorCode,(Tao,),arg1) - return err -end - -function TaoGetKSP(arg1::Tao,arg2::Union{Ptr{KSP{Float64}},StridedArray{KSP{Float64}},Ptr{KSP{Float64}},Ref{KSP{Float64}}}) - err = ccall((:TaoGetKSP,petscRealDouble),PetscErrorCode,(Tao,Ptr{KSP{Float64}}),arg1,arg2) - return err -end - -function TaoGetLinearSolveIterations(arg0::Type{Float64},arg1::Tao,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:TaoGetLinearSolveIterations,petscRealDouble),PetscErrorCode,(Tao,Ptr{Int64}),arg1,arg2) - return err -end - -function TaoLineSearchCreate(arg0::Type{Float64},arg1::MPI_Comm,arg2::Union{Ptr{TaoLineSearch},StridedArray{TaoLineSearch},Ptr{TaoLineSearch},Ref{TaoLineSearch}}) - err = ccall((:TaoLineSearchCreate,petscRealDouble),PetscErrorCode,(comm_type,Ptr{TaoLineSearch}),arg1,arg2) - return err -end - -function TaoLineSearchSetFromOptions(arg0::Type{Float64},arg1::TaoLineSearch) - err = ccall((:TaoLineSearchSetFromOptions,petscRealDouble),PetscErrorCode,(TaoLineSearch,),arg1) - return err -end - -function TaoLineSearchSetUp(arg0::Type{Float64},arg1::TaoLineSearch) - err = ccall((:TaoLineSearchSetUp,petscRealDouble),PetscErrorCode,(TaoLineSearch,),arg1) - return err -end - -function TaoLineSearchDestroy(arg0::Type{Float64},arg1::Union{Ptr{TaoLineSearch},StridedArray{TaoLineSearch},Ptr{TaoLineSearch},Ref{TaoLineSearch}}) - err = ccall((:TaoLineSearchDestroy,petscRealDouble),PetscErrorCode,(Ptr{TaoLineSearch},),arg1) - return err -end - -function TaoLineSearchView(arg1::TaoLineSearch,arg2::PetscViewer{Float64}) - err = ccall((:TaoLineSearchView,petscRealDouble),PetscErrorCode,(TaoLineSearch,PetscViewer{Float64}),arg1,arg2) - return err -end - -function TaoLineSearchViewFromOptions(arg0::Type{Float64},A::TaoLineSearch,obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:TaoLineSearchViewFromOptions,petscRealDouble),PetscErrorCode,(TaoLineSearch,PetscObject,Cstring),A,obj,name) - return err -end - -function TaoLineSearchSetOptionsPrefix(arg0::Type{Float64},arg1::TaoLineSearch,prefix::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:TaoLineSearchSetOptionsPrefix,petscRealDouble),PetscErrorCode,(TaoLineSearch,Cstring),arg1,prefix) - return err -end - -function TaoLineSearchReset(arg0::Type{Float64},arg1::TaoLineSearch) - err = ccall((:TaoLineSearchReset,petscRealDouble),PetscErrorCode,(TaoLineSearch,),arg1) - return err -end - -function TaoLineSearchAppendOptionsPrefix(arg0::Type{Float64},arg1::TaoLineSearch,prefix::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:TaoLineSearchAppendOptionsPrefix,petscRealDouble),PetscErrorCode,(TaoLineSearch,Cstring),arg1,prefix) - return err -end - -function TaoLineSearchGetOptionsPrefix(arg0::Type{Float64},arg1::TaoLineSearch,prefix::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:TaoLineSearchGetOptionsPrefix,petscRealDouble),PetscErrorCode,(TaoLineSearch,Ptr{Ptr{UInt8}}),arg1,prefix) - return err -end - -function TaoLineSearchApply(arg1::TaoLineSearch,arg2::Vec{Float64},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Vec{Float64},arg5::Vec{Float64},arg6::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg7::Union{Ptr{TaoLineSearchConvergedReason},StridedArray{TaoLineSearchConvergedReason},Ptr{TaoLineSearchConvergedReason},Ref{TaoLineSearchConvergedReason}}) - err = ccall((:TaoLineSearchApply,petscRealDouble),PetscErrorCode,(TaoLineSearch,Vec{Float64},Ptr{Float64},Vec{Float64},Vec{Float64},Ptr{Float64},Ptr{TaoLineSearchConvergedReason}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function TaoLineSearchGetStepLength(arg0::Type{Float64},arg1::TaoLineSearch,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TaoLineSearchGetStepLength,petscRealDouble),PetscErrorCode,(TaoLineSearch,Ptr{Float64}),arg1,arg2) - return err -end - -function TaoLineSearchGetStartingVector(arg1::TaoLineSearch,arg2::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:TaoLineSearchGetStartingVector,petscRealDouble),PetscErrorCode,(TaoLineSearch,Ptr{Vec{Float64}}),arg1,arg2) - return err -end - -function TaoLineSearchGetStepDirection(arg1::TaoLineSearch,arg2::Union{Ptr{Vec{Float64}},StridedArray{Vec{Float64}},Ptr{Vec{Float64}},Ref{Vec{Float64}}}) - err = ccall((:TaoLineSearchGetStepDirection,petscRealDouble),PetscErrorCode,(TaoLineSearch,Ptr{Vec{Float64}}),arg1,arg2) - return err -end - -function TaoLineSearchSetInitialStepLength(arg0::Type{Float64},arg1::TaoLineSearch,arg2::Float64) - err = ccall((:TaoLineSearchSetInitialStepLength,petscRealDouble),PetscErrorCode,(TaoLineSearch,Float64),arg1,arg2) - return err -end - -function TaoLineSearchGetSolution(arg1::TaoLineSearch,arg2::Vec{Float64},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Vec{Float64},arg5::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg6::Union{Ptr{TaoLineSearchConvergedReason},StridedArray{TaoLineSearchConvergedReason},Ptr{TaoLineSearchConvergedReason},Ref{TaoLineSearchConvergedReason}}) - err = ccall((:TaoLineSearchGetSolution,petscRealDouble),PetscErrorCode,(TaoLineSearch,Vec{Float64},Ptr{Float64},Vec{Float64},Ptr{Float64},Ptr{TaoLineSearchConvergedReason}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function TaoLineSearchGetFullStepObjective(arg0::Type{Float64},arg1::TaoLineSearch,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TaoLineSearchGetFullStepObjective,petscRealDouble),PetscErrorCode,(TaoLineSearch,Ptr{Float64}),arg1,arg2) - return err -end - -function TaoLineSearchGetNumberFunctionEvaluations(arg0::Type{Float64},arg1::TaoLineSearch,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:TaoLineSearchGetNumberFunctionEvaluations,petscRealDouble),PetscErrorCode,(TaoLineSearch,Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function TaoLineSearchGetType(arg0::Type{Float64},arg1::TaoLineSearch,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:TaoLineSearchGetType,petscRealDouble),PetscErrorCode,(TaoLineSearch,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function TaoLineSearchSetType(arg0::Type{Float64},arg1::TaoLineSearch,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:TaoLineSearchSetType,petscRealDouble),PetscErrorCode,(TaoLineSearch,Cstring),arg1,arg2) - return err -end - -function TaoLineSearchIsUsingTaoRoutines(arg0::Type{Float64},arg1::TaoLineSearch,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:TaoLineSearchIsUsingTaoRoutines,petscRealDouble),PetscErrorCode,(TaoLineSearch,Ptr{PetscBool}),arg1,arg2) - return err -end - -function TaoLineSearchSetObjectiveAndGTSRoutine(arg0::Type{Float64},arg1::TaoLineSearch,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoLineSearchSetObjectiveAndGTSRoutine,petscRealDouble),PetscErrorCode,(TaoLineSearch,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function TaoLineSearchSetObjectiveRoutine(arg0::Type{Float64},arg1::TaoLineSearch,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoLineSearchSetObjectiveRoutine,petscRealDouble),PetscErrorCode,(TaoLineSearch,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function TaoLineSearchSetGradientRoutine(arg0::Type{Float64},arg1::TaoLineSearch,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoLineSearchSetGradientRoutine,petscRealDouble),PetscErrorCode,(TaoLineSearch,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function TaoLineSearchSetObjectiveAndGradientRoutine(arg0::Type{Float64},arg1::TaoLineSearch,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoLineSearchSetObjectiveAndGradientRoutine,petscRealDouble),PetscErrorCode,(TaoLineSearch,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function TaoLineSearchComputeObjective(arg1::TaoLineSearch,arg2::Vec{Float64},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TaoLineSearchComputeObjective,petscRealDouble),PetscErrorCode,(TaoLineSearch,Vec{Float64},Ptr{Float64}),arg1,arg2,arg3) - return err -end - -function TaoLineSearchComputeGradient(arg1::TaoLineSearch,arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:TaoLineSearchComputeGradient,petscRealDouble),PetscErrorCode,(TaoLineSearch,Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function TaoLineSearchComputeObjectiveAndGradient(arg1::TaoLineSearch,arg2::Vec{Float64},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Vec{Float64}) - err = ccall((:TaoLineSearchComputeObjectiveAndGradient,petscRealDouble),PetscErrorCode,(TaoLineSearch,Vec{Float64},Ptr{Float64},Vec{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function TaoLineSearchComputeObjectiveAndGTS(arg1::TaoLineSearch,arg2::Vec{Float64},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}}) - err = ccall((:TaoLineSearchComputeObjectiveAndGTS,petscRealDouble),PetscErrorCode,(TaoLineSearch,Vec{Float64},Ptr{Float64},Ptr{Float64}),arg1,arg2,arg3,arg4) - return err -end - -function TaoLineSearchSetVariableBounds(arg1::TaoLineSearch,arg2::Vec{Float64},arg3::Vec{Float64}) - err = ccall((:TaoLineSearchSetVariableBounds,petscRealDouble),PetscErrorCode,(TaoLineSearch,Vec{Float64},Vec{Float64}),arg1,arg2,arg3) - return err -end - -function TaoLineSearchInitializePackage(arg0::Type{Float64}) - err = ccall((:TaoLineSearchInitializePackage,petscRealDouble),PetscErrorCode,()) - return err -end - -function TaoLineSearchFinalizePackage(arg0::Type{Float64}) - err = ccall((:TaoLineSearchFinalizePackage,petscRealDouble),PetscErrorCode,()) - return err -end - -function TaoLineSearchRegister(arg0::Type{Float64},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoLineSearchRegister,petscRealDouble),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function TaoLineSearchUseTaoRoutines(arg0::Type{Float64},arg1::TaoLineSearch,arg2::Tao) - err = ccall((:TaoLineSearchUseTaoRoutines,petscRealDouble),PetscErrorCode,(TaoLineSearch,Tao),arg1,arg2) - return err -end - -function TaoGetLineSearch(arg0::Type{Float64},arg1::Tao,arg2::Union{Ptr{TaoLineSearch},StridedArray{TaoLineSearch},Ptr{TaoLineSearch},Ref{TaoLineSearch}}) - err = ccall((:TaoGetLineSearch,petscRealDouble),PetscErrorCode,(Tao,Ptr{TaoLineSearch}),arg1,arg2) - return err -end - -function TaoSetConvergenceHistory(arg0::Type{Float64},arg1::Tao,arg2::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg3::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg4::Union{Ptr{Float64},StridedArray{Float64},Ptr{Float64},Ref{Float64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Integer,arg7::PetscBool) - err = ccall((:TaoSetConvergenceHistory,petscRealDouble),PetscErrorCode,(Tao,Ptr{Float64},Ptr{Float64},Ptr{Float64},Ptr{Int64},Int64,PetscBool),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function TaoGetConvergenceHistory(arg0::Type{Float64},arg1::Tao,arg2::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg3::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg4::Union{Ptr{Ptr{Float64}},StridedArray{Ptr{Float64}},Ptr{Ptr{Float64}},Ref{Ptr{Float64}}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:TaoGetConvergenceHistory,petscRealDouble),PetscErrorCode,(Tao,Ptr{Ptr{Float64}},Ptr{Ptr{Float64}},Ptr{Ptr{Float64}},Ptr{Ptr{Int64}},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function TaoSetMonitor(arg0::Type{Float64},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetMonitor,petscRealDouble),PetscErrorCode,(Tao,Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function TaoCancelMonitors(arg0::Type{Float64},arg1::Tao) - err = ccall((:TaoCancelMonitors,petscRealDouble),PetscErrorCode,(Tao,),arg1) - return err -end - -function TaoDefaultMonitor(arg0::Type{Float64},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoDefaultMonitor,petscRealDouble),PetscErrorCode,(Tao,Ptr{Void}),arg1,arg2) - return err -end - -function TaoDefaultSMonitor(arg0::Type{Float64},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoDefaultSMonitor,petscRealDouble),PetscErrorCode,(Tao,Ptr{Void}),arg1,arg2) - return err -end - -function TaoDefaultCMonitor(arg0::Type{Float64},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoDefaultCMonitor,petscRealDouble),PetscErrorCode,(Tao,Ptr{Void}),arg1,arg2) - return err -end - -function TaoSolutionMonitor(arg0::Type{Float64},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSolutionMonitor,petscRealDouble),PetscErrorCode,(Tao,Ptr{Void}),arg1,arg2) - return err -end - -function TaoSeparableObjectiveMonitor(arg0::Type{Float64},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSeparableObjectiveMonitor,petscRealDouble),PetscErrorCode,(Tao,Ptr{Void}),arg1,arg2) - return err -end - -function TaoGradientMonitor(arg0::Type{Float64},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoGradientMonitor,petscRealDouble),PetscErrorCode,(Tao,Ptr{Void}),arg1,arg2) - return err -end - -function TaoStepDirectionMonitor(arg0::Type{Float64},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoStepDirectionMonitor,petscRealDouble),PetscErrorCode,(Tao,Ptr{Void}),arg1,arg2) - return err -end - -function TaoDrawSolutionMonitor(arg0::Type{Float64},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoDrawSolutionMonitor,petscRealDouble),PetscErrorCode,(Tao,Ptr{Void}),arg1,arg2) - return err -end - -function TaoDrawStepMonitor(arg0::Type{Float64},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoDrawStepMonitor,petscRealDouble),PetscErrorCode,(Tao,Ptr{Void}),arg1,arg2) - return err -end - -function TaoDrawGradientMonitor(arg0::Type{Float64},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoDrawGradientMonitor,petscRealDouble),PetscErrorCode,(Tao,Ptr{Void}),arg1,arg2) - return err -end - -function TaoAddLineSearchCounts(arg0::Type{Float64},arg1::Tao) - err = ccall((:TaoAddLineSearchCounts,petscRealDouble),PetscErrorCode,(Tao,),arg1) - return err -end - -function TaoDefaultConvergenceTest(arg0::Type{Float64},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoDefaultConvergenceTest,petscRealDouble),PetscErrorCode,(Tao,Ptr{Void}),arg1,arg2) - return err -end - -function TaoSetConvergenceTest(arg0::Type{Float64},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetConvergenceTest,petscRealDouble),PetscErrorCode,(Tao,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function TaoSQPCONSetStateDesignIS(arg1::Tao,arg2::IS{Float64},arg3::IS{Float64}) - err = ccall((:TaoSQPCONSetStateDesignIS,petscRealDouble),PetscErrorCode,(Tao,IS{Float64},IS{Float64}),arg1,arg2,arg3) - return err -end - -function TaoLCLSetStateDesignIS(arg1::Tao,arg2::IS{Float64},arg3::IS{Float64}) - err = ccall((:TaoLCLSetStateDesignIS,petscRealDouble),PetscErrorCode,(Tao,IS{Float64},IS{Float64}),arg1,arg2,arg3) - return err -end - -function TaoMonitor(arg0::Type{Float64},arg1::Tao,arg2::Integer,arg3::Float64,arg4::Float64,arg5::Float64,arg6::Float64,arg7::Union{Ptr{TaoConvergedReason},StridedArray{TaoConvergedReason},Ptr{TaoConvergedReason},Ref{TaoConvergedReason}}) - err = ccall((:TaoMonitor,petscRealDouble),PetscErrorCode,(Tao,Int64,Float64,Float64,Float64,Float64,Ptr{TaoConvergedReason}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end diff --git a/src/generated/PETScRealSingle.jl b/src/generated/PETScRealSingle.jl deleted file mode 100644 index a320a78d..00000000 --- a/src/generated/PETScRealSingle.jl +++ /dev/null @@ -1,17718 +0,0 @@ -# Julia wrapper for header: ../../deps/RealDouble/petsc-3.6.0/include/petsc.h -# Automatically generated using Clang.jl wrap_c, version 0.0.0 - - -function PetscAbsScalar(arg0::Type{Float32},a::Float32) - err = ccall((:PetscAbsScalar,petscRealSingle),PetscReal,(Float32,),a) - return err -end - -function PetscIsInfOrNanReal(arg0::Type{Float32},arg1::Float32) - err = ccall((:PetscIsInfOrNanReal,petscRealSingle),PetscErrorCode,(Float32,),arg1) - return err -end - -function PetscIsNormalReal(arg0::Type{Float32},arg1::Float32) - err = ccall((:PetscIsNormalReal,petscRealSingle),PetscBool,(Float32,),arg1) - return err -end - -function PetscIsInfOrNanScalar(arg0::Type{Float32},v::Float32) - err = ccall((:PetscIsInfOrNanScalar,petscRealSingle),PetscErrorCode,(Float32,),v) - return err -end - -function PetscIsNormalScalar(arg0::Type{Float32},v::Float32) - err = ccall((:PetscIsNormalScalar,petscRealSingle),PetscErrorCode,(Float32,),v) - return err -end - -function PetscPowInt(arg0::Type{Float32},base::Integer,power::Integer) - err = ccall((:PetscPowInt,petscRealSingle),PetscInt,(Int64,Int64),base,power) - return err -end - -function PetscPowRealInt(arg0::Type{Float32},base::Float32,power::Integer) - err = ccall((:PetscPowRealInt,petscRealSingle),PetscReal,(Float32,Int64),base,power) - return err -end - -function PetscPowScalarInt(arg0::Type{Float32},base::Float32,power::Integer) - err = ccall((:PetscPowScalarInt,petscRealSingle),PetscScalar,(Float32,Int64),base,power) - return err -end - -function PetscPowScalarReal(arg0::Type{Float32},base::Float32,power::Float32) - err = ccall((:PetscPowScalarReal,petscRealSingle),PetscScalar,(Float32,Float32),base,power) - return err -end - -function PetscSetHelpVersionFunctions(arg0::Type{Float32},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscSetHelpVersionFunctions,petscRealSingle),PetscErrorCode,(Ptr{Void},Ptr{Void}),arg1,arg2) - return err -end - -function PetscCommDuplicate(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{MPI_Comm},StridedArray{MPI_Comm},Ptr{MPI_Comm},Ref{MPI_Comm}},arg3::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}}) - err = ccall((:PetscCommDuplicate,petscRealSingle),PetscErrorCode,(comm_type,Ptr{comm_type},Ptr{Cint}),arg1,arg2,arg3) - return err -end - -function PetscCommDestroy(arg0::Type{Float32},arg1::Union{Ptr{MPI_Comm},StridedArray{MPI_Comm},Ptr{MPI_Comm},Ref{MPI_Comm}}) - err = ccall((:PetscCommDestroy,petscRealSingle),PetscErrorCode,(Ptr{comm_type},),arg1) - return err -end - -function PetscMallocSet(arg0::Type{Float32},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscMallocSet,petscRealSingle),PetscErrorCode,(Ptr{Void},Ptr{Void}),arg1,arg2) - return err -end - -function PetscMallocClear(arg0::Type{Float32}) - err = ccall((:PetscMallocClear,petscRealSingle),PetscErrorCode,()) - return err -end - -#= skipping function with undefined symbols: - function PetscMallocDump(arg0::Type{Float32},arg1::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}}) - ccall((:PetscMallocDump,petscRealSingle),PetscErrorCode,(Ptr{FILE},),arg1) -end -=# -#= skipping function with undefined symbols: - function PetscMallocDumpLog(arg0::Type{Float32},arg1::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}}) - ccall((:PetscMallocDumpLog,petscRealSingle),PetscErrorCode,(Ptr{FILE},),arg1) -end -=# -function PetscMallocGetCurrentUsage(arg0::Type{Float32},arg1::Union{Ptr{PetscLogDouble},StridedArray{PetscLogDouble},Ptr{PetscLogDouble},Ref{PetscLogDouble}}) - err = ccall((:PetscMallocGetCurrentUsage,petscRealSingle),PetscErrorCode,(Ptr{PetscLogDouble},),arg1) - return err -end - -function PetscMallocGetMaximumUsage(arg0::Type{Float32},arg1::Union{Ptr{PetscLogDouble},StridedArray{PetscLogDouble},Ptr{PetscLogDouble},Ref{PetscLogDouble}}) - err = ccall((:PetscMallocGetMaximumUsage,petscRealSingle),PetscErrorCode,(Ptr{PetscLogDouble},),arg1) - return err -end - -function PetscMallocDebug(arg0::Type{Float32},arg1::PetscBool) - err = ccall((:PetscMallocDebug,petscRealSingle),PetscErrorCode,(PetscBool,),arg1) - return err -end - -function PetscMallocGetDebug(arg0::Type{Float32},arg1::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscMallocGetDebug,petscRealSingle),PetscErrorCode,(Ptr{PetscBool},),arg1) - return err -end - -function PetscMallocValidate(arg0::Type{Float32},arg1::Integer,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscMallocValidate,petscRealSingle),PetscErrorCode,(Cint,Cstring,Cstring),arg1,arg2,arg3) - return err -end - -function PetscMallocSetDumpLog(arg0::Type{Float32}) - err = ccall((:PetscMallocSetDumpLog,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscMallocSetDumpLogThreshold(arg0::Type{Float32},arg1::PetscLogDouble) - err = ccall((:PetscMallocSetDumpLogThreshold,petscRealSingle),PetscErrorCode,(PetscLogDouble,),arg1) - return err -end - -function PetscMallocGetDumpLog(arg0::Type{Float32},arg1::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscMallocGetDumpLog,petscRealSingle),PetscErrorCode,(Ptr{PetscBool},),arg1) - return err -end - -#= skipping function with undefined symbols: - function PetscDataTypeToMPIDataType(arg0::Type{Float32},arg1::PetscDataType,arg2::Union{Ptr{MPI_Datatype},StridedArray{MPI_Datatype},Ptr{MPI_Datatype},Ref{MPI_Datatype}}) - ccall((:PetscDataTypeToMPIDataType,petscRealSingle),PetscErrorCode,(PetscDataType,Ptr{MPI_Datatype}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function PetscMPIDataTypeToPetscDataType(arg0::Type{Float32},arg1::MPI_Datatype,arg2::Union{Ptr{PetscDataType},StridedArray{PetscDataType},Ptr{PetscDataType},Ref{PetscDataType}}) - ccall((:PetscMPIDataTypeToPetscDataType,petscRealSingle),PetscErrorCode,(MPI_Datatype,Ptr{PetscDataType}),arg1,arg2) -end -=# -function PetscDataTypeGetSize(arg0::Type{Float32},arg1::PetscDataType,arg2::Union{Ptr{Csize_t},StridedArray{Csize_t},Ptr{Csize_t},Ref{Csize_t}}) - err = ccall((:PetscDataTypeGetSize,petscRealSingle),PetscErrorCode,(PetscDataType,Ptr{Csize_t}),arg1,arg2) - return err -end - -function PetscDataTypeFromString(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{PetscDataType},StridedArray{PetscDataType},Ptr{PetscDataType},Ref{PetscDataType}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscDataTypeFromString,petscRealSingle),PetscErrorCode,(Cstring,Ptr{PetscDataType},Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function PetscBitMemcpy(arg0::Type{Float32},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg2::Integer,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Integer,arg5::Integer,arg6::PetscDataType) - err = ccall((:PetscBitMemcpy,petscRealSingle),PetscErrorCode,(Ptr{Void},Int64,Ptr{Void},Int64,Int64,PetscDataType),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscMemmove(arg0::Type{Float32},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Csize_t) - err = ccall((:PetscMemmove,petscRealSingle),PetscErrorCode,(Ptr{Void},Ptr{Void},Csize_t),arg1,arg2,arg3) - return err -end - -function PetscMemcmp(arg0::Type{Float32},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Csize_t,arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscMemcmp,petscRealSingle),PetscErrorCode,(Ptr{Void},Ptr{Void},Csize_t,Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function PetscStrlen(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Csize_t},StridedArray{Csize_t},Ptr{Csize_t},Ref{Csize_t}}) - err = ccall((:PetscStrlen,petscRealSingle),PetscErrorCode,(Cstring,Ptr{Csize_t}),arg1,arg2) - return err -end - -function PetscStrToArray(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::UInt8,arg3::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}},arg4::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}}) - err = ccall((:PetscStrToArray,petscRealSingle),PetscErrorCode,(Cstring,UInt8,Ptr{Cint},Ptr{Ptr{Ptr{UInt8}}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscStrToArrayDestroy(arg0::Type{Float32},arg1::Integer,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscStrToArrayDestroy,petscRealSingle),PetscErrorCode,(Cint,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscStrcmp(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscStrcmp,petscRealSingle),PetscErrorCode,(Cstring,Cstring,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function PetscStrgrt(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscStrgrt,petscRealSingle),PetscErrorCode,(Cstring,Cstring,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function PetscStrcasecmp(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscStrcasecmp,petscRealSingle),PetscErrorCode,(Cstring,Cstring,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function PetscStrncmp(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Csize_t,arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscStrncmp,petscRealSingle),PetscErrorCode,(Cstring,Cstring,Csize_t,Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function PetscStrcpy(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscStrcpy,petscRealSingle),PetscErrorCode,(Cstring,Cstring),arg1,arg2) - return err -end - -function PetscStrcat(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscStrcat,petscRealSingle),PetscErrorCode,(Cstring,Cstring),arg1,arg2) - return err -end - -function PetscStrncat(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Csize_t) - err = ccall((:PetscStrncat,petscRealSingle),PetscErrorCode,(Cstring,Cstring,Csize_t),arg1,arg2,arg3) - return err -end - -function PetscStrncpy(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Csize_t) - err = ccall((:PetscStrncpy,petscRealSingle),PetscErrorCode,(Cstring,Cstring,Csize_t),arg1,arg2,arg3) - return err -end - -function PetscStrchr(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::UInt8,arg3::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscStrchr,petscRealSingle),PetscErrorCode,(Cstring,UInt8,Ptr{Ptr{UInt8}}),arg1,arg2,arg3) - return err -end - -function PetscStrtolower(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscStrtolower,petscRealSingle),PetscErrorCode,(Cstring,),arg1) - return err -end - -function PetscStrtoupper(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscStrtoupper,petscRealSingle),PetscErrorCode,(Cstring,),arg1) - return err -end - -function PetscStrrchr(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::UInt8,arg3::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscStrrchr,petscRealSingle),PetscErrorCode,(Cstring,UInt8,Ptr{Ptr{UInt8}}),arg1,arg2,arg3) - return err -end - -function PetscStrstr(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscStrstr,petscRealSingle),PetscErrorCode,(Cstring,Cstring,Ptr{Ptr{UInt8}}),arg1,arg2,arg3) - return err -end - -function PetscStrrstr(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscStrrstr,petscRealSingle),PetscErrorCode,(Cstring,Cstring,Ptr{Ptr{UInt8}}),arg1,arg2,arg3) - return err -end - -function PetscStrendswith(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscStrendswith,petscRealSingle),PetscErrorCode,(Cstring,Cstring,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function PetscStrbeginswith(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscStrbeginswith,petscRealSingle),PetscErrorCode,(Cstring,Cstring,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function PetscStrendswithwhich(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscStrendswithwhich,petscRealSingle),PetscErrorCode,(Cstring,Ptr{Ptr{UInt8}},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscStrallocpy(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscStrallocpy,petscRealSingle),PetscErrorCode,(Cstring,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscStrArrayallocpy(arg0::Type{Float32},arg1::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg2::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}}) - err = ccall((:PetscStrArrayallocpy,petscRealSingle),PetscErrorCode,(Ptr{Ptr{UInt8}},Ptr{Ptr{Ptr{UInt8}}}),arg1,arg2) - return err -end - -function PetscStrArrayDestroy(arg0::Type{Float32},arg1::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}}) - err = ccall((:PetscStrArrayDestroy,petscRealSingle),PetscErrorCode,(Ptr{Ptr{Ptr{UInt8}}},),arg1) - return err -end - -function PetscStrNArrayallocpy(arg0::Type{Float32},arg1::Integer,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg3::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}}) - err = ccall((:PetscStrNArrayallocpy,petscRealSingle),PetscErrorCode,(Int64,Ptr{Ptr{UInt8}},Ptr{Ptr{Ptr{UInt8}}}),arg1,arg2,arg3) - return err -end - -function PetscStrNArrayDestroy(arg0::Type{Float32},arg1::Integer,arg2::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}}) - err = ccall((:PetscStrNArrayDestroy,petscRealSingle),PetscErrorCode,(Int64,Ptr{Ptr{Ptr{UInt8}}}),arg1,arg2) - return err -end - -function PetscStrreplace(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Csize_t) - err = ccall((:PetscStrreplace,petscRealSingle),PetscErrorCode,(comm_type,Cstring,Cstring,Csize_t),arg1,arg2,arg3,arg4) - return err -end - -function PetscStrcmpNoError(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscStrcmpNoError,petscRealSingle),Void,(Cstring,Cstring,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function PetscTokenCreate(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::UInt8,arg3::Union{Ptr{PetscToken},StridedArray{PetscToken},Ptr{PetscToken},Ref{PetscToken}}) - err = ccall((:PetscTokenCreate,petscRealSingle),PetscErrorCode,(Cstring,UInt8,Ptr{PetscToken}),arg1,arg2,arg3) - return err -end - -function PetscTokenFind(arg0::Type{Float32},arg1::PetscToken,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscTokenFind,petscRealSingle),PetscErrorCode,(PetscToken,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscTokenDestroy(arg0::Type{Float32},arg1::Union{Ptr{PetscToken},StridedArray{PetscToken},Ptr{PetscToken},Ref{PetscToken}}) - err = ccall((:PetscTokenDestroy,petscRealSingle),PetscErrorCode,(Ptr{PetscToken},),arg1) - return err -end - -function PetscEListFind(arg0::Type{Float32},arg1::Integer,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscEListFind,petscRealSingle),PetscErrorCode,(Int64,Ptr{Ptr{UInt8}},Cstring,Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscEnumFind(arg0::Type{Float32},arg1::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscEnum},StridedArray{PetscEnum},Ptr{PetscEnum},Ref{PetscEnum}},arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscEnumFind,petscRealSingle),PetscErrorCode,(Ptr{Ptr{UInt8}},Cstring,Ptr{PetscEnum},Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function PetscMaxSum(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscMaxSum,petscRealSingle),PetscErrorCode,(comm_type,Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -#= skipping function with undefined symbols: - function MPIULong_Send(arg0::Type{Float32},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg2::Integer,arg3::MPI_Datatype,arg4::PetscMPIInt,arg5::PetscMPIInt,arg6::MPI_Comm) - ccall((:MPIULong_Send,petscRealSingle),PetscErrorCode,(Ptr{Void},Int64,MPI_Datatype,PetscMPIInt,PetscMPIInt,comm_type),arg1,arg2,arg3,arg4,arg5,arg6) -end -=# -#= skipping function with undefined symbols: - function MPIULong_Recv(arg0::Type{Float32},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg2::Integer,arg3::MPI_Datatype,arg4::PetscMPIInt,arg5::PetscMPIInt,arg6::MPI_Comm) - ccall((:MPIULong_Recv,petscRealSingle),PetscErrorCode,(Ptr{Void},Int64,MPI_Datatype,PetscMPIInt,PetscMPIInt,comm_type),arg1,arg2,arg3,arg4,arg5,arg6) -end -=# -function PetscErrorPrintfInitialize(arg0::Type{Float32}) - err = ccall((:PetscErrorPrintfInitialize,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscErrorMessage(arg0::Type{Float32},arg1::Integer,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg3::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscErrorMessage,petscRealSingle),PetscErrorCode,(Cint,Ptr{Ptr{UInt8}},Ptr{Ptr{UInt8}}),arg1,arg2,arg3) - return err -end - -function PetscTraceBackErrorHandler(arg0::Type{Float32},arg1::MPI_Comm,arg2::Integer,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::PetscErrorCode,arg6::PetscErrorType,arg7::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg8::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscTraceBackErrorHandler,petscRealSingle),PetscErrorCode,(comm_type,Cint,Cstring,Cstring,PetscErrorCode,PetscErrorType,Cstring,Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function PetscIgnoreErrorHandler(arg0::Type{Float32},arg1::MPI_Comm,arg2::Integer,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::PetscErrorCode,arg6::PetscErrorType,arg7::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg8::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscIgnoreErrorHandler,petscRealSingle),PetscErrorCode,(comm_type,Cint,Cstring,Cstring,PetscErrorCode,PetscErrorType,Cstring,Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function PetscEmacsClientErrorHandler(arg0::Type{Float32},arg1::MPI_Comm,arg2::Integer,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::PetscErrorCode,arg6::PetscErrorType,arg7::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg8::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscEmacsClientErrorHandler,petscRealSingle),PetscErrorCode,(comm_type,Cint,Cstring,Cstring,PetscErrorCode,PetscErrorType,Cstring,Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function PetscMPIAbortErrorHandler(arg0::Type{Float32},arg1::MPI_Comm,arg2::Integer,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::PetscErrorCode,arg6::PetscErrorType,arg7::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg8::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscMPIAbortErrorHandler,petscRealSingle),PetscErrorCode,(comm_type,Cint,Cstring,Cstring,PetscErrorCode,PetscErrorType,Cstring,Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function PetscAbortErrorHandler(arg0::Type{Float32},arg1::MPI_Comm,arg2::Integer,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::PetscErrorCode,arg6::PetscErrorType,arg7::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg8::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscAbortErrorHandler,petscRealSingle),PetscErrorCode,(comm_type,Cint,Cstring,Cstring,PetscErrorCode,PetscErrorType,Cstring,Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function PetscAttachDebuggerErrorHandler(arg0::Type{Float32},arg1::MPI_Comm,arg2::Integer,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::PetscErrorCode,arg6::PetscErrorType,arg7::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg8::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscAttachDebuggerErrorHandler,petscRealSingle),PetscErrorCode,(comm_type,Cint,Cstring,Cstring,PetscErrorCode,PetscErrorType,Cstring,Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function PetscReturnErrorHandler(arg0::Type{Float32},arg1::MPI_Comm,arg2::Integer,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::PetscErrorCode,arg6::PetscErrorType,arg7::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg8::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscReturnErrorHandler,petscRealSingle),PetscErrorCode,(comm_type,Cint,Cstring,Cstring,PetscErrorCode,PetscErrorType,Cstring,Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function PetscPushErrorHandler(arg0::Type{Float32},handler::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscPushErrorHandler,petscRealSingle),PetscErrorCode,(Ptr{Void},Ptr{Void}),handler,arg1) - return err -end - -function PetscPopErrorHandler(arg0::Type{Float32}) - err = ccall((:PetscPopErrorHandler,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscSignalHandlerDefault(arg0::Type{Float32},arg1::Integer,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscSignalHandlerDefault,petscRealSingle),PetscErrorCode,(Cint,Ptr{Void}),arg1,arg2) - return err -end - -function PetscPushSignalHandler(arg0::Type{Float32},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscPushSignalHandler,petscRealSingle),PetscErrorCode,(Ptr{Void},Ptr{Void}),arg1,arg2) - return err -end - -function PetscPopSignalHandler(arg0::Type{Float32}) - err = ccall((:PetscPopSignalHandler,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscCheckPointerSetIntensity(arg0::Type{Float32},arg1::Integer) - err = ccall((:PetscCheckPointerSetIntensity,petscRealSingle),PetscErrorCode,(Int64,),arg1) - return err -end - -function PetscSetFPTrap(arg0::Type{Float32},arg1::PetscFPTrap) - err = ccall((:PetscSetFPTrap,petscRealSingle),PetscErrorCode,(PetscFPTrap,),arg1) - return err -end - -function PetscFPTrapPush(arg0::Type{Float32},arg1::PetscFPTrap) - err = ccall((:PetscFPTrapPush,petscRealSingle),PetscErrorCode,(PetscFPTrap,),arg1) - return err -end - -function PetscFPTrapPop(arg0::Type{Float32}) - err = ccall((:PetscFPTrapPop,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscStackCopy(arg0::Type{Float32},arg1::Union{Ptr{PetscStack},StridedArray{PetscStack},Ptr{PetscStack},Ref{PetscStack}},arg2::Union{Ptr{PetscStack},StridedArray{PetscStack},Ptr{PetscStack},Ref{PetscStack}}) - err = ccall((:PetscStackCopy,petscRealSingle),PetscErrorCode,(Ptr{PetscStack},Ptr{PetscStack}),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function PetscStackPrint(arg0::Type{Float32},arg1::Union{Ptr{PetscStack},StridedArray{PetscStack},Ptr{PetscStack},Ref{PetscStack}},arg2::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}}) - ccall((:PetscStackPrint,petscRealSingle),PetscErrorCode,(Ptr{PetscStack},Ptr{FILE}),arg1,arg2) -end -=# -function PetscStackActive(arg0::Type{Float32}) - err = ccall((:PetscStackActive,petscRealSingle),PetscBool,()) - return err -end - -function PetscStackCreate(arg0::Type{Float32}) - err = ccall((:PetscStackCreate,petscRealSingle),PetscErrorCode,()) - return err -end - -#= skipping function with undefined symbols: - function PetscStackView(arg0::Type{Float32},arg1::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}}) - ccall((:PetscStackView,petscRealSingle),PetscErrorCode,(Ptr{FILE},),arg1) -end -=# -function PetscStackDestroy(arg0::Type{Float32}) - err = ccall((:PetscStackDestroy,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscClassIdRegister(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{PetscClassId},StridedArray{PetscClassId},Ptr{PetscClassId},Ref{PetscClassId}}) - err = ccall((:PetscClassIdRegister,petscRealSingle),PetscErrorCode,(Cstring,Ptr{PetscClassId}),arg1,arg2) - return err -end - -function PetscMemoryGetCurrentUsage(arg0::Type{Float32},arg1::Union{Ptr{PetscLogDouble},StridedArray{PetscLogDouble},Ptr{PetscLogDouble},Ref{PetscLogDouble}}) - err = ccall((:PetscMemoryGetCurrentUsage,petscRealSingle),PetscErrorCode,(Ptr{PetscLogDouble},),arg1) - return err -end - -function PetscMemoryGetMaximumUsage(arg0::Type{Float32},arg1::Union{Ptr{PetscLogDouble},StridedArray{PetscLogDouble},Ptr{PetscLogDouble},Ref{PetscLogDouble}}) - err = ccall((:PetscMemoryGetMaximumUsage,petscRealSingle),PetscErrorCode,(Ptr{PetscLogDouble},),arg1) - return err -end - -function PetscMemorySetGetMaximumUsage(arg0::Type{Float32}) - err = ccall((:PetscMemorySetGetMaximumUsage,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscMemoryTrace(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscMemoryTrace,petscRealSingle),PetscErrorCode,(Cstring,),arg1) - return err -end - -function PetscInfoAllow(arg0::Type{Float32},arg1::PetscBool,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscInfoAllow,petscRealSingle),PetscErrorCode,(PetscBool,Cstring),arg1,arg2) - return err -end - -function PetscSleep(arg0::Type{Float32},arg1::Float32) - err = ccall((:PetscSleep,petscRealSingle),PetscErrorCode,(Float32,),arg1) - return err -end - -function PetscInitialize(arg0::Type{Float32},arg1::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}},arg2::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscInitialize,petscRealSingle),PetscErrorCode,(Ptr{Cint},Ptr{Ptr{Ptr{UInt8}}},Cstring,Cstring),arg1,arg2,arg3,arg4) - return err -end - -function PetscInitializeNoPointers(arg0::Type{Float32},arg1::Integer,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscInitializeNoPointers,petscRealSingle),PetscErrorCode,(Cint,Ptr{Ptr{UInt8}},Cstring,Cstring),arg1,arg2,arg3,arg4) - return err -end - -function PetscInitializeNoArguments(arg0::Type{Float32}) - err = ccall((:PetscInitializeNoArguments,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscInitialized(arg0::Type{Float32},arg1::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscInitialized,petscRealSingle),PetscErrorCode,(Ptr{PetscBool},),arg1) - return err -end - -function PetscFinalized(arg0::Type{Float32},arg1::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscFinalized,petscRealSingle),PetscErrorCode,(Ptr{PetscBool},),arg1) - return err -end - -function PetscFinalize(arg0::Type{Float32}) - err = ccall((:PetscFinalize,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscInitializeFortran(arg0::Type{Float32}) - err = ccall((:PetscInitializeFortran,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscGetArgs(arg0::Type{Float32},arg1::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}},arg2::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}}) - err = ccall((:PetscGetArgs,petscRealSingle),PetscErrorCode,(Ptr{Cint},Ptr{Ptr{Ptr{UInt8}}}),arg1,arg2) - return err -end - -function PetscGetArguments(arg0::Type{Float32},arg1::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}}) - err = ccall((:PetscGetArguments,petscRealSingle),PetscErrorCode,(Ptr{Ptr{Ptr{UInt8}}},),arg1) - return err -end - -function PetscFreeArguments(arg0::Type{Float32},arg1::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscFreeArguments,petscRealSingle),PetscErrorCode,(Ptr{Ptr{UInt8}},),arg1) - return err -end - -function PetscEnd(arg0::Type{Float32}) - err = ccall((:PetscEnd,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscSysInitializePackage(arg0::Type{Float32}) - err = ccall((:PetscSysInitializePackage,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscPythonInitialize(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscPythonInitialize,petscRealSingle),PetscErrorCode,(Cstring,Cstring),arg1,arg2) - return err -end - -function PetscPythonFinalize(arg0::Type{Float32}) - err = ccall((:PetscPythonFinalize,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscPythonPrintError(arg0::Type{Float32}) - err = ccall((:PetscPythonPrintError,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscPythonMonitorSet(arg0::Type{Float32},arg1::PetscObject,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscPythonMonitorSet,petscRealSingle),PetscErrorCode,(PetscObject,Cstring),arg1,arg2) - return err -end - -function PetscObjectDestroy(arg0::Type{Float32},arg1::Union{Ptr{PetscObject},StridedArray{PetscObject},Ptr{PetscObject},Ref{PetscObject}}) - err = ccall((:PetscObjectDestroy,petscRealSingle),PetscErrorCode,(Ptr{PetscObject},),arg1) - return err -end - -function PetscObjectGetComm(arg0::Type{Float32},arg1::PetscObject,arg2::Union{Ptr{MPI_Comm},StridedArray{MPI_Comm},Ptr{MPI_Comm},Ref{MPI_Comm}}) - err = ccall((:PetscObjectGetComm,petscRealSingle),PetscErrorCode,(PetscObject,Ptr{comm_type}),arg1,arg2) - return err -end - -function PetscObjectGetClassId(arg0::Type{Float32},arg1::PetscObject,arg2::Union{Ptr{PetscClassId},StridedArray{PetscClassId},Ptr{PetscClassId},Ref{PetscClassId}}) - err = ccall((:PetscObjectGetClassId,petscRealSingle),PetscErrorCode,(PetscObject,Ptr{PetscClassId}),arg1,arg2) - return err -end - -function PetscObjectGetClassName(arg0::Type{Float32},arg1::PetscObject,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscObjectGetClassName,petscRealSingle),PetscErrorCode,(PetscObject,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscObjectSetType(arg0::Type{Float32},arg1::PetscObject,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscObjectSetType,petscRealSingle),PetscErrorCode,(PetscObject,Cstring),arg1,arg2) - return err -end - -function PetscObjectSetPrecision(arg0::Type{Float32},arg1::PetscObject,arg2::PetscPrecision) - err = ccall((:PetscObjectSetPrecision,petscRealSingle),PetscErrorCode,(PetscObject,PetscPrecision),arg1,arg2) - return err -end - -function PetscObjectGetType(arg0::Type{Float32},arg1::PetscObject,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscObjectGetType,petscRealSingle),PetscErrorCode,(PetscObject,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscObjectSetName(arg0::Type{Float32},arg1::PetscObject,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscObjectSetName,petscRealSingle),PetscErrorCode,(PetscObject,Cstring),arg1,arg2) - return err -end - -function PetscObjectGetName(arg0::Type{Float32},arg1::PetscObject,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscObjectGetName,petscRealSingle),PetscErrorCode,(PetscObject,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscObjectSetTabLevel(arg0::Type{Float32},arg1::PetscObject,arg2::Integer) - err = ccall((:PetscObjectSetTabLevel,petscRealSingle),PetscErrorCode,(PetscObject,Int64),arg1,arg2) - return err -end - -function PetscObjectGetTabLevel(arg0::Type{Float32},arg1::PetscObject,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscObjectGetTabLevel,petscRealSingle),PetscErrorCode,(PetscObject,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscObjectIncrementTabLevel(arg0::Type{Float32},arg1::PetscObject,arg2::PetscObject,arg3::Integer) - err = ccall((:PetscObjectIncrementTabLevel,petscRealSingle),PetscErrorCode,(PetscObject,PetscObject,Int64),arg1,arg2,arg3) - return err -end - -function PetscObjectReference(arg0::Type{Float32},arg1::PetscObject) - err = ccall((:PetscObjectReference,petscRealSingle),PetscErrorCode,(PetscObject,),arg1) - return err -end - -function PetscObjectGetReference(arg0::Type{Float32},arg1::PetscObject,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscObjectGetReference,petscRealSingle),PetscErrorCode,(PetscObject,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscObjectDereference(arg0::Type{Float32},arg1::PetscObject) - err = ccall((:PetscObjectDereference,petscRealSingle),PetscErrorCode,(PetscObject,),arg1) - return err -end - -function PetscObjectGetNewTag(arg0::Type{Float32},arg1::PetscObject,arg2::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}}) - err = ccall((:PetscObjectGetNewTag,petscRealSingle),PetscErrorCode,(PetscObject,Ptr{PetscMPIInt}),arg1,arg2) - return err -end - -function PetscObjectCompose(arg0::Type{Float32},arg1::PetscObject,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::PetscObject) - err = ccall((:PetscObjectCompose,petscRealSingle),PetscErrorCode,(PetscObject,Cstring,PetscObject),arg1,arg2,arg3) - return err -end - -function PetscObjectRemoveReference(arg0::Type{Float32},arg1::PetscObject,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscObjectRemoveReference,petscRealSingle),PetscErrorCode,(PetscObject,Cstring),arg1,arg2) - return err -end - -function PetscObjectQuery(arg0::Type{Float32},arg1::PetscObject,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscObject},StridedArray{PetscObject},Ptr{PetscObject},Ref{PetscObject}}) - err = ccall((:PetscObjectQuery,petscRealSingle),PetscErrorCode,(PetscObject,Cstring,Ptr{PetscObject}),arg1,arg2,arg3) - return err -end - -function PetscObjectComposeFunction_Private(arg0::Type{Float32},arg1::PetscObject,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscObjectComposeFunction_Private,petscRealSingle),PetscErrorCode,(PetscObject,Cstring,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function PetscObjectSetFromOptions(arg0::Type{Float32},arg1::PetscObject) - err = ccall((:PetscObjectSetFromOptions,petscRealSingle),PetscErrorCode,(PetscObject,),arg1) - return err -end - -function PetscObjectSetUp(arg0::Type{Float32},arg1::PetscObject) - err = ccall((:PetscObjectSetUp,petscRealSingle),PetscErrorCode,(PetscObject,),arg1) - return err -end - -function PetscCommGetNewTag(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}}) - err = ccall((:PetscCommGetNewTag,petscRealSingle),PetscErrorCode,(comm_type,Ptr{PetscMPIInt}),arg1,arg2) - return err -end - -function PetscObjectAddOptionsHandler(arg0::Type{Float32},arg1::PetscObject,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscObjectAddOptionsHandler,petscRealSingle),PetscErrorCode,(PetscObject,Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function PetscObjectProcessOptionsHandlers(arg0::Type{Float32},arg1::PetscObject) - err = ccall((:PetscObjectProcessOptionsHandlers,petscRealSingle),PetscErrorCode,(PetscObject,),arg1) - return err -end - -function PetscObjectDestroyOptionsHandlers(arg0::Type{Float32},arg1::PetscObject) - err = ccall((:PetscObjectDestroyOptionsHandlers,petscRealSingle),PetscErrorCode,(PetscObject,),arg1) - return err -end - -function PetscObjectsListGetGlobalNumbering(arg0::Type{Float32},arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{PetscObject},StridedArray{PetscObject},Ptr{PetscObject},Ref{PetscObject}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscObjectsListGetGlobalNumbering,petscRealSingle),PetscErrorCode,(comm_type,Int64,Ptr{PetscObject},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscOptionsHasName(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsHasName,petscRealSingle),PetscErrorCode,(Cstring,Cstring,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function PetscOptionsGetInt(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetInt,petscRealSingle),PetscErrorCode,(Cstring,Cstring,Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function PetscOptionsGetBool(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetBool,petscRealSingle),PetscErrorCode,(Cstring,Cstring,Ptr{PetscBool},Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function PetscOptionsGetReal(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetReal,petscRealSingle),PetscErrorCode,(Cstring,Cstring,Ptr{Float32},Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function PetscOptionsGetScalar(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetScalar,petscRealSingle),PetscErrorCode,(Cstring,Cstring,Ptr{Float32},Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function PetscOptionsGetIntArray(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetIntArray,petscRealSingle),PetscErrorCode,(Cstring,Cstring,Ptr{Int64},Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscOptionsGetRealArray(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetRealArray,petscRealSingle),PetscErrorCode,(Cstring,Cstring,Ptr{Float32},Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscOptionsGetScalarArray(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetScalarArray,petscRealSingle),PetscErrorCode,(Cstring,Cstring,Ptr{Float32},Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscOptionsGetBoolArray(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetBoolArray,petscRealSingle),PetscErrorCode,(Cstring,Cstring,Ptr{PetscBool},Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscOptionsGetString(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Csize_t,arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetString,petscRealSingle),PetscErrorCode,(Cstring,Cstring,Cstring,Csize_t,Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscOptionsGetStringArray(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetStringArray,petscRealSingle),PetscErrorCode,(Cstring,Cstring,Ptr{Ptr{UInt8}},Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscOptionsGetEList(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetEList,petscRealSingle),PetscErrorCode,(Cstring,Cstring,Ptr{Ptr{UInt8}},Int64,Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscOptionsGetEnum(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg4::Union{Ptr{PetscEnum},StridedArray{PetscEnum},Ptr{PetscEnum},Ref{PetscEnum}},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetEnum,petscRealSingle),PetscErrorCode,(Cstring,Cstring,Ptr{Ptr{UInt8}},Ptr{PetscEnum},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscOptionsGetEnumArray(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg4::Union{Ptr{PetscEnum},StridedArray{PetscEnum},Ptr{PetscEnum},Ref{PetscEnum}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetEnumArray,petscRealSingle),PetscErrorCode,(Cstring,Cstring,Ptr{Ptr{UInt8}},Ptr{PetscEnum},Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscOptionsValidKey(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsValidKey,petscRealSingle),PetscErrorCode,(Cstring,Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscOptionsSetAlias(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscOptionsSetAlias,petscRealSingle),PetscErrorCode,(Cstring,Cstring),arg1,arg2) - return err -end - -function PetscOptionsSetValue(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscOptionsSetValue,petscRealSingle),PetscErrorCode,(Cstring,Cstring),arg1,arg2) - return err -end - -function PetscOptionsClearValue(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscOptionsClearValue,petscRealSingle),PetscErrorCode,(Cstring,),arg1) - return err -end - -function PetscOptionsAllUsed(arg0::Type{Float32},arg1::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscOptionsAllUsed,petscRealSingle),PetscErrorCode,(Ptr{Int64},),arg1) - return err -end - -function PetscOptionsUsed(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsUsed,petscRealSingle),PetscErrorCode,(Cstring,Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscOptionsLeft(arg0::Type{Float32}) - err = ccall((:PetscOptionsLeft,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscOptionsView(arg1::PetscViewer{Float32}) - err = ccall((:PetscOptionsView,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},),arg1) - return err -end - -function PetscOptionsCreate(arg0::Type{Float32}) - err = ccall((:PetscOptionsCreate,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscOptionsInsert(arg0::Type{Float32},arg1::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}},arg2::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscOptionsInsert,petscRealSingle),PetscErrorCode,(Ptr{Cint},Ptr{Ptr{Ptr{UInt8}}},Cstring),arg1,arg2,arg3) - return err -end - -function PetscOptionsInsertFile(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::PetscBool) - err = ccall((:PetscOptionsInsertFile,petscRealSingle),PetscErrorCode,(comm_type,Cstring,PetscBool),arg1,arg2,arg3) - return err -end - -function PetscOptionsInsertString(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscOptionsInsertString,petscRealSingle),PetscErrorCode,(Cstring,),arg1) - return err -end - -function PetscOptionsDestroy(arg0::Type{Float32}) - err = ccall((:PetscOptionsDestroy,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscOptionsClear(arg0::Type{Float32}) - err = ccall((:PetscOptionsClear,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscOptionsPrefixPush(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscOptionsPrefixPush,petscRealSingle),PetscErrorCode,(Cstring,),arg1) - return err -end - -function PetscOptionsPrefixPop(arg0::Type{Float32}) - err = ccall((:PetscOptionsPrefixPop,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscOptionsReject(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscOptionsReject,petscRealSingle),PetscErrorCode,(Cstring,Cstring),arg1,arg2) - return err -end - -function PetscOptionsGetAll(arg0::Type{Float32},arg1::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscOptionsGetAll,petscRealSingle),PetscErrorCode,(Ptr{Ptr{UInt8}},),arg1) - return err -end - -function PetscOptionsGetenv(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Csize_t,arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetenv,petscRealSingle),PetscErrorCode,(comm_type,Cstring,Cstring,Csize_t,Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscOptionsStringToInt(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscOptionsStringToInt,petscRealSingle),PetscErrorCode,(Cstring,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscOptionsStringToReal(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:PetscOptionsStringToReal,petscRealSingle),PetscErrorCode,(Cstring,Ptr{Float32}),arg1,arg2) - return err -end - -function PetscOptionsStringToBool(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsStringToBool,petscRealSingle),PetscErrorCode,(Cstring,Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscOptionsMonitorSet(arg0::Type{Float32},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscOptionsMonitorSet,petscRealSingle),PetscErrorCode,(Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function PetscOptionsMonitorCancel(arg0::Type{Float32}) - err = ccall((:PetscOptionsMonitorCancel,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscOptionsMonitorDefault(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscOptionsMonitorDefault,petscRealSingle),PetscErrorCode,(Cstring,Cstring,Ptr{Void}),arg1,arg2,arg3) - return err -end - -#= skipping function with undefined symbols: - function PetscOptionsBegin_Private(arg0::Type{Float32},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::MPI_Comm,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - ccall((:PetscOptionsBegin_Private,petscRealSingle),PetscErrorCode,(Ptr{PetscOptions},comm_type,Cstring,Cstring,Cstring),arg1,arg2,arg3,arg4,arg5) -end -=# -#= skipping function with undefined symbols: - function PetscObjectOptionsBegin_Private(arg0::Type{Float32},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::PetscObject) - ccall((:PetscObjectOptionsBegin_Private,petscRealSingle),PetscErrorCode,(Ptr{PetscOptions},PetscObject),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsEnd_Private(arg0::Type{Float32},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}}) - ccall((:PetscOptionsEnd_Private,petscRealSingle),PetscErrorCode,(Ptr{PetscOptions},),arg1) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsHead(arg0::Type{Float32},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - ccall((:PetscOptionsHead,petscRealSingle),PetscErrorCode,(Ptr{PetscOptions},Cstring),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsEnum_Private(arg0::Type{Float32},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg6::PetscEnum,arg7::Union{Ptr{PetscEnum},StridedArray{PetscEnum},Ptr{PetscEnum},Ref{PetscEnum}},arg8::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsEnum_Private,petscRealSingle),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Ptr{Ptr{UInt8}},PetscEnum,Ptr{PetscEnum},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsInt_Private(arg0::Type{Float32},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsInt_Private,petscRealSingle),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Int64,Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsReal_Private(arg0::Type{Float32},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Float32,arg6::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg7::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsReal_Private,petscRealSingle),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Float32,Ptr{Float32},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsScalar_Private(arg0::Type{Float32},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Float32,arg6::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg7::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsScalar_Private,petscRealSingle),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Float32,Ptr{Float32},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsName_Private(arg0::Type{Float32},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsName_Private,petscRealSingle),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsString_Private(arg0::Type{Float32},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg6::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg7::Csize_t,arg8::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsString_Private,petscRealSingle),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Cstring,Cstring,Csize_t,Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsBool_Private(arg0::Type{Float32},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::PetscBool,arg6::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg7::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsBool_Private,petscRealSingle),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,PetscBool,Ptr{PetscBool},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsBoolGroupBegin_Private(arg0::Type{Float32},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsBoolGroupBegin_Private,petscRealSingle),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsBoolGroup_Private(arg0::Type{Float32},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsBoolGroup_Private,petscRealSingle),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsBoolGroupEnd_Private(arg0::Type{Float32},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsBoolGroupEnd_Private,petscRealSingle),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsFList_Private(arg0::Type{Float32},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::PetscFunctionList,arg6::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg7::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg8::Csize_t,arg9::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsFList_Private,petscRealSingle),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,PetscFunctionList,Cstring,Cstring,Csize_t,Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsEList_Private(arg0::Type{Float32},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg6::Integer,arg7::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg8::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg9::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsEList_Private,petscRealSingle),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Ptr{Ptr{UInt8}},Int64,Cstring,Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsRealArray_Private(arg0::Type{Float32},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsRealArray_Private,petscRealSingle),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Ptr{Float32},Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsScalarArray_Private(arg0::Type{Float32},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsScalarArray_Private,petscRealSingle),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Ptr{Float32},Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsIntArray_Private(arg0::Type{Float32},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsIntArray_Private,petscRealSingle),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Ptr{Int64},Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsStringArray_Private(arg0::Type{Float32},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsStringArray_Private,petscRealSingle),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Ptr{Ptr{UInt8}},Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsBoolArray_Private(arg0::Type{Float32},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsBoolArray_Private,petscRealSingle),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Ptr{PetscBool},Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -#= skipping function with undefined symbols: - function PetscOptionsEnumArray_Private(arg0::Type{Float32},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg6::Union{Ptr{PetscEnum},StridedArray{PetscEnum},Ptr{PetscEnum},Ref{PetscEnum}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsEnumArray_Private,petscRealSingle),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Ptr{Ptr{UInt8}},Ptr{PetscEnum},Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) -end -=# -function PetscOptionsSetFromOptions(arg0::Type{Float32}) - err = ccall((:PetscOptionsSetFromOptions,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscOptionsSAWsDestroy(arg0::Type{Float32}) - err = ccall((:PetscOptionsSAWsDestroy,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscMemoryShowUsage(arg1::PetscViewer{Float32},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscMemoryShowUsage,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Cstring),arg1,arg2) - return err -end - -function PetscObjectPrintClassNamePrefixType(arg1::PetscObject,arg2::PetscViewer{Float32}) - err = ccall((:PetscObjectPrintClassNamePrefixType,petscRealSingle),PetscErrorCode,(PetscObject,PetscViewer{Float32}),arg1,arg2) - return err -end - -function PetscObjectView(arg1::PetscObject,arg2::PetscViewer{Float32}) - err = ccall((:PetscObjectView,petscRealSingle),PetscErrorCode,(PetscObject,PetscViewer{Float32}),arg1,arg2) - return err -end - -function PetscObjectQueryFunction_Private(arg0::Type{Float32},arg1::PetscObject,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:PetscObjectQueryFunction_Private,petscRealSingle),PetscErrorCode,(PetscObject,Cstring,Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function PetscObjectSetOptionsPrefix(arg0::Type{Float32},arg1::PetscObject,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscObjectSetOptionsPrefix,petscRealSingle),PetscErrorCode,(PetscObject,Cstring),arg1,arg2) - return err -end - -function PetscObjectAppendOptionsPrefix(arg0::Type{Float32},arg1::PetscObject,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscObjectAppendOptionsPrefix,petscRealSingle),PetscErrorCode,(PetscObject,Cstring),arg1,arg2) - return err -end - -function PetscObjectPrependOptionsPrefix(arg0::Type{Float32},arg1::PetscObject,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscObjectPrependOptionsPrefix,petscRealSingle),PetscErrorCode,(PetscObject,Cstring),arg1,arg2) - return err -end - -function PetscObjectGetOptionsPrefix(arg0::Type{Float32},arg1::PetscObject,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscObjectGetOptionsPrefix,petscRealSingle),PetscErrorCode,(PetscObject,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscObjectChangeTypeName(arg0::Type{Float32},arg1::PetscObject,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscObjectChangeTypeName,petscRealSingle),PetscErrorCode,(PetscObject,Cstring),arg1,arg2) - return err -end - -function PetscObjectRegisterDestroy(arg0::Type{Float32},arg1::PetscObject) - err = ccall((:PetscObjectRegisterDestroy,petscRealSingle),PetscErrorCode,(PetscObject,),arg1) - return err -end - -function PetscObjectRegisterDestroyAll(arg0::Type{Float32}) - err = ccall((:PetscObjectRegisterDestroyAll,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscObjectViewFromOptions(arg0::Type{Float32},arg1::PetscObject,arg2::PetscObject,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscObjectViewFromOptions,petscRealSingle),PetscErrorCode,(PetscObject,PetscObject,Cstring),arg1,arg2,arg3) - return err -end - -function PetscObjectName(arg0::Type{Float32},arg1::PetscObject) - err = ccall((:PetscObjectName,petscRealSingle),PetscErrorCode,(PetscObject,),arg1) - return err -end - -function PetscObjectTypeCompare(arg0::Type{Float32},arg1::PetscObject,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscObjectTypeCompare,petscRealSingle),PetscErrorCode,(PetscObject,Cstring,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function PetscRegisterFinalize(arg0::Type{Float32},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscRegisterFinalize,petscRealSingle),PetscErrorCode,(Ptr{Void},),arg1) - return err -end - -function PetscRegisterFinalizeAll(arg0::Type{Float32}) - err = ccall((:PetscRegisterFinalizeAll,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscDLOpen(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::PetscDLMode,arg3::Union{Ptr{PetscDLHandle},StridedArray{PetscDLHandle},Ptr{PetscDLHandle},Ref{PetscDLHandle}}) - err = ccall((:PetscDLOpen,petscRealSingle),PetscErrorCode,(Cstring,PetscDLMode,Ptr{PetscDLHandle}),arg1,arg2,arg3) - return err -end - -function PetscDLClose(arg0::Type{Float32},arg1::Union{Ptr{PetscDLHandle},StridedArray{PetscDLHandle},Ptr{PetscDLHandle},Ref{PetscDLHandle}}) - err = ccall((:PetscDLClose,petscRealSingle),PetscErrorCode,(Ptr{PetscDLHandle},),arg1) - return err -end - -function PetscDLSym(arg0::Type{Float32},arg1::PetscDLHandle,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:PetscDLSym,petscRealSingle),PetscErrorCode,(PetscDLHandle,Cstring,Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function PetscMallocGetStack(arg0::Type{Float32},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg2::Union{Ptr{Ptr{PetscStack}},StridedArray{Ptr{PetscStack}},Ptr{Ptr{PetscStack}},Ref{Ptr{PetscStack}}}) - err = ccall((:PetscMallocGetStack,petscRealSingle),PetscErrorCode,(Ptr{Void},Ptr{Ptr{PetscStack}}),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function PetscObjectsDump(arg0::Type{Float32},arg1::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}},arg2::PetscBool) - ccall((:PetscObjectsDump,petscRealSingle),PetscErrorCode,(Ptr{FILE},PetscBool),arg1,arg2) -end -=# -function PetscObjectListDestroy(arg0::Type{Float32},arg1::Union{Ptr{PetscObjectList},StridedArray{PetscObjectList},Ptr{PetscObjectList},Ref{PetscObjectList}}) - err = ccall((:PetscObjectListDestroy,petscRealSingle),PetscErrorCode,(Ptr{PetscObjectList},),arg1) - return err -end - -function PetscObjectListFind(arg0::Type{Float32},arg1::PetscObjectList,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscObject},StridedArray{PetscObject},Ptr{PetscObject},Ref{PetscObject}}) - err = ccall((:PetscObjectListFind,petscRealSingle),PetscErrorCode,(PetscObjectList,Cstring,Ptr{PetscObject}),arg1,arg2,arg3) - return err -end - -function PetscObjectListReverseFind(arg0::Type{Float32},arg1::PetscObjectList,arg2::PetscObject,arg3::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscObjectListReverseFind,petscRealSingle),PetscErrorCode,(PetscObjectList,PetscObject,Ptr{Ptr{UInt8}},Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function PetscObjectListAdd(arg0::Type{Float32},arg1::Union{Ptr{PetscObjectList},StridedArray{PetscObjectList},Ptr{PetscObjectList},Ref{PetscObjectList}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::PetscObject) - err = ccall((:PetscObjectListAdd,petscRealSingle),PetscErrorCode,(Ptr{PetscObjectList},Cstring,PetscObject),arg1,arg2,arg3) - return err -end - -function PetscObjectListRemoveReference(arg0::Type{Float32},arg1::Union{Ptr{PetscObjectList},StridedArray{PetscObjectList},Ptr{PetscObjectList},Ref{PetscObjectList}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscObjectListRemoveReference,petscRealSingle),PetscErrorCode,(Ptr{PetscObjectList},Cstring),arg1,arg2) - return err -end - -function PetscObjectListDuplicate(arg0::Type{Float32},arg1::PetscObjectList,arg2::Union{Ptr{PetscObjectList},StridedArray{PetscObjectList},Ptr{PetscObjectList},Ref{PetscObjectList}}) - err = ccall((:PetscObjectListDuplicate,petscRealSingle),PetscErrorCode,(PetscObjectList,Ptr{PetscObjectList}),arg1,arg2) - return err -end - -function PetscFunctionListAdd_Private(arg0::Type{Float32},arg1::Union{Ptr{PetscFunctionList},StridedArray{PetscFunctionList},Ptr{PetscFunctionList},Ref{PetscFunctionList}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscFunctionListAdd_Private,petscRealSingle),PetscErrorCode,(Ptr{PetscFunctionList},Cstring,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function PetscFunctionListDestroy(arg0::Type{Float32},arg1::Union{Ptr{PetscFunctionList},StridedArray{PetscFunctionList},Ptr{PetscFunctionList},Ref{PetscFunctionList}}) - err = ccall((:PetscFunctionListDestroy,petscRealSingle),PetscErrorCode,(Ptr{PetscFunctionList},),arg1) - return err -end - -function PetscFunctionListFind_Private(arg0::Type{Float32},arg1::PetscFunctionList,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:PetscFunctionListFind_Private,petscRealSingle),PetscErrorCode,(PetscFunctionList,Cstring,Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -#= skipping function with undefined symbols: - function PetscFunctionListPrintTypes(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg6::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg7::PetscFunctionList,arg8::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - ccall((:PetscFunctionListPrintTypes,petscRealSingle),PetscErrorCode,(comm_type,Ptr{FILE},Cstring,Cstring,Cstring,Cstring,PetscFunctionList,Cstring),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) -end -=# -function PetscFunctionListDuplicate(arg0::Type{Float32},arg1::PetscFunctionList,arg2::Union{Ptr{PetscFunctionList},StridedArray{PetscFunctionList},Ptr{PetscFunctionList},Ref{PetscFunctionList}}) - err = ccall((:PetscFunctionListDuplicate,petscRealSingle),PetscErrorCode,(PetscFunctionList,Ptr{PetscFunctionList}),arg1,arg2) - return err -end - -function PetscFunctionListView(arg1::PetscFunctionList,arg2::PetscViewer{Float32}) - err = ccall((:PetscFunctionListView,petscRealSingle),PetscErrorCode,(PetscFunctionList,PetscViewer{Float32}),arg1,arg2) - return err -end - -function PetscFunctionListGet(arg0::Type{Float32},arg1::PetscFunctionList,arg2::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}},arg3::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}}) - err = ccall((:PetscFunctionListGet,petscRealSingle),PetscErrorCode,(PetscFunctionList,Ptr{Ptr{Ptr{UInt8}}},Ptr{Cint}),arg1,arg2,arg3) - return err -end - -function PetscDLLibraryAppend(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{PetscDLLibrary},StridedArray{PetscDLLibrary},Ptr{PetscDLLibrary},Ref{PetscDLLibrary}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscDLLibraryAppend,petscRealSingle),PetscErrorCode,(comm_type,Ptr{PetscDLLibrary},Cstring),arg1,arg2,arg3) - return err -end - -function PetscDLLibraryPrepend(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{PetscDLLibrary},StridedArray{PetscDLLibrary},Ptr{PetscDLLibrary},Ref{PetscDLLibrary}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscDLLibraryPrepend,petscRealSingle),PetscErrorCode,(comm_type,Ptr{PetscDLLibrary},Cstring),arg1,arg2,arg3) - return err -end - -function PetscDLLibrarySym(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{PetscDLLibrary},StridedArray{PetscDLLibrary},Ptr{PetscDLLibrary},Ref{PetscDLLibrary}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:PetscDLLibrarySym,petscRealSingle),PetscErrorCode,(comm_type,Ptr{PetscDLLibrary},Cstring,Cstring,Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDLLibraryPrintPath(arg0::Type{Float32},arg1::PetscDLLibrary) - err = ccall((:PetscDLLibraryPrintPath,petscRealSingle),PetscErrorCode,(PetscDLLibrary,),arg1) - return err -end - -function PetscDLLibraryRetrieve(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Csize_t,arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscDLLibraryRetrieve,petscRealSingle),PetscErrorCode,(comm_type,Cstring,Cstring,Csize_t,Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDLLibraryOpen(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscDLLibrary},StridedArray{PetscDLLibrary},Ptr{PetscDLLibrary},Ref{PetscDLLibrary}}) - err = ccall((:PetscDLLibraryOpen,petscRealSingle),PetscErrorCode,(comm_type,Cstring,Ptr{PetscDLLibrary}),arg1,arg2,arg3) - return err -end - -function PetscDLLibraryClose(arg0::Type{Float32},arg1::PetscDLLibrary) - err = ccall((:PetscDLLibraryClose,petscRealSingle),PetscErrorCode,(PetscDLLibrary,),arg1) - return err -end - -function PetscSplitOwnership(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSplitOwnership,petscRealSingle),PetscErrorCode,(comm_type,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscSplitOwnershipBlock(arg0::Type{Float32},arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSplitOwnershipBlock,petscRealSingle),PetscErrorCode,(comm_type,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function PetscSequentialPhaseBegin(arg0::Type{Float32},arg1::MPI_Comm,arg2::PetscMPIInt) - err = ccall((:PetscSequentialPhaseBegin,petscRealSingle),PetscErrorCode,(comm_type,PetscMPIInt),arg1,arg2) - return err -end - -function PetscSequentialPhaseEnd(arg0::Type{Float32},arg1::MPI_Comm,arg2::PetscMPIInt) - err = ccall((:PetscSequentialPhaseEnd,petscRealSingle),PetscErrorCode,(comm_type,PetscMPIInt),arg1,arg2) - return err -end - -function PetscBarrier(arg0::Type{Float32},arg1::PetscObject) - err = ccall((:PetscBarrier,petscRealSingle),PetscErrorCode,(PetscObject,),arg1) - return err -end - -#= skipping function with undefined symbols: - function PetscMPIDump(arg0::Type{Float32},arg1::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}}) - ccall((:PetscMPIDump,petscRealSingle),PetscErrorCode,(Ptr{FILE},),arg1) -end -=# -function PetscInfoDeactivateClass(arg0::Type{Float32},arg1::PetscClassId) - err = ccall((:PetscInfoDeactivateClass,petscRealSingle),PetscErrorCode,(PetscClassId,),arg1) - return err -end - -function PetscInfoActivateClass(arg0::Type{Float32},arg1::PetscClassId) - err = ccall((:PetscInfoActivateClass,petscRealSingle),PetscErrorCode,(PetscClassId,),arg1) - return err -end - -function PetscLogGetStageLog(arg0::Type{Float32},arg1::Union{Ptr{PetscStageLog},StridedArray{PetscStageLog},Ptr{PetscStageLog},Ref{PetscStageLog}}) - err = ccall((:PetscLogGetStageLog,petscRealSingle),PetscErrorCode,(Ptr{PetscStageLog},),arg1) - return err -end - -function PetscStageLogGetCurrent(arg0::Type{Float32},arg1::PetscStageLog,arg2::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}}) - err = ccall((:PetscStageLogGetCurrent,petscRealSingle),PetscErrorCode,(PetscStageLog,Ptr{Cint}),arg1,arg2) - return err -end - -function PetscStageLogGetEventPerfLog(arg0::Type{Float32},arg1::PetscStageLog,arg2::Integer,arg3::Union{Ptr{PetscEventPerfLog},StridedArray{PetscEventPerfLog},Ptr{PetscEventPerfLog},Ref{PetscEventPerfLog}}) - err = ccall((:PetscStageLogGetEventPerfLog,petscRealSingle),PetscErrorCode,(PetscStageLog,Cint,Ptr{PetscEventPerfLog}),arg1,arg2,arg3) - return err -end - -function PetscLogObjectParent(arg0::Type{Float32},arg1::PetscObject,arg2::PetscObject) - err = ccall((:PetscLogObjectParent,petscRealSingle),PetscErrorCode,(PetscObject,PetscObject),arg1,arg2) - return err -end - -function PetscLogObjectMemory(arg0::Type{Float32},arg1::PetscObject,arg2::PetscLogDouble) - err = ccall((:PetscLogObjectMemory,petscRealSingle),PetscErrorCode,(PetscObject,PetscLogDouble),arg1,arg2) - return err -end - -function PetscLogFlops(arg0::Type{Float32},n::PetscLogDouble) - err = ccall((:PetscLogFlops,petscRealSingle),PetscErrorCode,(PetscLogDouble,),n) - return err -end - -function PetscLogBegin(arg0::Type{Float32}) - err = ccall((:PetscLogBegin,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscLogAllBegin(arg0::Type{Float32}) - err = ccall((:PetscLogAllBegin,petscRealSingle),PetscErrorCode,()) - return err -end - -#= skipping function with undefined symbols: - function PetscLogTraceBegin(arg0::Type{Float32},arg1::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}}) - ccall((:PetscLogTraceBegin,petscRealSingle),PetscErrorCode,(Ptr{FILE},),arg1) -end -=# -function PetscLogActions(arg0::Type{Float32},arg1::PetscBool) - err = ccall((:PetscLogActions,petscRealSingle),PetscErrorCode,(PetscBool,),arg1) - return err -end - -function PetscLogObjects(arg0::Type{Float32},arg1::PetscBool) - err = ccall((:PetscLogObjects,petscRealSingle),PetscErrorCode,(PetscBool,),arg1) - return err -end - -function PetscLogDestroy(arg0::Type{Float32}) - err = ccall((:PetscLogDestroy,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscLogSet(arg0::Type{Float32},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscLogSet,petscRealSingle),PetscErrorCode,(Ptr{Void},Ptr{Void}),arg1,arg2) - return err -end - -function PetscLogView(arg1::PetscViewer{Float32}) - err = ccall((:PetscLogView,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},),arg1) - return err -end - -function PetscLogViewFromOptions(arg0::Type{Float32}) - err = ccall((:PetscLogViewFromOptions,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscLogDump(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscLogDump,petscRealSingle),PetscErrorCode,(Cstring,),arg1) - return err -end - -function PetscGetFlops(arg0::Type{Float32},arg1::Union{Ptr{PetscLogDouble},StridedArray{PetscLogDouble},Ptr{PetscLogDouble},Ref{PetscLogDouble}}) - err = ccall((:PetscGetFlops,petscRealSingle),PetscErrorCode,(Ptr{PetscLogDouble},),arg1) - return err -end - -function PetscLogStageRegister(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{PetscLogStage},StridedArray{PetscLogStage},Ptr{PetscLogStage},Ref{PetscLogStage}}) - err = ccall((:PetscLogStageRegister,petscRealSingle),PetscErrorCode,(Cstring,Ptr{PetscLogStage}),arg1,arg2) - return err -end - -function PetscLogStagePush(arg0::Type{Float32},arg1::PetscLogStage) - err = ccall((:PetscLogStagePush,petscRealSingle),PetscErrorCode,(PetscLogStage,),arg1) - return err -end - -function PetscLogStagePop(arg0::Type{Float32}) - err = ccall((:PetscLogStagePop,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscLogStageSetActive(arg0::Type{Float32},arg1::PetscLogStage,arg2::PetscBool) - err = ccall((:PetscLogStageSetActive,petscRealSingle),PetscErrorCode,(PetscLogStage,PetscBool),arg1,arg2) - return err -end - -function PetscLogStageGetActive(arg0::Type{Float32},arg1::PetscLogStage,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscLogStageGetActive,petscRealSingle),PetscErrorCode,(PetscLogStage,Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscLogStageSetVisible(arg0::Type{Float32},arg1::PetscLogStage,arg2::PetscBool) - err = ccall((:PetscLogStageSetVisible,petscRealSingle),PetscErrorCode,(PetscLogStage,PetscBool),arg1,arg2) - return err -end - -function PetscLogStageGetVisible(arg0::Type{Float32},arg1::PetscLogStage,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscLogStageGetVisible,petscRealSingle),PetscErrorCode,(PetscLogStage,Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscLogStageGetId(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{PetscLogStage},StridedArray{PetscLogStage},Ptr{PetscLogStage},Ref{PetscLogStage}}) - err = ccall((:PetscLogStageGetId,petscRealSingle),PetscErrorCode,(Cstring,Ptr{PetscLogStage}),arg1,arg2) - return err -end - -function PetscLogEventRegister(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::PetscClassId,arg3::Union{Ptr{PetscLogEvent},StridedArray{PetscLogEvent},Ptr{PetscLogEvent},Ref{PetscLogEvent}}) - err = ccall((:PetscLogEventRegister,petscRealSingle),PetscErrorCode,(Cstring,PetscClassId,Ptr{PetscLogEvent}),arg1,arg2,arg3) - return err -end - -function PetscLogEventActivate(arg0::Type{Float32},arg1::PetscLogEvent) - err = ccall((:PetscLogEventActivate,petscRealSingle),PetscErrorCode,(PetscLogEvent,),arg1) - return err -end - -function PetscLogEventDeactivate(arg0::Type{Float32},arg1::PetscLogEvent) - err = ccall((:PetscLogEventDeactivate,petscRealSingle),PetscErrorCode,(PetscLogEvent,),arg1) - return err -end - -function PetscLogEventSetActiveAll(arg0::Type{Float32},arg1::PetscLogEvent,arg2::PetscBool) - err = ccall((:PetscLogEventSetActiveAll,petscRealSingle),PetscErrorCode,(PetscLogEvent,PetscBool),arg1,arg2) - return err -end - -function PetscLogEventActivateClass(arg0::Type{Float32},arg1::PetscClassId) - err = ccall((:PetscLogEventActivateClass,petscRealSingle),PetscErrorCode,(PetscClassId,),arg1) - return err -end - -function PetscLogEventDeactivateClass(arg0::Type{Float32},arg1::PetscClassId) - err = ccall((:PetscLogEventDeactivateClass,petscRealSingle),PetscErrorCode,(PetscClassId,),arg1) - return err -end - -function PetscLogEventGetId(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{PetscLogEvent},StridedArray{PetscLogEvent},Ptr{PetscLogEvent},Ref{PetscLogEvent}}) - err = ccall((:PetscLogEventGetId,petscRealSingle),PetscErrorCode,(Cstring,Ptr{PetscLogEvent}),arg1,arg2) - return err -end - -function PetscLogEventGetPerfInfo(arg0::Type{Float32},arg1::Integer,arg2::PetscLogEvent,arg3::Union{Ptr{PetscEventPerfInfo},StridedArray{PetscEventPerfInfo},Ptr{PetscEventPerfInfo},Ref{PetscEventPerfInfo}}) - err = ccall((:PetscLogEventGetPerfInfo,petscRealSingle),PetscErrorCode,(Cint,PetscLogEvent,Ptr{PetscEventPerfInfo}),arg1,arg2,arg3) - return err -end - -function PetscLogEventGetFlops(arg0::Type{Float32},arg1::PetscLogEvent,arg2::Union{Ptr{PetscLogDouble},StridedArray{PetscLogDouble},Ptr{PetscLogDouble},Ref{PetscLogDouble}}) - err = ccall((:PetscLogEventGetFlops,petscRealSingle),PetscErrorCode,(PetscLogEvent,Ptr{PetscLogDouble}),arg1,arg2) - return err -end - -function PetscLogEventZeroFlops(arg0::Type{Float32},arg1::PetscLogEvent) - err = ccall((:PetscLogEventZeroFlops,petscRealSingle),PetscErrorCode,(PetscLogEvent,),arg1) - return err -end - -#= skipping function with undefined symbols: - function PetscMPITypeSize(arg0::Type{Float32},buff::Union{Ptr{PetscLogDouble},StridedArray{PetscLogDouble},Ptr{PetscLogDouble},Ref{PetscLogDouble}},count::PetscMPIInt,_type::MPI_Datatype) - ccall((:PetscMPITypeSize,petscRealSingle),PetscErrorCode,(Ptr{PetscLogDouble},PetscMPIInt,MPI_Datatype),buff,count,_type) -end -=# -#= skipping function with undefined symbols: - function PetscMPITypeSizeComm(arg0::Type{Float32},comm::MPI_Comm,buff::Union{Ptr{PetscLogDouble},StridedArray{PetscLogDouble},Ptr{PetscLogDouble},Ref{PetscLogDouble}},counts::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}},_type::MPI_Datatype) - ccall((:PetscMPITypeSizeComm,petscRealSingle),PetscErrorCode,(comm_type,Ptr{PetscLogDouble},Ptr{PetscMPIInt},MPI_Datatype),comm,buff,counts,_type) -end -=# -function PetscMPIParallelComm(arg0::Type{Float32},comm::MPI_Comm) - err = ccall((:PetscMPIParallelComm,petscRealSingle),Cint,(comm_type,),comm) - return err -end - -function PetscIntStackCreate(arg0::Type{Float32},arg1::Union{Ptr{PetscIntStack},StridedArray{PetscIntStack},Ptr{PetscIntStack},Ref{PetscIntStack}}) - err = ccall((:PetscIntStackCreate,petscRealSingle),PetscErrorCode,(Ptr{PetscIntStack},),arg1) - return err -end - -function PetscIntStackDestroy(arg0::Type{Float32},arg1::PetscIntStack) - err = ccall((:PetscIntStackDestroy,petscRealSingle),PetscErrorCode,(PetscIntStack,),arg1) - return err -end - -function PetscIntStackPush(arg0::Type{Float32},arg1::PetscIntStack,arg2::Integer) - err = ccall((:PetscIntStackPush,petscRealSingle),PetscErrorCode,(PetscIntStack,Cint),arg1,arg2) - return err -end - -function PetscIntStackPop(arg0::Type{Float32},arg1::PetscIntStack,arg2::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}}) - err = ccall((:PetscIntStackPop,petscRealSingle),PetscErrorCode,(PetscIntStack,Ptr{Cint}),arg1,arg2) - return err -end - -function PetscIntStackTop(arg0::Type{Float32},arg1::PetscIntStack,arg2::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}}) - err = ccall((:PetscIntStackTop,petscRealSingle),PetscErrorCode,(PetscIntStack,Ptr{Cint}),arg1,arg2) - return err -end - -function PetscIntStackEmpty(arg0::Type{Float32},arg1::PetscIntStack,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscIntStackEmpty,petscRealSingle),PetscErrorCode,(PetscIntStack,Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscFixFilename(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscFixFilename,petscRealSingle),PetscErrorCode,(Cstring,Cstring),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function PetscFOpen(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{Ptr{Ptr{FILE}},StridedArray{Ptr{FILE}},Ptr{Ptr{FILE}},Ref{Ptr{FILE}}}) - ccall((:PetscFOpen,petscRealSingle),PetscErrorCode,(comm_type,Cstring,Cstring,Ptr{Ptr{FILE}}),arg1,arg2,arg3,arg4) -end -=# -#= skipping function with undefined symbols: - function PetscFClose(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}}) - ccall((:PetscFClose,petscRealSingle),PetscErrorCode,(comm_type,Ptr{FILE}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function PetscVSNPrintf(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Csize_t,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{Ptr{Csize_t},StridedArray{Csize_t},Ptr{Csize_t},Ref{Csize_t}},arg5::Union{Ptr{__va_list_tag},StridedArray{__va_list_tag},Ptr{__va_list_tag},Ref{__va_list_tag}}) - ccall((:PetscVSNPrintf,petscRealSingle),PetscErrorCode,(Cstring,Csize_t,Cstring,Ptr{Csize_t},Ptr{__va_list_tag}),arg1,arg2,arg3,arg4,arg5) -end -=# -#= skipping function with undefined symbols: - function PetscVFPrintfDefault(arg0::Type{Float32},arg1::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{__va_list_tag},StridedArray{__va_list_tag},Ptr{__va_list_tag},Ref{__va_list_tag}}) - ccall((:PetscVFPrintfDefault,petscRealSingle),PetscErrorCode,(Ptr{FILE},Cstring,Ptr{__va_list_tag}),arg1,arg2,arg3) -end -=# -#= skipping function with undefined symbols: - function PetscPOpen(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{Ptr{FILE}},StridedArray{Ptr{FILE}},Ptr{Ptr{FILE}},Ref{Ptr{FILE}}}) - ccall((:PetscPOpen,petscRealSingle),PetscErrorCode,(comm_type,Cstring,Cstring,Cstring,Ptr{Ptr{FILE}}),arg1,arg2,arg3,arg4,arg5) -end -=# -#= skipping function with undefined symbols: - function PetscPClose(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}},arg3::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}}) - ccall((:PetscPClose,petscRealSingle),PetscErrorCode,(comm_type,Ptr{FILE},Ptr{Cint}),arg1,arg2,arg3) -end -=# -function PetscPOpenSetMachine(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscPOpenSetMachine,petscRealSingle),PetscErrorCode,(Cstring,),arg1) - return err -end - -#= skipping function with undefined symbols: - function PetscSynchronizedFlush(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}}) - ccall((:PetscSynchronizedFlush,petscRealSingle),PetscErrorCode,(comm_type,Ptr{FILE}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function PetscSynchronizedFGets(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}},arg3::Csize_t,arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - ccall((:PetscSynchronizedFGets,petscRealSingle),PetscErrorCode,(comm_type,Ptr{FILE},Csize_t,Cstring),arg1,arg2,arg3,arg4) -end -=# -#= skipping function with undefined symbols: - function PetscStartMatlab(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{Ptr{Ptr{FILE}},StridedArray{Ptr{FILE}},Ptr{Ptr{FILE}},Ref{Ptr{FILE}}}) - ccall((:PetscStartMatlab,petscRealSingle),PetscErrorCode,(comm_type,Cstring,Cstring,Ptr{Ptr{FILE}}),arg1,arg2,arg3,arg4) -end -=# -#= skipping function with undefined symbols: - function PetscStartJava(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{Ptr{Ptr{FILE}},StridedArray{Ptr{FILE}},Ptr{Ptr{FILE}},Ref{Ptr{FILE}}}) - ccall((:PetscStartJava,petscRealSingle),PetscErrorCode,(comm_type,Cstring,Cstring,Ptr{Ptr{FILE}}),arg1,arg2,arg3,arg4) -end -=# -function PetscGetPetscDir(arg0::Type{Float32},arg1::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscGetPetscDir,petscRealSingle),PetscErrorCode,(Ptr{Ptr{UInt8}},),arg1) - return err -end - -function PetscPopUpSelect(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Integer,arg5::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg6::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}}) - err = ccall((:PetscPopUpSelect,petscRealSingle),PetscErrorCode,(comm_type,Cstring,Cstring,Cint,Ptr{Ptr{UInt8}},Ptr{Cint}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscContainerGetPointer(arg0::Type{Float32},arg1::PetscContainer,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:PetscContainerGetPointer,petscRealSingle),PetscErrorCode,(PetscContainer,Ptr{Ptr{Void}}),arg1,arg2) - return err -end - -function PetscContainerSetPointer(arg0::Type{Float32},arg1::PetscContainer,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscContainerSetPointer,petscRealSingle),PetscErrorCode,(PetscContainer,Ptr{Void}),arg1,arg2) - return err -end - -function PetscContainerDestroy(arg0::Type{Float32},arg1::Union{Ptr{PetscContainer},StridedArray{PetscContainer},Ptr{PetscContainer},Ref{PetscContainer}}) - err = ccall((:PetscContainerDestroy,petscRealSingle),PetscErrorCode,(Ptr{PetscContainer},),arg1) - return err -end - -function PetscContainerCreate(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{PetscContainer},StridedArray{PetscContainer},Ptr{PetscContainer},Ref{PetscContainer}}) - err = ccall((:PetscContainerCreate,petscRealSingle),PetscErrorCode,(comm_type,Ptr{PetscContainer}),arg1,arg2) - return err -end - -function PetscContainerSetUserDestroy(arg0::Type{Float32},arg1::PetscContainer,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscContainerSetUserDestroy,petscRealSingle),PetscErrorCode,(PetscContainer,Ptr{Void}),arg1,arg2) - return err -end - -function PetscIntView(arg1::Integer,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::PetscViewer{Float32}) - err = ccall((:PetscIntView,petscRealSingle),PetscErrorCode,(Int64,Ptr{Int64},PetscViewer{Float32}),arg1,arg2,arg3) - return err -end - -function PetscRealView(arg1::Integer,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg3::PetscViewer{Float32}) - err = ccall((:PetscRealView,petscRealSingle),PetscErrorCode,(Int64,Ptr{Float32},PetscViewer{Float32}),arg1,arg2,arg3) - return err -end - -function PetscScalarView(arg1::Integer,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg3::PetscViewer{Float32}) - err = ccall((:PetscScalarView,petscRealSingle),PetscErrorCode,(Int64,Ptr{Float32},PetscViewer{Float32}),arg1,arg2,arg3) - return err -end - -function PetscMemcpy(arg0::Type{Float32},a::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},b::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},n::Csize_t) - err = ccall((:PetscMemcpy,petscRealSingle),PetscErrorCode,(Ptr{Void},Ptr{Void},Csize_t),a,b,n) - return err -end - -function PetscMemzero(arg0::Type{Float32},a::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},n::Csize_t) - err = ccall((:PetscMemzero,petscRealSingle),PetscErrorCode,(Ptr{Void},Csize_t),a,n) - return err -end - -#= skipping function with undefined symbols: - function MPIU_File_write_all(arg0::Type{Float32},arg1::MPI_File,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::PetscMPIInt,arg4::MPI_Datatype,arg5::Union{Ptr{MPI_Status},StridedArray{MPI_Status},Ptr{MPI_Status},Ref{MPI_Status}}) - ccall((:MPIU_File_write_all,petscRealSingle),PetscErrorCode,(MPI_File,Ptr{Void},PetscMPIInt,MPI_Datatype,Ptr{MPI_Status}),arg1,arg2,arg3,arg4,arg5) -end -=# -#= skipping function with undefined symbols: - function MPIU_File_read_all(arg0::Type{Float32},arg1::MPI_File,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::PetscMPIInt,arg4::MPI_Datatype,arg5::Union{Ptr{MPI_Status},StridedArray{MPI_Status},Ptr{MPI_Status},Ref{MPI_Status}}) - ccall((:MPIU_File_read_all,petscRealSingle),PetscErrorCode,(MPI_File,Ptr{Void},PetscMPIInt,MPI_Datatype,Ptr{MPI_Status}),arg1,arg2,arg3,arg4,arg5) -end -=# -function PetscBLASIntCast(arg0::Type{Float32},a::Integer,b::Union{Ptr{PetscBLASInt},StridedArray{PetscBLASInt},Ptr{PetscBLASInt},Ref{PetscBLASInt}}) - err = ccall((:PetscBLASIntCast,petscRealSingle),PetscErrorCode,(Int64,Ptr{PetscBLASInt}),a,b) - return err -end - -function PetscMPIIntCast(arg0::Type{Float32},a::Integer,b::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}}) - err = ccall((:PetscMPIIntCast,petscRealSingle),PetscErrorCode,(Int64,Ptr{PetscMPIInt}),a,b) - return err -end - -function PetscGetArchType(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Csize_t) - err = ccall((:PetscGetArchType,petscRealSingle),PetscErrorCode,(Cstring,Csize_t),arg1,arg2) - return err -end - -function PetscGetHostName(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Csize_t) - err = ccall((:PetscGetHostName,petscRealSingle),PetscErrorCode,(Cstring,Csize_t),arg1,arg2) - return err -end - -function PetscGetUserName(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Csize_t) - err = ccall((:PetscGetUserName,petscRealSingle),PetscErrorCode,(Cstring,Csize_t),arg1,arg2) - return err -end - -function PetscGetProgramName(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Csize_t) - err = ccall((:PetscGetProgramName,petscRealSingle),PetscErrorCode,(Cstring,Csize_t),arg1,arg2) - return err -end - -function PetscSetProgramName(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscSetProgramName,petscRealSingle),PetscErrorCode,(Cstring,),arg1) - return err -end - -function PetscGetDate(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Csize_t) - err = ccall((:PetscGetDate,petscRealSingle),PetscErrorCode,(Cstring,Csize_t),arg1,arg2) - return err -end - -function PetscGetVersion(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Csize_t) - err = ccall((:PetscGetVersion,petscRealSingle),PetscErrorCode,(Cstring,Csize_t),arg1,arg2) - return err -end - -function PetscSortInt(arg0::Type{Float32},arg1::Integer,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSortInt,petscRealSingle),PetscErrorCode,(Int64,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscSortRemoveDupsInt(arg0::Type{Float32},arg1::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSortRemoveDupsInt,petscRealSingle),PetscErrorCode,(Ptr{Int64},Ptr{Int64}),arg1,arg2) - return err -end - -function PetscFindInt(arg0::Type{Float32},arg1::Integer,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscFindInt,petscRealSingle),PetscErrorCode,(Int64,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function PetscSortIntWithPermutation(arg0::Type{Float32},arg1::Integer,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSortIntWithPermutation,petscRealSingle),PetscErrorCode,(Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscSortStrWithPermutation(arg0::Type{Float32},arg1::Integer,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSortStrWithPermutation,petscRealSingle),PetscErrorCode,(Int64,Ptr{Ptr{UInt8}},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscSortIntWithArray(arg0::Type{Float32},arg1::Integer,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSortIntWithArray,petscRealSingle),PetscErrorCode,(Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscSortIntWithArrayPair(arg0::Type{Float32},arg1::Integer,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSortIntWithArrayPair,petscRealSingle),PetscErrorCode,(Int64,Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function PetscSortMPIInt(arg0::Type{Float32},arg1::Integer,arg2::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}}) - err = ccall((:PetscSortMPIInt,petscRealSingle),PetscErrorCode,(Int64,Ptr{PetscMPIInt}),arg1,arg2) - return err -end - -function PetscSortRemoveDupsMPIInt(arg0::Type{Float32},arg1::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg2::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}}) - err = ccall((:PetscSortRemoveDupsMPIInt,petscRealSingle),PetscErrorCode,(Ptr{Int64},Ptr{PetscMPIInt}),arg1,arg2) - return err -end - -function PetscSortMPIIntWithArray(arg0::Type{Float32},arg1::PetscMPIInt,arg2::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}},arg3::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}}) - err = ccall((:PetscSortMPIIntWithArray,petscRealSingle),PetscErrorCode,(PetscMPIInt,Ptr{PetscMPIInt},Ptr{PetscMPIInt}),arg1,arg2,arg3) - return err -end - -function PetscSortIntWithScalarArray(arg0::Type{Float32},arg1::Integer,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:PetscSortIntWithScalarArray,petscRealSingle),PetscErrorCode,(Int64,Ptr{Int64},Ptr{Float32}),arg1,arg2,arg3) - return err -end - -function PetscSortIntWithDataArray(arg0::Type{Float32},arg1::Integer,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Csize_t,arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscSortIntWithDataArray,petscRealSingle),PetscErrorCode,(Int64,Ptr{Int64},Ptr{Void},Csize_t,Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscSortReal(arg0::Type{Float32},arg1::Integer,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:PetscSortReal,petscRealSingle),PetscErrorCode,(Int64,Ptr{Float32}),arg1,arg2) - return err -end - -function PetscSortRealWithPermutation(arg0::Type{Float32},arg1::Integer,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSortRealWithPermutation,petscRealSingle),PetscErrorCode,(Int64,Ptr{Float32},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscSortRemoveDupsReal(arg0::Type{Float32},arg1::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:PetscSortRemoveDupsReal,petscRealSingle),PetscErrorCode,(Ptr{Int64},Ptr{Float32}),arg1,arg2) - return err -end - -function PetscSortSplit(arg0::Type{Float32},arg1::Integer,arg2::Integer,arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSortSplit,petscRealSingle),PetscErrorCode,(Int64,Int64,Ptr{Float32},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function PetscSortSplitReal(arg0::Type{Float32},arg1::Integer,arg2::Integer,arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSortSplitReal,petscRealSingle),PetscErrorCode,(Int64,Int64,Ptr{Float32},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function PetscProcessTree(arg0::Type{Float32},arg1::Integer,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg6::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg7::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg8::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PetscProcessTree,petscRealSingle),PetscErrorCode,(Int64,Ptr{PetscBool},Ptr{Int64},Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function PetscMergeIntArrayPair(arg0::Type{Float32},arg1::Integer,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg9::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PetscMergeIntArrayPair,petscRealSingle),PetscErrorCode,(Int64,Ptr{Int64},Ptr{Int64},Int64,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) - return err -end - -function PetscMergeIntArray(arg0::Type{Float32},arg1::Integer,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PetscMergeIntArray,petscRealSingle),PetscErrorCode,(Int64,Ptr{Int64},Int64,Ptr{Int64},Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscSetDisplay(arg0::Type{Float32}) - err = ccall((:PetscSetDisplay,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscGetDisplay(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Csize_t) - err = ccall((:PetscGetDisplay,petscRealSingle),PetscErrorCode,(Cstring,Csize_t),arg1,arg2) - return err -end - -function PetscRandomInitializePackage(arg0::Type{Float32}) - err = ccall((:PetscRandomInitializePackage,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscRandomRegister(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscRandomRegister,petscRealSingle),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function PetscRandomSetType(arg0::Type{Float32},arg1::PetscRandom,arg2::PetscRandomType) - err = ccall((:PetscRandomSetType,petscRealSingle),PetscErrorCode,(PetscRandom,Cstring),arg1,arg2) - return err -end - -function PetscRandomSetFromOptions(arg0::Type{Float32},arg1::PetscRandom) - err = ccall((:PetscRandomSetFromOptions,petscRealSingle),PetscErrorCode,(PetscRandom,),arg1) - return err -end - -function PetscRandomGetType(arg0::Type{Float32},arg1::PetscRandom,arg2::Union{Ptr{PetscRandomType},StridedArray{PetscRandomType},Ptr{PetscRandomType},Ref{PetscRandomType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:PetscRandomGetType,petscRealSingle),PetscErrorCode,(PetscRandom,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function PetscRandomViewFromOptions(arg0::Type{Float32},A::PetscRandom,obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscRandomViewFromOptions,petscRealSingle),PetscErrorCode,(PetscRandom,PetscObject,Cstring),A,obj,name) - return err -end - -function PetscRandomView(arg1::PetscRandom,arg2::PetscViewer{Float32}) - err = ccall((:PetscRandomView,petscRealSingle),PetscErrorCode,(PetscRandom,PetscViewer{Float32}),arg1,arg2) - return err -end - -function PetscRandomCreate(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{PetscRandom},StridedArray{PetscRandom},Ptr{PetscRandom},Ref{PetscRandom}}) - err = ccall((:PetscRandomCreate,petscRealSingle),PetscErrorCode,(comm_type,Ptr{PetscRandom}),arg1,arg2) - return err -end - -function PetscRandomGetValue(arg0::Type{Float32},arg1::PetscRandom,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:PetscRandomGetValue,petscRealSingle),PetscErrorCode,(PetscRandom,Ptr{Float32}),arg1,arg2) - return err -end - -function PetscRandomGetValueReal(arg0::Type{Float32},arg1::PetscRandom,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:PetscRandomGetValueReal,petscRealSingle),PetscErrorCode,(PetscRandom,Ptr{Float32}),arg1,arg2) - return err -end - -function PetscRandomGetInterval(arg0::Type{Float32},arg1::PetscRandom,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:PetscRandomGetInterval,petscRealSingle),PetscErrorCode,(PetscRandom,Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3) - return err -end - -function PetscRandomSetInterval(arg0::Type{Float32},arg1::PetscRandom,arg2::Float32,arg3::Float32) - err = ccall((:PetscRandomSetInterval,petscRealSingle),PetscErrorCode,(PetscRandom,Float32,Float32),arg1,arg2,arg3) - return err -end - -function PetscRandomSetSeed(arg0::Type{Float32},arg1::PetscRandom,arg2::Culong) - err = ccall((:PetscRandomSetSeed,petscRealSingle),PetscErrorCode,(PetscRandom,Culong),arg1,arg2) - return err -end - -function PetscRandomGetSeed(arg0::Type{Float32},arg1::PetscRandom,arg2::Union{Ptr{Culong},StridedArray{Culong},Ptr{Culong},Ref{Culong}}) - err = ccall((:PetscRandomGetSeed,petscRealSingle),PetscErrorCode,(PetscRandom,Ptr{Culong}),arg1,arg2) - return err -end - -function PetscRandomSeed(arg0::Type{Float32},arg1::PetscRandom) - err = ccall((:PetscRandomSeed,petscRealSingle),PetscErrorCode,(PetscRandom,),arg1) - return err -end - -function PetscRandomDestroy(arg0::Type{Float32},arg1::Union{Ptr{PetscRandom},StridedArray{PetscRandom},Ptr{PetscRandom},Ref{PetscRandom}}) - err = ccall((:PetscRandomDestroy,petscRealSingle),PetscErrorCode,(Ptr{PetscRandom},),arg1) - return err -end - -function PetscGetFullPath(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Csize_t) - err = ccall((:PetscGetFullPath,petscRealSingle),PetscErrorCode,(Cstring,Cstring,Csize_t),arg1,arg2,arg3) - return err -end - -function PetscGetRelativePath(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Csize_t) - err = ccall((:PetscGetRelativePath,petscRealSingle),PetscErrorCode,(Cstring,Cstring,Csize_t),arg1,arg2,arg3) - return err -end - -function PetscGetWorkingDirectory(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Csize_t) - err = ccall((:PetscGetWorkingDirectory,petscRealSingle),PetscErrorCode,(Cstring,Csize_t),arg1,arg2) - return err -end - -function PetscGetRealPath(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscGetRealPath,petscRealSingle),PetscErrorCode,(Cstring,Cstring),arg1,arg2) - return err -end - -function PetscGetHomeDirectory(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Csize_t) - err = ccall((:PetscGetHomeDirectory,petscRealSingle),PetscErrorCode,(Cstring,Csize_t),arg1,arg2) - return err -end - -function PetscTestFile(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::UInt8,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscTestFile,petscRealSingle),PetscErrorCode,(Cstring,UInt8,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function PetscTestDirectory(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::UInt8,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscTestDirectory,petscRealSingle),PetscErrorCode,(Cstring,UInt8,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function PetscBinaryRead(arg0::Type{Float32},arg1::Integer,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Integer,arg4::PetscDataType) - err = ccall((:PetscBinaryRead,petscRealSingle),PetscErrorCode,(Cint,Ptr{Void},Int64,PetscDataType),arg1,arg2,arg3,arg4) - return err -end - -function PetscBinarySynchronizedRead(arg0::Type{Float32},arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Integer,arg5::PetscDataType) - err = ccall((:PetscBinarySynchronizedRead,petscRealSingle),PetscErrorCode,(comm_type,Cint,Ptr{Void},Int64,PetscDataType),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscBinarySynchronizedWrite(arg0::Type{Float32},arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Integer,arg5::PetscDataType,arg6::PetscBool) - err = ccall((:PetscBinarySynchronizedWrite,petscRealSingle),PetscErrorCode,(comm_type,Cint,Ptr{Void},Int64,PetscDataType,PetscBool),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscBinaryWrite(arg0::Type{Float32},arg1::Integer,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Integer,arg4::PetscDataType,arg5::PetscBool) - err = ccall((:PetscBinaryWrite,petscRealSingle),PetscErrorCode,(Cint,Ptr{Void},Int64,PetscDataType,PetscBool),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscBinaryOpen(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::PetscFileMode,arg3::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}}) - err = ccall((:PetscBinaryOpen,petscRealSingle),PetscErrorCode,(Cstring,PetscFileMode,Ptr{Cint}),arg1,arg2,arg3) - return err -end - -function PetscBinaryClose(arg0::Type{Float32},arg1::Integer) - err = ccall((:PetscBinaryClose,petscRealSingle),PetscErrorCode,(Cint,),arg1) - return err -end - -function PetscSharedTmp(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscSharedTmp,petscRealSingle),PetscErrorCode,(comm_type,Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscSharedWorkingDirectory(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscSharedWorkingDirectory,petscRealSingle),PetscErrorCode,(comm_type,Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscGetTmp(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Csize_t) - err = ccall((:PetscGetTmp,petscRealSingle),PetscErrorCode,(comm_type,Cstring,Csize_t),arg1,arg2,arg3) - return err -end - -function PetscFileRetrieve(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Csize_t,arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscFileRetrieve,petscRealSingle),PetscErrorCode,(comm_type,Cstring,Cstring,Csize_t,Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscLs(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Csize_t,arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscLs,petscRealSingle),PetscErrorCode,(comm_type,Cstring,Cstring,Csize_t,Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscOpenSocket(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Integer,arg3::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}}) - err = ccall((:PetscOpenSocket,petscRealSingle),PetscErrorCode,(Cstring,Cint,Ptr{Cint}),arg1,arg2,arg3) - return err -end - -#= skipping function with undefined symbols: - function PetscBinarySeek(arg0::Type{Float32},arg1::Integer,arg2::off_t,arg3::PetscBinarySeekType,arg4::Union{Ptr{off_t},StridedArray{off_t},Ptr{off_t},Ref{off_t}}) - ccall((:PetscBinarySeek,petscRealSingle),PetscErrorCode,(Cint,off_t,PetscBinarySeekType,Ptr{off_t}),arg1,arg2,arg3,arg4) -end -=# -#= skipping function with undefined symbols: - function PetscBinarySynchronizedSeek(arg0::Type{Float32},arg1::MPI_Comm,arg2::Integer,arg3::off_t,arg4::PetscBinarySeekType,arg5::Union{Ptr{off_t},StridedArray{off_t},Ptr{off_t},Ref{off_t}}) - ccall((:PetscBinarySynchronizedSeek,petscRealSingle),PetscErrorCode,(comm_type,Cint,off_t,PetscBinarySeekType,Ptr{off_t}),arg1,arg2,arg3,arg4,arg5) -end -=# -function PetscByteSwap(arg0::Type{Float32},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg2::PetscDataType,arg3::Integer) - err = ccall((:PetscByteSwap,petscRealSingle),PetscErrorCode,(Ptr{Void},PetscDataType,Int64),arg1,arg2,arg3) - return err -end - -function PetscSetDebugTerminal(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscSetDebugTerminal,petscRealSingle),PetscErrorCode,(Cstring,),arg1) - return err -end - -function PetscSetDebugger(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::PetscBool) - err = ccall((:PetscSetDebugger,petscRealSingle),PetscErrorCode,(Cstring,PetscBool),arg1,arg2) - return err -end - -function PetscSetDefaultDebugger(arg0::Type{Float32}) - err = ccall((:PetscSetDefaultDebugger,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscSetDebuggerFromString(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscSetDebuggerFromString,petscRealSingle),PetscErrorCode,(Cstring,),arg1) - return err -end - -function PetscAttachDebugger(arg0::Type{Float32}) - err = ccall((:PetscAttachDebugger,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscStopForDebugger(arg0::Type{Float32}) - err = ccall((:PetscStopForDebugger,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscGatherNumberOfMessages(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}},arg3::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}},arg4::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}}) - err = ccall((:PetscGatherNumberOfMessages,petscRealSingle),PetscErrorCode,(comm_type,Ptr{PetscMPIInt},Ptr{PetscMPIInt},Ptr{PetscMPIInt}),arg1,arg2,arg3,arg4) - return err -end - -function PetscGatherMessageLengths(arg0::Type{Float32},arg1::MPI_Comm,arg2::PetscMPIInt,arg3::PetscMPIInt,arg4::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}},arg5::Union{Ptr{Ptr{PetscMPIInt}},StridedArray{Ptr{PetscMPIInt}},Ptr{Ptr{PetscMPIInt}},Ref{Ptr{PetscMPIInt}}},arg6::Union{Ptr{Ptr{PetscMPIInt}},StridedArray{Ptr{PetscMPIInt}},Ptr{Ptr{PetscMPIInt}},Ref{Ptr{PetscMPIInt}}}) - err = ccall((:PetscGatherMessageLengths,petscRealSingle),PetscErrorCode,(comm_type,PetscMPIInt,PetscMPIInt,Ptr{PetscMPIInt},Ptr{Ptr{PetscMPIInt}},Ptr{Ptr{PetscMPIInt}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscGatherMessageLengths2(arg0::Type{Float32},arg1::MPI_Comm,arg2::PetscMPIInt,arg3::PetscMPIInt,arg4::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}},arg5::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}},arg6::Union{Ptr{Ptr{PetscMPIInt}},StridedArray{Ptr{PetscMPIInt}},Ptr{Ptr{PetscMPIInt}},Ref{Ptr{PetscMPIInt}}},arg7::Union{Ptr{Ptr{PetscMPIInt}},StridedArray{Ptr{PetscMPIInt}},Ptr{Ptr{PetscMPIInt}},Ref{Ptr{PetscMPIInt}}},arg8::Union{Ptr{Ptr{PetscMPIInt}},StridedArray{Ptr{PetscMPIInt}},Ptr{Ptr{PetscMPIInt}},Ref{Ptr{PetscMPIInt}}}) - err = ccall((:PetscGatherMessageLengths2,petscRealSingle),PetscErrorCode,(comm_type,PetscMPIInt,PetscMPIInt,Ptr{PetscMPIInt},Ptr{PetscMPIInt},Ptr{Ptr{PetscMPIInt}},Ptr{Ptr{PetscMPIInt}},Ptr{Ptr{PetscMPIInt}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -#= skipping function with undefined symbols: - function PetscPostIrecvInt(arg0::Type{Float32},arg1::MPI_Comm,arg2::PetscMPIInt,arg3::PetscMPIInt,arg4::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}},arg5::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}},arg6::Union{Ptr{Ptr{Ptr{Int64}}},StridedArray{Ptr{Ptr{Int64}}},Ptr{Ptr{Ptr{Int64}}},Ref{Ptr{Ptr{Int64}}}},arg7::Union{Ptr{Ptr{MPI_Request}},StridedArray{Ptr{MPI_Request}},Ptr{Ptr{MPI_Request}},Ref{Ptr{MPI_Request}}}) - ccall((:PetscPostIrecvInt,petscRealSingle),PetscErrorCode,(comm_type,PetscMPIInt,PetscMPIInt,Ptr{PetscMPIInt},Ptr{PetscMPIInt},Ptr{Ptr{Ptr{Int64}}},Ptr{Ptr{MPI_Request}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -#= skipping function with undefined symbols: - function PetscPostIrecvScalar(arg0::Type{Float32},arg1::MPI_Comm,arg2::PetscMPIInt,arg3::PetscMPIInt,arg4::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}},arg5::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}},arg6::Union{Ptr{Ptr{Ptr{Float32}}},StridedArray{Ptr{Ptr{Float32}}},Ptr{Ptr{Ptr{Float32}}},Ref{Ptr{Ptr{Float32}}}},arg7::Union{Ptr{Ptr{MPI_Request}},StridedArray{Ptr{MPI_Request}},Ptr{Ptr{MPI_Request}},Ref{Ptr{MPI_Request}}}) - ccall((:PetscPostIrecvScalar,petscRealSingle),PetscErrorCode,(comm_type,PetscMPIInt,PetscMPIInt,Ptr{PetscMPIInt},Ptr{PetscMPIInt},Ptr{Ptr{Ptr{Float32}}},Ptr{Ptr{MPI_Request}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -#= skipping function with undefined symbols: - function PetscCommBuildTwoSided(arg0::Type{Float32},arg1::MPI_Comm,arg2::PetscMPIInt,arg3::MPI_Datatype,arg4::Integer,arg5::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}},arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{Ptr{PetscMPIInt}},StridedArray{Ptr{PetscMPIInt}},Ptr{Ptr{PetscMPIInt}},Ref{Ptr{PetscMPIInt}}},arg9::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - ccall((:PetscCommBuildTwoSided,petscRealSingle),PetscErrorCode,(comm_type,PetscMPIInt,MPI_Datatype,Int64,Ptr{PetscMPIInt},Ptr{Void},Ptr{Int64},Ptr{Ptr{PetscMPIInt}},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) -end -=# -function PetscCommBuildTwoSidedSetType(arg0::Type{Float32},arg1::MPI_Comm,arg2::PetscBuildTwoSidedType) - err = ccall((:PetscCommBuildTwoSidedSetType,petscRealSingle),PetscErrorCode,(comm_type,PetscBuildTwoSidedType),arg1,arg2) - return err -end - -function PetscCommBuildTwoSidedGetType(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{PetscBuildTwoSidedType},StridedArray{PetscBuildTwoSidedType},Ptr{PetscBuildTwoSidedType},Ref{PetscBuildTwoSidedType}}) - err = ccall((:PetscCommBuildTwoSidedGetType,petscRealSingle),PetscErrorCode,(comm_type,Ptr{PetscBuildTwoSidedType}),arg1,arg2) - return err -end - -function PetscSSEIsEnabled(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscSSEIsEnabled,petscRealSingle),PetscErrorCode,(comm_type,Ptr{PetscBool},Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function PetscObjectComm(arg0::Type{Float32},arg1::PetscObject) - err = ccall((:PetscObjectComm,petscRealSingle),MPI_Comm,(PetscObject,),arg1) - return err -end - -function PetscSubcommChild(arg0::Type{Float32},scomm::PetscSubcomm) - err = ccall((:PetscSubcommChild,petscRealSingle),MPI_Comm,(PetscSubcomm,),scomm) - return err -end - -function PetscSubcommContiguousParent(arg0::Type{Float32},scomm::PetscSubcomm) - err = ccall((:PetscSubcommContiguousParent,petscRealSingle),MPI_Comm,(PetscSubcomm,),scomm) - return err -end - -function PetscSubcommCreate(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{PetscSubcomm},StridedArray{PetscSubcomm},Ptr{PetscSubcomm},Ref{PetscSubcomm}}) - err = ccall((:PetscSubcommCreate,petscRealSingle),PetscErrorCode,(comm_type,Ptr{PetscSubcomm}),arg1,arg2) - return err -end - -function PetscSubcommDestroy(arg0::Type{Float32},arg1::Union{Ptr{PetscSubcomm},StridedArray{PetscSubcomm},Ptr{PetscSubcomm},Ref{PetscSubcomm}}) - err = ccall((:PetscSubcommDestroy,petscRealSingle),PetscErrorCode,(Ptr{PetscSubcomm},),arg1) - return err -end - -function PetscSubcommSetNumber(arg0::Type{Float32},arg1::PetscSubcomm,arg2::Integer) - err = ccall((:PetscSubcommSetNumber,petscRealSingle),PetscErrorCode,(PetscSubcomm,Int64),arg1,arg2) - return err -end - -function PetscSubcommSetType(arg0::Type{Float32},arg1::PetscSubcomm,arg2::PetscSubcommType) - err = ccall((:PetscSubcommSetType,petscRealSingle),PetscErrorCode,(PetscSubcomm,PetscSubcommType),arg1,arg2) - return err -end - -function PetscSubcommSetTypeGeneral(arg0::Type{Float32},arg1::PetscSubcomm,arg2::PetscMPIInt,arg3::PetscMPIInt) - err = ccall((:PetscSubcommSetTypeGeneral,petscRealSingle),PetscErrorCode,(PetscSubcomm,PetscMPIInt,PetscMPIInt),arg1,arg2,arg3) - return err -end - -function PetscSubcommView(arg1::PetscSubcomm,arg2::PetscViewer{Float32}) - err = ccall((:PetscSubcommView,petscRealSingle),PetscErrorCode,(PetscSubcomm,PetscViewer{Float32}),arg1,arg2) - return err -end - -function PetscSubcommSetFromOptions(arg0::Type{Float32},arg1::PetscSubcomm) - err = ccall((:PetscSubcommSetFromOptions,petscRealSingle),PetscErrorCode,(PetscSubcomm,),arg1) - return err -end - -function PetscSegBufferCreate(arg0::Type{Float32},arg1::Csize_t,arg2::Csize_t,arg3::Union{Ptr{PetscSegBuffer},StridedArray{PetscSegBuffer},Ptr{PetscSegBuffer},Ref{PetscSegBuffer}}) - err = ccall((:PetscSegBufferCreate,petscRealSingle),PetscErrorCode,(Csize_t,Csize_t,Ptr{PetscSegBuffer}),arg1,arg2,arg3) - return err -end - -function PetscSegBufferDestroy(arg0::Type{Float32},arg1::Union{Ptr{PetscSegBuffer},StridedArray{PetscSegBuffer},Ptr{PetscSegBuffer},Ref{PetscSegBuffer}}) - err = ccall((:PetscSegBufferDestroy,petscRealSingle),PetscErrorCode,(Ptr{PetscSegBuffer},),arg1) - return err -end - -function PetscSegBufferGet(arg0::Type{Float32},arg1::PetscSegBuffer,arg2::Csize_t,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscSegBufferGet,petscRealSingle),PetscErrorCode,(PetscSegBuffer,Csize_t,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function PetscSegBufferExtractAlloc(arg0::Type{Float32},arg1::PetscSegBuffer,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscSegBufferExtractAlloc,petscRealSingle),PetscErrorCode,(PetscSegBuffer,Ptr{Void}),arg1,arg2) - return err -end - -function PetscSegBufferExtractTo(arg0::Type{Float32},arg1::PetscSegBuffer,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscSegBufferExtractTo,petscRealSingle),PetscErrorCode,(PetscSegBuffer,Ptr{Void}),arg1,arg2) - return err -end - -function PetscSegBufferExtractInPlace(arg0::Type{Float32},arg1::PetscSegBuffer,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscSegBufferExtractInPlace,petscRealSingle),PetscErrorCode,(PetscSegBuffer,Ptr{Void}),arg1,arg2) - return err -end - -function PetscSegBufferGetSize(arg0::Type{Float32},arg1::PetscSegBuffer,arg2::Union{Ptr{Csize_t},StridedArray{Csize_t},Ptr{Csize_t},Ref{Csize_t}}) - err = ccall((:PetscSegBufferGetSize,petscRealSingle),PetscErrorCode,(PetscSegBuffer,Ptr{Csize_t}),arg1,arg2) - return err -end - -function PetscSegBufferUnuse(arg0::Type{Float32},arg1::PetscSegBuffer,arg2::Csize_t) - err = ccall((:PetscSegBufferUnuse,petscRealSingle),PetscErrorCode,(PetscSegBuffer,Csize_t),arg1,arg2) - return err -end - -function PetscSegBufferGetInts(arg0::Type{Float32},seg::PetscSegBuffer,count::Integer,slot::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PetscSegBufferGetInts,petscRealSingle),PetscErrorCode,(PetscSegBuffer,Int64,Ptr{Ptr{Int64}}),seg,count,slot) - return err -end - -function PetscCitationsRegister(arg0::Type{Float32},cit::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},set::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscCitationsRegister,petscRealSingle),PetscErrorCode,(Cstring,Ptr{PetscBool}),cit,set) - return err -end - -function PetscURLShorten(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Csize_t) - err = ccall((:PetscURLShorten,petscRealSingle),PetscErrorCode,(Cstring,Cstring,Csize_t),arg1,arg2,arg3) - return err -end - -function PetscGoogleDriveAuthorize(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Csize_t) - err = ccall((:PetscGoogleDriveAuthorize,petscRealSingle),PetscErrorCode,(comm_type,Cstring,Cstring,Csize_t),arg1,arg2,arg3,arg4) - return err -end - -function PetscGoogleDriveRefresh(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Csize_t) - err = ccall((:PetscGoogleDriveRefresh,petscRealSingle),PetscErrorCode,(comm_type,Cstring,Cstring,Csize_t),arg1,arg2,arg3,arg4) - return err -end - -function PetscGoogleDriveUpload(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscGoogleDriveUpload,petscRealSingle),PetscErrorCode,(comm_type,Cstring,Cstring),arg1,arg2,arg3) - return err -end - -function PetscBoxAuthorize(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Csize_t) - err = ccall((:PetscBoxAuthorize,petscRealSingle),PetscErrorCode,(comm_type,Cstring,Cstring,Csize_t),arg1,arg2,arg3,arg4) - return err -end - -function PetscBoxRefresh(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Csize_t) - err = ccall((:PetscBoxRefresh,petscRealSingle),PetscErrorCode,(comm_type,Cstring,Cstring,Cstring,Csize_t),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscTextBelt(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscTextBelt,petscRealSingle),PetscErrorCode,(comm_type,Cstring,Cstring,Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function PetscPullJSONValue(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Csize_t,arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscPullJSONValue,petscRealSingle),PetscErrorCode,(Cstring,Cstring,Cstring,Csize_t,Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscPushJSONValue(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Csize_t) - err = ccall((:PetscPushJSONValue,petscRealSingle),PetscErrorCode,(Cstring,Cstring,Cstring,Csize_t),arg1,arg2,arg3,arg4) - return err -end - -function PetscBagCreate(arg0::Type{Float32},arg1::MPI_Comm,arg2::Csize_t,arg3::Union{Ptr{PetscBag},StridedArray{PetscBag},Ptr{PetscBag},Ref{PetscBag}}) - err = ccall((:PetscBagCreate,petscRealSingle),PetscErrorCode,(comm_type,Csize_t,Ptr{PetscBag}),arg1,arg2,arg3) - return err -end - -function PetscBagDestroy(arg0::Type{Float32},arg1::Union{Ptr{PetscBag},StridedArray{PetscBag},Ptr{PetscBag},Ref{PetscBag}}) - err = ccall((:PetscBagDestroy,petscRealSingle),PetscErrorCode,(Ptr{PetscBag},),arg1) - return err -end - -function PetscBagGetData(arg0::Type{Float32},arg1::PetscBag,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:PetscBagGetData,petscRealSingle),PetscErrorCode,(PetscBag,Ptr{Ptr{Void}}),arg1,arg2) - return err -end - -function PetscBagRegisterReal(arg0::Type{Float32},arg1::PetscBag,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Float32,arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscBagRegisterReal,petscRealSingle),PetscErrorCode,(PetscBag,Ptr{Void},Float32,Cstring,Cstring),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscBagRegisterRealArray(arg0::Type{Float32},arg1::PetscBag,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Integer,arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscBagRegisterRealArray,petscRealSingle),PetscErrorCode,(PetscBag,Ptr{Void},Int64,Cstring,Cstring),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscBagRegisterString(arg0::Type{Float32},arg1::PetscBag,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Integer,arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg6::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscBagRegisterString,petscRealSingle),PetscErrorCode,(PetscBag,Ptr{Void},Int64,Cstring,Cstring,Cstring),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscBagRegisterScalar(arg0::Type{Float32},arg1::PetscBag,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Float32,arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscBagRegisterScalar,petscRealSingle),PetscErrorCode,(PetscBag,Ptr{Void},Float32,Cstring,Cstring),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscBagRegisterInt(arg0::Type{Float32},arg1::PetscBag,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Integer,arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscBagRegisterInt,petscRealSingle),PetscErrorCode,(PetscBag,Ptr{Void},Int64,Cstring,Cstring),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscBagRegister64bitInt(arg0::Type{Float32},arg1::PetscBag,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Petsc64bitInt,arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscBagRegister64bitInt,petscRealSingle),PetscErrorCode,(PetscBag,Ptr{Void},Petsc64bitInt,Cstring,Cstring),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscBagRegisterIntArray(arg0::Type{Float32},arg1::PetscBag,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Integer,arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscBagRegisterIntArray,petscRealSingle),PetscErrorCode,(PetscBag,Ptr{Void},Int64,Cstring,Cstring),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscBagRegisterEnum(arg0::Type{Float32},arg1::PetscBag,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg4::PetscEnum,arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg6::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscBagRegisterEnum,petscRealSingle),PetscErrorCode,(PetscBag,Ptr{Void},Ptr{Ptr{UInt8}},PetscEnum,Cstring,Cstring),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscBagRegisterBool(arg0::Type{Float32},arg1::PetscBag,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::PetscBool,arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscBagRegisterBool,petscRealSingle),PetscErrorCode,(PetscBag,Ptr{Void},PetscBool,Cstring,Cstring),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscBagRegisterBoolArray(arg0::Type{Float32},arg1::PetscBag,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Integer,arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscBagRegisterBoolArray,petscRealSingle),PetscErrorCode,(PetscBag,Ptr{Void},Int64,Cstring,Cstring),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscBagGetNames(arg0::Type{Float32},arg1::PetscBag,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscBagGetNames,petscRealSingle),PetscErrorCode,(PetscBag,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscBagSetFromOptions(arg0::Type{Float32},arg1::PetscBag) - err = ccall((:PetscBagSetFromOptions,petscRealSingle),PetscErrorCode,(PetscBag,),arg1) - return err -end - -function PetscBagGetName(arg0::Type{Float32},arg1::PetscBag,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscBagGetName,petscRealSingle),PetscErrorCode,(PetscBag,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscBagSetName(arg0::Type{Float32},arg1::PetscBag,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscBagSetName,petscRealSingle),PetscErrorCode,(PetscBag,Cstring,Cstring),arg1,arg2,arg3) - return err -end - -function PetscBagSetOptionsPrefix(arg0::Type{Float32},arg1::PetscBag,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscBagSetOptionsPrefix,petscRealSingle),PetscErrorCode,(PetscBag,Cstring),arg1,arg2) - return err -end - -function PetscBagView(arg1::PetscBag,arg2::PetscViewer{Float32}) - err = ccall((:PetscBagView,petscRealSingle),PetscErrorCode,(PetscBag,PetscViewer{Float32}),arg1,arg2) - return err -end - -function PetscBagLoad(arg1::PetscViewer{Float32},arg2::PetscBag) - err = ccall((:PetscBagLoad,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},PetscBag),arg1,arg2) - return err -end - -function PetscBagSetViewer(arg0::Type{Float32},arg1::PetscBag,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscBagSetViewer,petscRealSingle),PetscErrorCode,(PetscBag,Ptr{Void}),arg1,arg2) - return err -end - -function PetscBagSetLoader(arg0::Type{Float32},arg1::PetscBag,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscBagSetLoader,petscRealSingle),PetscErrorCode,(PetscBag,Ptr{Void}),arg1,arg2) - return err -end - -function PetscBagSetDestroy(arg0::Type{Float32},arg1::PetscBag,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscBagSetDestroy,petscRealSingle),PetscErrorCode,(PetscBag,Ptr{Void}),arg1,arg2) - return err -end - -function PetscGetCPUTime(arg0::Type{Float32},arg1::Union{Ptr{PetscLogDouble},StridedArray{PetscLogDouble},Ptr{PetscLogDouble},Ref{PetscLogDouble}}) - err = ccall((:PetscGetCPUTime,petscRealSingle),PetscErrorCode,(Ptr{PetscLogDouble},),arg1) - return err -end - -function PetscTime(arg0::Type{Float32},v::Union{Ptr{PetscLogDouble},StridedArray{PetscLogDouble},Ptr{PetscLogDouble},Ref{PetscLogDouble}}) - err = ccall((:PetscTime,petscRealSingle),PetscErrorCode,(Ptr{PetscLogDouble},),v) - return err -end - -function PetscTimeSubtract(arg0::Type{Float32},v::Union{Ptr{PetscLogDouble},StridedArray{PetscLogDouble},Ptr{PetscLogDouble},Ref{PetscLogDouble}}) - err = ccall((:PetscTimeSubtract,petscRealSingle),PetscErrorCode,(Ptr{PetscLogDouble},),v) - return err -end - -function PetscTimeAdd(arg0::Type{Float32},v::Union{Ptr{PetscLogDouble},StridedArray{PetscLogDouble},Ptr{PetscLogDouble},Ref{PetscLogDouble}}) - err = ccall((:PetscTimeAdd,petscRealSingle),PetscErrorCode,(Ptr{PetscLogDouble},),v) - return err -end - -function PetscViewerInitializePackage(arg0::Type{Float32}) - err = ccall((:PetscViewerInitializePackage,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscViewerRegister(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscViewerRegister,petscRealSingle),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function PetscViewerCreate(arg1::MPI_Comm,arg2::Union{Ptr{PetscViewer{Float32}},StridedArray{PetscViewer{Float32}},Ptr{PetscViewer{Float32}},Ref{PetscViewer{Float32}}}) - err = ccall((:PetscViewerCreate,petscRealSingle),PetscErrorCode,(comm_type,Ptr{PetscViewer{Float32}}),arg1,arg2) - return err -end - -function PetscViewerSetFromOptions(arg1::PetscViewer{Float32}) - err = ccall((:PetscViewerSetFromOptions,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},),arg1) - return err -end - -#= skipping function with undefined symbols: - function PetscViewerASCIIOpenWithFILE(arg1::MPI_Comm,arg2::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}},arg3::Union{Ptr{PetscViewer{Float32}},StridedArray{PetscViewer{Float32}},Ptr{PetscViewer{Float32}},Ref{PetscViewer{Float32}}}) - ccall((:PetscViewerASCIIOpenWithFILE,petscRealSingle),PetscErrorCode,(comm_type,Ptr{FILE},Ptr{PetscViewer{Float32}}),arg1,arg2,arg3) -end -=# -function PetscViewerASCIIOpen(arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscViewer{Float32}},StridedArray{PetscViewer{Float32}},Ptr{PetscViewer{Float32}},Ref{PetscViewer{Float32}}}) - err = ccall((:PetscViewerASCIIOpen,petscRealSingle),PetscErrorCode,(comm_type,Cstring,Ptr{PetscViewer{Float32}}),arg1,arg2,arg3) - return err -end - -#= skipping function with undefined symbols: - function PetscViewerASCIISetFILE(arg1::PetscViewer{Float32},arg2::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}}) - ccall((:PetscViewerASCIISetFILE,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Ptr{FILE}),arg1,arg2) -end -=# -function PetscViewerBinaryOpen(arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::PetscFileMode,arg4::Union{Ptr{PetscViewer{Float32}},StridedArray{PetscViewer{Float32}},Ptr{PetscViewer{Float32}},Ref{PetscViewer{Float32}}}) - err = ccall((:PetscViewerBinaryOpen,petscRealSingle),PetscErrorCode,(comm_type,Cstring,PetscFileMode,Ptr{PetscViewer{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscViewerBinaryGetFlowControl(arg1::PetscViewer{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscViewerBinaryGetFlowControl,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Ptr{Int64}),arg1,arg2) - return err -end - -function PetscViewerBinarySetFlowControl(arg1::PetscViewer{Float32},arg2::Integer) - err = ccall((:PetscViewerBinarySetFlowControl,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Int64),arg1,arg2) - return err -end - -function PetscViewerBinarySetUseMPIIO(arg1::PetscViewer{Float32},arg2::PetscBool) - err = ccall((:PetscViewerBinarySetUseMPIIO,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},PetscBool),arg1,arg2) - return err -end - -function PetscViewerBinaryGetUseMPIIO(arg1::PetscViewer{Float32},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscViewerBinaryGetUseMPIIO,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Ptr{PetscBool}),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function PetscViewerBinaryGetMPIIODescriptor(arg1::PetscViewer{Float32},arg2::Union{Ptr{MPI_File},StridedArray{MPI_File},Ptr{MPI_File},Ref{MPI_File}}) - ccall((:PetscViewerBinaryGetMPIIODescriptor,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Ptr{MPI_File}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function PetscViewerBinaryGetMPIIOOffset(arg1::PetscViewer{Float32},arg2::Union{Ptr{MPI_Offset},StridedArray{MPI_Offset},Ptr{MPI_Offset},Ref{MPI_Offset}}) - ccall((:PetscViewerBinaryGetMPIIOOffset,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Ptr{MPI_Offset}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function PetscViewerBinaryAddMPIIOOffset(arg1::PetscViewer{Float32},arg2::MPI_Offset) - ccall((:PetscViewerBinaryAddMPIIOOffset,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},MPI_Offset),arg1,arg2) -end -=# -function PetscViewerSocketOpen(arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::Union{Ptr{PetscViewer{Float32}},StridedArray{PetscViewer{Float32}},Ptr{PetscViewer{Float32}},Ref{PetscViewer{Float32}}}) - err = ccall((:PetscViewerSocketOpen,petscRealSingle),PetscErrorCode,(comm_type,Cstring,Cint,Ptr{PetscViewer{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscViewerStringOpen(arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Csize_t,arg4::Union{Ptr{PetscViewer{Float32}},StridedArray{PetscViewer{Float32}},Ptr{PetscViewer{Float32}},Ref{PetscViewer{Float32}}}) - err = ccall((:PetscViewerStringOpen,petscRealSingle),PetscErrorCode,(comm_type,Cstring,Csize_t,Ptr{PetscViewer{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscViewerDrawOpen(arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Union{Ptr{PetscViewer{Float32}},StridedArray{PetscViewer{Float32}},Ptr{PetscViewer{Float32}},Ref{PetscViewer{Float32}}}) - err = ccall((:PetscViewerDrawOpen,petscRealSingle),PetscErrorCode,(comm_type,Cstring,Cstring,Cint,Cint,Cint,Cint,Ptr{PetscViewer{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function PetscViewerDrawSetDrawType(arg1::PetscViewer{Float32},arg2::PetscDrawType) - err = ccall((:PetscViewerDrawSetDrawType,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Cstring),arg1,arg2) - return err -end - -function PetscViewerMathematicaOpen(arg1::MPI_Comm,arg2::Integer,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{PetscViewer{Float32}},StridedArray{PetscViewer{Float32}},Ptr{PetscViewer{Float32}},Ref{PetscViewer{Float32}}}) - err = ccall((:PetscViewerMathematicaOpen,petscRealSingle),PetscErrorCode,(comm_type,Cint,Cstring,Cstring,Ptr{PetscViewer{Float32}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscViewerSiloOpen(arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscViewer{Float32}},StridedArray{PetscViewer{Float32}},Ptr{PetscViewer{Float32}},Ref{PetscViewer{Float32}}}) - err = ccall((:PetscViewerSiloOpen,petscRealSingle),PetscErrorCode,(comm_type,Cstring,Ptr{PetscViewer{Float32}}),arg1,arg2,arg3) - return err -end - -function PetscViewerMatlabOpen(arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::PetscFileMode,arg4::Union{Ptr{PetscViewer{Float32}},StridedArray{PetscViewer{Float32}},Ptr{PetscViewer{Float32}},Ref{PetscViewer{Float32}}}) - err = ccall((:PetscViewerMatlabOpen,petscRealSingle),PetscErrorCode,(comm_type,Cstring,PetscFileMode,Ptr{PetscViewer{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscViewerGetType(arg1::PetscViewer{Float32},arg2::Union{Ptr{PetscViewerType},StridedArray{PetscViewerType},Ptr{PetscViewerType},Ref{PetscViewerType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:PetscViewerGetType,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function PetscViewerSetType(arg1::PetscViewer{Float32},arg2::PetscViewerType) - err = ccall((:PetscViewerSetType,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Cstring),arg1,arg2) - return err -end - -function PetscViewerDestroy(arg1::Union{Ptr{PetscViewer{Float32}},StridedArray{PetscViewer{Float32}},Ptr{PetscViewer{Float32}},Ref{PetscViewer{Float32}}}) - err = ccall((:PetscViewerDestroy,petscRealSingle),PetscErrorCode,(Ptr{PetscViewer{Float32}},),arg1) - return err -end - -function PetscViewerGetSingleton(arg1::PetscViewer{Float32},arg2::Union{Ptr{PetscViewer{Float32}},StridedArray{PetscViewer{Float32}},Ptr{PetscViewer{Float32}},Ref{PetscViewer{Float32}}}) - err = ccall((:PetscViewerGetSingleton,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Ptr{PetscViewer{Float32}}),arg1,arg2) - return err -end - -function PetscViewerRestoreSingleton(arg1::PetscViewer{Float32},arg2::Union{Ptr{PetscViewer{Float32}},StridedArray{PetscViewer{Float32}},Ptr{PetscViewer{Float32}},Ref{PetscViewer{Float32}}}) - err = ccall((:PetscViewerRestoreSingleton,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Ptr{PetscViewer{Float32}}),arg1,arg2) - return err -end - -function PetscViewerGetSubcomm(arg1::PetscViewer{Float32},arg2::MPI_Comm,arg3::Union{Ptr{PetscViewer{Float32}},StridedArray{PetscViewer{Float32}},Ptr{PetscViewer{Float32}},Ref{PetscViewer{Float32}}}) - err = ccall((:PetscViewerGetSubcomm,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},comm_type,Ptr{PetscViewer{Float32}}),arg1,arg2,arg3) - return err -end - -function PetscViewerRestoreSubcomm(arg1::PetscViewer{Float32},arg2::MPI_Comm,arg3::Union{Ptr{PetscViewer{Float32}},StridedArray{PetscViewer{Float32}},Ptr{PetscViewer{Float32}},Ref{PetscViewer{Float32}}}) - err = ccall((:PetscViewerRestoreSubcomm,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},comm_type,Ptr{PetscViewer{Float32}}),arg1,arg2,arg3) - return err -end - -function PetscViewerSetUp(arg1::PetscViewer{Float32}) - err = ccall((:PetscViewerSetUp,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},),arg1) - return err -end - -function PetscViewerView(arg1::PetscViewer{Float32},arg2::PetscViewer{Float32}) - err = ccall((:PetscViewerView,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},PetscViewer{Float32}),arg1,arg2) - return err -end - -function PetscViewerViewFromOptions(A::PetscViewer{Float32},obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscViewerViewFromOptions,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},PetscObject,Cstring),A,obj,name) - return err -end - -function PetscViewerSetOptionsPrefix(arg1::PetscViewer{Float32},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscViewerSetOptionsPrefix,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Cstring),arg1,arg2) - return err -end - -function PetscViewerAppendOptionsPrefix(arg1::PetscViewer{Float32},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscViewerAppendOptionsPrefix,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Cstring),arg1,arg2) - return err -end - -function PetscViewerGetOptionsPrefix(arg1::PetscViewer{Float32},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscViewerGetOptionsPrefix,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscViewerSetFormat(arg1::PetscViewer{Float32},arg2::PetscViewerFormat) - err = ccall((:PetscViewerSetFormat,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},PetscViewerFormat),arg1,arg2) - return err -end - -function PetscViewerPushFormat(arg1::PetscViewer{Float32},arg2::PetscViewerFormat) - err = ccall((:PetscViewerPushFormat,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},PetscViewerFormat),arg1,arg2) - return err -end - -function PetscViewerPopFormat(arg1::PetscViewer{Float32}) - err = ccall((:PetscViewerPopFormat,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},),arg1) - return err -end - -function PetscViewerGetFormat(arg1::PetscViewer{Float32},arg2::Union{Ptr{PetscViewerFormat},StridedArray{PetscViewerFormat},Ptr{PetscViewerFormat},Ref{PetscViewerFormat}}) - err = ccall((:PetscViewerGetFormat,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Ptr{PetscViewerFormat}),arg1,arg2) - return err -end - -function PetscViewerFlush(arg1::PetscViewer{Float32}) - err = ccall((:PetscViewerFlush,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},),arg1) - return err -end - -function PetscOptionsGetViewer(arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{Ptr{PetscViewer{Float32}},StridedArray{PetscViewer{Float32}},Ptr{PetscViewer{Float32}},Ref{PetscViewer{Float32}}},arg5::Union{Ptr{PetscViewerFormat},StridedArray{PetscViewerFormat},Ptr{PetscViewerFormat},Ref{PetscViewerFormat}},arg6::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetViewer,petscRealSingle),PetscErrorCode,(comm_type,Cstring,Cstring,Ptr{PetscViewer{Float32}},Ptr{PetscViewerFormat},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -#= skipping function with undefined symbols: - function PetscOptionsViewer_Private(arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Union{Ptr{PetscViewer{Float32}},StridedArray{PetscViewer{Float32}},Ptr{PetscViewer{Float32}},Ref{PetscViewer{Float32}}},arg6::Union{Ptr{PetscViewerFormat},StridedArray{PetscViewerFormat},Ptr{PetscViewerFormat},Ref{PetscViewerFormat}},arg7::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - ccall((:PetscOptionsViewer_Private,petscRealSingle),PetscErrorCode,(Ptr{PetscOptions},Cstring,Cstring,Cstring,Ptr{PetscViewer{Float32}},Ptr{PetscViewerFormat},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -#= skipping function with undefined symbols: - function PetscViewerASCIIGetPointer(arg1::PetscViewer{Float32},arg2::Union{Ptr{Ptr{FILE}},StridedArray{Ptr{FILE}},Ptr{Ptr{FILE}},Ref{Ptr{FILE}}}) - ccall((:PetscViewerASCIIGetPointer,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Ptr{Ptr{FILE}}),arg1,arg2) -end -=# -function PetscViewerFileGetMode(arg1::PetscViewer{Float32},arg2::Union{Ptr{PetscFileMode},StridedArray{PetscFileMode},Ptr{PetscFileMode},Ref{PetscFileMode}}) - err = ccall((:PetscViewerFileGetMode,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Ptr{PetscFileMode}),arg1,arg2) - return err -end - -function PetscViewerFileSetMode(arg1::PetscViewer{Float32},arg2::PetscFileMode) - err = ccall((:PetscViewerFileSetMode,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},PetscFileMode),arg1,arg2) - return err -end - -function PetscViewerRead(arg1::PetscViewer{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::PetscDataType) - err = ccall((:PetscViewerRead,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Ptr{Void},Int64,Ptr{Int64},PetscDataType),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscViewerASCIISynchronizedAllow(arg1::PetscViewer{Float32},arg2::PetscBool) - err = ccall((:PetscViewerASCIISynchronizedAllow,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},PetscBool),arg1,arg2) - return err -end - -function PetscViewerASCIIPushTab(arg1::PetscViewer{Float32}) - err = ccall((:PetscViewerASCIIPushTab,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},),arg1) - return err -end - -function PetscViewerASCIIPopTab(arg1::PetscViewer{Float32}) - err = ccall((:PetscViewerASCIIPopTab,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},),arg1) - return err -end - -function PetscViewerASCIIUseTabs(arg1::PetscViewer{Float32},arg2::PetscBool) - err = ccall((:PetscViewerASCIIUseTabs,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},PetscBool),arg1,arg2) - return err -end - -function PetscViewerASCIISetTab(arg1::PetscViewer{Float32},arg2::Integer) - err = ccall((:PetscViewerASCIISetTab,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Int64),arg1,arg2) - return err -end - -function PetscViewerASCIIGetTab(arg1::PetscViewer{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscViewerASCIIGetTab,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Ptr{Int64}),arg1,arg2) - return err -end - -function PetscViewerASCIIAddTab(arg1::PetscViewer{Float32},arg2::Integer) - err = ccall((:PetscViewerASCIIAddTab,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Int64),arg1,arg2) - return err -end - -function PetscViewerASCIISubtractTab(arg1::PetscViewer{Float32},arg2::Integer) - err = ccall((:PetscViewerASCIISubtractTab,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Int64),arg1,arg2) - return err -end - -function PetscViewerASCIIRead(arg1::PetscViewer{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::PetscDataType) - err = ccall((:PetscViewerASCIIRead,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Ptr{Void},Int64,Ptr{Int64},PetscDataType),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscViewerBinaryGetDescriptor(arg1::PetscViewer{Float32},arg2::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}}) - err = ccall((:PetscViewerBinaryGetDescriptor,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Ptr{Cint}),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function PetscViewerBinaryGetInfoPointer(arg1::PetscViewer{Float32},arg2::Union{Ptr{Ptr{FILE}},StridedArray{Ptr{FILE}},Ptr{Ptr{FILE}},Ref{Ptr{FILE}}}) - ccall((:PetscViewerBinaryGetInfoPointer,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Ptr{Ptr{FILE}}),arg1,arg2) -end -=# -function PetscViewerBinaryRead(arg1::PetscViewer{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::PetscDataType) - err = ccall((:PetscViewerBinaryRead,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Ptr{Void},Int64,Ptr{Int64},PetscDataType),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscViewerBinaryWrite(arg1::PetscViewer{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Integer,arg4::PetscDataType,arg5::PetscBool) - err = ccall((:PetscViewerBinaryWrite,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Ptr{Void},Int64,PetscDataType,PetscBool),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscViewerStringSetString(arg1::PetscViewer{Float32},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer) - err = ccall((:PetscViewerStringSetString,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Cstring,Int64),arg1,arg2,arg3) - return err -end - -function PetscViewerDrawClear(arg1::PetscViewer{Float32}) - err = ccall((:PetscViewerDrawClear,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},),arg1) - return err -end - -function PetscViewerDrawSetHold(arg1::PetscViewer{Float32},arg2::PetscBool) - err = ccall((:PetscViewerDrawSetHold,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},PetscBool),arg1,arg2) - return err -end - -function PetscViewerDrawGetHold(arg1::PetscViewer{Float32},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscViewerDrawGetHold,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscViewerDrawSetPause(arg1::PetscViewer{Float32},arg2::Float32) - err = ccall((:PetscViewerDrawSetPause,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Float32),arg1,arg2) - return err -end - -function PetscViewerDrawGetPause(arg1::PetscViewer{Float32},arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:PetscViewerDrawGetPause,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Ptr{Float32}),arg1,arg2) - return err -end - -function PetscViewerDrawSetInfo(arg1::PetscViewer{Float32},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer) - err = ccall((:PetscViewerDrawSetInfo,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Cstring,Cstring,Cint,Cint,Cint,Cint),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function PetscViewerDrawResize(arg1::PetscViewer{Float32},arg2::Integer,arg3::Integer) - err = ccall((:PetscViewerDrawResize,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Cint,Cint),arg1,arg2,arg3) - return err -end - -function PetscViewerDrawSetBounds(arg1::PetscViewer{Float32},arg2::Integer,arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:PetscViewerDrawSetBounds,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Int64,Ptr{Float32}),arg1,arg2,arg3) - return err -end - -function PetscViewerDrawGetBounds(arg1::PetscViewer{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:PetscViewerDrawGetBounds,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Ptr{Int64},Ptr{Ptr{Float32}}),arg1,arg2,arg3) - return err -end - -function PetscViewerSocketSetConnection(arg1::PetscViewer{Float32},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer) - err = ccall((:PetscViewerSocketSetConnection,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Cstring,Cint),arg1,arg2,arg3) - return err -end - -function PetscViewerBinarySkipInfo(arg1::PetscViewer{Float32}) - err = ccall((:PetscViewerBinarySkipInfo,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},),arg1) - return err -end - -function PetscViewerBinarySetSkipInfo(arg1::PetscViewer{Float32},arg2::PetscBool) - err = ccall((:PetscViewerBinarySetSkipInfo,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},PetscBool),arg1,arg2) - return err -end - -function PetscViewerBinaryGetSkipInfo(arg1::PetscViewer{Float32},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscViewerBinaryGetSkipInfo,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscViewerBinarySetSkipOptions(arg1::PetscViewer{Float32},arg2::PetscBool) - err = ccall((:PetscViewerBinarySetSkipOptions,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},PetscBool),arg1,arg2) - return err -end - -function PetscViewerBinaryGetSkipOptions(arg1::PetscViewer{Float32},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscViewerBinaryGetSkipOptions,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscViewerBinarySetSkipHeader(arg1::PetscViewer{Float32},arg2::PetscBool) - err = ccall((:PetscViewerBinarySetSkipHeader,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},PetscBool),arg1,arg2) - return err -end - -function PetscViewerBinaryGetSkipHeader(arg1::PetscViewer{Float32},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscViewerBinaryGetSkipHeader,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscViewerBinaryReadStringArray(arg1::PetscViewer{Float32},arg2::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}}) - err = ccall((:PetscViewerBinaryReadStringArray,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Ptr{Ptr{Ptr{UInt8}}}),arg1,arg2) - return err -end - -function PetscViewerBinaryWriteStringArray(arg1::PetscViewer{Float32},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscViewerBinaryWriteStringArray,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscViewerFileSetName(arg1::PetscViewer{Float32},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscViewerFileSetName,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Cstring),arg1,arg2) - return err -end - -function PetscViewerFileGetName(arg1::PetscViewer{Float32},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscViewerFileGetName,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function PetscViewerVUGetPointer(arg1::PetscViewer{Float32},arg2::Union{Ptr{Ptr{FILE}},StridedArray{Ptr{FILE}},Ptr{Ptr{FILE}},Ref{Ptr{FILE}}}) - ccall((:PetscViewerVUGetPointer,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Ptr{Ptr{FILE}}),arg1,arg2) -end -=# -function PetscViewerVUSetVecSeen(arg1::PetscViewer{Float32},arg2::PetscBool) - err = ccall((:PetscViewerVUSetVecSeen,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},PetscBool),arg1,arg2) - return err -end - -function PetscViewerVUGetVecSeen(arg1::PetscViewer{Float32},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscViewerVUGetVecSeen,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscViewerVUFlushDeferred(arg1::PetscViewer{Float32}) - err = ccall((:PetscViewerVUFlushDeferred,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},),arg1) - return err -end - -function PetscViewerMathematicaInitializePackage(arg0::Type{Float32}) - err = ccall((:PetscViewerMathematicaInitializePackage,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscViewerMathematicaFinalizePackage(arg0::Type{Float32}) - err = ccall((:PetscViewerMathematicaFinalizePackage,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscViewerMathematicaGetName(arg1::PetscViewer{Float32},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscViewerMathematicaGetName,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscViewerMathematicaSetName(arg1::PetscViewer{Float32},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscViewerMathematicaSetName,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Cstring),arg1,arg2) - return err -end - -function PetscViewerMathematicaClearName(arg1::PetscViewer{Float32}) - err = ccall((:PetscViewerMathematicaClearName,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},),arg1) - return err -end - -function PetscViewerMathematicaSkipPackets(arg1::PetscViewer{Float32},arg2::Integer) - err = ccall((:PetscViewerMathematicaSkipPackets,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Cint),arg1,arg2) - return err -end - -function PetscViewerSiloGetName(arg1::PetscViewer{Float32},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscViewerSiloGetName,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscViewerSiloSetName(arg1::PetscViewer{Float32},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscViewerSiloSetName,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Cstring),arg1,arg2) - return err -end - -function PetscViewerSiloClearName(arg1::PetscViewer{Float32}) - err = ccall((:PetscViewerSiloClearName,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},),arg1) - return err -end - -function PetscViewerSiloGetMeshName(arg1::PetscViewer{Float32},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscViewerSiloGetMeshName,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscViewerSiloSetMeshName(arg1::PetscViewer{Float32},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscViewerSiloSetMeshName,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Cstring),arg1,arg2) - return err -end - -function PetscViewerSiloClearMeshName(arg1::PetscViewer{Float32}) - err = ccall((:PetscViewerSiloClearMeshName,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},),arg1) - return err -end - -function PetscViewerNetcdfOpen(arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::PetscFileMode,arg4::Union{Ptr{PetscViewer{Float32}},StridedArray{PetscViewer{Float32}},Ptr{PetscViewer{Float32}},Ref{PetscViewer{Float32}}}) - err = ccall((:PetscViewerNetcdfOpen,petscRealSingle),PetscErrorCode,(comm_type,Cstring,PetscFileMode,Ptr{PetscViewer{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscViewerNetcdfGetID(arg1::PetscViewer{Float32},arg2::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}}) - err = ccall((:PetscViewerNetcdfGetID,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Ptr{Cint}),arg1,arg2) - return err -end - -function PetscViewerVTKAddField(arg1::PetscViewer{Float32},arg2::PetscObject,PetscViewerVTKWriteFunction::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::PetscViewerVTKFieldType,arg4::PetscObject) - err = ccall((:PetscViewerVTKAddField,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},PetscObject,Ptr{Void},PetscViewerVTKFieldType,PetscObject),arg1,arg2,PetscViewerVTKWriteFunction,arg3,arg4) - return err -end - -function PetscViewerVTKOpen(arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::PetscFileMode,arg4::Union{Ptr{PetscViewer{Float32}},StridedArray{PetscViewer{Float32}},Ptr{PetscViewer{Float32}},Ref{PetscViewer{Float32}}}) - err = ccall((:PetscViewerVTKOpen,petscRealSingle),PetscErrorCode,(comm_type,Cstring,PetscFileMode,Ptr{PetscViewer{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function PETSC_VIEWER_STDOUT_(arg0::Type{Float32},arg1::MPI_Comm) - err = ccall((:PETSC_VIEWER_STDOUT_,petscRealSingle),PetscViewer,(comm_type,),arg1) - return err -end - -function PetscViewerASCIIGetStdout(arg1::MPI_Comm,arg2::Union{Ptr{PetscViewer{Float32}},StridedArray{PetscViewer{Float32}},Ptr{PetscViewer{Float32}},Ref{PetscViewer{Float32}}}) - err = ccall((:PetscViewerASCIIGetStdout,petscRealSingle),PetscErrorCode,(comm_type,Ptr{PetscViewer{Float32}}),arg1,arg2) - return err -end - -function PETSC_VIEWER_STDERR_(arg0::Type{Float32},arg1::MPI_Comm) - err = ccall((:PETSC_VIEWER_STDERR_,petscRealSingle),PetscViewer,(comm_type,),arg1) - return err -end - -function PetscViewerASCIIGetStderr(arg1::MPI_Comm,arg2::Union{Ptr{PetscViewer{Float32}},StridedArray{PetscViewer{Float32}},Ptr{PetscViewer{Float32}},Ref{PetscViewer{Float32}}}) - err = ccall((:PetscViewerASCIIGetStderr,petscRealSingle),PetscErrorCode,(comm_type,Ptr{PetscViewer{Float32}}),arg1,arg2) - return err -end - -function PETSC_VIEWER_DRAW_(arg0::Type{Float32},arg1::MPI_Comm) - err = ccall((:PETSC_VIEWER_DRAW_,petscRealSingle),PetscViewer,(comm_type,),arg1) - return err -end - -function PETSC_VIEWER_SOCKET_(arg0::Type{Float32},arg1::MPI_Comm) - err = ccall((:PETSC_VIEWER_SOCKET_,petscRealSingle),PetscViewer,(comm_type,),arg1) - return err -end - -function PETSC_VIEWER_BINARY_(arg0::Type{Float32},arg1::MPI_Comm) - err = ccall((:PETSC_VIEWER_BINARY_,petscRealSingle),PetscViewer,(comm_type,),arg1) - return err -end - -function PETSC_VIEWER_MATLAB_(arg0::Type{Float32},arg1::MPI_Comm) - err = ccall((:PETSC_VIEWER_MATLAB_,petscRealSingle),PetscViewer,(comm_type,),arg1) - return err -end - -function PETSC_VIEWER_HDF5_(arg0::Type{Float32},arg1::MPI_Comm) - err = ccall((:PETSC_VIEWER_HDF5_,petscRealSingle),PetscViewer,(comm_type,),arg1) - return err -end - -function PetscViewerFlowControlStart(viewer::PetscViewer{Float32},mcnt::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},cnt::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscViewerFlowControlStart,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Ptr{Int64},Ptr{Int64}),viewer,mcnt,cnt) - return err -end - -function PetscViewerFlowControlStepMaster(viewer::PetscViewer{Float32},i::Integer,mcnt::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},cnt::Integer) - err = ccall((:PetscViewerFlowControlStepMaster,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Int64,Ptr{Int64},Int64),viewer,i,mcnt,cnt) - return err -end - -function PetscViewerFlowControlEndMaster(viewer::PetscViewer{Float32},mcnt::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscViewerFlowControlEndMaster,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Ptr{Int64}),viewer,mcnt) - return err -end - -function PetscViewerFlowControlStepWorker(viewer::PetscViewer{Float32},rank::PetscMPIInt,mcnt::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscViewerFlowControlStepWorker,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},PetscMPIInt,Ptr{Int64}),viewer,rank,mcnt) - return err -end - -function PetscViewerFlowControlEndWorker(viewer::PetscViewer{Float32},mcnt::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscViewerFlowControlEndWorker,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Ptr{Int64}),viewer,mcnt) - return err -end - -function PetscViewerMatlabPutArray(arg1::PetscViewer{Float32},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscViewerMatlabPutArray,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Cint,Cint,Ptr{Float32},Cstring),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscViewerMatlabGetArray(arg1::PetscViewer{Float32},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscViewerMatlabGetArray,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Cint,Cint,Ptr{Float32},Cstring),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscViewerMatlabPutVariable(arg1::PetscViewer{Float32},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscViewerMatlabPutVariable,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Cstring,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function PetscViewersCreate(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{PetscViewers},StridedArray{PetscViewers},Ptr{PetscViewers},Ref{PetscViewers}}) - err = ccall((:PetscViewersCreate,petscRealSingle),PetscErrorCode,(comm_type,Ptr{PetscViewers}),arg1,arg2) - return err -end - -function PetscViewersDestroy(arg0::Type{Float32},arg1::Union{Ptr{PetscViewers},StridedArray{PetscViewers},Ptr{PetscViewers},Ref{PetscViewers}}) - err = ccall((:PetscViewersDestroy,petscRealSingle),PetscErrorCode,(Ptr{PetscViewers},),arg1) - return err -end - -function PetscViewersGetViewer(arg1::PetscViewers,arg2::Integer,arg3::Union{Ptr{PetscViewer{Float32}},StridedArray{PetscViewer{Float32}},Ptr{PetscViewer{Float32}},Ref{PetscViewer{Float32}}}) - err = ccall((:PetscViewersGetViewer,petscRealSingle),PetscErrorCode,(PetscViewers,Int64,Ptr{PetscViewer{Float32}}),arg1,arg2,arg3) - return err -end - -function PetscBTLength(arg0::Type{Float32},m::Integer) - err = ccall((:PetscBTLength,petscRealSingle),PetscInt,(Int64,),m) - return err -end - -function PetscBTMemzero(arg0::Type{Float32},m::Integer,array::PetscBT) - err = ccall((:PetscBTMemzero,petscRealSingle),PetscErrorCode,(Int64,Cstring),m,array) - return err -end - -function PetscBTDestroy(arg0::Type{Float32},array::Union{Ptr{PetscBT},StridedArray{PetscBT},Ptr{PetscBT},Ref{PetscBT}}) - err = ccall((:PetscBTDestroy,petscRealSingle),PetscErrorCode,(Ptr{Ptr{UInt8}},),array) - return err -end - -function PetscBTLookup(arg0::Type{Float32},array::PetscBT,index::Integer) - err = ccall((:PetscBTLookup,petscRealSingle),UInt8,(Cstring,Int64),array,index) - return err -end - -function PetscBTView(m::Integer,bt::PetscBT,viewer::PetscViewer{Float32}) - err = ccall((:PetscBTView,petscRealSingle),PetscErrorCode,(Int64,Cstring,PetscViewer{Float32}),m,bt,viewer) - return err -end - -function PetscBTCreate(arg0::Type{Float32},m::Integer,array::Union{Ptr{PetscBT},StridedArray{PetscBT},Ptr{PetscBT},Ref{PetscBT}}) - err = ccall((:PetscBTCreate,petscRealSingle),PetscErrorCode,(Int64,Ptr{Ptr{UInt8}}),m,array) - return err -end - -function PetscBTLookupSet(arg0::Type{Float32},array::PetscBT,index::Integer) - err = ccall((:PetscBTLookupSet,petscRealSingle),UInt8,(Cstring,Int64),array,index) - return err -end - -function PetscBTSet(arg0::Type{Float32},array::PetscBT,index::Integer) - err = ccall((:PetscBTSet,petscRealSingle),PetscErrorCode,(Cstring,Int64),array,index) - return err -end - -function PetscBTNegate(arg0::Type{Float32},array::PetscBT,index::Integer) - err = ccall((:PetscBTNegate,petscRealSingle),PetscErrorCode,(Cstring,Int64),array,index) - return err -end - -function PetscBTLookupClear(arg0::Type{Float32},array::PetscBT,index::Integer) - err = ccall((:PetscBTLookupClear,petscRealSingle),UInt8,(Cstring,Int64),array,index) - return err -end - -function PetscBTClear(arg0::Type{Float32},array::PetscBT,index::Integer) - err = ccall((:PetscBTClear,petscRealSingle),PetscErrorCode,(Cstring,Int64),array,index) - return err -end - -#= skipping function with undefined symbols: - function PetscHash(arg0::Type{Float32},ta::PetscTable,x::Culong) - ccall((:PetscHash,petscRealSingle),Culong,(PetscTable,Culong),ta,x) -end -=# -#= skipping function with undefined symbols: - function PetscTableCreate(arg0::Type{Float32},arg1::Integer,arg2::Integer,arg3::Union{Ptr{PetscTable},StridedArray{PetscTable},Ptr{PetscTable},Ref{PetscTable}}) - ccall((:PetscTableCreate,petscRealSingle),PetscErrorCode,(Int64,Int64,Ptr{PetscTable}),arg1,arg2,arg3) -end -=# -#= skipping function with undefined symbols: - function PetscTableCreateCopy(arg0::Type{Float32},arg1::PetscTable,arg2::Union{Ptr{PetscTable},StridedArray{PetscTable},Ptr{PetscTable},Ref{PetscTable}}) - ccall((:PetscTableCreateCopy,petscRealSingle),PetscErrorCode,(PetscTable,Ptr{PetscTable}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function PetscTableDestroy(arg0::Type{Float32},arg1::Union{Ptr{PetscTable},StridedArray{PetscTable},Ptr{PetscTable},Ref{PetscTable}}) - ccall((:PetscTableDestroy,petscRealSingle),PetscErrorCode,(Ptr{PetscTable},),arg1) -end -=# -#= skipping function with undefined symbols: - function PetscTableGetCount(arg0::Type{Float32},arg1::PetscTable,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - ccall((:PetscTableGetCount,petscRealSingle),PetscErrorCode,(PetscTable,Ptr{Int64}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function PetscTableIsEmpty(arg0::Type{Float32},arg1::PetscTable,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - ccall((:PetscTableIsEmpty,petscRealSingle),PetscErrorCode,(PetscTable,Ptr{Int64}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function PetscTableAddExpand(arg0::Type{Float32},arg1::PetscTable,arg2::Integer,arg3::Integer,arg4::InsertMode) - ccall((:PetscTableAddExpand,petscRealSingle),PetscErrorCode,(PetscTable,Int64,Int64,InsertMode),arg1,arg2,arg3,arg4) -end -=# -#= skipping function with undefined symbols: - function PetscTableAddCountExpand(arg0::Type{Float32},arg1::PetscTable,arg2::Integer) - ccall((:PetscTableAddCountExpand,petscRealSingle),PetscErrorCode,(PetscTable,Int64),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function PetscTableGetHeadPosition(arg0::Type{Float32},arg1::PetscTable,arg2::Union{Ptr{PetscTablePosition},StridedArray{PetscTablePosition},Ptr{PetscTablePosition},Ref{PetscTablePosition}}) - ccall((:PetscTableGetHeadPosition,petscRealSingle),PetscErrorCode,(PetscTable,Ptr{PetscTablePosition}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function PetscTableGetNext(arg0::Type{Float32},arg1::PetscTable,arg2::Union{Ptr{PetscTablePosition},StridedArray{PetscTablePosition},Ptr{PetscTablePosition},Ref{PetscTablePosition}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - ccall((:PetscTableGetNext,petscRealSingle),PetscErrorCode,(PetscTable,Ptr{PetscTablePosition},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) -end -=# -#= skipping function with undefined symbols: - function PetscTableRemoveAll(arg0::Type{Float32},arg1::PetscTable) - ccall((:PetscTableRemoveAll,petscRealSingle),PetscErrorCode,(PetscTable,),arg1) -end -=# -#= skipping function with undefined symbols: - function PetscTableAdd(arg0::Type{Float32},ta::PetscTable,key::Integer,data::Integer,imode::InsertMode) - ccall((:PetscTableAdd,petscRealSingle),PetscErrorCode,(PetscTable,Int64,Int64,InsertMode),ta,key,data,imode) -end -=# -#= skipping function with undefined symbols: - function PetscTableAddCount(arg0::Type{Float32},ta::PetscTable,key::Integer) - ccall((:PetscTableAddCount,petscRealSingle),PetscErrorCode,(PetscTable,Int64),ta,key) -end -=# -#= skipping function with undefined symbols: - function PetscTableFind(arg0::Type{Float32},ta::PetscTable,key::Integer,data::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - ccall((:PetscTableFind,petscRealSingle),PetscErrorCode,(PetscTable,Int64,Ptr{Int64}),ta,key,data) -end -=# -function PetscMatlabEngineCreate(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscMatlabEngine},StridedArray{PetscMatlabEngine},Ptr{PetscMatlabEngine},Ref{PetscMatlabEngine}}) - err = ccall((:PetscMatlabEngineCreate,petscRealSingle),PetscErrorCode,(comm_type,Cstring,Ptr{PetscMatlabEngine}),arg1,arg2,arg3) - return err -end - -function PetscMatlabEngineDestroy(arg0::Type{Float32},arg1::Union{Ptr{PetscMatlabEngine},StridedArray{PetscMatlabEngine},Ptr{PetscMatlabEngine},Ref{PetscMatlabEngine}}) - err = ccall((:PetscMatlabEngineDestroy,petscRealSingle),PetscErrorCode,(Ptr{PetscMatlabEngine},),arg1) - return err -end - -function PetscMatlabEngineGetOutput(arg0::Type{Float32},arg1::PetscMatlabEngine,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscMatlabEngineGetOutput,petscRealSingle),PetscErrorCode,(PetscMatlabEngine,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function PetscMatlabEnginePrintOutput(arg0::Type{Float32},arg1::PetscMatlabEngine,arg2::Union{Ptr{FILE},StridedArray{FILE},Ptr{FILE},Ref{FILE}}) - ccall((:PetscMatlabEnginePrintOutput,petscRealSingle),PetscErrorCode,(PetscMatlabEngine,Ptr{FILE}),arg1,arg2) -end -=# -function PetscMatlabEnginePut(arg0::Type{Float32},arg1::PetscMatlabEngine,arg2::PetscObject) - err = ccall((:PetscMatlabEnginePut,petscRealSingle),PetscErrorCode,(PetscMatlabEngine,PetscObject),arg1,arg2) - return err -end - -function PetscMatlabEngineGet(arg0::Type{Float32},arg1::PetscMatlabEngine,arg2::PetscObject) - err = ccall((:PetscMatlabEngineGet,petscRealSingle),PetscErrorCode,(PetscMatlabEngine,PetscObject),arg1,arg2) - return err -end - -function PetscMatlabEnginePutArray(arg0::Type{Float32},arg1::PetscMatlabEngine,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscMatlabEnginePutArray,petscRealSingle),PetscErrorCode,(PetscMatlabEngine,Cint,Cint,Ptr{Float32},Cstring),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscMatlabEngineGetArray(arg0::Type{Float32},arg1::PetscMatlabEngine,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscMatlabEngineGetArray,petscRealSingle),PetscErrorCode,(PetscMatlabEngine,Cint,Cint,Ptr{Float32},Cstring),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PETSC_MATLAB_ENGINE_(arg0::Type{Float32},arg1::MPI_Comm) - err = ccall((:PETSC_MATLAB_ENGINE_,petscRealSingle),PetscMatlabEngine,(comm_type,),arg1) - return err -end - -function PetscDrawInitializePackage(arg0::Type{Float32}) - err = ccall((:PetscDrawInitializePackage,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscDrawRegister(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscDrawRegister,petscRealSingle),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function PetscDrawGetType(arg0::Type{Float32},arg1::PetscDraw,arg2::Union{Ptr{PetscDrawType},StridedArray{PetscDrawType},Ptr{PetscDrawType},Ref{PetscDrawType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:PetscDrawGetType,petscRealSingle),PetscErrorCode,(PetscDraw,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function PetscDrawSetType(arg0::Type{Float32},arg1::PetscDraw,arg2::PetscDrawType) - err = ccall((:PetscDrawSetType,petscRealSingle),PetscErrorCode,(PetscDraw,Cstring),arg1,arg2) - return err -end - -function PetscDrawCreate(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Union{Ptr{PetscDraw},StridedArray{PetscDraw},Ptr{PetscDraw},Ref{PetscDraw}}) - err = ccall((:PetscDrawCreate,petscRealSingle),PetscErrorCode,(comm_type,Cstring,Cstring,Cint,Cint,Cint,Cint,Ptr{PetscDraw}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function PetscDrawSetFromOptions(arg0::Type{Float32},arg1::PetscDraw) - err = ccall((:PetscDrawSetFromOptions,petscRealSingle),PetscErrorCode,(PetscDraw,),arg1) - return err -end - -function PetscDrawSetSave(arg0::Type{Float32},arg1::PetscDraw,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::PetscBool) - err = ccall((:PetscDrawSetSave,petscRealSingle),PetscErrorCode,(PetscDraw,Cstring,PetscBool),arg1,arg2,arg3) - return err -end - -function PetscDrawSetSaveFinalImage(arg0::Type{Float32},arg1::PetscDraw,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscDrawSetSaveFinalImage,petscRealSingle),PetscErrorCode,(PetscDraw,Cstring),arg1,arg2) - return err -end - -function PetscDrawView(arg1::PetscDraw,arg2::PetscViewer{Float32}) - err = ccall((:PetscDrawView,petscRealSingle),PetscErrorCode,(PetscDraw,PetscViewer{Float32}),arg1,arg2) - return err -end - -function PetscDrawViewFromOptions(arg0::Type{Float32},A::PetscDraw,obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscDrawViewFromOptions,petscRealSingle),PetscErrorCode,(PetscDraw,PetscObject,Cstring),A,obj,name) - return err -end - -function PetscDrawOpenX(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Union{Ptr{PetscDraw},StridedArray{PetscDraw},Ptr{PetscDraw},Ref{PetscDraw}}) - err = ccall((:PetscDrawOpenX,petscRealSingle),PetscErrorCode,(comm_type,Cstring,Cstring,Cint,Cint,Cint,Cint,Ptr{PetscDraw}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function PetscDrawOpenGLUT(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Union{Ptr{PetscDraw},StridedArray{PetscDraw},Ptr{PetscDraw},Ref{PetscDraw}}) - err = ccall((:PetscDrawOpenGLUT,petscRealSingle),PetscErrorCode,(comm_type,Cstring,Cstring,Cint,Cint,Cint,Cint,Ptr{PetscDraw}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function PetscDrawOpenNull(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{PetscDraw},StridedArray{PetscDraw},Ptr{PetscDraw},Ref{PetscDraw}}) - err = ccall((:PetscDrawOpenNull,petscRealSingle),PetscErrorCode,(comm_type,Ptr{PetscDraw}),arg1,arg2) - return err -end - -function PetscDrawDestroy(arg0::Type{Float32},arg1::Union{Ptr{PetscDraw},StridedArray{PetscDraw},Ptr{PetscDraw},Ref{PetscDraw}}) - err = ccall((:PetscDrawDestroy,petscRealSingle),PetscErrorCode,(Ptr{PetscDraw},),arg1) - return err -end - -function PetscDrawIsNull(arg0::Type{Float32},arg1::PetscDraw,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscDrawIsNull,petscRealSingle),PetscErrorCode,(PetscDraw,Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscDrawGetPopup(arg0::Type{Float32},arg1::PetscDraw,arg2::Union{Ptr{PetscDraw},StridedArray{PetscDraw},Ptr{PetscDraw},Ref{PetscDraw}}) - err = ccall((:PetscDrawGetPopup,petscRealSingle),PetscErrorCode,(PetscDraw,Ptr{PetscDraw}),arg1,arg2) - return err -end - -function PetscDrawCheckResizedWindow(arg0::Type{Float32},arg1::PetscDraw) - err = ccall((:PetscDrawCheckResizedWindow,petscRealSingle),PetscErrorCode,(PetscDraw,),arg1) - return err -end - -function PetscDrawResizeWindow(arg0::Type{Float32},arg1::PetscDraw,arg2::Integer,arg3::Integer) - err = ccall((:PetscDrawResizeWindow,petscRealSingle),PetscErrorCode,(PetscDraw,Cint,Cint),arg1,arg2,arg3) - return err -end - -function PetscDrawScalePopup(arg0::Type{Float32},arg1::PetscDraw,arg2::Float32,arg3::Float32) - err = ccall((:PetscDrawScalePopup,petscRealSingle),PetscErrorCode,(PetscDraw,Float32,Float32),arg1,arg2,arg3) - return err -end - -function PetscDrawPixelToCoordinate(arg0::Type{Float32},arg1::PetscDraw,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:PetscDrawPixelToCoordinate,petscRealSingle),PetscErrorCode,(PetscDraw,Int64,Int64,Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDrawCoordinateToPixel(arg0::Type{Float32},arg1::PetscDraw,arg2::Float32,arg3::Float32,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscDrawCoordinateToPixel,petscRealSingle),PetscErrorCode,(PetscDraw,Float32,Float32,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDrawIndicatorFunction(arg0::Type{Float32},arg1::PetscDraw,arg2::Float32,arg3::Float32,arg4::Float32,arg5::Float32,arg6::Integer,arg7::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg8::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscDrawIndicatorFunction,petscRealSingle),PetscErrorCode,(PetscDraw,Float32,Float32,Float32,Float32,Cint,Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function PetscDrawLine(arg0::Type{Float32},arg1::PetscDraw,arg2::Float32,arg3::Float32,arg4::Float32,arg5::Float32,arg6::Integer) - err = ccall((:PetscDrawLine,petscRealSingle),PetscErrorCode,(PetscDraw,Float32,Float32,Float32,Float32,Cint),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscDrawArrow(arg0::Type{Float32},arg1::PetscDraw,arg2::Float32,arg3::Float32,arg4::Float32,arg5::Float32,arg6::Integer) - err = ccall((:PetscDrawArrow,petscRealSingle),PetscErrorCode,(PetscDraw,Float32,Float32,Float32,Float32,Cint),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscDrawLineSetWidth(arg0::Type{Float32},arg1::PetscDraw,arg2::Float32) - err = ccall((:PetscDrawLineSetWidth,petscRealSingle),PetscErrorCode,(PetscDraw,Float32),arg1,arg2) - return err -end - -function PetscDrawLineGetWidth(arg0::Type{Float32},arg1::PetscDraw,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:PetscDrawLineGetWidth,petscRealSingle),PetscErrorCode,(PetscDraw,Ptr{Float32}),arg1,arg2) - return err -end - -function PetscDrawMarker(arg0::Type{Float32},arg1::PetscDraw,arg2::Float32,arg3::Float32,arg4::Integer) - err = ccall((:PetscDrawMarker,petscRealSingle),PetscErrorCode,(PetscDraw,Float32,Float32,Cint),arg1,arg2,arg3,arg4) - return err -end - -function PetscDrawSetMarkerType(arg0::Type{Float32},arg1::PetscDraw,arg2::PetscDrawMarkerType) - err = ccall((:PetscDrawSetMarkerType,petscRealSingle),PetscErrorCode,(PetscDraw,PetscDrawMarkerType),arg1,arg2) - return err -end - -function PetscDrawGetMarkerType(arg0::Type{Float32},arg1::PetscDraw,arg2::Union{Ptr{PetscDrawMarkerType},StridedArray{PetscDrawMarkerType},Ptr{PetscDrawMarkerType},Ref{PetscDrawMarkerType}}) - err = ccall((:PetscDrawGetMarkerType,petscRealSingle),PetscErrorCode,(PetscDraw,Ptr{PetscDrawMarkerType}),arg1,arg2) - return err -end - -function PetscDrawPoint(arg0::Type{Float32},arg1::PetscDraw,arg2::Float32,arg3::Float32,arg4::Integer) - err = ccall((:PetscDrawPoint,petscRealSingle),PetscErrorCode,(PetscDraw,Float32,Float32,Cint),arg1,arg2,arg3,arg4) - return err -end - -function PetscDrawPointPixel(arg0::Type{Float32},arg1::PetscDraw,arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:PetscDrawPointPixel,petscRealSingle),PetscErrorCode,(PetscDraw,Int64,Int64,Cint),arg1,arg2,arg3,arg4) - return err -end - -function PetscDrawPointSetSize(arg0::Type{Float32},arg1::PetscDraw,arg2::Float32) - err = ccall((:PetscDrawPointSetSize,petscRealSingle),PetscErrorCode,(PetscDraw,Float32),arg1,arg2) - return err -end - -function PetscDrawRectangle(arg0::Type{Float32},arg1::PetscDraw,arg2::Float32,arg3::Float32,arg4::Float32,arg5::Float32,arg6::Integer,arg7::Integer,arg8::Integer,arg9::Integer) - err = ccall((:PetscDrawRectangle,petscRealSingle),PetscErrorCode,(PetscDraw,Float32,Float32,Float32,Float32,Cint,Cint,Cint,Cint),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) - return err -end - -function PetscDrawTriangle(arg0::Type{Float32},arg1::PetscDraw,arg2::Float32,arg3::Float32,arg4::Float32,arg5::Float32,arg6::Float32,arg7::Float32,arg8::Integer,arg9::Integer,arg10::Integer) - err = ccall((:PetscDrawTriangle,petscRealSingle),PetscErrorCode,(PetscDraw,Float32,Float32,Float32,Float32,Float32,Float32,Cint,Cint,Cint),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -function PetscDrawEllipse(arg0::Type{Float32},arg1::PetscDraw,arg2::Float32,arg3::Float32,arg4::Float32,arg5::Float32,arg6::Integer) - err = ccall((:PetscDrawEllipse,petscRealSingle),PetscErrorCode,(PetscDraw,Float32,Float32,Float32,Float32,Cint),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscDrawTensorContourPatch(arg0::Type{Float32},arg1::PetscDraw,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg6::Float32,arg7::Float32,arg8::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:PetscDrawTensorContourPatch,petscRealSingle),PetscErrorCode,(PetscDraw,Cint,Cint,Ptr{Float32},Ptr{Float32},Float32,Float32,Ptr{Float32}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function PetscDrawTensorContour(arg0::Type{Float32},arg1::PetscDraw,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg6::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:PetscDrawTensorContour,petscRealSingle),PetscErrorCode,(PetscDraw,Cint,Cint,Ptr{Float32},Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscDrawString(arg0::Type{Float32},arg1::PetscDraw,arg2::Float32,arg3::Float32,arg4::Integer,arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscDrawString,petscRealSingle),PetscErrorCode,(PetscDraw,Float32,Float32,Cint,Cstring),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDrawStringCentered(arg0::Type{Float32},arg1::PetscDraw,arg2::Float32,arg3::Float32,arg4::Integer,arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscDrawStringCentered,petscRealSingle),PetscErrorCode,(PetscDraw,Float32,Float32,Cint,Cstring),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDrawStringBoxed(arg0::Type{Float32},arg1::PetscDraw,arg2::Float32,arg3::Float32,arg4::Integer,arg5::Integer,arg6::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg7::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg8::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:PetscDrawStringBoxed,petscRealSingle),PetscErrorCode,(PetscDraw,Float32,Float32,Cint,Cint,Cstring,Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function PetscDrawStringBoxedSize(arg0::Type{Float32},arg1::PetscDraw,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:PetscDrawStringBoxedSize,petscRealSingle),PetscErrorCode,(PetscDraw,Cstring,Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function PetscDrawStringVertical(arg0::Type{Float32},arg1::PetscDraw,arg2::Float32,arg3::Float32,arg4::Integer,arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscDrawStringVertical,petscRealSingle),PetscErrorCode,(PetscDraw,Float32,Float32,Cint,Cstring),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDrawStringSetSize(arg0::Type{Float32},arg1::PetscDraw,arg2::Float32,arg3::Float32) - err = ccall((:PetscDrawStringSetSize,petscRealSingle),PetscErrorCode,(PetscDraw,Float32,Float32),arg1,arg2,arg3) - return err -end - -function PetscDrawStringGetSize(arg0::Type{Float32},arg1::PetscDraw,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:PetscDrawStringGetSize,petscRealSingle),PetscErrorCode,(PetscDraw,Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3) - return err -end - -function PetscDrawSetViewPort(arg0::Type{Float32},arg1::PetscDraw,arg2::Float32,arg3::Float32,arg4::Float32,arg5::Float32) - err = ccall((:PetscDrawSetViewPort,petscRealSingle),PetscErrorCode,(PetscDraw,Float32,Float32,Float32,Float32),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDrawGetViewPort(arg0::Type{Float32},arg1::PetscDraw,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:PetscDrawGetViewPort,petscRealSingle),PetscErrorCode,(PetscDraw,Ptr{Float32},Ptr{Float32},Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDrawSplitViewPort(arg0::Type{Float32},arg1::PetscDraw) - err = ccall((:PetscDrawSplitViewPort,petscRealSingle),PetscErrorCode,(PetscDraw,),arg1) - return err -end - -function PetscDrawSetCoordinates(arg0::Type{Float32},arg1::PetscDraw,arg2::Float32,arg3::Float32,arg4::Float32,arg5::Float32) - err = ccall((:PetscDrawSetCoordinates,petscRealSingle),PetscErrorCode,(PetscDraw,Float32,Float32,Float32,Float32),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDrawGetCoordinates(arg0::Type{Float32},arg1::PetscDraw,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:PetscDrawGetCoordinates,petscRealSingle),PetscErrorCode,(PetscDraw,Ptr{Float32},Ptr{Float32},Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDrawSetTitle(arg0::Type{Float32},arg1::PetscDraw,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscDrawSetTitle,petscRealSingle),PetscErrorCode,(PetscDraw,Cstring),arg1,arg2) - return err -end - -function PetscDrawAppendTitle(arg0::Type{Float32},arg1::PetscDraw,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscDrawAppendTitle,petscRealSingle),PetscErrorCode,(PetscDraw,Cstring),arg1,arg2) - return err -end - -function PetscDrawGetTitle(arg0::Type{Float32},arg1::PetscDraw,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscDrawGetTitle,petscRealSingle),PetscErrorCode,(PetscDraw,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscDrawSetPause(arg0::Type{Float32},arg1::PetscDraw,arg2::Float32) - err = ccall((:PetscDrawSetPause,petscRealSingle),PetscErrorCode,(PetscDraw,Float32),arg1,arg2) - return err -end - -function PetscDrawGetPause(arg0::Type{Float32},arg1::PetscDraw,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:PetscDrawGetPause,petscRealSingle),PetscErrorCode,(PetscDraw,Ptr{Float32}),arg1,arg2) - return err -end - -function PetscDrawPause(arg0::Type{Float32},arg1::PetscDraw) - err = ccall((:PetscDrawPause,petscRealSingle),PetscErrorCode,(PetscDraw,),arg1) - return err -end - -function PetscDrawSetDoubleBuffer(arg0::Type{Float32},arg1::PetscDraw) - err = ccall((:PetscDrawSetDoubleBuffer,petscRealSingle),PetscErrorCode,(PetscDraw,),arg1) - return err -end - -function PetscDrawFlush(arg0::Type{Float32},arg1::PetscDraw) - err = ccall((:PetscDrawFlush,petscRealSingle),PetscErrorCode,(PetscDraw,),arg1) - return err -end - -function PetscDrawSynchronizedFlush(arg0::Type{Float32},arg1::PetscDraw) - err = ccall((:PetscDrawSynchronizedFlush,petscRealSingle),PetscErrorCode,(PetscDraw,),arg1) - return err -end - -function PetscDrawClear(arg0::Type{Float32},arg1::PetscDraw) - err = ccall((:PetscDrawClear,petscRealSingle),PetscErrorCode,(PetscDraw,),arg1) - return err -end - -function PetscDrawSave(arg0::Type{Float32},arg1::PetscDraw) - err = ccall((:PetscDrawSave,petscRealSingle),PetscErrorCode,(PetscDraw,),arg1) - return err -end - -function PetscDrawSynchronizedClear(arg0::Type{Float32},arg1::PetscDraw) - err = ccall((:PetscDrawSynchronizedClear,petscRealSingle),PetscErrorCode,(PetscDraw,),arg1) - return err -end - -function PetscDrawBOP(arg0::Type{Float32},arg1::PetscDraw) - err = ccall((:PetscDrawBOP,petscRealSingle),PetscErrorCode,(PetscDraw,),arg1) - return err -end - -function PetscDrawEOP(arg0::Type{Float32},arg1::PetscDraw) - err = ccall((:PetscDrawEOP,petscRealSingle),PetscErrorCode,(PetscDraw,),arg1) - return err -end - -function PetscDrawSetDisplay(arg0::Type{Float32},arg1::PetscDraw,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscDrawSetDisplay,petscRealSingle),PetscErrorCode,(PetscDraw,Cstring),arg1,arg2) - return err -end - -function PetscDrawGetSingleton(arg0::Type{Float32},arg1::PetscDraw,arg2::Union{Ptr{PetscDraw},StridedArray{PetscDraw},Ptr{PetscDraw},Ref{PetscDraw}}) - err = ccall((:PetscDrawGetSingleton,petscRealSingle),PetscErrorCode,(PetscDraw,Ptr{PetscDraw}),arg1,arg2) - return err -end - -function PetscDrawRestoreSingleton(arg0::Type{Float32},arg1::PetscDraw,arg2::Union{Ptr{PetscDraw},StridedArray{PetscDraw},Ptr{PetscDraw},Ref{PetscDraw}}) - err = ccall((:PetscDrawRestoreSingleton,petscRealSingle),PetscErrorCode,(PetscDraw,Ptr{PetscDraw}),arg1,arg2) - return err -end - -function PetscDrawGetCurrentPoint(arg0::Type{Float32},arg1::PetscDraw,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:PetscDrawGetCurrentPoint,petscRealSingle),PetscErrorCode,(PetscDraw,Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3) - return err -end - -function PetscDrawSetCurrentPoint(arg0::Type{Float32},arg1::PetscDraw,arg2::Float32,arg3::Float32) - err = ccall((:PetscDrawSetCurrentPoint,petscRealSingle),PetscErrorCode,(PetscDraw,Float32,Float32),arg1,arg2,arg3) - return err -end - -function PetscDrawPushCurrentPoint(arg0::Type{Float32},arg1::PetscDraw,arg2::Float32,arg3::Float32) - err = ccall((:PetscDrawPushCurrentPoint,petscRealSingle),PetscErrorCode,(PetscDraw,Float32,Float32),arg1,arg2,arg3) - return err -end - -function PetscDrawPopCurrentPoint(arg0::Type{Float32},arg1::PetscDraw) - err = ccall((:PetscDrawPopCurrentPoint,petscRealSingle),PetscErrorCode,(PetscDraw,),arg1) - return err -end - -function PetscDrawGetBoundingBox(arg0::Type{Float32},arg1::PetscDraw,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:PetscDrawGetBoundingBox,petscRealSingle),PetscErrorCode,(PetscDraw,Ptr{Float32},Ptr{Float32},Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDrawGetMouseButton(arg0::Type{Float32},arg1::PetscDraw,arg2::Union{Ptr{PetscDrawButton},StridedArray{PetscDrawButton},Ptr{PetscDrawButton},Ref{PetscDrawButton}},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg6::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:PetscDrawGetMouseButton,petscRealSingle),PetscErrorCode,(PetscDraw,Ptr{PetscDrawButton},Ptr{Float32},Ptr{Float32},Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscDrawSynchronizedGetMouseButton(arg0::Type{Float32},arg1::PetscDraw,arg2::Union{Ptr{PetscDrawButton},StridedArray{PetscDrawButton},Ptr{PetscDrawButton},Ref{PetscDrawButton}},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg6::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:PetscDrawSynchronizedGetMouseButton,petscRealSingle),PetscErrorCode,(PetscDraw,Ptr{PetscDrawButton},Ptr{Float32},Ptr{Float32},Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscDrawZoom(arg0::Type{Float32},arg1::PetscDraw,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscDrawZoom,petscRealSingle),PetscErrorCode,(PetscDraw,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -#= skipping function with undefined symbols: - function PetscDrawViewPortsCreate(arg0::Type{Float32},arg1::PetscDraw,arg2::Integer,arg3::Union{Ptr{Ptr{PetscDrawViewPorts}},StridedArray{Ptr{PetscDrawViewPorts}},Ptr{Ptr{PetscDrawViewPorts}},Ref{Ptr{PetscDrawViewPorts}}}) - ccall((:PetscDrawViewPortsCreate,petscRealSingle),PetscErrorCode,(PetscDraw,Int64,Ptr{Ptr{PetscDrawViewPorts}}),arg1,arg2,arg3) -end -=# -#= skipping function with undefined symbols: - function PetscDrawViewPortsCreateRect(arg0::Type{Float32},arg1::PetscDraw,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Ptr{PetscDrawViewPorts}},StridedArray{Ptr{PetscDrawViewPorts}},Ptr{Ptr{PetscDrawViewPorts}},Ref{Ptr{PetscDrawViewPorts}}}) - ccall((:PetscDrawViewPortsCreateRect,petscRealSingle),PetscErrorCode,(PetscDraw,Int64,Int64,Ptr{Ptr{PetscDrawViewPorts}}),arg1,arg2,arg3,arg4) -end -=# -#= skipping function with undefined symbols: - function PetscDrawViewPortsDestroy(arg0::Type{Float32},arg1::Union{Ptr{PetscDrawViewPorts},StridedArray{PetscDrawViewPorts},Ptr{PetscDrawViewPorts},Ref{PetscDrawViewPorts}}) - ccall((:PetscDrawViewPortsDestroy,petscRealSingle),PetscErrorCode,(Ptr{PetscDrawViewPorts},),arg1) -end -=# -#= skipping function with undefined symbols: - function PetscDrawViewPortsSet(arg0::Type{Float32},arg1::Union{Ptr{PetscDrawViewPorts},StridedArray{PetscDrawViewPorts},Ptr{PetscDrawViewPorts},Ref{PetscDrawViewPorts}},arg2::Integer) - ccall((:PetscDrawViewPortsSet,petscRealSingle),PetscErrorCode,(Ptr{PetscDrawViewPorts},Int64),arg1,arg2) -end -=# -function PetscDrawAxisCreate(arg0::Type{Float32},arg1::PetscDraw,arg2::Union{Ptr{PetscDrawAxis},StridedArray{PetscDrawAxis},Ptr{PetscDrawAxis},Ref{PetscDrawAxis}}) - err = ccall((:PetscDrawAxisCreate,petscRealSingle),PetscErrorCode,(PetscDraw,Ptr{PetscDrawAxis}),arg1,arg2) - return err -end - -function PetscDrawAxisDestroy(arg0::Type{Float32},arg1::Union{Ptr{PetscDrawAxis},StridedArray{PetscDrawAxis},Ptr{PetscDrawAxis},Ref{PetscDrawAxis}}) - err = ccall((:PetscDrawAxisDestroy,petscRealSingle),PetscErrorCode,(Ptr{PetscDrawAxis},),arg1) - return err -end - -function PetscDrawAxisDraw(arg0::Type{Float32},arg1::PetscDrawAxis) - err = ccall((:PetscDrawAxisDraw,petscRealSingle),PetscErrorCode,(PetscDrawAxis,),arg1) - return err -end - -function PetscDrawAxisSetLimits(arg0::Type{Float32},arg1::PetscDrawAxis,arg2::Float32,arg3::Float32,arg4::Float32,arg5::Float32) - err = ccall((:PetscDrawAxisSetLimits,petscRealSingle),PetscErrorCode,(PetscDrawAxis,Float32,Float32,Float32,Float32),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDrawAxisGetLimits(arg0::Type{Float32},arg1::PetscDrawAxis,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:PetscDrawAxisGetLimits,petscRealSingle),PetscErrorCode,(PetscDrawAxis,Ptr{Float32},Ptr{Float32},Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDrawAxisSetHoldLimits(arg0::Type{Float32},arg1::PetscDrawAxis,arg2::PetscBool) - err = ccall((:PetscDrawAxisSetHoldLimits,petscRealSingle),PetscErrorCode,(PetscDrawAxis,PetscBool),arg1,arg2) - return err -end - -function PetscDrawAxisSetColors(arg0::Type{Float32},arg1::PetscDrawAxis,arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:PetscDrawAxisSetColors,petscRealSingle),PetscErrorCode,(PetscDrawAxis,Cint,Cint,Cint),arg1,arg2,arg3,arg4) - return err -end - -function PetscDrawAxisSetLabels(arg0::Type{Float32},arg1::PetscDrawAxis,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscDrawAxisSetLabels,petscRealSingle),PetscErrorCode,(PetscDrawAxis,Cstring,Cstring,Cstring),arg1,arg2,arg3,arg4) - return err -end - -function PetscDrawLGCreate(arg0::Type{Float32},arg1::PetscDraw,arg2::Integer,arg3::Union{Ptr{PetscDrawLG},StridedArray{PetscDrawLG},Ptr{PetscDrawLG},Ref{PetscDrawLG}}) - err = ccall((:PetscDrawLGCreate,petscRealSingle),PetscErrorCode,(PetscDraw,Int64,Ptr{PetscDrawLG}),arg1,arg2,arg3) - return err -end - -function PetscDrawLGDestroy(arg0::Type{Float32},arg1::Union{Ptr{PetscDrawLG},StridedArray{PetscDrawLG},Ptr{PetscDrawLG},Ref{PetscDrawLG}}) - err = ccall((:PetscDrawLGDestroy,petscRealSingle),PetscErrorCode,(Ptr{PetscDrawLG},),arg1) - return err -end - -function PetscDrawLGAddPoint(arg0::Type{Float32},arg1::PetscDrawLG,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:PetscDrawLGAddPoint,petscRealSingle),PetscErrorCode,(PetscDrawLG,Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3) - return err -end - -function PetscDrawLGAddCommonPoint(arg0::Type{Float32},arg1::PetscDrawLG,arg2::Float32,arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:PetscDrawLGAddCommonPoint,petscRealSingle),PetscErrorCode,(PetscDrawLG,Float32,Ptr{Float32}),arg1,arg2,arg3) - return err -end - -function PetscDrawLGAddPoints(arg0::Type{Float32},arg1::PetscDrawLG,arg2::Integer,arg3::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}},arg4::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:PetscDrawLGAddPoints,petscRealSingle),PetscErrorCode,(PetscDrawLG,Int64,Ptr{Ptr{Float32}},Ptr{Ptr{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscDrawLGDraw(arg0::Type{Float32},arg1::PetscDrawLG) - err = ccall((:PetscDrawLGDraw,petscRealSingle),PetscErrorCode,(PetscDrawLG,),arg1) - return err -end - -function PetscDrawLGView(arg1::PetscDrawLG,arg2::PetscViewer{Float32}) - err = ccall((:PetscDrawLGView,petscRealSingle),PetscErrorCode,(PetscDrawLG,PetscViewer{Float32}),arg1,arg2) - return err -end - -function PetscDrawLGReset(arg0::Type{Float32},arg1::PetscDrawLG) - err = ccall((:PetscDrawLGReset,petscRealSingle),PetscErrorCode,(PetscDrawLG,),arg1) - return err -end - -function PetscDrawLGSetDimension(arg0::Type{Float32},arg1::PetscDrawLG,arg2::Integer) - err = ccall((:PetscDrawLGSetDimension,petscRealSingle),PetscErrorCode,(PetscDrawLG,Int64),arg1,arg2) - return err -end - -function PetscDrawLGGetDimension(arg0::Type{Float32},arg1::PetscDrawLG,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscDrawLGGetDimension,petscRealSingle),PetscErrorCode,(PetscDrawLG,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscDrawLGSetLegend(arg0::Type{Float32},arg1::PetscDrawLG,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscDrawLGSetLegend,petscRealSingle),PetscErrorCode,(PetscDrawLG,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PetscDrawLGGetAxis(arg0::Type{Float32},arg1::PetscDrawLG,arg2::Union{Ptr{PetscDrawAxis},StridedArray{PetscDrawAxis},Ptr{PetscDrawAxis},Ref{PetscDrawAxis}}) - err = ccall((:PetscDrawLGGetAxis,petscRealSingle),PetscErrorCode,(PetscDrawLG,Ptr{PetscDrawAxis}),arg1,arg2) - return err -end - -function PetscDrawLGGetDraw(arg0::Type{Float32},arg1::PetscDrawLG,arg2::Union{Ptr{PetscDraw},StridedArray{PetscDraw},Ptr{PetscDraw},Ref{PetscDraw}}) - err = ccall((:PetscDrawLGGetDraw,petscRealSingle),PetscErrorCode,(PetscDrawLG,Ptr{PetscDraw}),arg1,arg2) - return err -end - -function PetscDrawLGSetUseMarkers(arg0::Type{Float32},arg1::PetscDrawLG,arg2::PetscBool) - err = ccall((:PetscDrawLGSetUseMarkers,petscRealSingle),PetscErrorCode,(PetscDrawLG,PetscBool),arg1,arg2) - return err -end - -function PetscDrawLGSetLimits(arg0::Type{Float32},arg1::PetscDrawLG,arg2::Float32,arg3::Float32,arg4::Float32,arg5::Float32) - err = ccall((:PetscDrawLGSetLimits,petscRealSingle),PetscErrorCode,(PetscDrawLG,Float32,Float32,Float32,Float32),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDrawLGSetColors(arg0::Type{Float32},arg1::PetscDrawLG,arg2::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}}) - err = ccall((:PetscDrawLGSetColors,petscRealSingle),PetscErrorCode,(PetscDrawLG,Ptr{Cint}),arg1,arg2) - return err -end - -function PetscDrawLGSetFromOptions(arg0::Type{Float32},arg1::PetscDrawLG) - err = ccall((:PetscDrawLGSetFromOptions,petscRealSingle),PetscErrorCode,(PetscDrawLG,),arg1) - return err -end - -function PetscDrawSPCreate(arg0::Type{Float32},arg1::PetscDraw,arg2::Integer,arg3::Union{Ptr{PetscDrawSP},StridedArray{PetscDrawSP},Ptr{PetscDrawSP},Ref{PetscDrawSP}}) - err = ccall((:PetscDrawSPCreate,petscRealSingle),PetscErrorCode,(PetscDraw,Cint,Ptr{PetscDrawSP}),arg1,arg2,arg3) - return err -end - -function PetscDrawSPDestroy(arg0::Type{Float32},arg1::Union{Ptr{PetscDrawSP},StridedArray{PetscDrawSP},Ptr{PetscDrawSP},Ref{PetscDrawSP}}) - err = ccall((:PetscDrawSPDestroy,petscRealSingle),PetscErrorCode,(Ptr{PetscDrawSP},),arg1) - return err -end - -function PetscDrawSPAddPoint(arg0::Type{Float32},arg1::PetscDrawSP,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:PetscDrawSPAddPoint,petscRealSingle),PetscErrorCode,(PetscDrawSP,Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3) - return err -end - -function PetscDrawSPAddPoints(arg0::Type{Float32},arg1::PetscDrawSP,arg2::Integer,arg3::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}},arg4::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:PetscDrawSPAddPoints,petscRealSingle),PetscErrorCode,(PetscDrawSP,Cint,Ptr{Ptr{Float32}},Ptr{Ptr{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscDrawSPDraw(arg0::Type{Float32},arg1::PetscDrawSP,arg2::PetscBool) - err = ccall((:PetscDrawSPDraw,petscRealSingle),PetscErrorCode,(PetscDrawSP,PetscBool),arg1,arg2) - return err -end - -function PetscDrawSPReset(arg0::Type{Float32},arg1::PetscDrawSP) - err = ccall((:PetscDrawSPReset,petscRealSingle),PetscErrorCode,(PetscDrawSP,),arg1) - return err -end - -function PetscDrawSPSetDimension(arg0::Type{Float32},arg1::PetscDrawSP,arg2::Integer) - err = ccall((:PetscDrawSPSetDimension,petscRealSingle),PetscErrorCode,(PetscDrawSP,Cint),arg1,arg2) - return err -end - -function PetscDrawSPGetAxis(arg0::Type{Float32},arg1::PetscDrawSP,arg2::Union{Ptr{PetscDrawAxis},StridedArray{PetscDrawAxis},Ptr{PetscDrawAxis},Ref{PetscDrawAxis}}) - err = ccall((:PetscDrawSPGetAxis,petscRealSingle),PetscErrorCode,(PetscDrawSP,Ptr{PetscDrawAxis}),arg1,arg2) - return err -end - -function PetscDrawSPGetDraw(arg0::Type{Float32},arg1::PetscDrawSP,arg2::Union{Ptr{PetscDraw},StridedArray{PetscDraw},Ptr{PetscDraw},Ref{PetscDraw}}) - err = ccall((:PetscDrawSPGetDraw,petscRealSingle),PetscErrorCode,(PetscDrawSP,Ptr{PetscDraw}),arg1,arg2) - return err -end - -function PetscDrawSPSetLimits(arg0::Type{Float32},arg1::PetscDrawSP,arg2::Float32,arg3::Float32,arg4::Float32,arg5::Float32) - err = ccall((:PetscDrawSPSetLimits,petscRealSingle),PetscErrorCode,(PetscDrawSP,Float32,Float32,Float32,Float32),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDrawLGSPDraw(arg0::Type{Float32},arg1::PetscDrawLG,arg2::PetscDrawSP) - err = ccall((:PetscDrawLGSPDraw,petscRealSingle),PetscErrorCode,(PetscDrawLG,PetscDrawSP),arg1,arg2) - return err -end - -function PetscDrawHGCreate(arg0::Type{Float32},arg1::PetscDraw,arg2::Integer,arg3::Union{Ptr{PetscDrawHG},StridedArray{PetscDrawHG},Ptr{PetscDrawHG},Ref{PetscDrawHG}}) - err = ccall((:PetscDrawHGCreate,petscRealSingle),PetscErrorCode,(PetscDraw,Cint,Ptr{PetscDrawHG}),arg1,arg2,arg3) - return err -end - -function PetscDrawHGDestroy(arg0::Type{Float32},arg1::Union{Ptr{PetscDrawHG},StridedArray{PetscDrawHG},Ptr{PetscDrawHG},Ref{PetscDrawHG}}) - err = ccall((:PetscDrawHGDestroy,petscRealSingle),PetscErrorCode,(Ptr{PetscDrawHG},),arg1) - return err -end - -function PetscDrawHGAddValue(arg0::Type{Float32},arg1::PetscDrawHG,arg2::Float32) - err = ccall((:PetscDrawHGAddValue,petscRealSingle),PetscErrorCode,(PetscDrawHG,Float32),arg1,arg2) - return err -end - -function PetscDrawHGDraw(arg0::Type{Float32},arg1::PetscDrawHG) - err = ccall((:PetscDrawHGDraw,petscRealSingle),PetscErrorCode,(PetscDrawHG,),arg1) - return err -end - -function PetscDrawHGView(arg1::PetscDrawHG,arg2::PetscViewer{Float32}) - err = ccall((:PetscDrawHGView,petscRealSingle),PetscErrorCode,(PetscDrawHG,PetscViewer{Float32}),arg1,arg2) - return err -end - -function PetscDrawHGReset(arg0::Type{Float32},arg1::PetscDrawHG) - err = ccall((:PetscDrawHGReset,petscRealSingle),PetscErrorCode,(PetscDrawHG,),arg1) - return err -end - -function PetscDrawHGGetAxis(arg0::Type{Float32},arg1::PetscDrawHG,arg2::Union{Ptr{PetscDrawAxis},StridedArray{PetscDrawAxis},Ptr{PetscDrawAxis},Ref{PetscDrawAxis}}) - err = ccall((:PetscDrawHGGetAxis,petscRealSingle),PetscErrorCode,(PetscDrawHG,Ptr{PetscDrawAxis}),arg1,arg2) - return err -end - -function PetscDrawHGGetDraw(arg0::Type{Float32},arg1::PetscDrawHG,arg2::Union{Ptr{PetscDraw},StridedArray{PetscDraw},Ptr{PetscDraw},Ref{PetscDraw}}) - err = ccall((:PetscDrawHGGetDraw,petscRealSingle),PetscErrorCode,(PetscDrawHG,Ptr{PetscDraw}),arg1,arg2) - return err -end - -function PetscDrawHGSetLimits(arg0::Type{Float32},arg1::PetscDrawHG,arg2::Float32,arg3::Float32,arg4::Integer,arg5::Integer) - err = ccall((:PetscDrawHGSetLimits,petscRealSingle),PetscErrorCode,(PetscDrawHG,Float32,Float32,Cint,Cint),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDrawHGSetNumberBins(arg0::Type{Float32},arg1::PetscDrawHG,arg2::Integer) - err = ccall((:PetscDrawHGSetNumberBins,petscRealSingle),PetscErrorCode,(PetscDrawHG,Cint),arg1,arg2) - return err -end - -function PetscDrawHGSetColor(arg0::Type{Float32},arg1::PetscDrawHG,arg2::Integer) - err = ccall((:PetscDrawHGSetColor,petscRealSingle),PetscErrorCode,(PetscDrawHG,Cint),arg1,arg2) - return err -end - -function PetscDrawHGCalcStats(arg0::Type{Float32},arg1::PetscDrawHG,arg2::PetscBool) - err = ccall((:PetscDrawHGCalcStats,petscRealSingle),PetscErrorCode,(PetscDrawHG,PetscBool),arg1,arg2) - return err -end - -function PetscDrawHGIntegerBins(arg0::Type{Float32},arg1::PetscDrawHG,arg2::PetscBool) - err = ccall((:PetscDrawHGIntegerBins,petscRealSingle),PetscErrorCode,(PetscDrawHG,PetscBool),arg1,arg2) - return err -end - -function PetscDrawBarCreate(arg0::Type{Float32},arg1::PetscDraw,arg2::Union{Ptr{PetscDrawBar},StridedArray{PetscDrawBar},Ptr{PetscDrawBar},Ref{PetscDrawBar}}) - err = ccall((:PetscDrawBarCreate,petscRealSingle),PetscErrorCode,(PetscDraw,Ptr{PetscDrawBar}),arg1,arg2) - return err -end - -function PetscDrawBarSetData(arg0::Type{Float32},arg1::PetscDrawBar,arg2::Integer,arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscDrawBarSetData,petscRealSingle),PetscErrorCode,(PetscDrawBar,Int64,Ptr{Float32},Ptr{Ptr{UInt8}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscDrawBarDestroy(arg0::Type{Float32},arg1::Union{Ptr{PetscDrawBar},StridedArray{PetscDrawBar},Ptr{PetscDrawBar},Ref{PetscDrawBar}}) - err = ccall((:PetscDrawBarDestroy,petscRealSingle),PetscErrorCode,(Ptr{PetscDrawBar},),arg1) - return err -end - -function PetscDrawBarDraw(arg0::Type{Float32},arg1::PetscDrawBar) - err = ccall((:PetscDrawBarDraw,petscRealSingle),PetscErrorCode,(PetscDrawBar,),arg1) - return err -end - -function PetscDrawBarSetColor(arg0::Type{Float32},arg1::PetscDrawBar,arg2::Integer) - err = ccall((:PetscDrawBarSetColor,petscRealSingle),PetscErrorCode,(PetscDrawBar,Cint),arg1,arg2) - return err -end - -function PetscDrawBarSetLimits(arg0::Type{Float32},arg1::PetscDrawBar,arg2::Float32,arg3::Float32) - err = ccall((:PetscDrawBarSetLimits,petscRealSingle),PetscErrorCode,(PetscDrawBar,Float32,Float32),arg1,arg2,arg3) - return err -end - -function PetscDrawBarSort(arg0::Type{Float32},arg1::PetscDrawBar,arg2::PetscBool,arg3::Float32) - err = ccall((:PetscDrawBarSort,petscRealSingle),PetscErrorCode,(PetscDrawBar,PetscBool,Float32),arg1,arg2,arg3) - return err -end - -function PetscDrawBarSetFromOptions(arg0::Type{Float32},arg1::PetscDrawBar) - err = ccall((:PetscDrawBarSetFromOptions,petscRealSingle),PetscErrorCode,(PetscDrawBar,),arg1) - return err -end - -function PetscDrawBarGetAxis(arg0::Type{Float32},arg1::PetscDrawBar,arg2::Union{Ptr{PetscDrawAxis},StridedArray{PetscDrawAxis},Ptr{PetscDrawAxis},Ref{PetscDrawAxis}}) - err = ccall((:PetscDrawBarGetAxis,petscRealSingle),PetscErrorCode,(PetscDrawBar,Ptr{PetscDrawAxis}),arg1,arg2) - return err -end - -function PetscDrawBarGetDraw(arg0::Type{Float32},arg1::PetscDrawBar,arg2::Union{Ptr{PetscDraw},StridedArray{PetscDraw},Ptr{PetscDraw},Ref{PetscDraw}}) - err = ccall((:PetscDrawBarGetDraw,petscRealSingle),PetscErrorCode,(PetscDrawBar,Ptr{PetscDraw}),arg1,arg2) - return err -end - -function PetscViewerDrawGetDraw(arg1::PetscViewer{Float32},arg2::Integer,arg3::Union{Ptr{PetscDraw},StridedArray{PetscDraw},Ptr{PetscDraw},Ref{PetscDraw}}) - err = ccall((:PetscViewerDrawGetDraw,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Int64,Ptr{PetscDraw}),arg1,arg2,arg3) - return err -end - -function PetscViewerDrawBaseAdd(arg1::PetscViewer{Float32},arg2::Integer) - err = ccall((:PetscViewerDrawBaseAdd,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Int64),arg1,arg2) - return err -end - -function PetscViewerDrawBaseSet(arg1::PetscViewer{Float32},arg2::Integer) - err = ccall((:PetscViewerDrawBaseSet,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Int64),arg1,arg2) - return err -end - -function PetscViewerDrawGetDrawLG(arg1::PetscViewer{Float32},arg2::Integer,arg3::Union{Ptr{PetscDrawLG},StridedArray{PetscDrawLG},Ptr{PetscDrawLG},Ref{PetscDrawLG}}) - err = ccall((:PetscViewerDrawGetDrawLG,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Int64,Ptr{PetscDrawLG}),arg1,arg2,arg3) - return err -end - -function PetscViewerDrawGetDrawAxis(arg1::PetscViewer{Float32},arg2::Integer,arg3::Union{Ptr{PetscDrawAxis},StridedArray{PetscDrawAxis},Ptr{PetscDrawAxis},Ref{PetscDrawAxis}}) - err = ccall((:PetscViewerDrawGetDrawAxis,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Int64,Ptr{PetscDrawAxis}),arg1,arg2,arg3) - return err -end - -function PetscDrawUtilitySetCmapHue(arg0::Type{Float32},arg1::Union{Ptr{Cuchar},StridedArray{Cuchar},Ptr{Cuchar},Ref{Cuchar}},arg2::Union{Ptr{Cuchar},StridedArray{Cuchar},Ptr{Cuchar},Ref{Cuchar}},arg3::Union{Ptr{Cuchar},StridedArray{Cuchar},Ptr{Cuchar},Ref{Cuchar}},arg4::Integer) - err = ccall((:PetscDrawUtilitySetCmapHue,petscRealSingle),PetscErrorCode,(Ptr{Cuchar},Ptr{Cuchar},Ptr{Cuchar},Cint),arg1,arg2,arg3,arg4) - return err -end - -function PetscDrawUtilitySetGamma(arg0::Type{Float32},arg1::Float32) - err = ccall((:PetscDrawUtilitySetGamma,petscRealSingle),PetscErrorCode,(Float32,),arg1) - return err -end - -function ISInitializePackage(arg0::Type{Float32}) - err = ccall((:ISInitializePackage,petscRealSingle),PetscErrorCode,()) - return err -end - -function ISSetType(arg1::IS{Float32},arg2::ISType) - err = ccall((:ISSetType,petscRealSingle),PetscErrorCode,(IS{Float32},Cstring),arg1,arg2) - return err -end - -function ISGetType(arg1::IS{Float32},arg2::Union{Ptr{ISType},StridedArray{ISType},Ptr{ISType},Ref{ISType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:ISGetType,petscRealSingle),PetscErrorCode,(IS{Float32},Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function ISRegister(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:ISRegister,petscRealSingle),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function ISCreate(arg1::MPI_Comm,arg2::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:ISCreate,petscRealSingle),PetscErrorCode,(comm_type,Ptr{IS{Float32}}),arg1,arg2) - return err -end - -function ISCreateGeneral(arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::PetscCopyMode,arg5::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:ISCreateGeneral,petscRealSingle),PetscErrorCode,(comm_type,Int64,Ptr{Int64},PetscCopyMode,Ptr{IS{Float32}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function ISGeneralSetIndices(arg1::IS{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::PetscCopyMode) - err = ccall((:ISGeneralSetIndices,petscRealSingle),PetscErrorCode,(IS{Float32},Int64,Ptr{Int64},PetscCopyMode),arg1,arg2,arg3,arg4) - return err -end - -function ISCreateBlock(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::PetscCopyMode,arg6::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:ISCreateBlock,petscRealSingle),PetscErrorCode,(comm_type,Int64,Int64,Ptr{Int64},PetscCopyMode,Ptr{IS{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function ISBlockSetIndices(arg1::IS{Float32},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::PetscCopyMode) - err = ccall((:ISBlockSetIndices,petscRealSingle),PetscErrorCode,(IS{Float32},Int64,Int64,Ptr{Int64},PetscCopyMode),arg1,arg2,arg3,arg4,arg5) - return err -end - -function ISCreateStride(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:ISCreateStride,petscRealSingle),PetscErrorCode,(comm_type,Int64,Int64,Int64,Ptr{IS{Float32}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function ISStrideSetStride(arg1::IS{Float32},arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:ISStrideSetStride,petscRealSingle),PetscErrorCode,(IS{Float32},Int64,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function ISDestroy(arg1::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:ISDestroy,petscRealSingle),PetscErrorCode,(Ptr{IS{Float32}},),arg1) - return err -end - -function ISSetPermutation(arg1::IS{Float32}) - err = ccall((:ISSetPermutation,petscRealSingle),PetscErrorCode,(IS{Float32},),arg1) - return err -end - -function ISPermutation(arg1::IS{Float32},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:ISPermutation,petscRealSingle),PetscErrorCode,(IS{Float32},Ptr{PetscBool}),arg1,arg2) - return err -end - -function ISSetIdentity(arg1::IS{Float32}) - err = ccall((:ISSetIdentity,petscRealSingle),PetscErrorCode,(IS{Float32},),arg1) - return err -end - -function ISIdentity(arg1::IS{Float32},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:ISIdentity,petscRealSingle),PetscErrorCode,(IS{Float32},Ptr{PetscBool}),arg1,arg2) - return err -end - -function ISContiguousLocal(arg1::IS{Float32},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:ISContiguousLocal,petscRealSingle),PetscErrorCode,(IS{Float32},Int64,Int64,Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function ISGetIndices(arg1::IS{Float32},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:ISGetIndices,petscRealSingle),PetscErrorCode,(IS{Float32},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function ISRestoreIndices(arg1::IS{Float32},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:ISRestoreIndices,petscRealSingle),PetscErrorCode,(IS{Float32},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function ISGetTotalIndices(arg1::IS{Float32},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:ISGetTotalIndices,petscRealSingle),PetscErrorCode,(IS{Float32},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function ISRestoreTotalIndices(arg1::IS{Float32},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:ISRestoreTotalIndices,petscRealSingle),PetscErrorCode,(IS{Float32},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function ISGetNonlocalIndices(arg1::IS{Float32},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:ISGetNonlocalIndices,petscRealSingle),PetscErrorCode,(IS{Float32},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function ISRestoreNonlocalIndices(arg1::IS{Float32},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:ISRestoreNonlocalIndices,petscRealSingle),PetscErrorCode,(IS{Float32},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function ISGetNonlocalIS(arg1::IS{Float32},is::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:ISGetNonlocalIS,petscRealSingle),PetscErrorCode,(IS{Float32},Ptr{IS{Float32}}),arg1,is) - return err -end - -function ISRestoreNonlocalIS(arg1::IS{Float32},is::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:ISRestoreNonlocalIS,petscRealSingle),PetscErrorCode,(IS{Float32},Ptr{IS{Float32}}),arg1,is) - return err -end - -function ISGetSize(arg1::IS{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:ISGetSize,petscRealSingle),PetscErrorCode,(IS{Float32},Ptr{Int64}),arg1,arg2) - return err -end - -function ISGetLocalSize(arg1::IS{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:ISGetLocalSize,petscRealSingle),PetscErrorCode,(IS{Float32},Ptr{Int64}),arg1,arg2) - return err -end - -function ISInvertPermutation(arg1::IS{Float32},arg2::Integer,arg3::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:ISInvertPermutation,petscRealSingle),PetscErrorCode,(IS{Float32},Int64,Ptr{IS{Float32}}),arg1,arg2,arg3) - return err -end - -function ISView(arg1::IS{Float32},arg2::PetscViewer{Float32}) - err = ccall((:ISView,petscRealSingle),PetscErrorCode,(IS{Float32},PetscViewer{Float32}),arg1,arg2) - return err -end - -function ISViewFromOptions(A::IS{Float32},obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:ISViewFromOptions,petscRealSingle),PetscErrorCode,(IS{Float32},PetscObject,Cstring),A,obj,name) - return err -end - -function ISLoad(arg1::IS{Float32},arg2::PetscViewer{Float32}) - err = ccall((:ISLoad,petscRealSingle),PetscErrorCode,(IS{Float32},PetscViewer{Float32}),arg1,arg2) - return err -end - -function ISEqual(arg1::IS{Float32},arg2::IS{Float32},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:ISEqual,petscRealSingle),PetscErrorCode,(IS{Float32},IS{Float32},Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function ISSort(arg1::IS{Float32}) - err = ccall((:ISSort,petscRealSingle),PetscErrorCode,(IS{Float32},),arg1) - return err -end - -function ISSortRemoveDups(arg1::IS{Float32}) - err = ccall((:ISSortRemoveDups,petscRealSingle),PetscErrorCode,(IS{Float32},),arg1) - return err -end - -function ISSorted(arg1::IS{Float32},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:ISSorted,petscRealSingle),PetscErrorCode,(IS{Float32},Ptr{PetscBool}),arg1,arg2) - return err -end - -function ISDifference(arg1::IS{Float32},arg2::IS{Float32},arg3::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:ISDifference,petscRealSingle),PetscErrorCode,(IS{Float32},IS{Float32},Ptr{IS{Float32}}),arg1,arg2,arg3) - return err -end - -function ISSum(arg1::IS{Float32},arg2::IS{Float32},arg3::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:ISSum,petscRealSingle),PetscErrorCode,(IS{Float32},IS{Float32},Ptr{IS{Float32}}),arg1,arg2,arg3) - return err -end - -function ISExpand(arg1::IS{Float32},arg2::IS{Float32},arg3::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:ISExpand,petscRealSingle),PetscErrorCode,(IS{Float32},IS{Float32},Ptr{IS{Float32}}),arg1,arg2,arg3) - return err -end - -function ISGetMinMax(arg1::IS{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:ISGetMinMax,petscRealSingle),PetscErrorCode,(IS{Float32},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function ISBlockGetIndices(arg1::IS{Float32},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:ISBlockGetIndices,petscRealSingle),PetscErrorCode,(IS{Float32},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function ISBlockRestoreIndices(arg1::IS{Float32},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:ISBlockRestoreIndices,petscRealSingle),PetscErrorCode,(IS{Float32},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function ISBlockGetLocalSize(arg1::IS{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:ISBlockGetLocalSize,petscRealSingle),PetscErrorCode,(IS{Float32},Ptr{Int64}),arg1,arg2) - return err -end - -function ISBlockGetSize(arg1::IS{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:ISBlockGetSize,petscRealSingle),PetscErrorCode,(IS{Float32},Ptr{Int64}),arg1,arg2) - return err -end - -function ISGetBlockSize(arg1::IS{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:ISGetBlockSize,petscRealSingle),PetscErrorCode,(IS{Float32},Ptr{Int64}),arg1,arg2) - return err -end - -function ISSetBlockSize(arg1::IS{Float32},arg2::Integer) - err = ccall((:ISSetBlockSize,petscRealSingle),PetscErrorCode,(IS{Float32},Int64),arg1,arg2) - return err -end - -function ISStrideGetInfo(arg1::IS{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:ISStrideGetInfo,petscRealSingle),PetscErrorCode,(IS{Float32},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function ISToGeneral(arg1::IS{Float32}) - err = ccall((:ISToGeneral,petscRealSingle),PetscErrorCode,(IS{Float32},),arg1) - return err -end - -function ISDuplicate(arg1::IS{Float32},arg2::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:ISDuplicate,petscRealSingle),PetscErrorCode,(IS{Float32},Ptr{IS{Float32}}),arg1,arg2) - return err -end - -function ISCopy(arg1::IS{Float32},arg2::IS{Float32}) - err = ccall((:ISCopy,petscRealSingle),PetscErrorCode,(IS{Float32},IS{Float32}),arg1,arg2) - return err -end - -function ISAllGather(arg1::IS{Float32},arg2::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:ISAllGather,petscRealSingle),PetscErrorCode,(IS{Float32},Ptr{IS{Float32}}),arg1,arg2) - return err -end - -function ISComplement(arg1::IS{Float32},arg2::Integer,arg3::Integer,arg4::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:ISComplement,petscRealSingle),PetscErrorCode,(IS{Float32},Int64,Int64,Ptr{IS{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function ISConcatenate(arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}},arg4::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:ISConcatenate,petscRealSingle),PetscErrorCode,(comm_type,Int64,Ptr{IS{Float32}},Ptr{IS{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function ISListToPair(arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}},arg4::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}},arg5::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:ISListToPair,petscRealSingle),PetscErrorCode,(comm_type,Int64,Ptr{IS{Float32}},Ptr{IS{Float32}},Ptr{IS{Float32}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function ISPairToList(arg1::IS{Float32},arg2::IS{Float32},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{IS{Float32}}},StridedArray{Ptr{IS{Float32}}},Ptr{Ptr{IS{Float32}}},Ref{Ptr{IS{Float32}}}}) - err = ccall((:ISPairToList,petscRealSingle),PetscErrorCode,(IS{Float32},IS{Float32},Ptr{Int64},Ptr{Ptr{IS{Float32}}}),arg1,arg2,arg3,arg4) - return err -end - -function ISEmbed(arg1::IS{Float32},arg2::IS{Float32},arg3::PetscBool,arg4::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:ISEmbed,petscRealSingle),PetscErrorCode,(IS{Float32},IS{Float32},PetscBool,Ptr{IS{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function ISSortPermutation(arg1::IS{Float32},arg2::PetscBool,arg3::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:ISSortPermutation,petscRealSingle),PetscErrorCode,(IS{Float32},PetscBool,Ptr{IS{Float32}}),arg1,arg2,arg3) - return err -end - -function ISOnComm(arg1::IS{Float32},arg2::MPI_Comm,arg3::PetscCopyMode,arg4::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:ISOnComm,petscRealSingle),PetscErrorCode,(IS{Float32},comm_type,PetscCopyMode,Ptr{IS{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function ISLocalToGlobalMappingCreate(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::PetscCopyMode,arg6::Union{Ptr{ISLocalToGlobalMapping{Float32}},StridedArray{ISLocalToGlobalMapping{Float32}},Ptr{ISLocalToGlobalMapping{Float32}},Ref{ISLocalToGlobalMapping{Float32}}}) - err = ccall((:ISLocalToGlobalMappingCreate,petscRealSingle),PetscErrorCode,(comm_type,Int64,Int64,Ptr{Int64},PetscCopyMode,Ptr{ISLocalToGlobalMapping{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function ISLocalToGlobalMappingCreateIS(arg1::IS{Float32},arg2::Union{Ptr{ISLocalToGlobalMapping{Float32}},StridedArray{ISLocalToGlobalMapping{Float32}},Ptr{ISLocalToGlobalMapping{Float32}},Ref{ISLocalToGlobalMapping{Float32}}}) - err = ccall((:ISLocalToGlobalMappingCreateIS,petscRealSingle),PetscErrorCode,(IS{Float32},Ptr{ISLocalToGlobalMapping{Float32}}),arg1,arg2) - return err -end - -function ISLocalToGlobalMappingCreateSF(arg1::PetscSF,arg2::Integer,arg3::Union{Ptr{ISLocalToGlobalMapping{Float32}},StridedArray{ISLocalToGlobalMapping{Float32}},Ptr{ISLocalToGlobalMapping{Float32}},Ref{ISLocalToGlobalMapping{Float32}}}) - err = ccall((:ISLocalToGlobalMappingCreateSF,petscRealSingle),PetscErrorCode,(PetscSF,Int64,Ptr{ISLocalToGlobalMapping{Float32}}),arg1,arg2,arg3) - return err -end - -function ISLocalToGlobalMappingView(arg1::ISLocalToGlobalMapping{Float32},arg2::PetscViewer{Float32}) - err = ccall((:ISLocalToGlobalMappingView,petscRealSingle),PetscErrorCode,(ISLocalToGlobalMapping{Float32},PetscViewer{Float32}),arg1,arg2) - return err -end - -function ISLocalToGlobalMappingDestroy(arg1::Union{Ptr{ISLocalToGlobalMapping{Float32}},StridedArray{ISLocalToGlobalMapping{Float32}},Ptr{ISLocalToGlobalMapping{Float32}},Ref{ISLocalToGlobalMapping{Float32}}}) - err = ccall((:ISLocalToGlobalMappingDestroy,petscRealSingle),PetscErrorCode,(Ptr{ISLocalToGlobalMapping{Float32}},),arg1) - return err -end - -function ISLocalToGlobalMappingApply(arg1::ISLocalToGlobalMapping{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:ISLocalToGlobalMappingApply,petscRealSingle),PetscErrorCode,(ISLocalToGlobalMapping{Float32},Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function ISLocalToGlobalMappingApplyBlock(arg1::ISLocalToGlobalMapping{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:ISLocalToGlobalMappingApplyBlock,petscRealSingle),PetscErrorCode,(ISLocalToGlobalMapping{Float32},Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function ISLocalToGlobalMappingApplyIS(arg1::ISLocalToGlobalMapping{Float32},arg2::IS{Float32},arg3::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:ISLocalToGlobalMappingApplyIS,petscRealSingle),PetscErrorCode,(ISLocalToGlobalMapping{Float32},IS{Float32},Ptr{IS{Float32}}),arg1,arg2,arg3) - return err -end - -function ISGlobalToLocalMappingApply(arg1::ISLocalToGlobalMapping{Float32},arg2::ISGlobalToLocalMappingType,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:ISGlobalToLocalMappingApply,petscRealSingle),PetscErrorCode,(ISLocalToGlobalMapping{Float32},ISGlobalToLocalMappingType,Int64,Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function ISGlobalToLocalMappingApplyBlock(arg1::ISLocalToGlobalMapping{Float32},arg2::ISGlobalToLocalMappingType,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:ISGlobalToLocalMappingApplyBlock,petscRealSingle),PetscErrorCode,(ISLocalToGlobalMapping{Float32},ISGlobalToLocalMappingType,Int64,Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function ISGlobalToLocalMappingApplyIS(arg1::ISLocalToGlobalMapping{Float32},arg2::ISGlobalToLocalMappingType,arg3::IS{Float32},arg4::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:ISGlobalToLocalMappingApplyIS,petscRealSingle),PetscErrorCode,(ISLocalToGlobalMapping{Float32},ISGlobalToLocalMappingType,IS{Float32},Ptr{IS{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function ISLocalToGlobalMappingGetSize(arg1::ISLocalToGlobalMapping{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:ISLocalToGlobalMappingGetSize,petscRealSingle),PetscErrorCode,(ISLocalToGlobalMapping{Float32},Ptr{Int64}),arg1,arg2) - return err -end - -function ISLocalToGlobalMappingGetInfo(arg1::ISLocalToGlobalMapping{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg5::Union{Ptr{Ptr{Ptr{Int64}}},StridedArray{Ptr{Ptr{Int64}}},Ptr{Ptr{Ptr{Int64}}},Ref{Ptr{Ptr{Int64}}}}) - err = ccall((:ISLocalToGlobalMappingGetInfo,petscRealSingle),PetscErrorCode,(ISLocalToGlobalMapping{Float32},Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}},Ptr{Ptr{Ptr{Int64}}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function ISLocalToGlobalMappingRestoreInfo(arg1::ISLocalToGlobalMapping{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg5::Union{Ptr{Ptr{Ptr{Int64}}},StridedArray{Ptr{Ptr{Int64}}},Ptr{Ptr{Ptr{Int64}}},Ref{Ptr{Ptr{Int64}}}}) - err = ccall((:ISLocalToGlobalMappingRestoreInfo,petscRealSingle),PetscErrorCode,(ISLocalToGlobalMapping{Float32},Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}},Ptr{Ptr{Ptr{Int64}}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function ISLocalToGlobalMappingGetBlockInfo(arg1::ISLocalToGlobalMapping{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg5::Union{Ptr{Ptr{Ptr{Int64}}},StridedArray{Ptr{Ptr{Int64}}},Ptr{Ptr{Ptr{Int64}}},Ref{Ptr{Ptr{Int64}}}}) - err = ccall((:ISLocalToGlobalMappingGetBlockInfo,petscRealSingle),PetscErrorCode,(ISLocalToGlobalMapping{Float32},Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}},Ptr{Ptr{Ptr{Int64}}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function ISLocalToGlobalMappingRestoreBlockInfo(arg1::ISLocalToGlobalMapping{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg5::Union{Ptr{Ptr{Ptr{Int64}}},StridedArray{Ptr{Ptr{Int64}}},Ptr{Ptr{Ptr{Int64}}},Ref{Ptr{Ptr{Int64}}}}) - err = ccall((:ISLocalToGlobalMappingRestoreBlockInfo,petscRealSingle),PetscErrorCode,(ISLocalToGlobalMapping{Float32},Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}},Ptr{Ptr{Ptr{Int64}}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function ISLocalToGlobalMappingGetIndices(arg1::ISLocalToGlobalMapping{Float32},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:ISLocalToGlobalMappingGetIndices,petscRealSingle),PetscErrorCode,(ISLocalToGlobalMapping{Float32},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function ISLocalToGlobalMappingRestoreIndices(arg1::ISLocalToGlobalMapping{Float32},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:ISLocalToGlobalMappingRestoreIndices,petscRealSingle),PetscErrorCode,(ISLocalToGlobalMapping{Float32},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function ISLocalToGlobalMappingGetBlockIndices(arg1::ISLocalToGlobalMapping{Float32},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:ISLocalToGlobalMappingGetBlockIndices,petscRealSingle),PetscErrorCode,(ISLocalToGlobalMapping{Float32},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function ISLocalToGlobalMappingRestoreBlockIndices(arg1::ISLocalToGlobalMapping{Float32},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:ISLocalToGlobalMappingRestoreBlockIndices,petscRealSingle),PetscErrorCode,(ISLocalToGlobalMapping{Float32},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function ISLocalToGlobalMappingConcatenate(arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{ISLocalToGlobalMapping{Float32}},StridedArray{ISLocalToGlobalMapping{Float32}},Ptr{ISLocalToGlobalMapping{Float32}},Ref{ISLocalToGlobalMapping{Float32}}},arg4::Union{Ptr{ISLocalToGlobalMapping{Float32}},StridedArray{ISLocalToGlobalMapping{Float32}},Ptr{ISLocalToGlobalMapping{Float32}},Ref{ISLocalToGlobalMapping{Float32}}}) - err = ccall((:ISLocalToGlobalMappingConcatenate,petscRealSingle),PetscErrorCode,(comm_type,Int64,Ptr{ISLocalToGlobalMapping{Float32}},Ptr{ISLocalToGlobalMapping{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function ISG2LMapApply(arg1::ISLocalToGlobalMapping{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:ISG2LMapApply,petscRealSingle),PetscErrorCode,(ISLocalToGlobalMapping{Float32},Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function ISLocalToGlobalMappingGetBlockSize(arg1::ISLocalToGlobalMapping{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:ISLocalToGlobalMappingGetBlockSize,petscRealSingle),PetscErrorCode,(ISLocalToGlobalMapping{Float32},Ptr{Int64}),arg1,arg2) - return err -end - -function ISAllGatherColors(arg0::Type{Float32},arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{ISColoringValue},StridedArray{ISColoringValue},Ptr{ISColoringValue},Ref{ISColoringValue}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Ptr{ISColoringValue}},StridedArray{Ptr{ISColoringValue}},Ptr{Ptr{ISColoringValue}},Ref{Ptr{ISColoringValue}}}) - err = ccall((:ISAllGatherColors,petscRealSingle),PetscErrorCode,(comm_type,Int64,Ptr{ISColoringValue},Ptr{Int64},Ptr{Ptr{ISColoringValue}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function ISColoringCreate(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Union{Ptr{ISColoringValue},StridedArray{ISColoringValue},Ptr{ISColoringValue},Ref{ISColoringValue}},arg5::PetscCopyMode,arg6::Union{Ptr{ISColoring{Float32}},StridedArray{ISColoring{Float32}},Ptr{ISColoring{Float32}},Ref{ISColoring{Float32}}}) - err = ccall((:ISColoringCreate,petscRealSingle),PetscErrorCode,(comm_type,Int64,Int64,Ptr{ISColoringValue},PetscCopyMode,Ptr{ISColoring{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function ISColoringDestroy(arg1::Union{Ptr{ISColoring{Float32}},StridedArray{ISColoring{Float32}},Ptr{ISColoring{Float32}},Ref{ISColoring{Float32}}}) - err = ccall((:ISColoringDestroy,petscRealSingle),PetscErrorCode,(Ptr{ISColoring{Float32}},),arg1) - return err -end - -function ISColoringView(arg1::ISColoring{Float32},arg2::PetscViewer{Float32}) - err = ccall((:ISColoringView,petscRealSingle),PetscErrorCode,(ISColoring{Float32},PetscViewer{Float32}),arg1,arg2) - return err -end - -function ISColoringViewFromOptions(arg1::ISColoring{Float32},arg2::PetscObject,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:ISColoringViewFromOptions,petscRealSingle),PetscErrorCode,(ISColoring{Float32},PetscObject,Cstring),arg1,arg2,arg3) - return err -end - -function ISColoringGetIS(arg1::ISColoring{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{IS{Float32}}},StridedArray{Ptr{IS{Float32}}},Ptr{Ptr{IS{Float32}}},Ref{Ptr{IS{Float32}}}}) - err = ccall((:ISColoringGetIS,petscRealSingle),PetscErrorCode,(ISColoring{Float32},Ptr{Int64},Ptr{Ptr{IS{Float32}}}),arg1,arg2,arg3) - return err -end - -function ISColoringRestoreIS(arg1::ISColoring{Float32},arg2::Union{Ptr{Ptr{IS{Float32}}},StridedArray{Ptr{IS{Float32}}},Ptr{Ptr{IS{Float32}}},Ref{Ptr{IS{Float32}}}}) - err = ccall((:ISColoringRestoreIS,petscRealSingle),PetscErrorCode,(ISColoring{Float32},Ptr{Ptr{IS{Float32}}}),arg1,arg2) - return err -end - -function ISColoringReference(arg1::ISColoring{Float32}) - err = ccall((:ISColoringReference,petscRealSingle),PetscErrorCode,(ISColoring{Float32},),arg1) - return err -end - -function ISColoringSetType(arg1::ISColoring{Float32},arg2::ISColoringType) - err = ccall((:ISColoringSetType,petscRealSingle),PetscErrorCode,(ISColoring{Float32},ISColoringType),arg1,arg2) - return err -end - -function ISPartitioningToNumbering(arg1::IS{Float32},arg2::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:ISPartitioningToNumbering,petscRealSingle),PetscErrorCode,(IS{Float32},Ptr{IS{Float32}}),arg1,arg2) - return err -end - -function ISPartitioningCount(arg1::IS{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:ISPartitioningCount,petscRealSingle),PetscErrorCode,(IS{Float32},Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function ISCompressIndicesGeneral(arg1::Integer,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}},arg6::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:ISCompressIndicesGeneral,petscRealSingle),PetscErrorCode,(Int64,Int64,Int64,Int64,Ptr{IS{Float32}},Ptr{IS{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function ISCompressIndicesSorted(arg1::Integer,arg2::Integer,arg3::Integer,arg4::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}},arg5::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:ISCompressIndicesSorted,petscRealSingle),PetscErrorCode,(Int64,Int64,Int64,Ptr{IS{Float32}},Ptr{IS{Float32}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function ISExpandIndicesGeneral(arg1::Integer,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}},arg6::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:ISExpandIndicesGeneral,petscRealSingle),PetscErrorCode,(Int64,Int64,Int64,Int64,Ptr{IS{Float32}},Ptr{IS{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscLayoutFindOwner(map::PetscLayout{Float32},idx::Integer,owner::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscLayoutFindOwner,petscRealSingle),PetscErrorCode,(PetscLayout{Float32},Int64,Ptr{Int64}),map,idx,owner) - return err -end - -function PetscLayoutFindOwnerIndex(map::PetscLayout{Float32},idx::Integer,owner::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},lidx::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscLayoutFindOwnerIndex,petscRealSingle),PetscErrorCode,(PetscLayout{Float32},Int64,Ptr{Int64},Ptr{Int64}),map,idx,owner,lidx) - return err -end - -function PetscLayoutCreate(arg1::MPI_Comm,arg2::Union{Ptr{PetscLayout{Float32}},StridedArray{PetscLayout{Float32}},Ptr{PetscLayout{Float32}},Ref{PetscLayout{Float32}}}) - err = ccall((:PetscLayoutCreate,petscRealSingle),PetscErrorCode,(comm_type,Ptr{PetscLayout{Float32}}),arg1,arg2) - return err -end - -function PetscLayoutSetUp(arg1::PetscLayout{Float32}) - err = ccall((:PetscLayoutSetUp,petscRealSingle),PetscErrorCode,(PetscLayout{Float32},),arg1) - return err -end - -function PetscLayoutDestroy(arg1::Union{Ptr{PetscLayout{Float32}},StridedArray{PetscLayout{Float32}},Ptr{PetscLayout{Float32}},Ref{PetscLayout{Float32}}}) - err = ccall((:PetscLayoutDestroy,petscRealSingle),PetscErrorCode,(Ptr{PetscLayout{Float32}},),arg1) - return err -end - -function PetscLayoutDuplicate(arg1::PetscLayout{Float32},arg2::Union{Ptr{PetscLayout{Float32}},StridedArray{PetscLayout{Float32}},Ptr{PetscLayout{Float32}},Ref{PetscLayout{Float32}}}) - err = ccall((:PetscLayoutDuplicate,petscRealSingle),PetscErrorCode,(PetscLayout{Float32},Ptr{PetscLayout{Float32}}),arg1,arg2) - return err -end - -function PetscLayoutReference(arg1::PetscLayout{Float32},arg2::Union{Ptr{PetscLayout{Float32}},StridedArray{PetscLayout{Float32}},Ptr{PetscLayout{Float32}},Ref{PetscLayout{Float32}}}) - err = ccall((:PetscLayoutReference,petscRealSingle),PetscErrorCode,(PetscLayout{Float32},Ptr{PetscLayout{Float32}}),arg1,arg2) - return err -end - -function PetscLayoutSetLocalSize(arg1::PetscLayout{Float32},arg2::Integer) - err = ccall((:PetscLayoutSetLocalSize,petscRealSingle),PetscErrorCode,(PetscLayout{Float32},Int64),arg1,arg2) - return err -end - -function PetscLayoutGetLocalSize(arg1::PetscLayout{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscLayoutGetLocalSize,petscRealSingle),PetscErrorCode,(PetscLayout{Float32},Ptr{Int64}),arg1,arg2) - return err -end - -function PetscLayoutSetSize(arg1::PetscLayout{Float32},arg2::Integer) - err = ccall((:PetscLayoutSetSize,petscRealSingle),PetscErrorCode,(PetscLayout{Float32},Int64),arg1,arg2) - return err -end - -function PetscLayoutGetSize(arg1::PetscLayout{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscLayoutGetSize,petscRealSingle),PetscErrorCode,(PetscLayout{Float32},Ptr{Int64}),arg1,arg2) - return err -end - -function PetscLayoutSetBlockSize(arg1::PetscLayout{Float32},arg2::Integer) - err = ccall((:PetscLayoutSetBlockSize,petscRealSingle),PetscErrorCode,(PetscLayout{Float32},Int64),arg1,arg2) - return err -end - -function PetscLayoutGetBlockSize(arg1::PetscLayout{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscLayoutGetBlockSize,petscRealSingle),PetscErrorCode,(PetscLayout{Float32},Ptr{Int64}),arg1,arg2) - return err -end - -function PetscLayoutGetRange(arg1::PetscLayout{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscLayoutGetRange,petscRealSingle),PetscErrorCode,(PetscLayout{Float32},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscLayoutGetRanges(arg1::PetscLayout{Float32},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PetscLayoutGetRanges,petscRealSingle),PetscErrorCode,(PetscLayout{Float32},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function PetscLayoutSetISLocalToGlobalMapping(arg1::PetscLayout{Float32},arg2::ISLocalToGlobalMapping{Float32}) - err = ccall((:PetscLayoutSetISLocalToGlobalMapping,petscRealSingle),PetscErrorCode,(PetscLayout{Float32},ISLocalToGlobalMapping{Float32}),arg1,arg2) - return err -end - -function PetscSFSetGraphLayout(arg1::PetscSF,arg2::PetscLayout{Float32},arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::PetscCopyMode,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSFSetGraphLayout,petscRealSingle),PetscErrorCode,(PetscSF,PetscLayout{Float32},Int64,Ptr{Int64},PetscCopyMode,Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscSectionCreate(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:PetscSectionCreate,petscRealSingle),PetscErrorCode,(comm_type,Ptr{PetscSection}),arg1,arg2) - return err -end - -function PetscSectionClone(arg0::Type{Float32},arg1::PetscSection,arg2::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:PetscSectionClone,petscRealSingle),PetscErrorCode,(PetscSection,Ptr{PetscSection}),arg1,arg2) - return err -end - -function PetscSectionCopy(arg0::Type{Float32},arg1::PetscSection,arg2::PetscSection) - err = ccall((:PetscSectionCopy,petscRealSingle),PetscErrorCode,(PetscSection,PetscSection),arg1,arg2) - return err -end - -function PetscSectionGetNumFields(arg0::Type{Float32},arg1::PetscSection,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSectionGetNumFields,petscRealSingle),PetscErrorCode,(PetscSection,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscSectionSetNumFields(arg0::Type{Float32},arg1::PetscSection,arg2::Integer) - err = ccall((:PetscSectionSetNumFields,petscRealSingle),PetscErrorCode,(PetscSection,Int64),arg1,arg2) - return err -end - -function PetscSectionGetFieldName(arg0::Type{Float32},arg1::PetscSection,arg2::Integer,arg3::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PetscSectionGetFieldName,petscRealSingle),PetscErrorCode,(PetscSection,Int64,Ptr{Ptr{UInt8}}),arg1,arg2,arg3) - return err -end - -function PetscSectionSetFieldName(arg0::Type{Float32},arg1::PetscSection,arg2::Integer,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscSectionSetFieldName,petscRealSingle),PetscErrorCode,(PetscSection,Int64,Cstring),arg1,arg2,arg3) - return err -end - -function PetscSectionGetFieldComponents(arg0::Type{Float32},arg1::PetscSection,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSectionGetFieldComponents,petscRealSingle),PetscErrorCode,(PetscSection,Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscSectionSetFieldComponents(arg0::Type{Float32},arg1::PetscSection,arg2::Integer,arg3::Integer) - err = ccall((:PetscSectionSetFieldComponents,petscRealSingle),PetscErrorCode,(PetscSection,Int64,Int64),arg1,arg2,arg3) - return err -end - -function PetscSectionGetChart(arg0::Type{Float32},arg1::PetscSection,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSectionGetChart,petscRealSingle),PetscErrorCode,(PetscSection,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscSectionSetChart(arg0::Type{Float32},arg1::PetscSection,arg2::Integer,arg3::Integer) - err = ccall((:PetscSectionSetChart,petscRealSingle),PetscErrorCode,(PetscSection,Int64,Int64),arg1,arg2,arg3) - return err -end - -function PetscSectionGetPermutation(arg1::PetscSection,arg2::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:PetscSectionGetPermutation,petscRealSingle),PetscErrorCode,(PetscSection,Ptr{IS{Float32}}),arg1,arg2) - return err -end - -function PetscSectionSetPermutation(arg1::PetscSection,arg2::IS{Float32}) - err = ccall((:PetscSectionSetPermutation,petscRealSingle),PetscErrorCode,(PetscSection,IS{Float32}),arg1,arg2) - return err -end - -function PetscSectionGetDof(arg0::Type{Float32},arg1::PetscSection,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSectionGetDof,petscRealSingle),PetscErrorCode,(PetscSection,Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscSectionSetDof(arg0::Type{Float32},arg1::PetscSection,arg2::Integer,arg3::Integer) - err = ccall((:PetscSectionSetDof,petscRealSingle),PetscErrorCode,(PetscSection,Int64,Int64),arg1,arg2,arg3) - return err -end - -function PetscSectionAddDof(arg0::Type{Float32},arg1::PetscSection,arg2::Integer,arg3::Integer) - err = ccall((:PetscSectionAddDof,petscRealSingle),PetscErrorCode,(PetscSection,Int64,Int64),arg1,arg2,arg3) - return err -end - -function PetscSectionGetFieldDof(arg0::Type{Float32},arg1::PetscSection,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSectionGetFieldDof,petscRealSingle),PetscErrorCode,(PetscSection,Int64,Int64,Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function PetscSectionSetFieldDof(arg0::Type{Float32},arg1::PetscSection,arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:PetscSectionSetFieldDof,petscRealSingle),PetscErrorCode,(PetscSection,Int64,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function PetscSectionAddFieldDof(arg0::Type{Float32},arg1::PetscSection,arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:PetscSectionAddFieldDof,petscRealSingle),PetscErrorCode,(PetscSection,Int64,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function PetscSectionHasConstraints(arg0::Type{Float32},arg1::PetscSection,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscSectionHasConstraints,petscRealSingle),PetscErrorCode,(PetscSection,Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscSectionGetConstraintDof(arg0::Type{Float32},arg1::PetscSection,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSectionGetConstraintDof,petscRealSingle),PetscErrorCode,(PetscSection,Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscSectionSetConstraintDof(arg0::Type{Float32},arg1::PetscSection,arg2::Integer,arg3::Integer) - err = ccall((:PetscSectionSetConstraintDof,petscRealSingle),PetscErrorCode,(PetscSection,Int64,Int64),arg1,arg2,arg3) - return err -end - -function PetscSectionAddConstraintDof(arg0::Type{Float32},arg1::PetscSection,arg2::Integer,arg3::Integer) - err = ccall((:PetscSectionAddConstraintDof,petscRealSingle),PetscErrorCode,(PetscSection,Int64,Int64),arg1,arg2,arg3) - return err -end - -function PetscSectionGetFieldConstraintDof(arg0::Type{Float32},arg1::PetscSection,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSectionGetFieldConstraintDof,petscRealSingle),PetscErrorCode,(PetscSection,Int64,Int64,Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function PetscSectionSetFieldConstraintDof(arg0::Type{Float32},arg1::PetscSection,arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:PetscSectionSetFieldConstraintDof,petscRealSingle),PetscErrorCode,(PetscSection,Int64,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function PetscSectionAddFieldConstraintDof(arg0::Type{Float32},arg1::PetscSection,arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:PetscSectionAddFieldConstraintDof,petscRealSingle),PetscErrorCode,(PetscSection,Int64,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function PetscSectionGetConstraintIndices(arg0::Type{Float32},arg1::PetscSection,arg2::Integer,arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PetscSectionGetConstraintIndices,petscRealSingle),PetscErrorCode,(PetscSection,Int64,Ptr{Ptr{Int64}}),arg1,arg2,arg3) - return err -end - -function PetscSectionSetConstraintIndices(arg0::Type{Float32},arg1::PetscSection,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSectionSetConstraintIndices,petscRealSingle),PetscErrorCode,(PetscSection,Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscSectionGetFieldConstraintIndices(arg0::Type{Float32},arg1::PetscSection,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PetscSectionGetFieldConstraintIndices,petscRealSingle),PetscErrorCode,(PetscSection,Int64,Int64,Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscSectionSetFieldConstraintIndices(arg0::Type{Float32},arg1::PetscSection,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSectionSetFieldConstraintIndices,petscRealSingle),PetscErrorCode,(PetscSection,Int64,Int64,Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function PetscSectionSetUpBC(arg0::Type{Float32},arg1::PetscSection) - err = ccall((:PetscSectionSetUpBC,petscRealSingle),PetscErrorCode,(PetscSection,),arg1) - return err -end - -function PetscSectionSetUp(arg0::Type{Float32},arg1::PetscSection) - err = ccall((:PetscSectionSetUp,petscRealSingle),PetscErrorCode,(PetscSection,),arg1) - return err -end - -function PetscSectionGetMaxDof(arg0::Type{Float32},arg1::PetscSection,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSectionGetMaxDof,petscRealSingle),PetscErrorCode,(PetscSection,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscSectionGetStorageSize(arg0::Type{Float32},arg1::PetscSection,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSectionGetStorageSize,petscRealSingle),PetscErrorCode,(PetscSection,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscSectionGetConstrainedStorageSize(arg0::Type{Float32},arg1::PetscSection,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSectionGetConstrainedStorageSize,petscRealSingle),PetscErrorCode,(PetscSection,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscSectionGetOffset(arg0::Type{Float32},arg1::PetscSection,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSectionGetOffset,petscRealSingle),PetscErrorCode,(PetscSection,Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscSectionSetOffset(arg0::Type{Float32},arg1::PetscSection,arg2::Integer,arg3::Integer) - err = ccall((:PetscSectionSetOffset,petscRealSingle),PetscErrorCode,(PetscSection,Int64,Int64),arg1,arg2,arg3) - return err -end - -function PetscSectionGetFieldOffset(arg0::Type{Float32},arg1::PetscSection,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSectionGetFieldOffset,petscRealSingle),PetscErrorCode,(PetscSection,Int64,Int64,Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function PetscSectionSetFieldOffset(arg0::Type{Float32},arg1::PetscSection,arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:PetscSectionSetFieldOffset,petscRealSingle),PetscErrorCode,(PetscSection,Int64,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function PetscSectionGetOffsetRange(arg0::Type{Float32},arg1::PetscSection,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSectionGetOffsetRange,petscRealSingle),PetscErrorCode,(PetscSection,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscSectionView(arg1::PetscSection,arg2::PetscViewer{Float32}) - err = ccall((:PetscSectionView,petscRealSingle),PetscErrorCode,(PetscSection,PetscViewer{Float32}),arg1,arg2) - return err -end - -function PetscSectionViewFromOptions(arg0::Type{Float32},A::PetscSection,obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscSectionViewFromOptions,petscRealSingle),PetscErrorCode,(PetscSection,PetscObject,Cstring),A,obj,name) - return err -end - -function PetscSectionReset(arg0::Type{Float32},arg1::PetscSection) - err = ccall((:PetscSectionReset,petscRealSingle),PetscErrorCode,(PetscSection,),arg1) - return err -end - -function PetscSectionDestroy(arg0::Type{Float32},arg1::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:PetscSectionDestroy,petscRealSingle),PetscErrorCode,(Ptr{PetscSection},),arg1) - return err -end - -function PetscSectionCreateGlobalSection(arg0::Type{Float32},arg1::PetscSection,arg2::PetscSF,arg3::PetscBool,arg4::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:PetscSectionCreateGlobalSection,petscRealSingle),PetscErrorCode,(PetscSection,PetscSF,PetscBool,Ptr{PetscSection}),arg1,arg2,arg3,arg4) - return err -end - -function PetscSectionCreateGlobalSectionCensored(arg0::Type{Float32},arg1::PetscSection,arg2::PetscSF,arg3::PetscBool,arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:PetscSectionCreateGlobalSectionCensored,petscRealSingle),PetscErrorCode,(PetscSection,PetscSF,PetscBool,Int64,Ptr{Int64},Ptr{PetscSection}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscSectionCreateSubsection(arg0::Type{Float32},arg1::PetscSection,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:PetscSectionCreateSubsection,petscRealSingle),PetscErrorCode,(PetscSection,Int64,Ptr{Int64},Ptr{PetscSection}),arg1,arg2,arg3,arg4) - return err -end - -function PetscSectionCreateSubmeshSection(arg1::PetscSection,arg2::IS{Float32},arg3::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:PetscSectionCreateSubmeshSection,petscRealSingle),PetscErrorCode,(PetscSection,IS{Float32},Ptr{PetscSection}),arg1,arg2,arg3) - return err -end - -function PetscSectionGetPointLayout(arg1::MPI_Comm,arg2::PetscSection,arg3::Union{Ptr{PetscLayout{Float32}},StridedArray{PetscLayout{Float32}},Ptr{PetscLayout{Float32}},Ref{PetscLayout{Float32}}}) - err = ccall((:PetscSectionGetPointLayout,petscRealSingle),PetscErrorCode,(comm_type,PetscSection,Ptr{PetscLayout{Float32}}),arg1,arg2,arg3) - return err -end - -function PetscSectionGetValueLayout(arg1::MPI_Comm,arg2::PetscSection,arg3::Union{Ptr{PetscLayout{Float32}},StridedArray{PetscLayout{Float32}},Ptr{PetscLayout{Float32}},Ref{PetscLayout{Float32}}}) - err = ccall((:PetscSectionGetValueLayout,petscRealSingle),PetscErrorCode,(comm_type,PetscSection,Ptr{PetscLayout{Float32}}),arg1,arg2,arg3) - return err -end - -function PetscSectionPermute(arg1::PetscSection,arg2::IS{Float32},arg3::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:PetscSectionPermute,petscRealSingle),PetscErrorCode,(PetscSection,IS{Float32},Ptr{PetscSection}),arg1,arg2,arg3) - return err -end - -function PetscSectionGetField(arg0::Type{Float32},arg1::PetscSection,arg2::Integer,arg3::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:PetscSectionGetField,petscRealSingle),PetscErrorCode,(PetscSection,Int64,Ptr{PetscSection}),arg1,arg2,arg3) - return err -end - -function PetscSectionSetClosureIndex(arg1::PetscSection,arg2::PetscObject,arg3::PetscSection,arg4::IS{Float32}) - err = ccall((:PetscSectionSetClosureIndex,petscRealSingle),PetscErrorCode,(PetscSection,PetscObject,PetscSection,IS{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function PetscSectionGetClosureIndex(arg1::PetscSection,arg2::PetscObject,arg3::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}},arg4::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:PetscSectionGetClosureIndex,petscRealSingle),PetscErrorCode,(PetscSection,PetscObject,Ptr{PetscSection},Ptr{IS{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscSFConvertPartition(arg1::PetscSF,arg2::PetscSection,arg3::IS{Float32},arg4::Union{Ptr{ISLocalToGlobalMapping{Float32}},StridedArray{ISLocalToGlobalMapping{Float32}},Ptr{ISLocalToGlobalMapping{Float32}},Ref{ISLocalToGlobalMapping{Float32}}},arg5::Union{Ptr{PetscSF},StridedArray{PetscSF},Ptr{PetscSF},Ref{PetscSF}}) - err = ccall((:PetscSFConvertPartition,petscRealSingle),PetscErrorCode,(PetscSF,PetscSection,IS{Float32},Ptr{ISLocalToGlobalMapping{Float32}},Ptr{PetscSF}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscSFCreateRemoteOffsets(arg0::Type{Float32},arg1::PetscSF,arg2::PetscSection,arg3::PetscSection,arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PetscSFCreateRemoteOffsets,petscRealSingle),PetscErrorCode,(PetscSF,PetscSection,PetscSection,Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscSFDistributeSection(arg0::Type{Float32},arg1::PetscSF,arg2::PetscSection,arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg4::PetscSection) - err = ccall((:PetscSFDistributeSection,petscRealSingle),PetscErrorCode,(PetscSF,PetscSection,Ptr{Ptr{Int64}},PetscSection),arg1,arg2,arg3,arg4) - return err -end - -function PetscSFCreateSectionSF(arg0::Type{Float32},arg1::PetscSF,arg2::PetscSection,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::PetscSection,arg5::Union{Ptr{PetscSF},StridedArray{PetscSF},Ptr{PetscSF},Ref{PetscSF}}) - err = ccall((:PetscSFCreateSectionSF,petscRealSingle),PetscErrorCode,(PetscSF,PetscSection,Ptr{Int64},PetscSection,Ptr{PetscSF}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function VecInitializePackage(arg0::Type{Float32}) - err = ccall((:VecInitializePackage,petscRealSingle),PetscErrorCode,()) - return err -end - -function VecFinalizePackage(arg0::Type{Float32}) - err = ccall((:VecFinalizePackage,petscRealSingle),PetscErrorCode,()) - return err -end - -function VecCreate(arg1::MPI_Comm,arg2::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:VecCreate,petscRealSingle),PetscErrorCode,(comm_type,Ptr{Vec{Float32}}),arg1,arg2) - return err -end - -function VecCreateSeq(arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:VecCreateSeq,petscRealSingle),PetscErrorCode,(comm_type,Int64,Ptr{Vec{Float32}}),arg1,arg2,arg3) - return err -end - -function VecCreateMPI(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:VecCreateMPI,petscRealSingle),PetscErrorCode,(comm_type,Int64,Int64,Ptr{Vec{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function VecCreateSeqWithArray(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:VecCreateSeqWithArray,petscRealSingle),PetscErrorCode,(comm_type,Int64,Int64,Ptr{Float32},Ptr{Vec{Float32}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function VecCreateMPIWithArray(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg6::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:VecCreateMPIWithArray,petscRealSingle),PetscErrorCode,(comm_type,Int64,Int64,Int64,Ptr{Float32},Ptr{Vec{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function VecCreateShared(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:VecCreateShared,petscRealSingle),PetscErrorCode,(comm_type,Int64,Int64,Ptr{Vec{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function VecSetFromOptions(arg1::Vec{Float32}) - err = ccall((:VecSetFromOptions,petscRealSingle),PetscErrorCode,(Vec{Float32},),arg1) - return err -end - -function VecViewFromOptions(A::Vec{Float32},B::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:VecViewFromOptions,petscRealSingle),PetscErrorCode,(Vec{Float32},PetscObject,Cstring),A,B,name) - return err -end - -function VecSetUp(arg1::Vec{Float32}) - err = ccall((:VecSetUp,petscRealSingle),PetscErrorCode,(Vec{Float32},),arg1) - return err -end - -function VecDestroy(arg1::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:VecDestroy,petscRealSingle),PetscErrorCode,(Ptr{Vec{Float32}},),arg1) - return err -end - -function VecZeroEntries(arg1::Vec{Float32}) - err = ccall((:VecZeroEntries,petscRealSingle),PetscErrorCode,(Vec{Float32},),arg1) - return err -end - -function VecSetOptionsPrefix(arg1::Vec{Float32},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:VecSetOptionsPrefix,petscRealSingle),PetscErrorCode,(Vec{Float32},Cstring),arg1,arg2) - return err -end - -function VecAppendOptionsPrefix(arg1::Vec{Float32},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:VecAppendOptionsPrefix,petscRealSingle),PetscErrorCode,(Vec{Float32},Cstring),arg1,arg2) - return err -end - -function VecGetOptionsPrefix(arg1::Vec{Float32},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:VecGetOptionsPrefix,petscRealSingle),PetscErrorCode,(Vec{Float32},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function VecSetSizes(arg1::Vec{Float32},arg2::Integer,arg3::Integer) - err = ccall((:VecSetSizes,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,Int64),arg1,arg2,arg3) - return err -end - -function VecDotNorm2(arg1::Vec{Float32},arg2::Vec{Float32},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:VecDotNorm2,petscRealSingle),PetscErrorCode,(Vec{Float32},Vec{Float32},Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function VecDot(arg1::Vec{Float32},arg2::Vec{Float32},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:VecDot,petscRealSingle),PetscErrorCode,(Vec{Float32},Vec{Float32},Ptr{Float32}),arg1,arg2,arg3) - return err -end - -function VecDotRealPart(arg1::Vec{Float32},arg2::Vec{Float32},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:VecDotRealPart,petscRealSingle),PetscErrorCode,(Vec{Float32},Vec{Float32},Ptr{Float32}),arg1,arg2,arg3) - return err -end - -function VecTDot(arg1::Vec{Float32},arg2::Vec{Float32},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:VecTDot,petscRealSingle),PetscErrorCode,(Vec{Float32},Vec{Float32},Ptr{Float32}),arg1,arg2,arg3) - return err -end - -function VecMDot(arg1::Vec{Float32},arg2::Integer,arg3::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:VecMDot,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,Ptr{Vec{Float32}},Ptr{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function VecMTDot(arg1::Vec{Float32},arg2::Integer,arg3::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:VecMTDot,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,Ptr{Vec{Float32}},Ptr{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function VecGetSubVector(arg1::Vec{Float32},arg2::IS{Float32},arg3::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:VecGetSubVector,petscRealSingle),PetscErrorCode,(Vec{Float32},IS{Float32},Ptr{Vec{Float32}}),arg1,arg2,arg3) - return err -end - -function VecRestoreSubVector(arg1::Vec{Float32},arg2::IS{Float32},arg3::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:VecRestoreSubVector,petscRealSingle),PetscErrorCode,(Vec{Float32},IS{Float32},Ptr{Vec{Float32}}),arg1,arg2,arg3) - return err -end - -function VecNorm(arg1::Vec{Float32},arg2::NormType,arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:VecNorm,petscRealSingle),PetscErrorCode,(Vec{Float32},NormType,Ptr{Float32}),arg1,arg2,arg3) - return err -end - -function VecNormAvailable(arg1::Vec{Float32},arg2::NormType,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:VecNormAvailable,petscRealSingle),PetscErrorCode,(Vec{Float32},NormType,Ptr{PetscBool},Ptr{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function VecNormalize(arg1::Vec{Float32},arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:VecNormalize,petscRealSingle),PetscErrorCode,(Vec{Float32},Ptr{Float32}),arg1,arg2) - return err -end - -function VecSum(arg1::Vec{Float32},arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:VecSum,petscRealSingle),PetscErrorCode,(Vec{Float32},Ptr{Float32}),arg1,arg2) - return err -end - -function VecMax(arg1::Vec{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:VecMax,petscRealSingle),PetscErrorCode,(Vec{Float32},Ptr{Int64},Ptr{Float32}),arg1,arg2,arg3) - return err -end - -function VecMin(arg1::Vec{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:VecMin,petscRealSingle),PetscErrorCode,(Vec{Float32},Ptr{Int64},Ptr{Float32}),arg1,arg2,arg3) - return err -end - -function VecScale(arg1::Vec{Float32},arg2::Float32) - err = ccall((:VecScale,petscRealSingle),PetscErrorCode,(Vec{Float32},Float32),arg1,arg2) - return err -end - -function VecCopy(arg1::Vec{Float32},arg2::Vec{Float32}) - err = ccall((:VecCopy,petscRealSingle),PetscErrorCode,(Vec{Float32},Vec{Float32}),arg1,arg2) - return err -end - -function VecSetRandom(arg1::Vec{Float32},arg2::PetscRandom) - err = ccall((:VecSetRandom,petscRealSingle),PetscErrorCode,(Vec{Float32},PetscRandom),arg1,arg2) - return err -end - -function VecSet(arg1::Vec{Float32},arg2::Float32) - err = ccall((:VecSet,petscRealSingle),PetscErrorCode,(Vec{Float32},Float32),arg1,arg2) - return err -end - -function VecSetInf(arg1::Vec{Float32}) - err = ccall((:VecSetInf,petscRealSingle),PetscErrorCode,(Vec{Float32},),arg1) - return err -end - -function VecSwap(arg1::Vec{Float32},arg2::Vec{Float32}) - err = ccall((:VecSwap,petscRealSingle),PetscErrorCode,(Vec{Float32},Vec{Float32}),arg1,arg2) - return err -end - -function VecAXPY(arg1::Vec{Float32},arg2::Float32,arg3::Vec{Float32}) - err = ccall((:VecAXPY,petscRealSingle),PetscErrorCode,(Vec{Float32},Float32,Vec{Float32}),arg1,arg2,arg3) - return err -end - -function VecAXPBY(arg1::Vec{Float32},arg2::Float32,arg3::Float32,arg4::Vec{Float32}) - err = ccall((:VecAXPBY,petscRealSingle),PetscErrorCode,(Vec{Float32},Float32,Float32,Vec{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function VecMAXPY(arg1::Vec{Float32},arg2::Integer,arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:VecMAXPY,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,Ptr{Float32},Ptr{Vec{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function VecAYPX(arg1::Vec{Float32},arg2::Float32,arg3::Vec{Float32}) - err = ccall((:VecAYPX,petscRealSingle),PetscErrorCode,(Vec{Float32},Float32,Vec{Float32}),arg1,arg2,arg3) - return err -end - -function VecWAXPY(arg1::Vec{Float32},arg2::Float32,arg3::Vec{Float32},arg4::Vec{Float32}) - err = ccall((:VecWAXPY,petscRealSingle),PetscErrorCode,(Vec{Float32},Float32,Vec{Float32},Vec{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function VecAXPBYPCZ(arg1::Vec{Float32},arg2::Float32,arg3::Float32,arg4::Float32,arg5::Vec{Float32},arg6::Vec{Float32}) - err = ccall((:VecAXPBYPCZ,petscRealSingle),PetscErrorCode,(Vec{Float32},Float32,Float32,Float32,Vec{Float32},Vec{Float32}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function VecPointwiseMax(arg1::Vec{Float32},arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:VecPointwiseMax,petscRealSingle),PetscErrorCode,(Vec{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function VecPointwiseMaxAbs(arg1::Vec{Float32},arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:VecPointwiseMaxAbs,petscRealSingle),PetscErrorCode,(Vec{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function VecPointwiseMin(arg1::Vec{Float32},arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:VecPointwiseMin,petscRealSingle),PetscErrorCode,(Vec{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function VecPointwiseMult(arg1::Vec{Float32},arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:VecPointwiseMult,petscRealSingle),PetscErrorCode,(Vec{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function VecPointwiseDivide(arg1::Vec{Float32},arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:VecPointwiseDivide,petscRealSingle),PetscErrorCode,(Vec{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function VecMaxPointwiseDivide(arg1::Vec{Float32},arg2::Vec{Float32},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:VecMaxPointwiseDivide,petscRealSingle),PetscErrorCode,(Vec{Float32},Vec{Float32},Ptr{Float32}),arg1,arg2,arg3) - return err -end - -function VecShift(arg1::Vec{Float32},arg2::Float32) - err = ccall((:VecShift,petscRealSingle),PetscErrorCode,(Vec{Float32},Float32),arg1,arg2) - return err -end - -function VecReciprocal(arg1::Vec{Float32}) - err = ccall((:VecReciprocal,petscRealSingle),PetscErrorCode,(Vec{Float32},),arg1) - return err -end - -function VecPermute(arg1::Vec{Float32},arg2::IS{Float32},arg3::PetscBool) - err = ccall((:VecPermute,petscRealSingle),PetscErrorCode,(Vec{Float32},IS{Float32},PetscBool),arg1,arg2,arg3) - return err -end - -function VecSqrtAbs(arg1::Vec{Float32}) - err = ccall((:VecSqrtAbs,petscRealSingle),PetscErrorCode,(Vec{Float32},),arg1) - return err -end - -function VecLog(arg1::Vec{Float32}) - err = ccall((:VecLog,petscRealSingle),PetscErrorCode,(Vec{Float32},),arg1) - return err -end - -function VecExp(arg1::Vec{Float32}) - err = ccall((:VecExp,petscRealSingle),PetscErrorCode,(Vec{Float32},),arg1) - return err -end - -function VecAbs(arg1::Vec{Float32}) - err = ccall((:VecAbs,petscRealSingle),PetscErrorCode,(Vec{Float32},),arg1) - return err -end - -function VecDuplicate(arg1::Vec{Float32},arg2::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:VecDuplicate,petscRealSingle),PetscErrorCode,(Vec{Float32},Ptr{Vec{Float32}}),arg1,arg2) - return err -end - -function VecDuplicateVecs(arg1::Vec{Float32},arg2::Integer,arg3::Union{Ptr{Ptr{Vec{Float32}}},StridedArray{Ptr{Vec{Float32}}},Ptr{Ptr{Vec{Float32}}},Ref{Ptr{Vec{Float32}}}}) - err = ccall((:VecDuplicateVecs,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,Ptr{Ptr{Vec{Float32}}}),arg1,arg2,arg3) - return err -end - -function VecDestroyVecs(arg1::Integer,arg2::Union{Ptr{Ptr{Vec{Float32}}},StridedArray{Ptr{Vec{Float32}}},Ptr{Ptr{Vec{Float32}}},Ref{Ptr{Vec{Float32}}}}) - err = ccall((:VecDestroyVecs,petscRealSingle),PetscErrorCode,(Int64,Ptr{Ptr{Vec{Float32}}}),arg1,arg2) - return err -end - -function VecStrideNormAll(arg1::Vec{Float32},arg2::NormType,arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:VecStrideNormAll,petscRealSingle),PetscErrorCode,(Vec{Float32},NormType,Ptr{Float32}),arg1,arg2,arg3) - return err -end - -function VecStrideMaxAll(arg1::Vec{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:VecStrideMaxAll,petscRealSingle),PetscErrorCode,(Vec{Float32},Ptr{Int64},Ptr{Float32}),arg1,arg2,arg3) - return err -end - -function VecStrideMinAll(arg1::Vec{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:VecStrideMinAll,petscRealSingle),PetscErrorCode,(Vec{Float32},Ptr{Int64},Ptr{Float32}),arg1,arg2,arg3) - return err -end - -function VecStrideScaleAll(arg1::Vec{Float32},arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:VecStrideScaleAll,petscRealSingle),PetscErrorCode,(Vec{Float32},Ptr{Float32}),arg1,arg2) - return err -end - -function VecUniqueEntries(arg1::Vec{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:VecUniqueEntries,petscRealSingle),PetscErrorCode,(Vec{Float32},Ptr{Int64},Ptr{Ptr{Float32}}),arg1,arg2,arg3) - return err -end - -function VecStrideNorm(arg1::Vec{Float32},arg2::Integer,arg3::NormType,arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:VecStrideNorm,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,NormType,Ptr{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function VecStrideMax(arg1::Vec{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:VecStrideMax,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,Ptr{Int64},Ptr{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function VecStrideMin(arg1::Vec{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:VecStrideMin,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,Ptr{Int64},Ptr{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function VecStrideScale(arg1::Vec{Float32},arg2::Integer,arg3::Float32) - err = ccall((:VecStrideScale,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,Float32),arg1,arg2,arg3) - return err -end - -function VecStrideSet(arg1::Vec{Float32},arg2::Integer,arg3::Float32) - err = ccall((:VecStrideSet,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,Float32),arg1,arg2,arg3) - return err -end - -function VecStrideGather(arg1::Vec{Float32},arg2::Integer,arg3::Vec{Float32},arg4::InsertMode) - err = ccall((:VecStrideGather,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,Vec{Float32},InsertMode),arg1,arg2,arg3,arg4) - return err -end - -function VecStrideScatter(arg1::Vec{Float32},arg2::Integer,arg3::Vec{Float32},arg4::InsertMode) - err = ccall((:VecStrideScatter,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,Vec{Float32},InsertMode),arg1,arg2,arg3,arg4) - return err -end - -function VecStrideGatherAll(arg1::Vec{Float32},arg2::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}},arg3::InsertMode) - err = ccall((:VecStrideGatherAll,petscRealSingle),PetscErrorCode,(Vec{Float32},Ptr{Vec{Float32}},InsertMode),arg1,arg2,arg3) - return err -end - -function VecStrideScatterAll(arg1::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}},arg2::Vec{Float32},arg3::InsertMode) - err = ccall((:VecStrideScatterAll,petscRealSingle),PetscErrorCode,(Ptr{Vec{Float32}},Vec{Float32},InsertMode),arg1,arg2,arg3) - return err -end - -function VecStrideSubSetScatter(arg1::Vec{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Vec{Float32},arg6::InsertMode) - err = ccall((:VecStrideSubSetScatter,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,Ptr{Int64},Ptr{Int64},Vec{Float32},InsertMode),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function VecStrideSubSetGather(arg1::Vec{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Vec{Float32},arg6::InsertMode) - err = ccall((:VecStrideSubSetGather,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,Ptr{Int64},Ptr{Int64},Vec{Float32},InsertMode),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function VecSetValues(arg1::Vec{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::InsertMode) - err = ccall((:VecSetValues,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,Ptr{Int64},Ptr{Float32},InsertMode),arg1,arg2,arg3,arg4,arg5) - return err -end - -function VecGetValues(arg1::Vec{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:VecGetValues,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,Ptr{Int64},Ptr{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function VecAssemblyBegin(arg1::Vec{Float32}) - err = ccall((:VecAssemblyBegin,petscRealSingle),PetscErrorCode,(Vec{Float32},),arg1) - return err -end - -function VecAssemblyEnd(arg1::Vec{Float32}) - err = ccall((:VecAssemblyEnd,petscRealSingle),PetscErrorCode,(Vec{Float32},),arg1) - return err -end - -function VecStashSetInitialSize(arg1::Vec{Float32},arg2::Integer,arg3::Integer) - err = ccall((:VecStashSetInitialSize,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,Int64),arg1,arg2,arg3) - return err -end - -function VecStashView(arg1::Vec{Float32},arg2::PetscViewer{Float32}) - err = ccall((:VecStashView,petscRealSingle),PetscErrorCode,(Vec{Float32},PetscViewer{Float32}),arg1,arg2) - return err -end - -function VecStashViewFromOptions(arg1::Vec{Float32},arg2::PetscObject,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:VecStashViewFromOptions,petscRealSingle),PetscErrorCode,(Vec{Float32},PetscObject,Cstring),arg1,arg2,arg3) - return err -end - -function VecStashGetInfo(arg1::Vec{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:VecStashGetInfo,petscRealSingle),PetscErrorCode,(Vec{Float32},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function VecSetValue(v::Vec{Float32},i::Integer,va::Float32,mode::InsertMode) - err = ccall((:VecSetValue,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,Float32,InsertMode),v,i,va,mode) - return err -end - -function VecSetBlockSize(arg1::Vec{Float32},arg2::Integer) - err = ccall((:VecSetBlockSize,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64),arg1,arg2) - return err -end - -function VecGetBlockSize(arg1::Vec{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:VecGetBlockSize,petscRealSingle),PetscErrorCode,(Vec{Float32},Ptr{Int64}),arg1,arg2) - return err -end - -function VecSetValuesBlocked(arg1::Vec{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::InsertMode) - err = ccall((:VecSetValuesBlocked,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,Ptr{Int64},Ptr{Float32},InsertMode),arg1,arg2,arg3,arg4,arg5) - return err -end - -function VecSetType(arg1::Vec{Float32},arg2::VecType) - err = ccall((:VecSetType,petscRealSingle),PetscErrorCode,(Vec{Float32},Cstring),arg1,arg2) - return err -end - -function VecGetType(arg1::Vec{Float32},arg2::Union{Ptr{VecType},StridedArray{VecType},Ptr{VecType},Ref{VecType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:VecGetType,petscRealSingle),PetscErrorCode,(Vec{Float32},Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function VecRegister(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:VecRegister,petscRealSingle),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function VecScatterCreate(arg1::Vec{Float32},arg2::IS{Float32},arg3::Vec{Float32},arg4::IS{Float32},arg5::Union{Ptr{VecScatter{Float32}},StridedArray{VecScatter{Float32}},Ptr{VecScatter{Float32}},Ref{VecScatter{Float32}}}) - err = ccall((:VecScatterCreate,petscRealSingle),PetscErrorCode,(Vec{Float32},IS{Float32},Vec{Float32},IS{Float32},Ptr{VecScatter{Float32}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function VecScatterCreateEmpty(arg1::MPI_Comm,arg2::Union{Ptr{VecScatter{Float32}},StridedArray{VecScatter{Float32}},Ptr{VecScatter{Float32}},Ref{VecScatter{Float32}}}) - err = ccall((:VecScatterCreateEmpty,petscRealSingle),PetscErrorCode,(comm_type,Ptr{VecScatter{Float32}}),arg1,arg2) - return err -end - -function VecScatterCreateLocal(arg1::VecScatter{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Integer,arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg9::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg10::Integer) - err = ccall((:VecScatterCreateLocal,petscRealSingle),PetscErrorCode,(VecScatter{Float32},Int64,Ptr{Int64},Ptr{Int64},Ptr{Int64},Int64,Ptr{Int64},Ptr{Int64},Ptr{Int64},Int64),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -function VecScatterBegin(arg1::VecScatter{Float32},arg2::Vec{Float32},arg3::Vec{Float32},arg4::InsertMode,arg5::ScatterMode) - err = ccall((:VecScatterBegin,petscRealSingle),PetscErrorCode,(VecScatter{Float32},Vec{Float32},Vec{Float32},InsertMode,ScatterMode),arg1,arg2,arg3,arg4,arg5) - return err -end - -function VecScatterEnd(arg1::VecScatter{Float32},arg2::Vec{Float32},arg3::Vec{Float32},arg4::InsertMode,arg5::ScatterMode) - err = ccall((:VecScatterEnd,petscRealSingle),PetscErrorCode,(VecScatter{Float32},Vec{Float32},Vec{Float32},InsertMode,ScatterMode),arg1,arg2,arg3,arg4,arg5) - return err -end - -function VecScatterDestroy(arg1::Union{Ptr{VecScatter{Float32}},StridedArray{VecScatter{Float32}},Ptr{VecScatter{Float32}},Ref{VecScatter{Float32}}}) - err = ccall((:VecScatterDestroy,petscRealSingle),PetscErrorCode,(Ptr{VecScatter{Float32}},),arg1) - return err -end - -function VecScatterCopy(arg1::VecScatter{Float32},arg2::Union{Ptr{VecScatter{Float32}},StridedArray{VecScatter{Float32}},Ptr{VecScatter{Float32}},Ref{VecScatter{Float32}}}) - err = ccall((:VecScatterCopy,petscRealSingle),PetscErrorCode,(VecScatter{Float32},Ptr{VecScatter{Float32}}),arg1,arg2) - return err -end - -function VecScatterView(arg1::VecScatter{Float32},arg2::PetscViewer{Float32}) - err = ccall((:VecScatterView,petscRealSingle),PetscErrorCode,(VecScatter{Float32},PetscViewer{Float32}),arg1,arg2) - return err -end - -function VecScatterViewFromOptions(A::VecScatter{Float32},obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:VecScatterViewFromOptions,petscRealSingle),PetscErrorCode,(VecScatter{Float32},PetscObject,Cstring),A,obj,name) - return err -end - -function VecScatterRemap(arg1::VecScatter{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:VecScatterRemap,petscRealSingle),PetscErrorCode,(VecScatter{Float32},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function VecScatterGetMerged(arg1::VecScatter{Float32},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:VecScatterGetMerged,petscRealSingle),PetscErrorCode,(VecScatter{Float32},Ptr{PetscBool}),arg1,arg2) - return err -end - -function VecGetArray4d(arg1::Vec{Float32},arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Integer,arg9::Integer,arg10::Union{Ptr{Ptr{Ptr{Ptr{Ptr{Float32}}}}},StridedArray{Ptr{Ptr{Ptr{Ptr{Float32}}}}},Ptr{Ptr{Ptr{Ptr{Ptr{Float32}}}}},Ref{Ptr{Ptr{Ptr{Ptr{Float32}}}}}}) - err = ccall((:VecGetArray4d,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,Int64,Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Ptr{Ptr{Ptr{Ptr{Float32}}}}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -function VecRestoreArray4d(arg1::Vec{Float32},arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Integer,arg9::Integer,arg10::Union{Ptr{Ptr{Ptr{Ptr{Ptr{Float32}}}}},StridedArray{Ptr{Ptr{Ptr{Ptr{Float32}}}}},Ptr{Ptr{Ptr{Ptr{Ptr{Float32}}}}},Ref{Ptr{Ptr{Ptr{Ptr{Float32}}}}}}) - err = ccall((:VecRestoreArray4d,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,Int64,Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Ptr{Ptr{Ptr{Ptr{Float32}}}}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -function VecGetArray3d(arg1::Vec{Float32},arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Union{Ptr{Ptr{Ptr{Ptr{Float32}}}},StridedArray{Ptr{Ptr{Ptr{Float32}}}},Ptr{Ptr{Ptr{Ptr{Float32}}}},Ref{Ptr{Ptr{Ptr{Float32}}}}}) - err = ccall((:VecGetArray3d,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Ptr{Ptr{Ptr{Float32}}}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function VecRestoreArray3d(arg1::Vec{Float32},arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Union{Ptr{Ptr{Ptr{Ptr{Float32}}}},StridedArray{Ptr{Ptr{Ptr{Float32}}}},Ptr{Ptr{Ptr{Ptr{Float32}}}},Ref{Ptr{Ptr{Ptr{Float32}}}}}) - err = ccall((:VecRestoreArray3d,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Ptr{Ptr{Ptr{Float32}}}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function VecGetArray2d(arg1::Vec{Float32},arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Ptr{Ptr{Float32}}},StridedArray{Ptr{Ptr{Float32}}},Ptr{Ptr{Ptr{Float32}}},Ref{Ptr{Ptr{Float32}}}}) - err = ccall((:VecGetArray2d,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,Int64,Int64,Int64,Ptr{Ptr{Ptr{Float32}}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function VecRestoreArray2d(arg1::Vec{Float32},arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Ptr{Ptr{Float32}}},StridedArray{Ptr{Ptr{Float32}}},Ptr{Ptr{Ptr{Float32}}},Ref{Ptr{Ptr{Float32}}}}) - err = ccall((:VecRestoreArray2d,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,Int64,Int64,Int64,Ptr{Ptr{Ptr{Float32}}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function VecGetArray1d(arg1::Vec{Float32},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:VecGetArray1d,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,Int64,Ptr{Ptr{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function VecRestoreArray1d(arg1::Vec{Float32},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:VecRestoreArray1d,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,Int64,Ptr{Ptr{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function VecGetArray4dRead(arg1::Vec{Float32},arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Integer,arg9::Integer,arg10::Union{Ptr{Ptr{Ptr{Ptr{Ptr{Float32}}}}},StridedArray{Ptr{Ptr{Ptr{Ptr{Float32}}}}},Ptr{Ptr{Ptr{Ptr{Ptr{Float32}}}}},Ref{Ptr{Ptr{Ptr{Ptr{Float32}}}}}}) - err = ccall((:VecGetArray4dRead,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,Int64,Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Ptr{Ptr{Ptr{Ptr{Float32}}}}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -function VecRestoreArray4dRead(arg1::Vec{Float32},arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Integer,arg9::Integer,arg10::Union{Ptr{Ptr{Ptr{Ptr{Ptr{Float32}}}}},StridedArray{Ptr{Ptr{Ptr{Ptr{Float32}}}}},Ptr{Ptr{Ptr{Ptr{Ptr{Float32}}}}},Ref{Ptr{Ptr{Ptr{Ptr{Float32}}}}}}) - err = ccall((:VecRestoreArray4dRead,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,Int64,Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Ptr{Ptr{Ptr{Ptr{Float32}}}}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -function VecGetArray3dRead(arg1::Vec{Float32},arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Union{Ptr{Ptr{Ptr{Ptr{Float32}}}},StridedArray{Ptr{Ptr{Ptr{Float32}}}},Ptr{Ptr{Ptr{Ptr{Float32}}}},Ref{Ptr{Ptr{Ptr{Float32}}}}}) - err = ccall((:VecGetArray3dRead,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Ptr{Ptr{Ptr{Float32}}}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function VecRestoreArray3dRead(arg1::Vec{Float32},arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Union{Ptr{Ptr{Ptr{Ptr{Float32}}}},StridedArray{Ptr{Ptr{Ptr{Float32}}}},Ptr{Ptr{Ptr{Ptr{Float32}}}},Ref{Ptr{Ptr{Ptr{Float32}}}}}) - err = ccall((:VecRestoreArray3dRead,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Ptr{Ptr{Ptr{Float32}}}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function VecGetArray2dRead(arg1::Vec{Float32},arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Ptr{Ptr{Float32}}},StridedArray{Ptr{Ptr{Float32}}},Ptr{Ptr{Ptr{Float32}}},Ref{Ptr{Ptr{Float32}}}}) - err = ccall((:VecGetArray2dRead,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,Int64,Int64,Int64,Ptr{Ptr{Ptr{Float32}}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function VecRestoreArray2dRead(arg1::Vec{Float32},arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Ptr{Ptr{Float32}}},StridedArray{Ptr{Ptr{Float32}}},Ptr{Ptr{Ptr{Float32}}},Ref{Ptr{Ptr{Float32}}}}) - err = ccall((:VecRestoreArray2dRead,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,Int64,Int64,Int64,Ptr{Ptr{Ptr{Float32}}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function VecGetArray1dRead(arg1::Vec{Float32},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:VecGetArray1dRead,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,Int64,Ptr{Ptr{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function VecRestoreArray1dRead(arg1::Vec{Float32},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:VecRestoreArray1dRead,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,Int64,Ptr{Ptr{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function VecPlaceArray(arg1::Vec{Float32},arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:VecPlaceArray,petscRealSingle),PetscErrorCode,(Vec{Float32},Ptr{Float32}),arg1,arg2) - return err -end - -function VecResetArray(arg1::Vec{Float32}) - err = ccall((:VecResetArray,petscRealSingle),PetscErrorCode,(Vec{Float32},),arg1) - return err -end - -function VecReplaceArray(arg1::Vec{Float32},arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:VecReplaceArray,petscRealSingle),PetscErrorCode,(Vec{Float32},Ptr{Float32}),arg1,arg2) - return err -end - -function VecGetArrays(arg1::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}},arg2::Integer,arg3::Union{Ptr{Ptr{Ptr{Float32}}},StridedArray{Ptr{Ptr{Float32}}},Ptr{Ptr{Ptr{Float32}}},Ref{Ptr{Ptr{Float32}}}}) - err = ccall((:VecGetArrays,petscRealSingle),PetscErrorCode,(Ptr{Vec{Float32}},Int64,Ptr{Ptr{Ptr{Float32}}}),arg1,arg2,arg3) - return err -end - -function VecRestoreArrays(arg1::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}},arg2::Integer,arg3::Union{Ptr{Ptr{Ptr{Float32}}},StridedArray{Ptr{Ptr{Float32}}},Ptr{Ptr{Ptr{Float32}}},Ref{Ptr{Ptr{Float32}}}}) - err = ccall((:VecRestoreArrays,petscRealSingle),PetscErrorCode,(Ptr{Vec{Float32}},Int64,Ptr{Ptr{Ptr{Float32}}}),arg1,arg2,arg3) - return err -end - -function VecView(arg1::Vec{Float32},arg2::PetscViewer{Float32}) - err = ccall((:VecView,petscRealSingle),PetscErrorCode,(Vec{Float32},PetscViewer{Float32}),arg1,arg2) - return err -end - -function VecEqual(arg1::Vec{Float32},arg2::Vec{Float32},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:VecEqual,petscRealSingle),PetscErrorCode,(Vec{Float32},Vec{Float32},Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function VecLoad(arg1::Vec{Float32},arg2::PetscViewer{Float32}) - err = ccall((:VecLoad,petscRealSingle),PetscErrorCode,(Vec{Float32},PetscViewer{Float32}),arg1,arg2) - return err -end - -function VecGetSize(arg1::Vec{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:VecGetSize,petscRealSingle),PetscErrorCode,(Vec{Float32},Ptr{Int64}),arg1,arg2) - return err -end - -function VecGetLocalSize(arg1::Vec{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:VecGetLocalSize,petscRealSingle),PetscErrorCode,(Vec{Float32},Ptr{Int64}),arg1,arg2) - return err -end - -function VecGetOwnershipRange(arg1::Vec{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:VecGetOwnershipRange,petscRealSingle),PetscErrorCode,(Vec{Float32},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function VecGetOwnershipRanges(arg1::Vec{Float32},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:VecGetOwnershipRanges,petscRealSingle),PetscErrorCode,(Vec{Float32},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function VecSetLocalToGlobalMapping(arg1::Vec{Float32},arg2::ISLocalToGlobalMapping{Float32}) - err = ccall((:VecSetLocalToGlobalMapping,petscRealSingle),PetscErrorCode,(Vec{Float32},ISLocalToGlobalMapping{Float32}),arg1,arg2) - return err -end - -function VecSetValuesLocal(arg1::Vec{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::InsertMode) - err = ccall((:VecSetValuesLocal,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,Ptr{Int64},Ptr{Float32},InsertMode),arg1,arg2,arg3,arg4,arg5) - return err -end - -function VecSetValueLocal(v::Vec{Float32},i::Integer,va::Float32,mode::InsertMode) - err = ccall((:VecSetValueLocal,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,Float32,InsertMode),v,i,va,mode) - return err -end - -function VecSetValuesBlockedLocal(arg1::Vec{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::InsertMode) - err = ccall((:VecSetValuesBlockedLocal,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,Ptr{Int64},Ptr{Float32},InsertMode),arg1,arg2,arg3,arg4,arg5) - return err -end - -function VecGetLocalToGlobalMapping(arg1::Vec{Float32},arg2::Union{Ptr{ISLocalToGlobalMapping{Float32}},StridedArray{ISLocalToGlobalMapping{Float32}},Ptr{ISLocalToGlobalMapping{Float32}},Ref{ISLocalToGlobalMapping{Float32}}}) - err = ccall((:VecGetLocalToGlobalMapping,petscRealSingle),PetscErrorCode,(Vec{Float32},Ptr{ISLocalToGlobalMapping{Float32}}),arg1,arg2) - return err -end - -function VecDotBegin(arg1::Vec{Float32},arg2::Vec{Float32},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:VecDotBegin,petscRealSingle),PetscErrorCode,(Vec{Float32},Vec{Float32},Ptr{Float32}),arg1,arg2,arg3) - return err -end - -function VecDotEnd(arg1::Vec{Float32},arg2::Vec{Float32},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:VecDotEnd,petscRealSingle),PetscErrorCode,(Vec{Float32},Vec{Float32},Ptr{Float32}),arg1,arg2,arg3) - return err -end - -function VecTDotBegin(arg1::Vec{Float32},arg2::Vec{Float32},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:VecTDotBegin,petscRealSingle),PetscErrorCode,(Vec{Float32},Vec{Float32},Ptr{Float32}),arg1,arg2,arg3) - return err -end - -function VecTDotEnd(arg1::Vec{Float32},arg2::Vec{Float32},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:VecTDotEnd,petscRealSingle),PetscErrorCode,(Vec{Float32},Vec{Float32},Ptr{Float32}),arg1,arg2,arg3) - return err -end - -function VecNormBegin(arg1::Vec{Float32},arg2::NormType,arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:VecNormBegin,petscRealSingle),PetscErrorCode,(Vec{Float32},NormType,Ptr{Float32}),arg1,arg2,arg3) - return err -end - -function VecNormEnd(arg1::Vec{Float32},arg2::NormType,arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:VecNormEnd,petscRealSingle),PetscErrorCode,(Vec{Float32},NormType,Ptr{Float32}),arg1,arg2,arg3) - return err -end - -function VecMDotBegin(arg1::Vec{Float32},arg2::Integer,arg3::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:VecMDotBegin,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,Ptr{Vec{Float32}},Ptr{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function VecMDotEnd(arg1::Vec{Float32},arg2::Integer,arg3::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:VecMDotEnd,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,Ptr{Vec{Float32}},Ptr{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function VecMTDotBegin(arg1::Vec{Float32},arg2::Integer,arg3::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:VecMTDotBegin,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,Ptr{Vec{Float32}},Ptr{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function VecMTDotEnd(arg1::Vec{Float32},arg2::Integer,arg3::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:VecMTDotEnd,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,Ptr{Vec{Float32}},Ptr{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function PetscCommSplitReductionBegin(arg0::Type{Float32},arg1::MPI_Comm) - err = ccall((:PetscCommSplitReductionBegin,petscRealSingle),PetscErrorCode,(comm_type,),arg1) - return err -end - -function VecSetOption(arg1::Vec{Float32},arg2::VecOption,arg3::PetscBool) - err = ccall((:VecSetOption,petscRealSingle),PetscErrorCode,(Vec{Float32},VecOption,PetscBool),arg1,arg2,arg3) - return err -end - -function VecGetArray(arg1::Vec{Float32},arg2::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:VecGetArray,petscRealSingle),PetscErrorCode,(Vec{Float32},Ptr{Ptr{Float32}}),arg1,arg2) - return err -end - -function VecGetArrayRead(arg1::Vec{Float32},arg2::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:VecGetArrayRead,petscRealSingle),PetscErrorCode,(Vec{Float32},Ptr{Ptr{Float32}}),arg1,arg2) - return err -end - -function VecRestoreArray(arg1::Vec{Float32},arg2::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:VecRestoreArray,petscRealSingle),PetscErrorCode,(Vec{Float32},Ptr{Ptr{Float32}}),arg1,arg2) - return err -end - -function VecRestoreArrayRead(arg1::Vec{Float32},arg2::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:VecRestoreArrayRead,petscRealSingle),PetscErrorCode,(Vec{Float32},Ptr{Ptr{Float32}}),arg1,arg2) - return err -end - -function VecGetLocalVector(arg1::Vec{Float32},arg2::Vec{Float32}) - err = ccall((:VecGetLocalVector,petscRealSingle),PetscErrorCode,(Vec{Float32},Vec{Float32}),arg1,arg2) - return err -end - -function VecRestoreLocalVector(arg1::Vec{Float32},arg2::Vec{Float32}) - err = ccall((:VecRestoreLocalVector,petscRealSingle),PetscErrorCode,(Vec{Float32},Vec{Float32}),arg1,arg2) - return err -end - -function VecGetLocalVectorRead(arg1::Vec{Float32},arg2::Vec{Float32}) - err = ccall((:VecGetLocalVectorRead,petscRealSingle),PetscErrorCode,(Vec{Float32},Vec{Float32}),arg1,arg2) - return err -end - -function VecRestoreLocalVectorRead(arg1::Vec{Float32},arg2::Vec{Float32}) - err = ccall((:VecRestoreLocalVectorRead,petscRealSingle),PetscErrorCode,(Vec{Float32},Vec{Float32}),arg1,arg2) - return err -end - -function VecGetArrayPair(x::Vec{Float32},y::Vec{Float32},xv::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}},yv::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:VecGetArrayPair,petscRealSingle),PetscErrorCode,(Vec{Float32},Vec{Float32},Ptr{Ptr{Float32}},Ptr{Ptr{Float32}}),x,y,xv,yv) - return err -end - -function VecRestoreArrayPair(x::Vec{Float32},y::Vec{Float32},xv::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}},yv::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:VecRestoreArrayPair,petscRealSingle),PetscErrorCode,(Vec{Float32},Vec{Float32},Ptr{Ptr{Float32}},Ptr{Ptr{Float32}}),x,y,xv,yv) - return err -end - -function VecLockGet(arg1::Vec{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:VecLockGet,petscRealSingle),PetscErrorCode,(Vec{Float32},Ptr{Int64}),arg1,arg2) - return err -end - -function VecLockPush(arg1::Vec{Float32}) - err = ccall((:VecLockPush,petscRealSingle),PetscErrorCode,(Vec{Float32},),arg1) - return err -end - -function VecLockPop(arg1::Vec{Float32}) - err = ccall((:VecLockPop,petscRealSingle),PetscErrorCode,(Vec{Float32},),arg1) - return err -end - -function VecValidValues(arg1::Vec{Float32},arg2::Integer,arg3::PetscBool) - err = ccall((:VecValidValues,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,PetscBool),arg1,arg2,arg3) - return err -end - -function VecContourScale(arg1::Vec{Float32},arg2::Float32,arg3::Float32) - err = ccall((:VecContourScale,petscRealSingle),PetscErrorCode,(Vec{Float32},Float32,Float32),arg1,arg2,arg3) - return err -end - -function VecSetOperation(arg1::Vec{Float32},arg2::VecOperation,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:VecSetOperation,petscRealSingle),PetscErrorCode,(Vec{Float32},VecOperation,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function VecMPISetGhost(arg1::Vec{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:VecMPISetGhost,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function VecCreateGhost(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:VecCreateGhost,petscRealSingle),PetscErrorCode,(comm_type,Int64,Int64,Int64,Ptr{Int64},Ptr{Vec{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function VecCreateGhostWithArray(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg7::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:VecCreateGhostWithArray,petscRealSingle),PetscErrorCode,(comm_type,Int64,Int64,Int64,Ptr{Int64},Ptr{Float32},Ptr{Vec{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function VecCreateGhostBlock(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:VecCreateGhostBlock,petscRealSingle),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Vec{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function VecCreateGhostBlockWithArray(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg8::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:VecCreateGhostBlockWithArray,petscRealSingle),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Float32},Ptr{Vec{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function VecGhostGetLocalForm(arg1::Vec{Float32},arg2::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:VecGhostGetLocalForm,petscRealSingle),PetscErrorCode,(Vec{Float32},Ptr{Vec{Float32}}),arg1,arg2) - return err -end - -function VecGhostRestoreLocalForm(arg1::Vec{Float32},arg2::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:VecGhostRestoreLocalForm,petscRealSingle),PetscErrorCode,(Vec{Float32},Ptr{Vec{Float32}}),arg1,arg2) - return err -end - -function VecGhostIsLocalForm(arg1::Vec{Float32},arg2::Vec{Float32},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:VecGhostIsLocalForm,petscRealSingle),PetscErrorCode,(Vec{Float32},Vec{Float32},Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function VecGhostUpdateBegin(arg1::Vec{Float32},arg2::InsertMode,arg3::ScatterMode) - err = ccall((:VecGhostUpdateBegin,petscRealSingle),PetscErrorCode,(Vec{Float32},InsertMode,ScatterMode),arg1,arg2,arg3) - return err -end - -function VecGhostUpdateEnd(arg1::Vec{Float32},arg2::InsertMode,arg3::ScatterMode) - err = ccall((:VecGhostUpdateEnd,petscRealSingle),PetscErrorCode,(Vec{Float32},InsertMode,ScatterMode),arg1,arg2,arg3) - return err -end - -function VecConjugate(arg1::Vec{Float32}) - err = ccall((:VecConjugate,petscRealSingle),PetscErrorCode,(Vec{Float32},),arg1) - return err -end - -function VecScatterCreateToAll(arg1::Vec{Float32},arg2::Union{Ptr{VecScatter{Float32}},StridedArray{VecScatter{Float32}},Ptr{VecScatter{Float32}},Ref{VecScatter{Float32}}},arg3::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:VecScatterCreateToAll,petscRealSingle),PetscErrorCode,(Vec{Float32},Ptr{VecScatter{Float32}},Ptr{Vec{Float32}}),arg1,arg2,arg3) - return err -end - -function VecScatterCreateToZero(arg1::Vec{Float32},arg2::Union{Ptr{VecScatter{Float32}},StridedArray{VecScatter{Float32}},Ptr{VecScatter{Float32}},Ref{VecScatter{Float32}}},arg3::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:VecScatterCreateToZero,petscRealSingle),PetscErrorCode,(Vec{Float32},Ptr{VecScatter{Float32}},Ptr{Vec{Float32}}),arg1,arg2,arg3) - return err -end - -function ISComplementVec(arg1::IS{Float32},arg2::Vec{Float32},arg3::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:ISComplementVec,petscRealSingle),PetscErrorCode,(IS{Float32},Vec{Float32},Ptr{IS{Float32}}),arg1,arg2,arg3) - return err -end - -function VecPow(arg1::Vec{Float32},arg2::Float32) - err = ccall((:VecPow,petscRealSingle),PetscErrorCode,(Vec{Float32},Float32),arg1,arg2) - return err -end - -function VecMedian(arg1::Vec{Float32},arg2::Vec{Float32},arg3::Vec{Float32},arg4::Vec{Float32}) - err = ccall((:VecMedian,petscRealSingle),PetscErrorCode,(Vec{Float32},Vec{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function VecWhichBetween(arg1::Vec{Float32},arg2::Vec{Float32},arg3::Vec{Float32},arg4::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:VecWhichBetween,petscRealSingle),PetscErrorCode,(Vec{Float32},Vec{Float32},Vec{Float32},Ptr{IS{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function VecWhichBetweenOrEqual(arg1::Vec{Float32},arg2::Vec{Float32},arg3::Vec{Float32},arg4::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:VecWhichBetweenOrEqual,petscRealSingle),PetscErrorCode,(Vec{Float32},Vec{Float32},Vec{Float32},Ptr{IS{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function VecWhichGreaterThan(arg1::Vec{Float32},arg2::Vec{Float32},arg3::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:VecWhichGreaterThan,petscRealSingle),PetscErrorCode,(Vec{Float32},Vec{Float32},Ptr{IS{Float32}}),arg1,arg2,arg3) - return err -end - -function VecWhichLessThan(arg1::Vec{Float32},arg2::Vec{Float32},arg3::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:VecWhichLessThan,petscRealSingle),PetscErrorCode,(Vec{Float32},Vec{Float32},Ptr{IS{Float32}}),arg1,arg2,arg3) - return err -end - -function VecWhichEqual(arg1::Vec{Float32},arg2::Vec{Float32},arg3::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:VecWhichEqual,petscRealSingle),PetscErrorCode,(Vec{Float32},Vec{Float32},Ptr{IS{Float32}}),arg1,arg2,arg3) - return err -end - -function VecISAXPY(arg1::Vec{Float32},arg2::IS{Float32},arg3::Float32,arg4::Vec{Float32}) - err = ccall((:VecISAXPY,petscRealSingle),PetscErrorCode,(Vec{Float32},IS{Float32},Float32,Vec{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function VecISSet(arg1::Vec{Float32},arg2::IS{Float32},arg3::Float32) - err = ccall((:VecISSet,petscRealSingle),PetscErrorCode,(Vec{Float32},IS{Float32},Float32),arg1,arg2,arg3) - return err -end - -function VecBoundGradientProjection(arg1::Vec{Float32},arg2::Vec{Float32},arg3::Vec{Float32},arg4::Vec{Float32},arg5::Vec{Float32}) - err = ccall((:VecBoundGradientProjection,petscRealSingle),PetscErrorCode,(Vec{Float32},Vec{Float32},Vec{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function VecStepBoundInfo(arg1::Vec{Float32},arg2::Vec{Float32},arg3::Vec{Float32},arg4::Vec{Float32},arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg6::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg7::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:VecStepBoundInfo,petscRealSingle),PetscErrorCode,(Vec{Float32},Vec{Float32},Vec{Float32},Vec{Float32},Ptr{Float32},Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function VecStepMax(arg1::Vec{Float32},arg2::Vec{Float32},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:VecStepMax,petscRealSingle),PetscErrorCode,(Vec{Float32},Vec{Float32},Ptr{Float32}),arg1,arg2,arg3) - return err -end - -function VecStepMaxBounded(arg1::Vec{Float32},arg2::Vec{Float32},arg3::Vec{Float32},arg4::Vec{Float32},arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:VecStepMaxBounded,petscRealSingle),PetscErrorCode,(Vec{Float32},Vec{Float32},Vec{Float32},Vec{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscViewerMathematicaGetVector(arg1::PetscViewer{Float32},arg2::Vec{Float32}) - err = ccall((:PetscViewerMathematicaGetVector,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Vec{Float32}),arg1,arg2) - return err -end - -function PetscViewerMathematicaPutVector(arg1::PetscViewer{Float32},arg2::Vec{Float32}) - err = ccall((:PetscViewerMathematicaPutVector,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Vec{Float32}),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function VecsDestroy(arg0::Type{Float32},arg1::Vecs) - ccall((:VecsDestroy,petscRealSingle),PetscErrorCode,(Vecs,),arg1) -end -=# -#= skipping function with undefined symbols: - function VecsCreateSeq(arg0::Type{Float32},arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Vecs},StridedArray{Vecs},Ptr{Vecs},Ref{Vecs}}) - ccall((:VecsCreateSeq,petscRealSingle),PetscErrorCode,(comm_type,Int64,Int64,Ptr{Vecs}),arg1,arg2,arg3,arg4) -end -=# -#= skipping function with undefined symbols: - function VecsCreateSeqWithArray(arg0::Type{Float32},arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{Ptr{Vecs},StridedArray{Vecs},Ptr{Vecs},Ref{Vecs}}) - ccall((:VecsCreateSeqWithArray,petscRealSingle),PetscErrorCode,(comm_type,Int64,Int64,Ptr{Float32},Ptr{Vecs}),arg1,arg2,arg3,arg4,arg5) -end -=# -#= skipping function with undefined symbols: - function VecsDuplicate(arg0::Type{Float32},arg1::Vecs,arg2::Union{Ptr{Vecs},StridedArray{Vecs},Ptr{Vecs},Ref{Vecs}}) - ccall((:VecsDuplicate,petscRealSingle),PetscErrorCode,(Vecs,Ptr{Vecs}),arg1,arg2) -end -=# -function VecNestGetSubVecs(arg1::Vec{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Vec{Float32}}},StridedArray{Ptr{Vec{Float32}}},Ptr{Ptr{Vec{Float32}}},Ref{Ptr{Vec{Float32}}}}) - err = ccall((:VecNestGetSubVecs,petscRealSingle),PetscErrorCode,(Vec{Float32},Ptr{Int64},Ptr{Ptr{Vec{Float32}}}),arg1,arg2,arg3) - return err -end - -function VecNestGetSubVec(arg1::Vec{Float32},arg2::Integer,arg3::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:VecNestGetSubVec,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,Ptr{Vec{Float32}}),arg1,arg2,arg3) - return err -end - -function VecNestSetSubVecs(arg1::Vec{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:VecNestSetSubVecs,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,Ptr{Int64},Ptr{Vec{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function VecNestSetSubVec(arg1::Vec{Float32},arg2::Integer,arg3::Vec{Float32}) - err = ccall((:VecNestSetSubVec,petscRealSingle),PetscErrorCode,(Vec{Float32},Int64,Vec{Float32}),arg1,arg2,arg3) - return err -end - -function VecCreateNest(arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}},arg4::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}},arg5::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:VecCreateNest,petscRealSingle),PetscErrorCode,(comm_type,Int64,Ptr{IS{Float32}},Ptr{Vec{Float32}},Ptr{Vec{Float32}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function VecNestGetSize(arg1::Vec{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:VecNestGetSize,petscRealSingle),PetscErrorCode,(Vec{Float32},Ptr{Int64}),arg1,arg2) - return err -end - -function PetscOptionsGetVec(arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Vec{Float32},arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscOptionsGetVec,petscRealSingle),PetscErrorCode,(Cstring,Cstring,Vec{Float32},Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function VecChop(arg1::Vec{Float32},arg2::Float32) - err = ccall((:VecChop,petscRealSingle),PetscErrorCode,(Vec{Float32},Float32),arg1,arg2) - return err -end - -function VecGetLayout(arg1::Vec{Float32},arg2::Union{Ptr{PetscLayout{Float32}},StridedArray{PetscLayout{Float32}},Ptr{PetscLayout{Float32}},Ref{PetscLayout{Float32}}}) - err = ccall((:VecGetLayout,petscRealSingle),PetscErrorCode,(Vec{Float32},Ptr{PetscLayout{Float32}}),arg1,arg2) - return err -end - -function VecSetLayout(arg1::Vec{Float32},arg2::PetscLayout{Float32}) - err = ccall((:VecSetLayout,petscRealSingle),PetscErrorCode,(Vec{Float32},PetscLayout{Float32}),arg1,arg2) - return err -end - -function PetscSectionVecView(arg1::PetscSection,arg2::Vec{Float32},arg3::PetscViewer{Float32}) - err = ccall((:PetscSectionVecView,petscRealSingle),PetscErrorCode,(PetscSection,Vec{Float32},PetscViewer{Float32}),arg1,arg2,arg3) - return err -end - -function VecGetValuesSection(arg1::Vec{Float32},arg2::PetscSection,arg3::Integer,arg4::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:VecGetValuesSection,petscRealSingle),PetscErrorCode,(Vec{Float32},PetscSection,Int64,Ptr{Ptr{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function VecSetValuesSection(arg1::Vec{Float32},arg2::PetscSection,arg3::Integer,arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::InsertMode) - err = ccall((:VecSetValuesSection,petscRealSingle),PetscErrorCode,(Vec{Float32},PetscSection,Int64,Ptr{Float32},InsertMode),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscSectionVecNorm(arg1::PetscSection,arg2::PetscSection,arg3::Vec{Float32},arg4::NormType,arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:PetscSectionVecNorm,petscRealSingle),PetscErrorCode,(PetscSection,PetscSection,Vec{Float32},NormType,Ptr{Float32}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatGetFactor(arg1::Mat{Float32},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::MatFactorType,arg4::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatGetFactor,petscRealSingle),PetscErrorCode,(Mat{Float32},Cstring,MatFactorType,Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function MatGetFactorAvailable(arg1::Mat{Float32},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::MatFactorType,arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatGetFactorAvailable,petscRealSingle),PetscErrorCode,(Mat{Float32},Cstring,MatFactorType,Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function MatFactorGetSolverPackage(arg1::Mat{Float32},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:MatFactorGetSolverPackage,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function MatGetFactorType(arg1::Mat{Float32},arg2::Union{Ptr{MatFactorType},StridedArray{MatFactorType},Ptr{MatFactorType},Ref{MatFactorType}}) - err = ccall((:MatGetFactorType,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{MatFactorType}),arg1,arg2) - return err -end - -function MatSolverPackageRegister(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::MatType,arg3::MatFactorType,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatSolverPackageRegister,petscRealSingle),PetscErrorCode,(Cstring,Cstring,MatFactorType,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function MatSolverPackageGet(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::MatType,arg3::MatFactorType,arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg6::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:MatSolverPackageGet,petscRealSingle),PetscErrorCode,(Cstring,Cstring,MatFactorType,Ptr{PetscBool},Ptr{PetscBool},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatInitializePackage(arg0::Type{Float32}) - err = ccall((:MatInitializePackage,petscRealSingle),PetscErrorCode,()) - return err -end - -function MatCreate(arg1::MPI_Comm,arg2::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreate,petscRealSingle),PetscErrorCode,(comm_type,Ptr{Mat{Float32}}),arg1,arg2) - return err -end - -function MatSetSizes(arg1::Mat{Float32},arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer) - err = ccall((:MatSetSizes,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Int64,Int64,Int64),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatSetType(arg1::Mat{Float32},arg2::MatType) - err = ccall((:MatSetType,petscRealSingle),PetscErrorCode,(Mat{Float32},Cstring),arg1,arg2) - return err -end - -function MatSetFromOptions(arg1::Mat{Float32}) - err = ccall((:MatSetFromOptions,petscRealSingle),PetscErrorCode,(Mat{Float32},),arg1) - return err -end - -function MatViewFromOptions(A::Mat{Float32},obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:MatViewFromOptions,petscRealSingle),PetscErrorCode,(Mat{Float32},PetscObject,Cstring),A,obj,name) - return err -end - -function MatRegister(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatRegister,petscRealSingle),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function MatRegisterBaseName(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:MatRegisterBaseName,petscRealSingle),PetscErrorCode,(Cstring,Cstring,Cstring),arg1,arg2,arg3) - return err -end - -function MatSetOptionsPrefix(arg1::Mat{Float32},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:MatSetOptionsPrefix,petscRealSingle),PetscErrorCode,(Mat{Float32},Cstring),arg1,arg2) - return err -end - -function MatAppendOptionsPrefix(arg1::Mat{Float32},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:MatAppendOptionsPrefix,petscRealSingle),PetscErrorCode,(Mat{Float32},Cstring),arg1,arg2) - return err -end - -function MatGetOptionsPrefix(arg1::Mat{Float32},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:MatGetOptionsPrefix,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function MatSetErrorIfFPE(arg1::Mat{Float32},arg2::PetscBool) - err = ccall((:MatSetErrorIfFPE,petscRealSingle),PetscErrorCode,(Mat{Float32},PetscBool),arg1,arg2) - return err -end - -function MatCreateSeqDense(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateSeqDense,petscRealSingle),PetscErrorCode,(comm_type,Int64,Int64,Ptr{Float32},Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatCreateDense(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg7::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateDense,petscRealSingle),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Ptr{Float32},Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function MatCreateSeqAIJ(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateSeqAIJ,petscRealSingle),PetscErrorCode,(comm_type,Int64,Int64,Int64,Ptr{Int64},Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatCreateAIJ(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Integer,arg9::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg10::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateAIJ,petscRealSingle),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Int64,Ptr{Int64},Int64,Ptr{Int64},Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -function MatCreateMPIAIJWithArrays(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg9::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateMPIAIJWithArrays,petscRealSingle),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Int64},Ptr{Float32},Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) - return err -end - -function MatCreateMPIAIJWithSplitArrays(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg9::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg10::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg11::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg12::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateMPIAIJWithSplitArrays,petscRealSingle),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Int64},Ptr{Float32},Ptr{Int64},Ptr{Int64},Ptr{Float32},Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12) - return err -end - -function MatCreateSeqBAIJ(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateSeqBAIJ,petscRealSingle),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function MatCreateBAIJ(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg9::Integer,arg10::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg11::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateBAIJ,petscRealSingle),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Int64},Int64,Ptr{Int64},Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) - return err -end - -function MatCreateMPIBAIJWithArrays(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg9::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg10::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateMPIBAIJWithArrays,petscRealSingle),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Int64},Ptr{Float32},Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -function MatCreateMPIAdj(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateMPIAdj,petscRealSingle),PetscErrorCode,(comm_type,Int64,Int64,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function MatCreateSeqSBAIJ(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateSeqSBAIJ,petscRealSingle),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function MatCreateSBAIJ(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg9::Integer,arg10::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg11::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateSBAIJ,petscRealSingle),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Int64},Int64,Ptr{Int64},Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) - return err -end - -function MatCreateMPISBAIJWithArrays(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg9::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg10::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateMPISBAIJWithArrays,petscRealSingle),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Int64},Ptr{Float32},Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -function MatSeqSBAIJSetPreallocationCSR(arg1::Mat{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:MatSeqSBAIJSetPreallocationCSR,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Ptr{Int64},Ptr{Int64},Ptr{Float32}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatMPISBAIJSetPreallocationCSR(arg1::Mat{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:MatMPISBAIJSetPreallocationCSR,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Ptr{Int64},Ptr{Int64},Ptr{Float32}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatXAIJSetPreallocation(arg1::Mat{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatXAIJSetPreallocation,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatCreateShell(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg7::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateShell,petscRealSingle),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Ptr{Void},Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function MatCreateNormal(arg1::Mat{Float32},arg2::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateNormal,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Mat{Float32}}),arg1,arg2) - return err -end - -function MatCreateLRC(arg1::Mat{Float32},arg2::Mat{Float32},arg3::Mat{Float32},arg4::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateLRC,petscRealSingle),PetscErrorCode,(Mat{Float32},Mat{Float32},Mat{Float32},Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function MatCreateIS(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::ISLocalToGlobalMapping{Float32},arg8::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateIS,petscRealSingle),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Int64,ISLocalToGlobalMapping{Float32},Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function MatCreateSeqAIJCRL(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateSeqAIJCRL,petscRealSingle),PetscErrorCode,(comm_type,Int64,Int64,Int64,Ptr{Int64},Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatCreateMPIAIJCRL(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Integer,arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateMPIAIJCRL,petscRealSingle),PetscErrorCode,(comm_type,Int64,Int64,Int64,Ptr{Int64},Int64,Ptr{Int64},Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function MatCreateSeqBSTRM(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateSeqBSTRM,petscRealSingle),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function MatCreateMPIBSTRM(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg9::Integer,arg10::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg11::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateMPIBSTRM,petscRealSingle),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Int64},Int64,Ptr{Int64},Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) - return err -end - -function MatCreateSeqSBSTRM(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateSeqSBSTRM,petscRealSingle),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function MatCreateMPISBSTRM(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg9::Integer,arg10::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg11::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateMPISBSTRM,petscRealSingle),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Int64},Int64,Ptr{Int64},Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) - return err -end - -function MatCreateScatter(arg1::MPI_Comm,arg2::VecScatter{Float32},arg3::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateScatter,petscRealSingle),PetscErrorCode,(comm_type,VecScatter{Float32},Ptr{Mat{Float32}}),arg1,arg2,arg3) - return err -end - -function MatScatterSetVecScatter(arg1::Mat{Float32},arg2::VecScatter{Float32}) - err = ccall((:MatScatterSetVecScatter,petscRealSingle),PetscErrorCode,(Mat{Float32},VecScatter{Float32}),arg1,arg2) - return err -end - -function MatScatterGetVecScatter(arg1::Mat{Float32},arg2::Union{Ptr{VecScatter{Float32}},StridedArray{VecScatter{Float32}},Ptr{VecScatter{Float32}},Ref{VecScatter{Float32}}}) - err = ccall((:MatScatterGetVecScatter,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{VecScatter{Float32}}),arg1,arg2) - return err -end - -function MatCreateBlockMat(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateBlockMat,petscRealSingle),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function MatCompositeAddMat(arg1::Mat{Float32},arg2::Mat{Float32}) - err = ccall((:MatCompositeAddMat,petscRealSingle),PetscErrorCode,(Mat{Float32},Mat{Float32}),arg1,arg2) - return err -end - -function MatCompositeMerge(arg1::Mat{Float32}) - err = ccall((:MatCompositeMerge,petscRealSingle),PetscErrorCode,(Mat{Float32},),arg1) - return err -end - -function MatCreateComposite(arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}},arg4::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateComposite,petscRealSingle),PetscErrorCode,(comm_type,Int64,Ptr{Mat{Float32}},Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function MatCompositeSetType(arg1::Mat{Float32},arg2::MatCompositeType) - err = ccall((:MatCompositeSetType,petscRealSingle),PetscErrorCode,(Mat{Float32},MatCompositeType),arg1,arg2) - return err -end - -function MatCreateFFT(arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::MatType,arg5::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateFFT,petscRealSingle),PetscErrorCode,(comm_type,Int64,Ptr{Int64},Cstring,Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatCreateSeqCUFFT(arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateSeqCUFFT,petscRealSingle),PetscErrorCode,(comm_type,Int64,Ptr{Int64},Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function MatCreateTranspose(arg1::Mat{Float32},arg2::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateTranspose,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Mat{Float32}}),arg1,arg2) - return err -end - -function MatCreateHermitianTranspose(arg1::Mat{Float32},arg2::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateHermitianTranspose,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Mat{Float32}}),arg1,arg2) - return err -end - -function MatCreateSubMatrix(arg1::Mat{Float32},arg2::IS{Float32},arg3::IS{Float32},arg4::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateSubMatrix,petscRealSingle),PetscErrorCode,(Mat{Float32},IS{Float32},IS{Float32},Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function MatSubMatrixUpdate(arg1::Mat{Float32},arg2::Mat{Float32},arg3::IS{Float32},arg4::IS{Float32}) - err = ccall((:MatSubMatrixUpdate,petscRealSingle),PetscErrorCode,(Mat{Float32},Mat{Float32},IS{Float32},IS{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function MatCreateLocalRef(arg1::Mat{Float32},arg2::IS{Float32},arg3::IS{Float32},arg4::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateLocalRef,petscRealSingle),PetscErrorCode,(Mat{Float32},IS{Float32},IS{Float32},Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function MatPythonSetType(arg1::Mat{Float32},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:MatPythonSetType,petscRealSingle),PetscErrorCode,(Mat{Float32},Cstring),arg1,arg2) - return err -end - -function MatSetUp(arg1::Mat{Float32}) - err = ccall((:MatSetUp,petscRealSingle),PetscErrorCode,(Mat{Float32},),arg1) - return err -end - -function MatDestroy(arg1::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatDestroy,petscRealSingle),PetscErrorCode,(Ptr{Mat{Float32}},),arg1) - return err -end - -function MatGetNonzeroState(arg1::Mat{Float32},arg2::Union{Ptr{PetscObjectState},StridedArray{PetscObjectState},Ptr{PetscObjectState},Ref{PetscObjectState}}) - err = ccall((:MatGetNonzeroState,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{PetscObjectState}),arg1,arg2) - return err -end - -function MatConjugate(arg1::Mat{Float32}) - err = ccall((:MatConjugate,petscRealSingle),PetscErrorCode,(Mat{Float32},),arg1) - return err -end - -function MatRealPart(arg1::Mat{Float32}) - err = ccall((:MatRealPart,petscRealSingle),PetscErrorCode,(Mat{Float32},),arg1) - return err -end - -function MatImaginaryPart(arg1::Mat{Float32}) - err = ccall((:MatImaginaryPart,petscRealSingle),PetscErrorCode,(Mat{Float32},),arg1) - return err -end - -function MatGetDiagonalBlock(arg1::Mat{Float32},arg2::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatGetDiagonalBlock,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Mat{Float32}}),arg1,arg2) - return err -end - -function MatGetTrace(arg1::Mat{Float32},arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:MatGetTrace,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Float32}),arg1,arg2) - return err -end - -function MatInvertBlockDiagonal(arg1::Mat{Float32},arg2::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:MatInvertBlockDiagonal,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Ptr{Float32}}),arg1,arg2) - return err -end - -function MatSetValues(arg1::Mat{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg7::InsertMode) - err = ccall((:MatSetValues,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Ptr{Int64},Int64,Ptr{Int64},Ptr{Float32},InsertMode),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function MatSetValuesBlocked(arg1::Mat{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg7::InsertMode) - err = ccall((:MatSetValuesBlocked,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Ptr{Int64},Int64,Ptr{Int64},Ptr{Float32},InsertMode),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function MatSetValuesRow(arg1::Mat{Float32},arg2::Integer,arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:MatSetValuesRow,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Ptr{Float32}),arg1,arg2,arg3) - return err -end - -function MatSetValuesRowLocal(arg1::Mat{Float32},arg2::Integer,arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:MatSetValuesRowLocal,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Ptr{Float32}),arg1,arg2,arg3) - return err -end - -function MatSetValuesBatch(arg1::Mat{Float32},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:MatSetValuesBatch,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Int64,Ptr{Int64},Ptr{Float32}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatSetRandom(arg1::Mat{Float32},arg2::PetscRandom) - err = ccall((:MatSetRandom,petscRealSingle),PetscErrorCode,(Mat{Float32},PetscRandom),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function MatSetValuesStencil(arg1::Mat{Float32},arg2::Integer,arg3::Union{Ptr{MatStencil},StridedArray{MatStencil},Ptr{MatStencil},Ref{MatStencil}},arg4::Integer,arg5::Union{Ptr{MatStencil},StridedArray{MatStencil},Ptr{MatStencil},Ref{MatStencil}},arg6::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg7::InsertMode) - ccall((:MatSetValuesStencil,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Ptr{MatStencil},Int64,Ptr{MatStencil},Ptr{Float32},InsertMode),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -#= skipping function with undefined symbols: - function MatSetValuesBlockedStencil(arg1::Mat{Float32},arg2::Integer,arg3::Union{Ptr{MatStencil},StridedArray{MatStencil},Ptr{MatStencil},Ref{MatStencil}},arg4::Integer,arg5::Union{Ptr{MatStencil},StridedArray{MatStencil},Ptr{MatStencil},Ref{MatStencil}},arg6::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg7::InsertMode) - ccall((:MatSetValuesBlockedStencil,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Ptr{MatStencil},Int64,Ptr{MatStencil},Ptr{Float32},InsertMode),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -function MatSetStencil(arg1::Mat{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Integer) - err = ccall((:MatSetStencil,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Ptr{Int64},Ptr{Int64},Int64),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatSetColoring(arg1::Mat{Float32},arg2::ISColoring{Float32}) - err = ccall((:MatSetColoring,petscRealSingle),PetscErrorCode,(Mat{Float32},ISColoring{Float32}),arg1,arg2) - return err -end - -function MatSetValuesAdifor(arg1::Mat{Float32},arg2::Integer,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatSetValuesAdifor,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function MatAssemblyBegin(arg1::Mat{Float32},arg2::MatAssemblyType) - err = ccall((:MatAssemblyBegin,petscRealSingle),PetscErrorCode,(Mat{Float32},MatAssemblyType),arg1,arg2) - return err -end - -function MatAssemblyEnd(arg1::Mat{Float32},arg2::MatAssemblyType) - err = ccall((:MatAssemblyEnd,petscRealSingle),PetscErrorCode,(Mat{Float32},MatAssemblyType),arg1,arg2) - return err -end - -function MatAssembled(arg1::Mat{Float32},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatAssembled,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{PetscBool}),arg1,arg2) - return err -end - -function MatSetOption(arg1::Mat{Float32},arg2::MatOption,arg3::PetscBool) - err = ccall((:MatSetOption,petscRealSingle),PetscErrorCode,(Mat{Float32},MatOption,PetscBool),arg1,arg2,arg3) - return err -end - -function MatGetOption(arg1::Mat{Float32},arg2::MatOption,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatGetOption,petscRealSingle),PetscErrorCode,(Mat{Float32},MatOption,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function MatGetType(arg1::Mat{Float32},arg2::Union{Ptr{MatType},StridedArray{MatType},Ptr{MatType},Ref{MatType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:MatGetType,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function MatGetValues(arg1::Mat{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:MatGetValues,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Ptr{Int64},Int64,Ptr{Int64},Ptr{Float32}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatGetRow(arg1::Mat{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg5::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:MatGetRow,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Float32}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatRestoreRow(arg1::Mat{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg5::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:MatRestoreRow,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Float32}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatGetRowUpperTriangular(arg1::Mat{Float32}) - err = ccall((:MatGetRowUpperTriangular,petscRealSingle),PetscErrorCode,(Mat{Float32},),arg1) - return err -end - -function MatRestoreRowUpperTriangular(arg1::Mat{Float32}) - err = ccall((:MatRestoreRowUpperTriangular,petscRealSingle),PetscErrorCode,(Mat{Float32},),arg1) - return err -end - -function MatGetColumn(arg1::Mat{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg5::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:MatGetColumn,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Float32}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatRestoreColumn(arg1::Mat{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg5::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:MatRestoreColumn,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Float32}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatGetColumnVector(arg1::Mat{Float32},arg2::Vec{Float32},arg3::Integer) - err = ccall((:MatGetColumnVector,petscRealSingle),PetscErrorCode,(Mat{Float32},Vec{Float32},Int64),arg1,arg2,arg3) - return err -end - -function MatSeqAIJGetArray(arg1::Mat{Float32},arg2::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:MatSeqAIJGetArray,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Ptr{Float32}}),arg1,arg2) - return err -end - -function MatSeqAIJRestoreArray(arg1::Mat{Float32},arg2::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:MatSeqAIJRestoreArray,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Ptr{Float32}}),arg1,arg2) - return err -end - -function MatSeqAIJGetMaxRowNonzeros(arg1::Mat{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatSeqAIJGetMaxRowNonzeros,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Int64}),arg1,arg2) - return err -end - -function MatSeqAIJSetValuesLocalFast(arg1::Mat{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg7::InsertMode) - err = ccall((:MatSeqAIJSetValuesLocalFast,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Ptr{Int64},Int64,Ptr{Int64},Ptr{Float32},InsertMode),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function MatDenseGetArray(arg1::Mat{Float32},arg2::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:MatDenseGetArray,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Ptr{Float32}}),arg1,arg2) - return err -end - -function MatDenseRestoreArray(arg1::Mat{Float32},arg2::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:MatDenseRestoreArray,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Ptr{Float32}}),arg1,arg2) - return err -end - -function MatGetBlockSize(arg1::Mat{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatGetBlockSize,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Int64}),arg1,arg2) - return err -end - -function MatSetBlockSize(arg1::Mat{Float32},arg2::Integer) - err = ccall((:MatSetBlockSize,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64),arg1,arg2) - return err -end - -function MatGetBlockSizes(arg1::Mat{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatGetBlockSizes,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function MatSetBlockSizes(arg1::Mat{Float32},arg2::Integer,arg3::Integer) - err = ccall((:MatSetBlockSizes,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Int64),arg1,arg2,arg3) - return err -end - -function MatSetBlockSizesFromMats(arg1::Mat{Float32},arg2::Mat{Float32},arg3::Mat{Float32}) - err = ccall((:MatSetBlockSizesFromMats,petscRealSingle),PetscErrorCode,(Mat{Float32},Mat{Float32},Mat{Float32}),arg1,arg2,arg3) - return err -end - -function MatSetNThreads(arg1::Mat{Float32},arg2::Integer) - err = ccall((:MatSetNThreads,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64),arg1,arg2) - return err -end - -function MatGetNThreads(arg1::Mat{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatGetNThreads,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Int64}),arg1,arg2) - return err -end - -function MatMult(arg1::Mat{Float32},arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:MatMult,petscRealSingle),PetscErrorCode,(Mat{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function MatMultDiagonalBlock(arg1::Mat{Float32},arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:MatMultDiagonalBlock,petscRealSingle),PetscErrorCode,(Mat{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function MatMultAdd(arg1::Mat{Float32},arg2::Vec{Float32},arg3::Vec{Float32},arg4::Vec{Float32}) - err = ccall((:MatMultAdd,petscRealSingle),PetscErrorCode,(Mat{Float32},Vec{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function MatMultTranspose(arg1::Mat{Float32},arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:MatMultTranspose,petscRealSingle),PetscErrorCode,(Mat{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function MatMultHermitianTranspose(arg1::Mat{Float32},arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:MatMultHermitianTranspose,petscRealSingle),PetscErrorCode,(Mat{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function MatIsTranspose(arg1::Mat{Float32},arg2::Mat{Float32},arg3::Float32,arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatIsTranspose,petscRealSingle),PetscErrorCode,(Mat{Float32},Mat{Float32},Float32,Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function MatIsHermitianTranspose(arg1::Mat{Float32},arg2::Mat{Float32},arg3::Float32,arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatIsHermitianTranspose,petscRealSingle),PetscErrorCode,(Mat{Float32},Mat{Float32},Float32,Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function MatMultTransposeAdd(arg1::Mat{Float32},arg2::Vec{Float32},arg3::Vec{Float32},arg4::Vec{Float32}) - err = ccall((:MatMultTransposeAdd,petscRealSingle),PetscErrorCode,(Mat{Float32},Vec{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function MatMultHermitianTransposeAdd(arg1::Mat{Float32},arg2::Vec{Float32},arg3::Vec{Float32},arg4::Vec{Float32}) - err = ccall((:MatMultHermitianTransposeAdd,petscRealSingle),PetscErrorCode,(Mat{Float32},Vec{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function MatMultConstrained(arg1::Mat{Float32},arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:MatMultConstrained,petscRealSingle),PetscErrorCode,(Mat{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function MatMultTransposeConstrained(arg1::Mat{Float32},arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:MatMultTransposeConstrained,petscRealSingle),PetscErrorCode,(Mat{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function MatMatSolve(arg1::Mat{Float32},arg2::Mat{Float32},arg3::Mat{Float32}) - err = ccall((:MatMatSolve,petscRealSingle),PetscErrorCode,(Mat{Float32},Mat{Float32},Mat{Float32}),arg1,arg2,arg3) - return err -end - -function MatResidual(arg1::Mat{Float32},arg2::Vec{Float32},arg3::Vec{Float32},arg4::Vec{Float32}) - err = ccall((:MatResidual,petscRealSingle),PetscErrorCode,(Mat{Float32},Vec{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function MatConvert(arg1::Mat{Float32},arg2::MatType,arg3::MatReuse,arg4::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatConvert,petscRealSingle),PetscErrorCode,(Mat{Float32},Cstring,MatReuse,Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function MatDuplicate(arg1::Mat{Float32},arg2::MatDuplicateOption,arg3::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatDuplicate,petscRealSingle),PetscErrorCode,(Mat{Float32},MatDuplicateOption,Ptr{Mat{Float32}}),arg1,arg2,arg3) - return err -end - -function MatCopy(arg1::Mat{Float32},arg2::Mat{Float32},arg3::MatStructure) - err = ccall((:MatCopy,petscRealSingle),PetscErrorCode,(Mat{Float32},Mat{Float32},MatStructure),arg1,arg2,arg3) - return err -end - -function MatView(arg1::Mat{Float32},arg2::PetscViewer{Float32}) - err = ccall((:MatView,petscRealSingle),PetscErrorCode,(Mat{Float32},PetscViewer{Float32}),arg1,arg2) - return err -end - -function MatIsSymmetric(arg1::Mat{Float32},arg2::Float32,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatIsSymmetric,petscRealSingle),PetscErrorCode,(Mat{Float32},Float32,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function MatIsStructurallySymmetric(arg1::Mat{Float32},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatIsStructurallySymmetric,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{PetscBool}),arg1,arg2) - return err -end - -function MatIsHermitian(arg1::Mat{Float32},arg2::Float32,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatIsHermitian,petscRealSingle),PetscErrorCode,(Mat{Float32},Float32,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function MatIsSymmetricKnown(arg1::Mat{Float32},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatIsSymmetricKnown,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{PetscBool},Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function MatIsHermitianKnown(arg1::Mat{Float32},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatIsHermitianKnown,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{PetscBool},Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function MatMissingDiagonal(arg1::Mat{Float32},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatMissingDiagonal,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{PetscBool},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function MatLoad(arg1::Mat{Float32},arg2::PetscViewer{Float32}) - err = ccall((:MatLoad,petscRealSingle),PetscErrorCode,(Mat{Float32},PetscViewer{Float32}),arg1,arg2) - return err -end - -function MatGetRowIJ(arg1::Mat{Float32},arg2::Integer,arg3::PetscBool,arg4::PetscBool,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg7::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg8::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatGetRowIJ,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,PetscBool,PetscBool,Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function MatRestoreRowIJ(arg1::Mat{Float32},arg2::Integer,arg3::PetscBool,arg4::PetscBool,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg7::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg8::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatRestoreRowIJ,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,PetscBool,PetscBool,Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function MatGetColumnIJ(arg1::Mat{Float32},arg2::Integer,arg3::PetscBool,arg4::PetscBool,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg7::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg8::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatGetColumnIJ,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,PetscBool,PetscBool,Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function MatRestoreColumnIJ(arg1::Mat{Float32},arg2::Integer,arg3::PetscBool,arg4::PetscBool,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg7::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg8::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatRestoreColumnIJ,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,PetscBool,PetscBool,Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function MatGetInfo(arg1::Mat{Float32},arg2::MatInfoType,arg3::Union{Ptr{MatInfo},StridedArray{MatInfo},Ptr{MatInfo},Ref{MatInfo}}) - err = ccall((:MatGetInfo,petscRealSingle),PetscErrorCode,(Mat{Float32},MatInfoType,Ptr{MatInfo}),arg1,arg2,arg3) - return err -end - -function MatGetDiagonal(arg1::Mat{Float32},arg2::Vec{Float32}) - err = ccall((:MatGetDiagonal,petscRealSingle),PetscErrorCode,(Mat{Float32},Vec{Float32}),arg1,arg2) - return err -end - -function MatGetRowMax(arg1::Mat{Float32},arg2::Vec{Float32},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatGetRowMax,petscRealSingle),PetscErrorCode,(Mat{Float32},Vec{Float32},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function MatGetRowMin(arg1::Mat{Float32},arg2::Vec{Float32},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatGetRowMin,petscRealSingle),PetscErrorCode,(Mat{Float32},Vec{Float32},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function MatGetRowMaxAbs(arg1::Mat{Float32},arg2::Vec{Float32},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatGetRowMaxAbs,petscRealSingle),PetscErrorCode,(Mat{Float32},Vec{Float32},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function MatGetRowMinAbs(arg1::Mat{Float32},arg2::Vec{Float32},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatGetRowMinAbs,petscRealSingle),PetscErrorCode,(Mat{Float32},Vec{Float32},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function MatGetRowSum(arg1::Mat{Float32},arg2::Vec{Float32}) - err = ccall((:MatGetRowSum,petscRealSingle),PetscErrorCode,(Mat{Float32},Vec{Float32}),arg1,arg2) - return err -end - -function MatTranspose(arg1::Mat{Float32},arg2::MatReuse,arg3::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatTranspose,petscRealSingle),PetscErrorCode,(Mat{Float32},MatReuse,Ptr{Mat{Float32}}),arg1,arg2,arg3) - return err -end - -function MatHermitianTranspose(arg1::Mat{Float32},arg2::MatReuse,arg3::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatHermitianTranspose,petscRealSingle),PetscErrorCode,(Mat{Float32},MatReuse,Ptr{Mat{Float32}}),arg1,arg2,arg3) - return err -end - -function MatPermute(arg1::Mat{Float32},arg2::IS{Float32},arg3::IS{Float32},arg4::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatPermute,petscRealSingle),PetscErrorCode,(Mat{Float32},IS{Float32},IS{Float32},Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function MatDiagonalScale(arg1::Mat{Float32},arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:MatDiagonalScale,petscRealSingle),PetscErrorCode,(Mat{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function MatDiagonalSet(arg1::Mat{Float32},arg2::Vec{Float32},arg3::InsertMode) - err = ccall((:MatDiagonalSet,petscRealSingle),PetscErrorCode,(Mat{Float32},Vec{Float32},InsertMode),arg1,arg2,arg3) - return err -end - -function MatEqual(arg1::Mat{Float32},arg2::Mat{Float32},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatEqual,petscRealSingle),PetscErrorCode,(Mat{Float32},Mat{Float32},Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function MatMultEqual(arg1::Mat{Float32},arg2::Mat{Float32},arg3::Integer,arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatMultEqual,petscRealSingle),PetscErrorCode,(Mat{Float32},Mat{Float32},Int64,Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function MatMultAddEqual(arg1::Mat{Float32},arg2::Mat{Float32},arg3::Integer,arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatMultAddEqual,petscRealSingle),PetscErrorCode,(Mat{Float32},Mat{Float32},Int64,Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function MatMultTransposeEqual(arg1::Mat{Float32},arg2::Mat{Float32},arg3::Integer,arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatMultTransposeEqual,petscRealSingle),PetscErrorCode,(Mat{Float32},Mat{Float32},Int64,Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function MatMultTransposeAddEqual(arg1::Mat{Float32},arg2::Mat{Float32},arg3::Integer,arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatMultTransposeAddEqual,petscRealSingle),PetscErrorCode,(Mat{Float32},Mat{Float32},Int64,Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function MatNorm(arg1::Mat{Float32},arg2::NormType,arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:MatNorm,petscRealSingle),PetscErrorCode,(Mat{Float32},NormType,Ptr{Float32}),arg1,arg2,arg3) - return err -end - -function MatGetColumnNorms(arg1::Mat{Float32},arg2::NormType,arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:MatGetColumnNorms,petscRealSingle),PetscErrorCode,(Mat{Float32},NormType,Ptr{Float32}),arg1,arg2,arg3) - return err -end - -function MatZeroEntries(arg1::Mat{Float32}) - err = ccall((:MatZeroEntries,petscRealSingle),PetscErrorCode,(Mat{Float32},),arg1) - return err -end - -function MatZeroRows(arg1::Mat{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Float32,arg5::Vec{Float32},arg6::Vec{Float32}) - err = ccall((:MatZeroRows,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Ptr{Int64},Float32,Vec{Float32},Vec{Float32}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatZeroRowsIS(arg1::Mat{Float32},arg2::IS{Float32},arg3::Float32,arg4::Vec{Float32},arg5::Vec{Float32}) - err = ccall((:MatZeroRowsIS,petscRealSingle),PetscErrorCode,(Mat{Float32},IS{Float32},Float32,Vec{Float32},Vec{Float32}),arg1,arg2,arg3,arg4,arg5) - return err -end - -#= skipping function with undefined symbols: - function MatZeroRowsStencil(arg1::Mat{Float32},arg2::Integer,arg3::Union{Ptr{MatStencil},StridedArray{MatStencil},Ptr{MatStencil},Ref{MatStencil}},arg4::Float32,arg5::Vec{Float32},arg6::Vec{Float32}) - ccall((:MatZeroRowsStencil,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Ptr{MatStencil},Float32,Vec{Float32},Vec{Float32}),arg1,arg2,arg3,arg4,arg5,arg6) -end -=# -#= skipping function with undefined symbols: - function MatZeroRowsColumnsStencil(arg1::Mat{Float32},arg2::Integer,arg3::Union{Ptr{MatStencil},StridedArray{MatStencil},Ptr{MatStencil},Ref{MatStencil}},arg4::Float32,arg5::Vec{Float32},arg6::Vec{Float32}) - ccall((:MatZeroRowsColumnsStencil,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Ptr{MatStencil},Float32,Vec{Float32},Vec{Float32}),arg1,arg2,arg3,arg4,arg5,arg6) -end -=# -function MatZeroRowsColumns(arg1::Mat{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Float32,arg5::Vec{Float32},arg6::Vec{Float32}) - err = ccall((:MatZeroRowsColumns,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Ptr{Int64},Float32,Vec{Float32},Vec{Float32}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatZeroRowsColumnsIS(arg1::Mat{Float32},arg2::IS{Float32},arg3::Float32,arg4::Vec{Float32},arg5::Vec{Float32}) - err = ccall((:MatZeroRowsColumnsIS,petscRealSingle),PetscErrorCode,(Mat{Float32},IS{Float32},Float32,Vec{Float32},Vec{Float32}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatGetSize(arg1::Mat{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatGetSize,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function MatGetLocalSize(arg1::Mat{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatGetLocalSize,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function MatGetOwnershipRange(arg1::Mat{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatGetOwnershipRange,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function MatGetOwnershipRanges(arg1::Mat{Float32},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:MatGetOwnershipRanges,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function MatGetOwnershipRangeColumn(arg1::Mat{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatGetOwnershipRangeColumn,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function MatGetOwnershipRangesColumn(arg1::Mat{Float32},arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:MatGetOwnershipRangesColumn,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function MatGetOwnershipIS(arg1::Mat{Float32},arg2::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}},arg3::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:MatGetOwnershipIS,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{IS{Float32}},Ptr{IS{Float32}}),arg1,arg2,arg3) - return err -end - -function MatGetSubMatrices(arg1::Mat{Float32},arg2::Integer,arg3::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}},arg4::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}},arg5::MatReuse,arg6::Union{Ptr{Ptr{Mat{Float32}}},StridedArray{Ptr{Mat{Float32}}},Ptr{Ptr{Mat{Float32}}},Ref{Ptr{Mat{Float32}}}}) - err = ccall((:MatGetSubMatrices,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Ptr{IS{Float32}},Ptr{IS{Float32}},MatReuse,Ptr{Ptr{Mat{Float32}}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatGetSubMatricesMPI(arg1::Mat{Float32},arg2::Integer,arg3::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}},arg4::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}},arg5::MatReuse,arg6::Union{Ptr{Ptr{Mat{Float32}}},StridedArray{Ptr{Mat{Float32}}},Ptr{Ptr{Mat{Float32}}},Ref{Ptr{Mat{Float32}}}}) - err = ccall((:MatGetSubMatricesMPI,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Ptr{IS{Float32}},Ptr{IS{Float32}},MatReuse,Ptr{Ptr{Mat{Float32}}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatDestroyMatrices(arg1::Integer,arg2::Union{Ptr{Ptr{Mat{Float32}}},StridedArray{Ptr{Mat{Float32}}},Ptr{Ptr{Mat{Float32}}},Ref{Ptr{Mat{Float32}}}}) - err = ccall((:MatDestroyMatrices,petscRealSingle),PetscErrorCode,(Int64,Ptr{Ptr{Mat{Float32}}}),arg1,arg2) - return err -end - -function MatGetSubMatrix(arg1::Mat{Float32},arg2::IS{Float32},arg3::IS{Float32},arg4::MatReuse,arg5::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatGetSubMatrix,petscRealSingle),PetscErrorCode,(Mat{Float32},IS{Float32},IS{Float32},MatReuse,Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatGetLocalSubMatrix(arg1::Mat{Float32},arg2::IS{Float32},arg3::IS{Float32},arg4::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatGetLocalSubMatrix,petscRealSingle),PetscErrorCode,(Mat{Float32},IS{Float32},IS{Float32},Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function MatRestoreLocalSubMatrix(arg1::Mat{Float32},arg2::IS{Float32},arg3::IS{Float32},arg4::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatRestoreLocalSubMatrix,petscRealSingle),PetscErrorCode,(Mat{Float32},IS{Float32},IS{Float32},Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function MatGetSeqNonzeroStructure(arg1::Mat{Float32},arg2::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatGetSeqNonzeroStructure,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Mat{Float32}}),arg1,arg2) - return err -end - -function MatDestroySeqNonzeroStructure(arg1::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatDestroySeqNonzeroStructure,petscRealSingle),PetscErrorCode,(Ptr{Mat{Float32}},),arg1) - return err -end - -function MatCreateMPIAIJSumSeqAIJ(arg1::MPI_Comm,arg2::Mat{Float32},arg3::Integer,arg4::Integer,arg5::MatReuse,arg6::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateMPIAIJSumSeqAIJ,petscRealSingle),PetscErrorCode,(comm_type,Mat{Float32},Int64,Int64,MatReuse,Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatCreateMPIAIJSumSeqAIJSymbolic(arg1::MPI_Comm,arg2::Mat{Float32},arg3::Integer,arg4::Integer,arg5::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateMPIAIJSumSeqAIJSymbolic,petscRealSingle),PetscErrorCode,(comm_type,Mat{Float32},Int64,Int64,Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatCreateMPIAIJSumSeqAIJNumeric(arg1::Mat{Float32},arg2::Mat{Float32}) - err = ccall((:MatCreateMPIAIJSumSeqAIJNumeric,petscRealSingle),PetscErrorCode,(Mat{Float32},Mat{Float32}),arg1,arg2) - return err -end - -function MatMPIAIJGetLocalMat(arg1::Mat{Float32},arg2::MatReuse,arg3::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatMPIAIJGetLocalMat,petscRealSingle),PetscErrorCode,(Mat{Float32},MatReuse,Ptr{Mat{Float32}}),arg1,arg2,arg3) - return err -end - -function MatMPIAIJGetLocalMatCondensed(arg1::Mat{Float32},arg2::MatReuse,arg3::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}},arg4::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}},arg5::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatMPIAIJGetLocalMatCondensed,petscRealSingle),PetscErrorCode,(Mat{Float32},MatReuse,Ptr{IS{Float32}},Ptr{IS{Float32}},Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatGetBrowsOfAcols(arg1::Mat{Float32},arg2::Mat{Float32},arg3::MatReuse,arg4::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}},arg5::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}},arg6::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatGetBrowsOfAcols,petscRealSingle),PetscErrorCode,(Mat{Float32},Mat{Float32},MatReuse,Ptr{IS{Float32}},Ptr{IS{Float32}},Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatGetGhosts(arg1::Mat{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:MatGetGhosts,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3) - return err -end - -function MatIncreaseOverlap(arg1::Mat{Float32},arg2::Integer,arg3::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}},arg4::Integer) - err = ccall((:MatIncreaseOverlap,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Ptr{IS{Float32}},Int64),arg1,arg2,arg3,arg4) - return err -end - -function MatMatMult(arg1::Mat{Float32},arg2::Mat{Float32},arg3::MatReuse,arg4::Float32,arg5::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatMatMult,petscRealSingle),PetscErrorCode,(Mat{Float32},Mat{Float32},MatReuse,Float32,Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatMatMultSymbolic(arg1::Mat{Float32},arg2::Mat{Float32},arg3::Float32,arg4::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatMatMultSymbolic,petscRealSingle),PetscErrorCode,(Mat{Float32},Mat{Float32},Float32,Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function MatMatMultNumeric(arg1::Mat{Float32},arg2::Mat{Float32},arg3::Mat{Float32}) - err = ccall((:MatMatMultNumeric,petscRealSingle),PetscErrorCode,(Mat{Float32},Mat{Float32},Mat{Float32}),arg1,arg2,arg3) - return err -end - -function MatMatMatMult(arg1::Mat{Float32},arg2::Mat{Float32},arg3::Mat{Float32},arg4::MatReuse,arg5::Float32,arg6::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatMatMatMult,petscRealSingle),PetscErrorCode,(Mat{Float32},Mat{Float32},Mat{Float32},MatReuse,Float32,Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatMatMatMultSymbolic(arg1::Mat{Float32},arg2::Mat{Float32},arg3::Mat{Float32},arg4::Float32,arg5::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatMatMatMultSymbolic,petscRealSingle),PetscErrorCode,(Mat{Float32},Mat{Float32},Mat{Float32},Float32,Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatMatMatMultNumeric(arg1::Mat{Float32},arg2::Mat{Float32},arg3::Mat{Float32},arg4::Mat{Float32}) - err = ccall((:MatMatMatMultNumeric,petscRealSingle),PetscErrorCode,(Mat{Float32},Mat{Float32},Mat{Float32},Mat{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function MatPtAP(arg1::Mat{Float32},arg2::Mat{Float32},arg3::MatReuse,arg4::Float32,arg5::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatPtAP,petscRealSingle),PetscErrorCode,(Mat{Float32},Mat{Float32},MatReuse,Float32,Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatPtAPSymbolic(arg1::Mat{Float32},arg2::Mat{Float32},arg3::Float32,arg4::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatPtAPSymbolic,petscRealSingle),PetscErrorCode,(Mat{Float32},Mat{Float32},Float32,Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function MatPtAPNumeric(arg1::Mat{Float32},arg2::Mat{Float32},arg3::Mat{Float32}) - err = ccall((:MatPtAPNumeric,petscRealSingle),PetscErrorCode,(Mat{Float32},Mat{Float32},Mat{Float32}),arg1,arg2,arg3) - return err -end - -function MatRARt(arg1::Mat{Float32},arg2::Mat{Float32},arg3::MatReuse,arg4::Float32,arg5::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatRARt,petscRealSingle),PetscErrorCode,(Mat{Float32},Mat{Float32},MatReuse,Float32,Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatRARtSymbolic(arg1::Mat{Float32},arg2::Mat{Float32},arg3::Float32,arg4::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatRARtSymbolic,petscRealSingle),PetscErrorCode,(Mat{Float32},Mat{Float32},Float32,Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function MatRARtNumeric(arg1::Mat{Float32},arg2::Mat{Float32},arg3::Mat{Float32}) - err = ccall((:MatRARtNumeric,petscRealSingle),PetscErrorCode,(Mat{Float32},Mat{Float32},Mat{Float32}),arg1,arg2,arg3) - return err -end - -function MatTransposeMatMult(arg1::Mat{Float32},arg2::Mat{Float32},arg3::MatReuse,arg4::Float32,arg5::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatTransposeMatMult,petscRealSingle),PetscErrorCode,(Mat{Float32},Mat{Float32},MatReuse,Float32,Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatTransposetMatMultSymbolic(arg1::Mat{Float32},arg2::Mat{Float32},arg3::Float32,arg4::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatTransposetMatMultSymbolic,petscRealSingle),PetscErrorCode,(Mat{Float32},Mat{Float32},Float32,Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function MatTransposetMatMultNumeric(arg1::Mat{Float32},arg2::Mat{Float32},arg3::Mat{Float32}) - err = ccall((:MatTransposetMatMultNumeric,petscRealSingle),PetscErrorCode,(Mat{Float32},Mat{Float32},Mat{Float32}),arg1,arg2,arg3) - return err -end - -function MatMatTransposeMult(arg1::Mat{Float32},arg2::Mat{Float32},arg3::MatReuse,arg4::Float32,arg5::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatMatTransposeMult,petscRealSingle),PetscErrorCode,(Mat{Float32},Mat{Float32},MatReuse,Float32,Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatMatTransposeMultSymbolic(arg1::Mat{Float32},arg2::Mat{Float32},arg3::Float32,arg4::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatMatTransposeMultSymbolic,petscRealSingle),PetscErrorCode,(Mat{Float32},Mat{Float32},Float32,Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function MatMatTransposeMultNumeric(arg1::Mat{Float32},arg2::Mat{Float32},arg3::Mat{Float32}) - err = ccall((:MatMatTransposeMultNumeric,petscRealSingle),PetscErrorCode,(Mat{Float32},Mat{Float32},Mat{Float32}),arg1,arg2,arg3) - return err -end - -function MatAXPY(arg1::Mat{Float32},arg2::Float32,arg3::Mat{Float32},arg4::MatStructure) - err = ccall((:MatAXPY,petscRealSingle),PetscErrorCode,(Mat{Float32},Float32,Mat{Float32},MatStructure),arg1,arg2,arg3,arg4) - return err -end - -function MatAYPX(arg1::Mat{Float32},arg2::Float32,arg3::Mat{Float32},arg4::MatStructure) - err = ccall((:MatAYPX,petscRealSingle),PetscErrorCode,(Mat{Float32},Float32,Mat{Float32},MatStructure),arg1,arg2,arg3,arg4) - return err -end - -function MatScale(arg1::Mat{Float32},arg2::Float32) - err = ccall((:MatScale,petscRealSingle),PetscErrorCode,(Mat{Float32},Float32),arg1,arg2) - return err -end - -function MatShift(arg1::Mat{Float32},arg2::Float32) - err = ccall((:MatShift,petscRealSingle),PetscErrorCode,(Mat{Float32},Float32),arg1,arg2) - return err -end - -function MatSetLocalToGlobalMapping(arg1::Mat{Float32},arg2::ISLocalToGlobalMapping{Float32},arg3::ISLocalToGlobalMapping{Float32}) - err = ccall((:MatSetLocalToGlobalMapping,petscRealSingle),PetscErrorCode,(Mat{Float32},ISLocalToGlobalMapping{Float32},ISLocalToGlobalMapping{Float32}),arg1,arg2,arg3) - return err -end - -function MatGetLocalToGlobalMapping(arg1::Mat{Float32},arg2::Union{Ptr{ISLocalToGlobalMapping{Float32}},StridedArray{ISLocalToGlobalMapping{Float32}},Ptr{ISLocalToGlobalMapping{Float32}},Ref{ISLocalToGlobalMapping{Float32}}},arg3::Union{Ptr{ISLocalToGlobalMapping{Float32}},StridedArray{ISLocalToGlobalMapping{Float32}},Ptr{ISLocalToGlobalMapping{Float32}},Ref{ISLocalToGlobalMapping{Float32}}}) - err = ccall((:MatGetLocalToGlobalMapping,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{ISLocalToGlobalMapping{Float32}},Ptr{ISLocalToGlobalMapping{Float32}}),arg1,arg2,arg3) - return err -end - -function MatGetLayouts(arg1::Mat{Float32},arg2::Union{Ptr{PetscLayout{Float32}},StridedArray{PetscLayout{Float32}},Ptr{PetscLayout{Float32}},Ref{PetscLayout{Float32}}},arg3::Union{Ptr{PetscLayout{Float32}},StridedArray{PetscLayout{Float32}},Ptr{PetscLayout{Float32}},Ref{PetscLayout{Float32}}}) - err = ccall((:MatGetLayouts,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{PetscLayout{Float32}},Ptr{PetscLayout{Float32}}),arg1,arg2,arg3) - return err -end - -function MatZeroRowsLocal(arg1::Mat{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Float32,arg5::Vec{Float32},arg6::Vec{Float32}) - err = ccall((:MatZeroRowsLocal,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Ptr{Int64},Float32,Vec{Float32},Vec{Float32}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatZeroRowsLocalIS(arg1::Mat{Float32},arg2::IS{Float32},arg3::Float32,arg4::Vec{Float32},arg5::Vec{Float32}) - err = ccall((:MatZeroRowsLocalIS,petscRealSingle),PetscErrorCode,(Mat{Float32},IS{Float32},Float32,Vec{Float32},Vec{Float32}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatZeroRowsColumnsLocal(arg1::Mat{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Float32,arg5::Vec{Float32},arg6::Vec{Float32}) - err = ccall((:MatZeroRowsColumnsLocal,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Ptr{Int64},Float32,Vec{Float32},Vec{Float32}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatZeroRowsColumnsLocalIS(arg1::Mat{Float32},arg2::IS{Float32},arg3::Float32,arg4::Vec{Float32},arg5::Vec{Float32}) - err = ccall((:MatZeroRowsColumnsLocalIS,petscRealSingle),PetscErrorCode,(Mat{Float32},IS{Float32},Float32,Vec{Float32},Vec{Float32}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatSetValuesLocal(arg1::Mat{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg7::InsertMode) - err = ccall((:MatSetValuesLocal,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Ptr{Int64},Int64,Ptr{Int64},Ptr{Float32},InsertMode),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function MatSetValuesBlockedLocal(arg1::Mat{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg7::InsertMode) - err = ccall((:MatSetValuesBlockedLocal,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Ptr{Int64},Int64,Ptr{Int64},Ptr{Float32},InsertMode),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function MatStashSetInitialSize(arg1::Mat{Float32},arg2::Integer,arg3::Integer) - err = ccall((:MatStashSetInitialSize,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Int64),arg1,arg2,arg3) - return err -end - -function MatStashGetInfo(arg1::Mat{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatStashGetInfo,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatInterpolate(arg1::Mat{Float32},arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:MatInterpolate,petscRealSingle),PetscErrorCode,(Mat{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function MatInterpolateAdd(arg1::Mat{Float32},arg2::Vec{Float32},arg3::Vec{Float32},arg4::Vec{Float32}) - err = ccall((:MatInterpolateAdd,petscRealSingle),PetscErrorCode,(Mat{Float32},Vec{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function MatRestrict(arg1::Mat{Float32},arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:MatRestrict,petscRealSingle),PetscErrorCode,(Mat{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function MatCreateVecs(arg1::Mat{Float32},arg2::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}},arg3::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:MatCreateVecs,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Vec{Float32}},Ptr{Vec{Float32}}),arg1,arg2,arg3) - return err -end - -function MatGetVecs(mat::Mat{Float32},x::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}},y::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:MatGetVecs,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Vec{Float32}},Ptr{Vec{Float32}}),mat,x,y) - return err -end - -function MatCreateRedundantMatrix(arg1::Mat{Float32},arg2::Integer,arg3::MPI_Comm,arg4::MatReuse,arg5::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateRedundantMatrix,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,comm_type,MatReuse,Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatGetMultiProcBlock(arg1::Mat{Float32},arg2::MPI_Comm,arg3::MatReuse,arg4::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatGetMultiProcBlock,petscRealSingle),PetscErrorCode,(Mat{Float32},comm_type,MatReuse,Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function MatFindZeroDiagonals(arg1::Mat{Float32},arg2::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:MatFindZeroDiagonals,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{IS{Float32}}),arg1,arg2) - return err -end - -function MatFindOffBlockDiagonalEntries(arg1::Mat{Float32},arg2::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:MatFindOffBlockDiagonalEntries,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{IS{Float32}}),arg1,arg2) - return err -end - -function MatCreateMPIMatConcatenateSeqMat(arg1::MPI_Comm,arg2::Mat{Float32},arg3::Integer,arg4::MatReuse,arg5::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateMPIMatConcatenateSeqMat,petscRealSingle),PetscErrorCode,(comm_type,Mat{Float32},Int64,MatReuse,Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatSetValue(v::Mat{Float32},i::Integer,j::Integer,va::Float32,mode::InsertMode) - err = ccall((:MatSetValue,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Int64,Float32,InsertMode),v,i,j,va,mode) - return err -end - -function MatGetValue(v::Mat{Float32},i::Integer,j::Integer,va::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:MatGetValue,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Int64,Ptr{Float32}),v,i,j,va) - return err -end - -function MatSetValueLocal(v::Mat{Float32},i::Integer,j::Integer,va::Float32,mode::InsertMode) - err = ccall((:MatSetValueLocal,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Int64,Float32,InsertMode),v,i,j,va,mode) - return err -end - -function MatShellGetContext(arg1::Mat{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatShellGetContext,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Void}),arg1,arg2) - return err -end - -function MatInodeAdjustForInodes(arg1::Mat{Float32},arg2::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}},arg3::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:MatInodeAdjustForInodes,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{IS{Float32}},Ptr{IS{Float32}}),arg1,arg2,arg3) - return err -end - -function MatInodeGetInodeSizes(arg1::Mat{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatInodeGetInodeSizes,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function MatSeqAIJSetColumnIndices(arg1::Mat{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatSeqAIJSetColumnIndices,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Int64}),arg1,arg2) - return err -end - -function MatSeqBAIJSetColumnIndices(arg1::Mat{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatSeqBAIJSetColumnIndices,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Int64}),arg1,arg2) - return err -end - -function MatCreateSeqAIJWithArrays(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg7::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateSeqAIJWithArrays,petscRealSingle),PetscErrorCode,(comm_type,Int64,Int64,Ptr{Int64},Ptr{Int64},Ptr{Float32},Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function MatCreateSeqBAIJWithArrays(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg8::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateSeqBAIJWithArrays,petscRealSingle),PetscErrorCode,(comm_type,Int64,Int64,Int64,Ptr{Int64},Ptr{Int64},Ptr{Float32},Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function MatCreateSeqSBAIJWithArrays(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg8::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateSeqSBAIJWithArrays,petscRealSingle),PetscErrorCode,(comm_type,Int64,Int64,Int64,Ptr{Int64},Ptr{Int64},Ptr{Float32},Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function MatCreateSeqAIJFromTriple(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg7::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}},arg8::Integer,arg9::PetscBool) - err = ccall((:MatCreateSeqAIJFromTriple,petscRealSingle),PetscErrorCode,(comm_type,Int64,Int64,Ptr{Int64},Ptr{Int64},Ptr{Float32},Ptr{Mat{Float32}},Int64,PetscBool),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) - return err -end - -function MatSeqBAIJSetPreallocation(arg1::Mat{Float32},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatSeqBAIJSetPreallocation,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Int64,Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function MatSeqSBAIJSetPreallocation(arg1::Mat{Float32},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatSeqSBAIJSetPreallocation,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Int64,Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function MatSeqAIJSetPreallocation(arg1::Mat{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatSeqAIJSetPreallocation,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function MatMPIBAIJSetPreallocation(arg1::Mat{Float32},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatMPIBAIJSetPreallocation,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Int64,Ptr{Int64},Int64,Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatMPISBAIJSetPreallocation(arg1::Mat{Float32},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatMPISBAIJSetPreallocation,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Int64,Ptr{Int64},Int64,Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatMPIAIJSetPreallocation(arg1::Mat{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatMPIAIJSetPreallocation,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Ptr{Int64},Int64,Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatSeqAIJSetPreallocationCSR(arg1::Mat{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:MatSeqAIJSetPreallocationCSR,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Int64},Ptr{Int64},Ptr{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function MatSeqBAIJSetPreallocationCSR(arg1::Mat{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:MatSeqBAIJSetPreallocationCSR,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Ptr{Int64},Ptr{Int64},Ptr{Float32}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatMPIAIJSetPreallocationCSR(arg1::Mat{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:MatMPIAIJSetPreallocationCSR,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Int64},Ptr{Int64},Ptr{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function MatMPIBAIJSetPreallocationCSR(arg1::Mat{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:MatMPIBAIJSetPreallocationCSR,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Ptr{Int64},Ptr{Int64},Ptr{Float32}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatMPIAdjSetPreallocation(arg1::Mat{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatMPIAdjSetPreallocation,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function MatMPIDenseSetPreallocation(arg1::Mat{Float32},arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:MatMPIDenseSetPreallocation,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Float32}),arg1,arg2) - return err -end - -function MatSeqDenseSetPreallocation(arg1::Mat{Float32},arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:MatSeqDenseSetPreallocation,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Float32}),arg1,arg2) - return err -end - -function MatMPIAIJGetSeqAIJ(arg1::Mat{Float32},arg2::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}},arg3::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:MatMPIAIJGetSeqAIJ,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Mat{Float32}},Ptr{Mat{Float32}},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4) - return err -end - -function MatMPIBAIJGetSeqBAIJ(arg1::Mat{Float32},arg2::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}},arg3::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:MatMPIBAIJGetSeqBAIJ,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Mat{Float32}},Ptr{Mat{Float32}},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4) - return err -end - -function MatMPIAdjCreateNonemptySubcommMat(arg1::Mat{Float32},arg2::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatMPIAdjCreateNonemptySubcommMat,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Mat{Float32}}),arg1,arg2) - return err -end - -function MatISSetPreallocation(arg1::Mat{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatISSetPreallocation,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Ptr{Int64},Int64,Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatSeqDenseSetLDA(arg1::Mat{Float32},arg2::Integer) - err = ccall((:MatSeqDenseSetLDA,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64),arg1,arg2) - return err -end - -function MatDenseGetLocalMatrix(arg1::Mat{Float32},arg2::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatDenseGetLocalMatrix,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Mat{Float32}}),arg1,arg2) - return err -end - -function MatStoreValues(arg1::Mat{Float32}) - err = ccall((:MatStoreValues,petscRealSingle),PetscErrorCode,(Mat{Float32},),arg1) - return err -end - -function MatRetrieveValues(arg1::Mat{Float32}) - err = ccall((:MatRetrieveValues,petscRealSingle),PetscErrorCode,(Mat{Float32},),arg1) - return err -end - -function MatDAADSetCtx(arg1::Mat{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatDAADSetCtx,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Void}),arg1,arg2) - return err -end - -function MatFindNonzeroRows(arg1::Mat{Float32},arg2::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:MatFindNonzeroRows,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{IS{Float32}}),arg1,arg2) - return err -end - -function MatGetOrdering(arg1::Mat{Float32},arg2::MatOrderingType,arg3::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}},arg4::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:MatGetOrdering,petscRealSingle),PetscErrorCode,(Mat{Float32},Cstring,Ptr{IS{Float32}},Ptr{IS{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function MatGetOrderingList(arg0::Type{Float32},arg1::Union{Ptr{PetscFunctionList},StridedArray{PetscFunctionList},Ptr{PetscFunctionList},Ref{PetscFunctionList}}) - err = ccall((:MatGetOrderingList,petscRealSingle),PetscErrorCode,(Ptr{PetscFunctionList},),arg1) - return err -end - -function MatOrderingRegister(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatOrderingRegister,petscRealSingle),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function MatReorderForNonzeroDiagonal(arg1::Mat{Float32},arg2::Float32,arg3::IS{Float32},arg4::IS{Float32}) - err = ccall((:MatReorderForNonzeroDiagonal,petscRealSingle),PetscErrorCode,(Mat{Float32},Float32,IS{Float32},IS{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function MatCreateLaplacian(arg1::Mat{Float32},arg2::Float32,arg3::PetscBool,arg4::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateLaplacian,petscRealSingle),PetscErrorCode,(Mat{Float32},Float32,PetscBool,Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -#= skipping function with undefined symbols: - function MatFactorInfoInitialize(arg0::Type{Float32},arg1::Union{Ptr{MatFactorInfo},StridedArray{MatFactorInfo},Ptr{MatFactorInfo},Ref{MatFactorInfo}}) - ccall((:MatFactorInfoInitialize,petscRealSingle),PetscErrorCode,(Ptr{MatFactorInfo},),arg1) -end -=# -#= skipping function with undefined symbols: - function MatCholeskyFactor(arg1::Mat{Float32},arg2::IS{Float32},arg3::Union{Ptr{MatFactorInfo},StridedArray{MatFactorInfo},Ptr{MatFactorInfo},Ref{MatFactorInfo}}) - ccall((:MatCholeskyFactor,petscRealSingle),PetscErrorCode,(Mat{Float32},IS{Float32},Ptr{MatFactorInfo}),arg1,arg2,arg3) -end -=# -#= skipping function with undefined symbols: - function MatCholeskyFactorSymbolic(arg1::Mat{Float32},arg2::Mat{Float32},arg3::IS{Float32},arg4::Union{Ptr{MatFactorInfo},StridedArray{MatFactorInfo},Ptr{MatFactorInfo},Ref{MatFactorInfo}}) - ccall((:MatCholeskyFactorSymbolic,petscRealSingle),PetscErrorCode,(Mat{Float32},Mat{Float32},IS{Float32},Ptr{MatFactorInfo}),arg1,arg2,arg3,arg4) -end -=# -#= skipping function with undefined symbols: - function MatCholeskyFactorNumeric(arg1::Mat{Float32},arg2::Mat{Float32},arg3::Union{Ptr{MatFactorInfo},StridedArray{MatFactorInfo},Ptr{MatFactorInfo},Ref{MatFactorInfo}}) - ccall((:MatCholeskyFactorNumeric,petscRealSingle),PetscErrorCode,(Mat{Float32},Mat{Float32},Ptr{MatFactorInfo}),arg1,arg2,arg3) -end -=# -#= skipping function with undefined symbols: - function MatLUFactor(arg1::Mat{Float32},arg2::IS{Float32},arg3::IS{Float32},arg4::Union{Ptr{MatFactorInfo},StridedArray{MatFactorInfo},Ptr{MatFactorInfo},Ref{MatFactorInfo}}) - ccall((:MatLUFactor,petscRealSingle),PetscErrorCode,(Mat{Float32},IS{Float32},IS{Float32},Ptr{MatFactorInfo}),arg1,arg2,arg3,arg4) -end -=# -#= skipping function with undefined symbols: - function MatILUFactor(arg1::Mat{Float32},arg2::IS{Float32},arg3::IS{Float32},arg4::Union{Ptr{MatFactorInfo},StridedArray{MatFactorInfo},Ptr{MatFactorInfo},Ref{MatFactorInfo}}) - ccall((:MatILUFactor,petscRealSingle),PetscErrorCode,(Mat{Float32},IS{Float32},IS{Float32},Ptr{MatFactorInfo}),arg1,arg2,arg3,arg4) -end -=# -#= skipping function with undefined symbols: - function MatLUFactorSymbolic(arg1::Mat{Float32},arg2::Mat{Float32},arg3::IS{Float32},arg4::IS{Float32},arg5::Union{Ptr{MatFactorInfo},StridedArray{MatFactorInfo},Ptr{MatFactorInfo},Ref{MatFactorInfo}}) - ccall((:MatLUFactorSymbolic,petscRealSingle),PetscErrorCode,(Mat{Float32},Mat{Float32},IS{Float32},IS{Float32},Ptr{MatFactorInfo}),arg1,arg2,arg3,arg4,arg5) -end -=# -#= skipping function with undefined symbols: - function MatILUFactorSymbolic(arg1::Mat{Float32},arg2::Mat{Float32},arg3::IS{Float32},arg4::IS{Float32},arg5::Union{Ptr{MatFactorInfo},StridedArray{MatFactorInfo},Ptr{MatFactorInfo},Ref{MatFactorInfo}}) - ccall((:MatILUFactorSymbolic,petscRealSingle),PetscErrorCode,(Mat{Float32},Mat{Float32},IS{Float32},IS{Float32},Ptr{MatFactorInfo}),arg1,arg2,arg3,arg4,arg5) -end -=# -#= skipping function with undefined symbols: - function MatICCFactorSymbolic(arg1::Mat{Float32},arg2::Mat{Float32},arg3::IS{Float32},arg4::Union{Ptr{MatFactorInfo},StridedArray{MatFactorInfo},Ptr{MatFactorInfo},Ref{MatFactorInfo}}) - ccall((:MatICCFactorSymbolic,petscRealSingle),PetscErrorCode,(Mat{Float32},Mat{Float32},IS{Float32},Ptr{MatFactorInfo}),arg1,arg2,arg3,arg4) -end -=# -#= skipping function with undefined symbols: - function MatICCFactor(arg1::Mat{Float32},arg2::IS{Float32},arg3::Union{Ptr{MatFactorInfo},StridedArray{MatFactorInfo},Ptr{MatFactorInfo},Ref{MatFactorInfo}}) - ccall((:MatICCFactor,petscRealSingle),PetscErrorCode,(Mat{Float32},IS{Float32},Ptr{MatFactorInfo}),arg1,arg2,arg3) -end -=# -#= skipping function with undefined symbols: - function MatLUFactorNumeric(arg1::Mat{Float32},arg2::Mat{Float32},arg3::Union{Ptr{MatFactorInfo},StridedArray{MatFactorInfo},Ptr{MatFactorInfo},Ref{MatFactorInfo}}) - ccall((:MatLUFactorNumeric,petscRealSingle),PetscErrorCode,(Mat{Float32},Mat{Float32},Ptr{MatFactorInfo}),arg1,arg2,arg3) -end -=# -function MatGetInertia(arg1::Mat{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatGetInertia,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function MatSolve(arg1::Mat{Float32},arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:MatSolve,petscRealSingle),PetscErrorCode,(Mat{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function MatForwardSolve(arg1::Mat{Float32},arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:MatForwardSolve,petscRealSingle),PetscErrorCode,(Mat{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function MatBackwardSolve(arg1::Mat{Float32},arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:MatBackwardSolve,petscRealSingle),PetscErrorCode,(Mat{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function MatSolveAdd(arg1::Mat{Float32},arg2::Vec{Float32},arg3::Vec{Float32},arg4::Vec{Float32}) - err = ccall((:MatSolveAdd,petscRealSingle),PetscErrorCode,(Mat{Float32},Vec{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function MatSolveTranspose(arg1::Mat{Float32},arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:MatSolveTranspose,petscRealSingle),PetscErrorCode,(Mat{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function MatSolveTransposeAdd(arg1::Mat{Float32},arg2::Vec{Float32},arg3::Vec{Float32},arg4::Vec{Float32}) - err = ccall((:MatSolveTransposeAdd,petscRealSingle),PetscErrorCode,(Mat{Float32},Vec{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3,arg4) - return err -end - -#= skipping function with undefined symbols: - function MatSolves(arg1::Mat{Float32},arg2::Vecs,arg3::Vecs) - ccall((:MatSolves,petscRealSingle),PetscErrorCode,(Mat{Float32},Vecs,Vecs),arg1,arg2,arg3) -end -=# -function MatSetUnfactored(arg1::Mat{Float32}) - err = ccall((:MatSetUnfactored,petscRealSingle),PetscErrorCode,(Mat{Float32},),arg1) - return err -end - -function MatSOR(arg1::Mat{Float32},arg2::Vec{Float32},arg3::Float32,arg4::MatSORType,arg5::Float32,arg6::Integer,arg7::Integer,arg8::Vec{Float32}) - err = ccall((:MatSOR,petscRealSingle),PetscErrorCode,(Mat{Float32},Vec{Float32},Float32,MatSORType,Float32,Int64,Int64,Vec{Float32}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function MatColoringCreate(arg1::Mat{Float32},arg2::Union{Ptr{MatColoring},StridedArray{MatColoring},Ptr{MatColoring},Ref{MatColoring}}) - err = ccall((:MatColoringCreate,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{MatColoring}),arg1,arg2) - return err -end - -function MatColoringGetDegrees(arg1::Mat{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatColoringGetDegrees,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function MatColoringDestroy(arg0::Type{Float32},arg1::Union{Ptr{MatColoring},StridedArray{MatColoring},Ptr{MatColoring},Ref{MatColoring}}) - err = ccall((:MatColoringDestroy,petscRealSingle),PetscErrorCode,(Ptr{MatColoring},),arg1) - return err -end - -function MatColoringView(arg1::MatColoring,arg2::PetscViewer{Float32}) - err = ccall((:MatColoringView,petscRealSingle),PetscErrorCode,(MatColoring,PetscViewer{Float32}),arg1,arg2) - return err -end - -function MatColoringSetType(arg0::Type{Float32},arg1::MatColoring,arg2::MatColoringType) - err = ccall((:MatColoringSetType,petscRealSingle),PetscErrorCode,(MatColoring,Cstring),arg1,arg2) - return err -end - -function MatColoringSetFromOptions(arg0::Type{Float32},arg1::MatColoring) - err = ccall((:MatColoringSetFromOptions,petscRealSingle),PetscErrorCode,(MatColoring,),arg1) - return err -end - -function MatColoringSetDistance(arg0::Type{Float32},arg1::MatColoring,arg2::Integer) - err = ccall((:MatColoringSetDistance,petscRealSingle),PetscErrorCode,(MatColoring,Int64),arg1,arg2) - return err -end - -function MatColoringGetDistance(arg0::Type{Float32},arg1::MatColoring,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatColoringGetDistance,petscRealSingle),PetscErrorCode,(MatColoring,Ptr{Int64}),arg1,arg2) - return err -end - -function MatColoringSetMaxColors(arg0::Type{Float32},arg1::MatColoring,arg2::Integer) - err = ccall((:MatColoringSetMaxColors,petscRealSingle),PetscErrorCode,(MatColoring,Int64),arg1,arg2) - return err -end - -function MatColoringGetMaxColors(arg0::Type{Float32},arg1::MatColoring,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatColoringGetMaxColors,petscRealSingle),PetscErrorCode,(MatColoring,Ptr{Int64}),arg1,arg2) - return err -end - -function MatColoringApply(arg1::MatColoring,arg2::Union{Ptr{ISColoring{Float32}},StridedArray{ISColoring{Float32}},Ptr{ISColoring{Float32}},Ref{ISColoring{Float32}}}) - err = ccall((:MatColoringApply,petscRealSingle),PetscErrorCode,(MatColoring,Ptr{ISColoring{Float32}}),arg1,arg2) - return err -end - -function MatColoringRegister(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatColoringRegister,petscRealSingle),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function MatColoringPatch(arg1::Mat{Float32},arg2::Integer,arg3::Integer,arg4::Union{Ptr{ISColoringValue},StridedArray{ISColoringValue},Ptr{ISColoringValue},Ref{ISColoringValue}},arg5::Union{Ptr{ISColoring{Float32}},StridedArray{ISColoring{Float32}},Ptr{ISColoring{Float32}},Ref{ISColoring{Float32}}}) - err = ccall((:MatColoringPatch,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Int64,Ptr{ISColoringValue},Ptr{ISColoring{Float32}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatColoringSetWeightType(arg0::Type{Float32},arg1::MatColoring,arg2::MatColoringWeightType) - err = ccall((:MatColoringSetWeightType,petscRealSingle),PetscErrorCode,(MatColoring,MatColoringWeightType),arg1,arg2) - return err -end - -function MatColoringSetWeights(arg0::Type{Float32},arg1::MatColoring,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatColoringSetWeights,petscRealSingle),PetscErrorCode,(MatColoring,Ptr{Float32},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function MatColoringCreateWeights(arg0::Type{Float32},arg1::MatColoring,arg2::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}},lperm::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:MatColoringCreateWeights,petscRealSingle),PetscErrorCode,(MatColoring,Ptr{Ptr{Float32}},Ptr{Ptr{Int64}}),arg1,arg2,lperm) - return err -end - -function MatFDColoringCreate(arg1::Mat{Float32},arg2::ISColoring{Float32},arg3::Union{Ptr{MatFDColoring},StridedArray{MatFDColoring},Ptr{MatFDColoring},Ref{MatFDColoring}}) - err = ccall((:MatFDColoringCreate,petscRealSingle),PetscErrorCode,(Mat{Float32},ISColoring{Float32},Ptr{MatFDColoring}),arg1,arg2,arg3) - return err -end - -function MatFDColoringDestroy(arg0::Type{Float32},arg1::Union{Ptr{MatFDColoring},StridedArray{MatFDColoring},Ptr{MatFDColoring},Ref{MatFDColoring}}) - err = ccall((:MatFDColoringDestroy,petscRealSingle),PetscErrorCode,(Ptr{MatFDColoring},),arg1) - return err -end - -function MatFDColoringView(arg1::MatFDColoring,arg2::PetscViewer{Float32}) - err = ccall((:MatFDColoringView,petscRealSingle),PetscErrorCode,(MatFDColoring,PetscViewer{Float32}),arg1,arg2) - return err -end - -function MatFDColoringSetFunction(arg0::Type{Float32},arg1::MatFDColoring,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatFDColoringSetFunction,petscRealSingle),PetscErrorCode,(MatFDColoring,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function MatFDColoringGetFunction(arg0::Type{Float32},arg1::MatFDColoring,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:MatFDColoringGetFunction,petscRealSingle),PetscErrorCode,(MatFDColoring,Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function MatFDColoringSetParameters(arg0::Type{Float32},arg1::MatFDColoring,arg2::Float32,arg3::Float32) - err = ccall((:MatFDColoringSetParameters,petscRealSingle),PetscErrorCode,(MatFDColoring,Float32,Float32),arg1,arg2,arg3) - return err -end - -function MatFDColoringSetFromOptions(arg0::Type{Float32},arg1::MatFDColoring) - err = ccall((:MatFDColoringSetFromOptions,petscRealSingle),PetscErrorCode,(MatFDColoring,),arg1) - return err -end - -function MatFDColoringApply(arg1::Mat{Float32},arg2::MatFDColoring,arg3::Vec{Float32},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatFDColoringApply,petscRealSingle),PetscErrorCode,(Mat{Float32},MatFDColoring,Vec{Float32},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function MatFDColoringSetF(arg1::MatFDColoring,arg2::Vec{Float32}) - err = ccall((:MatFDColoringSetF,petscRealSingle),PetscErrorCode,(MatFDColoring,Vec{Float32}),arg1,arg2) - return err -end - -function MatFDColoringGetPerturbedColumns(arg0::Type{Float32},arg1::MatFDColoring,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:MatFDColoringGetPerturbedColumns,petscRealSingle),PetscErrorCode,(MatFDColoring,Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3) - return err -end - -function MatFDColoringSetUp(arg1::Mat{Float32},arg2::ISColoring{Float32},arg3::MatFDColoring) - err = ccall((:MatFDColoringSetUp,petscRealSingle),PetscErrorCode,(Mat{Float32},ISColoring{Float32},MatFDColoring),arg1,arg2,arg3) - return err -end - -function MatFDColoringSetBlockSize(arg0::Type{Float32},arg1::MatFDColoring,arg2::Integer,arg3::Integer) - err = ccall((:MatFDColoringSetBlockSize,petscRealSingle),PetscErrorCode,(MatFDColoring,Int64,Int64),arg1,arg2,arg3) - return err -end - -function MatTransposeColoringCreate(arg1::Mat{Float32},arg2::ISColoring{Float32},arg3::Union{Ptr{MatTransposeColoring},StridedArray{MatTransposeColoring},Ptr{MatTransposeColoring},Ref{MatTransposeColoring}}) - err = ccall((:MatTransposeColoringCreate,petscRealSingle),PetscErrorCode,(Mat{Float32},ISColoring{Float32},Ptr{MatTransposeColoring}),arg1,arg2,arg3) - return err -end - -function MatTransColoringApplySpToDen(arg1::MatTransposeColoring,arg2::Mat{Float32},arg3::Mat{Float32}) - err = ccall((:MatTransColoringApplySpToDen,petscRealSingle),PetscErrorCode,(MatTransposeColoring,Mat{Float32},Mat{Float32}),arg1,arg2,arg3) - return err -end - -function MatTransColoringApplyDenToSp(arg1::MatTransposeColoring,arg2::Mat{Float32},arg3::Mat{Float32}) - err = ccall((:MatTransColoringApplyDenToSp,petscRealSingle),PetscErrorCode,(MatTransposeColoring,Mat{Float32},Mat{Float32}),arg1,arg2,arg3) - return err -end - -function MatTransposeColoringDestroy(arg0::Type{Float32},arg1::Union{Ptr{MatTransposeColoring},StridedArray{MatTransposeColoring},Ptr{MatTransposeColoring},Ref{MatTransposeColoring}}) - err = ccall((:MatTransposeColoringDestroy,petscRealSingle),PetscErrorCode,(Ptr{MatTransposeColoring},),arg1) - return err -end - -function MatPartitioningCreate(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{MatPartitioning},StridedArray{MatPartitioning},Ptr{MatPartitioning},Ref{MatPartitioning}}) - err = ccall((:MatPartitioningCreate,petscRealSingle),PetscErrorCode,(comm_type,Ptr{MatPartitioning}),arg1,arg2) - return err -end - -function MatPartitioningSetType(arg0::Type{Float32},arg1::MatPartitioning,arg2::MatPartitioningType) - err = ccall((:MatPartitioningSetType,petscRealSingle),PetscErrorCode,(MatPartitioning,Cstring),arg1,arg2) - return err -end - -function MatPartitioningSetNParts(arg0::Type{Float32},arg1::MatPartitioning,arg2::Integer) - err = ccall((:MatPartitioningSetNParts,petscRealSingle),PetscErrorCode,(MatPartitioning,Int64),arg1,arg2) - return err -end - -function MatPartitioningSetAdjacency(arg1::MatPartitioning,arg2::Mat{Float32}) - err = ccall((:MatPartitioningSetAdjacency,petscRealSingle),PetscErrorCode,(MatPartitioning,Mat{Float32}),arg1,arg2) - return err -end - -function MatPartitioningSetVertexWeights(arg0::Type{Float32},arg1::MatPartitioning,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatPartitioningSetVertexWeights,petscRealSingle),PetscErrorCode,(MatPartitioning,Ptr{Int64}),arg1,arg2) - return err -end - -function MatPartitioningSetPartitionWeights(arg0::Type{Float32},arg1::MatPartitioning,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:MatPartitioningSetPartitionWeights,petscRealSingle),PetscErrorCode,(MatPartitioning,Ptr{Float32}),arg1,arg2) - return err -end - -function MatPartitioningApply(arg1::MatPartitioning,arg2::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:MatPartitioningApply,petscRealSingle),PetscErrorCode,(MatPartitioning,Ptr{IS{Float32}}),arg1,arg2) - return err -end - -function MatPartitioningDestroy(arg0::Type{Float32},arg1::Union{Ptr{MatPartitioning},StridedArray{MatPartitioning},Ptr{MatPartitioning},Ref{MatPartitioning}}) - err = ccall((:MatPartitioningDestroy,petscRealSingle),PetscErrorCode,(Ptr{MatPartitioning},),arg1) - return err -end - -function MatPartitioningRegister(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatPartitioningRegister,petscRealSingle),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function MatPartitioningView(arg1::MatPartitioning,arg2::PetscViewer{Float32}) - err = ccall((:MatPartitioningView,petscRealSingle),PetscErrorCode,(MatPartitioning,PetscViewer{Float32}),arg1,arg2) - return err -end - -function MatPartitioningSetFromOptions(arg0::Type{Float32},arg1::MatPartitioning) - err = ccall((:MatPartitioningSetFromOptions,petscRealSingle),PetscErrorCode,(MatPartitioning,),arg1) - return err -end - -function MatPartitioningGetType(arg0::Type{Float32},arg1::MatPartitioning,arg2::Union{Ptr{MatPartitioningType},StridedArray{MatPartitioningType},Ptr{MatPartitioningType},Ref{MatPartitioningType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:MatPartitioningGetType,petscRealSingle),PetscErrorCode,(MatPartitioning,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function MatPartitioningParmetisSetCoarseSequential(arg0::Type{Float32},arg1::MatPartitioning) - err = ccall((:MatPartitioningParmetisSetCoarseSequential,petscRealSingle),PetscErrorCode,(MatPartitioning,),arg1) - return err -end - -function MatPartitioningParmetisGetEdgeCut(arg0::Type{Float32},arg1::MatPartitioning,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatPartitioningParmetisGetEdgeCut,petscRealSingle),PetscErrorCode,(MatPartitioning,Ptr{Int64}),arg1,arg2) - return err -end - -function MatPartitioningChacoSetGlobal(arg0::Type{Float32},arg1::MatPartitioning,arg2::MPChacoGlobalType) - err = ccall((:MatPartitioningChacoSetGlobal,petscRealSingle),PetscErrorCode,(MatPartitioning,MPChacoGlobalType),arg1,arg2) - return err -end - -function MatPartitioningChacoGetGlobal(arg0::Type{Float32},arg1::MatPartitioning,arg2::Union{Ptr{MPChacoGlobalType},StridedArray{MPChacoGlobalType},Ptr{MPChacoGlobalType},Ref{MPChacoGlobalType}}) - err = ccall((:MatPartitioningChacoGetGlobal,petscRealSingle),PetscErrorCode,(MatPartitioning,Ptr{MPChacoGlobalType}),arg1,arg2) - return err -end - -function MatPartitioningChacoSetLocal(arg0::Type{Float32},arg1::MatPartitioning,arg2::MPChacoLocalType) - err = ccall((:MatPartitioningChacoSetLocal,petscRealSingle),PetscErrorCode,(MatPartitioning,MPChacoLocalType),arg1,arg2) - return err -end - -function MatPartitioningChacoGetLocal(arg0::Type{Float32},arg1::MatPartitioning,arg2::Union{Ptr{MPChacoLocalType},StridedArray{MPChacoLocalType},Ptr{MPChacoLocalType},Ref{MPChacoLocalType}}) - err = ccall((:MatPartitioningChacoGetLocal,petscRealSingle),PetscErrorCode,(MatPartitioning,Ptr{MPChacoLocalType}),arg1,arg2) - return err -end - -function MatPartitioningChacoSetCoarseLevel(arg0::Type{Float32},arg1::MatPartitioning,arg2::Float32) - err = ccall((:MatPartitioningChacoSetCoarseLevel,petscRealSingle),PetscErrorCode,(MatPartitioning,Float32),arg1,arg2) - return err -end - -function MatPartitioningChacoSetEigenSolver(arg0::Type{Float32},arg1::MatPartitioning,arg2::MPChacoEigenType) - err = ccall((:MatPartitioningChacoSetEigenSolver,petscRealSingle),PetscErrorCode,(MatPartitioning,MPChacoEigenType),arg1,arg2) - return err -end - -function MatPartitioningChacoGetEigenSolver(arg0::Type{Float32},arg1::MatPartitioning,arg2::Union{Ptr{MPChacoEigenType},StridedArray{MPChacoEigenType},Ptr{MPChacoEigenType},Ref{MPChacoEigenType}}) - err = ccall((:MatPartitioningChacoGetEigenSolver,petscRealSingle),PetscErrorCode,(MatPartitioning,Ptr{MPChacoEigenType}),arg1,arg2) - return err -end - -function MatPartitioningChacoSetEigenTol(arg0::Type{Float32},arg1::MatPartitioning,arg2::Float32) - err = ccall((:MatPartitioningChacoSetEigenTol,petscRealSingle),PetscErrorCode,(MatPartitioning,Float32),arg1,arg2) - return err -end - -function MatPartitioningChacoGetEigenTol(arg0::Type{Float32},arg1::MatPartitioning,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:MatPartitioningChacoGetEigenTol,petscRealSingle),PetscErrorCode,(MatPartitioning,Ptr{Float32}),arg1,arg2) - return err -end - -function MatPartitioningChacoSetEigenNumber(arg0::Type{Float32},arg1::MatPartitioning,arg2::Integer) - err = ccall((:MatPartitioningChacoSetEigenNumber,petscRealSingle),PetscErrorCode,(MatPartitioning,Int64),arg1,arg2) - return err -end - -function MatPartitioningChacoGetEigenNumber(arg0::Type{Float32},arg1::MatPartitioning,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatPartitioningChacoGetEigenNumber,petscRealSingle),PetscErrorCode,(MatPartitioning,Ptr{Int64}),arg1,arg2) - return err -end - -function MatPartitioningPartySetGlobal(arg0::Type{Float32},arg1::MatPartitioning,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:MatPartitioningPartySetGlobal,petscRealSingle),PetscErrorCode,(MatPartitioning,Cstring),arg1,arg2) - return err -end - -function MatPartitioningPartySetLocal(arg0::Type{Float32},arg1::MatPartitioning,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:MatPartitioningPartySetLocal,petscRealSingle),PetscErrorCode,(MatPartitioning,Cstring),arg1,arg2) - return err -end - -function MatPartitioningPartySetCoarseLevel(arg0::Type{Float32},arg1::MatPartitioning,arg2::Float32) - err = ccall((:MatPartitioningPartySetCoarseLevel,petscRealSingle),PetscErrorCode,(MatPartitioning,Float32),arg1,arg2) - return err -end - -function MatPartitioningPartySetBipart(arg0::Type{Float32},arg1::MatPartitioning,arg2::PetscBool) - err = ccall((:MatPartitioningPartySetBipart,petscRealSingle),PetscErrorCode,(MatPartitioning,PetscBool),arg1,arg2) - return err -end - -function MatPartitioningPartySetMatchOptimization(arg0::Type{Float32},arg1::MatPartitioning,arg2::PetscBool) - err = ccall((:MatPartitioningPartySetMatchOptimization,petscRealSingle),PetscErrorCode,(MatPartitioning,PetscBool),arg1,arg2) - return err -end - -function MatPartitioningPTScotchSetImbalance(arg0::Type{Float32},arg1::MatPartitioning,arg2::Float32) - err = ccall((:MatPartitioningPTScotchSetImbalance,petscRealSingle),PetscErrorCode,(MatPartitioning,Float32),arg1,arg2) - return err -end - -function MatPartitioningPTScotchGetImbalance(arg0::Type{Float32},arg1::MatPartitioning,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:MatPartitioningPTScotchGetImbalance,petscRealSingle),PetscErrorCode,(MatPartitioning,Ptr{Float32}),arg1,arg2) - return err -end - -function MatPartitioningPTScotchSetStrategy(arg0::Type{Float32},arg1::MatPartitioning,arg2::MPPTScotchStrategyType) - err = ccall((:MatPartitioningPTScotchSetStrategy,petscRealSingle),PetscErrorCode,(MatPartitioning,MPPTScotchStrategyType),arg1,arg2) - return err -end - -function MatPartitioningPTScotchGetStrategy(arg0::Type{Float32},arg1::MatPartitioning,arg2::Union{Ptr{MPPTScotchStrategyType},StridedArray{MPPTScotchStrategyType},Ptr{MPPTScotchStrategyType},Ref{MPPTScotchStrategyType}}) - err = ccall((:MatPartitioningPTScotchGetStrategy,petscRealSingle),PetscErrorCode,(MatPartitioning,Ptr{MPPTScotchStrategyType}),arg1,arg2) - return err -end - -function MatCoarsenCreate(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{MatCoarsen},StridedArray{MatCoarsen},Ptr{MatCoarsen},Ref{MatCoarsen}}) - err = ccall((:MatCoarsenCreate,petscRealSingle),PetscErrorCode,(comm_type,Ptr{MatCoarsen}),arg1,arg2) - return err -end - -function MatCoarsenSetType(arg0::Type{Float32},arg1::MatCoarsen,arg2::MatCoarsenType) - err = ccall((:MatCoarsenSetType,petscRealSingle),PetscErrorCode,(MatCoarsen,Cstring),arg1,arg2) - return err -end - -function MatCoarsenSetAdjacency(arg1::MatCoarsen,arg2::Mat{Float32}) - err = ccall((:MatCoarsenSetAdjacency,petscRealSingle),PetscErrorCode,(MatCoarsen,Mat{Float32}),arg1,arg2) - return err -end - -function MatCoarsenSetGreedyOrdering(arg1::MatCoarsen,arg2::IS{Float32}) - err = ccall((:MatCoarsenSetGreedyOrdering,petscRealSingle),PetscErrorCode,(MatCoarsen,IS{Float32}),arg1,arg2) - return err -end - -function MatCoarsenSetStrictAggs(arg0::Type{Float32},arg1::MatCoarsen,arg2::PetscBool) - err = ccall((:MatCoarsenSetStrictAggs,petscRealSingle),PetscErrorCode,(MatCoarsen,PetscBool),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function MatCoarsenGetData(arg0::Type{Float32},arg1::MatCoarsen,arg2::Union{Ptr{Ptr{PetscCoarsenData}},StridedArray{Ptr{PetscCoarsenData}},Ptr{Ptr{PetscCoarsenData}},Ref{Ptr{PetscCoarsenData}}}) - ccall((:MatCoarsenGetData,petscRealSingle),PetscErrorCode,(MatCoarsen,Ptr{Ptr{PetscCoarsenData}}),arg1,arg2) -end -=# -function MatCoarsenApply(arg0::Type{Float32},arg1::MatCoarsen) - err = ccall((:MatCoarsenApply,petscRealSingle),PetscErrorCode,(MatCoarsen,),arg1) - return err -end - -function MatCoarsenDestroy(arg0::Type{Float32},arg1::Union{Ptr{MatCoarsen},StridedArray{MatCoarsen},Ptr{MatCoarsen},Ref{MatCoarsen}}) - err = ccall((:MatCoarsenDestroy,petscRealSingle),PetscErrorCode,(Ptr{MatCoarsen},),arg1) - return err -end - -function MatCoarsenRegister(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatCoarsenRegister,petscRealSingle),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function MatCoarsenView(arg1::MatCoarsen,arg2::PetscViewer{Float32}) - err = ccall((:MatCoarsenView,petscRealSingle),PetscErrorCode,(MatCoarsen,PetscViewer{Float32}),arg1,arg2) - return err -end - -function MatCoarsenSetFromOptions(arg0::Type{Float32},arg1::MatCoarsen) - err = ccall((:MatCoarsenSetFromOptions,petscRealSingle),PetscErrorCode,(MatCoarsen,),arg1) - return err -end - -function MatCoarsenGetType(arg0::Type{Float32},arg1::MatCoarsen,arg2::Union{Ptr{MatCoarsenType},StridedArray{MatCoarsenType},Ptr{MatCoarsenType},Ref{MatCoarsenType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:MatCoarsenGetType,petscRealSingle),PetscErrorCode,(MatCoarsen,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function MatCoarsenViewFromOptions(arg0::Type{Float32},A::MatCoarsen,obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:MatCoarsenViewFromOptions,petscRealSingle),PetscErrorCode,(MatCoarsen,PetscObject,Cstring),A,obj,name) - return err -end - -function MatMeshToVertexGraph(arg1::Mat{Float32},arg2::Integer,arg3::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatMeshToVertexGraph,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Ptr{Mat{Float32}}),arg1,arg2,arg3) - return err -end - -function MatMeshToCellGraph(arg1::Mat{Float32},arg2::Integer,arg3::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatMeshToCellGraph,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Ptr{Mat{Float32}}),arg1,arg2,arg3) - return err -end - -function MatHasOperation(arg1::Mat{Float32},arg2::MatOperation,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatHasOperation,petscRealSingle),PetscErrorCode,(Mat{Float32},MatOperation,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function MatShellSetOperation(arg1::Mat{Float32},arg2::MatOperation,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatShellSetOperation,petscRealSingle),PetscErrorCode,(Mat{Float32},MatOperation,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function MatShellGetOperation(arg1::Mat{Float32},arg2::MatOperation,arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:MatShellGetOperation,petscRealSingle),PetscErrorCode,(Mat{Float32},MatOperation,Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function MatShellSetContext(arg1::Mat{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatShellSetContext,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Void}),arg1,arg2) - return err -end - -function MatMPIBAIJSetHashTableFactor(arg1::Mat{Float32},arg2::Float32) - err = ccall((:MatMPIBAIJSetHashTableFactor,petscRealSingle),PetscErrorCode,(Mat{Float32},Float32),arg1,arg2) - return err -end - -function MatISGetLocalMat(arg1::Mat{Float32},arg2::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatISGetLocalMat,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Mat{Float32}}),arg1,arg2) - return err -end - -function MatISSetLocalMat(arg1::Mat{Float32},arg2::Mat{Float32}) - err = ccall((:MatISSetLocalMat,petscRealSingle),PetscErrorCode,(Mat{Float32},Mat{Float32}),arg1,arg2) - return err -end - -function MatISGetMPIXAIJ(arg1::Mat{Float32},arg2::MatReuse,arg3::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatISGetMPIXAIJ,petscRealSingle),PetscErrorCode,(Mat{Float32},MatReuse,Ptr{Mat{Float32}}),arg1,arg2,arg3) - return err -end - -function MatNullSpaceCreate(arg1::MPI_Comm,arg2::PetscBool,arg3::Integer,arg4::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}},arg5::Union{Ptr{MatNullSpace},StridedArray{MatNullSpace},Ptr{MatNullSpace},Ref{MatNullSpace}}) - err = ccall((:MatNullSpaceCreate,petscRealSingle),PetscErrorCode,(comm_type,PetscBool,Int64,Ptr{Vec{Float32}},Ptr{MatNullSpace}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatNullSpaceSetFunction(arg0::Type{Float32},arg1::MatNullSpace,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatNullSpaceSetFunction,petscRealSingle),PetscErrorCode,(MatNullSpace,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function MatNullSpaceDestroy(arg0::Type{Float32},arg1::Union{Ptr{MatNullSpace},StridedArray{MatNullSpace},Ptr{MatNullSpace},Ref{MatNullSpace}}) - err = ccall((:MatNullSpaceDestroy,petscRealSingle),PetscErrorCode,(Ptr{MatNullSpace},),arg1) - return err -end - -function MatNullSpaceRemove(arg1::MatNullSpace,arg2::Vec{Float32}) - err = ccall((:MatNullSpaceRemove,petscRealSingle),PetscErrorCode,(MatNullSpace,Vec{Float32}),arg1,arg2) - return err -end - -function MatGetNullSpace(arg1::Mat{Float32},arg2::Union{Ptr{MatNullSpace},StridedArray{MatNullSpace},Ptr{MatNullSpace},Ref{MatNullSpace}}) - err = ccall((:MatGetNullSpace,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{MatNullSpace}),arg1,arg2) - return err -end - -function MatGetTransposeNullSpace(arg1::Mat{Float32},arg2::Union{Ptr{MatNullSpace},StridedArray{MatNullSpace},Ptr{MatNullSpace},Ref{MatNullSpace}}) - err = ccall((:MatGetTransposeNullSpace,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{MatNullSpace}),arg1,arg2) - return err -end - -function MatSetTransposeNullSpace(arg1::Mat{Float32},arg2::MatNullSpace) - err = ccall((:MatSetTransposeNullSpace,petscRealSingle),PetscErrorCode,(Mat{Float32},MatNullSpace),arg1,arg2) - return err -end - -function MatSetNullSpace(arg1::Mat{Float32},arg2::MatNullSpace) - err = ccall((:MatSetNullSpace,petscRealSingle),PetscErrorCode,(Mat{Float32},MatNullSpace),arg1,arg2) - return err -end - -function MatSetNearNullSpace(arg1::Mat{Float32},arg2::MatNullSpace) - err = ccall((:MatSetNearNullSpace,petscRealSingle),PetscErrorCode,(Mat{Float32},MatNullSpace),arg1,arg2) - return err -end - -function MatGetNearNullSpace(arg1::Mat{Float32},arg2::Union{Ptr{MatNullSpace},StridedArray{MatNullSpace},Ptr{MatNullSpace},Ref{MatNullSpace}}) - err = ccall((:MatGetNearNullSpace,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{MatNullSpace}),arg1,arg2) - return err -end - -function MatNullSpaceTest(arg1::MatNullSpace,arg2::Mat{Float32},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:MatNullSpaceTest,petscRealSingle),PetscErrorCode,(MatNullSpace,Mat{Float32},Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function MatNullSpaceView(arg1::MatNullSpace,arg2::PetscViewer{Float32}) - err = ccall((:MatNullSpaceView,petscRealSingle),PetscErrorCode,(MatNullSpace,PetscViewer{Float32}),arg1,arg2) - return err -end - -function MatNullSpaceGetVecs(arg1::MatNullSpace,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{Vec{Float32}}},StridedArray{Ptr{Vec{Float32}}},Ptr{Ptr{Vec{Float32}}},Ref{Ptr{Vec{Float32}}}}) - err = ccall((:MatNullSpaceGetVecs,petscRealSingle),PetscErrorCode,(MatNullSpace,Ptr{PetscBool},Ptr{Int64},Ptr{Ptr{Vec{Float32}}}),arg1,arg2,arg3,arg4) - return err -end - -function MatNullSpaceCreateRigidBody(arg1::Vec{Float32},arg2::Union{Ptr{MatNullSpace},StridedArray{MatNullSpace},Ptr{MatNullSpace},Ref{MatNullSpace}}) - err = ccall((:MatNullSpaceCreateRigidBody,petscRealSingle),PetscErrorCode,(Vec{Float32},Ptr{MatNullSpace}),arg1,arg2) - return err -end - -function MatReorderingSeqSBAIJ(arg1::Mat{Float32},arg2::IS{Float32}) - err = ccall((:MatReorderingSeqSBAIJ,petscRealSingle),PetscErrorCode,(Mat{Float32},IS{Float32}),arg1,arg2) - return err -end - -function MatMPISBAIJSetHashTableFactor(arg1::Mat{Float32},arg2::Float32) - err = ccall((:MatMPISBAIJSetHashTableFactor,petscRealSingle),PetscErrorCode,(Mat{Float32},Float32),arg1,arg2) - return err -end - -function MatSeqSBAIJSetColumnIndices(arg1::Mat{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatSeqSBAIJSetColumnIndices,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Int64}),arg1,arg2) - return err -end - -function MatSeqBAIJInvertBlockDiagonal(arg1::Mat{Float32}) - err = ccall((:MatSeqBAIJInvertBlockDiagonal,petscRealSingle),PetscErrorCode,(Mat{Float32},),arg1) - return err -end - -function MatCreateMAIJ(arg1::Mat{Float32},arg2::Integer,arg3::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateMAIJ,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Ptr{Mat{Float32}}),arg1,arg2,arg3) - return err -end - -function MatMAIJRedimension(arg1::Mat{Float32},arg2::Integer,arg3::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatMAIJRedimension,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Ptr{Mat{Float32}}),arg1,arg2,arg3) - return err -end - -function MatMAIJGetAIJ(arg1::Mat{Float32},arg2::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatMAIJGetAIJ,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Mat{Float32}}),arg1,arg2) - return err -end - -function MatComputeExplicitOperator(arg1::Mat{Float32},arg2::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatComputeExplicitOperator,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Mat{Float32}}),arg1,arg2) - return err -end - -function MatDiagonalScaleLocal(arg1::Mat{Float32},arg2::Vec{Float32}) - err = ccall((:MatDiagonalScaleLocal,petscRealSingle),PetscErrorCode,(Mat{Float32},Vec{Float32}),arg1,arg2) - return err -end - -function MatCreateMFFD(arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateMFFD,petscRealSingle),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatMFFDSetBase(arg1::Mat{Float32},arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:MatMFFDSetBase,petscRealSingle),PetscErrorCode,(Mat{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function MatMFFDSetFunction(arg1::Mat{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatMFFDSetFunction,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function MatMFFDSetFunctioni(arg1::Mat{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatMFFDSetFunctioni,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Void}),arg1,arg2) - return err -end - -function MatMFFDSetFunctioniBase(arg1::Mat{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatMFFDSetFunctioniBase,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Void}),arg1,arg2) - return err -end - -function MatMFFDAddNullSpace(arg1::Mat{Float32},arg2::MatNullSpace) - err = ccall((:MatMFFDAddNullSpace,petscRealSingle),PetscErrorCode,(Mat{Float32},MatNullSpace),arg1,arg2) - return err -end - -function MatMFFDSetHHistory(arg1::Mat{Float32},arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg3::Integer) - err = ccall((:MatMFFDSetHHistory,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Float32},Int64),arg1,arg2,arg3) - return err -end - -function MatMFFDResetHHistory(arg1::Mat{Float32}) - err = ccall((:MatMFFDResetHHistory,petscRealSingle),PetscErrorCode,(Mat{Float32},),arg1) - return err -end - -function MatMFFDSetFunctionError(arg1::Mat{Float32},arg2::Float32) - err = ccall((:MatMFFDSetFunctionError,petscRealSingle),PetscErrorCode,(Mat{Float32},Float32),arg1,arg2) - return err -end - -function MatMFFDSetPeriod(arg1::Mat{Float32},arg2::Integer) - err = ccall((:MatMFFDSetPeriod,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64),arg1,arg2) - return err -end - -function MatMFFDGetH(arg1::Mat{Float32},arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:MatMFFDGetH,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Float32}),arg1,arg2) - return err -end - -function MatMFFDSetOptionsPrefix(arg1::Mat{Float32},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:MatMFFDSetOptionsPrefix,petscRealSingle),PetscErrorCode,(Mat{Float32},Cstring),arg1,arg2) - return err -end - -function MatMFFDCheckPositivity(arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg2::Vec{Float32},arg3::Vec{Float32},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:MatMFFDCheckPositivity,petscRealSingle),PetscErrorCode,(Ptr{Void},Vec{Float32},Vec{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function MatMFFDSetCheckh(arg1::Mat{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatMFFDSetCheckh,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function MatMFFDSetType(arg1::Mat{Float32},arg2::MatMFFDType) - err = ccall((:MatMFFDSetType,petscRealSingle),PetscErrorCode,(Mat{Float32},Cstring),arg1,arg2) - return err -end - -function MatMFFDRegister(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatMFFDRegister,petscRealSingle),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function MatMFFDDSSetUmin(arg1::Mat{Float32},arg2::Float32) - err = ccall((:MatMFFDDSSetUmin,petscRealSingle),PetscErrorCode,(Mat{Float32},Float32),arg1,arg2) - return err -end - -function MatMFFDWPSetComputeNormU(arg1::Mat{Float32},arg2::PetscBool) - err = ccall((:MatMFFDWPSetComputeNormU,petscRealSingle),PetscErrorCode,(Mat{Float32},PetscBool),arg1,arg2) - return err -end - -function PetscViewerMathematicaPutMatrix(arg1::PetscViewer{Float32},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:PetscViewerMathematicaPutMatrix,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Int64,Int64,Ptr{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function PetscViewerMathematicaPutCSRMatrix(arg1::PetscViewer{Float32},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:PetscViewerMathematicaPutCSRMatrix,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},Int64,Int64,Ptr{Int64},Ptr{Int64},Ptr{Float32}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatCreateNest(arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}},arg4::Integer,arg5::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}},arg6::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}},arg7::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateNest,petscRealSingle),PetscErrorCode,(comm_type,Int64,Ptr{IS{Float32}},Int64,Ptr{IS{Float32}},Ptr{Mat{Float32}},Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function MatNestGetSize(arg1::Mat{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatNestGetSize,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function MatNestGetISs(arg1::Mat{Float32},arg2::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}},arg3::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:MatNestGetISs,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{IS{Float32}},Ptr{IS{Float32}}),arg1,arg2,arg3) - return err -end - -function MatNestGetLocalISs(arg1::Mat{Float32},arg2::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}},arg3::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:MatNestGetLocalISs,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{IS{Float32}},Ptr{IS{Float32}}),arg1,arg2,arg3) - return err -end - -function MatNestGetSubMats(arg1::Mat{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{Ptr{Mat{Float32}}}},StridedArray{Ptr{Ptr{Mat{Float32}}}},Ptr{Ptr{Ptr{Mat{Float32}}}},Ref{Ptr{Ptr{Mat{Float32}}}}}) - err = ccall((:MatNestGetSubMats,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Int64},Ptr{Int64},Ptr{Ptr{Ptr{Mat{Float32}}}}),arg1,arg2,arg3,arg4) - return err -end - -function MatNestGetSubMat(arg1::Mat{Float32},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatNestGetSubMat,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Int64,Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function MatNestSetVecType(arg1::Mat{Float32},arg2::VecType) - err = ccall((:MatNestSetVecType,petscRealSingle),PetscErrorCode,(Mat{Float32},Cstring),arg1,arg2) - return err -end - -function MatNestSetSubMats(arg1::Mat{Float32},arg2::Integer,arg3::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}},arg4::Integer,arg5::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}},arg6::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatNestSetSubMats,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Ptr{IS{Float32}},Int64,Ptr{IS{Float32}},Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatNestSetSubMat(arg1::Mat{Float32},arg2::Integer,arg3::Integer,arg4::Mat{Float32}) - err = ccall((:MatNestSetSubMat,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Int64,Mat{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function MatChop(arg1::Mat{Float32},arg2::Float32) - err = ccall((:MatChop,petscRealSingle),PetscErrorCode,(Mat{Float32},Float32),arg1,arg2) - return err -end - -function MatComputeBandwidth(arg1::Mat{Float32},arg2::Float32,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:MatComputeBandwidth,petscRealSingle),PetscErrorCode,(Mat{Float32},Float32,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function MatSubdomainsCreateCoalesce(arg1::Mat{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{IS{Float32}}},StridedArray{Ptr{IS{Float32}}},Ptr{Ptr{IS{Float32}}},Ref{Ptr{IS{Float32}}}}) - err = ccall((:MatSubdomainsCreateCoalesce,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Ptr{Int64},Ptr{Ptr{IS{Float32}}}),arg1,arg2,arg3,arg4) - return err -end - -function DMInitializePackage(arg0::Type{Float32}) - err = ccall((:DMInitializePackage,petscRealSingle),PetscErrorCode,()) - return err -end - -function DMCreate(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMCreate,petscRealSingle),PetscErrorCode,(comm_type,Ptr{DM}),arg1,arg2) - return err -end - -function DMClone(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMClone,petscRealSingle),PetscErrorCode,(DM,Ptr{DM}),arg1,arg2) - return err -end - -function DMSetType(arg0::Type{Float32},arg1::DM,arg2::DMType) - err = ccall((:DMSetType,petscRealSingle),PetscErrorCode,(DM,Cstring),arg1,arg2) - return err -end - -function DMGetType(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{DMType},StridedArray{DMType},Ptr{DMType},Ref{DMType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:DMGetType,petscRealSingle),PetscErrorCode,(DM,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function DMRegister(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMRegister,petscRealSingle),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function DMRegisterDestroy(arg0::Type{Float32}) - err = ccall((:DMRegisterDestroy,petscRealSingle),PetscErrorCode,()) - return err -end - -function DMView(arg1::DM,arg2::PetscViewer{Float32}) - err = ccall((:DMView,petscRealSingle),PetscErrorCode,(DM,PetscViewer{Float32}),arg1,arg2) - return err -end - -function DMLoad(arg1::DM,arg2::PetscViewer{Float32}) - err = ccall((:DMLoad,petscRealSingle),PetscErrorCode,(DM,PetscViewer{Float32}),arg1,arg2) - return err -end - -function DMDestroy(arg0::Type{Float32},arg1::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMDestroy,petscRealSingle),PetscErrorCode,(Ptr{DM},),arg1) - return err -end - -function DMCreateGlobalVector(arg1::DM,arg2::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:DMCreateGlobalVector,petscRealSingle),PetscErrorCode,(DM,Ptr{Vec{Float32}}),arg1,arg2) - return err -end - -function DMCreateLocalVector(arg1::DM,arg2::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:DMCreateLocalVector,petscRealSingle),PetscErrorCode,(DM,Ptr{Vec{Float32}}),arg1,arg2) - return err -end - -function DMGetLocalVector(arg1::DM,arg2::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:DMGetLocalVector,petscRealSingle),PetscErrorCode,(DM,Ptr{Vec{Float32}}),arg1,arg2) - return err -end - -function DMRestoreLocalVector(arg1::DM,arg2::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:DMRestoreLocalVector,petscRealSingle),PetscErrorCode,(DM,Ptr{Vec{Float32}}),arg1,arg2) - return err -end - -function DMGetGlobalVector(arg1::DM,arg2::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:DMGetGlobalVector,petscRealSingle),PetscErrorCode,(DM,Ptr{Vec{Float32}}),arg1,arg2) - return err -end - -function DMRestoreGlobalVector(arg1::DM,arg2::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:DMRestoreGlobalVector,petscRealSingle),PetscErrorCode,(DM,Ptr{Vec{Float32}}),arg1,arg2) - return err -end - -function DMClearGlobalVectors(arg0::Type{Float32},arg1::DM) - err = ccall((:DMClearGlobalVectors,petscRealSingle),PetscErrorCode,(DM,),arg1) - return err -end - -function DMGetNamedGlobalVector(arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:DMGetNamedGlobalVector,petscRealSingle),PetscErrorCode,(DM,Cstring,Ptr{Vec{Float32}}),arg1,arg2,arg3) - return err -end - -function DMRestoreNamedGlobalVector(arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:DMRestoreNamedGlobalVector,petscRealSingle),PetscErrorCode,(DM,Cstring,Ptr{Vec{Float32}}),arg1,arg2,arg3) - return err -end - -function DMGetNamedLocalVector(arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:DMGetNamedLocalVector,petscRealSingle),PetscErrorCode,(DM,Cstring,Ptr{Vec{Float32}}),arg1,arg2,arg3) - return err -end - -function DMRestoreNamedLocalVector(arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:DMRestoreNamedLocalVector,petscRealSingle),PetscErrorCode,(DM,Cstring,Ptr{Vec{Float32}}),arg1,arg2,arg3) - return err -end - -function DMGetLocalToGlobalMapping(arg1::DM,arg2::Union{Ptr{ISLocalToGlobalMapping{Float32}},StridedArray{ISLocalToGlobalMapping{Float32}},Ptr{ISLocalToGlobalMapping{Float32}},Ref{ISLocalToGlobalMapping{Float32}}}) - err = ccall((:DMGetLocalToGlobalMapping,petscRealSingle),PetscErrorCode,(DM,Ptr{ISLocalToGlobalMapping{Float32}}),arg1,arg2) - return err -end - -function DMCreateFieldIS(arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}},arg4::Union{Ptr{Ptr{IS{Float32}}},StridedArray{Ptr{IS{Float32}}},Ptr{Ptr{IS{Float32}}},Ref{Ptr{IS{Float32}}}}) - err = ccall((:DMCreateFieldIS,petscRealSingle),PetscErrorCode,(DM,Ptr{Int64},Ptr{Ptr{Ptr{UInt8}}},Ptr{Ptr{IS{Float32}}}),arg1,arg2,arg3,arg4) - return err -end - -function DMGetBlockSize(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMGetBlockSize,petscRealSingle),PetscErrorCode,(DM,Ptr{Int64}),arg1,arg2) - return err -end - -function DMCreateColoring(arg1::DM,arg2::ISColoringType,arg3::Union{Ptr{ISColoring{Float32}},StridedArray{ISColoring{Float32}},Ptr{ISColoring{Float32}},Ref{ISColoring{Float32}}}) - err = ccall((:DMCreateColoring,petscRealSingle),PetscErrorCode,(DM,ISColoringType,Ptr{ISColoring{Float32}}),arg1,arg2,arg3) - return err -end - -function DMCreateMatrix(arg1::DM,arg2::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:DMCreateMatrix,petscRealSingle),PetscErrorCode,(DM,Ptr{Mat{Float32}}),arg1,arg2) - return err -end - -function DMSetMatrixPreallocateOnly(arg0::Type{Float32},arg1::DM,arg2::PetscBool) - err = ccall((:DMSetMatrixPreallocateOnly,petscRealSingle),PetscErrorCode,(DM,PetscBool),arg1,arg2) - return err -end - -function DMCreateInterpolation(arg1::DM,arg2::DM,arg3::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}},arg4::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:DMCreateInterpolation,petscRealSingle),PetscErrorCode,(DM,DM,Ptr{Mat{Float32}},Ptr{Vec{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function DMCreateInjection(arg1::DM,arg2::DM,arg3::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:DMCreateInjection,petscRealSingle),PetscErrorCode,(DM,DM,Ptr{Mat{Float32}}),arg1,arg2,arg3) - return err -end - -function DMGetWorkArray(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::PetscDataType,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMGetWorkArray,petscRealSingle),PetscErrorCode,(DM,Int64,PetscDataType,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMRestoreWorkArray(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::PetscDataType,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMRestoreWorkArray,petscRealSingle),PetscErrorCode,(DM,Int64,PetscDataType,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMRefine(arg0::Type{Float32},arg1::DM,arg2::MPI_Comm,arg3::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMRefine,petscRealSingle),PetscErrorCode,(DM,comm_type,Ptr{DM}),arg1,arg2,arg3) - return err -end - -function DMCoarsen(arg0::Type{Float32},arg1::DM,arg2::MPI_Comm,arg3::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMCoarsen,petscRealSingle),PetscErrorCode,(DM,comm_type,Ptr{DM}),arg1,arg2,arg3) - return err -end - -function DMRefineHierarchy(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMRefineHierarchy,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{DM}),arg1,arg2,arg3) - return err -end - -function DMCoarsenHierarchy(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMCoarsenHierarchy,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{DM}),arg1,arg2,arg3) - return err -end - -function DMCoarsenHookAdd(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMCoarsenHookAdd,petscRealSingle),PetscErrorCode,(DM,Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMRefineHookAdd(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMRefineHookAdd,petscRealSingle),PetscErrorCode,(DM,Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMRestrict(arg1::DM,arg2::Mat{Float32},arg3::Vec{Float32},arg4::Mat{Float32},arg5::DM) - err = ccall((:DMRestrict,petscRealSingle),PetscErrorCode,(DM,Mat{Float32},Vec{Float32},Mat{Float32},DM),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMInterpolate(arg1::DM,arg2::Mat{Float32},arg3::DM) - err = ccall((:DMInterpolate,petscRealSingle),PetscErrorCode,(DM,Mat{Float32},DM),arg1,arg2,arg3) - return err -end - -function DMSetFromOptions(arg0::Type{Float32},arg1::DM) - err = ccall((:DMSetFromOptions,petscRealSingle),PetscErrorCode,(DM,),arg1) - return err -end - -function DMViewFromOptions(arg0::Type{Float32},A::DM,obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:DMViewFromOptions,petscRealSingle),PetscErrorCode,(DM,PetscObject,Cstring),A,obj,name) - return err -end - -function DMSetUp(arg0::Type{Float32},arg1::DM) - err = ccall((:DMSetUp,petscRealSingle),PetscErrorCode,(DM,),arg1) - return err -end - -function DMCreateInterpolationScale(arg1::DM,arg2::DM,arg3::Mat{Float32},arg4::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:DMCreateInterpolationScale,petscRealSingle),PetscErrorCode,(DM,DM,Mat{Float32},Ptr{Vec{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function DMCreateAggregates(arg1::DM,arg2::DM,arg3::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:DMCreateAggregates,petscRealSingle),PetscErrorCode,(DM,DM,Ptr{Mat{Float32}}),arg1,arg2,arg3) - return err -end - -function DMGlobalToLocalHookAdd(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMGlobalToLocalHookAdd,petscRealSingle),PetscErrorCode,(DM,Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMLocalToGlobalHookAdd(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMLocalToGlobalHookAdd,petscRealSingle),PetscErrorCode,(DM,Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMGlobalToLocalBegin(arg1::DM,arg2::Vec{Float32},arg3::InsertMode,arg4::Vec{Float32}) - err = ccall((:DMGlobalToLocalBegin,petscRealSingle),PetscErrorCode,(DM,Vec{Float32},InsertMode,Vec{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function DMGlobalToLocalEnd(arg1::DM,arg2::Vec{Float32},arg3::InsertMode,arg4::Vec{Float32}) - err = ccall((:DMGlobalToLocalEnd,petscRealSingle),PetscErrorCode,(DM,Vec{Float32},InsertMode,Vec{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function DMLocalToGlobalBegin(arg1::DM,arg2::Vec{Float32},arg3::InsertMode,arg4::Vec{Float32}) - err = ccall((:DMLocalToGlobalBegin,petscRealSingle),PetscErrorCode,(DM,Vec{Float32},InsertMode,Vec{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function DMLocalToGlobalEnd(arg1::DM,arg2::Vec{Float32},arg3::InsertMode,arg4::Vec{Float32}) - err = ccall((:DMLocalToGlobalEnd,petscRealSingle),PetscErrorCode,(DM,Vec{Float32},InsertMode,Vec{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function DMLocalToLocalBegin(arg1::DM,arg2::Vec{Float32},arg3::InsertMode,arg4::Vec{Float32}) - err = ccall((:DMLocalToLocalBegin,petscRealSingle),PetscErrorCode,(DM,Vec{Float32},InsertMode,Vec{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function DMLocalToLocalEnd(arg1::DM,arg2::Vec{Float32},arg3::InsertMode,arg4::Vec{Float32}) - err = ccall((:DMLocalToLocalEnd,petscRealSingle),PetscErrorCode,(DM,Vec{Float32},InsertMode,Vec{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function DMConvert(arg0::Type{Float32},arg1::DM,arg2::DMType,arg3::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMConvert,petscRealSingle),PetscErrorCode,(DM,Cstring,Ptr{DM}),arg1,arg2,arg3) - return err -end - -function DMGetDimension(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMGetDimension,petscRealSingle),PetscErrorCode,(DM,Ptr{Int64}),arg1,arg2) - return err -end - -function DMSetDimension(arg0::Type{Float32},arg1::DM,arg2::Integer) - err = ccall((:DMSetDimension,petscRealSingle),PetscErrorCode,(DM,Int64),arg1,arg2) - return err -end - -function DMGetDimPoints(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMGetDimPoints,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMGetCoordinateDM(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMGetCoordinateDM,petscRealSingle),PetscErrorCode,(DM,Ptr{DM}),arg1,arg2) - return err -end - -function DMSetCoordinateDM(arg0::Type{Float32},arg1::DM,arg2::DM) - err = ccall((:DMSetCoordinateDM,petscRealSingle),PetscErrorCode,(DM,DM),arg1,arg2) - return err -end - -function DMGetCoordinateDim(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMGetCoordinateDim,petscRealSingle),PetscErrorCode,(DM,Ptr{Int64}),arg1,arg2) - return err -end - -function DMSetCoordinateDim(arg0::Type{Float32},arg1::DM,arg2::Integer) - err = ccall((:DMSetCoordinateDim,petscRealSingle),PetscErrorCode,(DM,Int64),arg1,arg2) - return err -end - -function DMGetCoordinateSection(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:DMGetCoordinateSection,petscRealSingle),PetscErrorCode,(DM,Ptr{PetscSection}),arg1,arg2) - return err -end - -function DMSetCoordinateSection(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::PetscSection) - err = ccall((:DMSetCoordinateSection,petscRealSingle),PetscErrorCode,(DM,Int64,PetscSection),arg1,arg2,arg3) - return err -end - -function DMGetCoordinates(arg1::DM,arg2::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:DMGetCoordinates,petscRealSingle),PetscErrorCode,(DM,Ptr{Vec{Float32}}),arg1,arg2) - return err -end - -function DMSetCoordinates(arg1::DM,arg2::Vec{Float32}) - err = ccall((:DMSetCoordinates,petscRealSingle),PetscErrorCode,(DM,Vec{Float32}),arg1,arg2) - return err -end - -function DMGetCoordinatesLocal(arg1::DM,arg2::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:DMGetCoordinatesLocal,petscRealSingle),PetscErrorCode,(DM,Ptr{Vec{Float32}}),arg1,arg2) - return err -end - -function DMSetCoordinatesLocal(arg1::DM,arg2::Vec{Float32}) - err = ccall((:DMSetCoordinatesLocal,petscRealSingle),PetscErrorCode,(DM,Vec{Float32}),arg1,arg2) - return err -end - -function DMLocatePoints(arg1::DM,arg2::Vec{Float32},arg3::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:DMLocatePoints,petscRealSingle),PetscErrorCode,(DM,Vec{Float32},Ptr{IS{Float32}}),arg1,arg2,arg3) - return err -end - -function DMGetPeriodicity(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}},arg3::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}},arg4::Union{Ptr{Ptr{DMBoundaryType}},StridedArray{Ptr{DMBoundaryType}},Ptr{Ptr{DMBoundaryType}},Ref{Ptr{DMBoundaryType}}}) - err = ccall((:DMGetPeriodicity,petscRealSingle),PetscErrorCode,(DM,Ptr{Ptr{Float32}},Ptr{Ptr{Float32}},Ptr{Ptr{DMBoundaryType}}),arg1,arg2,arg3,arg4) - return err -end - -function DMSetPeriodicity(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{DMBoundaryType},StridedArray{DMBoundaryType},Ptr{DMBoundaryType},Ref{DMBoundaryType}}) - err = ccall((:DMSetPeriodicity,petscRealSingle),PetscErrorCode,(DM,Ptr{Float32},Ptr{Float32},Ptr{DMBoundaryType}),arg1,arg2,arg3,arg4) - return err -end - -function DMSubDomainHookAdd(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMSubDomainHookAdd,petscRealSingle),PetscErrorCode,(DM,Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMSubDomainRestrict(arg1::DM,arg2::VecScatter{Float32},arg3::VecScatter{Float32},arg4::DM) - err = ccall((:DMSubDomainRestrict,petscRealSingle),PetscErrorCode,(DM,VecScatter{Float32},VecScatter{Float32},DM),arg1,arg2,arg3,arg4) - return err -end - -function DMSetOptionsPrefix(arg0::Type{Float32},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:DMSetOptionsPrefix,petscRealSingle),PetscErrorCode,(DM,Cstring),arg1,arg2) - return err -end - -function DMSetVecType(arg0::Type{Float32},arg1::DM,arg2::VecType) - err = ccall((:DMSetVecType,petscRealSingle),PetscErrorCode,(DM,Cstring),arg1,arg2) - return err -end - -function DMGetVecType(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{VecType},StridedArray{VecType},Ptr{VecType},Ref{VecType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:DMGetVecType,petscRealSingle),PetscErrorCode,(DM,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function DMSetMatType(arg0::Type{Float32},arg1::DM,arg2::MatType) - err = ccall((:DMSetMatType,petscRealSingle),PetscErrorCode,(DM,Cstring),arg1,arg2) - return err -end - -function DMGetMatType(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{MatType},StridedArray{MatType},Ptr{MatType},Ref{MatType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:DMGetMatType,petscRealSingle),PetscErrorCode,(DM,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function DMSetApplicationContext(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMSetApplicationContext,petscRealSingle),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMSetApplicationContextDestroy(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMSetApplicationContextDestroy,petscRealSingle),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMGetApplicationContext(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMGetApplicationContext,petscRealSingle),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMSetVariableBounds(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMSetVariableBounds,petscRealSingle),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMHasVariableBounds(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:DMHasVariableBounds,petscRealSingle),PetscErrorCode,(DM,Ptr{PetscBool}),arg1,arg2) - return err -end - -function DMHasColoring(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:DMHasColoring,petscRealSingle),PetscErrorCode,(DM,Ptr{PetscBool}),arg1,arg2) - return err -end - -function DMComputeVariableBounds(arg1::DM,arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:DMComputeVariableBounds,petscRealSingle),PetscErrorCode,(DM,Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function DMCreateSubDM(arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}},arg5::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMCreateSubDM,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{IS{Float32}},Ptr{DM}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMCreateFieldDecomposition(arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}},arg4::Union{Ptr{Ptr{IS{Float32}}},StridedArray{Ptr{IS{Float32}}},Ptr{Ptr{IS{Float32}}},Ref{Ptr{IS{Float32}}}},arg5::Union{Ptr{Ptr{DM}},StridedArray{Ptr{DM}},Ptr{Ptr{DM}},Ref{Ptr{DM}}}) - err = ccall((:DMCreateFieldDecomposition,petscRealSingle),PetscErrorCode,(DM,Ptr{Int64},Ptr{Ptr{Ptr{UInt8}}},Ptr{Ptr{IS{Float32}}},Ptr{Ptr{DM}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMCreateDomainDecomposition(arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}},arg4::Union{Ptr{Ptr{IS{Float32}}},StridedArray{Ptr{IS{Float32}}},Ptr{Ptr{IS{Float32}}},Ref{Ptr{IS{Float32}}}},arg5::Union{Ptr{Ptr{IS{Float32}}},StridedArray{Ptr{IS{Float32}}},Ptr{Ptr{IS{Float32}}},Ref{Ptr{IS{Float32}}}},arg6::Union{Ptr{Ptr{DM}},StridedArray{Ptr{DM}},Ptr{Ptr{DM}},Ref{Ptr{DM}}}) - err = ccall((:DMCreateDomainDecomposition,petscRealSingle),PetscErrorCode,(DM,Ptr{Int64},Ptr{Ptr{Ptr{UInt8}}},Ptr{Ptr{IS{Float32}}},Ptr{Ptr{IS{Float32}}},Ptr{Ptr{DM}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMCreateDomainDecompositionScatters(arg1::DM,arg2::Integer,arg3::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}},arg4::Union{Ptr{Ptr{VecScatter{Float32}}},StridedArray{Ptr{VecScatter{Float32}}},Ptr{Ptr{VecScatter{Float32}}},Ref{Ptr{VecScatter{Float32}}}},arg5::Union{Ptr{Ptr{VecScatter{Float32}}},StridedArray{Ptr{VecScatter{Float32}}},Ptr{Ptr{VecScatter{Float32}}},Ref{Ptr{VecScatter{Float32}}}},arg6::Union{Ptr{Ptr{VecScatter{Float32}}},StridedArray{Ptr{VecScatter{Float32}}},Ptr{Ptr{VecScatter{Float32}}},Ref{Ptr{VecScatter{Float32}}}}) - err = ccall((:DMCreateDomainDecompositionScatters,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{DM},Ptr{Ptr{VecScatter{Float32}}},Ptr{Ptr{VecScatter{Float32}}},Ptr{Ptr{VecScatter{Float32}}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMGetRefineLevel(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMGetRefineLevel,petscRealSingle),PetscErrorCode,(DM,Ptr{Int64}),arg1,arg2) - return err -end - -function DMGetCoarsenLevel(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMGetCoarsenLevel,petscRealSingle),PetscErrorCode,(DM,Ptr{Int64}),arg1,arg2) - return err -end - -function DMFinalizePackage(arg0::Type{Float32}) - err = ccall((:DMFinalizePackage,petscRealSingle),PetscErrorCode,()) - return err -end - -function VecGetDM(arg1::Vec{Float32},arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:VecGetDM,petscRealSingle),PetscErrorCode,(Vec{Float32},Ptr{DM}),arg1,arg2) - return err -end - -function VecSetDM(arg1::Vec{Float32},arg2::DM) - err = ccall((:VecSetDM,petscRealSingle),PetscErrorCode,(Vec{Float32},DM),arg1,arg2) - return err -end - -function MatGetDM(arg1::Mat{Float32},arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:MatGetDM,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{DM}),arg1,arg2) - return err -end - -function MatSetDM(arg1::Mat{Float32},arg2::DM) - err = ccall((:MatSetDM,petscRealSingle),PetscErrorCode,(Mat{Float32},DM),arg1,arg2) - return err -end - -function DMPrintCellVector(arg0::Type{Float32},arg1::Integer,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:DMPrintCellVector,petscRealSingle),PetscErrorCode,(Int64,Cstring,Int64,Ptr{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function DMPrintCellMatrix(arg0::Type{Float32},arg1::Integer,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::Integer,arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:DMPrintCellMatrix,petscRealSingle),PetscErrorCode,(Int64,Cstring,Int64,Int64,Ptr{Float32}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPrintLocalVec(arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Float32,arg4::Vec{Float32}) - err = ccall((:DMPrintLocalVec,petscRealSingle),PetscErrorCode,(DM,Cstring,Float32,Vec{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function DMGetDefaultSection(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:DMGetDefaultSection,petscRealSingle),PetscErrorCode,(DM,Ptr{PetscSection}),arg1,arg2) - return err -end - -function DMSetDefaultSection(arg0::Type{Float32},arg1::DM,arg2::PetscSection) - err = ccall((:DMSetDefaultSection,petscRealSingle),PetscErrorCode,(DM,PetscSection),arg1,arg2) - return err -end - -function DMGetDefaultConstraints(arg1::DM,arg2::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}},arg3::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:DMGetDefaultConstraints,petscRealSingle),PetscErrorCode,(DM,Ptr{PetscSection},Ptr{Mat{Float32}}),arg1,arg2,arg3) - return err -end - -function DMSetDefaultConstraints(arg1::DM,arg2::PetscSection,arg3::Mat{Float32}) - err = ccall((:DMSetDefaultConstraints,petscRealSingle),PetscErrorCode,(DM,PetscSection,Mat{Float32}),arg1,arg2,arg3) - return err -end - -function DMGetDefaultGlobalSection(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:DMGetDefaultGlobalSection,petscRealSingle),PetscErrorCode,(DM,Ptr{PetscSection}),arg1,arg2) - return err -end - -function DMSetDefaultGlobalSection(arg0::Type{Float32},arg1::DM,arg2::PetscSection) - err = ccall((:DMSetDefaultGlobalSection,petscRealSingle),PetscErrorCode,(DM,PetscSection),arg1,arg2) - return err -end - -function DMGetDefaultSF(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{PetscSF},StridedArray{PetscSF},Ptr{PetscSF},Ref{PetscSF}}) - err = ccall((:DMGetDefaultSF,petscRealSingle),PetscErrorCode,(DM,Ptr{PetscSF}),arg1,arg2) - return err -end - -function DMSetDefaultSF(arg0::Type{Float32},arg1::DM,arg2::PetscSF) - err = ccall((:DMSetDefaultSF,petscRealSingle),PetscErrorCode,(DM,PetscSF),arg1,arg2) - return err -end - -function DMCreateDefaultSF(arg0::Type{Float32},arg1::DM,arg2::PetscSection,arg3::PetscSection) - err = ccall((:DMCreateDefaultSF,petscRealSingle),PetscErrorCode,(DM,PetscSection,PetscSection),arg1,arg2,arg3) - return err -end - -function DMGetPointSF(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{PetscSF},StridedArray{PetscSF},Ptr{PetscSF},Ref{PetscSF}}) - err = ccall((:DMGetPointSF,petscRealSingle),PetscErrorCode,(DM,Ptr{PetscSF}),arg1,arg2) - return err -end - -function DMSetPointSF(arg0::Type{Float32},arg1::DM,arg2::PetscSF) - err = ccall((:DMSetPointSF,petscRealSingle),PetscErrorCode,(DM,PetscSF),arg1,arg2) - return err -end - -function DMGetOutputDM(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMGetOutputDM,petscRealSingle),PetscErrorCode,(DM,Ptr{DM}),arg1,arg2) - return err -end - -function DMGetOutputSequenceNumber(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:DMGetOutputSequenceNumber,petscRealSingle),PetscErrorCode,(DM,Ptr{Int64},Ptr{Float32}),arg1,arg2,arg3) - return err -end - -function DMSetOutputSequenceNumber(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Float32) - err = ccall((:DMSetOutputSequenceNumber,petscRealSingle),PetscErrorCode,(DM,Int64,Float32),arg1,arg2,arg3) - return err -end - -function DMOutputSequenceLoad(arg1::DM,arg2::PetscViewer{Float32},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Integer,arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:DMOutputSequenceLoad,petscRealSingle),PetscErrorCode,(DM,PetscViewer{Float32},Cstring,Int64,Ptr{Float32}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMGetDS(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{PetscDS},StridedArray{PetscDS},Ptr{PetscDS},Ref{PetscDS}}) - err = ccall((:DMGetDS,petscRealSingle),PetscErrorCode,(DM,Ptr{PetscDS}),arg1,arg2) - return err -end - -function DMSetDS(arg0::Type{Float32},arg1::DM,arg2::PetscDS) - err = ccall((:DMSetDS,petscRealSingle),PetscErrorCode,(DM,PetscDS),arg1,arg2) - return err -end - -function DMGetNumFields(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMGetNumFields,petscRealSingle),PetscErrorCode,(DM,Ptr{Int64}),arg1,arg2) - return err -end - -function DMSetNumFields(arg0::Type{Float32},arg1::DM,arg2::Integer) - err = ccall((:DMSetNumFields,petscRealSingle),PetscErrorCode,(DM,Int64),arg1,arg2) - return err -end - -function DMGetField(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{PetscObject},StridedArray{PetscObject},Ptr{PetscObject},Ref{PetscObject}}) - err = ccall((:DMGetField,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{PetscObject}),arg1,arg2,arg3) - return err -end - -function DMSetField(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::PetscObject) - err = ccall((:DMSetField,petscRealSingle),PetscErrorCode,(DM,Int64,PetscObject),arg1,arg2,arg3) - return err -end - -#= skipping function with undefined symbols: - function DMInterpolationCreate(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{DMInterpolationInfo},StridedArray{DMInterpolationInfo},Ptr{DMInterpolationInfo},Ref{DMInterpolationInfo}}) - ccall((:DMInterpolationCreate,petscRealSingle),PetscErrorCode,(comm_type,Ptr{DMInterpolationInfo}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function DMInterpolationSetDim(arg0::Type{Float32},arg1::DMInterpolationInfo,arg2::Integer) - ccall((:DMInterpolationSetDim,petscRealSingle),PetscErrorCode,(DMInterpolationInfo,Int64),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function DMInterpolationGetDim(arg0::Type{Float32},arg1::DMInterpolationInfo,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - ccall((:DMInterpolationGetDim,petscRealSingle),PetscErrorCode,(DMInterpolationInfo,Ptr{Int64}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function DMInterpolationSetDof(arg0::Type{Float32},arg1::DMInterpolationInfo,arg2::Integer) - ccall((:DMInterpolationSetDof,petscRealSingle),PetscErrorCode,(DMInterpolationInfo,Int64),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function DMInterpolationGetDof(arg0::Type{Float32},arg1::DMInterpolationInfo,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - ccall((:DMInterpolationGetDof,petscRealSingle),PetscErrorCode,(DMInterpolationInfo,Ptr{Int64}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function DMInterpolationAddPoints(arg0::Type{Float32},arg1::DMInterpolationInfo,arg2::Integer,arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - ccall((:DMInterpolationAddPoints,petscRealSingle),PetscErrorCode,(DMInterpolationInfo,Int64,Ptr{Float32}),arg1,arg2,arg3) -end -=# -#= skipping function with undefined symbols: - function DMInterpolationSetUp(arg0::Type{Float32},arg1::DMInterpolationInfo,arg2::DM,arg3::PetscBool) - ccall((:DMInterpolationSetUp,petscRealSingle),PetscErrorCode,(DMInterpolationInfo,DM,PetscBool),arg1,arg2,arg3) -end -=# -#= skipping function with undefined symbols: - function DMInterpolationGetCoordinates(arg1::DMInterpolationInfo,arg2::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - ccall((:DMInterpolationGetCoordinates,petscRealSingle),PetscErrorCode,(DMInterpolationInfo,Ptr{Vec{Float32}}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function DMInterpolationGetVector(arg1::DMInterpolationInfo,arg2::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - ccall((:DMInterpolationGetVector,petscRealSingle),PetscErrorCode,(DMInterpolationInfo,Ptr{Vec{Float32}}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function DMInterpolationRestoreVector(arg1::DMInterpolationInfo,arg2::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - ccall((:DMInterpolationRestoreVector,petscRealSingle),PetscErrorCode,(DMInterpolationInfo,Ptr{Vec{Float32}}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function DMInterpolationEvaluate(arg1::DMInterpolationInfo,arg2::DM,arg3::Vec{Float32},arg4::Vec{Float32}) - ccall((:DMInterpolationEvaluate,petscRealSingle),PetscErrorCode,(DMInterpolationInfo,DM,Vec{Float32},Vec{Float32}),arg1,arg2,arg3,arg4) -end -=# -#= skipping function with undefined symbols: - function DMInterpolationDestroy(arg0::Type{Float32},arg1::Union{Ptr{DMInterpolationInfo},StridedArray{DMInterpolationInfo},Ptr{DMInterpolationInfo},Ref{DMInterpolationInfo}}) - ccall((:DMInterpolationDestroy,petscRealSingle),PetscErrorCode,(Ptr{DMInterpolationInfo},),arg1) -end -=# -function PFCreate(arg0::Type{Float32},arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Union{Ptr{PF},StridedArray{PF},Ptr{PF},Ref{PF}}) - err = ccall((:PFCreate,petscRealSingle),PetscErrorCode,(comm_type,Int64,Int64,Ptr{PF}),arg1,arg2,arg3,arg4) - return err -end - -function PFSetType(arg0::Type{Float32},arg1::PF,arg2::PFType,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PFSetType,petscRealSingle),PetscErrorCode,(PF,Cstring,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function PFSet(arg0::Type{Float32},arg1::PF,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PFSet,petscRealSingle),PetscErrorCode,(PF,Ptr{Void},Ptr{Void},Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PFApply(arg0::Type{Float32},arg1::PF,arg2::Integer,arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:PFApply,petscRealSingle),PetscErrorCode,(PF,Int64,Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function PFApplyVec(arg1::PF,arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:PFApplyVec,petscRealSingle),PetscErrorCode,(PF,Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function PFInitializePackage(arg0::Type{Float32}) - err = ccall((:PFInitializePackage,petscRealSingle),PetscErrorCode,()) - return err -end - -function PFRegister(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PFRegister,petscRealSingle),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function PFDestroy(arg0::Type{Float32},arg1::Union{Ptr{PF},StridedArray{PF},Ptr{PF},Ref{PF}}) - err = ccall((:PFDestroy,petscRealSingle),PetscErrorCode,(Ptr{PF},),arg1) - return err -end - -function PFSetFromOptions(arg0::Type{Float32},arg1::PF) - err = ccall((:PFSetFromOptions,petscRealSingle),PetscErrorCode,(PF,),arg1) - return err -end - -function PFGetType(arg0::Type{Float32},arg1::PF,arg2::Union{Ptr{PFType},StridedArray{PFType},Ptr{PFType},Ref{PFType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:PFGetType,petscRealSingle),PetscErrorCode,(PF,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function PFView(arg1::PF,arg2::PetscViewer{Float32}) - err = ccall((:PFView,petscRealSingle),PetscErrorCode,(PF,PetscViewer{Float32}),arg1,arg2) - return err -end - -function PFViewFromOptions(arg0::Type{Float32},A::PF,obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PFViewFromOptions,petscRealSingle),PetscErrorCode,(PF,PetscObject,Cstring),A,obj,name) - return err -end - -function AOInitializePackage(arg0::Type{Float32}) - err = ccall((:AOInitializePackage,petscRealSingle),PetscErrorCode,()) - return err -end - -function AOCreate(arg1::MPI_Comm,arg2::Union{Ptr{AO{Float32}},StridedArray{AO{Float32}},Ptr{AO{Float32}},Ref{AO{Float32}}}) - err = ccall((:AOCreate,petscRealSingle),PetscErrorCode,(comm_type,Ptr{AO{Float32}}),arg1,arg2) - return err -end - -function AOSetIS(arg1::AO{Float32},arg2::IS{Float32},arg3::IS{Float32}) - err = ccall((:AOSetIS,petscRealSingle),PetscErrorCode,(AO{Float32},IS{Float32},IS{Float32}),arg1,arg2,arg3) - return err -end - -function AOSetFromOptions(arg1::AO{Float32}) - err = ccall((:AOSetFromOptions,petscRealSingle),PetscErrorCode,(AO{Float32},),arg1) - return err -end - -function AOCreateBasic(arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{AO{Float32}},StridedArray{AO{Float32}},Ptr{AO{Float32}},Ref{AO{Float32}}}) - err = ccall((:AOCreateBasic,petscRealSingle),PetscErrorCode,(comm_type,Int64,Ptr{Int64},Ptr{Int64},Ptr{AO{Float32}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function AOCreateBasicIS(arg1::IS{Float32},arg2::IS{Float32},arg3::Union{Ptr{AO{Float32}},StridedArray{AO{Float32}},Ptr{AO{Float32}},Ref{AO{Float32}}}) - err = ccall((:AOCreateBasicIS,petscRealSingle),PetscErrorCode,(IS{Float32},IS{Float32},Ptr{AO{Float32}}),arg1,arg2,arg3) - return err -end - -function AOCreateMemoryScalable(arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{AO{Float32}},StridedArray{AO{Float32}},Ptr{AO{Float32}},Ref{AO{Float32}}}) - err = ccall((:AOCreateMemoryScalable,petscRealSingle),PetscErrorCode,(comm_type,Int64,Ptr{Int64},Ptr{Int64},Ptr{AO{Float32}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function AOCreateMemoryScalableIS(arg1::IS{Float32},arg2::IS{Float32},arg3::Union{Ptr{AO{Float32}},StridedArray{AO{Float32}},Ptr{AO{Float32}},Ref{AO{Float32}}}) - err = ccall((:AOCreateMemoryScalableIS,petscRealSingle),PetscErrorCode,(IS{Float32},IS{Float32},Ptr{AO{Float32}}),arg1,arg2,arg3) - return err -end - -function AOCreateMapping(arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{AO{Float32}},StridedArray{AO{Float32}},Ptr{AO{Float32}},Ref{AO{Float32}}}) - err = ccall((:AOCreateMapping,petscRealSingle),PetscErrorCode,(comm_type,Int64,Ptr{Int64},Ptr{Int64},Ptr{AO{Float32}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function AOCreateMappingIS(arg1::IS{Float32},arg2::IS{Float32},arg3::Union{Ptr{AO{Float32}},StridedArray{AO{Float32}},Ptr{AO{Float32}},Ref{AO{Float32}}}) - err = ccall((:AOCreateMappingIS,petscRealSingle),PetscErrorCode,(IS{Float32},IS{Float32},Ptr{AO{Float32}}),arg1,arg2,arg3) - return err -end - -function AOView(arg1::AO{Float32},arg2::PetscViewer{Float32}) - err = ccall((:AOView,petscRealSingle),PetscErrorCode,(AO{Float32},PetscViewer{Float32}),arg1,arg2) - return err -end - -function AOViewFromOptions(A::AO{Float32},obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:AOViewFromOptions,petscRealSingle),PetscErrorCode,(AO{Float32},PetscObject,Cstring),A,obj,name) - return err -end - -function AODestroy(arg1::Union{Ptr{AO{Float32}},StridedArray{AO{Float32}},Ptr{AO{Float32}},Ref{AO{Float32}}}) - err = ccall((:AODestroy,petscRealSingle),PetscErrorCode,(Ptr{AO{Float32}},),arg1) - return err -end - -function AOSetType(arg1::AO{Float32},arg2::AOType) - err = ccall((:AOSetType,petscRealSingle),PetscErrorCode,(AO{Float32},Cstring),arg1,arg2) - return err -end - -function AOGetType(arg1::AO{Float32},arg2::Union{Ptr{AOType},StridedArray{AOType},Ptr{AOType},Ref{AOType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:AOGetType,petscRealSingle),PetscErrorCode,(AO{Float32},Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function AORegister(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:AORegister,petscRealSingle),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function AOPetscToApplication(arg1::AO{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:AOPetscToApplication,petscRealSingle),PetscErrorCode,(AO{Float32},Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function AOApplicationToPetsc(arg1::AO{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:AOApplicationToPetsc,petscRealSingle),PetscErrorCode,(AO{Float32},Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function AOPetscToApplicationIS(arg1::AO{Float32},arg2::IS{Float32}) - err = ccall((:AOPetscToApplicationIS,petscRealSingle),PetscErrorCode,(AO{Float32},IS{Float32}),arg1,arg2) - return err -end - -function AOApplicationToPetscIS(arg1::AO{Float32},arg2::IS{Float32}) - err = ccall((:AOApplicationToPetscIS,petscRealSingle),PetscErrorCode,(AO{Float32},IS{Float32}),arg1,arg2) - return err -end - -function AOPetscToApplicationPermuteInt(arg1::AO{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:AOPetscToApplicationPermuteInt,petscRealSingle),PetscErrorCode,(AO{Float32},Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function AOApplicationToPetscPermuteInt(arg1::AO{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:AOApplicationToPetscPermuteInt,petscRealSingle),PetscErrorCode,(AO{Float32},Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function AOPetscToApplicationPermuteReal(arg1::AO{Float32},arg2::Integer,arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:AOPetscToApplicationPermuteReal,petscRealSingle),PetscErrorCode,(AO{Float32},Int64,Ptr{Float32}),arg1,arg2,arg3) - return err -end - -function AOApplicationToPetscPermuteReal(arg1::AO{Float32},arg2::Integer,arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:AOApplicationToPetscPermuteReal,petscRealSingle),PetscErrorCode,(AO{Float32},Int64,Ptr{Float32}),arg1,arg2,arg3) - return err -end - -function AOMappingHasApplicationIndex(arg1::AO{Float32},arg2::Integer,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:AOMappingHasApplicationIndex,petscRealSingle),PetscErrorCode,(AO{Float32},Int64,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function AOMappingHasPetscIndex(arg1::AO{Float32},arg2::Integer,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:AOMappingHasPetscIndex,petscRealSingle),PetscErrorCode,(AO{Float32},Int64,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function PetscQuadratureCreate(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{PetscQuadrature},StridedArray{PetscQuadrature},Ptr{PetscQuadrature},Ref{PetscQuadrature}}) - err = ccall((:PetscQuadratureCreate,petscRealSingle),PetscErrorCode,(comm_type,Ptr{PetscQuadrature}),arg1,arg2) - return err -end - -function PetscQuadratureDuplicate(arg0::Type{Float32},arg1::PetscQuadrature,arg2::Union{Ptr{PetscQuadrature},StridedArray{PetscQuadrature},Ptr{PetscQuadrature},Ref{PetscQuadrature}}) - err = ccall((:PetscQuadratureDuplicate,petscRealSingle),PetscErrorCode,(PetscQuadrature,Ptr{PetscQuadrature}),arg1,arg2) - return err -end - -function PetscQuadratureGetOrder(arg0::Type{Float32},arg1::PetscQuadrature,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscQuadratureGetOrder,petscRealSingle),PetscErrorCode,(PetscQuadrature,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscQuadratureSetOrder(arg0::Type{Float32},arg1::PetscQuadrature,arg2::Integer) - err = ccall((:PetscQuadratureSetOrder,petscRealSingle),PetscErrorCode,(PetscQuadrature,Int64),arg1,arg2) - return err -end - -function PetscQuadratureGetData(arg0::Type{Float32},arg1::PetscQuadrature,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}},arg5::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:PetscQuadratureGetData,petscRealSingle),PetscErrorCode,(PetscQuadrature,Ptr{Int64},Ptr{Int64},Ptr{Ptr{Float32}},Ptr{Ptr{Float32}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscQuadratureSetData(arg0::Type{Float32},arg1::PetscQuadrature,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:PetscQuadratureSetData,petscRealSingle),PetscErrorCode,(PetscQuadrature,Int64,Int64,Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscQuadratureView(arg1::PetscQuadrature,arg2::PetscViewer{Float32}) - err = ccall((:PetscQuadratureView,petscRealSingle),PetscErrorCode,(PetscQuadrature,PetscViewer{Float32}),arg1,arg2) - return err -end - -function PetscQuadratureDestroy(arg0::Type{Float32},arg1::Union{Ptr{PetscQuadrature},StridedArray{PetscQuadrature},Ptr{PetscQuadrature},Ref{PetscQuadrature}}) - err = ccall((:PetscQuadratureDestroy,petscRealSingle),PetscErrorCode,(Ptr{PetscQuadrature},),arg1) - return err -end - -function PetscQuadratureExpandComposite(arg0::Type{Float32},arg1::PetscQuadrature,arg2::Integer,arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{Ptr{PetscQuadrature},StridedArray{PetscQuadrature},Ptr{PetscQuadrature},Ref{PetscQuadrature}}) - err = ccall((:PetscQuadratureExpandComposite,petscRealSingle),PetscErrorCode,(PetscQuadrature,Int64,Ptr{Float32},Ptr{Float32},Ptr{PetscQuadrature}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDTLegendreEval(arg0::Type{Float32},arg1::Integer,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg6::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg7::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:PetscDTLegendreEval,petscRealSingle),PetscErrorCode,(Int64,Ptr{Float32},Int64,Ptr{Int64},Ptr{Float32},Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function PetscDTGaussQuadrature(arg0::Type{Float32},arg1::Integer,arg2::Float32,arg3::Float32,arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:PetscDTGaussQuadrature,petscRealSingle),PetscErrorCode,(Int64,Float32,Float32,Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDTReconstructPoly(arg0::Type{Float32},arg1::Integer,arg2::Integer,arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Integer,arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg6::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:PetscDTReconstructPoly,petscRealSingle),PetscErrorCode,(Int64,Int64,Ptr{Float32},Int64,Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscDTGaussTensorQuadrature(arg0::Type{Float32},arg1::Integer,arg2::Integer,arg3::Float32,arg4::Float32,arg5::Union{Ptr{PetscQuadrature},StridedArray{PetscQuadrature},Ptr{PetscQuadrature},Ref{PetscQuadrature}}) - err = ccall((:PetscDTGaussTensorQuadrature,petscRealSingle),PetscErrorCode,(Int64,Int64,Float32,Float32,Ptr{PetscQuadrature}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDTGaussJacobiQuadrature(arg0::Type{Float32},arg1::Integer,arg2::Integer,arg3::Float32,arg4::Float32,arg5::Union{Ptr{PetscQuadrature},StridedArray{PetscQuadrature},Ptr{PetscQuadrature},Ref{PetscQuadrature}}) - err = ccall((:PetscDTGaussJacobiQuadrature,petscRealSingle),PetscErrorCode,(Int64,Int64,Float32,Float32,Ptr{PetscQuadrature}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscFEInitializePackage(arg0::Type{Float32}) - err = ccall((:PetscFEInitializePackage,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscSpaceCreate(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{PetscSpace},StridedArray{PetscSpace},Ptr{PetscSpace},Ref{PetscSpace}}) - err = ccall((:PetscSpaceCreate,petscRealSingle),PetscErrorCode,(comm_type,Ptr{PetscSpace}),arg1,arg2) - return err -end - -function PetscSpaceDestroy(arg0::Type{Float32},arg1::Union{Ptr{PetscSpace},StridedArray{PetscSpace},Ptr{PetscSpace},Ref{PetscSpace}}) - err = ccall((:PetscSpaceDestroy,petscRealSingle),PetscErrorCode,(Ptr{PetscSpace},),arg1) - return err -end - -function PetscSpaceSetType(arg0::Type{Float32},arg1::PetscSpace,arg2::PetscSpaceType) - err = ccall((:PetscSpaceSetType,petscRealSingle),PetscErrorCode,(PetscSpace,Cstring),arg1,arg2) - return err -end - -function PetscSpaceGetType(arg0::Type{Float32},arg1::PetscSpace,arg2::Union{Ptr{PetscSpaceType},StridedArray{PetscSpaceType},Ptr{PetscSpaceType},Ref{PetscSpaceType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:PetscSpaceGetType,petscRealSingle),PetscErrorCode,(PetscSpace,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function PetscSpaceSetUp(arg0::Type{Float32},arg1::PetscSpace) - err = ccall((:PetscSpaceSetUp,petscRealSingle),PetscErrorCode,(PetscSpace,),arg1) - return err -end - -function PetscSpaceSetFromOptions(arg0::Type{Float32},arg1::PetscSpace) - err = ccall((:PetscSpaceSetFromOptions,petscRealSingle),PetscErrorCode,(PetscSpace,),arg1) - return err -end - -function PetscSpaceViewFromOptions(arg0::Type{Float32},A::PetscSpace,B::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscSpaceViewFromOptions,petscRealSingle),PetscErrorCode,(PetscSpace,PetscObject,Cstring),A,B,name) - return err -end - -function PetscSpaceView(arg1::PetscSpace,arg2::PetscViewer{Float32}) - err = ccall((:PetscSpaceView,petscRealSingle),PetscErrorCode,(PetscSpace,PetscViewer{Float32}),arg1,arg2) - return err -end - -function PetscSpaceRegister(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscSpaceRegister,petscRealSingle),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function PetscSpaceRegisterDestroy(arg0::Type{Float32}) - err = ccall((:PetscSpaceRegisterDestroy,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscSpaceGetDimension(arg0::Type{Float32},arg1::PetscSpace,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSpaceGetDimension,petscRealSingle),PetscErrorCode,(PetscSpace,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscSpaceSetOrder(arg0::Type{Float32},arg1::PetscSpace,arg2::Integer) - err = ccall((:PetscSpaceSetOrder,petscRealSingle),PetscErrorCode,(PetscSpace,Int64),arg1,arg2) - return err -end - -function PetscSpaceGetOrder(arg0::Type{Float32},arg1::PetscSpace,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSpaceGetOrder,petscRealSingle),PetscErrorCode,(PetscSpace,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscSpaceEvaluate(arg0::Type{Float32},arg1::PetscSpace,arg2::Integer,arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg6::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:PetscSpaceEvaluate,petscRealSingle),PetscErrorCode,(PetscSpace,Int64,Ptr{Float32},Ptr{Float32},Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscSpacePolynomialSetNumVariables(arg0::Type{Float32},arg1::PetscSpace,arg2::Integer) - err = ccall((:PetscSpacePolynomialSetNumVariables,petscRealSingle),PetscErrorCode,(PetscSpace,Int64),arg1,arg2) - return err -end - -function PetscSpacePolynomialGetNumVariables(arg0::Type{Float32},arg1::PetscSpace,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscSpacePolynomialGetNumVariables,petscRealSingle),PetscErrorCode,(PetscSpace,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscSpacePolynomialSetSymmetric(arg0::Type{Float32},arg1::PetscSpace,arg2::PetscBool) - err = ccall((:PetscSpacePolynomialSetSymmetric,petscRealSingle),PetscErrorCode,(PetscSpace,PetscBool),arg1,arg2) - return err -end - -function PetscSpacePolynomialGetSymmetric(arg0::Type{Float32},arg1::PetscSpace,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscSpacePolynomialGetSymmetric,petscRealSingle),PetscErrorCode,(PetscSpace,Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscSpacePolynomialSetTensor(arg0::Type{Float32},arg1::PetscSpace,arg2::PetscBool) - err = ccall((:PetscSpacePolynomialSetTensor,petscRealSingle),PetscErrorCode,(PetscSpace,PetscBool),arg1,arg2) - return err -end - -function PetscSpacePolynomialGetTensor(arg0::Type{Float32},arg1::PetscSpace,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscSpacePolynomialGetTensor,petscRealSingle),PetscErrorCode,(PetscSpace,Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscSpaceDGSetQuadrature(arg0::Type{Float32},arg1::PetscSpace,arg2::PetscQuadrature) - err = ccall((:PetscSpaceDGSetQuadrature,petscRealSingle),PetscErrorCode,(PetscSpace,PetscQuadrature),arg1,arg2) - return err -end - -function PetscSpaceDGGetQuadrature(arg0::Type{Float32},arg1::PetscSpace,arg2::Union{Ptr{PetscQuadrature},StridedArray{PetscQuadrature},Ptr{PetscQuadrature},Ref{PetscQuadrature}}) - err = ccall((:PetscSpaceDGGetQuadrature,petscRealSingle),PetscErrorCode,(PetscSpace,Ptr{PetscQuadrature}),arg1,arg2) - return err -end - -function PetscDualSpaceCreate(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{PetscDualSpace},StridedArray{PetscDualSpace},Ptr{PetscDualSpace},Ref{PetscDualSpace}}) - err = ccall((:PetscDualSpaceCreate,petscRealSingle),PetscErrorCode,(comm_type,Ptr{PetscDualSpace}),arg1,arg2) - return err -end - -function PetscDualSpaceDestroy(arg0::Type{Float32},arg1::Union{Ptr{PetscDualSpace},StridedArray{PetscDualSpace},Ptr{PetscDualSpace},Ref{PetscDualSpace}}) - err = ccall((:PetscDualSpaceDestroy,petscRealSingle),PetscErrorCode,(Ptr{PetscDualSpace},),arg1) - return err -end - -function PetscDualSpaceDuplicate(arg0::Type{Float32},arg1::PetscDualSpace,arg2::Union{Ptr{PetscDualSpace},StridedArray{PetscDualSpace},Ptr{PetscDualSpace},Ref{PetscDualSpace}}) - err = ccall((:PetscDualSpaceDuplicate,petscRealSingle),PetscErrorCode,(PetscDualSpace,Ptr{PetscDualSpace}),arg1,arg2) - return err -end - -function PetscDualSpaceSetType(arg0::Type{Float32},arg1::PetscDualSpace,arg2::PetscDualSpaceType) - err = ccall((:PetscDualSpaceSetType,petscRealSingle),PetscErrorCode,(PetscDualSpace,Cstring),arg1,arg2) - return err -end - -function PetscDualSpaceGetType(arg0::Type{Float32},arg1::PetscDualSpace,arg2::Union{Ptr{PetscDualSpaceType},StridedArray{PetscDualSpaceType},Ptr{PetscDualSpaceType},Ref{PetscDualSpaceType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:PetscDualSpaceGetType,petscRealSingle),PetscErrorCode,(PetscDualSpace,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function PetscDualSpaceSetUp(arg0::Type{Float32},arg1::PetscDualSpace) - err = ccall((:PetscDualSpaceSetUp,petscRealSingle),PetscErrorCode,(PetscDualSpace,),arg1) - return err -end - -function PetscDualSpaceSetFromOptions(arg0::Type{Float32},arg1::PetscDualSpace) - err = ccall((:PetscDualSpaceSetFromOptions,petscRealSingle),PetscErrorCode,(PetscDualSpace,),arg1) - return err -end - -function PetscDualSpaceViewFromOptions(arg0::Type{Float32},A::PetscDualSpace,B::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscDualSpaceViewFromOptions,petscRealSingle),PetscErrorCode,(PetscDualSpace,PetscObject,Cstring),A,B,name) - return err -end - -function PetscDualSpaceView(arg1::PetscDualSpace,arg2::PetscViewer{Float32}) - err = ccall((:PetscDualSpaceView,petscRealSingle),PetscErrorCode,(PetscDualSpace,PetscViewer{Float32}),arg1,arg2) - return err -end - -function PetscDualSpaceRegister(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscDualSpaceRegister,petscRealSingle),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function PetscDualSpaceRegisterDestroy(arg0::Type{Float32}) - err = ccall((:PetscDualSpaceRegisterDestroy,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscDualSpaceGetDimension(arg0::Type{Float32},arg1::PetscDualSpace,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscDualSpaceGetDimension,petscRealSingle),PetscErrorCode,(PetscDualSpace,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscDualSpaceSetOrder(arg0::Type{Float32},arg1::PetscDualSpace,arg2::Integer) - err = ccall((:PetscDualSpaceSetOrder,petscRealSingle),PetscErrorCode,(PetscDualSpace,Int64),arg1,arg2) - return err -end - -function PetscDualSpaceGetOrder(arg0::Type{Float32},arg1::PetscDualSpace,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscDualSpaceGetOrder,petscRealSingle),PetscErrorCode,(PetscDualSpace,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscDualSpaceSetDM(arg0::Type{Float32},arg1::PetscDualSpace,arg2::DM) - err = ccall((:PetscDualSpaceSetDM,petscRealSingle),PetscErrorCode,(PetscDualSpace,DM),arg1,arg2) - return err -end - -function PetscDualSpaceGetDM(arg0::Type{Float32},arg1::PetscDualSpace,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:PetscDualSpaceGetDM,petscRealSingle),PetscErrorCode,(PetscDualSpace,Ptr{DM}),arg1,arg2) - return err -end - -function PetscDualSpaceGetFunctional(arg0::Type{Float32},arg1::PetscDualSpace,arg2::Integer,arg3::Union{Ptr{PetscQuadrature},StridedArray{PetscQuadrature},Ptr{PetscQuadrature},Ref{PetscQuadrature}}) - err = ccall((:PetscDualSpaceGetFunctional,petscRealSingle),PetscErrorCode,(PetscDualSpace,Int64,Ptr{PetscQuadrature}),arg1,arg2,arg3) - return err -end - -function PetscDualSpaceCreateReferenceCell(arg0::Type{Float32},arg1::PetscDualSpace,arg2::Integer,arg3::PetscBool,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:PetscDualSpaceCreateReferenceCell,petscRealSingle),PetscErrorCode,(PetscDualSpace,Int64,PetscBool,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -#= skipping function with undefined symbols: - function PetscDualSpaceApply(arg0::Type{Float32},arg1::PetscDualSpace,arg2::Integer,arg3::Union{Ptr{PetscFECellGeom},StridedArray{PetscFECellGeom},Ptr{PetscFECellGeom},Ref{PetscFECellGeom}},arg4::Integer,arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg7::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - ccall((:PetscDualSpaceApply,petscRealSingle),PetscErrorCode,(PetscDualSpace,Int64,Ptr{PetscFECellGeom},Int64,Ptr{Void},Ptr{Void},Ptr{Float32}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -function PetscDualSpaceLagrangeGetContinuity(arg0::Type{Float32},arg1::PetscDualSpace,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscDualSpaceLagrangeGetContinuity,petscRealSingle),PetscErrorCode,(PetscDualSpace,Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscDualSpaceLagrangeSetContinuity(arg0::Type{Float32},arg1::PetscDualSpace,arg2::PetscBool) - err = ccall((:PetscDualSpaceLagrangeSetContinuity,petscRealSingle),PetscErrorCode,(PetscDualSpace,PetscBool),arg1,arg2) - return err -end - -function PetscDualSpaceGetHeightSubspace(arg0::Type{Float32},arg1::PetscDualSpace,arg2::Integer,arg3::Union{Ptr{PetscDualSpace},StridedArray{PetscDualSpace},Ptr{PetscDualSpace},Ref{PetscDualSpace}}) - err = ccall((:PetscDualSpaceGetHeightSubspace,petscRealSingle),PetscErrorCode,(PetscDualSpace,Int64,Ptr{PetscDualSpace}),arg1,arg2,arg3) - return err -end - -function PetscDualSpaceSimpleSetDimension(arg0::Type{Float32},arg1::PetscDualSpace,arg2::Integer) - err = ccall((:PetscDualSpaceSimpleSetDimension,petscRealSingle),PetscErrorCode,(PetscDualSpace,Int64),arg1,arg2) - return err -end - -function PetscDualSpaceSimpleSetFunctional(arg0::Type{Float32},arg1::PetscDualSpace,arg2::Integer,arg3::PetscQuadrature) - err = ccall((:PetscDualSpaceSimpleSetFunctional,petscRealSingle),PetscErrorCode,(PetscDualSpace,Int64,PetscQuadrature),arg1,arg2,arg3) - return err -end - -function PetscFECreate(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{PetscFE},StridedArray{PetscFE},Ptr{PetscFE},Ref{PetscFE}}) - err = ccall((:PetscFECreate,petscRealSingle),PetscErrorCode,(comm_type,Ptr{PetscFE}),arg1,arg2) - return err -end - -function PetscFEDestroy(arg0::Type{Float32},arg1::Union{Ptr{PetscFE},StridedArray{PetscFE},Ptr{PetscFE},Ref{PetscFE}}) - err = ccall((:PetscFEDestroy,petscRealSingle),PetscErrorCode,(Ptr{PetscFE},),arg1) - return err -end - -function PetscFESetType(arg0::Type{Float32},arg1::PetscFE,arg2::PetscFEType) - err = ccall((:PetscFESetType,petscRealSingle),PetscErrorCode,(PetscFE,Cstring),arg1,arg2) - return err -end - -function PetscFEGetType(arg0::Type{Float32},arg1::PetscFE,arg2::Union{Ptr{PetscFEType},StridedArray{PetscFEType},Ptr{PetscFEType},Ref{PetscFEType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:PetscFEGetType,petscRealSingle),PetscErrorCode,(PetscFE,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function PetscFESetUp(arg0::Type{Float32},arg1::PetscFE) - err = ccall((:PetscFESetUp,petscRealSingle),PetscErrorCode,(PetscFE,),arg1) - return err -end - -function PetscFESetFromOptions(arg0::Type{Float32},arg1::PetscFE) - err = ccall((:PetscFESetFromOptions,petscRealSingle),PetscErrorCode,(PetscFE,),arg1) - return err -end - -function PetscFEViewFromOptions(arg0::Type{Float32},A::PetscFE,B::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscFEViewFromOptions,petscRealSingle),PetscErrorCode,(PetscFE,PetscObject,Cstring),A,B,name) - return err -end - -function PetscFEView(arg1::PetscFE,arg2::PetscViewer{Float32}) - err = ccall((:PetscFEView,petscRealSingle),PetscErrorCode,(PetscFE,PetscViewer{Float32}),arg1,arg2) - return err -end - -function PetscFERegister(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscFERegister,petscRealSingle),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function PetscFERegisterDestroy(arg0::Type{Float32}) - err = ccall((:PetscFERegisterDestroy,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscFECreateDefault(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Integer,arg4::PetscBool,arg5::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg6::Integer,arg7::Union{Ptr{PetscFE},StridedArray{PetscFE},Ptr{PetscFE},Ref{PetscFE}}) - err = ccall((:PetscFECreateDefault,petscRealSingle),PetscErrorCode,(DM,Int64,Int64,PetscBool,Cstring,Int64,Ptr{PetscFE}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function PetscFEGetDimension(arg0::Type{Float32},arg1::PetscFE,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscFEGetDimension,petscRealSingle),PetscErrorCode,(PetscFE,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscFEGetSpatialDimension(arg0::Type{Float32},arg1::PetscFE,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscFEGetSpatialDimension,petscRealSingle),PetscErrorCode,(PetscFE,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscFESetNumComponents(arg0::Type{Float32},arg1::PetscFE,arg2::Integer) - err = ccall((:PetscFESetNumComponents,petscRealSingle),PetscErrorCode,(PetscFE,Int64),arg1,arg2) - return err -end - -function PetscFEGetNumComponents(arg0::Type{Float32},arg1::PetscFE,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscFEGetNumComponents,petscRealSingle),PetscErrorCode,(PetscFE,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscFEGetTileSizes(arg0::Type{Float32},arg1::PetscFE,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscFEGetTileSizes,petscRealSingle),PetscErrorCode,(PetscFE,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscFESetTileSizes(arg0::Type{Float32},arg1::PetscFE,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer) - err = ccall((:PetscFESetTileSizes,petscRealSingle),PetscErrorCode,(PetscFE,Int64,Int64,Int64,Int64),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscFESetBasisSpace(arg0::Type{Float32},arg1::PetscFE,arg2::PetscSpace) - err = ccall((:PetscFESetBasisSpace,petscRealSingle),PetscErrorCode,(PetscFE,PetscSpace),arg1,arg2) - return err -end - -function PetscFEGetBasisSpace(arg0::Type{Float32},arg1::PetscFE,arg2::Union{Ptr{PetscSpace},StridedArray{PetscSpace},Ptr{PetscSpace},Ref{PetscSpace}}) - err = ccall((:PetscFEGetBasisSpace,petscRealSingle),PetscErrorCode,(PetscFE,Ptr{PetscSpace}),arg1,arg2) - return err -end - -function PetscFESetDualSpace(arg0::Type{Float32},arg1::PetscFE,arg2::PetscDualSpace) - err = ccall((:PetscFESetDualSpace,petscRealSingle),PetscErrorCode,(PetscFE,PetscDualSpace),arg1,arg2) - return err -end - -function PetscFEGetDualSpace(arg0::Type{Float32},arg1::PetscFE,arg2::Union{Ptr{PetscDualSpace},StridedArray{PetscDualSpace},Ptr{PetscDualSpace},Ref{PetscDualSpace}}) - err = ccall((:PetscFEGetDualSpace,petscRealSingle),PetscErrorCode,(PetscFE,Ptr{PetscDualSpace}),arg1,arg2) - return err -end - -function PetscFESetQuadrature(arg0::Type{Float32},arg1::PetscFE,arg2::PetscQuadrature) - err = ccall((:PetscFESetQuadrature,petscRealSingle),PetscErrorCode,(PetscFE,PetscQuadrature),arg1,arg2) - return err -end - -function PetscFEGetQuadrature(arg0::Type{Float32},arg1::PetscFE,arg2::Union{Ptr{PetscQuadrature},StridedArray{PetscQuadrature},Ptr{PetscQuadrature},Ref{PetscQuadrature}}) - err = ccall((:PetscFEGetQuadrature,petscRealSingle),PetscErrorCode,(PetscFE,Ptr{PetscQuadrature}),arg1,arg2) - return err -end - -function PetscFEGetNumDof(arg0::Type{Float32},arg1::PetscFE,arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PetscFEGetNumDof,petscRealSingle),PetscErrorCode,(PetscFE,Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function PetscFEGetDefaultTabulation(arg0::Type{Float32},arg1::PetscFE,arg2::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}},arg3::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}},arg4::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:PetscFEGetDefaultTabulation,petscRealSingle),PetscErrorCode,(PetscFE,Ptr{Ptr{Float32}},Ptr{Ptr{Float32}},Ptr{Ptr{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscFEGetFaceTabulation(arg0::Type{Float32},arg1::PetscFE,arg2::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:PetscFEGetFaceTabulation,petscRealSingle),PetscErrorCode,(PetscFE,Ptr{Ptr{Float32}}),arg1,arg2) - return err -end - -function PetscFEGetTabulation(arg0::Type{Float32},arg1::PetscFE,arg2::Integer,arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}},arg5::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}},arg6::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:PetscFEGetTabulation,petscRealSingle),PetscErrorCode,(PetscFE,Int64,Ptr{Float32},Ptr{Ptr{Float32}},Ptr{Ptr{Float32}},Ptr{Ptr{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscFERestoreTabulation(arg0::Type{Float32},arg1::PetscFE,arg2::Integer,arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}},arg5::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}},arg6::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:PetscFERestoreTabulation,petscRealSingle),PetscErrorCode,(PetscFE,Int64,Ptr{Float32},Ptr{Ptr{Float32}},Ptr{Ptr{Float32}},Ptr{Ptr{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscFERefine(arg0::Type{Float32},arg1::PetscFE,arg2::Union{Ptr{PetscFE},StridedArray{PetscFE},Ptr{PetscFE},Ref{PetscFE}}) - err = ccall((:PetscFERefine,petscRealSingle),PetscErrorCode,(PetscFE,Ptr{PetscFE}),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function PetscFEIntegrate(arg0::Type{Float32},arg1::PetscFE,arg2::PetscDS,arg3::Integer,arg4::Integer,arg5::Union{Ptr{PetscFECellGeom},StridedArray{PetscFECellGeom},Ptr{PetscFECellGeom},Ref{PetscFECellGeom}},arg6::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg7::PetscDS,arg8::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg9::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - ccall((:PetscFEIntegrate,petscRealSingle),PetscErrorCode,(PetscFE,PetscDS,Int64,Int64,Ptr{PetscFECellGeom},Ptr{Float32},PetscDS,Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) -end -=# -#= skipping function with undefined symbols: - function PetscFEIntegrateResidual(arg0::Type{Float32},arg1::PetscFE,arg2::PetscDS,arg3::Integer,arg4::Integer,arg5::Union{Ptr{PetscFECellGeom},StridedArray{PetscFECellGeom},Ptr{PetscFECellGeom},Ref{PetscFECellGeom}},arg6::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg7::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg8::PetscDS,arg9::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg10::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - ccall((:PetscFEIntegrateResidual,petscRealSingle),PetscErrorCode,(PetscFE,PetscDS,Int64,Int64,Ptr{PetscFECellGeom},Ptr{Float32},Ptr{Float32},PetscDS,Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) -end -=# -#= skipping function with undefined symbols: - function PetscFEIntegrateBdResidual(arg0::Type{Float32},arg1::PetscFE,arg2::PetscDS,arg3::Integer,arg4::Integer,arg5::Union{Ptr{PetscFECellGeom},StridedArray{PetscFECellGeom},Ptr{PetscFECellGeom},Ref{PetscFECellGeom}},arg6::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg7::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg8::PetscDS,arg9::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg10::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - ccall((:PetscFEIntegrateBdResidual,petscRealSingle),PetscErrorCode,(PetscFE,PetscDS,Int64,Int64,Ptr{PetscFECellGeom},Ptr{Float32},Ptr{Float32},PetscDS,Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) -end -=# -#= skipping function with undefined symbols: - function PetscFEIntegrateJacobian(arg0::Type{Float32},arg1::PetscFE,arg2::PetscDS,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{PetscFECellGeom},StridedArray{PetscFECellGeom},Ptr{PetscFECellGeom},Ref{PetscFECellGeom}},arg7::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg8::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg9::PetscDS,arg10::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg11::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - ccall((:PetscFEIntegrateJacobian,petscRealSingle),PetscErrorCode,(PetscFE,PetscDS,Int64,Int64,Int64,Ptr{PetscFECellGeom},Ptr{Float32},Ptr{Float32},PetscDS,Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) -end -=# -#= skipping function with undefined symbols: - function PetscFEIntegrateBdJacobian(arg0::Type{Float32},arg1::PetscFE,arg2::PetscDS,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{PetscFECellGeom},StridedArray{PetscFECellGeom},Ptr{PetscFECellGeom},Ref{PetscFECellGeom}},arg7::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg8::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg9::PetscDS,arg10::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg11::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - ccall((:PetscFEIntegrateBdJacobian,petscRealSingle),PetscErrorCode,(PetscFE,PetscDS,Int64,Int64,Int64,Ptr{PetscFECellGeom},Ptr{Float32},Ptr{Float32},PetscDS,Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) -end -=# -function PetscFECompositeGetMapping(arg0::Type{Float32},arg1::PetscFE,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}},arg4::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}},arg5::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:PetscFECompositeGetMapping,petscRealSingle),PetscErrorCode,(PetscFE,Ptr{Int64},Ptr{Ptr{Float32}},Ptr{Ptr{Float32}},Ptr{Ptr{Float32}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscFEOpenCLSetRealType(arg0::Type{Float32},arg1::PetscFE,arg2::PetscDataType) - err = ccall((:PetscFEOpenCLSetRealType,petscRealSingle),PetscErrorCode,(PetscFE,PetscDataType),arg1,arg2) - return err -end - -function PetscFEOpenCLGetRealType(arg0::Type{Float32},arg1::PetscFE,arg2::Union{Ptr{PetscDataType},StridedArray{PetscDataType},Ptr{PetscDataType},Ref{PetscDataType}}) - err = ccall((:PetscFEOpenCLGetRealType,petscRealSingle),PetscErrorCode,(PetscFE,Ptr{PetscDataType}),arg1,arg2) - return err -end - -function DMDASetInterpolationType(arg0::Type{Float32},arg1::DM,arg2::DMDAInterpolationType) - err = ccall((:DMDASetInterpolationType,petscRealSingle),PetscErrorCode,(DM,DMDAInterpolationType),arg1,arg2) - return err -end - -function DMDAGetInterpolationType(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{DMDAInterpolationType},StridedArray{DMDAInterpolationType},Ptr{DMDAInterpolationType},Ref{DMDAInterpolationType}}) - err = ccall((:DMDAGetInterpolationType,petscRealSingle),PetscErrorCode,(DM,Ptr{DMDAInterpolationType}),arg1,arg2) - return err -end - -function DMDASetElementType(arg0::Type{Float32},arg1::DM,arg2::DMDAElementType) - err = ccall((:DMDASetElementType,petscRealSingle),PetscErrorCode,(DM,DMDAElementType),arg1,arg2) - return err -end - -function DMDAGetElementType(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{DMDAElementType},StridedArray{DMDAElementType},Ptr{DMDAElementType},Ref{DMDAElementType}}) - err = ccall((:DMDAGetElementType,petscRealSingle),PetscErrorCode,(DM,Ptr{DMDAElementType}),arg1,arg2) - return err -end - -function DMDAGetElements(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMDAGetElements,petscRealSingle),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4) - return err -end - -function DMDARestoreElements(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMDARestoreElements,petscRealSingle),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4) - return err -end - -function DMDACreate(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMDACreate,petscRealSingle),PetscErrorCode,(comm_type,Ptr{DM}),arg1,arg2) - return err -end - -function DMDASetSizes(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:DMDASetSizes,petscRealSingle),PetscErrorCode,(DM,Int64,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function DMDACreate1d(arg0::Type{Float32},arg1::MPI_Comm,arg2::DMBoundaryType,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMDACreate1d,petscRealSingle),PetscErrorCode,(comm_type,DMBoundaryType,Int64,Int64,Int64,Ptr{Int64},Ptr{DM}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMDACreate2d(arg0::Type{Float32},arg1::MPI_Comm,arg2::DMBoundaryType,arg3::DMBoundaryType,arg4::DMDAStencilType,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Integer,arg9::Integer,arg10::Integer,arg11::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg12::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg13::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMDACreate2d,petscRealSingle),PetscErrorCode,(comm_type,DMBoundaryType,DMBoundaryType,DMDAStencilType,Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Int64},Ptr{DM}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13) - return err -end - -function DMDACreate3d(arg0::Type{Float32},arg1::MPI_Comm,arg2::DMBoundaryType,arg3::DMBoundaryType,arg4::DMBoundaryType,arg5::DMDAStencilType,arg6::Integer,arg7::Integer,arg8::Integer,arg9::Integer,arg10::Integer,arg11::Integer,arg12::Integer,arg13::Integer,arg14::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg15::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg16::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg17::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMDACreate3d,petscRealSingle),PetscErrorCode,(comm_type,DMBoundaryType,DMBoundaryType,DMBoundaryType,DMDAStencilType,Int64,Int64,Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{DM}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16,arg17) - return err -end - -function DMDAGlobalToNaturalBegin(arg1::DM,arg2::Vec{Float32},arg3::InsertMode,arg4::Vec{Float32}) - err = ccall((:DMDAGlobalToNaturalBegin,petscRealSingle),PetscErrorCode,(DM,Vec{Float32},InsertMode,Vec{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function DMDAGlobalToNaturalEnd(arg1::DM,arg2::Vec{Float32},arg3::InsertMode,arg4::Vec{Float32}) - err = ccall((:DMDAGlobalToNaturalEnd,petscRealSingle),PetscErrorCode,(DM,Vec{Float32},InsertMode,Vec{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function DMDANaturalToGlobalBegin(arg1::DM,arg2::Vec{Float32},arg3::InsertMode,arg4::Vec{Float32}) - err = ccall((:DMDANaturalToGlobalBegin,petscRealSingle),PetscErrorCode,(DM,Vec{Float32},InsertMode,Vec{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function DMDANaturalToGlobalEnd(arg1::DM,arg2::Vec{Float32},arg3::InsertMode,arg4::Vec{Float32}) - err = ccall((:DMDANaturalToGlobalEnd,petscRealSingle),PetscErrorCode,(DM,Vec{Float32},InsertMode,Vec{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function DMDALocalToLocalBegin(dm::DM,g::Vec{Float32},mode::InsertMode,l::Vec{Float32}) - err = ccall((:DMDALocalToLocalBegin,petscRealSingle),PetscErrorCode,(DM,Vec{Float32},InsertMode,Vec{Float32}),dm,g,mode,l) - return err -end - -function DMDALocalToLocalEnd(dm::DM,g::Vec{Float32},mode::InsertMode,l::Vec{Float32}) - err = ccall((:DMDALocalToLocalEnd,petscRealSingle),PetscErrorCode,(DM,Vec{Float32},InsertMode,Vec{Float32}),dm,g,mode,l) - return err -end - -function DMDACreateNaturalVector(arg1::DM,arg2::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:DMDACreateNaturalVector,petscRealSingle),PetscErrorCode,(DM,Ptr{Vec{Float32}}),arg1,arg2) - return err -end - -function DMDAGetCorners(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDAGetCorners,petscRealSingle),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMDAGetGhostCorners(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDAGetGhostCorners,petscRealSingle),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMDAGetInfo(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg9::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg10::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg11::Union{Ptr{DMBoundaryType},StridedArray{DMBoundaryType},Ptr{DMBoundaryType},Ref{DMBoundaryType}},arg12::Union{Ptr{DMBoundaryType},StridedArray{DMBoundaryType},Ptr{DMBoundaryType},Ref{DMBoundaryType}},arg13::Union{Ptr{DMBoundaryType},StridedArray{DMBoundaryType},Ptr{DMBoundaryType},Ref{DMBoundaryType}},arg14::Union{Ptr{DMDAStencilType},StridedArray{DMDAStencilType},Ptr{DMDAStencilType},Ref{DMDAStencilType}}) - err = ccall((:DMDAGetInfo,petscRealSingle),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{DMBoundaryType},Ptr{DMBoundaryType},Ptr{DMBoundaryType},Ptr{DMDAStencilType}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14) - return err -end - -function DMDAGetProcessorSubset(arg0::Type{Float32},arg1::DM,arg2::DMDADirection,arg3::Integer,arg4::Union{Ptr{MPI_Comm},StridedArray{MPI_Comm},Ptr{MPI_Comm},Ref{MPI_Comm}}) - err = ccall((:DMDAGetProcessorSubset,petscRealSingle),PetscErrorCode,(DM,DMDADirection,Int64,Ptr{comm_type}),arg1,arg2,arg3,arg4) - return err -end - -function DMDAGetProcessorSubsets(arg0::Type{Float32},arg1::DM,arg2::DMDADirection,arg3::Union{Ptr{MPI_Comm},StridedArray{MPI_Comm},Ptr{MPI_Comm},Ref{MPI_Comm}}) - err = ccall((:DMDAGetProcessorSubsets,petscRealSingle),PetscErrorCode,(DM,DMDADirection,Ptr{comm_type}),arg1,arg2,arg3) - return err -end - -function DMDAGetRay(arg1::DM,arg2::DMDADirection,arg3::Integer,arg4::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}},arg5::Union{Ptr{VecScatter{Float32}},StridedArray{VecScatter{Float32}},Ptr{VecScatter{Float32}},Ref{VecScatter{Float32}}}) - err = ccall((:DMDAGetRay,petscRealSingle),PetscErrorCode,(DM,DMDADirection,Int64,Ptr{Vec{Float32}},Ptr{VecScatter{Float32}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMDAGlobalToNaturalAllCreate(arg1::DM,arg2::Union{Ptr{VecScatter{Float32}},StridedArray{VecScatter{Float32}},Ptr{VecScatter{Float32}},Ref{VecScatter{Float32}}}) - err = ccall((:DMDAGlobalToNaturalAllCreate,petscRealSingle),PetscErrorCode,(DM,Ptr{VecScatter{Float32}}),arg1,arg2) - return err -end - -function DMDANaturalAllToGlobalCreate(arg1::DM,arg2::Union{Ptr{VecScatter{Float32}},StridedArray{VecScatter{Float32}},Ptr{VecScatter{Float32}},Ref{VecScatter{Float32}}}) - err = ccall((:DMDANaturalAllToGlobalCreate,petscRealSingle),PetscErrorCode,(DM,Ptr{VecScatter{Float32}}),arg1,arg2) - return err -end - -function DMDAGetScatter(arg1::DM,arg2::Union{Ptr{VecScatter{Float32}},StridedArray{VecScatter{Float32}},Ptr{VecScatter{Float32}},Ref{VecScatter{Float32}}},arg3::Union{Ptr{VecScatter{Float32}},StridedArray{VecScatter{Float32}},Ptr{VecScatter{Float32}},Ref{VecScatter{Float32}}}) - err = ccall((:DMDAGetScatter,petscRealSingle),PetscErrorCode,(DM,Ptr{VecScatter{Float32}},Ptr{VecScatter{Float32}}),arg1,arg2,arg3) - return err -end - -function DMDAGetNeighbors(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Ptr{PetscMPIInt}},StridedArray{Ptr{PetscMPIInt}},Ptr{Ptr{PetscMPIInt}},Ref{Ptr{PetscMPIInt}}}) - err = ccall((:DMDAGetNeighbors,petscRealSingle),PetscErrorCode,(DM,Ptr{Ptr{PetscMPIInt}}),arg1,arg2) - return err -end - -function DMDASetAOType(arg0::Type{Float32},arg1::DM,arg2::AOType) - err = ccall((:DMDASetAOType,petscRealSingle),PetscErrorCode,(DM,Cstring),arg1,arg2) - return err -end - -function DMDAGetAO(arg1::DM,arg2::Union{Ptr{AO{Float32}},StridedArray{AO{Float32}},Ptr{AO{Float32}},Ref{AO{Float32}}}) - err = ccall((:DMDAGetAO,petscRealSingle),PetscErrorCode,(DM,Ptr{AO{Float32}}),arg1,arg2) - return err -end - -function DMDASetUniformCoordinates(arg0::Type{Float32},arg1::DM,arg2::Float32,arg3::Float32,arg4::Float32,arg5::Float32,arg6::Float32,arg7::Float32) - err = ccall((:DMDASetUniformCoordinates,petscRealSingle),PetscErrorCode,(DM,Float32,Float32,Float32,Float32,Float32,Float32),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMDAGetCoordinateArray(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDAGetCoordinateArray,petscRealSingle),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMDARestoreCoordinateArray(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDARestoreCoordinateArray,petscRealSingle),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMDAGetBoundingBox(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:DMDAGetBoundingBox,petscRealSingle),PetscErrorCode,(DM,Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3) - return err -end - -function DMDAGetLocalBoundingBox(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:DMDAGetLocalBoundingBox,petscRealSingle),PetscErrorCode,(DM,Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3) - return err -end - -function DMDAGetLogicalCoordinate(arg0::Type{Float32},arg1::DM,arg2::Float32,arg3::Float32,arg4::Float32,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg9::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg10::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:DMDAGetLogicalCoordinate,petscRealSingle),PetscErrorCode,(DM,Float32,Float32,Float32,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Float32},Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -function DMDAMapCoordsToPeriodicDomain(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:DMDAMapCoordsToPeriodicDomain,petscRealSingle),PetscErrorCode,(DM,Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3) - return err -end - -function DMDAGetReducedDMDA(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMDAGetReducedDMDA,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{DM}),arg1,arg2,arg3) - return err -end - -function DMDASetFieldName(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:DMDASetFieldName,petscRealSingle),PetscErrorCode,(DM,Int64,Cstring),arg1,arg2,arg3) - return err -end - -function DMDAGetFieldName(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:DMDAGetFieldName,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{Ptr{UInt8}}),arg1,arg2,arg3) - return err -end - -function DMDASetFieldNames(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:DMDASetFieldNames,petscRealSingle),PetscErrorCode,(DM,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function DMDAGetFieldNames(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}}) - err = ccall((:DMDAGetFieldNames,petscRealSingle),PetscErrorCode,(DM,Ptr{Ptr{Ptr{UInt8}}}),arg1,arg2) - return err -end - -function DMDASetCoordinateName(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:DMDASetCoordinateName,petscRealSingle),PetscErrorCode,(DM,Int64,Cstring),arg1,arg2,arg3) - return err -end - -function DMDAGetCoordinateName(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:DMDAGetCoordinateName,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{Ptr{UInt8}}),arg1,arg2,arg3) - return err -end - -function DMDASetBoundaryType(arg0::Type{Float32},arg1::DM,arg2::DMBoundaryType,arg3::DMBoundaryType,arg4::DMBoundaryType) - err = ccall((:DMDASetBoundaryType,petscRealSingle),PetscErrorCode,(DM,DMBoundaryType,DMBoundaryType,DMBoundaryType),arg1,arg2,arg3,arg4) - return err -end - -function DMDASetDof(arg0::Type{Float32},arg1::DM,arg2::Integer) - err = ccall((:DMDASetDof,petscRealSingle),PetscErrorCode,(DM,Int64),arg1,arg2) - return err -end - -function DMDASetOverlap(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:DMDASetOverlap,petscRealSingle),PetscErrorCode,(DM,Int64,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function DMDAGetOverlap(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDAGetOverlap,petscRealSingle),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMDASetNumLocalSubDomains(arg0::Type{Float32},arg1::DM,arg2::Integer) - err = ccall((:DMDASetNumLocalSubDomains,petscRealSingle),PetscErrorCode,(DM,Int64),arg1,arg2) - return err -end - -function DMDAGetNumLocalSubDomains(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDAGetNumLocalSubDomains,petscRealSingle),PetscErrorCode,(DM,Ptr{Int64}),arg1,arg2) - return err -end - -function DMDAGetOffset(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDAGetOffset,petscRealSingle),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMDASetOffset(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer) - err = ccall((:DMDASetOffset,petscRealSingle),PetscErrorCode,(DM,Int64,Int64,Int64,Int64,Int64,Int64),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMDAGetNonOverlappingRegion(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDAGetNonOverlappingRegion,petscRealSingle),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMDASetNonOverlappingRegion(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer) - err = ccall((:DMDASetNonOverlappingRegion,petscRealSingle),PetscErrorCode,(DM,Int64,Int64,Int64,Int64,Int64,Int64),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMDASetStencilWidth(arg0::Type{Float32},arg1::DM,arg2::Integer) - err = ccall((:DMDASetStencilWidth,petscRealSingle),PetscErrorCode,(DM,Int64),arg1,arg2) - return err -end - -function DMDASetOwnershipRanges(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDASetOwnershipRanges,petscRealSingle),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMDAGetOwnershipRanges(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMDAGetOwnershipRanges,petscRealSingle),PetscErrorCode,(DM,Ptr{Ptr{Int64}},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4) - return err -end - -function DMDASetNumProcs(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:DMDASetNumProcs,petscRealSingle),PetscErrorCode,(DM,Int64,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function DMDASetStencilType(arg0::Type{Float32},arg1::DM,arg2::DMDAStencilType) - err = ccall((:DMDASetStencilType,petscRealSingle),PetscErrorCode,(DM,DMDAStencilType),arg1,arg2) - return err -end - -function DMDAVecGetArray(arg1::DM,arg2::Vec{Float32},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDAVecGetArray,petscRealSingle),PetscErrorCode,(DM,Vec{Float32},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMDAVecRestoreArray(arg1::DM,arg2::Vec{Float32},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDAVecRestoreArray,petscRealSingle),PetscErrorCode,(DM,Vec{Float32},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMDAVecGetArrayDOF(arg1::DM,arg2::Vec{Float32},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDAVecGetArrayDOF,petscRealSingle),PetscErrorCode,(DM,Vec{Float32},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMDAVecRestoreArrayDOF(arg1::DM,arg2::Vec{Float32},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDAVecRestoreArrayDOF,petscRealSingle),PetscErrorCode,(DM,Vec{Float32},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMDAVecGetArrayRead(arg1::DM,arg2::Vec{Float32},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDAVecGetArrayRead,petscRealSingle),PetscErrorCode,(DM,Vec{Float32},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMDAVecRestoreArrayRead(arg1::DM,arg2::Vec{Float32},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDAVecRestoreArrayRead,petscRealSingle),PetscErrorCode,(DM,Vec{Float32},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMDAVecGetArrayDOFRead(arg1::DM,arg2::Vec{Float32},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDAVecGetArrayDOFRead,petscRealSingle),PetscErrorCode,(DM,Vec{Float32},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMDAVecRestoreArrayDOFRead(arg1::DM,arg2::Vec{Float32},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDAVecRestoreArrayDOFRead,petscRealSingle),PetscErrorCode,(DM,Vec{Float32},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMDASplitComm2d(arg0::Type{Float32},arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Union{Ptr{MPI_Comm},StridedArray{MPI_Comm},Ptr{MPI_Comm},Ref{MPI_Comm}}) - err = ccall((:DMDASplitComm2d,petscRealSingle),PetscErrorCode,(comm_type,Int64,Int64,Int64,Ptr{comm_type}),arg1,arg2,arg3,arg4,arg5) - return err -end - -#= skipping function with undefined symbols: - function DMDACreatePatchIS(arg1::DM,arg2::Union{Ptr{MatStencil},StridedArray{MatStencil},Ptr{MatStencil},Ref{MatStencil}},arg3::Union{Ptr{MatStencil},StridedArray{MatStencil},Ptr{MatStencil},Ref{MatStencil}},arg4::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - ccall((:DMDACreatePatchIS,petscRealSingle),PetscErrorCode,(DM,Ptr{MatStencil},Ptr{MatStencil},Ptr{IS{Float32}}),arg1,arg2,arg3,arg4) -end -=# -#= skipping function with undefined symbols: - function DMDAGetLocalInfo(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{DMDALocalInfo},StridedArray{DMDALocalInfo},Ptr{DMDALocalInfo},Ref{DMDALocalInfo}}) - ccall((:DMDAGetLocalInfo,petscRealSingle),PetscErrorCode,(DM,Ptr{DMDALocalInfo}),arg1,arg2) -end -=# -function MatRegisterDAAD(arg0::Type{Float32}) - err = ccall((:MatRegisterDAAD,petscRealSingle),PetscErrorCode,()) - return err -end - -function MatCreateDAAD(arg1::DM,arg2::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateDAAD,petscRealSingle),PetscErrorCode,(DM,Ptr{Mat{Float32}}),arg1,arg2) - return err -end - -function MatCreateSeqUSFFT(arg1::Vec{Float32},arg2::DM,arg3::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateSeqUSFFT,petscRealSingle),PetscErrorCode,(Vec{Float32},DM,Ptr{Mat{Float32}}),arg1,arg2,arg3) - return err -end - -function DMDASetGetMatrix(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDASetGetMatrix,petscRealSingle),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMDASetBlockFills(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDASetBlockFills,petscRealSingle),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function DMDASetRefinementFactor(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:DMDASetRefinementFactor,petscRealSingle),PetscErrorCode,(DM,Int64,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function DMDAGetRefinementFactor(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDAGetRefinementFactor,petscRealSingle),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMDAGetArray(arg0::Type{Float32},arg1::DM,arg2::PetscBool,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDAGetArray,petscRealSingle),PetscErrorCode,(DM,PetscBool,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMDARestoreArray(arg0::Type{Float32},arg1::DM,arg2::PetscBool,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDARestoreArray,petscRealSingle),PetscErrorCode,(DM,PetscBool,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMDACreatePF(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{PF},StridedArray{PF},Ptr{PF},Ref{PF}}) - err = ccall((:DMDACreatePF,petscRealSingle),PetscErrorCode,(DM,Ptr{PF}),arg1,arg2) - return err -end - -function DMDAGetNumCells(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDAGetNumCells,petscRealSingle),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMDAGetCellPoint(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDAGetCellPoint,petscRealSingle),PetscErrorCode,(DM,Int64,Int64,Int64,Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMDAGetNumVertices(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDAGetNumVertices,petscRealSingle),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMDAGetNumFaces(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDAGetNumFaces,petscRealSingle),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMDAGetHeightStratum(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDAGetHeightStratum,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMDAGetDepthStratum(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDAGetDepthStratum,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMDACreateSection(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:DMDACreateSection,petscRealSingle),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{PetscSection}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMDAComputeCellGeometryFEM(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::PetscQuadrature,arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg6::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg7::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:DMDAComputeCellGeometryFEM,petscRealSingle),PetscErrorCode,(DM,Int64,PetscQuadrature,Ptr{Float32},Ptr{Float32},Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMDAGetTransitiveClosure(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::PetscBool,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMDAGetTransitiveClosure,petscRealSingle),PetscErrorCode,(DM,Int64,PetscBool,Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMDARestoreTransitiveClosure(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::PetscBool,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMDARestoreTransitiveClosure,petscRealSingle),PetscErrorCode,(DM,Int64,PetscBool,Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMDAVecGetClosure(arg1::DM,arg2::PetscSection,arg3::Vec{Float32},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:DMDAVecGetClosure,petscRealSingle),PetscErrorCode,(DM,PetscSection,Vec{Float32},Int64,Ptr{Int64},Ptr{Ptr{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMDAVecRestoreClosure(arg1::DM,arg2::PetscSection,arg3::Vec{Float32},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:DMDAVecRestoreClosure,petscRealSingle),PetscErrorCode,(DM,PetscSection,Vec{Float32},Int64,Ptr{Int64},Ptr{Ptr{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMDAVecSetClosure(arg1::DM,arg2::PetscSection,arg3::Vec{Float32},arg4::Integer,arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg6::InsertMode) - err = ccall((:DMDAVecSetClosure,petscRealSingle),PetscErrorCode,(DM,PetscSection,Vec{Float32},Int64,Ptr{Float32},InsertMode),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMDAGetClosure(arg0::Type{Float32},arg1::DM,arg2::PetscSection,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMDAGetClosure,petscRealSingle),PetscErrorCode,(DM,PetscSection,Int64,Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMDARestoreClosure(arg0::Type{Float32},arg1::DM,arg2::PetscSection,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMDARestoreClosure,petscRealSingle),PetscErrorCode,(DM,PetscSection,Int64,Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMDAGetClosureScalar(arg0::Type{Float32},arg1::DM,arg2::PetscSection,arg3::Integer,arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:DMDAGetClosureScalar,petscRealSingle),PetscErrorCode,(DM,PetscSection,Int64,Ptr{Float32},Ptr{Int64},Ptr{Ptr{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMDARestoreClosureScalar(arg0::Type{Float32},arg1::DM,arg2::PetscSection,arg3::Integer,arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:DMDARestoreClosureScalar,petscRealSingle),PetscErrorCode,(DM,PetscSection,Int64,Ptr{Float32},Ptr{Int64},Ptr{Ptr{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMDASetClosureScalar(arg0::Type{Float32},arg1::DM,arg2::PetscSection,arg3::Integer,arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg6::InsertMode) - err = ccall((:DMDASetClosureScalar,petscRealSingle),PetscErrorCode,(DM,PetscSection,Int64,Ptr{Float32},Ptr{Float32},InsertMode),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -#= skipping function with undefined symbols: - function DMDAConvertToCell(arg0::Type{Float32},arg1::DM,arg2::MatStencil,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - ccall((:DMDAConvertToCell,petscRealSingle),PetscErrorCode,(DM,MatStencil,Ptr{Int64}),arg1,arg2,arg3) -end -=# -function DMDASetVertexCoordinates(arg0::Type{Float32},arg1::DM,arg2::Float32,arg3::Float32,arg4::Float32,arg5::Float32,arg6::Float32,arg7::Float32) - err = ccall((:DMDASetVertexCoordinates,petscRealSingle),PetscErrorCode,(DM,Float32,Float32,Float32,Float32,Float32,Float32),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMDASetPreallocationCenterDimension(arg0::Type{Float32},arg1::DM,arg2::Integer) - err = ccall((:DMDASetPreallocationCenterDimension,petscRealSingle),PetscErrorCode,(DM,Int64),arg1,arg2) - return err -end - -function DMDAGetPreallocationCenterDimension(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMDAGetPreallocationCenterDimension,petscRealSingle),PetscErrorCode,(DM,Ptr{Int64}),arg1,arg2) - return err -end - -function DMDAProjectFunction(arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::InsertMode,arg5::Vec{Float32}) - err = ccall((:DMDAProjectFunction,petscRealSingle),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Ptr{Void}},InsertMode,Vec{Float32}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMDAProjectFunctionLocal(arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::InsertMode,arg5::Vec{Float32}) - err = ccall((:DMDAProjectFunctionLocal,petscRealSingle),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Ptr{Void}},InsertMode,Vec{Float32}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMDAComputeL2Diff(arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::Vec{Float32},arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:DMDAComputeL2Diff,petscRealSingle),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Ptr{Void}},Vec{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMDAComputeL2GradientDiff(arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::Vec{Float32},arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg6::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:DMDAComputeL2GradientDiff,petscRealSingle),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Ptr{Void}},Vec{Float32},Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMCompositeCreate(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMCompositeCreate,petscRealSingle),PetscErrorCode,(comm_type,Ptr{DM}),arg1,arg2) - return err -end - -function DMCompositeAddDM(arg0::Type{Float32},arg1::DM,arg2::DM) - err = ccall((:DMCompositeAddDM,petscRealSingle),PetscErrorCode,(DM,DM),arg1,arg2) - return err -end - -function DMCompositeSetCoupling(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMCompositeSetCoupling,petscRealSingle),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMCompositeAddVecScatter(arg1::DM,arg2::VecScatter{Float32}) - err = ccall((:DMCompositeAddVecScatter,petscRealSingle),PetscErrorCode,(DM,VecScatter{Float32}),arg1,arg2) - return err -end - -function DMCompositeScatterArray(arg1::DM,arg2::Vec{Float32},arg3::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:DMCompositeScatterArray,petscRealSingle),PetscErrorCode,(DM,Vec{Float32},Ptr{Vec{Float32}}),arg1,arg2,arg3) - return err -end - -function DMCompositeGatherArray(arg1::DM,arg2::Vec{Float32},arg3::InsertMode,arg4::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:DMCompositeGatherArray,petscRealSingle),PetscErrorCode,(DM,Vec{Float32},InsertMode,Ptr{Vec{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function DMCompositeGetNumberDM(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMCompositeGetNumberDM,petscRealSingle),PetscErrorCode,(DM,Ptr{Int64}),arg1,arg2) - return err -end - -function DMCompositeGetAccessArray(arg1::DM,arg2::Vec{Float32},arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:DMCompositeGetAccessArray,petscRealSingle),PetscErrorCode,(DM,Vec{Float32},Int64,Ptr{Int64},Ptr{Vec{Float32}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMCompositeRestoreAccessArray(arg1::DM,arg2::Vec{Float32},arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:DMCompositeRestoreAccessArray,petscRealSingle),PetscErrorCode,(DM,Vec{Float32},Int64,Ptr{Int64},Ptr{Vec{Float32}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMCompositeGetEntriesArray(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMCompositeGetEntriesArray,petscRealSingle),PetscErrorCode,(DM,Ptr{DM}),arg1,arg2) - return err -end - -function DMCompositeGetGlobalISs(arg1::DM,arg2::Union{Ptr{Ptr{IS{Float32}}},StridedArray{Ptr{IS{Float32}}},Ptr{Ptr{IS{Float32}}},Ref{Ptr{IS{Float32}}}}) - err = ccall((:DMCompositeGetGlobalISs,petscRealSingle),PetscErrorCode,(DM,Ptr{Ptr{IS{Float32}}}),arg1,arg2) - return err -end - -function DMCompositeGetLocalISs(arg1::DM,arg2::Union{Ptr{Ptr{IS{Float32}}},StridedArray{Ptr{IS{Float32}}},Ptr{Ptr{IS{Float32}}},Ref{Ptr{IS{Float32}}}}) - err = ccall((:DMCompositeGetLocalISs,petscRealSingle),PetscErrorCode,(DM,Ptr{Ptr{IS{Float32}}}),arg1,arg2) - return err -end - -function DMCompositeGetISLocalToGlobalMappings(arg1::DM,arg2::Union{Ptr{Ptr{ISLocalToGlobalMapping{Float32}}},StridedArray{Ptr{ISLocalToGlobalMapping{Float32}}},Ptr{Ptr{ISLocalToGlobalMapping{Float32}}},Ref{Ptr{ISLocalToGlobalMapping{Float32}}}}) - err = ccall((:DMCompositeGetISLocalToGlobalMappings,petscRealSingle),PetscErrorCode,(DM,Ptr{Ptr{ISLocalToGlobalMapping{Float32}}}),arg1,arg2) - return err -end - -function DMPatchCreate(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPatchCreate,petscRealSingle),PetscErrorCode,(comm_type,Ptr{DM}),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function DMPatchZoom(arg1::DM,arg2::Vec{Float32},arg3::MatStencil,arg4::MatStencil,arg5::MPI_Comm,arg6::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}},arg7::Union{Ptr{PetscSF},StridedArray{PetscSF},Ptr{PetscSF},Ref{PetscSF}},arg8::Union{Ptr{PetscSF},StridedArray{PetscSF},Ptr{PetscSF},Ref{PetscSF}}) - ccall((:DMPatchZoom,petscRealSingle),PetscErrorCode,(DM,Vec{Float32},MatStencil,MatStencil,comm_type,Ptr{DM},Ptr{PetscSF},Ptr{PetscSF}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) -end -=# -function DMPatchSolve(arg0::Type{Float32},arg1::DM) - err = ccall((:DMPatchSolve,petscRealSingle),PetscErrorCode,(DM,),arg1) - return err -end - -#= skipping function with undefined symbols: - function DMPatchGetPatchSize(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{MatStencil},StridedArray{MatStencil},Ptr{MatStencil},Ref{MatStencil}}) - ccall((:DMPatchGetPatchSize,petscRealSingle),PetscErrorCode,(DM,Ptr{MatStencil}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function DMPatchSetPatchSize(arg0::Type{Float32},arg1::DM,arg2::MatStencil) - ccall((:DMPatchSetPatchSize,petscRealSingle),PetscErrorCode,(DM,MatStencil),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function DMPatchGetCommSize(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{MatStencil},StridedArray{MatStencil},Ptr{MatStencil},Ref{MatStencil}}) - ccall((:DMPatchGetCommSize,petscRealSingle),PetscErrorCode,(DM,Ptr{MatStencil}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function DMPatchSetCommSize(arg0::Type{Float32},arg1::DM,arg2::MatStencil) - ccall((:DMPatchSetCommSize,petscRealSingle),PetscErrorCode,(DM,MatStencil),arg1,arg2) -end -=# -function DMPatchGetCoarse(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPatchGetCoarse,petscRealSingle),PetscErrorCode,(DM,Ptr{DM}),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function DMPatchCreateGrid(arg0::Type{Float32},arg1::MPI_Comm,arg2::Integer,arg3::MatStencil,arg4::MatStencil,arg5::MatStencil,arg6::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - ccall((:DMPatchCreateGrid,petscRealSingle),PetscErrorCode,(comm_type,Int64,MatStencil,MatStencil,MatStencil,Ptr{DM}),arg1,arg2,arg3,arg4,arg5,arg6) -end -=# -function PetscLimiterCreate(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{PetscLimiter},StridedArray{PetscLimiter},Ptr{PetscLimiter},Ref{PetscLimiter}}) - err = ccall((:PetscLimiterCreate,petscRealSingle),PetscErrorCode,(comm_type,Ptr{PetscLimiter}),arg1,arg2) - return err -end - -function PetscLimiterDestroy(arg0::Type{Float32},arg1::Union{Ptr{PetscLimiter},StridedArray{PetscLimiter},Ptr{PetscLimiter},Ref{PetscLimiter}}) - err = ccall((:PetscLimiterDestroy,petscRealSingle),PetscErrorCode,(Ptr{PetscLimiter},),arg1) - return err -end - -function PetscLimiterSetType(arg0::Type{Float32},arg1::PetscLimiter,arg2::PetscLimiterType) - err = ccall((:PetscLimiterSetType,petscRealSingle),PetscErrorCode,(PetscLimiter,Cstring),arg1,arg2) - return err -end - -function PetscLimiterGetType(arg0::Type{Float32},arg1::PetscLimiter,arg2::Union{Ptr{PetscLimiterType},StridedArray{PetscLimiterType},Ptr{PetscLimiterType},Ref{PetscLimiterType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:PetscLimiterGetType,petscRealSingle),PetscErrorCode,(PetscLimiter,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function PetscLimiterSetUp(arg0::Type{Float32},arg1::PetscLimiter) - err = ccall((:PetscLimiterSetUp,petscRealSingle),PetscErrorCode,(PetscLimiter,),arg1) - return err -end - -function PetscLimiterSetFromOptions(arg0::Type{Float32},arg1::PetscLimiter) - err = ccall((:PetscLimiterSetFromOptions,petscRealSingle),PetscErrorCode,(PetscLimiter,),arg1) - return err -end - -function PetscLimiterViewFromOptions(arg0::Type{Float32},A::PetscLimiter,B::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscLimiterViewFromOptions,petscRealSingle),PetscErrorCode,(PetscLimiter,PetscObject,Cstring),A,B,name) - return err -end - -function PetscLimiterView(arg1::PetscLimiter,arg2::PetscViewer{Float32}) - err = ccall((:PetscLimiterView,petscRealSingle),PetscErrorCode,(PetscLimiter,PetscViewer{Float32}),arg1,arg2) - return err -end - -function PetscLimiterRegister(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscLimiterRegister,petscRealSingle),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function PetscLimiterRegisterDestroy(arg0::Type{Float32}) - err = ccall((:PetscLimiterRegisterDestroy,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscLimiterLimit(arg0::Type{Float32},arg1::PetscLimiter,arg2::Float32,arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:PetscLimiterLimit,petscRealSingle),PetscErrorCode,(PetscLimiter,Float32,Ptr{Float32}),arg1,arg2,arg3) - return err -end - -function PetscFVInitializePackage(arg0::Type{Float32}) - err = ccall((:PetscFVInitializePackage,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscFVCreate(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{PetscFV},StridedArray{PetscFV},Ptr{PetscFV},Ref{PetscFV}}) - err = ccall((:PetscFVCreate,petscRealSingle),PetscErrorCode,(comm_type,Ptr{PetscFV}),arg1,arg2) - return err -end - -function PetscFVDestroy(arg0::Type{Float32},arg1::Union{Ptr{PetscFV},StridedArray{PetscFV},Ptr{PetscFV},Ref{PetscFV}}) - err = ccall((:PetscFVDestroy,petscRealSingle),PetscErrorCode,(Ptr{PetscFV},),arg1) - return err -end - -function PetscFVSetType(arg0::Type{Float32},arg1::PetscFV,arg2::PetscFVType) - err = ccall((:PetscFVSetType,petscRealSingle),PetscErrorCode,(PetscFV,Cstring),arg1,arg2) - return err -end - -function PetscFVGetType(arg0::Type{Float32},arg1::PetscFV,arg2::Union{Ptr{PetscFVType},StridedArray{PetscFVType},Ptr{PetscFVType},Ref{PetscFVType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:PetscFVGetType,petscRealSingle),PetscErrorCode,(PetscFV,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function PetscFVSetUp(arg0::Type{Float32},arg1::PetscFV) - err = ccall((:PetscFVSetUp,petscRealSingle),PetscErrorCode,(PetscFV,),arg1) - return err -end - -function PetscFVSetFromOptions(arg0::Type{Float32},arg1::PetscFV) - err = ccall((:PetscFVSetFromOptions,petscRealSingle),PetscErrorCode,(PetscFV,),arg1) - return err -end - -function PetscFVViewFromOptions(arg0::Type{Float32},A::PetscFV,B::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscFVViewFromOptions,petscRealSingle),PetscErrorCode,(PetscFV,PetscObject,Cstring),A,B,name) - return err -end - -function PetscFVView(arg1::PetscFV,arg2::PetscViewer{Float32}) - err = ccall((:PetscFVView,petscRealSingle),PetscErrorCode,(PetscFV,PetscViewer{Float32}),arg1,arg2) - return err -end - -function PetscFVRegister(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscFVRegister,petscRealSingle),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function PetscFVRegisterDestroy(arg0::Type{Float32}) - err = ccall((:PetscFVRegisterDestroy,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscFVSetLimiter(arg0::Type{Float32},arg1::PetscFV,arg2::PetscLimiter) - err = ccall((:PetscFVSetLimiter,petscRealSingle),PetscErrorCode,(PetscFV,PetscLimiter),arg1,arg2) - return err -end - -function PetscFVGetLimiter(arg0::Type{Float32},arg1::PetscFV,arg2::Union{Ptr{PetscLimiter},StridedArray{PetscLimiter},Ptr{PetscLimiter},Ref{PetscLimiter}}) - err = ccall((:PetscFVGetLimiter,petscRealSingle),PetscErrorCode,(PetscFV,Ptr{PetscLimiter}),arg1,arg2) - return err -end - -function PetscFVSetNumComponents(arg0::Type{Float32},arg1::PetscFV,arg2::Integer) - err = ccall((:PetscFVSetNumComponents,petscRealSingle),PetscErrorCode,(PetscFV,Int64),arg1,arg2) - return err -end - -function PetscFVGetNumComponents(arg0::Type{Float32},arg1::PetscFV,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscFVGetNumComponents,petscRealSingle),PetscErrorCode,(PetscFV,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscFVSetSpatialDimension(arg0::Type{Float32},arg1::PetscFV,arg2::Integer) - err = ccall((:PetscFVSetSpatialDimension,petscRealSingle),PetscErrorCode,(PetscFV,Int64),arg1,arg2) - return err -end - -function PetscFVGetSpatialDimension(arg0::Type{Float32},arg1::PetscFV,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscFVGetSpatialDimension,petscRealSingle),PetscErrorCode,(PetscFV,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscFVSetComputeGradients(arg0::Type{Float32},arg1::PetscFV,arg2::PetscBool) - err = ccall((:PetscFVSetComputeGradients,petscRealSingle),PetscErrorCode,(PetscFV,PetscBool),arg1,arg2) - return err -end - -function PetscFVGetComputeGradients(arg0::Type{Float32},arg1::PetscFV,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscFVGetComputeGradients,petscRealSingle),PetscErrorCode,(PetscFV,Ptr{PetscBool}),arg1,arg2) - return err -end - -function PetscFVSetQuadrature(arg0::Type{Float32},arg1::PetscFV,arg2::PetscQuadrature) - err = ccall((:PetscFVSetQuadrature,petscRealSingle),PetscErrorCode,(PetscFV,PetscQuadrature),arg1,arg2) - return err -end - -function PetscFVGetQuadrature(arg0::Type{Float32},arg1::PetscFV,arg2::Union{Ptr{PetscQuadrature},StridedArray{PetscQuadrature},Ptr{PetscQuadrature},Ref{PetscQuadrature}}) - err = ccall((:PetscFVGetQuadrature,petscRealSingle),PetscErrorCode,(PetscFV,Ptr{PetscQuadrature}),arg1,arg2) - return err -end - -function PetscFVSetDualSpace(arg0::Type{Float32},arg1::PetscFV,arg2::PetscDualSpace) - err = ccall((:PetscFVSetDualSpace,petscRealSingle),PetscErrorCode,(PetscFV,PetscDualSpace),arg1,arg2) - return err -end - -function PetscFVGetDualSpace(arg0::Type{Float32},arg1::PetscFV,arg2::Union{Ptr{PetscDualSpace},StridedArray{PetscDualSpace},Ptr{PetscDualSpace},Ref{PetscDualSpace}}) - err = ccall((:PetscFVGetDualSpace,petscRealSingle),PetscErrorCode,(PetscFV,Ptr{PetscDualSpace}),arg1,arg2) - return err -end - -function PetscFVRefine(arg0::Type{Float32},arg1::PetscFV,arg2::Union{Ptr{PetscFV},StridedArray{PetscFV},Ptr{PetscFV},Ref{PetscFV}}) - err = ccall((:PetscFVRefine,petscRealSingle),PetscErrorCode,(PetscFV,Ptr{PetscFV}),arg1,arg2) - return err -end - -function PetscFVGetDefaultTabulation(arg0::Type{Float32},arg1::PetscFV,arg2::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}},arg3::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}},arg4::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:PetscFVGetDefaultTabulation,petscRealSingle),PetscErrorCode,(PetscFV,Ptr{Ptr{Float32}},Ptr{Ptr{Float32}},Ptr{Ptr{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscFVGetTabulation(arg0::Type{Float32},arg1::PetscFV,arg2::Integer,arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}},arg5::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}},arg6::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:PetscFVGetTabulation,petscRealSingle),PetscErrorCode,(PetscFV,Int64,Ptr{Float32},Ptr{Ptr{Float32}},Ptr{Ptr{Float32}},Ptr{Ptr{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscFVRestoreTabulation(arg0::Type{Float32},arg1::PetscFV,arg2::Integer,arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}},arg5::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}},arg6::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:PetscFVRestoreTabulation,petscRealSingle),PetscErrorCode,(PetscFV,Int64,Ptr{Float32},Ptr{Ptr{Float32}},Ptr{Ptr{Float32}},Ptr{Ptr{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PetscFVComputeGradient(arg0::Type{Float32},arg1::PetscFV,arg2::Integer,arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:PetscFVComputeGradient,petscRealSingle),PetscErrorCode,(PetscFV,Int64,Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4) - return err -end - -#= skipping function with undefined symbols: - function PetscFVIntegrateRHSFunction(arg0::Type{Float32},arg1::PetscFV,arg2::PetscDS,arg3::Integer,arg4::Integer,arg5::Union{Ptr{PetscFVFaceGeom},StridedArray{PetscFVFaceGeom},Ptr{PetscFVFaceGeom},Ref{PetscFVFaceGeom}},arg6::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg7::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg8::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg9::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg10::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - ccall((:PetscFVIntegrateRHSFunction,petscRealSingle),PetscErrorCode,(PetscFV,PetscDS,Int64,Int64,Ptr{PetscFVFaceGeom},Ptr{Float32},Ptr{Float32},Ptr{Float32},Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) -end -=# -function PetscFVLeastSquaresSetMaxFaces(arg0::Type{Float32},arg1::PetscFV,arg2::Integer) - err = ccall((:PetscFVLeastSquaresSetMaxFaces,petscRealSingle),PetscErrorCode,(PetscFV,Int64),arg1,arg2) - return err -end - -function PetscPartitionerCreate(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{PetscPartitioner},StridedArray{PetscPartitioner},Ptr{PetscPartitioner},Ref{PetscPartitioner}}) - err = ccall((:PetscPartitionerCreate,petscRealSingle),PetscErrorCode,(comm_type,Ptr{PetscPartitioner}),arg1,arg2) - return err -end - -function PetscPartitionerDestroy(arg0::Type{Float32},arg1::Union{Ptr{PetscPartitioner},StridedArray{PetscPartitioner},Ptr{PetscPartitioner},Ref{PetscPartitioner}}) - err = ccall((:PetscPartitionerDestroy,petscRealSingle),PetscErrorCode,(Ptr{PetscPartitioner},),arg1) - return err -end - -function PetscPartitionerSetType(arg0::Type{Float32},arg1::PetscPartitioner,arg2::PetscPartitionerType) - err = ccall((:PetscPartitionerSetType,petscRealSingle),PetscErrorCode,(PetscPartitioner,Cstring),arg1,arg2) - return err -end - -function PetscPartitionerGetType(arg0::Type{Float32},arg1::PetscPartitioner,arg2::Union{Ptr{PetscPartitionerType},StridedArray{PetscPartitionerType},Ptr{PetscPartitionerType},Ref{PetscPartitionerType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:PetscPartitionerGetType,petscRealSingle),PetscErrorCode,(PetscPartitioner,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function PetscPartitionerSetUp(arg0::Type{Float32},arg1::PetscPartitioner) - err = ccall((:PetscPartitionerSetUp,petscRealSingle),PetscErrorCode,(PetscPartitioner,),arg1) - return err -end - -function PetscPartitionerSetFromOptions(arg0::Type{Float32},arg1::PetscPartitioner) - err = ccall((:PetscPartitionerSetFromOptions,petscRealSingle),PetscErrorCode,(PetscPartitioner,),arg1) - return err -end - -function PetscPartitionerViewFromOptions(arg0::Type{Float32},A::PetscPartitioner,B::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscPartitionerViewFromOptions,petscRealSingle),PetscErrorCode,(PetscPartitioner,PetscObject,Cstring),A,B,name) - return err -end - -function PetscPartitionerView(arg1::PetscPartitioner,arg2::PetscViewer{Float32}) - err = ccall((:PetscPartitionerView,petscRealSingle),PetscErrorCode,(PetscPartitioner,PetscViewer{Float32}),arg1,arg2) - return err -end - -function PetscPartitionerRegister(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscPartitionerRegister,petscRealSingle),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function PetscPartitionerRegisterDestroy(arg0::Type{Float32}) - err = ccall((:PetscPartitionerRegisterDestroy,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscPartitionerPartition(arg1::PetscPartitioner,arg2::DM,arg3::PetscSection,arg4::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:PetscPartitionerPartition,petscRealSingle),PetscErrorCode,(PetscPartitioner,DM,PetscSection,Ptr{IS{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscPartitionerShellSetPartition(arg0::Type{Float32},arg1::PetscPartitioner,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscPartitionerShellSetPartition,petscRealSingle),PetscErrorCode,(PetscPartitioner,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCreate(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreate,petscRealSingle),PetscErrorCode,(comm_type,Ptr{DM}),arg1,arg2) - return err -end - -function DMPlexCreateCohesiveSubmesh(arg0::Type{Float32},arg1::DM,arg2::PetscBool,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Integer,arg5::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateCohesiveSubmesh,petscRealSingle),PetscErrorCode,(DM,PetscBool,Cstring,Int64,Ptr{DM}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexCreateFromCellList(arg0::Type{Float32},arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::PetscBool,arg7::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}},arg8::Integer,arg9::Union{Ptr{Cdouble},StridedArray{Cdouble},Ptr{Cdouble},Ref{Cdouble}},arg10::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateFromCellList,petscRealSingle),PetscErrorCode,(comm_type,Int64,Int64,Int64,Int64,PetscBool,Ptr{Cint},Int64,Ptr{Cdouble},Ptr{DM}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -function DMPlexCreateFromDAG(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:DMPlexCreateFromDAG,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Float32}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMPlexCreateReferenceCell(arg0::Type{Float32},arg1::MPI_Comm,arg2::Integer,arg3::PetscBool,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateReferenceCell,petscRealSingle),PetscErrorCode,(comm_type,Int64,PetscBool,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexGetChart(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetChart,petscRealSingle),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function DMPlexSetChart(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Integer) - err = ccall((:DMPlexSetChart,petscRealSingle),PetscErrorCode,(DM,Int64,Int64),arg1,arg2,arg3) - return err -end - -function DMPlexGetConeSize(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetConeSize,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function DMPlexSetConeSize(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Integer) - err = ccall((:DMPlexSetConeSize,petscRealSingle),PetscErrorCode,(DM,Int64,Int64),arg1,arg2,arg3) - return err -end - -function DMPlexAddConeSize(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Integer) - err = ccall((:DMPlexAddConeSize,petscRealSingle),PetscErrorCode,(DM,Int64,Int64),arg1,arg2,arg3) - return err -end - -function DMPlexGetCone(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexGetCone,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{Ptr{Int64}}),arg1,arg2,arg3) - return err -end - -function DMPlexSetCone(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexSetCone,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function DMPlexInsertCone(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:DMPlexInsertCone,petscRealSingle),PetscErrorCode,(DM,Int64,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexInsertConeOrientation(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:DMPlexInsertConeOrientation,petscRealSingle),PetscErrorCode,(DM,Int64,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexGetConeOrientation(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexGetConeOrientation,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{Ptr{Int64}}),arg1,arg2,arg3) - return err -end - -function DMPlexSetConeOrientation(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexSetConeOrientation,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function DMPlexGetSupportSize(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetSupportSize,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function DMPlexSetSupportSize(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Integer) - err = ccall((:DMPlexSetSupportSize,petscRealSingle),PetscErrorCode,(DM,Int64,Int64),arg1,arg2,arg3) - return err -end - -function DMPlexGetSupport(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexGetSupport,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{Ptr{Int64}}),arg1,arg2,arg3) - return err -end - -function DMPlexSetSupport(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexSetSupport,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function DMPlexInsertSupport(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:DMPlexInsertSupport,petscRealSingle),PetscErrorCode,(DM,Int64,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexGetConeSection(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:DMPlexGetConeSection,petscRealSingle),PetscErrorCode,(DM,Ptr{PetscSection}),arg1,arg2) - return err -end - -function DMPlexGetSupportSection(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:DMPlexGetSupportSection,petscRealSingle),PetscErrorCode,(DM,Ptr{PetscSection}),arg1,arg2) - return err -end - -function DMPlexGetCones(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexGetCones,petscRealSingle),PetscErrorCode,(DM,Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function DMPlexGetConeOrientations(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexGetConeOrientations,petscRealSingle),PetscErrorCode,(DM,Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function DMPlexGetMaxSizes(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetMaxSizes,petscRealSingle),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function DMPlexSymmetrize(arg0::Type{Float32},arg1::DM) - err = ccall((:DMPlexSymmetrize,petscRealSingle),PetscErrorCode,(DM,),arg1) - return err -end - -function DMPlexStratify(arg0::Type{Float32},arg1::DM) - err = ccall((:DMPlexStratify,petscRealSingle),PetscErrorCode,(DM,),arg1) - return err -end - -function DMPlexEqual(arg0::Type{Float32},arg1::DM,arg2::DM,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:DMPlexEqual,petscRealSingle),PetscErrorCode,(DM,DM,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function DMPlexReverseCell(arg0::Type{Float32},arg1::DM,arg2::Integer) - err = ccall((:DMPlexReverseCell,petscRealSingle),PetscErrorCode,(DM,Int64),arg1,arg2) - return err -end - -function DMPlexOrient(arg0::Type{Float32},arg1::DM) - err = ccall((:DMPlexOrient,petscRealSingle),PetscErrorCode,(DM,),arg1) - return err -end - -function DMPlexInterpolate(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexInterpolate,petscRealSingle),PetscErrorCode,(DM,Ptr{DM}),arg1,arg2) - return err -end - -function DMPlexUninterpolate(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexUninterpolate,petscRealSingle),PetscErrorCode,(DM,Ptr{DM}),arg1,arg2) - return err -end - -function DMPlexLoad(arg1::PetscViewer{Float32},arg2::DM) - err = ccall((:DMPlexLoad,petscRealSingle),PetscErrorCode,(PetscViewer{Float32},DM),arg1,arg2) - return err -end - -function DMPlexPreallocateOperator(arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Mat{Float32},arg8::PetscBool) - err = ccall((:DMPlexPreallocateOperator,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64},Mat{Float32},PetscBool),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function DMPlexGetPointLocal(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetPointLocal,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexPointLocalRead(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexPointLocalRead,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{Float32},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexPointLocalRef(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexPointLocalRef,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{Float32},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexGetPointLocalField(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetPointLocalField,petscRealSingle),PetscErrorCode,(DM,Int64,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexPointLocalFieldRef(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexPointLocalFieldRef,petscRealSingle),PetscErrorCode,(DM,Int64,Int64,Ptr{Float32},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexPointLocalFieldRead(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexPointLocalFieldRead,petscRealSingle),PetscErrorCode,(DM,Int64,Int64,Ptr{Float32},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexGetPointGlobal(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetPointGlobal,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexPointGlobalRead(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexPointGlobalRead,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{Float32},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexPointGlobalRef(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexPointGlobalRef,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{Float32},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexGetPointGlobalField(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetPointGlobalField,petscRealSingle),PetscErrorCode,(DM,Int64,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexPointGlobalFieldRef(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexPointGlobalFieldRef,petscRealSingle),PetscErrorCode,(DM,Int64,Int64,Ptr{Float32},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexPointGlobalFieldRead(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexPointGlobalFieldRead,petscRealSingle),PetscErrorCode,(DM,Int64,Int64,Ptr{Float32},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMLabelCreate(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{DMLabel},StridedArray{DMLabel},Ptr{DMLabel},Ref{DMLabel}}) - err = ccall((:DMLabelCreate,petscRealSingle),PetscErrorCode,(Cstring,Ptr{DMLabel}),arg1,arg2) - return err -end - -function DMLabelView(arg1::DMLabel,arg2::PetscViewer{Float32}) - err = ccall((:DMLabelView,petscRealSingle),PetscErrorCode,(DMLabel,PetscViewer{Float32}),arg1,arg2) - return err -end - -function DMLabelDestroy(arg0::Type{Float32},arg1::Union{Ptr{DMLabel},StridedArray{DMLabel},Ptr{DMLabel},Ref{DMLabel}}) - err = ccall((:DMLabelDestroy,petscRealSingle),PetscErrorCode,(Ptr{DMLabel},),arg1) - return err -end - -function DMLabelDuplicate(arg0::Type{Float32},arg1::DMLabel,arg2::Union{Ptr{DMLabel},StridedArray{DMLabel},Ptr{DMLabel},Ref{DMLabel}}) - err = ccall((:DMLabelDuplicate,petscRealSingle),PetscErrorCode,(DMLabel,Ptr{DMLabel}),arg1,arg2) - return err -end - -function DMLabelGetName(arg0::Type{Float32},arg1::DMLabel,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:DMLabelGetName,petscRealSingle),PetscErrorCode,(DMLabel,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function DMLabelGetValue(arg0::Type{Float32},arg1::DMLabel,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMLabelGetValue,petscRealSingle),PetscErrorCode,(DMLabel,Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function DMLabelSetValue(arg0::Type{Float32},arg1::DMLabel,arg2::Integer,arg3::Integer) - err = ccall((:DMLabelSetValue,petscRealSingle),PetscErrorCode,(DMLabel,Int64,Int64),arg1,arg2,arg3) - return err -end - -function DMLabelClearValue(arg0::Type{Float32},arg1::DMLabel,arg2::Integer,arg3::Integer) - err = ccall((:DMLabelClearValue,petscRealSingle),PetscErrorCode,(DMLabel,Int64,Int64),arg1,arg2,arg3) - return err -end - -function DMLabelInsertIS(arg1::DMLabel,arg2::IS{Float32},arg3::Integer) - err = ccall((:DMLabelInsertIS,petscRealSingle),PetscErrorCode,(DMLabel,IS{Float32},Int64),arg1,arg2,arg3) - return err -end - -function DMLabelGetNumValues(arg0::Type{Float32},arg1::DMLabel,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMLabelGetNumValues,petscRealSingle),PetscErrorCode,(DMLabel,Ptr{Int64}),arg1,arg2) - return err -end - -function DMLabelGetStratumBounds(arg0::Type{Float32},arg1::DMLabel,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMLabelGetStratumBounds,petscRealSingle),PetscErrorCode,(DMLabel,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMLabelGetValueIS(arg1::DMLabel,arg2::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:DMLabelGetValueIS,petscRealSingle),PetscErrorCode,(DMLabel,Ptr{IS{Float32}}),arg1,arg2) - return err -end - -function DMLabelStratumHasPoint(arg0::Type{Float32},arg1::DMLabel,arg2::Integer,arg3::Integer,arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:DMLabelStratumHasPoint,petscRealSingle),PetscErrorCode,(DMLabel,Int64,Int64,Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function DMLabelGetStratumSize(arg0::Type{Float32},arg1::DMLabel,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMLabelGetStratumSize,petscRealSingle),PetscErrorCode,(DMLabel,Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function DMLabelGetStratumIS(arg1::DMLabel,arg2::Integer,arg3::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:DMLabelGetStratumIS,petscRealSingle),PetscErrorCode,(DMLabel,Int64,Ptr{IS{Float32}}),arg1,arg2,arg3) - return err -end - -function DMLabelClearStratum(arg0::Type{Float32},arg1::DMLabel,arg2::Integer) - err = ccall((:DMLabelClearStratum,petscRealSingle),PetscErrorCode,(DMLabel,Int64),arg1,arg2) - return err -end - -function DMLabelCreateIndex(arg0::Type{Float32},arg1::DMLabel,arg2::Integer,arg3::Integer) - err = ccall((:DMLabelCreateIndex,petscRealSingle),PetscErrorCode,(DMLabel,Int64,Int64),arg1,arg2,arg3) - return err -end - -function DMLabelDestroyIndex(arg0::Type{Float32},arg1::DMLabel) - err = ccall((:DMLabelDestroyIndex,petscRealSingle),PetscErrorCode,(DMLabel,),arg1) - return err -end - -function DMLabelHasValue(arg0::Type{Float32},arg1::DMLabel,arg2::Integer,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:DMLabelHasValue,petscRealSingle),PetscErrorCode,(DMLabel,Int64,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function DMLabelHasPoint(arg0::Type{Float32},arg1::DMLabel,arg2::Integer,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:DMLabelHasPoint,petscRealSingle),PetscErrorCode,(DMLabel,Int64,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function DMLabelFilter(arg0::Type{Float32},arg1::DMLabel,arg2::Integer,arg3::Integer) - err = ccall((:DMLabelFilter,petscRealSingle),PetscErrorCode,(DMLabel,Int64,Int64),arg1,arg2,arg3) - return err -end - -function DMLabelPermute(arg1::DMLabel,arg2::IS{Float32},arg3::Union{Ptr{DMLabel},StridedArray{DMLabel},Ptr{DMLabel},Ref{DMLabel}}) - err = ccall((:DMLabelPermute,petscRealSingle),PetscErrorCode,(DMLabel,IS{Float32},Ptr{DMLabel}),arg1,arg2,arg3) - return err -end - -function DMLabelDistribute(arg0::Type{Float32},arg1::DMLabel,arg2::PetscSF,arg3::Union{Ptr{DMLabel},StridedArray{DMLabel},Ptr{DMLabel},Ref{DMLabel}}) - err = ccall((:DMLabelDistribute,petscRealSingle),PetscErrorCode,(DMLabel,PetscSF,Ptr{DMLabel}),arg1,arg2,arg3) - return err -end - -function DMPlexCreateLabel(arg0::Type{Float32},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:DMPlexCreateLabel,petscRealSingle),PetscErrorCode,(DM,Cstring),arg1,arg2) - return err -end - -function DMPlexGetLabelValue(arg0::Type{Float32},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetLabelValue,petscRealSingle),PetscErrorCode,(DM,Cstring,Int64,Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexSetLabelValue(arg0::Type{Float32},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::Integer) - err = ccall((:DMPlexSetLabelValue,petscRealSingle),PetscErrorCode,(DM,Cstring,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexClearLabelValue(arg0::Type{Float32},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::Integer) - err = ccall((:DMPlexClearLabelValue,petscRealSingle),PetscErrorCode,(DM,Cstring,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexGetLabelSize(arg0::Type{Float32},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetLabelSize,petscRealSingle),PetscErrorCode,(DM,Cstring,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function DMPlexGetLabelIdIS(arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:DMPlexGetLabelIdIS,petscRealSingle),PetscErrorCode,(DM,Cstring,Ptr{IS{Float32}}),arg1,arg2,arg3) - return err -end - -function DMPlexGetStratumSize(arg0::Type{Float32},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetStratumSize,petscRealSingle),PetscErrorCode,(DM,Cstring,Int64,Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexGetStratumIS(arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:DMPlexGetStratumIS,petscRealSingle),PetscErrorCode,(DM,Cstring,Int64,Ptr{IS{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexClearLabelStratum(arg0::Type{Float32},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer) - err = ccall((:DMPlexClearLabelStratum,petscRealSingle),PetscErrorCode,(DM,Cstring,Int64),arg1,arg2,arg3) - return err -end - -function DMPlexGetLabelOutput(arg0::Type{Float32},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:DMPlexGetLabelOutput,petscRealSingle),PetscErrorCode,(DM,Cstring,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function DMPlexSetLabelOutput(arg0::Type{Float32},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::PetscBool) - err = ccall((:DMPlexSetLabelOutput,petscRealSingle),PetscErrorCode,(DM,Cstring,PetscBool),arg1,arg2,arg3) - return err -end - -function PetscSectionCreateGlobalSectionLabel(arg0::Type{Float32},arg1::PetscSection,arg2::PetscSF,arg3::PetscBool,arg4::DMLabel,arg5::Integer,arg6::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:PetscSectionCreateGlobalSectionLabel,petscRealSingle),PetscErrorCode,(PetscSection,PetscSF,PetscBool,DMLabel,Int64,Ptr{PetscSection}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMPlexGetNumLabels(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetNumLabels,petscRealSingle),PetscErrorCode,(DM,Ptr{Int64}),arg1,arg2) - return err -end - -function DMPlexGetLabelName(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:DMPlexGetLabelName,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{Ptr{UInt8}}),arg1,arg2,arg3) - return err -end - -function DMPlexHasLabel(arg0::Type{Float32},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:DMPlexHasLabel,petscRealSingle),PetscErrorCode,(DM,Cstring,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function DMPlexGetLabel(arg0::Type{Float32},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{DMLabel},StridedArray{DMLabel},Ptr{DMLabel},Ref{DMLabel}}) - err = ccall((:DMPlexGetLabel,petscRealSingle),PetscErrorCode,(DM,Cstring,Ptr{DMLabel}),arg1,arg2,arg3) - return err -end - -function DMPlexGetLabelByNum(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{DMLabel},StridedArray{DMLabel},Ptr{DMLabel},Ref{DMLabel}}) - err = ccall((:DMPlexGetLabelByNum,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{DMLabel}),arg1,arg2,arg3) - return err -end - -function DMPlexAddLabel(arg0::Type{Float32},arg1::DM,arg2::DMLabel) - err = ccall((:DMPlexAddLabel,petscRealSingle),PetscErrorCode,(DM,DMLabel),arg1,arg2) - return err -end - -function DMPlexRemoveLabel(arg0::Type{Float32},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{DMLabel},StridedArray{DMLabel},Ptr{DMLabel},Ref{DMLabel}}) - err = ccall((:DMPlexRemoveLabel,petscRealSingle),PetscErrorCode,(DM,Cstring,Ptr{DMLabel}),arg1,arg2,arg3) - return err -end - -function DMPlexGetCellNumbering(arg1::DM,arg2::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:DMPlexGetCellNumbering,petscRealSingle),PetscErrorCode,(DM,Ptr{IS{Float32}}),arg1,arg2) - return err -end - -function DMPlexGetVertexNumbering(arg1::DM,arg2::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:DMPlexGetVertexNumbering,petscRealSingle),PetscErrorCode,(DM,Ptr{IS{Float32}}),arg1,arg2) - return err -end - -function DMPlexCreatePointNumbering(arg1::DM,arg2::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:DMPlexCreatePointNumbering,petscRealSingle),PetscErrorCode,(DM,Ptr{IS{Float32}}),arg1,arg2) - return err -end - -function DMPlexGetDepth(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetDepth,petscRealSingle),PetscErrorCode,(DM,Ptr{Int64}),arg1,arg2) - return err -end - -function DMPlexGetDepthLabel(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{DMLabel},StridedArray{DMLabel},Ptr{DMLabel},Ref{DMLabel}}) - err = ccall((:DMPlexGetDepthLabel,petscRealSingle),PetscErrorCode,(DM,Ptr{DMLabel}),arg1,arg2) - return err -end - -function DMPlexGetDepthStratum(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetDepthStratum,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexGetHeightStratum(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetHeightStratum,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexGetMeet(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexGetMeet,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexGetFullMeet(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexGetFullMeet,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexRestoreMeet(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexRestoreMeet,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexGetJoin(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexGetJoin,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexGetFullJoin(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexGetFullJoin,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexRestoreJoin(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexRestoreJoin,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexGetTransitiveClosure(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::PetscBool,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexGetTransitiveClosure,petscRealSingle),PetscErrorCode,(DM,Int64,PetscBool,Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexRestoreTransitiveClosure(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::PetscBool,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexRestoreTransitiveClosure,petscRealSingle),PetscErrorCode,(DM,Int64,PetscBool,Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexGenerate(arg0::Type{Float32},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::PetscBool,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexGenerate,petscRealSingle),PetscErrorCode,(DM,Cstring,PetscBool,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCopyCoordinates(arg0::Type{Float32},arg1::DM,arg2::DM) - err = ccall((:DMPlexCopyCoordinates,petscRealSingle),PetscErrorCode,(DM,DM),arg1,arg2) - return err -end - -function DMPlexCopyLabels(arg0::Type{Float32},arg1::DM,arg2::DM) - err = ccall((:DMPlexCopyLabels,petscRealSingle),PetscErrorCode,(DM,DM),arg1,arg2) - return err -end - -function DMPlexCreateDoublet(arg0::Type{Float32},arg1::MPI_Comm,arg2::Integer,arg3::PetscBool,arg4::PetscBool,arg5::PetscBool,arg6::Float32,arg7::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateDoublet,petscRealSingle),PetscErrorCode,(comm_type,Int64,PetscBool,PetscBool,PetscBool,Float32,Ptr{DM}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMPlexCreateSquareBoundary(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexCreateSquareBoundary,petscRealSingle),PetscErrorCode,(DM,Ptr{Float32},Ptr{Float32},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCreateCubeBoundary(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexCreateCubeBoundary,petscRealSingle),PetscErrorCode,(DM,Ptr{Float32},Ptr{Float32},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCreateSquareMesh(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::DMBoundaryType,arg6::DMBoundaryType) - err = ccall((:DMPlexCreateSquareMesh,petscRealSingle),PetscErrorCode,(DM,Ptr{Float32},Ptr{Float32},Ptr{Int64},DMBoundaryType,DMBoundaryType),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMPlexCreateBoxMesh(arg0::Type{Float32},arg1::MPI_Comm,arg2::Integer,arg3::PetscBool,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateBoxMesh,petscRealSingle),PetscErrorCode,(comm_type,Int64,PetscBool,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCreateHexBoxMesh(arg0::Type{Float32},arg1::MPI_Comm,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::DMBoundaryType,arg5::DMBoundaryType,arg6::DMBoundaryType,arg7::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateHexBoxMesh,petscRealSingle),PetscErrorCode,(comm_type,Int64,Ptr{Int64},DMBoundaryType,DMBoundaryType,DMBoundaryType,Ptr{DM}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMPlexCreateConeSection(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:DMPlexCreateConeSection,petscRealSingle),PetscErrorCode,(DM,Ptr{PetscSection}),arg1,arg2) - return err -end - -function DMPlexInvertCell(arg0::Type{Float32},arg1::Integer,arg2::Integer,arg3::Union{Ptr{Cint},StridedArray{Cint},Ptr{Cint},Ref{Cint}}) - err = ccall((:DMPlexInvertCell,petscRealSingle),PetscErrorCode,(Int64,Int64,Ptr{Cint}),arg1,arg2,arg3) - return err -end - -function DMPlexLocalizeCoordinate(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:DMPlexLocalizeCoordinate,petscRealSingle),PetscErrorCode,(DM,Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3) - return err -end - -function DMPlexLocalizeCoordinates(arg0::Type{Float32},arg1::DM) - err = ccall((:DMPlexLocalizeCoordinates,petscRealSingle),PetscErrorCode,(DM,),arg1) - return err -end - -function DMPlexCheckSymmetry(arg0::Type{Float32},arg1::DM) - err = ccall((:DMPlexCheckSymmetry,petscRealSingle),PetscErrorCode,(DM,),arg1) - return err -end - -function DMPlexCheckSkeleton(arg0::Type{Float32},arg1::DM,arg2::PetscBool,arg3::Integer) - err = ccall((:DMPlexCheckSkeleton,petscRealSingle),PetscErrorCode,(DM,PetscBool,Int64),arg1,arg2,arg3) - return err -end - -function DMPlexCheckFaces(arg0::Type{Float32},arg1::DM,arg2::PetscBool,arg3::Integer) - err = ccall((:DMPlexCheckFaces,petscRealSingle),PetscErrorCode,(DM,PetscBool,Int64),arg1,arg2,arg3) - return err -end - -function DMPlexTriangleSetOptions(arg0::Type{Float32},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:DMPlexTriangleSetOptions,petscRealSingle),PetscErrorCode,(DM,Cstring),arg1,arg2) - return err -end - -function DMPlexTetgenSetOptions(arg0::Type{Float32},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:DMPlexTetgenSetOptions,petscRealSingle),PetscErrorCode,(DM,Cstring),arg1,arg2) - return err -end - -function DMPlexCreateNeighborCSR(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexCreateNeighborCSR,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexGetPartitioner(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{PetscPartitioner},StridedArray{PetscPartitioner},Ptr{PetscPartitioner},Ref{PetscPartitioner}}) - err = ccall((:DMPlexGetPartitioner,petscRealSingle),PetscErrorCode,(DM,Ptr{PetscPartitioner}),arg1,arg2) - return err -end - -function DMPlexSetPartitioner(arg0::Type{Float32},arg1::DM,arg2::PetscPartitioner) - err = ccall((:DMPlexSetPartitioner,petscRealSingle),PetscErrorCode,(DM,PetscPartitioner),arg1,arg2) - return err -end - -function DMPlexCreatePartition(arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::PetscBool,arg5::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}},arg6::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}},arg7::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}},arg8::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:DMPlexCreatePartition,petscRealSingle),PetscErrorCode,(DM,Cstring,Int64,PetscBool,Ptr{PetscSection},Ptr{IS{Float32}},Ptr{PetscSection},Ptr{IS{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function DMPlexCreatePartitionerGraph(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexCreatePartitionerGraph,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexCreatePartitionClosure(arg1::DM,arg2::PetscSection,arg3::IS{Float32},arg4::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}},arg5::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:DMPlexCreatePartitionClosure,petscRealSingle),PetscErrorCode,(DM,PetscSection,IS{Float32},Ptr{PetscSection},Ptr{IS{Float32}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexPartitionLabelInvert(arg0::Type{Float32},arg1::DM,arg2::DMLabel,arg3::PetscSF,arg4::DMLabel) - err = ccall((:DMPlexPartitionLabelInvert,petscRealSingle),PetscErrorCode,(DM,DMLabel,PetscSF,DMLabel),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexPartitionLabelClosure(arg0::Type{Float32},arg1::DM,arg2::DMLabel) - err = ccall((:DMPlexPartitionLabelClosure,petscRealSingle),PetscErrorCode,(DM,DMLabel),arg1,arg2) - return err -end - -function DMPlexPartitionLabelAdjacency(arg0::Type{Float32},arg1::DM,arg2::DMLabel) - err = ccall((:DMPlexPartitionLabelAdjacency,petscRealSingle),PetscErrorCode,(DM,DMLabel),arg1,arg2) - return err -end - -function DMPlexPartitionLabelCreateSF(arg0::Type{Float32},arg1::DM,arg2::DMLabel,arg3::Union{Ptr{PetscSF},StridedArray{PetscSF},Ptr{PetscSF},Ref{PetscSF}}) - err = ccall((:DMPlexPartitionLabelCreateSF,petscRealSingle),PetscErrorCode,(DM,DMLabel,Ptr{PetscSF}),arg1,arg2,arg3) - return err -end - -function DMPlexDistribute(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{PetscSF},StridedArray{PetscSF},Ptr{PetscSF},Ref{PetscSF}},arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexDistribute,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{PetscSF},Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexDistributeOverlap(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{PetscSF},StridedArray{PetscSF},Ptr{PetscSF},Ref{PetscSF}},arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexDistributeOverlap,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{PetscSF},Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexDistributeField(arg1::DM,arg2::PetscSF,arg3::PetscSection,arg4::Vec{Float32},arg5::PetscSection,arg6::Vec{Float32}) - err = ccall((:DMPlexDistributeField,petscRealSingle),PetscErrorCode,(DM,PetscSF,PetscSection,Vec{Float32},PetscSection,Vec{Float32}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMPlexDistributeFieldIS(arg1::DM,arg2::PetscSF,arg3::PetscSection,arg4::IS{Float32},arg5::PetscSection,arg6::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:DMPlexDistributeFieldIS,petscRealSingle),PetscErrorCode,(DM,PetscSF,PetscSection,IS{Float32},PetscSection,Ptr{IS{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -#= skipping function with undefined symbols: - function DMPlexDistributeData(arg0::Type{Float32},arg1::DM,arg2::PetscSF,arg3::PetscSection,arg4::MPI_Datatype,arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg6::PetscSection,arg7::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - ccall((:DMPlexDistributeData,petscRealSingle),PetscErrorCode,(DM,PetscSF,PetscSection,MPI_Datatype,Ptr{Void},PetscSection,Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -function DMPlexMigrate(arg0::Type{Float32},arg1::DM,arg2::PetscSF,arg3::DM) - err = ccall((:DMPlexMigrate,petscRealSingle),PetscErrorCode,(DM,PetscSF,DM),arg1,arg2,arg3) - return err -end - -function DMPlexSetAdjacencyUseCone(arg0::Type{Float32},arg1::DM,arg2::PetscBool) - err = ccall((:DMPlexSetAdjacencyUseCone,petscRealSingle),PetscErrorCode,(DM,PetscBool),arg1,arg2) - return err -end - -function DMPlexGetAdjacencyUseCone(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:DMPlexGetAdjacencyUseCone,petscRealSingle),PetscErrorCode,(DM,Ptr{PetscBool}),arg1,arg2) - return err -end - -function DMPlexSetAdjacencyUseClosure(arg0::Type{Float32},arg1::DM,arg2::PetscBool) - err = ccall((:DMPlexSetAdjacencyUseClosure,petscRealSingle),PetscErrorCode,(DM,PetscBool),arg1,arg2) - return err -end - -function DMPlexGetAdjacencyUseClosure(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:DMPlexGetAdjacencyUseClosure,petscRealSingle),PetscErrorCode,(DM,Ptr{PetscBool}),arg1,arg2) - return err -end - -function DMPlexSetAdjacencyUseAnchors(arg0::Type{Float32},arg1::DM,arg2::PetscBool) - err = ccall((:DMPlexSetAdjacencyUseAnchors,petscRealSingle),PetscErrorCode,(DM,PetscBool),arg1,arg2) - return err -end - -function DMPlexGetAdjacencyUseAnchors(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:DMPlexGetAdjacencyUseAnchors,petscRealSingle),PetscErrorCode,(DM,Ptr{PetscBool}),arg1,arg2) - return err -end - -function DMPlexGetAdjacency(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexGetAdjacency,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexGetOrdering(arg1::DM,arg2::MatOrderingType,arg3::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:DMPlexGetOrdering,petscRealSingle),PetscErrorCode,(DM,Cstring,Ptr{IS{Float32}}),arg1,arg2,arg3) - return err -end - -function DMPlexPermute(arg1::DM,arg2::IS{Float32},arg3::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexPermute,petscRealSingle),PetscErrorCode,(DM,IS{Float32},Ptr{DM}),arg1,arg2,arg3) - return err -end - -function DMPlexCreateProcessSF(arg1::DM,arg2::PetscSF,arg3::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}},arg4::Union{Ptr{PetscSF},StridedArray{PetscSF},Ptr{PetscSF},Ref{PetscSF}}) - err = ccall((:DMPlexCreateProcessSF,petscRealSingle),PetscErrorCode,(DM,PetscSF,Ptr{IS{Float32}},Ptr{PetscSF}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCreateTwoSidedProcessSF(arg1::DM,arg2::PetscSF,arg3::PetscSection,arg4::IS{Float32},arg5::PetscSection,arg6::IS{Float32},arg7::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}},arg8::Union{Ptr{PetscSF},StridedArray{PetscSF},Ptr{PetscSF},Ref{PetscSF}}) - err = ccall((:DMPlexCreateTwoSidedProcessSF,petscRealSingle),PetscErrorCode,(DM,PetscSF,PetscSection,IS{Float32},PetscSection,IS{Float32},Ptr{IS{Float32}},Ptr{PetscSF}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function DMPlexDistributeOwnership(arg1::DM,arg2::PetscSection,arg3::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}},arg4::PetscSection,arg5::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:DMPlexDistributeOwnership,petscRealSingle),PetscErrorCode,(DM,PetscSection,Ptr{IS{Float32}},PetscSection,Ptr{IS{Float32}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexCreateOverlap(arg1::DM,arg2::Integer,arg3::PetscSection,arg4::IS{Float32},arg5::PetscSection,arg6::IS{Float32},arg7::Union{Ptr{DMLabel},StridedArray{DMLabel},Ptr{DMLabel},Ref{DMLabel}}) - err = ccall((:DMPlexCreateOverlap,petscRealSingle),PetscErrorCode,(DM,Int64,PetscSection,IS{Float32},PetscSection,IS{Float32},Ptr{DMLabel}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMPlexCreateOverlapMigrationSF(arg0::Type{Float32},arg1::DM,arg2::PetscSF,arg3::Union{Ptr{PetscSF},StridedArray{PetscSF},Ptr{PetscSF},Ref{PetscSF}}) - err = ccall((:DMPlexCreateOverlapMigrationSF,petscRealSingle),PetscErrorCode,(DM,PetscSF,Ptr{PetscSF}),arg1,arg2,arg3) - return err -end - -function DMPlexStratifyMigrationSF(arg0::Type{Float32},arg1::DM,arg2::PetscSF,arg3::Union{Ptr{PetscSF},StridedArray{PetscSF},Ptr{PetscSF},Ref{PetscSF}}) - err = ccall((:DMPlexStratifyMigrationSF,petscRealSingle),PetscErrorCode,(DM,PetscSF,Ptr{PetscSF}),arg1,arg2,arg3) - return err -end - -function DMPlexCreateSubmesh(arg0::Type{Float32},arg1::DM,arg2::DMLabel,arg3::Integer,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateSubmesh,petscRealSingle),PetscErrorCode,(DM,DMLabel,Int64,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCreateHybridMesh(arg0::Type{Float32},arg1::DM,arg2::DMLabel,arg3::Union{Ptr{DMLabel},StridedArray{DMLabel},Ptr{DMLabel},Ref{DMLabel}},arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateHybridMesh,petscRealSingle),PetscErrorCode,(DM,DMLabel,Ptr{DMLabel},Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexGetSubpointMap(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{DMLabel},StridedArray{DMLabel},Ptr{DMLabel},Ref{DMLabel}}) - err = ccall((:DMPlexGetSubpointMap,petscRealSingle),PetscErrorCode,(DM,Ptr{DMLabel}),arg1,arg2) - return err -end - -function DMPlexSetSubpointMap(arg0::Type{Float32},arg1::DM,arg2::DMLabel) - err = ccall((:DMPlexSetSubpointMap,petscRealSingle),PetscErrorCode,(DM,DMLabel),arg1,arg2) - return err -end - -function DMPlexCreateSubpointIS(arg1::DM,arg2::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:DMPlexCreateSubpointIS,petscRealSingle),PetscErrorCode,(DM,Ptr{IS{Float32}}),arg1,arg2) - return err -end - -function DMPlexMarkBoundaryFaces(arg0::Type{Float32},arg1::DM,arg2::DMLabel) - err = ccall((:DMPlexMarkBoundaryFaces,petscRealSingle),PetscErrorCode,(DM,DMLabel),arg1,arg2) - return err -end - -function DMPlexLabelComplete(arg0::Type{Float32},arg1::DM,arg2::DMLabel) - err = ccall((:DMPlexLabelComplete,petscRealSingle),PetscErrorCode,(DM,DMLabel),arg1,arg2) - return err -end - -function DMPlexLabelCohesiveComplete(arg0::Type{Float32},arg1::DM,arg2::DMLabel,arg3::DMLabel,arg4::PetscBool,arg5::DM) - err = ccall((:DMPlexLabelCohesiveComplete,petscRealSingle),PetscErrorCode,(DM,DMLabel,DMLabel,PetscBool,DM),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexLabelAddCells(arg0::Type{Float32},arg1::DM,arg2::DMLabel) - err = ccall((:DMPlexLabelAddCells,petscRealSingle),PetscErrorCode,(DM,DMLabel),arg1,arg2) - return err -end - -function DMPlexGetRefinementLimit(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:DMPlexGetRefinementLimit,petscRealSingle),PetscErrorCode,(DM,Ptr{Float32}),arg1,arg2) - return err -end - -function DMPlexSetRefinementLimit(arg0::Type{Float32},arg1::DM,arg2::Float32) - err = ccall((:DMPlexSetRefinementLimit,petscRealSingle),PetscErrorCode,(DM,Float32),arg1,arg2) - return err -end - -function DMPlexGetRefinementUniform(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:DMPlexGetRefinementUniform,petscRealSingle),PetscErrorCode,(DM,Ptr{PetscBool}),arg1,arg2) - return err -end - -function DMPlexSetRefinementUniform(arg0::Type{Float32},arg1::DM,arg2::PetscBool) - err = ccall((:DMPlexSetRefinementUniform,petscRealSingle),PetscErrorCode,(DM,PetscBool),arg1,arg2) - return err -end - -function DMPlexGetCoarseDM(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexGetCoarseDM,petscRealSingle),PetscErrorCode,(DM,Ptr{DM}),arg1,arg2) - return err -end - -function DMPlexSetCoarseDM(arg0::Type{Float32},arg1::DM,arg2::DM) - err = ccall((:DMPlexSetCoarseDM,petscRealSingle),PetscErrorCode,(DM,DM),arg1,arg2) - return err -end - -function DMPlexCreateCoarsePointIS(arg1::DM,arg2::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:DMPlexCreateCoarsePointIS,petscRealSingle),PetscErrorCode,(DM,Ptr{IS{Float32}}),arg1,arg2) - return err -end - -function DMPlexGetNumFaceVertices(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetNumFaceVertices,petscRealSingle),PetscErrorCode,(DM,Int64,Int64,Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexGetOrientedFace(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg9::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:DMPlexGetOrientedFace,petscRealSingle),PetscErrorCode,(DM,Int64,Int64,Ptr{Int64},Int64,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) - return err -end - -function DMPlexGetMinRadius(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:DMPlexGetMinRadius,petscRealSingle),PetscErrorCode,(DM,Ptr{Float32}),arg1,arg2) - return err -end - -function DMPlexSetMinRadius(arg0::Type{Float32},arg1::DM,arg2::Float32) - err = ccall((:DMPlexSetMinRadius,petscRealSingle),PetscErrorCode,(DM,Float32),arg1,arg2) - return err -end - -function DMPlexComputeCellGeometryFVM(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:DMPlexComputeCellGeometryFVM,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{Float32},Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexComputeGeometryFVM(arg1::DM,arg2::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}},arg3::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:DMPlexComputeGeometryFVM,petscRealSingle),PetscErrorCode,(DM,Ptr{Vec{Float32}},Ptr{Vec{Float32}}),arg1,arg2,arg3) - return err -end - -function DMPlexComputeGradientFVM(arg1::DM,arg2::PetscFV,arg3::Vec{Float32},arg4::Vec{Float32},arg5::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexComputeGradientFVM,petscRealSingle),PetscErrorCode,(DM,PetscFV,Vec{Float32},Vec{Float32},Ptr{DM}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexInsertBoundaryValues(arg1::DM,arg2::Vec{Float32},arg3::Float32,arg4::Vec{Float32},arg5::Vec{Float32},arg6::Vec{Float32}) - err = ccall((:DMPlexInsertBoundaryValues,petscRealSingle),PetscErrorCode,(DM,Vec{Float32},Float32,Vec{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMPlexCreateSection(arg1::DM,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Integer,arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}},arg9::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}},arg10::IS{Float32},arg11::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}}) - err = ccall((:DMPlexCreateSection,petscRealSingle),PetscErrorCode,(DM,Int64,Int64,Ptr{Int64},Ptr{Int64},Int64,Ptr{Int64},Ptr{IS{Float32}},Ptr{IS{Float32}},IS{Float32},Ptr{PetscSection}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) - return err -end - -function DMPlexComputeCellGeometryAffineFEM(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg6::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:DMPlexComputeCellGeometryAffineFEM,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{Float32},Ptr{Float32},Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMPlexComputeCellGeometryFEM(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::PetscFE,arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg6::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg7::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:DMPlexComputeCellGeometryFEM,petscRealSingle),PetscErrorCode,(DM,Int64,PetscFE,Ptr{Float32},Ptr{Float32},Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMPlexComputeGeometryFEM(arg1::DM,arg2::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:DMPlexComputeGeometryFEM,petscRealSingle),PetscErrorCode,(DM,Ptr{Vec{Float32}}),arg1,arg2) - return err -end - -function DMPlexVecGetClosure(arg1::DM,arg2::PetscSection,arg3::Vec{Float32},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:DMPlexVecGetClosure,petscRealSingle),PetscErrorCode,(DM,PetscSection,Vec{Float32},Int64,Ptr{Int64},Ptr{Ptr{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMPlexVecRestoreClosure(arg1::DM,arg2::PetscSection,arg3::Vec{Float32},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:DMPlexVecRestoreClosure,petscRealSingle),PetscErrorCode,(DM,PetscSection,Vec{Float32},Int64,Ptr{Int64},Ptr{Ptr{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMPlexVecSetClosure(arg1::DM,arg2::PetscSection,arg3::Vec{Float32},arg4::Integer,arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg6::InsertMode) - err = ccall((:DMPlexVecSetClosure,petscRealSingle),PetscErrorCode,(DM,PetscSection,Vec{Float32},Int64,Ptr{Float32},InsertMode),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMPlexMatSetClosure(arg1::DM,arg2::PetscSection,arg3::PetscSection,arg4::Mat{Float32},arg5::Integer,arg6::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg7::InsertMode) - err = ccall((:DMPlexMatSetClosure,petscRealSingle),PetscErrorCode,(DM,PetscSection,PetscSection,Mat{Float32},Int64,Ptr{Float32},InsertMode),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function DMPlexMatSetClosureRefined(arg1::DM,arg2::PetscSection,arg3::PetscSection,arg4::DM,arg5::PetscSection,arg6::PetscSection,arg7::Mat{Float32},arg8::Integer,arg9::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg10::InsertMode) - err = ccall((:DMPlexMatSetClosureRefined,petscRealSingle),PetscErrorCode,(DM,PetscSection,PetscSection,DM,PetscSection,PetscSection,Mat{Float32},Int64,Ptr{Float32},InsertMode),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -function DMPlexMatGetClosureIndicesRefined(arg0::Type{Float32},arg1::DM,arg2::PetscSection,arg3::PetscSection,arg4::DM,arg5::PetscSection,arg6::PetscSection,arg7::Integer,arg8::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg9::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexMatGetClosureIndicesRefined,petscRealSingle),PetscErrorCode,(DM,PetscSection,PetscSection,DM,PetscSection,PetscSection,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) - return err -end - -function DMPlexCreateClosureIndex(arg0::Type{Float32},arg1::DM,arg2::PetscSection) - err = ccall((:DMPlexCreateClosureIndex,petscRealSingle),PetscErrorCode,(DM,PetscSection),arg1,arg2) - return err -end - -function DMPlexCreateFromFile(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::PetscBool,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateFromFile,petscRealSingle),PetscErrorCode,(comm_type,Cstring,PetscBool,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCreateExodus(arg0::Type{Float32},arg1::MPI_Comm,arg2::Integer,arg3::PetscBool,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateExodus,petscRealSingle),PetscErrorCode,(comm_type,Int64,PetscBool,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCreateExodusFromFile(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::PetscBool,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateExodusFromFile,petscRealSingle),PetscErrorCode,(comm_type,Cstring,PetscBool,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCreateCGNS(arg0::Type{Float32},arg1::MPI_Comm,arg2::Integer,arg3::PetscBool,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateCGNS,petscRealSingle),PetscErrorCode,(comm_type,Int64,PetscBool,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCreateCGNSFromFile(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::PetscBool,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateCGNSFromFile,petscRealSingle),PetscErrorCode,(comm_type,Cstring,PetscBool,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCreateGmsh(arg1::MPI_Comm,arg2::PetscViewer{Float32},arg3::PetscBool,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateGmsh,petscRealSingle),PetscErrorCode,(comm_type,PetscViewer{Float32},PetscBool,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCreateGmshFromFile(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::PetscBool,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateGmshFromFile,petscRealSingle),PetscErrorCode,(comm_type,Cstring,PetscBool,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCreateFluent(arg1::MPI_Comm,arg2::PetscViewer{Float32},arg3::PetscBool,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateFluent,petscRealSingle),PetscErrorCode,(comm_type,PetscViewer{Float32},PetscBool,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCreateFluentFromFile(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::PetscBool,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateFluentFromFile,petscRealSingle),PetscErrorCode,(comm_type,Cstring,PetscBool,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexConstructGhostCells(arg0::Type{Float32},arg1::DM,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexConstructGhostCells,petscRealSingle),PetscErrorCode,(DM,Cstring,Ptr{Int64},Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexConstructCohesiveCells(arg0::Type{Float32},arg1::DM,arg2::DMLabel,arg3::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexConstructCohesiveCells,petscRealSingle),PetscErrorCode,(DM,DMLabel,Ptr{DM}),arg1,arg2,arg3) - return err -end - -function DMPlexGetHybridBounds(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetHybridBounds,petscRealSingle),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexSetHybridBounds(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer) - err = ccall((:DMPlexSetHybridBounds,petscRealSingle),PetscErrorCode,(DM,Int64,Int64,Int64,Int64),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexGetVTKCellHeight(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetVTKCellHeight,petscRealSingle),PetscErrorCode,(DM,Ptr{Int64}),arg1,arg2) - return err -end - -function DMPlexSetVTKCellHeight(arg0::Type{Float32},arg1::DM,arg2::Integer) - err = ccall((:DMPlexSetVTKCellHeight,petscRealSingle),PetscErrorCode,(DM,Int64),arg1,arg2) - return err -end - -function DMPlexVTKWriteAll(arg1::PetscObject,arg2::PetscViewer{Float32}) - err = ccall((:DMPlexVTKWriteAll,petscRealSingle),PetscErrorCode,(PetscObject,PetscViewer{Float32}),arg1,arg2) - return err -end - -function DMPlexGetScale(arg0::Type{Float32},arg1::DM,arg2::PetscUnit,arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:DMPlexGetScale,petscRealSingle),PetscErrorCode,(DM,PetscUnit,Ptr{Float32}),arg1,arg2,arg3) - return err -end - -function DMPlexSetScale(arg0::Type{Float32},arg1::DM,arg2::PetscUnit,arg3::Float32) - err = ccall((:DMPlexSetScale,petscRealSingle),PetscErrorCode,(DM,PetscUnit,Float32),arg1,arg2,arg3) - return err -end - -function DMPlexAddBoundary(arg0::Type{Float32},arg1::DM,arg2::PetscBool,arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg5::Integer,arg6::Integer,arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg9::Integer,arg10::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg11::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexAddBoundary,petscRealSingle),PetscErrorCode,(DM,PetscBool,Cstring,Cstring,Int64,Int64,Ptr{Int64},Ptr{Void},Int64,Ptr{Int64},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) - return err -end - -function DMPlexGetNumBoundary(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetNumBoundary,petscRealSingle),PetscErrorCode,(DM,Ptr{Int64}),arg1,arg2) - return err -end - -function DMPlexGetBoundary(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg4::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg5::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg9::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg10::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg11::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg12::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:DMPlexGetBoundary,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{PetscBool},Ptr{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ptr{Int64},Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Void}},Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12) - return err -end - -function DMPlexIsBoundaryPoint(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:DMPlexIsBoundaryPoint,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function DMPlexCopyBoundary(arg0::Type{Float32},arg1::DM,arg2::DM) - err = ccall((:DMPlexCopyBoundary,petscRealSingle),PetscErrorCode,(DM,DM),arg1,arg2) - return err -end - -function DMPlexInsertBoundaryValuesFEM(arg1::DM,arg2::Vec{Float32}) - err = ccall((:DMPlexInsertBoundaryValuesFEM,petscRealSingle),PetscErrorCode,(DM,Vec{Float32}),arg1,arg2) - return err -end - -function DMPlexSetMaxProjectionHeight(arg0::Type{Float32},arg1::DM,arg2::Integer) - err = ccall((:DMPlexSetMaxProjectionHeight,petscRealSingle),PetscErrorCode,(DM,Int64),arg1,arg2) - return err -end - -function DMPlexGetMaxProjectionHeight(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetMaxProjectionHeight,petscRealSingle),PetscErrorCode,(DM,Ptr{Int64}),arg1,arg2) - return err -end - -function DMPlexProjectFunction(arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::InsertMode,arg5::Vec{Float32}) - err = ccall((:DMPlexProjectFunction,petscRealSingle),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Ptr{Void}},InsertMode,Vec{Float32}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexProjectFunctionLocal(arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::InsertMode,arg5::Vec{Float32}) - err = ccall((:DMPlexProjectFunctionLocal,petscRealSingle),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Ptr{Void}},InsertMode,Vec{Float32}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexProjectFieldLocal(arg1::DM,arg2::Vec{Float32},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::InsertMode,arg5::Vec{Float32}) - err = ccall((:DMPlexProjectFieldLocal,petscRealSingle),PetscErrorCode,(DM,Vec{Float32},Ptr{Ptr{Void}},InsertMode,Vec{Float32}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexComputeL2Diff(arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::Vec{Float32},arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:DMPlexComputeL2Diff,petscRealSingle),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Ptr{Void}},Vec{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexComputeL2GradientDiff(arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::Vec{Float32},arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg6::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:DMPlexComputeL2GradientDiff,petscRealSingle),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Ptr{Void}},Vec{Float32},Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMPlexComputeL2FieldDiff(arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::Vec{Float32},arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:DMPlexComputeL2FieldDiff,petscRealSingle),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Ptr{Void}},Vec{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexComputeIntegralFEM(arg1::DM,arg2::Vec{Float32},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexComputeIntegralFEM,petscRealSingle),PetscErrorCode,(DM,Vec{Float32},Ptr{Float32},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexComputeInterpolatorFEM(arg1::DM,arg2::DM,arg3::Mat{Float32},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexComputeInterpolatorFEM,petscRealSingle),PetscErrorCode,(DM,DM,Mat{Float32},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexComputeInjectorFEM(arg1::DM,arg2::DM,arg3::Union{Ptr{VecScatter{Float32}},StridedArray{VecScatter{Float32}},Ptr{VecScatter{Float32}},Ref{VecScatter{Float32}}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexComputeInjectorFEM,petscRealSingle),PetscErrorCode,(DM,DM,Ptr{VecScatter{Float32}},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexCreateRigidBody(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{MatNullSpace},StridedArray{MatNullSpace},Ptr{MatNullSpace},Ref{MatNullSpace}}) - err = ccall((:DMPlexCreateRigidBody,petscRealSingle),PetscErrorCode,(DM,Ptr{MatNullSpace}),arg1,arg2) - return err -end - -function DMPlexSNESComputeResidualFEM(arg1::DM,arg2::Vec{Float32},arg3::Vec{Float32},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexSNESComputeResidualFEM,petscRealSingle),PetscErrorCode,(DM,Vec{Float32},Vec{Float32},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexSNESComputeJacobianFEM(arg1::DM,arg2::Vec{Float32},arg3::Mat{Float32},arg4::Mat{Float32},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexSNESComputeJacobianFEM,petscRealSingle),PetscErrorCode,(DM,Vec{Float32},Mat{Float32},Mat{Float32},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexTSComputeRHSFunctionFVM(arg1::DM,arg2::Float32,arg3::Vec{Float32},arg4::Vec{Float32},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexTSComputeRHSFunctionFVM,petscRealSingle),PetscErrorCode,(DM,Float32,Vec{Float32},Vec{Float32},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexTSComputeIFunctionFEM(arg1::DM,arg2::Float32,arg3::Vec{Float32},arg4::Vec{Float32},arg5::Vec{Float32},arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexTSComputeIFunctionFEM,petscRealSingle),PetscErrorCode,(DM,Float32,Vec{Float32},Vec{Float32},Vec{Float32},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMPlexComputeRHSFunctionFVM(arg1::DM,arg2::Float32,arg3::Vec{Float32},arg4::Vec{Float32},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMPlexComputeRHSFunctionFVM,petscRealSingle),PetscErrorCode,(DM,Float32,Vec{Float32},Vec{Float32},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexGetAnchors(arg1::DM,arg2::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}},arg3::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:DMPlexGetAnchors,petscRealSingle),PetscErrorCode,(DM,Ptr{PetscSection},Ptr{IS{Float32}}),arg1,arg2,arg3) - return err -end - -function DMPlexSetAnchors(arg1::DM,arg2::PetscSection,arg3::IS{Float32}) - err = ccall((:DMPlexSetAnchors,petscRealSingle),PetscErrorCode,(DM,PetscSection,IS{Float32}),arg1,arg2,arg3) - return err -end - -function DMPlexSetReferenceTree(arg0::Type{Float32},arg1::DM,arg2::DM) - err = ccall((:DMPlexSetReferenceTree,petscRealSingle),PetscErrorCode,(DM,DM),arg1,arg2) - return err -end - -function DMPlexGetReferenceTree(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexGetReferenceTree,petscRealSingle),PetscErrorCode,(DM,Ptr{DM}),arg1,arg2) - return err -end - -function DMPlexReferenceTreeGetChildSymmetry(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexReferenceTreeGetChildSymmetry,petscRealSingle),PetscErrorCode,(DM,Int64,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function DMPlexCreateDefaultReferenceTree(arg0::Type{Float32},arg1::MPI_Comm,arg2::Integer,arg3::PetscBool,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexCreateDefaultReferenceTree,petscRealSingle),PetscErrorCode,(comm_type,Int64,PetscBool,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexSetTree(arg0::Type{Float32},arg1::DM,arg2::PetscSection,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexSetTree,petscRealSingle),PetscErrorCode,(DM,PetscSection,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexGetTree(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}},arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg5::Union{Ptr{PetscSection},StridedArray{PetscSection},Ptr{PetscSection},Ref{PetscSection}},arg6::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexGetTree,petscRealSingle),PetscErrorCode,(DM,Ptr{PetscSection},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}},Ptr{PetscSection},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function DMPlexGetTreeParent(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMPlexGetTreeParent,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexGetTreeChildren(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:DMPlexGetTreeChildren,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexTreeRefineCell(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexTreeRefineCell,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{DM}),arg1,arg2,arg3) - return err -end - -function DMRedundantCreate(arg0::Type{Float32},arg1::MPI_Comm,arg2::PetscMPIInt,arg3::Integer,arg4::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMRedundantCreate,petscRealSingle),PetscErrorCode,(comm_type,PetscMPIInt,Int64,Ptr{DM}),arg1,arg2,arg3,arg4) - return err -end - -function DMRedundantSetSize(arg0::Type{Float32},arg1::DM,arg2::PetscMPIInt,arg3::Integer) - err = ccall((:DMRedundantSetSize,petscRealSingle),PetscErrorCode,(DM,PetscMPIInt,Int64),arg1,arg2,arg3) - return err -end - -function DMRedundantGetSize(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{PetscMPIInt},StridedArray{PetscMPIInt},Ptr{PetscMPIInt},Ref{PetscMPIInt}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMRedundantGetSize,petscRealSingle),PetscErrorCode,(DM,Ptr{PetscMPIInt},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function DMShellCreate(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMShellCreate,petscRealSingle),PetscErrorCode,(comm_type,Ptr{DM}),arg1,arg2) - return err -end - -function DMShellSetMatrix(arg1::DM,arg2::Mat{Float32}) - err = ccall((:DMShellSetMatrix,petscRealSingle),PetscErrorCode,(DM,Mat{Float32}),arg1,arg2) - return err -end - -function DMShellSetGlobalVector(arg1::DM,arg2::Vec{Float32}) - err = ccall((:DMShellSetGlobalVector,petscRealSingle),PetscErrorCode,(DM,Vec{Float32}),arg1,arg2) - return err -end - -function DMShellSetLocalVector(arg1::DM,arg2::Vec{Float32}) - err = ccall((:DMShellSetLocalVector,petscRealSingle),PetscErrorCode,(DM,Vec{Float32}),arg1,arg2) - return err -end - -function DMShellSetCreateGlobalVector(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMShellSetCreateGlobalVector,petscRealSingle),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMShellSetCreateLocalVector(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMShellSetCreateLocalVector,petscRealSingle),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMShellSetGlobalToLocal(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMShellSetGlobalToLocal,petscRealSingle),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMShellSetGlobalToLocalVecScatter(arg1::DM,arg2::VecScatter{Float32}) - err = ccall((:DMShellSetGlobalToLocalVecScatter,petscRealSingle),PetscErrorCode,(DM,VecScatter{Float32}),arg1,arg2) - return err -end - -function DMShellSetLocalToGlobal(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMShellSetLocalToGlobal,petscRealSingle),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMShellSetLocalToGlobalVecScatter(arg1::DM,arg2::VecScatter{Float32}) - err = ccall((:DMShellSetLocalToGlobalVecScatter,petscRealSingle),PetscErrorCode,(DM,VecScatter{Float32}),arg1,arg2) - return err -end - -function DMShellSetLocalToLocal(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMShellSetLocalToLocal,petscRealSingle),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMShellSetLocalToLocalVecScatter(arg1::DM,arg2::VecScatter{Float32}) - err = ccall((:DMShellSetLocalToLocalVecScatter,petscRealSingle),PetscErrorCode,(DM,VecScatter{Float32}),arg1,arg2) - return err -end - -function DMShellSetCreateMatrix(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMShellSetCreateMatrix,petscRealSingle),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMShellSetCoarsen(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMShellSetCoarsen,petscRealSingle),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMShellSetRefine(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMShellSetRefine,petscRealSingle),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMShellSetCreateInterpolation(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMShellSetCreateInterpolation,petscRealSingle),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMShellSetCreateInjection(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMShellSetCreateInjection,petscRealSingle),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMShellSetCreateFieldDecomposition(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMShellSetCreateFieldDecomposition,petscRealSingle),PetscErrorCode,(DM,Ptr{Void}),arg1,arg2) - return err -end - -function DMGlobalToLocalBeginDefaultShell(arg1::DM,arg2::Vec{Float32},arg3::InsertMode,arg4::Vec{Float32}) - err = ccall((:DMGlobalToLocalBeginDefaultShell,petscRealSingle),PetscErrorCode,(DM,Vec{Float32},InsertMode,Vec{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function DMGlobalToLocalEndDefaultShell(arg1::DM,arg2::Vec{Float32},arg3::InsertMode,arg4::Vec{Float32}) - err = ccall((:DMGlobalToLocalEndDefaultShell,petscRealSingle),PetscErrorCode,(DM,Vec{Float32},InsertMode,Vec{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function DMLocalToGlobalBeginDefaultShell(arg1::DM,arg2::Vec{Float32},arg3::InsertMode,arg4::Vec{Float32}) - err = ccall((:DMLocalToGlobalBeginDefaultShell,petscRealSingle),PetscErrorCode,(DM,Vec{Float32},InsertMode,Vec{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function DMLocalToGlobalEndDefaultShell(arg1::DM,arg2::Vec{Float32},arg3::InsertMode,arg4::Vec{Float32}) - err = ccall((:DMLocalToGlobalEndDefaultShell,petscRealSingle),PetscErrorCode,(DM,Vec{Float32},InsertMode,Vec{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function DMLocalToLocalBeginDefaultShell(arg1::DM,arg2::Vec{Float32},arg3::InsertMode,arg4::Vec{Float32}) - err = ccall((:DMLocalToLocalBeginDefaultShell,petscRealSingle),PetscErrorCode,(DM,Vec{Float32},InsertMode,Vec{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function DMLocalToLocalEndDefaultShell(arg1::DM,arg2::Vec{Float32},arg3::InsertMode,arg4::Vec{Float32}) - err = ccall((:DMLocalToLocalEndDefaultShell,petscRealSingle),PetscErrorCode,(DM,Vec{Float32},InsertMode,Vec{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function DMSlicedCreate(arg0::Type{Float32},arg1::MPI_Comm,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMSlicedCreate,petscRealSingle),PetscErrorCode,(comm_type,Int64,Int64,Int64,Ptr{Int64},Ptr{Int64},Ptr{Int64},Ptr{DM}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function DMSlicedSetPreallocation(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMSlicedSetPreallocation,petscRealSingle),PetscErrorCode,(DM,Int64,Ptr{Int64},Int64,Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMSlicedSetBlockFills(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMSlicedSetBlockFills,petscRealSingle),PetscErrorCode,(DM,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function DMSlicedSetGhosts(arg0::Type{Float32},arg1::DM,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:DMSlicedSetGhosts,petscRealSingle),PetscErrorCode,(DM,Int64,Int64,Int64,Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PetscDSInitializePackage(arg0::Type{Float32}) - err = ccall((:PetscDSInitializePackage,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscDSCreate(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{PetscDS},StridedArray{PetscDS},Ptr{PetscDS},Ref{PetscDS}}) - err = ccall((:PetscDSCreate,petscRealSingle),PetscErrorCode,(comm_type,Ptr{PetscDS}),arg1,arg2) - return err -end - -function PetscDSDestroy(arg0::Type{Float32},arg1::Union{Ptr{PetscDS},StridedArray{PetscDS},Ptr{PetscDS},Ref{PetscDS}}) - err = ccall((:PetscDSDestroy,petscRealSingle),PetscErrorCode,(Ptr{PetscDS},),arg1) - return err -end - -function PetscDSSetType(arg0::Type{Float32},arg1::PetscDS,arg2::PetscDSType) - err = ccall((:PetscDSSetType,petscRealSingle),PetscErrorCode,(PetscDS,Cstring),arg1,arg2) - return err -end - -function PetscDSGetType(arg0::Type{Float32},arg1::PetscDS,arg2::Union{Ptr{PetscDSType},StridedArray{PetscDSType},Ptr{PetscDSType},Ref{PetscDSType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:PetscDSGetType,petscRealSingle),PetscErrorCode,(PetscDS,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function PetscDSSetUp(arg0::Type{Float32},arg1::PetscDS) - err = ccall((:PetscDSSetUp,petscRealSingle),PetscErrorCode,(PetscDS,),arg1) - return err -end - -function PetscDSSetFromOptions(arg0::Type{Float32},arg1::PetscDS) - err = ccall((:PetscDSSetFromOptions,petscRealSingle),PetscErrorCode,(PetscDS,),arg1) - return err -end - -function PetscDSViewFromOptions(arg0::Type{Float32},A::PetscDS,B::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PetscDSViewFromOptions,petscRealSingle),PetscErrorCode,(PetscDS,PetscObject,Cstring),A,B,name) - return err -end - -function PetscDSView(arg1::PetscDS,arg2::PetscViewer{Float32}) - err = ccall((:PetscDSView,petscRealSingle),PetscErrorCode,(PetscDS,PetscViewer{Float32}),arg1,arg2) - return err -end - -function PetscDSRegister(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscDSRegister,petscRealSingle),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function PetscDSRegisterDestroy(arg0::Type{Float32}) - err = ccall((:PetscDSRegisterDestroy,petscRealSingle),PetscErrorCode,()) - return err -end - -function PetscDSGetSpatialDimension(arg0::Type{Float32},arg1::PetscDS,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscDSGetSpatialDimension,petscRealSingle),PetscErrorCode,(PetscDS,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscDSGetNumFields(arg0::Type{Float32},arg1::PetscDS,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscDSGetNumFields,petscRealSingle),PetscErrorCode,(PetscDS,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscDSGetTotalDimension(arg0::Type{Float32},arg1::PetscDS,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscDSGetTotalDimension,petscRealSingle),PetscErrorCode,(PetscDS,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscDSGetTotalBdDimension(arg0::Type{Float32},arg1::PetscDS,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscDSGetTotalBdDimension,petscRealSingle),PetscErrorCode,(PetscDS,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscDSGetTotalComponents(arg0::Type{Float32},arg1::PetscDS,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscDSGetTotalComponents,petscRealSingle),PetscErrorCode,(PetscDS,Ptr{Int64}),arg1,arg2) - return err -end - -function PetscDSGetFieldOffset(arg0::Type{Float32},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscDSGetFieldOffset,petscRealSingle),PetscErrorCode,(PetscDS,Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscDSGetBdFieldOffset(arg0::Type{Float32},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscDSGetBdFieldOffset,petscRealSingle),PetscErrorCode,(PetscDS,Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscDSGetComponentOffset(arg0::Type{Float32},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PetscDSGetComponentOffset,petscRealSingle),PetscErrorCode,(PetscDS,Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PetscDSGetComponentOffsets(arg0::Type{Float32},arg1::PetscDS,arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PetscDSGetComponentOffsets,petscRealSingle),PetscErrorCode,(PetscDS,Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function PetscDSGetComponentBdOffsets(arg0::Type{Float32},arg1::PetscDS,arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PetscDSGetComponentBdOffsets,petscRealSingle),PetscErrorCode,(PetscDS,Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function PetscDSGetComponentDerivativeOffsets(arg0::Type{Float32},arg1::PetscDS,arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PetscDSGetComponentDerivativeOffsets,petscRealSingle),PetscErrorCode,(PetscDS,Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function PetscDSGetComponentBdDerivativeOffsets(arg0::Type{Float32},arg1::PetscDS,arg2::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PetscDSGetComponentBdDerivativeOffsets,petscRealSingle),PetscErrorCode,(PetscDS,Ptr{Ptr{Int64}}),arg1,arg2) - return err -end - -function PetscDSGetDiscretization(arg0::Type{Float32},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{PetscObject},StridedArray{PetscObject},Ptr{PetscObject},Ref{PetscObject}}) - err = ccall((:PetscDSGetDiscretization,petscRealSingle),PetscErrorCode,(PetscDS,Int64,Ptr{PetscObject}),arg1,arg2,arg3) - return err -end - -function PetscDSSetDiscretization(arg0::Type{Float32},arg1::PetscDS,arg2::Integer,arg3::PetscObject) - err = ccall((:PetscDSSetDiscretization,petscRealSingle),PetscErrorCode,(PetscDS,Int64,PetscObject),arg1,arg2,arg3) - return err -end - -function PetscDSAddDiscretization(arg0::Type{Float32},arg1::PetscDS,arg2::PetscObject) - err = ccall((:PetscDSAddDiscretization,petscRealSingle),PetscErrorCode,(PetscDS,PetscObject),arg1,arg2) - return err -end - -function PetscDSGetBdDiscretization(arg0::Type{Float32},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{PetscObject},StridedArray{PetscObject},Ptr{PetscObject},Ref{PetscObject}}) - err = ccall((:PetscDSGetBdDiscretization,petscRealSingle),PetscErrorCode,(PetscDS,Int64,Ptr{PetscObject}),arg1,arg2,arg3) - return err -end - -function PetscDSSetBdDiscretization(arg0::Type{Float32},arg1::PetscDS,arg2::Integer,arg3::PetscObject) - err = ccall((:PetscDSSetBdDiscretization,petscRealSingle),PetscErrorCode,(PetscDS,Int64,PetscObject),arg1,arg2,arg3) - return err -end - -function PetscDSAddBdDiscretization(arg0::Type{Float32},arg1::PetscDS,arg2::PetscObject) - err = ccall((:PetscDSAddBdDiscretization,petscRealSingle),PetscErrorCode,(PetscDS,PetscObject),arg1,arg2) - return err -end - -function PetscDSGetImplicit(arg0::Type{Float32},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscDSGetImplicit,petscRealSingle),PetscErrorCode,(PetscDS,Int64,Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function PetscDSSetImplicit(arg0::Type{Float32},arg1::PetscDS,arg2::Integer,arg3::PetscBool) - err = ccall((:PetscDSSetImplicit,petscRealSingle),PetscErrorCode,(PetscDS,Int64,PetscBool),arg1,arg2,arg3) - return err -end - -function PetscDSGetAdjacency(arg0::Type{Float32},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PetscDSGetAdjacency,petscRealSingle),PetscErrorCode,(PetscDS,Int64,Ptr{PetscBool},Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function PetscDSSetAdjacency(arg0::Type{Float32},arg1::PetscDS,arg2::Integer,arg3::PetscBool,arg4::PetscBool) - err = ccall((:PetscDSSetAdjacency,petscRealSingle),PetscErrorCode,(PetscDS,Int64,PetscBool,PetscBool),arg1,arg2,arg3,arg4) - return err -end - -function PetscDSGetObjective(arg0::Type{Float32},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:PetscDSGetObjective,petscRealSingle),PetscErrorCode,(PetscDS,Int64,Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function PetscDSSetObjective(arg0::Type{Float32},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscDSSetObjective,petscRealSingle),PetscErrorCode,(PetscDS,Int64,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function PetscDSGetResidual(arg0::Type{Float32},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:PetscDSGetResidual,petscRealSingle),PetscErrorCode,(PetscDS,Int64,Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscDSSetResidual(arg0::Type{Float32},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscDSSetResidual,petscRealSingle),PetscErrorCode,(PetscDS,Int64,Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function PetscDSGetJacobian(arg0::Type{Float32},arg1::PetscDS,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg5::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg6::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg7::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:PetscDSGetJacobian,petscRealSingle),PetscErrorCode,(PetscDS,Int64,Int64,Ptr{Ptr{Void}},Ptr{Ptr{Void}},Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function PetscDSSetJacobian(arg0::Type{Float32},arg1::PetscDS,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg7::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscDSSetJacobian,petscRealSingle),PetscErrorCode,(PetscDS,Int64,Int64,Ptr{Void},Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function PetscDSGetRiemannSolver(arg0::Type{Float32},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:PetscDSGetRiemannSolver,petscRealSingle),PetscErrorCode,(PetscDS,Int64,Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function PetscDSSetRiemannSolver(arg0::Type{Float32},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscDSSetRiemannSolver,petscRealSingle),PetscErrorCode,(PetscDS,Int64,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function PetscDSGetContext(arg0::Type{Float32},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:PetscDSGetContext,petscRealSingle),PetscErrorCode,(PetscDS,Int64,Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function PetscDSSetContext(arg0::Type{Float32},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscDSSetContext,petscRealSingle),PetscErrorCode,(PetscDS,Int64,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function PetscDSGetBdResidual(arg0::Type{Float32},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:PetscDSGetBdResidual,petscRealSingle),PetscErrorCode,(PetscDS,Int64,Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscDSSetBdResidual(arg0::Type{Float32},arg1::PetscDS,arg2::Integer,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscDSSetBdResidual,petscRealSingle),PetscErrorCode,(PetscDS,Int64,Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function PetscDSGetBdJacobian(arg0::Type{Float32},arg1::PetscDS,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg5::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg6::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg7::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:PetscDSGetBdJacobian,petscRealSingle),PetscErrorCode,(PetscDS,Int64,Int64,Ptr{Ptr{Void}},Ptr{Ptr{Void}},Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function PetscDSSetBdJacobian(arg0::Type{Float32},arg1::PetscDS,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg7::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PetscDSSetBdJacobian,petscRealSingle),PetscErrorCode,(PetscDS,Int64,Int64,Ptr{Void},Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function PetscDSGetTabulation(arg0::Type{Float32},arg1::PetscDS,arg2::Union{Ptr{Ptr{Ptr{Float32}}},StridedArray{Ptr{Ptr{Float32}}},Ptr{Ptr{Ptr{Float32}}},Ref{Ptr{Ptr{Float32}}}},arg3::Union{Ptr{Ptr{Ptr{Float32}}},StridedArray{Ptr{Ptr{Float32}}},Ptr{Ptr{Ptr{Float32}}},Ref{Ptr{Ptr{Float32}}}}) - err = ccall((:PetscDSGetTabulation,petscRealSingle),PetscErrorCode,(PetscDS,Ptr{Ptr{Ptr{Float32}}},Ptr{Ptr{Ptr{Float32}}}),arg1,arg2,arg3) - return err -end - -function PetscDSGetBdTabulation(arg0::Type{Float32},arg1::PetscDS,arg2::Union{Ptr{Ptr{Ptr{Float32}}},StridedArray{Ptr{Ptr{Float32}}},Ptr{Ptr{Ptr{Float32}}},Ref{Ptr{Ptr{Float32}}}},arg3::Union{Ptr{Ptr{Ptr{Float32}}},StridedArray{Ptr{Ptr{Float32}}},Ptr{Ptr{Ptr{Float32}}},Ref{Ptr{Ptr{Float32}}}}) - err = ccall((:PetscDSGetBdTabulation,petscRealSingle),PetscErrorCode,(PetscDS,Ptr{Ptr{Ptr{Float32}}},Ptr{Ptr{Ptr{Float32}}}),arg1,arg2,arg3) - return err -end - -function PetscDSGetEvaluationArrays(arg0::Type{Float32},arg1::PetscDS,arg2::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}},arg3::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}},arg4::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:PetscDSGetEvaluationArrays,petscRealSingle),PetscErrorCode,(PetscDS,Ptr{Ptr{Float32}},Ptr{Ptr{Float32}},Ptr{Ptr{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function PetscDSGetWeakFormArrays(arg0::Type{Float32},arg1::PetscDS,arg2::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}},arg3::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}},arg4::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}},arg5::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}},arg6::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}},arg7::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:PetscDSGetWeakFormArrays,petscRealSingle),PetscErrorCode,(PetscDS,Ptr{Ptr{Float32}},Ptr{Ptr{Float32}},Ptr{Ptr{Float32}},Ptr{Ptr{Float32}},Ptr{Ptr{Float32}},Ptr{Ptr{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function PetscDSGetRefCoordArrays(arg0::Type{Float32},arg1::PetscDS,arg2::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}},arg3::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:PetscDSGetRefCoordArrays,petscRealSingle),PetscErrorCode,(PetscDS,Ptr{Ptr{Float32}},Ptr{Ptr{Float32}}),arg1,arg2,arg3) - return err -end - -function CharacteristicInitializePackage(arg0::Type{Float32}) - err = ccall((:CharacteristicInitializePackage,petscRealSingle),PetscErrorCode,()) - return err -end - -function CharacteristicCreate(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{Characteristic},StridedArray{Characteristic},Ptr{Characteristic},Ref{Characteristic}}) - err = ccall((:CharacteristicCreate,petscRealSingle),PetscErrorCode,(comm_type,Ptr{Characteristic}),arg1,arg2) - return err -end - -function CharacteristicSetType(arg0::Type{Float32},arg1::Characteristic,arg2::CharacteristicType) - err = ccall((:CharacteristicSetType,petscRealSingle),PetscErrorCode,(Characteristic,Cstring),arg1,arg2) - return err -end - -function CharacteristicSetUp(arg0::Type{Float32},arg1::Characteristic) - err = ccall((:CharacteristicSetUp,petscRealSingle),PetscErrorCode,(Characteristic,),arg1) - return err -end - -function CharacteristicSetVelocityInterpolation(arg1::Characteristic,arg2::DM,arg3::Vec{Float32},arg4::Vec{Float32},arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg8::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:CharacteristicSetVelocityInterpolation,petscRealSingle),PetscErrorCode,(Characteristic,DM,Vec{Float32},Vec{Float32},Int64,Ptr{Int64},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function CharacteristicSetVelocityInterpolationLocal(arg1::Characteristic,arg2::DM,arg3::Vec{Float32},arg4::Vec{Float32},arg5::Integer,arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg7::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg8::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:CharacteristicSetVelocityInterpolationLocal,petscRealSingle),PetscErrorCode,(Characteristic,DM,Vec{Float32},Vec{Float32},Int64,Ptr{Int64},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function CharacteristicSetFieldInterpolation(arg1::Characteristic,arg2::DM,arg3::Vec{Float32},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg7::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:CharacteristicSetFieldInterpolation,petscRealSingle),PetscErrorCode,(Characteristic,DM,Vec{Float32},Int64,Ptr{Int64},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function CharacteristicSetFieldInterpolationLocal(arg1::Characteristic,arg2::DM,arg3::Vec{Float32},arg4::Integer,arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg7::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:CharacteristicSetFieldInterpolationLocal,petscRealSingle),PetscErrorCode,(Characteristic,DM,Vec{Float32},Int64,Ptr{Int64},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function CharacteristicSolve(arg1::Characteristic,arg2::Float32,arg3::Vec{Float32}) - err = ccall((:CharacteristicSolve,petscRealSingle),PetscErrorCode,(Characteristic,Float32,Vec{Float32}),arg1,arg2,arg3) - return err -end - -function CharacteristicDestroy(arg0::Type{Float32},arg1::Union{Ptr{Characteristic},StridedArray{Characteristic},Ptr{Characteristic},Ref{Characteristic}}) - err = ccall((:CharacteristicDestroy,petscRealSingle),PetscErrorCode,(Ptr{Characteristic},),arg1) - return err -end - -function CharacteristicRegister(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:CharacteristicRegister,petscRealSingle),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function PCExoticSetType(arg1::PC{Float32},arg2::PCExoticType) - err = ccall((:PCExoticSetType,petscRealSingle),PetscErrorCode,(PC{Float32},PCExoticType),arg1,arg2) - return err -end - -function PCInitializePackage(arg0::Type{Float32}) - err = ccall((:PCInitializePackage,petscRealSingle),PetscErrorCode,()) - return err -end - -function PCCreate(arg1::MPI_Comm,arg2::Union{Ptr{PC{Float32}},StridedArray{PC{Float32}},Ptr{PC{Float32}},Ref{PC{Float32}}}) - err = ccall((:PCCreate,petscRealSingle),PetscErrorCode,(comm_type,Ptr{PC{Float32}}),arg1,arg2) - return err -end - -function PCSetType(arg1::PC{Float32},arg2::PCType) - err = ccall((:PCSetType,petscRealSingle),PetscErrorCode,(PC{Float32},Cstring),arg1,arg2) - return err -end - -function PCGetType(arg1::PC{Float32},arg2::Union{Ptr{PCType},StridedArray{PCType},Ptr{PCType},Ref{PCType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:PCGetType,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function PCSetUp(arg1::PC{Float32}) - err = ccall((:PCSetUp,petscRealSingle),PetscErrorCode,(PC{Float32},),arg1) - return err -end - -function PCGetSetUpFailedReason(arg1::PC{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PCGetSetUpFailedReason,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Int64}),arg1,arg2) - return err -end - -function PCSetUpOnBlocks(arg1::PC{Float32}) - err = ccall((:PCSetUpOnBlocks,petscRealSingle),PetscErrorCode,(PC{Float32},),arg1) - return err -end - -function PCApply(arg1::PC{Float32},arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:PCApply,petscRealSingle),PetscErrorCode,(PC{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function PCApplySymmetricLeft(arg1::PC{Float32},arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:PCApplySymmetricLeft,petscRealSingle),PetscErrorCode,(PC{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function PCApplySymmetricRight(arg1::PC{Float32},arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:PCApplySymmetricRight,petscRealSingle),PetscErrorCode,(PC{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function PCApplyBAorAB(arg1::PC{Float32},arg2::PCSide,arg3::Vec{Float32},arg4::Vec{Float32},arg5::Vec{Float32}) - err = ccall((:PCApplyBAorAB,petscRealSingle),PetscErrorCode,(PC{Float32},PCSide,Vec{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PCApplyTranspose(arg1::PC{Float32},arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:PCApplyTranspose,petscRealSingle),PetscErrorCode,(PC{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function PCApplyTransposeExists(arg1::PC{Float32},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCApplyTransposeExists,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCApplyBAorABTranspose(arg1::PC{Float32},arg2::PCSide,arg3::Vec{Float32},arg4::Vec{Float32},arg5::Vec{Float32}) - err = ccall((:PCApplyBAorABTranspose,petscRealSingle),PetscErrorCode,(PC{Float32},PCSide,Vec{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PCSetReusePreconditioner(arg1::PC{Float32},arg2::PetscBool) - err = ccall((:PCSetReusePreconditioner,petscRealSingle),PetscErrorCode,(PC{Float32},PetscBool),arg1,arg2) - return err -end - -function PCGetReusePreconditioner(arg1::PC{Float32},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCGetReusePreconditioner,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCSetErrorIfFailure(arg1::PC{Float32},arg2::PetscBool) - err = ccall((:PCSetErrorIfFailure,petscRealSingle),PetscErrorCode,(PC{Float32},PetscBool),arg1,arg2) - return err -end - -function PCApplyRichardson(arg1::PC{Float32},arg2::Vec{Float32},arg3::Vec{Float32},arg4::Vec{Float32},arg5::Float32,arg6::Float32,arg7::Float32,arg8::Integer,arg9::PetscBool,arg10::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg11::Union{Ptr{PCRichardsonConvergedReason},StridedArray{PCRichardsonConvergedReason},Ptr{PCRichardsonConvergedReason},Ref{PCRichardsonConvergedReason}}) - err = ccall((:PCApplyRichardson,petscRealSingle),PetscErrorCode,(PC{Float32},Vec{Float32},Vec{Float32},Vec{Float32},Float32,Float32,Float32,Int64,PetscBool,Ptr{Int64},Ptr{PCRichardsonConvergedReason}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) - return err -end - -function PCApplyRichardsonExists(arg1::PC{Float32},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCApplyRichardsonExists,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCSetInitialGuessNonzero(arg1::PC{Float32},arg2::PetscBool) - err = ccall((:PCSetInitialGuessNonzero,petscRealSingle),PetscErrorCode,(PC{Float32},PetscBool),arg1,arg2) - return err -end - -function PCGetInitialGuessNonzero(arg1::PC{Float32},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCGetInitialGuessNonzero,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCSetUseAmat(arg1::PC{Float32},arg2::PetscBool) - err = ccall((:PCSetUseAmat,petscRealSingle),PetscErrorCode,(PC{Float32},PetscBool),arg1,arg2) - return err -end - -function PCGetUseAmat(arg1::PC{Float32},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCGetUseAmat,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCRegister(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCRegister,petscRealSingle),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function PCReset(arg1::PC{Float32}) - err = ccall((:PCReset,petscRealSingle),PetscErrorCode,(PC{Float32},),arg1) - return err -end - -function PCDestroy(arg1::Union{Ptr{PC{Float32}},StridedArray{PC{Float32}},Ptr{PC{Float32}},Ref{PC{Float32}}}) - err = ccall((:PCDestroy,petscRealSingle),PetscErrorCode,(Ptr{PC{Float32}},),arg1) - return err -end - -function PCSetFromOptions(arg1::PC{Float32}) - err = ccall((:PCSetFromOptions,petscRealSingle),PetscErrorCode,(PC{Float32},),arg1) - return err -end - -function PCFactorGetMatrix(arg1::PC{Float32},arg2::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:PCFactorGetMatrix,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Mat{Float32}}),arg1,arg2) - return err -end - -function PCSetModifySubMatrices(arg1::PC{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCSetModifySubMatrices,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function PCModifySubMatrices(arg1::PC{Float32},arg2::Integer,arg3::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}},arg4::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}},arg5::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}},arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCModifySubMatrices,petscRealSingle),PetscErrorCode,(PC{Float32},Int64,Ptr{IS{Float32}},Ptr{IS{Float32}},Ptr{Mat{Float32}},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function PCSetOperators(arg1::PC{Float32},arg2::Mat{Float32},arg3::Mat{Float32}) - err = ccall((:PCSetOperators,petscRealSingle),PetscErrorCode,(PC{Float32},Mat{Float32},Mat{Float32}),arg1,arg2,arg3) - return err -end - -function PCGetOperators(arg1::PC{Float32},arg2::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}},arg3::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:PCGetOperators,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Mat{Float32}},Ptr{Mat{Float32}}),arg1,arg2,arg3) - return err -end - -function PCGetOperatorsSet(arg1::PC{Float32},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCGetOperatorsSet,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{PetscBool},Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function PCView(arg1::PC{Float32},arg2::PetscViewer{Float32}) - err = ccall((:PCView,petscRealSingle),PetscErrorCode,(PC{Float32},PetscViewer{Float32}),arg1,arg2) - return err -end - -function PCLoad(arg1::PC{Float32},arg2::PetscViewer{Float32}) - err = ccall((:PCLoad,petscRealSingle),PetscErrorCode,(PC{Float32},PetscViewer{Float32}),arg1,arg2) - return err -end - -function PCViewFromOptions(A::PC{Float32},obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PCViewFromOptions,petscRealSingle),PetscErrorCode,(PC{Float32},PetscObject,Cstring),A,obj,name) - return err -end - -function PCSetOptionsPrefix(arg1::PC{Float32},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PCSetOptionsPrefix,petscRealSingle),PetscErrorCode,(PC{Float32},Cstring),arg1,arg2) - return err -end - -function PCAppendOptionsPrefix(arg1::PC{Float32},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PCAppendOptionsPrefix,petscRealSingle),PetscErrorCode,(PC{Float32},Cstring),arg1,arg2) - return err -end - -function PCGetOptionsPrefix(arg1::PC{Float32},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PCGetOptionsPrefix,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PCComputeExplicitOperator(arg1::PC{Float32},arg2::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:PCComputeExplicitOperator,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Mat{Float32}}),arg1,arg2) - return err -end - -function PCGetDiagonalScale(arg1::PC{Float32},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCGetDiagonalScale,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCDiagonalScaleLeft(arg1::PC{Float32},arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:PCDiagonalScaleLeft,petscRealSingle),PetscErrorCode,(PC{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function PCDiagonalScaleRight(arg1::PC{Float32},arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:PCDiagonalScaleRight,petscRealSingle),PetscErrorCode,(PC{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function PCSetDiagonalScale(arg1::PC{Float32},arg2::Vec{Float32}) - err = ccall((:PCSetDiagonalScale,petscRealSingle),PetscErrorCode,(PC{Float32},Vec{Float32}),arg1,arg2) - return err -end - -function PCJacobiSetType(arg1::PC{Float32},arg2::PCJacobiType) - err = ccall((:PCJacobiSetType,petscRealSingle),PetscErrorCode,(PC{Float32},PCJacobiType),arg1,arg2) - return err -end - -function PCJacobiGetType(arg1::PC{Float32},arg2::Union{Ptr{PCJacobiType},StridedArray{PCJacobiType},Ptr{PCJacobiType},Ref{PCJacobiType}}) - err = ccall((:PCJacobiGetType,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{PCJacobiType}),arg1,arg2) - return err -end - -function PCJacobiSetUseAbs(arg1::PC{Float32},arg2::PetscBool) - err = ccall((:PCJacobiSetUseAbs,petscRealSingle),PetscErrorCode,(PC{Float32},PetscBool),arg1,arg2) - return err -end - -function PCJacobiGetUseAbs(arg1::PC{Float32},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCJacobiGetUseAbs,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCSORSetSymmetric(arg1::PC{Float32},arg2::MatSORType) - err = ccall((:PCSORSetSymmetric,petscRealSingle),PetscErrorCode,(PC{Float32},MatSORType),arg1,arg2) - return err -end - -function PCSORGetSymmetric(arg1::PC{Float32},arg2::Union{Ptr{MatSORType},StridedArray{MatSORType},Ptr{MatSORType},Ref{MatSORType}}) - err = ccall((:PCSORGetSymmetric,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{MatSORType}),arg1,arg2) - return err -end - -function PCSORSetOmega(arg1::PC{Float32},arg2::Float32) - err = ccall((:PCSORSetOmega,petscRealSingle),PetscErrorCode,(PC{Float32},Float32),arg1,arg2) - return err -end - -function PCSORGetOmega(arg1::PC{Float32},arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:PCSORGetOmega,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Float32}),arg1,arg2) - return err -end - -function PCSORSetIterations(arg1::PC{Float32},arg2::Integer,arg3::Integer) - err = ccall((:PCSORSetIterations,petscRealSingle),PetscErrorCode,(PC{Float32},Int64,Int64),arg1,arg2,arg3) - return err -end - -function PCSORGetIterations(arg1::PC{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PCSORGetIterations,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PCEisenstatSetOmega(arg1::PC{Float32},arg2::Float32) - err = ccall((:PCEisenstatSetOmega,petscRealSingle),PetscErrorCode,(PC{Float32},Float32),arg1,arg2) - return err -end - -function PCEisenstatGetOmega(arg1::PC{Float32},arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:PCEisenstatGetOmega,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Float32}),arg1,arg2) - return err -end - -function PCEisenstatSetNoDiagonalScaling(arg1::PC{Float32},arg2::PetscBool) - err = ccall((:PCEisenstatSetNoDiagonalScaling,petscRealSingle),PetscErrorCode,(PC{Float32},PetscBool),arg1,arg2) - return err -end - -function PCEisenstatGetNoDiagonalScaling(arg1::PC{Float32},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCEisenstatGetNoDiagonalScaling,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCBJacobiSetTotalBlocks(arg1::PC{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PCBJacobiSetTotalBlocks,petscRealSingle),PetscErrorCode,(PC{Float32},Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PCBJacobiGetTotalBlocks(arg1::PC{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PCBJacobiGetTotalBlocks,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3) - return err -end - -function PCBJacobiSetLocalBlocks(arg1::PC{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PCBJacobiSetLocalBlocks,petscRealSingle),PetscErrorCode,(PC{Float32},Int64,Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function PCBJacobiGetLocalBlocks(arg1::PC{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PCBJacobiGetLocalBlocks,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3) - return err -end - -function PCShellSetApply(arg1::PC{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCShellSetApply,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Void}),arg1,arg2) - return err -end - -function PCShellSetApplyBA(arg1::PC{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCShellSetApplyBA,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Void}),arg1,arg2) - return err -end - -function PCShellSetApplyTranspose(arg1::PC{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCShellSetApplyTranspose,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Void}),arg1,arg2) - return err -end - -function PCShellSetSetUp(arg1::PC{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCShellSetSetUp,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Void}),arg1,arg2) - return err -end - -function PCShellSetApplyRichardson(arg1::PC{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCShellSetApplyRichardson,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Void}),arg1,arg2) - return err -end - -function PCShellSetView(arg1::PC{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCShellSetView,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Void}),arg1,arg2) - return err -end - -function PCShellSetDestroy(arg1::PC{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCShellSetDestroy,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Void}),arg1,arg2) - return err -end - -function PCShellSetContext(arg1::PC{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCShellSetContext,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Void}),arg1,arg2) - return err -end - -function PCShellGetContext(arg1::PC{Float32},arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:PCShellGetContext,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Ptr{Void}}),arg1,arg2) - return err -end - -function PCShellSetName(arg1::PC{Float32},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PCShellSetName,petscRealSingle),PetscErrorCode,(PC{Float32},Cstring),arg1,arg2) - return err -end - -function PCShellGetName(arg1::PC{Float32},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PCShellGetName,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PCFactorSetZeroPivot(arg1::PC{Float32},arg2::Float32) - err = ccall((:PCFactorSetZeroPivot,petscRealSingle),PetscErrorCode,(PC{Float32},Float32),arg1,arg2) - return err -end - -function PCFactorSetShiftType(arg1::PC{Float32},arg2::MatFactorShiftType) - err = ccall((:PCFactorSetShiftType,petscRealSingle),PetscErrorCode,(PC{Float32},MatFactorShiftType),arg1,arg2) - return err -end - -function PCFactorSetShiftAmount(arg1::PC{Float32},arg2::Float32) - err = ccall((:PCFactorSetShiftAmount,petscRealSingle),PetscErrorCode,(PC{Float32},Float32),arg1,arg2) - return err -end - -function PCFactorSetMatSolverPackage(arg1::PC{Float32},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PCFactorSetMatSolverPackage,petscRealSingle),PetscErrorCode,(PC{Float32},Cstring),arg1,arg2) - return err -end - -function PCFactorGetMatSolverPackage(arg1::PC{Float32},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PCFactorGetMatSolverPackage,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PCFactorSetUpMatSolverPackage(arg1::PC{Float32}) - err = ccall((:PCFactorSetUpMatSolverPackage,petscRealSingle),PetscErrorCode,(PC{Float32},),arg1) - return err -end - -function PCFactorSetFill(arg1::PC{Float32},arg2::Float32) - err = ccall((:PCFactorSetFill,petscRealSingle),PetscErrorCode,(PC{Float32},Float32),arg1,arg2) - return err -end - -function PCFactorSetColumnPivot(arg1::PC{Float32},arg2::Float32) - err = ccall((:PCFactorSetColumnPivot,petscRealSingle),PetscErrorCode,(PC{Float32},Float32),arg1,arg2) - return err -end - -function PCFactorReorderForNonzeroDiagonal(arg1::PC{Float32},arg2::Float32) - err = ccall((:PCFactorReorderForNonzeroDiagonal,petscRealSingle),PetscErrorCode,(PC{Float32},Float32),arg1,arg2) - return err -end - -function PCFactorSetMatOrderingType(arg1::PC{Float32},arg2::MatOrderingType) - err = ccall((:PCFactorSetMatOrderingType,petscRealSingle),PetscErrorCode,(PC{Float32},Cstring),arg1,arg2) - return err -end - -function PCFactorSetReuseOrdering(arg1::PC{Float32},arg2::PetscBool) - err = ccall((:PCFactorSetReuseOrdering,petscRealSingle),PetscErrorCode,(PC{Float32},PetscBool),arg1,arg2) - return err -end - -function PCFactorSetReuseFill(arg1::PC{Float32},arg2::PetscBool) - err = ccall((:PCFactorSetReuseFill,petscRealSingle),PetscErrorCode,(PC{Float32},PetscBool),arg1,arg2) - return err -end - -function PCFactorSetUseInPlace(arg1::PC{Float32},arg2::PetscBool) - err = ccall((:PCFactorSetUseInPlace,petscRealSingle),PetscErrorCode,(PC{Float32},PetscBool),arg1,arg2) - return err -end - -function PCFactorGetUseInPlace(arg1::PC{Float32},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCFactorGetUseInPlace,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCFactorSetAllowDiagonalFill(arg1::PC{Float32},arg2::PetscBool) - err = ccall((:PCFactorSetAllowDiagonalFill,petscRealSingle),PetscErrorCode,(PC{Float32},PetscBool),arg1,arg2) - return err -end - -function PCFactorGetAllowDiagonalFill(arg1::PC{Float32},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCFactorGetAllowDiagonalFill,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCFactorSetPivotInBlocks(arg1::PC{Float32},arg2::PetscBool) - err = ccall((:PCFactorSetPivotInBlocks,petscRealSingle),PetscErrorCode,(PC{Float32},PetscBool),arg1,arg2) - return err -end - -function PCFactorSetLevels(arg1::PC{Float32},arg2::Integer) - err = ccall((:PCFactorSetLevels,petscRealSingle),PetscErrorCode,(PC{Float32},Int64),arg1,arg2) - return err -end - -function PCFactorGetLevels(arg1::PC{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PCFactorGetLevels,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Int64}),arg1,arg2) - return err -end - -function PCFactorSetDropTolerance(arg1::PC{Float32},arg2::Float32,arg3::Float32,arg4::Integer) - err = ccall((:PCFactorSetDropTolerance,petscRealSingle),PetscErrorCode,(PC{Float32},Float32,Float32,Int64),arg1,arg2,arg3,arg4) - return err -end - -function PCASMSetLocalSubdomains(arg1::PC{Float32},arg2::Integer,arg3::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}},arg4::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:PCASMSetLocalSubdomains,petscRealSingle),PetscErrorCode,(PC{Float32},Int64,Ptr{IS{Float32}},Ptr{IS{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function PCASMSetTotalSubdomains(arg1::PC{Float32},arg2::Integer,arg3::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}},arg4::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:PCASMSetTotalSubdomains,petscRealSingle),PetscErrorCode,(PC{Float32},Int64,Ptr{IS{Float32}},Ptr{IS{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function PCASMSetOverlap(arg1::PC{Float32},arg2::Integer) - err = ccall((:PCASMSetOverlap,petscRealSingle),PetscErrorCode,(PC{Float32},Int64),arg1,arg2) - return err -end - -function PCASMSetDMSubdomains(arg1::PC{Float32},arg2::PetscBool) - err = ccall((:PCASMSetDMSubdomains,petscRealSingle),PetscErrorCode,(PC{Float32},PetscBool),arg1,arg2) - return err -end - -function PCASMGetDMSubdomains(arg1::PC{Float32},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCASMGetDMSubdomains,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCASMSetSortIndices(arg1::PC{Float32},arg2::PetscBool) - err = ccall((:PCASMSetSortIndices,petscRealSingle),PetscErrorCode,(PC{Float32},PetscBool),arg1,arg2) - return err -end - -function PCASMSetType(arg1::PC{Float32},arg2::PCASMType) - err = ccall((:PCASMSetType,petscRealSingle),PetscErrorCode,(PC{Float32},PCASMType),arg1,arg2) - return err -end - -function PCASMGetType(arg1::PC{Float32},arg2::Union{Ptr{PCASMType},StridedArray{PCASMType},Ptr{PCASMType},Ref{PCASMType}}) - err = ccall((:PCASMGetType,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{PCASMType}),arg1,arg2) - return err -end - -function PCASMSetLocalType(arg1::PC{Float32},arg2::PCCompositeType) - err = ccall((:PCASMSetLocalType,petscRealSingle),PetscErrorCode,(PC{Float32},PCCompositeType),arg1,arg2) - return err -end - -function PCASMGetLocalType(arg1::PC{Float32},arg2::Union{Ptr{PCCompositeType},StridedArray{PCCompositeType},Ptr{PCCompositeType},Ref{PCCompositeType}}) - err = ccall((:PCASMGetLocalType,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{PCCompositeType}),arg1,arg2) - return err -end - -function PCASMCreateSubdomains(arg1::Mat{Float32},arg2::Integer,arg3::Union{Ptr{Ptr{IS{Float32}}},StridedArray{Ptr{IS{Float32}}},Ptr{Ptr{IS{Float32}}},Ref{Ptr{IS{Float32}}}}) - err = ccall((:PCASMCreateSubdomains,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Ptr{Ptr{IS{Float32}}}),arg1,arg2,arg3) - return err -end - -function PCASMDestroySubdomains(arg1::Integer,arg2::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}},arg3::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:PCASMDestroySubdomains,petscRealSingle),PetscErrorCode,(Int64,Ptr{IS{Float32}},Ptr{IS{Float32}}),arg1,arg2,arg3) - return err -end - -function PCASMCreateSubdomains2D(arg1::Integer,arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg8::Union{Ptr{Ptr{IS{Float32}}},StridedArray{Ptr{IS{Float32}}},Ptr{Ptr{IS{Float32}}},Ref{Ptr{IS{Float32}}}},arg9::Union{Ptr{Ptr{IS{Float32}}},StridedArray{Ptr{IS{Float32}}},Ptr{Ptr{IS{Float32}}},Ref{Ptr{IS{Float32}}}}) - err = ccall((:PCASMCreateSubdomains2D,petscRealSingle),PetscErrorCode,(Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Ptr{IS{Float32}}},Ptr{Ptr{IS{Float32}}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) - return err -end - -function PCASMGetLocalSubdomains(arg1::PC{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{IS{Float32}}},StridedArray{Ptr{IS{Float32}}},Ptr{Ptr{IS{Float32}}},Ref{Ptr{IS{Float32}}}},arg4::Union{Ptr{Ptr{IS{Float32}}},StridedArray{Ptr{IS{Float32}}},Ptr{Ptr{IS{Float32}}},Ref{Ptr{IS{Float32}}}}) - err = ccall((:PCASMGetLocalSubdomains,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Int64},Ptr{Ptr{IS{Float32}}},Ptr{Ptr{IS{Float32}}}),arg1,arg2,arg3,arg4) - return err -end - -function PCASMGetLocalSubmatrices(arg1::PC{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Mat{Float32}}},StridedArray{Ptr{Mat{Float32}}},Ptr{Ptr{Mat{Float32}}},Ref{Ptr{Mat{Float32}}}}) - err = ccall((:PCASMGetLocalSubmatrices,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Int64},Ptr{Ptr{Mat{Float32}}}),arg1,arg2,arg3) - return err -end - -function PCGASMSetTotalSubdomains(arg1::PC{Float32},arg2::Integer) - err = ccall((:PCGASMSetTotalSubdomains,petscRealSingle),PetscErrorCode,(PC{Float32},Int64),arg1,arg2) - return err -end - -function PCGASMSetSubdomains(arg1::PC{Float32},arg2::Integer,arg3::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}},arg4::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:PCGASMSetSubdomains,petscRealSingle),PetscErrorCode,(PC{Float32},Int64,Ptr{IS{Float32}},Ptr{IS{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function PCGASMSetOverlap(arg1::PC{Float32},arg2::Integer) - err = ccall((:PCGASMSetOverlap,petscRealSingle),PetscErrorCode,(PC{Float32},Int64),arg1,arg2) - return err -end - -function PCGASMSetUseDMSubdomains(arg1::PC{Float32},arg2::PetscBool) - err = ccall((:PCGASMSetUseDMSubdomains,petscRealSingle),PetscErrorCode,(PC{Float32},PetscBool),arg1,arg2) - return err -end - -function PCGASMGetUseDMSubdomains(arg1::PC{Float32},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCGASMGetUseDMSubdomains,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCGASMSetSortIndices(arg1::PC{Float32},arg2::PetscBool) - err = ccall((:PCGASMSetSortIndices,petscRealSingle),PetscErrorCode,(PC{Float32},PetscBool),arg1,arg2) - return err -end - -function PCGASMSetType(arg1::PC{Float32},arg2::PCGASMType) - err = ccall((:PCGASMSetType,petscRealSingle),PetscErrorCode,(PC{Float32},PCGASMType),arg1,arg2) - return err -end - -function PCGASMCreateSubdomains(arg1::Mat{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{IS{Float32}}},StridedArray{Ptr{IS{Float32}}},Ptr{Ptr{IS{Float32}}},Ref{Ptr{IS{Float32}}}}) - err = ccall((:PCGASMCreateSubdomains,petscRealSingle),PetscErrorCode,(Mat{Float32},Int64,Ptr{Int64},Ptr{Ptr{IS{Float32}}}),arg1,arg2,arg3,arg4) - return err -end - -function PCGASMDestroySubdomains(arg1::Integer,arg2::Union{Ptr{Ptr{IS{Float32}}},StridedArray{Ptr{IS{Float32}}},Ptr{Ptr{IS{Float32}}},Ref{Ptr{IS{Float32}}}},arg3::Union{Ptr{Ptr{IS{Float32}}},StridedArray{Ptr{IS{Float32}}},Ptr{Ptr{IS{Float32}}},Ref{Ptr{IS{Float32}}}}) - err = ccall((:PCGASMDestroySubdomains,petscRealSingle),PetscErrorCode,(Int64,Ptr{Ptr{IS{Float32}}},Ptr{Ptr{IS{Float32}}}),arg1,arg2,arg3) - return err -end - -function PCGASMCreateSubdomains2D(arg1::PC{Float32},arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg9::Union{Ptr{Ptr{IS{Float32}}},StridedArray{Ptr{IS{Float32}}},Ptr{Ptr{IS{Float32}}},Ref{Ptr{IS{Float32}}}},arg10::Union{Ptr{Ptr{IS{Float32}}},StridedArray{Ptr{IS{Float32}}},Ptr{Ptr{IS{Float32}}},Ref{Ptr{IS{Float32}}}}) - err = ccall((:PCGASMCreateSubdomains2D,petscRealSingle),PetscErrorCode,(PC{Float32},Int64,Int64,Int64,Int64,Int64,Int64,Ptr{Int64},Ptr{Ptr{IS{Float32}}},Ptr{Ptr{IS{Float32}}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -function PCGASMGetSubdomains(arg1::PC{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{IS{Float32}}},StridedArray{Ptr{IS{Float32}}},Ptr{Ptr{IS{Float32}}},Ref{Ptr{IS{Float32}}}},arg4::Union{Ptr{Ptr{IS{Float32}}},StridedArray{Ptr{IS{Float32}}},Ptr{Ptr{IS{Float32}}},Ref{Ptr{IS{Float32}}}}) - err = ccall((:PCGASMGetSubdomains,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Int64},Ptr{Ptr{IS{Float32}}},Ptr{Ptr{IS{Float32}}}),arg1,arg2,arg3,arg4) - return err -end - -function PCGASMGetSubmatrices(arg1::PC{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Mat{Float32}}},StridedArray{Ptr{Mat{Float32}}},Ptr{Ptr{Mat{Float32}}},Ref{Ptr{Mat{Float32}}}}) - err = ccall((:PCGASMGetSubmatrices,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Int64},Ptr{Ptr{Mat{Float32}}}),arg1,arg2,arg3) - return err -end - -function PCCompositeSetType(arg1::PC{Float32},arg2::PCCompositeType) - err = ccall((:PCCompositeSetType,petscRealSingle),PetscErrorCode,(PC{Float32},PCCompositeType),arg1,arg2) - return err -end - -function PCCompositeGetType(arg1::PC{Float32},arg2::Union{Ptr{PCCompositeType},StridedArray{PCCompositeType},Ptr{PCCompositeType},Ref{PCCompositeType}}) - err = ccall((:PCCompositeGetType,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{PCCompositeType}),arg1,arg2) - return err -end - -function PCCompositeAddPC(arg1::PC{Float32},arg2::PCType) - err = ccall((:PCCompositeAddPC,petscRealSingle),PetscErrorCode,(PC{Float32},Cstring),arg1,arg2) - return err -end - -function PCCompositeGetPC(arg1::PC{Float32},arg2::Integer,arg3::Union{Ptr{PC{Float32}},StridedArray{PC{Float32}},Ptr{PC{Float32}},Ref{PC{Float32}}}) - err = ccall((:PCCompositeGetPC,petscRealSingle),PetscErrorCode,(PC{Float32},Int64,Ptr{PC{Float32}}),arg1,arg2,arg3) - return err -end - -function PCCompositeSpecialSetAlpha(arg1::PC{Float32},arg2::Float32) - err = ccall((:PCCompositeSpecialSetAlpha,petscRealSingle),PetscErrorCode,(PC{Float32},Float32),arg1,arg2) - return err -end - -function PCRedundantSetNumber(arg1::PC{Float32},arg2::Integer) - err = ccall((:PCRedundantSetNumber,petscRealSingle),PetscErrorCode,(PC{Float32},Int64),arg1,arg2) - return err -end - -function PCRedundantSetScatter(arg1::PC{Float32},arg2::VecScatter{Float32},arg3::VecScatter{Float32}) - err = ccall((:PCRedundantSetScatter,petscRealSingle),PetscErrorCode,(PC{Float32},VecScatter{Float32},VecScatter{Float32}),arg1,arg2,arg3) - return err -end - -function PCRedundantGetOperators(arg1::PC{Float32},arg2::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}},arg3::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:PCRedundantGetOperators,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Mat{Float32}},Ptr{Mat{Float32}}),arg1,arg2,arg3) - return err -end - -function PCSPAISetEpsilon(arg1::PC{Float32},arg2::Cdouble) - err = ccall((:PCSPAISetEpsilon,petscRealSingle),PetscErrorCode,(PC{Float32},Cdouble),arg1,arg2) - return err -end - -function PCSPAISetNBSteps(arg1::PC{Float32},arg2::Integer) - err = ccall((:PCSPAISetNBSteps,petscRealSingle),PetscErrorCode,(PC{Float32},Int64),arg1,arg2) - return err -end - -function PCSPAISetMax(arg1::PC{Float32},arg2::Integer) - err = ccall((:PCSPAISetMax,petscRealSingle),PetscErrorCode,(PC{Float32},Int64),arg1,arg2) - return err -end - -function PCSPAISetMaxNew(arg1::PC{Float32},arg2::Integer) - err = ccall((:PCSPAISetMaxNew,petscRealSingle),PetscErrorCode,(PC{Float32},Int64),arg1,arg2) - return err -end - -function PCSPAISetBlockSize(arg1::PC{Float32},arg2::Integer) - err = ccall((:PCSPAISetBlockSize,petscRealSingle),PetscErrorCode,(PC{Float32},Int64),arg1,arg2) - return err -end - -function PCSPAISetCacheSize(arg1::PC{Float32},arg2::Integer) - err = ccall((:PCSPAISetCacheSize,petscRealSingle),PetscErrorCode,(PC{Float32},Int64),arg1,arg2) - return err -end - -function PCSPAISetVerbose(arg1::PC{Float32},arg2::Integer) - err = ccall((:PCSPAISetVerbose,petscRealSingle),PetscErrorCode,(PC{Float32},Int64),arg1,arg2) - return err -end - -function PCSPAISetSp(arg1::PC{Float32},arg2::Integer) - err = ccall((:PCSPAISetSp,petscRealSingle),PetscErrorCode,(PC{Float32},Int64),arg1,arg2) - return err -end - -function PCHYPRESetType(arg1::PC{Float32},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PCHYPRESetType,petscRealSingle),PetscErrorCode,(PC{Float32},Cstring),arg1,arg2) - return err -end - -function PCHYPREGetType(arg1::PC{Float32},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:PCHYPREGetType,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function PCHYPRESetDiscreteGradient(arg1::PC{Float32},arg2::Mat{Float32}) - err = ccall((:PCHYPRESetDiscreteGradient,petscRealSingle),PetscErrorCode,(PC{Float32},Mat{Float32}),arg1,arg2) - return err -end - -function PCHYPRESetDiscreteCurl(arg1::PC{Float32},arg2::Mat{Float32}) - err = ccall((:PCHYPRESetDiscreteCurl,petscRealSingle),PetscErrorCode,(PC{Float32},Mat{Float32}),arg1,arg2) - return err -end - -function PCHYPRESetEdgeConstantVectors(arg1::PC{Float32},arg2::Vec{Float32},arg3::Vec{Float32},arg4::Vec{Float32}) - err = ccall((:PCHYPRESetEdgeConstantVectors,petscRealSingle),PetscErrorCode,(PC{Float32},Vec{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function PCHYPRESetAlphaPoissonMatrix(arg1::PC{Float32},arg2::Mat{Float32}) - err = ccall((:PCHYPRESetAlphaPoissonMatrix,petscRealSingle),PetscErrorCode,(PC{Float32},Mat{Float32}),arg1,arg2) - return err -end - -function PCHYPRESetBetaPoissonMatrix(arg1::PC{Float32},arg2::Mat{Float32}) - err = ccall((:PCHYPRESetBetaPoissonMatrix,petscRealSingle),PetscErrorCode,(PC{Float32},Mat{Float32}),arg1,arg2) - return err -end - -function PCBJacobiGetLocalBlocks(arg1::PC{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PCBJacobiGetLocalBlocks,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3) - return err -end - -function PCBJacobiGetTotalBlocks(arg1::PC{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}}) - err = ccall((:PCBJacobiGetTotalBlocks,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Int64},Ptr{Ptr{Int64}}),arg1,arg2,arg3) - return err -end - -function PCFieldSplitSetFields(arg1::PC{Float32},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PCFieldSplitSetFields,petscRealSingle),PetscErrorCode,(PC{Float32},Cstring,Int64,Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PCFieldSplitSetType(arg1::PC{Float32},arg2::PCCompositeType) - err = ccall((:PCFieldSplitSetType,petscRealSingle),PetscErrorCode,(PC{Float32},PCCompositeType),arg1,arg2) - return err -end - -function PCFieldSplitGetType(arg1::PC{Float32},arg2::Union{Ptr{PCCompositeType},StridedArray{PCCompositeType},Ptr{PCCompositeType},Ref{PCCompositeType}}) - err = ccall((:PCFieldSplitGetType,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{PCCompositeType}),arg1,arg2) - return err -end - -function PCFieldSplitSetBlockSize(arg1::PC{Float32},arg2::Integer) - err = ccall((:PCFieldSplitSetBlockSize,petscRealSingle),PetscErrorCode,(PC{Float32},Int64),arg1,arg2) - return err -end - -function PCFieldSplitSetIS(arg1::PC{Float32},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::IS{Float32}) - err = ccall((:PCFieldSplitSetIS,petscRealSingle),PetscErrorCode,(PC{Float32},Cstring,IS{Float32}),arg1,arg2,arg3) - return err -end - -function PCFieldSplitGetIS(arg1::PC{Float32},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:PCFieldSplitGetIS,petscRealSingle),PetscErrorCode,(PC{Float32},Cstring,Ptr{IS{Float32}}),arg1,arg2,arg3) - return err -end - -function PCFieldSplitSetDMSplits(arg1::PC{Float32},arg2::PetscBool) - err = ccall((:PCFieldSplitSetDMSplits,petscRealSingle),PetscErrorCode,(PC{Float32},PetscBool),arg1,arg2) - return err -end - -function PCFieldSplitGetDMSplits(arg1::PC{Float32},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCFieldSplitGetDMSplits,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCFieldSplitSetDiagUseAmat(arg1::PC{Float32},arg2::PetscBool) - err = ccall((:PCFieldSplitSetDiagUseAmat,petscRealSingle),PetscErrorCode,(PC{Float32},PetscBool),arg1,arg2) - return err -end - -function PCFieldSplitGetDiagUseAmat(arg1::PC{Float32},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCFieldSplitGetDiagUseAmat,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCFieldSplitSetOffDiagUseAmat(arg1::PC{Float32},arg2::PetscBool) - err = ccall((:PCFieldSplitSetOffDiagUseAmat,petscRealSingle),PetscErrorCode,(PC{Float32},PetscBool),arg1,arg2) - return err -end - -function PCFieldSplitGetOffDiagUseAmat(arg1::PC{Float32},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCFieldSplitGetOffDiagUseAmat,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCFieldSplitSchurPrecondition(arg1::PC{Float32},arg2::PCFieldSplitSchurPreType,arg3::Mat{Float32}) - err = ccall((:PCFieldSplitSchurPrecondition,petscRealSingle),PetscErrorCode,(PC{Float32},PCFieldSplitSchurPreType,Mat{Float32}),arg1,arg2,arg3) - return err -end - -function PCFieldSplitSetSchurPre(arg1::PC{Float32},arg2::PCFieldSplitSchurPreType,arg3::Mat{Float32}) - err = ccall((:PCFieldSplitSetSchurPre,petscRealSingle),PetscErrorCode,(PC{Float32},PCFieldSplitSchurPreType,Mat{Float32}),arg1,arg2,arg3) - return err -end - -function PCFieldSplitGetSchurPre(arg1::PC{Float32},arg2::Union{Ptr{PCFieldSplitSchurPreType},StridedArray{PCFieldSplitSchurPreType},Ptr{PCFieldSplitSchurPreType},Ref{PCFieldSplitSchurPreType}},arg3::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:PCFieldSplitGetSchurPre,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{PCFieldSplitSchurPreType},Ptr{Mat{Float32}}),arg1,arg2,arg3) - return err -end - -function PCFieldSplitSetSchurFactType(arg1::PC{Float32},arg2::PCFieldSplitSchurFactType) - err = ccall((:PCFieldSplitSetSchurFactType,petscRealSingle),PetscErrorCode,(PC{Float32},PCFieldSplitSchurFactType),arg1,arg2) - return err -end - -function PCFieldSplitGetSchurBlocks(arg1::PC{Float32},arg2::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}},arg3::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}},arg4::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}},arg5::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:PCFieldSplitGetSchurBlocks,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Mat{Float32}},Ptr{Mat{Float32}},Ptr{Mat{Float32}},Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PCFieldSplitSchurGetS(arg1::PC{Float32},S::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:PCFieldSplitSchurGetS,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Mat{Float32}}),arg1,S) - return err -end - -function PCFieldSplitSchurRestoreS(arg1::PC{Float32},S::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:PCFieldSplitSchurRestoreS,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Mat{Float32}}),arg1,S) - return err -end - -function PCGalerkinSetRestriction(arg1::PC{Float32},arg2::Mat{Float32}) - err = ccall((:PCGalerkinSetRestriction,petscRealSingle),PetscErrorCode,(PC{Float32},Mat{Float32}),arg1,arg2) - return err -end - -function PCGalerkinSetInterpolation(arg1::PC{Float32},arg2::Mat{Float32}) - err = ccall((:PCGalerkinSetInterpolation,petscRealSingle),PetscErrorCode,(PC{Float32},Mat{Float32}),arg1,arg2) - return err -end - -function PCSetCoordinates(arg1::PC{Float32},arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:PCSetCoordinates,petscRealSingle),PetscErrorCode,(PC{Float32},Int64,Int64,Ptr{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function PCPythonSetType(arg1::PC{Float32},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:PCPythonSetType,petscRealSingle),PetscErrorCode,(PC{Float32},Cstring),arg1,arg2) - return err -end - -function PCSetDM(arg1::PC{Float32},arg2::DM) - err = ccall((:PCSetDM,petscRealSingle),PetscErrorCode,(PC{Float32},DM),arg1,arg2) - return err -end - -function PCGetDM(arg1::PC{Float32},arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:PCGetDM,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{DM}),arg1,arg2) - return err -end - -function PCSetApplicationContext(arg1::PC{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCSetApplicationContext,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Void}),arg1,arg2) - return err -end - -function PCGetApplicationContext(arg1::PC{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCGetApplicationContext,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Void}),arg1,arg2) - return err -end - -function PCBiCGStabCUSPSetTolerance(arg1::PC{Float32},arg2::Float32) - err = ccall((:PCBiCGStabCUSPSetTolerance,petscRealSingle),PetscErrorCode,(PC{Float32},Float32),arg1,arg2) - return err -end - -function PCBiCGStabCUSPSetIterations(arg1::PC{Float32},arg2::Integer) - err = ccall((:PCBiCGStabCUSPSetIterations,petscRealSingle),PetscErrorCode,(PC{Float32},Int64),arg1,arg2) - return err -end - -function PCBiCGStabCUSPSetUseVerboseMonitor(arg1::PC{Float32},arg2::PetscBool) - err = ccall((:PCBiCGStabCUSPSetUseVerboseMonitor,petscRealSingle),PetscErrorCode,(PC{Float32},PetscBool),arg1,arg2) - return err -end - -function PCAINVCUSPSetDropTolerance(arg1::PC{Float32},arg2::Float32) - err = ccall((:PCAINVCUSPSetDropTolerance,petscRealSingle),PetscErrorCode,(PC{Float32},Float32),arg1,arg2) - return err -end - -function PCAINVCUSPUseScaling(arg1::PC{Float32},arg2::PetscBool) - err = ccall((:PCAINVCUSPUseScaling,petscRealSingle),PetscErrorCode,(PC{Float32},PetscBool),arg1,arg2) - return err -end - -function PCAINVCUSPSetNonzeros(arg1::PC{Float32},arg2::Integer) - err = ccall((:PCAINVCUSPSetNonzeros,petscRealSingle),PetscErrorCode,(PC{Float32},Int64),arg1,arg2) - return err -end - -function PCAINVCUSPSetLinParameter(arg1::PC{Float32},arg2::Integer) - err = ccall((:PCAINVCUSPSetLinParameter,petscRealSingle),PetscErrorCode,(PC{Float32},Int64),arg1,arg2) - return err -end - -function PCPARMSSetGlobal(arg1::PC{Float32},arg2::PCPARMSGlobalType) - err = ccall((:PCPARMSSetGlobal,petscRealSingle),PetscErrorCode,(PC{Float32},PCPARMSGlobalType),arg1,arg2) - return err -end - -function PCPARMSSetLocal(arg1::PC{Float32},arg2::PCPARMSLocalType) - err = ccall((:PCPARMSSetLocal,petscRealSingle),PetscErrorCode,(PC{Float32},PCPARMSLocalType),arg1,arg2) - return err -end - -function PCPARMSSetSolveTolerances(arg1::PC{Float32},arg2::Float32,arg3::Integer) - err = ccall((:PCPARMSSetSolveTolerances,petscRealSingle),PetscErrorCode,(PC{Float32},Float32,Int64),arg1,arg2,arg3) - return err -end - -function PCPARMSSetSolveRestart(arg1::PC{Float32},arg2::Integer) - err = ccall((:PCPARMSSetSolveRestart,petscRealSingle),PetscErrorCode,(PC{Float32},Int64),arg1,arg2) - return err -end - -function PCPARMSSetNonsymPerm(arg1::PC{Float32},arg2::PetscBool) - err = ccall((:PCPARMSSetNonsymPerm,petscRealSingle),PetscErrorCode,(PC{Float32},PetscBool),arg1,arg2) - return err -end - -function PCPARMSSetFill(arg1::PC{Float32},arg2::Integer,arg3::Integer,arg4::Integer) - err = ccall((:PCPARMSSetFill,petscRealSingle),PetscErrorCode,(PC{Float32},Int64,Int64,Int64),arg1,arg2,arg3,arg4) - return err -end - -function PCGAMGSetType(arg1::PC{Float32},arg2::PCGAMGType) - err = ccall((:PCGAMGSetType,petscRealSingle),PetscErrorCode,(PC{Float32},Cstring),arg1,arg2) - return err -end - -function PCGAMGGetType(arg1::PC{Float32},arg2::Union{Ptr{PCGAMGType},StridedArray{PCGAMGType},Ptr{PCGAMGType},Ref{PCGAMGType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:PCGAMGGetType,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function PCGAMGSetProcEqLim(arg1::PC{Float32},arg2::Integer) - err = ccall((:PCGAMGSetProcEqLim,petscRealSingle),PetscErrorCode,(PC{Float32},Int64),arg1,arg2) - return err -end - -function PCGAMGSetRepartitioning(arg1::PC{Float32},arg2::PetscBool) - err = ccall((:PCGAMGSetRepartitioning,petscRealSingle),PetscErrorCode,(PC{Float32},PetscBool),arg1,arg2) - return err -end - -function PCGAMGSetUseASMAggs(arg1::PC{Float32},arg2::PetscBool) - err = ccall((:PCGAMGSetUseASMAggs,petscRealSingle),PetscErrorCode,(PC{Float32},PetscBool),arg1,arg2) - return err -end - -function PCGAMGSetSolverType(arg1::PC{Float32},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer) - err = ccall((:PCGAMGSetSolverType,petscRealSingle),PetscErrorCode,(PC{Float32},Cstring,Int64),arg1,arg2,arg3) - return err -end - -function PCGAMGSetThreshold(arg1::PC{Float32},arg2::Float32) - err = ccall((:PCGAMGSetThreshold,petscRealSingle),PetscErrorCode,(PC{Float32},Float32),arg1,arg2) - return err -end - -function PCGAMGSetCoarseEqLim(arg1::PC{Float32},arg2::Integer) - err = ccall((:PCGAMGSetCoarseEqLim,petscRealSingle),PetscErrorCode,(PC{Float32},Int64),arg1,arg2) - return err -end - -function PCGAMGSetNlevels(arg1::PC{Float32},arg2::Integer) - err = ccall((:PCGAMGSetNlevels,petscRealSingle),PetscErrorCode,(PC{Float32},Int64),arg1,arg2) - return err -end - -function PCGAMGSetNSmooths(arg1::PC{Float32},arg2::Integer) - err = ccall((:PCGAMGSetNSmooths,petscRealSingle),PetscErrorCode,(PC{Float32},Int64),arg1,arg2) - return err -end - -function PCGAMGSetSymGraph(arg1::PC{Float32},arg2::PetscBool) - err = ccall((:PCGAMGSetSymGraph,petscRealSingle),PetscErrorCode,(PC{Float32},PetscBool),arg1,arg2) - return err -end - -function PCGAMGSetSquareGraph(arg1::PC{Float32},arg2::Integer) - err = ccall((:PCGAMGSetSquareGraph,petscRealSingle),PetscErrorCode,(PC{Float32},Int64),arg1,arg2) - return err -end - -function PCGAMGSetReuseInterpolation(arg1::PC{Float32},arg2::PetscBool) - err = ccall((:PCGAMGSetReuseInterpolation,petscRealSingle),PetscErrorCode,(PC{Float32},PetscBool),arg1,arg2) - return err -end - -function PCGAMGFinalizePackage(arg0::Type{Float32}) - err = ccall((:PCGAMGFinalizePackage,petscRealSingle),PetscErrorCode,()) - return err -end - -function PCGAMGInitializePackage(arg0::Type{Float32}) - err = ccall((:PCGAMGInitializePackage,petscRealSingle),PetscErrorCode,()) - return err -end - -function PCGAMGRegister(arg0::Type{Float32},arg1::PCGAMGType,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCGAMGRegister,petscRealSingle),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function PCGAMGClassicalSetType(arg1::PC{Float32},arg2::PCGAMGClassicalType) - err = ccall((:PCGAMGClassicalSetType,petscRealSingle),PetscErrorCode,(PC{Float32},Cstring),arg1,arg2) - return err -end - -function PCGAMGClassicalGetType(arg1::PC{Float32},arg2::Union{Ptr{PCGAMGClassicalType},StridedArray{PCGAMGClassicalType},Ptr{PCGAMGClassicalType},Ref{PCGAMGClassicalType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:PCGAMGClassicalGetType,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function PCBDDCSetChangeOfBasisMat(arg1::PC{Float32},arg2::Mat{Float32}) - err = ccall((:PCBDDCSetChangeOfBasisMat,petscRealSingle),PetscErrorCode,(PC{Float32},Mat{Float32}),arg1,arg2) - return err -end - -function PCBDDCSetPrimalVerticesLocalIS(arg1::PC{Float32},arg2::IS{Float32}) - err = ccall((:PCBDDCSetPrimalVerticesLocalIS,petscRealSingle),PetscErrorCode,(PC{Float32},IS{Float32}),arg1,arg2) - return err -end - -function PCBDDCSetCoarseningRatio(arg1::PC{Float32},arg2::Integer) - err = ccall((:PCBDDCSetCoarseningRatio,petscRealSingle),PetscErrorCode,(PC{Float32},Int64),arg1,arg2) - return err -end - -function PCBDDCSetLevels(arg1::PC{Float32},arg2::Integer) - err = ccall((:PCBDDCSetLevels,petscRealSingle),PetscErrorCode,(PC{Float32},Int64),arg1,arg2) - return err -end - -function PCBDDCSetNullSpace(arg1::PC{Float32},arg2::MatNullSpace) - err = ccall((:PCBDDCSetNullSpace,petscRealSingle),PetscErrorCode,(PC{Float32},MatNullSpace),arg1,arg2) - return err -end - -function PCBDDCSetDirichletBoundaries(arg1::PC{Float32},arg2::IS{Float32}) - err = ccall((:PCBDDCSetDirichletBoundaries,petscRealSingle),PetscErrorCode,(PC{Float32},IS{Float32}),arg1,arg2) - return err -end - -function PCBDDCSetDirichletBoundariesLocal(arg1::PC{Float32},arg2::IS{Float32}) - err = ccall((:PCBDDCSetDirichletBoundariesLocal,petscRealSingle),PetscErrorCode,(PC{Float32},IS{Float32}),arg1,arg2) - return err -end - -function PCBDDCGetDirichletBoundaries(arg1::PC{Float32},arg2::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:PCBDDCGetDirichletBoundaries,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{IS{Float32}}),arg1,arg2) - return err -end - -function PCBDDCGetDirichletBoundariesLocal(arg1::PC{Float32},arg2::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:PCBDDCGetDirichletBoundariesLocal,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{IS{Float32}}),arg1,arg2) - return err -end - -function PCBDDCSetNeumannBoundaries(arg1::PC{Float32},arg2::IS{Float32}) - err = ccall((:PCBDDCSetNeumannBoundaries,petscRealSingle),PetscErrorCode,(PC{Float32},IS{Float32}),arg1,arg2) - return err -end - -function PCBDDCSetNeumannBoundariesLocal(arg1::PC{Float32},arg2::IS{Float32}) - err = ccall((:PCBDDCSetNeumannBoundariesLocal,petscRealSingle),PetscErrorCode,(PC{Float32},IS{Float32}),arg1,arg2) - return err -end - -function PCBDDCGetNeumannBoundaries(arg1::PC{Float32},arg2::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:PCBDDCGetNeumannBoundaries,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{IS{Float32}}),arg1,arg2) - return err -end - -function PCBDDCGetNeumannBoundariesLocal(arg1::PC{Float32},arg2::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:PCBDDCGetNeumannBoundariesLocal,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{IS{Float32}}),arg1,arg2) - return err -end - -function PCBDDCSetDofsSplitting(arg1::PC{Float32},arg2::Integer,arg3::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:PCBDDCSetDofsSplitting,petscRealSingle),PetscErrorCode,(PC{Float32},Int64,Ptr{IS{Float32}}),arg1,arg2,arg3) - return err -end - -function PCBDDCSetDofsSplittingLocal(arg1::PC{Float32},arg2::Integer,arg3::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:PCBDDCSetDofsSplittingLocal,petscRealSingle),PetscErrorCode,(PC{Float32},Int64,Ptr{IS{Float32}}),arg1,arg2,arg3) - return err -end - -function PCBDDCSetLocalAdjacencyGraph(arg1::PC{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::PetscCopyMode) - err = ccall((:PCBDDCSetLocalAdjacencyGraph,petscRealSingle),PetscErrorCode,(PC{Float32},Int64,Ptr{Int64},Ptr{Int64},PetscCopyMode),arg1,arg2,arg3,arg4,arg5) - return err -end - -function PCBDDCCreateFETIDPOperators(arg1::PC{Float32},arg2::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}},arg3::Union{Ptr{PC{Float32}},StridedArray{PC{Float32}},Ptr{PC{Float32}},Ref{PC{Float32}}}) - err = ccall((:PCBDDCCreateFETIDPOperators,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Mat{Float32}},Ptr{PC{Float32}}),arg1,arg2,arg3) - return err -end - -function PCBDDCMatFETIDPGetRHS(arg1::Mat{Float32},arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:PCBDDCMatFETIDPGetRHS,petscRealSingle),PetscErrorCode,(Mat{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function PCBDDCMatFETIDPGetSolution(arg1::Mat{Float32},arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:PCBDDCMatFETIDPGetSolution,petscRealSingle),PetscErrorCode,(Mat{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function PCISSetUseStiffnessScaling(arg1::PC{Float32},arg2::PetscBool) - err = ccall((:PCISSetUseStiffnessScaling,petscRealSingle),PetscErrorCode,(PC{Float32},PetscBool),arg1,arg2) - return err -end - -function PCISSetSubdomainScalingFactor(arg1::PC{Float32},arg2::Float32) - err = ccall((:PCISSetSubdomainScalingFactor,petscRealSingle),PetscErrorCode,(PC{Float32},Float32),arg1,arg2) - return err -end - -function PCISSetSubdomainDiagonalScaling(arg1::PC{Float32},arg2::Vec{Float32}) - err = ccall((:PCISSetSubdomainDiagonalScaling,petscRealSingle),PetscErrorCode,(PC{Float32},Vec{Float32}),arg1,arg2) - return err -end - -function PCMGSetType(arg1::PC{Float32},arg2::PCMGType) - err = ccall((:PCMGSetType,petscRealSingle),PetscErrorCode,(PC{Float32},PCMGType),arg1,arg2) - return err -end - -function PCMGGetType(arg1::PC{Float32},arg2::Union{Ptr{PCMGType},StridedArray{PCMGType},Ptr{PCMGType},Ref{PCMGType}}) - err = ccall((:PCMGGetType,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{PCMGType}),arg1,arg2) - return err -end - -function PCMGSetLevels(arg1::PC{Float32},arg2::Integer,arg3::Union{Ptr{MPI_Comm},StridedArray{MPI_Comm},Ptr{MPI_Comm},Ref{MPI_Comm}}) - err = ccall((:PCMGSetLevels,petscRealSingle),PetscErrorCode,(PC{Float32},Int64,Ptr{comm_type}),arg1,arg2,arg3) - return err -end - -function PCMGGetLevels(arg1::PC{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:PCMGGetLevels,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Int64}),arg1,arg2) - return err -end - -function PCMGSetNumberSmoothUp(arg1::PC{Float32},arg2::Integer) - err = ccall((:PCMGSetNumberSmoothUp,petscRealSingle),PetscErrorCode,(PC{Float32},Int64),arg1,arg2) - return err -end - -function PCMGSetNumberSmoothDown(arg1::PC{Float32},arg2::Integer) - err = ccall((:PCMGSetNumberSmoothDown,petscRealSingle),PetscErrorCode,(PC{Float32},Int64),arg1,arg2) - return err -end - -function PCMGSetCycleType(arg1::PC{Float32},arg2::PCMGCycleType) - err = ccall((:PCMGSetCycleType,petscRealSingle),PetscErrorCode,(PC{Float32},PCMGCycleType),arg1,arg2) - return err -end - -function PCMGSetCycleTypeOnLevel(arg1::PC{Float32},arg2::Integer,arg3::PCMGCycleType) - err = ccall((:PCMGSetCycleTypeOnLevel,petscRealSingle),PetscErrorCode,(PC{Float32},Int64,PCMGCycleType),arg1,arg2,arg3) - return err -end - -function PCMGSetCyclesOnLevel(arg1::PC{Float32},arg2::Integer,arg3::Integer) - err = ccall((:PCMGSetCyclesOnLevel,petscRealSingle),PetscErrorCode,(PC{Float32},Int64,Int64),arg1,arg2,arg3) - return err -end - -function PCMGMultiplicativeSetCycles(arg1::PC{Float32},arg2::Integer) - err = ccall((:PCMGMultiplicativeSetCycles,petscRealSingle),PetscErrorCode,(PC{Float32},Int64),arg1,arg2) - return err -end - -function PCMGSetGalerkin(arg1::PC{Float32},arg2::PetscBool) - err = ccall((:PCMGSetGalerkin,petscRealSingle),PetscErrorCode,(PC{Float32},PetscBool),arg1,arg2) - return err -end - -function PCMGGetGalerkin(arg1::PC{Float32},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:PCMGGetGalerkin,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{PetscBool}),arg1,arg2) - return err -end - -function PCMGSetRhs(arg1::PC{Float32},arg2::Integer,arg3::Vec{Float32}) - err = ccall((:PCMGSetRhs,petscRealSingle),PetscErrorCode,(PC{Float32},Int64,Vec{Float32}),arg1,arg2,arg3) - return err -end - -function PCMGSetX(arg1::PC{Float32},arg2::Integer,arg3::Vec{Float32}) - err = ccall((:PCMGSetX,petscRealSingle),PetscErrorCode,(PC{Float32},Int64,Vec{Float32}),arg1,arg2,arg3) - return err -end - -function PCMGSetR(arg1::PC{Float32},arg2::Integer,arg3::Vec{Float32}) - err = ccall((:PCMGSetR,petscRealSingle),PetscErrorCode,(PC{Float32},Int64,Vec{Float32}),arg1,arg2,arg3) - return err -end - -function PCMGSetRestriction(arg1::PC{Float32},arg2::Integer,arg3::Mat{Float32}) - err = ccall((:PCMGSetRestriction,petscRealSingle),PetscErrorCode,(PC{Float32},Int64,Mat{Float32}),arg1,arg2,arg3) - return err -end - -function PCMGGetRestriction(arg1::PC{Float32},arg2::Integer,arg3::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:PCMGGetRestriction,petscRealSingle),PetscErrorCode,(PC{Float32},Int64,Ptr{Mat{Float32}}),arg1,arg2,arg3) - return err -end - -function PCMGSetInterpolation(arg1::PC{Float32},arg2::Integer,arg3::Mat{Float32}) - err = ccall((:PCMGSetInterpolation,petscRealSingle),PetscErrorCode,(PC{Float32},Int64,Mat{Float32}),arg1,arg2,arg3) - return err -end - -function PCMGGetInterpolation(arg1::PC{Float32},arg2::Integer,arg3::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:PCMGGetInterpolation,petscRealSingle),PetscErrorCode,(PC{Float32},Int64,Ptr{Mat{Float32}}),arg1,arg2,arg3) - return err -end - -function PCMGSetRScale(arg1::PC{Float32},arg2::Integer,arg3::Vec{Float32}) - err = ccall((:PCMGSetRScale,petscRealSingle),PetscErrorCode,(PC{Float32},Int64,Vec{Float32}),arg1,arg2,arg3) - return err -end - -function PCMGGetRScale(arg1::PC{Float32},arg2::Integer,arg3::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:PCMGGetRScale,petscRealSingle),PetscErrorCode,(PC{Float32},Int64,Ptr{Vec{Float32}}),arg1,arg2,arg3) - return err -end - -function PCMGSetResidual(arg1::PC{Float32},arg2::Integer,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Mat{Float32}) - err = ccall((:PCMGSetResidual,petscRealSingle),PetscErrorCode,(PC{Float32},Int64,Ptr{Void},Mat{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function PCMGResidualDefault(arg1::Mat{Float32},arg2::Vec{Float32},arg3::Vec{Float32},arg4::Vec{Float32}) - err = ccall((:PCMGResidualDefault,petscRealSingle),PetscErrorCode,(Mat{Float32},Vec{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function KSPInitializePackage(arg0::Type{Float32}) - err = ccall((:KSPInitializePackage,petscRealSingle),PetscErrorCode,()) - return err -end - -function KSPCreate(arg1::MPI_Comm,arg2::Union{Ptr{KSP{Float32}},StridedArray{KSP{Float32}},Ptr{KSP{Float32}},Ref{KSP{Float32}}}) - err = ccall((:KSPCreate,petscRealSingle),PetscErrorCode,(comm_type,Ptr{KSP{Float32}}),arg1,arg2) - return err -end - -function KSPSetType(arg1::KSP{Float32},arg2::KSPType) - err = ccall((:KSPSetType,petscRealSingle),PetscErrorCode,(KSP{Float32},Cstring),arg1,arg2) - return err -end - -function KSPGetType(arg1::KSP{Float32},arg2::Union{Ptr{KSPType},StridedArray{KSPType},Ptr{KSPType},Ref{KSPType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:KSPGetType,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function KSPSetUp(arg1::KSP{Float32}) - err = ccall((:KSPSetUp,petscRealSingle),PetscErrorCode,(KSP{Float32},),arg1) - return err -end - -function KSPSetUpOnBlocks(arg1::KSP{Float32}) - err = ccall((:KSPSetUpOnBlocks,petscRealSingle),PetscErrorCode,(KSP{Float32},),arg1) - return err -end - -function KSPSolve(arg1::KSP{Float32},arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:KSPSolve,petscRealSingle),PetscErrorCode,(KSP{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function KSPSolveTranspose(arg1::KSP{Float32},arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:KSPSolveTranspose,petscRealSingle),PetscErrorCode,(KSP{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function KSPReset(arg1::KSP{Float32}) - err = ccall((:KSPReset,petscRealSingle),PetscErrorCode,(KSP{Float32},),arg1) - return err -end - -function KSPDestroy(arg1::Union{Ptr{KSP{Float32}},StridedArray{KSP{Float32}},Ptr{KSP{Float32}},Ref{KSP{Float32}}}) - err = ccall((:KSPDestroy,petscRealSingle),PetscErrorCode,(Ptr{KSP{Float32}},),arg1) - return err -end - -function KSPSetReusePreconditioner(arg1::KSP{Float32},arg2::PetscBool) - err = ccall((:KSPSetReusePreconditioner,petscRealSingle),PetscErrorCode,(KSP{Float32},PetscBool),arg1,arg2) - return err -end - -function KSPSetSkipPCSetFromOptions(arg1::KSP{Float32},arg2::PetscBool) - err = ccall((:KSPSetSkipPCSetFromOptions,petscRealSingle),PetscErrorCode,(KSP{Float32},PetscBool),arg1,arg2) - return err -end - -function KSPRegister(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPRegister,petscRealSingle),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function KSPSetPCSide(arg1::KSP{Float32},arg2::PCSide) - err = ccall((:KSPSetPCSide,petscRealSingle),PetscErrorCode,(KSP{Float32},PCSide),arg1,arg2) - return err -end - -function KSPGetPCSide(arg1::KSP{Float32},arg2::Union{Ptr{PCSide},StridedArray{PCSide},Ptr{PCSide},Ref{PCSide}}) - err = ccall((:KSPGetPCSide,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{PCSide}),arg1,arg2) - return err -end - -function KSPSetTolerances(arg1::KSP{Float32},arg2::Float32,arg3::Float32,arg4::Float32,arg5::Integer) - err = ccall((:KSPSetTolerances,petscRealSingle),PetscErrorCode,(KSP{Float32},Float32,Float32,Float32,Int64),arg1,arg2,arg3,arg4,arg5) - return err -end - -function KSPGetTolerances(arg1::KSP{Float32},arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:KSPGetTolerances,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{Float32},Ptr{Float32},Ptr{Float32},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function KSPSetInitialGuessNonzero(arg1::KSP{Float32},arg2::PetscBool) - err = ccall((:KSPSetInitialGuessNonzero,petscRealSingle),PetscErrorCode,(KSP{Float32},PetscBool),arg1,arg2) - return err -end - -function KSPGetInitialGuessNonzero(arg1::KSP{Float32},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:KSPGetInitialGuessNonzero,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{PetscBool}),arg1,arg2) - return err -end - -function KSPSetInitialGuessKnoll(arg1::KSP{Float32},arg2::PetscBool) - err = ccall((:KSPSetInitialGuessKnoll,petscRealSingle),PetscErrorCode,(KSP{Float32},PetscBool),arg1,arg2) - return err -end - -function KSPGetInitialGuessKnoll(arg1::KSP{Float32},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:KSPGetInitialGuessKnoll,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{PetscBool}),arg1,arg2) - return err -end - -function KSPSetErrorIfNotConverged(arg1::KSP{Float32},arg2::PetscBool) - err = ccall((:KSPSetErrorIfNotConverged,petscRealSingle),PetscErrorCode,(KSP{Float32},PetscBool),arg1,arg2) - return err -end - -function KSPGetErrorIfNotConverged(arg1::KSP{Float32},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:KSPGetErrorIfNotConverged,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{PetscBool}),arg1,arg2) - return err -end - -function KSPSetComputeEigenvalues(arg1::KSP{Float32},arg2::PetscBool) - err = ccall((:KSPSetComputeEigenvalues,petscRealSingle),PetscErrorCode,(KSP{Float32},PetscBool),arg1,arg2) - return err -end - -function KSPGetComputeEigenvalues(arg1::KSP{Float32},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:KSPGetComputeEigenvalues,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{PetscBool}),arg1,arg2) - return err -end - -function KSPSetComputeSingularValues(arg1::KSP{Float32},arg2::PetscBool) - err = ccall((:KSPSetComputeSingularValues,petscRealSingle),PetscErrorCode,(KSP{Float32},PetscBool),arg1,arg2) - return err -end - -function KSPGetComputeSingularValues(arg1::KSP{Float32},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:KSPGetComputeSingularValues,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{PetscBool}),arg1,arg2) - return err -end - -function KSPGetRhs(arg1::KSP{Float32},arg2::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:KSPGetRhs,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{Vec{Float32}}),arg1,arg2) - return err -end - -function KSPGetSolution(arg1::KSP{Float32},arg2::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:KSPGetSolution,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{Vec{Float32}}),arg1,arg2) - return err -end - -function KSPGetResidualNorm(arg1::KSP{Float32},arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:KSPGetResidualNorm,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{Float32}),arg1,arg2) - return err -end - -function KSPGetIterationNumber(arg1::KSP{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:KSPGetIterationNumber,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{Int64}),arg1,arg2) - return err -end - -function KSPGetTotalIterations(arg1::KSP{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:KSPGetTotalIterations,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{Int64}),arg1,arg2) - return err -end - -function KSPCreateVecs(arg1::KSP{Float32},arg2::Integer,arg3::Union{Ptr{Ptr{Vec{Float32}}},StridedArray{Ptr{Vec{Float32}}},Ptr{Ptr{Vec{Float32}}},Ref{Ptr{Vec{Float32}}}},arg4::Integer,arg5::Union{Ptr{Ptr{Vec{Float32}}},StridedArray{Ptr{Vec{Float32}}},Ptr{Ptr{Vec{Float32}}},Ref{Ptr{Vec{Float32}}}}) - err = ccall((:KSPCreateVecs,petscRealSingle),PetscErrorCode,(KSP{Float32},Int64,Ptr{Ptr{Vec{Float32}}},Int64,Ptr{Ptr{Vec{Float32}}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function KSPGetVecs(ksp::KSP{Float32},n::Integer,x::Union{Ptr{Ptr{Vec{Float32}}},StridedArray{Ptr{Vec{Float32}}},Ptr{Ptr{Vec{Float32}}},Ref{Ptr{Vec{Float32}}}},m::Integer,y::Union{Ptr{Ptr{Vec{Float32}}},StridedArray{Ptr{Vec{Float32}}},Ptr{Ptr{Vec{Float32}}},Ref{Ptr{Vec{Float32}}}}) - err = ccall((:KSPGetVecs,petscRealSingle),PetscErrorCode,(KSP{Float32},Int64,Ptr{Ptr{Vec{Float32}}},Int64,Ptr{Ptr{Vec{Float32}}}),ksp,n,x,m,y) - return err -end - -function KSPSetPreSolve(arg1::KSP{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPSetPreSolve,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function KSPSetPostSolve(arg1::KSP{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPSetPostSolve,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function KSPSetPC(arg1::KSP{Float32},arg2::PC{Float32}) - err = ccall((:KSPSetPC,petscRealSingle),PetscErrorCode,(KSP{Float32},PC{Float32}),arg1,arg2) - return err -end - -function KSPGetPC(arg1::KSP{Float32},arg2::Union{Ptr{PC{Float32}},StridedArray{PC{Float32}},Ptr{PC{Float32}},Ref{PC{Float32}}}) - err = ccall((:KSPGetPC,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{PC{Float32}}),arg1,arg2) - return err -end - -function KSPMonitor(arg1::KSP{Float32},arg2::Integer,arg3::Float32) - err = ccall((:KSPMonitor,petscRealSingle),PetscErrorCode,(KSP{Float32},Int64,Float32),arg1,arg2,arg3) - return err -end - -function KSPMonitorSet(arg1::KSP{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPMonitorSet,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPMonitorCancel(arg1::KSP{Float32}) - err = ccall((:KSPMonitorCancel,petscRealSingle),PetscErrorCode,(KSP{Float32},),arg1) - return err -end - -function KSPGetMonitorContext(arg1::KSP{Float32},arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:KSPGetMonitorContext,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{Ptr{Void}}),arg1,arg2) - return err -end - -function KSPGetResidualHistory(arg1::KSP{Float32},arg2::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:KSPGetResidualHistory,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{Ptr{Float32}},Ptr{Int64}),arg1,arg2,arg3) - return err -end - -function KSPSetResidualHistory(arg1::KSP{Float32},arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg3::Integer,arg4::PetscBool) - err = ccall((:KSPSetResidualHistory,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{Float32},Int64,PetscBool),arg1,arg2,arg3,arg4) - return err -end - -function KSPBuildSolutionDefault(arg1::KSP{Float32},arg2::Vec{Float32},arg3::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:KSPBuildSolutionDefault,petscRealSingle),PetscErrorCode,(KSP{Float32},Vec{Float32},Ptr{Vec{Float32}}),arg1,arg2,arg3) - return err -end - -function KSPBuildResidualDefault(arg1::KSP{Float32},arg2::Vec{Float32},arg3::Vec{Float32},arg4::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:KSPBuildResidualDefault,petscRealSingle),PetscErrorCode,(KSP{Float32},Vec{Float32},Vec{Float32},Ptr{Vec{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function KSPDestroyDefault(arg1::KSP{Float32}) - err = ccall((:KSPDestroyDefault,petscRealSingle),PetscErrorCode,(KSP{Float32},),arg1) - return err -end - -function KSPSetWorkVecs(arg1::KSP{Float32},arg2::Integer) - err = ccall((:KSPSetWorkVecs,petscRealSingle),PetscErrorCode,(KSP{Float32},Int64),arg1,arg2) - return err -end - -function PCKSPGetKSP(arg1::PC{Float32},arg2::Union{Ptr{KSP{Float32}},StridedArray{KSP{Float32}},Ptr{KSP{Float32}},Ref{KSP{Float32}}}) - err = ccall((:PCKSPGetKSP,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{KSP{Float32}}),arg1,arg2) - return err -end - -function PCBJacobiGetSubKSP(arg1::PC{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{KSP{Float32}}},StridedArray{Ptr{KSP{Float32}}},Ptr{Ptr{KSP{Float32}}},Ref{Ptr{KSP{Float32}}}}) - err = ccall((:PCBJacobiGetSubKSP,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Int64},Ptr{Int64},Ptr{Ptr{KSP{Float32}}}),arg1,arg2,arg3,arg4) - return err -end - -function PCASMGetSubKSP(arg1::PC{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{KSP{Float32}}},StridedArray{Ptr{KSP{Float32}}},Ptr{Ptr{KSP{Float32}}},Ref{Ptr{KSP{Float32}}}}) - err = ccall((:PCASMGetSubKSP,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Int64},Ptr{Int64},Ptr{Ptr{KSP{Float32}}}),arg1,arg2,arg3,arg4) - return err -end - -function PCGASMGetSubKSP(arg1::PC{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Ptr{KSP{Float32}}},StridedArray{Ptr{KSP{Float32}}},Ptr{Ptr{KSP{Float32}}},Ref{Ptr{KSP{Float32}}}}) - err = ccall((:PCGASMGetSubKSP,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Int64},Ptr{Int64},Ptr{Ptr{KSP{Float32}}}),arg1,arg2,arg3,arg4) - return err -end - -function PCFieldSplitGetSubKSP(arg1::PC{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{KSP{Float32}}},StridedArray{Ptr{KSP{Float32}}},Ptr{Ptr{KSP{Float32}}},Ref{Ptr{KSP{Float32}}}}) - err = ccall((:PCFieldSplitGetSubKSP,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Int64},Ptr{Ptr{KSP{Float32}}}),arg1,arg2,arg3) - return err -end - -function PCMGGetSmoother(arg1::PC{Float32},arg2::Integer,arg3::Union{Ptr{KSP{Float32}},StridedArray{KSP{Float32}},Ptr{KSP{Float32}},Ref{KSP{Float32}}}) - err = ccall((:PCMGGetSmoother,petscRealSingle),PetscErrorCode,(PC{Float32},Int64,Ptr{KSP{Float32}}),arg1,arg2,arg3) - return err -end - -function PCMGGetSmootherDown(arg1::PC{Float32},arg2::Integer,arg3::Union{Ptr{KSP{Float32}},StridedArray{KSP{Float32}},Ptr{KSP{Float32}},Ref{KSP{Float32}}}) - err = ccall((:PCMGGetSmootherDown,petscRealSingle),PetscErrorCode,(PC{Float32},Int64,Ptr{KSP{Float32}}),arg1,arg2,arg3) - return err -end - -function PCMGGetSmootherUp(arg1::PC{Float32},arg2::Integer,arg3::Union{Ptr{KSP{Float32}},StridedArray{KSP{Float32}},Ptr{KSP{Float32}},Ref{KSP{Float32}}}) - err = ccall((:PCMGGetSmootherUp,petscRealSingle),PetscErrorCode,(PC{Float32},Int64,Ptr{KSP{Float32}}),arg1,arg2,arg3) - return err -end - -function PCMGGetCoarseSolve(arg1::PC{Float32},arg2::Union{Ptr{KSP{Float32}},StridedArray{KSP{Float32}},Ptr{KSP{Float32}},Ref{KSP{Float32}}}) - err = ccall((:PCMGGetCoarseSolve,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{KSP{Float32}}),arg1,arg2) - return err -end - -function PCGalerkinGetKSP(arg1::PC{Float32},arg2::Union{Ptr{KSP{Float32}},StridedArray{KSP{Float32}},Ptr{KSP{Float32}},Ref{KSP{Float32}}}) - err = ccall((:PCGalerkinGetKSP,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{KSP{Float32}}),arg1,arg2) - return err -end - -function KSPBuildSolution(arg1::KSP{Float32},arg2::Vec{Float32},arg3::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:KSPBuildSolution,petscRealSingle),PetscErrorCode,(KSP{Float32},Vec{Float32},Ptr{Vec{Float32}}),arg1,arg2,arg3) - return err -end - -function KSPBuildResidual(arg1::KSP{Float32},arg2::Vec{Float32},arg3::Vec{Float32},arg4::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:KSPBuildResidual,petscRealSingle),PetscErrorCode,(KSP{Float32},Vec{Float32},Vec{Float32},Ptr{Vec{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function KSPRichardsonSetScale(arg1::KSP{Float32},arg2::Float32) - err = ccall((:KSPRichardsonSetScale,petscRealSingle),PetscErrorCode,(KSP{Float32},Float32),arg1,arg2) - return err -end - -function KSPRichardsonSetSelfScale(arg1::KSP{Float32},arg2::PetscBool) - err = ccall((:KSPRichardsonSetSelfScale,petscRealSingle),PetscErrorCode,(KSP{Float32},PetscBool),arg1,arg2) - return err -end - -function KSPChebyshevSetEigenvalues(arg1::KSP{Float32},arg2::Float32,arg3::Float32) - err = ccall((:KSPChebyshevSetEigenvalues,petscRealSingle),PetscErrorCode,(KSP{Float32},Float32,Float32),arg1,arg2,arg3) - return err -end - -function KSPChebyshevEstEigSet(arg1::KSP{Float32},arg2::Float32,arg3::Float32,arg4::Float32,arg5::Float32) - err = ccall((:KSPChebyshevEstEigSet,petscRealSingle),PetscErrorCode,(KSP{Float32},Float32,Float32,Float32,Float32),arg1,arg2,arg3,arg4,arg5) - return err -end - -function KSPChebyshevEstEigSetRandom(arg1::KSP{Float32},arg2::PetscRandom) - err = ccall((:KSPChebyshevEstEigSetRandom,petscRealSingle),PetscErrorCode,(KSP{Float32},PetscRandom),arg1,arg2) - return err -end - -function KSPChebyshevEstEigGetKSP(arg1::KSP{Float32},arg2::Union{Ptr{KSP{Float32}},StridedArray{KSP{Float32}},Ptr{KSP{Float32}},Ref{KSP{Float32}}}) - err = ccall((:KSPChebyshevEstEigGetKSP,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{KSP{Float32}}),arg1,arg2) - return err -end - -function KSPComputeExtremeSingularValues(arg1::KSP{Float32},arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:KSPComputeExtremeSingularValues,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3) - return err -end - -function KSPComputeEigenvalues(arg1::KSP{Float32},arg2::Integer,arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:KSPComputeEigenvalues,petscRealSingle),PetscErrorCode,(KSP{Float32},Int64,Ptr{Float32},Ptr{Float32},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function KSPComputeEigenvaluesExplicitly(arg1::KSP{Float32},arg2::Integer,arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:KSPComputeEigenvaluesExplicitly,petscRealSingle),PetscErrorCode,(KSP{Float32},Int64,Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function KSPFCGSetMmax(arg1::KSP{Float32},arg2::Integer) - err = ccall((:KSPFCGSetMmax,petscRealSingle),PetscErrorCode,(KSP{Float32},Int64),arg1,arg2) - return err -end - -function KSPFCGGetMmax(arg1::KSP{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:KSPFCGGetMmax,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{Int64}),arg1,arg2) - return err -end - -function KSPFCGSetNprealloc(arg1::KSP{Float32},arg2::Integer) - err = ccall((:KSPFCGSetNprealloc,petscRealSingle),PetscErrorCode,(KSP{Float32},Int64),arg1,arg2) - return err -end - -function KSPFCGGetNprealloc(arg1::KSP{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:KSPFCGGetNprealloc,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{Int64}),arg1,arg2) - return err -end - -function KSPFCGSetTruncationType(arg1::KSP{Float32},arg2::KSPFCGTruncationType) - err = ccall((:KSPFCGSetTruncationType,petscRealSingle),PetscErrorCode,(KSP{Float32},KSPFCGTruncationType),arg1,arg2) - return err -end - -function KSPFCGGetTruncationType(arg1::KSP{Float32},arg2::Union{Ptr{KSPFCGTruncationType},StridedArray{KSPFCGTruncationType},Ptr{KSPFCGTruncationType},Ref{KSPFCGTruncationType}}) - err = ccall((:KSPFCGGetTruncationType,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{KSPFCGTruncationType}),arg1,arg2) - return err -end - -function KSPGMRESSetRestart(arg1::KSP{Float32},arg2::Integer) - err = ccall((:KSPGMRESSetRestart,petscRealSingle),PetscErrorCode,(KSP{Float32},Int64),arg1,arg2) - return err -end - -function KSPGMRESGetRestart(arg1::KSP{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:KSPGMRESGetRestart,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{Int64}),arg1,arg2) - return err -end - -function KSPGMRESSetHapTol(arg1::KSP{Float32},arg2::Float32) - err = ccall((:KSPGMRESSetHapTol,petscRealSingle),PetscErrorCode,(KSP{Float32},Float32),arg1,arg2) - return err -end - -function KSPGMRESSetPreAllocateVectors(arg1::KSP{Float32}) - err = ccall((:KSPGMRESSetPreAllocateVectors,petscRealSingle),PetscErrorCode,(KSP{Float32},),arg1) - return err -end - -function KSPGMRESSetOrthogonalization(arg1::KSP{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPGMRESSetOrthogonalization,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{Void}),arg1,arg2) - return err -end - -function KSPGMRESGetOrthogonalization(arg1::KSP{Float32},arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:KSPGMRESGetOrthogonalization,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{Ptr{Void}}),arg1,arg2) - return err -end - -function KSPGMRESModifiedGramSchmidtOrthogonalization(arg1::KSP{Float32},arg2::Integer) - err = ccall((:KSPGMRESModifiedGramSchmidtOrthogonalization,petscRealSingle),PetscErrorCode,(KSP{Float32},Int64),arg1,arg2) - return err -end - -function KSPGMRESClassicalGramSchmidtOrthogonalization(arg1::KSP{Float32},arg2::Integer) - err = ccall((:KSPGMRESClassicalGramSchmidtOrthogonalization,petscRealSingle),PetscErrorCode,(KSP{Float32},Int64),arg1,arg2) - return err -end - -function KSPLGMRESSetAugDim(arg1::KSP{Float32},arg2::Integer) - err = ccall((:KSPLGMRESSetAugDim,petscRealSingle),PetscErrorCode,(KSP{Float32},Int64),arg1,arg2) - return err -end - -function KSPLGMRESSetConstant(arg1::KSP{Float32}) - err = ccall((:KSPLGMRESSetConstant,petscRealSingle),PetscErrorCode,(KSP{Float32},),arg1) - return err -end - -function KSPGCRSetRestart(arg1::KSP{Float32},arg2::Integer) - err = ccall((:KSPGCRSetRestart,petscRealSingle),PetscErrorCode,(KSP{Float32},Int64),arg1,arg2) - return err -end - -function KSPGCRGetRestart(arg1::KSP{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:KSPGCRGetRestart,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{Int64}),arg1,arg2) - return err -end - -function KSPGCRSetModifyPC(arg1::KSP{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPGCRSetModifyPC,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPGMRESSetCGSRefinementType(arg1::KSP{Float32},arg2::KSPGMRESCGSRefinementType) - err = ccall((:KSPGMRESSetCGSRefinementType,petscRealSingle),PetscErrorCode,(KSP{Float32},KSPGMRESCGSRefinementType),arg1,arg2) - return err -end - -function KSPGMRESGetCGSRefinementType(arg1::KSP{Float32},arg2::Union{Ptr{KSPGMRESCGSRefinementType},StridedArray{KSPGMRESCGSRefinementType},Ptr{KSPGMRESCGSRefinementType},Ref{KSPGMRESCGSRefinementType}}) - err = ccall((:KSPGMRESGetCGSRefinementType,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{KSPGMRESCGSRefinementType}),arg1,arg2) - return err -end - -function KSPFGMRESModifyPCNoChange(arg1::KSP{Float32},arg2::Integer,arg3::Integer,arg4::Float32,arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPFGMRESModifyPCNoChange,petscRealSingle),PetscErrorCode,(KSP{Float32},Int64,Int64,Float32,Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function KSPFGMRESModifyPCKSP(arg1::KSP{Float32},arg2::Integer,arg3::Integer,arg4::Float32,arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPFGMRESModifyPCKSP,petscRealSingle),PetscErrorCode,(KSP{Float32},Int64,Int64,Float32,Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function KSPFGMRESSetModifyPC(arg1::KSP{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPFGMRESSetModifyPC,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPQCGSetTrustRegionRadius(arg1::KSP{Float32},arg2::Float32) - err = ccall((:KSPQCGSetTrustRegionRadius,petscRealSingle),PetscErrorCode,(KSP{Float32},Float32),arg1,arg2) - return err -end - -function KSPQCGGetQuadratic(arg1::KSP{Float32},arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:KSPQCGGetQuadratic,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{Float32}),arg1,arg2) - return err -end - -function KSPQCGGetTrialStepNorm(arg1::KSP{Float32},arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:KSPQCGGetTrialStepNorm,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{Float32}),arg1,arg2) - return err -end - -function KSPBCGSLSetXRes(arg1::KSP{Float32},arg2::Float32) - err = ccall((:KSPBCGSLSetXRes,petscRealSingle),PetscErrorCode,(KSP{Float32},Float32),arg1,arg2) - return err -end - -function KSPBCGSLSetPol(arg1::KSP{Float32},arg2::PetscBool) - err = ccall((:KSPBCGSLSetPol,petscRealSingle),PetscErrorCode,(KSP{Float32},PetscBool),arg1,arg2) - return err -end - -function KSPBCGSLSetEll(arg1::KSP{Float32},arg2::Integer) - err = ccall((:KSPBCGSLSetEll,petscRealSingle),PetscErrorCode,(KSP{Float32},Int64),arg1,arg2) - return err -end - -function KSPBCGSLSetUsePseudoinverse(arg1::KSP{Float32},arg2::PetscBool) - err = ccall((:KSPBCGSLSetUsePseudoinverse,petscRealSingle),PetscErrorCode,(KSP{Float32},PetscBool),arg1,arg2) - return err -end - -function KSPSetFromOptions(arg1::KSP{Float32}) - err = ccall((:KSPSetFromOptions,petscRealSingle),PetscErrorCode,(KSP{Float32},),arg1) - return err -end - -function KSPAddOptionsChecker(arg0::Type{Float32},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPAddOptionsChecker,petscRealSingle),PetscErrorCode,(Ptr{Void},),arg1) - return err -end - -function KSPMonitorSingularValue(arg1::KSP{Float32},arg2::Integer,arg3::Float32,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPMonitorSingularValue,petscRealSingle),PetscErrorCode,(KSP{Float32},Int64,Float32,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPMonitorDefault(arg1::KSP{Float32},arg2::Integer,arg3::Float32,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPMonitorDefault,petscRealSingle),PetscErrorCode,(KSP{Float32},Int64,Float32,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPLSQRMonitorDefault(arg1::KSP{Float32},arg2::Integer,arg3::Float32,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPLSQRMonitorDefault,petscRealSingle),PetscErrorCode,(KSP{Float32},Int64,Float32,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPMonitorRange(arg1::KSP{Float32},arg2::Integer,arg3::Float32,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPMonitorRange,petscRealSingle),PetscErrorCode,(KSP{Float32},Int64,Float32,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPMonitorDynamicTolerance(ksp::KSP{Float32},its::Integer,fnorm::Float32,dummy::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPMonitorDynamicTolerance,petscRealSingle),PetscErrorCode,(KSP{Float32},Int64,Float32,Ptr{Void}),ksp,its,fnorm,dummy) - return err -end - -function KSPMonitorDynamicToleranceDestroy(arg0::Type{Float32},dummy::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:KSPMonitorDynamicToleranceDestroy,petscRealSingle),PetscErrorCode,(Ptr{Ptr{Void}},),dummy) - return err -end - -function KSPMonitorTrueResidualNorm(arg1::KSP{Float32},arg2::Integer,arg3::Float32,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPMonitorTrueResidualNorm,petscRealSingle),PetscErrorCode,(KSP{Float32},Int64,Float32,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPMonitorTrueResidualMaxNorm(arg1::KSP{Float32},arg2::Integer,arg3::Float32,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPMonitorTrueResidualMaxNorm,petscRealSingle),PetscErrorCode,(KSP{Float32},Int64,Float32,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPMonitorDefaultShort(arg1::KSP{Float32},arg2::Integer,arg3::Float32,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPMonitorDefaultShort,petscRealSingle),PetscErrorCode,(KSP{Float32},Int64,Float32,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPMonitorSolution(arg1::KSP{Float32},arg2::Integer,arg3::Float32,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPMonitorSolution,petscRealSingle),PetscErrorCode,(KSP{Float32},Int64,Float32,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPMonitorSAWs(arg1::KSP{Float32},arg2::Integer,arg3::Float32,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPMonitorSAWs,petscRealSingle),PetscErrorCode,(KSP{Float32},Int64,Float32,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPMonitorSAWsCreate(arg1::KSP{Float32},arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:KSPMonitorSAWsCreate,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{Ptr{Void}}),arg1,arg2) - return err -end - -function KSPMonitorSAWsDestroy(arg0::Type{Float32},arg1::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:KSPMonitorSAWsDestroy,petscRealSingle),PetscErrorCode,(Ptr{Ptr{Void}},),arg1) - return err -end - -function KSPGMRESMonitorKrylov(arg1::KSP{Float32},arg2::Integer,arg3::Float32,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPGMRESMonitorKrylov,petscRealSingle),PetscErrorCode,(KSP{Float32},Int64,Float32,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPUnwindPreconditioner(arg1::KSP{Float32},arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:KSPUnwindPreconditioner,petscRealSingle),PetscErrorCode,(KSP{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function KSPInitialResidual(arg1::KSP{Float32},arg2::Vec{Float32},arg3::Vec{Float32},arg4::Vec{Float32},arg5::Vec{Float32},arg6::Vec{Float32}) - err = ccall((:KSPInitialResidual,petscRealSingle),PetscErrorCode,(KSP{Float32},Vec{Float32},Vec{Float32},Vec{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function KSPSetOperators(arg1::KSP{Float32},arg2::Mat{Float32},arg3::Mat{Float32}) - err = ccall((:KSPSetOperators,petscRealSingle),PetscErrorCode,(KSP{Float32},Mat{Float32},Mat{Float32}),arg1,arg2,arg3) - return err -end - -function KSPGetOperators(arg1::KSP{Float32},arg2::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}},arg3::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:KSPGetOperators,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{Mat{Float32}},Ptr{Mat{Float32}}),arg1,arg2,arg3) - return err -end - -function KSPGetOperatorsSet(arg1::KSP{Float32},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:KSPGetOperatorsSet,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{PetscBool},Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function KSPSetOptionsPrefix(arg1::KSP{Float32},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:KSPSetOptionsPrefix,petscRealSingle),PetscErrorCode,(KSP{Float32},Cstring),arg1,arg2) - return err -end - -function KSPAppendOptionsPrefix(arg1::KSP{Float32},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:KSPAppendOptionsPrefix,petscRealSingle),PetscErrorCode,(KSP{Float32},Cstring),arg1,arg2) - return err -end - -function KSPGetOptionsPrefix(arg1::KSP{Float32},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:KSPGetOptionsPrefix,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function KSPSetTabLevel(arg1::KSP{Float32},arg2::Integer) - err = ccall((:KSPSetTabLevel,petscRealSingle),PetscErrorCode,(KSP{Float32},Int64),arg1,arg2) - return err -end - -function KSPGetTabLevel(arg1::KSP{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:KSPGetTabLevel,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{Int64}),arg1,arg2) - return err -end - -function KSPSetDiagonalScale(arg1::KSP{Float32},arg2::PetscBool) - err = ccall((:KSPSetDiagonalScale,petscRealSingle),PetscErrorCode,(KSP{Float32},PetscBool),arg1,arg2) - return err -end - -function KSPGetDiagonalScale(arg1::KSP{Float32},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:KSPGetDiagonalScale,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{PetscBool}),arg1,arg2) - return err -end - -function KSPSetDiagonalScaleFix(arg1::KSP{Float32},arg2::PetscBool) - err = ccall((:KSPSetDiagonalScaleFix,petscRealSingle),PetscErrorCode,(KSP{Float32},PetscBool),arg1,arg2) - return err -end - -function KSPGetDiagonalScaleFix(arg1::KSP{Float32},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:KSPGetDiagonalScaleFix,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{PetscBool}),arg1,arg2) - return err -end - -function KSPView(arg1::KSP{Float32},arg2::PetscViewer{Float32}) - err = ccall((:KSPView,petscRealSingle),PetscErrorCode,(KSP{Float32},PetscViewer{Float32}),arg1,arg2) - return err -end - -function KSPLoad(arg1::KSP{Float32},arg2::PetscViewer{Float32}) - err = ccall((:KSPLoad,petscRealSingle),PetscErrorCode,(KSP{Float32},PetscViewer{Float32}),arg1,arg2) - return err -end - -function KSPViewFromOptions(A::KSP{Float32},obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:KSPViewFromOptions,petscRealSingle),PetscErrorCode,(KSP{Float32},PetscObject,Cstring),A,obj,name) - return err -end - -function KSPReasonView(arg1::KSP{Float32},arg2::PetscViewer{Float32}) - err = ccall((:KSPReasonView,petscRealSingle),PetscErrorCode,(KSP{Float32},PetscViewer{Float32}),arg1,arg2) - return err -end - -function KSPReasonViewFromOptions(arg1::KSP{Float32}) - err = ccall((:KSPReasonViewFromOptions,petscRealSingle),PetscErrorCode,(KSP{Float32},),arg1) - return err -end - -function KSPLSQRSetStandardErrorVec(arg1::KSP{Float32},arg2::Vec{Float32}) - err = ccall((:KSPLSQRSetStandardErrorVec,petscRealSingle),PetscErrorCode,(KSP{Float32},Vec{Float32}),arg1,arg2) - return err -end - -function KSPLSQRGetStandardErrorVec(arg1::KSP{Float32},arg2::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:KSPLSQRGetStandardErrorVec,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{Vec{Float32}}),arg1,arg2) - return err -end - -function PCRedundantGetKSP(arg1::PC{Float32},arg2::Union{Ptr{KSP{Float32}},StridedArray{KSP{Float32}},Ptr{KSP{Float32}},Ref{KSP{Float32}}}) - err = ccall((:PCRedundantGetKSP,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{KSP{Float32}}),arg1,arg2) - return err -end - -function PCRedistributeGetKSP(arg1::PC{Float32},arg2::Union{Ptr{KSP{Float32}},StridedArray{KSP{Float32}},Ptr{KSP{Float32}},Ref{KSP{Float32}}}) - err = ccall((:PCRedistributeGetKSP,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{KSP{Float32}}),arg1,arg2) - return err -end - -function KSPSetNormType(arg1::KSP{Float32},arg2::KSPNormType) - err = ccall((:KSPSetNormType,petscRealSingle),PetscErrorCode,(KSP{Float32},KSPNormType),arg1,arg2) - return err -end - -function KSPGetNormType(arg1::KSP{Float32},arg2::Union{Ptr{KSPNormType},StridedArray{KSPNormType},Ptr{KSPNormType},Ref{KSPNormType}}) - err = ccall((:KSPGetNormType,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{KSPNormType}),arg1,arg2) - return err -end - -function KSPSetSupportedNorm(ksp::KSP{Float32},arg1::KSPNormType,arg2::PCSide,arg3::Integer) - err = ccall((:KSPSetSupportedNorm,petscRealSingle),PetscErrorCode,(KSP{Float32},KSPNormType,PCSide,Int64),ksp,arg1,arg2,arg3) - return err -end - -function KSPSetCheckNormIteration(arg1::KSP{Float32},arg2::Integer) - err = ccall((:KSPSetCheckNormIteration,petscRealSingle),PetscErrorCode,(KSP{Float32},Int64),arg1,arg2) - return err -end - -function KSPSetLagNorm(arg1::KSP{Float32},arg2::PetscBool) - err = ccall((:KSPSetLagNorm,petscRealSingle),PetscErrorCode,(KSP{Float32},PetscBool),arg1,arg2) - return err -end - -function KSPSetConvergenceTest(arg1::KSP{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPSetConvergenceTest,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPGetConvergenceContext(arg1::KSP{Float32},arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:KSPGetConvergenceContext,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{Ptr{Void}}),arg1,arg2) - return err -end - -function KSPConvergedDefault(arg1::KSP{Float32},arg2::Integer,arg3::Float32,arg4::Union{Ptr{KSPConvergedReason},StridedArray{KSPConvergedReason},Ptr{KSPConvergedReason},Ref{KSPConvergedReason}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPConvergedDefault,petscRealSingle),PetscErrorCode,(KSP{Float32},Int64,Float32,Ptr{KSPConvergedReason},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function KSPConvergedLSQR(arg1::KSP{Float32},arg2::Integer,arg3::Float32,arg4::Union{Ptr{KSPConvergedReason},StridedArray{KSPConvergedReason},Ptr{KSPConvergedReason},Ref{KSPConvergedReason}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPConvergedLSQR,petscRealSingle),PetscErrorCode,(KSP{Float32},Int64,Float32,Ptr{KSPConvergedReason},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function KSPConvergedDefaultDestroy(arg0::Type{Float32},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPConvergedDefaultDestroy,petscRealSingle),PetscErrorCode,(Ptr{Void},),arg1) - return err -end - -function KSPConvergedDefaultCreate(arg0::Type{Float32},arg1::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:KSPConvergedDefaultCreate,petscRealSingle),PetscErrorCode,(Ptr{Ptr{Void}},),arg1) - return err -end - -function KSPConvergedDefaultSetUIRNorm(arg1::KSP{Float32}) - err = ccall((:KSPConvergedDefaultSetUIRNorm,petscRealSingle),PetscErrorCode,(KSP{Float32},),arg1) - return err -end - -function KSPConvergedDefaultSetUMIRNorm(arg1::KSP{Float32}) - err = ccall((:KSPConvergedDefaultSetUMIRNorm,petscRealSingle),PetscErrorCode,(KSP{Float32},),arg1) - return err -end - -function KSPConvergedSkip(arg1::KSP{Float32},arg2::Integer,arg3::Float32,arg4::Union{Ptr{KSPConvergedReason},StridedArray{KSPConvergedReason},Ptr{KSPConvergedReason},Ref{KSPConvergedReason}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPConvergedSkip,petscRealSingle),PetscErrorCode,(KSP{Float32},Int64,Float32,Ptr{KSPConvergedReason},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function KSPGetConvergedReason(arg1::KSP{Float32},arg2::Union{Ptr{KSPConvergedReason},StridedArray{KSPConvergedReason},Ptr{KSPConvergedReason},Ref{KSPConvergedReason}}) - err = ccall((:KSPGetConvergedReason,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{KSPConvergedReason}),arg1,arg2) - return err -end - -function KSPDefaultConverged(arg0::Type{Float32}) - err = ccall((:KSPDefaultConverged,petscRealSingle),Void,()) - return err -end - -function KSPDefaultConvergedDestroy(arg0::Type{Float32}) - err = ccall((:KSPDefaultConvergedDestroy,petscRealSingle),Void,()) - return err -end - -function KSPDefaultConvergedCreate(arg0::Type{Float32}) - err = ccall((:KSPDefaultConvergedCreate,petscRealSingle),Void,()) - return err -end - -function KSPDefaultConvergedSetUIRNorm(arg0::Type{Float32}) - err = ccall((:KSPDefaultConvergedSetUIRNorm,petscRealSingle),Void,()) - return err -end - -function KSPDefaultConvergedSetUMIRNorm(arg0::Type{Float32}) - err = ccall((:KSPDefaultConvergedSetUMIRNorm,petscRealSingle),Void,()) - return err -end - -function KSPSkipConverged(arg0::Type{Float32}) - err = ccall((:KSPSkipConverged,petscRealSingle),Void,()) - return err -end - -function KSPComputeExplicitOperator(arg1::KSP{Float32},arg2::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:KSPComputeExplicitOperator,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{Mat{Float32}}),arg1,arg2) - return err -end - -function KSPCGSetType(arg1::KSP{Float32},arg2::KSPCGType) - err = ccall((:KSPCGSetType,petscRealSingle),PetscErrorCode,(KSP{Float32},KSPCGType),arg1,arg2) - return err -end - -function KSPCGUseSingleReduction(arg1::KSP{Float32},arg2::PetscBool) - err = ccall((:KSPCGUseSingleReduction,petscRealSingle),PetscErrorCode,(KSP{Float32},PetscBool),arg1,arg2) - return err -end - -function KSPNASHSetRadius(arg1::KSP{Float32},arg2::Float32) - err = ccall((:KSPNASHSetRadius,petscRealSingle),PetscErrorCode,(KSP{Float32},Float32),arg1,arg2) - return err -end - -function KSPNASHGetNormD(arg1::KSP{Float32},arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:KSPNASHGetNormD,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{Float32}),arg1,arg2) - return err -end - -function KSPNASHGetObjFcn(arg1::KSP{Float32},arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:KSPNASHGetObjFcn,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{Float32}),arg1,arg2) - return err -end - -function KSPSTCGSetRadius(arg1::KSP{Float32},arg2::Float32) - err = ccall((:KSPSTCGSetRadius,petscRealSingle),PetscErrorCode,(KSP{Float32},Float32),arg1,arg2) - return err -end - -function KSPSTCGGetNormD(arg1::KSP{Float32},arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:KSPSTCGGetNormD,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{Float32}),arg1,arg2) - return err -end - -function KSPSTCGGetObjFcn(arg1::KSP{Float32},arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:KSPSTCGGetObjFcn,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{Float32}),arg1,arg2) - return err -end - -function KSPGLTRSetRadius(arg1::KSP{Float32},arg2::Float32) - err = ccall((:KSPGLTRSetRadius,petscRealSingle),PetscErrorCode,(KSP{Float32},Float32),arg1,arg2) - return err -end - -function KSPGLTRGetNormD(arg1::KSP{Float32},arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:KSPGLTRGetNormD,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{Float32}),arg1,arg2) - return err -end - -function KSPGLTRGetObjFcn(arg1::KSP{Float32},arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:KSPGLTRGetObjFcn,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{Float32}),arg1,arg2) - return err -end - -function KSPGLTRGetMinEig(arg1::KSP{Float32},arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:KSPGLTRGetMinEig,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{Float32}),arg1,arg2) - return err -end - -function KSPGLTRGetLambda(arg1::KSP{Float32},arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:KSPGLTRGetLambda,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{Float32}),arg1,arg2) - return err -end - -function KSPPythonSetType(arg1::KSP{Float32},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:KSPPythonSetType,petscRealSingle),PetscErrorCode,(KSP{Float32},Cstring),arg1,arg2) - return err -end - -function PCPreSolve(arg1::PC{Float32},arg2::KSP{Float32}) - err = ccall((:PCPreSolve,petscRealSingle),PetscErrorCode,(PC{Float32},KSP{Float32}),arg1,arg2) - return err -end - -function PCPostSolve(arg1::PC{Float32},arg2::KSP{Float32}) - err = ccall((:PCPostSolve,petscRealSingle),PetscErrorCode,(PC{Float32},KSP{Float32}),arg1,arg2) - return err -end - -function KSPMonitorLGResidualNormCreate(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Union{Ptr{Ptr{PetscObject}},StridedArray{Ptr{PetscObject}},Ptr{Ptr{PetscObject}},Ref{Ptr{PetscObject}}}) - err = ccall((:KSPMonitorLGResidualNormCreate,petscRealSingle),PetscErrorCode,(Cstring,Cstring,Cint,Cint,Cint,Cint,Ptr{Ptr{PetscObject}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function KSPMonitorLGResidualNorm(arg1::KSP{Float32},arg2::Integer,arg3::Float32,arg4::Union{Ptr{PetscObject},StridedArray{PetscObject},Ptr{PetscObject},Ref{PetscObject}}) - err = ccall((:KSPMonitorLGResidualNorm,petscRealSingle),PetscErrorCode,(KSP{Float32},Int64,Float32,Ptr{PetscObject}),arg1,arg2,arg3,arg4) - return err -end - -function KSPMonitorLGResidualNormDestroy(arg0::Type{Float32},arg1::Union{Ptr{Ptr{PetscObject}},StridedArray{Ptr{PetscObject}},Ptr{Ptr{PetscObject}},Ref{Ptr{PetscObject}}}) - err = ccall((:KSPMonitorLGResidualNormDestroy,petscRealSingle),PetscErrorCode,(Ptr{Ptr{PetscObject}},),arg1) - return err -end - -function KSPMonitorLGTrueResidualNormCreate(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Union{Ptr{Ptr{PetscObject}},StridedArray{Ptr{PetscObject}},Ptr{Ptr{PetscObject}},Ref{Ptr{PetscObject}}}) - err = ccall((:KSPMonitorLGTrueResidualNormCreate,petscRealSingle),PetscErrorCode,(Cstring,Cstring,Cint,Cint,Cint,Cint,Ptr{Ptr{PetscObject}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function KSPMonitorLGTrueResidualNorm(arg1::KSP{Float32},arg2::Integer,arg3::Float32,arg4::Union{Ptr{PetscObject},StridedArray{PetscObject},Ptr{PetscObject},Ref{PetscObject}}) - err = ccall((:KSPMonitorLGTrueResidualNorm,petscRealSingle),PetscErrorCode,(KSP{Float32},Int64,Float32,Ptr{PetscObject}),arg1,arg2,arg3,arg4) - return err -end - -function KSPMonitorLGTrueResidualNormDestroy(arg0::Type{Float32},arg1::Union{Ptr{Ptr{PetscObject}},StridedArray{Ptr{PetscObject}},Ptr{Ptr{PetscObject}},Ref{Ptr{PetscObject}}}) - err = ccall((:KSPMonitorLGTrueResidualNormDestroy,petscRealSingle),PetscErrorCode,(Ptr{Ptr{PetscObject}},),arg1) - return err -end - -function KSPMonitorLGRange(arg1::KSP{Float32},arg2::Integer,arg3::Float32,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPMonitorLGRange,petscRealSingle),PetscErrorCode,(KSP{Float32},Int64,Float32,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function PCShellSetPreSolve(arg1::PC{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCShellSetPreSolve,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Void}),arg1,arg2) - return err -end - -function PCShellSetPostSolve(arg1::PC{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:PCShellSetPostSolve,petscRealSingle),PetscErrorCode,(PC{Float32},Ptr{Void}),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function KSPFischerGuessCreate(arg1::KSP{Float32},arg2::Integer,arg3::Integer,arg4::Union{Ptr{KSPFischerGuess},StridedArray{KSPFischerGuess},Ptr{KSPFischerGuess},Ref{KSPFischerGuess}}) - ccall((:KSPFischerGuessCreate,petscRealSingle),PetscErrorCode,(KSP{Float32},Int64,Int64,Ptr{KSPFischerGuess}),arg1,arg2,arg3,arg4) -end -=# -#= skipping function with undefined symbols: - function KSPFischerGuessDestroy(arg0::Type{Float32},arg1::Union{Ptr{KSPFischerGuess},StridedArray{KSPFischerGuess},Ptr{KSPFischerGuess},Ref{KSPFischerGuess}}) - ccall((:KSPFischerGuessDestroy,petscRealSingle),PetscErrorCode,(Ptr{KSPFischerGuess},),arg1) -end -=# -#= skipping function with undefined symbols: - function KSPFischerGuessReset(arg0::Type{Float32},arg1::KSPFischerGuess) - ccall((:KSPFischerGuessReset,petscRealSingle),PetscErrorCode,(KSPFischerGuess,),arg1) -end -=# -#= skipping function with undefined symbols: - function KSPFischerGuessUpdate(arg1::KSPFischerGuess,arg2::Vec{Float32}) - ccall((:KSPFischerGuessUpdate,petscRealSingle),PetscErrorCode,(KSPFischerGuess,Vec{Float32}),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function KSPFischerGuessFormGuess(arg1::KSPFischerGuess,arg2::Vec{Float32},arg3::Vec{Float32}) - ccall((:KSPFischerGuessFormGuess,petscRealSingle),PetscErrorCode,(KSPFischerGuess,Vec{Float32},Vec{Float32}),arg1,arg2,arg3) -end -=# -#= skipping function with undefined symbols: - function KSPFischerGuessSetFromOptions(arg0::Type{Float32},arg1::KSPFischerGuess) - ccall((:KSPFischerGuessSetFromOptions,petscRealSingle),PetscErrorCode,(KSPFischerGuess,),arg1) -end -=# -function KSPSetUseFischerGuess(arg1::KSP{Float32},arg2::Integer,arg3::Integer) - err = ccall((:KSPSetUseFischerGuess,petscRealSingle),PetscErrorCode,(KSP{Float32},Int64,Int64),arg1,arg2,arg3) - return err -end - -#= skipping function with undefined symbols: - function KSPSetFischerGuess(arg1::KSP{Float32},arg2::KSPFischerGuess) - ccall((:KSPSetFischerGuess,petscRealSingle),PetscErrorCode,(KSP{Float32},KSPFischerGuess),arg1,arg2) -end -=# -#= skipping function with undefined symbols: - function KSPGetFischerGuess(arg1::KSP{Float32},arg2::Union{Ptr{KSPFischerGuess},StridedArray{KSPFischerGuess},Ptr{KSPFischerGuess},Ref{KSPFischerGuess}}) - ccall((:KSPGetFischerGuess,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{KSPFischerGuess}),arg1,arg2) -end -=# -function MatCreateSchurComplement(arg1::Mat{Float32},arg2::Mat{Float32},arg3::Mat{Float32},arg4::Mat{Float32},arg5::Mat{Float32},arg6::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateSchurComplement,petscRealSingle),PetscErrorCode,(Mat{Float32},Mat{Float32},Mat{Float32},Mat{Float32},Mat{Float32},Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatSchurComplementGetKSP(arg1::Mat{Float32},arg2::Union{Ptr{KSP{Float32}},StridedArray{KSP{Float32}},Ptr{KSP{Float32}},Ref{KSP{Float32}}}) - err = ccall((:MatSchurComplementGetKSP,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{KSP{Float32}}),arg1,arg2) - return err -end - -function MatSchurComplementSetKSP(arg1::Mat{Float32},arg2::KSP{Float32}) - err = ccall((:MatSchurComplementSetKSP,petscRealSingle),PetscErrorCode,(Mat{Float32},KSP{Float32}),arg1,arg2) - return err -end - -function MatSchurComplementSetSubMatrices(arg1::Mat{Float32},arg2::Mat{Float32},arg3::Mat{Float32},arg4::Mat{Float32},arg5::Mat{Float32},arg6::Mat{Float32}) - err = ccall((:MatSchurComplementSetSubMatrices,petscRealSingle),PetscErrorCode,(Mat{Float32},Mat{Float32},Mat{Float32},Mat{Float32},Mat{Float32},Mat{Float32}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatSchurComplementUpdateSubMatrices(arg1::Mat{Float32},arg2::Mat{Float32},arg3::Mat{Float32},arg4::Mat{Float32},arg5::Mat{Float32},arg6::Mat{Float32}) - err = ccall((:MatSchurComplementUpdateSubMatrices,petscRealSingle),PetscErrorCode,(Mat{Float32},Mat{Float32},Mat{Float32},Mat{Float32},Mat{Float32},Mat{Float32}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatSchurComplementGetSubMatrices(arg1::Mat{Float32},arg2::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}},arg3::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}},arg4::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}},arg5::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}},arg6::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatSchurComplementGetSubMatrices,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Mat{Float32}},Ptr{Mat{Float32}},Ptr{Mat{Float32}},Ptr{Mat{Float32}},Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatSchurComplementSetAinvType(arg1::Mat{Float32},arg2::MatSchurComplementAinvType) - err = ccall((:MatSchurComplementSetAinvType,petscRealSingle),PetscErrorCode,(Mat{Float32},MatSchurComplementAinvType),arg1,arg2) - return err -end - -function MatSchurComplementGetAinvType(arg1::Mat{Float32},arg2::Union{Ptr{MatSchurComplementAinvType},StridedArray{MatSchurComplementAinvType},Ptr{MatSchurComplementAinvType},Ref{MatSchurComplementAinvType}}) - err = ccall((:MatSchurComplementGetAinvType,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{MatSchurComplementAinvType}),arg1,arg2) - return err -end - -function MatSchurComplementGetPmat(arg1::Mat{Float32},arg2::MatReuse,arg3::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatSchurComplementGetPmat,petscRealSingle),PetscErrorCode,(Mat{Float32},MatReuse,Ptr{Mat{Float32}}),arg1,arg2,arg3) - return err -end - -function MatSchurComplementComputeExplicitOperator(arg1::Mat{Float32},arg2::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatSchurComplementComputeExplicitOperator,petscRealSingle),PetscErrorCode,(Mat{Float32},Ptr{Mat{Float32}}),arg1,arg2) - return err -end - -function MatGetSchurComplement(arg1::Mat{Float32},arg2::IS{Float32},arg3::IS{Float32},arg4::IS{Float32},arg5::IS{Float32},arg6::MatReuse,arg7::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}},arg8::MatSchurComplementAinvType,arg9::MatReuse,arg10::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatGetSchurComplement,petscRealSingle),PetscErrorCode,(Mat{Float32},IS{Float32},IS{Float32},IS{Float32},IS{Float32},MatReuse,Ptr{Mat{Float32}},MatSchurComplementAinvType,MatReuse,Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -function MatCreateSchurComplementPmat(arg1::Mat{Float32},arg2::Mat{Float32},arg3::Mat{Float32},arg4::Mat{Float32},arg5::MatSchurComplementAinvType,arg6::MatReuse,arg7::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateSchurComplementPmat,petscRealSingle),PetscErrorCode,(Mat{Float32},Mat{Float32},Mat{Float32},Mat{Float32},MatSchurComplementAinvType,MatReuse,Ptr{Mat{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function KSPSetDM(arg1::KSP{Float32},arg2::DM) - err = ccall((:KSPSetDM,petscRealSingle),PetscErrorCode,(KSP{Float32},DM),arg1,arg2) - return err -end - -function KSPSetDMActive(arg1::KSP{Float32},arg2::PetscBool) - err = ccall((:KSPSetDMActive,petscRealSingle),PetscErrorCode,(KSP{Float32},PetscBool),arg1,arg2) - return err -end - -function KSPGetDM(arg1::KSP{Float32},arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:KSPGetDM,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{DM}),arg1,arg2) - return err -end - -function KSPSetApplicationContext(arg1::KSP{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPSetApplicationContext,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{Void}),arg1,arg2) - return err -end - -function KSPGetApplicationContext(arg1::KSP{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPGetApplicationContext,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{Void}),arg1,arg2) - return err -end - -function KSPSetComputeRHS(arg1::KSP{Float32},func::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPSetComputeRHS,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{Void},Ptr{Void}),arg1,func,arg2) - return err -end - -function KSPSetComputeOperators(arg1::KSP{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPSetComputeOperators,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function KSPSetComputeInitialGuess(arg1::KSP{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPSetComputeInitialGuess,petscRealSingle),PetscErrorCode,(KSP{Float32},Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMKSPSetComputeOperators(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMKSPSetComputeOperators,petscRealSingle),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMKSPGetComputeOperators(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMKSPGetComputeOperators,petscRealSingle),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMKSPSetComputeRHS(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMKSPSetComputeRHS,petscRealSingle),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMKSPGetComputeRHS(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMKSPGetComputeRHS,petscRealSingle),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMKSPSetComputeInitialGuess(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMKSPSetComputeInitialGuess,petscRealSingle),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMKSPGetComputeInitialGuess(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMKSPGetComputeInitialGuess,petscRealSingle),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMGlobalToLocalSolve(arg1::DM,arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:DMGlobalToLocalSolve,petscRealSingle),PetscErrorCode,(DM,Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function DMPlexProjectField(arg1::DM,arg2::Vec{Float32},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::InsertMode,arg5::Vec{Float32}) - err = ccall((:DMPlexProjectField,petscRealSingle),PetscErrorCode,(DM,Vec{Float32},Ptr{Ptr{Void}},InsertMode,Vec{Float32}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function SNESInitializePackage(arg0::Type{Float32}) - err = ccall((:SNESInitializePackage,petscRealSingle),PetscErrorCode,()) - return err -end - -function SNESCreate(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}}) - err = ccall((:SNESCreate,petscRealSingle),PetscErrorCode,(comm_type,Ptr{SNES}),arg1,arg2) - return err -end - -function SNESReset(arg0::Type{Float32},arg1::SNES) - err = ccall((:SNESReset,petscRealSingle),PetscErrorCode,(SNES,),arg1) - return err -end - -function SNESDestroy(arg0::Type{Float32},arg1::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}}) - err = ccall((:SNESDestroy,petscRealSingle),PetscErrorCode,(Ptr{SNES},),arg1) - return err -end - -function SNESSetType(arg0::Type{Float32},arg1::SNES,arg2::SNESType) - err = ccall((:SNESSetType,petscRealSingle),PetscErrorCode,(SNES,Cstring),arg1,arg2) - return err -end - -function SNESMonitor(arg0::Type{Float32},arg1::SNES,arg2::Integer,arg3::Float32) - err = ccall((:SNESMonitor,petscRealSingle),PetscErrorCode,(SNES,Int64,Float32),arg1,arg2,arg3) - return err -end - -function SNESMonitorSet(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESMonitorSet,petscRealSingle),PetscErrorCode,(SNES,Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESMonitorCancel(arg0::Type{Float32},arg1::SNES) - err = ccall((:SNESMonitorCancel,petscRealSingle),PetscErrorCode,(SNES,),arg1) - return err -end - -function SNESMonitorSAWs(arg0::Type{Float32},arg1::SNES,arg2::Integer,arg3::Float32,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESMonitorSAWs,petscRealSingle),PetscErrorCode,(SNES,Int64,Float32,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESMonitorSAWsCreate(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:SNESMonitorSAWsCreate,petscRealSingle),PetscErrorCode,(SNES,Ptr{Ptr{Void}}),arg1,arg2) - return err -end - -function SNESMonitorSAWsDestroy(arg0::Type{Float32},arg1::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:SNESMonitorSAWsDestroy,petscRealSingle),PetscErrorCode,(Ptr{Ptr{Void}},),arg1) - return err -end - -function SNESSetConvergenceHistory(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Integer,arg5::PetscBool) - err = ccall((:SNESSetConvergenceHistory,petscRealSingle),PetscErrorCode,(SNES,Ptr{Float32},Ptr{Int64},Int64,PetscBool),arg1,arg2,arg3,arg4,arg5) - return err -end - -function SNESGetConvergenceHistory(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}},arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESGetConvergenceHistory,petscRealSingle),PetscErrorCode,(SNES,Ptr{Ptr{Float32}},Ptr{Ptr{Int64}},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function SNESSetUp(arg0::Type{Float32},arg1::SNES) - err = ccall((:SNESSetUp,petscRealSingle),PetscErrorCode,(SNES,),arg1) - return err -end - -function SNESSolve(arg1::SNES,arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:SNESSolve,petscRealSingle),PetscErrorCode,(SNES,Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function SNESSetErrorIfNotConverged(arg0::Type{Float32},arg1::SNES,arg2::PetscBool) - err = ccall((:SNESSetErrorIfNotConverged,petscRealSingle),PetscErrorCode,(SNES,PetscBool),arg1,arg2) - return err -end - -function SNESGetErrorIfNotConverged(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:SNESGetErrorIfNotConverged,petscRealSingle),PetscErrorCode,(SNES,Ptr{PetscBool}),arg1,arg2) - return err -end - -function SNESSetWorkVecs(arg0::Type{Float32},arg1::SNES,arg2::Integer) - err = ccall((:SNESSetWorkVecs,petscRealSingle),PetscErrorCode,(SNES,Int64),arg1,arg2) - return err -end - -function SNESAddOptionsChecker(arg0::Type{Float32},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESAddOptionsChecker,petscRealSingle),PetscErrorCode,(Ptr{Void},),arg1) - return err -end - -function SNESSetUpdate(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESSetUpdate,petscRealSingle),PetscErrorCode,(SNES,Ptr{Void}),arg1,arg2) - return err -end - -function SNESRegister(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESRegister,petscRealSingle),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function SNESGetKSP(arg1::SNES,arg2::Union{Ptr{KSP{Float32}},StridedArray{KSP{Float32}},Ptr{KSP{Float32}},Ref{KSP{Float32}}}) - err = ccall((:SNESGetKSP,petscRealSingle),PetscErrorCode,(SNES,Ptr{KSP{Float32}}),arg1,arg2) - return err -end - -function SNESSetKSP(arg1::SNES,arg2::KSP{Float32}) - err = ccall((:SNESSetKSP,petscRealSingle),PetscErrorCode,(SNES,KSP{Float32}),arg1,arg2) - return err -end - -function SNESSetSolution(arg1::SNES,arg2::Vec{Float32}) - err = ccall((:SNESSetSolution,petscRealSingle),PetscErrorCode,(SNES,Vec{Float32}),arg1,arg2) - return err -end - -function SNESGetSolution(arg1::SNES,arg2::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:SNESGetSolution,petscRealSingle),PetscErrorCode,(SNES,Ptr{Vec{Float32}}),arg1,arg2) - return err -end - -function SNESGetSolutionUpdate(arg1::SNES,arg2::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:SNESGetSolutionUpdate,petscRealSingle),PetscErrorCode,(SNES,Ptr{Vec{Float32}}),arg1,arg2) - return err -end - -function SNESGetRhs(arg1::SNES,arg2::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:SNESGetRhs,petscRealSingle),PetscErrorCode,(SNES,Ptr{Vec{Float32}}),arg1,arg2) - return err -end - -function SNESView(arg1::SNES,arg2::PetscViewer{Float32}) - err = ccall((:SNESView,petscRealSingle),PetscErrorCode,(SNES,PetscViewer{Float32}),arg1,arg2) - return err -end - -function SNESLoad(arg1::SNES,arg2::PetscViewer{Float32}) - err = ccall((:SNESLoad,petscRealSingle),PetscErrorCode,(SNES,PetscViewer{Float32}),arg1,arg2) - return err -end - -function SNESViewFromOptions(arg0::Type{Float32},A::SNES,obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:SNESViewFromOptions,petscRealSingle),PetscErrorCode,(SNES,PetscObject,Cstring),A,obj,name) - return err -end - -function SNESReasonView(arg1::SNES,arg2::PetscViewer{Float32}) - err = ccall((:SNESReasonView,petscRealSingle),PetscErrorCode,(SNES,PetscViewer{Float32}),arg1,arg2) - return err -end - -function SNESReasonViewFromOptions(arg0::Type{Float32},arg1::SNES) - err = ccall((:SNESReasonViewFromOptions,petscRealSingle),PetscErrorCode,(SNES,),arg1) - return err -end - -function SNESSetOptionsPrefix(arg0::Type{Float32},arg1::SNES,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:SNESSetOptionsPrefix,petscRealSingle),PetscErrorCode,(SNES,Cstring),arg1,arg2) - return err -end - -function SNESAppendOptionsPrefix(arg0::Type{Float32},arg1::SNES,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:SNESAppendOptionsPrefix,petscRealSingle),PetscErrorCode,(SNES,Cstring),arg1,arg2) - return err -end - -function SNESGetOptionsPrefix(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:SNESGetOptionsPrefix,petscRealSingle),PetscErrorCode,(SNES,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function SNESSetFromOptions(arg0::Type{Float32},arg1::SNES) - err = ccall((:SNESSetFromOptions,petscRealSingle),PetscErrorCode,(SNES,),arg1) - return err -end - -function MatCreateSNESMF(arg1::SNES,arg2::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:MatCreateSNESMF,petscRealSingle),PetscErrorCode,(SNES,Ptr{Mat{Float32}}),arg1,arg2) - return err -end - -function MatMFFDComputeJacobian(arg1::SNES,arg2::Vec{Float32},arg3::Mat{Float32},arg4::Mat{Float32},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:MatMFFDComputeJacobian,petscRealSingle),PetscErrorCode,(SNES,Vec{Float32},Mat{Float32},Mat{Float32},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function MatDAADSetSNES(arg1::Mat{Float32},arg2::SNES) - err = ccall((:MatDAADSetSNES,petscRealSingle),PetscErrorCode,(Mat{Float32},SNES),arg1,arg2) - return err -end - -function SNESGetType(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{SNESType},StridedArray{SNESType},Ptr{SNESType},Ref{SNESType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:SNESGetType,petscRealSingle),PetscErrorCode,(SNES,Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function SNESMonitorDefault(arg0::Type{Float32},arg1::SNES,arg2::Integer,arg3::Float32,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESMonitorDefault,petscRealSingle),PetscErrorCode,(SNES,Int64,Float32,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESMonitorRange(arg0::Type{Float32},arg1::SNES,arg2::Integer,arg3::Float32,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESMonitorRange,petscRealSingle),PetscErrorCode,(SNES,Int64,Float32,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESMonitorRatio(arg0::Type{Float32},arg1::SNES,arg2::Integer,arg3::Float32,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESMonitorRatio,petscRealSingle),PetscErrorCode,(SNES,Int64,Float32,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESMonitorSetRatio(arg1::SNES,arg2::PetscViewer{Float32}) - err = ccall((:SNESMonitorSetRatio,petscRealSingle),PetscErrorCode,(SNES,PetscViewer{Float32}),arg1,arg2) - return err -end - -function SNESMonitorSolution(arg0::Type{Float32},arg1::SNES,arg2::Integer,arg3::Float32,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESMonitorSolution,petscRealSingle),PetscErrorCode,(SNES,Int64,Float32,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESMonitorResidual(arg0::Type{Float32},arg1::SNES,arg2::Integer,arg3::Float32,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESMonitorResidual,petscRealSingle),PetscErrorCode,(SNES,Int64,Float32,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESMonitorSolutionUpdate(arg0::Type{Float32},arg1::SNES,arg2::Integer,arg3::Float32,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESMonitorSolutionUpdate,petscRealSingle),PetscErrorCode,(SNES,Int64,Float32,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESMonitorDefaultShort(arg0::Type{Float32},arg1::SNES,arg2::Integer,arg3::Float32,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESMonitorDefaultShort,petscRealSingle),PetscErrorCode,(SNES,Int64,Float32,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESMonitorDefaultField(arg0::Type{Float32},arg1::SNES,arg2::Integer,arg3::Float32,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESMonitorDefaultField,petscRealSingle),PetscErrorCode,(SNES,Int64,Float32,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESMonitorJacUpdateSpectrum(arg0::Type{Float32},arg1::SNES,arg2::Integer,arg3::Float32,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESMonitorJacUpdateSpectrum,petscRealSingle),PetscErrorCode,(SNES,Int64,Float32,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESMonitorFields(arg0::Type{Float32},arg1::SNES,arg2::Integer,arg3::Float32,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESMonitorFields,petscRealSingle),PetscErrorCode,(SNES,Int64,Float32,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPMonitorSNES(arg1::KSP{Float32},arg2::Integer,arg3::Float32,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:KSPMonitorSNES,petscRealSingle),PetscErrorCode,(KSP{Float32},Int64,Float32,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function KSPMonitorSNESLGResidualNormCreate(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Union{Ptr{Ptr{PetscObject}},StridedArray{Ptr{PetscObject}},Ptr{Ptr{PetscObject}},Ref{Ptr{PetscObject}}}) - err = ccall((:KSPMonitorSNESLGResidualNormCreate,petscRealSingle),PetscErrorCode,(Cstring,Cstring,Cint,Cint,Cint,Cint,Ptr{Ptr{PetscObject}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function KSPMonitorSNESLGResidualNorm(arg1::KSP{Float32},arg2::Integer,arg3::Float32,arg4::Union{Ptr{PetscObject},StridedArray{PetscObject},Ptr{PetscObject},Ref{PetscObject}}) - err = ccall((:KSPMonitorSNESLGResidualNorm,petscRealSingle),PetscErrorCode,(KSP{Float32},Int64,Float32,Ptr{PetscObject}),arg1,arg2,arg3,arg4) - return err -end - -function KSPMonitorSNESLGResidualNormDestroy(arg0::Type{Float32},arg1::Union{Ptr{Ptr{PetscObject}},StridedArray{Ptr{PetscObject}},Ptr{Ptr{PetscObject}},Ref{Ptr{PetscObject}}}) - err = ccall((:KSPMonitorSNESLGResidualNormDestroy,petscRealSingle),PetscErrorCode,(Ptr{Ptr{PetscObject}},),arg1) - return err -end - -function SNESSetTolerances(arg0::Type{Float32},arg1::SNES,arg2::Float32,arg3::Float32,arg4::Float32,arg5::Integer,arg6::Integer) - err = ccall((:SNESSetTolerances,petscRealSingle),PetscErrorCode,(SNES,Float32,Float32,Float32,Int64,Int64),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function SNESGetTolerances(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESGetTolerances,petscRealSingle),PetscErrorCode,(SNES,Ptr{Float32},Ptr{Float32},Ptr{Float32},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function SNESSetTrustRegionTolerance(arg0::Type{Float32},arg1::SNES,arg2::Float32) - err = ccall((:SNESSetTrustRegionTolerance,petscRealSingle),PetscErrorCode,(SNES,Float32),arg1,arg2) - return err -end - -function SNESGetIterationNumber(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESGetIterationNumber,petscRealSingle),PetscErrorCode,(SNES,Ptr{Int64}),arg1,arg2) - return err -end - -function SNESSetIterationNumber(arg0::Type{Float32},arg1::SNES,arg2::Integer) - err = ccall((:SNESSetIterationNumber,petscRealSingle),PetscErrorCode,(SNES,Int64),arg1,arg2) - return err -end - -function SNESGetNonlinearStepFailures(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESGetNonlinearStepFailures,petscRealSingle),PetscErrorCode,(SNES,Ptr{Int64}),arg1,arg2) - return err -end - -function SNESSetMaxNonlinearStepFailures(arg0::Type{Float32},arg1::SNES,arg2::Integer) - err = ccall((:SNESSetMaxNonlinearStepFailures,petscRealSingle),PetscErrorCode,(SNES,Int64),arg1,arg2) - return err -end - -function SNESGetMaxNonlinearStepFailures(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESGetMaxNonlinearStepFailures,petscRealSingle),PetscErrorCode,(SNES,Ptr{Int64}),arg1,arg2) - return err -end - -function SNESGetNumberFunctionEvals(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESGetNumberFunctionEvals,petscRealSingle),PetscErrorCode,(SNES,Ptr{Int64}),arg1,arg2) - return err -end - -function SNESSetLagPreconditioner(arg0::Type{Float32},arg1::SNES,arg2::Integer) - err = ccall((:SNESSetLagPreconditioner,petscRealSingle),PetscErrorCode,(SNES,Int64),arg1,arg2) - return err -end - -function SNESGetLagPreconditioner(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESGetLagPreconditioner,petscRealSingle),PetscErrorCode,(SNES,Ptr{Int64}),arg1,arg2) - return err -end - -function SNESSetLagJacobian(arg0::Type{Float32},arg1::SNES,arg2::Integer) - err = ccall((:SNESSetLagJacobian,petscRealSingle),PetscErrorCode,(SNES,Int64),arg1,arg2) - return err -end - -function SNESGetLagJacobian(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESGetLagJacobian,petscRealSingle),PetscErrorCode,(SNES,Ptr{Int64}),arg1,arg2) - return err -end - -function SNESSetLagPreconditionerPersists(arg0::Type{Float32},arg1::SNES,arg2::PetscBool) - err = ccall((:SNESSetLagPreconditionerPersists,petscRealSingle),PetscErrorCode,(SNES,PetscBool),arg1,arg2) - return err -end - -function SNESSetLagJacobianPersists(arg0::Type{Float32},arg1::SNES,arg2::PetscBool) - err = ccall((:SNESSetLagJacobianPersists,petscRealSingle),PetscErrorCode,(SNES,PetscBool),arg1,arg2) - return err -end - -function SNESSetGridSequence(arg0::Type{Float32},arg1::SNES,arg2::Integer) - err = ccall((:SNESSetGridSequence,petscRealSingle),PetscErrorCode,(SNES,Int64),arg1,arg2) - return err -end - -function SNESGetGridSequence(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESGetGridSequence,petscRealSingle),PetscErrorCode,(SNES,Ptr{Int64}),arg1,arg2) - return err -end - -function SNESGetLinearSolveIterations(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESGetLinearSolveIterations,petscRealSingle),PetscErrorCode,(SNES,Ptr{Int64}),arg1,arg2) - return err -end - -function SNESGetLinearSolveFailures(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESGetLinearSolveFailures,petscRealSingle),PetscErrorCode,(SNES,Ptr{Int64}),arg1,arg2) - return err -end - -function SNESSetMaxLinearSolveFailures(arg0::Type{Float32},arg1::SNES,arg2::Integer) - err = ccall((:SNESSetMaxLinearSolveFailures,petscRealSingle),PetscErrorCode,(SNES,Int64),arg1,arg2) - return err -end - -function SNESGetMaxLinearSolveFailures(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESGetMaxLinearSolveFailures,petscRealSingle),PetscErrorCode,(SNES,Ptr{Int64}),arg1,arg2) - return err -end - -function SNESSetCountersReset(arg0::Type{Float32},arg1::SNES,arg2::PetscBool) - err = ccall((:SNESSetCountersReset,petscRealSingle),PetscErrorCode,(SNES,PetscBool),arg1,arg2) - return err -end - -function SNESKSPSetUseEW(arg0::Type{Float32},arg1::SNES,arg2::PetscBool) - err = ccall((:SNESKSPSetUseEW,petscRealSingle),PetscErrorCode,(SNES,PetscBool),arg1,arg2) - return err -end - -function SNESKSPGetUseEW(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:SNESKSPGetUseEW,petscRealSingle),PetscErrorCode,(SNES,Ptr{PetscBool}),arg1,arg2) - return err -end - -function SNESKSPSetParametersEW(arg0::Type{Float32},arg1::SNES,arg2::Integer,arg3::Float32,arg4::Float32,arg5::Float32,arg6::Float32,arg7::Float32,arg8::Float32) - err = ccall((:SNESKSPSetParametersEW,petscRealSingle),PetscErrorCode,(SNES,Int64,Float32,Float32,Float32,Float32,Float32,Float32),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function SNESKSPGetParametersEW(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg6::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg7::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg8::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:SNESKSPGetParametersEW,petscRealSingle),PetscErrorCode,(SNES,Ptr{Int64},Ptr{Float32},Ptr{Float32},Ptr{Float32},Ptr{Float32},Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function SNESMonitorLGCreate(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::Integer,arg5::Integer,arg6::Integer,arg7::Union{Ptr{Ptr{PetscObject}},StridedArray{Ptr{PetscObject}},Ptr{Ptr{PetscObject}},Ref{Ptr{PetscObject}}}) - err = ccall((:SNESMonitorLGCreate,petscRealSingle),PetscErrorCode,(Cstring,Cstring,Cint,Cint,Cint,Cint,Ptr{Ptr{PetscObject}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function SNESMonitorLGResidualNorm(arg0::Type{Float32},arg1::SNES,arg2::Integer,arg3::Float32,arg4::Union{Ptr{PetscObject},StridedArray{PetscObject},Ptr{PetscObject},Ref{PetscObject}}) - err = ccall((:SNESMonitorLGResidualNorm,petscRealSingle),PetscErrorCode,(SNES,Int64,Float32,Ptr{PetscObject}),arg1,arg2,arg3,arg4) - return err -end - -function SNESMonitorLGDestroy(arg0::Type{Float32},arg1::Union{Ptr{Ptr{PetscObject}},StridedArray{Ptr{PetscObject}},Ptr{Ptr{PetscObject}},Ref{Ptr{PetscObject}}}) - err = ccall((:SNESMonitorLGDestroy,petscRealSingle),PetscErrorCode,(Ptr{Ptr{PetscObject}},),arg1) - return err -end - -function SNESMonitorLGRange(arg0::Type{Float32},arg1::SNES,arg2::Integer,arg3::Float32,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESMonitorLGRange,petscRealSingle),PetscErrorCode,(SNES,Int64,Float32,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESSetApplicationContext(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESSetApplicationContext,petscRealSingle),PetscErrorCode,(SNES,Ptr{Void}),arg1,arg2) - return err -end - -function SNESGetApplicationContext(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESGetApplicationContext,petscRealSingle),PetscErrorCode,(SNES,Ptr{Void}),arg1,arg2) - return err -end - -function SNESSetComputeApplicationContext(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESSetComputeApplicationContext,petscRealSingle),PetscErrorCode,(SNES,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function SNESPythonSetType(arg0::Type{Float32},arg1::SNES,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:SNESPythonSetType,petscRealSingle),PetscErrorCode,(SNES,Cstring),arg1,arg2) - return err -end - -function SNESSetFunctionDomainError(arg0::Type{Float32},arg1::SNES) - err = ccall((:SNESSetFunctionDomainError,petscRealSingle),PetscErrorCode,(SNES,),arg1) - return err -end - -function SNESGetFunctionDomainError(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:SNESGetFunctionDomainError,petscRealSingle),PetscErrorCode,(SNES,Ptr{PetscBool}),arg1,arg2) - return err -end - -function SNESSetConvergenceTest(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESSetConvergenceTest,petscRealSingle),PetscErrorCode,(SNES,Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESConvergedDefault(arg0::Type{Float32},arg1::SNES,arg2::Integer,arg3::Float32,arg4::Float32,arg5::Float32,arg6::Union{Ptr{SNESConvergedReason},StridedArray{SNESConvergedReason},Ptr{SNESConvergedReason},Ref{SNESConvergedReason}},arg7::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESConvergedDefault,petscRealSingle),PetscErrorCode,(SNES,Int64,Float32,Float32,Float32,Ptr{SNESConvergedReason},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function SNESConvergedSkip(arg0::Type{Float32},arg1::SNES,arg2::Integer,arg3::Float32,arg4::Float32,arg5::Float32,arg6::Union{Ptr{SNESConvergedReason},StridedArray{SNESConvergedReason},Ptr{SNESConvergedReason},Ref{SNESConvergedReason}},arg7::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESConvergedSkip,petscRealSingle),PetscErrorCode,(SNES,Int64,Float32,Float32,Float32,Ptr{SNESConvergedReason},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function SNESGetConvergedReason(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{SNESConvergedReason},StridedArray{SNESConvergedReason},Ptr{SNESConvergedReason},Ref{SNESConvergedReason}}) - err = ccall((:SNESGetConvergedReason,petscRealSingle),PetscErrorCode,(SNES,Ptr{SNESConvergedReason}),arg1,arg2) - return err -end - -function SNESSkipConverged(arg0::Type{Float32}) - err = ccall((:SNESSkipConverged,petscRealSingle),Void,()) - return err -end - -function SNESSetFunction(arg1::SNES,arg2::Vec{Float32},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESSetFunction,petscRealSingle),PetscErrorCode,(SNES,Vec{Float32},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESGetFunction(arg1::SNES,arg2::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:SNESGetFunction,petscRealSingle),PetscErrorCode,(SNES,Ptr{Vec{Float32}},Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4) - return err -end - -function SNESComputeFunction(arg1::SNES,arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:SNESComputeFunction,petscRealSingle),PetscErrorCode,(SNES,Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function SNESSetJacobian(arg1::SNES,arg2::Mat{Float32},arg3::Mat{Float32},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESSetJacobian,petscRealSingle),PetscErrorCode,(SNES,Mat{Float32},Mat{Float32},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function SNESGetJacobian(arg1::SNES,arg2::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}},arg3::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}},arg4::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg5::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:SNESGetJacobian,petscRealSingle),PetscErrorCode,(SNES,Ptr{Mat{Float32}},Ptr{Mat{Float32}},Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function SNESObjectiveComputeFunctionDefaultFD(arg1::SNES,arg2::Vec{Float32},arg3::Vec{Float32},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESObjectiveComputeFunctionDefaultFD,petscRealSingle),PetscErrorCode,(SNES,Vec{Float32},Vec{Float32},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESComputeJacobianDefault(arg1::SNES,arg2::Vec{Float32},arg3::Mat{Float32},arg4::Mat{Float32},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESComputeJacobianDefault,petscRealSingle),PetscErrorCode,(SNES,Vec{Float32},Mat{Float32},Mat{Float32},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function SNESComputeJacobianDefaultColor(arg1::SNES,arg2::Vec{Float32},arg3::Mat{Float32},arg4::Mat{Float32},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESComputeJacobianDefaultColor,petscRealSingle),PetscErrorCode,(SNES,Vec{Float32},Mat{Float32},Mat{Float32},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function SNESSetComputeInitialGuess(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESSetComputeInitialGuess,petscRealSingle),PetscErrorCode,(SNES,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function SNESSetPicard(arg1::SNES,arg2::Vec{Float32},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Mat{Float32},arg5::Mat{Float32},arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg7::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESSetPicard,petscRealSingle),PetscErrorCode,(SNES,Vec{Float32},Ptr{Void},Mat{Float32},Mat{Float32},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function SNESGetPicard(arg1::SNES,arg2::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}},arg5::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}},arg6::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg7::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:SNESGetPicard,petscRealSingle),PetscErrorCode,(SNES,Ptr{Vec{Float32}},Ptr{Ptr{Void}},Ptr{Mat{Float32}},Ptr{Mat{Float32}},Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function SNESSetInitialFunction(arg1::SNES,arg2::Vec{Float32}) - err = ccall((:SNESSetInitialFunction,petscRealSingle),PetscErrorCode,(SNES,Vec{Float32}),arg1,arg2) - return err -end - -function SNESSetObjective(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESSetObjective,petscRealSingle),PetscErrorCode,(SNES,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function SNESGetObjective(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:SNESGetObjective,petscRealSingle),PetscErrorCode,(SNES,Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function SNESComputeObjective(arg1::SNES,arg2::Vec{Float32},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:SNESComputeObjective,petscRealSingle),PetscErrorCode,(SNES,Vec{Float32},Ptr{Float32}),arg1,arg2,arg3) - return err -end - -function SNESSetNormSchedule(arg0::Type{Float32},arg1::SNES,arg2::SNESNormSchedule) - err = ccall((:SNESSetNormSchedule,petscRealSingle),PetscErrorCode,(SNES,SNESNormSchedule),arg1,arg2) - return err -end - -function SNESGetNormSchedule(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{SNESNormSchedule},StridedArray{SNESNormSchedule},Ptr{SNESNormSchedule},Ref{SNESNormSchedule}}) - err = ccall((:SNESGetNormSchedule,petscRealSingle),PetscErrorCode,(SNES,Ptr{SNESNormSchedule}),arg1,arg2) - return err -end - -function SNESSetFunctionType(arg0::Type{Float32},arg1::SNES,arg2::SNESFunctionType) - err = ccall((:SNESSetFunctionType,petscRealSingle),PetscErrorCode,(SNES,SNESFunctionType),arg1,arg2) - return err -end - -function SNESGetFunctionType(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{SNESFunctionType},StridedArray{SNESFunctionType},Ptr{SNESFunctionType},Ref{SNESFunctionType}}) - err = ccall((:SNESGetFunctionType,petscRealSingle),PetscErrorCode,(SNES,Ptr{SNESFunctionType}),arg1,arg2) - return err -end - -function SNESSetNGS(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESSetNGS,petscRealSingle),PetscErrorCode,(SNES,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function SNESGetNGS(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:SNESGetNGS,petscRealSingle),PetscErrorCode,(SNES,Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function SNESSetUseNGS(arg0::Type{Float32},arg1::SNES,arg2::PetscBool) - err = ccall((:SNESSetUseNGS,petscRealSingle),PetscErrorCode,(SNES,PetscBool),arg1,arg2) - return err -end - -function SNESGetUseNGS(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:SNESGetUseNGS,petscRealSingle),PetscErrorCode,(SNES,Ptr{PetscBool}),arg1,arg2) - return err -end - -function SNESComputeNGS(arg1::SNES,arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:SNESComputeNGS,petscRealSingle),PetscErrorCode,(SNES,Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function SNESNGSSetSweeps(arg0::Type{Float32},arg1::SNES,arg2::Integer) - err = ccall((:SNESNGSSetSweeps,petscRealSingle),PetscErrorCode,(SNES,Int64),arg1,arg2) - return err -end - -function SNESNGSGetSweeps(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESNGSGetSweeps,petscRealSingle),PetscErrorCode,(SNES,Ptr{Int64}),arg1,arg2) - return err -end - -function SNESNGSSetTolerances(arg0::Type{Float32},arg1::SNES,arg2::Float32,arg3::Float32,arg4::Float32,arg5::Integer) - err = ccall((:SNESNGSSetTolerances,petscRealSingle),PetscErrorCode,(SNES,Float32,Float32,Float32,Int64),arg1,arg2,arg3,arg4,arg5) - return err -end - -function SNESNGSGetTolerances(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESNGSGetTolerances,petscRealSingle),PetscErrorCode,(SNES,Ptr{Float32},Ptr{Float32},Ptr{Float32},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function SNESUpdateCheckJacobian(arg0::Type{Float32},arg1::SNES,arg2::Integer) - err = ccall((:SNESUpdateCheckJacobian,petscRealSingle),PetscErrorCode,(SNES,Int64),arg1,arg2) - return err -end - -function SNESShellGetContext(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:SNESShellGetContext,petscRealSingle),PetscErrorCode,(SNES,Ptr{Ptr{Void}}),arg1,arg2) - return err -end - -function SNESShellSetContext(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESShellSetContext,petscRealSingle),PetscErrorCode,(SNES,Ptr{Void}),arg1,arg2) - return err -end - -function SNESShellSetSolve(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESShellSetSolve,petscRealSingle),PetscErrorCode,(SNES,Ptr{Void}),arg1,arg2) - return err -end - -function SNESLineSearchCreate(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{SNESLineSearch},StridedArray{SNESLineSearch},Ptr{SNESLineSearch},Ref{SNESLineSearch}}) - err = ccall((:SNESLineSearchCreate,petscRealSingle),PetscErrorCode,(comm_type,Ptr{SNESLineSearch}),arg1,arg2) - return err -end - -function SNESLineSearchReset(arg0::Type{Float32},arg1::SNESLineSearch) - err = ccall((:SNESLineSearchReset,petscRealSingle),PetscErrorCode,(SNESLineSearch,),arg1) - return err -end - -function SNESLineSearchView(arg1::SNESLineSearch,arg2::PetscViewer{Float32}) - err = ccall((:SNESLineSearchView,petscRealSingle),PetscErrorCode,(SNESLineSearch,PetscViewer{Float32}),arg1,arg2) - return err -end - -function SNESLineSearchDestroy(arg0::Type{Float32},arg1::Union{Ptr{SNESLineSearch},StridedArray{SNESLineSearch},Ptr{SNESLineSearch},Ref{SNESLineSearch}}) - err = ccall((:SNESLineSearchDestroy,petscRealSingle),PetscErrorCode,(Ptr{SNESLineSearch},),arg1) - return err -end - -function SNESLineSearchSetType(arg0::Type{Float32},arg1::SNESLineSearch,arg2::SNESLineSearchType) - err = ccall((:SNESLineSearchSetType,petscRealSingle),PetscErrorCode,(SNESLineSearch,Cstring),arg1,arg2) - return err -end - -function SNESLineSearchSetFromOptions(arg0::Type{Float32},arg1::SNESLineSearch) - err = ccall((:SNESLineSearchSetFromOptions,petscRealSingle),PetscErrorCode,(SNESLineSearch,),arg1) - return err -end - -function SNESLineSearchSetFunction(arg0::Type{Float32},arg1::SNESLineSearch,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESLineSearchSetFunction,petscRealSingle),PetscErrorCode,(SNESLineSearch,Ptr{Void}),arg1,arg2) - return err -end - -function SNESLineSearchSetUp(arg0::Type{Float32},arg1::SNESLineSearch) - err = ccall((:SNESLineSearchSetUp,petscRealSingle),PetscErrorCode,(SNESLineSearch,),arg1) - return err -end - -function SNESLineSearchApply(arg1::SNESLineSearch,arg2::Vec{Float32},arg3::Vec{Float32},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Vec{Float32}) - err = ccall((:SNESLineSearchApply,petscRealSingle),PetscErrorCode,(SNESLineSearch,Vec{Float32},Vec{Float32},Ptr{Float32},Vec{Float32}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function SNESLineSearchPreCheck(arg1::SNESLineSearch,arg2::Vec{Float32},arg3::Vec{Float32},arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:SNESLineSearchPreCheck,petscRealSingle),PetscErrorCode,(SNESLineSearch,Vec{Float32},Vec{Float32},Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function SNESLineSearchPostCheck(arg1::SNESLineSearch,arg2::Vec{Float32},arg3::Vec{Float32},arg4::Vec{Float32},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg6::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:SNESLineSearchPostCheck,petscRealSingle),PetscErrorCode,(SNESLineSearch,Vec{Float32},Vec{Float32},Vec{Float32},Ptr{PetscBool},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function SNESLineSearchSetWorkVecs(arg0::Type{Float32},arg1::SNESLineSearch,arg2::Integer) - err = ccall((:SNESLineSearchSetWorkVecs,petscRealSingle),PetscErrorCode,(SNESLineSearch,Int64),arg1,arg2) - return err -end - -function SNESLineSearchSetPreCheck(arg0::Type{Float32},arg1::SNESLineSearch,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},ctx::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESLineSearchSetPreCheck,petscRealSingle),PetscErrorCode,(SNESLineSearch,Ptr{Void},Ptr{Void}),arg1,arg2,ctx) - return err -end - -function SNESLineSearchSetPostCheck(arg0::Type{Float32},arg1::SNESLineSearch,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},ctx::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESLineSearchSetPostCheck,petscRealSingle),PetscErrorCode,(SNESLineSearch,Ptr{Void},Ptr{Void}),arg1,arg2,ctx) - return err -end - -function SNESLineSearchGetPreCheck(arg0::Type{Float32},arg1::SNESLineSearch,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},ctx::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:SNESLineSearchGetPreCheck,petscRealSingle),PetscErrorCode,(SNESLineSearch,Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,ctx) - return err -end - -function SNESLineSearchGetPostCheck(arg0::Type{Float32},arg1::SNESLineSearch,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},ctx::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:SNESLineSearchGetPostCheck,petscRealSingle),PetscErrorCode,(SNESLineSearch,Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,ctx) - return err -end - -function SNESLineSearchSetVIFunctions(arg0::Type{Float32},arg1::SNESLineSearch,arg2::SNESLineSearchVIProjectFunc,arg3::SNESLineSearchVINormFunc) - err = ccall((:SNESLineSearchSetVIFunctions,petscRealSingle),PetscErrorCode,(SNESLineSearch,SNESLineSearchVIProjectFunc,SNESLineSearchVINormFunc),arg1,arg2,arg3) - return err -end - -function SNESLineSearchGetVIFunctions(arg0::Type{Float32},arg1::SNESLineSearch,arg2::Union{Ptr{SNESLineSearchVIProjectFunc},StridedArray{SNESLineSearchVIProjectFunc},Ptr{SNESLineSearchVIProjectFunc},Ref{SNESLineSearchVIProjectFunc}},arg3::Union{Ptr{SNESLineSearchVINormFunc},StridedArray{SNESLineSearchVINormFunc},Ptr{SNESLineSearchVINormFunc},Ref{SNESLineSearchVINormFunc}}) - err = ccall((:SNESLineSearchGetVIFunctions,petscRealSingle),PetscErrorCode,(SNESLineSearch,Ptr{SNESLineSearchVIProjectFunc},Ptr{SNESLineSearchVINormFunc}),arg1,arg2,arg3) - return err -end - -function SNESLineSearchSetSNES(arg0::Type{Float32},arg1::SNESLineSearch,arg2::SNES) - err = ccall((:SNESLineSearchSetSNES,petscRealSingle),PetscErrorCode,(SNESLineSearch,SNES),arg1,arg2) - return err -end - -function SNESLineSearchGetSNES(arg0::Type{Float32},arg1::SNESLineSearch,arg2::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}}) - err = ccall((:SNESLineSearchGetSNES,petscRealSingle),PetscErrorCode,(SNESLineSearch,Ptr{SNES}),arg1,arg2) - return err -end - -function SNESLineSearchGetTolerances(arg0::Type{Float32},arg1::SNESLineSearch,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg6::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg7::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESLineSearchGetTolerances,petscRealSingle),PetscErrorCode,(SNESLineSearch,Ptr{Float32},Ptr{Float32},Ptr{Float32},Ptr{Float32},Ptr{Float32},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function SNESLineSearchSetTolerances(arg0::Type{Float32},arg1::SNESLineSearch,arg2::Float32,arg3::Float32,arg4::Float32,arg5::Float32,arg6::Float32,arg7::Integer) - err = ccall((:SNESLineSearchSetTolerances,petscRealSingle),PetscErrorCode,(SNESLineSearch,Float32,Float32,Float32,Float32,Float32,Int64),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function SNESLineSearchPreCheckPicard(arg1::SNESLineSearch,arg2::Vec{Float32},arg3::Vec{Float32},arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESLineSearchPreCheckPicard,petscRealSingle),PetscErrorCode,(SNESLineSearch,Vec{Float32},Vec{Float32},Ptr{PetscBool},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function SNESLineSearchGetLambda(arg0::Type{Float32},arg1::SNESLineSearch,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:SNESLineSearchGetLambda,petscRealSingle),PetscErrorCode,(SNESLineSearch,Ptr{Float32}),arg1,arg2) - return err -end - -function SNESLineSearchSetLambda(arg0::Type{Float32},arg1::SNESLineSearch,arg2::Float32) - err = ccall((:SNESLineSearchSetLambda,petscRealSingle),PetscErrorCode,(SNESLineSearch,Float32),arg1,arg2) - return err -end - -function SNESLineSearchGetDamping(arg0::Type{Float32},arg1::SNESLineSearch,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:SNESLineSearchGetDamping,petscRealSingle),PetscErrorCode,(SNESLineSearch,Ptr{Float32}),arg1,arg2) - return err -end - -function SNESLineSearchSetDamping(arg0::Type{Float32},arg1::SNESLineSearch,arg2::Float32) - err = ccall((:SNESLineSearchSetDamping,petscRealSingle),PetscErrorCode,(SNESLineSearch,Float32),arg1,arg2) - return err -end - -function SNESLineSearchGetOrder(arg0::Type{Float32},arg1::SNESLineSearch,order::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESLineSearchGetOrder,petscRealSingle),PetscErrorCode,(SNESLineSearch,Ptr{Int64}),arg1,order) - return err -end - -function SNESLineSearchSetOrder(arg0::Type{Float32},arg1::SNESLineSearch,order::Integer) - err = ccall((:SNESLineSearchSetOrder,petscRealSingle),PetscErrorCode,(SNESLineSearch,Int64),arg1,order) - return err -end - -function SNESLineSearchGetReason(arg0::Type{Float32},arg1::SNESLineSearch,arg2::Union{Ptr{SNESLineSearchReason},StridedArray{SNESLineSearchReason},Ptr{SNESLineSearchReason},Ref{SNESLineSearchReason}}) - err = ccall((:SNESLineSearchGetReason,petscRealSingle),PetscErrorCode,(SNESLineSearch,Ptr{SNESLineSearchReason}),arg1,arg2) - return err -end - -function SNESLineSearchSetReason(arg0::Type{Float32},arg1::SNESLineSearch,arg2::SNESLineSearchReason) - err = ccall((:SNESLineSearchSetReason,petscRealSingle),PetscErrorCode,(SNESLineSearch,SNESLineSearchReason),arg1,arg2) - return err -end - -function SNESLineSearchGetVecs(arg1::SNESLineSearch,arg2::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}},arg3::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}},arg4::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}},arg5::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}},arg6::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:SNESLineSearchGetVecs,petscRealSingle),PetscErrorCode,(SNESLineSearch,Ptr{Vec{Float32}},Ptr{Vec{Float32}},Ptr{Vec{Float32}},Ptr{Vec{Float32}},Ptr{Vec{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function SNESLineSearchSetVecs(arg1::SNESLineSearch,arg2::Vec{Float32},arg3::Vec{Float32},arg4::Vec{Float32},arg5::Vec{Float32},arg6::Vec{Float32}) - err = ccall((:SNESLineSearchSetVecs,petscRealSingle),PetscErrorCode,(SNESLineSearch,Vec{Float32},Vec{Float32},Vec{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function SNESLineSearchGetNorms(arg0::Type{Float32},arg1::SNESLineSearch,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:SNESLineSearchGetNorms,petscRealSingle),PetscErrorCode,(SNESLineSearch,Ptr{Float32},Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function SNESLineSearchSetNorms(arg0::Type{Float32},arg1::SNESLineSearch,arg2::Float32,arg3::Float32,arg4::Float32) - err = ccall((:SNESLineSearchSetNorms,petscRealSingle),PetscErrorCode,(SNESLineSearch,Float32,Float32,Float32),arg1,arg2,arg3,arg4) - return err -end - -function SNESLineSearchComputeNorms(arg0::Type{Float32},arg1::SNESLineSearch) - err = ccall((:SNESLineSearchComputeNorms,petscRealSingle),PetscErrorCode,(SNESLineSearch,),arg1) - return err -end - -function SNESLineSearchSetComputeNorms(arg0::Type{Float32},arg1::SNESLineSearch,arg2::PetscBool) - err = ccall((:SNESLineSearchSetComputeNorms,petscRealSingle),PetscErrorCode,(SNESLineSearch,PetscBool),arg1,arg2) - return err -end - -function SNESLineSearchSetMonitor(arg0::Type{Float32},arg1::SNESLineSearch,arg2::PetscBool) - err = ccall((:SNESLineSearchSetMonitor,petscRealSingle),PetscErrorCode,(SNESLineSearch,PetscBool),arg1,arg2) - return err -end - -function SNESLineSearchGetMonitor(arg1::SNESLineSearch,arg2::Union{Ptr{PetscViewer{Float32}},StridedArray{PetscViewer{Float32}},Ptr{PetscViewer{Float32}},Ref{PetscViewer{Float32}}}) - err = ccall((:SNESLineSearchGetMonitor,petscRealSingle),PetscErrorCode,(SNESLineSearch,Ptr{PetscViewer{Float32}}),arg1,arg2) - return err -end - -function SNESLineSearchAppendOptionsPrefix(arg0::Type{Float32},arg1::SNESLineSearch,prefix::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:SNESLineSearchAppendOptionsPrefix,petscRealSingle),PetscErrorCode,(SNESLineSearch,Cstring),arg1,prefix) - return err -end - -function SNESLineSearchGetOptionsPrefix(arg0::Type{Float32},arg1::SNESLineSearch,prefix::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:SNESLineSearchGetOptionsPrefix,petscRealSingle),PetscErrorCode,(SNESLineSearch,Ptr{Ptr{UInt8}}),arg1,prefix) - return err -end - -function SNESLineSearchShellSetUserFunc(arg0::Type{Float32},arg1::SNESLineSearch,arg2::SNESLineSearchUserFunc,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESLineSearchShellSetUserFunc,petscRealSingle),PetscErrorCode,(SNESLineSearch,SNESLineSearchUserFunc,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function SNESLineSearchShellGetUserFunc(arg0::Type{Float32},arg1::SNESLineSearch,arg2::Union{Ptr{SNESLineSearchUserFunc},StridedArray{SNESLineSearchUserFunc},Ptr{SNESLineSearchUserFunc},Ref{SNESLineSearchUserFunc}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:SNESLineSearchShellGetUserFunc,petscRealSingle),PetscErrorCode,(SNESLineSearch,Ptr{SNESLineSearchUserFunc},Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function SNESLineSearchBTSetAlpha(arg0::Type{Float32},arg1::SNESLineSearch,arg2::Float32) - err = ccall((:SNESLineSearchBTSetAlpha,petscRealSingle),PetscErrorCode,(SNESLineSearch,Float32),arg1,arg2) - return err -end - -function SNESLineSearchBTGetAlpha(arg0::Type{Float32},arg1::SNESLineSearch,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:SNESLineSearchBTGetAlpha,petscRealSingle),PetscErrorCode,(SNESLineSearch,Ptr{Float32}),arg1,arg2) - return err -end - -function SNESLineSearchRegister(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESLineSearchRegister,petscRealSingle),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function SNESVISetVariableBounds(arg1::SNES,arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:SNESVISetVariableBounds,petscRealSingle),PetscErrorCode,(SNES,Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function SNESVISetComputeVariableBounds(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESVISetComputeVariableBounds,petscRealSingle),PetscErrorCode,(SNES,Ptr{Void}),arg1,arg2) - return err -end - -function SNESVIGetInactiveSet(arg1::SNES,arg2::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:SNESVIGetInactiveSet,petscRealSingle),PetscErrorCode,(SNES,Ptr{IS{Float32}}),arg1,arg2) - return err -end - -function SNESVIGetActiveSetIS(arg1::SNES,arg2::Vec{Float32},arg3::Vec{Float32},arg4::Union{Ptr{IS{Float32}},StridedArray{IS{Float32}},Ptr{IS{Float32}},Ref{IS{Float32}}}) - err = ccall((:SNESVIGetActiveSetIS,petscRealSingle),PetscErrorCode,(SNES,Vec{Float32},Vec{Float32},Ptr{IS{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function SNESVIComputeInactiveSetFnorm(arg1::SNES,arg2::Vec{Float32},arg3::Vec{Float32},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:SNESVIComputeInactiveSetFnorm,petscRealSingle),PetscErrorCode,(SNES,Vec{Float32},Vec{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function SNESVISetRedundancyCheck(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESVISetRedundancyCheck,petscRealSingle),PetscErrorCode,(SNES,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function SNESTestLocalMin(arg0::Type{Float32},arg1::SNES) - err = ccall((:SNESTestLocalMin,petscRealSingle),PetscErrorCode,(SNES,),arg1) - return err -end - -function SNESComputeJacobian(arg1::SNES,arg2::Vec{Float32},arg3::Mat{Float32},arg4::Mat{Float32}) - err = ccall((:SNESComputeJacobian,petscRealSingle),PetscErrorCode,(SNES,Vec{Float32},Mat{Float32},Mat{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function SNESSetDM(arg0::Type{Float32},arg1::SNES,arg2::DM) - err = ccall((:SNESSetDM,petscRealSingle),PetscErrorCode,(SNES,DM),arg1,arg2) - return err -end - -function SNESGetDM(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:SNESGetDM,petscRealSingle),PetscErrorCode,(SNES,Ptr{DM}),arg1,arg2) - return err -end - -function SNESSetNPC(arg0::Type{Float32},arg1::SNES,arg2::SNES) - err = ccall((:SNESSetNPC,petscRealSingle),PetscErrorCode,(SNES,SNES),arg1,arg2) - return err -end - -function SNESGetNPC(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}}) - err = ccall((:SNESGetNPC,petscRealSingle),PetscErrorCode,(SNES,Ptr{SNES}),arg1,arg2) - return err -end - -function SNESHasNPC(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:SNESHasNPC,petscRealSingle),PetscErrorCode,(SNES,Ptr{PetscBool}),arg1,arg2) - return err -end - -function SNESApplyNPC(arg1::SNES,arg2::Vec{Float32},arg3::Vec{Float32},arg4::Vec{Float32}) - err = ccall((:SNESApplyNPC,petscRealSingle),PetscErrorCode,(SNES,Vec{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function SNESGetNPCFunction(arg1::SNES,arg2::Vec{Float32},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:SNESGetNPCFunction,petscRealSingle),PetscErrorCode,(SNES,Vec{Float32},Ptr{Float32}),arg1,arg2,arg3) - return err -end - -function SNESComputeFunctionDefaultNPC(arg1::SNES,arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:SNESComputeFunctionDefaultNPC,petscRealSingle),PetscErrorCode,(SNES,Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function SNESSetNPCSide(arg0::Type{Float32},arg1::SNES,arg2::PCSide) - err = ccall((:SNESSetNPCSide,petscRealSingle),PetscErrorCode,(SNES,PCSide),arg1,arg2) - return err -end - -function SNESGetNPCSide(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{PCSide},StridedArray{PCSide},Ptr{PCSide},Ref{PCSide}}) - err = ccall((:SNESGetNPCSide,petscRealSingle),PetscErrorCode,(SNES,Ptr{PCSide}),arg1,arg2) - return err -end - -function SNESSetLineSearch(arg0::Type{Float32},arg1::SNES,arg2::SNESLineSearch) - err = ccall((:SNESSetLineSearch,petscRealSingle),PetscErrorCode,(SNES,SNESLineSearch),arg1,arg2) - return err -end - -function SNESGetLineSearch(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{SNESLineSearch},StridedArray{SNESLineSearch},Ptr{SNESLineSearch},Ref{SNESLineSearch}}) - err = ccall((:SNESGetLineSearch,petscRealSingle),PetscErrorCode,(SNES,Ptr{SNESLineSearch}),arg1,arg2) - return err -end - -function SNESRestrictHookAdd(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESRestrictHookAdd,petscRealSingle),PetscErrorCode,(SNES,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function SNESRestrictHooksRun(arg0::Type{Float32},arg1::SNES,arg2::SNES) - err = ccall((:SNESRestrictHooksRun,petscRealSingle),PetscErrorCode,(SNES,SNES),arg1,arg2) - return err -end - -function SNESGetSNESLineSearch(arg0::Type{Float32},snes::SNES,ls::Union{Ptr{SNESLineSearch},StridedArray{SNESLineSearch},Ptr{SNESLineSearch},Ref{SNESLineSearch}}) - err = ccall((:SNESGetSNESLineSearch,petscRealSingle),PetscErrorCode,(SNES,Ptr{SNESLineSearch}),snes,ls) - return err -end - -function SNESSetSNESLineSearch(arg0::Type{Float32},snes::SNES,ls::SNESLineSearch) - err = ccall((:SNESSetSNESLineSearch,petscRealSingle),PetscErrorCode,(SNES,SNESLineSearch),snes,ls) - return err -end - -function SNESSetUpMatrices(arg0::Type{Float32},arg1::SNES) - err = ccall((:SNESSetUpMatrices,petscRealSingle),PetscErrorCode,(SNES,),arg1) - return err -end - -function DMSNESSetFunction(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMSNESSetFunction,petscRealSingle),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMSNESGetFunction(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:DMSNESGetFunction,petscRealSingle),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function DMSNESSetNGS(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMSNESSetNGS,petscRealSingle),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMSNESGetNGS(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:DMSNESGetNGS,petscRealSingle),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function DMSNESSetJacobian(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMSNESSetJacobian,petscRealSingle),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMSNESGetJacobian(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:DMSNESGetJacobian,petscRealSingle),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function DMSNESSetPicard(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMSNESSetPicard,petscRealSingle),PetscErrorCode,(DM,Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMSNESGetPicard(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:DMSNESGetPicard,petscRealSingle),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4) - return err -end - -function DMSNESSetObjective(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMSNESSetObjective,petscRealSingle),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMSNESGetObjective(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:DMSNESGetObjective,petscRealSingle),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function DMDASNESSetFunctionLocal(arg0::Type{Float32},arg1::DM,arg2::InsertMode,arg3::DMDASNESFunction,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDASNESSetFunctionLocal,petscRealSingle),PetscErrorCode,(DM,InsertMode,DMDASNESFunction,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMDASNESSetJacobianLocal(arg0::Type{Float32},arg1::DM,arg2::DMDASNESJacobian,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDASNESSetJacobianLocal,petscRealSingle),PetscErrorCode,(DM,DMDASNESJacobian,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMDASNESSetObjectiveLocal(arg0::Type{Float32},arg1::DM,arg2::DMDASNESObjective,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDASNESSetObjectiveLocal,petscRealSingle),PetscErrorCode,(DM,DMDASNESObjective,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMDASNESSetPicardLocal(arg0::Type{Float32},arg1::DM,arg2::InsertMode,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDASNESSetPicardLocal,petscRealSingle),PetscErrorCode,(DM,InsertMode,Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function DMPlexSNESGetGeometryFEM(arg1::DM,arg2::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:DMPlexSNESGetGeometryFEM,petscRealSingle),PetscErrorCode,(DM,Ptr{Vec{Float32}}),arg1,arg2) - return err -end - -function DMPlexSNESGetGeometryFVM(arg1::DM,arg2::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}},arg3::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:DMPlexSNESGetGeometryFVM,petscRealSingle),PetscErrorCode,(DM,Ptr{Vec{Float32}},Ptr{Vec{Float32}},Ptr{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function DMPlexSNESGetGradientDM(arg0::Type{Float32},arg1::DM,arg2::PetscFV,arg3::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:DMPlexSNESGetGradientDM,petscRealSingle),PetscErrorCode,(DM,PetscFV,Ptr{DM}),arg1,arg2,arg3) - return err -end - -function DMPlexGetCellFields(arg1::DM,arg2::Integer,arg3::Integer,arg4::Vec{Float32},arg5::Vec{Float32},arg6::Vec{Float32},arg7::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}},arg8::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}},arg9::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:DMPlexGetCellFields,petscRealSingle),PetscErrorCode,(DM,Int64,Int64,Vec{Float32},Vec{Float32},Vec{Float32},Ptr{Ptr{Float32}},Ptr{Ptr{Float32}},Ptr{Ptr{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) - return err -end - -function DMPlexRestoreCellFields(arg1::DM,arg2::Integer,arg3::Integer,arg4::Vec{Float32},arg5::Vec{Float32},arg6::Vec{Float32},arg7::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}},arg8::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}},arg9::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:DMPlexRestoreCellFields,petscRealSingle),PetscErrorCode,(DM,Int64,Int64,Vec{Float32},Vec{Float32},Vec{Float32},Ptr{Ptr{Float32}},Ptr{Ptr{Float32}},Ptr{Ptr{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) - return err -end - -function DMPlexGetFaceFields(arg1::DM,arg2::Integer,arg3::Integer,arg4::Vec{Float32},arg5::Vec{Float32},arg6::Vec{Float32},arg7::Vec{Float32},arg8::Vec{Float32},arg9::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}},arg10::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:DMPlexGetFaceFields,petscRealSingle),PetscErrorCode,(DM,Int64,Int64,Vec{Float32},Vec{Float32},Vec{Float32},Vec{Float32},Vec{Float32},Ptr{Ptr{Float32}},Ptr{Ptr{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -function DMPlexRestoreFaceFields(arg1::DM,arg2::Integer,arg3::Integer,arg4::Vec{Float32},arg5::Vec{Float32},arg6::Vec{Float32},arg7::Vec{Float32},arg8::Vec{Float32},arg9::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}},arg10::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:DMPlexRestoreFaceFields,petscRealSingle),PetscErrorCode,(DM,Int64,Int64,Vec{Float32},Vec{Float32},Vec{Float32},Vec{Float32},Vec{Float32},Ptr{Ptr{Float32}},Ptr{Ptr{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) - return err -end - -#= skipping function with undefined symbols: - function DMPlexGetFaceGeometry(arg1::DM,arg2::Integer,arg3::Integer,arg4::Vec{Float32},arg5::Vec{Float32},arg6::Union{Ptr{Ptr{PetscFVFaceGeom}},StridedArray{Ptr{PetscFVFaceGeom}},Ptr{Ptr{PetscFVFaceGeom}},Ref{Ptr{PetscFVFaceGeom}}},arg7::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - ccall((:DMPlexGetFaceGeometry,petscRealSingle),PetscErrorCode,(DM,Int64,Int64,Vec{Float32},Vec{Float32},Ptr{Ptr{PetscFVFaceGeom}},Ptr{Ptr{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -#= skipping function with undefined symbols: - function DMPlexRestoreFaceGeometry(arg1::DM,arg2::Integer,arg3::Integer,arg4::Vec{Float32},arg5::Vec{Float32},arg6::Union{Ptr{Ptr{PetscFVFaceGeom}},StridedArray{Ptr{PetscFVFaceGeom}},Ptr{Ptr{PetscFVFaceGeom}},Ref{Ptr{PetscFVFaceGeom}}},arg7::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - ccall((:DMPlexRestoreFaceGeometry,petscRealSingle),PetscErrorCode,(DM,Int64,Int64,Vec{Float32},Vec{Float32},Ptr{Ptr{PetscFVFaceGeom}},Ptr{Ptr{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) -end -=# -function DMSNESSetFunctionLocal(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMSNESSetFunctionLocal,petscRealSingle),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMSNESSetJacobianLocal(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMSNESSetJacobianLocal,petscRealSingle),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function SNESMultiblockSetFields(arg0::Type{Float32},arg1::SNES,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESMultiblockSetFields,petscRealSingle),PetscErrorCode,(SNES,Cstring,Int64,Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function SNESMultiblockSetIS(arg1::SNES,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::IS{Float32}) - err = ccall((:SNESMultiblockSetIS,petscRealSingle),PetscErrorCode,(SNES,Cstring,IS{Float32}),arg1,arg2,arg3) - return err -end - -function SNESMultiblockSetBlockSize(arg0::Type{Float32},arg1::SNES,arg2::Integer) - err = ccall((:SNESMultiblockSetBlockSize,petscRealSingle),PetscErrorCode,(SNES,Int64),arg1,arg2) - return err -end - -function SNESMultiblockSetType(arg0::Type{Float32},arg1::SNES,arg2::PCCompositeType) - err = ccall((:SNESMultiblockSetType,petscRealSingle),PetscErrorCode,(SNES,PCCompositeType),arg1,arg2) - return err -end - -function SNESMSRegister(arg0::Type{Float32},arg1::SNESMSType,arg2::Integer,arg3::Integer,arg4::Float32,arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg6::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg7::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:SNESMSRegister,petscRealSingle),PetscErrorCode,(Cstring,Int64,Int64,Float32,Ptr{Float32},Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function SNESMSSetType(arg0::Type{Float32},arg1::SNES,arg2::SNESMSType) - err = ccall((:SNESMSSetType,petscRealSingle),PetscErrorCode,(SNES,Cstring),arg1,arg2) - return err -end - -function SNESMSFinalizePackage(arg0::Type{Float32}) - err = ccall((:SNESMSFinalizePackage,petscRealSingle),PetscErrorCode,()) - return err -end - -function SNESMSInitializePackage(arg0::Type{Float32}) - err = ccall((:SNESMSInitializePackage,petscRealSingle),PetscErrorCode,()) - return err -end - -function SNESMSRegisterDestroy(arg0::Type{Float32}) - err = ccall((:SNESMSRegisterDestroy,petscRealSingle),PetscErrorCode,()) - return err -end - -function SNESNGMRESSetRestartType(arg0::Type{Float32},arg1::SNES,arg2::SNESNGMRESRestartType) - err = ccall((:SNESNGMRESSetRestartType,petscRealSingle),PetscErrorCode,(SNES,SNESNGMRESRestartType),arg1,arg2) - return err -end - -function SNESNGMRESSetSelectType(arg0::Type{Float32},arg1::SNES,arg2::SNESNGMRESSelectType) - err = ccall((:SNESNGMRESSetSelectType,petscRealSingle),PetscErrorCode,(SNES,SNESNGMRESSelectType),arg1,arg2) - return err -end - -function SNESNCGSetType(arg0::Type{Float32},arg1::SNES,arg2::SNESNCGType) - err = ccall((:SNESNCGSetType,petscRealSingle),PetscErrorCode,(SNES,SNESNCGType),arg1,arg2) - return err -end - -function SNESQNSetType(arg0::Type{Float32},arg1::SNES,arg2::SNESQNType) - err = ccall((:SNESQNSetType,petscRealSingle),PetscErrorCode,(SNES,SNESQNType),arg1,arg2) - return err -end - -function SNESQNSetScaleType(arg0::Type{Float32},arg1::SNES,arg2::SNESQNScaleType) - err = ccall((:SNESQNSetScaleType,petscRealSingle),PetscErrorCode,(SNES,SNESQNScaleType),arg1,arg2) - return err -end - -function SNESQNSetRestartType(arg0::Type{Float32},arg1::SNES,arg2::SNESQNRestartType) - err = ccall((:SNESQNSetRestartType,petscRealSingle),PetscErrorCode,(SNES,SNESQNRestartType),arg1,arg2) - return err -end - -function SNESNASMGetType(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{PCASMType},StridedArray{PCASMType},Ptr{PCASMType},Ref{PCASMType}}) - err = ccall((:SNESNASMGetType,petscRealSingle),PetscErrorCode,(SNES,Ptr{PCASMType}),arg1,arg2) - return err -end - -function SNESNASMSetType(arg0::Type{Float32},arg1::SNES,arg2::PCASMType) - err = ccall((:SNESNASMSetType,petscRealSingle),PetscErrorCode,(SNES,PCASMType),arg1,arg2) - return err -end - -function SNESNASMGetSubdomains(arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{SNES}},StridedArray{Ptr{SNES}},Ptr{Ptr{SNES}},Ref{Ptr{SNES}}},arg4::Union{Ptr{Ptr{VecScatter{Float32}}},StridedArray{Ptr{VecScatter{Float32}}},Ptr{Ptr{VecScatter{Float32}}},Ref{Ptr{VecScatter{Float32}}}},arg5::Union{Ptr{Ptr{VecScatter{Float32}}},StridedArray{Ptr{VecScatter{Float32}}},Ptr{Ptr{VecScatter{Float32}}},Ref{Ptr{VecScatter{Float32}}}},arg6::Union{Ptr{Ptr{VecScatter{Float32}}},StridedArray{Ptr{VecScatter{Float32}}},Ptr{Ptr{VecScatter{Float32}}},Ref{Ptr{VecScatter{Float32}}}}) - err = ccall((:SNESNASMGetSubdomains,petscRealSingle),PetscErrorCode,(SNES,Ptr{Int64},Ptr{Ptr{SNES}},Ptr{Ptr{VecScatter{Float32}}},Ptr{Ptr{VecScatter{Float32}}},Ptr{Ptr{VecScatter{Float32}}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function SNESNASMSetSubdomains(arg1::SNES,arg2::Integer,arg3::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}},arg4::Union{Ptr{VecScatter{Float32}},StridedArray{VecScatter{Float32}},Ptr{VecScatter{Float32}},Ref{VecScatter{Float32}}},arg5::Union{Ptr{VecScatter{Float32}},StridedArray{VecScatter{Float32}},Ptr{VecScatter{Float32}},Ref{VecScatter{Float32}}},arg6::Union{Ptr{VecScatter{Float32}},StridedArray{VecScatter{Float32}},Ptr{VecScatter{Float32}},Ref{VecScatter{Float32}}}) - err = ccall((:SNESNASMSetSubdomains,petscRealSingle),PetscErrorCode,(SNES,Int64,Ptr{SNES},Ptr{VecScatter{Float32}},Ptr{VecScatter{Float32}},Ptr{VecScatter{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function SNESNASMSetDamping(arg0::Type{Float32},arg1::SNES,arg2::Float32) - err = ccall((:SNESNASMSetDamping,petscRealSingle),PetscErrorCode,(SNES,Float32),arg1,arg2) - return err -end - -function SNESNASMGetDamping(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:SNESNASMGetDamping,petscRealSingle),PetscErrorCode,(SNES,Ptr{Float32}),arg1,arg2) - return err -end - -function SNESNASMGetSubdomainVecs(arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Vec{Float32}}},StridedArray{Ptr{Vec{Float32}}},Ptr{Ptr{Vec{Float32}}},Ref{Ptr{Vec{Float32}}}},arg4::Union{Ptr{Ptr{Vec{Float32}}},StridedArray{Ptr{Vec{Float32}}},Ptr{Ptr{Vec{Float32}}},Ref{Ptr{Vec{Float32}}}},arg5::Union{Ptr{Ptr{Vec{Float32}}},StridedArray{Ptr{Vec{Float32}}},Ptr{Ptr{Vec{Float32}}},Ref{Ptr{Vec{Float32}}}},arg6::Union{Ptr{Ptr{Vec{Float32}}},StridedArray{Ptr{Vec{Float32}}},Ptr{Ptr{Vec{Float32}}},Ref{Ptr{Vec{Float32}}}}) - err = ccall((:SNESNASMGetSubdomainVecs,petscRealSingle),PetscErrorCode,(SNES,Ptr{Int64},Ptr{Ptr{Vec{Float32}}},Ptr{Ptr{Vec{Float32}}},Ptr{Ptr{Vec{Float32}}},Ptr{Ptr{Vec{Float32}}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function SNESNASMSetComputeFinalJacobian(arg0::Type{Float32},arg1::SNES,arg2::PetscBool) - err = ccall((:SNESNASMSetComputeFinalJacobian,petscRealSingle),PetscErrorCode,(SNES,PetscBool),arg1,arg2) - return err -end - -function SNESCompositeSetType(arg0::Type{Float32},arg1::SNES,arg2::SNESCompositeType) - err = ccall((:SNESCompositeSetType,petscRealSingle),PetscErrorCode,(SNES,SNESCompositeType),arg1,arg2) - return err -end - -function SNESCompositeAddSNES(arg0::Type{Float32},arg1::SNES,arg2::SNESType) - err = ccall((:SNESCompositeAddSNES,petscRealSingle),PetscErrorCode,(SNES,Cstring),arg1,arg2) - return err -end - -function SNESCompositeGetSNES(arg0::Type{Float32},arg1::SNES,arg2::Integer,arg3::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}}) - err = ccall((:SNESCompositeGetSNES,petscRealSingle),PetscErrorCode,(SNES,Int64,Ptr{SNES}),arg1,arg2,arg3) - return err -end - -function SNESCompositeGetNumber(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESCompositeGetNumber,petscRealSingle),PetscErrorCode,(SNES,Ptr{Int64}),arg1,arg2) - return err -end - -function SNESCompositeSetDamping(arg0::Type{Float32},arg1::SNES,arg2::Integer,arg3::Float32) - err = ccall((:SNESCompositeSetDamping,petscRealSingle),PetscErrorCode,(SNES,Int64,Float32),arg1,arg2,arg3) - return err -end - -function SNESFASSetType(arg0::Type{Float32},arg1::SNES,arg2::SNESFASType) - err = ccall((:SNESFASSetType,petscRealSingle),PetscErrorCode,(SNES,SNESFASType),arg1,arg2) - return err -end - -function SNESFASGetType(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{SNESFASType},StridedArray{SNESFASType},Ptr{SNESFASType},Ref{SNESFASType}}) - err = ccall((:SNESFASGetType,petscRealSingle),PetscErrorCode,(SNES,Ptr{SNESFASType}),arg1,arg2) - return err -end - -function SNESFASSetLevels(arg0::Type{Float32},arg1::SNES,arg2::Integer,arg3::Union{Ptr{MPI_Comm},StridedArray{MPI_Comm},Ptr{MPI_Comm},Ref{MPI_Comm}}) - err = ccall((:SNESFASSetLevels,petscRealSingle),PetscErrorCode,(SNES,Int64,Ptr{comm_type}),arg1,arg2,arg3) - return err -end - -function SNESFASGetLevels(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:SNESFASGetLevels,petscRealSingle),PetscErrorCode,(SNES,Ptr{Int64}),arg1,arg2) - return err -end - -function SNESFASGetCycleSNES(arg0::Type{Float32},arg1::SNES,arg2::Integer,arg3::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}}) - err = ccall((:SNESFASGetCycleSNES,petscRealSingle),PetscErrorCode,(SNES,Int64,Ptr{SNES}),arg1,arg2,arg3) - return err -end - -function SNESFASSetNumberSmoothUp(arg0::Type{Float32},arg1::SNES,arg2::Integer) - err = ccall((:SNESFASSetNumberSmoothUp,petscRealSingle),PetscErrorCode,(SNES,Int64),arg1,arg2) - return err -end - -function SNESFASSetNumberSmoothDown(arg0::Type{Float32},arg1::SNES,arg2::Integer) - err = ccall((:SNESFASSetNumberSmoothDown,petscRealSingle),PetscErrorCode,(SNES,Int64),arg1,arg2) - return err -end - -function SNESFASSetCycles(arg0::Type{Float32},arg1::SNES,arg2::Integer) - err = ccall((:SNESFASSetCycles,petscRealSingle),PetscErrorCode,(SNES,Int64),arg1,arg2) - return err -end - -function SNESFASSetMonitor(arg0::Type{Float32},arg1::SNES,arg2::PetscBool) - err = ccall((:SNESFASSetMonitor,petscRealSingle),PetscErrorCode,(SNES,PetscBool),arg1,arg2) - return err -end - -function SNESFASSetLog(arg0::Type{Float32},arg1::SNES,arg2::PetscBool) - err = ccall((:SNESFASSetLog,petscRealSingle),PetscErrorCode,(SNES,PetscBool),arg1,arg2) - return err -end - -function SNESFASSetGalerkin(arg0::Type{Float32},arg1::SNES,arg2::PetscBool) - err = ccall((:SNESFASSetGalerkin,petscRealSingle),PetscErrorCode,(SNES,PetscBool),arg1,arg2) - return err -end - -function SNESFASGetGalerkin(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:SNESFASGetGalerkin,petscRealSingle),PetscErrorCode,(SNES,Ptr{PetscBool}),arg1,arg2) - return err -end - -function SNESFASCycleGetSmoother(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}}) - err = ccall((:SNESFASCycleGetSmoother,petscRealSingle),PetscErrorCode,(SNES,Ptr{SNES}),arg1,arg2) - return err -end - -function SNESFASCycleGetSmootherUp(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}}) - err = ccall((:SNESFASCycleGetSmootherUp,petscRealSingle),PetscErrorCode,(SNES,Ptr{SNES}),arg1,arg2) - return err -end - -function SNESFASCycleGetSmootherDown(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}}) - err = ccall((:SNESFASCycleGetSmootherDown,petscRealSingle),PetscErrorCode,(SNES,Ptr{SNES}),arg1,arg2) - return err -end - -function SNESFASCycleGetCorrection(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}}) - err = ccall((:SNESFASCycleGetCorrection,petscRealSingle),PetscErrorCode,(SNES,Ptr{SNES}),arg1,arg2) - return err -end - -function SNESFASCycleGetInterpolation(arg1::SNES,arg2::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:SNESFASCycleGetInterpolation,petscRealSingle),PetscErrorCode,(SNES,Ptr{Mat{Float32}}),arg1,arg2) - return err -end - -function SNESFASCycleGetRestriction(arg1::SNES,arg2::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:SNESFASCycleGetRestriction,petscRealSingle),PetscErrorCode,(SNES,Ptr{Mat{Float32}}),arg1,arg2) - return err -end - -function SNESFASCycleGetInjection(arg1::SNES,arg2::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:SNESFASCycleGetInjection,petscRealSingle),PetscErrorCode,(SNES,Ptr{Mat{Float32}}),arg1,arg2) - return err -end - -function SNESFASCycleGetRScale(arg1::SNES,arg2::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:SNESFASCycleGetRScale,petscRealSingle),PetscErrorCode,(SNES,Ptr{Vec{Float32}}),arg1,arg2) - return err -end - -function SNESFASCycleSetCycles(arg0::Type{Float32},arg1::SNES,arg2::Integer) - err = ccall((:SNESFASCycleSetCycles,petscRealSingle),PetscErrorCode,(SNES,Int64),arg1,arg2) - return err -end - -function SNESFASCycleIsFine(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:SNESFASCycleIsFine,petscRealSingle),PetscErrorCode,(SNES,Ptr{PetscBool}),arg1,arg2) - return err -end - -function SNESFASSetInterpolation(arg1::SNES,arg2::Integer,arg3::Mat{Float32}) - err = ccall((:SNESFASSetInterpolation,petscRealSingle),PetscErrorCode,(SNES,Int64,Mat{Float32}),arg1,arg2,arg3) - return err -end - -function SNESFASGetInterpolation(arg1::SNES,arg2::Integer,arg3::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:SNESFASGetInterpolation,petscRealSingle),PetscErrorCode,(SNES,Int64,Ptr{Mat{Float32}}),arg1,arg2,arg3) - return err -end - -function SNESFASSetRestriction(arg1::SNES,arg2::Integer,arg3::Mat{Float32}) - err = ccall((:SNESFASSetRestriction,petscRealSingle),PetscErrorCode,(SNES,Int64,Mat{Float32}),arg1,arg2,arg3) - return err -end - -function SNESFASGetRestriction(arg1::SNES,arg2::Integer,arg3::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:SNESFASGetRestriction,petscRealSingle),PetscErrorCode,(SNES,Int64,Ptr{Mat{Float32}}),arg1,arg2,arg3) - return err -end - -function SNESFASSetInjection(arg1::SNES,arg2::Integer,arg3::Mat{Float32}) - err = ccall((:SNESFASSetInjection,petscRealSingle),PetscErrorCode,(SNES,Int64,Mat{Float32}),arg1,arg2,arg3) - return err -end - -function SNESFASGetInjection(arg1::SNES,arg2::Integer,arg3::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}}) - err = ccall((:SNESFASGetInjection,petscRealSingle),PetscErrorCode,(SNES,Int64,Ptr{Mat{Float32}}),arg1,arg2,arg3) - return err -end - -function SNESFASSetRScale(arg1::SNES,arg2::Integer,arg3::Vec{Float32}) - err = ccall((:SNESFASSetRScale,petscRealSingle),PetscErrorCode,(SNES,Int64,Vec{Float32}),arg1,arg2,arg3) - return err -end - -function SNESFASGetRScale(arg1::SNES,arg2::Integer,arg3::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:SNESFASGetRScale,petscRealSingle),PetscErrorCode,(SNES,Int64,Ptr{Vec{Float32}}),arg1,arg2,arg3) - return err -end - -function SNESFASSetContinuation(arg0::Type{Float32},arg1::SNES,arg2::PetscBool) - err = ccall((:SNESFASSetContinuation,petscRealSingle),PetscErrorCode,(SNES,PetscBool),arg1,arg2) - return err -end - -function SNESFASGetSmoother(arg0::Type{Float32},arg1::SNES,arg2::Integer,arg3::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}}) - err = ccall((:SNESFASGetSmoother,petscRealSingle),PetscErrorCode,(SNES,Int64,Ptr{SNES}),arg1,arg2,arg3) - return err -end - -function SNESFASGetSmootherUp(arg0::Type{Float32},arg1::SNES,arg2::Integer,arg3::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}}) - err = ccall((:SNESFASGetSmootherUp,petscRealSingle),PetscErrorCode,(SNES,Int64,Ptr{SNES}),arg1,arg2,arg3) - return err -end - -function SNESFASGetSmootherDown(arg0::Type{Float32},arg1::SNES,arg2::Integer,arg3::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}}) - err = ccall((:SNESFASGetSmootherDown,petscRealSingle),PetscErrorCode,(SNES,Int64,Ptr{SNES}),arg1,arg2,arg3) - return err -end - -function SNESFASGetCoarseSolve(arg0::Type{Float32},arg1::SNES,arg2::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}}) - err = ccall((:SNESFASGetCoarseSolve,petscRealSingle),PetscErrorCode,(SNES,Ptr{SNES}),arg1,arg2) - return err -end - -function SNESFASFullSetDownSweep(arg0::Type{Float32},arg1::SNES,arg2::PetscBool) - err = ccall((:SNESFASFullSetDownSweep,petscRealSingle),PetscErrorCode,(SNES,PetscBool),arg1,arg2) - return err -end - -function SNESFASCreateCoarseVec(arg1::SNES,arg2::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:SNESFASCreateCoarseVec,petscRealSingle),PetscErrorCode,(SNES,Ptr{Vec{Float32}}),arg1,arg2) - return err -end - -function SNESFASRestrict(arg1::SNES,arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:SNESFASRestrict,petscRealSingle),PetscErrorCode,(SNES,Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function DMSNESCheckFromOptions(arg1::SNES,arg2::Vec{Float32},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:DMSNESCheckFromOptions,petscRealSingle),PetscErrorCode,(SNES,Vec{Float32},Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4) - return err -end - -function TSInitializePackage(arg0::Type{Float32}) - err = ccall((:TSInitializePackage,petscRealSingle),PetscErrorCode,()) - return err -end - -function TSCreate(arg1::MPI_Comm,arg2::Union{Ptr{TS{Float32}},StridedArray{TS{Float32}},Ptr{TS{Float32}},Ref{TS{Float32}}}) - err = ccall((:TSCreate,petscRealSingle),PetscErrorCode,(comm_type,Ptr{TS{Float32}}),arg1,arg2) - return err -end - -function TSClone(arg1::TS{Float32},arg2::Union{Ptr{TS{Float32}},StridedArray{TS{Float32}},Ptr{TS{Float32}},Ref{TS{Float32}}}) - err = ccall((:TSClone,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{TS{Float32}}),arg1,arg2) - return err -end - -function TSDestroy(arg1::Union{Ptr{TS{Float32}},StridedArray{TS{Float32}},Ptr{TS{Float32}},Ref{TS{Float32}}}) - err = ccall((:TSDestroy,petscRealSingle),PetscErrorCode,(Ptr{TS{Float32}},),arg1) - return err -end - -function TSSetProblemType(arg1::TS{Float32},arg2::TSProblemType) - err = ccall((:TSSetProblemType,petscRealSingle),PetscErrorCode,(TS{Float32},TSProblemType),arg1,arg2) - return err -end - -function TSGetProblemType(arg1::TS{Float32},arg2::Union{Ptr{TSProblemType},StridedArray{TSProblemType},Ptr{TSProblemType},Ref{TSProblemType}}) - err = ccall((:TSGetProblemType,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{TSProblemType}),arg1,arg2) - return err -end - -function TSMonitor(arg1::TS{Float32},arg2::Integer,arg3::Float32,arg4::Vec{Float32}) - err = ccall((:TSMonitor,petscRealSingle),PetscErrorCode,(TS{Float32},Int64,Float32,Vec{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function TSMonitorSet(arg1::TS{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorSet,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function TSMonitorCancel(arg1::TS{Float32}) - err = ccall((:TSMonitorCancel,petscRealSingle),PetscErrorCode,(TS{Float32},),arg1) - return err -end - -function TSSetOptionsPrefix(arg1::TS{Float32},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:TSSetOptionsPrefix,petscRealSingle),PetscErrorCode,(TS{Float32},Cstring),arg1,arg2) - return err -end - -function TSAppendOptionsPrefix(arg1::TS{Float32},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:TSAppendOptionsPrefix,petscRealSingle),PetscErrorCode,(TS{Float32},Cstring),arg1,arg2) - return err -end - -function TSGetOptionsPrefix(arg1::TS{Float32},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:TSGetOptionsPrefix,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function TSSetFromOptions(arg1::TS{Float32}) - err = ccall((:TSSetFromOptions,petscRealSingle),PetscErrorCode,(TS{Float32},),arg1) - return err -end - -function TSSetUp(arg1::TS{Float32}) - err = ccall((:TSSetUp,petscRealSingle),PetscErrorCode,(TS{Float32},),arg1) - return err -end - -function TSReset(arg1::TS{Float32}) - err = ccall((:TSReset,petscRealSingle),PetscErrorCode,(TS{Float32},),arg1) - return err -end - -function TSSetSolution(arg1::TS{Float32},arg2::Vec{Float32}) - err = ccall((:TSSetSolution,petscRealSingle),PetscErrorCode,(TS{Float32},Vec{Float32}),arg1,arg2) - return err -end - -function TSGetSolution(arg1::TS{Float32},arg2::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:TSGetSolution,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Vec{Float32}}),arg1,arg2) - return err -end - -function TSSetSaveTrajectory(arg1::TS{Float32}) - err = ccall((:TSSetSaveTrajectory,petscRealSingle),PetscErrorCode,(TS{Float32},),arg1) - return err -end - -function TSTrajectoryCreate(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{TSTrajectory},StridedArray{TSTrajectory},Ptr{TSTrajectory},Ref{TSTrajectory}}) - err = ccall((:TSTrajectoryCreate,petscRealSingle),PetscErrorCode,(comm_type,Ptr{TSTrajectory}),arg1,arg2) - return err -end - -function TSTrajectoryDestroy(arg0::Type{Float32},arg1::Union{Ptr{TSTrajectory},StridedArray{TSTrajectory},Ptr{TSTrajectory},Ref{TSTrajectory}}) - err = ccall((:TSTrajectoryDestroy,petscRealSingle),PetscErrorCode,(Ptr{TSTrajectory},),arg1) - return err -end - -function TSTrajectorySetType(arg0::Type{Float32},arg1::TSTrajectory,arg2::TSTrajectoryType) - err = ccall((:TSTrajectorySetType,petscRealSingle),PetscErrorCode,(TSTrajectory,Cstring),arg1,arg2) - return err -end - -function TSTrajectorySet(arg1::TSTrajectory,arg2::TS{Float32},arg3::Integer,arg4::Float32,arg5::Vec{Float32}) - err = ccall((:TSTrajectorySet,petscRealSingle),PetscErrorCode,(TSTrajectory,TS{Float32},Int64,Float32,Vec{Float32}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSTrajectoryGet(arg1::TSTrajectory,arg2::TS{Float32},arg3::Integer,arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:TSTrajectoryGet,petscRealSingle),PetscErrorCode,(TSTrajectory,TS{Float32},Int64,Ptr{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function TSTrajectorySetFromOptions(arg0::Type{Float32},arg1::TSTrajectory) - err = ccall((:TSTrajectorySetFromOptions,petscRealSingle),PetscErrorCode,(TSTrajectory,),arg1) - return err -end - -function TSTrajectoryRegisterAll(arg0::Type{Float32}) - err = ccall((:TSTrajectoryRegisterAll,petscRealSingle),PetscErrorCode,()) - return err -end - -function TSSetCostGradients(arg1::TS{Float32},arg2::Integer,arg3::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}},arg4::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:TSSetCostGradients,petscRealSingle),PetscErrorCode,(TS{Float32},Int64,Ptr{Vec{Float32}},Ptr{Vec{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function TSGetCostGradients(arg1::TS{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Vec{Float32}}},StridedArray{Ptr{Vec{Float32}}},Ptr{Ptr{Vec{Float32}}},Ref{Ptr{Vec{Float32}}}},arg4::Union{Ptr{Ptr{Vec{Float32}}},StridedArray{Ptr{Vec{Float32}}},Ptr{Ptr{Vec{Float32}}},Ref{Ptr{Vec{Float32}}}}) - err = ccall((:TSGetCostGradients,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Int64},Ptr{Ptr{Vec{Float32}}},Ptr{Ptr{Vec{Float32}}}),arg1,arg2,arg3,arg4) - return err -end - -function TSSetCostIntegrand(arg1::TS{Float32},arg2::Integer,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSSetCostIntegrand,petscRealSingle),PetscErrorCode,(TS{Float32},Int64,Ptr{Void},Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function TSGetCostIntegral(arg1::TS{Float32},arg2::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:TSGetCostIntegral,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Vec{Float32}}),arg1,arg2) - return err -end - -function TSAdjointSetRHSJacobian(arg1::TS{Float32},arg2::Mat{Float32},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSAdjointSetRHSJacobian,petscRealSingle),PetscErrorCode,(TS{Float32},Mat{Float32},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function TSAdjointSolve(arg1::TS{Float32}) - err = ccall((:TSAdjointSolve,petscRealSingle),PetscErrorCode,(TS{Float32},),arg1) - return err -end - -function TSAdjointSetSteps(arg1::TS{Float32},arg2::Integer) - err = ccall((:TSAdjointSetSteps,petscRealSingle),PetscErrorCode,(TS{Float32},Int64),arg1,arg2) - return err -end - -function TSAdjointComputeRHSJacobian(arg1::TS{Float32},arg2::Float32,arg3::Vec{Float32},arg4::Mat{Float32}) - err = ccall((:TSAdjointComputeRHSJacobian,petscRealSingle),PetscErrorCode,(TS{Float32},Float32,Vec{Float32},Mat{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function TSAdjointStep(arg1::TS{Float32}) - err = ccall((:TSAdjointStep,petscRealSingle),PetscErrorCode,(TS{Float32},),arg1) - return err -end - -function TSAdjointSetUp(arg1::TS{Float32}) - err = ccall((:TSAdjointSetUp,petscRealSingle),PetscErrorCode,(TS{Float32},),arg1) - return err -end - -function TSAdjointComputeDRDPFunction(arg1::TS{Float32},arg2::Float32,arg3::Vec{Float32},arg4::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:TSAdjointComputeDRDPFunction,petscRealSingle),PetscErrorCode,(TS{Float32},Float32,Vec{Float32},Ptr{Vec{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function TSAdjointComputeDRDYFunction(arg1::TS{Float32},arg2::Float32,arg3::Vec{Float32},arg4::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:TSAdjointComputeDRDYFunction,petscRealSingle),PetscErrorCode,(TS{Float32},Float32,Vec{Float32},Ptr{Vec{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function TSAdjointComputeCostIntegrand(arg1::TS{Float32},arg2::Float32,arg3::Vec{Float32},arg4::Vec{Float32}) - err = ccall((:TSAdjointComputeCostIntegrand,petscRealSingle),PetscErrorCode,(TS{Float32},Float32,Vec{Float32},Vec{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function TSSetDuration(arg1::TS{Float32},arg2::Integer,arg3::Float32) - err = ccall((:TSSetDuration,petscRealSingle),PetscErrorCode,(TS{Float32},Int64,Float32),arg1,arg2,arg3) - return err -end - -function TSGetDuration(arg1::TS{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:TSGetDuration,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Int64},Ptr{Float32}),arg1,arg2,arg3) - return err -end - -function TSSetExactFinalTime(arg1::TS{Float32},arg2::TSExactFinalTimeOption) - err = ccall((:TSSetExactFinalTime,petscRealSingle),PetscErrorCode,(TS{Float32},TSExactFinalTimeOption),arg1,arg2) - return err -end - -function TSMonitorDefault(arg1::TS{Float32},arg2::Integer,arg3::Float32,arg4::Vec{Float32},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorDefault,petscRealSingle),PetscErrorCode,(TS{Float32},Int64,Float32,Vec{Float32},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSMonitorDrawCtxCreate(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Integer,arg9::Union{Ptr{TSMonitorDrawCtx},StridedArray{TSMonitorDrawCtx},Ptr{TSMonitorDrawCtx},Ref{TSMonitorDrawCtx}}) - err = ccall((:TSMonitorDrawCtxCreate,petscRealSingle),PetscErrorCode,(comm_type,Cstring,Cstring,Cint,Cint,Cint,Cint,Int64,Ptr{TSMonitorDrawCtx}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) - return err -end - -function TSMonitorDrawCtxDestroy(arg0::Type{Float32},arg1::Union{Ptr{TSMonitorDrawCtx},StridedArray{TSMonitorDrawCtx},Ptr{TSMonitorDrawCtx},Ref{TSMonitorDrawCtx}}) - err = ccall((:TSMonitorDrawCtxDestroy,petscRealSingle),PetscErrorCode,(Ptr{TSMonitorDrawCtx},),arg1) - return err -end - -function TSMonitorDrawSolution(arg1::TS{Float32},arg2::Integer,arg3::Float32,arg4::Vec{Float32},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorDrawSolution,petscRealSingle),PetscErrorCode,(TS{Float32},Int64,Float32,Vec{Float32},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSMonitorDrawSolutionPhase(arg1::TS{Float32},arg2::Integer,arg3::Float32,arg4::Vec{Float32},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorDrawSolutionPhase,petscRealSingle),PetscErrorCode,(TS{Float32},Int64,Float32,Vec{Float32},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSMonitorDrawError(arg1::TS{Float32},arg2::Integer,arg3::Float32,arg4::Vec{Float32},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorDrawError,petscRealSingle),PetscErrorCode,(TS{Float32},Int64,Float32,Vec{Float32},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSMonitorSolutionBinary(arg1::TS{Float32},arg2::Integer,arg3::Float32,arg4::Vec{Float32},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorSolutionBinary,petscRealSingle),PetscErrorCode,(TS{Float32},Int64,Float32,Vec{Float32},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSMonitorSolutionVTK(arg1::TS{Float32},arg2::Integer,arg3::Float32,arg4::Vec{Float32},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorSolutionVTK,petscRealSingle),PetscErrorCode,(TS{Float32},Int64,Float32,Vec{Float32},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSMonitorSolutionVTKDestroy(arg0::Type{Float32},arg1::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorSolutionVTKDestroy,petscRealSingle),PetscErrorCode,(Ptr{Void},),arg1) - return err -end - -function TSStep(arg1::TS{Float32}) - err = ccall((:TSStep,petscRealSingle),PetscErrorCode,(TS{Float32},),arg1) - return err -end - -function TSEvaluateStep(arg1::TS{Float32},arg2::Integer,arg3::Vec{Float32},arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:TSEvaluateStep,petscRealSingle),PetscErrorCode,(TS{Float32},Int64,Vec{Float32},Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function TSSolve(arg1::TS{Float32},arg2::Vec{Float32}) - err = ccall((:TSSolve,petscRealSingle),PetscErrorCode,(TS{Float32},Vec{Float32}),arg1,arg2) - return err -end - -function TSGetEquationType(arg1::TS{Float32},arg2::Union{Ptr{TSEquationType},StridedArray{TSEquationType},Ptr{TSEquationType},Ref{TSEquationType}}) - err = ccall((:TSGetEquationType,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{TSEquationType}),arg1,arg2) - return err -end - -function TSSetEquationType(arg1::TS{Float32},arg2::TSEquationType) - err = ccall((:TSSetEquationType,petscRealSingle),PetscErrorCode,(TS{Float32},TSEquationType),arg1,arg2) - return err -end - -function TSGetConvergedReason(arg1::TS{Float32},arg2::Union{Ptr{TSConvergedReason},StridedArray{TSConvergedReason},Ptr{TSConvergedReason},Ref{TSConvergedReason}}) - err = ccall((:TSGetConvergedReason,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{TSConvergedReason}),arg1,arg2) - return err -end - -function TSSetConvergedReason(arg1::TS{Float32},arg2::TSConvergedReason) - err = ccall((:TSSetConvergedReason,petscRealSingle),PetscErrorCode,(TS{Float32},TSConvergedReason),arg1,arg2) - return err -end - -function TSGetSolveTime(arg1::TS{Float32},arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:TSGetSolveTime,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Float32}),arg1,arg2) - return err -end - -function TSGetSNESIterations(arg1::TS{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:TSGetSNESIterations,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Int64}),arg1,arg2) - return err -end - -function TSGetKSPIterations(arg1::TS{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:TSGetKSPIterations,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Int64}),arg1,arg2) - return err -end - -function TSGetStepRejections(arg1::TS{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:TSGetStepRejections,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Int64}),arg1,arg2) - return err -end - -function TSSetMaxStepRejections(arg1::TS{Float32},arg2::Integer) - err = ccall((:TSSetMaxStepRejections,petscRealSingle),PetscErrorCode,(TS{Float32},Int64),arg1,arg2) - return err -end - -function TSGetSNESFailures(arg1::TS{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:TSGetSNESFailures,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Int64}),arg1,arg2) - return err -end - -function TSSetMaxSNESFailures(arg1::TS{Float32},arg2::Integer) - err = ccall((:TSSetMaxSNESFailures,petscRealSingle),PetscErrorCode,(TS{Float32},Int64),arg1,arg2) - return err -end - -function TSSetErrorIfStepFails(arg1::TS{Float32},arg2::PetscBool) - err = ccall((:TSSetErrorIfStepFails,petscRealSingle),PetscErrorCode,(TS{Float32},PetscBool),arg1,arg2) - return err -end - -function TSRollBack(arg1::TS{Float32}) - err = ccall((:TSRollBack,petscRealSingle),PetscErrorCode,(TS{Float32},),arg1) - return err -end - -function TSGetTotalSteps(arg1::TS{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:TSGetTotalSteps,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Int64}),arg1,arg2) - return err -end - -function TSGetStages(arg1::TS{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Vec{Float32}}},StridedArray{Ptr{Vec{Float32}}},Ptr{Ptr{Vec{Float32}}},Ref{Ptr{Vec{Float32}}}}) - err = ccall((:TSGetStages,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Int64},Ptr{Ptr{Vec{Float32}}}),arg1,arg2,arg3) - return err -end - -function TSSetInitialTimeStep(arg1::TS{Float32},arg2::Float32,arg3::Float32) - err = ccall((:TSSetInitialTimeStep,petscRealSingle),PetscErrorCode,(TS{Float32},Float32,Float32),arg1,arg2,arg3) - return err -end - -function TSGetTimeStep(arg1::TS{Float32},arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:TSGetTimeStep,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Float32}),arg1,arg2) - return err -end - -function TSGetTime(arg1::TS{Float32},arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:TSGetTime,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Float32}),arg1,arg2) - return err -end - -function TSSetTime(arg1::TS{Float32},arg2::Float32) - err = ccall((:TSSetTime,petscRealSingle),PetscErrorCode,(TS{Float32},Float32),arg1,arg2) - return err -end - -function TSGetTimeStepNumber(arg1::TS{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:TSGetTimeStepNumber,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Int64}),arg1,arg2) - return err -end - -function TSSetTimeStep(arg1::TS{Float32},arg2::Float32) - err = ccall((:TSSetTimeStep,petscRealSingle),PetscErrorCode,(TS{Float32},Float32),arg1,arg2) - return err -end - -function TSGetPrevTime(arg1::TS{Float32},arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:TSGetPrevTime,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Float32}),arg1,arg2) - return err -end - -function TSSetRHSFunction(arg1::TS{Float32},arg2::Vec{Float32},arg3::TSRHSFunction,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSSetRHSFunction,petscRealSingle),PetscErrorCode,(TS{Float32},Vec{Float32},TSRHSFunction,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function TSGetRHSFunction(arg1::TS{Float32},arg2::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}},arg3::Union{Ptr{TSRHSFunction},StridedArray{TSRHSFunction},Ptr{TSRHSFunction},Ref{TSRHSFunction}},arg4::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:TSGetRHSFunction,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Vec{Float32}},Ptr{TSRHSFunction},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4) - return err -end - -function TSSetRHSJacobian(arg1::TS{Float32},arg2::Mat{Float32},arg3::Mat{Float32},arg4::TSRHSJacobian,arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSSetRHSJacobian,petscRealSingle),PetscErrorCode,(TS{Float32},Mat{Float32},Mat{Float32},TSRHSJacobian,Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSGetRHSJacobian(arg1::TS{Float32},arg2::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}},arg3::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}},arg4::Union{Ptr{TSRHSJacobian},StridedArray{TSRHSJacobian},Ptr{TSRHSJacobian},Ref{TSRHSJacobian}},arg5::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:TSGetRHSJacobian,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Mat{Float32}},Ptr{Mat{Float32}},Ptr{TSRHSJacobian},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSRHSJacobianSetReuse(arg1::TS{Float32},arg2::PetscBool) - err = ccall((:TSRHSJacobianSetReuse,petscRealSingle),PetscErrorCode,(TS{Float32},PetscBool),arg1,arg2) - return err -end - -function TSSetSolutionFunction(arg1::TS{Float32},arg2::TSSolutionFunction,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSSetSolutionFunction,petscRealSingle),PetscErrorCode,(TS{Float32},TSSolutionFunction,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function TSSetForcingFunction(arg1::TS{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSSetForcingFunction,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function TSSetIFunction(arg1::TS{Float32},arg2::Vec{Float32},arg3::TSIFunction,arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSSetIFunction,petscRealSingle),PetscErrorCode,(TS{Float32},Vec{Float32},TSIFunction,Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function TSGetIFunction(arg1::TS{Float32},arg2::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}},arg3::Union{Ptr{TSIFunction},StridedArray{TSIFunction},Ptr{TSIFunction},Ref{TSIFunction}},arg4::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:TSGetIFunction,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Vec{Float32}},Ptr{TSIFunction},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4) - return err -end - -function TSSetIJacobian(arg1::TS{Float32},arg2::Mat{Float32},arg3::Mat{Float32},arg4::TSIJacobian,arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSSetIJacobian,petscRealSingle),PetscErrorCode,(TS{Float32},Mat{Float32},Mat{Float32},TSIJacobian,Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSGetIJacobian(arg1::TS{Float32},arg2::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}},arg3::Union{Ptr{Mat{Float32}},StridedArray{Mat{Float32}},Ptr{Mat{Float32}},Ref{Mat{Float32}}},arg4::Union{Ptr{TSIJacobian},StridedArray{TSIJacobian},Ptr{TSIJacobian},Ref{TSIJacobian}},arg5::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:TSGetIJacobian,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Mat{Float32}},Ptr{Mat{Float32}},Ptr{TSIJacobian},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSComputeRHSFunctionLinear(arg1::TS{Float32},arg2::Float32,arg3::Vec{Float32},arg4::Vec{Float32},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSComputeRHSFunctionLinear,petscRealSingle),PetscErrorCode,(TS{Float32},Float32,Vec{Float32},Vec{Float32},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSComputeRHSJacobianConstant(arg1::TS{Float32},arg2::Float32,arg3::Vec{Float32},arg4::Mat{Float32},arg5::Mat{Float32},arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSComputeRHSJacobianConstant,petscRealSingle),PetscErrorCode,(TS{Float32},Float32,Vec{Float32},Mat{Float32},Mat{Float32},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function TSComputeIFunctionLinear(arg1::TS{Float32},arg2::Float32,arg3::Vec{Float32},arg4::Vec{Float32},arg5::Vec{Float32},arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSComputeIFunctionLinear,petscRealSingle),PetscErrorCode,(TS{Float32},Float32,Vec{Float32},Vec{Float32},Vec{Float32},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function TSComputeIJacobianConstant(arg1::TS{Float32},arg2::Float32,arg3::Vec{Float32},arg4::Vec{Float32},arg5::Float32,arg6::Mat{Float32},arg7::Mat{Float32},arg8::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSComputeIJacobianConstant,petscRealSingle),PetscErrorCode,(TS{Float32},Float32,Vec{Float32},Vec{Float32},Float32,Mat{Float32},Mat{Float32},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function TSComputeSolutionFunction(arg1::TS{Float32},arg2::Float32,arg3::Vec{Float32}) - err = ccall((:TSComputeSolutionFunction,petscRealSingle),PetscErrorCode,(TS{Float32},Float32,Vec{Float32}),arg1,arg2,arg3) - return err -end - -function TSComputeForcingFunction(arg1::TS{Float32},arg2::Float32,arg3::Vec{Float32}) - err = ccall((:TSComputeForcingFunction,petscRealSingle),PetscErrorCode,(TS{Float32},Float32,Vec{Float32}),arg1,arg2,arg3) - return err -end - -function TSComputeIJacobianDefaultColor(arg1::TS{Float32},arg2::Float32,arg3::Vec{Float32},arg4::Vec{Float32},arg5::Float32,arg6::Mat{Float32},arg7::Mat{Float32},arg8::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSComputeIJacobianDefaultColor,petscRealSingle),PetscErrorCode,(TS{Float32},Float32,Vec{Float32},Vec{Float32},Float32,Mat{Float32},Mat{Float32},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function TSSetPreStep(arg1::TS{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSSetPreStep,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Void}),arg1,arg2) - return err -end - -function TSSetPreStage(arg1::TS{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSSetPreStage,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Void}),arg1,arg2) - return err -end - -function TSSetPostStage(arg1::TS{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSSetPostStage,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Void}),arg1,arg2) - return err -end - -function TSSetPostStep(arg1::TS{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSSetPostStep,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Void}),arg1,arg2) - return err -end - -function TSPreStep(arg1::TS{Float32}) - err = ccall((:TSPreStep,petscRealSingle),PetscErrorCode,(TS{Float32},),arg1) - return err -end - -function TSPreStage(arg1::TS{Float32},arg2::Float32) - err = ccall((:TSPreStage,petscRealSingle),PetscErrorCode,(TS{Float32},Float32),arg1,arg2) - return err -end - -function TSPostStage(arg1::TS{Float32},arg2::Float32,arg3::Integer,arg4::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:TSPostStage,petscRealSingle),PetscErrorCode,(TS{Float32},Float32,Int64,Ptr{Vec{Float32}}),arg1,arg2,arg3,arg4) - return err -end - -function TSPostStep(arg1::TS{Float32}) - err = ccall((:TSPostStep,petscRealSingle),PetscErrorCode,(TS{Float32},),arg1) - return err -end - -function TSSetRetainStages(arg1::TS{Float32},arg2::PetscBool) - err = ccall((:TSSetRetainStages,petscRealSingle),PetscErrorCode,(TS{Float32},PetscBool),arg1,arg2) - return err -end - -function TSInterpolate(arg1::TS{Float32},arg2::Float32,arg3::Vec{Float32}) - err = ccall((:TSInterpolate,petscRealSingle),PetscErrorCode,(TS{Float32},Float32,Vec{Float32}),arg1,arg2,arg3) - return err -end - -function TSSetTolerances(arg1::TS{Float32},arg2::Float32,arg3::Vec{Float32},arg4::Float32,arg5::Vec{Float32}) - err = ccall((:TSSetTolerances,petscRealSingle),PetscErrorCode,(TS{Float32},Float32,Vec{Float32},Float32,Vec{Float32}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSGetTolerances(arg1::TS{Float32},arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg3::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:TSGetTolerances,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Float32},Ptr{Vec{Float32}},Ptr{Float32},Ptr{Vec{Float32}}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSErrorWeightedNormInfinity(arg1::TS{Float32},arg2::Vec{Float32},arg3::Vec{Float32},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:TSErrorWeightedNormInfinity,petscRealSingle),PetscErrorCode,(TS{Float32},Vec{Float32},Vec{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function TSErrorWeightedNorm2(arg1::TS{Float32},arg2::Vec{Float32},arg3::Vec{Float32},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:TSErrorWeightedNorm2,petscRealSingle),PetscErrorCode,(TS{Float32},Vec{Float32},Vec{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function TSErrorWeightedNorm(arg1::TS{Float32},arg2::Vec{Float32},arg3::Vec{Float32},arg4::NormType,arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:TSErrorWeightedNorm,petscRealSingle),PetscErrorCode,(TS{Float32},Vec{Float32},Vec{Float32},NormType,Ptr{Float32}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSSetCFLTimeLocal(arg1::TS{Float32},arg2::Float32) - err = ccall((:TSSetCFLTimeLocal,petscRealSingle),PetscErrorCode,(TS{Float32},Float32),arg1,arg2) - return err -end - -function TSGetCFLTime(arg1::TS{Float32},arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:TSGetCFLTime,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Float32}),arg1,arg2) - return err -end - -function TSPseudoSetTimeStep(arg1::TS{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSPseudoSetTimeStep,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function TSPseudoTimeStepDefault(arg1::TS{Float32},arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSPseudoTimeStepDefault,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Float32},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function TSPseudoComputeTimeStep(arg1::TS{Float32},arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:TSPseudoComputeTimeStep,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Float32}),arg1,arg2) - return err -end - -function TSPseudoSetMaxTimeStep(arg1::TS{Float32},arg2::Float32) - err = ccall((:TSPseudoSetMaxTimeStep,petscRealSingle),PetscErrorCode,(TS{Float32},Float32),arg1,arg2) - return err -end - -function TSPseudoSetVerifyTimeStep(arg1::TS{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSPseudoSetVerifyTimeStep,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function TSPseudoVerifyTimeStepDefault(arg1::TS{Float32},arg2::Vec{Float32},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:TSPseudoVerifyTimeStepDefault,petscRealSingle),PetscErrorCode,(TS{Float32},Vec{Float32},Ptr{Void},Ptr{Float32},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSPseudoVerifyTimeStep(arg1::TS{Float32},arg2::Vec{Float32},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:TSPseudoVerifyTimeStep,petscRealSingle),PetscErrorCode,(TS{Float32},Vec{Float32},Ptr{Float32},Ptr{PetscBool}),arg1,arg2,arg3,arg4) - return err -end - -function TSPseudoSetTimeStepIncrement(arg1::TS{Float32},arg2::Float32) - err = ccall((:TSPseudoSetTimeStepIncrement,petscRealSingle),PetscErrorCode,(TS{Float32},Float32),arg1,arg2) - return err -end - -function TSPseudoIncrementDtFromInitialDt(arg1::TS{Float32}) - err = ccall((:TSPseudoIncrementDtFromInitialDt,petscRealSingle),PetscErrorCode,(TS{Float32},),arg1) - return err -end - -function TSPythonSetType(arg1::TS{Float32},arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:TSPythonSetType,petscRealSingle),PetscErrorCode,(TS{Float32},Cstring),arg1,arg2) - return err -end - -function TSComputeRHSFunction(arg1::TS{Float32},arg2::Float32,arg3::Vec{Float32},arg4::Vec{Float32}) - err = ccall((:TSComputeRHSFunction,petscRealSingle),PetscErrorCode,(TS{Float32},Float32,Vec{Float32},Vec{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function TSComputeRHSJacobian(arg1::TS{Float32},arg2::Float32,arg3::Vec{Float32},arg4::Mat{Float32},arg5::Mat{Float32}) - err = ccall((:TSComputeRHSJacobian,petscRealSingle),PetscErrorCode,(TS{Float32},Float32,Vec{Float32},Mat{Float32},Mat{Float32}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSComputeIFunction(arg1::TS{Float32},arg2::Float32,arg3::Vec{Float32},arg4::Vec{Float32},arg5::Vec{Float32},arg6::PetscBool) - err = ccall((:TSComputeIFunction,petscRealSingle),PetscErrorCode,(TS{Float32},Float32,Vec{Float32},Vec{Float32},Vec{Float32},PetscBool),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function TSComputeIJacobian(arg1::TS{Float32},arg2::Float32,arg3::Vec{Float32},arg4::Vec{Float32},arg5::Float32,arg6::Mat{Float32},arg7::Mat{Float32},arg8::PetscBool) - err = ccall((:TSComputeIJacobian,petscRealSingle),PetscErrorCode,(TS{Float32},Float32,Vec{Float32},Vec{Float32},Float32,Mat{Float32},Mat{Float32},PetscBool),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) - return err -end - -function TSComputeLinearStability(arg1::TS{Float32},arg2::Float32,arg3::Float32,arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:TSComputeLinearStability,petscRealSingle),PetscErrorCode,(TS{Float32},Float32,Float32,Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSVISetVariableBounds(arg1::TS{Float32},arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:TSVISetVariableBounds,petscRealSingle),PetscErrorCode,(TS{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function DMTSSetRHSFunction(arg0::Type{Float32},arg1::DM,arg2::TSRHSFunction,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMTSSetRHSFunction,petscRealSingle),PetscErrorCode,(DM,TSRHSFunction,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMTSGetRHSFunction(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{TSRHSFunction},StridedArray{TSRHSFunction},Ptr{TSRHSFunction},Ref{TSRHSFunction}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:DMTSGetRHSFunction,petscRealSingle),PetscErrorCode,(DM,Ptr{TSRHSFunction},Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function DMTSSetRHSJacobian(arg0::Type{Float32},arg1::DM,arg2::TSRHSJacobian,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMTSSetRHSJacobian,petscRealSingle),PetscErrorCode,(DM,TSRHSJacobian,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMTSGetRHSJacobian(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{TSRHSJacobian},StridedArray{TSRHSJacobian},Ptr{TSRHSJacobian},Ref{TSRHSJacobian}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:DMTSGetRHSJacobian,petscRealSingle),PetscErrorCode,(DM,Ptr{TSRHSJacobian},Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function DMTSSetIFunction(arg0::Type{Float32},arg1::DM,arg2::TSIFunction,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMTSSetIFunction,petscRealSingle),PetscErrorCode,(DM,TSIFunction,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMTSGetIFunction(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{TSIFunction},StridedArray{TSIFunction},Ptr{TSIFunction},Ref{TSIFunction}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:DMTSGetIFunction,petscRealSingle),PetscErrorCode,(DM,Ptr{TSIFunction},Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function DMTSSetIJacobian(arg0::Type{Float32},arg1::DM,arg2::TSIJacobian,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMTSSetIJacobian,petscRealSingle),PetscErrorCode,(DM,TSIJacobian,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMTSGetIJacobian(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{TSIJacobian},StridedArray{TSIJacobian},Ptr{TSIJacobian},Ref{TSIJacobian}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:DMTSGetIJacobian,petscRealSingle),PetscErrorCode,(DM,Ptr{TSIJacobian},Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function DMTSSetSolutionFunction(arg0::Type{Float32},arg1::DM,arg2::TSSolutionFunction,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMTSSetSolutionFunction,petscRealSingle),PetscErrorCode,(DM,TSSolutionFunction,Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMTSGetSolutionFunction(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{TSSolutionFunction},StridedArray{TSSolutionFunction},Ptr{TSSolutionFunction},Ref{TSSolutionFunction}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:DMTSGetSolutionFunction,petscRealSingle),PetscErrorCode,(DM,Ptr{TSSolutionFunction},Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function DMTSSetForcingFunction(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMTSSetForcingFunction,petscRealSingle),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMTSGetForcingFunction(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:DMTSGetForcingFunction,petscRealSingle),PetscErrorCode,(DM,Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3) - return err -end - -function DMTSGetMinRadius(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:DMTSGetMinRadius,petscRealSingle),PetscErrorCode,(DM,Ptr{Float32}),arg1,arg2) - return err -end - -function DMTSSetMinRadius(arg0::Type{Float32},arg1::DM,arg2::Float32) - err = ccall((:DMTSSetMinRadius,petscRealSingle),PetscErrorCode,(DM,Float32),arg1,arg2) - return err -end - -function DMTSCheckFromOptions(arg1::TS{Float32},arg2::Vec{Float32},arg3::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}},arg4::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:DMTSCheckFromOptions,petscRealSingle),PetscErrorCode,(TS{Float32},Vec{Float32},Ptr{Ptr{Void}},Ptr{Ptr{Void}}),arg1,arg2,arg3,arg4) - return err -end - -function DMTSSetIFunctionLocal(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMTSSetIFunctionLocal,petscRealSingle),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMTSSetIJacobianLocal(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMTSSetIJacobianLocal,petscRealSingle),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMTSSetRHSFunctionLocal(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMTSSetRHSFunctionLocal,petscRealSingle),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMTSSetIFunctionSerialize(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMTSSetIFunctionSerialize,petscRealSingle),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMTSSetIJacobianSerialize(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMTSSetIJacobianSerialize,petscRealSingle),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMDATSSetRHSFunctionLocal(arg0::Type{Float32},arg1::DM,arg2::InsertMode,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDATSSetRHSFunctionLocal,petscRealSingle),PetscErrorCode,(DM,InsertMode,Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMDATSSetRHSJacobianLocal(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDATSSetRHSJacobianLocal,petscRealSingle),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMDATSSetIFunctionLocal(arg0::Type{Float32},arg1::DM,arg2::InsertMode,arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDATSSetIFunctionLocal,petscRealSingle),PetscErrorCode,(DM,InsertMode,Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function DMDATSSetIJacobianLocal(arg0::Type{Float32},arg1::DM,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:DMDATSSetIJacobianLocal,petscRealSingle),PetscErrorCode,(DM,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function DMPlexTSGetGeometryFVM(arg1::DM,arg2::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}},arg3::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:DMPlexTSGetGeometryFVM,petscRealSingle),PetscErrorCode,(DM,Ptr{Vec{Float32}},Ptr{Vec{Float32}},Ptr{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function TSMonitorDMDARayDestroy(arg0::Type{Float32},arg1::Union{Ptr{Ptr{Void}},StridedArray{Ptr{Void}},Ptr{Ptr{Void}},Ref{Ptr{Void}}}) - err = ccall((:TSMonitorDMDARayDestroy,petscRealSingle),PetscErrorCode,(Ptr{Ptr{Void}},),arg1) - return err -end - -function TSMonitorDMDARay(arg1::TS{Float32},arg2::Integer,arg3::Float32,arg4::Vec{Float32},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorDMDARay,petscRealSingle),PetscErrorCode,(TS{Float32},Int64,Float32,Vec{Float32},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSMonitorLGDMDARay(arg1::TS{Float32},arg2::Integer,arg3::Float32,arg4::Vec{Float32},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorLGDMDARay,petscRealSingle),PetscErrorCode,(TS{Float32},Int64,Float32,Vec{Float32},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSGetType(arg1::TS{Float32},arg2::Union{Ptr{TSType},StridedArray{TSType},Ptr{TSType},Ref{TSType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:TSGetType,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function TSSetType(arg1::TS{Float32},arg2::TSType) - err = ccall((:TSSetType,petscRealSingle),PetscErrorCode,(TS{Float32},Cstring),arg1,arg2) - return err -end - -function TSRegister(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSRegister,petscRealSingle),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function TSGetSNES(arg1::TS{Float32},arg2::Union{Ptr{SNES},StridedArray{SNES},Ptr{SNES},Ref{SNES}}) - err = ccall((:TSGetSNES,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{SNES}),arg1,arg2) - return err -end - -function TSSetSNES(arg1::TS{Float32},arg2::SNES) - err = ccall((:TSSetSNES,petscRealSingle),PetscErrorCode,(TS{Float32},SNES),arg1,arg2) - return err -end - -function TSGetKSP(arg1::TS{Float32},arg2::Union{Ptr{KSP{Float32}},StridedArray{KSP{Float32}},Ptr{KSP{Float32}},Ref{KSP{Float32}}}) - err = ccall((:TSGetKSP,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{KSP{Float32}}),arg1,arg2) - return err -end - -function TSView(arg1::TS{Float32},arg2::PetscViewer{Float32}) - err = ccall((:TSView,petscRealSingle),PetscErrorCode,(TS{Float32},PetscViewer{Float32}),arg1,arg2) - return err -end - -function TSLoad(arg1::TS{Float32},arg2::PetscViewer{Float32}) - err = ccall((:TSLoad,petscRealSingle),PetscErrorCode,(TS{Float32},PetscViewer{Float32}),arg1,arg2) - return err -end - -function TSViewFromOptions(A::TS{Float32},obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:TSViewFromOptions,petscRealSingle),PetscErrorCode,(TS{Float32},PetscObject,Cstring),A,obj,name) - return err -end - -function TSSetApplicationContext(arg1::TS{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSSetApplicationContext,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Void}),arg1,arg2) - return err -end - -function TSGetApplicationContext(arg1::TS{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSGetApplicationContext,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Void}),arg1,arg2) - return err -end - -function TSMonitorLGCtxCreate(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Integer,arg9::Union{Ptr{TSMonitorLGCtx},StridedArray{TSMonitorLGCtx},Ptr{TSMonitorLGCtx},Ref{TSMonitorLGCtx}}) - err = ccall((:TSMonitorLGCtxCreate,petscRealSingle),PetscErrorCode,(comm_type,Cstring,Cstring,Cint,Cint,Cint,Cint,Int64,Ptr{TSMonitorLGCtx}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) - return err -end - -function TSMonitorLGCtxDestroy(arg0::Type{Float32},arg1::Union{Ptr{TSMonitorLGCtx},StridedArray{TSMonitorLGCtx},Ptr{TSMonitorLGCtx},Ref{TSMonitorLGCtx}}) - err = ccall((:TSMonitorLGCtxDestroy,petscRealSingle),PetscErrorCode,(Ptr{TSMonitorLGCtx},),arg1) - return err -end - -function TSMonitorLGTimeStep(arg1::TS{Float32},arg2::Integer,arg3::Float32,arg4::Vec{Float32},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorLGTimeStep,petscRealSingle),PetscErrorCode,(TS{Float32},Int64,Float32,Vec{Float32},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSMonitorLGSolution(arg1::TS{Float32},arg2::Integer,arg3::Float32,arg4::Vec{Float32},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorLGSolution,petscRealSingle),PetscErrorCode,(TS{Float32},Int64,Float32,Vec{Float32},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSMonitorLGSetVariableNames(arg1::TS{Float32},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:TSMonitorLGSetVariableNames,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function TSMonitorLGGetVariableNames(arg1::TS{Float32},arg2::Union{Ptr{Ptr{Ptr{UInt8}}},StridedArray{Ptr{Ptr{UInt8}}},Ptr{Ptr{Ptr{UInt8}}},Ref{Ptr{Ptr{UInt8}}}}) - err = ccall((:TSMonitorLGGetVariableNames,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Ptr{Ptr{UInt8}}}),arg1,arg2) - return err -end - -function TSMonitorLGCtxSetVariableNames(arg0::Type{Float32},arg1::TSMonitorLGCtx,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:TSMonitorLGCtxSetVariableNames,petscRealSingle),PetscErrorCode,(TSMonitorLGCtx,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function TSMonitorLGSetDisplayVariables(arg1::TS{Float32},arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:TSMonitorLGSetDisplayVariables,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function TSMonitorLGCtxSetDisplayVariables(arg0::Type{Float32},arg1::TSMonitorLGCtx,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:TSMonitorLGCtxSetDisplayVariables,petscRealSingle),PetscErrorCode,(TSMonitorLGCtx,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function TSMonitorLGSetTransform(arg1::TS{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorLGSetTransform,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function TSMonitorLGCtxSetTransform(arg0::Type{Float32},arg1::TSMonitorLGCtx,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorLGCtxSetTransform,petscRealSingle),PetscErrorCode,(TSMonitorLGCtx,Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function TSMonitorLGError(arg1::TS{Float32},arg2::Integer,arg3::Float32,arg4::Vec{Float32},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorLGError,petscRealSingle),PetscErrorCode,(TS{Float32},Int64,Float32,Vec{Float32},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSMonitorLGSNESIterations(arg1::TS{Float32},arg2::Integer,arg3::Float32,arg4::Vec{Float32},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorLGSNESIterations,petscRealSingle),PetscErrorCode,(TS{Float32},Int64,Float32,Vec{Float32},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSMonitorLGKSPIterations(arg1::TS{Float32},arg2::Integer,arg3::Float32,arg4::Vec{Float32},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorLGKSPIterations,petscRealSingle),PetscErrorCode,(TS{Float32},Int64,Float32,Vec{Float32},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSMonitorEnvelopeCtxCreate(arg1::TS{Float32},arg2::Union{Ptr{TSMonitorEnvelopeCtx},StridedArray{TSMonitorEnvelopeCtx},Ptr{TSMonitorEnvelopeCtx},Ref{TSMonitorEnvelopeCtx}}) - err = ccall((:TSMonitorEnvelopeCtxCreate,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{TSMonitorEnvelopeCtx}),arg1,arg2) - return err -end - -function TSMonitorEnvelope(arg1::TS{Float32},arg2::Integer,arg3::Float32,arg4::Vec{Float32},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorEnvelope,petscRealSingle),PetscErrorCode,(TS{Float32},Int64,Float32,Vec{Float32},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSMonitorEnvelopeGetBounds(arg1::TS{Float32},arg2::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}},arg3::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:TSMonitorEnvelopeGetBounds,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Vec{Float32}},Ptr{Vec{Float32}}),arg1,arg2,arg3) - return err -end - -function TSMonitorEnvelopeCtxDestroy(arg0::Type{Float32},arg1::Union{Ptr{TSMonitorEnvelopeCtx},StridedArray{TSMonitorEnvelopeCtx},Ptr{TSMonitorEnvelopeCtx},Ref{TSMonitorEnvelopeCtx}}) - err = ccall((:TSMonitorEnvelopeCtxDestroy,petscRealSingle),PetscErrorCode,(Ptr{TSMonitorEnvelopeCtx},),arg1) - return err -end - -function TSMonitorSPEigCtxCreate(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg4::Integer,arg5::Integer,arg6::Integer,arg7::Integer,arg8::Integer,arg9::Union{Ptr{TSMonitorSPEigCtx},StridedArray{TSMonitorSPEigCtx},Ptr{TSMonitorSPEigCtx},Ref{TSMonitorSPEigCtx}}) - err = ccall((:TSMonitorSPEigCtxCreate,petscRealSingle),PetscErrorCode,(comm_type,Cstring,Cstring,Cint,Cint,Cint,Cint,Int64,Ptr{TSMonitorSPEigCtx}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) - return err -end - -function TSMonitorSPEigCtxDestroy(arg0::Type{Float32},arg1::Union{Ptr{TSMonitorSPEigCtx},StridedArray{TSMonitorSPEigCtx},Ptr{TSMonitorSPEigCtx},Ref{TSMonitorSPEigCtx}}) - err = ccall((:TSMonitorSPEigCtxDestroy,petscRealSingle),PetscErrorCode,(Ptr{TSMonitorSPEigCtx},),arg1) - return err -end - -function TSMonitorSPEig(arg1::TS{Float32},arg2::Integer,arg3::Float32,arg4::Vec{Float32},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSMonitorSPEig,petscRealSingle),PetscErrorCode,(TS{Float32},Int64,Float32,Vec{Float32},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TSSetEventMonitor(arg1::TS{Float32},arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg7::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSSetEventMonitor,petscRealSingle),PetscErrorCode,(TS{Float32},Int64,Ptr{Int64},Ptr{PetscBool},Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function TSSetEventTolerances(arg1::TS{Float32},arg2::Float32,arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:TSSetEventTolerances,petscRealSingle),PetscErrorCode,(TS{Float32},Float32,Ptr{Float32}),arg1,arg2,arg3) - return err -end - -function TSSSPSetType(arg1::TS{Float32},arg2::TSSSPType) - err = ccall((:TSSSPSetType,petscRealSingle),PetscErrorCode,(TS{Float32},Cstring),arg1,arg2) - return err -end - -function TSSSPGetType(arg1::TS{Float32},arg2::Union{Ptr{TSSSPType},StridedArray{TSSSPType},Ptr{TSSSPType},Ref{TSSSPType}}) - (arg2_,tmp) = symbol_get_before(arg2) - err = ccall((:TSSSPGetType,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Ptr{UInt8}}),arg1,arg2_) - symbol_get_after(arg2_,arg2) - return err -end - -function TSSSPSetNumStages(arg1::TS{Float32},arg2::Integer) - err = ccall((:TSSSPSetNumStages,petscRealSingle),PetscErrorCode,(TS{Float32},Int64),arg1,arg2) - return err -end - -function TSSSPGetNumStages(arg1::TS{Float32},arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:TSSSPGetNumStages,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Int64}),arg1,arg2) - return err -end - -function TSSSPFinalizePackage(arg0::Type{Float32}) - err = ccall((:TSSSPFinalizePackage,petscRealSingle),PetscErrorCode,()) - return err -end - -function TSSSPInitializePackage(arg0::Type{Float32}) - err = ccall((:TSSSPInitializePackage,petscRealSingle),PetscErrorCode,()) - return err -end - -function TSGetAdapt(arg1::TS{Float32},arg2::Union{Ptr{TSAdapt},StridedArray{TSAdapt},Ptr{TSAdapt},Ref{TSAdapt}}) - err = ccall((:TSGetAdapt,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{TSAdapt}),arg1,arg2) - return err -end - -function TSAdaptRegister(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSAdaptRegister,petscRealSingle),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function TSAdaptInitializePackage(arg0::Type{Float32}) - err = ccall((:TSAdaptInitializePackage,petscRealSingle),PetscErrorCode,()) - return err -end - -function TSAdaptFinalizePackage(arg0::Type{Float32}) - err = ccall((:TSAdaptFinalizePackage,petscRealSingle),PetscErrorCode,()) - return err -end - -function TSAdaptCreate(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{TSAdapt},StridedArray{TSAdapt},Ptr{TSAdapt},Ref{TSAdapt}}) - err = ccall((:TSAdaptCreate,petscRealSingle),PetscErrorCode,(comm_type,Ptr{TSAdapt}),arg1,arg2) - return err -end - -function TSAdaptSetType(arg0::Type{Float32},arg1::TSAdapt,arg2::TSAdaptType) - err = ccall((:TSAdaptSetType,petscRealSingle),PetscErrorCode,(TSAdapt,Cstring),arg1,arg2) - return err -end - -function TSAdaptSetOptionsPrefix(arg0::Type{Float32},arg1::TSAdapt,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:TSAdaptSetOptionsPrefix,petscRealSingle),PetscErrorCode,(TSAdapt,Cstring),arg1,arg2) - return err -end - -function TSAdaptCandidatesClear(arg0::Type{Float32},arg1::TSAdapt) - err = ccall((:TSAdaptCandidatesClear,petscRealSingle),PetscErrorCode,(TSAdapt,),arg1) - return err -end - -function TSAdaptCandidateAdd(arg0::Type{Float32},arg1::TSAdapt,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg3::Integer,arg4::Integer,arg5::Float32,arg6::Float32,arg7::PetscBool) - err = ccall((:TSAdaptCandidateAdd,petscRealSingle),PetscErrorCode,(TSAdapt,Cstring,Int64,Int64,Float32,Float32,PetscBool),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function TSAdaptCandidatesGet(arg0::Type{Float32},arg1::TSAdapt,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg4::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg5::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}},arg6::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}}) - err = ccall((:TSAdaptCandidatesGet,petscRealSingle),PetscErrorCode,(TSAdapt,Ptr{Int64},Ptr{Ptr{Int64}},Ptr{Ptr{Int64}},Ptr{Ptr{Float32}},Ptr{Ptr{Float32}}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function TSAdaptChoose(arg1::TSAdapt,arg2::TS{Float32},arg3::Float32,arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg6::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:TSAdaptChoose,petscRealSingle),PetscErrorCode,(TSAdapt,TS{Float32},Float32,Ptr{Int64},Ptr{Float32},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function TSAdaptCheckStage(arg1::TSAdapt,arg2::TS{Float32},arg3::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:TSAdaptCheckStage,petscRealSingle),PetscErrorCode,(TSAdapt,TS{Float32},Ptr{PetscBool}),arg1,arg2,arg3) - return err -end - -function TSAdaptView(arg1::TSAdapt,arg2::PetscViewer{Float32}) - err = ccall((:TSAdaptView,petscRealSingle),PetscErrorCode,(TSAdapt,PetscViewer{Float32}),arg1,arg2) - return err -end - -function TSAdaptLoad(arg1::TSAdapt,arg2::PetscViewer{Float32}) - err = ccall((:TSAdaptLoad,petscRealSingle),PetscErrorCode,(TSAdapt,PetscViewer{Float32}),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function TSAdaptSetFromOptions(arg0::Type{Float32},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::TSAdapt) - ccall((:TSAdaptSetFromOptions,petscRealSingle),PetscErrorCode,(Ptr{PetscOptions},TSAdapt),arg1,arg2) -end -=# -function TSAdaptReset(arg0::Type{Float32},arg1::TSAdapt) - err = ccall((:TSAdaptReset,petscRealSingle),PetscErrorCode,(TSAdapt,),arg1) - return err -end - -function TSAdaptDestroy(arg0::Type{Float32},arg1::Union{Ptr{TSAdapt},StridedArray{TSAdapt},Ptr{TSAdapt},Ref{TSAdapt}}) - err = ccall((:TSAdaptDestroy,petscRealSingle),PetscErrorCode,(Ptr{TSAdapt},),arg1) - return err -end - -function TSAdaptSetMonitor(arg0::Type{Float32},arg1::TSAdapt,arg2::PetscBool) - err = ccall((:TSAdaptSetMonitor,petscRealSingle),PetscErrorCode,(TSAdapt,PetscBool),arg1,arg2) - return err -end - -function TSAdaptSetStepLimits(arg0::Type{Float32},arg1::TSAdapt,arg2::Float32,arg3::Float32) - err = ccall((:TSAdaptSetStepLimits,petscRealSingle),PetscErrorCode,(TSAdapt,Float32,Float32),arg1,arg2,arg3) - return err -end - -function TSAdaptSetCheckStage(arg0::Type{Float32},arg1::TSAdapt,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSAdaptSetCheckStage,petscRealSingle),PetscErrorCode,(TSAdapt,Ptr{Void}),arg1,arg2) - return err -end - -function TSGLAdaptRegister(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSGLAdaptRegister,petscRealSingle),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function TSGLAdaptInitializePackage(arg0::Type{Float32}) - err = ccall((:TSGLAdaptInitializePackage,petscRealSingle),PetscErrorCode,()) - return err -end - -function TSGLAdaptFinalizePackage(arg0::Type{Float32}) - err = ccall((:TSGLAdaptFinalizePackage,petscRealSingle),PetscErrorCode,()) - return err -end - -function TSGLAdaptCreate(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{TSGLAdapt},StridedArray{TSGLAdapt},Ptr{TSGLAdapt},Ref{TSGLAdapt}}) - err = ccall((:TSGLAdaptCreate,petscRealSingle),PetscErrorCode,(comm_type,Ptr{TSGLAdapt}),arg1,arg2) - return err -end - -function TSGLAdaptSetType(arg0::Type{Float32},arg1::TSGLAdapt,arg2::TSGLAdaptType) - err = ccall((:TSGLAdaptSetType,petscRealSingle),PetscErrorCode,(TSGLAdapt,Cstring),arg1,arg2) - return err -end - -function TSGLAdaptSetOptionsPrefix(arg0::Type{Float32},arg1::TSGLAdapt,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:TSGLAdaptSetOptionsPrefix,petscRealSingle),PetscErrorCode,(TSGLAdapt,Cstring),arg1,arg2) - return err -end - -function TSGLAdaptChoose(arg0::Type{Float32},arg1::TSGLAdapt,arg2::Integer,arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg6::Integer,arg7::Float32,arg8::Float32,arg9::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg10::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg11::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:TSGLAdaptChoose,petscRealSingle),PetscErrorCode,(TSGLAdapt,Int64,Ptr{Int64},Ptr{Float32},Ptr{Float32},Int64,Float32,Float32,Ptr{Int64},Ptr{Float32},Ptr{PetscBool}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) - return err -end - -function TSGLAdaptView(arg1::TSGLAdapt,arg2::PetscViewer{Float32}) - err = ccall((:TSGLAdaptView,petscRealSingle),PetscErrorCode,(TSGLAdapt,PetscViewer{Float32}),arg1,arg2) - return err -end - -#= skipping function with undefined symbols: - function TSGLAdaptSetFromOptions(arg0::Type{Float32},arg1::Union{Ptr{PetscOptions},StridedArray{PetscOptions},Ptr{PetscOptions},Ref{PetscOptions}},arg2::TSGLAdapt) - ccall((:TSGLAdaptSetFromOptions,petscRealSingle),PetscErrorCode,(Ptr{PetscOptions},TSGLAdapt),arg1,arg2) -end -=# -function TSGLAdaptDestroy(arg0::Type{Float32},arg1::Union{Ptr{TSGLAdapt},StridedArray{TSGLAdapt},Ptr{TSGLAdapt},Ref{TSGLAdapt}}) - err = ccall((:TSGLAdaptDestroy,petscRealSingle),PetscErrorCode,(Ptr{TSGLAdapt},),arg1) - return err -end - -function TSGLAcceptRegister(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::TSGLAcceptFunction) - err = ccall((:TSGLAcceptRegister,petscRealSingle),PetscErrorCode,(Cstring,TSGLAcceptFunction),arg1,arg2) - return err -end - -function TSGLRegister(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSGLRegister,petscRealSingle),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function TSGLInitializePackage(arg0::Type{Float32}) - err = ccall((:TSGLInitializePackage,petscRealSingle),PetscErrorCode,()) - return err -end - -function TSGLFinalizePackage(arg0::Type{Float32}) - err = ccall((:TSGLFinalizePackage,petscRealSingle),PetscErrorCode,()) - return err -end - -function TSGLSetType(arg1::TS{Float32},arg2::TSGLType) - err = ccall((:TSGLSetType,petscRealSingle),PetscErrorCode,(TS{Float32},Cstring),arg1,arg2) - return err -end - -function TSGLGetAdapt(arg1::TS{Float32},arg2::Union{Ptr{TSGLAdapt},StridedArray{TSGLAdapt},Ptr{TSGLAdapt},Ref{TSGLAdapt}}) - err = ccall((:TSGLGetAdapt,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{TSGLAdapt}),arg1,arg2) - return err -end - -function TSGLSetAcceptType(arg1::TS{Float32},arg2::TSGLAcceptType) - err = ccall((:TSGLSetAcceptType,petscRealSingle),PetscErrorCode,(TS{Float32},Cstring),arg1,arg2) - return err -end - -function TSEIMEXSetMaxRows(ts::TS{Float32},arg1::Integer) - err = ccall((:TSEIMEXSetMaxRows,petscRealSingle),PetscErrorCode,(TS{Float32},Int64),ts,arg1) - return err -end - -function TSEIMEXSetRowCol(ts::TS{Float32},arg1::Integer,arg2::Integer) - err = ccall((:TSEIMEXSetRowCol,petscRealSingle),PetscErrorCode,(TS{Float32},Int64,Int64),ts,arg1,arg2) - return err -end - -function TSEIMEXSetOrdAdapt(arg1::TS{Float32},arg2::PetscBool) - err = ccall((:TSEIMEXSetOrdAdapt,petscRealSingle),PetscErrorCode,(TS{Float32},PetscBool),arg1,arg2) - return err -end - -function TSRKGetType(ts::TS{Float32},arg1::Union{Ptr{TSRKType},StridedArray{TSRKType},Ptr{TSRKType},Ref{TSRKType}}) - (arg1_,tmp) = symbol_get_before(arg1) - err = ccall((:TSRKGetType,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Ptr{UInt8}}),ts,arg1_) - symbol_get_after(arg1_,arg1) - return err -end - -function TSRKSetType(ts::TS{Float32},arg1::TSRKType) - err = ccall((:TSRKSetType,petscRealSingle),PetscErrorCode,(TS{Float32},Cstring),ts,arg1) - return err -end - -function TSRKSetFullyImplicit(arg1::TS{Float32},arg2::PetscBool) - err = ccall((:TSRKSetFullyImplicit,petscRealSingle),PetscErrorCode,(TS{Float32},PetscBool),arg1,arg2) - return err -end - -function TSRKRegister(arg0::Type{Float32},arg1::TSRKType,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg6::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg7::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg8::Integer,arg9::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:TSRKRegister,petscRealSingle),PetscErrorCode,(Cstring,Int64,Int64,Ptr{Float32},Ptr{Float32},Ptr{Float32},Ptr{Float32},Int64,Ptr{Float32}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) - return err -end - -function TSRKFinalizePackage(arg0::Type{Float32}) - err = ccall((:TSRKFinalizePackage,petscRealSingle),PetscErrorCode,()) - return err -end - -function TSRKInitializePackage(arg0::Type{Float32}) - err = ccall((:TSRKInitializePackage,petscRealSingle),PetscErrorCode,()) - return err -end - -function TSRKRegisterDestroy(arg0::Type{Float32}) - err = ccall((:TSRKRegisterDestroy,petscRealSingle),PetscErrorCode,()) - return err -end - -function TSARKIMEXGetType(ts::TS{Float32},arg1::Union{Ptr{TSARKIMEXType},StridedArray{TSARKIMEXType},Ptr{TSARKIMEXType},Ref{TSARKIMEXType}}) - (arg1_,tmp) = symbol_get_before(arg1) - err = ccall((:TSARKIMEXGetType,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Ptr{UInt8}}),ts,arg1_) - symbol_get_after(arg1_,arg1) - return err -end - -function TSARKIMEXSetType(ts::TS{Float32},arg1::TSARKIMEXType) - err = ccall((:TSARKIMEXSetType,petscRealSingle),PetscErrorCode,(TS{Float32},Cstring),ts,arg1) - return err -end - -function TSARKIMEXSetFullyImplicit(arg1::TS{Float32},arg2::PetscBool) - err = ccall((:TSARKIMEXSetFullyImplicit,petscRealSingle),PetscErrorCode,(TS{Float32},PetscBool),arg1,arg2) - return err -end - -function TSARKIMEXRegister(arg0::Type{Float32},arg1::TSARKIMEXType,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg6::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg7::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg8::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg9::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg10::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg11::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg12::Integer,arg13::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg14::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:TSARKIMEXRegister,petscRealSingle),PetscErrorCode,(Cstring,Int64,Int64,Ptr{Float32},Ptr{Float32},Ptr{Float32},Ptr{Float32},Ptr{Float32},Ptr{Float32},Ptr{Float32},Ptr{Float32},Int64,Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14) - return err -end - -function TSARKIMEXFinalizePackage(arg0::Type{Float32}) - err = ccall((:TSARKIMEXFinalizePackage,petscRealSingle),PetscErrorCode,()) - return err -end - -function TSARKIMEXInitializePackage(arg0::Type{Float32}) - err = ccall((:TSARKIMEXInitializePackage,petscRealSingle),PetscErrorCode,()) - return err -end - -function TSARKIMEXRegisterDestroy(arg0::Type{Float32}) - err = ccall((:TSARKIMEXRegisterDestroy,petscRealSingle),PetscErrorCode,()) - return err -end - -function TSRosWGetType(ts::TS{Float32},arg1::Union{Ptr{TSRosWType},StridedArray{TSRosWType},Ptr{TSRosWType},Ref{TSRosWType}}) - (arg1_,tmp) = symbol_get_before(arg1) - err = ccall((:TSRosWGetType,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Ptr{UInt8}}),ts,arg1_) - symbol_get_after(arg1_,arg1) - return err -end - -function TSRosWSetType(ts::TS{Float32},arg1::TSRosWType) - err = ccall((:TSRosWSetType,petscRealSingle),PetscErrorCode,(TS{Float32},Cstring),ts,arg1) - return err -end - -function TSRosWSetRecomputeJacobian(arg1::TS{Float32},arg2::PetscBool) - err = ccall((:TSRosWSetRecomputeJacobian,petscRealSingle),PetscErrorCode,(TS{Float32},PetscBool),arg1,arg2) - return err -end - -function TSRosWRegister(arg0::Type{Float32},arg1::TSRosWType,arg2::Integer,arg3::Integer,arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg6::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg7::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg8::Integer,arg9::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:TSRosWRegister,petscRealSingle),PetscErrorCode,(Cstring,Int64,Int64,Ptr{Float32},Ptr{Float32},Ptr{Float32},Ptr{Float32},Int64,Ptr{Float32}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) - return err -end - -function TSRosWRegisterRos4(arg0::Type{Float32},arg1::TSRosWType,arg2::Float32,arg3::Float32,arg4::Float32,arg5::Float32,arg6::Float32) - err = ccall((:TSRosWRegisterRos4,petscRealSingle),PetscErrorCode,(Cstring,Float32,Float32,Float32,Float32,Float32),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function TSRosWFinalizePackage(arg0::Type{Float32}) - err = ccall((:TSRosWFinalizePackage,petscRealSingle),PetscErrorCode,()) - return err -end - -function TSRosWInitializePackage(arg0::Type{Float32}) - err = ccall((:TSRosWInitializePackage,petscRealSingle),PetscErrorCode,()) - return err -end - -function TSRosWRegisterDestroy(arg0::Type{Float32}) - err = ccall((:TSRosWRegisterDestroy,petscRealSingle),PetscErrorCode,()) - return err -end - -function TSThetaSetTheta(arg1::TS{Float32},arg2::Float32) - err = ccall((:TSThetaSetTheta,petscRealSingle),PetscErrorCode,(TS{Float32},Float32),arg1,arg2) - return err -end - -function TSThetaGetTheta(arg1::TS{Float32},arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:TSThetaGetTheta,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Float32}),arg1,arg2) - return err -end - -function TSThetaGetEndpoint(arg1::TS{Float32},arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:TSThetaGetEndpoint,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{PetscBool}),arg1,arg2) - return err -end - -function TSThetaSetEndpoint(arg1::TS{Float32},arg2::PetscBool) - err = ccall((:TSThetaSetEndpoint,petscRealSingle),PetscErrorCode,(TS{Float32},PetscBool),arg1,arg2) - return err -end - -function TSAlphaSetAdapt(arg1::TS{Float32},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSAlphaSetAdapt,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function TSAlphaAdaptDefault(arg1::TS{Float32},arg2::Float32,arg3::Vec{Float32},arg4::Vec{Float32},arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg6::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}},arg7::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TSAlphaAdaptDefault,petscRealSingle),PetscErrorCode,(TS{Float32},Float32,Vec{Float32},Vec{Float32},Ptr{Float32},Ptr{PetscBool},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function TSAlphaSetRadius(arg1::TS{Float32},arg2::Float32) - err = ccall((:TSAlphaSetRadius,petscRealSingle),PetscErrorCode,(TS{Float32},Float32),arg1,arg2) - return err -end - -function TSAlphaSetParams(arg1::TS{Float32},arg2::Float32,arg3::Float32,arg4::Float32) - err = ccall((:TSAlphaSetParams,petscRealSingle),PetscErrorCode,(TS{Float32},Float32,Float32,Float32),arg1,arg2,arg3,arg4) - return err -end - -function TSAlphaGetParams(arg1::TS{Float32},arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:TSAlphaGetParams,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{Float32},Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function TSSetDM(arg1::TS{Float32},arg2::DM) - err = ccall((:TSSetDM,petscRealSingle),PetscErrorCode,(TS{Float32},DM),arg1,arg2) - return err -end - -function TSGetDM(arg1::TS{Float32},arg2::Union{Ptr{DM},StridedArray{DM},Ptr{DM},Ref{DM}}) - err = ccall((:TSGetDM,petscRealSingle),PetscErrorCode,(TS{Float32},Ptr{DM}),arg1,arg2) - return err -end - -function SNESTSFormFunction(arg1::SNES,arg2::Vec{Float32},arg3::Vec{Float32},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESTSFormFunction,petscRealSingle),PetscErrorCode,(SNES,Vec{Float32},Vec{Float32},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function SNESTSFormJacobian(arg1::SNES,arg2::Vec{Float32},arg3::Mat{Float32},arg4::Mat{Float32},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:SNESTSFormJacobian,petscRealSingle),PetscErrorCode,(SNES,Vec{Float32},Mat{Float32},Mat{Float32},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function VecFischer(arg1::Vec{Float32},arg2::Vec{Float32},arg3::Vec{Float32},arg4::Vec{Float32},arg5::Vec{Float32}) - err = ccall((:VecFischer,petscRealSingle),PetscErrorCode,(Vec{Float32},Vec{Float32},Vec{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function VecSFischer(arg1::Vec{Float32},arg2::Vec{Float32},arg3::Vec{Float32},arg4::Vec{Float32},arg5::Float32,arg6::Vec{Float32}) - err = ccall((:VecSFischer,petscRealSingle),PetscErrorCode,(Vec{Float32},Vec{Float32},Vec{Float32},Vec{Float32},Float32,Vec{Float32}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function MatDFischer(arg1::Mat{Float32},arg2::Vec{Float32},arg3::Vec{Float32},arg4::Vec{Float32},arg5::Vec{Float32},arg6::Vec{Float32},arg7::Vec{Float32},arg8::Vec{Float32},arg9::Vec{Float32}) - err = ccall((:MatDFischer,petscRealSingle),PetscErrorCode,(Mat{Float32},Vec{Float32},Vec{Float32},Vec{Float32},Vec{Float32},Vec{Float32},Vec{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) - return err -end - -function MatDSFischer(arg1::Mat{Float32},arg2::Vec{Float32},arg3::Vec{Float32},arg4::Vec{Float32},arg5::Vec{Float32},arg6::Float32,arg7::Vec{Float32},arg8::Vec{Float32},arg9::Vec{Float32},arg10::Vec{Float32},arg11::Vec{Float32}) - err = ccall((:MatDSFischer,petscRealSingle),PetscErrorCode,(Mat{Float32},Vec{Float32},Vec{Float32},Vec{Float32},Vec{Float32},Float32,Vec{Float32},Vec{Float32},Vec{Float32},Vec{Float32},Vec{Float32}),arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) - return err -end - -function TaoInitializePackage(arg0::Type{Float32}) - err = ccall((:TaoInitializePackage,petscRealSingle),PetscErrorCode,()) - return err -end - -function TaoFinalizePackage(arg0::Type{Float32}) - err = ccall((:TaoFinalizePackage,petscRealSingle),PetscErrorCode,()) - return err -end - -function TaoCreate(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{Tao},StridedArray{Tao},Ptr{Tao},Ref{Tao}}) - err = ccall((:TaoCreate,petscRealSingle),PetscErrorCode,(comm_type,Ptr{Tao}),arg1,arg2) - return err -end - -function TaoSetFromOptions(arg0::Type{Float32},arg1::Tao) - err = ccall((:TaoSetFromOptions,petscRealSingle),PetscErrorCode,(Tao,),arg1) - return err -end - -function TaoSetUp(arg0::Type{Float32},arg1::Tao) - err = ccall((:TaoSetUp,petscRealSingle),PetscErrorCode,(Tao,),arg1) - return err -end - -function TaoSetType(arg0::Type{Float32},arg1::Tao,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:TaoSetType,petscRealSingle),PetscErrorCode,(Tao,Cstring),arg1,arg2) - return err -end - -function TaoGetType(arg0::Type{Float32},arg1::Tao,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:TaoGetType,petscRealSingle),PetscErrorCode,(Tao,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function TaoSetApplicationContext(arg0::Type{Float32},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetApplicationContext,petscRealSingle),PetscErrorCode,(Tao,Ptr{Void}),arg1,arg2) - return err -end - -function TaoGetApplicationContext(arg0::Type{Float32},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoGetApplicationContext,petscRealSingle),PetscErrorCode,(Tao,Ptr{Void}),arg1,arg2) - return err -end - -function TaoDestroy(arg0::Type{Float32},arg1::Union{Ptr{Tao},StridedArray{Tao},Ptr{Tao},Ref{Tao}}) - err = ccall((:TaoDestroy,petscRealSingle),PetscErrorCode,(Ptr{Tao},),arg1) - return err -end - -function TaoSetOptionsPrefix(arg0::Type{Float32},arg1::Tao,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:TaoSetOptionsPrefix,petscRealSingle),PetscErrorCode,(Tao,Cstring),arg1,arg2) - return err -end - -function TaoView(arg1::Tao,arg2::PetscViewer{Float32}) - err = ccall((:TaoView,petscRealSingle),PetscErrorCode,(Tao,PetscViewer{Float32}),arg1,arg2) - return err -end - -function TaoViewFromOptions(arg0::Type{Float32},A::Tao,obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:TaoViewFromOptions,petscRealSingle),PetscErrorCode,(Tao,PetscObject,Cstring),A,obj,name) - return err -end - -function TaoSolve(arg0::Type{Float32},arg1::Tao) - err = ccall((:TaoSolve,petscRealSingle),PetscErrorCode,(Tao,),arg1) - return err -end - -function TaoRegister(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoRegister,petscRealSingle),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function TaoRegisterDestroy(arg0::Type{Float32}) - err = ccall((:TaoRegisterDestroy,petscRealSingle),PetscErrorCode,()) - return err -end - -function TaoGetConvergedReason(arg0::Type{Float32},arg1::Tao,arg2::Union{Ptr{TaoConvergedReason},StridedArray{TaoConvergedReason},Ptr{TaoConvergedReason},Ref{TaoConvergedReason}}) - err = ccall((:TaoGetConvergedReason,petscRealSingle),PetscErrorCode,(Tao,Ptr{TaoConvergedReason}),arg1,arg2) - return err -end - -function TaoGetSolutionStatus(arg0::Type{Float32},arg1::Tao,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg6::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg7::Union{Ptr{TaoConvergedReason},StridedArray{TaoConvergedReason},Ptr{TaoConvergedReason},Ref{TaoConvergedReason}}) - err = ccall((:TaoGetSolutionStatus,petscRealSingle),PetscErrorCode,(Tao,Ptr{Int64},Ptr{Float32},Ptr{Float32},Ptr{Float32},Ptr{Float32},Ptr{TaoConvergedReason}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function TaoSetConvergedReason(arg0::Type{Float32},arg1::Tao,arg2::TaoConvergedReason) - err = ccall((:TaoSetConvergedReason,petscRealSingle),PetscErrorCode,(Tao,TaoConvergedReason),arg1,arg2) - return err -end - -function TaoSetInitialVector(arg1::Tao,arg2::Vec{Float32}) - err = ccall((:TaoSetInitialVector,petscRealSingle),PetscErrorCode,(Tao,Vec{Float32}),arg1,arg2) - return err -end - -function TaoGetSolutionVector(arg1::Tao,arg2::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:TaoGetSolutionVector,petscRealSingle),PetscErrorCode,(Tao,Ptr{Vec{Float32}}),arg1,arg2) - return err -end - -function TaoGetGradientVector(arg1::Tao,arg2::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:TaoGetGradientVector,petscRealSingle),PetscErrorCode,(Tao,Ptr{Vec{Float32}}),arg1,arg2) - return err -end - -function TaoSetObjectiveRoutine(arg0::Type{Float32},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetObjectiveRoutine,petscRealSingle),PetscErrorCode,(Tao,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function TaoSetGradientRoutine(arg0::Type{Float32},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetGradientRoutine,petscRealSingle),PetscErrorCode,(Tao,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function TaoSetObjectiveAndGradientRoutine(arg0::Type{Float32},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetObjectiveAndGradientRoutine,petscRealSingle),PetscErrorCode,(Tao,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function TaoSetHessianRoutine(arg1::Tao,arg2::Mat{Float32},arg3::Mat{Float32},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetHessianRoutine,petscRealSingle),PetscErrorCode,(Tao,Mat{Float32},Mat{Float32},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TaoSetSeparableObjectiveRoutine(arg1::Tao,arg2::Vec{Float32},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetSeparableObjectiveRoutine,petscRealSingle),PetscErrorCode,(Tao,Vec{Float32},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function TaoSetConstraintsRoutine(arg1::Tao,arg2::Vec{Float32},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetConstraintsRoutine,petscRealSingle),PetscErrorCode,(Tao,Vec{Float32},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function TaoSetInequalityConstraintsRoutine(arg1::Tao,arg2::Vec{Float32},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetInequalityConstraintsRoutine,petscRealSingle),PetscErrorCode,(Tao,Vec{Float32},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function TaoSetEqualityConstraintsRoutine(arg1::Tao,arg2::Vec{Float32},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetEqualityConstraintsRoutine,petscRealSingle),PetscErrorCode,(Tao,Vec{Float32},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function TaoSetJacobianRoutine(arg1::Tao,arg2::Mat{Float32},arg3::Mat{Float32},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetJacobianRoutine,petscRealSingle),PetscErrorCode,(Tao,Mat{Float32},Mat{Float32},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TaoSetJacobianStateRoutine(arg1::Tao,arg2::Mat{Float32},arg3::Mat{Float32},arg4::Mat{Float32},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg6::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetJacobianStateRoutine,petscRealSingle),PetscErrorCode,(Tao,Mat{Float32},Mat{Float32},Mat{Float32},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function TaoSetJacobianDesignRoutine(arg1::Tao,arg2::Mat{Float32},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetJacobianDesignRoutine,petscRealSingle),PetscErrorCode,(Tao,Mat{Float32},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function TaoSetJacobianInequalityRoutine(arg1::Tao,arg2::Mat{Float32},arg3::Mat{Float32},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetJacobianInequalityRoutine,petscRealSingle),PetscErrorCode,(Tao,Mat{Float32},Mat{Float32},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TaoSetJacobianEqualityRoutine(arg1::Tao,arg2::Mat{Float32},arg3::Mat{Float32},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetJacobianEqualityRoutine,petscRealSingle),PetscErrorCode,(Tao,Mat{Float32},Mat{Float32},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TaoSetStateDesignIS(arg1::Tao,arg2::IS{Float32},arg3::IS{Float32}) - err = ccall((:TaoSetStateDesignIS,petscRealSingle),PetscErrorCode,(Tao,IS{Float32},IS{Float32}),arg1,arg2,arg3) - return err -end - -function TaoComputeObjective(arg1::Tao,arg2::Vec{Float32},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:TaoComputeObjective,petscRealSingle),PetscErrorCode,(Tao,Vec{Float32},Ptr{Float32}),arg1,arg2,arg3) - return err -end - -function TaoComputeSeparableObjective(arg1::Tao,arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:TaoComputeSeparableObjective,petscRealSingle),PetscErrorCode,(Tao,Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function TaoComputeGradient(arg1::Tao,arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:TaoComputeGradient,petscRealSingle),PetscErrorCode,(Tao,Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function TaoComputeObjectiveAndGradient(arg1::Tao,arg2::Vec{Float32},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Vec{Float32}) - err = ccall((:TaoComputeObjectiveAndGradient,petscRealSingle),PetscErrorCode,(Tao,Vec{Float32},Ptr{Float32},Vec{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function TaoComputeConstraints(arg1::Tao,arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:TaoComputeConstraints,petscRealSingle),PetscErrorCode,(Tao,Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function TaoComputeInequalityConstraints(arg1::Tao,arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:TaoComputeInequalityConstraints,petscRealSingle),PetscErrorCode,(Tao,Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function TaoComputeEqualityConstraints(arg1::Tao,arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:TaoComputeEqualityConstraints,petscRealSingle),PetscErrorCode,(Tao,Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function TaoDefaultComputeGradient(arg1::Tao,arg2::Vec{Float32},arg3::Vec{Float32},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoDefaultComputeGradient,petscRealSingle),PetscErrorCode,(Tao,Vec{Float32},Vec{Float32},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function TaoIsObjectiveDefined(arg0::Type{Float32},arg1::Tao,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:TaoIsObjectiveDefined,petscRealSingle),PetscErrorCode,(Tao,Ptr{PetscBool}),arg1,arg2) - return err -end - -function TaoIsGradientDefined(arg0::Type{Float32},arg1::Tao,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:TaoIsGradientDefined,petscRealSingle),PetscErrorCode,(Tao,Ptr{PetscBool}),arg1,arg2) - return err -end - -function TaoIsObjectiveAndGradientDefined(arg0::Type{Float32},arg1::Tao,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:TaoIsObjectiveAndGradientDefined,petscRealSingle),PetscErrorCode,(Tao,Ptr{PetscBool}),arg1,arg2) - return err -end - -function TaoComputeHessian(arg1::Tao,arg2::Vec{Float32},arg3::Mat{Float32},arg4::Mat{Float32}) - err = ccall((:TaoComputeHessian,petscRealSingle),PetscErrorCode,(Tao,Vec{Float32},Mat{Float32},Mat{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function TaoComputeJacobian(arg1::Tao,arg2::Vec{Float32},arg3::Mat{Float32},arg4::Mat{Float32}) - err = ccall((:TaoComputeJacobian,petscRealSingle),PetscErrorCode,(Tao,Vec{Float32},Mat{Float32},Mat{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function TaoComputeJacobianState(arg1::Tao,arg2::Vec{Float32},arg3::Mat{Float32},arg4::Mat{Float32},arg5::Mat{Float32}) - err = ccall((:TaoComputeJacobianState,petscRealSingle),PetscErrorCode,(Tao,Vec{Float32},Mat{Float32},Mat{Float32},Mat{Float32}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TaoComputeJacobianEquality(arg1::Tao,arg2::Vec{Float32},arg3::Mat{Float32},arg4::Mat{Float32}) - err = ccall((:TaoComputeJacobianEquality,petscRealSingle),PetscErrorCode,(Tao,Vec{Float32},Mat{Float32},Mat{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function TaoComputeJacobianInequality(arg1::Tao,arg2::Vec{Float32},arg3::Mat{Float32},arg4::Mat{Float32}) - err = ccall((:TaoComputeJacobianInequality,petscRealSingle),PetscErrorCode,(Tao,Vec{Float32},Mat{Float32},Mat{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function TaoComputeJacobianDesign(arg1::Tao,arg2::Vec{Float32},arg3::Mat{Float32}) - err = ccall((:TaoComputeJacobianDesign,petscRealSingle),PetscErrorCode,(Tao,Vec{Float32},Mat{Float32}),arg1,arg2,arg3) - return err -end - -function TaoDefaultComputeHessian(arg1::Tao,arg2::Vec{Float32},arg3::Mat{Float32},arg4::Mat{Float32},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoDefaultComputeHessian,petscRealSingle),PetscErrorCode,(Tao,Vec{Float32},Mat{Float32},Mat{Float32},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TaoDefaultComputeHessianColor(arg1::Tao,arg2::Vec{Float32},arg3::Mat{Float32},arg4::Mat{Float32},arg5::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoDefaultComputeHessianColor,petscRealSingle),PetscErrorCode,(Tao,Vec{Float32},Mat{Float32},Mat{Float32},Ptr{Void}),arg1,arg2,arg3,arg4,arg5) - return err -end - -function TaoComputeDualVariables(arg1::Tao,arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:TaoComputeDualVariables,petscRealSingle),PetscErrorCode,(Tao,Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function TaoComputeDualVariables(arg1::Tao,arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:TaoComputeDualVariables,petscRealSingle),PetscErrorCode,(Tao,Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function TaoSetVariableBounds(arg1::Tao,arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:TaoSetVariableBounds,petscRealSingle),PetscErrorCode,(Tao,Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function TaoGetVariableBounds(arg1::Tao,arg2::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}},arg3::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:TaoGetVariableBounds,petscRealSingle),PetscErrorCode,(Tao,Ptr{Vec{Float32}},Ptr{Vec{Float32}}),arg1,arg2,arg3) - return err -end - -function TaoGetDualVariables(arg1::Tao,arg2::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}},arg3::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:TaoGetDualVariables,petscRealSingle),PetscErrorCode,(Tao,Ptr{Vec{Float32}},Ptr{Vec{Float32}}),arg1,arg2,arg3) - return err -end - -function TaoSetInequalityBounds(arg1::Tao,arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:TaoSetInequalityBounds,petscRealSingle),PetscErrorCode,(Tao,Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function TaoGetInequalityBounds(arg1::Tao,arg2::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}},arg3::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:TaoGetInequalityBounds,petscRealSingle),PetscErrorCode,(Tao,Ptr{Vec{Float32}},Ptr{Vec{Float32}}),arg1,arg2,arg3) - return err -end - -function TaoSetVariableBoundsRoutine(arg0::Type{Float32},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetVariableBoundsRoutine,petscRealSingle),PetscErrorCode,(Tao,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function TaoComputeVariableBounds(arg0::Type{Float32},arg1::Tao) - err = ccall((:TaoComputeVariableBounds,petscRealSingle),PetscErrorCode,(Tao,),arg1) - return err -end - -function TaoGetTolerances(arg0::Type{Float32},arg1::Tao,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg6::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:TaoGetTolerances,petscRealSingle),PetscErrorCode,(Tao,Ptr{Float32},Ptr{Float32},Ptr{Float32},Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function TaoSetTolerances(arg0::Type{Float32},arg1::Tao,arg2::Float32,arg3::Float32,arg4::Float32,arg5::Float32,arg6::Float32) - err = ccall((:TaoSetTolerances,petscRealSingle),PetscErrorCode,(Tao,Float32,Float32,Float32,Float32,Float32),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function TaoGetConstraintTolerances(arg0::Type{Float32},arg1::Tao,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:TaoGetConstraintTolerances,petscRealSingle),PetscErrorCode,(Tao,Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3) - return err -end - -function TaoSetConstraintTolerances(arg0::Type{Float32},arg1::Tao,arg2::Float32,arg3::Float32) - err = ccall((:TaoSetConstraintTolerances,petscRealSingle),PetscErrorCode,(Tao,Float32,Float32),arg1,arg2,arg3) - return err -end - -function TaoSetFunctionLowerBound(arg0::Type{Float32},arg1::Tao,arg2::Float32) - err = ccall((:TaoSetFunctionLowerBound,petscRealSingle),PetscErrorCode,(Tao,Float32),arg1,arg2) - return err -end - -function TaoSetInitialTrustRegionRadius(arg0::Type{Float32},arg1::Tao,arg2::Float32) - err = ccall((:TaoSetInitialTrustRegionRadius,petscRealSingle),PetscErrorCode,(Tao,Float32),arg1,arg2) - return err -end - -function TaoSetMaximumIterations(arg0::Type{Float32},arg1::Tao,arg2::Integer) - err = ccall((:TaoSetMaximumIterations,petscRealSingle),PetscErrorCode,(Tao,Int64),arg1,arg2) - return err -end - -function TaoSetMaximumFunctionEvaluations(arg0::Type{Float32},arg1::Tao,arg2::Integer) - err = ccall((:TaoSetMaximumFunctionEvaluations,petscRealSingle),PetscErrorCode,(Tao,Int64),arg1,arg2) - return err -end - -function TaoGetFunctionLowerBound(arg0::Type{Float32},arg1::Tao,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:TaoGetFunctionLowerBound,petscRealSingle),PetscErrorCode,(Tao,Ptr{Float32}),arg1,arg2) - return err -end - -function TaoGetInitialTrustRegionRadius(arg0::Type{Float32},arg1::Tao,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:TaoGetInitialTrustRegionRadius,petscRealSingle),PetscErrorCode,(Tao,Ptr{Float32}),arg1,arg2) - return err -end - -function TaoGetCurrentTrustRegionRadius(arg0::Type{Float32},arg1::Tao,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:TaoGetCurrentTrustRegionRadius,petscRealSingle),PetscErrorCode,(Tao,Ptr{Float32}),arg1,arg2) - return err -end - -function TaoGetMaximumIterations(arg0::Type{Float32},arg1::Tao,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:TaoGetMaximumIterations,petscRealSingle),PetscErrorCode,(Tao,Ptr{Int64}),arg1,arg2) - return err -end - -function TaoGetCurrentFunctionEvaluations(arg0::Type{Float32},arg1::Tao,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:TaoGetCurrentFunctionEvaluations,petscRealSingle),PetscErrorCode,(Tao,Ptr{Int64}),arg1,arg2) - return err -end - -function TaoGetMaximumFunctionEvaluations(arg0::Type{Float32},arg1::Tao,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:TaoGetMaximumFunctionEvaluations,petscRealSingle),PetscErrorCode,(Tao,Ptr{Int64}),arg1,arg2) - return err -end - -function TaoGetIterationNumber(arg0::Type{Float32},arg1::Tao,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:TaoGetIterationNumber,petscRealSingle),PetscErrorCode,(Tao,Ptr{Int64}),arg1,arg2) - return err -end - -function TaoSetIterationNumber(arg0::Type{Float32},arg1::Tao,arg2::Integer) - err = ccall((:TaoSetIterationNumber,petscRealSingle),PetscErrorCode,(Tao,Int64),arg1,arg2) - return err -end - -function TaoGetTotalIterationNumber(arg0::Type{Float32},arg1::Tao,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:TaoGetTotalIterationNumber,petscRealSingle),PetscErrorCode,(Tao,Ptr{Int64}),arg1,arg2) - return err -end - -function TaoSetTotalIterationNumber(arg0::Type{Float32},arg1::Tao,arg2::Integer) - err = ccall((:TaoSetTotalIterationNumber,petscRealSingle),PetscErrorCode,(Tao,Int64),arg1,arg2) - return err -end - -function TaoSetOptionsPrefix(arg0::Type{Float32},arg1::Tao,p::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:TaoSetOptionsPrefix,petscRealSingle),PetscErrorCode,(Tao,Cstring),arg1,p) - return err -end - -function TaoAppendOptionsPrefix(arg0::Type{Float32},arg1::Tao,p::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:TaoAppendOptionsPrefix,petscRealSingle),PetscErrorCode,(Tao,Cstring),arg1,p) - return err -end - -function TaoGetOptionsPrefix(arg0::Type{Float32},arg1::Tao,p::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:TaoGetOptionsPrefix,petscRealSingle),PetscErrorCode,(Tao,Ptr{Ptr{UInt8}}),arg1,p) - return err -end - -function TaoResetStatistics(arg0::Type{Float32},arg1::Tao) - err = ccall((:TaoResetStatistics,petscRealSingle),PetscErrorCode,(Tao,),arg1) - return err -end - -function TaoGetKSP(arg1::Tao,arg2::Union{Ptr{KSP{Float32}},StridedArray{KSP{Float32}},Ptr{KSP{Float32}},Ref{KSP{Float32}}}) - err = ccall((:TaoGetKSP,petscRealSingle),PetscErrorCode,(Tao,Ptr{KSP{Float32}}),arg1,arg2) - return err -end - -function TaoGetLinearSolveIterations(arg0::Type{Float32},arg1::Tao,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:TaoGetLinearSolveIterations,petscRealSingle),PetscErrorCode,(Tao,Ptr{Int64}),arg1,arg2) - return err -end - -function TaoLineSearchCreate(arg0::Type{Float32},arg1::MPI_Comm,arg2::Union{Ptr{TaoLineSearch},StridedArray{TaoLineSearch},Ptr{TaoLineSearch},Ref{TaoLineSearch}}) - err = ccall((:TaoLineSearchCreate,petscRealSingle),PetscErrorCode,(comm_type,Ptr{TaoLineSearch}),arg1,arg2) - return err -end - -function TaoLineSearchSetFromOptions(arg0::Type{Float32},arg1::TaoLineSearch) - err = ccall((:TaoLineSearchSetFromOptions,petscRealSingle),PetscErrorCode,(TaoLineSearch,),arg1) - return err -end - -function TaoLineSearchSetUp(arg0::Type{Float32},arg1::TaoLineSearch) - err = ccall((:TaoLineSearchSetUp,petscRealSingle),PetscErrorCode,(TaoLineSearch,),arg1) - return err -end - -function TaoLineSearchDestroy(arg0::Type{Float32},arg1::Union{Ptr{TaoLineSearch},StridedArray{TaoLineSearch},Ptr{TaoLineSearch},Ref{TaoLineSearch}}) - err = ccall((:TaoLineSearchDestroy,petscRealSingle),PetscErrorCode,(Ptr{TaoLineSearch},),arg1) - return err -end - -function TaoLineSearchView(arg1::TaoLineSearch,arg2::PetscViewer{Float32}) - err = ccall((:TaoLineSearchView,petscRealSingle),PetscErrorCode,(TaoLineSearch,PetscViewer{Float32}),arg1,arg2) - return err -end - -function TaoLineSearchViewFromOptions(arg0::Type{Float32},A::TaoLineSearch,obj::PetscObject,name::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:TaoLineSearchViewFromOptions,petscRealSingle),PetscErrorCode,(TaoLineSearch,PetscObject,Cstring),A,obj,name) - return err -end - -function TaoLineSearchSetOptionsPrefix(arg0::Type{Float32},arg1::TaoLineSearch,prefix::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:TaoLineSearchSetOptionsPrefix,petscRealSingle),PetscErrorCode,(TaoLineSearch,Cstring),arg1,prefix) - return err -end - -function TaoLineSearchReset(arg0::Type{Float32},arg1::TaoLineSearch) - err = ccall((:TaoLineSearchReset,petscRealSingle),PetscErrorCode,(TaoLineSearch,),arg1) - return err -end - -function TaoLineSearchAppendOptionsPrefix(arg0::Type{Float32},arg1::TaoLineSearch,prefix::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:TaoLineSearchAppendOptionsPrefix,petscRealSingle),PetscErrorCode,(TaoLineSearch,Cstring),arg1,prefix) - return err -end - -function TaoLineSearchGetOptionsPrefix(arg0::Type{Float32},arg1::TaoLineSearch,prefix::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:TaoLineSearchGetOptionsPrefix,petscRealSingle),PetscErrorCode,(TaoLineSearch,Ptr{Ptr{UInt8}}),arg1,prefix) - return err -end - -function TaoLineSearchApply(arg1::TaoLineSearch,arg2::Vec{Float32},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Vec{Float32},arg5::Vec{Float32},arg6::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg7::Union{Ptr{TaoLineSearchConvergedReason},StridedArray{TaoLineSearchConvergedReason},Ptr{TaoLineSearchConvergedReason},Ref{TaoLineSearchConvergedReason}}) - err = ccall((:TaoLineSearchApply,petscRealSingle),PetscErrorCode,(TaoLineSearch,Vec{Float32},Ptr{Float32},Vec{Float32},Vec{Float32},Ptr{Float32},Ptr{TaoLineSearchConvergedReason}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function TaoLineSearchGetStepLength(arg0::Type{Float32},arg1::TaoLineSearch,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:TaoLineSearchGetStepLength,petscRealSingle),PetscErrorCode,(TaoLineSearch,Ptr{Float32}),arg1,arg2) - return err -end - -function TaoLineSearchGetStartingVector(arg1::TaoLineSearch,arg2::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:TaoLineSearchGetStartingVector,petscRealSingle),PetscErrorCode,(TaoLineSearch,Ptr{Vec{Float32}}),arg1,arg2) - return err -end - -function TaoLineSearchGetStepDirection(arg1::TaoLineSearch,arg2::Union{Ptr{Vec{Float32}},StridedArray{Vec{Float32}},Ptr{Vec{Float32}},Ref{Vec{Float32}}}) - err = ccall((:TaoLineSearchGetStepDirection,petscRealSingle),PetscErrorCode,(TaoLineSearch,Ptr{Vec{Float32}}),arg1,arg2) - return err -end - -function TaoLineSearchSetInitialStepLength(arg0::Type{Float32},arg1::TaoLineSearch,arg2::Float32) - err = ccall((:TaoLineSearchSetInitialStepLength,petscRealSingle),PetscErrorCode,(TaoLineSearch,Float32),arg1,arg2) - return err -end - -function TaoLineSearchGetSolution(arg1::TaoLineSearch,arg2::Vec{Float32},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Vec{Float32},arg5::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg6::Union{Ptr{TaoLineSearchConvergedReason},StridedArray{TaoLineSearchConvergedReason},Ptr{TaoLineSearchConvergedReason},Ref{TaoLineSearchConvergedReason}}) - err = ccall((:TaoLineSearchGetSolution,petscRealSingle),PetscErrorCode,(TaoLineSearch,Vec{Float32},Ptr{Float32},Vec{Float32},Ptr{Float32},Ptr{TaoLineSearchConvergedReason}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function TaoLineSearchGetFullStepObjective(arg0::Type{Float32},arg1::TaoLineSearch,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:TaoLineSearchGetFullStepObjective,petscRealSingle),PetscErrorCode,(TaoLineSearch,Ptr{Float32}),arg1,arg2) - return err -end - -function TaoLineSearchGetNumberFunctionEvaluations(arg0::Type{Float32},arg1::TaoLineSearch,arg2::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg3::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg4::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:TaoLineSearchGetNumberFunctionEvaluations,petscRealSingle),PetscErrorCode,(TaoLineSearch,Ptr{Int64},Ptr{Int64},Ptr{Int64}),arg1,arg2,arg3,arg4) - return err -end - -function TaoLineSearchGetType(arg0::Type{Float32},arg1::TaoLineSearch,arg2::Union{Ptr{Ptr{UInt8}},StridedArray{Ptr{UInt8}},Ptr{Ptr{UInt8}},Ref{Ptr{UInt8}}}) - err = ccall((:TaoLineSearchGetType,petscRealSingle),PetscErrorCode,(TaoLineSearch,Ptr{Ptr{UInt8}}),arg1,arg2) - return err -end - -function TaoLineSearchSetType(arg0::Type{Float32},arg1::TaoLineSearch,arg2::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}}) - err = ccall((:TaoLineSearchSetType,petscRealSingle),PetscErrorCode,(TaoLineSearch,Cstring),arg1,arg2) - return err -end - -function TaoLineSearchIsUsingTaoRoutines(arg0::Type{Float32},arg1::TaoLineSearch,arg2::Union{Ptr{PetscBool},StridedArray{PetscBool},Ptr{PetscBool},Ref{PetscBool}}) - err = ccall((:TaoLineSearchIsUsingTaoRoutines,petscRealSingle),PetscErrorCode,(TaoLineSearch,Ptr{PetscBool}),arg1,arg2) - return err -end - -function TaoLineSearchSetObjectiveAndGTSRoutine(arg0::Type{Float32},arg1::TaoLineSearch,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoLineSearchSetObjectiveAndGTSRoutine,petscRealSingle),PetscErrorCode,(TaoLineSearch,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function TaoLineSearchSetObjectiveRoutine(arg0::Type{Float32},arg1::TaoLineSearch,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoLineSearchSetObjectiveRoutine,petscRealSingle),PetscErrorCode,(TaoLineSearch,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function TaoLineSearchSetGradientRoutine(arg0::Type{Float32},arg1::TaoLineSearch,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoLineSearchSetGradientRoutine,petscRealSingle),PetscErrorCode,(TaoLineSearch,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function TaoLineSearchSetObjectiveAndGradientRoutine(arg0::Type{Float32},arg1::TaoLineSearch,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoLineSearchSetObjectiveAndGradientRoutine,petscRealSingle),PetscErrorCode,(TaoLineSearch,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function TaoLineSearchComputeObjective(arg1::TaoLineSearch,arg2::Vec{Float32},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:TaoLineSearchComputeObjective,petscRealSingle),PetscErrorCode,(TaoLineSearch,Vec{Float32},Ptr{Float32}),arg1,arg2,arg3) - return err -end - -function TaoLineSearchComputeGradient(arg1::TaoLineSearch,arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:TaoLineSearchComputeGradient,petscRealSingle),PetscErrorCode,(TaoLineSearch,Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function TaoLineSearchComputeObjectiveAndGradient(arg1::TaoLineSearch,arg2::Vec{Float32},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Vec{Float32}) - err = ccall((:TaoLineSearchComputeObjectiveAndGradient,petscRealSingle),PetscErrorCode,(TaoLineSearch,Vec{Float32},Ptr{Float32},Vec{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function TaoLineSearchComputeObjectiveAndGTS(arg1::TaoLineSearch,arg2::Vec{Float32},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}}) - err = ccall((:TaoLineSearchComputeObjectiveAndGTS,petscRealSingle),PetscErrorCode,(TaoLineSearch,Vec{Float32},Ptr{Float32},Ptr{Float32}),arg1,arg2,arg3,arg4) - return err -end - -function TaoLineSearchSetVariableBounds(arg1::TaoLineSearch,arg2::Vec{Float32},arg3::Vec{Float32}) - err = ccall((:TaoLineSearchSetVariableBounds,petscRealSingle),PetscErrorCode,(TaoLineSearch,Vec{Float32},Vec{Float32}),arg1,arg2,arg3) - return err -end - -function TaoLineSearchInitializePackage(arg0::Type{Float32}) - err = ccall((:TaoLineSearchInitializePackage,petscRealSingle),PetscErrorCode,()) - return err -end - -function TaoLineSearchFinalizePackage(arg0::Type{Float32}) - err = ccall((:TaoLineSearchFinalizePackage,petscRealSingle),PetscErrorCode,()) - return err -end - -function TaoLineSearchRegister(arg0::Type{Float32},arg1::Union{ByteString,Cstring,Symbol,Array{UInt8},Ptr{UInt8}},arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoLineSearchRegister,petscRealSingle),PetscErrorCode,(Cstring,Ptr{Void}),arg1,arg2) - return err -end - -function TaoLineSearchUseTaoRoutines(arg0::Type{Float32},arg1::TaoLineSearch,arg2::Tao) - err = ccall((:TaoLineSearchUseTaoRoutines,petscRealSingle),PetscErrorCode,(TaoLineSearch,Tao),arg1,arg2) - return err -end - -function TaoGetLineSearch(arg0::Type{Float32},arg1::Tao,arg2::Union{Ptr{TaoLineSearch},StridedArray{TaoLineSearch},Ptr{TaoLineSearch},Ref{TaoLineSearch}}) - err = ccall((:TaoGetLineSearch,petscRealSingle),PetscErrorCode,(Tao,Ptr{TaoLineSearch}),arg1,arg2) - return err -end - -function TaoSetConvergenceHistory(arg0::Type{Float32},arg1::Tao,arg2::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg3::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg4::Union{Ptr{Float32},StridedArray{Float32},Ptr{Float32},Ref{Float32}},arg5::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}},arg6::Integer,arg7::PetscBool) - err = ccall((:TaoSetConvergenceHistory,petscRealSingle),PetscErrorCode,(Tao,Ptr{Float32},Ptr{Float32},Ptr{Float32},Ptr{Int64},Int64,PetscBool),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end - -function TaoGetConvergenceHistory(arg0::Type{Float32},arg1::Tao,arg2::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}},arg3::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}},arg4::Union{Ptr{Ptr{Float32}},StridedArray{Ptr{Float32}},Ptr{Ptr{Float32}},Ref{Ptr{Float32}}},arg5::Union{Ptr{Ptr{Int64}},StridedArray{Ptr{Int64}},Ptr{Ptr{Int64}},Ref{Ptr{Int64}}},arg6::Union{Ptr{Int64},StridedArray{Int64},Ptr{Int64},Ref{Int64}}) - err = ccall((:TaoGetConvergenceHistory,petscRealSingle),PetscErrorCode,(Tao,Ptr{Ptr{Float32}},Ptr{Ptr{Float32}},Ptr{Ptr{Float32}},Ptr{Ptr{Int64}},Ptr{Int64}),arg1,arg2,arg3,arg4,arg5,arg6) - return err -end - -function TaoSetMonitor(arg0::Type{Float32},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg4::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetMonitor,petscRealSingle),PetscErrorCode,(Tao,Ptr{Void},Ptr{Void},Ptr{Void}),arg1,arg2,arg3,arg4) - return err -end - -function TaoCancelMonitors(arg0::Type{Float32},arg1::Tao) - err = ccall((:TaoCancelMonitors,petscRealSingle),PetscErrorCode,(Tao,),arg1) - return err -end - -function TaoDefaultMonitor(arg0::Type{Float32},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoDefaultMonitor,petscRealSingle),PetscErrorCode,(Tao,Ptr{Void}),arg1,arg2) - return err -end - -function TaoDefaultSMonitor(arg0::Type{Float32},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoDefaultSMonitor,petscRealSingle),PetscErrorCode,(Tao,Ptr{Void}),arg1,arg2) - return err -end - -function TaoDefaultCMonitor(arg0::Type{Float32},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoDefaultCMonitor,petscRealSingle),PetscErrorCode,(Tao,Ptr{Void}),arg1,arg2) - return err -end - -function TaoSolutionMonitor(arg0::Type{Float32},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSolutionMonitor,petscRealSingle),PetscErrorCode,(Tao,Ptr{Void}),arg1,arg2) - return err -end - -function TaoSeparableObjectiveMonitor(arg0::Type{Float32},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSeparableObjectiveMonitor,petscRealSingle),PetscErrorCode,(Tao,Ptr{Void}),arg1,arg2) - return err -end - -function TaoGradientMonitor(arg0::Type{Float32},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoGradientMonitor,petscRealSingle),PetscErrorCode,(Tao,Ptr{Void}),arg1,arg2) - return err -end - -function TaoStepDirectionMonitor(arg0::Type{Float32},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoStepDirectionMonitor,petscRealSingle),PetscErrorCode,(Tao,Ptr{Void}),arg1,arg2) - return err -end - -function TaoDrawSolutionMonitor(arg0::Type{Float32},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoDrawSolutionMonitor,petscRealSingle),PetscErrorCode,(Tao,Ptr{Void}),arg1,arg2) - return err -end - -function TaoDrawStepMonitor(arg0::Type{Float32},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoDrawStepMonitor,petscRealSingle),PetscErrorCode,(Tao,Ptr{Void}),arg1,arg2) - return err -end - -function TaoDrawGradientMonitor(arg0::Type{Float32},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoDrawGradientMonitor,petscRealSingle),PetscErrorCode,(Tao,Ptr{Void}),arg1,arg2) - return err -end - -function TaoAddLineSearchCounts(arg0::Type{Float32},arg1::Tao) - err = ccall((:TaoAddLineSearchCounts,petscRealSingle),PetscErrorCode,(Tao,),arg1) - return err -end - -function TaoDefaultConvergenceTest(arg0::Type{Float32},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoDefaultConvergenceTest,petscRealSingle),PetscErrorCode,(Tao,Ptr{Void}),arg1,arg2) - return err -end - -function TaoSetConvergenceTest(arg0::Type{Float32},arg1::Tao,arg2::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}},arg3::Union{Ptr{Void},StridedArray{Void},Ptr{Void},Ref{Void}}) - err = ccall((:TaoSetConvergenceTest,petscRealSingle),PetscErrorCode,(Tao,Ptr{Void},Ptr{Void}),arg1,arg2,arg3) - return err -end - -function TaoSQPCONSetStateDesignIS(arg1::Tao,arg2::IS{Float32},arg3::IS{Float32}) - err = ccall((:TaoSQPCONSetStateDesignIS,petscRealSingle),PetscErrorCode,(Tao,IS{Float32},IS{Float32}),arg1,arg2,arg3) - return err -end - -function TaoLCLSetStateDesignIS(arg1::Tao,arg2::IS{Float32},arg3::IS{Float32}) - err = ccall((:TaoLCLSetStateDesignIS,petscRealSingle),PetscErrorCode,(Tao,IS{Float32},IS{Float32}),arg1,arg2,arg3) - return err -end - -function TaoMonitor(arg0::Type{Float32},arg1::Tao,arg2::Integer,arg3::Float32,arg4::Float32,arg5::Float32,arg6::Float32,arg7::Union{Ptr{TaoConvergedReason},StridedArray{TaoConvergedReason},Ptr{TaoConvergedReason},Ref{TaoConvergedReason}}) - err = ccall((:TaoMonitor,petscRealSingle),PetscErrorCode,(Tao,Int64,Float32,Float32,Float32,Float32,Ptr{TaoConvergedReason}),arg1,arg2,arg3,arg4,arg5,arg6,arg7) - return err -end diff --git a/src/generated/c_funcs.jl b/src/generated/c_funcs.jl deleted file mode 100644 index 0abc857d..00000000 --- a/src/generated/c_funcs.jl +++ /dev/null @@ -1,108 +0,0 @@ -# these functions work directly with the C interface, offering better -# performance than the high level interface, particularly for indexing - -##### Vec ##### - - function VecCreate{T}(::Type{T}; comm=MPI.COMM_WORLD) - vref = Ref{Vec{T}}() - chk(VecCreate(comm, vref)) - return vref[] - end - - - function SetValues{T}(vec::Vec{T},idx::AbstractVector{PetscInt}, - vals::AbstractVector{T}, - flag::Integer=INSERT_VALUES) - - chk(VecSetValues(vec, length(idx), idx, vals, InsertMode(flag))) - end - - - function AssemblyBegin(obj::Vec) - - chk(VecAssemblyBegin(obj)) - end - - function AssemblyEnd(obj::Vec) - chk(VecAssemblyEnd(obj)) - end - - function GetValues{T}(vec::Vec{T}, idx::AbstractArray{PetscInt,1}, - y::AbstractArray{T,1}) - - chk(VecGetValues(vec, length(idx), idx, y)) - - end - - -##### Mat ##### - -function MatCreateShell{T}(arg2::Integer,arg3::Integer,arg4::Integer,arg5::Integer, arg6::Ptr{Void}, dtype::Type{T}=Float64;arg1::MPI.Comm=MPI.COMM_WORLD) - # arg6 is the user provided context - arg7 = Ref{Mat{dtype}}() - chk(MatCreateShell(arg1, arg2, arg3, arg4, arg5, arg6, arg7)) - - return Mat(arg7[]) -end - -#= # this function signature is not distinct from the auto generated one -function MatShellSetOperation(arg1::Mat,arg2::MatOperation,arg3::Ptr{Void}) -# arg3 is a function pointer, and must have the signature: -# void fname(Mat, vec, vec) for MATOP_MULT - chk(MatShellSetOperation(arg1, arg2, arg3)) -end -=# - -for (T, P) in ( (Float64, petscRealDouble), (Float32, petscRealSingle), (Complex128, petscComplexDouble) ) - @eval begin - function MatShellGetContext(arg1::Mat{$T}) - # get the user provided context for the matrix shell - arg2 = Ref{Ptr{Void}}() - # this doesn't work because the Petsc developers were sloppy with their - # void pointers - # chk(MatShellGetContext(arg1, arg2)) - chk(ccall((:MatShellGetContext,$P),PetscErrorCode,(Mat{$T},Ref{Ptr{Void}}),arg1,arg2)) - return arg2[] # turn it into a julia object here? - end - end -end - - function SetValues{ST}(vec::Mat,idi::AbstractArray{PetscInt},idj::AbstractArray{PetscInt},array::AbstractArray{ST},flag::Integer=INSERT_VALUES) - # remember, only matrices can be inserted into a Petsc matrix - # if array is a 3 by 3, then idi and idj are vectors of length 3 - -# @assert length(idi)*length(idj) == length(array) - - # do check here to ensure array is the right shape (remember tranpose) - chk(MatSetValues(vec, length(idi), idi, length(idj), idj, array, InsertMode(flag))) - - end - - function SetValuesBlocked{ST}(mat::Mat, idi::AbstractArray{PetscInt}, idj::AbstractArray{PetscInt}, v::AbstractArray{ST}, flag::Integer=INSERT_VALUES) - - chk(MatSetValuesBlocked(mat, length(idi), idi, length(idj), idj, v, InsertMode(flag))) - end - - function MatSetOption(mat::Mat,arg2::MatOption,arg3::Bool) - chk(MatSetOption(mat, arg2, PetscBool(arg3))) - end - - function AssemblyBegin(obj::Mat,flg=MAT_FINAL_ASSEMBLY) - chk(MatAssemblyBegin(obj, MatAssemblyType(flg))) - end - - function AssemblyEnd(obj::Mat,flg=MAT_FINAL_ASSEMBLY) - chk(MatAssemblyEnd(obj, MatAssemblyType(flg))) - end - - - function GetValues{ST}(obj::Mat, idxm::AbstractArray{PetscInt, 1}, idxn::AbstractArray{PetscInt, 1}, v::AbstractArray{ST}) - # do check here to ensure v is the right shape - chk(MatGetValues(obj, length(idxm), idxm, length(idxn), idxn, v)) -end - - - - - - diff --git a/src/generated/cprun.sh b/src/generated/cprun.sh deleted file mode 100755 index 2f677945..00000000 --- a/src/generated/cprun.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -mv -v ./PETSc.jl ./PETSc$1.jl -mv -v ./libPETSc_common.jl ./libPETSc_common$1.jl diff --git a/src/generated/defs.jl b/src/generated/defs.jl deleted file mode 100644 index 4ae743c4..00000000 --- a/src/generated/defs.jl +++ /dev/null @@ -1,65 +0,0 @@ -using MPI - -export Scalar -export comm_type -export MPI_Comm -export PetscErrorCode -export PetscBool -export PetscInt # defined in depfile -export have_petsc, petsc_libs, petsc_type -const depfile = joinpath(dirname(@__FILE__), "..", "..", "deps", "deps.jl") -isfile(depfile) || error("PETSc not properly installed. Please run Pkg.build(\"PETSc\")") -include(depfile) - -const petsc_libs = [:petscRealDouble, :petscRealSingle, :petscComplexDouble] -const petsc_type = [Float64, Float32, Complex128] - -typealias Scalar Union{Float32, Float64, Complex128} - -const MPI_COMM_SELF = MPI.COMM_SELF -typealias MPI_Comm Union{MPI.CComm, MPI.Comm} -typealias comm_type MPI.CComm - -# some auxiliary functions used by ccall wrappers -# get an array of pointers to UInt8s that is the same shape as -# the symbol array -# does *not* allocate the pointers -function symbol_get_before(sym_arr) - ptr_arr = Array(Ptr{UInt8}, length(sym_arr)) -# println("ptr_arr = ", ptr_arr) -# for i=1:length(sym_arr) -# println("ptr_arr[$i] = ", ptr_arr[i]) -# end - - return pointer(ptr_arr), ptr_arr -end - -# turn array of strings (UInt8 *) and puts them into symbol array -function symbol_get_after(ptr, sym_arr) - ptr_arr = pointer_to_array(ptr, length(sym_arr)) - - for i=1:length(sym_arr) - sym_arr[i] = bytestring(ptr_arr[i]) - end - -end - -function symbol_set_before(sym_arr) - str_arr = similar(sym_arr, UTF8String) - - for i=1:length(str_arr) - str_arr[i] = bytestring(sym_arr[i]) - end - -end - -# TODO: auto-generate these -function PetscObjectComm(::Type{Float64},arg1::Ptr) - ccall((:PetscObjectComm,petscRealDouble),comm_type,(Ptr{Void},),arg1) -end -function PetscObjectComm(::Type{Float32},arg1::Ptr) - ccall((:PetscObjectComm,petscRealSingle),comm_type,(Ptr{Void},),arg1) -end -function PetscObjectComm(::Type{Complex128},arg1::Ptr) - ccall((:PetscObjectComm,petscComplexDouble),comm_type,(Ptr{Void},),arg1) -end diff --git a/src/generated/defs2.jl b/src/generated/defs2.jl deleted file mode 100644 index b5b7af95..00000000 --- a/src/generated/defs2.jl +++ /dev/null @@ -1 +0,0 @@ -# defs2.jl : any definition that Clang did not get correctly diff --git a/src/generated/error.jl b/src/generated/error.jl deleted file mode 100644 index 71a8a44b..00000000 --- a/src/generated/error.jl +++ /dev/null @@ -1,39 +0,0 @@ -# PETSc error codes and error handling -export chk, PetscError, PetscErrorMessage -#typealias PetscErrorCode Cint # from petscsys.h - -# wrap this around all PETSc ccalls, in order to catch exceptions -function chk(errnum) - if errnum != 0 - throw(PetscError(errnum)) - end - errnum -end - -immutable PetscError <: Exception - errnum::PetscErrorCode - msg::AbstractString - - function PetscError(n::Integer, msg::AbstractString="") - if isempty(msg) - new(PetscErrorCode(n), PetscErrorMessage(n)) - else - new(PetscErrorMessage(n), msg) - end - end -end - -# return error message string corresponding to errnum -function PetscErrorMessage(errnum) - msg_ptr = Ref{Ptr{UInt8}}(C_NULL) - # use the first petsc library for all cases - println(STDERR, "errnum = ", errnum) - C.PetscErrorMessage(C.petsc_type[1], errnum, msg_ptr, Ref{Ptr{UInt8}}(C_NULL)) - # error num strings are stored in a constant table so - # the pointer does not have to be free'd here - if msg_ptr[] == C_NULL - return "Petsc did not supply an error message" - else - return bytestring(msg_ptr[]) - end -end diff --git a/src/generated/libPETSc_commonComplexDouble.jl b/src/generated/libPETSc_commonComplexDouble.jl deleted file mode 100644 index 38f446c1..00000000 --- a/src/generated/libPETSc_commonComplexDouble.jl +++ /dev/null @@ -1,3963 +0,0 @@ -# Automatically generated using Clang.jl wrap_c, version 0.0.0 - -using Compat - -#skipping undefined const PETSC_FUNCTION_NAME = PETSC_FUNCTION_NAME_C -#skipping undefined const PETSC_RESTRICT = PETSC_C_RESTRICT -#skipping undefined const PETSC_STATIC_INLINE = PETSC_C_STATIC_INLINE -#skipping undefined const PETSC_VISIBILITY_PUBLIC = PETSC_DLLIMPORT -#= # Skipping MacroDefinition: PETSC_EXTERN extern PETSC_VISIBILITY_PUBLIC =# -#= # Skipping MacroDefinition: PETSC_INTERN extern PETSC_VISIBILITY_INTERNAL =# -const PETSC_VERSION_RELEASE = 1 -const PETSC_VERSION_MAJOR = 3 -const PETSC_VERSION_MINOR = 6 -const PETSC_VERSION_SUBMINOR = 0 -const PETSC_VERSION_PATCH = 0 -const PETSC_RELEASE_DATE = symbol("Jun, 9, 2015") -const PETSC_VERSION_DATE = symbol("Jun, 09, 2015") -const PETSC_VERSION_GIT = symbol("v3.6") -const PETSC_VERSION_DATE_GIT = symbol("2015-06-09 16:15:46 -0500") - -#= # Skipping MacroDefinition: PETSC_VERSION_ ( MAJOR , MINOR , SUBMINOR ) ( ( PETSC_VERSION_MAJOR == ( MAJOR ) ) && ( PETSC_VERSION_MINOR == ( MINOR ) ) && ( PETSC_VERSION_SUBMINOR == ( SUBMINOR ) ) && ( PETSC_VERSION_RELEASE == 1 ) ) =# -#= # Skipping MacroDefinition: PETSC_VERSION_LT ( MAJOR , MINOR , SUBMINOR ) ( PETSC_VERSION_RELEASE == 1 && ( PETSC_VERSION_MAJOR < ( MAJOR ) || ( PETSC_VERSION_MAJOR == ( MAJOR ) && ( PETSC_VERSION_MINOR < ( MINOR ) || ( PETSC_VERSION_MINOR == ( MINOR ) && ( PETSC_VERSION_SUBMINOR < ( SUBMINOR ) ) ) ) ) ) ) =# -#= # Skipping MacroDefinition: PETSC_VERSION_LE ( MAJOR , MINOR , SUBMINOR ) ( PETSC_VERSION_LT ( MAJOR , MINOR , SUBMINOR ) || PETSC_VERSION_ ( MAJOR , MINOR , SUBMINOR ) ) =# -#= # Skipping MacroDefinition: PETSC_VERSION_GT ( MAJOR , MINOR , SUBMINOR ) ( 0 == PETSC_VERSION_LE ( MAJOR , MINOR , SUBMINOR ) ) =# -#= # Skipping MacroDefinition: PETSC_VERSION_GE ( MAJOR , MINOR , SUBMINOR ) ( 0 == PETSC_VERSION_LT ( MAJOR , MINOR , SUBMINOR ) ) =# -const PETSC_AUTHOR_INFO = symbol(" The PETSc Team\n petsc-maint@mcs.anl.gov\n http://www.mcs.anl.gov/petsc/\n") -const MPICH_SKIP_MPICXX = 1 -const OMPI_SKIP_MPICXX = 1 - -#= # Skipping MacroDefinition: PetscAttrMPIPointerWithType ( bufno , typeno ) __attribute__ ( ( pointer_with_type_tag ( MPI , bufno , typeno ) ) ) =# -#= # Skipping MacroDefinition: PetscAttrMPITypeTag ( type ) __attribute__ ( ( type_tag_for_datatype ( MPI , type ) ) ) =# -#= # Skipping MacroDefinition: PetscAttrMPITypeTagLayoutCompatible ( type ) __attribute__ ( ( type_tag_for_datatype ( MPI , type , layout_compatible ) ) ) =# -#skipping undefined const MPIU_INT = MPI_INT64_T -#skipping undefined const MPIU_INT64 = MPI_INT64_T -#skipping undefined const MPIU_SIZE_T = MPI_UNSIGNED_LONG -#= # Skipping MacroDefinition: PetscUnlikely ( cond ) __builtin_expect ( ! ! ( cond ) , 0 ) =# -#= # Skipping MacroDefinition: PetscLikely ( cond ) __builtin_expect ( ! ! ( cond ) , 1 ) =# -#= # Skipping MacroDefinition: PetscExpPassiveScalar ( a ) PetscExpScalar ( ) =# -#skipping undefined const MPIU_REAL = MPI_FLOAT -#= # Skipping MacroDefinition: PetscSqrtReal ( a ) sqrt ( a ) =# -#= # Skipping MacroDefinition: PetscExpReal ( a ) exp ( a ) =# -#= # Skipping MacroDefinition: PetscLogReal ( a ) log ( a ) =# -#= # Skipping MacroDefinition: PetscLog10Real ( a ) log10 ( a ) =# -#= # Skipping MacroDefinition: PetscLog2Real ( a ) log2 ( a ) =# -#= # Skipping MacroDefinition: PetscSinReal ( a ) sin ( a ) =# -#= # Skipping MacroDefinition: PetscCosReal ( a ) cos ( a ) =# -#= # Skipping MacroDefinition: PetscTanReal ( a ) tan ( a ) =# -#= # Skipping MacroDefinition: PetscAsinReal ( a ) asin ( a ) =# -#= # Skipping MacroDefinition: PetscAcosReal ( a ) acos ( a ) =# -#= # Skipping MacroDefinition: PetscAtanReal ( a ) atan ( a ) =# -#= # Skipping MacroDefinition: PetscAtan2Real ( a , b ) atan2 ( a , b ) =# -#= # Skipping MacroDefinition: PetscSinhReal ( a ) sinh ( a ) =# -#= # Skipping MacroDefinition: PetscCoshReal ( a ) cosh ( a ) =# -#= # Skipping MacroDefinition: PetscTanhReal ( a ) tanh ( a ) =# -#= # Skipping MacroDefinition: PetscPowReal ( a , b ) pow ( a , b ) =# -#= # Skipping MacroDefinition: PetscCeilReal ( a ) ceil ( a ) =# -#= # Skipping MacroDefinition: PetscFloorReal ( a ) floor ( a ) =# -#= # Skipping MacroDefinition: PetscFmodReal ( a , b ) fmod ( a , b ) =# -#= # Skipping MacroDefinition: PetscTGamma ( a ) tgammaf ( a ) =# -const PETSC_HAVE_COMPLEX = 1 - -#= # Skipping MacroDefinition: PetscRealPartComplex ( a ) crealf ( a ) =# -#= # Skipping MacroDefinition: PetscImaginaryPartComplex ( a ) cimagf ( a ) =# -#= # Skipping MacroDefinition: PetscAbsComplex ( a ) cabsf ( a ) =# -#= # Skipping MacroDefinition: PetscConjComplex ( a ) conjf ( a ) =# -#= # Skipping MacroDefinition: PetscSqrtComplex ( a ) csqrtf ( a ) =# -#= # Skipping MacroDefinition: PetscPowComplex ( a , b ) cpowf ( a , b ) =# -#= # Skipping MacroDefinition: PetscExpComplex ( a ) cexpf ( a ) =# -#= # Skipping MacroDefinition: PetscLogComplex ( a ) clogf ( a ) =# -#= # Skipping MacroDefinition: PetscSinComplex ( a ) csinf ( a ) =# -#= # Skipping MacroDefinition: PetscCosComplex ( a ) ccosf ( a ) =# -#= # Skipping MacroDefinition: PetscAsinComplex ( a ) casinf ( a ) =# -#= # Skipping MacroDefinition: PetscAcosComplex ( a ) cacosf ( a ) =# -#= # Skipping MacroDefinition: PetscTanComplex ( a ) ctanf ( a ) =# -#= # Skipping MacroDefinition: PetscSinhComplex ( a ) csinhf ( a ) =# -#= # Skipping MacroDefinition: PetscCoshComplex ( a ) ccoshf ( a ) =# -#= # Skipping MacroDefinition: PetscTanhComplex ( a ) ctanhf ( a ) =# -#skipping undefined const MPIU_C_DOUBLE_COMPLEX = MPI_C_DOUBLE_COMPLEX -#skipping undefined const MPIU_C_COMPLEX = MPI_C_COMPLEX -#skipping undefined const MPIU_COMPLEX = MPIU_C_COMPLEX -#skipping undefined const MPIU_SCALAR = MPIU_REAL -#= # Skipping MacroDefinition: PetscRealPart ( a ) ( a ) =# -#= # Skipping MacroDefinition: PetscImaginaryPart ( a ) ( ( PetscReal ) 0. ) =# -#= # Skipping MacroDefinition: PetscConj ( a ) ( a ) =# -#= # Skipping MacroDefinition: PetscSqrtScalar ( a ) sqrt ( a ) =# -#= # Skipping MacroDefinition: PetscPowScalar ( a , b ) pow ( a , b ) =# -#= # Skipping MacroDefinition: PetscExpScalar ( a ) exp ( a ) =# -#= # Skipping MacroDefinition: PetscLogScalar ( a ) log ( a ) =# -#= # Skipping MacroDefinition: PetscSinScalar ( a ) sin ( a ) =# -#= # Skipping MacroDefinition: PetscCosScalar ( a ) cos ( a ) =# -#= # Skipping MacroDefinition: PetscAsinScalar ( a ) asin ( a ) =# -#= # Skipping MacroDefinition: PetscAcosScalar ( a ) acos ( a ) =# -#= # Skipping MacroDefinition: PetscTanScalar ( a ) tan ( a ) =# -#= # Skipping MacroDefinition: PetscSinhScalar ( a ) sinh ( a ) =# -#= # Skipping MacroDefinition: PetscCoshScalar ( a ) cosh ( a ) =# -#= # Skipping MacroDefinition: PetscTanhScalar ( a ) tanh ( a ) =# -#= # Skipping MacroDefinition: PetscSign ( a ) ( ( ( a ) >= 0 ) ? ( ( a ) == 0 ? 0 : 1 ) : - 1 ) =# -#= # Skipping MacroDefinition: PetscAbs ( a ) ( ( ( a ) >= 0 ) ? ( a ) : - ( a ) ) =# -#= # Skipping MacroDefinition: PetscMin ( a , b ) ( ( ( a ) < ( b ) ) ? ( a ) : ( b ) ) =# -#= # Skipping MacroDefinition: PetscMax ( a , b ) ( ( ( a ) < ( b ) ) ? ( b ) : ( a ) ) =# -#= # Skipping MacroDefinition: PetscClipInterval ( x , a , b ) ( PetscMax ( ( a ) , PetscMin ( ( x ) , ( b ) ) ) ) =# -#= # Skipping MacroDefinition: PetscAbsInt ( a ) ( ( ( a ) < 0 ) ? - ( a ) : ( a ) ) =# -#= # Skipping MacroDefinition: PetscAbsReal ( a ) ( ( ( a ) < 0 ) ? - ( a ) : ( a ) ) =# -#= # Skipping MacroDefinition: PetscSqr ( a ) ( ( a ) * ( a ) ) =# -const PETSC_PI = 3.141592653589793 -const PETSC_MAX_INT = 9223372036854775807 -const PETSC_MIN_INT = -PETSC_MAX_INT - 1 -const PETSC_MAX_REAL = 3.4028234663852886e38 -const PETSC_MIN_REAL = -PETSC_MAX_REAL -const PETSC_MACHINE_EPSILON = 1.1920929e-7 -const PETSC_SQRT_MACHINE_EPSILON = 0.000345266983 -const PETSC_SMALL = 1.0e-5 -const PETSC_INFINITY = PETSC_MAX_REAL / 4.0 -const PETSC_NINFINITY = -PETSC_INFINITY - -# excluding lhs of typealias PetscReal Cfloat -const PassiveReal = Float64 - -# excluding lhs of typealias PetscScalar PetscReal -const PassiveScalar = Complex128 - -#skipping undefined const MPIU_MATSCALAR = MPIU_SCALAR -const PETSC_NULL = C_NULL -const PETSC_IGNORE = C_NULL -const PETSC_DECIDE = -1 -const PETSC_DETERMINE = PETSC_DECIDE -const PETSC_DEFAULT = -2 -const PETSC_COMM_SELF = MPI_COMM_SELF - -#= # Skipping MacroDefinition: PetscMalloc ( a , b ) ( ( * PetscTrMalloc ) ( ( a ) , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ , ( void * * ) ( b ) ) ) =# -#= # Skipping MacroDefinition: PetscAddrAlign ( a ) ( void * ) ( ( ( ( PETSC_UINTPTR_T ) ( a ) ) + ( PETSC_MEMALIGN - 1 ) ) & ~ ( PETSC_MEMALIGN - 1 ) ) =# -#= # Skipping MacroDefinition: PetscMalloc1 ( m1 , r1 ) PetscMalloc ( ( m1 ) * sizeof ( * * ( r1 ) ) , r1 ) =# -#= # Skipping MacroDefinition: PetscCalloc1 ( m1 , r1 ) ( PetscMalloc1 ( ( m1 ) , r1 ) || PetscMemzero ( * ( r1 ) , ( m1 ) * sizeof ( * * ( r1 ) ) ) ) =# -#= # Skipping MacroDefinition: PetscMalloc2 ( m1 , r1 , m2 , r2 ) ( PetscMalloc1 ( ( m1 ) , ( r1 ) ) || PetscMalloc1 ( ( m2 ) , ( r2 ) ) ) =# -#= # Skipping MacroDefinition: PetscCalloc2 ( m1 , r1 , m2 , r2 ) ( PetscMalloc2 ( ( m1 ) , ( r1 ) , ( m2 ) , ( r2 ) ) || PetscMemzero ( * ( r1 ) , ( m1 ) * sizeof ( * * ( r1 ) ) ) || PetscMemzero ( * ( r2 ) , ( m2 ) * sizeof ( * * ( r2 ) ) ) ) =# -#= # Skipping MacroDefinition: PetscMalloc3 ( m1 , r1 , m2 , r2 , m3 , r3 ) ( PetscMalloc1 ( ( m1 ) , ( r1 ) ) || PetscMalloc1 ( ( m2 ) , ( r2 ) ) || PetscMalloc1 ( ( m3 ) , ( r3 ) ) ) =# -#= # Skipping MacroDefinition: PetscCalloc3 ( m1 , r1 , m2 , r2 , m3 , r3 ) ( PetscMalloc3 ( ( m1 ) , ( r1 ) , ( m2 ) , ( r2 ) , ( m3 ) , ( r3 ) ) || PetscMemzero ( * ( r1 ) , ( m1 ) * sizeof ( * * ( r1 ) ) ) || PetscMemzero ( * ( r2 ) , ( m2 ) * sizeof ( * * ( r2 ) ) ) || PetscMemzero ( * ( r3 ) , ( m3 ) * sizeof ( * * ( r3 ) ) ) ) =# -#= # Skipping MacroDefinition: PetscMalloc4 ( m1 , r1 , m2 , r2 , m3 , r3 , m4 , r4 ) ( PetscMalloc1 ( ( m1 ) , ( r1 ) ) || PetscMalloc1 ( ( m2 ) , ( r2 ) ) || PetscMalloc1 ( ( m3 ) , ( r3 ) ) || PetscMalloc1 ( ( m4 ) , ( r4 ) ) ) =# -#= # Skipping MacroDefinition: PetscCalloc4 ( m1 , r1 , m2 , r2 , m3 , r3 , m4 , r4 ) ( PetscMalloc4 ( m1 , r1 , m2 , r2 , m3 , r3 , m4 , r4 ) || PetscMemzero ( * ( r1 ) , ( m1 ) * sizeof ( * * ( r1 ) ) ) || PetscMemzero ( * ( r2 ) , ( m2 ) * sizeof ( * * ( r2 ) ) ) || PetscMemzero ( * ( r3 ) , ( m3 ) * sizeof ( * * ( r3 ) ) ) || PetscMemzero ( * ( r4 ) , ( m4 ) * sizeof ( * * ( r4 ) ) ) ) =# -#= # Skipping MacroDefinition: PetscMalloc5 ( m1 , r1 , m2 , r2 , m3 , r3 , m4 , r4 , m5 , r5 ) ( PetscMalloc1 ( ( m1 ) , ( r1 ) ) || PetscMalloc1 ( ( m2 ) , ( r2 ) ) || PetscMalloc1 ( ( m3 ) , ( r3 ) ) || PetscMalloc1 ( ( m4 ) , ( r4 ) ) || PetscMalloc1 ( ( m5 ) , ( r5 ) ) ) =# -#= # Skipping MacroDefinition: PetscCalloc5 ( m1 , r1 , m2 , r2 , m3 , r3 , m4 , r4 , m5 , r5 ) ( PetscMalloc5 ( m1 , r1 , m2 , r2 , m3 , r3 , m4 , r4 , m5 , r5 ) || PetscMemzero ( * ( r1 ) , ( m1 ) * sizeof ( * * ( r1 ) ) ) || PetscMemzero ( * ( r2 ) , ( m2 ) * sizeof ( * * ( r2 ) ) ) || PetscMemzero ( * ( r3 ) , ( m3 ) * sizeof ( * * ( r3 ) ) ) || PetscMemzero ( * ( r4 ) , ( m4 ) * sizeof ( * * ( r4 ) ) ) || PetscMemzero ( * ( r5 ) , ( m5 ) * sizeof ( * * ( r5 ) ) ) ) =# -#= # Skipping MacroDefinition: PetscMalloc6 ( m1 , r1 , m2 , r2 , m3 , r3 , m4 , r4 , m5 , r5 , m6 , r6 ) ( PetscMalloc1 ( ( m1 ) , ( r1 ) ) || PetscMalloc1 ( ( m2 ) , ( r2 ) ) || PetscMalloc1 ( ( m3 ) , ( r3 ) ) || PetscMalloc1 ( ( m4 ) , ( r4 ) ) || PetscMalloc1 ( ( m5 ) , ( r5 ) ) || PetscMalloc1 ( ( m6 ) , ( r6 ) ) ) =# -#= # Skipping MacroDefinition: PetscCalloc6 ( m1 , r1 , m2 , r2 , m3 , r3 , m4 , r4 , m5 , r5 , m6 , r6 ) ( PetscMalloc6 ( m1 , r1 , m2 , r2 , m3 , r3 , m4 , r4 , m5 , r5 , m6 , r6 ) || PetscMemzero ( * ( r1 ) , ( m1 ) * sizeof ( * * ( r1 ) ) ) || PetscMemzero ( * ( r2 ) , ( m2 ) * sizeof ( * * ( r2 ) ) ) || PetscMemzero ( * ( r3 ) , ( m3 ) * sizeof ( * * ( r3 ) ) ) || PetscMemzero ( * ( r4 ) , ( m4 ) * sizeof ( * * ( r4 ) ) ) || PetscMemzero ( * ( r5 ) , ( m5 ) * sizeof ( * * ( r5 ) ) ) || PetscMemzero ( * ( r6 ) , ( m6 ) * sizeof ( * * ( r6 ) ) ) ) =# -#= # Skipping MacroDefinition: PetscMalloc7 ( m1 , r1 , m2 , r2 , m3 , r3 , m4 , r4 , m5 , r5 , m6 , r6 , m7 , r7 ) ( PetscMalloc1 ( ( m1 ) , ( r1 ) ) || PetscMalloc1 ( ( m2 ) , ( r2 ) ) || PetscMalloc1 ( ( m3 ) , ( r3 ) ) || PetscMalloc1 ( ( m4 ) , ( r4 ) ) || PetscMalloc1 ( ( m5 ) , ( r5 ) ) || PetscMalloc1 ( ( m6 ) , ( r6 ) ) || PetscMalloc1 ( ( m7 ) , ( r7 ) ) ) =# -#= # Skipping MacroDefinition: PetscCalloc7 ( m1 , r1 , m2 , r2 , m3 , r3 , m4 , r4 , m5 , r5 , m6 , r6 , m7 , r7 ) ( PetscMalloc7 ( m1 , r1 , m2 , r2 , m3 , r3 , m4 , r4 , m5 , r5 , m6 , r6 , m7 , r7 ) || PetscMemzero ( * ( r1 ) , ( m1 ) * sizeof ( * * ( r1 ) ) ) || PetscMemzero ( * ( r2 ) , ( m2 ) * sizeof ( * * ( r2 ) ) ) || PetscMemzero ( * ( r3 ) , ( m3 ) * sizeof ( * * ( r3 ) ) ) || PetscMemzero ( * ( r4 ) , ( m4 ) * sizeof ( * * ( r4 ) ) ) || PetscMemzero ( * ( r5 ) , ( m5 ) * sizeof ( * * ( r5 ) ) ) || PetscMemzero ( * ( r6 ) , ( m6 ) * sizeof ( * * ( r6 ) ) ) || PetscMemzero ( * ( r7 ) , ( m7 ) * sizeof ( * * ( r7 ) ) ) ) =# -#= # Skipping MacroDefinition: PetscNew ( b ) PetscCalloc1 ( 1 , ( b ) ) =# -#= # Skipping MacroDefinition: PetscNewLog ( o , b ) ( PetscNew ( ( b ) ) || PetscLogObjectMemory ( ( PetscObject ) o , sizeof ( * * ( b ) ) ) ) =# -#= # Skipping MacroDefinition: PetscFree ( a ) ( ( * PetscTrFree ) ( ( void * ) ( a ) , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ ) || ( ( a ) = 0 , 0 ) ) =# -#= # Skipping MacroDefinition: PetscFreeVoid ( a ) ( ( * PetscTrFree ) ( ( a ) , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ ) , ( a ) = 0 ) =# -#= # Skipping MacroDefinition: PetscFree2 ( m1 , m2 ) ( PetscFree ( m2 ) || PetscFree ( m1 ) ) =# -#= # Skipping MacroDefinition: PetscFree3 ( m1 , m2 , m3 ) ( PetscFree ( m3 ) || PetscFree ( m2 ) || PetscFree ( m1 ) ) =# -#= # Skipping MacroDefinition: PetscFree4 ( m1 , m2 , m3 , m4 ) ( PetscFree ( m4 ) || PetscFree ( m3 ) || PetscFree ( m2 ) || PetscFree ( m1 ) ) =# -#= # Skipping MacroDefinition: PetscFree5 ( m1 , m2 , m3 , m4 , m5 ) ( PetscFree ( m5 ) || PetscFree ( m4 ) || PetscFree ( m3 ) || PetscFree ( m2 ) || PetscFree ( m1 ) ) =# -#= # Skipping MacroDefinition: PetscFree6 ( m1 , m2 , m3 , m4 , m5 , m6 ) ( PetscFree ( m6 ) || PetscFree ( m5 ) || PetscFree ( m4 ) || PetscFree ( m3 ) || PetscFree ( m2 ) || PetscFree ( m1 ) ) =# -#= # Skipping MacroDefinition: PetscFree7 ( m1 , m2 , m3 , m4 , m5 , m6 , m7 ) ( PetscFree ( m7 ) || PetscFree ( m6 ) || PetscFree ( m5 ) || PetscFree ( m4 ) || PetscFree ( m3 ) || PetscFree ( m2 ) || PetscFree ( m1 ) ) =# -#skipping undefined const MPIU_PETSCLOGDOUBLE = MPI_DOUBLE -#= # begin enum PetscDataType =# -typealias PetscDataType UInt32 - -const PETSC_INT = (UInt32)(0) -const PETSC_DOUBLE = (UInt32)(1) -const PETSC_COMPLEX = (UInt32)(2) -const PETSC_LONG = (UInt32)(3) -const PETSC_SHORT = (UInt32)(4) -const PETSC_FLOAT = (UInt32)(5) -const PETSC_CHAR = (UInt32)(6) -const PETSC_BIT_LOGICAL = (UInt32)(7) -const PETSC_ENUM = (UInt32)(8) -const PETSC_BOOL = (UInt32)(9) -const PETSC___FLOAT128 = (UInt32)(10) -const PETSC_OBJECT = (UInt32)(11) -const PETSC_FUNCTION = (UInt32)(12) -const PETSC_STRING = (UInt32)(12) - -#= # end enum PetscDataType =# -const PETSC_SCALAR = PETSC_FLOAT -const PETSC_REAL = PETSC_FLOAT -const PETSC_FORTRANADDR = PETSC_LONG - -#skipping undefined const MPIU_SUM = MPI_SUM -#skipping undefined const MPIU_MAX = MPI_MAX -#skipping undefined const MPIU_MIN = MPI_MIN -const PETSC_ERR_MIN_VALUE = 54 -const PETSC_ERR_MEM = 55 -const PETSC_ERR_SUP = 56 -const PETSC_ERR_SUP_SYS = 57 -const PETSC_ERR_ORDER = 58 -const PETSC_ERR_SIG = 59 -const PETSC_ERR_FP = 72 -const PETSC_ERR_COR = 74 -const PETSC_ERR_LIB = 76 -const PETSC_ERR_PLIB = 77 -const PETSC_ERR_MEMC = 78 -const PETSC_ERR_CONV_FAILED = 82 -const PETSC_ERR_USER = 83 -const PETSC_ERR_SYS = 88 -const PETSC_ERR_POINTER = 70 -const PETSC_ERR_ARG_SIZ = 60 -const PETSC_ERR_ARG_IDN = 61 -const PETSC_ERR_ARG_WRONG = 62 -const PETSC_ERR_ARG_CORRUPT = 64 -const PETSC_ERR_ARG_OUTOFRANGE = 63 -const PETSC_ERR_ARG_BADPTR = 68 -const PETSC_ERR_ARG_NOTSAMETYPE = 69 -const PETSC_ERR_ARG_NOTSAMECOMM = 80 -const PETSC_ERR_ARG_WRONGSTATE = 73 -const PETSC_ERR_ARG_TYPENOTSET = 89 -const PETSC_ERR_ARG_INCOMP = 75 -const PETSC_ERR_ARG_NULL = 85 -const PETSC_ERR_ARG_UNKNOWN_TYPE = 86 -const PETSC_ERR_FILE_OPEN = 65 -const PETSC_ERR_FILE_READ = 66 -const PETSC_ERR_FILE_WRITE = 67 -const PETSC_ERR_FILE_UNEXPECTED = 79 -const PETSC_ERR_MAT_LU_ZRPVT = 71 -const PETSC_ERR_MAT_CH_ZRPVT = 81 -const PETSC_ERR_INT_OVERFLOW = 84 -const PETSC_ERR_FLOP_COUNT = 90 -const PETSC_ERR_NOT_CONVERGED = 91 -const PETSC_ERR_MISSING_FACTOR = 92 -const PETSC_ERR_MAX_VALUE = 93 - -#= # Skipping MacroDefinition: PetscStringizeArg ( a ) # a =# -#= # Skipping MacroDefinition: PetscStringize ( a ) PetscStringizeArg ( a ) =# -#= # Skipping MacroDefinition: SETERRQ ( comm , n , s ) return PetscError ( comm , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ , n , PETSC_ERROR_INITIAL , s ) =# -#= # Skipping MacroDefinition: SETERRQ1 ( comm , n , s , a1 ) return PetscError ( comm , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ , n , PETSC_ERROR_INITIAL , s , a1 ) =# -#= # Skipping MacroDefinition: SETERRQ2 ( comm , n , s , a1 , a2 ) return PetscError ( comm , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ , n , PETSC_ERROR_INITIAL , s , a1 , a2 ) =# -#= # Skipping MacroDefinition: SETERRQ3 ( comm , n , s , a1 , a2 , a3 ) return PetscError ( comm , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ , n , PETSC_ERROR_INITIAL , s , a1 , a2 , a3 ) =# -#= # Skipping MacroDefinition: SETERRQ4 ( comm , n , s , a1 , a2 , a3 , a4 ) return PetscError ( comm , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ , n , PETSC_ERROR_INITIAL , s , a1 , a2 , a3 , a4 ) =# -#= # Skipping MacroDefinition: SETERRQ5 ( comm , n , s , a1 , a2 , a3 , a4 , a5 ) return PetscError ( comm , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ , n , PETSC_ERROR_INITIAL , s , a1 , a2 , a3 , a4 , a5 ) =# -#= # Skipping MacroDefinition: SETERRQ6 ( comm , n , s , a1 , a2 , a3 , a4 , a5 , a6 ) return PetscError ( comm , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ , n , PETSC_ERROR_INITIAL , s , a1 , a2 , a3 , a4 , a5 , a6 ) =# -#= # Skipping MacroDefinition: SETERRQ7 ( comm , n , s , a1 , a2 , a3 , a4 , a5 , a6 , a7 ) return PetscError ( comm , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ , n , PETSC_ERROR_INITIAL , s , a1 , a2 , a3 , a4 , a5 , a6 , a7 ) =# -#= # Skipping MacroDefinition: SETERRQ8 ( comm , n , s , a1 , a2 , a3 , a4 , a5 , a6 , a7 , a8 ) return PetscError ( comm , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ , n , PETSC_ERROR_INITIAL , s , a1 , a2 , a3 , a4 , a5 , a6 , a7 , a8 ) =# -#= # Skipping MacroDefinition: SETERRABORT ( comm , n , s ) do { PetscError ( comm , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ , n , PETSC_ERROR_INITIAL , s ) ; MPI_Abort ( comm , n ) ; } while ( 0 ) =# -#= # Skipping MacroDefinition: CHKERRQ ( n ) do { if ( PetscUnlikely ( n ) ) return PetscError ( PETSC_COMM_SELF , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ , n , PETSC_ERROR_REPEAT , " " ) ; } while ( 0 ) =# -#= # Skipping MacroDefinition: CHKERRV ( n ) do { if ( PetscUnlikely ( n ) ) { n = PetscError ( PETSC_COMM_SELF , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ , n , PETSC_ERROR_REPEAT , " " ) ; return ; } } while ( 0 ) =# -#= # Skipping MacroDefinition: CHKERRABORT ( comm , n ) do { if ( PetscUnlikely ( n ) ) { PetscError ( PETSC_COMM_SELF , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ , n , PETSC_ERROR_REPEAT , " " ) ; MPI_Abort ( comm , n ) ; } } while ( 0 ) =# -#= # Skipping MacroDefinition: CHKERRCONTINUE ( n ) do { if ( PetscUnlikely ( n ) ) { PetscError ( PETSC_COMM_SELF , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ , n , PETSC_ERROR_REPEAT , " " ) ; } } while ( 0 ) =# -#= # Skipping MacroDefinition: CHKMEMQ do { PetscErrorCode _7_ierr = PetscMallocValidate ( __LINE__ , PETSC_FUNCTION_NAME , __FILE__ ) ; CHKERRQ ( _7_ierr ) ; } while ( 0 ) =# -#= # Skipping MacroDefinition: CHKMEMA PetscMallocValidate ( __LINE__ , PETSC_FUNCTION_NAME , __FILE__ ) =# -const PETSCSTACKSIZE = 64 - -#= # Skipping MacroDefinition: PetscStackPushNoCheck ( funct , petsc_routine , hot ) do { PetscStackSAWsTakeAccess ( ) ; if ( petscstack && ( petscstack -> currentsize < PETSCSTACKSIZE ) ) { petscstack -> function [ petscstack -> currentsize ] = funct ; petscstack -> file [ petscstack -> currentsize ] = __FILE__ ; petscstack -> line [ petscstack -> currentsize ] = __LINE__ ; petscstack -> petscroutine [ petscstack -> currentsize ] = petsc_routine ; petscstack -> currentsize ++ ; } if ( petscstack ) { petscstack -> hotdepth += ( hot || petscstack -> hotdepth ) ; } PetscStackSAWsGrantAccess ( ) ; } while ( 0 ) =# -#= # Skipping MacroDefinition: PetscStackPopNoCheck do { PetscStackSAWsTakeAccess ( ) ; if ( petscstack && petscstack -> currentsize > 0 ) { petscstack -> currentsize -- ; petscstack -> function [ petscstack -> currentsize ] = 0 ; petscstack -> file [ petscstack -> currentsize ] = 0 ; petscstack -> line [ petscstack -> currentsize ] = 0 ; petscstack -> petscroutine [ petscstack -> currentsize ] = PETSC_FALSE ; } if ( petscstack ) { petscstack -> hotdepth = PetscMax ( petscstack -> hotdepth - 1 , 0 ) ; } PetscStackSAWsGrantAccess ( ) ; } while ( 0 ) =# -#= # Skipping MacroDefinition: PetscFunctionBegin do { PetscStackPushNoCheck ( PETSC_FUNCTION_NAME , PETSC_TRUE , PETSC_FALSE ) ; PetscCheck__FUNCT__ ( ) ; PetscRegister__FUNCT__ ( ) ; } while ( 0 ) =# -#= # Skipping MacroDefinition: PetscFunctionBeginHot do { PetscStackPushNoCheck ( PETSC_FUNCTION_NAME , PETSC_TRUE , PETSC_TRUE ) ; PetscCheck__FUNCT__ ( ) ; PetscRegister__FUNCT__ ( ) ; } while ( 0 ) =# -#= # Skipping MacroDefinition: PetscFunctionBeginUser do { PetscStackPushNoCheck ( PETSC_FUNCTION_NAME , PETSC_FALSE , PETSC_FALSE ) ; PetscCheck__FUNCT__ ( ) ; PetscRegister__FUNCT__ ( ) ; } while ( 0 ) =# -#= # Skipping MacroDefinition: PetscCheck__FUNCT__ ( ) do { PetscBool _sc1 , _sc2 ; PetscStrcmpNoError ( PETSC_FUNCTION_NAME , __FUNCT__ , & _sc1 ) ; PetscStrcmpNoError ( __FUNCT__ , "User provided function" , & _sc2 ) ; if ( ! _sc1 && ! _sc2 ) { printf ( "%s:%d: __FUNCT__=\"%s\" does not agree with %s=\"%s\"\n" , __FILE__ , __LINE__ , __FUNCT__ , PetscStringize ( PETSC_FUNCTION_NAME ) , PETSC_FUNCTION_NAME ) ; } } while ( 0 ) =# -#= # Skipping MacroDefinition: PetscStackPush ( n ) do { PetscStackPushNoCheck ( n , PETSC_FALSE , PETSC_FALSE ) ; CHKMEMQ ; } while ( 0 ) =# -#= # Skipping MacroDefinition: PetscStackPop do { CHKMEMQ ; PetscStackPopNoCheck ; } while ( 0 ) =# -#= # Skipping MacroDefinition: PetscFunctionReturn ( a ) do { PetscStackPopNoCheck ; return ( a ) ; } while ( 0 ) =# -#= # Skipping MacroDefinition: PetscFunctionReturnVoid ( ) do { PetscStackPopNoCheck ; return ; } while ( 0 ) =# -#= # Skipping MacroDefinition: PetscStackCall ( name , routine ) do { PetscStackPush ( name ) ; routine ; PetscStackPop ; } while ( 0 ) =# -#= # Skipping MacroDefinition: PetscStackCallStandard ( func , args ) do { PetscStackPush ( # func ) ; ierr = func args ; PetscStackPop ; if ( ierr ) SETERRQ1 ( PETSC_COMM_SELF , PETSC_ERR_LIB , "Error in %s()" , # func ) ; } while ( 0 ) =# -const PETSC_SMALLEST_CLASSID = 1211211 - -#= # Skipping MacroDefinition: PetscObjectComposeFunction ( a , b , d ) PetscObjectComposeFunction_Private ( a , b , ( PetscVoidFunction ) ( d ) ) =# -#= # Skipping MacroDefinition: PetscOptionsBegin ( comm , prefix , mess , sec ) 0 ; do { PetscOptions PetscOptionsObjectBase ; PetscOptions * PetscOptionsObject = & PetscOptionsObjectBase ; PetscMemzero ( PetscOptionsObject , sizeof ( PetscOptions ) ) ; for ( PetscOptionsObject -> count = ( PetscOptionsPublish ? - 1 : 1 ) ; PetscOptionsObject -> count < 2 ; PetscOptionsObject -> count ++ ) { PetscErrorCode _5_ierr = PetscOptionsBegin_Private ( PetscOptionsObject , comm , prefix , mess , sec ) ; CHKERRQ ( _5_ierr ) ; =# -#= # Skipping MacroDefinition: PetscObjectOptionsBegin ( obj ) 0 ; do { PetscOptions PetscOptionsObjectBase ; PetscOptions * PetscOptionsObject = & PetscOptionsObjectBase ; for ( PetscOptionsObject -> count = ( PetscOptionsPublish ? - 1 : 1 ) ; PetscOptionsObject -> count < 2 ; PetscOptionsObject -> count ++ ) { PetscErrorCode _5_ierr = PetscObjectOptionsBegin_Private ( PetscOptionsObject , obj ) ; CHKERRQ ( _5_ierr ) ; =# -#= # Skipping MacroDefinition: PetscOptionsEnd ( ) _5_ierr = PetscOptionsEnd_Private ( PetscOptionsObject ) ; CHKERRQ ( _5_ierr ) ; } } while ( 0 ) =# -#= # Skipping MacroDefinition: PetscOptionsTail ( ) 0 ; { if ( PetscOptionsObject -> count != 1 ) PetscFunctionReturn ( 0 ) ; } =# -#= # Skipping MacroDefinition: PetscOptionsEnum ( a , b , c , d , e , f , g ) PetscOptionsEnum_Private ( PetscOptionsObject , a , b , c , d , e , f , g ) =# -#= # Skipping MacroDefinition: PetscOptionsInt ( a , b , c , d , e , f ) PetscOptionsInt_Private ( PetscOptionsObject , a , b , c , d , e , f ) =# -#= # Skipping MacroDefinition: PetscOptionsReal ( a , b , c , d , e , f ) PetscOptionsReal_Private ( PetscOptionsObject , a , b , c , d , e , f ) =# -#= # Skipping MacroDefinition: PetscOptionsScalar ( a , b , c , d , e , f ) PetscOptionsScalar_Private ( PetscOptionsObject , a , b , c , d , e , f ) =# -#= # Skipping MacroDefinition: PetscOptionsName ( a , b , c , d ) PetscOptionsName_Private ( PetscOptionsObject , a , b , c , d ) =# -#= # Skipping MacroDefinition: PetscOptionsString ( a , b , c , d , e , f , g ) PetscOptionsString_Private ( PetscOptionsObject , a , b , c , d , e , f , g ) =# -#= # Skipping MacroDefinition: PetscOptionsBool ( a , b , c , d , e , f ) PetscOptionsBool_Private ( PetscOptionsObject , a , b , c , d , e , f ) =# -#= # Skipping MacroDefinition: PetscOptionsBoolGroupBegin ( a , b , c , d ) PetscOptionsBoolGroupBegin_Private ( PetscOptionsObject , a , b , c , d ) =# -#= # Skipping MacroDefinition: PetscOptionsBoolGroup ( a , b , c , d ) PetscOptionsBoolGroup_Private ( PetscOptionsObject , a , b , c , d ) =# -#= # Skipping MacroDefinition: PetscOptionsBoolGroupEnd ( a , b , c , d ) PetscOptionsBoolGroupEnd_Private ( PetscOptionsObject , a , b , c , d ) =# -#= # Skipping MacroDefinition: PetscOptionsFList ( a , b , c , d , e , f , g , h ) PetscOptionsFList_Private ( PetscOptionsObject , a , b , c , d , e , f , g , h ) =# -#= # Skipping MacroDefinition: PetscOptionsEList ( a , b , c , d , e , f , g , h ) PetscOptionsEList_Private ( PetscOptionsObject , a , b , c , d , e , f , g , h ) =# -#= # Skipping MacroDefinition: PetscOptionsRealArray ( a , b , c , d , e , f ) PetscOptionsRealArray_Private ( PetscOptionsObject , a , b , c , d , e , f ) =# -#= # Skipping MacroDefinition: PetscOptionsScalarArray ( a , b , c , d , e , f ) PetscOptionsScalarArray_Private ( PetscOptionsObject , a , b , c , d , e , f ) =# -#= # Skipping MacroDefinition: PetscOptionsIntArray ( a , b , c , d , e , f ) PetscOptionsIntArray_Private ( PetscOptionsObject , a , b , c , d , e , f ) =# -#= # Skipping MacroDefinition: PetscOptionsStringArray ( a , b , c , d , e , f ) PetscOptionsStringArray_Private ( PetscOptionsObject , a , b , c , d , e , f ) =# -#= # Skipping MacroDefinition: PetscOptionsBoolArray ( a , b , c , d , e , f ) PetscOptionsBoolArray_Private ( PetscOptionsObject , a , b , c , d , e , f ) =# -#= # Skipping MacroDefinition: PetscOptionsEnumArray ( a , b , c , d , e , f , g ) PetscOptionsEnumArray_Private ( PetscOptionsObject , a , b , c , d , e , f , g ) =# -#= # Skipping MacroDefinition: PetscObjectQueryFunction ( obj , name , fptr ) PetscObjectQueryFunction_Private ( ( obj ) , ( name ) , ( PetscVoidFunction * ) ( fptr ) ) =# -#= # Skipping MacroDefinition: PetscSAWsBlock ( ) 0 =# -#= # Skipping MacroDefinition: PetscObjectSAWsViewOff ( obj ) 0 =# -#= # Skipping MacroDefinition: PetscObjectSAWsSetBlock ( obj , flg ) 0 =# -#= # Skipping MacroDefinition: PetscObjectSAWsBlock ( obj ) 0 =# -#= # Skipping MacroDefinition: PetscObjectSAWsGrantAccess ( obj ) 0 =# -#= # Skipping MacroDefinition: PetscObjectSAWsTakeAccess ( obj ) 0 =# -#= # Skipping MacroDefinition: PetscStackViewSAWs ( ) 0 =# -#= # Skipping MacroDefinition: PetscStackSAWsViewOff ( ) 0 =# -#= # Skipping MacroDefinition: PetscFunctionListAdd ( list , name , fptr ) PetscFunctionListAdd_Private ( ( list ) , ( name ) , ( PetscVoidFunction ) ( fptr ) ) =# -#= # Skipping MacroDefinition: PetscFunctionListFind ( list , name , fptr ) PetscFunctionListFind_Private ( ( list ) , ( name ) , ( PetscVoidFunction * ) ( fptr ) ) =# -#= # Skipping MacroDefinition: PetscNot ( a ) ( ( a ) ? PETSC_FALSE : PETSC_TRUE ) =# -const PETSC_EVENT = 1311311 - -#= # Skipping MacroDefinition: PetscInfo ( A , S ) PetscInfo_Private ( PETSC_FUNCTION_NAME , A , S ) =# -#= # Skipping MacroDefinition: PetscInfo1 ( A , S , a1 ) PetscInfo_Private ( PETSC_FUNCTION_NAME , A , S , a1 ) =# -#= # Skipping MacroDefinition: PetscInfo2 ( A , S , a1 , a2 ) PetscInfo_Private ( PETSC_FUNCTION_NAME , A , S , a1 , a2 ) =# -#= # Skipping MacroDefinition: PetscInfo3 ( A , S , a1 , a2 , a3 ) PetscInfo_Private ( PETSC_FUNCTION_NAME , A , S , a1 , a2 , a3 ) =# -#= # Skipping MacroDefinition: PetscInfo4 ( A , S , a1 , a2 , a3 , a4 ) PetscInfo_Private ( PETSC_FUNCTION_NAME , A , S , a1 , a2 , a3 , a4 ) =# -#= # Skipping MacroDefinition: PetscInfo5 ( A , S , a1 , a2 , a3 , a4 , a5 ) PetscInfo_Private ( PETSC_FUNCTION_NAME , A , S , a1 , a2 , a3 , a4 , a5 ) =# -#= # Skipping MacroDefinition: PetscInfo6 ( A , S , a1 , a2 , a3 , a4 , a5 , a6 ) PetscInfo_Private ( PETSC_FUNCTION_NAME , A , S , a1 , a2 , a3 , a4 , a5 , a6 ) =# -#= # Skipping MacroDefinition: PetscInfo7 ( A , S , a1 , a2 , a3 , a4 , a5 , a6 , a7 ) PetscInfo_Private ( PETSC_FUNCTION_NAME , A , S , a1 , a2 , a3 , a4 , a5 , a6 , a7 ) =# -const PETSC_FLOPS_PER_OP = 1.0 - -#= # Skipping MacroDefinition: PetscLogObjectParents ( p , n , d ) 0 ; { int _i ; for ( _i = 0 ; _i < n ; _i ++ ) { ierr = PetscLogObjectParent ( ( PetscObject ) p , ( PetscObject ) ( d ) [ _i ] ) ; CHKERRQ ( ierr ) ; } } =# -#= # Skipping MacroDefinition: PetscLogObjectCreate ( h ) ( ( PetscLogPHC ) ? ( * PetscLogPHC ) ( ( PetscObject ) h ) : 0 ) =# -#= # Skipping MacroDefinition: PetscLogObjectDestroy ( h ) ( ( PetscLogPHD ) ? ( * PetscLogPHD ) ( ( PetscObject ) h ) : 0 ) =# -#= # Skipping MacroDefinition: PetscLogEventBarrierBegin ( e , o1 , o2 , o3 , o4 , cm ) ( ( ( PetscLogPLB && petsc_stageLog -> stageInfo [ petsc_stageLog -> curStage ] . perfInfo . active && petsc_stageLog -> stageInfo [ petsc_stageLog -> curStage ] . eventLog -> eventInfo [ e ] . active ) ? ( PetscLogEventBegin ( ( e ) , o1 , o2 , o3 , o4 ) || MPI_Barrier ( cm ) || PetscLogEventEnd ( ( e ) , o1 , o2 , o3 , o4 ) ) : 0 ) || PetscLogEventBegin ( ( e ) + 1 , o1 , o2 , o3 , o4 ) ) =# -#= # Skipping MacroDefinition: PetscLogEventBegin ( e , o1 , o2 , o3 , o4 ) ( ( ( PetscLogPLB && petsc_stageLog -> stageInfo [ petsc_stageLog -> curStage ] . perfInfo . active && petsc_stageLog -> stageInfo [ petsc_stageLog -> curStage ] . eventLog -> eventInfo [ e ] . active ) ? ( * PetscLogPLB ) ( ( e ) , 0 , ( PetscObject ) ( o1 ) , ( PetscObject ) ( o2 ) , ( PetscObject ) ( o3 ) , ( PetscObject ) ( o4 ) ) : 0 ) ) =# -#= # Skipping MacroDefinition: PetscLogEventBarrierEnd ( e , o1 , o2 , o3 , o4 , cm ) PetscLogEventEnd ( e + 1 , o1 , o2 , o3 , o4 ) =# -#= # Skipping MacroDefinition: PetscLogEventEnd ( e , o1 , o2 , o3 , o4 ) ( ( ( PetscLogPLE && petsc_stageLog -> stageInfo [ petsc_stageLog -> curStage ] . perfInfo . active && petsc_stageLog -> stageInfo [ petsc_stageLog -> curStage ] . eventLog -> eventInfo [ e ] . active ) ? ( * PetscLogPLE ) ( ( e ) , 0 , ( PetscObject ) ( o1 ) , ( PetscObject ) ( o2 ) , ( PetscObject ) ( o3 ) , ( PetscObject ) ( o4 ) ) : 0 ) ) =# -#= # Skipping MacroDefinition: MPI_Irecv ( buf , count , datatype , source , tag , comm , request ) ( ( petsc_irecv_ct ++ , 0 ) || PetscMPITypeSize ( & petsc_irecv_len , count , datatype ) || MPI_Irecv ( buf , count , datatype , source , tag , comm , request ) ) =# -#= # Skipping MacroDefinition: MPI_Isend ( buf , count , datatype , dest , tag , comm , request ) ( ( petsc_isend_ct ++ , 0 ) || PetscMPITypeSize ( & petsc_isend_len , count , datatype ) || MPI_Isend ( buf , count , datatype , dest , tag , comm , request ) ) =# -#= # Skipping MacroDefinition: MPI_Startall_irecv ( count , number , requests ) ( ( petsc_irecv_ct += ( PetscLogDouble ) ( number ) , 0 ) || PetscMPITypeSize ( & petsc_irecv_len , count , MPIU_SCALAR ) || MPI_Startall ( number , requests ) ) =# -#= # Skipping MacroDefinition: MPI_Startall_isend ( count , number , requests ) ( ( petsc_isend_ct += ( PetscLogDouble ) ( number ) , 0 ) || PetscMPITypeSize ( & petsc_isend_len , count , MPIU_SCALAR ) || MPI_Startall ( number , requests ) ) =# -#= # Skipping MacroDefinition: MPI_Start_isend ( count , requests ) ( ( petsc_isend_ct ++ , 0 ) || PetscMPITypeSize ( & petsc_isend_len , count , MPIU_SCALAR ) || MPI_Start ( requests ) ) =# -#= # Skipping MacroDefinition: MPI_Recv ( buf , count , datatype , source , tag , comm , status ) ( ( petsc_recv_ct ++ , 0 ) || PetscMPITypeSize ( & petsc_recv_len , count , datatype ) || MPI_Recv ( buf , count , datatype , source , tag , comm , status ) ) =# -#= # Skipping MacroDefinition: MPI_Send ( buf , count , datatype , dest , tag , comm ) ( ( petsc_send_ct ++ , 0 ) || PetscMPITypeSize ( & petsc_send_len , count , datatype ) || MPI_Send ( buf , count , datatype , dest , tag , comm ) ) =# -#= # Skipping MacroDefinition: MPI_Wait ( request , status ) ( ( petsc_wait_ct ++ , petsc_sum_of_waits_ct ++ , 0 ) || MPI_Wait ( request , status ) ) =# -#= # Skipping MacroDefinition: MPI_Waitany ( a , b , c , d ) ( ( petsc_wait_any_ct ++ , petsc_sum_of_waits_ct ++ , 0 ) || MPI_Waitany ( a , b , c , d ) ) =# -#= # Skipping MacroDefinition: MPI_Waitall ( count , array_of_requests , array_of_statuses ) ( ( petsc_wait_all_ct ++ , petsc_sum_of_waits_ct += ( PetscLogDouble ) ( count ) , 0 ) || MPI_Waitall ( count , array_of_requests , array_of_statuses ) ) =# -#= # Skipping MacroDefinition: MPI_Allreduce ( sendbuf , recvbuf , count , datatype , op , comm ) ( ( petsc_allreduce_ct += PetscMPIParallelComm ( comm ) , 0 ) || MPI_Allreduce ( sendbuf , recvbuf , count , datatype , op , comm ) ) =# -#= # Skipping MacroDefinition: MPI_Alltoall ( sendbuf , sendcount , sendtype , recvbuf , recvcount , recvtype , comm ) ( ( petsc_allreduce_ct += PetscMPIParallelComm ( comm ) , 0 ) || PetscMPITypeSize ( & petsc_send_len , sendcount , sendtype ) || MPI_Alltoall ( sendbuf , sendcount , sendtype , recvbuf , recvcount , recvtype , comm ) ) =# -#= # Skipping MacroDefinition: MPI_Alltoallv ( sendbuf , sendcnts , sdispls , sendtype , recvbuf , recvcnts , rdispls , recvtype , comm ) ( ( petsc_allreduce_ct += PetscMPIParallelComm ( comm ) , 0 ) || PetscMPITypeSizeComm ( comm , & petsc_send_len , sendcnts , sendtype ) || MPI_Alltoallv ( sendbuf , sendcnts , sdispls , sendtype , recvbuf , recvcnts , rdispls , recvtype , comm ) ) =# -#= # Skipping MacroDefinition: MPI_Allgather ( sendbuf , sendcount , sendtype , recvbuf , recvcount , recvtype , comm ) ( ( petsc_gather_ct += PetscMPIParallelComm ( comm ) , 0 ) || MPI_Allgather ( sendbuf , sendcount , sendtype , recvbuf , recvcount , recvtype , comm ) ) =# -#= # Skipping MacroDefinition: MPI_Allgatherv ( sendbuf , sendcount , sendtype , recvbuf , recvcount , displs , recvtype , comm ) ( ( petsc_gather_ct += PetscMPIParallelComm ( comm ) , 0 ) || MPI_Allgatherv ( sendbuf , sendcount , sendtype , recvbuf , recvcount , displs , recvtype , comm ) ) =# -#= # Skipping MacroDefinition: MPI_Gather ( sendbuf , sendcount , sendtype , recvbuf , recvcount , recvtype , root , comm ) ( ( petsc_gather_ct ++ , 0 ) || PetscMPITypeSize ( & petsc_send_len , sendcount , sendtype ) || MPI_Gather ( sendbuf , sendcount , sendtype , recvbuf , recvcount , recvtype , root , comm ) ) =# -#= # Skipping MacroDefinition: MPI_Gatherv ( sendbuf , sendcount , sendtype , recvbuf , recvcount , displs , recvtype , root , comm ) ( ( petsc_gather_ct ++ , 0 ) || PetscMPITypeSize ( & petsc_send_len , sendcount , sendtype ) || MPI_Gatherv ( sendbuf , sendcount , sendtype , recvbuf , recvcount , displs , recvtype , root , comm ) ) =# -#= # Skipping MacroDefinition: MPI_Scatter ( sendbuf , sendcount , sendtype , recvbuf , recvcount , recvtype , root , comm ) ( ( petsc_scatter_ct ++ , 0 ) || PetscMPITypeSize ( & petsc_recv_len , recvcount , recvtype ) || MPI_Scatter ( sendbuf , sendcount , sendtype , recvbuf , recvcount , recvtype , root , comm ) ) =# -#= # Skipping MacroDefinition: MPI_Scatterv ( sendbuf , sendcount , displs , sendtype , recvbuf , recvcount , recvtype , root , comm ) ( ( petsc_scatter_ct ++ , 0 ) || PetscMPITypeSize ( & petsc_recv_len , recvcount , recvtype ) || MPI_Scatterv ( sendbuf , sendcount , displs , sendtype , recvbuf , recvcount , recvtype , root , comm ) ) =# -#= # Skipping MacroDefinition: PetscPreLoadBegin ( flag , name ) do { PetscBool PetscPreLoading = flag ; int PetscPreLoadMax , PetscPreLoadIt ; PetscLogStage _stageNum ; PetscErrorCode _3_ierr ; _3_ierr = PetscOptionsGetBool ( NULL , "-preload" , & PetscPreLoading , NULL ) ; CHKERRQ ( _3_ierr ) ; PetscPreLoadMax = ( int ) ( PetscPreLoading ) ; PetscPreLoadingUsed = PetscPreLoading ? PETSC_TRUE : PetscPreLoadingUsed ; for ( PetscPreLoadIt = 0 ; PetscPreLoadIt <= PetscPreLoadMax ; PetscPreLoadIt ++ ) { PetscPreLoadingOn = PetscPreLoading ; _3_ierr = PetscBarrier ( NULL ) ; CHKERRQ ( _3_ierr ) ; if ( PetscPreLoadIt > 0 ) { _3_ierr = PetscLogStageGetId ( name , & _stageNum ) ; CHKERRQ ( _3_ierr ) ; } else { _3_ierr = PetscLogStageRegister ( name , & _stageNum ) ; CHKERRQ ( _3_ierr ) ; } _3_ierr = PetscLogStageSetActive ( _stageNum , ( PetscBool ) ( ! PetscPreLoadMax || PetscPreLoadIt ) ) ; _3_ierr = PetscLogStagePush ( _stageNum ) ; CHKERRQ ( _3_ierr ) ; =# -#= # Skipping MacroDefinition: PetscPreLoadEnd ( ) _3_ierr = PetscLogStagePop ( ) ; CHKERRQ ( _3_ierr ) ; PetscPreLoading = PETSC_FALSE ; } \ -#} while ( 0 ) =# -#= # Skipping MacroDefinition: PetscPreLoadStage ( name ) do { _3_ierr = PetscLogStagePop ( ) ; CHKERRQ ( _3_ierr ) ; if ( PetscPreLoadIt > 0 ) { _3_ierr = PetscLogStageGetId ( name , & _stageNum ) ; CHKERRQ ( _3_ierr ) ; } else { _3_ierr = PetscLogStageRegister ( name , & _stageNum ) ; CHKERRQ ( _3_ierr ) ; } _3_ierr = PetscLogStageSetActive ( _stageNum , ( PetscBool ) ( ! PetscPreLoadMax || PetscPreLoadIt ) ) ; _3_ierr = PetscLogStagePush ( _stageNum ) ; CHKERRQ ( _3_ierr ) ; } while ( 0 ) =# -#= # Skipping MacroDefinition: PetscPrefetchBlock ( a , n , rw , t ) do { const char * _p = ( const char * ) ( a ) , * _end = ( const char * ) ( ( a ) + ( n ) ) ; for ( ; _p < _end ; _p += PETSC_LEVEL1_DCACHE_LINESIZE ) PETSC_Prefetch ( _p , ( rw ) , ( t ) ) ; } while ( 0 ) =# -const PETSC_MPI_INT_MAX = 2147483647 -const PETSC_MPI_INT_MIN = -2147483647 -const PETSC_BLAS_INT_MAX = 2147483647 -const PETSC_BLAS_INT_MIN = -2147483647 - -#skipping undefined const PETSC_MAX_PATH_LEN = MAXPATHLEN -const PETSCRAND = symbol("rand") -const PETSCRAND48 = symbol("rand48") -const PETSCSPRNG = symbol("sprng") -const PETSC_BINARY_INT_SIZE = 32 / 8 -const PETSC_BINARY_FLOAT_SIZE = 32 / 8 -const PETSC_BINARY_CHAR_SIZE = 8 / 8 -const PETSC_BINARY_SHORT_SIZE = 16 / 8 -const PETSC_BINARY_DOUBLE_SIZE = 64 / 8 - -#= # Skipping MacroDefinition: PETSC_BINARY_SCALAR_SIZE sizeof ( PetscScalar ) =# -const PETSC_BAG_FILE_CLASSID = 1211219 -const PETSCVIEWERSOCKET = symbol("socket") -const PETSCVIEWERASCII = symbol("ascii") -const PETSCVIEWERBINARY = symbol("binary") -const PETSCVIEWERSTRING = symbol("string") -const PETSCVIEWERDRAW = symbol("draw") -const PETSCVIEWERVU = symbol("vu") -const PETSCVIEWERMATHEMATICA = symbol("mathematica") -const PETSCVIEWERNETCDF = symbol("netcdf") -const PETSCVIEWERHDF5 = symbol("hdf5") -const PETSCVIEWERVTK = symbol("vtk") -const PETSCVIEWERMATLAB = symbol("matlab") -const PETSCVIEWERSAWS = symbol("saws") -const PETSC_DRAW_X = symbol("x") -const PETSC_DRAW_GLUT = symbol("glut") -const PETSC_DRAW_OPENGLES = symbol("opengles") -const PETSC_DRAW_NULL = symbol("null") -const PETSC_DRAW_WIN32 = symbol("win32") -const PETSC_DRAW_TIKZ = symbol("tikz") - -#= # Skipping MacroDefinition: PetscOptionsViewer ( a , b , c , d , e , f ) PetscOptionsViewer_Private ( PetscOptionsObject , a , b , c , d , e , f ) ; =# -#= # Skipping MacroDefinition: PETSC_VIEWER_STDERR_SELF PETSC_VIEWER_STDERR_ ( PETSC_COMM_SELF ) =# -#= # Skipping MacroDefinition: PETSC_VIEWER_STDERR_WORLD PETSC_VIEWER_STDERR_ ( PETSC_COMM_WORLD ) =# -#= # Skipping MacroDefinition: PETSC_VIEWER_STDOUT_WORLD PETSC_VIEWER_STDOUT_ ( PETSC_COMM_WORLD ) =# -#= # Skipping MacroDefinition: PETSC_VIEWER_STDOUT_SELF PETSC_VIEWER_STDOUT_ ( PETSC_COMM_SELF ) =# -#= # Skipping MacroDefinition: PETSC_VIEWER_DRAW_WORLD PETSC_VIEWER_DRAW_ ( PETSC_COMM_WORLD ) =# -#= # Skipping MacroDefinition: PETSC_VIEWER_DRAW_SELF PETSC_VIEWER_DRAW_ ( PETSC_COMM_SELF ) =# -#= # Skipping MacroDefinition: PETSC_VIEWER_SOCKET_WORLD PETSC_VIEWER_SOCKET_ ( PETSC_COMM_WORLD ) =# -#= # Skipping MacroDefinition: PETSC_VIEWER_SOCKET_SELF PETSC_VIEWER_SOCKET_ ( PETSC_COMM_SELF ) =# -#= # Skipping MacroDefinition: PETSC_VIEWER_BINARY_WORLD PETSC_VIEWER_BINARY_ ( PETSC_COMM_WORLD ) =# -#= # Skipping MacroDefinition: PETSC_VIEWER_BINARY_SELF PETSC_VIEWER_BINARY_ ( PETSC_COMM_SELF ) =# -#= # Skipping MacroDefinition: PETSC_VIEWER_MATLAB_WORLD PETSC_VIEWER_MATLAB_ ( PETSC_COMM_WORLD ) =# -#= # Skipping MacroDefinition: PETSC_VIEWER_MATLAB_SELF PETSC_VIEWER_MATLAB_ ( PETSC_COMM_SELF ) =# -#= # Skipping MacroDefinition: PETSC_VIEWER_MATHEMATICA_WORLD ( PetscViewerInitializeMathematicaWorld_Private ( ) , PETSC_VIEWER_MATHEMATICA_WORLD_PRIVATE ) =# -const PETSC_HASH_FACT = 79943 - -#= # Skipping MacroDefinition: PETSC_MATLAB_ENGINE_WORLD PETSC_MATLAB_ENGINE_ ( PETSC_COMM_WORLD ) =# -#= # Skipping MacroDefinition: PETSC_MATLAB_ENGINE_SELF PETSC_MATLAB_ENGINE_ ( PETSC_COMM_SELF ) =# -const PETSC_DRAW_BASIC_COLORS = 33 -const PETSC_DRAW_ROTATE = -1 -const PETSC_DRAW_WHITE = 0 -const PETSC_DRAW_BLACK = 1 -const PETSC_DRAW_RED = 2 -const PETSC_DRAW_GREEN = 3 -const PETSC_DRAW_CYAN = 4 -const PETSC_DRAW_BLUE = 5 -const PETSC_DRAW_MAGENTA = 6 -const PETSC_DRAW_AQUAMARINE = 7 -const PETSC_DRAW_FORESTGREEN = 8 -const PETSC_DRAW_ORANGE = 9 -const PETSC_DRAW_VIOLET = 10 -const PETSC_DRAW_BROWN = 11 -const PETSC_DRAW_PINK = 12 -const PETSC_DRAW_CORAL = 13 -const PETSC_DRAW_GRAY = 14 -const PETSC_DRAW_YELLOW = 15 -const PETSC_DRAW_GOLD = 16 -const PETSC_DRAW_LIGHTPINK = 17 -const PETSC_DRAW_MEDIUMTURQUOISE = 18 -const PETSC_DRAW_KHAKI = 19 -const PETSC_DRAW_DIMGRAY = 20 -const PETSC_DRAW_YELLOWGREEN = 21 -const PETSC_DRAW_SKYBLUE = 22 -const PETSC_DRAW_DARKGREEN = 23 -const PETSC_DRAW_NAVYBLUE = 24 -const PETSC_DRAW_SANDYBROWN = 25 -const PETSC_DRAW_CADETBLUE = 26 -const PETSC_DRAW_POWDERBLUE = 27 -const PETSC_DRAW_DEEPPINK = 28 -const PETSC_DRAW_THISTLE = 29 -const PETSC_DRAW_LIMEGREEN = 30 -const PETSC_DRAW_LAVENDERBLUSH = 31 -const PETSC_DRAW_PLUM = 32 -const PETSC_DRAW_FULL_SIZE = -3 -const PETSC_DRAW_HALF_SIZE = -4 -const PETSC_DRAW_THIRD_SIZE = -5 -const PETSC_DRAW_QUARTER_SIZE = -6 -const IS_FILE_CLASSID = 1211218 -const ISGENERAL = symbol("general") -const ISSTRIDE = symbol("stride") -const ISBLOCK = symbol("block") -const VECSEQ = symbol("seq") -const VECMPI = symbol("mpi") -const VECSTANDARD = symbol("standard") -const VECSHARED = symbol("shared") -const VECSEQCUSP = symbol("seqcusp") -const VECMPICUSP = symbol("mpicusp") -const VECCUSP = symbol("cusp") -const VECSEQVIENNACL = symbol("seqviennacl") -const VECMPIVIENNACL = symbol("mpiviennacl") -const VECVIENNACL = symbol("viennacl") -const VECNEST = symbol("nest") -const VECSEQPTHREAD = symbol("seqpthread") -const VECMPIPTHREAD = symbol("mpipthread") -const VECPTHREAD = symbol("pthread") -const VEC_FILE_CLASSID = 1211214 - -#= # begin enum NormType =# -typealias NormType UInt32 - -const NORM_1 = (UInt32)(0) -const NORM_2 = (UInt32)(1) -const NORM_FROBENIUS = (UInt32)(2) -const NORM_INFINITY = (UInt32)(3) -const NORM_1_AND_2 = (UInt32)(4) - -#= # end enum NormType =# -const NORM_MAX = NORM_INFINITY - -#= # Skipping MacroDefinition: VecLocked ( x , arg ) do { PetscInt _st ; PetscErrorCode __ierr = VecLockGet ( x , & _st ) ; CHKERRQ ( __ierr ) ; if ( _st > 0 ) SETERRQ1 ( PETSC_COMM_SELF , PETSC_ERR_ARG_WRONGSTATE , " Vec is locked read only, argument # %d" , arg ) ; } while ( 0 ) =# -const MATSAME = symbol("same") -const MATMAIJ = symbol("maij") -const MATSEQMAIJ = symbol("seqmaij") -const MATMPIMAIJ = symbol("mpimaij") -const MATIS = symbol("is") -const MATAIJ = symbol("aij") -const MATSEQAIJ = symbol("seqaij") -const MATSEQAIJPTHREAD = symbol("seqaijpthread") -const MATAIJPTHREAD = symbol("aijpthread") -const MATMPIAIJ = symbol("mpiaij") -const MATAIJCRL = symbol("aijcrl") -const MATSEQAIJCRL = symbol("seqaijcrl") -const MATMPIAIJCRL = symbol("mpiaijcrl") -const MATAIJCUSP = symbol("aijcusp") -const MATSEQAIJCUSP = symbol("seqaijcusp") -const MATMPIAIJCUSP = symbol("mpiaijcusp") -const MATAIJCUSPARSE = symbol("aijcusparse") -const MATSEQAIJCUSPARSE = symbol("seqaijcusparse") -const MATMPIAIJCUSPARSE = symbol("mpiaijcusparse") -const MATAIJVIENNACL = symbol("aijviennacl") -const MATSEQAIJVIENNACL = symbol("seqaijviennacl") -const MATMPIAIJVIENNACL = symbol("mpiaijviennacl") -const MATAIJPERM = symbol("aijperm") -const MATSEQAIJPERM = symbol("seqaijperm") -const MATMPIAIJPERM = symbol("mpiaijperm") -const MATSHELL = symbol("shell") -const MATDENSE = symbol("dense") -const MATSEQDENSE = symbol("seqdense") -const MATMPIDENSE = symbol("mpidense") -const MATELEMENTAL = symbol("elemental") -const MATBAIJ = symbol("baij") -const MATSEQBAIJ = symbol("seqbaij") -const MATMPIBAIJ = symbol("mpibaij") -const MATMPIADJ = symbol("mpiadj") -const MATSBAIJ = symbol("sbaij") -const MATSEQSBAIJ = symbol("seqsbaij") -const MATMPISBAIJ = symbol("mpisbaij") -const MATSEQBSTRM = symbol("seqbstrm") -const MATMPIBSTRM = symbol("mpibstrm") -const MATBSTRM = symbol("bstrm") -const MATSEQSBSTRM = symbol("seqsbstrm") -const MATMPISBSTRM = symbol("mpisbstrm") -const MATSBSTRM = symbol("sbstrm") -const MATDAAD = symbol("daad") -const MATMFFD = symbol("mffd") -const MATNORMAL = symbol("normal") -const MATLRC = symbol("lrc") -const MATSCATTER = symbol("scatter") -const MATBLOCKMAT = symbol("blockmat") -const MATCOMPOSITE = symbol("composite") -const MATFFT = symbol("fft") -const MATFFTW = symbol("fftw") -const MATSEQCUFFT = symbol("seqcufft") -const MATTRANSPOSEMAT = symbol("transpose") -const MATSCHURCOMPLEMENT = symbol("schurcomplement") -const MATPYTHON = symbol("python") -const MATHYPRESTRUCT = symbol("hyprestruct") -const MATHYPRESSTRUCT = symbol("hypresstruct") -const MATSUBMATRIX = symbol("submatrix") -const MATLOCALREF = symbol("localref") -const MATNEST = symbol("nest") - -#= # Skipping MacroDefinition: MatSolverPackage char * =# -const MATSOLVERSUPERLU = symbol("superlu") -const MATSOLVERSUPERLU_DIST = symbol("superlu_dist") -const MATSOLVERUMFPACK = symbol("umfpack") -const MATSOLVERCHOLMOD = symbol("cholmod") -const MATSOLVERESSL = symbol("essl") -const MATSOLVERLUSOL = symbol("lusol") -const MATSOLVERMUMPS = symbol("mumps") -const MATSOLVERMKL_PARDISO = symbol("mkl_pardiso") -const MATSOLVERMKL_CPARDISO = symbol("mkl_cpardiso") -const MATSOLVERPASTIX = symbol("pastix") -const MATSOLVERMATLAB = symbol("matlab") -const MATSOLVERPETSC = symbol("petsc") -const MATSOLVERBAS = symbol("bas") -const MATSOLVERCUSPARSE = symbol("cusparse") -const MATSOLVERBSTRM = symbol("bstrm") -const MATSOLVERSBSTRM = symbol("sbstrm") -const MATSOLVERELEMENTAL = symbol("elemental") -const MATSOLVERCLIQUE = symbol("clique") -const MATSOLVERKLU = symbol("klu") -const MAT_FILE_CLASSID = 1211216 - -#= # Skipping MacroDefinition: MatPreallocateInitialize ( comm , nrows , ncols , dnz , onz ) 0 ; \ -#{ PetscErrorCode _4_ierr ; PetscInt __nrows = ( nrows ) , __ctmp = ( ncols ) , __rstart , __start , __end ; _4_ierr = PetscCalloc2 ( __nrows , & dnz , __nrows , & onz ) ; CHKERRQ ( _4_ierr ) ; __start = 0 ; __end = __start ; _4_ierr = MPI_Scan ( & __ctmp , & __end , 1 , MPIU_INT , MPI_SUM , comm ) ; CHKERRQ ( _4_ierr ) ; __start = __end - __ctmp ; _4_ierr = MPI_Scan ( & __nrows , & __rstart , 1 , MPIU_INT , MPI_SUM , comm ) ; CHKERRQ ( _4_ierr ) ; __rstart = __rstart - __nrows ; =# -#= # Skipping MacroDefinition: MatPreallocateSetLocal ( rmap , nrows , rows , cmap , ncols , cols , dnz , onz ) 0 ; \ -#{ PetscInt __l ; _4_ierr = ISLocalToGlobalMappingApply ( rmap , nrows , rows , rows ) ; CHKERRQ ( _4_ierr ) ; _4_ierr = ISLocalToGlobalMappingApply ( cmap , ncols , cols , cols ) ; CHKERRQ ( _4_ierr ) ; for ( __l = 0 ; __l < nrows ; __l ++ ) { _4_ierr = MatPreallocateSet ( ( rows ) [ __l ] , ncols , cols , dnz , onz ) ; CHKERRQ ( _4_ierr ) ; } \ -#} =# -#= # Skipping MacroDefinition: MatPreallocateSetLocalBlock ( rmap , nrows , rows , cmap , ncols , cols , dnz , onz ) 0 ; \ -#{ PetscInt __l ; _4_ierr = ISLocalToGlobalMappingApplyBlock ( rmap , nrows , rows , rows ) ; CHKERRQ ( _4_ierr ) ; _4_ierr = ISLocalToGlobalMappingApplyBlock ( cmap , ncols , cols , cols ) ; CHKERRQ ( _4_ierr ) ; for ( __l = 0 ; __l < nrows ; __l ++ ) { _4_ierr = MatPreallocateSet ( ( rows ) [ __l ] , ncols , cols , dnz , onz ) ; CHKERRQ ( _4_ierr ) ; } \ -#} =# -#= # Skipping MacroDefinition: MatPreallocateSymmetricSetLocalBlock ( map , nrows , rows , ncols , cols , dnz , onz ) 0 ; \ -#{ PetscInt __l ; _4_ierr = ISLocalToGlobalMappingApplyBlock ( map , nrows , rows , rows ) ; CHKERRQ ( _4_ierr ) ; _4_ierr = ISLocalToGlobalMappingApplyBlock ( map , ncols , cols , cols ) ; CHKERRQ ( _4_ierr ) ; for ( __l = 0 ; __l < nrows ; __l ++ ) { _4_ierr = MatPreallocateSymmetricSetBlock ( ( rows ) [ __l ] , ncols , cols , dnz , onz ) ; CHKERRQ ( _4_ierr ) ; } \ -#} =# -#= # Skipping MacroDefinition: MatPreallocateSet ( row , nc , cols , dnz , onz ) 0 ; \ -#{ PetscInt __i ; if ( row < __rstart ) SETERRQ2 ( PETSC_COMM_SELF , PETSC_ERR_ARG_OUTOFRANGE , "Trying to set preallocation for row %D less than first local row %D" , row , __rstart ) ; if ( row >= __rstart + __nrows ) SETERRQ2 ( PETSC_COMM_SELF , PETSC_ERR_ARG_OUTOFRANGE , "Trying to set preallocation for row %D greater than last local row %D" , row , __rstart + __nrows - 1 ) ; for ( __i = 0 ; __i < nc ; __i ++ ) { if ( ( cols ) [ __i ] < __start || ( cols ) [ __i ] >= __end ) onz [ row - __rstart ] ++ ; else dnz [ row - __rstart ] ++ ; } \ -#} =# -#= # Skipping MacroDefinition: MatPreallocateSymmetricSetBlock ( row , nc , cols , dnz , onz ) 0 ; \ -#{ PetscInt __i ; for ( __i = 0 ; __i < nc ; __i ++ ) { if ( cols [ __i ] >= __end ) onz [ row - __rstart ] ++ ; else if ( cols [ __i ] >= row ) dnz [ row - __rstart ] ++ ; } \ -#} =# -#= # Skipping MacroDefinition: MatPreallocateLocation ( A , row , ncols , cols , dnz , onz ) 0 ; if ( A ) { ierr = MatSetValues ( A , 1 , & row , ncols , cols , NULL , INSERT_VALUES ) ; CHKERRQ ( ierr ) ; } else { ierr = MatPreallocateSet ( row , ncols , cols , dnz , onz ) ; CHKERRQ ( ierr ) ; } =# -#= # Skipping MacroDefinition: MatPreallocateFinalize ( dnz , onz ) 0 ; _4_ierr = PetscFree2 ( dnz , onz ) ; CHKERRQ ( _4_ierr ) ; } =# -const MAT_SKIP_ALLOCATION = -4 -const MATORDERINGNATURAL = symbol("natural") -const MATORDERINGND = symbol("nd") -const MATORDERING1WD = symbol("1wd") -const MATORDERINGRCM = symbol("rcm") -const MATORDERINGQMD = symbol("qmd") -const MATORDERINGROWLENGTH = symbol("rowlength") -const MATORDERINGWBM = symbol("wbm") -const MATORDERINGSPECTRAL = symbol("spectral") -const MATORDERINGAMD = symbol("amd") -const MATCOLORINGJP = symbol("jp") -const MATCOLORINGPOWER = symbol("power") -const MATCOLORINGNATURAL = symbol("natural") -const MATCOLORINGSL = symbol("sl") -const MATCOLORINGLF = symbol("lf") -const MATCOLORINGID = symbol("id") -const MATCOLORINGGREEDY = symbol("greedy") -const MATPARTITIONINGCURRENT = symbol("current") -const MATPARTITIONINGSQUARE = symbol("square") -const MATPARTITIONINGPARMETIS = symbol("parmetis") -const MATPARTITIONINGCHACO = symbol("chaco") -const MATPARTITIONINGPARTY = symbol("party") -const MATPARTITIONINGPTSCOTCH = symbol("ptscotch") -const MP_PARTY_OPT = symbol("opt") -const MP_PARTY_LIN = symbol("lin") -const MP_PARTY_SCA = symbol("sca") -const MP_PARTY_RAN = symbol("ran") -const MP_PARTY_GBF = symbol("gbf") -const MP_PARTY_GCF = symbol("gcf") -const MP_PARTY_BUB = symbol("bub") -const MP_PARTY_DEF = symbol("def") -const MP_PARTY_HELPFUL_SETS = symbol("hs") -const MP_PARTY_KERNIGHAN_LIN = symbol("kl") -const MP_PARTY_NONE = symbol("no") -const MATCOARSENMIS = symbol("mis") -const MATCOARSENHEM = symbol("hem") -const MATRIX_BINARY_FORMAT_DENSE = -1 -const MATMFFD_DS = symbol("ds") -const MATMFFD_WP = symbol("wp") -const DMDA = symbol("da") -const DMCOMPOSITE = symbol("composite") -const DMSLICED = symbol("sliced") -const DMSHELL = symbol("shell") -const DMPLEX = symbol("plex") -const DMCARTESIAN = symbol("cartesian") -const DMREDUNDANT = symbol("redundant") -const DMPATCH = symbol("patch") -const DMMOAB = symbol("moab") -const DMNETWORK = symbol("network") -const DM_FILE_CLASSID = 1211221 -const PFCONSTANT = symbol("constant") -const PFMAT = symbol("mat") -const PFSTRING = symbol("string") -const PFQUICK = symbol("quick") -const PFIDENTITY = symbol("identity") -const PFMATLAB = symbol("matlab") - -#= # Skipping MacroDefinition: PFSetOptionsPrefix ( a , s ) PetscObjectSetOptionsPrefix ( ( PetscObject ) ( a ) , s ) =# -const AOBASIC = symbol("basic") -const AOADVANCED = symbol("advanced") -const AOMAPPING = symbol("mapping") -const AOMEMORYSCALABLE = symbol("memoryscalable") -const PETSCSPACEPOLYNOMIAL = symbol("poly") -const PETSCSPACEDG = symbol("dg") -const PETSCDUALSPACELAGRANGE = symbol("lagrange") -const PETSCDUALSPACESIMPLE = symbol("simple") -const PETSCFEBASIC = symbol("basic") -const PETSCFENONAFFINE = symbol("nonaffine") -const PETSCFEOPENCL = symbol("opencl") -const PETSCFECOMPOSITE = symbol("composite") -const MATSEQUSFFT = symbol("sequsfft") -const PETSCLIMITERSIN = symbol("sin") -const PETSCLIMITERZERO = symbol("zero") -const PETSCLIMITERNONE = symbol("none") -const PETSCLIMITERMINMOD = symbol("minmod") -const PETSCLIMITERVANLEER = symbol("vanleer") -const PETSCLIMITERVANALBADA = symbol("vanalbada") -const PETSCLIMITERSUPERBEE = symbol("superbee") -const PETSCLIMITERMC = symbol("mc") -const PETSCFVUPWIND = symbol("upwind") -const PETSCFVLEASTSQUARES = symbol("leastsquares") -const PETSCPARTITIONERCHACO = symbol("chaco") -const PETSCPARTITIONERPARMETIS = symbol("parmetis") -const PETSCPARTITIONERSHELL = symbol("shell") -const PETSCPARTITIONERSIMPLE = symbol("simple") -const PETSCDSBASIC = symbol("basic") -const CHARACTERISTICDA = symbol("da") -const PCNONE = symbol("none") -const PCJACOBI = symbol("jacobi") -const PCSOR = symbol("sor") -const PCLU = symbol("lu") -const PCSHELL = symbol("shell") -const PCBJACOBI = symbol("bjacobi") -const PCMG = symbol("mg") -const PCEISENSTAT = symbol("eisenstat") -const PCILU = symbol("ilu") -const PCICC = symbol("icc") -const PCASM = symbol("asm") -const PCGASM = symbol("gasm") -const PCKSP = symbol("ksp") -const PCCOMPOSITE = symbol("composite") -const PCREDUNDANT = symbol("redundant") -const PCSPAI = symbol("spai") -const PCNN = symbol("nn") -const PCCHOLESKY = symbol("cholesky") -const PCPBJACOBI = symbol("pbjacobi") -const PCMAT = symbol("mat") -const PCHYPRE = symbol("hypre") -const PCPARMS = symbol("parms") -const PCFIELDSPLIT = symbol("fieldsplit") -const PCTFS = symbol("tfs") -const PCML = symbol("ml") -const PCGALERKIN = symbol("galerkin") -const PCEXOTIC = symbol("exotic") -const PCCP = symbol("cp") -const PCBFBT = symbol("bfbt") -const PCLSC = symbol("lsc") -const PCPYTHON = symbol("python") -const PCPFMG = symbol("pfmg") -const PCSYSPFMG = symbol("syspfmg") -const PCREDISTRIBUTE = symbol("redistribute") -const PCSVD = symbol("svd") -const PCGAMG = symbol("gamg") -const PCSACUSP = symbol("sacusp") -const PCSACUSPPOLY = symbol("sacusppoly") -const PCBICGSTABCUSP = symbol("bicgstabcusp") -const PCAINVCUSP = symbol("ainvcusp") -const PCBDDC = symbol("bddc") -const PCKACZMARZ = symbol("kaczmarz") - -#= # begin enum PCSide =# -typealias PCSide Cint - -const PC_SIDE_DEFAULT = (Int32)(-1) -const PC_LEFT = (Int32)(0) -const PC_RIGHT = (Int32)(1) -const PC_SYMMETRIC = (Int32)(2) - -#= # end enum PCSide =# -const PC_SIDE_MAX = PC_SYMMETRIC + 1 -const PCGAMGAGG = symbol("agg") -const PCGAMGGEO = symbol("geo") -const PCGAMGCLASSICAL = symbol("classical") -const PCGAMGCLASSICALDIRECT = symbol("direct") -const PCGAMGCLASSICALSTANDARD = symbol("standard") - -#= # begin enum PCMGType =# -typealias PCMGType UInt32 - -const PC_MG_MULTIPLICATIVE = (UInt32)(0) -const PC_MG_ADDITIVE = (UInt32)(1) -const PC_MG_FULL = (UInt32)(2) -const PC_MG_KASKADE = (UInt32)(3) - -#= # end enum PCMGType =# -const PC_MG_CASCADE = PC_MG_KASKADE -const PC_FILE_CLASSID = 1211222 -const KSPRICHARDSON = symbol("richardson") -const KSPCHEBYSHEV = symbol("chebyshev") -const KSPCG = symbol("cg") -const KSPGROPPCG = symbol("groppcg") -const KSPPIPECG = symbol("pipecg") -const KSPCGNE = symbol("cgne") -const KSPNASH = symbol("nash") -const KSPSTCG = symbol("stcg") -const KSPGLTR = symbol("gltr") -const KSPFCG = symbol("fcg") -const KSPGMRES = symbol("gmres") -const KSPFGMRES = symbol("fgmres") -const KSPLGMRES = symbol("lgmres") -const KSPDGMRES = symbol("dgmres") -const KSPPGMRES = symbol("pgmres") -const KSPTCQMR = symbol("tcqmr") -const KSPBCGS = symbol("bcgs") -const KSPIBCGS = symbol("ibcgs") -const KSPFBCGS = symbol("fbcgs") -const KSPFBCGSR = symbol("fbcgsr") -const KSPBCGSL = symbol("bcgsl") -const KSPCGS = symbol("cgs") -const KSPTFQMR = symbol("tfqmr") -const KSPCR = symbol("cr") -const KSPPIPECR = symbol("pipecr") -const KSPLSQR = symbol("lsqr") -const KSPPREONLY = symbol("preonly") -const KSPQCG = symbol("qcg") -const KSPBICG = symbol("bicg") -const KSPMINRES = symbol("minres") -const KSPSYMMLQ = symbol("symmlq") -const KSPLCD = symbol("lcd") -const KSPPYTHON = symbol("python") -const KSPGCR = symbol("gcr") -const KSP_FILE_CLASSID = 1211223 - -#= # begin enum KSPNormType =# -typealias KSPNormType Cint - -const KSP_NORM_DEFAULT = (Int32)(-1) -const KSP_NORM_NONE = (Int32)(0) -const KSP_NORM_PRECONDITIONED = (Int32)(1) -const KSP_NORM_UNPRECONDITIONED = (Int32)(2) -const KSP_NORM_NATURAL = (Int32)(3) - -#= # end enum KSPNormType =# -const KSP_NORM_MAX = KSP_NORM_NATURAL + 1 - -#= # Skipping MacroDefinition: KSPDefaultConverged ( KSPDefaultConverged , KSPConvergedDefault ) =# -#= # Skipping MacroDefinition: KSPDefaultConvergedDestroy ( KSPDefaultConvergedDestroy , KSPConvergedDefaultDestroy ) =# -#= # Skipping MacroDefinition: KSPDefaultConvergedCreate ( KSPDefaultConvergedCreate , KSPConvergedDefaultCreate ) =# -#= # Skipping MacroDefinition: KSPDefaultConvergedSetUIRNorm ( KSPDefaultConvergedSetUIRNorm , KSPConvergedDefaultSetUIRNorm ) =# -#= # Skipping MacroDefinition: KSPDefaultConvergedSetUMIRNorm ( KSPDefaultConvergedSetUMIRNorm , KSPConvergedDefaultSetUMIRNorm ) =# -#= # Skipping MacroDefinition: KSPSkipConverged ( KSPSkipConverged , KSPConvergedSkip ) =# -const SNESNEWTONLS = symbol("newtonls") -const SNESNEWTONTR = symbol("newtontr") -const SNESPYTHON = symbol("python") -const SNESTEST = symbol("test") -const SNESNRICHARDSON = symbol("nrichardson") -const SNESKSPONLY = symbol("ksponly") -const SNESVINEWTONRSLS = symbol("vinewtonrsls") -const SNESVINEWTONSSLS = symbol("vinewtonssls") -const SNESNGMRES = symbol("ngmres") -const SNESQN = symbol("qn") -const SNESSHELL = symbol("shell") -const SNESNGS = symbol("ngs") -const SNESNCG = symbol("ncg") -const SNESFAS = symbol("fas") -const SNESMS = symbol("ms") -const SNESNASM = symbol("nasm") -const SNESANDERSON = symbol("anderson") -const SNESASPIN = symbol("aspin") -const SNESCOMPOSITE = symbol("composite") -const SNES_FILE_CLASSID = 1211224 - -#= # Skipping MacroDefinition: SNESSkipConverged ( SNESSkipConverged , SNESConvergedSkip ) =# -const SNESLINESEARCHBT = symbol("bt") -const SNESLINESEARCHNLEQERR = symbol("nleqerr") -const SNESLINESEARCHBASIC = symbol("basic") -const SNESLINESEARCHL2 = symbol("l2") -const SNESLINESEARCHCP = symbol("cp") -const SNESLINESEARCHSHELL = symbol("shell") -const SNES_LINESEARCH_ORDER_LINEAR = 1 -const SNES_LINESEARCH_ORDER_QUADRATIC = 2 -const SNES_LINESEARCH_ORDER_CUBIC = 3 -const SNESMSM62 = symbol("m62") -const SNESMSEULER = symbol("euler") -const SNESMSJAMESON83 = symbol("jameson83") -const SNESMSVLTP21 = symbol("vltp21") -const SNESMSVLTP31 = symbol("vltp31") -const SNESMSVLTP41 = symbol("vltp41") -const SNESMSVLTP51 = symbol("vltp51") -const SNESMSVLTP61 = symbol("vltp61") -const TSEULER = symbol("euler") -const TSBEULER = symbol("beuler") -const TSPSEUDO = symbol("pseudo") -const TSCN = symbol("cn") -const TSSUNDIALS = symbol("sundials") -const TSRK = symbol("rk") -const TSPYTHON = symbol("python") -const TSTHETA = symbol("theta") -const TSALPHA = symbol("alpha") -const TSGL = symbol("gl") -const TSSSP = symbol("ssp") -const TSARKIMEX = symbol("arkimex") -const TSROSW = symbol("rosw") -const TSEIMEX = symbol("eimex") -const TSMIMEX = symbol("mimex") -const TSTRAJECTORYBASIC = symbol("basic") -const TSTRAJECTORYSINGLEFILE = symbol("singlefile") -const TS_FILE_CLASSID = 1211225 -const TSSSPRKS2 = symbol("rks2") -const TSSSPRKS3 = symbol("rks3") -const TSSSPRK104 = symbol("rk104") -const TSADAPTBASIC = symbol("basic") -const TSADAPTNONE = symbol("none") -const TSADAPTCFL = symbol("cfl") -const TSGLADAPT_NONE = symbol("none") -const TSGLADAPT_SIZE = symbol("size") -const TSGLADAPT_BOTH = symbol("both") -const TSGLACCEPT_ALWAYS = symbol("always") -const TSGL_IRKS = symbol("irks") - -#= # Skipping MacroDefinition: TSEIMEXType char * =# -const TSRK1FE = symbol("1fe") -const TSRK2A = symbol("2a") -const TSRK3 = symbol("3") -const TSRK3BS = symbol("3bs") -const TSRK4 = symbol("4") -const TSRK5F = symbol("5f") -const TSRK5DP = symbol("5dp") -const TSARKIMEX1BEE = symbol("1bee") -const TSARKIMEXA2 = symbol("a2") -const TSARKIMEXL2 = symbol("l2") -const TSARKIMEXARS122 = symbol("ars122") -const TSARKIMEX2C = symbol("2c") -const TSARKIMEX2D = symbol("2d") -const TSARKIMEX2E = symbol("2e") -const TSARKIMEXPRSSP2 = symbol("prssp2") -const TSARKIMEX3 = symbol("3") -const TSARKIMEXBPR3 = symbol("bpr3") -const TSARKIMEXARS443 = symbol("ars443") -const TSARKIMEX4 = symbol("4") -const TSARKIMEX5 = symbol("5") -const TSROSW2M = symbol("2m") -const TSROSW2P = symbol("2p") -const TSROSWRA3PW = symbol("ra3pw") -const TSROSWRA34PW2 = symbol("ra34pw2") -const TSROSWRODAS3 = symbol("rodas3") -const TSROSWSANDU3 = symbol("sandu3") -const TSROSWASSP3P3S1C = symbol("assp3p3s1c") -const TSROSWLASSP3P4S2C = symbol("lassp3p4s2c") -const TSROSWLLSSP3P4S2C = symbol("llssp3p4s2c") -const TSROSWARK3 = symbol("ark3") -const TSROSWTHETA1 = symbol("theta1") -const TSROSWTHETA2 = symbol("theta2") -const TSROSWGRK4T = symbol("grk4t") -const TSROSWSHAMP4 = symbol("shamp4") -const TSROSWVELDD4 = symbol("veldd4") -const TSROSW4L = symbol("4l") - -#= # Skipping MacroDefinition: TaoType char * =# -const TAOLMVM = symbol("lmvm") -const TAONLS = symbol("nls") -const TAONTR = symbol("ntr") -const TAONTL = symbol("ntl") -const TAOCG = symbol("cg") -const TAOTRON = symbol("tron") -const TAOOWLQN = symbol("owlqn") -const TAOBMRM = symbol("bmrm") -const TAOBLMVM = symbol("blmvm") -const TAOBQPIP = symbol("bqpip") -const TAOGPCG = symbol("gpcg") -const TAONM = symbol("nm") -const TAOPOUNDERS = symbol("pounders") -const TAOLCL = symbol("lcl") -const TAOSSILS = symbol("ssils") -const TAOSSFLS = symbol("ssfls") -const TAOASILS = symbol("asils") -const TAOASFLS = symbol("asfls") -const TAOIPM = symbol("ipm") -const TAOTEST = symbol("test") - -#= # Skipping MacroDefinition: TaoLineSearchType char * =# -const TAOLINESEARCHUNIT = symbol("unit") -const TAOLINESEARCHMT = symbol("more-thuente") -const TAOLINESEARCHGPCG = symbol("gpcg") -const TAOLINESEARCHARMIJO = symbol("armijo") -const TAOLINESEARCHOWARMIJO = symbol("owarmijo") -const TAOLINESEARCHIPM = symbol("ipm") - -typealias PetscErrorCode Cint -typealias PetscClassId Cint -typealias PetscMPIInt Cint - -#= # begin enum ANONYMOUS_1 =# -typealias ANONYMOUS_1 UInt32 - -const ENUM_DUMMY = (UInt32)(0) - -#= # end enum ANONYMOUS_1 =# -#= # begin enum PetscEnum =# -typealias PetscEnum UInt32 - -const ENUM_DUMMY = (UInt32)(0) - -#= # end enum PetscEnum =# -typealias Petsc64bitInt Int64 - -# excluding lhs of typealias PetscInt Petsc64bitInt -typealias PetscBLASInt Cint - -#= # begin enum ANONYMOUS_2 =# -typealias ANONYMOUS_2 UInt32 - -const PETSC_PRECISION_SINGLE = (UInt32)(4) -const PETSC_PRECISION_DOUBLE = (UInt32)(8) - -#= # end enum ANONYMOUS_2 =# -#= # begin enum PetscPrecision =# -typealias PetscPrecision UInt32 - -const PETSC_PRECISION_SINGLE = (UInt32)(4) -const PETSC_PRECISION_DOUBLE = (UInt32)(8) - -#= # end enum PetscPrecision =# -#= # begin enum ANONYMOUS_3 =# -typealias ANONYMOUS_3 UInt32 - -const PETSC_FALSE = (UInt32)(0) -const PETSC_TRUE = (UInt32)(1) - -#= # end enum ANONYMOUS_3 =# -#= # begin enum PetscBool =# -typealias PetscBool UInt32 - -const PETSC_FALSE = (UInt32)(0) -const PETSC_TRUE = (UInt32)(1) - -#= # end enum PetscBool =# -# skipping undefined typealias typealias PetscComplex Complex -#= # begin enum ANONYMOUS_4 =# -typealias ANONYMOUS_4 UInt32 - -const PETSC_SCALAR_DOUBLE = (UInt32)(0) -const PETSC_SCALAR_SINGLE = (UInt32)(1) -const PETSC_SCALAR_LONG_DOUBLE = (UInt32)(2) - -#= # end enum ANONYMOUS_4 =# -#= # begin enum PetscScalarPrecision =# -typealias PetscScalarPrecision UInt32 - -const PETSC_SCALAR_DOUBLE = (UInt32)(0) -const PETSC_SCALAR_SINGLE = (UInt32)(1) -const PETSC_SCALAR_LONG_DOUBLE = (UInt32)(2) - -#= # end enum PetscScalarPrecision =# -typealias MatScalar Complex128 -typealias MatReal Float64 - -#= skipping type declaration with undefined symbols: -immutable petsc_mpiu_2scalar - a::PetscScalar - b::PetscScalar -end -=# -#= skipping type declaration with undefined symbols: -immutable petsc_mpiu_2int - a::PetscInt - b::PetscInt -end -=# -#= # begin enum ANONYMOUS_5 =# -typealias ANONYMOUS_5 UInt32 - -const PETSC_COPY_VALUES = (UInt32)(0) -const PETSC_OWN_POINTER = (UInt32)(1) -const PETSC_USE_POINTER = (UInt32)(2) - -#= # end enum ANONYMOUS_5 =# -#= # begin enum PetscCopyMode =# -typealias PetscCopyMode UInt32 - -const PETSC_COPY_VALUES = (UInt32)(0) -const PETSC_OWN_POINTER = (UInt32)(1) -const PETSC_USE_POINTER = (UInt32)(2) - -#= # end enum PetscCopyMode =# -typealias PetscLogDouble Cdouble - -#= # begin enum ANONYMOUS_6 =# -typealias ANONYMOUS_6 UInt32 - -const PETSC_INT = (UInt32)(0) -const PETSC_DOUBLE = (UInt32)(1) -const PETSC_COMPLEX = (UInt32)(2) -const PETSC_LONG = (UInt32)(3) -const PETSC_SHORT = (UInt32)(4) -const PETSC_FLOAT = (UInt32)(5) -const PETSC_CHAR = (UInt32)(6) -const PETSC_BIT_LOGICAL = (UInt32)(7) -const PETSC_ENUM = (UInt32)(8) -const PETSC_BOOL = (UInt32)(9) -const PETSC___FLOAT128 = (UInt32)(10) -const PETSC_OBJECT = (UInt32)(11) -const PETSC_FUNCTION = (UInt32)(12) -const PETSC_STRING = (UInt32)(12) - -#= # end enum ANONYMOUS_6 =# -immutable _p_PetscToken -end - -typealias PetscToken Ptr{_p_PetscToken} - -immutable _p_PetscObject -end - -typealias PetscObject Ptr{_p_PetscObject} -typealias PetscObjectId Petsc64bitInt -typealias PetscObjectState Petsc64bitInt - -immutable _n_PetscFunctionList -end - -typealias PetscFunctionList Ptr{_n_PetscFunctionList} - -#= # begin enum ANONYMOUS_7 =# -typealias ANONYMOUS_7 UInt32 - -const FILE_MODE_READ = (UInt32)(0) -const FILE_MODE_WRITE = (UInt32)(1) -const FILE_MODE_APPEND = (UInt32)(2) -const FILE_MODE_UPDATE = (UInt32)(3) -const FILE_MODE_APPEND_UPDATE = (UInt32)(4) - -#= # end enum ANONYMOUS_7 =# -#= # begin enum PetscFileMode =# -typealias PetscFileMode UInt32 - -const FILE_MODE_READ = (UInt32)(0) -const FILE_MODE_WRITE = (UInt32)(1) -const FILE_MODE_APPEND = (UInt32)(2) -const FILE_MODE_UPDATE = (UInt32)(3) -const FILE_MODE_APPEND_UPDATE = (UInt32)(4) - -#= # end enum PetscFileMode =# -#= # begin enum ANONYMOUS_8 =# -typealias ANONYMOUS_8 UInt32 - -const PETSC_ERROR_INITIAL = (UInt32)(0) -const PETSC_ERROR_REPEAT = (UInt32)(1) -const PETSC_ERROR_IN_CXX = (UInt32)(2) - -#= # end enum ANONYMOUS_8 =# -#= # begin enum PetscErrorType =# -typealias PetscErrorType UInt32 - -const PETSC_ERROR_INITIAL = (UInt32)(0) -const PETSC_ERROR_REPEAT = (UInt32)(1) -const PETSC_ERROR_IN_CXX = (UInt32)(2) - -#= # end enum PetscErrorType =# -#= # begin enum ANONYMOUS_9 =# -typealias ANONYMOUS_9 UInt32 - -const PETSC_FP_TRAP_OFF = (UInt32)(0) -const PETSC_FP_TRAP_ON = (UInt32)(1) - -#= # end enum ANONYMOUS_9 =# -#= # begin enum PetscFPTrap =# -typealias PetscFPTrap UInt32 - -const PETSC_FP_TRAP_OFF = (UInt32)(0) -const PETSC_FP_TRAP_ON = (UInt32)(1) - -#= # end enum PetscFPTrap =# -immutable Array_64_Ptr - d1::Ptr{UInt8} - d2::Ptr{UInt8} - d3::Ptr{UInt8} - d4::Ptr{UInt8} - d5::Ptr{UInt8} - d6::Ptr{UInt8} - d7::Ptr{UInt8} - d8::Ptr{UInt8} - d9::Ptr{UInt8} - d10::Ptr{UInt8} - d11::Ptr{UInt8} - d12::Ptr{UInt8} - d13::Ptr{UInt8} - d14::Ptr{UInt8} - d15::Ptr{UInt8} - d16::Ptr{UInt8} - d17::Ptr{UInt8} - d18::Ptr{UInt8} - d19::Ptr{UInt8} - d20::Ptr{UInt8} - d21::Ptr{UInt8} - d22::Ptr{UInt8} - d23::Ptr{UInt8} - d24::Ptr{UInt8} - d25::Ptr{UInt8} - d26::Ptr{UInt8} - d27::Ptr{UInt8} - d28::Ptr{UInt8} - d29::Ptr{UInt8} - d30::Ptr{UInt8} - d31::Ptr{UInt8} - d32::Ptr{UInt8} - d33::Ptr{UInt8} - d34::Ptr{UInt8} - d35::Ptr{UInt8} - d36::Ptr{UInt8} - d37::Ptr{UInt8} - d38::Ptr{UInt8} - d39::Ptr{UInt8} - d40::Ptr{UInt8} - d41::Ptr{UInt8} - d42::Ptr{UInt8} - d43::Ptr{UInt8} - d44::Ptr{UInt8} - d45::Ptr{UInt8} - d46::Ptr{UInt8} - d47::Ptr{UInt8} - d48::Ptr{UInt8} - d49::Ptr{UInt8} - d50::Ptr{UInt8} - d51::Ptr{UInt8} - d52::Ptr{UInt8} - d53::Ptr{UInt8} - d54::Ptr{UInt8} - d55::Ptr{UInt8} - d56::Ptr{UInt8} - d57::Ptr{UInt8} - d58::Ptr{UInt8} - d59::Ptr{UInt8} - d60::Ptr{UInt8} - d61::Ptr{UInt8} - d62::Ptr{UInt8} - d63::Ptr{UInt8} - d64::Ptr{UInt8} -end - -zero(::Type{Array_64_Ptr}) = begin # /home/jared/.julia/v0.4/Clang/src/wrap_c.jl, line 266: - Array_64_Ptr(fill(zero(Ptr{UInt8}),64)...) - end - -immutable Array_64_Cint - d1::Cint - d2::Cint - d3::Cint - d4::Cint - d5::Cint - d6::Cint - d7::Cint - d8::Cint - d9::Cint - d10::Cint - d11::Cint - d12::Cint - d13::Cint - d14::Cint - d15::Cint - d16::Cint - d17::Cint - d18::Cint - d19::Cint - d20::Cint - d21::Cint - d22::Cint - d23::Cint - d24::Cint - d25::Cint - d26::Cint - d27::Cint - d28::Cint - d29::Cint - d30::Cint - d31::Cint - d32::Cint - d33::Cint - d34::Cint - d35::Cint - d36::Cint - d37::Cint - d38::Cint - d39::Cint - d40::Cint - d41::Cint - d42::Cint - d43::Cint - d44::Cint - d45::Cint - d46::Cint - d47::Cint - d48::Cint - d49::Cint - d50::Cint - d51::Cint - d52::Cint - d53::Cint - d54::Cint - d55::Cint - d56::Cint - d57::Cint - d58::Cint - d59::Cint - d60::Cint - d61::Cint - d62::Cint - d63::Cint - d64::Cint -end - -zero(::Type{Array_64_Cint}) = begin # /home/jared/.julia/v0.4/Clang/src/wrap_c.jl, line 266: - Array_64_Cint(fill(zero(Cint),64)...) - end - -immutable Array_64_PetscBool - d1::PetscBool - d2::PetscBool - d3::PetscBool - d4::PetscBool - d5::PetscBool - d6::PetscBool - d7::PetscBool - d8::PetscBool - d9::PetscBool - d10::PetscBool - d11::PetscBool - d12::PetscBool - d13::PetscBool - d14::PetscBool - d15::PetscBool - d16::PetscBool - d17::PetscBool - d18::PetscBool - d19::PetscBool - d20::PetscBool - d21::PetscBool - d22::PetscBool - d23::PetscBool - d24::PetscBool - d25::PetscBool - d26::PetscBool - d27::PetscBool - d28::PetscBool - d29::PetscBool - d30::PetscBool - d31::PetscBool - d32::PetscBool - d33::PetscBool - d34::PetscBool - d35::PetscBool - d36::PetscBool - d37::PetscBool - d38::PetscBool - d39::PetscBool - d40::PetscBool - d41::PetscBool - d42::PetscBool - d43::PetscBool - d44::PetscBool - d45::PetscBool - d46::PetscBool - d47::PetscBool - d48::PetscBool - d49::PetscBool - d50::PetscBool - d51::PetscBool - d52::PetscBool - d53::PetscBool - d54::PetscBool - d55::PetscBool - d56::PetscBool - d57::PetscBool - d58::PetscBool - d59::PetscBool - d60::PetscBool - d61::PetscBool - d62::PetscBool - d63::PetscBool - d64::PetscBool -end - -zero(::Type{Array_64_PetscBool}) = begin # /home/jared/.julia/v0.4/Clang/src/wrap_c.jl, line 266: - Array_64_PetscBool(fill(zero(PetscBool),64)...) - end - -immutable PetscStack - _function::Array_64_Ptr - file::Array_64_Ptr - line::Array_64_Cint - petscroutine::Array_64_PetscBool - currentsize::Cint - hotdepth::Cint -end - -typealias PetscVoidStarFunction Ptr{Ptr{Void}} -typealias PetscVoidFunction Ptr{Void} -typealias PetscErrorCodeFunction Ptr{Void} - -immutable _p_PetscViewer -end - -immutable PetscViewer{T} - pobj::Ptr{Void} -end - -#= # begin enum ANONYMOUS_10 =# -typealias ANONYMOUS_10 UInt32 - -const OPTION_INT = (UInt32)(0) -const OPTION_BOOL = (UInt32)(1) -const OPTION_REAL = (UInt32)(2) -const OPTION_FLIST = (UInt32)(3) -const OPTION_STRING = (UInt32)(4) -const OPTION_REAL_ARRAY = (UInt32)(5) -const OPTION_SCALAR_ARRAY = (UInt32)(6) -const OPTION_HEAD = (UInt32)(7) -const OPTION_INT_ARRAY = (UInt32)(8) -const OPTION_ELIST = (UInt32)(9) -const OPTION_BOOL_ARRAY = (UInt32)(10) -const OPTION_STRING_ARRAY = (UInt32)(11) - -#= # end enum ANONYMOUS_10 =# -#= # begin enum PetscOptionType =# -typealias PetscOptionType UInt32 - -const OPTION_INT = (UInt32)(0) -const OPTION_BOOL = (UInt32)(1) -const OPTION_REAL = (UInt32)(2) -const OPTION_FLIST = (UInt32)(3) -const OPTION_STRING = (UInt32)(4) -const OPTION_REAL_ARRAY = (UInt32)(5) -const OPTION_SCALAR_ARRAY = (UInt32)(6) -const OPTION_HEAD = (UInt32)(7) -const OPTION_INT_ARRAY = (UInt32)(8) -const OPTION_ELIST = (UInt32)(9) -const OPTION_BOOL_ARRAY = (UInt32)(10) -const OPTION_STRING_ARRAY = (UInt32)(11) - -#= # end enum PetscOptionType =# -immutable PetscOption{T} - pobj::Ptr{Void} -end - -immutable _n_PetscOption - option::Ptr{UInt8} - text::Ptr{UInt8} - data::Ptr{Void} - flist::PetscFunctionList - list::Ptr{Ptr{UInt8}} - nlist::UInt8 - man::Ptr{UInt8} - arraylength::Csize_t - set::PetscBool - _type::PetscOptionType - next::PetscOption - pman::Ptr{UInt8} - edata::Ptr{Void} -end - -#= skipping type declaration with undefined symbols: -immutable _p_PetscOptions - count::PetscInt - next::PetscOption - prefix::Ptr{UInt8} - pprefix::Ptr{UInt8} - title::Ptr{UInt8} - comm::MPI_Comm - printhelp::PetscBool - changedmethod::PetscBool - alreadyprinted::PetscBool - object::PetscObject -end -=# -#= skipping type declaration with undefined symbols: -immutable PetscOptions - count::PetscInt - next::PetscOption - prefix::Ptr{UInt8} - pprefix::Ptr{UInt8} - title::Ptr{UInt8} - comm::MPI_Comm - printhelp::PetscBool - changedmethod::PetscBool - alreadyprinted::PetscBool - object::PetscObject -end -=# -typealias PetscDLHandle Ptr{Void} - -#= # begin enum ANONYMOUS_11 =# -typealias ANONYMOUS_11 UInt32 - -const PETSC_DL_DECIDE = (UInt32)(0) -const PETSC_DL_NOW = (UInt32)(1) -const PETSC_DL_LOCAL = (UInt32)(2) - -#= # end enum ANONYMOUS_11 =# -#= # begin enum PetscDLMode =# -typealias PetscDLMode UInt32 - -const PETSC_DL_DECIDE = (UInt32)(0) -const PETSC_DL_NOW = (UInt32)(1) -const PETSC_DL_LOCAL = (UInt32)(2) - -#= # end enum PetscDLMode =# -immutable _n_PetscObjectList -end - -typealias PetscObjectList Ptr{_n_PetscObjectList} - -immutable _n_PetscDLLibrary -end - -typealias PetscDLLibrary Ptr{_n_PetscDLLibrary} -typealias PetscLogEvent Cint -typealias PetscLogStage Cint - -immutable _n_PetscIntStack -end - -typealias PetscIntStack Ptr{_n_PetscIntStack} - -immutable PetscClassRegInfo - name::Ptr{UInt8} - classid::PetscClassId -end - -immutable PetscClassPerfInfo - id::PetscClassId - creations::Cint - destructions::Cint - mem::PetscLogDouble - descMem::PetscLogDouble -end - -immutable _n_PetscClassRegLog - numClasses::Cint - maxClasses::Cint - classInfo::Ptr{PetscClassRegInfo} -end - -typealias PetscClassRegLog Ptr{_n_PetscClassRegLog} - -immutable _n_PetscClassPerfLog - numClasses::Cint - maxClasses::Cint - classInfo::Ptr{PetscClassPerfInfo} -end - -typealias PetscClassPerfLog Ptr{_n_PetscClassPerfLog} - -immutable PetscEventRegInfo - name::Ptr{UInt8} - classid::PetscClassId -end - -immutable PetscEventPerfInfo - id::Cint - active::PetscBool - visible::PetscBool - depth::Cint - count::Cint - flops::PetscLogDouble - flops2::PetscLogDouble - flopsTmp::PetscLogDouble - time::PetscLogDouble - time2::PetscLogDouble - timeTmp::PetscLogDouble - numMessages::PetscLogDouble - messageLength::PetscLogDouble - numReductions::PetscLogDouble -end - -immutable _n_PetscEventRegLog - numEvents::Cint - maxEvents::Cint - eventInfo::Ptr{PetscEventRegInfo} -end - -typealias PetscEventRegLog Ptr{_n_PetscEventRegLog} - -immutable _n_PetscEventPerfLog - numEvents::Cint - maxEvents::Cint - eventInfo::Ptr{PetscEventPerfInfo} -end - -typealias PetscEventPerfLog Ptr{_n_PetscEventPerfLog} - -immutable _PetscStageInfo - name::Ptr{UInt8} - used::PetscBool - perfInfo::PetscEventPerfInfo - eventLog::PetscEventPerfLog - classLog::PetscClassPerfLog -end - -immutable PetscStageInfo - name::Ptr{UInt8} - used::PetscBool - perfInfo::PetscEventPerfInfo - eventLog::PetscEventPerfLog - classLog::PetscClassPerfLog -end - -immutable _n_PetscStageLog - numStages::Cint - maxStages::Cint - stack::PetscIntStack - curStage::Cint - stageInfo::Ptr{PetscStageInfo} - eventLog::PetscEventRegLog - classLog::PetscClassRegLog -end - -typealias PetscStageLog Ptr{_n_PetscStageLog} - -immutable _p_PetscContainer -end - -typealias PetscContainer Ptr{_p_PetscContainer} -typealias PetscRandomType Symbol - -immutable _p_PetscRandom -end - -typealias PetscRandom Ptr{_p_PetscRandom} - -#= # begin enum ANONYMOUS_12 =# -typealias ANONYMOUS_12 UInt32 - -const PETSC_BINARY_SEEK_SET = (UInt32)(0) -const PETSC_BINARY_SEEK_CUR = (UInt32)(1) -const PETSC_BINARY_SEEK_END = (UInt32)(2) - -#= # end enum ANONYMOUS_12 =# -#= # begin enum PetscBinarySeekType =# -typealias PetscBinarySeekType UInt32 - -const PETSC_BINARY_SEEK_SET = (UInt32)(0) -const PETSC_BINARY_SEEK_CUR = (UInt32)(1) -const PETSC_BINARY_SEEK_END = (UInt32)(2) - -#= # end enum PetscBinarySeekType =# -#= # begin enum ANONYMOUS_13 =# -typealias ANONYMOUS_13 Cint - -const PETSC_BUILDTWOSIDED_NOTSET = (Int32)(-1) -const PETSC_BUILDTWOSIDED_ALLREDUCE = (Int32)(0) -const PETSC_BUILDTWOSIDED_IBARRIER = (Int32)(1) - -#= # end enum ANONYMOUS_13 =# -#= # begin enum PetscBuildTwoSidedType =# -typealias PetscBuildTwoSidedType Cint - -const PETSC_BUILDTWOSIDED_NOTSET = (Int32)(-1) -const PETSC_BUILDTWOSIDED_ALLREDUCE = (Int32)(0) -const PETSC_BUILDTWOSIDED_IBARRIER = (Int32)(1) - -#= # end enum PetscBuildTwoSidedType =# -#= # begin enum ANONYMOUS_14 =# -typealias ANONYMOUS_14 UInt32 - -const NOT_SET_VALUES = (UInt32)(0) -const INSERT_VALUES = (UInt32)(1) -const ADD_VALUES = (UInt32)(2) -const MAX_VALUES = (UInt32)(3) -const INSERT_ALL_VALUES = (UInt32)(4) -const ADD_ALL_VALUES = (UInt32)(5) -const INSERT_BC_VALUES = (UInt32)(6) -const ADD_BC_VALUES = (UInt32)(7) - -#= # end enum ANONYMOUS_14 =# -#= # begin enum InsertMode =# -typealias InsertMode UInt32 - -const NOT_SET_VALUES = (UInt32)(0) -const INSERT_VALUES = (UInt32)(1) -const ADD_VALUES = (UInt32)(2) -const MAX_VALUES = (UInt32)(3) -const INSERT_ALL_VALUES = (UInt32)(4) -const ADD_ALL_VALUES = (UInt32)(5) -const INSERT_BC_VALUES = (UInt32)(6) -const ADD_BC_VALUES = (UInt32)(7) - -#= # end enum InsertMode =# -#= # begin enum ANONYMOUS_15 =# -typealias ANONYMOUS_15 UInt32 - -const PETSC_SUBCOMM_GENERAL = (UInt32)(0) -const PETSC_SUBCOMM_CONTIGUOUS = (UInt32)(1) -const PETSC_SUBCOMM_INTERLACED = (UInt32)(2) - -#= # end enum ANONYMOUS_15 =# -#= # begin enum PetscSubcommType =# -typealias PetscSubcommType UInt32 - -const PETSC_SUBCOMM_GENERAL = (UInt32)(0) -const PETSC_SUBCOMM_CONTIGUOUS = (UInt32)(1) -const PETSC_SUBCOMM_INTERLACED = (UInt32)(2) - -#= # end enum PetscSubcommType =# -immutable _n_PetscSubcomm - parent::MPI_Comm - dupparent::MPI_Comm - child::MPI_Comm - n::PetscMPIInt - color::PetscMPIInt - subsize::Ptr{PetscMPIInt} - _type::PetscSubcommType -end - -typealias PetscSubcomm Ptr{_n_PetscSubcomm} - -immutable _n_PetscSegBuffer -end - -typealias PetscSegBuffer Ptr{_n_PetscSegBuffer} - -immutable _n_PetscBag -end - -typealias PetscBag Ptr{_n_PetscBag} - -immutable _n_PetscBagItem -end - -typealias PetscBagItem Ptr{_n_PetscBagItem} -typealias PetscViewerType Symbol -typealias PetscDrawType Symbol - -immutable _p_PetscDraw -end - -typealias PetscDraw Ptr{_p_PetscDraw} - -immutable _p_PetscDrawAxis -end - -typealias PetscDrawAxis Ptr{_p_PetscDrawAxis} - -immutable _p_PetscDrawLG -end - -typealias PetscDrawLG Ptr{_p_PetscDrawLG} - -immutable _p_PetscDrawSP -end - -typealias PetscDrawSP Ptr{_p_PetscDrawSP} - -immutable _p_PetscDrawHG -end - -typealias PetscDrawHG Ptr{_p_PetscDrawHG} - -immutable _p_PetscDrawBar -end - -typealias PetscDrawBar Ptr{_p_PetscDrawBar} - -#= # begin enum ANONYMOUS_16 =# -typealias ANONYMOUS_16 UInt32 - -const PETSC_VIEWER_DEFAULT = (UInt32)(0) -const PETSC_VIEWER_ASCII_MATLAB = (UInt32)(1) -const PETSC_VIEWER_ASCII_MATHEMATICA = (UInt32)(2) -const PETSC_VIEWER_ASCII_IMPL = (UInt32)(3) -const PETSC_VIEWER_ASCII_INFO = (UInt32)(4) -const PETSC_VIEWER_ASCII_INFO_DETAIL = (UInt32)(5) -const PETSC_VIEWER_ASCII_COMMON = (UInt32)(6) -const PETSC_VIEWER_ASCII_SYMMODU = (UInt32)(7) -const PETSC_VIEWER_ASCII_INDEX = (UInt32)(8) -const PETSC_VIEWER_ASCII_DENSE = (UInt32)(9) -const PETSC_VIEWER_ASCII_MATRIXMARKET = (UInt32)(10) -const PETSC_VIEWER_ASCII_VTK = (UInt32)(11) -const PETSC_VIEWER_ASCII_VTK_CELL = (UInt32)(12) -const PETSC_VIEWER_ASCII_VTK_COORDS = (UInt32)(13) -const PETSC_VIEWER_ASCII_PCICE = (UInt32)(14) -const PETSC_VIEWER_ASCII_PYTHON = (UInt32)(15) -const PETSC_VIEWER_ASCII_FACTOR_INFO = (UInt32)(16) -const PETSC_VIEWER_ASCII_LATEX = (UInt32)(17) -const PETSC_VIEWER_DRAW_BASIC = (UInt32)(18) -const PETSC_VIEWER_DRAW_LG = (UInt32)(19) -const PETSC_VIEWER_DRAW_CONTOUR = (UInt32)(20) -const PETSC_VIEWER_DRAW_PORTS = (UInt32)(21) -const PETSC_VIEWER_VTK_VTS = (UInt32)(22) -const PETSC_VIEWER_VTK_VTR = (UInt32)(23) -const PETSC_VIEWER_VTK_VTU = (UInt32)(24) -const PETSC_VIEWER_BINARY_MATLAB = (UInt32)(25) -const PETSC_VIEWER_NATIVE = (UInt32)(26) -const PETSC_VIEWER_HDF5_VIZ = (UInt32)(27) -const PETSC_VIEWER_NOFORMAT = (UInt32)(28) - -#= # end enum ANONYMOUS_16 =# -#= # begin enum PetscViewerFormat =# -typealias PetscViewerFormat UInt32 - -const PETSC_VIEWER_DEFAULT = (UInt32)(0) -const PETSC_VIEWER_ASCII_MATLAB = (UInt32)(1) -const PETSC_VIEWER_ASCII_MATHEMATICA = (UInt32)(2) -const PETSC_VIEWER_ASCII_IMPL = (UInt32)(3) -const PETSC_VIEWER_ASCII_INFO = (UInt32)(4) -const PETSC_VIEWER_ASCII_INFO_DETAIL = (UInt32)(5) -const PETSC_VIEWER_ASCII_COMMON = (UInt32)(6) -const PETSC_VIEWER_ASCII_SYMMODU = (UInt32)(7) -const PETSC_VIEWER_ASCII_INDEX = (UInt32)(8) -const PETSC_VIEWER_ASCII_DENSE = (UInt32)(9) -const PETSC_VIEWER_ASCII_MATRIXMARKET = (UInt32)(10) -const PETSC_VIEWER_ASCII_VTK = (UInt32)(11) -const PETSC_VIEWER_ASCII_VTK_CELL = (UInt32)(12) -const PETSC_VIEWER_ASCII_VTK_COORDS = (UInt32)(13) -const PETSC_VIEWER_ASCII_PCICE = (UInt32)(14) -const PETSC_VIEWER_ASCII_PYTHON = (UInt32)(15) -const PETSC_VIEWER_ASCII_FACTOR_INFO = (UInt32)(16) -const PETSC_VIEWER_ASCII_LATEX = (UInt32)(17) -const PETSC_VIEWER_DRAW_BASIC = (UInt32)(18) -const PETSC_VIEWER_DRAW_LG = (UInt32)(19) -const PETSC_VIEWER_DRAW_CONTOUR = (UInt32)(20) -const PETSC_VIEWER_DRAW_PORTS = (UInt32)(21) -const PETSC_VIEWER_VTK_VTS = (UInt32)(22) -const PETSC_VIEWER_VTK_VTR = (UInt32)(23) -const PETSC_VIEWER_VTK_VTU = (UInt32)(24) -const PETSC_VIEWER_BINARY_MATLAB = (UInt32)(25) -const PETSC_VIEWER_NATIVE = (UInt32)(26) -const PETSC_VIEWER_HDF5_VIZ = (UInt32)(27) -const PETSC_VIEWER_NOFORMAT = (UInt32)(28) - -#= # end enum PetscViewerFormat =# -#= # begin enum ANONYMOUS_17 =# -typealias ANONYMOUS_17 UInt32 - -const PETSC_VTK_POINT_FIELD = (UInt32)(0) -const PETSC_VTK_POINT_VECTOR_FIELD = (UInt32)(1) -const PETSC_VTK_CELL_FIELD = (UInt32)(2) -const PETSC_VTK_CELL_VECTOR_FIELD = (UInt32)(3) - -#= # end enum ANONYMOUS_17 =# -#= # begin enum PetscViewerVTKFieldType =# -typealias PetscViewerVTKFieldType UInt32 - -const PETSC_VTK_POINT_FIELD = (UInt32)(0) -const PETSC_VTK_POINT_VECTOR_FIELD = (UInt32)(1) -const PETSC_VTK_CELL_FIELD = (UInt32)(2) -const PETSC_VTK_CELL_VECTOR_FIELD = (UInt32)(3) - -#= # end enum PetscViewerVTKFieldType =# -immutable _n_PetscViewers -end - -typealias PetscViewers Ptr{_n_PetscViewers} -typealias PetscBT Symbol - -#= skipping type declaration with undefined symbols: -immutable _n_PetscTable - keytable::Ptr{PetscInt} - table::Ptr{PetscInt} - count::PetscInt - tablesize::PetscInt - head::PetscInt - maxkey::PetscInt -end -=# -# skipping undefined typealias typealias PetscTable Ptr{_n_PetscTable} -typealias PetscTablePosition Ptr{Int64} - -immutable _p_PetscMatlabEngine -end - -typealias PetscMatlabEngine Ptr{_p_PetscMatlabEngine} - -#= # begin enum ANONYMOUS_18 =# -typealias ANONYMOUS_18 UInt32 - -const PETSC_DRAW_MARKER_CROSS = (UInt32)(0) -const PETSC_DRAW_MARKER_POINT = (UInt32)(1) -const PETSC_DRAW_MARKER_PLUS = (UInt32)(2) -const PETSC_DRAW_MARKER_CIRCLE = (UInt32)(3) - -#= # end enum ANONYMOUS_18 =# -#= # begin enum PetscDrawMarkerType =# -typealias PetscDrawMarkerType UInt32 - -const PETSC_DRAW_MARKER_CROSS = (UInt32)(0) -const PETSC_DRAW_MARKER_POINT = (UInt32)(1) -const PETSC_DRAW_MARKER_PLUS = (UInt32)(2) -const PETSC_DRAW_MARKER_CIRCLE = (UInt32)(3) - -#= # end enum PetscDrawMarkerType =# -#= # begin enum ANONYMOUS_19 =# -typealias ANONYMOUS_19 UInt32 - -const PETSC_BUTTON_NONE = (UInt32)(0) -const PETSC_BUTTON_LEFT = (UInt32)(1) -const PETSC_BUTTON_CENTER = (UInt32)(2) -const PETSC_BUTTON_RIGHT = (UInt32)(3) -const PETSC_BUTTON_LEFT_SHIFT = (UInt32)(4) -const PETSC_BUTTON_CENTER_SHIFT = (UInt32)(5) -const PETSC_BUTTON_RIGHT_SHIFT = (UInt32)(6) - -#= # end enum ANONYMOUS_19 =# -#= # begin enum PetscDrawButton =# -typealias PetscDrawButton UInt32 - -const PETSC_BUTTON_NONE = (UInt32)(0) -const PETSC_BUTTON_LEFT = (UInt32)(1) -const PETSC_BUTTON_CENTER = (UInt32)(2) -const PETSC_BUTTON_RIGHT = (UInt32)(3) -const PETSC_BUTTON_LEFT_SHIFT = (UInt32)(4) -const PETSC_BUTTON_CENTER_SHIFT = (UInt32)(5) -const PETSC_BUTTON_RIGHT_SHIFT = (UInt32)(6) - -#= # end enum PetscDrawButton =# -#= skipping type declaration with undefined symbols: -immutable PetscDrawViewPorts - nports::PetscInt - xl::Ptr{PetscReal} - xr::Ptr{PetscReal} - yl::Ptr{PetscReal} - yr::Ptr{PetscReal} - draw::PetscDraw - port_xl::PetscReal - port_yl::PetscReal - port_xr::PetscReal - port_yr::PetscReal -end -=# -immutable _p_PetscSF -end - -typealias PetscSF Ptr{_p_PetscSF} - -#= skipping type declaration with undefined symbols: -immutable PetscSFNode - rank::PetscInt - index::PetscInt -end -=# -immutable _p_IS -end - -immutable IS{T} - pobj::Ptr{Void} -end - -immutable _p_ISLocalToGlobalMapping -end - -immutable ISLocalToGlobalMapping{T} - pobj::Ptr{Void} -end - -immutable _n_ISColoring -end - -immutable ISColoring{T} - pobj::Ptr{Void} -end - -#= skipping type declaration with undefined symbols: -immutable _n_PetscLayout - comm::MPI_Comm - n::PetscInt - N::PetscInt - rstart::PetscInt - rend::PetscInt - range::Ptr{PetscInt} - bs::PetscInt - refcnt::PetscInt - mapping::ISLocalToGlobalMapping - trstarts::Ptr{PetscInt} -end -=# -immutable PetscLayout{T} - pobj::Ptr{Void} -end - -immutable _p_PetscSection -end - -typealias PetscSection Ptr{_p_PetscSection} -typealias ISType Symbol - -#= # begin enum ANONYMOUS_20 =# -typealias ANONYMOUS_20 UInt32 - -const IS_GTOLM_MASK = (UInt32)(0) -const IS_GTOLM_DROP = (UInt32)(1) - -#= # end enum ANONYMOUS_20 =# -#= # begin enum ISGlobalToLocalMappingType =# -typealias ISGlobalToLocalMappingType UInt32 - -const IS_GTOLM_MASK = (UInt32)(0) -const IS_GTOLM_DROP = (UInt32)(1) - -#= # end enum ISGlobalToLocalMappingType =# -#= # begin enum ANONYMOUS_21 =# -typealias ANONYMOUS_21 UInt32 - -const IS_COLORING_GLOBAL = (UInt32)(0) -const IS_COLORING_GHOSTED = (UInt32)(1) - -#= # end enum ANONYMOUS_21 =# -#= # begin enum ISColoringType =# -typealias ISColoringType UInt32 - -const IS_COLORING_GLOBAL = (UInt32)(0) -const IS_COLORING_GHOSTED = (UInt32)(1) - -#= # end enum ISColoringType =# -typealias ISColoringValue UInt16 - -immutable _p_Vec -end - -immutable Vec{T} - pobj::Ptr{Void} -end - -immutable _p_VecScatter -end - -immutable VecScatter{T} - pobj::Ptr{Void} -end - -#= # begin enum ANONYMOUS_22 =# -typealias ANONYMOUS_22 UInt32 - -const SCATTER_FORWARD = (UInt32)(0) -const SCATTER_REVERSE = (UInt32)(1) -const SCATTER_FORWARD_LOCAL = (UInt32)(2) -const SCATTER_REVERSE_LOCAL = (UInt32)(3) -const SCATTER_LOCAL = (UInt32)(2) - -#= # end enum ANONYMOUS_22 =# -#= # begin enum ScatterMode =# -typealias ScatterMode UInt32 - -const SCATTER_FORWARD = (UInt32)(0) -const SCATTER_REVERSE = (UInt32)(1) -const SCATTER_FORWARD_LOCAL = (UInt32)(2) -const SCATTER_REVERSE_LOCAL = (UInt32)(3) -const SCATTER_LOCAL = (UInt32)(2) - -#= # end enum ScatterMode =# -typealias VecType Symbol - -#= # begin enum ANONYMOUS_23 =# -typealias ANONYMOUS_23 UInt32 - -const NORM_1 = (UInt32)(0) -const NORM_2 = (UInt32)(1) -const NORM_FROBENIUS = (UInt32)(2) -const NORM_INFINITY = (UInt32)(3) -const NORM_1_AND_2 = (UInt32)(4) - -#= # end enum ANONYMOUS_23 =# -#= # begin enum ANONYMOUS_24 =# -typealias ANONYMOUS_24 UInt32 - -const VEC_IGNORE_OFF_PROC_ENTRIES = (UInt32)(0) -const VEC_IGNORE_NEGATIVE_INDICES = (UInt32)(1) - -#= # end enum ANONYMOUS_24 =# -#= # begin enum VecOption =# -typealias VecOption UInt32 - -const VEC_IGNORE_OFF_PROC_ENTRIES = (UInt32)(0) -const VEC_IGNORE_NEGATIVE_INDICES = (UInt32)(1) - -#= # end enum VecOption =# -#= # begin enum ANONYMOUS_25 =# -typealias ANONYMOUS_25 UInt32 - -const VECOP_VIEW = (UInt32)(33) -const VECOP_LOAD = (UInt32)(41) -const VECOP_DUPLICATE = (UInt32)(0) - -#= # end enum ANONYMOUS_25 =# -#= # begin enum VecOperation =# -typealias VecOperation UInt32 - -const VECOP_VIEW = (UInt32)(33) -const VECOP_LOAD = (UInt32)(41) -const VECOP_DUPLICATE = (UInt32)(0) - -#= # end enum VecOperation =# -#= skipping type declaration with undefined symbols: -immutable _n_Vecs - n::PetscInt - v::Vec -end -=# -# skipping undefined typealias typealias Vecs Ptr{_n_Vecs} -immutable _p_Mat -end - -immutable Mat{T} - pobj::Ptr{Void} -end - -typealias MatType Symbol - -#= # begin enum ANONYMOUS_26 =# -typealias ANONYMOUS_26 UInt32 - -const MAT_FACTOR_NONE = (UInt32)(0) -const MAT_FACTOR_LU = (UInt32)(1) -const MAT_FACTOR_CHOLESKY = (UInt32)(2) -const MAT_FACTOR_ILU = (UInt32)(3) -const MAT_FACTOR_ICC = (UInt32)(4) -const MAT_FACTOR_ILUDT = (UInt32)(5) - -#= # end enum ANONYMOUS_26 =# -#= # begin enum MatFactorType =# -typealias MatFactorType UInt32 - -const MAT_FACTOR_NONE = (UInt32)(0) -const MAT_FACTOR_LU = (UInt32)(1) -const MAT_FACTOR_CHOLESKY = (UInt32)(2) -const MAT_FACTOR_ILU = (UInt32)(3) -const MAT_FACTOR_ICC = (UInt32)(4) -const MAT_FACTOR_ILUDT = (UInt32)(5) - -#= # end enum MatFactorType =# -#= # begin enum ANONYMOUS_27 =# -typealias ANONYMOUS_27 UInt32 - -const MAT_INITIAL_MATRIX = (UInt32)(0) -const MAT_REUSE_MATRIX = (UInt32)(1) -const MAT_IGNORE_MATRIX = (UInt32)(2) - -#= # end enum ANONYMOUS_27 =# -#= # begin enum MatReuse =# -typealias MatReuse UInt32 - -const MAT_INITIAL_MATRIX = (UInt32)(0) -const MAT_REUSE_MATRIX = (UInt32)(1) -const MAT_IGNORE_MATRIX = (UInt32)(2) - -#= # end enum MatReuse =# -#= # begin enum ANONYMOUS_28 =# -typealias ANONYMOUS_28 UInt32 - -const MAT_DO_NOT_GET_VALUES = (UInt32)(0) -const MAT_GET_VALUES = (UInt32)(1) - -#= # end enum ANONYMOUS_28 =# -#= # begin enum MatGetSubMatrixOption =# -typealias MatGetSubMatrixOption UInt32 - -const MAT_DO_NOT_GET_VALUES = (UInt32)(0) -const MAT_GET_VALUES = (UInt32)(1) - -#= # end enum MatGetSubMatrixOption =# -#= # begin enum ANONYMOUS_29 =# -typealias ANONYMOUS_29 UInt32 - -const DIFFERENT_NONZERO_PATTERN = (UInt32)(0) -const SUBSET_NONZERO_PATTERN = (UInt32)(1) -const SAME_NONZERO_PATTERN = (UInt32)(2) - -#= # end enum ANONYMOUS_29 =# -#= # begin enum MatStructure =# -typealias MatStructure UInt32 - -const DIFFERENT_NONZERO_PATTERN = (UInt32)(0) -const SUBSET_NONZERO_PATTERN = (UInt32)(1) -const SAME_NONZERO_PATTERN = (UInt32)(2) - -#= # end enum MatStructure =# -#= # begin enum ANONYMOUS_30 =# -typealias ANONYMOUS_30 UInt32 - -const MAT_COMPOSITE_ADDITIVE = (UInt32)(0) -const MAT_COMPOSITE_MULTIPLICATIVE = (UInt32)(1) - -#= # end enum ANONYMOUS_30 =# -#= # begin enum MatCompositeType =# -typealias MatCompositeType UInt32 - -const MAT_COMPOSITE_ADDITIVE = (UInt32)(0) -const MAT_COMPOSITE_MULTIPLICATIVE = (UInt32)(1) - -#= # end enum MatCompositeType =# -#= skipping type declaration with undefined symbols: -immutable MatStencil - k::PetscInt - j::PetscInt - i::PetscInt - c::PetscInt -end -=# -#= # begin enum ANONYMOUS_31 =# -typealias ANONYMOUS_31 UInt32 - -const MAT_FLUSH_ASSEMBLY = (UInt32)(1) -const MAT_FINAL_ASSEMBLY = (UInt32)(0) - -#= # end enum ANONYMOUS_31 =# -#= # begin enum MatAssemblyType =# -typealias MatAssemblyType UInt32 - -const MAT_FLUSH_ASSEMBLY = (UInt32)(1) -const MAT_FINAL_ASSEMBLY = (UInt32)(0) - -#= # end enum MatAssemblyType =# -#= # begin enum ANONYMOUS_32 =# -typealias ANONYMOUS_32 Cint - -const MAT_OPTION_MIN = (Int32)(-5) -const MAT_NEW_NONZERO_LOCATION_ERR = (Int32)(-4) -const MAT_UNUSED_NONZERO_LOCATION_ERR = (Int32)(-3) -const MAT_NEW_NONZERO_ALLOCATION_ERR = (Int32)(-2) -const MAT_ROW_ORIENTED = (Int32)(-1) -const MAT_SYMMETRIC = (Int32)(1) -const MAT_STRUCTURALLY_SYMMETRIC = (Int32)(2) -const MAT_NEW_DIAGONALS = (Int32)(3) -const MAT_IGNORE_OFF_PROC_ENTRIES = (Int32)(4) -const MAT_USE_HASH_TABLE = (Int32)(5) -const MAT_KEEP_NONZERO_PATTERN = (Int32)(6) -const MAT_IGNORE_ZERO_ENTRIES = (Int32)(7) -const MAT_USE_INODES = (Int32)(8) -const MAT_HERMITIAN = (Int32)(9) -const MAT_SYMMETRY_ETERNAL = (Int32)(10) -const MAT_DUMMY = (Int32)(11) -const MAT_IGNORE_LOWER_TRIANGULAR = (Int32)(12) -const MAT_ERROR_LOWER_TRIANGULAR = (Int32)(13) -const MAT_GETROW_UPPERTRIANGULAR = (Int32)(14) -const MAT_SPD = (Int32)(15) -const MAT_NO_OFF_PROC_ZERO_ROWS = (Int32)(16) -const MAT_NO_OFF_PROC_ENTRIES = (Int32)(17) -const MAT_NEW_NONZERO_LOCATIONS = (Int32)(18) -const MAT_OPTION_MAX = (Int32)(19) - -#= # end enum ANONYMOUS_32 =# -#= # begin enum MatOption =# -typealias MatOption Cint - -const MAT_OPTION_MIN = (Int32)(-5) -const MAT_NEW_NONZERO_LOCATION_ERR = (Int32)(-4) -const MAT_UNUSED_NONZERO_LOCATION_ERR = (Int32)(-3) -const MAT_NEW_NONZERO_ALLOCATION_ERR = (Int32)(-2) -const MAT_ROW_ORIENTED = (Int32)(-1) -const MAT_SYMMETRIC = (Int32)(1) -const MAT_STRUCTURALLY_SYMMETRIC = (Int32)(2) -const MAT_NEW_DIAGONALS = (Int32)(3) -const MAT_IGNORE_OFF_PROC_ENTRIES = (Int32)(4) -const MAT_USE_HASH_TABLE = (Int32)(5) -const MAT_KEEP_NONZERO_PATTERN = (Int32)(6) -const MAT_IGNORE_ZERO_ENTRIES = (Int32)(7) -const MAT_USE_INODES = (Int32)(8) -const MAT_HERMITIAN = (Int32)(9) -const MAT_SYMMETRY_ETERNAL = (Int32)(10) -const MAT_DUMMY = (Int32)(11) -const MAT_IGNORE_LOWER_TRIANGULAR = (Int32)(12) -const MAT_ERROR_LOWER_TRIANGULAR = (Int32)(13) -const MAT_GETROW_UPPERTRIANGULAR = (Int32)(14) -const MAT_SPD = (Int32)(15) -const MAT_NO_OFF_PROC_ZERO_ROWS = (Int32)(16) -const MAT_NO_OFF_PROC_ENTRIES = (Int32)(17) -const MAT_NEW_NONZERO_LOCATIONS = (Int32)(18) -const MAT_OPTION_MAX = (Int32)(19) - -#= # end enum MatOption =# -#= # begin enum ANONYMOUS_33 =# -typealias ANONYMOUS_33 UInt32 - -const MAT_DO_NOT_COPY_VALUES = (UInt32)(0) -const MAT_COPY_VALUES = (UInt32)(1) -const MAT_SHARE_NONZERO_PATTERN = (UInt32)(2) - -#= # end enum ANONYMOUS_33 =# -#= # begin enum MatDuplicateOption =# -typealias MatDuplicateOption UInt32 - -const MAT_DO_NOT_COPY_VALUES = (UInt32)(0) -const MAT_COPY_VALUES = (UInt32)(1) -const MAT_SHARE_NONZERO_PATTERN = (UInt32)(2) - -#= # end enum MatDuplicateOption =# -immutable MatInfo - block_size::PetscLogDouble - nz_allocated::PetscLogDouble - nz_used::PetscLogDouble - nz_unneeded::PetscLogDouble - memory::PetscLogDouble - assemblies::PetscLogDouble - mallocs::PetscLogDouble - fill_ratio_given::PetscLogDouble - fill_ratio_needed::PetscLogDouble - factor_mallocs::PetscLogDouble -end - -#= # begin enum ANONYMOUS_34 =# -typealias ANONYMOUS_34 UInt32 - -const MAT_LOCAL = (UInt32)(1) -const MAT_GLOBAL_MAX = (UInt32)(2) -const MAT_GLOBAL_SUM = (UInt32)(3) - -#= # end enum ANONYMOUS_34 =# -#= # begin enum MatInfoType =# -typealias MatInfoType UInt32 - -const MAT_LOCAL = (UInt32)(1) -const MAT_GLOBAL_MAX = (UInt32)(2) -const MAT_GLOBAL_SUM = (UInt32)(3) - -#= # end enum MatInfoType =# -typealias MatOrderingType Symbol - -#= # begin enum ANONYMOUS_35 =# -typealias ANONYMOUS_35 UInt32 - -const MAT_SHIFT_NONE = (UInt32)(0) -const MAT_SHIFT_NONZERO = (UInt32)(1) -const MAT_SHIFT_POSITIVE_DEFINITE = (UInt32)(2) -const MAT_SHIFT_INBLOCKS = (UInt32)(3) - -#= # end enum ANONYMOUS_35 =# -#= # begin enum MatFactorShiftType =# -typealias MatFactorShiftType UInt32 - -const MAT_SHIFT_NONE = (UInt32)(0) -const MAT_SHIFT_NONZERO = (UInt32)(1) -const MAT_SHIFT_POSITIVE_DEFINITE = (UInt32)(2) -const MAT_SHIFT_INBLOCKS = (UInt32)(3) - -#= # end enum MatFactorShiftType =# -#= skipping type declaration with undefined symbols: -immutable MatFactorInfo - diagonal_fill::PetscReal - usedt::PetscReal - dt::PetscReal - dtcol::PetscReal - dtcount::PetscReal - fill::PetscReal - levels::PetscReal - pivotinblocks::PetscReal - zeropivot::PetscReal - shifttype::PetscReal - shiftamount::PetscReal -end -=# -#= # begin enum ANONYMOUS_36 =# -typealias ANONYMOUS_36 UInt32 - -const SOR_FORWARD_SWEEP = (UInt32)(1) -const SOR_BACKWARD_SWEEP = (UInt32)(2) -const SOR_SYMMETRIC_SWEEP = (UInt32)(3) -const SOR_LOCAL_FORWARD_SWEEP = (UInt32)(4) -const SOR_LOCAL_BACKWARD_SWEEP = (UInt32)(8) -const SOR_LOCAL_SYMMETRIC_SWEEP = (UInt32)(12) -const SOR_ZERO_INITIAL_GUESS = (UInt32)(16) -const SOR_EISENSTAT = (UInt32)(32) -const SOR_APPLY_UPPER = (UInt32)(64) -const SOR_APPLY_LOWER = (UInt32)(128) - -#= # end enum ANONYMOUS_36 =# -#= # begin enum MatSORType =# -typealias MatSORType UInt32 - -const SOR_FORWARD_SWEEP = (UInt32)(1) -const SOR_BACKWARD_SWEEP = (UInt32)(2) -const SOR_SYMMETRIC_SWEEP = (UInt32)(3) -const SOR_LOCAL_FORWARD_SWEEP = (UInt32)(4) -const SOR_LOCAL_BACKWARD_SWEEP = (UInt32)(8) -const SOR_LOCAL_SYMMETRIC_SWEEP = (UInt32)(12) -const SOR_ZERO_INITIAL_GUESS = (UInt32)(16) -const SOR_EISENSTAT = (UInt32)(32) -const SOR_APPLY_UPPER = (UInt32)(64) -const SOR_APPLY_LOWER = (UInt32)(128) - -#= # end enum MatSORType =# -immutable _p_MatColoring -end - -typealias MatColoring Ptr{_p_MatColoring} -typealias MatColoringType Symbol - -#= # begin enum ANONYMOUS_37 =# -typealias ANONYMOUS_37 UInt32 - -const MAT_COLORING_WEIGHT_RANDOM = (UInt32)(0) -const MAT_COLORING_WEIGHT_LEXICAL = (UInt32)(1) -const MAT_COLORING_WEIGHT_LF = (UInt32)(2) -const MAT_COLORING_WEIGHT_SL = (UInt32)(3) - -#= # end enum ANONYMOUS_37 =# -#= # begin enum MatColoringWeightType =# -typealias MatColoringWeightType UInt32 - -const MAT_COLORING_WEIGHT_RANDOM = (UInt32)(0) -const MAT_COLORING_WEIGHT_LEXICAL = (UInt32)(1) -const MAT_COLORING_WEIGHT_LF = (UInt32)(2) -const MAT_COLORING_WEIGHT_SL = (UInt32)(3) - -#= # end enum MatColoringWeightType =# -immutable _p_MatFDColoring -end - -typealias MatFDColoring Ptr{_p_MatFDColoring} - -immutable _p_MatTransposeColoring -end - -typealias MatTransposeColoring Ptr{_p_MatTransposeColoring} - -immutable _p_MatPartitioning -end - -typealias MatPartitioning Ptr{_p_MatPartitioning} -typealias MatPartitioningType Symbol - -#= # begin enum ANONYMOUS_38 =# -typealias ANONYMOUS_38 UInt32 - -const MP_CHACO_MULTILEVEL = (UInt32)(1) -const MP_CHACO_SPECTRAL = (UInt32)(2) -const MP_CHACO_LINEAR = (UInt32)(4) -const MP_CHACO_RANDOM = (UInt32)(5) -const MP_CHACO_SCATTERED = (UInt32)(6) - -#= # end enum ANONYMOUS_38 =# -#= # begin enum MPChacoGlobalType =# -typealias MPChacoGlobalType UInt32 - -const MP_CHACO_MULTILEVEL = (UInt32)(1) -const MP_CHACO_SPECTRAL = (UInt32)(2) -const MP_CHACO_LINEAR = (UInt32)(4) -const MP_CHACO_RANDOM = (UInt32)(5) -const MP_CHACO_SCATTERED = (UInt32)(6) - -#= # end enum MPChacoGlobalType =# -#= # begin enum ANONYMOUS_39 =# -typealias ANONYMOUS_39 UInt32 - -const MP_CHACO_KERNIGHAN = (UInt32)(1) -const MP_CHACO_NONE = (UInt32)(2) - -#= # end enum ANONYMOUS_39 =# -#= # begin enum MPChacoLocalType =# -typealias MPChacoLocalType UInt32 - -const MP_CHACO_KERNIGHAN = (UInt32)(1) -const MP_CHACO_NONE = (UInt32)(2) - -#= # end enum MPChacoLocalType =# -#= # begin enum ANONYMOUS_40 =# -typealias ANONYMOUS_40 UInt32 - -const MP_CHACO_LANCZOS = (UInt32)(0) -const MP_CHACO_RQI = (UInt32)(1) - -#= # end enum ANONYMOUS_40 =# -#= # begin enum MPChacoEigenType =# -typealias MPChacoEigenType UInt32 - -const MP_CHACO_LANCZOS = (UInt32)(0) -const MP_CHACO_RQI = (UInt32)(1) - -#= # end enum MPChacoEigenType =# -#= # begin enum ANONYMOUS_41 =# -typealias ANONYMOUS_41 UInt32 - -const MP_PTSCOTCH_QUALITY = (UInt32)(0) -const MP_PTSCOTCH_SPEED = (UInt32)(1) -const MP_PTSCOTCH_BALANCE = (UInt32)(2) -const MP_PTSCOTCH_SAFETY = (UInt32)(3) -const MP_PTSCOTCH_SCALABILITY = (UInt32)(4) - -#= # end enum ANONYMOUS_41 =# -#= # begin enum MPPTScotchStrategyType =# -typealias MPPTScotchStrategyType UInt32 - -const MP_PTSCOTCH_QUALITY = (UInt32)(0) -const MP_PTSCOTCH_SPEED = (UInt32)(1) -const MP_PTSCOTCH_BALANCE = (UInt32)(2) -const MP_PTSCOTCH_SAFETY = (UInt32)(3) -const MP_PTSCOTCH_SCALABILITY = (UInt32)(4) - -#= # end enum MPPTScotchStrategyType =# -immutable _p_MatCoarsen -end - -typealias MatCoarsen Ptr{_p_MatCoarsen} -typealias MatCoarsenType Symbol - -#= skipping type declaration with undefined symbols: -immutable _PetscCDIntNd - next::Ptr{_PetscCDIntNd} - gid::PetscInt -end -=# -#= skipping type declaration with undefined symbols: -immutable PetscCDIntNd - next::Ptr{_PetscCDIntNd} - gid::PetscInt -end -=# -#= skipping type declaration with undefined symbols: -immutable _PetscCDArrNd - next::Ptr{_PetscCDArrNd} - array::Ptr{_PetscCDIntNd} -end -=# -#= skipping type declaration with undefined symbols: -immutable PetscCDArrNd - next::Ptr{_PetscCDArrNd} - array::Ptr{_PetscCDIntNd} -end -=# -#= skipping type declaration with undefined symbols: -immutable _PetscCoarsenData - pool_list::PetscCDArrNd - new_node::Ptr{PetscCDIntNd} - new_left::PetscInt - chk_sz::PetscInt - extra_nodes::Ptr{PetscCDIntNd} - array::Ptr{Ptr{PetscCDIntNd}} - size::PetscInt - mat::Mat -end -=# -#= skipping type declaration with undefined symbols: -immutable PetscCoarsenData - pool_list::PetscCDArrNd - new_node::Ptr{PetscCDIntNd} - new_left::PetscInt - chk_sz::PetscInt - extra_nodes::Ptr{PetscCDIntNd} - array::Ptr{Ptr{PetscCDIntNd}} - size::PetscInt - mat::Mat -end -=# -#= # begin enum ANONYMOUS_42 =# -typealias ANONYMOUS_42 UInt32 - -const MATOP_SET_VALUES = (UInt32)(0) -const MATOP_GET_ROW = (UInt32)(1) -const MATOP_RESTORE_ROW = (UInt32)(2) -const MATOP_MULT = (UInt32)(3) -const MATOP_MULT_ADD = (UInt32)(4) -const MATOP_MULT_TRANSPOSE = (UInt32)(5) -const MATOP_MULT_TRANSPOSE_ADD = (UInt32)(6) -const MATOP_SOLVE = (UInt32)(7) -const MATOP_SOLVE_ADD = (UInt32)(8) -const MATOP_SOLVE_TRANSPOSE = (UInt32)(9) -const MATOP_SOLVE_TRANSPOSE_ADD = (UInt32)(10) -const MATOP_LUFACTOR = (UInt32)(11) -const MATOP_CHOLESKYFACTOR = (UInt32)(12) -const MATOP_SOR = (UInt32)(13) -const MATOP_TRANSPOSE = (UInt32)(14) -const MATOP_GETINFO = (UInt32)(15) -const MATOP_EQUAL = (UInt32)(16) -const MATOP_GET_DIAGONAL = (UInt32)(17) -const MATOP_DIAGONAL_SCALE = (UInt32)(18) -const MATOP_NORM = (UInt32)(19) -const MATOP_ASSEMBLY_BEGIN = (UInt32)(20) -const MATOP_ASSEMBLY_END = (UInt32)(21) -const MATOP_SET_OPTION = (UInt32)(22) -const MATOP_ZERO_ENTRIES = (UInt32)(23) -const MATOP_ZERO_ROWS = (UInt32)(24) -const MATOP_LUFACTOR_SYMBOLIC = (UInt32)(25) -const MATOP_LUFACTOR_NUMERIC = (UInt32)(26) -const MATOP_CHOLESKY_FACTOR_SYMBOLIC = (UInt32)(27) -const MATOP_CHOLESKY_FACTOR_NUMERIC = (UInt32)(28) -const MATOP_SETUP_PREALLOCATION = (UInt32)(29) -const MATOP_ILUFACTOR_SYMBOLIC = (UInt32)(30) -const MATOP_ICCFACTOR_SYMBOLIC = (UInt32)(31) -const MATOP_DUPLICATE = (UInt32)(34) -const MATOP_FORWARD_SOLVE = (UInt32)(35) -const MATOP_BACKWARD_SOLVE = (UInt32)(36) -const MATOP_ILUFACTOR = (UInt32)(37) -const MATOP_ICCFACTOR = (UInt32)(38) -const MATOP_AXPY = (UInt32)(39) -const MATOP_GET_SUBMATRICES = (UInt32)(40) -const MATOP_INCREASE_OVERLAP = (UInt32)(41) -const MATOP_GET_VALUES = (UInt32)(42) -const MATOP_COPY = (UInt32)(43) -const MATOP_GET_ROW_MAX = (UInt32)(44) -const MATOP_SCALE = (UInt32)(45) -const MATOP_SHIFT = (UInt32)(46) -const MATOP_DIAGONAL_SET = (UInt32)(47) -const MATOP_ZERO_ROWS_COLUMNS = (UInt32)(48) -const MATOP_SET_RANDOM = (UInt32)(49) -const MATOP_GET_ROW_IJ = (UInt32)(50) -const MATOP_RESTORE_ROW_IJ = (UInt32)(51) -const MATOP_GET_COLUMN_IJ = (UInt32)(52) -const MATOP_RESTORE_COLUMN_IJ = (UInt32)(53) -const MATOP_FDCOLORING_CREATE = (UInt32)(54) -const MATOP_COLORING_PATCH = (UInt32)(55) -const MATOP_SET_UNFACTORED = (UInt32)(56) -const MATOP_PERMUTE = (UInt32)(57) -const MATOP_SET_VALUES_BLOCKED = (UInt32)(58) -const MATOP_GET_SUBMATRIX = (UInt32)(59) -const MATOP_DESTROY = (UInt32)(60) -const MATOP_VIEW = (UInt32)(61) -const MATOP_CONVERT_FROM = (UInt32)(62) -const MATOP_MATMAT_MULT = (UInt32)(63) -const MATOP_MATMAT_MULT_SYMBOLIC = (UInt32)(64) -const MATOP_MATMAT_MULT_NUMERIC = (UInt32)(65) -const MATOP_SET_LOCAL_TO_GLOBAL_MAP = (UInt32)(66) -const MATOP_SET_VALUES_LOCAL = (UInt32)(67) -const MATOP_ZERO_ROWS_LOCAL = (UInt32)(68) -const MATOP_GET_ROW_MAX_ABS = (UInt32)(69) -const MATOP_GET_ROW_MIN_ABS = (UInt32)(70) -const MATOP_CONVERT = (UInt32)(71) -const MATOP_SET_COLORING = (UInt32)(72) -const MATOP_SET_VALUES_ADIFOR = (UInt32)(74) -const MATOP_FD_COLORING_APPLY = (UInt32)(75) -const MATOP_SET_FROM_OPTIONS = (UInt32)(76) -const MATOP_MULT_CONSTRAINED = (UInt32)(77) -const MATOP_MULT_TRANSPOSE_CONSTRAIN = (UInt32)(78) -const MATOP_FIND_ZERO_DIAGONALS = (UInt32)(79) -const MATOP_MULT_MULTIPLE = (UInt32)(80) -const MATOP_SOLVE_MULTIPLE = (UInt32)(81) -const MATOP_GET_INERTIA = (UInt32)(82) -const MATOP_LOAD = (UInt32)(83) -const MATOP_IS_SYMMETRIC = (UInt32)(84) -const MATOP_IS_HERMITIAN = (UInt32)(85) -const MATOP_IS_STRUCTURALLY_SYMMETRIC = (UInt32)(86) -const MATOP_SET_VALUES_BLOCKEDLOCAL = (UInt32)(87) -const MATOP_GET_VECS = (UInt32)(88) -const MATOP_MAT_MULT = (UInt32)(89) -const MATOP_MAT_MULT_SYMBOLIC = (UInt32)(90) -const MATOP_MAT_MULT_NUMERIC = (UInt32)(91) -const MATOP_PTAP = (UInt32)(92) -const MATOP_PTAP_SYMBOLIC = (UInt32)(93) -const MATOP_PTAP_NUMERIC = (UInt32)(94) -const MATOP_MAT_TRANSPOSE_MULT = (UInt32)(95) -const MATOP_MAT_TRANSPOSE_MULT_SYMBO = (UInt32)(96) -const MATOP_MAT_TRANSPOSE_MULT_NUMER = (UInt32)(97) -const MATOP_CONJUGATE = (UInt32)(102) -const MATOP_SET_VALUES_ROW = (UInt32)(104) -const MATOP_REAL_PART = (UInt32)(105) -const MATOP_IMAGINARY_PART = (UInt32)(106) -const MATOP_GET_ROW_UPPER_TRIANGULAR = (UInt32)(107) -const MATOP_RESTORE_ROW_UPPER_TRIANG = (UInt32)(108) -const MATOP_MAT_SOLVE = (UInt32)(109) -const MATOP_GET_REDUNDANT_MATRIX = (UInt32)(110) -const MATOP_GET_ROW_MIN = (UInt32)(111) -const MATOP_GET_COLUMN_VECTOR = (UInt32)(112) -const MATOP_MISSING_DIAGONAL = (UInt32)(113) -const MATOP_GET_SEQ_NONZERO_STRUCTUR = (UInt32)(114) -const MATOP_CREATE = (UInt32)(115) -const MATOP_GET_GHOSTS = (UInt32)(116) -const MATOP_GET_LOCAL_SUB_MATRIX = (UInt32)(117) -const MATOP_RESTORE_LOCALSUB_MATRIX = (UInt32)(118) -const MATOP_MULT_DIAGONAL_BLOCK = (UInt32)(119) -const MATOP_HERMITIAN_TRANSPOSE = (UInt32)(120) -const MATOP_MULT_HERMITIAN_TRANSPOSE = (UInt32)(121) -const MATOP_MULT_HERMITIAN_TRANS_ADD = (UInt32)(122) -const MATOP_GET_MULTI_PROC_BLOCK = (UInt32)(123) -const MATOP_FIND_NONZERO_ROWS = (UInt32)(124) -const MATOP_GET_COLUMN_NORMS = (UInt32)(125) -const MATOP_INVERT_BLOCK_DIAGONAL = (UInt32)(126) -const MATOP_GET_SUB_MATRICES_PARALLE = (UInt32)(128) -const MATOP_SET_VALUES_BATCH = (UInt32)(129) -const MATOP_TRANSPOSE_MAT_MULT = (UInt32)(130) -const MATOP_TRANSPOSE_MAT_MULT_SYMBO = (UInt32)(131) -const MATOP_TRANSPOSE_MAT_MULT_NUMER = (UInt32)(132) -const MATOP_TRANSPOSE_COLORING_CREAT = (UInt32)(133) -const MATOP_TRANS_COLORING_APPLY_SPT = (UInt32)(134) -const MATOP_TRANS_COLORING_APPLY_DEN = (UInt32)(135) -const MATOP_RART = (UInt32)(136) -const MATOP_RART_SYMBOLIC = (UInt32)(137) -const MATOP_RART_NUMERIC = (UInt32)(138) -const MATOP_SET_BLOCK_SIZES = (UInt32)(139) -const MATOP_AYPX = (UInt32)(140) -const MATOP_RESIDUAL = (UInt32)(141) -const MATOP_FDCOLORING_SETUP = (UInt32)(142) -const MATOP_MPICONCATENATESEQ = (UInt32)(144) - -#= # end enum ANONYMOUS_42 =# -#= # begin enum MatOperation =# -typealias MatOperation UInt32 - -const MATOP_SET_VALUES = (UInt32)(0) -const MATOP_GET_ROW = (UInt32)(1) -const MATOP_RESTORE_ROW = (UInt32)(2) -const MATOP_MULT = (UInt32)(3) -const MATOP_MULT_ADD = (UInt32)(4) -const MATOP_MULT_TRANSPOSE = (UInt32)(5) -const MATOP_MULT_TRANSPOSE_ADD = (UInt32)(6) -const MATOP_SOLVE = (UInt32)(7) -const MATOP_SOLVE_ADD = (UInt32)(8) -const MATOP_SOLVE_TRANSPOSE = (UInt32)(9) -const MATOP_SOLVE_TRANSPOSE_ADD = (UInt32)(10) -const MATOP_LUFACTOR = (UInt32)(11) -const MATOP_CHOLESKYFACTOR = (UInt32)(12) -const MATOP_SOR = (UInt32)(13) -const MATOP_TRANSPOSE = (UInt32)(14) -const MATOP_GETINFO = (UInt32)(15) -const MATOP_EQUAL = (UInt32)(16) -const MATOP_GET_DIAGONAL = (UInt32)(17) -const MATOP_DIAGONAL_SCALE = (UInt32)(18) -const MATOP_NORM = (UInt32)(19) -const MATOP_ASSEMBLY_BEGIN = (UInt32)(20) -const MATOP_ASSEMBLY_END = (UInt32)(21) -const MATOP_SET_OPTION = (UInt32)(22) -const MATOP_ZERO_ENTRIES = (UInt32)(23) -const MATOP_ZERO_ROWS = (UInt32)(24) -const MATOP_LUFACTOR_SYMBOLIC = (UInt32)(25) -const MATOP_LUFACTOR_NUMERIC = (UInt32)(26) -const MATOP_CHOLESKY_FACTOR_SYMBOLIC = (UInt32)(27) -const MATOP_CHOLESKY_FACTOR_NUMERIC = (UInt32)(28) -const MATOP_SETUP_PREALLOCATION = (UInt32)(29) -const MATOP_ILUFACTOR_SYMBOLIC = (UInt32)(30) -const MATOP_ICCFACTOR_SYMBOLIC = (UInt32)(31) -const MATOP_DUPLICATE = (UInt32)(34) -const MATOP_FORWARD_SOLVE = (UInt32)(35) -const MATOP_BACKWARD_SOLVE = (UInt32)(36) -const MATOP_ILUFACTOR = (UInt32)(37) -const MATOP_ICCFACTOR = (UInt32)(38) -const MATOP_AXPY = (UInt32)(39) -const MATOP_GET_SUBMATRICES = (UInt32)(40) -const MATOP_INCREASE_OVERLAP = (UInt32)(41) -const MATOP_GET_VALUES = (UInt32)(42) -const MATOP_COPY = (UInt32)(43) -const MATOP_GET_ROW_MAX = (UInt32)(44) -const MATOP_SCALE = (UInt32)(45) -const MATOP_SHIFT = (UInt32)(46) -const MATOP_DIAGONAL_SET = (UInt32)(47) -const MATOP_ZERO_ROWS_COLUMNS = (UInt32)(48) -const MATOP_SET_RANDOM = (UInt32)(49) -const MATOP_GET_ROW_IJ = (UInt32)(50) -const MATOP_RESTORE_ROW_IJ = (UInt32)(51) -const MATOP_GET_COLUMN_IJ = (UInt32)(52) -const MATOP_RESTORE_COLUMN_IJ = (UInt32)(53) -const MATOP_FDCOLORING_CREATE = (UInt32)(54) -const MATOP_COLORING_PATCH = (UInt32)(55) -const MATOP_SET_UNFACTORED = (UInt32)(56) -const MATOP_PERMUTE = (UInt32)(57) -const MATOP_SET_VALUES_BLOCKED = (UInt32)(58) -const MATOP_GET_SUBMATRIX = (UInt32)(59) -const MATOP_DESTROY = (UInt32)(60) -const MATOP_VIEW = (UInt32)(61) -const MATOP_CONVERT_FROM = (UInt32)(62) -const MATOP_MATMAT_MULT = (UInt32)(63) -const MATOP_MATMAT_MULT_SYMBOLIC = (UInt32)(64) -const MATOP_MATMAT_MULT_NUMERIC = (UInt32)(65) -const MATOP_SET_LOCAL_TO_GLOBAL_MAP = (UInt32)(66) -const MATOP_SET_VALUES_LOCAL = (UInt32)(67) -const MATOP_ZERO_ROWS_LOCAL = (UInt32)(68) -const MATOP_GET_ROW_MAX_ABS = (UInt32)(69) -const MATOP_GET_ROW_MIN_ABS = (UInt32)(70) -const MATOP_CONVERT = (UInt32)(71) -const MATOP_SET_COLORING = (UInt32)(72) -const MATOP_SET_VALUES_ADIFOR = (UInt32)(74) -const MATOP_FD_COLORING_APPLY = (UInt32)(75) -const MATOP_SET_FROM_OPTIONS = (UInt32)(76) -const MATOP_MULT_CONSTRAINED = (UInt32)(77) -const MATOP_MULT_TRANSPOSE_CONSTRAIN = (UInt32)(78) -const MATOP_FIND_ZERO_DIAGONALS = (UInt32)(79) -const MATOP_MULT_MULTIPLE = (UInt32)(80) -const MATOP_SOLVE_MULTIPLE = (UInt32)(81) -const MATOP_GET_INERTIA = (UInt32)(82) -const MATOP_LOAD = (UInt32)(83) -const MATOP_IS_SYMMETRIC = (UInt32)(84) -const MATOP_IS_HERMITIAN = (UInt32)(85) -const MATOP_IS_STRUCTURALLY_SYMMETRIC = (UInt32)(86) -const MATOP_SET_VALUES_BLOCKEDLOCAL = (UInt32)(87) -const MATOP_GET_VECS = (UInt32)(88) -const MATOP_MAT_MULT = (UInt32)(89) -const MATOP_MAT_MULT_SYMBOLIC = (UInt32)(90) -const MATOP_MAT_MULT_NUMERIC = (UInt32)(91) -const MATOP_PTAP = (UInt32)(92) -const MATOP_PTAP_SYMBOLIC = (UInt32)(93) -const MATOP_PTAP_NUMERIC = (UInt32)(94) -const MATOP_MAT_TRANSPOSE_MULT = (UInt32)(95) -const MATOP_MAT_TRANSPOSE_MULT_SYMBO = (UInt32)(96) -const MATOP_MAT_TRANSPOSE_MULT_NUMER = (UInt32)(97) -const MATOP_CONJUGATE = (UInt32)(102) -const MATOP_SET_VALUES_ROW = (UInt32)(104) -const MATOP_REAL_PART = (UInt32)(105) -const MATOP_IMAGINARY_PART = (UInt32)(106) -const MATOP_GET_ROW_UPPER_TRIANGULAR = (UInt32)(107) -const MATOP_RESTORE_ROW_UPPER_TRIANG = (UInt32)(108) -const MATOP_MAT_SOLVE = (UInt32)(109) -const MATOP_GET_REDUNDANT_MATRIX = (UInt32)(110) -const MATOP_GET_ROW_MIN = (UInt32)(111) -const MATOP_GET_COLUMN_VECTOR = (UInt32)(112) -const MATOP_MISSING_DIAGONAL = (UInt32)(113) -const MATOP_GET_SEQ_NONZERO_STRUCTUR = (UInt32)(114) -const MATOP_CREATE = (UInt32)(115) -const MATOP_GET_GHOSTS = (UInt32)(116) -const MATOP_GET_LOCAL_SUB_MATRIX = (UInt32)(117) -const MATOP_RESTORE_LOCALSUB_MATRIX = (UInt32)(118) -const MATOP_MULT_DIAGONAL_BLOCK = (UInt32)(119) -const MATOP_HERMITIAN_TRANSPOSE = (UInt32)(120) -const MATOP_MULT_HERMITIAN_TRANSPOSE = (UInt32)(121) -const MATOP_MULT_HERMITIAN_TRANS_ADD = (UInt32)(122) -const MATOP_GET_MULTI_PROC_BLOCK = (UInt32)(123) -const MATOP_FIND_NONZERO_ROWS = (UInt32)(124) -const MATOP_GET_COLUMN_NORMS = (UInt32)(125) -const MATOP_INVERT_BLOCK_DIAGONAL = (UInt32)(126) -const MATOP_GET_SUB_MATRICES_PARALLE = (UInt32)(128) -const MATOP_SET_VALUES_BATCH = (UInt32)(129) -const MATOP_TRANSPOSE_MAT_MULT = (UInt32)(130) -const MATOP_TRANSPOSE_MAT_MULT_SYMBO = (UInt32)(131) -const MATOP_TRANSPOSE_MAT_MULT_NUMER = (UInt32)(132) -const MATOP_TRANSPOSE_COLORING_CREAT = (UInt32)(133) -const MATOP_TRANS_COLORING_APPLY_SPT = (UInt32)(134) -const MATOP_TRANS_COLORING_APPLY_DEN = (UInt32)(135) -const MATOP_RART = (UInt32)(136) -const MATOP_RART_SYMBOLIC = (UInt32)(137) -const MATOP_RART_NUMERIC = (UInt32)(138) -const MATOP_SET_BLOCK_SIZES = (UInt32)(139) -const MATOP_AYPX = (UInt32)(140) -const MATOP_RESIDUAL = (UInt32)(141) -const MATOP_FDCOLORING_SETUP = (UInt32)(142) -const MATOP_MPICONCATENATESEQ = (UInt32)(144) - -#= # end enum MatOperation =# -immutable _p_MatNullSpace -end - -typealias MatNullSpace Ptr{_p_MatNullSpace} - -immutable _p_MatMFFD -end - -typealias MatMFFD Ptr{_p_MatMFFD} -typealias MatMFFDType Symbol - -immutable _p_DM -end - -typealias DM Ptr{_p_DM} - -#= # begin enum ANONYMOUS_43 =# -typealias ANONYMOUS_43 UInt32 - -const DM_BOUNDARY_NONE = (UInt32)(0) -const DM_BOUNDARY_GHOSTED = (UInt32)(1) -const DM_BOUNDARY_MIRROR = (UInt32)(2) -const DM_BOUNDARY_PERIODIC = (UInt32)(3) -const DM_BOUNDARY_TWIST = (UInt32)(4) - -#= # end enum ANONYMOUS_43 =# -#= # begin enum DMBoundaryType =# -typealias DMBoundaryType UInt32 - -const DM_BOUNDARY_NONE = (UInt32)(0) -const DM_BOUNDARY_GHOSTED = (UInt32)(1) -const DM_BOUNDARY_MIRROR = (UInt32)(2) -const DM_BOUNDARY_PERIODIC = (UInt32)(3) -const DM_BOUNDARY_TWIST = (UInt32)(4) - -#= # end enum DMBoundaryType =# -immutable _p_PetscPartitioner -end - -typealias PetscPartitioner Ptr{_p_PetscPartitioner} - -immutable _p_PetscSpace -end - -typealias PetscSpace Ptr{_p_PetscSpace} - -immutable _p_PetscDualSpace -end - -typealias PetscDualSpace Ptr{_p_PetscDualSpace} - -immutable _p_PetscFE -end - -typealias PetscFE Ptr{_p_PetscFE} - -immutable _p_PetscDS -end - -typealias PetscDS Ptr{_p_PetscDS} -typealias DMType Symbol - -immutable NLF_DAAD -end - -typealias NLF Ptr{NLF_DAAD} - -#= # begin enum ANONYMOUS_44 =# -typealias ANONYMOUS_44 UInt32 - -const PETSC_UNIT_LENGTH = (UInt32)(0) -const PETSC_UNIT_MASS = (UInt32)(1) -const PETSC_UNIT_TIME = (UInt32)(2) -const PETSC_UNIT_CURRENT = (UInt32)(3) -const PETSC_UNIT_TEMPERATURE = (UInt32)(4) -const PETSC_UNIT_AMOUNT = (UInt32)(5) -const PETSC_UNIT_LUMINOSITY = (UInt32)(6) -const NUM_PETSC_UNITS = (UInt32)(7) - -#= # end enum ANONYMOUS_44 =# -#= # begin enum PetscUnit =# -typealias PetscUnit UInt32 - -const PETSC_UNIT_LENGTH = (UInt32)(0) -const PETSC_UNIT_MASS = (UInt32)(1) -const PETSC_UNIT_TIME = (UInt32)(2) -const PETSC_UNIT_CURRENT = (UInt32)(3) -const PETSC_UNIT_TEMPERATURE = (UInt32)(4) -const PETSC_UNIT_AMOUNT = (UInt32)(5) -const PETSC_UNIT_LUMINOSITY = (UInt32)(6) -const NUM_PETSC_UNITS = (UInt32)(7) - -#= # end enum PetscUnit =# -#= skipping type declaration with undefined symbols: -immutable _DMInterpolationInfo - comm::MPI_Comm - dim::PetscInt - nInput::PetscInt - points::Ptr{PetscReal} - cells::Ptr{PetscInt} - n::PetscInt - coords::Vec - dof::PetscInt -end -=# -# skipping undefined typealias typealias DMInterpolationInfo Ptr{_DMInterpolationInfo} -#= # begin enum ANONYMOUS_45 =# -typealias ANONYMOUS_45 UInt32 - -const DMDA_STENCIL_STAR = (UInt32)(0) -const DMDA_STENCIL_BOX = (UInt32)(1) - -#= # end enum ANONYMOUS_45 =# -#= # begin enum DMDAStencilType =# -typealias DMDAStencilType UInt32 - -const DMDA_STENCIL_STAR = (UInt32)(0) -const DMDA_STENCIL_BOX = (UInt32)(1) - -#= # end enum DMDAStencilType =# -#= # begin enum ANONYMOUS_46 =# -typealias ANONYMOUS_46 UInt32 - -const DMDA_Q0 = (UInt32)(0) -const DMDA_Q1 = (UInt32)(1) - -#= # end enum ANONYMOUS_46 =# -#= # begin enum DMDAInterpolationType =# -typealias DMDAInterpolationType UInt32 - -const DMDA_Q0 = (UInt32)(0) -const DMDA_Q1 = (UInt32)(1) - -#= # end enum DMDAInterpolationType =# -#= # begin enum ANONYMOUS_47 =# -typealias ANONYMOUS_47 UInt32 - -const DMDA_ELEMENT_P1 = (UInt32)(0) -const DMDA_ELEMENT_Q1 = (UInt32)(1) - -#= # end enum ANONYMOUS_47 =# -#= # begin enum DMDAElementType =# -typealias DMDAElementType UInt32 - -const DMDA_ELEMENT_P1 = (UInt32)(0) -const DMDA_ELEMENT_Q1 = (UInt32)(1) - -#= # end enum DMDAElementType =# -#= skipping type declaration with undefined symbols: -immutable DMDALocalInfo - dim::PetscInt - dof::PetscInt - sw::PetscInt - mx::PetscInt - my::PetscInt - mz::PetscInt - xs::PetscInt - ys::PetscInt - zs::PetscInt - xm::PetscInt - ym::PetscInt - zm::PetscInt - gxs::PetscInt - gys::PetscInt - gzs::PetscInt - gxm::PetscInt - gym::PetscInt - gzm::PetscInt - bx::DMBoundaryType - by::DMBoundaryType - bz::DMBoundaryType - st::DMDAStencilType - da::DM -end -=# -typealias PFType Symbol - -immutable _p_PF -end - -typealias PF Ptr{_p_PF} - -immutable _p_AO -end - -immutable AO{T} - pobj::Ptr{Void} -end - -typealias AOType Symbol - -immutable _p_PetscQuadrature -end - -typealias PetscQuadrature Ptr{_p_PetscQuadrature} - -#= skipping type declaration with undefined symbols: -immutable Array_3_PetscReal - d1::PetscReal - d2::PetscReal - d3::PetscReal -end -=# -#= skipping undefined expression zero(::Type{Array_3_PetscReal}) = begin # /home/jared/.julia/v0.4/Clang/src/wrap_c.jl, line 266: - Array_3_PetscReal(fill(zero(Float64),3)...) - end =# -#= skipping type declaration with undefined symbols: -immutable Array_9_PetscReal - d1::PetscReal - d2::PetscReal - d3::PetscReal - d4::PetscReal - d5::PetscReal - d6::PetscReal - d7::PetscReal - d8::PetscReal - d9::PetscReal -end -=# -#= skipping undefined expression zero(::Type{Array_9_PetscReal}) = begin # /home/jared/.julia/v0.4/Clang/src/wrap_c.jl, line 266: - Array_9_PetscReal(fill(zero(Float64),9)...) - end =# -#= skipping type declaration with undefined symbols: -immutable PetscFECellGeom - v0::Array_3_PetscReal - J::Array_9_PetscReal - invJ::Array_9_PetscReal - detJ::PetscReal - n::Array_3_PetscReal - dim::PetscInt - dimEmbed::PetscInt -end -=# -typealias PetscSpaceType Symbol -typealias PetscDualSpaceType Symbol -typealias PetscFEType Symbol - -#= # begin enum ANONYMOUS_48 =# -typealias ANONYMOUS_48 UInt32 - -const DMDA_X = (UInt32)(0) -const DMDA_Y = (UInt32)(1) -const DMDA_Z = (UInt32)(2) - -#= # end enum ANONYMOUS_48 =# -#= # begin enum DMDADirection =# -typealias DMDADirection UInt32 - -const DMDA_X = (UInt32)(0) -const DMDA_Y = (UInt32)(1) -const DMDA_Z = (UInt32)(2) - -#= # end enum DMDADirection =# -#= skipping type declaration with undefined symbols: -immutable DMDACoor2d - x::PetscScalar - y::PetscScalar -end -=# -#= skipping type declaration with undefined symbols: -immutable DMDACoor3d - x::PetscScalar - y::PetscScalar - z::PetscScalar -end -=# -immutable _p_PetscLimiter -end - -typealias PetscLimiter Ptr{_p_PetscLimiter} - -immutable _p_PetscFV -end - -typealias PetscFV Ptr{_p_PetscFV} - -#= skipping type declaration with undefined symbols: -immutable Array_3_PetscScalar - d1::PetscScalar - d2::PetscScalar - d3::PetscScalar -end -=# -#= skipping undefined expression zero(::Type{Array_3_PetscScalar}) = begin # /home/jared/.julia/v0.4/Clang/src/wrap_c.jl, line 266: - Array_3_PetscScalar(fill(zero(Complex128),3)...) - end =# -#= skipping type declaration with undefined symbols: -immutable Array_2_Array_3_PetscScalar - d1::Array_3_PetscScalar - d2::Array_3_PetscScalar -end -=# -#= skipping undefined expression zero(::Type{Array_2_Array_3_PetscScalar}) = begin # /home/jared/.julia/v0.4/Clang/src/wrap_c.jl, line 266: - Array_2_Array_3_PetscScalar(fill(zero(Array_3_PetscScalar),2)...) - end =# -#= skipping type declaration with undefined symbols: -immutable PetscFVFaceGeom - normal::Array_3_PetscReal - centroid::Array_3_PetscReal - grad::Array_2_Array_3_PetscScalar -end -=# -#= skipping type declaration with undefined symbols: -immutable PetscFVCellGeom - centroid::Array_3_PetscReal - volume::PetscReal -end -=# -typealias PetscLimiterType Symbol -typealias PetscFVType Symbol -typealias PetscPartitionerType Symbol - -immutable _n_DMLabel -end - -typealias DMLabel Ptr{_n_DMLabel} - -immutable _n_Boundary -end - -typealias DMBoundary Ptr{_n_Boundary} - -immutable JacActionCtx - dm::DM - u::Vec - J::Mat - user::Ptr{Void} -end - -typealias PetscDSType Symbol -typealias PetscPointFunc Ptr{Void} -typealias PetscPointJac Ptr{Void} -typealias PetscBdPointFunc Ptr{Void} -typealias PetscBdPointJac Ptr{Void} -typealias PetscRiemannFunc Ptr{Void} - -immutable _p_Characteristic -end - -typealias Characteristic Ptr{_p_Characteristic} -typealias CharacteristicType Symbol - -immutable _p_PC -end - -immutable PC{T} - pobj::Ptr{Void} -end - -typealias PCType Symbol - -#= # begin enum ANONYMOUS_49 =# -typealias ANONYMOUS_49 Cint - -const PC_SIDE_DEFAULT = (Int32)(-1) -const PC_LEFT = (Int32)(0) -const PC_RIGHT = (Int32)(1) -const PC_SYMMETRIC = (Int32)(2) - -#= # end enum ANONYMOUS_49 =# -#= # begin enum ANONYMOUS_50 =# -typealias ANONYMOUS_50 Cint - -const PCRICHARDSON_CONVERGED_RTOL = (Int32)(2) -const PCRICHARDSON_CONVERGED_ATOL = (Int32)(3) -const PCRICHARDSON_CONVERGED_ITS = (Int32)(4) -const PCRICHARDSON_DIVERGED_DTOL = (Int32)(-4) - -#= # end enum ANONYMOUS_50 =# -#= # begin enum PCRichardsonConvergedReason =# -typealias PCRichardsonConvergedReason Cint - -const PCRICHARDSON_CONVERGED_RTOL = (Int32)(2) -const PCRICHARDSON_CONVERGED_ATOL = (Int32)(3) -const PCRICHARDSON_CONVERGED_ITS = (Int32)(4) -const PCRICHARDSON_DIVERGED_DTOL = (Int32)(-4) - -#= # end enum PCRichardsonConvergedReason =# -#= # begin enum ANONYMOUS_51 =# -typealias ANONYMOUS_51 UInt32 - -const PC_JACOBI_DIAGONAL = (UInt32)(0) -const PC_JACOBI_ROWMAX = (UInt32)(1) -const PC_JACOBI_ROWSUM = (UInt32)(2) - -#= # end enum ANONYMOUS_51 =# -#= # begin enum PCJacobiType =# -typealias PCJacobiType UInt32 - -const PC_JACOBI_DIAGONAL = (UInt32)(0) -const PC_JACOBI_ROWMAX = (UInt32)(1) -const PC_JACOBI_ROWSUM = (UInt32)(2) - -#= # end enum PCJacobiType =# -#= # begin enum ANONYMOUS_52 =# -typealias ANONYMOUS_52 UInt32 - -const PC_ASM_BASIC = (UInt32)(3) -const PC_ASM_RESTRICT = (UInt32)(1) -const PC_ASM_INTERPOLATE = (UInt32)(2) -const PC_ASM_NONE = (UInt32)(0) - -#= # end enum ANONYMOUS_52 =# -#= # begin enum PCASMType =# -typealias PCASMType UInt32 - -const PC_ASM_BASIC = (UInt32)(3) -const PC_ASM_RESTRICT = (UInt32)(1) -const PC_ASM_INTERPOLATE = (UInt32)(2) -const PC_ASM_NONE = (UInt32)(0) - -#= # end enum PCASMType =# -#= # begin enum ANONYMOUS_53 =# -typealias ANONYMOUS_53 UInt32 - -const PC_GASM_BASIC = (UInt32)(3) -const PC_GASM_RESTRICT = (UInt32)(1) -const PC_GASM_INTERPOLATE = (UInt32)(2) -const PC_GASM_NONE = (UInt32)(0) - -#= # end enum ANONYMOUS_53 =# -#= # begin enum PCGASMType =# -typealias PCGASMType UInt32 - -const PC_GASM_BASIC = (UInt32)(3) -const PC_GASM_RESTRICT = (UInt32)(1) -const PC_GASM_INTERPOLATE = (UInt32)(2) -const PC_GASM_NONE = (UInt32)(0) - -#= # end enum PCGASMType =# -#= # begin enum ANONYMOUS_54 =# -typealias ANONYMOUS_54 UInt32 - -const PC_COMPOSITE_ADDITIVE = (UInt32)(0) -const PC_COMPOSITE_MULTIPLICATIVE = (UInt32)(1) -const PC_COMPOSITE_SYMMETRIC_MULTIPLICATIVE = (UInt32)(2) -const PC_COMPOSITE_SPECIAL = (UInt32)(3) -const PC_COMPOSITE_SCHUR = (UInt32)(4) - -#= # end enum ANONYMOUS_54 =# -#= # begin enum PCCompositeType =# -typealias PCCompositeType UInt32 - -const PC_COMPOSITE_ADDITIVE = (UInt32)(0) -const PC_COMPOSITE_MULTIPLICATIVE = (UInt32)(1) -const PC_COMPOSITE_SYMMETRIC_MULTIPLICATIVE = (UInt32)(2) -const PC_COMPOSITE_SPECIAL = (UInt32)(3) -const PC_COMPOSITE_SCHUR = (UInt32)(4) - -#= # end enum PCCompositeType =# -#= # begin enum ANONYMOUS_55 =# -typealias ANONYMOUS_55 UInt32 - -const PC_FIELDSPLIT_SCHUR_PRE_SELF = (UInt32)(0) -const PC_FIELDSPLIT_SCHUR_PRE_SELFP = (UInt32)(1) -const PC_FIELDSPLIT_SCHUR_PRE_A11 = (UInt32)(2) -const PC_FIELDSPLIT_SCHUR_PRE_USER = (UInt32)(3) -const PC_FIELDSPLIT_SCHUR_PRE_FULL = (UInt32)(4) - -#= # end enum ANONYMOUS_55 =# -#= # begin enum PCFieldSplitSchurPreType =# -typealias PCFieldSplitSchurPreType UInt32 - -const PC_FIELDSPLIT_SCHUR_PRE_SELF = (UInt32)(0) -const PC_FIELDSPLIT_SCHUR_PRE_SELFP = (UInt32)(1) -const PC_FIELDSPLIT_SCHUR_PRE_A11 = (UInt32)(2) -const PC_FIELDSPLIT_SCHUR_PRE_USER = (UInt32)(3) -const PC_FIELDSPLIT_SCHUR_PRE_FULL = (UInt32)(4) - -#= # end enum PCFieldSplitSchurPreType =# -#= # begin enum ANONYMOUS_56 =# -typealias ANONYMOUS_56 UInt32 - -const PC_FIELDSPLIT_SCHUR_FACT_DIAG = (UInt32)(0) -const PC_FIELDSPLIT_SCHUR_FACT_LOWER = (UInt32)(1) -const PC_FIELDSPLIT_SCHUR_FACT_UPPER = (UInt32)(2) -const PC_FIELDSPLIT_SCHUR_FACT_FULL = (UInt32)(3) - -#= # end enum ANONYMOUS_56 =# -#= # begin enum PCFieldSplitSchurFactType =# -typealias PCFieldSplitSchurFactType UInt32 - -const PC_FIELDSPLIT_SCHUR_FACT_DIAG = (UInt32)(0) -const PC_FIELDSPLIT_SCHUR_FACT_LOWER = (UInt32)(1) -const PC_FIELDSPLIT_SCHUR_FACT_UPPER = (UInt32)(2) -const PC_FIELDSPLIT_SCHUR_FACT_FULL = (UInt32)(3) - -#= # end enum PCFieldSplitSchurFactType =# -#= # begin enum ANONYMOUS_57 =# -typealias ANONYMOUS_57 UInt32 - -const PC_PARMS_GLOBAL_RAS = (UInt32)(0) -const PC_PARMS_GLOBAL_SCHUR = (UInt32)(1) -const PC_PARMS_GLOBAL_BJ = (UInt32)(2) - -#= # end enum ANONYMOUS_57 =# -#= # begin enum PCPARMSGlobalType =# -typealias PCPARMSGlobalType UInt32 - -const PC_PARMS_GLOBAL_RAS = (UInt32)(0) -const PC_PARMS_GLOBAL_SCHUR = (UInt32)(1) -const PC_PARMS_GLOBAL_BJ = (UInt32)(2) - -#= # end enum PCPARMSGlobalType =# -#= # begin enum ANONYMOUS_58 =# -typealias ANONYMOUS_58 UInt32 - -const PC_PARMS_LOCAL_ILU0 = (UInt32)(0) -const PC_PARMS_LOCAL_ILUK = (UInt32)(1) -const PC_PARMS_LOCAL_ILUT = (UInt32)(2) -const PC_PARMS_LOCAL_ARMS = (UInt32)(3) - -#= # end enum ANONYMOUS_58 =# -#= # begin enum PCPARMSLocalType =# -typealias PCPARMSLocalType UInt32 - -const PC_PARMS_LOCAL_ILU0 = (UInt32)(0) -const PC_PARMS_LOCAL_ILUK = (UInt32)(1) -const PC_PARMS_LOCAL_ILUT = (UInt32)(2) -const PC_PARMS_LOCAL_ARMS = (UInt32)(3) - -#= # end enum PCPARMSLocalType =# -typealias PCGAMGType Symbol -typealias PCGAMGClassicalType Symbol - -#= # begin enum ANONYMOUS_59 =# -typealias ANONYMOUS_59 UInt32 - -const PC_MG_MULTIPLICATIVE = (UInt32)(0) -const PC_MG_ADDITIVE = (UInt32)(1) -const PC_MG_FULL = (UInt32)(2) -const PC_MG_KASKADE = (UInt32)(3) - -#= # end enum ANONYMOUS_59 =# -#= # begin enum ANONYMOUS_60 =# -typealias ANONYMOUS_60 UInt32 - -const PC_MG_CYCLE_V = (UInt32)(1) -const PC_MG_CYCLE_W = (UInt32)(2) - -#= # end enum ANONYMOUS_60 =# -#= # begin enum PCMGCycleType =# -typealias PCMGCycleType UInt32 - -const PC_MG_CYCLE_V = (UInt32)(1) -const PC_MG_CYCLE_W = (UInt32)(2) - -#= # end enum PCMGCycleType =# -#= # begin enum ANONYMOUS_61 =# -typealias ANONYMOUS_61 UInt32 - -const PC_EXOTIC_FACE = (UInt32)(0) -const PC_EXOTIC_WIREBASKET = (UInt32)(1) - -#= # end enum ANONYMOUS_61 =# -#= # begin enum PCExoticType =# -typealias PCExoticType UInt32 - -const PC_EXOTIC_FACE = (UInt32)(0) -const PC_EXOTIC_WIREBASKET = (UInt32)(1) - -#= # end enum PCExoticType =# -immutable _p_KSP -end - -immutable KSP{T} - pobj::Ptr{Void} -end - -typealias KSPType Symbol - -#= # begin enum ANONYMOUS_62 =# -typealias ANONYMOUS_62 UInt32 - -const KSP_FCG_TRUNC_TYPE_STANDARD = (UInt32)(0) -const KSP_FCG_TRUNC_TYPE_NOTAY = (UInt32)(1) - -#= # end enum ANONYMOUS_62 =# -#= # begin enum KSPFCGTruncationType =# -typealias KSPFCGTruncationType UInt32 - -const KSP_FCG_TRUNC_TYPE_STANDARD = (UInt32)(0) -const KSP_FCG_TRUNC_TYPE_NOTAY = (UInt32)(1) - -#= # end enum KSPFCGTruncationType =# -#= # begin enum ANONYMOUS_63 =# -typealias ANONYMOUS_63 UInt32 - -const KSP_GMRES_CGS_REFINE_NEVER = (UInt32)(0) -const KSP_GMRES_CGS_REFINE_IFNEEDED = (UInt32)(1) -const KSP_GMRES_CGS_REFINE_ALWAYS = (UInt32)(2) - -#= # end enum ANONYMOUS_63 =# -#= # begin enum KSPGMRESCGSRefinementType =# -typealias KSPGMRESCGSRefinementType UInt32 - -const KSP_GMRES_CGS_REFINE_NEVER = (UInt32)(0) -const KSP_GMRES_CGS_REFINE_IFNEEDED = (UInt32)(1) -const KSP_GMRES_CGS_REFINE_ALWAYS = (UInt32)(2) - -#= # end enum KSPGMRESCGSRefinementType =# -#= # begin enum ANONYMOUS_64 =# -typealias ANONYMOUS_64 Cint - -const KSP_NORM_DEFAULT = (Int32)(-1) -const KSP_NORM_NONE = (Int32)(0) -const KSP_NORM_PRECONDITIONED = (Int32)(1) -const KSP_NORM_UNPRECONDITIONED = (Int32)(2) -const KSP_NORM_NATURAL = (Int32)(3) - -#= # end enum ANONYMOUS_64 =# -#= # begin enum ANONYMOUS_65 =# -typealias ANONYMOUS_65 Cint - -const KSP_CONVERGED_RTOL_NORMAL = (Int32)(1) -const KSP_CONVERGED_ATOL_NORMAL = (Int32)(9) -const KSP_CONVERGED_RTOL = (Int32)(2) -const KSP_CONVERGED_ATOL = (Int32)(3) -const KSP_CONVERGED_ITS = (Int32)(4) -const KSP_CONVERGED_CG_NEG_CURVE = (Int32)(5) -const KSP_CONVERGED_CG_CONSTRAINED = (Int32)(6) -const KSP_CONVERGED_STEP_LENGTH = (Int32)(7) -const KSP_CONVERGED_HAPPY_BREAKDOWN = (Int32)(8) -const KSP_DIVERGED_NULL = (Int32)(-2) -const KSP_DIVERGED_ITS = (Int32)(-3) -const KSP_DIVERGED_DTOL = (Int32)(-4) -const KSP_DIVERGED_BREAKDOWN = (Int32)(-5) -const KSP_DIVERGED_BREAKDOWN_BICG = (Int32)(-6) -const KSP_DIVERGED_NONSYMMETRIC = (Int32)(-7) -const KSP_DIVERGED_INDEFINITE_PC = (Int32)(-8) -const KSP_DIVERGED_NANORINF = (Int32)(-9) -const KSP_DIVERGED_INDEFINITE_MAT = (Int32)(-10) -const KSP_DIVERGED_PCSETUP_FAILED = (Int32)(-11) -const KSP_CONVERGED_ITERATING = (Int32)(0) - -#= # end enum ANONYMOUS_65 =# -#= # begin enum KSPConvergedReason =# -typealias KSPConvergedReason Cint - -const KSP_CONVERGED_RTOL_NORMAL = (Int32)(1) -const KSP_CONVERGED_ATOL_NORMAL = (Int32)(9) -const KSP_CONVERGED_RTOL = (Int32)(2) -const KSP_CONVERGED_ATOL = (Int32)(3) -const KSP_CONVERGED_ITS = (Int32)(4) -const KSP_CONVERGED_CG_NEG_CURVE = (Int32)(5) -const KSP_CONVERGED_CG_CONSTRAINED = (Int32)(6) -const KSP_CONVERGED_STEP_LENGTH = (Int32)(7) -const KSP_CONVERGED_HAPPY_BREAKDOWN = (Int32)(8) -const KSP_DIVERGED_NULL = (Int32)(-2) -const KSP_DIVERGED_ITS = (Int32)(-3) -const KSP_DIVERGED_DTOL = (Int32)(-4) -const KSP_DIVERGED_BREAKDOWN = (Int32)(-5) -const KSP_DIVERGED_BREAKDOWN_BICG = (Int32)(-6) -const KSP_DIVERGED_NONSYMMETRIC = (Int32)(-7) -const KSP_DIVERGED_INDEFINITE_PC = (Int32)(-8) -const KSP_DIVERGED_NANORINF = (Int32)(-9) -const KSP_DIVERGED_INDEFINITE_MAT = (Int32)(-10) -const KSP_DIVERGED_PCSETUP_FAILED = (Int32)(-11) -const KSP_CONVERGED_ITERATING = (Int32)(0) - -#= # end enum KSPConvergedReason =# -#= # begin enum ANONYMOUS_66 =# -typealias ANONYMOUS_66 UInt32 - -const KSP_CG_SYMMETRIC = (UInt32)(0) -const KSP_CG_HERMITIAN = (UInt32)(1) - -#= # end enum ANONYMOUS_66 =# -#= # begin enum KSPCGType =# -typealias KSPCGType UInt32 - -const KSP_CG_SYMMETRIC = (UInt32)(0) -const KSP_CG_HERMITIAN = (UInt32)(1) - -#= # end enum KSPCGType =# -#= skipping type declaration with undefined symbols: -immutable _p_KSPFischerGuess - method::PetscInt - curl::PetscInt - maxl::PetscInt - refcnt::PetscInt - monitor::PetscBool - mat::Mat - ksp::KSP -end -=# -# skipping undefined typealias typealias KSPFischerGuess Ptr{_p_KSPFischerGuess} -#= # begin enum ANONYMOUS_67 =# -typealias ANONYMOUS_67 UInt32 - -const MAT_SCHUR_COMPLEMENT_AINV_DIAG = (UInt32)(0) -const MAT_SCHUR_COMPLEMENT_AINV_LUMP = (UInt32)(1) - -#= # end enum ANONYMOUS_67 =# -#= # begin enum MatSchurComplementAinvType =# -typealias MatSchurComplementAinvType UInt32 - -const MAT_SCHUR_COMPLEMENT_AINV_DIAG = (UInt32)(0) -const MAT_SCHUR_COMPLEMENT_AINV_LUMP = (UInt32)(1) - -#= # end enum MatSchurComplementAinvType =# -immutable _p_SNES -end - -typealias SNES Ptr{_p_SNES} -typealias SNESType Symbol - -#= # begin enum ANONYMOUS_68 =# -typealias ANONYMOUS_68 Cint - -const SNES_CONVERGED_FNORM_ABS = (Int32)(2) -const SNES_CONVERGED_FNORM_RELATIVE = (Int32)(3) -const SNES_CONVERGED_SNORM_RELATIVE = (Int32)(4) -const SNES_CONVERGED_ITS = (Int32)(5) -const SNES_CONVERGED_TR_DELTA = (Int32)(7) -const SNES_DIVERGED_FUNCTION_DOMAIN = (Int32)(-1) -const SNES_DIVERGED_FUNCTION_COUNT = (Int32)(-2) -const SNES_DIVERGED_LINEAR_SOLVE = (Int32)(-3) -const SNES_DIVERGED_FNORM_NAN = (Int32)(-4) -const SNES_DIVERGED_MAX_IT = (Int32)(-5) -const SNES_DIVERGED_LINE_SEARCH = (Int32)(-6) -const SNES_DIVERGED_INNER = (Int32)(-7) -const SNES_DIVERGED_LOCAL_MIN = (Int32)(-8) -const SNES_CONVERGED_ITERATING = (Int32)(0) - -#= # end enum ANONYMOUS_68 =# -#= # begin enum SNESConvergedReason =# -typealias SNESConvergedReason Cint - -const SNES_CONVERGED_FNORM_ABS = (Int32)(2) -const SNES_CONVERGED_FNORM_RELATIVE = (Int32)(3) -const SNES_CONVERGED_SNORM_RELATIVE = (Int32)(4) -const SNES_CONVERGED_ITS = (Int32)(5) -const SNES_CONVERGED_TR_DELTA = (Int32)(7) -const SNES_DIVERGED_FUNCTION_DOMAIN = (Int32)(-1) -const SNES_DIVERGED_FUNCTION_COUNT = (Int32)(-2) -const SNES_DIVERGED_LINEAR_SOLVE = (Int32)(-3) -const SNES_DIVERGED_FNORM_NAN = (Int32)(-4) -const SNES_DIVERGED_MAX_IT = (Int32)(-5) -const SNES_DIVERGED_LINE_SEARCH = (Int32)(-6) -const SNES_DIVERGED_INNER = (Int32)(-7) -const SNES_DIVERGED_LOCAL_MIN = (Int32)(-8) -const SNES_CONVERGED_ITERATING = (Int32)(0) - -#= # end enum SNESConvergedReason =# -#= # begin enum ANONYMOUS_69 =# -typealias ANONYMOUS_69 Cint - -const SNES_NORM_DEFAULT = (Int32)(-1) -const SNES_NORM_NONE = (Int32)(0) -const SNES_NORM_ALWAYS = (Int32)(1) -const SNES_NORM_INITIAL_ONLY = (Int32)(2) -const SNES_NORM_FINAL_ONLY = (Int32)(3) -const SNES_NORM_INITIAL_FINAL_ONLY = (Int32)(4) - -#= # end enum ANONYMOUS_69 =# -#= # begin enum SNESNormSchedule =# -typealias SNESNormSchedule Cint - -const SNES_NORM_DEFAULT = (Int32)(-1) -const SNES_NORM_NONE = (Int32)(0) -const SNES_NORM_ALWAYS = (Int32)(1) -const SNES_NORM_INITIAL_ONLY = (Int32)(2) -const SNES_NORM_FINAL_ONLY = (Int32)(3) -const SNES_NORM_INITIAL_FINAL_ONLY = (Int32)(4) - -#= # end enum SNESNormSchedule =# -#= # begin enum ANONYMOUS_70 =# -typealias ANONYMOUS_70 Cint - -const SNES_FUNCTION_DEFAULT = (Int32)(-1) -const SNES_FUNCTION_UNPRECONDITIONED = (Int32)(0) -const SNES_FUNCTION_PRECONDITIONED = (Int32)(1) - -#= # end enum ANONYMOUS_70 =# -#= # begin enum SNESFunctionType =# -typealias SNESFunctionType Cint - -const SNES_FUNCTION_DEFAULT = (Int32)(-1) -const SNES_FUNCTION_UNPRECONDITIONED = (Int32)(0) -const SNES_FUNCTION_PRECONDITIONED = (Int32)(1) - -#= # end enum SNESFunctionType =# -immutable _p_LineSearch -end - -typealias SNESLineSearch Ptr{_p_LineSearch} -typealias SNESLineSearchType Symbol -typealias SNESLineSearchVIProjectFunc Ptr{Void} -typealias SNESLineSearchVINormFunc Ptr{Void} -typealias SNESLineSearchApplyFunc Ptr{Void} -typealias SNESLineSearchUserFunc Ptr{Void} - -#= # begin enum ANONYMOUS_71 =# -typealias ANONYMOUS_71 UInt32 - -const SNES_LINESEARCH_SUCCEEDED = (UInt32)(0) -const SNES_LINESEARCH_FAILED_NANORINF = (UInt32)(1) -const SNES_LINESEARCH_FAILED_DOMAIN = (UInt32)(2) -const SNES_LINESEARCH_FAILED_REDUCT = (UInt32)(3) -const SNES_LINESEARCH_FAILED_USER = (UInt32)(4) -const SNES_LINESEARCH_FAILED_FUNCTION = (UInt32)(5) - -#= # end enum ANONYMOUS_71 =# -#= # begin enum SNESLineSearchReason =# -typealias SNESLineSearchReason UInt32 - -const SNES_LINESEARCH_SUCCEEDED = (UInt32)(0) -const SNES_LINESEARCH_FAILED_NANORINF = (UInt32)(1) -const SNES_LINESEARCH_FAILED_DOMAIN = (UInt32)(2) -const SNES_LINESEARCH_FAILED_REDUCT = (UInt32)(3) -const SNES_LINESEARCH_FAILED_USER = (UInt32)(4) -const SNES_LINESEARCH_FAILED_FUNCTION = (UInt32)(5) - -#= # end enum SNESLineSearchReason =# -typealias DMDASNESFunction Ptr{Void} -typealias DMDASNESJacobian Ptr{Void} -typealias DMDASNESObjective Ptr{Void} -typealias SNESMSType Symbol - -#= # begin enum ANONYMOUS_72 =# -typealias ANONYMOUS_72 UInt32 - -const SNES_NGMRES_RESTART_NONE = (UInt32)(0) -const SNES_NGMRES_RESTART_PERIODIC = (UInt32)(1) -const SNES_NGMRES_RESTART_DIFFERENCE = (UInt32)(2) - -#= # end enum ANONYMOUS_72 =# -#= # begin enum SNESNGMRESRestartType =# -typealias SNESNGMRESRestartType UInt32 - -const SNES_NGMRES_RESTART_NONE = (UInt32)(0) -const SNES_NGMRES_RESTART_PERIODIC = (UInt32)(1) -const SNES_NGMRES_RESTART_DIFFERENCE = (UInt32)(2) - -#= # end enum SNESNGMRESRestartType =# -#= # begin enum ANONYMOUS_73 =# -typealias ANONYMOUS_73 UInt32 - -const SNES_NGMRES_SELECT_NONE = (UInt32)(0) -const SNES_NGMRES_SELECT_DIFFERENCE = (UInt32)(1) -const SNES_NGMRES_SELECT_LINESEARCH = (UInt32)(2) - -#= # end enum ANONYMOUS_73 =# -#= # begin enum SNESNGMRESSelectType =# -typealias SNESNGMRESSelectType UInt32 - -const SNES_NGMRES_SELECT_NONE = (UInt32)(0) -const SNES_NGMRES_SELECT_DIFFERENCE = (UInt32)(1) -const SNES_NGMRES_SELECT_LINESEARCH = (UInt32)(2) - -#= # end enum SNESNGMRESSelectType =# -#= # begin enum ANONYMOUS_74 =# -typealias ANONYMOUS_74 UInt32 - -const SNES_NCG_FR = (UInt32)(0) -const SNES_NCG_PRP = (UInt32)(1) -const SNES_NCG_HS = (UInt32)(2) -const SNES_NCG_DY = (UInt32)(3) -const SNES_NCG_CD = (UInt32)(4) - -#= # end enum ANONYMOUS_74 =# -#= # begin enum SNESNCGType =# -typealias SNESNCGType UInt32 - -const SNES_NCG_FR = (UInt32)(0) -const SNES_NCG_PRP = (UInt32)(1) -const SNES_NCG_HS = (UInt32)(2) -const SNES_NCG_DY = (UInt32)(3) -const SNES_NCG_CD = (UInt32)(4) - -#= # end enum SNESNCGType =# -#= # begin enum ANONYMOUS_75 =# -typealias ANONYMOUS_75 UInt32 - -const SNES_QN_SCALE_DEFAULT = (UInt32)(0) -const SNES_QN_SCALE_NONE = (UInt32)(1) -const SNES_QN_SCALE_SHANNO = (UInt32)(2) -const SNES_QN_SCALE_LINESEARCH = (UInt32)(3) -const SNES_QN_SCALE_JACOBIAN = (UInt32)(4) - -#= # end enum ANONYMOUS_75 =# -#= # begin enum SNESQNScaleType =# -typealias SNESQNScaleType UInt32 - -const SNES_QN_SCALE_DEFAULT = (UInt32)(0) -const SNES_QN_SCALE_NONE = (UInt32)(1) -const SNES_QN_SCALE_SHANNO = (UInt32)(2) -const SNES_QN_SCALE_LINESEARCH = (UInt32)(3) -const SNES_QN_SCALE_JACOBIAN = (UInt32)(4) - -#= # end enum SNESQNScaleType =# -#= # begin enum ANONYMOUS_76 =# -typealias ANONYMOUS_76 UInt32 - -const SNES_QN_RESTART_DEFAULT = (UInt32)(0) -const SNES_QN_RESTART_NONE = (UInt32)(1) -const SNES_QN_RESTART_POWELL = (UInt32)(2) -const SNES_QN_RESTART_PERIODIC = (UInt32)(3) - -#= # end enum ANONYMOUS_76 =# -#= # begin enum SNESQNRestartType =# -typealias SNESQNRestartType UInt32 - -const SNES_QN_RESTART_DEFAULT = (UInt32)(0) -const SNES_QN_RESTART_NONE = (UInt32)(1) -const SNES_QN_RESTART_POWELL = (UInt32)(2) -const SNES_QN_RESTART_PERIODIC = (UInt32)(3) - -#= # end enum SNESQNRestartType =# -#= # begin enum ANONYMOUS_77 =# -typealias ANONYMOUS_77 UInt32 - -const SNES_QN_LBFGS = (UInt32)(0) -const SNES_QN_BROYDEN = (UInt32)(1) -const SNES_QN_BADBROYDEN = (UInt32)(2) - -#= # end enum ANONYMOUS_77 =# -#= # begin enum SNESQNType =# -typealias SNESQNType UInt32 - -const SNES_QN_LBFGS = (UInt32)(0) -const SNES_QN_BROYDEN = (UInt32)(1) -const SNES_QN_BADBROYDEN = (UInt32)(2) - -#= # end enum SNESQNType =# -#= # begin enum ANONYMOUS_78 =# -typealias ANONYMOUS_78 UInt32 - -const SNES_COMPOSITE_ADDITIVE = (UInt32)(0) -const SNES_COMPOSITE_MULTIPLICATIVE = (UInt32)(1) -const SNES_COMPOSITE_ADDITIVEOPTIMAL = (UInt32)(2) - -#= # end enum ANONYMOUS_78 =# -#= # begin enum SNESCompositeType =# -typealias SNESCompositeType UInt32 - -const SNES_COMPOSITE_ADDITIVE = (UInt32)(0) -const SNES_COMPOSITE_MULTIPLICATIVE = (UInt32)(1) -const SNES_COMPOSITE_ADDITIVEOPTIMAL = (UInt32)(2) - -#= # end enum SNESCompositeType =# -#= # begin enum ANONYMOUS_79 =# -typealias ANONYMOUS_79 UInt32 - -const SNES_FAS_MULTIPLICATIVE = (UInt32)(0) -const SNES_FAS_ADDITIVE = (UInt32)(1) -const SNES_FAS_FULL = (UInt32)(2) -const SNES_FAS_KASKADE = (UInt32)(3) - -#= # end enum ANONYMOUS_79 =# -#= # begin enum SNESFASType =# -typealias SNESFASType UInt32 - -const SNES_FAS_MULTIPLICATIVE = (UInt32)(0) -const SNES_FAS_ADDITIVE = (UInt32)(1) -const SNES_FAS_FULL = (UInt32)(2) -const SNES_FAS_KASKADE = (UInt32)(3) - -#= # end enum SNESFASType =# -immutable _p_TS -end - -immutable TS{T} - pobj::Ptr{Void} -end - -typealias TSType Symbol - -#= # begin enum ANONYMOUS_80 =# -typealias ANONYMOUS_80 UInt32 - -const TS_LINEAR = (UInt32)(0) -const TS_NONLINEAR = (UInt32)(1) - -#= # end enum ANONYMOUS_80 =# -#= # begin enum TSProblemType =# -typealias TSProblemType UInt32 - -const TS_LINEAR = (UInt32)(0) -const TS_NONLINEAR = (UInt32)(1) - -#= # end enum TSProblemType =# -#= # begin enum ANONYMOUS_81 =# -typealias ANONYMOUS_81 Cint - -const TS_EQ_UNSPECIFIED = (Int32)(-1) -const TS_EQ_EXPLICIT = (Int32)(0) -const TS_EQ_ODE_EXPLICIT = (Int32)(1) -const TS_EQ_DAE_SEMI_EXPLICIT_INDEX1 = (Int32)(100) -const TS_EQ_DAE_SEMI_EXPLICIT_INDEX2 = (Int32)(200) -const TS_EQ_DAE_SEMI_EXPLICIT_INDEX3 = (Int32)(300) -const TS_EQ_DAE_SEMI_EXPLICIT_INDEXHI = (Int32)(500) -const TS_EQ_IMPLICIT = (Int32)(1000) -const TS_EQ_ODE_IMPLICIT = (Int32)(1001) -const TS_EQ_DAE_IMPLICIT_INDEX1 = (Int32)(1100) -const TS_EQ_DAE_IMPLICIT_INDEX2 = (Int32)(1200) -const TS_EQ_DAE_IMPLICIT_INDEX3 = (Int32)(1300) -const TS_EQ_DAE_IMPLICIT_INDEXHI = (Int32)(1500) - -#= # end enum ANONYMOUS_81 =# -#= # begin enum TSEquationType =# -typealias TSEquationType Cint - -const TS_EQ_UNSPECIFIED = (Int32)(-1) -const TS_EQ_EXPLICIT = (Int32)(0) -const TS_EQ_ODE_EXPLICIT = (Int32)(1) -const TS_EQ_DAE_SEMI_EXPLICIT_INDEX1 = (Int32)(100) -const TS_EQ_DAE_SEMI_EXPLICIT_INDEX2 = (Int32)(200) -const TS_EQ_DAE_SEMI_EXPLICIT_INDEX3 = (Int32)(300) -const TS_EQ_DAE_SEMI_EXPLICIT_INDEXHI = (Int32)(500) -const TS_EQ_IMPLICIT = (Int32)(1000) -const TS_EQ_ODE_IMPLICIT = (Int32)(1001) -const TS_EQ_DAE_IMPLICIT_INDEX1 = (Int32)(1100) -const TS_EQ_DAE_IMPLICIT_INDEX2 = (Int32)(1200) -const TS_EQ_DAE_IMPLICIT_INDEX3 = (Int32)(1300) -const TS_EQ_DAE_IMPLICIT_INDEXHI = (Int32)(1500) - -#= # end enum TSEquationType =# -#= # begin enum ANONYMOUS_82 =# -typealias ANONYMOUS_82 Cint - -const TS_CONVERGED_ITERATING = (Int32)(0) -const TS_CONVERGED_TIME = (Int32)(1) -const TS_CONVERGED_ITS = (Int32)(2) -const TS_CONVERGED_USER = (Int32)(3) -const TS_CONVERGED_EVENT = (Int32)(4) -const TS_DIVERGED_NONLINEAR_SOLVE = (Int32)(-1) -const TS_DIVERGED_STEP_REJECTED = (Int32)(-2) - -#= # end enum ANONYMOUS_82 =# -#= # begin enum TSConvergedReason =# -typealias TSConvergedReason Cint - -const TS_CONVERGED_ITERATING = (Int32)(0) -const TS_CONVERGED_TIME = (Int32)(1) -const TS_CONVERGED_ITS = (Int32)(2) -const TS_CONVERGED_USER = (Int32)(3) -const TS_CONVERGED_EVENT = (Int32)(4) -const TS_DIVERGED_NONLINEAR_SOLVE = (Int32)(-1) -const TS_DIVERGED_STEP_REJECTED = (Int32)(-2) - -#= # end enum TSConvergedReason =# -#= # begin enum ANONYMOUS_83 =# -typealias ANONYMOUS_83 UInt32 - -const TS_EXACTFINALTIME_STEPOVER = (UInt32)(0) -const TS_EXACTFINALTIME_INTERPOLATE = (UInt32)(1) -const TS_EXACTFINALTIME_MATCHSTEP = (UInt32)(2) - -#= # end enum ANONYMOUS_83 =# -#= # begin enum TSExactFinalTimeOption =# -typealias TSExactFinalTimeOption UInt32 - -const TS_EXACTFINALTIME_STEPOVER = (UInt32)(0) -const TS_EXACTFINALTIME_INTERPOLATE = (UInt32)(1) -const TS_EXACTFINALTIME_MATCHSTEP = (UInt32)(2) - -#= # end enum TSExactFinalTimeOption =# -immutable _p_TSTrajectory -end - -typealias TSTrajectory Ptr{_p_TSTrajectory} -typealias TSTrajectoryType Symbol - -immutable _n_TSMonitorDrawCtx -end - -typealias TSMonitorDrawCtx Ptr{_n_TSMonitorDrawCtx} -typealias TSRHSFunction Ptr{Void} -typealias TSRHSJacobian Ptr{Void} -typealias TSSolutionFunction Ptr{Void} -typealias TSIFunction Ptr{Void} -typealias TSIJacobian Ptr{Void} -typealias DMDATSRHSFunctionLocal Ptr{Void} -typealias DMDATSRHSJacobianLocal Ptr{Void} -typealias DMDATSIFunctionLocal Ptr{Void} -typealias DMDATSIJacobianLocal Ptr{Void} - -immutable _n_TSMonitorLGCtx -end - -typealias TSMonitorLGCtx Ptr{_n_TSMonitorLGCtx} - -immutable TSMonitorDMDARayCtx - ray::Vec - scatter::VecScatter - viewer::PetscViewer - lgctx::TSMonitorLGCtx -end - -immutable _n_TSMonitorEnvelopeCtx -end - -typealias TSMonitorEnvelopeCtx Ptr{_n_TSMonitorEnvelopeCtx} - -immutable _n_TSMonitorSPEigCtx -end - -typealias TSMonitorSPEigCtx Ptr{_n_TSMonitorSPEigCtx} -typealias TSSSPType Symbol - -immutable _p_TSAdapt -end - -typealias TSAdapt Ptr{_p_TSAdapt} -typealias TSAdaptType Symbol - -immutable _p_TSGLAdapt -end - -typealias TSGLAdapt Ptr{_p_TSGLAdapt} -typealias TSGLAdaptType Symbol -typealias TSGLAcceptType Symbol -typealias TSGLAcceptFunction Ptr{Void} -typealias TSGLType Symbol -typealias TSRKType Symbol -typealias TSARKIMEXType Symbol -typealias TSRosWType Symbol - -#= # begin enum ANONYMOUS_84 =# -typealias ANONYMOUS_84 UInt32 - -const TAO_SUBSET_SUBVEC = (UInt32)(0) -const TAO_SUBSET_MASK = (UInt32)(1) -const TAO_SUBSET_MATRIXFREE = (UInt32)(2) - -#= # end enum ANONYMOUS_84 =# -#= # begin enum TaoSubsetType =# -typealias TaoSubsetType UInt32 - -const TAO_SUBSET_SUBVEC = (UInt32)(0) -const TAO_SUBSET_MASK = (UInt32)(1) -const TAO_SUBSET_MATRIXFREE = (UInt32)(2) - -#= # end enum TaoSubsetType =# -immutable _p_Tao -end - -typealias Tao Ptr{_p_Tao} - -#= # begin enum ANONYMOUS_85 =# -typealias ANONYMOUS_85 Cint - -const TAO_CONVERGED_FATOL = (Int32)(1) -const TAO_CONVERGED_FRTOL = (Int32)(2) -const TAO_CONVERGED_GATOL = (Int32)(3) -const TAO_CONVERGED_GRTOL = (Int32)(4) -const TAO_CONVERGED_GTTOL = (Int32)(5) -const TAO_CONVERGED_STEPTOL = (Int32)(6) -const TAO_CONVERGED_MINF = (Int32)(7) -const TAO_CONVERGED_USER = (Int32)(8) -const TAO_DIVERGED_MAXITS = (Int32)(-2) -const TAO_DIVERGED_NAN = (Int32)(-4) -const TAO_DIVERGED_MAXFCN = (Int32)(-5) -const TAO_DIVERGED_LS_FAILURE = (Int32)(-6) -const TAO_DIVERGED_TR_REDUCTION = (Int32)(-7) -const TAO_DIVERGED_USER = (Int32)(-8) -const TAO_CONTINUE_ITERATING = (Int32)(0) - -#= # end enum ANONYMOUS_85 =# -#= # begin enum TaoConvergedReason =# -typealias TaoConvergedReason Cint - -const TAO_CONVERGED_FATOL = (Int32)(1) -const TAO_CONVERGED_FRTOL = (Int32)(2) -const TAO_CONVERGED_GATOL = (Int32)(3) -const TAO_CONVERGED_GRTOL = (Int32)(4) -const TAO_CONVERGED_GTTOL = (Int32)(5) -const TAO_CONVERGED_STEPTOL = (Int32)(6) -const TAO_CONVERGED_MINF = (Int32)(7) -const TAO_CONVERGED_USER = (Int32)(8) -const TAO_DIVERGED_MAXITS = (Int32)(-2) -const TAO_DIVERGED_NAN = (Int32)(-4) -const TAO_DIVERGED_MAXFCN = (Int32)(-5) -const TAO_DIVERGED_LS_FAILURE = (Int32)(-6) -const TAO_DIVERGED_TR_REDUCTION = (Int32)(-7) -const TAO_DIVERGED_USER = (Int32)(-8) -const TAO_CONTINUE_ITERATING = (Int32)(0) - -#= # end enum TaoConvergedReason =# -immutable _p_TaoLineSearch -end - -typealias TaoLineSearch Ptr{_p_TaoLineSearch} - -#= # begin enum ANONYMOUS_86 =# -typealias ANONYMOUS_86 Cint - -const TAOLINESEARCH_FAILED_INFORNAN = (Int32)(-1) -const TAOLINESEARCH_FAILED_BADPARAMETER = (Int32)(-2) -const TAOLINESEARCH_FAILED_ASCENT = (Int32)(-3) -const TAOLINESEARCH_CONTINUE_ITERATING = (Int32)(0) -const TAOLINESEARCH_SUCCESS = (Int32)(1) -const TAOLINESEARCH_SUCCESS_USER = (Int32)(2) -const TAOLINESEARCH_HALTED_OTHER = (Int32)(3) -const TAOLINESEARCH_HALTED_MAXFCN = (Int32)(4) -const TAOLINESEARCH_HALTED_UPPERBOUND = (Int32)(5) -const TAOLINESEARCH_HALTED_LOWERBOUND = (Int32)(6) -const TAOLINESEARCH_HALTED_RTOL = (Int32)(7) -const TAOLINESEARCH_HALTED_USER = (Int32)(8) - -#= # end enum ANONYMOUS_86 =# -#= # begin enum TaoLineSearchConvergedReason =# -typealias TaoLineSearchConvergedReason Cint - -const TAOLINESEARCH_FAILED_INFORNAN = (Int32)(-1) -const TAOLINESEARCH_FAILED_BADPARAMETER = (Int32)(-2) -const TAOLINESEARCH_FAILED_ASCENT = (Int32)(-3) -const TAOLINESEARCH_CONTINUE_ITERATING = (Int32)(0) -const TAOLINESEARCH_SUCCESS = (Int32)(1) -const TAOLINESEARCH_SUCCESS_USER = (Int32)(2) -const TAOLINESEARCH_HALTED_OTHER = (Int32)(3) -const TAOLINESEARCH_HALTED_MAXFCN = (Int32)(4) -const TAOLINESEARCH_HALTED_UPPERBOUND = (Int32)(5) -const TAOLINESEARCH_HALTED_LOWERBOUND = (Int32)(6) -const TAOLINESEARCH_HALTED_RTOL = (Int32)(7) -const TAOLINESEARCH_HALTED_USER = (Int32)(8) - -#= # end enum TaoLineSearchConvergedReason =# diff --git a/src/generated/libPETSc_commonRealDouble.jl b/src/generated/libPETSc_commonRealDouble.jl deleted file mode 100644 index 901bc010..00000000 --- a/src/generated/libPETSc_commonRealDouble.jl +++ /dev/null @@ -1,3963 +0,0 @@ -# Automatically generated using Clang.jl wrap_c, version 0.0.0 - -using Compat - -#skipping undefined const PETSC_FUNCTION_NAME = PETSC_FUNCTION_NAME_C -#skipping undefined const PETSC_RESTRICT = PETSC_C_RESTRICT -#skipping undefined const PETSC_STATIC_INLINE = PETSC_C_STATIC_INLINE -#skipping undefined const PETSC_VISIBILITY_PUBLIC = PETSC_DLLIMPORT -#= # Skipping MacroDefinition: PETSC_EXTERN extern PETSC_VISIBILITY_PUBLIC =# -#= # Skipping MacroDefinition: PETSC_INTERN extern PETSC_VISIBILITY_INTERNAL =# -const PETSC_VERSION_RELEASE = 1 -const PETSC_VERSION_MAJOR = 3 -const PETSC_VERSION_MINOR = 6 -const PETSC_VERSION_SUBMINOR = 0 -const PETSC_VERSION_PATCH = 0 -const PETSC_RELEASE_DATE = symbol("Jun, 9, 2015") -const PETSC_VERSION_DATE = symbol("Jun, 09, 2015") -const PETSC_VERSION_GIT = symbol("v3.6") -const PETSC_VERSION_DATE_GIT = symbol("2015-06-09 16:15:46 -0500") - -#= # Skipping MacroDefinition: PETSC_VERSION_ ( MAJOR , MINOR , SUBMINOR ) ( ( PETSC_VERSION_MAJOR == ( MAJOR ) ) && ( PETSC_VERSION_MINOR == ( MINOR ) ) && ( PETSC_VERSION_SUBMINOR == ( SUBMINOR ) ) && ( PETSC_VERSION_RELEASE == 1 ) ) =# -#= # Skipping MacroDefinition: PETSC_VERSION_LT ( MAJOR , MINOR , SUBMINOR ) ( PETSC_VERSION_RELEASE == 1 && ( PETSC_VERSION_MAJOR < ( MAJOR ) || ( PETSC_VERSION_MAJOR == ( MAJOR ) && ( PETSC_VERSION_MINOR < ( MINOR ) || ( PETSC_VERSION_MINOR == ( MINOR ) && ( PETSC_VERSION_SUBMINOR < ( SUBMINOR ) ) ) ) ) ) ) =# -#= # Skipping MacroDefinition: PETSC_VERSION_LE ( MAJOR , MINOR , SUBMINOR ) ( PETSC_VERSION_LT ( MAJOR , MINOR , SUBMINOR ) || PETSC_VERSION_ ( MAJOR , MINOR , SUBMINOR ) ) =# -#= # Skipping MacroDefinition: PETSC_VERSION_GT ( MAJOR , MINOR , SUBMINOR ) ( 0 == PETSC_VERSION_LE ( MAJOR , MINOR , SUBMINOR ) ) =# -#= # Skipping MacroDefinition: PETSC_VERSION_GE ( MAJOR , MINOR , SUBMINOR ) ( 0 == PETSC_VERSION_LT ( MAJOR , MINOR , SUBMINOR ) ) =# -const PETSC_AUTHOR_INFO = symbol(" The PETSc Team\n petsc-maint@mcs.anl.gov\n http://www.mcs.anl.gov/petsc/\n") -const MPICH_SKIP_MPICXX = 1 -const OMPI_SKIP_MPICXX = 1 - -#= # Skipping MacroDefinition: PetscAttrMPIPointerWithType ( bufno , typeno ) __attribute__ ( ( pointer_with_type_tag ( MPI , bufno , typeno ) ) ) =# -#= # Skipping MacroDefinition: PetscAttrMPITypeTag ( type ) __attribute__ ( ( type_tag_for_datatype ( MPI , type ) ) ) =# -#= # Skipping MacroDefinition: PetscAttrMPITypeTagLayoutCompatible ( type ) __attribute__ ( ( type_tag_for_datatype ( MPI , type , layout_compatible ) ) ) =# -#skipping undefined const MPIU_INT = MPI_INT64_T -#skipping undefined const MPIU_INT64 = MPI_INT64_T -#skipping undefined const MPIU_SIZE_T = MPI_UNSIGNED_LONG -#= # Skipping MacroDefinition: PetscUnlikely ( cond ) __builtin_expect ( ! ! ( cond ) , 0 ) =# -#= # Skipping MacroDefinition: PetscLikely ( cond ) __builtin_expect ( ! ! ( cond ) , 1 ) =# -#= # Skipping MacroDefinition: PetscExpPassiveScalar ( a ) PetscExpScalar ( ) =# -#skipping undefined const MPIU_REAL = MPI_FLOAT -#= # Skipping MacroDefinition: PetscSqrtReal ( a ) sqrt ( a ) =# -#= # Skipping MacroDefinition: PetscExpReal ( a ) exp ( a ) =# -#= # Skipping MacroDefinition: PetscLogReal ( a ) log ( a ) =# -#= # Skipping MacroDefinition: PetscLog10Real ( a ) log10 ( a ) =# -#= # Skipping MacroDefinition: PetscLog2Real ( a ) log2 ( a ) =# -#= # Skipping MacroDefinition: PetscSinReal ( a ) sin ( a ) =# -#= # Skipping MacroDefinition: PetscCosReal ( a ) cos ( a ) =# -#= # Skipping MacroDefinition: PetscTanReal ( a ) tan ( a ) =# -#= # Skipping MacroDefinition: PetscAsinReal ( a ) asin ( a ) =# -#= # Skipping MacroDefinition: PetscAcosReal ( a ) acos ( a ) =# -#= # Skipping MacroDefinition: PetscAtanReal ( a ) atan ( a ) =# -#= # Skipping MacroDefinition: PetscAtan2Real ( a , b ) atan2 ( a , b ) =# -#= # Skipping MacroDefinition: PetscSinhReal ( a ) sinh ( a ) =# -#= # Skipping MacroDefinition: PetscCoshReal ( a ) cosh ( a ) =# -#= # Skipping MacroDefinition: PetscTanhReal ( a ) tanh ( a ) =# -#= # Skipping MacroDefinition: PetscPowReal ( a , b ) pow ( a , b ) =# -#= # Skipping MacroDefinition: PetscCeilReal ( a ) ceil ( a ) =# -#= # Skipping MacroDefinition: PetscFloorReal ( a ) floor ( a ) =# -#= # Skipping MacroDefinition: PetscFmodReal ( a , b ) fmod ( a , b ) =# -#= # Skipping MacroDefinition: PetscTGamma ( a ) tgammaf ( a ) =# -const PETSC_HAVE_COMPLEX = 1 - -#= # Skipping MacroDefinition: PetscRealPartComplex ( a ) crealf ( a ) =# -#= # Skipping MacroDefinition: PetscImaginaryPartComplex ( a ) cimagf ( a ) =# -#= # Skipping MacroDefinition: PetscAbsComplex ( a ) cabsf ( a ) =# -#= # Skipping MacroDefinition: PetscConjComplex ( a ) conjf ( a ) =# -#= # Skipping MacroDefinition: PetscSqrtComplex ( a ) csqrtf ( a ) =# -#= # Skipping MacroDefinition: PetscPowComplex ( a , b ) cpowf ( a , b ) =# -#= # Skipping MacroDefinition: PetscExpComplex ( a ) cexpf ( a ) =# -#= # Skipping MacroDefinition: PetscLogComplex ( a ) clogf ( a ) =# -#= # Skipping MacroDefinition: PetscSinComplex ( a ) csinf ( a ) =# -#= # Skipping MacroDefinition: PetscCosComplex ( a ) ccosf ( a ) =# -#= # Skipping MacroDefinition: PetscAsinComplex ( a ) casinf ( a ) =# -#= # Skipping MacroDefinition: PetscAcosComplex ( a ) cacosf ( a ) =# -#= # Skipping MacroDefinition: PetscTanComplex ( a ) ctanf ( a ) =# -#= # Skipping MacroDefinition: PetscSinhComplex ( a ) csinhf ( a ) =# -#= # Skipping MacroDefinition: PetscCoshComplex ( a ) ccoshf ( a ) =# -#= # Skipping MacroDefinition: PetscTanhComplex ( a ) ctanhf ( a ) =# -#skipping undefined const MPIU_C_DOUBLE_COMPLEX = MPI_C_DOUBLE_COMPLEX -#skipping undefined const MPIU_C_COMPLEX = MPI_C_COMPLEX -#skipping undefined const MPIU_COMPLEX = MPIU_C_COMPLEX -#skipping undefined const MPIU_SCALAR = MPIU_REAL -#= # Skipping MacroDefinition: PetscRealPart ( a ) ( a ) =# -#= # Skipping MacroDefinition: PetscImaginaryPart ( a ) ( ( PetscReal ) 0. ) =# -#= # Skipping MacroDefinition: PetscConj ( a ) ( a ) =# -#= # Skipping MacroDefinition: PetscSqrtScalar ( a ) sqrt ( a ) =# -#= # Skipping MacroDefinition: PetscPowScalar ( a , b ) pow ( a , b ) =# -#= # Skipping MacroDefinition: PetscExpScalar ( a ) exp ( a ) =# -#= # Skipping MacroDefinition: PetscLogScalar ( a ) log ( a ) =# -#= # Skipping MacroDefinition: PetscSinScalar ( a ) sin ( a ) =# -#= # Skipping MacroDefinition: PetscCosScalar ( a ) cos ( a ) =# -#= # Skipping MacroDefinition: PetscAsinScalar ( a ) asin ( a ) =# -#= # Skipping MacroDefinition: PetscAcosScalar ( a ) acos ( a ) =# -#= # Skipping MacroDefinition: PetscTanScalar ( a ) tan ( a ) =# -#= # Skipping MacroDefinition: PetscSinhScalar ( a ) sinh ( a ) =# -#= # Skipping MacroDefinition: PetscCoshScalar ( a ) cosh ( a ) =# -#= # Skipping MacroDefinition: PetscTanhScalar ( a ) tanh ( a ) =# -#= # Skipping MacroDefinition: PetscSign ( a ) ( ( ( a ) >= 0 ) ? ( ( a ) == 0 ? 0 : 1 ) : - 1 ) =# -#= # Skipping MacroDefinition: PetscAbs ( a ) ( ( ( a ) >= 0 ) ? ( a ) : - ( a ) ) =# -#= # Skipping MacroDefinition: PetscMin ( a , b ) ( ( ( a ) < ( b ) ) ? ( a ) : ( b ) ) =# -#= # Skipping MacroDefinition: PetscMax ( a , b ) ( ( ( a ) < ( b ) ) ? ( b ) : ( a ) ) =# -#= # Skipping MacroDefinition: PetscClipInterval ( x , a , b ) ( PetscMax ( ( a ) , PetscMin ( ( x ) , ( b ) ) ) ) =# -#= # Skipping MacroDefinition: PetscAbsInt ( a ) ( ( ( a ) < 0 ) ? - ( a ) : ( a ) ) =# -#= # Skipping MacroDefinition: PetscAbsReal ( a ) ( ( ( a ) < 0 ) ? - ( a ) : ( a ) ) =# -#= # Skipping MacroDefinition: PetscSqr ( a ) ( ( a ) * ( a ) ) =# -const PETSC_PI = 3.141592653589793 -const PETSC_MAX_INT = 9223372036854775807 -const PETSC_MIN_INT = -PETSC_MAX_INT - 1 -const PETSC_MAX_REAL = 3.4028234663852886e38 -const PETSC_MIN_REAL = -PETSC_MAX_REAL -const PETSC_MACHINE_EPSILON = 1.1920929e-7 -const PETSC_SQRT_MACHINE_EPSILON = 0.000345266983 -const PETSC_SMALL = 1.0e-5 -const PETSC_INFINITY = PETSC_MAX_REAL / 4.0 -const PETSC_NINFINITY = -PETSC_INFINITY - -# excluding lhs of typealias PetscReal Cfloat -const PassiveReal = Float64 - -# excluding lhs of typealias PetscScalar PetscReal -const PassiveScalar = Float64 - -#skipping undefined const MPIU_MATSCALAR = MPIU_SCALAR -const PETSC_NULL = C_NULL -const PETSC_IGNORE = C_NULL -const PETSC_DECIDE = -1 -const PETSC_DETERMINE = PETSC_DECIDE -const PETSC_DEFAULT = -2 -const PETSC_COMM_SELF = MPI_COMM_SELF - -#= # Skipping MacroDefinition: PetscMalloc ( a , b ) ( ( * PetscTrMalloc ) ( ( a ) , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ , ( void * * ) ( b ) ) ) =# -#= # Skipping MacroDefinition: PetscAddrAlign ( a ) ( void * ) ( ( ( ( PETSC_UINTPTR_T ) ( a ) ) + ( PETSC_MEMALIGN - 1 ) ) & ~ ( PETSC_MEMALIGN - 1 ) ) =# -#= # Skipping MacroDefinition: PetscMalloc1 ( m1 , r1 ) PetscMalloc ( ( m1 ) * sizeof ( * * ( r1 ) ) , r1 ) =# -#= # Skipping MacroDefinition: PetscCalloc1 ( m1 , r1 ) ( PetscMalloc1 ( ( m1 ) , r1 ) || PetscMemzero ( * ( r1 ) , ( m1 ) * sizeof ( * * ( r1 ) ) ) ) =# -#= # Skipping MacroDefinition: PetscMalloc2 ( m1 , r1 , m2 , r2 ) ( PetscMalloc1 ( ( m1 ) , ( r1 ) ) || PetscMalloc1 ( ( m2 ) , ( r2 ) ) ) =# -#= # Skipping MacroDefinition: PetscCalloc2 ( m1 , r1 , m2 , r2 ) ( PetscMalloc2 ( ( m1 ) , ( r1 ) , ( m2 ) , ( r2 ) ) || PetscMemzero ( * ( r1 ) , ( m1 ) * sizeof ( * * ( r1 ) ) ) || PetscMemzero ( * ( r2 ) , ( m2 ) * sizeof ( * * ( r2 ) ) ) ) =# -#= # Skipping MacroDefinition: PetscMalloc3 ( m1 , r1 , m2 , r2 , m3 , r3 ) ( PetscMalloc1 ( ( m1 ) , ( r1 ) ) || PetscMalloc1 ( ( m2 ) , ( r2 ) ) || PetscMalloc1 ( ( m3 ) , ( r3 ) ) ) =# -#= # Skipping MacroDefinition: PetscCalloc3 ( m1 , r1 , m2 , r2 , m3 , r3 ) ( PetscMalloc3 ( ( m1 ) , ( r1 ) , ( m2 ) , ( r2 ) , ( m3 ) , ( r3 ) ) || PetscMemzero ( * ( r1 ) , ( m1 ) * sizeof ( * * ( r1 ) ) ) || PetscMemzero ( * ( r2 ) , ( m2 ) * sizeof ( * * ( r2 ) ) ) || PetscMemzero ( * ( r3 ) , ( m3 ) * sizeof ( * * ( r3 ) ) ) ) =# -#= # Skipping MacroDefinition: PetscMalloc4 ( m1 , r1 , m2 , r2 , m3 , r3 , m4 , r4 ) ( PetscMalloc1 ( ( m1 ) , ( r1 ) ) || PetscMalloc1 ( ( m2 ) , ( r2 ) ) || PetscMalloc1 ( ( m3 ) , ( r3 ) ) || PetscMalloc1 ( ( m4 ) , ( r4 ) ) ) =# -#= # Skipping MacroDefinition: PetscCalloc4 ( m1 , r1 , m2 , r2 , m3 , r3 , m4 , r4 ) ( PetscMalloc4 ( m1 , r1 , m2 , r2 , m3 , r3 , m4 , r4 ) || PetscMemzero ( * ( r1 ) , ( m1 ) * sizeof ( * * ( r1 ) ) ) || PetscMemzero ( * ( r2 ) , ( m2 ) * sizeof ( * * ( r2 ) ) ) || PetscMemzero ( * ( r3 ) , ( m3 ) * sizeof ( * * ( r3 ) ) ) || PetscMemzero ( * ( r4 ) , ( m4 ) * sizeof ( * * ( r4 ) ) ) ) =# -#= # Skipping MacroDefinition: PetscMalloc5 ( m1 , r1 , m2 , r2 , m3 , r3 , m4 , r4 , m5 , r5 ) ( PetscMalloc1 ( ( m1 ) , ( r1 ) ) || PetscMalloc1 ( ( m2 ) , ( r2 ) ) || PetscMalloc1 ( ( m3 ) , ( r3 ) ) || PetscMalloc1 ( ( m4 ) , ( r4 ) ) || PetscMalloc1 ( ( m5 ) , ( r5 ) ) ) =# -#= # Skipping MacroDefinition: PetscCalloc5 ( m1 , r1 , m2 , r2 , m3 , r3 , m4 , r4 , m5 , r5 ) ( PetscMalloc5 ( m1 , r1 , m2 , r2 , m3 , r3 , m4 , r4 , m5 , r5 ) || PetscMemzero ( * ( r1 ) , ( m1 ) * sizeof ( * * ( r1 ) ) ) || PetscMemzero ( * ( r2 ) , ( m2 ) * sizeof ( * * ( r2 ) ) ) || PetscMemzero ( * ( r3 ) , ( m3 ) * sizeof ( * * ( r3 ) ) ) || PetscMemzero ( * ( r4 ) , ( m4 ) * sizeof ( * * ( r4 ) ) ) || PetscMemzero ( * ( r5 ) , ( m5 ) * sizeof ( * * ( r5 ) ) ) ) =# -#= # Skipping MacroDefinition: PetscMalloc6 ( m1 , r1 , m2 , r2 , m3 , r3 , m4 , r4 , m5 , r5 , m6 , r6 ) ( PetscMalloc1 ( ( m1 ) , ( r1 ) ) || PetscMalloc1 ( ( m2 ) , ( r2 ) ) || PetscMalloc1 ( ( m3 ) , ( r3 ) ) || PetscMalloc1 ( ( m4 ) , ( r4 ) ) || PetscMalloc1 ( ( m5 ) , ( r5 ) ) || PetscMalloc1 ( ( m6 ) , ( r6 ) ) ) =# -#= # Skipping MacroDefinition: PetscCalloc6 ( m1 , r1 , m2 , r2 , m3 , r3 , m4 , r4 , m5 , r5 , m6 , r6 ) ( PetscMalloc6 ( m1 , r1 , m2 , r2 , m3 , r3 , m4 , r4 , m5 , r5 , m6 , r6 ) || PetscMemzero ( * ( r1 ) , ( m1 ) * sizeof ( * * ( r1 ) ) ) || PetscMemzero ( * ( r2 ) , ( m2 ) * sizeof ( * * ( r2 ) ) ) || PetscMemzero ( * ( r3 ) , ( m3 ) * sizeof ( * * ( r3 ) ) ) || PetscMemzero ( * ( r4 ) , ( m4 ) * sizeof ( * * ( r4 ) ) ) || PetscMemzero ( * ( r5 ) , ( m5 ) * sizeof ( * * ( r5 ) ) ) || PetscMemzero ( * ( r6 ) , ( m6 ) * sizeof ( * * ( r6 ) ) ) ) =# -#= # Skipping MacroDefinition: PetscMalloc7 ( m1 , r1 , m2 , r2 , m3 , r3 , m4 , r4 , m5 , r5 , m6 , r6 , m7 , r7 ) ( PetscMalloc1 ( ( m1 ) , ( r1 ) ) || PetscMalloc1 ( ( m2 ) , ( r2 ) ) || PetscMalloc1 ( ( m3 ) , ( r3 ) ) || PetscMalloc1 ( ( m4 ) , ( r4 ) ) || PetscMalloc1 ( ( m5 ) , ( r5 ) ) || PetscMalloc1 ( ( m6 ) , ( r6 ) ) || PetscMalloc1 ( ( m7 ) , ( r7 ) ) ) =# -#= # Skipping MacroDefinition: PetscCalloc7 ( m1 , r1 , m2 , r2 , m3 , r3 , m4 , r4 , m5 , r5 , m6 , r6 , m7 , r7 ) ( PetscMalloc7 ( m1 , r1 , m2 , r2 , m3 , r3 , m4 , r4 , m5 , r5 , m6 , r6 , m7 , r7 ) || PetscMemzero ( * ( r1 ) , ( m1 ) * sizeof ( * * ( r1 ) ) ) || PetscMemzero ( * ( r2 ) , ( m2 ) * sizeof ( * * ( r2 ) ) ) || PetscMemzero ( * ( r3 ) , ( m3 ) * sizeof ( * * ( r3 ) ) ) || PetscMemzero ( * ( r4 ) , ( m4 ) * sizeof ( * * ( r4 ) ) ) || PetscMemzero ( * ( r5 ) , ( m5 ) * sizeof ( * * ( r5 ) ) ) || PetscMemzero ( * ( r6 ) , ( m6 ) * sizeof ( * * ( r6 ) ) ) || PetscMemzero ( * ( r7 ) , ( m7 ) * sizeof ( * * ( r7 ) ) ) ) =# -#= # Skipping MacroDefinition: PetscNew ( b ) PetscCalloc1 ( 1 , ( b ) ) =# -#= # Skipping MacroDefinition: PetscNewLog ( o , b ) ( PetscNew ( ( b ) ) || PetscLogObjectMemory ( ( PetscObject ) o , sizeof ( * * ( b ) ) ) ) =# -#= # Skipping MacroDefinition: PetscFree ( a ) ( ( * PetscTrFree ) ( ( void * ) ( a ) , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ ) || ( ( a ) = 0 , 0 ) ) =# -#= # Skipping MacroDefinition: PetscFreeVoid ( a ) ( ( * PetscTrFree ) ( ( a ) , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ ) , ( a ) = 0 ) =# -#= # Skipping MacroDefinition: PetscFree2 ( m1 , m2 ) ( PetscFree ( m2 ) || PetscFree ( m1 ) ) =# -#= # Skipping MacroDefinition: PetscFree3 ( m1 , m2 , m3 ) ( PetscFree ( m3 ) || PetscFree ( m2 ) || PetscFree ( m1 ) ) =# -#= # Skipping MacroDefinition: PetscFree4 ( m1 , m2 , m3 , m4 ) ( PetscFree ( m4 ) || PetscFree ( m3 ) || PetscFree ( m2 ) || PetscFree ( m1 ) ) =# -#= # Skipping MacroDefinition: PetscFree5 ( m1 , m2 , m3 , m4 , m5 ) ( PetscFree ( m5 ) || PetscFree ( m4 ) || PetscFree ( m3 ) || PetscFree ( m2 ) || PetscFree ( m1 ) ) =# -#= # Skipping MacroDefinition: PetscFree6 ( m1 , m2 , m3 , m4 , m5 , m6 ) ( PetscFree ( m6 ) || PetscFree ( m5 ) || PetscFree ( m4 ) || PetscFree ( m3 ) || PetscFree ( m2 ) || PetscFree ( m1 ) ) =# -#= # Skipping MacroDefinition: PetscFree7 ( m1 , m2 , m3 , m4 , m5 , m6 , m7 ) ( PetscFree ( m7 ) || PetscFree ( m6 ) || PetscFree ( m5 ) || PetscFree ( m4 ) || PetscFree ( m3 ) || PetscFree ( m2 ) || PetscFree ( m1 ) ) =# -#skipping undefined const MPIU_PETSCLOGDOUBLE = MPI_DOUBLE -#= # begin enum PetscDataType =# -typealias PetscDataType UInt32 - -const PETSC_INT = (UInt32)(0) -const PETSC_DOUBLE = (UInt32)(1) -const PETSC_COMPLEX = (UInt32)(2) -const PETSC_LONG = (UInt32)(3) -const PETSC_SHORT = (UInt32)(4) -const PETSC_FLOAT = (UInt32)(5) -const PETSC_CHAR = (UInt32)(6) -const PETSC_BIT_LOGICAL = (UInt32)(7) -const PETSC_ENUM = (UInt32)(8) -const PETSC_BOOL = (UInt32)(9) -const PETSC___FLOAT128 = (UInt32)(10) -const PETSC_OBJECT = (UInt32)(11) -const PETSC_FUNCTION = (UInt32)(12) -const PETSC_STRING = (UInt32)(12) - -#= # end enum PetscDataType =# -const PETSC_SCALAR = PETSC_FLOAT -const PETSC_REAL = PETSC_FLOAT -const PETSC_FORTRANADDR = PETSC_LONG - -#skipping undefined const MPIU_SUM = MPI_SUM -#skipping undefined const MPIU_MAX = MPI_MAX -#skipping undefined const MPIU_MIN = MPI_MIN -const PETSC_ERR_MIN_VALUE = 54 -const PETSC_ERR_MEM = 55 -const PETSC_ERR_SUP = 56 -const PETSC_ERR_SUP_SYS = 57 -const PETSC_ERR_ORDER = 58 -const PETSC_ERR_SIG = 59 -const PETSC_ERR_FP = 72 -const PETSC_ERR_COR = 74 -const PETSC_ERR_LIB = 76 -const PETSC_ERR_PLIB = 77 -const PETSC_ERR_MEMC = 78 -const PETSC_ERR_CONV_FAILED = 82 -const PETSC_ERR_USER = 83 -const PETSC_ERR_SYS = 88 -const PETSC_ERR_POINTER = 70 -const PETSC_ERR_ARG_SIZ = 60 -const PETSC_ERR_ARG_IDN = 61 -const PETSC_ERR_ARG_WRONG = 62 -const PETSC_ERR_ARG_CORRUPT = 64 -const PETSC_ERR_ARG_OUTOFRANGE = 63 -const PETSC_ERR_ARG_BADPTR = 68 -const PETSC_ERR_ARG_NOTSAMETYPE = 69 -const PETSC_ERR_ARG_NOTSAMECOMM = 80 -const PETSC_ERR_ARG_WRONGSTATE = 73 -const PETSC_ERR_ARG_TYPENOTSET = 89 -const PETSC_ERR_ARG_INCOMP = 75 -const PETSC_ERR_ARG_NULL = 85 -const PETSC_ERR_ARG_UNKNOWN_TYPE = 86 -const PETSC_ERR_FILE_OPEN = 65 -const PETSC_ERR_FILE_READ = 66 -const PETSC_ERR_FILE_WRITE = 67 -const PETSC_ERR_FILE_UNEXPECTED = 79 -const PETSC_ERR_MAT_LU_ZRPVT = 71 -const PETSC_ERR_MAT_CH_ZRPVT = 81 -const PETSC_ERR_INT_OVERFLOW = 84 -const PETSC_ERR_FLOP_COUNT = 90 -const PETSC_ERR_NOT_CONVERGED = 91 -const PETSC_ERR_MISSING_FACTOR = 92 -const PETSC_ERR_MAX_VALUE = 93 - -#= # Skipping MacroDefinition: PetscStringizeArg ( a ) # a =# -#= # Skipping MacroDefinition: PetscStringize ( a ) PetscStringizeArg ( a ) =# -#= # Skipping MacroDefinition: SETERRQ ( comm , n , s ) return PetscError ( comm , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ , n , PETSC_ERROR_INITIAL , s ) =# -#= # Skipping MacroDefinition: SETERRQ1 ( comm , n , s , a1 ) return PetscError ( comm , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ , n , PETSC_ERROR_INITIAL , s , a1 ) =# -#= # Skipping MacroDefinition: SETERRQ2 ( comm , n , s , a1 , a2 ) return PetscError ( comm , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ , n , PETSC_ERROR_INITIAL , s , a1 , a2 ) =# -#= # Skipping MacroDefinition: SETERRQ3 ( comm , n , s , a1 , a2 , a3 ) return PetscError ( comm , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ , n , PETSC_ERROR_INITIAL , s , a1 , a2 , a3 ) =# -#= # Skipping MacroDefinition: SETERRQ4 ( comm , n , s , a1 , a2 , a3 , a4 ) return PetscError ( comm , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ , n , PETSC_ERROR_INITIAL , s , a1 , a2 , a3 , a4 ) =# -#= # Skipping MacroDefinition: SETERRQ5 ( comm , n , s , a1 , a2 , a3 , a4 , a5 ) return PetscError ( comm , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ , n , PETSC_ERROR_INITIAL , s , a1 , a2 , a3 , a4 , a5 ) =# -#= # Skipping MacroDefinition: SETERRQ6 ( comm , n , s , a1 , a2 , a3 , a4 , a5 , a6 ) return PetscError ( comm , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ , n , PETSC_ERROR_INITIAL , s , a1 , a2 , a3 , a4 , a5 , a6 ) =# -#= # Skipping MacroDefinition: SETERRQ7 ( comm , n , s , a1 , a2 , a3 , a4 , a5 , a6 , a7 ) return PetscError ( comm , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ , n , PETSC_ERROR_INITIAL , s , a1 , a2 , a3 , a4 , a5 , a6 , a7 ) =# -#= # Skipping MacroDefinition: SETERRQ8 ( comm , n , s , a1 , a2 , a3 , a4 , a5 , a6 , a7 , a8 ) return PetscError ( comm , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ , n , PETSC_ERROR_INITIAL , s , a1 , a2 , a3 , a4 , a5 , a6 , a7 , a8 ) =# -#= # Skipping MacroDefinition: SETERRABORT ( comm , n , s ) do { PetscError ( comm , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ , n , PETSC_ERROR_INITIAL , s ) ; MPI_Abort ( comm , n ) ; } while ( 0 ) =# -#= # Skipping MacroDefinition: CHKERRQ ( n ) do { if ( PetscUnlikely ( n ) ) return PetscError ( PETSC_COMM_SELF , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ , n , PETSC_ERROR_REPEAT , " " ) ; } while ( 0 ) =# -#= # Skipping MacroDefinition: CHKERRV ( n ) do { if ( PetscUnlikely ( n ) ) { n = PetscError ( PETSC_COMM_SELF , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ , n , PETSC_ERROR_REPEAT , " " ) ; return ; } } while ( 0 ) =# -#= # Skipping MacroDefinition: CHKERRABORT ( comm , n ) do { if ( PetscUnlikely ( n ) ) { PetscError ( PETSC_COMM_SELF , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ , n , PETSC_ERROR_REPEAT , " " ) ; MPI_Abort ( comm , n ) ; } } while ( 0 ) =# -#= # Skipping MacroDefinition: CHKERRCONTINUE ( n ) do { if ( PetscUnlikely ( n ) ) { PetscError ( PETSC_COMM_SELF , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ , n , PETSC_ERROR_REPEAT , " " ) ; } } while ( 0 ) =# -#= # Skipping MacroDefinition: CHKMEMQ do { PetscErrorCode _7_ierr = PetscMallocValidate ( __LINE__ , PETSC_FUNCTION_NAME , __FILE__ ) ; CHKERRQ ( _7_ierr ) ; } while ( 0 ) =# -#= # Skipping MacroDefinition: CHKMEMA PetscMallocValidate ( __LINE__ , PETSC_FUNCTION_NAME , __FILE__ ) =# -const PETSCSTACKSIZE = 64 - -#= # Skipping MacroDefinition: PetscStackPushNoCheck ( funct , petsc_routine , hot ) do { PetscStackSAWsTakeAccess ( ) ; if ( petscstack && ( petscstack -> currentsize < PETSCSTACKSIZE ) ) { petscstack -> function [ petscstack -> currentsize ] = funct ; petscstack -> file [ petscstack -> currentsize ] = __FILE__ ; petscstack -> line [ petscstack -> currentsize ] = __LINE__ ; petscstack -> petscroutine [ petscstack -> currentsize ] = petsc_routine ; petscstack -> currentsize ++ ; } if ( petscstack ) { petscstack -> hotdepth += ( hot || petscstack -> hotdepth ) ; } PetscStackSAWsGrantAccess ( ) ; } while ( 0 ) =# -#= # Skipping MacroDefinition: PetscStackPopNoCheck do { PetscStackSAWsTakeAccess ( ) ; if ( petscstack && petscstack -> currentsize > 0 ) { petscstack -> currentsize -- ; petscstack -> function [ petscstack -> currentsize ] = 0 ; petscstack -> file [ petscstack -> currentsize ] = 0 ; petscstack -> line [ petscstack -> currentsize ] = 0 ; petscstack -> petscroutine [ petscstack -> currentsize ] = PETSC_FALSE ; } if ( petscstack ) { petscstack -> hotdepth = PetscMax ( petscstack -> hotdepth - 1 , 0 ) ; } PetscStackSAWsGrantAccess ( ) ; } while ( 0 ) =# -#= # Skipping MacroDefinition: PetscFunctionBegin do { PetscStackPushNoCheck ( PETSC_FUNCTION_NAME , PETSC_TRUE , PETSC_FALSE ) ; PetscCheck__FUNCT__ ( ) ; PetscRegister__FUNCT__ ( ) ; } while ( 0 ) =# -#= # Skipping MacroDefinition: PetscFunctionBeginHot do { PetscStackPushNoCheck ( PETSC_FUNCTION_NAME , PETSC_TRUE , PETSC_TRUE ) ; PetscCheck__FUNCT__ ( ) ; PetscRegister__FUNCT__ ( ) ; } while ( 0 ) =# -#= # Skipping MacroDefinition: PetscFunctionBeginUser do { PetscStackPushNoCheck ( PETSC_FUNCTION_NAME , PETSC_FALSE , PETSC_FALSE ) ; PetscCheck__FUNCT__ ( ) ; PetscRegister__FUNCT__ ( ) ; } while ( 0 ) =# -#= # Skipping MacroDefinition: PetscCheck__FUNCT__ ( ) do { PetscBool _sc1 , _sc2 ; PetscStrcmpNoError ( PETSC_FUNCTION_NAME , __FUNCT__ , & _sc1 ) ; PetscStrcmpNoError ( __FUNCT__ , "User provided function" , & _sc2 ) ; if ( ! _sc1 && ! _sc2 ) { printf ( "%s:%d: __FUNCT__=\"%s\" does not agree with %s=\"%s\"\n" , __FILE__ , __LINE__ , __FUNCT__ , PetscStringize ( PETSC_FUNCTION_NAME ) , PETSC_FUNCTION_NAME ) ; } } while ( 0 ) =# -#= # Skipping MacroDefinition: PetscStackPush ( n ) do { PetscStackPushNoCheck ( n , PETSC_FALSE , PETSC_FALSE ) ; CHKMEMQ ; } while ( 0 ) =# -#= # Skipping MacroDefinition: PetscStackPop do { CHKMEMQ ; PetscStackPopNoCheck ; } while ( 0 ) =# -#= # Skipping MacroDefinition: PetscFunctionReturn ( a ) do { PetscStackPopNoCheck ; return ( a ) ; } while ( 0 ) =# -#= # Skipping MacroDefinition: PetscFunctionReturnVoid ( ) do { PetscStackPopNoCheck ; return ; } while ( 0 ) =# -#= # Skipping MacroDefinition: PetscStackCall ( name , routine ) do { PetscStackPush ( name ) ; routine ; PetscStackPop ; } while ( 0 ) =# -#= # Skipping MacroDefinition: PetscStackCallStandard ( func , args ) do { PetscStackPush ( # func ) ; ierr = func args ; PetscStackPop ; if ( ierr ) SETERRQ1 ( PETSC_COMM_SELF , PETSC_ERR_LIB , "Error in %s()" , # func ) ; } while ( 0 ) =# -const PETSC_SMALLEST_CLASSID = 1211211 - -#= # Skipping MacroDefinition: PetscObjectComposeFunction ( a , b , d ) PetscObjectComposeFunction_Private ( a , b , ( PetscVoidFunction ) ( d ) ) =# -#= # Skipping MacroDefinition: PetscOptionsBegin ( comm , prefix , mess , sec ) 0 ; do { PetscOptions PetscOptionsObjectBase ; PetscOptions * PetscOptionsObject = & PetscOptionsObjectBase ; PetscMemzero ( PetscOptionsObject , sizeof ( PetscOptions ) ) ; for ( PetscOptionsObject -> count = ( PetscOptionsPublish ? - 1 : 1 ) ; PetscOptionsObject -> count < 2 ; PetscOptionsObject -> count ++ ) { PetscErrorCode _5_ierr = PetscOptionsBegin_Private ( PetscOptionsObject , comm , prefix , mess , sec ) ; CHKERRQ ( _5_ierr ) ; =# -#= # Skipping MacroDefinition: PetscObjectOptionsBegin ( obj ) 0 ; do { PetscOptions PetscOptionsObjectBase ; PetscOptions * PetscOptionsObject = & PetscOptionsObjectBase ; for ( PetscOptionsObject -> count = ( PetscOptionsPublish ? - 1 : 1 ) ; PetscOptionsObject -> count < 2 ; PetscOptionsObject -> count ++ ) { PetscErrorCode _5_ierr = PetscObjectOptionsBegin_Private ( PetscOptionsObject , obj ) ; CHKERRQ ( _5_ierr ) ; =# -#= # Skipping MacroDefinition: PetscOptionsEnd ( ) _5_ierr = PetscOptionsEnd_Private ( PetscOptionsObject ) ; CHKERRQ ( _5_ierr ) ; } } while ( 0 ) =# -#= # Skipping MacroDefinition: PetscOptionsTail ( ) 0 ; { if ( PetscOptionsObject -> count != 1 ) PetscFunctionReturn ( 0 ) ; } =# -#= # Skipping MacroDefinition: PetscOptionsEnum ( a , b , c , d , e , f , g ) PetscOptionsEnum_Private ( PetscOptionsObject , a , b , c , d , e , f , g ) =# -#= # Skipping MacroDefinition: PetscOptionsInt ( a , b , c , d , e , f ) PetscOptionsInt_Private ( PetscOptionsObject , a , b , c , d , e , f ) =# -#= # Skipping MacroDefinition: PetscOptionsReal ( a , b , c , d , e , f ) PetscOptionsReal_Private ( PetscOptionsObject , a , b , c , d , e , f ) =# -#= # Skipping MacroDefinition: PetscOptionsScalar ( a , b , c , d , e , f ) PetscOptionsScalar_Private ( PetscOptionsObject , a , b , c , d , e , f ) =# -#= # Skipping MacroDefinition: PetscOptionsName ( a , b , c , d ) PetscOptionsName_Private ( PetscOptionsObject , a , b , c , d ) =# -#= # Skipping MacroDefinition: PetscOptionsString ( a , b , c , d , e , f , g ) PetscOptionsString_Private ( PetscOptionsObject , a , b , c , d , e , f , g ) =# -#= # Skipping MacroDefinition: PetscOptionsBool ( a , b , c , d , e , f ) PetscOptionsBool_Private ( PetscOptionsObject , a , b , c , d , e , f ) =# -#= # Skipping MacroDefinition: PetscOptionsBoolGroupBegin ( a , b , c , d ) PetscOptionsBoolGroupBegin_Private ( PetscOptionsObject , a , b , c , d ) =# -#= # Skipping MacroDefinition: PetscOptionsBoolGroup ( a , b , c , d ) PetscOptionsBoolGroup_Private ( PetscOptionsObject , a , b , c , d ) =# -#= # Skipping MacroDefinition: PetscOptionsBoolGroupEnd ( a , b , c , d ) PetscOptionsBoolGroupEnd_Private ( PetscOptionsObject , a , b , c , d ) =# -#= # Skipping MacroDefinition: PetscOptionsFList ( a , b , c , d , e , f , g , h ) PetscOptionsFList_Private ( PetscOptionsObject , a , b , c , d , e , f , g , h ) =# -#= # Skipping MacroDefinition: PetscOptionsEList ( a , b , c , d , e , f , g , h ) PetscOptionsEList_Private ( PetscOptionsObject , a , b , c , d , e , f , g , h ) =# -#= # Skipping MacroDefinition: PetscOptionsRealArray ( a , b , c , d , e , f ) PetscOptionsRealArray_Private ( PetscOptionsObject , a , b , c , d , e , f ) =# -#= # Skipping MacroDefinition: PetscOptionsScalarArray ( a , b , c , d , e , f ) PetscOptionsScalarArray_Private ( PetscOptionsObject , a , b , c , d , e , f ) =# -#= # Skipping MacroDefinition: PetscOptionsIntArray ( a , b , c , d , e , f ) PetscOptionsIntArray_Private ( PetscOptionsObject , a , b , c , d , e , f ) =# -#= # Skipping MacroDefinition: PetscOptionsStringArray ( a , b , c , d , e , f ) PetscOptionsStringArray_Private ( PetscOptionsObject , a , b , c , d , e , f ) =# -#= # Skipping MacroDefinition: PetscOptionsBoolArray ( a , b , c , d , e , f ) PetscOptionsBoolArray_Private ( PetscOptionsObject , a , b , c , d , e , f ) =# -#= # Skipping MacroDefinition: PetscOptionsEnumArray ( a , b , c , d , e , f , g ) PetscOptionsEnumArray_Private ( PetscOptionsObject , a , b , c , d , e , f , g ) =# -#= # Skipping MacroDefinition: PetscObjectQueryFunction ( obj , name , fptr ) PetscObjectQueryFunction_Private ( ( obj ) , ( name ) , ( PetscVoidFunction * ) ( fptr ) ) =# -#= # Skipping MacroDefinition: PetscSAWsBlock ( ) 0 =# -#= # Skipping MacroDefinition: PetscObjectSAWsViewOff ( obj ) 0 =# -#= # Skipping MacroDefinition: PetscObjectSAWsSetBlock ( obj , flg ) 0 =# -#= # Skipping MacroDefinition: PetscObjectSAWsBlock ( obj ) 0 =# -#= # Skipping MacroDefinition: PetscObjectSAWsGrantAccess ( obj ) 0 =# -#= # Skipping MacroDefinition: PetscObjectSAWsTakeAccess ( obj ) 0 =# -#= # Skipping MacroDefinition: PetscStackViewSAWs ( ) 0 =# -#= # Skipping MacroDefinition: PetscStackSAWsViewOff ( ) 0 =# -#= # Skipping MacroDefinition: PetscFunctionListAdd ( list , name , fptr ) PetscFunctionListAdd_Private ( ( list ) , ( name ) , ( PetscVoidFunction ) ( fptr ) ) =# -#= # Skipping MacroDefinition: PetscFunctionListFind ( list , name , fptr ) PetscFunctionListFind_Private ( ( list ) , ( name ) , ( PetscVoidFunction * ) ( fptr ) ) =# -#= # Skipping MacroDefinition: PetscNot ( a ) ( ( a ) ? PETSC_FALSE : PETSC_TRUE ) =# -const PETSC_EVENT = 1311311 - -#= # Skipping MacroDefinition: PetscInfo ( A , S ) PetscInfo_Private ( PETSC_FUNCTION_NAME , A , S ) =# -#= # Skipping MacroDefinition: PetscInfo1 ( A , S , a1 ) PetscInfo_Private ( PETSC_FUNCTION_NAME , A , S , a1 ) =# -#= # Skipping MacroDefinition: PetscInfo2 ( A , S , a1 , a2 ) PetscInfo_Private ( PETSC_FUNCTION_NAME , A , S , a1 , a2 ) =# -#= # Skipping MacroDefinition: PetscInfo3 ( A , S , a1 , a2 , a3 ) PetscInfo_Private ( PETSC_FUNCTION_NAME , A , S , a1 , a2 , a3 ) =# -#= # Skipping MacroDefinition: PetscInfo4 ( A , S , a1 , a2 , a3 , a4 ) PetscInfo_Private ( PETSC_FUNCTION_NAME , A , S , a1 , a2 , a3 , a4 ) =# -#= # Skipping MacroDefinition: PetscInfo5 ( A , S , a1 , a2 , a3 , a4 , a5 ) PetscInfo_Private ( PETSC_FUNCTION_NAME , A , S , a1 , a2 , a3 , a4 , a5 ) =# -#= # Skipping MacroDefinition: PetscInfo6 ( A , S , a1 , a2 , a3 , a4 , a5 , a6 ) PetscInfo_Private ( PETSC_FUNCTION_NAME , A , S , a1 , a2 , a3 , a4 , a5 , a6 ) =# -#= # Skipping MacroDefinition: PetscInfo7 ( A , S , a1 , a2 , a3 , a4 , a5 , a6 , a7 ) PetscInfo_Private ( PETSC_FUNCTION_NAME , A , S , a1 , a2 , a3 , a4 , a5 , a6 , a7 ) =# -const PETSC_FLOPS_PER_OP = 1.0 - -#= # Skipping MacroDefinition: PetscLogObjectParents ( p , n , d ) 0 ; { int _i ; for ( _i = 0 ; _i < n ; _i ++ ) { ierr = PetscLogObjectParent ( ( PetscObject ) p , ( PetscObject ) ( d ) [ _i ] ) ; CHKERRQ ( ierr ) ; } } =# -#= # Skipping MacroDefinition: PetscLogObjectCreate ( h ) ( ( PetscLogPHC ) ? ( * PetscLogPHC ) ( ( PetscObject ) h ) : 0 ) =# -#= # Skipping MacroDefinition: PetscLogObjectDestroy ( h ) ( ( PetscLogPHD ) ? ( * PetscLogPHD ) ( ( PetscObject ) h ) : 0 ) =# -#= # Skipping MacroDefinition: PetscLogEventBarrierBegin ( e , o1 , o2 , o3 , o4 , cm ) ( ( ( PetscLogPLB && petsc_stageLog -> stageInfo [ petsc_stageLog -> curStage ] . perfInfo . active && petsc_stageLog -> stageInfo [ petsc_stageLog -> curStage ] . eventLog -> eventInfo [ e ] . active ) ? ( PetscLogEventBegin ( ( e ) , o1 , o2 , o3 , o4 ) || MPI_Barrier ( cm ) || PetscLogEventEnd ( ( e ) , o1 , o2 , o3 , o4 ) ) : 0 ) || PetscLogEventBegin ( ( e ) + 1 , o1 , o2 , o3 , o4 ) ) =# -#= # Skipping MacroDefinition: PetscLogEventBegin ( e , o1 , o2 , o3 , o4 ) ( ( ( PetscLogPLB && petsc_stageLog -> stageInfo [ petsc_stageLog -> curStage ] . perfInfo . active && petsc_stageLog -> stageInfo [ petsc_stageLog -> curStage ] . eventLog -> eventInfo [ e ] . active ) ? ( * PetscLogPLB ) ( ( e ) , 0 , ( PetscObject ) ( o1 ) , ( PetscObject ) ( o2 ) , ( PetscObject ) ( o3 ) , ( PetscObject ) ( o4 ) ) : 0 ) ) =# -#= # Skipping MacroDefinition: PetscLogEventBarrierEnd ( e , o1 , o2 , o3 , o4 , cm ) PetscLogEventEnd ( e + 1 , o1 , o2 , o3 , o4 ) =# -#= # Skipping MacroDefinition: PetscLogEventEnd ( e , o1 , o2 , o3 , o4 ) ( ( ( PetscLogPLE && petsc_stageLog -> stageInfo [ petsc_stageLog -> curStage ] . perfInfo . active && petsc_stageLog -> stageInfo [ petsc_stageLog -> curStage ] . eventLog -> eventInfo [ e ] . active ) ? ( * PetscLogPLE ) ( ( e ) , 0 , ( PetscObject ) ( o1 ) , ( PetscObject ) ( o2 ) , ( PetscObject ) ( o3 ) , ( PetscObject ) ( o4 ) ) : 0 ) ) =# -#= # Skipping MacroDefinition: MPI_Irecv ( buf , count , datatype , source , tag , comm , request ) ( ( petsc_irecv_ct ++ , 0 ) || PetscMPITypeSize ( & petsc_irecv_len , count , datatype ) || MPI_Irecv ( buf , count , datatype , source , tag , comm , request ) ) =# -#= # Skipping MacroDefinition: MPI_Isend ( buf , count , datatype , dest , tag , comm , request ) ( ( petsc_isend_ct ++ , 0 ) || PetscMPITypeSize ( & petsc_isend_len , count , datatype ) || MPI_Isend ( buf , count , datatype , dest , tag , comm , request ) ) =# -#= # Skipping MacroDefinition: MPI_Startall_irecv ( count , number , requests ) ( ( petsc_irecv_ct += ( PetscLogDouble ) ( number ) , 0 ) || PetscMPITypeSize ( & petsc_irecv_len , count , MPIU_SCALAR ) || MPI_Startall ( number , requests ) ) =# -#= # Skipping MacroDefinition: MPI_Startall_isend ( count , number , requests ) ( ( petsc_isend_ct += ( PetscLogDouble ) ( number ) , 0 ) || PetscMPITypeSize ( & petsc_isend_len , count , MPIU_SCALAR ) || MPI_Startall ( number , requests ) ) =# -#= # Skipping MacroDefinition: MPI_Start_isend ( count , requests ) ( ( petsc_isend_ct ++ , 0 ) || PetscMPITypeSize ( & petsc_isend_len , count , MPIU_SCALAR ) || MPI_Start ( requests ) ) =# -#= # Skipping MacroDefinition: MPI_Recv ( buf , count , datatype , source , tag , comm , status ) ( ( petsc_recv_ct ++ , 0 ) || PetscMPITypeSize ( & petsc_recv_len , count , datatype ) || MPI_Recv ( buf , count , datatype , source , tag , comm , status ) ) =# -#= # Skipping MacroDefinition: MPI_Send ( buf , count , datatype , dest , tag , comm ) ( ( petsc_send_ct ++ , 0 ) || PetscMPITypeSize ( & petsc_send_len , count , datatype ) || MPI_Send ( buf , count , datatype , dest , tag , comm ) ) =# -#= # Skipping MacroDefinition: MPI_Wait ( request , status ) ( ( petsc_wait_ct ++ , petsc_sum_of_waits_ct ++ , 0 ) || MPI_Wait ( request , status ) ) =# -#= # Skipping MacroDefinition: MPI_Waitany ( a , b , c , d ) ( ( petsc_wait_any_ct ++ , petsc_sum_of_waits_ct ++ , 0 ) || MPI_Waitany ( a , b , c , d ) ) =# -#= # Skipping MacroDefinition: MPI_Waitall ( count , array_of_requests , array_of_statuses ) ( ( petsc_wait_all_ct ++ , petsc_sum_of_waits_ct += ( PetscLogDouble ) ( count ) , 0 ) || MPI_Waitall ( count , array_of_requests , array_of_statuses ) ) =# -#= # Skipping MacroDefinition: MPI_Allreduce ( sendbuf , recvbuf , count , datatype , op , comm ) ( ( petsc_allreduce_ct += PetscMPIParallelComm ( comm ) , 0 ) || MPI_Allreduce ( sendbuf , recvbuf , count , datatype , op , comm ) ) =# -#= # Skipping MacroDefinition: MPI_Alltoall ( sendbuf , sendcount , sendtype , recvbuf , recvcount , recvtype , comm ) ( ( petsc_allreduce_ct += PetscMPIParallelComm ( comm ) , 0 ) || PetscMPITypeSize ( & petsc_send_len , sendcount , sendtype ) || MPI_Alltoall ( sendbuf , sendcount , sendtype , recvbuf , recvcount , recvtype , comm ) ) =# -#= # Skipping MacroDefinition: MPI_Alltoallv ( sendbuf , sendcnts , sdispls , sendtype , recvbuf , recvcnts , rdispls , recvtype , comm ) ( ( petsc_allreduce_ct += PetscMPIParallelComm ( comm ) , 0 ) || PetscMPITypeSizeComm ( comm , & petsc_send_len , sendcnts , sendtype ) || MPI_Alltoallv ( sendbuf , sendcnts , sdispls , sendtype , recvbuf , recvcnts , rdispls , recvtype , comm ) ) =# -#= # Skipping MacroDefinition: MPI_Allgather ( sendbuf , sendcount , sendtype , recvbuf , recvcount , recvtype , comm ) ( ( petsc_gather_ct += PetscMPIParallelComm ( comm ) , 0 ) || MPI_Allgather ( sendbuf , sendcount , sendtype , recvbuf , recvcount , recvtype , comm ) ) =# -#= # Skipping MacroDefinition: MPI_Allgatherv ( sendbuf , sendcount , sendtype , recvbuf , recvcount , displs , recvtype , comm ) ( ( petsc_gather_ct += PetscMPIParallelComm ( comm ) , 0 ) || MPI_Allgatherv ( sendbuf , sendcount , sendtype , recvbuf , recvcount , displs , recvtype , comm ) ) =# -#= # Skipping MacroDefinition: MPI_Gather ( sendbuf , sendcount , sendtype , recvbuf , recvcount , recvtype , root , comm ) ( ( petsc_gather_ct ++ , 0 ) || PetscMPITypeSize ( & petsc_send_len , sendcount , sendtype ) || MPI_Gather ( sendbuf , sendcount , sendtype , recvbuf , recvcount , recvtype , root , comm ) ) =# -#= # Skipping MacroDefinition: MPI_Gatherv ( sendbuf , sendcount , sendtype , recvbuf , recvcount , displs , recvtype , root , comm ) ( ( petsc_gather_ct ++ , 0 ) || PetscMPITypeSize ( & petsc_send_len , sendcount , sendtype ) || MPI_Gatherv ( sendbuf , sendcount , sendtype , recvbuf , recvcount , displs , recvtype , root , comm ) ) =# -#= # Skipping MacroDefinition: MPI_Scatter ( sendbuf , sendcount , sendtype , recvbuf , recvcount , recvtype , root , comm ) ( ( petsc_scatter_ct ++ , 0 ) || PetscMPITypeSize ( & petsc_recv_len , recvcount , recvtype ) || MPI_Scatter ( sendbuf , sendcount , sendtype , recvbuf , recvcount , recvtype , root , comm ) ) =# -#= # Skipping MacroDefinition: MPI_Scatterv ( sendbuf , sendcount , displs , sendtype , recvbuf , recvcount , recvtype , root , comm ) ( ( petsc_scatter_ct ++ , 0 ) || PetscMPITypeSize ( & petsc_recv_len , recvcount , recvtype ) || MPI_Scatterv ( sendbuf , sendcount , displs , sendtype , recvbuf , recvcount , recvtype , root , comm ) ) =# -#= # Skipping MacroDefinition: PetscPreLoadBegin ( flag , name ) do { PetscBool PetscPreLoading = flag ; int PetscPreLoadMax , PetscPreLoadIt ; PetscLogStage _stageNum ; PetscErrorCode _3_ierr ; _3_ierr = PetscOptionsGetBool ( NULL , "-preload" , & PetscPreLoading , NULL ) ; CHKERRQ ( _3_ierr ) ; PetscPreLoadMax = ( int ) ( PetscPreLoading ) ; PetscPreLoadingUsed = PetscPreLoading ? PETSC_TRUE : PetscPreLoadingUsed ; for ( PetscPreLoadIt = 0 ; PetscPreLoadIt <= PetscPreLoadMax ; PetscPreLoadIt ++ ) { PetscPreLoadingOn = PetscPreLoading ; _3_ierr = PetscBarrier ( NULL ) ; CHKERRQ ( _3_ierr ) ; if ( PetscPreLoadIt > 0 ) { _3_ierr = PetscLogStageGetId ( name , & _stageNum ) ; CHKERRQ ( _3_ierr ) ; } else { _3_ierr = PetscLogStageRegister ( name , & _stageNum ) ; CHKERRQ ( _3_ierr ) ; } _3_ierr = PetscLogStageSetActive ( _stageNum , ( PetscBool ) ( ! PetscPreLoadMax || PetscPreLoadIt ) ) ; _3_ierr = PetscLogStagePush ( _stageNum ) ; CHKERRQ ( _3_ierr ) ; =# -#= # Skipping MacroDefinition: PetscPreLoadEnd ( ) _3_ierr = PetscLogStagePop ( ) ; CHKERRQ ( _3_ierr ) ; PetscPreLoading = PETSC_FALSE ; } \ -#} while ( 0 ) =# -#= # Skipping MacroDefinition: PetscPreLoadStage ( name ) do { _3_ierr = PetscLogStagePop ( ) ; CHKERRQ ( _3_ierr ) ; if ( PetscPreLoadIt > 0 ) { _3_ierr = PetscLogStageGetId ( name , & _stageNum ) ; CHKERRQ ( _3_ierr ) ; } else { _3_ierr = PetscLogStageRegister ( name , & _stageNum ) ; CHKERRQ ( _3_ierr ) ; } _3_ierr = PetscLogStageSetActive ( _stageNum , ( PetscBool ) ( ! PetscPreLoadMax || PetscPreLoadIt ) ) ; _3_ierr = PetscLogStagePush ( _stageNum ) ; CHKERRQ ( _3_ierr ) ; } while ( 0 ) =# -#= # Skipping MacroDefinition: PetscPrefetchBlock ( a , n , rw , t ) do { const char * _p = ( const char * ) ( a ) , * _end = ( const char * ) ( ( a ) + ( n ) ) ; for ( ; _p < _end ; _p += PETSC_LEVEL1_DCACHE_LINESIZE ) PETSC_Prefetch ( _p , ( rw ) , ( t ) ) ; } while ( 0 ) =# -const PETSC_MPI_INT_MAX = 2147483647 -const PETSC_MPI_INT_MIN = -2147483647 -const PETSC_BLAS_INT_MAX = 2147483647 -const PETSC_BLAS_INT_MIN = -2147483647 - -#skipping undefined const PETSC_MAX_PATH_LEN = MAXPATHLEN -const PETSCRAND = symbol("rand") -const PETSCRAND48 = symbol("rand48") -const PETSCSPRNG = symbol("sprng") -const PETSC_BINARY_INT_SIZE = 32 / 8 -const PETSC_BINARY_FLOAT_SIZE = 32 / 8 -const PETSC_BINARY_CHAR_SIZE = 8 / 8 -const PETSC_BINARY_SHORT_SIZE = 16 / 8 -const PETSC_BINARY_DOUBLE_SIZE = 64 / 8 - -#= # Skipping MacroDefinition: PETSC_BINARY_SCALAR_SIZE sizeof ( PetscScalar ) =# -const PETSC_BAG_FILE_CLASSID = 1211219 -const PETSCVIEWERSOCKET = symbol("socket") -const PETSCVIEWERASCII = symbol("ascii") -const PETSCVIEWERBINARY = symbol("binary") -const PETSCVIEWERSTRING = symbol("string") -const PETSCVIEWERDRAW = symbol("draw") -const PETSCVIEWERVU = symbol("vu") -const PETSCVIEWERMATHEMATICA = symbol("mathematica") -const PETSCVIEWERNETCDF = symbol("netcdf") -const PETSCVIEWERHDF5 = symbol("hdf5") -const PETSCVIEWERVTK = symbol("vtk") -const PETSCVIEWERMATLAB = symbol("matlab") -const PETSCVIEWERSAWS = symbol("saws") -const PETSC_DRAW_X = symbol("x") -const PETSC_DRAW_GLUT = symbol("glut") -const PETSC_DRAW_OPENGLES = symbol("opengles") -const PETSC_DRAW_NULL = symbol("null") -const PETSC_DRAW_WIN32 = symbol("win32") -const PETSC_DRAW_TIKZ = symbol("tikz") - -#= # Skipping MacroDefinition: PetscOptionsViewer ( a , b , c , d , e , f ) PetscOptionsViewer_Private ( PetscOptionsObject , a , b , c , d , e , f ) ; =# -#= # Skipping MacroDefinition: PETSC_VIEWER_STDERR_SELF PETSC_VIEWER_STDERR_ ( PETSC_COMM_SELF ) =# -#= # Skipping MacroDefinition: PETSC_VIEWER_STDERR_WORLD PETSC_VIEWER_STDERR_ ( PETSC_COMM_WORLD ) =# -#= # Skipping MacroDefinition: PETSC_VIEWER_STDOUT_WORLD PETSC_VIEWER_STDOUT_ ( PETSC_COMM_WORLD ) =# -#= # Skipping MacroDefinition: PETSC_VIEWER_STDOUT_SELF PETSC_VIEWER_STDOUT_ ( PETSC_COMM_SELF ) =# -#= # Skipping MacroDefinition: PETSC_VIEWER_DRAW_WORLD PETSC_VIEWER_DRAW_ ( PETSC_COMM_WORLD ) =# -#= # Skipping MacroDefinition: PETSC_VIEWER_DRAW_SELF PETSC_VIEWER_DRAW_ ( PETSC_COMM_SELF ) =# -#= # Skipping MacroDefinition: PETSC_VIEWER_SOCKET_WORLD PETSC_VIEWER_SOCKET_ ( PETSC_COMM_WORLD ) =# -#= # Skipping MacroDefinition: PETSC_VIEWER_SOCKET_SELF PETSC_VIEWER_SOCKET_ ( PETSC_COMM_SELF ) =# -#= # Skipping MacroDefinition: PETSC_VIEWER_BINARY_WORLD PETSC_VIEWER_BINARY_ ( PETSC_COMM_WORLD ) =# -#= # Skipping MacroDefinition: PETSC_VIEWER_BINARY_SELF PETSC_VIEWER_BINARY_ ( PETSC_COMM_SELF ) =# -#= # Skipping MacroDefinition: PETSC_VIEWER_MATLAB_WORLD PETSC_VIEWER_MATLAB_ ( PETSC_COMM_WORLD ) =# -#= # Skipping MacroDefinition: PETSC_VIEWER_MATLAB_SELF PETSC_VIEWER_MATLAB_ ( PETSC_COMM_SELF ) =# -#= # Skipping MacroDefinition: PETSC_VIEWER_MATHEMATICA_WORLD ( PetscViewerInitializeMathematicaWorld_Private ( ) , PETSC_VIEWER_MATHEMATICA_WORLD_PRIVATE ) =# -const PETSC_HASH_FACT = 79943 - -#= # Skipping MacroDefinition: PETSC_MATLAB_ENGINE_WORLD PETSC_MATLAB_ENGINE_ ( PETSC_COMM_WORLD ) =# -#= # Skipping MacroDefinition: PETSC_MATLAB_ENGINE_SELF PETSC_MATLAB_ENGINE_ ( PETSC_COMM_SELF ) =# -const PETSC_DRAW_BASIC_COLORS = 33 -const PETSC_DRAW_ROTATE = -1 -const PETSC_DRAW_WHITE = 0 -const PETSC_DRAW_BLACK = 1 -const PETSC_DRAW_RED = 2 -const PETSC_DRAW_GREEN = 3 -const PETSC_DRAW_CYAN = 4 -const PETSC_DRAW_BLUE = 5 -const PETSC_DRAW_MAGENTA = 6 -const PETSC_DRAW_AQUAMARINE = 7 -const PETSC_DRAW_FORESTGREEN = 8 -const PETSC_DRAW_ORANGE = 9 -const PETSC_DRAW_VIOLET = 10 -const PETSC_DRAW_BROWN = 11 -const PETSC_DRAW_PINK = 12 -const PETSC_DRAW_CORAL = 13 -const PETSC_DRAW_GRAY = 14 -const PETSC_DRAW_YELLOW = 15 -const PETSC_DRAW_GOLD = 16 -const PETSC_DRAW_LIGHTPINK = 17 -const PETSC_DRAW_MEDIUMTURQUOISE = 18 -const PETSC_DRAW_KHAKI = 19 -const PETSC_DRAW_DIMGRAY = 20 -const PETSC_DRAW_YELLOWGREEN = 21 -const PETSC_DRAW_SKYBLUE = 22 -const PETSC_DRAW_DARKGREEN = 23 -const PETSC_DRAW_NAVYBLUE = 24 -const PETSC_DRAW_SANDYBROWN = 25 -const PETSC_DRAW_CADETBLUE = 26 -const PETSC_DRAW_POWDERBLUE = 27 -const PETSC_DRAW_DEEPPINK = 28 -const PETSC_DRAW_THISTLE = 29 -const PETSC_DRAW_LIMEGREEN = 30 -const PETSC_DRAW_LAVENDERBLUSH = 31 -const PETSC_DRAW_PLUM = 32 -const PETSC_DRAW_FULL_SIZE = -3 -const PETSC_DRAW_HALF_SIZE = -4 -const PETSC_DRAW_THIRD_SIZE = -5 -const PETSC_DRAW_QUARTER_SIZE = -6 -const IS_FILE_CLASSID = 1211218 -const ISGENERAL = symbol("general") -const ISSTRIDE = symbol("stride") -const ISBLOCK = symbol("block") -const VECSEQ = symbol("seq") -const VECMPI = symbol("mpi") -const VECSTANDARD = symbol("standard") -const VECSHARED = symbol("shared") -const VECSEQCUSP = symbol("seqcusp") -const VECMPICUSP = symbol("mpicusp") -const VECCUSP = symbol("cusp") -const VECSEQVIENNACL = symbol("seqviennacl") -const VECMPIVIENNACL = symbol("mpiviennacl") -const VECVIENNACL = symbol("viennacl") -const VECNEST = symbol("nest") -const VECSEQPTHREAD = symbol("seqpthread") -const VECMPIPTHREAD = symbol("mpipthread") -const VECPTHREAD = symbol("pthread") -const VEC_FILE_CLASSID = 1211214 - -#= # begin enum NormType =# -typealias NormType UInt32 - -const NORM_1 = (UInt32)(0) -const NORM_2 = (UInt32)(1) -const NORM_FROBENIUS = (UInt32)(2) -const NORM_INFINITY = (UInt32)(3) -const NORM_1_AND_2 = (UInt32)(4) - -#= # end enum NormType =# -const NORM_MAX = NORM_INFINITY - -#= # Skipping MacroDefinition: VecLocked ( x , arg ) do { PetscInt _st ; PetscErrorCode __ierr = VecLockGet ( x , & _st ) ; CHKERRQ ( __ierr ) ; if ( _st > 0 ) SETERRQ1 ( PETSC_COMM_SELF , PETSC_ERR_ARG_WRONGSTATE , " Vec is locked read only, argument # %d" , arg ) ; } while ( 0 ) =# -const MATSAME = symbol("same") -const MATMAIJ = symbol("maij") -const MATSEQMAIJ = symbol("seqmaij") -const MATMPIMAIJ = symbol("mpimaij") -const MATIS = symbol("is") -const MATAIJ = symbol("aij") -const MATSEQAIJ = symbol("seqaij") -const MATSEQAIJPTHREAD = symbol("seqaijpthread") -const MATAIJPTHREAD = symbol("aijpthread") -const MATMPIAIJ = symbol("mpiaij") -const MATAIJCRL = symbol("aijcrl") -const MATSEQAIJCRL = symbol("seqaijcrl") -const MATMPIAIJCRL = symbol("mpiaijcrl") -const MATAIJCUSP = symbol("aijcusp") -const MATSEQAIJCUSP = symbol("seqaijcusp") -const MATMPIAIJCUSP = symbol("mpiaijcusp") -const MATAIJCUSPARSE = symbol("aijcusparse") -const MATSEQAIJCUSPARSE = symbol("seqaijcusparse") -const MATMPIAIJCUSPARSE = symbol("mpiaijcusparse") -const MATAIJVIENNACL = symbol("aijviennacl") -const MATSEQAIJVIENNACL = symbol("seqaijviennacl") -const MATMPIAIJVIENNACL = symbol("mpiaijviennacl") -const MATAIJPERM = symbol("aijperm") -const MATSEQAIJPERM = symbol("seqaijperm") -const MATMPIAIJPERM = symbol("mpiaijperm") -const MATSHELL = symbol("shell") -const MATDENSE = symbol("dense") -const MATSEQDENSE = symbol("seqdense") -const MATMPIDENSE = symbol("mpidense") -const MATELEMENTAL = symbol("elemental") -const MATBAIJ = symbol("baij") -const MATSEQBAIJ = symbol("seqbaij") -const MATMPIBAIJ = symbol("mpibaij") -const MATMPIADJ = symbol("mpiadj") -const MATSBAIJ = symbol("sbaij") -const MATSEQSBAIJ = symbol("seqsbaij") -const MATMPISBAIJ = symbol("mpisbaij") -const MATSEQBSTRM = symbol("seqbstrm") -const MATMPIBSTRM = symbol("mpibstrm") -const MATBSTRM = symbol("bstrm") -const MATSEQSBSTRM = symbol("seqsbstrm") -const MATMPISBSTRM = symbol("mpisbstrm") -const MATSBSTRM = symbol("sbstrm") -const MATDAAD = symbol("daad") -const MATMFFD = symbol("mffd") -const MATNORMAL = symbol("normal") -const MATLRC = symbol("lrc") -const MATSCATTER = symbol("scatter") -const MATBLOCKMAT = symbol("blockmat") -const MATCOMPOSITE = symbol("composite") -const MATFFT = symbol("fft") -const MATFFTW = symbol("fftw") -const MATSEQCUFFT = symbol("seqcufft") -const MATTRANSPOSEMAT = symbol("transpose") -const MATSCHURCOMPLEMENT = symbol("schurcomplement") -const MATPYTHON = symbol("python") -const MATHYPRESTRUCT = symbol("hyprestruct") -const MATHYPRESSTRUCT = symbol("hypresstruct") -const MATSUBMATRIX = symbol("submatrix") -const MATLOCALREF = symbol("localref") -const MATNEST = symbol("nest") - -#= # Skipping MacroDefinition: MatSolverPackage char * =# -const MATSOLVERSUPERLU = symbol("superlu") -const MATSOLVERSUPERLU_DIST = symbol("superlu_dist") -const MATSOLVERUMFPACK = symbol("umfpack") -const MATSOLVERCHOLMOD = symbol("cholmod") -const MATSOLVERESSL = symbol("essl") -const MATSOLVERLUSOL = symbol("lusol") -const MATSOLVERMUMPS = symbol("mumps") -const MATSOLVERMKL_PARDISO = symbol("mkl_pardiso") -const MATSOLVERMKL_CPARDISO = symbol("mkl_cpardiso") -const MATSOLVERPASTIX = symbol("pastix") -const MATSOLVERMATLAB = symbol("matlab") -const MATSOLVERPETSC = symbol("petsc") -const MATSOLVERBAS = symbol("bas") -const MATSOLVERCUSPARSE = symbol("cusparse") -const MATSOLVERBSTRM = symbol("bstrm") -const MATSOLVERSBSTRM = symbol("sbstrm") -const MATSOLVERELEMENTAL = symbol("elemental") -const MATSOLVERCLIQUE = symbol("clique") -const MATSOLVERKLU = symbol("klu") -const MAT_FILE_CLASSID = 1211216 - -#= # Skipping MacroDefinition: MatPreallocateInitialize ( comm , nrows , ncols , dnz , onz ) 0 ; \ -#{ PetscErrorCode _4_ierr ; PetscInt __nrows = ( nrows ) , __ctmp = ( ncols ) , __rstart , __start , __end ; _4_ierr = PetscCalloc2 ( __nrows , & dnz , __nrows , & onz ) ; CHKERRQ ( _4_ierr ) ; __start = 0 ; __end = __start ; _4_ierr = MPI_Scan ( & __ctmp , & __end , 1 , MPIU_INT , MPI_SUM , comm ) ; CHKERRQ ( _4_ierr ) ; __start = __end - __ctmp ; _4_ierr = MPI_Scan ( & __nrows , & __rstart , 1 , MPIU_INT , MPI_SUM , comm ) ; CHKERRQ ( _4_ierr ) ; __rstart = __rstart - __nrows ; =# -#= # Skipping MacroDefinition: MatPreallocateSetLocal ( rmap , nrows , rows , cmap , ncols , cols , dnz , onz ) 0 ; \ -#{ PetscInt __l ; _4_ierr = ISLocalToGlobalMappingApply ( rmap , nrows , rows , rows ) ; CHKERRQ ( _4_ierr ) ; _4_ierr = ISLocalToGlobalMappingApply ( cmap , ncols , cols , cols ) ; CHKERRQ ( _4_ierr ) ; for ( __l = 0 ; __l < nrows ; __l ++ ) { _4_ierr = MatPreallocateSet ( ( rows ) [ __l ] , ncols , cols , dnz , onz ) ; CHKERRQ ( _4_ierr ) ; } \ -#} =# -#= # Skipping MacroDefinition: MatPreallocateSetLocalBlock ( rmap , nrows , rows , cmap , ncols , cols , dnz , onz ) 0 ; \ -#{ PetscInt __l ; _4_ierr = ISLocalToGlobalMappingApplyBlock ( rmap , nrows , rows , rows ) ; CHKERRQ ( _4_ierr ) ; _4_ierr = ISLocalToGlobalMappingApplyBlock ( cmap , ncols , cols , cols ) ; CHKERRQ ( _4_ierr ) ; for ( __l = 0 ; __l < nrows ; __l ++ ) { _4_ierr = MatPreallocateSet ( ( rows ) [ __l ] , ncols , cols , dnz , onz ) ; CHKERRQ ( _4_ierr ) ; } \ -#} =# -#= # Skipping MacroDefinition: MatPreallocateSymmetricSetLocalBlock ( map , nrows , rows , ncols , cols , dnz , onz ) 0 ; \ -#{ PetscInt __l ; _4_ierr = ISLocalToGlobalMappingApplyBlock ( map , nrows , rows , rows ) ; CHKERRQ ( _4_ierr ) ; _4_ierr = ISLocalToGlobalMappingApplyBlock ( map , ncols , cols , cols ) ; CHKERRQ ( _4_ierr ) ; for ( __l = 0 ; __l < nrows ; __l ++ ) { _4_ierr = MatPreallocateSymmetricSetBlock ( ( rows ) [ __l ] , ncols , cols , dnz , onz ) ; CHKERRQ ( _4_ierr ) ; } \ -#} =# -#= # Skipping MacroDefinition: MatPreallocateSet ( row , nc , cols , dnz , onz ) 0 ; \ -#{ PetscInt __i ; if ( row < __rstart ) SETERRQ2 ( PETSC_COMM_SELF , PETSC_ERR_ARG_OUTOFRANGE , "Trying to set preallocation for row %D less than first local row %D" , row , __rstart ) ; if ( row >= __rstart + __nrows ) SETERRQ2 ( PETSC_COMM_SELF , PETSC_ERR_ARG_OUTOFRANGE , "Trying to set preallocation for row %D greater than last local row %D" , row , __rstart + __nrows - 1 ) ; for ( __i = 0 ; __i < nc ; __i ++ ) { if ( ( cols ) [ __i ] < __start || ( cols ) [ __i ] >= __end ) onz [ row - __rstart ] ++ ; else dnz [ row - __rstart ] ++ ; } \ -#} =# -#= # Skipping MacroDefinition: MatPreallocateSymmetricSetBlock ( row , nc , cols , dnz , onz ) 0 ; \ -#{ PetscInt __i ; for ( __i = 0 ; __i < nc ; __i ++ ) { if ( cols [ __i ] >= __end ) onz [ row - __rstart ] ++ ; else if ( cols [ __i ] >= row ) dnz [ row - __rstart ] ++ ; } \ -#} =# -#= # Skipping MacroDefinition: MatPreallocateLocation ( A , row , ncols , cols , dnz , onz ) 0 ; if ( A ) { ierr = MatSetValues ( A , 1 , & row , ncols , cols , NULL , INSERT_VALUES ) ; CHKERRQ ( ierr ) ; } else { ierr = MatPreallocateSet ( row , ncols , cols , dnz , onz ) ; CHKERRQ ( ierr ) ; } =# -#= # Skipping MacroDefinition: MatPreallocateFinalize ( dnz , onz ) 0 ; _4_ierr = PetscFree2 ( dnz , onz ) ; CHKERRQ ( _4_ierr ) ; } =# -const MAT_SKIP_ALLOCATION = -4 -const MATORDERINGNATURAL = symbol("natural") -const MATORDERINGND = symbol("nd") -const MATORDERING1WD = symbol("1wd") -const MATORDERINGRCM = symbol("rcm") -const MATORDERINGQMD = symbol("qmd") -const MATORDERINGROWLENGTH = symbol("rowlength") -const MATORDERINGWBM = symbol("wbm") -const MATORDERINGSPECTRAL = symbol("spectral") -const MATORDERINGAMD = symbol("amd") -const MATCOLORINGJP = symbol("jp") -const MATCOLORINGPOWER = symbol("power") -const MATCOLORINGNATURAL = symbol("natural") -const MATCOLORINGSL = symbol("sl") -const MATCOLORINGLF = symbol("lf") -const MATCOLORINGID = symbol("id") -const MATCOLORINGGREEDY = symbol("greedy") -const MATPARTITIONINGCURRENT = symbol("current") -const MATPARTITIONINGSQUARE = symbol("square") -const MATPARTITIONINGPARMETIS = symbol("parmetis") -const MATPARTITIONINGCHACO = symbol("chaco") -const MATPARTITIONINGPARTY = symbol("party") -const MATPARTITIONINGPTSCOTCH = symbol("ptscotch") -const MP_PARTY_OPT = symbol("opt") -const MP_PARTY_LIN = symbol("lin") -const MP_PARTY_SCA = symbol("sca") -const MP_PARTY_RAN = symbol("ran") -const MP_PARTY_GBF = symbol("gbf") -const MP_PARTY_GCF = symbol("gcf") -const MP_PARTY_BUB = symbol("bub") -const MP_PARTY_DEF = symbol("def") -const MP_PARTY_HELPFUL_SETS = symbol("hs") -const MP_PARTY_KERNIGHAN_LIN = symbol("kl") -const MP_PARTY_NONE = symbol("no") -const MATCOARSENMIS = symbol("mis") -const MATCOARSENHEM = symbol("hem") -const MATRIX_BINARY_FORMAT_DENSE = -1 -const MATMFFD_DS = symbol("ds") -const MATMFFD_WP = symbol("wp") -const DMDA = symbol("da") -const DMCOMPOSITE = symbol("composite") -const DMSLICED = symbol("sliced") -const DMSHELL = symbol("shell") -const DMPLEX = symbol("plex") -const DMCARTESIAN = symbol("cartesian") -const DMREDUNDANT = symbol("redundant") -const DMPATCH = symbol("patch") -const DMMOAB = symbol("moab") -const DMNETWORK = symbol("network") -const DM_FILE_CLASSID = 1211221 -const PFCONSTANT = symbol("constant") -const PFMAT = symbol("mat") -const PFSTRING = symbol("string") -const PFQUICK = symbol("quick") -const PFIDENTITY = symbol("identity") -const PFMATLAB = symbol("matlab") - -#= # Skipping MacroDefinition: PFSetOptionsPrefix ( a , s ) PetscObjectSetOptionsPrefix ( ( PetscObject ) ( a ) , s ) =# -const AOBASIC = symbol("basic") -const AOADVANCED = symbol("advanced") -const AOMAPPING = symbol("mapping") -const AOMEMORYSCALABLE = symbol("memoryscalable") -const PETSCSPACEPOLYNOMIAL = symbol("poly") -const PETSCSPACEDG = symbol("dg") -const PETSCDUALSPACELAGRANGE = symbol("lagrange") -const PETSCDUALSPACESIMPLE = symbol("simple") -const PETSCFEBASIC = symbol("basic") -const PETSCFENONAFFINE = symbol("nonaffine") -const PETSCFEOPENCL = symbol("opencl") -const PETSCFECOMPOSITE = symbol("composite") -const MATSEQUSFFT = symbol("sequsfft") -const PETSCLIMITERSIN = symbol("sin") -const PETSCLIMITERZERO = symbol("zero") -const PETSCLIMITERNONE = symbol("none") -const PETSCLIMITERMINMOD = symbol("minmod") -const PETSCLIMITERVANLEER = symbol("vanleer") -const PETSCLIMITERVANALBADA = symbol("vanalbada") -const PETSCLIMITERSUPERBEE = symbol("superbee") -const PETSCLIMITERMC = symbol("mc") -const PETSCFVUPWIND = symbol("upwind") -const PETSCFVLEASTSQUARES = symbol("leastsquares") -const PETSCPARTITIONERCHACO = symbol("chaco") -const PETSCPARTITIONERPARMETIS = symbol("parmetis") -const PETSCPARTITIONERSHELL = symbol("shell") -const PETSCPARTITIONERSIMPLE = symbol("simple") -const PETSCDSBASIC = symbol("basic") -const CHARACTERISTICDA = symbol("da") -const PCNONE = symbol("none") -const PCJACOBI = symbol("jacobi") -const PCSOR = symbol("sor") -const PCLU = symbol("lu") -const PCSHELL = symbol("shell") -const PCBJACOBI = symbol("bjacobi") -const PCMG = symbol("mg") -const PCEISENSTAT = symbol("eisenstat") -const PCILU = symbol("ilu") -const PCICC = symbol("icc") -const PCASM = symbol("asm") -const PCGASM = symbol("gasm") -const PCKSP = symbol("ksp") -const PCCOMPOSITE = symbol("composite") -const PCREDUNDANT = symbol("redundant") -const PCSPAI = symbol("spai") -const PCNN = symbol("nn") -const PCCHOLESKY = symbol("cholesky") -const PCPBJACOBI = symbol("pbjacobi") -const PCMAT = symbol("mat") -const PCHYPRE = symbol("hypre") -const PCPARMS = symbol("parms") -const PCFIELDSPLIT = symbol("fieldsplit") -const PCTFS = symbol("tfs") -const PCML = symbol("ml") -const PCGALERKIN = symbol("galerkin") -const PCEXOTIC = symbol("exotic") -const PCCP = symbol("cp") -const PCBFBT = symbol("bfbt") -const PCLSC = symbol("lsc") -const PCPYTHON = symbol("python") -const PCPFMG = symbol("pfmg") -const PCSYSPFMG = symbol("syspfmg") -const PCREDISTRIBUTE = symbol("redistribute") -const PCSVD = symbol("svd") -const PCGAMG = symbol("gamg") -const PCSACUSP = symbol("sacusp") -const PCSACUSPPOLY = symbol("sacusppoly") -const PCBICGSTABCUSP = symbol("bicgstabcusp") -const PCAINVCUSP = symbol("ainvcusp") -const PCBDDC = symbol("bddc") -const PCKACZMARZ = symbol("kaczmarz") - -#= # begin enum PCSide =# -typealias PCSide Cint - -const PC_SIDE_DEFAULT = (Int32)(-1) -const PC_LEFT = (Int32)(0) -const PC_RIGHT = (Int32)(1) -const PC_SYMMETRIC = (Int32)(2) - -#= # end enum PCSide =# -const PC_SIDE_MAX = PC_SYMMETRIC + 1 -const PCGAMGAGG = symbol("agg") -const PCGAMGGEO = symbol("geo") -const PCGAMGCLASSICAL = symbol("classical") -const PCGAMGCLASSICALDIRECT = symbol("direct") -const PCGAMGCLASSICALSTANDARD = symbol("standard") - -#= # begin enum PCMGType =# -typealias PCMGType UInt32 - -const PC_MG_MULTIPLICATIVE = (UInt32)(0) -const PC_MG_ADDITIVE = (UInt32)(1) -const PC_MG_FULL = (UInt32)(2) -const PC_MG_KASKADE = (UInt32)(3) - -#= # end enum PCMGType =# -const PC_MG_CASCADE = PC_MG_KASKADE -const PC_FILE_CLASSID = 1211222 -const KSPRICHARDSON = symbol("richardson") -const KSPCHEBYSHEV = symbol("chebyshev") -const KSPCG = symbol("cg") -const KSPGROPPCG = symbol("groppcg") -const KSPPIPECG = symbol("pipecg") -const KSPCGNE = symbol("cgne") -const KSPNASH = symbol("nash") -const KSPSTCG = symbol("stcg") -const KSPGLTR = symbol("gltr") -const KSPFCG = symbol("fcg") -const KSPGMRES = symbol("gmres") -const KSPFGMRES = symbol("fgmres") -const KSPLGMRES = symbol("lgmres") -const KSPDGMRES = symbol("dgmres") -const KSPPGMRES = symbol("pgmres") -const KSPTCQMR = symbol("tcqmr") -const KSPBCGS = symbol("bcgs") -const KSPIBCGS = symbol("ibcgs") -const KSPFBCGS = symbol("fbcgs") -const KSPFBCGSR = symbol("fbcgsr") -const KSPBCGSL = symbol("bcgsl") -const KSPCGS = symbol("cgs") -const KSPTFQMR = symbol("tfqmr") -const KSPCR = symbol("cr") -const KSPPIPECR = symbol("pipecr") -const KSPLSQR = symbol("lsqr") -const KSPPREONLY = symbol("preonly") -const KSPQCG = symbol("qcg") -const KSPBICG = symbol("bicg") -const KSPMINRES = symbol("minres") -const KSPSYMMLQ = symbol("symmlq") -const KSPLCD = symbol("lcd") -const KSPPYTHON = symbol("python") -const KSPGCR = symbol("gcr") -const KSP_FILE_CLASSID = 1211223 - -#= # begin enum KSPNormType =# -typealias KSPNormType Cint - -const KSP_NORM_DEFAULT = (Int32)(-1) -const KSP_NORM_NONE = (Int32)(0) -const KSP_NORM_PRECONDITIONED = (Int32)(1) -const KSP_NORM_UNPRECONDITIONED = (Int32)(2) -const KSP_NORM_NATURAL = (Int32)(3) - -#= # end enum KSPNormType =# -const KSP_NORM_MAX = KSP_NORM_NATURAL + 1 - -#= # Skipping MacroDefinition: KSPDefaultConverged ( KSPDefaultConverged , KSPConvergedDefault ) =# -#= # Skipping MacroDefinition: KSPDefaultConvergedDestroy ( KSPDefaultConvergedDestroy , KSPConvergedDefaultDestroy ) =# -#= # Skipping MacroDefinition: KSPDefaultConvergedCreate ( KSPDefaultConvergedCreate , KSPConvergedDefaultCreate ) =# -#= # Skipping MacroDefinition: KSPDefaultConvergedSetUIRNorm ( KSPDefaultConvergedSetUIRNorm , KSPConvergedDefaultSetUIRNorm ) =# -#= # Skipping MacroDefinition: KSPDefaultConvergedSetUMIRNorm ( KSPDefaultConvergedSetUMIRNorm , KSPConvergedDefaultSetUMIRNorm ) =# -#= # Skipping MacroDefinition: KSPSkipConverged ( KSPSkipConverged , KSPConvergedSkip ) =# -const SNESNEWTONLS = symbol("newtonls") -const SNESNEWTONTR = symbol("newtontr") -const SNESPYTHON = symbol("python") -const SNESTEST = symbol("test") -const SNESNRICHARDSON = symbol("nrichardson") -const SNESKSPONLY = symbol("ksponly") -const SNESVINEWTONRSLS = symbol("vinewtonrsls") -const SNESVINEWTONSSLS = symbol("vinewtonssls") -const SNESNGMRES = symbol("ngmres") -const SNESQN = symbol("qn") -const SNESSHELL = symbol("shell") -const SNESNGS = symbol("ngs") -const SNESNCG = symbol("ncg") -const SNESFAS = symbol("fas") -const SNESMS = symbol("ms") -const SNESNASM = symbol("nasm") -const SNESANDERSON = symbol("anderson") -const SNESASPIN = symbol("aspin") -const SNESCOMPOSITE = symbol("composite") -const SNES_FILE_CLASSID = 1211224 - -#= # Skipping MacroDefinition: SNESSkipConverged ( SNESSkipConverged , SNESConvergedSkip ) =# -const SNESLINESEARCHBT = symbol("bt") -const SNESLINESEARCHNLEQERR = symbol("nleqerr") -const SNESLINESEARCHBASIC = symbol("basic") -const SNESLINESEARCHL2 = symbol("l2") -const SNESLINESEARCHCP = symbol("cp") -const SNESLINESEARCHSHELL = symbol("shell") -const SNES_LINESEARCH_ORDER_LINEAR = 1 -const SNES_LINESEARCH_ORDER_QUADRATIC = 2 -const SNES_LINESEARCH_ORDER_CUBIC = 3 -const SNESMSM62 = symbol("m62") -const SNESMSEULER = symbol("euler") -const SNESMSJAMESON83 = symbol("jameson83") -const SNESMSVLTP21 = symbol("vltp21") -const SNESMSVLTP31 = symbol("vltp31") -const SNESMSVLTP41 = symbol("vltp41") -const SNESMSVLTP51 = symbol("vltp51") -const SNESMSVLTP61 = symbol("vltp61") -const TSEULER = symbol("euler") -const TSBEULER = symbol("beuler") -const TSPSEUDO = symbol("pseudo") -const TSCN = symbol("cn") -const TSSUNDIALS = symbol("sundials") -const TSRK = symbol("rk") -const TSPYTHON = symbol("python") -const TSTHETA = symbol("theta") -const TSALPHA = symbol("alpha") -const TSGL = symbol("gl") -const TSSSP = symbol("ssp") -const TSARKIMEX = symbol("arkimex") -const TSROSW = symbol("rosw") -const TSEIMEX = symbol("eimex") -const TSMIMEX = symbol("mimex") -const TSTRAJECTORYBASIC = symbol("basic") -const TSTRAJECTORYSINGLEFILE = symbol("singlefile") -const TS_FILE_CLASSID = 1211225 -const TSSSPRKS2 = symbol("rks2") -const TSSSPRKS3 = symbol("rks3") -const TSSSPRK104 = symbol("rk104") -const TSADAPTBASIC = symbol("basic") -const TSADAPTNONE = symbol("none") -const TSADAPTCFL = symbol("cfl") -const TSGLADAPT_NONE = symbol("none") -const TSGLADAPT_SIZE = symbol("size") -const TSGLADAPT_BOTH = symbol("both") -const TSGLACCEPT_ALWAYS = symbol("always") -const TSGL_IRKS = symbol("irks") - -#= # Skipping MacroDefinition: TSEIMEXType char * =# -const TSRK1FE = symbol("1fe") -const TSRK2A = symbol("2a") -const TSRK3 = symbol("3") -const TSRK3BS = symbol("3bs") -const TSRK4 = symbol("4") -const TSRK5F = symbol("5f") -const TSRK5DP = symbol("5dp") -const TSARKIMEX1BEE = symbol("1bee") -const TSARKIMEXA2 = symbol("a2") -const TSARKIMEXL2 = symbol("l2") -const TSARKIMEXARS122 = symbol("ars122") -const TSARKIMEX2C = symbol("2c") -const TSARKIMEX2D = symbol("2d") -const TSARKIMEX2E = symbol("2e") -const TSARKIMEXPRSSP2 = symbol("prssp2") -const TSARKIMEX3 = symbol("3") -const TSARKIMEXBPR3 = symbol("bpr3") -const TSARKIMEXARS443 = symbol("ars443") -const TSARKIMEX4 = symbol("4") -const TSARKIMEX5 = symbol("5") -const TSROSW2M = symbol("2m") -const TSROSW2P = symbol("2p") -const TSROSWRA3PW = symbol("ra3pw") -const TSROSWRA34PW2 = symbol("ra34pw2") -const TSROSWRODAS3 = symbol("rodas3") -const TSROSWSANDU3 = symbol("sandu3") -const TSROSWASSP3P3S1C = symbol("assp3p3s1c") -const TSROSWLASSP3P4S2C = symbol("lassp3p4s2c") -const TSROSWLLSSP3P4S2C = symbol("llssp3p4s2c") -const TSROSWARK3 = symbol("ark3") -const TSROSWTHETA1 = symbol("theta1") -const TSROSWTHETA2 = symbol("theta2") -const TSROSWGRK4T = symbol("grk4t") -const TSROSWSHAMP4 = symbol("shamp4") -const TSROSWVELDD4 = symbol("veldd4") -const TSROSW4L = symbol("4l") - -#= # Skipping MacroDefinition: TaoType char * =# -const TAOLMVM = symbol("lmvm") -const TAONLS = symbol("nls") -const TAONTR = symbol("ntr") -const TAONTL = symbol("ntl") -const TAOCG = symbol("cg") -const TAOTRON = symbol("tron") -const TAOOWLQN = symbol("owlqn") -const TAOBMRM = symbol("bmrm") -const TAOBLMVM = symbol("blmvm") -const TAOBQPIP = symbol("bqpip") -const TAOGPCG = symbol("gpcg") -const TAONM = symbol("nm") -const TAOPOUNDERS = symbol("pounders") -const TAOLCL = symbol("lcl") -const TAOSSILS = symbol("ssils") -const TAOSSFLS = symbol("ssfls") -const TAOASILS = symbol("asils") -const TAOASFLS = symbol("asfls") -const TAOIPM = symbol("ipm") -const TAOTEST = symbol("test") - -#= # Skipping MacroDefinition: TaoLineSearchType char * =# -const TAOLINESEARCHUNIT = symbol("unit") -const TAOLINESEARCHMT = symbol("more-thuente") -const TAOLINESEARCHGPCG = symbol("gpcg") -const TAOLINESEARCHARMIJO = symbol("armijo") -const TAOLINESEARCHOWARMIJO = symbol("owarmijo") -const TAOLINESEARCHIPM = symbol("ipm") - -typealias PetscErrorCode Cint -typealias PetscClassId Cint -typealias PetscMPIInt Cint - -#= # begin enum ANONYMOUS_1 =# -typealias ANONYMOUS_1 UInt32 - -const ENUM_DUMMY = (UInt32)(0) - -#= # end enum ANONYMOUS_1 =# -#= # begin enum PetscEnum =# -typealias PetscEnum UInt32 - -const ENUM_DUMMY = (UInt32)(0) - -#= # end enum PetscEnum =# -typealias Petsc64bitInt Int64 - -# excluding lhs of typealias PetscInt Petsc64bitInt -typealias PetscBLASInt Cint - -#= # begin enum ANONYMOUS_2 =# -typealias ANONYMOUS_2 UInt32 - -const PETSC_PRECISION_SINGLE = (UInt32)(4) -const PETSC_PRECISION_DOUBLE = (UInt32)(8) - -#= # end enum ANONYMOUS_2 =# -#= # begin enum PetscPrecision =# -typealias PetscPrecision UInt32 - -const PETSC_PRECISION_SINGLE = (UInt32)(4) -const PETSC_PRECISION_DOUBLE = (UInt32)(8) - -#= # end enum PetscPrecision =# -#= # begin enum ANONYMOUS_3 =# -typealias ANONYMOUS_3 UInt32 - -const PETSC_FALSE = (UInt32)(0) -const PETSC_TRUE = (UInt32)(1) - -#= # end enum ANONYMOUS_3 =# -#= # begin enum PetscBool =# -typealias PetscBool UInt32 - -const PETSC_FALSE = (UInt32)(0) -const PETSC_TRUE = (UInt32)(1) - -#= # end enum PetscBool =# -# skipping undefined typealias typealias PetscComplex Complex -#= # begin enum ANONYMOUS_4 =# -typealias ANONYMOUS_4 UInt32 - -const PETSC_SCALAR_DOUBLE = (UInt32)(0) -const PETSC_SCALAR_SINGLE = (UInt32)(1) -const PETSC_SCALAR_LONG_DOUBLE = (UInt32)(2) - -#= # end enum ANONYMOUS_4 =# -#= # begin enum PetscScalarPrecision =# -typealias PetscScalarPrecision UInt32 - -const PETSC_SCALAR_DOUBLE = (UInt32)(0) -const PETSC_SCALAR_SINGLE = (UInt32)(1) -const PETSC_SCALAR_LONG_DOUBLE = (UInt32)(2) - -#= # end enum PetscScalarPrecision =# -typealias MatScalar Float64 -typealias MatReal Float64 - -#= skipping type declaration with undefined symbols: -immutable petsc_mpiu_2scalar - a::PetscScalar - b::PetscScalar -end -=# -#= skipping type declaration with undefined symbols: -immutable petsc_mpiu_2int - a::PetscInt - b::PetscInt -end -=# -#= # begin enum ANONYMOUS_5 =# -typealias ANONYMOUS_5 UInt32 - -const PETSC_COPY_VALUES = (UInt32)(0) -const PETSC_OWN_POINTER = (UInt32)(1) -const PETSC_USE_POINTER = (UInt32)(2) - -#= # end enum ANONYMOUS_5 =# -#= # begin enum PetscCopyMode =# -typealias PetscCopyMode UInt32 - -const PETSC_COPY_VALUES = (UInt32)(0) -const PETSC_OWN_POINTER = (UInt32)(1) -const PETSC_USE_POINTER = (UInt32)(2) - -#= # end enum PetscCopyMode =# -typealias PetscLogDouble Cdouble - -#= # begin enum ANONYMOUS_6 =# -typealias ANONYMOUS_6 UInt32 - -const PETSC_INT = (UInt32)(0) -const PETSC_DOUBLE = (UInt32)(1) -const PETSC_COMPLEX = (UInt32)(2) -const PETSC_LONG = (UInt32)(3) -const PETSC_SHORT = (UInt32)(4) -const PETSC_FLOAT = (UInt32)(5) -const PETSC_CHAR = (UInt32)(6) -const PETSC_BIT_LOGICAL = (UInt32)(7) -const PETSC_ENUM = (UInt32)(8) -const PETSC_BOOL = (UInt32)(9) -const PETSC___FLOAT128 = (UInt32)(10) -const PETSC_OBJECT = (UInt32)(11) -const PETSC_FUNCTION = (UInt32)(12) -const PETSC_STRING = (UInt32)(12) - -#= # end enum ANONYMOUS_6 =# -immutable _p_PetscToken -end - -typealias PetscToken Ptr{_p_PetscToken} - -immutable _p_PetscObject -end - -typealias PetscObject Ptr{_p_PetscObject} -typealias PetscObjectId Petsc64bitInt -typealias PetscObjectState Petsc64bitInt - -immutable _n_PetscFunctionList -end - -typealias PetscFunctionList Ptr{_n_PetscFunctionList} - -#= # begin enum ANONYMOUS_7 =# -typealias ANONYMOUS_7 UInt32 - -const FILE_MODE_READ = (UInt32)(0) -const FILE_MODE_WRITE = (UInt32)(1) -const FILE_MODE_APPEND = (UInt32)(2) -const FILE_MODE_UPDATE = (UInt32)(3) -const FILE_MODE_APPEND_UPDATE = (UInt32)(4) - -#= # end enum ANONYMOUS_7 =# -#= # begin enum PetscFileMode =# -typealias PetscFileMode UInt32 - -const FILE_MODE_READ = (UInt32)(0) -const FILE_MODE_WRITE = (UInt32)(1) -const FILE_MODE_APPEND = (UInt32)(2) -const FILE_MODE_UPDATE = (UInt32)(3) -const FILE_MODE_APPEND_UPDATE = (UInt32)(4) - -#= # end enum PetscFileMode =# -#= # begin enum ANONYMOUS_8 =# -typealias ANONYMOUS_8 UInt32 - -const PETSC_ERROR_INITIAL = (UInt32)(0) -const PETSC_ERROR_REPEAT = (UInt32)(1) -const PETSC_ERROR_IN_CXX = (UInt32)(2) - -#= # end enum ANONYMOUS_8 =# -#= # begin enum PetscErrorType =# -typealias PetscErrorType UInt32 - -const PETSC_ERROR_INITIAL = (UInt32)(0) -const PETSC_ERROR_REPEAT = (UInt32)(1) -const PETSC_ERROR_IN_CXX = (UInt32)(2) - -#= # end enum PetscErrorType =# -#= # begin enum ANONYMOUS_9 =# -typealias ANONYMOUS_9 UInt32 - -const PETSC_FP_TRAP_OFF = (UInt32)(0) -const PETSC_FP_TRAP_ON = (UInt32)(1) - -#= # end enum ANONYMOUS_9 =# -#= # begin enum PetscFPTrap =# -typealias PetscFPTrap UInt32 - -const PETSC_FP_TRAP_OFF = (UInt32)(0) -const PETSC_FP_TRAP_ON = (UInt32)(1) - -#= # end enum PetscFPTrap =# -immutable Array_64_Ptr - d1::Ptr{UInt8} - d2::Ptr{UInt8} - d3::Ptr{UInt8} - d4::Ptr{UInt8} - d5::Ptr{UInt8} - d6::Ptr{UInt8} - d7::Ptr{UInt8} - d8::Ptr{UInt8} - d9::Ptr{UInt8} - d10::Ptr{UInt8} - d11::Ptr{UInt8} - d12::Ptr{UInt8} - d13::Ptr{UInt8} - d14::Ptr{UInt8} - d15::Ptr{UInt8} - d16::Ptr{UInt8} - d17::Ptr{UInt8} - d18::Ptr{UInt8} - d19::Ptr{UInt8} - d20::Ptr{UInt8} - d21::Ptr{UInt8} - d22::Ptr{UInt8} - d23::Ptr{UInt8} - d24::Ptr{UInt8} - d25::Ptr{UInt8} - d26::Ptr{UInt8} - d27::Ptr{UInt8} - d28::Ptr{UInt8} - d29::Ptr{UInt8} - d30::Ptr{UInt8} - d31::Ptr{UInt8} - d32::Ptr{UInt8} - d33::Ptr{UInt8} - d34::Ptr{UInt8} - d35::Ptr{UInt8} - d36::Ptr{UInt8} - d37::Ptr{UInt8} - d38::Ptr{UInt8} - d39::Ptr{UInt8} - d40::Ptr{UInt8} - d41::Ptr{UInt8} - d42::Ptr{UInt8} - d43::Ptr{UInt8} - d44::Ptr{UInt8} - d45::Ptr{UInt8} - d46::Ptr{UInt8} - d47::Ptr{UInt8} - d48::Ptr{UInt8} - d49::Ptr{UInt8} - d50::Ptr{UInt8} - d51::Ptr{UInt8} - d52::Ptr{UInt8} - d53::Ptr{UInt8} - d54::Ptr{UInt8} - d55::Ptr{UInt8} - d56::Ptr{UInt8} - d57::Ptr{UInt8} - d58::Ptr{UInt8} - d59::Ptr{UInt8} - d60::Ptr{UInt8} - d61::Ptr{UInt8} - d62::Ptr{UInt8} - d63::Ptr{UInt8} - d64::Ptr{UInt8} -end - -zero(::Type{Array_64_Ptr}) = begin # /home/jared/.julia/v0.4/Clang/src/wrap_c.jl, line 266: - Array_64_Ptr(fill(zero(Ptr{UInt8}),64)...) - end - -immutable Array_64_Cint - d1::Cint - d2::Cint - d3::Cint - d4::Cint - d5::Cint - d6::Cint - d7::Cint - d8::Cint - d9::Cint - d10::Cint - d11::Cint - d12::Cint - d13::Cint - d14::Cint - d15::Cint - d16::Cint - d17::Cint - d18::Cint - d19::Cint - d20::Cint - d21::Cint - d22::Cint - d23::Cint - d24::Cint - d25::Cint - d26::Cint - d27::Cint - d28::Cint - d29::Cint - d30::Cint - d31::Cint - d32::Cint - d33::Cint - d34::Cint - d35::Cint - d36::Cint - d37::Cint - d38::Cint - d39::Cint - d40::Cint - d41::Cint - d42::Cint - d43::Cint - d44::Cint - d45::Cint - d46::Cint - d47::Cint - d48::Cint - d49::Cint - d50::Cint - d51::Cint - d52::Cint - d53::Cint - d54::Cint - d55::Cint - d56::Cint - d57::Cint - d58::Cint - d59::Cint - d60::Cint - d61::Cint - d62::Cint - d63::Cint - d64::Cint -end - -zero(::Type{Array_64_Cint}) = begin # /home/jared/.julia/v0.4/Clang/src/wrap_c.jl, line 266: - Array_64_Cint(fill(zero(Cint),64)...) - end - -immutable Array_64_PetscBool - d1::PetscBool - d2::PetscBool - d3::PetscBool - d4::PetscBool - d5::PetscBool - d6::PetscBool - d7::PetscBool - d8::PetscBool - d9::PetscBool - d10::PetscBool - d11::PetscBool - d12::PetscBool - d13::PetscBool - d14::PetscBool - d15::PetscBool - d16::PetscBool - d17::PetscBool - d18::PetscBool - d19::PetscBool - d20::PetscBool - d21::PetscBool - d22::PetscBool - d23::PetscBool - d24::PetscBool - d25::PetscBool - d26::PetscBool - d27::PetscBool - d28::PetscBool - d29::PetscBool - d30::PetscBool - d31::PetscBool - d32::PetscBool - d33::PetscBool - d34::PetscBool - d35::PetscBool - d36::PetscBool - d37::PetscBool - d38::PetscBool - d39::PetscBool - d40::PetscBool - d41::PetscBool - d42::PetscBool - d43::PetscBool - d44::PetscBool - d45::PetscBool - d46::PetscBool - d47::PetscBool - d48::PetscBool - d49::PetscBool - d50::PetscBool - d51::PetscBool - d52::PetscBool - d53::PetscBool - d54::PetscBool - d55::PetscBool - d56::PetscBool - d57::PetscBool - d58::PetscBool - d59::PetscBool - d60::PetscBool - d61::PetscBool - d62::PetscBool - d63::PetscBool - d64::PetscBool -end - -zero(::Type{Array_64_PetscBool}) = begin # /home/jared/.julia/v0.4/Clang/src/wrap_c.jl, line 266: - Array_64_PetscBool(fill(zero(PetscBool),64)...) - end - -immutable PetscStack - _function::Array_64_Ptr - file::Array_64_Ptr - line::Array_64_Cint - petscroutine::Array_64_PetscBool - currentsize::Cint - hotdepth::Cint -end - -typealias PetscVoidStarFunction Ptr{Ptr{Void}} -typealias PetscVoidFunction Ptr{Void} -typealias PetscErrorCodeFunction Ptr{Void} - -immutable _p_PetscViewer -end - -immutable PetscViewer{T} - pobj::Ptr{Void} -end - -#= # begin enum ANONYMOUS_10 =# -typealias ANONYMOUS_10 UInt32 - -const OPTION_INT = (UInt32)(0) -const OPTION_BOOL = (UInt32)(1) -const OPTION_REAL = (UInt32)(2) -const OPTION_FLIST = (UInt32)(3) -const OPTION_STRING = (UInt32)(4) -const OPTION_REAL_ARRAY = (UInt32)(5) -const OPTION_SCALAR_ARRAY = (UInt32)(6) -const OPTION_HEAD = (UInt32)(7) -const OPTION_INT_ARRAY = (UInt32)(8) -const OPTION_ELIST = (UInt32)(9) -const OPTION_BOOL_ARRAY = (UInt32)(10) -const OPTION_STRING_ARRAY = (UInt32)(11) - -#= # end enum ANONYMOUS_10 =# -#= # begin enum PetscOptionType =# -typealias PetscOptionType UInt32 - -const OPTION_INT = (UInt32)(0) -const OPTION_BOOL = (UInt32)(1) -const OPTION_REAL = (UInt32)(2) -const OPTION_FLIST = (UInt32)(3) -const OPTION_STRING = (UInt32)(4) -const OPTION_REAL_ARRAY = (UInt32)(5) -const OPTION_SCALAR_ARRAY = (UInt32)(6) -const OPTION_HEAD = (UInt32)(7) -const OPTION_INT_ARRAY = (UInt32)(8) -const OPTION_ELIST = (UInt32)(9) -const OPTION_BOOL_ARRAY = (UInt32)(10) -const OPTION_STRING_ARRAY = (UInt32)(11) - -#= # end enum PetscOptionType =# -immutable PetscOption{T} - pobj::Ptr{Void} -end - -immutable _n_PetscOption - option::Ptr{UInt8} - text::Ptr{UInt8} - data::Ptr{Void} - flist::PetscFunctionList - list::Ptr{Ptr{UInt8}} - nlist::UInt8 - man::Ptr{UInt8} - arraylength::Csize_t - set::PetscBool - _type::PetscOptionType - next::PetscOption - pman::Ptr{UInt8} - edata::Ptr{Void} -end - -#= skipping type declaration with undefined symbols: -immutable _p_PetscOptions - count::PetscInt - next::PetscOption - prefix::Ptr{UInt8} - pprefix::Ptr{UInt8} - title::Ptr{UInt8} - comm::MPI_Comm - printhelp::PetscBool - changedmethod::PetscBool - alreadyprinted::PetscBool - object::PetscObject -end -=# -#= skipping type declaration with undefined symbols: -immutable PetscOptions - count::PetscInt - next::PetscOption - prefix::Ptr{UInt8} - pprefix::Ptr{UInt8} - title::Ptr{UInt8} - comm::MPI_Comm - printhelp::PetscBool - changedmethod::PetscBool - alreadyprinted::PetscBool - object::PetscObject -end -=# -typealias PetscDLHandle Ptr{Void} - -#= # begin enum ANONYMOUS_11 =# -typealias ANONYMOUS_11 UInt32 - -const PETSC_DL_DECIDE = (UInt32)(0) -const PETSC_DL_NOW = (UInt32)(1) -const PETSC_DL_LOCAL = (UInt32)(2) - -#= # end enum ANONYMOUS_11 =# -#= # begin enum PetscDLMode =# -typealias PetscDLMode UInt32 - -const PETSC_DL_DECIDE = (UInt32)(0) -const PETSC_DL_NOW = (UInt32)(1) -const PETSC_DL_LOCAL = (UInt32)(2) - -#= # end enum PetscDLMode =# -immutable _n_PetscObjectList -end - -typealias PetscObjectList Ptr{_n_PetscObjectList} - -immutable _n_PetscDLLibrary -end - -typealias PetscDLLibrary Ptr{_n_PetscDLLibrary} -typealias PetscLogEvent Cint -typealias PetscLogStage Cint - -immutable _n_PetscIntStack -end - -typealias PetscIntStack Ptr{_n_PetscIntStack} - -immutable PetscClassRegInfo - name::Ptr{UInt8} - classid::PetscClassId -end - -immutable PetscClassPerfInfo - id::PetscClassId - creations::Cint - destructions::Cint - mem::PetscLogDouble - descMem::PetscLogDouble -end - -immutable _n_PetscClassRegLog - numClasses::Cint - maxClasses::Cint - classInfo::Ptr{PetscClassRegInfo} -end - -typealias PetscClassRegLog Ptr{_n_PetscClassRegLog} - -immutable _n_PetscClassPerfLog - numClasses::Cint - maxClasses::Cint - classInfo::Ptr{PetscClassPerfInfo} -end - -typealias PetscClassPerfLog Ptr{_n_PetscClassPerfLog} - -immutable PetscEventRegInfo - name::Ptr{UInt8} - classid::PetscClassId -end - -immutable PetscEventPerfInfo - id::Cint - active::PetscBool - visible::PetscBool - depth::Cint - count::Cint - flops::PetscLogDouble - flops2::PetscLogDouble - flopsTmp::PetscLogDouble - time::PetscLogDouble - time2::PetscLogDouble - timeTmp::PetscLogDouble - numMessages::PetscLogDouble - messageLength::PetscLogDouble - numReductions::PetscLogDouble -end - -immutable _n_PetscEventRegLog - numEvents::Cint - maxEvents::Cint - eventInfo::Ptr{PetscEventRegInfo} -end - -typealias PetscEventRegLog Ptr{_n_PetscEventRegLog} - -immutable _n_PetscEventPerfLog - numEvents::Cint - maxEvents::Cint - eventInfo::Ptr{PetscEventPerfInfo} -end - -typealias PetscEventPerfLog Ptr{_n_PetscEventPerfLog} - -immutable _PetscStageInfo - name::Ptr{UInt8} - used::PetscBool - perfInfo::PetscEventPerfInfo - eventLog::PetscEventPerfLog - classLog::PetscClassPerfLog -end - -immutable PetscStageInfo - name::Ptr{UInt8} - used::PetscBool - perfInfo::PetscEventPerfInfo - eventLog::PetscEventPerfLog - classLog::PetscClassPerfLog -end - -immutable _n_PetscStageLog - numStages::Cint - maxStages::Cint - stack::PetscIntStack - curStage::Cint - stageInfo::Ptr{PetscStageInfo} - eventLog::PetscEventRegLog - classLog::PetscClassRegLog -end - -typealias PetscStageLog Ptr{_n_PetscStageLog} - -immutable _p_PetscContainer -end - -typealias PetscContainer Ptr{_p_PetscContainer} -typealias PetscRandomType Symbol - -immutable _p_PetscRandom -end - -typealias PetscRandom Ptr{_p_PetscRandom} - -#= # begin enum ANONYMOUS_12 =# -typealias ANONYMOUS_12 UInt32 - -const PETSC_BINARY_SEEK_SET = (UInt32)(0) -const PETSC_BINARY_SEEK_CUR = (UInt32)(1) -const PETSC_BINARY_SEEK_END = (UInt32)(2) - -#= # end enum ANONYMOUS_12 =# -#= # begin enum PetscBinarySeekType =# -typealias PetscBinarySeekType UInt32 - -const PETSC_BINARY_SEEK_SET = (UInt32)(0) -const PETSC_BINARY_SEEK_CUR = (UInt32)(1) -const PETSC_BINARY_SEEK_END = (UInt32)(2) - -#= # end enum PetscBinarySeekType =# -#= # begin enum ANONYMOUS_13 =# -typealias ANONYMOUS_13 Cint - -const PETSC_BUILDTWOSIDED_NOTSET = (Int32)(-1) -const PETSC_BUILDTWOSIDED_ALLREDUCE = (Int32)(0) -const PETSC_BUILDTWOSIDED_IBARRIER = (Int32)(1) - -#= # end enum ANONYMOUS_13 =# -#= # begin enum PetscBuildTwoSidedType =# -typealias PetscBuildTwoSidedType Cint - -const PETSC_BUILDTWOSIDED_NOTSET = (Int32)(-1) -const PETSC_BUILDTWOSIDED_ALLREDUCE = (Int32)(0) -const PETSC_BUILDTWOSIDED_IBARRIER = (Int32)(1) - -#= # end enum PetscBuildTwoSidedType =# -#= # begin enum ANONYMOUS_14 =# -typealias ANONYMOUS_14 UInt32 - -const NOT_SET_VALUES = (UInt32)(0) -const INSERT_VALUES = (UInt32)(1) -const ADD_VALUES = (UInt32)(2) -const MAX_VALUES = (UInt32)(3) -const INSERT_ALL_VALUES = (UInt32)(4) -const ADD_ALL_VALUES = (UInt32)(5) -const INSERT_BC_VALUES = (UInt32)(6) -const ADD_BC_VALUES = (UInt32)(7) - -#= # end enum ANONYMOUS_14 =# -#= # begin enum InsertMode =# -typealias InsertMode UInt32 - -const NOT_SET_VALUES = (UInt32)(0) -const INSERT_VALUES = (UInt32)(1) -const ADD_VALUES = (UInt32)(2) -const MAX_VALUES = (UInt32)(3) -const INSERT_ALL_VALUES = (UInt32)(4) -const ADD_ALL_VALUES = (UInt32)(5) -const INSERT_BC_VALUES = (UInt32)(6) -const ADD_BC_VALUES = (UInt32)(7) - -#= # end enum InsertMode =# -#= # begin enum ANONYMOUS_15 =# -typealias ANONYMOUS_15 UInt32 - -const PETSC_SUBCOMM_GENERAL = (UInt32)(0) -const PETSC_SUBCOMM_CONTIGUOUS = (UInt32)(1) -const PETSC_SUBCOMM_INTERLACED = (UInt32)(2) - -#= # end enum ANONYMOUS_15 =# -#= # begin enum PetscSubcommType =# -typealias PetscSubcommType UInt32 - -const PETSC_SUBCOMM_GENERAL = (UInt32)(0) -const PETSC_SUBCOMM_CONTIGUOUS = (UInt32)(1) -const PETSC_SUBCOMM_INTERLACED = (UInt32)(2) - -#= # end enum PetscSubcommType =# -immutable _n_PetscSubcomm - parent::MPI_Comm - dupparent::MPI_Comm - child::MPI_Comm - n::PetscMPIInt - color::PetscMPIInt - subsize::Ptr{PetscMPIInt} - _type::PetscSubcommType -end - -typealias PetscSubcomm Ptr{_n_PetscSubcomm} - -immutable _n_PetscSegBuffer -end - -typealias PetscSegBuffer Ptr{_n_PetscSegBuffer} - -immutable _n_PetscBag -end - -typealias PetscBag Ptr{_n_PetscBag} - -immutable _n_PetscBagItem -end - -typealias PetscBagItem Ptr{_n_PetscBagItem} -typealias PetscViewerType Symbol -typealias PetscDrawType Symbol - -immutable _p_PetscDraw -end - -typealias PetscDraw Ptr{_p_PetscDraw} - -immutable _p_PetscDrawAxis -end - -typealias PetscDrawAxis Ptr{_p_PetscDrawAxis} - -immutable _p_PetscDrawLG -end - -typealias PetscDrawLG Ptr{_p_PetscDrawLG} - -immutable _p_PetscDrawSP -end - -typealias PetscDrawSP Ptr{_p_PetscDrawSP} - -immutable _p_PetscDrawHG -end - -typealias PetscDrawHG Ptr{_p_PetscDrawHG} - -immutable _p_PetscDrawBar -end - -typealias PetscDrawBar Ptr{_p_PetscDrawBar} - -#= # begin enum ANONYMOUS_16 =# -typealias ANONYMOUS_16 UInt32 - -const PETSC_VIEWER_DEFAULT = (UInt32)(0) -const PETSC_VIEWER_ASCII_MATLAB = (UInt32)(1) -const PETSC_VIEWER_ASCII_MATHEMATICA = (UInt32)(2) -const PETSC_VIEWER_ASCII_IMPL = (UInt32)(3) -const PETSC_VIEWER_ASCII_INFO = (UInt32)(4) -const PETSC_VIEWER_ASCII_INFO_DETAIL = (UInt32)(5) -const PETSC_VIEWER_ASCII_COMMON = (UInt32)(6) -const PETSC_VIEWER_ASCII_SYMMODU = (UInt32)(7) -const PETSC_VIEWER_ASCII_INDEX = (UInt32)(8) -const PETSC_VIEWER_ASCII_DENSE = (UInt32)(9) -const PETSC_VIEWER_ASCII_MATRIXMARKET = (UInt32)(10) -const PETSC_VIEWER_ASCII_VTK = (UInt32)(11) -const PETSC_VIEWER_ASCII_VTK_CELL = (UInt32)(12) -const PETSC_VIEWER_ASCII_VTK_COORDS = (UInt32)(13) -const PETSC_VIEWER_ASCII_PCICE = (UInt32)(14) -const PETSC_VIEWER_ASCII_PYTHON = (UInt32)(15) -const PETSC_VIEWER_ASCII_FACTOR_INFO = (UInt32)(16) -const PETSC_VIEWER_ASCII_LATEX = (UInt32)(17) -const PETSC_VIEWER_DRAW_BASIC = (UInt32)(18) -const PETSC_VIEWER_DRAW_LG = (UInt32)(19) -const PETSC_VIEWER_DRAW_CONTOUR = (UInt32)(20) -const PETSC_VIEWER_DRAW_PORTS = (UInt32)(21) -const PETSC_VIEWER_VTK_VTS = (UInt32)(22) -const PETSC_VIEWER_VTK_VTR = (UInt32)(23) -const PETSC_VIEWER_VTK_VTU = (UInt32)(24) -const PETSC_VIEWER_BINARY_MATLAB = (UInt32)(25) -const PETSC_VIEWER_NATIVE = (UInt32)(26) -const PETSC_VIEWER_HDF5_VIZ = (UInt32)(27) -const PETSC_VIEWER_NOFORMAT = (UInt32)(28) - -#= # end enum ANONYMOUS_16 =# -#= # begin enum PetscViewerFormat =# -typealias PetscViewerFormat UInt32 - -const PETSC_VIEWER_DEFAULT = (UInt32)(0) -const PETSC_VIEWER_ASCII_MATLAB = (UInt32)(1) -const PETSC_VIEWER_ASCII_MATHEMATICA = (UInt32)(2) -const PETSC_VIEWER_ASCII_IMPL = (UInt32)(3) -const PETSC_VIEWER_ASCII_INFO = (UInt32)(4) -const PETSC_VIEWER_ASCII_INFO_DETAIL = (UInt32)(5) -const PETSC_VIEWER_ASCII_COMMON = (UInt32)(6) -const PETSC_VIEWER_ASCII_SYMMODU = (UInt32)(7) -const PETSC_VIEWER_ASCII_INDEX = (UInt32)(8) -const PETSC_VIEWER_ASCII_DENSE = (UInt32)(9) -const PETSC_VIEWER_ASCII_MATRIXMARKET = (UInt32)(10) -const PETSC_VIEWER_ASCII_VTK = (UInt32)(11) -const PETSC_VIEWER_ASCII_VTK_CELL = (UInt32)(12) -const PETSC_VIEWER_ASCII_VTK_COORDS = (UInt32)(13) -const PETSC_VIEWER_ASCII_PCICE = (UInt32)(14) -const PETSC_VIEWER_ASCII_PYTHON = (UInt32)(15) -const PETSC_VIEWER_ASCII_FACTOR_INFO = (UInt32)(16) -const PETSC_VIEWER_ASCII_LATEX = (UInt32)(17) -const PETSC_VIEWER_DRAW_BASIC = (UInt32)(18) -const PETSC_VIEWER_DRAW_LG = (UInt32)(19) -const PETSC_VIEWER_DRAW_CONTOUR = (UInt32)(20) -const PETSC_VIEWER_DRAW_PORTS = (UInt32)(21) -const PETSC_VIEWER_VTK_VTS = (UInt32)(22) -const PETSC_VIEWER_VTK_VTR = (UInt32)(23) -const PETSC_VIEWER_VTK_VTU = (UInt32)(24) -const PETSC_VIEWER_BINARY_MATLAB = (UInt32)(25) -const PETSC_VIEWER_NATIVE = (UInt32)(26) -const PETSC_VIEWER_HDF5_VIZ = (UInt32)(27) -const PETSC_VIEWER_NOFORMAT = (UInt32)(28) - -#= # end enum PetscViewerFormat =# -#= # begin enum ANONYMOUS_17 =# -typealias ANONYMOUS_17 UInt32 - -const PETSC_VTK_POINT_FIELD = (UInt32)(0) -const PETSC_VTK_POINT_VECTOR_FIELD = (UInt32)(1) -const PETSC_VTK_CELL_FIELD = (UInt32)(2) -const PETSC_VTK_CELL_VECTOR_FIELD = (UInt32)(3) - -#= # end enum ANONYMOUS_17 =# -#= # begin enum PetscViewerVTKFieldType =# -typealias PetscViewerVTKFieldType UInt32 - -const PETSC_VTK_POINT_FIELD = (UInt32)(0) -const PETSC_VTK_POINT_VECTOR_FIELD = (UInt32)(1) -const PETSC_VTK_CELL_FIELD = (UInt32)(2) -const PETSC_VTK_CELL_VECTOR_FIELD = (UInt32)(3) - -#= # end enum PetscViewerVTKFieldType =# -immutable _n_PetscViewers -end - -typealias PetscViewers Ptr{_n_PetscViewers} -typealias PetscBT Symbol - -#= skipping type declaration with undefined symbols: -immutable _n_PetscTable - keytable::Ptr{PetscInt} - table::Ptr{PetscInt} - count::PetscInt - tablesize::PetscInt - head::PetscInt - maxkey::PetscInt -end -=# -# skipping undefined typealias typealias PetscTable Ptr{_n_PetscTable} -typealias PetscTablePosition Ptr{Int64} - -immutable _p_PetscMatlabEngine -end - -typealias PetscMatlabEngine Ptr{_p_PetscMatlabEngine} - -#= # begin enum ANONYMOUS_18 =# -typealias ANONYMOUS_18 UInt32 - -const PETSC_DRAW_MARKER_CROSS = (UInt32)(0) -const PETSC_DRAW_MARKER_POINT = (UInt32)(1) -const PETSC_DRAW_MARKER_PLUS = (UInt32)(2) -const PETSC_DRAW_MARKER_CIRCLE = (UInt32)(3) - -#= # end enum ANONYMOUS_18 =# -#= # begin enum PetscDrawMarkerType =# -typealias PetscDrawMarkerType UInt32 - -const PETSC_DRAW_MARKER_CROSS = (UInt32)(0) -const PETSC_DRAW_MARKER_POINT = (UInt32)(1) -const PETSC_DRAW_MARKER_PLUS = (UInt32)(2) -const PETSC_DRAW_MARKER_CIRCLE = (UInt32)(3) - -#= # end enum PetscDrawMarkerType =# -#= # begin enum ANONYMOUS_19 =# -typealias ANONYMOUS_19 UInt32 - -const PETSC_BUTTON_NONE = (UInt32)(0) -const PETSC_BUTTON_LEFT = (UInt32)(1) -const PETSC_BUTTON_CENTER = (UInt32)(2) -const PETSC_BUTTON_RIGHT = (UInt32)(3) -const PETSC_BUTTON_LEFT_SHIFT = (UInt32)(4) -const PETSC_BUTTON_CENTER_SHIFT = (UInt32)(5) -const PETSC_BUTTON_RIGHT_SHIFT = (UInt32)(6) - -#= # end enum ANONYMOUS_19 =# -#= # begin enum PetscDrawButton =# -typealias PetscDrawButton UInt32 - -const PETSC_BUTTON_NONE = (UInt32)(0) -const PETSC_BUTTON_LEFT = (UInt32)(1) -const PETSC_BUTTON_CENTER = (UInt32)(2) -const PETSC_BUTTON_RIGHT = (UInt32)(3) -const PETSC_BUTTON_LEFT_SHIFT = (UInt32)(4) -const PETSC_BUTTON_CENTER_SHIFT = (UInt32)(5) -const PETSC_BUTTON_RIGHT_SHIFT = (UInt32)(6) - -#= # end enum PetscDrawButton =# -#= skipping type declaration with undefined symbols: -immutable PetscDrawViewPorts - nports::PetscInt - xl::Ptr{PetscReal} - xr::Ptr{PetscReal} - yl::Ptr{PetscReal} - yr::Ptr{PetscReal} - draw::PetscDraw - port_xl::PetscReal - port_yl::PetscReal - port_xr::PetscReal - port_yr::PetscReal -end -=# -immutable _p_PetscSF -end - -typealias PetscSF Ptr{_p_PetscSF} - -#= skipping type declaration with undefined symbols: -immutable PetscSFNode - rank::PetscInt - index::PetscInt -end -=# -immutable _p_IS -end - -immutable IS{T} - pobj::Ptr{Void} -end - -immutable _p_ISLocalToGlobalMapping -end - -immutable ISLocalToGlobalMapping{T} - pobj::Ptr{Void} -end - -immutable _n_ISColoring -end - -immutable ISColoring{T} - pobj::Ptr{Void} -end - -#= skipping type declaration with undefined symbols: -immutable _n_PetscLayout - comm::MPI_Comm - n::PetscInt - N::PetscInt - rstart::PetscInt - rend::PetscInt - range::Ptr{PetscInt} - bs::PetscInt - refcnt::PetscInt - mapping::ISLocalToGlobalMapping - trstarts::Ptr{PetscInt} -end -=# -immutable PetscLayout{T} - pobj::Ptr{Void} -end - -immutable _p_PetscSection -end - -typealias PetscSection Ptr{_p_PetscSection} -typealias ISType Symbol - -#= # begin enum ANONYMOUS_20 =# -typealias ANONYMOUS_20 UInt32 - -const IS_GTOLM_MASK = (UInt32)(0) -const IS_GTOLM_DROP = (UInt32)(1) - -#= # end enum ANONYMOUS_20 =# -#= # begin enum ISGlobalToLocalMappingType =# -typealias ISGlobalToLocalMappingType UInt32 - -const IS_GTOLM_MASK = (UInt32)(0) -const IS_GTOLM_DROP = (UInt32)(1) - -#= # end enum ISGlobalToLocalMappingType =# -#= # begin enum ANONYMOUS_21 =# -typealias ANONYMOUS_21 UInt32 - -const IS_COLORING_GLOBAL = (UInt32)(0) -const IS_COLORING_GHOSTED = (UInt32)(1) - -#= # end enum ANONYMOUS_21 =# -#= # begin enum ISColoringType =# -typealias ISColoringType UInt32 - -const IS_COLORING_GLOBAL = (UInt32)(0) -const IS_COLORING_GHOSTED = (UInt32)(1) - -#= # end enum ISColoringType =# -typealias ISColoringValue UInt16 - -immutable _p_Vec -end - -immutable Vec{T} - pobj::Ptr{Void} -end - -immutable _p_VecScatter -end - -immutable VecScatter{T} - pobj::Ptr{Void} -end - -#= # begin enum ANONYMOUS_22 =# -typealias ANONYMOUS_22 UInt32 - -const SCATTER_FORWARD = (UInt32)(0) -const SCATTER_REVERSE = (UInt32)(1) -const SCATTER_FORWARD_LOCAL = (UInt32)(2) -const SCATTER_REVERSE_LOCAL = (UInt32)(3) -const SCATTER_LOCAL = (UInt32)(2) - -#= # end enum ANONYMOUS_22 =# -#= # begin enum ScatterMode =# -typealias ScatterMode UInt32 - -const SCATTER_FORWARD = (UInt32)(0) -const SCATTER_REVERSE = (UInt32)(1) -const SCATTER_FORWARD_LOCAL = (UInt32)(2) -const SCATTER_REVERSE_LOCAL = (UInt32)(3) -const SCATTER_LOCAL = (UInt32)(2) - -#= # end enum ScatterMode =# -typealias VecType Symbol - -#= # begin enum ANONYMOUS_23 =# -typealias ANONYMOUS_23 UInt32 - -const NORM_1 = (UInt32)(0) -const NORM_2 = (UInt32)(1) -const NORM_FROBENIUS = (UInt32)(2) -const NORM_INFINITY = (UInt32)(3) -const NORM_1_AND_2 = (UInt32)(4) - -#= # end enum ANONYMOUS_23 =# -#= # begin enum ANONYMOUS_24 =# -typealias ANONYMOUS_24 UInt32 - -const VEC_IGNORE_OFF_PROC_ENTRIES = (UInt32)(0) -const VEC_IGNORE_NEGATIVE_INDICES = (UInt32)(1) - -#= # end enum ANONYMOUS_24 =# -#= # begin enum VecOption =# -typealias VecOption UInt32 - -const VEC_IGNORE_OFF_PROC_ENTRIES = (UInt32)(0) -const VEC_IGNORE_NEGATIVE_INDICES = (UInt32)(1) - -#= # end enum VecOption =# -#= # begin enum ANONYMOUS_25 =# -typealias ANONYMOUS_25 UInt32 - -const VECOP_VIEW = (UInt32)(33) -const VECOP_LOAD = (UInt32)(41) -const VECOP_DUPLICATE = (UInt32)(0) - -#= # end enum ANONYMOUS_25 =# -#= # begin enum VecOperation =# -typealias VecOperation UInt32 - -const VECOP_VIEW = (UInt32)(33) -const VECOP_LOAD = (UInt32)(41) -const VECOP_DUPLICATE = (UInt32)(0) - -#= # end enum VecOperation =# -#= skipping type declaration with undefined symbols: -immutable _n_Vecs - n::PetscInt - v::Vec -end -=# -# skipping undefined typealias typealias Vecs Ptr{_n_Vecs} -immutable _p_Mat -end - -immutable Mat{T} - pobj::Ptr{Void} -end - -typealias MatType Symbol - -#= # begin enum ANONYMOUS_26 =# -typealias ANONYMOUS_26 UInt32 - -const MAT_FACTOR_NONE = (UInt32)(0) -const MAT_FACTOR_LU = (UInt32)(1) -const MAT_FACTOR_CHOLESKY = (UInt32)(2) -const MAT_FACTOR_ILU = (UInt32)(3) -const MAT_FACTOR_ICC = (UInt32)(4) -const MAT_FACTOR_ILUDT = (UInt32)(5) - -#= # end enum ANONYMOUS_26 =# -#= # begin enum MatFactorType =# -typealias MatFactorType UInt32 - -const MAT_FACTOR_NONE = (UInt32)(0) -const MAT_FACTOR_LU = (UInt32)(1) -const MAT_FACTOR_CHOLESKY = (UInt32)(2) -const MAT_FACTOR_ILU = (UInt32)(3) -const MAT_FACTOR_ICC = (UInt32)(4) -const MAT_FACTOR_ILUDT = (UInt32)(5) - -#= # end enum MatFactorType =# -#= # begin enum ANONYMOUS_27 =# -typealias ANONYMOUS_27 UInt32 - -const MAT_INITIAL_MATRIX = (UInt32)(0) -const MAT_REUSE_MATRIX = (UInt32)(1) -const MAT_IGNORE_MATRIX = (UInt32)(2) - -#= # end enum ANONYMOUS_27 =# -#= # begin enum MatReuse =# -typealias MatReuse UInt32 - -const MAT_INITIAL_MATRIX = (UInt32)(0) -const MAT_REUSE_MATRIX = (UInt32)(1) -const MAT_IGNORE_MATRIX = (UInt32)(2) - -#= # end enum MatReuse =# -#= # begin enum ANONYMOUS_28 =# -typealias ANONYMOUS_28 UInt32 - -const MAT_DO_NOT_GET_VALUES = (UInt32)(0) -const MAT_GET_VALUES = (UInt32)(1) - -#= # end enum ANONYMOUS_28 =# -#= # begin enum MatGetSubMatrixOption =# -typealias MatGetSubMatrixOption UInt32 - -const MAT_DO_NOT_GET_VALUES = (UInt32)(0) -const MAT_GET_VALUES = (UInt32)(1) - -#= # end enum MatGetSubMatrixOption =# -#= # begin enum ANONYMOUS_29 =# -typealias ANONYMOUS_29 UInt32 - -const DIFFERENT_NONZERO_PATTERN = (UInt32)(0) -const SUBSET_NONZERO_PATTERN = (UInt32)(1) -const SAME_NONZERO_PATTERN = (UInt32)(2) - -#= # end enum ANONYMOUS_29 =# -#= # begin enum MatStructure =# -typealias MatStructure UInt32 - -const DIFFERENT_NONZERO_PATTERN = (UInt32)(0) -const SUBSET_NONZERO_PATTERN = (UInt32)(1) -const SAME_NONZERO_PATTERN = (UInt32)(2) - -#= # end enum MatStructure =# -#= # begin enum ANONYMOUS_30 =# -typealias ANONYMOUS_30 UInt32 - -const MAT_COMPOSITE_ADDITIVE = (UInt32)(0) -const MAT_COMPOSITE_MULTIPLICATIVE = (UInt32)(1) - -#= # end enum ANONYMOUS_30 =# -#= # begin enum MatCompositeType =# -typealias MatCompositeType UInt32 - -const MAT_COMPOSITE_ADDITIVE = (UInt32)(0) -const MAT_COMPOSITE_MULTIPLICATIVE = (UInt32)(1) - -#= # end enum MatCompositeType =# -#= skipping type declaration with undefined symbols: -immutable MatStencil - k::PetscInt - j::PetscInt - i::PetscInt - c::PetscInt -end -=# -#= # begin enum ANONYMOUS_31 =# -typealias ANONYMOUS_31 UInt32 - -const MAT_FLUSH_ASSEMBLY = (UInt32)(1) -const MAT_FINAL_ASSEMBLY = (UInt32)(0) - -#= # end enum ANONYMOUS_31 =# -#= # begin enum MatAssemblyType =# -typealias MatAssemblyType UInt32 - -const MAT_FLUSH_ASSEMBLY = (UInt32)(1) -const MAT_FINAL_ASSEMBLY = (UInt32)(0) - -#= # end enum MatAssemblyType =# -#= # begin enum ANONYMOUS_32 =# -typealias ANONYMOUS_32 Cint - -const MAT_OPTION_MIN = (Int32)(-5) -const MAT_NEW_NONZERO_LOCATION_ERR = (Int32)(-4) -const MAT_UNUSED_NONZERO_LOCATION_ERR = (Int32)(-3) -const MAT_NEW_NONZERO_ALLOCATION_ERR = (Int32)(-2) -const MAT_ROW_ORIENTED = (Int32)(-1) -const MAT_SYMMETRIC = (Int32)(1) -const MAT_STRUCTURALLY_SYMMETRIC = (Int32)(2) -const MAT_NEW_DIAGONALS = (Int32)(3) -const MAT_IGNORE_OFF_PROC_ENTRIES = (Int32)(4) -const MAT_USE_HASH_TABLE = (Int32)(5) -const MAT_KEEP_NONZERO_PATTERN = (Int32)(6) -const MAT_IGNORE_ZERO_ENTRIES = (Int32)(7) -const MAT_USE_INODES = (Int32)(8) -const MAT_HERMITIAN = (Int32)(9) -const MAT_SYMMETRY_ETERNAL = (Int32)(10) -const MAT_DUMMY = (Int32)(11) -const MAT_IGNORE_LOWER_TRIANGULAR = (Int32)(12) -const MAT_ERROR_LOWER_TRIANGULAR = (Int32)(13) -const MAT_GETROW_UPPERTRIANGULAR = (Int32)(14) -const MAT_SPD = (Int32)(15) -const MAT_NO_OFF_PROC_ZERO_ROWS = (Int32)(16) -const MAT_NO_OFF_PROC_ENTRIES = (Int32)(17) -const MAT_NEW_NONZERO_LOCATIONS = (Int32)(18) -const MAT_OPTION_MAX = (Int32)(19) - -#= # end enum ANONYMOUS_32 =# -#= # begin enum MatOption =# -typealias MatOption Cint - -const MAT_OPTION_MIN = (Int32)(-5) -const MAT_NEW_NONZERO_LOCATION_ERR = (Int32)(-4) -const MAT_UNUSED_NONZERO_LOCATION_ERR = (Int32)(-3) -const MAT_NEW_NONZERO_ALLOCATION_ERR = (Int32)(-2) -const MAT_ROW_ORIENTED = (Int32)(-1) -const MAT_SYMMETRIC = (Int32)(1) -const MAT_STRUCTURALLY_SYMMETRIC = (Int32)(2) -const MAT_NEW_DIAGONALS = (Int32)(3) -const MAT_IGNORE_OFF_PROC_ENTRIES = (Int32)(4) -const MAT_USE_HASH_TABLE = (Int32)(5) -const MAT_KEEP_NONZERO_PATTERN = (Int32)(6) -const MAT_IGNORE_ZERO_ENTRIES = (Int32)(7) -const MAT_USE_INODES = (Int32)(8) -const MAT_HERMITIAN = (Int32)(9) -const MAT_SYMMETRY_ETERNAL = (Int32)(10) -const MAT_DUMMY = (Int32)(11) -const MAT_IGNORE_LOWER_TRIANGULAR = (Int32)(12) -const MAT_ERROR_LOWER_TRIANGULAR = (Int32)(13) -const MAT_GETROW_UPPERTRIANGULAR = (Int32)(14) -const MAT_SPD = (Int32)(15) -const MAT_NO_OFF_PROC_ZERO_ROWS = (Int32)(16) -const MAT_NO_OFF_PROC_ENTRIES = (Int32)(17) -const MAT_NEW_NONZERO_LOCATIONS = (Int32)(18) -const MAT_OPTION_MAX = (Int32)(19) - -#= # end enum MatOption =# -#= # begin enum ANONYMOUS_33 =# -typealias ANONYMOUS_33 UInt32 - -const MAT_DO_NOT_COPY_VALUES = (UInt32)(0) -const MAT_COPY_VALUES = (UInt32)(1) -const MAT_SHARE_NONZERO_PATTERN = (UInt32)(2) - -#= # end enum ANONYMOUS_33 =# -#= # begin enum MatDuplicateOption =# -typealias MatDuplicateOption UInt32 - -const MAT_DO_NOT_COPY_VALUES = (UInt32)(0) -const MAT_COPY_VALUES = (UInt32)(1) -const MAT_SHARE_NONZERO_PATTERN = (UInt32)(2) - -#= # end enum MatDuplicateOption =# -immutable MatInfo - block_size::PetscLogDouble - nz_allocated::PetscLogDouble - nz_used::PetscLogDouble - nz_unneeded::PetscLogDouble - memory::PetscLogDouble - assemblies::PetscLogDouble - mallocs::PetscLogDouble - fill_ratio_given::PetscLogDouble - fill_ratio_needed::PetscLogDouble - factor_mallocs::PetscLogDouble -end - -#= # begin enum ANONYMOUS_34 =# -typealias ANONYMOUS_34 UInt32 - -const MAT_LOCAL = (UInt32)(1) -const MAT_GLOBAL_MAX = (UInt32)(2) -const MAT_GLOBAL_SUM = (UInt32)(3) - -#= # end enum ANONYMOUS_34 =# -#= # begin enum MatInfoType =# -typealias MatInfoType UInt32 - -const MAT_LOCAL = (UInt32)(1) -const MAT_GLOBAL_MAX = (UInt32)(2) -const MAT_GLOBAL_SUM = (UInt32)(3) - -#= # end enum MatInfoType =# -typealias MatOrderingType Symbol - -#= # begin enum ANONYMOUS_35 =# -typealias ANONYMOUS_35 UInt32 - -const MAT_SHIFT_NONE = (UInt32)(0) -const MAT_SHIFT_NONZERO = (UInt32)(1) -const MAT_SHIFT_POSITIVE_DEFINITE = (UInt32)(2) -const MAT_SHIFT_INBLOCKS = (UInt32)(3) - -#= # end enum ANONYMOUS_35 =# -#= # begin enum MatFactorShiftType =# -typealias MatFactorShiftType UInt32 - -const MAT_SHIFT_NONE = (UInt32)(0) -const MAT_SHIFT_NONZERO = (UInt32)(1) -const MAT_SHIFT_POSITIVE_DEFINITE = (UInt32)(2) -const MAT_SHIFT_INBLOCKS = (UInt32)(3) - -#= # end enum MatFactorShiftType =# -#= skipping type declaration with undefined symbols: -immutable MatFactorInfo - diagonal_fill::PetscReal - usedt::PetscReal - dt::PetscReal - dtcol::PetscReal - dtcount::PetscReal - fill::PetscReal - levels::PetscReal - pivotinblocks::PetscReal - zeropivot::PetscReal - shifttype::PetscReal - shiftamount::PetscReal -end -=# -#= # begin enum ANONYMOUS_36 =# -typealias ANONYMOUS_36 UInt32 - -const SOR_FORWARD_SWEEP = (UInt32)(1) -const SOR_BACKWARD_SWEEP = (UInt32)(2) -const SOR_SYMMETRIC_SWEEP = (UInt32)(3) -const SOR_LOCAL_FORWARD_SWEEP = (UInt32)(4) -const SOR_LOCAL_BACKWARD_SWEEP = (UInt32)(8) -const SOR_LOCAL_SYMMETRIC_SWEEP = (UInt32)(12) -const SOR_ZERO_INITIAL_GUESS = (UInt32)(16) -const SOR_EISENSTAT = (UInt32)(32) -const SOR_APPLY_UPPER = (UInt32)(64) -const SOR_APPLY_LOWER = (UInt32)(128) - -#= # end enum ANONYMOUS_36 =# -#= # begin enum MatSORType =# -typealias MatSORType UInt32 - -const SOR_FORWARD_SWEEP = (UInt32)(1) -const SOR_BACKWARD_SWEEP = (UInt32)(2) -const SOR_SYMMETRIC_SWEEP = (UInt32)(3) -const SOR_LOCAL_FORWARD_SWEEP = (UInt32)(4) -const SOR_LOCAL_BACKWARD_SWEEP = (UInt32)(8) -const SOR_LOCAL_SYMMETRIC_SWEEP = (UInt32)(12) -const SOR_ZERO_INITIAL_GUESS = (UInt32)(16) -const SOR_EISENSTAT = (UInt32)(32) -const SOR_APPLY_UPPER = (UInt32)(64) -const SOR_APPLY_LOWER = (UInt32)(128) - -#= # end enum MatSORType =# -immutable _p_MatColoring -end - -typealias MatColoring Ptr{_p_MatColoring} -typealias MatColoringType Symbol - -#= # begin enum ANONYMOUS_37 =# -typealias ANONYMOUS_37 UInt32 - -const MAT_COLORING_WEIGHT_RANDOM = (UInt32)(0) -const MAT_COLORING_WEIGHT_LEXICAL = (UInt32)(1) -const MAT_COLORING_WEIGHT_LF = (UInt32)(2) -const MAT_COLORING_WEIGHT_SL = (UInt32)(3) - -#= # end enum ANONYMOUS_37 =# -#= # begin enum MatColoringWeightType =# -typealias MatColoringWeightType UInt32 - -const MAT_COLORING_WEIGHT_RANDOM = (UInt32)(0) -const MAT_COLORING_WEIGHT_LEXICAL = (UInt32)(1) -const MAT_COLORING_WEIGHT_LF = (UInt32)(2) -const MAT_COLORING_WEIGHT_SL = (UInt32)(3) - -#= # end enum MatColoringWeightType =# -immutable _p_MatFDColoring -end - -typealias MatFDColoring Ptr{_p_MatFDColoring} - -immutable _p_MatTransposeColoring -end - -typealias MatTransposeColoring Ptr{_p_MatTransposeColoring} - -immutable _p_MatPartitioning -end - -typealias MatPartitioning Ptr{_p_MatPartitioning} -typealias MatPartitioningType Symbol - -#= # begin enum ANONYMOUS_38 =# -typealias ANONYMOUS_38 UInt32 - -const MP_CHACO_MULTILEVEL = (UInt32)(1) -const MP_CHACO_SPECTRAL = (UInt32)(2) -const MP_CHACO_LINEAR = (UInt32)(4) -const MP_CHACO_RANDOM = (UInt32)(5) -const MP_CHACO_SCATTERED = (UInt32)(6) - -#= # end enum ANONYMOUS_38 =# -#= # begin enum MPChacoGlobalType =# -typealias MPChacoGlobalType UInt32 - -const MP_CHACO_MULTILEVEL = (UInt32)(1) -const MP_CHACO_SPECTRAL = (UInt32)(2) -const MP_CHACO_LINEAR = (UInt32)(4) -const MP_CHACO_RANDOM = (UInt32)(5) -const MP_CHACO_SCATTERED = (UInt32)(6) - -#= # end enum MPChacoGlobalType =# -#= # begin enum ANONYMOUS_39 =# -typealias ANONYMOUS_39 UInt32 - -const MP_CHACO_KERNIGHAN = (UInt32)(1) -const MP_CHACO_NONE = (UInt32)(2) - -#= # end enum ANONYMOUS_39 =# -#= # begin enum MPChacoLocalType =# -typealias MPChacoLocalType UInt32 - -const MP_CHACO_KERNIGHAN = (UInt32)(1) -const MP_CHACO_NONE = (UInt32)(2) - -#= # end enum MPChacoLocalType =# -#= # begin enum ANONYMOUS_40 =# -typealias ANONYMOUS_40 UInt32 - -const MP_CHACO_LANCZOS = (UInt32)(0) -const MP_CHACO_RQI = (UInt32)(1) - -#= # end enum ANONYMOUS_40 =# -#= # begin enum MPChacoEigenType =# -typealias MPChacoEigenType UInt32 - -const MP_CHACO_LANCZOS = (UInt32)(0) -const MP_CHACO_RQI = (UInt32)(1) - -#= # end enum MPChacoEigenType =# -#= # begin enum ANONYMOUS_41 =# -typealias ANONYMOUS_41 UInt32 - -const MP_PTSCOTCH_QUALITY = (UInt32)(0) -const MP_PTSCOTCH_SPEED = (UInt32)(1) -const MP_PTSCOTCH_BALANCE = (UInt32)(2) -const MP_PTSCOTCH_SAFETY = (UInt32)(3) -const MP_PTSCOTCH_SCALABILITY = (UInt32)(4) - -#= # end enum ANONYMOUS_41 =# -#= # begin enum MPPTScotchStrategyType =# -typealias MPPTScotchStrategyType UInt32 - -const MP_PTSCOTCH_QUALITY = (UInt32)(0) -const MP_PTSCOTCH_SPEED = (UInt32)(1) -const MP_PTSCOTCH_BALANCE = (UInt32)(2) -const MP_PTSCOTCH_SAFETY = (UInt32)(3) -const MP_PTSCOTCH_SCALABILITY = (UInt32)(4) - -#= # end enum MPPTScotchStrategyType =# -immutable _p_MatCoarsen -end - -typealias MatCoarsen Ptr{_p_MatCoarsen} -typealias MatCoarsenType Symbol - -#= skipping type declaration with undefined symbols: -immutable _PetscCDIntNd - next::Ptr{_PetscCDIntNd} - gid::PetscInt -end -=# -#= skipping type declaration with undefined symbols: -immutable PetscCDIntNd - next::Ptr{_PetscCDIntNd} - gid::PetscInt -end -=# -#= skipping type declaration with undefined symbols: -immutable _PetscCDArrNd - next::Ptr{_PetscCDArrNd} - array::Ptr{_PetscCDIntNd} -end -=# -#= skipping type declaration with undefined symbols: -immutable PetscCDArrNd - next::Ptr{_PetscCDArrNd} - array::Ptr{_PetscCDIntNd} -end -=# -#= skipping type declaration with undefined symbols: -immutable _PetscCoarsenData - pool_list::PetscCDArrNd - new_node::Ptr{PetscCDIntNd} - new_left::PetscInt - chk_sz::PetscInt - extra_nodes::Ptr{PetscCDIntNd} - array::Ptr{Ptr{PetscCDIntNd}} - size::PetscInt - mat::Mat -end -=# -#= skipping type declaration with undefined symbols: -immutable PetscCoarsenData - pool_list::PetscCDArrNd - new_node::Ptr{PetscCDIntNd} - new_left::PetscInt - chk_sz::PetscInt - extra_nodes::Ptr{PetscCDIntNd} - array::Ptr{Ptr{PetscCDIntNd}} - size::PetscInt - mat::Mat -end -=# -#= # begin enum ANONYMOUS_42 =# -typealias ANONYMOUS_42 UInt32 - -const MATOP_SET_VALUES = (UInt32)(0) -const MATOP_GET_ROW = (UInt32)(1) -const MATOP_RESTORE_ROW = (UInt32)(2) -const MATOP_MULT = (UInt32)(3) -const MATOP_MULT_ADD = (UInt32)(4) -const MATOP_MULT_TRANSPOSE = (UInt32)(5) -const MATOP_MULT_TRANSPOSE_ADD = (UInt32)(6) -const MATOP_SOLVE = (UInt32)(7) -const MATOP_SOLVE_ADD = (UInt32)(8) -const MATOP_SOLVE_TRANSPOSE = (UInt32)(9) -const MATOP_SOLVE_TRANSPOSE_ADD = (UInt32)(10) -const MATOP_LUFACTOR = (UInt32)(11) -const MATOP_CHOLESKYFACTOR = (UInt32)(12) -const MATOP_SOR = (UInt32)(13) -const MATOP_TRANSPOSE = (UInt32)(14) -const MATOP_GETINFO = (UInt32)(15) -const MATOP_EQUAL = (UInt32)(16) -const MATOP_GET_DIAGONAL = (UInt32)(17) -const MATOP_DIAGONAL_SCALE = (UInt32)(18) -const MATOP_NORM = (UInt32)(19) -const MATOP_ASSEMBLY_BEGIN = (UInt32)(20) -const MATOP_ASSEMBLY_END = (UInt32)(21) -const MATOP_SET_OPTION = (UInt32)(22) -const MATOP_ZERO_ENTRIES = (UInt32)(23) -const MATOP_ZERO_ROWS = (UInt32)(24) -const MATOP_LUFACTOR_SYMBOLIC = (UInt32)(25) -const MATOP_LUFACTOR_NUMERIC = (UInt32)(26) -const MATOP_CHOLESKY_FACTOR_SYMBOLIC = (UInt32)(27) -const MATOP_CHOLESKY_FACTOR_NUMERIC = (UInt32)(28) -const MATOP_SETUP_PREALLOCATION = (UInt32)(29) -const MATOP_ILUFACTOR_SYMBOLIC = (UInt32)(30) -const MATOP_ICCFACTOR_SYMBOLIC = (UInt32)(31) -const MATOP_DUPLICATE = (UInt32)(34) -const MATOP_FORWARD_SOLVE = (UInt32)(35) -const MATOP_BACKWARD_SOLVE = (UInt32)(36) -const MATOP_ILUFACTOR = (UInt32)(37) -const MATOP_ICCFACTOR = (UInt32)(38) -const MATOP_AXPY = (UInt32)(39) -const MATOP_GET_SUBMATRICES = (UInt32)(40) -const MATOP_INCREASE_OVERLAP = (UInt32)(41) -const MATOP_GET_VALUES = (UInt32)(42) -const MATOP_COPY = (UInt32)(43) -const MATOP_GET_ROW_MAX = (UInt32)(44) -const MATOP_SCALE = (UInt32)(45) -const MATOP_SHIFT = (UInt32)(46) -const MATOP_DIAGONAL_SET = (UInt32)(47) -const MATOP_ZERO_ROWS_COLUMNS = (UInt32)(48) -const MATOP_SET_RANDOM = (UInt32)(49) -const MATOP_GET_ROW_IJ = (UInt32)(50) -const MATOP_RESTORE_ROW_IJ = (UInt32)(51) -const MATOP_GET_COLUMN_IJ = (UInt32)(52) -const MATOP_RESTORE_COLUMN_IJ = (UInt32)(53) -const MATOP_FDCOLORING_CREATE = (UInt32)(54) -const MATOP_COLORING_PATCH = (UInt32)(55) -const MATOP_SET_UNFACTORED = (UInt32)(56) -const MATOP_PERMUTE = (UInt32)(57) -const MATOP_SET_VALUES_BLOCKED = (UInt32)(58) -const MATOP_GET_SUBMATRIX = (UInt32)(59) -const MATOP_DESTROY = (UInt32)(60) -const MATOP_VIEW = (UInt32)(61) -const MATOP_CONVERT_FROM = (UInt32)(62) -const MATOP_MATMAT_MULT = (UInt32)(63) -const MATOP_MATMAT_MULT_SYMBOLIC = (UInt32)(64) -const MATOP_MATMAT_MULT_NUMERIC = (UInt32)(65) -const MATOP_SET_LOCAL_TO_GLOBAL_MAP = (UInt32)(66) -const MATOP_SET_VALUES_LOCAL = (UInt32)(67) -const MATOP_ZERO_ROWS_LOCAL = (UInt32)(68) -const MATOP_GET_ROW_MAX_ABS = (UInt32)(69) -const MATOP_GET_ROW_MIN_ABS = (UInt32)(70) -const MATOP_CONVERT = (UInt32)(71) -const MATOP_SET_COLORING = (UInt32)(72) -const MATOP_SET_VALUES_ADIFOR = (UInt32)(74) -const MATOP_FD_COLORING_APPLY = (UInt32)(75) -const MATOP_SET_FROM_OPTIONS = (UInt32)(76) -const MATOP_MULT_CONSTRAINED = (UInt32)(77) -const MATOP_MULT_TRANSPOSE_CONSTRAIN = (UInt32)(78) -const MATOP_FIND_ZERO_DIAGONALS = (UInt32)(79) -const MATOP_MULT_MULTIPLE = (UInt32)(80) -const MATOP_SOLVE_MULTIPLE = (UInt32)(81) -const MATOP_GET_INERTIA = (UInt32)(82) -const MATOP_LOAD = (UInt32)(83) -const MATOP_IS_SYMMETRIC = (UInt32)(84) -const MATOP_IS_HERMITIAN = (UInt32)(85) -const MATOP_IS_STRUCTURALLY_SYMMETRIC = (UInt32)(86) -const MATOP_SET_VALUES_BLOCKEDLOCAL = (UInt32)(87) -const MATOP_GET_VECS = (UInt32)(88) -const MATOP_MAT_MULT = (UInt32)(89) -const MATOP_MAT_MULT_SYMBOLIC = (UInt32)(90) -const MATOP_MAT_MULT_NUMERIC = (UInt32)(91) -const MATOP_PTAP = (UInt32)(92) -const MATOP_PTAP_SYMBOLIC = (UInt32)(93) -const MATOP_PTAP_NUMERIC = (UInt32)(94) -const MATOP_MAT_TRANSPOSE_MULT = (UInt32)(95) -const MATOP_MAT_TRANSPOSE_MULT_SYMBO = (UInt32)(96) -const MATOP_MAT_TRANSPOSE_MULT_NUMER = (UInt32)(97) -const MATOP_CONJUGATE = (UInt32)(102) -const MATOP_SET_VALUES_ROW = (UInt32)(104) -const MATOP_REAL_PART = (UInt32)(105) -const MATOP_IMAGINARY_PART = (UInt32)(106) -const MATOP_GET_ROW_UPPER_TRIANGULAR = (UInt32)(107) -const MATOP_RESTORE_ROW_UPPER_TRIANG = (UInt32)(108) -const MATOP_MAT_SOLVE = (UInt32)(109) -const MATOP_GET_REDUNDANT_MATRIX = (UInt32)(110) -const MATOP_GET_ROW_MIN = (UInt32)(111) -const MATOP_GET_COLUMN_VECTOR = (UInt32)(112) -const MATOP_MISSING_DIAGONAL = (UInt32)(113) -const MATOP_GET_SEQ_NONZERO_STRUCTUR = (UInt32)(114) -const MATOP_CREATE = (UInt32)(115) -const MATOP_GET_GHOSTS = (UInt32)(116) -const MATOP_GET_LOCAL_SUB_MATRIX = (UInt32)(117) -const MATOP_RESTORE_LOCALSUB_MATRIX = (UInt32)(118) -const MATOP_MULT_DIAGONAL_BLOCK = (UInt32)(119) -const MATOP_HERMITIAN_TRANSPOSE = (UInt32)(120) -const MATOP_MULT_HERMITIAN_TRANSPOSE = (UInt32)(121) -const MATOP_MULT_HERMITIAN_TRANS_ADD = (UInt32)(122) -const MATOP_GET_MULTI_PROC_BLOCK = (UInt32)(123) -const MATOP_FIND_NONZERO_ROWS = (UInt32)(124) -const MATOP_GET_COLUMN_NORMS = (UInt32)(125) -const MATOP_INVERT_BLOCK_DIAGONAL = (UInt32)(126) -const MATOP_GET_SUB_MATRICES_PARALLE = (UInt32)(128) -const MATOP_SET_VALUES_BATCH = (UInt32)(129) -const MATOP_TRANSPOSE_MAT_MULT = (UInt32)(130) -const MATOP_TRANSPOSE_MAT_MULT_SYMBO = (UInt32)(131) -const MATOP_TRANSPOSE_MAT_MULT_NUMER = (UInt32)(132) -const MATOP_TRANSPOSE_COLORING_CREAT = (UInt32)(133) -const MATOP_TRANS_COLORING_APPLY_SPT = (UInt32)(134) -const MATOP_TRANS_COLORING_APPLY_DEN = (UInt32)(135) -const MATOP_RART = (UInt32)(136) -const MATOP_RART_SYMBOLIC = (UInt32)(137) -const MATOP_RART_NUMERIC = (UInt32)(138) -const MATOP_SET_BLOCK_SIZES = (UInt32)(139) -const MATOP_AYPX = (UInt32)(140) -const MATOP_RESIDUAL = (UInt32)(141) -const MATOP_FDCOLORING_SETUP = (UInt32)(142) -const MATOP_MPICONCATENATESEQ = (UInt32)(144) - -#= # end enum ANONYMOUS_42 =# -#= # begin enum MatOperation =# -typealias MatOperation UInt32 - -const MATOP_SET_VALUES = (UInt32)(0) -const MATOP_GET_ROW = (UInt32)(1) -const MATOP_RESTORE_ROW = (UInt32)(2) -const MATOP_MULT = (UInt32)(3) -const MATOP_MULT_ADD = (UInt32)(4) -const MATOP_MULT_TRANSPOSE = (UInt32)(5) -const MATOP_MULT_TRANSPOSE_ADD = (UInt32)(6) -const MATOP_SOLVE = (UInt32)(7) -const MATOP_SOLVE_ADD = (UInt32)(8) -const MATOP_SOLVE_TRANSPOSE = (UInt32)(9) -const MATOP_SOLVE_TRANSPOSE_ADD = (UInt32)(10) -const MATOP_LUFACTOR = (UInt32)(11) -const MATOP_CHOLESKYFACTOR = (UInt32)(12) -const MATOP_SOR = (UInt32)(13) -const MATOP_TRANSPOSE = (UInt32)(14) -const MATOP_GETINFO = (UInt32)(15) -const MATOP_EQUAL = (UInt32)(16) -const MATOP_GET_DIAGONAL = (UInt32)(17) -const MATOP_DIAGONAL_SCALE = (UInt32)(18) -const MATOP_NORM = (UInt32)(19) -const MATOP_ASSEMBLY_BEGIN = (UInt32)(20) -const MATOP_ASSEMBLY_END = (UInt32)(21) -const MATOP_SET_OPTION = (UInt32)(22) -const MATOP_ZERO_ENTRIES = (UInt32)(23) -const MATOP_ZERO_ROWS = (UInt32)(24) -const MATOP_LUFACTOR_SYMBOLIC = (UInt32)(25) -const MATOP_LUFACTOR_NUMERIC = (UInt32)(26) -const MATOP_CHOLESKY_FACTOR_SYMBOLIC = (UInt32)(27) -const MATOP_CHOLESKY_FACTOR_NUMERIC = (UInt32)(28) -const MATOP_SETUP_PREALLOCATION = (UInt32)(29) -const MATOP_ILUFACTOR_SYMBOLIC = (UInt32)(30) -const MATOP_ICCFACTOR_SYMBOLIC = (UInt32)(31) -const MATOP_DUPLICATE = (UInt32)(34) -const MATOP_FORWARD_SOLVE = (UInt32)(35) -const MATOP_BACKWARD_SOLVE = (UInt32)(36) -const MATOP_ILUFACTOR = (UInt32)(37) -const MATOP_ICCFACTOR = (UInt32)(38) -const MATOP_AXPY = (UInt32)(39) -const MATOP_GET_SUBMATRICES = (UInt32)(40) -const MATOP_INCREASE_OVERLAP = (UInt32)(41) -const MATOP_GET_VALUES = (UInt32)(42) -const MATOP_COPY = (UInt32)(43) -const MATOP_GET_ROW_MAX = (UInt32)(44) -const MATOP_SCALE = (UInt32)(45) -const MATOP_SHIFT = (UInt32)(46) -const MATOP_DIAGONAL_SET = (UInt32)(47) -const MATOP_ZERO_ROWS_COLUMNS = (UInt32)(48) -const MATOP_SET_RANDOM = (UInt32)(49) -const MATOP_GET_ROW_IJ = (UInt32)(50) -const MATOP_RESTORE_ROW_IJ = (UInt32)(51) -const MATOP_GET_COLUMN_IJ = (UInt32)(52) -const MATOP_RESTORE_COLUMN_IJ = (UInt32)(53) -const MATOP_FDCOLORING_CREATE = (UInt32)(54) -const MATOP_COLORING_PATCH = (UInt32)(55) -const MATOP_SET_UNFACTORED = (UInt32)(56) -const MATOP_PERMUTE = (UInt32)(57) -const MATOP_SET_VALUES_BLOCKED = (UInt32)(58) -const MATOP_GET_SUBMATRIX = (UInt32)(59) -const MATOP_DESTROY = (UInt32)(60) -const MATOP_VIEW = (UInt32)(61) -const MATOP_CONVERT_FROM = (UInt32)(62) -const MATOP_MATMAT_MULT = (UInt32)(63) -const MATOP_MATMAT_MULT_SYMBOLIC = (UInt32)(64) -const MATOP_MATMAT_MULT_NUMERIC = (UInt32)(65) -const MATOP_SET_LOCAL_TO_GLOBAL_MAP = (UInt32)(66) -const MATOP_SET_VALUES_LOCAL = (UInt32)(67) -const MATOP_ZERO_ROWS_LOCAL = (UInt32)(68) -const MATOP_GET_ROW_MAX_ABS = (UInt32)(69) -const MATOP_GET_ROW_MIN_ABS = (UInt32)(70) -const MATOP_CONVERT = (UInt32)(71) -const MATOP_SET_COLORING = (UInt32)(72) -const MATOP_SET_VALUES_ADIFOR = (UInt32)(74) -const MATOP_FD_COLORING_APPLY = (UInt32)(75) -const MATOP_SET_FROM_OPTIONS = (UInt32)(76) -const MATOP_MULT_CONSTRAINED = (UInt32)(77) -const MATOP_MULT_TRANSPOSE_CONSTRAIN = (UInt32)(78) -const MATOP_FIND_ZERO_DIAGONALS = (UInt32)(79) -const MATOP_MULT_MULTIPLE = (UInt32)(80) -const MATOP_SOLVE_MULTIPLE = (UInt32)(81) -const MATOP_GET_INERTIA = (UInt32)(82) -const MATOP_LOAD = (UInt32)(83) -const MATOP_IS_SYMMETRIC = (UInt32)(84) -const MATOP_IS_HERMITIAN = (UInt32)(85) -const MATOP_IS_STRUCTURALLY_SYMMETRIC = (UInt32)(86) -const MATOP_SET_VALUES_BLOCKEDLOCAL = (UInt32)(87) -const MATOP_GET_VECS = (UInt32)(88) -const MATOP_MAT_MULT = (UInt32)(89) -const MATOP_MAT_MULT_SYMBOLIC = (UInt32)(90) -const MATOP_MAT_MULT_NUMERIC = (UInt32)(91) -const MATOP_PTAP = (UInt32)(92) -const MATOP_PTAP_SYMBOLIC = (UInt32)(93) -const MATOP_PTAP_NUMERIC = (UInt32)(94) -const MATOP_MAT_TRANSPOSE_MULT = (UInt32)(95) -const MATOP_MAT_TRANSPOSE_MULT_SYMBO = (UInt32)(96) -const MATOP_MAT_TRANSPOSE_MULT_NUMER = (UInt32)(97) -const MATOP_CONJUGATE = (UInt32)(102) -const MATOP_SET_VALUES_ROW = (UInt32)(104) -const MATOP_REAL_PART = (UInt32)(105) -const MATOP_IMAGINARY_PART = (UInt32)(106) -const MATOP_GET_ROW_UPPER_TRIANGULAR = (UInt32)(107) -const MATOP_RESTORE_ROW_UPPER_TRIANG = (UInt32)(108) -const MATOP_MAT_SOLVE = (UInt32)(109) -const MATOP_GET_REDUNDANT_MATRIX = (UInt32)(110) -const MATOP_GET_ROW_MIN = (UInt32)(111) -const MATOP_GET_COLUMN_VECTOR = (UInt32)(112) -const MATOP_MISSING_DIAGONAL = (UInt32)(113) -const MATOP_GET_SEQ_NONZERO_STRUCTUR = (UInt32)(114) -const MATOP_CREATE = (UInt32)(115) -const MATOP_GET_GHOSTS = (UInt32)(116) -const MATOP_GET_LOCAL_SUB_MATRIX = (UInt32)(117) -const MATOP_RESTORE_LOCALSUB_MATRIX = (UInt32)(118) -const MATOP_MULT_DIAGONAL_BLOCK = (UInt32)(119) -const MATOP_HERMITIAN_TRANSPOSE = (UInt32)(120) -const MATOP_MULT_HERMITIAN_TRANSPOSE = (UInt32)(121) -const MATOP_MULT_HERMITIAN_TRANS_ADD = (UInt32)(122) -const MATOP_GET_MULTI_PROC_BLOCK = (UInt32)(123) -const MATOP_FIND_NONZERO_ROWS = (UInt32)(124) -const MATOP_GET_COLUMN_NORMS = (UInt32)(125) -const MATOP_INVERT_BLOCK_DIAGONAL = (UInt32)(126) -const MATOP_GET_SUB_MATRICES_PARALLE = (UInt32)(128) -const MATOP_SET_VALUES_BATCH = (UInt32)(129) -const MATOP_TRANSPOSE_MAT_MULT = (UInt32)(130) -const MATOP_TRANSPOSE_MAT_MULT_SYMBO = (UInt32)(131) -const MATOP_TRANSPOSE_MAT_MULT_NUMER = (UInt32)(132) -const MATOP_TRANSPOSE_COLORING_CREAT = (UInt32)(133) -const MATOP_TRANS_COLORING_APPLY_SPT = (UInt32)(134) -const MATOP_TRANS_COLORING_APPLY_DEN = (UInt32)(135) -const MATOP_RART = (UInt32)(136) -const MATOP_RART_SYMBOLIC = (UInt32)(137) -const MATOP_RART_NUMERIC = (UInt32)(138) -const MATOP_SET_BLOCK_SIZES = (UInt32)(139) -const MATOP_AYPX = (UInt32)(140) -const MATOP_RESIDUAL = (UInt32)(141) -const MATOP_FDCOLORING_SETUP = (UInt32)(142) -const MATOP_MPICONCATENATESEQ = (UInt32)(144) - -#= # end enum MatOperation =# -immutable _p_MatNullSpace -end - -typealias MatNullSpace Ptr{_p_MatNullSpace} - -immutable _p_MatMFFD -end - -typealias MatMFFD Ptr{_p_MatMFFD} -typealias MatMFFDType Symbol - -immutable _p_DM -end - -typealias DM Ptr{_p_DM} - -#= # begin enum ANONYMOUS_43 =# -typealias ANONYMOUS_43 UInt32 - -const DM_BOUNDARY_NONE = (UInt32)(0) -const DM_BOUNDARY_GHOSTED = (UInt32)(1) -const DM_BOUNDARY_MIRROR = (UInt32)(2) -const DM_BOUNDARY_PERIODIC = (UInt32)(3) -const DM_BOUNDARY_TWIST = (UInt32)(4) - -#= # end enum ANONYMOUS_43 =# -#= # begin enum DMBoundaryType =# -typealias DMBoundaryType UInt32 - -const DM_BOUNDARY_NONE = (UInt32)(0) -const DM_BOUNDARY_GHOSTED = (UInt32)(1) -const DM_BOUNDARY_MIRROR = (UInt32)(2) -const DM_BOUNDARY_PERIODIC = (UInt32)(3) -const DM_BOUNDARY_TWIST = (UInt32)(4) - -#= # end enum DMBoundaryType =# -immutable _p_PetscPartitioner -end - -typealias PetscPartitioner Ptr{_p_PetscPartitioner} - -immutable _p_PetscSpace -end - -typealias PetscSpace Ptr{_p_PetscSpace} - -immutable _p_PetscDualSpace -end - -typealias PetscDualSpace Ptr{_p_PetscDualSpace} - -immutable _p_PetscFE -end - -typealias PetscFE Ptr{_p_PetscFE} - -immutable _p_PetscDS -end - -typealias PetscDS Ptr{_p_PetscDS} -typealias DMType Symbol - -immutable NLF_DAAD -end - -typealias NLF Ptr{NLF_DAAD} - -#= # begin enum ANONYMOUS_44 =# -typealias ANONYMOUS_44 UInt32 - -const PETSC_UNIT_LENGTH = (UInt32)(0) -const PETSC_UNIT_MASS = (UInt32)(1) -const PETSC_UNIT_TIME = (UInt32)(2) -const PETSC_UNIT_CURRENT = (UInt32)(3) -const PETSC_UNIT_TEMPERATURE = (UInt32)(4) -const PETSC_UNIT_AMOUNT = (UInt32)(5) -const PETSC_UNIT_LUMINOSITY = (UInt32)(6) -const NUM_PETSC_UNITS = (UInt32)(7) - -#= # end enum ANONYMOUS_44 =# -#= # begin enum PetscUnit =# -typealias PetscUnit UInt32 - -const PETSC_UNIT_LENGTH = (UInt32)(0) -const PETSC_UNIT_MASS = (UInt32)(1) -const PETSC_UNIT_TIME = (UInt32)(2) -const PETSC_UNIT_CURRENT = (UInt32)(3) -const PETSC_UNIT_TEMPERATURE = (UInt32)(4) -const PETSC_UNIT_AMOUNT = (UInt32)(5) -const PETSC_UNIT_LUMINOSITY = (UInt32)(6) -const NUM_PETSC_UNITS = (UInt32)(7) - -#= # end enum PetscUnit =# -#= skipping type declaration with undefined symbols: -immutable _DMInterpolationInfo - comm::MPI_Comm - dim::PetscInt - nInput::PetscInt - points::Ptr{PetscReal} - cells::Ptr{PetscInt} - n::PetscInt - coords::Vec - dof::PetscInt -end -=# -# skipping undefined typealias typealias DMInterpolationInfo Ptr{_DMInterpolationInfo} -#= # begin enum ANONYMOUS_45 =# -typealias ANONYMOUS_45 UInt32 - -const DMDA_STENCIL_STAR = (UInt32)(0) -const DMDA_STENCIL_BOX = (UInt32)(1) - -#= # end enum ANONYMOUS_45 =# -#= # begin enum DMDAStencilType =# -typealias DMDAStencilType UInt32 - -const DMDA_STENCIL_STAR = (UInt32)(0) -const DMDA_STENCIL_BOX = (UInt32)(1) - -#= # end enum DMDAStencilType =# -#= # begin enum ANONYMOUS_46 =# -typealias ANONYMOUS_46 UInt32 - -const DMDA_Q0 = (UInt32)(0) -const DMDA_Q1 = (UInt32)(1) - -#= # end enum ANONYMOUS_46 =# -#= # begin enum DMDAInterpolationType =# -typealias DMDAInterpolationType UInt32 - -const DMDA_Q0 = (UInt32)(0) -const DMDA_Q1 = (UInt32)(1) - -#= # end enum DMDAInterpolationType =# -#= # begin enum ANONYMOUS_47 =# -typealias ANONYMOUS_47 UInt32 - -const DMDA_ELEMENT_P1 = (UInt32)(0) -const DMDA_ELEMENT_Q1 = (UInt32)(1) - -#= # end enum ANONYMOUS_47 =# -#= # begin enum DMDAElementType =# -typealias DMDAElementType UInt32 - -const DMDA_ELEMENT_P1 = (UInt32)(0) -const DMDA_ELEMENT_Q1 = (UInt32)(1) - -#= # end enum DMDAElementType =# -#= skipping type declaration with undefined symbols: -immutable DMDALocalInfo - dim::PetscInt - dof::PetscInt - sw::PetscInt - mx::PetscInt - my::PetscInt - mz::PetscInt - xs::PetscInt - ys::PetscInt - zs::PetscInt - xm::PetscInt - ym::PetscInt - zm::PetscInt - gxs::PetscInt - gys::PetscInt - gzs::PetscInt - gxm::PetscInt - gym::PetscInt - gzm::PetscInt - bx::DMBoundaryType - by::DMBoundaryType - bz::DMBoundaryType - st::DMDAStencilType - da::DM -end -=# -typealias PFType Symbol - -immutable _p_PF -end - -typealias PF Ptr{_p_PF} - -immutable _p_AO -end - -immutable AO{T} - pobj::Ptr{Void} -end - -typealias AOType Symbol - -immutable _p_PetscQuadrature -end - -typealias PetscQuadrature Ptr{_p_PetscQuadrature} - -#= skipping type declaration with undefined symbols: -immutable Array_3_PetscReal - d1::PetscReal - d2::PetscReal - d3::PetscReal -end -=# -#= skipping undefined expression zero(::Type{Array_3_PetscReal}) = begin # /home/jared/.julia/v0.4/Clang/src/wrap_c.jl, line 266: - Array_3_PetscReal(fill(zero(Float64),3)...) - end =# -#= skipping type declaration with undefined symbols: -immutable Array_9_PetscReal - d1::PetscReal - d2::PetscReal - d3::PetscReal - d4::PetscReal - d5::PetscReal - d6::PetscReal - d7::PetscReal - d8::PetscReal - d9::PetscReal -end -=# -#= skipping undefined expression zero(::Type{Array_9_PetscReal}) = begin # /home/jared/.julia/v0.4/Clang/src/wrap_c.jl, line 266: - Array_9_PetscReal(fill(zero(Float64),9)...) - end =# -#= skipping type declaration with undefined symbols: -immutable PetscFECellGeom - v0::Array_3_PetscReal - J::Array_9_PetscReal - invJ::Array_9_PetscReal - detJ::PetscReal - n::Array_3_PetscReal - dim::PetscInt - dimEmbed::PetscInt -end -=# -typealias PetscSpaceType Symbol -typealias PetscDualSpaceType Symbol -typealias PetscFEType Symbol - -#= # begin enum ANONYMOUS_48 =# -typealias ANONYMOUS_48 UInt32 - -const DMDA_X = (UInt32)(0) -const DMDA_Y = (UInt32)(1) -const DMDA_Z = (UInt32)(2) - -#= # end enum ANONYMOUS_48 =# -#= # begin enum DMDADirection =# -typealias DMDADirection UInt32 - -const DMDA_X = (UInt32)(0) -const DMDA_Y = (UInt32)(1) -const DMDA_Z = (UInt32)(2) - -#= # end enum DMDADirection =# -#= skipping type declaration with undefined symbols: -immutable DMDACoor2d - x::PetscScalar - y::PetscScalar -end -=# -#= skipping type declaration with undefined symbols: -immutable DMDACoor3d - x::PetscScalar - y::PetscScalar - z::PetscScalar -end -=# -immutable _p_PetscLimiter -end - -typealias PetscLimiter Ptr{_p_PetscLimiter} - -immutable _p_PetscFV -end - -typealias PetscFV Ptr{_p_PetscFV} - -#= skipping type declaration with undefined symbols: -immutable Array_3_PetscScalar - d1::PetscScalar - d2::PetscScalar - d3::PetscScalar -end -=# -#= skipping undefined expression zero(::Type{Array_3_PetscScalar}) = begin # /home/jared/.julia/v0.4/Clang/src/wrap_c.jl, line 266: - Array_3_PetscScalar(fill(zero(Float64),3)...) - end =# -#= skipping type declaration with undefined symbols: -immutable Array_2_Array_3_PetscScalar - d1::Array_3_PetscScalar - d2::Array_3_PetscScalar -end -=# -#= skipping undefined expression zero(::Type{Array_2_Array_3_PetscScalar}) = begin # /home/jared/.julia/v0.4/Clang/src/wrap_c.jl, line 266: - Array_2_Array_3_PetscScalar(fill(zero(Array_3_PetscScalar),2)...) - end =# -#= skipping type declaration with undefined symbols: -immutable PetscFVFaceGeom - normal::Array_3_PetscReal - centroid::Array_3_PetscReal - grad::Array_2_Array_3_PetscScalar -end -=# -#= skipping type declaration with undefined symbols: -immutable PetscFVCellGeom - centroid::Array_3_PetscReal - volume::PetscReal -end -=# -typealias PetscLimiterType Symbol -typealias PetscFVType Symbol -typealias PetscPartitionerType Symbol - -immutable _n_DMLabel -end - -typealias DMLabel Ptr{_n_DMLabel} - -immutable _n_Boundary -end - -typealias DMBoundary Ptr{_n_Boundary} - -immutable JacActionCtx - dm::DM - u::Vec - J::Mat - user::Ptr{Void} -end - -typealias PetscDSType Symbol -typealias PetscPointFunc Ptr{Void} -typealias PetscPointJac Ptr{Void} -typealias PetscBdPointFunc Ptr{Void} -typealias PetscBdPointJac Ptr{Void} -typealias PetscRiemannFunc Ptr{Void} - -immutable _p_Characteristic -end - -typealias Characteristic Ptr{_p_Characteristic} -typealias CharacteristicType Symbol - -immutable _p_PC -end - -immutable PC{T} - pobj::Ptr{Void} -end - -typealias PCType Symbol - -#= # begin enum ANONYMOUS_49 =# -typealias ANONYMOUS_49 Cint - -const PC_SIDE_DEFAULT = (Int32)(-1) -const PC_LEFT = (Int32)(0) -const PC_RIGHT = (Int32)(1) -const PC_SYMMETRIC = (Int32)(2) - -#= # end enum ANONYMOUS_49 =# -#= # begin enum ANONYMOUS_50 =# -typealias ANONYMOUS_50 Cint - -const PCRICHARDSON_CONVERGED_RTOL = (Int32)(2) -const PCRICHARDSON_CONVERGED_ATOL = (Int32)(3) -const PCRICHARDSON_CONVERGED_ITS = (Int32)(4) -const PCRICHARDSON_DIVERGED_DTOL = (Int32)(-4) - -#= # end enum ANONYMOUS_50 =# -#= # begin enum PCRichardsonConvergedReason =# -typealias PCRichardsonConvergedReason Cint - -const PCRICHARDSON_CONVERGED_RTOL = (Int32)(2) -const PCRICHARDSON_CONVERGED_ATOL = (Int32)(3) -const PCRICHARDSON_CONVERGED_ITS = (Int32)(4) -const PCRICHARDSON_DIVERGED_DTOL = (Int32)(-4) - -#= # end enum PCRichardsonConvergedReason =# -#= # begin enum ANONYMOUS_51 =# -typealias ANONYMOUS_51 UInt32 - -const PC_JACOBI_DIAGONAL = (UInt32)(0) -const PC_JACOBI_ROWMAX = (UInt32)(1) -const PC_JACOBI_ROWSUM = (UInt32)(2) - -#= # end enum ANONYMOUS_51 =# -#= # begin enum PCJacobiType =# -typealias PCJacobiType UInt32 - -const PC_JACOBI_DIAGONAL = (UInt32)(0) -const PC_JACOBI_ROWMAX = (UInt32)(1) -const PC_JACOBI_ROWSUM = (UInt32)(2) - -#= # end enum PCJacobiType =# -#= # begin enum ANONYMOUS_52 =# -typealias ANONYMOUS_52 UInt32 - -const PC_ASM_BASIC = (UInt32)(3) -const PC_ASM_RESTRICT = (UInt32)(1) -const PC_ASM_INTERPOLATE = (UInt32)(2) -const PC_ASM_NONE = (UInt32)(0) - -#= # end enum ANONYMOUS_52 =# -#= # begin enum PCASMType =# -typealias PCASMType UInt32 - -const PC_ASM_BASIC = (UInt32)(3) -const PC_ASM_RESTRICT = (UInt32)(1) -const PC_ASM_INTERPOLATE = (UInt32)(2) -const PC_ASM_NONE = (UInt32)(0) - -#= # end enum PCASMType =# -#= # begin enum ANONYMOUS_53 =# -typealias ANONYMOUS_53 UInt32 - -const PC_GASM_BASIC = (UInt32)(3) -const PC_GASM_RESTRICT = (UInt32)(1) -const PC_GASM_INTERPOLATE = (UInt32)(2) -const PC_GASM_NONE = (UInt32)(0) - -#= # end enum ANONYMOUS_53 =# -#= # begin enum PCGASMType =# -typealias PCGASMType UInt32 - -const PC_GASM_BASIC = (UInt32)(3) -const PC_GASM_RESTRICT = (UInt32)(1) -const PC_GASM_INTERPOLATE = (UInt32)(2) -const PC_GASM_NONE = (UInt32)(0) - -#= # end enum PCGASMType =# -#= # begin enum ANONYMOUS_54 =# -typealias ANONYMOUS_54 UInt32 - -const PC_COMPOSITE_ADDITIVE = (UInt32)(0) -const PC_COMPOSITE_MULTIPLICATIVE = (UInt32)(1) -const PC_COMPOSITE_SYMMETRIC_MULTIPLICATIVE = (UInt32)(2) -const PC_COMPOSITE_SPECIAL = (UInt32)(3) -const PC_COMPOSITE_SCHUR = (UInt32)(4) - -#= # end enum ANONYMOUS_54 =# -#= # begin enum PCCompositeType =# -typealias PCCompositeType UInt32 - -const PC_COMPOSITE_ADDITIVE = (UInt32)(0) -const PC_COMPOSITE_MULTIPLICATIVE = (UInt32)(1) -const PC_COMPOSITE_SYMMETRIC_MULTIPLICATIVE = (UInt32)(2) -const PC_COMPOSITE_SPECIAL = (UInt32)(3) -const PC_COMPOSITE_SCHUR = (UInt32)(4) - -#= # end enum PCCompositeType =# -#= # begin enum ANONYMOUS_55 =# -typealias ANONYMOUS_55 UInt32 - -const PC_FIELDSPLIT_SCHUR_PRE_SELF = (UInt32)(0) -const PC_FIELDSPLIT_SCHUR_PRE_SELFP = (UInt32)(1) -const PC_FIELDSPLIT_SCHUR_PRE_A11 = (UInt32)(2) -const PC_FIELDSPLIT_SCHUR_PRE_USER = (UInt32)(3) -const PC_FIELDSPLIT_SCHUR_PRE_FULL = (UInt32)(4) - -#= # end enum ANONYMOUS_55 =# -#= # begin enum PCFieldSplitSchurPreType =# -typealias PCFieldSplitSchurPreType UInt32 - -const PC_FIELDSPLIT_SCHUR_PRE_SELF = (UInt32)(0) -const PC_FIELDSPLIT_SCHUR_PRE_SELFP = (UInt32)(1) -const PC_FIELDSPLIT_SCHUR_PRE_A11 = (UInt32)(2) -const PC_FIELDSPLIT_SCHUR_PRE_USER = (UInt32)(3) -const PC_FIELDSPLIT_SCHUR_PRE_FULL = (UInt32)(4) - -#= # end enum PCFieldSplitSchurPreType =# -#= # begin enum ANONYMOUS_56 =# -typealias ANONYMOUS_56 UInt32 - -const PC_FIELDSPLIT_SCHUR_FACT_DIAG = (UInt32)(0) -const PC_FIELDSPLIT_SCHUR_FACT_LOWER = (UInt32)(1) -const PC_FIELDSPLIT_SCHUR_FACT_UPPER = (UInt32)(2) -const PC_FIELDSPLIT_SCHUR_FACT_FULL = (UInt32)(3) - -#= # end enum ANONYMOUS_56 =# -#= # begin enum PCFieldSplitSchurFactType =# -typealias PCFieldSplitSchurFactType UInt32 - -const PC_FIELDSPLIT_SCHUR_FACT_DIAG = (UInt32)(0) -const PC_FIELDSPLIT_SCHUR_FACT_LOWER = (UInt32)(1) -const PC_FIELDSPLIT_SCHUR_FACT_UPPER = (UInt32)(2) -const PC_FIELDSPLIT_SCHUR_FACT_FULL = (UInt32)(3) - -#= # end enum PCFieldSplitSchurFactType =# -#= # begin enum ANONYMOUS_57 =# -typealias ANONYMOUS_57 UInt32 - -const PC_PARMS_GLOBAL_RAS = (UInt32)(0) -const PC_PARMS_GLOBAL_SCHUR = (UInt32)(1) -const PC_PARMS_GLOBAL_BJ = (UInt32)(2) - -#= # end enum ANONYMOUS_57 =# -#= # begin enum PCPARMSGlobalType =# -typealias PCPARMSGlobalType UInt32 - -const PC_PARMS_GLOBAL_RAS = (UInt32)(0) -const PC_PARMS_GLOBAL_SCHUR = (UInt32)(1) -const PC_PARMS_GLOBAL_BJ = (UInt32)(2) - -#= # end enum PCPARMSGlobalType =# -#= # begin enum ANONYMOUS_58 =# -typealias ANONYMOUS_58 UInt32 - -const PC_PARMS_LOCAL_ILU0 = (UInt32)(0) -const PC_PARMS_LOCAL_ILUK = (UInt32)(1) -const PC_PARMS_LOCAL_ILUT = (UInt32)(2) -const PC_PARMS_LOCAL_ARMS = (UInt32)(3) - -#= # end enum ANONYMOUS_58 =# -#= # begin enum PCPARMSLocalType =# -typealias PCPARMSLocalType UInt32 - -const PC_PARMS_LOCAL_ILU0 = (UInt32)(0) -const PC_PARMS_LOCAL_ILUK = (UInt32)(1) -const PC_PARMS_LOCAL_ILUT = (UInt32)(2) -const PC_PARMS_LOCAL_ARMS = (UInt32)(3) - -#= # end enum PCPARMSLocalType =# -typealias PCGAMGType Symbol -typealias PCGAMGClassicalType Symbol - -#= # begin enum ANONYMOUS_59 =# -typealias ANONYMOUS_59 UInt32 - -const PC_MG_MULTIPLICATIVE = (UInt32)(0) -const PC_MG_ADDITIVE = (UInt32)(1) -const PC_MG_FULL = (UInt32)(2) -const PC_MG_KASKADE = (UInt32)(3) - -#= # end enum ANONYMOUS_59 =# -#= # begin enum ANONYMOUS_60 =# -typealias ANONYMOUS_60 UInt32 - -const PC_MG_CYCLE_V = (UInt32)(1) -const PC_MG_CYCLE_W = (UInt32)(2) - -#= # end enum ANONYMOUS_60 =# -#= # begin enum PCMGCycleType =# -typealias PCMGCycleType UInt32 - -const PC_MG_CYCLE_V = (UInt32)(1) -const PC_MG_CYCLE_W = (UInt32)(2) - -#= # end enum PCMGCycleType =# -#= # begin enum ANONYMOUS_61 =# -typealias ANONYMOUS_61 UInt32 - -const PC_EXOTIC_FACE = (UInt32)(0) -const PC_EXOTIC_WIREBASKET = (UInt32)(1) - -#= # end enum ANONYMOUS_61 =# -#= # begin enum PCExoticType =# -typealias PCExoticType UInt32 - -const PC_EXOTIC_FACE = (UInt32)(0) -const PC_EXOTIC_WIREBASKET = (UInt32)(1) - -#= # end enum PCExoticType =# -immutable _p_KSP -end - -immutable KSP{T} - pobj::Ptr{Void} -end - -typealias KSPType Symbol - -#= # begin enum ANONYMOUS_62 =# -typealias ANONYMOUS_62 UInt32 - -const KSP_FCG_TRUNC_TYPE_STANDARD = (UInt32)(0) -const KSP_FCG_TRUNC_TYPE_NOTAY = (UInt32)(1) - -#= # end enum ANONYMOUS_62 =# -#= # begin enum KSPFCGTruncationType =# -typealias KSPFCGTruncationType UInt32 - -const KSP_FCG_TRUNC_TYPE_STANDARD = (UInt32)(0) -const KSP_FCG_TRUNC_TYPE_NOTAY = (UInt32)(1) - -#= # end enum KSPFCGTruncationType =# -#= # begin enum ANONYMOUS_63 =# -typealias ANONYMOUS_63 UInt32 - -const KSP_GMRES_CGS_REFINE_NEVER = (UInt32)(0) -const KSP_GMRES_CGS_REFINE_IFNEEDED = (UInt32)(1) -const KSP_GMRES_CGS_REFINE_ALWAYS = (UInt32)(2) - -#= # end enum ANONYMOUS_63 =# -#= # begin enum KSPGMRESCGSRefinementType =# -typealias KSPGMRESCGSRefinementType UInt32 - -const KSP_GMRES_CGS_REFINE_NEVER = (UInt32)(0) -const KSP_GMRES_CGS_REFINE_IFNEEDED = (UInt32)(1) -const KSP_GMRES_CGS_REFINE_ALWAYS = (UInt32)(2) - -#= # end enum KSPGMRESCGSRefinementType =# -#= # begin enum ANONYMOUS_64 =# -typealias ANONYMOUS_64 Cint - -const KSP_NORM_DEFAULT = (Int32)(-1) -const KSP_NORM_NONE = (Int32)(0) -const KSP_NORM_PRECONDITIONED = (Int32)(1) -const KSP_NORM_UNPRECONDITIONED = (Int32)(2) -const KSP_NORM_NATURAL = (Int32)(3) - -#= # end enum ANONYMOUS_64 =# -#= # begin enum ANONYMOUS_65 =# -typealias ANONYMOUS_65 Cint - -const KSP_CONVERGED_RTOL_NORMAL = (Int32)(1) -const KSP_CONVERGED_ATOL_NORMAL = (Int32)(9) -const KSP_CONVERGED_RTOL = (Int32)(2) -const KSP_CONVERGED_ATOL = (Int32)(3) -const KSP_CONVERGED_ITS = (Int32)(4) -const KSP_CONVERGED_CG_NEG_CURVE = (Int32)(5) -const KSP_CONVERGED_CG_CONSTRAINED = (Int32)(6) -const KSP_CONVERGED_STEP_LENGTH = (Int32)(7) -const KSP_CONVERGED_HAPPY_BREAKDOWN = (Int32)(8) -const KSP_DIVERGED_NULL = (Int32)(-2) -const KSP_DIVERGED_ITS = (Int32)(-3) -const KSP_DIVERGED_DTOL = (Int32)(-4) -const KSP_DIVERGED_BREAKDOWN = (Int32)(-5) -const KSP_DIVERGED_BREAKDOWN_BICG = (Int32)(-6) -const KSP_DIVERGED_NONSYMMETRIC = (Int32)(-7) -const KSP_DIVERGED_INDEFINITE_PC = (Int32)(-8) -const KSP_DIVERGED_NANORINF = (Int32)(-9) -const KSP_DIVERGED_INDEFINITE_MAT = (Int32)(-10) -const KSP_DIVERGED_PCSETUP_FAILED = (Int32)(-11) -const KSP_CONVERGED_ITERATING = (Int32)(0) - -#= # end enum ANONYMOUS_65 =# -#= # begin enum KSPConvergedReason =# -typealias KSPConvergedReason Cint - -const KSP_CONVERGED_RTOL_NORMAL = (Int32)(1) -const KSP_CONVERGED_ATOL_NORMAL = (Int32)(9) -const KSP_CONVERGED_RTOL = (Int32)(2) -const KSP_CONVERGED_ATOL = (Int32)(3) -const KSP_CONVERGED_ITS = (Int32)(4) -const KSP_CONVERGED_CG_NEG_CURVE = (Int32)(5) -const KSP_CONVERGED_CG_CONSTRAINED = (Int32)(6) -const KSP_CONVERGED_STEP_LENGTH = (Int32)(7) -const KSP_CONVERGED_HAPPY_BREAKDOWN = (Int32)(8) -const KSP_DIVERGED_NULL = (Int32)(-2) -const KSP_DIVERGED_ITS = (Int32)(-3) -const KSP_DIVERGED_DTOL = (Int32)(-4) -const KSP_DIVERGED_BREAKDOWN = (Int32)(-5) -const KSP_DIVERGED_BREAKDOWN_BICG = (Int32)(-6) -const KSP_DIVERGED_NONSYMMETRIC = (Int32)(-7) -const KSP_DIVERGED_INDEFINITE_PC = (Int32)(-8) -const KSP_DIVERGED_NANORINF = (Int32)(-9) -const KSP_DIVERGED_INDEFINITE_MAT = (Int32)(-10) -const KSP_DIVERGED_PCSETUP_FAILED = (Int32)(-11) -const KSP_CONVERGED_ITERATING = (Int32)(0) - -#= # end enum KSPConvergedReason =# -#= # begin enum ANONYMOUS_66 =# -typealias ANONYMOUS_66 UInt32 - -const KSP_CG_SYMMETRIC = (UInt32)(0) -const KSP_CG_HERMITIAN = (UInt32)(1) - -#= # end enum ANONYMOUS_66 =# -#= # begin enum KSPCGType =# -typealias KSPCGType UInt32 - -const KSP_CG_SYMMETRIC = (UInt32)(0) -const KSP_CG_HERMITIAN = (UInt32)(1) - -#= # end enum KSPCGType =# -#= skipping type declaration with undefined symbols: -immutable _p_KSPFischerGuess - method::PetscInt - curl::PetscInt - maxl::PetscInt - refcnt::PetscInt - monitor::PetscBool - mat::Mat - ksp::KSP -end -=# -# skipping undefined typealias typealias KSPFischerGuess Ptr{_p_KSPFischerGuess} -#= # begin enum ANONYMOUS_67 =# -typealias ANONYMOUS_67 UInt32 - -const MAT_SCHUR_COMPLEMENT_AINV_DIAG = (UInt32)(0) -const MAT_SCHUR_COMPLEMENT_AINV_LUMP = (UInt32)(1) - -#= # end enum ANONYMOUS_67 =# -#= # begin enum MatSchurComplementAinvType =# -typealias MatSchurComplementAinvType UInt32 - -const MAT_SCHUR_COMPLEMENT_AINV_DIAG = (UInt32)(0) -const MAT_SCHUR_COMPLEMENT_AINV_LUMP = (UInt32)(1) - -#= # end enum MatSchurComplementAinvType =# -immutable _p_SNES -end - -typealias SNES Ptr{_p_SNES} -typealias SNESType Symbol - -#= # begin enum ANONYMOUS_68 =# -typealias ANONYMOUS_68 Cint - -const SNES_CONVERGED_FNORM_ABS = (Int32)(2) -const SNES_CONVERGED_FNORM_RELATIVE = (Int32)(3) -const SNES_CONVERGED_SNORM_RELATIVE = (Int32)(4) -const SNES_CONVERGED_ITS = (Int32)(5) -const SNES_CONVERGED_TR_DELTA = (Int32)(7) -const SNES_DIVERGED_FUNCTION_DOMAIN = (Int32)(-1) -const SNES_DIVERGED_FUNCTION_COUNT = (Int32)(-2) -const SNES_DIVERGED_LINEAR_SOLVE = (Int32)(-3) -const SNES_DIVERGED_FNORM_NAN = (Int32)(-4) -const SNES_DIVERGED_MAX_IT = (Int32)(-5) -const SNES_DIVERGED_LINE_SEARCH = (Int32)(-6) -const SNES_DIVERGED_INNER = (Int32)(-7) -const SNES_DIVERGED_LOCAL_MIN = (Int32)(-8) -const SNES_CONVERGED_ITERATING = (Int32)(0) - -#= # end enum ANONYMOUS_68 =# -#= # begin enum SNESConvergedReason =# -typealias SNESConvergedReason Cint - -const SNES_CONVERGED_FNORM_ABS = (Int32)(2) -const SNES_CONVERGED_FNORM_RELATIVE = (Int32)(3) -const SNES_CONVERGED_SNORM_RELATIVE = (Int32)(4) -const SNES_CONVERGED_ITS = (Int32)(5) -const SNES_CONVERGED_TR_DELTA = (Int32)(7) -const SNES_DIVERGED_FUNCTION_DOMAIN = (Int32)(-1) -const SNES_DIVERGED_FUNCTION_COUNT = (Int32)(-2) -const SNES_DIVERGED_LINEAR_SOLVE = (Int32)(-3) -const SNES_DIVERGED_FNORM_NAN = (Int32)(-4) -const SNES_DIVERGED_MAX_IT = (Int32)(-5) -const SNES_DIVERGED_LINE_SEARCH = (Int32)(-6) -const SNES_DIVERGED_INNER = (Int32)(-7) -const SNES_DIVERGED_LOCAL_MIN = (Int32)(-8) -const SNES_CONVERGED_ITERATING = (Int32)(0) - -#= # end enum SNESConvergedReason =# -#= # begin enum ANONYMOUS_69 =# -typealias ANONYMOUS_69 Cint - -const SNES_NORM_DEFAULT = (Int32)(-1) -const SNES_NORM_NONE = (Int32)(0) -const SNES_NORM_ALWAYS = (Int32)(1) -const SNES_NORM_INITIAL_ONLY = (Int32)(2) -const SNES_NORM_FINAL_ONLY = (Int32)(3) -const SNES_NORM_INITIAL_FINAL_ONLY = (Int32)(4) - -#= # end enum ANONYMOUS_69 =# -#= # begin enum SNESNormSchedule =# -typealias SNESNormSchedule Cint - -const SNES_NORM_DEFAULT = (Int32)(-1) -const SNES_NORM_NONE = (Int32)(0) -const SNES_NORM_ALWAYS = (Int32)(1) -const SNES_NORM_INITIAL_ONLY = (Int32)(2) -const SNES_NORM_FINAL_ONLY = (Int32)(3) -const SNES_NORM_INITIAL_FINAL_ONLY = (Int32)(4) - -#= # end enum SNESNormSchedule =# -#= # begin enum ANONYMOUS_70 =# -typealias ANONYMOUS_70 Cint - -const SNES_FUNCTION_DEFAULT = (Int32)(-1) -const SNES_FUNCTION_UNPRECONDITIONED = (Int32)(0) -const SNES_FUNCTION_PRECONDITIONED = (Int32)(1) - -#= # end enum ANONYMOUS_70 =# -#= # begin enum SNESFunctionType =# -typealias SNESFunctionType Cint - -const SNES_FUNCTION_DEFAULT = (Int32)(-1) -const SNES_FUNCTION_UNPRECONDITIONED = (Int32)(0) -const SNES_FUNCTION_PRECONDITIONED = (Int32)(1) - -#= # end enum SNESFunctionType =# -immutable _p_LineSearch -end - -typealias SNESLineSearch Ptr{_p_LineSearch} -typealias SNESLineSearchType Symbol -typealias SNESLineSearchVIProjectFunc Ptr{Void} -typealias SNESLineSearchVINormFunc Ptr{Void} -typealias SNESLineSearchApplyFunc Ptr{Void} -typealias SNESLineSearchUserFunc Ptr{Void} - -#= # begin enum ANONYMOUS_71 =# -typealias ANONYMOUS_71 UInt32 - -const SNES_LINESEARCH_SUCCEEDED = (UInt32)(0) -const SNES_LINESEARCH_FAILED_NANORINF = (UInt32)(1) -const SNES_LINESEARCH_FAILED_DOMAIN = (UInt32)(2) -const SNES_LINESEARCH_FAILED_REDUCT = (UInt32)(3) -const SNES_LINESEARCH_FAILED_USER = (UInt32)(4) -const SNES_LINESEARCH_FAILED_FUNCTION = (UInt32)(5) - -#= # end enum ANONYMOUS_71 =# -#= # begin enum SNESLineSearchReason =# -typealias SNESLineSearchReason UInt32 - -const SNES_LINESEARCH_SUCCEEDED = (UInt32)(0) -const SNES_LINESEARCH_FAILED_NANORINF = (UInt32)(1) -const SNES_LINESEARCH_FAILED_DOMAIN = (UInt32)(2) -const SNES_LINESEARCH_FAILED_REDUCT = (UInt32)(3) -const SNES_LINESEARCH_FAILED_USER = (UInt32)(4) -const SNES_LINESEARCH_FAILED_FUNCTION = (UInt32)(5) - -#= # end enum SNESLineSearchReason =# -typealias DMDASNESFunction Ptr{Void} -typealias DMDASNESJacobian Ptr{Void} -typealias DMDASNESObjective Ptr{Void} -typealias SNESMSType Symbol - -#= # begin enum ANONYMOUS_72 =# -typealias ANONYMOUS_72 UInt32 - -const SNES_NGMRES_RESTART_NONE = (UInt32)(0) -const SNES_NGMRES_RESTART_PERIODIC = (UInt32)(1) -const SNES_NGMRES_RESTART_DIFFERENCE = (UInt32)(2) - -#= # end enum ANONYMOUS_72 =# -#= # begin enum SNESNGMRESRestartType =# -typealias SNESNGMRESRestartType UInt32 - -const SNES_NGMRES_RESTART_NONE = (UInt32)(0) -const SNES_NGMRES_RESTART_PERIODIC = (UInt32)(1) -const SNES_NGMRES_RESTART_DIFFERENCE = (UInt32)(2) - -#= # end enum SNESNGMRESRestartType =# -#= # begin enum ANONYMOUS_73 =# -typealias ANONYMOUS_73 UInt32 - -const SNES_NGMRES_SELECT_NONE = (UInt32)(0) -const SNES_NGMRES_SELECT_DIFFERENCE = (UInt32)(1) -const SNES_NGMRES_SELECT_LINESEARCH = (UInt32)(2) - -#= # end enum ANONYMOUS_73 =# -#= # begin enum SNESNGMRESSelectType =# -typealias SNESNGMRESSelectType UInt32 - -const SNES_NGMRES_SELECT_NONE = (UInt32)(0) -const SNES_NGMRES_SELECT_DIFFERENCE = (UInt32)(1) -const SNES_NGMRES_SELECT_LINESEARCH = (UInt32)(2) - -#= # end enum SNESNGMRESSelectType =# -#= # begin enum ANONYMOUS_74 =# -typealias ANONYMOUS_74 UInt32 - -const SNES_NCG_FR = (UInt32)(0) -const SNES_NCG_PRP = (UInt32)(1) -const SNES_NCG_HS = (UInt32)(2) -const SNES_NCG_DY = (UInt32)(3) -const SNES_NCG_CD = (UInt32)(4) - -#= # end enum ANONYMOUS_74 =# -#= # begin enum SNESNCGType =# -typealias SNESNCGType UInt32 - -const SNES_NCG_FR = (UInt32)(0) -const SNES_NCG_PRP = (UInt32)(1) -const SNES_NCG_HS = (UInt32)(2) -const SNES_NCG_DY = (UInt32)(3) -const SNES_NCG_CD = (UInt32)(4) - -#= # end enum SNESNCGType =# -#= # begin enum ANONYMOUS_75 =# -typealias ANONYMOUS_75 UInt32 - -const SNES_QN_SCALE_DEFAULT = (UInt32)(0) -const SNES_QN_SCALE_NONE = (UInt32)(1) -const SNES_QN_SCALE_SHANNO = (UInt32)(2) -const SNES_QN_SCALE_LINESEARCH = (UInt32)(3) -const SNES_QN_SCALE_JACOBIAN = (UInt32)(4) - -#= # end enum ANONYMOUS_75 =# -#= # begin enum SNESQNScaleType =# -typealias SNESQNScaleType UInt32 - -const SNES_QN_SCALE_DEFAULT = (UInt32)(0) -const SNES_QN_SCALE_NONE = (UInt32)(1) -const SNES_QN_SCALE_SHANNO = (UInt32)(2) -const SNES_QN_SCALE_LINESEARCH = (UInt32)(3) -const SNES_QN_SCALE_JACOBIAN = (UInt32)(4) - -#= # end enum SNESQNScaleType =# -#= # begin enum ANONYMOUS_76 =# -typealias ANONYMOUS_76 UInt32 - -const SNES_QN_RESTART_DEFAULT = (UInt32)(0) -const SNES_QN_RESTART_NONE = (UInt32)(1) -const SNES_QN_RESTART_POWELL = (UInt32)(2) -const SNES_QN_RESTART_PERIODIC = (UInt32)(3) - -#= # end enum ANONYMOUS_76 =# -#= # begin enum SNESQNRestartType =# -typealias SNESQNRestartType UInt32 - -const SNES_QN_RESTART_DEFAULT = (UInt32)(0) -const SNES_QN_RESTART_NONE = (UInt32)(1) -const SNES_QN_RESTART_POWELL = (UInt32)(2) -const SNES_QN_RESTART_PERIODIC = (UInt32)(3) - -#= # end enum SNESQNRestartType =# -#= # begin enum ANONYMOUS_77 =# -typealias ANONYMOUS_77 UInt32 - -const SNES_QN_LBFGS = (UInt32)(0) -const SNES_QN_BROYDEN = (UInt32)(1) -const SNES_QN_BADBROYDEN = (UInt32)(2) - -#= # end enum ANONYMOUS_77 =# -#= # begin enum SNESQNType =# -typealias SNESQNType UInt32 - -const SNES_QN_LBFGS = (UInt32)(0) -const SNES_QN_BROYDEN = (UInt32)(1) -const SNES_QN_BADBROYDEN = (UInt32)(2) - -#= # end enum SNESQNType =# -#= # begin enum ANONYMOUS_78 =# -typealias ANONYMOUS_78 UInt32 - -const SNES_COMPOSITE_ADDITIVE = (UInt32)(0) -const SNES_COMPOSITE_MULTIPLICATIVE = (UInt32)(1) -const SNES_COMPOSITE_ADDITIVEOPTIMAL = (UInt32)(2) - -#= # end enum ANONYMOUS_78 =# -#= # begin enum SNESCompositeType =# -typealias SNESCompositeType UInt32 - -const SNES_COMPOSITE_ADDITIVE = (UInt32)(0) -const SNES_COMPOSITE_MULTIPLICATIVE = (UInt32)(1) -const SNES_COMPOSITE_ADDITIVEOPTIMAL = (UInt32)(2) - -#= # end enum SNESCompositeType =# -#= # begin enum ANONYMOUS_79 =# -typealias ANONYMOUS_79 UInt32 - -const SNES_FAS_MULTIPLICATIVE = (UInt32)(0) -const SNES_FAS_ADDITIVE = (UInt32)(1) -const SNES_FAS_FULL = (UInt32)(2) -const SNES_FAS_KASKADE = (UInt32)(3) - -#= # end enum ANONYMOUS_79 =# -#= # begin enum SNESFASType =# -typealias SNESFASType UInt32 - -const SNES_FAS_MULTIPLICATIVE = (UInt32)(0) -const SNES_FAS_ADDITIVE = (UInt32)(1) -const SNES_FAS_FULL = (UInt32)(2) -const SNES_FAS_KASKADE = (UInt32)(3) - -#= # end enum SNESFASType =# -immutable _p_TS -end - -immutable TS{T} - pobj::Ptr{Void} -end - -typealias TSType Symbol - -#= # begin enum ANONYMOUS_80 =# -typealias ANONYMOUS_80 UInt32 - -const TS_LINEAR = (UInt32)(0) -const TS_NONLINEAR = (UInt32)(1) - -#= # end enum ANONYMOUS_80 =# -#= # begin enum TSProblemType =# -typealias TSProblemType UInt32 - -const TS_LINEAR = (UInt32)(0) -const TS_NONLINEAR = (UInt32)(1) - -#= # end enum TSProblemType =# -#= # begin enum ANONYMOUS_81 =# -typealias ANONYMOUS_81 Cint - -const TS_EQ_UNSPECIFIED = (Int32)(-1) -const TS_EQ_EXPLICIT = (Int32)(0) -const TS_EQ_ODE_EXPLICIT = (Int32)(1) -const TS_EQ_DAE_SEMI_EXPLICIT_INDEX1 = (Int32)(100) -const TS_EQ_DAE_SEMI_EXPLICIT_INDEX2 = (Int32)(200) -const TS_EQ_DAE_SEMI_EXPLICIT_INDEX3 = (Int32)(300) -const TS_EQ_DAE_SEMI_EXPLICIT_INDEXHI = (Int32)(500) -const TS_EQ_IMPLICIT = (Int32)(1000) -const TS_EQ_ODE_IMPLICIT = (Int32)(1001) -const TS_EQ_DAE_IMPLICIT_INDEX1 = (Int32)(1100) -const TS_EQ_DAE_IMPLICIT_INDEX2 = (Int32)(1200) -const TS_EQ_DAE_IMPLICIT_INDEX3 = (Int32)(1300) -const TS_EQ_DAE_IMPLICIT_INDEXHI = (Int32)(1500) - -#= # end enum ANONYMOUS_81 =# -#= # begin enum TSEquationType =# -typealias TSEquationType Cint - -const TS_EQ_UNSPECIFIED = (Int32)(-1) -const TS_EQ_EXPLICIT = (Int32)(0) -const TS_EQ_ODE_EXPLICIT = (Int32)(1) -const TS_EQ_DAE_SEMI_EXPLICIT_INDEX1 = (Int32)(100) -const TS_EQ_DAE_SEMI_EXPLICIT_INDEX2 = (Int32)(200) -const TS_EQ_DAE_SEMI_EXPLICIT_INDEX3 = (Int32)(300) -const TS_EQ_DAE_SEMI_EXPLICIT_INDEXHI = (Int32)(500) -const TS_EQ_IMPLICIT = (Int32)(1000) -const TS_EQ_ODE_IMPLICIT = (Int32)(1001) -const TS_EQ_DAE_IMPLICIT_INDEX1 = (Int32)(1100) -const TS_EQ_DAE_IMPLICIT_INDEX2 = (Int32)(1200) -const TS_EQ_DAE_IMPLICIT_INDEX3 = (Int32)(1300) -const TS_EQ_DAE_IMPLICIT_INDEXHI = (Int32)(1500) - -#= # end enum TSEquationType =# -#= # begin enum ANONYMOUS_82 =# -typealias ANONYMOUS_82 Cint - -const TS_CONVERGED_ITERATING = (Int32)(0) -const TS_CONVERGED_TIME = (Int32)(1) -const TS_CONVERGED_ITS = (Int32)(2) -const TS_CONVERGED_USER = (Int32)(3) -const TS_CONVERGED_EVENT = (Int32)(4) -const TS_DIVERGED_NONLINEAR_SOLVE = (Int32)(-1) -const TS_DIVERGED_STEP_REJECTED = (Int32)(-2) - -#= # end enum ANONYMOUS_82 =# -#= # begin enum TSConvergedReason =# -typealias TSConvergedReason Cint - -const TS_CONVERGED_ITERATING = (Int32)(0) -const TS_CONVERGED_TIME = (Int32)(1) -const TS_CONVERGED_ITS = (Int32)(2) -const TS_CONVERGED_USER = (Int32)(3) -const TS_CONVERGED_EVENT = (Int32)(4) -const TS_DIVERGED_NONLINEAR_SOLVE = (Int32)(-1) -const TS_DIVERGED_STEP_REJECTED = (Int32)(-2) - -#= # end enum TSConvergedReason =# -#= # begin enum ANONYMOUS_83 =# -typealias ANONYMOUS_83 UInt32 - -const TS_EXACTFINALTIME_STEPOVER = (UInt32)(0) -const TS_EXACTFINALTIME_INTERPOLATE = (UInt32)(1) -const TS_EXACTFINALTIME_MATCHSTEP = (UInt32)(2) - -#= # end enum ANONYMOUS_83 =# -#= # begin enum TSExactFinalTimeOption =# -typealias TSExactFinalTimeOption UInt32 - -const TS_EXACTFINALTIME_STEPOVER = (UInt32)(0) -const TS_EXACTFINALTIME_INTERPOLATE = (UInt32)(1) -const TS_EXACTFINALTIME_MATCHSTEP = (UInt32)(2) - -#= # end enum TSExactFinalTimeOption =# -immutable _p_TSTrajectory -end - -typealias TSTrajectory Ptr{_p_TSTrajectory} -typealias TSTrajectoryType Symbol - -immutable _n_TSMonitorDrawCtx -end - -typealias TSMonitorDrawCtx Ptr{_n_TSMonitorDrawCtx} -typealias TSRHSFunction Ptr{Void} -typealias TSRHSJacobian Ptr{Void} -typealias TSSolutionFunction Ptr{Void} -typealias TSIFunction Ptr{Void} -typealias TSIJacobian Ptr{Void} -typealias DMDATSRHSFunctionLocal Ptr{Void} -typealias DMDATSRHSJacobianLocal Ptr{Void} -typealias DMDATSIFunctionLocal Ptr{Void} -typealias DMDATSIJacobianLocal Ptr{Void} - -immutable _n_TSMonitorLGCtx -end - -typealias TSMonitorLGCtx Ptr{_n_TSMonitorLGCtx} - -immutable TSMonitorDMDARayCtx - ray::Vec - scatter::VecScatter - viewer::PetscViewer - lgctx::TSMonitorLGCtx -end - -immutable _n_TSMonitorEnvelopeCtx -end - -typealias TSMonitorEnvelopeCtx Ptr{_n_TSMonitorEnvelopeCtx} - -immutable _n_TSMonitorSPEigCtx -end - -typealias TSMonitorSPEigCtx Ptr{_n_TSMonitorSPEigCtx} -typealias TSSSPType Symbol - -immutable _p_TSAdapt -end - -typealias TSAdapt Ptr{_p_TSAdapt} -typealias TSAdaptType Symbol - -immutable _p_TSGLAdapt -end - -typealias TSGLAdapt Ptr{_p_TSGLAdapt} -typealias TSGLAdaptType Symbol -typealias TSGLAcceptType Symbol -typealias TSGLAcceptFunction Ptr{Void} -typealias TSGLType Symbol -typealias TSRKType Symbol -typealias TSARKIMEXType Symbol -typealias TSRosWType Symbol - -#= # begin enum ANONYMOUS_84 =# -typealias ANONYMOUS_84 UInt32 - -const TAO_SUBSET_SUBVEC = (UInt32)(0) -const TAO_SUBSET_MASK = (UInt32)(1) -const TAO_SUBSET_MATRIXFREE = (UInt32)(2) - -#= # end enum ANONYMOUS_84 =# -#= # begin enum TaoSubsetType =# -typealias TaoSubsetType UInt32 - -const TAO_SUBSET_SUBVEC = (UInt32)(0) -const TAO_SUBSET_MASK = (UInt32)(1) -const TAO_SUBSET_MATRIXFREE = (UInt32)(2) - -#= # end enum TaoSubsetType =# -immutable _p_Tao -end - -typealias Tao Ptr{_p_Tao} - -#= # begin enum ANONYMOUS_85 =# -typealias ANONYMOUS_85 Cint - -const TAO_CONVERGED_FATOL = (Int32)(1) -const TAO_CONVERGED_FRTOL = (Int32)(2) -const TAO_CONVERGED_GATOL = (Int32)(3) -const TAO_CONVERGED_GRTOL = (Int32)(4) -const TAO_CONVERGED_GTTOL = (Int32)(5) -const TAO_CONVERGED_STEPTOL = (Int32)(6) -const TAO_CONVERGED_MINF = (Int32)(7) -const TAO_CONVERGED_USER = (Int32)(8) -const TAO_DIVERGED_MAXITS = (Int32)(-2) -const TAO_DIVERGED_NAN = (Int32)(-4) -const TAO_DIVERGED_MAXFCN = (Int32)(-5) -const TAO_DIVERGED_LS_FAILURE = (Int32)(-6) -const TAO_DIVERGED_TR_REDUCTION = (Int32)(-7) -const TAO_DIVERGED_USER = (Int32)(-8) -const TAO_CONTINUE_ITERATING = (Int32)(0) - -#= # end enum ANONYMOUS_85 =# -#= # begin enum TaoConvergedReason =# -typealias TaoConvergedReason Cint - -const TAO_CONVERGED_FATOL = (Int32)(1) -const TAO_CONVERGED_FRTOL = (Int32)(2) -const TAO_CONVERGED_GATOL = (Int32)(3) -const TAO_CONVERGED_GRTOL = (Int32)(4) -const TAO_CONVERGED_GTTOL = (Int32)(5) -const TAO_CONVERGED_STEPTOL = (Int32)(6) -const TAO_CONVERGED_MINF = (Int32)(7) -const TAO_CONVERGED_USER = (Int32)(8) -const TAO_DIVERGED_MAXITS = (Int32)(-2) -const TAO_DIVERGED_NAN = (Int32)(-4) -const TAO_DIVERGED_MAXFCN = (Int32)(-5) -const TAO_DIVERGED_LS_FAILURE = (Int32)(-6) -const TAO_DIVERGED_TR_REDUCTION = (Int32)(-7) -const TAO_DIVERGED_USER = (Int32)(-8) -const TAO_CONTINUE_ITERATING = (Int32)(0) - -#= # end enum TaoConvergedReason =# -immutable _p_TaoLineSearch -end - -typealias TaoLineSearch Ptr{_p_TaoLineSearch} - -#= # begin enum ANONYMOUS_86 =# -typealias ANONYMOUS_86 Cint - -const TAOLINESEARCH_FAILED_INFORNAN = (Int32)(-1) -const TAOLINESEARCH_FAILED_BADPARAMETER = (Int32)(-2) -const TAOLINESEARCH_FAILED_ASCENT = (Int32)(-3) -const TAOLINESEARCH_CONTINUE_ITERATING = (Int32)(0) -const TAOLINESEARCH_SUCCESS = (Int32)(1) -const TAOLINESEARCH_SUCCESS_USER = (Int32)(2) -const TAOLINESEARCH_HALTED_OTHER = (Int32)(3) -const TAOLINESEARCH_HALTED_MAXFCN = (Int32)(4) -const TAOLINESEARCH_HALTED_UPPERBOUND = (Int32)(5) -const TAOLINESEARCH_HALTED_LOWERBOUND = (Int32)(6) -const TAOLINESEARCH_HALTED_RTOL = (Int32)(7) -const TAOLINESEARCH_HALTED_USER = (Int32)(8) - -#= # end enum ANONYMOUS_86 =# -#= # begin enum TaoLineSearchConvergedReason =# -typealias TaoLineSearchConvergedReason Cint - -const TAOLINESEARCH_FAILED_INFORNAN = (Int32)(-1) -const TAOLINESEARCH_FAILED_BADPARAMETER = (Int32)(-2) -const TAOLINESEARCH_FAILED_ASCENT = (Int32)(-3) -const TAOLINESEARCH_CONTINUE_ITERATING = (Int32)(0) -const TAOLINESEARCH_SUCCESS = (Int32)(1) -const TAOLINESEARCH_SUCCESS_USER = (Int32)(2) -const TAOLINESEARCH_HALTED_OTHER = (Int32)(3) -const TAOLINESEARCH_HALTED_MAXFCN = (Int32)(4) -const TAOLINESEARCH_HALTED_UPPERBOUND = (Int32)(5) -const TAOLINESEARCH_HALTED_LOWERBOUND = (Int32)(6) -const TAOLINESEARCH_HALTED_RTOL = (Int32)(7) -const TAOLINESEARCH_HALTED_USER = (Int32)(8) - -#= # end enum TaoLineSearchConvergedReason =# diff --git a/src/generated/libPETSc_commonRealSingle.jl b/src/generated/libPETSc_commonRealSingle.jl deleted file mode 100644 index e2c0d967..00000000 --- a/src/generated/libPETSc_commonRealSingle.jl +++ /dev/null @@ -1,3963 +0,0 @@ -# Automatically generated using Clang.jl wrap_c, version 0.0.0 - -using Compat - -#skipping undefined const PETSC_FUNCTION_NAME = PETSC_FUNCTION_NAME_C -#skipping undefined const PETSC_RESTRICT = PETSC_C_RESTRICT -#skipping undefined const PETSC_STATIC_INLINE = PETSC_C_STATIC_INLINE -#skipping undefined const PETSC_VISIBILITY_PUBLIC = PETSC_DLLIMPORT -#= # Skipping MacroDefinition: PETSC_EXTERN extern PETSC_VISIBILITY_PUBLIC =# -#= # Skipping MacroDefinition: PETSC_INTERN extern PETSC_VISIBILITY_INTERNAL =# -const PETSC_VERSION_RELEASE = 1 -const PETSC_VERSION_MAJOR = 3 -const PETSC_VERSION_MINOR = 6 -const PETSC_VERSION_SUBMINOR = 0 -const PETSC_VERSION_PATCH = 0 -const PETSC_RELEASE_DATE = symbol("Jun, 9, 2015") -const PETSC_VERSION_DATE = symbol("Jun, 09, 2015") -const PETSC_VERSION_GIT = symbol("v3.6") -const PETSC_VERSION_DATE_GIT = symbol("2015-06-09 16:15:46 -0500") - -#= # Skipping MacroDefinition: PETSC_VERSION_ ( MAJOR , MINOR , SUBMINOR ) ( ( PETSC_VERSION_MAJOR == ( MAJOR ) ) && ( PETSC_VERSION_MINOR == ( MINOR ) ) && ( PETSC_VERSION_SUBMINOR == ( SUBMINOR ) ) && ( PETSC_VERSION_RELEASE == 1 ) ) =# -#= # Skipping MacroDefinition: PETSC_VERSION_LT ( MAJOR , MINOR , SUBMINOR ) ( PETSC_VERSION_RELEASE == 1 && ( PETSC_VERSION_MAJOR < ( MAJOR ) || ( PETSC_VERSION_MAJOR == ( MAJOR ) && ( PETSC_VERSION_MINOR < ( MINOR ) || ( PETSC_VERSION_MINOR == ( MINOR ) && ( PETSC_VERSION_SUBMINOR < ( SUBMINOR ) ) ) ) ) ) ) =# -#= # Skipping MacroDefinition: PETSC_VERSION_LE ( MAJOR , MINOR , SUBMINOR ) ( PETSC_VERSION_LT ( MAJOR , MINOR , SUBMINOR ) || PETSC_VERSION_ ( MAJOR , MINOR , SUBMINOR ) ) =# -#= # Skipping MacroDefinition: PETSC_VERSION_GT ( MAJOR , MINOR , SUBMINOR ) ( 0 == PETSC_VERSION_LE ( MAJOR , MINOR , SUBMINOR ) ) =# -#= # Skipping MacroDefinition: PETSC_VERSION_GE ( MAJOR , MINOR , SUBMINOR ) ( 0 == PETSC_VERSION_LT ( MAJOR , MINOR , SUBMINOR ) ) =# -const PETSC_AUTHOR_INFO = symbol(" The PETSc Team\n petsc-maint@mcs.anl.gov\n http://www.mcs.anl.gov/petsc/\n") -const MPICH_SKIP_MPICXX = 1 -const OMPI_SKIP_MPICXX = 1 - -#= # Skipping MacroDefinition: PetscAttrMPIPointerWithType ( bufno , typeno ) __attribute__ ( ( pointer_with_type_tag ( MPI , bufno , typeno ) ) ) =# -#= # Skipping MacroDefinition: PetscAttrMPITypeTag ( type ) __attribute__ ( ( type_tag_for_datatype ( MPI , type ) ) ) =# -#= # Skipping MacroDefinition: PetscAttrMPITypeTagLayoutCompatible ( type ) __attribute__ ( ( type_tag_for_datatype ( MPI , type , layout_compatible ) ) ) =# -#skipping undefined const MPIU_INT = MPI_INT64_T -#skipping undefined const MPIU_INT64 = MPI_INT64_T -#skipping undefined const MPIU_SIZE_T = MPI_UNSIGNED_LONG -#= # Skipping MacroDefinition: PetscUnlikely ( cond ) __builtin_expect ( ! ! ( cond ) , 0 ) =# -#= # Skipping MacroDefinition: PetscLikely ( cond ) __builtin_expect ( ! ! ( cond ) , 1 ) =# -#= # Skipping MacroDefinition: PetscExpPassiveScalar ( a ) PetscExpScalar ( ) =# -#skipping undefined const MPIU_REAL = MPI_FLOAT -#= # Skipping MacroDefinition: PetscSqrtReal ( a ) sqrt ( a ) =# -#= # Skipping MacroDefinition: PetscExpReal ( a ) exp ( a ) =# -#= # Skipping MacroDefinition: PetscLogReal ( a ) log ( a ) =# -#= # Skipping MacroDefinition: PetscLog10Real ( a ) log10 ( a ) =# -#= # Skipping MacroDefinition: PetscLog2Real ( a ) log2 ( a ) =# -#= # Skipping MacroDefinition: PetscSinReal ( a ) sin ( a ) =# -#= # Skipping MacroDefinition: PetscCosReal ( a ) cos ( a ) =# -#= # Skipping MacroDefinition: PetscTanReal ( a ) tan ( a ) =# -#= # Skipping MacroDefinition: PetscAsinReal ( a ) asin ( a ) =# -#= # Skipping MacroDefinition: PetscAcosReal ( a ) acos ( a ) =# -#= # Skipping MacroDefinition: PetscAtanReal ( a ) atan ( a ) =# -#= # Skipping MacroDefinition: PetscAtan2Real ( a , b ) atan2 ( a , b ) =# -#= # Skipping MacroDefinition: PetscSinhReal ( a ) sinh ( a ) =# -#= # Skipping MacroDefinition: PetscCoshReal ( a ) cosh ( a ) =# -#= # Skipping MacroDefinition: PetscTanhReal ( a ) tanh ( a ) =# -#= # Skipping MacroDefinition: PetscPowReal ( a , b ) pow ( a , b ) =# -#= # Skipping MacroDefinition: PetscCeilReal ( a ) ceil ( a ) =# -#= # Skipping MacroDefinition: PetscFloorReal ( a ) floor ( a ) =# -#= # Skipping MacroDefinition: PetscFmodReal ( a , b ) fmod ( a , b ) =# -#= # Skipping MacroDefinition: PetscTGamma ( a ) tgammaf ( a ) =# -const PETSC_HAVE_COMPLEX = 1 - -#= # Skipping MacroDefinition: PetscRealPartComplex ( a ) crealf ( a ) =# -#= # Skipping MacroDefinition: PetscImaginaryPartComplex ( a ) cimagf ( a ) =# -#= # Skipping MacroDefinition: PetscAbsComplex ( a ) cabsf ( a ) =# -#= # Skipping MacroDefinition: PetscConjComplex ( a ) conjf ( a ) =# -#= # Skipping MacroDefinition: PetscSqrtComplex ( a ) csqrtf ( a ) =# -#= # Skipping MacroDefinition: PetscPowComplex ( a , b ) cpowf ( a , b ) =# -#= # Skipping MacroDefinition: PetscExpComplex ( a ) cexpf ( a ) =# -#= # Skipping MacroDefinition: PetscLogComplex ( a ) clogf ( a ) =# -#= # Skipping MacroDefinition: PetscSinComplex ( a ) csinf ( a ) =# -#= # Skipping MacroDefinition: PetscCosComplex ( a ) ccosf ( a ) =# -#= # Skipping MacroDefinition: PetscAsinComplex ( a ) casinf ( a ) =# -#= # Skipping MacroDefinition: PetscAcosComplex ( a ) cacosf ( a ) =# -#= # Skipping MacroDefinition: PetscTanComplex ( a ) ctanf ( a ) =# -#= # Skipping MacroDefinition: PetscSinhComplex ( a ) csinhf ( a ) =# -#= # Skipping MacroDefinition: PetscCoshComplex ( a ) ccoshf ( a ) =# -#= # Skipping MacroDefinition: PetscTanhComplex ( a ) ctanhf ( a ) =# -#skipping undefined const MPIU_C_DOUBLE_COMPLEX = MPI_C_DOUBLE_COMPLEX -#skipping undefined const MPIU_C_COMPLEX = MPI_C_COMPLEX -#skipping undefined const MPIU_COMPLEX = MPIU_C_COMPLEX -#skipping undefined const MPIU_SCALAR = MPIU_REAL -#= # Skipping MacroDefinition: PetscRealPart ( a ) ( a ) =# -#= # Skipping MacroDefinition: PetscImaginaryPart ( a ) ( ( PetscReal ) 0. ) =# -#= # Skipping MacroDefinition: PetscConj ( a ) ( a ) =# -#= # Skipping MacroDefinition: PetscSqrtScalar ( a ) sqrt ( a ) =# -#= # Skipping MacroDefinition: PetscPowScalar ( a , b ) pow ( a , b ) =# -#= # Skipping MacroDefinition: PetscExpScalar ( a ) exp ( a ) =# -#= # Skipping MacroDefinition: PetscLogScalar ( a ) log ( a ) =# -#= # Skipping MacroDefinition: PetscSinScalar ( a ) sin ( a ) =# -#= # Skipping MacroDefinition: PetscCosScalar ( a ) cos ( a ) =# -#= # Skipping MacroDefinition: PetscAsinScalar ( a ) asin ( a ) =# -#= # Skipping MacroDefinition: PetscAcosScalar ( a ) acos ( a ) =# -#= # Skipping MacroDefinition: PetscTanScalar ( a ) tan ( a ) =# -#= # Skipping MacroDefinition: PetscSinhScalar ( a ) sinh ( a ) =# -#= # Skipping MacroDefinition: PetscCoshScalar ( a ) cosh ( a ) =# -#= # Skipping MacroDefinition: PetscTanhScalar ( a ) tanh ( a ) =# -#= # Skipping MacroDefinition: PetscSign ( a ) ( ( ( a ) >= 0 ) ? ( ( a ) == 0 ? 0 : 1 ) : - 1 ) =# -#= # Skipping MacroDefinition: PetscAbs ( a ) ( ( ( a ) >= 0 ) ? ( a ) : - ( a ) ) =# -#= # Skipping MacroDefinition: PetscMin ( a , b ) ( ( ( a ) < ( b ) ) ? ( a ) : ( b ) ) =# -#= # Skipping MacroDefinition: PetscMax ( a , b ) ( ( ( a ) < ( b ) ) ? ( b ) : ( a ) ) =# -#= # Skipping MacroDefinition: PetscClipInterval ( x , a , b ) ( PetscMax ( ( a ) , PetscMin ( ( x ) , ( b ) ) ) ) =# -#= # Skipping MacroDefinition: PetscAbsInt ( a ) ( ( ( a ) < 0 ) ? - ( a ) : ( a ) ) =# -#= # Skipping MacroDefinition: PetscAbsReal ( a ) ( ( ( a ) < 0 ) ? - ( a ) : ( a ) ) =# -#= # Skipping MacroDefinition: PetscSqr ( a ) ( ( a ) * ( a ) ) =# -const PETSC_PI = 3.141592653589793 -const PETSC_MAX_INT = 9223372036854775807 -const PETSC_MIN_INT = -PETSC_MAX_INT - 1 -const PETSC_MAX_REAL = 3.4028234663852886e38 -const PETSC_MIN_REAL = -PETSC_MAX_REAL -const PETSC_MACHINE_EPSILON = 1.1920929e-7 -const PETSC_SQRT_MACHINE_EPSILON = 0.000345266983 -const PETSC_SMALL = 1.0e-5 -const PETSC_INFINITY = PETSC_MAX_REAL / 4.0 -const PETSC_NINFINITY = -PETSC_INFINITY - -# excluding lhs of typealias PetscReal Cfloat -const PassiveReal = Float32 - -# excluding lhs of typealias PetscScalar PetscReal -const PassiveScalar = Float32 - -#skipping undefined const MPIU_MATSCALAR = MPIU_SCALAR -const PETSC_NULL = C_NULL -const PETSC_IGNORE = C_NULL -const PETSC_DECIDE = -1 -const PETSC_DETERMINE = PETSC_DECIDE -const PETSC_DEFAULT = -2 -const PETSC_COMM_SELF = MPI_COMM_SELF - -#= # Skipping MacroDefinition: PetscMalloc ( a , b ) ( ( * PetscTrMalloc ) ( ( a ) , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ , ( void * * ) ( b ) ) ) =# -#= # Skipping MacroDefinition: PetscAddrAlign ( a ) ( void * ) ( ( ( ( PETSC_UINTPTR_T ) ( a ) ) + ( PETSC_MEMALIGN - 1 ) ) & ~ ( PETSC_MEMALIGN - 1 ) ) =# -#= # Skipping MacroDefinition: PetscMalloc1 ( m1 , r1 ) PetscMalloc ( ( m1 ) * sizeof ( * * ( r1 ) ) , r1 ) =# -#= # Skipping MacroDefinition: PetscCalloc1 ( m1 , r1 ) ( PetscMalloc1 ( ( m1 ) , r1 ) || PetscMemzero ( * ( r1 ) , ( m1 ) * sizeof ( * * ( r1 ) ) ) ) =# -#= # Skipping MacroDefinition: PetscMalloc2 ( m1 , r1 , m2 , r2 ) ( PetscMalloc1 ( ( m1 ) , ( r1 ) ) || PetscMalloc1 ( ( m2 ) , ( r2 ) ) ) =# -#= # Skipping MacroDefinition: PetscCalloc2 ( m1 , r1 , m2 , r2 ) ( PetscMalloc2 ( ( m1 ) , ( r1 ) , ( m2 ) , ( r2 ) ) || PetscMemzero ( * ( r1 ) , ( m1 ) * sizeof ( * * ( r1 ) ) ) || PetscMemzero ( * ( r2 ) , ( m2 ) * sizeof ( * * ( r2 ) ) ) ) =# -#= # Skipping MacroDefinition: PetscMalloc3 ( m1 , r1 , m2 , r2 , m3 , r3 ) ( PetscMalloc1 ( ( m1 ) , ( r1 ) ) || PetscMalloc1 ( ( m2 ) , ( r2 ) ) || PetscMalloc1 ( ( m3 ) , ( r3 ) ) ) =# -#= # Skipping MacroDefinition: PetscCalloc3 ( m1 , r1 , m2 , r2 , m3 , r3 ) ( PetscMalloc3 ( ( m1 ) , ( r1 ) , ( m2 ) , ( r2 ) , ( m3 ) , ( r3 ) ) || PetscMemzero ( * ( r1 ) , ( m1 ) * sizeof ( * * ( r1 ) ) ) || PetscMemzero ( * ( r2 ) , ( m2 ) * sizeof ( * * ( r2 ) ) ) || PetscMemzero ( * ( r3 ) , ( m3 ) * sizeof ( * * ( r3 ) ) ) ) =# -#= # Skipping MacroDefinition: PetscMalloc4 ( m1 , r1 , m2 , r2 , m3 , r3 , m4 , r4 ) ( PetscMalloc1 ( ( m1 ) , ( r1 ) ) || PetscMalloc1 ( ( m2 ) , ( r2 ) ) || PetscMalloc1 ( ( m3 ) , ( r3 ) ) || PetscMalloc1 ( ( m4 ) , ( r4 ) ) ) =# -#= # Skipping MacroDefinition: PetscCalloc4 ( m1 , r1 , m2 , r2 , m3 , r3 , m4 , r4 ) ( PetscMalloc4 ( m1 , r1 , m2 , r2 , m3 , r3 , m4 , r4 ) || PetscMemzero ( * ( r1 ) , ( m1 ) * sizeof ( * * ( r1 ) ) ) || PetscMemzero ( * ( r2 ) , ( m2 ) * sizeof ( * * ( r2 ) ) ) || PetscMemzero ( * ( r3 ) , ( m3 ) * sizeof ( * * ( r3 ) ) ) || PetscMemzero ( * ( r4 ) , ( m4 ) * sizeof ( * * ( r4 ) ) ) ) =# -#= # Skipping MacroDefinition: PetscMalloc5 ( m1 , r1 , m2 , r2 , m3 , r3 , m4 , r4 , m5 , r5 ) ( PetscMalloc1 ( ( m1 ) , ( r1 ) ) || PetscMalloc1 ( ( m2 ) , ( r2 ) ) || PetscMalloc1 ( ( m3 ) , ( r3 ) ) || PetscMalloc1 ( ( m4 ) , ( r4 ) ) || PetscMalloc1 ( ( m5 ) , ( r5 ) ) ) =# -#= # Skipping MacroDefinition: PetscCalloc5 ( m1 , r1 , m2 , r2 , m3 , r3 , m4 , r4 , m5 , r5 ) ( PetscMalloc5 ( m1 , r1 , m2 , r2 , m3 , r3 , m4 , r4 , m5 , r5 ) || PetscMemzero ( * ( r1 ) , ( m1 ) * sizeof ( * * ( r1 ) ) ) || PetscMemzero ( * ( r2 ) , ( m2 ) * sizeof ( * * ( r2 ) ) ) || PetscMemzero ( * ( r3 ) , ( m3 ) * sizeof ( * * ( r3 ) ) ) || PetscMemzero ( * ( r4 ) , ( m4 ) * sizeof ( * * ( r4 ) ) ) || PetscMemzero ( * ( r5 ) , ( m5 ) * sizeof ( * * ( r5 ) ) ) ) =# -#= # Skipping MacroDefinition: PetscMalloc6 ( m1 , r1 , m2 , r2 , m3 , r3 , m4 , r4 , m5 , r5 , m6 , r6 ) ( PetscMalloc1 ( ( m1 ) , ( r1 ) ) || PetscMalloc1 ( ( m2 ) , ( r2 ) ) || PetscMalloc1 ( ( m3 ) , ( r3 ) ) || PetscMalloc1 ( ( m4 ) , ( r4 ) ) || PetscMalloc1 ( ( m5 ) , ( r5 ) ) || PetscMalloc1 ( ( m6 ) , ( r6 ) ) ) =# -#= # Skipping MacroDefinition: PetscCalloc6 ( m1 , r1 , m2 , r2 , m3 , r3 , m4 , r4 , m5 , r5 , m6 , r6 ) ( PetscMalloc6 ( m1 , r1 , m2 , r2 , m3 , r3 , m4 , r4 , m5 , r5 , m6 , r6 ) || PetscMemzero ( * ( r1 ) , ( m1 ) * sizeof ( * * ( r1 ) ) ) || PetscMemzero ( * ( r2 ) , ( m2 ) * sizeof ( * * ( r2 ) ) ) || PetscMemzero ( * ( r3 ) , ( m3 ) * sizeof ( * * ( r3 ) ) ) || PetscMemzero ( * ( r4 ) , ( m4 ) * sizeof ( * * ( r4 ) ) ) || PetscMemzero ( * ( r5 ) , ( m5 ) * sizeof ( * * ( r5 ) ) ) || PetscMemzero ( * ( r6 ) , ( m6 ) * sizeof ( * * ( r6 ) ) ) ) =# -#= # Skipping MacroDefinition: PetscMalloc7 ( m1 , r1 , m2 , r2 , m3 , r3 , m4 , r4 , m5 , r5 , m6 , r6 , m7 , r7 ) ( PetscMalloc1 ( ( m1 ) , ( r1 ) ) || PetscMalloc1 ( ( m2 ) , ( r2 ) ) || PetscMalloc1 ( ( m3 ) , ( r3 ) ) || PetscMalloc1 ( ( m4 ) , ( r4 ) ) || PetscMalloc1 ( ( m5 ) , ( r5 ) ) || PetscMalloc1 ( ( m6 ) , ( r6 ) ) || PetscMalloc1 ( ( m7 ) , ( r7 ) ) ) =# -#= # Skipping MacroDefinition: PetscCalloc7 ( m1 , r1 , m2 , r2 , m3 , r3 , m4 , r4 , m5 , r5 , m6 , r6 , m7 , r7 ) ( PetscMalloc7 ( m1 , r1 , m2 , r2 , m3 , r3 , m4 , r4 , m5 , r5 , m6 , r6 , m7 , r7 ) || PetscMemzero ( * ( r1 ) , ( m1 ) * sizeof ( * * ( r1 ) ) ) || PetscMemzero ( * ( r2 ) , ( m2 ) * sizeof ( * * ( r2 ) ) ) || PetscMemzero ( * ( r3 ) , ( m3 ) * sizeof ( * * ( r3 ) ) ) || PetscMemzero ( * ( r4 ) , ( m4 ) * sizeof ( * * ( r4 ) ) ) || PetscMemzero ( * ( r5 ) , ( m5 ) * sizeof ( * * ( r5 ) ) ) || PetscMemzero ( * ( r6 ) , ( m6 ) * sizeof ( * * ( r6 ) ) ) || PetscMemzero ( * ( r7 ) , ( m7 ) * sizeof ( * * ( r7 ) ) ) ) =# -#= # Skipping MacroDefinition: PetscNew ( b ) PetscCalloc1 ( 1 , ( b ) ) =# -#= # Skipping MacroDefinition: PetscNewLog ( o , b ) ( PetscNew ( ( b ) ) || PetscLogObjectMemory ( ( PetscObject ) o , sizeof ( * * ( b ) ) ) ) =# -#= # Skipping MacroDefinition: PetscFree ( a ) ( ( * PetscTrFree ) ( ( void * ) ( a ) , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ ) || ( ( a ) = 0 , 0 ) ) =# -#= # Skipping MacroDefinition: PetscFreeVoid ( a ) ( ( * PetscTrFree ) ( ( a ) , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ ) , ( a ) = 0 ) =# -#= # Skipping MacroDefinition: PetscFree2 ( m1 , m2 ) ( PetscFree ( m2 ) || PetscFree ( m1 ) ) =# -#= # Skipping MacroDefinition: PetscFree3 ( m1 , m2 , m3 ) ( PetscFree ( m3 ) || PetscFree ( m2 ) || PetscFree ( m1 ) ) =# -#= # Skipping MacroDefinition: PetscFree4 ( m1 , m2 , m3 , m4 ) ( PetscFree ( m4 ) || PetscFree ( m3 ) || PetscFree ( m2 ) || PetscFree ( m1 ) ) =# -#= # Skipping MacroDefinition: PetscFree5 ( m1 , m2 , m3 , m4 , m5 ) ( PetscFree ( m5 ) || PetscFree ( m4 ) || PetscFree ( m3 ) || PetscFree ( m2 ) || PetscFree ( m1 ) ) =# -#= # Skipping MacroDefinition: PetscFree6 ( m1 , m2 , m3 , m4 , m5 , m6 ) ( PetscFree ( m6 ) || PetscFree ( m5 ) || PetscFree ( m4 ) || PetscFree ( m3 ) || PetscFree ( m2 ) || PetscFree ( m1 ) ) =# -#= # Skipping MacroDefinition: PetscFree7 ( m1 , m2 , m3 , m4 , m5 , m6 , m7 ) ( PetscFree ( m7 ) || PetscFree ( m6 ) || PetscFree ( m5 ) || PetscFree ( m4 ) || PetscFree ( m3 ) || PetscFree ( m2 ) || PetscFree ( m1 ) ) =# -#skipping undefined const MPIU_PETSCLOGDOUBLE = MPI_DOUBLE -#= # begin enum PetscDataType =# -typealias PetscDataType UInt32 - -const PETSC_INT = (UInt32)(0) -const PETSC_DOUBLE = (UInt32)(1) -const PETSC_COMPLEX = (UInt32)(2) -const PETSC_LONG = (UInt32)(3) -const PETSC_SHORT = (UInt32)(4) -const PETSC_FLOAT = (UInt32)(5) -const PETSC_CHAR = (UInt32)(6) -const PETSC_BIT_LOGICAL = (UInt32)(7) -const PETSC_ENUM = (UInt32)(8) -const PETSC_BOOL = (UInt32)(9) -const PETSC___FLOAT128 = (UInt32)(10) -const PETSC_OBJECT = (UInt32)(11) -const PETSC_FUNCTION = (UInt32)(12) -const PETSC_STRING = (UInt32)(12) - -#= # end enum PetscDataType =# -const PETSC_SCALAR = PETSC_FLOAT -const PETSC_REAL = PETSC_FLOAT -const PETSC_FORTRANADDR = PETSC_LONG - -#skipping undefined const MPIU_SUM = MPI_SUM -#skipping undefined const MPIU_MAX = MPI_MAX -#skipping undefined const MPIU_MIN = MPI_MIN -const PETSC_ERR_MIN_VALUE = 54 -const PETSC_ERR_MEM = 55 -const PETSC_ERR_SUP = 56 -const PETSC_ERR_SUP_SYS = 57 -const PETSC_ERR_ORDER = 58 -const PETSC_ERR_SIG = 59 -const PETSC_ERR_FP = 72 -const PETSC_ERR_COR = 74 -const PETSC_ERR_LIB = 76 -const PETSC_ERR_PLIB = 77 -const PETSC_ERR_MEMC = 78 -const PETSC_ERR_CONV_FAILED = 82 -const PETSC_ERR_USER = 83 -const PETSC_ERR_SYS = 88 -const PETSC_ERR_POINTER = 70 -const PETSC_ERR_ARG_SIZ = 60 -const PETSC_ERR_ARG_IDN = 61 -const PETSC_ERR_ARG_WRONG = 62 -const PETSC_ERR_ARG_CORRUPT = 64 -const PETSC_ERR_ARG_OUTOFRANGE = 63 -const PETSC_ERR_ARG_BADPTR = 68 -const PETSC_ERR_ARG_NOTSAMETYPE = 69 -const PETSC_ERR_ARG_NOTSAMECOMM = 80 -const PETSC_ERR_ARG_WRONGSTATE = 73 -const PETSC_ERR_ARG_TYPENOTSET = 89 -const PETSC_ERR_ARG_INCOMP = 75 -const PETSC_ERR_ARG_NULL = 85 -const PETSC_ERR_ARG_UNKNOWN_TYPE = 86 -const PETSC_ERR_FILE_OPEN = 65 -const PETSC_ERR_FILE_READ = 66 -const PETSC_ERR_FILE_WRITE = 67 -const PETSC_ERR_FILE_UNEXPECTED = 79 -const PETSC_ERR_MAT_LU_ZRPVT = 71 -const PETSC_ERR_MAT_CH_ZRPVT = 81 -const PETSC_ERR_INT_OVERFLOW = 84 -const PETSC_ERR_FLOP_COUNT = 90 -const PETSC_ERR_NOT_CONVERGED = 91 -const PETSC_ERR_MISSING_FACTOR = 92 -const PETSC_ERR_MAX_VALUE = 93 - -#= # Skipping MacroDefinition: PetscStringizeArg ( a ) # a =# -#= # Skipping MacroDefinition: PetscStringize ( a ) PetscStringizeArg ( a ) =# -#= # Skipping MacroDefinition: SETERRQ ( comm , n , s ) return PetscError ( comm , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ , n , PETSC_ERROR_INITIAL , s ) =# -#= # Skipping MacroDefinition: SETERRQ1 ( comm , n , s , a1 ) return PetscError ( comm , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ , n , PETSC_ERROR_INITIAL , s , a1 ) =# -#= # Skipping MacroDefinition: SETERRQ2 ( comm , n , s , a1 , a2 ) return PetscError ( comm , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ , n , PETSC_ERROR_INITIAL , s , a1 , a2 ) =# -#= # Skipping MacroDefinition: SETERRQ3 ( comm , n , s , a1 , a2 , a3 ) return PetscError ( comm , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ , n , PETSC_ERROR_INITIAL , s , a1 , a2 , a3 ) =# -#= # Skipping MacroDefinition: SETERRQ4 ( comm , n , s , a1 , a2 , a3 , a4 ) return PetscError ( comm , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ , n , PETSC_ERROR_INITIAL , s , a1 , a2 , a3 , a4 ) =# -#= # Skipping MacroDefinition: SETERRQ5 ( comm , n , s , a1 , a2 , a3 , a4 , a5 ) return PetscError ( comm , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ , n , PETSC_ERROR_INITIAL , s , a1 , a2 , a3 , a4 , a5 ) =# -#= # Skipping MacroDefinition: SETERRQ6 ( comm , n , s , a1 , a2 , a3 , a4 , a5 , a6 ) return PetscError ( comm , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ , n , PETSC_ERROR_INITIAL , s , a1 , a2 , a3 , a4 , a5 , a6 ) =# -#= # Skipping MacroDefinition: SETERRQ7 ( comm , n , s , a1 , a2 , a3 , a4 , a5 , a6 , a7 ) return PetscError ( comm , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ , n , PETSC_ERROR_INITIAL , s , a1 , a2 , a3 , a4 , a5 , a6 , a7 ) =# -#= # Skipping MacroDefinition: SETERRQ8 ( comm , n , s , a1 , a2 , a3 , a4 , a5 , a6 , a7 , a8 ) return PetscError ( comm , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ , n , PETSC_ERROR_INITIAL , s , a1 , a2 , a3 , a4 , a5 , a6 , a7 , a8 ) =# -#= # Skipping MacroDefinition: SETERRABORT ( comm , n , s ) do { PetscError ( comm , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ , n , PETSC_ERROR_INITIAL , s ) ; MPI_Abort ( comm , n ) ; } while ( 0 ) =# -#= # Skipping MacroDefinition: CHKERRQ ( n ) do { if ( PetscUnlikely ( n ) ) return PetscError ( PETSC_COMM_SELF , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ , n , PETSC_ERROR_REPEAT , " " ) ; } while ( 0 ) =# -#= # Skipping MacroDefinition: CHKERRV ( n ) do { if ( PetscUnlikely ( n ) ) { n = PetscError ( PETSC_COMM_SELF , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ , n , PETSC_ERROR_REPEAT , " " ) ; return ; } } while ( 0 ) =# -#= # Skipping MacroDefinition: CHKERRABORT ( comm , n ) do { if ( PetscUnlikely ( n ) ) { PetscError ( PETSC_COMM_SELF , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ , n , PETSC_ERROR_REPEAT , " " ) ; MPI_Abort ( comm , n ) ; } } while ( 0 ) =# -#= # Skipping MacroDefinition: CHKERRCONTINUE ( n ) do { if ( PetscUnlikely ( n ) ) { PetscError ( PETSC_COMM_SELF , __LINE__ , PETSC_FUNCTION_NAME , __FILE__ , n , PETSC_ERROR_REPEAT , " " ) ; } } while ( 0 ) =# -#= # Skipping MacroDefinition: CHKMEMQ do { PetscErrorCode _7_ierr = PetscMallocValidate ( __LINE__ , PETSC_FUNCTION_NAME , __FILE__ ) ; CHKERRQ ( _7_ierr ) ; } while ( 0 ) =# -#= # Skipping MacroDefinition: CHKMEMA PetscMallocValidate ( __LINE__ , PETSC_FUNCTION_NAME , __FILE__ ) =# -const PETSCSTACKSIZE = 64 - -#= # Skipping MacroDefinition: PetscStackPushNoCheck ( funct , petsc_routine , hot ) do { PetscStackSAWsTakeAccess ( ) ; if ( petscstack && ( petscstack -> currentsize < PETSCSTACKSIZE ) ) { petscstack -> function [ petscstack -> currentsize ] = funct ; petscstack -> file [ petscstack -> currentsize ] = __FILE__ ; petscstack -> line [ petscstack -> currentsize ] = __LINE__ ; petscstack -> petscroutine [ petscstack -> currentsize ] = petsc_routine ; petscstack -> currentsize ++ ; } if ( petscstack ) { petscstack -> hotdepth += ( hot || petscstack -> hotdepth ) ; } PetscStackSAWsGrantAccess ( ) ; } while ( 0 ) =# -#= # Skipping MacroDefinition: PetscStackPopNoCheck do { PetscStackSAWsTakeAccess ( ) ; if ( petscstack && petscstack -> currentsize > 0 ) { petscstack -> currentsize -- ; petscstack -> function [ petscstack -> currentsize ] = 0 ; petscstack -> file [ petscstack -> currentsize ] = 0 ; petscstack -> line [ petscstack -> currentsize ] = 0 ; petscstack -> petscroutine [ petscstack -> currentsize ] = PETSC_FALSE ; } if ( petscstack ) { petscstack -> hotdepth = PetscMax ( petscstack -> hotdepth - 1 , 0 ) ; } PetscStackSAWsGrantAccess ( ) ; } while ( 0 ) =# -#= # Skipping MacroDefinition: PetscFunctionBegin do { PetscStackPushNoCheck ( PETSC_FUNCTION_NAME , PETSC_TRUE , PETSC_FALSE ) ; PetscCheck__FUNCT__ ( ) ; PetscRegister__FUNCT__ ( ) ; } while ( 0 ) =# -#= # Skipping MacroDefinition: PetscFunctionBeginHot do { PetscStackPushNoCheck ( PETSC_FUNCTION_NAME , PETSC_TRUE , PETSC_TRUE ) ; PetscCheck__FUNCT__ ( ) ; PetscRegister__FUNCT__ ( ) ; } while ( 0 ) =# -#= # Skipping MacroDefinition: PetscFunctionBeginUser do { PetscStackPushNoCheck ( PETSC_FUNCTION_NAME , PETSC_FALSE , PETSC_FALSE ) ; PetscCheck__FUNCT__ ( ) ; PetscRegister__FUNCT__ ( ) ; } while ( 0 ) =# -#= # Skipping MacroDefinition: PetscCheck__FUNCT__ ( ) do { PetscBool _sc1 , _sc2 ; PetscStrcmpNoError ( PETSC_FUNCTION_NAME , __FUNCT__ , & _sc1 ) ; PetscStrcmpNoError ( __FUNCT__ , "User provided function" , & _sc2 ) ; if ( ! _sc1 && ! _sc2 ) { printf ( "%s:%d: __FUNCT__=\"%s\" does not agree with %s=\"%s\"\n" , __FILE__ , __LINE__ , __FUNCT__ , PetscStringize ( PETSC_FUNCTION_NAME ) , PETSC_FUNCTION_NAME ) ; } } while ( 0 ) =# -#= # Skipping MacroDefinition: PetscStackPush ( n ) do { PetscStackPushNoCheck ( n , PETSC_FALSE , PETSC_FALSE ) ; CHKMEMQ ; } while ( 0 ) =# -#= # Skipping MacroDefinition: PetscStackPop do { CHKMEMQ ; PetscStackPopNoCheck ; } while ( 0 ) =# -#= # Skipping MacroDefinition: PetscFunctionReturn ( a ) do { PetscStackPopNoCheck ; return ( a ) ; } while ( 0 ) =# -#= # Skipping MacroDefinition: PetscFunctionReturnVoid ( ) do { PetscStackPopNoCheck ; return ; } while ( 0 ) =# -#= # Skipping MacroDefinition: PetscStackCall ( name , routine ) do { PetscStackPush ( name ) ; routine ; PetscStackPop ; } while ( 0 ) =# -#= # Skipping MacroDefinition: PetscStackCallStandard ( func , args ) do { PetscStackPush ( # func ) ; ierr = func args ; PetscStackPop ; if ( ierr ) SETERRQ1 ( PETSC_COMM_SELF , PETSC_ERR_LIB , "Error in %s()" , # func ) ; } while ( 0 ) =# -const PETSC_SMALLEST_CLASSID = 1211211 - -#= # Skipping MacroDefinition: PetscObjectComposeFunction ( a , b , d ) PetscObjectComposeFunction_Private ( a , b , ( PetscVoidFunction ) ( d ) ) =# -#= # Skipping MacroDefinition: PetscOptionsBegin ( comm , prefix , mess , sec ) 0 ; do { PetscOptions PetscOptionsObjectBase ; PetscOptions * PetscOptionsObject = & PetscOptionsObjectBase ; PetscMemzero ( PetscOptionsObject , sizeof ( PetscOptions ) ) ; for ( PetscOptionsObject -> count = ( PetscOptionsPublish ? - 1 : 1 ) ; PetscOptionsObject -> count < 2 ; PetscOptionsObject -> count ++ ) { PetscErrorCode _5_ierr = PetscOptionsBegin_Private ( PetscOptionsObject , comm , prefix , mess , sec ) ; CHKERRQ ( _5_ierr ) ; =# -#= # Skipping MacroDefinition: PetscObjectOptionsBegin ( obj ) 0 ; do { PetscOptions PetscOptionsObjectBase ; PetscOptions * PetscOptionsObject = & PetscOptionsObjectBase ; for ( PetscOptionsObject -> count = ( PetscOptionsPublish ? - 1 : 1 ) ; PetscOptionsObject -> count < 2 ; PetscOptionsObject -> count ++ ) { PetscErrorCode _5_ierr = PetscObjectOptionsBegin_Private ( PetscOptionsObject , obj ) ; CHKERRQ ( _5_ierr ) ; =# -#= # Skipping MacroDefinition: PetscOptionsEnd ( ) _5_ierr = PetscOptionsEnd_Private ( PetscOptionsObject ) ; CHKERRQ ( _5_ierr ) ; } } while ( 0 ) =# -#= # Skipping MacroDefinition: PetscOptionsTail ( ) 0 ; { if ( PetscOptionsObject -> count != 1 ) PetscFunctionReturn ( 0 ) ; } =# -#= # Skipping MacroDefinition: PetscOptionsEnum ( a , b , c , d , e , f , g ) PetscOptionsEnum_Private ( PetscOptionsObject , a , b , c , d , e , f , g ) =# -#= # Skipping MacroDefinition: PetscOptionsInt ( a , b , c , d , e , f ) PetscOptionsInt_Private ( PetscOptionsObject , a , b , c , d , e , f ) =# -#= # Skipping MacroDefinition: PetscOptionsReal ( a , b , c , d , e , f ) PetscOptionsReal_Private ( PetscOptionsObject , a , b , c , d , e , f ) =# -#= # Skipping MacroDefinition: PetscOptionsScalar ( a , b , c , d , e , f ) PetscOptionsScalar_Private ( PetscOptionsObject , a , b , c , d , e , f ) =# -#= # Skipping MacroDefinition: PetscOptionsName ( a , b , c , d ) PetscOptionsName_Private ( PetscOptionsObject , a , b , c , d ) =# -#= # Skipping MacroDefinition: PetscOptionsString ( a , b , c , d , e , f , g ) PetscOptionsString_Private ( PetscOptionsObject , a , b , c , d , e , f , g ) =# -#= # Skipping MacroDefinition: PetscOptionsBool ( a , b , c , d , e , f ) PetscOptionsBool_Private ( PetscOptionsObject , a , b , c , d , e , f ) =# -#= # Skipping MacroDefinition: PetscOptionsBoolGroupBegin ( a , b , c , d ) PetscOptionsBoolGroupBegin_Private ( PetscOptionsObject , a , b , c , d ) =# -#= # Skipping MacroDefinition: PetscOptionsBoolGroup ( a , b , c , d ) PetscOptionsBoolGroup_Private ( PetscOptionsObject , a , b , c , d ) =# -#= # Skipping MacroDefinition: PetscOptionsBoolGroupEnd ( a , b , c , d ) PetscOptionsBoolGroupEnd_Private ( PetscOptionsObject , a , b , c , d ) =# -#= # Skipping MacroDefinition: PetscOptionsFList ( a , b , c , d , e , f , g , h ) PetscOptionsFList_Private ( PetscOptionsObject , a , b , c , d , e , f , g , h ) =# -#= # Skipping MacroDefinition: PetscOptionsEList ( a , b , c , d , e , f , g , h ) PetscOptionsEList_Private ( PetscOptionsObject , a , b , c , d , e , f , g , h ) =# -#= # Skipping MacroDefinition: PetscOptionsRealArray ( a , b , c , d , e , f ) PetscOptionsRealArray_Private ( PetscOptionsObject , a , b , c , d , e , f ) =# -#= # Skipping MacroDefinition: PetscOptionsScalarArray ( a , b , c , d , e , f ) PetscOptionsScalarArray_Private ( PetscOptionsObject , a , b , c , d , e , f ) =# -#= # Skipping MacroDefinition: PetscOptionsIntArray ( a , b , c , d , e , f ) PetscOptionsIntArray_Private ( PetscOptionsObject , a , b , c , d , e , f ) =# -#= # Skipping MacroDefinition: PetscOptionsStringArray ( a , b , c , d , e , f ) PetscOptionsStringArray_Private ( PetscOptionsObject , a , b , c , d , e , f ) =# -#= # Skipping MacroDefinition: PetscOptionsBoolArray ( a , b , c , d , e , f ) PetscOptionsBoolArray_Private ( PetscOptionsObject , a , b , c , d , e , f ) =# -#= # Skipping MacroDefinition: PetscOptionsEnumArray ( a , b , c , d , e , f , g ) PetscOptionsEnumArray_Private ( PetscOptionsObject , a , b , c , d , e , f , g ) =# -#= # Skipping MacroDefinition: PetscObjectQueryFunction ( obj , name , fptr ) PetscObjectQueryFunction_Private ( ( obj ) , ( name ) , ( PetscVoidFunction * ) ( fptr ) ) =# -#= # Skipping MacroDefinition: PetscSAWsBlock ( ) 0 =# -#= # Skipping MacroDefinition: PetscObjectSAWsViewOff ( obj ) 0 =# -#= # Skipping MacroDefinition: PetscObjectSAWsSetBlock ( obj , flg ) 0 =# -#= # Skipping MacroDefinition: PetscObjectSAWsBlock ( obj ) 0 =# -#= # Skipping MacroDefinition: PetscObjectSAWsGrantAccess ( obj ) 0 =# -#= # Skipping MacroDefinition: PetscObjectSAWsTakeAccess ( obj ) 0 =# -#= # Skipping MacroDefinition: PetscStackViewSAWs ( ) 0 =# -#= # Skipping MacroDefinition: PetscStackSAWsViewOff ( ) 0 =# -#= # Skipping MacroDefinition: PetscFunctionListAdd ( list , name , fptr ) PetscFunctionListAdd_Private ( ( list ) , ( name ) , ( PetscVoidFunction ) ( fptr ) ) =# -#= # Skipping MacroDefinition: PetscFunctionListFind ( list , name , fptr ) PetscFunctionListFind_Private ( ( list ) , ( name ) , ( PetscVoidFunction * ) ( fptr ) ) =# -#= # Skipping MacroDefinition: PetscNot ( a ) ( ( a ) ? PETSC_FALSE : PETSC_TRUE ) =# -const PETSC_EVENT = 1311311 - -#= # Skipping MacroDefinition: PetscInfo ( A , S ) PetscInfo_Private ( PETSC_FUNCTION_NAME , A , S ) =# -#= # Skipping MacroDefinition: PetscInfo1 ( A , S , a1 ) PetscInfo_Private ( PETSC_FUNCTION_NAME , A , S , a1 ) =# -#= # Skipping MacroDefinition: PetscInfo2 ( A , S , a1 , a2 ) PetscInfo_Private ( PETSC_FUNCTION_NAME , A , S , a1 , a2 ) =# -#= # Skipping MacroDefinition: PetscInfo3 ( A , S , a1 , a2 , a3 ) PetscInfo_Private ( PETSC_FUNCTION_NAME , A , S , a1 , a2 , a3 ) =# -#= # Skipping MacroDefinition: PetscInfo4 ( A , S , a1 , a2 , a3 , a4 ) PetscInfo_Private ( PETSC_FUNCTION_NAME , A , S , a1 , a2 , a3 , a4 ) =# -#= # Skipping MacroDefinition: PetscInfo5 ( A , S , a1 , a2 , a3 , a4 , a5 ) PetscInfo_Private ( PETSC_FUNCTION_NAME , A , S , a1 , a2 , a3 , a4 , a5 ) =# -#= # Skipping MacroDefinition: PetscInfo6 ( A , S , a1 , a2 , a3 , a4 , a5 , a6 ) PetscInfo_Private ( PETSC_FUNCTION_NAME , A , S , a1 , a2 , a3 , a4 , a5 , a6 ) =# -#= # Skipping MacroDefinition: PetscInfo7 ( A , S , a1 , a2 , a3 , a4 , a5 , a6 , a7 ) PetscInfo_Private ( PETSC_FUNCTION_NAME , A , S , a1 , a2 , a3 , a4 , a5 , a6 , a7 ) =# -const PETSC_FLOPS_PER_OP = 1.0 - -#= # Skipping MacroDefinition: PetscLogObjectParents ( p , n , d ) 0 ; { int _i ; for ( _i = 0 ; _i < n ; _i ++ ) { ierr = PetscLogObjectParent ( ( PetscObject ) p , ( PetscObject ) ( d ) [ _i ] ) ; CHKERRQ ( ierr ) ; } } =# -#= # Skipping MacroDefinition: PetscLogObjectCreate ( h ) ( ( PetscLogPHC ) ? ( * PetscLogPHC ) ( ( PetscObject ) h ) : 0 ) =# -#= # Skipping MacroDefinition: PetscLogObjectDestroy ( h ) ( ( PetscLogPHD ) ? ( * PetscLogPHD ) ( ( PetscObject ) h ) : 0 ) =# -#= # Skipping MacroDefinition: PetscLogEventBarrierBegin ( e , o1 , o2 , o3 , o4 , cm ) ( ( ( PetscLogPLB && petsc_stageLog -> stageInfo [ petsc_stageLog -> curStage ] . perfInfo . active && petsc_stageLog -> stageInfo [ petsc_stageLog -> curStage ] . eventLog -> eventInfo [ e ] . active ) ? ( PetscLogEventBegin ( ( e ) , o1 , o2 , o3 , o4 ) || MPI_Barrier ( cm ) || PetscLogEventEnd ( ( e ) , o1 , o2 , o3 , o4 ) ) : 0 ) || PetscLogEventBegin ( ( e ) + 1 , o1 , o2 , o3 , o4 ) ) =# -#= # Skipping MacroDefinition: PetscLogEventBegin ( e , o1 , o2 , o3 , o4 ) ( ( ( PetscLogPLB && petsc_stageLog -> stageInfo [ petsc_stageLog -> curStage ] . perfInfo . active && petsc_stageLog -> stageInfo [ petsc_stageLog -> curStage ] . eventLog -> eventInfo [ e ] . active ) ? ( * PetscLogPLB ) ( ( e ) , 0 , ( PetscObject ) ( o1 ) , ( PetscObject ) ( o2 ) , ( PetscObject ) ( o3 ) , ( PetscObject ) ( o4 ) ) : 0 ) ) =# -#= # Skipping MacroDefinition: PetscLogEventBarrierEnd ( e , o1 , o2 , o3 , o4 , cm ) PetscLogEventEnd ( e + 1 , o1 , o2 , o3 , o4 ) =# -#= # Skipping MacroDefinition: PetscLogEventEnd ( e , o1 , o2 , o3 , o4 ) ( ( ( PetscLogPLE && petsc_stageLog -> stageInfo [ petsc_stageLog -> curStage ] . perfInfo . active && petsc_stageLog -> stageInfo [ petsc_stageLog -> curStage ] . eventLog -> eventInfo [ e ] . active ) ? ( * PetscLogPLE ) ( ( e ) , 0 , ( PetscObject ) ( o1 ) , ( PetscObject ) ( o2 ) , ( PetscObject ) ( o3 ) , ( PetscObject ) ( o4 ) ) : 0 ) ) =# -#= # Skipping MacroDefinition: MPI_Irecv ( buf , count , datatype , source , tag , comm , request ) ( ( petsc_irecv_ct ++ , 0 ) || PetscMPITypeSize ( & petsc_irecv_len , count , datatype ) || MPI_Irecv ( buf , count , datatype , source , tag , comm , request ) ) =# -#= # Skipping MacroDefinition: MPI_Isend ( buf , count , datatype , dest , tag , comm , request ) ( ( petsc_isend_ct ++ , 0 ) || PetscMPITypeSize ( & petsc_isend_len , count , datatype ) || MPI_Isend ( buf , count , datatype , dest , tag , comm , request ) ) =# -#= # Skipping MacroDefinition: MPI_Startall_irecv ( count , number , requests ) ( ( petsc_irecv_ct += ( PetscLogDouble ) ( number ) , 0 ) || PetscMPITypeSize ( & petsc_irecv_len , count , MPIU_SCALAR ) || MPI_Startall ( number , requests ) ) =# -#= # Skipping MacroDefinition: MPI_Startall_isend ( count , number , requests ) ( ( petsc_isend_ct += ( PetscLogDouble ) ( number ) , 0 ) || PetscMPITypeSize ( & petsc_isend_len , count , MPIU_SCALAR ) || MPI_Startall ( number , requests ) ) =# -#= # Skipping MacroDefinition: MPI_Start_isend ( count , requests ) ( ( petsc_isend_ct ++ , 0 ) || PetscMPITypeSize ( & petsc_isend_len , count , MPIU_SCALAR ) || MPI_Start ( requests ) ) =# -#= # Skipping MacroDefinition: MPI_Recv ( buf , count , datatype , source , tag , comm , status ) ( ( petsc_recv_ct ++ , 0 ) || PetscMPITypeSize ( & petsc_recv_len , count , datatype ) || MPI_Recv ( buf , count , datatype , source , tag , comm , status ) ) =# -#= # Skipping MacroDefinition: MPI_Send ( buf , count , datatype , dest , tag , comm ) ( ( petsc_send_ct ++ , 0 ) || PetscMPITypeSize ( & petsc_send_len , count , datatype ) || MPI_Send ( buf , count , datatype , dest , tag , comm ) ) =# -#= # Skipping MacroDefinition: MPI_Wait ( request , status ) ( ( petsc_wait_ct ++ , petsc_sum_of_waits_ct ++ , 0 ) || MPI_Wait ( request , status ) ) =# -#= # Skipping MacroDefinition: MPI_Waitany ( a , b , c , d ) ( ( petsc_wait_any_ct ++ , petsc_sum_of_waits_ct ++ , 0 ) || MPI_Waitany ( a , b , c , d ) ) =# -#= # Skipping MacroDefinition: MPI_Waitall ( count , array_of_requests , array_of_statuses ) ( ( petsc_wait_all_ct ++ , petsc_sum_of_waits_ct += ( PetscLogDouble ) ( count ) , 0 ) || MPI_Waitall ( count , array_of_requests , array_of_statuses ) ) =# -#= # Skipping MacroDefinition: MPI_Allreduce ( sendbuf , recvbuf , count , datatype , op , comm ) ( ( petsc_allreduce_ct += PetscMPIParallelComm ( comm ) , 0 ) || MPI_Allreduce ( sendbuf , recvbuf , count , datatype , op , comm ) ) =# -#= # Skipping MacroDefinition: MPI_Alltoall ( sendbuf , sendcount , sendtype , recvbuf , recvcount , recvtype , comm ) ( ( petsc_allreduce_ct += PetscMPIParallelComm ( comm ) , 0 ) || PetscMPITypeSize ( & petsc_send_len , sendcount , sendtype ) || MPI_Alltoall ( sendbuf , sendcount , sendtype , recvbuf , recvcount , recvtype , comm ) ) =# -#= # Skipping MacroDefinition: MPI_Alltoallv ( sendbuf , sendcnts , sdispls , sendtype , recvbuf , recvcnts , rdispls , recvtype , comm ) ( ( petsc_allreduce_ct += PetscMPIParallelComm ( comm ) , 0 ) || PetscMPITypeSizeComm ( comm , & petsc_send_len , sendcnts , sendtype ) || MPI_Alltoallv ( sendbuf , sendcnts , sdispls , sendtype , recvbuf , recvcnts , rdispls , recvtype , comm ) ) =# -#= # Skipping MacroDefinition: MPI_Allgather ( sendbuf , sendcount , sendtype , recvbuf , recvcount , recvtype , comm ) ( ( petsc_gather_ct += PetscMPIParallelComm ( comm ) , 0 ) || MPI_Allgather ( sendbuf , sendcount , sendtype , recvbuf , recvcount , recvtype , comm ) ) =# -#= # Skipping MacroDefinition: MPI_Allgatherv ( sendbuf , sendcount , sendtype , recvbuf , recvcount , displs , recvtype , comm ) ( ( petsc_gather_ct += PetscMPIParallelComm ( comm ) , 0 ) || MPI_Allgatherv ( sendbuf , sendcount , sendtype , recvbuf , recvcount , displs , recvtype , comm ) ) =# -#= # Skipping MacroDefinition: MPI_Gather ( sendbuf , sendcount , sendtype , recvbuf , recvcount , recvtype , root , comm ) ( ( petsc_gather_ct ++ , 0 ) || PetscMPITypeSize ( & petsc_send_len , sendcount , sendtype ) || MPI_Gather ( sendbuf , sendcount , sendtype , recvbuf , recvcount , recvtype , root , comm ) ) =# -#= # Skipping MacroDefinition: MPI_Gatherv ( sendbuf , sendcount , sendtype , recvbuf , recvcount , displs , recvtype , root , comm ) ( ( petsc_gather_ct ++ , 0 ) || PetscMPITypeSize ( & petsc_send_len , sendcount , sendtype ) || MPI_Gatherv ( sendbuf , sendcount , sendtype , recvbuf , recvcount , displs , recvtype , root , comm ) ) =# -#= # Skipping MacroDefinition: MPI_Scatter ( sendbuf , sendcount , sendtype , recvbuf , recvcount , recvtype , root , comm ) ( ( petsc_scatter_ct ++ , 0 ) || PetscMPITypeSize ( & petsc_recv_len , recvcount , recvtype ) || MPI_Scatter ( sendbuf , sendcount , sendtype , recvbuf , recvcount , recvtype , root , comm ) ) =# -#= # Skipping MacroDefinition: MPI_Scatterv ( sendbuf , sendcount , displs , sendtype , recvbuf , recvcount , recvtype , root , comm ) ( ( petsc_scatter_ct ++ , 0 ) || PetscMPITypeSize ( & petsc_recv_len , recvcount , recvtype ) || MPI_Scatterv ( sendbuf , sendcount , displs , sendtype , recvbuf , recvcount , recvtype , root , comm ) ) =# -#= # Skipping MacroDefinition: PetscPreLoadBegin ( flag , name ) do { PetscBool PetscPreLoading = flag ; int PetscPreLoadMax , PetscPreLoadIt ; PetscLogStage _stageNum ; PetscErrorCode _3_ierr ; _3_ierr = PetscOptionsGetBool ( NULL , "-preload" , & PetscPreLoading , NULL ) ; CHKERRQ ( _3_ierr ) ; PetscPreLoadMax = ( int ) ( PetscPreLoading ) ; PetscPreLoadingUsed = PetscPreLoading ? PETSC_TRUE : PetscPreLoadingUsed ; for ( PetscPreLoadIt = 0 ; PetscPreLoadIt <= PetscPreLoadMax ; PetscPreLoadIt ++ ) { PetscPreLoadingOn = PetscPreLoading ; _3_ierr = PetscBarrier ( NULL ) ; CHKERRQ ( _3_ierr ) ; if ( PetscPreLoadIt > 0 ) { _3_ierr = PetscLogStageGetId ( name , & _stageNum ) ; CHKERRQ ( _3_ierr ) ; } else { _3_ierr = PetscLogStageRegister ( name , & _stageNum ) ; CHKERRQ ( _3_ierr ) ; } _3_ierr = PetscLogStageSetActive ( _stageNum , ( PetscBool ) ( ! PetscPreLoadMax || PetscPreLoadIt ) ) ; _3_ierr = PetscLogStagePush ( _stageNum ) ; CHKERRQ ( _3_ierr ) ; =# -#= # Skipping MacroDefinition: PetscPreLoadEnd ( ) _3_ierr = PetscLogStagePop ( ) ; CHKERRQ ( _3_ierr ) ; PetscPreLoading = PETSC_FALSE ; } \ -#} while ( 0 ) =# -#= # Skipping MacroDefinition: PetscPreLoadStage ( name ) do { _3_ierr = PetscLogStagePop ( ) ; CHKERRQ ( _3_ierr ) ; if ( PetscPreLoadIt > 0 ) { _3_ierr = PetscLogStageGetId ( name , & _stageNum ) ; CHKERRQ ( _3_ierr ) ; } else { _3_ierr = PetscLogStageRegister ( name , & _stageNum ) ; CHKERRQ ( _3_ierr ) ; } _3_ierr = PetscLogStageSetActive ( _stageNum , ( PetscBool ) ( ! PetscPreLoadMax || PetscPreLoadIt ) ) ; _3_ierr = PetscLogStagePush ( _stageNum ) ; CHKERRQ ( _3_ierr ) ; } while ( 0 ) =# -#= # Skipping MacroDefinition: PetscPrefetchBlock ( a , n , rw , t ) do { const char * _p = ( const char * ) ( a ) , * _end = ( const char * ) ( ( a ) + ( n ) ) ; for ( ; _p < _end ; _p += PETSC_LEVEL1_DCACHE_LINESIZE ) PETSC_Prefetch ( _p , ( rw ) , ( t ) ) ; } while ( 0 ) =# -const PETSC_MPI_INT_MAX = 2147483647 -const PETSC_MPI_INT_MIN = -2147483647 -const PETSC_BLAS_INT_MAX = 2147483647 -const PETSC_BLAS_INT_MIN = -2147483647 - -#skipping undefined const PETSC_MAX_PATH_LEN = MAXPATHLEN -const PETSCRAND = symbol("rand") -const PETSCRAND48 = symbol("rand48") -const PETSCSPRNG = symbol("sprng") -const PETSC_BINARY_INT_SIZE = 32 / 8 -const PETSC_BINARY_FLOAT_SIZE = 32 / 8 -const PETSC_BINARY_CHAR_SIZE = 8 / 8 -const PETSC_BINARY_SHORT_SIZE = 16 / 8 -const PETSC_BINARY_DOUBLE_SIZE = 64 / 8 - -#= # Skipping MacroDefinition: PETSC_BINARY_SCALAR_SIZE sizeof ( PetscScalar ) =# -const PETSC_BAG_FILE_CLASSID = 1211219 -const PETSCVIEWERSOCKET = symbol("socket") -const PETSCVIEWERASCII = symbol("ascii") -const PETSCVIEWERBINARY = symbol("binary") -const PETSCVIEWERSTRING = symbol("string") -const PETSCVIEWERDRAW = symbol("draw") -const PETSCVIEWERVU = symbol("vu") -const PETSCVIEWERMATHEMATICA = symbol("mathematica") -const PETSCVIEWERNETCDF = symbol("netcdf") -const PETSCVIEWERHDF5 = symbol("hdf5") -const PETSCVIEWERVTK = symbol("vtk") -const PETSCVIEWERMATLAB = symbol("matlab") -const PETSCVIEWERSAWS = symbol("saws") -const PETSC_DRAW_X = symbol("x") -const PETSC_DRAW_GLUT = symbol("glut") -const PETSC_DRAW_OPENGLES = symbol("opengles") -const PETSC_DRAW_NULL = symbol("null") -const PETSC_DRAW_WIN32 = symbol("win32") -const PETSC_DRAW_TIKZ = symbol("tikz") - -#= # Skipping MacroDefinition: PetscOptionsViewer ( a , b , c , d , e , f ) PetscOptionsViewer_Private ( PetscOptionsObject , a , b , c , d , e , f ) ; =# -#= # Skipping MacroDefinition: PETSC_VIEWER_STDERR_SELF PETSC_VIEWER_STDERR_ ( PETSC_COMM_SELF ) =# -#= # Skipping MacroDefinition: PETSC_VIEWER_STDERR_WORLD PETSC_VIEWER_STDERR_ ( PETSC_COMM_WORLD ) =# -#= # Skipping MacroDefinition: PETSC_VIEWER_STDOUT_WORLD PETSC_VIEWER_STDOUT_ ( PETSC_COMM_WORLD ) =# -#= # Skipping MacroDefinition: PETSC_VIEWER_STDOUT_SELF PETSC_VIEWER_STDOUT_ ( PETSC_COMM_SELF ) =# -#= # Skipping MacroDefinition: PETSC_VIEWER_DRAW_WORLD PETSC_VIEWER_DRAW_ ( PETSC_COMM_WORLD ) =# -#= # Skipping MacroDefinition: PETSC_VIEWER_DRAW_SELF PETSC_VIEWER_DRAW_ ( PETSC_COMM_SELF ) =# -#= # Skipping MacroDefinition: PETSC_VIEWER_SOCKET_WORLD PETSC_VIEWER_SOCKET_ ( PETSC_COMM_WORLD ) =# -#= # Skipping MacroDefinition: PETSC_VIEWER_SOCKET_SELF PETSC_VIEWER_SOCKET_ ( PETSC_COMM_SELF ) =# -#= # Skipping MacroDefinition: PETSC_VIEWER_BINARY_WORLD PETSC_VIEWER_BINARY_ ( PETSC_COMM_WORLD ) =# -#= # Skipping MacroDefinition: PETSC_VIEWER_BINARY_SELF PETSC_VIEWER_BINARY_ ( PETSC_COMM_SELF ) =# -#= # Skipping MacroDefinition: PETSC_VIEWER_MATLAB_WORLD PETSC_VIEWER_MATLAB_ ( PETSC_COMM_WORLD ) =# -#= # Skipping MacroDefinition: PETSC_VIEWER_MATLAB_SELF PETSC_VIEWER_MATLAB_ ( PETSC_COMM_SELF ) =# -#= # Skipping MacroDefinition: PETSC_VIEWER_MATHEMATICA_WORLD ( PetscViewerInitializeMathematicaWorld_Private ( ) , PETSC_VIEWER_MATHEMATICA_WORLD_PRIVATE ) =# -const PETSC_HASH_FACT = 79943 - -#= # Skipping MacroDefinition: PETSC_MATLAB_ENGINE_WORLD PETSC_MATLAB_ENGINE_ ( PETSC_COMM_WORLD ) =# -#= # Skipping MacroDefinition: PETSC_MATLAB_ENGINE_SELF PETSC_MATLAB_ENGINE_ ( PETSC_COMM_SELF ) =# -const PETSC_DRAW_BASIC_COLORS = 33 -const PETSC_DRAW_ROTATE = -1 -const PETSC_DRAW_WHITE = 0 -const PETSC_DRAW_BLACK = 1 -const PETSC_DRAW_RED = 2 -const PETSC_DRAW_GREEN = 3 -const PETSC_DRAW_CYAN = 4 -const PETSC_DRAW_BLUE = 5 -const PETSC_DRAW_MAGENTA = 6 -const PETSC_DRAW_AQUAMARINE = 7 -const PETSC_DRAW_FORESTGREEN = 8 -const PETSC_DRAW_ORANGE = 9 -const PETSC_DRAW_VIOLET = 10 -const PETSC_DRAW_BROWN = 11 -const PETSC_DRAW_PINK = 12 -const PETSC_DRAW_CORAL = 13 -const PETSC_DRAW_GRAY = 14 -const PETSC_DRAW_YELLOW = 15 -const PETSC_DRAW_GOLD = 16 -const PETSC_DRAW_LIGHTPINK = 17 -const PETSC_DRAW_MEDIUMTURQUOISE = 18 -const PETSC_DRAW_KHAKI = 19 -const PETSC_DRAW_DIMGRAY = 20 -const PETSC_DRAW_YELLOWGREEN = 21 -const PETSC_DRAW_SKYBLUE = 22 -const PETSC_DRAW_DARKGREEN = 23 -const PETSC_DRAW_NAVYBLUE = 24 -const PETSC_DRAW_SANDYBROWN = 25 -const PETSC_DRAW_CADETBLUE = 26 -const PETSC_DRAW_POWDERBLUE = 27 -const PETSC_DRAW_DEEPPINK = 28 -const PETSC_DRAW_THISTLE = 29 -const PETSC_DRAW_LIMEGREEN = 30 -const PETSC_DRAW_LAVENDERBLUSH = 31 -const PETSC_DRAW_PLUM = 32 -const PETSC_DRAW_FULL_SIZE = -3 -const PETSC_DRAW_HALF_SIZE = -4 -const PETSC_DRAW_THIRD_SIZE = -5 -const PETSC_DRAW_QUARTER_SIZE = -6 -const IS_FILE_CLASSID = 1211218 -const ISGENERAL = symbol("general") -const ISSTRIDE = symbol("stride") -const ISBLOCK = symbol("block") -const VECSEQ = symbol("seq") -const VECMPI = symbol("mpi") -const VECSTANDARD = symbol("standard") -const VECSHARED = symbol("shared") -const VECSEQCUSP = symbol("seqcusp") -const VECMPICUSP = symbol("mpicusp") -const VECCUSP = symbol("cusp") -const VECSEQVIENNACL = symbol("seqviennacl") -const VECMPIVIENNACL = symbol("mpiviennacl") -const VECVIENNACL = symbol("viennacl") -const VECNEST = symbol("nest") -const VECSEQPTHREAD = symbol("seqpthread") -const VECMPIPTHREAD = symbol("mpipthread") -const VECPTHREAD = symbol("pthread") -const VEC_FILE_CLASSID = 1211214 - -#= # begin enum NormType =# -typealias NormType UInt32 - -const NORM_1 = (UInt32)(0) -const NORM_2 = (UInt32)(1) -const NORM_FROBENIUS = (UInt32)(2) -const NORM_INFINITY = (UInt32)(3) -const NORM_1_AND_2 = (UInt32)(4) - -#= # end enum NormType =# -const NORM_MAX = NORM_INFINITY - -#= # Skipping MacroDefinition: VecLocked ( x , arg ) do { PetscInt _st ; PetscErrorCode __ierr = VecLockGet ( x , & _st ) ; CHKERRQ ( __ierr ) ; if ( _st > 0 ) SETERRQ1 ( PETSC_COMM_SELF , PETSC_ERR_ARG_WRONGSTATE , " Vec is locked read only, argument # %d" , arg ) ; } while ( 0 ) =# -const MATSAME = symbol("same") -const MATMAIJ = symbol("maij") -const MATSEQMAIJ = symbol("seqmaij") -const MATMPIMAIJ = symbol("mpimaij") -const MATIS = symbol("is") -const MATAIJ = symbol("aij") -const MATSEQAIJ = symbol("seqaij") -const MATSEQAIJPTHREAD = symbol("seqaijpthread") -const MATAIJPTHREAD = symbol("aijpthread") -const MATMPIAIJ = symbol("mpiaij") -const MATAIJCRL = symbol("aijcrl") -const MATSEQAIJCRL = symbol("seqaijcrl") -const MATMPIAIJCRL = symbol("mpiaijcrl") -const MATAIJCUSP = symbol("aijcusp") -const MATSEQAIJCUSP = symbol("seqaijcusp") -const MATMPIAIJCUSP = symbol("mpiaijcusp") -const MATAIJCUSPARSE = symbol("aijcusparse") -const MATSEQAIJCUSPARSE = symbol("seqaijcusparse") -const MATMPIAIJCUSPARSE = symbol("mpiaijcusparse") -const MATAIJVIENNACL = symbol("aijviennacl") -const MATSEQAIJVIENNACL = symbol("seqaijviennacl") -const MATMPIAIJVIENNACL = symbol("mpiaijviennacl") -const MATAIJPERM = symbol("aijperm") -const MATSEQAIJPERM = symbol("seqaijperm") -const MATMPIAIJPERM = symbol("mpiaijperm") -const MATSHELL = symbol("shell") -const MATDENSE = symbol("dense") -const MATSEQDENSE = symbol("seqdense") -const MATMPIDENSE = symbol("mpidense") -const MATELEMENTAL = symbol("elemental") -const MATBAIJ = symbol("baij") -const MATSEQBAIJ = symbol("seqbaij") -const MATMPIBAIJ = symbol("mpibaij") -const MATMPIADJ = symbol("mpiadj") -const MATSBAIJ = symbol("sbaij") -const MATSEQSBAIJ = symbol("seqsbaij") -const MATMPISBAIJ = symbol("mpisbaij") -const MATSEQBSTRM = symbol("seqbstrm") -const MATMPIBSTRM = symbol("mpibstrm") -const MATBSTRM = symbol("bstrm") -const MATSEQSBSTRM = symbol("seqsbstrm") -const MATMPISBSTRM = symbol("mpisbstrm") -const MATSBSTRM = symbol("sbstrm") -const MATDAAD = symbol("daad") -const MATMFFD = symbol("mffd") -const MATNORMAL = symbol("normal") -const MATLRC = symbol("lrc") -const MATSCATTER = symbol("scatter") -const MATBLOCKMAT = symbol("blockmat") -const MATCOMPOSITE = symbol("composite") -const MATFFT = symbol("fft") -const MATFFTW = symbol("fftw") -const MATSEQCUFFT = symbol("seqcufft") -const MATTRANSPOSEMAT = symbol("transpose") -const MATSCHURCOMPLEMENT = symbol("schurcomplement") -const MATPYTHON = symbol("python") -const MATHYPRESTRUCT = symbol("hyprestruct") -const MATHYPRESSTRUCT = symbol("hypresstruct") -const MATSUBMATRIX = symbol("submatrix") -const MATLOCALREF = symbol("localref") -const MATNEST = symbol("nest") - -#= # Skipping MacroDefinition: MatSolverPackage char * =# -const MATSOLVERSUPERLU = symbol("superlu") -const MATSOLVERSUPERLU_DIST = symbol("superlu_dist") -const MATSOLVERUMFPACK = symbol("umfpack") -const MATSOLVERCHOLMOD = symbol("cholmod") -const MATSOLVERESSL = symbol("essl") -const MATSOLVERLUSOL = symbol("lusol") -const MATSOLVERMUMPS = symbol("mumps") -const MATSOLVERMKL_PARDISO = symbol("mkl_pardiso") -const MATSOLVERMKL_CPARDISO = symbol("mkl_cpardiso") -const MATSOLVERPASTIX = symbol("pastix") -const MATSOLVERMATLAB = symbol("matlab") -const MATSOLVERPETSC = symbol("petsc") -const MATSOLVERBAS = symbol("bas") -const MATSOLVERCUSPARSE = symbol("cusparse") -const MATSOLVERBSTRM = symbol("bstrm") -const MATSOLVERSBSTRM = symbol("sbstrm") -const MATSOLVERELEMENTAL = symbol("elemental") -const MATSOLVERCLIQUE = symbol("clique") -const MATSOLVERKLU = symbol("klu") -const MAT_FILE_CLASSID = 1211216 - -#= # Skipping MacroDefinition: MatPreallocateInitialize ( comm , nrows , ncols , dnz , onz ) 0 ; \ -#{ PetscErrorCode _4_ierr ; PetscInt __nrows = ( nrows ) , __ctmp = ( ncols ) , __rstart , __start , __end ; _4_ierr = PetscCalloc2 ( __nrows , & dnz , __nrows , & onz ) ; CHKERRQ ( _4_ierr ) ; __start = 0 ; __end = __start ; _4_ierr = MPI_Scan ( & __ctmp , & __end , 1 , MPIU_INT , MPI_SUM , comm ) ; CHKERRQ ( _4_ierr ) ; __start = __end - __ctmp ; _4_ierr = MPI_Scan ( & __nrows , & __rstart , 1 , MPIU_INT , MPI_SUM , comm ) ; CHKERRQ ( _4_ierr ) ; __rstart = __rstart - __nrows ; =# -#= # Skipping MacroDefinition: MatPreallocateSetLocal ( rmap , nrows , rows , cmap , ncols , cols , dnz , onz ) 0 ; \ -#{ PetscInt __l ; _4_ierr = ISLocalToGlobalMappingApply ( rmap , nrows , rows , rows ) ; CHKERRQ ( _4_ierr ) ; _4_ierr = ISLocalToGlobalMappingApply ( cmap , ncols , cols , cols ) ; CHKERRQ ( _4_ierr ) ; for ( __l = 0 ; __l < nrows ; __l ++ ) { _4_ierr = MatPreallocateSet ( ( rows ) [ __l ] , ncols , cols , dnz , onz ) ; CHKERRQ ( _4_ierr ) ; } \ -#} =# -#= # Skipping MacroDefinition: MatPreallocateSetLocalBlock ( rmap , nrows , rows , cmap , ncols , cols , dnz , onz ) 0 ; \ -#{ PetscInt __l ; _4_ierr = ISLocalToGlobalMappingApplyBlock ( rmap , nrows , rows , rows ) ; CHKERRQ ( _4_ierr ) ; _4_ierr = ISLocalToGlobalMappingApplyBlock ( cmap , ncols , cols , cols ) ; CHKERRQ ( _4_ierr ) ; for ( __l = 0 ; __l < nrows ; __l ++ ) { _4_ierr = MatPreallocateSet ( ( rows ) [ __l ] , ncols , cols , dnz , onz ) ; CHKERRQ ( _4_ierr ) ; } \ -#} =# -#= # Skipping MacroDefinition: MatPreallocateSymmetricSetLocalBlock ( map , nrows , rows , ncols , cols , dnz , onz ) 0 ; \ -#{ PetscInt __l ; _4_ierr = ISLocalToGlobalMappingApplyBlock ( map , nrows , rows , rows ) ; CHKERRQ ( _4_ierr ) ; _4_ierr = ISLocalToGlobalMappingApplyBlock ( map , ncols , cols , cols ) ; CHKERRQ ( _4_ierr ) ; for ( __l = 0 ; __l < nrows ; __l ++ ) { _4_ierr = MatPreallocateSymmetricSetBlock ( ( rows ) [ __l ] , ncols , cols , dnz , onz ) ; CHKERRQ ( _4_ierr ) ; } \ -#} =# -#= # Skipping MacroDefinition: MatPreallocateSet ( row , nc , cols , dnz , onz ) 0 ; \ -#{ PetscInt __i ; if ( row < __rstart ) SETERRQ2 ( PETSC_COMM_SELF , PETSC_ERR_ARG_OUTOFRANGE , "Trying to set preallocation for row %D less than first local row %D" , row , __rstart ) ; if ( row >= __rstart + __nrows ) SETERRQ2 ( PETSC_COMM_SELF , PETSC_ERR_ARG_OUTOFRANGE , "Trying to set preallocation for row %D greater than last local row %D" , row , __rstart + __nrows - 1 ) ; for ( __i = 0 ; __i < nc ; __i ++ ) { if ( ( cols ) [ __i ] < __start || ( cols ) [ __i ] >= __end ) onz [ row - __rstart ] ++ ; else dnz [ row - __rstart ] ++ ; } \ -#} =# -#= # Skipping MacroDefinition: MatPreallocateSymmetricSetBlock ( row , nc , cols , dnz , onz ) 0 ; \ -#{ PetscInt __i ; for ( __i = 0 ; __i < nc ; __i ++ ) { if ( cols [ __i ] >= __end ) onz [ row - __rstart ] ++ ; else if ( cols [ __i ] >= row ) dnz [ row - __rstart ] ++ ; } \ -#} =# -#= # Skipping MacroDefinition: MatPreallocateLocation ( A , row , ncols , cols , dnz , onz ) 0 ; if ( A ) { ierr = MatSetValues ( A , 1 , & row , ncols , cols , NULL , INSERT_VALUES ) ; CHKERRQ ( ierr ) ; } else { ierr = MatPreallocateSet ( row , ncols , cols , dnz , onz ) ; CHKERRQ ( ierr ) ; } =# -#= # Skipping MacroDefinition: MatPreallocateFinalize ( dnz , onz ) 0 ; _4_ierr = PetscFree2 ( dnz , onz ) ; CHKERRQ ( _4_ierr ) ; } =# -const MAT_SKIP_ALLOCATION = -4 -const MATORDERINGNATURAL = symbol("natural") -const MATORDERINGND = symbol("nd") -const MATORDERING1WD = symbol("1wd") -const MATORDERINGRCM = symbol("rcm") -const MATORDERINGQMD = symbol("qmd") -const MATORDERINGROWLENGTH = symbol("rowlength") -const MATORDERINGWBM = symbol("wbm") -const MATORDERINGSPECTRAL = symbol("spectral") -const MATORDERINGAMD = symbol("amd") -const MATCOLORINGJP = symbol("jp") -const MATCOLORINGPOWER = symbol("power") -const MATCOLORINGNATURAL = symbol("natural") -const MATCOLORINGSL = symbol("sl") -const MATCOLORINGLF = symbol("lf") -const MATCOLORINGID = symbol("id") -const MATCOLORINGGREEDY = symbol("greedy") -const MATPARTITIONINGCURRENT = symbol("current") -const MATPARTITIONINGSQUARE = symbol("square") -const MATPARTITIONINGPARMETIS = symbol("parmetis") -const MATPARTITIONINGCHACO = symbol("chaco") -const MATPARTITIONINGPARTY = symbol("party") -const MATPARTITIONINGPTSCOTCH = symbol("ptscotch") -const MP_PARTY_OPT = symbol("opt") -const MP_PARTY_LIN = symbol("lin") -const MP_PARTY_SCA = symbol("sca") -const MP_PARTY_RAN = symbol("ran") -const MP_PARTY_GBF = symbol("gbf") -const MP_PARTY_GCF = symbol("gcf") -const MP_PARTY_BUB = symbol("bub") -const MP_PARTY_DEF = symbol("def") -const MP_PARTY_HELPFUL_SETS = symbol("hs") -const MP_PARTY_KERNIGHAN_LIN = symbol("kl") -const MP_PARTY_NONE = symbol("no") -const MATCOARSENMIS = symbol("mis") -const MATCOARSENHEM = symbol("hem") -const MATRIX_BINARY_FORMAT_DENSE = -1 -const MATMFFD_DS = symbol("ds") -const MATMFFD_WP = symbol("wp") -const DMDA = symbol("da") -const DMCOMPOSITE = symbol("composite") -const DMSLICED = symbol("sliced") -const DMSHELL = symbol("shell") -const DMPLEX = symbol("plex") -const DMCARTESIAN = symbol("cartesian") -const DMREDUNDANT = symbol("redundant") -const DMPATCH = symbol("patch") -const DMMOAB = symbol("moab") -const DMNETWORK = symbol("network") -const DM_FILE_CLASSID = 1211221 -const PFCONSTANT = symbol("constant") -const PFMAT = symbol("mat") -const PFSTRING = symbol("string") -const PFQUICK = symbol("quick") -const PFIDENTITY = symbol("identity") -const PFMATLAB = symbol("matlab") - -#= # Skipping MacroDefinition: PFSetOptionsPrefix ( a , s ) PetscObjectSetOptionsPrefix ( ( PetscObject ) ( a ) , s ) =# -const AOBASIC = symbol("basic") -const AOADVANCED = symbol("advanced") -const AOMAPPING = symbol("mapping") -const AOMEMORYSCALABLE = symbol("memoryscalable") -const PETSCSPACEPOLYNOMIAL = symbol("poly") -const PETSCSPACEDG = symbol("dg") -const PETSCDUALSPACELAGRANGE = symbol("lagrange") -const PETSCDUALSPACESIMPLE = symbol("simple") -const PETSCFEBASIC = symbol("basic") -const PETSCFENONAFFINE = symbol("nonaffine") -const PETSCFEOPENCL = symbol("opencl") -const PETSCFECOMPOSITE = symbol("composite") -const MATSEQUSFFT = symbol("sequsfft") -const PETSCLIMITERSIN = symbol("sin") -const PETSCLIMITERZERO = symbol("zero") -const PETSCLIMITERNONE = symbol("none") -const PETSCLIMITERMINMOD = symbol("minmod") -const PETSCLIMITERVANLEER = symbol("vanleer") -const PETSCLIMITERVANALBADA = symbol("vanalbada") -const PETSCLIMITERSUPERBEE = symbol("superbee") -const PETSCLIMITERMC = symbol("mc") -const PETSCFVUPWIND = symbol("upwind") -const PETSCFVLEASTSQUARES = symbol("leastsquares") -const PETSCPARTITIONERCHACO = symbol("chaco") -const PETSCPARTITIONERPARMETIS = symbol("parmetis") -const PETSCPARTITIONERSHELL = symbol("shell") -const PETSCPARTITIONERSIMPLE = symbol("simple") -const PETSCDSBASIC = symbol("basic") -const CHARACTERISTICDA = symbol("da") -const PCNONE = symbol("none") -const PCJACOBI = symbol("jacobi") -const PCSOR = symbol("sor") -const PCLU = symbol("lu") -const PCSHELL = symbol("shell") -const PCBJACOBI = symbol("bjacobi") -const PCMG = symbol("mg") -const PCEISENSTAT = symbol("eisenstat") -const PCILU = symbol("ilu") -const PCICC = symbol("icc") -const PCASM = symbol("asm") -const PCGASM = symbol("gasm") -const PCKSP = symbol("ksp") -const PCCOMPOSITE = symbol("composite") -const PCREDUNDANT = symbol("redundant") -const PCSPAI = symbol("spai") -const PCNN = symbol("nn") -const PCCHOLESKY = symbol("cholesky") -const PCPBJACOBI = symbol("pbjacobi") -const PCMAT = symbol("mat") -const PCHYPRE = symbol("hypre") -const PCPARMS = symbol("parms") -const PCFIELDSPLIT = symbol("fieldsplit") -const PCTFS = symbol("tfs") -const PCML = symbol("ml") -const PCGALERKIN = symbol("galerkin") -const PCEXOTIC = symbol("exotic") -const PCCP = symbol("cp") -const PCBFBT = symbol("bfbt") -const PCLSC = symbol("lsc") -const PCPYTHON = symbol("python") -const PCPFMG = symbol("pfmg") -const PCSYSPFMG = symbol("syspfmg") -const PCREDISTRIBUTE = symbol("redistribute") -const PCSVD = symbol("svd") -const PCGAMG = symbol("gamg") -const PCSACUSP = symbol("sacusp") -const PCSACUSPPOLY = symbol("sacusppoly") -const PCBICGSTABCUSP = symbol("bicgstabcusp") -const PCAINVCUSP = symbol("ainvcusp") -const PCBDDC = symbol("bddc") -const PCKACZMARZ = symbol("kaczmarz") - -#= # begin enum PCSide =# -typealias PCSide Cint - -const PC_SIDE_DEFAULT = (Int32)(-1) -const PC_LEFT = (Int32)(0) -const PC_RIGHT = (Int32)(1) -const PC_SYMMETRIC = (Int32)(2) - -#= # end enum PCSide =# -const PC_SIDE_MAX = PC_SYMMETRIC + 1 -const PCGAMGAGG = symbol("agg") -const PCGAMGGEO = symbol("geo") -const PCGAMGCLASSICAL = symbol("classical") -const PCGAMGCLASSICALDIRECT = symbol("direct") -const PCGAMGCLASSICALSTANDARD = symbol("standard") - -#= # begin enum PCMGType =# -typealias PCMGType UInt32 - -const PC_MG_MULTIPLICATIVE = (UInt32)(0) -const PC_MG_ADDITIVE = (UInt32)(1) -const PC_MG_FULL = (UInt32)(2) -const PC_MG_KASKADE = (UInt32)(3) - -#= # end enum PCMGType =# -const PC_MG_CASCADE = PC_MG_KASKADE -const PC_FILE_CLASSID = 1211222 -const KSPRICHARDSON = symbol("richardson") -const KSPCHEBYSHEV = symbol("chebyshev") -const KSPCG = symbol("cg") -const KSPGROPPCG = symbol("groppcg") -const KSPPIPECG = symbol("pipecg") -const KSPCGNE = symbol("cgne") -const KSPNASH = symbol("nash") -const KSPSTCG = symbol("stcg") -const KSPGLTR = symbol("gltr") -const KSPFCG = symbol("fcg") -const KSPGMRES = symbol("gmres") -const KSPFGMRES = symbol("fgmres") -const KSPLGMRES = symbol("lgmres") -const KSPDGMRES = symbol("dgmres") -const KSPPGMRES = symbol("pgmres") -const KSPTCQMR = symbol("tcqmr") -const KSPBCGS = symbol("bcgs") -const KSPIBCGS = symbol("ibcgs") -const KSPFBCGS = symbol("fbcgs") -const KSPFBCGSR = symbol("fbcgsr") -const KSPBCGSL = symbol("bcgsl") -const KSPCGS = symbol("cgs") -const KSPTFQMR = symbol("tfqmr") -const KSPCR = symbol("cr") -const KSPPIPECR = symbol("pipecr") -const KSPLSQR = symbol("lsqr") -const KSPPREONLY = symbol("preonly") -const KSPQCG = symbol("qcg") -const KSPBICG = symbol("bicg") -const KSPMINRES = symbol("minres") -const KSPSYMMLQ = symbol("symmlq") -const KSPLCD = symbol("lcd") -const KSPPYTHON = symbol("python") -const KSPGCR = symbol("gcr") -const KSP_FILE_CLASSID = 1211223 - -#= # begin enum KSPNormType =# -typealias KSPNormType Cint - -const KSP_NORM_DEFAULT = (Int32)(-1) -const KSP_NORM_NONE = (Int32)(0) -const KSP_NORM_PRECONDITIONED = (Int32)(1) -const KSP_NORM_UNPRECONDITIONED = (Int32)(2) -const KSP_NORM_NATURAL = (Int32)(3) - -#= # end enum KSPNormType =# -const KSP_NORM_MAX = KSP_NORM_NATURAL + 1 - -#= # Skipping MacroDefinition: KSPDefaultConverged ( KSPDefaultConverged , KSPConvergedDefault ) =# -#= # Skipping MacroDefinition: KSPDefaultConvergedDestroy ( KSPDefaultConvergedDestroy , KSPConvergedDefaultDestroy ) =# -#= # Skipping MacroDefinition: KSPDefaultConvergedCreate ( KSPDefaultConvergedCreate , KSPConvergedDefaultCreate ) =# -#= # Skipping MacroDefinition: KSPDefaultConvergedSetUIRNorm ( KSPDefaultConvergedSetUIRNorm , KSPConvergedDefaultSetUIRNorm ) =# -#= # Skipping MacroDefinition: KSPDefaultConvergedSetUMIRNorm ( KSPDefaultConvergedSetUMIRNorm , KSPConvergedDefaultSetUMIRNorm ) =# -#= # Skipping MacroDefinition: KSPSkipConverged ( KSPSkipConverged , KSPConvergedSkip ) =# -const SNESNEWTONLS = symbol("newtonls") -const SNESNEWTONTR = symbol("newtontr") -const SNESPYTHON = symbol("python") -const SNESTEST = symbol("test") -const SNESNRICHARDSON = symbol("nrichardson") -const SNESKSPONLY = symbol("ksponly") -const SNESVINEWTONRSLS = symbol("vinewtonrsls") -const SNESVINEWTONSSLS = symbol("vinewtonssls") -const SNESNGMRES = symbol("ngmres") -const SNESQN = symbol("qn") -const SNESSHELL = symbol("shell") -const SNESNGS = symbol("ngs") -const SNESNCG = symbol("ncg") -const SNESFAS = symbol("fas") -const SNESMS = symbol("ms") -const SNESNASM = symbol("nasm") -const SNESANDERSON = symbol("anderson") -const SNESASPIN = symbol("aspin") -const SNESCOMPOSITE = symbol("composite") -const SNES_FILE_CLASSID = 1211224 - -#= # Skipping MacroDefinition: SNESSkipConverged ( SNESSkipConverged , SNESConvergedSkip ) =# -const SNESLINESEARCHBT = symbol("bt") -const SNESLINESEARCHNLEQERR = symbol("nleqerr") -const SNESLINESEARCHBASIC = symbol("basic") -const SNESLINESEARCHL2 = symbol("l2") -const SNESLINESEARCHCP = symbol("cp") -const SNESLINESEARCHSHELL = symbol("shell") -const SNES_LINESEARCH_ORDER_LINEAR = 1 -const SNES_LINESEARCH_ORDER_QUADRATIC = 2 -const SNES_LINESEARCH_ORDER_CUBIC = 3 -const SNESMSM62 = symbol("m62") -const SNESMSEULER = symbol("euler") -const SNESMSJAMESON83 = symbol("jameson83") -const SNESMSVLTP21 = symbol("vltp21") -const SNESMSVLTP31 = symbol("vltp31") -const SNESMSVLTP41 = symbol("vltp41") -const SNESMSVLTP51 = symbol("vltp51") -const SNESMSVLTP61 = symbol("vltp61") -const TSEULER = symbol("euler") -const TSBEULER = symbol("beuler") -const TSPSEUDO = symbol("pseudo") -const TSCN = symbol("cn") -const TSSUNDIALS = symbol("sundials") -const TSRK = symbol("rk") -const TSPYTHON = symbol("python") -const TSTHETA = symbol("theta") -const TSALPHA = symbol("alpha") -const TSGL = symbol("gl") -const TSSSP = symbol("ssp") -const TSARKIMEX = symbol("arkimex") -const TSROSW = symbol("rosw") -const TSEIMEX = symbol("eimex") -const TSMIMEX = symbol("mimex") -const TSTRAJECTORYBASIC = symbol("basic") -const TSTRAJECTORYSINGLEFILE = symbol("singlefile") -const TS_FILE_CLASSID = 1211225 -const TSSSPRKS2 = symbol("rks2") -const TSSSPRKS3 = symbol("rks3") -const TSSSPRK104 = symbol("rk104") -const TSADAPTBASIC = symbol("basic") -const TSADAPTNONE = symbol("none") -const TSADAPTCFL = symbol("cfl") -const TSGLADAPT_NONE = symbol("none") -const TSGLADAPT_SIZE = symbol("size") -const TSGLADAPT_BOTH = symbol("both") -const TSGLACCEPT_ALWAYS = symbol("always") -const TSGL_IRKS = symbol("irks") - -#= # Skipping MacroDefinition: TSEIMEXType char * =# -const TSRK1FE = symbol("1fe") -const TSRK2A = symbol("2a") -const TSRK3 = symbol("3") -const TSRK3BS = symbol("3bs") -const TSRK4 = symbol("4") -const TSRK5F = symbol("5f") -const TSRK5DP = symbol("5dp") -const TSARKIMEX1BEE = symbol("1bee") -const TSARKIMEXA2 = symbol("a2") -const TSARKIMEXL2 = symbol("l2") -const TSARKIMEXARS122 = symbol("ars122") -const TSARKIMEX2C = symbol("2c") -const TSARKIMEX2D = symbol("2d") -const TSARKIMEX2E = symbol("2e") -const TSARKIMEXPRSSP2 = symbol("prssp2") -const TSARKIMEX3 = symbol("3") -const TSARKIMEXBPR3 = symbol("bpr3") -const TSARKIMEXARS443 = symbol("ars443") -const TSARKIMEX4 = symbol("4") -const TSARKIMEX5 = symbol("5") -const TSROSW2M = symbol("2m") -const TSROSW2P = symbol("2p") -const TSROSWRA3PW = symbol("ra3pw") -const TSROSWRA34PW2 = symbol("ra34pw2") -const TSROSWRODAS3 = symbol("rodas3") -const TSROSWSANDU3 = symbol("sandu3") -const TSROSWASSP3P3S1C = symbol("assp3p3s1c") -const TSROSWLASSP3P4S2C = symbol("lassp3p4s2c") -const TSROSWLLSSP3P4S2C = symbol("llssp3p4s2c") -const TSROSWARK3 = symbol("ark3") -const TSROSWTHETA1 = symbol("theta1") -const TSROSWTHETA2 = symbol("theta2") -const TSROSWGRK4T = symbol("grk4t") -const TSROSWSHAMP4 = symbol("shamp4") -const TSROSWVELDD4 = symbol("veldd4") -const TSROSW4L = symbol("4l") - -#= # Skipping MacroDefinition: TaoType char * =# -const TAOLMVM = symbol("lmvm") -const TAONLS = symbol("nls") -const TAONTR = symbol("ntr") -const TAONTL = symbol("ntl") -const TAOCG = symbol("cg") -const TAOTRON = symbol("tron") -const TAOOWLQN = symbol("owlqn") -const TAOBMRM = symbol("bmrm") -const TAOBLMVM = symbol("blmvm") -const TAOBQPIP = symbol("bqpip") -const TAOGPCG = symbol("gpcg") -const TAONM = symbol("nm") -const TAOPOUNDERS = symbol("pounders") -const TAOLCL = symbol("lcl") -const TAOSSILS = symbol("ssils") -const TAOSSFLS = symbol("ssfls") -const TAOASILS = symbol("asils") -const TAOASFLS = symbol("asfls") -const TAOIPM = symbol("ipm") -const TAOTEST = symbol("test") - -#= # Skipping MacroDefinition: TaoLineSearchType char * =# -const TAOLINESEARCHUNIT = symbol("unit") -const TAOLINESEARCHMT = symbol("more-thuente") -const TAOLINESEARCHGPCG = symbol("gpcg") -const TAOLINESEARCHARMIJO = symbol("armijo") -const TAOLINESEARCHOWARMIJO = symbol("owarmijo") -const TAOLINESEARCHIPM = symbol("ipm") - -typealias PetscErrorCode Cint -typealias PetscClassId Cint -typealias PetscMPIInt Cint - -#= # begin enum ANONYMOUS_1 =# -typealias ANONYMOUS_1 UInt32 - -const ENUM_DUMMY = (UInt32)(0) - -#= # end enum ANONYMOUS_1 =# -#= # begin enum PetscEnum =# -typealias PetscEnum UInt32 - -const ENUM_DUMMY = (UInt32)(0) - -#= # end enum PetscEnum =# -typealias Petsc64bitInt Int64 - -# excluding lhs of typealias PetscInt Petsc64bitInt -typealias PetscBLASInt Cint - -#= # begin enum ANONYMOUS_2 =# -typealias ANONYMOUS_2 UInt32 - -const PETSC_PRECISION_SINGLE = (UInt32)(4) -const PETSC_PRECISION_DOUBLE = (UInt32)(8) - -#= # end enum ANONYMOUS_2 =# -#= # begin enum PetscPrecision =# -typealias PetscPrecision UInt32 - -const PETSC_PRECISION_SINGLE = (UInt32)(4) -const PETSC_PRECISION_DOUBLE = (UInt32)(8) - -#= # end enum PetscPrecision =# -#= # begin enum ANONYMOUS_3 =# -typealias ANONYMOUS_3 UInt32 - -const PETSC_FALSE = (UInt32)(0) -const PETSC_TRUE = (UInt32)(1) - -#= # end enum ANONYMOUS_3 =# -#= # begin enum PetscBool =# -typealias PetscBool UInt32 - -const PETSC_FALSE = (UInt32)(0) -const PETSC_TRUE = (UInt32)(1) - -#= # end enum PetscBool =# -# skipping undefined typealias typealias PetscComplex Complex -#= # begin enum ANONYMOUS_4 =# -typealias ANONYMOUS_4 UInt32 - -const PETSC_SCALAR_DOUBLE = (UInt32)(0) -const PETSC_SCALAR_SINGLE = (UInt32)(1) -const PETSC_SCALAR_LONG_DOUBLE = (UInt32)(2) - -#= # end enum ANONYMOUS_4 =# -#= # begin enum PetscScalarPrecision =# -typealias PetscScalarPrecision UInt32 - -const PETSC_SCALAR_DOUBLE = (UInt32)(0) -const PETSC_SCALAR_SINGLE = (UInt32)(1) -const PETSC_SCALAR_LONG_DOUBLE = (UInt32)(2) - -#= # end enum PetscScalarPrecision =# -typealias MatScalar Float32 -typealias MatReal Float32 - -#= skipping type declaration with undefined symbols: -immutable petsc_mpiu_2scalar - a::PetscScalar - b::PetscScalar -end -=# -#= skipping type declaration with undefined symbols: -immutable petsc_mpiu_2int - a::PetscInt - b::PetscInt -end -=# -#= # begin enum ANONYMOUS_5 =# -typealias ANONYMOUS_5 UInt32 - -const PETSC_COPY_VALUES = (UInt32)(0) -const PETSC_OWN_POINTER = (UInt32)(1) -const PETSC_USE_POINTER = (UInt32)(2) - -#= # end enum ANONYMOUS_5 =# -#= # begin enum PetscCopyMode =# -typealias PetscCopyMode UInt32 - -const PETSC_COPY_VALUES = (UInt32)(0) -const PETSC_OWN_POINTER = (UInt32)(1) -const PETSC_USE_POINTER = (UInt32)(2) - -#= # end enum PetscCopyMode =# -typealias PetscLogDouble Cdouble - -#= # begin enum ANONYMOUS_6 =# -typealias ANONYMOUS_6 UInt32 - -const PETSC_INT = (UInt32)(0) -const PETSC_DOUBLE = (UInt32)(1) -const PETSC_COMPLEX = (UInt32)(2) -const PETSC_LONG = (UInt32)(3) -const PETSC_SHORT = (UInt32)(4) -const PETSC_FLOAT = (UInt32)(5) -const PETSC_CHAR = (UInt32)(6) -const PETSC_BIT_LOGICAL = (UInt32)(7) -const PETSC_ENUM = (UInt32)(8) -const PETSC_BOOL = (UInt32)(9) -const PETSC___FLOAT128 = (UInt32)(10) -const PETSC_OBJECT = (UInt32)(11) -const PETSC_FUNCTION = (UInt32)(12) -const PETSC_STRING = (UInt32)(12) - -#= # end enum ANONYMOUS_6 =# -immutable _p_PetscToken -end - -typealias PetscToken Ptr{_p_PetscToken} - -immutable _p_PetscObject -end - -typealias PetscObject Ptr{_p_PetscObject} -typealias PetscObjectId Petsc64bitInt -typealias PetscObjectState Petsc64bitInt - -immutable _n_PetscFunctionList -end - -typealias PetscFunctionList Ptr{_n_PetscFunctionList} - -#= # begin enum ANONYMOUS_7 =# -typealias ANONYMOUS_7 UInt32 - -const FILE_MODE_READ = (UInt32)(0) -const FILE_MODE_WRITE = (UInt32)(1) -const FILE_MODE_APPEND = (UInt32)(2) -const FILE_MODE_UPDATE = (UInt32)(3) -const FILE_MODE_APPEND_UPDATE = (UInt32)(4) - -#= # end enum ANONYMOUS_7 =# -#= # begin enum PetscFileMode =# -typealias PetscFileMode UInt32 - -const FILE_MODE_READ = (UInt32)(0) -const FILE_MODE_WRITE = (UInt32)(1) -const FILE_MODE_APPEND = (UInt32)(2) -const FILE_MODE_UPDATE = (UInt32)(3) -const FILE_MODE_APPEND_UPDATE = (UInt32)(4) - -#= # end enum PetscFileMode =# -#= # begin enum ANONYMOUS_8 =# -typealias ANONYMOUS_8 UInt32 - -const PETSC_ERROR_INITIAL = (UInt32)(0) -const PETSC_ERROR_REPEAT = (UInt32)(1) -const PETSC_ERROR_IN_CXX = (UInt32)(2) - -#= # end enum ANONYMOUS_8 =# -#= # begin enum PetscErrorType =# -typealias PetscErrorType UInt32 - -const PETSC_ERROR_INITIAL = (UInt32)(0) -const PETSC_ERROR_REPEAT = (UInt32)(1) -const PETSC_ERROR_IN_CXX = (UInt32)(2) - -#= # end enum PetscErrorType =# -#= # begin enum ANONYMOUS_9 =# -typealias ANONYMOUS_9 UInt32 - -const PETSC_FP_TRAP_OFF = (UInt32)(0) -const PETSC_FP_TRAP_ON = (UInt32)(1) - -#= # end enum ANONYMOUS_9 =# -#= # begin enum PetscFPTrap =# -typealias PetscFPTrap UInt32 - -const PETSC_FP_TRAP_OFF = (UInt32)(0) -const PETSC_FP_TRAP_ON = (UInt32)(1) - -#= # end enum PetscFPTrap =# -immutable Array_64_Ptr - d1::Ptr{UInt8} - d2::Ptr{UInt8} - d3::Ptr{UInt8} - d4::Ptr{UInt8} - d5::Ptr{UInt8} - d6::Ptr{UInt8} - d7::Ptr{UInt8} - d8::Ptr{UInt8} - d9::Ptr{UInt8} - d10::Ptr{UInt8} - d11::Ptr{UInt8} - d12::Ptr{UInt8} - d13::Ptr{UInt8} - d14::Ptr{UInt8} - d15::Ptr{UInt8} - d16::Ptr{UInt8} - d17::Ptr{UInt8} - d18::Ptr{UInt8} - d19::Ptr{UInt8} - d20::Ptr{UInt8} - d21::Ptr{UInt8} - d22::Ptr{UInt8} - d23::Ptr{UInt8} - d24::Ptr{UInt8} - d25::Ptr{UInt8} - d26::Ptr{UInt8} - d27::Ptr{UInt8} - d28::Ptr{UInt8} - d29::Ptr{UInt8} - d30::Ptr{UInt8} - d31::Ptr{UInt8} - d32::Ptr{UInt8} - d33::Ptr{UInt8} - d34::Ptr{UInt8} - d35::Ptr{UInt8} - d36::Ptr{UInt8} - d37::Ptr{UInt8} - d38::Ptr{UInt8} - d39::Ptr{UInt8} - d40::Ptr{UInt8} - d41::Ptr{UInt8} - d42::Ptr{UInt8} - d43::Ptr{UInt8} - d44::Ptr{UInt8} - d45::Ptr{UInt8} - d46::Ptr{UInt8} - d47::Ptr{UInt8} - d48::Ptr{UInt8} - d49::Ptr{UInt8} - d50::Ptr{UInt8} - d51::Ptr{UInt8} - d52::Ptr{UInt8} - d53::Ptr{UInt8} - d54::Ptr{UInt8} - d55::Ptr{UInt8} - d56::Ptr{UInt8} - d57::Ptr{UInt8} - d58::Ptr{UInt8} - d59::Ptr{UInt8} - d60::Ptr{UInt8} - d61::Ptr{UInt8} - d62::Ptr{UInt8} - d63::Ptr{UInt8} - d64::Ptr{UInt8} -end - -zero(::Type{Array_64_Ptr}) = begin # /home/jared/.julia/v0.4/Clang/src/wrap_c.jl, line 266: - Array_64_Ptr(fill(zero(Ptr{UInt8}),64)...) - end - -immutable Array_64_Cint - d1::Cint - d2::Cint - d3::Cint - d4::Cint - d5::Cint - d6::Cint - d7::Cint - d8::Cint - d9::Cint - d10::Cint - d11::Cint - d12::Cint - d13::Cint - d14::Cint - d15::Cint - d16::Cint - d17::Cint - d18::Cint - d19::Cint - d20::Cint - d21::Cint - d22::Cint - d23::Cint - d24::Cint - d25::Cint - d26::Cint - d27::Cint - d28::Cint - d29::Cint - d30::Cint - d31::Cint - d32::Cint - d33::Cint - d34::Cint - d35::Cint - d36::Cint - d37::Cint - d38::Cint - d39::Cint - d40::Cint - d41::Cint - d42::Cint - d43::Cint - d44::Cint - d45::Cint - d46::Cint - d47::Cint - d48::Cint - d49::Cint - d50::Cint - d51::Cint - d52::Cint - d53::Cint - d54::Cint - d55::Cint - d56::Cint - d57::Cint - d58::Cint - d59::Cint - d60::Cint - d61::Cint - d62::Cint - d63::Cint - d64::Cint -end - -zero(::Type{Array_64_Cint}) = begin # /home/jared/.julia/v0.4/Clang/src/wrap_c.jl, line 266: - Array_64_Cint(fill(zero(Cint),64)...) - end - -immutable Array_64_PetscBool - d1::PetscBool - d2::PetscBool - d3::PetscBool - d4::PetscBool - d5::PetscBool - d6::PetscBool - d7::PetscBool - d8::PetscBool - d9::PetscBool - d10::PetscBool - d11::PetscBool - d12::PetscBool - d13::PetscBool - d14::PetscBool - d15::PetscBool - d16::PetscBool - d17::PetscBool - d18::PetscBool - d19::PetscBool - d20::PetscBool - d21::PetscBool - d22::PetscBool - d23::PetscBool - d24::PetscBool - d25::PetscBool - d26::PetscBool - d27::PetscBool - d28::PetscBool - d29::PetscBool - d30::PetscBool - d31::PetscBool - d32::PetscBool - d33::PetscBool - d34::PetscBool - d35::PetscBool - d36::PetscBool - d37::PetscBool - d38::PetscBool - d39::PetscBool - d40::PetscBool - d41::PetscBool - d42::PetscBool - d43::PetscBool - d44::PetscBool - d45::PetscBool - d46::PetscBool - d47::PetscBool - d48::PetscBool - d49::PetscBool - d50::PetscBool - d51::PetscBool - d52::PetscBool - d53::PetscBool - d54::PetscBool - d55::PetscBool - d56::PetscBool - d57::PetscBool - d58::PetscBool - d59::PetscBool - d60::PetscBool - d61::PetscBool - d62::PetscBool - d63::PetscBool - d64::PetscBool -end - -zero(::Type{Array_64_PetscBool}) = begin # /home/jared/.julia/v0.4/Clang/src/wrap_c.jl, line 266: - Array_64_PetscBool(fill(zero(PetscBool),64)...) - end - -immutable PetscStack - _function::Array_64_Ptr - file::Array_64_Ptr - line::Array_64_Cint - petscroutine::Array_64_PetscBool - currentsize::Cint - hotdepth::Cint -end - -typealias PetscVoidStarFunction Ptr{Ptr{Void}} -typealias PetscVoidFunction Ptr{Void} -typealias PetscErrorCodeFunction Ptr{Void} - -immutable _p_PetscViewer -end - -immutable PetscViewer{T} - pobj::Ptr{Void} -end - -#= # begin enum ANONYMOUS_10 =# -typealias ANONYMOUS_10 UInt32 - -const OPTION_INT = (UInt32)(0) -const OPTION_BOOL = (UInt32)(1) -const OPTION_REAL = (UInt32)(2) -const OPTION_FLIST = (UInt32)(3) -const OPTION_STRING = (UInt32)(4) -const OPTION_REAL_ARRAY = (UInt32)(5) -const OPTION_SCALAR_ARRAY = (UInt32)(6) -const OPTION_HEAD = (UInt32)(7) -const OPTION_INT_ARRAY = (UInt32)(8) -const OPTION_ELIST = (UInt32)(9) -const OPTION_BOOL_ARRAY = (UInt32)(10) -const OPTION_STRING_ARRAY = (UInt32)(11) - -#= # end enum ANONYMOUS_10 =# -#= # begin enum PetscOptionType =# -typealias PetscOptionType UInt32 - -const OPTION_INT = (UInt32)(0) -const OPTION_BOOL = (UInt32)(1) -const OPTION_REAL = (UInt32)(2) -const OPTION_FLIST = (UInt32)(3) -const OPTION_STRING = (UInt32)(4) -const OPTION_REAL_ARRAY = (UInt32)(5) -const OPTION_SCALAR_ARRAY = (UInt32)(6) -const OPTION_HEAD = (UInt32)(7) -const OPTION_INT_ARRAY = (UInt32)(8) -const OPTION_ELIST = (UInt32)(9) -const OPTION_BOOL_ARRAY = (UInt32)(10) -const OPTION_STRING_ARRAY = (UInt32)(11) - -#= # end enum PetscOptionType =# -immutable PetscOption{T} - pobj::Ptr{Void} -end - -immutable _n_PetscOption - option::Ptr{UInt8} - text::Ptr{UInt8} - data::Ptr{Void} - flist::PetscFunctionList - list::Ptr{Ptr{UInt8}} - nlist::UInt8 - man::Ptr{UInt8} - arraylength::Csize_t - set::PetscBool - _type::PetscOptionType - next::PetscOption - pman::Ptr{UInt8} - edata::Ptr{Void} -end - -#= skipping type declaration with undefined symbols: -immutable _p_PetscOptions - count::PetscInt - next::PetscOption - prefix::Ptr{UInt8} - pprefix::Ptr{UInt8} - title::Ptr{UInt8} - comm::MPI_Comm - printhelp::PetscBool - changedmethod::PetscBool - alreadyprinted::PetscBool - object::PetscObject -end -=# -#= skipping type declaration with undefined symbols: -immutable PetscOptions - count::PetscInt - next::PetscOption - prefix::Ptr{UInt8} - pprefix::Ptr{UInt8} - title::Ptr{UInt8} - comm::MPI_Comm - printhelp::PetscBool - changedmethod::PetscBool - alreadyprinted::PetscBool - object::PetscObject -end -=# -typealias PetscDLHandle Ptr{Void} - -#= # begin enum ANONYMOUS_11 =# -typealias ANONYMOUS_11 UInt32 - -const PETSC_DL_DECIDE = (UInt32)(0) -const PETSC_DL_NOW = (UInt32)(1) -const PETSC_DL_LOCAL = (UInt32)(2) - -#= # end enum ANONYMOUS_11 =# -#= # begin enum PetscDLMode =# -typealias PetscDLMode UInt32 - -const PETSC_DL_DECIDE = (UInt32)(0) -const PETSC_DL_NOW = (UInt32)(1) -const PETSC_DL_LOCAL = (UInt32)(2) - -#= # end enum PetscDLMode =# -immutable _n_PetscObjectList -end - -typealias PetscObjectList Ptr{_n_PetscObjectList} - -immutable _n_PetscDLLibrary -end - -typealias PetscDLLibrary Ptr{_n_PetscDLLibrary} -typealias PetscLogEvent Cint -typealias PetscLogStage Cint - -immutable _n_PetscIntStack -end - -typealias PetscIntStack Ptr{_n_PetscIntStack} - -immutable PetscClassRegInfo - name::Ptr{UInt8} - classid::PetscClassId -end - -immutable PetscClassPerfInfo - id::PetscClassId - creations::Cint - destructions::Cint - mem::PetscLogDouble - descMem::PetscLogDouble -end - -immutable _n_PetscClassRegLog - numClasses::Cint - maxClasses::Cint - classInfo::Ptr{PetscClassRegInfo} -end - -typealias PetscClassRegLog Ptr{_n_PetscClassRegLog} - -immutable _n_PetscClassPerfLog - numClasses::Cint - maxClasses::Cint - classInfo::Ptr{PetscClassPerfInfo} -end - -typealias PetscClassPerfLog Ptr{_n_PetscClassPerfLog} - -immutable PetscEventRegInfo - name::Ptr{UInt8} - classid::PetscClassId -end - -immutable PetscEventPerfInfo - id::Cint - active::PetscBool - visible::PetscBool - depth::Cint - count::Cint - flops::PetscLogDouble - flops2::PetscLogDouble - flopsTmp::PetscLogDouble - time::PetscLogDouble - time2::PetscLogDouble - timeTmp::PetscLogDouble - numMessages::PetscLogDouble - messageLength::PetscLogDouble - numReductions::PetscLogDouble -end - -immutable _n_PetscEventRegLog - numEvents::Cint - maxEvents::Cint - eventInfo::Ptr{PetscEventRegInfo} -end - -typealias PetscEventRegLog Ptr{_n_PetscEventRegLog} - -immutable _n_PetscEventPerfLog - numEvents::Cint - maxEvents::Cint - eventInfo::Ptr{PetscEventPerfInfo} -end - -typealias PetscEventPerfLog Ptr{_n_PetscEventPerfLog} - -immutable _PetscStageInfo - name::Ptr{UInt8} - used::PetscBool - perfInfo::PetscEventPerfInfo - eventLog::PetscEventPerfLog - classLog::PetscClassPerfLog -end - -immutable PetscStageInfo - name::Ptr{UInt8} - used::PetscBool - perfInfo::PetscEventPerfInfo - eventLog::PetscEventPerfLog - classLog::PetscClassPerfLog -end - -immutable _n_PetscStageLog - numStages::Cint - maxStages::Cint - stack::PetscIntStack - curStage::Cint - stageInfo::Ptr{PetscStageInfo} - eventLog::PetscEventRegLog - classLog::PetscClassRegLog -end - -typealias PetscStageLog Ptr{_n_PetscStageLog} - -immutable _p_PetscContainer -end - -typealias PetscContainer Ptr{_p_PetscContainer} -typealias PetscRandomType Symbol - -immutable _p_PetscRandom -end - -typealias PetscRandom Ptr{_p_PetscRandom} - -#= # begin enum ANONYMOUS_12 =# -typealias ANONYMOUS_12 UInt32 - -const PETSC_BINARY_SEEK_SET = (UInt32)(0) -const PETSC_BINARY_SEEK_CUR = (UInt32)(1) -const PETSC_BINARY_SEEK_END = (UInt32)(2) - -#= # end enum ANONYMOUS_12 =# -#= # begin enum PetscBinarySeekType =# -typealias PetscBinarySeekType UInt32 - -const PETSC_BINARY_SEEK_SET = (UInt32)(0) -const PETSC_BINARY_SEEK_CUR = (UInt32)(1) -const PETSC_BINARY_SEEK_END = (UInt32)(2) - -#= # end enum PetscBinarySeekType =# -#= # begin enum ANONYMOUS_13 =# -typealias ANONYMOUS_13 Cint - -const PETSC_BUILDTWOSIDED_NOTSET = (Int32)(-1) -const PETSC_BUILDTWOSIDED_ALLREDUCE = (Int32)(0) -const PETSC_BUILDTWOSIDED_IBARRIER = (Int32)(1) - -#= # end enum ANONYMOUS_13 =# -#= # begin enum PetscBuildTwoSidedType =# -typealias PetscBuildTwoSidedType Cint - -const PETSC_BUILDTWOSIDED_NOTSET = (Int32)(-1) -const PETSC_BUILDTWOSIDED_ALLREDUCE = (Int32)(0) -const PETSC_BUILDTWOSIDED_IBARRIER = (Int32)(1) - -#= # end enum PetscBuildTwoSidedType =# -#= # begin enum ANONYMOUS_14 =# -typealias ANONYMOUS_14 UInt32 - -const NOT_SET_VALUES = (UInt32)(0) -const INSERT_VALUES = (UInt32)(1) -const ADD_VALUES = (UInt32)(2) -const MAX_VALUES = (UInt32)(3) -const INSERT_ALL_VALUES = (UInt32)(4) -const ADD_ALL_VALUES = (UInt32)(5) -const INSERT_BC_VALUES = (UInt32)(6) -const ADD_BC_VALUES = (UInt32)(7) - -#= # end enum ANONYMOUS_14 =# -#= # begin enum InsertMode =# -typealias InsertMode UInt32 - -const NOT_SET_VALUES = (UInt32)(0) -const INSERT_VALUES = (UInt32)(1) -const ADD_VALUES = (UInt32)(2) -const MAX_VALUES = (UInt32)(3) -const INSERT_ALL_VALUES = (UInt32)(4) -const ADD_ALL_VALUES = (UInt32)(5) -const INSERT_BC_VALUES = (UInt32)(6) -const ADD_BC_VALUES = (UInt32)(7) - -#= # end enum InsertMode =# -#= # begin enum ANONYMOUS_15 =# -typealias ANONYMOUS_15 UInt32 - -const PETSC_SUBCOMM_GENERAL = (UInt32)(0) -const PETSC_SUBCOMM_CONTIGUOUS = (UInt32)(1) -const PETSC_SUBCOMM_INTERLACED = (UInt32)(2) - -#= # end enum ANONYMOUS_15 =# -#= # begin enum PetscSubcommType =# -typealias PetscSubcommType UInt32 - -const PETSC_SUBCOMM_GENERAL = (UInt32)(0) -const PETSC_SUBCOMM_CONTIGUOUS = (UInt32)(1) -const PETSC_SUBCOMM_INTERLACED = (UInt32)(2) - -#= # end enum PetscSubcommType =# -immutable _n_PetscSubcomm - parent::MPI_Comm - dupparent::MPI_Comm - child::MPI_Comm - n::PetscMPIInt - color::PetscMPIInt - subsize::Ptr{PetscMPIInt} - _type::PetscSubcommType -end - -typealias PetscSubcomm Ptr{_n_PetscSubcomm} - -immutable _n_PetscSegBuffer -end - -typealias PetscSegBuffer Ptr{_n_PetscSegBuffer} - -immutable _n_PetscBag -end - -typealias PetscBag Ptr{_n_PetscBag} - -immutable _n_PetscBagItem -end - -typealias PetscBagItem Ptr{_n_PetscBagItem} -typealias PetscViewerType Symbol -typealias PetscDrawType Symbol - -immutable _p_PetscDraw -end - -typealias PetscDraw Ptr{_p_PetscDraw} - -immutable _p_PetscDrawAxis -end - -typealias PetscDrawAxis Ptr{_p_PetscDrawAxis} - -immutable _p_PetscDrawLG -end - -typealias PetscDrawLG Ptr{_p_PetscDrawLG} - -immutable _p_PetscDrawSP -end - -typealias PetscDrawSP Ptr{_p_PetscDrawSP} - -immutable _p_PetscDrawHG -end - -typealias PetscDrawHG Ptr{_p_PetscDrawHG} - -immutable _p_PetscDrawBar -end - -typealias PetscDrawBar Ptr{_p_PetscDrawBar} - -#= # begin enum ANONYMOUS_16 =# -typealias ANONYMOUS_16 UInt32 - -const PETSC_VIEWER_DEFAULT = (UInt32)(0) -const PETSC_VIEWER_ASCII_MATLAB = (UInt32)(1) -const PETSC_VIEWER_ASCII_MATHEMATICA = (UInt32)(2) -const PETSC_VIEWER_ASCII_IMPL = (UInt32)(3) -const PETSC_VIEWER_ASCII_INFO = (UInt32)(4) -const PETSC_VIEWER_ASCII_INFO_DETAIL = (UInt32)(5) -const PETSC_VIEWER_ASCII_COMMON = (UInt32)(6) -const PETSC_VIEWER_ASCII_SYMMODU = (UInt32)(7) -const PETSC_VIEWER_ASCII_INDEX = (UInt32)(8) -const PETSC_VIEWER_ASCII_DENSE = (UInt32)(9) -const PETSC_VIEWER_ASCII_MATRIXMARKET = (UInt32)(10) -const PETSC_VIEWER_ASCII_VTK = (UInt32)(11) -const PETSC_VIEWER_ASCII_VTK_CELL = (UInt32)(12) -const PETSC_VIEWER_ASCII_VTK_COORDS = (UInt32)(13) -const PETSC_VIEWER_ASCII_PCICE = (UInt32)(14) -const PETSC_VIEWER_ASCII_PYTHON = (UInt32)(15) -const PETSC_VIEWER_ASCII_FACTOR_INFO = (UInt32)(16) -const PETSC_VIEWER_ASCII_LATEX = (UInt32)(17) -const PETSC_VIEWER_DRAW_BASIC = (UInt32)(18) -const PETSC_VIEWER_DRAW_LG = (UInt32)(19) -const PETSC_VIEWER_DRAW_CONTOUR = (UInt32)(20) -const PETSC_VIEWER_DRAW_PORTS = (UInt32)(21) -const PETSC_VIEWER_VTK_VTS = (UInt32)(22) -const PETSC_VIEWER_VTK_VTR = (UInt32)(23) -const PETSC_VIEWER_VTK_VTU = (UInt32)(24) -const PETSC_VIEWER_BINARY_MATLAB = (UInt32)(25) -const PETSC_VIEWER_NATIVE = (UInt32)(26) -const PETSC_VIEWER_HDF5_VIZ = (UInt32)(27) -const PETSC_VIEWER_NOFORMAT = (UInt32)(28) - -#= # end enum ANONYMOUS_16 =# -#= # begin enum PetscViewerFormat =# -typealias PetscViewerFormat UInt32 - -const PETSC_VIEWER_DEFAULT = (UInt32)(0) -const PETSC_VIEWER_ASCII_MATLAB = (UInt32)(1) -const PETSC_VIEWER_ASCII_MATHEMATICA = (UInt32)(2) -const PETSC_VIEWER_ASCII_IMPL = (UInt32)(3) -const PETSC_VIEWER_ASCII_INFO = (UInt32)(4) -const PETSC_VIEWER_ASCII_INFO_DETAIL = (UInt32)(5) -const PETSC_VIEWER_ASCII_COMMON = (UInt32)(6) -const PETSC_VIEWER_ASCII_SYMMODU = (UInt32)(7) -const PETSC_VIEWER_ASCII_INDEX = (UInt32)(8) -const PETSC_VIEWER_ASCII_DENSE = (UInt32)(9) -const PETSC_VIEWER_ASCII_MATRIXMARKET = (UInt32)(10) -const PETSC_VIEWER_ASCII_VTK = (UInt32)(11) -const PETSC_VIEWER_ASCII_VTK_CELL = (UInt32)(12) -const PETSC_VIEWER_ASCII_VTK_COORDS = (UInt32)(13) -const PETSC_VIEWER_ASCII_PCICE = (UInt32)(14) -const PETSC_VIEWER_ASCII_PYTHON = (UInt32)(15) -const PETSC_VIEWER_ASCII_FACTOR_INFO = (UInt32)(16) -const PETSC_VIEWER_ASCII_LATEX = (UInt32)(17) -const PETSC_VIEWER_DRAW_BASIC = (UInt32)(18) -const PETSC_VIEWER_DRAW_LG = (UInt32)(19) -const PETSC_VIEWER_DRAW_CONTOUR = (UInt32)(20) -const PETSC_VIEWER_DRAW_PORTS = (UInt32)(21) -const PETSC_VIEWER_VTK_VTS = (UInt32)(22) -const PETSC_VIEWER_VTK_VTR = (UInt32)(23) -const PETSC_VIEWER_VTK_VTU = (UInt32)(24) -const PETSC_VIEWER_BINARY_MATLAB = (UInt32)(25) -const PETSC_VIEWER_NATIVE = (UInt32)(26) -const PETSC_VIEWER_HDF5_VIZ = (UInt32)(27) -const PETSC_VIEWER_NOFORMAT = (UInt32)(28) - -#= # end enum PetscViewerFormat =# -#= # begin enum ANONYMOUS_17 =# -typealias ANONYMOUS_17 UInt32 - -const PETSC_VTK_POINT_FIELD = (UInt32)(0) -const PETSC_VTK_POINT_VECTOR_FIELD = (UInt32)(1) -const PETSC_VTK_CELL_FIELD = (UInt32)(2) -const PETSC_VTK_CELL_VECTOR_FIELD = (UInt32)(3) - -#= # end enum ANONYMOUS_17 =# -#= # begin enum PetscViewerVTKFieldType =# -typealias PetscViewerVTKFieldType UInt32 - -const PETSC_VTK_POINT_FIELD = (UInt32)(0) -const PETSC_VTK_POINT_VECTOR_FIELD = (UInt32)(1) -const PETSC_VTK_CELL_FIELD = (UInt32)(2) -const PETSC_VTK_CELL_VECTOR_FIELD = (UInt32)(3) - -#= # end enum PetscViewerVTKFieldType =# -immutable _n_PetscViewers -end - -typealias PetscViewers Ptr{_n_PetscViewers} -typealias PetscBT Symbol - -#= skipping type declaration with undefined symbols: -immutable _n_PetscTable - keytable::Ptr{PetscInt} - table::Ptr{PetscInt} - count::PetscInt - tablesize::PetscInt - head::PetscInt - maxkey::PetscInt -end -=# -# skipping undefined typealias typealias PetscTable Ptr{_n_PetscTable} -typealias PetscTablePosition Ptr{Int64} - -immutable _p_PetscMatlabEngine -end - -typealias PetscMatlabEngine Ptr{_p_PetscMatlabEngine} - -#= # begin enum ANONYMOUS_18 =# -typealias ANONYMOUS_18 UInt32 - -const PETSC_DRAW_MARKER_CROSS = (UInt32)(0) -const PETSC_DRAW_MARKER_POINT = (UInt32)(1) -const PETSC_DRAW_MARKER_PLUS = (UInt32)(2) -const PETSC_DRAW_MARKER_CIRCLE = (UInt32)(3) - -#= # end enum ANONYMOUS_18 =# -#= # begin enum PetscDrawMarkerType =# -typealias PetscDrawMarkerType UInt32 - -const PETSC_DRAW_MARKER_CROSS = (UInt32)(0) -const PETSC_DRAW_MARKER_POINT = (UInt32)(1) -const PETSC_DRAW_MARKER_PLUS = (UInt32)(2) -const PETSC_DRAW_MARKER_CIRCLE = (UInt32)(3) - -#= # end enum PetscDrawMarkerType =# -#= # begin enum ANONYMOUS_19 =# -typealias ANONYMOUS_19 UInt32 - -const PETSC_BUTTON_NONE = (UInt32)(0) -const PETSC_BUTTON_LEFT = (UInt32)(1) -const PETSC_BUTTON_CENTER = (UInt32)(2) -const PETSC_BUTTON_RIGHT = (UInt32)(3) -const PETSC_BUTTON_LEFT_SHIFT = (UInt32)(4) -const PETSC_BUTTON_CENTER_SHIFT = (UInt32)(5) -const PETSC_BUTTON_RIGHT_SHIFT = (UInt32)(6) - -#= # end enum ANONYMOUS_19 =# -#= # begin enum PetscDrawButton =# -typealias PetscDrawButton UInt32 - -const PETSC_BUTTON_NONE = (UInt32)(0) -const PETSC_BUTTON_LEFT = (UInt32)(1) -const PETSC_BUTTON_CENTER = (UInt32)(2) -const PETSC_BUTTON_RIGHT = (UInt32)(3) -const PETSC_BUTTON_LEFT_SHIFT = (UInt32)(4) -const PETSC_BUTTON_CENTER_SHIFT = (UInt32)(5) -const PETSC_BUTTON_RIGHT_SHIFT = (UInt32)(6) - -#= # end enum PetscDrawButton =# -#= skipping type declaration with undefined symbols: -immutable PetscDrawViewPorts - nports::PetscInt - xl::Ptr{PetscReal} - xr::Ptr{PetscReal} - yl::Ptr{PetscReal} - yr::Ptr{PetscReal} - draw::PetscDraw - port_xl::PetscReal - port_yl::PetscReal - port_xr::PetscReal - port_yr::PetscReal -end -=# -immutable _p_PetscSF -end - -typealias PetscSF Ptr{_p_PetscSF} - -#= skipping type declaration with undefined symbols: -immutable PetscSFNode - rank::PetscInt - index::PetscInt -end -=# -immutable _p_IS -end - -immutable IS{T} - pobj::Ptr{Void} -end - -immutable _p_ISLocalToGlobalMapping -end - -immutable ISLocalToGlobalMapping{T} - pobj::Ptr{Void} -end - -immutable _n_ISColoring -end - -immutable ISColoring{T} - pobj::Ptr{Void} -end - -#= skipping type declaration with undefined symbols: -immutable _n_PetscLayout - comm::MPI_Comm - n::PetscInt - N::PetscInt - rstart::PetscInt - rend::PetscInt - range::Ptr{PetscInt} - bs::PetscInt - refcnt::PetscInt - mapping::ISLocalToGlobalMapping - trstarts::Ptr{PetscInt} -end -=# -immutable PetscLayout{T} - pobj::Ptr{Void} -end - -immutable _p_PetscSection -end - -typealias PetscSection Ptr{_p_PetscSection} -typealias ISType Symbol - -#= # begin enum ANONYMOUS_20 =# -typealias ANONYMOUS_20 UInt32 - -const IS_GTOLM_MASK = (UInt32)(0) -const IS_GTOLM_DROP = (UInt32)(1) - -#= # end enum ANONYMOUS_20 =# -#= # begin enum ISGlobalToLocalMappingType =# -typealias ISGlobalToLocalMappingType UInt32 - -const IS_GTOLM_MASK = (UInt32)(0) -const IS_GTOLM_DROP = (UInt32)(1) - -#= # end enum ISGlobalToLocalMappingType =# -#= # begin enum ANONYMOUS_21 =# -typealias ANONYMOUS_21 UInt32 - -const IS_COLORING_GLOBAL = (UInt32)(0) -const IS_COLORING_GHOSTED = (UInt32)(1) - -#= # end enum ANONYMOUS_21 =# -#= # begin enum ISColoringType =# -typealias ISColoringType UInt32 - -const IS_COLORING_GLOBAL = (UInt32)(0) -const IS_COLORING_GHOSTED = (UInt32)(1) - -#= # end enum ISColoringType =# -typealias ISColoringValue UInt16 - -immutable _p_Vec -end - -immutable Vec{T} - pobj::Ptr{Void} -end - -immutable _p_VecScatter -end - -immutable VecScatter{T} - pobj::Ptr{Void} -end - -#= # begin enum ANONYMOUS_22 =# -typealias ANONYMOUS_22 UInt32 - -const SCATTER_FORWARD = (UInt32)(0) -const SCATTER_REVERSE = (UInt32)(1) -const SCATTER_FORWARD_LOCAL = (UInt32)(2) -const SCATTER_REVERSE_LOCAL = (UInt32)(3) -const SCATTER_LOCAL = (UInt32)(2) - -#= # end enum ANONYMOUS_22 =# -#= # begin enum ScatterMode =# -typealias ScatterMode UInt32 - -const SCATTER_FORWARD = (UInt32)(0) -const SCATTER_REVERSE = (UInt32)(1) -const SCATTER_FORWARD_LOCAL = (UInt32)(2) -const SCATTER_REVERSE_LOCAL = (UInt32)(3) -const SCATTER_LOCAL = (UInt32)(2) - -#= # end enum ScatterMode =# -typealias VecType Symbol - -#= # begin enum ANONYMOUS_23 =# -typealias ANONYMOUS_23 UInt32 - -const NORM_1 = (UInt32)(0) -const NORM_2 = (UInt32)(1) -const NORM_FROBENIUS = (UInt32)(2) -const NORM_INFINITY = (UInt32)(3) -const NORM_1_AND_2 = (UInt32)(4) - -#= # end enum ANONYMOUS_23 =# -#= # begin enum ANONYMOUS_24 =# -typealias ANONYMOUS_24 UInt32 - -const VEC_IGNORE_OFF_PROC_ENTRIES = (UInt32)(0) -const VEC_IGNORE_NEGATIVE_INDICES = (UInt32)(1) - -#= # end enum ANONYMOUS_24 =# -#= # begin enum VecOption =# -typealias VecOption UInt32 - -const VEC_IGNORE_OFF_PROC_ENTRIES = (UInt32)(0) -const VEC_IGNORE_NEGATIVE_INDICES = (UInt32)(1) - -#= # end enum VecOption =# -#= # begin enum ANONYMOUS_25 =# -typealias ANONYMOUS_25 UInt32 - -const VECOP_VIEW = (UInt32)(33) -const VECOP_LOAD = (UInt32)(41) -const VECOP_DUPLICATE = (UInt32)(0) - -#= # end enum ANONYMOUS_25 =# -#= # begin enum VecOperation =# -typealias VecOperation UInt32 - -const VECOP_VIEW = (UInt32)(33) -const VECOP_LOAD = (UInt32)(41) -const VECOP_DUPLICATE = (UInt32)(0) - -#= # end enum VecOperation =# -#= skipping type declaration with undefined symbols: -immutable _n_Vecs - n::PetscInt - v::Vec -end -=# -# skipping undefined typealias typealias Vecs Ptr{_n_Vecs} -immutable _p_Mat -end - -immutable Mat{T} - pobj::Ptr{Void} -end - -typealias MatType Symbol - -#= # begin enum ANONYMOUS_26 =# -typealias ANONYMOUS_26 UInt32 - -const MAT_FACTOR_NONE = (UInt32)(0) -const MAT_FACTOR_LU = (UInt32)(1) -const MAT_FACTOR_CHOLESKY = (UInt32)(2) -const MAT_FACTOR_ILU = (UInt32)(3) -const MAT_FACTOR_ICC = (UInt32)(4) -const MAT_FACTOR_ILUDT = (UInt32)(5) - -#= # end enum ANONYMOUS_26 =# -#= # begin enum MatFactorType =# -typealias MatFactorType UInt32 - -const MAT_FACTOR_NONE = (UInt32)(0) -const MAT_FACTOR_LU = (UInt32)(1) -const MAT_FACTOR_CHOLESKY = (UInt32)(2) -const MAT_FACTOR_ILU = (UInt32)(3) -const MAT_FACTOR_ICC = (UInt32)(4) -const MAT_FACTOR_ILUDT = (UInt32)(5) - -#= # end enum MatFactorType =# -#= # begin enum ANONYMOUS_27 =# -typealias ANONYMOUS_27 UInt32 - -const MAT_INITIAL_MATRIX = (UInt32)(0) -const MAT_REUSE_MATRIX = (UInt32)(1) -const MAT_IGNORE_MATRIX = (UInt32)(2) - -#= # end enum ANONYMOUS_27 =# -#= # begin enum MatReuse =# -typealias MatReuse UInt32 - -const MAT_INITIAL_MATRIX = (UInt32)(0) -const MAT_REUSE_MATRIX = (UInt32)(1) -const MAT_IGNORE_MATRIX = (UInt32)(2) - -#= # end enum MatReuse =# -#= # begin enum ANONYMOUS_28 =# -typealias ANONYMOUS_28 UInt32 - -const MAT_DO_NOT_GET_VALUES = (UInt32)(0) -const MAT_GET_VALUES = (UInt32)(1) - -#= # end enum ANONYMOUS_28 =# -#= # begin enum MatGetSubMatrixOption =# -typealias MatGetSubMatrixOption UInt32 - -const MAT_DO_NOT_GET_VALUES = (UInt32)(0) -const MAT_GET_VALUES = (UInt32)(1) - -#= # end enum MatGetSubMatrixOption =# -#= # begin enum ANONYMOUS_29 =# -typealias ANONYMOUS_29 UInt32 - -const DIFFERENT_NONZERO_PATTERN = (UInt32)(0) -const SUBSET_NONZERO_PATTERN = (UInt32)(1) -const SAME_NONZERO_PATTERN = (UInt32)(2) - -#= # end enum ANONYMOUS_29 =# -#= # begin enum MatStructure =# -typealias MatStructure UInt32 - -const DIFFERENT_NONZERO_PATTERN = (UInt32)(0) -const SUBSET_NONZERO_PATTERN = (UInt32)(1) -const SAME_NONZERO_PATTERN = (UInt32)(2) - -#= # end enum MatStructure =# -#= # begin enum ANONYMOUS_30 =# -typealias ANONYMOUS_30 UInt32 - -const MAT_COMPOSITE_ADDITIVE = (UInt32)(0) -const MAT_COMPOSITE_MULTIPLICATIVE = (UInt32)(1) - -#= # end enum ANONYMOUS_30 =# -#= # begin enum MatCompositeType =# -typealias MatCompositeType UInt32 - -const MAT_COMPOSITE_ADDITIVE = (UInt32)(0) -const MAT_COMPOSITE_MULTIPLICATIVE = (UInt32)(1) - -#= # end enum MatCompositeType =# -#= skipping type declaration with undefined symbols: -immutable MatStencil - k::PetscInt - j::PetscInt - i::PetscInt - c::PetscInt -end -=# -#= # begin enum ANONYMOUS_31 =# -typealias ANONYMOUS_31 UInt32 - -const MAT_FLUSH_ASSEMBLY = (UInt32)(1) -const MAT_FINAL_ASSEMBLY = (UInt32)(0) - -#= # end enum ANONYMOUS_31 =# -#= # begin enum MatAssemblyType =# -typealias MatAssemblyType UInt32 - -const MAT_FLUSH_ASSEMBLY = (UInt32)(1) -const MAT_FINAL_ASSEMBLY = (UInt32)(0) - -#= # end enum MatAssemblyType =# -#= # begin enum ANONYMOUS_32 =# -typealias ANONYMOUS_32 Cint - -const MAT_OPTION_MIN = (Int32)(-5) -const MAT_NEW_NONZERO_LOCATION_ERR = (Int32)(-4) -const MAT_UNUSED_NONZERO_LOCATION_ERR = (Int32)(-3) -const MAT_NEW_NONZERO_ALLOCATION_ERR = (Int32)(-2) -const MAT_ROW_ORIENTED = (Int32)(-1) -const MAT_SYMMETRIC = (Int32)(1) -const MAT_STRUCTURALLY_SYMMETRIC = (Int32)(2) -const MAT_NEW_DIAGONALS = (Int32)(3) -const MAT_IGNORE_OFF_PROC_ENTRIES = (Int32)(4) -const MAT_USE_HASH_TABLE = (Int32)(5) -const MAT_KEEP_NONZERO_PATTERN = (Int32)(6) -const MAT_IGNORE_ZERO_ENTRIES = (Int32)(7) -const MAT_USE_INODES = (Int32)(8) -const MAT_HERMITIAN = (Int32)(9) -const MAT_SYMMETRY_ETERNAL = (Int32)(10) -const MAT_DUMMY = (Int32)(11) -const MAT_IGNORE_LOWER_TRIANGULAR = (Int32)(12) -const MAT_ERROR_LOWER_TRIANGULAR = (Int32)(13) -const MAT_GETROW_UPPERTRIANGULAR = (Int32)(14) -const MAT_SPD = (Int32)(15) -const MAT_NO_OFF_PROC_ZERO_ROWS = (Int32)(16) -const MAT_NO_OFF_PROC_ENTRIES = (Int32)(17) -const MAT_NEW_NONZERO_LOCATIONS = (Int32)(18) -const MAT_OPTION_MAX = (Int32)(19) - -#= # end enum ANONYMOUS_32 =# -#= # begin enum MatOption =# -typealias MatOption Cint - -const MAT_OPTION_MIN = (Int32)(-5) -const MAT_NEW_NONZERO_LOCATION_ERR = (Int32)(-4) -const MAT_UNUSED_NONZERO_LOCATION_ERR = (Int32)(-3) -const MAT_NEW_NONZERO_ALLOCATION_ERR = (Int32)(-2) -const MAT_ROW_ORIENTED = (Int32)(-1) -const MAT_SYMMETRIC = (Int32)(1) -const MAT_STRUCTURALLY_SYMMETRIC = (Int32)(2) -const MAT_NEW_DIAGONALS = (Int32)(3) -const MAT_IGNORE_OFF_PROC_ENTRIES = (Int32)(4) -const MAT_USE_HASH_TABLE = (Int32)(5) -const MAT_KEEP_NONZERO_PATTERN = (Int32)(6) -const MAT_IGNORE_ZERO_ENTRIES = (Int32)(7) -const MAT_USE_INODES = (Int32)(8) -const MAT_HERMITIAN = (Int32)(9) -const MAT_SYMMETRY_ETERNAL = (Int32)(10) -const MAT_DUMMY = (Int32)(11) -const MAT_IGNORE_LOWER_TRIANGULAR = (Int32)(12) -const MAT_ERROR_LOWER_TRIANGULAR = (Int32)(13) -const MAT_GETROW_UPPERTRIANGULAR = (Int32)(14) -const MAT_SPD = (Int32)(15) -const MAT_NO_OFF_PROC_ZERO_ROWS = (Int32)(16) -const MAT_NO_OFF_PROC_ENTRIES = (Int32)(17) -const MAT_NEW_NONZERO_LOCATIONS = (Int32)(18) -const MAT_OPTION_MAX = (Int32)(19) - -#= # end enum MatOption =# -#= # begin enum ANONYMOUS_33 =# -typealias ANONYMOUS_33 UInt32 - -const MAT_DO_NOT_COPY_VALUES = (UInt32)(0) -const MAT_COPY_VALUES = (UInt32)(1) -const MAT_SHARE_NONZERO_PATTERN = (UInt32)(2) - -#= # end enum ANONYMOUS_33 =# -#= # begin enum MatDuplicateOption =# -typealias MatDuplicateOption UInt32 - -const MAT_DO_NOT_COPY_VALUES = (UInt32)(0) -const MAT_COPY_VALUES = (UInt32)(1) -const MAT_SHARE_NONZERO_PATTERN = (UInt32)(2) - -#= # end enum MatDuplicateOption =# -immutable MatInfo - block_size::PetscLogDouble - nz_allocated::PetscLogDouble - nz_used::PetscLogDouble - nz_unneeded::PetscLogDouble - memory::PetscLogDouble - assemblies::PetscLogDouble - mallocs::PetscLogDouble - fill_ratio_given::PetscLogDouble - fill_ratio_needed::PetscLogDouble - factor_mallocs::PetscLogDouble -end - -#= # begin enum ANONYMOUS_34 =# -typealias ANONYMOUS_34 UInt32 - -const MAT_LOCAL = (UInt32)(1) -const MAT_GLOBAL_MAX = (UInt32)(2) -const MAT_GLOBAL_SUM = (UInt32)(3) - -#= # end enum ANONYMOUS_34 =# -#= # begin enum MatInfoType =# -typealias MatInfoType UInt32 - -const MAT_LOCAL = (UInt32)(1) -const MAT_GLOBAL_MAX = (UInt32)(2) -const MAT_GLOBAL_SUM = (UInt32)(3) - -#= # end enum MatInfoType =# -typealias MatOrderingType Symbol - -#= # begin enum ANONYMOUS_35 =# -typealias ANONYMOUS_35 UInt32 - -const MAT_SHIFT_NONE = (UInt32)(0) -const MAT_SHIFT_NONZERO = (UInt32)(1) -const MAT_SHIFT_POSITIVE_DEFINITE = (UInt32)(2) -const MAT_SHIFT_INBLOCKS = (UInt32)(3) - -#= # end enum ANONYMOUS_35 =# -#= # begin enum MatFactorShiftType =# -typealias MatFactorShiftType UInt32 - -const MAT_SHIFT_NONE = (UInt32)(0) -const MAT_SHIFT_NONZERO = (UInt32)(1) -const MAT_SHIFT_POSITIVE_DEFINITE = (UInt32)(2) -const MAT_SHIFT_INBLOCKS = (UInt32)(3) - -#= # end enum MatFactorShiftType =# -#= skipping type declaration with undefined symbols: -immutable MatFactorInfo - diagonal_fill::PetscReal - usedt::PetscReal - dt::PetscReal - dtcol::PetscReal - dtcount::PetscReal - fill::PetscReal - levels::PetscReal - pivotinblocks::PetscReal - zeropivot::PetscReal - shifttype::PetscReal - shiftamount::PetscReal -end -=# -#= # begin enum ANONYMOUS_36 =# -typealias ANONYMOUS_36 UInt32 - -const SOR_FORWARD_SWEEP = (UInt32)(1) -const SOR_BACKWARD_SWEEP = (UInt32)(2) -const SOR_SYMMETRIC_SWEEP = (UInt32)(3) -const SOR_LOCAL_FORWARD_SWEEP = (UInt32)(4) -const SOR_LOCAL_BACKWARD_SWEEP = (UInt32)(8) -const SOR_LOCAL_SYMMETRIC_SWEEP = (UInt32)(12) -const SOR_ZERO_INITIAL_GUESS = (UInt32)(16) -const SOR_EISENSTAT = (UInt32)(32) -const SOR_APPLY_UPPER = (UInt32)(64) -const SOR_APPLY_LOWER = (UInt32)(128) - -#= # end enum ANONYMOUS_36 =# -#= # begin enum MatSORType =# -typealias MatSORType UInt32 - -const SOR_FORWARD_SWEEP = (UInt32)(1) -const SOR_BACKWARD_SWEEP = (UInt32)(2) -const SOR_SYMMETRIC_SWEEP = (UInt32)(3) -const SOR_LOCAL_FORWARD_SWEEP = (UInt32)(4) -const SOR_LOCAL_BACKWARD_SWEEP = (UInt32)(8) -const SOR_LOCAL_SYMMETRIC_SWEEP = (UInt32)(12) -const SOR_ZERO_INITIAL_GUESS = (UInt32)(16) -const SOR_EISENSTAT = (UInt32)(32) -const SOR_APPLY_UPPER = (UInt32)(64) -const SOR_APPLY_LOWER = (UInt32)(128) - -#= # end enum MatSORType =# -immutable _p_MatColoring -end - -typealias MatColoring Ptr{_p_MatColoring} -typealias MatColoringType Symbol - -#= # begin enum ANONYMOUS_37 =# -typealias ANONYMOUS_37 UInt32 - -const MAT_COLORING_WEIGHT_RANDOM = (UInt32)(0) -const MAT_COLORING_WEIGHT_LEXICAL = (UInt32)(1) -const MAT_COLORING_WEIGHT_LF = (UInt32)(2) -const MAT_COLORING_WEIGHT_SL = (UInt32)(3) - -#= # end enum ANONYMOUS_37 =# -#= # begin enum MatColoringWeightType =# -typealias MatColoringWeightType UInt32 - -const MAT_COLORING_WEIGHT_RANDOM = (UInt32)(0) -const MAT_COLORING_WEIGHT_LEXICAL = (UInt32)(1) -const MAT_COLORING_WEIGHT_LF = (UInt32)(2) -const MAT_COLORING_WEIGHT_SL = (UInt32)(3) - -#= # end enum MatColoringWeightType =# -immutable _p_MatFDColoring -end - -typealias MatFDColoring Ptr{_p_MatFDColoring} - -immutable _p_MatTransposeColoring -end - -typealias MatTransposeColoring Ptr{_p_MatTransposeColoring} - -immutable _p_MatPartitioning -end - -typealias MatPartitioning Ptr{_p_MatPartitioning} -typealias MatPartitioningType Symbol - -#= # begin enum ANONYMOUS_38 =# -typealias ANONYMOUS_38 UInt32 - -const MP_CHACO_MULTILEVEL = (UInt32)(1) -const MP_CHACO_SPECTRAL = (UInt32)(2) -const MP_CHACO_LINEAR = (UInt32)(4) -const MP_CHACO_RANDOM = (UInt32)(5) -const MP_CHACO_SCATTERED = (UInt32)(6) - -#= # end enum ANONYMOUS_38 =# -#= # begin enum MPChacoGlobalType =# -typealias MPChacoGlobalType UInt32 - -const MP_CHACO_MULTILEVEL = (UInt32)(1) -const MP_CHACO_SPECTRAL = (UInt32)(2) -const MP_CHACO_LINEAR = (UInt32)(4) -const MP_CHACO_RANDOM = (UInt32)(5) -const MP_CHACO_SCATTERED = (UInt32)(6) - -#= # end enum MPChacoGlobalType =# -#= # begin enum ANONYMOUS_39 =# -typealias ANONYMOUS_39 UInt32 - -const MP_CHACO_KERNIGHAN = (UInt32)(1) -const MP_CHACO_NONE = (UInt32)(2) - -#= # end enum ANONYMOUS_39 =# -#= # begin enum MPChacoLocalType =# -typealias MPChacoLocalType UInt32 - -const MP_CHACO_KERNIGHAN = (UInt32)(1) -const MP_CHACO_NONE = (UInt32)(2) - -#= # end enum MPChacoLocalType =# -#= # begin enum ANONYMOUS_40 =# -typealias ANONYMOUS_40 UInt32 - -const MP_CHACO_LANCZOS = (UInt32)(0) -const MP_CHACO_RQI = (UInt32)(1) - -#= # end enum ANONYMOUS_40 =# -#= # begin enum MPChacoEigenType =# -typealias MPChacoEigenType UInt32 - -const MP_CHACO_LANCZOS = (UInt32)(0) -const MP_CHACO_RQI = (UInt32)(1) - -#= # end enum MPChacoEigenType =# -#= # begin enum ANONYMOUS_41 =# -typealias ANONYMOUS_41 UInt32 - -const MP_PTSCOTCH_QUALITY = (UInt32)(0) -const MP_PTSCOTCH_SPEED = (UInt32)(1) -const MP_PTSCOTCH_BALANCE = (UInt32)(2) -const MP_PTSCOTCH_SAFETY = (UInt32)(3) -const MP_PTSCOTCH_SCALABILITY = (UInt32)(4) - -#= # end enum ANONYMOUS_41 =# -#= # begin enum MPPTScotchStrategyType =# -typealias MPPTScotchStrategyType UInt32 - -const MP_PTSCOTCH_QUALITY = (UInt32)(0) -const MP_PTSCOTCH_SPEED = (UInt32)(1) -const MP_PTSCOTCH_BALANCE = (UInt32)(2) -const MP_PTSCOTCH_SAFETY = (UInt32)(3) -const MP_PTSCOTCH_SCALABILITY = (UInt32)(4) - -#= # end enum MPPTScotchStrategyType =# -immutable _p_MatCoarsen -end - -typealias MatCoarsen Ptr{_p_MatCoarsen} -typealias MatCoarsenType Symbol - -#= skipping type declaration with undefined symbols: -immutable _PetscCDIntNd - next::Ptr{_PetscCDIntNd} - gid::PetscInt -end -=# -#= skipping type declaration with undefined symbols: -immutable PetscCDIntNd - next::Ptr{_PetscCDIntNd} - gid::PetscInt -end -=# -#= skipping type declaration with undefined symbols: -immutable _PetscCDArrNd - next::Ptr{_PetscCDArrNd} - array::Ptr{_PetscCDIntNd} -end -=# -#= skipping type declaration with undefined symbols: -immutable PetscCDArrNd - next::Ptr{_PetscCDArrNd} - array::Ptr{_PetscCDIntNd} -end -=# -#= skipping type declaration with undefined symbols: -immutable _PetscCoarsenData - pool_list::PetscCDArrNd - new_node::Ptr{PetscCDIntNd} - new_left::PetscInt - chk_sz::PetscInt - extra_nodes::Ptr{PetscCDIntNd} - array::Ptr{Ptr{PetscCDIntNd}} - size::PetscInt - mat::Mat -end -=# -#= skipping type declaration with undefined symbols: -immutable PetscCoarsenData - pool_list::PetscCDArrNd - new_node::Ptr{PetscCDIntNd} - new_left::PetscInt - chk_sz::PetscInt - extra_nodes::Ptr{PetscCDIntNd} - array::Ptr{Ptr{PetscCDIntNd}} - size::PetscInt - mat::Mat -end -=# -#= # begin enum ANONYMOUS_42 =# -typealias ANONYMOUS_42 UInt32 - -const MATOP_SET_VALUES = (UInt32)(0) -const MATOP_GET_ROW = (UInt32)(1) -const MATOP_RESTORE_ROW = (UInt32)(2) -const MATOP_MULT = (UInt32)(3) -const MATOP_MULT_ADD = (UInt32)(4) -const MATOP_MULT_TRANSPOSE = (UInt32)(5) -const MATOP_MULT_TRANSPOSE_ADD = (UInt32)(6) -const MATOP_SOLVE = (UInt32)(7) -const MATOP_SOLVE_ADD = (UInt32)(8) -const MATOP_SOLVE_TRANSPOSE = (UInt32)(9) -const MATOP_SOLVE_TRANSPOSE_ADD = (UInt32)(10) -const MATOP_LUFACTOR = (UInt32)(11) -const MATOP_CHOLESKYFACTOR = (UInt32)(12) -const MATOP_SOR = (UInt32)(13) -const MATOP_TRANSPOSE = (UInt32)(14) -const MATOP_GETINFO = (UInt32)(15) -const MATOP_EQUAL = (UInt32)(16) -const MATOP_GET_DIAGONAL = (UInt32)(17) -const MATOP_DIAGONAL_SCALE = (UInt32)(18) -const MATOP_NORM = (UInt32)(19) -const MATOP_ASSEMBLY_BEGIN = (UInt32)(20) -const MATOP_ASSEMBLY_END = (UInt32)(21) -const MATOP_SET_OPTION = (UInt32)(22) -const MATOP_ZERO_ENTRIES = (UInt32)(23) -const MATOP_ZERO_ROWS = (UInt32)(24) -const MATOP_LUFACTOR_SYMBOLIC = (UInt32)(25) -const MATOP_LUFACTOR_NUMERIC = (UInt32)(26) -const MATOP_CHOLESKY_FACTOR_SYMBOLIC = (UInt32)(27) -const MATOP_CHOLESKY_FACTOR_NUMERIC = (UInt32)(28) -const MATOP_SETUP_PREALLOCATION = (UInt32)(29) -const MATOP_ILUFACTOR_SYMBOLIC = (UInt32)(30) -const MATOP_ICCFACTOR_SYMBOLIC = (UInt32)(31) -const MATOP_DUPLICATE = (UInt32)(34) -const MATOP_FORWARD_SOLVE = (UInt32)(35) -const MATOP_BACKWARD_SOLVE = (UInt32)(36) -const MATOP_ILUFACTOR = (UInt32)(37) -const MATOP_ICCFACTOR = (UInt32)(38) -const MATOP_AXPY = (UInt32)(39) -const MATOP_GET_SUBMATRICES = (UInt32)(40) -const MATOP_INCREASE_OVERLAP = (UInt32)(41) -const MATOP_GET_VALUES = (UInt32)(42) -const MATOP_COPY = (UInt32)(43) -const MATOP_GET_ROW_MAX = (UInt32)(44) -const MATOP_SCALE = (UInt32)(45) -const MATOP_SHIFT = (UInt32)(46) -const MATOP_DIAGONAL_SET = (UInt32)(47) -const MATOP_ZERO_ROWS_COLUMNS = (UInt32)(48) -const MATOP_SET_RANDOM = (UInt32)(49) -const MATOP_GET_ROW_IJ = (UInt32)(50) -const MATOP_RESTORE_ROW_IJ = (UInt32)(51) -const MATOP_GET_COLUMN_IJ = (UInt32)(52) -const MATOP_RESTORE_COLUMN_IJ = (UInt32)(53) -const MATOP_FDCOLORING_CREATE = (UInt32)(54) -const MATOP_COLORING_PATCH = (UInt32)(55) -const MATOP_SET_UNFACTORED = (UInt32)(56) -const MATOP_PERMUTE = (UInt32)(57) -const MATOP_SET_VALUES_BLOCKED = (UInt32)(58) -const MATOP_GET_SUBMATRIX = (UInt32)(59) -const MATOP_DESTROY = (UInt32)(60) -const MATOP_VIEW = (UInt32)(61) -const MATOP_CONVERT_FROM = (UInt32)(62) -const MATOP_MATMAT_MULT = (UInt32)(63) -const MATOP_MATMAT_MULT_SYMBOLIC = (UInt32)(64) -const MATOP_MATMAT_MULT_NUMERIC = (UInt32)(65) -const MATOP_SET_LOCAL_TO_GLOBAL_MAP = (UInt32)(66) -const MATOP_SET_VALUES_LOCAL = (UInt32)(67) -const MATOP_ZERO_ROWS_LOCAL = (UInt32)(68) -const MATOP_GET_ROW_MAX_ABS = (UInt32)(69) -const MATOP_GET_ROW_MIN_ABS = (UInt32)(70) -const MATOP_CONVERT = (UInt32)(71) -const MATOP_SET_COLORING = (UInt32)(72) -const MATOP_SET_VALUES_ADIFOR = (UInt32)(74) -const MATOP_FD_COLORING_APPLY = (UInt32)(75) -const MATOP_SET_FROM_OPTIONS = (UInt32)(76) -const MATOP_MULT_CONSTRAINED = (UInt32)(77) -const MATOP_MULT_TRANSPOSE_CONSTRAIN = (UInt32)(78) -const MATOP_FIND_ZERO_DIAGONALS = (UInt32)(79) -const MATOP_MULT_MULTIPLE = (UInt32)(80) -const MATOP_SOLVE_MULTIPLE = (UInt32)(81) -const MATOP_GET_INERTIA = (UInt32)(82) -const MATOP_LOAD = (UInt32)(83) -const MATOP_IS_SYMMETRIC = (UInt32)(84) -const MATOP_IS_HERMITIAN = (UInt32)(85) -const MATOP_IS_STRUCTURALLY_SYMMETRIC = (UInt32)(86) -const MATOP_SET_VALUES_BLOCKEDLOCAL = (UInt32)(87) -const MATOP_GET_VECS = (UInt32)(88) -const MATOP_MAT_MULT = (UInt32)(89) -const MATOP_MAT_MULT_SYMBOLIC = (UInt32)(90) -const MATOP_MAT_MULT_NUMERIC = (UInt32)(91) -const MATOP_PTAP = (UInt32)(92) -const MATOP_PTAP_SYMBOLIC = (UInt32)(93) -const MATOP_PTAP_NUMERIC = (UInt32)(94) -const MATOP_MAT_TRANSPOSE_MULT = (UInt32)(95) -const MATOP_MAT_TRANSPOSE_MULT_SYMBO = (UInt32)(96) -const MATOP_MAT_TRANSPOSE_MULT_NUMER = (UInt32)(97) -const MATOP_CONJUGATE = (UInt32)(102) -const MATOP_SET_VALUES_ROW = (UInt32)(104) -const MATOP_REAL_PART = (UInt32)(105) -const MATOP_IMAGINARY_PART = (UInt32)(106) -const MATOP_GET_ROW_UPPER_TRIANGULAR = (UInt32)(107) -const MATOP_RESTORE_ROW_UPPER_TRIANG = (UInt32)(108) -const MATOP_MAT_SOLVE = (UInt32)(109) -const MATOP_GET_REDUNDANT_MATRIX = (UInt32)(110) -const MATOP_GET_ROW_MIN = (UInt32)(111) -const MATOP_GET_COLUMN_VECTOR = (UInt32)(112) -const MATOP_MISSING_DIAGONAL = (UInt32)(113) -const MATOP_GET_SEQ_NONZERO_STRUCTUR = (UInt32)(114) -const MATOP_CREATE = (UInt32)(115) -const MATOP_GET_GHOSTS = (UInt32)(116) -const MATOP_GET_LOCAL_SUB_MATRIX = (UInt32)(117) -const MATOP_RESTORE_LOCALSUB_MATRIX = (UInt32)(118) -const MATOP_MULT_DIAGONAL_BLOCK = (UInt32)(119) -const MATOP_HERMITIAN_TRANSPOSE = (UInt32)(120) -const MATOP_MULT_HERMITIAN_TRANSPOSE = (UInt32)(121) -const MATOP_MULT_HERMITIAN_TRANS_ADD = (UInt32)(122) -const MATOP_GET_MULTI_PROC_BLOCK = (UInt32)(123) -const MATOP_FIND_NONZERO_ROWS = (UInt32)(124) -const MATOP_GET_COLUMN_NORMS = (UInt32)(125) -const MATOP_INVERT_BLOCK_DIAGONAL = (UInt32)(126) -const MATOP_GET_SUB_MATRICES_PARALLE = (UInt32)(128) -const MATOP_SET_VALUES_BATCH = (UInt32)(129) -const MATOP_TRANSPOSE_MAT_MULT = (UInt32)(130) -const MATOP_TRANSPOSE_MAT_MULT_SYMBO = (UInt32)(131) -const MATOP_TRANSPOSE_MAT_MULT_NUMER = (UInt32)(132) -const MATOP_TRANSPOSE_COLORING_CREAT = (UInt32)(133) -const MATOP_TRANS_COLORING_APPLY_SPT = (UInt32)(134) -const MATOP_TRANS_COLORING_APPLY_DEN = (UInt32)(135) -const MATOP_RART = (UInt32)(136) -const MATOP_RART_SYMBOLIC = (UInt32)(137) -const MATOP_RART_NUMERIC = (UInt32)(138) -const MATOP_SET_BLOCK_SIZES = (UInt32)(139) -const MATOP_AYPX = (UInt32)(140) -const MATOP_RESIDUAL = (UInt32)(141) -const MATOP_FDCOLORING_SETUP = (UInt32)(142) -const MATOP_MPICONCATENATESEQ = (UInt32)(144) - -#= # end enum ANONYMOUS_42 =# -#= # begin enum MatOperation =# -typealias MatOperation UInt32 - -const MATOP_SET_VALUES = (UInt32)(0) -const MATOP_GET_ROW = (UInt32)(1) -const MATOP_RESTORE_ROW = (UInt32)(2) -const MATOP_MULT = (UInt32)(3) -const MATOP_MULT_ADD = (UInt32)(4) -const MATOP_MULT_TRANSPOSE = (UInt32)(5) -const MATOP_MULT_TRANSPOSE_ADD = (UInt32)(6) -const MATOP_SOLVE = (UInt32)(7) -const MATOP_SOLVE_ADD = (UInt32)(8) -const MATOP_SOLVE_TRANSPOSE = (UInt32)(9) -const MATOP_SOLVE_TRANSPOSE_ADD = (UInt32)(10) -const MATOP_LUFACTOR = (UInt32)(11) -const MATOP_CHOLESKYFACTOR = (UInt32)(12) -const MATOP_SOR = (UInt32)(13) -const MATOP_TRANSPOSE = (UInt32)(14) -const MATOP_GETINFO = (UInt32)(15) -const MATOP_EQUAL = (UInt32)(16) -const MATOP_GET_DIAGONAL = (UInt32)(17) -const MATOP_DIAGONAL_SCALE = (UInt32)(18) -const MATOP_NORM = (UInt32)(19) -const MATOP_ASSEMBLY_BEGIN = (UInt32)(20) -const MATOP_ASSEMBLY_END = (UInt32)(21) -const MATOP_SET_OPTION = (UInt32)(22) -const MATOP_ZERO_ENTRIES = (UInt32)(23) -const MATOP_ZERO_ROWS = (UInt32)(24) -const MATOP_LUFACTOR_SYMBOLIC = (UInt32)(25) -const MATOP_LUFACTOR_NUMERIC = (UInt32)(26) -const MATOP_CHOLESKY_FACTOR_SYMBOLIC = (UInt32)(27) -const MATOP_CHOLESKY_FACTOR_NUMERIC = (UInt32)(28) -const MATOP_SETUP_PREALLOCATION = (UInt32)(29) -const MATOP_ILUFACTOR_SYMBOLIC = (UInt32)(30) -const MATOP_ICCFACTOR_SYMBOLIC = (UInt32)(31) -const MATOP_DUPLICATE = (UInt32)(34) -const MATOP_FORWARD_SOLVE = (UInt32)(35) -const MATOP_BACKWARD_SOLVE = (UInt32)(36) -const MATOP_ILUFACTOR = (UInt32)(37) -const MATOP_ICCFACTOR = (UInt32)(38) -const MATOP_AXPY = (UInt32)(39) -const MATOP_GET_SUBMATRICES = (UInt32)(40) -const MATOP_INCREASE_OVERLAP = (UInt32)(41) -const MATOP_GET_VALUES = (UInt32)(42) -const MATOP_COPY = (UInt32)(43) -const MATOP_GET_ROW_MAX = (UInt32)(44) -const MATOP_SCALE = (UInt32)(45) -const MATOP_SHIFT = (UInt32)(46) -const MATOP_DIAGONAL_SET = (UInt32)(47) -const MATOP_ZERO_ROWS_COLUMNS = (UInt32)(48) -const MATOP_SET_RANDOM = (UInt32)(49) -const MATOP_GET_ROW_IJ = (UInt32)(50) -const MATOP_RESTORE_ROW_IJ = (UInt32)(51) -const MATOP_GET_COLUMN_IJ = (UInt32)(52) -const MATOP_RESTORE_COLUMN_IJ = (UInt32)(53) -const MATOP_FDCOLORING_CREATE = (UInt32)(54) -const MATOP_COLORING_PATCH = (UInt32)(55) -const MATOP_SET_UNFACTORED = (UInt32)(56) -const MATOP_PERMUTE = (UInt32)(57) -const MATOP_SET_VALUES_BLOCKED = (UInt32)(58) -const MATOP_GET_SUBMATRIX = (UInt32)(59) -const MATOP_DESTROY = (UInt32)(60) -const MATOP_VIEW = (UInt32)(61) -const MATOP_CONVERT_FROM = (UInt32)(62) -const MATOP_MATMAT_MULT = (UInt32)(63) -const MATOP_MATMAT_MULT_SYMBOLIC = (UInt32)(64) -const MATOP_MATMAT_MULT_NUMERIC = (UInt32)(65) -const MATOP_SET_LOCAL_TO_GLOBAL_MAP = (UInt32)(66) -const MATOP_SET_VALUES_LOCAL = (UInt32)(67) -const MATOP_ZERO_ROWS_LOCAL = (UInt32)(68) -const MATOP_GET_ROW_MAX_ABS = (UInt32)(69) -const MATOP_GET_ROW_MIN_ABS = (UInt32)(70) -const MATOP_CONVERT = (UInt32)(71) -const MATOP_SET_COLORING = (UInt32)(72) -const MATOP_SET_VALUES_ADIFOR = (UInt32)(74) -const MATOP_FD_COLORING_APPLY = (UInt32)(75) -const MATOP_SET_FROM_OPTIONS = (UInt32)(76) -const MATOP_MULT_CONSTRAINED = (UInt32)(77) -const MATOP_MULT_TRANSPOSE_CONSTRAIN = (UInt32)(78) -const MATOP_FIND_ZERO_DIAGONALS = (UInt32)(79) -const MATOP_MULT_MULTIPLE = (UInt32)(80) -const MATOP_SOLVE_MULTIPLE = (UInt32)(81) -const MATOP_GET_INERTIA = (UInt32)(82) -const MATOP_LOAD = (UInt32)(83) -const MATOP_IS_SYMMETRIC = (UInt32)(84) -const MATOP_IS_HERMITIAN = (UInt32)(85) -const MATOP_IS_STRUCTURALLY_SYMMETRIC = (UInt32)(86) -const MATOP_SET_VALUES_BLOCKEDLOCAL = (UInt32)(87) -const MATOP_GET_VECS = (UInt32)(88) -const MATOP_MAT_MULT = (UInt32)(89) -const MATOP_MAT_MULT_SYMBOLIC = (UInt32)(90) -const MATOP_MAT_MULT_NUMERIC = (UInt32)(91) -const MATOP_PTAP = (UInt32)(92) -const MATOP_PTAP_SYMBOLIC = (UInt32)(93) -const MATOP_PTAP_NUMERIC = (UInt32)(94) -const MATOP_MAT_TRANSPOSE_MULT = (UInt32)(95) -const MATOP_MAT_TRANSPOSE_MULT_SYMBO = (UInt32)(96) -const MATOP_MAT_TRANSPOSE_MULT_NUMER = (UInt32)(97) -const MATOP_CONJUGATE = (UInt32)(102) -const MATOP_SET_VALUES_ROW = (UInt32)(104) -const MATOP_REAL_PART = (UInt32)(105) -const MATOP_IMAGINARY_PART = (UInt32)(106) -const MATOP_GET_ROW_UPPER_TRIANGULAR = (UInt32)(107) -const MATOP_RESTORE_ROW_UPPER_TRIANG = (UInt32)(108) -const MATOP_MAT_SOLVE = (UInt32)(109) -const MATOP_GET_REDUNDANT_MATRIX = (UInt32)(110) -const MATOP_GET_ROW_MIN = (UInt32)(111) -const MATOP_GET_COLUMN_VECTOR = (UInt32)(112) -const MATOP_MISSING_DIAGONAL = (UInt32)(113) -const MATOP_GET_SEQ_NONZERO_STRUCTUR = (UInt32)(114) -const MATOP_CREATE = (UInt32)(115) -const MATOP_GET_GHOSTS = (UInt32)(116) -const MATOP_GET_LOCAL_SUB_MATRIX = (UInt32)(117) -const MATOP_RESTORE_LOCALSUB_MATRIX = (UInt32)(118) -const MATOP_MULT_DIAGONAL_BLOCK = (UInt32)(119) -const MATOP_HERMITIAN_TRANSPOSE = (UInt32)(120) -const MATOP_MULT_HERMITIAN_TRANSPOSE = (UInt32)(121) -const MATOP_MULT_HERMITIAN_TRANS_ADD = (UInt32)(122) -const MATOP_GET_MULTI_PROC_BLOCK = (UInt32)(123) -const MATOP_FIND_NONZERO_ROWS = (UInt32)(124) -const MATOP_GET_COLUMN_NORMS = (UInt32)(125) -const MATOP_INVERT_BLOCK_DIAGONAL = (UInt32)(126) -const MATOP_GET_SUB_MATRICES_PARALLE = (UInt32)(128) -const MATOP_SET_VALUES_BATCH = (UInt32)(129) -const MATOP_TRANSPOSE_MAT_MULT = (UInt32)(130) -const MATOP_TRANSPOSE_MAT_MULT_SYMBO = (UInt32)(131) -const MATOP_TRANSPOSE_MAT_MULT_NUMER = (UInt32)(132) -const MATOP_TRANSPOSE_COLORING_CREAT = (UInt32)(133) -const MATOP_TRANS_COLORING_APPLY_SPT = (UInt32)(134) -const MATOP_TRANS_COLORING_APPLY_DEN = (UInt32)(135) -const MATOP_RART = (UInt32)(136) -const MATOP_RART_SYMBOLIC = (UInt32)(137) -const MATOP_RART_NUMERIC = (UInt32)(138) -const MATOP_SET_BLOCK_SIZES = (UInt32)(139) -const MATOP_AYPX = (UInt32)(140) -const MATOP_RESIDUAL = (UInt32)(141) -const MATOP_FDCOLORING_SETUP = (UInt32)(142) -const MATOP_MPICONCATENATESEQ = (UInt32)(144) - -#= # end enum MatOperation =# -immutable _p_MatNullSpace -end - -typealias MatNullSpace Ptr{_p_MatNullSpace} - -immutable _p_MatMFFD -end - -typealias MatMFFD Ptr{_p_MatMFFD} -typealias MatMFFDType Symbol - -immutable _p_DM -end - -typealias DM Ptr{_p_DM} - -#= # begin enum ANONYMOUS_43 =# -typealias ANONYMOUS_43 UInt32 - -const DM_BOUNDARY_NONE = (UInt32)(0) -const DM_BOUNDARY_GHOSTED = (UInt32)(1) -const DM_BOUNDARY_MIRROR = (UInt32)(2) -const DM_BOUNDARY_PERIODIC = (UInt32)(3) -const DM_BOUNDARY_TWIST = (UInt32)(4) - -#= # end enum ANONYMOUS_43 =# -#= # begin enum DMBoundaryType =# -typealias DMBoundaryType UInt32 - -const DM_BOUNDARY_NONE = (UInt32)(0) -const DM_BOUNDARY_GHOSTED = (UInt32)(1) -const DM_BOUNDARY_MIRROR = (UInt32)(2) -const DM_BOUNDARY_PERIODIC = (UInt32)(3) -const DM_BOUNDARY_TWIST = (UInt32)(4) - -#= # end enum DMBoundaryType =# -immutable _p_PetscPartitioner -end - -typealias PetscPartitioner Ptr{_p_PetscPartitioner} - -immutable _p_PetscSpace -end - -typealias PetscSpace Ptr{_p_PetscSpace} - -immutable _p_PetscDualSpace -end - -typealias PetscDualSpace Ptr{_p_PetscDualSpace} - -immutable _p_PetscFE -end - -typealias PetscFE Ptr{_p_PetscFE} - -immutable _p_PetscDS -end - -typealias PetscDS Ptr{_p_PetscDS} -typealias DMType Symbol - -immutable NLF_DAAD -end - -typealias NLF Ptr{NLF_DAAD} - -#= # begin enum ANONYMOUS_44 =# -typealias ANONYMOUS_44 UInt32 - -const PETSC_UNIT_LENGTH = (UInt32)(0) -const PETSC_UNIT_MASS = (UInt32)(1) -const PETSC_UNIT_TIME = (UInt32)(2) -const PETSC_UNIT_CURRENT = (UInt32)(3) -const PETSC_UNIT_TEMPERATURE = (UInt32)(4) -const PETSC_UNIT_AMOUNT = (UInt32)(5) -const PETSC_UNIT_LUMINOSITY = (UInt32)(6) -const NUM_PETSC_UNITS = (UInt32)(7) - -#= # end enum ANONYMOUS_44 =# -#= # begin enum PetscUnit =# -typealias PetscUnit UInt32 - -const PETSC_UNIT_LENGTH = (UInt32)(0) -const PETSC_UNIT_MASS = (UInt32)(1) -const PETSC_UNIT_TIME = (UInt32)(2) -const PETSC_UNIT_CURRENT = (UInt32)(3) -const PETSC_UNIT_TEMPERATURE = (UInt32)(4) -const PETSC_UNIT_AMOUNT = (UInt32)(5) -const PETSC_UNIT_LUMINOSITY = (UInt32)(6) -const NUM_PETSC_UNITS = (UInt32)(7) - -#= # end enum PetscUnit =# -#= skipping type declaration with undefined symbols: -immutable _DMInterpolationInfo - comm::MPI_Comm - dim::PetscInt - nInput::PetscInt - points::Ptr{PetscReal} - cells::Ptr{PetscInt} - n::PetscInt - coords::Vec - dof::PetscInt -end -=# -# skipping undefined typealias typealias DMInterpolationInfo Ptr{_DMInterpolationInfo} -#= # begin enum ANONYMOUS_45 =# -typealias ANONYMOUS_45 UInt32 - -const DMDA_STENCIL_STAR = (UInt32)(0) -const DMDA_STENCIL_BOX = (UInt32)(1) - -#= # end enum ANONYMOUS_45 =# -#= # begin enum DMDAStencilType =# -typealias DMDAStencilType UInt32 - -const DMDA_STENCIL_STAR = (UInt32)(0) -const DMDA_STENCIL_BOX = (UInt32)(1) - -#= # end enum DMDAStencilType =# -#= # begin enum ANONYMOUS_46 =# -typealias ANONYMOUS_46 UInt32 - -const DMDA_Q0 = (UInt32)(0) -const DMDA_Q1 = (UInt32)(1) - -#= # end enum ANONYMOUS_46 =# -#= # begin enum DMDAInterpolationType =# -typealias DMDAInterpolationType UInt32 - -const DMDA_Q0 = (UInt32)(0) -const DMDA_Q1 = (UInt32)(1) - -#= # end enum DMDAInterpolationType =# -#= # begin enum ANONYMOUS_47 =# -typealias ANONYMOUS_47 UInt32 - -const DMDA_ELEMENT_P1 = (UInt32)(0) -const DMDA_ELEMENT_Q1 = (UInt32)(1) - -#= # end enum ANONYMOUS_47 =# -#= # begin enum DMDAElementType =# -typealias DMDAElementType UInt32 - -const DMDA_ELEMENT_P1 = (UInt32)(0) -const DMDA_ELEMENT_Q1 = (UInt32)(1) - -#= # end enum DMDAElementType =# -#= skipping type declaration with undefined symbols: -immutable DMDALocalInfo - dim::PetscInt - dof::PetscInt - sw::PetscInt - mx::PetscInt - my::PetscInt - mz::PetscInt - xs::PetscInt - ys::PetscInt - zs::PetscInt - xm::PetscInt - ym::PetscInt - zm::PetscInt - gxs::PetscInt - gys::PetscInt - gzs::PetscInt - gxm::PetscInt - gym::PetscInt - gzm::PetscInt - bx::DMBoundaryType - by::DMBoundaryType - bz::DMBoundaryType - st::DMDAStencilType - da::DM -end -=# -typealias PFType Symbol - -immutable _p_PF -end - -typealias PF Ptr{_p_PF} - -immutable _p_AO -end - -immutable AO{T} - pobj::Ptr{Void} -end - -typealias AOType Symbol - -immutable _p_PetscQuadrature -end - -typealias PetscQuadrature Ptr{_p_PetscQuadrature} - -#= skipping type declaration with undefined symbols: -immutable Array_3_PetscReal - d1::PetscReal - d2::PetscReal - d3::PetscReal -end -=# -#= skipping undefined expression zero(::Type{Array_3_PetscReal}) = begin # /home/jared/.julia/v0.4/Clang/src/wrap_c.jl, line 266: - Array_3_PetscReal(fill(zero(Float32),3)...) - end =# -#= skipping type declaration with undefined symbols: -immutable Array_9_PetscReal - d1::PetscReal - d2::PetscReal - d3::PetscReal - d4::PetscReal - d5::PetscReal - d6::PetscReal - d7::PetscReal - d8::PetscReal - d9::PetscReal -end -=# -#= skipping undefined expression zero(::Type{Array_9_PetscReal}) = begin # /home/jared/.julia/v0.4/Clang/src/wrap_c.jl, line 266: - Array_9_PetscReal(fill(zero(Float32),9)...) - end =# -#= skipping type declaration with undefined symbols: -immutable PetscFECellGeom - v0::Array_3_PetscReal - J::Array_9_PetscReal - invJ::Array_9_PetscReal - detJ::PetscReal - n::Array_3_PetscReal - dim::PetscInt - dimEmbed::PetscInt -end -=# -typealias PetscSpaceType Symbol -typealias PetscDualSpaceType Symbol -typealias PetscFEType Symbol - -#= # begin enum ANONYMOUS_48 =# -typealias ANONYMOUS_48 UInt32 - -const DMDA_X = (UInt32)(0) -const DMDA_Y = (UInt32)(1) -const DMDA_Z = (UInt32)(2) - -#= # end enum ANONYMOUS_48 =# -#= # begin enum DMDADirection =# -typealias DMDADirection UInt32 - -const DMDA_X = (UInt32)(0) -const DMDA_Y = (UInt32)(1) -const DMDA_Z = (UInt32)(2) - -#= # end enum DMDADirection =# -#= skipping type declaration with undefined symbols: -immutable DMDACoor2d - x::PetscScalar - y::PetscScalar -end -=# -#= skipping type declaration with undefined symbols: -immutable DMDACoor3d - x::PetscScalar - y::PetscScalar - z::PetscScalar -end -=# -immutable _p_PetscLimiter -end - -typealias PetscLimiter Ptr{_p_PetscLimiter} - -immutable _p_PetscFV -end - -typealias PetscFV Ptr{_p_PetscFV} - -#= skipping type declaration with undefined symbols: -immutable Array_3_PetscScalar - d1::PetscScalar - d2::PetscScalar - d3::PetscScalar -end -=# -#= skipping undefined expression zero(::Type{Array_3_PetscScalar}) = begin # /home/jared/.julia/v0.4/Clang/src/wrap_c.jl, line 266: - Array_3_PetscScalar(fill(zero(Float32),3)...) - end =# -#= skipping type declaration with undefined symbols: -immutable Array_2_Array_3_PetscScalar - d1::Array_3_PetscScalar - d2::Array_3_PetscScalar -end -=# -#= skipping undefined expression zero(::Type{Array_2_Array_3_PetscScalar}) = begin # /home/jared/.julia/v0.4/Clang/src/wrap_c.jl, line 266: - Array_2_Array_3_PetscScalar(fill(zero(Array_3_PetscScalar),2)...) - end =# -#= skipping type declaration with undefined symbols: -immutable PetscFVFaceGeom - normal::Array_3_PetscReal - centroid::Array_3_PetscReal - grad::Array_2_Array_3_PetscScalar -end -=# -#= skipping type declaration with undefined symbols: -immutable PetscFVCellGeom - centroid::Array_3_PetscReal - volume::PetscReal -end -=# -typealias PetscLimiterType Symbol -typealias PetscFVType Symbol -typealias PetscPartitionerType Symbol - -immutable _n_DMLabel -end - -typealias DMLabel Ptr{_n_DMLabel} - -immutable _n_Boundary -end - -typealias DMBoundary Ptr{_n_Boundary} - -immutable JacActionCtx - dm::DM - u::Vec - J::Mat - user::Ptr{Void} -end - -typealias PetscDSType Symbol -typealias PetscPointFunc Ptr{Void} -typealias PetscPointJac Ptr{Void} -typealias PetscBdPointFunc Ptr{Void} -typealias PetscBdPointJac Ptr{Void} -typealias PetscRiemannFunc Ptr{Void} - -immutable _p_Characteristic -end - -typealias Characteristic Ptr{_p_Characteristic} -typealias CharacteristicType Symbol - -immutable _p_PC -end - -immutable PC{T} - pobj::Ptr{Void} -end - -typealias PCType Symbol - -#= # begin enum ANONYMOUS_49 =# -typealias ANONYMOUS_49 Cint - -const PC_SIDE_DEFAULT = (Int32)(-1) -const PC_LEFT = (Int32)(0) -const PC_RIGHT = (Int32)(1) -const PC_SYMMETRIC = (Int32)(2) - -#= # end enum ANONYMOUS_49 =# -#= # begin enum ANONYMOUS_50 =# -typealias ANONYMOUS_50 Cint - -const PCRICHARDSON_CONVERGED_RTOL = (Int32)(2) -const PCRICHARDSON_CONVERGED_ATOL = (Int32)(3) -const PCRICHARDSON_CONVERGED_ITS = (Int32)(4) -const PCRICHARDSON_DIVERGED_DTOL = (Int32)(-4) - -#= # end enum ANONYMOUS_50 =# -#= # begin enum PCRichardsonConvergedReason =# -typealias PCRichardsonConvergedReason Cint - -const PCRICHARDSON_CONVERGED_RTOL = (Int32)(2) -const PCRICHARDSON_CONVERGED_ATOL = (Int32)(3) -const PCRICHARDSON_CONVERGED_ITS = (Int32)(4) -const PCRICHARDSON_DIVERGED_DTOL = (Int32)(-4) - -#= # end enum PCRichardsonConvergedReason =# -#= # begin enum ANONYMOUS_51 =# -typealias ANONYMOUS_51 UInt32 - -const PC_JACOBI_DIAGONAL = (UInt32)(0) -const PC_JACOBI_ROWMAX = (UInt32)(1) -const PC_JACOBI_ROWSUM = (UInt32)(2) - -#= # end enum ANONYMOUS_51 =# -#= # begin enum PCJacobiType =# -typealias PCJacobiType UInt32 - -const PC_JACOBI_DIAGONAL = (UInt32)(0) -const PC_JACOBI_ROWMAX = (UInt32)(1) -const PC_JACOBI_ROWSUM = (UInt32)(2) - -#= # end enum PCJacobiType =# -#= # begin enum ANONYMOUS_52 =# -typealias ANONYMOUS_52 UInt32 - -const PC_ASM_BASIC = (UInt32)(3) -const PC_ASM_RESTRICT = (UInt32)(1) -const PC_ASM_INTERPOLATE = (UInt32)(2) -const PC_ASM_NONE = (UInt32)(0) - -#= # end enum ANONYMOUS_52 =# -#= # begin enum PCASMType =# -typealias PCASMType UInt32 - -const PC_ASM_BASIC = (UInt32)(3) -const PC_ASM_RESTRICT = (UInt32)(1) -const PC_ASM_INTERPOLATE = (UInt32)(2) -const PC_ASM_NONE = (UInt32)(0) - -#= # end enum PCASMType =# -#= # begin enum ANONYMOUS_53 =# -typealias ANONYMOUS_53 UInt32 - -const PC_GASM_BASIC = (UInt32)(3) -const PC_GASM_RESTRICT = (UInt32)(1) -const PC_GASM_INTERPOLATE = (UInt32)(2) -const PC_GASM_NONE = (UInt32)(0) - -#= # end enum ANONYMOUS_53 =# -#= # begin enum PCGASMType =# -typealias PCGASMType UInt32 - -const PC_GASM_BASIC = (UInt32)(3) -const PC_GASM_RESTRICT = (UInt32)(1) -const PC_GASM_INTERPOLATE = (UInt32)(2) -const PC_GASM_NONE = (UInt32)(0) - -#= # end enum PCGASMType =# -#= # begin enum ANONYMOUS_54 =# -typealias ANONYMOUS_54 UInt32 - -const PC_COMPOSITE_ADDITIVE = (UInt32)(0) -const PC_COMPOSITE_MULTIPLICATIVE = (UInt32)(1) -const PC_COMPOSITE_SYMMETRIC_MULTIPLICATIVE = (UInt32)(2) -const PC_COMPOSITE_SPECIAL = (UInt32)(3) -const PC_COMPOSITE_SCHUR = (UInt32)(4) - -#= # end enum ANONYMOUS_54 =# -#= # begin enum PCCompositeType =# -typealias PCCompositeType UInt32 - -const PC_COMPOSITE_ADDITIVE = (UInt32)(0) -const PC_COMPOSITE_MULTIPLICATIVE = (UInt32)(1) -const PC_COMPOSITE_SYMMETRIC_MULTIPLICATIVE = (UInt32)(2) -const PC_COMPOSITE_SPECIAL = (UInt32)(3) -const PC_COMPOSITE_SCHUR = (UInt32)(4) - -#= # end enum PCCompositeType =# -#= # begin enum ANONYMOUS_55 =# -typealias ANONYMOUS_55 UInt32 - -const PC_FIELDSPLIT_SCHUR_PRE_SELF = (UInt32)(0) -const PC_FIELDSPLIT_SCHUR_PRE_SELFP = (UInt32)(1) -const PC_FIELDSPLIT_SCHUR_PRE_A11 = (UInt32)(2) -const PC_FIELDSPLIT_SCHUR_PRE_USER = (UInt32)(3) -const PC_FIELDSPLIT_SCHUR_PRE_FULL = (UInt32)(4) - -#= # end enum ANONYMOUS_55 =# -#= # begin enum PCFieldSplitSchurPreType =# -typealias PCFieldSplitSchurPreType UInt32 - -const PC_FIELDSPLIT_SCHUR_PRE_SELF = (UInt32)(0) -const PC_FIELDSPLIT_SCHUR_PRE_SELFP = (UInt32)(1) -const PC_FIELDSPLIT_SCHUR_PRE_A11 = (UInt32)(2) -const PC_FIELDSPLIT_SCHUR_PRE_USER = (UInt32)(3) -const PC_FIELDSPLIT_SCHUR_PRE_FULL = (UInt32)(4) - -#= # end enum PCFieldSplitSchurPreType =# -#= # begin enum ANONYMOUS_56 =# -typealias ANONYMOUS_56 UInt32 - -const PC_FIELDSPLIT_SCHUR_FACT_DIAG = (UInt32)(0) -const PC_FIELDSPLIT_SCHUR_FACT_LOWER = (UInt32)(1) -const PC_FIELDSPLIT_SCHUR_FACT_UPPER = (UInt32)(2) -const PC_FIELDSPLIT_SCHUR_FACT_FULL = (UInt32)(3) - -#= # end enum ANONYMOUS_56 =# -#= # begin enum PCFieldSplitSchurFactType =# -typealias PCFieldSplitSchurFactType UInt32 - -const PC_FIELDSPLIT_SCHUR_FACT_DIAG = (UInt32)(0) -const PC_FIELDSPLIT_SCHUR_FACT_LOWER = (UInt32)(1) -const PC_FIELDSPLIT_SCHUR_FACT_UPPER = (UInt32)(2) -const PC_FIELDSPLIT_SCHUR_FACT_FULL = (UInt32)(3) - -#= # end enum PCFieldSplitSchurFactType =# -#= # begin enum ANONYMOUS_57 =# -typealias ANONYMOUS_57 UInt32 - -const PC_PARMS_GLOBAL_RAS = (UInt32)(0) -const PC_PARMS_GLOBAL_SCHUR = (UInt32)(1) -const PC_PARMS_GLOBAL_BJ = (UInt32)(2) - -#= # end enum ANONYMOUS_57 =# -#= # begin enum PCPARMSGlobalType =# -typealias PCPARMSGlobalType UInt32 - -const PC_PARMS_GLOBAL_RAS = (UInt32)(0) -const PC_PARMS_GLOBAL_SCHUR = (UInt32)(1) -const PC_PARMS_GLOBAL_BJ = (UInt32)(2) - -#= # end enum PCPARMSGlobalType =# -#= # begin enum ANONYMOUS_58 =# -typealias ANONYMOUS_58 UInt32 - -const PC_PARMS_LOCAL_ILU0 = (UInt32)(0) -const PC_PARMS_LOCAL_ILUK = (UInt32)(1) -const PC_PARMS_LOCAL_ILUT = (UInt32)(2) -const PC_PARMS_LOCAL_ARMS = (UInt32)(3) - -#= # end enum ANONYMOUS_58 =# -#= # begin enum PCPARMSLocalType =# -typealias PCPARMSLocalType UInt32 - -const PC_PARMS_LOCAL_ILU0 = (UInt32)(0) -const PC_PARMS_LOCAL_ILUK = (UInt32)(1) -const PC_PARMS_LOCAL_ILUT = (UInt32)(2) -const PC_PARMS_LOCAL_ARMS = (UInt32)(3) - -#= # end enum PCPARMSLocalType =# -typealias PCGAMGType Symbol -typealias PCGAMGClassicalType Symbol - -#= # begin enum ANONYMOUS_59 =# -typealias ANONYMOUS_59 UInt32 - -const PC_MG_MULTIPLICATIVE = (UInt32)(0) -const PC_MG_ADDITIVE = (UInt32)(1) -const PC_MG_FULL = (UInt32)(2) -const PC_MG_KASKADE = (UInt32)(3) - -#= # end enum ANONYMOUS_59 =# -#= # begin enum ANONYMOUS_60 =# -typealias ANONYMOUS_60 UInt32 - -const PC_MG_CYCLE_V = (UInt32)(1) -const PC_MG_CYCLE_W = (UInt32)(2) - -#= # end enum ANONYMOUS_60 =# -#= # begin enum PCMGCycleType =# -typealias PCMGCycleType UInt32 - -const PC_MG_CYCLE_V = (UInt32)(1) -const PC_MG_CYCLE_W = (UInt32)(2) - -#= # end enum PCMGCycleType =# -#= # begin enum ANONYMOUS_61 =# -typealias ANONYMOUS_61 UInt32 - -const PC_EXOTIC_FACE = (UInt32)(0) -const PC_EXOTIC_WIREBASKET = (UInt32)(1) - -#= # end enum ANONYMOUS_61 =# -#= # begin enum PCExoticType =# -typealias PCExoticType UInt32 - -const PC_EXOTIC_FACE = (UInt32)(0) -const PC_EXOTIC_WIREBASKET = (UInt32)(1) - -#= # end enum PCExoticType =# -immutable _p_KSP -end - -immutable KSP{T} - pobj::Ptr{Void} -end - -typealias KSPType Symbol - -#= # begin enum ANONYMOUS_62 =# -typealias ANONYMOUS_62 UInt32 - -const KSP_FCG_TRUNC_TYPE_STANDARD = (UInt32)(0) -const KSP_FCG_TRUNC_TYPE_NOTAY = (UInt32)(1) - -#= # end enum ANONYMOUS_62 =# -#= # begin enum KSPFCGTruncationType =# -typealias KSPFCGTruncationType UInt32 - -const KSP_FCG_TRUNC_TYPE_STANDARD = (UInt32)(0) -const KSP_FCG_TRUNC_TYPE_NOTAY = (UInt32)(1) - -#= # end enum KSPFCGTruncationType =# -#= # begin enum ANONYMOUS_63 =# -typealias ANONYMOUS_63 UInt32 - -const KSP_GMRES_CGS_REFINE_NEVER = (UInt32)(0) -const KSP_GMRES_CGS_REFINE_IFNEEDED = (UInt32)(1) -const KSP_GMRES_CGS_REFINE_ALWAYS = (UInt32)(2) - -#= # end enum ANONYMOUS_63 =# -#= # begin enum KSPGMRESCGSRefinementType =# -typealias KSPGMRESCGSRefinementType UInt32 - -const KSP_GMRES_CGS_REFINE_NEVER = (UInt32)(0) -const KSP_GMRES_CGS_REFINE_IFNEEDED = (UInt32)(1) -const KSP_GMRES_CGS_REFINE_ALWAYS = (UInt32)(2) - -#= # end enum KSPGMRESCGSRefinementType =# -#= # begin enum ANONYMOUS_64 =# -typealias ANONYMOUS_64 Cint - -const KSP_NORM_DEFAULT = (Int32)(-1) -const KSP_NORM_NONE = (Int32)(0) -const KSP_NORM_PRECONDITIONED = (Int32)(1) -const KSP_NORM_UNPRECONDITIONED = (Int32)(2) -const KSP_NORM_NATURAL = (Int32)(3) - -#= # end enum ANONYMOUS_64 =# -#= # begin enum ANONYMOUS_65 =# -typealias ANONYMOUS_65 Cint - -const KSP_CONVERGED_RTOL_NORMAL = (Int32)(1) -const KSP_CONVERGED_ATOL_NORMAL = (Int32)(9) -const KSP_CONVERGED_RTOL = (Int32)(2) -const KSP_CONVERGED_ATOL = (Int32)(3) -const KSP_CONVERGED_ITS = (Int32)(4) -const KSP_CONVERGED_CG_NEG_CURVE = (Int32)(5) -const KSP_CONVERGED_CG_CONSTRAINED = (Int32)(6) -const KSP_CONVERGED_STEP_LENGTH = (Int32)(7) -const KSP_CONVERGED_HAPPY_BREAKDOWN = (Int32)(8) -const KSP_DIVERGED_NULL = (Int32)(-2) -const KSP_DIVERGED_ITS = (Int32)(-3) -const KSP_DIVERGED_DTOL = (Int32)(-4) -const KSP_DIVERGED_BREAKDOWN = (Int32)(-5) -const KSP_DIVERGED_BREAKDOWN_BICG = (Int32)(-6) -const KSP_DIVERGED_NONSYMMETRIC = (Int32)(-7) -const KSP_DIVERGED_INDEFINITE_PC = (Int32)(-8) -const KSP_DIVERGED_NANORINF = (Int32)(-9) -const KSP_DIVERGED_INDEFINITE_MAT = (Int32)(-10) -const KSP_DIVERGED_PCSETUP_FAILED = (Int32)(-11) -const KSP_CONVERGED_ITERATING = (Int32)(0) - -#= # end enum ANONYMOUS_65 =# -#= # begin enum KSPConvergedReason =# -typealias KSPConvergedReason Cint - -const KSP_CONVERGED_RTOL_NORMAL = (Int32)(1) -const KSP_CONVERGED_ATOL_NORMAL = (Int32)(9) -const KSP_CONVERGED_RTOL = (Int32)(2) -const KSP_CONVERGED_ATOL = (Int32)(3) -const KSP_CONVERGED_ITS = (Int32)(4) -const KSP_CONVERGED_CG_NEG_CURVE = (Int32)(5) -const KSP_CONVERGED_CG_CONSTRAINED = (Int32)(6) -const KSP_CONVERGED_STEP_LENGTH = (Int32)(7) -const KSP_CONVERGED_HAPPY_BREAKDOWN = (Int32)(8) -const KSP_DIVERGED_NULL = (Int32)(-2) -const KSP_DIVERGED_ITS = (Int32)(-3) -const KSP_DIVERGED_DTOL = (Int32)(-4) -const KSP_DIVERGED_BREAKDOWN = (Int32)(-5) -const KSP_DIVERGED_BREAKDOWN_BICG = (Int32)(-6) -const KSP_DIVERGED_NONSYMMETRIC = (Int32)(-7) -const KSP_DIVERGED_INDEFINITE_PC = (Int32)(-8) -const KSP_DIVERGED_NANORINF = (Int32)(-9) -const KSP_DIVERGED_INDEFINITE_MAT = (Int32)(-10) -const KSP_DIVERGED_PCSETUP_FAILED = (Int32)(-11) -const KSP_CONVERGED_ITERATING = (Int32)(0) - -#= # end enum KSPConvergedReason =# -#= # begin enum ANONYMOUS_66 =# -typealias ANONYMOUS_66 UInt32 - -const KSP_CG_SYMMETRIC = (UInt32)(0) -const KSP_CG_HERMITIAN = (UInt32)(1) - -#= # end enum ANONYMOUS_66 =# -#= # begin enum KSPCGType =# -typealias KSPCGType UInt32 - -const KSP_CG_SYMMETRIC = (UInt32)(0) -const KSP_CG_HERMITIAN = (UInt32)(1) - -#= # end enum KSPCGType =# -#= skipping type declaration with undefined symbols: -immutable _p_KSPFischerGuess - method::PetscInt - curl::PetscInt - maxl::PetscInt - refcnt::PetscInt - monitor::PetscBool - mat::Mat - ksp::KSP -end -=# -# skipping undefined typealias typealias KSPFischerGuess Ptr{_p_KSPFischerGuess} -#= # begin enum ANONYMOUS_67 =# -typealias ANONYMOUS_67 UInt32 - -const MAT_SCHUR_COMPLEMENT_AINV_DIAG = (UInt32)(0) -const MAT_SCHUR_COMPLEMENT_AINV_LUMP = (UInt32)(1) - -#= # end enum ANONYMOUS_67 =# -#= # begin enum MatSchurComplementAinvType =# -typealias MatSchurComplementAinvType UInt32 - -const MAT_SCHUR_COMPLEMENT_AINV_DIAG = (UInt32)(0) -const MAT_SCHUR_COMPLEMENT_AINV_LUMP = (UInt32)(1) - -#= # end enum MatSchurComplementAinvType =# -immutable _p_SNES -end - -typealias SNES Ptr{_p_SNES} -typealias SNESType Symbol - -#= # begin enum ANONYMOUS_68 =# -typealias ANONYMOUS_68 Cint - -const SNES_CONVERGED_FNORM_ABS = (Int32)(2) -const SNES_CONVERGED_FNORM_RELATIVE = (Int32)(3) -const SNES_CONVERGED_SNORM_RELATIVE = (Int32)(4) -const SNES_CONVERGED_ITS = (Int32)(5) -const SNES_CONVERGED_TR_DELTA = (Int32)(7) -const SNES_DIVERGED_FUNCTION_DOMAIN = (Int32)(-1) -const SNES_DIVERGED_FUNCTION_COUNT = (Int32)(-2) -const SNES_DIVERGED_LINEAR_SOLVE = (Int32)(-3) -const SNES_DIVERGED_FNORM_NAN = (Int32)(-4) -const SNES_DIVERGED_MAX_IT = (Int32)(-5) -const SNES_DIVERGED_LINE_SEARCH = (Int32)(-6) -const SNES_DIVERGED_INNER = (Int32)(-7) -const SNES_DIVERGED_LOCAL_MIN = (Int32)(-8) -const SNES_CONVERGED_ITERATING = (Int32)(0) - -#= # end enum ANONYMOUS_68 =# -#= # begin enum SNESConvergedReason =# -typealias SNESConvergedReason Cint - -const SNES_CONVERGED_FNORM_ABS = (Int32)(2) -const SNES_CONVERGED_FNORM_RELATIVE = (Int32)(3) -const SNES_CONVERGED_SNORM_RELATIVE = (Int32)(4) -const SNES_CONVERGED_ITS = (Int32)(5) -const SNES_CONVERGED_TR_DELTA = (Int32)(7) -const SNES_DIVERGED_FUNCTION_DOMAIN = (Int32)(-1) -const SNES_DIVERGED_FUNCTION_COUNT = (Int32)(-2) -const SNES_DIVERGED_LINEAR_SOLVE = (Int32)(-3) -const SNES_DIVERGED_FNORM_NAN = (Int32)(-4) -const SNES_DIVERGED_MAX_IT = (Int32)(-5) -const SNES_DIVERGED_LINE_SEARCH = (Int32)(-6) -const SNES_DIVERGED_INNER = (Int32)(-7) -const SNES_DIVERGED_LOCAL_MIN = (Int32)(-8) -const SNES_CONVERGED_ITERATING = (Int32)(0) - -#= # end enum SNESConvergedReason =# -#= # begin enum ANONYMOUS_69 =# -typealias ANONYMOUS_69 Cint - -const SNES_NORM_DEFAULT = (Int32)(-1) -const SNES_NORM_NONE = (Int32)(0) -const SNES_NORM_ALWAYS = (Int32)(1) -const SNES_NORM_INITIAL_ONLY = (Int32)(2) -const SNES_NORM_FINAL_ONLY = (Int32)(3) -const SNES_NORM_INITIAL_FINAL_ONLY = (Int32)(4) - -#= # end enum ANONYMOUS_69 =# -#= # begin enum SNESNormSchedule =# -typealias SNESNormSchedule Cint - -const SNES_NORM_DEFAULT = (Int32)(-1) -const SNES_NORM_NONE = (Int32)(0) -const SNES_NORM_ALWAYS = (Int32)(1) -const SNES_NORM_INITIAL_ONLY = (Int32)(2) -const SNES_NORM_FINAL_ONLY = (Int32)(3) -const SNES_NORM_INITIAL_FINAL_ONLY = (Int32)(4) - -#= # end enum SNESNormSchedule =# -#= # begin enum ANONYMOUS_70 =# -typealias ANONYMOUS_70 Cint - -const SNES_FUNCTION_DEFAULT = (Int32)(-1) -const SNES_FUNCTION_UNPRECONDITIONED = (Int32)(0) -const SNES_FUNCTION_PRECONDITIONED = (Int32)(1) - -#= # end enum ANONYMOUS_70 =# -#= # begin enum SNESFunctionType =# -typealias SNESFunctionType Cint - -const SNES_FUNCTION_DEFAULT = (Int32)(-1) -const SNES_FUNCTION_UNPRECONDITIONED = (Int32)(0) -const SNES_FUNCTION_PRECONDITIONED = (Int32)(1) - -#= # end enum SNESFunctionType =# -immutable _p_LineSearch -end - -typealias SNESLineSearch Ptr{_p_LineSearch} -typealias SNESLineSearchType Symbol -typealias SNESLineSearchVIProjectFunc Ptr{Void} -typealias SNESLineSearchVINormFunc Ptr{Void} -typealias SNESLineSearchApplyFunc Ptr{Void} -typealias SNESLineSearchUserFunc Ptr{Void} - -#= # begin enum ANONYMOUS_71 =# -typealias ANONYMOUS_71 UInt32 - -const SNES_LINESEARCH_SUCCEEDED = (UInt32)(0) -const SNES_LINESEARCH_FAILED_NANORINF = (UInt32)(1) -const SNES_LINESEARCH_FAILED_DOMAIN = (UInt32)(2) -const SNES_LINESEARCH_FAILED_REDUCT = (UInt32)(3) -const SNES_LINESEARCH_FAILED_USER = (UInt32)(4) -const SNES_LINESEARCH_FAILED_FUNCTION = (UInt32)(5) - -#= # end enum ANONYMOUS_71 =# -#= # begin enum SNESLineSearchReason =# -typealias SNESLineSearchReason UInt32 - -const SNES_LINESEARCH_SUCCEEDED = (UInt32)(0) -const SNES_LINESEARCH_FAILED_NANORINF = (UInt32)(1) -const SNES_LINESEARCH_FAILED_DOMAIN = (UInt32)(2) -const SNES_LINESEARCH_FAILED_REDUCT = (UInt32)(3) -const SNES_LINESEARCH_FAILED_USER = (UInt32)(4) -const SNES_LINESEARCH_FAILED_FUNCTION = (UInt32)(5) - -#= # end enum SNESLineSearchReason =# -typealias DMDASNESFunction Ptr{Void} -typealias DMDASNESJacobian Ptr{Void} -typealias DMDASNESObjective Ptr{Void} -typealias SNESMSType Symbol - -#= # begin enum ANONYMOUS_72 =# -typealias ANONYMOUS_72 UInt32 - -const SNES_NGMRES_RESTART_NONE = (UInt32)(0) -const SNES_NGMRES_RESTART_PERIODIC = (UInt32)(1) -const SNES_NGMRES_RESTART_DIFFERENCE = (UInt32)(2) - -#= # end enum ANONYMOUS_72 =# -#= # begin enum SNESNGMRESRestartType =# -typealias SNESNGMRESRestartType UInt32 - -const SNES_NGMRES_RESTART_NONE = (UInt32)(0) -const SNES_NGMRES_RESTART_PERIODIC = (UInt32)(1) -const SNES_NGMRES_RESTART_DIFFERENCE = (UInt32)(2) - -#= # end enum SNESNGMRESRestartType =# -#= # begin enum ANONYMOUS_73 =# -typealias ANONYMOUS_73 UInt32 - -const SNES_NGMRES_SELECT_NONE = (UInt32)(0) -const SNES_NGMRES_SELECT_DIFFERENCE = (UInt32)(1) -const SNES_NGMRES_SELECT_LINESEARCH = (UInt32)(2) - -#= # end enum ANONYMOUS_73 =# -#= # begin enum SNESNGMRESSelectType =# -typealias SNESNGMRESSelectType UInt32 - -const SNES_NGMRES_SELECT_NONE = (UInt32)(0) -const SNES_NGMRES_SELECT_DIFFERENCE = (UInt32)(1) -const SNES_NGMRES_SELECT_LINESEARCH = (UInt32)(2) - -#= # end enum SNESNGMRESSelectType =# -#= # begin enum ANONYMOUS_74 =# -typealias ANONYMOUS_74 UInt32 - -const SNES_NCG_FR = (UInt32)(0) -const SNES_NCG_PRP = (UInt32)(1) -const SNES_NCG_HS = (UInt32)(2) -const SNES_NCG_DY = (UInt32)(3) -const SNES_NCG_CD = (UInt32)(4) - -#= # end enum ANONYMOUS_74 =# -#= # begin enum SNESNCGType =# -typealias SNESNCGType UInt32 - -const SNES_NCG_FR = (UInt32)(0) -const SNES_NCG_PRP = (UInt32)(1) -const SNES_NCG_HS = (UInt32)(2) -const SNES_NCG_DY = (UInt32)(3) -const SNES_NCG_CD = (UInt32)(4) - -#= # end enum SNESNCGType =# -#= # begin enum ANONYMOUS_75 =# -typealias ANONYMOUS_75 UInt32 - -const SNES_QN_SCALE_DEFAULT = (UInt32)(0) -const SNES_QN_SCALE_NONE = (UInt32)(1) -const SNES_QN_SCALE_SHANNO = (UInt32)(2) -const SNES_QN_SCALE_LINESEARCH = (UInt32)(3) -const SNES_QN_SCALE_JACOBIAN = (UInt32)(4) - -#= # end enum ANONYMOUS_75 =# -#= # begin enum SNESQNScaleType =# -typealias SNESQNScaleType UInt32 - -const SNES_QN_SCALE_DEFAULT = (UInt32)(0) -const SNES_QN_SCALE_NONE = (UInt32)(1) -const SNES_QN_SCALE_SHANNO = (UInt32)(2) -const SNES_QN_SCALE_LINESEARCH = (UInt32)(3) -const SNES_QN_SCALE_JACOBIAN = (UInt32)(4) - -#= # end enum SNESQNScaleType =# -#= # begin enum ANONYMOUS_76 =# -typealias ANONYMOUS_76 UInt32 - -const SNES_QN_RESTART_DEFAULT = (UInt32)(0) -const SNES_QN_RESTART_NONE = (UInt32)(1) -const SNES_QN_RESTART_POWELL = (UInt32)(2) -const SNES_QN_RESTART_PERIODIC = (UInt32)(3) - -#= # end enum ANONYMOUS_76 =# -#= # begin enum SNESQNRestartType =# -typealias SNESQNRestartType UInt32 - -const SNES_QN_RESTART_DEFAULT = (UInt32)(0) -const SNES_QN_RESTART_NONE = (UInt32)(1) -const SNES_QN_RESTART_POWELL = (UInt32)(2) -const SNES_QN_RESTART_PERIODIC = (UInt32)(3) - -#= # end enum SNESQNRestartType =# -#= # begin enum ANONYMOUS_77 =# -typealias ANONYMOUS_77 UInt32 - -const SNES_QN_LBFGS = (UInt32)(0) -const SNES_QN_BROYDEN = (UInt32)(1) -const SNES_QN_BADBROYDEN = (UInt32)(2) - -#= # end enum ANONYMOUS_77 =# -#= # begin enum SNESQNType =# -typealias SNESQNType UInt32 - -const SNES_QN_LBFGS = (UInt32)(0) -const SNES_QN_BROYDEN = (UInt32)(1) -const SNES_QN_BADBROYDEN = (UInt32)(2) - -#= # end enum SNESQNType =# -#= # begin enum ANONYMOUS_78 =# -typealias ANONYMOUS_78 UInt32 - -const SNES_COMPOSITE_ADDITIVE = (UInt32)(0) -const SNES_COMPOSITE_MULTIPLICATIVE = (UInt32)(1) -const SNES_COMPOSITE_ADDITIVEOPTIMAL = (UInt32)(2) - -#= # end enum ANONYMOUS_78 =# -#= # begin enum SNESCompositeType =# -typealias SNESCompositeType UInt32 - -const SNES_COMPOSITE_ADDITIVE = (UInt32)(0) -const SNES_COMPOSITE_MULTIPLICATIVE = (UInt32)(1) -const SNES_COMPOSITE_ADDITIVEOPTIMAL = (UInt32)(2) - -#= # end enum SNESCompositeType =# -#= # begin enum ANONYMOUS_79 =# -typealias ANONYMOUS_79 UInt32 - -const SNES_FAS_MULTIPLICATIVE = (UInt32)(0) -const SNES_FAS_ADDITIVE = (UInt32)(1) -const SNES_FAS_FULL = (UInt32)(2) -const SNES_FAS_KASKADE = (UInt32)(3) - -#= # end enum ANONYMOUS_79 =# -#= # begin enum SNESFASType =# -typealias SNESFASType UInt32 - -const SNES_FAS_MULTIPLICATIVE = (UInt32)(0) -const SNES_FAS_ADDITIVE = (UInt32)(1) -const SNES_FAS_FULL = (UInt32)(2) -const SNES_FAS_KASKADE = (UInt32)(3) - -#= # end enum SNESFASType =# -immutable _p_TS -end - -immutable TS{T} - pobj::Ptr{Void} -end - -typealias TSType Symbol - -#= # begin enum ANONYMOUS_80 =# -typealias ANONYMOUS_80 UInt32 - -const TS_LINEAR = (UInt32)(0) -const TS_NONLINEAR = (UInt32)(1) - -#= # end enum ANONYMOUS_80 =# -#= # begin enum TSProblemType =# -typealias TSProblemType UInt32 - -const TS_LINEAR = (UInt32)(0) -const TS_NONLINEAR = (UInt32)(1) - -#= # end enum TSProblemType =# -#= # begin enum ANONYMOUS_81 =# -typealias ANONYMOUS_81 Cint - -const TS_EQ_UNSPECIFIED = (Int32)(-1) -const TS_EQ_EXPLICIT = (Int32)(0) -const TS_EQ_ODE_EXPLICIT = (Int32)(1) -const TS_EQ_DAE_SEMI_EXPLICIT_INDEX1 = (Int32)(100) -const TS_EQ_DAE_SEMI_EXPLICIT_INDEX2 = (Int32)(200) -const TS_EQ_DAE_SEMI_EXPLICIT_INDEX3 = (Int32)(300) -const TS_EQ_DAE_SEMI_EXPLICIT_INDEXHI = (Int32)(500) -const TS_EQ_IMPLICIT = (Int32)(1000) -const TS_EQ_ODE_IMPLICIT = (Int32)(1001) -const TS_EQ_DAE_IMPLICIT_INDEX1 = (Int32)(1100) -const TS_EQ_DAE_IMPLICIT_INDEX2 = (Int32)(1200) -const TS_EQ_DAE_IMPLICIT_INDEX3 = (Int32)(1300) -const TS_EQ_DAE_IMPLICIT_INDEXHI = (Int32)(1500) - -#= # end enum ANONYMOUS_81 =# -#= # begin enum TSEquationType =# -typealias TSEquationType Cint - -const TS_EQ_UNSPECIFIED = (Int32)(-1) -const TS_EQ_EXPLICIT = (Int32)(0) -const TS_EQ_ODE_EXPLICIT = (Int32)(1) -const TS_EQ_DAE_SEMI_EXPLICIT_INDEX1 = (Int32)(100) -const TS_EQ_DAE_SEMI_EXPLICIT_INDEX2 = (Int32)(200) -const TS_EQ_DAE_SEMI_EXPLICIT_INDEX3 = (Int32)(300) -const TS_EQ_DAE_SEMI_EXPLICIT_INDEXHI = (Int32)(500) -const TS_EQ_IMPLICIT = (Int32)(1000) -const TS_EQ_ODE_IMPLICIT = (Int32)(1001) -const TS_EQ_DAE_IMPLICIT_INDEX1 = (Int32)(1100) -const TS_EQ_DAE_IMPLICIT_INDEX2 = (Int32)(1200) -const TS_EQ_DAE_IMPLICIT_INDEX3 = (Int32)(1300) -const TS_EQ_DAE_IMPLICIT_INDEXHI = (Int32)(1500) - -#= # end enum TSEquationType =# -#= # begin enum ANONYMOUS_82 =# -typealias ANONYMOUS_82 Cint - -const TS_CONVERGED_ITERATING = (Int32)(0) -const TS_CONVERGED_TIME = (Int32)(1) -const TS_CONVERGED_ITS = (Int32)(2) -const TS_CONVERGED_USER = (Int32)(3) -const TS_CONVERGED_EVENT = (Int32)(4) -const TS_DIVERGED_NONLINEAR_SOLVE = (Int32)(-1) -const TS_DIVERGED_STEP_REJECTED = (Int32)(-2) - -#= # end enum ANONYMOUS_82 =# -#= # begin enum TSConvergedReason =# -typealias TSConvergedReason Cint - -const TS_CONVERGED_ITERATING = (Int32)(0) -const TS_CONVERGED_TIME = (Int32)(1) -const TS_CONVERGED_ITS = (Int32)(2) -const TS_CONVERGED_USER = (Int32)(3) -const TS_CONVERGED_EVENT = (Int32)(4) -const TS_DIVERGED_NONLINEAR_SOLVE = (Int32)(-1) -const TS_DIVERGED_STEP_REJECTED = (Int32)(-2) - -#= # end enum TSConvergedReason =# -#= # begin enum ANONYMOUS_83 =# -typealias ANONYMOUS_83 UInt32 - -const TS_EXACTFINALTIME_STEPOVER = (UInt32)(0) -const TS_EXACTFINALTIME_INTERPOLATE = (UInt32)(1) -const TS_EXACTFINALTIME_MATCHSTEP = (UInt32)(2) - -#= # end enum ANONYMOUS_83 =# -#= # begin enum TSExactFinalTimeOption =# -typealias TSExactFinalTimeOption UInt32 - -const TS_EXACTFINALTIME_STEPOVER = (UInt32)(0) -const TS_EXACTFINALTIME_INTERPOLATE = (UInt32)(1) -const TS_EXACTFINALTIME_MATCHSTEP = (UInt32)(2) - -#= # end enum TSExactFinalTimeOption =# -immutable _p_TSTrajectory -end - -typealias TSTrajectory Ptr{_p_TSTrajectory} -typealias TSTrajectoryType Symbol - -immutable _n_TSMonitorDrawCtx -end - -typealias TSMonitorDrawCtx Ptr{_n_TSMonitorDrawCtx} -typealias TSRHSFunction Ptr{Void} -typealias TSRHSJacobian Ptr{Void} -typealias TSSolutionFunction Ptr{Void} -typealias TSIFunction Ptr{Void} -typealias TSIJacobian Ptr{Void} -typealias DMDATSRHSFunctionLocal Ptr{Void} -typealias DMDATSRHSJacobianLocal Ptr{Void} -typealias DMDATSIFunctionLocal Ptr{Void} -typealias DMDATSIJacobianLocal Ptr{Void} - -immutable _n_TSMonitorLGCtx -end - -typealias TSMonitorLGCtx Ptr{_n_TSMonitorLGCtx} - -immutable TSMonitorDMDARayCtx - ray::Vec - scatter::VecScatter - viewer::PetscViewer - lgctx::TSMonitorLGCtx -end - -immutable _n_TSMonitorEnvelopeCtx -end - -typealias TSMonitorEnvelopeCtx Ptr{_n_TSMonitorEnvelopeCtx} - -immutable _n_TSMonitorSPEigCtx -end - -typealias TSMonitorSPEigCtx Ptr{_n_TSMonitorSPEigCtx} -typealias TSSSPType Symbol - -immutable _p_TSAdapt -end - -typealias TSAdapt Ptr{_p_TSAdapt} -typealias TSAdaptType Symbol - -immutable _p_TSGLAdapt -end - -typealias TSGLAdapt Ptr{_p_TSGLAdapt} -typealias TSGLAdaptType Symbol -typealias TSGLAcceptType Symbol -typealias TSGLAcceptFunction Ptr{Void} -typealias TSGLType Symbol -typealias TSRKType Symbol -typealias TSARKIMEXType Symbol -typealias TSRosWType Symbol - -#= # begin enum ANONYMOUS_84 =# -typealias ANONYMOUS_84 UInt32 - -const TAO_SUBSET_SUBVEC = (UInt32)(0) -const TAO_SUBSET_MASK = (UInt32)(1) -const TAO_SUBSET_MATRIXFREE = (UInt32)(2) - -#= # end enum ANONYMOUS_84 =# -#= # begin enum TaoSubsetType =# -typealias TaoSubsetType UInt32 - -const TAO_SUBSET_SUBVEC = (UInt32)(0) -const TAO_SUBSET_MASK = (UInt32)(1) -const TAO_SUBSET_MATRIXFREE = (UInt32)(2) - -#= # end enum TaoSubsetType =# -immutable _p_Tao -end - -typealias Tao Ptr{_p_Tao} - -#= # begin enum ANONYMOUS_85 =# -typealias ANONYMOUS_85 Cint - -const TAO_CONVERGED_FATOL = (Int32)(1) -const TAO_CONVERGED_FRTOL = (Int32)(2) -const TAO_CONVERGED_GATOL = (Int32)(3) -const TAO_CONVERGED_GRTOL = (Int32)(4) -const TAO_CONVERGED_GTTOL = (Int32)(5) -const TAO_CONVERGED_STEPTOL = (Int32)(6) -const TAO_CONVERGED_MINF = (Int32)(7) -const TAO_CONVERGED_USER = (Int32)(8) -const TAO_DIVERGED_MAXITS = (Int32)(-2) -const TAO_DIVERGED_NAN = (Int32)(-4) -const TAO_DIVERGED_MAXFCN = (Int32)(-5) -const TAO_DIVERGED_LS_FAILURE = (Int32)(-6) -const TAO_DIVERGED_TR_REDUCTION = (Int32)(-7) -const TAO_DIVERGED_USER = (Int32)(-8) -const TAO_CONTINUE_ITERATING = (Int32)(0) - -#= # end enum ANONYMOUS_85 =# -#= # begin enum TaoConvergedReason =# -typealias TaoConvergedReason Cint - -const TAO_CONVERGED_FATOL = (Int32)(1) -const TAO_CONVERGED_FRTOL = (Int32)(2) -const TAO_CONVERGED_GATOL = (Int32)(3) -const TAO_CONVERGED_GRTOL = (Int32)(4) -const TAO_CONVERGED_GTTOL = (Int32)(5) -const TAO_CONVERGED_STEPTOL = (Int32)(6) -const TAO_CONVERGED_MINF = (Int32)(7) -const TAO_CONVERGED_USER = (Int32)(8) -const TAO_DIVERGED_MAXITS = (Int32)(-2) -const TAO_DIVERGED_NAN = (Int32)(-4) -const TAO_DIVERGED_MAXFCN = (Int32)(-5) -const TAO_DIVERGED_LS_FAILURE = (Int32)(-6) -const TAO_DIVERGED_TR_REDUCTION = (Int32)(-7) -const TAO_DIVERGED_USER = (Int32)(-8) -const TAO_CONTINUE_ITERATING = (Int32)(0) - -#= # end enum TaoConvergedReason =# -immutable _p_TaoLineSearch -end - -typealias TaoLineSearch Ptr{_p_TaoLineSearch} - -#= # begin enum ANONYMOUS_86 =# -typealias ANONYMOUS_86 Cint - -const TAOLINESEARCH_FAILED_INFORNAN = (Int32)(-1) -const TAOLINESEARCH_FAILED_BADPARAMETER = (Int32)(-2) -const TAOLINESEARCH_FAILED_ASCENT = (Int32)(-3) -const TAOLINESEARCH_CONTINUE_ITERATING = (Int32)(0) -const TAOLINESEARCH_SUCCESS = (Int32)(1) -const TAOLINESEARCH_SUCCESS_USER = (Int32)(2) -const TAOLINESEARCH_HALTED_OTHER = (Int32)(3) -const TAOLINESEARCH_HALTED_MAXFCN = (Int32)(4) -const TAOLINESEARCH_HALTED_UPPERBOUND = (Int32)(5) -const TAOLINESEARCH_HALTED_LOWERBOUND = (Int32)(6) -const TAOLINESEARCH_HALTED_RTOL = (Int32)(7) -const TAOLINESEARCH_HALTED_USER = (Int32)(8) - -#= # end enum ANONYMOUS_86 =# -#= # begin enum TaoLineSearchConvergedReason =# -typealias TaoLineSearchConvergedReason Cint - -const TAOLINESEARCH_FAILED_INFORNAN = (Int32)(-1) -const TAOLINESEARCH_FAILED_BADPARAMETER = (Int32)(-2) -const TAOLINESEARCH_FAILED_ASCENT = (Int32)(-3) -const TAOLINESEARCH_CONTINUE_ITERATING = (Int32)(0) -const TAOLINESEARCH_SUCCESS = (Int32)(1) -const TAOLINESEARCH_SUCCESS_USER = (Int32)(2) -const TAOLINESEARCH_HALTED_OTHER = (Int32)(3) -const TAOLINESEARCH_HALTED_MAXFCN = (Int32)(4) -const TAOLINESEARCH_HALTED_UPPERBOUND = (Int32)(5) -const TAOLINESEARCH_HALTED_LOWERBOUND = (Int32)(6) -const TAOLINESEARCH_HALTED_RTOL = (Int32)(7) -const TAOLINESEARCH_HALTED_USER = (Int32)(8) - -#= # end enum TaoLineSearchConvergedReason =# diff --git a/src/generated/rewriter.jl b/src/generated/rewriter.jl deleted file mode 100644 index c8cc503c..00000000 --- a/src/generated/rewriter.jl +++ /dev/null @@ -1,822 +0,0 @@ -# rewrites the expressions generated by clang - -using DataStructures - -# node: the input obuff has the type annotations in the function signature and the types in the ccall as references to the same Expr object. A deepcopy and overwrite is needed to fix hthis - -# dictionary to map pointer types to desired type -# isdefined(modulename, :name) -> Bool -# use wrap_contex.commonbuf for dictionary of names that have been defined - -############################################################################### Only these parameters need to be modified for the different -# version of PETSc - -# used to modify function signatures -type_dict = Dict{Any, Any} ( - :PetscScalar => :Float32, - :PetscReal => :Float32, - :PetscInt => :Int64, -) - -const petsc_libname = :petscRealSingle - -############################################################################## - - -val_tmp = type_dict[:PetscScalar] -type_dict_single = Dict{Any, Any} ( -:(Ptr{UInt8}) => Union{Cstring, ByteString, Symbol, Array{UInt8}, Ptr{UInt8}} -) - - -# used to convert typealiases to immutable type definionts -# currently, if the key exists, it is converted -# if value == 1, create new immutable type -# otherwise replace key with value -# also used for function signatures -new_type_dict = Dict{Any, Any} ( - :Vec => :(Vec{$val_tmp}), - :Mat => :(Mat{$val_tmp}), - :KSP => :(KSP{$val_tmp}), - :PC => :(PC{$val_tmp}), - :PetscViewer => :(PetscViewer{$val_tmp}), - :PetscOption => :(PetscOption{$val_tmp}), - :IS => :(IS{$val_tmp}), - :ISLocalToGlobalMapping => :(ISLocalToGlobalMapping{$val_tmp}), - :ISColoring => :(ISColoring{$val_tmp}), - :PetscLayout => :(PetscLayout{$val_tmp}), - :VecScatter => :(VecScatter{$val_tmp}), - :AO => :(AO{$val_tmp}), - :TS => :(TS{$val_tmp}) -) - -# definitions that will be provided, but don't come from Petsc -# mostly MPI stuff -const_defs = Dict{Any, Any} ( - :MPI_COMM_SELF => 1, - :MPI_Comm => 1, - :comm_type => 1, -) - -# dictionary to hold names of types -# that are aliased to Symbol -symbol_type_dict = Dict{Any, Any} () - -# create a string array mirroring a symbol array -function send_symbol(x::AbstractArray) - string_arr = similar(x, ASCIIString) - for i=1:length(x) - if isdefined(x[i]) - string_arr[i] = copy(x[i]) - end - end - return string_arr -end - -# get a string array and turn it into a symbol array -function return_symbol(string_array::AbstractArray, x::AbstractArray) - for i=1:length(x) - x[i] = bytestring(string_array[i]) - end -end - -# things to be recursively replaced in function signatures -sig_rec_dict = Dict{Any, Any} () - -for i in keys(type_dict) - get!(sig_rec_dict, i, type_dict[i]) -end - -for i in keys(new_type_dict) - get!(sig_rec_dict, i, new_type_dict[i]) -end - -# things to be replaced in function signatures only if they -# are top level (ie. this does a non recursive replace) -sig_single_dict = Dict{Any, Any} ( - :(Ptr{UInt8}) => :(Union{ByteString, Cstring, Symbol, Array{UInt8}, Ptr{UInt8}}), - :Int32 => :Integer, - :Int64 => :Integer, - :Cint => :Integer, - :PetscInt => :Integer, -) - -# list of symbols to search for -# if none are found, then a dummy argument is added -sig_dummyarg_dict = Dict{Any, Any}( - :PetscScalar => 1, -) - -# add keys from new_type_dict because dummy arg check -# is done after type replacement -for i in values(new_type_dict) - get!(sig_dummyarg_dict, i, 1) -end - -# things to be recursively replaced in the ccall argument list -ccall_rec_dict = Dict{Any, Any} ( -:MPI_Comm => :comm_type -) - -for i in keys(type_dict) - get!(ccall_rec_dict, i, type_dict[i]) -end - -for i in keys(new_type_dict) - get!(ccall_rec_dict, i, new_type_dict[i]) -end - -# things to be replace in the ccall argument list only if -# they are top level (ie. this does a non recursive replace) -ccall_single_dict = Dict{Any, Any} ( - :(Ptr{UInt8}) => :Cstring, -) - -# things to be replaced recurisvely in typealias rhs -typealias_rec_dict = Dict{Any, Any} () - -for i in keys(type_dict) - get!(typealias_rec_dict, i, type_dict[i]) -end - -for i in keys(new_type_dict) - get!(typealias_rec_dict, i, new_type_dict[i]) -end - -# dictionary of typealiases to exclude based on the lhs argument -typealias_lhs_dict = Dict{Any, Any} () - -for i in keys(type_dict) - get!(typealias_lhs_dict, i, i) -end - -# things to be replaced in typealias rhs, non recursive -# this creates a potential loophole for string handling -# because a Ptr{typealias} == Ptr{Ptr{UInt8}} will be -# handled incorrectly -typealias_single_dict = Dict{Any, Any} ( -:(Ptr{UInt8}) => :Symbol -) - -# key = typealias rhs values to exclude -# if values == 1, then create an immutable type -typealias_exclude_dict = Dict{Any, Any} ( -) - -for i in keys(new_type_dict) - get!(typealias_exclude_dict, i, 1) -end - -# things to be recurisvely replace in constant declaration rhs -const_rec_dict = Dict{Any, Any} ( -:NULL => :C_NULL -) - -for i in keys(type_dict) - get!(const_rec_dict, i, type_dict[i]) -end - -for i in keys(new_type_dict) - get!(const_rec_dict, i, new_type_dict[i]) -end - - -################################################################################# - -function petsc_rewriter(obuf) - for i=1:length(obuf) - ex_i = obuf[i] # obuf is an array of expressions - println("rewriting expression ", ex_i) - - if typeof(ex_i) == Expr - head_i = ex_i.head # function - # each ex_i has 2 args, a function signature and a function body - - # figure out what kind of expression it is, do the right modification - if head_i == :function # function declaration - obuf[i] = process_func(ex_i) - elseif ex_i.head == :const # constant declaration - obuf[i] = process_const(ex_i) - elseif ex_i.head == :typealias # typealias definition - obuf[i] = fix_typealias(ex_i) - elseif ex_i.head == :type - obuf[i] = process_type(ex_i) - - else # some other kind of expression - println("not processing expression", ex_i) - - # convert to concrete types - for j in keys(type_dict) - obuf[i] = replace_symbol(ex_i, j, type_dict[j]) - end - - # purge anything unknown - # this will always omit the expression because a newly declared name - # will be unknown - tmp = are_syms_defined(ex_i) - if tmp != 0 - obuf[i] = "#= skipping undefined expression $ex_i =#" - end - - # for types at least, arg[2] is the type name - obj_name = ex_i.args[2] - if haskey(wc.common_buf, obj_name) - delete!(wc.common_buf, obj_name) - end - - end - - elseif typeof(ex_i) == ASCIIString - obuf[i] = process_string(ex_i) - else - println("not processing ", typeof(ex_i)) - end # end if Expr - - println("final expression = ", obuf[i]) - end - - return obuf # return modified obuf -end - - -##### functions to rewrite function signature ##### -function process_func(ex) - @assert ex.head == :function # this is a function declaration - - println("at beginning of process_func, processing function ", ex.args[1]) - println("with body ", ex.args[2]) - - - - ex.args[1] = rewrite_sig(ex.args[1]) # function signature - - println("after rewrite_sig, processing function ", ex.args[1]) - println("with body ", ex.args[2]) - - ex.args[2] = rewrite_body(ex.args[2]) # function body - - println("processing function ", ex.args[1]) - println("with body ", ex.args[2]) - # now check if any undefined type annotations remain - sum = 0 - ex_sig = ex.args[1] - ex_body = ex.args[2] - - for i=2:length(ex_sig.args) # loop over all arguments to the function - # get the type annotation Expr or symbol of argument i-1 - ex_sig_i = ex_sig.args[i].args[2] - sum += are_syms_defined(ex_sig_i) - end - - # now check ccall argument types - ex_ccall = ex_body.args[1] - ex_ccall_types = ex_ccall.args[3] # the tuple of argument types - sum += are_syms_defined(ex_ccall_types) - - if sum != 0 - return "#= skipping function with undefined symbols: \n $ex \n=#" - end - - # now add any extra expression needed - ex = add_body(ex) - return ex -end - -# add any needed expressions to the body of the function -# this is post rewrite_sig, rewrite_body -function add_body(ex) - - ex_sig = ex.args[1] - ex_body = ex.args[2] - - fname = ex_sig.args[1] - @assert typeof(fname) == Symbol - fname_str = string(fname) - # check if a type annotation == Union(Ptr{symbol_type}...) - println("checking function ", fname_str, " for symbols-string conversions") - - # check number of ccall args vs. function signature args - numargs_ccall = length(ex_body.args[1].args) - 3 - numargs_func = length(ex_sig.args) - 1 - offset = numargs_func - numargs_ccall # skip any function args in excess of ccall args - - for i in keys(symbol_type_dict) - for j=(2 + offset):length(ex_sig.args) # loop over arguments to function -# println("j = ", j) - type_annot_j = ex_sig.args[j].args[2] # get the teyp annotation - argname_j = ex_sig.args[j].args[1] - # check for arrays of symbols that need to be copied into a string array - if type_annot_j == :(Union{Ptr{$i}, StridedArray{$i}, Ptr{$i}, Ref{$i}}) - if contains(fname_str, "Get") # array is to be populated - # add calls to function body - resize!(ex_body.args, length(ex_body.args) + 2) - for i=2:(length(ex_body.args) - 1) - ex_body.args[i] = deepcopy(ex_body.args[i-1]) # shift ccall to 2nd arg - end - ex_body.args[1] = nothing - ex_body.args[end] = nothing - - # figure out where the ccall is - ccall_index = get_ccall_index(ex_body) - - # construct the before function call - call_ex = Expr(:call, :symbol_get_before, argname_j) - new_argname = symbol(string( argname_j, "_")) # add underscore - ex_body.args[1] = Expr(:(=), :($new_argname, tmp), deepcopy(call_ex)) - - # construct the after call - ex_body.args[length(ex_body.args)] = Expr(:call, :symbol_get_after, new_argname, argname_j) - - # modify the ccall argument name - println("ccall_index = ", ccall_index) - ccall_ex = ex_body.args[ccall_index] - - @assert ccall_ex.head == :ccall - ccall_ex.args[j + 3 - 1 - offset] = new_argname - - - elseif contains(fname_str, "Set") # array is already populated - # add calls to function body - resize!(ex_body.args, length(ex_body.args) + 1) - for i=2:(length(ex_body.args)) - ex_body.args[i] = deepcopy(ex_body.args[i-1]) # shift ccall to 2nd arg - end - ex_body.args[1] = nothing - - # figure out where the ccall is - ccall_index = get_ccall_index(ex_body) - - # construct the before function call - call_ex = Expr(:call, :symbol_set_before, argname_j) - new_argname = symbol(string( argname_j, "_")) # add underscore - ex_body.args[1] = Expr(:(=), new_argname, deepcopy(call_ex)) - - - # modify the ccall argument name - ccall_ex = ex_body.args[ccall_index] - @assert ccall_ex.head == :ccall - ccall_ex.args[j + 3 - 1 - offset] = new_argname - - - else - println(STDERR, "Warning, symbol type conversion not handled in function ", fname_str) - - end # end if contains(get) - end # end if type_annot_j == ... - end # end for j - end # end loop over symbol_type_dict - - - - # assign ccall error code to a variable, then return the variable - # this should be the last modification made, because get_ccall_index - # won't work after this - ccall_index = get_ccall_index(ex_body) - ccall_ex = deepcopy(ex_body.args[ccall_index]) - ex_body.args[ccall_index] = :(err = $ccall_ex) - resize!(ex_body.args, length(ex_body.args) + 1) - ex_body.args[end] = :(return err) - - - # convert array of symbols to array of strings - # check signature for - return deepcopy(ex) -end - - -function get_ccall_index(ex) - # returns the index of the first ccall in the arguments of ex - - index = 0 - - for i=1:length(ex.args) - if typeof(ex.args[i]) == Expr - if ex.args[i].head == :ccall - index = i - break - end - end - end - - if index == 0 - println("Warning, ccall not found") - end - - return index -end - - -function rewrite_sig(ex) # rewrite the function signature - - @assert ex.head == :call # verify this is a function signature expression - - # ex.args[1] = function name, as a symbol - - # check if function contains a PetscScalar - - # if yes, add paramterization, do search and replace PetscScalar -> S - # also add macro - - println("rewrite_sig ex = ", ex) - - # Process all arguments of the function - # Replace all pointers with Unions(Ptr, AbstractArray...) - # do any other transformations in ptr_dict - for i=2:length(ex.args) - # each of ex.args is an expression containing arg name, argtype - println("typeof(ex.args[$i]) = ", typeof(ex.args[i])) - @assert typeof(ex.args[i]) == Expr || typeof(ex.args[i]) == Symbol # verify these are all expressions - ex.args[i] = process_sig_arg(ex.args[i]) # process each expression - end - - - - # check for any symbol that will uniquely identify which - # version of petsc to call - println("checking for uniqueness of signature") - println("ex = ", ex) - - val = contains_symbol(ex, :PetscScalar) - for i in keys(sig_dummyarg_dict) - val += contains_symbol(ex, i) - end - - println("contains_symbol = ", val) - - if val == 0 # if no arguments will make the function signature unique - - println("adding dummy arg") - ex = add_dummy_arg(ex) - end - - #= - println("replacing typealiases") - println("ex = ", ex) - # do second pass to replace Petsc typealiases with a specific type - for i=2:length(ex.args) - for j in keys(type_dict) # check for all types - - println("replacing ", j, ", with ", type_dict[j]) - ex.args[i] = replace_symbol(ex.args[i], j, type_dict[j]) -end -end - -println("after modification rewrite_sig ex = ", ex) -=# -return ex -end - -function process_sig_arg(ex) - # take the expression that is an argument to the function and rewrite it - - @assert ex.head == :(::) - - # modify args here - # arg_name = ex.args[1] # symbol - # arg_type = ex.args[2] # Expr contianing type tag - println("ex.args[2] = ", ex.args[2]) - println("type = ", typeof(ex.args[2])) - - # if typeof(ex.args[1]) == Symbol - - # get only typetag expression, modify it - ex.args[2] = modify_typetag(ex.args[2]) - - return ex -end - -function modify_typetag(ex) - # do non recursive replace first - ex = deepcopy(get(sig_single_dict, ex, ex)) - - # now do recursive search and replace - for i in keys(sig_rec_dict) - ex = deepcopy(replace_symbol(ex, i, sig_rec_dict[i])) - end - - # should make sure there are no nested pointers? - # @assert ex.head == :curly || ex.head == :symbol # verify this is a typetag - if typeof(ex) == Expr - # replace pointer with Union of ptr, array, c_null - if ex.head == :curly && ex.args[1] == :Ptr - ptr_type = deepcopy(ex.args[2]) - ex = :(Union{Ptr{$ptr_type}, StridedArray{$ptr_type}, Ptr{$ptr_type}, Ref{$ptr_type}}) - end - end - - return ex -end - -function add_param(ex) - # add the {S <: PetscScalar} to a function declaration - @assert typeof(ex) == Symbol # make sure we don't already have a paramaterization - - # could do more extensive operations here - return :($ex{S <: PetscScalars}) -end - -function add_dummy_arg(ex) - # add a dummy argument to the function argument list - # ex is the function name + args (ie. the entire function signature) - - println("adding dummy argument to ", ex) - @assert ex.head == :call - len = length(ex.args) - resize!(ex.args, len + 1) - - - println("length(ex.args) = ", length(ex.args)) - println("ex.args = ", ex.args) - # shift args up by one - # first arg is function name, so don't modify it - - if length(ex.args) >= 3 # if there are any args to shift - println("shifting arguments, length(ex.args) = ", length(ex.args)) - for i=length(ex.args):(-1):3 - ex.args[i] = ex.args[i-1] - println("ex.args[$i] = ", ex.args[i]) - end - end - - # insert dummy argument into first position - # the PetscScalar will get rewritten to - # appropriate type later - val = type_dict[:PetscScalar] - ex.args[2] = :(arg0::Type{$val}) - - println("finished adding dummy arg, ex = ", ex) - - return ex -end - -##### function to rewrite the body of the function ##### -function rewrite_body(ex) # rewrite body of a function - @assert ex.head == :block - # ex has only one argument, the ccall - # could insert other statements arond the ccall here? - ex.args[1] = process_ccall(ex.args[1]) - return ex -end - - -function process_ccall(ex) - @assert ex.head == :ccall # verify this is the ccall statement - # args[1] = Expr, tuple of fname, libname - # args[2] = return type, symbol - # args[3] = Expr, tuple of types to ccall - # args[4] = symbol, first argument name, - # ... - println("processing ccall ", ex) - ex.args[1] = modify_libname(ex.args[1]) # change the library name - ex.args[2] = modify_rettype(ex.args[2]) # change return type - ex.args[3] = modify_types(ex.args[3]) - println("changing argument names") - ex3 = ex.args[3] # get expression of argument types - # ex4 = ex.args[4] # get expression argument names - - @assert ex3.head == :tuple - - return ex -end - -function modify_rettype(ex) - - println("modifying return type") - println("ex = ", ex) - return deepcopy(ex) -end - -function modify_types(ex) - @assert ex.head == :tuple - - # do non recursive replace first - for i=1:length(ex.args) - println("checking if ", ex.args[i], " has entry in ccall_single_dict") - println("ex.args[$i] before = ", ex.args[i]) - ex.args[i] = get(ccall_single_dict, ex.args[i], ex.args[i]) - println(" after = ", ex.args[i]) - end - - println(" after all non-recursive replacements = ", ex.args) - - println(" ccall_rec_dict = ", ccall_rec_dict) - # do recursive replacement - for i in keys(ccall_rec_dict) - for j=1:length(ex.args) - ex.args[j] = replace_symbol(ex.args[j], i, ccall_rec_dict[i]) - end - end - - println(" after recursive replacement = ", ex.args) - - return deepcopy(ex) -end - -function modify_libname(ex) - @assert ex.head == :tuple - ex.args[2] = petsc_libname # replace libname with a new one - return ex -end - -##### functions to make consts into global consts ##### - -function process_const(ex) - @assert ex.head == :const - - # do any replacements - for j in keys(const_rec_dict) - replace_symbol(ex, j, const_rec_dict[j]) - end - - ex2 = ex.args[1] # get the assignment - - rhs = ex2.args[2] - tmp = are_syms_defined(rhs) - if tmp != 0 # something is undefined - lhs = ex2.args[1] - delete!(wc.common_buf, lhs) # remove lh from list of defined symbols - return "#skipping undefined $ex" # replace expression with constant - end - - # turn strings into symbols - if typeof(rhs) <: AbstractString - ex2.args[2] = :(symbol($rhs)) - end - - return deepcopy(ex) -end - - -function fix_typealias(ex) - @assert ex.head == :typealias - new_type = ex.args[1] - - println("fixing typealias ", ex) - - if haskey(typealias_exclude_dict, new_type) - if typealias_exclude_dict[new_type] == 1 - # construct immutable type definition - fields = Expr(:(::), :pobj, :(Ptr{Void})) - body = Expr(:block, fields) - typename = Expr(:curly, new_type, :T) # add static parameter T - ex_new = Expr(:type, false, typename, body) - return ex_new - else - if haskey(wc.common_buf, new_type) - delete!(wc.common_buf, new_type) # record that symbol is now undefined - end - return "# excluding $ex" - end - end - - # if we didn't create immutable type, transform the rhs according to the - # dictionaries - lhs = deepcopy(ex.args[1]) - rhs = deepcopy(ex.args[2]) - - # check lhs for exclusion criteria - if haskey(typealias_lhs_dict, lhs) - # record that symbol is now undefined - delete!(wc.common_buf, lhs) - return "# excluding lhs of $ex" - end - - # do non recursive replacement - rhs = get(typealias_single_dict, rhs, rhs) - - if rhs == :Symbol - get!(ccall_rec_dict, lhs, :(Ptr{UInt8})) # make the ccall argument a UInt8 recursive - get!(ccall_single_dict, lhs, :Cstring) # make it a cstring for single level replacement - get!(symbol_type_dict, lhs, 1) # record that this type is a symbol - end - - # do recursive replacement - for i in keys(typealias_rec_dict) - rhs = replace_symbol(rhs, i, typealias_rec_dict[i]) - end - - # check for undefined symbols - - tmp = are_syms_defined(rhs) - if tmp != 0 - delete!(wc.common_buf, lhs) # record that the lhs symbol is now undefined - return "# skipping undefined typealias $ex" - end - - # if no conditions met - # construct a new typealias - - return :(typealias $lhs $rhs) -end - -# string processing -function process_string(ex) - return "#= $ex =#" -end - -##### Type declaration functions ##### -function process_type(ex) - - println("processing type declaration ", ex) - - # make all types (structs) immutable - ex.args[1] = false - - ex_body = ex.args[3] # body of type declaration - - # check that every type annotation is fully defined - for i=1:length(ex_body.args) - # if this is a type annotation expression - if typeof(ex_body.args[i]) == Expr && ex_body.args[i].head == :(::) - type_sym = ex_body.args[i].args[2] - tmp = are_syms_defined(type_sym) - if tmp != 0 - new_name = ex.args[2] # get the name of the type being declared - delete!(wc.common_buf, new_name) - - return "#= skipping type declaration with undefined symbols:\n$ex \n=#" - end - end - end - - return ex -end - -##### Misc. functions #### -function contains_symbol(ex, sym) - # recursively check symbol in expression ex to see if sym is present - sum = 0 - if ex == sym - return 1 - elseif typeof(ex) == Expr - #check the arguments of the exprssion - for i=1:length(ex.args) - sum += contains_symbol(ex.args[i], sym) - end - else # something unknown - return 0 # assuming we did not find the symbol - end - - return sum -end - -function check_annot(ex, sym::Symbol) - # check a type annotation - for i=1:length(ex.args) - if ex.args[i] == sym - return true - end - end - return false -end - -function replace_symbol(ex, sym_old, sym_new) - if ex == sym_old - return deepcopy(sym_new) - elseif typeof(ex) == Expr # recurse the arguments - for i=1:length(ex.args) - ex.args[i] = replace_symbol(ex.args[i], sym_old,sym_new) - end - else # don't know/care what this is - return deepcopy(ex) - end - - return deepcopy(ex) -end - -function count_depth(seed::Integer, ex) - # primitive attempt to count number of nodes on tree - if typeof(ex) == Expr - for i=1:length(ex.args) - - seed += count_depth(seed, ex.args[i]) - end - else - println("ex = ", ex, " returning 1") - return 1 - end - return seed -end - -function are_syms_defined(ex) - # check all symbols, see if they are defined by julia or by - # the wrap contex - undefined_syms = 0 # approximate counter of undefined symbols found - - if typeof(ex) == Expr # keep recursing - for i=1:length(ex.args) - undefined_syms += are_syms_defined(ex.args[i]) - end # end loop over args - elseif typeof(ex) == Symbol # if this is a symbol - if isdefined(ex) || haskey(wc.common_buf, ex) || haskey(const_defs, ex) - return 0 # symbol is defined - else - return 1 - end - else # we don't know/care what this expression is - println(" not counting unknown expression ", ex) - return undefined_syms - end # end if ... elseifa - - return undefined_syms -end diff --git a/src/generated/wrap_PETSc.jl b/src/generated/wrap_PETSc.jl deleted file mode 100644 index 10657ff1..00000000 --- a/src/generated/wrap_PETSc.jl +++ /dev/null @@ -1,71 +0,0 @@ -# Script to wrap PETSc header files with Julia code -#= -using Clang_orig.cindex -using Clang_orig.wrap_c -using Compat - -import Clang_orig.wrap_c.repr_jl -=# - -using Clang.cindex -using Clang.wrap_c -using Compat - -import Clang.wrap_c.repr_jl - -include("rewriter.jl") -PETSC_INCLUDE = "../../deps/RealDouble/petsc-3.6.0/include" -ARCH_INCLUDE = "../../deps/RealDouble/petsc-3.6.0/arch-linux2-c-debug/include" # TEMPORARY -petsc_header = [joinpath(PETSC_INCLUDE, "petsc.h")] -h1 = "/usr/lib/gcc/x86_64-linux-gnu/4.8/include" # get some C datatype definitions like size_t -h2 = joinpath(PETSC_INCLUDE, "petscsys.h") -h3 = joinpath(ARCH_INCLUDE, "petscconf.h") -# Set up include paths -clang_includes = ASCIIString[] -push!(clang_includes, PETSC_INCLUDE) -push!(clang_includes, ARCH_INCLUDE) -push!(clang_includes, h1) -#push!(clang_includes, h2) -#push!(clang_includes, h3) - - -println("clang_includes = ", clang_includes) - -# Clang arguments -clang_extraargs = [ "-std=c99", "-D", "__STDC_LIMIT_MACROS", "-D", "__STDC_CONSTANT_MACROS", "-D", "PETSC_USE_REAL_SINGLE" ] - -# Callback to test if a header should actually be wrapped (for exclusion) -function wrap_header(top_hdr::ASCIIString, cursor_header::ASCIIString) - return startswith(dirname(cursor_header), PETSC_INCLUDE) -end - -lib_file(hdr::ASCIIString) = "petsc" -output_file(hdr::ASCIIString) = "PETSc.jl" - -function wrap_cursor(name::ASCIIString, cursor) - println("\nwrapping name = ", name) - exc = true -#= debug: wrap everything - if length(name) > 0 - if name[1] == '_' - exc = false - end - end -=# - return exc -end - -const wc = wrap_c.init(; - headers = petsc_header, - output_file = "libPETSc_h.jl", - common_file = "libPETSc_common.jl", - clang_includes = clang_includes, - clang_args = clang_extraargs, - header_wrapped = wrap_header, - header_library = lib_file, - header_outputfile = output_file, - cursor_wrapped = wrap_cursor, - clang_diagnostics = true, - rewriter = petsc_rewriter) - -run(wc) diff --git a/src/init.jl b/src/init.jl new file mode 100644 index 00000000..b97329f4 --- /dev/null +++ b/src/init.jl @@ -0,0 +1,62 @@ + +@for_libpetsc begin + function initialized(::Type{$PetscScalar}) + r_flag = Ref{PetscBool}() + @chk ccall((:PetscInitialized, $libpetsc), PetscErrorCode, (Ptr{PetscBool},), r_flag) + return r_flag[] == PETSC_TRUE + end + function initialize(::Type{$PetscScalar}) + if !initialized($PetscScalar) + MPI.Initialized() || MPI.Init() + @chk ccall((:PetscInitializeNoArguments, $libpetsc), PetscErrorCode, ()) + + # disable signal handler + @chk ccall((:PetscPopSignalHandler, $libpetsc), PetscErrorCode, ()) + + atexit(() -> finalize($PetscScalar)) + end + return nothing + end + function finalized(::Type{$PetscScalar}) + r_flag = Ref{PetscBool}() + @chk ccall((:PetscFinalized, $libpetsc), PetscErrorCode, (Ptr{PetscBool},), r_flag) + return r_flag[] == PETSC_TRUE + end + function finalize(::Type{$PetscScalar} ) + if !finalized($PetscScalar) + @chk ccall((:PetscFinalize, $libpetsc), PetscErrorCode, ()) + end + return nothing + end +end + +""" + PETSc.initialize([T]) + +Initialize PETSc for scalar type `T`, if not already initialized. If no `T` is +provided, then it will be initialized for all supported scalar types. + +Additionally: + - This will initialize MPI if it has not already been initialized. + - It will disable the PETSc signal handler (via + [`PetscPopSignalHandler`](https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/PetscPopSignalHandler.html)) + - Add an [`atexit`](https://docs.julialang.org/en/v1/base/base/#Base.atexit) + hook to call [`PETSc.finalize`](@ref). +""" +function initialize() + map(initialize, scalar_types) + return nothing +end + + +""" + PETSc.finalize([T]) + +Finalize PETSc for scalar type `T`. If no `T` is provided, then it will be finalized for all supported scalar types. + +It is generally not necessary to call this function directly, as it is added as an [`atexit`](https://docs.julialang.org/en/v1/base/base/#Base.atexit) hook in [`PETSc.initialize`](@ref). +""" +function finalize() + map(finalize, scalar_types) + return nothing +end diff --git a/src/is.jl b/src/is.jl deleted file mode 100644 index 7e986746..00000000 --- a/src/is.jl +++ /dev/null @@ -1,190 +0,0 @@ -# index sets and vector scatters - -########################################################################### -export IS, ISBlock # index sets -# Note: we expose a 1-base Julian index interface, but internally -# PETSc's indices are 0-based. -#TODO: support block versions -type IS{T} - p::C.IS{T} - function IS(p::C.IS{T}) - o = new(p) - finalizer(o, PetscDestroy) - return o - end -end - -comm{T}(a::IS{T}) = MPI.Comm(C.PetscObjectComm(T, a.p.pobj)) - -function PetscDestroy{T}(o::IS{T}) - PetscFinalized(T) || C.ISDestroy(Ref(o.p)) -end - -# internal constructor, takes array of zero-based indices: -function IS_{T<:Scalar}(::Type{T}, idx::Array{PetscInt}; comm::MPI.Comm=MPI.COMM_WORLD) - is_c = Ref{C.IS{T}}() - chk(C.ISCreateGeneral(comm, length(idx), idx, C.PETSC_COPY_VALUES, is_c)) - return IS{T}(is_c[]) -end - -IS{I<:Integer, T<:Scalar}(::Type{T}, idx::AbstractArray{I}; comm::MPI.Comm=MPI.COMM_WORLD) = - IS_(T, PetscInt[i-1 for i in idx]; comm=comm) - -function IS{I<:Integer, T<:Scalar}(::Type{T}, idx::Range{I}; comm::MPI.Comm=MPI.COMM_WORLD) - is_c = Ref{C.IS{T}}() - chk(C.ISCreateStride(comm, length(idx), start(idx)-1, step(idx), is_c)) - return IS{T}(is_c[]) -end - -# there is no Strided block index set, so convert everything to an array -function ISBlock{I<:Integer, T<:Scalar}(::Type{T}, bs::Integer, idx::AbstractArray{I}; comm=MPI.COMM_WORLD) - idx_0 = PetscInt[i-1 for i in idx] - return ISBlock_(T, bs, idx_0, comm=comm) -end - -function ISBlock_{T}(::Type{T}, bs::Integer, idx::AbstractArray{PetscInt};comm=MPI.COMM_WORLD) - is_c = Ref{C.IS{T}}() - chk(C.ISCreateBlock(comm, bs, length(idx), idx, C.PETSC_COPY_VALUES, is_c)) - return IS{T}(is_c[]) -end - - -function Base.copy{T}(i::IS{T}) - is_c = Ref{C.IS{T}}() - chk(C.ISDuplicate(i.p, is_c)) - return IS{T}(is_c[]) -end - -function Base.length(i::IS) - len = Ref{PetscInt}() - chk(C.ISGetSize(i.p, len)) - return Int(len[]) -end - -function lengthlocal(i::IS) - len = Ref{PetscInt}() - chk(C.ISGetLocalSize(i.p, len)) - return Int(len[]) -end - -import Base.== -function =={T}(i::IS{T}, j::IS{T}) - b = Ref{PetscBool}() - chk(C.ISEqual(i.p, j.p, b)) - return b[] != 0 -end - -function Base.sort!(i::IS) - chk(C.ISSort(i.p)) - return i -end -Base.sort(i::IS) = sort!(copy(i)) - -function Base.issorted(i::IS) - b = Ref{PetscBool}() - chk(C.ISSorted(i.p, b)) - return b[] != 0 -end - -function Base.union{T}(i::IS{T}, j::IS{T}) - is_c = Ref{C.IS{T}}() - chk(C.ISExpand(i.p, j.p, is_c)) - return IS{T}(is_c[]) -end - -function Base.setdiff{T}(i::IS{T}, j::IS{T}) - is_c = Ref{C.IS{T}}() - chk(C.ISDifference(i.p, j.p, is_c)) - return IS{T}(is_c[]) -end - -function Base.extrema(i::IS) - min = Ref{PetscInt}() - max = Ref{PetscInt}() - chk(C.ISGetMinMax(i.p, min, max)) - return (Int(min[])+1, Int(max[])+1) -end -Base.minimum(i::IS) = extrema(i)[1] -Base.maximum(i::IS) = extrema(i)[2] - -function Base.convert{T<:Integer}(::Type{Vector{T}}, idx::IS) - pref = Ref{Ptr{PetscInt}}() - chk(C.ISGetIndices(idx.p, pref)) - inds = Int[i+1 for i in pointer_to_array(pref[], lengthlocal(idx))] - chk(C.ISRestoreIndices(idx.p, pref)) - return inds -end -Base.Set(i::IS) = Set(Vector{Int}(i)) - -export set_blocksize, get_blocksize - -function set_blocksize(is::IS, bs::Integer) - chk(C.ISSetBlockSize(is.p, bs)) -end - -function get_blocksize(is::IS) - bs = Ref{PetscInt}() - chk(C.ISGetBlockSize(is.p, bs)) - return Int(bs[]) -end - -function petscview{T}(is::IS{T}) - viewer = C.PetscViewer{T}(C_NULL) - chk(C.ISView(is.p, viewer)) -end - - -############################################################################### -# we expose a 1 based API, but internally ISLoalToGlobalMappings are zero based - -export ISLocalToGlobalMapping - -type ISLocalToGlobalMapping{T} - p::C.ISLocalToGlobalMapping{T} - function ISLocalToGlobalMapping(p::C.ISLocalToGlobalMapping{T}) - o = new(p) - finalizer(o, PetscDestroy) - return o - end -end - - -# zero based, not exported -function _ISLocalToGlobalMapping{T}(::Type{T}, indices::AbstractArray{PetscInt}, bs=1; comm=MPI_COMM_WORLD, copymode=C.PETSC_COPY_VALUES) - - isltog = Ref{C.ISLocalToGlobalMapping}() - chk(C.ISLocalToGlobalMappingCreate(comm, bs, length(indices), indices, copymode, isltog)) - - return ISLocalToGlobalMapping(isltog[]) -end - -# one based, exported -#TODO: add a data argument to ISLocalToGlobalMapping, to store intermediate -# array for copymode = don't copy -function ISLocalToGlobalMapping{T, I <: Integer}(::Type{T}, indices::AbstractArray{I}, bs=1; comm=MPI_COMM_WORLD, copymode=C.PETSC_COPY_VALUES) - - indices_0 = PetscInt[ i-1 for i in indices] - return _ISLocalToGlobalMapping(t, indices, bs=bs, comm=comm, copymode=copymode) - -end - -function ISLocalToGlobalMapping{T}(is::IS{T}) - - isltog = Ref{C.ISLocalToGlobalMapping{T}}() - chk(C.ISLocalToGlobalMappingCreateIS(is.p, isltog)) - return ISLocalToGlobalMapping{T}(isltog[]) -end - - -comm{T}(a::ISLocalToGlobalMapping{T}) = MPI.Comm(C.PetscObjectComm(T, a.p.pobj)) - -function PetscDestroy{T}(o::ISLocalToGlobalMapping{T}) - PetscFinalized(T) || C.ISLocalToGlobalMappingDestroy(Ref(o.p)) -end - -function petscview{T}(is::ISLocalToGlobalMapping{T}) - viewer = C.PetscViewer{T}(C_NULL) - chk(C.ISLocalToGlobalMappingView(is.p, viewer)) -end - - diff --git a/src/ksp.jl b/src/ksp.jl index 4829021c..d5d4d717 100644 --- a/src/ksp.jl +++ b/src/ksp.jl @@ -1,165 +1,173 @@ -# provide some most commonly used options, leave rest as low level -# common options: Orthogonilization type, KSP type, PC type -# use PC context created as part of KSP - -export KSP, petscview - -########################################################################### - -# solver context -type KSP{T} - p::C.KSP{T} - function KSP(p::C.KSP{T}) - o = new(p) - finalizer(o, PetscDestroy) - return o - end -end -comm{T}(a::KSP{T}) = MPI.Comm(C.PetscObjectComm(T, a.p.pobj)) +const CKSP = Ptr{Cvoid} +const CKSPType = Cstring -function PetscDestroy{T}(o::KSP{T}) - PetscFinalized(T) || C.KSPDestroy(Ref(o.p)) -end -function petscview{T}(o::KSP{T}) - viewer = C.PetscViewer{T}(C_NULL) - chk(C.KSPView(o.p, viewer)) +mutable struct KSP{T} <: Factorization{T} + ptr::Ptr{Cvoid} + comm::MPI.Comm + # keep around so that they don't get gc'ed + A + P + opts::Options{T} end -""" - KSP(A::Mat, PA=A; kws...) - KSP(pc::PC; kws...) - -Create a KSP solver object that can be used to solve equations `Ax=b` with -the matrix `A`, where `PA` (defaults to `A`) is used to construct the -default preconditioner. Alternatively, you can supply a preconditioner -object (`PC`). - -The keyword options are zero or more of the following: - -These control the solver and preconditioner characteristics: -* `ksp_type="a"`: use KSP algorithm `a` -* `ksp_pc_side=n`: set preconditioner side to `PETSc.C.PC_LEFT`, `PETSc.C.PC_RIGHT`, or `PETSc.C.PC_SYMMETRIC` -* `ksp_reuse_preconditioner=true`: use initial preconditioner and don't ever compute a new one -* `ksp_diagonal_scale=true`: symmetrically diagonally scale `A` before solving (note that this *changes* `A` and the right-hand side in a solve, unless you also set `ksp_diagonal_scale_fix=true`) -* `ksp_diagonal_scale_fix=true`: undo diagonal scaling after solve -* `ksp_knoll=true`: use preconditioner applied to `b` for initial guess -* `ksp_constant_null_space=true`: add constant null space to Krylov solver matrix -* `ksp_initial_guess_nonzero=true`: use the contents of initial `x` instead of zero for initial guess -* `ksp_fischer_guess="model,size"`: use Fischer initial guess generator (`model=1` or `2`) for repeated linear solves with subspace of dimension `size` - -The following keyword options control the stopping criteria for -iterative solvers: -* `ksp_rtol=x`: `x` is relative decrease in residual norm -* `ksp_atol=x`: `x` is absolute decrease in residual norm -* `ksp_divtol=x`: `x` is amount residual can increase before method is considered to be diverging -* `ksp_max_it=n`: `n` is the max number of iterations -* `ksp_converged_use_initial_residual_norm=true`: use initial residual norm for computing relative convergence -* `ksp_converged_use_min_initial_residual_norm=true`: use min of initial residual norm and `b` for computing relative convergence -* `ksp_error_if_not_converged=true`: generate error if solver does not converge -* `ksp_convergence_test=:default` or `:skip`: use the default convergence test (tolerances and `max_it`) or skip convergence tests and run until `max_it` is reached -* `ksp_norm_type=n`: in residual tests, use norm type `n`, one of default (`PETSc.C.KSP_NORM_DEFAULT`), none (`PETSc.C.KSP_NORM_NONE`), of the preconditioned residual (`PETSc.C.KSP_NORM_PRECONDITIONED`), the true residual (`PETSc.C.KSP_NORM_UNPRECONDITIONED`), or the "natural" norm (`PETSc.C.KSP_NORM_NATURAL`) -* `ksp_check_norm_iteration=n`: compute residual norm starting on iteration `n` -* `ksp_lag_norm=true`: lag the calculation of the residual norm by one iteration (trades off reduced communication for an additional iteration) - -The following options control output that monitors the progress of the -solver (default none). -* `ksp_monitor=filename`: print the residual norm at each iteration to `filename` (`""` for `STDOUT`) -* `ksp_monitor_short=filename`: print preconditioned residual norm with fewer digits -* `ksp_monitor_range=filename`: prints the percentage of residual elements that are more then 10% of the maximum value -* `ksp_monitor_true_residual=filename`: print true residual norm -* `ksp_monitor_singular_value=filename`: print extreme singular values (via Lanczos or Arnoldi process as the linear system is solved) -* `ksp_monitor_solution=true`: plot solution graphically -* `ksp_monitor_lg_residualnorm=true`: plot preconditioned residual norm graphically -* `ksp_monitor_lg_true_residualnorm=true`: plot preconditioned and true residual norm graphically -* `ksp_monitor_lg_range=true`: plot preconditioned residual norm and range of residual values -* `ksp_monitor_cancel=true`: remove any hardwired monitor routines -* `ksp_compute_singularvalues=true`: print extreme singular values (via Lanczos or Arnoldi process as the linear system is solved) - -In addition, if default preconditioner is being used, -then any of the preconditioner options (see `PC`) can be specified to control -this preconditioner (e.g. `pc_type`). -""" -function KSP{T}(pc::PC{T}; kws...) - ksp_c = Ref{C.KSP{T}}() - chk(C.KSPCreate(comm(pc), ksp_c)) - ksp = ksp_c[] - chk(C.KSPSetPC(ksp, pc.p)) - withoptions(T, kws) do - chk(C.KSPSetFromOptions(ksp)) - end - return KSP{T}(ksp) -end +# allows us to pass XXMat objects directly into CMat ccall signatures +Base.cconvert(::Type{CKSP}, obj::KSP) = obj.ptr +# allows us to pass XXMat objects directly into Ptr{CMat} ccall signatures +Base.unsafe_convert(::Type{Ptr{CKSP}}, obj::KSP) = + convert(Ptr{CKSP}, pointer_from_objref(obj)) -KSP{T}(A::Mat{T}, PA::Mat{T}=A; kws...) = KSP(PC(A, PA; kws...); kws...) +Base.eltype(ksp::KSP{T}) where {T} = T +LinearAlgebra.transpose(ksp) = LinearAlgebra.Transpose(ksp) +LinearAlgebra.adjoint(ksp) = LinearAlgebra.Adjoint(ksp) -# Retrieve a reference to the matrix in the KSP object, as a raw C.Mat -# pointer. Note that we should not wrap this in a Mat object, or -# call MatDestroy on it, without incrementing its reference count first! -function _ksp_A{T}(ksp::KSP{T}) - a = Ref{C.Mat{T}}() - pa = Ref{C.Mat{T}}() - chk(C.KSPGetOperators(ksp.p, a, pa)) - return a[] +const CPC = Ptr{Cvoid} +mutable struct PC{T} + ptr::CPC end +const CPCType = Cstring + +Base.cconvert(::Type{CPC}, obj::PC) = obj.ptr +Base.unsafe_convert(::Type{Ptr{CPC}}, obj::PC) = + convert(Ptr{CPC}, pointer_from_objref(obj)) + +@for_libpetsc begin + function KSP{$PetscScalar}(comm::MPI.Comm; kwargs...) + initialize($PetscScalar) + opts = Options{$PetscScalar}(kwargs...) + ksp = KSP{$PetscScalar}(C_NULL, comm, nothing, nothing, opts) + @chk ccall((:KSPCreate, $libpetsc), PetscErrorCode, (MPI.MPI_Comm, Ptr{CKSP}), comm, ksp) + if comm == MPI.COMM_SELF + finalizer(destroy, ksp) + end + return ksp + end + function destroy(ksp::KSP{$PetscScalar}) + finalized($PetscScalar) || + @chk ccall((:KSPDestroy, $libpetsc), PetscErrorCode, (Ptr{CKSP},), ksp) + return nothing + end + function setoperators!(ksp::KSP{$PetscScalar}, A::AbstractMat{$PetscScalar}, P::AbstractMat{$PetscScalar}) + @chk ccall((:KSPSetOperators, $libpetsc), PetscErrorCode, (CKSP, CMat, CMat), ksp, A, P) + ksp.A = A + ksp.P = P + return nothing + end + + function PC(ksp::KSP{$PetscScalar}) + pc = PC{$PetscScalar}(C_NULL) + @chk ccall((:KSPGetPC, $libpetsc), PetscErrorCode, (CKSP, Ptr{CPC}), ksp, pc) + return pc + end + function settype!(pc::PC{$PetscScalar}, pctype::String) + @chk ccall((:PCSetType, $libpetsc), PetscErrorCode, (CPC, Cstring), pc, pctype) + return nothing + end + function settolerances!(ksp::KSP{$PetscScalar}; rtol=PETSC_DEFAULT, atol=PETSC_DEFAULT, divtol=PETSC_DEFAULT, max_it=PETSC_DEFAULT) + @chk ccall((:KSPSetTolerances, $libpetsc), PetscErrorCode, + (CKSP, $PetscReal, $PetscReal, $PetscReal, $PetscInt), + ksp, rtol, atol, divtol, max_it) + return nothing + end + function setfromoptions!(ksp::KSP{$PetscScalar}) + @chk ccall((:KSPSetFromOptions, $libpetsc), PetscErrorCode, (CKSP,), ksp) + end + + function gettype(ksp::KSP{$PetscScalar}) + t_r = Ref{CKSPType}() + @chk ccall((:KSPGetType, $libpetsc), PetscErrorCode, (CKSP, Ptr{CKSPType}), ksp, t_r) + return unsafe_string(t_r[]) + end + function gettype(pc::PC{$PetscScalar}) + t_r = Ref{CPCType}() + @chk ccall((:PCGetType, $libpetsc), PetscErrorCode, (CPC, Ptr{CPCType}), pc, t_r) + return unsafe_string(t_r[]) + end + function iters(ksp::KSP{$PetscScalar}) + r_its = Ref{$PetscInt}() + @chk ccall((:KSPGetIterationNumber, $libpetsc), PetscErrorCode, + (KSP, Ptr{$PetscInt}), ksp, r_its) + return r_its[] + end + function view(ksp::KSP{$PetscScalar}, viewer::Viewer{$PetscScalar}=ViewerStdout{$PetscScalar}(ksp.comm)) + @chk ccall((:KSPView, $libpetsc), PetscErrorCode, + (CKSP, CPetscViewer), + ksp, viewer); + return nothing + end + + function resnorm(ksp::KSP{$PetscScalar}) + r_rnorm = Ref{$PetscReal}() + @chk ccall((:KSPGetResidualNorm, $libpetsc), PetscErrorCode, + (KSP, Ptr{$PetscReal}), ksp, r_rnorm) + return r_rnorm[] + end + function solve!(x::AbstractVec{$PetscScalar}, ksp::KSP{$PetscScalar}, b::AbstractVec{$PetscScalar}) + with(ksp.opts) do + @chk ccall((:KSPSolve, $libpetsc), PetscErrorCode, + (CKSP, CVec, CVec), ksp, b, x) + end + return x + end + function solve!(x::AbstractVec{$PetscScalar}, tksp::Transpose{T,K}, b::AbstractVec{$PetscScalar}) where {T,K <: KSP{$PetscScalar}} + ksp = parent(tksp) + with(ksp.opts) do + @chk ccall((:KSPSolveTranspose, $libpetsc), PetscErrorCode, + (CKSP, CVec, CVec), ksp, b, x) + end + return x + end +end + +# no generic Adjoint solve defined, but for Real we can use Adjoint +solve!(x::AbstractVec{T}, aksp::Adjoint{T,K}, b::AbstractVec{T}) where {K <: KSP{T}} where {T<:Real} = + solve!(x, transpose(parent(aksp)), b) -# x = A \ b -function Base.A_ldiv_B!{T}(ksp::KSP{T}, b::Vec{T}, x::Vec{T}) +const KSPAT{T} = Union{KSP{T}, Transpose{T, KSP{T}}, Adjoint{T, KSP{T}}} + +LinearAlgebra.ldiv!(x::AbstractVec{T}, ksp::KSPAT{T}, b::AbstractVec{T}) where {T} = solve!(x, ksp, b) +function LinearAlgebra.ldiv!(x::AbstractVector{T}, ksp::KSPAT{T}, b::AbstractVector{T}) where {T} + parent(solve!(AbstractVec(x), ksp, AbstractVec(b))) +end +Base.:\(ksp::KSPAT{T}, b::AbstractVector{T}) where {T} = ldiv!(similar(b), ksp, b) - assemble(_ksp_A(ksp)) - assemble(b) - assemble(x) - chk(C.KSPSolve(ksp.p, b.p, x.p)) +""" + KSP(A, P; options...) - reason = Ref{Cint}() - chk(C.KSPGetConvergedReason(ksp.p, reason)) - reason[] < 0 && warn("KSP solve did not converge") +Construct a PETSc Krylov subspace solver. - return x +Any PETSc options prefixed with `ksp_` and `pc_` can be passed as keywords. +""" +function KSP(A::AbstractMat{T}, P::AbstractMat{T}=A; kwargs...) where {T} + ksp = KSP{T}(A.comm; kwargs...) + setoperators!(ksp, A, P) + with(ksp.opts) do + setfromoptions!(ksp) + end + return ksp end -# x = A.' \ b -# Base.At_ldiv_B! does not exist? the non bang version does -function KSPSolveTranspose!{T}(ksp::KSP{T}, b::Vec{T}, x::Vec{T}) - assemble(_ksp_A(ksp)) - assemble(b) - assemble(x) - - chk(C.KSPSolveTranspose(ksp.p, b.p, x.p)) +Base.show(io::IO, ksp::KSP) = _show(io, ksp) - reason = Ref{Cint}() - chk(C.KSPGetConvergedReason(ksp.p, reason)) - reason[] < 0 && warn("KSP solve did not converge") - return x -end +""" + iters(ksp::KSP) -# is there nice syntax for this? -export KSPSolveTranspose -function KSPSolveTranspose{T}(ksp::KSP{T}, b::Vec{T}) +Gets the current iteration number; if the `solve!` is complete, returns the number of iterations used. - x = similar(b, size(ksp, 1)) - KSPSolveTranspose!(ksp, b, x) - return x -end +https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/KSP/KSPGetIterationNumber.html +""" +iters -function Base.size(ksp::KSP) - m = Ref{PetscInt}() - n = Ref{PetscInt}() - chk(C.MatGetSize(_ksp_A(ksp), m, n)) - (Int(m[]), Int(n[])) -end -Base.size{T}(ksp::KSP{T}, dim::Integer) = dim > 2 ? 1 : size(ksp)[dim] -import Base: \ -(\){T}(ksp::KSP{T}, b::Vec{T}) = A_ldiv_B!(ksp, b, similar(b, size(ksp, 2))) +""" + resnorm(ksp::KSP) -# Mat fallbacks -(\){T}(A::Mat{T}, b::Vec{T}) = KSP(A)\b -Base.A_ldiv_B!{T}(A::Mat{T}, b::Vec{T}, x::Vec{T}) = Base.A_ldiv_B!(KSP(A), b, x) +Gets the last (approximate preconditioned) residual norm that has been computed. -KSPSolveTranspose{T}(A::Mat{T}, b::Vec{T}) = KSPSolveTranspose(KSP(A), b) -KSPSolveTranspose{T}(A::Mat{T}, b::Vec{T}, x::Vec{T}) = KSPSOlveTranspose(KSP(A), x, b) +https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/KSP/KSPGetResidualNorm.html +""" +resnorm diff --git a/src/lib.jl b/src/lib.jl new file mode 100644 index 00000000..0b865995 --- /dev/null +++ b/src/lib.jl @@ -0,0 +1,66 @@ + +using Libdl +const libs = (PETSc_jll.libpetsc, ) + +function initialize(libhdl::Ptr{Cvoid}) + PetscInitializeNoArguments_ptr = dlsym(libhdl, :PetscInitializeNoArguments) + @chk ccall(PetscInitializeNoArguments_ptr, PetscErrorCode, ()) +end + + +function DataTypeFromString(libhdl::Ptr{Cvoid}, name::AbstractString) + PetscDataTypeFromString_ptr = dlsym(libhdl, :PetscDataTypeFromString) + dtype_ref = Ref{PetscDataType}() + found_ref = Ref{PetscBool}() + @chk ccall(PetscDataTypeFromString_ptr, PetscErrorCode, + (Cstring, Ptr{PetscDataType}, Ptr{PetscBool}), + name, dtype_ref, found_ref) + @assert found_ref[] == PETSC_TRUE + return dtype_ref[] +end +function PetscDataTypeGetSize(libhdl::Ptr{Cvoid}, dtype::PetscDataType) + PetscDataTypeGetSize_ptr = dlsym(libhdl, :PetscDataTypeGetSize) + datasize_ref = Ref{Csize_t}() + @chk ccall(PetscDataTypeGetSize_ptr, PetscErrorCode, + (PetscDataType, Ptr{Csize_t}), + dtype, datasize_ref) + return datasize_ref[] +end + +const libtypes = map(libs) do lib + libhdl = dlopen(lib) + initialize(libhdl) + PETSC_REAL = DataTypeFromString(libhdl, "Real") + PETSC_SCALAR = DataTypeFromString(libhdl, "Scalar") + PETSC_INT_SIZE = PetscDataTypeGetSize(libhdl, PETSC_INT) + + PetscReal = + PETSC_REAL == PETSC_DOUBLE ? Cdouble : + PETSC_REAL == PETSC_FLOAT ? Cfloat : + error("PETSC_REAL = $PETSC_REAL not supported.") + + PetscScalar = + PETSC_SCALAR == PETSC_REAL ? PetscReal : + PETSC_SCALAR == PETSC_COMPLEX ? Comlex{PetscReal} : + error("PETSC_SCALAR = $PETSC_SCALAR not supported.") + + PetscInt = + PETSC_INT_SIZE == 4 ? Int32 : + PETSC_INT_SIZE == 8 ? Int64 : + error("PETSC_INT_SIZE = $PETSC_INT_SIZE not supported.") + + # TODO: PetscBLASInt, PetscMPIInt ? + return (lib, PetscScalar, PetscReal, PetscInt) +end + +const scalar_types = map(x -> x[2], libtypes) + +macro for_libpetsc(expr) + quote + for (lib, PetscScalar, PetscReal, PetscInt) in libtypes + @eval esc($expr) + end + end +end + +@for_libpetsc inttype(::Type{$PetscScalar}) = $PetscInt diff --git a/src/mapping.jl b/src/mapping.jl deleted file mode 100644 index fb3d5c75..00000000 --- a/src/mapping.jl +++ /dev/null @@ -1,116 +0,0 @@ -# Application Ordering (AO -# exposes 1-based indexing interface, although there is a zero based interface -# underneath -# this is WIP pending Clang getting AOs right -export AO, map_petsc_to_app!, map_app_to_petsc! -type AO{T} - p::C.AO{T} - - function AO(p::C.AO{T}) - o = new(p) - finalizer(o, PetscDestroy) - return o - end -end - -# zero based, using arrays -function AO_{T}(::Type{T}, app_idx::AbstractArray{PetscInt, 1}, - petsc_idx::AbstractArray{PetscInt, 1}; comm=MPI.COMM_WORLD, basic=true ) - ao_ref = Ref{C.AO{T}}() - if basic # mapping is one-to-one and onto - chk(C.AOCreateBasic(comm, length(app_idx), app_idx, petsc_idx, ao_ref)) - else # worse performance - chk(C.AOCreateMapping(comm, length(app_idx), app_idx, petsc_idx, ao_ref)) - end - - return AO{T}(ao_ref[]) -end - - -# zero based, using index sets -# because index sets are already zero based, this function can be exposed -# directly -function AO{T}( app_idx::IS{T}, petsc_idx::IS{T}; basic=true ) - - ao_ref = Ref{C.AO{T}}() - if basic # mapping is one-to-one and onto - chk(C.AOCreateBasicIS( app_idx.p, petsc_idx.p, ao_ref)) - else # worse performance - chk(C.AOCreateMappingIS(app_idx.p, petsc_idx.p, ao_ref)) - end - - return AO{T}(ao_ref[]) -end - -# one based interface -function AO{T, I1 <: Integer, I2 <: Integer}(::Type{T}, app_idx::AbstractArray{I1, 1}, - petsc_idx::AbstractArray{I2, 1}; comm=MPI.COMM_WORLD, basic=true ) - - app_idx0 = PetscInt[app_idx[i] - 1 for i=1:length(app_idx)] - petsc_idx0 = PetscInt[petsc_idx[i] - 1 for i=1:length(petsc_idx)] - AO_(T, app_idx0, petsc_idx0; comm=comm, basic=basic) -end - - -function PetscDestroy{T}(ao::AO{T}) - - if !PetscFinalized(T) - chk(C.AODestroy(Ref(ao.p))) - ao.p = C.AO{T}(C_NULL) - end -end - -function isfinalized(ao::AO) - return isfinalized(ao.p) -end - -function isfinalized(ao::C.AO) - return ao.pobj == C_NULL -end - -function petscview{T}(ao::AO{T}) - viewer = C.PetscViewer{T}(C_NULL) - chk(C.VecView(ao.p, viewer)) -end - - -############################################################################### -# functions to apply index changes - -function map_petsc_to_app!(ao::AO, idx::AbstractArray) - - # because idx is expected to be modified, here we can decrement in-place - for i=1:length(idx) - idx[i] -= 1 - end - - chk(C.AOPetscToApplication(ao.p, length(idx), idx)) - - # increment back to 1-based indices - for i=1:length(idx) - idx[i] += 1 - end -end - -function map_petsc_to_app!(ao::AO, is::IS) - chk(C.AOPetscToApplicationIS(ao.p, is.p)) -end - -function map_app_to_petsc!(ao::AO, idx::AbstractArray) - - # because idx is expected to be modified, here we can decrement in-place - for i=1:length(idx) - idx[i] -= 1 - end - - chk(C.AOApplicationToPetsc(ao.p, length(idx), idx)) - - # increment back to 1-based indices - for i=1:length(idx) - idx[i] += 1 - end -end - -function map_app_to_petsc!(ao::AO, is::IS) - chk(C.AOApplicationToPetscIS(ao.p, is.p)) -end diff --git a/src/mat.jl b/src/mat.jl index 2005711b..967bf475 100644 --- a/src/mat.jl +++ b/src/mat.jl @@ -1,1491 +1,186 @@ -# AbstractMatrix wrapper around Petsc Mat -export Mat, petscview, SubMat +const CMat = Ptr{Cvoid} -""" - A Petsc matrix. +abstract type AbstractMat{T} <: AbstractMatrix{T} end - Unlike Vecs, the Petsc implementation keeps track of the local assembly - state, so the Julia type does not have to. - `verify_assembled`: if true, verify all processes are assembled, if false, - only local process - `insertmode`: C.InsertMode used by `setindex!` -""" -abstract PetscMat{T} <: AbstractSparseMatrix{T, PetscInt} -type Mat{T} <: PetscMat{T} - p::C.Mat{T} - verify_assembled::Bool # check all processes assembled state or just current - insertmode::C.InsertMode # current mode for setindex! - data::Any # keep a reference to anything needed for the Mat - # -- needed if the Mat is a wrapper around a Julia object, - # to prevent the object from being garbage collected. - function Mat(p::C.Mat{T}, data=nothing; first_instance::Bool=true, verify_assembled=true) - A = new(p, verify_assembled, C.INSERT_VALUES, data) - if first_instance # if the pointer p has not been put into a Mat before - finalizer(A, PetscDestroy) - end - - return A - end -end +# allows us to pass XXMat objects directly into CMat ccall signatures +Base.cconvert(::Type{CMat}, obj::AbstractMat) = obj.ptr +# allows us to pass XXMat objects directly into Ptr{CMat} ccall signatures +Base.unsafe_convert(::Type{Ptr{CMat}}, obj::AbstractMat) = + convert(Ptr{CMat}, pointer_from_objref(obj)) -type SubMat{T} <: PetscMat{T} - p::C.Mat{T} - verify_assembled::Bool - insertmode::C.InsertMode # current mode for setindex! - data::Any # keep a reference to anything needed for the Mat - # -- needed if the Mat is a wrapper around a Julia object, - # to prevent the object from being garbage collected. - # in general, we *must* keep a copy of the parent matrix, because - # creating a submatrix does not increase the reference count - # in Petsc (for some unknown reason) - function SubMat(p::C.Mat{T}, data=nothing; verify_assembled=true) - A = new(p, verify_assembled, C.INSERT_VALUES, data) - finalizer(A, SubMatRestore) - return A - end -end +Base.eltype(::Type{A}) where {A<:AbstractMat{T}} where {T} = T +Base.eltype(A::AbstractMat{T}) where {T} = T """ - Get the communicator for the object -""" -comm{T}(a::PetscMat{T}) = MPI.Comm(C.PetscObjectComm(T, a.p.pobj)) + MatSeqAIJ{T} -""" - Create an empty, unsized matrix -""" -function Mat{T}(::Type{T}, mtype::C.MatType=C.MATSEQAIJ; comm::MPI.Comm=MPI.COMM_WORLD) - p = Ref{C.Mat{T}}() - chk(C.MatCreate(comm, p)) - chk(C.MatSetType(p[], mtype)) - Mat{T}(p[]) -end +PETSc sparse array using AIJ format (also known as a compressed sparse row or CSR format). +Memory allocation is handled by PETSc. """ - Create a matrix of a particular size, optionally specifying the pre-allocation. - If pre-allocation is not specified, no preallocation is done -""" -function Mat{T}(::Type{T}, m::Integer=C.PETSC_DECIDE, n::Integer=C.PETSC_DECIDE; - mlocal::Integer=C.PETSC_DECIDE, nlocal::Integer=C.PETSC_DECIDE, - bs=1, nz::Integer=0, nnz::AbstractVector=PetscInt[], - onz::Integer=0, onnz::AbstractVector=PetscInt[], - comm::MPI.Comm=MPI.COMM_WORLD, - mtype::Symbol=C.MATMPIAIJ) - - mat = Mat(T, mtype, comm=comm) - resize!(mat, m, n, mlocal=mlocal, nlocal=nlocal) - - # don't preallocate unless the user specified to do so, because - # after pre-allocation it is an error to try to change the sparsity pattern - # Before preallocation Petsc will dynamically allocate memory as needed - # slow but flexible. - if nz==0 && onz == 0 && nnz == PetscInt[] && onnz == PetscInt[] - if bs != 1 - set_block_size(mat, bs) - end - chk(C.MatSetUp(mat.p)) - else # preallocate - setpreallocation!(mat, nz=nz, nnz=nnz, onz=onz, onnz=onnz, bs=bs) - end - setoption!(mat, C.MAT_ROW_ORIENTED, false) # julia data is column major - - return mat +mutable struct MatSeqAIJ{T} <: AbstractMat{T} + ptr::CMat + comm::MPI.Comm end """ - Make a MATSEQ Petsc matrix for a SparseMatrixCSC. This preserve the - sparsity pattern of the matrix + MatSeqDense{T} + +PETSc dense array. This wraps a Julia `Matrix{T}` object. """ -function Mat{T}(A::SparseMatrixCSC{T}) - m, n = size(A) +mutable struct MatSeqDense{T} <: AbstractMat{T} + ptr::CMat + comm::MPI.Comm + array::Matrix{T} +end - # count number of non-zeros in each row - nz = zeros(PetscInt, m) - for i=1:n # loop over columns - idx_start = A.colptr[i] - idx_end = A.colptr[i+1]-1 - for j=idx_start:idx_end - rownum = A.rowval[j] - nz[rownum] += 1 - end - end - # create the matrix - PA = Mat(T, m, n, nnz=nz, mtype=C.MATSEQAIJ) - # copy values - # create array large enough to hold all values in a column - maxcol = 0 - for i=1:n - nvals = A.colptr[i+1] - A.colptr[i] - if nvals > maxcol - maxcol = nvals +@for_libpetsc begin + function MatSeqAIJ{$PetscScalar}(m::Integer, n::Integer, nnz::Vector{$PetscInt}) + initialize($PetscScalar) + comm = MPI.COMM_SELF + mat = MatSeqAIJ{$PetscScalar}(C_NULL, comm) + @chk ccall((:MatCreateSeqAIJ, $libpetsc), PetscErrorCode, + (MPI.MPI_Comm, $PetscInt, $PetscInt, $PetscInt, Ptr{$PetscInt}, Ptr{CMat}), + comm, m, n, 0, nnz, mat) + finalizer(destroy, mat) + return mat end - end - idx = Array(PetscInt, maxcol) - idy = PetscInt[0] - - for i=1:n - idy[1] = i-1 - idx_start = A.colptr[i] - idx_end = A.colptr[i+1]-1 - # convert indices to PetscInts, zero-based - pos=1 - for j=idx_start:idx_end - idx[pos] = A.rowval[j] - 1 - pos += 1 + function MatSeqDense(A::Matrix{$PetscScalar}) + initialize($PetscScalar) + comm = MPI.COMM_SELF + mat = MatSeqDense(C_NULL, comm, A) + @chk ccall((:MatCreateSeqDense, $libpetsc), PetscErrorCode, + (MPI.MPI_Comm, $PetscInt, $PetscInt, Ptr{$PetscScalar}, Ptr{CMat}), + comm, size(A,1), size(A,2), A, mat) + finalizer(destroy, mat) + return mat end - # get subarray of only the needed entries - idx_view = sub(idx, 1:(pos-1)) - vals = sub(A.nzval, idx_start:idx_end) - set_values!(PA, idx_view, idy, vals) - end - return PA -end -""" - Construct at MATSEQAIJ from an AbstractArray. The argument droptol is - used to determine what size entry is considered non-zero -""" -function Mat{T}(A::AbstractArray{T}; droptol=0.0) - - m, n = size(A) - - # count non-zeros - nz = zeros(PetscInt, m) - for i=1:n - for j=1:m - val = A[j, i] - if abs(val) > droptol - nz[j] += 1 - end + function destroy(M::AbstractMat{$PetscScalar}) + finalized($PetscScalar) || + @chk ccall((:MatDestroy, $libpetsc), PetscErrorCode, (Ptr{CMat},), M) + return nothing end - end - - # create matrix - PA = Mat(T, m, n, nnz=nz, mtype=C.MATSEQAIJ) - # copy values - maxrow = maximum(nz) - idx = PetscInt[0] - idy = zeros(PetscInt, maxrow) - vals = zeros(T, maxrow) - for i=1:m - idx[1] = i-1 - pos = 1 - for j=1:n - val = A[i, j] - if abs(val) > droptol - idy[pos] = j - 1 - vals[pos] = val - pos += 1 - end + function setvalues!(M::AbstractMat{$PetscScalar}, row0idxs::Vector{$PetscInt}, col0idxs::Vector{$PetscInt}, rowvals::Array{$PetscScalar}, insertmode::InsertMode) + @chk ccall((:MatSetValues, $libpetsc), PetscErrorCode, + (CMat, $PetscInt, Ptr{$PetscInt}, $PetscInt, Ptr{$PetscInt}, Ptr{$PetscScalar},InsertMode), + M, length(row0idxs), row0idxs, length(col0idxs), col0idxs, rowvals, insertmode) + return nothing end - idy_view = sub(idy, 1:(pos-1)) - set_values!(PA, idx, idy_view, vals) - end - - return PA -end - - -""" - Gets the a submatrix that references the entries in the original matrix. - isrow and iscol contain the *local* indicies of the rows and columns to get. - The matrix must have a LocalToGlobalMapping for this to work, therefore a - default one is created if the matrix does not already have one registered. - The default mapping assumes the matrix is divided up into contiguous block - of rows. This is true of AIJ matrices but may not be for other matrix types. -""" -function SubMat{T}(mat::Mat{T}, isrow::IS{T}, iscol::IS{T}) - - # create the local to global mapping for mat first - # this only needs to be done the first time - if !has_local_to_global_mapping(mat) - rmap, cmap = local_to_global_mapping(mat) - set_local_to_global_mapping(mat, rmap, cmap) - end - - # now we can actually create the submatrix - submat = Ref{C.Mat{T}}() - chk(C.MatGetLocalSubMatrix(mat.p, isrow.p, iscol.p, submat)) - # keep the data needed for the finalizer - return SubMat{T}(submat[], (mat, isrow, iscol), verify_assembled=mat.verify_assembled) -end - -export SubMatRestore -function SubMatRestore{T}(smat::SubMat{T}) - - C.MatRestoreLocalSubMatrix(smat.data[1].p, smat.data[2].p, smat.data[3].p, Ref(smat.p)) -end - -##### MatShell functions ##### -export MatShell, setop!, getcontext -""" - Create a high level matrix from an already created matrix pointer -""" -function Mat{T}(ptr::C.Mat{T}) -# this is not type stable. Grr -# sym_arr = Array(Symbol, 1) -# chk(C.MatGetType(ptr, sym_arr)) -# mtype = sym_arr[1] - return Mat{T}(ptr, nothing, first_instance=false) -end - - -""" - Create a shell matrix with specified size. The ctx tuple contains can be - accessed by any callback function. -""" -# must rename this because of (silent) method ambiguity -function MatShell{T}(::Type{T}, mlocal::Integer, nlocal::Integer, ctx::Tuple=(); m::Integer=C.PETSC_DECIDE, n::Integer=C.PETSC_DECIDE, comm=MPI.COMM_WORLD) - - mat_ptr = Ref{C.Mat{T}}() - ctx_ptr = pointer_from_objref(ctx) - chk(C.MatCreateShell(comm, mlocal, nlocal, m, n, ctx_ptr, mat_ptr)) - return Mat{T}(mat_ptr[], ctx) # protect ctx from gc -end - -""" - Provide a callback function for a particular matrix operation. op is a - Petsc enum value inidcating the operation, and func is a void pointer - (obtained from cfunction() ) that performs the operation. - - The function should take the low level Petsc objects (defined in the C module) - rather than the high level ones defined in this file. There are constructors - to create a high level object from a low level one - -""" -function setop!{T}(mat::Mat{T}, op::C.MatOperation, func::Ptr{Void}) - if gettype(mat) != C.MATSHELL - throw(ArgumentError("Mat must be a MatShell")) - end - - chk(C.MatShellSetOperation(mat.p, op, func)) -end - -""" - Get the tuple of user provided data passed in when the shell matrix was - created. -""" -function getcontext(mat::Mat) - if gettype(mat) != C.MATSHELL - throw(ArgumentError("Mat must be a MatShell")) - end - - ctx_ptr = C.MatShellGetContext(mat.p) - return unsafe_pointer_to_objref(ctx_ptr) -end - -""" - Destroy a Mat object and the underlying data structure, if the object - has not already been finalized -""" -function PetscDestroy{T}(mat::Mat{T}) - if !PetscFinalized(T) - C.MatDestroy(Ref(mat.p)) - mat.p = C.Mat{T}(C_NULL) # indicate the vector is finalized - end -end - -""" - Check if PetscDestroy has been called on this object already -""" -function isfinalized(mat::PetscMat) - return isfinalized(mat.p) -end - -function isfinalized(mat::C.Mat) - return mat.pobj == C_NULL -end - -""" - Print a Petsc matrix to STDOUT -""" -function petscview{T}(mat::PetscMat{T}) - viewer = C.PetscViewer{T}(C_NULL) - chk(C.MatView(mat.p, viewer)) -end - -""" - Print a Petsc matrix to a named file, in text format -""" -function petscwrite{T}(mat::PetscMat{T}, fname) - viewer_ref = Ref{C.PetscViewer{T}}() - chk(C.PetscViewerASCIIOpen(comm(mat), fname, viewer_ref)) - chk(C.MatView(mat.p, viewer_ref[])) - chk(C.PetscViewerDestroy(viewer_ref)) -end - - -function set_block_size{T<:Scalar}(A::Mat{T}, bs::Integer) - chk(C.MatSetBlockSize(A.p, bs)) -end - -function get_blocksize{T<:Scalar}(A::Mat{T}) - bs = Ref{PetscInt}() - chk(C.MatGetBlockSize(A.p, bs)) - return Int(bs[]) -end - - -export setoption!, gettype - -""" - Pass values to the Petsc function MatSetOption. Note that the handful of - options that can be passed here should not be confused with those for the - global options database -""" -function setoption!(m::Mat, option::C.MatOption, val::Bool) - chk(C.MatSetOption(m.p, option, PetscBool(val))) - m -end - -""" - Get the format of the matrix. -""" -function gettype(a::PetscMat) - sym_arr = Array(C.MatType, 1) - chk(C.MatGetType(a.p, sym_arr)) - return sym_arr[1] -end - -function Base.resize!(a::Mat, m::Integer=C.PETSC_DECIDE, n::Integer=C.PETSC_DECIDE; - mlocal::Integer=C.PETSC_DECIDE, nlocal::Integer=C.PETSC_DECIDE) - if m == mlocal == C.PETSC_DECIDE - throw(ArgumentError("either the global (m) or local (mlocal) #rows must be specified")) - end - if n == nlocal == C.PETSC_DECIDE - throw(ArgumentError("either the global (n) or local (nlocal) #cols must be specified")) - end - chk(C.MatSetSizes(a.p, mlocal, nlocal, m, n)) - a -end - -""" - Preallocates the sparsity pattern for (B)AIJ matrices. -""" -function setpreallocation!{T}(a::Mat{T}; - nz::Integer=16, nnz::AbstractVector=PetscInt[], - onz::Integer=0, onnz::AbstractVector=PetscInt[], - bs::Integer=1) - MType = gettype(a) - if MType == C.MATSEQAIJ - pnnz = if isempty(nnz) - Ptr{PetscInt}(0) - else - if length(nnz) != size(a,1) - throw(ArgumentError("length(nnz) must be # rows")) - end - isa(nnz,Vector{PetscInt}) ? nnz : PetscInt[ i for i in nnz ] - end - chk(C.MatSeqAIJSetPreallocation(a.p, nz, pnnz)) - elseif MType == C.MATMPIAIJ - mlocal = sizelocal(a,1) - pnnz = if isempty(nnz) - Ptr{PetscInt}(0) - else - if length(nnz) != mlocal - throw(ArgumentError("length(nnz) must be # local rows")) - end - isa(nnz,Vector{PetscInt}) ? nnz : PetscInt[ i for i in nnz ] - end - ponnz = if isempty(onnz) - Ptr{PetscInt}(0) - else - if length(onnz) != mlocal - throw(ArgumentError("length(onnz) must be # local rows")) - end - isa(onnz,Vector{PetscInt}) ? onnz : PetscInt[ i for i in onnz ] - end - chk(C.MatMPIAIJSetPreallocation(a.p, nz, pnnz, onz, ponnz)) - elseif MType == C.MATMPIBAIJ - mlocal = sizelocal(a,1) - pnnz = if isempty(nnz) - Ptr{PetscInt}(0) - else - if length(nnz) != mlocal - throw(ArgumentError("length(nnz) must be # local rows")) - end - isa(nnz,Vector{PetscInt}) ? nnz : PetscInt[ i for i in nnz ] - end - ponnz = if isempty(onnz) - Ptr{PetscInt}(0) - else - if length(onnz) != mlocal - throw(ArgumentError("length(onnz) must be # local rows")) - end - isa(onnz,Vector{PetscInt}) ? onnz : PetscInt[ i for i in onnz ] - end - chk(C.MatMPIBAIJSetPreallocation(a.p, bs, nz, pnnz, onz, ponnz)) - elseif MType == C.MATMPISBAIJ - mlocal = sizelocal(a,1) - pnnz = if isempty(nnz) - Ptr{PetscInt}(0) - else - if length(nnz) != mlocal - throw(ArgumentError("length(nnz) must be # local rows")) - end - isa(nnz,Vector{PetscInt}) ? nnz : PetscInt[ i for i in nnz ] - end - ponnz = if isempty(onnz) - Ptr{PetscInt}(0) - else - if length(onnz) != mlocal - throw(ArgumentError("length(onnz) must be # local rows")) - end - isa(onnz,Vector{PetscInt}) ? onnz : PetscInt[ i for i in onnz ] + function Base.setindex!(M::AbstractMat{$PetscScalar}, val, i::Integer, j::Integer) + @chk ccall((:MatSetValues, $libpetsc), PetscErrorCode, + (CMat, $PetscInt, Ptr{$PetscInt}, $PetscInt, Ptr{$PetscInt}, Ptr{$PetscScalar}, InsertMode), + M, 1, Ref{$PetscInt}(i-1), 1, Ref{$PetscInt}(j-1), Ref{$PetscScalar}(val), INSERT_VALUES) + return val end - chk(C.MatMPISBAIJSetPreallocation(a.p, bs, nz, pnnz, onz, ponnz)) - elseif MType == C.MATBLOCKMAT - pnnz = if isempty(nnz) - Ptr{PetscInt}(0) - else - if length(nnz) != size(a,1) - throw(ArgumentError("length(nnz) must be # rows")) - end - isa(nnz,Vector{PetscInt}) ? nnz : PetscInt[ i for i in nnz ] - end - chk(C.MatBlockMatSetPreallocation(a.p, bs, nz, pnnz)) - elseif MType == C.MATSEQBAIJ - pnnz = if isempty(nnz) - Ptr{PetscInt}(0) - else - if length(nnz) != size(a,1) - throw(ArgumentError("length(nnz) must be # rows")) - end - isa(nnz,Vector{PetscInt}) ? nnz : PetscInt[ i for i in nnz ] - end - chk(C.MatSeqBAIJSetPreallocation(a.p, bs, nz, pnnz)) - elseif MType == C.MATSEQSBAIJ - pnnz = if isempty(nnz) - Ptr{PetscInt}(0) - else - if length(nnz) != size(a,1) - throw(ArgumentError("length(nnz) must be # rows")) - end - isa(nnz,Vector{PetscInt}) ? nnz : PetscInt[ i for i in nnz ] - end - chk(C.MatSeqSBAIJSetPreallocation(a.p, bs, nz, pnnz)) - else # TODO - throw(ArgumentError("unsupported matrix type $T")) - end - a -end - -""" - Maps Matrix formats to the corresponding vector format -""" -# construct Vec for multiplication by a::Mat or transpose(a::Mat) -const mat2vec = Dict{C.MatType, C.MatType}( :mpiaij => :aij, :seqaij => :seq ) - -""" - Construct a vector suitable for multiplying by the given matrix -""" -Vec{T2}(a::PetscMat{T2}, transposed=false) = - transposed ? Vec(T2, size(a,1), comm=comm(a), T=mat2vec[gettype(a)], - mlocal=sizelocal(a,1)) : - Vec(T2, size(a,2), comm=comm(a), T=mat2vec[gettype(a)], - mlocal=sizelocal(a,2)) - -############################################################################# -Base.convert(::Type{C.Mat}, a::PetscMat) = a.p - -export sizelocal, localranges, lengthlocal - -""" - Returns the global dimensions of the matrix -""" -function Base.size(a::PetscMat) - m = Ref{PetscInt}() - n = Ref{PetscInt}() - chk(C.MatGetSize(a.p, m, n)) - (Int(m[]), Int(n[])) -end -""" - Returns the local dimensions of the matrix -""" -function sizelocal(a::PetscMat) - m = Ref{PetscInt}() - n = Ref{PetscInt}() - chk(C.MatGetLocalSize(a.p, m, n)) - (Int(m[]), Int(n[])) -end -""" - This function returns two Range object corresponding the global indices - of the rows and columns of the matrix A. - - The function has the same limiations as Petsc's MatGetOwnershipRange, - in that it assumes the rows of the matrix are divided up contigously. -""" -function localranges(a::PetscMat) - start_ref = Ref{PetscInt}() - end_1_ref = Ref{PetscInt}() - chk(C.MatGetOwnershipRange(a.p, start_ref, end_1_ref)) - start_idx = start_ref[] + 1 # convert to 1 based index - end_idx = end_1_ref[] # subtract 1 because petsc supplies 1 past the end, - # then add 1 to convert to 1 based index - - return start_idx:end_idx, 1:size(a, 2) -end - -""" - Similar to localpart, but returns the range of block indices -""" -function localpart_block(A::Mat) - low = Ref{PetscInt}() - high = Ref{PetscInt}() - chk(C.MatGetOwnershipRange(A.p, low, high)) - bs = get_blocksize(A) - low_b = div(low[], bs); high_b = div(high[]-1, bs) - rows = (low_b+1):(high_b+1) - cols = 1:div(size(A, 2), bs) - - return rows, cols -end - - - -""" - Constructs 2 index sets that map from the local row and columns to the - global rows and columns -""" -function localIS{T}(A::PetscMat{T}) - - rows, cols = localranges(A) - rowis = IS(T, rows, comm=comm(A)) - colis = IS(T, cols, comm=comm(A)) - return rowis, colis -end - -""" - Like localIS, but returns a block index IS -""" -function localIS_block{T}(A::Mat{T}) - rows, cols = localpart_block(A) - bs = get_blocksize(A) - rowis = ISBlock(T, bs, rows, comm=comm(A)) - colis = ISBlock(T, bs, cols, comm=comm(A)) -# set_blocksize(rowis, get_blocksize(A)) - return rowis, colis -end - - -""" - Construct ISLocalToGlobalMappings for the the rows and columns of the matrix -""" -function local_to_global_mapping(A::PetscMat) - - # localIS creates strided index sets, which require only constant - # memory - if get_blocksize(A) == 1 - rowis, colis = localIS(A) - else - rowis, colis = localIS_block(A) - end - row_ltog = ISLocalToGlobalMapping(rowis) - col_ltog = ISLocalToGlobalMapping(colis) - return row_ltog, col_ltog -end - -# need a better name -""" - Registers the ISLocalToGlobalMappings with the matrix -""" -function set_local_to_global_mapping{T}(A::PetscMat{T}, rmap::ISLocalToGlobalMapping{T}, cmap::ISLocalToGlobalMapping{T}) - - chk(C.MatSetLocalToGlobalMapping(A.p, rmap.p, cmap.p)) -end - -""" - Check if the local to global mappings have been registered -""" -function has_local_to_global_mapping{T}(A::PetscMat{T}) - - rmap_ref = Ref{C.ISLocalToGlobalMapping{T}}() - cmap_ref = Ref{C.ISLocalToGlobalMapping{T}}() - chk(C.MatGetLocalToGlobalMapping(A.p, rmap_ref, cmap_ref)) - - rmap = rmap_ref[] - cmap = cmap_ref[] - - return rmap.pobj != C_NULL && cmap.pobj != C_NULL -end - -""" - prod(sizelocal)) -""" -lengthlocal(a::PetscMat) = prod(sizelocal(a)) - -# this causes the assembly state of the underlying petsc matrix to be copied -function Base.similar{T}(a::PetscMat{T}) - p = Ref{C.Mat{T}}() - chk(C.MatDuplicate(a.p, C.MAT_DO_NOT_COPY_VALUES, p)) - Mat{T}(p[]) -end - -Base.similar{T}(a::PetscMat{T}, ::Type{T}) = similar(a) - -# TODO: make T2 -> Type{T2} -function Base.similar{T}(a::PetscMat{T}, T2::Type) - MType = gettype(a) - return Mat(T2, size(a)..., comm=comm(a), mtype=MType) -end - -function Base.similar{T}(a::PetscMat{T}, T2::Type, m::Integer, n::Integer) - MType = gettype(a) - (m,n) == size(a) && T2==T ? similar(a) : Mat(T2, m,n, comm=comm(a), mtype=MType) -end - -Base.similar{T}(a::PetscMat{T}, m::Integer, n::Integer) = similar(a, T, m, n) -Base.similar(a::PetscMat, T::Type, d::Dims) = similar(a, T, d...) -Base.similar{T}(a::PetscMat{T}, d::Dims) = similar(a, T, d) - -function Base.copy{T}(a::PetscMat{T}) - p = Ref{C.Mat{T}}() - chk(C.MatDuplicate(a.p, C.MAT_COPY_VALUES, p)) - Mat{T}(p[]) -end - -""" - Get the MatInfo struct for the matrix -""" -function getinfo(m::Mat, infotype::Integer=C.MAT_GLOBAL_SUM) - info = Ref{C.MatInfo}() - chk(C.MatGetInfo(m.p, C.MatInfoType(infotype), info)) - info[] -end - -""" - Number of non-zero entries that have been assigned to -""" -Base.nnz(m::Mat) = Int(getinfo(m).nz_used) - -############################################################################# - -# for efficient matrix assembly, put all calls to A[...] = ... inside -# assemble(A) do ... end -""" - Start assembling the matrix (the implmentations probably post - non-blocking sends and received) - -""" -function AssemblyBegin(x::PetscMat, t::C.MatAssemblyType=C.MAT_FLUSH_ASSEMBLY) - chk(C.MatAssemblyBegin(x.p, t)) -end - -""" - Finish assembling the matrix -""" -function AssemblyEnd(x::PetscMat, t::C.MatAssemblyType=C.MAT_FLUSH_ASSEMBLY) - chk(C.MatAssemblyEnd(x.p, t)) -end - -""" - Check if the matrix is assembled or not -""" -function isassembled(p::C.Mat) - b = Ref{PetscBool}() - chk(C.MatAssembled(p, b)) - return b[] != 0 -end - -""" - Check if the matrix is assembled. Whether all processes assembly state - is checked or only the local process is determined by `x.verify_assembled`. - - `local_only` forces only the local process to be checked, regardless of - `x.verify_assembled`. -""" -function isassembled(x::PetscMat; local_only=false) - val = isassembled(x.p) - if !local_only - if x.verify_assembled - val = MPI.Allreduce(Int8(val), MPI.LAND, comm(x)) + function assemblybegin(M::AbstractMat{$PetscScalar}, t::MatAssemblyType=MAT_FINAL_ASSEMBLY) + @chk ccall((:MatAssemblyBegin, $libpetsc), PetscErrorCode, (CMat, MatAssemblyType), M, t) + return nothing end - end - - return Bool(val) -end - -""" - This function provides a mechanism for efficiently inserting values into - and then assembling Petsc matrices and vectors. The function f must be a - zero argument function. - - This function can be used with the do block syntax. -""" -function assemble(f::Function, x::Union{Vec,PetscMat}, - insertmode=x.insertmode, - assemblytype::C.MatAssemblyType=C.MAT_FINAL_ASSEMBLY) - if x.insertmode != insertmode && !isassembled(x, local_only=true) - error("nested assemble with different insertmodes not allowed") - end - old_insertmode = x.insertmode - try # what is the purpose of the try - finally? - x.insertmode = insertmode - result = f() - return result - finally - AssemblyBegin(x, assemblytype) - yield() # do async computations while messages are in transit - AssemblyEnd(x, assemblytype) - x.insertmode = old_insertmode - end -end - -# force assembly even if it might not be necessary -""" - Assemble the Petsc object -""" -function assemble(x::AbstractArray, t::C.MatAssemblyType=C.MAT_FINAL_ASSEMBLY) - AssemblyBegin(x, t) - AssemblyEnd(x,t) -end - - -# in ksp solve we need to finalize assembly from raw pointer: -""" - Low level assemble function -""" -function assemble(p::C.Mat, t::C.MatAssemblyType=C.MAT_FINAL_ASSEMBLY) - if !isassembled(p) - chk(C.MatAssemblyBegin(p, t)) - chk(C.MatAssemblyEnd(p, t)) - end - return nothing -end - -# intermediate assembly, before it is finally compressed for use -""" - Perform a flush assembly (take stashed values and put them into the matrix, - but don't squeeze out any preallocated space that has not been used yet -""" -iassemble(x::Union{Vec,PetscMat}) = assemble(() -> nothing, x, x.insertmode, C.MAT_FLUSH_ASSEMBLY) -iassemble(f::Function, x::PetscMat, insertmode=x.insertmode) = - assemble(f, x, insertmode, C.MAT_FLUSH_ASSEMBLY) - -iassemble(x::AbstractArray) = assemble(x, C.MAT_FLUSH_ASSEMBLY) - -# like x[i,j] = v, but requires i,j to be 0-based indices for Petsc -function setindex0!{T}(x::Mat{T}, v::Array{T}, - i::Array{PetscInt}, j::Array{PetscInt}) - ni = length(i) - nj = length(j) - if length(v) != ni*nj - throw(ArgumentError("length(values) != length(indices)")) - end - chk(C.MatSetValues(x.p, ni, i, nj, j, v, x.insertmode)) - x -end - -# like setindex0 above, but for submatrices. the indices i and j must -# be *local* indices -function setindex0!{T}(x::SubMat{T}, v::Array{T}, i::Array{PetscInt}, j::Array{PetscInt}) - ni = length(i) - nj = length(j) - if length(v) != ni*nj - throw(ArgumentError("length(values) != length(indices)")) - end - chk(C.MatSetValuesLocal(x.p, ni, i, nj, j, v, x.insertmode)) - x -end - -import Base: setindex! - -function setindex!{T}(x::PetscMat{T}, v::Number, i::Integer, j::Integer) - # can't call MatSetValue since that is a static inline function - setindex0!(x, T[ v ], - PetscInt[ i - 1 ], - PetscInt[ j - 1 ]) - v -end -function setindex!{T3, T1<:Integer, T2<:Integer}(x::PetscMat{T3}, v::Array{T3}, - I::AbstractArray{T1}, - J::AbstractArray{T2}) - I0 = PetscInt[ i-1 for i in I ] - J0 = PetscInt[ j-1 for j in J ] - setindex0!(x, v, I0, J0) -end -function setindex!{T2, T<:Integer}(x::PetscMat{T2}, v::Array{T2}, - i::Integer, J::AbstractArray{T}) - I0 = PetscInt[ i-1 ] - J0 = PetscInt[ j-1 for j in J ] - setindex0!(x, v, I0, J0) -end -function setindex!{T2, T<:Real}(x::PetscMat{T2}, v::Array{T2}, - I::AbstractArray{T}, j::Integer) - I0 = PetscInt[ i-1 for i in I ] - J0 = PetscInt[ j-1 ] - setindex0!(x, v, I0, J0) -end - -setindex!{T1<:Integer, T2<:Integer}(x::PetscMat, v::Number, -I::AbstractArray{T1}, -J::AbstractArray{T2}) = iassemble(x) do - for i in I - for j in J - x[i,j] = v + function assemblyend(M::AbstractMat{$PetscScalar}, t::MatAssemblyType=MAT_FINAL_ASSEMBLY) + @chk ccall((:MatAssemblyEnd, $libpetsc), PetscErrorCode, (CMat, MatAssemblyType), M, t) + return nothing end - end - x -end -setindex!{T<:Integer}(x::PetscMat, v::Number, -i::Integer, J::AbstractArray{T}) = iassemble(x) do - for j in J - x[i,j] = v - end - x -end -setindex!{T<:Integer}(x::PetscMat, v::Number, -I::AbstractArray{T}, j::Integer) = iassemble(x) do - for i in I - x[i,j] = v - end - x -end - -function setindex!{T0<:Number, T1<:Integer, T2<:Integer}(x::PetscMat, v::AbstractArray{T0}, - I::AbstractArray{T1}, - J::AbstractArray{T2}) - if length(v) != length(I)*length(J) - throw(ArgumentError("length(values) != length(indices)")) - end - v0 = eltype(Mat)[ z for z in v ] - setindex!(x, v0, I, J) -end - -# fill! is not a very sensible function to call for sparse matrices, -# but we might as well have it, especially for the v=0 case -""" - Fill the matrix with the specified values. - - Currently, this function either destroys the sparsity pattern or - gives an error, unless v = 0, in which case it zeros out the non-zero - entries without changing the sparsity pattern -""" -function Base.fill!(x::PetscMat, v::Number) - if v == 0 - chk(C.MatZeroEntries(x.p)) - else - # FIXME: don't write to non-allocated entries - iassemble(x) do - rows, cols = localranges(x) - for i in rows - for j in cols - x[i,j] = v - end - end + function view(mat::AbstractMat{$PetscScalar}, viewer::Viewer{$PetscScalar}=ViewerStdout{$PetscScalar}(mat.comm)) + @chk ccall((:MatView, $libpetsc), PetscErrorCode, + (CMat, CPetscViewer), + mat, viewer); + return nothing end - end - return x -end - -############################################################################# -import Base.getindex - -# like getindex but for 0-based indices i and j -function getindex0{T}(x::Mat{T}, i::Vector{PetscInt}, j::Vector{PetscInt}) - ni = length(i) - nj = length(j) - v = Array(T, nj, ni) # row-major! - chk(C.MatGetValues(x.p, ni, i, nj, j, v)) - ni <= 1 || nj <= 1 ? reshape(v, ni, nj) : transpose(v) -end -getindex(a::PetscMat, i0::Integer, i1::Integer) = - getindex0(a, PetscInt[ i0-1 ], PetscInt[ i1-1 ])[1] -getindex{T0<:Integer,T1<:Integer}(a::PetscMat, I0::AbstractArray{T0}, I1::AbstractArray{T1}) = - getindex0(a, PetscInt[ i0-1 for i0 in I0 ], PetscInt[ i1-1 for i1 in I1 ]) - -getindex{T0<:Integer}(a::PetscMat, I0::AbstractArray{T0}, i1::Integer) = - reshape(getindex0(a, PetscInt[ i0-1 for i0 in I0 ], PetscInt[ i1-1 ]), length(I0)) - -getindex{T1<:Integer}(a::PetscMat, i0::Integer, I1::AbstractArray{T1}) = - getindex0(a, PetscInt[ i0-1 ], PetscInt[ i1-1 for i1 in I1 ]) - -############################################################################# -# zero based indexing -#TODO: in 0.5, use boundscheck macro to verify stride=1 - -# global, non-block -function set_values!{T <: Scalar}(x::Mat{T}, idxm::StridedVecOrMat{PetscInt}, idxn::StridedVecOrMat{PetscInt}, v::StridedVecOrMat{T}, o::C.InsertMode=x.insertmode) - # v should be m x n - - chk(C.MatSetValues(x.p, length(idxm), idxm, length(idxn), idxn, v, o)) -end - -function set_values!{T <: Scalar, I1 <: Integer, I2 <: Integer}(x::Mat{T}, idxm::StridedVecOrMat{I1}, idxn::StridedVecOrMat{I2}, v::StridedVecOrMat{T}, o::C.InsertMode=x.insertmode) - - _idxm = PetscInt[ i for i in idxm] - _idxn = PetscInt[ i for i in idxn] - set_values!(x, _idxm, _idxn, v, o) -end - -function set_values!(x::Matrix, idxm::AbstractArray, idxn::AbstractArray, v::AbstractArray, o::C.InsertMode=C.INSERT_VALUES) - if o == C.INSERT_VALUES - for col = 1:length(idxn) - colidx = idxn[col] - for row = 1:length(idxm) - rowidx = idxm[row] - x[rowidx+1, colidx+1] = v[row, col] - end + function Base.size(A::AbstractMat{$PetscScalar}) + m = Ref{$PetscInt}() + n = Ref{$PetscInt}() + @chk ccall((:MatGetSize, libpetsc), PetscErrorCode, + (CMat, Ptr{$PetscInt}, Ptr{$PetscInt}), + A, m, n) + return (m[], n[]) end - else - for col = 1:length(idxn) - colidx = idxn[col] - for row = 1:length(idxm) - rowidx = idxm[row] - x[rowidx+1, colidx+1] += v[row, col] - end + function Base.:(==)(A::AbstractMat{$PetscScalar}, B::AbstractMat{$PetscScalar}) + fr = Ref{PetscBool}() + @chk ccall((:MatEqual, $libpetsc), PetscErrorCode, + (CMat, CMat, Ptr{PetscBool}), + A, B, fr) + return fr[] == PETSC_TRUE end - end - -end - - -# global, block -function set_values_blocked!{T <: Scalar}(x::Mat{T}, idxm::StridedVecOrMat{PetscInt}, idxn::StridedVecOrMat{PetscInt}, v::StridedVecOrMat{T}, o::C.InsertMode=x.insertmode) - - # vals should be m*bs x n*bs - chk(C.MatSetValuesBlocked(x.p, length(idxm), idxm, length(idxn), idxn, v, o)) -end - -function set_values_blocked!{T <: Scalar, I1 <: Integer, I2 <: Integer}(x::Mat{T}, idxm::StridedVecOrMat{I1}, idxn::StridedVecOrMat{I2}, v::StridedVecOrMat{T}, o::C.InsertMode=x.insertmode) - - _idxm = PetscInt[ i for i in idxm] - _idxn = PetscInt[ i for i in idxn] - set_values_blocked!(x, _idxm, _idxn, v, o) -end - -# local, non-block -function set_values_local!{T <: Scalar}(x::Mat{T}, idxm::StridedVecOrMat{PetscInt}, idxn::StridedVecOrMat{PetscInt}, v::StridedVecOrMat{T}, o::C.InsertMode=x.insertmode) - - chk(C.MatSetValuesLocal(x.p, length(idxm), idxm, length(idxn), idxn, v, o)) -end - -function set_values_local!{T <: Scalar, I1 <: Integer, I2 <: Integer}(x::Mat{T}, idxm::StridedVecOrMat{I1}, idxn::StridedVecOrMat{I2}, v::StridedVecOrMat{T}, o::C.InsertMode=x.insertmode) - - _idxm = PetscInt[ i for i in idxm] - _idxn = PetscInt[ i for i in idxn] - set_values_local!(x, idxm, idxn, v, o) -end - -function set_values_local!(x::Matrix, idxm::AbstractArray, idxn::AbstractArray, v::AbstractArray, o::C.InsertMode=C.INSERT_VALUES) - - set_values!(x, idxm, idxn, v, o) -end - -# local, block -function set_values_blocked_local!{T <: Scalar}(x::Mat{T}, idxm::StridedVecOrMat{PetscInt}, idxn::StridedVecOrMat{PetscInt}, v::StridedVecOrMat{T}, o::C.InsertMode=x.insertmode) - - chk(C.MatSetValuesBlockedLocal(x.p, length(idxm), idxm, length(idxn), idxn, v, o)) -end - -function set_values_blocked_local!{T <: Scalar, I1 <: Integer, I2 <: Integer}(x::Mat{T}, idxm::StridedVecOrMat{I1}, idxn::StridedVecOrMat{I2}, v::StridedVecOrMat{T}, o::C.InsertMode=x.insertmode) - - _idxm = PetscInt[ i for i in idxm] - _idxn = PetscInt[ i for i in idxn] - set_values_blocked_local!(x, _idxm, _idxn, v, o) -end - - -############################################################################### -# transposition etc. - -export MatTranspose - -""" - Create a dense Julia matrix for a Petsc sparse matrix. This only works - for SEQ matrices -""" -function Base.full(a::PetscMat) - m,n = size(a) - a[1:m, 1:n] -end - -#= -""" - create a new matrix wrapping around A for matrix-vector multiplication - but which does not actually require new storage -""" -=# -for (f,pf) in ((:MatTranspose,:MatCreateTranspose), # acts like A.' - (:MatNormal, :MatCreateNormal)) # acts like A'*A - pfe = Expr(:quote, pf) - @eval function $f{T}(a::PetscMat{T}) - p = Ref{C.Mat{T}}() - chk(C.$pf(a.p, p)) - Mat{T}(p[], a) - end -end - -for (f,pf) in ((:transpose,:MatTranspose),(:ctranspose,:MatHermitianTranspose)) - fb = symbol(string(f,"!")) - pfe = Expr(:quote, pf) - @eval begin - function Base.$fb(a::PetscMat) - pa = [a.p] - chk(C.$pf(a.p, C.MAT_REUSE_MATRIX, pa)) - a + + function LinearAlgebra.issymmetric(A::AbstractMat{$PetscScalar}; tol=zero($PetscReal)) + fr = Ref{PetscBool}() + @chk ccall((:MatIsSymmetric, $libpetsc), PetscErrorCode, + (CMat, $PetscReal, Ptr{PetscBool}), + A, tol, fr) + return fr[] == PETSC_TRUE + end + function LinearAlgebra.ishermitian(A::AbstractMat{$PetscScalar}; tol=zero($PetscReal)) + fr = Ref{PetscBool}() + @chk ccall((:MatIsHermitian, $libpetsc), PetscErrorCode, + (CMat, $PetscReal, Ptr{PetscBool}), + A, tol, fr) + return fr[] == PETSC_TRUE + end + function LinearAlgebra.norm(M::AbstractMat{$PetscScalar}, normtype::NormType=NORM_FROBENIUS) + r_val = Ref{$PetscReal}() + @chk ccall((:MatNorm, $libpetsc), PetscErrorCode, + (CMat, NormType, Ptr{$PetscReal}), + M, normtype, r_val) + return r_val[] end - - function Base.$f{T}(a::PetscMat{T}) - p = Ref{C.Mat{T}}() - chk(C.$pf(a.p, C.MAT_INITIAL_MATRIX, p)) - Mat{T}(p[]) + + function LinearAlgebra.mul!(y::AbstractVec{$PetscScalar}, M::AbstractMat{$PetscScalar}, x::AbstractVec{$PetscScalar}) + @chk ccall((:MatMult, $libpetsc), PetscErrorCode, (CMat, CVec, CVec), M, x, y) + return y end - end -end - -function Base.conj!(a::PetscMat) - chk(C.MatConjugate(a.p)) - a -end -Base.conj(a::PetscMat) = conj!(copy(a)) - -############################################################################# -# simple math operations - -# skip for now -#= -function chop!(x::Mat, tol::Real) -chk(ccall((:MatChop, petsc), PetscErrorCode, (pMat, PetscReal), x, tol)) -x -end -=# - -import Base: .*, ./, .\, *, +, -, == -import Base.LinAlg: At_mul_B, At_mul_B!, Ac_mul_B, Ac_mul_B!, A_mul_Bt, A_mul_Bt! - -function Base.trace{T}(A::PetscMat{T}) - t = Ref{T}() - chk(C.MatGetTrace(A.p,t)) - return t[] -end - -function Base.real{T<:Complex}(A::PetscMat{T}) - N = copy(A) - chk(C.MatRealPart(N.p)) - return N -end -Base.real{T<:Real}(A::PetscMat{T}) = A - -function Base.imag{T<:Complex}(A::PetscMat{T}) - N = copy(A) - chk(C.MatImaginaryPart(N.p)) - return N -end - -function Base.LinAlg.ishermitian{T}(A::PetscMat{T}, tol::Real=eps(real(float(one(T))))) - bool_arr = Ref{PetscBool}() - chk(C.MatIsHermitian(A.p, tol, bool_arr)) - return bool_arr[] != 0 -end - -function Base.LinAlg.issym{T}(A::PetscMat{T}, tol::Real=eps(real(float(one(T))))) - bool_arr = Ref{PetscBool}() - chk(C.MatIsSymmetric(A.p, tol, bool_arr)) - return bool_arr[] != 0 -end - -#currently ONLY gets the main diagonal -function Base.diag{T}(A::PetscMat{T},vtype::C.VecType=C.VECSEQ) - m = size(A, 1) - b = Vec(T, m, vtype=vtype, comm=comm(A), mlocal=sizelocal(A,1)) - chk(C.MatGetDiagonal(A.p,b.p)) - return b -end - -function (*){T}(A::PetscMat{T}, x::Vec{T}) - m = size(A, 1) - MType = gettype(x) - b = Vec(T, m, vtype=MType, comm=comm(A), mlocal=sizelocal(A,1)) - chk(C.MatMult(A.p, x.p, b.p)) - return b -end - -function (*){T,}(A::PetscMat{T}, x::Vec{T}, b::Vec{T}) - chk(C.MatMult(A.p, x.p, b.p)) - return b -end - - - -function (.*){T}(A::PetscMat{T}, x::Number) - Y = copy(A) - chk(C.MatScale(Y.p, T(x))) - return Y -end -(.*){T}(x::Number, A::PetscMat{T}) = A .* x -(./){T}(A::PetscMat{T}, x::Number) = A .* inv(x) -(.\){T}(x::Number, A::PetscMat{T}) = A .* inv(x) - -function (*){T}(A::PetscMat{T}, B::PetscMat{T}) - p = Ptr{Float64}(0) - p_arr = Ref{C.Mat{T}}() - chk(C.MatMatMult(A.p, B.p, C.MAT_INITIAL_MATRIX, real(T)(C.PETSC_DEFAULT), p_arr)) - new_mat = Mat{T}(p_arr[]) - return new_mat -end - -#these two only work for SEQAIJ -function At_mul_B{T}(A::PetscMat{T}, B::PetscMat{T}) - p = Ptr{Float64}(0) - p_arr = Ref{C.Mat{T}}() - chk(C.MatTransposeMatMult(A.p, B.p, C.MAT_INITIAL_MATRIX, real(T)(C.PETSC_DEFAULT), p_arr)) - new_mat = Mat{T}(p_arr[]) - return new_mat -end - -function A_mul_Bt{T}(A::PetscMat{T}, B::PetscMat{T}) - p = Ptr{Float64}(0) - p_arr = Ref{C.Mat{T}}() - chk(C.MatMatTransposeMult(A.p, B.p, C.MAT_INITIAL_MATRIX, real(T)(C.PETSC_DEFAULT), p_arr)) - new_mat = Mat{T}(p_arr[]) - return new_mat -end - -function At_mul_B!{T}(A::PetscMat{T}, x::Vec{T}, y::Vec{T}) - chk(C.MatMultTranspose(A.p, x.p, y.p)) - return y -end - -function At_mul_B{T}(A::PetscMat{T}, x::Vec{T}) - m = size(A, 1) - MType = gettype(x) - b = Vec(T, m, vtype=MType, comm=comm(A), mlocal=sizelocal(A,1)) - chk(C.MatMultTranspose(A.p, x.p, b.p)) - return b -end - -function Ac_mul_B!{T}(A::PetscMat{T}, x::Vec{T}, y::Vec{T}) - chk(C.MatMultHermitianTranspose(A.p, x.p, y.p)) - return y -end - -function Ac_mul_B{T}(A::PetscMat{T}, x::Vec{T}) - m = size(A, 1) - MType = gettype(x) - b = Vec(T, m, vtype=MType, comm=comm(A), mlocal=sizelocal(A,1)) - chk(C.MatMultHermitianTranspose(A.p, x.p, b.p)) - return b -end - -for (f,s) in ((:+,1), (:-,-1)) - @eval function ($f){T}(A::PetscMat{T}, B::PetscMat{T}) - Y = copy(A) - chk(C.MatAXPY(Y.p, T($s), B.p, C.DIFFERENT_NONZERO_PATTERN)) - return Y - end -end - -(-){T}(A::PetscMat{T}) = A * (-1) - -# there don't appear to be PETSc functions for pointwise -# operations on matrices - -function (==){T}(A::PetscMat{T}, b::PetscMat{T}) - bool_arr = Ref{PetscBool}() - chk(C.MatEqual(A.p, b.p, bool_arr)) - return bool_arr[] != 0 -end -#= -# needed for disambiguation -function (==){T}(A::PetscMat{T}, B::PetscMat{T}) - bool_arr = Ref{PetscBool}() - chk(C.MatEqual(A.p, b.p, bool_arr)) - return bool_arr[] != 0 -end -=# -""" - Equality test for AbstractArray and PetscMat, SEQ only -""" -function (==){T}(A::PetscMat{T}, B::AbstractArray) - if MPI.Comm_size(comm(A)) != 1 - throw(ArgumentError("Mat must reside on a single MPI rank")) - end - if size(A) != size(B) - throw(ArgumentError("Matrices must be same size")) - end - - m, n = size(B) - - isame = true - for i=1:n - for j=1:m - isame = isame && A[i, j] == B[i,j] + function LinearAlgebra.mul!(y::AbstractVec{$PetscScalar}, M::Adjoint{T,A}, x::AbstractVec{$PetscScalar}) where {T,A<:AbstractMat{$PetscScalar}} + @chk ccall((:MatMultHermitianTranspose, $libpetsc), PetscErrorCode, (CMat, CVec, CVec), parent(M), x, y) + return y end - end - - return isame -end - -############################################################################### -# MatRow: accessing the structure of each row of a matrix -""" - Object that enables access to a single row of a sparse matrix. - - Users *must* call restore when done with a MatRow, before attempting to - create another one. -""" -immutable MatRow{T} - mat::C.Mat{T} # the matrix to which the rows belong - row::Int - ncols::Int - cols_ptr::Ptr{PetscInt} - vals_ptr::Ptr{T} -#= - function MatRow(A::Mat{T}, row::Integer, ref_ncols::Ref{PetscInt}, ref_cols::Ref{Ptr{PetscInt}}, ref_vals::Ref{Ptr{T}}) - ncols = ref_ncols[] - cols = pointer_to_array(ref_cols[], ncols) - vals = pointer_to_array(ref_vals[], ncols) - - obj = new(A, row, ref_ncols, ref_cols, ref_vals, ncols, cols, vals) - finalizer(obj, restore) - - return obj - end -=# -end - -""" - Preferred constructor for a MatRow -""" -function MatRow{T}(A::Mat{T}, row::Integer) - - ref_ncols = Ref{PetscInt}() - ref_cols = Ref{Ptr{PetscInt}}() - ref_vals = Ref{Ptr{T}}() - chk(C.MatGetRow(A.p, row-1, ref_ncols, ref_cols, ref_vals)) - return MatRow{T}(A.p, row, ref_ncols[], ref_cols[], ref_vals[]) -end - -""" - Count the number of non-zeros in a row of the matrix. This temporarily - creates a MatRow object, so it cannot be used if one already exists -""" -function count_row_nz{T}(A::Mat{T}, row::Integer) - ref_ncols = Ref{PetscInt}() - ref_cols = Ref{Ptr{PetscInt}}(C_NULL) - ref_vals = Ref{Ptr{T}}(C_NULL) - chk(C.MatGetRow(A.p, row-1, ref_ncols, ref_cols, ref_vals)) - ncols = ref_ncols[] - chk(C.MatRestoreRow(A.p, row-1, ref_ncols, ref_cols, ref_vals)) - - return ncols -end -function restore{T}(row::MatRow{T}) -# if !PetscFinalized(T) && !isfinalized(row.mat) - C.MatRestoreRow(row.mat, row.row-1, Ref(PetscInt(row.ncols)), Ref{Ptr{PetscInt}}(C_NULL), Ref{Ptr{T}}(C_NULL)) - -# return nothing # return type stability -# end -end - -### indexing on a MatRow ### -import Base: length, size -length(A::MatRow) = A.ncols -size(A::MatRow) = (A.ncols,) -getcol(A::MatRow, i) = unsafe_load(A.cols_ptr, i) + 1 -getval(A::MatRow, i) = unsafe_load(A.vals_ptr, i) - - -import Base.kron -""" - Kronecker product for SEQ matrices only. The output is a non-block matrix - even if the inputs are block -""" -function kron{T}(A::Mat{T}, B::Mat{T}) - if (A.p == B.p) - throw(ArgumentError("A and B cannot be same matrix")) - end - - if MPI.Comm_size(comm(A)) != 1 || MPI.Comm_size(comm(B)) != 1 - throw(ArgumentError("A and B must reside on a single MPI rank")) - end - - Am, An = size(A) - Bm, Bn = size(B) - # step 1: figure out size, sparsity pattern of result - A_nz = zeros(Int, Am) - B_nz = zeros(Int, Bm) - for i=1:Am - A_nz[i] = count_row_nz(A, i) - end - for i=1:Bm - B_nz[i] = count_row_nz(B, i) - end - - Dm = Am*Bm - Dn = An*Bn - D_nz = getDnzs(A_nz, B_nz) - # create matrix - # can't use C becaue that is the module name - D = Mat(T, Dm, Dn, nnz=D_nz, mtype=C.MATSEQAIJ) - - # step 2: populate C, one row at a time - max_entries = maximum(D_nz) - D_colidx = zeros(PetscInt, max_entries) - D_vals = zeros(T, max_entries) - D_rowidx = zeros(PetscInt, 1) - - for i=1:Am - rowA = MatRow(A, i) - for j=1:Bm - rowB = MatRow(B, j) - rowidx = (i-1)*Bm + j - - pos = 1 # position in C_vals, C_colidx - for k=1:length(rowA) - Aval = getval(rowA, k) - Aidx = getcol(rowA, k) - for p=1:length(rowB) - Bval = getval(rowB, p) - Bidx = getcol(rowB, p) - D_colidx[pos] = (Aidx - 1)*Bn + Bidx - 1 - D_vals[pos] = Aval*Bval - pos += 1 - end - end - - D_rowidx[1] = rowidx - 1 - idx_extract = sub(D_colidx, 1:(pos-1)) - vals_extract = sub(D_vals, 1:(pos-1)) - set_values!(D, D_rowidx, idx_extract, vals_extract) - restore(rowB) + function LinearAlgebra.mul!(y::AbstractVec{$PetscScalar}, M::Transpose{T,A}, x::AbstractVec{$PetscScalar}) where {T,A<:AbstractMat{$PetscScalar}} + @chk ccall((:MatMultTranspose, $libpetsc), PetscErrorCode, (CMat, CVec, CVec), parent(M), x, y) + return y end - restore(rowA) - end +end - return D +function assemble(M::AbstractMat, t::MatAssemblyType=MAT_FINAL_ASSEMBLY) + assemblybegin(M, t) + assemblyend(M, t) end -function getDnzs(A_nz, B_nz) -# this function computes the number of non-zeros in D = kron(A, B), where A_nz and -# B_nz are the number of non-zeros in each row of A and B, respectively - - Am = length(A_nz) - Bm = length(B_nz) - - Dm = length(A_nz)*length(B_nz) - D_nz = zeros(PetscInt, Dm) - for i=1:Am - A_nz_i = A_nz[i] - for j=1:Bm - pos = (i-1)*Bm + j - D_nz[pos] = A_nz_i*B_nz[j] +function MatSeqAIJ(S::SparseMatrixCSC{T}) where {T} + PetscInt = inttype(T) + m,n = size(S) + nnz = zeros(PetscInt,m) + for r in S.rowval + nnz[r] += 1 end - end - - return D_nz -end - -function getmax_nz_col(A::SparseMatrixCSC) - Am, An = size(A) - A_maxnz = 0 - for i=1:An - val = A.colptr[i+1] - A.colptr[i] - if val > A_maxnz - A_maxnz = val + M = MatSeqAIJ{T}(m, n, nnz) + for j = 1:n + for ii = S.colptr[j]:S.colptr[j+1]-1 + i = S.rowval[ii] + M[i,j] = S.nzval[ii] + end end - end - - return A_maxnz + assemble(M) + return M end -""" - Kronecker product of A and B where the result is a Petsc Mat -""" -function PetscKron{T <: Scalar}(A::SparseMatrixCSC{T}, B::SparseMatrixCSC{T}) - - Am = size(A, 1); An = size(A, 2) - Bm = size(B, 1); Bn = size(B, 2) - - A_nz = zeros(Int, Am) - B_nz = zeros(Int, Bm) - - for i in A.rowval - A_nz[i] += 1 - end - for i in B.rowval - B_nz[i] += 1 - end - - Dm = Am*Bm - Dn = An*Bn - D_nz = getDnzs(A_nz, B_nz) - # create matrix - # can't use C becaue that is the module name - D = Mat(T, Dm, Dn, nnz=D_nz, mtype=C.MATSEQAIJ) - # because the Mat constructor is type unstable, use a function barrier - PetscKron(A, B, D) - - return D +function Base.show(io::IO, ::MIME"text/plain", mat::AbstractMat) + _show(io, mat) end +AbstractMat(A::Matrix) = MatSeqDense(A) +AbstractMat(A::SparseMatrixCSC) = MatSeqAIJ(A) -""" - Kronecker product of A and B, storing the result in D. D should already be - pre-allocated with the right sparsity pattern -""" -@noinline function PetscKron{T <: Scalar}(A::SparseMatrixCSC{T}, B::SparseMatrixCSC{T}, D::Mat{T}) - - Am = size(A, 1); An = size(A, 2) - Bm = size(B, 1); Bn = size(B, 2) - - # now figure out the maximum number of non-zeros in any column of D - A_maxnz = getmax_nz_col(A) - B_maxnz = getmax_nz_col(B) - max_entries = A_maxnz * B_maxnz - - D_rowidx = zeros(PetscInt, max_entries) - D_vals = zeros(T, max_entries) - D_colidx = zeros(PetscInt, 1) - - # loop over columns of A and B - for i=1:An - col_start = A.colptr[i] - col_end = A.colptr[i+1] - 1 - A_rowidx = unsafe_view(A.rowval, col_start:col_end) - A_vals = unsafe_view(A.nzval, col_start:col_end) - for j=1:Bn - col_start = B.colptr[j] - col_end = B.colptr[j+1] - 1 - B_rowidx = unsafe_view(B.rowval, col_start:col_end) - B_vals = unsafe_view(B.nzval, col_start:col_end) - - pos = 1 - for k=1:length(A_vals) - Aval = A_vals[k] - Aidx = A_rowidx[k] - for p=1:length(B_vals) - Bval = B_vals[p] - Bidx = B_rowidx[p] - - D_vals[pos] = Aval*Bval - D_rowidx[pos] = (Aidx-1)*Bm + Bidx - 1 - pos += 1 - end - end - - D_colidx[1] = (i-1)*Bn + j - 1 - rowidx_extract = unsafe_view(D_rowidx, 1:(pos-1)) - vals_extract = unsafe_view(D_vals, 1:(pos-1)) - -# chk(C.MatSetValues(D.p, length(rowidx_extract), rowidx_extract, length(D_colidx), D_colidx, vals_extract, C.INSERT_VALUES)) - set_values!(D, rowidx_extract, D_colidx, vals_extract) - end -# assemble(D, C.MAT_FLUSH_ASSEMBLY) - end - - return D -end +const MatAT{T} = Union{AbstractMat{T}, Transpose{T, <:AbstractMat{T}}, Adjoint{T, <:AbstractMat{T}}} - +LinearAlgebra.mul!(y::AbstractVector{T}, M::MatAT{T}, x::AbstractVector{T}) where {T} = + parent(LinearAlgebra.mul!(AbstractVec(y), M, AbstractVec(x))) \ No newline at end of file diff --git a/src/matshell.jl b/src/matshell.jl new file mode 100644 index 00000000..8594d2e6 --- /dev/null +++ b/src/matshell.jl @@ -0,0 +1,70 @@ +""" + MatShell{T}(obj, m, n) + +Create a `m×n` PETSc shell matrix object wrapping `obj`. + +If `obj` is a `Function`, then the multiply action `obj(y,x)`; otherwise it calls `mul!(y, obj, x)`. +This can be changed by `PETSc._mul!`. + +""" +mutable struct MatShell{T,A} <: AbstractMat{T} + ptr::CMat + comm::MPI.Comm + obj::A +end + + +struct MatOp{T,Op} +end + + +function _mul!(y,mat::MatShell{T,F},x) where {T, F<:Function} + mat.obj(y, x) +end + +function _mul!(y,mat::MatShell{T},x) where {T} + LinearAlgebra.mul!(y, mat.obj, x) +end + +MatShell{T}(obj, m, n) where {T} = MatShell{T}(obj, MPI.COMM_SELF, m, n, m, n) + + +@for_libpetsc begin + function MatShell{$PetscScalar}(obj::A, comm::MPI.Comm, m, n, M, N) where {A} + mat = MatShell{$PetscScalar,A}(C_NULL, comm, obj) + # we use the MatShell object itsel + ctx = pointer_from_objref(mat) + @chk ccall((:MatCreateShell, $libpetsc), PetscErrorCode, + (MPI.MPI_Comm,$PetscInt,$PetscInt,$PetscInt,$PetscInt,Ptr{Cvoid},Ptr{CMat}), + comm, m, n, M, N, ctx, mat) + + mulptr = @cfunction(MatOp{$PetscScalar, MATOP_MULT}(), $PetscInt, (CMat, CVec, CVec)) + @chk ccall((:MatShellSetOperation, $libpetsc), PetscErrorCode, (CMat, MatOperation, Ptr{Cvoid}), mat, MATOP_MULT, mulptr) + return mat + end + + function (::MatOp{$PetscScalar, MATOP_MULT})(M::CMat,cx::CVec,cy::CVec)::$PetscInt + #try + r_ctx = Ref{Ptr{Cvoid}}() + @chk ccall((:MatShellGetContext, $libpetsc), PetscErrorCode, (CMat, Ptr{Ptr{Cvoid}}), M, r_ctx) + ptr = r_ctx[] + mat = unsafe_pointer_to_objref(ptr) + + x = unsafe_localarray($PetscScalar, cx) + y = unsafe_localarray($PetscScalar, cy) + + _mul!(y,mat,x) + + Base.finalize(y) + Base.finalize(x) + return $PetscInt(0) + # catch e + # if e isa PetscErrorCode + # return e.code + # else + # return + # end + # end + end + +end diff --git a/src/options.jl b/src/options.jl index e870a004..89278984 100644 --- a/src/options.jl +++ b/src/options.jl @@ -1,72 +1,85 @@ -# interface to the PETSc options database(s), by providing an OPTIONS[T] -# dictionary-like object that is analogous to the Julia Base.ENV object -# for environment variables. -type Options{T<:Scalar} <: Associative{ByteString,ByteString}; end -const OPTIONS = [T => Options{T}() for T in C.petsc_type] -export OPTIONS, withoptions +const CPetscOptions = Ptr{Cvoid} -typealias SymOrStr Union{AbstractString,Symbol} - -function Base.setindex!{T}(::Options{T}, v, k::SymOrStr) - chk(C.PetscOptionsSetValue(T, string('-',k), string(v))) - return v +#TODO: should it be <: AbstractDict{String,String}? +abstract type AbstractOptions{T} end -function Base.setindex!{T}(::Options{T}, v::Void, k::SymOrStr) - chk(C.PetscOptionsClearValue(T, string('-',k))) - return v +struct GlobalOptions{T} <: AbstractOptions{T} end +Base.cconvert(::Type{CPetscOptions}, obj::GlobalOptions) = C_NULL -# PETSc complains if you don't use an option, remove this? -# allow OPTIONS[k]=v to set options for all PETSc scalar types simultaneously -function Base.setindex!(o::typeof(OPTIONS), v, k::SymOrStr) - for opts in values(o) - opts[k] = v - end - return v +mutable struct Options{T} <: AbstractOptions{T} + ptr::CPetscOptions end +Base.cconvert(::Type{CPetscOptions}, obj::Options) = obj.ptr -const _optionstr = Array(UInt8, 1024) -function Base.get{T}(::Options{T}, k::SymOrStr, def) - b = Ref{PetscBool}() - chk(C.PetscOptionsGetString(T, Cstring(Ptr{UInt8}(C_NULL)), string('-',k), - pointer(_optionstr), Csize_t(length(_optionstr)), - b)) - return b[] != 0 ? bytestring(pointer(_optionstr)) : def -end +Base.unsafe_convert(::Type{Ptr{CPetscOptions}}, obj::Options) = + convert(Ptr{CPetscOptions}, pointer_from_objref(obj)) + + +@for_libpetsc begin + function Options{$PetscScalar}() + initialize($PetscScalar) + opts = Options{$PetscScalar}(C_NULL) + @chk ccall((:PetscOptionsCreate, $libpetsc), PetscErrorCode, (Ptr{CPetscOptions},), opts) + finalizer(destroy, opts) + return opts + end + function destroy(opts::Options{$PetscScalar}) + finalized($PetscScalar) || + @chk ccall((:PetscOptionsDestroy, $libpetsc), PetscErrorCode, (Ptr{CPetscOptions},), opts) + return nothing + end -function Base.haskey{T}(::Options{T}, k::SymOrStr) - b = Ref{PetscBool}() - chk(C.PetscOptionsHasName(T, Cstring(Ptr{UInt8}(C_NULL)), string('-',k), b)) - return b[] != 0 + function Base.push!(::GlobalOptions{$PetscScalar}, opts::Options{$PetscScalar}) + @chk ccall((:PetscOptionsPush, $libpetsc), PetscErrorCode, (CPetscOptions,), opts) + return nothing + end + function Base.pop!(::GlobalOptions{$PetscScalar}) + @chk ccall((:PetscOptionsPop, $libpetsc), PetscErrorCode, ()) + return nothing + end + function Base.setindex!(opts::AbstractOptions{$PetscScalar}, val, key) + @chk ccall((:PetscOptionsSetValue, $libpetsc), PetscErrorCode, + (CPetscOptions, Cstring, Cstring), + opts, string('-',key), val == true ? C_NULL : string(val)) + end + + function view(opts::AbstractOptions{$PetscScalar}, viewer::Viewer{$PetscScalar}=ViewerStdout{$PetscScalar}(MPI.COMM_SELF)) + @chk ccall((:PetscOptionsView, $libpetsc), PetscErrorCode, + (CPetscOptions, CPetscViewer), + opts, viewer); + return nothing + end end -Base.similar(::Options) = Dict{ByteString,ByteString}() +""" + Options{T}(kw => arg, ...) -Base.pop!(o::Options, k::SymOrStr) = (v = o[k]; o[k] = nothing; v) -Base.pop!(o::Options, k::SymOrStr, def) = haskey(o,k) ? pop!(o,k) : def -Base.delete!(o::Options, k::SymOrStr) = (o[k] = nothing; o) -Base.delete!(o::Options, k::SymOrStr, def) = haskey(o,k) ? delete!(o,k) : def -# need to override show: default show function doesn't work because -# there seems to be no way to iterate over the PETSc options database (grr). -Base.show{T}(io::IO, ::Options{T}) = print(io, "PETSc{$T} options database") +""" +function Options{T}(ps::Pair...) where {T} + opts = Options{T}() + for (k,v) in ps + opts[k] = v + end + return opts +end -# temporarily set some options, call f, and then unset them; like withenv -function withoptions{T<:Scalar}(f::Function, ::Type{T}, keyvals) - old = Dict{SymOrStr,Any}() - o = OPTIONS[T] - for (key,val) in keyvals - old[key] = get(o,key,nothing) - val !== nothing ? (o[key]=val) : delete!(o, key) - end - try f() +Base.show(io::IO, opts::AbstractOptions) = _show(io, opts) + +""" + with(f, opts::Options) + +Call `f()` with the [`Options`](@ref) `opts` set temporarily (in addition to any global options). +""" +function with(f, opts::Options{T}) where {T} + global_opts = GlobalOptions{T}() + push!(global_opts, opts) + try + f() finally - for (key,val) in old - val !== nothing ? (o[key]=val) : delete!(o, key) - end + pop!(global_opts) end -end -withoptions{T<:Scalar,K<:SymOrStr}(f::Function, ::Type{T}, keyvals::Pair{K}...) = withoptions(f, T, keyvals) -withoptions{T<:Scalar}(f::Function, ::Type{T}) = f() # handle empty keyvals case; see julia#10853 +end \ No newline at end of file diff --git a/src/pc.jl b/src/pc.jl deleted file mode 100644 index a4a89c01..00000000 --- a/src/pc.jl +++ /dev/null @@ -1,54 +0,0 @@ -export PC, petscview - -# preconditioner context -type PC{T} - p::C.PC{T} - function PC(p::C.PC{T}) - o = new(p) - finalizer(o, PetscDestroy) - return o - end -end - -comm{T}(a::PC{T}) = MPI.Comm(C.PetscObjectComm(T, a.p.pobj)) - -function PetscDestroy{T}(o::PC{T}) - PetscFinalized(T) || C.PCDestroy(Ref(o.p)) -end - -function petscview{T}(o::PC{T}) - viewer = C.PetscViewer{T}(C_NULL) - chk(C.PCView(o.p, viewer)) -end - -""" - PC(A::Mat, PA=A, kws...) - -Create a preconditioner (PC) context, given the matrix `A` of the -linear system to be solved, and optionally a different -matrix `PA` from which the preconditioner is constructed. - -The remaining keywords specify zero or more additional options: -* `pc_type="a"`: use preconditioning algorithm `a` -* `pc_use_amat=true`: use Amat (instead of Pmat) to define preconditioner in nested inner solves -* ... additional options that depend on the preconditioner type ... -""" -function PC{T}(::Type{T}; comm::MPI.Comm=MPI.COMM_SELF, kws...) - pc_c = Ref{C.PC{T}}() - chk(C.PCCreate(comm, pc_c)) - withoptions(T, kws) do - chk(C.PCSetFromOptions(pc_c[])) - end - return PC{T}(pc_c[]) -end - -function PC{T}(A::Mat{T}, PA::Mat{T}=A; kws...) - pc_c = Ref{C.PC{T}}() - chk(C.PCCreate(comm(A), pc_c)) - pc = pc_c[] - chk(C.PCSetOperators(pc, A.p, PA.p)) - withoptions(T, kws) do - chk(C.PCSetFromOptions(pc)) - end - return PC{T}(pc) -end diff --git a/src/petsc_com.jl b/src/petsc_com.jl deleted file mode 100644 index 78ae77cb..00000000 --- a/src/petsc_com.jl +++ /dev/null @@ -1,71 +0,0 @@ -# common functions (initialization, destruction etsc) - -function __init__() - - # initialize MPI first so Petsc won't finalize it - if !MPI.Initialized() - MPI.Init() - end - - for i=1:3 - if have_petsc[i] - PetscInitialize(petsc_type[i]) - end - end - - # we want Petsc to return errors to us, rather than using its own - # error handlers, so that we can catch error codes and throw exceptions - # need to do this for all Petsc versions - - for i=1:3 - if have_petsc[i] - libname = C.petsc_libs[i] - val = @eval(cglobal((:PetscIgnoreErrorHandler, C.$libname))) - C.PetscPushErrorHandler(C.petsc_type[i], val, C_NULL) - end - end - - # register atexit finalizers for the Petsc libraries - atexit() do - for i=1:3 - if have_petsc[i] - C.PetscFinalize(petsc_type[i]) - end - end - end -end - - -PetscInitialize(lib::DataType) = PetscInitialize(lib, [""], "", "") -PetscInitialize(lib::DataType, args) = PetscInitialize(lib, args, "", "") - -function PetscInitialize(lib::DataType, args, filename, help) - # argument list starts with program name - args = filter(a->!isempty(a), args) - args = map(bytestring, vcat("julia", args)) - - nargs = Int32[length(args)] - - # args are passed in as an Ptr{Ptr{Ptr{UInt8}}} - args_ptr = map(pointer, args) - args_ptr_ptr = [pointer(args_ptr)] - args_ptr_ptr_ptr = pointer(args_ptr_ptr) - - err = C.PetscInitialize(lib, nargs, args_ptr_ptr_ptr, bytestring(filename), bytestring(help)) - if err != 0 - error("PETSc initialization error, code: $err") - end - return err -end - -function petsc_sizeof(T::C.PetscDataType) - sz = Array(Csize_t, 1) - chk(C.PetscDataTypeGetSize(C.petsc_type[1], T, sz)) - sz[1] -end - -function PetscFinalized(T::Type) - ret = Array(PetscBool, 1) - C.PetscFinalized(T, ret) - ret[1] != 0 -end diff --git a/src/ts.jl b/src/ts.jl deleted file mode 100644 index 5097c8b6..00000000 --- a/src/ts.jl +++ /dev/null @@ -1,294 +0,0 @@ -# functions for PETSc TS (time stepping) algorithms -export TS, set_ic, set_times, solve!, set_rhs_function, set_rhs_jac -export set_lhs_function, set_lhs_jac -export ComputeRHSFunctionLinear, ComputeRHSJacobianConstant - -type TS{T} - p::C.TS{T} - data::Array{Any, 1} # hold the various ctx tuples - function TS(p, data=nothing; first_instance=false) - data_arr = Array(Any, 0) - ts = new(p, data_arr) - push!(ts.data, data) - - if first_instance - finalizer(ts, PetscDestroy) - end - - return ts - end -end - - -function PetscDestroy{T}(ts::TS{T}) - if !PetscFinalized(T) && !isfinalized(ts) - ts_ref = Ref(ts.p) - chk(C.TSDestroy(ts_ref)) - ts.p = C.TS{T}(C_NULL) - end -end - -function isfinalized(ts::TS) - return isfinalized(ts.p) -end - -function isfinalized(ts::C.TS) - return ts.pobj == C_NULL -end - -#get the internal KSP object for this TS -function KSP{T}(ts::TS{T}) - ksp_c = Ref{C.KSP{T}}() - chk(C.TSGetKSP(ts.p, ksp_c)) - return KSP{T}(ksp_c[]) -end - -""" - Most preferred constructor: take ProblemType, method from options - database -""" -function TS{T<:Scalar}(::Type{T} ;comm=MPI.COMM_WORLD) - ts = Ref{C.TS{T}}() - chk(C.TSCreate(comm, ts)) - return TS{T}(ts[]) -end - -""" - Preferred constructor: set problem type explicitly, get method from - options database -""" -function TS{T<:Scalar}(::Type{T}, tsptype::C.TSProblemType; comm=MPI.COMM_WORLD) - - ts = TS(T, comm=comm) - chk(C.TSSetProblemType(ts.p, tsptype)) - - return ts -end - - -""" - More explicit constructor: set problem type, method directly - -`tsptype` sets the problem type and can be one of the following: -* `TS_LINEAR` - a linear set of ODEs -* `TS_NONLINEAR` - a nonlinear set of ODEs or DEAs - -`tstype` sets the method used to solve the problem. More information -about the possible methods is available at the official PETSc [docs](http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/TS/TSType.html). -""" -function TS{T<:Scalar}(::Type{T}, tsptype::C.TSProblemType, tstype::C.TSType; - comm=MPI.COMM_WORLD) - - ts = TS(T, tsptype, comm=comm) - chk(C.TSSetType(ts.p, tstype)) - - return ts -end - - -function set_ic{T<:Scalar}(ts::TS{T}, u::Vec{T}) - chk(C.TSSetSolution(ts.p, u.p)) -end - -""" - Set the times related quantities: - t0 : initial time value - dt0: initial time step - nsteps: maximum number of steps - tmax: maximum time value -""" -function set_times{T<:Scalar}(ts::TS{T}, t0, dt0, nsteps::Integer, tmax) - TR = real(T) # PetscReal - - chk(C.TSSetInitialTimeStep(ts.p, TR(t0), TR(dt0))) - chk(C.TSSetDuration(ts.p, nsteps, TR(tmax))) -end - -function petscview{T}(ts::TS{T}) - viewer = C.PetscViewer{T}(C_NULL) - chk(C.TSView(ts.p, viewer)) -end - -""" - Solve the system using the initial condition provided in vec -""" -function solve!{T}(ts::TS{T}, vec::Vec{T}) - - chk(C.TSSolve(ts.p, vec.p)) -end - -""" - Solve the system using the intitial condition proived by set_ic -""" -function solve!{T}(ts::TS{T}) - - vecp = C.Vec{T}(C_NULL) - chk(C.TSSolve(ts.p, vecp)) -end - - -############################################################################### -# right hand side function - -""" - Sets the function that evalutes u_t = g(u, t) for an ODE. - The function must have the signature: - - f(TS, t, U, F, ctx) - - where TS is a TS object, - t is the current time - u is the current state vector - F is the vector to be populated with u_t - ctx is the user supplied context tuple (empty tuple if not provided) -""" -function set_rhs_function{T}(ts::TS{T}, r::Vec{T}, f::Function, ctx=()) - - ctx_outer = (f, ctx) - push!(ts.data, ctx_outer) - ctx_ptr = pointer_from_objref(ctx_outer) - Treal = real(T) - # this this pre-compilable? - fptr = cfunction(rhs_wrapper, PetscErrorCode, (C.TS{T}, Treal, C.Vec{T}, C.Vec{T}, Ptr{Void})) - - chk(C.TSSetRHSFunction(ts.p, r.p, fptr, ctx_ptr)) -end - -""" - Wrapper for the right hand side function. This function is always passed - to PETSc as the right hand side function, and calls the user supplied - function internally. The user supplied function must be the first - component of the ctx tuple - -""" -function rhs_wrapper{T}(ts::C.TS{T}, t, u::C.Vec{T}, F::C.Vec{T}, ctx_ptr::Ptr{Void}) - - Treal = real(T) - # transform into high level objects - bigts = TS{T}(ts, first_instance=false) - bigu = Vec{T}(u, first_instance=false) - bigF = Vec{T}(F, first_instance=false) - - ctx = unsafe_pointer_to_objref(ctx_ptr) - func = ctx[1] - ctx_inner = ctx[2] # the user provided ctx - - ret_status = func(bigts, Treal(t), bigu, bigF, ctx_inner) - return PetscErrorCode(ret_status) -end - -# a PETSc provided rhs function for the linear, time invarient coefficient -# matrix case - -function ComputeRHSFunctionLinear(ts::TS, t, u::Vec, F::Vec, ctx::Tuple) - - # this is amusing, wrapping things just to unwrap them again - C.TSComputeRHSFunctionLinear(ts.p, t, u.p, F.p, C_NULL) -end - -############################################################################### -# right hand side jacobian - -function set_rhs_jac{T}(ts::TS{T}, A::Mat{T}, B::Mat{T}, f::Function, ctx=()) - - ctx_outer = (f, ctx) - push!(ts.data, ctx_outer) - ctx_ptr = pointer_from_objref(ctx_outer) - Treal = real(T) - # this this pre-compilable? - fptr = cfunction(rhs_jac_wrapper, PetscErrorCode, (C.TS{T}, Treal, C.Vec{T}, C.Mat{T}, C.Mat{T}, Ptr{Void})) - - chk(C.TSSetRHSJacobian(ts.p, A.p, B.p, fptr, ctx_ptr)) -end - - - -function rhs_jac_wrapper{T}(ts::C.TS{T}, t, u::C.Vec{T}, A::C.Mat{T}, B::C.Mat{T}, ctx_ptr::Ptr{Void}) - - Treal = real(T) - bigts = TS{T}(ts, first_instance=false) - bigu = Vec{T}(u, first_instance=false) - bigA = Mat{T}(A, first_instance=false) - bigB = Mat{T}(B, first_instance=false) - - ctx = unsafe_pointer_to_objref(ctx_ptr) - func = ctx[1] - ctx_inner = ctx[2] - - ret_status = func(bigts, Treal(t), bigu, bigA, bigB, ctx_inner) - - return PetscErrorCode(ret_status) -end - -# a PETSc provided rhs jacobian function for time invarient jacobians -function ComputeRHSJacobianConstant(ts::TS, t, u::Vec, A::Mat, B::Mat, ctx::Tuple) - - chk(C.TSComputeRHSJacobianConstant(ts.p, t, u.p, A.p, B.p, C_NULL)) -end - -############################################################################### -# left hand side function - -function set_lhs_function{T}(ts::TS{T}, res::Vec{T}, f::Function, ctx::Tuple=()) - - ctx_outer = (f, ctx) - push!(ts.data, ctx_outer) - ctx_ptr = pointer_from_objref(ctx_outer) - Treal = real(T) - - fptr = cfunction(lhs_wrapper, PetscErrorCode, (C.TS{T}, Treal, C.Vec{T}, C.Vec{T}, C.Vec{T}, Ptr{Void})) - - chk(C.TSSetIFunction(ts.p, res.p, fptr, ctx_ptr)) - return nothing -end - -function lhs_wrapper{T}(ts::C.TS{T}, t, u::C.Vec{T}, ut::C.Vec{T}, F::C.Vec{T}, ctx_ptr::Ptr{Void}) - - Treal = real(T) - # transform into high level objects - bigts = TS{T}(ts, first_instance=false) - bigu = Vec{T}(u, first_instance=false) - bigut = Vec{T}(ut, first_instance=false) - bigF = Vec{T}(F, first_instance=false) - - ctx = unsafe_pointer_to_objref(ctx_ptr) - func = ctx[1] - ctx_inner = ctx[2] # the user provided ctx - - ret_status = func(bigts, Treal(t), bigu, bigut, bigF, ctx_inner) - return PetscErrorCode(ret_status) -end - -############################################################################### -# left hand side jacobian - -function set_lhs_jac{T}(ts::TS{T}, A::Mat{T}, B::Mat{T}, f::Function, ctx::Tuple=()) - - ctx_outer = (f, ctx) - push!(ts.data, ctx_outer) - ctx_ptr = pointer_from_objref(ctx_outer) - Treal = real(T) - - fptr = cfunction(lhs_jac_wrapper, PetscErrorCode, (C.TS{T}, Treal, C.Vec{T}, C.Vec{T}, Treal, C.Mat{T}, C.Mat{T}, Ptr{Void})) - - chk(C.TSSetIJacobian(ts.p, A.p, B.p, fptr, ctx_ptr)) -end - - -function lhs_jac_wrapper{T}(ts::C.TS{T}, t, u::C.Vec{T}, ut::C.Vec{T}, a, A::C.Mat{T}, B::C.Mat{T}, ctx_ptr::Ptr{Void}) - - Treal = real(T) - bigts = TS{T}(ts, first_instance=false) - bigu = Vec{T}(u, first_instance=false) - bigut = Vec{T}(ut, first_instance=false) - bigA = Mat{T}(A, first_instance=false) - bigB = Mat{T}(B, first_instance=false) - - ctx = unsafe_pointer_to_objref(ctx_ptr) - func = ctx[1] - ctx_inner = ctx[2] # the user provided ctx - - ret_status = func(bigts, bigu, bigut, Treal(a), bigA, bigB, ctx_inner) - return PetscErrorCode(ret_status) -end - diff --git a/src/vec.jl b/src/vec.jl index 48cf2c53..49416ed4 100644 --- a/src/vec.jl +++ b/src/vec.jl @@ -1,1128 +1,131 @@ -# AbstractVector wrapper around PETSc Vec types -export Vec, comm, NullVec +# AbstractVec +# - VecSeq: wrap +# - VecMPI (TODO) +# - VecGhost (TODO) +# for the MPI variants we won't be able to attach finalizers, as destroy needs to be called collectively. + +const CVec = Ptr{Cvoid} + +abstract type AbstractVec{T} <: AbstractVector{T} end + +# allows us to pass XXVec objects directly into CVec ccall signatures +Base.cconvert(::Type{CVec}, obj::AbstractVec) = obj.ptr +# allows us to pass XXVec objects directly into Ptr{CVec} ccall signatures +Base.unsafe_convert(::Type{Ptr{CVec}}, obj::AbstractVec) = + convert(Ptr{CVec}, pointer_from_objref(obj)) - """ - Construct a high level Vec object from a low level C.Vec. - The data field is used to protect things from GC. - A finalizer is attached to deallocate the memory of the underlying C.Vec, unless - `first_instance` is set to true. - `assembled` indicates when values are set via `setindex!` and is reset by - `AssemblyEnd` - `verify_assembled` when true, calls to `isassembled` verify all processes - have `assembled` = true, when false, only the local assembly state is - checked. This essentially makes the user responsible for assembling - the vector before passing it into functions that will use it (like KSP - solves, etc.). - -""" -type Vec{T} <: AbstractVector{T} - p::C.Vec{T} - assembled::Bool # whether are all values have been assembled - verify_assembled::Bool # check whether all processes are assembled - insertmode::C.InsertMode # current mode for setindex! - data::Any # keep a reference to anything needed for the Mat - # -- needed if the Mat is a wrapper around a Julia object, - # to prevent the object from being garbage collected. - function Vec(p::C.Vec{T}, data=nothing; first_instance::Bool=true, - verify_assembled::Bool=true) - v = new(p, false, verify_assembled, C.INSERT_VALUES, data) - if first_instance - finalizer(v, PetscDestroy) - end - return v - end -end - -import Base: show, showcompact, writemime -function show(io::IO, x::Vec) - - myrank = MPI.Comm_rank(comm(x)) - if myrank == 0 - println("Petsc Vec of lenth ", length(x)) - end - if isassembled(x) - println(io, "Process ", myrank, " entries:") - x_arr = LocalVector_readonly(x) - show(io, x_arr) - restore(x_arr) - else - println(io, "Process ", myrank, " not assembled") - end -end - - -showcompact(io::IO, x::Vec) = show(io, x) -writemime(io::IO, ::MIME"text/plain", x::Vec) = show(io, x) - -""" - Null vectors, used in place of void pointers in the C - API -""" -global const NullVec = Dict{DataType, Vec}() - - -if have_petsc[1] - global const NullVec1 = Vec{Float64}(C.Vec{Float64}(C_NULL), first_instance=false) - NullVec[Float64] = NullVec1 -end -if have_petsc[2] - global const NullVec2 = Vec{Float32}(C.Vec{Float32}(C_NULL), first_instance=false) - NullVec[Float32] = NullVec2 -end -if have_petsc[3] - global const NullVec3 = Vec{Complex128}(C.Vec{Complex128}(C_NULL), first_instance=false) - NullVec[Complex128] = NullVec3 - -end - """ - Gets the MPI communicator of a vector. -""" -function comm{T}(v::Vec{T}) - rcomm = Ref{MPI.CComm}() - ccomm = C.PetscObjectComm(T, v.p.pobj) - fcomm = convert(MPI.Comm, ccomm) - return fcomm -end - - -export gettype - - """ - Get the symbol that is the format of the vector """ -function gettype{T}(a::Vec{T}) - sym_arr = Array(C.VecType, 1) - chk(C.VecGetType(a.p, sym_arr)) - return sym_arr[1] -end + VecSeq(v::Vector) +A standard, sequentially-stored serial PETSc vector, wrapping the Julia vector `v`. - """ - Create an empty, unsized vector. -""" -function Vec{T}(::Type{T}, vtype::C.VecType=C.VECMPI; - comm::MPI.Comm=MPI.COMM_WORLD) - p = Ref{C.Vec{T}}() - chk(C.VecCreate(comm, p)) - chk(C.VecSetType(p[], vtype)) - v = Vec{T}(p[]) - v -end +This reuses the array `v` as storage, and so `v` should not be `resize!`-ed or otherwise have its length modified while the PETSc object exists. - """ - Create a vector, specifying the (global) length len or the local length - mlocal. Even if the blocksize is > 1, teh lengths are always number of - elements in the vector, not number of block elements. Thus - len % blocksize must = 0. -""" -function Vec{T<:Scalar}(::Type{T}, len::Integer=C.PETSC_DECIDE; - vtype::C.VecType=C.VECMPI, bs=1, - comm::MPI.Comm=MPI.COMM_WORLD, - mlocal::Integer=C.PETSC_DECIDE) - vec = Vec(T, vtype; comm=comm) - resize!(vec, len, mlocal=mlocal) - set_block_size(vec, bs) - vec -end +This should only be need to be called for more advanced uses, for most simple usecases, users should be able to pass `Vector`s directly and have the wrapping performed automatically - """ - Make a PETSc vector out of an array. If used in parallel, the array becomes - the local part of the PETSc vector +https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Vec/VecCreateSeqWithArray.html """ -# make a Vec that is a wrapper around v, where v stores the local data -function Vec{T<:Scalar}(v::Vector{T}; comm::MPI.Comm=MPI.COMM_WORLD) - p = Ref{C.Vec{T}}() - chk(C.VecCreateMPIWithArray(comm, 1, length(v), C.PETSC_DECIDE, v, p)) - pv = Vec{T}(p[], v) - return pv -end - -function set_block_size{T<:Scalar}(v::Vec{T}, bs::Integer) - chk(C.VecSetBlockSize(v.p, bs)) +mutable struct VecSeq{T} <: AbstractVec{T} + ptr::CVec + comm::MPI.Comm + array::Vector{T} end -function get_blocksize{T<:Scalar}(v::Vec{T}) - bs = Ref{PetscInt}() - chk(C.VecGetBlockSize(v.p, bs)) - return Int(bs[]) -end - -export VecGhost, VecLocal, restore - - - """ - Make a PETSc vector with space for ghost values. ghost_idx are the - global indices that will be copied into the ghost space. -""" -# making mlocal the position and mglobal the keyword argument is inconsistent -# with the other Vec constructors, but it makes more sense here -function VecGhost{T<:Scalar, I <: Integer}(::Type{T}, mlocal::Integer, - ghost_idx::Array{I,1}; comm=MPI.COMM_WORLD, m=C.PETSC_DECIDE, bs=1, vtype=C.VECMPI) +Base.eltype(::Type{V}) where {V<:AbstractVec{T}} where T = T +Base.eltype(v::AbstractVec{T}) where {T} = T +Base.size(v::AbstractVec) = (length(v),) +Base.parent(v::AbstractVec) = v.array - nghost = length(ghost_idx) - ghost_idx2 = [ PetscInt(i -1) for i in ghost_idx] - - vref = Ref{C.Vec{T}}() - if bs == 1 - chk(C.VecCreateGhost(comm, mlocal, m, nghost, ghost_idx2, vref)) - elseif bs > 1 - chk(C.VecCreateGhostBlock(comm, bs, mlocal, mlocal, m, nghost, ghost_idx2, vref)) - else - println(STDERR, "WARNING: unsupported block size requested, bs = ", bs) +@for_libpetsc begin + function VecSeq(comm::MPI.Comm, X::Vector{$PetscScalar}; blocksize=1) + initialize($PetscScalar) + v = VecSeq(C_NULL, comm, X) + @chk ccall((:VecCreateSeqWithArray, $libpetsc), PetscErrorCode, + (MPI.MPI_Comm, $PetscInt, $PetscInt, Ptr{$PetscScalar}, Ptr{CVec}), + comm, blocksize, length(X), X, v) + finalizer(destroy, v) + return v end - - chk(C.VecSetType(vref[], vtype)) - - return Vec{T}(vref[]) -end - - """ - Create a VECSEQ that contains both the local and the ghost values of the - original vector. The underlying memory for the orignal and output vectors - alias. -""" -function VecLocal{T <:Scalar}( v::Vec{T}) - - vref = Ref{C.Vec{T}}() - chk(C.VecGhostGetLocalForm(v.p, vref)) - # store v to use with Get/Restore LocalForm - # Petsc reference counting solves the gc problem - return Vec{T}(vref[], v) -end - -#TODO: use restore for all types of restoring a local view - """ - Tell Petsc the VecLocal is no longer needed -""" -function restore{T}(v::Vec{T}) - - vp = v.data - vref = Ref(v.p) - chk(C.VecGhostRestoreLocalForm(vp.p, vref)) -end - - - """ - The Petsc function to deallocate Vec objects -""" -function PetscDestroy{T}(vec::Vec{T}) - if !PetscFinalized(T) && !isfinalized(vec) - C.VecDestroy(Ref(vec.p)) - vec.p = C.Vec{T}(C_NULL) # indicate the vector is finalized - end -end - - """ - Determine whether a vector has already been finalized -""" -function isfinalized(vec::Vec) - return isfinalized(vec.p) -end - -function isfinalized(vec::C.Vec) - return vec.pobj == C_NULL -end - -global const is_nullvec = isfinalized # another name for doing the same check - - """ - Use the PETSc routine for printing a vector to stdout -""" -function petscview{T}(vec::Vec{T}) - viewer = C.PetscViewer{T}(C_NULL) - chk(C.VecView(vec.p, viewer)) -end - -function Base.resize!(x::Vec, m::Integer=C.PETSC_DECIDE; mlocal::Integer=C.PETSC_DECIDE) - if m == mlocal == C.PETSC_DECIDE - throw(ArgumentError("either the length (m) or local length (mlocal) must be specified")) - end - - chk(C.VecSetSizes(x.p, mlocal, m)) - x -end - -############################################################################### -export ghost_begin!, ghost_end!, scatter!, ghost_update! -# ghost vectors: essential methods - """ - Start communication to update the ghost values (on other processes) from the local - values -""" -function ghost_begin!{T<:Scalar}(v::Vec{T}; imode=C.INSERT_VALUES, - smode=C.SCATTER_FORWARD) - chk(C.VecGhostUpdateBegin(v.p, imode, smode)) - return v -end - - """ - Finish communication for updating ghost values -""" -function ghost_end!{T<:Scalar}(v::Vec{T}; imode=C.INSERT_VALUES, - smode=C.SCATTER_FORWARD) - chk(C.VecGhostUpdateEnd(v.p, imode, smode)) - return v -end - -# ghost vectors: helpful methods - """ - Convenience method for calling both ghost_begin! and ghost_end! -""" -function scatter!{T<:Scalar}(v::Vec{T}; imode=C.INSERT_VALUES, smode=C.SCATTER_FORWARD) - - ghost_begin!(v, imode=imode, smode=smode) - ghost_end!(v, imode=imode, smode=smode) -end - -# is there a way to specify all varargs must be same type? -# this can't be named scatter! because of ambiguity with the index set scatter! - """ - Convenience method for calling ghost_begin! and ghost_end! for multiple vectors -""" -function ghost_update!(v...; imode=C.INSERT_VALUES, smode=C.SCATTER_FORWARD) - - for i in v - ghost_begin!(i, imode=imode, smode=smode) - end - - for i in v - ghost_end!(i, imode=imode, smode=smode) - end - - return v -end - - - -############################################################################### -export lengthlocal, sizelocal, localpart - -Base.convert(::Type{C.Vec}, v::Vec) = v.p - -import Base.length - """ - Get the global length of the vector -""" -function length(x::Vec) - sz = Ref{PetscInt}() - chk(C.VecGetSize(x.p, sz)) - Int(sz[]) -end - - """ - Get the global size of the vector -""" -Base.size(x::Vec) = (length(x),) - - """ - Get the length of the local portion of the vector -""" -function lengthlocal(x::Vec) - sz = Ref{PetscInt}() - chk(C.VecGetLocalSize(x.p, sz)) - sz[] -end - -""" - Get the local size of the vector -""" -sizelocal(x::Vec) = (lengthlocal(x),) - -""" - Get local size of the vector -""" -sizelocal{T,n}(t::AbstractArray{T,n}, d) = (d>n ? 1 : sizelocal(t)[d]) - - """ - Get the range of global indices that define the local part of the vector. - Internally, this calls the Petsc function VecGetOwnershipRange, and has - the same limitations as that function, namely that some vector formats do - not have a well defined contiguous range. -""" -function localpart(v::Vec) - # this function returns a range from the first to the last indicies (1 based) - # this is different than the Petsc VecGetOwnershipRange function where - # the max value is one more than the number of entries - low = Ref{PetscInt}() - high = Ref{PetscInt}() - chk(C.VecGetOwnershipRange(v.p, low, high)) - return (low[]+1):(high[]) -end - -""" - Similar to localpart, but returns the range of block indices -""" -function localpart_block(v::Vec) - low = Ref{PetscInt}() - high = Ref{PetscInt}() - chk(C.VecGetOwnershipRange(v.p, low, high)) - bs = get_blocksize(v) - low_b = div(low[], bs); high_b = div(high[]-1, bs) - ret = (low_b+1):(high_b+1) - - return ret -end - - -function Base.similar{T}(x::Vec{T}) - p = Ref{C.Vec{T}}() - chk(C.VecDuplicate(x.p, p)) - Vec{T}(p[]) -end - -Base.similar{T}(x::Vec{T}, ::Type{T}) = similar(x) -function Base.similar{T}(x::Vec{T}, T2::Type) - VType = gettype(x) - Vec(T2, length(x), VType; comm=comm(x), mlocal=lengthlocal(x)) -end - -function Base.similar{T}(x::Vec{T}, T2::Type, len::Union{Int,Dims}) - VType = gettype(x) - length(len) == 1 || throw(ArgumentError("expecting 1-dimensional size")) - len[1]==length(x) && T2==T ? similar(x) : Vec(T2, len[1], vtype=VType; comm=comm(x)) -end - -function Base.similar{T}(x::Vec{T}, len::Union{Int,Dims}) - VType = gettype(x) - length(len) == 1 || throw(ArgumentError("expecting 1-dimensional size")) - len[1]==length(x) ? similar(x) : Vec(T, len[1], vtype=VType; comm=comm(x)) -end - -function Base.copy(x::Vec) - AssemblyBegin(x) - y = similar(x) - AssemblyEnd(x) - chk(C.VecCopy(x.p, y.p)) - y -end - -############################################################################### -export localIS, local_to_global_mapping, set_local_to_global_mapping, has_local_to_global_mapping - -""" - Constructs index set mapping from local indexing to global indexing, based - on localpart() -""" -function localIS{T}(A::Vec{T}) - - rows = localpart(A) - rowis = IS(T, rows, comm=comm(A)) - return rowis -end - -""" - Like localIS, but returns a block index IS -""" -function localIS_block{T}(A::Vec{T}) - rows = localpart_block(A) - bs = get_blocksize(A) - rowis = ISBlock(T, bs, rows, comm=comm(A)) -# set_blocksize(rowis, get_blocksize(A)) - return rowis -end -""" - Construct ISLocalToGlobalMappings for the vector. If a block vector, - create a block index set -""" -function local_to_global_mapping(A::Vec) - - # localIS creates strided index sets, which require only constant - # memory - if get_blocksize(A) == 1 - rowis = localIS(A) - else - rowis = localIS_block(A) - end - row_ltog = ISLocalToGlobalMapping(rowis) - - return row_ltog -end - -# need a better name -""" - Registers the ISLocalToGlobalMapping with the Vec -""" -function set_local_to_global_mapping{T}(A::Vec{T}, rmap::ISLocalToGlobalMapping{T}) - - chk(C.VecSetLocalToGlobalMapping(A.p, rmap.p)) -end - -""" - Check if the local to global mapping has been registered -""" -function has_local_to_global_mapping{T}(A::Vec{T}) - - rmap_ref = Ref{C.ISLocalToGlobalMapping{T}}() - chk(C.VecGetLocalToGlobalMapping(A.p, rmap_re)) - - rmap = rmap_ref[] - - return rmap.pobj != C_NULL -end - - -########################################################################## -import Base: setindex! -export assemble, isassembled, AssemblyBegin, AssemblyEnd - -# for efficient vector assembly, put all calls to x[...] = ... inside -# assemble(x) do ... end - """ - Start communication to assemble stashed values into the vector - - The MatAssemblyType is not needed for vectors, but is provided for - compatability with the Mat case. - - Unless vec.verify_assembled == false, users must *never* call the - C functions VecAssemblyBegin, VecAssemblyEnd and VecSetValues, they must - call AssemblyBegin, AssemblyEnd, and setindex!. -""" -function AssemblyBegin(x::Vec, t::C.MatAssemblyType=C.MAT_FINAL_ASSEMBLY) - chk(C.VecAssemblyBegin(x.p)) -end - -""" - Generic fallback for AbstractArray, no-op -""" -function AssemblyBegin(x::AbstractArray, t::C.MatAssemblyType=C.MAT_FINAL_ASSEMBLY) - -end - """ - Finish communication for assembling the vector -""" -function AssemblyEnd(x::Vec, t::C.MatAssemblyType=C.MAT_FINAL_ASSEMBLY) - chk(C.VecAssemblyEnd(x.p)) - x.assembled = true -end - -""" - Check if a vector is assembled (ie. does not have stashed values). If - `x.verify_assembled`, the assembly state of all processes is checked, - otherwise only the local process is checked. `local_only` forces only - the local process to be checked, regardless of `x.verify_assembled`. -""" -function isassembled(x::Vec, local_only=false) - myrank = MPI.Comm_rank(comm(x)) - if x.verify_assembled && !local_only - val = MPI.Allreduce(Int8(x.assembled), MPI.LAND, comm(x)) - else - val = x.assembled - end - - return Bool(val) -end - -""" - Generic fallback for AbstractArray, no-op -""" -function AssemblyEnd(x::AbstractArray, t::C.MatAssemblyType=C.MAT_FINAL_ASSEMBLY) - -end - -isassemble(x::AbstractArray) = true -# assemble(f::Function, x::Vec) is defined in mat.jl - - """ - Like setindex, but requires the indices be 0-base -""" -function setindex0!{T}(x::Vec{T}, v::Array{T}, i::Array{PetscInt}) - n = length(v) - if n != length(i) - throw(ArgumentError("length(values) != length(indices)")) - end - # println(" in setindex0, passed bounds check") - chk(C.VecSetValues(x.p, n, i, v, x.insertmode)) - x.assembled = false - x -end - -function setindex!{T}(x::Vec{T}, v::Number, i::Integer) - # can't call VecSetValue since that is a static inline function - setindex0!(x, T[ v ], PetscInt[ i - 1 ]) - v -end - -# set multiple entries to a single value -setindex!{T<:Integer}(x::Vec, v::Number, I::AbstractArray{T}) = assemble(x) do - for i in I - x[i] = v - end - x -end - -function Base.fill!{T}(x::Vec{T}, v::Number) - chk(C.VecSet(x.p, T(v))) - return x -end - -function setindex!{T<:Integer}(x::Vec, v::Number, I::Range{T}) - if abs(step(I)) == 1 && minimum(I) == 1 && maximum(I) == length(x) - fill!(x, v) - return v - else - # use invoke here to avoid a recursion loop - return invoke(setindex!, (Vec,typeof(v),AbstractVector{T}), x,v,I) - end -end - -#TODO: make this a single call to VecSetValues -setindex!{T<:Real}(x::Vec, V::AbstractArray, I::AbstractArray{T}) = -assemble(x) do - if length(V) != length(I) - throw(ArgumentError("length(values) != length(indices)")) - end - # possibly faster to make a PetscScalar array from V, and - # a copy of the I array shifted by 1, to call setindex0! instead? - c = 1 - for i in I - x[i] = V[c] - c += 1 - end - x -end - -# logical indexing -setindex!(A::Vec, x::Number, I::AbstractArray{Bool}) = assemble(A) do - for i = 1:length(I) - if I[i] - A[i] = x + function destroy(v::AbstractVec{$PetscScalar}) + finalized($PetscScalar) || + @chk ccall((:VecDestroy, $libpetsc), PetscErrorCode, (Ptr{CVec},), v) + return nothing end - end - A -end -for T in (:(Array{T2}),:(AbstractArray{T2})) # avoid method ambiguities - @eval setindex!{T2<:Scalar}(A::Vec, X::$T, I::AbstractArray{Bool}) = assemble(A) do - c = 1 - for i = 1:length(I) - if I[i] - A[i] = X[c] - c += 1 - end - end - A - end -end - -########################################################################## -import Base.getindex - -# like getindex but for 0-based indices i -function getindex0{T}(x::Vec{T}, i::Vector{PetscInt}) - v = similar(i, T) - chk(C.VecGetValues(x.p, length(i), i, v)) - v -end - -getindex(x::Vec, i::Integer) = getindex0(x, PetscInt[i-1])[1] - -getindex(x::Vec, I::AbstractVector{PetscInt}) = - getindex0(x, PetscInt[ (i-1) for i in I ]) - -########################################################################## -# more indexing -# 0-based (to avoid temporary copies) -export set_values!, set_values_blocked!, set_values_local!, set_values_blocked_local! - -#TODO: in 0.5, use boundscheck macro to verify stride=1 - -function set_values!{T <: Scalar}(x::Vec{T}, idxs::StridedVecOrMat{PetscInt}, - vals::StridedVecOrMat{T}, o::C.InsertMode=x.insertmode) - - chk(C.VecSetValues(x.p, length(idxs), idxs, vals, o)) -end - -function set_values!{T <: Scalar, I <: Integer}(x::Vec{T}, idxs::StridedVecOrMat{I}, - vals::StridedVecOrMat{T}, o::C.InsertMode=x.insertmode) - - # convert idxs to PetscInt - p_idxs = PetscInt[ i for i in idxs] - set_values!(x, p_idxs, vals, o) -end - -function set_values!(x::AbstractVector, idxs::AbstractArray, vals::AbstractArray, - o::C.InsertMode=C.INSERT_VALUES) - - if o == C.INSERT_VALUES - for i=1:length(idxs) - x[idxs[i] + 1] = vals[i] + function Base.length(v::AbstractVec{$PetscScalar}) + r_sz = Ref{$PetscInt}() + @chk ccall((:VecGetSize, $libpetsc), PetscErrorCode, + (CVec, Ptr{$PetscInt}), v, r_sz) + return r_sz[] end - elseif o == C.ADD_VALUES - for i=1:length(idxs) - x[idxs[i] + 1] += vals[i] - end - else - throw(ArgumentError("Unsupported InsertMode")) - end -end - - -function set_values_blocked!{T <: Scalar}(x::Vec{T}, idxs::StridedVecOrMat{PetscInt}, - vals::StridedVecOrMat{T}, o::C.InsertMode=x.insertmode) - - chk(C.VecSetValuesBlocked(x.p, length(idxs), idxs, vals, o)) -end - -function set_values_blocked!{T <: Scalar, I <: Integer}(x::Vec{T}, - idxs::StridedVecOrMat{I}, vals::StridedVecOrMat{T}, - o::C.InsertMode=x.insertmode) - - p_idxs = PetscInt[ i for i in idxs] - set_values_blocked!(x, p_idxs, vals, o) -end - -# julia doesn't have blocked vectors, so skip - - -function set_values_local!{T <: Scalar}(x::Vec{T}, idxs::StridedVecOrMat{PetscInt}, - vals::StridedVecOrMat{T}, o::C.InsertMode=x.insertmode) - - chk(C.VecSetValuesLocal(x.p, length(idxs), idxs, vals, o)) -end - -function set_values_local!{T <: Scalar, I <: Integer}(x::Vec{T}, - idxs::StridedVecOrMat{I}, vals::StridedVecOrMat{T}, - o::C.InsertMode=x.insertmode) - - p_idxs = PetscInt[ i for i in idxs] - set_values_local!(x, p_idxs, vals, o) -end - -# for julia vectors, local = global -function set_values_local!(x::AbstractArray, idxs::AbstractArray, - vals::AbstractArray, o::C.InsertMode=C.INSERT_VALUES) - - if o == C.INSERT_VALUES - for i=1:length(idxs) - x[idxs[i] + 1] = vals[i] - end - elseif o == C.ADD_VALUES - for i=1:length(idxs) - x[idxs[i] + 1] += vals[i] - end - else - throw(ArgumentError("Unsupported InsertMode")) - end - -end - - -function set_values_blocked_local!{T <: Scalar}(x::Vec{T}, - idxs::StridedVecOrMat{PetscInt}, - vals::StridedVecOrMat{T}, o::C.InsertMode=x.insertmode) - - chk(C.VecSetValuesBlockedLocal(x.p, length(idxs), idxs, vals, o)) -end - - -function set_values_blocked_local!{T <: Scalar, I <: Integer}(x::Vec{T}, - idxs::StridedVecOrMat{I}, vals::StridedVecOrMat{T}, - o::C.InsertMode=x.insertmode) - - p_idxs = PetscInt[ i for i in idxs] - set_values_blocked_local!(x, p_idxs, vals, o) -end - -# julia doesn't have blocked vectors, so skip - - - - - - - -############################################################################### -import Base: abs, exp, log, conj, conj! -export abs!, exp!, log! -for (f,pf) in ((:abs,:VecAbs), (:exp,:VecExp), (:log,:VecLog), - (:conj,:VecConjugate)) - fb = symbol(string(f, "!")) - @eval begin - function $fb(x::Vec) - chk(C.$pf(x.p)) - x - end - $f(x::Vec) = $fb(copy(x)) - end -end - -export chop! -function chop!(x::Vec, tol::Real) - chk(C.VecChop(x.p, tol)) -# chk(ccall((:VecChop, petsc), PetscErrorCode, (pVec, PetscReal), x, tol)) - x -end - -for (f, pf, sf) in ((:findmax, :VecMax, :maximum), (:findmin, :VecMin, :minimum)) - @eval begin - function Base.$f{T<:Real}(x::Vec{T}) - i = Ref{PetscInt}() - v = Ref{T}() - chk(C.$pf(x.p, i, v)) - (v[], i[]+1) + function LinearAlgebra.norm(v::AbstractVec{$PetscScalar}, normtype::NormType=NORM_2) + r_val = Ref{$PetscReal}() + @chk ccall((:VecNorm, $libpetsc), PetscErrorCode, + (CVec, NormType, Ptr{$PetscReal}), + v, normtype,r_val) + return r_val[] end - Base.$sf{T<:Real}(x::Vec{T}) = $f(x)[1] - end -end -# For complex numbers, VecMax and VecMin apparently return the max/min -# real parts, which doesn't match Julia's maximum/minimum semantics. - -function Base.norm{T<:Real}(x::Union{Vec{T},Vec{Complex{T}}}, p::Number) - v = Ref{T}() - n = p == 1 ? C.NORM_1 : p == 2 ? C.NORM_2 : p == Inf ? C.NORM_INFINITY : - throw(ArgumentError("unrecognized Petsc norm $p")) - chk(C.VecNorm(x.p, n, v)) - v[] -end - -if VERSION >= v"0.5.0-dev+8353" # JuliaLang/julia#13681 - import Base.normalize! -else - export normalize! -end - - """ - computes v = norm(x,2), divides x by v, and returns v -""" -function normalize!{T<:Real}(x::Union{Vec{T},Vec{Complex{T}}}) - v = Ref{T}() - chk(C.VecNormalize(x.p, v)) - v[] -end - -function Base.dot{T}(x::Vec{T}, y::Vec{T}) - d = Ref{T}() - chk(C.VecDot(y.p, x.p, d)) - return d[] -end - -# unconjugated dot product (called for x'*y) -function Base.At_mul_B{T<:Complex}(x::Vec{T}, y::Vec{T}) - d = Array(T, 1) - chk(C.VecTDot(x.p, y.p, d)) - return d -end - -# pointwise operations on pairs of vectors (TODO: support in-place variants?) -import Base: max, min, .*, ./, .\ -for (f,pf) in ((:max,:VecPointwiseMax), (:min,:VecPointwiseMin), - (:.*,:VecPointwiseMult), (:./,:VecPointwiseDivide)) - @eval function ($f)(x::Vec, y::Vec) - w = similar(x) - chk(C.$pf(w.p, x.p, y.p)) - w - end -end - -import Base: +, - -function Base.scale!{T}(x::Vec{T}, s::Number) - chk(C.VecScale(x.p, T(s))) - x -end -Base.scale{T}(x::Vec{T},s::Number) = scale!(copy(x),s) -(.*)(x::Vec, a::Number...) = scale(x, prod(a)) -(.*)(a::Number, x::Vec) = scale(x, a) -(./)(x::Vec, a::Number) = scale(x, inv(a)) -(.\)(a::Number, x::Vec) = scale(x, inv(a)) -function (./)(a::Number, x::Vec) - y = copy(x) - chk(C.VecReciprocal(y.p)) - if a != 1.0 - scale!(y, a) - end - y -end - -function (+){T<:Scalar}(x::Vec{T}, a::Number...) - y = copy(x) - chk(C.VecShift(y.p, T(sum(a)))) - return y -end -(+){T<:Scalar}(a::Number, x::Vec{T}) = x + a -(-){T<:Scalar}(x::Vec{T}, a::Number) = x + (-a) -(-)(x::Vec) = scale(x, -1) -function (-){T<:Scalar}(a::Number, x::Vec{T}) - y = -x - chk(C.VecShift(y.p, T(a))) - return y -end - -import Base: == -function (==)(x::Vec, y::Vec) - b = Ref{PetscBool}() - chk(C.VecEqual(x.p, y.p, b)) - b[] != 0 -end - -function (==)(x::Vec, y::AbstractArray) - flag = true - x_arr = LocalVector(x) - for i=1:length(x_arr) # do localpart, then MPI reduce - flag = flag && x_arr[i] == y[i] - end - restore(x_arr) - - buf = Int8[flag] - # process 0 is root - recbuf = MPI.Reduce(buf, 1, MPI.LAND, 0, comm(x)) - - if MPI.Comm_rank(comm(x)) == 0 - buf[1] = recbuf[1] - end - - MPI.Bcast!(buf, 1, 0, comm(x)) - - return convert(Bool, buf[1]) -end - -function Base.sum{T}(x::Vec{T}) - s = Ref{T}() - chk(C.VecSum(x.p, s)) - s[] -end - -############################################################################### -# map and friends -import Base: map!, map -#map() should be inherited from base - -function map!(f, c) - map!(f, c, c) -end - -""" -Applys f element-wise to src to populate dest. If src is a ghost vector, -then f is applied to the ghost elements as well as the local elements. -""" -function map!{T}(f, dest::Vec{T}, src::Vec) - if length(dest) < length(src) - throw(ArgumentError("Length of dest must be >= src")) - end - if localpart(dest)[1] != localpart(src)[1] - throw(ArgumentError("start of local part of src and dest must be aligned")) - end - - dest_arr = LocalVector(dest) - src_arr = LocalVector_readonly(src) - try - for (idx, val) in enumerate(src) - dest[idx] = f(val) + + function assemblybegin(V::AbstractVec{$PetscScalar}) + @chk ccall((:VecAssemblyBegin, $libpetsc), PetscErrorCode, (CVec,), V) + return nothing + end + function assemblyend(V::AbstractVec{$PetscScalar}) + @chk ccall((:VecAssemblyEnd, $libpetsc), PetscErrorCode, (CVec,), V) + return nothing end - finally - restore(dest_arr) - restore(src_arr) - end -end -""" - Multiple source vector map. All vectors must have the local and global - lengths. If some a ghost vectors and some are not, the map is applied - only to the local part -""" -function map!{T, T2}(f, dest::Vec{T}, src1::Vec{T}, src2::Vec{T2}, src_rest::Vec{T2}...) - - # annoying workaround for #13651 - srcs = (src1, src2, src_rest...) - # check lengths - dest_localrange = localpart(dest) - dest_len = length(dest) - for src in srcs - srclen = length(src) - srcrange_local = localpart(src) - if dest_len < srclen - throw(ArgumentError("Length of destination must be greater than source")) + function ownershiprange(vec::AbstractVec{$PetscScalar}) + r_lo = Ref{$PetscInt}() + r_hi = Ref{$PetscInt}() + @chk ccall((:VecGetOwnershipRange, $libpetsc), PetscErrorCode, + (CVec, Ptr{$PetscInt}, Ptr{$PetscInt}), vec, r_lo, r_hi) + r_lo[]:(r_hi[]-$PetscInt(1)) end - if dest_localrange[1] != srcrange_local[1] - throw(ArgumentError("start of local part of src and dest must be aligned")) + function view(vec::AbstractVec{$PetscScalar}, viewer::Viewer{$PetscScalar}=ViewerStdout{$PetscScalar}(vec.comm)) + @chk ccall((:VecView, $libpetsc), PetscErrorCode, + (CVec, CPetscViewer), + vec, viewer); + return nothing end - end - - # extract the arrays - n = length(srcs) - len = 0 - len_prev = 0 - src_arrs = Array(LocalVectorRead{T2}, n) - use_length_local = false - dest_arr = LocalVector(dest) - try - for (idx, src) in enumerate(srcs) - src_arrs[idx] = LocalVector_readonly(src) - - # check of length of arrays are same or not - len = length(src_arrs[idx]) - if len != len_prev && idx != 1 && !use_length_local - use_length_local = true - end - len_prev = len + function localsize(v::AbstractVec{$PetscScalar}) + return r_sz[] end - - # if not all same, do only the local part (which must be the same for all) - if use_length_local - min_length = lenth(src1) - else - min_length = length(src_arrs[1]) + + function unsafe_localarray(::Type{$PetscScalar}, cv::CVec) + r_pv = Ref{Ptr{$PetscScalar}}() + @chk ccall((:VecGetArray, $libpetsc), PetscErrorCode, + (CVec, Ptr{Ptr{$PetscScalar}}), cv, r_pv) + r_sz = Ref{$PetscInt}() + @chk ccall((:VecGetLocalSize, $libpetsc), PetscErrorCode, + (CVec, Ptr{$PetscInt}), cv, r_sz) + v = unsafe_wrap(Array, r_pv[], r_sz[]; own = false) + finalizer(_ -> restore(cv, r_pv[]), v) + return v end - # do the map - vals = Array(T, n) - for i=1:min_length # TODO: make this the minimum array length - for j=1:n # extract values - vals[j] = src_arrs[j][i] - end - dest_arr[i] = f(vals...) - end - finally # restore the arrays - for src_arr in src_arrs - restore(src_arr) + function restore(cv::CVec, ptr::Ptr{$PetscScalar}) + @chk ccall((:VecRestoreArray, $libpetsc), PetscErrorCode, (CVec, Ptr{Ptr{$PetscScalar}}), cv, Ref(ptr)) + return nothing end - restore(dest_arr) - end -end - -########################################################################## -export axpy!, aypx!, axpby!, axpbypcz! -import Base.LinAlg.BLAS.axpy! - -# y <- alpha*x + y -function axpy!{T}(alpha::Number, x::Vec{T}, y::Vec{T}) - chk(C.VecAXPY(y.p, T(alpha), x.p)) - y -end -# w <- alpha*x + y -function axpy!{T}(alpha::Number, x::Vec{T}, y::Vec{T}, w::Vec{T}) - chk(C.VecWAXPY(w.p, T(alpha), x.p, y.p)) - y -end -# y <- alpha*y + x -function aypx!{T}(x::Vec{T}, alpha::Number, y::Vec{T}) - chk(C.VecAYPX( y.p, T(alpha), x.p)) - y end -# y <- alpha*x + beta*y -function axpby!{T}(alpha::Number, x::Vec{T}, beta::Number, y::Vec{T}) - chk(C.VecAXPBY(y.p, T(alpha), T(beta), x.p)) - y -end -# z <- alpha*x + beta*y + gamma*z -function axpbypcz!{T}(alpha::Number, x::Vec{T}, beta::Number, y::Vec{T}, - gamma::Number, z::Vec{T}) - chk(C.VecAXPBYPCZ(z.p, T(alpha), T(beta), T(gamma), x.p, y.p)) - z -end - -# y <- y + \sum_i alpha[i] * x[i] -function axpy!{V<:Vec}(y::V, alpha::AbstractArray, x::AbstractArray{V}) - n = length(x) - length(alpha) == n || throw(BoundsError()) - _x = [X.p for X in x] - _alpha = eltype(y)[a for a in alpha] - C.VecMAXPY(y.p, n, _alpha, _x) - y -end - -########################################################################## -# element-wise vector operations: -import Base: .*, ./, .^, +, - -for (f,pf) in ((:.*,:VecPointwiseMult), (:./,:VecPointwiseDivide), (:.^,:VecPow)) - @eval function ($f)(x::Vec, y::Vec) - z = similar(x) - chk(C.$pf(z.p, x.p, y.p)) - return z - end -end - -for (f,s) in ((:+,1), (:-,-1)) - @eval function ($f){T}(x::Vec{T}, y::Vec{T}) - z = similar(x) - chk(C.VecWAXPY(z.p, T($s), y.p, x.p)) - return z - end +function Base.show(io::IO, ::MIME"text/plain", vec::AbstractVec) + _show(io, vec) end +VecSeq(X::Vector{T}; kwargs...) where {T} = VecSeq(MPI.COMM_SELF, X; kwargs...) +AbstractVec(X::AbstractVector) = VecSeq(X) -############################################################################## -export LocalVector, LocalVector_readonly, restore - """ - Object representing the local part of the array, accessing the memory directly. - Supports all the same indexing as a regular Array """ -type LocalVector{T <: Scalar, ReadOnly} <: DenseArray{T, 1} - a::Array{T, 1} # the array object constructed around the pointer - ref::Ref{Ptr{T}} # reference to the pointer to the data - pobj::C.Vec{T} - isfinalized::Bool # has this been finalized yet - function LocalVector(a::Array, ref::Ref, ptr) - varr = new(a, ref, ptr, false) - # backup finalizer, shouldn't ever be used because users must call - # restore before their changes will take effect - finalizer(varr, restore) - return varr - end + ownership_range(vec::AbstractVec) -end +The range of indices owned by this processor, assuming that the vectors are laid out with the first n1 elements on the first processor, next n2 elements on the second, etc. For certain parallel layouts this range may not be well defined. -typealias LocalVectorRead{T} LocalVector{T, true} -typealias LocalVectorWrite{T} LocalVector{T, false} +Note: unlike the C function, the range returned is inclusive (`idx_first:idx_last`) -""" - Get the LocalVector of a vector. Users must call restore when - finished updating the vector -""" -function LocalVector{T}(vec::Vec{T}) +https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Vec/VecGetOwnershipRange.html +""" +ownershiprange - len = lengthlocal(vec) - - ref = Ref{Ptr{T}}() - chk(C.VecGetArray(vec.p, ref)) - a = pointer_to_array(ref[], len) - return LocalVector{T, false}(a, ref, vec.p) -end - -""" - Tell Petsc the LocalVector is no longer being used -""" -function restore{T}(varr::LocalVectorWrite{T}) - - if !varr.isfinalized && !PetscFinalized(T) && !isfinalized(varr.pobj) - ptr = varr.ref - chk(C.VecRestoreArray(varr.pobj, ptr)) - end - varr.isfinalized = true -end - -""" - Get the LocalVector_readonly of a vector. Users must call restore when - finished with the object. -""" -function LocalVector_readonly{T}(vec::Vec{T}) - - len = lengthlocal(vec) - - ref = Ref{Ptr{T}}() - chk(C.VecGetArrayRead(vec.p, ref)) - a = pointer_to_array(ref[], len) - return LocalVector{T, true}(a, ref, vec.p) -end - -function restore{T}(varr::LocalVectorRead{T}) - - if !varr.isfinalized && !PetscFinalized(T) && !isfinalized(varr.pobj) - ptr = [varr.ref[]] - chk(C.VecRestoreArrayRead(varr.pobj, ptr)) - end - varr.isfinalized = true -end - -Base.size(varr::LocalVector) = size(varr.a) -# indexing -getindex(varr::LocalVector, i) = getindex(varr.a, i) -setindex!(varr::LocalVectorWrite, v, i) = setindex!(varr.a, v, i) -Base.unsafe_convert{T}(::Type{Ptr{T}}, a::LocalVector{T}) = Base.unsafe_convert(Ptr{T}, a.a) -Base.stride(a::LocalVector, d::Integer) = stride(a.a, d) -Base.similar(a::LocalVector, T=eltype(a), dims=size(a)) = similar(a.a, T, dims) - -function (==)(x::LocalVector, y::AbstractArray) - return x.a == y -end diff --git a/src/vec_scatter.jl b/src/vec_scatter.jl deleted file mode 100644 index 8ffbb0f6..00000000 --- a/src/vec_scatter.jl +++ /dev/null @@ -1,49 +0,0 @@ -########################################################################### -export VecScatter - -# describes a scatter operation context (input/output index sets etc.) -type VecScatter{T} - p::C.VecScatter{T} - - function VecScatter(p::C.VecScatter{T}) - o = new(p) - finalizer(o, VecScatterDestroy) - return o - end -end - -comm{T}(a::VecScatter{T}) = MPI.Comm(C.PetscObjectComm(T, a.p.pobj)) - -function VecScatterDestroy{T}(o::VecScatter{T}) - PetscFinalized(T) || C.VecScatterDestroy(Ref(o.p)) -end - -function VecScatter{T}(x::Vec{T}, ix::IS{T}, y::Vec{T}, iy::IS{T}) - scatter_c = Ref{C.VecScatter{T}}() - chk(C.VecScatterCreate(x.p, ix.p, y.p, iy.p, scatter_c)) - return VecScatter{T}(scatter_c[]) -end - -function Base.copy{T}(i::VecScatter{T}) - vs_c = Ref{C.VecScatter{T}}() - chk(C.VecScatterCopy(i.p, vs_c)) - return VecScatter{T}(vs_c[]) -end - -########################################################################### -export scatter! - -function scatter!{T}(scatter::VecScatter{T}, x::Vec{T}, y::Vec{T}; imode=C.INSERT_VALUES, smode=C.SCATTER_FORWARD) - chk(C.VecScatterBegin(scatter.p, x.p, y.p, imode, smode)) - yield() # do async computations while messages are in transit - chk(C.VecScatterEnd(scatter.p, x.p, y.p, imode, smode)) - return y -end - -function scatter!{T,I1,I2}(x::Vec{T}, ix::AbstractVector{I1}, - y::Vec{T}, iy::AbstractVector{I2}; - imode=C.INSERT_VALUES, smode=C.SCATTER_FORWARD) - scatter = VecScatter(x, IS(T, ix, comm=comm(x)), - y, IS(T, iy, comm=comm(y))) - scatter!(scatter, x, y; imode=imode, smode=smode) -end diff --git a/src/viewer.jl b/src/viewer.jl new file mode 100644 index 00000000..2ba0c0fe --- /dev/null +++ b/src/viewer.jl @@ -0,0 +1,71 @@ + +# we need to parametrise by type so we know which library to call +abstract type Viewer{T} end + +const CPetscViewer = Ptr{Cvoid} + +Base.cconvert(::Type{CPetscViewer}, obj::Viewer) = obj.ptr +Base.unsafe_convert(::Type{Ptr{CPetscViewer}}, obj::Viewer) = + convert(Ptr{CPetscViewer}, pointer_from_objref(obj)) + + +mutable struct ViewerStdout{T} <: Viewer{T} + ptr::CPetscViewer + comm::MPI.Comm +end + +@for_libpetsc begin + function ViewerStdout{$PetscScalar}(comm::MPI.Comm=MPI.COMM_SELF) + ptr = ccall((:PETSC_VIEWER_STDOUT_, $libpetsc), CPetscViewer, (MPI.MPI_Comm,), comm) + return ViewerStdout{$PetscScalar}(ptr, comm) + end + function Base.push!(viewer::Viewer{$PetscScalar}, format::PetscViewerFormat) + @chk ccall((:PetscViewerPushFormat, $libpetsc), PetscErrorCode, (CPetscViewer,PetscViewerFormat), viewer, format) + return nothing + end + function Base.pop!(viewer::Viewer{$PetscScalar}) + @chk ccall((:PetscViewerPopFormat, $libpetsc), PetscErrorCode, (CPetscViewer,), viewer) + return nothing + end + +end + +function with(f, viewer::Viewer, format::PetscViewerFormat) + push!(viewer, format) + try + f() + finally + pop!(viewer) + end +end + +# ideally we would capture the output directly, but this looks difficult +# easiest option is to redirect stdout +# based on suggestion from https://github.com/JuliaLang/julia/issues/32567 +function _show(io::IO, obj) + old_stdout = stdout + try + rd, = redirect_stdout() + view(obj) + Libc.flush_cstdio() + flush(stdout) + write(io, readavailable(rd)) + finally + redirect_stdout(old_stdout) + end + return nothing +end + + + +#= +# PETSc_jll isn't built with X support +mutable struct ViewerDraw <: Viewer + ptr::CPetscViewer + comm::MPI.Comm +end +function ViewerDraw(comm::MPI.Comm) + ptr = ccall((:PETSC_VIEWER_DRAW_, libpetsc), CPetscViewer, (MPI.MPI_Comm,), comm) + return ViewerDraw(ptr, comm) +end +=# \ No newline at end of file diff --git a/test/laplacian.jl b/test/laplacian.jl new file mode 100644 index 00000000..4ce0d1a8 --- /dev/null +++ b/test/laplacian.jl @@ -0,0 +1,54 @@ +using Test +using PETSc, MPI, LinearAlgebra, SparseArrays + +MPI.Init() +PETSc.initialize() + +# Constructs the central finite-difference approximation of -∇² for an lx×ly box of nx×ny points +# with Dirichlet boundary conditions. Based on the code from +# http://math.mit.edu/~stevenj/18.303/lecture-10.html +function laplace(T, nx::Integer, ny::Integer=nx, lx::Integer=1, ly::Integer=lx) + dx = T(lx) / T(nx + 1) + dy = T(ly) / T(ny + 1) + Dx = [[one(T) spzeros(T, 1, nx - 1)]; spdiagm(1=>ones(T, nx - 1)) - I] / dx + Dy = [[one(T) spzeros(T, 1, ny - 1)]; spdiagm(1=>ones(T, ny - 1)) - I] / dy + Ax = Dx' * Dx + Ay = Dy' * Dy + A = kron(sparse(I, ny, ny), Ax) + kron(Ay, sparse(I, nx, nx)) + return A +end + +T = Float64 +nx = 20 +S = laplace(T, nx) + +m, n = size(S) +M = PETSc.MatSeqAIJ(S) + +ksp = PETSc.KSP( + M; + ksp_monitor_true_residual = true, + ksp_view = true, + ksp_type = "cg", + ksp_rtol = 1e-8, + pc_type = "gamg", + # I think these are not being set properly: + mg_levels_ksp_type = "chebyshev", + mg_levels_ksp_max_it = 3, + mg_levels_pc_type = "bjacobi", + mg_levels_sub_pc_type = "icc", + mg_coarse_ksp_type = "preonly", + mg_coarse_pc_type = "cholesky", +) + +# initial guess +x = PETSc.VecSeq(zeros(m)) +b = PETSc.VecSeq(randn(n)) +PETSc.solve!(x, ksp, b) + +PETSc.destroy(ksp) +PETSc.destroy(M) +PETSc.destroy(b) +PETSc.destroy(x) + +PETSc.finalize() diff --git a/test/runtests.jl b/test/runtests.jl index b9580f27..06ddcbc1 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,19 +1,45 @@ -include("runtests_setup.jl") -println("testing types: ", PETSc.C.petsc_type) -for (i, ST) in enumerate(PETSc.C.petsc_type) - if PETSc.have_petsc[i] - println("testing datatype ", ST) - # @testset "Scalar type $ST" begin # uncomment when nested test results can be printed - include("error.jl") - include("ksp.jl") - include("vec.jl") - include("is.jl") - include("mat.jl") - include("ts.jl") - end - # end -end - -@test PETSc.petsc_sizeof(PETSc.C.PETSC_BOOL) == 4 +using Test +using PETSc, MPI, LinearAlgebra, SparseArrays +m,n = 20,20 +x = randn(n) +V = PETSc.VecSeq(x) + +@test norm(x) ≈ norm(V) rtol=10eps() + +S = sprand(m,n,0.1) + I +M = PETSc.MatSeqAIJ(S) + +@test norm(S) ≈ norm(M) rtol=10eps() + +w = M*x +@test w ≈ S*x + +ksp = PETSc.KSP(M; ksp_rtol=1e-8, pc_type="jacobi", ksp_monitor=true) +#PETSc.settolerances!(ksp; rtol=1e-8) + +@test PETSc.gettype(ksp) == "gmres" # default + +pc = PETSc.PC(ksp) +@test PETSc.gettype(pc) == "jacobi" + +y = ksp \ w +@test S*y ≈ w rtol=1e-8 + + +w = M'*x +@test w ≈ S'*x + +y = ksp' \ w +@test S'*y ≈ w rtol=1e-8 + + +f!(y,x) = y .= 2 .*x + +M = PETSc.MatShell{Float64}(f!,10,10) + +x = rand(10) + +@test M*x ≈ 2x +@test PETSc.KSP(M) \ x ≈ x/2