44 lines
972 B
C++
44 lines
972 B
C++
module;
|
|
#include <string>
|
|
export module mean_field:utils.user;
|
|
export import :quadrature.policy;
|
|
|
|
export import :mapping.compactification.options;
|
|
|
|
export namespace mean_field::utils {
|
|
struct potential {
|
|
double rtol;
|
|
double atol;
|
|
int max_iters;
|
|
};
|
|
|
|
struct rot {
|
|
bool enabled;
|
|
double omega;
|
|
double L;
|
|
};
|
|
|
|
struct DomainMapperStatelessOptions {
|
|
int dimension{3};
|
|
int vacuum_element_attribute{3};
|
|
};
|
|
|
|
struct Args {
|
|
std::string mesh_file;
|
|
potential p{};
|
|
rot r{};
|
|
bool verbose{};
|
|
double index{};
|
|
double mass{};
|
|
double c{};
|
|
DomainMapperStatelessOptions domain_mapper_options{};
|
|
mapping::compactification::options::KelvinCompactificationOptions
|
|
kelvin_options{};
|
|
int max_iters{};
|
|
double tol{};
|
|
|
|
quadrature::QuadratureOptions quadrature{};
|
|
};
|
|
|
|
} // namespace mean_field::utils
|