Home
last modified time | relevance | path

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

/petsc/src/ts/tutorials/hamiltonian/
H A Dex3.c708 …scReal *weight, totalCharge = 0., totalWeight = 0., gmin[3], gmax[3], global_charge, global_weight; in InitializeConstants() local
742 …PetscCallMPI(MPIU_Allreduce(&totalWeight, &global_weight, 1, MPIU_REAL, MPIU_SUM, PETSC_COMM_WORLD… in InitializeConstants()
744 …[species[0]] = %f\ttotalCharge = %f, Total Area = %f\n", dim, (double)global_weight, (double)user-… in InitializeConstants()
H A Dex2.c1393 …scReal *weight, totalCharge = 0., totalWeight = 0., gmin[3], gmax[3], global_charge, global_weight; in InitializeConstants() local
1427 …PetscCallMPI(MPIU_Allreduce(&totalWeight, &global_weight, 1, MPIU_REAL, MPIU_SUM, PETSC_COMM_WORLD… in InitializeConstants()
1429 …[species[0]] = %f\ttotalCharge = %f, Total Area = %f\n", dim, (double)global_weight, (double)ctx->… in InitializeConstants()
H A Dex4.c2007 …scReal *weight, totalCharge = 0., totalWeight = 0., gmin[3], gmax[3], global_charge, global_weight; in InitializeConstants() local
2041 …PetscCallMPI(MPIU_Allreduce(&totalWeight, &global_weight, 1, MPIU_REAL, MPIU_SUM, PETSC_COMM_WORLD… in InitializeConstants()
2043 …[species[0]] = %f\ttotalCharge = %f, Total Area = %f\n", dim, (double)global_weight, (double)ctx->… in InitializeConstants()