Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
tensor[npspin] - compute the Newman-Penrose spin coefficients in Debever's formalism
tensor[npcurve] - compute the Newman-Penrose curvature components in Debever's formalism
Calling Sequence
npspin(coord, h, G, curinfo)
npcurve(spn_cf, curinfo, conj_pairs)
Parameters
coord
-
list of names for the coordinate variables
h
rank-2 tensor_type with character [1,-1] representing the covariant complex null tetrad. Symbolically,
G
output parameter (so a name when input) that holds the algebraic expression for : , where g is the determinant of the metric in the natural basis
curinfo
output parameter holding simply some internal results needed for both routines; the purpose of its appearance is merely to avoid duplicated computations in the two routines
spn_cf
spin coefficient table containing the Newman-Penrose spin coefficients, normally obtained using npspin()
conj_pairs
(optional) holds a list of pairs (a pair: a 2-element list) of names to be treated as complex conjugates in the construction of the 'Phi' field of the curvature component table
Description
These two functions compute respectively the Newman-Penrose spin coefficients and curvature components in Debever's formalism.
The Newman-Penrose formalism applies solely to 4 dimensions and hence both coord, and h must have dimension 4.
Note that in Debever's formalism the constant metric in the complex null frame is assumed to be :
Even though the above constant metric is not required explicitly as a parameter, the provided tetrad, h, must be one that transforms the metric in the natural basis into the one given above.
Simplification :
npspin() employs three simplification routines, `tensor/npspin/simp`, `tensor/npspin/diff`, and `tensor/npspin/spincoeff/simp`. tensor[npspin] has a sub-routine `tensor/npspin/spincoeff`. `tensor/npspin/simp` and `tensor/npspin/diff` are simplifiers in the main routine, whereas `tensor/npspin/spincoeff/simp` is the simplifier in the sub-routine. The two `.../simp` simplifiers handles the simplification of an algebraic expression and the `.../diff` one is for simplifying derivatives.
npcurve() has two simplication routines, `tensor/npcurve/simp` and `tensor/npcurve/diff`. The former is for simplifying algebraic expressions and the latter derivatives.
All of the `.../simp` routines are initialized to `tensor/simp`, and both the `.../diff` ones are initialized to simplify performing a differentiation without simplification; however, it is recommended that each simplifier be customized to suit the needs of a particular problem.
Complex conjugation is required during the construction of the 'Phi' field, which is a hermitian matrix, of the curvature table. If a third argument of a list of pairs of names is passed in, these pairs will be treated as complex conjugates when conjugation is taken for building the 'Phi' field. Note that is the default value of conj_pairs and any third argument supplied would be appended to it. Any other names not specified in conj_pairs are treated as real.
These two functions are part of the tensor package, and can be used in the form npspin(..), and npcurve(..) only after performing the command with(tensor), or with(tensor, npspin) or with(tensor, npcurve). The functions can always be accessed in the long form tensor[npspin], and tensor[npcurve].
Examples
Enter the coordinates and covariant tetrad of the Plane wave metric:
Now demonstrate the use of conj_pairs :`
See Also
tensor, tensor/change_basis, tensor[conj], tensor[frame]
Download Help Document