00001 dictionary piso = fluidRegions[i].solutionDict().subDict("PISO"); 00002 00003 int nCorr(readInt(piso.lookup("nCorrectors"))); 00004 00005 int nNonOrthCorr = 0; 00006 if (piso.found("nNonOrthogonalCorrectors")) 00007 { 00008 nNonOrthCorr = readInt(piso.lookup("nNonOrthogonalCorrectors")); 00009 } 00010 00011 bool momentumPredictor = true; 00012 if (piso.found("momentumPredictor")) 00013 { 00014 momentumPredictor = Switch(piso.lookup("momentumPredictor")); 00015 } 00016 00017 bool transonic = false; 00018 if (piso.found("transonic")) 00019 { 00020 transonic = Switch(piso.lookup("transonic")); 00021 } 00022 00023 int nOuterCorr = 1; 00024 if (piso.found("nOuterCorrectors")) 00025 { 00026 nOuterCorr = readInt(piso.lookup("nOuterCorrectors")); 00027 } 00028 00029 // ************************ vim: set sw=4 sts=4 et: ************************ //