Message: Re: Real and Imaginary Parts of the index of Refraction. Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Re: Real and Imaginary Parts of the index of Refraction. 

Forum: Processes Involving Optical Photons
Re: Question Real and Imaginary Parts of the index of Refraction.
Re: Feedback Re: Real and Imaginary Parts of the index of Refraction. (Gumplinger Peter)
Re: None Re: Real and Imaginary Parts of the index of Refraction. (Daniel Bonifacio)
Re: Warning Re: Real and Imaginary Parts of the index of Refraction. (Gumplinger Peter)
Re: Ok Re: Real and Imaginary Parts of the index of Refraction.
Date: 23 Mar, 2009
From: Daniel Bonifacio <Daniel Bonifacio>

Hi, Peter.

I changed the example code LXe to use the complex index of refraction instead of the reflectivity parameter and now no optical photon is generated in the OpenGL window and my program seems to freeze or enter in a infinite loop. I tested without the changes and it was working well. These are my changes in LXeMainVolume.cc:

  //**Photocathode surface properties
  G4double photocath_EFF[num]={1.,1.}; //Enables 'detection' of photons
  G4double photocath_ReR[num]={1.92,1.92};
  G4double photocath_ImR[num]={1.69,1.69};
  G4MaterialPropertiesTable* photocath_mt = new G4MaterialPropertiesTable();
  photocath_mt->AddProperty("EFFICIENCY",Ephoton,photocath_EFF,num);
  photocath_mt->AddProperty("REALRINDEX",Ephoton,photocath_ReR,num);
  photocath_mt->AddProperty("IMAGINARYRINDEX",Ephoton,photocath_ImR,num);
  G4OpticalSurface* photocath_opsurf= 
    new G4OpticalSurface("photocath_opsurf",glisur,polished,
			 dielectric_metal);
  photocath_opsurf->SetMaterialPropertiesTable(photocath_mt);

Is it right this code?

Thanks for the attention, Daniel

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

1 Warning: Re: Real and Imaginary Parts of the index of Refraction.   (Gumplinger Peter - 23 Mar, 2009)
1 Ok: Re: Real and Imaginary Parts of the index of Refraction.   (Daniel Bonifacio - 25 Mar, 2009)
2 Question: Re: Real and Imaginary Parts of the index of Refraction.   (jdswado@gatech.edu - 07 Aug, 2009)
 Add Message Add Message
to: "Re: Real and Imaginary Parts of the index of Refraction."

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews