<< Click to Display Table of Contents >> Converting from Version 5 to Version 6 

FlexPDE version 6 is almost totally backwardcompatible with version 5.
In order to support the new features of version 6, however, we have had to make a few syntactic changes:
Parens "( )" are no longer interchangeable with square brackets "[ ]". In particular,
•  Square brackets can no longer be used in expression grouping. They are reserved for array and matrix indexing. 
•  Parentheses can no longer be used for array indexing. Only square brackets will serve in this capacity. 
Doubleasterisk "**" can no longer be used as an exponentiation operator. Doubleasterisk is now the matrix multiply operator. Use the caret "^" for exponentiation.
•  Error estimation algorithms are somewhat different, and may result in somewhat shorter timesteps and longer running for timedependent problems. These changes were made in the interest of more truthful reports of error. 
•  The selector NRMATRIX has been changed to an ON/OFF selector REMATRIX which selects recomputation of the Jacobian matrix on every Newton iteration. The default is OFF. Even without this selector, FlexPDE will recompute the Jacobian matrix whenever the variable changes are greater than an internal threshold. 
•  Nonlinear timedependent problems default to one Newton step per timestep, with timestep controls to cut the timestep if convergence is not readily achieved. This is usually a more efficient scheme than other alternatives. The Selector NEWTON=number is available for specifying a more strenuous convergence policy. The Selector PREFER_STABILITY can be used to allow up to 5 Newton iterations per timestep, with full recomputation of the Jacobian matrix on each iteration. This is the most expensive option, but should provide the most stable operation. 
The names REAL and IMAG can no longer be used as userdefined values. They are now builtin component selectors for Complex data types. See the list of Reserved Words for other changes.