Searched refs:periodic_bc (Results 1 – 2 of 2) sorted by relevance
/third_party/boost/libs/numeric/odeint/examples/ |
D | molecular_dynamics.cpp | 64 xi = periodic_bc( xi , m_xmax ); in operator ()() 65 yi = periodic_bc( yi , m_ymax ); in operator ()() 69 xj = periodic_bc( xj , m_xmax ); in operator ()() 70 yj = periodic_bc( yj , m_ymax ); in operator ()() 87 x[ i ] = periodic_bc( x[ i ] , m_xmax ); in bc() 88 x[ i + n ] = periodic_bc( x[ i + n ] , m_ymax ); in bc() 100 static inline double periodic_bc( double x , double xmax ) in periodic_bc() function
|
D | molecular_dynamics_cells.cpp | 173 point_type x = periodic_bc( boost::get< 0 >( t ) , m_p ) , v = boost::get< 1 >( t ); in operator ()() 188 point_type x2 = periodic_bc( m_x[ m_order[ ii ] ] , m_p ); in operator ()() 280 x[i][0] = periodic_bc( x[ i ][0] , m_p.x_max ); in bc() 281 x[i][1] = periodic_bc( x[ i ][1] , m_p.y_max ); in bc() 285 static inline double periodic_bc( double x , double xmax ) in periodic_bc() function in md_system_bs 292 static inline point_type periodic_bc( point_type const& x , params const& p ) in periodic_bc() function in md_system_bs 294 return point_type( periodic_bc( x[0] , p.x_max ) , periodic_bc( x[1] , p.y_max ) ); in periodic_bc()
|