/home/runner/work/amr-wind/amr-wind/amr-wind/utilities/ascent/ascent.H Source File

AMR-Wind API: /home/runner/work/amr-wind/amr-wind/amr-wind/utilities/ascent/ascent.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
ascent.H
Go to the documentation of this file.
1#ifndef ASCENT_INT_H
2#define ASCENT_INT_H
3
5
10namespace amr_wind {
11
12class Field;
13
14namespace ascent_int {
15
16class AscentPostProcess : public PostProcessBase::Register<AscentPostProcess>
17{
18public:
19 static const std::string identifier() { return "Ascent"; }
20
21 AscentPostProcess(CFDSim&, const std::string&);
22
24
26 void pre_init_actions() override;
27
29 void initialize() override;
30
32 void post_advance_work() override;
33
35 void post_regrid_actions() override;
36
37protected:
38private:
40 std::string m_label;
41
42 amrex::Vector<std::string> m_var_names;
43 amrex::Vector<Field*> m_fields;
44
45 int m_out_freq{1};
46};
47
48} // namespace ascent_int
49} // namespace amr_wind
50
51#endif
Definition CFDSim.H:47
Definition ascent.H:17
void post_advance_work() override
Interpolate fields at a given timestep and output to disk.
Definition ascent.cpp:52
void initialize() override
Read user inputs and create the different data probe instances.
Definition ascent.cpp:22
int m_out_freq
Definition ascent.H:45
std::string m_label
Definition ascent.H:40
virtual ~AscentPostProcess()
amrex::Vector< Field * > m_fields
Definition ascent.H:43
CFDSim & m_sim
Definition ascent.H:39
void pre_init_actions() override
Perform actions before mesh is created.
Definition ascent.cpp:20
amrex::Vector< std::string > m_var_names
Definition ascent.H:42
AscentPostProcess(CFDSim &, const std::string &)
Definition ascent.cpp:14
static const std::string identifier()
Definition ascent.H:19
void post_regrid_actions() override
Actions to perform post regrid e.g. redistribute particles.
Definition ascent.cpp:115
Definition BCInterface.cpp:7