1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-04 11:15:55 +01:00

ClangFormat

This commit is contained in:
Julian Lenz 2023-06-16 15:58:23 +01:00
parent c95bbd3948
commit 8c3792721b

View File

@ -6,22 +6,23 @@ template<int ncolour>
void run_checks(bool print_generators = 0) {
std::cout << GridLogMessage << "*********************************************"
<< std::endl;
std::cout << GridLogMessage << "* Generators for Sp(" << ncolour << ")" << "Fundamental" << std::endl;
std::cout << GridLogMessage << "* Generators for Sp(" << ncolour << ")"
<< "Fundamental" << std::endl;
std::cout << GridLogMessage << "*********************************************"
<< std::endl;
if (print_generators)
{
if (print_generators) {
Sp<ncolour>::printGenerators();
}
Sp<ncolour>::testGenerators();
if (Sp_TwoIndex<ncolour, Symmetric>::Dimension > 1) {
std::cout << GridLogMessage << "*********************************************"
<< std::endl;
std::cout << GridLogMessage << "* Generators for Sp(" << ncolour << ")" << "TwoIndex Symmetric: " << std::endl;
std::cout << GridLogMessage << "*********************************************"
<< std::endl;
std::cout << GridLogMessage
<< "*********************************************" << std::endl;
std::cout << GridLogMessage << "* Generators for Sp(" << ncolour << ")"
<< "TwoIndex Symmetric: " << std::endl;
std::cout << GridLogMessage
<< "*********************************************" << std::endl;
if (print_generators) {
Sp_TwoIndex<ncolour, Symmetric>::printGenerators();
}
@ -29,11 +30,12 @@ void run_checks(bool print_generators = 0) {
}
if (Sp_TwoIndex<ncolour, AntiSymmetric>::Dimension > 1) {
std::cout << GridLogMessage << "*********************************************"
<< std::endl;
std::cout << GridLogMessage << "* Generators for Sp(" << ncolour << ")" << "TwoIndex AntiSymmetric: " << std::endl;
std::cout << GridLogMessage << "*********************************************"
<< std::endl;
std::cout << GridLogMessage
<< "*********************************************" << std::endl;
std::cout << GridLogMessage << "* Generators for Sp(" << ncolour << ")"
<< "TwoIndex AntiSymmetric: " << std::endl;
std::cout << GridLogMessage
<< "*********************************************" << std::endl;
if (print_generators) {
Sp_TwoIndex<ncolour, AntiSymmetric>::printGenerators();
}