Description
Preserve explicit position and velocity staggered-time labels.
Numerical physics calculations depend on discretization, index conventions, boundary conditions and model units. A local force kick is only part of an integration method, a stencil residual is not a solved field, and a one-sided power weight is not a spectral-density normalization. Floating-point resolution also limits grid and coordinate representations.
Preserve explicit position and velocity staggered-time labels.
When to use this tool
Use Leapfrog Staggered Time Label when you already have stepId, positionTimeText, velocityTimeText and need to preserve explicit position and velocity staggered-time labels.
How to use the tool and how it works
- Enter stepId, positionTimeText, velocityTimeText. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read token. Use the output convention below.
Enter stepId, positionTimeText, velocityTimeText using the field constraints below. Encode these values, in exactly that order, as a JSON array and return the serialized array as text in token. String values are preserved without trimming or external terminology lookup.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| stepId | Step Id | Required. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192. |
| positionTimeText | Position Time Text | Required. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192. |
| velocityTimeText | Velocity Time Text | Required. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| token | Token | Required. Text; maximum UTF-16 length 8192. |
{
"input": {
"stepId": "S17",
"positionTimeText": "n dt",
"velocityTimeText": "(n+1/2) dt"
},
"output": {
"token": "[\"S17\",\"n dt\",\"(n+1/2) dt\"]"
}
} Limitations and assumptions
- The result records supplied values without advancing a leapfrog integrator. Sources and asserted relationships are not independently authenticated.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
Alternative or Complementary methods
Use the complete discretized model, integration algorithm and boundary treatment. Assess convergence, conservation and stability with the full calculation; individual residuals, CFL components, relaxation terms and index mappings do not establish numerical accuracy or physical validity.
References
Similar or alternative tools
- Simulation Time Unit Crosswalk
Map supplied simulation time to a physical-seconds reference.
- Time Step Last Short Step Length
Choose a supplied simulation's final shortened time step.