openfoam/applications/utilities/postProcessing/graphics/ensight76FoamExec/USERD_get_timeset_description.H
2008-04-15 18:56:58 +01:00

29 lines
518 B
C

int USERD_get_timeset_description
(
int timeset_number,
char timeset_description[Z_BUFL]
)
{
#ifdef ENSIGHTDEBUG
Info << "Entering: USERD_get_timeset_description" << endl
<< flush;
#endif
if (TimeList[1].value() < 0)
{
strncpy(timeset_description, "CAD", Z_BUFL);
}
else
{
strncpy(timeset_description, "seconds", Z_BUFL);
}
#ifdef ENSIGHTDEBUG
Info << "Leaving: USERD_get_timeset_description" << endl
<< flush;
#endif
return Z_OK;
}