Home
last modified time | relevance | path

Searched refs:cf (Results 1 – 21 of 21) sorted by relevance

/petsc/src/dm/field/impls/da/
H A Ddmfieldda.c67 #define MEHess(out, cf, etaB, etaD, dim, nc, cast) \ argument
75 PetscScalar c = (cf)[_m] * (etaB)[_ind] * (etaD)[_ind]; \
83 …aluate(PetscInt dim, PetscReal (*coordRange)[2], PetscInt nc, PetscScalar *cf, PetscScalar *cfWork… in MultilinearEvaluate() argument
120 MEdot(out, cf, etaB, (1 << dim), nc, (PetscScalar)); in MultilinearEvaluate()
124 MEdot(out, cf, etaB, (1 << dim), nc, PetscRealPart); in MultilinearEvaluate()
140 for (k = 0; k < whol * nc; k++) cfWork[k] = cf[k]; in MultilinearEvaluate()
149 cf[k * nc + l] = cfWork[2 * k * nc + l]; in MultilinearEvaluate()
150 cf[(k + half) * nc + l] = cfWork[(2 * k + 1) * nc + l]; in MultilinearEvaluate()
155 for (l = 0; l < nc; l++) out[l * dim + j] += d * e * cf[k * nc + l]; in MultilinearEvaluate()
159 for (l = 0; l < nc; l++) out[l * dim + j] += d * e * PetscRealPart(cf[k * nc + l]); in MultilinearEvaluate()
[all …]
/petsc/src/ksp/ksp/impls/tfqmr/
H A Dtfqmr.c14 PetscScalar rho, rhoold, a, s, b, eta, etaold, psiold, cf; in KSPSolve_TFQMR() local
84 cf = psiold * psiold * etaold / a; in KSPSolve_TFQMR()
86 PetscCall(VecAYPX(D, cf, U)); in KSPSolve_TFQMR()
88 PetscCall(VecAYPX(D, cf, Q)); in KSPSolve_TFQMR()
/petsc/config/
H A Dreport_tests.py111 for cf in timesummary:
112 if timesummary[cf] == timelimit:
113 …int("# %s: %.2f sec / %.2f sec" % (re.sub('.counts','',cf), timesummary[cf], cputimesummary[cf]))
/petsc/src/ts/impls/multirate/
H A Dmprk.c34 PetscReal *Af, *bf, *cf; /* Tableau for fast components */ member
389 PetscCall(PetscFree3(t->Af, t->bf, t->cf)); in TSMPRKRegisterDestroy()
464 …Real cmb[], const PetscInt rmb[], const PetscReal Af[], const PetscReal bf[], const PetscReal cf[]) in TSMPRKRegister() argument
482 if (cf) PetscAssertPointer(cf, 16); in TSMPRKRegister()
494 PetscCall(PetscMalloc3(s * s, &t->Af, s, &t->bf, s, &t->cf)); in TSMPRKRegister()
500 if (cf) { in TSMPRKRegister()
501 PetscCall(PetscArraycpy(t->cf, cf, s)); in TSMPRKRegister()
504 for (j = 0, t->cf[i] = 0; j < s; j++) t->cf[i] += Af[i * s + j]; in TSMPRKRegister()
648 const PetscReal *Af = tab->Af, *cf = tab->cf, *Asb = tab->Asb, *csb = tab->csb; in TSStep_MPRK() local
655 mprk->stage_time = t + h * cf[i]; in TSStep_MPRK()
[all …]
/petsc/src/dm/impls/plex/
H A Dplexinterpolate.c550 for (PetscInt cf = 0; cf < numFaces; foff += faceSizes[cf], ++cf) { in DMPlexInterpolateFaces_Internal() local
551 const PetscInt faceSize = faceSizes[cf]; in DMPlexInterpolateFaces_Internal()
552 const DMPolytopeType faceType = faceTypes[cf]; in DMPlexInterpolateFaces_Internal()
600 for (PetscInt cf = 0; cf < numFaces; foff += faceSizes[cf], ++cf) { in DMPlexInterpolateFaces_Internal() local
601 const PetscInt faceSize = faceSizes[cf]; in DMPlexInterpolateFaces_Internal()
602 const DMPolytopeType faceType = faceTypes[cf]; in DMPlexInterpolateFaces_Internal()
673 for (PetscInt cf = 0; cf < numFaces; ++cf) { in DMPlexInterpolateFaces_Internal() local
675 DMPolytopeType faceType = faceTypes[cf]; in DMPlexInterpolateFaces_Internal()
676 const PetscInt faceSize = faceSizes[cf]; in DMPlexInterpolateFaces_Internal()
741 for (PetscInt cf = 0; cf < numFaces; foff += faceSizes[cf], ++cf) { in DMPlexInterpolateFaces_Internal() local
[all …]
H A Dplexgeometry.c4027 const PetscInt cf = (PetscInt)PetscRealPart(constants[0]); in coordMap_flare() local
4030 for (c = 0; c < Nc; ++c) coords[c] = u[c] * (c == cf ? 1.0 : constants[c + 1] * u[cf]); in coordMap_flare()
4124 DMField cf; in DMPlexRemapGeometry() local
4162 PetscCall(DMGetCoordinateField(dm, &cf)); in DMPlexRemapGeometry()
4163 cdm->coordinates[0].field = cf; in DMPlexRemapGeometry()
/petsc/lib/petsc/bin/
H A Dpetsc_gen_xdmf.py224 … for cf in cfields: self.writeField(fp, numSteps, t, spaceDim, '/cell_fields/'+cf[0], cf, 'Cell')
/petsc/include/petsc/private/
H A Dmatisimpl.h38 IS *rf, *cf; member
/petsc/src/ksp/ksp/impls/bcgs/qmrcgs/
H A Dqmrcgs.c18 PetscScalar eta, rho1, rho2, alpha, eta2, omega, beta, cf, cf1, uu; in KSPSolve_QMRCGS() local
117 cf = eta * theta * theta / alpha; in KSPSolve_QMRCGS()
118 PetscCall(VecWAXPY(D2, cf, D, PH)); /* d2 <- ph + cf d */ in KSPSolve_QMRCGS()
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DDS.pyx278 cdef PetscInt cf = asInt(f)
280 CHKERR(PetscDSSetDiscretization(self.ds, cf, <PetscObject> fe.fe))
H A DDMSwarm.pyx1243 cdef const char **cf = NULL
1244 CHKERR(DMSwarmCellDMGetCoordinateFields(self.cdm, &ncf, &cf))
1247 fields.append(bytes2str(cf[i]))
H A DTAO.pyx1419 cdef PetscReal cf = 0.0
1423 CHKERR(TaoGetSolutionStatus(self.tao, &cits, &cf, &cres, &ccnorm, &cstep, NULL))
1427 cf = asReal(f)
1434 CHKERR(TaoMonitor(self.tao, cits, cf, cres, ccnorm, cstep))
/petsc/src/dm/impls/da/
H A Dgrglvis.c126 PetscInt cf, b; in DMDASampleGLVisFields_Private() local
128 for (f = 0, cf = 0; f < nf; f++) { in DMDASampleGLVisFields_Private()
130 for (b = 0; b < bss[f]; b++) arrayf[f][bss[f] * ii + b] = array[i * bs + cf++]; in DMDASampleGLVisFields_Private()
/petsc/doc/changes/
H A D312.md156 - Added new preconditioner PCHPDDM, cf.
170 - Added new Krylov solver KSPHPDDM, cf.
/petsc/src/dm/interface/
H A Ddmcoordinates.c1181 DMField cf; in DMSetCoordinateDisc() local
1182 PetscCall(DMGetCoordinateField(dm, &cf)); in DMSetCoordinateDisc()
1183 cdmNew->coordinates[0].field = cf; in DMSetCoordinateDisc()
/petsc/src/ksp/pc/impls/bjacobi/bjkokkos/
H A Dbjkokkos.kokkos.cxx95 PetscScalar *ptr = work_space_shared, rho, rhoold, a, s, b, eta, etaold, psiold, cf, dpi; in BJSolve_TFQMR() local
237 cf = psiold * psiold * etaold / a; in BJSolve_TFQMR()
240 …parallel_for(Kokkos::TeamVectorRange(team, Nblk), [=](int idx) { D[idx] = U[idx] + cf * D[idx]; }); in BJSolve_TFQMR()
243 …parallel_for(Kokkos::TeamVectorRange(team, Nblk), [=](int idx) { D[idx] = Q[idx] + cf * D[idx]; }); in BJSolve_TFQMR()
/petsc/src/ksp/pc/impls/gamg/
H A Dclassical.c803 PetscInt f, s, n, cf, cs, i, idx; in PCGAMGOptProlongator_Classical_Jacobi() local
821 PetscCall(MatGetOwnershipRangeColumn(*P, &cs, &cf)); in PCGAMGOptProlongator_Classical_Jacobi()
/petsc/
H A Dmakefile505 tar --bzip2 -cf $${tar_file} -C $${petsc_arch_dir} ./$${output_file_base_name} &&\
/petsc/doc/manual/
H A Dperformance.md59 processes per socket (8 total), cf. {numref}`fig_stream_intel`.
107 a high-speed fabric, cf. {numref}`fig_numa`, to enable data
/petsc/src/mat/impls/is/
H A Dmatis.c303 for (i = 0; i < lf->nc; i++) PetscCall(ISDestroy(&lf->cf[i])); in MatISContainerDestroyFields_Private()
304 PetscCall(PetscFree2(lf->rf, lf->cf)); in MatISContainerDestroyFields_Private()
1125 PetscCall(PetscMalloc2(nr, &lf->rf, nc, &lf->cf)); in MatConvert_Nest_IS()
1138 PetscCall(ISCreateStride(comm, n, st, 1, &lf->cf[i])); in MatConvert_Nest_IS()
/petsc/share/petsc/datafiles/meshes/
H A Dtestcase3D.cas915 (soot/one-cf 1.5)