This repository has been archived on 2023-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
foam-extend4.1-coherent-io/applications/utilities/postProcessing/graphics/ensightFoamReader/USERD_get_timeset_description.H

27 lines
477 B
C++
Raw Permalink Normal View History

int USERD_get_timeset_description
(
int timeset_number,
char timeset_description[Z_BUFL]
)
{
2010-08-26 14:22:03 +00:00
#ifdef ENSIGHTDEBUG
2010-08-26 14:22:03 +00:00
Info<< "Entering: USERD_get_timeset_description" << endl;
#endif
2010-08-26 14:22:03 +00:00
if (timeDirs[1].value() < 0)
{
strncpy(timeset_description, "CAD", Z_BUFL);
}
else
{
strncpy(timeset_description, "seconds", Z_BUFL);
}
#ifdef ENSIGHTDEBUG
2010-08-26 14:22:03 +00:00
Info<< "Leaving: USERD_get_timeset_description" << endl;
#endif
return Z_OK;
}