GetIterationCount

Returns a true or false value whether the retrieve operation is successful. When the operation is successful, the function returns the current iteration count during a solve. For steady-state runs it returns the iteration number, for transient runs it returns the current non-linear iteration at the current time.

Calling convention:

bool GetIterationCount (double* val)
Note:

To access this method, you must use the GetTMGFunction method and include the AdditionalFunctions.h file located in the [installation_path]\tmg\include\maya\expeval_utils folder in the beginning of your source file.

Argument Data type Description
val double* The current iteration count during a solve

For the example, see the GetAreaBC method.