From b3da0c9feddf050db53c16d54d05f3c2e046ec99 Mon Sep 17 00:00:00 2001 From: ChongChong He Date: Sun, 13 Oct 2024 22:40:10 +1100 Subject: [PATCH] use std::vector --- src/problems/RadTube/test_radiation_tube.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/problems/RadTube/test_radiation_tube.cpp b/src/problems/RadTube/test_radiation_tube.cpp index a91419c48..9554b33e8 100644 --- a/src/problems/RadTube/test_radiation_tube.cpp +++ b/src/problems/RadTube/test_radiation_tube.cpp @@ -97,10 +97,10 @@ template <> void QuokkaSimulation::setInitialConditionsOnGrid(quokk // declare global variables // initial conditions read from file - amrex::Gpu::HostVector x_arr; - amrex::Gpu::HostVector rho_arr; - amrex::Gpu::HostVector Pgas_arr; - amrex::Gpu::HostVector Erad_arr; + std::vector x_arr; + std::vector rho_arr; + std::vector Pgas_arr; + std::vector Erad_arr; for (std::string line; std::getline(fstream, line);) { std::istringstream iss(line);