Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
O
openfpm_pdata
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openfpm
openfpm_pdata
Commits
57a0ee07
Commit
57a0ee07
authored
Jun 16, 2016
by
Pietro Incardona
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Operators working
parent
1506debf
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
579 additions
and
183 deletions
+579
-183
Makefile.am
Makefile.am
+24
-1
src/Grid/grid_dist_id.hpp
src/Grid/grid_dist_id.hpp
+1
-1
src/Makefile.am
src/Makefile.am
+3
-0
src/Vector/vector_dist_operators.hpp
src/Vector/vector_dist_operators.hpp
+225
-127
src/Vector/vector_dist_operators_unit_tests.hpp
src/Vector/vector_dist_operators_unit_tests.hpp
+325
-53
src/Vector/vector_dist_unit_test.hpp
src/Vector/vector_dist_unit_test.hpp
+1
-1
No files found.
Makefile.am
View file @
57a0ee07
SUBDIRS
=
src images openfpm_data openfpm_io openfpm_devices openfpm_vcluster openfpm_numerics
bin_PROGRAMS
=
bin_PROGRAMS
=
test_pdata
:
cd
src
&&
make
test
test_data
:
cd
openfpm_data/src
&&
make
test
test_devices
:
cd
openfpm_devices/src
&&
make
test
test_vcluster
:
cd
openfpm_vcluster/src
&&
make
test
test_io
:
cd
openfpm_io/src
&&
make
test
test_numerics
:
cd
openfpm_numerics/src
&&
make
test
test
:
test_devices test_data test_vcluster test_pdata test_io test_numerics
.PHONY
:
test_pdata test_data test_devices test_vcluster test_io test_numerics
src/Grid/grid_dist_id.hpp
View file @
57a0ee07
...
...
@@ -549,7 +549,7 @@ protected:
*/
Point
<
dim
,
St
>
getOffset
(
size_t
i
)
{
return
Point
<
dim
,
St
>
(
gdb_ext
.
get
(
i
).
origin
)
*
cd_sm
.
getCellBox
().
getP2
(
);
return
pmul
(
Point
<
dim
,
St
>
(
gdb_ext
.
get
(
i
).
origin
),
cd_sm
.
getCellBox
().
getP2
()
);
}
/*! \brief Given a local sub-domain i with a local grid Domain + ghost return the part of the local grid that is domain
...
...
src/Makefile.am
View file @
57a0ee07
...
...
@@ -23,3 +23,6 @@ libofpm_pdata_a_CFLAGS =
.cu.o
:
$(NVCC)
$(NVCCFLAGS)
-o
$@
-c
$<
test
:
pdata
source
$(HOME)
/openfpm_vars
&&
cd
..
&&
mpirun
-np
3 ./src/pdata
&&
mpirun
-np
4 ./src/pdata
src/Vector/vector_dist_operators.hpp
View file @
57a0ee07
This diff is collapsed.
Click to expand it.
src/Vector/vector_dist_operators_unit_tests.hpp
View file @
57a0ee07
This diff is collapsed.
Click to expand it.
src/Vector/vector_dist_unit_test.hpp
View file @
57a0ee07
...
...
@@ -140,7 +140,7 @@ BOOST_AUTO_TEST_CASE( vector_dist_ghost )
spacing
=
spacing
/
g_div
;
// middle spacing
Point
<
2
,
float
>
m_spacing
=
spacing
/
2
;
Point
<
2
,
float
>
m_spacing
=
spacing
/
2
.0
;
// set the ghost based on the radius cut off (make just a little bit smaller than the spacing)
Ghost
<
2
,
float
>
g
(
spacing
.
get
(
0
)
-
spacing
.
get
(
0
)
*
0.0001
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment