-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathhelm.c
More file actions
37 lines (32 loc) · 1.12 KB
/
Copy pathhelm.c
File metadata and controls
37 lines (32 loc) · 1.12 KB
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
//--------------------------------------------------------------------------
//
// Copyright (C) 2014, 2026 Rhys Ulerich
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
//
//--------------------------------------------------------------------------
/** \file
* C99 extern declarations for static inline functions within \ref helm.h
*
* When a header-only library uses static inline, each translation unit
* gets its own private copy. Providing matching extern declarations in
* a single .c file lets the compiler emit one shared, externally-visible
* definition that the linker can use when inlining is not performed.
*/
#include "helm.h"
extern
struct helm_state *
helm_reset(struct helm_state * const h);
extern
struct helm_state *
helm_approach(struct helm_state * const h);
extern
double
helm_steady(struct helm_state * const h,
const double dt,
const double r,
const double u,
const double v,
const double y);