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
grid_labels.h
Go to the documentation of this file.
1
/**
2
* @file grid_labels.h
3
* @brief Class to hold the labels of a Yee cell.
4
*/
5
#pragma once
6
7
#include "
mat_io.h
"
8
9
/**
10
* Grid labels hold the cartesian labels of Yee cell, in the x, y and z
11
* directions
12
*/
13
class
GridLabels
{
14
public
:
15
double
*x =
nullptr
;
//< Start of the labels in the x direction
16
double
*y =
nullptr
;
//< Start of the labels in the y direction
17
double
*z =
nullptr
;
//< Start of the labels in the z direction
18
19
GridLabels
() =
default
;
20
21
explicit
GridLabels
(
const
mxArray *ptr);
22
23
/**
24
* @brief Set values by copying from another GridLabels object
25
*
26
* @param other_labels The GridLabels object to copy values from
27
* @param i_l,j_l,k_l The first item to copy from the x, y, z attributes
28
* (respectively)
29
* @param i_u,j_u,k_u The final (inclusive) item to copy from the x, y, z
30
* attributes (respectively)
31
*/
32
void
initialise_from
(
const
GridLabels
&labels_to_copy_from,
int
i_l,
int
i_u,
33
int
j_l,
int
j_u,
int
k_l,
int
k_u);
34
};
13
class
GridLabels
{
…
};
GridLabels
Definition
grid_labels.h:13
GridLabels::initialise_from
void initialise_from(const GridLabels &labels_to_copy_from, int i_l, int i_u, int j_l, int j_u, int k_l, int k_u)
Set values by copying from another GridLabels object.
Definition
grid_labels.cpp:12
mat_io.h
Includes MATLAB headers for I/O.
tdms
include
grid_labels.h
Generated by
1.9.8