diff options
author | Barry Wardell <barry.wardell@gmail.com> | 2012-01-03 14:22:08 +0000 |
---|---|---|
committer | Barry Wardell <barry.wardell@gmail.com> | 2012-01-03 14:22:08 +0000 |
commit | caf2c108e7d4c067485007c374ac8861afcf3c85 (patch) | |
tree | 22f9d8a8e12a606f8b702441dced39b1a1fa36e4 /Examples/EM-xTensor.m | |
parent | 3af24baf723cc99e1e24b7f72aea6a1b8c3ebadd (diff) |
Add explicit Euclidean metric for raising indices in EM-xTensor example.
Diffstat (limited to 'Examples/EM-xTensor.m')
-rw-r--r-- | Examples/EM-xTensor.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Examples/EM-xTensor.m b/Examples/EM-xTensor.m index 983d760..218dfb8 100644 --- a/Examples/EM-xTensor.m +++ b/Examples/EM-xTensor.m @@ -133,7 +133,7 @@ energyCalc = Name -> "EM_energy", Equations -> { - rho -> ToBasis[Euclidean][El[-a] El[a]/2 + B[-a] B[a]/2] + rho -> ToBasis[Euclidean][g[a,b] El[-a] El[-b]/2 + g[a,b] B[-a] B[-b]/2] } }; |