チェックポイントファイルの保存/復元を扱う補助モジュール。
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer(kind=i32), | public, | parameter | :: | restart_contract_ok | = | 0_i32 | |
| integer(kind=i32), | public, | parameter | :: | restart_contract_mismatch | = | 1_i32 | |
| integer(kind=i32), | public, | parameter | :: | restart_contract_unsupported_schema | = | 2_i32 | |
| integer(kind=i32), | public, | parameter | :: | restart_contract_malformed | = | 3_i32 |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | out_dir | |||
| integer(kind=i32), | intent(in), | optional | :: | mpi_rank | ||
| integer(kind=i32), | intent(in), | optional | :: | mpi_size | ||
| type(mpi_context), | intent(in), | optional | :: | mpi |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | out_dir | |||
| integer(kind=i32), | intent(in), | optional | :: | mpi_rank | ||
| integer(kind=i32), | intent(in), | optional | :: | mpi_size | ||
| type(mpi_context), | intent(in), | optional | :: | mpi |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | out_dir | |||
| integer(kind=i32), | intent(in), | optional | :: | mpi_rank | ||
| integer(kind=i32), | intent(in), | optional | :: | mpi_size | ||
| type(mpi_context), | intent(in), | optional | :: | mpi |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | out_dir | |||
| type(injection_state), | intent(in) | :: | state | |||
| integer(kind=i32), | intent(in), | optional | :: | mpi_rank | ||
| integer(kind=i32), | intent(in), | optional | :: | mpi_size | ||
| type(mpi_context), | intent(in), | optional | :: | mpi |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | path | |||
| type(mesh_type), | intent(in) | :: | mesh | |||
| type(app_config), | intent(in) | :: | app | |||
| integer(kind=i32), | intent(out) | :: | status | |||
| character(len=*), | intent(out) | :: | message |
既存チェックポイントディレクトリから統計・要素電荷・乱数状態を復元する。
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | out_dir |
チェックポイントを探索するディレクトリ。 |
||
| type(mesh_type), | intent(inout) | :: | mesh |
現在のメッシュ。 |
||
| type(sim_stats), | intent(out) | :: | stats |
復元された統計値。 |
||
| logical, | intent(out) | :: | has_restart |
復元可能なチェックポイントが存在したか。 |
||
| type(injection_state), | intent(inout), | optional | :: | state |
種別ごとのマクロ粒子残差(指定時のみ復元)。 |
|
| integer(kind=i32), | intent(in), | optional | :: | mpi_rank | ||
| integer(kind=i32), | intent(in), | optional | :: | mpi_size | ||
| type(mpi_context), | intent(in), | optional | :: | mpi | ||
| logical, | intent(in), | optional | :: | require_checkpoint | ||
| type(app_config), | intent(in), | optional | :: | app | ||
| type(charge_ledger_type), | intent(inout), | optional | :: | charge_ledger |