<commit_before>{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# Fields, Fluxes, Physics\n",
    "\n",
    "Now that we know how to solve a partial differential equation using the [SimPEG](http://simpeg.xyz) Mesh Class (for a refresher, see [Pixels and Their Neighbors](http://tutorials.simpeg.xyz/content/fieldsfluxesphysics.html)), we will now explore how to set up a Forward Simulation using SimPEG. \n",
    "\n",
    "## What is a Forward Simulation?\n",
    "By **Forward Simulation**, we mean the ability to estimate data given a description of the physical properties describing the earth.\n",
    "\n",
    "In [SimPEG](http://simpeg.xyz), the general structure of a forward simulation is shown in the figure below.\n",
    "\n",
    "<img src=\"../../docs/images/forwardsimulation.png\" width=500>\n",
    "\n",
    "- A **model** is a vector which can be mapped to **physical properties** on a simulation mesh. \n",
    "- The **physics** is a discrete representation of the system of equations that we will solve\n",
    "- A **source** inputs energy to the system and is used to construct the Right Hand Side of the system of equations. \n",
    "- With a system of equations and a right-hand-side defined, we can solve the system of equations, producing a solution vector. Often, the solution vector is not necessarily the field or flux we wish to sample to produce data. For example, in an electromagnetic problem, we may solve for the electric field, **E**, but wish to measure magnetic flux density **B** to produce data. Similarly, we may solve the DC resistivity problem for electric potentials, but wish to view the current density. This translation is handled by the **fields**.\n",
    "- **Fields** are defined everywhere on the mesh, but **data** are defined at specific locations where we have receivers. The **receivers** specify where and what type of **data** are collected\n",
    "\n",
    "In the series of notebooks that follow we will walk through each of the steps of a forward simulation using the 3D DC resistivity problem as an example. \n",
    "\n",
    "**Contents**\n",
    "- [model_to_physical_properties.ipynb](model_to_physical_properties.ipynb)\n",
    "- [physics_and_sources.ipynb](physics_and_sources.ipynb)\n",
    "- [solutions_to_fields.ipynb](solutions_to_fields.ipynb)\n",
    "- [fields_to_data.ipynb](fields_to_data.ipynb)\n",
    "- [forward_simulation_sampler.ipynb](forward_simulation_sampler.ipynb) "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python [default]",
   "language": "python",
   "name": "python2"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 2
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython2",<commit_msg>updates to fields_fluxes_physics index notebook<commit_after>{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# Fields, Fluxes, Physics\n",
    "\n",
    "Now that we know how to solve a partial differential equation using the [SimPEG](http://simpeg.xyz) Mesh Class (for a refresher, see [Pixels and Their Neighbors](http://tutorials.simpeg.xyz/content/fieldsfluxesphysics.html)), we will now explore how to set up a Forward Simulation using SimPEG. \n",
    "\n",
    "## What is a Forward Simulation?\n",
    "By **Forward Simulation**, we mean the ability to estimate data given a description of the physical properties describing the earth.\n",
    "\n",
    "In [SimPEG](http://simpeg.xyz), the general structure of a forward simulation is shown in the figure below.\n",
    "\n",
    "<img src=\"../../docs/images/forwardsimulation.png\" width=500>\n",
    "\n",
    "- A **model** is a vector which can be mapped to **physical properties** on a simulation mesh. \n",
    "- The **physics** is a discrete representation of the system of equations that we will solve\n",
    "- A **source** inputs energy to the system and is used to construct the Right Hand Side of the system of equations. \n",
    "- With a system of equations and a right-hand-side defined, we can solve the system of equations, producing a solution vector. Often, the solution vector is not necessarily the field or flux we wish to sample to produce data. For example, in an electromagnetic problem, we may solve for the electric field, **E**, but wish to measure magnetic flux density **B** to produce data. Similarly, we may solve the DC resistivity problem for electric potentials, but wish to view the current density. This translation is handled by the **fields**.\n",
    "- **Fields** are defined everywhere on the mesh, but **data** are defined at specific locations where we have receivers. The **receivers** specify where and what type of **data** are collected\n",
    "\n",
    "In the series of notebooks that follow we will walk through each of the steps of a forward simulation using the 3D DC resistivity problem as an example. \n",
    "\n",
    "**Contents**\n",
    "- [model_to_physical_properties.ipynb](model_to_physical_properties.ipynb)\n",
    "- [physics_and_sources.ipynb](physics_and_sources.ipynb)\n",
    "- [solutions_to_fields.ipynb](solutions_to_fields.ipynb)\n",
    "- [fields_to_data.ipynb](fields_to_data.ipynb)\n",
    "- [forward_simulation_sampler.ipynb](forward_simulation_sampler.ipynb) "
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python [default]",
   "language": "python",
   "name": "python2"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 2
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython2",
{'fraction_non_alphanumeric': 0.13382899628252787, 'fraction_numerical': 0.0023656640757012504, 'mean_word_length': 3.7810985460420032, 'pattern_counts': {'":': 41, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1358691', 'n_tokens_mistral': 1813, 'n_tokens_neox': 1756, 'n_words': 666}