Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NanoComp/meep
/ computational_volume
Method
computational_volume
src/vec.cpp:175–179 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
173
}
174
175
double volume::computational_volume() const {
176
double vol = 1.0;
177
LOOP_OVER_DIRECTIONS(dim, d) { vol *= in_direction(d); }
178
return vol;
179
}
180
181
double volume::integral_volume() const {
182
double vol = 1.0;
Callers
1
update
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected