Home
last modified time | relevance | path

Searched refs:sec (Results 1 – 25 of 34) sorted by relevance

12

/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DSection.pyx7 self.obj = <PetscObject*> &self.sec
8 self.sec = NULL
27 CHKERR(PetscSectionView(self.sec, vwr))
39 CHKERR(PetscSectionDestroy(&self.sec))
77 CHKERR(PetscCLEAR(self.obj)); self.sec = newsec
92 cdef Section sec = <Section>type(self)()
93 CHKERR(PetscSectionClone(self.sec, &sec.sec))
94 return sec
108 CHKERR(PetscSectionSetUp(self.sec))
120 CHKERR(PetscSectionReset(self.sec))
[all …]
H A DDM.pyx1110 cdef Section sec = Section()
1111 CHKERR(DMGetCoordinateSection(self.dm, &sec.sec))
1112 CHKERR(PetscINCREF(sec.obj))
1113 return sec
1211 def setCellCoordinateSection(self, dim: int, Section sec) -> None: argument
1220 sec
1229 CHKERR(DMSetCellCoordinateSection(self.dm, cdim, sec.sec))
1241 cdef Section sec = Section()
1242 CHKERR(DMGetCellCoordinateSection(self.dm, &sec.sec))
1243 CHKERR(PetscINCREF(sec.obj))
[all …]
H A DDMPlex.pyx1223 def vecGetClosure(self, Section sec, Vec vec, p: int) -> ArrayScalar: argument
1230 sec
1244 CHKERR(DMPlexVecGetClosure(self.dm, sec.sec, vec.vec, cp, &csize, &cvals))
1248 CHKERR(DMPlexVecRestoreClosure(self.dm, sec.sec, vec.vec, cp, &csize, &cvals))
1251 def getVecClosure(self, Section sec or None, Vec vec, point: int) -> ArrayScalar:
1258 sec
1271 cdef PetscSection csec = sec.sec if sec is not None else NULL
1281 …def setVecClosure(self, Section sec or None, Vec vec, point: int, values: Sequence[Scalar], addv: …
1288 sec
1305 cdef PetscSection csec = sec.sec if sec is not None else NULL
[all …]
H A DSF.pyx374 CHKERR(PetscSFCreateSectionSF(self.sf, rootSection.sec, cremoteOffsets,
375 leafSection.sec, &sectionSF.sf))
404 if leafSection.sec == NULL:
405 CHKERR(PetscSectionCreate(ccomm, &leafSection.sec))
406 CHKERR(PetscSFDistributeSection(self.sf, rootSection.sec,
407 &cremoteOffsets, leafSection.sec))
408 CHKERR(PetscSectionGetChart(leafSection.sec, &lpStart, &lpEnd))
H A DCAPI.pyx175 setref(&retv.sec, arg)
181 retv = ob.sec
/petsc/src/dm/impls/plex/
H A Dplexdd.c16 PetscSection sec, osec; in DMTransferMaterialParameters() local
24 PetscCall(DMGetLocalSection(dmAux, &sec)); in DMTransferMaterialParameters()
26 PetscCall(PetscSectionCreate(PetscObjectComm((PetscObject)sec), &osec)); in DMTransferMaterialParameters()
28 PetscCall(DMPlexDistributeField(dmAux, sf, sec, A, osec, oAt)); in DMTransferMaterialParameters()
30 PetscCall(PetscObjectReference((PetscObject)sec)); in DMTransferMaterialParameters()
31 osec = sec; in DMTransferMaterialParameters()
51 PetscSection sec, tsec, ogsec, olsec; in DMCreateDomainDecomposition_Plex() local
88 PetscCall(DMGetLocalSection(dm, &sec)); in DMCreateDomainDecomposition_Plex()
91 PetscCall(PetscSFDistributeSection(migrationSF, sec, NULL, tsec)); in DMCreateDomainDecomposition_Plex()
93 PetscCall(PetscSectionCopy(sec, tsec)); in DMCreateDomainDecomposition_Plex()
[all …]
/petsc/src/dm/impls/network/tests/
H A Dex1.c98 PetscSection sec; in main() local
133 PetscCall(DMGetLocalSection(plex, &sec)); in main()
134 PetscCall(PetscSectionView(sec, PETSC_VIEWER_STDOUT_WORLD)); in main()
139 PetscCall(DMGetLocalSection(plex, &sec)); in main()
140 PetscCall(PetscSectionView(sec, PETSC_VIEWER_STDOUT_WORLD)); in main()
/petsc/src/sys/tutorials/output/
H A Dex5_1.out4 W = 5. ; Vertical velocity, m/sec
17 W = 5. ; Vertical velocity, m/sec
H A Dex5_yaml.out4 W = 3. ; Vertical velocity, m/sec
17 W = 3. ; Vertical velocity, m/sec
/petsc/doc/manualpages/MANSECHeaders/
H A DSNESMF3 …rovide "matrix-free" Newton nonlinear solver via `SNES`. Users guide section: [](sec-nlmatrixfree).
/petsc/src/dm/impls/plex/tests/
H A Dex22.c163 PetscSection sec, newSec; in main() local
169 PetscCall(DMGetCoordinateSection(dm, &sec)); in main()
170 PetscCall(PetscSectionCreate(PetscObjectComm((PetscObject)sec), &newSec)); in main()
172 PetscCall(PetscSectionGetChart(sec, &pStart, &pEnd)); in main()
177 PetscCall(PetscSectionGetDof(sec, p, &nDof)); in main()
H A Dex18.c1019 PetscSection sec; in PetscSectionReplicate_Private() local
1033 PetscCall(PetscSectionCreate(comm, &sec)); in PetscSectionReplicate_Private()
1034 PetscCall(PetscSectionSetChart(sec, chart[0], chart[1])); in PetscSectionReplicate_Private()
1035 for (p = chart[0]; p < chart[1]; p++) PetscCall(PetscSectionSetDof(sec, p, dofarr[p - chart[0]])); in PetscSectionReplicate_Private()
1036 PetscCall(PetscSectionSetUp(sec)); in PetscSectionReplicate_Private()
1038 *secout = sec; in PetscSectionReplicate_Private()
/petsc/src/snes/tutorials/
H A Dex13.c408 PetscSection sec; in ComputeAdjoint() local
410 PetscCall(DMGetLocalSection(dms[0], &sec)); in ComputeAdjoint()
411 PetscCall(PetscSectionView(sec, PETSC_VIEWER_STDOUT_WORLD)); in ComputeAdjoint()
412 PetscCall(DMGetLocalSection(dms[1], &sec)); in ComputeAdjoint()
413 PetscCall(PetscSectionView(sec, PETSC_VIEWER_STDOUT_WORLD)); in ComputeAdjoint()
414 PetscCall(DMGetLocalSection(dmErrAux, &sec)); in ComputeAdjoint()
415 PetscCall(PetscSectionView(sec, PETSC_VIEWER_STDOUT_WORLD)); in ComputeAdjoint()
/petsc/src/snes/tutorials/output/
H A Dex19_tut_4.out13 Time (sec): 3.068e+00 1.000 3.068e+00
16 Flops/sec: 1.041e+09 1.000 1.041e+09 1.041e+09
45 Event Count Time (sec) Flop --- Global --- --…
H A Dex19_tut_6.out13 Time (sec): 1.200e+00 1.000 1.200e+00
16 Flops/sec: 7.789e+08 1.042 7.631e+08 3.053e+09
45 Event Count Time (sec) Flop --- Global --- --…
H A Dex19_tut_5.out13 Time (sec): 6.992e-01 1.000 6.992e-01
16 Flops/sec: 7.490e+08 1.000 7.490e+08 7.490e+08
45 Event Count Time (sec) Flop --- Global --- --…
H A Dex19_tut_7.out13 Time (sec): 4.796e-01 1.001 4.794e-01
16 Flops/sec: 4.726e+08 1.060 4.590e+08 1.836e+09
45 Event Count Time (sec) Flop --- Global --- --…
H A Dex30_1.out13 Viscosity range: 1e+24--0. Pa-sec
/petsc/src/sys/objects/ftn-custom/
H A Dzoptionsf.c55 PETSC_EXTERN void petscoptionsbegin_(MPI_Fint *fcomm, char *prefix, char *mess, char *sec, PetscErr… in petscoptionsbegin_() argument
62 FIXCHAR(sec, lensec, csec); in petscoptionsbegin_()
75 FREECHAR(sec, csec); in petscoptionsbegin_()
/petsc/doc/manual/
H A Dprofiling.md176 Time (sec): 1.849e-01 1.00002 1.849e-01
179 Flops/sec: 1.277e+09 1.00685 1.273e+09 5.091e+09
220 computational rate (in units of MFlop/sec) is given for each phase in
224 {\rm Total\: Mflop/sec} \:=\: 10^{-6} * ({\rm sum\; of\; flop\; over\; all\; processors})/({\rm max…
243 Time and Flop/sec: Max - maximum over all processors
255 Phase Count Time (sec) Flop/sec --- Global --- --…
300 (time (`%T`), flop/sec (`%F`), messages(`%M`), average message
/petsc/include/
H A Dpetscoptions.h194 #define PetscOptionsBegin(comm, prefix, mess, sec) \ argument
200 PetscCall(PetscOptionsBegin_Private(PetscOptionsObject, comm, prefix, mess, sec))
/petsc/src/ksp/pc/impls/bjacobi/bjkokkos/
H A Dbjkokkoskernels.kokkos.cxx149 double sec = timer.seconds(); in run() local
151 return sec; in run()
/petsc/config/
H A Dpetsc_harness.sh56 -t ................ Override the default timeout (default=$TIMEOUT sec)
/petsc/doc/developers/
H A Dmatrices.md82 | Matrix-Vector Product (Mflop/sec) |
88 | Triangular Solves from ILU(0) (Mflop/sec) |
/petsc/src/binding/petsc4py/src/petsc4py/
H A DPETSc.pxd221 cdef PetscSection sec

12