You can display a list of all demo scripts by executing the command
beamlabdemos in the MATLAB command-line interface.
You can open the BeamLab documentation by executing the command
beamlabdoc in the MATLAB command-line interface. If you want to directly open the documentation of a certain function, use the command
beamlabdoc <functionname>, e.g.,
beamlabdoc beamset. You can also view the documentation of a specific parameter by executing
beamlabdoc <parametername>, e.g.,
Each license file is locked to a specific computer and user. If you wish to use BeamLab on another PC, please contact us at firstname.lastname@example.org.
bpmsolver generates an output structure that contains all relevant information with regard to your simulation. In our demos this output structure usually has the name
modeData , while in the documentation it is simply dubbed
Using this output structure in conjunction with the function
bpmplot, e.g., by typing
bpmplot(bpmData) in the MATLAB command-line interface, you can easily recreate all output plots of the previous simulation associated with
bpmsolver does not display the field distribution in x-z or y-z slices in sections that make use of the function
fasthomogeneous because the field is not calculated in those homogeneous areas to speed up the calculation.
bpmsolver currently calculates only forward propagating waves. That said, we are also working on additional solvers that will allow the calculations of reflections and backward propagating waves. These solvers will be included in a future version of BeamLab.
BeamLab currently supports the simulation of only monochromatic light beams, i.e., at a single wavelength.
bpmsolver currently can take into account only the nonlinear change in refractive index as a function of optical intensity due to the Kerr effect.
The output field of one simulation can be handed over as input field to another simulation by using the input function
custominput with the output field as input parameter.
For example, if the output structure of your previous simulation has the name
bpmdata, then the following command will hand over all E-field components of the output field as input field to the next simulation.
inputField = @(beamProblem) custominput(beamProblem,bpmData.OutputField.E);
bpmsolver generates an output structure that contains all relevant information with regard to your simulation. For more details, please check out the
bpmsolver documentation page by typing
beamlabdoc bpmsolver in the MATLAB command-line interface.