Home
last modified time | relevance | path

Searched refs:numCols (Results 1 – 7 of 7) sorted by relevance

/petsc/src/dm/impls/plex/
H A Dplexpreallocate.c249 PetscInt dim, pStart, pEnd, numDof, globalOffStart, globalOffEnd, numCols, adjSize; in DMPlexCreateAdjacencySection_Static() local
624 PetscCall(PetscSectionGetStorageSize(sectionAdj, &numCols)); in DMPlexCreateAdjacencySection_Static()
625 PetscCall(PetscMalloc1(numCols, &cols)); in DMPlexCreateAdjacencySection_Static()
718 PetscInt numCols, cStart, c; in DMPlexUpdateAllocation_Static() local
720 PetscCall(PetscSectionGetDof(sectionAdj, r, &numCols)); in DMPlexUpdateAllocation_Static()
722 for (c = cStart; c < cStart + numCols; ++c) { in DMPlexUpdateAllocation_Static()
737 PetscInt numCols, cStart, c; in DMPlexUpdateAllocation_Static() local
739 PetscCall(PetscSectionGetDof(sectionAdj, row, &numCols)); in DMPlexUpdateAllocation_Static()
741 for (c = cStart; c < cStart + numCols; ++c) { in DMPlexUpdateAllocation_Static()
782 PetscInt numCols, cStart; in DMPlexFillMatrix_Static() local
[all …]
H A Dplextree.c1425 PetscInt cDof, cOff, numCols, r, i; in DMPlexReferenceTreeGetChildrenMatrices() local
1438 numCols = 0; in DMPlexReferenceTreeGetChildrenMatrices()
1452 for (j = 0; j < aDof; j++) cols[numCols++] = aOff + (perm ? perm[j] : j); in DMPlexReferenceTreeGetChildrenMatrices()
1454 refPointFieldN[p - pRefStart][f] = numCols; in DMPlexReferenceTreeGetChildrenMatrices()
1455 PetscCall(PetscMalloc1(cDof * numCols, &refPointFieldMats[p - pRefStart][f])); in DMPlexReferenceTreeGetChildrenMatrices()
1456 … PetscCall(MatGetValues(refCmat, cDof, rows, numCols, cols, refPointFieldMats[p - pRefStart][f])); in DMPlexReferenceTreeGetChildrenMatrices()
1475 …for (j = 0; j < aDof; j++) refPointFieldMats[p - pRefStart][f][k * numCols + colOff + j] *= flip[j… in DMPlexReferenceTreeGetChildrenMatrices()
1638 PetscInt cDof, cOff, numCols, numFillCols, i, r, matOffset, offset; in DMPlexComputeAnchorMatrix_Tree_FromReference() local
1667 numCols = refPointFieldN[childid - pRefStart][f]; in DMPlexComputeAnchorMatrix_Tree_FromReference()
1705 …inVal += pointMat[r * numCols + offset + col] * vals[aMatOffset + aNumFillCols * k + j] * (flip ? … in DMPlexComputeAnchorMatrix_Tree_FromReference()
[all …]
H A Dplex.c8068 …t PetscInt points[], const PetscInt ***perms, PetscInt numRows, PetscInt numCols, const PetscScala… in DMPlexAnchorsModifyMat_Internal() argument
8086numCols == numIndices, PetscObjectComm((PetscObject)dm), PETSC_ERR_ARG_SIZ, "values matrix has the… in DMPlexAnchorsModifyMat_Internal()
8094 numCols = newNumIndices; in DMPlexAnchorsModifyMat_Internal()
8105 PetscCall(PetscBLASIntCast(numCols, &M)); in DMPlexAnchorsModifyMat_Internal()
8108 PetscCall(DMGetWorkArray(dm, newNumIndices * numCols, MPIU_SCALAR, &newNewValues)); in DMPlexAnchorsModifyMat_Internal()
8149 …ction, PetscInt point, PetscBool useClPerm, PetscInt *numRows, PetscInt *numCols, PetscInt *indice… in DMPlexGetClosureIndices_Internal() argument
8177 PetscAssertPointer(numCols, 7); in DMPlexGetClosureIndices_Internal()
8208 if (*numCols == -1) *numCols = Ni; in DMPlexGetClosureIndices_Internal()
8210 nCols = *numCols; in DMPlexGetClosureIndices_Internal()
8255 if (multiplyRight) *numCols = NiC; in DMPlexGetClosureIndices_Internal()
[all …]
/petsc/src/dm/impls/plex/tutorials/
H A Dex19.c210 PetscInt numRows, numCols; in main() local
211 PetscCall(MatGetSize(cpEquiv, &numRows, &numCols)); in main()
217 for (PetscInt jj = 0; jj < numCols; ++jj) { in main()
/petsc/src/mat/impls/aij/seq/kokkos/
H A Daijkok.hpp180 MatColIdxType ncols() { return csrmat.numCols(); } in ncols()
H A Daijkok.kokkos.cxx327 …if (T.numRows() == n && T.numCols() == m) { // this indicates csrmatT had been generated before, … in MatSeqAIJKokkosGenerateTranspose_Private()
365 …if (T.numRows() == n && T.numCols() == m) { // this indicates csrmatT had been generated before, … in MatSeqAIJKokkosGenerateHermitian_Private()
2366 PetscInt m = csrmat.numRows(), n = csrmat.numCols(), nnz = csrmat.nnz(); in PrintCsrMatrix()
/petsc/src/mat/impls/aij/mpi/kokkos/
H A Dmpiaijkok.kokkos.cxx347 PetscInt n1 = B.numCols(); in MatMPIAIJKokkosReduceBegin()