mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 16:44:49 +01:00
added const versions
git-svn-id: svn://136.177.114.72/svn_GW/phreeqc3/trunk@6319 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
parent
4f70c3947b
commit
54d517d477
@ -36,6 +36,7 @@ public:
|
||||
}
|
||||
|
||||
cxxNameDouble &Get_namecoef(void) {return namecoef;}
|
||||
const cxxNameDouble &Get_namecoef(void)const {return namecoef;}
|
||||
void Set_namecoef(const cxxNameDouble nd) {namecoef = nd;}
|
||||
LDBLE Get_tol(void) const {return tol;}
|
||||
void Set_tol(LDBLE t) {tol = t;}
|
||||
@ -48,6 +49,7 @@ public:
|
||||
LDBLE Get_initial_moles(void) const {return initial_moles;}
|
||||
void Set_initial_moles(LDBLE t) {initial_moles = t;}
|
||||
std::vector < LDBLE > &Get_d_params(void) {return d_params;};
|
||||
const std::vector < LDBLE > &Get_d_params(void)const {return d_params;};
|
||||
std::vector < std::string > &Get_c_params(void) {return c_params;};
|
||||
|
||||
#ifdef USE_MPI
|
||||
|
||||
@ -28,6 +28,7 @@ class cxxKinetics:public cxxNumKeyword
|
||||
void read_raw(CParser & parser, bool check = true);
|
||||
|
||||
std::vector < LDBLE > &Get_steps(void) {return steps;}
|
||||
const std::vector < LDBLE > &Get_steps(void)const {return steps;}
|
||||
LDBLE Get_step_divide(void) const {return step_divide;}
|
||||
void Set_step_divide(LDBLE t) {step_divide = t;}
|
||||
int Get_rk(void) const {return rk;};
|
||||
@ -41,6 +42,7 @@ class cxxKinetics:public cxxNumKeyword
|
||||
int Get_cvode_order(void) const {return cvode_order;}
|
||||
void Set_cvode_order(int t) {cvode_order = t;}
|
||||
std::vector < cxxKineticsComp > &Get_kinetics_comps(void) {return kinetics_comps;}
|
||||
const std::vector < cxxKineticsComp > &Get_kinetics_comps(void)const {return kinetics_comps;}
|
||||
cxxNameDouble & Get_totals(void) {return this->totals;}
|
||||
void Set_totals(const cxxNameDouble &nd) {totals = nd;}
|
||||
bool Get_equalIncrements(void) const {return equalIncrements;}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user