3D objects (3DO) Bitmap (BMP) Boundary (BND) Directive (DIR) Domain (DOM) Expansion (EXP) Field (FLD) Field formula (FLF) Field transform (FLT) Function (FUN) General information Grid formula (GRF) Grid transform (GRT) Integral (INT) MMP (MMP) Movie (AVI) OpenGL (OGL) Palette (PAL) PET basis (BAS) PFD (PFD) Project (PRO) Window (WIN)
Boundary files contain data defining 2D boundaries in the xy plane. Each boundary is characterized by some integer and real values and by a set of corners. The file contains two lists: 1) the list of the characteristic data of all boundaries and 2) the list of all corners of all boundaries. The default boundary file is shown below. Note that there are two circular boundaries by default. A circle is a C-polygon with a single corner that corresponds to the origin of the circle.
Data structure:
File ID string (Current version: " CHBND Version 2.1")
Number of 2D boundaries (1 integervalue)
LOOP i=1, Number of 2D boundaries
Integer boundary data: number of corners, left domain number, right domain number, boundary condition type, connection flag, boundary type (open/closed, formula), color, number of matching points (8 integer values)
Real boundary data: Weight 1, value 1, value 2, weight 2 (4 real values)
IF boundary type < 0 (spline approximation, formula is defined)
Number of spline points, amplitude (1 integer, 1 real value)
Formula (1 character string)
Number of corners (1 integer value)
LOOP k=1, Number of corners
Orientation flag, corner x, y, r (1 integer, 3 real values)
Blank line
Responsible for this web page: Ch. Hafner, Computational Optics Group, IEF, ETH, 8092 Zurich, Switzerland
Last update
17.02.2014