abics.applications.latgas_abinitio_interface.aenet module¶
-
class
abics.applications.latgas_abinitio_interface.aenet.
aenetSolver
(path_to_solver)[source]¶ Bases:
abics.applications.latgas_abinitio_interface.base_solver.SolverBase
This class defines the aenet solver.
Initialize the solver.
- Parameters
path_to_solver (str) – Path to the solver.
-
class
Input
[source]¶ Bases:
object
-
cl_args
(nprocs, nthreads, output_dir)[source]¶ Generate command line arguments of the solver program.
- Parameters
nprocs (int) – The number of processes.
nthreads (int) – The number of threads.
output_dir (str) – Path to the working directory.
- Returns
args – Arguments of command
- Return type
list[str]
-
from_directory
(base_input_dir)[source]¶ Initialize information from files in base_input_dir.
- Parameters
base_input_dir (str) – Path to the directory including base input files.
-
-
class
Output
[source]¶ Bases:
object
-
get_results
(output_dir)[source]¶ Get energy and structure obtained by the solver program.
- Parameters
output_dir (str) – Path to the working directory.
- Returns
phys – Total energy and atomic structure. The energy is measured in the units of eV and coordinates is measured in the units of Angstrom.
- Return type
named_tuple(“energy”, “structure”)
-