ESPResSo 3.2.0-11-g9950804-git
Extensible Simulation Package for Soft Matter Research
Data Fields
Molecule Struct Reference

Structure holding information about a molecule. More...

#include <topology.h>

Collaboration diagram for Molecule:
Collaboration graph
[legend]

Data Fields

int type
 Type of the molecule.
IntList part
 List of particle identities contained in that molecule.
double f [3]
 Total force on the molecule.
double fav [3]
 Sum of forces on molecule over the last favcounter time steps.
int favcounter
 counter for fav
double mass
 Total mass of the molecule.
double com [3]
 Center of mass position.
double v [3]
 velocity of particle
int trap_flag
 Whether to trap motion in a direction with a harmonic well.
double trap_center [3]
 Location of a harmonic trap for this molecule.
double trap_spring_constant
 Trap stiffness.
double drag_constant
 viscous drag applied to this molecule
int noforce_flag
 Whether to adjust forces on particles so that net force on molecule is 0.
int isrelative
 whether trap_center is relative (i.e.
double trap_force [3]
 the force applied by the trap on the molecule

Detailed Description

Structure holding information about a molecule.

Definition at line 37 of file topology.h.


Field Documentation

double Molecule::com[3]

Center of mass position.

Definition at line 53 of file topology.h.

Referenced by calc_local_mol_info(), calc_trap_force(), and mpi_comm_mol_info().

viscous drag applied to this molecule

Definition at line 63 of file topology.h.

Referenced by calc_trap_force(), and set_molecule_trap().

double Molecule::f[3]

Total force on the molecule.

Definition at line 45 of file topology.h.

Referenced by calc_local_mol_info(), calc_trap_force(), and mpi_comm_mol_info().

double Molecule::fav[3]

Sum of forces on molecule over the last favcounter time steps.

Definition at line 47 of file topology.h.

Referenced by calc_trap_force(), realloc_topology(), and tclcommand_analyze_parse_mol().

counter for fav

Definition at line 49 of file topology.h.

Referenced by calc_trap_force(), realloc_topology(), and tclcommand_analyze_parse_mol().

whether trap_center is relative (i.e.

fraction of box_length) (1) or absolute (0)

Definition at line 67 of file topology.h.

Referenced by calc_trap_force(), and set_molecule_trap().

Total mass of the molecule.

Definition at line 51 of file topology.h.

Referenced by calc_local_mol_info(), and mpi_comm_mol_info().

Whether to adjust forces on particles so that net force on molecule is 0.

Definition at line 65 of file topology.h.

Referenced by calc_trap_force(), realloc_topology(), and set_molecule_trap().

Location of a harmonic trap for this molecule.

Definition at line 59 of file topology.h.

Referenced by calc_trap_force(), and set_molecule_trap().

Whether to trap motion in a direction with a harmonic well.

Definition at line 57 of file topology.h.

Referenced by calc_trap_force(), realloc_topology(), and set_molecule_trap().

the force applied by the trap on the molecule

Definition at line 69 of file topology.h.

Referenced by apply_mol_constraints(), calc_trap_force(), and realloc_topology().

Trap stiffness.

Definition at line 61 of file topology.h.

Referenced by calc_trap_force(), and set_molecule_trap().

double Molecule::v[3]

velocity of particle

Definition at line 55 of file topology.h.

Referenced by calc_local_mol_info(), calc_trap_force(), and mpi_comm_mol_info().


The documentation for this struct was generated from the following file: