Home
last modified time | relevance | path

Searched refs:stencils (Results 1 – 4 of 4) sorted by relevance

/petsc/src/dm/impls/stag/
H A Dstagstencil.c30 PetscErrorCode DMStagCreateISFromStencils(DM dm, PetscInt n_stencil, DMStagStencil stencils[], IS *… in DMStagCreateISFromStencils() argument
49 for (PetscInt p = 0; p < n_stencil; ++p) nc_max = PetscMax(nc_max, stencils[p].c + 1); in DMStagCreateISFromStencils()
55 PetscCall(DMStagStencilLocationCanonicalize(stencils[p].loc, &loc_canonical)); in DMStagCreateISFromStencils()
56 slot = nc_max * ((PetscInt)loc_canonical) + stencils[p].c; in DMStagCreateISFromStencils()
/petsc/doc/manual/
H A Dvec.md159 created, as specified by `st`. Star-type stencils that radiate outward
161 `DMDA_STENCIL_STAR`, while box-type stencils are specified by
166 only difference being that with star-type stencils, certain ghost points
168 that the `DMDA_STENCIL_STAR` stencils can save interprocess
171 These `DMDA` stencils have nothing directly to do with a specific finite
H A Dmat.md179 the numerical values based on the concept of stencils. See the manual page of `MatSetValuesStencil(…
/petsc/doc/community/meetings/2025/
H A Dindex.md182 …symbolic API while maintaining compatibility with staggered grids, subdomains, and custom stencils.
194 …t resulting stencil will have an accuracy equal to the lower of the two stencils being composed. T…