32 static constexpr std::string_view NAME =
"angular scan";
37 double partition_sum = 0.0;
38 double energy_sum = 0.0;
42 void add(
double energy);
43 [[nodiscard]]
double getFreeEnergy()
const;
44 [[nodiscard]]
double getMeanEnergy()
const;
45 void printLog()
const;
51 Space::GroupVector::size_type index;
52 std::vector<Point> ref_positions;
53 void initialize(
const Space::GroupVector& groups,
55 ParticleVector getRotatedReference(
const Space::GroupVector& groups,
56 const Eigen::Quaterniond& q);
62 double max_energy = pc::infty;
63 EnergyAnalysis energy_analysis;
66 std::unique_ptr<std::ostream> stream;
67 std::unique_ptr<XTCWriter> trajectory;
71 void report(
const Group& group1,
const Group& group2,
const Eigen::Quaterniond& q1,
80 std::unique_ptr<SystemAction>
createAction(std::string_view name,
const json& properties,
nlohmann::json json
JSON object.
Definition: json_support.h:10
Rotate and translate two molecules to explore all poses.
Definition: actions.h:30
std::vector< Particle > ParticleVector
Storage type for collections of particles.
Definition: particle.h:253
std::unique_ptr< SystemAction > createAction(std::string_view name, const json &j, Space &spc)
Create single action from JSON input.
Definition: actions.cpp:151
std::vector< std::unique_ptr< SystemAction > > createActionList(const json &input, Space &spc)
Create vector of actions from JSON list input.
Definition: actions.cpp:164
Structure for exploring a discrete, uniform angular space between two rigid bodies.
Definition: geometry.h:875
Cell list class templates.
Definition: actions.cpp:11
End of Group class.
Definition: group.h:177
Aggregate and sum energy terms.
Definition: energy.h:1954
std::vector< MoleculeData > molecules
List of molecule types.
Definition: molecule.cpp:22
Placeholder for atoms and molecules.
Definition: space.h:92
Definition: energy.h:1498
Performs a task or "action" on the system, typically before or after a simulation.
Definition: actions.h:17
Writes frames into an XTC file (GROMACS compressed trajectory file format).
Definition: io.h:661