ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Sweep that swaps force_to_be_applied
and last_applied_force
and resets force_to_be_applied
to the global external force.
More...
#include <ResetForce.hpp>
Public Member Functions | |
ResetForce (BlockDataID const &last_applied_force_field_id, BlockDataID const &force_to_be_applied_id) | |
void | set_ext_force (Utils::Vector3d const &ext_force) |
Utils::Vector3d | get_ext_force () const |
void | operator() (IBlock *block) |
Sweep that swaps force_to_be_applied
and last_applied_force
and resets force_to_be_applied
to the global external force.
Definition at line 42 of file ResetForce.hpp.
|
inline |
Definition at line 46 of file ResetForce.hpp.
|
inline |
Definition at line 56 of file ResetForce.hpp.
References walberla::to_vector3d().
|
inline |
Definition at line 58 of file ResetForce.hpp.
References walberla::lbm::accessor::Vector::add_to_all(), block(), and walberla::lbm::accessor::Vector::initialize().
|
inline |
Definition at line 52 of file ResetForce.hpp.