118 for (i=0; i<
tmp_proj -> natomes; i++)
137extern gboolean
in_bond (
int at,
int bd[2]);
154 for (i=0; i<at -> num; i++)
188 int i, j, k, l, m, n;
189 for (i=0; i<at -> num; i++)
234 int i, j, k, l, m, n, o, p;
235 for (i=0; i<
tmp_fat -> num; i++)
289 int i, j, k, l, m, n, o, p;
290 for (i=0; i<
tmp_fat -> num; i++)
309 if (o != k && o != m)
345 for (i=0; i < body -> na[h]; i++)
348 for (j=0; j <
tmp_fat -> num; j++)
455 for (i=0; i <
tmp_field -> extern_fields; i++)
488 int i, j, k, l, m, n, o, p;
519 if (
id > 8 &&
id < 15)
552 int l, m, n, o, p, q, r, s;
565 for (n=0; n <
tmp_fat -> num; n++)
580 for (n=0; n<
tmp_proj -> natomes; n++)
590 for (m=0; m<
tmp_fat -> num; m++)
639 for (n=0; n<
tmp_fpmf -> num[m]; n++)
752 propv = propv -> next;
830 int i, j, k, l, m, n;
836 if (gtk_cell_renderer_toggle_get_active(cell_renderer))
846 GtkTreePath *
path = gtk_tree_path_new_from_string (string_path);
847 gtk_tree_model_get_iter (GTK_TREE_MODEL(
field_model[i]), & iter,
path);
851 gtk_tree_model_get (GTK_TREE_MODEL(
field_model[i]), & iter, 0, & k, -1);
865 for (m=1; m<l+1; m++)
867 gtk_tree_model_get (GTK_TREE_MODEL(
field_model[i]), & iter, m, & str, -1);
888 for (n=0; n<l; n++)
tmp_fprop -> aid[n] = ids[n];
894 for (n=0; n<l; n++)
tmp_fstr -> other -> aid[n] = ids[n];
910 gtk_tree_model_get (GTK_TREE_MODEL(
field_model[i]), & iter, 0, & k, -1);
922 if (i == 0 && dat ->
c == 1)
928 else if (dat ->
c == 0)
939 else if (dat ->
c == 0)
946 if (ids) g_free (ids);
947 if (forall || i == 4 || i ==
SEXTERN)
952 else if (! forall && i > 0 && i != 4 && i !=
SEXTERN)
973 gboolean show = FALSE;
1058 else if (i > 6 && i <
MOLIMIT)
1097 if (i == 0 && dat ->
c == 1)
1109 else if (dat ->
c == 0)
field_constraint * get_active_constraint(int a, int b)
retrieve constraint property
field_molecule * get_active_field_molecule(int a)
retrieve field molecule
field_rigid * get_active_rigid(int a, int b)
retrieve rigid property
field_prop * get_active_prop_using_atoms(struct field_prop *pr, int ti, int *ids)
retrieve field molecule structural property using atoms
field_struct * get_active_struct(int s, int a, int b)
retrieve field structural property
field_shell * get_active_shell(int a, int b)
retrieve shell property
field_atom * get_active_atom(int a, int b)
retrieve field atom
field_external * get_active_external(int a)
retrieve external field property
field_nth_body * get_active_body(int a, int b)
retrieve field nth body interaction
field_pmf * get_active_pmf(int a, int b)
retrieve PMF property
field_tethered * get_active_tethered(int a, int b)
retrieve tethered property
field_prop * duplicate_field_prop(field_prop *old_prop, int ti)
create a copy of a field property
void adjust_field_prop(int fil, int sti, field_prop *tmp, int *ids, int key)
adjust field property
field_constraint * tmp_fcons
field_nth_body * tmp_fbody
int body_at(int b)
find the number of atom(s) in a non bonded interaction
field_external * tmp_fext
GtkTreeStore * field_model[MAXDATA]
int struct_id(int f)
number of atoms in a structural element
void fill_field_model(GtkTreeStore *store, int f, int m)
classical force field fill the tree store
field_molecule * tmp_fmol
field_tethered * tmp_ftet
classical_field * tmp_field
GtkWidget * combo_mol[MOLIMIT-1]
Variable declarations for the creation of the DL_POLY input file(s)
void select_object(int id, int jd, int kd)
select structural element
void visualize_angles(int viz, int aid, field_atom *at, field_atom *bt, field_atom *ct)
show / hide angle / angle restraint
void field_unselect_all()
unselect all atoms
void visualize_dihedrals(int viz, int did, field_atom *at, field_atom *bt, field_atom *ct, field_atom *dt)
show / hide dihedral / dihedral restraint
void viz_fragment(field_molecule *fmol, int id, int viz)
show / hide fragment
void visualize_single_struct(int id, int jd, int kd, int *ids)
visualize single structural element
void visualize_bonds(int viz, int bid, field_atom *at, field_atom *bt)
show / hide bond / bond restraint
void update_mol_tree(int a, int b)
update the field molecule tree model
void update_selection_list(atom_selection *at_list, atom *at, gboolean add)
update the selection list adding or removing an atom
void check_to_visualize_properties_for_this_field_mol(int pid, int mol)
check if rendering is required for object in molecule
void field_selection(int i, int viz, int lab, int aid)
select / unselect atom
void check_to_visualize_properties(int pid)
check if it is requried to update rendering
void visualize_object(int id, int jd, int kd)
visualize object and update OpenGL rendering
gboolean in_bond(int at, int bd[2])
is atom at in bond bd
void visualize_imp_inv(int viz, int dih, int iid, field_atom *at, field_atom *bt, field_atom *ct, field_atom *dt)
show / hide improper or inversion
G_MODULE_EXPORT void visualize_or_select_all_elements(GtkTreeViewColumn *col, gpointer data)
select all element(s) in the column for visualization
G_MODULE_EXPORT void on_toggle_visualize_or_select_object(GtkCellRendererToggle *cell_renderer, gchar *string_path, gpointer data)
on visualize force field object toggle callback
void visualize_body(int viz, int bd, field_nth_body *body)
show / hide non bonded interaction
void init_default_shaders(glwin *view)
re-initialize the default OpenGL shaders
gboolean show_field_object(int id, int jd, int kd)
is the field object visible ?
int get_field_objects(int id, int jd)
get the number of this type of field object
int is_special[MAXDATA][11]
int * allocint(int val)
allocate an int * pointer
double string_to_double(gpointer string)
convert string to double
int combo_get_active(GtkWidget *combo)
retrieve the active item's position
#define MAXDATA
Number of tabs for the description of the classical force field.
Variable declarations related to the OpenGL window Function declarations related to the OpenGL wind...
Function declarations for the creation of the OpenGL window.
integer(kind=c_int) function molecules(frag_and_mol, allbonds)
Function declarations for reading atomes project file Function declarations for saving atomes proje...