PostProcessBase Class Reference
|
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
#include <PostProcessing.H>
Public Member Functions | |
| ~PostProcessBase () override=default | |
| virtual void | pre_init_actions ()=0 |
| virtual void | initialize ()=0 |
| virtual void | post_advance_work ()=0 |
| virtual void | output_actions ()=0 |
| virtual void | post_regrid_actions ()=0 |
| Actions to perform post regrid. | |
| void | populate_output_parameters (amrex::ParmParse &pp) |
| bool | do_output_now (const int ntime, const amrex::Real time, const amrex::Real dt, amrex::Real tol) const |
| Determine if output will happen this time step. | |
| amrex::Real | output_time_interval () const |
| amrex::Real | output_time_delay () const |
| amrex::Real | enforce_dt_tolerance () const |
| bool | enforce_dt () const |
| Public Member Functions inherited from amr_wind::Factory< PostProcessBase, CFDSim &, const std::string & > | |
| virtual | ~Factory ()=default |
Static Public Member Functions | |
| static std::string | base_identifier () |
| Static Public Member Functions inherited from amr_wind::Factory< PostProcessBase, CFDSim &, const std::string & > | |
| static std::unique_ptr< PostProcessBase > | create (const std::string &key, Args... args) |
| static void | print (std::ostream &os) |
Protected Attributes | |
| int | m_out_interval {10} |
| Time step interval for output. | |
| amrex::Real | m_out_time_interval {-1.} |
| Time interval for output. | |
| int | m_out_delay {0} |
| Time step delay for output. | |
| amrex::Real | m_out_time_delay {0.} |
| Time delay for output. | |
| amrex::Real | m_out_time_tol {1e-8} |
| Relative (to dt) tolerance for time interval output. | |
| amrex::Real | m_enforce_dt_tol {1e-3} |
| Relative (to m_out_time_interval) tolerance for enforcing dt. | |
| bool | m_enforce_dt {false} |
| Flag for enforcing time step based on output time. | |
Additional Inherited Members | |
| Public Attributes inherited from amr_wind::Factory< PostProcessBase, CFDSim &, const std::string & > | |
| friend | Base |
Detailed Description
Abstract representation of a post-processing utility
Provides an interface for a runtime-selectable post-processing action (e.g., data sampling, volume/surface integration, etc.) with the main solver.
All post-processing utilities must derive from this class.
Constructor & Destructor Documentation
◆ ~PostProcessBase()
|
overridedefault |
Member Function Documentation
◆ base_identifier()
|
inlinestatic |
◆ do_output_now()
|
inline |
Determine if output will happen this time step.
◆ enforce_dt()
|
inline |
◆ enforce_dt_tolerance()
|
inline |
◆ initialize()
|
pure virtual |
Initialize the post-processing utility
When this method is called, the mesh and the solution fields are fully initialized
◆ output_actions()
|
pure virtual |
Perform output routine
◆ output_time_delay()
|
inline |
◆ output_time_interval()
|
inline |
◆ populate_output_parameters()
|
inline |
◆ post_advance_work()
|
pure virtual |
Perform actions at the end of each timestep
◆ post_regrid_actions()
|
pure virtual |
Actions to perform post regrid.
◆ pre_init_actions()
|
pure virtual |
Member Data Documentation
◆ m_enforce_dt
|
protected |
Flag for enforcing time step based on output time.
◆ m_enforce_dt_tol
|
protected |
Relative (to m_out_time_interval) tolerance for enforcing dt.
◆ m_out_delay
|
protected |
Time step delay for output.
◆ m_out_interval
|
protected |
Time step interval for output.
◆ m_out_time_delay
|
protected |
Time delay for output.
◆ m_out_time_interval
|
protected |
Time interval for output.
◆ m_out_time_tol
|
protected |
Relative (to dt) tolerance for time interval output.
The documentation for this class was generated from the following file:
- /home/runner/work/amr-wind/amr-wind/amr-wind/utilities/PostProcessing.H
Generated by