![]() |
SPEED
|
Go to the source code of this file.
Functions/Subroutines | |
| subroutine | check_mpi (n, v, ind, tt, pos) |
| Checks if a an element is present on a vector and give its position. | |
| subroutine check_mpi | ( | integer*4, intent(in) | n, |
| integer*4, dimension(0:n), intent(in) | v, | ||
| integer*4, intent(in) | ind, | ||
| integer*4, intent(out) | tt, | ||
| integer*4, intent(out) | pos | ||
| ) |
Checks if a an element is present on a vector and give its position.
| [in] | n | dimension of the vector v |
| [in] | v | vector |
| [in] | index | to find |
| [out] | tt | 1 if ind is in v, 0 otherwise |
| [out] | pos | position of ind in v |
Definition at line 29 of file CHECK_MPI.f90.
Referenced by compute_energy_error(), and setup_mpi_jump().
