View Issue Details

IDProjectCategoryView StatusLast Update
0002874OpenFOAMBugpublic2018-03-12 22:24
Reportermonto Assigned Tohenry  
Status resolvedResolutionfixed 
Platformlinux 64OSDebianOS Version9
Product Versiondev 
Fixed in Versiondev 
Summary0002874: Wrong initialization order in PengRobinsonGas ctor (inline)
DescriptionIn PengRobinsonGasI.H the first inline ctor uses an initializer list with a different order with respect to the class member declaration:

    // 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_;

template<class Specie>
inline Foam::PengRobinsonGas<Specie>::PengRobinsonGas
    const word& name,
    const PengRobinsonGas& pg
    Specie(name, pg),

TagsNo tags attached.



2018-03-12 22:24

manager   ~0009416

Resolved by commit 85c1c8b94f8ff7620683bc60e5b7db025f901582

Issue History

Date Modified Username Field Change
2018-03-12 10:56 monto New Issue
2018-03-12 22:24 henry Assigned To => henry
2018-03-12 22:24 henry Status new => resolved
2018-03-12 22:24 henry Resolution open => fixed
2018-03-12 22:24 henry Fixed in Version => dev
2018-03-12 22:24 henry Note Added: 0009416