Skip to content

Commit

Permalink
use std::vector
Browse files Browse the repository at this point in the history
  • Loading branch information
chongchonghe committed Oct 13, 2024
1 parent 5e399a5 commit b3da0c9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/problems/RadTube/test_radiation_tube.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@ template <> void QuokkaSimulation<TubeProblem>::setInitialConditionsOnGrid(quokk

// declare global variables
// initial conditions read from file
amrex::Gpu::HostVector<double> x_arr;
amrex::Gpu::HostVector<double> rho_arr;
amrex::Gpu::HostVector<double> Pgas_arr;
amrex::Gpu::HostVector<double> Erad_arr;
std::vector<double> x_arr;
std::vector<double> rho_arr;
std::vector<double> Pgas_arr;
std::vector<double> Erad_arr;

for (std::string line; std::getline(fstream, line);) {
std::istringstream iss(line);
Expand Down

0 comments on commit b3da0c9

Please sign in to comment.