Message: RE: Using replica Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None RE: Using replica 

Forum: Geometry
Re: Question Using replica (Shawn Kang)
Date: 27 Aug, 2010
From: Makoto Asai <Makoto Asai>

Hi Shawn,

You may use replica for one dimension (say, X),
and apply another replica for Y-direction onto
the resulting rod (sliced in X).

Makoto

> -----Original Message-----
> From: Shawn Kang [mailto:shawn.kang@jpl.nasa.gov]
> Sent: Friday, August 27, 2010 11:18 AM
> To: geometry-g4hn
> Subject: Using replica
> 
> 
> *** Discussion title: Geometry
> 
> Hello,
> 
> I am creating a large mesh (1000 x 1000) using replica. They are
> all
> identical in shape and material. I just like to create one mesh
> and
> replicate them in both direction 1000 times ( in x and y
> directions) so
> that I will end up with geometry looking like a checker board. As
> I
> understood and tested, I could use replica only in one direction
> (either
> x or y) in the same mother geometry. In the past I used for loop
> and
> array to create this kind of geometry but I would like to know if
> there
> is a better way. Also, after simulation I need to get address of
> each
> mesh like row 345 and column 234, for example.
> 
> Thanks for your help.
> 
> Shawn
> 
> -------------------------------------------------------------
> Visit this GEANT4 at hypernews.slac.stanford.edu message (to
> reply or unsubscribe) at:
> http://hypernews.slac.stanford.edu/HyperNews/geant4/get/geometry/
> 1071.html

 Add Message Add Message
to: "RE: Using replica"

 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 ]