View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002874 | OpenFOAM | Bug | public | 2018-03-12 10:56 | 2018-03-12 22:24 |
Reporter | monto | Assigned To | henry | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | linux 64 | OS | Debian | OS Version | 9 |
Product Version | dev | ||||
Fixed in Version | dev | ||||
Summary | 0002874: Wrong initialization order in PengRobinsonGas ctor (inline) | ||||
Description | In PengRobinsonGasI.H the first inline ctor uses an initializer list with a different order with respect to the class member declaration: [PengRobinsonGas.H] // Private data //- Critical Temperature [K] scalar Tc_; //- Critical volume [m^3/kmol] scalar Vc_; //- Critical compression factor [-] scalar Zc_; //- Critical Pressure [Pa] scalar Pc_; //- Acentric factor [-] scalar omega_; [PengRobinsonGasI.H] template<class Specie> inline Foam::PengRobinsonGas<Specie>::PengRobinsonGas ( const word& name, const PengRobinsonGas& pg ) : Specie(name, pg), Tc_(pg.Tc_), Pc_(pg.Pc_), Vc_(pg.Vc_), Zc_(pg.Zc_), omega_(pg.omega_) {} | ||||
Tags | No tags attached. | ||||