![]() ![]() ![]() ![]() Next: configuration.ccl Up: schedule.ccl Previous: Allowed Options Contents Conditional StatementsAny schedule block or assignment statements can be optionally surrounded by conditional if-elseif-else constructs using the parameter data base. These can be nested, and have the general form:
if (CCTK_Equals(<parameter>,<string>))
{ [<assignments>] [<schedule blocks>] } Such conditionals are evaluated only at program startup and are used to pick between different static schedule options. For dynamic scheduling the SCHEDULE WHILE construction should be used. Conditional constructs cannot be used inside a schedule block.
|