File: exx_vector.h

package info (click to toggle)
openmx 3.7.6-1
• links: PTS, VCS
• area: main
• in suites: jessie, jessie-kfreebsd, stretch
• size: 325,856 kB
• ctags: 3,575
• sloc: ansic: 152,655; f90: 2,080; python: 876; makefile: 675; sh: 25; perl: 18
 file content (53 lines) | stat: -rw-r--r-- 1,537 bytes parent folder | download | duplicates (2)
 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 /*---------------------------------------------------------------------- exx_vector.h Some simple geometrical calculations. Coded by M. Toyoda 07/JAN/2010 ----------------------------------------------------------------------*/ #ifndef EXX_VECTOR_H_INCLUDED #define EXX_VECTOR_H_INCLUDED double EXX_Vector_Distance(const double v, const double w); void EXX_Vector_F2C( double v_c, /* (OUT) v in cartesian coord */ const double v, /* (IN) a vector in fractional coord */ const double pvec /* (IN) primitive translational vectors */ ); void EXX_Vector_C2F( double v_f, /* (OUT) v in cartesian coord */ const double v, /* (IN) a vector in fractional coord */ const double pvec /* (IN) primitive translational vectors */ ); void EXX_Vector_F2C_Offsite( double v_c, /* (OUT) v in cartesian coord */ const double v, /* (IN) a vector in fractional coord */ const double pvec, /* (IN) primitive translational vectors */ int icell, int nshell ); void EXX_Vector_C2S( const double v, /* (IN) a vector in cartesian */ double *r, /* (OUT) v in spherical coord */ double *theta, double *phi ); void EXX_Vector_PAO_Overlap( double rc1, /* (IN) cutoff of PAO 1 */ double rc2, /* (IN) cutoff of PAO 2 */ double d, /* (IN) displacement */ double *pair_rc, /* (OUT) cutoff of overlap */ double *pair_cx /* (OUT) dividing ratio of center of overlap */ ); #endif /* EXX_VECTOR_H_INCLUDED */