Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TurTLE
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
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TurTLE
TurTLE
Commits
6e461039
There was a problem fetching the pipeline summary.
Commit
6e461039
authored
8 years ago
by
Cristian Lalescu
Browse files
Options
Downloads
Patches
Plain Diff
move/update test file
parent
429e200b
No related branches found
No related tags found
2 merge requests
!21
Bugfix/nansampling
,
!18
Feature/extend ci
Pipeline
#
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
bfps/test/B32p1e4_checkpoint_0.h5
+0
-0
0 additions, 0 deletions
bfps/test/B32p1e4_checkpoint_0.h5
bfps/test/test_NSVEparticles.py
+6
-4
6 additions, 4 deletions
bfps/test/test_NSVEparticles.py
setup.py
+2
-1
2 additions, 1 deletion
setup.py
with
8 additions
and
5 deletions
bfps/test
_data/test
_checkpoint_0.h5
→
bfps/test
/B32p1e4
_checkpoint_0.h5
+
0
−
0
View file @
6e461039
File moved
This diff is collapsed.
Click to expand it.
tests/DNS/test_basic
.py
→
bfps/test/test_NSVEparticles
.py
+
6
−
4
View file @
6e461039
#! /usr/bin/env python
import
os
import
numpy
as
np
import
h5py
...
...
@@ -15,8 +17,8 @@ def main():
c
.
launch
(
[
'
NSVEparticles
'
,
'
-n
'
,
'
32
'
,
'
--src-simname
'
,
'
test
'
,
'
--src-wd
'
,
bfps
.
lib_dir
+
'
/test
_data
'
,
'
--src-simname
'
,
'
B32p1e4
'
,
'
--src-wd
'
,
bfps
.
lib_dir
+
'
/test
'
,
'
--src-iteration
'
,
'
0
'
,
'
--simname
'
,
'
dns_nsveparticles
'
,
'
--np
'
,
'
4
'
,
...
...
@@ -32,8 +34,8 @@ def main():
sys
.
argv
[
1
:])
f0
=
h5py
.
File
(
os
.
path
.
join
(
os
.
path
.
join
(
bfps
.
lib_dir
,
'
test
_data
'
),
'
test
_checkpoint_0.h5
'
),
os
.
path
.
join
(
bfps
.
lib_dir
,
'
test
'
),
'
B32p1e4
_checkpoint_0.h5
'
),
'
r
'
)
f1
=
h5py
.
File
(
c
.
get_checkpoint_0_fname
(),
'
r
'
)
for
iteration
in
[
0
,
32
,
64
]:
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
2
−
1
View file @
6e461039
...
...
@@ -255,12 +255,13 @@ setup(
package_data
=
{
'
bfps
'
:
header_list
+
[
'
libbfps.a
'
,
'
install_info.pickle
'
]
+
[
'
test
_data/test
_checkpoint_0.h5
'
]},
[
'
test
/B32p1e4
_checkpoint_0.h5
'
]},
entry_points
=
{
'
console_scripts
'
:
[
'
bfps = bfps.__main__:main
'
,
'
bfps1 = bfps.__main__:main
'
],
},
scripts
=
[
'
bfps/test/test_NSVEparticles.py
'
],
version
=
VERSION
,
########################################################################
# useless stuff folows
...
...
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