votca 2024.2-dev
|
class to calculate distribution functions and cross correlations for inverse monte carlo More...
#include <rdf_calculator.h>
Classes | |
struct | group_t |
struct to store collected information for groups (e.g. crosscorrelations) More... | |
struct | interaction_t |
struct to store collected information for interactions More... | |
struct | pair_t |
class | Worker |
Public Member Functions | |
RDFCalculator () | |
~RDFCalculator () | |
void | Initialize (void) |
void | LoadOptions (const std::string &file) |
load cg definitions file | |
void | BeginEvaluate (Topology *top, Topology *top_atom) |
begin coarse graining a trajectory | |
void | EndEvaluate () |
end coarse graining a trajectory | |
void | WriteEvery (Index write_every) |
void | DoBlocks (bool do_blocks) |
void | DoVolumeCorrection (bool do_vol_corr) |
void | SetSubvolRadius (double r) |
double | AnalyticVolumeCorrection (double t) |
std::unique_ptr< CsgApplication::Worker > | ForkWorker () |
void | MergeWorker (CsgApplication::Worker *worker_) |
Protected Types | |
using | group_matrix = Eigen::MatrixXd |
using | pair_matrix = Eigen::Block<group_matrix> |
Protected Member Functions | |
interaction_t * | AddInteraction (Property *p) |
create a new interaction entry based on given options | |
group_t * | getGroup (const std::string &name) |
get group by name, creates one if it doesn't exist | |
void | WriteDist (const std::string &suffix="") |
void | ClearAverages () |
void | DoCorrelations (RDFCalculator::Worker *worker) |
update the correlations after interations were processed | |
Protected Attributes | |
Average< double > | avg_vol_ |
Property | options_ |
the options parsed from cg definition file | |
Index | write_every_ |
bool | do_blocks_ |
Index | nframes_ |
Index | nblock_ |
double | subvol_rad_ |
Eigen::Vector3d | boxc_ |
bool | do_vol_corr_ |
std::vector< Property * > | bonded_ |
list of bonded interactions | |
std::vector< Property * > | nonbonded_ |
list of non-bonded interactions | |
std::map< std::string, std::unique_ptr< interaction_t > > | interactions_ |
std::map ineteractionm-name to interaction | |
std::map< std::string, std::unique_ptr< group_t > > | groups_ |
std::map group-name to group | |
bool | processed_some_frames_ |
class to calculate distribution functions and cross correlations for inverse monte carlo
This class calculates distribution functions as well as cross-correlations for specific groups of interactions based on a given trajectory.
Definition at line 53 of file rdf_calculator.h.
|
protected |
Definition at line 85 of file rdf_calculator.h.
|
protected |
Definition at line 86 of file rdf_calculator.h.
votca::csg::RDFCalculator::RDFCalculator | ( | ) |
Definition at line 41 of file rdf_calculator.cc.
|
default |
|
protected |
create a new interaction entry based on given options
Definition at line 120 of file rdf_calculator.cc.
|
inline |
Definition at line 73 of file rdf_calculator.h.
begin coarse graining a trajectory
Definition at line 72 of file rdf_calculator.cc.
|
protected |
Definition at line 179 of file rdf_calculator.cc.
|
inline |
Definition at line 70 of file rdf_calculator.h.
|
protected |
update the correlations after interations were processed
|
inline |
Definition at line 71 of file rdf_calculator.h.
void votca::csg::RDFCalculator::EndEvaluate | ( | ) |
end coarse graining a trajectory
Definition at line 147 of file rdf_calculator.cc.
std::unique_ptr< CsgApplication::Worker > votca::csg::RDFCalculator::ForkWorker | ( | ) |
Definition at line 362 of file rdf_calculator.cc.
|
protected |
get group by name, creates one if it doesn't exist
Definition at line 321 of file rdf_calculator.cc.
void votca::csg::RDFCalculator::Initialize | ( | void | ) |
Definition at line 53 of file rdf_calculator.cc.
void votca::csg::RDFCalculator::LoadOptions | ( | const std::string & | file | ) |
load cg definitions file
Definition at line 163 of file rdf_calculator.cc.
void votca::csg::RDFCalculator::MergeWorker | ( | CsgApplication::Worker * | worker_ | ) |
Definition at line 376 of file rdf_calculator.cc.
|
inline |
Definition at line 72 of file rdf_calculator.h.
|
protected |
Definition at line 331 of file rdf_calculator.cc.
|
inline |
Definition at line 69 of file rdf_calculator.h.
|
protected |
Definition at line 83 of file rdf_calculator.h.
|
protected |
list of bonded interactions
Definition at line 132 of file rdf_calculator.h.
|
protected |
Definition at line 128 of file rdf_calculator.h.
|
protected |
Definition at line 122 of file rdf_calculator.h.
|
protected |
Definition at line 129 of file rdf_calculator.h.
|
protected |
std::map group-name to group
Definition at line 139 of file rdf_calculator.h.
|
protected |
std::map ineteractionm-name to interaction
Definition at line 137 of file rdf_calculator.h.
|
protected |
Definition at line 126 of file rdf_calculator.h.
|
protected |
Definition at line 125 of file rdf_calculator.h.
|
protected |
list of non-bonded interactions
Definition at line 134 of file rdf_calculator.h.
|
protected |
the options parsed from cg definition file
Definition at line 118 of file rdf_calculator.h.
|
protected |
Definition at line 170 of file rdf_calculator.h.
|
protected |
Definition at line 127 of file rdf_calculator.h.
|
protected |
Definition at line 120 of file rdf_calculator.h.