CartBoxRefinement Class Reference
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
Public Member Functions |
Static Public Member Functions |
Protected Attributes |
List of all members
amr_wind::CartBoxRefinement Class Reference
#include <CartBoxRefinement.H>
Inheritance diagram for amr_wind::CartBoxRefinement:
Collaboration diagram for amr_wind::CartBoxRefinement:
Public Member Functions | |
CartBoxRefinement (CFDSim &sim) | |
~CartBoxRefinement () 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 |
void | read_inputs (const amrex::AmrCore &, std::istream &) |
const amrex::Vector< amrex::BoxArray > & | boxarray_vec () const |
Vector of boxarrays that define refinement zones at each level. | |
Static Public Member Functions | |
static std::string | identifier () |
Protected Attributes | |
const amrex::AmrCore & | m_mesh |
amrex::Vector< amrex::Vector< amrex::RealBox > > | m_real_boxes |
Domain bounding boxes where refinement is performed at each level. | |
amrex::Vector< amrex::BoxArray > | m_boxarrays |
Boxarrays for each level in AMR hierarchy. | |
int | m_nlevels {-1} |
Number of levels of fixed nested refinement. | |
Detailed Description
Static refinement with Cartesian-aligned bounding boxes
Implements tagging functionality for nested refinement of meshes using bounding box specifications. This class only allows nested refinement of regions that are aligned with the coordinate directons.
Constructor & Destructor Documentation
◆ CartBoxRefinement()
|
explicit |
◆ ~CartBoxRefinement()
|
overridedefault |
Member Function Documentation
◆ boxarray_vec()
|
inline |
Vector of boxarrays that define refinement zones at each level.
◆ identifier()
|
inlinestatic |
◆ initialize()
|
override |
Read input file and initialize boxarray used to refine each level.
◆ operator()()
|
override |
◆ read_inputs()
void amr_wind::CartBoxRefinement::read_inputs | ( | const amrex::AmrCore & | mesh, |
std::istream & | ifh ) |
Helper function to process inputs
Created separate from initialize to allow unit testing
Member Data Documentation
◆ m_boxarrays
|
protected |
Boxarrays for each level in AMR hierarchy.
◆ m_mesh
|
protected |
◆ m_nlevels
|
protected |
Number of levels of fixed nested refinement.
◆ m_real_boxes
|
protected |
Domain bounding boxes where refinement is performed at each level.
The documentation for this class was generated from the following files:
- /home/runner/work/amr-wind/amr-wind/amr-wind/utilities/tagging/CartBoxRefinement.H
- /home/runner/work/amr-wind/amr-wind/amr-wind/utilities/tagging/CartBoxRefinement.cpp
Generated by 1.12.0