Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NanoComp/meep
/ in_range
Function
in_range
src/array_slice.cpp:187–187 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
185
} source_slice_data;
186
187
bool in_range(int imin, int i, int imax) { return (imin <= i && i <= imax); }
188
189
bool in_subgrid(ivec ivmin, ivec iv, ivec ivmax) {
190
LOOP_OVER_DIRECTIONS(iv.dim, d)
Callers
1
in_subgrid
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected