[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

# Re: [femm] some bugs?

- To: femm@yahoogroups.com
- Subject: Re: [femm] some bugs?
- From: dcm3c@aol.com
- Date: Sun, 19 Aug 2001 23:59:19 EDT

In a message dated 8/18/01 5:00:57 PM Eastern Daylight Time,
carlkopin@yahoo.com writes:

> Robin,
> I think this hit may be helpful:
> -- the problem on W95 and W2000 I wrote earlier appears to happen solving
> lineintegral(3)!
> Carl

This narrows things down a lot--thanks for this updated report. Looking at
this section of code, it appears that the problem is that not enough space is
allocated to receive the result from lineintegral(3), the result for the
stress tensor integration. However, this ought to be a really easy thing to
fix. If anyone has a compiler and wants to patch their own copy before a new
"official" release with a fix is posted, a minimialist fix would be to change:
z=(CComplex *)calloc(2,sizeof(CComplex));
in the lua_lineintergral() function to
z=(CComplex *)calloc(4,sizeof(CComplex));
At least, I think that this oughta do it....
Dave.
--
David Meeker
http://members.aol.com/_ht_a/dcm3c

- Prev by Date: Lua 3.1 patch
- Next by Date: RE: [femm] Re: Lua sample of line integral
- Previous by thread: i need help , it is urgent ( simulation of stepper motor)
- Next by thread: new Lua features
- Index(es):
  - Date
  - Thread