Skip to content

Instantly share code, notes, and snippets.

@atmyers
Created September 15, 2014 02:53
Show Gist options
  • Save atmyers/b2456987d2b6ce00a3f9 to your computer and use it in GitHub Desktop.
Save atmyers/b2456987d2b6ce00a3f9 to your computer and use it in GitHub Desktop.
{
"metadata": {
"name": "",
"signature": "sha256:f39bf2933b5b511b01f726b2e2042ff48174bac929a43ead08884584feaa2899"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"\\begin{equation}\n",
"\\rho(\\textbf{r}) = \\sum_p m_p W \\left( \\textbf{r} - \\textbf{r}_p, h \\right)\n",
"\\end{equation}"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"where:"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"$\\rho(\\textbf{r})$: density at arbitrary point $\\textbf{r}$\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"$m_p, \\textbf{r}_p$: mass and position of particle $p$\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"$W \\left( \\textbf{r} - \\textbf{r}_p, h \\right)$: interpolating kernel with stencil size $h$"
]
}
],
"metadata": {}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment