Skip to content

Commit

Permalink
Update SimpleWave example to work with xTensor
Browse files Browse the repository at this point in the history
  • Loading branch information
barrywardell committed Mar 7, 2014
1 parent dd7db53 commit f6d78b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Examples/SimpleWave.m
Expand Up @@ -4,7 +4,7 @@
PDstandard2nd[i_] -> StandardCenteredDifferenceOperator[1,1,i],
PDstandard2nd[i_, i_] -> StandardCenteredDifferenceOperator[2,1,i]};

PD = PDstandard2nd;
DefineDerivative[pd, PDstandard2nd];

groups = {{"evolved_group", {phi, pi}}};

Expand All @@ -24,7 +24,7 @@
Equations ->
{
dot[phi] -> pi,
dot[pi] -> Euc[ui,uj] PD[phi,li,lj]
dot[pi] -> Euc[ui,uj] pd[phi,li,lj]
}};

CreateKrancThornTT[
Expand Down

0 comments on commit f6d78b8

Please sign in to comment.