14inline namespace options {
45 static_assert((
pairwise |
triwise) ==
all,
"InteractionTypeOptions are defined with non matching values!");
70 constexpr operator Value()
const {
return _value; }
Class representing the interaction type choices.
Definition: InteractionTypeOption.h:18
constexpr InteractionTypeOption(Value_t option)
Constructor from number value.
Definition: InteractionTypeOption.h:64
static std::set< InteractionTypeOption > getDiscouragedOptions()
Set of options that are very unlikely to be interesting.
Definition: InteractionTypeOption.h:77
unsigned int Value_t
Type used for the internal enum.
Definition: InteractionTypeOption.h:23
static std::map< InteractionTypeOption, std::string > getOptionNames()
Provides a way to iterate over the possible choices of InteractionTypeOption.
Definition: InteractionTypeOption.h:83
Value
Possible choices for the interaction type.
Definition: InteractionTypeOption.h:28
@ all
All interaction types.
Definition: InteractionTypeOption.h:40
@ triwise
Triwise interactions.
Definition: InteractionTypeOption.h:36
@ pairwise
Pairwise interactions.
Definition: InteractionTypeOption.h:32
InteractionTypeOption()=default
Constructor.
constexpr InteractionTypeOption(Value option)
Constructor from value.
Definition: InteractionTypeOption.h:56
Base class for autopas options.
Definition: Option.h:25
This is the main namespace of AutoPas.
Definition: AutoPasDecl.h:32