History log of /petsc/src/dm/impls/plex/plex.c (Results 351 – 375 of 1780)
Revision Date Author Comments
# 44e5f0e3 29-Jun-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'wence/petsc-check-do-while' into 'main'

Wrap PetscCheck and PetscAssert in do { } while (0)

Closes #1199

See merge request petsc/petsc!5291


# 91e96481 28-Jun-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'knepley/feature-plex-periodic-separation' into 'main'

Fix periodicity for higher order coordinates

See merge request petsc/petsc!5333


# 6858538e 11-Jun-2022 Matthew G. Knepley <knepley@gmail.com>

DM: Reorganized periodic coordinates into a separate representation
- Split coordinates into two representations
- No longer specify the boundary type for periodicity. We can tell if a
given boundary

DM: Reorganized periodic coordinates into a separate representation
- Split coordinates into two representations
- No longer specify the boundary type for periodicity. We can tell if a
given boundary is periodic by a positive L[d]
- Added DMPlexGetCellCoordinates_Internal() to get localized cell
coordinates automatically, and used in plexgeometry.c
- Moved coordinate functions into dmcoordinates.c
- Moved periodicity functions into dmperiodicity.c

show more ...


# f7d195e4 28-May-2022 Lawrence Mitchell <lawrence@wence.uk>

Wrap PetscCheck and PetscAssert in do { } while (0)

These macros look like functions, so they should behave like
functions. Fix up the resulting invalid syntax due to the previous
behaviour of these

Wrap PetscCheck and PetscAssert in do { } while (0)

These macros look like functions, so they should behave like
functions. Fix up the resulting invalid syntax due to the previous
behaviour of these macros being "if (...)
statement_without_semicolon". Fixes #1199.

show more ...


# 145e6476 23-Jun-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2022-06-13/make-one-line-if-call' into 'main'

Change if () { PetscCall() } three liner to one liner

See merge request petsc/petsc!5344


# 1baa6e33 14-Jun-2022 Barry Smith <bsmith@mcs.anl.gov>

Change if () { PetscCall() } three liner and friends to one liners

for i in `git ls-files | grep "\.[ch]$"` ; do sed 's?\$?ZZZ?g' $i | tr '\n' '$' | sed 's?\([ ]*\)if (\([-;,.\*+=a-z0-9A-Z_>]*\)) {\

Change if () { PetscCall() } three liner and friends to one liners

for i in `git ls-files | grep "\.[ch]$"` ; do sed 's?\$?ZZZ?g' $i | tr '\n' '$' | sed 's?\([ ]*\)if (\([-;,.\*+=a-z0-9A-Z_>]*\)) {\$[ ]*PetscCall(\([- ._+=a-z0-9A-Z>*,()]*);\)\$[ ]*}\$?\1if (\2) PetscCall(\3$?g' | tr '$' '\n' | sed 's?ZZZ?$?g' > $i.joe ; mv $i.joe $i ; done

for i in `git ls-files | grep "\.[hc]$"` ; do sed 's?\$?ZZZ?g' $i | tr '\n' '$' | sed 's?\([ }else]*\)if (\([-;,.\*+=a-z0-9A-Z_>]*\)) {\$[ ]*PetscCall(\([- ._+=a-z0-9A-Z>*,()]*);\)\$\([ ]*\)} \([- ._+=a-z0-9A-Z>*,()]*);\)\$?\1if (\2) PetscCall(\3$\4\5$?g' | tr '$' '\n' | sed 's?ZZZ?$?g' > $i.joe ; mv $i.joe $i ; done

Yes, really ugly but Barry still cannot master awk

Commit-type: housekeeping

show more ...


# 96e8d5a2 21-Jun-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'knepley/feature-plex-label-overlap' into 'main'

Plex: Allow a user to create a custom parallel overlap using labels

See merge request petsc/petsc!5349


# c506a872 17-Jun-2022 Matthew G. Knepley <knepley@gmail.com>

Plex: Allow a user to create a custom parallel overlap using labels - The test is in PyLith


# 26800d79 21-Jun-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'ksagiyam/dmplex_reorder_1d_options' into 'main'

plex: add DMPlexReorder{Set,Get}Default()

See merge request petsc/petsc!5245


# 92c46355 21-Jun-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jed/dm-plex-variable-block-sizes' into 'main'

DMPlex: set variable block sizes on matrix

See merge request petsc/petsc!5347


# 6bc1bd01 11-May-2022 ksagiyam <k.sagiyama@imperial.ac.uk>

plexreorder: add DMPlexReorder{Set,Get}Default()


# dc34d9f7 17-Jun-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'stefanozampini/fix-function-composition' into 'main'

fix function composition

See merge request petsc/petsc!5274


# 2e956fe4 24-May-2022 Stefano Zampini <stefano.zampini@gmail.com>

PetscObjectFunctionCompose: clean up composed functions at Destroy time


# 9fca9976 14-Jun-2022 Jed Brown <jed@jedbrown.org>

DMPlex: set variable block sizes on matrix

One block per topological point, which may contain multiple fields. Note
that this leads to large block sizes for high order elements and thus
one may pref

DMPlex: set variable block sizes on matrix

One block per topological point, which may contain multiple fields. Note
that this leads to large block sizes for high order elements and thus
one may prefer to create smaller block sizes.

show more ...


# 7005ae4c 09-May-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'haplav/extend-plex-checkpointsf' into 'main'

extend DMPlexCheckPointSF()

See merge request petsc/petsc!5217


# 4efe38b9 09-May-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'stefanozampini/fix-h2opus' into 'main'

PCH2OPUS fixes

See merge request petsc/petsc!5204


# bd83fdcb 04-Apr-2022 Stefano Zampini <stefano.zampini@gmail.com>

fix maybe uninitialized


# 8f6815ad 02-May-2022 Vaclav Hapla <vaclav.hapla@erdw.ethz.ch>

DMPlexCheckFaces: don't fail for partially interpolated mesh, only warning


# 7f9d8d6c 02-May-2022 Vaclav Hapla <vaclav.hapla@erdw.ethz.ch>

add DMPlexCheck()


# 6c1ef331 02-May-2022 Vaclav Hapla <vaclav.hapla@erdw.ethz.ch>

add DMPlexCheckPointSF() calls to several places -

* DMPlexCreatePointSF
* DMPlexCreateNumbering_Plex
* DMPlexInterpolate
* DMPlexInterpolatePointSF
* DMPlexUninterpolate


# 7726db96 02-May-2022 Vaclav Hapla <vaclav.hapla@erdw.ethz.ch>

extend DMPlexCheckPointSF(), add PetscSF arg


# 5e3c976b 05-May-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'haplav/plex-minor' into 'main'

Plex: minor maintenance changes

See merge request petsc/petsc!5218


# 570fa34d 06-Apr-2022 Vaclav Hapla <vaclav.hapla@erdw.ethz.ch>

DMPlexGet{Depth,Height}Stratum: rename argument stratumValue -> {depth,height}


# 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 ...


1...<<11121314151617181920>>...72