Skip to content

Commit

Permalink
change std::array to amrex::Array
Browse files Browse the repository at this point in the history
  • Loading branch information
mukul1992 committed May 24, 2024
1 parent db47e00 commit 76a9304
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion amr-wind/boundary_conditions/BCInterface.H
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public:
virtual void operator()(const amrex::Real value = 0.0);

//! User-defined functions for Dirichlet-type boundaries
std::array<const std::string, 3> get_dirichlet_udfs();
amrex::Array<const std::string, 3> get_dirichlet_udfs();

protected:
//! Setup AMReX mathematical BC types
Expand Down
2 changes: 1 addition & 1 deletion amr-wind/boundary_conditions/BCInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ void BCIface::set_bcfuncs()
}
}

std::array<const std::string, 3> BCIface::get_dirichlet_udfs()
amrex::Array<const std::string, 3> BCIface::get_dirichlet_udfs()
{
const auto& fname = m_field.name();
const auto& bctype = m_field.bc_type();
Expand Down
2 changes: 1 addition & 1 deletion amr-wind/boundary_conditions/scalar_bcs.H
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ void register_scalar_dirichlet(
Field& field,
const amrex::AmrCore& mesh,
const SimTime& time,
const std::array<const std::string, 3> udfs);
const amrex::Array<const std::string, 3> udfs);

} // namespace amr_wind::scalar_bc

Expand Down
2 changes: 1 addition & 1 deletion amr-wind/boundary_conditions/scalar_bcs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ void register_scalar_dirichlet(
Field& field,
const amrex::AmrCore& mesh,
const SimTime& time,
const std::array<const std::string, 3> udfs)
const amrex::Array<const std::string, 3> udfs)
{
const std::string inflow_udf = udfs[0];
const std::string inflow_outflow_udf = udfs[1];
Expand Down
2 changes: 1 addition & 1 deletion amr-wind/boundary_conditions/velocity_bcs.H
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ void register_velocity_dirichlet(
Field& field,
const amrex::AmrCore& mesh,
const SimTime& time,
const std::array<const std::string, 3> udfs)
const amrex::Array<const std::string, 3> udfs)
{
const std::string inflow_udf = udfs[0];
const std::string inflow_outflow_udf = udfs[1];
Expand Down

0 comments on commit 76a9304

Please sign in to comment.