IBM Release 1.93 manual Integral, 20. LN, Max, Confine, Minimize, Pow

Page 50

nright=number of places to the right of the decimal exptol=trigger for exponential notation nexp=number of places in the exponent

FORMAT(’12345.73’,,,2,2)

 

’1.234573E+04’

FORMAT(’12345.73’,,3,,0)

 

’1.235E+4’

FORMAT(’1.234573’,,3,,0)

 

’1.235’

FORMAT(’12345.73’,,,3,6)

’12345.73’

FORMAT(’1234567e5’,,3,0)

’123456700000.000’

3.8.19. INTEGRAL

Computes the 1-dimensional integral of user function f from xlo to xhi. Just a stub at present.

Syntax: INTEGRAL(f, xlo, xhi)

3.8.20. LN

Natural logarithm.

Syntax: ln(<expression>)

3.8.21. MAX

Returns the most positive of its arguments.

Syntax: max(<expression>, <expression>,...,<expression>)

3.8.22. MIN

Returns the most negative of its arguments.

Syntax: min(<expression>, <expression>,...,<expression>)

3.8.23. CONFINE

Constrains the given value to be not less than the minimum and not more than the maximum values (if given). Confine works by reflecting the given value off the limits, so that the confined value is a continuous function of all its inputs. The graph of CONFINE(x, upper, lower) vs x is a triangle wave; that of CONFINE(x,,lower), a V shape; and that of CONFINE(x,upper) an upside-down V shape.

Syntax: confine(x, upper) confine(x, , lower) confine(x, upper, lower)

3.8.24. MINIMIZE

Finds the value of x at which user function f(x) is minimized, within the limits xlo x xhi. Currently just a stub.

Syntax: MINIMIZE(f,xlo, xhi)

3.8.25. POW

Computes arg1arg2. No error checking is performed for raising 0 to a negative power or a negative number to a fractional power.

Syntax: Pow(<expression>,<exponent_expression>)

46

Image 50
Contents IBM T. J. Watson Research Center Yorktown Heights, NY Page IBM T. J. Watson Research Center Yorktown Heights, NY Using Poems HOW Poems WorksChapter Introduction MotivationPhilosophy Structure OptimizationPage Poems system organization Script Operation Program OrganizationFront-End Script poems.cmd Fdtd Engine FIDO/TEMPEST Postprocessor EmpostVisualization System VIS5D Cluster ControlParallel Processing Global Group Command ReferencePoems Command-Line Options Function FreqLambda HostsWhich means that the host’s predefined hostname is not used MacdefMacro PrintSimulator RandomseedSET Verbose World GroupTitle BoundaryXrange Yrange Material GroupBasicstep DefineParameters epsReal epsImag muReal muImag FAN Object GroupBlock Tiledplane GratingHollowbox Cylinder Curve3DCURVE Source Group Command Group Output GroupCAD Postprocess GroupField WebpageIntegral FarfieldFlux List ModematchMovie MOVIE3DDissipation SliceGuess Optimize GroupVariables Penalty Merit LimitStore Range Schedule GroupParameters Computational Domain SymmetryObjects Perfectly-Matched Layers MaterialsPlane Waves Page Beam Sources Optimization Merit FunctionsPhase uniformity across a plane Worked Example Optimizing a V Antenna 10 Optimized V antenna refractivePage Predefined Constants Worked Example Doped Silica Waveguide ModeWorked Example Glass Ridge Waveguide to Free Space Coupler Reserved Names ConfinePredefined Mathematical Functions Arithmetic OperatorsAcos Logical OperatorsABS AcoshCOS ATAN2Ceil ElintkMAX Integral20. LN MINRound RandomROOT1D SignFlattop Analytical Pupil FunctionsMaterial Parameter Functions Time step Tempest and General Fdtd InformationStartup and Steady State Page Appendix A. V-Antenna Optimization Run Poems Input DIPOLE2I.PAR END Material END World Subdomain ALL END ObjectEND Output END CommandEND Source END Optimize Phaseex END Postprocess AmplexPage Page Page END Tempest Input File DIPOLE2I.PAR.IN Written by Phil Hobbs Pages of pointsource statements omitted DIPOLE2IEXI Postprocessor orders DIPOLE2I.ORDERSALL DIPOLE2IEXQDIPOLE2IEZI DIPOLE2IEYIDIPOLE2IEYQ DIPOLE2IEZQArray Amplex MiddlefluxPOSTPROC.1.NAME POSTPROC.1.PARMSTRINGPOSTPROC.2.PARMSTRING DIPOLE2IPHASEEXArray FF2Array Poyntingz DIPOLE2IPXPOSTPROC.6.NAME DIPOLE2IPZPOSTPROC.11.NAME POSTPROC.9.PARMSTRINGPOSTPROC.10.PARMSTRING Slice IndexnDIPOLE2IPZXY0.BMP Slice PoyntingzPOSTPROC.13.COMPARISONDOMAIN POSTPROC.14.NAMEPOSTPROC.17.NAME POSTPROC.16.COMPARISONDOMAINDIPOLE2IPXZX0.BMP Slice AmplexPOSTPROC.20.COMPARISONDOMAIN DIPOLE2IPHASEEXXY0.BMPDIPOLE2IPHASEEXZX0.BMP DIPOLE2IDISSZX0.BMPPOSTPROC.24.COMPARISONDOMAIN DIPOLE2IEXQZX0.BMPRun Results DIPOLE2I.SIMPLEX Page Page Page Page Page Fdtd and Tempest Tempest patchesAdvice common to all or most Fdtd programs Tempest limitationsWindow System Configuration Sample X11 ConfigurationWish list Running Vis5DRelease Notes Beta Release Limitations Page Page Matlab IndexEmdenormal Emunderflow Maxordersources 81 Maxpointsources