/home/runner/work/amr-wind/amr-wind/amr-wind/equation_systems/sdr/SDRSource.H Source File

AMR-Wind API: /home/runner/work/amr-wind/amr-wind/amr-wind/equation_systems/sdr/SDRSource.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
SDRSource.H
Go to the documentation of this file.
1#ifndef SDRSOURCE_H
2#define SDRSOURCE_H
3
8#include "AMReX_MultiFab.H"
9
10namespace amr_wind {
11
12class CFDSim;
13
14namespace pde {
15
21class SDRSource : public Factory<SDRSource, const CFDSim&>
22{
23public:
24 static std::string base_identifier() { return "SDRSource"; }
25
26 ~SDRSource() override = default;
27
28 virtual void operator()(
29 const int lev,
30 const amrex::MFIter& mfi,
31 const amrex::Box& bx,
32 const FieldState fstate,
33 const amrex::Array4<amrex::Real>& src_term) const = 0;
34};
35
36} // namespace pde
37} // namespace amr_wind
38
39#endif /* SDRSOURCE_H */
Definition SDRSource.H:22
static std::string base_identifier()
Definition SDRSource.H:24
virtual void operator()(const int lev, const amrex::MFIter &mfi, const amrex::Box &bx, const FieldState fstate, const amrex::Array4< amrex::Real > &src_term) const =0
~SDRSource() override=default
FieldState
Definition FieldDescTypes.H:14
Definition BCInterface.cpp:7
Definition Factory.H:65