Home
last modified time | relevance | path

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

/petsc/src/ts/tutorials/hamiltonian/
H A Dex2.c685 PetscReal totWgt = 0.; in MonitorVelocity() local
702 totWgt += weight[p]; in MonitorVelocity()
706 PetscCall(VecScale(cellw, 1. / totWgt)); in MonitorVelocity()
H A Dex4.c1201 PetscReal totWgt = 0.; in MonitorVelocity() local
1218 totWgt += weight[p]; in MonitorVelocity()
1222 PetscCall(VecScale(cellw, 1. / totWgt)); in MonitorVelocity()