Message: Re: Simple G4VBREPSolidPolyhedra error? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Simple G4VBREPSolidPolyhedra error? 

Keywords: G4BREPSolidPolyhedra malloc error
Forum: Geometry
Re: Question Simple G4VBREPSolidPolyhedra error? (John Carter)
Date: 01 Aug, 2005
From: Oliver Link <>

Hi John,

I found a solution to your problem: 
You have to replace the code for the destructor of G4BREPSolidPolyhedra
in the file 
  source/geometry/solids/BREPS/src/ (line 810..)
by the following piece of code :

  if( constructorParams.num_z_planes > 0 )
    delete [] constructorParams.z_values;
    delete [] constructorParams.RMIN;
    delete [] constructorParams.RMAX;

This correction will be in the next release as well.

Cheers, Oliver.

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

 Add Message Add Message
to: "Re: Simple G4VBREPSolidPolyhedra error?"

 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 ]