#include <Timestep.h>
Public Methods | |
void | get_transform_vectors (float v1[3], float v2[3], float v3[3]) const |
Get vectors corresponding to periodic image vectors. More... | |
void | get_transforms (Matrix4 &a, Matrix4 &b, Matrix4 &c) const |
Compute transformations from current unit cell dimensions. More... | |
void | get_transform_from_cell (const int *cell, Matrix4 &trans) const |
Convert (na, nb, nc) tuple to a transformation based on the current unit cell. More... | |
Timestep (int n, int pagealignsz=1) | |
constructor: # atoms, alignment req. More... | |
Timestep (const Timestep &ts) | |
copy constructor. More... | |
~Timestep (void) | |
destructor. More... | |
void | zero_values () |
set the coords to 0. More... | |
Public Attributes | |
int | num |
number of atoms this timestep is for. More... | |
int | page_align_sz |
page alignment size for unbuffered kernel I/O. More... | |
float * | pos |
atom coords. unit:Angstroms. More... | |
float * | pos_ptr |
non-block-aligned pointer to pos buffer. More... | |
float * | vel |
atom velocites. unit:. More... | |
float * | force |
atom forces. unit:kcal/mol/A. More... | |
float * | user |
Demand-allocated 1-float-per-atom 'User' data. More... | |
float * | user2 |
Demand-allocated 1-float-per-atom 'User' data. More... | |
float * | user3 |
Demand-allocated 1-float-per-atom 'User' data. More... | |
float * | user4 |
Demand-allocated 1-float-per-atom 'User' data. More... | |
QMTimestep * | qm_timestep |
QM timestep data (orbitals, wavefctns, etc). More... | |
float | energy [TSENERGIES] |
energies for this step. unit:kcal/mol. More... | |
int | timesteps |
timesteps elapsed so far (if known). More... | |
double | physical_time |
physical time for this step. unit:femtoseconds. More... | |
float | a_length |
Size and shape of unit cell. More... | |
float | b_length |
Size and shape of unit cell. More... | |
float | c_length |
Size and shape of unit cell. More... | |
float | alpha |
Size and shape of unit cell. More... | |
float | beta |
Size and shape of unit cell. More... | |
float | gamma |
Size and shape of unit cell. More... |
Definition at line 43 of file Timestep.h.
|
constructor: # atoms, alignment req.
Definition at line 53 of file Timestep.C. References a_length, alloc_aligned_ptr, alpha, b_length, beta, c_length, energy, force, gamma, n, NULL, num, page_align_sz, physical_time, pos, pos_ptr, qm_timestep, timesteps, TSENERGIES, user, user2, user3, user4, and vel. |
|
copy constructor.
Definition at line 80 of file Timestep.C. References a_length, alloc_aligned_ptr, alpha, b_length, beta, c_length, energy, force, gamma, NULL, num, page_align_sz, physical_time, pos, pos_ptr, qm_timestep, timesteps, user, user2, user3, user4, and vel. |
|
destructor.
Definition at line 157 of file Timestep.C. References force, pos_ptr, qm_timestep, user, user2, user3, user4, and vel. |
|
Convert (na, nb, nc) tuple to a transformation based on the current unit cell.
Definition at line 229 of file Timestep.C. References get_transform_vectors, Matrix4::identity, Matrix4::mat, and mat. Referenced by normal_atom_coord, GeometryMol::normal_atom_coord, PickModeCenter::pick_molecule_end, and PickModeMove::pick_molecule_move. |
|
Get vectors corresponding to periodic image vectors.
Definition at line 183 of file Timestep.C. References alpha, b_length, beta, c_length, DEGTORAD, gamma, and vec_zero. Referenced by get_transform_from_cell, get_transforms, and colvarproxy_vmd::update_input. |
|
Compute transformations from current unit cell dimensions.
Definition at line 220 of file Timestep.C. References get_transform_vectors, and Matrix4::translate. Referenced by compute_pbcminmax, measure_pbc2onc, and measure_pbc_neighbors. |
|
set the coords to 0.
Definition at line 172 of file Timestep.C. References energy, num, pos, timesteps, and TSENERGIES. Referenced by DrawMolecule::duplicate_frame. |
|
Size and shape of unit cell.
Definition at line 61 of file Timestep.h. Referenced by IMDMgr::check_event, check_timesteps, VolMapCreateCoulombPotentialMSM::compute_frame, fpbc_exec_join, fpbc_exec_join_cpu, fpbc_exec_recenter, fpbc_exec_unwrap, fpbc_exec_unwrap_cpu, fpbc_exec_wrapatomic, fpbc_exec_wrapatomic_cpu, fpbc_exec_wrapcompound, fpbc_exec_wrapcompound_cpu, measure_gofr, measure_rdf, measure_surface, VMDApp::molecule_from_selection_list, MolFilePlugin::next, py_get_periodic, py_set_periodic, Timestep, colvarproxy_vmd::update_input, and MolFilePlugin::write_timestep. |
|
Size and shape of unit cell.
Definition at line 61 of file Timestep.h. Referenced by IMDMgr::check_event, check_timesteps, VolMapCreateCoulombPotentialMSM::compute_frame, get_transform_vectors, measure_gofr, measure_rdf, measure_surface, VMDApp::molecule_from_selection_list, MolFilePlugin::next, py_get_periodic, py_set_periodic, Timestep, colvarproxy_vmd::update_input, and MolFilePlugin::write_timestep. |
|
Size and shape of unit cell.
Definition at line 61 of file Timestep.h. Referenced by IMDMgr::check_event, check_timesteps, VolMapCreateCoulombPotentialMSM::compute_frame, fpbc_exec_join, fpbc_exec_join_cpu, fpbc_exec_recenter, fpbc_exec_unwrap, fpbc_exec_unwrap_cpu, fpbc_exec_wrapatomic, fpbc_exec_wrapatomic_cpu, fpbc_exec_wrapcompound, fpbc_exec_wrapcompound_cpu, get_transform_vectors, measure_gofr, measure_rdf, measure_surface, VMDApp::molecule_from_selection_list, MolFilePlugin::next, py_get_periodic, py_set_periodic, Timestep, colvarproxy_vmd::update_input, and MolFilePlugin::write_timestep. |
|
Size and shape of unit cell.
Definition at line 61 of file Timestep.h. Referenced by IMDMgr::check_event, check_timesteps, VolMapCreateCoulombPotentialMSM::compute_frame, get_transform_vectors, measure_gofr, measure_rdf, measure_surface, VMDApp::molecule_from_selection_list, MolFilePlugin::next, py_get_periodic, py_set_periodic, Timestep, colvarproxy_vmd::update_input, and MolFilePlugin::write_timestep. |
|
Size and shape of unit cell.
Definition at line 61 of file Timestep.h. Referenced by IMDMgr::check_event, check_timesteps, VolMapCreateCoulombPotentialMSM::compute_frame, fpbc_exec_join, fpbc_exec_join_cpu, fpbc_exec_recenter, fpbc_exec_unwrap, fpbc_exec_unwrap_cpu, fpbc_exec_wrapatomic, fpbc_exec_wrapatomic_cpu, fpbc_exec_wrapcompound, fpbc_exec_wrapcompound_cpu, get_transform_vectors, measure_gofr, measure_rdf, measure_surface, VMDApp::molecule_from_selection_list, MolFilePlugin::next, py_get_periodic, py_set_periodic, Timestep, colvarproxy_vmd::update_input, and MolFilePlugin::write_timestep. |
|
energies for this step. unit:kcal/mol.
Definition at line 56 of file Timestep.h. Referenced by IMDMgr::check_event, Timestep, and zero_values. |
|
atom forces. unit:kcal/mol/A.
Definition at line 50 of file Timestep.h. Referenced by GeometryMol::atom_formatted_name, Molecule::get_new_frames, Timestep, and ~Timestep. |
|
Size and shape of unit cell.
Definition at line 61 of file Timestep.h. Referenced by IMDMgr::check_event, check_timesteps, VolMapCreateCoulombPotentialMSM::compute_frame, get_transform_vectors, measure_gofr, measure_rdf, measure_surface, VMDApp::molecule_from_selection_list, MolFilePlugin::next, py_get_periodic, py_set_periodic, Timestep, colvarproxy_vmd::update_input, and MolFilePlugin::write_timestep. |
|
number of atoms this timestep is for.
Definition at line 45 of file Timestep.h. Referenced by measure_pbc_neighbors, py_timestep, py_velocities, Timestep, MolFilePlugin::write_timestep, and zero_values. |
|
page alignment size for unbuffered kernel I/O.
Definition at line 46 of file Timestep.h. Referenced by Timestep. |
|
physical time for this step. unit:femtoseconds.
Definition at line 58 of file Timestep.h. Referenced by GeometryMol::atom_formatted_name, AtomColor::find, MolFilePlugin::next, py_get_physical_time, py_set_physical_time, Timestep, and MolFilePlugin::write_timestep. |
|
|
non-block-aligned pointer to pos buffer.
Definition at line 48 of file Timestep.h. |
|
QM timestep data (orbitals, wavefctns, etc).
Definition at line 55 of file Timestep.h. Referenced by molinfo_get, QMData::mullikenpop, MolFilePlugin::next, QMData::orblocalize, GraphicsFltkRepOrbital::regen_orbitallist, Timestep, and ~Timestep. |
|
timesteps elapsed so far (if known).
Definition at line 57 of file Timestep.h. Referenced by IMDMgr::check_event, molinfo_get, molinfo_set, Timestep, and zero_values. |
|
Demand-allocated 1-float-per-atom 'User' data.
Definition at line 51 of file Timestep.h. Referenced by AtomColor::find, Timestep, and ~Timestep. |
|
Demand-allocated 1-float-per-atom 'User' data.
Definition at line 52 of file Timestep.h. Referenced by AtomColor::find, Timestep, and ~Timestep. |
|
Demand-allocated 1-float-per-atom 'User' data.
Definition at line 53 of file Timestep.h. Referenced by AtomColor::find, Timestep, and ~Timestep. |
|
Demand-allocated 1-float-per-atom 'User' data.
Definition at line 54 of file Timestep.h. Referenced by AtomColor::find, Timestep, and ~Timestep. |
|
atom velocites. unit:.
Definition at line 49 of file Timestep.h. Referenced by AtomColor::find, MolFilePlugin::next, py_velocities, Timestep, MolFilePlugin::write_timestep, and ~Timestep. |