Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
VirtualFluids
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
iRMB
VirtualFluids
Commits
0dbf103e
Commit
0dbf103e
authored
2 years ago
by
Hkorb
Browse files
Options
Downloads
Patches
Plain Diff
minor clean up in binding stubs
parent
3d02d57b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!245
Add new probe, Refactor File Writer
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
pythonbindings/pyfluids-stubs/bindings/basics/__init__.pyi
+1
-0
1 addition, 0 deletions
pythonbindings/pyfluids-stubs/bindings/basics/__init__.pyi
pythonbindings/pyfluids-stubs/bindings/gpu/__init__.pyi
+2
-1
2 additions, 1 deletion
pythonbindings/pyfluids-stubs/bindings/gpu/__init__.pyi
with
3 additions
and
1 deletion
pythonbindings/pyfluids-stubs/bindings/basics/__init__.pyi
+
1
−
0
View file @
0dbf103e
...
...
@@ -36,6 +36,7 @@ from typing import ClassVar
from
typing
import
overload
from
pyfluids.bindings.basics
import
logger
as
logger
class
ConfigurationFile
:
def
__init__
(
self
)
->
None
:
...
def
contains
(
self
,
key
:
str
)
->
bool
:
...
...
...
This diff is collapsed.
Click to expand it.
pythonbindings/pyfluids-stubs/bindings/gpu/__init__.pyi
+
2
−
1
View file @
0dbf103e
...
...
@@ -37,8 +37,9 @@ from typing import Any, Callable, ClassVar, List, Optional
from
typing
import
overload
import
numpy
import
pyfluids.bindings.basics
import
pyfluids.bindings.gpu.grid_generator
as
grid_generator
from
pyfluids.bindings.gpu
import
grid_generator
as
grid_generator
from
pyfluids.bindings.gpu
import
probes
as
probes
class
ActuatorFarm
(
PreCollisionInteractor
):
def
__init__
(
self
,
number_of_blades_per_turbine
:
int
,
density
:
float
,
number_of_nodes_per_blade
:
int
,
epsilon
:
float
,
level
:
int
,
delta_t
:
float
,
delta_x
:
float
,
use_host_arrays
:
bool
)
->
None
:
...
def
add_turbine
(
self
,
posX
:
float
,
posY
:
float
,
posZ
:
float
,
diameter
:
float
,
omega
:
float
,
azimuth
:
float
,
yaw
:
float
,
bladeRadii
:
List
[
float
])
->
None
:
...
...
...
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