Searched refs:ro (Results 1 – 4 of 4) sorted by relevance
| /petsc/src/tao/unconstrained/tutorials/ |
| H A D | adjointreads.m | 32 % plot(xg,fin,'ro-') 43 % plot(xg,-2*(obj-fwd),'ro','Markersize',10); drawnow 103 % plot(xg,Init_ts,'ro-','Markersize',6,'LineWidth',2); drawnow; 118 % plot(xg,Init_ts,'ro-','Markersize',8,'LineWidth',2); drawnow; 125 % plot(xg,Grad,'ro-'); 139 % plot(xg,gradj./Mass,'ro-','LineWidth',2,'Markersize',12);
|
| /petsc/src/dm/impls/plex/tutorials/ |
| H A D | ex11.c | 280 PetscInt r, ro; in CheckSubcells() local 297 for (ro = 0; ro < rsize[n]; ++ro) { in CheckSubcells() 300 PetscCall(DMPlexTransformGetTargetPoint(otr, ct, ctNew, p, ro, &opNew)); in CheckSubcells() 309 …a %" PetscInt_FMT " (%" PetscInt_FMT ") (%" PetscInt_FMT ")\n Transform Cone", ro, opNew, o)); in CheckSubcells() 314 if (ro == rsize[n]) { in CheckSubcells() 320 ro = r; in CheckSubcells() 326 ro = r; in CheckSubcells() 332 ro = r; in CheckSubcells() 338 …ntTable) PetscCall(PetscPrintf(PETSC_COMM_SELF, "%" PetscInt_FMT ", %" PetscInt_FMT ", ", ro, oo)); in CheckSubcells() 341 …PetscCheck(pr == ro, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Choose wrong replica %" PetscInt_FMT " != %… in CheckSubcells()
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | petscvec.pxi | 493 cdef int Vec_AcquireArray(PetscVec v, PetscScalar *a[], int ro) except -1 nogil: argument 494 if ro: CHKERR(VecGetArrayRead(v, <const PetscScalar**>a)) 498 cdef int Vec_ReleaseArray(PetscVec v, PetscScalar *a[], int ro) except -1 nogil: argument 499 if ro: CHKERR(VecRestoreArrayRead(v, <const PetscScalar**>a))
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexgeometry.c | 4048 const PetscReal ro = PetscRealPart(constants[1]); in coordMap_annulus() local 4050 xp[0] = (x[0] * (ro - ri) + ri) * PetscCosReal(0.5 * PETSC_PI * x[1]); in coordMap_annulus() 4051 xp[1] = (x[0] * (ro - ri) + ri) * PetscSinReal(0.5 * PETSC_PI * x[1]); in coordMap_annulus() 4065 const PetscReal ro = PetscRealPart(constants[1]); in coordMap_shell() local 4066 const PetscReal rp = (x[2] + 1) * 0.5 * (ro - ri) + ri; in coordMap_shell()
|