Commit f78810ad authored by Cristian Lalescu's avatar Cristian Lalescu
Browse files

gratuitous reformatting

parent e2d41d8d
Pipeline #94900 passed with stages
in 38 minutes and 45 seconds
...@@ -102,9 +102,11 @@ protected: ...@@ -102,9 +102,11 @@ protected:
std::array<long int,3> nb_cell_levels; std::array<long int,3> nb_cell_levels;
template <class DataType, int sizeElement> template <class DataType, int sizeElement>
static void permute_copy(const partsize_t offsetIdx, const partsize_t nbElements, static void permute_copy(const partsize_t offsetIdx,
const std::pair<long int,partsize_t> permutation[], const partsize_t nbElements,
DataType data[], std::vector<unsigned char>* buffer){ const std::pair<long int, partsize_t> permutation[],
DataType data[],
std::vector<unsigned char>* buffer){
buffer->resize(nbElements*sizeof(DataType)*sizeElement); buffer->resize(nbElements*sizeof(DataType)*sizeElement);
DataType* dataBuffer = reinterpret_cast<DataType*>(buffer->data()); DataType* dataBuffer = reinterpret_cast<DataType*>(buffer->data());
......
...@@ -298,8 +298,11 @@ public: ...@@ -298,8 +298,11 @@ public:
if(computer_p2p.isEnable() == true){ if(computer_p2p.isEnable() == true){
TIMEZONE("particles_system::compute_p2p"); TIMEZONE("particles_system::compute_p2p");
distr_p2p.template compute_distr<p2p_computer_class, size_particle_positions, size_particle_rhs>( distr_p2p.template compute_distr<p2p_computer_class, size_particle_positions, size_particle_rhs>(
computer_p2p, current_my_nb_particles_per_partition.get(), computer_p2p,
my_particles_positions.get(), my_particles_rhs.data(), int(my_particles_rhs.size()), current_my_nb_particles_per_partition.get(),
my_particles_positions.get(),
my_particles_rhs.data(),
int(my_particles_rhs.size()),
my_particles_positions_indexes.get()); my_particles_positions_indexes.get());
} }
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment