Searched refs:svalue (Results 1 – 5 of 5) sorted by relevance
| /petsc/src/sys/tutorials/ |
| H A D | ex5f90.F90 | 43 PetscScalar svalue 71 svalue = 103.20 72 PetscCallA(PetscBagRegisterScalar(bag, data%x, svalue, 'x', 'x variable help message', ierr))
|
| H A D | ex9f.F90 | 23 PetscScalar :: svalue, sdefault = -4.56_Pr 80 …etscOptionsScalar('-scalar', 'Get an application scalar', 'Man page', sdefault, svalue, flg, ierr)) 82 write (IOBuffer, '("The scalar value was set to ",ES12.5,"\n")') svalue
|
| /petsc/src/sys/tests/ |
| H A D | ex15.cxx | 44 PetscScalar svalue; in main() local 96 svalue = 0.0; in main() 176 (void)svalue; in main()
|
| /petsc/src/sys/objects/ |
| H A D | options.c | 2519 char *svalue; in PetscOptionsGetEList() local 2531 PetscCall(PetscMalloc1(len, &svalue)); in PetscOptionsGetEList() 2532 PetscCall(PetscOptionsGetString(options, pre, opt, svalue, len, &aset)); in PetscOptionsGetEList() 2534 PetscCall(PetscEListFind(ntext, list, svalue, value, &flg)); in PetscOptionsGetEList() 2545 …ETSC_ERR_USER, "Unknown option \"%s\" for -%s%s. Available options: %s", svalue, pre ? pre : "", o… in PetscOptionsGetEList() 2549 PetscCall(PetscFree(svalue)); in PetscOptionsGetEList() 2900 const char *svalue; in PetscOptionsGetBoolArray() local 2911 PetscCall(PetscOptionsFindPair(options, pre, name, &svalue, &flag)); in PetscOptionsGetBoolArray() 2912 if (!flag || !svalue) { in PetscOptionsGetBoolArray() 2918 PetscCall(PetscTokenCreate(svalue, ',', &token)); in PetscOptionsGetBoolArray() [all …]
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | DMPlex.pyx | 1010 def getDepthStratum(self, svalue: int) -> tuple[int, int]: 1017 svalue 1033 cdef PetscInt csvalue = asInt(svalue), sStart = 0, sEnd = 0 1037 def getHeightStratum(self, svalue: int) -> tuple[int, int]: 1044 svalue 1060 cdef PetscInt csvalue = asInt(svalue), sStart = 0, sEnd = 0
|