| 444 |
|
RealType kinetic; |
| 445 |
|
RealType potential; |
| 446 |
|
RealType eatom; |
| 447 |
– |
RealType AvgE_a_ = 0; |
| 447 |
|
// Convective portion of the heat flux |
| 448 |
|
Vector3d heatFluxJc = V3Zero; |
| 449 |
|
|
| 831 |
|
data[0] = pos1.x(); |
| 832 |
|
data[1] = pos1.y(); |
| 833 |
|
data[2] = pos1.z(); |
| 834 |
< |
MPI_Bcast(data, 3, MPI_REALTYPE, proc1, MPI_COMM_WORLD); |
| 834 |
> |
MPI::COMM_WORLD.Bcast(data, 3, MPI::REALTYPE, proc1); |
| 835 |
|
} else { |
| 836 |
< |
MPI_Bcast(data, 3, MPI_REALTYPE, proc1, MPI_COMM_WORLD); |
| 836 |
> |
MPI::COMM_WORLD.Bcast(data, 3, MPI::REALTYPE, proc1); |
| 837 |
|
pos1 = Vector3d(data); |
| 838 |
|
} |
| 839 |
|
|
| 842 |
|
pos2 = sd2->getPos(); |
| 843 |
|
data[0] = pos2.x(); |
| 844 |
|
data[1] = pos2.y(); |
| 845 |
< |
data[2] = pos2.z(); |
| 846 |
< |
MPI_Bcast(data, 3, MPI_REALTYPE, proc2, MPI_COMM_WORLD); |
| 845 |
> |
data[2] = pos2.z(); |
| 846 |
> |
MPI::COMM_WORLD.Bcast(data, 3, MPI::REALTYPE, proc2); |
| 847 |
|
} else { |
| 848 |
< |
MPI_Bcast(data, 3, MPI_REALTYPE, proc2, MPI_COMM_WORLD); |
| 848 |
> |
MPI::COMM_WORLD.Bcast(data, 3, MPI::REALTYPE, proc2); |
| 849 |
|
pos2 = Vector3d(data); |
| 850 |
|
} |
| 851 |
|
#else |