Message: Re: How to construct sine or cosine shape geometry? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: How to construct sine or cosine shape geometry? 

Forum: Geometry
Re: Question How to construct sine or cosine shape geometry? (Linlin Zhang)
Date: 08 May, 2017
From: John Apostolakis <John Apostolakis>

Dear Linlin,

The answer depends on the accuracy of the description that you need for 
your application.

If you can use an approximate description, then you should slice the 
tubular shape and approximate its different pieces with an existing 
Geant4 solid.  I suggest that you look into the G4CutTubs shape, as it 
may fulfill your needs - it may be possible to create the shape you need 
by gluing together several segments made of G4CutTubs.  Else you could 
look into cylinders (G4Tubs), extruded solids or tesselated solids (with 
triangular or quadrilateral facets.

Else, if you want a very accurate description, you will need to create 
your own G4VSolid implementation which describes the wire. Please refer 
to the Geant4 Users Guide for Toolkit developers regarding the interface 
this must implement.

Best regards,

John Apostolakis

On 08.05.17 09:51, Linlin Zhang wrote:
> *** Discussion title: Geometry
> Hello,
> I need to construct one solid geometry with sine or cosine shape wire.
> Does anybody have idea how to do ?
> Thanks, Linlin
> -------------------------------------------------------------
> Visit this GEANT4 at message (to reply or unsubscribe) at:

 [ MIME part of type text/html without a name stripped ]

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

1 None: Re: How to construct sine or cosine shape geometry?   (Linlin Zhang - 08 May, 2017)
 Add Message Add Message
to: "Re: How to construct sine or cosine shape geometry?"

 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 ]