OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

USERD_get_timeset_description.H

Go to the documentation of this file.
00001 int USERD_get_timeset_description
00002 (
00003     int timeset_number,
00004     char timeset_description[Z_BUFL]
00005 )
00006 {
00007 
00008 #ifdef ENSIGHTDEBUG
00009     Info<< "Entering: USERD_get_timeset_description" << endl;
00010 #endif
00011 
00012     if (timeDirs[1].value() < 0)
00013     {
00014         strncpy(timeset_description, "CAD", Z_BUFL);
00015     }
00016     else
00017     {
00018         strncpy(timeset_description, "seconds", Z_BUFL);
00019     }
00020 
00021 #ifdef ENSIGHTDEBUG
00022     Info<< "Leaving: USERD_get_timeset_description" << endl;
00023 #endif
00024 
00025     return Z_OK;
00026 }
Copyright © 2000-2009 OpenCFD Ltd