VorticityMagRefinement Class Reference

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

#include <VorticityMagRefinement.H>

Inheritance diagram for amr_wind::VorticityMagRefinement:
[legend]
Collaboration diagram for amr_wind::VorticityMagRefinement:
[legend]

Public Member Functions

 VorticityMagRefinement (const CFDSim &sim)
 
 ~VorticityMagRefinement () override=default
 
void initialize (const std::string &key) override
 Read input file and initialize boxarray used to refine each level.
 
void operator() (int level, amrex::TagBoxArray &tags, amrex::Real time, int ngrow) override
 

Static Public Member Functions

static std::string identifier ()
 

Private Attributes

const CFDSimm_sim
 
Fieldm_vel {nullptr}
 
amrex::Vector< amrex::Real > m_vort_value
 
int m_max_lev_field {-1}
 

Detailed Description

AMR refinement using vorticity

tagging.labels = v1
tagging/v1.type = VorticityMagRefinement
# Tagging based on value
tagging/v1.values = 10.0 10.0
Definition VorticityMagRefinement.H:22

Constructor & Destructor Documentation

◆ VorticityMagRefinement()

amr_wind::VorticityMagRefinement::VorticityMagRefinement ( const CFDSim & sim)
explicit

◆ ~VorticityMagRefinement()

amr_wind::VorticityMagRefinement::~VorticityMagRefinement ( )
overridedefault

Member Function Documentation

◆ identifier()

static std::string amr_wind::VorticityMagRefinement::identifier ( )
inlinestatic

◆ initialize()

void amr_wind::VorticityMagRefinement::initialize ( const std::string & key)
override

Read input file and initialize boxarray used to refine each level.

◆ operator()()

void amr_wind::VorticityMagRefinement::operator() ( int level,
amrex::TagBoxArray & tags,
amrex::Real time,
int ngrow )
override

Member Data Documentation

◆ m_max_lev_field

int amr_wind::VorticityMagRefinement::m_max_lev_field {-1}
private

◆ m_sim

const CFDSim& amr_wind::VorticityMagRefinement::m_sim
private

◆ m_vel

Field* amr_wind::VorticityMagRefinement::m_vel {nullptr}
private

◆ m_vort_value

amrex::Vector<amrex::Real> amr_wind::VorticityMagRefinement::m_vort_value
private

The documentation for this class was generated from the following files: