Skip to content
Snippets Groups Projects
Commit 267ff8fb authored by Cristian Lalescu's avatar Cristian Lalescu
Browse files

adds comments

parent cd4fdf60
No related branches found
No related tags found
No related merge requests found
Pipeline #94968 passed
......@@ -93,6 +93,7 @@ public:
void init_result_array(real_number particles_current_rhs[],
const partsize_t nb_particles) const {
// Set values to zero initialy
// TODO: openmp
std::fill(particles_current_rhs,
particles_current_rhs+nb_particles*size_particle_rhs,
0);
......
......@@ -55,6 +55,7 @@ public:
template <int size_particle_rhs>
void init_result_array(real_number rhs[], const partsize_t nbParticles) const{
// TODO: openmp
memset(rhs, 0, sizeof(real_number)*nbParticles*size_particle_rhs);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment