Interface IInitialCondition<T>
- Namespace
- AiDotNet.PhysicsInformed.Interfaces
- Assembly
- AiDotNet.dll
Defines initial conditions for time-dependent PDEs.
public interface IInitialCondition<T>
Type Parameters
TThe numeric type.
Remarks
For Beginners: Initial conditions specify the state of the system at the starting time (t=0). For example, in a heat equation, you might specify the initial temperature distribution.
Properties
Name
Gets the name of the initial condition.
string Name { get; }
Property Value
Methods
ComputeInitialValue(T[])
Computes the initial condition value at the given spatial location.
T[] ComputeInitialValue(T[] spatialInputs)
Parameters
spatialInputsT[]The spatial coordinates (excluding time).
Returns
- T[]
The initial value at that location.
IsAtInitialTime(T[])
Determines if a point is at the initial time.
bool IsAtInitialTime(T[] inputs)
Parameters
inputsT[]The coordinates to check (typically the last dimension is time).
Returns
- bool
True if the point is at t=0.