-
Notifications
You must be signed in to change notification settings - Fork 1
/
update.h
39 lines (34 loc) · 986 Bytes
/
update.h
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
#ifndef UPDATE_H
#define UPDATE_H
void update_field_current(struct particles *charges,
struct grid ***fields,
int nparticles,
double dx,
double dy,
double dz);
void update_field_strength(struct grid ***fields,
int size,
double dx,
double dy,
double dz,
double dt,
int dump);
void update_charge_posns(struct particles *charges,
struct grid ***fields,
int nparticles,
double dt,
double dx,
double dy,
double dz,
int size,
int dump,
FILE *positions);
void resetfield_rho_j(struct grid ***fields, int size);
double trilin_interp_E(struct grid ***fields,
struct particles *charges,
int size,
int unit_vec,
double xpos,
double ypos,
double zpos);
#endif