| /petsc/src/dm/impls/plex/tutorials/ |
| H A D | ex5.c | 32 …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 D | ex13.c | 23 …PetscCall(PetscOptionsEnum("-tps_type", "Type of triply-periodic surface", NULL, DMPlexTPSTypes, (… in main()
|
| /petsc/src/sys/tutorials/ |
| H A D | ex9f.F90 | 55 …PetscCallA(PetscOptionsEnum('-enum', 'Get an application enum', 'Man page', list, edefault, evalue…
|
| /petsc/src/dm/impls/da/ |
| H A D | dacreate.c | 35 …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 D | ex11.c | 182 …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 D | qn.c | 333 …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 D | chaco.c | 627 …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 D | ex15.c | 119 …PetscCall(PetscOptionsEnum("-var", "Variable formulation", NULL, VarModes, (PetscEnum)var, (PetscE… in main()
|
| /petsc/src/vec/is/utils/tests/ |
| H A D | ex1.c | 33 …PetscCall(PetscOptionsEnum("-copy_mode", "Copy mode to use with KDTree", "PetscKDTreeCreate", Pets… in main()
|
| /petsc/include/ |
| H A D | petscoptions.h | 285 PetscErrorCode PetscOptionsEnum(T...); 444 …#define PetscOptionsEnum(opt, text, man, list, currentvalue, value, set) PetscOptionsEnum… macro
|
| /petsc/src/ts/tutorials/ |
| H A D | ex74.c | 67 …PetscCall(PetscOptionsEnum("-physics_type", "Type of process to discretize", "", PhysicsTypes, (Pe… in main()
|
| /petsc/src/mat/impls/aij/mpi/mpihipsparse/ |
| H A D | mpiaijhipsparse.hip.cxx | 394 …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 D | ex10.c | 167 …PetscCall(PetscOptionsEnum("-rhs", "Right hand side", "", RHSTypes, (PetscEnum)rhstype, (PetscEnum… in main()
|
| /petsc/src/mat/impls/aij/mpi/mpicusparse/ |
| H A D | mpiaijcusparse.cu | 394 …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 D | snesngmres.c | 85 …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 D | anderson.c | 14 …PetscCall(PetscOptionsEnum("-snes_anderson_restart_type", "Restart type", "SNESNGMRESSetRestartTyp… in SNESSetFromOptions_Anderson()
|
| /petsc/src/mat/graphops/color/interface/ |
| H A D | matcoloring.c | 212 …PetscCall(PetscOptionsEnum("-mat_coloring_weight_type", "Sets the type of vertex weighting used", … in MatColoringSetFromOptions()
|
| /petsc/doc/changes/ |
| H A D | 230.md | 23 - added PetscOptionsEnum() and PetscOptionsGetEnum()
|
| /petsc/src/dm/impls/stag/ |
| H A D | stag.c | 895 …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 D | ex22.c | 63 …PetscCall(PetscOptionsEnum("-sliceaxis", "axis along which 2D slice is extracted from : X, Y, Z", … in main()
|
| /petsc/src/ts/tutorials/power_grid/ |
| H A D | ex3sa.c | 116 …PetscCall(PetscOptionsEnum("-sa_method", "Sensitivity analysis method (adj or tlm)", "", SAMethods… in main()
|
| /petsc/src/sys/classes/draw/interface/ |
| H A D | drawreg.c | 427 …PetscCall(PetscOptionsEnum("-draw_marker_type", "Type of marker to use on plots", "PetscDrawSetMar… in PetscDrawSetFromOptions()
|
| /petsc/src/ksp/pc/impls/parms/ |
| H A D | parms.c | 266 …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 D | ex39.c | 211 …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 D | tr.c | 858 …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()
|