Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
hysop
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
Container Registry
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
particle_methods
hysop
Commits
33255ee1
Commit
33255ee1
authored
12 years ago
by
Jean-Matthieu Etancelin
Browse files
Options
Downloads
Patches
Plain Diff
Add default kernel sources in setup.py for install non python file
parent
79c4a326
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
HySoP/hysop/__init__.py.in
+4
-4
4 additions, 4 deletions
HySoP/hysop/__init__.py.in
HySoP/hysop/constants.py
+3
-1
3 additions, 1 deletion
HySoP/hysop/constants.py
HySoP/setup.py.in
+2
-2
2 additions, 2 deletions
HySoP/setup.py.in
with
9 additions
and
7 deletions
HySoP/hysop/__init__.py.in
+
4
−
4
View file @
33255ee1
...
...
@@ -44,10 +44,10 @@ import problem.problem
Problem = problem.problem.Problem
## Solver
import
P
articular
S
olvers.basic
import
P
articular
S
olvers.gpu
ParticleSolver =
P
articular
S
olvers.basic.ParticleSolver
GPUParticleSolver =
P
articular
S
olvers.gpu.GPUParticleSolver
import
p
articular
_s
olvers.basic
import
p
articular
_s
olvers.gpu
ParticleSolver =
p
articular
_s
olvers.basic.ParticleSolver
GPUParticleSolver =
p
articular
_s
olvers.gpu.GPUParticleSolver
## Tools
import tools.printer
...
...
This diff is collapsed.
Click to expand it.
HySoP/hysop/constants.py
+
3
−
1
View file @
33255ee1
...
...
@@ -7,6 +7,8 @@ Constant parameters required for the parmepy package (internal use).
import
numpy
as
np
import
math
from
parmepy.particular_solvers
import
__path__
as
solver_path
import
os
#
PI
=
math
.
pi
...
...
@@ -28,4 +30,4 @@ PERIODIC = 0
## Directions string
S_DIR
=
[
"
_X
"
,
"
_Y
"
,
"
_Z
"
]
## GPU deflault sources
GPU_SRC
=
"
/Users/jmetancelin/These/SVN/parmes/Parmes/parmepy/ParticularSolvers/
gpu_src.cl
"
GPU_SRC
=
os
.
path
.
join
(
solver_path
[
0
],
"
gpu_src.cl
"
)
This diff is collapsed.
Click to expand it.
HySoP/setup.py.in
+
2
−
2
View file @
33255ee1
...
...
@@ -86,6 +86,6 @@ setup(name=name,
license
=
'
GNU public license
'
,
package_dir
=
{
''
:
'
@CMAKE_SOURCE_DIR@
'
},
ext_modules
=
ext_modules
,
packages
=
packages
#
data_files=[('
new_ParMePy/Utils', ['./new_ParMePy/Util
s/gpu_src.cl'])]
packages
=
packages
,
data_files
=
[(
'
./parmepy/particular_solvers
'
,
[
'
@CMAKE_SOURCE_DIR@/parmepy/particular_solver
s/gpu_src.cl
'
])]
)
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