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