Skip to content
Snippets Groups Projects
Commit 2b7b6ba3 authored by Guillaume Demesy's avatar Guillaume Demesy
Browse files

Update README.md

parent 5354beb0
No related branches found
No related tags found
No related merge requests found
Pipeline #4847 passed
...@@ -2,11 +2,19 @@ A Onelab model for 3D scattering problems in nanophotonics. ...@@ -2,11 +2,19 @@ A Onelab model for 3D scattering problems in nanophotonics.
## Synopsis ## Synopsis
This project contains a [Onelab](http://onelab.info/wiki/ONELAB) model for solving various 3D electromagnetic problems on an isolated arbitrary object : This project contains a [Onelab](http://onelab.info/wiki/ONELAB) model for solving various 3D electromagnetic problems on an isolated arbitrary object:
* T-matrix computation: See https://arxiv.org/abs/1802.00596 for details * T-matrix computation [1]
* Quasi-normal modes * Quasi-normal modes
* Plane wave response * Plane wave response
* Green's function * Green's function (e.g. to compute the Local Density Of States)
It contains various usefull features in electromag:
* Vector partial waves (AKA vector spherical harmonics)
* Total field formuation with a point source illumination ("an oriented delta")
* Linear eigenvalue problems
* Scattered field formulation
* Spherical PMLs
## Installation ## Installation
...@@ -18,18 +26,23 @@ This model requires the following programs: ...@@ -18,18 +26,23 @@ This model requires the following programs:
## Running the model ## Running the model
Open `scattering.pro` with Gmsh. Open `scattering.pro` with Gmsh.
The default parameters are set to compute the T-matrix of a sphere. It retrieves the results from [1].
## Authors ## Authors
Guillaume Demésy and Brian Stout Guillaume Demésy and Brian Stout
## Installation Note ## References
[1] https://arxiv.org/abs/1802.00596 for details
## Installation notes
To enable python support (Python[] function) in GetDP, follow [these instructions](https://gitlab.onelab.info/getdp/getdp/wikis/GetDP-compilation) (complex arithmetic) and add to the final cmake line: To enable python support (Python[] function) in GetDP, follow [these instructions](https://gitlab.onelab.info/getdp/getdp/wikis/GetDP-compilation) (complex arithmetic) and add to the final cmake line:
`-DENABLE_PYTHON=ON -DPYTHON_LIBRARY=/path/to/pythonlib -DPYTHON_INCLUDE_DIR=/path/to/pythoninclude` `-DENABLE_PYTHON=ON -DPYTHON_LIBRARY=/path/to/pythonlib -DPYTHON_INCLUDE_DIR=/path/to/pythoninclude`
* On Debian/Ubuntu systems, for python3.6 installed with apt-get, * On Debian/Ubuntu systems, for python3.6 installed with apt-get,
* `/path/to/pythonlib` is `/usr/lib/x86_64-linux-gnu/libpython3.6m.so` * `/path/to/pythonlib` is `/usr/lib/x86_64-linux-gnu/libpython3.6m.so`
* `/path/to/python/include` is `/usr/include/python3.6m` * `/path/to/python/include` is `/usr/include/python3.6m`
* For python versions installed through anaconda in some an environement (e.g. py36 below), a common location is: * For python versions installed through anaconda in some environment (e.g. env py36 below), a common location is:
* `/somepath/anaconda3/envs/py36/lib/libpython3.6m.so` * `/somepath/anaconda3/envs/py36/lib/libpython3.6m.so`
* `/somepath/anaconda3/envs/py36/include/python3.6m` * `/somepath/anaconda3/envs/py36/include/python3.6m`
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment