ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Boundary class optimized for sparse data. More...
#include <BoundaryHandling.hpp>
Public Types | |
using | value_type = T |
using | FlagField = field::FlagField< uint8_t > |
Public Member Functions | |
BoundaryHandling (std::shared_ptr< StructuredBlockForest > blocks, BlockDataID value_field_id, BlockDataID flag_field_id) | |
void | operator() (IBlock *block) |
bool | node_is_boundary (Utils::Vector3i const &node) const |
auto & | get_node_value_at_boundary (Utils::Vector3i const &node) const |
void | set_node_value_at_boundary (Utils::Vector3i const &node, T const &v, BlockAndCell const &bc) |
void | unpack_node (Utils::Vector3i const &node, T const &v) |
void | remove_node_from_boundary (Utils::Vector3i const &node, BlockAndCell const &bc) |
void | boundary_update () |
Assign boundary conditions to boundary cells. | |
std::tuple< int, int, int > | block_dims (IBlock const &block) const |
Boundary class optimized for sparse data.
Instead of storing the boundary data on a vector field, store individual vectors in a map. The global cell is used as key.
Requires a custom communicator: walberla::field::communication::BoundaryPackInfo.
Definition at line 52 of file BoundaryHandling.hpp.
using walberla::BoundaryHandling< T, BoundaryClass >::FlagField = field::FlagField<uint8_t> |
Definition at line 118 of file BoundaryHandling.hpp.
using walberla::BoundaryHandling< T, BoundaryClass >::value_type = T |
Definition at line 117 of file BoundaryHandling.hpp.
|
inline |
Definition at line 120 of file BoundaryHandling.hpp.
References block().
|
inline |
Definition at line 174 of file BoundaryHandling.hpp.
References block().
|
inline |
Assign boundary conditions to boundary cells.
Definition at line 166 of file BoundaryHandling.hpp.
|
inline |
Definition at line 141 of file BoundaryHandling.hpp.
|
inline |
Definition at line 136 of file BoundaryHandling.hpp.
|
inline |
Definition at line 134 of file BoundaryHandling.hpp.
References block().
|
inline |
Definition at line 157 of file BoundaryHandling.hpp.
References walberla::BlockAndCell::block, and walberla::BlockAndCell::cell.
|
inline |
Definition at line 145 of file BoundaryHandling.hpp.
References walberla::BlockAndCell::block, and walberla::BlockAndCell::cell.
|
inline |
Definition at line 153 of file BoundaryHandling.hpp.