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

getAtomic(n: int) → DCAtomicField

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.

Return type


getNumAtomics() → int

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