AllenCahnBenchmarkOptions
Options & Configuration · AiDotNet.PhysicsInformed.Benchmarks
The Allen-Cahn benchmark, u_t = ε² u_xx + u - u³, a reaction-diffusion equation whose solution separates into phases at ±1 joined by thin interfaces.
Inheritance: PdeBenchmarkOptions → AllenCahnBenchmarkOptions
For Beginners
Models two materials separating, like oil and water: the value drifts towards -1 or 1, and ε sets how wide the boundary between the two regions is.
Constructors
| Constructor | Summary |
|---|---|
AllenCahnBenchmarkOptions() |
Properties
| Property | Summary |
|---|---|
Func<double, double> InitialCondition { get; set; } |
Gets or sets u(x, 0). |
double Epsilon { get; set; } |
Gets or sets the interface width ε (the diffusion coefficient is ε²). |
Methods
| Method | Summary |
|---|---|
void Validate() |
Validates the shared grid and the Allen-Cahn coefficient. |