FreeFOAM The Cross-Platform CFD Toolkit
USERD_get_timeset_description.H
Go to the documentation of this file.
2 (
3  int timeset_number,
4  char timeset_description[Z_BUFL]
5 )
6 {
7 
8 #ifdef ENSIGHTDEBUG
9  Info<< "Entering: USERD_get_timeset_description" << endl;
10 #endif
11 
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  }
20 
21 #ifdef ENSIGHTDEBUG
22  Info<< "Leaving: USERD_get_timeset_description" << endl;
23 #endif
24 
25  return Z_OK;
26 }
27 
28 // ************************ vim: set sw=4 sts=4 et: ************************ //