| /petsc/doc/tutorials/ |
| H A D | handson.md | 83 - <a href="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/tutorials/ex2.c.html#line13">Mathematical descript… 84 - <a href="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/tutorials/ex2.c.html#line36">the source code</a> 88 - Compile `src/ts/tutorials/ex2.c` 92 $ make ex2 99 $ mpiexec -n 1 ./ex2 -ts_max_steps 10 -ts_monitor 112 $ mpiexec -n 4 ./ex2 -ts_max_steps 10 -ts_monitor -snes_monitor -ksp_monitor 124 $ mpiexec -n 16 ./ex2 -ts_max_steps 10 -ts_monitor -M 128
|
| /petsc/src/binding/petsc4py/demo/legacy/petsc-examples/ksp/ |
| H A D | makefile | 9 scripts = ex2 ex23
|
| /petsc/src/dm/impls/swarm/tests/ |
| H A D | makefile | 12 …-${MPIEXEC} -n ${NP} ${MPIEXEC_TAIL} ./ex2 -dim 2 -pc_type lu -faces ${N} -particles_cell ${P} -pe…
|
| /petsc/src/ts/tutorials/advection-diffusion-reaction/ |
| H A D | ex3.c | 205 PetscScalar *u, ex1, ex2, sc1, sc2, h; in Solution() local 225 ex2 = PetscExpScalar(-4. * PETSC_PI * PETSC_PI * appctx->d * t); in Solution() 228 …PI * 6. * t) * ex1 + 3. * PetscSinScalar(sc2 * (PetscReal)i + appctx->a * PETSC_PI * 2. * t) * ex2; in Solution()
|
| /petsc/src/ts/tutorials/ |
| H A D | ex5.c | 301 PetscScalar *s_localptr, h = appctx->h, ex1, ex2, sc1, sc2, tc = t; in ExactSolution() local 315 ex2 = PetscExpScalar(-4. * PETSC_PI * PETSC_PI * tc); in ExactSolution() 318 …lptr[i] = PetscCosScalar(sc1 * (PetscReal)i) * ex1 + 3. * PetscCosScalar(sc2 * (PetscReal)i) * ex2; in ExactSolution()
|
| H A D | ex6.c | 301 PetscScalar *s_localptr, h = appctx->h, ex1, ex2, sc1, sc2; in ExactSolution() local 315 ex2 = PetscExpReal(-4. * PETSC_PI * PETSC_PI * t); in ExactSolution() 318 …scRealPart(sc1) * (PetscReal)i) * ex1 + 3. * PetscSinReal(PetscRealPart(sc2) * (PetscReal)i) * ex2; in ExactSolution()
|
| H A D | ex4.c | 347 PetscScalar *s_localptr, h = appctx->h, ex1, ex2, sc1, sc2; in ExactSolution() local 367 ex2 = PetscExpReal(-4. * PETSC_PI * PETSC_PI * t); in ExactSolution() 370 …mybase] = PetscSinScalar(sc1 * (PetscReal)i) * ex1 + 3. * PetscSinScalar(sc2 * (PetscReal)i) * ex2; in ExactSolution()
|
| H A D | ex3.c | 338 PetscScalar *s_localptr, h = appctx->h, ex1, ex2, sc1, sc2, tc = t; in ExactSolution() local 352 ex2 = PetscExpScalar(-4. * PETSC_PI * PETSC_PI * tc); in ExactSolution() 355 …lptr[i] = PetscSinScalar(sc1 * (PetscReal)i) * ex1 + 3. * PetscSinScalar(sc2 * (PetscReal)i) * ex2; in ExactSolution()
|
| /petsc/src/ts/tests/ |
| H A D | ex3.c | 201 PetscScalar val, ex1, ex2; in exact() local 204 ex2 = PetscExpReal(-4. * PETSC_PI * PETSC_PI * t); in exact() 205 val = PetscSinScalar(6 * PETSC_PI * z) * ex1 + 3. * PetscSinScalar(2 * PETSC_PI * z) * ex2; in exact()
|
| /petsc/doc/manual/ |
| H A D | getting_started.md | 559 <a href="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/ksp/tutorials/ex2.c.html">KSP Tutorial ex2</a>, 571 …TSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/ksp/tutorials/ex2.c.html">KSP Tutorial src/ksp/ksp/tutorials/… 572 :name: ksp-ex2 574 ```{literalinclude} /../src/ksp/ksp/tutorials/ex2.c 680 $ make ex2 681 …tsc/arch-debug/bin/mpicc -o ex2.o -c -g3 -I/Users/patrick/petsc/include -I/Users/patrick/petsc/a… 682 /Users/patrick/petsc/arch-debug/bin/mpicc -g3 -o ex2 ex2.o -Wl,-rpath,/Users/patrick/petsc/arch-d… 683 /bin/rm -f ex2.o 684 $ $PETSC_DIR/lib/petsc/bin/petscmpiexec -n 1 ./ex2 686 $ $PETSC_DIR/lib/petsc/bin/petscmpiexec -n 2 ./ex2
|
| H A D | vec.md | 342 <a href="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/vec/vec/tutorials/ex2.c.html">src/vec/vec/tutorials/ex2…
|
| /petsc/doc/install/ |
| H A D | windows.md | 182 `$PETSC_DIR/src/ksp/ksp/tutorials/ex2.c` 188 $ make ex2
|
| /petsc/doc/developers/ |
| H A D | testing.md | 675 /usr/bin/gmake --no-print-directory test search='sys*ex2*' 677 /usr/bin/gmake --no-print-directory test s='sys*ex2*' 1073 not ok 4 ./ex2 1074 # ex2: Error: cannot read file 1075 not ok 5 diff ex2.tmp output/ex2.out
|
| H A D | style.md | 695 … space after `";"` but not before it. For example `"make ex1; make ex2"` not `"make ex1 ;make ex2"`
|
| /petsc/doc/changes/ |
| H A D | 2022.md | 49 `src/mat/examples/tutorials/ex2.c`
|
| /petsc/ |
| H A D | gmakefile.test | 240 $(TESTDIR)/ts/tests/ex2: PETSC_TEST_LIB = $(PETSC_TS_LIB) 522 -@echo " ${OMAKE} test search='sys*ex2*'" 524 -@echo " ${OMAKE} test s='sys*ex2*'"
|