Gromacs
2026.0-dev-20241212-74b8831
|
#include <cstdlib>
#include <memory>
#include <utility>
#include "gromacs/mdrun/isimulator.h"
Provides the modular simulator.
Defines the ModularSimulator class. Provides checkUseModularSimulator() utility function to determine whether the ModularSimulator should be used.
This header is currently the only part of the modular simulator module which is exposed. Mdrunner creates an object of type ModularSimulator (via SimulatorBuilder), and calls its run() method. Mdrunner also calls checkUseModularSimulator(...), which in turns calls a static method of ModularSimulator. This could easily become a free function if this requires more exposure than otherwise necessary.
Classes | |
class | gmx::ModularSimulator |
The modular simulator. More... | |
Functions | |
template<typename... Ts> | |
auto | gmx::checkUseModularSimulator (Ts &&...args) -> decltype(ModularSimulator::isInputCompatible(std::forward< Ts >(args)...)) |
Whether or not to use the ModularSimulator. More... | |