OpenMaXwell Reference Manual

Home  General  Menues  Dialogs  Movie Directives  Formula Interpreter  File Structures

Available directives

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

MOVe one of the following objects by a displacement vector

3DExpansion    ALL    BOUndary    COLor    CONnection    CORner     DOMain    EXCitation    EXPansion    GRId    OBJect    P2D    P3D    PFD    WINdow

 

3DExpansion

Arguments: n x y z

Meaning: Move expansion n with the displacement vector (x,y,z) in the xyz space (global coordinates).

 

ALL

Arguments: x y

Meaning: Move all boundaries and expansions with the displacement vector (x,y) in the xy plane.

 

BOUndary

Arguments: n x y

Meaning: Move the boundary number n with the displacement vector (x,y) in the xy plane. Special cases: n=0 – do for all boundaries, n<0 – do for boundary numbers 1 up to -n.

COLor

Arguments: n x y

Meaning: Move all boundaries and expansions with color n by the displacement (x,y) in the xy plane. Special cases: n=0 – do for all domains, n<0 for domain numbers 1 up to -n.

CONnection

Arguments: n x y

Meaning: Move all boundaries and expansions with connection flag n by the displacement (x,y) in the xy plane. Special cases: n=0 – do for all domains, n<0 – do for domain numbers 1 up to -n.

 

CORner

Arguments: n m x y

Meaning: Move the corner number m of the boundary number n by the displacement (x,y) in the xy plane. Special cases: n=0 – do for all boundaries, n<0 – do for boundary numbers 1 up to -n.

 

DOMain

Arguments: n x y

Meaning: Move all boundaries and expansions with domain number n by the displacement (x,y) in the xy plane. Special cases: n=0 for all domains, n<0 for domain number 1 up to -n.

 

EXCitation

Standard arguments: n x y (z)

Meaning: Move the excitation number n by the displacement vector (x,y) in the xy plane. This only makes sense for scattering problems with multiple excitations. Special cases: n=0 – do for all excitations, n<0 – do for excitation numbers 1 up to -n. You may also enter a 3D displacement vector (z component) for moving 3D excitations in 3D space.

Alternative arguments: n PERiodic nx (ny nz)

Meaning: Move the excitation number n by the displacement vector (x,y,z)=nx*PX+ny*PY+nz*PZ, where PX, PY, PZ are the periodic direction vectors defined in the Project dialog for Periodic problems. Nx, ny, nz should be integer numbers, missing numbers are set equal to 0. In addition to the displacement of the excitation, OpenMaXwell will adapt all parameters of the expansion with the Cx, Cy, and Cz values defined in the Project dialog. Note that this is done for a single excitation only.

 

EXPansion

Standard arguments: n x y (z)

Meaning: Move the expansion number n by the displacement vector (x,y) in the xy plane. Special cases: n=0 – do for all expansions, n<0 – do for expansion numbers 1 up to -n. You may also enter a 3D displacement vector (z component) for moving 3D expansions in 3D space.

Alternative arguments: n PERiodic nx (ny nz)

Meaning: Move the expansion number n by the displacement vector (x,y,z)=nx*PX+ny*PY+nz*PZ, where PX, PY, PZ are the periodic direction vectors defined in the Project dialog for Periodic problems. Nx, ny, nz should be integer numbers, missing numbers are set equal to 0. In addition to the displacement of the expansion, OpenMaXwell will adapt all parameters of the expansion with the Cx, Cy, and Cz values defined in the Project dialog. Note that this is done for a single expansion only.

 

GRId

Arguments: n x y z

Meaning: Move the grid used for the field representation by the displacement vector (x,y,z).

OBJect

Arguments: n x y z

Meaning: Move the 3D object number n by the displacement vector (x,y,z) in 3D space. Note that 1£n£number of 3D objects must hold.

 

P2D

Arguments: (n)

Meaning: Move all 2D particles (1 time step). If n>0: The x coordinate of particle n is not changed and all particles are moved with respect to this. If you do not know why, don't use n>0!

 

P3D

Arguments: (n)

Meaning: Move all 3D particles (1 time step). If n>0: The x coordinate of particle n is not changed and all particles are moved with respect to this. If you do not know why, don't use n>0!

 

PFD

Arguments: WHAt ...

Meaning: Move the a PFD opbect. WHAt may be one of the following:

SENsor Arguments: n x y z: Move the sensor n by the displacement vector (x,y,z) in 3D space.

SOUrce Arguments: n i j k: Move the n-th point source i, j, k grid lines in x, y, z direction of the PFD grid.

 

WINdow

Arguments: n x y

Meaning: Move the origin of the graphics window number n by the displacement (x,y) in the xy plane. Special cases: n=0 – do for all windows, n<0 – do for window numbers 1 up to -n.

 

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

Last update 28.07.2016