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
9ca08caa
Commit
9ca08caa
authored
3 years ago
by
Pietro Incardona
Browse files
Options
Downloads
Patches
Plain Diff
Fixing OpenFPM versioning in CMake
parent
c51b0e61
No related branches found
No related tags found
No related merge requests found
Pipeline
#3500
passed
3 years ago
Stage: build
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+1
-1
1 addition, 1 deletion
CMakeLists.txt
src/Vector/vector_dist.hpp
+16
-0
16 additions, 0 deletions
src/Vector/vector_dist.hpp
with
17 additions
and
1 deletion
CMakeLists.txt
+
1
−
1
View file @
9ca08caa
...
@@ -11,7 +11,7 @@ if (POLICY CMP0074)
...
@@ -11,7 +11,7 @@ if (POLICY CMP0074)
cmake_policy
(
SET CMP0074 NEW
)
cmake_policy
(
SET CMP0074 NEW
)
endif
()
endif
()
set
(
openfpm_VERSION
3.3
.0
)
set
(
openfpm_VERSION
4.0
.0
)
list
(
APPEND CMAKE_MODULE_PATH
${
CMAKE_CURRENT_LIST_DIR
}
/cmake_modules/
)
list
(
APPEND CMAKE_MODULE_PATH
${
CMAKE_CURRENT_LIST_DIR
}
/cmake_modules/
)
...
...
This diff is collapsed.
Click to expand it.
src/Vector/vector_dist.hpp
+
16
−
0
View file @
9ca08caa
...
@@ -2530,6 +2530,22 @@ public:
...
@@ -2530,6 +2530,22 @@ public:
g_m
-=
keys
.
size
();
g_m
-=
keys
.
size
();
}
}
/*! \brief Remove a set of elements from the distributed vector
*
* \warning keys must be sorted
*
* \param keys vector of elements to eliminate
* \param start from where to eliminate
*
*/
void
remove
(
openfpm
::
vector
<
aggregate
<
int
>>
&
keys
,
size_t
start
=
0
)
{
v_pos
.
remove
(
keys
,
start
);
v_prp
.
remove
(
keys
,
start
);
g_m
-=
keys
.
size
();
}
/*! \brief Remove one element from the distributed vector
/*! \brief Remove one element from the distributed vector
*
*
* \param key remove one element from the vector
* \param key remove one element from the vector
...
...
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