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

Method pad_self

src/vec.cpp:1083–1087  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1081}
1082
1083void grid_volume::pad_self(direction d) {
1084 num[d % 3] += 2; // Pad in both directions by one grid point.
1085 num_changed();
1086 shift_origin(d, -2);
1087}
1088
1089ivec grid_volume::icenter() const {
1090 /* Find the center of the user's cell. This will be used as the

Callers 2

padMethod · 0.80
padMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected