ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
propagation.hpp File Reference
#include "PropagationMode.hpp"
#include <string>
#include <unordered_map>
+ Include dependency graph for propagation.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool is_valid_propagation_combination (int propagation)
 Check allowlist of valid propagation modes combinations.
 
std::unordered_map< std::string, int > propagation_flags_map ()
 Convert PropagationMode::PropagationMode to name/value pairs.
 
std::string propagation_bitmask_to_string (int propagation)
 Convert a propagation modes bitmask to a string.
 

Function Documentation

◆ is_valid_propagation_combination()

bool is_valid_propagation_combination ( int  propagation)

Check allowlist of valid propagation modes combinations.

Check allowlist of valid propagation modes combinations.

Definition at line 37 of file propagation.cpp.

References force_code_coverage(), and NONE.

Referenced by ScriptInterface::Particles::ParticleHandle::ParticleHandle().

◆ propagation_bitmask_to_string()

std::string propagation_bitmask_to_string ( int  propagation)

Convert a propagation modes bitmask to a string.

Definition at line 125 of file propagation.cpp.

References propagation_flags_map().

Referenced by ScriptInterface::Particles::ParticleHandle::ParticleHandle().

◆ propagation_flags_map()

std::unordered_map< std::string, int > propagation_flags_map ( )

Convert PropagationMode::PropagationMode to name/value pairs.

Definition at line 104 of file propagation.cpp.

References NONE.

Referenced by ScriptInterface::System::System::do_call_method(), and propagation_bitmask_to_string().