From: Roy Stogner <roystgnr@ic...> - 2008-01-24 22:43:44
I can run "svn status", but "svn commit" gives me:
svn: Commit failed (details follow):
svn: OPTIONS request failed on '/svnroot/libmesh/trunk/libmesh/include/numerics'
svn: OPTIONS of '/svnroot/libmesh/trunk/libmesh/include/numerics': could not connect to server (https://libmesh.svn.sourceforge.net)
svn: Your commit message was left in a temporary file:
The SVN head should be in a working state right now, but be wary; I
was putting in some interesting new stuff today.
In theory, the CompareTypes template specializations (and macro
madness) in include/utils/compare_types.h, combined with boost's
enable_if construct for vector/scalar disambiguation, should now allow
code like this to work as intended:
TypeVector<std::complex<float> > CFVector;
long double LDScalar;
TypeVector<std::complex<long double> > CLDVector = CFVector * LDScalar;
This has let me get a dozen "#ifdef USE_COMPLEX_NUMBERS" blocks out of
the code (or at least out of my private workspace until "svn commit"
works again), because the RealGradient and RealTensor objects we now
get out of our FE classes can now just be directly multiplied by
complex Numbers to produce complex Gradient and Tensor results.
Hopefully this will help postpone the day when we again discover the
SVN head has broken with --enable-complex because none of the most
active developers use complex numbers enough.