Forward compatibility: flex
[foam-extend-3.2.git] / applications / utilities / postProcessing / graphics / newEnsightFoamReader / USERD_get_timeset_description.H
blobc4306717196648f74822e2891397a2a4a71a9e80
1 int USERD_get_timeset_description
3     int timeset_number,
4     char timeset_description[Z_BUFL]
8 #ifdef ENSIGHTDEBUG
9     Info << "Entering: USERD_get_timeset_description" << endl
10         << flush;
11 #endif
13     if (TimeList[1].value() < 0)
14     {
15         strncpy(timeset_description, "CAD", Z_BUFL);
16     }
17     else
18     {
19         strncpy(timeset_description, "seconds", Z_BUFL);
20     }
22 #ifdef ENSIGHTDEBUG
23     Info << "Leaving: USERD_get_timeset_description" << endl
24         << flush;
25 #endif
27     return Z_OK;