DensityProfile
-
class DensityProfile : public feasst::Analyze
Density profile
Arguments
dimension: profile runs along this dimension (default: 0).
dr: profile bin size (default: 0.1).
center: specify the center of a single bin (default: 0.).
Public Functions
-
std::string header(const MonteCarlo &mc) const
Return the header for writing.
-
void initialize(MonteCarlo *mc)
Initialize and precompute before trials.
-
void update(const MonteCarlo &mc)
Perform update action.
-
std::vector<std::vector<std::vector<double>>> profile() const
Return the profile for a given type. The first index is the bin. The second index is the type. The third index is 0 - r, 1 - value.
-
std::string write(const MonteCarlo &mc)
Perform write action.