#include <Spring.h>
Public Member Functions | |
Spring () | |
~Spring () | |
Data Fields | |
scalar | k |
Spring constant. More... | |
scalar | l |
Equilibrium length. More... | |
int * | blob_index |
Blobs connected to. More... | |
int * | conformation_index |
Conformations connected to. More... | |
int * | node_index |
Nodes connected to. More... | |
bool | am_i_active |
Check if spring is active. More... | |
Spring::Spring | ( | ) |
Spring::~Spring | ( | ) |
bool Spring::am_i_active |
Check if spring is active.
Referenced by World::activate_springs(), Spring(), and ~Spring().
int* Spring::blob_index |
Blobs connected to.
Referenced by World::apply_springs(), World::load_springs(), World::make_measurements(), Spring(), and ~Spring().
int* Spring::conformation_index |
Conformations connected to.
Referenced by World::load_springs(), Spring(), and ~Spring().
scalar Spring::k |
Spring constant.
Referenced by World::apply_springs(), World::load_springs(), World::make_measurements(), Spring(), and ~Spring().
scalar Spring::l |
Equilibrium length.
Referenced by World::load_springs(), Spring(), and ~Spring().