Searched refs:wtot (Results 1 – 3 of 3) sorted by relevance
| /petsc/src/ts/tutorials/hamiltonian/ |
| H A D | ex3.c | 683 PetscReal wtot[2] = {pwtot, xwtot}, gwtot[2]; in InitializeWeights() local 686 PetscCallMPI(MPIU_Allreduce(wtot, gwtot, 2, MPIU_REAL, MPIU_SUM, PETSC_COMM_WORLD)); in InitializeWeights()
|
| H A D | ex2.c | 1368 PetscReal wtot[2] = {pwtot, xwtot}, gwtot[2]; in InitializeWeights() local 1371 PetscCallMPI(MPIU_Allreduce(wtot, gwtot, 2, MPIU_REAL, MPIU_SUM, PETSC_COMM_WORLD)); in InitializeWeights()
|
| H A D | ex4.c | 1982 PetscReal wtot[2] = {pwtot, xwtot}, gwtot[2]; in InitializeWeights() local 1985 PetscCallMPI(MPIU_Allreduce(wtot, gwtot, 2, MPIU_REAL, MPIU_SUM, PETSC_COMM_WORLD)); in InitializeWeights()
|