8#include <spdlog/spdlog.h>
27 int max()
const {
return std::max(std::max(
i,
j),
k); }
30 void print()
const { spdlog::info(
"ijk: ({},{},{})",
i,
j,
k); }
32 ijk &operator+=(
int n) {
ijk CellCoordinate
Index-coordinates (i,j,k) of a Yee cell.
Definition cell_coordinate.h:42
ijk IJKDimensions
Holds array dimensions (I_tot, J_tot, K_tot)
Definition cell_coordinate.h:43
A structure for holding three values, which typically pertain to the same quantity but for each of th...
Definition cell_coordinate.h:21
void print() const
Print the (i,j,k) values.
Definition cell_coordinate.h:30
int i
Value in the i/x direction.
Definition cell_coordinate.h:22
int j
Value in the j/y direction.
Definition cell_coordinate.h:23
int max() const
Return the maximum of i,j,k.
Definition cell_coordinate.h:27
int k
Value in the k/z direction.
Definition cell_coordinate.h:24