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

Force Calculation fix / other mods



All--

I wanted to get a lua lineintegral(3) fix out as soon as I can, so I have posted a fixed version on the mailing list's files site. The self-installing executable is at:
http://groups.yahoo.com/group/femm/files/setup.exe
and the source for this version is at:
http://groups.yahoo.com/group/femm/files/femm32src.zip


I've finally ditched MSVC++ 4 in favor of a later version. This version of the executables is compiled with MSVC++ 6, and I haven't included the standard windows dll's in the distribution, figuring that everyone already has them. Omitting these files cuts the length of the executable distribution by about 400K. (I was going to switch over to the new MSVC++ 7, but there seem to be some compatibility problems with v7 and Win95/98 that I haven't figured out yet...) I've also pruned down the source distribution, again reducing its size by about 400K.

Besides the lineintegral(3) fix, there are some improvements to functionality. A while ago, someone had suggested that it would be nice to be able to enter in formulas into any of the edit boxes, rather than always having to enter in numerical values. This is now implemented. So, for example, you could enter in a formula like:
1/(0.10*PI*4.e-7)
when you are defining an asymtotic boundary condition instead of having to calculate it out separately and then enter it in. All of these formulas get evaluated when you hit OK for any dialog box. In addition, you can select any piece of text that you have typed into any edit box and do a right mouse button click. On the pop-up menu, a new entry, "evaluate", appears, that evaluates the selected piece of text with lua.\


I've also added a lua console. By default, it is not shown, but you can display it by a selection on the View menu. There is an entry in the preferences that turns it on by default. You can use the lua print statement to display results in the console, and you can use a statement called "prompt" (see manual) to get input from the user e.g. while a lua script is running.

You can now make curved contours in the post-processor. If you hit the Shift key after you have drawn a contour in the post-processor, a dialog appears that asks you for an arc length. The line that you've drawn is then replaced by the specified arc. There is a lua command that allows you to do the same thing programmatically.

Grid commands for the preprocessor have been added to the lua functions.

A number of inconsistent behaviors that Keith has pointed out to me have now been fixed (although I think that I still have a few more yet to fix...) Thanks again, Keith G.

Dave.
--
David Meeker <http://femm.berlios.de/dmeeker>