|
Bsoft 2.1.4
Bernard's software package
|
Generating and managing water. More...
#include "rwmolecule.h"#include "mol_bonds.h"#include "Matrix3.h"#include "linked_list.h"#include "random_numbers.h"#include "utilities.h"Functions | |
| Bmolecule * | mol_generate_one_water (Bmolecule **mollist, char *watername, Vector3< double > Ocoord) |
| Generates one water molecule at a given location. More... | |
| Bmolgroup * | molgroup_generate_regular_water (Vector3< double > size, int type) |
| Generates a block of water based on a regular lattice. More... | |
| Bmolgroup * | molgroup_generate_random_water (Vector3< double > size) |
| Generates a block of water with random placement. More... | |
| Bbond * | water_bond_list (Bmolgroup *molgroup) |
| Generates a bond list for a block of waters. More... | |
| Bangle * | water_angle_list (Bmolgroup *molgroup) |
| Generates a bond angle list for a block of waters. More... | |
| int | molgroup_calc_water_rdf (Bmolgroup *molgroup, double interval, double cutoff) |
| Calculates a radial distribution function for water molecules. More... | |
Variables | |
| int | verbose |
Generating and managing water.
| Bmolecule * mol_generate_one_water | ( | Bmolecule ** | mollist, |
| char * | watername, | ||
| Vector3< double > | Ocoord | ||
| ) |
Generates one water molecule at a given location.
| **mollist | molecule list. |
| *watername | molecule name. |
| Ocoord | oxygen coordinates. |
| int molgroup_calc_water_rdf | ( | Bmolgroup * | molgroup, |
| double | interval, | ||
| double | cutoff | ||
| ) |
Calculates a radial distribution function for water molecules.
| *molgroup | molecule group. |
| interval | interval between bins. |
| cutoff | distance cutoff. |
Generates a block of water with random placement.
The number of water molecules generated is calculated as:
n = volume * 0.03346.
| size | size of block. |
Generates a block of water based on a regular lattice.
The number of water molecules generated is calculated as:
n = volume * 0.03346.
| size | size of block. |
| type | type of lattice, 2=rectangular, 3=tetrahedral. |
Generates a bond angle list for a block of waters.
| *molgroup | molecule group. |
Generates a bond list for a block of waters.
| *molgroup | molecule group. |
|
extern |