Two-dimensional
wave fields.
Propagate bounded wave fields with affine or directly evaluated nonlinear spatial operators, explicit edge conditions, and CFL evidence.
What it supports
NumericalWavePde2DAnalyzer accepts u_tt = F(x,y,t,u,u_xx,u_yy,u_xy). Affine operators require non-negative wave coefficients and a positive-semidefinite principal part; nonlinear combinations are sampled directly when finite.
$analysis = (new NumericalWavePde2DAnalyzer())->analyze('u_tt = u_xx^2 + u_yy', 'sin(3.141592653589793*x)*sin(3.141592653589793*y)', '0', '0', '0', '0', '0', firstPoints: 25, secondPoints: 25, timeSteps: 100, targetTime: 0.1);How the numerical contract works
Initialize
Sample displacement and velocity over the rectangular grid and apply positional Dirichlet defaults or configured edge conditions.
Propagate
Use a centered leapfrog update with diagonal mixed-derivative coupling. Nonlinear operators receive local sensitivity estimates for the CFL guard.
Report
Return time-stamped grids, normalized boundary metadata, operator mode, effective time step, and explicit solved/partial status.