options.c (f172c304b9cb90251bd7241089b2d057c0d8dcaa) options.c (94ef8dde638caef1d0cd84a7dc8a2db65fcda8b6)
1
2/* Define Feature test macros to make sure atoll is available (SVr4, POSIX.1-2001, 4.3BSD, C99), not in (C89 and POSIX.1-1996) */
3#define PETSC_DESIRE_FEATURE_TEST_MACROS
4
5/*
6 These routines simplify the use of command line, file options, etc., and are used to manipulate the options database.
7 This provides the low-level interface, the high level interface is in aoptions.c
8

--- 278 unchanged lines hidden (view full) ---

287{
288 PetscErrorCode ierr;
289
290 PetscFunctionBegin;
291 ierr = PetscStrncpy(defaultoptions->programname,name,PETSC_MAX_PATH_LEN);CHKERRQ(ierr);
292 PetscFunctionReturn(0);
293}
294
1
2/* Define Feature test macros to make sure atoll is available (SVr4, POSIX.1-2001, 4.3BSD, C99), not in (C89 and POSIX.1-1996) */
3#define PETSC_DESIRE_FEATURE_TEST_MACROS
4
5/*
6 These routines simplify the use of command line, file options, etc., and are used to manipulate the options database.
7 This provides the low-level interface, the high level interface is in aoptions.c
8

--- 278 unchanged lines hidden (view full) ---

287{
288 PetscErrorCode ierr;
289
290 PetscFunctionBegin;
291 ierr = PetscStrncpy(defaultoptions->programname,name,PETSC_MAX_PATH_LEN);CHKERRQ(ierr);
292 PetscFunctionReturn(0);
293}
294
295/*@
295/*@C
296 PetscOptionsValidKey - PETSc Options database keys must begin with one or two dashes (-) followed by a letter.
297
298 Input Parameter:
299. in_str - string to check if valid
300
301 Output Parameter:
302. key - PETSC_TRUE if a valid key
303

--- 2479 unchanged lines hidden ---
296 PetscOptionsValidKey - PETSc Options database keys must begin with one or two dashes (-) followed by a letter.
297
298 Input Parameter:
299. in_str - string to check if valid
300
301 Output Parameter:
302. key - PETSC_TRUE if a valid key
303

--- 2479 unchanged lines hidden ---