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

Method symmetry

src/vec.cpp:1157–1165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1155symmetry identity() { return symmetry(); }
1156
1157symmetry::symmetry() {
1158 g = 1;
1159 ph = 1.0;
1160 FOR_DIRECTIONS(d) {
1161 S[d].d = d;
1162 S[d].flipped = false;
1163 }
1164 next = NULL;
1165}
1166
1167symmetry::symmetry(const symmetry &s) {
1168 g = s.g;

Callers 2

_create_symmetriesMethod · 0.80
set_materialsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected