StatMech
Loading...
Searching...
No Matches
transSpin.cpp File Reference

Functions

int main (int argc, char **argv)
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)
6 {
7 if(argc != 5) {
8 std::cerr << "Usage: transSpin(Integer_t const index, Integer_t const trans, Integer_t const dloc, Integer_t const n)" << std::endl;
9 std::exit(EX_USAGE);
10 }
11 Integer_t index = (Integer_t)std::atoi(argv[1]);
12 Integer_t trans = (Integer_t)std::atoi(argv[2]);
13 Integer_t dloc = (Integer_t)std::atoi(argv[3]);
14 Integer_t n = (Integer_t)std::atoi(argv[4]);;
15 std::cout << transSpin(index, trans, dloc, n)
16 << " = transSpin("
17 << index << "," << trans << "," << dloc << "," << n << ")"
18 << std::endl;
19 return 0;
20}
MKL_INT Integer_t
Definition mytypes.hpp:359