File hassu2get.h
File List > algebra > su2algebra > helpers > hassu2get.h
Go to the documentation of this file
#ifndef COSMOINTERFACE_SU2ALGEBRA_HELPERS_HASSU2GET_H
#define COSMOINTERFACE_SU2ALGEBRA_HELPERS_HASSU2GET_H
/* This file is part of TempLat, available at https://cosmolattice.github.io/templat .
Copyright 2021-2026 The TempLat authors, see AUTHORS.md.
Released under the MIT license, see LICENSE.md. */
// File info: Main contributor(s): Adrien Florio, Franz R. Sattler, Year: 2025
#include "TempLat/util/rangeiteration/tag.h"
#include "TempLat/util/rangeiteration/tagliteral.h"
namespace TempLat
{
template <typename T>
concept HasSU2Get = requires(T t) { t.SU2Get(0_c); } || requires(T t) { t.SU2Get(1_c); } ||
requires(T t) { t.SU2Get(2_c); } || requires(T t) { t.SU2Get(3_c); };
} // namespace TempLat
#endif