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
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
argupta
openfpm_pdata
Commits
b17e39ed
Commit
b17e39ed
authored
Oct 27, 2016
by
incardon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing the examples for OSX
parent
30bd0cd1
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
21 additions
and
7 deletions
+21
-7
example/Plot/2_PSE_convergence/main.cpp
example/Plot/2_PSE_convergence/main.cpp
+14
-0
example/Vector/3_molecular_dynamic/Makefile
example/Vector/3_molecular_dynamic/Makefile
+1
-1
example/Vector/4_complex_prop/Makefile
example/Vector/4_complex_prop/Makefile
+1
-1
example/Vector/4_multiphase_celllist_verlet/Makefile
example/Vector/4_multiphase_celllist_verlet/Makefile
+1
-1
example/Vector/4_reorder/Makefile
example/Vector/4_reorder/Makefile
+1
-1
example/Vector/5_molecular_dynamic_sym/Makefile
example/Vector/5_molecular_dynamic_sym/Makefile
+1
-1
example/Vector/6_complex_usage/Makefile
example/Vector/6_complex_usage/Makefile
+1
-1
example/Vector/6_complex_usage/main.cpp
example/Vector/6_complex_usage/main.cpp
+1
-1
No files found.
example/Plot/2_PSE_convergence/main.cpp
View file @
b17e39ed
...
...
@@ -10,6 +10,14 @@
*
*/
#include "config/config.h"
// Some compiler like clang does not have libquadmath this example
// require libquadmath. So is active only if in openfpm installation
// such library has been detected
#ifdef HAVE_LIBQUADMATH
#include "VCluster.hpp"
#include "PSE/Kernels_test_util.hpp"
#include "Plot/GoogleChart.hpp"
...
...
@@ -158,5 +166,11 @@ int main(int argc, char* argv[])
openfpm_finalize
();
}
#else
int
main
()
{
}
#endif
example/Vector/3_molecular_dynamic/Makefile
View file @
b17e39ed
...
...
@@ -11,7 +11,7 @@ OBJ_VL = main_vl.o
all
:
md_dyn md_dyn_expr md_dyn_vl
%.o
:
%.cpp
$(CC)
-
fext-numeric-literals
-
O3
-g
-c
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
$(CC)
-O3
-g
-c
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
md_dyn
:
$(OBJ)
$(CC)
-o
$@
$^
$(CFLAGS)
$(LIBS_PATH)
$(LIBS)
...
...
example/Vector/4_complex_prop/Makefile
View file @
b17e39ed
...
...
@@ -10,7 +10,7 @@ OBJ_SER = main_ser.o
all
:
vect_cp vect_ser
%.o
:
%.cpp
$(CC)
-
fext-numeric-literals
-
O3
-c
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
$(CC)
-O3
-c
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
vect_cp
:
$(OBJ)
$(CC)
-o
$@
$^
$(CFLAGS)
$(LIBS_PATH)
$(LIBS)
...
...
example/Vector/4_multiphase_celllist_verlet/Makefile
View file @
b17e39ed
...
...
@@ -7,7 +7,7 @@ LDIR =
OBJ
=
main.o
%.o
:
%.cpp
$(CC)
-
fext-numeric-literals
-
O3
-g
-c
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
$(CC)
-O3
-g
-c
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
multip
:
$(OBJ)
$(CC)
-o
$@
$^
$(CFLAGS)
$(LIBS_PATH)
$(LIBS)
...
...
example/Vector/4_reorder/Makefile
View file @
b17e39ed
...
...
@@ -13,7 +13,7 @@ all_test: OPT += -DTEST_RUN
all_test
:
md_data_ord_test md_comp_ord_test
%.o
:
%.cpp
$(CC)
-
fext-numeric-literals
-
O3
-g
-c
--std
=
c++11
$(OPT)
-o
$@
$<
$(INCLUDE_PATH)
$(CC)
-O3
-g
-c
--std
=
c++11
$(OPT)
-o
$@
$<
$(INCLUDE_PATH)
md_data_ord
:
$(OBJ_DORD)
$(CC)
-o
$@
$^
$(CFLAGS)
$(LIBS_PATH)
$(LIBS)
...
...
example/Vector/5_molecular_dynamic_sym/Makefile
View file @
b17e39ed
...
...
@@ -9,7 +9,7 @@ OBJ_DORD = main.o
all
:
md_sym
%.o
:
%.cpp
$(CC)
-
fext-numeric-literals
-
O3
-g
-c
--std
=
c++11
$(OPT)
-o
$@
$<
$(INCLUDE_PATH)
$(CC)
-O3
-g
-c
--std
=
c++11
$(OPT)
-o
$@
$<
$(INCLUDE_PATH)
md_sym
:
$(OBJ_DORD)
$(CC)
-o
$@
$^
$(CFLAGS)
$(LIBS_PATH)
$(LIBS)
...
...
example/Vector/6_complex_usage/Makefile
View file @
b17e39ed
...
...
@@ -9,7 +9,7 @@ OBJ_DORD = main.o
all
:
complex_use
%.o
:
%.cpp
$(CC)
-
fext-numeric-literals
-
O3
-g
-c
--std
=
c++11
$(OPT)
-o
$@
$<
$(INCLUDE_PATH)
$(CC)
-O3
-g
-c
--std
=
c++11
$(OPT)
-o
$@
$<
$(INCLUDE_PATH)
complex_use
:
$(OBJ_DORD)
$(CC)
-o
$@
$^
$(CFLAGS)
$(LIBS_PATH)
$(LIBS)
...
...
example/Vector/6_complex_usage/main.cpp
View file @
b17e39ed
...
...
@@ -77,7 +77,7 @@ int main(int argc, char* argv[])
Point
<
3
,
float
>
xq
;
// Used to reorder the neighborhood particles by id
bool
operator
<
(
const
struct
point_and_gid
&
pag
)
bool
operator
<
(
const
struct
point_and_gid
&
pag
)
const
{
return
(
id
<
pag
.
id
);
}
...
...
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