1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00:00
Grid/tests/sp2n/Test_sp2n_lie_gen.cc

73 lines
2.7 KiB
C++
Raw Normal View History

2021-10-12 09:06:15 +01:00
#include <Grid/Grid.h>
using namespace Grid;
int main(int argc, char** argv) {
Grid_init(&argc, &argv);
2023-05-02 12:50:57 +01:00
std::cout << GridLogMessage << "*********************************************"
2021-10-12 09:06:15 +01:00
<< std::endl;
2023-05-02 12:50:57 +01:00
std::cout << GridLogMessage << "* Generators for Sp(2)" << std::endl;
std::cout << GridLogMessage << "*********************************************"
2021-10-12 09:06:15 +01:00
<< std::endl;
2023-05-02 12:50:57 +01:00
Sp2::printGenerators();
Sp2::testGenerators();
2021-10-12 09:06:15 +01:00
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();
2023-05-16 14:10:39 +01:00
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();
2023-05-16 17:43:52 +01:00
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();
2023-05-16 14:10:39 +01:00
2021-10-12 09:06:15 +01:00
Grid_finalize();
}