aboutsummaryrefslogtreecommitdiff
path: root/Examples/EM.m
diff options
context:
space:
mode:
authorIan Hinder <ian.hinder@aei.mpg.de>2011-11-28 23:12:14 +0100
committerIan Hinder <ian.hinder@aei.mpg.de>2011-11-29 00:02:05 +0100
commitaeecebbd83260f2a28a9d72325bda46871fd3c64 (patch)
tree742e193a5ba595c4ad4f0f3369fef3271462c4df /Examples/EM.m
parentd41fb10376ae9dce1875dc040d265c056ff7683d (diff)
EM.m: Add explicit Euclidean metric for raising indices
Diffstat (limited to 'Examples/EM.m')
-rw-r--r--Examples/EM.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Examples/EM.m b/Examples/EM.m
index c0276f0..c376686 100644
--- a/Examples/EM.m
+++ b/Examples/EM.m
@@ -121,7 +121,7 @@ energyCalc =
Name -> "EM_energy",
Equations ->
{
- rho -> El[la] El[ua]/2 + B[la] B[ua]/2
+ rho -> Euc[ua,ub] El[la] El[lb]/2 + Euc[ua,ub] B[la] B[lb]/2
}
}