kups.application.mcmc.simulation
¶
Generic simulation loop for rigid-body MCMC simulations.
run_mcmc(key, propagator, state, config, logged_data)
¶
Run a µVT MCMC simulation with warmup and production phases.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
key
|
Array
|
JAX PRNG key. |
required |
propagator
|
Propagator[State]
|
Propagator, e.g. from :func: |
required |
state
|
State
|
Initial simulation state. |
required |
config
|
RunConfig
|
Run configuration. |
required |
logged_data
|
MCMCLoggedData
|
Logging configuration with host/adsorbate split. |
required |
Returns:
| Type | Description |
|---|---|
State
|
Final simulation state after production run. |