Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sbalzarini Lab
S
Software
P
Parallel Computing
OpenFPM
openfpm_data
Commits
6c2a5911
Commit
6c2a5911
authored
Feb 14, 2018
by
incardon
Browse files
Fixing clang compilation
parent
449fca38
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/NN/CellList/CellList.hpp
View file @
6c2a5911
...
...
@@ -276,7 +276,7 @@ protected:
// * * *
NNc_array
<
dim
,
openfpm
::
math
::
pow
(
3
,
dim
)
>
NNc_full
;
NNc_array
<
dim
,
(
unsigned
int
)
openfpm
::
math
::
pow
(
3
,
dim
)
>
NNc_full
;
// long int NNc_full[openfpm::math::pow(3,dim)];
//! The array contain the neighborhood of the cell-id in case of symmetric interaction
...
...
@@ -285,7 +285,7 @@ protected:
// x *
//
// long int NNc_sym[openfpm::math::pow(3,dim)/2+1];
NNc_array
<
dim
,
openfpm
::
math
::
pow
(
3
,
dim
)
/
2
+
1
>
NNc_sym
;
NNc_array
<
dim
,
(
unsigned
int
)
openfpm
::
math
::
pow
(
3
,
dim
)
/
2
+
1
>
NNc_sym
;
private:
...
...
@@ -856,9 +856,9 @@ public:
* \return An iterator across the neighhood particles
*
*/
template
<
unsigned
int
impl
=
NO_CHECK
>
inline
CellNNIterator
<
dim
,
CellList
<
dim
,
T
,
Mem_type
,
transform
,
base
>
,
FULL
,
impl
>
getNNIterator
(
size_t
cell
)
template
<
unsigned
int
impl
=
NO_CHECK
>
inline
CellNNIterator
<
dim
,
CellList
<
dim
,
T
,
Mem_type
,
transform
,
base
>
,
(
int
)
FULL
,
impl
>
getNNIterator
(
size_t
cell
)
{
CellNNIterator
<
dim
,
CellList
<
dim
,
T
,
Mem_type
,
transform
,
base
>
,
FULL
,
impl
>
cln
(
cell
,
NNc_full
,
*
this
);
CellNNIterator
<
dim
,
CellList
<
dim
,
T
,
Mem_type
,
transform
,
base
>
,
(
int
)
FULL
,
impl
>
cln
(
cell
,
NNc_full
,
*
this
);
return
cln
;
}
...
...
@@ -905,7 +905,9 @@ public:
* \return An aiterator across the neighborhood particles
*
*/
template
<
unsigned
int
impl
>
inline
CellNNIteratorSym
<
dim
,
CellList
<
dim
,
T
,
Mem_type
,
transform
,
base
>
,
SYM
,
impl
>
getNNIteratorSym
(
size_t
cell
,
size_t
p
,
const
openfpm
::
vector
<
Point
<
dim
,
T
>>
&
v
)
template
<
unsigned
int
impl
>
inline
CellNNIteratorSym
<
dim
,
CellList
<
dim
,
T
,
Mem_type
,
transform
,
base
>
,(
unsigned
int
)
SYM
,
impl
>
getNNIteratorSym
(
size_t
cell
,
size_t
p
,
const
openfpm
::
vector
<
Point
<
dim
,
T
>>
&
v
)
{
#ifdef SE_CLASS1
if
(
from_cd
==
false
)
...
...
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