Skip to content

Commit

Permalink
Fix typos in doc
Browse files Browse the repository at this point in the history
  • Loading branch information
SG-phimeca committed Jun 7, 2024
1 parent b3756b7 commit cb16aaf
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
6 changes: 3 additions & 3 deletions doc/application/plot_cantilever_beam.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
F = ot.LogNormal()
F.setParameter(ot.LogNormalMuSigma()([30.0e3, 9e3, 15.0e3]))
L = ot.Uniform(250.0, 260.0)
II = ot.Beta(2.5, 4.0, 310.0, 450.0)
I = ot.Beta(2.5, 4.0, 310.0, 450.0)

# %%
# According to the laws of mechanics, when the length L increases, the moment
Expand Down Expand Up @@ -86,8 +86,8 @@

# %%
# And we endly create the composed input probability distribution.
inputDistribution = ot.ComposedDistribution([E, F, L, II], mycopula)
inputDistribution.setDescription(("E", "F", "L", "I"))
inputDistribution = ot.ComposedDistribution([E, F, L, I], mycopula)
inputDistribution.setDescription(model_fmu.getInputDescription())

# %%
# Create the event whose probability we want to estimate:
Expand Down
4 changes: 2 additions & 2 deletions doc/example/low_level/plot_simulate.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# .. note::
# | *model* is a PyFMI object, loaded with Otfmi’s overlay.
# | As such, ``model.simulate()`` is a pure PyFMI method.
# | Use ``òtfmi.fmi.simulate(model)`` to benefit from Otfmi’s overlay.
# | Use ``otfmi.fmi.simulate(model)`` to benefit from Otfmi’s overlay.


# %%
Expand Down Expand Up @@ -56,6 +56,6 @@
plt.show()

# %%
# | The interest of the higher-level functions TODO are:
# | The interest of the higher-level functions are:
# | - avoid the *for* loop on the points of the design of experiment,
# | - automatic formatting of the simulation outputs.
2 changes: 1 addition & 1 deletion doc/fmus/deviation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ This model is implemented in Modelica language:
input Real L (start=250);
input Real I (start=400);
equation
y=(F*L**3)/(3.0*E*I);
y=(F*L^3)/(3.0*E*I);
end deviation;
.. note::
Expand Down
3 changes: 1 addition & 2 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,7 @@ Contact
| You can contribute to the project or signal issues on `Otfmi GitHub
repository <https://github.com/openturns/otfmi>`__.
| For questions on the code, contact `Sylvain
Girard <https://github.com/SG-phimeca>`__ or `Claire-Eleuthèriane
Gerrer <https://github.com/Claire-Eleutheriane>`__.
Girard <https://github.com/SG-phimeca>`__.
| For questions or remarks concerning the documentation, contact
`Claire-Eleuthèriane
Gerrer <https://github.com/Claire-Eleutheriane>`__.
Expand Down

0 comments on commit cb16aaf

Please sign in to comment.