Definition at line 57 of file cgnsWriter.H.
Public Member Functions | |
| cgnsWriter (std::string fname, std::string baseName, int cellDim, int physDim, int mode) | |
| ~cgnsWriter () | |
| void | deleteFile () |
| void | setUnits (CGNS_ENUMT(MassUnits_t) mu, CGNS_ENUMT(LengthUnits_t) lu, CGNS_ENUMT(TimeUnits_t) tu, CGNS_ENUMT(TemperatureUnits_t) tpu, CGNS_ENUMT(AngleUnits_t) au) |
| void | setBaseItrData (std::string bsitrname, int ntstp, double tval) |
| void | setZoneItrData (std::string zitrname, std::string grdptr, std::string slnptr) |
| void | setIntData (std::string intname, int intval) |
| void | setZone (std::string zName, CGNS_ENUMT(ZoneType_t) zt) |
| int | getNSections () |
| void | setTimestamp (std::string trimmed_base_t) |
| void | setNVrtx (int nVt) |
| void | setNCell (int nCl) |
| void | setGlobalNCell (int gnCl) |
| void | setGridXYZ (vect1d< double > x, vect1d< double > y, vect1d< double > z) |
| void | setCoordRind (int rind) |
| void | setVirtElmRind (int rind) |
| void | setPconnVec (const vect1d< int > &pConnVec) |
| void | setPconnLimits (int pconnProcMin, int pconnProcMax) |
| void | setPatchNo (int patchNo) |
| void | setBcflag (int bcflag) |
| void | setCnstrtype (int cnstr_type) |
| void | setVolCellFacesNumber (int nVolCellFaces) |
| void | setPconnGhostDescriptor (int ghostDescriptor) |
| void | setSection (std::string sName, CGNS_ENUMT(ElementType_t) st, vect1d< cgsize_t > elmConn) |
| void | setGlobalSection (std::string sName, CGNS_ENUMT(ElementType_t) st, vect1d< int > elmConn) |
| void | setGlobalSection (std::string gsName, CGNS_ENUMT(ElementType_t) gst) |
| void | resetSections () |
| void | resetGlobalSections () |
| void | setSolutionNode (std::string ndeName, CGNS_ENUMT(GridLocation_t) slnLoc) |
| void | writeSolutionNode (std::string ndeName, CGNS_ENUMT(GridLocation_t) slnLoc, int emptyFlag, int virtFlag) |
| void | writeSolutionField (std::string fname, std::string ndeName, CGNS_ENUMT(DataType_t) dt, void *data) |
| void | writeGridToFile () |
| void | writeZoneToFile () |
| void | writeWinToFile () |
| void | setFluidUnitsMap () |
| void | setFluidDimMap () |
| void | setFluidMagMap () |
| void | setiFluidUnitsMap () |
| void | setiFluidDimMap () |
| void | setiFluidMagMap () |
| void | setBurnUnitsMap () |
| void | setBurnDimMap () |
| void | setBurnMagMap () |
| void | setTypeFlag (int typeFlag) |
| void | writeVolCellFacesNumber () |
Private Member Functions | |
| CGNS_ENUMT (ZoneType_t) zoneType | |
| CGNS_ENUMT (ElementType_t) sectionType | |
| CGNS_ENUMT (MassUnits_t) massU | |
| CGNS_ENUMT (LengthUnits_t) lengthU | |
| CGNS_ENUMT (TimeUnits_t) timeU | |
| CGNS_ENUMT (TemperatureUnits_t) tempU | |
| CGNS_ENUMT (AngleUnits_t) angleU | |
Private Attributes | |
| std::string | myCgFileName |
| gsectionType | |
| int | rmin [3] |
| int | rmax [3] |
| cgsize_t | cgCoreSize [9] |
| std::string | baseName |
| std::string | zoneName |
| std::string | sectionName |
| std::string | gsectionName |
| int | indexFile |
| int | indexBase |
| int | indexZone |
| int | indexCoord |
| int | indexSection |
| int | cellDim |
| int | physDim |
| std::string | trimmed_base_t |
| int | nBase |
| int | nZone |
| int | nVrtx |
| int | nCell |
| int | gnCell |
| int | nSection |
| int | gnSection |
| int | nVrtxElem |
| int | coordRind |
| int | virtElmRind |
| int | pConnGhostDescriptor |
| int | typeFlag |
| vect1d< int > | pConnVec |
| int | pConnMin |
| int | pConnMax |
| vect1d< int > | elmConn |
| int | patchNo |
| int | bcflag |
| int | cnstr_type |
| int | intVal |
| int | nVolCellFaces |
| std::string | baseItrName |
| std::string | zoneItrName |
| std::string | intName |
| std::string | gridCrdPntr |
| std::string | flowSlnPntr |
| int | nTStep |
| double | timeLabel |
| vect1d< double > | xCrd |
| vect1d< double > | yCrd |
| vect1d< double > | zCrd |
| vect1d< std::string > | zoneNames |
| vect1d< CGNS_ENUMT(ZoneType_t)> | zoneTypes |
| vect1d< std::string > | sectionNames |
| vect1d< std::string > | gsectionNames |
| vect1d< CGNS_ENUMT(ElementType_t)> | sectionTypes |
| vect1d< CGNS_ENUMT(ElementType_t)> | gsectionTypes |
| vect2d< cgsize_t > | elmConns |
| vect2d< int > | gelmConns |
| vect1d< int > | nCells |
| vect1d< int > | gnCells |
| int | nSlnFld |
| int | nVrtxSln |
| int | nCellSln |
| int | nVrtxFld |
| int | nCellFld |
| std::map< std::string, int > | slnNameNFld |
| vect1d< int > | solutionIdx |
| std::map< std::string, CGNS_ENUMT(GridLocation_t)> | solutionNameLocMap |
| std::map< std::string, int > | solutionNameSolIdxMap |
| std::map< int, std::pair< int, keyValueList > > | solutionMap |
| vect1d< std::string > | solutionName |
| vect1d< CGNS_ENUMT(GridLocation_t)> | solutionGridLocation |
| std::map< std::string, std::string > | fluidUnitsMap |
| std::map< std::string, std::vector< float > > | fluidDimMap |
| std::map< std::string, int > | fluidMagMap |
| std::map< std::string, std::string > | ifluidUnitsMap |
| std::map< std::string, std::vector< float > > | ifluidDimMap |
| std::map< std::string, int > | ifluidMagMap |
| std::map< std::string, std::string > | burnUnitsMap |
| std::map< std::string, std::vector< float > > | burnDimMap |
| std::map< std::string, int > | burnMagMap |
|
inline |
Definition at line 59 of file cgnsWriter.H.
|
inline |
Definition at line 80 of file cgnsWriter.H.
References CGNS_ENUMT(), data, pconnProcMax, pconnProcMin, and trimmed_base_t.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
| void cgnsWriter::deleteFile | ( | ) |
| int cgnsWriter::getNSections | ( | ) |
| void cgnsWriter::resetGlobalSections | ( | ) |
Definition at line 379 of file cgnsWriter.C.
References gelmConns, gnCells, gnSection, gsectionName, gsectionNames, and gsectionTypes.
| void cgnsWriter::resetSections | ( | ) |
Definition at line 368 of file cgnsWriter.C.
References elmConns, nCells, nSection, sectionName, sectionNames, and sectionTypes.
| void cgnsWriter::setBaseItrData | ( | std::string | bsitrname, |
| int | ntstp, | ||
| double | tval | ||
| ) |
| void cgnsWriter::setBcflag | ( | int | bcflag | ) |
Definition at line 472 of file cgnsWriter.C.
References bcflag.
| void cgnsWriter::setBurnDimMap | ( | ) |
Definition at line 244 of file cgnsWriter.C.
References burnDimMap.
| void cgnsWriter::setBurnMagMap | ( | ) |
| void cgnsWriter::setBurnUnitsMap | ( | ) |
Definition at line 225 of file cgnsWriter.C.
References burnUnitsMap.
| void cgnsWriter::setCnstrtype | ( | int | cnstr_type | ) |
| void cgnsWriter::setCoordRind | ( | int | rind | ) |
Definition at line 428 of file cgnsWriter.C.
References coordRind.
| void cgnsWriter::setFluidDimMap | ( | ) |
Definition at line 80 of file cgnsWriter.C.
References fluidDimMap.
| void cgnsWriter::setFluidMagMap | ( | ) |
| void cgnsWriter::setFluidUnitsMap | ( | ) |
Definition at line 59 of file cgnsWriter.C.
References fluidUnitsMap.
| void cgnsWriter::setGlobalNCell | ( | int | gnCl | ) |
| void cgnsWriter::setGlobalSection | ( | std::string | sName, |
| CGNS_ENUMT(ElementType_t) | st, | ||
| vect1d< int > | elmConn | ||
| ) |
Definition at line 343 of file cgnsWriter.C.
References gelmConns, gnSection, gsectionName, gsectionNames, gsectionType, and gsectionTypes.
| void cgnsWriter::setGlobalSection | ( | std::string | gsName, |
| CGNS_ENUMT(ElementType_t) | gst | ||
| ) |
Definition at line 356 of file cgnsWriter.C.
References gelmConns, gnSection, gsectionName, gsectionNames, gsectionType, and gsectionTypes.
| void cgnsWriter::setiFluidDimMap | ( | ) |
Definition at line 158 of file cgnsWriter.C.
References ifluidDimMap.
| void cgnsWriter::setiFluidMagMap | ( | ) |
| void cgnsWriter::setiFluidUnitsMap | ( | ) |
Definition at line 124 of file cgnsWriter.C.
References ifluidUnitsMap.
| void cgnsWriter::setIntData | ( | std::string | intname, |
| int | intval | ||
| ) |
| void cgnsWriter::setNCell | ( | int | nCl | ) |
Definition at line 402 of file cgnsWriter.C.
| void cgnsWriter::setNVrtx | ( | int | nVt | ) |
Definition at line 396 of file cgnsWriter.C.
References nVrtx.
| void cgnsWriter::setPatchNo | ( | int | patchNo | ) |
Definition at line 459 of file cgnsWriter.C.
References patchNo.
| void cgnsWriter::setPconnGhostDescriptor | ( | int | ghostDescriptor | ) |
| void cgnsWriter::setPconnLimits | ( | int | pconnProcMin, |
| int | pconnProcMax | ||
| ) |
| void cgnsWriter::setPconnVec | ( | const vect1d< int > & | pConnVec | ) |
Definition at line 446 of file cgnsWriter.C.
References pConnVec.
| void cgnsWriter::setSection | ( | std::string | sName, |
| CGNS_ENUMT(ElementType_t) | st, | ||
| vect1d< cgsize_t > | elmConn | ||
| ) |
Definition at line 332 of file cgnsWriter.C.
References elmConns, nSection, sectionName, sectionNames, and sectionTypes.
| void cgnsWriter::setSolutionNode | ( | std::string | ndeName, |
| CGNS_ENUMT(GridLocation_t) | slnLoc | ||
| ) |
Definition at line 484 of file cgnsWriter.C.
References nCellSln, nVrtxSln, slnNameNFld, and solutionNameLocMap.
| void cgnsWriter::setTimestamp | ( | std::string | trimmed_base_t | ) |
| void cgnsWriter::setTypeFlag | ( | int | typeFlag | ) |
Definition at line 287 of file cgnsWriter.C.
References typeFlag.
| void cgnsWriter::setUnits | ( | CGNS_ENUMT(MassUnits_t) | mu, |
| CGNS_ENUMT(LengthUnits_t) | lu, | ||
| CGNS_ENUMT(TimeUnits_t) | tu, | ||
| CGNS_ENUMT(TemperatureUnits_t) | tpu, | ||
| CGNS_ENUMT(AngleUnits_t) | au | ||
| ) |
Definition at line 43 of file cgnsWriter.C.
| void cgnsWriter::setVirtElmRind | ( | int | rind | ) |
| void cgnsWriter::setVolCellFacesNumber | ( | int | nVolCellFaces | ) |
| void cgnsWriter::setZone | ( | std::string | zName, |
| CGNS_ENUMT(ZoneType_t) | zt | ||
| ) |
| void cgnsWriter::setZoneItrData | ( | std::string | zitrname, |
| std::string | grdptr, | ||
| std::string | slnptr | ||
| ) |
| void cgnsWriter::writeGridToFile | ( | ) |
Definition at line 773 of file cgnsWriter.C.
References baseItrName, baseName, cellDim, indexBase, indexFile, nTStep, physDim, and timeLabel.
| void cgnsWriter::writeSolutionField | ( | std::string | fname, |
| std::string | ndeName, | ||
| CGNS_ENUMT(DataType_t) | dt, | ||
| void * | data | ||
| ) |
Definition at line 602 of file cgnsWriter.C.
References burnDimMap, burnUnitsMap, data, fluidDimMap, fluidUnitsMap, ifluidDimMap, ifluidUnitsMap, indexBase, indexFile, indexZone, nCellFld, nSlnFld, nVrtx, nVrtxFld, solutionMap, solutionNameLocMap, solutionNameSolIdxMap, and typeFlag.
| void cgnsWriter::writeSolutionNode | ( | std::string | ndeName, |
| CGNS_ENUMT(GridLocation_t) | slnLoc, | ||
| int | emptyFlag, | ||
| int | virtFlag | ||
| ) |
Definition at line 497 of file cgnsWriter.C.
References burnDimMap, burnUnitsMap, coordRind, fluidDimMap, fluidUnitsMap, ifluidDimMap, ifluidUnitsMap, indexBase, indexFile, indexZone, nCellSln, nVrtxSln, slnNameNFld, solutionIdx, solutionNameLocMap, solutionNameSolIdxMap, typeFlag, and virtElmRind.
| void cgnsWriter::writeVolCellFacesNumber | ( | ) |
Definition at line 820 of file cgnsWriter.C.
References fluidDimMap, fluidUnitsMap, indexBase, indexFile, nVolCellFaces, and trimmed_base_t.
| void cgnsWriter::writeWinToFile | ( | ) |
Definition at line 793 of file cgnsWriter.C.
References baseName, ifluidDimMap, ifluidUnitsMap, indexBase, indexFile, intName, and intVal.
| void cgnsWriter::writeZoneToFile | ( | ) |
Definition at line 846 of file cgnsWriter.C.
References baseName, bcflag, burnDimMap, burnUnitsMap, cgCoreSize, cnstr_type, coordRind, elmConns, flowSlnPntr, fluidDimMap, fluidUnitsMap, gelmConns, gnCells, gnSection, gridCrdPntr, gsectionNames, ifluidDimMap, ifluidUnitsMap, indexBase, indexCoord, indexFile, indexSection, indexZone, nCells, nSection, nVrtx, patchNo, pConnGhostDescriptor, pConnMax, pConnMin, pConnVec, sectionNames, sectionTypes, trimmed_base_t, typeFlag, virtElmRind, xCrd, yCrd, zCrd, zoneItrName, and zoneName.
|
private |
Definition at line 176 of file cgnsWriter.H.
Referenced by setBaseItrData(), and writeGridToFile().
|
private |
Definition at line 142 of file cgnsWriter.H.
Referenced by writeGridToFile(), writeWinToFile(), and writeZoneToFile().
|
private |
Definition at line 165 of file cgnsWriter.H.
Referenced by setBcflag(), and writeZoneToFile().
|
private |
Definition at line 215 of file cgnsWriter.H.
Referenced by setBurnDimMap(), writeSolutionField(), writeSolutionNode(), and writeZoneToFile().
|
private |
Definition at line 216 of file cgnsWriter.H.
Referenced by setBurnMagMap().
|
private |
Definition at line 214 of file cgnsWriter.H.
Referenced by setBurnUnitsMap(), writeSolutionField(), writeSolutionNode(), and writeZoneToFile().
|
private |
Definition at line 146 of file cgnsWriter.H.
Referenced by writeGridToFile().
|
private |
Definition at line 141 of file cgnsWriter.H.
Referenced by writeZoneToFile().
|
private |
Definition at line 166 of file cgnsWriter.H.
Referenced by setCnstrtype(), and writeZoneToFile().
|
private |
Definition at line 156 of file cgnsWriter.H.
Referenced by setCoordRind(), writeSolutionNode(), and writeZoneToFile().
|
private |
Definition at line 163 of file cgnsWriter.H.
|
private |
Definition at line 189 of file cgnsWriter.H.
Referenced by resetSections(), setSection(), and writeZoneToFile().
|
private |
Definition at line 178 of file cgnsWriter.H.
Referenced by setZoneItrData(), and writeZoneToFile().
|
private |
Definition at line 209 of file cgnsWriter.H.
Referenced by setFluidDimMap(), writeSolutionField(), writeSolutionNode(), writeVolCellFacesNumber(), and writeZoneToFile().
|
private |
Definition at line 210 of file cgnsWriter.H.
Referenced by setFluidMagMap().
|
private |
Definition at line 208 of file cgnsWriter.H.
Referenced by setFluidUnitsMap(), writeSolutionField(), writeSolutionNode(), writeVolCellFacesNumber(), and writeZoneToFile().
|
private |
Definition at line 190 of file cgnsWriter.H.
Referenced by resetGlobalSections(), setGlobalSection(), and writeZoneToFile().
|
private |
Definition at line 152 of file cgnsWriter.H.
Referenced by setGlobalNCell().
|
private |
Definition at line 192 of file cgnsWriter.H.
Referenced by resetGlobalSections(), setGlobalNCell(), and writeZoneToFile().
|
private |
Definition at line 154 of file cgnsWriter.H.
Referenced by resetGlobalSections(), setGlobalSection(), and writeZoneToFile().
|
private |
Definition at line 178 of file cgnsWriter.H.
Referenced by setZoneItrData(), and writeZoneToFile().
|
private |
Definition at line 142 of file cgnsWriter.H.
Referenced by resetGlobalSections(), and setGlobalSection().
|
private |
Definition at line 186 of file cgnsWriter.H.
Referenced by resetGlobalSections(), setGlobalSection(), and writeZoneToFile().
|
private |
Definition at line 139 of file cgnsWriter.H.
Referenced by setGlobalSection().
|
private |
Definition at line 188 of file cgnsWriter.H.
Referenced by resetGlobalSections(), and setGlobalSection().
|
private |
Definition at line 212 of file cgnsWriter.H.
Referenced by setiFluidDimMap(), writeSolutionField(), writeSolutionNode(), writeWinToFile(), and writeZoneToFile().
|
private |
Definition at line 213 of file cgnsWriter.H.
Referenced by setiFluidMagMap().
|
private |
Definition at line 211 of file cgnsWriter.H.
Referenced by setiFluidUnitsMap(), writeSolutionField(), writeSolutionNode(), writeWinToFile(), and writeZoneToFile().
|
private |
Definition at line 143 of file cgnsWriter.H.
Referenced by writeGridToFile(), writeSolutionField(), writeSolutionNode(), writeVolCellFacesNumber(), writeWinToFile(), and writeZoneToFile().
|
private |
Definition at line 144 of file cgnsWriter.H.
Referenced by writeZoneToFile().
|
private |
Definition at line 143 of file cgnsWriter.H.
Referenced by writeGridToFile(), writeSolutionField(), writeSolutionNode(), writeVolCellFacesNumber(), writeWinToFile(), and writeZoneToFile().
|
private |
Definition at line 145 of file cgnsWriter.H.
Referenced by writeZoneToFile().
|
private |
Definition at line 144 of file cgnsWriter.H.
Referenced by writeSolutionField(), writeSolutionNode(), and writeZoneToFile().
|
private |
Definition at line 177 of file cgnsWriter.H.
Referenced by setIntData(), and writeWinToFile().
|
private |
Definition at line 167 of file cgnsWriter.H.
Referenced by setIntData(), and writeWinToFile().
|
private |
Definition at line 137 of file cgnsWriter.H.
Referenced by deleteFile().
|
private |
Definition at line 148 of file cgnsWriter.H.
|
private |
Definition at line 151 of file cgnsWriter.H.
Referenced by setNCell().
|
private |
Definition at line 198 of file cgnsWriter.H.
Referenced by writeSolutionField().
|
private |
Definition at line 191 of file cgnsWriter.H.
Referenced by resetSections(), setNCell(), and writeZoneToFile().
|
private |
Definition at line 196 of file cgnsWriter.H.
Referenced by setSolutionNode(), and writeSolutionNode().
|
private |
Definition at line 153 of file cgnsWriter.H.
Referenced by resetSections(), setSection(), and writeZoneToFile().
|
private |
Definition at line 194 of file cgnsWriter.H.
Referenced by writeSolutionField().
|
private |
Definition at line 179 of file cgnsWriter.H.
Referenced by setBaseItrData(), and writeGridToFile().
|
private |
Definition at line 168 of file cgnsWriter.H.
Referenced by setVolCellFacesNumber(), and writeVolCellFacesNumber().
|
private |
Definition at line 150 of file cgnsWriter.H.
Referenced by setNVrtx(), writeSolutionField(), and writeZoneToFile().
|
private |
Definition at line 155 of file cgnsWriter.H.
|
private |
Definition at line 197 of file cgnsWriter.H.
Referenced by writeSolutionField().
|
private |
Definition at line 195 of file cgnsWriter.H.
Referenced by setSolutionNode(), and writeSolutionNode().
|
private |
Definition at line 149 of file cgnsWriter.H.
Referenced by setZone().
|
private |
Definition at line 164 of file cgnsWriter.H.
Referenced by setPatchNo(), and writeZoneToFile().
|
private |
Definition at line 158 of file cgnsWriter.H.
Referenced by setPconnGhostDescriptor(), and writeZoneToFile().
|
private |
Definition at line 162 of file cgnsWriter.H.
Referenced by setPconnLimits(), and writeZoneToFile().
|
private |
Definition at line 161 of file cgnsWriter.H.
Referenced by setPconnLimits(), and writeZoneToFile().
|
private |
Definition at line 160 of file cgnsWriter.H.
Referenced by setPconnVec(), and writeZoneToFile().
|
private |
Definition at line 146 of file cgnsWriter.H.
Referenced by writeGridToFile().
|
private |
Definition at line 140 of file cgnsWriter.H.
|
private |
Definition at line 140 of file cgnsWriter.H.
|
private |
Definition at line 142 of file cgnsWriter.H.
Referenced by resetSections(), and setSection().
|
private |
Definition at line 185 of file cgnsWriter.H.
Referenced by getNSections(), resetSections(), setSection(), and writeZoneToFile().
|
private |
Definition at line 187 of file cgnsWriter.H.
Referenced by resetSections(), setSection(), and writeZoneToFile().
|
private |
Definition at line 199 of file cgnsWriter.H.
Referenced by setSolutionNode(), and writeSolutionNode().
|
private |
Definition at line 206 of file cgnsWriter.H.
|
private |
Definition at line 200 of file cgnsWriter.H.
Referenced by writeSolutionNode().
|
private |
Definition at line 204 of file cgnsWriter.H.
Referenced by writeSolutionField().
|
private |
Definition at line 205 of file cgnsWriter.H.
|
private |
Definition at line 201 of file cgnsWriter.H.
Referenced by setSolutionNode(), writeSolutionField(), and writeSolutionNode().
|
private |
Definition at line 203 of file cgnsWriter.H.
Referenced by writeSolutionField(), and writeSolutionNode().
|
private |
Definition at line 180 of file cgnsWriter.H.
Referenced by setBaseItrData(), and writeGridToFile().
|
private |
Definition at line 147 of file cgnsWriter.H.
Referenced by setTimestamp(), writeVolCellFacesNumber(), and writeZoneToFile().
|
private |
Definition at line 159 of file cgnsWriter.H.
Referenced by setTypeFlag(), writeSolutionField(), writeSolutionNode(), and writeZoneToFile().
|
private |
Definition at line 157 of file cgnsWriter.H.
Referenced by setVirtElmRind(), writeSolutionNode(), and writeZoneToFile().
|
private |
Definition at line 182 of file cgnsWriter.H.
Referenced by setGridXYZ(), and writeZoneToFile().
|
private |
Definition at line 182 of file cgnsWriter.H.
Referenced by setGridXYZ(), and writeZoneToFile().
|
private |
Definition at line 182 of file cgnsWriter.H.
Referenced by setGridXYZ(), and writeZoneToFile().
|
private |
Definition at line 176 of file cgnsWriter.H.
Referenced by setZoneItrData(), and writeZoneToFile().
|
private |
Definition at line 142 of file cgnsWriter.H.
Referenced by setZone(), and writeZoneToFile().
|
private |
Definition at line 183 of file cgnsWriter.H.
Referenced by setZone().
|
private |
Definition at line 184 of file cgnsWriter.H.
Referenced by setZone().