class Control:
    def __init__(self, args):
        self.freq=args.freq 			# frequency of sampling
        self.hiteqm=100000		# wait till this step
        self.extra_compute=10000		# energy computed after these many steps
        self.writedensity=100000 		# write the density files
        self.moviefreq=10000		# frequency of making movie files        self.verbose=args.verbose
        self.timestep=args.delta_t	# timestep used in molecular dynamics
        self.steps=args.steps // self.freq			# number of steps in molecular dynamics
        self.validate=args.validate
        self.ein=args.ein
        self.eout=args.eout