RefinementCriteria Class Reference
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
amr_wind::RefinementCriteria Class Referenceabstract
#include <RefinementCriteria.H>
Inheritance diagram for amr_wind::RefinementCriteria:
Collaboration diagram for amr_wind::RefinementCriteria:
Public Member Functions | |
RefinementCriteria ()=default | |
~RefinementCriteria () override=default | |
virtual void | initialize (const std::string &key)=0 |
virtual void | operator() (int level, amrex::TagBoxArray &tags, amrex::Real time, int ngrow)=0 |
Public Member Functions inherited from amr_wind::Factory< RefinementCriteria, CFDSim & > | |
virtual | ~Factory ()=default |
Static Public Member Functions | |
static std::string | base_identifier () |
Static Public Member Functions inherited from amr_wind::Factory< RefinementCriteria, CFDSim & > | |
static std::unique_ptr< RefinementCriteria > | create (const std::string &key, Args... args) |
static void | print (std::ostream &os) |
Additional Inherited Members | |
Public Attributes inherited from amr_wind::Factory< RefinementCriteria, CFDSim & > | |
friend | Base |
Detailed Description
Abstract interface for tagging cells for refinement
This class provides an API that can be used by concrete implementations to tag cells that must be refined based on a pre-defined criteria. The criteria can be a heuristic determined from the solution (e.g., vorticity magntiude or gradients), or some user defined criteria (e.g., static, nested refinements).
Constructor & Destructor Documentation
◆ RefinementCriteria()
|
default |
◆ ~RefinementCriteria()
|
overridedefault |
Member Function Documentation
◆ base_identifier()
|
inlinestatic |
◆ initialize()
|
pure virtual |
Perform initialization tasks (e.g., read from file etc.). Called before mesh is initialized
◆ operator()()
|
pure virtual |
Perform tagging operation based on refinement criteria
Interface is the same as amrex::AmrCore::ErrorEst
The documentation for this class was generated from the following file:
- /home/runner/work/amr-wind/amr-wind/amr-wind/utilities/tagging/RefinementCriteria.H
Generated by 1.12.0