Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
openfpm_pdata
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
Model registry
Operate
Environments
Monitor
Incidents
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
Sbalzarini Lab
Software
Parallel Computing
OpenFPM
openfpm_pdata
Commits
d3b13129
Commit
d3b13129
authored
2 years ago
by
Abhinav Singh
Browse files
Options
Downloads
Patches
Plain Diff
adding getSubset for getting the subset number
parent
1a01add7
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Vector/vector_dist_subset.hpp
+5
-0
5 additions, 0 deletions
src/Vector/vector_dist_subset.hpp
with
5 additions
and
0 deletions
src/Vector/vector_dist_subset.hpp
+
5
−
0
View file @
d3b13129
...
...
@@ -28,6 +28,11 @@ class vector_dist_ws : public vector_dist<dim,St,typename AggregateAppend<int,pr
this
->
template
getProp
<
flag_prop
::
value
>(
key
)
=
sub_id
;
}
int
getSubset
(
vect_dist_key_dx
key
)
{
return
this
->
template
getProp
<
flag_prop
::
value
>(
key
);
}
void
ghost_get_subset
()
{
this
->
template
ghost_get
<
flag_prop
::
value
>(
NO_POSITION
|
SKIP_LABELLING
);
...
...
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