From ff1b8b2bc9b41a251480a445bb12d9e8304dba07 Mon Sep 17 00:00:00 2001 From: Andrei Punko Date: Sun, 20 Oct 2024 13:23:35 +0300 Subject: [PATCH] Adjust README & javadocs --- README.MD | 10 ++++++---- .../andd3dfx/math/pde/equation/HyperbolicEquation.java | 4 ++-- .../andd3dfx/math/pde/equation/ParabolicEquation.java | 4 ++-- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/README.MD b/README.MD index 049d7b1..d5ef480 100644 --- a/README.MD +++ b/README.MD @@ -12,11 +12,13 @@ Gradle isn't required because of embedded Gradle presence in the project ## Supported PD equation types -- Parabolic equation (described heat/mass transfer) - Check [ParabolicEquation](src/main/java/by/andd3dfx/math/pde/equation/ParabolicEquation.java) class for details +- Parabolic equation (described heat/mass transfer): + M(x,t,U)*dU_dt = dU(K(x,t,U)*dU_dx)_dx + V(x,t,U)*dU_dx + F(x,t,U) where U = U(x,t) + Check [ParabolicEquation](src/main/java/by/andd3dfx/math/pde/equation/ParabolicEquation.java) for details -- Hyperbolic equation (described oscillation processes) - Check [HyperbolicEquation](src/main/java/by/andd3dfx/math/pde/equation/HyperbolicEquation.java) class for details +- Hyperbolic equation (described oscillation processes): + M(x,t,U)*d2U_dt2 + L(x,t,U)*dU_dt = dU(K(x,t,U)*dU_dx)_dx + V(x,t,U)*dU_dx + F(x,t,U) where U = U(x,t) + Check [HyperbolicEquation](src/main/java/by/andd3dfx/math/pde/equation/HyperbolicEquation.java) for details ## Solver The finite-difference method was used, in result we get tridiagonal system of linear equations diff --git a/src/main/java/by/andd3dfx/math/pde/equation/HyperbolicEquation.java b/src/main/java/by/andd3dfx/math/pde/equation/HyperbolicEquation.java index fe596a4..ae776f9 100644 --- a/src/main/java/by/andd3dfx/math/pde/equation/HyperbolicEquation.java +++ b/src/main/java/by/andd3dfx/math/pde/equation/HyperbolicEquation.java @@ -6,8 +6,8 @@ import by.andd3dfx.math.pde.border.BorderConditionType3; /** - * Hyperbolic equation: - * M(x,t,U)*d2U_dt2 + L(x,t,U)*dU_dt = K(x,t,U)*d2U_dt2 + V(x,t,U)*dU_dt + F(x,t,U) where U = U(x,t) + * Hyperbolic equation (described oscillation processes): + * M(x,t,U)*d2U_dt2 + L(x,t,U)*dU_dt = dU(K(x,t,U)*dU_dx)_dx + V(x,t,U)*dU_dx + F(x,t,U) where U = U(x,t) */ public class HyperbolicEquation extends Equation { diff --git a/src/main/java/by/andd3dfx/math/pde/equation/ParabolicEquation.java b/src/main/java/by/andd3dfx/math/pde/equation/ParabolicEquation.java index d0e706d..6c362d0 100644 --- a/src/main/java/by/andd3dfx/math/pde/equation/ParabolicEquation.java +++ b/src/main/java/by/andd3dfx/math/pde/equation/ParabolicEquation.java @@ -6,8 +6,8 @@ import by.andd3dfx.math.pde.border.BorderConditionType3; /** - * Parabolic equation: - * M(x,t,U)*dU_dt = dU(K(x,t,U)*dU_dt)_dt + V(x,t,U)*dU_dt + F(x,t,U) where U = U(x,t) + * Parabolic equation (described heat/mass transfer): + * M(x,t,U)*dU_dt = dU(K(x,t,U)*dU_dx)_dx + V(x,t,U)*dU_dx + F(x,t,U) where U = U(x,t) */ public class ParabolicEquation extends Equation {