Message: Re: Surface conditions for CSG Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: Surface conditions for CSG 

Keywords: BREP, CSG, optical surface condition
Forum: Processes Involving Optical Photons
Re: Question Surface conditions for CSG
Date: 25 Feb, 2005
From: Gumplinger Peter <Gumplinger Peter>

While the G4LogicalSkinSurface is the same surface for all faces of a CSG, this is not necessarily the case when you use a G4LogicalBorderSurface. In fact, the G4LogicalBorderSurface is define by TWO volumes, i.e. the two volumes on each side of the face. So, now if you want to have six different surfaces, one for each side of your G4Box, what you need to do is contact each face with a different outside volume. These extraneous volumes can all be filled with the same material, if that's the reality for the world around this CSG, so long as they are different G4VPhysicalVolume objects. They can also be very thin.

For you this is even the real physical situation where each face shares a boundary with a different material.

Hope this answers your question.

(G4LogicalSkinSurface takes a G4LogicalVolume* as argument in the constructor. G4LogicalBorderSurface takes two G4VPhysicalVolume* as arguments in the constructor. This has nothing to do with how the volume itself is defined, CSG or BREP.)

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

1 Question: Re: Surface conditions for CSG (Need Clarification for BREP)   (Christine Dumoulin - 13 Jul, 2005)
(_ Feedback: Re: Surface conditions for CSG (Need Clarification for BREP)   (Peter Gumplinger - 13 Jul, 2005)
 Add Message Add Message
to: "Re: Surface conditions for CSG"

 Subscribe Subscribe

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