Message: Re: Use of replicavol in GDML - rotation replication on an axis Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Use of replicavol in GDML - rotation replication on an axis 

Forum: Geometry
Re: None Use of replicavol in GDML - rotation replication on an axis (Joe Westlake)
Date: 28 Jan, 2015
From: John Apostolakis <John Apostolakis>

Dear Joe,

Replica volumes involve slicing an existing volume (parent) into subvolumes along a particular axis.

It does not sound like your use case maps well onto this pattern.

If you have 15 volumes, it seems that making individual placement volumes for each one would work best.

Best regards,
John
===================================================
John Apostolakis,  PH Department, CERN

> On 26 Jan 2015, at 20:19, Joe Westlake <joseph.westlake@jhuapl.edu> wrote:
> 
> 
> *** Discussion title: Geometry
> 
> I'm trying to figure out how to do replica volumes as rotations along an
> axis in GDML. I cannot find a good example or definition on how to do
> this. I have only found translation examples, for example the
> extended/persistency example:
> 
>  <structure>
>    <volume name="lvCube">
>      <materialref ref="ALU"/>
>      <solidref ref="Cube"/>
>    </volume>
>    <volume name="lvReplica">
>      <materialref ref="AIR"/>
>      <solidref ref="MotherCube"/>
>      <replicavol number="8">
>        <volumeref ref="lvCube"/>
>        <replicate_along_axis> 
>        <direction  x="1" />
>        <width value="100" unit="mm"/>
>        <offset value="0" unit="mm"/>
>      </replicate_along_axis>
>     </replicavol>
> 
> I would like to place 15 volumes offset by 3 degrees each.
> 
> Thanks in advance!
> 
> -------------------------------------------------------------
> Visit this GEANT4 at hypernews.slac.stanford.edu message (to reply or unsubscribe) at: 
> http://hypernews.slac.stanford.edu/HyperNews/geant4/get/geometry/1395.html 

 Add Message Add Message
to: "Re: Use of replicavol in GDML - rotation replication on an axis"

 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 ]