Skip to content

Commit

Permalink
SimpleWaveCaKernel.m: Fix up several details
Browse files Browse the repository at this point in the history
  • Loading branch information
ianhinder committed Jan 27, 2012
1 parent 8fd96ee commit cffa920
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Examples/SimpleWaveCaKernel.m
Expand Up @@ -25,11 +25,11 @@
{
Name -> "calc_rhs",
Schedule -> {"at EVOL"},
Where -> Interior,
Where -> Everywhere,
Equations ->
{
dot[phi] -> pi,
dot[pi] -> Euc[ui,uj] PD[phi,li,lj]
dot[pi] -> phi (* Euc[ui,uj] PD[phi,li,lj] *)
}
};

Expand All @@ -41,7 +41,7 @@
Where -> Interior,
Equations ->
{
phi -> phi + dt dot[phi]
phi -> phi + dt dot[phi],
pi -> pi + dt dot[pi]
}
};
Expand All @@ -51,4 +51,5 @@
Calculations -> {initialSineCalc, evolveCalc, integrateCalc},
PartialDerivatives -> derivatives,
UseCaKernel -> True,
EvolutionTimelevels -> 1,
DeclaredGroups -> {"phi_g","pi_g"}];

0 comments on commit cffa920

Please sign in to comment.