Gromacs
2025-dev-20240913-b871546
|
#include <gromacs/domdec/builder.h>
Builds a domain decomposition management object.
This multi-phase construction needs first a decision about the duty(s) of each rank, and then perhaps to be advised of GPU streams for transfer operations.
Classes | |
class | Impl |
Impl class for DD builder. More... | |
Public Member Functions | |
DomainDecompositionBuilder (const MDLogger &mdlog, t_commrec *cr, const DomdecOptions &options, const MdrunOptions &mdrunOptions, const gmx_mtop_t &mtop, const t_inputrec &ir, const MDModulesNotifiers ¬ifiers, const matrix box, ArrayRef< const RangePartitioning > updateGroupingPerMoleculeType, bool useUpdateGroups, real maxUpdateGroupRadius, ArrayRef< const RVec > xGlobal, bool useGpuForNonbonded, bool useGpuForPme, bool useGpuForUpdate, bool useGpuDirectHalo, bool canUseGpuPmeDecomposition) | |
Constructor. | |
~DomainDecompositionBuilder () | |
Destructor. | |
std::unique_ptr< gmx_domdec_t > | build (LocalAtomSetManager *atomSets, const gmx_localtop_t &localTopology, const t_state *localState, ObservablesReducerBuilder *observablesReducerBuilder) |
Build the resulting DD manager. More... | |
std::unique_ptr< gmx_domdec_t > gmx::DomainDecompositionBuilder::build | ( | LocalAtomSetManager * | atomSets, |
const gmx_localtop_t & | localTopology, | ||
const t_state * | localState, | ||
ObservablesReducerBuilder * | observablesReducerBuilder | ||
) |
Build the resulting DD manager.
localState
is used for printing distances in case bonded interactions can not be assigned. Pass nullptr when multiple local states are used (e.g. during EM).