Renamed DataContainer -> SimulationDataContainer.
This commit is contained in:
parent
daa700ab9f
commit
e486194996
@ -21,11 +21,11 @@
|
||||
# the library needs it.
|
||||
|
||||
list (APPEND MAIN_SOURCE_FILES
|
||||
opm/common/data/DataContainer.cpp
|
||||
opm/common/data/SimulationDataContainer.cpp
|
||||
)
|
||||
|
||||
list (APPEND TEST_SOURCE_FILES
|
||||
tests/test_DataContainer.cpp
|
||||
tests/test_SimulationDataContainer.cpp
|
||||
)
|
||||
|
||||
list (APPEND TEST_DATA_FILES
|
||||
|
@ -18,11 +18,11 @@
|
||||
*/
|
||||
|
||||
|
||||
#include <opm/common/data/DataContainer.hpp>
|
||||
#include <opm/common/data/SimulationDataContainer.hpp>
|
||||
|
||||
namespace Opm {
|
||||
|
||||
DataContainer:: DataContainer(size_t num_cells, size_t num_faces , size_t num_phases) :
|
||||
SimulationDataContainer::SimulationDataContainer(size_t num_cells, size_t num_faces , size_t num_phases) :
|
||||
m_num_cells( num_cells),
|
||||
m_num_faces( num_faces),
|
||||
m_num_phases( num_phases )
|
@ -17,16 +17,16 @@
|
||||
along with OPM. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef DATA_CONTAINER_HPP
|
||||
#define DATA_CONTAINER_HPP
|
||||
#ifndef SIMULATION_DATA_CONTAINER_HPP
|
||||
#define SIMULATION_DATA_CONTAINER_HPP
|
||||
|
||||
#include <cstddef>
|
||||
|
||||
namespace Opm {
|
||||
|
||||
class DataContainer {
|
||||
class SimulationDataContainer {
|
||||
public:
|
||||
DataContainer(size_t num_cells, size_t num_faces , size_t num_phases);
|
||||
SimulationDataContainer(size_t num_cells, size_t num_faces , size_t num_phases);
|
||||
|
||||
private:
|
||||
size_t m_num_cells;
|
@ -19,15 +19,15 @@
|
||||
|
||||
|
||||
#define BOOST_TEST_DYN_LINK
|
||||
#define BOOST_TEST_MODULE DATA_CONTAINER_TESTS
|
||||
#define BOOST_TEST_MODULE SIMULATION_DATA_CONTAINER_TESTS
|
||||
#include <boost/test/unit_test.hpp>
|
||||
|
||||
|
||||
#include <opm/common/data/DataContainer.hpp>
|
||||
#include <opm/common/data/SimulationDataContainer.hpp>
|
||||
|
||||
using namespace Opm;
|
||||
|
||||
|
||||
BOOST_AUTO_TEST_CASE(TestCreate) {
|
||||
DataContainer container(1000 , 10 , 2);
|
||||
SimulationDataContainer container(1000 , 10 , 2);
|
||||
}
|
Loading…
Reference in New Issue
Block a user