CFD Online URL
[Sponsors]
Home > Forums

How to get an element of a wordList from a dictionary

Register Blogs Members List Search Today's Posts Mark Forums Read

Rate this Entry

How to get an element of a wordList from a dictionary

Posted July 16, 2012 at 07: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 418 Comments 0 Edit Tags Email Blog Entry
« Prev     Main     Next »
Total Comments 0

Comments

 

All times are GMT -4. The time now is 04:38.