Home
last modified time | relevance | path

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

/petsc/src/ts/tutorials/hamiltonian/
H A Dex3.c708 …PetscReal *weight, totalCharge = 0., totalWeight = 0., gmin[3], gmax[3], global_charge, global_wei… in InitializeConstants() local
743 …PetscCallMPI(MPIU_Allreduce(&totalCharge, &global_charge, 1, MPIU_REAL, MPIU_SUM, PETSC_COMM_WORLD… in InitializeConstants()
744 … %f\n", dim, (double)global_weight, (double)user->charges[0], (double)global_charge, (double)Area)… in InitializeConstants()
745 param->sigma = PetscAbsReal(global_charge / (Area)); in InitializeConstants()
H A Dex2.c1393 …PetscReal *weight, totalCharge = 0., totalWeight = 0., gmin[3], gmax[3], global_charge, global_wei… in InitializeConstants() local
1428 …PetscCallMPI(MPIU_Allreduce(&totalCharge, &global_charge, 1, MPIU_REAL, MPIU_SUM, PETSC_COMM_WORLD… in InitializeConstants()
1429 …= %f\n", dim, (double)global_weight, (double)ctx->charges[0], (double)global_charge, (double)Area)… in InitializeConstants()
1430 param->sigma = PetscAbsReal(global_charge / (Area)); in InitializeConstants()
H A Dex4.c2007 …PetscReal *weight, totalCharge = 0., totalWeight = 0., gmin[3], gmax[3], global_charge, global_wei… in InitializeConstants() local
2042 …PetscCallMPI(MPIU_Allreduce(&totalCharge, &global_charge, 1, MPIU_REAL, MPIU_SUM, PETSC_COMM_WORLD… in InitializeConstants()
2043 …= %f\n", dim, (double)global_weight, (double)ctx->charges[0], (double)global_charge, (double)Area)… in InitializeConstants()
2044 param->sigma = PetscAbsReal(global_charge / (Area)); in InitializeConstants()