Gromacs  2021.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
coordstate.cpp File Reference
#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 "biasgrid.h"
+ Include dependency graph for coordstate.cpp:

Description

Implements the CoordState class.

Author
Viveca Lindahl
Berk Hess hess@.nosp@m.kth..nosp@m.se

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...