This commit is contained in:
Vasco C. B. Ferreira
2026-05-07 15:23:21 +02:00
parent 6eb1e6faa1
commit 5a8622c7fe
10 changed files with 86 additions and 27 deletions
+7 -7
View File
@@ -13,16 +13,16 @@ namespace Parameters
constexpr double LX = std::abs(X_DOMAIN_RIGHT- X_DOMAIN_LEFT);
constexpr double LX_INV = 1/LX;
constexpr double V_DOMAIN_LEFT = -10.0;
constexpr double V_DOMAIN_RIGHT = 10.0;
constexpr double V_DOMAIN_LEFT = -10.;
constexpr double V_DOMAIN_RIGHT = 10.;
constexpr unsigned int NV = 512;
constexpr double DV = std::abs(V_DOMAIN_RIGHT - V_DOMAIN_LEFT)/NV;
// deal.ii options
constexpr unsigned int GLOBAL_REFINEMENT = 7;
constexpr unsigned int GLOBAL_REFINEMENT = 8;
constexpr unsigned int FE_DEGREE = 4;
constexpr unsigned int CONVERGENCE_ITERATIONS = 20000;
constexpr unsigned int CONVERGENCE_ITERATIONS = 10000;
constexpr double CONVERGENCE_LIMIT = 1e-12;
constexpr double EPS = 0.01;
@@ -30,8 +30,8 @@ namespace Parameters
constexpr double F0_FACTOR = 0.39894228040143267793994; // 1/sqrt(2pi)
// NUFI options
constexpr double DT=1./10.;
constexpr unsigned int TMAX = 50;
constexpr double DT=1./16.;
constexpr unsigned int TMAX = 500;
//spline options
constexpr int SPLINE_NX = 256;
@@ -40,7 +40,7 @@ namespace Parameters
constexpr size_t SPLINE_ORDER = 4;
//Plotting options
constexpr int PLOT_FREQUENCY = 5;
constexpr int PLOT_FREQUENCY = 10;
}
#endif