Searched refs:m_omega (Results 1 – 7 of 7) sorted by relevance
/third_party/boost/libs/numeric/odeint/examples/2d_lattice/ |
D | lattice2d.hpp | 26 std::vector< std::vector< double > > m_omega; member 47 dpdt[i][j] = - m_omega[i][j] * pow<Kappa-1>( q[i][j] ) in operator ()() 72 + m_omega[i][j] * pow<Kappa>( q[i][j] ) / Kappa in energy() 99 + m_omega[i][j] * pow<Kappa>( q[i][j] ) / Kappa in local_energy() 126 m_omega.resize( dim ); in load_pot() 129 m_omega[i].resize( dim ); in load_pot() 144 m_omega[i][j] = W*d + gap; in load_pot() 152 m_omega.resize( dim ); in generate_pot() 155 m_omega[i].resize( dim ); in generate_pot() 158 m_omega[i][j] = W*static_cast<double>(rand())/RAND_MAX + gap; in generate_pot()
|
/third_party/boost/libs/numeric/odeint/examples/ |
D | phase_oscillator_ensemble.cpp | 53 container_type m_omega; member 57 : m_omega( n , 0.0 ) , m_epsilon( epsilon ) in phase_ensemble() 67 generate( m_omega.begin() , m_omega.end() , gen ); in create_frequencies() 78 dxdt[i] = m_omega[i] + m_epsilon * mean.first * sin( mean.second - x[i] ); in operator ()()
|
D | harmonic_oscillator_units.cpp | 58 frequency_type m_omega; member 60 oscillator( const frequency_type &omega = 1.0 * si::hertz ) : m_omega( omega ) { } in oscillator() 65 fusion::at_c< 1 >( dxdt ) = - m_omega * m_omega * fusion::at_c< 0 >( x ); in operator ()()
|
/third_party/boost/libs/numeric/odeint/test/regression/ |
D | regression_168.cpp | 70 frequency_type m_omega; member 72 oscillator( const frequency_type &omega = 1.0 * si::hertz ) : m_omega( omega ) { } in oscillator() 77 fusion::at_c< 1 >( dxdt ) = - m_omega * m_omega * fusion::at_c< 0 >( x ); in operator ()()
|
/third_party/boost/libs/numeric/odeint/examples/nt2/ |
D | phase_oscillator_ensemble.cpp | 58 container_type m_omega; member 64 m_omega = nt2::zeros(nt2::of_size(n), nt2::meta::as_<T>()); in phase_ensemble() 73 generate( m_omega.begin() , m_omega.end() , gen ); in create_frequencies() 83 dxdt = m_omega + m_epsilon * mean.first * nt2::sin( mean.second - x ); in operator ()()
|
/third_party/boost/libs/numeric/odeint/examples/thrust/ |
D | phase_oscillator_chain.cu | 81 : m_omega( omega ) , m_N( omega.size() ) , m_prev( omega.size() ) , m_next( omega.size() ) in phase_oscillators() 100 m_omega.begin() , in operator ()() 108 m_omega.end() , in operator ()() 116 const state_type &m_omega; member in phase_oscillators
|
D | phase_oscillator_ensemble.cu | 124 : m_omega() , m_N( N ) , m_epsilon( epsilon ) in phase_oscillator_ensemble() 138 m_omega = omega; in create_frequencies() 151 … thrust::make_zip_iterator( thrust::make_tuple( x.begin() , m_omega.begin() , dxdt.begin() ) ), in operator ()() 152 … thrust::make_zip_iterator( thrust::make_tuple( x.end() , m_omega.end() , dxdt.end()) ) , in operator ()() 161 state_type m_omega; member in phase_oscillator_ensemble
|