Memosa-FVM
0.2
|
#include <NcDataWriter.h>
Public Member Functions | |
NcDataWriter (const MeshList &meshes, const string &fname) | |
~NcDataWriter () | |
void | record () |
Static Public Attributes | |
static int | _writeAction = 0 |
Private Member Functions | |
NcDataWriter (const NcDataWriter &nc_writer) | |
void | init () |
void | setNcFile () |
void | setDims () |
void | setVars () |
void | set_var_values () |
void | get_var_values () |
void | get_boundary_vals (int id) |
void | get_interface_vals (int id) |
void | get_coords (int id) |
void | connectivities (int id) |
void | mappers (int id) |
int | mappers_index (int mesh_end) |
void | add_attributes () |
void | write_values () |
Definition at line 17 of file NcDataWriter.h.
NcDataWriter::NcDataWriter | ( | const MeshList & | meshes, |
const string & | fname | ||
) |
Definition at line 18 of file NcDataWriter.cpp.
References init().
NcDataWriter::~NcDataWriter | ( | ) |
Definition at line 27 of file NcDataWriter.cpp.
References _gatherIndicesVals, _ncFile, _scatterIndicesVals, _xVals, _yVals, and _zVals.
|
private |
|
private |
Definition at line 438 of file NcDataWriter.cpp.
References _boundaryGroup, _boundaryID, _boundaryOffset, _boundarySize, _boundaryType, _cellsCount, _dimension, _faceCellsCol, _faceCellsColCount, _faceCellsRow, _faceCellsRowCount, _faceNodesCol, _faceNodesColCount, _faceNodesRow, _faceNodesRowCount, _facesCount, _gatherIndices, _ghostCellsCount, _interfaceGroup, _interfaceID, _interfaceOffset, _interfaceSize, _interiorFaceGroup, _mapCount, _meshID, _nodesCount, _scatterIndices, _x, _y, _z, BOUN_TYPE_DIM, INTERFACE, and NEIGH_MESH.
Referenced by set_var_values().
|
private |
Definition at line 346 of file NcDataWriter.cpp.
References _faceCellsCol, _faceCellsColCountVals, _faceCellsRow, _faceCellsRowCountVals, _faceNodesCol, _faceNodesColCountVals, _faceNodesRow, _faceNodesRowCountVals, _meshList, Mesh::getAllFaceCells(), Mesh::getAllFaceNodes(), CRConnectivity::getCol(), Array< T >::getData(), Array< T >::getLength(), and CRConnectivity::getRow().
Referenced by get_var_values().
|
private |
Definition at line 285 of file NcDataWriter.cpp.
References _boundaryGroupVals, _boundaryIDVals, _boundaryOffsetVals, _boundarySizeVals, _boundaryType, _boundaryTypeVals, _meshList, BOUN_TYPE_DIM, and MAX_CHAR.
Referenced by get_var_values().
|
private |
Definition at line 324 of file NcDataWriter.cpp.
References _meshList, _nodesCountVals, _x, _xVals, _y, _yVals, _z, _zVals, and Mesh::getNodeCoordinates().
Referenced by get_var_values().
|
private |
Definition at line 307 of file NcDataWriter.cpp.
References _interfaceGroupVals, _interfaceIDVals, _interfaceOffsetVals, _interfaceSizeVals, _meshList, and NEIGH_MESH.
Referenced by get_var_values().
|
private |
Definition at line 225 of file NcDataWriter.cpp.
References _cellsCountVals, _dimensionVals, _facesCountVals, _gatherIndicesVals, _ghostCellsCountVals, _interiorFaceGroupVals, _mapCountVals, _meshIDVals, _meshList, _nInterface, _nmesh, _nnodes, _nodesCountVals, _scatterIndicesVals, _xVals, _yVals, _zVals, connectivities(), get_boundary_vals(), get_coords(), get_interface_vals(), INTERFACE, and mappers().
Referenced by set_var_values().
|
private |
Definition at line 55 of file NcDataWriter.cpp.
References _writeAction.
Referenced by NcDataWriter().
|
private |
Definition at line 378 of file NcDataWriter.cpp.
References _gatherIndicesVals, _meshList, _scatterIndicesVals, and mappers_index().
Referenced by get_var_values().
|
private |
Definition at line 421 of file NcDataWriter.cpp.
References _meshList.
Referenced by mappers().
void NcDataWriter::record | ( | ) |
Definition at line 42 of file NcDataWriter.cpp.
References _ncFile, set_var_values(), setDims(), setNcFile(), and setVars().
|
private |
Definition at line 206 of file NcDataWriter.cpp.
References add_attributes(), get_var_values(), and write_values().
Referenced by record().
|
private |
Definition at line 73 of file NcDataWriter.cpp.
References _charSize, _meshList, _nBoun, _ncells, _ncFile, _nfaceCellsCol, _nfaceNodesCol, _nfaceRow, _nfaces, _nInterface, _nmesh, _nNeighMesh, _nnodes, BOUN_TYPE_DIM, INTERFACE, MAX_CHAR, and NEIGH_MESH.
Referenced by record().
|
private |
Definition at line 62 of file NcDataWriter.cpp.
References _fname, and _ncFile.
Referenced by record().
|
private |
Definition at line 150 of file NcDataWriter.cpp.
References _bounBoolVar, _boundaryGroup, _boundaryID, _boundaryOffset, _boundarySize, _boundaryType, _cellsCount, _charSize, _dimension, _faceCellsCol, _faceCellsColCount, _faceCellsRow, _faceCellsRowCount, _faceNodesCol, _faceNodesColCount, _faceNodesRow, _faceNodesRowCount, _facesCount, _gatherIndices, _ghostCellsCount, _interfaceBoolVar, _interfaceGroup, _interfaceID, _interfaceOffset, _interfaceSize, _interiorFaceGroup, _mapCount, _meshID, _nBoun, _ncFile, _neighMeshBoolVar, _nfaceCellsCol, _nfaceNodesCol, _nfaceRow, _nInterface, _nmesh, _nNeighMesh, _nnodes, _nodesCount, _scatterIndices, _x, _y, _z, BOUN_TYPE_DIM, INTERFACE, and NEIGH_MESH.
Referenced by record().
|
private |
Definition at line 490 of file NcDataWriter.cpp.
References _bounBoolVar, _boundaryGroup, _boundaryGroupVals, _boundaryID, _boundaryIDVals, _boundaryOffset, _boundaryOffsetVals, _boundarySize, _boundarySizeVals, _cellsCount, _cellsCountVals, _dimension, _dimensionVals, _faceCellsColCount, _faceCellsColCountVals, _faceCellsRowCount, _faceCellsRowCountVals, _faceNodesColCount, _faceNodesColCountVals, _faceNodesRowCount, _faceNodesRowCountVals, _facesCount, _facesCountVals, _gatherIndices, _gatherIndicesVals, _ghostCellsCount, _ghostCellsCountVals, _interfaceBoolVar, _interfaceGroup, _interfaceGroupVals, _interfaceID, _interfaceIDVals, _interfaceOffset, _interfaceOffsetVals, _interfaceSize, _interfaceSizeVals, _interiorFaceGroup, _interiorFaceGroupVals, _mapCount, _mapCountVals, _meshID, _meshIDVals, _neighMeshBoolVar, _nInterface, _nmesh, _nodesCount, _nodesCountVals, _scatterIndices, _scatterIndicesVals, BOUN_TYPE_DIM, INTERFACE, and NEIGH_MESH.
Referenced by set_var_values().
|
private |
Definition at line 111 of file NcDataWriter.h.
Referenced by setVars(), and write_values().
|
private |
Definition at line 82 of file NcDataWriter.h.
Referenced by add_attributes(), setVars(), and write_values().
|
private |
Definition at line 126 of file NcDataWriter.h.
Referenced by get_boundary_vals(), and write_values().
|
private |
Definition at line 85 of file NcDataWriter.h.
Referenced by add_attributes(), setVars(), and write_values().
|
private |
Definition at line 129 of file NcDataWriter.h.
Referenced by get_boundary_vals(), and write_values().
|
private |
Definition at line 84 of file NcDataWriter.h.
Referenced by add_attributes(), setVars(), and write_values().
|
private |
Definition at line 128 of file NcDataWriter.h.
Referenced by get_boundary_vals(), and write_values().
|
private |
Definition at line 83 of file NcDataWriter.h.
Referenced by add_attributes(), setVars(), and write_values().
|
private |
Definition at line 127 of file NcDataWriter.h.
Referenced by get_boundary_vals(), and write_values().
|
private |
Definition at line 86 of file NcDataWriter.h.
Referenced by add_attributes(), get_boundary_vals(), and setVars().
|
private |
Definition at line 130 of file NcDataWriter.h.
Referenced by get_boundary_vals().
|
private |
Definition at line 76 of file NcDataWriter.h.
Referenced by add_attributes(), setVars(), and write_values().
|
private |
Definition at line 120 of file NcDataWriter.h.
Referenced by get_var_values(), and write_values().
|
private |
Definition at line 60 of file NcDataWriter.h.
|
private |
Definition at line 73 of file NcDataWriter.h.
Referenced by add_attributes(), setVars(), and write_values().
|
private |
Definition at line 116 of file NcDataWriter.h.
Referenced by get_var_values(), and write_values().
|
private |
Definition at line 103 of file NcDataWriter.h.
Referenced by add_attributes(), connectivities(), and setVars().
|
private |
Definition at line 98 of file NcDataWriter.h.
Referenced by add_attributes(), setVars(), and write_values().
|
private |
Definition at line 143 of file NcDataWriter.h.
Referenced by connectivities(), and write_values().
|
private |
Definition at line 102 of file NcDataWriter.h.
Referenced by add_attributes(), connectivities(), and setVars().
|
private |
Definition at line 97 of file NcDataWriter.h.
Referenced by add_attributes(), setVars(), and write_values().
|
private |
Definition at line 142 of file NcDataWriter.h.
Referenced by connectivities(), and write_values().
|
private |
Definition at line 105 of file NcDataWriter.h.
Referenced by add_attributes(), connectivities(), and setVars().
|
private |
Definition at line 100 of file NcDataWriter.h.
Referenced by add_attributes(), setVars(), and write_values().
|
private |
Definition at line 145 of file NcDataWriter.h.
Referenced by connectivities(), and write_values().
|
private |
Definition at line 104 of file NcDataWriter.h.
Referenced by add_attributes(), connectivities(), and setVars().
|
private |
Definition at line 99 of file NcDataWriter.h.
Referenced by add_attributes(), setVars(), and write_values().
|
private |
Definition at line 144 of file NcDataWriter.h.
Referenced by connectivities(), and write_values().
|
private |
Definition at line 75 of file NcDataWriter.h.
Referenced by add_attributes(), setVars(), and write_values().
|
private |
Definition at line 119 of file NcDataWriter.h.
Referenced by get_var_values(), and write_values().
|
private |
Definition at line 54 of file NcDataWriter.h.
Referenced by setNcFile().
|
private |
Definition at line 107 of file NcDataWriter.h.
Referenced by add_attributes(), setVars(), and write_values().
|
private |
Definition at line 147 of file NcDataWriter.h.
Referenced by get_var_values(), mappers(), write_values(), and ~NcDataWriter().
|
private |
Definition at line 77 of file NcDataWriter.h.
Referenced by add_attributes(), setVars(), and write_values().
|
private |
Definition at line 121 of file NcDataWriter.h.
Referenced by get_var_values(), and write_values().
|
private |
Definition at line 113 of file NcDataWriter.h.
Referenced by setVars(), and write_values().
|
private |
Definition at line 88 of file NcDataWriter.h.
Referenced by add_attributes(), setVars(), and write_values().
|
private |
Definition at line 133 of file NcDataWriter.h.
Referenced by get_interface_vals(), and write_values().
|
private |
Definition at line 91 of file NcDataWriter.h.
Referenced by add_attributes(), setVars(), and write_values().
|
private |
Definition at line 136 of file NcDataWriter.h.
Referenced by get_interface_vals(), and write_values().
|
private |
Definition at line 90 of file NcDataWriter.h.
Referenced by add_attributes(), setVars(), and write_values().
|
private |
Definition at line 135 of file NcDataWriter.h.
Referenced by get_interface_vals(), and write_values().
|
private |
Definition at line 89 of file NcDataWriter.h.
Referenced by add_attributes(), setVars(), and write_values().
|
private |
Definition at line 134 of file NcDataWriter.h.
Referenced by get_interface_vals(), and write_values().
|
private |
Definition at line 80 of file NcDataWriter.h.
Referenced by add_attributes(), setVars(), and write_values().
|
private |
Definition at line 124 of file NcDataWriter.h.
Referenced by get_var_values(), and write_values().
|
private |
Definition at line 79 of file NcDataWriter.h.
Referenced by add_attributes(), setVars(), and write_values().
|
private |
Definition at line 123 of file NcDataWriter.h.
Referenced by get_var_values(), and write_values().
|
private |
Definition at line 74 of file NcDataWriter.h.
Referenced by add_attributes(), setVars(), and write_values().
|
private |
Definition at line 117 of file NcDataWriter.h.
Referenced by get_var_values(), and write_values().
|
private |
Definition at line 53 of file NcDataWriter.h.
Referenced by connectivities(), get_boundary_vals(), get_coords(), get_interface_vals(), get_var_values(), mappers(), mappers_index(), and setDims().
|
private |
Definition at line 59 of file NcDataWriter.h.
|
private |
Definition at line 64 of file NcDataWriter.h.
Referenced by setDims().
|
private |
Definition at line 56 of file NcDataWriter.h.
Referenced by record(), setDims(), setNcFile(), setVars(), and ~NcDataWriter().
|
private |
Definition at line 112 of file NcDataWriter.h.
Referenced by setVars(), and write_values().
|
private |
Definition at line 67 of file NcDataWriter.h.
|
private |
Definition at line 68 of file NcDataWriter.h.
|
private |
Definition at line 66 of file NcDataWriter.h.
|
private |
Definition at line 63 of file NcDataWriter.h.
Referenced by setDims().
|
private |
Definition at line 70 of file NcDataWriter.h.
Referenced by get_var_values(), setDims(), setVars(), and write_values().
|
private |
Definition at line 58 of file NcDataWriter.h.
Referenced by get_var_values(), setDims(), setVars(), and write_values().
|
private |
Definition at line 61 of file NcDataWriter.h.
|
private |
Definition at line 62 of file NcDataWriter.h.
Referenced by get_var_values(), setDims(), and setVars().
|
private |
Definition at line 78 of file NcDataWriter.h.
Referenced by add_attributes(), setVars(), and write_values().
|
private |
Definition at line 122 of file NcDataWriter.h.
Referenced by get_coords(), get_var_values(), and write_values().
|
private |
Definition at line 108 of file NcDataWriter.h.
Referenced by add_attributes(), setVars(), and write_values().
|
private |
Definition at line 148 of file NcDataWriter.h.
Referenced by get_var_values(), mappers(), write_values(), and ~NcDataWriter().
|
static |
Definition at line 26 of file NcDataWriter.h.
Referenced by init().
|
private |
Definition at line 93 of file NcDataWriter.h.
Referenced by add_attributes(), get_coords(), and setVars().
|
private |
Definition at line 138 of file NcDataWriter.h.
Referenced by get_coords(), get_var_values(), and ~NcDataWriter().
|
private |
Definition at line 94 of file NcDataWriter.h.
Referenced by add_attributes(), get_coords(), and setVars().
|
private |
Definition at line 139 of file NcDataWriter.h.
Referenced by get_coords(), get_var_values(), and ~NcDataWriter().
|
private |
Definition at line 95 of file NcDataWriter.h.
Referenced by add_attributes(), get_coords(), and setVars().
|
private |
Definition at line 140 of file NcDataWriter.h.
Referenced by get_coords(), get_var_values(), and ~NcDataWriter().
|
private |
Definition at line 151 of file NcDataWriter.h.
Referenced by add_attributes(), get_boundary_vals(), setDims(), setVars(), and write_values().
|
private |
Definition at line 153 of file NcDataWriter.h.
Referenced by add_attributes(), get_var_values(), setDims(), setVars(), and write_values().
|
private |
Definition at line 150 of file NcDataWriter.h.
Referenced by get_boundary_vals(), and setDims().
|
private |
Definition at line 152 of file NcDataWriter.h.
Referenced by add_attributes(), get_interface_vals(), setDims(), setVars(), and write_values().