Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TurTLE
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TurTLE
TurTLE
Commits
267ff8fb
Commit
267ff8fb
authored
4 years ago
by
Cristian Lalescu
Browse files
Options
Downloads
Patches
Plain Diff
adds comments
parent
cd4fdf60
No related branches found
No related tags found
No related merge requests found
Pipeline
#94968
passed
4 years ago
Stage: build
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cpp/particles/interpolation/particles_field_computer.hpp
+1
-0
1 addition, 0 deletions
cpp/particles/interpolation/particles_field_computer.hpp
cpp/particles/p2p/p2p_computer.hpp
+1
-0
1 addition, 0 deletions
cpp/particles/p2p/p2p_computer.hpp
with
2 additions
and
0 deletions
cpp/particles/interpolation/particles_field_computer.hpp
+
1
−
0
View file @
267ff8fb
...
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
cpp/particles/p2p/p2p_computer.hpp
+
1
−
0
View file @
267ff8fb
...
...
@@ -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
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment