parse2d

Function parse2d 

Source
pub fn parse2d(data: &str) -> Result<Rule2d, ParseError>
Expand description

Attempts to parse a text file in the expanded format as a 2D quadrature rule.

The text file should contain lines with the format

   <x>     <y>     <weight>

where x, y and weights are floating-point numbers.