Merge pull request #83 from joakim-hove/non-const-celldata-access
Added non const cellData() access.
This commit is contained in:
commit
03fc74d115
@ -184,6 +184,10 @@ namespace Opm {
|
||||
return m_cell_data;
|
||||
}
|
||||
|
||||
std::unordered_map<std::string, std::vector<double>>& SimulationDataContainer::cellData() {
|
||||
return m_cell_data;
|
||||
}
|
||||
|
||||
|
||||
/* This is very deprecated. */
|
||||
void SimulationDataContainer::addDefaultFields() {
|
||||
|
@ -95,6 +95,7 @@ namespace Opm {
|
||||
const std::vector<double>& faceflux () const;
|
||||
|
||||
const std::unordered_map<std::string, std::vector<double>>& cellData() const;
|
||||
std::unordered_map<std::string, std::vector<double>>& cellData();
|
||||
private:
|
||||
void addDefaultFields();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user