Canoe
Comprehensive Atmosphere N' Ocean Engine
ChemistrySolver< N > Class Template Reference

#include <chemistry_solver.hpp>

Inheritance diagram for ChemistrySolver< N >:
[legend]

Public Types

enum  { Size = N }
 

Public Member Functions

 ChemistrySolver ()
 
template<typename T1 , typename T2 , typename T3 >
T1 solveBDF1 (T2 const &Rate, T3 const &Jac, Real dt)
 
template<typename T1 , typename T2 , typename T3 >
T1 solveTRBDF2 (T2 const &Rate, T3 const &Jac, Real dt)
 
template<typename T1 , typename T2 , typename T3 >
T1 solveTRBDF2Blend (T2 const &Rate, T3 const &Jac, Real dt, Real const c[], int const indx[])
 

Private Attributes

int gamma_ = 2. - sqrt(2.)
 
Eigen::Matrix< Real, N, N > A_
 
Eigen::Matrix< Real, N, N > I_
 
Eigen::Matrix< Real, N, 1 > B_
 
Eigen::Matrix< Real, N, 1 > S1_
 
Eigen::Matrix< Real, N, 1 > S2_
 

Detailed Description

template<int N>
class ChemistrySolver< N >

Definition at line 13 of file chemistry_solver.hpp.

Member Enumeration Documentation

◆ anonymous enum

template<int N>
anonymous enum
Enumerator
Size 

Definition at line 19 of file chemistry_solver.hpp.

Constructor & Destructor Documentation

◆ ChemistrySolver()

template<int N>
ChemistrySolver< N >::ChemistrySolver ( )
inline

Definition at line 22 of file chemistry_solver.hpp.

Member Function Documentation

◆ solveBDF1()

template<int N>
template<typename T1 , typename T2 , typename T3 >
T1 ChemistrySolver< N >::solveBDF1 ( T2 const &  Rate,
T3 const &  Jac,
Real  dt 
)
inline

Definition at line 25 of file chemistry_solver.hpp.

◆ solveTRBDF2()

template<int N>
template<typename T1 , typename T2 , typename T3 >
T1 ChemistrySolver< N >::solveTRBDF2 ( T2 const &  Rate,
T3 const &  Jac,
Real  dt 
)
inline

Definition at line 35 of file chemistry_solver.hpp.

◆ solveTRBDF2Blend()

template<int N>
template<typename T1 , typename T2 , typename T3 >
T1 ChemistrySolver< N >::solveTRBDF2Blend ( T2 const &  Rate,
T3 const &  Jac,
Real  dt,
Real const  c[],
int const  indx[] 
)
inline

Definition at line 47 of file chemistry_solver.hpp.

Member Data Documentation

◆ gamma_

template<int N>
int ChemistrySolver< N >::gamma_ = 2. - sqrt(2.)
private

Definition at line 72 of file chemistry_solver.hpp.

◆ A_

template<int N>
Eigen::Matrix<Real, N, N> ChemistrySolver< N >::A_
private

Definition at line 75 of file chemistry_solver.hpp.

◆ I_

template<int N>
Eigen::Matrix<Real, N, N> ChemistrySolver< N >::I_
private

Definition at line 75 of file chemistry_solver.hpp.

◆ B_

template<int N>
Eigen::Matrix<Real, N, 1> ChemistrySolver< N >::B_
private

Definition at line 76 of file chemistry_solver.hpp.

◆ S1_

template<int N>
Eigen::Matrix<Real, N, 1> ChemistrySolver< N >::S1_
private

Definition at line 76 of file chemistry_solver.hpp.

◆ S2_

template<int N>
Eigen::Matrix<Real, N, 1> ChemistrySolver< N >::S2_
private

Definition at line 76 of file chemistry_solver.hpp.


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