Lethe Open-Source Library version 1.2.0
Developer Guide
Loading...
Searching...
No Matches
TracerAssemblerReaction< dim > Class Template Reference

#include <tracer_assemblers.h>

Inheritance diagram for TracerAssemblerReaction< dim >:
[legend]

Public Member Functions

 TracerAssemblerReaction (const std::shared_ptr< SimulationControl > &simulation_control)
virtual void assemble_matrix (const TracerScratchData< dim > &scratch_data, StabilizedMethodsCopyData &copy_data) override
virtual void assemble_rhs (const TracerScratchData< dim > &scratch_data, StabilizedMethodsCopyData &copy_data) override
Public Member Functions inherited from PhysicsAssemblerBase< TracerScratchData< dim >, StabilizedMethodsCopyData >
virtual ~PhysicsAssemblerBase ()=default

Public Attributes

const std::shared_ptr< SimulationControl > simulation_control

Detailed Description

template<int dim>
class TracerAssemblerReaction< dim >

Class that assembles the reaction source term of the Tracer equation. It assembles the term: \( S = - R \= - k C \) Where C is the tracer concentration and k is a reaction rate prefactor that changes depending on the underlying model. For power law of base rate $\alpha$ and order $n$, the model is: \( S = - R \= - (\alpha C^(n-1)) C \).

Template Parameters
dimAn integer that denotes the number of spatial dimensions

Definition at line 267 of file tracer_assemblers.h.

Constructor & Destructor Documentation

◆ TracerAssemblerReaction()

template<int dim>
TracerAssemblerReaction< dim >::TracerAssemblerReaction ( const std::shared_ptr< SimulationControl > & simulation_control)
inline

Definition at line 270 of file tracer_assemblers.h.

References simulation_control.

Member Function Documentation

◆ assemble_matrix()

◆ assemble_rhs()

Member Data Documentation

◆ simulation_control

template<int dim>
const std::shared_ptr<SimulationControl> TracerAssemblerReaction< dim >::simulation_control

Definition at line 293 of file tracer_assemblers.h.


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