File: KSPView.html

package info (click to toggle)
petsc 3.14.5%2Bdfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 266,472 kB
  • sloc: ansic: 680,898; python: 33,303; cpp: 16,324; makefile: 14,022; f90: 13,731; javascript: 10,713; fortran: 9,581; sh: 1,373; xml: 619; objc: 445; csh: 192; pascal: 148; java: 13
file content (79 lines) | stat: -rw-r--r-- 6,166 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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD> <link rel="canonical" href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/KSP/KSPView.html" />
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>KSPView</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
   <div id="version" align=right><b>petsc-3.14.5 2021-03-03</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.14.5 v3.14.5 docs/manualpages/KSP/KSPView.html "><small>Report Typos and Errors</small></a></div>
<A NAME="KSPView"><H1>KSPView</H1></A>
Prints the <A HREF="../KSP/KSP.html#KSP">KSP</A> data structure. 
<H3><FONT COLOR="#CC3333">Synopsis</FONT></H3>
<PRE>
#include "petscksp.h" 
<A HREF="../Sys/PetscErrorCode.html#PetscErrorCode">PetscErrorCode</A>  <A HREF="../KSP/KSPView.html#KSPView">KSPView</A>(<A HREF="../KSP/KSP.html#KSP">KSP</A> ksp,<A HREF="../Viewer/PetscViewer.html#PetscViewer">PetscViewer</A> viewer)
</PRE>
Collective on ksp
<P>
<H3><FONT COLOR="#CC3333">Input Parameters</FONT></H3>
<TABLE border="0" cellpadding="0" cellspacing="0">
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>ksp </B></TD><TD>- the Krylov space context
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>viewer </B></TD><TD>- visualization context
</TD></TR></TABLE>
<P>
<H3><FONT COLOR="#CC3333">Options Database Keys</FONT></H3>
<TABLE border="0" cellpadding="0" cellspacing="0">
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-ksp_view </B></TD><TD>- print the ksp data structure at the end of a <A HREF="../KSP/KSPSolve.html#KSPSolve">KSPSolve</A> call
</TD></TR></TABLE>
<P>
<H3><FONT COLOR="#CC3333">Note</FONT></H3>
The available visualization contexts include
<TABLE border="0" cellpadding="0" cellspacing="0">
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B><A HREF="../Viewer/PETSC_VIEWER_STDOUT_SELF.html#PETSC_VIEWER_STDOUT_SELF">PETSC_VIEWER_STDOUT_SELF</A> </B></TD><TD>- standard output (default)
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B><A HREF="../Viewer/PETSC_VIEWER_STDOUT_WORLD.html#PETSC_VIEWER_STDOUT_WORLD">PETSC_VIEWER_STDOUT_WORLD</A> </B></TD><TD>- synchronized standard
output where only the first processor opens
the file.  All other processors send their
data to the first processor to print.
</TD></TR></TABLE>
<P>
The user can open an alternative visualization context with
<A HREF="../Viewer/PetscViewerASCIIOpen.html#PetscViewerASCIIOpen">PetscViewerASCIIOpen</A>() - output to a specified file.
<P>
In the debugger you can do "call <A HREF="../KSP/KSPView.html#KSPView">KSPView</A>(ksp,0)" to display the <A HREF="../KSP/KSP.html#KSP">KSP</A>. (The same holds for any PETSc object viewer).
<P>

<P>
<H3><FONT COLOR="#CC3333">See Also</FONT></H3>
 <A HREF="../PC/PCView.html#PCView">PCView</A>(), <A HREF="../Viewer/PetscViewerASCIIOpen.html#PetscViewerASCIIOpen">PetscViewerASCIIOpen</A>()
<BR><P><B></B><H3><FONT COLOR="#CC3333">Level</FONT></H3>beginner<BR>
<H3><FONT COLOR="#CC3333">Location</FONT></H3>
</B><A HREF="../../../src/ksp/ksp/interface/itcreate.c.html#KSPView">src/ksp/ksp/interface/itcreate.c</A>
<P><H3><FONT COLOR="#CC3333">Examples</FONT></H3>
<A HREF="../../../src/ksp/ksp/tutorials/ex1.c.html">src/ksp/ksp/tutorials/ex1.c.html</A><BR>
<A HREF="../../../src/ksp/ksp/tutorials/ex23.c.html">src/ksp/ksp/tutorials/ex23.c.html</A><BR>
<A HREF="../../../src/ksp/ksp/tutorials/ex72.c.html">src/ksp/ksp/tutorials/ex72.c.html</A><BR>
<A HREF="../../../src/ksp/ksp/tutorials/ex1f.F90.html">src/ksp/ksp/tutorials/ex1f.F90.html</A><BR>
<P><H3><FONT COLOR="CC3333">Implementations</FONT></H3><A HREF="../../../src/ksp/ksp/impls/bcgsl/bcgsl.c.html#KSPView_BCGSL">KSPView_BCGSL in src/ksp/ksp/impls/bcgsl/bcgsl.c</A><BR>
<A HREF="../../../src/ksp/ksp/impls/cg/cg.c.html#KSPView_CG">KSPView_CG in src/ksp/ksp/impls/cg/cg.c</A><BR>
<A HREF="../../../src/ksp/ksp/impls/cg/pipelcg/pipelcg.c.html#KSPView_PIPELCG">KSPView_PIPELCG in src/ksp/ksp/impls/cg/pipelcg/pipelcg.c</A><BR>
<A HREF="../../../src/ksp/ksp/impls/fcg/fcg.c.html#KSPView_FCG">KSPView_FCG in src/ksp/ksp/impls/fcg/fcg.c</A><BR>
<A HREF="../../../src/ksp/ksp/impls/fcg/pipefcg/pipefcg.c.html#KSPView_PIPEFCG">KSPView_PIPEFCG in src/ksp/ksp/impls/fcg/pipefcg/pipefcg.c</A><BR>
<A HREF="../../../src/ksp/ksp/impls/fetidp/fetidp.c.html#KSPView_FETIDP">KSPView_FETIDP in src/ksp/ksp/impls/fetidp/fetidp.c</A><BR>
<A HREF="../../../src/ksp/ksp/impls/gcr/gcr.c.html#KSPView_GCR">KSPView_GCR in src/ksp/ksp/impls/gcr/gcr.c</A><BR>
<A HREF="../../../src/ksp/ksp/impls/gcr/pipegcr/pipegcr.c.html#KSPView_PIPEGCR">KSPView_PIPEGCR in src/ksp/ksp/impls/gcr/pipegcr/pipegcr.c</A><BR>
<A HREF="../../../src/ksp/ksp/impls/gmres/agmres/agmres.c.html#KSPView_AGMRES">KSPView_AGMRES in src/ksp/ksp/impls/gmres/agmres/agmres.c</A><BR>
<A HREF="../../../src/ksp/ksp/impls/gmres/dgmres/dgmres.c.html#KSPView_DGMRES">KSPView_DGMRES in src/ksp/ksp/impls/gmres/dgmres/dgmres.c</A><BR>
<A HREF="../../../src/ksp/ksp/impls/gmres/gmres.c.html#KSPView_GMRES">KSPView_GMRES in src/ksp/ksp/impls/gmres/gmres.c</A><BR>
<A HREF="../../../src/ksp/ksp/impls/gmres/lgmres/lgmres.c.html#KSPView_LGMRES">KSPView_LGMRES in src/ksp/ksp/impls/gmres/lgmres/lgmres.c</A><BR>
<A HREF="../../../src/ksp/ksp/impls/gmres/pipefgmres/pipefgmres.c.html#KSPView_PIPEFGMRES">KSPView_PIPEFGMRES in src/ksp/ksp/impls/gmres/pipefgmres/pipefgmres.c</A><BR>
<A HREF="../../../src/ksp/ksp/impls/hpddm/hpddm.cxx.html#KSPView_HPDDM">KSPView_HPDDM in src/ksp/ksp/impls/hpddm/hpddm.cxx</A><BR>
<A HREF="../../../src/ksp/ksp/impls/lcd/lcd.c.html#KSPView_LCD">KSPView_LCD in src/ksp/ksp/impls/lcd/lcd.c</A><BR>
<A HREF="../../../src/ksp/ksp/impls/lsqr/lsqr.c.html#KSPView_LSQR">KSPView_LSQR in src/ksp/ksp/impls/lsqr/lsqr.c</A><BR>
<A HREF="../../../src/ksp/ksp/impls/rich/rich.c.html#KSPView_Richardson">KSPView_Richardson in src/ksp/ksp/impls/rich/rich.c</A><BR>
<BR><A HREF="./index.html">Index of all KSP routines</A>
<BR><A HREF="../../index.html">Table of Contents for all manual pages</A>
<BR><A HREF="../singleindex.html">Index of all manual pages</A>
</BODY></HTML>