Miscellaneous Methods ^^^^^^^^^^^^^^^^^^^^^ These other methods are also available within :class:`HostAPI` for use within host functions and host conditions: ===================================================================== ================================================================== =========================================================== Method Return Description ===================================================================== ================================================================== =========================================================== :func:`getStepCounter()` ``unsigned int`` Returns the current step index, the first step has index 0. :func:`getSimulationConfig()` :class:`Simulation::Config` Returns the current simulation's simulation config struct. :func:`getCUDAConfig()` :class:`CUDASimulation::Config` Returns the current simulation's CUDA config struct. :func:`getEnsembleRunIndex()` ``unsigned int`` Returns the index of the simulation run within the ensemble's :class:`RunPlanVector`. If the simulation is not part of an ensemble, ``UINT_MAX`` will be returned. ===================================================================== ================================================================== =========================================================== Related Links ------------- * Full API documentation for :class:`HostAPI`