File: exampleconcepts

package info (click to toggle)
petsc 2.3.2-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 77,732 kB
  • ctags: 314,526
  • sloc: ansic: 254,277; python: 26,350; cpp: 18,257; fortran: 15,694; makefile: 11,000; sh: 3,638; xml: 620; csh: 211
file content (190 lines) | stat: -rw-r--r-- 12,860 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
src/sys/examples/tutorials/ex1.c printing^in parallel
src/sys/examples/tutorials/ex1.c introduction to PETSc;
src/sys/examples/tutorials/ex2.c printf^in parallel
src/sys/examples/tutorials/ex2.c printf^synchronized
src/sys/examples/tutorials/ex2.c printing^in parallel
src/sys/examples/tutorials/ex2.c printing^synchronized
src/sys/examples/tutorials/ex2.c introduction to PETSc;
src/sys/examples/tutorials/ex3.c profiling^activating/deactivating events
src/sys/examples/tutorials/ex3.c PetscLog^activating/deactivating events for profiling
src/sys/examples/tutorials/ex3.c profiling^user-defined event
src/sys/examples/tutorials/ex3.c PetscLog^user-defined event profiling
src/sys/examples/tutorials/ex5.c bags;
src/sys/examples/tutorials/ex3f.F PetscLog^activating/deactivating events for profiling (basic example);
src/sys/examples/tutorials/ex3f.F PetscLog^user-defined event profiling (basic example);
src/vec/vec/examples/tutorials/ex1.c vectors^basic routines;
src/vec/vec/examples/tutorials/ex1e.c vectors^basic routines;
src/vec/vec/examples/tutorials/ex2.c vectors^assembling vectors;
src/vec/vec/examples/tutorials/ex3.c vectors^drawing vectors;
src/vec/vec/examples/tutorials/ex3.c vectors^local access to
src/vec/vec/examples/tutorials/ex3.c vectors^setting values
src/vec/vec/examples/tutorials/ex8.c vectors^assembling vectors with local ordering;
src/vec/vec/examples/tutorials/ex9.c vectors^ghost padding;
src/vec/vec/examples/tutorials/ex9.c vectors^assembling vectors;
src/vec/vec/examples/tutorials/ex10.c vectors^basic routines;
src/vec/vec/examples/tutorials/ex11.c vectors^norms of sub-vectors;
src/vec/vec/examples/tutorials/ex12.c vectors^sub-vectors;
src/vec/vec/examples/tutorials/ex13.c vectors^assembling vectors;
src/vec/vec/examples/tutorials/ex16.c vectors^sub-vectors;
src/vec/vec/examples/tutorials/ex1f.F vectors^basic routines
src/vec/vec/examples/tutorials/ex2f.F vectors^assembling
src/vec/vec/examples/tutorials/ex3f.F vectors^drawing vectors;
src/vec/vec/examples/tutorials/ex4f.F vectors^arrays of vectors;
src/vec/vec/examples/tutorials/ex4f.F vectors^assembling;
src/vec/vec/examples/tutorials/ex1f90.F Fortran90^using basic vector routines;
src/vec/vec/examples/tutorials/ex1f90.F vectors^using basic vector routines;
src/vec/vec/examples/tutorials/ex4f90.F Fortran90^assembling vectors;
src/vec/vec/examples/tutorials/ex4f90.F vectors^arrays;
src/vec/vec/examples/tutorials/ex4f90.F vectors^assembling vectors;
src/vec/vec/examples/tutorials/ex9f.F vectors^ghost padding;
src/vec/vec/examples/tutorials/ex9f.F vectors^assembling vectors;
src/vec/vec/examples/tutorials/ex11f.F vectors^norms of sub-vectors;
src/vec/vec/examples/tutorials/ex14f.F vectors^ghost padding;
src/vec/vec/examples/tutorials/ex14f.F vectors^assembling vectors;
src/vec/is/examples/tutorials/ex1.c IS^creating a general index set;
src/vec/is/examples/tutorials/ex1.c index sets^creating general;
src/vec/is/examples/tutorials/ex1.c index sets^manipulating a general index set;
src/vec/is/examples/tutorials/ex2.c IS^creating a stride index set;
src/vec/is/examples/tutorials/ex2.c stride^creating a stride index set;
src/vec/is/examples/tutorials/ex2.c index sets^creating a stride index set;
src/vec/is/examples/tutorials/ex3.c IS^creating a block index set;
src/vec/is/examples/tutorials/ex3.c index sets^creating a block index set;
src/vec/is/examples/tutorials/ex4.c global to local mappings
src/vec/is/examples/tutorials/ex4.c local to global mappings
src/vec/is/examples/tutorials/ex1f.F index sets^manipulating a general index set;
src/vec/is/examples/tutorials/ex2f.F index sets^accessing indices from Fortran
src/vec/is/examples/tutorials/ex2f.F index sets^manipulating a stride index set;
src/vec/is/examples/tutorials/ex1f90.F Fortran90^accessing indices of index set;
src/vec/is/examples/tutorials/ex1f90.F index sets^manipulating a general index set;
src/vec/is/examples/tutorials/ex3f90.F Fortran90^accessing indices in index set;
src/vec/is/examples/tutorials/ex3f90.F index sets^manipulating a block index set;
src/mat/examples/tutorials/ex1.c PetscLog^preloading executable
src/mat/examples/tutorials/ex1.c Vectors^loading a binary vector;
src/mat/examples/tutorials/ex1.c Mat^loading a binary matrix and vector;
src/mat/examples/tutorials/ex1.c Mat^ordering a matrix - loading a binary matrix and vector;
src/ksp/ksp/examples/tutorials/ex1.c KSP^solving a system of linear equations
src/ksp/ksp/examples/tutorials/ex2.c Laplacian, 2d
src/ksp/ksp/examples/tutorials/ex2.c KSP^Laplacian, 2d
src/ksp/ksp/examples/tutorials/ex2.c KSP^basic parallel example;
src/ksp/ksp/examples/tutorials/ex3.c Matrices^inserting elements by blocks
src/ksp/ksp/examples/tutorials/ex3.c KSP^basic parallel example
src/ksp/ksp/examples/tutorials/ex4.c KSP^different matrices for linear system and preconditioner;
src/ksp/ksp/examples/tutorials/ex5.c PetscLog^profiling multiple stages of code;
src/ksp/ksp/examples/tutorials/ex5.c KSP^repeatedly solving linear systems;
src/ksp/ksp/examples/tutorials/ex7.c KSP^customizing the block Jacobi preconditioner
src/ksp/ksp/examples/tutorials/ex8.c KSP^Additive Schwarz Method (ASM) with user-defined subdomains
src/ksp/ksp/examples/tutorials/ex9.c PetscLog^user-defined event profiling;
src/ksp/ksp/examples/tutorials/ex9.c PetscLog^profiling multiple stages of code;
src/ksp/ksp/examples/tutorials/ex9.c KSP^repeatedly solving linear systems;
src/ksp/ksp/examples/tutorials/ex10.c KSP^solving a linear system
src/ksp/ksp/examples/tutorials/ex11.c Helmholtz equation
src/ksp/ksp/examples/tutorials/ex11.c complex numbers;
src/ksp/ksp/examples/tutorials/ex11.c KSP^solving a Helmholtz equation
src/ksp/ksp/examples/tutorials/ex12.c PC^registering preconditioners
src/ksp/ksp/examples/tutorials/ex12.c KSP^Laplacian, 2d
src/ksp/ksp/examples/tutorials/ex12.c KSP^solving a system of linear equations
src/ksp/ksp/examples/tutorials/ex13.c Laplacian, 2d
src/ksp/ksp/examples/tutorials/ex13.c KSP^Laplacian, 2d
src/ksp/ksp/examples/tutorials/ex13.c KSP^basic sequential example
src/ksp/ksp/examples/tutorials/ex15.c error handling^Using the macro __FUNCT__ to define routine names;
src/ksp/ksp/examples/tutorials/ex15.c PC^setting a user-defined shell preconditioner
src/ksp/ksp/examples/tutorials/ex15.c KSP^basic parallel example
src/ksp/ksp/examples/tutorials/ex16.c Laplacian, 2d
src/ksp/ksp/examples/tutorials/ex16.c KSP^Laplacian, 2d
src/ksp/ksp/examples/tutorials/ex16.c KSP^repeatedly solving linear systems;
src/ksp/ksp/examples/tutorials/ex23.c KSP^basic parallel example;
src/ksp/ksp/examples/tutorials/ex27.c Normal equations
src/ksp/ksp/examples/tutorials/ex27.c KSP^solving a linear system
src/ksp/ksp/examples/tutorials/ex29.c KSP^Laplacian, 2d
src/ksp/ksp/examples/tutorials/ex29.c KSP^solving a system of linear equations
src/ksp/ksp/examples/tutorials/ex32.c KSP^Laplacian, 2d
src/ksp/ksp/examples/tutorials/ex32.c KSP^solving a system of linear equations
src/ksp/ksp/examples/tutorials/ex33.c KSP^Laplacian, 2d
src/ksp/ksp/examples/tutorials/ex33.c KSP^solving a system of linear equations
src/ksp/ksp/examples/tutorials/ex34.c KSP^Laplacian, 3d
src/ksp/ksp/examples/tutorials/ex34.c KSP^solving a system of linear equations
src/ksp/ksp/examples/tutorials/ex1f.F KSP^solving a system of linear equations
src/ksp/ksp/examples/tutorials/ex2f.F KSP^setting a user-defined monitoring routine
src/ksp/ksp/examples/tutorials/ex2f.F KSP^basic parallel example
src/ksp/ksp/examples/tutorials/ex6f.F KSP^different matrices for linear system and preconditioner;
src/ksp/ksp/examples/tutorials/ex6f.F KSP^repeatedly solving linear systems;
src/ksp/ksp/examples/tutorials/ex11f.F complex numbers
src/ksp/ksp/examples/tutorials/ex11f.F KSP^solving a Helmholtz equation
src/ksp/ksp/examples/tutorials/ex13f90.F Laplacian, 2d
src/ksp/ksp/examples/tutorials/ex13f90.F KSP^Laplacian, 2d
src/ksp/ksp/examples/tutorials/ex13f90.F KSP^basic sequential example
src/ksp/ksp/examples/tutorials/ex14f.F DA^using distributed arrays
src/ksp/ksp/examples/tutorials/ex14f.F KSP^writing a user-defined nonlinear solver
src/ksp/ksp/examples/tutorials/ex15f.F PC^setting a user-defined shell preconditioner
src/ksp/ksp/examples/tutorials/ex15f.F KSP^basic parallel example
src/ksp/ksp/examples/tutorials/ex21f.F PC^setting a user-defined shell preconditioner
src/ksp/ksp/examples/tutorials/ex21f.F KSP^basic parallel example
src/snes/examples/tutorials/ex1.c SNES^basic uniprocessor example
src/snes/examples/tutorials/ex2.c SNES^setting a user-defined monitoring routine
src/snes/examples/tutorials/ex2.c SNES^basic uniprocessor example
src/snes/examples/tutorials/ex3.c error handling^using the macro __FUNCT__ to define routine names;
src/snes/examples/tutorials/ex3.c SNES^setting a user-defined monitoring routine
src/snes/examples/tutorials/ex3.c SNES^basic parallel example
src/snes/examples/tutorials/ex5.c IS coloirng types;
src/snes/examples/tutorials/ex5.c DA^using distributed arrays;
src/snes/examples/tutorials/ex5.c SNES^parallel Bratu example
src/snes/examples/tutorials/ex5s.c shared memory
src/snes/examples/tutorials/ex5s.c SNES^parallel Bratu example
src/snes/examples/tutorials/ex6.c user-provided preconditioner;
src/snes/examples/tutorials/ex6.c matrix-free methods
src/snes/examples/tutorials/ex6.c SNES^user-provided preconditioner;
src/snes/examples/tutorials/ex6.c SNES^matrix-free methods
src/snes/examples/tutorials/ex6.c SNES^different matrices for the Jacobian and preconditioner;
src/snes/examples/tutorials/ex14.c DA^using distributed arrays;
src/snes/examples/tutorials/ex14.c SNES^parallel Bratu example
src/snes/examples/tutorials/ex18.c multigrid;
src/snes/examples/tutorials/ex18.c DA^using distributed arrays
src/snes/examples/tutorials/ex18.c SNES^solving a system of nonlinear equations
src/snes/examples/tutorials/ex19.c multicomponent
src/snes/examples/tutorials/ex19.c DA^using distributed arrays;
src/snes/examples/tutorials/ex19.c SNES^solving a system of nonlinear equations (parallel multicomponent example);
src/snes/examples/tutorials/ex20.c multigrid;
src/snes/examples/tutorials/ex20.c DA^using distributed arrays
src/snes/examples/tutorials/ex20.c SNES^solving a system of nonlinear equations
src/snes/examples/tutorials/ex25.c multigrid;
src/snes/examples/tutorials/ex25.c DA^using distributed arrays
src/snes/examples/tutorials/ex25.c SNES^solving a system of nonlinear equations
src/snes/examples/tutorials/ex26.c DA^using distributed arrays;
src/snes/examples/tutorials/ex26.c SNES^parallel CHI equilibrium
src/snes/examples/tutorials/ex27.c multicomponent
src/snes/examples/tutorials/ex27.c DA^using distributed arrays;
src/snes/examples/tutorials/ex27.c SNES^solving a system of nonlinear equations (parallel multicomponent example);
src/snes/examples/tutorials/ex29.c multicomponent
src/snes/examples/tutorials/ex29.c DA^using distributed arrays;
src/snes/examples/tutorials/ex29.c SNES^solving a system of nonlinear equations (parallel multicomponent example);
src/snes/examples/tutorials/ex31.c multicomponent
src/snes/examples/tutorials/ex31.c DA^using distributed arrays;
src/snes/examples/tutorials/ex31.c SNES^solving a system of nonlinear equations (parallel multicomponent example);
src/snes/examples/tutorials/ex1f.F SNES^basic uniprocessor example
src/snes/examples/tutorials/ex5f.F DA^using distributed arrays;
src/snes/examples/tutorials/ex5f.F SNES^parallel Bratu example
src/snes/examples/tutorials/ex5f90.F DA^using distributed arrays;
src/snes/examples/tutorials/ex5f90.F SNES^parallel Bratu example
src/ts/examples/tutorials/ex1.c nonlinear problems
src/ts/examples/tutorials/ex1.c pseudo-timestepping
src/ts/examples/tutorials/ex1.c TS^pseudo-timestepping
src/ts/examples/tutorials/ex2.c TS^time-dependent nonlinear problems
src/ts/examples/tutorials/ex3.c TS^diffusion equation
src/ts/examples/tutorials/ex3.c TS^heat equation
src/ts/examples/tutorials/ex3.c TS^time-dependent linear problems
src/ts/examples/tutorials/ex4.c TS^diffusion equation
src/ts/examples/tutorials/ex4.c TS^heat equation
src/ts/examples/tutorials/ex4.c TS^time-dependent linear problems
src/ts/examples/tutorials/ex5.c TS^diffusion equation
src/ts/examples/tutorials/ex5.c TS^heat equation
src/ts/examples/tutorials/ex5.c TS^time-dependent linear problems
src/ts/examples/tutorials/ex6.c TS^diffusion equation
src/ts/examples/tutorials/ex6.c TS^heat equation
src/ts/examples/tutorials/ex6.c TS^time-dependent linear problems
src/ts/examples/tutorials/ex1f.F nonlinear problems
src/ts/examples/tutorials/ex1f.F pseudo-timestepping
src/ts/examples/tutorials/ex1f.F TS^pseudo-timestepping
src/ts/examples/tutorials/ex2f.F TS^time-dependent nonlinear problems
src/dm/ao/examples/tutorials/ex1.c AOData^using an AOData database for grid information;
src/dm/ao/examples/tutorials/ex2.c Mat^partitioning a matrix;
src/dm/da/examples/tutorials/ex4.c mathematical functions