Home
last modified time | relevance | path

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

/petsc/src/binding/petsc4py/demo/legacy/perftest/
H A Ddriver.c49 PetscErrorCode RunTest(int nx, int ny, int nz, int loops, double *wt) in RunTest() argument
89 *wt = 1e300; in RunTest()
95 *wt = PetscMin(*wt,t2-t1); in RunTest()
114 double wt; in main() local
126 PetscCall(RunTest(nx,ny,nz,samples,&wt)); in main()
127 …Printf(PETSC_COMM_SELF,"Grid %3d x %3d x %3d -> %f seconds (%2d samples)\n",nx,ny,nz,wt,samples)); in main()
H A Ddriver.py100 wt = 1e300
106 wt = min(wt,t2-t1)
111 return wt
127 wt = run_test(nx,ny,nz,samples,plot) variable
129 % (nx,ny,nz,wt,samples))
/petsc/src/mat/graphops/color/interface/
H A Dmatcoloring.c433 PetscErrorCode MatColoringSetWeightType(MatColoring mc, MatColoringWeightType wt) in MatColoringSetWeightType() argument
436 mc->weight_type = wt; in MatColoringSetWeightType()
/petsc/src/dm/impls/swarm/tests/
H A Dex2.c519 const PetscReal wt = quadWeights[q * qNc + qc + fc]; in InterpolateGradient() local
521 …= 0; d < coordDim; ++d) grad[fc * coordDim + d] += interpolant[fc * dim + d] * wt * fegeom.detJ[q]; in InterpolateGradient()
/petsc/src/snes/utils/dm/
H A Ddmadapt.c927 const PetscReal wt = quadWeights[q * qNc + qc + fc]; in DMAdaptorComputeErrorIndicator_Gradient() local
929 field[fc] += interpolant[fc] * wt * fegeom.detJ[q]; in DMAdaptorComputeErrorIndicator_Gradient()
930 …= 0; d < cdim; ++d) gradient[fc * cdim + d] += interpolantGrad[fc * dim + d] * wt * fegeom.detJ[q]; in DMAdaptorComputeErrorIndicator_Gradient()
/petsc/src/dm/impls/plex/
H A Dplexfem.c1562 const PetscReal wt = quadWeights[q * qNc + (qNc == 1 ? 0 : qc + fc)]; in DMPlexComputeL2DiffLocal() local
1565 …(double)(PetscSqr(PetscRealPart(interpolant[fc] - funcVal[fc])) * wt * fegeom.detJ[q]), (double)Pe… in DMPlexComputeL2DiffLocal()
1566 elemDiff += PetscSqr(PetscRealPart(interpolant[fc] - funcVal[fc])) * wt * fegeom.detJ[q]; in DMPlexComputeL2DiffLocal()
1678 const PetscReal wt = quadWeights[q * qNc + (qNc == 1 ? 0 : qc + fc)]; in DMComputeL2GradientDiff_Plex() local
1679 …ield, fc, (double)(PetscSqr(PetscRealPart(interpolant[fc] - funcVal[fc])) * wt * fegeom.detJ[q]))); in DMComputeL2GradientDiff_Plex()
1680 elemDiff += PetscSqr(PetscRealPart(interpolant[fc] - funcVal[fc])) * wt * fegeom.detJ[q]; in DMComputeL2GradientDiff_Plex()
1826 const PetscReal wt = quadWeights[q * qNc + (qNc == 1 ? 0 : qc + fc)]; in DMComputeL2FieldDiff_Plex() local
1829 … (double)(PetscSqr(PetscRealPart(interpolant[fc] - funcVal[fc])) * wt * fegeom.detJ[q]))); in DMComputeL2FieldDiff_Plex()
1830 … elemDiff += PetscSqr(PetscRealPart(interpolant[fc] - funcVal[fc])) * wt * fegeom.detJ[q]; in DMComputeL2FieldDiff_Plex()
1962 const PetscReal wt = quadWeights[q * qNc + (qNc == 1 ? 0 : qc + fc)]; in DMPlexComputeL2DiffVec() local
[all …]
/petsc/src/ts/tutorials/hamiltonian/
H A Dex3.c828 PetscReal *wt, *pt; in CreateMesh() local
837 PetscCall(PetscMalloc1(1, &wt)); in CreateMesh()
839 wt[0] = 1.; in CreateMesh()
841 PetscCall(PetscQuadratureSetData(quad, cdim, 1, 1, pt, wt)); in CreateMesh()
H A Dex2.c919 PetscReal *wt, *pt; in CreateMesh() local
928 PetscCall(PetscMalloc1(1, &wt)); in CreateMesh()
930 wt[0] = 1.; in CreateMesh()
933 PetscCall(PetscQuadratureSetData(quad, cdim, 1, 1, pt, wt)); in CreateMesh()
H A Dex4.c1427 PetscReal *wt, *pt; in CreateMesh() local
1444 PetscCall(PetscMalloc1(1, &wt)); in CreateMesh()
1446 wt[0] = 1.; in CreateMesh()
1449 PetscCall(PetscQuadratureSetData(quad, cdim, 1, 1, pt, wt)); in CreateMesh()
/petsc/share/petsc/datafiles/meshes/
H A Dtestcase3D.cas4364 (vof/surf-tens/adh-force/rho-wt? #t)
5205 (species/clustering-yc-wt ())
7437 (partition/laplace/use-cell-wt? #f)
7438 (partition/laplace/use-multi-wt? #t)
/petsc/doc/
H A Dpetsc.bib23930 email = {rfk@wt.arl.psu.edu}