Skip to content

Commit e4c6258

Browse files
committed
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.
1 parent e072d9f commit e4c6258

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/doc/en/thematic_tutorials/vector_calculus/vector_calc_change.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ the above call ``E.spherical_coordinates()``::
138138
These formulas are automatically used if we ask to plot the grid of spherical
139139
coordinates in terms of Cartesian coordinates::
140140

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

src/doc/en/thematic_tutorials/vector_calculus/vector_calc_curvilinear.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ The Laplacian of a scalar field::
232232

233233
The Laplacian of a vector field::
234234

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

250-
sage: Du.display_comp()
251+
sage: Du.display_comp() # long time
251252
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
252253
- 2*d(u_theta)/dth)*sin(th)^2 - ((2*u_theta(r, th, ph) - d(u_r)/dth)*cos(th)
253254
+ 2*d(u_phi)/dph)*sin(th) + d^2(u_r)/dph^2)/(r^2*sin(th)^2)
@@ -260,6 +261,7 @@ component::
260261

261262
We may expand each component::
262263

264+
sage: # long time
263265
sage: for i in E.irange():
264266
....: s = Du[i].expand()
265267
sage: Du.display_comp()

0 commit comments

Comments
 (0)