Home
last modified time | relevance | path

Searched refs:uniform (Results 1 – 25 of 30) sorted by relevance

12

/petsc/src/dm/impls/plex/
H A Dplexmetric.c10 PetscBool isotropic = PETSC_FALSE, uniform = PETSC_FALSE, restrictAnisotropyFirst = PETSC_FALSE; in DMPlexMetricSetFromOptions() local
21 …_metric_uniform", "Is the metric uniform?", "DMPlexMetricCreateUniform", uniform, &uniform, NULL)); in DMPlexMetricSetFromOptions()
22 PetscCall(DMPlexMetricSetUniform(dm, uniform)); in DMPlexMetricSetFromOptions()
113 PetscErrorCode DMPlexMetricSetUniform(DM dm, PetscBool uniform) in DMPlexMetricSetUniform() argument
119 plex->metricCtx->uniform = uniform; in DMPlexMetricSetUniform()
120 if (uniform) plex->metricCtx->isotropic = uniform; in DMPlexMetricSetUniform()
137 PetscErrorCode DMPlexMetricIsUniform(DM dm, PetscBool *uniform) in DMPlexMetricIsUniform() argument
143 *uniform = plex->metricCtx->uniform; in DMPlexMetricIsUniform()
903 PetscBool isotropic, uniform; in DMPlexMetricCreate() local
909 PetscCall(DMPlexMetricIsUniform(dm, &uniform)); in DMPlexMetricCreate()
[all …]
H A Dplexcreate.c5200 …PetscBool uniformOrig = PETSC_FALSE, uniform = PETSC_TRUE, distribute, saveSF = PETSC_F… in DMSetFromOptions_Plex() local
5267 …orm_pre", "Flag for uniform refinement before distribution", "DMCreate", uniform, &uniform, &flg)); in DMSetFromOptions_Plex()
5268 if (flg) PetscCall(DMPlexSetRefinementUniform(dm, uniform)); in DMSetFromOptions_Plex()
/petsc/src/dm/dt/space/impls/tensor/
H A Dspacetensor.c32 PetscBool uniform = PETSC_TRUE; in PetscSpaceSetFromOptions_Tensor() local
49 uniform = PETSC_FALSE; in PetscSpaceSetFromOptions_Tensor()
57 …r_uniform", "Subspaces are identical", "PetscSpaceTensorSetFromOptions", uniform, &uniform, NULL)); in PetscSpaceSetFromOptions_Tensor()
62 if (uniform) { in PetscSpaceSetFromOptions_Tensor()
99 PetscBool uniform = PETSC_TRUE; in PetscSpaceTensorView_Ascii() local
105 uniform = PETSC_FALSE; in PetscSpaceTensorView_Ascii()
109 …if (uniform) PetscCall(PetscViewerASCIIPrintf(v, "Tensor space of %" PetscInt_FMT " subspaces (all… in PetscSpaceTensorView_Ascii()
111 n = uniform ? 1 : Ns; in PetscSpaceTensorView_Ascii()
134 PetscBool uniform = PETSC_TRUE; in PetscSpaceSetUp_Tensor() local
159 uniform = PETSC_FALSE; in PetscSpaceSetUp_Tensor()
[all …]
/petsc/src/dm/dt/space/impls/sum/
H A Dspacesum.c276 PetscBool uniform; in PetscSpaceSetUp_Sum() local
291 uniform = PETSC_TRUE; in PetscSpaceSetUp_Sum()
301 uniform = PETSC_FALSE; in PetscSpaceSetUp_Sum()
334 sum->uniform = uniform; in PetscSpaceSetUp_Sum()
346 …v, "Sum space of %" PetscInt_FMT " concatenated subspaces%s\n", Ns, sum->uniform ? " (all identica… in PetscSpaceSumView_Ascii()
347 …rASCIIPrintf(v, "Sum space of %" PetscInt_FMT " subspaces%s\n", Ns, sum->uniform ? " (all identica… in PetscSpaceSumView_Ascii()
348 for (i = 0; i < (sum->uniform ? (Ns > 0 ? 1 : 0) : Ns); ++i) { in PetscSpaceSumView_Ascii()
453 …if (s == 0 || !sum->uniform) PetscCall(PetscSpaceEvaluate(sum->sumspaces[s], npoints, points, sB, … in PetscSpaceEvaluate_Sum()
/petsc/src/dm/impls/plex/tests/
H A Dex60.c38 PetscBool uniform = PETSC_FALSE, isotropic = PETSC_FALSE, noTagging = PETSC_FALSE; in main() local
111 PetscCall(DMPlexMetricIsUniform(dm, &uniform)); in main()
113 if (uniform) { in main()
229 if (uniform) { in main()
/petsc/src/dm/dt/dualspace/impls/sum/
H A Ddualspacesum.c561 PetscBool uniform = PETSC_TRUE; in PetscDualSpaceSumIsUniform() local
566 uniform = PETSC_FALSE; in PetscDualSpaceSumIsUniform()
570 *is_uniform = uniform; in PetscDualSpaceSumIsUniform()
734 PetscBool uniform; in PetscDualSpaceSetUp_Sum() local
755 PetscCall(PetscDualSpaceSumIsUniform(sp, &sp->uniform)); in PetscDualSpaceSetUp_Sum()
756 uniform = sp->uniform; in PetscDualSpaceSetUp_Sum()
874 sum->uniform = uniform; in PetscDualSpaceSetUp_Sum()
953 …um dual space of %" PetscInt_FMT " concatenated subspaces%s\n", Ns, sum->uniform ? " (all identica… in PetscDualSpaceSumView_Ascii()
954 …IPrintf(v, "Sum dual space of %" PetscInt_FMT " subspaces%s\n", Ns, sum->uniform ? " (all identica… in PetscDualSpaceSumView_Ascii()
955 for (i = 0; i < (sum->uniform ? (Ns > 0 ? 1 : 0) : Ns); ++i) { in PetscDualSpaceSumView_Ascii()
/petsc/src/dm/impls/plex/adaptors/pragmatic/
H A Dpragmaticadapt.c24 PetscBool flg, isotropic, uniform; in DMAdaptMetric_Pragmatic_Plex() local
138 PetscCall(DMPlexMetricIsUniform(dm, &uniform)); in DMAdaptMetric_Pragmatic_Plex()
145 if (uniform) metric[Nd * v + dim * i + j] = PetscRealPart(met[0]); in DMAdaptMetric_Pragmatic_Plex()
/petsc/src/ts/tests/
H A Dex5_control.txt18 - To only diabatic dT/dt contributions (all fields uniform throughout grid) enter 0 in line 15
/petsc/include/petsc/private/
H A Dpetscfeimpl.h63 PetscBool uniform; member
71 PetscBool uniform; member
123 PetscBool uniform; member
178 PetscBool uniform; member
H A Ddmpleximpl.h96 PetscBool uniform; /* Is the metric uniform? */ member
/petsc/src/dm/impls/plex/adaptors/mmg/
H A Dmmgadapt.c32 PetscBool flg = PETSC_FALSE, noInsert, noSwap, noMove, noSurf, isotropic, uniform; in DMAdaptMetric_Mmg_Plex() local
133 PetscCall(DMPlexMetricIsUniform(dm, &uniform)); in DMAdaptMetric_Mmg_Plex()
139 if (uniform) metric[Neq * v + k] = PetscRealPart(met[0]); in DMAdaptMetric_Mmg_Plex()
/petsc/src/dm/dt/dualspace/interface/
H A Ddualspace.c458 s->uniform = PETSC_TRUE; in PetscDualSpaceCreate()
499 (*spNew)->uniform = sp->uniform; in PetscDualSpaceDuplicate()
756 PetscErrorCode PetscDualSpaceGetUniform(PetscDualSpace sp, PetscBool *uniform) in PetscDualSpaceGetUniform() argument
760 PetscAssertPointer(uniform, 2); in PetscDualSpaceGetUniform()
761 *uniform = sp->uniform; in PetscDualSpaceGetUniform()
788 …PetscCheck(sp->uniform, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "A non-uniform space does not have a… in PetscDualSpaceGetNumDof()
1623 …PetscCheck(sp->uniform, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "A non-uniform dual space does not h… in PetscDualSpaceGetHeightSubspace()
/petsc/src/dm/impls/plex/adaptors/parmmg/
H A Dparmmgadapt.c42 PetscBool flg = PETSC_FALSE, noInsert, noSwap, noMove, noSurf, isotropic, uniform; in DMAdaptMetric_ParMmg_Plex() local
191 PetscCall(DMPlexMetricIsUniform(dm, &uniform)); in DMAdaptMetric_ParMmg_Plex()
199 if (uniform) metric[Neq * vv + k] = PetscRealPart(met[0]); in DMAdaptMetric_ParMmg_Plex()
/petsc/src/dm/dt/dualspace/impls/refined/
H A Ddualspacerefined.c94 if (c < cEnd) sp->uniform = PETSC_FALSE; in PetscDualSpaceSetUp_Refined()
/petsc/doc/changes/
H A D316.md223 …r `DMPlexCreateBoxMesh()` NO LONGER WORK. They have been changed to make the interface more uniform
237 - Add `DMPlexMetricCreateUniform` as a helper function for creating a uniform metric.
H A D317.md229 - Add `DMPlexMetricSetUniform()` for declaring whether a metric is uniform
230 - Add `DMPlexMetricIsUniform()` for determining whether a metric is uniform
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DDMPlex.pyx2120 """Set the flag for uniform refinement.
2127 The flag for uniform refinement.
2140 """Retrieve the flag for uniform refinement.
2147 The flag for uniform refinement.
2399 def metricSetUniform(self, uniform: bool) -> None:
2400 """Record whether the metric is uniform or not.
2406 uniform
2407 Flag indicating whether the metric is uniform or not.
2415 cdef PetscBool bval = asBool(uniform)
2419 """Return the flag indicating whether the metric is uniform or not.
[all …]
H A DDMStag.pyx538 """Set coordinates to be a uniform grid, storing all values.
576 """Create uniform coordinates, as a product of 1D arrays.
618 """Set the coordinates to be a uniform grid..
H A DDMDA.pyx752 """Set the DMDA coordinates to be a uniform grid.
/petsc/doc/manual/
H A Ddmstag.md14 2. To provide a uniform abstraction for which scalable solvers and preconditioners may be developed…
H A Dstreams.md51 …non-uniform memory access (**NUMA**), meaning the memory latency or bandwidth for any particular c…
H A Dperformance.md110 memory is accessed in a non-uniform way: A process running on one socket
/petsc/src/dm/dt/dualspace/impls/lagrange/
H A Ddspacelagrange.c1993 PetscBool uniform, trimmed; in PetscDualSpaceSetUp_Lagrange() local
2019 uniform = sp->uniform; in PetscDualSpaceSetUp_Lagrange()
2020 PetscCheck(uniform, PETSC_COMM_SELF, PETSC_ERR_SUP, "Variable order not supported yet"); in PetscDualSpaceSetUp_Lagrange()
/petsc/doc/developers/
H A Dstyle.md117 that the code is uniform and easily maintained.
/petsc/doc/community/meetings/2023/
H A Dindex.md331 AMReX splits the domain of uniform elements into rectangular boxes at each

12