Memosa-FVM
0.2
|
#include <NcDataReader.h>
Public Types | |
typedef shared_ptr< Array< int > > | ArrayIntPtr |
Public Member Functions | |
NcDataReader (const string &fname) | |
MeshList | getMeshList () |
~NcDataReader () | |
void | createMappers (const MeshList &) |
Static Public Member Functions | |
static void | destroyMeshList (MeshList meshList) |
Private Member Functions | |
void | init () |
void | setNcFile () |
void | getDims () |
void | getVars () |
void | get_var_values () |
void | allocate_vars () |
void | get_bndry_vals () |
void | get_interface_vals () |
void | get_coord_vals () |
void | get_connectivity_vals () |
void | get_mapper_vals () |
MeshList | meshList () |
void | storage_sites (int id, const MeshList &meshList) |
void | boundary_faces (int id, const MeshList &meshList) |
void | interfaces (int id, const MeshList &meshList) |
void | coords (int id, const MeshList &meshList) |
void | face_cells (int id, const MeshList &meshList) |
void | face_nodes (int id, const MeshList &meshList) |
Definition at line 25 of file NcDataReader.h.
typedef shared_ptr< Array<int> > NcDataReader::ArrayIntPtr |
Definition at line 28 of file NcDataReader.h.
NcDataReader::NcDataReader | ( | const string & | fname | ) |
NcDataReader::~NcDataReader | ( | ) |
Definition at line 24 of file NcDataReader.cpp.
References _boundaryGroupVals, _boundaryIDVals, _boundaryOffsetVals, _boundarySizeVals, _boundaryTypeVals, _cellsCountVals, _dimensionVals, _faceCellsColVals, _faceCellsRowVals, _faceNodesColVals, _faceNodesRowVals, _facesCountVals, _gatherIndicesVals, _ghostCellsCountVals, _interfaceGroupVals, _interfaceIDVals, _interfaceOffsetVals, _interfaceSizeVals, _interiorFacesGroupVals, _mapCountVals, _meshIDVals, _ncFile, _nodesCountVals, _scatterIndicesVals, _xVals, _yVals, and _zVals.
|
private |
Definition at line 254 of file NcDataReader.cpp.
References _boundaryGroupVals, _boundaryIDVals, _boundaryOffsetVals, _boundarySizeVals, _boundaryTypeVals, _cellsCountVals, _charSize, _dimensionVals, _faceCellsColCountVals, _faceCellsColVals, _faceCellsRowCountVals, _faceCellsRowVals, _faceNodesColCountVals, _faceNodesColVals, _faceNodesRowCountVals, _faceNodesRowVals, _facesCountVals, _gatherIndicesVals, _ghostCellsCountVals, _interfaceGroupVals, _interfaceIDVals, _interfaceOffsetVals, _interfaceSizeVals, _interiorFacesGroupVals, _mapCountVals, _meshIDVals, _nBoun, _nfaceCellsCol, _nfaceNodesCol, _nfaceRow, _nInterface, _nmesh, _nNeighMesh, _nnodes, _nodesCountVals, _scatterIndicesVals, _xVals, _yVals, and _zVals.
Referenced by get_var_values().
|
private |
Definition at line 420 of file NcDataReader.cpp.
References _boundaryGroupVals, _boundaryIDVals, _boundaryOffsetVals, _boundarySizeVals, and _boundaryTypeVals.
Referenced by meshList().
|
private |
Definition at line 458 of file NcDataReader.cpp.
References _nodesCountVals, _xVals, _yVals, and _zVals.
Referenced by meshList().
void NcDataReader::createMappers | ( | const MeshList & | globalMeshList | ) |
Definition at line 535 of file NcDataReader.cpp.
References _gatherIndicesVals, _interfaceGroupVals, _interfaceIDVals, _interfaceSizeVals, _meshIDVals, _nInterface, _nmesh, _scatterIndicesVals, Mesh::getCells(), StorageSite::getGatherMap(), Mesh::getGhostCellSiteGather(), Mesh::getGhostCellSiteScatter(), and StorageSite::getScatterMap().
|
static |
Definition at line 70 of file NcDataReader.cpp.
|
private |
Definition at line 478 of file NcDataReader.cpp.
References _faceCellsColCountVals, _faceCellsColVals, and _facesCountVals.
Referenced by meshList().
|
private |
Definition at line 505 of file NcDataReader.cpp.
References _faceNodesColCountVals, _faceNodesColVals, _faceNodesRowVals, and _facesCountVals.
Referenced by meshList().
|
private |
Definition at line 300 of file NcDataReader.cpp.
References _boundaryGroup, _boundaryGroupVals, _boundaryID, _boundaryIDVals, _boundaryOffset, _boundaryOffsetVals, _boundarySize, _boundarySizeVals, _boundaryType, _boundaryTypeVals, _charSize, _nBoun, and _nmesh.
Referenced by get_var_values().
|
private |
Definition at line 344 of file NcDataReader.cpp.
References _faceCellsCol, _faceCellsColCount, _faceCellsColCountVals, _faceCellsColVals, _faceCellsRow, _faceCellsRowCount, _faceCellsRowCountVals, _faceCellsRowVals, _faceNodesCol, _faceNodesColCount, _faceNodesColCountVals, _faceNodesColVals, _faceNodesRow, _faceNodesRowCount, _faceNodesRowCountVals, _faceNodesRowVals, _nfaceCellsCol, _nfaceNodesCol, _nfaceRow, and _nmesh.
Referenced by get_var_values().
|
private |
Definition at line 332 of file NcDataReader.cpp.
References _nnodes, _x, _xVals, _y, _yVals, _z, and _zVals.
Referenced by get_var_values().
|
private |
Definition at line 318 of file NcDataReader.cpp.
References _interfaceGroup, _interfaceGroupVals, _interfaceID, _interfaceIDVals, _interfaceOffset, _interfaceOffsetVals, _interfaceSize, _interfaceSizeVals, _nmesh, and _nNeighMesh.
Referenced by get_var_values().
|
private |
Definition at line 361 of file NcDataReader.cpp.
References _gatherIndices, _gatherIndicesVals, _nInterface, _scatterIndices, and _scatterIndicesVals.
Referenced by get_var_values().
|
private |
Definition at line 231 of file NcDataReader.cpp.
References _cellsCount, _cellsCountVals, _dimension, _dimensionVals, _facesCount, _facesCountVals, _ghostCellsCount, _ghostCellsCountVals, _interiorFacesGroup, _interiorFacesGroupVals, _mapCount, _mapCountVals, _meshID, _meshIDVals, _nmesh, _nodesCount, _nodesCountVals, allocate_vars(), get_bndry_vals(), get_connectivity_vals(), get_coord_vals(), get_interface_vals(), and get_mapper_vals().
Referenced by getMeshList().
|
private |
Definition at line 146 of file NcDataReader.cpp.
References _charSize, _nBoun, _ncFile, _nfaceCellsCol, _nfaceNodesCol, _nfaceRow, _nInterface, _nmesh, _nNeighMesh, and _nnodes.
Referenced by getMeshList().
MeshList NcDataReader::getMeshList | ( | ) |
Definition at line 79 of file NcDataReader.cpp.
References get_var_values(), getDims(), getVars(), meshList(), and setNcFile().
|
private |
Definition at line 178 of file NcDataReader.cpp.
References _boundaryGroup, _boundaryID, _boundaryOffset, _boundarySize, _boundaryType, _cellsCount, _dimension, _faceCellsCol, _faceCellsColCount, _faceCellsRow, _faceCellsRowCount, _faceNodesCol, _faceNodesColCount, _faceNodesRow, _faceNodesRowCount, _facesCount, _gatherIndices, _ghostCellsCount, _interfaceGroup, _interfaceID, _interfaceOffset, _interfaceSize, _interiorFacesGroup, _mapCount, _meshID, _nBoun, _ncFile, _nInterface, _nNeighMesh, _nodesCount, _scatterIndices, _x, _y, and _z.
Referenced by getMeshList().
|
private |
Definition at line 93 of file NcDataReader.cpp.
References _boundaryGroupVals, _boundaryIDVals, _boundaryOffsetVals, _boundarySizeVals, _cellsCountVals, _dimensionVals, _faceCellsColCountVals, _faceCellsColVals, _faceCellsRowCountVals, _faceCellsRowVals, _faceNodesColCountVals, _faceNodesColVals, _faceNodesRowCountVals, _faceNodesRowVals, _facesCountVals, _gatherIndicesVals, _ghostCellsCountVals, _interfaceGroupVals, _interfaceIDVals, _interfaceOffsetVals, _interfaceSizeVals, _interiorFacesGroupVals, _mapCountVals, _meshIDVals, _ncFile, _nodesCountVals, _scatterIndicesVals, _xVals, _yVals, and _zVals.
Referenced by NcDataReader().
|
private |
Definition at line 437 of file NcDataReader.cpp.
References _interfaceGroupVals, _interfaceIDVals, _interfaceOffsetVals, and _interfaceSizeVals.
Referenced by meshList().
|
private |
Definition at line 374 of file NcDataReader.cpp.
References _dimensionVals, _interiorFacesGroupVals, _nBoun, _nmesh, _nNeighMesh, boundary_faces(), coords(), face_cells(), face_nodes(), interfaces(), and storage_sites().
Referenced by getMeshList().
|
private |
Definition at line 135 of file NcDataReader.cpp.
References _fname, and _ncFile.
Referenced by getMeshList().
|
private |
Definition at line 406 of file NcDataReader.cpp.
References _cellsCountVals, _facesCountVals, _ghostCellsCountVals, _nodesCountVals, and StorageSite::setCount().
Referenced by meshList().
|
private |
Definition at line 89 of file NcDataReader.h.
Referenced by get_bndry_vals(), and getVars().
|
private |
Definition at line 129 of file NcDataReader.h.
Referenced by allocate_vars(), boundary_faces(), get_bndry_vals(), init(), and ~NcDataReader().
|
private |
Definition at line 92 of file NcDataReader.h.
Referenced by get_bndry_vals(), and getVars().
|
private |
Definition at line 132 of file NcDataReader.h.
Referenced by allocate_vars(), boundary_faces(), get_bndry_vals(), init(), and ~NcDataReader().
|
private |
Definition at line 91 of file NcDataReader.h.
Referenced by get_bndry_vals(), and getVars().
|
private |
Definition at line 131 of file NcDataReader.h.
Referenced by allocate_vars(), boundary_faces(), get_bndry_vals(), init(), and ~NcDataReader().
|
private |
Definition at line 90 of file NcDataReader.h.
Referenced by get_bndry_vals(), and getVars().
|
private |
Definition at line 130 of file NcDataReader.h.
Referenced by allocate_vars(), boundary_faces(), get_bndry_vals(), init(), and ~NcDataReader().
|
private |
Definition at line 93 of file NcDataReader.h.
Referenced by get_bndry_vals(), and getVars().
|
private |
Definition at line 133 of file NcDataReader.h.
Referenced by allocate_vars(), boundary_faces(), get_bndry_vals(), and ~NcDataReader().
|
private |
Definition at line 83 of file NcDataReader.h.
Referenced by get_var_values(), and getVars().
|
private |
Definition at line 122 of file NcDataReader.h.
Referenced by allocate_vars(), get_var_values(), init(), storage_sites(), and ~NcDataReader().
|
private |
Definition at line 69 of file NcDataReader.h.
Referenced by allocate_vars(), get_bndry_vals(), and getDims().
|
private |
Definition at line 80 of file NcDataReader.h.
Referenced by get_var_values(), and getVars().
|
private |
Definition at line 118 of file NcDataReader.h.
Referenced by allocate_vars(), get_var_values(), init(), meshList(), and ~NcDataReader().
|
private |
Definition at line 111 of file NcDataReader.h.
Referenced by get_connectivity_vals(), and getVars().
|
private |
Definition at line 106 of file NcDataReader.h.
Referenced by get_connectivity_vals(), and getVars().
|
private |
Definition at line 145 of file NcDataReader.h.
Referenced by allocate_vars(), face_cells(), get_connectivity_vals(), and init().
|
private |
Definition at line 150 of file NcDataReader.h.
Referenced by allocate_vars(), face_cells(), get_connectivity_vals(), init(), and ~NcDataReader().
|
private |
Definition at line 110 of file NcDataReader.h.
Referenced by get_connectivity_vals(), and getVars().
|
private |
Definition at line 105 of file NcDataReader.h.
Referenced by get_connectivity_vals(), and getVars().
|
private |
Definition at line 144 of file NcDataReader.h.
Referenced by allocate_vars(), get_connectivity_vals(), and init().
|
private |
Definition at line 149 of file NcDataReader.h.
Referenced by allocate_vars(), get_connectivity_vals(), init(), and ~NcDataReader().
|
private |
Definition at line 113 of file NcDataReader.h.
Referenced by get_connectivity_vals(), and getVars().
|
private |
Definition at line 108 of file NcDataReader.h.
Referenced by get_connectivity_vals(), and getVars().
|
private |
Definition at line 147 of file NcDataReader.h.
Referenced by allocate_vars(), face_nodes(), get_connectivity_vals(), and init().
|
private |
Definition at line 152 of file NcDataReader.h.
Referenced by allocate_vars(), face_nodes(), get_connectivity_vals(), init(), and ~NcDataReader().
|
private |
Definition at line 112 of file NcDataReader.h.
Referenced by get_connectivity_vals(), and getVars().
|
private |
Definition at line 107 of file NcDataReader.h.
Referenced by get_connectivity_vals(), and getVars().
|
private |
Definition at line 146 of file NcDataReader.h.
Referenced by allocate_vars(), get_connectivity_vals(), and init().
|
private |
Definition at line 151 of file NcDataReader.h.
Referenced by allocate_vars(), face_nodes(), get_connectivity_vals(), init(), and ~NcDataReader().
|
private |
Definition at line 82 of file NcDataReader.h.
Referenced by get_var_values(), and getVars().
|
private |
Definition at line 121 of file NcDataReader.h.
Referenced by allocate_vars(), face_cells(), face_nodes(), get_var_values(), init(), storage_sites(), and ~NcDataReader().
|
private |
Definition at line 62 of file NcDataReader.h.
Referenced by setNcFile().
|
private |
Definition at line 115 of file NcDataReader.h.
Referenced by get_mapper_vals(), and getVars().
|
private |
Definition at line 154 of file NcDataReader.h.
Referenced by allocate_vars(), createMappers(), get_mapper_vals(), init(), and ~NcDataReader().
|
private |
Definition at line 84 of file NcDataReader.h.
Referenced by get_var_values(), and getVars().
|
private |
Definition at line 123 of file NcDataReader.h.
Referenced by allocate_vars(), get_var_values(), init(), storage_sites(), and ~NcDataReader().
|
private |
Definition at line 96 of file NcDataReader.h.
Referenced by get_interface_vals(), and getVars().
|
private |
Definition at line 135 of file NcDataReader.h.
Referenced by allocate_vars(), createMappers(), get_interface_vals(), init(), interfaces(), and ~NcDataReader().
|
private |
Definition at line 99 of file NcDataReader.h.
Referenced by get_interface_vals(), and getVars().
|
private |
Definition at line 138 of file NcDataReader.h.
Referenced by allocate_vars(), createMappers(), get_interface_vals(), init(), interfaces(), and ~NcDataReader().
|
private |
Definition at line 98 of file NcDataReader.h.
Referenced by get_interface_vals(), and getVars().
|
private |
Definition at line 137 of file NcDataReader.h.
Referenced by allocate_vars(), get_interface_vals(), init(), interfaces(), and ~NcDataReader().
|
private |
Definition at line 97 of file NcDataReader.h.
Referenced by get_interface_vals(), and getVars().
|
private |
Definition at line 136 of file NcDataReader.h.
Referenced by allocate_vars(), createMappers(), get_interface_vals(), init(), interfaces(), and ~NcDataReader().
|
private |
Definition at line 87 of file NcDataReader.h.
Referenced by get_var_values(), and getVars().
|
private |
Definition at line 126 of file NcDataReader.h.
Referenced by allocate_vars(), get_var_values(), init(), meshList(), and ~NcDataReader().
|
private |
Definition at line 86 of file NcDataReader.h.
Referenced by get_var_values(), and getVars().
|
private |
Definition at line 125 of file NcDataReader.h.
Referenced by allocate_vars(), get_var_values(), init(), and ~NcDataReader().
|
private |
Definition at line 81 of file NcDataReader.h.
Referenced by get_var_values(), and getVars().
|
private |
Definition at line 119 of file NcDataReader.h.
Referenced by allocate_vars(), createMappers(), get_var_values(), init(), and ~NcDataReader().
|
private |
Definition at line 68 of file NcDataReader.h.
Referenced by allocate_vars(), get_bndry_vals(), getDims(), getVars(), and meshList().
|
private |
Definition at line 66 of file NcDataReader.h.
Referenced by getDims(), getVars(), init(), setNcFile(), and ~NcDataReader().
|
private |
Definition at line 74 of file NcDataReader.h.
Referenced by allocate_vars(), get_connectivity_vals(), and getDims().
|
private |
Definition at line 75 of file NcDataReader.h.
Referenced by allocate_vars(), get_connectivity_vals(), and getDims().
|
private |
Definition at line 73 of file NcDataReader.h.
Referenced by allocate_vars(), get_connectivity_vals(), and getDims().
|
private |
Definition at line 76 of file NcDataReader.h.
Referenced by allocate_vars(), createMappers(), get_mapper_vals(), getDims(), and getVars().
|
private |
Definition at line 67 of file NcDataReader.h.
Referenced by allocate_vars(), createMappers(), get_bndry_vals(), get_connectivity_vals(), get_interface_vals(), get_var_values(), getDims(), and meshList().
|
private |
Definition at line 70 of file NcDataReader.h.
Referenced by allocate_vars(), get_interface_vals(), getDims(), getVars(), and meshList().
|
private |
Definition at line 71 of file NcDataReader.h.
Referenced by allocate_vars(), get_coord_vals(), and getDims().
|
private |
Definition at line 85 of file NcDataReader.h.
Referenced by get_var_values(), and getVars().
|
private |
Definition at line 124 of file NcDataReader.h.
Referenced by allocate_vars(), coords(), get_var_values(), init(), storage_sites(), and ~NcDataReader().
|
private |
Definition at line 116 of file NcDataReader.h.
Referenced by get_mapper_vals(), and getVars().
|
private |
Definition at line 155 of file NcDataReader.h.
Referenced by allocate_vars(), createMappers(), get_mapper_vals(), init(), and ~NcDataReader().
|
private |
Definition at line 101 of file NcDataReader.h.
Referenced by get_coord_vals(), and getVars().
|
private |
Definition at line 140 of file NcDataReader.h.
Referenced by allocate_vars(), coords(), get_coord_vals(), init(), and ~NcDataReader().
|
private |
Definition at line 102 of file NcDataReader.h.
Referenced by get_coord_vals(), and getVars().
|
private |
Definition at line 141 of file NcDataReader.h.
Referenced by allocate_vars(), coords(), get_coord_vals(), init(), and ~NcDataReader().
|
private |
Definition at line 103 of file NcDataReader.h.
Referenced by get_coord_vals(), and getVars().
|
private |
Definition at line 142 of file NcDataReader.h.
Referenced by allocate_vars(), coords(), get_coord_vals(), init(), and ~NcDataReader().