VisitModelCell
-
class VisitModelCell : public feasst::VisitModel
Compute many-body inter-particle interactions using a cell list.
Arguments
min_length: build cell list with given minimum distance between cells as a floating point number. If “max_sigma” then use the largest mixed sigma value. If “max_cutoff” then use the largest mixed cutoff value.
cell_group_index: compute cells only in given group index (default: 0).
cell_group: as above, but use the name of the group, not the index. Do not use at the same time as cell_group_index (default: “”).
VisitModel arguments.
Public Functions
Same as above, but with an inner.
-
int cell_id(const Domain &domain, const Position &position) const
Return the unique cell number for the position.
-
void precompute(Configuration *config)
Same as base class, but also prepare the cells.
-
void change_volume(const double delta_volume, const int dimension, Configuration *config)
Change the volume.