import type { MethodDefinition, PlateResult } from "@plate-lab/core"; /** What the method idealizes in general, and what this particular run approximated. */ export function ValidityNotes({ method, result }: { method: MethodDefinition; result?: PlateResult | null }) { return (
{result && result.info.notes.length > 0 && ( <>
This run:
)} {result?.modes?.truncated &&
The modal sum was truncated at max_modes; raise it to check convergence of the stress.
}
); }