| #
208f419d
|
| 09-Jul-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'tapashree/dmshellsetcreatefielddecomposition' into 'main'
Add Fortran interface for DMShellSetCreateFieldDecomposition
Closes #165
See merge request petsc/petsc!8436
|
| #
62212064
|
| 30-Mar-2025 |
Tapashree Pradhan <tapashreepradhan@Tapashrees-MacBook-Pro.local> |
Adds Fortran interface for DMShellSetCreateFieldDecomposition
- Implemented the Fortran interface for the DMShellSetCreateFieldDecomposition function to enable Fortran users to utilize this function
Adds Fortran interface for DMShellSetCreateFieldDecomposition
- Implemented the Fortran interface for the DMShellSetCreateFieldDecomposition function to enable Fortran users to utilize this functionality.This involved adding a new callback field in the callback structure, creating a C wrapper for the Fortran callback, and providing a Fortran-callable function to register the callback. - Add a simple test to verify the functionality - Remove unused comments and variables Fix issue #165.
Add test for DMShellSetCreateFieldDecomposition
Introduce a simple test for DMShellSetCreateFieldDecomposition fortran interface
Set ierr as intent(out) in fortran interface to avoid error
Consistent formatting of files
removed unnecessary comment in zdmshellf.c
TEST block fix for the new test case
remove unused variables in dm/tests/ex54f
remove dm_view unused option from test block
fix interface declaration for myFileDecomp
fix the ierr type errors
fix ierr type error
add newline at end of files
show more ...
|
| #
b0dcfd16
|
| 23-Mar-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2025-03-20/minor-fortran-cleanup' into 'main'
Minor cleanup of Fortran binding stuff to simplify future maintainance
See merge request petsc/petsc!8218
|
| #
6dd63270
|
| 20-Mar-2025 |
Barry Smith <bsmith@mcs.anl.gov> |
Minor cleanup of Fortran binding stuff to simplify future maintainance
There is no distinction between F90 and non-F90 code so combine ftn-custom and f90-custom directories and fortranimpl.h and f90
Minor cleanup of Fortran binding stuff to simplify future maintainance
There is no distinction between F90 and non-F90 code so combine ftn-custom and f90-custom directories and fortranimpl.h and f90impl.h files. Also move uses of f90 to ftn when simple
show more ...
|
| #
8031a1e3
|
| 22-Mar-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'balay/ftn-fixes' into 'main'
Fortran: fix PETSC_HAVE_FORTRAN_UNDERSCORE defs
See merge request petsc/petsc!8222
|
| #
8a6b6cad
|
| 21-Mar-2025 |
Satish Balay <balay@mcs.anl.gov> |
Fortran: fix PETSC_HAVE_FORTRAN_UNDERSCORE defs
And remove FORTRANDOUBLEUNDERSCORE, cleanup PETSC_HAVE_FORTRAN_UNDERSCORE_UNDERSCORE
Revert PETSC_VIEWER_STDOUT_BROKEN from 5022eb3e26e9dbfdd711345ef
Fortran: fix PETSC_HAVE_FORTRAN_UNDERSCORE defs
And remove FORTRANDOUBLEUNDERSCORE, cleanup PETSC_HAVE_FORTRAN_UNDERSCORE_UNDERSCORE
Revert PETSC_VIEWER_STDOUT_BROKEN from 5022eb3e26e9dbfdd711345efc14d09b0dee953f
show more ...
|
| #
c7fbd2bd
|
| 02-Feb-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2024-01-19/typedef-snes-functions' into 'main'
add typedef for functions passed to SNESSetFunction() etc to match approach in TS
See merge request petsc/petsc!7206
|
| #
8434afd1
|
| 02-Feb-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
Change the use of the _Fn suffix to indicate a typedef of a function to just Fn
As determined on a vote on GitLab
|
| #
5ddc805b
|
| 21-Jan-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
Change PETSc sys typedef function names to use the new _Fn format
Commit-type: housekeeping, maintainance
|
| #
a663c1df
|
| 13-Apr-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
fafa7813
|
| 13-Apr-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2023-04-11/run-clang-format-on-ftn-custom/release' into 'release'
Format the ftn-custom files with clang-format. Apparently no particular reason we did not format them initially
Merge branch 'barry/2023-04-11/run-clang-format-on-ftn-custom/release' into 'release'
Format the ftn-custom files with clang-format. Apparently no particular reason we did not format them initially
See merge request petsc/petsc!6310
show more ...
|
| #
5975b3b6
|
| 11-Apr-2023 |
Barry Smith <bsmith@mcs.anl.gov> |
Format the ftn-custom files with clang-format. Apparently no particular reason we did not format them initially
|
| #
a8cf78f8
|
| 24-May-2021 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2021-05-16/fix-double-lines' into 'main'
Fix typos in source
See merge request petsc/petsc!3984
|
| #
4e278199
|
| 16-May-2021 |
Barry Smith <bsmith@mcs.anl.gov> |
Remove all double blank lines from source
Commit-type: petsc-style /2h
|
| #
f507b629
|
| 21-Feb-2020 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'balay/remove-stdcall' into 'master'
Remove usage of PETSC_HAVE_FORTRAN_STDCALL, PETSC_BLASLAPACK_STDCALL,...
See merge request petsc/petsc!2546
|
| #
19caf8f3
|
| 21-Feb-2020 |
Satish Balay <balay@mcs.anl.gov> |
Remove usage of PETSC_HAVE_FORTRAN_STDCALL, PETSC_BLASLAPACK_STDCALL, HAVE_FORTRAN_MIXED_STR_ARG flags - as Compaq f90 compiler is no longer supported
|
| #
e366c154
|
| 15-Nov-2017 |
Jed Brown <jed@jedbrown.org> |
Merge commit 'd47bf9aaf1e5266cc3f0ff499f934c85788965a9' into jed/fix-matcreatempibaij/maint
Obtain changed (v3.5) handling of MatMPIBAIJSetPreallocationCSR to match documentation.
|
| #
dd169d64
|
| 28-Jun-2017 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into stefano_zampini/feature-gmsh-periodic
* master: (1016 commits) metis: setself.downloaddirnames for change in 6d90219d8fa4f8b2fd242cc6ff9008358d87c26f fix compile warni
Merge branch 'master' into stefano_zampini/feature-gmsh-periodic
* master: (1016 commits) metis: setself.downloaddirnames for change in 6d90219d8fa4f8b2fd242cc6ff9008358d87c26f fix compile warning: /sandbox/petsc/petsc.clone/src/snes/examples/tests/ex2.c:250:8: warning: ‘pointsAllProcs’ may be used uninitialized in this function [-Wmaybe-uninitialized] ierr = DMInterpolationSetUp(interpolator, dm, pointsAllProcs);CHKERRQ(ierr); migrate 'build requires: !mpiuni' to new format migrate 'build requires: !complex' to new format workarround 'division by zero' compiler warning on windows C:\cygwin64\home\petsc\PETSC~3.CLO\src\ts\examples\TUTORI~1\ex11.c(416): warning #39: division by zero if (uL->h < 0 || uR->h < 0) {for (i=0; i<1+dim; i++) flux[i] = 0./0.; return;} /* SETERRQ(PETSC_COMM_SELF,PETSC_ERR_ARG_OUTOFRANGE,"Reconstructed thickness is negative"); */ dos2unix to prevent warnings on opensolaris "/export/home/petsc/petsc.clone/src/ksp/ksp/examples/tests/ex53.c", line 6: warning: invalid white space character in directive fix output file - corresponding to code changes in efd4aadf157bf1ba2d80c2be092fcf4247860003 disable test on windows update log from opensolaris so that the diff is clean on linux aswell update grep in sync with change in efd4aadf157bf1ba2d80c2be092fcf4247860003 Fixed code that did not correctly set current color for block insertion Update output files that did not get fixed after previous merges Change MPIUni to not immediately abort on operations it cannot perform, instead return error code Add filter for example that can produce 1 different iteration count Example add system calloc, bad formating of %d in print, commented out code Always use (void) for functions that take no arguments, never () always need to caste PetscReal variables to (double) in print statements updates to manual page for clarity update help menu for MatRARt() -- MatRARt_mpiaij_mpiaij is supported now, but not efficient. fix nightlybuild error with c1cbb1def3f8ddca04c3998b9c06618fd1ffef35 on arch-linux-IPL64 src/ksp/pc/examples/tests ex5_1 ...
Conflicts: include/petscdm.h src/dm/impls/plex/plexcreate.c src/dm/impls/plex/plexgmsh.c src/dm/impls/plex/plexhdf5.c
show more ...
|
| #
ec14d8c8
|
| 27-May-2017 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-plex-sphere-mesh
* master: (2633 commits) Bib: Added ref SNES ex56: Update test output add a citation to petsc.bib Plex: Initialize variables ini
Merge branch 'master' into knepley/feature-plex-sphere-mesh
* master: (2633 commits) Bib: Added ref SNES ex56: Update test output add a citation to petsc.bib Plex: Initialize variables initialize ap as complained by the nightly tests Plex ex3: Update to new point function API initialize some variables as complained by nightly tests SNES ex12: Mix misnaming Nf --> Nc update tests add tests add MatView_SeqXAIJ_ASCII_structonly(); enable A->structure_only in MatSetValuesBlocked_SeqBAIJ typo fill-in some references Bib: Fixed ref Plex: Added PLY to file support Plex: Adding PLY support PetscDS: Turn off Fortran bindings for Constants Plex tests: Updated to new point function API SNES ex56: Moved tests to new format DM: Allow field projection functions to take an array of scalars - This will allow us to pass in user data to kernels without void *, more efficiency than aux fields ...
Conflicts: config/builder.py include/petscdmplex.h src/dm/impls/plex/examples/tests/ex1.c src/dm/impls/plex/plexcreate.c src/dm/impls/plex/plexgmsh.c src/snes/examples/tutorials/ex63.c
show more ...
|
| #
a0479788
|
| 07-May-2017 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-plex-boundary-values
* master: (487 commits) Bib: More refs Fixed errors in the manuals and ts_glee source code doc fix bug to enable '-xxx_via [alg]
Merge branch 'master' into knepley/feature-plex-boundary-values
* master: (487 commits) Bib: More refs Fixed errors in the manuals and ts_glee source code doc fix bug to enable '-xxx_via [alg]' to showup in '-help' Reported-by: Mark Adams <mfadams@lbl.gov> Plex: Remove dead code TS tutorials ex11: remove unused functions TSAdapt: Set TSADAPTNONE as default adapt type DMPlex: missed viewer change in synchronized output Revert "Merge branch 'hzhang/ts-ex9busdmnetwork'" TSAdapt: Update changes/dev.html TSAdapt: Set default type for TSGLEE TS tutorials ex11: make work with complex scalars Bib: Added ref TS ex18: Fix initializer TS ex11: Fix M_PI Plex ex1f90: FUCK FORTRAN f2cblaslapack: remove duplicate xerbla.o and xerbla_array.o from lapack [they are already in blas] TSAdapt: Refactor handling of default adapt type TSAdapt: Update changes/dev.html TSAdapt: Update manual TSAdapt: Refactor interface and implementations ...
show more ...
|
| #
852f401d
|
| 24-Apr-2017 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-plex-torus
* master: (174 commits) Bib: Another ref Increase patchlevel to 3.7.6 Explicitly listing the LTO library causes difficulties on MacOS so a
Merge branch 'master' into knepley/feature-plex-torus
* master: (174 commits) Bib: Another ref Increase patchlevel to 3.7.6 Explicitly listing the LTO library causes difficulties on MacOS so avoid it TSBDF: Update changes/dev.html Added Fortran TaoType and TaoLineSearchType definitions Add Fortran TaoType and TaoLineSearchType definitions setblocksize for iscol_sub TSBDF: Use standard TS API and options to control adaptivity Bib: More refs and a correction SNESTest: Bug-fix in SNESTest when threshold printing option is turned on. fix warning and valgrind complains reported by the nightly tests Section+Doc: Small doc fix pflotran: switch to using the new upstream git repo DMPlex: Error if attempt to partition a distributed graph with Chaco fix complex build error fix complex build PetscError() did not properly copy over the specific error message when error type was PETSC_ERROR_INITIAL TSAdapt: Refactor handling of the always_accept flag Additional clarification for MatMeshToCellGraph() manual page optimize MatCreateSubMatrix_MPIAIJ() by merging check of sameXXXDist() into one MPI_AllReduce ...
Conflicts: config/BuildSystem/config/packages/med.py
show more ...
|
| #
8bee6947
|
| 30-Mar-2017 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-plex-tests-new
* master: (108 commits) Bib: Added ref Bib: Updated reference Bib: Updated reference Work around problems with Apple Xcode 8.3 and h
Merge branch 'master' into knepley/feature-plex-tests-new
* master: (108 commits) Bib: Added ref Bib: Updated reference Bib: Updated reference Work around problems with Apple Xcode 8.3 and handling of rpath argument with gfortran help menu update for MatCreateSubMatrices() Reported-by: Brad Aagaard <baagaard@usgs.gov> fix flops for PCApply_PBJacobi_1 and PCApply_PBJacobi_7 Reported-by: Pierre Jolivet <pierre.jolivet@enseeiht.fr> TSRK: Fix FSAL optimization to not skip update and check or stages. Travis-CI: Workaround too long TMPDIR in macOS with Open MPI test: Fix type mismatch in KSP test. test: Fix warnings from gfortran -Wconversion (OS X, Homebrew build) MPIUNI: Silence GCC -Wconversion warnings Fortran: Add error checking for incorrect PETSC_NULL_XXX argument when expecting function fix test output per changes in 517c9301b2e9239931bfd644803fd6bb859387ea MUMPS: update to version 5.1.1 with opensolaris compile fixes TSRK: Mention 5BS in the changelog. TSRK: Mention the new 5BS scheme in the manual. fix 'unused variable' warning Remove unused code added hbw_realloc fixed undefined ptr ...
Conflicts: config/BuildSystem/config/packages/med.py
show more ...
|
| #
ba10b3fa
|
| 25-Mar-2017 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/barry/improve-fortran-callback-error-checking'
|
| #
aecf964f
|
| 22-Mar-2017 |
Barry Smith <bsmith@mcs.anl.gov> |
Fortran: Add error checking for incorrect PETSC_NULL_XXX argument when expecting function
Commit-type: enhancement Funded-by: ECP Project: ECP/PETSc Time: .8 hours Reported-by: Praveen C <cpraveen@
Fortran: Add error checking for incorrect PETSC_NULL_XXX argument when expecting function
Commit-type: enhancement Funded-by: ECP Project: ECP/PETSc Time: .8 hours Reported-by: Praveen C <cpraveen@gmail.com>
show more ...
|
| #
c90b701e
|
| 14-Mar-2017 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-plex-pragmatic-parallel
* master: (1379 commits) Minor fixes for tchem examples due to changes in PETSc infrastructure update webpage about API changes
Merge branch 'master' into knepley/feature-plex-pragmatic-parallel
* master: (1379 commits) Minor fixes for tchem examples due to changes in PETSc infrastructure update webpage about API changes add help menu for MatCreateSubMatricesMPI() rename struct Mat_SubMat -> Mat_SubSppt add a little information to the manual about using tchem rename MatCreateSubMatrixComposite -> MatCreateSubMatrixVirtual; Mat_SubMatrix -> Mat_SubVirtual need to protect the \ passed on the makefile on my Mac Bib: Updated ref update src/mat/examples/tests/output/ex23_#.out rename MatGetSubMat -> MatCreateSubMat Mark MatCreateMPIAIJWithSplitArrays() and MatMPIAIJSetPreallocationCSR() with MAT_NO_OFF_PROC_ENTRIES superlu: libray is installed in PREFIX/lib64 - fix this to use PREFIX/lib backport fixes cc105cc3 2b35c90a - required for 3bf428d - that was backported from master - 80c96bb 'echo -n' fails on opensolaris/osx - so avoid using it. fix diffs in nightlybuilds due to options in ~/.petscrc add Kelley03 to src/docs/tex/petsc.bib build: determine moudles, mpi.h used during buildtime and print in 'info' fix analyzer warnings fix build failure on opensolaris - where -lm from flibs is removed due to -lm in cxxlibs. But then - only flib gets used for some configure tests [blaslapack, parms] config: prefer __restrict over C99 restrict keyword ...
show more ...
|