GeometryRefinement Class Reference

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

#include <GeometryRefinement.H>

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

Public Member Functions

 GeometryRefinement (const CFDSim &)
 
 ~GeometryRefinement () 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
 
amrex::Vector< std::unique_ptr< tagging::GeometryType > > m_geom_refiners
 
int m_set_level {-1}
 
int m_min_level {0}
 
int m_max_level {32}
 

Detailed Description

AMR based on geometric shapes

Constructor & Destructor Documentation

◆ GeometryRefinement()

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

◆ ~GeometryRefinement()

amr_wind::GeometryRefinement::~GeometryRefinement ( )
overridedefault

Member Function Documentation

◆ identifier()

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

◆ initialize()

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

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

◆ operator()()

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

Member Data Documentation

◆ m_geom_refiners

amrex::Vector<std::unique_ptr<tagging::GeometryType> > amr_wind::GeometryRefinement::m_geom_refiners
private

◆ m_max_level

int amr_wind::GeometryRefinement::m_max_level {32}
private

◆ m_min_level

int amr_wind::GeometryRefinement::m_min_level {0}
private

◆ m_set_level

int amr_wind::GeometryRefinement::m_set_level {-1}
private

Option to refine a specific level If set greater than -1, then only that level is acted on

◆ m_sim

const CFDSim& amr_wind::GeometryRefinement::m_sim
private

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