b'\n
\n
\n
\n
sfheatexplitest
(4.0)
index
user/chenyk/Mheatexplitest.c
\n Solving 1-D heat equation using explicit finite difference \n
\n
\n
\n
\n
Synopsis
\n \n
\n
sfheatexplitest > out.rsf nt= dt= nx= dx=
\\partial(u)/\\partial(t)=a^2\\partial^2(u)/\\partial(x^2), 0
0,
\nu(0,t)=u(l,t)=0, t>0,
\nu(x,0)=f(x), 0<=x<=l. \n
\n
\n
\n
\n
Parameters
\n \n
\n
\n
\n
\n
\n
float
dt=
\ttemporal sampling
\n
\n \n\n
\n
\n
\n
float
dx=
\tspatial sampling
\n
\n \n\n
\n
\n
\n
int
nt=
\tnumber of temporal points
\n
\n \n\n
\n
\n
\n
int
nx=
\tnumber of spatial points
\n
\n \n
'