/home/runner/work/amr-wind/amr-wind/amr-wind/wind_energy/ABLFieldInitFile.H Source File

AMR-Wind API: /home/runner/work/amr-wind/amr-wind/amr-wind/wind_energy/ABLFieldInitFile.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
ABLFieldInitFile.H
Go to the documentation of this file.
1#ifndef ABLFIELDINITFILE_H
2#define ABLFIELDINITFILE_H
3
5
6#include "AMReX_Array.H"
7#include "AMReX_Array4.H"
8#include "AMReX_Box.H"
9#include "AMReX_Geometry.H"
10#include "AMReX_REAL.H"
11#include "AMReX_Vector.H"
12#include "AMReX_Gpu.H"
13
14namespace amr_wind {
15
19{
20 static_assert(AMREX_SPACEDIM == 3, "ABL requires 3 dimensional mesh");
21
22public:
24
25 bool operator()(
26 const amrex::Box& vbx,
27 const amrex::Geometry& geom,
28 const amrex::Array4<amrex::Real>& velocity,
29 const int lev) const;
30
31private:
33 std::string m_ic_input;
34};
35
36} // namespace amr_wind
37
38#endif /* ABLFIELDINIT_H */
Definition ABLFieldInitFile.H:19
bool operator()(const amrex::Box &vbx, const amrex::Geometry &geom, const amrex::Array4< amrex::Real > &velocity, const int lev) const
Definition ABLFieldInitFile.cpp:24
std::string m_ic_input
Input file with initial condition (from Machine Learning)
Definition ABLFieldInitFile.H:33
ABLFieldInitFile()
Definition ABLFieldInitFile.cpp:11
Definition BCInterface.cpp:7