AQS#

Athermal Quasistatic Shear (AQS) simulations.

Functions

BranchPreparation([cli_args, _return_parser])

Branch from prepared stress state and add parameters.

EnsembleInfo([cli_args, _return_parser])

Basic interpretation of the ensemble.

Plot([cli_args, _return_parser])

Basic of the ensemble.

Run([cli_args, _return_parser])

Run simulation for a fixed number of steps.

UpgradeData([cli_args, _return_parser])

Upgrade data to the current version.

allocate_System(file, index)

Allocate the system, and restore snapshot.

dump_snapshot(index, group, system, step, ...)

Add/overwrite snapshot of the current state (fully recoverable).

Details

depinning_creep_2024.AQS.BranchPreparation(cli_args: list = None, _return_parser: bool = False)#

Branch from prepared stress state and add parameters.

Parameters
  • cli_args – Command line arguments, see --help for details. Default: sys.argv[1:] is used.

  • _return_parser – Return parser instead of executing (for documentation).

Returns

None if executed, parser if return_parser.

depinning_creep_2024.AQS.EnsembleInfo(cli_args: list = None, _return_parser: bool = False) None#

Basic interpretation of the ensemble.

Parameters
  • cli_args – Command line arguments, see --help for details. Default: sys.argv[1:] is used.

  • _return_parser – Return parser instead of executing (for documentation).

Returns

None if executed, parser if return_parser.

depinning_creep_2024.AQS.Plot(cli_args: list = None, _return_parser: bool = False) None#

Basic of the ensemble.

Parameters
  • cli_args – Command line arguments, see --help for details. Default: sys.argv[1:] is used.

  • _return_parser – Return parser instead of executing (for documentation).

Returns

None if executed, parser if return_parser.

depinning_creep_2024.AQS.Run(cli_args: list = None, _return_parser: bool = False) None#

Run simulation for a fixed number of steps.

  • Write global output per step (uframe, sigma, T, S, A).

  • Write snapshot every time a system-spanning event occurs. Added temporary snapshots based on --buffer to be able to restart.

depinning_creep_2024.AQS.UpgradeData(cli_args: list = None, _return_parser: bool = False)#

Upgrade data to the current version.

Parameters
  • cli_args – Command line arguments, see --help for details. Default: sys.argv[1:] is used.

  • _return_parser – Return parser instead of executing (for documentation).

Returns

None if executed, parser if return_parser.

depinning_creep_2024.AQS.allocate_System(file: File, index: int) SystemClass#

Allocate the system, and restore snapshot.

Parameters
  • param – Opened file.

  • index – Index of the snapshot to load.

Returns

System.

depinning_creep_2024.AQS.dump_snapshot(index: int, group: Group, system: SystemClass, step: int, systemspanning: bool) None#

Add/overwrite snapshot of the current state (fully recoverable).

Parameters
  • index – Index of the snapshot to overwrite.

  • group – Group to store the snapshot in.

  • system – System.

  • step – Current AQS step.

  • systemspanning – If snapshot follows a system-spanning event.