Skip to content

Gauss constraint calculation

David Mueller requested to merge dmueller/openpixi_c:gauss into master

I implemented a method to compute the Gauss constraint at a given lattice position as a class method of Simulation.

In the associated unit tests the method is checked against a simple analytical result. By applying a random gauge transformation this test basically guarantees that the method also works correctly in more complicated cases.

Merge request reports