ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
BlockAndCell.hpp File Reference
#include <blockforest/StructuredBlockForest.h>
#include <core/DataTypes.h>
#include <core/cell/Cell.h>
#include <domain_decomposition/IBlock.h>
#include "LatticeWalberla.hpp"
#include <array>
#include <cmath>
#include <concepts>
#include <memory>
#include <optional>
#include <type_traits>
+ Include dependency graph for BlockAndCell.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  walberla::BlockAndCell
 

Namespaces

namespace  walberla
 \file PackInfoPdfDoublePrecision.cpp \author pystencils
 

Concepts

concept  real_vector
 

Functions

Cell walberla::to_cell (Utils::Vector3i const &xyz)
 
template<typename T >
IBlock * walberla::get_block_extended (LatticeWalberla const &lattice, Utils::Vector< T, 3 > const &pos, unsigned int n_ghost_layers)
 
std::optional< BlockAndCellwalberla::get_block_and_cell (::LatticeWalberla const &lattice, Utils::Vector3i const &node, bool consider_ghost_layers)
 
IBlock * walberla::get_block (::LatticeWalberla const &lattice, Utils::Vector3d const &pos, bool consider_ghost_layers)
 
auto walberla::convert_cell_corner_to_coord (real_vector auto const &corner)
 Get the block-local coordinates of a block corner.
 
auto walberla::get_min_corner (IBlock const &block)
 Get the block-local coordinates of the lower corner of a block.
 
auto walberla::get_max_corner (IBlock const &block)
 Get the block-local coordinates of the upper corner of a block.