Home
last modified time | relevance | path

Searched refs:method (Results 1 – 25 of 104) sorted by relevance

12345

/petsc/src/mat/graphops/partition/impls/chaco/
H A Dchaco.c211 PetscErrorCode MatPartitioningChacoSetGlobal(MatPartitioning part, MPChacoGlobalType method) in MatPartitioningChacoSetGlobal() argument
215 PetscValidLogicalCollectiveEnum(part, method, 2); in MatPartitioningChacoSetGlobal()
216 …hod(part, "MatPartitioningChacoSetGlobal_C", (MatPartitioning, MPChacoGlobalType), (part, method)); in MatPartitioningChacoSetGlobal()
220 … PetscErrorCode MatPartitioningChacoSetGlobal_Chaco(MatPartitioning part, MPChacoGlobalType method) in MatPartitioningChacoSetGlobal_Chaco() argument
225 switch (method) { in MatPartitioningChacoSetGlobal_Chaco()
231 chaco->global_method = method; in MatPartitioningChacoSetGlobal_Chaco()
254 PetscErrorCode MatPartitioningChacoGetGlobal(MatPartitioning part, MPChacoGlobalType *method) in MatPartitioningChacoGetGlobal() argument
258 PetscAssertPointer(method, 2); in MatPartitioningChacoGetGlobal()
259 …d(part, "MatPartitioningChacoGetGlobal_C", (MatPartitioning, MPChacoGlobalType *), (part, method)); in MatPartitioningChacoGetGlobal()
263 …PetscErrorCode MatPartitioningChacoGetGlobal_Chaco(MatPartitioning part, MPChacoGlobalType *method) in MatPartitioningChacoGetGlobal_Chaco() argument
[all …]
/petsc/src/snes/tutorials/network/
H A Dex1options2 # Newton method
11 # Line search method (bt and secant lead to convergence, basic diverges)
30 # Newton method
39 # Line search method (bt and secant lead to convergence, basic diverges)
55 # Newton method
64 # Line search method (bt and secant lead to convergence, basic diverges)
/petsc/src/vec/is/is/interface/
H A Disreg.c62 PetscErrorCode ISSetType(IS is, ISType method) in ISSetType() argument
69 PetscCall(PetscObjectTypeCompare((PetscObject)is, method, &match)); in ISSetType()
73 PetscCall(PetscFunctionListFind(ISList, method, &r)); in ISSetType()
74 …ck(r, PetscObjectComm((PetscObject)is), PETSC_ERR_ARG_UNKNOWN_TYPE, "Unknown IS type: %s", method); in ISSetType()
79 PetscCall(PetscObjectChangeTypeName((PetscObject)is, method)); in ISSetType()
/petsc/src/vec/is/ao/interface/
H A Daoreg.c86 PetscErrorCode AOSetType(AO ao, AOType method) in AOSetType() argument
93 PetscCall(PetscObjectTypeCompare((PetscObject)ao, method, &match)); in AOSetType()
97 PetscCall(PetscFunctionListFind(AOList, method, &r)); in AOSetType()
98 …ck(r, PetscObjectComm((PetscObject)ao), PETSC_ERR_ARG_UNKNOWN_TYPE, "Unknown AO type: %s", method); in AOSetType()
/petsc/src/vec/vec/utils/tagger/impls/
H A Dcdf.c21 VecTaggerCDFMethod method; member
365 switch (cuml->method) { in VecTaggerComputeBoxes_CDF()
391 …PetscViewerASCIIPrintf(viewer, "CDF computation method: %s\n", VecTaggerCDFMethods[cuml->method])); in VecTaggerView_CDF()
392 if (cuml->method == VECTAGGER_CDF_ITERATIVE) { in VecTaggerView_CDF()
404 PetscInt method; in VecTaggerSetFromOptions_CDF() local
410 …VecTaggerCDFMethods, VECTAGGER_CDF_NUM_METHODS, VecTaggerCDFMethods[cuml->method], &method, &set)); in VecTaggerSetFromOptions_CDF()
411 if (set) cuml->method = (VecTaggerCDFMethod)method; in VecTaggerSetFromOptions_CDF()
432 PetscErrorCode VecTaggerCDFSetMethod(VecTagger tagger, VecTaggerCDFMethod method) in VecTaggerCDFSetMethod() argument
438 PetscValidLogicalCollectiveInt(tagger, method, 2); in VecTaggerCDFSetMethod()
439 cuml->method = method; in VecTaggerCDFSetMethod()
[all …]
/petsc/doc/overview/
H A Dnonlinear_solve_table.md17 * - Newton's method
20 * - Newton's method with trust region
26 * - Quasi-Newton method (BFGS)
H A Dintegrator_table.md41 - theta-method
51 - alpha-method :cite:`jansen_2000`
/petsc/src/binding/petsc4py/test/
H A Dtest_snes_py.py15 def _log(self, method, *args): argument
16 self.call_log.setdefault(method, 0)
17 self.call_log[method] += 1
H A Dtest_viewer_py.py13 def _log(self, method, *args): argument
14 self.log.setdefault(method, 0)
15 self.log[method] += 1
/petsc/src/snes/tutorials/network/water/
H A Dwateroptions2 # Newton method
7 # Line search method (bt and secant lead to convergence, basic diverges)
/petsc/src/ksp/ksp/guess/impls/fischer/
H A Dfischer.c5 PetscInt method; /* 1, 2 or 3 */ member
54 …if (!itg->btilde && (itg->method == 1 || itg->method == 3)) PetscCall(KSPCreateVecs(guess->ksp, it… in KSPGuessSetUp_Fischer()
55 if (!itg->Ax && itg->method == 2) PetscCall(VecDuplicate(itg->xtilde[0], &itg->Ax)); in KSPGuessSetUp_Fischer()
56 …if (!itg->guess && (itg->method == 1 || itg->method == 2)) PetscCall(VecDuplicate(itg->xtilde[0], … in KSPGuessSetUp_Fischer()
57 if (!itg->corr && itg->method == 3) PetscCall(PetscCalloc1(itg->maxl * itg->maxl, &itg->corr)); in KSPGuessSetUp_Fischer()
58 …if (!itg->last_b_coefs && itg->method == 3) PetscCall(PetscCalloc1(itg->maxl, &itg->last_b_coefs)); in KSPGuessSetUp_Fischer()
342 model[0] = ITG->method; in KSPGuessSetFromOptions_Fischer()
369 …rASCIIPrintf(viewer, "Model %" PetscInt_FMT ", size %" PetscInt_FMT "\n", itg->method, itg->maxl)); in KSPGuessView_Fischer()
416 itg->method = 0; in KSPGuessFischerSetModel_Fischer()
426 itg->method = model; in KSPGuessFischerSetModel_Fischer()
[all …]
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DKSP.pyx9 The preconditioned Richardson iterative method
12 The preconditioned Chebyshev iterative method.
15 The Preconditioned Conjugate Gradient (PCG) iterative method.
18 A pipelined conjugate gradient method (Gropp).
21 A pipelined conjugate gradient method.
27 Deep pipelined (length l) Conjugate Gradient method.
30 Pipelined predict-and-recompute conjugate gradient method.
33 Pipelined conjugate gradient method with a single non-blocking
36 Applies the preconditioned conjugate gradient method to the
39 Conjugate gradient method subject to a constraint
[all …]
/petsc/doc/manual/
H A Dtao.md88 minimization method (e.g., limited-memory variable metric, conjugate
133 discussed in the following sections. The solution method should be
141 a TAO method will override any method specified by the second argument.
143 specify the limited-memory quasi-Newton line search method for
171 method also implements its own specialized options. Please refer to the
412 matrix-free method. The matrix-free variant is allowed *only* when the
413 linear systems are solved by an iterative method in combination with no
638 This method is set by using the linearly constrained augmented
723 method, but faster results may be obtained by manipulating the structure
858 1. Function evaluation only – Nelder-Mead method (`tao_nm`)
[all …]
/petsc/src/ksp/ksp/tests/
H A Dex53.c14 …PetscInt method = 2, mat_size = 40, block_size = 2, *A_indices = NULL, *B_indices = NULL, A_siz… in main() local
22 PetscCall(PetscOptionsGetInt(NULL, NULL, "-method", &method, NULL)); in main()
47 if (method > 1) { in main()
/petsc/src/dm/impls/plex/tests/output/
H A Dex10_7.out1 Ordering method rcm reduced bandwidth from 53 to 47
H A Dex10_5.out1 Ordering method rcm reduced bandwidth from 45 to 23
H A Dex10_4.out1 Ordering method rcm reduced bandwidth from 279 to 59
H A Dex10_6.out1 Ordering method rcm reduced bandwidth from 111 to 83
H A Dex10_3.out21 Ordering method rcm reduced bandwidth from 15 to 15
H A Dex10_2.out21 Ordering method rcm reduced bandwidth from 15 to 15
/petsc/share/petsc/datafiles/meshes/
H A Dtestcase3D.cas111 (adapt/method 2)
172 (histogram/scaling-method "")
201 (wetsteam/amg-method 0)
236 (mpm/rg-and-g-copy-method 0)
239 (mixing-plane/ave-method 0)
262 (perforated/model-method 0)
306 (target-mfr-method 2)
340 (inert/amg-method 0)
363 (premix-g-var/amg-method 0)
382 (premix-g-eqn/amg-method 0)
[all …]
/petsc/doc/community/bofs/
H A D2026_Feb_CASS.md26 | 10:42 AM | Xiaodong Liu | Remcom Inc | [A PETSc-based vector finite element method code for solvi…
47method which transforms the indefinite saddle-point system into a positive definite reduced system…
77 :::{topic} **A PETSc-based vector finite element method code for solving the frequency-domain Maxwe…
83 **Abstract:** A PETSc-based vector finite element method (FEM) code is under active development at …
99 …ibrary Ratel to use this unified memory model for FEM and material point method (MPM) problems. Ra…
/petsc/doc/changes/
H A D2015.md83 nonlinear equations, line search method
85 method -snes_um_ls\_\<parameter_name>- unconstrained minimization,
86 line search method -snes_um_tr\_\<parameter_name> - unconstrained
87 minimization, trust region method Run program with -help for a
98 options for the block Jacobi method. You can still employ the old
110 understand the convergence of a chosen iterative method.
/petsc/src/binding/petsc4py/docs/source/
H A Ddocumentation_standards.rst6 and docstrings on every class, function and method.
17 The first line of a class, function or method docstring must be a short
18 description of the method in imperative mood ("Return the norm of the matrix.")
22 If the corresponding C API documentation of a method lists a function as being
/petsc/doc/manualpages/MANSECHeaders/
H A DCharacteristic3 `Characteristic` objects are used to manage parallel Semi-Lagrangian methods (method of characteris…

12345