Order of Initialization of Auxiliary Dependent Variables
When rays are released, the variables defined for each ray are initialized in a specific order. The initial values of ray variables can only depend on the values of variables that have already been defined. The order of dependent variable initialization is governed by the following rules:
By default, user-defined auxiliary dependent variables (that is, those that are defined by adding an Auxiliary Dependent Variable node to the physics interface) are initialized after all other variables. They can instead be initialized immediately after the ray position vector components by selecting the Initialize before wave vector check box shown in the release feature Initial Value of Auxiliary Dependent Variables section.
-
-
-
-
-
-
Items in each bullet point may not be initialized as functions of items in a later bullet point. For example, the initial ray direction vector may depend on the ray frequency, but the initial principal radii of curvature may not depend on the total power transmitted by the ray.