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
fa394da4
Commit
fa394da4
authored
Feb 16, 2018
by
incardon
Browse files
Latest modules
parent
18597a09
Changes
2
Hide whitespace changes
Inline
Side-by-side
example/Numerics/Vortex_in_cell/main_vic_petsc.cpp
View file @
fa394da4
...
...
@@ -65,7 +65,7 @@
7) interpolate velocity u to particles
8) move particles accordingly to the velocity and save the old position in x_old
9) Interpolate vorticity on mesh
on
the particles
9) Interpolate vorticity on mesh
from
the particles
10) calculate velocity u from the vorticity w
11) calculate the right-hand-side on grid and interpolate on particles
12) interpolate velocity u to particles
...
...
example/Vector/3_molecular_dynamic/Makefile
View file @
fa394da4
...
...
@@ -7,8 +7,9 @@ LDIR =
OBJ
=
main.o
OBJ_EXPR
=
main_expr.o
OBJ_VL
=
main_vl.o
OBJ_EXPR_PAP
=
main_expr_paper.o
all
:
md_dyn md_dyn_expr md_dyn_vl
all
:
md_dyn md_dyn_expr md_dyn_vl
md_dyn_pap
%.o
:
%.cpp
$(CC)
-O3
-g
-c
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
...
...
@@ -22,6 +23,9 @@ md_dyn_expr: $(OBJ_EXPR)
md_dyn_vl
:
$(OBJ_VL)
$(CC)
-o
$@
$^
$(CFLAGS)
$(LIBS_PATH)
$(LIBS)
md_dyn_pap
:
$(OBJ_EXPR_PAP)
$(CC)
-o
$@
$^
$(CFLAGS)
$(LIBS_PATH)
$(LIBS)
run
:
all
mpirun
-np
3 ./md_dyn
&&
mpirun
-np
3 ./md_dyn_expr
&&
mpirun
-np
3 ./md_dyn_vl
;
...
...
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