FreeFem++-cs : How to start
FreeFem++-cs is an integrated environment for FreeFem++. To use
FreeFem++-cs, just type its name in, optionally followed by a
file name.
Main characteristics of FreeFem++-cs :
- Three panels : editor with syntax highlighting (right),
FreeFem++ messages (bottom) and graphics (left).
- Panel sizes can be changed by dragging their borders with
the mouse. Any of the three panels can be made to fill the
whole window.
- The edited script can be run at any time by clicking on the
"Run" button.
- Dragging a FreeFem++ script file icon from a file manager
onto the FreeFem++-cs icon or into the FreeFem++-cs editor
window makes FreeFem++-cs edit that script.
- Graphics can be examined (e.g. zoomed) while FreeFem++ is
running.
- A running FreeFem++ computation can be paused or stopped at
any time.
Color coding :
- bold black : all standard FreeFem++ keywords.
- blue : user-defined
objects. User-defined types are in bold
face. Character strings are in "dark
blue".
- green : macros and include
files.
- bold red : spelling mistakes,
syntax errors, undefined objects, macros and include files
containing errors.
- purple : comments.
Tips & Tricks :
- There is no need to save a FreeFem++ script before running
it. It is run exactly as displayed in the editor window, and
the corresponding file is not touched.
- The current directory is updated every time a script is
loaded or saved. All "include" directives are therefore
relative to the directory where the main script is located.
- Specifying "wait=1" in a plot command is exactly equivalent
to clicking on the "Pause" button when the plot is
displayed.
- In zoom mode, if your mouse has more than one button, a
middle-click resets any zooming coefficient, and a right-click
zooms in the opposite way of the left-click.