ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Class that runs and controls the BlockForest in waLBerla. More...
#include <LatticeWalberla.hpp>
Public Types | |
using | Lattice_T = walberla::blockforest::StructuredBlockForest |
Public Member Functions | |
LatticeWalberla (Utils::Vector3i const &grid_dimensions, Utils::Vector3i const &node_grid, unsigned int n_ghost_layers) | |
auto | get_ghost_layers () const |
auto | get_grid_dimensions () const |
auto | get_blocks () const |
auto const & | get_cached_blocks () const |
std::pair< Utils::Vector3d, Utils::Vector3d > | get_local_domain () const |
auto | get_local_grid_range () const |
bool | node_in_local_domain (Utils::Vector3i const &node) const |
bool | node_in_local_halo (Utils::Vector3i const &node) const |
bool | pos_in_local_domain (Utils::Vector3d const &pos) const |
bool | pos_in_local_halo (Utils::Vector3d const &pos) const |
Static Public Member Functions | |
static Utils::Vector3i | calc_grid_dimensions (Utils::Vector3d const &box_size, double agrid) |
Class that runs and controls the BlockForest in waLBerla.
Definition at line 39 of file walberla_bridge/include/walberla_bridge/LatticeWalberla.hpp.
using LatticeWalberla::Lattice_T = walberla::blockforest::StructuredBlockForest |
Definition at line 41 of file walberla_bridge/include/walberla_bridge/LatticeWalberla.hpp.
LatticeWalberla::LatticeWalberla | ( | Utils::Vector3i const & | grid_dimensions, |
Utils::Vector3i const & | node_grid, | ||
unsigned int | n_ghost_layers | ||
) |
Definition at line 41 of file LatticeWalberla.cpp.
References block(), and Utils::hadamard_division().
|
static |
Definition at line 102 of file LatticeWalberla.cpp.
Referenced by ScriptInterface::walberla::LatticeWalberla::do_construct().
|
inline |
Definition at line 60 of file walberla_bridge/include/walberla_bridge/LatticeWalberla.hpp.
Referenced by LatticeModel::create_vtk(), walberla::get_block(), walberla::get_block_and_cell(), walberla::LBWalberlaImpl< FloatType, Architecture >::get_momentum(), walberla::LBWalberlaImpl< FloatType, Architecture >::get_pressure_tensor(), walberla::LBWalberlaImpl< FloatType, Architecture >::ghost_communication_laf(), walberla::LBWalberlaImpl< FloatType, Architecture >::ghost_communication_pdf(), walberla::LBWalberlaImpl< FloatType, Architecture >::ghost_communication_pdfs(), walberla::LBWalberlaImpl< FloatType, Architecture >::ghost_communication_push_scheme(), walberla::LBWalberlaImpl< FloatType, Architecture >::ghost_communication_vel(), walberla::EKinWalberlaImpl< FluxCount, FloatType >::reset_density_boundary_handling(), walberla::EKinWalberlaImpl< FluxCount, FloatType >::reset_flux_boundary_handling(), walberla::set_boundary_from_grid(), and walberla::LBWalberlaImpl< FloatType, Architecture >::set_collision_model().
|
inline |
Definition at line 61 of file walberla_bridge/include/walberla_bridge/LatticeWalberla.hpp.
Referenced by walberla::get_block_extended().
|
inline |
Definition at line 58 of file walberla_bridge/include/walberla_bridge/LatticeWalberla.hpp.
Referenced by walberla::get_block(), walberla::get_block_and_cell(), ScriptInterface::walberla::LatticeSlice< FieldSerializer >::get_lattice(), and walberla::set_boundary_from_grid().
|
inline |
Definition at line 59 of file walberla_bridge/include/walberla_bridge/LatticeWalberla.hpp.
Referenced by walberla::LBWalberlaImpl< FloatType, Architecture >::get_pressure_tensor(), walberla::set_boundary_from_grid(), walberla::LBWalberlaImpl< FloatType, Architecture >::update_boundary_from_shape(), walberla::EKinWalberlaImpl< FluxCount, FloatType >::update_density_boundary_from_shape(), and walberla::EKinWalberlaImpl< FluxCount, FloatType >::update_flux_boundary_from_shape().
std::pair< Utils::Vector3d, Utils::Vector3d > LatticeWalberla::get_local_domain | ( | ) | const |
Definition at line 74 of file LatticeWalberla.cpp.
References walberla::to_vector3d().
Referenced by get_local_grid_range().
|
inline |
Definition at line 66 of file walberla_bridge/include/walberla_bridge/LatticeWalberla.hpp.
References get_local_domain().
Referenced by walberla::set_boundary_from_grid().
bool LatticeWalberla::node_in_local_domain | ( | Utils::Vector3i const & | node | ) | const |
Definition at line 84 of file LatticeWalberla.cpp.
bool LatticeWalberla::node_in_local_halo | ( | Utils::Vector3i const & | node | ) | const |
Definition at line 89 of file LatticeWalberla.cpp.
bool LatticeWalberla::pos_in_local_domain | ( | Utils::Vector3d const & | pos | ) | const |
Definition at line 93 of file LatticeWalberla.cpp.
bool LatticeWalberla::pos_in_local_halo | ( | Utils::Vector3d const & | pos | ) | const |
Definition at line 97 of file LatticeWalberla.cpp.