| #
e3b1a053
|
| 13-Jul-2022 |
Getnet Betrie <d.getnet@gmail.com> |
Add profiling events for memory intensive routines
|
| #
9505eb2a
|
| 09-Jul-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2022-04-14/fix-rebalance' into 'main'
Major repairs for DMPlexRebalanceSharedVertices()
See merge request petsc/petsc!5234
|
| #
252a1336
|
| 15-Apr-2022 |
Barry Smith <bsmith@mcs.anl.gov> |
Fix rebalancing of ghost pointers for DMPLEX
/spend 25h
Commit-type: optimization, bug-fix, style-fix, feature
|
| #
89669be4
|
| 02-May-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'psanan/docs-sphinx-man-pages' into 'main'
Integrate Man Pages into Sphinx Docs
Closes #1132 and #1015
See merge request petsc/petsc!4989
|
| #
db781477
|
| 25-Apr-2022 |
Patrick Sanan <patrick.sanan@gmail.com> |
Docs: bulk add backticks to .seealso man page fields
```python import os import re import fileinput
def _process_word(word): comma = "," if word.endswith(",") else "" return "`%s`%s" % (wor
Docs: bulk add backticks to .seealso man page fields
```python import os import re import fileinput
def _process_word(word): comma = "," if word.endswith(",") else "" return "`%s`%s" % (word.rstrip(","), comma)
def _process_stripped_line(line): return " ".join(map(_process_word, line.split()))
start_pattern = re.compile(r"^( *\.seealso:? )(.*$)")
def process_file(filename_full): with fileinput.FileInput(filename_full, inplace=True) as f: in_block = False for line in f: line_stripped = line.strip() # end ".seealso blocks" on a blank line or C-style comment close line_modified = None if not line_stripped: in_block = False elif line_stripped.endswith("*/"): in_block = False else: match = re.match(start_pattern, line) # not stripped line if match: indent = " " * len(match.group(1)) in_block = True line_modified = match.group( 1) + _process_stripped_line( match.group(2).strip()) elif in_block: line_modified = indent + _process_stripped_line( line_stripped) if line_modified: print(line_modified) # prints to the file else: print(line, end="") # prints to the file
BASE_DIRS = ["src", "include"] EXT = [".c", ".cxx", ".cpp", ".cu", ".h", ".hpp", ".hxx"] EXCLUDE_DIRS = ["tests", "tutorials", "ftn-auto", "ftn-custom", "benchmarks"]
def main(): """ Process everything """ for base in BASE_DIRS: for root, dirs, files in os.walk(base): for filename in files: if os.path.splitext(filename)[1] in EXT: filename_full = os.path.join(root, filename) print("FILE ---", filename_full) process_file(filename_full) for exclude_dir in EXCLUDE_DIRS: if exclude_dir in dirs: dirs.remove(exclude_dir)
if __name__ == "__main__": main() ```
show more ...
|
| #
7551f769
|
| 06-Apr-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'adams/landau-sppic-omp-bug' into 'main'
Added ts test that integrates Landau with particles
See merge request petsc/petsc!5017
|
| #
5b8ffe73
|
| 03-Apr-2022 |
Mark Adams <524115-markadams4@users.noreply.gitlab.com> |
Add DMCreateMassMatrix timer
|
| #
203cd36d
|
| 28-Mar-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jed/makefile-kokkos-quiet' into 'main'
PCSetUp_MG: propagate setupstage to finest level smoother
See merge request petsc/petsc!5041
|
| #
af4e1d99
|
| 28-Mar-2022 |
Jed Brown <jed@jedbrown.org> |
Register missing DM_Refine event
|
| #
f882803c
|
| 26-Mar-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2022-02-23/variadic-chkerr' into 'main'
Variadic CHKERRQ()
See merge request petsc/petsc!4889
|
| #
9566063d
|
| 25-Mar-2022 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
The great renaming:
- CHKERRQ() -> PetscCall() - CHKERRV() -> PetscCallVoid() - CHKERRMPI() -> PetscCallMPI() - CHKERRABORT() -> PetscCallAbort() - CHKERRCONTINUE() -> PetscCallContinue() - CHKERRXX
The great renaming:
- CHKERRQ() -> PetscCall() - CHKERRV() -> PetscCallVoid() - CHKERRMPI() -> PetscCallMPI() - CHKERRABORT() -> PetscCallAbort() - CHKERRCONTINUE() -> PetscCallContinue() - CHKERRXX() -> PetscCallThrow() - CHKERRCXX() -> PetscCallCXX() - CHKERRCUDA() -> PetscCallCUDA() - CHKERRCUBLAS() -> PetscCallCUBLAS() - CHKERRCUSPARSE() -> PetscCallCUSPARSE() - CHKERRCUSOLVER() -> PetscCallCUSOLVER() - CHKERRCUFFT() -> PetscCallCUFFT() - CHKERRCURAND() -> PetscCallCURAND() - CHKERRHIP() -> PetscCallHIP() - CHKERRHIPBLAS() -> PetscCallHIPBLAS() - CHKERRHIPSOLVER() -> PetscCallHIPSOLVER() - CHKERRQ_CEED() -> PetscCallCEED() - CHKERR_FORTRAN_VOID_FUNCTION() -> PetscCallFortranVoidFunction() - CHKERRMKL() -> PetscCallMKL() - CHKERRMMG() -> PetscCallMMG() - CHKERRMMG_NONSTANDARD() -> PetscCallMMG_NONSTANDARD() - CHKERRCGNS() -> PetscCallCGNS() - CHKERRPTSCOTCH() -> PetscCallPTSCOTCH() - CHKERRSTR() -> PetscCallSTR() - CHKERRTC() -> PetscCallTC()
show more ...
|
| #
5f80ce2a
|
| 24-Feb-2022 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
chkerr and friends wrapped
|
| #
6d6f10f4
|
| 08-Feb-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jwallwork23/event-logging' into 'main'
Event logging for metric utils
See merge request petsc/petsc!4796
|
| #
fe902ace
|
| 02-Feb-2022 |
Joe Wallwork <j.wallwork16@imperial.ac.uk> |
plex metric: event logging
|
| #
887dddf3
|
| 19-Nov-2021 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jwallwork23/mmg-trim' into 'main'
Plex interface for Mmg and ParMmg
See merge request petsc/petsc!4431
|
| #
c0517cd5
|
| 11-Oct-2021 |
Matthew G. Knepley <knepley@gmail.com> |
DM: Take over management of mesh generators and adaptors from DMPlex - Change adaptLabel signature to match adaptMetric - Move mesh generator list from DMPlex to DM - DMAdaptLabel() and DMAdaptMetric
DM: Take over management of mesh generators and adaptors from DMPlex - Change adaptLabel signature to match adaptMetric - Move mesh generator list from DMPlex to DM - DMAdaptLabel() and DMAdaptMetric() now check this list - Register metric adaptation packages - Change -dm_plex_generator to -dm_generator - Change -dm_plex_adaptor to -dm_adaptor
show more ...
|
| #
be7a8307
|
| 18-Nov-2021 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'ksagiyam/dmplex_path_change' into 'main'
Ksagiyam/dmplex path change
Closes #956 and #896
See merge request petsc/petsc!4441
|
| #
02f7d72c
|
| 23-Oct-2021 |
ksagiyam <k.sagiyama@imperial.ac.uk> |
plex: add LogEvents
|
| #
9b3f0822
|
| 24-Aug-2021 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'knepley/feature-orientation-rethink' into 'main'
Plex: Rethink Plex orientation
See merge request petsc/petsc!4218
|
| #
012bc364
|
| 06-Aug-2021 |
Matthew G. Knepley <knepley@gmail.com> |
Plex: DMPlexTransform is now the way to manipulate a Plex - Replace DMPlexCellRefiner with DMPlexTransform - Replace CellRefinerInCellTest_Internal() with DMPolytopeInCellTest() - Replace DMPlexCe
Plex: DMPlexTransform is now the way to manipulate a Plex - Replace DMPlexCellRefiner with DMPlexTransform - Replace CellRefinerInCellTest_Internal() with DMPolytopeInCellTest() - Replace DMPlexCellRefinerGetAffineTransforms() with DMPlexRefineRegularGetAffineTransforms()
show more ...
|
| #
6ac58e00
|
| 24-Mar-2021 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'knepley/feature-plex-ds-traversals' into 'main'
DS: Moved management of pointwise functions into PetscWeakForm object - Added...
See merge request petsc/petsc!3726
|
| #
6528b96d
|
| 25-Jan-2021 |
Matthew G. Knepley <knepley@gmail.com> |
Plex+DS: Moved management of pointwise functions into PetscWeakForm object - Added PetscChunkBuffer to manage contiguous buffer space - WeakForm can index functions by Label/val, field - WeakForm
Plex+DS: Moved management of pointwise functions into PetscWeakForm object - Added PetscChunkBuffer to manage contiguous buffer space - WeakForm can index functions by Label/val, field - WeakForm allows multiple kernels per key
show more ...
|
| #
ee90678e
|
| 26-Aug-2020 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'knepley/feature-plex-adaptive-interpolation' into 'master'
Knepley/feature plex adaptive interpolation
See merge request petsc/petsc!3018
|
| #
557cf195
|
| 31-Jan-2019 |
Matthew G. Knepley <knepley@gmail.com> |
DM+SNES: Preliminary adaptive interpolation - Using the scheme from BootstrapAMG with some modifications to apply to GMG - Moved adaptive interpolation into DM from Plex - Added event for adaptation
DM+SNES: Preliminary adaptive interpolation - Using the scheme from BootstrapAMG with some modifications to apply to GMG - Moved adaptive interpolation into DM from Plex - Added event for adaptation - Added routine to check an interpolator - Added viewer for coarse and fine vectors used for interpolation optimization - Add coarse space determined by eigenvectors - Right now adaptive interpolation is unweighted
show more ...
|
| #
fc172184
|
| 02-Aug-2020 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'haplav/expose-dmplexbuildfromcelllist' into 'master'
expose DMPlexBuildFromCellList and friends
See merge request petsc/petsc!3016
|