IPDESpecification<T>

Interfaces · AiDotNet.PhysicsInformed.Interfaces

Defines the interface for specifying Partial Differential Equations (PDEs) that can be used with Physics-Informed Neural Networks.

Known implementations: IMultiScalePDE<T>, PDESpecificationBase<T>

How It Works

For Beginners: A Partial Differential Equation (PDE) is an equation that involves rates of change with respect to multiple variables. For example, the heat equation describes how temperature changes over both space and time. This interface allows you to define any PDE in a way that neural networks can learn to solve it.

Properties

Property Summary
int InputDimension { get; } Gets the dimension of the input space (e.g., 2 for 2D spatial problems, 3 for 2D space + time).
int OutputDimension { get; } Gets the dimension of the output space (e.g., 1 for scalar fields like temperature, 3 for vector fields like velocity).
string Name { get; } Gets the name or description of the PDE (e.g., “Heat Equation”, “Navier-Stokes”).

Methods

Method Summary
T ComputeResidual(Vector<T> inputs, Vector<T> outputs, PDEDerivatives<T> derivatives) Computes the PDE residual at the given point.