![]() |
The Virtual Cell Model
1.0
|
#include <ECM.h>
Public Member Functions | |
| void | import_config (vector< string > configlines) |
| void | export_for_resume (int MD_step) |
| void | export_for_resume (int MD_step, MyAtomInfo atoms[], int atom_count) |
| void | set_state (MyAtomInfo all_atoms[], int atom_count) |
| Set the current state (OpenMM) of the class. More... | |
| void | set_label (std::string lab) |
| Assigns the label(pdb) used to write to the trajectory files. More... | |
| std::string | get_label (void) |
| return the label(pdb) used to write to the trajectory files. More... | |
| void | set_file_time (char *buffer) |
| void | set_index (int ind) |
| double | get_spring_stiffness_coefficient (void) |
| Return spring stiffness coefficient. More... | |
| double | get_stiffness_gradient_x (void) |
| Return spring stiffness gradient_x. More... | |
| double | get_stiffness_gradient_y (void) |
| Return spring stiffness gradient_y. More... | |
| double | get_stiffness_gradient_z (void) |
| Return spring stiffness gradient_z. More... | |
| int | get_receptor_type (void) |
| Return receptor type. More... | |
| double | get_receptor_density (void) |
| Return receptor density. More... | |
| double | get_receptor_center_x (void) |
| Return receptor center_x. More... | |
| double | get_receptor_center_y (void) |
| Return receptor center_y. More... | |
| double | get_receptor_center_z (void) |
| Return receptor center_z. More... | |
| double | get_receptor_gradient_x (void) |
| Return receptor density gradient_x. More... | |
| double | get_receptor_gradient_y (void) |
| Return receptor density gradient_y. More... | |
| double | get_receptor_gradient_z (void) |
| Return receptor density gradient_z. More... | |
| int | get_num_of_nodes (void) |
| public access to total number of ECM nodes. More... | |
| int | get_num_of_triangles (void) |
| public access to the total number of triangles in the ECM. More... | |
| double | get_node_mass (void) |
| Return the node mass. More... | |
| int | get_num_of_node_pairs (void) |
| Return the number of bonds between membrane nodes. More... | |
| int | get_spring_model (void) |
| Return input spring model, used to setup the openmm system for the bonds. More... | |
| int | get_node_pair (int bond_num, int node_id) |
| Return the id(int) of the nodes in the bonds. More... | |
| double | get_avg_node_dist (void) |
| Return the average distance of the nodes as calculated from the mesh. More... | |
| double | get_sigma_LJ_12_6 (void) |
| Return the Lenard Jones 12 6 sigma, used to setup the openmm system for the LJ interaction. More... | |
| double | get_epsilon_LJ_12_6 (void) |
| Return the Lenard Jones 12 6 sigma, used to setup the openmm system for the LJ interaction. More... | |
| double | get_node_radius (void) |
| double | get_interaction_range (void) |
| void | set_interaction_range (double range) |
| double | get_epsilon (void) |
| double | get_sigma (void) |
| int | get_ext_force_model (void) |
| Return external force model. More... | |
| double | get_kx (void) |
| double | get_ky (void) |
| double | get_kz (void) |
| double | get_node_position (int node_number, int node_coordinate) |
| void | add_to_force (double force, int index, int coor) |
| void | shift_node_positions (void) |
| void | shift_velocity (double vx, double vy, double vz) |
| double | get_node_velocity (int node_number, int node_coordinate) |
| Returns the x (0), y (1), and z (2) velocities of the node index (number). More... | |
| void | update_COM_velocity (void) |
| void | update_COM_position (void) |
| void | set_FENE_param (double &le0, double &le1, double &lmin, double &lmax) |
| Set FENE calculated parameters. More... | |
| ECM () | |
| std::map< string, vector< string > > | get_map () |
| vector< string > | get_insertOrder () |
| void | assign_key_value (string key, string value) |
Public Attributes | |
| std::string | output_file_neme |
| std::map< string, vector< string > > | Params |
| vector< string > | insertOrder |
| vector< string > | values |
Private Member Functions | |
| void | Node_Bond_identifier_2D (void) |
| void | Node_Bond_identifier_3D (void) |
| void | Node_Bond_identifier_3D_square (void) |
| void | initialise (int dimension) |
| void | Node_neighbour_list_constructor (void) |
| void | read_gmesh_file_2D (std::string gmesh_file) |
| void | read_gmesh_file_3D (std::string gmesh_file) |
| void | read_gmesh_file_3D_square (std::string gmesh_file) |
| void | normal_direction_Identifier (double x, double y, double z) |
| void | normal_direction_Identifier (void) |
| void | check (void) |
Private Attributes | |
| std::string | label |
| std::string | Mesh_file_name |
| std::string | file_time |
| int | index |
| std::map< std::string, double > | param_map |
| double | Node_Mass =1 |
| double | Node_radius =1 |
| int | spring_model =1 |
| double | Spring_coefficient =10 |
| double | stiffness_gradient_x =0 |
| double | stiffness_gradient_y =0 |
| double | stiffness_gradient_z =0 |
| int | receptor_type = 1 |
| double | receptor_density = 0.5 |
| double | receptor_center_x = 0 |
| double | receptor_center_y = 0 |
| double | receptor_center_z = 0 |
| double | receptor_gradient_x = 0 |
| double | receptor_gradient_y = 0 |
| double | receptor_gradient_z = 0 |
| double | Shift_in_X_direction =0 |
| double | Shift_in_Y_direction =0 |
| double | Shift_in_Z_direction =0 |
| int | Num_of_Nodes =0 |
| int | Num_of_Triangle_Pairs =0 |
| int | Num_of_Node_Pairs =0 |
| int | Num_of_Triangles =0 |
| double | x_speed =0.0 |
| double | y_speed =0.0 |
| double | z_speed =0.0 |
| int | ext_force_model =0 |
| double | kx =10 |
| double | ky =10 |
| double | kz =10 |
| double | Kelvin_Damping_Coefficient =100 |
| double | Dashpot_Viscosity =0.02 |
| vector< vector< double > > | Node_Force |
| vector< vector< double > > | Node_Position |
| vector< vector< int > > | Triangle_List |
| vector< vector< int > > | Pyramid_Nodes |
| vector< vector< int > > | square_Nodes |
| double | interaction_range =1.0 |
| double | epsilon =0.6 |
| double | sigma =15.0 |
| double | COM_velocity [3] ={0} |
| double | COM_position [3] ={0} |
| double | Min_node_pair_length |
| double | Max_node_pair_length |
| double | Average_node_pair_length |
| double | rescale_factor |
| double | sigma_LJ_12_6 =0 |
| double | epsilon_LJ_12_6 =0 |
| vector< vector< double > > | Node_Velocity |
| vector< vector< int > > | Node_Bond_list |
| vector< vector< int > > | Node_neighbour_list |
|
inline |
|
inline |
|
inline |
|
private |
| void ECM::export_for_resume | ( | int | MD_step | ) |
| void ECM::export_for_resume | ( | int | MD_step, |
| MyAtomInfo | atoms[], | ||
| int | atom_count | ||
| ) |
|
inline |
Return the average distance of the nodes as calculated from the mesh.
|
inline |
|
inline |
Return the Lenard Jones 12 6 sigma, used to setup the openmm system for the LJ interaction.
|
inline |
Return external force model.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
return the label(pdb) used to write to the trajectory files.
|
inline |
|
inline |
Return the node mass.
At the current stage of this code all membrane nodes have the same mass.
|
inline |
Return the id(int) of the nodes in the bonds.
The id of each node in the bond list is stored in the first (0) and the second (1) id slot.
|
inline |
|
inline |
|
inline |
Returns the x (0), y (1), and z (2) velocities of the node index (number).
|
inline |
Return the number of bonds between membrane nodes.
|
inline |
|
inline |
public access to the total number of triangles in the ECM.
|
inline |
Return receptor center_x.
|
inline |
Return receptor center_y.
|
inline |
Return receptor center_z.
|
inline |
Return receptor density.
|
inline |
Return receptor density gradient_x.
|
inline |
Return receptor density gradient_y.
|
inline |
Return receptor density gradient_z.
|
inline |
Return receptor type.
|
inline |
|
inline |
Return the Lenard Jones 12 6 sigma, used to setup the openmm system for the LJ interaction.
|
inline |
Return input spring model, used to setup the openmm system for the bonds.
|
inline |
Return spring stiffness coefficient.
|
inline |
Return spring stiffness gradient_x.
|
inline |
Return spring stiffness gradient_y.
|
inline |
Return spring stiffness gradient_z.
| void ECM::import_config | ( | vector< string > | configlines | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
inline |
Set FENE calculated parameters.
|
inline |
|
inline |
|
inline |
|
inline |
Assigns the label(pdb) used to write to the trajectory files.
| void ECM::set_state | ( | MyAtomInfo | all_atoms[], |
| int | atom_count | ||
| ) |
Set the current state (OpenMM) of the class.
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
| vector<string> ECM::insertOrder |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
| std::string ECM::output_file_neme |
|
private |
| std::map<string, vector<string> > ECM::Params |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
| vector<string> ECM::values |
|
private |
|
private |
|
private |