pub fn parse_force_section<'a, I>(
lines: &mut Peekable<I>,
header: &FrameHeader,
atom_data: &mut [AtomDatum],
) -> Result<bool, ParseError>Expand description
Attempts to parse a force section following coordinate (and optional velocity) blocks.
Force sections mirror velocity sections: a blank separator line followed by per-component
force blocks (symbol line, “Forces of Component N” line, then atom lines with
fx fy fz fixed_flag atom_id).
Returns Ok(true) if forces were found and parsed, Ok(false) otherwise.