qimpy.transport.geometry.ParameterGrid
- class ParameterGrid(*, material, process_grid)
Bases:
Geometry
Geometry specification.
- Parameters:
material (Material) –
process_grid (ProcessGrid) –
- __init__(*, material, process_grid)
Initialize parameter grid parameters.
- Parameters:
material (Material) –
process_grid (ProcessGrid) –
Methods
Initialize parameter grid parameters.
add_child
Construct child object self.`attr_name` of type cls.
add_child_one_of
Invoke add_child on one of several child options in args.
Return list of drho/dt from PatchSet or ParameterGrid
save_checkpoint
Save self and all children in hierarchy to cp_path.
Attributes
comm
Communicator for real-space split over patches
material
Corresponding material
dt_max
Maximum stable time step
child_names
Names of attributes with child objects.
- rho_dot(rho_list_eval, t)
Return list of drho/dt from PatchSet or ParameterGrid
- Parameters:
rho_list_eval (list[Tensor]) –
t (float) –
- Return type:
list[Tensor]