+ ## Creates a segment discretization 1D algorithm.
+ # If the optional \a algo parameter is not sets, this algorithm is REGULAR.
+ # If the optional \a geom parameter is not sets, this algorithm is global.
+ # Otherwise, this algorithm define a submesh based on \a geom subshape.
+ # @param algo values are smesh.REGULAR or smesh.PYTHON for discretization via python function
+ # @param geom If defined, subshape to be meshed