[Run issue]: Custom geometry component not recognised #80
Unanswered
TheRealDoomSlayer
asked this question in
Run-Problem
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Contact Details
No response
What was the issue?
Hi all,
Hope you are well!
I am currently trying to create a custom geometry but I am having issues. I am editing the existing parameter file called TsRandomCylindersInComponent.cc in TOPAS-nBio, that generates random cylinders within an envelope that can be a sphere, box or cylinder. I am editing the code to include an ellipse as an envelope shape. A snippet of this code and the change I have made is below.
"""
TsRandomCylindersInComponentTest::~TsRandomCylindersInComponentTest()
{;}
G4VPhysicalVolume* TsRandomCylindersInComponentTest::Construct()
{
BeginConstruction();
"""
Once I have made these changes to the .cc file, I then make the component using cmake by running the following commands
"""
cmake .
make -j$(nproc)
"""
I can see after running this in the command terminal that the object file for my custom geometry is successfully made in the OpenTOPAS-build folder. However, when I try to use the custom geometry component that I have made, it is giving me an error saying it is unsupported.
Does anyone have experience making custom geometry in TOPAS-nBio and have an idea as to the issue? Thank you for the help!
Kind regards,
Michaela
TOPAS-nBio category
Geometry
Version
3.0
What Operative System (OS) are you running on?
Linux (Debian/Ubuntu)
Relevant log output
Code of Conduct
Attestation
Beta Was this translation helpful? Give feedback.
All reactions