-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAtmosphereModel.c
67 lines (53 loc) · 2.33 KB
/
AtmosphereModel.c
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
/**
* @file AtmosphereModel.c
* @brief Atmosphere model (refraction)
*
*/
#define _GNU_SOURCE
/* ================================================================== */
/* ================================================================== */
/* MODULE INFO */
/* ================================================================== */
/* ================================================================== */
// module default short name
// all CLI calls to this module functions will be <shortname>.<funcname>
// if set to "", then calls use <funcname>
#define MODULE_SHORTNAME_DEFAULT "atmmodel"
// Module short description
#define MODULE_DESCRIPTION "Atmosphere model"
/* ================================================================== */
/* ================================================================== */
/* HEADER FILES */
/* ================================================================== */
/* ================================================================== */
#include "CommandLineInterface/CLIcore.h"
//
// Forward declarations are required to connect CLI calls to functions
// If functions are in separate .c files, include here the corresponding .h files
//
//#include "make_master_turbulence_screen.h"
//#include "make_master_turbulence_screen_pow.h"
/* ================================================================== */
/* ================================================================== */
/* INITIALIZE LIBRARY */
/* ================================================================== */
/* ================================================================== */
// Module initialization macro in CLIcore.h
// macro argument defines module name for bindings
//
INIT_MODULE_LIB(AtmosphereModel)
/**
* @brief Initialize module CLI
*
* CLI entries are registered: CLI call names are connected to CLI functions.\n
* Any other initialization is performed\n
*
*/
static errno_t init_module_CLI()
{
//CLI_CMD_CONNECT("func1", "create_image_with_value");
//AtmosphericTurbulence_make_master_turbulence_screen_addCLIcmd();
//AtmosphericTurbulence_make_master_turbulence_screen_pow_addCLIcmd();
// optional: add atexit functions here
return RETURN_SUCCESS;
}