Header image  
University of California, Berkeley  
line decor
HCG Solver Package
line decor

High Contrast Grating Solver Package

A high contrast grating solver (HCG Solver) is developed to solve the reflection and transmission coefficient of a plane wave incident onto a single layer of high contrast grating (HCG). It uses plane waves and waveguide array modes as the eigen modes to expand the electromagnetic field outside and inside the HCG respectively. By matching the boundary conditions at the HCG input plane and output plane, the electromagnetic property of HCG can be solved. The HCG Solver is written using Matlab, from The MathWorks™. The program is developed by Weijian Yang, and optimized by Vincent Wang and Weijian Yang, in Prof. Connie Chang-Hasnain's Group in University of California, Berkeley. Any feedback should be delivered to the form on our website.


MATLAB R2010b or newer. Tested on OSX and Windows.

Versions Available for Download:

Comments and Questions:

Feel free to get in touch with us through our feedback form with any questions or suggestions. Thanks!

Terms of Usage

HCG Solver is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.


The formulations used in the program are based on the following paper:

Please reference this program and its authors in any publication for which you used it, by citing the above paper, and the webpage of this program.
Last Updated March 2014