Semi-implicit Euler integration for position and velocity.
This kernel requires the following particle accessor interface
float real_t
Definition DataTypes.h:167
- Precondition
- All forces and torques acting on the particles have to be set.
- Postcondition
- All forces and torques are reset to 0.
#include <SemiImplicitEuler.h>
◆ SemiImplicitEuler()
walberla::mesa_pd::kernel::SemiImplicitEuler::SemiImplicitEuler |
( |
const real_t | dt | ) |
|
|
inlineexplicit |
◆ operator()()
template<typename Accessor >
void walberla::mesa_pd::kernel::SemiImplicitEuler::operator() |
( |
const size_t | i, |
|
|
Accessor & | ac ) const |
|
inline |
◆ dt_
real_t walberla::mesa_pd::kernel::SemiImplicitEuler::dt_ = real_t(0.0) |
|
private |
The documentation for this class was generated from the following file: