Home
last modified time | relevance | path

Searched refs:ints (Results 1 – 9 of 9) sorted by relevance

/petsc/src/vec/vec/tests/
H A Dex48.c753 PetscInt ints[nv]; in testAttributesDefaultValue() local
771 PetscCall(PetscViewerHDF5ReadAttribute(viewer, "/", "attr_0_int", PETSC_INT, NULL, &ints[0])); in testAttributesDefaultValue()
772 ints[1] = ints[0] * -333; in testAttributesDefaultValue()
773 PetscCall(PetscViewerHDF5ReadAttribute(viewer, "/", "attr_0_int", PETSC_INT, &ints[1], &ints[2])); in testAttributesDefaultValue()
774 …(PetscViewerHDF5ReadAttribute(viewer, "/", "attr_nonExisting_int", PETSC_INT, &ints[1], &ints[3])); in testAttributesDefaultValue()
775 …PetscCheck(ints[2] == ints[0], comm, PETSC_ERR_PLIB, "%" PetscInt_FMT " = ints[2] != ints[0] = %" … in testAttributesDefaultValue()
776 …PetscCheck(ints[3] == ints[1], comm, PETSC_ERR_PLIB, "%" PetscInt_FMT " = ints[3] != ints[1] = %" … in testAttributesDefaultValue()
777 if (verbose) PetscCall(PetscIntView(nv, ints, PETSC_VIEWER_STDOUT_WORLD)); in testAttributesDefaultValue()
/petsc/src/vec/is/sf/interface/
H A Dsftype.c72 PetscMPIInt combiner, ints[1] = {0}; in MPIPetsc_Type_unwrap() local
83 …PetscCallMPI(MPIPetsc_Type_get_contents(a, nints, naddrs, ncounts, ntypes, ints, addrs, counts, ty… in MPIPetsc_Type_unwrap()
96 …PetscCallMPI(MPIPetsc_Type_get_contents(a, nints, naddrs, ncounts, ntypes, ints, addrs, counts, ty… in MPIPetsc_Type_unwrap()
97 …if ((nints == 1 && ints[0] == 1) || (ncounts == 1 && counts[0] == 1)) { /* If a is created by MPI_… in MPIPetsc_Type_unwrap()
/petsc/src/vec/vec/impls/mpi/
H A Dpbvec.c154 if (hdr->count || (x->first_assembly_done && x->sendptrs[rankid].ints)) { in VecAssemblySend_MPI_Private()
155 …PetscCallMPI(MPIU_Isend(x->sendptrs[rankid].ints, hdr->count, MPIU_INT, rank, tag[0], comm, &req[0… in VecAssemblySend_MPI_Private()
177 PetscCall(PetscSegBufferGet(x->segrecvint, hdr->count, &frame->ints)); in VecAssemblyRecv_MPI_Private()
178 PetscCallMPI(MPIU_Irecv(frame->ints, hdr->count, MPIU_INT, rank, tag[0], comm, &req[0])); in VecAssemblyRecv_MPI_Private()
183 frame->ints = NULL; in VecAssemblyRecv_MPI_Private()
247 x->sendptrs[i].ints = &X->stash.idx[j]; in VecAssemblyBegin_MPI_BTS()
334 … for (j = 0, recvint = frame[i].ints, recvscalar = frame[i].scalars; j < count; j++, recvint++) { in VecAssemblyEnd_MPI_BTS()
H A Dpvecimpl.h12 PetscInt *ints; member
/petsc/doc/changes/
H A D221.md10 configure with --with-64-bit-ints and then PetscInt will represent
H A D231.md54 - Changed --with-64-bit-ints to --with-64-bit-indices
/petsc/src/dm/impls/plex/exodusii/
H A Dplexexodusii2.c1770 PetscInt ints[] = {dim, dimEmbed}; in DMPlexCreateExodus() local
1772 PetscCallMPI(MPI_Bcast(ints, 2, MPIU_INT, 0, comm)); in DMPlexCreateExodus()
1773 PetscCall(DMSetDimension(*dm, ints[0])); in DMPlexCreateExodus()
1774 PetscCall(DMSetCoordinateDim(*dm, ints[1])); in DMPlexCreateExodus()
1775 dim = ints[0]; in DMPlexCreateExodus()
1776 dimEmbed = ints[1]; in DMPlexCreateExodus()
/petsc/src/sys/classes/draw/utils/
H A Dhists.c674 PetscErrorCode PetscDrawHGIntegerBins(PetscDrawHG hist, PetscBool ints) in PetscDrawHGIntegerBins() argument
679 hist->integerBins = ints; in PetscDrawHGIntegerBins()
/petsc/src/ksp/pc/impls/bddc/
H A Dbddcprivate.c542 PetscInt ends = 0, ints = 0, undef = 0; in PCBDDCNedelecSupport() local
549 else if (nconn == order) ints++; in PCBDDCNedelecSupport()
552 if (undef || ends > 2 || ints != order - 1) { in PCBDDCNedelecSupport()