Home
last modified time | relevance | path

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

/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A Dpetscdmshell.pxi329 PetscInt *clen,
343 if clen != NULL:
345 clen[0] = <PetscInt>len(names)
347 clen[0] = <PetscInt>len(ises)
349 clen[0] = <PetscInt>len(dms)
351 clen[0] = 0
374 PetscInt *clen,
389 if clen != NULL:
391 clen[0] = <PetscInt>len(names)
393 clen[0] = <PetscInt>len(innerises)
[all …]
H A DDM.pyx2337 cdef PetscInt clen = 0
2342 CHKERR(DMCreateFieldDecomposition(self.dm, &clen, &cnamelist, &cis, &cdm))
2344 cdef list isets = [ref_IS(cis[i]) for i from 0 <= i < clen]
2349 for i from 0 <= i < clen:
/petsc/src/sys/webclient/
H A Dclient.c201 char *clen; in PetscHTTPSRequest() local
221 PetscCall(PetscStrstr(buff, "Content-Length: ", &clen)); in PetscHTTPSRequest()
222 if (clen) { in PetscHTTPSRequest()
223 clen += 15; in PetscHTTPSRequest()
224 sscanf(clen, "%d", &cl); in PetscHTTPSRequest()
227 PetscCall(PetscStrstr(buff, "\r\n\r\n", &clen)); in PetscHTTPSRequest()
228 if (clen) { in PetscHTTPSRequest()
229 PetscCall(PetscStrlen(clen, &nlen)); in PetscHTTPSRequest()
/petsc/src/sys/error/
H A Derrtrace.c233 size_t clen; in PetscTraceBackErrorHandler() local
237 (void)PetscStrlen(petscconfigureoptions, &clen); in PetscTraceBackErrorHandler()
238 … (void)(*PetscErrorPrintf)("Configure options: %s\n", clen ? petscconfigureoptions : "none used"); in PetscTraceBackErrorHandler()
/petsc/src/vec/is/is/utils/
H A Disdiff.c749 PetscInt alen, clen, *cindices, *cindices2; in ISEmbed() local
761 PetscCall(ISGlobalToLocalMappingApply(ltog, gtoltype, alen, aindices, &clen, cindices)); in ISEmbed()
764 if (clen != alen) { in ISEmbed()
766 PetscCall(PetscMalloc1(clen, &cindices)); in ISEmbed()
767 PetscCall(PetscArraycpy(cindices, cindices2, clen)); in ISEmbed()
770 PetscCall(ISCreateGeneral(PETSC_COMM_SELF, clen, cindices, PETSC_OWN_POINTER, c)); in ISEmbed()
/petsc/src/ksp/pc/impls/mpi/
H A Dpcmpi.c182 size_t clen; in PCMPISetMat() local
201 PetscCall(PetscStrlen(cprefix, &clen)); in PCMPISetMat()
202 matproperties[7] = (PetscInt)clen; in PCMPISetMat()