REMORA
Regional Modeling of Oceans Refined Adaptively
Loading...
Searching...
No Matches
REMORA_InitAnalyticVMix_DoubleGyre.H
Go to the documentation of this file.
1 for ( MFIter mfi((mf_Akv), TilingIfNotGPU()); mfi.isValid(); ++mfi )
2 {
3 Array4<Real> const& Akv = (mf_Akv).array(mfi);
4 Array4<Real> const& Akt = (mf_Akt).array(mfi);
5 Box bx = mfi.tilebox();
6 bx.grow(IntVect(NGROW,NGROW,0));
7 Gpu::streamSynchronize();
8 ParallelFor(bx, [=] AMREX_GPU_DEVICE (int i, int j, int k)
9 {
10 Akv(i,j,k) = one;
11
12 Akt(i,j,k,Temp_comp) = one;
13 Akt(i,j,k,Salt_comp) = one;
14 });
15 }
constexpr amrex::Real one
#define NGROW
#define Temp_comp
#define Salt_comp
mf_h setVal(geomdata.ProbHi(2))