Gromacs
2020.4
|
#include "gmxpre.h"
#include "coordstate.h"
#include <algorithm>
#include "gromacs/math/utilities.h"
#include "gromacs/mdtypes/awh_history.h"
#include "gromacs/mdtypes/awh_params.h"
#include "gromacs/random/threefry.h"
#include "gromacs/random/uniformrealdistribution.h"
#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/gmxassert.h"
#include "gromacs/utility/stringutil.h"
#include "grid.h"
Implements the CoordState class.
Functions | |
int | gmx::anonymous_namespace{coordstate.cpp}::getSampleFromDistribution (ArrayRef< const double > distr, int64_t seed, int64_t indexSeed0, int64_t indexSeed1) |
Generate a sample from a discrete probability distribution defined on [0, distr.size() - 1]. More... | |