Message: Re: trigonometric functions in GDML? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Note Re: trigonometric functions in GDML? 

Forum: Geometry
Re: Question trigonometric functions in GDML? (Kazuyoshi Furutaka)
Re: More Re: trigonometric functions in GDML? (Gabriele Cosmo)
Re: Sad Re: trigonometric functions in GDML? (Kazuyoshi Furutaka)
Date: 09 Mar, 2009
From: Kazuyoshi Furutaka <Kazuyoshi Furutaka>

On Mon, 09 Mar 2009 23:01:08 GMT, Kazuyoshi Furutaka wrote:
> Hi Gabriele-san,
> 
> On Mon, 09 Mar 2009 16:17:09 GMT, Gabriele Cosmo wrote:
> 
> > > How can one use trigonometric functions in GDML?
> > 
> > you cannot use mathematical functions; GDML is not a programming
> > language. It only provides few means for simple constructs to help you
> > building up a detector description. You should treat formulae directly
> > in your code.
> 
> I see.
> 
> Thanks.

By the way, a paper titled "An XML description of detector geometries for
GEANT4" by J.Figgins, B.Walker and J.R.Comfort (NIMPR A568 (2006) 896-903)
states that "Arithmetic operations can be used, with standard hierarchies
regarding order, as well as many common functions (e.g., trigonometric,
square-root, etc.).", and I guessed these could be used in GDML also...

Kazuyoshi

 Add Message Add Message
to: "Re: trigonometric functions in GDML?"

 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 ]