Home
last modified time | relevance | path

Searched refs:Nint (Results 1 – 2 of 2) sorted by relevance

/petsc/src/ksp/pc/impls/wb/
H A Dwb.c19 …PetscInt dim, i, j, k, m, n, p, dof, Nint, Nface, Nwire, Nsurf, *Iint, *Isurf, cint … in DMDAGetWireBasketInterpolation() local
58 Nint = (m - 2 - istart) * (n - 2 - jstart) * (p - 2 - kstart); in DMDAGetWireBasketInterpolation()
62 PetscCall(MatCreateSeqDense(MPI_COMM_SELF, Nint, 26, NULL, &Xint)); in DMDAGetWireBasketInterpolation()
139 PetscCall(PetscMalloc3(N, &II, Nint, &Iint, Nsurf, &Isurf)); in DMDAGetWireBasketInterpolation()
140 PetscCall(PetscMalloc2(Nint, &IIint, Nsurf, &IIsurf)); in DMDAGetWireBasketInterpolation()
158 PetscCheck(cint == Nint, PETSC_COMM_SELF, PETSC_ERR_PLIB, "cint != Nint"); in DMDAGetWireBasketInterpolation()
162 PetscCall(ISLocalToGlobalMappingApply(ltg, Nint, IIint, IIint)); in DMDAGetWireBasketInterpolation()
166 PetscCall(ISCreateGeneral(PETSC_COMM_SELF, Nint, Iint, PETSC_COPY_VALUES, &isint)); in DMDAGetWireBasketInterpolation()
198 PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, 1, Nint, NULL, &x)); in DMDAGetWireBasketInterpolation()
200 PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, 1, Nint, NULL, &b)); in DMDAGetWireBasketInterpolation()
[all …]
/petsc/src/dm/impls/plex/
H A Dplexgeometry.c205 … const PetscReal p[], const PetscReal normal[], PetscBool *pos, PetscInt *Nint, PetscReal intPoint… in DMPlexGetPlaneSimplexIntersection_Coords_Internal() argument
213 if (Nint) *Nint = 0; in DMPlexGetPlaneSimplexIntersection_Coords_Internal()
265 *Nint = n; in DMPlexGetPlaneSimplexIntersection_Coords_Internal()
269 … const PetscReal p[], const PetscReal normal[], PetscBool *pos, PetscInt *Nint, PetscReal intPoint… in DMPlexGetPlaneSimplexIntersection_Internal() argument
284 …tPlaneSimplexIntersection_Coords_Internal(dm, dim, cdim, coords, p, normal, pos, Nint, intPoints)); in DMPlexGetPlaneSimplexIntersection_Internal()
290 … const PetscReal p[], const PetscReal normal[], PetscBool *pos, PetscInt *Nint, PetscReal intPoint… in DMPlexGetPlaneQuadIntersection_Internal() argument
315 *Nint = NintA + NintB; in DMPlexGetPlaneQuadIntersection_Internal()
321 … const PetscReal p[], const PetscReal normal[], PetscBool *pos, PetscInt *Nint, PetscReal intPoint… in DMPlexGetPlaneHexIntersection_Internal() argument
369 *Nint = Nsum; in DMPlexGetPlaneHexIntersection_Internal()
397 … const PetscReal p[], const PetscReal normal[], PetscBool *pos, PetscInt *Nint, PetscReal intPoint… in DMPlexGetPlaneCellIntersection_Internal() argument
[all …]