splines made but need to be checked, solver seems to make wrong results

This commit is contained in:
Vasco C. B. Ferreira
2026-03-14 00:21:42 +01:00
parent dce1ff364e
commit f2ee1606b7
6 changed files with 395 additions and 102 deletions
+3
View File
@@ -3,6 +3,7 @@
#include <cmath>
#include <cstdlib>
namespace Parameters
{
constexpr unsigned int DIMENSION = 1;
@@ -27,9 +28,11 @@ namespace Parameters
constexpr double DT=1./16.;
constexpr unsigned int TMAX = 10;
//spline options
constexpr int SPLINE_NX = 512;
constexpr double SPLINE_DX = LX/SPLINE_NX;
constexpr size_t SPLINE_ORDER = 4;
//Plotting options
constexpr int PLOT_FREQUENCY = 2;