![]() |
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 = ValueType |
| using | FlagField = field::FlagField< uint8_t > |
Public Member Functions | |
| BoundaryHandling (std::shared_ptr< StructuredBlockForest > blocks, BlockDataID value_field_id, BlockDataID flag_field_id, CellInterval const &local_domain) | |
| void | operator() (IBlock *block) |
| bool | node_is_boundary (signed_integral_vector auto const &node) const |
| auto & | get_node_value_at_boundary (signed_integral_vector auto const &node) const |
| void | set_node_value_at_boundary (signed_integral_vector auto const &node, ValueType const &v, BlockAndCell const &bc) |
| void | unpack_node (signed_integral_vector auto const &node, ValueType const &v) |
| void | remove_node_from_boundary (signed_integral_vector auto 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 |
| Vector3< double > | get_total_force (IBlock *block) const |
| auto const & | get_force_vector (IBlock *block) const |
| auto const & | get_index_vector (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 59 of file BoundaryHandling.hpp.
| using walberla::BoundaryHandling< FloatType, ValueType, BoundaryClass >::FlagField = field::FlagField<uint8_t> |
Definition at line 159 of file BoundaryHandling.hpp.
| using walberla::BoundaryHandling< FloatType, ValueType, BoundaryClass >::value_type = ValueType |
Definition at line 158 of file BoundaryHandling.hpp.
|
inline |
Definition at line 161 of file BoundaryHandling.hpp.
References block().
|
inline |
Definition at line 222 of file BoundaryHandling.hpp.
References block().
|
inline |
Assign boundary conditions to boundary cells.
Definition at line 211 of file BoundaryHandling.hpp.
|
inline |
Definition at line 238 of file BoundaryHandling.hpp.
References block().
|
inline |
Definition at line 245 of file BoundaryHandling.hpp.
References block().
|
inline |
Definition at line 185 of file BoundaryHandling.hpp.
References walberla::to_cell().
|
inline |
Definition at line 234 of file BoundaryHandling.hpp.
References block().
|
inline |
Definition at line 180 of file BoundaryHandling.hpp.
References walberla::to_cell().
|
inline |
Definition at line 177 of file BoundaryHandling.hpp.
References block().
|
inline |
Definition at line 202 of file BoundaryHandling.hpp.
References walberla::BlockAndCell::block, walberla::BlockAndCell::cell, and walberla::to_cell().
|
inline |
Definition at line 189 of file BoundaryHandling.hpp.
References walberla::BlockAndCell::block, walberla::BlockAndCell::cell, and walberla::to_cell().
|
inline |
Definition at line 197 of file BoundaryHandling.hpp.
References walberla::to_cell().