Constructors

All Container classes have the same constructor defined by the length of the subsystem, L_. It is possible to pass the maximal particle number, n_max_, for the subsystem. Passing a small maximal particle number is useful for the Dictionary and the on-the-fly approach. The default value of -1 indicates the maximal possible particle number which is L_ \(\cdot\) (Q-1).

danceq::internal::ContainerTable::ContainerTable(uint64_t L_, uint64_t n_max_ = -1UL)

Constructor.

Constructs an instance with a given length L_ and maximal particle number n_max_. Default particle number of -1 sets n_max to L_ (Q-1).

Parameters:
  • L_ – System size.

  • n_max_ – Particle number.