Skip to content

File symtracelessget.h

File List > algebra > matrix3x3algebra > helpers > symtracelessget.h

Go to the documentation of this file

#ifndef COSMOINTERFACE_MATRIX3X3ALGEBRA_HELPERS_SYMTRACELESSGET_H
#define COSMOINTERFACE_MATRIX3X3ALGEBRA_HELPERS_SYMTRACELESSGET_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): Jorge Baeza-Ballesteros, Year: 2026

#include "TempLat/util/rangeiteration/tag.h"
#include "TempLat/lattice/algebra/matrix3x3algebra/helpers/hassymtracelessget.h"

namespace TempLat
{
  class SymTracelessGetter
  {
  public:
    template <typename R, int N>
      requires(HasSymTracelessGet<R>)
    static auto get(R &&r, Tag<N> t)
    {
      return r.SymTracelessGet(t);
    }
  };
} // namespace TempLat

#endif