{"action":"created","issue":{"url":"https://api.github.com/repos/nrc-cnrc/EGSnrc/issues/103","repository_url":"https://api.github.com/repos/nrc-cnrc/EGSnrc","labels_url":"https://api.github.com/repos/nrc-cnrc/EGSnrc/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/nrc-cnrc/EGSnrc/issues/103/comments","events_url":"https://api.github.com/repos/nrc-cnrc/EGSnrc/issues/103/events","html_url":"https://github.com/nrc-cnrc/EGSnrc/pull/103","id":159321971,"number":103,"title":"Additional egs++ geometries and shapes.","user":{"login":"randlet","id":78128,"avatar_url":"https://avatars.githubusercontent.com/u/78128?v=3","gravatar_id":"","url":"https://api.github.com/users/randlet","html_url":"https://github.com/randlet","followers_url":"https://api.github.com/users/randlet/followers","following_url":"https://api.github.com/users/randlet/following{/other_user}","gists_url":"https://api.github.com/users/randlet/gists{/gist_id}","starred_url":"https://api.github.com/users/randlet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/randlet/subscriptions","organizations_url":"https://api.github.com/users/randlet/orgs","repos_url":"https://api.github.com/users/randlet/repos","events_url":"https://api.github.com/users/randlet/events{/privacy}","received_events_url":"https://api.github.com/users/randlet/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nrc-cnrc/EGSnrc/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"ftessier","id":1444241,"avatar_url":"https://avatars.githubusercontent.com/u/1444241?v=3","gravatar_id":"","url":"https://api.github.com/users/ftessier","html_url":"https://github.com/ftessier","followers_url":"https://api.github.com/users/ftessier/followers","following_url":"https://api.github.com/users/ftessier/following{/other_user}","gists_url":"https://api.github.com/users/ftessier/gists{/gist_id}","starred_url":"https://api.github.com/users/ftessier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ftessier/subscriptions","organizations_url":"https://api.github.com/users/ftessier/orgs","repos_url":"https://api.github.com/users/ftessier/repos","events_url":"https://api.github.com/users/ftessier/events{/privacy}","received_events_url":"https://api.github.com/users/ftessier/received_events","type":"User","site_admin":false},"assignees":[{"login":"ftessier","id":1444241,"avatar_url":"https://avatars.githubusercontent.com/u/1444241?v=3","gravatar_id":"","url":"https://api.github.com/users/ftessier","html_url":"https://github.com/ftessier","followers_url":"https://api.github.com/users/ftessier/followers","following_url":"https://api.github.com/users/ftessier/following{/other_user}","gists_url":"https://api.github.com/users/ftessier/gists{/gist_id}","starred_url":"https://api.github.com/users/ftessier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ftessier/subscriptions","organizations_url":"https://api.github.com/users/ftessier/orgs","repos_url":"https://api.github.com/users/ftessier/repos","events_url":"https://api.github.com/users/ftessier/events{/privacy}","received_events_url":"https://api.github.com/users/ftessier/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/nrc-cnrc/EGSnrc/milestones/2","html_url":"https://github.com/nrc-cnrc/EGSnrc/milestones/Release%202017","labels_url":"https://api.github.com/repos/nrc-cnrc/EGSnrc/milestones/2/labels","id":1531533,"number":2,"title":"Release 2017","description":"","creator":{"login":"ftessier","id":1444241,"avatar_url":"https://avatars.githubusercontent.com/u/1444241?v=3","gravatar_id":"","url":"https://api.github.com/users/ftessier","html_url":"https://github.com/ftessier","followers_url":"https://api.github.com/users/ftessier/followers","following_url":"https://api.github.com/users/ftessier/following{/other_user}","gists_url":"https://api.github.com/users/ftessier/gists{/gist_id}","starred_url":"https://api.github.com/users/ftessier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ftessier/subscriptions","organizations_url":"https://api.github.com/users/ftessier/orgs","repos_url":"https://api.github.com/users/ftessier/repos","events_url":"https://api.github.com/users/ftessier/events{/privacy}","received_events_url":"https://api.github.com/users/ftessier/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":0,"state":"open","created_at":"2016-01-21T18:03:50Z","updated_at":"2016-06-28T19:15:50Z","due_on":"2017-04-16T04:00:00Z","closed_at":null},"comments":3,"created_at":"2016-06-09T03:35:17Z","updated_at":"2016-06-30T19:25:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nrc-cnrc/EGSnrc/pulls/103","html_url":"https://github.com/nrc-cnrc/EGSnrc/pull/103","diff_url":"https://github.com/nrc-cnrc/EGSnrc/pull/103.diff","patch_url":"https://github.com/nrc-cnrc/EGSnrc/pull/103.patch"},"body":"As discussed previously this PR introduces a number of new egs++ geometries and shapes outined below (example geometry files for the new geometries are also included).\r\n\r\nOne thing of note is that there are a couple of other GPL'd files included (gzstream.cpp, gzstream.h & sobol.cpp, sobol.h) that I did not write. Hopefully that doesn't cause any issues for distribution.\r\n\r\nHopefully everything is in OK shape but I recognize that this is a big PR so we may have to go through a few revisions (e.g. do you want this all squashed to a single commit?).\r\n\r\nIf you need a more formal statement of transfer of copyright than those contained in commit messages then please let me know!\r\n\r\n\r\nGeometry\r\n-------------\r\n\r\n### EGS_AutoEnvelope\r\n\r\nAn envelope geometry that inscribes a single geometry at one or more locations within a base geometry (think brachy seeds in a phantom). The primary difference between the regular egs++ geometry envelope and the auto-envelope is that, at initialization time the auto-envelope uses a Monte-Carlo routine to discover which regions of the base geometry are occupied by the inscribed geometry.  This allows us to skip bounds checking of the inscribed geometries when in regions of the base geometry that have no inscribed geometries in them.  This makes the transport in the phantom (roughly) independent of the number of inscribed geometries and can give a large gain in efficiency for some simulations.  This library also includes an additional EGS_ASwitchedEnvelope that allows user codes to enable / disable inscribed geometries arbitrarily (we use this for simulating inter-seed effects in TG43 calculations and stepped HDR sources).\r\n\r\n### EGS_rz\r\n\r\nA wrapper around ND_geometry to simplify the creation of RZ geometries.\r\n\r\n### EGS_cSpheres\r\n\r\n\r\nWe've also modified the EGS_cSpheres geometry class to a) implement  getBound, getNRegDir,  and getMass and b) implement a spherical shell class (innermost sphere is considered to be outside the geometry). \r\n\r\n### EGS_glib\r\n\r\nA very small shim library that allows you to load geometries from external files (similar to an \"include\" directive) like so:\r\n\r\n:start geometry:\r\n    library = egs_glib\r\n    name = my_external_geom\r\n    include file = /path/to/some/external/my_geom.geom\r\n:stop geometry:\r\n\r\nWhere the external file is a valid `geometry definition` input block.  The advantages of this over a regular \"include\" is that you can now use egs_view to view the geometry in your external file and use \"my_external_geom\" in other composite geometries in your input file. This geometry can also be used to create an XYZ geometry from an egsphant file.\r\n\r\nShapes\r\n-------\r\n\r\n### egs_conical_shell_stack\r\n\r\nAllows you to define a shape in a similar way to the egs cone stack geometry.\r\n\r\n### egs_spherical_shell\r\n\r\nAllows you to create a thin spherical shell shape.  This shell can also be truncated by a conical section of a given half-angle (we use it for simulating beta-emitting eye-plaques).\r\n"},"comment":{"url":"https://api.github.com/repos/nrc-cnrc/EGSnrc/issues/comments/229762736","html_url":"https://github.com/nrc-cnrc/EGSnrc/pull/103#issuecomment-229762736","issue_url":"https://api.github.com/repos/nrc-cnrc/EGSnrc/issues/103","id":229762736,"user":{"login":"randlet","id":78128,"avatar_url":"https://avatars.githubusercontent.com/u/78128?v=3","gravatar_id":"","url":"https://api.github.com/users/randlet","html_url":"https://github.com/randlet","followers_url":"https://api.github.com/users/randlet/followers","following_url":"https://api.github.com/users/randlet/following{/other_user}","gists_url":"https://api.github.com/users/randlet/gists{/gist_id}","starred_url":"https://api.github.com/users/randlet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/randlet/subscriptions","organizations_url":"https://api.github.com/users/randlet/orgs","repos_url":"https://api.github.com/users/randlet/repos","events_url":"https://api.github.com/users/randlet/events{/privacy}","received_events_url":"https://api.github.com/users/randlet/received_events","type":"User","site_admin":false},"created_at":"2016-06-30T19:25:22Z","updated_at":"2016-06-30T19:25:22Z","body":"I've updated this so that everything will now compile and run without the gzstream & Sobol rng dependencies.  Users who want the extra functionality can obtain the code required from [here](https://github.com/clrp-code/egspp-geometry-lib-extras).\r\n\r\n"}}
{"actor":{"display_login":"randlet"}}