Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AMReX-Astro/Castro
/ ispow2
Function
ispow2
Source/radiation/HypreMultiABec.cpp:21–24 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
19
using namespace amrex;
20
21
static int ispow2(int i)
22
{
23
return (i == 1) ? 1 : (((i <= 0) || (i & 1)) ? 0 : ispow2(i / 2));
24
}
25
26
Real HypreMultiABec::flux_factor = 1.0;
27
Callers
1
addLevel
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected