Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
tensor[entermetric] - facility for user input of coordinate variables and covariant metric tensor components.
Calling Sequence
entermetric( 'g', 'coords' )
Parameters
g
-
covariant metric tensor (symmetric rank 2 tensor_type)
coords
list of coordinate variables
Description
The function entermetric( g, coords ) prompts the user for the dimension of the manifold, the coordinate variables, and the components of the covariant metric tensor with respect to the natural basis (that is, the line element), and produces the coordinates list and covariant metric tensor.
The coordinate variables are returned as a list of names through the output parameter coords. The covariant metric tensor is returned as a rank 2 symmetric tensor_type through the output parameter g. The parameters g and coords must be unassigned names.
Since diagonal metrics are common, the user is asked to specify if the metric is diagonal or not. If the metric is diagonal, only the diagonal entries are required to be input. If the metric is not diagonal, the entries in the "upper triangle" of the metric components array are required to be input. In both cases, the returned metric components make use of Maple's symmetric indexing function.
The user is required to end each line of input with a semicolon (";") since each input value is read in as a Maple statement. Long expressions may be broken over more than one line provided the expression contains only one semicolon located at the end of the expression (like regular maple statements).
After the user has finished inputting the dimension, coordinates, and metric components, entermetric will display them back to the user for confirmation.
Examples
Use entermetric to input the Schwarzschild metric.
Confirm the results once again:
See Also
Physics[Christoffel], Physics[D_], Physics[d_], Physics[Einstein], Physics[g_], Physics[LeviCivita], Physics[Ricci], Physics[Riemann], Physics[Weyl], tensor, tensor[create]
Download Help Document