feat(Spectral): Working on Spectral Solver

This commit is contained in:
2025-12-15 12:14:00 -05:00
parent 0b09ed1cb3
commit 4e1edfc142
6 changed files with 137 additions and 36 deletions

View File

@@ -10,6 +10,12 @@ namespace gridfire::config {
struct SpectralSolverConfig {
struct Trigger {
double simulationTimeInterval = 1.0e12;
double offDiagonalThreshold = 1.0e10;
double timestepCollapseRatio = 0.5;
size_t maxConvergenceFailures = 2;
};
struct MonitorFunctionConfig {
double structure_weight = 1.0;
double abundance_weight = 10.0;
@@ -24,6 +30,7 @@ namespace gridfire::config {
size_t degree = 3;
MonitorFunctionConfig monitorFunction;
BasisConfig basis;
Trigger trigger;
};
struct SolverConfig {