Skip to content
Snippets Groups Projects
FunctionUtils.hh 478 B
#pragma once

#include <cassert>
#include <vector>
#include <string>
#include <sys/types.h>

class Particle;
class Spin;

typedef uint8_t Id1StringType;
typedef uint16_t Id2StringType;
typedef uint16_t Id3StringType;

namespace FunctionUtils {

  std::string particleListName(std::vector<Particle*>& particleVec);
  Id1StringType spin1Index(Spin& spin1);
  Id2StringType spin2Index(Spin& spin1, Spin& spin2);
  Id3StringType spin3Index(Spin& spin1, Spin& spin2, Spin& spin3);
}