aboutsummaryrefslogtreecommitdiff
path: root/Carpet/LoopControl/src/lc_auto.h
blob: a89db6aa826c6c95a9ea3615487344e1c8e9ea78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef LC_AUTO_H
#define LC_AUTO_H

#include <cctk.h>

#include "lc_siman.h"
#include "loopcontrol.h"



/* no typedef here; forward declcared in loopcontrol.h */
struct lc_auto_state_t {
  lc_siman_params_t siman_params;
  gsl_rng * rng;
  lc_siman_state_t * siman_state;
  
  lc_state_t state;
  double time;
};



void
lc_auto_init (lc_statset_t * restrict const ls,
              lc_state_t * restrict const state);

void
lc_auto_finish (lc_statset_t * restrict const ls,
                lc_stattime_t const * restrict const lt);

#endif  /* #ifndef LC_AUTO_H */