File: snes.html

package info (click to toggle)
petsc 3.10.3%2Bdfsg1-5
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 209,064 kB
  • sloc: ansic: 587,333; python: 29,696; makefile: 12,445; fortran: 11,626; f90: 9,677; cpp: 8,768; sh: 1,027; xml: 621; objc: 445; csh: 194; java: 13
file content (23 lines) | stat: -rw-r--r-- 1,368 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<html>
<title>SNES</title><body bgcolor="FFFFFF">
   <div id="version" align=right><b>petsc-3.10.3 2018-12-18</b></div>
   <div id="bugreport" align=right><a href="mailto:petsc-maint@mcs.anl.gov?subject=Typo or Error in Documentation &body=Please describe the typo or error in the documentation: petsc-3.10.3 v3.10.3 docs/manualpages/concepts/snes.html "><small>Report Typos and Errors</small></a></div>
<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>
This example also illustrates the use of parallel matrix coloring.<BR>
</menu>
</menu>
</body>
</html>