![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Lees-Edwards sweep. More...
#include <InterpolateAndShiftAtBoundary.hpp>
Public Member Functions | |
InterpolateAndShiftAtBoundary (std::shared_ptr< StructuredBlockForest > blocks, BlockDataID field_id, BlockDataID tmp_field_id, unsigned int n_ghost_layers, unsigned int shear_direction, unsigned int shear_plane_normal, std::function< double()> get_pos_offset, std::function< double()> get_shift=[]() { return 0.0;}) | |
FloatType | get_pos_offset () const |
FloatType | get_shift () const |
void | operator() (IBlock *block) |
Lees-Edwards sweep.
As a practical example, consider a simulation where the shear direction is the z-axis, it is possible to run on 2 MPI ranks with MPI Cartesian topology [2, 1, 1]. At the moment, ESPResSo requires system.cell_system.node_grid to be in decreasing order, therefore parallelization requires a shear direction along the z-axis and a MPI node_grid of [x, y, 1] with x >= y.
Definition at line 56 of file InterpolateAndShiftAtBoundary.hpp.
|
inline |
Definition at line 58 of file InterpolateAndShiftAtBoundary.hpp.
|
inline |
Definition at line 86 of file InterpolateAndShiftAtBoundary.hpp.
|
inline |
Definition at line 90 of file InterpolateAndShiftAtBoundary.hpp.
|
inline |
Definition at line 92 of file InterpolateAndShiftAtBoundary.hpp.
References block().