QCriterionRefinement Class Reference

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

#include <QCriterionRefinement.H>

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

Public Member Functions

 QCriterionRefinement (const CFDSim &sim)
 
 ~QCriterionRefinement () 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_qc_value
 
int m_max_lev_field {-1}
 
bool m_nondim {true}
 

Detailed Description

AMR refinement using Q criterion

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

Constructor & Destructor Documentation

◆ QCriterionRefinement()

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

◆ ~QCriterionRefinement()

amr_wind::QCriterionRefinement::~QCriterionRefinement ( )
overridedefault

Member Function Documentation

◆ identifier()

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

◆ initialize()

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

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

◆ operator()()

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

Member Data Documentation

◆ m_max_lev_field

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

◆ m_nondim

bool amr_wind::QCriterionRefinement::m_nondim {true}
private

◆ m_qc_value

amrex::Vector<amrex::Real> amr_wind::QCriterionRefinement::m_qc_value
private

◆ m_sim

const CFDSim& amr_wind::QCriterionRefinement::m_sim
private

◆ m_vel

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

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