Mathematics    

Improving PDE Solver Performance

The default integration properties in the MATLAB PDE solver are selected to handle common problems. In some cases, you can improve solver performance by overriding these defaults. You do this by supplying pdepe with one or more property values in an options structure.

Use odeset to create the options structure. Only those options of the underlying ODE solver shown in the following table are available for pdepe. The defaults obtained by leaving off the input argument options are generally satisfactory. Improving ODE Solver Performance tells you how to create the structure and describes the properties.

PDE Property Categories  
Properties Category
Property Name
Error control
RelTol, AbsTol, NormControl
Step-size
InitialStep, MaxStep


 Representing PDE Problems Example: Electrodynamics Problem