Opm::SimulationDataContainer Class Reference
Detailed DescriptionThe SimulationDataContainer is a simple container to manage simulation data. The container is instantiated with information of how many cells, faces and phases are present in the reservoirmodel. You can then add data to the container by using the registerCellData() registerFaceData() functions. The container owns and manages the data, but mutable references are returned with the getCellData() and getFaceData() methods, and the content will typically be modified by external scope. Constructor & Destructor Documentation◆ SimulationDataContainer() [1/2]
Main constructor setting the sizes for the contained data types.
◆ SimulationDataContainer() [2/2]
Copy constructor. Must be defined explicitly because class contains non-value objects (the reference pointers pressure_ref_ etc.) that should not simply be copied. Member Function Documentation◆ cellData() [1/2]
◆ cellData() [2/2]
◆ equal()
◆ faceflux() [1/2]
◆ faceflux() [2/2]
◆ facepressure() [1/2]
◆ facepressure() [2/2]
◆ getCellData() [1/2]
◆ getCellData() [2/2]
◆ getFaceData() [1/2]
◆ getFaceData() [2/2]
◆ hasCellData()
◆ hasFaceData()
◆ numCellDataComponents()
◆ numCells()
◆ numFaces()
◆ numPhases()
◆ operator=()
Copy assignment operator. Must be defined explicitly because class contains non-value objects (the reference pointers pressure_ref_ etc.) that should not simply be copied. ◆ pressure() [1/2]
◆ pressure() [2/2]
◆ registerCellData()
Will register a data vector of size numCells() * components. ◆ registerFaceData()
◆ saturation() [1/2]
◆ saturation() [2/2]
◆ setCellDataComponent()
Will set the values of component nr @component in the field @key. All the cells in @cells will be set to the values in @values. ◆ swap()
Efficient O(1) swap. ◆ temperature() [1/2]
◆ temperature() [2/2]
The documentation for this class was generated from the following file: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||