Message: Re: Concentric cylindrical shells Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: Concentric cylindrical shells  

Keywords: concentric cylinders shells
Forum: Geometry
Re: Question Concentric cylindrical shells (Gabriel Sawakuchi)
Date: 24 Jan, 2007
From: Gabriele Cosmo <Gabriele Cosmo>

Hi Gabriel,

I guess that a problem may be originated by this line in the
method ShellParameterisation::ComputeTransformation():

  G4RotationMatrix* Rotation = new G4RotationMatrix();

Here, each time you call the method you dinamically allocate a matrix
which will never be deleted, as such you have a memory leak.
You should eventually create your transformation statically instead.

Cheers, Gabriele

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

1 Feedback: Re: Concentric cylindrical shells   (Gabriel Sawakuchi - 24 Jan, 2007)
 Add Message Add Message
to: "Re: Concentric cylindrical shells "

 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 ]