Skip to content

Add some missing "long time" annotations #40414

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jul 25, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
src/doc/en/thematic_tutorials/vector_calculus: add long times
Fix the CI warnings,

  2025-07-14T18:26:34.0468072Z ##[warning]slow doctest:
  2025-07-14T18:26:34.0476899Z     spherical.plot(cartesian, color={r:'red', th:'green', ph:'orange'})
  2025-07-14T18:26:34.0478151Z Test ran for 5.28s cpu, 5.37s wall

  2025-07-14T18:26:51.7069355Z ##[warning]slow doctest:
  2025-07-14T18:26:51.7074158Z     Du = laplacian(u)
  2025-07-14T18:26:51.7078276Z Test ran for 7.21s cpu, 7.28s wall

by adding "# long time" to these tests.
  • Loading branch information
orlitzky committed Jul 14, 2025
commit e4c625820aa7a4ec979326626841bb5d20ef16ad
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ the above call ``E.spherical_coordinates()``::
These formulas are automatically used if we ask to plot the grid of spherical
coordinates in terms of Cartesian coordinates::

sage: # long time
sage: spherical.plot(cartesian, color={r:'red', th:'green', ph:'orange'})
Graphics3d Object

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ The Laplacian of a scalar field::

The Laplacian of a vector field::

sage: # long time
sage: Du = laplacian(u)
sage: Du.display()
Delta(u) = ((r^2*d^2(u_r)/dr^2 + 2*r*d(u_r)/dr - 2*u_r(r, th, ph)
Expand All @@ -247,7 +248,7 @@ The Laplacian of a vector field::
Since this expression is quite lengthy, we may ask for a display component by
component::

sage: Du.display_comp()
sage: Du.display_comp() # long time
Delta(u)^1 = ((r^2*d^2(u_r)/dr^2 + 2*r*d(u_r)/dr - 2*u_r(r, th, ph) + d^2(u_r)/dth^2
- 2*d(u_theta)/dth)*sin(th)^2 - ((2*u_theta(r, th, ph) - d(u_r)/dth)*cos(th)
+ 2*d(u_phi)/dph)*sin(th) + d^2(u_r)/dph^2)/(r^2*sin(th)^2)
Expand All @@ -260,6 +261,7 @@ component::

We may expand each component::

sage: # long time
sage: for i in E.irange():
....: s = Du[i].expand()
sage: Du.display_comp()
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy