File: snes.htm

package info (click to toggle)
petsc 2.1.3-1.woody.1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 70,272 kB
  • ctags: 310,869
  • sloc: ansic: 257,275; sh: 9,870; makefile: 7,622; fortran: 6,211; cpp: 1,026; python: 416; csh: 41; asm: 9
file content (20 lines) | stat: -rw-r--r-- 943 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<html>
<title>SNES</title><body bgcolor="FFFFFF">
<h2>SNES</h2>
<menu>
<LI><A HREF="../../../src/snes/examples/tutorials/ex10d/ex10.c.html"><CONCEPT>unstructured grid</CONCEPT></A>
<menu>
An Unstructured Grid Example.<BR>This example demonstrates how to solve a nonlinear system in parallel<BR>
with SNES for an unstructured mesh. The mesh and partitioning information<BR>
is read in an application defined ordering,which is later transformed<BR>
into another convenient ordering (called the local ordering). The local<BR>
ordering, apart from being efficient on cpu cycles and memory, allows<BR>
the use of the SPMD model of parallel programming. After partitioning<BR>
is done, scatters are created between local (sequential)and global<BR>
(distributed) vectors. Finally, we set up the nonlinear solver context<BR>
in the usual way as a structured grid  (see<BR>
petsc/src/snes/examples/tutorials/ex5.c).<BR>
</menu>
</menu>
</body>
</html>