📄 readme.source
字号:
24 June 1999Source code for XMD version 2.5.24A short tour. The following is a list of C source code files(called "modules") and what kind of functions they contain.MODULEScdmain.c - Program execution begins here.cdalloc.c - Allocates memory for storing atom informationcdboun.c - Repeating boundary conditionscdcomm.c - Processes command lines and calls proper functioncdcons.c - Applies various dynamic constraints to atomscdcor.c - Reads and writes "cor" format data files.cdcsi.c - Energy and forces for Tersoff's C-Si potentialcddisp.c - Calculates atomic displacements (DISP command)cddoc.c - Prints informations when "xmd -?" is run.cdeam.c - Energy and forces for EAM potentialcdfill.c - Fills regions with atoms according to lattice structure. (FILL command)cdfunc.c - Generalized potential functions used by cdpairf.c (and someday by cdeam.c)cdhouse.c - General "house-keeping" routinescditemp.c - Initializes atom velocities to requested temperature. (ITEMP command)cdmc.c - Monte Carlo calculation, calls current Energy function (such as EAM, Pair, CSI, etc).cdmd.c - Calls Force function (for either EAM, Pair, CSI, etc) and integrates forces to get motioncdpairf.c - Energy and forces with pair potential, calls cdfunc.ccdqu.c - Energy and forces with "quartic" potential - obsoletecdrepeat.c - (REPEAT .. END command)cdsearch.c - Sets up neighbor list search, then calls neigh.ccdselect.c - Selects atoms according to various criteria (SELECT command)cdstate.c - Reads and writes "state" file.cdstep.c - Cordinates output of energy, stress, box size every n steps of md calculation (ESAVE, SSAVE, BSAVE commands).cdstil.c - Stillinger-Weber's Carbon modelcdsubs.c - Large module contains most functions which correspond to user commands.cdthread.c - A "dummy" thread module used to replace standard POSIX thread routines when not present on machine.cdvect.c - Vector algegra routines (cross product, matrix inversion, ..)cdwrite.c - (WRITE command)grdevsub.c - Graphics subroutines for drawing with Postscript or Canon LBPiomngr.c - Manages input, provides function m_get() etc. which replace C's standard get(), ...neigh.c - Calculates neighbor list.parse.c - Interprets formulas such as sin(x)^3+1 and implements variablesplotc.c - Plots atoms (PLOT command).rcvio.c - Reads and writes "rcv" format data files.sortsub.c - Various sort routinesstrsub.c - Various string routines.IMPORTANT HEADER FILEScdhouse.h - Contains various MACROS used throughout the programparticle.h - Defines the Particle_t type which stores atom information.cdsearch.h - Defines various types used throughout the program.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -