18#ifndef VOTCA_CSG_CSG_REUPDATE_H
19#define VOTCA_CSG_CSG_REUPDATE_H
22#include <boost/program_options.hpp>
43 std::string ¶m_in_ext_,
Property *options,
44 bool gentable =
false);
65 out <<
"computes relative entropy update.";
85 std::unique_ptr<CsgApplication::Worker>
ForkWorker(
void)
override;
PotentialContainer potentials_
void EvalConfiguration(Topology *conf, Topology *conf_atom) override
overload with the actual computation
std::vector< Property * > nonbonded_
~CsgREupdateWorker() override=default
void EvalBonded(Topology *conf, PotentialInfo *potinfo)
void EvalNonbonded(Topology *conf, PotentialInfo *potinfo)
std::vector< PotentialInfo * > PotentialContainer
void Run() override
Main body of application.
void EvalNonbonded(Topology *conf, PotentialInfo *potinfo)
std::string ProgramName() override
program name
void HelpText(std::ostream &out) override
help text of application without version information
bool DoTrajectory() override
overload and return true to enable trajectory command line options
bool SynchronizeThreads() override
std::vector< Property * > nonbonded_
PotentialContainer potentials_
void MergeWorker(Worker *worker) override
std::vector< double * > aardfnorms_
void AAavgNonbonded(PotentialInfo *potinfo)
std::unique_ptr< CsgApplication::Worker > ForkWorker(void) override
void LoadOptions(const std::string &file)
void AAavgBonded(PotentialInfo *potinfo)
std::vector< Table * > aardfs_
void EndEvaluate() override
called after the last frame
bool EvaluateOptions() override
Process command line options.
void Initialize() override
Initialize application data.
void BeginEvaluate(Topology *top, Topology *top_atom=nullptr) override
called before the first frame
std::string param_in_ext_
bool DoMapping() override
overload and return true to enable mapping command line options
void EvalBonded(Topology *conf, PotentialInfo *potinfo)
bool DoThreaded() override
bool NeedsTopology() override
if topology is always needed
std::string param_out_ext_
std::vector< PotentialInfo * > PotentialContainer
Worker, derived from Thread, does the work.
topology of the whole system
std::pair< votca::Index, votca::Index > beadTypes
votca::Index potentialIndex
std::string potentialName
std::string potentialFunction
PotentialInfo(votca::Index index, bool bonded_, votca::Index vec_pos_, std::string ¶m_in_ext_, Property *options, bool gentable=false)