Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openfpm_pdata
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
argupta
openfpm_pdata
Commits
095d0bdb
Commit
095d0bdb
authored
10 years ago
by
Pietro Incardona
Browse files
Options
Downloads
Patches
Plain Diff
Parallel data structure
parent
5675618e
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/grid_dist.hpp
+28
-2
28 additions, 2 deletions
src/grid_dist.hpp
with
28 additions
and
2 deletions
src/grid_dist.hpp
+
28
−
2
View file @
095d0bdb
...
...
@@ -150,14 +150,40 @@ class grid_dist
//! Space Decomposition
Decomposition
dec
;
public:
//! constructor
grid_dist
(
Decomposition
dec
)
grid_dist
()
:
loc_grid
(
NULL
)
{
}
/*! \brief get the object that store the decomposition information
*
* get the object that store the decomposition information
*
* \return the decomposition object
*
*/
Decomposition
&
getDecomposition
()
{
return
dec
;
}
/*! \brief Decompose the domain
*
* Decompose the domain
*
*/
void
Decompose
()
{
// ! Create an hyper-cube approximation.
// ! In order to work on grid_dist the decomposition
// ! has to be a set of hyper-cube
dec
.
H
yperCube
();
dec
.
h
yperCube
();
// Get the number of local grid needed
...
...
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