feat(mean_field): added initial implementation

note this implementation lacks many tests
This commit is contained in:
2026-07-15 09:44:43 -04:00
commit 9bc4f2758a
49 changed files with 171811 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
module;
#include <string>
export module mean_field:utils.user;
export import :quadrature.policy;
export namespace mean_field::utils {
struct potential {
double rtol;
double atol;
int max_iters;
};
struct rot {
bool enabled;
double omega;
double L;
};
struct Args {
std::string mesh_file;
potential p{};
rot r{};
bool verbose{};
double index{};
double mass{};
double c{};
int quad_boost{0};
int max_iters{};
double tol{};
quadrature::QuadratureOptions quadrature{};
};
}