ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
walberla::EKReactionImplIndexed Class Reference

#include <EKReactionImplIndexed.hpp>

+ Inheritance diagram for walberla::EKReactionImplIndexed:
+ Collaboration diagram for walberla::EKReactionImplIndexed:

Public Types

using FlagField = field::FlagField< uint8_t >
 
using IndexVectors = detail::ReactionKernelIndexedSelector::KernelTrait<>::ReactionKernelIndexed::IndexVectors
 
using IndexInfo = detail::ReactionKernelIndexedSelector::KernelTrait<>::ReactionKernelIndexed::IndexInfo
 
- Public Types inherited from walberla::EKReactionBase
using reactants_type = std::vector< std::shared_ptr< EKReactant > >
 

Public Member Functions

 EKReactionImplIndexed (std::shared_ptr< LatticeWalberla > const &lattice, reactants_type const &reactants, double coefficient)
 
 ~EKReactionImplIndexed () override=default
 
void perform_reaction () override
 
void set_node_is_boundary (Utils::Vector3i const &node, bool is_boundary) override
 
std::optional< bool > get_node_is_boundary (Utils::Vector3i const &node) override
 
void boundary_update ()
 
- Public Member Functions inherited from walberla::EKReactionBaseIndexed
 ~EKReactionBaseIndexed () override=default
 
 EKReactionBase (std::shared_ptr< LatticeWalberla > lattice, reactants_type reactants, double coefficient)
 
- Public Member Functions inherited from walberla::EKReactionBase
 EKReactionBase (std::shared_ptr< LatticeWalberla > lattice, reactants_type reactants, double coefficient)
 
virtual ~EKReactionBase ()=default
 
void set_coefficient (double coefficient) noexcept
 
double get_coefficient () const noexcept
 
auto get_lattice () const noexcept
 
auto const & get_reactants () const noexcept
 

Public Attributes

FlagUID const Domain_flag {"domain"}
 Flag for domain cells, i.e.
 
FlagUID const Boundary_flag {"boundary"}
 Flag for boundary cells.
 

Detailed Description

Definition at line 47 of file EKReactionImplIndexed.hpp.

Member Typedef Documentation

◆ FlagField

using walberla::EKReactionImplIndexed::FlagField = field::FlagField<uint8_t>

Definition at line 59 of file EKReactionImplIndexed.hpp.

◆ IndexInfo

using walberla::EKReactionImplIndexed::IndexInfo = detail::ReactionKernelIndexedSelector::KernelTrait<>:: ReactionKernelIndexed::IndexInfo

Definition at line 62 of file EKReactionImplIndexed.hpp.

◆ IndexVectors

using walberla::EKReactionImplIndexed::IndexVectors = detail::ReactionKernelIndexedSelector::KernelTrait<>:: ReactionKernelIndexed::IndexVectors

Definition at line 60 of file EKReactionImplIndexed.hpp.

Constructor & Destructor Documentation

◆ EKReactionImplIndexed()

walberla::EKReactionImplIndexed::EKReactionImplIndexed ( std::shared_ptr< LatticeWalberla > const &  lattice,
reactants_type const &  reactants,
double  coefficient 
)
inline

◆ ~EKReactionImplIndexed()

walberla::EKReactionImplIndexed::~EKReactionImplIndexed ( )
overridedefault

Member Function Documentation

◆ boundary_update()

void walberla::EKReactionImplIndexed::boundary_update ( )
inline

Definition at line 143 of file EKReactionImplIndexed.hpp.

References block(), and walberla::EKReactionBase::get_lattice().

Referenced by perform_reaction().

◆ get_node_is_boundary()

std::optional< bool > walberla::EKReactionImplIndexed::get_node_is_boundary ( Utils::Vector3i const &  node)
inlineoverridevirtual

◆ perform_reaction()

void walberla::EKReactionImplIndexed::perform_reaction ( )
inlineoverridevirtual

◆ set_node_is_boundary()

void walberla::EKReactionImplIndexed::set_node_is_boundary ( Utils::Vector3i const &  node,
bool  is_boundary 
)
inlineoverridevirtual

Member Data Documentation

◆ Boundary_flag

FlagUID const walberla::EKReactionImplIndexed::Boundary_flag {"boundary"}

Flag for boundary cells.

Definition at line 57 of file EKReactionImplIndexed.hpp.

Referenced by EKReactionImplIndexed().

◆ Domain_flag

FlagUID const walberla::EKReactionImplIndexed::Domain_flag {"domain"}

Flag for domain cells, i.e.

all cells.

Definition at line 55 of file EKReactionImplIndexed.hpp.

Referenced by EKReactionImplIndexed().


The documentation for this class was generated from the following file: