AdH Kraken 0.0.0
Next generation Adaptive Hydraulics
Loading...
Searching...
No Matches
scoverage.h
1#ifndef H_SCOVERAGE_
2#define H_SCOVERAGE_
3
4/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
5/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
10/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
11/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
12
13typedef struct {
14
15 int nelems1D,nelems2D,nelems3D; // for convienence
16 int ncoverages1D;
17 int ncoverages2D;
18 int ncoverages3D;
19 int **coverage_1D;
20 int **coverage_2D;
21 int **coverage_3D;
22
23} SCOVERAGE;
24
25/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
26/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
27// Struct Methods
28/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
29void scoverage_alloc_init(SCOVERAGE **coverage,int nelems1D,int nelems2D,int nelems3D,int ncoverages1D,int ncoverages2D,int ncoverages3D);
31void scoverage_read(SCOVERAGE **c,char *filebase);
32
33
34/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
35/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
36
37
38#endif
void scoverage_alloc_init(SCOVERAGE **coverage, int nelems1D, int nelems2D, int nelems3D, int ncoverages1D, int ncoverages2D, int ncoverages3D)
Allocates and intializes a SCOVERAGE structure.
Definition: scoverage.c:24
void scoverage_read(SCOVERAGE **cover, char *filebase)
Reads coverages from file.
Definition: scoverage.c:85
void scoverage_free(SCOVERAGE *c)
Frees a SCOVERAGE structure.
Definition: scoverage.c:62
Definition: scoverage.h:13