21.3. core Submodule
21.3.1. Classes
A submodule of ‘sundials4py’
- class sundials4py.core.FILE
- class sundials4py.core.N_Vector_ID(*values)
- SUNDIALS_NVEC_CUDA = 6
- SUNDIALS_NVEC_CUSTOM = 16
- SUNDIALS_NVEC_HIP = 7
- SUNDIALS_NVEC_KOKKOS = 10
- SUNDIALS_NVEC_MANYVECTOR = 13
- SUNDIALS_NVEC_MPIMANYVECTOR = 14
- SUNDIALS_NVEC_MPIPLUSX = 15
- SUNDIALS_NVEC_OPENMP = 2
- SUNDIALS_NVEC_OPENMPDEV = 11
- SUNDIALS_NVEC_PARALLEL = 1
- SUNDIALS_NVEC_PARHYP = 4
- SUNDIALS_NVEC_PETSC = 5
- SUNDIALS_NVEC_PTHREADS = 3
- SUNDIALS_NVEC_RAJA = 9
- SUNDIALS_NVEC_SERIAL = 0
- SUNDIALS_NVEC_SYCL = 8
- SUNDIALS_NVEC_TRILINOS = 12
- class sundials4py.core.SUNAdaptControllerContent_MRIHTol_(*args, **kwargs)
- class sundials4py.core.SUNAdaptController_Type(*values)
- SUN_ADAPTCONTROLLER_H = 1
- SUN_ADAPTCONTROLLER_MRI_H_TOL = 2
- SUN_ADAPTCONTROLLER_NONE = 0
- class sundials4py.core.SUNAdjointCheckpointScheme_
- class sundials4py.core.SUNAdjointStepper_
- class sundials4py.core.SUNContext_
- class sundials4py.core.SUNDomEigEstimatorContent_Power_(*args, **kwargs)
- class sundials4py.core.SUNDomEigEstimator_(*args, **kwargs)
An estimator is a structure with an implementation-dependent ‘content’ field, and a pointer to a structure of estimator operations corresponding to that implementation.
- class sundials4py.core.SUNDomEigEstimator_Ops_(*args, **kwargs)
Structure containing function pointers to estimator operations
- class sundials4py.core.SUNErrCode(*values)
- SUN_ERR_ADJOINT_STEPPERFAILED = -9977
- SUN_ERR_ADJOINT_STEPPERINVALIDSTOP = -9976
- SUN_ERR_ARG_CORRUPT = -9999
- SUN_ERR_ARG_DIMSMISMATCH = -9995
- SUN_ERR_ARG_INCOMPATIBLE = -9998
- SUN_ERR_ARG_OUTOFRANGE = -9997
- SUN_ERR_ARG_WRONGTYPE = -9996
- SUN_ERR_CHECKPOINT_MISMATCH = -9974
- SUN_ERR_CHECKPOINT_NOT_FOUND = -9975
- SUN_ERR_CORRUPT = -9993
- SUN_ERR_DATANODE_NODENOTFOUND = -9983
- SUN_ERR_DESTROY_FAIL = -9986
- SUN_ERR_EXT_FAIL = -9987
- SUN_ERR_FILE_OPEN = -9991
- SUN_ERR_GENERIC = -9994
- SUN_ERR_MALLOC_FAIL = -9988
- SUN_ERR_MAXIMUM = -1000
- SUN_ERR_MEM_FAIL = -9989
- SUN_ERR_MINIMUM = -10000
- SUN_ERR_MPI_FAIL = -9972
- SUN_ERR_NOT_IMPLEMENTED = -9985
- SUN_ERR_OP_FAIL = -9990
- SUN_ERR_OUTOFRANGE = -9992
- SUN_ERR_PROFILER_MAPFULL = -9982
- SUN_ERR_PROFILER_MAPGET = -9981
- SUN_ERR_PROFILER_MAPINSERT = -9980
- SUN_ERR_PROFILER_MAPKEYNOTFOUND = -9979
- SUN_ERR_PROFILER_MAPSORT = -9978
- SUN_ERR_SUNCTX_CORRUPT = -9973
- SUN_ERR_UNKNOWN = -9970
- SUN_ERR_UNREACHABLE = -9971
- SUN_ERR_USER_FCN_FAIL = -9984
- SUN_SUCCESS = 0
- class sundials4py.core.SUNFullRhsMode(*values)
- SUN_FULLRHS_END = 1
- SUN_FULLRHS_OTHER = 2
- SUN_FULLRHS_START = 0
- class sundials4py.core.SUNLinearSolver_ID(*values)
- SUNLINEARSOLVER_BAND = 0
- SUNLINEARSOLVER_CUSOLVERSP_BATCHQR = 12
- SUNLINEARSOLVER_CUSTOM = 18
- SUNLINEARSOLVER_DENSE = 1
- SUNLINEARSOLVER_GINKGO = 15
- SUNLINEARSOLVER_GINKGOBATCH = 16
- SUNLINEARSOLVER_KLU = 2
- SUNLINEARSOLVER_KOKKOSDENSE = 17
- SUNLINEARSOLVER_LAPACKBAND = 3
- SUNLINEARSOLVER_LAPACKDENSE = 4
- SUNLINEARSOLVER_MAGMADENSE = 13
- SUNLINEARSOLVER_ONEMKLDENSE = 14
- SUNLINEARSOLVER_PCG = 5
- SUNLINEARSOLVER_SPBCGS = 6
- SUNLINEARSOLVER_SPFGMR = 7
- SUNLINEARSOLVER_SPGMR = 8
- SUNLINEARSOLVER_SPTFQMR = 9
- SUNLINEARSOLVER_SUPERLUDIST = 10
- SUNLINEARSOLVER_SUPERLUMT = 11
- class sundials4py.core.SUNLinearSolver_Type(*values)
- SUNLINEARSOLVER_DIRECT = 0
- SUNLINEARSOLVER_ITERATIVE = 1
- SUNLINEARSOLVER_MATRIX_EMBEDDED = 3
- SUNLINEARSOLVER_MATRIX_ITERATIVE = 2
- class sundials4py.core.SUNLogLevel(*values)
- SUN_LOGLEVEL_ALL = -1
- SUN_LOGLEVEL_DEBUG = 4
- SUN_LOGLEVEL_ERROR = 1
- SUN_LOGLEVEL_INFO = 3
- SUN_LOGLEVEL_NONE = 0
- SUN_LOGLEVEL_WARNING = 2
- class sundials4py.core.SUNLogger_
- class sundials4py.core.SUNMatrix_ID(*values)
- SUNMATRIX_BAND = 3
- SUNMATRIX_CUSPARSE = 6
- SUNMATRIX_CUSTOM = 10
- SUNMATRIX_DENSE = 0
- SUNMATRIX_GINKGO = 7
- SUNMATRIX_GINKGOBATCH = 8
- SUNMATRIX_KOKKOSDENSE = 9
- SUNMATRIX_MAGMADENSE = 1
- SUNMATRIX_ONEMKLDENSE = 2
- SUNMATRIX_SLUNRLOC = 5
- SUNMATRIX_SPARSE = 4
- class sundials4py.core.SUNMemoryHelper_(*args, **kwargs)
- class sundials4py.core.SUNMemoryHelper_Ops_(*args, **kwargs)
- class sundials4py.core.SUNMemoryType(*values)
- SUNMEMTYPE_DEVICE = 2
- SUNMEMTYPE_HOST = 0
- SUNMEMTYPE_PINNED = 1
- SUNMEMTYPE_UVM = 3
- class sundials4py.core.SUNNonlinearSolver_Type(*values)
- SUNNONLINEARSOLVER_FIXEDPOINT = 1
- SUNNONLINEARSOLVER_ROOTFIND = 0
- class sundials4py.core.SUNOutputFormat(*values)
- SUN_OUTPUTFORMAT_CSV = 1
- SUN_OUTPUTFORMAT_TABLE = 0
- class sundials4py.core.SUNPrecType(*values)
- SUN_PREC_BOTH = 3
- SUN_PREC_LEFT = 1
- SUN_PREC_NONE = 0
- SUN_PREC_RIGHT = 2
- class sundials4py.core.SUNProfiler_
- class sundials4py.core.SUNStepper_
- class sundials4py.core._N_VectorContent_ManyVector(*args, **kwargs)
- class sundials4py.core._N_VectorContent_Serial(*args, **kwargs)
- class sundials4py.core._SUNAdaptControllerContent_ImExGus(*args, **kwargs)
- class sundials4py.core._SUNAdaptControllerContent_Soderlind(*args, **kwargs)
- class sundials4py.core._SUNLinearSolverContent_Band(*args, **kwargs)
- class sundials4py.core._SUNLinearSolverContent_Dense(*args, **kwargs)
- class sundials4py.core._SUNLinearSolverContent_PCG(*args, **kwargs)
- class sundials4py.core._SUNLinearSolverContent_SPBCGS(*args, **kwargs)
- class sundials4py.core._SUNLinearSolverContent_SPFGMR(*args, **kwargs)
- class sundials4py.core._SUNLinearSolverContent_SPGMR(*args, **kwargs)
- class sundials4py.core._SUNLinearSolverContent_SPTFQMR(*args, **kwargs)
- class sundials4py.core._SUNMatrixContent_Band(*args, **kwargs)
- class sundials4py.core._SUNMatrixContent_Dense(*args, **kwargs)
- class sundials4py.core._SUNMatrixContent_Sparse(*args, **kwargs)
- class sundials4py.core._SUNNonlinearSolverContent_FixedPoint(*args, **kwargs)
- class sundials4py.core._SUNNonlinearSolverContent_Newton(*args, **kwargs)
- class sundials4py.core._generic_N_Vector(*args, **kwargs)
A vector is a structure with an implementation-dependent ‘content’ field, and a pointer to a structure of vector operations corresponding to that implementation.
- class sundials4py.core._generic_N_Vector_Ops(*args, **kwargs)
Structure containing function pointers to vector operations
- class sundials4py.core._generic_SUNAdaptController(*args, **kwargs)
A SUNAdaptController is a structure with an implementation-dependent ‘content’ field, and a pointer to a structure of operations corresponding to that implementation.
- class sundials4py.core._generic_SUNAdaptController_Ops(*args, **kwargs)
Structure containing function pointers to controller operations
- class sundials4py.core._generic_SUNLinearSolver(*args, **kwargs)
A linear solver is a structure with an implementation-dependent ‘content’ field, and a pointer to a structure of linear solver operations corresponding to that implementation.
- class sundials4py.core._generic_SUNLinearSolver_Ops(*args, **kwargs)
Structure containing function pointers to linear solver operations
- class sundials4py.core._generic_SUNMatrix(*args, **kwargs)
A matrix is a structure with an implementation-dependent ‘content’ field, and a pointer to a structure of matrix operations corresponding to that implementation.
- class sundials4py.core._generic_SUNMatrix_Ops(*args, **kwargs)
Structure containing function pointers to matrix operations
- class sundials4py.core._generic_SUNNonlinearSolver(*args, **kwargs)
A nonlinear solver is a structure with an implementation-dependent ‘content’ field, and a pointer to a structure of solver nonlinear solver operations corresponding to that implementation.
- class sundials4py.core._generic_SUNNonlinearSolver_Ops(*args, **kwargs)
Structure containing function pointers to nonlinear solver operations
21.3.2. Functions
- sundials4py.core.N_VAbs(x: sundials4py.core._generic_N_Vector, z: sundials4py.core._generic_N_Vector) None
See
N_VAbs().
- sundials4py.core.N_VAddConst(x: sundials4py.core._generic_N_Vector, b: float, z: sundials4py.core._generic_N_Vector) None
See
N_VAddConst().
- sundials4py.core.N_VClone(w: sundials4py.core._generic_N_Vector) sundials4py.core._generic_N_Vector
See
N_VClone().
- sundials4py.core.N_VCloneEmpty(w: sundials4py.core._generic_N_Vector) sundials4py.core._generic_N_Vector
See
N_VCloneEmpty().
- sundials4py.core.N_VCompare(c: float, x: sundials4py.core._generic_N_Vector, z: sundials4py.core._generic_N_Vector) None
See
N_VCompare().
- sundials4py.core.N_VConst(c: float, z: sundials4py.core._generic_N_Vector) None
See
N_VConst().
- sundials4py.core.N_VConstVectorArray(nvec: int, c: float, Z_1d: collections.abc.Sequence[sundials4py.core._generic_N_Vector]) int
- sundials4py.core.N_VConstrMask(c: sundials4py.core._generic_N_Vector, x: sundials4py.core._generic_N_Vector, m: sundials4py.core._generic_N_Vector) int
See
N_VConstrMask().
- sundials4py.core.N_VConstrMaskLocal(c: sundials4py.core._generic_N_Vector, x: sundials4py.core._generic_N_Vector, m: sundials4py.core._generic_N_Vector) int
See
N_VConstrMaskLocal().
- sundials4py.core.N_VDiv(x: sundials4py.core._generic_N_Vector, y: sundials4py.core._generic_N_Vector, z: sundials4py.core._generic_N_Vector) None
See
N_VDiv().
- sundials4py.core.N_VDotProd(x: sundials4py.core._generic_N_Vector, y: sundials4py.core._generic_N_Vector) float
See
N_VDotProd().
- sundials4py.core.N_VDotProdLocal(x: sundials4py.core._generic_N_Vector, y: sundials4py.core._generic_N_Vector) float
See
N_VDotProdLocal().
- sundials4py.core.N_VDotProdMulti(nvec: int, x: sundials4py.core._generic_N_Vector, Y_1d: collections.abc.Sequence[sundials4py.core._generic_N_Vector], dotprods_1d: numpy.ndarray[dtype=float64, shape=(*), order='C']) int
See
N_VDotProdMulti().
- sundials4py.core.N_VDotProdMultiAllReduce(nvec_total: int, x: sundials4py.core._generic_N_Vector, sum_1d: numpy.ndarray[dtype=float64, shape=(*), order='C']) int
- sundials4py.core.N_VDotProdMultiLocal(nvec: int, x: sundials4py.core._generic_N_Vector, Y_1d: collections.abc.Sequence[sundials4py.core._generic_N_Vector], dotprods_1d: numpy.ndarray[dtype=float64, shape=(*), order='C']) int
- sundials4py.core.N_VEnableConstVectorArray_ManyVector(v: sundials4py.core._generic_N_Vector, tf: int) int
- sundials4py.core.N_VEnableConstVectorArray_Serial(v: sundials4py.core._generic_N_Vector, tf: int) int
- sundials4py.core.N_VEnableDotProdMultiLocal_ManyVector(v: sundials4py.core._generic_N_Vector, tf: int) int
See
N_VEnableDotProdMultiLocal_ManyVector().
- sundials4py.core.N_VEnableDotProdMulti_ManyVector(v: sundials4py.core._generic_N_Vector, tf: int) int
- sundials4py.core.N_VEnableDotProdMulti_Serial(v: sundials4py.core._generic_N_Vector, tf: int) int
- sundials4py.core.N_VEnableFusedOps_ManyVector(v: sundials4py.core._generic_N_Vector, tf: int) int
- sundials4py.core.N_VEnableFusedOps_Serial(v: sundials4py.core._generic_N_Vector, tf: int) int
- sundials4py.core.N_VEnableLinearCombinationVectorArray_Serial(v: sundials4py.core._generic_N_Vector, tf: int) int
- sundials4py.core.N_VEnableLinearCombination_ManyVector(v: sundials4py.core._generic_N_Vector, tf: int) int
- sundials4py.core.N_VEnableLinearCombination_Serial(v: sundials4py.core._generic_N_Vector, tf: int) int
- sundials4py.core.N_VEnableLinearSumVectorArray_ManyVector(v: sundials4py.core._generic_N_Vector, tf: int) int
- sundials4py.core.N_VEnableLinearSumVectorArray_Serial(v: sundials4py.core._generic_N_Vector, tf: int) int
- sundials4py.core.N_VEnableScaleAddMultiVectorArray_Serial(v: sundials4py.core._generic_N_Vector, tf: int) int
- sundials4py.core.N_VEnableScaleAddMulti_ManyVector(v: sundials4py.core._generic_N_Vector, tf: int) int
- sundials4py.core.N_VEnableScaleAddMulti_Serial(v: sundials4py.core._generic_N_Vector, tf: int) int
- sundials4py.core.N_VEnableScaleVectorArray_ManyVector(v: sundials4py.core._generic_N_Vector, tf: int) int
- sundials4py.core.N_VEnableScaleVectorArray_Serial(v: sundials4py.core._generic_N_Vector, tf: int) int
- sundials4py.core.N_VEnableWrmsNormMaskVectorArray_ManyVector(v: sundials4py.core._generic_N_Vector, tf: int) int
- sundials4py.core.N_VEnableWrmsNormMaskVectorArray_Serial(v: sundials4py.core._generic_N_Vector, tf: int) int
- sundials4py.core.N_VEnableWrmsNormVectorArray_ManyVector(v: sundials4py.core._generic_N_Vector, tf: int) int
- sundials4py.core.N_VEnableWrmsNormVectorArray_Serial(v: sundials4py.core._generic_N_Vector, tf: int) int
- sundials4py.core.N_VGetArrayPointer(arg: sundials4py.core._generic_N_Vector, /) numpy.ndarray[dtype=float64, shape=(*), order='C']
See
N_VGetArrayPointer().
- sundials4py.core.N_VGetCommunicator(v: sundials4py.core._generic_N_Vector) int
See
N_VGetCommunicator().
- sundials4py.core.N_VGetDeviceArrayPointer(arg: sundials4py.core._generic_N_Vector, /) numpy.ndarray[dtype=float64, shape=(*), order='C']
- sundials4py.core.N_VGetLength(v: sundials4py.core._generic_N_Vector) int
See
N_VGetLength().
- sundials4py.core.N_VGetLocalLength(v: sundials4py.core._generic_N_Vector) int
See
N_VGetLocalLength().
- sundials4py.core.N_VGetNumSubvectors_ManyVector(v: sundials4py.core._generic_N_Vector) int
- sundials4py.core.N_VGetSubvectorLocalLength_ManyVector(v: sundials4py.core._generic_N_Vector, vec_num: int) int
- sundials4py.core.N_VGetSubvector_ManyVector(v: sundials4py.core._generic_N_Vector, vec_num: int) sundials4py.core._generic_N_Vector
nb::rv_policy::reference
- sundials4py.core.N_VGetVectorID(w: sundials4py.core._generic_N_Vector) sundials4py.core.N_Vector_ID
See
N_VGetVectorID().
- sundials4py.core.N_VInv(x: sundials4py.core._generic_N_Vector, z: sundials4py.core._generic_N_Vector) None
See
N_VInv().
- sundials4py.core.N_VInvTest(x: sundials4py.core._generic_N_Vector, z: sundials4py.core._generic_N_Vector) int
See
N_VInvTest().
- sundials4py.core.N_VInvTestLocal(x: sundials4py.core._generic_N_Vector, z: sundials4py.core._generic_N_Vector) int
See
N_VInvTestLocal().
- sundials4py.core.N_VL1Norm(x: sundials4py.core._generic_N_Vector) float
See
N_VL1Norm().
- sundials4py.core.N_VL1NormLocal(x: sundials4py.core._generic_N_Vector) float
See
N_VL1NormLocal().
- sundials4py.core.N_VLinearCombination(nvec: int, c_1d: numpy.ndarray[dtype=float64, shape=(*), order='C'], X_1d: collections.abc.Sequence[sundials4py.core._generic_N_Vector], z: sundials4py.core._generic_N_Vector) int
- sundials4py.core.N_VLinearCombinationVectorArray(nvec: int, nsum: int, c_1d: numpy.ndarray[dtype=float64, shape=(*), order='C'], X_2d: collections.abc.Sequence[collections.abc.Sequence[sundials4py.core._generic_N_Vector]], Z_1d: collections.abc.Sequence[sundials4py.core._generic_N_Vector]) int
- sundials4py.core.N_VLinearSum(a: float, x: sundials4py.core._generic_N_Vector, b: float, y: sundials4py.core._generic_N_Vector, z: sundials4py.core._generic_N_Vector) None
See
N_VLinearSum().
- sundials4py.core.N_VLinearSumVectorArray(nvec: int, a: float, X_1d: collections.abc.Sequence[sundials4py.core._generic_N_Vector], b: float, Y_1d: collections.abc.Sequence[sundials4py.core._generic_N_Vector], Z_1d: collections.abc.Sequence[sundials4py.core._generic_N_Vector]) int
- sundials4py.core.N_VMake_Serial(vec_length: int, v_data_1d: numpy.ndarray[dtype=float64, shape=(*), order='C'], sunctx: sundials4py.core.SUNContext_) sundials4py.core._generic_N_Vector
nb::keep_alive<0, 3>()
See
N_VMake_Serial().
- sundials4py.core.N_VMaxNorm(x: sundials4py.core._generic_N_Vector) float
See
N_VMaxNorm().
- sundials4py.core.N_VMaxNormLocal(x: sundials4py.core._generic_N_Vector) float
See
N_VMaxNormLocal().
- sundials4py.core.N_VMin(x: sundials4py.core._generic_N_Vector) float
See
N_VMin().
- sundials4py.core.N_VMinLocal(x: sundials4py.core._generic_N_Vector) float
See
N_VMinLocal().
- sundials4py.core.N_VMinQuotient(num: sundials4py.core._generic_N_Vector, denom: sundials4py.core._generic_N_Vector) float
See
N_VMinQuotient().
- sundials4py.core.N_VMinQuotientLocal(num: sundials4py.core._generic_N_Vector, denom: sundials4py.core._generic_N_Vector) float
- sundials4py.core.N_VNewEmpty_Serial(vec_length: int, sunctx: sundials4py.core.SUNContext_) sundials4py.core._generic_N_Vector
nb::keep_alive<0, 2>()
See
N_VNewEmpty_Serial().
- sundials4py.core.N_VNew_ManyVector(num_subvectors: int, vec_array_1d: collections.abc.Sequence[sundials4py.core._generic_N_Vector], sunctx: sundials4py.core.SUNContext_) sundials4py.core._generic_N_Vector
See
N_VNew_ManyVector().
- sundials4py.core.N_VNew_Serial(vec_length: int, sunctx: sundials4py.core.SUNContext_) sundials4py.core._generic_N_Vector
nb::keep_alive<0, 2>()
See
N_VNew_Serial().
- sundials4py.core.N_VPrint(v: sundials4py.core._generic_N_Vector) None
See
N_VPrint().
- sundials4py.core.N_VPrintFile(v: sundials4py.core._generic_N_Vector, outfile: sundials4py.core.FILE) None
See
N_VPrintFile().
- sundials4py.core.N_VProd(x: sundials4py.core._generic_N_Vector, y: sundials4py.core._generic_N_Vector, z: sundials4py.core._generic_N_Vector) None
See
N_VProd().
- sundials4py.core.N_VScale(c: float, x: sundials4py.core._generic_N_Vector, z: sundials4py.core._generic_N_Vector) None
See
N_VScale().
- sundials4py.core.N_VScaleAddMulti(nvec: int, a_1d: numpy.ndarray[dtype=float64, shape=(*), order='C'], x: sundials4py.core._generic_N_Vector, Y_1d: collections.abc.Sequence[sundials4py.core._generic_N_Vector], Z_1d: collections.abc.Sequence[sundials4py.core._generic_N_Vector]) int
See
N_VScaleAddMulti().
- sundials4py.core.N_VScaleAddMultiVectorArray(nvec: int, nsum: int, c_1d: numpy.ndarray[dtype=float64, shape=(*), order='C'], X_1d: collections.abc.Sequence[sundials4py.core._generic_N_Vector], Y_2d: collections.abc.Sequence[collections.abc.Sequence[sundials4py.core._generic_N_Vector]], Z_2d: collections.abc.Sequence[collections.abc.Sequence[sundials4py.core._generic_N_Vector]]) int
- sundials4py.core.N_VScaleVectorArray(nvec: int, c_1d: numpy.ndarray[dtype=float64, shape=(*), order='C'], X_1d: collections.abc.Sequence[sundials4py.core._generic_N_Vector], Z_1d: collections.abc.Sequence[sundials4py.core._generic_N_Vector]) int
- sundials4py.core.N_VSetArrayPointer(arg0: numpy.ndarray[dtype=float64, shape=(*), order='C'], arg1: sundials4py.core._generic_N_Vector, /) None
See
N_VSetArrayPointer().
- sundials4py.core.N_VWL2Norm(x: sundials4py.core._generic_N_Vector, w: sundials4py.core._generic_N_Vector) float
See
N_VWL2Norm().
- sundials4py.core.N_VWSqrSumLocal(x: sundials4py.core._generic_N_Vector, w: sundials4py.core._generic_N_Vector) float
See
N_VWSqrSumLocal().
- sundials4py.core.N_VWSqrSumMaskLocal(x: sundials4py.core._generic_N_Vector, w: sundials4py.core._generic_N_Vector, id: sundials4py.core._generic_N_Vector) float
- sundials4py.core.N_VWrmsNorm(x: sundials4py.core._generic_N_Vector, w: sundials4py.core._generic_N_Vector) float
See
N_VWrmsNorm().
- sundials4py.core.N_VWrmsNormMask(x: sundials4py.core._generic_N_Vector, w: sundials4py.core._generic_N_Vector, id: sundials4py.core._generic_N_Vector) float
See
N_VWrmsNormMask().
- sundials4py.core.N_VWrmsNormMaskVectorArray(nvec: int, X_1d: collections.abc.Sequence[sundials4py.core._generic_N_Vector], W_1d: collections.abc.Sequence[sundials4py.core._generic_N_Vector], id: sundials4py.core._generic_N_Vector, nrm_1d: numpy.ndarray[dtype=float64, shape=(*), order='C']) int
- sundials4py.core.N_VWrmsNormVectorArray(nvec: int, X_1d: collections.abc.Sequence[sundials4py.core._generic_N_Vector], W_1d: collections.abc.Sequence[sundials4py.core._generic_N_Vector], nrm_1d: numpy.ndarray[dtype=float64, shape=(*), order='C']) int
- sundials4py.core.SUNAbortErrHandlerFn(line: int, func: str, file: str, msg: str, err_code: int, err_user_data: typing_extensions.CapsuleType, sunctx: sundials4py.core.SUNContext_) None
- sundials4py.core.SUNAdaptController_EstimateStep(C: sundials4py.core._generic_SUNAdaptController, h: float, p: int, dsm: float) tuple[int, float]
- sundials4py.core.SUNAdaptController_EstimateStepTol(C: sundials4py.core._generic_SUNAdaptController, H: float, tolfac: float, P: int, DSM: float, dsm: float) tuple[int, float, float]
- sundials4py.core.SUNAdaptController_ExpGus(sunctx: sundials4py.core.SUNContext_) sundials4py.core._generic_SUNAdaptController
nb::keep_alive<0, 1>()
- sundials4py.core.SUNAdaptController_GetFastController_MRIHTol(C: sundials4py.core._generic_SUNAdaptController) tuple[int, sundials4py.core._generic_SUNAdaptController]
nb::rv_policy::reference
See
SUNAdaptController_GetFastController_MRIHTol().
- sundials4py.core.SUNAdaptController_GetSlowController_MRIHTol(C: sundials4py.core._generic_SUNAdaptController) tuple[int, sundials4py.core._generic_SUNAdaptController]
nb::rv_policy::reference
See
SUNAdaptController_GetSlowController_MRIHTol().
- sundials4py.core.SUNAdaptController_GetType(C: sundials4py.core._generic_SUNAdaptController) sundials4py.core.SUNAdaptController_Type
- sundials4py.core.SUNAdaptController_H0211(sunctx: sundials4py.core.SUNContext_) sundials4py.core._generic_SUNAdaptController
nb::keep_alive<0, 1>()
- sundials4py.core.SUNAdaptController_H0321(sunctx: sundials4py.core.SUNContext_) sundials4py.core._generic_SUNAdaptController
nb::keep_alive<0, 1>()
- sundials4py.core.SUNAdaptController_H211(sunctx: sundials4py.core.SUNContext_) sundials4py.core._generic_SUNAdaptController
nb::keep_alive<0, 1>()
- sundials4py.core.SUNAdaptController_H312(sunctx: sundials4py.core.SUNContext_) sundials4py.core._generic_SUNAdaptController
nb::keep_alive<0, 1>()
- sundials4py.core.SUNAdaptController_I(sunctx: sundials4py.core.SUNContext_) sundials4py.core._generic_SUNAdaptController
nb::keep_alive<0, 1>()
- sundials4py.core.SUNAdaptController_ImExGus(sunctx: sundials4py.core.SUNContext_) sundials4py.core._generic_SUNAdaptController
nb::keep_alive<0, 1>()
- sundials4py.core.SUNAdaptController_ImpGus(sunctx: sundials4py.core.SUNContext_) sundials4py.core._generic_SUNAdaptController
nb::keep_alive<0, 1>()
- sundials4py.core.SUNAdaptController_MRIHTol(HControl: sundials4py.core._generic_SUNAdaptController, TolControl: sundials4py.core._generic_SUNAdaptController, sunctx: sundials4py.core.SUNContext_) sundials4py.core._generic_SUNAdaptController
nb::keep_alive<0, 3>()
- sundials4py.core.SUNAdaptController_PI(sunctx: sundials4py.core.SUNContext_) sundials4py.core._generic_SUNAdaptController
nb::keep_alive<0, 1>()
- sundials4py.core.SUNAdaptController_PID(sunctx: sundials4py.core.SUNContext_) sundials4py.core._generic_SUNAdaptController
nb::keep_alive<0, 1>()
- sundials4py.core.SUNAdaptController_Reset(C: sundials4py.core._generic_SUNAdaptController) int
- sundials4py.core.SUNAdaptController_SetDefaults(C: sundials4py.core._generic_SUNAdaptController) int
- sundials4py.core.SUNAdaptController_SetErrorBias(C: sundials4py.core._generic_SUNAdaptController, bias: float) int
- sundials4py.core.SUNAdaptController_SetOptions(self: sundials4py.core._generic_SUNAdaptController, id: str, file_name: str, argc: int, args: collections.abc.Sequence[str]) int
- sundials4py.core.SUNAdaptController_SetParams_ExpGus(C: sundials4py.core._generic_SUNAdaptController, k1: float, k2: float) int
- sundials4py.core.SUNAdaptController_SetParams_I(C: sundials4py.core._generic_SUNAdaptController, k1: float) int
- sundials4py.core.SUNAdaptController_SetParams_ImExGus(C: sundials4py.core._generic_SUNAdaptController, k1e: float, k2e: float, k1i: float, k2i: float) int
- sundials4py.core.SUNAdaptController_SetParams_ImpGus(C: sundials4py.core._generic_SUNAdaptController, k1: float, k2: float) int
- sundials4py.core.SUNAdaptController_SetParams_MRIHTol(C: sundials4py.core._generic_SUNAdaptController, inner_max_relch: float, inner_min_tolfac: float, inner_max_tolfac: float) int
- sundials4py.core.SUNAdaptController_SetParams_PI(C: sundials4py.core._generic_SUNAdaptController, k1: float, k2: float) int
- sundials4py.core.SUNAdaptController_SetParams_PID(C: sundials4py.core._generic_SUNAdaptController, k1: float, k2: float, k3: float) int
- sundials4py.core.SUNAdaptController_SetParams_Soderlind(C: sundials4py.core._generic_SUNAdaptController, k1: float, k2: float, k3: float, k4: float, k5: float) int
- sundials4py.core.SUNAdaptController_Soderlind(sunctx: sundials4py.core.SUNContext_) sundials4py.core._generic_SUNAdaptController
nb::keep_alive<0, 1>()
- sundials4py.core.SUNAdaptController_UpdateH(C: sundials4py.core._generic_SUNAdaptController, h: float, dsm: float) int
- sundials4py.core.SUNAdaptController_UpdateMRIHTol(C: sundials4py.core._generic_SUNAdaptController, H: float, tolfac: float, DSM: float, dsm: float) int
- sundials4py.core.SUNAdaptController_Write(C: sundials4py.core._generic_SUNAdaptController, fptr: sundials4py.core.FILE) int
- sundials4py.core.SUNAdjointCheckpointScheme_Create_Fixed(io_mode: sundials4py.core.SUNDataIOMode, mem_helper: sundials4py.core.SUNMemoryHelper_, interval: int, estimate: int, keep: int, sunctx: sundials4py.core.SUNContext_) tuple[int, sundials4py.core.SUNAdjointCheckpointScheme_]
- sundials4py.core.SUNAdjointCheckpointScheme_EnableDense(check_scheme: sundials4py.core.SUNAdjointCheckpointScheme_, on_or_off: int) int
- sundials4py.core.SUNAdjointCheckpointScheme_InsertVector(check_scheme: sundials4py.core.SUNAdjointCheckpointScheme_, step_num: int, stage_num: int, t: float, state: sundials4py.core._generic_N_Vector) int
- sundials4py.core.SUNAdjointCheckpointScheme_LoadVector(check_scheme: sundials4py.core.SUNAdjointCheckpointScheme_, step_num: int, stage_num: int, peek: int, tmpl: sundials4py.core._generic_N_Vector) tuple[int, sundials4py.core._generic_N_Vector, float]
- sundials4py.core.SUNAdjointCheckpointScheme_NeedsSaving(check_scheme: sundials4py.core.SUNAdjointCheckpointScheme_, step_num: int, stage_num: int, t: float) tuple[int, int]
- sundials4py.core.SUNAdjointStepper_Create(fwd_sunstepper: sundials4py.core.SUNStepper_, own_fwd: int, adj_sunstepper: sundials4py.core.SUNStepper_, own_adj: int, final_step_idx: int, tf: float, sf: sundials4py.core._generic_N_Vector, checkpoint_scheme: sundials4py.core.SUNAdjointCheckpointScheme_, sunctx: sundials4py.core.SUNContext_) tuple[int, sundials4py.core.SUNAdjointStepper_]
nb::call_policy<sundials4py::returns_references_to<9, 1>>()
- sundials4py.core.SUNAdjointStepper_Evolve(adj_stepper: sundials4py.core.SUNAdjointStepper_, tout: float, sens: sundials4py.core._generic_N_Vector) tuple[int, float]
- sundials4py.core.SUNAdjointStepper_GetNumRecompute(adj_stepper: sundials4py.core.SUNAdjointStepper_) tuple[int, int]
- sundials4py.core.SUNAdjointStepper_GetNumSteps(adj_stepper: sundials4py.core.SUNAdjointStepper_) tuple[int, int]
- sundials4py.core.SUNAdjointStepper_OneStep(adj_stepper: sundials4py.core.SUNAdjointStepper_, tout: float, sens: sundials4py.core._generic_N_Vector) tuple[int, float]
- sundials4py.core.SUNAdjointStepper_PrintAllStats(adj_stepper: sundials4py.core.SUNAdjointStepper_, outfile: sundials4py.core.FILE, fmt: sundials4py.core.SUNOutputFormat) int
- sundials4py.core.SUNAdjointStepper_ReInit(adj: sundials4py.core.SUNAdjointStepper_, t0: float, y0: sundials4py.core._generic_N_Vector, tf: float, sf: sundials4py.core._generic_N_Vector) int
- sundials4py.core.SUNAdjointStepper_RecomputeFwd(adj_stepper: sundials4py.core.SUNAdjointStepper_, start_idx: int, t0: float, y0: sundials4py.core._generic_N_Vector, tf: float) int
- sundials4py.core.SUNAdjointStepper_SetUserData(param_0: sundials4py.core.SUNAdjointStepper_, user_data: typing_extensions.CapsuleType) int
- sundials4py.core.SUNBandMatrix(N: int, mu: int, ml: int, sunctx: sundials4py.core.SUNContext_) sundials4py.core._generic_SUNMatrix
nb::keep_alive<0, 4>()
See
SUNBandMatrix().
- sundials4py.core.SUNBandMatrixStorage(N: int, mu: int, ml: int, smu: int, sunctx: sundials4py.core.SUNContext_) sundials4py.core._generic_SUNMatrix
nb::keep_alive<0, 5>()
- sundials4py.core.SUNBandMatrix_Columns(A: sundials4py.core._generic_SUNMatrix) int
- sundials4py.core.SUNBandMatrix_Data(A: sundials4py.core._generic_SUNMatrix) numpy.ndarray[dtype=float64, shape=(*), order='C']
See
SUNBandMatrix_Data().
- sundials4py.core.SUNBandMatrix_LData(A: sundials4py.core._generic_SUNMatrix) int
- sundials4py.core.SUNBandMatrix_LDim(A: sundials4py.core._generic_SUNMatrix) int
See
SUNBandMatrix_LDim().
- sundials4py.core.SUNBandMatrix_LowerBandwidth(A: sundials4py.core._generic_SUNMatrix) int
- sundials4py.core.SUNBandMatrix_Print(A: sundials4py.core._generic_SUNMatrix, outfile: sundials4py.core.FILE) None
- sundials4py.core.SUNBandMatrix_Rows(A: sundials4py.core._generic_SUNMatrix) int
See
SUNBandMatrix_Rows().
- sundials4py.core.SUNBandMatrix_StoredUpperBandwidth(A: sundials4py.core._generic_SUNMatrix) int
- sundials4py.core.SUNBandMatrix_UpperBandwidth(A: sundials4py.core._generic_SUNMatrix) int
- sundials4py.core.SUNClassicalGS(v_1d: collections.abc.Sequence[sundials4py.core._generic_N_Vector], h_2d: numpy.ndarray[dtype=float64, shape=(*), order='C'], k: int, p: int, stemp_1d: numpy.ndarray[dtype=float64, shape=(*), order='C'], vtemp_1d: collections.abc.Sequence[sundials4py.core._generic_N_Vector]) tuple[int, float]
See
SUNClassicalGS().
- sundials4py.core.SUNContext_ClearErrHandlers(sunctx: sundials4py.core.SUNContext_) int
- sundials4py.core.SUNContext_Create(comm: int) tuple[int, sundials4py.core.SUNContext_]
See
SUNContext_Create().
- sundials4py.core.SUNContext_GetLastError(sunctx: sundials4py.core.SUNContext_) int
- sundials4py.core.SUNContext_GetLogger(sunctx: sundials4py.core.SUNContext_) tuple[int, sundials4py.core.SUNLogger_]
nb::rv_policy::reference
- sundials4py.core.SUNContext_GetProfiler(sunctx: sundials4py.core.SUNContext_) tuple[int, sundials4py.core.SUNProfiler_]
nb::rv_policy::reference
- sundials4py.core.SUNContext_PeekLastError(sunctx: sundials4py.core.SUNContext_) int
- sundials4py.core.SUNContext_PopErrHandler(arg: sundials4py.core.SUNContext_, /) int
- sundials4py.core.SUNContext_PushErrHandler(arg0: sundials4py.core.SUNContext_, arg1: collections.abc.Callable[[int, str, str, str, int, typing_extensions.CapsuleType, sundials4py.core.SUNContext_], None], /) sundials4py.core.SUNErrCode
- sundials4py.core.SUNContext_SetLogger(sunctx: sundials4py.core.SUNContext_, logger: sundials4py.core.SUNLogger_) int
- sundials4py.core.SUNContext_SetProfiler(sunctx: sundials4py.core.SUNContext_, profiler: sundials4py.core.SUNProfiler_) int
- sundials4py.core.SUNDenseMatrix(M: int, N: int, sunctx: sundials4py.core.SUNContext_) sundials4py.core._generic_SUNMatrix
nb::keep_alive<0, 3>()
See
SUNDenseMatrix().
- sundials4py.core.SUNDenseMatrix_Columns(A: sundials4py.core._generic_SUNMatrix) int
- sundials4py.core.SUNDenseMatrix_Data(A: sundials4py.core._generic_SUNMatrix) numpy.ndarray[dtype=float64, shape=(*, *), order='F']
- sundials4py.core.SUNDenseMatrix_LData(A: sundials4py.core._generic_SUNMatrix) int
- sundials4py.core.SUNDenseMatrix_Print(A: sundials4py.core._generic_SUNMatrix, outfile: sundials4py.core.FILE) None
- sundials4py.core.SUNDenseMatrix_Rows(A: sundials4py.core._generic_SUNMatrix) int
- sundials4py.core.SUNDomEigEstimator_Estimate(DEE: sundials4py.core.SUNDomEigEstimator_) tuple[int, float, float]
- sundials4py.core.SUNDomEigEstimator_GetNumATimesCalls(DEE: sundials4py.core.SUNDomEigEstimator_) tuple[int, int]
- sundials4py.core.SUNDomEigEstimator_GetNumIters(DEE: sundials4py.core.SUNDomEigEstimator_) tuple[int, int]
- sundials4py.core.SUNDomEigEstimator_GetRes(DEE: sundials4py.core.SUNDomEigEstimator_) tuple[int, float]
- sundials4py.core.SUNDomEigEstimator_Initialize(DEE: sundials4py.core.SUNDomEigEstimator_) int
- sundials4py.core.SUNDomEigEstimator_Power(q: sundials4py.core._generic_N_Vector, max_iters: int, rel_tol: float, sunctx: sundials4py.core.SUNContext_) sundials4py.core.SUNDomEigEstimator_
nb::keep_alive<0, 4>()
- sundials4py.core.SUNDomEigEstimator_SetATimes(DEE: sundials4py.core.SUNDomEigEstimator_, ATimes: collections.abc.Callable[[typing_extensions.CapsuleType, sundials4py.core._generic_N_Vector, sundials4py.core._generic_N_Vector], int] | None) int
- sundials4py.core.SUNDomEigEstimator_SetInitialGuess(DEE: sundials4py.core.SUNDomEigEstimator_, q: sundials4py.core._generic_N_Vector) int
- sundials4py.core.SUNDomEigEstimator_SetMaxIters(DEE: sundials4py.core.SUNDomEigEstimator_, max_iters: int) int
- sundials4py.core.SUNDomEigEstimator_SetNumPreprocessIters(DEE: sundials4py.core.SUNDomEigEstimator_, num_iters: int) int
- sundials4py.core.SUNDomEigEstimator_SetOptions(self: sundials4py.core.SUNDomEigEstimator_, id: str, file_name: str, argc: int, args: collections.abc.Sequence[str]) int
- sundials4py.core.SUNDomEigEstimator_SetRelTol(DEE: sundials4py.core.SUNDomEigEstimator_, tol: float) int
- sundials4py.core.SUNDomEigEstimator_Write(DEE: sundials4py.core.SUNDomEigEstimator_, outfile: sundials4py.core.FILE) int
- sundials4py.core.SUNFileOpen(arg0: str, arg1: str, /) tuple[int, sundials4py.core.FILE]
See
SUNFileOpen().
- sundials4py.core.SUNGetErrMsg(code: int) str
See
SUNGetErrMsg().
- sundials4py.core.SUNLinSolGetID(S: sundials4py.core._generic_SUNLinearSolver) sundials4py.core.SUNLinearSolver_ID
See
SUNLinSolGetID().
- sundials4py.core.SUNLinSolGetType(S: sundials4py.core._generic_SUNLinearSolver) sundials4py.core.SUNLinearSolver_Type
See
SUNLinSolGetType().
- sundials4py.core.SUNLinSolInitialize(S: sundials4py.core._generic_SUNLinearSolver) int
- sundials4py.core.SUNLinSolLastFlag(S: sundials4py.core._generic_SUNLinearSolver) int
See
SUNLinSolLastFlag().
- sundials4py.core.SUNLinSolNumIters(S: sundials4py.core._generic_SUNLinearSolver) int
See
SUNLinSolNumIters().
- sundials4py.core.SUNLinSolResNorm(S: sundials4py.core._generic_SUNLinearSolver) float
See
SUNLinSolResNorm().
- sundials4py.core.SUNLinSolResid(S: sundials4py.core._generic_SUNLinearSolver) sundials4py.core._generic_N_Vector
nb::rv_policy::reference
See
SUNLinSolResid().
- sundials4py.core.SUNLinSolSetATimes(LS: sundials4py.core._generic_SUNLinearSolver, ATimes: collections.abc.Callable[[typing_extensions.CapsuleType, sundials4py.core._generic_N_Vector, sundials4py.core._generic_N_Vector], int] | None) int
See
SUNLinSolSetATimes().
- sundials4py.core.SUNLinSolSetOptions(self: sundials4py.core._generic_SUNLinearSolver, id: str, file_name: str, argc: int, args: collections.abc.Sequence[str]) int
- sundials4py.core.SUNLinSolSetPreconditioner(LS: sundials4py.core._generic_SUNLinearSolver, PSetupFn: collections.abc.Callable[[typing_extensions.CapsuleType], int] | None, PSolveFn: collections.abc.Callable[[typing_extensions.CapsuleType], int]) int
- sundials4py.core.SUNLinSolSetScalingVectors(S: sundials4py.core._generic_SUNLinearSolver, s1: sundials4py.core._generic_N_Vector, s2: sundials4py.core._generic_N_Vector) int
- sundials4py.core.SUNLinSolSetZeroGuess(S: sundials4py.core._generic_SUNLinearSolver, onoff: int) int
- sundials4py.core.SUNLinSolSetup(S: sundials4py.core._generic_SUNLinearSolver, A: sundials4py.core._generic_SUNMatrix | None = None) int
See
SUNLinSolSetup().
- sundials4py.core.SUNLinSolSolve(S: sundials4py.core._generic_SUNLinearSolver, A: sundials4py.core._generic_SUNMatrix | None, x: sundials4py.core._generic_N_Vector, b: sundials4py.core._generic_N_Vector, tol: float) int
See
SUNLinSolSolve().
- sundials4py.core.SUNLinSol_Band(y: sundials4py.core._generic_N_Vector, A: sundials4py.core._generic_SUNMatrix, sunctx: sundials4py.core.SUNContext_) sundials4py.core._generic_SUNLinearSolver
nb::keep_alive<0, 3>()
See
SUNLinSol_Band().
- sundials4py.core.SUNLinSol_Dense(y: sundials4py.core._generic_N_Vector, A: sundials4py.core._generic_SUNMatrix, sunctx: sundials4py.core.SUNContext_) sundials4py.core._generic_SUNLinearSolver
nb::keep_alive<0, 3>()
See
SUNLinSol_Dense().
- sundials4py.core.SUNLinSol_PCG(y: sundials4py.core._generic_N_Vector, pretype: int, maxl: int, sunctx: sundials4py.core.SUNContext_) sundials4py.core._generic_SUNLinearSolver
nb::keep_alive<0, 4>()
See
SUNLinSol_PCG().
- sundials4py.core.SUNLinSol_PCGSetMaxl(S: sundials4py.core._generic_SUNLinearSolver, maxl: int) int
- sundials4py.core.SUNLinSol_PCGSetPrecType(S: sundials4py.core._generic_SUNLinearSolver, pretype: int) int
- sundials4py.core.SUNLinSol_SPBCGS(y: sundials4py.core._generic_N_Vector, pretype: int, maxl: int, sunctx: sundials4py.core.SUNContext_) sundials4py.core._generic_SUNLinearSolver
nb::keep_alive<0, 4>()
See
SUNLinSol_SPBCGS().
- sundials4py.core.SUNLinSol_SPBCGSSetMaxl(S: sundials4py.core._generic_SUNLinearSolver, maxl: int) int
- sundials4py.core.SUNLinSol_SPBCGSSetPrecType(S: sundials4py.core._generic_SUNLinearSolver, pretype: int) int
- sundials4py.core.SUNLinSol_SPFGMR(y: sundials4py.core._generic_N_Vector, pretype: int, maxl: int, sunctx: sundials4py.core.SUNContext_) sundials4py.core._generic_SUNLinearSolver
nb::keep_alive<0, 4>()
See
SUNLinSol_SPFGMR().
- sundials4py.core.SUNLinSol_SPFGMRSetGSType(S: sundials4py.core._generic_SUNLinearSolver, gstype: int) int
- sundials4py.core.SUNLinSol_SPFGMRSetMaxRestarts(S: sundials4py.core._generic_SUNLinearSolver, maxrs: int) int
- sundials4py.core.SUNLinSol_SPFGMRSetPrecType(S: sundials4py.core._generic_SUNLinearSolver, pretype: int) int
- sundials4py.core.SUNLinSol_SPGMR(y: sundials4py.core._generic_N_Vector, pretype: int, maxl: int, sunctx: sundials4py.core.SUNContext_) sundials4py.core._generic_SUNLinearSolver
nb::keep_alive<0, 4>()
See
SUNLinSol_SPGMR().
- sundials4py.core.SUNLinSol_SPGMRSetGSType(S: sundials4py.core._generic_SUNLinearSolver, gstype: int) int
- sundials4py.core.SUNLinSol_SPGMRSetMaxRestarts(S: sundials4py.core._generic_SUNLinearSolver, maxrs: int) int
- sundials4py.core.SUNLinSol_SPGMRSetPrecType(S: sundials4py.core._generic_SUNLinearSolver, pretype: int) int
- sundials4py.core.SUNLinSol_SPTFQMR(y: sundials4py.core._generic_N_Vector, pretype: int, maxl: int, sunctx: sundials4py.core.SUNContext_) sundials4py.core._generic_SUNLinearSolver
nb::keep_alive<0, 4>()
See
SUNLinSol_SPTFQMR().
- sundials4py.core.SUNLinSol_SPTFQMRSetMaxl(S: sundials4py.core._generic_SUNLinearSolver, maxl: int) int
- sundials4py.core.SUNLinSol_SPTFQMRSetPrecType(S: sundials4py.core._generic_SUNLinearSolver, pretype: int) int
- sundials4py.core.SUNLogErrHandlerFn(line: int, func: str, file: str, msg: str, err_code: int, err_user_data: typing_extensions.CapsuleType, sunctx: sundials4py.core.SUNContext_) None
See
SUNLogErrHandlerFn().
- sundials4py.core.SUNLogger_Create(comm: int, output_rank: int) tuple[int, sundials4py.core.SUNLogger_]
See
SUNLogger_Create().
- sundials4py.core.SUNLogger_CreateFromEnv(comm: int) tuple[int, sundials4py.core.SUNLogger_]
- sundials4py.core.SUNLogger_Flush(logger: sundials4py.core.SUNLogger_, lvl: sundials4py.core.SUNLogLevel) int
See
SUNLogger_Flush().
- sundials4py.core.SUNLogger_GetOutputRank(logger: sundials4py.core.SUNLogger_) tuple[int, int]
- sundials4py.core.SUNLogger_QueueMsg(logger: sundials4py.core.SUNLogger_, lvl: sundials4py.core.SUNLogLevel, scope: str, label: str, msg_txt: str) int
See
SUNLogger_QueueMsg().
- sundials4py.core.SUNLogger_SetDebugFilename(logger: sundials4py.core.SUNLogger_, debug_filename: str) int
- sundials4py.core.SUNLogger_SetErrorFilename(logger: sundials4py.core.SUNLogger_, error_filename: str) int
- sundials4py.core.SUNLogger_SetInfoFilename(logger: sundials4py.core.SUNLogger_, info_filename: str) int
- sundials4py.core.SUNLogger_SetWarningFilename(logger: sundials4py.core.SUNLogger_, warning_filename: str) int
- sundials4py.core.SUNMatClone(A: sundials4py.core._generic_SUNMatrix) sundials4py.core._generic_SUNMatrix
See
SUNMatClone().
- sundials4py.core.SUNMatCopy(A: sundials4py.core._generic_SUNMatrix, B: sundials4py.core._generic_SUNMatrix) int
See
SUNMatCopy().
- sundials4py.core.SUNMatGetID(A: sundials4py.core._generic_SUNMatrix) sundials4py.core.SUNMatrix_ID
See
SUNMatGetID().
- sundials4py.core.SUNMatHermitianTransposeVec(A: sundials4py.core._generic_SUNMatrix, x: sundials4py.core._generic_N_Vector, y: sundials4py.core._generic_N_Vector) int
- sundials4py.core.SUNMatMatvec(A: sundials4py.core._generic_SUNMatrix, x: sundials4py.core._generic_N_Vector, y: sundials4py.core._generic_N_Vector) int
See
SUNMatMatvec().
- sundials4py.core.SUNMatMatvecSetup(A: sundials4py.core._generic_SUNMatrix) int
See
SUNMatMatvecSetup().
- sundials4py.core.SUNMatScaleAdd(c: float, A: sundials4py.core._generic_SUNMatrix, B: sundials4py.core._generic_SUNMatrix) int
See
SUNMatScaleAdd().
- sundials4py.core.SUNMatScaleAddI(c: float, A: sundials4py.core._generic_SUNMatrix) int
See
SUNMatScaleAddI().
- sundials4py.core.SUNMatZero(A: sundials4py.core._generic_SUNMatrix) int
See
SUNMatZero().
- sundials4py.core.SUNMemoryHelper_Clone(param_0: sundials4py.core.SUNMemoryHelper_) sundials4py.core.SUNMemoryHelper_
- sundials4py.core.SUNMemoryHelper_ImplementsRequiredOps(param_0: sundials4py.core.SUNMemoryHelper_) int
See
SUNMemoryHelper_ImplementsRequiredOps().
- sundials4py.core.SUNMemoryHelper_SetDefaultQueue(param_0: sundials4py.core.SUNMemoryHelper_, queue: typing_extensions.CapsuleType) int
- sundials4py.core.SUNMemoryHelper_Sys(sunctx: sundials4py.core.SUNContext_) sundials4py.core.SUNMemoryHelper_
nb::keep_alive<0, 1>()
- sundials4py.core.SUNModifiedGS(v_1d: collections.abc.Sequence[sundials4py.core._generic_N_Vector], h_2d: numpy.ndarray[dtype=float64, shape=(*), order='C'], k: int, p: int) tuple[int, float]
See
SUNModifiedGS().
- sundials4py.core.SUNNonlinSolGetCurIter(NLS: sundials4py.core._generic_SUNNonlinearSolver) tuple[int, int]
- sundials4py.core.SUNNonlinSolGetNumConvFails(NLS: sundials4py.core._generic_SUNNonlinearSolver) tuple[int, int]
- sundials4py.core.SUNNonlinSolGetNumIters(NLS: sundials4py.core._generic_SUNNonlinearSolver) tuple[int, int]
- sundials4py.core.SUNNonlinSolGetType(NLS: sundials4py.core._generic_SUNNonlinearSolver) sundials4py.core.SUNNonlinearSolver_Type
- sundials4py.core.SUNNonlinSolInitialize(NLS: sundials4py.core._generic_SUNNonlinearSolver) int
- sundials4py.core.SUNNonlinSolSetConvTestFn(NLS: sundials4py.core._generic_SUNNonlinearSolver, CTestFn: collections.abc.Callable[[sundials4py.core._generic_SUNNonlinearSolver, sundials4py.core._generic_N_Vector, sundials4py.core._generic_N_Vector, float, sundials4py.core._generic_N_Vector, typing_extensions.CapsuleType], int] | None) int
- sundials4py.core.SUNNonlinSolSetDamping_FixedPoint(NLS: sundials4py.core._generic_SUNNonlinearSolver, beta: float) int
- sundials4py.core.SUNNonlinSolSetLSetupFn(NLS: sundials4py.core._generic_SUNNonlinearSolver, SetupFn: collections.abc.Callable[[int, typing_extensions.CapsuleType], tuple[int, int]] | None) int
- sundials4py.core.SUNNonlinSolSetLSolveFn(NLS: sundials4py.core._generic_SUNNonlinearSolver, SolveFn: collections.abc.Callable[[sundials4py.core._generic_N_Vector, typing_extensions.CapsuleType], int] | None) int
- sundials4py.core.SUNNonlinSolSetMaxIters(NLS: sundials4py.core._generic_SUNNonlinearSolver, maxiters: int) int
- sundials4py.core.SUNNonlinSolSetOptions(self: sundials4py.core._generic_SUNNonlinearSolver, id: str, file_name: str, argc: int, args: collections.abc.Sequence[str]) int
- sundials4py.core.SUNNonlinSolSetSysFn(NLS: sundials4py.core._generic_SUNNonlinearSolver, SysFn: collections.abc.Callable[[sundials4py.core._generic_N_Vector, sundials4py.core._generic_N_Vector, typing_extensions.CapsuleType], int] | None) int
- sundials4py.core.SUNNonlinSolSetup(NLS: sundials4py.core._generic_SUNNonlinearSolver, y: sundials4py.core._generic_N_Vector) int
See
SUNNonlinSolSetup().
- sundials4py.core.SUNNonlinSolSolve(NLS: sundials4py.core._generic_SUNNonlinearSolver, y0: sundials4py.core._generic_N_Vector, y: sundials4py.core._generic_N_Vector, w: sundials4py.core._generic_N_Vector, tol: float, callLSetup: int) int
See
SUNNonlinSolSolve().
- sundials4py.core.SUNNonlinSol_FixedPoint(y: sundials4py.core._generic_N_Vector, m: int, sunctx: sundials4py.core.SUNContext_) sundials4py.core._generic_SUNNonlinearSolver
nb::keep_alive<0, 3>()
- sundials4py.core.SUNNonlinSol_FixedPointSens(count: int, y: sundials4py.core._generic_N_Vector, m: int, sunctx: sundials4py.core.SUNContext_) sundials4py.core._generic_SUNNonlinearSolver
nb::keep_alive<0, 4>()
See
SUNNonlinSol_FixedPointSens().
- sundials4py.core.SUNNonlinSol_Newton(y: sundials4py.core._generic_N_Vector, sunctx: sundials4py.core.SUNContext_) sundials4py.core._generic_SUNNonlinearSolver
nb::keep_alive<0, 2>()
- sundials4py.core.SUNNonlinSol_NewtonSens(count: int, y: sundials4py.core._generic_N_Vector, sunctx: sundials4py.core.SUNContext_) sundials4py.core._generic_SUNNonlinearSolver
nb::keep_alive<0, 3>()
See
SUNNonlinSol_NewtonSens().
- sundials4py.core.SUNProfiler_Begin(p: sundials4py.core.SUNProfiler_, name: str) int
See
SUNProfiler_Begin().
- sundials4py.core.SUNProfiler_Create(comm: int, title: str) tuple[int, sundials4py.core.SUNProfiler_]
See
SUNProfiler_Create().
- sundials4py.core.SUNProfiler_End(p: sundials4py.core.SUNProfiler_, name: str) int
See
SUNProfiler_End().
- sundials4py.core.SUNProfiler_GetElapsedTime(p: sundials4py.core.SUNProfiler_, name: str) tuple[int, float]
- sundials4py.core.SUNProfiler_GetTimerResolution(p: sundials4py.core.SUNProfiler_) tuple[int, float]
- sundials4py.core.SUNProfiler_Print(p: sundials4py.core.SUNProfiler_, fp: sundials4py.core.FILE) int
See
SUNProfiler_Print().
- sundials4py.core.SUNProfiler_Reset(p: sundials4py.core.SUNProfiler_) int
See
SUNProfiler_Reset().
- sundials4py.core.SUNQRAdd_CGS2(Q_1d: collections.abc.Sequence[sundials4py.core._generic_N_Vector], R_1d: numpy.ndarray[dtype=float64, shape=(*), order='C'], df: sundials4py.core._generic_N_Vector, m: int, mMax: int, QRdata: typing_extensions.CapsuleType) int
See
SUNQRAdd_CGS2().
- sundials4py.core.SUNQRAdd_DCGS2(Q_1d: collections.abc.Sequence[sundials4py.core._generic_N_Vector], R_1d: numpy.ndarray[dtype=float64, shape=(*), order='C'], df: sundials4py.core._generic_N_Vector, m: int, mMax: int, QRdata: typing_extensions.CapsuleType) int
See
SUNQRAdd_DCGS2().
- sundials4py.core.SUNQRAdd_DCGS2_SB(Q_1d: collections.abc.Sequence[sundials4py.core._generic_N_Vector], R_1d: numpy.ndarray[dtype=float64, shape=(*), order='C'], df: sundials4py.core._generic_N_Vector, m: int, mMax: int, QRdata: typing_extensions.CapsuleType) int
See
SUNQRAdd_DCGS2_SB().
- sundials4py.core.SUNQRAdd_ICWY(Q_1d: collections.abc.Sequence[sundials4py.core._generic_N_Vector], R_1d: numpy.ndarray[dtype=float64, shape=(*), order='C'], df: sundials4py.core._generic_N_Vector, m: int, mMax: int, QRdata: typing_extensions.CapsuleType) int
See
SUNQRAdd_ICWY().
- sundials4py.core.SUNQRAdd_ICWY_SB(Q_1d: collections.abc.Sequence[sundials4py.core._generic_N_Vector], R_1d: numpy.ndarray[dtype=float64, shape=(*), order='C'], df: sundials4py.core._generic_N_Vector, m: int, mMax: int, QRdata: typing_extensions.CapsuleType) int
See
SUNQRAdd_ICWY_SB().
- sundials4py.core.SUNQRAdd_MGS(Q_1d: collections.abc.Sequence[sundials4py.core._generic_N_Vector], R_1d: numpy.ndarray[dtype=float64, shape=(*), order='C'], df: sundials4py.core._generic_N_Vector, m: int, mMax: int, QRdata: typing_extensions.CapsuleType) int
See
SUNQRAdd_MGS().
- sundials4py.core.SUNQRfact(n: int, h_2d: numpy.ndarray[dtype=float64, shape=(*), order='C'], q_1d: numpy.ndarray[dtype=float64, shape=(*), order='C'], job: int) int
See
SUNQRfact().
- sundials4py.core.SUNQRsol(n: int, h_2d: numpy.ndarray[dtype=float64, shape=(*), order='C'], q_1d: numpy.ndarray[dtype=float64, shape=(*), order='C'], b_1d: numpy.ndarray[dtype=float64, shape=(*), order='C']) int
See
SUNQRsol().
- sundials4py.core.SUNSparseFromBandMatrix(A: sundials4py.core._generic_SUNMatrix, droptol: float, sparsetype: int) sundials4py.core._generic_SUNMatrix
- sundials4py.core.SUNSparseFromDenseMatrix(A: sundials4py.core._generic_SUNMatrix, droptol: float, sparsetype: int) sundials4py.core._generic_SUNMatrix
- sundials4py.core.SUNSparseMatrix(M: int, N: int, NNZ: int, sparsetype: int, sunctx: sundials4py.core.SUNContext_) sundials4py.core._generic_SUNMatrix
nb::keep_alive<0, 5>()
See
SUNSparseMatrix().
- sundials4py.core.SUNSparseMatrix_Columns(A: sundials4py.core._generic_SUNMatrix) int
- sundials4py.core.SUNSparseMatrix_Data(A: sundials4py.core._generic_SUNMatrix) numpy.ndarray[dtype=float64, shape=(*), order='C']
- sundials4py.core.SUNSparseMatrix_IndexPointers(A: sundials4py.core._generic_SUNMatrix) numpy.ndarray[dtype=int64, shape=(*), order='C']
- sundials4py.core.SUNSparseMatrix_IndexValues(A: sundials4py.core._generic_SUNMatrix) numpy.ndarray[dtype=int64, shape=(*), order='C']
- sundials4py.core.SUNSparseMatrix_NNZ(A: sundials4py.core._generic_SUNMatrix) int
- sundials4py.core.SUNSparseMatrix_NP(A: sundials4py.core._generic_SUNMatrix) int
See
SUNSparseMatrix_NP().
- sundials4py.core.SUNSparseMatrix_Print(A: sundials4py.core._generic_SUNMatrix, outfile: sundials4py.core.FILE) None
- sundials4py.core.SUNSparseMatrix_Realloc(A: sundials4py.core._generic_SUNMatrix) int
- sundials4py.core.SUNSparseMatrix_Reallocate(A: sundials4py.core._generic_SUNMatrix, NNZ: int) int
- sundials4py.core.SUNSparseMatrix_Rows(A: sundials4py.core._generic_SUNMatrix) int
- sundials4py.core.SUNSparseMatrix_SparseType(A: sundials4py.core._generic_SUNMatrix) int
- sundials4py.core.SUNSparseMatrix_ToCSC(A: sundials4py.core._generic_SUNMatrix) tuple[int, sundials4py.core._generic_SUNMatrix]
See
SUNSparseMatrix_ToCSC().
- sundials4py.core.SUNSparseMatrix_ToCSR(A: sundials4py.core._generic_SUNMatrix) tuple[int, sundials4py.core._generic_SUNMatrix]
See
SUNSparseMatrix_ToCSR().
- sundials4py.core.SUNStepper_Create(sunctx: sundials4py.core.SUNContext_) tuple[int, sundials4py.core.SUNStepper_]
nb::call_policy<sundials4py::returns_references_to<1, 1>>()
See
SUNStepper_Create().
- sundials4py.core.SUNStepper_Evolve(stepper: sundials4py.core.SUNStepper_, tout: float, vret: sundials4py.core._generic_N_Vector) tuple[int, float]
See
SUNStepper_Evolve().
- sundials4py.core.SUNStepper_FullRhs(stepper: sundials4py.core.SUNStepper_, t: float, v: sundials4py.core._generic_N_Vector, f: sundials4py.core._generic_N_Vector, mode: sundials4py.core.SUNFullRhsMode) int
See
SUNStepper_FullRhs().
- sundials4py.core.SUNStepper_GetLastFlag(stepper: sundials4py.core.SUNStepper_) tuple[int, int]
- sundials4py.core.SUNStepper_GetNumSteps(stepper: sundials4py.core.SUNStepper_) tuple[int, int]
- sundials4py.core.SUNStepper_OneStep(stepper: sundials4py.core.SUNStepper_, tout: float, vret: sundials4py.core._generic_N_Vector) tuple[int, float]
See
SUNStepper_OneStep().
- sundials4py.core.SUNStepper_ReInit(stepper: sundials4py.core.SUNStepper_, t0: float, v0: sundials4py.core._generic_N_Vector) int
See
SUNStepper_ReInit().
- sundials4py.core.SUNStepper_Reset(stepper: sundials4py.core.SUNStepper_, tR: float, vR: sundials4py.core._generic_N_Vector) int
See
SUNStepper_Reset().
- sundials4py.core.SUNStepper_ResetCheckpointIndex(stepper: sundials4py.core.SUNStepper_, ckptIdxR: int) int
- sundials4py.core.SUNStepper_SetEvolveFn(stepper: sundials4py.core.SUNStepper_, fn: collections.abc.Callable[[sundials4py.core.SUNStepper_, float, sundials4py.core._generic_N_Vector, float], int] | None) int
- sundials4py.core.SUNStepper_SetForcing(stepper: sundials4py.core.SUNStepper_, tshift: float, tscale: float, forcing_1d: collections.abc.Sequence[sundials4py.core._generic_N_Vector], nforcing: int) int
- sundials4py.core.SUNStepper_SetForcingFn(stepper: sundials4py.core.SUNStepper_, fn: collections.abc.Callable[[sundials4py.core.SUNStepper_, float, float, collections.abc.Sequence[sundials4py.core._generic_N_Vector], int], int] | None) int
- sundials4py.core.SUNStepper_SetFullRhsFn(stepper: sundials4py.core.SUNStepper_, fn: collections.abc.Callable[[sundials4py.core.SUNStepper_, float, sundials4py.core._generic_N_Vector, sundials4py.core._generic_N_Vector, sundials4py.core.SUNFullRhsMode], int] | None) int
- sundials4py.core.SUNStepper_SetGetNumStepsFn(stepper: sundials4py.core.SUNStepper_, fn: collections.abc.Callable[[sundials4py.core.SUNStepper_], tuple[int, int]] | None) int
- sundials4py.core.SUNStepper_SetLastFlag(stepper: sundials4py.core.SUNStepper_, last_flag: int) int
- sundials4py.core.SUNStepper_SetOneStepFn(stepper: sundials4py.core.SUNStepper_, fn: collections.abc.Callable[[sundials4py.core.SUNStepper_, float, sundials4py.core._generic_N_Vector, float], int] | None) int
- sundials4py.core.SUNStepper_SetReInitFn(stepper: sundials4py.core.SUNStepper_, fn: collections.abc.Callable[[sundials4py.core.SUNStepper_, float, sundials4py.core._generic_N_Vector], int] | None) int
- sundials4py.core.SUNStepper_SetResetCheckpointIndexFn(stepper: sundials4py.core.SUNStepper_, fn: collections.abc.Callable[[sundials4py.core.SUNStepper_, int], int] | None) int
- sundials4py.core.SUNStepper_SetResetFn(stepper: sundials4py.core.SUNStepper_, fn: collections.abc.Callable[[sundials4py.core.SUNStepper_, float, sundials4py.core._generic_N_Vector], int] | None) int
- sundials4py.core.SUNStepper_SetStepDirection(stepper: sundials4py.core.SUNStepper_, stepdir: float) int
- sundials4py.core.SUNStepper_SetStepDirectionFn(stepper: sundials4py.core.SUNStepper_, fn: collections.abc.Callable[[sundials4py.core.SUNStepper_, float], int] | None) int
- sundials4py.core.SUNStepper_SetStopTime(stepper: sundials4py.core.SUNStepper_, tstop: float) int
- sundials4py.core.SUNStepper_SetStopTimeFn(stepper: sundials4py.core.SUNStepper_, fn: collections.abc.Callable[[sundials4py.core.SUNStepper_, float], int] | None) int