Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages

msmpot_setup.c File Reference

#include "msmpot_internal.h"

Go to the source code of this file.


Compounds

struct InterpParams_t

Typedefs

typedef InterpParams_t InterpParams

Functions

int Msmpot_check_params (Msmpot *msm, const float *epotmap, int mx, int my, int mz, float lx, float ly, float lz, float vx, float vy, float vz, const float *atom, int natoms)
void Msmpot_set_defaults (Msmpot *msm)
int Msmpot_configure (Msmpot *msm, int interp, int split, float cutoff, float hmin, int nlevels, float density, float binfill, float errtol, int usecuda)
void Msmpot_cleanup (Msmpot *msm)
int setup_domain (Msmpot *msm)
int setup_bins (Msmpot *msm)
int setup_origin (Msmpot *msm)
int setup_hierarchy (Msmpot *msm)
int setup_periodic_hlevelparams_1d (Msmpot *msm, float len, float *hh, int *nn, int *aindex, int *bindex)
int setup_nonperiodic_hlevelparams_1d (Msmpot *msm, float len, float *hh, int *nn, int *aindex, int *bindex)
int setup_mapinterp (Msmpot *msm)
int setup_mapinterpcoef_1d (Msmpot *msm, float h, float delta, int n, int m, float *p_h_delta, int *p_cycle, int *p_rmap, float **p_phi, int *p_max_phi)
int Msmpot_setup (Msmpot *msm)
int gcd (int a, int b)

Variables

InterpParams INTERP_PARAMS []

Typedef Documentation

typedef struct InterpParams_t InterpParams


Function Documentation

int gcd ( int a,
int b
) [static]

Definition at line 402 of file msmpot_setup.c.

Referenced by setup_mapinterpcoef_1d.

int Msmpot_check_params ( Msmpot * msm,
const float * epotmap,
int mx,
int my,
int mz,
float lx,
float ly,
float lz,
float vx,
float vy,
float vz,
const float * atom,
int natoms
)

Definition at line 21 of file msmpot_setup.c.

References ERRMSG, Msmpot_t::hmin, MSMPOT_ERROR_PARAM, MSMPOT_SUCCESS, and NULL.

Referenced by Msmpot_compute.

void Msmpot_cleanup ( Msmpot * msm )

int Msmpot_configure ( Msmpot * msm,
int interp,
int split,
float cutoff,
float hmin,
int nlevels,
float density,
float binfill,
float errtol,
int usecuda
)

void Msmpot_set_defaults ( Msmpot * msm )

int Msmpot_setup ( Msmpot * msm )

int setup_bins ( Msmpot * msm ) [static]

int setup_domain ( Msmpot * msm ) [static]

int setup_hierarchy ( Msmpot * msm ) [static]

int setup_mapinterp ( Msmpot * msm ) [static]

int setup_mapinterpcoef_1d ( Msmpot * msm,
float h,
float delta,
int n,
int m,
float * p_h_delta,
int * p_cycle,
int * p_rmap,
float ** p_phi,
int * p_max_phi
) [static]

int setup_nonperiodic_hlevelparams_1d ( Msmpot * msm,
float len,
float * hh,
int * nn,
int * aindex,
int * bindex
) [static]

Definition at line 749 of file msmpot_setup.c.

References Msmpot_t::hmin, Msmpot_t::interp, MSMPOT_SUCCESS, and n.

Referenced by setup_hierarchy.

int setup_origin ( Msmpot * msm ) [static]

int setup_periodic_hlevelparams_1d ( Msmpot * msm,
float len,
float * hh,
int * nn,
int * aindex,
int * bindex
) [static]

Definition at line 768 of file msmpot_setup.c.

References ERRMSG, Msmpot_t::hmin, MSMPOT_ERROR_PARAM, MSMPOT_SUCCESS, and n.

Referenced by setup_hierarchy.


Variable Documentation

InterpParams INTERP_PARAMS[] [static]

Initial value:

 {
 { 1, 4, 6 }, 
 { 2, 6, 10 }, 
 { 2, 6, 10 }, 
 { 3, 8, 14 }, 
 { 3, 8, 14 }, 
 { 4, 10, 18 }, 
 { 4, 10, 18 }, 
}

Definition at line 260 of file msmpot_setup.c.


Generated on Mon Nov 17 02:47:42 2025 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002

AltStyle によって変換されたページ (->オリジナル) /