Semi-implicit Euler integration for position and velocity.
This kernel requires the following particle accessor interface
math::Vector3< real_t > Vec3
Definition DataTypes.h:40
math::Matrix3< real_t > Mat3
Definition DataTypes.h:36
math::Rot3< real_t > Rot3
Definition DataTypes.h:38
float real_t
Definition DataTypes.h:197
- 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_ = 0.0_r |
|
private |
The documentation for this class was generated from the following file: