Skip to content

Live/interactive geometry render#217

Open
ChasingNeutrons wants to merge 21 commits into
CambridgeNuclear:mainfrom
ChasingNeutrons:live_render
Open

Live/interactive geometry render#217
ChasingNeutrons wants to merge 21 commits into
CambridgeNuclear:mainfrom
ChasingNeutrons:live_render

Conversation

@ChasingNeutrons

Copy link
Copy Markdown
Collaborator

I've added the ability to do live ray plots. This meant exposing some of the current ray plot to a newly created physics package. The physics package gives a command-line interface and updates an image which is read by an external program which SCONE directly calls. I've been using eog, but this can be changed in the input. I also added the ability to constrain the ray plotting domain to a specific cuboid - this makes it easier to see geometry internals without having to modify the geometry input.

Added in the BEAVRS model with the D-bank partially inserted. Also fixed
a flaw in the geometry where the outermost cell was defined such that
there could be a rare particle lost between it and the geometry
boundary.
Required adding normals to all surfaces and the ability to access these
from cells and universes. Also modified coords to adjust direction in a
given reference frame. New movement/ray tracing subroutines were added
to the geometry.
It is desirable for input to allow some universes not to be offset as
might be done in a lattice. ALternatively, it may be preferable to
evaluate their locations in the global reference frame. The former has
been done by allowing lattice universes to have an 'offset map', the
latter has been done by allowing a chosen universe to be evaluated in
global coordinates. This allowed a fix to the BEAVRS inputs to correctly
position the instrumentation tubes.

There seems to be a dictionary error with the offsetMap. Occasionally it
is not recognised as an integer list. This has prevented the creation of
a new test in latUniverse. This has been commented out until the
dictionary has been fixed.
Added description of offsets in latUniverse and global in universe to
docs. Also added an example of the offsetMap in the form of a 2D CROCUS
input.
Completed live rendering.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant