Skip to content

File allmatrixoperator.h

File List > algebra > matrix3x3algebra > allmatrixoperator.h

Go to the documentation of this file

#ifndef COSMOINTERFACE_MATRIX3X3ALGEBRA_MATRIXOPERATOR_H
#define COSMOINTERFACE_MATRIX3X3ALGEBRA_MATRIXOPERATOR_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/lattice/algebra/matrix3x3algebra/helpers/matrixget.h"
#include "TempLat/lattice/algebra/matrix3x3algebra/helpers/symtracelessget.h"
#include "TempLat/lattice/algebra/matrix3x3algebra/helpers/symget.h"
#include "TempLat/lattice/algebra/matrix3x3algebra/helpers/hermget.h"

namespace TempLat
{
  class MatrixOperator
  {
  public:
    // Put public methods here. These should change very little over time.
    MatrixOperator() = default;
    static constexpr size_t size = 9;
    using Getter = MatrixGetter;
  };

  class SymOperator
  {
  public:
    // Put public methods here. These should change very little over time.
    SymOperator() = default;
    static constexpr size_t size = 6;
    using Getter = SymGetter;
  };

  class HermOperator
  {
  public:
    // Put public methods here. These should change very little over time.
    HermOperator() = default;
    static constexpr size_t size = 6;
    using Getter = HermGetter;
  };

  class SymTracelessOperator
  {
  public:
    // Put public methods here. These should change very little over time.
    SymTracelessOperator() = default;
    static constexpr size_t size = 5;
    using Getter = SymTracelessGetter;
  };
} // namespace TempLat

#endif