Home
last modified time | relevance | path

Searched refs:PetscOptionsEnum (Results 1 – 25 of 119) sorted by relevance

12345

/petsc/src/dm/impls/plex/tutorials/
H A Dex5.c32 …PetscCall(PetscOptionsEnum("-informat", "Input mesh format", EX, PetscViewerFormats, (PetscEnum)op… in ProcessOptions()
33 …PetscCall(PetscOptionsEnum("-outformat", "Dump/reload mesh format", EX, PetscViewerFormats, (Petsc… in ProcessOptions()
H A Dex13.c23 …PetscCall(PetscOptionsEnum("-tps_type", "Type of triply-periodic surface", NULL, DMPlexTPSTypes, (… in main()
/petsc/src/sys/tutorials/
H A Dex9f.F9055 …PetscCallA(PetscOptionsEnum('-enum', 'Get an application enum', 'Man page', list, edefault, evalue…
/petsc/src/dm/impls/da/
H A Ddacreate.c35 …PetscCall(PetscOptionsEnum("-da_bd_x", "Boundary type for x direction", "DMDASetBoundaryType", DMB… in DMSetFromOptions_DA()
36 …if (dim > 1) PetscCall(PetscOptionsEnum("-da_bd_y", "Boundary type for y direction", "DMDASetBound… in DMSetFromOptions_DA()
37 …if (dim > 2) PetscCall(PetscOptionsEnum("-da_bd_z", "Boundary type for z direction", "DMDASetBound… in DMSetFromOptions_DA()
38 …PetscCall(PetscOptionsEnum("-da_bd_all", "Boundary type for every direction", "DMDASetBoundaryType… in DMSetFromOptions_DA()
/petsc/src/snes/tutorials/
H A Dex11.c182 …PetscCall(PetscOptionsEnum("-bc_type", "Type of boundary condition", __FILE__, bcTypes, (PetscEnum… in ProcessOptions()
183 …PetscCall(PetscOptionsEnum("-rhs_type", "Type of forcing term", __FILE__, rhsTypes, (PetscEnum)opt… in ProcessOptions()
184 …PetscCall(PetscOptionsEnum("-coefficient_type", "Type of conductivity coefficient", __FILE__, coef… in ProcessOptions()
/petsc/src/snes/impls/qn/
H A Dqn.c333 …PetscCall(PetscOptionsEnum("-snes_qn_scale_type", "Scaling type", "SNESQNSetScaleType", SNESQNScal… in SNESSetFromOptions_QN()
336 …PetscCall(PetscOptionsEnum("-snes_qn_restart_type", "Restart type", "SNESQNSetRestartType", SNESQN… in SNESSetFromOptions_QN()
339 …PetscCall(PetscOptionsEnum("-snes_qn_type", "Quasi-Newton update type", "", SNESQNTypes, (PetscEnu… in SNESSetFromOptions_QN()
/petsc/src/mat/graphops/partition/impls/chaco/
H A Dchaco.c627 …PetscCall(PetscOptionsEnum("-mat_partitioning_chaco_global", "Global method", "MatPartitioningChac… in MatPartitioningSetFromOptions_Chaco()
629 …PetscCall(PetscOptionsEnum("-mat_partitioning_chaco_local", "Local method", "MatPartitioningChacoS… in MatPartitioningSetFromOptions_Chaco()
633 …PetscCall(PetscOptionsEnum("-mat_partitioning_chaco_eigen_solver", "Eigensolver method", "MatParti… in MatPartitioningSetFromOptions_Chaco()
/petsc/src/ts/tests/
H A Dex15.c119 …PetscCall(PetscOptionsEnum("-var", "Variable formulation", NULL, VarModes, (PetscEnum)var, (PetscE… in main()
/petsc/src/vec/is/utils/tests/
H A Dex1.c33 …PetscCall(PetscOptionsEnum("-copy_mode", "Copy mode to use with KDTree", "PetscKDTreeCreate", Pets… in main()
/petsc/include/
H A Dpetscoptions.h285 PetscErrorCode PetscOptionsEnum(T...);
444 …#define PetscOptionsEnum(opt, text, man, list, currentvalue, value, set) PetscOptionsEnum… macro
/petsc/src/ts/tutorials/
H A Dex74.c67 …PetscCall(PetscOptionsEnum("-physics_type", "Type of process to discretize", "", PhysicsTypes, (Pe… in main()
/petsc/src/mat/impls/aij/mpi/mpihipsparse/
H A Dmpiaijhipsparse.hip.cxx394 …PetscCall(PetscOptionsEnum("-mat_hipsparse_mult_diag_storage_format", "sets storage format of the … in MatSetFromOptions_MPIAIJHIPSPARSE()
396 …PetscCall(PetscOptionsEnum("-mat_hipsparse_mult_offdiag_storage_format", "sets storage format of t… in MatSetFromOptions_MPIAIJHIPSPARSE()
398 …PetscCall(PetscOptionsEnum("-mat_hipsparse_storage_format", "sets storage format of the diagonal a… in MatSetFromOptions_MPIAIJHIPSPARSE()
/petsc/src/ksp/ksp/tutorials/
H A Dex10.c167 …PetscCall(PetscOptionsEnum("-rhs", "Right hand side", "", RHSTypes, (PetscEnum)rhstype, (PetscEnum… in main()
/petsc/src/mat/impls/aij/mpi/mpicusparse/
H A Dmpiaijcusparse.cu394 …PetscCall(PetscOptionsEnum("-mat_cusparse_mult_diag_storage_format", "sets storage format of the d… in MatSetFromOptions_MPIAIJCUSPARSE()
396 …PetscCall(PetscOptionsEnum("-mat_cusparse_mult_offdiag_storage_format", "sets storage format of th… in MatSetFromOptions_MPIAIJCUSPARSE()
398 …PetscCall(PetscOptionsEnum("-mat_cusparse_storage_format", "sets storage format of the diagonal an… in MatSetFromOptions_MPIAIJCUSPARSE()
/petsc/src/snes/impls/ngmres/
H A Dsnesngmres.c85 …PetscCall(PetscOptionsEnum("-snes_ngmres_select_type", "Select type", "SNESNGMRESSetSelectType", S… in SNESSetFromOptions_NGMRES()
86 …PetscCall(PetscOptionsEnum("-snes_ngmres_restart_type", "Restart type", "SNESNGMRESSetRestartType"… in SNESSetFromOptions_NGMRES()
H A Danderson.c14 …PetscCall(PetscOptionsEnum("-snes_anderson_restart_type", "Restart type", "SNESNGMRESSetRestartTyp… in SNESSetFromOptions_Anderson()
/petsc/src/mat/graphops/color/interface/
H A Dmatcoloring.c212 …PetscCall(PetscOptionsEnum("-mat_coloring_weight_type", "Sets the type of vertex weighting used", … in MatColoringSetFromOptions()
/petsc/doc/changes/
H A D230.md23 - added PetscOptionsEnum() and PetscOptionsGetEnum()
/petsc/src/dm/impls/stag/
H A Dstag.c895 …PetscCall(PetscOptionsEnum("-stag_stencil_type", "Elementwise stencil stype", "DMStagSetStencilTyp… in DMSetFromOptions_Stag()
896 …PetscCall(PetscOptionsEnum("-stag_boundary_type_x", "Treatment of (physical) boundaries in x direc… in DMSetFromOptions_Stag()
897 …PetscCall(PetscOptionsEnum("-stag_boundary_type_y", "Treatment of (physical) boundaries in y direc… in DMSetFromOptions_Stag()
898 …PetscCall(PetscOptionsEnum("-stag_boundary_type_z", "Treatment of (physical) boundaries in z direc… in DMSetFromOptions_Stag()
/petsc/src/dm/tutorials/
H A Dex22.c63 …PetscCall(PetscOptionsEnum("-sliceaxis", "axis along which 2D slice is extracted from : X, Y, Z", … in main()
/petsc/src/ts/tutorials/power_grid/
H A Dex3sa.c116 …PetscCall(PetscOptionsEnum("-sa_method", "Sensitivity analysis method (adj or tlm)", "", SAMethods… in main()
/petsc/src/sys/classes/draw/interface/
H A Ddrawreg.c427 …PetscCall(PetscOptionsEnum("-draw_marker_type", "Type of marker to use on plots", "PetscDrawSetMar… in PetscDrawSetFromOptions()
/petsc/src/ksp/pc/impls/parms/
H A Dparms.c266 …PetscCall(PetscOptionsEnum("-pc_parms_global", "Global preconditioner", "PCPARMSSetGlobal", PCPARM… in PCSetFromOptions_PARMS()
268 …PetscCall(PetscOptionsEnum("-pc_parms_local", "Local preconditioner", "PCPARMSSetLocal", PCPARMSLo… in PCSetFromOptions_PARMS()
/petsc/src/dm/impls/plex/tests/
H A Dex39.c211 …PetscCall(PetscOptionsEnum("-mesh_transform", "Method used to perturb the mesh vertices. Options a… in ProcessOptions()
212 …PetscCall(PetscOptionsEnum("-sol_form", "Form of the exact solution. Options are Linear or Sinusoi… in ProcessOptions()
/petsc/src/snes/impls/tr/
H A Dtr.c858 …PetscCall(PetscOptionsEnum("-snes_tr_fallback_type", "Type of fallback if subproblem solution is o… in SNESSetFromOptions_NEWTONTR()
862 …PetscCall(PetscOptionsEnum("-snes_tr_qn", "Use Quasi-Newton approximations for the model", "SNESNe… in SNESSetFromOptions_NEWTONTR()
866 …PetscCall(PetscOptionsEnum("-snes_tr_norm_type", "Type of norm for trust region bounds", "SNESNewt… in SNESSetFromOptions_NEWTONTR()

12345