![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Class that runs and controls the EK on waLBerla. More...
#include <EKinWalberlaImpl.hpp>
Classes | |
| struct | FieldTrait |
| struct | GhostComm |
| class | VTKWriter |
| class | DensityVTKWriter |
| class | FluxVTKWriter |
| class | BoundaryVTKWriter |
Public Types | |
| using | Stencil = stencil::D3Q27 |
| Stencil for collision and streaming operations. | |
| using | BlockStorage = LatticeWalberla::Lattice_T |
| Lattice model (e.g. | |
| using | FluxField = typename FieldTrait<FloatType, Architecture>::FluxField |
| using | DensityField |
| Public Types inherited from LatticeModel | |
| using | units_map = std::unordered_map<std::string, double> |
Public Member Functions | |
| template<typename T> | |
| FloatType | FloatType_c (T t) |
| std::size_t | stencil_size () const noexcept override |
| bool | is_double_precision () const noexcept override |
| EKinWalberlaImpl (std::shared_ptr< LatticeWalberla > lattice, double diffusion, double kT, double valency, Utils::Vector3d const &ext_efield, double density, bool advection, bool friction_coupling, bool thermalized, unsigned int seed) | |
| double | get_diffusion () const noexcept override |
| double | get_kT () const noexcept override |
| double | get_valency () const noexcept override |
| bool | get_advection () const noexcept override |
| bool | get_friction_coupling () const noexcept override |
| Utils::Vector3d | get_ext_efield () const noexcept override |
| bool | is_thermalized () const noexcept override |
| unsigned int | get_seed () const noexcept override |
| std::optional< uint64_t > | get_rng_state () const override |
| void | set_diffusion (double diffusion) override |
| void | set_kT (double kT) override |
| void | set_valency (double valency) override |
| void | set_advection (bool advection) override |
| void | set_friction_coupling (bool friction_coupling) override |
| void | set_rng_state (uint64_t counter) override |
| void | set_ext_efield (Utils::Vector3d const &field) override |
| void | ghost_communication () override |
| void | ghost_communication_boundary () |
| void | integrate (std::size_t potential_id, std::size_t velocity_id, std::size_t force_id, double lb_density) override |
| std::size_t | get_density_id () const noexcept override |
| bool | set_node_density (Utils::Vector3i const &node, double density) override |
| std::optional< double > | get_node_density (Utils::Vector3i const &node, bool consider_ghosts=false) const override |
| std::vector< double > | get_slice_density (Utils::Vector3i const &lower_corner, Utils::Vector3i const &upper_corner) const override |
| void | set_slice_density (Utils::Vector3i const &lower_corner, Utils::Vector3i const &upper_corner, std::vector< double > const &density) override |
| std::optional< Utils::Vector3d > | get_node_flux_vector (Utils::Vector3i const &node, bool consider_ghosts=false) const override |
| std::vector< double > | get_slice_flux_vector (Utils::Vector3i const &lower_corner, Utils::Vector3i const &upper_corner) const override |
| void | clear_flux_boundaries () override |
| void | clear_density_boundaries () override |
| bool | set_node_flux_boundary (Utils::Vector3i const &node, Utils::Vector3d const &flux) override |
| std::optional< Utils::Vector3d > | get_node_flux_at_boundary (Utils::Vector3i const &node, bool consider_ghosts=false) const override |
| bool | remove_node_from_flux_boundary (Utils::Vector3i const &node) override |
| bool | set_node_density_boundary (Utils::Vector3i const &node, double density) override |
| std::optional< double > | get_node_density_at_boundary (Utils::Vector3i const &node, bool consider_ghosts=false) const override |
| void | set_slice_density_boundary (Utils::Vector3i const &lower_corner, Utils::Vector3i const &upper_corner, std::vector< std::optional< double > > const &density) override |
| std::vector< std::optional< double > > | get_slice_density_at_boundary (Utils::Vector3i const &lower_corner, Utils::Vector3i const &upper_corner) const override |
| void | set_slice_flux_boundary (Utils::Vector3i const &lower_corner, Utils::Vector3i const &upper_corner, std::vector< std::optional< Utils::Vector3d > > const &flux) override |
| std::vector< std::optional< Utils::Vector3d > > | get_slice_flux_at_boundary (Utils::Vector3i const &lower_corner, Utils::Vector3i const &upper_corner) const override |
| std::vector< bool > | get_slice_is_boundary (Utils::Vector3i const &lower_corner, Utils::Vector3i const &upper_corner) const override |
| bool | remove_node_from_density_boundary (Utils::Vector3i const &node) override |
| std::optional< bool > | get_node_is_flux_boundary (Utils::Vector3i const &node, bool consider_ghosts) const override |
| std::optional< bool > | get_node_is_density_boundary (Utils::Vector3i const &node, bool consider_ghosts) const override |
| std::optional< bool > | get_node_is_boundary (Utils::Vector3i const &node, bool consider_ghosts=false) const override |
| void | update_flux_boundary_from_shape (const std::vector< int > &raster_flat, const std::vector< double > &data_flat) override |
| void | update_density_boundary_from_shape (const std::vector< int > &raster_flat, const std::vector< double > &data_flat) override |
| void | reallocate_flux_boundary_field () |
| void | reallocate_density_boundary_field () |
| LatticeWalberla const & | get_lattice () const noexcept override |
| bool | is_gpu () const noexcept override |
| void | register_vtk_field_filters (walberla::vtk::VTKOutput &vtk_obj) override |
| void | register_vtk_field_writers (walberla::vtk::VTKOutput &vtk_obj, LatticeModel::units_map const &units, int flag_observables) override |
| ~EKinWalberlaImpl () override=default | |
| Public Member Functions inherited from EKinWalberlaBase | |
| ~EKinWalberlaBase () override=default | |
| Public Member Functions inherited from LatticeModel | |
| virtual | ~LatticeModel ()=default |
| std::shared_ptr< VTKHandle > | create_vtk (int delta_N, int initial_count, int flag_observables, units_map const &units_conversion, std::string const &identifier, std::string const &base_folder, std::string const &prefix, bool force_pvtu, bool include_boundaries=false) |
| Create a VTK observable. | |
| void | write_vtk (std::string const &vtk_uid) |
| Write a VTK observable to disk. | |
| void | switch_vtk (std::string const &vtk_uid, bool status) |
| Toggle a VTK observable on/off. | |
Protected Types | |
| using | FlagField = walberla::FlagField<walberla::uint8_t> |
| using | _FluxField = typename FieldTrait<FloatType>::FluxField |
| using | _DensityField = typename FieldTrait<FloatType>::DensityField |
| using | FullCommunicator |
| using | BoundaryFullCommunicator |
| template<class Field> | |
| using | PackInfo |
Protected Member Functions | |
| template<typename Field> | |
| auto | add_to_storage (std::string const tag, FloatType value) |
| Convenience function to add a field with a custom allocator. | |
| void | reset_density_boundary_handling (std::shared_ptr< BlockStorage > const &blocks) |
| void | reset_flux_boundary_handling (std::shared_ptr< BlockStorage > const &blocks) |
| void | integrate_vtk_writers () override |
Protected Attributes | |
| BlockDataID | m_density_field_id |
| BlockDataID | m_flux_field_id |
| BlockDataID | m_flag_field_density_id |
| BlockDataID | m_flag_field_flux_id |
| FlagUID const | Domain_flag {"domain"} |
| Flag for domain cells, i.e. | |
| FlagUID const | Boundary_flag {"boundary"} |
| Flag for boundary cells. | |
| std::shared_ptr< LatticeWalberla > | m_lattice |
| Block forest. | |
| std::unique_ptr< BoundaryModelDensity > | m_boundary_density |
| std::shared_ptr< BoundaryModelFlux > | m_boundary_flux |
| std::unique_ptr< DiffusiveFluxKernel > | m_diffusive_flux |
| std::unique_ptr< DiffusiveFluxKernelElectrostatic > | m_diffusive_flux_electrostatic |
| std::unique_ptr< ContinuityKernel > | m_continuity |
| std::shared_ptr< FullCommunicator > | m_full_communication |
| std::shared_ptr< BoundaryFullCommunicator > | m_boundary_communicator |
| std::bitset< GhostComm::SIZE > | m_pending_ghost_comm |
| ResourceObserver | m_mpi_cart_comm_observer |
| Protected Attributes inherited from LatticeModel | |
| std::map< std::string, std::shared_ptr< VTKHandle > > | m_vtk_auto |
| VTK writers that are executed automatically. | |
| std::map< std::string, std::shared_ptr< VTKHandle > > | m_vtk_manual |
| VTK writers that are executed manually. | |
Class that runs and controls the EK on waLBerla.
Definition at line 74 of file EKinWalberlaImpl.hpp.
|
protected |
Definition at line 176 of file EKinWalberlaImpl.hpp.
|
protected |
Definition at line 175 of file EKinWalberlaImpl.hpp.
| using walberla::EKinWalberlaImpl< FluxCount, FloatType, Architecture >::BlockStorage = LatticeWalberla::Lattice_T |
|
protected |
Definition at line 290 of file EKinWalberlaImpl.hpp.
| using walberla::EKinWalberlaImpl< FluxCount, FloatType, Architecture >::DensityField |
Definition at line 180 of file EKinWalberlaImpl.hpp.
|
protected |
Definition at line 135 of file EKinWalberlaImpl.hpp.
| using walberla::EKinWalberlaImpl< FluxCount, FloatType, Architecture >::FluxField = typename FieldTrait<FloatType, Architecture>::FluxField |
Definition at line 179 of file EKinWalberlaImpl.hpp.
|
protected |
Definition at line 287 of file EKinWalberlaImpl.hpp.
|
protected |
Definition at line 298 of file EKinWalberlaImpl.hpp.
| using walberla::EKinWalberlaImpl< FluxCount, FloatType, Architecture >::Stencil = stencil::D3Q27 |
Stencil for collision and streaming operations.
Definition at line 117 of file EKinWalberlaImpl.hpp.
|
inline |
Definition at line 302 of file EKinWalberlaImpl.hpp.
References add_to_storage(), density, FloatType_c(), walberla::get_mpi_cart_comm_observer(), m_boundary_communicator, m_boundary_flux, m_continuity, m_density_field_id, m_flag_field_density_id, m_flag_field_flux_id, m_flux_field_id, m_full_communication, m_lattice, m_mpi_cart_comm_observer, m_pending_ghost_comm, reset_density_boundary_handling(), reset_flux_boundary_handling(), and walberla::field::communication::BoundaryPackInfo< GhostLayerField_T, Boundary_T >::setup_boundary_handle().
|
overridedefault |
|
inlineprotected |
Convenience function to add a field with a custom allocator.
When vectorization is off, let waLBerla decide which memory allocator to use. When vectorization is on, the aligned memory allocator is required, otherwise cpu_vectorize_info["assume_aligned"] will trigger assertions. That is because for single-precision kernels the waLBerla heuristic in src/field/allocation/FieldAllocator.h will fall back to StdFieldAlloc, yet AllocateAligned is needed for intrinsics to work.
Definition at line 245 of file EKinWalberlaImpl.hpp.
References block(), lbmpy::GPU, walberla::ek::accessor::Flux::initialize(), walberla::ek::accessor::Scalar::initialize(), and m_lattice.
Referenced by EKinWalberlaImpl().
|
inlineoverridevirtual |
Implements EKinWalberlaBase.
Definition at line 824 of file EKinWalberlaImpl.hpp.
References get_lattice(), and reset_density_boundary_handling().
|
inlineoverridevirtual |
Implements EKinWalberlaBase.
Definition at line 819 of file EKinWalberlaImpl.hpp.
References walberla::EKinWalberlaImpl< FluxCount, FloatType, Architecture >::GhostComm::FLB, get_lattice(), m_pending_ghost_comm, and reset_flux_boundary_handling().
|
inline |
Definition at line 183 of file EKinWalberlaImpl.hpp.
Referenced by EKinWalberlaImpl(), register_vtk_field_writers(), set_diffusion(), set_ext_efield(), set_kT(), set_node_density(), set_node_density_boundary(), set_slice_density_boundary(), and set_valency().
|
inlinenodiscardoverridevirtualnoexcept |
Implements EKinWalberlaBase.
Definition at line 363 of file EKinWalberlaImpl.hpp.
Referenced by integrate().
|
inlinenodiscardoverridevirtualnoexcept |
Implements EKinWalberlaBase.
Definition at line 653 of file EKinWalberlaImpl.hpp.
References m_density_field_id.
|
inlinenodiscardoverridevirtualnoexcept |
Implements EKinWalberlaBase.
Definition at line 356 of file EKinWalberlaImpl.hpp.
Referenced by integrate().
|
inlinenodiscardoverridevirtualnoexcept |
Implements EKinWalberlaBase.
Definition at line 369 of file EKinWalberlaImpl.hpp.
|
inlinenodiscardoverridevirtualnoexcept |
Implements EKinWalberlaBase.
Definition at line 366 of file EKinWalberlaImpl.hpp.
Referenced by integrate().
|
inlinenodiscardoverridevirtualnoexcept |
Implements EKinWalberlaBase.
Definition at line 359 of file EKinWalberlaImpl.hpp.
|
inlinenodiscardoverridevirtualnoexcept |
Implements LatticeModel.
Definition at line 1095 of file EKinWalberlaImpl.hpp.
References m_lattice.
Referenced by clear_density_boundaries(), clear_flux_boundaries(), get_node_density(), get_node_density_at_boundary(), get_node_flux_at_boundary(), get_node_flux_vector(), get_node_is_boundary(), get_node_is_density_boundary(), get_node_is_flux_boundary(), get_slice_density(), get_slice_density_at_boundary(), get_slice_flux_at_boundary(), get_slice_flux_vector(), get_slice_is_boundary(), remove_node_from_density_boundary(), remove_node_from_flux_boundary(), set_node_density(), set_node_density_boundary(), set_node_flux_boundary(), set_slice_density(), set_slice_density_boundary(), set_slice_flux_boundary(), update_density_boundary_from_shape(), and update_flux_boundary_from_shape().
|
inlinenodiscardoverridevirtual |
Implements EKinWalberlaBase.
Definition at line 671 of file EKinWalberlaImpl.hpp.
References walberla::ek::accessor::Scalar::get(), walberla::get_block_and_cell(), get_lattice(), m_boundary_density, and m_density_field_id.
|
inlinenodiscardoverridevirtual |
Implements EKinWalberlaBase.
Definition at line 874 of file EKinWalberlaImpl.hpp.
References walberla::get_block_and_cell(), get_lattice(), and m_boundary_density.
|
inlinenodiscardoverridevirtual |
Implements EKinWalberlaBase.
Definition at line 841 of file EKinWalberlaImpl.hpp.
References walberla::EKinWalberlaImpl< FluxCount, FloatType, Architecture >::GhostComm::FLB, walberla::get_block_and_cell(), get_lattice(), m_boundary_flux, m_pending_ghost_comm, and walberla::to_vector3d().
|
inlinenodiscardoverridevirtual |
Implements EKinWalberlaBase.
Definition at line 756 of file EKinWalberlaImpl.hpp.
References walberla::get_block_and_cell(), get_lattice(), walberla::ek::accessor::Flux::get_vector(), m_boundary_flux, m_flux_field_id, and walberla::to_vector3d().
|
inlinenodiscardoverridevirtual |
Implements EKinWalberlaBase.
Definition at line 1059 of file EKinWalberlaImpl.hpp.
References walberla::get_block_and_cell(), get_lattice(), m_boundary_density, and m_boundary_flux.
|
inlinenodiscardoverridevirtual |
Implements EKinWalberlaBase.
Definition at line 1049 of file EKinWalberlaImpl.hpp.
References walberla::get_block_and_cell(), get_lattice(), and m_boundary_density.
|
inlinenodiscardoverridevirtual |
Implements EKinWalberlaBase.
Definition at line 1038 of file EKinWalberlaImpl.hpp.
References walberla::EKinWalberlaImpl< FluxCount, FloatType, Architecture >::GhostComm::FLB, walberla::get_block_and_cell(), get_lattice(), m_boundary_flux, and m_pending_ghost_comm.
|
inlinenodiscardoverridevirtual |
Implements EKinWalberlaBase.
Definition at line 379 of file EKinWalberlaImpl.hpp.
References m_diffusive_flux.
|
inlinenodiscardoverridevirtualnoexcept |
Implements EKinWalberlaBase.
Definition at line 376 of file EKinWalberlaImpl.hpp.
|
inlinenodiscardoverridevirtual |
Implements EKinWalberlaBase.
Definition at line 688 of file EKinWalberlaImpl.hpp.
References block(), walberla::copy_block_buffer(), walberla::ek::accessor::Scalar::get(), LatticeWalberla::get_block_corner(), walberla::get_block_interval(), LatticeWalberla::get_blocks(), walberla::get_interval(), get_lattice(), m_boundary_density, and m_density_field_id.
|
inlinenodiscardoverridevirtual |
Implements EKinWalberlaBase.
Definition at line 913 of file EKinWalberlaImpl.hpp.
References walberla::get_interval(), get_lattice(), LatticeWalberla::get_local_grid_range(), and m_boundary_density.
|
inlinenodiscardoverridevirtual |
Implements EKinWalberlaBase.
Definition at line 973 of file EKinWalberlaImpl.hpp.
References walberla::get_interval(), get_lattice(), LatticeWalberla::get_local_grid_range(), m_boundary_flux, and walberla::to_vector3d().
|
inlineoverridevirtual |
Implements EKinWalberlaBase.
Definition at line 773 of file EKinWalberlaImpl.hpp.
References block(), walberla::copy_block_buffer(), LatticeWalberla::get_block_corner(), walberla::get_block_interval(), LatticeWalberla::get_blocks(), walberla::get_interval(), get_lattice(), walberla::ek::accessor::Flux::get_vector(), m_boundary_flux, and m_flux_field_id.
|
inlinenodiscardoverridevirtual |
Implements EKinWalberlaBase.
Definition at line 1003 of file EKinWalberlaImpl.hpp.
References walberla::get_interval(), get_lattice(), LatticeWalberla::get_local_grid_range(), m_boundary_density, and m_boundary_flux.
|
inlinenodiscardoverridevirtualnoexcept |
Implements EKinWalberlaBase.
Definition at line 360 of file EKinWalberlaImpl.hpp.
Referenced by integrate().
|
inlineoverridevirtual |
Implements EKinWalberlaBase.
Definition at line 444 of file EKinWalberlaImpl.hpp.
References walberla::EKinWalberlaImpl< FluxCount, FloatType, Architecture >::GhostComm::DENS, ghost_communication_boundary(), m_mpi_cart_comm_observer, and m_pending_ghost_comm.
|
inline |
Definition at line 453 of file EKinWalberlaImpl.hpp.
References walberla::EKinWalberlaImpl< FluxCount, FloatType, Architecture >::GhostComm::FLB, m_boundary_communicator, m_mpi_cart_comm_observer, and m_pending_ghost_comm.
Referenced by ghost_communication().
|
inlineoverridevirtual |
Implements EKinWalberlaBase.
Definition at line 600 of file EKinWalberlaImpl.hpp.
References walberla::EKinWalberlaImpl< FluxCount, FloatType, Architecture >::GhostComm::DENS, get_advection(), get_diffusion(), get_friction_coupling(), get_valency(), integrate_vtk_writers(), m_mpi_cart_comm_observer, and m_pending_ghost_comm.
|
inlineoverrideprotectedvirtual |
Implements LatticeModel.
Definition at line 590 of file EKinWalberlaImpl.hpp.
References LatticeModel::m_vtk_auto.
Referenced by integrate().
|
inlinenodiscardoverridevirtualnoexcept |
Implements EKinWalberlaBase.
Definition at line 191 of file EKinWalberlaImpl.hpp.
|
inlinenodiscardoverridevirtualnoexcept |
Implements EKinWalberlaBase.
Definition at line 1099 of file EKinWalberlaImpl.hpp.
References lbmpy::GPU.
|
inlinenodiscardoverridevirtualnoexcept |
Implements EKinWalberlaBase.
Definition at line 372 of file EKinWalberlaImpl.hpp.
References m_diffusive_flux.
|
inline |
Definition at line 1091 of file EKinWalberlaImpl.hpp.
References m_boundary_density.
Referenced by update_density_boundary_from_shape().
|
inline |
Definition at line 1089 of file EKinWalberlaImpl.hpp.
References m_boundary_flux.
Referenced by update_flux_boundary_from_shape().
|
inlineoverridevirtual |
Implements LatticeModel.
Definition at line 1103 of file EKinWalberlaImpl.hpp.
References Boundary_flag, m_flag_field_density_id, and m_flag_field_flux_id.
|
inlineoverridevirtual |
Implements LatticeModel.
Definition at line 1209 of file EKinWalberlaImpl.hpp.
References block(), boundary, Boundary_flag, density, FloatType_c(), flux, walberla::ek::accessor::Scalar::get(), walberla::ek::accessor::Flux::get_vector(), m_boundary_density, m_boundary_flux, m_density_field_id, m_flag_field_density_id, m_flux_field_id, m_lattice, and walberla::ek::accessor::Scalar::set().
|
inlineoverridevirtual |
Implements EKinWalberlaBase.
Definition at line 1027 of file EKinWalberlaImpl.hpp.
References walberla::get_block_and_cell(), get_lattice(), and m_boundary_density.
|
inlineoverridevirtual |
Implements EKinWalberlaBase.
Definition at line 851 of file EKinWalberlaImpl.hpp.
References walberla::EKinWalberlaImpl< FluxCount, FloatType, Architecture >::GhostComm::FLB, walberla::get_block_and_cell(), get_lattice(), m_boundary_flux, and m_pending_ghost_comm.
|
inlineprotected |
Definition at line 272 of file EKinWalberlaImpl.hpp.
References m_boundary_density, m_density_field_id, m_flag_field_density_id, m_lattice, and walberla::to_cell().
Referenced by clear_density_boundaries(), and EKinWalberlaImpl().
|
inlineprotected |
Definition at line 280 of file EKinWalberlaImpl.hpp.
References m_boundary_flux, m_flag_field_flux_id, m_flux_field_id, m_lattice, and walberla::to_cell().
Referenced by clear_flux_boundaries(), and EKinWalberlaImpl().
|
inlineoverridevirtual |
Implements EKinWalberlaBase.
Definition at line 410 of file EKinWalberlaImpl.hpp.
|
inlineoverridevirtual |
Implements EKinWalberlaBase.
Definition at line 388 of file EKinWalberlaImpl.hpp.
References FloatType_c(), m_diffusive_flux, and m_diffusive_flux_electrostatic.
|
inlineoverridevirtual |
Implements EKinWalberlaBase.
Definition at line 432 of file EKinWalberlaImpl.hpp.
References FloatType_c(), and m_diffusive_flux_electrostatic.
|
inlineoverridevirtual |
Implements EKinWalberlaBase.
Definition at line 412 of file EKinWalberlaImpl.hpp.
|
inlineoverridevirtual |
Implements EKinWalberlaBase.
Definition at line 397 of file EKinWalberlaImpl.hpp.
References FloatType_c(), and m_diffusive_flux_electrostatic.
|
inlineoverridevirtual |
Implements EKinWalberlaBase.
Definition at line 658 of file EKinWalberlaImpl.hpp.
References walberla::EKinWalberlaImpl< FluxCount, FloatType, Architecture >::GhostComm::DENS, density, FloatType_c(), walberla::get_block_and_cell(), get_lattice(), m_density_field_id, m_pending_ghost_comm, and walberla::ek::accessor::Scalar::set().
|
inlineoverridevirtual |
Implements EKinWalberlaBase.
Definition at line 861 of file EKinWalberlaImpl.hpp.
References density, FloatType_c(), walberla::get_block_and_cell(), get_lattice(), and m_boundary_density.
|
inlineoverridevirtual |
Implements EKinWalberlaBase.
Definition at line 828 of file EKinWalberlaImpl.hpp.
References walberla::EKinWalberlaImpl< FluxCount, FloatType, Architecture >::GhostComm::FLB, flux, walberla::get_block_and_cell(), get_lattice(), m_boundary_flux, m_pending_ghost_comm, and walberla::to_vector3().
|
inlineoverridevirtual |
Implements EKinWalberlaBase.
Definition at line 416 of file EKinWalberlaImpl.hpp.
References m_diffusive_flux, and m_diffusive_flux_electrostatic.
|
inlineoverridevirtual |
Implements EKinWalberlaBase.
Definition at line 727 of file EKinWalberlaImpl.hpp.
References block(), walberla::copy_block_buffer(), walberla::EKinWalberlaImpl< FluxCount, FloatType, Architecture >::GhostComm::DENS, density, LatticeWalberla::get_block_corner(), walberla::get_block_interval(), LatticeWalberla::get_blocks(), walberla::get_interval(), get_lattice(), m_density_field_id, m_pending_ghost_comm, and walberla::ek::accessor::Scalar::set().
|
inlineoverridevirtual |
Implements EKinWalberlaBase.
Definition at line 883 of file EKinWalberlaImpl.hpp.
References density, FloatType_c(), walberla::get_block_and_cell(), walberla::get_interval(), get_lattice(), LatticeWalberla::get_local_grid_range(), and m_boundary_density.
|
inlineoverridevirtual |
Implements EKinWalberlaBase.
Definition at line 942 of file EKinWalberlaImpl.hpp.
References walberla::EKinWalberlaImpl< FluxCount, FloatType, Architecture >::GhostComm::FLB, flux, walberla::get_block_and_cell(), walberla::get_interval(), get_lattice(), LatticeWalberla::get_local_grid_range(), m_boundary_flux, m_pending_ghost_comm, and walberla::to_vector3().
|
inlineoverridevirtual |
Implements EKinWalberlaBase.
Definition at line 403 of file EKinWalberlaImpl.hpp.
References FloatType_c(), and m_diffusive_flux_electrostatic.
|
inlinenodiscardoverridevirtualnoexcept |
Implements EKinWalberlaBase.
Definition at line 187 of file EKinWalberlaImpl.hpp.
|
inlineoverridevirtual |
Implements EKinWalberlaBase.
Definition at line 1079 of file EKinWalberlaImpl.hpp.
References walberla::fill_3D_scalar_array(), LatticeWalberla::get_grid_dimensions(), get_lattice(), m_boundary_density, reallocate_density_boundary_field(), and walberla::set_boundary_from_grid().
|
inlineoverridevirtual |
Implements EKinWalberlaBase.
Definition at line 1069 of file EKinWalberlaImpl.hpp.
References walberla::fill_3D_vector_array(), walberla::EKinWalberlaImpl< FluxCount, FloatType, Architecture >::GhostComm::FLB, LatticeWalberla::get_grid_dimensions(), get_lattice(), m_boundary_flux, m_pending_ghost_comm, reallocate_flux_boundary_field(), and walberla::set_boundary_from_grid().
|
protected |
Flag for boundary cells.
Definition at line 216 of file EKinWalberlaImpl.hpp.
Referenced by register_vtk_field_filters(), and register_vtk_field_writers().
|
protected |
|
protected |
Definition at line 294 of file EKinWalberlaImpl.hpp.
Referenced by EKinWalberlaImpl(), and ghost_communication_boundary().
|
protected |
Definition at line 221 of file EKinWalberlaImpl.hpp.
Referenced by get_node_density(), get_node_density_at_boundary(), get_node_is_boundary(), get_node_is_density_boundary(), get_slice_density(), get_slice_density_at_boundary(), get_slice_is_boundary(), reallocate_density_boundary_field(), register_vtk_field_writers(), remove_node_from_density_boundary(), reset_density_boundary_handling(), set_node_density_boundary(), set_slice_density_boundary(), and update_density_boundary_from_shape().
|
protected |
Definition at line 222 of file EKinWalberlaImpl.hpp.
Referenced by EKinWalberlaImpl(), get_node_flux_at_boundary(), get_node_flux_vector(), get_node_is_boundary(), get_node_is_flux_boundary(), get_slice_flux_at_boundary(), get_slice_flux_vector(), get_slice_is_boundary(), reallocate_flux_boundary_field(), register_vtk_field_writers(), remove_node_from_flux_boundary(), reset_flux_boundary_handling(), set_node_flux_boundary(), set_slice_flux_boundary(), and update_flux_boundary_from_shape().
|
protected |
Definition at line 227 of file EKinWalberlaImpl.hpp.
Referenced by EKinWalberlaImpl().
|
protected |
Definition at line 206 of file EKinWalberlaImpl.hpp.
Referenced by EKinWalberlaImpl(), get_density_id(), get_node_density(), get_slice_density(), register_vtk_field_writers(), reset_density_boundary_handling(), set_node_density(), and set_slice_density().
|
protected |
Definition at line 224 of file EKinWalberlaImpl.hpp.
Referenced by get_rng_state(), is_thermalized(), set_diffusion(), and set_rng_state().
|
protected |
Definition at line 226 of file EKinWalberlaImpl.hpp.
Referenced by set_diffusion(), set_ext_efield(), set_kT(), set_rng_state(), and set_valency().
|
protected |
Definition at line 210 of file EKinWalberlaImpl.hpp.
Referenced by EKinWalberlaImpl(), register_vtk_field_filters(), register_vtk_field_writers(), and reset_density_boundary_handling().
|
protected |
Definition at line 211 of file EKinWalberlaImpl.hpp.
Referenced by EKinWalberlaImpl(), register_vtk_field_filters(), and reset_flux_boundary_handling().
|
protected |
Definition at line 208 of file EKinWalberlaImpl.hpp.
Referenced by EKinWalberlaImpl(), get_node_flux_vector(), get_slice_flux_vector(), register_vtk_field_writers(), and reset_flux_boundary_handling().
|
protected |
Definition at line 293 of file EKinWalberlaImpl.hpp.
Referenced by EKinWalberlaImpl().
|
protected |
Block forest.
Definition at line 219 of file EKinWalberlaImpl.hpp.
Referenced by add_to_storage(), EKinWalberlaImpl(), get_lattice(), register_vtk_field_writers(), reset_density_boundary_handling(), and reset_flux_boundary_handling().
|
protected |
Definition at line 296 of file EKinWalberlaImpl.hpp.
Referenced by EKinWalberlaImpl(), ghost_communication(), ghost_communication_boundary(), and integrate().
|
protected |
Definition at line 295 of file EKinWalberlaImpl.hpp.
Referenced by clear_flux_boundaries(), EKinWalberlaImpl(), get_node_flux_at_boundary(), get_node_is_flux_boundary(), ghost_communication(), ghost_communication_boundary(), integrate(), remove_node_from_flux_boundary(), set_node_density(), set_node_flux_boundary(), set_slice_density(), set_slice_flux_boundary(), and update_flux_boundary_from_shape().