Home
last modified time | relevance | path

Searched refs:bl (Results 1 – 11 of 11) sorted by relevance

/petsc/src/dm/impls/plex/transform/impls/refine/bl/
H A Dplexrefbl.c16 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 Dpetscstring.h678 const PETSC_UINTPTR_T bl = (PETSC_UINTPTR_T)b; in PetscMemcpy() local
684bl) && (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 DPFReadData.c75 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 Dpower.h34 PetscScalar bl; /* Reactive component of shunt admittance to ground */ member
H A Dpffunctions.c90 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 Dpower2.c56 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 Dnasm.c623 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 Dsortso.c36 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 Dex1.c41 Vec ce, ci, bl, bu, Xseq; member
/petsc/src/mat/impls/nest/
H A Dmatnest.c757 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 Dtestcase3D.cas2153 (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 …]