X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=blobdiff_plain;f=src%2Fgromacs%2Flegacyheaders%2Fdomdec.h;h=c44c7bf8406784fdd4ee17326d357a3266c521d4;hb=19d3c2e5d0c401eb59010960d11a18b6ba2c54c6;hp=13b55711e8c385ee03d41139beb3563cc684c4cb;hpb=fe90f1c1c71a3a43a27ec9ba76e772ae54786c7f;p=alexxy%2Fgromacs.git diff --git a/src/gromacs/legacyheaders/domdec.h b/src/gromacs/legacyheaders/domdec.h index 13b55711e8..c44c7bf840 100644 --- a/src/gromacs/legacyheaders/domdec.h +++ b/src/gromacs/legacyheaders/domdec.h @@ -139,6 +139,12 @@ void change_dd_dlb_cutoff_limit(t_commrec *cr); * possible after subsequently setting a shorter cut-off with change_dd_cutoff. */ +gmx_bool dd_dlb_is_locked(const gmx_domdec_t *dd); +/* Return if the DLB lock is set */ + +void dd_dlb_set_lock(gmx_domdec_t *dd, gmx_bool bValue); +/* Set a lock such that with DLB=auto DLB can (not) get turned on */ + void dd_setup_dlb_resource_sharing(t_commrec *cr, const gmx_hw_info_t *hwinfo, const gmx_hw_opt_t *hw_opt);