TDMS
Time Domain Maxwell Solver
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.15.0