updated the assert. Can now leave a custom message or not.
added distinction between directly affected sites and implicitly affected sites. Implicitly affected sites are sites affected because of secondary consequences, such recursive crystallization and surface propagation, where as direct is the sites affected directly by the current event, i.e. its neighbors
polished the assert function and added an boolean macro for ease. Pondering how to detect when the saddle energy is zero.
when site activate/deactivation fails, the debug tracer now dumps to file.
asserter now drops a debug trace
gave the debugger static class access to the main solver ptr
Need to think about affected sites now. debugger updated to also show affected sites. So now Ive got the tools to do it properly.
added an accidentally removed function call to updateAffectedSites
mismatch with know case unitTest. Waiting with merge with optimized branch until all tests pass. Also, looking for a way to temporarily diable the debugger without adding if tests to every macro.
 no wonder the known case file fails. The file to check against is not under version control. Im stupid.
tests pass now with forces full updates, but fail a littlebit with new filtered updates. I am pleased. Now. Sleep.
all tests passed, but not pleased with current state. Waiting with merge. Todo: check why updateneighbours takes 100 years. Is it really the debug tracer.. if so I should consider dumping directly to file instead of saving intermediate vectors. General optimization is not a bad thing anyways... unittests should not take 10 min on a 15 cubed lattice..
Uneccesarry update calls cleaned up and fixed currentreaction resetting incorrectly in the trace.
alot of updates/cleanups to the tracer, trying to pinpoint exact origin of recalculated saddles. All in all getting very robust. One bug with an affected site tho. Trying to resolve it.
tracer bug fixed. Made site specifyers generic such that the trace file can be searched.
IT WORKS OH LORD. Now cleanup, optimize tracer then MERGE
tracer macros cleaned up, added runtime enable/disable trace, and made assertions replace alot of incode compile flagging for bugtests by having it recieve additional info and dump trace
made trace to file only option. removed the what-string in trace dump and made it an assertion message.
fixed minor issues with tracer and did some cleanups and tests. Ready to merge.