Home
last modified time | relevance | path

Searched refs:totE (Results 1 – 1 of 1) sorted by relevance

/petsc/src/ts/interface/
H A Dtsmon.c1842 PetscReal m = 1.0, totE = 0., totMom[3] = {0., 0., 0.}; in TSDMSwarmMonitorMoments() local
1858 totE += PetscRealPart(u[p * dim + d] * u[p * dim + d]); in TSDMSwarmMonitorMoments()
1864 totE *= 0.5 * m; in TSDMSwarmMonitorMoments()
1865 PetscCall(PetscPrintf(comm, "Step %4" PetscInt_FMT " Total Energy: %10.8lf", step, (double)totE)); in TSDMSwarmMonitorMoments()