41 void add(
const double currentArea,
const Energy ¤tEnergy,
const double currentMeanForce);
55 void set(
const int iteration,
const double currentArea,
const Energy ¤tEnergy,
const double currentMeanForce);
This file defines the Energy class with scaffold extensions.
This class includes components in calculating energy on vertrices including membrane bending energy,...
Definition Energy.hpp:26
Bookkeeps simulation data throughout iterations.
Definition Record.hpp:13
std::vector< double > areaTotal
Vector of total surface area values.
Definition Record.hpp:15
void add(const double currentArea, const Energy ¤tEnergy, const double currentMeanForce)
Adds a new record to the data vectors.
std::vector< double > meanForce
Vector of mean force values.
Definition Record.hpp:17
void print_iteration(const int iteration)
Prints information about a single iteration of the optimization algorithm.
std::vector< Energy > energyVec
Vector of energy values.
Definition Record.hpp:16
Record()
Constructor for Record class.
Record(const int numIterations)
Constructor for Record class that pre-allocates memory for the data vectors.
void set(const int iteration, const double currentArea, const Energy ¤tEnergy, const double currentMeanForce)
Sets the values for a specific record in the data vectors.