Home
last modified time | relevance | path

Searched refs:PetscOptionsObject (Results 1 – 25 of 276) sorted by relevance

12345678910>>...12

/petsc/src/sys/objects/
H A Daoptions.c35 PetscErrorCode PetscOptionsBegin_Private(PetscOptionItems PetscOptionsObject, MPI_Comm comm, const … in PetscOptionsBegin_Private() argument
41 if (!PetscOptionsObject->alreadyprinted) { in PetscOptionsBegin_Private()
43 …HelpPrintedCheck(PetscOptionsHelpPrintedSingleton, prefix, title, &PetscOptionsObject->alreadyprin… in PetscOptionsBegin_Private()
45 PetscOptionsObject->next = NULL; in PetscOptionsBegin_Private()
46 PetscOptionsObject->comm = comm; in PetscOptionsBegin_Private()
47 PetscOptionsObject->changedmethod = PETSC_FALSE; in PetscOptionsBegin_Private()
49 PetscCall(PetscStrallocpy(prefix, &PetscOptionsObject->prefix)); in PetscOptionsBegin_Private()
50 PetscCall(PetscStrallocpy(title, &PetscOptionsObject->title)); in PetscOptionsBegin_Private()
52 PetscCall(PetscOptionsHasHelp(PetscOptionsObject->options, &PetscOptionsObject->printhelp)); in PetscOptionsBegin_Private()
53 …if (ShouldPrintHelp(PetscOptionsObject)) PetscCall((*PetscHelpPrintf)(comm, "---------------------… in PetscOptionsBegin_Private()
[all …]
/petsc/src/sys/objects/ftn-custom/
H A Dzoptionsf.c53 static PetscOptionItems PetscOptionsObject = NULL; variable
63 if (PetscOptionsObject) { in petscoptionsbegin_()
67 PetscOptionsObject = &PetscOptionsObjectBase; in petscoptionsbegin_()
68 *ierr = PetscMemzero(PetscOptionsObject, sizeof(*PetscOptionsObject)); in petscoptionsbegin_()
70 PetscOptionsObject->count = 1; in petscoptionsbegin_()
71 …*ierr = PetscOptionsBegin_Private(PetscOptionsObject, comm, cprefix, cmess, cs… in petscoptionsbegin_()
80 if (!PetscOptionsObject) { in petscoptionsend_()
84 PetscOptionsObject->count = 1; in petscoptionsend_()
85 *ierr = PetscOptionsEnd_Private(PetscOptionsObject); in petscoptionsend_()
86 PetscOptionsObject = NULL; in petscoptionsend_()
[all …]
/petsc/include/
H A Dpetscoptions.h138 extern PetscOptionItems PetscOptionsObject; /* declare this so that the PetscOptions stubs work */
197 PetscOptionItems PetscOptionsObject = &PetscOptionsObjectBase; \
198 PetscCall(PetscMemzero(PetscOptionsObject, sizeof(*PetscOptionsObject))); \
199 …for (PetscOptionsObject->count = (PetscOptionsPublish ? -1 : 1); PetscOptionsObject->count < 2; Pe…
200 PetscCall(PetscOptionsBegin_Private(PetscOptionsObject, comm, prefix, mess, sec))
235 PetscOptionItems PetscOptionsObject = &PetscOptionsObjectBase; \
236 PetscOptionsObject->options = ((PetscObject)obj)->options; \
237 …for (PetscOptionsObject->count = (PetscOptionsPublish ? -1 : 1); PetscOptionsObject->count < 2; Pe…
238 PetscCall(PetscObjectOptionsBegin_Private(obj, PetscOptionsObject))
269 PetscCall(PetscOptionsEnd_Private(PetscOptionsObject)); \
[all …]
/petsc/src/sys/objects/device/impls/
H A Dimpldevicebase.hpp132 …ceBase<D>::PetscOptionDevice(F &&OptionsFunction, PetscOptionItems PetscOptionsObject, const char … in PetscOptionDevice() argument
143 …PetscCheck(len < buflen, PetscOptionsObject->comm, PETSC_ERR_PLIB, "char buffer is not large enoug… in PetscOptionDevice()
146 PetscCall(OptionsFunction(PetscOptionsObject, buf.data(), std::forward<T>(args)...)); in PetscOptionDevice()
152 …orCode DeviceBase<D>::PetscOptionDeviceInitialize(PetscOptionItems PetscOptionsObject, T &&...args… in PetscOptionDeviceInitialize() argument
155 …PetscCall(PetscOptionDevice(PetscOptionsEList_Private, PetscOptionsObject, "-device_enable_", std:… in PetscOptionDeviceInitialize()
160 …orCode DeviceBase<D>::PetscOptionDeviceInitialize(PetscOptionItems PetscOptionsObject, PetscDevice… in PetscOptionDeviceInitialize() argument
165 …PetscCall(PetscOptionDeviceInitialize(PetscOptionsObject, "How (or whether) to initialize a device… in PetscOptionDeviceInitialize()
172 inline PetscErrorCode DeviceBase<D>::PetscOptionDeviceSelect(PetscOptionItems PetscOptionsObject, T… in PetscOptionDeviceSelect() argument
175 …PetscCall(PetscOptionDevice(PetscOptionsInt_Private, PetscOptionsObject, "-device_select_", std::f… in PetscOptionDeviceSelect()
180 inline PetscErrorCode DeviceBase<D>::PetscOptionDeviceSelect(PetscOptionItems PetscOptionsObject, P… in PetscOptionDeviceSelect() argument
[all …]
/petsc/src/ksp/ksp/utils/lmvm/symbrdn/
H A Dsymbadbrdn.c92 static PetscErrorCode MatSetFromOptions_LMVMSymBadBrdn(Mat B, PetscOptionItems PetscOptionsObject) in MatSetFromOptions_LMVMSymBadBrdn() argument
99 PetscCall(MatSetFromOptions_LMVM(B, PetscOptionsObject)); in MatSetFromOptions_LMVMSymBadBrdn()
100 …PetscOptionsHeadBegin(PetscOptionsObject, "Restricted/Symmetric Bad Broyden method for approximati… in MatSetFromOptions_LMVMSymBadBrdn()
103 PetscCall(SymBroydenRescaleSetFromOptions(B, lsb->rescale, PetscOptionsObject)); in MatSetFromOptions_LMVMSymBadBrdn()
/petsc/src/vec/pf/impls/matlab/
H A Dcmatlab.c47 static PetscErrorCode PFSetFromOptions_Matlab(PF pf, PetscOptionItems PetscOptionsObject) in PFSetFromOptions_Matlab() argument
54 PetscOptionsHeadBegin(PetscOptionsObject, "Matlab function options"); in PFSetFromOptions_Matlab()
/petsc/src/sys/classes/random/interface/
H A Drandomc.c116 …rorCode PetscRandomSetTypeFromOptions_Private(PetscRandom rnd, PetscOptionItems PetscOptionsObject) in PetscRandomSetTypeFromOptions_Private() argument
170 PetscCall(PetscRandomSetTypeFromOptions_Private(rnd, PetscOptionsObject)); in PetscRandomSetFromOptions()
173 PetscTryTypeMethod(rnd, setfromoptions, PetscOptionsObject); in PetscRandomSetFromOptions()
/petsc/src/tao/complementarity/impls/ssls/
H A Dssls.c3 PetscErrorCode TaoSetFromOptions_SSLS(Tao tao, PetscOptionItems PetscOptionsObject) in TaoSetFromOptions_SSLS() argument
8 …PetscOptionsHeadBegin(PetscOptionsObject, "Semismooth method with a linesearch for complementarity… in TaoSetFromOptions_SSLS()
/petsc/src/ksp/ksp/utils/lmvm/diagbrdn/
H A Ddiagbrdn.c87 static PetscErrorCode MatSetFromOptions_DiagBrdn(Mat B, PetscOptionItems PetscOptionsObject) in MatSetFromOptions_DiagBrdn() argument
93 PetscCall(MatSetFromOptions_LMVM(B, PetscOptionsObject)); in MatSetFromOptions_DiagBrdn()
94 PetscCall(SymBroydenRescaleSetFromOptions(B, ldb, PetscOptionsObject)); in MatSetFromOptions_DiagBrdn()
/petsc/src/vec/pf/impls/string/
H A Dcstring.c25 static PetscErrorCode PFSetFromOptions_String(PF pf, PetscOptionItems PetscOptionsObject) in PFSetFromOptions_String() argument
31 PetscOptionsHeadBegin(PetscOptionsObject, "String function options"); in PFSetFromOptions_String()
/petsc/src/mat/impls/mffd/
H A Dwp.c110 static PetscErrorCode MatMFFDSetFromOptions_WP(MatMFFD ctx, PetscOptionItems PetscOptionsObject) in MatMFFDSetFromOptions_WP() argument
115 PetscOptionsHeadBegin(PetscOptionsObject, "Walker-Pernice options"); in MatMFFDSetFromOptions_WP()
H A Dmffddef.c103 static PetscErrorCode MatMFFDSetFromOptions_DS(MatMFFD ctx, PetscOptionItems PetscOptionsObject) in MatMFFDSetFromOptions_DS() argument
108 PetscOptionsHeadBegin(PetscOptionsObject, "Finite difference matrix-free parameters"); in MatMFFDSetFromOptions_DS()
/petsc/src/sys/classes/viewer/impls/adios/
H A Dadios.c7 … PetscErrorCode PetscViewerSetFromOptions_ADIOS(PetscViewer v, PetscOptionItems PetscOptionsObject) in PetscViewerSetFromOptions_ADIOS() argument
10 PetscOptionsHeadBegin(PetscOptionsObject, "ADIOS PetscViewer Options"); in PetscViewerSetFromOptions_ADIOS()
/petsc/src/ksp/pc/interface/
H A Dpcset.c154 PetscTryTypeMethod(pc, setfromoptions, PetscOptionsObject); in PCSetFromOptions()
158 PetscCall(PetscObjectProcessOptionsHandlers((PetscObject)pc, PetscOptionsObject)); in PCSetFromOptions()
/petsc/src/ksp/ksp/impls/bcgs/
H A Dbcgsimpl.h14 PETSC_INTERN PetscErrorCode KSPSetFromOptions_BCGS(KSP, PetscOptionItems PetscOptionsObject);
/petsc/src/ksp/pc/impls/factor/icc/
H A Dicc.c124 static PetscErrorCode PCSetFromOptions_ICC(PC pc, PetscOptionItems PetscOptionsObject) in PCSetFromOptions_ICC() argument
131 PetscOptionsHeadBegin(PetscOptionsObject, "ICC Options"); in PCSetFromOptions_ICC()
132 PetscCall(PCSetFromOptions_Factor(pc, PetscOptionsObject)); in PCSetFromOptions_ICC()
/petsc/src/tao/bound/impls/bqnls/
H A Dbqnls.c39 static PetscErrorCode TaoSetFromOptions_BQNLS(Tao tao, PetscOptionItems PetscOptionsObject) in TaoSetFromOptions_BQNLS() argument
46 …PetscOptionsHeadBegin(PetscOptionsObject, "Quasi-Newton-Krylov method for bound constrained optimi… in TaoSetFromOptions_BQNLS()
/petsc/src/ksp/pc/impls/chowiluviennacl/
H A Dchowiluviennacl.cxx141 static PetscErrorCode PCSetFromOptions_CHOWILUVIENNACL(PC pc, PetscOptionItems PetscOptionsObject) in PCSetFromOptions_CHOWILUVIENNACL() argument
144 PetscOptionsHeadBegin(PetscOptionsObject, "CHOWILUVIENNACL options"); in PCSetFromOptions_CHOWILUVIENNACL()
/petsc/src/ksp/pc/impls/rowscalingviennacl/
H A Drowscalingviennacl.cxx141 …atic PetscErrorCode PCSetFromOptions_ROWSCALINGVIENNACL(PC pc, PetscOptionItems PetscOptionsObject) in PCSetFromOptions_ROWSCALINGVIENNACL() argument
144 PetscOptionsHeadBegin(PetscOptionsObject, "ROWSCALINGVIENNACL options"); in PCSetFromOptions_ROWSCALINGVIENNACL()
/petsc/src/sys/objects/device/impls/sycl/
H A Dsycldevice.sycl.cxx143 PetscCall(base_type::PetscOptionDeviceInitialize(PetscOptionsObject, &initType, nullptr)); in initialize()
144 …PetscCall(base_type::PetscOptionDeviceSelect(PetscOptionsObject, "Which sycl device to use? Pass -… in initialize()
146 PetscCall(base_type::PetscOptionDeviceView(PetscOptionsObject, &view, &flg)); in initialize()
/petsc/src/ksp/pc/impls/saviennacl/
H A Dsaviennacl.cxx140 static PetscErrorCode PCSetFromOptions_SAVIENNACL(PC pc, PetscOptionItems PetscOptionsObject) in PCSetFromOptions_SAVIENNACL() argument
143 PetscOptionsHeadBegin(PetscOptionsObject, "SAVIENNACL options"); in PCSetFromOptions_SAVIENNACL()
/petsc/src/vec/pf/impls/constant/
H A Dconst.c44 static PetscErrorCode PFSetFromOptions_Constant(PF pf, PetscOptionItems PetscOptionsObject) in PFSetFromOptions_Constant() argument
49 PetscOptionsHeadBegin(PetscOptionsObject, "Constant function options"); in PFSetFromOptions_Constant()
/petsc/src/sys/objects/device/impls/host/
H A Dhostdevice.cxx21 PetscCall(base_type::PetscOptionDeviceView(PetscOptionsObject, defaultView, nullptr)); in initialize()
/petsc/src/dm/impls/patch/
H A Dpatchcreate.c4 static PetscErrorCode DMSetFromOptions_Patch(DM dm, PetscOptionItems PetscOptionsObject) in DMSetFromOptions_Patch() argument
9 PetscOptionsHeadBegin(PetscOptionsObject, "DMPatch Options"); in DMSetFromOptions_Patch()
/petsc/src/ksp/ksp/utils/lmvm/dfp/
H A Ddfp.c194 static PetscErrorCode MatSetFromOptions_LMVMDFP(Mat B, PetscOptionItems PetscOptionsObject) in MatSetFromOptions_LMVMDFP() argument
200 PetscCall(MatSetFromOptions_LMVM(B, PetscOptionsObject)); in MatSetFromOptions_LMVMDFP()
201 …PetscOptionsHeadBegin(PetscOptionsObject, "DFP method for approximating SPD Jacobian actions (MATL… in MatSetFromOptions_LMVMDFP()
202 PetscCall(SymBroydenRescaleSetFromOptions(B, ldfp->rescale, PetscOptionsObject)); in MatSetFromOptions_LMVMDFP()

12345678910>>...12