TDMS
Time Domain Maxwell Solver
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
Functions
Variables
Enumerations
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
x
y
z
Functions
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
Variables
a
c
d
f
i
j
k
m
n
r
s
x
y
z
Files
File List
File Members
All
a
b
c
d
f
i
m
n
p
s
t
v
Functions
Variables
Typedefs
Enumerations
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Macros
Pages
Loading...
Searching...
No Matches
array_init.h
Go to the documentation of this file.
1
/**
2
* @file array_init.h
3
* @brief A collection of functions for array initialisation given MATLAB
4
* pointers.
5
*/
6
#pragma once
7
8
#include "
field.h
"
9
#include "
mat_io.h
"
10
11
/**
12
* Initialise the grid tensors/arrays, including the electric and magnetic split
13
* fields and the materials array.
14
* @param ptr Pointer to the matlab struct
15
* @param E_s Electric split field
16
* @param H_s Magnetic split field
17
* @param materials Materials array
18
*/
19
void
init_grid_arrays
(
const
mxArray *ptr,
SplitField
&E_s,
SplitField
&H_s,
20
uint8_t ***&materials);
init_grid_arrays
void init_grid_arrays(const mxArray *ptr, SplitField &E_s, SplitField &H_s, uint8_t ***&materials)
Definition
array_init.cpp:10
SplitField
A split field defined over a grid.
Definition
field.h:84
field.h
Classes for the electric and magnetic (split) fields on a grid.
mat_io.h
Includes MATLAB headers for I/O.
tdms
include
array_init.h
Generated by
1.9.8