/home/runner/work/amr-wind/amr-wind/amr-wind/utilities/sampling/FreeSurfaceSampler.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
FreeSurfaceSampler.H
Go to the documentation of this file.
Definition CFDSim.H:47
Definition Field.H:116
Definition FreeSurfaceSampler.H:10
int m_gc0
Grid coordinates, determined as a function of m_coorddir.
Definition FreeSurfaceSampler.H:103
amrex::Vector< int > m_npts_dir
Number or points on 2D grid in each direction.
Definition FreeSurfaceSampler.H:93
amrex::Vector< amrex::Array< amrex::Real, 2 > > grid_locations() const
Locations.
Definition FreeSurfaceSampler.H:79
amrex::Vector< amrex::Real > m_out
Output coordinate.
Definition FreeSurfaceSampler.H:111
void initialize(const std::string &key) override
Definition FreeSurfaceSampler.cpp:18
static std::string identifier()
Definition FreeSurfaceSampler.H:12
amrex::Vector< amrex::Array< amrex::Real, 2 > > m_grid_locs
Locations of points in 2D grid.
Definition FreeSurfaceSampler.H:109
std::string label() const override
Name of this sampling object.
Definition FreeSurfaceSampler.H:54
std::string m_label
Definition FreeSurfaceSampler.H:118
void output_locations(SampleLocType &sample_locs) const override
Definition FreeSurfaceSampler.H:34
void output_netcdf_data(const ncutils::NCGroup &, const size_t) const override
Definition FreeSurfaceSampler.cpp:739
FreeSurfaceSampler(CFDSim &)
Definition FreeSurfaceSampler.cpp:12
long num_points() const override
Number of points, total.
Definition FreeSurfaceSampler.H:70
std::string sampletype() const override
Type of this sampling object.
Definition FreeSurfaceSampler.H:58
int num_gridpoints() const
Definition FreeSurfaceSampler.H:66
amrex::Vector< amrex::Real > m_end
Definition FreeSurfaceSampler.H:107
amrex::Vector< amrex::Real > heights() const
Outputs (heights)
Definition FreeSurfaceSampler.H:84
long num_output_points() const override
Definition FreeSurfaceSampler.H:74
void check_bounds() override
Check and fix the bounds of the sampler so the probes are in the domain.
Definition FreeSurfaceSampler.cpp:336
void sampling_locations(SampleLocType &) const override
Populate and return a vector of probe locations to be sampled.
Definition FreeSurfaceSampler.cpp:369
int num_instances() const
Number of instances.
Definition FreeSurfaceSampler.H:68
std::string & label() override
Definition FreeSurfaceSampler.H:55
bool update_sampling_locations() override
Find heights associated with 2D sample locations.
Definition FreeSurfaceSampler.cpp:405
int m_ncomp
Max number of sample points found in a single cell.
Definition FreeSurfaceSampler.H:114
const Field & m_vof
reference to VOF
Definition FreeSurfaceSampler.H:90
void define_netcdf_metadata(const ncutils::NCGroup &) const override
Definition FreeSurfaceSampler.cpp:723
~FreeSurfaceSampler() override
int m_ncmax
Max number of sample points allowed in a single cell.
Definition FreeSurfaceSampler.H:116
void post_regrid_actions() override
Redo some of the initialization work when the grid changes.
Definition FreeSurfaceSampler.cpp:579
amrex::Vector< amrex::Real > m_start
Parameters to set up plane.
Definition FreeSurfaceSampler.H:107
int id() const override
Unique identifier for this set of probe locations.
Definition FreeSurfaceSampler.H:61
void populate_netcdf_metadata(const ncutils::NCGroup &) const override
Definition FreeSurfaceSampler.cpp:736
Definition DTUSpinnerSampler.cpp:16
Definition SamplerBase.H:15
Generated by 1.12.0