[Getdp] Parse Error in "MagSta_hs_js0.pro" file from MaghetoDunamics example
Andrew Isaverdian
Andrew.Isaverdian at varian.com
Fri May 19 20:07:29 CEST 2006
I remember I could run that example OK with previous version of GetDP.
Now, with GetDP 1.2.1, I get
GetDP : Error ('C:/GetDP/MagSta_hs_js0.pro' line 57): parse error on
'{'
That happens first in the following fragment:
Group {
DefineVariable[ Nbr_DomainB = 1] ;
DefineGroup[ DomainB_Mag{Nbr_DomainB}, SkinDomainB_Mag{Nbr_DomainB},
SurfaceCutB_Mag{Nbr_DomainB},
SkinDomainB2_Mag{Nbr_DomainB},
DomainCC2_Mag{Nbr_DomainB},
SurfaceGh0, Domain_Mag] ;
}
/*
------------------------------------------------------------------------
--*/
Group {
SkinDomainBtot_Mag{#Nbr_DomainB} = Region[ {SkinDomainB_Mag{},
SurfaceGh0} ] ; // <-------------- Here is the parsing Error (and
further down)
DomainCCmB_Mag{#Nbr_DomainB} = Region[ {DomainCC2_Mag{},
-DomainB_Mag{}} ] ;
}
Group {
_TransitionLayer_SkinDomainB{#Nbr_DomainB} =
ElementsOf[SkinDomainB2_Mag{}, OnOneSideOf SurfaceCutB_Mag{}] ;
}
If I get rid of all {} brackets in the file, then it the parser comes
with "Error: Magnetostatics_hs{1} is not defined ..."
If that is a problem with older syntax, then what is a correct one?
I'm attaching *.pro files just in case.
With Regards,
Andrew Isaverdian
Sr. Test Engineer
Varian Medical Systems
(650) 424-6127
andrew.isaverdian at us.varian.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/getdp/attachments/20060519/a4ca8d85/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CoilAboveACrack.pro
Type: application/octet-stream
Size: 5253 bytes
Desc: CoilAboveACrack.pro
URL: <http://www.geuz.org/pipermail/getdp/attachments/20060519/a4ca8d85/attachment.pro>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CoilAboveACrack_dat.pro
Type: application/octet-stream
Size: 1015 bytes
Desc: CoilAboveACrack_dat.pro
URL: <http://www.geuz.org/pipermail/getdp/attachments/20060519/a4ca8d85/attachment-0001.pro>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Integration_Lib.pro
Type: application/octet-stream
Size: 572 bytes
Desc: Integration_Lib.pro
URL: <http://www.geuz.org/pipermail/getdp/attachments/20060519/a4ca8d85/attachment-0002.pro>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Jacobian_Lib.pro
Type: application/octet-stream
Size: 926 bytes
Desc: Jacobian_Lib.pro
URL: <http://www.geuz.org/pipermail/getdp/attachments/20060519/a4ca8d85/attachment-0003.pro>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MagDyn_hphi_Bob.pro
Type: application/octet-stream
Size: 8188 bytes
Desc: MagDyn_hphi_Bob.pro
URL: <http://www.geuz.org/pipermail/getdp/attachments/20060519/a4ca8d85/attachment-0004.pro>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MagSta_hs_js0.pro
Type: application/octet-stream
Size: 4879 bytes
Desc: MagSta_hs_js0.pro
URL: <http://www.geuz.org/pipermail/getdp/attachments/20060519/a4ca8d85/attachment-0005.pro>