Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #10951 > unrolled thread
| Started by | Geraghty Syd <sydgeraghty@mac.com> |
|---|---|
| First post | 2012-07-16 03:44 +0000 |
| Last post | 2012-07-16 03:44 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Could someone else verify that an example from the Geraghty Syd <sydgeraghty@mac.com> - 2012-07-16 03:44 +0000
| From | Geraghty Syd <sydgeraghty@mac.com> |
|---|---|
| Date | 2012-07-16 03:44 +0000 |
| Subject | Re: Could someone else verify that an example from the |
| Message-ID | <ju02nf$48i$1@smc.vnet.net> |
On Jul 15, 2012, at 1:28 AM, W Craig Carter wrote:
> GraphicsGrid[Partition[Table[
> NDSolve`Iterate[state, tau];
> Plot3D[
> Evaluate[
> u[tau, x, y] /.
> NDSolve`ProcessSolutions[state, "Forward"]], {x, -L, L}, {y, -L,
> L}, PlotRange -> {-1/4, 1/4}],
> {tau, 0, 20, 5}], 2]]
Hi Craig,
The issue that prevented your getting a solution was passing integer values for tau instead of Reals!
Table[NDSolve`Iterate[state, tau];
Plot3D[Evaluate[
u[tau, x, y] /.
NDSolve`ProcessSolutions[state, "Forward"]], {x, -L, L}, {y, -L,
L}, PlotRange -> {-1/4, 1/4}], {tau, 0, 20, 5}]
***********
Replace the range of tau by
{tau, 0., 20., 5.}
and you get the solution shown in the documentation with L=-10!
This is an example from Mathematica's lacking a great debugging environment or useful error messages which makes one want to tear out any remaining hair.
Hope that helps ...
Cheers .... Syd
Syd Geraghty B.Sc, M.Sc.
sydgeraghty@me.com
Mathematica 8.0 for Mac OS X x86 (64-bit) (February 23, 2011)
ReleaseID: 8.0.1.0 (2063982, 2063639)
MacOS X V 10.7.1 Lion
MacBook Pro 2.33 GHz Intel Core 2 Duo 3GB RAM
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web