GridFire 0.0.1a
General Purpose Nuclear Network
Loading...
Searching...
No Matches
partition_types.h
Go to the documentation of this file.
1#pragma once
2
3#include <unordered_map>
4#include <string>
5
6namespace gridfire::partition {
7
19
28 inline std::unordered_map<BasePartitionType, std::string> basePartitionTypeToString = {
29 {RauscherThielemann, "RauscherThielemann"},
30 {GroundState, "GroundState"}
31 };
32
42 inline std::unordered_map<std::string, BasePartitionType> stringToBasePartitionType = {
43 {"RauscherThielemann", RauscherThielemann},
44 {"GroundState", GroundState}
45 };
46
47}
std::unordered_map< std::string, BasePartitionType > stringToBasePartitionType
Mapping from string to BasePartitionType enum.
std::unordered_map< BasePartitionType, std::string > basePartitionTypeToString
Mapping from BasePartitionType enum to human-readable string.
BasePartitionType
Enumerates available partition function implementations.
@ RauscherThielemann
Rauscher-Thielemann partition function.
@ GroundState
Ground state partition function.