19#ifndef _BatemanSolver_
20#define _BatemanSolver_
65 virtual void Solve(
double *N0,
double **Matrix,
int N,
double t1,
double t2) = 0;
Base class of Bateman-type solvers like Runge-Kutta or CRAM or any other.
Definition BatemanSolver.hxx:45
void SetXe135EquilibriumIndex(int Te135, int I135, int Xe135)
Set index (position) in EvolvingSystem::fEvolvingAtoms vector for Te-135, I-135 and Xe-135.
Definition BatemanSolver.hxx:101
void SetPrecision(double eps=1e-5)
Definition BatemanSolver.hxx:76
double fTmin
The lowest value of the decay constant considered.
Definition BatemanSolver.hxx:111
void SetForbidNegativeValue()
Forbid negative value during integration.
Definition BatemanSolver.hxx:88
void SetNumberOfEquations(int N)
Definition BatemanSolver.hxx:71
virtual ~BatemanSolver()
Destructor.
Definition BatemanSolver.cxx:55
int fIdxTe135
index of Te-135 in the fEvolvingAtoms array
Definition BatemanSolver.hxx:113
int fIdxI135
index of I-135 in the fEvolvingAtoms array
Definition BatemanSolver.hxx:114
int fIdxXe135
index of Xe-135 in the fEvolvingAtoms array
Definition BatemanSolver.hxx:115
int GetNumberOfEquationSize()
Definition BatemanSolver.hxx:67
BatemanSolver()
Normal constructor.
Definition BatemanSolver.cxx:32
int fNVar
The size of the composition vector and /or number of ZAIs involved.
Definition BatemanSolver.hxx:109
virtual void Solve(double *N0, double **Matrix, int N, double t1, double t2)=0
Abstract method to Solve Bateman equation : must be overriden.
bool fIsNegativeValueAllowed
Definition BatemanSolver.hxx:112
double fPrecision
Precision of the solution.
Definition BatemanSolver.hxx:110
the namespace of the Standard C++