Commit b730b75b2ff90b94f6ab81cde8e5c756546219c6

Authored by kmazouzi
1 parent 9cad137338
Exists in master

add readme

Showing 1 changed file with 32 additions and 0 deletions Inline Diff

File was created 1 /****************************************************************************
2 * DESCRIPTION:
3 * Serial HEAT2D Example - C Version
4 * This example is based on a simplified
5 * two-dimensional heat equation domain decomposition. The initial
6 * temperature is computed to be high in the middle of the domain and
7 * zero at the boundaries. The boundaries are held at zero throughout
8 * the simulation. During the time-stepping, an array containing two
9 * domains is used; these domains alternate between old data and new data.
10 *
11 * The physical region, and the boundary conditions, are suggested
12 by this diagram;
13
14 u = 0
15 +------------------+
16 | |
17 u = 100 | | u = 100
18 | |
19 +------------------+
20 u = 100
21
22 Interrior point :
23 u[Central] = (1/4) * ( u[North] + u[South] + u[East] + u[West] )
24
25 ****************************************************************************/
26