MovingVolumeSampler Class Reference
|
Kynema-SGF API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
Classes |
Public Member Functions |
Static Public Member Functions |
Private Member Functions |
Private Attributes |
List of all members
kynema_sgf::sampling::MovingVolumeSampler Class Reference
#include <MovingVolumeSampler.H>
Inheritance diagram for kynema_sgf::sampling::MovingVolumeSampler:
Collaboration diagram for kynema_sgf::sampling::MovingVolumeSampler:
Classes | |
| struct | VolumeGeometry |
Public Member Functions | |
| MovingVolumeSampler (const CFDSim &sim) | |
| void | initialize (const std::string &key) override |
| void | check_bounds () override |
| void | sampling_locations (SampleLocType &sample_locs) const override |
| void | sampling_locations (SampleLocType &sample_locs, const amrex::Box &box) const override |
| bool | update_sampling_locations () override |
| std::string | sampletype () const override |
| void | define_netcdf_metadata (const ncutils::NCGroup &grp) const override |
| void | output_netcdf_data (const ncutils::NCGroup &grp, size_t nt) const override |
| void | populate_info_file (std::ostream &fh) const override |
| Public Member Functions inherited from kynema_sgf::sampling::VolumeSampler | |
| VolumeSampler (const CFDSim &) | |
| ~VolumeSampler () override | |
| void | initialize (const std::string &key) override |
| void | check_bounds () override |
| Check and fix the bounds of the sampler so the probes are in the domain. | |
| void | sampling_locations (SampleLocType &) const override |
| Populate and return a vector of probe locations to be sampled. | |
| void | sampling_locations (SampleLocType &, const amrex::Box &) const override |
| Populate the vector with coordinates of the sampling locations inside a box. | |
| void | output_locations (SampleLocType &sample_locs) const override |
| void | define_netcdf_metadata (const ncutils::NCGroup &) const override |
| void | populate_netcdf_metadata (const ncutils::NCGroup &) const override |
| std::string | label () const override |
| Name of this sampling object. | |
| std::string & | label () override |
| std::string | sampletype () const override |
| Type of this sampling object. | |
| int | id () const override |
| Unique identifier for this set of probe locations. | |
| int & | id () override |
| long | num_points () const override |
| Number of probe locations along the line. | |
| long | num_output_points () const override |
| Number of output probe locations (after data reduction etc.) | |
Static Public Member Functions | |
| static std::string | identifier () |
| Static Public Member Functions inherited from kynema_sgf::sampling::VolumeSampler | |
| static std::string | identifier () |
Private Member Functions | |
| bool | update_geometry (amrex::Real time) |
Private Attributes | |
| VolumeGeometry | m_reference |
| VolumeGeometry | m_geometry |
| const ::kynema_sgf::actuator::ActuatorModel * | m_actuator {nullptr} |
| std::string | m_actuator_label |
| bool | m_defer_bounds_check {true} |
Additional Inherited Members | |
| Protected Attributes inherited from kynema_sgf::sampling::VolumeSampler | |
| const CFDSim & | m_sim |
| amrex::Vector< amrex::Real > | m_hi |
| amrex::Vector< amrex::Real > | m_lo |
| amrex::Vector< int > | m_npts_dir |
| bool | m_snap_to_cell_center {false} |
Detailed Description
Volume sampler expressed in and moving with an actuator reference frame.
Constructor & Destructor Documentation
◆ MovingVolumeSampler()
|
explicit |
Member Function Documentation
◆ check_bounds()
|
override |
◆ define_netcdf_metadata()
|
override |
◆ identifier()
|
inlinestatic |
◆ initialize()
|
override |
◆ output_netcdf_data()
|
override |
◆ populate_info_file()
|
override |
◆ sampletype()
|
inlinenodiscardoverride |
◆ sampling_locations() [1/2]
|
override |
◆ sampling_locations() [2/2]
|
override |
◆ update_geometry()
|
private |
◆ update_sampling_locations()
|
override |
Member Data Documentation
◆ m_actuator
|
private |
◆ m_actuator_label
|
private |
◆ m_defer_bounds_check
|
private |
◆ m_geometry
|
private |
◆ m_reference
|
private |
The documentation for this class was generated from the following files:
- /home/runner/work/kynema-sgf/kynema-sgf/src/utilities/sampling/MovingVolumeSampler.H
- /home/runner/work/kynema-sgf/kynema-sgf/src/utilities/sampling/MovingVolumeSampler.cpp
Generated by