Lines Matching refs:NUM_FIELDS
39 NUM_FIELDS enumerator
322 PetscScalar S = a[aOff[NUM_FIELDS]]; in P_0()
331 PetscScalar S = a[aOff[NUM_FIELDS]]; in P_0_aux()
900 VecScatter subsct[NUM_FIELDS];
901 Vec subvec[NUM_FIELDS];
941 for (PetscInt i = 0; i < NUM_FIELDS; i++) { in ProcessOptions()
1283 void *ctxs[NUM_FIELDS + 1]; in ProjectAuxDM()
1284 PetscScalar vals[NUM_FIELDS + 1]; in ProjectAuxDM()
1287 …PetscErrorCode (*funcs[NUM_FIELDS + 1])(PetscInt, PetscReal, const PetscReal[], PetscInt, PetscSca… in ProjectAuxDM()
1293 PetscInt fields[NUM_FIELDS]; in ProjectAuxDM()
1299 PetscCall(DMSetNumFields(dmAux, NUM_FIELDS + 1)); in ProjectAuxDM()
1300 for (PetscInt i = 0; i < NUM_FIELDS; i++) { in ProjectAuxDM()
1309 PetscCall(DMSetField(dmAux, NUM_FIELDS, NULL, (PetscObject)field)); in ProjectAuxDM()
1312 PetscCall(DMCreateSubDM(dmAux, NUM_FIELDS, fields, &is, NULL)); in ProjectAuxDM()
1337 funcs[NUM_FIELDS] = source; in ProjectAuxDM()
1338 ctxs[NUM_FIELDS] = ctx->source_ctx; in ProjectAuxDM()
1342 PetscCall(PetscDSSetObjective(ds, NUM_FIELDS, average)); in ProjectAuxDM()
1344 PetscCall(VecShift(a, -vals[NUM_FIELDS] / ctx->domain_volume)); in ProjectAuxDM()
1361 …PetscErrorCode (*funcs[NUM_FIELDS])(PetscInt, PetscReal, const PetscReal[], PetscInt, PetscScalar … in CreatePotentialNullSpace()
1432 PetscReal vals[NUM_FIELDS]; in DMPlexTSComputeIFunctionFEM_Private()
1482 PetscScalar vals[NUM_FIELDS]; in SetupProblem()
1483 PetscInt fields[NUM_FIELDS] = {C_FIELD_ID, P_FIELD_ID}; in SetupProblem()
1691 PetscScalar vals[NUM_FIELDS]; in ZeroMeanPotential()
1717 PetscInt fields[NUM_FIELDS] = {C_FIELD_ID, P_FIELD_ID}; in SetInitialConditionsAndTolerances()
1777 …PetscErrorCode (*funcs[NUM_FIELDS])(PetscInt, PetscReal, const PetscReal[], PetscInt, PetscScalar … in SetInitialConditionsAndTolerances()
1778 void *ctxs[NUM_FIELDS] = {NULL}; in SetInitialConditionsAndTolerances()
1865 …PetscCall(VecCreateMPI(PetscObjectComm((PetscObject)ts), NUM_FIELDS * (cEnd - cStart), PETSC_DECID… in ResizeSetUp()
1867 PetscCall(VecSetBlockSize(ellVecCellsF, NUM_FIELDS)); in ResizeSetUp()
1899 …void (*funcs[NUM_FIELDS])(PetscInt dim, PetscInt Nf, PetscInt NfAux, const PetscInt uOff[], const … in ResizeSetUp()
1924 PetscInt fields[NUM_FIELDS] = {C_FIELD_ID, P_FIELD_ID}; in ResizeTransfer()
1961 for (PetscInt i = 0; i < NUM_FIELDS; i++) { in ResizeTransfer()
2023 PetscScalar vals[NUM_FIELDS]; in FunctionDomainError()
2044 PetscScalar vals[2 * NUM_FIELDS]; in Monitor()
2062 PetscCall(DMPlexComputeIntegralFEM(dm, u, vals + NUM_FIELDS, NULL)); in Monitor()
2066 …), (double)PetscRealPart(vals[P_FIELD_ID]), (double)PetscRealPart(vals[NUM_FIELDS + C_FIELD_ID]))); in Monitor()
2212 PetscReal subnorm[NUM_FIELDS]; in MonitorNorms()
2351 for (PetscInt i = 0; i < NUM_FIELDS; i++) { in Run()