Home
last modified time | relevance | path

Searched refs:hm (Results 1 – 3 of 3) sorted by relevance

/petsc/src/ts/tutorials/multirate/
H A Dex8.c128 PetscReal hs, hm, hf; in FVSample_3WaySplit() local
138 hm = (ctx->xmax - ctx->xmin) / 4.0 / (ctx->mf - ctx->sm); in FVSample_3WaySplit()
151 xi = ctx->xmin + ctx->sm * hs + 0.5 * hm + (i - ctx->sm) * hm; in FVSample_3WaySplit()
155 xj = xi + hm * (j - N / 2) / (PetscReal)N; in FVSample_3WaySplit()
160 xi = ctx->xmin + ctx->sm * hs + (ctx->mf - ctx->sm) * hm + 0.5 * hf + (i - ctx->mf) * hf; in FVSample_3WaySplit()
169 …->xmin + ctx->sm * hs + (ctx->mf - ctx->sm) * hm + (ctx->fm - ctx->mf) * hf + 0.5 * hm + (i - ctx-… in FVSample_3WaySplit()
173 xj = xi + hm * (j - N / 2) / (PetscReal)N; in FVSample_3WaySplit()
178 …tx->xmin + ctx->sm * hs + (ctx->mf - ctx->sm) * hm + (ctx->fm - ctx->mf) * hf + (ctx->ms - ctx->fm… in FVSample_3WaySplit()
198 PetscReal hs, hm, hf; in SolutionErrorNorms_3WaySplit() local
203 hm = (ctx->xmax - ctx->xmin) / 4.0 / (ctx->mf - ctx->sm); in SolutionErrorNorms_3WaySplit()
[all …]
/petsc/src/ksp/pc/impls/hypre/
H A Dhypre.c428 Mat_HYPRE *hm; in PCSetUp_HYPRE() local
450 hm = (Mat_HYPRE *)jac->G->data; in PCSetUp_HYPRE()
451 PetscCallHYPRE(HYPRE_IJMatrixGetObject(hm->ij, (void **)(&parcsr))); in PCSetUp_HYPRE()
454 hm = (Mat_HYPRE *)jac->alpha_Poisson->data; in PCSetUp_HYPRE()
455 PetscCallHYPRE(HYPRE_IJMatrixGetObject(hm->ij, (void **)(&parcsr))); in PCSetUp_HYPRE()
461 hm = (Mat_HYPRE *)jac->beta_Poisson->data; in PCSetUp_HYPRE()
462 PetscCallHYPRE(HYPRE_IJMatrixGetObject(hm->ij, (void **)(&parcsr))); in PCSetUp_HYPRE()
477 hm = (Mat_HYPRE *)jac->ND_PiFull->data; in PCSetUp_HYPRE()
478 PetscCallHYPRE(HYPRE_IJMatrixGetObject(hm->ij, (void **)(&nd_parcsrfull))); in PCSetUp_HYPRE()
484 hm = (Mat_HYPRE *)jac->ND_Pi[i]->data; in PCSetUp_HYPRE()
[all …]
/petsc/src/ts/impls/implicit/glle/
H A Dglle.c358 …TSGLLEEstimateHigherMoments_Default(TSGLLEScheme sc, PetscReal h, Vec Ydot[], Vec Xold[], Vec hm[]) in TSGLLEEstimateHigherMoments_Default() argument
369 PetscCall(VecZeroEntries(hm[i])); in TSGLLEEstimateHigherMoments_Default()
370 PetscCall(VecMAXPY(hm[i], sc->s, phih, Ydot)); in TSGLLEEstimateHigherMoments_Default()
371 PetscCall(VecMAXPY(hm[i], sc->r, &sc->psi[i * sc->r], Xold)); in TSGLLEEstimateHigherMoments_Default()