Message: Re: Interaction of solid with a Fresnel Lens Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Interaction of solid with a Fresnel Lens 

Forum: Geometry
Re: Question Interaction of solid with a Fresnel Lens (Beatrice Panico)
Re: None Re: Interaction of solid with a Fresnel Lens (Vladimir Grichine)
Re: None Re: Interaction of solid with a Fresnel Lens (Beatrice Panico)
Re: None Re: Interaction of solid with a Fresnel Lens (Vladimir Grichine)
Date: 01 Jul, 2013
From: Beatrice Panico <Beatrice Panico>

For example :

//standard box
  G4Box * FLBox = new G4Box("FLBox",(500.0)*mm, (500.0)*mm, (thin)/2.*mm);
//standard tube
  G4Tubs* FCyl = new G4Tubs ("FCyl",0., (600.0)*mm, (thin)/2.*mm, 0., twopi );

//this works well
  G4SubtractionSolid*  FLQuad = new G4SubtractionSolid("FLBox-FCyl",FLBox,FCyl);
  G4IntersectionSolid* Int  = new G4IntersectionSolid("FLBox*FCyl",FLBox,
                              FCyl,FrontLensRot,G4ThreeVector(0.,0.,0));

//then I ask for
  G4IntersectionSolid* FLIntR= new G4IntersectionSolid("FLBox*FrontLensMoved",FLBox,FrontLens_solid,FrontLensRot,G4ThreeVector(0.,0.,0));

  G4LogicalVolume* FLIntR_log = new G4LogicalVolume(FLIntR,fPMMA,"FrontLens",0,0,0);

// here there is the crash
  G4VPhysicalVolume* FLIntR_phys= new G4PVPlacement(0,G4ThreeVector(0.,0.,(fLensDistance+thin)/2.*mm),FLIntR_log,"FrontLens",OpticalSystem_log,false,0); 

The lens is constructed by the class ShapeOfLens, but I don't thik that the problem is there because without the intersection the lens works well. I need intersection to modify lens shape.

ShapeOfLens* FrontLens_solid = new ShapeOfLens("FrontLens", (thin+0.5)*0.5*mm, (r_wall+1.)*mm, upsurf1, downsurf1);

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

1 None: Re: Interaction of solid with a Fresnel Lens   (Vladimir Grichine - 01 Jul, 2013)
(_ None: Re: Interaction of solid with a Fresnel Lens   (Beatrice Panico - 03 Jul, 2013)
 Add Message Add Message
to: "Re: Interaction of solid with a Fresnel Lens"

 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 ]