Home
last modified time | relevance | path

Searched refs:ex2 (Results 1 – 16 of 16) sorted by relevance

/petsc/doc/tutorials/
H A Dhandson.md83 - <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 Dmakefile9 scripts = ex2 ex23
/petsc/src/dm/impls/swarm/tests/
H A Dmakefile12 …-${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 Dex3.c205 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 Dex5.c301 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 Dex6.c301 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 Dex4.c347 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 Dex3.c338 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 Dex3.c201 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 Dgetting_started.md559 <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 Dvec.md342 <a href="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/vec/vec/tutorials/ex2.c.html">src/vec/vec/tutorials/ex2
/petsc/doc/install/
H A Dwindows.md182 `$PETSC_DIR/src/ksp/ksp/tutorials/ex2.c`
188 $ make ex2
/petsc/doc/developers/
H A Dtesting.md675 /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 Dstyle.md695 … space after `";"` but not before it. For example `"make ex1; make ex2"` not `"make ex1 ;make ex2"`
/petsc/doc/changes/
H A D2022.md49 `src/mat/examples/tutorials/ex2.c`
/petsc/
H A Dgmakefile.test240 $(TESTDIR)/ts/tests/ex2: PETSC_TEST_LIB = $(PETSC_TS_LIB)
522 -@echo " ${OMAKE} test search='sys*ex2*'"
524 -@echo " ${OMAKE} test s='sys*ex2*'"