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_pdata
Commits
119c2e7a
Commit
119c2e7a
authored
Aug 16, 2017
by
incardon
Browse files
Fixing Numerics
parent
318e7496
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Vector/vector_dist.hpp
View file @
119c2e7a
...
...
@@ -489,7 +489,7 @@ public:
* \return return the selected property of the vector element
*
*/
template
<
unsigned
int
id
>
inline
auto
getProp
(
vect_dist_key_dx
vec_key
)
const
->
const
decltype
(
v_prp
.
template
get
<
id
>(
vec_key
.
getKey
()))
template
<
unsigned
int
id
>
inline
auto
getProp
(
vect_dist_key_dx
vec_key
)
const
->
decltype
(
v_prp
.
template
get
<
id
>(
vec_key
.
getKey
()))
{
return
v_prp
.
template
get
<
id
>(
vec_key
.
getKey
());
}
...
...
@@ -519,7 +519,7 @@ public:
* \return return the selected property of the vector element
*
*/
template
<
unsigned
int
id
>
inline
auto
getProp
(
size_t
vec_key
)
const
->
const
decltype
(
v_prp
.
template
get
<
id
>(
vec_key
))
template
<
unsigned
int
id
>
inline
auto
getProp
(
size_t
vec_key
)
const
->
decltype
(
v_prp
.
template
get
<
id
>(
vec_key
))
{
return
v_prp
.
template
get
<
id
>(
vec_key
);
}
...
...
@@ -609,7 +609,7 @@ public:
* \return return the selected property of the vector element
*
*/
template
<
unsigned
int
id
>
inline
auto
getPropNC
(
vect_dist_key_dx
vec_key
)
const
->
const
decltype
(
v_prp
.
template
get
<
id
>(
vec_key
.
getKey
()))
template
<
unsigned
int
id
>
inline
auto
getPropNC
(
vect_dist_key_dx
vec_key
)
const
->
decltype
(
v_prp
.
template
get
<
id
>(
vec_key
.
getKey
()))
{
return
v_prp
.
template
get
<
id
>(
vec_key
.
getKey
());
}
...
...
@@ -639,7 +639,7 @@ public:
* \return return the selected property of the vector element
*
*/
template
<
unsigned
int
id
>
inline
auto
getPropNC
(
size_t
vec_key
)
const
->
const
decltype
(
v_prp
.
template
get
<
id
>(
vec_key
))
template
<
unsigned
int
id
>
inline
auto
getPropNC
(
size_t
vec_key
)
const
->
decltype
(
v_prp
.
template
get
<
id
>(
vec_key
))
{
return
v_prp
.
template
get
<
id
>(
vec_key
);
}
...
...
@@ -711,7 +711,7 @@ public:
* \return return the selected property of the vector element
*
*/
template
<
unsigned
int
id
>
inline
auto
getPropRead
(
vect_dist_key_dx
vec_key
)
const
->
const
decltype
(
v_prp
.
template
get
<
id
>(
vec_key
.
getKey
()))
template
<
unsigned
int
id
>
inline
auto
getPropRead
(
vect_dist_key_dx
vec_key
)
const
->
decltype
(
v_prp
.
template
get
<
id
>(
vec_key
.
getKey
()))
{
#ifdef SE_CLASS3
se3
.
template
read
<
id
>(
*
this
,
vec_key
.
getKey
());
...
...
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