pmmoto package
PMMoTo package initialization.
This module sets up the logger and imports all major subpackages, making core functionality available at the top level.
- Exports:
logger: The package-level logger.
initialize: Main initialization function for PMMoTo domains.
- class pmmoto.BoundaryType(value)
Bases:
str
,Enum
Allowable boundary types.
- END = 'end'
- INTERNAL = 'internal'
- PERIODIC = 'periodic'
- WALL = 'wall'
- pmmoto.initialize(voxels: tuple[int, ...], box: tuple[tuple[float, float], ...] = ((0, 1.0), (0, 1.0), (0, 1)), subdomains: tuple[int, ...] = (1, 1, 1), boundary_types: tuple[tuple[BoundaryType, BoundaryType], ...] = ((BoundaryType.END, BoundaryType.END), (BoundaryType.END, BoundaryType.END), (BoundaryType.END, BoundaryType.END)), inlet: tuple[tuple[bool, bool], ...] = ((False, False), (False, False), (False, False)), outlet: tuple[tuple[bool, bool], ...] = ((False, False), (False, False), (False, False)), reservoir_voxels: int = 0, rank: int = 0, pad: tuple[int, ...] = (1, 1, 1), verlet_domains: tuple[int, ...] = (1, 1, 1), return_subdomain: bool = False) Subdomain | PaddedSubdomain | VerletSubdomain
Initialize PMMoTo domain and subdomain classes and check for valid inputs.
Subpackages
- pmmoto.analysis package
- pmmoto.core package
- Submodules
- pmmoto.core.boundary_types module
- pmmoto.core.communication module
- pmmoto.core.domain module
- pmmoto.core.domain_decompose module
- pmmoto.core.domain_discretization module
- pmmoto.core.features module
- pmmoto.core.logging module
- pmmoto.core.orientation module
- pmmoto.core.pmmoto module
- pmmoto.core.subdomain module
Subdomain
Subdomain.check_boundary_type()
Subdomain.get_boundary_types()
Subdomain.get_box()
Subdomain.get_centroid()
Subdomain.get_global_boundary()
Subdomain.get_img_index()
Subdomain.get_index()
Subdomain.get_inlet()
Subdomain.get_length()
Subdomain.get_origin()
Subdomain.get_outlet()
Subdomain.get_own_voxels()
Subdomain.get_radius()
Subdomain.get_start()
Subdomain.get_voxels()
Subdomain.periodic_check()
Subdomain.set_wall_bcs()
- pmmoto.core.subdomain_features module
SubdomainFeatures
SubdomainFeatures.all_features
SubdomainFeatures.collect_features()
SubdomainFeatures.collect_periodic_corrections()
SubdomainFeatures.collect_periodic_features()
SubdomainFeatures.get_boundary_type()
SubdomainFeatures.get_feature_member()
SubdomainFeatures.get_features()
SubdomainFeatures.get_global_boundary()
SubdomainFeatures.set_feature_voxels()
- pmmoto.core.subdomain_padded module
- pmmoto.core.subdomain_verlet module
- pmmoto.core.utils module
- pmmoto.core.voxels module
- pmmoto.domain_generation package
deconstruct_img()
gen_img_linear()
gen_img_random_binary()
gen_img_smoothed_random_binary()
gen_mp_constant()
gen_pm_atom_domain()
gen_pm_atom_file()
gen_pm_cylinders()
gen_pm_inkbottle()
gen_pm_spheres_domain()
- Submodules
- pmmoto.domain_generation.domain_generation module
- pmmoto.domain_generation.lattice_packings module
- pmmoto.domain_generation.multiphase module
- pmmoto.domain_generation.porousmedia module
- pmmoto.domain_generation.rdf module
- pmmoto.filters package
- pmmoto.io package
- pmmoto.particles package