- Jan 09, 2014
-
-
Oliver Sander authored
[[Imported from SVN: r9601]]
-
- Dec 13, 2013
-
-
Oliver Sander authored
[[Imported from SVN: r9588]]
-
Oliver Sander authored
[[Imported from SVN: r9587]]
-
- Dec 12, 2013
-
-
Oliver Sander authored
[[Imported from SVN: r9586]]
-
Oliver Sander authored
Assuming that the AverageDistanceAssembler can provide it. This is for the Gram-Schmidt solver only. The old Gauss-Seidel code will still use a full matrix. [[Imported from SVN: r9585]]
-
Oliver Sander authored
[[Imported from SVN: r9584]]
-
Oliver Sander authored
viz.: field_type blocklevel operator=(scalar) [[Imported from SVN: r9583]]
-
Oliver Sander authored
[[Imported from SVN: r9582]]
-
Oliver Sander authored
CG seems to converge to quickly. If too few iterations are performed, then ADOL-C has trouble determining the correct second derivatives. Since the Gram-Schmidt solver is a direct solver, OTOH, the derivatives should be perfect. It is also faster than the Gauss-Seidel solver I was previously using. [[Imported from SVN: r9581]]
-
Oliver Sander authored
Nice, because it works for rank-deficient matrices. And still fast enough for the systems I am considering here. [[Imported from SVN: r9580]]
-
Oliver Sander authored
[[Imported from SVN: r9579]]
-
- Dec 10, 2013
-
-
Oliver Sander authored
I hoped that this would be faster. However, it seems to deterioate the convergence of the outer trust region algorithm. Apparently, the steps taken by a CG make it difficult for ADOL-C to compute the correct derivatives. [[Imported from SVN: r9576]]
-
- Dec 09, 2013
-
-
Oliver Sander authored
We have the correct value in the variable 'oldEnergy' anyway. [[Imported from SVN: r9575]]
-
Oliver Sander authored
We normalize unit vectors again in the constructor and the assignment operator. This makes sure we never drift away from the unit sphere, and it also allows us to init unit spheres with any value in R^n and be sure we obtain a unit vector. This makes the test pass again. Leaving the projection out didn't really make a measurable difference anyway. [[Imported from SVN: r9574]]
-
Oliver Sander authored
[[Imported from SVN: r9573]]
-
Oliver Sander authored
[[Imported from SVN: r9572]]
-
- Dec 08, 2013
-
-
Oliver Sander authored
[[Imported from SVN: r9571]]
-
- Dec 06, 2013
-
-
Oliver Sander authored
[[Imported from SVN: r9563]]
-
Oliver Sander authored
The old implementation used quaternion multiplication to transport the argument to the Lie algebra, and use the standard formula there. However, one may as well use the formula for the unit sphere in R^4, which is much simpler, and also faster. I fact, this patch gives a few percent of speedup for the overall code. [[Imported from SVN: r9562]]
-
- Dec 05, 2013
-
-
Oliver Sander authored
There is one copy which takes FieldVector<T,4> as its second argument. Since EmbeddedTangentVector ( = Quaternion<T>) derives from FieldVector<T,4>, that second implementation should work in all cases. [[Imported from SVN: r9560]]
-
Oliver Sander authored
The methods Rotation<T,3> exp(const Rotation<T,3>& p, const EmbeddedTangentVector& v) and otation<T,3> exp(const Rotation<T,3>& p, const Dune::FieldVector<T,4>& v) do literally the same. So they should be next to each other in the code. [[Imported from SVN: r9559]]
-
Oliver Sander authored
This effectively means that we use another prolongation of the distance function on M into the surrounding space. Since the prolongation does not matter this patch should not change the algorithm behavior. However, it shaves off a few norm calculations and division. I cannot really measure any difference though. A possible effect of this is that while all values should remain on the manifold, they may start to 'drift away' due to numerical artifacts. So we may have to add an occasional renormalization step eventually. [[Imported from SVN: r9558]]
-
- Dec 03, 2013
-
-
Oliver Sander authored
Patrizio told me on the phone today that this is the way it should be. [[Imported from SVN: r9557]]
-
Oliver Sander authored
Because the gradient is needed anyway when computing the Hesse matrix. Not computing it separately a second time shaves off about 8% wall time of each iteration. [[Imported from SVN: r9555]]
-
Oliver Sander authored
[[Imported from SVN: r9554]]
-
- Nov 28, 2013
-
-
Oliver Sander authored
[[Imported from SVN: r9553]]
-
Oliver Sander authored
[[Imported from SVN: r9552]]
-
Oliver Sander authored
[[Imported from SVN: r9551]]
-
Oliver Sander authored
[[Imported from SVN: r9550]]
-
Oliver Sander authored
[[Imported from SVN: r9549]]
-
Oliver Sander authored
[[Imported from SVN: r9548]]
-
Oliver Sander authored
[[Imported from SVN: r9547]]
-
Oliver Sander authored
[[Imported from SVN: r9546]]
-
Oliver Sander authored
[[Imported from SVN: r9545]]
-
- Nov 15, 2013
-
-
Oliver Sander authored
[[Imported from SVN: r9539]]
-
- Nov 13, 2013
-
-
Oliver Sander authored
[[Imported from SVN: r9535]]
-
Oliver Sander authored
[[Imported from SVN: r9534]]
-
Oliver Sander authored
[[Imported from SVN: r9533]]
-
Oliver Sander authored
[[Imported from SVN: r9532]]
-
- Oct 31, 2013
-
-
Oliver Sander authored
[[Imported from SVN: r9526]]
-