Synopsis
(macro) DDF * ddf_SetCurDDF(DDF *ddf)
Purpose
Set the current DDF.
Description
Sets the current DDF for access by the ddf routines to ddf and returns what the current DDF was. Extreme caution must be used when changing the current DDF. Some PDElib routines assume the current ddf matches the one specified in the current model. Upredicatable results may occur if this is not true. Only DDF access routines should be called (i.e. ddf_) when changing the current DDF. Be sure to set the current DDF back to its original state when done.
Input
ddf
DDF to make current
Return
'Previous' current DDF