Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Source/Geometry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ void ExtrudedTriangles::build(
std::string pointstr = "tri_" + std ::to_string(itri) + "_point_" +
std::to_string(ipt);
amrex::Vector<amrex::Real> vecpt;
pp.getarr(pointstr.c_str(), vecpt, 0, AMREX_SPACEDIM);
pp.getarr(pointstr, vecpt, 0, AMREX_SPACEDIM);
for (int dir = 0; dir < AMREX_SPACEDIM; dir++) {
point[dir] = vecpt[dir];
}
Expand Down
4 changes: 2 additions & 2 deletions Source/LBM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -262,12 +262,12 @@ void LBM::read_parameters()
has_vel_bc = true;
}
}
if (!(pp.contains(vel_bc_key.c_str())) && has_vel_bc) {
if (!(pp.contains(vel_bc_key)) && has_vel_bc) {
amrex::Abort(
"LBM::read_paramaters: velocity BC is used without specifying "
"the type to be used");
}
pp.query(vel_bc_key.c_str(), m_velocity_bc_type);
pp.query(vel_bc_key, m_velocity_bc_type);

pp.get("ic_type", m_ic_type);

Expand Down
2 changes: 1 addition & 1 deletion Submodules/AMReX
Submodule AMReX updated 195 files