UtilsΒΆ
Here, we report a list of the subroutines included in the directory utils/ along with a brief comment on what is their purpose.
Note
These programs are useful for cleaving pre/post processing calculations (e.g., extracting and averaging useful quantities). These small programs are given without warranty
TzerogatherEn.sh: Extract the value of \(\gamma\) as difference in energy for a zero temperature LJ crystal at different strainsTzerogathermin.sh: Extract the value of \(\gamma\) from step3 for a zero temperature LJ crystal at different strainsallgatheresults.sh: Collect work in all the four steps, for different run of cleaving, at different temperature, with different crystal orientation and different cleaving potential in a LJ crystalathenawork.sh: Collect work in all the four steps for a LJ crystal, version to be used in a queue system to run the postprocessing as a batch jobblockAv.py: Script to calculate block average and some statistics of a list of measurementsc3cryst.f90: Rewrite the file inters3.* obtained in step3 in a format similar to step1/2/4 to be read using the same subroutines used for these steps. Valid for zero temperature LJ crystalsc3cryst_wells.f90: Same asc3cryst.f90, to be used with wells cleaving potentialcalcintegrals.f90: Trapezoidal rule to calculate work integralscalcworkstep3.f90: Same asc3cryst.f90, valid for solid-liquid interfaces in a LJ crystalcalcworkstep3_nodupl.f90: Same ascalcworkstep3.f90, do not consider the duplicate atoms in step3check_sim.sh: Check if the simulation in a queue system are still running or if they have stopped before the end of the calculation completedcleaving.sh: Automated script to run the entire cleaving model for a solid-liquid interface. It needspreparation.shcompile.sh: Compile the fortran subroutines in theutils/directorydump2.data.sh: Convert dump configuration to data file. It needsdump2data.f90dump2.data.sh: Convert dump configuration to data file. It is called bydump2data.f90fixedlayer.f90: Create a block of FCC crystal with certain orientationgatherwork.sh: Check if cleaving calculation is running, if not, it collects the work file at each stepmultiple_sim.sh: Submit cleaving calculations in different condition to a queue systemnew_step3IN.f90: Create input file for step3 in a LJ crystalpreparation.sh: Script called bycleaving.shto initialize the different directories used for cleavingpressureprofile.sh: Script to calculate the ensemble average of the pressure (stress) profile in a boxremove.sh: Clean directoryrestartmann.sh: restart cleaving calculation on a queue system (written for mannitol system)runcleav.sh: Submit a new cleaving calculation or restart it to a queue systemruncleavcry.sh: Same ascleaving.shbut for a solid-vacuum LJ crystal at finite temperaturerunzerocleavcry.sh: Same asruncleavcry.shbut for a system at zero temperatures3zeroinpljcry.sh: Set up step3 for solid-vacuum interface for a LJ crystal at zero temperatures4inpljcry.sh: Set up step4 for solid-vacuum interface for a LJ crystalselwall.sh: Calculate work separately for the two pairs of walls in step4singleres.sh: Calculate work in all the steps for a single configuration of the inputs (e.g., orientation, temperature) for walls cleaving potentialsingleres_wells.sh: Same assingleres.shbut for wells cleaving potentialstep3IN.f90: Create input file for step3 in a LJ crystalstep4IN.f90: Create input file for step4 in a LJ crystalsubmit.sh: Submit a range of cleaving calculation as batch jobswork.sh: Calculate block average of the work at each step of cleaving for a LJ systemwork_new_s4.sh: Same aswork.shbut modified to give the work for each pairs of walls separatelywork_s3.sh: Same as work, modified with to use a different convention for the fixes name identifying the cleaving workworkmannitol.sh: Same aswork.shbut modified for mannitol system