| /petsc/src/sys/objects/ |
| H A D | olist.c | 29 PetscErrorCode PetscObjectListRemoveReference(PetscObjectList *fl, const char name[]) in PetscObjectListRemoveReference() argument 35 PetscAssertPointer(fl, 1); in PetscObjectListRemoveReference() 37 nlist = *fl; in PetscObjectListRemoveReference() 69 PetscErrorCode PetscObjectListAdd(PetscObjectList *fl, const char name[], PetscObject obj) in PetscObjectListAdd() argument 75 PetscAssertPointer(fl, 1); in PetscObjectListAdd() 77 nlist = *fl; in PetscObjectListAdd() 84 else if (nlist->next) *fl = nlist->next; in PetscObjectListAdd() 85 else *fl = NULL; in PetscObjectListAdd() 96 nlist = *fl; in PetscObjectListAdd() 117 if (!*fl) *fl = olist; in PetscObjectListAdd() [all …]
|
| /petsc/src/sys/tests/ |
| H A D | ex65.c | 30 static PetscErrorCode TestPetscFunctionListCreate(PetscViewer viewer, PetscFunctionList *fl, PetscF… in TestPetscFunctionListCreate() argument 34 PetscCall(PetscFunctionListAdd(fl, foo_str, foo)); in TestPetscFunctionListCreate() 35 PetscCall(PetscFunctionListView(*fl, NULL)); in TestPetscFunctionListCreate() 37 PetscCall(PetscFunctionListAdd(fl, foo_str, NULL)); in TestPetscFunctionListCreate() 38 PetscCheck(*fl, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Emptying PetscFunctionList has destroyed it!"); in TestPetscFunctionListCreate() 39 PetscCall(PetscFunctionListView(*fl, NULL)); in TestPetscFunctionListCreate() 41 PetscCall(PetscFunctionListClear(*fl)); in TestPetscFunctionListCreate() 42 PetscCall(PetscFunctionListView(*fl, viewer)); in TestPetscFunctionListCreate() 43 PetscCall(PetscFunctionListDuplicate(*fl, fl_dup)); in TestPetscFunctionListCreate() 46 PetscCall(PetscFunctionListView(*fl, viewer)); in TestPetscFunctionListCreate() [all …]
|
| /petsc/src/dm/interface/ |
| H A D | dmgenerate.c | 116 DMGeneratorFunctionList fl = DMGenerateList; in DMGenerateRegister() local 117 while (fl->next) fl = fl->next; in DMGenerateRegister() 118 fl->next = entry; in DMGenerateRegister() 125 DMGeneratorFunctionList next, fl; in DMGenerateRegisterDestroy() local 128 next = fl = DMGenerateList; in DMGenerateRegisterDestroy() 130 next = fl ? fl->next : NULL; in DMGenerateRegisterDestroy() 131 if (fl) PetscCall(PetscFree(fl->name)); in DMGenerateRegisterDestroy() 132 PetscCall(PetscFree(fl)); in DMGenerateRegisterDestroy() 133 fl = next; in DMGenerateRegisterDestroy() 160 DMGeneratorFunctionList fl; in DMAdaptLabel() local [all …]
|
| /petsc/src/sys/dll/ |
| H A D | reg.c | 196 static PetscErrorCode PetscFunctionListDLAllPush_Private(PetscFunctionList fl) in PetscFunctionListDLAllPush_Private() argument 203 head->data = fl; in PetscFunctionListDLAllPush_Private() 210 static PetscErrorCode PetscFunctionListDLAllPop_Private(PetscFunctionList fl) in PetscFunctionListDLAllPop_Private() argument 220 if (current->data == fl) { in PetscFunctionListDLAllPop_Private() 266 static PetscErrorCode PetscFunctionListCreate_Private(PetscInt size, PetscFunctionList *fl) in PetscFunctionListCreate_Private() argument 269 if (*fl) PetscFunctionReturn(PETSC_SUCCESS); in PetscFunctionListCreate_Private() 270 PetscCall(PetscNew(fl)); in PetscFunctionListCreate_Private() 271 PetscCall(PetscHMapFuncCreateWithSize(size, &(*fl)->map)); in PetscFunctionListCreate_Private() 272 PetscCall(PetscFunctionListDLAllPush_Private(*fl)); in PetscFunctionListCreate_Private() 304 PetscErrorCode PetscFunctionListAdd_Private(PetscFunctionList *fl, const char name[], PetscErrorCod… in PetscFunctionListAdd_Private() argument [all …]
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexgenerate.c | 163 DMGeneratorFunctionList fl; in DMPlexGenerate() local 180 fl = DMGenerateList; in DMPlexGenerate() 182 while (fl) { in DMPlexGenerate() 183 PetscCall(PetscStrcmp(fl->name, name, &flg)); in DMPlexGenerate() 185 PetscCall((*fl->generate)(boundary, interpolate, mesh)); in DMPlexGenerate() 188 fl = fl->next; in DMPlexGenerate() 192 while (fl) { in DMPlexGenerate() 193 if (boundary->dim == fl->dim) { in DMPlexGenerate() 194 PetscCall((*fl->generate)(boundary, interpolate, mesh)); in DMPlexGenerate() 197 fl = fl->next; in DMPlexGenerate()
|
| H A D | plexadapt.c | 166 DMGeneratorFunctionList fl; in DMPlexRefine_Internal() local 190 fl = DMGenerateList; in DMPlexRefine_Internal() 192 while (fl) { in DMPlexRefine_Internal() 193 PetscCall(PetscStrcmp(fl->name, name, &flg)); in DMPlexRefine_Internal() 195 refine = fl->refine; in DMPlexRefine_Internal() 196 adapt = fl->adapt; in DMPlexRefine_Internal() 199 fl = fl->next; in DMPlexRefine_Internal() 203 while (fl) { in DMPlexRefine_Internal() 204 if (fl->dim < 0 || dim - 1 == fl->dim) { in DMPlexRefine_Internal() 205 refine = fl->refine; in DMPlexRefine_Internal() [all …]
|
| /petsc/lib/petsc/bin/ |
| H A D | getAPI.py | 237 fl = reginclude.search(line) 238 if fl and not line.find('deprecated') > -1: 261 fl = regtypedef.search(line) 262 if fl: 265 fl = reg.search(line) 266 if fl: 303 fl = regdefine.search(line) 304 if fl: 305 senum = fl.group(0)[20:-1] 326 fl = regdefine.search(line) [all …]
|
| /petsc/src/snes/tutorials/ |
| H A D | ex74fcomd.h | 5 eigvec, rinv, roestt, fl, fr, deltau, alpha, xnumdif, 28 …eigvec(neq, neq), rinv(neq, neq), roestt(neq), fl(neq), fr(neq), deltau(neq), alpha(neq), xnumdif(…
|
| /petsc/doc/developers/ |
| H A D | objects.md | 313 int PetscObjectListAdd(PetscObjectList *fl,const char *name,PetscObject obj); 314 int PetscObjectListDestroy(PetscObjectList *fl); 315 int PetscObjectListFind(PetscObjectList fl,const char *name,PetscObject *obj) 316 int PetscObjectListDuplicate(PetscObjectList fl,PetscObjectList *nl); 320 PetscObjectList if the argument `fl` points to a NULL.
|
| /petsc/src/ksp/ksp/tests/output/ |
| H A D | ex32_cholmod.out | 45 Common.fl 485069. (flop count from most recent analysis)
|
| H A D | ex32_cholmod_sbaij.out | 45 Common.fl 485069. (flop count from most recent analysis)
|
| /petsc/src/ts/tutorials/ |
| H A D | ex9.c | 883 PetscScalar fr, fl, dfr, dfl; in PhysicsRiemann_IsoGas_Exact() local 884 fl = (L.rho < rho) ? (rho - L.rho) / PetscSqrtScalar(L.rho * rho) /* shock */ in PhysicsRiemann_IsoGas_Exact() 888 res = R.u - L.u + c * (fr + fl); in PhysicsRiemann_IsoGas_Exact() 892 star.u = L.u - c * fl; in PhysicsRiemann_IsoGas_Exact() 1032 PetscScalar fr, fl, dfr, dfl; in PhysicsRiemann_Shallow_Exact() local 1033 … fl = (L.h < h) ? PetscSqrtScalar(0.5 * g * (h * h - L.h * L.h) * (1 / L.h - 1 / h)) /* shock */ in PhysicsRiemann_Shallow_Exact() 1037 res = R.u - L.u + fr + fl; in PhysicsRiemann_Shallow_Exact() 1041 star.u = L.u - fl; in PhysicsRiemann_Shallow_Exact() 1050 …dfl = (L.h < h) ? 0.5 / fl * 0.5 * g * (-L.h * L.h / (h * h) - 1 + 2 * h / L.h) : PetscSqrtScalar… in PhysicsRiemann_Shallow_Exact()
|
| /petsc/src/mat/impls/sbaij/seq/cholmod/ |
| H A D | sbaijcholmod.c | 331 … fl %g, prune_dense %g, prune_dense2 %g\n", c->method[i].lnz, c->method[i].fl, c->method[i].prune_… in MatView_Info_CHOLMOD() 336 …SCIIPrintf(viewer, "Common.fl %g (flop count from most recent analysis)\n", c->fl)); in MatView_Info_CHOLMOD() 423 PetscCall(PetscLogFlops(chol->common->fl)); in MatCholeskyFactorNumeric_CHOLMOD()
|
| /petsc/lib/petsc/bin/maint/ |
| H A D | toclapack.sh | 1835 /* fl( a + 1.0 ) = a. */ 1854 /* fl( a + b ) .gt. a. */ 1917 /* fl( beta**t + 1.0 ) = 1.0. */ 2030 /* fl( 1.0 - EPS ) .LT. 1.0, */ 2032 /* where fl denotes the computed value. */ 3826 /* fl( a + 1.0 ) = a. */ 3845 /* fl( a + b ) .gt. a. */ 3908 /* fl( beta**t + 1.0 ) = 1.0. */ 4021 /* fl( 1.0 - EPS ) .LT. 1.0, */ 4023 /* where fl denotes the computed value. */
|
| /petsc/src/ts/tutorials/multirate/ |
| H A D | ex4.c | 179 PetscScalar fr, fl, dfr, dfl; in PhysicsRiemann_Shallow_Exact() local 180 … fl = (L.h < h) ? PetscSqrtScalar(0.5 * g * (h * h - L.h * L.h) * (1 / L.h - 1 / h)) /* shock */ in PhysicsRiemann_Shallow_Exact() 184 res = R.u - L.u + fr + fl; in PhysicsRiemann_Shallow_Exact() 188 star.u = L.u - fl; in PhysicsRiemann_Shallow_Exact() 197 …dfl = (L.h < h) ? 0.5 / fl * 0.5 * g * (-L.h * L.h / (h * h) - 1 + 2 * h / L.h) : PetscSqrtScalar… in PhysicsRiemann_Shallow_Exact()
|
| /petsc/src/mat/impls/dense/seq/ |
| H A D | dense.c | 316 static PetscErrorCode MatIsHermitian_SeqDense(Mat A, PetscReal rtol, PetscBool *fl) in MatIsHermitian_SeqDense() argument 323 *fl = PETSC_FALSE; in MatIsHermitian_SeqDense() 331 *fl = PETSC_TRUE; in MatIsHermitian_SeqDense() 337 static PetscErrorCode MatIsSymmetric_SeqDense(Mat A, PetscReal rtol, PetscBool *fl) in MatIsSymmetric_SeqDense() argument 344 *fl = PETSC_FALSE; in MatIsSymmetric_SeqDense() 352 *fl = PETSC_TRUE; in MatIsSymmetric_SeqDense()
|
| /petsc/share/petsc/datafiles/meshes/ |
| H A D | testcase3D.cas | 2998 (premixc/fgm-tfm-fl-thick-udm-id 4) 2999 (premixc/fgm-tfm-fl-thick 0.0001) 3000 (premixc/fgm-tfm-fl-thick-user 0) 3144 (pdf/multi-fgm-fl-index-id -1) 3236 (prepdf/user-fl-pdf-fsto 0.) 3237 (prepdf/user-fl-pdf-grids? (#f #f #f #f #f #f #f #f)) 3243 (prepdf/user-fl-h-pts ()) 3244 (prepdf/user-fl-c-pts ()) 3245 (prepdf/user-fl-f-pts ()) 3267 (prepdf/ud-fl-params? #f) [all …]
|