|
OOFEM 3.0
|
Stores all neccessary data (of a region) in a VTKPiece so it can be exported later. More...
#include <exportregion.h>
Public Types | |
| typedef uint8_t | setMembershipGroupType |
Private Attributes | |
| int | numCells |
| int | numNodes |
| int | numSetGroups |
| IntArray | elCellTypes |
| IntArray | elOffsets |
| IntArray | mapG2L |
| IntArray | mapL2G |
| IntArray | regionElInd |
| std::vector< FloatArray > | nodeCoords |
| std::vector< IntArray > | connectivity |
| std::map< UnknownType, std::vector< FloatArray > > | nodeVars |
| std::vector< std::vector< FloatArray > > | nodeLoads |
| std::map< InternalStateType, std::vector< FloatArray > > | nodeVarsFromIS |
| std::vector< std::vector< std::vector< FloatArray > > > | nodeVarsFromXFEMIS |
| std::map< InternalStateType, std::vector< FloatArray > > | cellVars |
| std::vector< std::vector< setMembershipGroupType > > | vertexSetMembership |
| std::vector< std::vector< setMembershipGroupType > > | cellSetMembership |
Stores all neccessary data (of a region) in a VTKPiece so it can be exported later.
Definition at line 54 of file exportregion.h.
| typedef uint8_t oofem::ExportRegion::setMembershipGroupType |
Definition at line 57 of file exportregion.h.
|
inline |
Definition at line 59 of file exportregion.h.
References numCells, numNodes, and numSetGroups.
| void oofem::ExportRegion::clear | ( | ) |
Definition at line 164 of file exportregion.C.
References cellVars, connectivity, elCellTypes, elOffsets, nodeCoords, nodeVars, nodeVarsFromIS, nodeVarsFromXFEMIS, numCells, and numNodes.
Referenced by oofem::VTKMemoryExportModule::doOutput(), and oofem::VTKXMLLatticeExportModule::writeVTKPieceCross().
| IntArray oofem::ExportRegion::getCellConnectivity | ( | ) |
Definition at line 197 of file exportregion.C.
References giveCellConnectivity(), oofem::IntArray::giveSize(), and numCells.
|
inline |
Definition at line 122 of file exportregion.h.
References cellSetMembership.
Referenced by oofem::VTKXMLExportModule::writeCellSetMembership().
| IntArray oofem::ExportRegion::getCellTypes | ( | ) |
Definition at line 217 of file exportregion.C.
References giveCellType(), and numCells.
| FloatMatrix oofem::ExportRegion::getCellValues | ( | InternalStateType | u | ) |
Definition at line 268 of file exportregion.C.
| FloatMatrix oofem::ExportRegion::getInternalVertexValues | ( | InternalStateType | u | ) |
Definition at line 248 of file exportregion.C.
References nodeVarsFromIS, and numNodes.
|
inline |
Definition at line 129 of file exportregion.h.
References mapG2L.
Referenced by oofem::VTKBaseExportModule::exportSetMembership(), oofem::QuasicontinuumVTKXMLExportModule::initRegionNodeNumbering(), oofem::VTKBaseExportModule::initRegionNodeNumbering(), oofem::VTKXMLLatticeExportModule::initRegionNodeNumbering(), oofem::VTKXMLPeriodicExportModule::initRegionNodeNumbering(), oofem::QuasicontinuumVTKXMLExportModule::setupVTKPiece(), oofem::VTKBaseExportModule::setupVTKPiece(), oofem::VTKXMLLatticeExportModule::setupVTKPiece(), and oofem::VTKXMLPeriodicExportModule::setupVTKPiece().
|
inline |
Definition at line 130 of file exportregion.h.
References mapL2G.
Referenced by oofem::VTKBaseExportModule::exportExternalForces(), oofem::VTKBaseExportModule::exportIntVars(), oofem::VTKXMLLatticeExportModule::exportIntVars(), oofem::VTKXMLPeriodicExportModule::exportIntVars(), oofem::VTKXMLXFemExportModule::exportIntVars2(), oofem::VTKBaseExportModule::exportPrimaryVars(), oofem::VTKXMLLatticeExportModule::exportPrimaryVars(), oofem::VTKXMLPeriodicExportModule::exportPrimaryVars(), oofem::QuasicontinuumVTKXMLExportModule::initRegionNodeNumbering(), oofem::VTKBaseExportModule::initRegionNodeNumbering(), oofem::VTKXMLLatticeExportModule::initRegionNodeNumbering(), oofem::VTKXMLPeriodicExportModule::initRegionNodeNumbering(), oofem::QuasicontinuumVTKXMLExportModule::setupVTKPiece(), oofem::VTKBaseExportModule::setupVTKPiece(), oofem::VTKXMLLatticeExportModule::setupVTKPiece(), and oofem::VTKXMLPeriodicExportModule::setupVTKPiece().
| FloatMatrix oofem::ExportRegion::getPrimaryVertexValues | ( | UnknownType | u | ) |
Definition at line 228 of file exportregion.C.
|
inline |
Definition at line 132 of file exportregion.h.
References regionElInd.
Referenced by oofem::VTKBaseExportModule::setupVTKPiece().
|
inline |
Definition at line 121 of file exportregion.h.
References vertexSetMembership.
Referenced by oofem::VTKXMLExportModule::writeVertexSetMembership().
| FloatMatrix oofem::ExportRegion::getVertices | ( | ) |
Definition at line 181 of file exportregion.C.
References giveNodeCoords(), oofem::FloatArray::giveSize(), and numNodes.
|
inline |
Definition at line 77 of file exportregion.h.
References connectivity.
Referenced by getCellConnectivity(), oofem::VTKXMLLatticeExportModule::writeVTKPieceCross(), and oofem::VTKXMLExportModule::writeVTKPieceProlog().
|
inline |
Definition at line 83 of file exportregion.h.
References elOffsets.
Referenced by oofem::VTKXMLLatticeExportModule::writeVTKPieceCross(), and oofem::VTKXMLExportModule::writeVTKPieceProlog().
|
inline |
Definition at line 80 of file exportregion.h.
References elCellTypes.
Referenced by getCellTypes(), oofem::VTKXMLLatticeExportModule::writeVTKPieceCross(), and oofem::VTKXMLExportModule::writeVTKPieceProlog().
|
inline |
Definition at line 118 of file exportregion.h.
References cellVars.
Referenced by oofem::VTKXMLExportModule::writeCellVars(), and oofem::VTKXMLLatticeExportModule::writeCellVarsCross().
|
inline |
Definition at line 112 of file exportregion.h.
References nodeVarsFromIS.
Referenced by oofem::VTKXMLExportModule::writeIntVars().
|
inline |
Definition at line 115 of file exportregion.h.
References nodeVarsFromXFEMIS.
Referenced by oofem::VTKXMLXFemExportModule::writeXFEMVars().
|
inline |
Definition at line 109 of file exportregion.h.
References nodeLoads.
Referenced by oofem::VTKXMLExportModule::writeExternalForces().
|
inline |
Definition at line 86 of file exportregion.h.
References nodeCoords.
Referenced by getVertices(), oofem::VTKXMLLatticeExportModule::writeVTKPieceCross(), and oofem::VTKXMLExportModule::writeVTKPieceProlog().
|
inline |
Definition at line 72 of file exportregion.h.
References numCells.
Referenced by oofem::QuasicontinuumVTKXMLExportModule::setupVTKPiece(), oofem::VTKBaseExportModule::setupVTKPiece(), oofem::VTKXMLLatticeExportModule::setupVTKPiece(), oofem::VTKXMLPeriodicExportModule::setupVTKPiece(), oofem::VTKXMLExportModule::writeCellSetMembership(), oofem::VTKXMLExportModule::writeCellVars(), oofem::VTKXMLLatticeExportModule::writeCellVarsCross(), oofem::VTKXMLLatticeExportModule::writeVTKPieceCross(), oofem::VTKXMLExportModule::writeVTKPieceEpilog(), oofem::VTKXMLExportModule::writeVTKPieceProlog(), oofem::VTKXMLExportModule::writeVTKPieceVariables(), and oofem::VTKXMLXFemExportModule::writeXFEMVars().
|
inline |
Definition at line 69 of file exportregion.h.
References numNodes.
Referenced by oofem::QuasicontinuumVTKXMLExportModule::setupVTKPiece(), oofem::VTKBaseExportModule::setupVTKPiece(), oofem::VTKXMLLatticeExportModule::setupVTKPiece(), oofem::VTKXMLPeriodicExportModule::setupVTKPiece(), oofem::VTKXMLExportModule::writeExternalForces(), oofem::VTKXMLExportModule::writeIntVars(), oofem::VTKXMLExportModule::writePrimaryVars(), oofem::VTKXMLExportModule::writeVertexSetMembership(), oofem::VTKXMLLatticeExportModule::writeVTKPieceCross(), oofem::VTKXMLExportModule::writeVTKPieceProlog(), and oofem::VTKXMLXFemExportModule::writeXFEMVars().
|
inline |
Definition at line 74 of file exportregion.h.
References numSetGroups.
Referenced by oofem::VTKXMLExportModule::writeCellSetMembership(), and oofem::VTKXMLExportModule::writeVertexSetMembership().
|
inline |
Definition at line 106 of file exportregion.h.
References nodeVars.
Referenced by oofem::VTKXMLExportModule::writePrimaryVars().
|
inline |
Definition at line 126 of file exportregion.h.
References cellSetMembership.
Referenced by oofem::VTKBaseExportModule::exportSetMembership().
|
inline |
Definition at line 79 of file exportregion.h.
References elCellTypes.
Referenced by oofem::Shell7BaseXFEM::giveCZExportData(), oofem::Shell7Base::giveShellExportData(), oofem::Shell7BaseXFEM::giveShellExportData(), oofem::QuasicontinuumVTKXMLExportModule::setupVTKPiece(), oofem::VTKBaseExportModule::setupVTKPiece(), oofem::VTKXMLLatticeExportModule::setupVTKPiece(), oofem::VTKXMLPeriodicExportModule::setupVTKPiece(), and oofem::VTKXMLLatticeExportModule::setupVTKPieceCross().
| void oofem::ExportRegion::setCellVar | ( | InternalStateType | type, |
| int | cellNum, | ||
| FloatArray | valueArray ) |
Definition at line 158 of file exportregion.C.
References cellVars.
Referenced by oofem::VTKBaseExportModule::exportCellVars(), oofem::Shell7BaseXFEM::giveCZExportData(), oofem::Shell7Base::giveShellExportData(), and oofem::Shell7BaseXFEM::giveShellExportData().
| void oofem::ExportRegion::setConnectivity | ( | int | cellNum, |
| IntArray & | nodes ) |
Definition at line 73 of file exportregion.C.
References connectivity.
Referenced by oofem::Shell7BaseXFEM::giveCZExportData(), oofem::Shell7Base::giveShellExportData(), oofem::Shell7BaseXFEM::giveShellExportData(), oofem::QuasicontinuumVTKXMLExportModule::setupVTKPiece(), oofem::VTKBaseExportModule::setupVTKPiece(), oofem::VTKXMLLatticeExportModule::setupVTKPiece(), oofem::VTKXMLPeriodicExportModule::setupVTKPiece(), and oofem::VTKXMLLatticeExportModule::setupVTKPieceCross().
| void oofem::ExportRegion::setInternalVarInNode | ( | InternalStateType | type, |
| int | nodeNum, | ||
| FloatArray | valueArray ) |
Definition at line 145 of file exportregion.C.
References nodeVarsFromIS.
Referenced by oofem::VTKBaseExportModule::exportIntVars(), oofem::VTKXMLLatticeExportModule::exportIntVars(), oofem::VTKXMLPeriodicExportModule::exportIntVars(), oofem::Shell7BaseXFEM::giveCZExportData(), oofem::Shell7Base::giveShellExportData(), and oofem::Shell7BaseXFEM::giveShellExportData().
| void oofem::ExportRegion::setInternalXFEMVarInNode | ( | int | varNum, |
| int | eiNum, | ||
| int | nodeNum, | ||
| FloatArray | valueArray ) |
Definition at line 151 of file exportregion.C.
References nodeVarsFromXFEMIS.
Referenced by oofem::VTKXMLXFemExportModule::exportIntVars2(), oofem::Shell7BaseXFEM::giveCZExportData(), and oofem::Shell7BaseXFEM::giveShellExportData().
| void oofem::ExportRegion::setLoadInNode | ( | int | varNum, |
| int | nodeNum, | ||
| FloatArray | valueArray ) |
Definition at line 139 of file exportregion.C.
References nodeLoads.
Referenced by oofem::VTKBaseExportModule::exportExternalForces().
| void oofem::ExportRegion::setNodeCoords | ( | int | nodeNum, |
| const FloatArray & | coords ) |
Definition at line 79 of file exportregion.C.
References nodeCoords.
Referenced by oofem::Shell7BaseXFEM::giveCZExportData(), oofem::Shell7Base::giveShellExportData(), oofem::Shell7BaseXFEM::giveShellExportData(), oofem::QuasicontinuumVTKXMLExportModule::setupVTKPiece(), oofem::VTKBaseExportModule::setupVTKPiece(), oofem::VTKXMLLatticeExportModule::setupVTKPiece(), oofem::VTKXMLPeriodicExportModule::setupVTKPiece(), and oofem::VTKXMLLatticeExportModule::setupVTKPieceCross().
| void oofem::ExportRegion::setNumberOfCells | ( | int | numCells | ) |
Definition at line 64 of file exportregion.C.
References connectivity, elCellTypes, elOffsets, and numCells.
Referenced by oofem::Shell7BaseXFEM::giveCZExportData(), oofem::Shell7Base::giveShellExportData(), oofem::Shell7BaseXFEM::giveShellExportData(), oofem::QuasicontinuumVTKXMLExportModule::initRegionNodeNumbering(), oofem::VTKBaseExportModule::initRegionNodeNumbering(), oofem::VTKXMLLatticeExportModule::initRegionNodeNumbering(), oofem::VTKXMLPeriodicExportModule::initRegionNodeNumbering(), oofem::QuasicontinuumVTKXMLExportModule::setupVTKPiece(), oofem::VTKBaseExportModule::setupVTKPiece(), oofem::VTKXMLLatticeExportModule::setupVTKPiece(), oofem::VTKXMLPeriodicExportModule::setupVTKPiece(), and oofem::VTKXMLLatticeExportModule::setupVTKPieceCross().
| void oofem::ExportRegion::setNumberOfCellVarsToExport | ( | const IntArray & | cellVars, |
| int | numCells ) |
Definition at line 124 of file exportregion.C.
References cellVars, numCells, and oofem::IntArray::resize().
Referenced by oofem::VTKBaseExportModule::exportCellVars(), oofem::Shell7BaseXFEM::giveCZExportData(), oofem::Shell7Base::giveShellExportData(), and oofem::Shell7BaseXFEM::giveShellExportData().
| void oofem::ExportRegion::setNumberOfInternalVarsToExport | ( | const IntArray & | ists, |
| int | numNodes ) |
Definition at line 103 of file exportregion.C.
References oofem::IntArray::at(), oofem::IntArray::giveSize(), nodeVarsFromIS, and numNodes.
Referenced by oofem::VTKBaseExportModule::exportIntVars(), oofem::VTKXMLLatticeExportModule::exportIntVars(), oofem::VTKXMLPeriodicExportModule::exportIntVars(), oofem::VTKXMLXFemExportModule::exportIntVars2(), oofem::Shell7BaseXFEM::giveCZExportData(), oofem::Shell7Base::giveShellExportData(), and oofem::Shell7BaseXFEM::giveShellExportData().
| void oofem::ExportRegion::setNumberOfInternalXFEMVarsToExport | ( | int | numVars, |
| int | numEnrichmentItems, | ||
| int | numNodes ) |
Definition at line 112 of file exportregion.C.
References nodeVarsFromXFEMIS, and numNodes.
Referenced by oofem::Shell7BaseXFEM::giveCZExportData(), and oofem::Shell7BaseXFEM::giveShellExportData().
| void oofem::ExportRegion::setNumberOfLoadsToExport | ( | int | numVars, |
| int | numNodes ) |
Definition at line 94 of file exportregion.C.
References nodeLoads, and numNodes.
Referenced by oofem::VTKBaseExportModule::exportExternalForces().
| void oofem::ExportRegion::setNumberOfNodes | ( | int | numNodes | ) |
Definition at line 57 of file exportregion.C.
References nodeCoords, and numNodes.
Referenced by oofem::Shell7BaseXFEM::giveCZExportData(), oofem::Shell7Base::giveShellExportData(), oofem::Shell7BaseXFEM::giveShellExportData(), oofem::QuasicontinuumVTKXMLExportModule::initRegionNodeNumbering(), oofem::VTKBaseExportModule::initRegionNodeNumbering(), oofem::VTKXMLLatticeExportModule::initRegionNodeNumbering(), oofem::VTKXMLPeriodicExportModule::initRegionNodeNumbering(), oofem::QuasicontinuumVTKXMLExportModule::setupVTKPiece(), oofem::VTKBaseExportModule::setupVTKPiece(), oofem::VTKXMLLatticeExportModule::setupVTKPiece(), oofem::VTKXMLPeriodicExportModule::setupVTKPiece(), and oofem::VTKXMLLatticeExportModule::setupVTKPieceCross().
| void oofem::ExportRegion::setNumberOfPrimaryVarsToExport | ( | const IntArray & | primVars, |
| int | numNodes ) |
Definition at line 85 of file exportregion.C.
References oofem::IntArray::at(), oofem::IntArray::giveSize(), nodeVars, and numNodes.
Referenced by oofem::VTKBaseExportModule::exportPrimaryVars(), oofem::VTKXMLLatticeExportModule::exportPrimaryVars(), oofem::VTKXMLPeriodicExportModule::exportPrimaryVars(), oofem::Shell7BaseXFEM::giveCZExportData(), oofem::Shell7Base::giveShellExportData(), and oofem::Shell7BaseXFEM::giveShellExportData().
|
inline |
Definition at line 93 of file exportregion.h.
References cellSetMembership, numCells, numNodes, numSetGroups, and vertexSetMembership.
Referenced by oofem::VTKBaseExportModule::exportSetMembership().
|
inline |
Definition at line 82 of file exportregion.h.
References elOffsets.
Referenced by oofem::Shell7BaseXFEM::giveCZExportData(), oofem::Shell7Base::giveShellExportData(), oofem::Shell7BaseXFEM::giveShellExportData(), oofem::QuasicontinuumVTKXMLExportModule::setupVTKPiece(), oofem::VTKBaseExportModule::setupVTKPiece(), oofem::VTKXMLLatticeExportModule::setupVTKPiece(), oofem::VTKXMLPeriodicExportModule::setupVTKPiece(), and oofem::VTKXMLLatticeExportModule::setupVTKPieceCross().
| void oofem::ExportRegion::setPrimaryVarInNode | ( | UnknownType | type, |
| int | nodeNum, | ||
| FloatArray | valueArray ) |
Definition at line 133 of file exportregion.C.
References nodeVars.
Referenced by oofem::VTKBaseExportModule::exportPrimaryVars(), oofem::VTKXMLLatticeExportModule::exportPrimaryVars(), oofem::VTKXMLPeriodicExportModule::exportPrimaryVars(), oofem::Shell7BaseXFEM::giveCZExportData(), oofem::Shell7Base::giveShellExportData(), and oofem::Shell7BaseXFEM::giveShellExportData().
|
inline |
Definition at line 123 of file exportregion.h.
References vertexSetMembership.
Referenced by oofem::VTKBaseExportModule::exportSetMembership().
|
private |
Definition at line 163 of file exportregion.h.
Referenced by getCellSetMembershipGroup(), setCellSetMembership(), and setNumberOfSetMembershipsToExport().
|
private |
Definition at line 160 of file exportregion.h.
Referenced by clear(), getCellValues(), giveCellVar(), setCellVar(), and setNumberOfCellVarsToExport().
|
private |
Definition at line 155 of file exportregion.h.
Referenced by clear(), giveCellConnectivity(), setConnectivity(), and setNumberOfCells().
|
private |
Definition at line 146 of file exportregion.h.
Referenced by clear(), giveCellType(), setCellType(), and setNumberOfCells().
|
private |
Definition at line 147 of file exportregion.h.
Referenced by clear(), giveCellOffset(), setNumberOfCells(), and setOffset().
|
private |
Definition at line 149 of file exportregion.h.
Referenced by getMapG2L().
|
private |
Definition at line 149 of file exportregion.h.
Referenced by getMapL2G().
|
private |
Definition at line 154 of file exportregion.h.
Referenced by clear(), giveNodeCoords(), setNodeCoords(), and setNumberOfNodes().
|
private |
Definition at line 157 of file exportregion.h.
Referenced by giveLoadInNode(), setLoadInNode(), and setNumberOfLoadsToExport().
|
private |
Definition at line 156 of file exportregion.h.
Referenced by clear(), getPrimaryVertexValues(), givePrimaryVarInNode(), setNumberOfPrimaryVarsToExport(), and setPrimaryVarInNode().
|
private |
Definition at line 158 of file exportregion.h.
Referenced by clear(), getInternalVertexValues(), giveInternalVarInNode(), setInternalVarInNode(), and setNumberOfInternalVarsToExport().
|
private |
Definition at line 159 of file exportregion.h.
Referenced by clear(), giveInternalXFEMVarInNode(), setInternalXFEMVarInNode(), and setNumberOfInternalXFEMVarsToExport().
|
private |
Definition at line 143 of file exportregion.h.
Referenced by clear(), ExportRegion(), getCellConnectivity(), getCellTypes(), getCellValues(), giveNumberOfCells(), setNumberOfCells(), setNumberOfCellVarsToExport(), and setNumberOfSetMembershipsToExport().
|
private |
Definition at line 144 of file exportregion.h.
Referenced by clear(), ExportRegion(), getInternalVertexValues(), getPrimaryVertexValues(), getVertices(), giveNumberOfNodes(), setNumberOfInternalVarsToExport(), setNumberOfInternalXFEMVarsToExport(), setNumberOfLoadsToExport(), setNumberOfNodes(), setNumberOfPrimaryVarsToExport(), and setNumberOfSetMembershipsToExport().
|
private |
Definition at line 145 of file exportregion.h.
Referenced by ExportRegion(), giveNumberOfSetGroups(), and setNumberOfSetMembershipsToExport().
|
private |
Definition at line 151 of file exportregion.h.
Referenced by getRegionCells().
|
private |
Definition at line 162 of file exportregion.h.
Referenced by getVertexSetMembershipGroup(), setNumberOfSetMembershipsToExport(), and setVertexSetMembership().