SPHinXsys  alpha version
Public Member Functions | Public Attributes | Protected Types | Protected Attributes | List of all members
SPH::BaseReactionModel Class Reference

Base class for all reaction models. More...

#include <diffusion_reaction.h>

Inherited by SPH::ElectroPhysiologyReaction.

Public Member Functions

 BaseReactionModel (StdVec< std::string > species_name_list)
 
StdVec< std::string > getSpeciesNameList ()
 

Public Attributes

IndexVector reactive_species_
 
StdVec< ReactionFunctorget_production_rates_
 
StdVec< ReactionFunctorget_loss_rates_
 

Protected Types

typedef std::function< Real(StdVec< StdLargeVec< Real >> &, size_t particle_i)> ReactionFunctor
 

Protected Attributes

StdVec< std::string > species_name_list_
 
std::map< std::string, size_tspecies_indexes_map_
 
std::string reaction_model_
 

Detailed Description

Base class for all reaction models.

Member Typedef Documentation

◆ ReactionFunctor

typedef std::function<Real(StdVec<StdLargeVec<Real>> &, size_t particle_i)> SPH::BaseReactionModel::ReactionFunctor
protected

Reaction functor .


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