OpenMaXwell Reference Manual

Home  General  Menues  Dialogs  Movie Directives  Formula Interpreter  File Structures

2D points    3D Objects    3D Points    Boundary    Cursor position    Data for selected object    Domain    Expansion    Field    Field components    Field formula    Field tubes    Function    Generate expansions along 2D boundary    Generate expansions for 3D objects    Grid formula    Grid transformation    Info and movie directives    Insert    Integral    Modify 2D expansions    MMP    Movie    Open GL window    PET basis    PFD (predefined FD)    Project     Space, plane, arrow, or point    Tools and draw    Transformation data    Window

Grid formula Dialog

This dialog is opened when you press the Grid formula... button in the Field dialog.

OpenMaXwell computes the locations of the grid points in the global Cartesian coordinate system XYZ from three formulae.

Variables, predefined abbreviations

The grid formulae can contain 3 variables, v1, v2, v3. Instead of these variables, you can use the predefined abbreviations, x:=v1:=x coordinate of the current grid point, y:=v2, z:=v3.

Parameters

Grid formulae can contain the parameters p1, p2, … p5. The meaning of these parameters is indicated in the dialog box.

Constants

Grid formulae can contain the constants c0, c1, …c8. The meaning of the constants, c0…5 is indicated in the dialog box. The constants, c6…8 are user-definable.

Grid point formula

Define the formulae for the evaluation of the X, Y, Z components of the grid points in the corresponding edit boxes.

Check formula button

When you press the Check formula button, OpenMaXwell will perform some simple checks on the syntax of the formula. When a syntax error is detected, OpenMaXwell will put an exclamation mark in front of the corresponding formula and display a warning.

Read Grid  formula  data

Press the Read… button to read grid formula data from a file. A file name dialog will allow you to select a file name to read from.

Write Grid  formula  data

Press the Write… button to write grid formula data to a file. A file name dialog will allow you to select a file name to write to.

Close the dialog

Press the Close button to close the dialog. Note that the data in the dialog becomes effective upon closure.

 

Responsible for this web page:  Ch. Hafner, Computational Optics Group, IEF, ETH, 8092 Zurich, Switzerland

Last update 17.02.2014