Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dartflo
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
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
Aerospace and Mechanical Engineering
dartflo
Commits
a170db3b
Commit
a170db3b
authored
2 years ago
by
Adrien Crovato
Browse files
Options
Downloads
Patches
Plain Diff
Fix vii install
parent
0e4d278e
No related branches found
No related tags found
No related merge requests found
Pipeline
#8617
passed
2 years ago
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
vii/CMakeLists.txt
+2
-1
2 additions, 1 deletion
vii/CMakeLists.txt
vii/api/core.py
+3
-3
3 additions, 3 deletions
vii/api/core.py
with
5 additions
and
4 deletions
vii/CMakeLists.txt
+
2
−
1
View file @
a170db3b
...
@@ -23,5 +23,6 @@ MACRO_AddTest(${CMAKE_CURRENT_SOURCE_DIR}/tests)
...
@@ -23,5 +23,6 @@ MACRO_AddTest(${CMAKE_CURRENT_SOURCE_DIR}/tests)
INSTALL
(
FILES
${
CMAKE_CURRENT_LIST_DIR
}
/__init__.py
INSTALL
(
FILES
${
CMAKE_CURRENT_LIST_DIR
}
/__init__.py
${
CMAKE_CURRENT_LIST_DIR
}
/utils.py
${
CMAKE_CURRENT_LIST_DIR
}
/utils.py
DESTINATION vii
)
DESTINATION vii
)
INSTALL
(
DIRECTORY
${
CMAKE_CURRENT_LIST_DIR
}
/pyVII
INSTALL
(
DIRECTORY
${
CMAKE_CURRENT_LIST_DIR
}
/api
${
CMAKE_CURRENT_LIST_DIR
}
/interfaces
DESTINATION vii
)
DESTINATION vii
)
This diff is collapsed.
Click to expand it.
vii/api/core.py
+
3
−
3
View file @
a170db3b
...
@@ -55,9 +55,9 @@ def initVII(cfg, icfg, iSolverName='DART'):
...
@@ -55,9 +55,9 @@ def initVII(cfg, icfg, iSolverName='DART'):
import
vii
import
vii
if
iSolverName
==
'
DART
'
:
if
iSolverName
==
'
DART
'
:
from
vii.interfaces.dart.DartInterface
import
DartInterface
as
interface
from
vii.interfaces.dart.DartInterface
import
DartInterface
as
interface
from
dart.api.core
import
initDart
from
dart.api.core
import
initDart
iSolverObjects
=
initDart
(
icfg
,
scenario
=
icfg
[
'
scenario
'
],
task
=
icfg
[
'
task
'
],
viscous
=
1
)
iSolverObjects
=
initDart
(
icfg
,
scenario
=
icfg
[
'
scenario
'
],
task
=
icfg
[
'
task
'
],
viscous
=
1
)
# Check viscous solver parameters.
# Check viscous solver parameters.
if
'
Re
'
in
cfg
and
cfg
[
'
Re
'
]
>
0
:
if
'
Re
'
in
cfg
and
cfg
[
'
Re
'
]
>
0
:
...
...
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