initial commit for version 1.6.x patch release
[OpenFOAM-1.6.x.git] / applications / utilities / postProcessing / graphics / ensightFoamReader / USERD_get_timeset_description.H
blobe3c98ba240127ba9047968c11c5a162113632bc9
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 #endif
12     if (timeDirs[1].value() < 0)
13     {
14         strncpy(timeset_description, "CAD", Z_BUFL);
15     }
16     else
17     {
18         strncpy(timeset_description, "seconds", Z_BUFL);
19     }
21 #ifdef ENSIGHTDEBUG
22     Info<< "Leaving: USERD_get_timeset_description" << endl;
23 #endif
25     return Z_OK;