.. index:: pair: struct; rgpot::UmaConfig .. _doxid-structrgpot_1_1_uma_config: struct rgpot::UmaConfig ======================= .. toctree:: :hidden: Overview ~~~~~~~~ UMA / OMol calculator configuration. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct UmaConfig { // fields std::string :target:`model_path`; std::string :target:`task_name` = "omol"; std::string :target:`device` = "cpu"; int :target:`charge` = 0; int :target:`spin` = 1; double :ref:`cutoff` = 6.0; int :target:`max_neighbors` = 300; }; .. _details-structrgpot_1_1_uma_config: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ UMA / OMol calculator configuration. model_path is an AOTInductor package (.pt2) produced by scripts/export_uma_aoti.py. Neighbor lists are built with vesin and passed as tensors; the compiled graph does not call fairchem. Fields ------ .. index:: pair: variable; cutoff .. _doxid-structrgpot_1_1_uma_config_1a63261db84609cde3f7c77d4919a21a59: .. ref-code-block:: cpp :class: doxyrest-title-code-block double cutoff = 6.0 Cutoff in angstrom. Overridden by the sidecar JSON next to .pt2 when present.