Home
last modified time | relevance | path

Searched full:src (Results 1 – 25 of 786) sorted by relevance

12345678910>>...32

/petsc/
H A D.gitignore81 src/dm/mesh/tests/unitTests
82 src/dm/mesh/tutorials/*_quadrature.h
83 src/dm/mesh/tutorials/*.vtk
105 src/binding/petsc4py/.eggs
106 src/binding/petsc4py/petsc4py.egg-info
107 src/binding/petsc4py/src/include/petsc4py/petsc4py.PETSc.h
108 src/binding/petsc4py/src/include/petsc4py/petsc4py.PETSc_api.h
109 src/binding/petsc4py/src/libpetsc4py/libpetsc4py.c
110 src/binding/petsc4py/src/libpetsc4py/libpetsc4py.h
111 src/binding/petsc4py/src/petsc4py.PETSc.c
[all …]
H A Dgmakefile201 $(OBJDIR)/src/%.o : src/%.c | $$(@D)/.DIR
210 $(OBJDIR)/src/%.o : src/%.cxx | $$(@D)/.DIR
250 $(OBJDIR)/src/sys/mpiuni/ftn-src/somempifort.o : $(OBJDIR)/src/sys/mpiuni/ftn-mod/mpiunimod.o
252 $(OBJDIR)/src/sys/ftn-mod/petscsysmod.o : $(if $(MPIUNI_MOD),$(OBJDIR)/src/sys/mpiuni/ftn-mod/mpi…
253 $(OBJDIR)/src/vec/ftn-mod/petscvecmod.o : $(OBJDIR)/src/sys/ftn-mod/petscsysmod.o
254 $(OBJDIR)/src/mat/ftn-mod/petscmatmod.o : $(OBJDIR)/src/vec/ftn-mod/petscvecmod.o
255 $(OBJDIR)/src/dm/ftn-mod/petscdmmod.o : $(OBJDIR)/src/mat/ftn-mod/petscmatmod.o
256 $(OBJDIR)/src/ksp/ftn-mod/petsckspmod.o : $(OBJDIR)/src/dm/ftn-mod/petscdmmod.o
257 $(OBJDIR)/src/snes/ftn-mod/petscsnesmod.o : $(OBJDIR)/src/ksp/ftn-mod/petsckspmod.o
258 $(OBJDIR)/src/ts/ftn-mod/petsctsmod.o : $(OBJDIR)/src/snes/ftn-mod/petscsnesmod.o
[all …]
/petsc/lib/petsc/bin/maint/
H A Dxclude20 petsc-dist/src/binding/petsc4py/build
21 petsc-dist/src/binding/petsc4py/dist
22 petsc-dist/src/binding/petsc4py/src/petsc4py.egg-info
23 petsc-dist/src/binding/petsc4py/.eggs
32 petsc-dist/src/tops
33 petsc-dist/src/java
34 petsc-dist/src/tops/images
35 petsc-dist/src/tops/slides.ppt
36 petsc-dist/src/tops/twopager.ppt
87 petsc-dist/src/da/tests/scripts
[all …]
H A Dcreatepatch73 # Update patchlevel in src/binding/petsc4py/src/petsc4py/__init__.py
74 /bin/mv src/binding/petsc4py/src/petsc4py/__init__.py src/binding/petsc4py/src/petsc4py/__init__.py…
75 cat src/binding/petsc4py/src/petsc4py/__init__.py.bak | \
76 …sed -e "s/__version__ =.*/__version__ = '${newver}'/" > src/binding/petsc4py/src/petsc4py/__init__…
77 /bin/rm -f src/binding/petsc4py/src/petsc4py/__init__.py.bak
86 …el to ${newver}" include/petscversion.h doc/install/download.md src/binding/petsc4py/src/petsc4py/…
/petsc/.gitlab/
H A DCODEOWNERS3 /src/ml/ @rtmills @hsuh
5 /src/tao/ @adener @tmunson @stefanozampini @hsuh @tisaac
6 /src/tao/constrained/impls/ipm/ @abhyshr @hongzhangsun @resundermann @adener @tmunson
8 /src/ts/ @caidao22 @jedbrown @emconsta @stefanozampini @BarrySmith
9 src/ts/event/ @abhyshr @caidao22 @BarrySmith
11 /src/ts/utils/dmplexlandau/ @markadams4 @knepley
13 /src/dm/impls/plex/ @knepley @wence @haplav @tisaac
14 /src/dm/impls/stag/ @psanan @knepley @rtmills
16 /src/*/*/network/ @abhyshr @hongzhangsun @knepley
17 /src/*/*/*/network/ @abhyshr @hongzhangsun @knepley
[all …]
/petsc/doc/tutorials/
H A Dhandson.md19 - <a href="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/ksp/tutorials/ex50.c.html#line1">Mathematical des…
20 - <a href="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/ksp/tutorials/ex50.c.html#line21">the source code…
24 - Compile `src/ksp/ksp/tutorials/ex50.c`
27 $ cd petsc/src/ksp/ksp/tutorials
40 ```{literalinclude} /../src/ksp/ksp/tutorials/output/ex50_tut_1.out
53 ```{literalinclude} /../src/ksp/ksp/tutorials/output/ex50_tut_2.out
66 ```{literalinclude} /../src/ksp/ksp/tutorials/output/ex50_tut_3.out
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`
[all …]
H A Dindex.md17 directories throughout the PETSc `src/` tree.
19 - <a href="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/ksp/tutorials/index.html">Linear problems</a>
21 - <a href="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/snes/tutorials/index.html">Nonlinear problems</a>
23 - <a href="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/tutorials/index.html">Time integration</a>
27 …- <a href="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/tao/leastsquares/tutorials/index.html">Least-squares…
28 …- <a href="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/tao/quadratic/tutorials/index.html">Quadratic</a> (M…
29 …- <a href="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/tao/unconstrained/tutorials/index.html">Unconstraine…
30 …- <a href="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/tao/bound/tutorials/index.html">Bound</a> (Manual: {…
31 …- <a href="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/tao/constrained/tutorials/index.html">Constrained</a…
32 …- <a href="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/tao/complementarity/tutorials/index.html">Complement…
[all …]
H A Dguide_to_examples_by_physics.md21 > :2D: `SNES example 5 <PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/snes/tutorials/ex5.c.html>`_
22 > :3D: `KSP example 45 <PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/ksp/tutorials/ex45.c.html>`_
28 > :2D: `SNES example 12 <PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/snes/tutorials/ex12.c.html>`_
29 > :3D: `SNES example 12 <PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/snes/tutorials/ex12.c.html>`_
57 :2D: `SNES example 17 <PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/snes/tutorials/ex17.c.html>`_
58 :3D: `SNES example 17 <PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/snes/tutorials/ex17.c.html>`_
59 :3D: `SNES example 56 <PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/snes/tutorials/ex56.c.html>`_
106 > :2D: `TS example 45 <PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/tutorials/ex45.c.html>`_
107 > :3D: `TS example 45 <PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/tutorials/ex45.c.html>`_
125 > :2D: `TS example 46 <PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/tutorials/ex46.c.html>`_
[all …]
/petsc/share/petsc/saws/
H A Dlinearsolveroptions.html5 <script src="https://www.mcs.anl.gov/research/projects/saws/js/jquery-1.9.1.js"></script>
7 …<script src="https://www.mcs.anl.gov/research/projects/saws/js/jquery-ui-1.10.3.custom/js/jquery-1…
8 …<script src="https://www.mcs.anl.gov/research/projects/saws/js/jquery-ui-1.10.3.custom/js/jquery-u…
9 <script src="js/matrixTex.js"></script>
10 <script src="js/main.js"></script>
11 <!-- <script src="https://d3js.org/d3.v3.min.js" charset="utf-8"></script> -->
12 <script src="js/tree.js"></script>
13 <script src="js/populateLists.js"></script>
14 <script src="js/listLogic.js"></script>
15 <script src="js/getCmdOptions.js"></script>
[all …]
/petsc/share/petsc/suppressions/
H A Dubsan62 alignment:src/ksp/ksp/tutorials/network/ex1.c
63 alignment:src/snes/tutorials/network/ex1.c
64 alignment:src/snes/tutorials/network/water/waterfunctions.c
65 alignment:src/snes/tutorials/network/power/power2.c
66 alignment:src/snes/tutorials/network/power/pffunctions.c
67 alignment:src/ts/tutorials/power_grid/stability_9bus/ex9busdmnetwork.c
70 function:src/sys/tests/ex65.c
79 function:src/mpi/*
80 null:src/mpid/ch3/*
81 pointer-overflow:src/mpid/ch3/*
[all …]
/petsc/src/binding/petsc4py/
H A D.gitignore15 src/petsc4py/PETSc.c
16 src/petsc4py/PETSc.h
17 src/petsc4py/PETSc_api.h
18 src/petsc4py/PETSc.pyi
19 src/petsc4py/lib/*/PETSc.*.so
20 src/petsc4py.egg-info/
H A DMANIFEST.in6 recursive-include src *.py *.pyx *.px[di] *.h *.c *.i *.cfg
10 exclude src/petsc4py/PETSc.c
11 exclude src/petsc4py/PETSc.h
12 exclude src/petsc4py/PETSc_api.h
H A Dsetup.py51 with open(os.path.join(topdir, 'src', pkg_init_py)) as f:
149 src = {
158 'workdir': 'src',
160 return [src]
171 for pth, _, _ in walk('src'):
205 'sources': [F('src/{pyname}/{Name}.c')],
208 'src',
209 F('src/{pyname}/include'),
227 suffix = os.path.join('src', 'binding', F('{pyname}'))
286 cython_sources = [src for src in sources()] # noqa: C416
[all …]
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/
H A D_patch.py50 def apply(self, src: str, offset: int) -> tuple[str, int]:
55 src :
58 offset into `src` at which this delta supposedly applies
63 the updated `src` and the new offset value
69 new_src = f'{src[:begin_offset]}{self.value}{src[end_offset:]}'
70 new_offset = offset + len(new_src) - len(src)
146 src :
285 …_make_source() == other._make_source(), 'Need to update offset calculation to handle arbitrary src'
286 assert self.ctxlines == other.ctxlines, 'Need to update ctxlines to handle arbitrary src'
290 # self.src = self._make_source()
[all …]
/petsc/src/binding/petsc4py/docs/source/
H A Dcontributing.rst12 $ python -m pip install -r src/binding/petsc4py/conf/requirements-lint.txt
16 $ make cython-lint -C src/binding/petsc4py
20 $ make ruff-lint -C src/binding/petsc4py
24 $ make ruff-lint RUFF_OPTS='format' -C src/binding/petsc4py
27 Tests are located in the :file:`src/binding/petsc4py/test` folder.
35 $ cd src/binding/petsc4py
47 $ make html SPHINXOPTS='-W' -C src/binding/petsc4py/docs/source
H A Dinstall.rst20 $ python -m pip install src/binding/petsc4py
25 $ PETSC_ARCH='arch-0:...:arch-N' python -m pip install src/binding/petsc4py
39 $ cd src/binding/petsc4py
44 $ make test -C src/binding/petsc4py
64 $ make test-4 -C src/binding/petsc4py
71 $ python -m pip install -r src/binding/petsc4py/conf/requirements-docs.txt
75 $ cd src/binding/petsc4py/docs/source
/petsc/systems/Apple/iOS/bin/
H A Dmakedmg20 cp ${PETSC_DIR}/src/snes/tutorials/ex19.c tempsource/PETSc-iOS.examples/Basic/Classes
21 cp ${PETSC_DIR}/src/snes/tutorials/ex48.c tempsource/PETSc-iOS.examples/Basic/Classes
22 sed -i "" s?../../../../../../src/snes/tutorials/??g tempsource/PETSc-iOS.examples/Basic/Classes/ip…
23 cp ${PETSC_DIR}/src/snes/tutorials/ex19.c tempsource/PETSc-iOS.examples/testopengl/Classes
24 cp ${PETSC_DIR}/src/snes/tutorials/ex48.c tempsource/PETSc-iOS.examples/testopengl/Classes
25 cp ${PETSC_DIR}/src/sys/classes/draw/tests/ex3.c tempsource/PETSc-iOS.examples/testopengl/Classes
26 cp ${PETSC_DIR}/src/sys/classes/draw/tests/ex4.c tempsource/PETSc-iOS.examples/testopengl/Classes
27 sed -i "" s?../../../../../../src/snes/tutorials/??g tempsource/PETSc-iOS.examples/testopengl/Class…
28 sed -i "" s?../../../../../../src/sys/classes/draw/tests/??g tempsource/PETSc-iOS.examples/testopen…
/petsc/src/snes/tutorials/
H A Dmakefile26 echo "Fortran example src/snes/tutorials/ex5f run successfully with 1 MPI process"; \
28 echo "Possible error running Fortran example src/snes/tutorials/ex5f with 1 MPI process"; \
38 echo "C/C++ example src/snes/tutorials/ex19 run successfully with 1 MPI process"; \
40 echo "Possible error running C/C++ src/snes/tutorials/ex19 with 1 MPI process"; \
50 echo "C/C++ example src/snes/tutorials/ex19 run successfully with 2 MPI processes"; \
52 echo "Possible error running C/C++ src/snes/tutorials/ex19 with 2 MPI processes"; \
63 echo "C/C++ example src/snes/tutorials/ex19 run successfully with HYPRE"; \
74 echo "C/C++ example src/snes/tutorials/ex19 run successfully with HYPRE/CUDA"; \
85 echo "C/C++ example src/snes/tutorials/ex19 run successfully with HYPRE/HIP"; \
95 echo "C/C++ example src/snes/tutorials/ex19 run successfully with CUDA"; \
[all …]
/petsc/systems/Apple/iOS/examples/Basic/examples.xcodeproj/
H A Dbarrysmith.pbxuser180 path = "/Users/barrysmith/Src/petsc-dev/arch-uni/xcode-links/maij.c";
208 path = "/Users/barrysmith/Src/petsc-dev/arch-uni/xcode-links/aomapping.c";
215 path = "/Users/barrysmith/Src/petsc-dev/include/petscsys.h";
242 path = "/Users/barrysmith/Src/petsc-dev/arch-uni/xcode-links/str.c";
259 path = "/Users/barrysmith/Src/petsc-dev/arch-uni/xcode-links/reg.c";
276 path = "/Users/barrysmith/Src/petsc-dev/arch-uni/xcode-links/dareg.c";
293 path = "/Users/barrysmith/Src/petsc-dev/arch-uni/xcode-links/dacreate.c";
310 path = "/Users/barrysmith/Src/petsc-dev/include/../src/snes/tutorials/ex19.c";
403 path = "/Users/barrysmith/Src/petsc-dev/src/sys/plog/logimpl.h";
439 path = "/Users/barrysmith/Src/petsc-dev/arch-iphone/xcode-links/mpi.c";
[all …]
/petsc/doc/manual/
H A Dfortran.md402 <a href="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/snes/tutorials/ex5f90.F90.html">src/snes/tests/ex590.F9…
414 <a href="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/snes/tests/ex18f90.F90.html">src/snes/tests/ex18f90.F90…
417 <a href="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/snes/tests/ex18f90.F90.html">ex18f90.F90</a>
433 <a href="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/vec/vec/tests/ex19f.F90.html">Vec Test ex19f</a>,
434 <a href="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/vec/vec/tutorials/ex4f.F90.html">Vec Tutorial ex4f</a>,
435 <a href="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/classes/draw/tests/ex5f.F90.html">Draw Test ex5f</a…
437 <a href="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/snes/tutorials/ex1f.F90.html">SNES Tutorial ex1f</a>,
442 :::{admonition} Listing: `src/vec/vec/tests/ex19f.F90`
445 ```{literalinclude} /../src/vec/vec/tests/ex19f.F90
453 :::{admonition} Listing: `src/vec/vec/tutorials/ex4f.F90`
[all …]
/petsc/lib/petsc/bin/maint/generators/
H A Djava.py40 if not os.path.isdir('src/java'): os.mkdir('src/java')
41 outfile = open('src/java/petsc.java','w')
114 os.system("cd src/java; javac petsc.java")
118 os.system("cd src/java; javah "+i+";cp "+i+".h "+i+".c")
119 f = open('src/java/'+i+".c","r")
147 f = open('src/java/'+i+".c","w")
151 f = open('src/java/'+i+".h","r")
155 f = open('src/java/'+i+".h","w")
158 os.system("cd src/java; gcc -c -fPIC "+i+".c")
160 …os.system("cd src/java; gcc -dynamiclib -single_module -multiply_defined suppress -undefined dynam…
/petsc/src/ksp/ksp/utils/lmvm/dense/
H A Dcd_utils.c1 #include <../src/ksp/ksp/utils/lmvm/dense/denseqn.h> /*I "petscksp.h" I*/
18 const PetscScalar *src; in VecCyclicShift() local
27 PetscCall(VecGetArrayReadAndMemType(cyclic_work_vec, &src, &src_memtype)); in VecCyclicShift()
31 PetscCall(VecRestoreArrayReadAndMemType(cyclic_work_vec, &src)); in VecCyclicShift()
36 PetscCall(PetscArraycpy(dest, &src[d], m - d)); in VecCyclicShift()
37 PetscCall(PetscArraycpy(&dest[m - d], src, d)); in VecCyclicShift()
43 PetscCall(PetscDeviceRegisterMemory(src, src_memtype, m * sizeof(*src))); in VecCyclicShift()
44 PetscCall(PetscDeviceArrayCopy(dctx, dest, &src[d], m - d)); in VecCyclicShift()
45 PetscCall(PetscDeviceArrayCopy(dctx, &dest[m - d], src, d)); in VecCyclicShift()
48 PetscCall(VecRestoreArrayReadAndMemType(cyclic_work_vec, &src)); in VecCyclicShift()
/petsc/config/
H A Dinstall.py87 self.rootSrcDir = os.path.join(self.rootDir, 'src')
133 def copyfile(self, src, dst, symlinks = False, copyFunc = shutil.copy2): argument
141 srcname = src
142 dstname = os.path.join(dst, os.path.basename(src))
158 def fixExamplesMakefile(self, src): argument
161 oldFile = open(src, 'r')
177 newFile = open(src, 'w')
182 def copyConfig(self, src, dst): argument
197 def copyExamples(self, src, dst): argument
200 for root, dirs, files in os.walk(src, topdown=False):
[all …]
/petsc/src/vec/is/sf/impls/basic/nvshmem/
H A Dsfnvshmem.cu2 #include <../src/vec/is/sf/impls/basic/sfpack.h>
327 …mRemotelyAccessible(PetscInt nsrcranks, PetscMPIInt *srcranks, const char *src, PetscInt *srcdisp,… in GetDataFromRemotelyAccessible() argument
332 if (!nvshmem_ptr(src, pe)) { in GetDataFromRemotelyAccessible()
334 …nvshmem_getmem_nbi(dst + (dstdisp[bid] - dstdisp[0]) * unitbytes, src + srcdisp[bid] * unitbytes, … in GetDataFromRemotelyAccessible()
346 char *src, *dst; in PetscSFLinkGetDataBegin_NVSHMEM() local
356 …if (direction == PETSCSF_ROOT2LEAF) { /* src is root, dst is leaf; we will move data from src to d… in PetscSFLinkGetDataBegin_NVSHMEM()
358src = link->rootbuf[PETSCSF_REMOTE][PETSC_MEMTYPE_DEVICE]; /* root buf is the send buf; it i… in PetscSFLinkGetDataBegin_NVSHMEM()
374 } else { /* src is leaf, dst is root; we will move data from src to dst */ in PetscSFLinkGetDataBegin_NVSHMEM()
376 src = link->leafbuf[PETSCSF_REMOTE][PETSC_MEMTYPE_DEVICE]; /* leaf buf is the send buf */ in PetscSFLinkGetDataBegin_NVSHMEM()
394 /* After Pack operation -- src tells dst ranks that they are allowed to get data */ in PetscSFLinkGetDataBegin_NVSHMEM()
[all …]
/petsc/src/tao/bound/impls/bqnk/
H A Dbqnk.h7 #include <../src/tao/bound/impls/bnk/bnk.h>
8 #include <../src/ksp/ksp/utils/lmvm/lmvm.h>
9 #include <../src/ksp/ksp/utils/lmvm/symbrdn/symbrdn.h>

12345678910>>...32