Bridge++  Ver. 2.0.2
Index_lex Class Reference

Lexical site index. More...

#include <index_lex.h>

Public Member Functions

 Index_lex ()
 
 Index_lex (const int Nx, const int Ny, const int Nz, const int Nt)
 
int site (const int &x, const int &y, const int &z, const int &t) const
 

Protected Attributes

int m_Nx
 
int m_Ny
 
int m_Nz
 
int m_Nt
 
Bridge::VerboseLevel m_vl
 

Detailed Description

Lexical site index.

This class defines lexicographycal site index. Only the site degree of freedom is concerned. In present implementation, there is no superclass structure, and thus polymorphism is not available. Is it better to be renamed Index_lex and derived from generic Index class ? [25 Dec 2011 H.Matsufuru]

Nx,Ny,Nz,Nt are enabled to be given at the construction. [26 May 2012 H.Matsufuru]

Definition at line 34 of file index_lex.h.

Constructor & Destructor Documentation

◆ Index_lex() [1/2]

Index_lex::Index_lex ( )
inline

Definition at line 40 of file index_lex.h.

◆ Index_lex() [2/2]

Index_lex::Index_lex ( const int  Nx,
const int  Ny,
const int  Nz,
const int  Nt 
)
inline

Definition at line 47 of file index_lex.h.

Member Function Documentation

◆ site()

int Index_lex::site ( const int &  x,
const int &  y,
const int &  z,
const int &  t 
) const
inline

Definition at line 55 of file index_lex.h.

Member Data Documentation

◆ m_Nt

int Index_lex::m_Nt
protected

Definition at line 36 of file index_lex.h.

◆ m_Nx

int Index_lex::m_Nx
protected

Definition at line 36 of file index_lex.h.

◆ m_Ny

int Index_lex::m_Ny
protected

Definition at line 36 of file index_lex.h.

◆ m_Nz

int Index_lex::m_Nz
protected

Definition at line 36 of file index_lex.h.

◆ m_vl

Bridge::VerboseLevel Index_lex::m_vl
protected

Definition at line 37 of file index_lex.h.


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