class specie updated inline constructors

This commit is contained in:
ignis 2015-11-23 17:18:39 +09:00
parent cdf1d5e829
commit 145892966a

View file

@ -41,7 +41,8 @@ inline specie::specie
:
name_(name),
nMoles_(nMoles),
molWeight_(molWeight)
molWeight_(molWeight),
nCharges_(0.0)
{}
@ -52,7 +53,8 @@ inline specie::specie
)
:
nMoles_(nMoles),
molWeight_(molWeight)
molWeight_(molWeight),
nCharges_(0.0)
{}
@ -62,7 +64,8 @@ inline specie::specie(const specie& st)
:
name_(st.name_),
nMoles_(st.nMoles_),
molWeight_(st.molWeight_)
molWeight_(st.molWeight_),
nCharges_(st.nCharges_)
{}
@ -70,7 +73,8 @@ inline specie::specie(const word& name, const specie& st)
:
name_(name),
nMoles_(st.nMoles_),
molWeight_(st.molWeight_)
molWeight_(st.molWeight_),
nCharges_(st.nCharges_)
{}