Lines Matching refs:Ncp
1069 PetscInt Ncp; in ComputeFieldAtParticles_Primal() local
1071 PetscCall(DMSwarmSortGetNumberOfPointsPerCell(sw, c, &Ncp)); in ComputeFieldAtParticles_Primal()
1072 maxNcp = PetscMax(maxNcp, Ncp); in ComputeFieldAtParticles_Primal()
1081 PetscInt Ncp; in ComputeFieldAtParticles_Primal() local
1083 PetscCall(DMSwarmSortGetPointsPerCell(sw, c, &Ncp, &points)); in ComputeFieldAtParticles_Primal()
1084 for (PetscInt cp = 0; cp < Ncp; ++cp) in ComputeFieldAtParticles_Primal()
1088 for (PetscInt i = 0; i < Ncp; ++i) { in ComputeFieldAtParticles_Primal()
1093 PetscCall(PetscFEComputeTabulation(fe, Ncp, refcoord, 1, tab)); in ComputeFieldAtParticles_Primal()
1095 for (PetscInt cp = 0; cp < Ncp; ++cp) { in ComputeFieldAtParticles_Primal()
1104 PetscCall(DMSwarmSortRestorePointsPerCell(sw, c, &Ncp, &points)); in ComputeFieldAtParticles_Primal()
1341 PetscInt Ncp; in RHSObjectiveF() local
1343 PetscCall(DMSwarmSortGetPointsPerCell(sw, c, &Ncp, &points)); in RHSObjectiveF()
1344 for (PetscInt cp = 0; cp < Ncp; ++cp) { in RHSObjectiveF()
1350 PetscCall(DMSwarmSortRestorePointsPerCell(sw, c, &Ncp, &points)); in RHSObjectiveF()