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
54639409
Commit
54639409
authored
7 years ago
by
Pietro Incardona
Browse files
Options
Downloads
Patches
Plain Diff
Fixing compilation in sbalzarini-mac-15
parent
dd71684e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
images/Makefile.am
+1
-1
1 addition, 1 deletion
images/Makefile.am
src/Grid/grid_dist_id.hpp
+15
-15
15 additions, 15 deletions
src/Grid/grid_dist_id.hpp
with
16 additions
and
16 deletions
images/Makefile.am
+
1
−
1
View file @
54639409
LINKLIBS
=
$(
OPENMP_LDFLAGS
)
$(
LIBHILBERT_LIB
)
$(
PETSC_LIB
)
$(
METIS_LIB
)
$(
PARMETIS_LIB
)
$(
PTHREAD_LIBS
)
$(
OPT_LIBS
)
$(
BOOST_LDFLAGS
)
$(
BOOST_IOSTREAMS_LIB
)
$(
CUDA_LIBS
)
LINKLIBS
=
$(
HDF5_LDFLAGS
)
$(
HDF5_LIBS
)
$(
OPENMP_LDFLAGS
)
$(
LIBHILBERT_LIB
)
$(
PETSC_LIB
)
$(
METIS_LIB
)
$(
PARMETIS_LIB
)
$(
PTHREAD_LIBS
)
$(
OPT_LIBS
)
$(
BOOST_LDFLAGS
)
$(
BOOST_IOSTREAMS_LIB
)
$(
CUDA_LIBS
)
noinst_PROGRAMS
=
cart_dec metis_dec dom_box vector_dist
noinst_PROGRAMS
=
cart_dec metis_dec dom_box vector_dist
cart_dec_SOURCES
=
CartDecomposition_gen_vtk.cpp ../src/lib/pdata.cpp ../openfpm_devices/src/memory/HeapMemory.cpp ../openfpm_devices/src/memory/PtrMemory.cpp ../openfpm_vcluster/src/VCluster/VCluster.cpp ../openfpm_devices/src/Memleak_check.cpp
cart_dec_SOURCES
=
CartDecomposition_gen_vtk.cpp ../src/lib/pdata.cpp ../openfpm_devices/src/memory/HeapMemory.cpp ../openfpm_devices/src/memory/PtrMemory.cpp ../openfpm_vcluster/src/VCluster/VCluster.cpp ../openfpm_devices/src/Memleak_check.cpp
...
...
This diff is collapsed.
Click to expand it.
src/Grid/grid_dist_id.hpp
+
15
−
15
View file @
54639409
...
@@ -1155,9 +1155,12 @@ public:
...
@@ -1155,9 +1155,12 @@ public:
* \return the selected element
* \return the selected element
*
*
*/
*/
template
<
unsigned
int
p
>
inline
auto
get
Prop
(
const
grid_dist_key_dx
<
dim
>
&
v1
)
const
->
decltype
(
this
->
template
get
<
p
>(
v1
))
template
<
unsigned
int
p
>
inline
auto
get
(
const
grid_dist_key_dx
<
dim
>
&
v1
)
const
->
typename
std
::
add_lvalue_reference
<
decltype
(
loc_grid
.
get
(
v1
.
getSub
()).
template
get
<
p
>(
v1
.
getKey
()))
>::
type
{
{
return
this
->
template
get
<
p
>(
v1
);
#ifdef SE_CLASS2
check_valid
(
this
,
8
);
#endif
return
loc_grid
.
get
(
v1
.
getSub
()).
template
get
<
p
>(
v1
.
getKey
());
}
}
/*! \brief Get the reference of the selected element
/*! \brief Get the reference of the selected element
...
@@ -1168,12 +1171,14 @@ public:
...
@@ -1168,12 +1171,14 @@ public:
* \return the selected element
* \return the selected element
*
*
*/
*/
template
<
unsigned
int
p
>
inline
auto
get
Prop
(
const
grid_dist_key_dx
<
dim
>
&
v1
)
->
decltype
(
this
->
template
get
<
p
>(
v1
))
template
<
unsigned
int
p
>
inline
auto
get
(
const
grid_dist_key_dx
<
dim
>
&
v1
)
->
typename
std
::
add_lvalue_reference
<
decltype
(
loc_grid
.
get
(
v1
.
getSub
()).
template
get
<
p
>(
v1
.
getKey
()))
>::
type
{
{
return
this
->
template
get
<
p
>(
v1
);
#ifdef SE_CLASS2
check_valid
(
this
,
8
);
#endif
return
loc_grid
.
get
(
v1
.
getSub
()).
template
get
<
p
>(
v1
.
getKey
());
}
}
/*! \brief Get the reference of the selected element
/*! \brief Get the reference of the selected element
*
*
* \tparam p property to get (is an integer)
* \tparam p property to get (is an integer)
...
@@ -1182,12 +1187,9 @@ public:
...
@@ -1182,12 +1187,9 @@ public:
* \return the selected element
* \return the selected element
*
*
*/
*/
template
<
unsigned
int
p
>
inline
auto
get
(
const
grid_dist_key_dx
<
dim
>
&
v1
)
const
->
typename
std
::
add_lvalue_reference
<
decltype
(
loc_grid
.
get
(
v1
.
getSub
()).
template
get
<
p
>(
v1
.
getKey
()))
>::
type
template
<
unsigned
int
p
>
inline
auto
get
Prop
(
const
grid_dist_key_dx
<
dim
>
&
v1
)
const
->
decltype
(
this
->
template
get
<
p
>(
v1
))
{
{
#ifdef SE_CLASS2
return
this
->
template
get
<
p
>(
v1
);
check_valid
(
this
,
8
);
#endif
return
loc_grid
.
get
(
v1
.
getSub
()).
template
get
<
p
>(
v1
.
getKey
());
}
}
/*! \brief Get the reference of the selected element
/*! \brief Get the reference of the selected element
...
@@ -1198,14 +1200,12 @@ public:
...
@@ -1198,14 +1200,12 @@ public:
* \return the selected element
* \return the selected element
*
*
*/
*/
template
<
unsigned
int
p
>
inline
auto
get
(
const
grid_dist_key_dx
<
dim
>
&
v1
)
->
typename
std
::
add_lvalue_reference
<
decltype
(
loc_grid
.
get
(
v1
.
getSub
()).
template
get
<
p
>(
v1
.
getKey
()))
>::
type
template
<
unsigned
int
p
>
inline
auto
get
Prop
(
const
grid_dist_key_dx
<
dim
>
&
v1
)
->
decltype
(
this
->
template
get
<
p
>(
v1
))
{
{
#ifdef SE_CLASS2
return
this
->
template
get
<
p
>(
v1
);
check_valid
(
this
,
8
);
#endif
return
loc_grid
.
get
(
v1
.
getSub
()).
template
get
<
p
>(
v1
.
getKey
());
}
}
//! Flag that indicate if the external ghost box has been initialized
//! Flag that indicate if the external ghost box has been initialized
bool
init_e_g_box
=
false
;
bool
init_e_g_box
=
false
;
...
...
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