KR81: What UDF function is used to retrieve a list of all injections specified in discrete phase model (DPM)?


The following sample code shows the function and its general usage in a UDF macro.

#include "udf.h`

DEFINE_EXECUTE_AT_END(test)
{

Domain *domain = Get_Domain(1);
Injection *I, *Ilist = Get_dpm_injections();

loop(I, Ilist)
{
/* Add user specific code here */
}

}





Show Form
No comments yet. Be the first to add a comment!