<feed xmlns='http://www.w3.org/2005/Atom'>
<title>latticematch/main.cpp, branch master</title>
<subtitle>Small script to calculate Lattice Matches</subtitle>
<id>https://git.grois.info/latticematch/atom/main.cpp?h=master</id>
<link rel='self' href='https://git.grois.info/latticematch/atom/main.cpp?h=master'/>
<link rel='alternate' type='text/html' href='https://git.grois.info/latticematch/'/>
<updated>2016-03-22T15:23:56Z</updated>
<entry>
<title>Add special condition for hexagonal lattices.</title>
<updated>2016-03-22T15:23:56Z</updated>
<author>
<name>Andreas Grois</name>
<email>andreas.grois@jku.at</email>
</author>
<published>2016-03-22T15:23:56Z</published>
<link rel='alternate' type='text/html' href='https://git.grois.info/latticematch/commit/?id=151360da80b32b782e86a96b9c2200458fe58953'/>
<id>urn:sha1:151360da80b32b782e86a96b9c2200458fe58953</id>
<content type='text'>
According to page 20 of T. Fritz, Molecular Architecture in Heteroepitaxially Grown Organic Thin Films one needs to treat hexagonal lattices specially, as for each sets of lattice vectors a1,a2 there exists a fully equivalent set given by a1'=a1, and a2'=a1-a2.
The latest change of the code checks if α is exactly a multiple of 60 degrees (except for the clearly nonsensical 180 and 0 degrees) and if that's the case, runs the main loop twice, with alpha set to 60° and 120°. By this, the mirror symmetry of the hexagonal lattice is preserved.
</content>
</entry>
<entry>
<title>Add angle sets (disjoint ranges) - initial support</title>
<updated>2015-11-10T12:39:56Z</updated>
<author>
<name>Andreas Grois</name>
<email>andreas.grois@jku.at</email>
</author>
<published>2015-11-10T12:39:56Z</published>
<link rel='alternate' type='text/html' href='https://git.grois.info/latticematch/commit/?id=fc46d20e8411fe4b67269733f69d8a9dded4a42f'/>
<id>urn:sha1:fc46d20e8411fe4b67269733f69d8a9dded4a42f</id>
<content type='text'>
By adding a new angleset class, things get much easier to read. Also, the part of the previous commit that dealt with combining the individual ranges was kind of stupid.
Things missing:
o) functions to remove angle ranges from a set
o) deferred add functions, that allow adding multiple ranges without calling the O(n²) function angleset::combine() in between.
</content>
</entry>
<entry>
<title>Combine and sort results</title>
<updated>2015-11-06T12:45:57Z</updated>
<author>
<name>Andreas Grois</name>
<email>andreas.grois@jku.at</email>
</author>
<published>2015-11-06T12:45:57Z</published>
<link rel='alternate' type='text/html' href='https://git.grois.info/latticematch/commit/?id=4aa67d78e9238a65eb94a762328465e2541fd4c4'/>
<id>urn:sha1:4aa67d78e9238a65eb94a762328465e2541fd4c4</id>
<content type='text'>
This change introduces (experimental and not very clean) combining of results. It might be worth writing a disjoint angle range class to get cleaner code here, as the while loops at the end are quite far from being beautiful.
In addition the output ranges are sorted by their lower border. I'm using Lambda expressions for this, so C+11 is required.
Also, this is currently completely untested.
</content>
</entry>
<entry>
<title>Readability improvements</title>
<updated>2015-11-06T09:39:21Z</updated>
<author>
<name>Andreas Grois</name>
<email>andreas.grois@jku.at</email>
</author>
<published>2015-11-06T09:39:21Z</published>
<link rel='alternate' type='text/html' href='https://git.grois.info/latticematch/commit/?id=05714900ad7c1638237749e88faae3ecdb19649e'/>
<id>urn:sha1:05714900ad7c1638237749e88faae3ecdb19649e</id>
<content type='text'>
As the most important part of the formulas are the signs, factorizing greatly helps readability.
Also, some other polishing.
</content>
</entry>
<entry>
<title>Fix year for all source code files.</title>
<updated>2015-11-04T12:04:58Z</updated>
<author>
<name>Andreas Grois</name>
<email>andreas.grois@jku.at</email>
</author>
<published>2015-11-04T12:04:58Z</published>
<link rel='alternate' type='text/html' href='https://git.grois.info/latticematch/commit/?id=1f2877fc015daa5a5ec51bca090f5639af7bb218'/>
<id>urn:sha1:1f2877fc015daa5a5ec51bca090f5639af7bb218</id>
<content type='text'>
An obvious copy&amp;paste error. Probably not the only one in this program...
</content>
</entry>
<entry>
<title>Github... I'm not yet used to it.</title>
<updated>2015-11-03T16:08:17Z</updated>
<author>
<name>Andreas Grois</name>
<email>andreas.grois@jku.at</email>
</author>
<published>2015-11-03T16:08:17Z</published>
<link rel='alternate' type='text/html' href='https://git.grois.info/latticematch/commit/?id=d1d98f27fd45d044b3a5d8d44ff3c7b9750e5887'/>
<id>urn:sha1:d1d98f27fd45d044b3a5d8d44ff3c7b9750e5887</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Initial Commit. Still full of bugs, and not very pretty.</title>
<updated>2015-11-03T15:41:15Z</updated>
<author>
<name>Andreas Grois</name>
<email>andreas.grois@jku.at</email>
</author>
<published>2015-11-03T15:41:15Z</published>
<link rel='alternate' type='text/html' href='https://git.grois.info/latticematch/commit/?id=cd4d403e39e4abbc87a95105e4ebccf737623338'/>
<id>urn:sha1:cd4d403e39e4abbc87a95105e4ebccf737623338</id>
<content type='text'>
</content>
</entry>
</feed>
