IMultiScalePDEGradient<T>

Interfaces · AiDotNet.PhysicsInformed.Interfaces

Provides gradient information for multi-scale PDE residuals.

Implements: IMultiScalePDE<T>

Methods

Method Summary
PDEResidualGradient<T> ComputeScaleResidualGradient(int scaleIndex, T[] inputs, T[] outputs, PDEDerivatives<T> derivatives) Computes gradients of the scale residual with respect to outputs and derivatives.
ValueTuple<PDEResidualGradient<T>, PDEResidualGradient<T>> ComputeScaleCouplingGradient(int coarseIndex, int fineIndex, T[] inputs, T[] coarseOutputs, T[] fineOutputs, PDEDerivatives<T> coarseDerivatives, PDEDerivatives<T> fineDerivatives) Computes gradients of the coupling term.