STATISTICAL MECHANICS IN EXTERNAL FORCE FIELDS.