ADApt ADD BLOw CLEar CONvert COPy DELete DRAw END EXChange EXIt GENerate GET GOTo IF> IF< IF= INCrease ITEterate LABel LOOp MMP MOVe MULtiply PROcess REAd REFlect REName ROTate RUN SET SORt SUBtract WRIte
CPU FIEld FUNction GAMma INTegral PFD
Meaning: Get the current CPU and elapsed time and display the CPU and elapsed time since the previous GET CPU or CLEar CPU command. These two time differences are displayed in the Info window.
Argument: Object (...)
Meaning: Get the Object. Object can be one of the following:
DERived: Compute the derived field from the current original field.
ERRor: The error of the derived field with respect to the reference field. This is the same as pressing the Compute errors… button in the Field dialog.
GRAdient:Compute the gradient of the current derived scalar field using central differences approximation.
LIMits: The minimum and maximum values of the derived field.This is the same as pressing the Get Min/Max/Avr button in the Field dialog.
Argument: WHAt n (m min max i1 i2)
Meaning: Analyze the elements 1...m of column n of the function array and save WHAt is specified in an additional column of the array. When m is missing or when it is less than 2, it is set equal to the total number of rows of the array. The analysis of the function array does the following: The value range min...max is subdivided in m equal intervals i (i=1...m) and the number k of function values (contained in column n of the function array) is computed depending on WHAt. The k(i) values are stored in the additional column of the function array. When the parameters i1, i2 are specified, only the intervals i1...i2 are considered. WHAt may be one of the following:
ABOve: k(i) is the number of function values above the interval number i.
BELow: k(i) is the number of function values below the interval number i.
PRO: k(i) is the number of function values within the interval number i.
Arguments: File (iExp)
Meaning: Get the propagation constant from the project file with the name File and insert it in the expansion number iExp as wave number in x direction (kx), provided that the corresponding expansion is a harmonic expansion. This feature is only useful to import the propagation constants of planar structures that were previously obtained as eigenvalues.
Argument: Type (….)
Meaning: Get the integral of the type Type (….). Type (….) can be one of the following:
BOUndary (n i j k l a m Name): Integral over the boundary n. If n is missing: use the current boundary. Special cases: n=0 – do for all boundaries, n<0 – do for boundary numbers nBnd-n, where nBnd is the number of currently defined boundaries. Use integrand component i (-1: x component, -2: y component, -3: z component, 1: longitudinal component, 2: normal component), interpolation type j (0: none, 1: 1 point, 2: 3 point, 3: 4 point), integrand field k (0: current field, 1: E, 2: H, 3: S, 4: F, -1: E average, -2: H average, -3: S average, -4: F average), maximum number of function calls l, desired accuracy a. (See also Integral files) You may specify the integration type m (0: simple sum, 1: GL, 2: GK, 3: HP integration - see Integral dialog) and a function file Name as the last argument. If this argument is present, the values of the integrand along the boundary will be saved in the file with this name.
OBJect (i Name iEc iHc): Integral over the surface of the 3D object number i. When i is missing, the current 3D object is used. You may specify a function file Name as the last argument. If this argument is present, the values computed during the integration will be saved in the file with this name. After Name you may specify two numbers iEc, iHc. If iEc is not zero, the real and imaginary parts of the original Ex, Ey, and Ez field components will be added for each integration point. If iHc is not zero, the real and imaginary parts of the original Hx, Hy, and Hz field components will be added for each integration point.
RECtangle (j nx ny xmin xmax, ymin ymax Name): Integral over a rectangular area, interpolation type j (0: none, 1: 1 point, 2: 3 point, 3: 4 point), nx, ny grid lines in x and y direction, limits of the rectangle: xmin xmax, ymin ymax. You may specify a function file Name as the last argument. If this argument is present, the values computed during the integration will be saved in the file with this name.
Notes:
When you set Name equal to ?, a dialog will pop up and let you select the desired file name. Program execution is suspended until you have specified the name in this case.
As for other file names you may also use *, +, ++, etc. (see remarks on file names).
For the Project MAX000.PRO, The default integral function file name is MAXINT000.FUN, whereas the default function name is MAX000.FUN.
Arguments: WHAt (...)
Meaning: Get a result of the PFD (Predefined Finite Difference) solver. (...)
Responsible for this web page: Ch. Hafner, Computational Optics Group, IEF, ETH, 8092 Zurich, Switzerland
Last update
27.10.2015