Home
last modified time | relevance | path

Searched refs:DMSwarmGetLocalSize (Results 1 – 25 of 27) sorted by relevance

12

/petsc/src/dm/tutorials/
H A Dswarm_ex1.c62 PetscCall(DMSwarmGetLocalSize(dms, &npoints_orig[0])); in ex1_1()
72 PetscCall(DMSwarmGetLocalSize(dms, &npoints[0])); in ex1_1()
130 PetscCall(DMSwarmGetLocalSize(dms, &npoints_orig[0])); in ex1_2()
147 PetscCall(DMSwarmGetLocalSize(dms, &npoints[0])); in ex1_2()
159 PetscCall(DMSwarmGetLocalSize(dms, &npoints[0])); in ex1_2()
218 PetscCall(DMSwarmGetLocalSize(dms, &npoints)); in ex1_3()
254 PetscCall(DMSwarmGetLocalSize(dms, &npoints_orig[0])); in ex1_3()
262 PetscCall(DMSwarmGetLocalSize(dms, &npoints[0])); in ex1_3()
278 PetscCall(DMSwarmGetLocalSize(dms, &npoints)); in ex1_3()
306 PetscCall(DMSwarmGetLocalSize(dm, &npoints)); in collect_zone()
[all …]
H A Dswarm_ex3.c113 PetscCall(DMSwarmGetLocalSize(dms, &npoints)); in SwarmViewGP()
178 PetscCall(DMSwarmGetLocalSize(dms, &nlocal)); in ex3_1()
204 PetscCall(DMSwarmGetLocalSize(dms, &nlocal)); in ex3_1()
218 PetscCall(DMSwarmGetLocalSize(dms, &nlocal)); in ex3_1()
H A Dswarm_ex2.c29 PetscCall(DMSwarmGetLocalSize(dms, &nlocal)); in ex2_1()
H A Dex21.c115 PetscCall(DMSwarmGetLocalSize(swarm, &npoints)); in pic_advect()
166 PetscCall(DMSwarmGetLocalSize(swarm, &npoints)); in pic_advect()
/petsc/src/dm/impls/swarm/tests/
H A Dex1.c80 PetscCall(DMSwarmGetLocalSize(*sw, &Np)); in CreateSwarm()
180 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in CheckPointInsertion_Boundary()
186 PetscCall(DMSwarmGetLocalSize(sw, &Np_loc_pre)); in CheckPointInsertion_Boundary()
188 PetscCall(DMSwarmGetLocalSize(sw, &Np_loc_post)); in CheckPointInsertion_Boundary()
H A Dex6.c242 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in ComputeFieldAtParticles_Coulomb()
278 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in ComputeFieldAtParticles_Primal()
388 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in ComputeFieldAtParticles_Mixed()
498 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in ComputeFieldAtParticles()
757 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in RHSFunctionG()
792 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in CreateSolution()
816 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in SetProblem()
835 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in SetProblem()
H A Dex4.c298 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in CreateSolution()
322 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in SetProblem()
339 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in SetProblem()
H A Dex5.c225 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in CreateSolution()
249 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in SetProblem()
268 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in SetProblem()
H A Dex7.c145 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in gridToParticles()
H A Dex11.c203 PetscCall(DMSwarmGetLocalSize(*sw, &Np)); in CreateSwarm()
/petsc/src/ts/tutorials/hamiltonian/
H A Dex3.c188 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in CheckNonNegativeWeights()
238 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in MonitorEField()
321 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in MonitorParticles()
714 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in InitializeConstants()
994 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in ComputeFieldAtParticles_Primal()
1128 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in ComputeFieldAtParticles()
1161 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in RHSFunction()
1193 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in RHSJacobian()
1373 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in RHSFunctionG()
1408 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in CreateSolution()
[all …]
H A Dex2.c425 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in CheckNonNegativeWeights()
471 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in computeVelocityFEMMoments()
528 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in MonitorEField()
604 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in MonitorInitialConditions()
1399 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in InitializeConstants()
1530 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in ComputeFieldAtParticles_Coulomb()
1578 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in ComputeFieldAtParticles_Primal()
1719 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in ComputeFieldAtParticles_Mixed()
1838 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in ComputeFieldAtParticles()
1885 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in RHSFunction()
[all …]
H A Dex4.c587 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in CheckNonNegativeWeights()
764 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in MonitorEField()
1120 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in MonitorInitialConditions()
2013 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in InitializeConstants()
2154 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in ComputeFieldAtParticles_Coulomb()
2202 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in ComputeFieldAtParticles_Primal()
2323 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in ComputeFieldAtParticles_Mixed()
2443 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in ComputeFieldAtParticles()
2490 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in RHSFunction()
2522 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in RHSJacobian()
[all …]
/petsc/src/dm/impls/da/tests/
H A Dex1.c17 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in DMSwarmPrint()
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A Dpetscdmswarm.pxi53 PetscErrorCode DMSwarmGetLocalSize(PetscDM, PetscInt*)
H A DDMSwarm.pyx376 CHKERR(DMSwarmGetLocalSize(self.dm, &nlocal))
519 petsc.DMSwarmGetLocalSize
523 CHKERR(DMSwarmGetLocalSize(self.dm, &size))
/petsc/src/dm/impls/swarm/
H A Dswarmpic.c445 PetscCall(DMSwarmGetLocalSize(sw, &n_curr)); in DMSwarmSetPointsUniformCoordinates()
606 PetscCall(DMSwarmGetLocalSize(sw, &n_curr)); in DMSwarmSetPointCoordinates()
806 PetscCall(DMSwarmGetLocalSize(sw, &npoints)); in DMSwarmCreatePointPerCellCount()
1129 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in DMSwarmInitializeCoordinates()
1225 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in DMSwarmInitializeVelocities()
1338 PetscCall(DMSwarmGetLocalSize(dm, &Np)); in DMProjectFieldLocal_Swarm()
H A Dswarmpic_view.c348 PetscCall(DMSwarmGetLocalSize(dm, &N)); in DMSwarmViewFieldsXDMF()
423 PetscCall(DMSwarmGetLocalSize(dm, &N)); in DMSwarmViewXDMF()
H A Dswarmpic_sort.c62 PetscCall(DMSwarmGetLocalSize(dm, &npoints)); in DMSwarmSortSetup()
H A Dswarm.c676 PetscCall(DMSwarmGetLocalSize(dmCoarse, &Np)); in DMCreateMassMatrix_Swarm()
900 PetscCall(DMSwarmGetLocalSize(dmCoarse, &n)); in DMSwarmCreateMassMatrixSquare()
1084 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in DMCreateGradientMatrix_Swarm()
1675 PetscErrorCode DMSwarmGetLocalSize(DM dm, PetscInt *nlocal) in DMSwarmGetLocalSize() function
2130 PetscCall(DMSwarmGetLocalSize(dm, &ng)); in DMSwarmCollectViewCreate()
2419 PetscCall(DMSwarmGetLocalSize(dm, &Np)); in DMSwarmView_Draw()
2445 PetscCall(DMSwarmGetLocalSize(dm, &Np)); in DMView_Swarm_Ascii()
2658 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in DMSwarmComputeMoments()
/petsc/src/ts/tests/
H A Dex30.c145 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in particlesToGrid()
311 PetscCall(DMSwarmGetLocalSize(sw, &npoints)); in gridToParticles_private()
331 PetscCall(DMSwarmGetLocalSize(sw, &npoints)); in gridToParticles_private()
405 PetscCall(DMSwarmGetLocalSize(sw, &NN)); in PostStep()
426 PetscCall(DMSwarmGetLocalSize(sw, &NN)); in PostStep()
788 PetscCall(DMSwarmGetLocalSize(sw, &NN)); in go()
808 PetscCall(DMSwarmGetLocalSize(sw, &NN)); in go()
/petsc/src/ts/tutorials/
H A Dex77.c445 PetscCall(DMSwarmGetLocalSize(sdm, &Np)); in FreeStreaming()
778 PetscCall(DMSwarmGetLocalSize(sdm, &Np)); in ComputeParticleError()
812 PetscCall(DMSwarmGetLocalSize(sdm, &Np)); in MonitorParticleError()
850 PetscCall(DMSwarmGetLocalSize(sdm, &n)); in AdvectParticles()
862 PetscCall(DMSwarmGetLocalSize(sdm, &newn)); in AdvectParticles()
/petsc/include/
H A Dpetscdmswarm.h121 PETSC_EXTERN PetscErrorCode DMSwarmGetLocalSize(DM, PetscInt *);
/petsc/src/snes/tests/
H A Dex15.c326 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in InitializeWeights()
403 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in InitializeConstants()
/petsc/src/ksp/ksp/tutorials/
H A Dex70.c589 PetscCall(DMSwarmGetLocalSize(dm, &ncurr)); in DMSwarmPICInsertPointsCellwise()
726 PetscCall(DMSwarmGetLocalSize(dm_mpoint, &npoints)); in MaterialPoint_AdvectRK1()
1037 PetscCall(DMSwarmGetLocalSize(dms_mpoint, &npoints)); in SolveTimeDepStokes()

12