Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refractive index of the medium #91

Open
GoogleCodeExporter opened this issue Aug 12, 2015 · 6 comments
Open

Refractive index of the medium #91

GoogleCodeExporter opened this issue Aug 12, 2015 · 6 comments
Assignees
Labels
comp-UI Related to user interface (command line, input files) feature Allows new functionality pri-Medium Worth assigning to a milestone usability Makes using code more convenient
Milestone

Comments

@GoogleCodeExporter
Copy link

Implement specifying refractive index of the medium by command line option.
It will simplify application of ADDA to such cases reusing existing files
with refractive index spectra, etc.

Since absorbing refractive index of the medium is fundamentally hard, first
step is to limit the command line argument to real values.

Original issue reported on code.google.com by yurkin on 9 Dec 2009 at 8:49

@GoogleCodeExporter
Copy link
Author

Original comment by yurkin on 27 Apr 2010 at 4:10

@GoogleCodeExporter GoogleCodeExporter added OpSys-All comp-UI Related to user interface (command line, input files) usability Makes using code more convenient pri-Medium Worth assigning to a milestone labels Aug 12, 2015
@myurkin myurkin added the feature Allows new functionality label Aug 13, 2015
@myurkin myurkin self-assigned this Nov 12, 2015
@myurkin myurkin added this to the 1.6 milestone Jul 10, 2018
@myurkin
Copy link
Member

myurkin commented Jul 22, 2019

It is also interesting to look into the possibility of tensorial (anisotropic) epsilon of the medium. But that requires proper formulation of the scattering problem in the first place.

@alkichigin
Copy link

It seems to be easy to add support for non-absorbing host medium, let it be called m_h. In our work on EELS (#155) we found that as for now to simulate non-absorbing medium other than vacuum one has to:

  • divide -lambda by m_h, so WaveNum variable will contain m_h
  • divide -m by m_h, so the polarizability prescription remains valid, as it operates relative refractive index (or permittivity).
    When the -mh parameter is implemented into ADDA, it will be easy to adapt current EELS code to work with general -mh rather than with mh given as a parameter of -beam electron. Plane waves probably won't need any editing at all. All other beams and -surf can log error that -mh currently not supported.

@myurkin
Copy link
Member

myurkin commented Sep 13, 2020

@Sunmosk

@Sunmosk
Copy link
Contributor

Sunmosk commented Sep 14, 2020

Already added -mhost into ADDA in my local copy. Currently it works for real RI (non-absorbing host medium), but my goal is to add support of complex RI.

@myurkin myurkin assigned Sunmosk and unassigned myurkin Sep 14, 2020
@myurkin
Copy link
Member

myurkin commented Dec 5, 2020

The first operational version (proof-of-principle) for complex RI is available at https://github.com/Sunmosk/adda-complex_freq

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-UI Related to user interface (command line, input files) feature Allows new functionality pri-Medium Worth assigning to a milestone usability Makes using code more convenient
Projects
None yet
Development

No branches or pull requests

4 participants