AscentPostProcess Class Reference

AMR-Wind API: amr_wind::ascent_int::AscentPostProcess Class Reference
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
amr_wind::ascent_int::AscentPostProcess Class Reference

#include <ascent.H>

Inheritance diagram for amr_wind::ascent_int::AscentPostProcess:
[legend]
Collaboration diagram for amr_wind::ascent_int::AscentPostProcess:
[legend]

Public Member Functions

 AscentPostProcess (CFDSim &, const std::string &)
 
virtual ~AscentPostProcess ()
 
void pre_init_actions () override
 Perform actions before mesh is created.
 
void initialize () override
 Read user inputs and create the different data probe instances.
 
void post_advance_work () override
 Interpolate fields at a given timestep and output to disk.
 
void post_regrid_actions () override
 Actions to perform post regrid e.g. redistribute particles.
 

Static Public Member Functions

static const std::string identifier ()
 

Private Attributes

CFDSimm_sim
 
std::string m_label
 
amrex::Vector< std::string > m_var_names
 
amrex::Vector< Field * > m_fields
 
int m_out_freq {1}
 

Constructor & Destructor Documentation

◆ AscentPostProcess()

amr_wind::ascent_int::AscentPostProcess::AscentPostProcess ( CFDSim & sim,
const std::string & label )

◆ ~AscentPostProcess()

amr_wind::ascent_int::AscentPostProcess::~AscentPostProcess ( )
virtualdefault

Member Function Documentation

◆ identifier()

static const std::string amr_wind::ascent_int::AscentPostProcess::identifier ( )
inlinestatic

◆ initialize()

void amr_wind::ascent_int::AscentPostProcess::initialize ( )
override

Read user inputs and create the different data probe instances.

◆ post_advance_work()

void amr_wind::ascent_int::AscentPostProcess::post_advance_work ( )
override

Interpolate fields at a given timestep and output to disk.

◆ post_regrid_actions()

void amr_wind::ascent_int::AscentPostProcess::post_regrid_actions ( )
override

Actions to perform post regrid e.g. redistribute particles.

◆ pre_init_actions()

void amr_wind::ascent_int::AscentPostProcess::pre_init_actions ( )
override

Perform actions before mesh is created.

Member Data Documentation

◆ m_fields

amrex::Vector<Field*> amr_wind::ascent_int::AscentPostProcess::m_fields
private

◆ m_label

std::string amr_wind::ascent_int::AscentPostProcess::m_label
private

◆ m_out_freq

int amr_wind::ascent_int::AscentPostProcess::m_out_freq {1}
private

◆ m_sim

CFDSim& amr_wind::ascent_int::AscentPostProcess::m_sim
private

◆ m_var_names

amrex::Vector<std::string> amr_wind::ascent_int::AscentPostProcess::m_var_names
private

The documentation for this class was generated from the following files:
  • /home/runner/work/amr-wind/amr-wind/amr-wind/utilities/ascent/ascent.H
  • /home/runner/work/amr-wind/amr-wind/amr-wind/utilities/ascent/ascent.cpp