|
Bsoft 2.1.4
Bernard's software package
|
Library routines to read and write molecular dynamics parameters in STAR format. More...
#include "rwmd.h"#include "rwstar.h"#include "mol_tags.h"#include "linked_list.h"#include "utilities.h"Functions | |
| Bmd * | md_init () |
| Initializes a molecular dynamics structure. More... | |
| Bmd * | md_init_with_types () |
| Initializes a molecular dynamics structure. More... | |
| Bmd * | read_md_parameters (Bstring &filename) |
| Reading molecular dynamics parameters from STAR files. More... | |
| int | write_md_parameters (Bstring &filename, Bmd *md) |
| Writing molecular dynamics parameters to a STAR file. More... | |
| Bbondtype * | bond_type_add (Bbondtype **bond, char *symbol1, char *symbol2, float covlength, float vdwdist) |
| int | md_kill (Bmd *md) |
| Deallocates a molecular dynamics structure. More... | |
Variables | |
| int | verbose |
Library routines to read and write molecular dynamics parameters in STAR format.
| Bbondtype * bond_type_add | ( | Bbondtype ** | bond, |
| char * | symbol1, | ||
| char * | symbol2, | ||
| float | covlength, | ||
| float | vdwdist | ||
| ) |
| Bmd * md_init | ( | ) |
Initializes a molecular dynamics structure.
The coefficients for the Lennard-Jones Van der Waals interaction are
defined as:
VdWcoeff1 = 1/12
VdWcoeff2 = 1/6
| Bmd * md_init_with_types | ( | ) |
Initializes a molecular dynamics structure.
The coefficients for the Lennard-Jones Van der Waals interaction are
defined as:
VdWcoeff1 = 1/12
VdWcoeff2 = 1/6
| int md_kill | ( | Bmd * | md | ) |
Deallocates a molecular dynamics structure.
| *md | molecular dynamics structure. |
All linked lists within the structure is also deallocated.
Reading molecular dynamics parameters from STAR files.
| &filename | file name (or comma-delimited list). |
Writing molecular dynamics parameters to a STAR file.
| &filename | file name (or comma-delimited list). |
| *md | molecular dynamics parameters structure. |
|
extern |