Examples

ex11f.F90:
ex14f.F90:
ex21.c: Solves a RBF kernel matrix with KSP and PCH2OPUS.
ex5.c: Solves two linear systems in parallel with KSP. The code
ex3.c: Bilinear elements on the unit square for Laplacian. To test the parallel
ex19.c: Solve a 2D 5-point stencil in parallel with Kokkos batched KSP and ASM solvers.
ex84.c:
ex70.c: ------------------------------------------------------------------------------------------------------------------------------
ex15.c: Solves a linear system in parallel with KSP. Also
ex1.c: Solves a tridiagonal linear system with KSP.
ex59.c: This example illustrates the use of PCBDDC/FETI-DP and its customization.
ex9.c: The solution of 2 different linear systems with different linear solvers.
ex52f.F90:
ex34.c:
ex68.c:
ex72.c: Reads a PETSc matrix and vector from a file and solves a linear system.
ex41.c: Reads a PETSc matrix and vector from a socket connection, solves a linear system and sends the result back.
ex69.c:
ex42.c: Solves the incompressible, variable viscosity stokes equation in 3d using Q1Q1 elements,
ex18.c: Solves a (permuted) linear system in parallel with KSP.
ex25.c:
ex23.c: Solves a tridiagonal linear system.
ex60.c: Example demonstrating the effect of choosing FCG over CG
ex65.c:
ex32.c:
ex86.c: Solves a one-dimensional steady upwind advection system with KSP.
ex4.c: Solves a linear system in parallel with KSP and HMG.
ex78.c:
ex11.c: Solves a linear system in parallel with KSP.
ex29.c:
ex76.c:
ex7.c: Block Jacobi preconditioner for solving a linear system in parallel with KSP.
ex6.c: Solves a tridiagonal linear system with KSP.
ex73.c:
ex27.c: Reads a PETSc matrix and vector from a file and solves the normal equations.
ex22f.F90:
ex5f.F90:
ex7f.F90:
ex45.c:
ex82.c:
ex52.c: Solves a linear system in parallel with KSP. Modified from ex2.c
ex77.c:
ex75.c:
ex53.c: Solves a tridiagonal linear system with KSP.
ex87.c:
ex13f90.F90:
ex15f.F90:
ex49.c: Solves the compressible plane strain elasticity equations in 2d on the unit domain using Q1 finite elements.
ex8.c: Illustrates use of the preconditioner ASM.
ex36.cxx:
ex2f.F90:
ex50.c:
ex64.c:
ex67.c: Krylov methods to solve u'' = f in parallel with periodic boundary conditions,
ex71.c: This example illustrates the use of PCBDDC/FETI-DP with 2D/3D DMDA.
ex56.c: 3D, tri-linear quadrilateral (Q1), displacement finite element formulation
ex79.c:
ex43.c: Solves the incompressible, variable viscosity Stokes equation in 2d on the unit domain
ex85.c: Demonstration of flexible submesh assembly.
ex74.c: Solves the constant-coefficient 1D heat equation
ex100.c:
ex6f.F90:
ex75f.F90:
ex16.c:
ex66.c:
ex45f.F90:
ex54f.F90:
ex10.c: Solve a small system and a large system through preloading
bench_kspsolve.c:
ex57f.F90:
ex46.c: Solves a linear system in parallel with KSP and DM.
ex100f.F90:
ex54.c: Creates a matrix from quadrilateral finite elements in 2D, Laplacian
ex61f.F90:
ex2.c: Solves a linear system in parallel with KSP.
ex83f.F90:
ex12.c: Solves a linear system in parallel with KSP,
ex1f.F90:
ex35.cxx:
ex62.c: Illustrates use of PCGASM.
ex77f.F90:
ex81.c:
ex76f.F90:
ex55.c: 2D, bi-linear quadrilateral (Q1), displacement finite element formulation
ex13.c: Solves a variable Poisson problem with KSP.
ex28.c: Solves 1D wave equation using multigrid.
ex43-solcx.h:
ex44f.F90:
ex51.c: This example solves a linear system in parallel with KSP. The matrix

Directories

network
amrex