Lethe Open-Source Library version 1.2.0
Developer Guide
Loading...
Searching...
No Matches
TracerReactionPrefactorModel Class Reference

#include <tracer_reaction_model.h>

Inheritance diagram for TracerReactionPrefactorModel:
[legend]

Static Public Member Functions

static std::shared_ptr< TracerReactionPrefactorModel > model_cast (const Parameters::Material &material_properties)

Additional Inherited Members

Public Types inherited from PhysicalPropertyModel
enum class  ComplexComponent : std::int8_t { real , imag }
Public Member Functions inherited from PhysicalPropertyModel
 PhysicalPropertyModel ()
virtual ~PhysicalPropertyModel ()=default
bool depends_on (const field &id)
virtual double value (const std::map< field, double > &fields_value)=0
virtual void vector_value (const std::map< field, std::vector< double > > &field_vectors, std::vector< double > &property_vector)=0
virtual double jacobian (const std::map< field, double > &field_values, const field id)=0
virtual void vector_jacobian (const std::map< field, std::vector< double > > &field_vectors, const field id, std::vector< double > &jacobian_vector)=0
void provide_simulation_control (std::shared_ptr< SimulationControl > &p_simulation_control)
double numerical_jacobian (const std::map< field, double > &field_values, const field id)
void vector_numerical_jacobian (const std::map< field, std::vector< double > > &field_vectors, const field id, std::vector< double > &jacobian_vector)
Protected Member Functions inherited from PhysicalPropertyModel
std::shared_ptr< SimulationControl > & get_simulation_control ()
Protected Attributes inherited from PhysicalPropertyModel
std::map< field, bool > model_depends_on

Detailed Description

Abstract class to calculate the tracer reaction prefactor.

This model computes the prefactor \( k = \alpha \, C^{(n-1)} \) such that the full reaction term is assembled as \( r = -k \, C \).

Here, \( \alpha \) represents the reaction constant. This parent class could have children classes that are not based on the power law.

Definition at line 57 of file tracer_reaction_model.h.

Member Function Documentation

◆ model_cast()


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