DCMolecularField

class DCMolecularField

Bases: DCField

A single molecular field of a Distributed Class, as read from a .dc file. This represents a combination of two or more related atomic fields, that will often be treated as a unit.

Inheritance diagram

Inheritance diagram of DCMolecularField

DCAtomicField *get_atomic(int n) const

Returns the nth atomic field that makes up this molecular field. This may or may not be a field of this particular class; it might be defined in a parent class.

int get_num_atomics(void) const

Returns the number of atomic fields that make up this molecular field.