Home
last modified time | relevance | path

Searched refs:coeff (Results 1 – 8 of 8) sorted by relevance

/petsc/src/snes/tutorials/
H A Dex11.c162 coeffType coeff; /* type of conductivity coefficient */ member
175 options->coeff = COEFF_CONSTANT; in ProcessOptions()
184 …ty coefficient", __FILE__, coeffTypes, (PetscEnum)options->coeff, (PetscEnum *)&options->coeff, NU… in ProcessOptions()
196 …comm, " coefficient: %s, order %" PetscInt_FMT "\n", coeffTypes[options->coeff], options->coeffOr… in ProcessOptions()
303 switch (user->coeff) { in SetupProblem()
317 …tComm((PetscObject)dm), PETSC_ERR_SUP, "Unsupported coefficient type %s", coeffTypes[user->coeff]); in SetupProblem()
H A Dex12.c411 PetscInt bc, run, coeff; in ProcessOptions() local
438 coeff = options->variableCoefficient; in ProcessOptions()
439 …le coefficient", "ex12.c", coeffTypes, 8, coeffTypes[options->variableCoefficient], &coeff, NULL)); in ProcessOptions()
440 options->variableCoefficient = (CoeffType)coeff; in ProcessOptions()
/petsc/src/ts/event/tests/
H A Dex3span.c53 PetscErrorCode Fill_mat(PetscReal coeff, PetscInt m, Mat A); // Fills the system matrix (2*2)
283 PetscErrorCode Fill_mat(PetscReal coeff, PetscInt m, Mat A) in Fill_mat() argument
292 vals[1] = coeff; in Fill_mat()
293 vals[2] = -coeff; in Fill_mat()
/petsc/src/dm/impls/stag/tutorials/
H A Dex4.c17 Vec coeff; member
437 if (level_ctx->coeff) PetscCall(VecDestroy(&level_ctx->coeff)); in LevelCtxDestroy()
612 …PetscCall(DMGlobalToLocal(dm_coefficients, ctx->levels[level]->coeff, INSERT_VALUES, coefficients_… in CreateSystem2d()
981 …rInsertInverseViscosityPressureTerms(dm_main, dm_coefficients, ctx->levels[level]->coeff, 1.0, A)); in CreateSystem2d()
1030 …PetscCall(DMGlobalToLocal(dm_coefficients, ctx->levels[level]->coeff, INSERT_VALUES, coeff_local)); in CreateSystem3d()
1836 …rInsertInverseViscosityPressureTerms(dm_main, dm_coefficients, ctx->levels[level]->coeff, 1.0, A)); in CreateSystem3d()
1867 Vec coeff; in PopulateCoefficientData() local
1874 PetscCall(DMCreateGlobalVector(dm_coefficients, &ctx->levels[level]->coeff)); in PopulateCoefficientData()
1875 coeff = ctx->levels[level]->coeff; in PopulateCoefficientData()
1879 PetscCall(DMGlobalToLocal(dm_coefficients, coeff, INSERT_VALUES, coeff_local)); in PopulateCoefficientData()
[all …]
/petsc/src/ksp/ksp/interface/
H A Ditcl.c514 PetscReal coeff = 1.0; in KSPSetFromOptions() local
517 …oefficient of dynamic tolerance for inner PC", "KSPMonitorDynamicTolerance", coeff, &coeff, &flg)); in KSPSetFromOptions()
518 if (flg) PetscCall(KSPMonitorDynamicToleranceSetCoefficient(scale, coeff)); in KSPSetFromOptions()
H A Diterativ.c1128 PetscErrorCode KSPMonitorDynamicToleranceSetCoefficient(PetscCtx ctx, PetscReal coeff) in KSPMonitorDynamicToleranceSetCoefficient() argument
1133 scale->coef = coeff; in KSPMonitorDynamicToleranceSetCoefficient()
/petsc/share/petsc/datafiles/meshes/
H A Dtestcase3D.cas350 (premix/peters-coeff-cs 2.)
351 (premix/peters-coeff-b3 1.)
352 (premix/peters-coeff-b1 2.)
353 (premix/blint-coeff-bl2 0.7)
354 (premix/blint-coeff-bl1 2.)
1826 (dpm/blocking-effect-scale-drag-coeff? #f)
1970 (dpm/dpm-vof/static-pileup/surface/restit-coeff/wallnormal 0.7)
1971 (dpm/dpm-vof/static-pileup/surface/restit-coeff/tangential 0.7)
1986 (dpm/dpm-vof/static-pileup/frict-drag/drag-coeff-max 1e+20)
2006 (dpm/average/heat-coeff-volume? #f)
[all …]
/petsc/src/dm/impls/plex/
H A Dplexgeometry.c2256 PetscReal coeff[18]; in DMPlexComputeTriangularPrismGeometry_Internal() local
2291coeff[dim * 0 + j] = (1. / 4.) * (verts[dim * 1 + j] + verts[dim * 2 + j] + verts[dim * 4 + j] + v… in DMPlexComputeTriangularPrismGeometry_Internal()
2292coeff[dim * 1 + j] = (1. / 4.) * (-verts[dim * 0 + j] + verts[dim * 1 + j] - verts[dim * 3 + j] + … in DMPlexComputeTriangularPrismGeometry_Internal()
2293coeff[dim * 2 + j] = (1. / 4.) * (-verts[dim * 0 + j] + verts[dim * 2 + j] - verts[dim * 3 + j] + … in DMPlexComputeTriangularPrismGeometry_Internal()
2294coeff[dim * 3 + j] = (1. / 4.) * (-verts[dim * 1 + j] - verts[dim * 2 + j] + verts[dim * 4 + j] + … in DMPlexComputeTriangularPrismGeometry_Internal()
2295coeff[dim * 4 + j] = (1. / 4.) * (verts[dim * 0 + j] - verts[dim * 2 + j] - verts[dim * 3 + j] + v… in DMPlexComputeTriangularPrismGeometry_Internal()
2296coeff[dim * 5 + j] = (1. / 4.) * (verts[dim * 0 + j] - verts[dim * 1 + j] - verts[dim * 3 + j] + v… in DMPlexComputeTriangularPrismGeometry_Internal()
2322 for (k = 0; k < Nv; ++k) val += extPoint[k] * coeff[k * dim + c]; in DMPlexComputeTriangularPrismGeometry_Internal()
2352 for (l = 0; l < Nv; l++) val += coeff[dim * l + j] * extJ[dimR * l + k]; in DMPlexComputeTriangularPrismGeometry_Internal()
3631 PetscReal coeff = cellCoeffs[dimC * k + l]; in DMPlexCoordinatesToReference_Tensor() local
[all …]