Please enable JavaScript to view this site.

Knowledge Base

Adds a Gaussian source to the simulation environment.

 

Supported Product: FDTD, MODE

 

Syntax

Description

addgaussian;

Adds a Gaussian source to the simulation environment.

This function does not return any data.

 

Example

The following script command will add a Gaussian source in the simulation environment that will propagate in the negative z direction.  The script will set the dimension (and position) of the source and will define the beam waist radius using scalar approximation.

addgaussian;

set("injection axis","z");

set("direction","backward");

set("x",0);

set("x span",2e-6);

set("y",0);

set("y span",5e-6);

set("z",10e-6);

set("use scalar approximation",1);

set("waist radius w0",0.5e-6);

set("distance from waist",-5e-6);

 

See Also

Adding Objects, set, addplane, addtfsf

Copyright Lumerical Inc. | Privacy | Site Map