/home/runner/work/amr-wind/amr-wind/amr-wind/utilities/averaging/TimeAveraging.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
TimeAveraging.H
Go to the documentation of this file.
Definition CFDSim.H:47
Definition SimTime.H:30
Definition TimeAveraging.H:28
virtual const std::string & average_field_name()=0
static std::string base_identifier()
Definition TimeAveraging.H:30
~FieldTimeAverage() override=default
virtual void operator()(const SimTime &time, const amrex::Real filter_width, const amrex::Real elapsed_time)=0
Definition TimeAveraging.H:51
void initialize() override
Definition TimeAveraging.cpp:59
std::map< std::string, FieldTimeAverage * > m_registered
Fields registered so far to avoid duplication.
Definition TimeAveraging.H:81
const std::string & add_averaging(const std::string &field_name, const std::string &avg_type="ReAveraging")
Definition TimeAveraging.cpp:61
TimeAveraging(CFDSim &, std::string)
Definition TimeAveraging.cpp:12
~TimeAveraging() override
void post_regrid_actions() override
Definition TimeAveraging.H:66
amrex::Real m_start_time
Time to start averaging the fields.
Definition TimeAveraging.H:84
amrex::Real m_stop_time
Time to stop averaging the fields.
Definition TimeAveraging.H:87
amrex::Real m_filter
Time averaging window (in seconds)
Definition TimeAveraging.H:90
static std::string identifier()
Definition TimeAveraging.H:53
amrex::Vector< std::unique_ptr< FieldTimeAverage > > m_averages
Vector containing all registered field averagers.
Definition TimeAveraging.H:78
void pre_init_actions() override
Perform actions before mesh is created.
Definition TimeAveraging.cpp:18
void post_advance_work() override
Definition TimeAveraging.cpp:78
Definition BCInterface.cpp:7
Definition Factory.H:65
Generated by 1.12.0