|
428 | 428 |
|
429 | 429 | """ |
430 | 430 |
|
431 | | -#***************************************************************************** |
| 431 | +# **************************************************************************** |
432 | 432 | # Copyright (C) 2015 Eric Gourgoulhon <[email protected]> |
433 | 433 | # Copyright (C) 2015 Michal Bejger <[email protected]> |
434 | 434 | # Copyright (C) 2016 Travis Scrimshaw <[email protected]> |
435 | 435 | # |
436 | 436 | # Distributed under the terms of the GNU General Public License (GPL) |
437 | 437 | # as published by the Free Software Foundation; either version 2 of |
438 | 438 | # the License, or (at your option) any later version. |
439 | | -# http://www.gnu.org/licenses/ |
440 | | -#***************************************************************************** |
| 439 | +# https://www.gnu.org/licenses/ |
| 440 | +# **************************************************************************** |
441 | 441 |
|
442 | 442 | from sage.categories.manifolds import Manifolds |
443 | 443 | from sage.categories.homset import Hom |
@@ -947,31 +947,6 @@ def diff_map(self, codomain, coord_functions=None, chart1=None, |
947 | 947 | coord_functions = {(chart1, chart2): coord_functions} |
948 | 948 | return homset(coord_functions, name=name, latex_name=latex_name) |
949 | 949 |
|
950 | | - def diff_mapping(self, codomain, coord_functions=None, chart1=None, |
951 | | - chart2=None, name=None, latex_name=None): |
952 | | - r""" |
953 | | - Deprecated. |
954 | | -
|
955 | | - Use :meth:`diff_map` instead. |
956 | | -
|
957 | | - EXAMPLES:: |
958 | | -
|
959 | | - sage: M = Manifold(2, 'M'); X.<x,y> = M.chart() |
960 | | - sage: N = Manifold(2, 'N'); Y.<u,v> = N.chart() |
961 | | - sage: Phi = M.diff_mapping(N, {(X,Y): [x+y, x-y]}, name='Phi') |
962 | | - doctest:...: DeprecationWarning: Use diff_map() instead. |
963 | | - See http://trac.sagemath.org/18783 for details. |
964 | | - sage: Phi |
965 | | - Differentiable map Phi from the 2-dimensional differentiable |
966 | | - manifold M to the 2-dimensional differentiable manifold N |
967 | | -
|
968 | | - """ |
969 | | - from sage.misc.superseded import deprecation |
970 | | - deprecation(18783, 'Use diff_map() instead.') |
971 | | - return self.diff_map(codomain, coord_functions=coord_functions, |
972 | | - chart1=chart1, chart2=chart2, name=name, |
973 | | - latex_name=latex_name) |
974 | | - |
975 | 950 | def diffeomorphism(self, codomain, coord_functions=None, chart1=None, |
976 | 951 | chart2=None, name=None, latex_name=None): |
977 | 952 | r""" |
@@ -3257,27 +3232,6 @@ class :class:`~sage.manifolds.differentiable.diff_map.DiffMap` |
3257 | 3232 | dim = vmodule.ambient_domain().dimension() |
3258 | 3233 | return vmodule.metric(name, signature=dim, latex_name=latex_name) |
3259 | 3234 |
|
3260 | | - def riemann_metric(self, name, latex_name=None, dest_map=None): |
3261 | | - r""" |
3262 | | - Deprecated. |
3263 | | -
|
3264 | | - Use :meth:`riemannian_metric` instead. |
3265 | | -
|
3266 | | - EXAMPLES:: |
3267 | | -
|
3268 | | - sage: M = Manifold(3, 'M') |
3269 | | - sage: g = M.riemann_metric('g') |
3270 | | - doctest:...: DeprecationWarning: Use riemannian_metric() instead. |
3271 | | - See http://trac.sagemath.org/19209 for details. |
3272 | | - sage: g |
3273 | | - Riemannian metric g on the 3-dimensional differentiable manifold M |
3274 | | -
|
3275 | | - """ |
3276 | | - from sage.misc.superseded import deprecation |
3277 | | - deprecation(19209, 'Use riemannian_metric() instead.') |
3278 | | - return self.riemannian_metric(name, latex_name=latex_name, |
3279 | | - dest_map=dest_map) |
3280 | | - |
3281 | 3235 | def lorentzian_metric(self, name, signature='positive', latex_name=None, |
3282 | 3236 | dest_map=None): |
3283 | 3237 | r""" |
@@ -3347,25 +3301,3 @@ class :class:`~sage.manifolds.differentiable.diff_map.DiffMap` |
3347 | 3301 | else: |
3348 | 3302 | signat = 2 - dim |
3349 | 3303 | return vmodule.metric(name, signature=signat, latex_name=latex_name) |
3350 | | - |
3351 | | - def lorentz_metric(self, name, signature='positive', latex_name=None, |
3352 | | - dest_map=None): |
3353 | | - r""" |
3354 | | - Deprecated. |
3355 | | -
|
3356 | | - Use :meth:`lorentzian_metric` instead. |
3357 | | -
|
3358 | | - EXAMPLES:: |
3359 | | -
|
3360 | | - sage: M = Manifold(4, 'M') |
3361 | | - sage: g = M.lorentz_metric('g') |
3362 | | - doctest:...: DeprecationWarning: Use lorentzian_metric() instead. |
3363 | | - See http://trac.sagemath.org/19209 for details. |
3364 | | - sage: g |
3365 | | - Lorentzian metric g on the 4-dimensional differentiable manifold M |
3366 | | -
|
3367 | | - """ |
3368 | | - from sage.misc.superseded import deprecation |
3369 | | - deprecation(19209, 'Use lorentzian_metric() instead.') |
3370 | | - return self.lorentzian_metric(name, signature=signature, |
3371 | | - latex_name=latex_name, dest_map=dest_map) |
0 commit comments