This function read a .mmp file (revision 2 and 3) are supported and initialize all the quantities need to describe the environment within this library.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | input_file | 
 name of the input file  | 
        ||
| type(ommp_system), | intent(inout) | :: | sys_obj | 
 System data structure to be initialized  | 
        
Take as input a matrix in which the n-th row stores the atoms that are in the same polarization group as the n-th atom (rows are padded with zeros) and assign to each atom a group index, according to the input information. This is a way of compressing and making more clear the handling of polarization groups.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=ip), | intent(in) | :: | polgroup_neigh(:,:) | |||
| integer(kind=ip), | intent(out) | :: | mm2pol(:) | 
This function read a Tinker xyz and prm files and initialize all the quantities need to describe the environment within this library.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(ommp_system), | intent(inout), | target | :: | sys_obj | 
 The system object to be initialized  | 
        |
| character(len=*), | intent(in) | :: | xyz_file | 
 name of the input XYZ file  | 
        ||
| character(len=*), | intent(in) | :: | prm_file | 
 name of the input PRM file  |