from __future__ import print_function
import textwrap
import sys, re
-wrapper = textwrap.TextWrapper()
+
+# As of python 2.6 we can tell the text wrapper to not break on hyphens. This is
+# usually what we want to do: we don't want to split URLs with hyphens and
+# doxygen will format 'non-primitive' as 'non- primitive' if it is
+# (inadvertantly) split across two lines.
+wrapper = textwrap.TextWrapper(break_on_hyphens=False)
# take an array of lines and wrap them to 78 columns and let each line start
# with @p startwith
/**
* This class implements Bernstein basis polynomials of desire degree as
- * described in http://www.idav.ucdavis.edu/education/CAGDNotes/Bernstein-
- * Polynomials.pdf in the paragraph "Converting from the Bernstein Basis to
- * the Power Basis".
+ * described in
+ * http://www.idav.ucdavis.edu/education/CAGDNotes/Bernstein-Polynomials.pdf in
+ * the paragraph "Converting from the Bernstein Basis to the Power Basis".
*
* They are used to create the Bernstein finite element FE_Bernstein.
*
* generator, see http://www.salome-platform.org/ . The sections of the format
* that the GridIn::read_unv function supports are documented here:
* <ul>
- * <li> section 2411: http://www.sdrl.uc.edu/universal-file-formats-for-modal-
- * analysis-testing-1/file-format-storehouse/unv_2411.htm
- * <li> section 2412: http://www.sdrl.uc.edu/universal-file-formats-for-modal-
- * analysis-testing-1/file-format-storehouse/unv_2412.htm
- * <li> section 2467: http://www.sdrl.uc.edu/universal-file-formats-for-modal-
- * analysis-testing-1/file-format-storehouse/unv_2467.htm
+ * <li> section 2411:
+ * http://www.sdrl.uc.edu/universal-file-formats-for-modal-analysis-testing-1/file-format-storehouse/unv_2411.htm
+ * <li> section 2412:
+ * http://www.sdrl.uc.edu/universal-file-formats-for-modal-analysis-testing-1/file-format-storehouse/unv_2412.htm
+ * <li> section 2467:
+ * http://www.sdrl.uc.edu/universal-file-formats-for-modal-analysis-testing-1/file-format-storehouse/unv_2467.htm
* <li> all sections of this format, even if they may not be supported in our
- * reader, can be found here: http://www.sdrl.uc.edu/universal-file-formats-
- * for-modal-analysis-testing-1/file-format-storehouse/file-formats
+ * reader, can be found here:
+ * http://www.sdrl.uc.edu/universal-file-formats-for-modal-analysis-testing-1/file-format-storehouse/file-formats
* </ul>
* Note that Salome, let's say in 2D, can only make a quad mesh on an object
* that has exactly 4 edges (or 4 pieces of the boundary). That means, that if
* Print the PETSc matrix object values using PETSc internal matrix viewer
* function <tt>MatView</tt>. The default format prints the non- zero
* matrix elements. For other valid view formats, consult
- * http://www.mcs.anl.gov/petsc/petsc-
- * current/docs/manualpages/Mat/MatView.html
+ * http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Mat/MatView.html
*/
void write_ascii (const PetscViewerFormat format = PETSC_VIEWER_DEFAULT);
*
* @note The class internally calls KSPSetFromOptions thus you are able to
* use all the PETSc parameters for MATSOLVERMUMPS package. See
- * http://www.mcs.anl.gov/petsc/petsc-
- * current/docs/manualpages/Mat/MATSOLVERMUMPS.html
+ * http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Mat/MATSOLVERMUMPS.html
*
* @ingroup PETScWrappers
* @author Daniel Brauss, Alexander Grayver, 2012
* Prints the PETSc vector object values using PETSc internal vector
* viewer function <tt>VecView</tt>. The default format prints the
* vector's contents, including indices of vector elements. For other
- * valid view formats, consult http://www.mcs.anl.gov/petsc/petsc-
- * current/docs/manualpages/Vec/VecView.html
+ * valid view formats, consult
+ * http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Vec/VecView.html
*/
void write_ascii (const PetscViewerFormat format = PETSC_VIEWER_DEFAULT) ;
* the spectral transformations.
*
* The possible values are given by the enumerator STMatMode in the SLEPc
- * library http://www.grycap.upv.es/slepc/documentation/current/docs/manua
- * lpages/ST/STMatMode.html
+ * library
+ * http://www.grycap.upv.es/slepc/documentation/current/docs/manualpages/ST/STMatMode.html
*/
void set_matrix_mode(const STMatMode mode);