This class provides the same command-line option functionality to both CLI and API sessions.
This class should not exist, but is necessary now to introduce support for the CLI and API without duplicating code. It should be eliminated following the TODOs below.
- Warning
- Instances provide lifetime scope for members that do not have effective lifetime management or which are frequently accessed unsafely. The caller is responsible for keeping a LegacyMdrunOptions object alive for as long as any consumers, direct or transitive.
- Todo:
- Modules in mdrun should acquire proper option handling so that all of these declarations and defaults are local to the modules.
- Todo:
- Contextual aspects, such as working directory and environment variable handling are more properly the role of SimulationContext, and should be moved there.
MdrunOptions
DomdecOptions
gmx_hw_opt_t
int
ReplicaExchangeParameters
std::vector< t_filenm >
real
bool
rvec
const char *
const char *
const char *
const char *
const char *
const char *
const char *
ImdOptions &
t_pargs
Read more here: Source link