Home
last modified time | relevance | path

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

/petsc/src/tao/unconstrained/tutorials/
H A Deptorsion2.c203 PetscReal three = 3.0, zero = 0.0, *x, floc, cdiv3 = user->param / three; in FormFunctionGradient() local
316 floc = area * (p5 * fquad + flin); in FormFunctionGradient()
320 …PetscCall((PetscErrorCode)MPI_Allreduce((void *)&floc, (void *)f, 1, MPIU_REAL, MPIU_SUM, MPI_COMM… in FormFunctionGradient()
H A Deptorsion2f.F90118 PetscReal val, flin, fquad, floc
250 floc = area*(p5*fquad + flin)
254 PetscCallMPI(MPI_Allreduce(floc, f, 1, MPIU_SCALAR, MPIU_SUM, PETSC_COMM_WORLD, ierr))
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/docs/
H A D_doc_section_base.py1212 floc = docstring.make_source_range(sub, line, sub_items[0][0].start.line, offset=offset)
1214 … Diagnostic.Kind.ERROR, format_diag, base_mess.format(nspaces + 1), floc, patch=Patch(floc, fix)
H A D_doc_str.py970 floc = SourceRange.from_locations(self.make_source_location(end_line, 1), cursor_start)
972 Diagnostic.Kind.ERROR, diag, mess, eloc, highlight=False, patch=Patch(floc, '')
/petsc/src/dm/impls/plex/transform/impls/extrude/
H A Dplextrextrude.c544 PetscInt suppSize, floc = -1; in DMPlexTransformSetUp_Extrude() local
551 if (leaves) PetscCall(PetscFindInt(face, Nl, leaves, &floc)); in DMPlexTransformSetUp_Extrude()
552 shared = floc >= 0 || (ex->degree && ex->degree[face]) ? PETSC_TRUE : PETSC_FALSE; in DMPlexTransformSetUp_Extrude()
/petsc/src/dm/impls/plex/
H A Dplexpartition.c323 PetscInt dim, depth, floc, cloc, i, M, N, c, lm, m, cStart, cEnd, fStart, fEnd; in DMPlexCreatePartitionerGraph_ViaMat() local
359 for (i = 0, floc = 0; i < m; i++) { in DMPlexCreatePartitionerGraph_ViaMat()
366 floc += 1; in DMPlexCreatePartitionerGraph_ViaMat()
394 PetscCall(MatSetSizes(conn, floc, cloc, M, N)); in DMPlexCreatePartitionerGraph_ViaMat()