ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
walberla::ResetForce< PdfField, ForceField > Class Template Reference

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 noexcept
void operator() (IBlock *block)

Detailed Description

template<typename PdfField, typename ForceField>
class walberla::ResetForce< PdfField, ForceField >

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.

Constructor & Destructor Documentation

◆ ResetForce()

template<typename PdfField, typename ForceField>
walberla::ResetForce< PdfField, ForceField >::ResetForce ( BlockDataID const & last_applied_force_field_id,
BlockDataID const & force_to_be_applied_id )
inline

Definition at line 46 of file ResetForce.hpp.

Member Function Documentation

◆ get_ext_force()

template<typename PdfField, typename ForceField>
Utils::Vector3d walberla::ResetForce< PdfField, ForceField >::get_ext_force ( ) const
inlinenoexcept

Definition at line 56 of file ResetForce.hpp.

References walberla::to_vector3d().

◆ operator()()

template<typename PdfField, typename ForceField>
void walberla::ResetForce< PdfField, ForceField >::operator() ( IBlock * block)
inline

◆ set_ext_force()

template<typename PdfField, typename ForceField>
void walberla::ResetForce< PdfField, ForceField >::set_ext_force ( Utils::Vector3d const & ext_force)
inline

Definition at line 52 of file ResetForce.hpp.

References walberla::to_vector3().


The documentation for this class was generated from the following file: