OGS
CellAverageData.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2// SPDX-License-Identifier: BSD-3-Clause
3
4#pragma once
5
6#include "MeshLib/Mesh.h"
8
9namespace ProcessLib
10{
12{
13 explicit CellAverageData(MeshLib::Mesh& mesh) : mesh_{mesh} {}
14
16 std::string const& name, unsigned const num_comp);
17
18private:
20 std::map<std::string, MeshLib::PropertyVector<double>*> cell_averages_;
21};
22} // namespace ProcessLib
MeshLib::Mesh const & mesh_
MeshLib::PropertyVector< double > & getOrCreatePropertyVector(std::string const &name, unsigned const num_comp)
std::map< std::string, MeshLib::PropertyVector< double > * > cell_averages_
CellAverageData(MeshLib::Mesh &mesh)