abics.applications.latgas_abinitio_interface.openmx module¶
-
class
abics.applications.latgas_abinitio_interface.openmx.
OpenMXInputFile
(input_file)[source]¶ Bases:
dict
OpenMX Input
This is a dictionary storing OpenMX input parameters with additionary information, vec_list
-
vec_list
¶ vectors
- Type
list
- Parameters
input_file (str) – inputfile
-
-
class
abics.applications.latgas_abinitio_interface.openmx.
OpenMXSolver
(path_to_solver)[source]¶ Bases:
abics.applications.latgas_abinitio_interface.base_solver.SolverBase
This class defines the OpenMX solver.
Initialize the solver.
- Parameters
path_to_solver (str) – Path to the solver.
-
class
Input
(path_to_solver)[source]¶ Bases:
object
-
cl_args
(nprocs, nthreads, output_dir)[source]¶ Make command line to execute OpenMX from args.
- Parameters
nprocs (int) – Number of processes (not used).
nthreads (int) – Number of threads.
output_dir (str) – Output directory.
- Returns
clargs – command line arguments
- Return type
dict
-
cleanup
(rundir)[source]¶ Clean up the directory where the solver runs.
- Parameters
rundir (str) – Name of the directory where the solver runs.
------- –
-
from_directory
(base_input_dir)[source]¶ Get base information for OpenMX from the input directory.
- Parameters
base_input_dir (str) – Name of the directory where the base input file is located.
- Returns
self.base_openmx_input
- Return type
OpenMXInput
-