TDMS
Time Domain Maxwell Solver
All Classes Namespaces Files Functions Variables Typedefs Enumerations Macros Pages
ijk Struct Reference

A structure for holding three values, which typically pertain to the same quantity but for each of the axial directions. More...

#include <cell_coordinate.h>

Public Member Functions

int max () const
 Return the maximum of i,j,k.
 
void print () const
 Print the (i,j,k) values.
 
ijkoperator+= (int n)
 

Public Attributes

int i = 0
 Value in the i/x direction.
 
int j = 0
 Value in the j/y direction.
 
int k = 0
 Value in the k/z direction.
 

Detailed Description

A structure for holding three values, which typically pertain to the same quantity but for each of the axial directions.

Effectively stores the 3-vector (i,j,k). This is typically used to represent Yee cell indices, or 3D-array dimensions, or the maximum number of Yee cells in each coordinate direction, for example.


The documentation for this struct was generated from the following file: