chombo-discharge
Loading...
Searching...
No Matches
CD_BrownianWalkerTagger.H
Go to the documentation of this file.
1/* chombo-discharge
2 * Copyright © 2021 SINTEF Energy Research.
3 * Please refer to Copyright.txt and LICENSE in the chombo-discharge root directory.
4 */
5
12#ifndef CD_BrownianWalkerTagger_H
13#define CD_BrownianWalkerTagger_H
14
15// Our includes
16#include <CD_CellTagger.H>
17#include <CD_ItoSolver.H>
18#include <CD_AmrMesh.H>
19#include <CD_NamespaceHeader.H>
20
21namespace Physics {
22 namespace BrownianWalker {
23
30 {
31 public:
36
42 BrownianWalkerTagger(RefCountedPtr<ItoSolver>& a_solver, RefCountedPtr<AmrMesh>& a_amr);
43
48
52 void
53 regrid() override;
54
58 void
59 parseOptions() override;
60
65 bool
66 tagCells(EBAMRTags& a_tags) override;
67
68 protected:
72 RefCountedPtr<ItoSolver> m_solver;
73
77 RefCountedPtr<AmrMesh> m_amr;
78
83 };
84 } // namespace BrownianWalker
85} // namespace Physics
86
87#include <CD_NamespaceFooter.H>
88
89#endif
Declaration of core class for handling AMR-related operations (with embedded boundaries)
Declaration of a base class for tagging cells across an AMR hierarchy.
Vector< RefCountedPtr< LayoutData< DenseIntVectSet > > > EBAMRTags
Declaration of cell tags.
Definition CD_EBAMRTags.H:22
Declaration of solver class for Ito diffusion.
Base class for tagging cells across an AMR hierarchy.
Definition CD_CellTagger.H:31
Implementation of CellTagger for tagging cells for Brownian walker physics.
Definition CD_BrownianWalkerTagger.H:30
~BrownianWalkerTagger()
Destructor (does nothing)
Definition CD_BrownianWalkerTagger.cpp:33
Real m_refMagn
Magnitude refinement threshold (not currently used)
Definition CD_BrownianWalkerTagger.H:82
bool tagCells(EBAMRTags &a_tags) override
Tag cells (does nothing, returns false)
Definition CD_BrownianWalkerTagger.cpp:56
RefCountedPtr< AmrMesh > m_amr
Reference to AmrMesh.
Definition CD_BrownianWalkerTagger.H:77
BrownianWalkerTagger()=delete
Disallowed weak construction – use the full constructor.
void regrid() override
Regrid method (does nothing)
Definition CD_BrownianWalkerTagger.cpp:39
void parseOptions() override
Parse options.
Definition CD_BrownianWalkerTagger.cpp:45
RefCountedPtr< ItoSolver > m_solver
Reference to solver.
Definition CD_BrownianWalkerTagger.H:72
Name containing various physics models for running chombo-discharge code.
Definition CD_AdvectionDiffusion.H:15