odatse.domain._domain module

class odatse.domain._domain.DomainBase(info: Info = None)[source]

Bases: object

Base class for domain management in the 2DMAT software.

root_dir

The root directory for the domain.

Type:

Path

output_dir

The output directory for the domain.

Type:

Path

mpisize

The size of the MPI communicator.

Type:

int

mpirank

The rank of the MPI process.

Type:

int

Initializes the DomainBase instance.

Parameters:

info (Info, optional) – An instance of odatse.Info containing base directory information.

__init__(info: Info = None)[source]

Initializes the DomainBase instance.

Parameters:

info (Info, optional) – An instance of odatse.Info containing base directory information.