atomes 1.3.1
atomes: an atomic scale modeling tool box
Loading...
Searching...
No Matches
dlp_field.c File Reference

Functions to prepare the DL-POLY / LAMMPS input preparation assistant
Functions to design a classical force field. More...

#include "dlp_field.h"
#include "calc.h"
#include "callbacks.h"
#include "interface.h"
#include "project.h"
#include "glwindow.h"
#include "glview.h"
#include "bind.h"
Include dependency graph for dlp_field.c:

Go to the source code of this file.

Functions

ColRGBA init_color (int id, int numid)
 initialize color based id number over total number of elements
void restore_ogl_selection (glwin *view)
 restore a saved atom selection
void field_unselect_all ()
 unselect all atoms
gboolean tersoff_question ()
 change Tersoff potential ?
void check_tersoffs (int id, int key)
 check non bonded potential
void check_to_visualize_properties (int id)
 check if it is requried to update rendering
int get_num_vdw_max ()
 Get the number of field shell interactions.
gchar * get_body_element_name (field_nth_body *body, int aid, int nbd)
 get field body potential element name
void print_lammps_atom_file (GtkTextBuffer *buf)
 print LAMMPS atom file
int struct_id (int f)
 number of atoms in a structural element
int body_at (int b)
 find the number of atom(s) in a non bonded interaction
void set_mol_num_label ()
 classical force field prepare the molecule information widget
void setup_cs_labels (int i)
 classical force field prepare the core-shell description strings
gchar * parameters_info (int obj, int key, gchar **words, float *data)
 prepare classical force field parameter description string
void print_all_field_struct (field_molecule *mol, int str)
 print all field structural element(s)
gboolean dlp_to_translate (int fid, int obj, int key)
 test if fnames text is to be translated or not
void fill_field_struct (GtkTreeStore *store, int id, int mo)
 classical force field fill the tree store with structural element parameter(s)
void fill_field_body (GtkTreeStore *store, int id)
 classical force field fill the tree store with non bonded parameter(s)
void fill_field_model (GtkTreeStore *store, int f, int m)
 classical force field fill the tree store
G_MODULE_EXPORT void toggle_field_params (GtkToggleButton *but, gpointer data)
 change classical force field parameter toggle callback GTK3
gboolean set_nbd_but_sensitive (int nbid)
 adjust non bonded interaction button sensitivity
gchar * set_field_label (int f, int m)
 prepare classical force field description string
G_MODULE_EXPORT void changed_mol_box (GtkComboBox *box, gpointer data)
 classical force field assistant change the target molecule for the page
void update_field_trees ()
 classical force field assistant update all tree models
void get_is_energy (int i, int l)
 get the energy unit linked parameter list
gboolean field_file_has_energy_parameters (gboolean scale, int sca, int scb)
 scale all field parameter(s) related to the energy unit
G_MODULE_EXPORT void run_changed_energy_unit (GtkDialog *dialog, gint response_id, gpointer data)
 change the classical force field energy unit - running the dialog
G_MODULE_EXPORT void changed_energy_unit (GtkComboBox *box, gpointer data)
 change the classical force field energy unit - creating the dialog
GtkWidget * vbox_init (int p)
 classical force field assistant prepare the field object configuration widgets
int get_field_tree_data (GtkWidget *tree, int treeid, GtkTreePath *path)
 retrieve classical force field data from tree model
int get_field_data_id (int k, gchar *data)
 get classical force field parameter from description string
G_MODULE_EXPORT void changed_field_key_renderer (GtkCellRendererCombo *combo, gchar *path_string, GtkTreeIter *iter, gpointer data)
 change combo box in classical force field tree model
GtkWidget * create_combo_mol (int f)
 classical force field create molecule selection combo box
gchar * pop_info (int i, int id)
 get popup information message
gchar * pop_edit (int i)
 get edit string label
gchar * pop_add (int i)
 get add string label
gchar * pop_remove (int i)
 get remove string label
G_MODULE_EXPORT void to_select_atom_id_from_fied_molecule (GSimpleAction *action, GVariant *parameter, gpointer data)
 create new field atom from field atom popup menu callback
void append_field_item (GMenu *menu, const gchar *name, const gchar *key, int item_id, gchar *accel, int image_format, gpointer icon, gboolean custom, GCallback handler, gpointer data, gboolean check, gboolean status, gboolean radio, gboolean sensitive)
 append menu items to the popup menu
void pop_up_field_context_menu (int row_id, GtkWidget *widget, GdkEvent *event, gpointer data)
 classical force field tree model popup menu GTK3
void field_button_event (GdkEvent *event, double event_x, double event_y, guint event_button, guint event_type, guint32 event_time, gpointer data)
 classical force field tree model button event GTK3
G_MODULE_EXPORT gboolean on_field_button_event (GtkWidget *widget, GdkEvent *event, gpointer data)
 classical force field tree model button event callback GTK3
void field_set_color (GtkTreeViewColumn *col, GtkCellRenderer *renderer, GtkTreeModel *mod, GtkTreeIter *iter, gpointer data)
 set renderer color in the classical force field tree store
void field_set_markup_box (GtkTreeViewColumn *col, GtkCellRenderer *renderer, GtkTreeModel *mod, GtkTreeIter *iter, gpointer data)
 set renderer pango markup in the classical force field tree store
void field_set_markup (GtkTreeViewColumn *col, GtkCellRenderer *renderer, GtkTreeModel *mod, GtkTreeIter *iter, gpointer data)
 set renderer pango markup in the classical force field tree store
void field_set_visible (GtkTreeViewColumn *col, GtkCellRenderer *renderer, GtkTreeModel *mod, GtkTreeIter *iter, gpointer data)
 set renderer visibility in the classical force field tree store
void field_set_color_and_markup (GtkTreeViewColumn *col, GtkCellRenderer *renderer, GtkTreeModel *mod, GtkTreeIter *iter, gpointer data)
 set renderer color and markup in the classical force field tree store
void field_set_color_and_visible (GtkTreeViewColumn *col, GtkCellRenderer *renderer, GtkTreeModel *mod, GtkTreeIter *iter, gpointer data)
 set renderer color and visibility in the classical force field tree store
void prop_set_color_and_visible (GtkTreeViewColumn *col, GtkCellRenderer *renderer, GtkTreeModel *mod, GtkTreeIter *iter, gpointer data)
 set renderer color and visibility in the classical force field structural property tree store
void pmf_set_color_and_visible (GtkTreeViewColumn *col, GtkCellRenderer *renderer, GtkTreeModel *mod, GtkTreeIter *iter, gpointer data)
 set renderer color and visibility in the classical force field mean force potential tree store
void rig_set_color_and_visible (GtkTreeViewColumn *col, GtkCellRenderer *renderer, GtkTreeModel *mod, GtkTreeIter *iter, gpointer data)
 set renderer color and visibility in the classical force field rigid constraint(s) tree store
void field_set_color_markup_and_visible (GtkTreeViewColumn *col, GtkCellRenderer *renderer, GtkTreeModel *mod, GtkTreeIter *iter, gpointer data)
 set renderer color, markup and visibility in the classical force field tree store
void field_set_color_markup_and_visible_box (GtkTreeViewColumn *col, GtkCellRenderer *renderer, GtkTreeModel *mod, GtkTreeIter *iter, gpointer data)
 set renderer color, markup and visibility in the classical force field tree store
G_MODULE_EXPORT void edit_field_cell (GtkCellRendererText *cell, gchar *path_string, gchar *new_text, gpointer data)
 edit cell in the classical force field tree model
void get_field_iter_and_edit (gchar *path_string, gpointer data)
 edit field property in the classical force field tree model
G_MODULE_EXPORT void to_edit_field_prop (GtkCellRenderer *cell, GtkCellEditable *editable, gchar *path_string, gpointer data)
 to edit data in the classical force field tree model
G_MODULE_EXPORT void on_field_row_activated (GtkTreeView *treeview, GtkTreePath *path, GtkTreeViewColumn *col, gpointer data)
 activating row in the classical force field tree model
GtkWidget * create_field_tree (int f)
 classical force field create the list store selection widgets
void create_field_list (GtkWidget *vbx, int f)
 classical force field creation prepare list store selection widgets
GtkWidget * create_mol_box (int f)
 classical force field create molecule selection widgets
GtkWidget * vbox_field (int f)
 classical force field create page option widgets
void close_the_assistant (GtkAssistant *assistant)
 classical force field creation close the assistant
G_MODULE_EXPORT void on_assistant_cancel (GtkAssistant *assistant, gpointer data)
 classical force field creation cancel assistant
G_MODULE_EXPORT gboolean on_assistant_cancel_event (GtkWidget *assistant, GdkEvent *event, gpointer data)
 classical force field creation cancel event callback GTK3
G_MODULE_EXPORT void on_assistant_close (GtkAssistant *assistant, gpointer data)
 classical force field creation close assistant
G_MODULE_EXPORT gint on_assistant_go_forward (gint current_page, gpointer data)
 classical force field assistant find the next page to go to
G_MODULE_EXPORT void on_assistant_prepare (GtkAssistant *assistant, GtkWidget *page, gpointer data)
 prepare classical force field assistant pages before display
void hide_show_this_pages (int start, int end, int status, int delta)
 classical force field assistant show / hide pages
void remove_classical_assistant_pages ()
 classical force field creation remove assistant pages
G_MODULE_EXPORT void run_clean_field (GtkDialog *dial, gint response_id, gpointer data)
 clean force field data - running the dialog
G_MODULE_EXPORT void clean_field (GtkToggleButton *but, gpointer data)
 clean force field data toggle callback GTK3
G_MODULE_EXPORT void select_field_action (GtkToggleButton *but, gpointer data)
 select force field creation option toggle callback GTK3
void add_classical_assistant_pages (int p)
 classical force field assistant add pages
void create_ff_structure (int ai, int type)
 create the classical force field data structure and update widgets
G_MODULE_EXPORT void changed_init_box (GtkComboBox *box, gpointer data)
 classical force field change initialization parameter
G_MODULE_EXPORT void show_force_field_preview (GtkButton *but, gpointer data)
 show classical force field input files preview
G_MODULE_EXPORT void run_on_assistant_apply (GtkDialog *info, gint response_id, gpointer data)
 on classical force field assistant apply - running the dialog GTK3
void on_assistant_apply (GtkAssistant *assistant, gpointer data)
 on classical force field assistant apply - creating the dialog
void create_classical_force_field (int p, int f)
 create classical force field prepare the assistant

Variables

gboolean append_pages
GtkWidget * extra_vbox [2]
gchar * felemts [MAXDATA+1]
gchar * felemt [MAXDATA+1]
gchar * elemts [MAXDATA]
gchar * elemt [MAXDATA]
gchar * intelemts [MAXDATA]
gchar * intelemt [MAXDATA]
gchar * fkeysw [2][16][21]
gchar * fnames [2][16][21]
int fvalues [2][15][21]
int fetypes [2][16]
int fntypes [2][15]
char * fvars_teth [2][FTETH][FTETH_P]
int feunit_teth [2][FTETH][FTETH_P]
char * fvars_bond [2][FBONDS][FBONDS_P]
int feunit_bond [2][FBONDS][FBONDS_P]
char * fvars_angle [2][FANGLES][FANGLES_P]
int feunit_angle [2][FANGLES][FANGLES_P]
char * fvars_dihedral [2][FDIHEDRAL][FDIHEDRAL_P]
int feunit_dihedral [2][FDIHEDRAL][FDIHEDRAL_P]
char * fvars_inversion [2][FINVERS][FINVERS_P]
int feunit_inversion [2][FINVERS][FINVERS_P]
gchar * la_improper_style_keyw [11]
char * fvars_vdw [2][FVDW][FVDW_P]
int feunit_vdw [2][FVDW][FVDW_P]
char * fvars_met [2][FMETALS][FMETALS_P]
int feunit_met [2][FMETALS][FMETALS_P]
char * fvars_ters [2][FTERSOFFS][FTERSOFFS_P]
int feunit_ters [2][FTERSOFFS][FTERSOFFS_P]
char * fvars_tbd [2][FTHREEBODY][FTHREEBODY_P]
int feunit_tbd [2][FTHREEBODY][FTHREEBODY_P]
char * fvars_fbd [2][FFOURBODY][FFOURBODY_P]
int feunit_fbd [2][FFOURBODY][FFOURBODY_P]
char * fvars_fext [2][FEXTERNAL][FEXTERNAL_P]
int feunit_fext [2][FEXTERNAL][FEXTERNAL_P]
int field_v [MAXDATA] = { 8, 8, 9, 7, 8, 5, 5, 8, 8, 9, 9, 10, 10, 10, 10, 6, 6, 5, 7, 8, 3}
int field_s [MAXDATA] = {650, 520, 520, 500, 600, 450, 600, 720, 720, 720, 720, 720, 720, 720, 720, 720, 720, 720, 720, 720, 720}
int field_a [MAXDATA] = { 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0}
gchar * ctitle [MAXDATA][12]
GType col_type [MAXDATA][12]
int is_special [MAXDATA][11]
gboolean afp_init [MAXDATC+MAXDATA]
gchar * mo_title [8] ={i18n("Bond"), i18n("Bond restraint"), i18n("Angle"), i18n("Angle restraint"), i18n("Dihedral"), i18n("Torsional restraint"), i18n("Improper"), i18n("Inversion")}
float internal_to_other [5] = {9648.530821, 418.4, 100.0, 0.831451115, 1.0}
GtkWidget * field_assistant
GtkTreeViewColumn * field_col [MAXDATA][11]
GtkCellRenderer * field_renderer [MAXDATA][11]
GtkWidget * mol_box [MOLIMIT-1]
GtkWidget * combo_mol [MOLIMIT-1]
GtkWidget * field_tree [MAXDATA]
GtkWidget * field_label [MAXDATA]
GtkTreeStore * field_model [MAXDATA]
GtkTreeIter field_iter
int atom_init = PARTIAL_COORD_AND_SPEC
classical_fieldtmp_field
glwintmp_view = NULL
projecttmp_proj
coord_infotmp_coord
field_moleculetmp_fmol
moleculetmp_mol
field_atomtmp_fat
field_atomtmp_fbt
field_atomtmp_fct
field_atomtmp_fdt
field_shelltmp_fshell
field_constrainttmp_fcons
field_pmftmp_fpmf
field_rigidtmp_frig
field_tetheredtmp_ftet
field_proptmp_fprop
field_structtmp_fstr
field_nth_bodytmp_fbody
field_nth_bodynew_body
field_externaltmp_fext
GtkWidget * aview
GtkWidget * cs_label [2]
GtkWidget * fwin = NULL
GtkWidget * cwin = NULL
GtkWidget * mol_num_label = NULL
GtkWidget * fibox [MAXDATC+MAXDATA+2]
GtkWidget * enbox
GtkWidget * ff_but [19]
int field_object = FALSE
gboolean field_color = FALSE
int num_field_objects = 0
int row_id
model example
int ** is_param
int * has_energy
int ** is_energy
gchar *** is_var
int actel
GSimpleActionGroup * field_pop_actions = NULL
GtkWidget * field_i_prep [2]
GtkWidget * field_i_box [2]
GtkWidget * field_i_lab [2]
GtkWidget * field_i_fixed [2]
GtkWidget * field_i_combo [2]
GtkWidget * field_i_obj [2]
GtkWidget * preview_but
gboolean assist_init
int saved_label_format [2]
int saved_label_position [2]
gchar * field_init [3]

Detailed Description

Functions to prepare the DL-POLY / LAMMPS input preparation assistant
Functions to design a classical force field.

Author
Sébastien Le Roux sebas.nosp@m.tien.nosp@m..lero.nosp@m.ux@i.nosp@m.pcms..nosp@m.unis.nosp@m.tra.f.nosp@m.r

Definition in file dlp_field.c.

Function Documentation

◆ add_classical_assistant_pages()

void add_classical_assistant_pages ( int p)

classical force field assistant add pages

Parameters
pthe target project id

Definition at line 4411 of file dlp_field.c.

◆ append_field_item()

void append_field_item ( GMenu * menu,
const gchar * name,
const gchar * key,
int item_id,
gchar * accel,
int image_format,
gpointer icon,
gboolean custom,
GCallback handler,
gpointer data,
gboolean check,
gboolean status,
gboolean radio,
gboolean sensitive )

append menu items to the popup menu

Parameters
menuthe menu to attach the new menu item to
namethe new menu item label, if any
keythe new menu item action key
item_idthe new menu item action id
accelkeyboard accelerator for the new menu item, if any (NULL otherwise)
image_formatthe image format (in enum ImageFormats)
iconthe image data if any (or NULL)
customcustom menu item (1= yes, 0 = no), to insert a widget later on
handlerthe new menu item callback (or NULL)
datathe associated data pointer (or NULL)
checkis the new menu item a check menu item ?
statusis 'check' then what is the status of the new check menu item ?
radiois the new menu item a radio menu item ?
sensitivenew menu item sensitivity

Definition at line 2874 of file dlp_field.c.

◆ body_at()

int body_at ( int b)

find the number of atom(s) in a non bonded interaction

Parameters
b

Definition at line 1112 of file dlp_field.c.

◆ changed_energy_unit()

G_MODULE_EXPORT void changed_energy_unit ( GtkComboBox * box,
gpointer data )

change the classical force field energy unit - creating the dialog

Parameters
boxthe GtkComboBox sending the signal
datathe associated data pointer

Definition at line 2194 of file dlp_field.c.

◆ changed_field_key_renderer()

G_MODULE_EXPORT void changed_field_key_renderer ( GtkCellRendererCombo * combo,
gchar * path_string,
GtkTreeIter * iter,
gpointer data )

change combo box in classical force field tree model

Parameters
combothe cell renderer combo box
path_stringthe path in the tree model
iterthe tree iter
datathe associated data pointer

Definition at line 2460 of file dlp_field.c.

◆ changed_init_box()

G_MODULE_EXPORT void changed_init_box ( GtkComboBox * box,
gpointer data )

classical force field change initialization parameter

Parameters
boxthe GtkComboBox sending the signal
datathe associated data pointer

Definition at line 4517 of file dlp_field.c.

◆ changed_mol_box()

G_MODULE_EXPORT void changed_mol_box ( GtkComboBox * box,
gpointer data )

classical force field assistant change the target molecule for the page

Parameters
boxthe GtkComboBox sending the signal
datathe associated data pointer

Definition at line 1891 of file dlp_field.c.

◆ check_tersoffs()

void check_tersoffs ( int id,
int key )
extern

check non bonded potential

Parameters
idpotential id
keypotential type

Definition at line 2958 of file dlp_edit.c.

◆ check_to_visualize_properties()

void check_to_visualize_properties ( int pid)
extern

check if it is requried to update rendering

Parameters
pidthe page number in the assistant

Definition at line 766 of file dlp_viz.c.

◆ clean_field()

G_MODULE_EXPORT void clean_field ( GtkToggleButton * but,
gpointer data )

clean force field data toggle callback GTK3

Parameters
butthe GtkToggleButton sending the signal
datathe associated data pointer

Definition at line 4350 of file dlp_field.c.

◆ close_the_assistant()

void close_the_assistant ( GtkAssistant * assistant)

classical force field creation close the assistant

Parameters
assistantthe target assistant

Definition at line 4043 of file dlp_field.c.

◆ create_classical_force_field()

void create_classical_force_field ( int p,
int f )

create classical force field prepare the assistant

Parameters
pthe target project id
f0 = DL-POLY, 1 = LAMMPS

Definition at line 4774 of file dlp_field.c.

◆ create_combo_mol()

GtkWidget * create_combo_mol ( int f)

classical force field create molecule selection combo box

Parameters
fthe type of force field object

Definition at line 2600 of file dlp_field.c.

◆ create_ff_structure()

void create_ff_structure ( int ai,
int type )

create the classical force field data structure and update widgets

Parameters
aihow to initialize the force field (0 = atomic species, 1 = total coordination, 2 = partial coordination)
typethe type of force field to create (0 = DL-POLY, 1 = LAMMPS)

Definition at line 4470 of file dlp_field.c.

◆ create_field_list()

void create_field_list ( GtkWidget * vbx,
int f )

classical force field creation prepare list store selection widgets

Parameters
vbxthe GtkWidget sending the signal
fthe page number

Definition at line 3816 of file dlp_field.c.

◆ create_field_tree()

GtkWidget * create_field_tree ( int f)

classical force field create the list store selection widgets

Parameters
fthe page number / type of field object(s)

Definition at line 3659 of file dlp_field.c.

◆ create_mol_box()

GtkWidget * create_mol_box ( int f)

classical force field create molecule selection widgets

Parameters
fthe type of force field object

Definition at line 3863 of file dlp_field.c.

◆ dlp_to_translate()

gboolean dlp_to_translate ( int fid,
int obj,
int key )

test if fnames text is to be translated or not

Parameters
fidthe target force field
objthe target object in the force field
keythe target key for the object

Definition at line 1215 of file dlp_field.c.

◆ edit_field_cell()

G_MODULE_EXPORT void edit_field_cell ( GtkCellRendererText * cell,
gchar * path_string,
gchar * new_text,
gpointer data )

edit cell in the classical force field tree model

Parameters
cellthe GtkCellRendererText sending the signal
path_stringthe path in the tree model
new_textthe new string to insert
datathe associated data pointer

Definition at line 3543 of file dlp_field.c.

◆ field_button_event()

void field_button_event ( GdkEvent * event,
double event_x,
double event_y,
guint event_button,
guint event_type,
guint32 event_time,
gpointer data )

classical force field tree model button event GTK3

Parameters
eventthe GdkEvent triggering the signal
event_xx position
event_yy position
event_buttonevent button
event_typeevent type
event_timeevent time
datathe associated data pointer

Definition at line 3175 of file dlp_field.c.

◆ field_file_has_energy_parameters()

gboolean field_file_has_energy_parameters ( gboolean scale,
int sca,
int scb )

scale all field parameter(s) related to the energy unit

Parameters
scalescale or not the parameter
scainitial scale
scbtarget scale

Definition at line 2041 of file dlp_field.c.

◆ field_set_color()

void field_set_color ( GtkTreeViewColumn * col,
GtkCellRenderer * renderer,
GtkTreeModel * mod,
GtkTreeIter * iter,
gpointer data )

set renderer color in the classical force field tree store

Parameters
colthe target GtkTreeViewColumn
rendererthe target cell renderer
modthe target tree model
iterthe target tree iter
datathe associated data pointer

Definition at line 3271 of file dlp_field.c.

◆ field_set_color_and_markup()

void field_set_color_and_markup ( GtkTreeViewColumn * col,
GtkCellRenderer * renderer,
GtkTreeModel * mod,
GtkTreeIter * iter,
gpointer data )

set renderer color and markup in the classical force field tree store

Parameters
colthe target GtkTreeViewColumn
rendererthe target cell renderer
modthe target tree model
iterthe target tree iter
datathe associated data pointer

Definition at line 3407 of file dlp_field.c.

◆ field_set_color_and_visible()

void field_set_color_and_visible ( GtkTreeViewColumn * col,
GtkCellRenderer * renderer,
GtkTreeModel * mod,
GtkTreeIter * iter,
gpointer data )

set renderer color and visibility in the classical force field tree store

Parameters
colthe target GtkTreeViewColumn
rendererthe target cell renderer
modthe target tree model
iterthe target tree iter
datathe associated data pointer

Definition at line 3424 of file dlp_field.c.

◆ field_set_color_markup_and_visible()

void field_set_color_markup_and_visible ( GtkTreeViewColumn * col,
GtkCellRenderer * renderer,
GtkTreeModel * mod,
GtkTreeIter * iter,
gpointer data )

set renderer color, markup and visibility in the classical force field tree store

Parameters
colthe target GtkTreeViewColumn
rendererthe target cell renderer
modthe target tree model
iterthe target tree iter
datathe associated data pointer

Definition at line 3508 of file dlp_field.c.

◆ field_set_color_markup_and_visible_box()

void field_set_color_markup_and_visible_box ( GtkTreeViewColumn * col,
GtkCellRenderer * renderer,
GtkTreeModel * mod,
GtkTreeIter * iter,
gpointer data )

set renderer color, markup and visibility in the classical force field tree store

Parameters
colthe target GtkTreeViewColumn
rendererthe target cell renderer
modthe target tree model
iterthe target tree iter
datathe associated data pointer

Definition at line 3526 of file dlp_field.c.

◆ field_set_markup()

void field_set_markup ( GtkTreeViewColumn * col,
GtkCellRenderer * renderer,
GtkTreeModel * mod,
GtkTreeIter * iter,
gpointer data )

set renderer pango markup in the classical force field tree store

Parameters
colthe target GtkTreeViewColumn
rendererthe target cell renderer
modthe target tree model
iterthe target tree iter
datathe associated data pointer

Definition at line 3326 of file dlp_field.c.

◆ field_set_markup_box()

void field_set_markup_box ( GtkTreeViewColumn * col,
GtkCellRenderer * renderer,
GtkTreeModel * mod,
GtkTreeIter * iter,
gpointer data )

set renderer pango markup in the classical force field tree store

Parameters
colthe target GtkTreeViewColumn
rendererthe target cell renderer
modthe target tree model
iterthe target tree iter
datathe associated data pointer

Definition at line 3309 of file dlp_field.c.

◆ field_set_visible()

void field_set_visible ( GtkTreeViewColumn * col,
GtkCellRenderer * renderer,
GtkTreeModel * mod,
GtkTreeIter * iter,
gpointer data )

set renderer visibility in the classical force field tree store

Parameters
colthe target GtkTreeViewColumn
rendererthe target cell renderer
modthe target tree model
iterthe target tree iter
datathe associated data pointer

Definition at line 3373 of file dlp_field.c.

◆ field_unselect_all()

void field_unselect_all ( )
extern

unselect all atoms

Definition at line 130 of file dlp_viz.c.

◆ fill_field_body()

void fill_field_body ( GtkTreeStore * store,
int id )

classical force field fill the tree store with non bonded parameter(s)

Parameters
storethe tree store to fill
idthe type of non bonded interaction

Definition at line 1332 of file dlp_field.c.

◆ fill_field_model()

void fill_field_model ( GtkTreeStore * store,
int f,
int m )

classical force field fill the tree store

Parameters
storethe tree store to fill
fthe type of field object
mthe target field molecule, if any

Definition at line 1389 of file dlp_field.c.

◆ fill_field_struct()

void fill_field_struct ( GtkTreeStore * store,
int id,
int mo )

classical force field fill the tree store with structural element parameter(s)

Parameters
storethe tree store to fill
idthe type of structural element
mothe id of the target field molecule

Definition at line 1246 of file dlp_field.c.

◆ get_body_element_name()

gchar * get_body_element_name ( field_nth_body * body,
int aid,
int nbd )
extern

get field body potential element name

Parameters
bodythe field body potential
aidthe atom id, if any
nbdthe body potential id

Definition at line 1941 of file dlp_edit.c.

◆ get_field_data_id()

int get_field_data_id ( int k,
gchar * data )

get classical force field parameter from description string

Parameters
kthe type of field object
datathe target description string

Definition at line 2431 of file dlp_field.c.

◆ get_field_iter_and_edit()

void get_field_iter_and_edit ( gchar * path_string,
gpointer data )

edit field property in the classical force field tree model

Parameters
path_stringthe path in the tree model
datathe associated data pointer

Definition at line 3598 of file dlp_field.c.

◆ get_field_tree_data()

int get_field_tree_data ( GtkWidget * tree,
int treeid,
GtkTreePath * path )

retrieve classical force field data from tree model

Parameters
treethe GtkWidget sending the signal
treeidthe type of field object
paththe path in the tree model

Definition at line 2404 of file dlp_field.c.

◆ get_is_energy()

void get_is_energy ( int i,
int l )

get the energy unit linked parameter list

Parameters
ithe type of force field object
l1 = prepare the associated string description(s), 0 = no description(s)

Definition at line 1937 of file dlp_field.c.

◆ get_num_vdw_max()

int get_num_vdw_max ( )
extern

Get the number of field shell interactions.

Definition at line 2009 of file dlp_edit.c.

◆ hide_show_this_pages()

void hide_show_this_pages ( int start,
int end,
int status,
int delta )

classical force field assistant show / hide pages

Parameters
startstarting page id
endending page id
status0 = hide, 1 = show
deltadelta from starting page

Definition at line 4248 of file dlp_field.c.

◆ init_color()

ColRGBA init_color ( int id,
int numid )
extern

initialize color based id number over total number of elements

Parameters
idthe id number
numidthe total number of elements

Definition at line 81 of file initcoord.c.

◆ on_assistant_apply()

void on_assistant_apply ( GtkAssistant * assistant,
gpointer data )

on classical force field assistant apply - creating the dialog

Parameters
assistantthe GtkAssistant sending the signal
datathe associated data pointer

Definition at line 4739 of file dlp_field.c.

◆ on_assistant_cancel()

G_MODULE_EXPORT void on_assistant_cancel ( GtkAssistant * assistant,
gpointer data )

classical force field creation cancel assistant

Parameters
assistantthe GtkAssistant sending the signal
datathe associated data pointer

Definition at line 4091 of file dlp_field.c.

◆ on_assistant_cancel_event()

G_MODULE_EXPORT gboolean on_assistant_cancel_event ( GtkWidget * assistant,
GdkEvent * event,
gpointer data )

classical force field creation cancel event callback GTK3

Parameters
assistantthe GtkWidget sending the signal
eventthe GdkEvent triggering the signal
datathe associated data pointer

Definition at line 4116 of file dlp_field.c.

◆ on_assistant_close()

G_MODULE_EXPORT void on_assistant_close ( GtkAssistant * assistant,
gpointer data )

classical force field creation close assistant

Parameters
assistantthe GtkAssistant sending the signal
datathe associated data pointer

Definition at line 4131 of file dlp_field.c.

◆ on_assistant_go_forward()

G_MODULE_EXPORT gint on_assistant_go_forward ( gint current_page,
gpointer data )

classical force field assistant find the next page to go to

Parameters
current_pagethe current page id
datathe associated data pointer

Definition at line 4144 of file dlp_field.c.

◆ on_assistant_prepare()

G_MODULE_EXPORT void on_assistant_prepare ( GtkAssistant * assistant,
GtkWidget * page,
gpointer data )

prepare classical force field assistant pages before display

Parameters
assistantthe GtkAssistant sending the signal
pagethe current page
datathe associated data pointer

Definition at line 4200 of file dlp_field.c.

◆ on_field_button_event()

G_MODULE_EXPORT gboolean on_field_button_event ( GtkWidget * widget,
GdkEvent * event,
gpointer data )

classical force field tree model button event callback GTK3

Parameters
widgetthe GtkWidget sending the signal
eventthe GdkEvent triggering the signal
datathe associated data pointer

Definition at line 3252 of file dlp_field.c.

◆ on_field_row_activated()

G_MODULE_EXPORT void on_field_row_activated ( GtkTreeView * treeview,
GtkTreePath * path,
GtkTreeViewColumn * col,
gpointer data )

activating row in the classical force field tree model

Parameters
treeviewthe GtkTreeView sending the signal
paththe path in the tree view
colthe column in the tree view
datathe associated data pointer

Definition at line 3647 of file dlp_field.c.

◆ parameters_info()

gchar * parameters_info ( int obj,
int key,
gchar ** words,
float * data )

prepare classical force field parameter description string

Parameters
objthe type of field object
keythe formalism key for this type of object
wordsthe string description lists
datathe value(s) to print

Definition at line 1187 of file dlp_field.c.

◆ pmf_set_color_and_visible()

void pmf_set_color_and_visible ( GtkTreeViewColumn * col,
GtkCellRenderer * renderer,
GtkTreeModel * mod,
GtkTreeIter * iter,
gpointer data )

set renderer color and visibility in the classical force field mean force potential tree store

Parameters
colthe target GtkTreeViewColumn
rendererthe target cell renderer
modthe target tree model
iterthe target tree iter
datathe associated data pointer

Definition at line 3460 of file dlp_field.c.

◆ pop_add()

gchar * pop_add ( int i)

get add string label

Parameters
ithe type of element to add

Definition at line 2814 of file dlp_field.c.

◆ pop_edit()

gchar * pop_edit ( int i)

get edit string label

Parameters
ithe type of element to edit

Definition at line 2792 of file dlp_field.c.

◆ pop_info()

gchar * pop_info ( int i,
int id )

get popup information message

Parameters
ithe type of element
idthe id number of the element

Definition at line 2630 of file dlp_field.c.

◆ pop_remove()

gchar * pop_remove ( int i)

get remove string label

Parameters
ithe type of element to remove

Definition at line 2828 of file dlp_field.c.

◆ pop_up_field_context_menu()

void pop_up_field_context_menu ( int row_id,
GtkWidget * widget,
GdkEvent * event,
gpointer data )

classical force field tree model popup menu GTK3

Parameters
row_idthe row id in the tree model
widgetthe target tree model
eventthe GdkEvent triggering the signal
datathe associated data pointer

Definition at line 2921 of file dlp_field.c.

◆ print_all_field_struct()

void print_all_field_struct ( field_molecule * mol,
int str )
extern

print all field structural element(s)

Parameters
molthe target field molecule
strthe type of structural element

Definition at line 195 of file dlp_print.c.

◆ print_lammps_atom_file()

void print_lammps_atom_file ( GtkTextBuffer * buf)
extern

print LAMMPS atom file

Parameters
bufthe GtkTextBuffer to print into

Definition at line 619 of file la_print.c.

◆ prop_set_color_and_visible()

void prop_set_color_and_visible ( GtkTreeViewColumn * col,
GtkCellRenderer * renderer,
GtkTreeModel * mod,
GtkTreeIter * iter,
gpointer data )

set renderer color and visibility in the classical force field structural property tree store

Parameters
colthe target GtkTreeViewColumn
rendererthe target cell renderer
modthe target tree model
iterthe target tree iter
datathe associated data pointer

Definition at line 3441 of file dlp_field.c.

◆ remove_classical_assistant_pages()

void remove_classical_assistant_pages ( )

classical force field creation remove assistant pages

Definition at line 4268 of file dlp_field.c.

◆ restore_ogl_selection()

void restore_ogl_selection ( glwin * view)
extern

restore a saved atom selection

Parameters
viewthe glwin to restore the selection to

Definition at line 218 of file calc.c.

◆ rig_set_color_and_visible()

void rig_set_color_and_visible ( GtkTreeViewColumn * col,
GtkCellRenderer * renderer,
GtkTreeModel * mod,
GtkTreeIter * iter,
gpointer data )

set renderer color and visibility in the classical force field rigid constraint(s) tree store

Parameters
colthe target GtkTreeViewColumn
rendererthe target cell renderer
modthe target tree model
iterthe target tree iter
datathe associated data pointer

Definition at line 3488 of file dlp_field.c.

◆ run_changed_energy_unit()

G_MODULE_EXPORT void run_changed_energy_unit ( GtkDialog * dialog,
gint response_id,
gpointer data )

change the classical force field energy unit - running the dialog

Parameters
dialogthe GtkDialog sending the signal
response_idthe response id
datathe associated data pointer

Definition at line 2172 of file dlp_field.c.

◆ run_clean_field()

G_MODULE_EXPORT void run_clean_field ( GtkDialog * dial,
gint response_id,
gpointer data )

clean force field data - running the dialog

Parameters
dialthe GtkDialog sending the signal
response_idthe response id
datathe associated data pointer

Definition at line 4289 of file dlp_field.c.

◆ run_on_assistant_apply()

G_MODULE_EXPORT void run_on_assistant_apply ( GtkDialog * info,
gint response_id,
gpointer data )

on classical force field assistant apply - running the dialog GTK3

Parameters
infothe GtkDialog sending the signal
response_idthe response id
datathe associated data pointer

Definition at line 4647 of file dlp_field.c.

◆ select_field_action()

G_MODULE_EXPORT void select_field_action ( GtkToggleButton * but,
gpointer data )

select force field creation option toggle callback GTK3

Parameters
butthe GtkToggleButton sending the signal
datathe associated data pointer

Definition at line 4383 of file dlp_field.c.

◆ set_field_label()

gchar * set_field_label ( int f,
int m )

prepare classical force field description string

Parameters
fthe type of field object(s)
mthe field molecule id, if any

Definition at line 1757 of file dlp_field.c.

◆ set_mol_num_label()

void set_mol_num_label ( )

classical force field prepare the molecule information widget

Definition at line 1135 of file dlp_field.c.

◆ set_nbd_but_sensitive()

gboolean set_nbd_but_sensitive ( int nbid)

adjust non bonded interaction button sensitivity

Parameters
nbidthe type of non bonded interaction

Definition at line 1727 of file dlp_field.c.

◆ setup_cs_labels()

void setup_cs_labels ( int i)

classical force field prepare the core-shell description strings

Parameters
ithe energy unit id

Definition at line 1157 of file dlp_field.c.

◆ show_force_field_preview()

G_MODULE_EXPORT void show_force_field_preview ( GtkButton * but,
gpointer data )

show classical force field input files preview

Parameters
butthe GtkButton sending the signal
datathe associated data pointer

Definition at line 4573 of file dlp_field.c.

◆ struct_id()

int struct_id ( int f)

number of atoms in a structural element

Parameters
fthe type of structural element

Definition at line 1089 of file dlp_field.c.

◆ tersoff_question()

gboolean tersoff_question ( )
extern

change Tersoff potential ?

Definition at line 682 of file dlp_edit.c.

◆ to_edit_field_prop()

G_MODULE_EXPORT void to_edit_field_prop ( GtkCellRenderer * cell,
GtkCellEditable * editable,
gchar * path_string,
gpointer data )

to edit data in the classical force field tree model

Parameters
cellthe GtkTreeView sending the signal
editablethe editable
path_stringthe path in the tree model
datathe associated data pointer

Definition at line 3631 of file dlp_field.c.

◆ to_select_atom_id_from_fied_molecule()

G_MODULE_EXPORT void to_select_atom_id_from_fied_molecule ( GSimpleAction * action,
GVariant * parameter,
gpointer data )

create new field atom from field atom popup menu callback

Parameters
actionthe GAction sending the signal
parameterGVariant parameter of the GAction, if any
datathe associated data pointer

Definition at line 2844 of file dlp_field.c.

◆ toggle_field_params()

G_MODULE_EXPORT void toggle_field_params ( GtkToggleButton * but,
gpointer data )

change classical force field parameter toggle callback GTK3

Parameters
butthe GtkToggleButton sending the signal
datathe associated data pointer

Definition at line 1700 of file dlp_field.c.

◆ update_field_trees()

void update_field_trees ( )

classical force field assistant update all tree models

Definition at line 1907 of file dlp_field.c.

◆ vbox_field()

GtkWidget * vbox_field ( int f)

classical force field create page option widgets

Parameters
fthe page number

Definition at line 3880 of file dlp_field.c.

◆ vbox_init()

GtkWidget * vbox_init ( int p)

classical force field assistant prepare the field object configuration widgets

Parameters
pthe type of field object

Definition at line 2311 of file dlp_field.c.

Variable Documentation

◆ actel

int actel

Definition at line 2620 of file dlp_field.c.

◆ afp_init

gboolean afp_init[MAXDATC+MAXDATA]
Initial value:
= {TRUE,
TRUE,
TRUE,
TRUE,
TRUE,
TRUE,
TRUE,
TRUE,
TRUE,
TRUE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE,
TRUE,
FALSE,
TRUE,
FALSE,
TRUE,
FALSE,
FALSE,
FALSE,
TRUE,
FALSE,
FALSE,
FALSE,
FALSE,
FALSE}

Definition at line 995 of file dlp_field.c.

◆ append_pages

gboolean append_pages

Definition at line 136 of file dlp_field.c.

◆ assist_init

gboolean assist_init

Definition at line 4032 of file dlp_field.c.

◆ atom_init

int atom_init = PARTIAL_COORD_AND_SPEC

Definition at line 1040 of file dlp_field.c.

◆ aview

GtkWidget* aview

Definition at line 1060 of file dlp_field.c.

◆ col_type

GType col_type[MAXDATA][12]
Initial value:
= {{G_TYPE_INT, G_TYPE_STRING, G_TYPE_INT, G_TYPE_STRING, G_TYPE_INT, G_TYPE_INT, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT},
{G_TYPE_INT, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_INT, G_TYPE_INT, G_TYPE_BOOLEAN, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT},
{G_TYPE_INT, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_FLOAT, G_TYPE_FLOAT, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT},
{G_TYPE_INT, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_FLOAT, G_TYPE_FLOAT, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT},
{G_TYPE_INT, G_TYPE_FLOAT, G_TYPE_FLOAT, G_TYPE_INT, G_TYPE_INT, G_TYPE_FLOAT, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT},
{G_TYPE_INT, G_TYPE_INT, G_TYPE_STRING, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT},
{G_TYPE_INT, G_TYPE_STRING, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT},
{G_TYPE_INT, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_INT, G_TYPE_STRING, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT},
{G_TYPE_INT, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_INT, G_TYPE_STRING, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT},
{G_TYPE_INT, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_INT, G_TYPE_STRING, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_INT, G_TYPE_INT},
{G_TYPE_INT, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_INT, G_TYPE_STRING, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_INT, G_TYPE_INT},
{G_TYPE_INT, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_INT, G_TYPE_STRING, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_INT},
{G_TYPE_INT, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_INT, G_TYPE_STRING, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_INT},
{G_TYPE_INT, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_INT, G_TYPE_STRING, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_INT},
{G_TYPE_INT, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_INT, G_TYPE_STRING, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_INT},
{G_TYPE_INT, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT},
{G_TYPE_INT, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT},
{G_TYPE_INT, G_TYPE_STRING, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT},
{G_TYPE_INT, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT},
{G_TYPE_INT, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT},
{G_TYPE_INT, G_TYPE_BOOLEAN, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT}}

Definition at line 946 of file dlp_field.c.

◆ combo_mol

GtkWidget* combo_mol[MOLIMIT-1]

Definition at line 1034 of file dlp_field.c.

◆ cs_label

GtkWidget* cs_label[2]

Definition at line 1061 of file dlp_field.c.

◆ ctitle

gchar* ctitle[MAXDATA][12]
Initial value:
={{i18n("Id."), i18n("Name"), i18n("Multiplicity"), i18n("Chemistry"), i18n("Atom(s)"), i18n("Species"), i18n("Viz. 3D"), i18n("Viz. Atom num.")},
{i18n("Id."), i18n("Name"), i18n("Element"), i18n("Mass"), i18n("Charge"), i18n("Frozen"), i18n("Atom(s)"), i18n("Viz. 3D")},
{i18n("Id."), i18n("Core Id"), i18n("Shell"), i18n("Mass"), i18n("Charge"), "k2 (1)", "k4 (2)", i18n("Viz. 3D"), i18n("Use (3)")},
{i18n("Id."), i18n("At.1 Id"), i18n("At.2 Id"), i18n("Length [Å]"), i18n("av. d [Å] (1)"), i18n("Viz. 3D"), i18n("Use (2)")},
{i18n("Id."), i18n("Length [Å]"), i18n("av. d12 [Å] (1)"), i18n("Unit Id"), i18n("At. Id"), i18n("Weight (2)"), i18n("Viz. 3D"), i18n("Use (3)")},
{i18n("Id."), i18n("Atom(s) in unit"), i18n("List of atom(s)"), i18n("Viz. 3D"), i18n("Use (1)")},
{i18n("Id."), i18n("Atom Id."), i18n("Viz. 3D"), i18n("Use (1)"), i18n("Potential")},
{i18n("Id."), i18n("At.1"), i18n("At.2"), i18n("Bond(s)"), i18n("av. d [Å] (1)"), i18n("Viz. 3D"), i18n("Use (2)"), i18n("Potential (3)")},
{i18n("Id."), i18n("At.1"), i18n("At.2"), i18n("Bond restraint(s)"), i18n("av. d [Å] (1)"), i18n("Viz. 3D"), i18n("Use (2)"), i18n("Potential (3)")},
{i18n("Id."), i18n("At.1"), i18n("At.2"), i18n("At.3"), i18n("Angle(s)"), i18n("av. θ [°] (1)"), i18n("Viz. 3D"), i18n("Use (2)"), i18n("Potential (3)")},
{i18n("Id."), i18n("At.1"), i18n("At.2"), i18n("At.3"), i18n("Angular restraint(s)"), i18n("av. θ [°] (1)"), i18n("Viz. 3D"), i18n("Use (2)"), i18n("Potential (3)")},
{i18n("Id."), i18n("At.1"), i18n("At.2"), i18n("At.3"), i18n("At.4"), i18n("Dihedral(s)"), i18n("av. ϕ [°] (1)"), i18n("Viz. 3D"), i18n("Use (2)"), i18n("Potential (3)")},
{i18n("Id."), i18n("At.1"), i18n("At.2"), i18n("At.3"), i18n("At.4"), i18n("Torsional restraint(s)"), i18n("av. ϕ [°] (1)"), i18n("Viz. 3D"), i18n("Use (2)"), i18n("Potential (3)")},
{i18n("Id."), i18n("At.1"), i18n("At.2"), i18n("At.3"), i18n("At.4"), i18n("Improper(s)"), i18n("av. ϕ [°] (1)"), i18n("Viz. 3D"), i18n("Use (2)"), i18n("Potential (3)")},
{i18n("Id."), i18n("At.1"), i18n("At.2"), i18n("At.3"), i18n("At.4"), i18n("Inversion(s)"), i18n("av. ϕ [°] (1)"), i18n("Viz. 3D"), i18n("Use (2)"), i18n("Potential (3)")},
{i18n("Id."), i18n("Spec.1"), i18n("Spec.2"), i18n("Viz. 3D"), i18n("Use (1)"), i18n("VdW potential")},
{i18n("Id."), i18n("At.1"), i18n("At.2"), i18n("Viz. 3D"), i18n("Use (1)"), i18n("Metal potential")},
{i18n("Id."), i18n("At."), i18n("Viz. 3D"), i18n("Use (1)"), i18n("Tersoff Pot.")},
{i18n("Id."), i18n("At.1"), i18n("At.2*"), i18n("At.3"), i18n("Viz. 3D"), i18n("Use (1)"), i18n("Three-body Pot.")},
{i18n("Id."), i18n("At.1*"), i18n("At.2"), i18n("At.3"), i18n("At.4"), i18n("Viz. 3D"), i18n("Use (1)"), i18n("Four-body Pot.")},
{i18n("Id."), i18n("Use (1)"), i18n("Field type")}}
#define i18n(String)
Definition global.c:80

Definition at line 924 of file dlp_field.c.

◆ cwin

GtkWidget* cwin = NULL

Definition at line 1063 of file dlp_field.c.

◆ elemt

gchar* elemt[MAXDATA]
Initial value:
= {i18n("molecule"),
i18n("atom"),
i18n("core-shell unit"),
i18n("constraint bond"),
i18n("mean force potential"),
i18n("rigid unit"),
i18n("tethering potential"),
i18n("flexible chemical bond"),
i18n("bond restraint"),
i18n("bond angle"),
i18n("angular restraint"),
i18n("dihedral angle"),
i18n("torsional restraint"),
i18n("improper angle"),
i18n("inversion angle"),
i18n("van der Waals potential"),
i18n("metal potential"),
i18n("Tersoff Potential"),
i18n("three-body potential"),
i18n("four-body potential"),
i18n("external field")}

Definition at line 209 of file dlp_field.c.

◆ elemts

gchar* elemts[MAXDATA]
Initial value:
= {i18n("molecule(s)"),
i18n("atom(s)"),
i18n("core-shell unit(s)"),
i18n("constraint bond(s)"),
i18n("mean force potential(s)"),
i18n("rigid unit(s)"),
i18n("tethering potential(s)"),
i18n("flexible chemical bond(s)"),
i18n("bond restraint(s)"),
i18n("bond angle(s)"),
i18n("angular restraint(s)"),
i18n("dihedral angle(s)"),
i18n("torsional restraint(s)"),
i18n("improper angle(s)"),
i18n("inversion angle(s)"),
i18n("van der Waals potential(s)"),
i18n("metal potential(s)"),
i18n("Tersoff Potential(s)"),
i18n("three-body potential(s)"),
i18n("four-body potential(s)"),
i18n("external field(s)")}

Definition at line 187 of file dlp_field.c.

◆ enbox

GtkWidget* enbox

Definition at line 1066 of file dlp_field.c.

◆ example

model example

Definition at line 1128 of file dlp_field.c.

◆ extra_vbox

GtkWidget* extra_vbox[2]
extern

Definition at line 579 of file dlp_control.c.

◆ felemt

gchar* felemt[MAXDATA+1]
Initial value:
= {i18n("Energy unit"),
i18n("Molecule"),
i18n("Atom"),
i18n("Core-shell unit"),
i18n("Constraint bond"),
i18n("Mean force potential"),
i18n("Rigid unit"),
i18n("Tethering potential"),
i18n("Flexible chemical bond"),
i18n("Bond restraint"),
i18n("Bond angle"),
i18n("Angular restraint"),
i18n("Dihedral angle"),
i18n("Torsional restraint"),
i18n("Improper angle"),
i18n("Inversion angle"),
i18n("van der Waals potential"),
i18n("Metal potential"),
i18n("Tersoff Potential"),
i18n("Three-body potential"),
i18n("Four-body potential"),
i18n("External field")}

Definition at line 164 of file dlp_field.c.

◆ felemts

gchar* felemts[MAXDATA+1]
Initial value:
= {i18n("Energy unit"),
i18n("Molecule(s)"),
i18n("Atom(s)"),
i18n("Core-shell unit(s)"),
i18n("Constraint bond(s)"),
i18n("Mean force potential(s)"),
i18n("Rigid unit(s)"),
i18n("Tethering potential(s)"),
i18n("Flexible chemical bond(s)"),
i18n("Bond restraint(s)"),
i18n("Bond angle(s)"),
i18n("Angular restraint(s)"),
i18n("Dihedral angle(s)"),
i18n("Torsional restraint(s)"),
i18n("Improper angle(s)"),
i18n("Inversion angle(s)"),
i18n("van der Waals potential(s)"),
i18n("Metal potential(s)"),
i18n("Tersoff Potential(s)"),
i18n("Three-body potential(s)"),
i18n("Four-body potential(s)"),
i18n("External field(s)")}

Definition at line 141 of file dlp_field.c.

◆ fetypes

int fetypes[2][16]
Initial value:
#define DL_METALS
Definition dlp_field.h:50
#define LA_INVERS
Definition dlp_field.h:60
#define DL_ENERGY
Definition dlp_field.h:43
#define DL_DIHEDRAL
Definition dlp_field.h:46
#define LA_VDW
Definition dlp_field.h:62
#define DL_TERSOFFS
Definition dlp_field.h:51
#define LA_ENERGY
Definition dlp_field.h:56
#define LA_EXTERNAL
Definition dlp_field.h:67
#define LA_FOURBODY
Definition dlp_field.h:66
#define DL_BONDS
Definition dlp_field.h:44
#define DL_ANGLES
Definition dlp_field.h:45
#define LA_THREEBODY
Definition dlp_field.h:65
#define LA_METALS
Definition dlp_field.h:63
#define DL_FOURBODY
Definition dlp_field.h:53
#define LA_BONDS
Definition dlp_field.h:57
#define DL_TETH
Definition dlp_field.h:48
#define DL_EXTERNAL
Definition dlp_field.h:54
#define DL_VDW
Definition dlp_field.h:49
#define DL_INVERS
Definition dlp_field.h:47
#define LA_DIHEDRAL
Definition dlp_field.h:59
#define DL_THREEBODY
Definition dlp_field.h:52
#define LA_ANGLES
Definition dlp_field.h:58
#define LA_TETH
Definition dlp_field.h:61
#define LA_TERSOFFS
Definition dlp_field.h:64

Definition at line 376 of file dlp_field.c.

◆ feunit_angle

int feunit_angle[2][FANGLES][FANGLES_P]

Definition at line 501 of file dlp_field.c.

◆ feunit_bond

int feunit_bond[2][FBONDS][FBONDS_P]

Definition at line 429 of file dlp_field.c.

◆ feunit_dihedral

int feunit_dihedral[2][FDIHEDRAL][FDIHEDRAL_P]
Initial value:
= {{{1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0},
{1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}},
{{1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0},
{1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0},
{0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0},
{1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}}}

Definition at line 569 of file dlp_field.c.

◆ feunit_fbd

int feunit_fbd[2][FFOURBODY][FFOURBODY_P]
Initial value:
= {{{1, 0, 0},
{1, 0, 0},
{1, 0, 0}},
{{1, 0, 0},
{1, 0, 0},
{1, 0, 0}}}

Definition at line 859 of file dlp_field.c.

◆ feunit_fext

int feunit_fext[2][FEXTERNAL][FEXTERNAL_P]
Initial value:
= {{{1, 1, 1, 0, 0, 0},
{1, 0, 0, 0, 0, 0},
{1, 0, 0, 0, 0, 0},
{1, 1, 1, 0, 0, 0},
{1, 1, 1, 0, 0, 0},
{1, 0, 0, 0, 0, 0},
{1, 0, 0, 0, 0, 0},
{0, 0, 1, 0, 0, 0},
{0, 0, 1, 0, 0, 0},
{0, 0, 1, 0, 0, 0},
{0, 0, 1, 0, 0, 0},
{1, 1, 1, 0, 0, 0},
{0, 0, 0, 0, 1, 0}},
{{1, 1, 1, 0, 0, 0},
{1, 0, 0, 0, 0, 0},
{1, 0, 0, 0, 0, 0},
{1, 1, 1, 0, 0, 0},
{1, 1, 1, 0, 0, 0},
{1, 0, 0, 0, 0, 0},
{1, 0, 0, 0, 0, 0},
{0, 0, 1, 0, 0, 0},
{0, 0, 1, 0, 0, 0},
{0, 0, 1, 0, 0, 0},
{0, 0, 1, 0, 0, 0},
{1, 1, 1, 0, 0, 0},
{0, 0, 0, 0, 1, 0}}}

Definition at line 893 of file dlp_field.c.

◆ feunit_inversion

int feunit_inversion[2][FINVERS][FINVERS_P]
Initial value:
= {{{1, 0, 0},
{1, 0, 0},
{1, 0, 0},
{1, 0, 0},
{1, 1, 0},
{0, 0, 0}},
{{1, 0, 0},
{1, 0, 0},
{1, 0, 0},
{1, 0, 0},
{1, 1, 0},
{0, 0, 0}}}

Definition at line 625 of file dlp_field.c.

◆ feunit_met

int feunit_met[2][FMETALS][FMETALS_P]
Initial value:
= {{{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 1, 0, 1, 0, 0},
{0, 0, 0, 0, 0, 0, 1, 0, 1},
{1, 0, 0, 0, 0, 0, 0, 0, 0},
{1, 0, 0, 1, 0, 0, 0, 0, 0},
{1, 0, 0, 0, 0, 0, 0, 0, 0}},
{{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 1, 0, 1, 0, 0},
{0, 0, 0, 0, 0, 0, 1, 0, 1},
{1, 0, 0, 0, 0, 0, 0, 0, 0},
{1, 0, 0, 1, 0, 0, 0, 0, 0},
{1, 0, 0, 0, 0, 0, 0, 0, 0}}}

Definition at line 797 of file dlp_field.c.

◆ feunit_tbd

int feunit_tbd[2][FTHREEBODY][FTHREEBODY_P]
Initial value:
= {{{1, 0, 0, 0, 0},
{1, 0, 0, 0, 0},
{1, 0, 0, 0, 0},
{1, 0, 0, 0, 0},
{1, 0, 0, 0, 0},
{1, 0, 0, 0, 0}},
{{1, 0, 0, 0, 0},
{1, 0, 0, 0, 0},
{1, 0, 0, 0, 0},
{1, 0, 0, 0, 0},
{1, 0, 0, 0, 0},
{1, 0, 0, 0, 0}}}

Definition at line 839 of file dlp_field.c.

◆ feunit_ters

int feunit_ters[2][FTERSOFFS][FTERSOFFS_P]
Initial value:
= {{{1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}},
{{1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}}}

Definition at line 821 of file dlp_field.c.

◆ feunit_teth

int feunit_teth[2][FTETH][FTETH_P]
Initial value:
= {{{1, 0, 0},
{1, 0, 0},
{1, 0, 0}},
{{0, 0, 0},
{0, 0, 0},
{0, 0, 0}}}

Definition at line 389 of file dlp_field.c.

◆ feunit_vdw

int feunit_vdw[2][FVDW][FVDW_P]

Definition at line 735 of file dlp_field.c.

◆ ff_but

GtkWidget* ff_but[19]

Definition at line 1067 of file dlp_field.c.

◆ fibox

GtkWidget* fibox[MAXDATC+MAXDATA+2]

Definition at line 1065 of file dlp_field.c.

◆ field_a

int field_a[MAXDATA] = { 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0}

Definition at line 922 of file dlp_field.c.

◆ field_assistant

GtkWidget* field_assistant

Definition at line 1030 of file dlp_field.c.

◆ field_col

GtkTreeViewColumn* field_col[MAXDATA][11]

Definition at line 1031 of file dlp_field.c.

◆ field_color

gboolean field_color = FALSE

Definition at line 1070 of file dlp_field.c.

◆ field_i_box

GtkWidget* field_i_box[2]

Definition at line 4026 of file dlp_field.c.

◆ field_i_combo

GtkWidget* field_i_combo[2]

Definition at line 4029 of file dlp_field.c.

◆ field_i_fixed

GtkWidget* field_i_fixed[2]

Definition at line 4028 of file dlp_field.c.

◆ field_i_lab

GtkWidget* field_i_lab[2]

Definition at line 4027 of file dlp_field.c.

◆ field_i_obj

GtkWidget* field_i_obj[2]

Definition at line 4030 of file dlp_field.c.

◆ field_i_prep

GtkWidget* field_i_prep[2]

Definition at line 4025 of file dlp_field.c.

◆ field_init

gchar* field_init[3]
Initial value:
={i18n("Atomic Species as Field Atoms"),
i18n("Atomic Species and Total Coordinations as Field Atoms"),
i18n("Atomic Species and Partial Coordinations as Field Atoms")}

Definition at line 4457 of file dlp_field.c.

◆ field_iter

GtkTreeIter field_iter

Definition at line 1038 of file dlp_field.c.

◆ field_label

GtkWidget* field_label[MAXDATA]

Definition at line 1036 of file dlp_field.c.

◆ field_model

GtkTreeStore* field_model[MAXDATA]

Definition at line 1037 of file dlp_field.c.

◆ field_object

int field_object = FALSE

Definition at line 1069 of file dlp_field.c.

◆ field_pop_actions

GSimpleActionGroup* field_pop_actions = NULL

Definition at line 2849 of file dlp_field.c.

◆ field_renderer

GtkCellRenderer* field_renderer[MAXDATA][11]

Definition at line 1032 of file dlp_field.c.

◆ field_s

int field_s[MAXDATA] = {650, 520, 520, 500, 600, 450, 600, 720, 720, 720, 720, 720, 720, 720, 720, 720, 720, 720, 720, 720, 720}

Definition at line 921 of file dlp_field.c.

◆ field_tree

GtkWidget* field_tree[MAXDATA]

Definition at line 1035 of file dlp_field.c.

◆ field_v

int field_v[MAXDATA] = { 8, 8, 9, 7, 8, 5, 5, 8, 8, 9, 9, 10, 10, 10, 10, 6, 6, 5, 7, 8, 3}

Definition at line 920 of file dlp_field.c.

◆ fkeysw

gchar* fkeysw[2][16][21]

Definition at line 275 of file dlp_field.c.

◆ fnames

gchar* fnames[2][16][21]

Definition at line 308 of file dlp_field.c.

◆ fntypes

int fntypes[2][15]
Initial value:
#define LA_BONDS_P
Definition dlp_field.h:93
#define DL_METALS_P
Definition dlp_field.h:87
#define DL_TETH_P
Definition dlp_field.h:85
#define LA_TERSOFFS_P
Definition dlp_field.h:100
#define DL_BONDS_P
Definition dlp_field.h:81
#define DL_INVERS_P
Definition dlp_field.h:84
#define DL_VDW_P
Definition dlp_field.h:86
#define DL_DIHEDRAL_P
Definition dlp_field.h:83
#define LA_FOURBODY_P
Definition dlp_field.h:102
#define DL_EXTERNAL_P
Definition dlp_field.h:91
#define DL_FOURBODY_P
Definition dlp_field.h:90
#define LA_ANGLES_P
Definition dlp_field.h:94
#define DL_THREEBODY_P
Definition dlp_field.h:89
#define LA_DIHEDRAL_P
Definition dlp_field.h:95
#define LA_INVERS_P
Definition dlp_field.h:96
#define DL_TERSOFFS_P
Definition dlp_field.h:88
#define LA_EXTERNAL_P
Definition dlp_field.h:103
#define LA_METALS_P
Definition dlp_field.h:99
#define LA_TETH_P
Definition dlp_field.h:97
#define LA_THREEBODY_P
Definition dlp_field.h:101
#define DL_ANGLES_P
Definition dlp_field.h:82
#define LA_VDW_P
Definition dlp_field.h:98

Definition at line 379 of file dlp_field.c.

◆ fvalues

int fvalues[2][15][21]
Initial value:
= {{{ 1, 2, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 2, 3, 2, 2, 3, 4, 3, 1, 3, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 2, 3, 2, 2, 3, 4, 3, 1, 3, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 2, 4, 3, 4, 4, 4, 2, 3, 4, 3, 3, 6, 2, 4, 0, 0, 0, 0, 0, 0, 0},
{ 2, 4, 3, 4, 4, 4, 2, 3, 4, 3, 3, 6, 2, 4, 0, 0, 0, 0, 0, 0, 0},
{ 3, 2, 2, 3, 1, 1, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 3, 2, 2, 3, 1, 1, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 3, 2, 2, 3, 1, 1, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 2, 2, 1, 3, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 2, 2, 3, 4, 3, 5, 2, 5, 3, 3, 2, 2, 4, 3, 2, 7, 7, 3, 4, 3, 0},
{ 0, 0, 0, 0, 7, 9, 5, 5, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{11,16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 2, 3, 4, 4, 4, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 2, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 3, 2, 2, 3, 3, 4, 3, 3, 5, 5, 5, 4, 6, 0, 0, 0, 0, 0, 0, 0, 0}},
{{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 2, 4, 4, 5, 2, 3, 3, 2, 3, 3, 3, 3, 3, 5, 2, 2, 0, 0, 0, 0, 0},
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 2, 4, 4, 4, 1, 3, 2, 3, 2, 3, 2, 6, 2, 4, 3, 2, 4, 2, 2, 0, 0},
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 3, 4, 4, 6, 4, 3, 3, 5, 2, 4, 2,11, 2, 2, 0, 0, 0, 0, 0, 0, 0},
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 2, 2, 2, 3, 2, 2, 5, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}}}

Definition at line 345 of file dlp_field.c.

◆ fvars_angle

char* fvars_angle[2][FANGLES][FANGLES_P]

Definition at line 462 of file dlp_field.c.

◆ fvars_bond

char* fvars_bond[2][FBONDS][FBONDS_P]

Definition at line 396 of file dlp_field.c.

◆ fvars_dihedral

char* fvars_dihedral[2][FDIHEDRAL][FDIHEDRAL_P]
Initial value:
= {{{"A", "δ", "m", " ", " ", " ", " ", " ", " ", " ", " "},
{"k", "ϕ<sub>0</sub>", " ", " ", " ", " ", " ", " ", " ", " ", " "},
{"k", "ϕ<sub>0</sub>", " ", " ", " ", " ", " ", " ", " ", " ", " "},
{"A<sub>1</sub>", "A<sub>2</sub>", "A<sub>3</sub>", " ", " ", " ", " ", " ", " ", " ", " "},
{"A", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
{"A", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
{"A<sub>0</sub>", "A<sub>1</sub>", "A<sub>2</sub>", "A<sub>3</sub>", "ϕ<sub>0</sub>", " ", " ", " ", " ", " ", " "},
{" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
{" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
{" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
{" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
{" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
{" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
{" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "}},
{{"U<sub>min</sub>", "θ<sub>0</sub>", "a", " ", " ", " ", " ", " ", " ", " ", " "},
{"K", "n", "d", i18n("weighting factor"), " ", " ", " ", " ", " ", " ", " "},
{"K", "n", "d", i18n("weighting factor"), " ", " ", " ", " ", " ", " ", " "},
{"E<sub>d</sub>", "E<sub>mbt</sub>", "E<sub>ebt</sub>", "E<sub>at</sub>", "E<sub>aat</sub>", "E<sub>bb13</sub>", " ", " ", " ", " ", " "},
{"m", "K", "n", "d", " ", " ", " ", " ", " ", " ", " "},
{"K", "d", "n", " ", " ", " ", " ", " ", " ", " ", " "},
{"A", "B", "C", " ", " ", " ", " ", " ", " ", " ", " "},
{"A<sub>1</sub>", "A<sub>2</sub>", "A<sub>3</sub>", "A<sub>4</sub>", "A<sub>5</sub>", " ", " ", " ", " ", " ", " "},
{"n", "A", " ", " ", " ", " ", " ", " ", " ", " ", " "},
{"K<sub>1</sub>", "K<sub>2</sub>", "K<sub>3</sub>", "K<sub>4</sub>", " ", " ", " ", " ", " ", " ", " "},
{"K", "ϕ<sub>0</sub>", " ", " ", " ", " ", " ", " ", " ", " ", " "},
{"n", "C", "K", "a", "u", "L", "b", "v", "M", "c", "w"},
{i18n("Interpolation style"), i18n("Dihedrals"), " ", " ", " ", " ", " ", " ", " ", " ", " "},
{i18n("Interpolation style"), i18n("Dihedrals"), " ", " ", " ", " ", " ", " ", " ", " ", " "}}}

Definition at line 540 of file dlp_field.c.

◆ fvars_fbd

char* fvars_fbd[2][FFOURBODY][FFOURBODY_P]
Initial value:
= {{{"k", "ϕ<sub>0</sub>", " "},
{"k", "ϕ<sub>0</sub>", " "},
{"A", " ", " "}},
{{"k", "ϕ<sub>0</sub>", " "},
{"k", "ϕ<sub>0</sub>", " "},
{"A", " ", " "}}}

Definition at line 852 of file dlp_field.c.

◆ fvars_fext

char* fvars_fext[2][FEXTERNAL][FEXTERNAL_P]
Initial value:
= {{{"E<sub>x</sub>", "E<sub>y</sub>", "E<sub>z</sub>", " ", " ", " "},
{"A", "n", " ", " ", " ", " "},
{"A", "z<sub>0</sub>", " ", " ", " ", " "},
{"G<sub>x</sub>", "G<sub>y</sub>", "G<sub>z</sub>", " ", " ", " "},
{"H<sub>x</sub>", "H<sub>y</sub>", "H<sub>z</sub>", " ", " ", " "},
{"A", "R<sub>0</sub>", "n", "R<sub>cut</sub>", " ", " "},
{"A", "z<sub>0</sub>", "p", " ", " ", " "},
{"i<sub>ind</sub><sup>glob</sup>", "j<sub>ind</sub><sup>glob</sup>", "P<sup>in</sup><sub>k-atom</sub>", " ", " ", " "},
{"i<sub>ind</sub><sup>glob</sup>", "j<sub>ind</sub><sup>glob</sup>", "k", "z<sub>mn</sub>", "z<sub>mx</sub>", " "},
{"i<sub>ind</sub><sup>glob</sup>", "j<sub>ind</sub><sup>glob</sup>", "k", "z<sub>mn</sub>", "z<sub>mx</sub>", " "},
{"i<sub>ind</sub><sup>glob</sup>", "j<sub>ind</sub><sup>glob</sup>", "k", "z<sub>mn</sub>", "z<sub>mx</sub>", " "},
{"E<sub>x</sub>", "E<sub>y</sub>", "E<sub>z</sub>", "&omega;<sup>in</sup><sub>ps<sup>-1</sup></sub>", " ", " "},
{"i<sub>gid</sub><sup>A</sup>", "j<sub>gid</sub><sup>A</sup>", "k", "i<sub>gid</sub><sup>B</sup>", "j<sub>gid</sub><sup>B</sup>", "R<sub>0</sub>"}},
{{"E<sub>x</sub>", "E<sub>y</sub>", "E<sub>z</sub>", " ", " ", " "},
{"A", "n", " ", " ", " ", " "},
{"A", "z<sub>0</sub>", " ", " ", " ", " "},
{"G<sub>x</sub>", "G<sub>y</sub>", "G<sub>z</sub>", " ", " ", " "},
{"H<sub>x</sub>", "H<sub>y</sub>", "H<sub>z</sub>", " ", " ", " "},
{"A", "R<sub>0</sub>", "n", "R<sub>cut</sub>", " ", " "},
{"A", "z<sub>0</sub>", "p", " ", " ", " "},
{"i<sub>ind</sub><sup>glob</sup>", "j<sub>ind</sub><sup>glob</sup>", "P<sup>in</sup><sub>k-atom</sub>", " ", " ", " "},
{"i<sub>ind</sub><sup>glob</sup>", "j<sub>ind</sub><sup>glob</sup>", "k", "z<sub>mn</sub>", "z<sub>mx</sub>", " "},
{"i<sub>ind</sub><sup>glob</sup>", "j<sub>ind</sub><sup>glob</sup>", "k", "z<sub>mn</sub>", "z<sub>mx</sub>", " "},
{"i<sub>ind</sub><sup>glob</sup>", "j<sub>ind</sub><sup>glob</sup>", "k", "z<sub>mn</sub>", "z<sub>mx</sub>", " "},
{"E<sub>x</sub>", "E<sub>y</sub>", "E<sub>z</sub>", "&omega;<sup>in</sup><sub>ps<sup>-1</sup></sub>", " ", " "},
{"i<sub>gid</sub><sup>A</sup>", "j<sub>gid</sub><sup>A</sup>", "k", "i<sub>gid</sub><sup>B</sup>", "j<sub>gid</sub><sup>B</sup>", "R<sub>0</sub>"}}}

Definition at line 866 of file dlp_field.c.

◆ fvars_inversion

char* fvars_inversion[2][FINVERS][FINVERS_P]
Initial value:
= {{{"k", "ϕ<sub>0</sub>", " "},
{"k", "ϕ<sub>0</sub>", " "},
{"A", " ", " "},
{"k", "m", "ϕ<sub>0</sub>"},
{"A", "B", " "},
{" ", " ", " "}},
{{" ", " ", " "},
{" ", " ", " "},
{" ", " ", " "},
{" ", " ", " "},
{" ", " ", " "},
{" ", " ", " "}}}

Definition at line 612 of file dlp_field.c.

◆ fvars_met

char* fvars_met[2][FMETALS][FMETALS_P]
Initial value:
= {{{" ", " ", " ", " ", " ", " ", " ", " ", " "},
{" ", " ", " ", " ", " ", " ", " ", " ", " "},
{" ", " ", " ", " ", " ", " ", " ", " ", " "},
{" ", " ", " ", " ", " ", " ", " ", " ", " "},
{"c<sub>0</sub>", "c<sub>1</sub>", "c<sub>2</sub>", "c", "A", "d", "β", " ", " "},
{"c<sub>0</sub>", "c<sub>1</sub>", "c<sub>2</sub>", "c<sub>3</sub>", "c<sub>4</sub>", "c", "A", "d", "B"},
{"ϵ", "a", "n", "m", "c", " ", " ", " ", " "},
{"A", "r<sub>0</sub>", "p", "B", "q<sub>ij</sub>", " ", " ", " ", " "},
{"ϵ", "a", "m", "α", "r<sub>o</sub>", " ", " ", " ", " "}},
{{" ", " ", " ", " ", " ", " ", " ", " ", " "},
{" ", " ", " ", " ", " ", " ", " ", " ", " "},
{" ", " ", " ", " ", " ", " ", " ", " ", " "},
{" ", " ", " ", " ", " ", " ", " ", " ", " "},
{"c<sub>0</sub>", "c<sub>1</sub>", "c<sub>2</sub>", "c", "A", "d", "β", " ", " "},
{"c<sub>0</sub>", "c<sub>1</sub>", "c<sub>2</sub>", "c<sub>3</sub>", "c<sub>4</sub>", "c", "A", "d", "B"},
{"ϵ", "a", "n", "m", "c", " ", " ", " ", " "},
{"A", "r<sub>0</sub>", "p", "B", "q<sub>ij</sub>", " ", " ", " ", " "},
{"ϵ", "a", "m", "α", "r<sub>o</sub>", " ", " ", " ", " "}}}

Definition at line 778 of file dlp_field.c.

◆ fvars_tbd

char* fvars_tbd[2][FTHREEBODY][FTHREEBODY_P]
Initial value:
= {{{"k", "θ<sub>0</sub>", " ", " ", " "},
{"k", "θ<sub>0</sub>", "ρ", " ", " "},
{"k", "θ<sub>0</sub>", "ρ<sub>1</sub>", "ρ<sub>2</sub>", " "},
{"k", "θ<sub>0</sub>", "ρ<sub>1</sub>", "ρ<sub>2</sub>", " "},
{"k", "θ<sub>0</sub>", "a", "ρ", " "},
{"D<sub>hb</sub>", "R<sub>hb</sub>", " ", " ", " "}},
{{"k", "θ<sub>0</sub>", " ", " ", " "},
{"k", "θ<sub>0</sub>", "ρ", " ", " "},
{"k", "θ<sub>0</sub>", "ρ<sub>1</sub>", "ρ<sub>2</sub>", " "},
{"k", "θ<sub>0</sub>", "ρ<sub>1</sub>", "ρ<sub>2</sub>", " "},
{"k", "θ<sub>0</sub>", "a", "ρ", " "},
{"D<sub>hb</sub>", "R<sub>hb</sub>", " ", " ", " "}}}

Definition at line 826 of file dlp_field.c.

◆ fvars_ters

char* fvars_ters[2][FTERSOFFS][FTERSOFFS_P]
Initial value:
= {{{"A", "a", "B", "b", "R", "S", "β", "η", "c", "d", "h", "χ", "ω", "δ", " ", " "},
{"A", "a", "B", "b", "R", "S", "η", "δ", "c<sub>1</sub>", "c<sub>2</sub>", "c<sub>3</sub>", "c<sub>4</sub>", "c<sub>5</sub>", "h", "α", "β"}},
{{"A", "a", "B", "b", "R", "S", "β", "η", "c", "d", "h", "χ", "ω", "δ", " ", " "},
{"A", "a", "B", "b", "R", "S", "η", "δ", "c<sub>1</sub>", "c<sub>2</sub>", "c<sub>3</sub>", "c<sub>4</sub>", "c<sub>5</sub>", "h", "α", "β"}}}

Definition at line 816 of file dlp_field.c.

◆ fvars_teth

char* fvars_teth[2][FTETH][FTETH_P]
Initial value:
= {{{"k", " ", " "},
{"k", "r<sub>c</sub>", " "},
{"k", "k'", "k''"}},
{{" ", " ", " "},
{" ", " ", " "},
{" ", " ", " "}}}

Definition at line 382 of file dlp_field.c.

◆ fvars_vdw

char* fvars_vdw[2][FVDW][FVDW_P]

Definition at line 692 of file dlp_field.c.

◆ fwin

GtkWidget* fwin = NULL

Definition at line 1062 of file dlp_field.c.

◆ has_energy

int* has_energy

Definition at line 1173 of file dlp_field.c.

◆ intelemt

gchar* intelemt[MAXDATA]
Initial value:
= {i18n("of the molecule"),
i18n("of the atom"),
i18n("of the core-shell unit"),
i18n("of the constraint bond"),
i18n("of the mean force potential"),
i18n("of the rigid unit)"),
i18n("of the tethering potential"),
i18n("of the flexible chemical bond"),
i18n("of the bond restraint"),
i18n("of the bond angle"),
i18n("of the angular restraint"),
i18n("of the dihedral angle"),
i18n("of the torsional restraint"),
i18n("of the improper angle"),
i18n("of the inversion angle"),
i18n("of the van der Waals potential"),
i18n("of the metal potential"),
i18n("of the Tersoff Potential"),
i18n("of the three-body potential"),
i18n("of the four-body potential"),
i18n("of the external field")}

Definition at line 253 of file dlp_field.c.

◆ intelemts

gchar* intelemts[MAXDATA]
Initial value:
= {i18n("of molecule(s)"),
i18n("of atom(s)"),
i18n("of core-shell unit(s)"),
i18n("of constraint bond(s)"),
i18n("of mean force potential(s)"),
i18n("of rigid unit(s)"),
i18n("of tethering potential(s)"),
i18n("of flexible chemical bond(s)"),
i18n("of bond restraint(s)"),
i18n("of bond angle(s)"),
i18n("of angular restraint(s)"),
i18n("of dihedral angle(s)"),
i18n("of torsional restraint(s)"),
i18n("of improper angle(s)"),
i18n("of inversion angle(s)"),
i18n("of van der Waals potential(s)"),
i18n("of metal potential(s)"),
i18n("of Tersoff Potential(s)"),
i18n("of three-body potential(s)"),
i18n("of four-body potential(s)"),
i18n("of external field(s)")}

Definition at line 231 of file dlp_field.c.

◆ internal_to_other

float internal_to_other[5] = {9648.530821, 418.4, 100.0, 0.831451115, 1.0}

Definition at line 1028 of file dlp_field.c.

◆ is_energy

int** is_energy

Definition at line 1174 of file dlp_field.c.

◆ is_param

int** is_param

Definition at line 1172 of file dlp_field.c.

◆ is_special

int is_special[MAXDATA][11]
Initial value:
={{0, 0, 0, 0, 0, 0, 2, 3, 0, 0, 0},
{0, 0, 0, 4, 4, 0, 0, 2, 0, 0, 0},
{0, 0, 0, 4, 4, 4, 4, 2, 3, 0, 0},
{0, 0, 0, 4, 0, 2, 3, 0, 0, 0, 0},
{0, 4, 0, 0, 0, 4, 2, 3, 0, 0, 0},
{0, 0, 0, 2, 3, 0, 0, 0, 0, 0, 0},
{0, 0, 2, 3, 1, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 2, 3, 1, 0, 0, 0},
{0, 0, 0, 0, 0, 2, 3, 1, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 2, 3, 1, 0, 0},
{0, 0, 0, 0, 0, 0, 2, 3, 1, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 2, 3, 1, 0},
{0, 0, 0, 0, 0, 0, 0, 2, 3, 1, 0},
{0, 0, 0, 0, 0, 0, 0, 2, 3, 1, 0},
{0, 0, 0, 0, 0, 0, 0, 2, 3, 1, 0},
{0, 0, 0, 2, 3, 1, 0, 0, 0, 0, 0},
{0, 0, 0, 2, 3, 1, 0, 0, 0, 0, 0},
{0, 0, 2, 3, 1, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 2, 3, 1, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 2, 3, 1, 0, 0, 0},
{0, 3, 1, 0, 0, 0, 0, 0, 0, 0, 0}}

Definition at line 973 of file dlp_field.c.

◆ is_var

gchar*** is_var

Definition at line 1175 of file dlp_field.c.

◆ la_improper_style_keyw

gchar* la_improper_style_keyw[11]
Initial value:
= {"class2",
"cossq",
"cvff",
"distance",
"distharm",
"fourier",
"harmonic",
"inversion/harmonic",
"ring",
"sqdistharm",
"umbrella"}

Definition at line 639 of file dlp_field.c.

◆ mo_title

gchar* mo_title[8] ={i18n("Bond"), i18n("Bond restraint"), i18n("Angle"), i18n("Angle restraint"), i18n("Dihedral"), i18n("Torsional restraint"), i18n("Improper"), i18n("Inversion")}

Definition at line 1025 of file dlp_field.c.

◆ mol_box

GtkWidget* mol_box[MOLIMIT-1]

Definition at line 1033 of file dlp_field.c.

◆ mol_num_label

GtkWidget* mol_num_label = NULL

Definition at line 1064 of file dlp_field.c.

◆ new_body

field_nth_body* new_body

Definition at line 1056 of file dlp_field.c.

◆ num_field_objects

int num_field_objects = 0

Definition at line 1071 of file dlp_field.c.

◆ preview_but

GtkWidget* preview_but

Definition at line 4031 of file dlp_field.c.

◆ row_id

int row_id

Definition at line 1072 of file dlp_field.c.

◆ saved_label_format

int saved_label_format[2]

Definition at line 4033 of file dlp_field.c.

◆ saved_label_position

int saved_label_position[2]

Definition at line 4034 of file dlp_field.c.

◆ tmp_coord

coord_info* tmp_coord

Definition at line 1044 of file dlp_field.c.

◆ tmp_fat

field_atom* tmp_fat

Definition at line 1047 of file dlp_field.c.

◆ tmp_fbody

field_nth_body* tmp_fbody

Definition at line 1055 of file dlp_field.c.

◆ tmp_fbt

field_atom * tmp_fbt

Definition at line 1047 of file dlp_field.c.

◆ tmp_fcons

field_constraint* tmp_fcons

Definition at line 1049 of file dlp_field.c.

◆ tmp_fct

field_atom * tmp_fct

Definition at line 1047 of file dlp_field.c.

◆ tmp_fdt

field_atom * tmp_fdt

Definition at line 1047 of file dlp_field.c.

◆ tmp_fext

field_external* tmp_fext

Definition at line 1057 of file dlp_field.c.

◆ tmp_field

classical_field* tmp_field

Definition at line 1041 of file dlp_field.c.

◆ tmp_fmol

field_molecule* tmp_fmol

Definition at line 1045 of file dlp_field.c.

◆ tmp_fpmf

field_pmf* tmp_fpmf

Definition at line 1050 of file dlp_field.c.

◆ tmp_fprop

field_prop* tmp_fprop

Definition at line 1053 of file dlp_field.c.

◆ tmp_frig

field_rigid* tmp_frig

Definition at line 1051 of file dlp_field.c.

◆ tmp_fshell

field_shell* tmp_fshell

Definition at line 1048 of file dlp_field.c.

◆ tmp_fstr

field_struct* tmp_fstr

Definition at line 1054 of file dlp_field.c.

◆ tmp_ftet

field_tethered* tmp_ftet

Definition at line 1052 of file dlp_field.c.

◆ tmp_mol

molecule* tmp_mol

Definition at line 1046 of file dlp_field.c.

◆ tmp_proj

project* tmp_proj

Definition at line 1043 of file dlp_field.c.

◆ tmp_view

glwin* tmp_view = NULL

Definition at line 1042 of file dlp_field.c.