Skip to content

Commit

Permalink
fix warn
Browse files Browse the repository at this point in the history
  • Loading branch information
marchdf committed Oct 8, 2024
1 parent 6497f1a commit f0c62d6
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 8 deletions.
3 changes: 2 additions & 1 deletion amr-wind/utilities/sampling/DTUSpinnerSampler.H
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ public:
//! Populate the vector with coordinates of the sampling locations inside
//! boxes
void sampling_locations(
SampleLocType&, const amrex::Vector<amrex::Box>&) const override;
SampleLocType& /*sample_locs**/,
const amrex::Vector<amrex::Box>& /*boxes*/) const override;

static vs::Vector generate_lidar_pattern(
PrismParameters InnerPrism, PrismParameters OuterPrism, double time);
Expand Down
3 changes: 2 additions & 1 deletion amr-wind/utilities/sampling/FreeSurfaceSampler.H
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ public:
//! Populate the vector with coordinates of the sampling locations inside
//! boxes
void sampling_locations(
SampleLocType&, const amrex::Vector<amrex::Box>&) const override;
SampleLocType& /*sample_locs**/,
const amrex::Vector<amrex::Box>& /*boxes*/) const override;

void output_locations(SampleLocType& sample_locs) const override
{
Expand Down
3 changes: 2 additions & 1 deletion amr-wind/utilities/sampling/LineSampler.H
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ public:
//! Populate the vector with coordinates of the sampling locations inside
//! boxes
void sampling_locations(
SampleLocType&, const amrex::Vector<amrex::Box>&) const override;
SampleLocType& /*sample_locs**/,
const amrex::Vector<amrex::Box>& /*boxes*/) const override;

void output_locations(SampleLocType& sample_locs) const override
{
Expand Down
3 changes: 2 additions & 1 deletion amr-wind/utilities/sampling/PlaneSampler.H
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ public:
//! Populate the vector with coordinates of the sampling locations inside
//! boxes
void sampling_locations(
SampleLocType&, const amrex::Vector<amrex::Box>&) const override;
SampleLocType& /*sample_locs**/,
const amrex::Vector<amrex::Box>& /*boxes*/) const override;

void output_locations(SampleLocType& sample_locs) const override
{
Expand Down
3 changes: 2 additions & 1 deletion amr-wind/utilities/sampling/ProbeSampler.H
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ public:
//! Populate the vector with coordinates of the sampling locations inside
//! boxes
void sampling_locations(
SampleLocType&, const amrex::Vector<amrex::Box>&) const override;
SampleLocType& /*sample_locs**/,
const amrex::Vector<amrex::Box>& /*boxes*/) const override;

void output_locations(SampleLocType& sample_locs) const override
{
Expand Down
5 changes: 3 additions & 2 deletions amr-wind/utilities/sampling/RadarSampler.H
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ public:
//! Populate the vector with coordinates of the sampling locations inside
//! boxes
void sampling_locations(
SampleLocType&, const amrex::Vector<amrex::Box>&) const override;
SampleLocType& /*sample_locs**/,
const amrex::Vector<amrex::Box>& /*boxes*/) const override;

bool update_sampling_locations() override;
void cone_axis_locations(SampleLocType& /*sample_locs**/) const;
Expand Down Expand Up @@ -199,7 +200,7 @@ protected:
long m_num_points_prior;
long m_num_output_points_prior;

double m_fill_val{-99999.99};
amrex::Real m_fill_val{-99999.99};
};

} // namespace amr_wind::sampling
Expand Down
3 changes: 2 additions & 1 deletion amr-wind/utilities/sampling/VolumeSampler.H
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ public:
//! Populate the vector with coordinates of the sampling locations inside
//! boxes
void sampling_locations(
SampleLocType&, const amrex::Vector<amrex::Box>&) const override;
SampleLocType& /*sample_locs**/,
const amrex::Vector<amrex::Box>& /*boxes*/) const override;

void output_locations(SampleLocType& sample_locs) const override
{
Expand Down

0 comments on commit f0c62d6

Please sign in to comment.