1 #ifndef __CS_RESOURCE_H__
2 #define __CS_RESOURCE_H__
30 #if defined(HAVE_CONFIG_H)
31 #include "cs_config.h"
#define BEGIN_C_DECLS
Definition: cs_defs.h:509
#define CS_PROCF(x, y)
Definition: cs_defs.h:523
#define END_C_DECLS
Definition: cs_defs.h:510
void cs_resource_set_wt_limit(double wt)
Set wall-clock time limit.
Definition: cs_resource.c:259
double cs_resource_get_wt_limit(void)
Get current wall-clock time limit.
Definition: cs_resource.c:245
void cs_resource_get_max_timestep(int ts_cur, int *ts_max)
Limit number of remaining time steps if the remaining allocated time is too small to attain the reque...
Definition: cs_resource.c:275
void armtps(const int *ntcabs, int *ntmabs)
Definition: cs_resource.c:220
integer(c_int), pointer, save ntmabs
Maximum absolute time step number.
Definition: optcal.f90:205
integer(c_int), pointer, save ntcabs
Current absolute time step number. In case of restart, this is equal to ntpabs + number of new iterat...
Definition: optcal.f90:196