Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
psimpy
Manage
Activity
Members
Labels
Plan
Wiki
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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
mbd
psimpy
Commits
ae52fe67
Commit
ae52fe67
authored
Dec 12, 2022
by
Hu Zhao
Browse files
Options
Downloads
Patches
Plain Diff
docs: update docstrings
parent
bd4d18cd
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/psimpy/simulator/mass_point_model.py
+10
-9
10 additions, 9 deletions
src/psimpy/simulator/mass_point_model.py
with
10 additions
and
9 deletions
src/psimpy/simulator/mass_point_model.py
+
10
−
9
View file @
ae52fe67
...
...
@@ -217,14 +217,15 @@ class MassPointModel:
-------
output: numpy array
Time history of the mass point
'
s location and velocity.
:code`output.shape[1]` is :math:`6`. More specifically:
:code:`output[:,0]` contains the time steps,
:code:`output[:,1]` contains the `x` coordinates,
:code:`output[:,2]` contains the `y` coordinates,
:code:`output[:,3]` contains velocity values in `x` direction,
:code:`output[:,4]` contains velocity values in `y` direction,
:code:`output[:,5]` contains total velocity values.
2d :class:`numpy.ndarray`. Each row corresponds to a time step and
each column corresponds to a quantity. In total :math:`6` columns,
namely :code:`output.shape[1]=6`. More specifically:
:code:`output[:,0]` are the time steps,
:code:`output[:,1]` are the `x` coordinates,
:code:`output[:,2]` are the `y` coordinates,
:code:`output[:,3]` are velocity values in `x` direction,
:code:`output[:,4]` are velocity values in `y` direction,
:code:`output[:,5]` are total velocity values.
"""
fgrad_x
,
fgrad_y
,
fgrad_xx
,
fgrad_yy
,
fgrad_xy
=
\
self
.
_preprocess
(
elevation
,
x0
,
y0
)
...
...
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