Loading...
Searching...
No Matches
pot::EngineRequest Struct Reference

What a driver knows when it asks for a potential by name. More...

#include <gpr/potentials/EngineRegistry.h>

Public Attributes

std::vector< unsigned char > potential_config
 Optional canonical rgpot PotentialConfig shared with the direct path.
std::string potential
 –potential: uma, omol, metatomic, ...
std::string model_path
 –model
std::string device = "cpu"
 –device
std::string task_name = "omol"
 –task-name (UMA task head)
int charge = 0
 –uma-charge
int spin = 1
 –uma-spin (multiplicity)
std::string library
 –potential-library: overrides the table
std::string engine_dir
int cpmd_scf_max_iter = 400
double cpmd_scf_convergence = 1.0e-5
 –cpmd-scf-convergence: CPMD's CONVERGENCE ORBITALS criterion.
double cp2k_eps_scf = 1.0e-9
 –cp2k-eps-scf: CP2K's &SCF EPS_SCF for the default cp2k deck.
int cp2k_max_scf = 30
int cp2k_outer_max_scf = 10
 &OUTER_SCF MAX_SCF of the default cp2k deck; 0 drops the outer loop.
std::string lammps_params_path
 –lammps-params: pair style, coefficients and type map for lammps.
std::string executable_dir
std::string params_path
std::vector< unsigned char > params_payload
std::string plugin_name
 [oracle.plugin] pluginName, for the startup report only.

Detailed Description

What a driver knows when it asks for a potential by name.

Definition at line 18 of file EngineRegistry.h.

Member Data Documentation

◆ charge

int pot::EngineRequest::charge = 0

–uma-charge

Definition at line 25 of file EngineRegistry.h.

◆ cp2k_eps_scf

double pot::EngineRequest::cp2k_eps_scf = 1.0e-9

–cp2k-eps-scf: CP2K's &SCF EPS_SCF for the default cp2k deck.

Definition at line 36 of file EngineRegistry.h.

◆ cp2k_max_scf

int pot::EngineRequest::cp2k_max_scf = 30

–cp2k-max-scf: CP2K's inner &SCF MAX_SCF. A call whose outer loop ends unconverged is a failed evaluation the search rejects.

Definition at line 39 of file EngineRegistry.h.

◆ cp2k_outer_max_scf

int pot::EngineRequest::cp2k_outer_max_scf = 10

&OUTER_SCF MAX_SCF of the default cp2k deck; 0 drops the outer loop.

Definition at line 41 of file EngineRegistry.h.

◆ cpmd_scf_convergence

double pot::EngineRequest::cpmd_scf_convergence = 1.0e-5

–cpmd-scf-convergence: CPMD's CONVERGENCE ORBITALS criterion.

Definition at line 34 of file EngineRegistry.h.

◆ cpmd_scf_max_iter

int pot::EngineRequest::cpmd_scf_max_iter = 400

–cpmd-scf-max-iter: SCF steps one CPMD force call may spend. The engine reports a call that reaches it as a failed evaluation, which the search rejects instead of taking an unconverged energy.

Definition at line 32 of file EngineRegistry.h.

◆ device

std::string pot::EngineRequest::device = "cpu"

–device

Definition at line 23 of file EngineRegistry.h.

◆ engine_dir

std::string pot::EngineRequest::engine_dir

–engine-dir: where the table's names live

Definition at line 28 of file EngineRegistry.h.

◆ executable_dir

std::string pot::EngineRequest::executable_dir

Directory of the running executable, for the default search; empty takes it from /proc/self/exe.

Definition at line 46 of file EngineRegistry.h.

◆ lammps_params_path

std::string pot::EngineRequest::lammps_params_path

–lammps-params: pair style, coefficients and type map for lammps.

Definition at line 43 of file EngineRegistry.h.

◆ library

std::string pot::EngineRequest::library

–potential-library: overrides the table

Definition at line 27 of file EngineRegistry.h.

◆ model_path

std::string pot::EngineRequest::model_path

–model

Definition at line 22 of file EngineRegistry.h.

◆ params_path

std::string pot::EngineRequest::params_path

–potential-params or [oracle.plugin] params_path: a file whose bytes are the engine's parameters message, handed to rgpot_engine_create unread. Set, or with params_payload set, the request is a plugin request: the library is taken as given and the name table is not consulted, so any engine plugin loads without an entry here.

Definition at line 52 of file EngineRegistry.h.

◆ params_payload

std::vector<unsigned char> pot::EngineRequest::params_payload

The parameters message itself ([oracle.plugin] opaquePayload). Wins over params_path.

Definition at line 55 of file EngineRegistry.h.

◆ plugin_name

std::string pot::EngineRequest::plugin_name

[oracle.plugin] pluginName, for the startup report only.

Definition at line 57 of file EngineRegistry.h.

◆ potential

std::string pot::EngineRequest::potential

–potential: uma, omol, metatomic, ...

Definition at line 21 of file EngineRegistry.h.

◆ potential_config

std::vector<unsigned char> pot::EngineRequest::potential_config

Optional canonical rgpot PotentialConfig shared with the direct path.

Definition at line 20 of file EngineRegistry.h.

◆ spin

int pot::EngineRequest::spin = 1

–uma-spin (multiplicity)

Definition at line 26 of file EngineRegistry.h.

◆ task_name

std::string pot::EngineRequest::task_name = "omol"

–task-name (UMA task head)

Definition at line 24 of file EngineRegistry.h.


The documentation for this struct was generated from the following file: