MCPcopy Create free account
hub / github.com/AMReX-Astro/Castro / SPalpha

Method SPalpha

Source/radiation/HypreMultiABec.cpp:1330–1339  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1328}
1329
1330void HypreMultiABec::SPalpha(int level, const MultiFab& a)
1331{
1332 BL_ASSERT( a.ok() );
1333 if (! SPa[level]) {
1334 SPa[level].reset(new MultiFab(grids[level],dmap[level],1,0));
1335 BL_ASSERT( a.boxArray() == SPa[level]->boxArray() );
1336 BL_ASSERT( a.DistributionMap() == SPa[level]->DistributionMap() );
1337 }
1338 MultiFab::Copy(*SPa[level], a, 0, 0, 1, 0);
1339}
1340
1341void HypreMultiABec::hmac (const Box& bx,
1342 Array4<GpuArray<Real, 2 * AMREX_SPACEDIM + 1>> const& mat,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected