#include <gromacs/mdlib/mdatoms.h>
Contains a C-style t_mdatoms while managing some of its memory with C++ vectors with allocators.
- Todo:
- The group-scheme kernels needed a plain C-style t_mdatoms, so this type combines that with the memory management needed for efficient PME on GPU transfers. The mdatoms_ member should be removed.
|
std::unique_ptr< MDAtoms > | makeMDAtoms (FILE *fp, const gmx_mtop_t &mtop, const t_inputrec &ir, bool rankHasPmeGpuTask) |
| Builder function.
|
|
void gmx::MDAtoms::resizeChargeA |
( |
int |
newSize | ) |
|
Resizes memory for charges of FEP state A.
- Exceptions
-
std::bad_alloc | If out of memory. |
void gmx::MDAtoms::resizeChargeB |
( |
int |
newSize | ) |
|
Resizes memory for charges of FEP state B.
- Exceptions
-
std::bad_alloc | If out of memory. |
The documentation for this class was generated from the following files:
- src/gromacs/mdlib/mdatoms.h
- src/gromacs/mdlib/mdatoms.cpp