CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

How to get an element of a wordList from a dictionary

Register Blogs Community New Posts Updated Threads Search

Rate this Entry

How to get an element of a wordList from a dictionary

Posted July 16, 2012 at 06:28 by tomislav_maric

Snippet:

Code:
 IOdictionary fvSchemes
    (
        IOobject
        (
           "fvSchemes", 
           runTime.system(), 
           runTime, 
           IOobject::MUST_READ, 
           IOobject::NO_WRITE
        )
    );

    Info << fvSchemes.subDict("divSchemes")["div(phi,alpha)"][1] << endl;
Posted in Uncategorized
Views 1681 Comments 0 Edit Tags Email Blog Entry
« Prev     Main     Next »
Total Comments 0

Comments

 

All times are GMT -4. The time now is 01:22.