Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1996
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1996

[Date Index] [Thread Index] [Author Index]

Search the Archive

animating a PDE

  • To: mathgroup at smc.vnet.net
  • Subject: [mg5503] animating a PDE
  • From: Homer Simpson of the Borg <psalzman at landau.ucdavis.edu>
  • Date: Sat, 14 Dec 1996 19:26:06 -0500
  • Sender: owner-wri-mathgroup at wolfram.com

hello folks

i am writing a C program to solve a partial differential equation and 
would like to use MMA to animate my results.

it's an initial-value/time evolution problem, and i would like to graph 
the system as it evolves in time.  the program uses the crank-nicholson 
algorithm.  my first thought was to save the solution at every 50 or so 
time steps in a bunch of files and then graph the collection of files as 
a poor man's animation after my program has finished.

here is my question: it would be *infinitely* more desirable to pass an 
array of values to mathematica while the C program is running, so i can 
get graphs the moment the program spits the data out.

is there a way to call MMA from a C program and have it graph an array of 
values passed to it in the form of an array?

i know this is asking for alot, so i won't be too disappointed if it 
can't be done, but if it can, i would be incredibly overjoyed.

thanks.

peter
--
You can sum some of the series some of the time,
But you can't sum all of the series all of the time.
-=><=-+-+-=><=-+-+-=><=-+-+-=><=-+-+-=><=-+-+-=><=-+-+-=><=-+-+-=><=-+-+-=><=-
     I BOYCOTT ANY COMPANY THAT USES MASS ADVERTISING ON THE INTERNET



  • Prev by Date: LaTeX COMPATIBLE MATHEMATICA FRONT END ?
  • Next by Date: Re: Inverse????
  • Previous by thread: LaTeX COMPATIBLE MATHEMATICA FRONT END ?
  • Next by thread: Calculating Sums Of Roots For Trans. Functions