mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-09 23:45:36 +00:00
73 lines
2.7 KiB
C++
73 lines
2.7 KiB
C++
#include <Grid/Grid.h>
|
|
|
|
using namespace Grid;
|
|
|
|
int main(int argc, char** argv) {
|
|
Grid_init(&argc, &argv);
|
|
|
|
std::cout << GridLogMessage << "*********************************************"
|
|
<< std::endl;
|
|
std::cout << GridLogMessage << "* Generators for Sp(2)" << std::endl;
|
|
std::cout << GridLogMessage << "*********************************************"
|
|
<< std::endl;
|
|
|
|
Sp2::printGenerators();
|
|
Sp2::testGenerators();
|
|
|
|
std::cout << GridLogMessage << "*********************************************"
|
|
<< std::endl;
|
|
std::cout << GridLogMessage << "* Generators for Sp(4)" << std::endl;
|
|
std::cout << GridLogMessage << "*********************************************"
|
|
<< std::endl;
|
|
|
|
Sp4::printGenerators();
|
|
Sp4::testGenerators();
|
|
|
|
std::cout << GridLogMessage << "*********************************************"
|
|
<< std::endl;
|
|
std::cout << GridLogMessage << "* Generators for Sp(6)" << std::endl;
|
|
std::cout << GridLogMessage << "*********************************************"
|
|
<< std::endl;
|
|
|
|
Sp6::printGenerators();
|
|
Sp6::testGenerators();
|
|
|
|
std::cout << GridLogMessage << "*********************************************"
|
|
<< std::endl;
|
|
std::cout << GridLogMessage << "* Generators for Sp(8)" << std::endl;
|
|
std::cout << GridLogMessage << "*********************************************"
|
|
<< std::endl;
|
|
|
|
Sp8::printGenerators();
|
|
Sp8::testGenerators();
|
|
|
|
std::cout << GridLogMessage << "*********************************************"
|
|
<< std::endl;
|
|
std::cout << GridLogMessage << "* Generators for Sp(4) TwoIndex AntiSymmetric" << std::endl;
|
|
std::cout << GridLogMessage << "*********************************************"
|
|
<< std::endl;
|
|
|
|
Sp4TwoIndexAntiSymm::printGenerators();
|
|
Sp4TwoIndexAntiSymm::testGenerators();
|
|
|
|
std::cout << GridLogMessage << "*********************************************"
|
|
<< std::endl;
|
|
std::cout << GridLogMessage << "* Generators for Sp(6) TwoIndex AntiSymmetric" << std::endl;
|
|
std::cout << GridLogMessage << "*********************************************"
|
|
<< std::endl;
|
|
|
|
SU_TwoIndex<6, AntiSymmetric>::printGenerators();
|
|
SU_TwoIndex<6, AntiSymmetric>::testGenerators();
|
|
|
|
std::cout << GridLogMessage << "*********************************************"
|
|
<< std::endl;
|
|
std::cout << GridLogMessage << "* Generators for Sp(8) TwoIndex AntiSymmetric" << std::endl;
|
|
std::cout << GridLogMessage << "*********************************************"
|
|
<< std::endl;
|
|
|
|
Sp_TwoIndex<8, AntiSymmetric>::printGenerators();
|
|
Sp_TwoIndex<8, AntiSymmetric>::testGenerators();
|
|
|
|
Grid_finalize();
|
|
}
|