| #
87497f52
|
| 14-Aug-2022 |
Barry Smith <bsmith@mcs.anl.gov> |
Fix up manual pages in include/ including adding tick marks
Commit-type: documentation /spend 4h
|
| #
0ffc23ff
|
| 14-Aug-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2022-08-09/fix-manualpage-rot' into 'main'
Stop make allmanpages if an error is detected. Otherwise errors are hidden and never fixed.
See merge request petsc/petsc!5510
|
| #
a1cc8097
|
| 10-Aug-2022 |
Barry Smith <bsmith@mcs.anl.gov> |
Put blank lines around some manual page comments to see if that fixes sowing not processing them correctly
|
| #
6ffe77ea
|
| 12-May-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2022-05-03/cleanup-makefiles' into 'main'
remove unneeded stuff from makefiles
See merge request petsc/petsc!5211
|
| #
ac09b921
|
| 05-May-2022 |
Barry Smith <bsmith@mcs.anl.gov> |
Get values of makefile SOURCE etc from the file system instead of makefiles
Use SUBMANSEC from include files for manual sections instead of the makefile
Unfortunately this has to be one large commi
Get values of makefile SOURCE etc from the file system instead of makefiles
Use SUBMANSEC from include files for manual sections instead of the makefile
Unfortunately this has to be one large commit since the changes all have to be done at once
Commit-type: docs /spend 10m
show more ...
|
| #
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 ...
|
| #
d0ce1415
|
| 13-Apr-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'knepley/feature-plex-parallel-submesh' into 'main'
Adding parallel handling of extracted submanifolds
See merge request petsc/petsc!5101
|
| #
d42890ab
|
| 08-Apr-2022 |
Matthew G. Knepley <knepley@gmail.com> |
DMLabel+Plex: Added label propagation - This is the process of updating a label locally, and then making it consistent in the overlap specified by a point SF - Added DMLabelPropagateBegin(), DMLabelP
DMLabel+Plex: Added label propagation - This is the process of updating a label locally, and then making it consistent in the overlap specified by a point SF - Added DMLabelPropagateBegin(), DMLabelPropagatePush(), and DMLabelPropagateEnd() - Updated SBR refinement
show more ...
|
| #
377c486f
|
| 07-Mar-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jed/fix-degree-3-geom-distribution' into 'main'
DMPlex: add failing test for cubic geometry distribution
See merge request petsc/petsc!4859
|
| #
b004864f
|
| 02-Mar-2022 |
Matthew G. Knepley <knepley@gmail.com> |
Section: Add PetscSectionSymDistribute()
|
| #
b1c7127e
|
| 03-Jan-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'haplav/fix-dmlabelcompare-collectiveness' into 'main'
make DMCompareLabels and DMLabelCompare really collective
See merge request petsc/petsc!4691
|
| #
5efe38cc
|
| 22-Dec-2021 |
Vaclav Hapla <vaclav.hapla@erdw.ethz.ch> |
make DMCompareLabels,DMLabelCompare really collective
|
| #
1ddba829
|
| 01-Oct-2021 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'haplav/feature-dmlabelcompare' into 'main'
add DMLabelCompare() and DMCompareLabels()
See merge request petsc/petsc!4345
|
| #
609dae6e
|
| 20-Sep-2021 |
Vaclav Hapla <vaclav.hapla@erdw.ethz.ch> |
add DMLabelCompare,DMCompareLabels
|
| #
1d04cbbe
|
| 20-Sep-2021 |
Vaclav Hapla <vaclav.hapla@erdw.ethz.ch> |
add DMLabelGetNonEmptyStratumValuesIS()
|
| #
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
|
| #
d123abd9
|
| 06-Aug-2021 |
Matthew G. Knepley <knepley@gmail.com> |
DMLabel: Added more searching - Added DMLabelGetValueIndex() - Added DMLabelGetStratumPointIndex()
|
| #
3b7b15c8
|
| 26-Mar-2020 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'knepley/feature-dm-remove-hybrid' into 'master'
Knepley/feature dm remove hybrid
See merge request petsc/petsc!2614
|
| #
412e9a14
|
| 01-Mar-2020 |
Matthew G. Knepley <knepley@gmail.com> |
DM+Plex: Removed the idea of hybrid and ghost cells, in favor of cell type - Improved Plex tests to work for other cell types - Plex creation, interpolation, submesh, and refinement routines now set
DM+Plex: Removed the idea of hybrid and ghost cells, in favor of cell type - Improved Plex tests to work for other cell types - Plex creation, interpolation, submesh, and refinement routines now set the cell type - Distribution sorts strata by cell type - Fixed orientation of prisms from input formats - Added Plex ex40 to test regular refinement - CellRefiner is a PetscObject - dm_plex_cell_refiner chooses the refinement strategy - Removed SimplexToTensor stuff in favor of ToHex refiner - Most functions take DMPolytopeType instead of CellRefiner - CellRefinerInCellTest_Internal() - CellRefinerGetAffineTransforms_Internal() - CellRefinerGetAffineFaceTransforms_Internal() - DMForest now responds to DMPlexGetOverlap() and propagates its overlap to the underlying Plex - Use DMPlexComputeCellType_Internal() to classify a cell based only on topology - Added DMPlexGetSimplexOrBoxCells() to replace DMPlexGetInteriorCellStratum() - Added DM_POLYTOPE_POINT_PRISM_TENSOR - Added DMPolytopTypeGetDim() and DMPolyTopeTypeGetConeSize() - Added DMLabelSetStratumBounds() - Added DMPlexSetCellType() - Added celltypes to DMView() - Added DMPolytopeTypeGetNumVertices() - Added DMPlexCreateReferenceCellByType() - Added DMPolytopeTypeFromGmsh() - Made DMPlexRefineUniform() public
show more ...
|
| #
1c575b32
|
| 07-Jul-2019 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'maint'
|
| #
26bd1501
|
| 05-Jul-2019 |
Barry Smith <bsmith@mcs.anl.gov> |
Remove use of _ and __ in front of PETSc include guards. Reason: C99 Reserved Identifiers
Commit-type: portability-fix
|
| #
ef135d0e
|
| 01-Jun-2019 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/psanan/docs-remove-manconcepts' [PR #1733]
|
| #
0f5d826a
|
| 30-May-2019 |
Patrick Sanan <patrick.sanan@gmail.com> |
Man pages: remove Concepts: fields
These fields were previously stripped from the man pages by logic removed in 21a59cba2737d49dc2f0bd12c08db0d2a3f3f209
Remove these fields from all man pages (but
Man pages: remove Concepts: fields
These fields were previously stripped from the man pages by logic removed in 21a59cba2737d49dc2f0bd12c08db0d2a3f3f209
Remove these fields from all man pages (but not from examples).
This is accomplished with GNU sed (gsed on OS X), with the following commands. *Warning* that this type of command can corrupt a .git directory, so be cautious in reusing or modifying these commands. They first look for and delete matching lines with a following line consisting of only whitespace, and then delete any remaining matching lines.
find src -type f -not -path "*/examples/*" -not -name "*.html" -not -name "*.bib" -exec gsed -i '/Concepts:/ {N; /\n\s*$/d}' {} + find src -type f -not -path "*/examples/*" -not -name "*.html" -not -name "*.bib" -exec gsed -i '/Concepts:/d' {} + find include -type f -not -path "*/examples/*" -not -name "*.html" -not -name "*.bib" -exec gsed -i '/Concepts:/ {N; /\n\s*$/d}' {} + find include -type f -not -path "*/examples/*" -not -name "*.html" -not -name "*.bib" -exec gsed -i '/Concepts:/d' {} +
Hints on the sed command obtained from: https://unix.stackexchange.com/questions/100754/how-to-delete-a-specific-line-and-the-following-blank-line-using-gnu-sed
show more ...
|
| #
7e534853
|
| 27-Mar-2019 |
Satish Balay <balay@mcs.anl.gov> |
Merged in balay/fix-DMLabel-object-type (pull request #1475)
DMLabel: _n_DMLabel -> _p_DMLabel
|