| aoptions.c (e1b06f76ad35ce2a89fc667d1feb3b2de35f6e0a) | aoptions.c (bebe2cf65d55febe21a5af8db2bd2e168caaa2e7) |
|---|---|
| 1 2 3/* 4 Implements the higher-level options database querying methods. These are self-documenting and can attach at runtime to 5 GUI code to display the options and get values from the users. 6 7*/ 8 --- 1498 unchanged lines hidden (view full) --- 1507+ value - location to copy values 1508. n - actual number of values found 1509- set - PETSC_TRUE if found, else PETSC_FALSE 1510 1511 Level: beginner 1512 1513 Notes: 1514 The array can be passed as | 1 2 3/* 4 Implements the higher-level options database querying methods. These are self-documenting and can attach at runtime to 5 GUI code to display the options and get values from the users. 6 7*/ 8 --- 1498 unchanged lines hidden (view full) --- 1507+ value - location to copy values 1508. n - actual number of values found 1509- set - PETSC_TRUE if found, else PETSC_FALSE 1510 1511 Level: beginner 1512 1513 Notes: 1514 The array can be passed as |
| 1515 a comma seperated list: 0,1,2,3,4,5,6,7 | 1515 a comma separated list: 0,1,2,3,4,5,6,7 |
| 1516 a range (start-end+1): 0-8 1517 a range with given increment (start-end+1:inc): 0-7:2 | 1516 a range (start-end+1): 0-8 1517 a range with given increment (start-end+1:inc): 0-7:2 |
| 1518 a combination of values and ranges seperated by commas: 0,1-8,8-15:2 | 1518 a combination of values and ranges separated by commas: 0,1-8,8-15:2 |
| 1519 1520 There must be no intervening spaces between the values. 1521 1522 Must be between a PetscOptionsBegin() and a PetscOptionsEnd() 1523 1524 Concepts: options database^array of ints 1525 1526.seealso: PetscOptionsGetInt(), PetscOptionsGetReal(), --- 249 unchanged lines hidden --- | 1519 1520 There must be no intervening spaces between the values. 1521 1522 Must be between a PetscOptionsBegin() and a PetscOptionsEnd() 1523 1524 Concepts: options database^array of ints 1525 1526.seealso: PetscOptionsGetInt(), PetscOptionsGetReal(), --- 249 unchanged lines hidden --- |