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

# Re: [FEMM] getpointvalues use

- To: FEMM mailing list <femm@list.foster-miller.net>
- Subject: Re: [FEMM] getpointvalues use
- From: David Meeker <dmeeker@ieee.org>
- Date: Thu, 29 Apr 2004 14:09:43 -0400
- In-reply-to: <OF29485348.CCCE530E-ON85256E85.005CD859-85256E85.005E6AA2@checkpt.com>
- List-archive: <http://femm.foster-miller.net/pipermail/femm>
- List-help: <mailto:femm-request@list.foster-miller.net?subject=help>
- List-id: FEMM mailing list <femm.list.foster-miller.net>
- List-post: <mailto:femm@list.foster-miller.net>
- List-subscribe: <http://femm.foster-miller.net/mailman/listinfo/femm>, <mailto:femm-request@list.foster-miller.net?subject=subscribe>
- List-unsubscribe: <http://femm.foster-miller.net/mailman/listinfo/femm>, <mailto:femm-request@list.foster-miller.net?subject=unsubscribe>
- References: <OF29485348.CCCE530E-ON85256E85.005CD859-85256E85.005E6AA2@checkpt.com>
- Reply-to: FEMM mailing list <femm@list.foster-miller.net>
- User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 MultiZilla/1.6.0.0e

`RONALD.SALESKY@checkpt.com wrote:`

> `
> Hello fellow FEMM enthusiasts,`
> `Has anyone used the getpointvalues( ) command? I tried the example for catching all values:`
> `Are, Aim B1re, B1im, B2re, B2im, Sig, E, H1re, H1im, H2re, H2im, Jere, Jeim, Jsre, Jsim, Mu1re,Mu1im, Mu2re, Mu2im, Pe, Ph = getpointvalues(0,400)`
> `and when running the script in FEMMview get an error, '=' expected for this line.`
> `Has anyone experienced this problem and how did you overcome it?`

`
The problem with your statement above is that there's no comma between Aim and B1re. If you put in the comma, it will work OK.`
`I find it a drag to work directly with getpointvalues. I usually write functions in the beginning of Lua scripts like:`

    function getB(x,y)
    Are,Aim,B1re,B1im,B2re= getpointvalues(x,y)
    return B1re,B2re
    end

`so that I can call a function that returns just the quantities that I'm interested in for the purposes of that particular script.`
`I've added functions like mo_getb(x,y), mo_geth(x,y), and so forth, to the Matlab and Mathematica interfaces to FEMM, but these aren't standard functions in straight Lua implementation.`
`Dave.`

- References:
  - [FEMM] getpointvalues use
    - From: RONALD.SALESKY@checkpt.com

- Prev by Date: Re: [FEMM] getpointvalues use
- Next by Date: [FEMM] Modeling a LVDT
- Previous by thread: Re: [FEMM] getpointvalues use
- Next by thread: [FEMM] Modeling a LVDT
- Index(es):
  - Date
  - Thread