43 lines
966 B
C++
43 lines
966 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{1.0e-12};
|
|
double atol{1.0e-12};
|
|
int max_iters{1000};
|
|
};
|
|
|
|
struct rot {
|
|
bool enabled;
|
|
double omega;
|
|
double L;
|
|
};
|
|
|
|
struct DomainMapperOptions {
|
|
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{};
|
|
DomainMapperOptions domain_mapper_options{};
|
|
mapping::compactification::options::KelvinCompactificationOptions kelvin_options{};
|
|
int max_iters{};
|
|
double tol{};
|
|
|
|
quadrature::QuadratureOptions quadrature{};
|
|
};
|
|
|
|
} // namespace mean_field::utils
|