-
Notifications
You must be signed in to change notification settings - Fork 8
/
fdtd.h
50 lines (43 loc) · 1.08 KB
/
fdtd.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
40
41
42
43
44
45
46
47
48
49
50
//
// Created by egi on 12/30/19.
//
#ifndef MULTIGPUFDTD_FDTD_H
#define MULTIGPUFDTD_FDTD_H
#include "barrier.h"
#include "grid_info.h"
#include "vtk_writer.h"
enum class fdtd_fields : int
{
er, hr, mh, hx, hy, ez, dz, fields_count
};
void run_fdtd (
int steps,
int write_each,
int source_x_offset,
double *elapsed_times,
const grid_info_class &grid_info,
receiver_writer &receiver,
vtk_writer &writer,
grid_barrier_accessor_class &grid_accessor,
const thread_info_class &thread_info);
void run_fdtd_copy_overlap (
int steps,
int write_each,
int source_x_offset,
double *elapsed_times,
const grid_info_class &grid_info,
receiver_writer &receiver,
vtk_writer &writer,
grid_barrier_accessor_class &grid_accessor,
const thread_info_class &thread_info);
void run_fdtd_b2r_copy_overlap (
int steps,
int write_each,
int source_x_offset,
double *elapsed_times,
const grid_info_class &grid_info,
receiver_writer &receiver,
vtk_writer &writer,
grid_barrier_accessor_class &grid_accessor,
const thread_info_class &thread_info);
#endif //MULTIGPUFDTD_FDTD_H