Searched refs:rmom (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/ksp/ksp/utils/dm/ |
| H A D | dmproject.c | 1227 PetscScalar rmom; in DMSwarmRemap_PFAK_Internal() local 1233 PetscCall(DMPlexComputeIntegralFEM(rdm, u_f, &rmom, ctx)); in DMSwarmRemap_PFAK_Internal() 1234 mom[1 + cdim] = PetscRealPart(rmom); in DMSwarmRemap_PFAK_Internal() 1297 PetscReal mom[4], rmom[4]; in DMSwarmRemapMonitor_Internal() local 1303 PetscCall(DMSwarmComputeMoments(rsw, "velocity", "w_q", rmom)); in DMSwarmRemapMonitor_Internal() 1305 PetscCall(PetscPrintf(PETSC_COMM_SELF, "Mom 0: %g --> %g\n", (double)mom[0], (double)rmom[0])); in DMSwarmRemapMonitor_Internal() 1306 PetscCall(PetscPrintf(PETSC_COMM_SELF, "Mom 1: %g --> %g\n", (double)mom[1], (double)rmom[1])); in DMSwarmRemapMonitor_Internal() 1307 …PetscCall(PetscPrintf(PETSC_COMM_SELF, "Mom 2: %g --> %g\n", (double)mom[1 + cdim], (double)rmom[1… in DMSwarmRemapMonitor_Internal()
|