class_curve+curve integral, tested and implemented in diagnostic for circulation
uncommented a stupid write statement
allocate diag after input arguments
abort at endtime should work now
fixed problem with uinitialized variables, and removed norm2 for compability compilers not supporting fortran 2008
Merge branch 'curve'

Conflicts:
	clients/vr3d/B2.inp