DifferentialGeometry
ChangeFrame
change the current or active frame
Calling Sequence
Parameters
Description
Examples
ChangeFrame(M)
M
-
a Maple name or string, the name given to a previously initialized frame/coordinate system
This command simply changes the current frame to M.
The procedure returns the name of the previously active frame.
This command is part of the DifferentialGeometry package, and so can be used in the form ChangeFrame(...) only after executing the command with(DifferentialGeometry). It can always be used in the long form DifferentialGeometry:-ChangeFrame.
with⁡DifferentialGeometry:
Create a few manifolds:
DGsetup⁡x,y,M:DGsetup⁡u,v,N:DGsetup⁡x,y,z,P:
Example 1.
Change to the frame M, check the name of the current frame and obtain the default basis for the tangent space of the current frame.
ChangeFrame⁡M
P
Tools:-DGinfo⁡CurrentFrame
Tools:-DGinfo⁡FrameBaseVectors
D_x,D_y
Example 2.
Change to the frame N, check the name of the current frame and obtain the default basis for the tangent space of the current frame.
ChangeFrame⁡N
N
D_u,D_v
Example 3.
Since the frame M was used more recently than the frame P, the vectors D_x and D_y are vectors on M while the vector D_z is a vector on P.
Tools:-DGinfo⁡D_x,ObjectFrame,Tools:-DGinfo⁡D_y,ObjectFrame,Tools:-DGinfo⁡D_z,ObjectFrame
M,M,P
ChangeFrame⁡P
The vectors D_x, D_y and D_z are now all defined on P.
P,P,P
See Also
Tools
DGinfo
DGsetup
RemoveFrame
Download Help Document