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
4c42c116
Commit
4c42c116
authored
4 years ago
by
Pietro Incardona
Browse files
Options
Downloads
Patches
Plain Diff
Latest modules
parent
2b356f95
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
openfpm_numerics
+1
-1
1 addition, 1 deletion
openfpm_numerics
src/Grid/staggered_dist_grid.hpp
+17
-0
17 additions, 0 deletions
src/Grid/staggered_dist_grid.hpp
with
18 additions
and
1 deletion
openfpm_numerics
@
d0f3b781
Subproject commit
515ec9bf8f1b482ad0b3d2c45ed9c36673f15a8e
Subproject commit
d0f3b7819273efc599f5667de5c7c73fb9f5be3c
This diff is collapsed.
Click to expand it.
src/Grid/staggered_dist_grid.hpp
+
17
−
0
View file @
4c42c116
...
...
@@ -104,6 +104,23 @@ public:
:
grid_dist_id
<
dim
,
St
,
T
,
Decomposition
,
Memory
,
device_grid
>
(
g_sz
,
domain
,
ghost
)
{}
/*! It construct a grid of a specified size, defined on a specified Box space, having a specified ghost size and periodicity
*
* \param g_sz grid size on each dimension
* \param domain Box that contain the grid
* \param g Ghost part of the domain (given in grid units)
* \param p periodicity
*
* \warning In very rare case the ghost part can be one point bigger than the one specified
*
*/
staggered_grid_dist
(
const
size_t
(
&
g_sz
)[
dim
],
const
Box
<
dim
,
St
>
&
domain
,
const
Ghost
<
dim
,
long
int
>
&
g
,
const
periodicity
<
dim
>
&
p
)
:
grid_dist_id
<
dim
,
St
,
T
,
Decomposition
,
Memory
,
device_grid
>
(
g_sz
,
domain
,
g
,
p
)
{
}
/*! \brief set the staggered positions of the properties
*
* \tparam property p
...
...
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