[Gate-users] Error in forbid command
Simon Stute
gate.stute at gmail.com
Wed Nov 2 14:03:13 CET 2011
Hey,
Indeed, the forbid command is bugged in the v6.0 and v6.0.p01, but NOT in
the v6.1.
If you want it to work in the v6.0 or v6.0.p01, use the updated class that
I attached in this email.
The .hh file should be placed in the source/physics/include directory and
the .cc in source/physics/src.
They recompile GATE and the forbid should work.
Cheers,
Simon
On Tue, Nov 1, 2011 at 7:48 AM, lupa euy <lupalagieuy at yahoo.com> wrote:
>
> Dear everyone,
>
> I am running my PET simulation using GATE6.0 p01, it runs alright but once
> I include the Forbid command for the cold region,
> it gives such error below....
>
> If the Forbid command was not there, or it does not declared properly (and
> hence it is ignored), the simulation went well..but no cold region is
> defined. Below is the error comments and how I defined the source in the
> source and cold region in the mac file.
>
> Anybody have any idea what is going on ? please help..
>
> regards
>
>
>
> *** Break *** segmentation violation
> #0 0x00002b612f79b995 in waitpid () from /lib64/libc.so.6
> #1 0x00002b612f736b21 in do_system () from /lib64/libc.so.6
> #2 0x00002b61296560da in TUnixSystem::StackTrace() ()
> from /OpenGate6.01/root/lib/libCore.so
> #3 0x0000000200000000 in ?? ()
> #4 0x00002b612fa52e68 in main_arena () from /lib64/libc.so.6
> #5 0x00000000018a7940 in ?? ()
> #6 0x0000000000000400 in
> ?? ()
> #7 0x00002b612fa52eb0 in main_arena () from /lib64/libc.so.6
> #8 0x0000000002018390 in ?? ()
> #9 0x00007fff1e3675d0 in ?? ()
> #10 0x00007fff1e3675c0 in ?? ()
> #11 0x00007fff1e369390 in ?? ()
> #12 0x00007fff1e3675a0 in ?? ()
> #13 0x00007fff1e369370 in ?? ()
> #14 0x00007fff1e369340 in ?? ()
> #15 0x0000000001896a80 in ?? ()
> #16 0x0100000002019080 in ?? ()
> #17 0x00002b61299ac2a0 in ?? ()
> from /OpenGate6.01/root/lib/libCore.so
> #18 0x00000000021657e0 in ?? ()
> #19 0x0000000000000016 in ?? ()
> #20 0x00002b612a6d67e8 in G(short, long double, char, float, int,
> long,...) ()
> from /OpenGate6.01/root/lib/libCint.so
> #21 0xffffffff2a6d5380 in ?? ()
> #22 0x00002b6100002e60 in ?? ()
> #23 0x0000000002019060 in ?? ()
> #24 0xffffffff00000000 in ?? ()
> #25 0x00000000ffffffff in ?? ()
> #26 0x00000000018cf460 in ?? ()
> #27 0x0000000000000800 in ?? ()
> #28
> 0x0000000000000000 in ?? ()
>
>
>
>
>
>
>
>
> #/gate/run/initialize
> /gate/world/daughters/name cold_area
> /gate/world/daughters/insert cylinder
> /gate/cold_area/geometry/setRmax 10.0 mm
> /gate/cold_area/geometry/setRmin 0.0 mm
> /gate/cold_area/geometry/setHeight 2.0 mm
> #/gate/cold_area/setMaterial Polyethylene
> /gate/cold_area/setMaterial Water
> /gate/cold_area/vis/setColor white
> /gate/cold_area/vis/forceWireframe
> /gate/cold_area/vis/setVisible 1
> /gate/cold_area/attachPhantomSD
>
> /gate/run/initialize
> /gate/source/addSource sphere1
> /gate/source/sphere1/setActivity 1250. Bq
> /gate/source/sphere1/gps/centre 0.0 0.0 0.0 mm
> /gate/source/sphere1/gps/particle e+
> /gate/source/sphere1/gps/energytype Mono
> /gate/source/sphere1/gps/monoenergy 511. keV
> /gate/source/sphere1/gps/type Volume
> #/gate/source/sphere1/gps/shape Sphere
> #/gate/source/sphere1/gps/radius 1.25 mm
> /gate/source/sphere1/gps/shape Cylinder
> /gate/source/sphere1/gps/radius 50.0 mm
> /gate/source/sphere1/gps/halfz 5.0 mm
> /gate/source/sphere1/gps/angtype iso
>
> /gate/source/sphere1/gps/Forbid cold_area
> #/gate/source/list
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GateSPSPosDistribution.hh
Type: application/octet-stream
Size: 1762 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20111102/f8bc9161/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GateSPSPosDistribution.cc
Type: application/octet-stream
Size: 9578 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20111102/f8bc9161/attachment-0001.obj>
More information about the Gate-users
mailing list