Message: Re: Complex object by chaining G4IntersectionSolid Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

More Re: Complex object by chaining G4IntersectionSolid 

Forum: Geometry
Re: None Complex object by chaining G4IntersectionSolid (Francesc Massanes)
Re: Idea Re: Complex object by chaining G4IntersectionSolid (Michael H. Kelsey)
Date: Dec 30, 08:45
From: Francesc Massanes <Francesc Massanes>

> To make the "shallow union", there are two approaches: Make unions of
> pairs, then union pairs of those, and so on until you've built the whole
> set. With 60k objects, the nesting will be only 16 layers deep instead
> of 60,000 layers. Alternatively, if you're using "USOLIDS", you can use
> the G4MultiUnion class to form a single union out of a set of solids by
> repeatedly calling AddNode(solid, transform).

Thank you for the suggestion Michael, I will give this a try. I think the G4 Multi Union might be a way to approach this.

> Also, you mentioned that maybe you could split the box into pieces and
> do subtraction in the individual pieces. Are the different sub-boxes
> identical to one another? If so, then that's also a better choice: make
> the "unit cell" shape, and just place it multiple times into your world
> (or mother volume).

That is definitely an option that I am considering and I have started testing.

-- Francesc Massanes

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Ok: Re: Complex object by chaining G4IntersectionSolid   (Francesc Massanes - Dec 31, 16:46)
 Add Message Add Message
to: "Re: Complex object by chaining G4IntersectionSolid"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]