../fullrmc/Examples/benchmark/
A box of 719 molecules of tetrahydrofuran of a total of 9347 atoms is used to benchmark several functionalities of fullrmc. This example is very useful to test the performance of fullrmc. Benchmarking might take several hours. At the end of this example benchmark data will be saved and two matplotlib figures will be plotted.
IMPORTING USEFUL DEFINITIONS:
All useful packages, modules and definitions are imported.
SHUT DOWN LOGGING:
Set logger minimum level to maximum possible integer value. This will mute all non-error logging.
CREATE ENGINE:
Create the engine and all of PairDistributionConstraint
,
InterMolecularDistanceConstraint
, BondConstraint
,
BondsAngleConstraint
and ImproperAngleConstraint
constraints.
DIFFERENT RUNS:
Define functions to run the fitting engine or to visualize saved benchmarks.
RUN SIMULATION:
benchmark_constraints and benchmark_nsteps functions are called and benchmarks are shown at the end
PLOT BENCHMARKS:
If uncommented, load_and_plot_steps_benchmark and load_and_plot_constraints_benchmark functions will be called.