/home/runner/work/amr-wind/amr-wind/amr-wind/utilities/tagging/OversetRefinement.H Source File

AMR-Wind API: /home/runner/work/amr-wind/amr-wind/amr-wind/utilities/tagging/OversetRefinement.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
OversetRefinement.H
Go to the documentation of this file.
1#ifndef OVERSETREFINEMENT_H
2#define OVERSETREFINEMENT_H
3
5
6namespace amr_wind {
7
8class OversetRefinement : public RefinementCriteria::Register<OversetRefinement>
9{
10public:
11 static std::string identifier() { return "OversetRefinement"; }
12
13 explicit OversetRefinement(const CFDSim& sim);
14
15 ~OversetRefinement() override = default;
16
18 void initialize(const std::string& key) override;
19
20 void
21 operator()(int level, amrex::TagBoxArray& tags, amrex::Real time, int ngrow)
22 override;
23
24private:
25 const CFDSim& m_sim;
26
28 bool m_tag_fringe{false};
29 bool m_tag_hole{false};
30};
31
32} // namespace amr_wind
33
34#endif /* OVERSETREFINEMENT_H */
Definition CFDSim.H:47
Definition OversetRefinement.H:9
~OversetRefinement() override=default
int m_max_lev
Definition OversetRefinement.H:27
const CFDSim & m_sim
Definition OversetRefinement.H:25
void operator()(int level, amrex::TagBoxArray &tags, amrex::Real time, int ngrow) override
Definition OversetRefinement.cpp:21
bool m_tag_hole
Definition OversetRefinement.H:29
void initialize(const std::string &key) override
Read input file and initialize boxarray used to refine each level.
Definition OversetRefinement.cpp:13
OversetRefinement(const CFDSim &sim)
Definition OversetRefinement.cpp:9
bool m_tag_fringe
Definition OversetRefinement.H:28
static std::string identifier()
Definition OversetRefinement.H:11
Definition BCInterface.cpp:7