Majoranapp
A C++ library for studying MZM in non-interacting systems
Grid3DViewer Class Reference

displays vectors with sites numbered in 3D grid, More...

#include <Grid3DViewer.hpp>

Inheritance diagram for Grid3DViewer:

Static Public Member Functions

static void View (arma::mat &vectors, int deg)
 

Static Private Member Functions

static void ToCoord (int i, int &x, int &y, int &z, int L, int W)
 

Detailed Description

displays vectors with sites numbered in 3D grid,

e.g. (length=5,width=2,height=2)

slice(0) 0 1 2 3 4

5 6 7 8 9

slice(1) 10 11 12 13 14

15 16 17 18 19

Member Function Documentation

◆ ToCoord()

static void Grid3DViewer::ToCoord ( int  i,
int &  x,
int &  y,
int &  z,
int  L,
int  W 
)
inlinestaticprivate

◆ View()

static void Grid3DViewer::View ( arma::mat &  vectors,
int  deg 
)
inlinestatic

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