point) |
elem) |
) |
Coordinates are separated by commas, points are separated by semicolons and grouped between brackets, elements are separated by commas and grouped between braces. Thus a Formex F = Formex([[[1,0],[0,1]],[[0,1],[1,2]]]) is formatted as '{[1.0,0.0,0.0; 0.0,1.0,0.0], [0.0,1.0,0.0; 1.0,2.0,0.0]}'.
) |
) |
func) |
This is a class method, not an instance method. Use it as follows: Formex.setPrintFunction(Formex.asArray).
fmt="%10.3e %10.3e %10.3e") |