Lines Matching refs:Ns
518 …onst char label[], int x, int y, int m, int n, PetscInt howoften, PetscInt Ns, PetscInt Nb, PetscB… in TSMonitorHGCtxCreate() argument
524 PetscCall(PetscMPIIntCast(Ns, &Nsi)); in TSMonitorHGCtxCreate()
527 PetscCall(PetscMalloc1(Ns, &(*ctx)->hg)); in TSMonitorHGCtxCreate()
536 (*ctx)->Ns = Ns; in TSMonitorHGCtxCreate()
547 for (s = 0; s < (*ctx)->Ns; ++s) PetscCall(PetscDrawHGDestroy(&(*ctx)->hg[s])); in TSMonitorHGCtxDestroy()
1508 PetscInt dim, d = 0, Np, p, Ns, s; in TSMonitorHGSwarmSolution() local
1514 PetscCall(DMSwarmGetNumSpecies(sw, &Ns)); in TSMonitorHGSwarmSolution()
1515 Ns = PetscMin(Ns, ctx->Ns); in TSMonitorHGSwarmSolution()
1522 for (s = 0; s < Ns; ++s) { in TSMonitorHGSwarmSolution()
1531 for (s = 0; s < Ns; ++s) { in TSMonitorHGSwarmSolution()
1539 const PetscInt s = species[p] < Ns ? species[p] : 0; in TSMonitorHGSwarmSolution()
1547 for (s = 0; s < Ns; ++s) { in TSMonitorHGSwarmSolution()