{
  "aliases": null,
  "backlinks": [
    {
      "field": "defines",
      "target": "5R9ZRK8YB5"
    }
  ],
  "body": "\n## Summary\n\nThe MacCormack method is an explicit second-order [[finite difference|X7HYEBA5SA]] scheme for hyperbolic [[conservation laws|8RA7AMWSAF]].\nIt makes a predictor step with forward differences and then a corrector step with backward differences.\nFor linear equations it coincides with the [[Lax–Wendroff method|YHZ9BCNDRZ]].\nFor nonlinear systems it is simpler to program, because it needs no Jacobian of the flux.\nIt was introduced for problems of computational fluid dynamics, such as compressible flow.\n\n## Explanations\n\n### L1 human\n\nThe method first makes a rough prediction of the next time level, looking one grid point ahead.\nIt then corrects this prediction, looking one grid point back, and averages the result with the old value.\nAlternating the two directions cancels the leading errors of each one-sided difference.\nThe result is second-order accurate, like a centred scheme, while each step uses only simple one-sided differences.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "kind": "concept",
    "msc": [
      "65M06",
      "35L65"
    ],
    "name": "MacCormack method",
    "same_as": {
      "wikidata": "Q6721779",
      "wikipedia": "MacCormack method"
    },
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/MacCormack_method"
      }
    ],
    "specializes": [
      "X7HYEBA5SA"
    ],
    "tag": "PGXZJ2YWVJ"
  },
  "kind": "concept",
  "link": "https://tamnd.github.io/math2/node/PGXZJ2YWVJ/",
  "links": [
    {
      "field": "specializes",
      "target": "X7HYEBA5SA"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/PGXZJ2YWVJ.md",
  "msc": [
    "65M06",
    "35L65"
  ],
  "name": "MacCormack method",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/PGX/PGXZJ2YWVJ.md",
  "status": null,
  "tag": "PGXZJ2YWVJ",
  "uri": "m2://PGXZJ2YWVJ",
  "url": "https://tamnd.github.io/math2/wiki/maccormack-method/",
  "writing": {
    "tag": "PGXZJ2YWVJ",
    "kind": "concept",
    "level": "W0",
    "next": [
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
