HP-HEM
1.0.2
High Performance implementation of the Hybrid Electromagnetic Model
src
grid.h
Go to the documentation of this file.
1
/* High Performance implementation of the Hybrid Electromagnetic Model
2
Released under the General Public License 3 (GPLv3).
3
All parameters' units are in the SI base if omitted.
4
5
Routines to manipulate the Grid (of Electrodes) structure and do calculations,
6
i.e., numerical integration and impedances calculation for this specialized case.
7
*/
8
#ifndef GRID_H_
9
#define GRID_H_
10
11
#include <complex.h>
12
#include <stdlib.h>
13
#include <stdbool.h>
14
#include "
electrode.h
"
15
35
typedef
struct
{
37
unsigned
int
vertices_x
;
39
unsigned
int
vertices_y
;
41
double
length_x
;
43
double
length_y
;
45
unsigned
int
edge_segments_x
;
47
unsigned
int
edge_segments_y
;
49
double
radius
;
51
double
depth
;
52
}
Grid
;
53
55
int
56
number_segments
(
const
Grid
grid);
57
59
int
60
number_nodes
(
const
Grid
grid);
61
70
int
71
electrode_grid
(
const
Grid
grid,
Electrode
* electrodes,
double
* nodes);
72
73
#endif
/* GRID_H_ */
Grid::edge_segments_x
unsigned int edge_segments_x
Definition:
grid.h:45
Grid
Definition:
grid.h:35
Grid::depth
double depth
Definition:
grid.h:51
number_nodes
int number_nodes(const Grid grid)
Grid::radius
double radius
Definition:
grid.h:49
number_segments
int number_segments(const Grid grid)
Grid::vertices_x
unsigned int vertices_x
Definition:
grid.h:37
Grid::length_y
double length_y
Definition:
grid.h:43
electrode_grid
int electrode_grid(const Grid grid, Electrode *electrodes, double *nodes)
Electrode
Definition:
electrode.h:34
electrode.h
Grid::edge_segments_y
unsigned int edge_segments_y
Definition:
grid.h:47
Grid::length_x
double length_x
Definition:
grid.h:41
Grid::vertices_y
unsigned int vertices_y
Definition:
grid.h:39
Generated by
1.8.15