#include <csg_reupdate.h>


Public Member Functions | |
| 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 | DoMapping () override |
| overload and return true to enable mapping command line options | |
| bool | DoThreaded () override |
| bool | SynchronizeThreads () override |
| bool | NeedsTopology () override |
| if topology is always needed | |
| void | Initialize () override |
| Initialize application data. | |
| bool | EvaluateOptions () override |
| Process command line options. | |
| void | BeginEvaluate (Topology *top, Topology *top_atom=nullptr) override |
| called before the first frame | |
| void | LoadOptions (const std::string &file) |
| void | Run () override |
| Main body of application. | |
| void | EndEvaluate () override |
| called after the last frame | |
| std::unique_ptr< CsgApplication::Worker > | ForkWorker (void) override |
| void | MergeWorker (Worker *worker) override |
Public Member Functions inherited from votca::csg::CsgApplication | |
| CsgApplication ()=default | |
| ~CsgApplication () override=default | |
| void | ShowHelpText (std::ostream &out) override |
| virtual bool | DoMappingDefault (void) |
| if DoMapping is true, will by default require mapping or not | |
| virtual bool | EvaluateTopology (Topology *, Topology *=nullptr) |
| called after topology was loaded | |
| void | AddObserver (CGObserver *observer) |
| virtual void | EvalConfiguration (Topology *top, Topology *top_ref=nullptr) |
| bool | ProcessData (Worker *worker) |
| Gets frames from TrajectoryReader in an ordered way and, if successful, calls Worker::EvalConfiguration for that frame. | |
Public Member Functions inherited from votca::tools::Application | |
| Application () | |
| virtual | ~Application () |
| int | Exec (int argc, char **argv) |
| executes the program | |
| virtual std::string | VersionString () |
| version string of application | |
| void | CheckRequired (const std::string &option_name, const std::string &error_msg="") |
| Check weather required option is set. | |
| boost::program_options::options_description_easy_init | AddProgramOptions (const std::string &group="") |
| add option for command line | |
| boost::program_options::variables_map & | OptionsMap () |
| get available program options & descriptions | |
| boost::program_options::options_description & | OptionsDesc () |
| boost::program_options::options_description & | VisibleOptions () |
| filters out the Hidden group from the options descriptions | |
| void | StopExecution () |
| call StopExecution after EvaluateOptions | |
Protected Types | |
| using | PotentialContainer = std::vector<PotentialInfo *> |
Protected Member Functions | |
| void | WriteOutFiles () |
| void | EvalBonded (Topology *conf, PotentialInfo *potinfo) |
| void | EvalNonbonded (Topology *conf, PotentialInfo *potinfo) |
| void | AAavgBonded (PotentialInfo *potinfo) |
| void | AAavgNonbonded (PotentialInfo *potinfo) |
| void | REFormulateLinEq () |
| void | REUpdateLamda () |
Protected Attributes | |
| Property | options_ |
| std::vector< Property * > | nonbonded_ |
| PotentialContainer | potentials_ |
| votca::Index | nlamda_ |
| Eigen::VectorXd | lamda_ |
| Eigen::MatrixXd | HS_ |
| Eigen::VectorXd | DS_ |
| Eigen::VectorXd | dUFrame_ |
| bool | hessian_check_ |
| double | UavgAA_ |
| double | UavgCG_ |
| double | beta_ |
| double | relax_ |
| votca::Index | nframes_ |
| bool | gentable_ |
| std::vector< Table * > | aardfs_ |
| std::vector< double * > | aardfnorms_ |
| std::string | param_in_ext_ |
| std::string | param_out_ext_ |
| std::string | pot_out_ext_ |
| std::string | rdf_ext_ |
Protected Attributes inherited from votca::csg::CsgApplication | |
| std::list< CGObserver * > | observers_ |
| bool | do_mapping_ |
| std::vector< std::unique_ptr< Worker > > | myWorkers_ |
| Index | nframes_ |
| bool | is_first_frame_ |
| Index | nthreads_ |
| tools::Mutex | nframesMutex_ |
| tools::Mutex | traj_readerMutex_ |
| std::vector< std::unique_ptr< tools::Mutex > > | threadsMutexesIn_ |
| stores Mutexes used to impose order for input | |
| std::vector< std::unique_ptr< tools::Mutex > > | threadsMutexesOut_ |
| stores Mutexes used to impose order for output | |
| std::unique_ptr< TrajectoryReader > | traj_reader_ |
Protected Attributes inherited from votca::tools::Application | |
| std::map< std::string, boost::program_options::options_description > | op_groups_ |
| bool | continue_execution_ = true |
Definition at line 61 of file csg_reupdate.h.
|
protected |
Definition at line 93 of file csg_reupdate.h.
|
protected |
Definition at line 456 of file csg_reupdate.cc.
|
protected |
Definition at line 367 of file csg_reupdate.cc.
called before the first frame
Reimplemented from votca::csg::CsgApplication.
Definition at line 97 of file csg_reupdate.cc.
|
inlineoverridevirtual |
overload and return true to enable mapping command line options
Reimplemented from votca::csg::CsgApplication.
Definition at line 70 of file csg_reupdate.h.
|
inlineoverridevirtual |
Reimplemented from votca::csg::CsgApplication.
Definition at line 72 of file csg_reupdate.h.
|
inlineoverridevirtual |
overload and return true to enable trajectory command line options
Reimplemented from votca::csg::CsgApplication.
Definition at line 68 of file csg_reupdate.h.
|
overridevirtual |
called after the last frame
Reimplemented from votca::csg::CsgApplication.
Definition at line 233 of file csg_reupdate.cc.
|
protected |
|
protected |
|
overridevirtual |
Process command line options.
EvaluateOptions is called by Run after parsing the command line. return true if everything is ok, false to stop and show help text.
Reimplemented from votca::csg::CsgApplication.
Definition at line 78 of file csg_reupdate.cc.
|
overridevirtual |
User is required to overload ForkWorker and initialize workers.
Reimplemented from votca::csg::CsgApplication.
Definition at line 458 of file csg_reupdate.cc.
|
inlineoverridevirtual |
help text of application without version information
| out | ostream for output |
Implements votca::tools::Application.
Definition at line 64 of file csg_reupdate.h.
|
overridevirtual |
Initialize application data.
Initialize is called by run before parsing the command line. All necessary command line arguments can be added here
Reimplemented from votca::csg::CsgApplication.
Definition at line 45 of file csg_reupdate.cc.
| void CsgREupdate::LoadOptions | ( | const std::string & | file | ) |
Definition at line 91 of file csg_reupdate.cc.
|
overridevirtual |
User is required to overload MergeWorker and merge data from each worker.
| worker |
Reimplemented from votca::csg::CsgApplication.
Definition at line 505 of file csg_reupdate.cc.
|
inlineoverridevirtual |
if topology is always needed
Reimplemented from votca::csg::CsgApplication.
Definition at line 75 of file csg_reupdate.h.
|
inlineoverridevirtual |
program name
overload this function to set the program name
Implements votca::tools::Application.
Definition at line 63 of file csg_reupdate.h.
|
protected |
Definition at line 277 of file csg_reupdate.cc.
|
protected |
Definition at line 307 of file csg_reupdate.cc.
|
overridevirtual |
Main body of application.
Run is called after command line was parsed + evaluated. All the work should be done in here.
Reimplemented from votca::csg::CsgApplication.
Definition at line 197 of file csg_reupdate.cc.
|
inlineoverridevirtual |
Reimplemented from votca::csg::CsgApplication.
Definition at line 73 of file csg_reupdate.h.
|
protected |
Definition at line 254 of file csg_reupdate.cc.
|
protected |
Definition at line 113 of file csg_reupdate.h.
|
protected |
Definition at line 112 of file csg_reupdate.h.
|
protected |
Definition at line 106 of file csg_reupdate.h.
|
protected |
Definition at line 100 of file csg_reupdate.h.
|
protected |
Definition at line 101 of file csg_reupdate.h.
|
protected |
Definition at line 110 of file csg_reupdate.h.
|
protected |
Definition at line 102 of file csg_reupdate.h.
|
protected |
Definition at line 99 of file csg_reupdate.h.
|
protected |
Definition at line 97 of file csg_reupdate.h.
|
protected |
Definition at line 108 of file csg_reupdate.h.
|
protected |
Definition at line 96 of file csg_reupdate.h.
|
protected |
Definition at line 91 of file csg_reupdate.h.
|
protected |
Definition at line 90 of file csg_reupdate.h.
|
protected |
Definition at line 116 of file csg_reupdate.h.
|
protected |
Definition at line 116 of file csg_reupdate.h.
|
protected |
Definition at line 117 of file csg_reupdate.h.
|
protected |
Definition at line 94 of file csg_reupdate.h.
|
protected |
Definition at line 118 of file csg_reupdate.h.
|
protected |
Definition at line 107 of file csg_reupdate.h.
|
protected |
Definition at line 104 of file csg_reupdate.h.
|
protected |
Definition at line 105 of file csg_reupdate.h.