| /petsc/src/dm/impls/plex/transform/impls/refine/bl/ |
| H A D | plexrefbl.c | 16 DMPlexRefine_BL *bl = (DMPlexRefine_BL *)tr->data; in DMPlexTransformSetUp_BL() local 17 const PetscInt n = bl->n; in DMPlexTransformSetUp_BL() 84 PetscCall(PetscMalloc1(n, &bl->h)); in DMPlexTransformSetUp_BL() 85 if (bl->r > 1.) { in DMPlexTransformSetUp_BL() 90 PetscReal d = (bl->r - 1.) / (PetscPowRealInt(bl->r, n + 1) - 1.); in DMPlexTransformSetUp_BL() 92 bl->h[0] = d; in DMPlexTransformSetUp_BL() 94 d *= bl->r; in DMPlexTransformSetUp_BL() 95 bl->h[i] = bl->h[i - 1] + d; in DMPlexTransformSetUp_BL() 99 for (i = 0; i < n; ++i) bl->h[i] = (i + 1.) / (n + 1); in DMPlexTransformSetUp_BL() 102 …_NUM_POLYTOPES, &bl->Nt, DM_NUM_POLYTOPES, &bl->target, DM_NUM_POLYTOPES, &bl->size, DM_NUM_POLYTO… in DMPlexTransformSetUp_BL() [all …]
|
| /petsc/include/ |
| H A D | petscstring.h | 678 const PETSC_UINTPTR_T bl = (PETSC_UINTPTR_T)b; in PetscMemcpy() local 684 …bl) && (al - bl) < n) || (bl - al) < n), PETSC_COMM_SELF, PETSC_ERR_ARG_INCOMP, "Memory regions ov… in PetscMemcpy()
|
| /petsc/src/snes/tutorials/network/power/ |
| H A D | PFReadData.c | 75 double gl, bl, vm, va, basekV; in PFReadMatPowerData() local 78 …sscanf(line, "%d %d %lf %lf %lf %lf %d %lf %lf %lf", &bus_i, &ide, &Pd, &Qd, &gl, &bl, &area, &vm,… in PFReadMatPowerData() 83 Bus[busi].bl = bl; in PFReadMatPowerData()
|
| H A D | power.h | 34 PetscScalar bl; /* Reactive component of shunt admittance to ground */ member
|
| H A D | pffunctions.c | 90 values[3] = -2.0 * Vm * bus->bl / Sbase; in FormJacobian_Power_private() 283 if (bus->ide != PV_BUS) farr[offset + 1] += -Vm * Vm * bus->bl / Sbase; in FormFunction_Power()
|
| H A D | power2.c | 56 if (bus->ide != PV_BUS) farr[offset + 1] += -Vm * Vm * bus->bl / Sbase; in FormFunction_Subnet() 218 values[3] = -2.0 * Vm * bus->bl / Sbase; in FormJacobian_Subnet()
|
| /petsc/src/snes/impls/nasm/ |
| H A D | nasm.c | 623 PetscErrorCode (*bl)(DM, Vec, void *); in SNESNASMSolveLocal_Private() local 643 PetscCall(DMSNESGetBoundaryLocal(subdm, &bl, &bctx)); in SNESNASMSolveLocal_Private() 644 if (bl) PetscCall((*bl)(subdm, Xlloc, bctx)); in SNESNASMSolveLocal_Private()
|
| /petsc/src/sys/utils/ |
| H A D | sortso.c | 36 static inline void COPYSWAPPY2(char *al, char *ar, size_t asize, char *bl, char *br, size_t bsize, … in COPYSWAPPY2() argument 42 __builtin_memmove(br, bl, bsize); in COPYSWAPPY2() 43 __builtin_memcpy(bl, t, bsize); in COPYSWAPPY2() 82 static inline void COPYSWAPPY2(char *al, char *ar, size_t asize, char *bl, char *br, size_t bsize, … in COPYSWAPPY2() argument 89 PetscCallAbort(PETSC_COMM_SELF, PetscMemmove(br, bl, bsize)); in COPYSWAPPY2() 90 PetscCallAbort(PETSC_COMM_SELF, PetscMemcpy(bl, t, bsize)); in COPYSWAPPY2()
|
| /petsc/src/tao/constrained/tutorials/ |
| H A D | ex1.c | 41 Vec ce, ci, bl, bu, Xseq; member
|
| /petsc/src/mat/impls/nest/ |
| H A D | matnest.c | 757 Vec bl, *br; in MatDiagonalScale_Nest() local 765 bl = NULL; in MatDiagonalScale_Nest() 767 if (l) PetscCall(VecGetSubVector(l, bA->isglobal.row[i], &bl)); in MatDiagonalScale_Nest() 769 if (bA->m[i][j]) PetscCall(MatDiagonalScale(bA->m[i][j], bl, br[j])); in MatDiagonalScale_Nest() 771 if (l) PetscCall(VecRestoreSubVector(l, bA->isglobal.row[i], &bl)); in MatDiagonalScale_Nest()
|
| /petsc/share/petsc/datafiles/meshes/ |
| H A D | testcase3D.cas | 2153 (dpm/htc/bl-factor 0.1) 2154 (dpm/htc/model-film-below-bl 4) 2157 (dpm/htc/film-bl-turbulent-model-wall? #t) 2158 (dpm/htc/film-bl-model-wall? #f) 4793 (species/bl-coeffs (0 0)) 6806 (dynamesh/remesh/mmc/bl-min-ortho 0.1) 6817 (dynamesh/remesh/rdc/max-bl-tot-height 1.5) 6818 (dynamesh/remesh/rdc/min-bl-tot-height 0.5) 6819 (dynamesh/remesh/rdc/max-bl-height 1.2) 6820 (dynamesh/remesh/rdc/min-bl-height 0.8) [all …]
|