Procedures

ProcedureLocationProcedure TypeDescription
aabb_calc_centeraabb_mSubroutine

Calculates the center of an aabb.

aabb_calc_srfareaaabb_mSubroutine

Calculates the surface area of an aabb.

aabb_clearaabb_mSubroutine

Clears all attributes of an AABB and sets them to zero.

aabb_fattenaabb_mSubroutine

Fattens an AABB by a fraction of its base extent.

aabb_get_extentaabb_mSubroutine

Calculates the extent of an aabb. The extent of an AABB is defined as the difference between its upper and lower bounds.

aabb_includesaabb_mFunction

Returns true if this includes other, false otherwise. Inclusion is considered in a strict sense.

aabb_initaabb_mSubroutine

Initializes an aabb_t instance from lower and upper bounds.

aabb_overlapsaabb_mFunction

Returns true if this overlaps other, false otherwise. Touching does not count as an overlap.

aabb_printaabb_mSubroutine

Prints an AABB.

aabb_unionaabb_mFunction

Combines AABBs x and y to return a new AABB z.

aabb_updateaabb_mSubroutine

Updates an AABB with new bounds.

add_transposeutils_math_mSubroutine

Adds a square matrix and its transpose in place:

allcloseutils_math_mInterface

Checks if two arrays are elementwise close within tolerance

allclose_rank1utils_math_mFunction

Checks if two rank-1 floating point arrays of type double are close within tolerance.

allclose_rank2utils_math_mFunction

Checks if two rank-2 floating point arrays of type double are close within tolerance.

allclose_rank3utils_math_mFunction

Checks if two rank-3 floating point arrays of type double are close within tolerance.

ang_cos_setia_angle_mSubroutine

Setter for angular cosine interaction.

Read more…
assignment(=)vector_mInterface
atan_buildconnectivity_mSubroutine
atat_buildconnectivity_mSubroutine
atbo_buildconnectivity_mSubroutine
atdh_buildconnectivity_mSubroutine
atmcfg_deleteatmcfg_mSubroutine

Deallocates all memory acquired by a configuration_t object and resets all other components to zero. Exception: num_coeffs is not reset to zero.

balanceaabbtree_mInterface
bds_finishbd_solver_mSubroutine

Clears up memory allocated in bds_init.

bds_initbd_solver_mSubroutine

Initializes the BD solver.

bds_runbd_solver_mSubroutine

Driver for BD integrator.

Read more…
bond_feneia_bond_mSubroutine

Calculates energy & its derivative for FENE bond. See bond_fene_set.

Read more…
bond_fene_setia_bond_mSubroutine

Setter for FENE bond.

Read more…
bond_harmia_bond_mSubroutine

Calculates energy & its derivative for harmonic bond. See bond_harm_set.

bond_harm_setia_bond_mSubroutine

Setter for harmonic bond interaction.

Read more…
bond_kgia_bond_mSubroutine

Calculates energy & its derivative for Kremer-Grest bond. See bond_kg_set.

Read more…
bond_kg_setia_bond_mSubroutine

Setter for FENE bond interaction.

Read more…
bond_msia_bond_mSubroutine

Evaluates the potential & its derivative for Marko-Siggia bond. See bond_ms_set.

Read more…
bond_ms_setia_bond_mSubroutine

Setter for Marko-Siggia bond.

Read more…
brn_calc_bdwbrown_mSubroutine

Main driver routine for calculating B.dW.

brn_calc_dwbrown_mSubroutine

Calculates standard normally distributed random vectors.

brn_finishbrown_mSubroutine

Performs cleanup.

brn_initbrown_mSubroutine

Performs initial setup.

build_pt_aabbtreepairtab_mSubroutine
build_pt_cell_listpairtab_mSubroutine

Builds a pair table using cell list.

build_pt_n2pairtab_mSubroutine

Builds a pair table using direct N^2 looping over all pairs.

build_pt_verletpairtab_mSubroutine

Builds a pair table using the Verlet scheme.

calc_bdw_blancbrown_mSubroutine

Implements block Lanczos algorithm for calculating B.dW.

calc_bdw_choleskybrown_mSubroutine

Calculates B.dW using Cholesky decomposition.

calc_bdw_lancbrown_mSubroutine

Implements Lanczos algorithm for calculating B.dW.

calc_bdw_lanc_sorbrown_mSubroutine
calc_diffusionbd_solver_mSubroutine

Calculates the diffusion term of the SDE. Updates module variables diffusion and cntr_mobsam.

calc_driftbd_solver_mSubroutine

Calculates the drift term of the SDE.

calc_heightaabbtree_mInterface
calc_rpy_tensorbd_solver_mSubroutine

Calculates the RPY approximation to the mobility tensor.

cl_buildcell_list_mSubroutine

Sorts atoms into cells for calculating short-range interations

cl_build_cell_nbrscell_list_mSubroutine

Makes a table of neighboring cells.

cl_deletecell_list_mSubroutine

Deallocates memory allocated in cl_init.

cl_get_contentscell_list_mSubroutine

Returns a pointer to the entries of cell with linear index ic.

cl_get_nbr_cellscell_list_mSubroutine

Returns a pointer to the neighbor cells of cell with linear index ic.

cl_get_num_cellscell_list_mFunction

Returns the total number of cells

cl_initcell_list_mSubroutine

Initializes a cell list.

cl_printcell_list_mSubroutine

Prints a cell list

cl_set_cell_sizecell_list_mSubroutine

Sets the cell size. The actual cell size may be slightly larger.

clearaabbtree_mInterface
compute_ic0stats_mSubroutine

Computes statistics for a single chain in unbounded domain.

compute_ic1stats_mSubroutine

Computes statistics for possibly multiple chains in a periodic domain.

control_readcontrol_mSubroutine

Reads simulation control parameters from file

control_writecontrol_mSubroutine

Write simulation parameters to file

crossutils_math_mSubroutine

Calculates the cross product between two 3-element vectors

cross_matutils_math_mSubroutine

Calculates the cross product matrix of a 3-element vector. The cross product matrix A of a is defined as a x b = A . b, where b is another 3-element vector.

deg2radutils_math_mSubroutine
deleteaabbtree_mInterface
delete_streamrandom_mSubroutine

Deletes a BRNG stream.

detutils_math_mFunction

Returns the determinant of an (N x N) matrix, where N = 2, 3, or 4.

Read more…
dqsortqsort_mSubroutine

Sorts a sequence of reals

dsyevc3utils_math_mSubroutine

Calculates the eigenvalues of a symmetric 3x3 matrix A using Cardano's analytical algorithm. Only the diagonal and upper triangular parts of A are accessed. The access is read-only.

Read more…
dvector_appendvector_mSubroutine

Adds an element to the end of a dvector. Reallocation will take place if required.

dvector_assignvector_mSubroutine

Copies the contents of dvector other to dvector this

dvector_clearvector_mSubroutine

Clears a dvector. Access allowed after a call to clear.

dvector_deletevector_mSubroutine

Deletes a dvector. No access is allowed to this object after this call.

dvector_from_arrayvector_mSubroutine

Creates a dvector with all elements from an array

dvector_get_datavector_mSubroutine

Returns a pointer to the underlying data of a dvector

dvector_get_lenvector_mFunction

Returns the length of a dvector

dvector_get_valvector_mFunction

Returns the ith element of a dvector.

dvector_initvector_mSubroutine

Creates an empty dvector with all elements equal to zero.

dvector_initvector_mInterface
dvector_popvector_mFunction

Removes the last element and returns it. Calling this method on an empty list

dvector_printvector_mSubroutine

Prints a dvector

dvector_resizevector_mSubroutine

Resizes a vector to a given size. Existing data is truncated if desired size is smaller than current size. Otherwise, the empty spaces are filled with zero.

dvector_set_valvector_mSubroutine

Sets the value of the ith element of a dvector. No bounds check is performed.

dvector_shrink_to_fitvector_mSubroutine

Releases additional memory to fit underlying data of a dvector to a size this%len_init.

dvector_sortvector_mSubroutine

Sorts a dvector in ascending order. If order is provided, it will contain the sorted indices. The size of order must be at least this%len.

dvector_uniquevector_mSubroutine

Sorts and removes all duplicate entries of a dvector. Note that the internal buffer size remains unchanged. To reduce the buffer size, call dvector_shrink_to_fit.

eigval_33rsymutils_math_mSubroutine

Calculates the eigenvalues of a 3 x 3 real symmetric matrix. The eigenvalues calculated are in decreasing order. Only the diagonal and lower triangular part of the matrix is accessed.

Read more…
exat_buildconnectivity_mSubroutine

Before a call to this first build atbo_tab.

finishsetup_mSubroutine
fs_acquireaabbtree_mInterface
fs_returnaabbtree_mInterface
get_aabbaabbtree_mInterface
get_diagonalutils_math_mSubroutine

Returns the diagonal elements of a square matrix.

get_heightaabbtree_mInterface
get_iuniformrandom_mFunction

Returns a random integer from a uniform distribution.

get_max_balanceaabbtree_mInterface
get_num_atomsaabbtree_mInterface
get_quad_formutils_math_mFunction

Calculates the quadratic form x^T A x, where A is an n x n matrix and x is a vector of length n

get_rv_gaussianrandom_mSubroutine

Generates a random vector of integers from a gaussian distribution.

get_rv_iuniformrandom_mSubroutine

Returns a random vector of integers from a uniform distribution.

get_rv_uniformrandom_mSubroutine

Returns a random vector from a uniform distribution.

Read more…
get_srfarea_ratioaabbtree_mInterface
get_uniformrandom_mFunction

Returns a random number from a uniform distribution.

hms_current_hmstimestamp_mSubroutine

HMS_CURRENT_HMS returns the current HMS time as integers.

Read more…
hms_current_printtimestamp_mSubroutine

HMS_CURRENT_PRINT prints the current HMS time, and a user specified string.

Read more…
hms_current_stringtimestamp_mSubroutine

HMS_CURRENT_STRING writes the current HMS data into a string.

Read more…
hms_delta_printtimestamp_mSubroutine

HMS_DELTA_PRINT prints the change in HMS time, and a user specified string.

Read more…
i_dvector_assignvector_mSubroutine

Copies the contents of ivector other to dvector this. Integers are cast to reals.

ia_add_angle_forcesinteraction_mSubroutine

Calculates forces & energy due to all angles. Will add to energy_angle & 'forces`.

ia_add_bond_forcesinteraction_mSubroutine

Calculates forces & energy due to all bonds. Will add to energy_bond & and 'forcesin modulem_globals`.

ia_add_dihedral_forcesinteraction_mSubroutine

Calculates forces & energy due to all dihedrals. Will add to energy_dihedral & 'forces`.

ia_add_external_forcesia_external_mSubroutine

Calculates the force and energy due to an external field and adds to energy_external, 'forces, &stress`.

ia_add_tether_forcesinteraction_mSubroutine

Calculates forces & energy due to all tethers. Will add to energy_tether & 'forces`. Tether forces are not subject to periodic boundary conditions.

ia_add_vdw_forcesinteraction_mSubroutine

Calculates force and energy due to all short-ranged non-bonded pairwise interactions based on pair_tab.

ia_angle_setupia_angle_mSubroutine

Sets up parameters for angle potentials

ia_bond_setupia_bond_mSubroutine

Sets up parameters for bond potentials

ia_calc_forcesinteraction_mSubroutine

Calculates total forces and energies

ia_dihedral_setupia_dihedral_mSubroutine

Sets up parameters for dihedral potentials

ia_external_setupia_external_mSubroutine

Sets up parameters for external potentials. Usually there is nothing to set for externals, but this acts as a placeholder for special cases.

ia_finishinteraction_mSubroutine

Cleanup routine for interaction calculation.

ia_get_angle_forceia_angle_mSubroutine

Calculates the energy & force due to an angle.

ia_get_bond_forceia_bond_mSubroutine

Calculates the energy & its derivative due to a bond.

ia_get_dihedral_forceia_dihedral_mSubroutine

Calculates the force & energy due to a dihedral.

ia_get_tether_forceia_tether_mSubroutine

Calculates the energy and its derivative due to a tether.

ia_get_vdw_forceia_vdw_mSubroutine

Calculates the energy & its derivative due to a single interacting pair of atoms.

ia_setupinteraction_mSubroutine

Builds necessary neighbor tables and sets up parameters for potentials.

ia_tether_setupia_tether_mSubroutine

Sets up parameters for tether potentials

ia_vdw_setupia_vdw_mSubroutine

Sets up parameters for vdw potentials

identityutils_math_mSubroutine

Creates an identity matrix of size n x n.

initaabbtree_mInterface
init_streamrandom_mSubroutine

Initializes a BRNG stream.

Read more…
insertaabbtree_mInterface
insert_leafaabbtree_mInterface
integrate_embd_solver_mSubroutine

Performs one step of BD integration using explicit Euler-Maruyama scheme.

integrate_sebd_solver_mSubroutine

Performs one step of BD integration using semi-implicit Euler scheme.

invert_mat33utils_math_mSubroutine

Inverts a 3x3 matrix.

Read more…
iqsortqsort_mSubroutine

Sorts a sequence of integers

iscloseutils_math_mFunction

Checks if two floating point numbers of type double are close within tolerance.

Read more…
itbl_appendtable_mSubroutine

Appends an element val to row irow.

itbl_cleartable_mSubroutine

Clears all rows. Does not deallocate memory.

itbl_deletetable_mSubroutine

Deletes an itable_t. No access is allowed to this object after this call.

itbl_get_rowtable_mSubroutine

Returns a pointer to the row data of irow. No bounds checking is performed.

itbl_get_valtable_mFunction

Returns the jth element of row irow

itbl_inittable_mSubroutine

Creates an empty itable_t with num_rows rows and all rows having zero elements.

itbl_is_intable_mFunction

Returns .true. if val is in row irow, .false. otherwise.

itbl_printtable_mSubroutine

Prints an itable_t.

itbl_set_valtable_mSubroutine

Sets the value of the jth element of row irow.

itbl_shrink_to_fittable_mSubroutine

Releases additional memory to fit underlying data.

ivector_appendvector_mSubroutine

Adds an element to the end of an ivector. Reallocation will take place if required.

ivector_assignvector_mSubroutine

Copies the contents of ivector other to ivector this

ivector_clearvector_mSubroutine

Clears an ivector. Access allowed after a call to clear.

ivector_deletevector_mSubroutine

Deletes an ivector. No access is allowed to this object after this call.

ivector_from_arrayvector_mSubroutine

Creates an ivector with all elements from an array

ivector_get_datavector_mSubroutine

Returns a pointer to the underlying data of an ivector

ivector_get_lenvector_mFunction

Returns the length of an ivector

ivector_get_valvector_mFunction

Returns the ith element of an ivector.

ivector_initvector_mSubroutine

Creates an empty ivector with all elements equal to zero.

ivector_initvector_mInterface
ivector_popvector_mFunction

Removes the last element and returns it. Calling this method on an empty list

ivector_printvector_mSubroutine

Prints an ivector

ivector_resizevector_mSubroutine

Resizes a vector to a given size. Existing data is truncated if desired size is smaller than current size. Otherwise, the empty spaces are filled with zero.

ivector_set_valvector_mSubroutine

Sets the value of the ith element of an ivector. No bounds check is performed.

ivector_shrink_to_fitvector_mSubroutine

Releases additional memory to fit underlying data of an ivector to a size this%len_init.

ivector_sortvector_mSubroutine

Sorts an ivector in ascending order. If order is provided, it will contain the sorted indices. The size of order must be at least this%len.

ivector_uniquevector_mSubroutine

Sorts and removes all duplicate entries of an ivector. Note that the internal buffer size remains unchanged. To reduce the buffer size, call ivector_shrink_to_fit.

linspaceutils_math_mSubroutine

Generates evenly spaced numbers over a specified interval. Both end points are included. If start < finish, the returned step size (if step is present) will be negative.

load_streamrandom_mSubroutine

Loads a BRNG stream from file fn.

logger_finishlogger_mSubroutine

Cleanup routine for a logger_t instance.

logger_initlogger_mSubroutine

Initializes a logger.

logger_log_msglogger_mSubroutine

Write a message to the log file.

logspaceutils_math_mSubroutine

Generates numbers spaced evenly on a log scale. In linear space, the sequence starts at base ** start (base to the power of start) and ends with base ** stop

multiply_transposeutils_math_mSubroutine

Multiplies a matrix with its transpose:

nitbtnitbt.fSubroutine
nitdrvnitdrv.fSubroutine
nitfdnitjv.fSubroutine
nitgmnitgm.fSubroutine
nitjvnitjv.fSubroutine
nitsolnitsol.fSubroutine
nitstbnitstb.fSubroutine
nittfqnittfq.fSubroutine
node_asstraabbtree_mInterface
node_initaabbtree_mInterface
node_isleafaabbtree_mInterface
operator(+)aabb_mInterface
orthutils_math_mSubroutine

Orthogonalizes a set of vectors in-place using Gram-Schmidt orthonormalization

Read more…
outerutils_math_mSubroutine

Calculates the outer product of two vectors, .

printaabbtree_mInterface
pt_buildpairtab_mSubroutine

Builds a pair table. The resulting table is stored in the module variable pair_tab.

pt_deletepairtab_mSubroutine

Cleanup for pair list calculation.

pt_initpairtab_mSubroutine

Performs initial setup for building a pair list.

query_waabbaabbtree_mInterface
query_watmaabbtree_mInterface
query_watmaabbaabbtree_mInterface
rad2degutils_math_mSubroutine
ransphererandom_mSubroutine

Generates a random vector from the surface of a unit sphere.

Read more…
read_configconfig_io_mSubroutine

Read from CONFIG file

read_dumpconfig_io_mSubroutine

Reads from DUMP file

readlinestrings_mSubroutine

Reads a line from unit=nunitr, ignoring blank lines and deleting comments

rebuildaabbtree_mInterface
removeaabbtree_mInterface
remove_allaabbtree_mInterface
remove_leafaabbtree_mInterface
runsetup_mSubroutine
save_seedrandom_mSubroutine

Saves the RNG seed to file fn.

save_streamrandom_mSubroutine

Saves a BRNG stream to file fn.

scalar_triple_productutils_math_mFunction

Returns the scalar triple product a.(b x c)

se_fvalbd_solver_mSubroutine

Calculates the nonlinear function.

se_jacvbd_solver_mSubroutine

Calculates jacobian times vector product. This is a dummy subroutine.

smbx_freezesimbox_mSubroutine

Specifies this as non-deforming.

smbx_get_imagesimbox_mSubroutine

Returns the image of r under PBC.

smbx_get_rnd_pointssimbox_mSubroutine

Returns uniformly distributed points within the box.

smbx_initsimbox_mSubroutine

Initializes an instance of smbx_t. Can also be called to reset.

smbx_set_basissimbox_mSubroutine

Sets all three basis vectors.

smbx_to_centersimbox_mSubroutine

Adjusts atom positions such that the c.o.m. of the atoms is at the center of the box. Assumes all atoms to have the same mass and aligned axis. Optionally returns the original c.o.m.

smbx_to_originsimbox_mSubroutine

Adjusts atom positions such that the c.o.m. of the atoms is at the origin. Assumes all atoms to have the same mass and aligned axis. Optionally returns the original c.o.m.

smbx_unfreezesimbox_mSubroutine

Specifies this as deforming.

smbx_wrap_allsimbox_mSubroutine

Wraps atom positions w.r.t. periodic boundary conditions.

stats_accumulatestats_mSubroutine

Accumulates statistics.

stats_finishstats_mSubroutine

Clean up for stats collection.

stats_initstats_mSubroutine

Set up for stats collection

stats_writestats_mSubroutine

Writes statistics to fn_stats.

str_appendstrings_mSubroutine

Appends a copy of the source string to the dest string, with optional string sep in between. It is assumed that dest is long enough to hold the result, otherwise an error will be generated.

str_compactstrings_mFunction

Returns a copy of str with multiple spaces and tabs converted to single spaces, control characters deleted, and leading and trailing spaces removed.

str_compact_rlstrstrings_mSubroutine

Compact a string representing a real number, so that the same value is displayed with fewer characters.

str_delstrings_mSubroutine

Deletes first n occurrences of substring substr from string str and shifts characters left to fill hole. If n < 0, all occurances are deleted. If n is not explicitly provided, it defaults to removing the first occurrence. Trailing spaces or blanks are not considered part of substr.

str_endswithstrings_mFunction

Returns .true. if the string str ends with suffix, otherwise return .false.. With optional start, test beginning at that position. With optional finish, stop comparing beyond that position.

str_from_dnumstrings_mFunction
str_from_ilnumstrings_mFunction
str_from_inumstrings_mFunction
str_from_numstrings_mInterface

Generic interface for writing a number to a string. The calling syntax is str_from_num(num, frmt) where number is a real number or an integer, format is the format desired, e.g., e15.6, i5, etc.

str_get_keyvalstrings_mSubroutine

Split a string str into two strings, key and val based on space delimiter.

Read more…
str_insertstrings_mSubroutine

Inserts the string substr into the string str at position loc. Characters in str starting at position loc are shifted right to make room for the inserted string. Trailing spaces of substr are removed prior to insertion.

str_is_commentstrings_mFunction

Returns .true. if line is a comment, .false. other wise.

Read more…
str_is_digitstrings_mFunction

Returns .true. if str contains only digits (0,1,...,9) and .false. otherwise.

str_is_letterstrings_mFunction

Returns .true. if str contains only letters (a--z or A--Z) and .false. otherwise.

str_is_spacestrings_mFunction

Returns .true. if str is non-empty and contains only whitespace characters (tab or blankspace). Otherwise .false. is returned.

Read more…
str_matchstrings_mSubroutine

This routine finds the delimiter in string str that matches the delimiter in position ipos of str. The argument imatch contains the position of the matching delimiter. Allowable delimiters are (), [], {}, <>.

str_remove_stccstrings_mFunction

Returns a copy of the string str with spaces, tabs, and control characters removed.

str_shiftstrings_mSubroutine

Shifts characters in str by n positions (positive values denote a right shift and negative values denote a left shift). Characters that are shifted off the end are lost. Positions opened up by the shift are replaced by spaces.

str_splitstrings_mSubroutine

Routine finds the first instance of a character from delims in the the string str. The characters before the found delimiter are output in before. The characters after the found delimiter are output in str. Repeated applications of this routine can be used to parse a string into its component parts. Multiple whitespaces of str are compacted into a single whitespace before splitting begins. If either str or delimiter is empty, an empty string is retured in before and str remains unchanged.

str_startswithstrings_mFunction

Returns .true. if the string str starts with prefix, otherwise returns .false.. With optional start, test beginning at that position. With optional finish, stop comparing beyond that position.

str_stripstrings_mFunction

Returns a copy of string str with the leading and trailing characters removed. The chars argument is a string specifying the set of characters to be removed. The chars argument is not a prefix or suffix; rather, all combinations of its values are stripped. If ends = 'l', only leading characters are removed, if ends = 'r', only trailing characters are removed, and if ends = 'b' both leading and trailing characters are removed.

str_strip_commentstrings_mSubroutine

Strips trailing comment from a string.

Read more…
str_to_dstrings_mFunction
str_to_istrings_mFunction
str_to_lowerstrings_mFunction

This function returns a string that is like the string str with all characters that are not between a pair of quotes ("..." or '...') converted to lowercase.

str_to_upperstrings_mFunction

This function returns a string that is like the string str with all characters that are not between a pair of quotes ("..." or '...') converted to uppercase.

str_trimzerostrings_mFunction

Deletes nonsignificant trailing zeroes from number string str. If number string ends in a decimal point, one trailing zero is added.

subtract_transposeutils_math_mSubroutine

Calculates the difference of a square matrix and its transpose in place:

swaputils_math_mInterface

Swaps two arrays

swap_complexutils_math_mSubroutine
swap_integerutils_math_mSubroutine
swap_realutils_math_mSubroutine
teth_harmia_tether_mSubroutine

Calculates energy and its derivative for harmonic tether interaction. See teth_harm_set.

teth_harm_setia_tether_mSubroutine

Setter for harmonic tether interaction.

Read more…
teth_rigidia_tether_mSubroutine

Not implemented, needs constraint formalism. See teth_rigid_set.

Read more…
teth_rigid_setia_tether_mSubroutine

Setter for rigid tether interaction.

Read more…
timestamptimestamp_mSubroutine

TIMESTAMP prints the current YMDHMS date as a time stamp.

Read more…
timestringtimestamp_mSubroutine

TIMESTRING writes the current YMDHMS date into a string.

Read more…
traceutils_math_mFunction

Returns the trace of a square matrix

traj_append_frametrajectory_mSubroutine

Write a frame to an open trajectory

traj_closetrajectory_mSubroutine

Closes the underlying file of a trajectory_t.

traj_createtrajectory_mSubroutine

Creates a trajectory_t object with a new underlying file named fn. If fn already exists, it will be truncated. The file fn is opened for both reading and writing.

traj_deletetrajectory_mSubroutine

After a call to this subroutine, all memory within this is deallocated, all components of this are reset to zero, and the underlying file is closed (if open).

traj_opentrajectory_mSubroutine

Creates a trajectory_t object with a prexisting underlying file named fn. If fn does not exist, an error will be generated. If mode == 'rw', the file fn is opened for both reading and writing. If mode == 'r', the file fn is opened only for reading.

traj_readtrajectory_mSubroutine

Read from an open trajectory.

traj_write_frametrajectory_mSubroutine

Write a frame to an open trajectory

unitizeutils_math_mSubroutine

Normalizes a vector in-place. If the magnitude of the vector is nearly zero, no normalization takes place and the vector is returned as is with a warning message.

update_fatmaabbtree_mInterface
update_fatmaabbaabbtree_mInterface
validateaabbtree_mInterface
validate_metricsaabbtree_mInterface
validate_structureaabbtree_mInterface
vdw_cosineia_vdw_mSubroutine

Evaluates the potential and its derivative for cosine interaction. See vdw_cosine_set.

vdw_cosine_setia_vdw_mSubroutine

Setter for cosine interaction.

Read more…
vdw_dpdia_vdw_mSubroutine

Evaluates the potential and its derivative for standard DPD interaction. See vdw_dpd_set.

vdw_dpd_setia_vdw_mSubroutine

Setter for standard DPD interaction.

Read more…
vdw_gaussiania_vdw_mSubroutine

Calculates energy & its derivative for gaussian interaction. See vdw_gaussian_set.

vdw_gaussian_setia_vdw_mSubroutine

Setter for gaussian interaction. The potential is truncated and force-shifted.

Read more…
vdw_ljia_vdw_mSubroutine

Evaluates the potential and its derivative for LJ interaction. See vdw_lj_set.

vdw_lj_coulia_vdw_mSubroutine

Evaluates the potential and its derivative for Coulombic interaction combined with 12-6 LJ (cut & shifted). See vdw_lj_coul_set.

vdw_lj_coul_debyeia_vdw_mSubroutine

Evaluates the potential and its derivative for screened Coulombic interaction combined with 12-6 LJ (cut & shifted). See vdw_lj_coul_debye_set.

vdw_lj_coul_debye_setia_vdw_mSubroutine

Setter for 12-6 LJ with screened Coulombic interaction.

Read more…
vdw_lj_coul_setia_vdw_mSubroutine

Setter for 12-6 LJ with Coulombic interaction.

Read more…
vdw_lj_setia_vdw_mSubroutine

Setter for 12-6 LJ (truncated & force-shifted) interaction.

Read more…
vector_triple_productutils_math_mSubroutine

Returns the vector triple product d = a x (b x c)

write_configconfig_io_mSubroutine

Write to cfg file

write_dumpconfig_io_mSubroutine

Writes to DUMP file.

write_hdrstats_mSubroutine

Writes header of the file fn_stats.

write_ldfconfig_io_mSubroutine

Write to a LAMMPS data file.

write_xyzconfig_io_mSubroutine

Write to an XYZ file.

zero_outstats_mSubroutine
call~~graph~~CallGraph proc~nitdrv nitdrv proc~nitbt nitbt proc~nitdrv->proc~nitbt dfloat dfloat proc~nitdrv->dfloat dcopy dcopy proc~nitdrv->dcopy dlamch dlamch proc~nitdrv->dlamch proc~swap_real swap_real proc~ia_dihedral_setup ia_dihedral_setup proc~hms_current_hms hms_current_hms proc~dvector_print dvector_print proc~dvector_get_len dvector_get_len proc~outer outer proc~brn_init brn_init proc~bond_kg bond_kg interface~str_from_num str_from_num proc~bond_kg->interface~str_from_num proc~aabb_print aabb_print proc~aabb_print->interface~str_from_num proc~aabb_get_extent aabb_get_extent proc~query_waabb query_waabb proc~get_height get_height proc~get_srfarea_ratio get_srfarea_ratio proc~print print proc~dvector_pop dvector_pop proc~build_pt_aabbtree build_pt_aabbtree interface~ivector_init ivector_init proc~build_pt_aabbtree->interface~ivector_init proc~bds_finish bds_finish proc~brn_finish brn_finish proc~bds_finish->proc~brn_finish proc~node_asstr node_asstr proc~node_asstr->interface~str_from_num proc~calc_bdw_blanc calc_bdw_blanc dgeqp3 dgeqp3 proc~calc_bdw_blanc->dgeqp3 dsbevd dsbevd proc~calc_bdw_blanc->dsbevd dorgqr dorgqr proc~calc_bdw_blanc->dorgqr proc~hms_current_print hms_current_print proc~hms_current_string hms_current_string proc~hms_current_print->proc~hms_current_string proc~ia_add_vdw_forces ia_add_vdw_forces proc~pt_build pt_build proc~ia_add_vdw_forces->proc~pt_build proc~ia_get_vdw_force ia_get_vdw_force proc~ia_add_vdw_forces->proc~ia_get_vdw_force proc~str_startswith str_startswith proc~brn_calc_bdw brn_calc_bdw proc~brn_calc_bdw->proc~calc_bdw_blanc proc~calc_bdw_cholesky calc_bdw_cholesky proc~brn_calc_bdw->proc~calc_bdw_cholesky proc~calc_bdw_lanc calc_bdw_lanc proc~brn_calc_bdw->proc~calc_bdw_lanc proc~bds_run bds_run proc~integrate_se integrate_se proc~bds_run->proc~integrate_se proc~stats_write stats_write proc~bds_run->proc~stats_write proc~integrate_em integrate_em proc~bds_run->proc~integrate_em proc~stats_accumulate stats_accumulate proc~bds_run->proc~stats_accumulate proc~write_dump write_dump proc~bds_run->proc~write_dump str_from_num str_from_num proc~bds_run->str_from_num proc~clear clear proc~ivector_get_len ivector_get_len proc~build_pt_n2 build_pt_n2 proc~swap_complex swap_complex proc~bond_ms_set bond_ms_set proc~str_is_comment str_is_comment proc~str_strip str_strip proc~rebuild rebuild proc~rebuild->interface~ivector_init proc~remove_leaf remove_leaf proc~bond_harm_set bond_harm_set proc~nitgm nitgm dsin dsin proc~nitgm->dsin dscal dscal proc~nitgm->dscal proc~nitgm->dfloat dacos dacos proc~nitgm->dacos proc~nitgm->dcopy 2 2 proc~nitgm->2 proc~nitgm->dlamch daxpy daxpy proc~nitgm->daxpy proc~dsyevc3 dsyevc3 proc~ivector_get_val ivector_get_val dtrmm dtrmm proc~calc_bdw_cholesky->dtrmm dpotrf dpotrf proc~calc_bdw_cholesky->dpotrf proc~str_compact str_compact proc~traj_write_frame traj_write_frame proc~atat_build atat_build proc~itbl_init itbl_init proc~atat_build->proc~itbl_init proc~atat_build->interface~ivector_init proc~ivector_pop ivector_pop proc~hms_delta_print hms_delta_print proc~hms_delta_print->proc~hms_current_hms proc~nitsol nitsol proc~integrate_se->proc~nitsol proc~calc_diffusion calc_diffusion proc~integrate_se->proc~calc_diffusion proc~cl_get_contents cl_get_contents proc~delete delete proc~unitize unitize proc~isclose isclose proc~unitize->proc~isclose proc~balance balance nodes nodes proc~balance->nodes proc~dvector_append dvector_append proc~bds_init bds_init proc~bds_init->proc~brn_init proc~brn_calc_dw brn_calc_dw proc~get_rv_gaussian get_rv_gaussian proc~brn_calc_dw->proc~get_rv_gaussian proc~scalar_triple_product scalar_triple_product proc~stats_init stats_init proc~write_hdr write_hdr proc~stats_init->proc~write_hdr proc~zero_out zero_out proc~stats_init->proc~zero_out proc~aabb_clear aabb_clear proc~aabb_update aabb_update proc~vector_triple_product vector_triple_product proc~insert insert proc~str_trimzero str_trimzero proc~ivector_get_data ivector_get_data proc~pt_init pt_init proc~pt_init->proc~atat_build proc~exat_build exat_build proc~pt_init->proc~exat_build proc~pt_init->proc~itbl_init proc~cl_init cl_init proc~pt_init->proc~cl_init proc~cl_build_cell_nbrs cl_build_cell_nbrs proc~pt_init->proc~cl_build_cell_nbrs proc~cl_set_cell_size cl_set_cell_size proc~pt_init->proc~cl_set_cell_size proc~run run proc~run->proc~bds_run proc~run->proc~bds_init proc~run->proc~stats_init proc~finish finish proc~run->proc~finish proc~read_dump read_dump proc~run->proc~read_dump proc~init_stream init_stream proc~run->proc~init_stream proc~read_config read_config proc~run->proc~read_config proc~ia_setup ia_setup proc~run->proc~ia_setup proc~str_to_upper str_to_upper proc~vdw_gaussian vdw_gaussian proc~remove_all remove_all proc~remove remove proc~dvector_resize dvector_resize proc~str_is_digit str_is_digit proc~cl_print cl_print proc~cl_print->proc~cl_get_contents proc~cl_get_nbr_cells cl_get_nbr_cells proc~cl_print->proc~cl_get_nbr_cells proc~dvector_get_val dvector_get_val proc~ivector_resize ivector_resize proc~pt_delete pt_delete proc~cl_delete cl_delete proc~pt_delete->proc~cl_delete proc~pt_build->proc~build_pt_aabbtree proc~pt_build->proc~build_pt_n2 proc~build_pt_verlet build_pt_verlet proc~pt_build->proc~build_pt_verlet proc~build_pt_cell_list build_pt_cell_list proc~pt_build->proc~build_pt_cell_list proc~aabb_includes aabb_includes proc~get_num_atoms get_num_atoms proc~nitbt->dscal proc~nitbt->2 proc~ivector_append ivector_append proc~identity identity proc~dvector_get_data dvector_get_data proc~get_max_balance get_max_balance proc~atmcfg_delete atmcfg_delete proc~cl_get_num_cells cl_get_num_cells proc~str_split str_split proc~str_split->proc~str_compact proc~get_aabb get_aabb proc~traj_append_frame traj_append_frame proc~str_to_i str_to_i proc~readline readline proc~readline->proc~str_is_comment proc~str_strip_comment str_strip_comment proc~readline->proc~str_strip_comment proc~finish->proc~bds_finish proc~finish->proc~atmcfg_delete proc~stats_finish stats_finish proc~finish->proc~stats_finish proc~ia_finish ia_finish proc~finish->proc~ia_finish proc~fs_acquire fs_acquire proc~validate validate proc~vdw_dpd_set vdw_dpd_set proc~bond_kg_set bond_kg_set proc~str_to_d str_to_d proc~str_from_inum str_from_inum proc~det det proc~ivector_set_val ivector_set_val proc~exat_build->proc~itbl_init proc~exat_build->interface~ivector_init proc~linspace linspace proc~get_diagonal get_diagonal proc~atan_build atan_build proc~atan_build->proc~itbl_init proc~atdh_build atdh_build proc~atdh_build->proc~itbl_init proc~logspace logspace proc~logspace->proc~linspace proc~insert_leaf insert_leaf proc~timestamp timestamp proc~ia_add_bond_forces ia_add_bond_forces proc~ia_get_bond_force ia_get_bond_force proc~ia_add_bond_forces->proc~ia_get_bond_force proc~ia_bond_setup ia_bond_setup proc~aabb_fatten aabb_fatten proc~traj_read traj_read proc~calc_bdw_lanc_sor calc_bdw_lanc_sor proc~str_endswith str_endswith proc~ia_get_angle_force ia_get_angle_force proc~atbo_build atbo_build proc~atbo_build->proc~itbl_init proc~str_remove_stcc str_remove_stcc proc~bond_fene bond_fene proc~bond_fene->interface~str_from_num interface~operator(+) operator(+) proc~aabb_union aabb_union interface~operator(+)->proc~aabb_union proc~allclose_rank2 allclose_rank2 proc~allclose_rank2->proc~isclose proc~se_fval se_fval proc~calc_drift calc_drift proc~se_fval->proc~calc_drift proc~init init proc~init->interface~ivector_init proc~ia_vdw_setup ia_vdw_setup proc~str_append str_append proc~dvector_set_val dvector_set_val proc~stats_finish->proc~zero_out proc~integrate_em->proc~calc_drift proc~integrate_em->proc~calc_diffusion proc~aabb_init aabb_init interface~node_isleaf node_isleaf proc~node_isleaf node_isleaf interface~node_isleaf->proc~node_isleaf proc~trace trace proc~add_transpose add_transpose proc~itbl_init->interface~ivector_init proc~query_watmaabb query_watmaabb interface~node_asstr node_asstr interface~node_asstr->proc~node_asstr proc~ransphere ransphere proc~get_rv_uniform get_rv_uniform proc~ransphere->proc~get_rv_uniform proc~itbl_delete itbl_delete proc~cl_init->interface~ivector_init proc~logger_init logger_init proc~compute_ic1 compute_ic1 proc~stats_accumulate->proc~compute_ic1 proc~compute_ic0 compute_ic0 proc~stats_accumulate->proc~compute_ic0 proc~aabb_overlaps aabb_overlaps proc~node_init node_init vslnewstream vslnewstream proc~init_stream->vslnewstream proc~update_fatm update_fatm proc~smbx_set_basis smbx_set_basis proc~ia_external_setup ia_external_setup proc~traj_create traj_create proc~cl_build cl_build proc~nitfd nitfd proc~nitfd->dscal proc~nitfd->dlamch proc~nitfd->daxpy proc~str_compact_rlstr str_compact_rlstr proc~itbl_append itbl_append proc~traj_open traj_open proc~ia_get_bond_force->proc~bond_kg proc~ia_get_bond_force->proc~bond_fene proc~bond_ms bond_ms proc~ia_get_bond_force->proc~bond_ms proc~bond_harm bond_harm proc~ia_get_bond_force->proc~bond_harm proc~smbx_to_origin smbx_to_origin proc~dvector_delete dvector_delete proc~str_is_space str_is_space proc~logger_log_msg logger_log_msg proc~timestring timestring proc~logger_log_msg->proc~timestring proc~ia_get_tether_force ia_get_tether_force proc~teth_harm teth_harm proc~ia_get_tether_force->proc~teth_harm proc~teth_rigid teth_rigid proc~ia_get_tether_force->proc~teth_rigid proc~bond_fene_set bond_fene_set proc~bond_ms->interface~str_from_num proc~teth_harm_set teth_harm_set proc~nittfq nittfq proc~nitjv nitjv proc~nittfq->proc~nitjv proc~nittfq->dscal dswap dswap proc~nittfq->dswap proc~nittfq->dcopy proc~nittfq->dlamch proc~nittfq->daxpy proc~dvector_sort dvector_sort proc~dqsort dqsort proc~dvector_sort->proc~dqsort proc~str_del str_del proc~smbx_freeze smbx_freeze proc~ia_calc_forces ia_calc_forces proc~calc_drift->proc~ia_calc_forces dsymv dsymv proc~calc_drift->dsymv proc~load_stream load_stream vslloadstreamf vslloadstreamf proc~load_stream->vslloadstreamf proc~aabb_calc_center aabb_calc_center proc~smbx_init smbx_init proc~itbl_clear itbl_clear proc~traj_close traj_close proc~get_quad_form get_quad_form proc~get_rv_iuniform get_rv_iuniform virnguniform virnguniform proc~get_rv_iuniform->virnguniform proc~update_fatmaabb update_fatmaabb proc~allclose_rank3 allclose_rank3 proc~allclose_rank3->proc~isclose proc~itbl_get_val itbl_get_val proc~ang_cos_set ang_cos_set proc~smbx_unfreeze smbx_unfreeze proc~itbl_get_row itbl_get_row proc~validate_structure validate_structure proc~multiply_transpose multiply_transpose proc~str_to_lower str_to_lower proc~control_read control_read proc~control_read->proc~readline proc~control_read->proc~str_to_d proc~str_get_keyval str_get_keyval proc~control_read->proc~str_get_keyval proc~ia_get_dihedral_force ia_get_dihedral_force proc~dvector_shrink_to_fit dvector_shrink_to_fit proc~delete_stream delete_stream vsldeletestream vsldeletestream proc~delete_stream->vsldeletestream proc~dvector_from_array dvector_from_array interface~dvector_init dvector_init proc~dvector_from_array->interface~dvector_init proc~orth orth proc~itbl_set_val itbl_set_val interface~get_num_atoms get_num_atoms interface~get_num_atoms->proc~get_num_atoms proc~read_config->proc~str_startswith proc~read_config->proc~str_split proc~read_config->proc~str_to_i proc~read_config->proc~readline interface~get_aabb get_aabb interface~get_aabb->proc~get_aabb proc~logger_finish logger_finish interface~get_height get_height interface~get_height->proc~get_height interface~swap swap interface~swap->proc~swap_real interface~swap->proc~swap_complex proc~swap_integer swap_integer interface~swap->proc~swap_integer proc~itbl_shrink_to_fit itbl_shrink_to_fit interface~get_max_balance get_max_balance interface~get_max_balance->proc~get_max_balance proc~ivector_unique ivector_unique proc~iqsort iqsort proc~ivector_unique->proc~iqsort proc~rad2deg rad2deg interface~get_srfarea_ratio get_srfarea_ratio interface~get_srfarea_ratio->proc~get_srfarea_ratio proc~calc_rpy_tensor calc_rpy_tensor interface~balance balance interface~balance->proc~balance interface~calc_height calc_height proc~calc_height calc_height interface~calc_height->proc~calc_height proc~vdw_lj_coul_debye_set vdw_lj_coul_debye_set proc~dvector_clear dvector_clear proc~nitjv->proc~nitfd proc~nitjv->dcopy interface~fs_acquire fs_acquire interface~fs_acquire->proc~fs_acquire interface~str_from_num->proc~str_from_inum proc~str_from_dnum str_from_dnum interface~str_from_num->proc~str_from_dnum proc~str_from_ilnum str_from_ilnum interface~str_from_num->proc~str_from_ilnum interface~node_init node_init interface~node_init->proc~node_init interface~ivector_init->interface~ivector_init proc~ivector_from_array ivector_from_array interface~ivector_init->proc~ivector_from_array proc~write_config write_config interface~init init interface~init->proc~init proc~smbx_get_image smbx_get_image proc~deg2rad deg2rad vdrnggaussian vdrnggaussian proc~get_rv_gaussian->vdrnggaussian interface~print print interface~print->proc~print proc~aabb_calc_srfarea aabb_calc_srfarea interface~clear clear interface~clear->proc~clear proc~control_write control_write proc~control_write->interface~str_from_num proc~validate_metrics validate_metrics interface~delete delete interface~delete->proc~delete vdrnguniform vdrnguniform proc~get_rv_uniform->vdrnguniform interface~insert insert interface~insert->proc~insert proc~ia_add_external_forces ia_add_external_forces proc~str_is_letter str_is_letter interface~remove remove interface~remove->proc~remove proc~smbx_get_rnd_points smbx_get_rnd_points proc~smbx_get_rnd_points->proc~get_rv_uniform proc~ivector_delete ivector_delete interface~remove_all remove_all interface~remove_all->proc~remove_all interface~dvector_init->proc~dvector_from_array interface~dvector_init->interface~dvector_init proc~save_seed save_seed interface~update_fatm update_fatm interface~update_fatm->proc~update_fatm proc~ia_add_tether_forces ia_add_tether_forces proc~ia_add_tether_forces->proc~ia_get_tether_force proc~str_match str_match interface~update_fatmaabb update_fatmaabb interface~update_fatmaabb->proc~update_fatmaabb proc~itbl_print itbl_print proc~fs_return fs_return interface~query_watm query_watm proc~query_watm query_watm interface~query_watm->proc~query_watm proc~smbx_to_center smbx_to_center proc~ivector_clear ivector_clear interface~query_watmaabb query_watmaabb interface~query_watmaabb->proc~query_watmaabb proc~vdw_dpd vdw_dpd proc~ivector_print ivector_print interface~query_waabb query_waabb interface~query_waabb->proc~query_waabb interface~assignment(=) assignment(=) proc~i_dvector_assign i_dvector_assign interface~assignment(=)->proc~i_dvector_assign proc~ivector_assign ivector_assign interface~assignment(=)->proc~ivector_assign proc~dvector_assign dvector_assign interface~assignment(=)->proc~dvector_assign proc~cross cross interface~rebuild rebuild interface~rebuild->proc~rebuild proc~ivector_init ivector_init proc~subtract_transpose subtract_transpose proc~se_jacv se_jacv interface~validate validate interface~validate->proc~validate interface~insert_leaf insert_leaf interface~insert_leaf->proc~insert_leaf proc~traj_delete traj_delete proc~str_insert str_insert proc~str_shift str_shift proc~str_insert->proc~str_shift interface~remove_leaf remove_leaf interface~remove_leaf->proc~remove_leaf proc~dvector_unique dvector_unique proc~dvector_unique->proc~dqsort proc~ia_add_dihedral_forces ia_add_dihedral_forces proc~ia_add_dihedral_forces->proc~ia_get_dihedral_force interface~fs_return fs_return interface~fs_return->proc~fs_return proc~calc_diffusion->proc~brn_calc_bdw proc~calc_diffusion->proc~brn_calc_dw proc~calc_diffusion->proc~calc_rpy_tensor proc~build_pt_cell_list->proc~cl_get_contents proc~build_pt_cell_list->proc~cl_get_num_cells proc~build_pt_cell_list->proc~cl_get_nbr_cells proc~build_pt_cell_list->proc~cl_build interface~validate_structure validate_structure interface~validate_structure->proc~validate_structure proc~save_stream save_stream vslsavestreamf vslsavestreamf proc~save_stream->vslsavestreamf proc~itbl_is_in itbl_is_in interface~validate_metrics validate_metrics interface~validate_metrics->proc~validate_metrics proc~ia_get_vdw_force->proc~vdw_gaussian proc~ia_get_vdw_force->proc~vdw_dpd proc~vdw_lj vdw_lj proc~ia_get_vdw_force->proc~vdw_lj proc~vdw_cosine vdw_cosine proc~ia_get_vdw_force->proc~vdw_cosine proc~vdw_lj_coul vdw_lj_coul proc~ia_get_vdw_force->proc~vdw_lj_coul proc~vdw_lj_coul_debye vdw_lj_coul_debye proc~ia_get_vdw_force->proc~vdw_lj_coul_debye proc~dvector_init dvector_init proc~ivector_from_array->interface~ivector_init proc~allclose_rank1 allclose_rank1 proc~allclose_rank1->proc~isclose proc~vdw_gaussian_set vdw_gaussian_set proc~ivector_shrink_to_fit ivector_shrink_to_fit interface~allclose allclose interface~allclose->proc~allclose_rank2 interface~allclose->proc~allclose_rank3 interface~allclose->proc~allclose_rank1 proc~write_xyz write_xyz proc~smbx_wrap_all smbx_wrap_all proc~cross_mat cross_mat proc~vdw_lj_set vdw_lj_set proc~ia_setup->proc~ia_dihedral_setup proc~ia_setup->proc~pt_init proc~ia_setup->proc~ia_bond_setup proc~ia_setup->proc~ia_vdw_setup proc~ia_setup->proc~ia_external_setup proc~ia_tether_setup ia_tether_setup proc~ia_setup->proc~ia_tether_setup proc~ia_angle_setup ia_angle_setup proc~ia_setup->proc~ia_angle_setup proc~eigval_33rsym eigval_33rsym proc~eigval_33rsym->proc~identity proc~eigval_33rsym->proc~det proc~eigval_33rsym->proc~isclose proc~write_ldf write_ldf proc~vdw_lj_coul_set vdw_lj_coul_set proc~ivector_sort ivector_sort proc~ivector_sort->proc~iqsort proc~get_uniform get_uniform proc~get_uniform->vdrnguniform proc~ia_calc_forces->proc~ia_add_vdw_forces proc~ia_calc_forces->proc~ia_add_bond_forces proc~ia_calc_forces->proc~ia_add_external_forces proc~ia_calc_forces->proc~ia_add_tether_forces proc~get_iuniform get_iuniform proc~get_iuniform->virnguniform proc~str_from_dnum->proc~str_trimzero proc~nitstb nitstb proc~nitstb->proc~nitjv proc~nitstb->dscal proc~nitstb->dcopy proc~nitstb->dlamch proc~nitstb->daxpy proc~ia_add_angle_forces ia_add_angle_forces proc~ia_add_angle_forces->proc~ia_get_angle_force proc~ia_finish->proc~pt_delete proc~vdw_cosine_set vdw_cosine_set proc~invert_mat33 invert_mat33 proc~teth_rigid_set teth_rigid_set program~main main program~main->proc~run program~main->proc~str_get_keyval
Help