MatSOR_SeqBAIJ: protect against zero vector length
MatSOR: added test ex43, currently fails
MatSOR, test ex43: removed BlockMat from test
MatSOR_SeqBAIJ: refactor, enable nonzero initial guess.

At the cost of a couple of conditionals per iteration, the various
MatSOR_SeqAIJ_# functions are combined.

Passes make testexamples, including recently added ksp test ex43
TS: Remove last call to TSMonitor() with step=-1

* Call TSMonitor() at the beginning of each step.
* Update a some monitors to inspect ts->reason to detect the call after
  the last (possibly interpolated) step.
* TSSolve() requires users to pass a non NULL solution vector
  when interpolation at the final time is set.
* Add error checking.
MatMatMultSymbolic_SeqAIJ_SeqAIJ: switch to "sort" version as default

This version is showing approximately 25% performance improvement in
GAMG tests and so far is never slower.
Merge branch 'prbrune/snes-npcrhsfix'

* prbrune/snes-npcrhsfix:
  Fix for unfreed vector in src/snes/examples/tutorials/ex15.c
  Made ex15.c have an RHS instead of a constant forcing in the function.
  Fix to RHS bug in nonlinear left preconditioning
Merge branch 'jed/fix-nightly-examples'

* jed/fix-nightly-examples:
  KSP test: define __FUNCT__
  KSP test: remove unused variables
dmshell: fix warning on win32
DMPlex: More geometry work
- Went back to evaluating tet and hex determinants and Jacobians on inward orientated tet. This simplifies everything.
- Do not weight the determinant of the hex by the ref volume
- Tet transform test working
- Added hexahedron test, but transform test not working
Merge branch 'knepley/plex' of bitbucket.org:petsc/petsc into knepley/plex

# By Satish Balay
# Via Satish Balay
* 'knepley/plex' of bitbucket.org:petsc/petsc:
  DMPlex: use PETSC_HAVE_TGAMMA to get the build working on windows
  configure: add test for tgamma() [this is missing on windows]
DMPlex: Hexahedron geometry tests now pass
Mat: move new MatSOR macros to a common header blockmatmult.h

These macros would be useful for condensing the BAIJ triangular solve
code, for example.
Merge remote-tracking branch 'origin/jed/dmsneslocal-fortran' into knepley/plex

* origin/jed/dmsneslocal-fortran:
  SNES: add Fortran bindings to DMSNESSet{Function,Jacobian}
  SNES: remove superfluous casting in DM local Fortran bindings
  SNES: compile zdmlocalsnesf.c
Merge branch 'knepley/plex' into next

* knepley/plex:
  DMPlex: Hexahedron geometry tests now pass
  DMPlex: More geometry work - Went back to evaluating tet and hex determinants and Jacobians on inward orientated tet. This simplifies everything. - Do not weight the determinant of the hex by the ref volume - Tet transform test working - Added hexahedron test, but transform test not working
Mat: add MatSOR/BAIJ test to nightlies

Renamed test from ex43.c to ex44.c to avoid conflict with the test added
in:

  commit 5e413dd6fd6600b756f7aad0b07aba8c3b20e975
  Author: Paul Mullowney <paulm@txcorp.com>
  Date:   Mon Apr 1 11:51:31 2013 -0600

      ksp tests: new tests for ksp algorithms using aijcusparse methods
Merge branch 'toby/fix-sor-baij' into next

* toby/fix-sor-baij:
  Mat: add MatSOR/BAIJ test to nightlies
  Mat: move new MatSOR macros to a common header blockmatmult.h
  MatSOR_SeqBAIJ: refactor, enable nonzero initial guess.
  MatSOR, test ex43: removed BlockMat from test
  MatSOR: added test ex43, currently fails
  MatSOR_SeqBAIJ: protect against zero vector length

Conflicts:
	src/ksp/ksp/examples/tests/makefile
DMPlex: remove unused variable
DMPlex: All quadrilateral geometry tests working
- Had to pass in the coordinate size to the projection routine to make it work
Merge branch 'knepley/plex' of bitbucket.org:petsc/petsc into knepley/plex

# By Jed Brown
# Via Jed Brown
* 'knepley/plex' of bitbucket.org:petsc/petsc:
  DMPlex: remove unused variable