MCPcopy Create free account
hub / github.com/NanoComp/meep / FOR_DIRECTIONS

Function FOR_DIRECTIONS

src/fields.cpp:81–85  ·  view source on GitHub ↗

unit directions are periodic by default:

Source from the content-addressed store, hash-verified

79
80 // unit directions are periodic by default:
81 FOR_DIRECTIONS(d) {
82 if (gv.has_boundary(High, d) && gv.has_boundary(Low, d) && d != R &&
83 s->user_volume.num_direction(d) == 1)
84 use_bloch(d, 0.0);
85 }
86}
87
88fields::fields(const fields &thef)

Callers 1

fieldsMethod · 0.70

Calls 2

has_boundaryMethod · 0.80
num_directionMethod · 0.80

Tested by

no test coverage detected