Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fluidparticles
MigFlow
Commits
f9d9f40b
Commit
f9d9f40b
authored
Mar 22, 2017
by
Jonathan Lambrechts
Browse files
simplified file structure
parent
2634bb1e
Changes
55
Hide whitespace changes
Inline
Side-by-side
fluid/Makefile
deleted
100644 → 0
View file @
2634bb1e
libmbfluid.so
:
fluid_problem.c linear_system_banded_avx.c mesh.c mesh_find.c quadtree.c tools.h
${CC}
$^
-o
$@
-Wno-unused-function
-O3
-march
=
native
-mtune
=
native
-lm
-shared
-fPIC
-g
-std
=
c99
marblesbag/Makefile
0 → 100644
View file @
f9d9f40b
ALL
:
libmbfluid.so libscontact2.so libscontact3.so
CFLAGS
=
-Wno-unused-function
-O3
-march
=
native
-mtune
=
native
-fPIC
-g
-std
=
gnu99
LDFLAGS
=
-shared
-lm
FLUID_C
=
src/fluid_problem.c src/linear_system_banded_avx.c src/mesh.c src/mesh_find.c src/quadtree.c
FLUID_H
=
src/tools.h src/fluid_problem.h src/linear_system.h src/mesh_find.h src/mesh.h src/quadtree.h src/vector.h
SCONTACT_C
=
src/quadtree.c src/scontact.c
SCONTACT_H
=
src/quadtree.h src/scontact.h
libmbfluid.so
:
${FLUID_C} ${FLUID_H}
${CC}
${FLUID_C}
-o
$@
${CFLAGS}
${LDFLAGS}
-DDIMENSION
=
2
libscontact2.so
:
${SCONTACT_C} ${SCONTACT_H}
${CC}
${SCONTACT_C}
-o
$@
${CFLAGS}
${LDFLAGS}
-DDIMENSION
=
2
libscontact3.so
:
${SCONTACT_C} ${SCONTACT_H}
${CC}
${SCONTACT_C}
-o
$@
${CFLAGS}
${LDFLAGS}
-DDIMENSION
=
3
clean
:
${RM}
*
.so
*
.pyc
-r
__pycache__
marblesbag/__init__.py
0 → 100644
View file @
f9d9f40b
fluid
/fluid.py
→
marblesbag
/fluid.py
View file @
f9d9f40b
File moved
pyfefp
/gmshType.py
→
marblesbag
/gmshType.py
View file @
f9d9f40b
File moved
pyfefp
/lmgc2Interface.py
→
marblesbag
/lmgc2Interface.py
View file @
f9d9f40b
File moved
pyfefp
/lmgc3Interface.py
→
marblesbag
/lmgc3Interface.py
View file @
f9d9f40b
File moved
pyfefp
/mesh.py
→
marblesbag
/mesh.py
View file @
f9d9f40b
File moved
scontact
/scontact2.py
→
marblesbag
/scontact2.py
View file @
f9d9f40b
...
...
@@ -4,6 +4,7 @@ import numpy
import
signal
import
os
import
sys
import
shutil
dir_path
=
os
.
path
.
dirname
(
os
.
path
.
realpath
(
__file__
))
lib
=
CDLL
(
os
.
path
.
join
(
dir_path
,
"libscontact2.so"
))
...
...
pyfefp
/scontact3
Interface
.py
→
marblesbag
/scontact3.py
View file @
f9d9f40b
File moved
fluid
/fluid_problem.c
→
marblesbag/src
/fluid_problem.c
View file @
f9d9f40b
File moved
fluid
/fluid_problem.h
→
marblesbag/src
/fluid_problem.h
View file @
f9d9f40b
File moved
fluid
/linear_system.h
→
marblesbag/src
/linear_system.h
View file @
f9d9f40b
File moved
fluid
/linear_system_banded.c
→
marblesbag/src
/linear_system_banded.c
View file @
f9d9f40b
File moved
fluid
/linear_system_banded_avx.c
→
marblesbag/src
/linear_system_banded_avx.c
View file @
f9d9f40b
File moved
fluid
/linear_system_full.c
→
marblesbag/src
/linear_system_full.c
View file @
f9d9f40b
File moved
fluid
/linear_system_petsc.c
→
marblesbag/src
/linear_system_petsc.c
View file @
f9d9f40b
File moved
fluid
/mesh.c
→
marblesbag/src
/mesh.c
View file @
f9d9f40b
File moved
fluid
/mesh.h
→
marblesbag/src
/mesh.h
View file @
f9d9f40b
File moved
fluid
/mesh_find.c
→
marblesbag/src
/mesh_find.c
View file @
f9d9f40b
File moved
Prev
1
2
3
Next
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment