PAOFLOW.transport.conductor_steps#
Classes#
State container for staged conductor block construction. |
Functions#
|
Build |
|
Create staged conductor state with validated data and runtime metadata. |
|
Build Hamiltonian blocks for staged conductor computations. |
Module Contents#
- class PAOFLOW.transport.conductor_steps.ConductorStepState[source]#
State container for staged conductor block construction.
- Variables:
data (ConductorData) – Validated conductor input model and runtime metadata.
memory_tracker (MemoryTracker) – Memory profiler used by conductor preparation and setup stages.
blc_blocks (dict[str, Any] or None, optional) – Hamiltonian and coupling block operators after
build_conductor_blocks.
- memory_tracker: PAOFLOW.transport.utils.memusage.MemoryTracker[source]#
- PAOFLOW.transport.conductor_steps.build_conductor_input_values(*, dimC, dimL=None, dimR=None, formula='landauer', transport_direction='x', calculation_type='bulk', carriers='electrons', work_dir='./', output_dir='./', postfix='', **kwargs)[source]#
Build
ConductorDataconstructor inputs from direct arguments.Energy-grid parameters (
emin,emax,ne,delta,nk) are not accepted here. Pass them throughkwargswhen assembling inputs for a full-grid calculation, or rely on the defaults defined inEnergySettings.- Parameters:
dimC (int) – Conductor block dimension.
dimL (int or None, optional) – Left lead block dimension for non-bulk calculations.
dimR (int or None, optional) – Right lead block dimension for non-bulk calculations.
formula (str, optional) – Conductance formula identifier.
transport_direction ({'x', 'y', 'z'}, optional) – Transport direction.
calculation_type (str, optional) – Calculation mode:
'bulk'or'conductor'.carriers (str, optional) – Carrier type (for example
'electrons'or'phonons').work_dir (str, optional) – Working directory for transport assets.
output_dir (str, optional) – Output directory for generated files.
postfix (str, optional) – Output postfix appended to default file names.
**kwargs (Any) – Additional optional
ConductorDatafields, including energy-grid parameters when assembling a full calculation input.
- Returns:
Keyword arguments ready for
build_conductor_data(**input_values).- Return type:
- PAOFLOW.transport.conductor_steps.prepare_conductor_step_state(*, data_controller, input_values)[source]#
Create staged conductor state with validated data and runtime metadata.
- Parameters:
data_controller (DataController) – Shared data controller used by transport preparation.
input_values (dict[str, Any]) – Flat keyword arguments passed to
build_conductor_data.
- Returns:
Prepared state containing validated conductor input and an initialized memory tracker.
- Return type:
Notes
This routine mutates transport-related runtime containers through
prepare_conductor_dataas part of the existing preparation flow.
- PAOFLOW.transport.conductor_steps.build_conductor_blocks(*, state, data_controller)[source]#
Build Hamiltonian blocks for staged conductor computations.
- Parameters:
state (ConductorStepState) – Staged conductor state returned by
prepare_conductor_step_state.data_controller (DataController) – Shared data controller used by Hamiltonian setup routines.
- Returns:
Block-operator mapping used by conductor self-energy and Green-function calculations.
- Return type:
Notes
Updates
state.blc_blockswith the returned operator dictionary.