Home
last modified time | relevance | path

Searched refs:interptype (Results 1 – 6 of 6) sorted by relevance

/petsc/src/dm/impls/da/
H A Dda.c648 dd->interptype = ctype; in DMDASetInterpolationType()
676 *ctype = dd->interptype; in DMDAGetInterpolationType()
1026 if (dd->bx == DM_BOUNDARY_PERIODIC || dd->interptype == DMDA_Q0) { in DMRefine_DA()
1031 if (dd->by == DM_BOUNDARY_PERIODIC || dd->interptype == DMDA_Q0) { in DMRefine_DA()
1040 if (dd->bz == DM_BOUNDARY_PERIODIC || dd->interptype == DMDA_Q0) { in DMRefine_DA()
1061 …eOwnershipRanges(da, (PetscBool)(dd->bx == DM_BOUNDARY_PERIODIC || dd->interptype == DMDA_Q0), dd-… in DMRefine_DA()
1062 …eOwnershipRanges(da, (PetscBool)(dd->by == DM_BOUNDARY_PERIODIC || dd->interptype == DMDA_Q0), dd-… in DMRefine_DA()
1063 …eOwnershipRanges(da, (PetscBool)(dd->bz == DM_BOUNDARY_PERIODIC || dd->interptype == DMDA_Q0), dd-… in DMRefine_DA()
1069 …eOwnershipRanges(da, (PetscBool)(dd->bx == DM_BOUNDARY_PERIODIC || dd->interptype == DMDA_Q0), dd-… in DMRefine_DA()
1070 …eOwnershipRanges(da, (PetscBool)(dd->by == DM_BOUNDARY_PERIODIC || dd->interptype == DMDA_Q0), dd-… in DMRefine_DA()
[all …]
H A Ddacreate.c88 if (dd->bx == DM_BOUNDARY_PERIODIC || dd->interptype == DMDA_Q0) { in DMSetFromOptions_DA()
94 if (dim > 1 && (dd->by == DM_BOUNDARY_PERIODIC || dd->interptype == DMDA_Q0)) { in DMSetFromOptions_DA()
100 if (dim > 2 && (dd->bz == DM_BOUNDARY_PERIODIC || dd->interptype == DMDA_Q0)) { in DMSetFromOptions_DA()
275 *flg = da->interptype == DMDA_Q1 ? PETSC_TRUE : PETSC_FALSE; in DMHasCreateInjection_DA()
343 dd->interptype = DMDA_Q1; in DMCreate_DA()
395 dd->interptype = DMDA_Q1; in DMCreate_DA()
H A Ddainterp.c1031 if (ddc->interptype == DMDA_Q1) { in DMCreateInterpolation_DA()
1038 … for this DMDA dimension %" PetscInt_FMT " for interpolation type %d", dimc, (int)ddc->interptype); in DMCreateInterpolation_DA()
1039 } else if (ddc->interptype == DMDA_Q0) { in DMCreateInterpolation_DA()
1046 … for this DMDA dimension %" PetscInt_FMT " for interpolation type %d", dimc, (int)ddc->interptype); in DMCreateInterpolation_DA()
/petsc/include/petsc/private/
H A Ddmdaimpl.h22 DMDAInterpolationType interptype; member
/petsc/src/ksp/pc/impls/hypre/
H A Dhypre.c78 PetscObjectParameterDeclare(PetscInt, interptype);
322 PetscObjectParameterSetDefault(jac, interptype, 6); in PCSetUp_HYPRE()
336 PetscObjectParameterSetDefault(jac, interptype, 0); in PCSetUp_HYPRE()
366 PetscCallHYPRE(HYPRE_BoomerAMGSetInterpType(jac->hsolver, (HYPRE_Int)jac->interptype)); in PCSetUp_HYPRE()
1250 …jac->interptype = 100; /* no way we can pass this with strings... Set it as default as in MFEM, th… in PCSetFromOptions_HYPRE_BoomerAMG()
1312 …AY_LENGTH(HYPREBoomerAMGInterpType), jac->interptype < 0 ? "unknown" : HYPREBoomerAMGInterpType[ja… in PCSetFromOptions_HYPRE_BoomerAMG()
1313 if (flg) jac->interptype = indx; in PCSetFromOptions_HYPRE_BoomerAMG()
1472 …polation type %s\n", jac->interptype != 100 ? (jac->interptype < 0 ? "not yet set" : HYPREBoomerA… in PCView_HYPRE_BoomerAMG()
2340 PetscObjectParameterSetDefault(jac, interptype, PETSC_DECIDE); in PCHYPRESetType_HYPRE()
/petsc/src/snes/tutorials/
H A Dex48.c1276 ddf->interptype = ddc->interptype;