24#include <boost/program_options.hpp>
39 void HelpText(ostream &out)
override;
52 std::unique_ptr<CsgApplication::Worker>
ForkWorker()
override {
67 out <<
"Calculate all distributions (bonded and non-bonded) specified in "
69 "Optionally calculates update Eigen::Matrix3d for invere Monte Carlo. "
72 "is called inside the inverse scripts. Unlike csg_boltzmann, big "
74 "can be treated as well as non-bonded interactions can be evaluated.";
80 boost::program_options::value<string>(),
81 " options file for coarse graining")(
82 "do-imc",
" write out additional Inverse Monte Carlo data")(
83 "include-intra",
" do not exclude intramolecular neighbors")(
84 "block-length", boost::program_options::value<votca::Index>(),
85 " write blocks of this length, the averages are cleared after every "
87 boost::program_options::value<string>(&
extension_)
88 ->default_value(
"dist.new"),
89 "Extension of the output");
125int main(
int argc,
char **argv) {
127 return app.
Exec(argc, argv);
void EndEvaluate() override
called after the last frame
votca::Index block_length_
std::unique_ptr< CsgApplication::Worker > ForkWorker() override
void HelpText(ostream &out) override
help text of application without version information
void MergeWorker(CsgApplication::Worker *worker) override
bool DoMapping() override
overload and return true to enable mapping command line options
bool DoThreaded() override
void BeginEvaluate(Topology *top, Topology *top_ref) override
called before the first frame
bool EvaluateOptions() override
Process command line options.
bool DoMappingDefault(void) override
if DoMapping is true, will by default require mapping or not
void Initialize() override
Initialize application data.
bool DoTrajectory() override
overload and return true to enable trajectory command line options
bool SynchronizeThreads() override
string ProgramName() override
program name
Worker, derived from Thread, does the work.
bool EvaluateOptions() override
Process command line options.
void Initialize() override
Initialize application data.
class to calculate distribution functions and cross correlations for inverse monte carlo
void BlockLength(votca::Index length)
std::unique_ptr< CsgApplication::Worker > ForkWorker()
void EndEvaluate()
end coarse graining a trajectory
void Extension(std::string ext)
void IncludeIntra(bool include_intra)
void MergeWorker(CsgApplication::Worker *worker_)
void BeginEvaluate(Topology *top, Topology *top_atom)
begin coarse graining a trajectory
void LoadOptions(const std::string &file)
load cg definitions file
topology of the whole system
int main(int argc, char **argv)