 # Contents of /trunk/doc/cookbook/einsteinETA.tex

Revision 2975 - (show annotations)
Thu Mar 4 05:44:12 2010 UTC (10 years, 4 months ago) by ahallam
File MIME type: application/x-tex
File size: 2102 byte(s)
Cookbook modifications Review -> Not quite finished yet.
New figure.

 1 2 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 3 % 4 % Copyright (c) 2003-2010 by University of Queensland 5 % Earth Systems Science Computational Center (ESSCC) 6 7 % 8 % Primary Business: Queensland, Australia 9 % Licensed under the Open Software License version 3.0 10 11 % 12 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 13 14 \chapter{The Einstein Summation Convention} 15 16 The Einstein Summation Convention (ESC) is a notational convention that is prefered by the \esc developers. It is a condensed and practical way to deal with multi-dimensional and convoluted PDEs. By suppressing the need to write out the many terms of each problem it is possible to increase efficiency and reduce the number of errors created through poor working. According to the convention, when an index variable appears twice in a single term, it implies that we are summing over all of its possible values. 17 So we have; 18 \begin{equation} 19 a\hackscore{1}\frac{\partial^2 f}{\partial x\hackscore{1}^2} + a\hackscore{2}\frac{\partial^2 f}{\partial x\hackscore{2}^2} = a\hackscore{i}\frac{\partial^2 f}{\partial x\hackscore{i}^2} 20 \end{equation} 21 22 For a scalar function $f(x\hackscore{1},x\hackscore{2},..x\hackscore{i})$ and a vector $\mathbf{u}(u\hackscore{1},u\hackscore{2},..u\hackscore{i})$ with $u\hackscore{i}(x\hackscore{1},x\hackscore{2},..x\hackscore{i})$, we have the following notation: 23 \begin{equation} 24 \mathbf{u}=\sum\hackscore{i}u\hackscore{i}e^i = u\hackscore{i}e^i 25 \end{equation} 26 \begin{equation} 27 \mathbf{grad}(f) = \mathbf{\nabla}(f) = \sum\hackscore{i}\frac{\partial f}{\partial x\hackscore{i}}e^i = (\partial\hackscore{i} f)e^i = f\hackscore{,i}e^i 28 \end{equation} 29 \begin{equation} 30 div(\mathbf{u}) = \mathbf{\nabla}.\mathbf{u} = \sum\hackscore{i}\frac{\partial u\hackscore{i}}{\partial x\hackscore{i}} = \partial\hackscore{i} u\hackscore{i} = u\hackscore{i,i} 31 \end{equation} 32 \begin{equation} 33 div(\mathbf{grad}(f)) = \nabla^2 f = \Delta f = \sum\hackscore{i}\frac{\partial^2 f}{\partial x\hackscore{i}^2} = f\hackscore{,ii} 34 \end{equation}