def heaviside(value):
if (value > <NUM_LIT:0.0>): <EOL><INDENT>return <NUM_LIT:1.0>;<EOL><DEDENT>return <NUM_LIT:0.0><EOL>
!
    @brief Calculates Heaviside function that represents step function.
    @details If input value is greater than 0 then returns 1, otherwise returns 0.

    @param[in] value (double): Argument of Heaviside function.

    @return (double) Value of Heaviside function.