Searched refs:coffset (Results 1 – 5 of 5) sorted by relevance
| /petsc/src/dm/dt/tests/ |
| H A D | ex16.c | 42 for (PetscInt copy = 0, coffset = 0; copy < n_copies; copy++, coffset += c_incr) { in PetscFEVectorTest() local 56 PetscInt vc = coffset + c * c_stride; in PetscFEVectorTest()
|
| /petsc/src/dm/dt/dualspace/impls/sum/ |
| H A D | dualspacesum.c | 412 for (PetscInt s = 0, coffset = 0; s < Ns; s++) { in PetscDualSpaceSumCreateMappings() local 460 PetscCall(ISCreateStride(PETSC_COMM_SELF, sNcols, coffset, 1, &is_col)); in PetscDualSpaceSumCreateMappings() 461 coffset += uniform_points ? 0 : sNcols; in PetscDualSpaceSumCreateMappings() 464 PetscCall(ISCreateStride(PETSC_COMM_SELF, sNcols, coffset, Ns, &is_col)); in PetscDualSpaceSumCreateMappings() 465 coffset += 1; in PetscDualSpaceSumCreateMappings() 471 for (PetscInt c = 0; c < sNc; c++, r++) cols[r] = coffset + p * Nc + c; in PetscDualSpaceSumCreateMappings() 473 coffset += uniform_points ? sNc : Nc * sNpoints + sNc; in PetscDualSpaceSumCreateMappings()
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | Section.pyx | 776 cdef PetscInt coffset = asInt(offset) 777 CHKERR(PetscSectionSetOffset(self.sec, cpoint, coffset)) 828 cdef PetscInt coffset = asInt(offset) 829 CHKERR(PetscSectionSetFieldOffset(self.sec, cpoint, cfield, coffset))
|
| /petsc/src/vec/vec/impls/mpi/ |
| H A D | pdvec.c | 425 char nglobalname[16], nlocalname[16], coffset[16]; in VecView_MPI_ADIOS() local 436 PetscCall(PetscSNPrintf(coffset, PETSC_STATIC_ARRAY_LENGTH(coffset), "%" PetscInt_FMT, rstart)); in VecView_MPI_ADIOS() 437 …= adios_define_var(Petsc_adios_group, vecname, "", adios_double, nlocalname, nglobalname, coffset); in VecView_MPI_ADIOS()
|
| /petsc/src/mat/impls/aij/seq/kokkos/ |
| H A D | aijkok.kokkos.cxx | 754 PetscInt coffset = ai(i) + bi(i), alen = ai(i + 1) - ai(i), blen = bi(i + 1) - bi(i); in MatSeqAIJKokkosMergeMats() 757 ci(i) = coffset; in MatSeqAIJKokkosMergeMats() 763 ca(coffset + k) = aa(ai(i) + k); in MatSeqAIJKokkosMergeMats() 764 cj(coffset + k) = aj(ai(i) + k); in MatSeqAIJKokkosMergeMats() 766 ca(coffset + k) = ba(bi(i) + k - alen); in MatSeqAIJKokkosMergeMats() 767 … cj(coffset + k) = bj(bi(i) + k - alen) + aN; /* Entries in B get new column indices in C */ in MatSeqAIJKokkosMergeMats()
|